Regenerate bfd.pot.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
2d2476aa
MR
12016-10-19 Maciej W. Rozycki <macro@imgtec.com>
2
3 * gdb.base/killed-outside.exp: Remove $options from a call to
4 `prepare_for_testing'.
5
e42b25a0
SM
62016-10-17 Simon Marchi <simon.marchi@ericsson.com>
7
8 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9 Change test message.
10
3ccdb432
SM
112016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12
13 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14 Update comment.
15
5bad3170
SM
162016-10-17 Simon Marchi <simon.marchi@ericsson.com>
17
18 * gdb.trace/mi-trace-save.exp: New file.
19
5ad9dba7
YQ
202016-10-13 Yao Qi <yao.qi@linaro.org>
21
22 * gdb.base/code_elim.exp (get_var_address): Remove.
23 * gdb.base/relocate.exp: Likewise.
24 * gdb.base/shreloc.exp: Likewise.
25 * lib/gdb.exp (get_var_address): New.
26
62df7e21
YQ
272016-10-13 Yao Qi <yao.qi@linaro.org>
28
29 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
30 floating point tests if $skip_float_test is false.
31
4dac951e
LM
322016-10-12 Luis Machado <lgustavo@codesourcery.com>
33
34 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
35 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
36 argc values.
37 Add 1 to argc so we guarantee distinct initial/modified argc values.
38
8f1a8fc4
JK
392016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
40
41 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
42
16c85b5d
JK
432016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
44
45 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
46 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
47 * gdb.arch/vsx-regs.exp: Likewise.
48
1d0e042a
YQ
492016-10-07 Yao Qi <yao.qi@linaro.org>
50
51 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
52
68dadef5
MM
532016-10-07 Markus Metzger <markus.t.metzger@intel.com>
54
55 * gdb.python/python.exp: Test decode_line("*0").
56
33fa2c6e
DE
572016-10-06 Doug Evans <dje@google.com>
58
59 * gdb.python/py-value.exp (test_value_creation): Add test for large
60 unsigned 64-bit value.
61
9c37b5ae
TT
622016-10-06 Tom Tromey <tom@tromey.com>
63
64 * gdb.compile/compile.exp: Change java tests to rust.
65 * gdb.base/setshow.exp: Change java tests to rust.
66 * gdb.base/default.exp: Remove java from language list.
67 * README (Examples): Update language example.
68 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
69 test.
70 * lib/gdb.exp (skip_java_tests): Remove.
71 * lib/java.exp: Remove.
72 * gdb.java: Remove.
73
78b86327
MR
742016-10-06 Maciej W. Rozycki <macro@imgtec.com>
75
76 * gdb.arch/mips-fcr.exp: New test.
77 * gdb.arch/mips-fcr.c: Source for the new test.
78
7470adbb
MR
792016-10-06 Maciej W. Rozycki <macro@imgtec.com>
80
81 * gdb.base/solib-disc.exp: Use `standard_output_file'
82 throughout.
83
4a556533
PA
842016-10-06 Pedro Alves <palves@redhat.com>
85
86 * gdb.base/jit-simple-dl.c: New file.
87 * gdb.base/jit-simple-jit.c: New file, factored out from ...
88 * gdb.base/jit-simple.c: ... this.
89 * gdb.base/jit-simple.exp (jit_run): Delete.
90 (build_jit): New proc.
91 (jit_test_reread): Recompile either the main program or the shared
92 library, depending on what is being tested. Skip changing address
93 if caller wants to. Compare before/after addresses. If testing
94 standalone, explicitly load the binary. Test "maint info
95 breakpoints".
96 (top level): Add "standalone vs shared lib" and "change address"
97 vs "same address" axes.
98
5a122fbc
PA
992016-10-06 Pedro Alves <palves@redhat.com>
100
101 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
102 call.
103 (jit_run): Delete.
104 (jit_test_reread): Use with_test_prefix. Reload the main binary
105 explicitly. Compare the before/after addresses of the JIT
106 descriptor.
107
ee8da4b8
DE
1082016-08-15 Doug Evans <dje@google.com>
109
110 * gdb.xml/extra-regs.xml: Update, end field now required, default type
111 for single bitfields is bool.
112 * gdb.xml/tdesc-regs.exp: Ditto.
113
f389f6fe
JK
1142016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
115
116 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
117
fdebf1a4
YQ
1182016-10-05 Yao Qi <yao.qi@linaro.org>
119
120 * lib/gdb.exp (support_complex_tests): Return zero if
121 gdb_skip_float_test return true.
122
9c36d954
AT
1232016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
1242016-10-03 Simon Marchi <simon.marchi@ericsson.com>
125
126 PR gdb/20487
127 * gdb.mi/user-selected-context-sync.exp: New file.
128 * gdb.mi/user-selected-context-sync.c: New file.
129
4034d0ff
AT
1302016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
1312016-10-03 Simon Marchi <simon.marchi@ericsson.com>
132
133 PR gdb/20487
134 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
135 =thread-select-event check.
136
a4297203
PB
1372016-09-29 Peter Bergner <bergner@vnet.ibm.com>
138
139 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
140 the compulsory L operand changes.
141 * gdb.arch/powerpc-power.s: Likewise.
142
bb805577
JK
1432016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
144
145 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
146 * gdb.base/jit-attach-pie.c: New file.
147 * gdb.base/jit-attach-pie.exp: New file.
148
6d61dee5
PA
1492016-09-28 Pedro Alves <palves@redhat.com>
150
151 * gdb.base/infcall-input.c: New file.
152 * gdb.base/infcall-input.exp: New file.
153
f73842fc
YQ
1542016-09-22 Yao Qi <yao.qi@linaro.org>
155
156 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
157 (gdb_exit): Rename it to ...
158 (gdbserver_gdb_exit): ... Close GDBserver.
159 (gdb_exit): New proc, call gdbserver_gdb_exit.
160 (mi_gdb_exit): Likewise.
161
90681dab
YQ
1622016-09-22 Yao Qi <yao.qi@linaro.org>
163
164 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
165 path.
166 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
167 Remove duplication.
168
9c211fd8
YQ
1692016-09-22 Yao Qi <yao.qi@linaro.org>
170
171 * lib/gdbserver-support.exp: Check the existence of
172 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
173
ad0a504f
AK
1742016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
175
176 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
177
36cf1806
TT
1782016-09-21 Tom Tromey <tom@tromey.com>
179
180 PR gdb/20604:
181 * gdb.base/quit.exp: New file.
182
74172ecf
SM
1832016-09-21 Simon Marchi <simon.marchi@ericsson.com>
184
185 * .gitignore: New file.
186
3d0ec882
MR
1872016-09-21 Maciej W. Rozycki <macro@imgtec.com>
188
189 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
190 throughout.
191
8193adea
AA
1922016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
193
194 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
195
d41a5c09
JK
1962016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
197
198 * gdb.cp/casts.cc (decltype): Move it ...
199 (main): ... with its call to ...
200 * gdb.cp/casts03.cc: ... a new file.
201 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
202
d2dfe700
JK
2032016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
204
205 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
206
e2a92b16
PB
2072016-09-15 Peter Bergner <bergner@vnet.ibm.com>
208
209 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
210 and sync up the test with tests in gas/testsuite/gas/ppc.
211 * gdb.arch/powerpc-power.exp: Likewise.
212
49b4de64
JK
2132016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
214
215 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
216
2c29df25
SDJ
2172016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
218 Jan Kratochvil <jan.kratochvil@redhat.com>
219
220 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
221 make m1's definition to be different from m2's. Use 'dummy' as an
222 argument for probe 'two'.
223
cc3c2846
JB
2242016-09-10 Jon Beniston <jon@beniston.com>
225
226 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
227 for sim target.
228
e1b2624a
AA
2292016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
230
231 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
232 variable declaration.
233 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
234 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
235 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
236 received HWCAP as its argument.
237
4295e285
PA
2382016-09-06 Pedro Alves <palves@redhat.com>
239
240 * gdb.base/new-ui-pending-input.c: New file.
241 * gdb.base/new-ui-pending-input.exp: New file.
242 * gdb.exp (clear_gdb_spawn_id): New procedure.
243 (with_spawn_id): Check whether gdb_spawn_id exists before
244 referencing it. If gdb_spawn_id didn't exist on entry, clear it
245 on exit.
246
00d5215e
UW
2472016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
248
249 * gdb.base/float128.c: New file.
250 * gdb.base/float128.exp: Likewise.
251 * gdb.base/floatn.c: Likewise.
252 * gdb.base/floatn.exp: Likewise.
253
a9ff5f12
UW
2542016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
255
256 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
257
f245535c
PA
2582016-09-05 Pedro Alves <palves@redhat.com>
259
260 PR backtrace/19927
261 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
262 unwinders are immediately called as side effect of "source" or
263 "disable unwinder" commands.
264 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
265
ae9cf263
YQ
2662016-09-02 Yao Qi <yao.qi@linaro.org>
267
268 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
269 is true and $type is "float" or "double".
270
27aba047
YQ
2712016-09-02 Yao Qi <yao.qi@linaro.org>
272
273 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
274 true.
275 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
276 * gdb.base/call-rt-st.exp: Likewise.
277 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
278 return value instead of gdb,skip_float_test.
279 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
280 (do_function_calls): Use its return value instead of
281 gdb,skip_float_test.
282 * gdb.base/finish.exp: Likewise.
283 * gdb.base/funcargs.exp: Likewise.
284 * gdb.base/return.exp: Likewise.
285 * gdb.base/return2.exp: Likewise.
286 * gdb.base/varargs.exp: Likewise.
287 * lib/gdb.exp (gdb_skip_float_test): Change it to
288 gdb_caching_proc. Detect the broken ptrace on arm-linux.
289
5af962df
AA
2902016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
291
292 * gdb.multi/tids.exp: Test "thread apply all".
293
7fac6910
JK
2942016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
295
296 * gdb.base/default.exp (tty): Remove.
297
bb1fe4ac
KB
2982016-08-24 Kevin Buettner <kevinb@redhat.com>
299
300 * gdb.python/py-recurse-unwind.c: New file.
301 * gdb.python/py-recurse-unwind.py: New file.
302 * gdb.python/py-recurse-unwind.exp: New file.
303
0a1ddfa6
SM
3042016-08-24 Simon Marchi <simon.marchi@ericsson.com>
305
306 * gdb.base/set-inferior-tty.exp: New file.
307 * gdb.base/set-inferior-tty.c: New file.
308
d9de1fe3
PA
3092016-08-23 Pedro Alves <palves@redhat.com>
310
311 PR gdb/20494
312 * gdb.base/new-ui-echo.c: New file.
313 * gdb.base/new-ui-echo.exp: New file.
314
e9d9abd7
YQ
3152016-08-23 Yao Qi <yao.qi@linaro.org>
316
317 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
318 gdbserver_spawn.
319 * gdb.server/connect-without-multi-process.exp (do_test):
320 Likewise.
321
3589529e
YQ
3222016-08-23 Yao Qi <yao.qi@linaro.org>
323
324 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
325 standalone_txt. Delete gdb_txt and standalone_txt on host
326 and target. Spawn the binary on target. Copy files from
327 target to host.
328
6bb90213
PA
3292016-08-22 Pedro Alves <palves@redhat.com>
330
331 PR gdb/20505
332 * gdb.base/vdso-warning.exp: Test core dumps too. Use
333 with_test_prefix. Factor out bits to ...
334 (test_no_vdso): ... this new procedure.
335
20c2c024
CL
3362016-08-19 Carl Love <cel@us.ibm.com>
337
338 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
339 maintaining separate logic for constructing the output path.
340 * gdb.arch/powerpc-d128-regs.exp: Likewise.
341 * gdb.arch/ppc-dfp.exp: Likewise.
342 * gdb.arch/ppc-fp.exp: Likewise.
343 * gdb.arch/vsx-regs.exp: Likewise.
344 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
345 binprefix for generating the additional binary files.
346
0646e07d
PA
3472016-08-19 Pedro Alves <palves@redhat.com>
348
349 * gdb.trace/mi-trace-frame-collected.exp
350 (test_trace_frame_collected): On x32, expect two registers.
351
46da9242
CL
3522016-08-18 Carl Love <cel@us.ibm.com>
353
354 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
355 and sync up the test with tests in gas/testsuite/gas/ppc.
356 * gdb.arch/powerpc-power.exp: Likewise.
357
eb2332d7
SM
3582016-08-17 Simon Marchi <simon.marchi@ericsson.com>
359
360 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
361 expected error message.
362
63c61e04
SM
3632016-08-17 Simon Marchi <simon.marchi@ericsson.com>
364
365 * gdb.multi/remove-inferiors.exp: New file.
366 * gdb.multi/remove-inferiors.c: New file.
367
7b17065f
YQ
3682016-08-12 Yao Qi <yao.qi@linaro.org>
369
370 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
371 argument list.
372
01d3dedf
PA
3732016-08-10 Pedro Alves <palves@redhat.com>
374
375 PR gdb/19187
376 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
377 setup_kfails.
378
3eb7562a
PA
3792016-08-09 Pedro Alves <palves@redhat.com>
380 Simon Marchi <simon.marchi@ericsson.com>
381
382 PR gdb/20418
383 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
384 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
385
80614914
PA
3862016-08-09 Pedro Alves <palves@redhat.com>
387
388 PR mi/20431
389 * gdb.mi/mi-cmd-error.exp: New file.
390
f348d89a
PA
3912016-08-09 Pedro Alves <palves@redhat.com>
392
393 PR gdb/18653
394 * gdb.base/signals-state-child.c: New file.
395 * gdb.base/signals-state-child.exp: New file.
396 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
397
e5ca03b4
PA
3982016-08-09 Pedro Alves <palves@redhat.com>
399
400 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
401
282a0691
TT
4022016-08-03 Tom Tromey <tom@tromey.com>
403
404 PR python/18565:
405 * gdb.python/py-frame-inline.exp: Add Frame.function test.
406
41bfcd63
YQ
4072016-08-01 Yao Qi <yao.qi@linaro.org>
408
409 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
410 variable mode to "multi-process" if $multi_process is 1, otherwise
411 set it to "single-process".
412
e3465b24
YQ
4132016-08-01 Yao Qi <yao.qi@linaro.org>
414
415 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
416 * gdb.cp/cpexprs.exp: Likewise.
417 * gdb.cp/m-static.exp: Likewise.
418
0b31a4bc
TT
4192016-07-26 Tom Tromey <tom@tromey.com>
420
421 PR python/20190:
422 * gdb.threads/tls.exp (check_thread_local): Add python symbol
423 test.
424
e0461dbb
MM
4252016-07-26 Markus Metzger <markus.t.metzger@intel.com>
426
427 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
428 selecting assembly source files.
429 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
430 assembly source files.
431 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
432 assembly source files.
433 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
434 selecting assembly source files.
435
8194e927
SM
4362016-07-25 Simon Marchi <simon.marchi@ericsson.com>
437
438 * gdb.base/new-ui.exp (do_test_invalid_args): New
439 procedure.
440
c0272db5
TW
4412016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
442
443 * gdb.btrace/reconnect.c: New file.
444 * gdb.btrace/reconnect.exp: New file.
445
e3487908
GKB
4462016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
447
448 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
449 to test_catch_syscall_group.
450 (test_catch_syscall_group): New.
451
12df5c00
TT
4522016-07-21 Tom Tromey <tom@tromey.com>
453
454 * gdb.rust/simple.rs (main): Use empty struct expression.
455 * gdb.rust/simple.exp: Add tests for empty struct expression.
456
bae62ee2
YQ
4572016-07-21 Yao Qi <yao.qi@linaro.org>
458
459 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
460 if gdb_skip_xml_test is true on some targets.
461
b1b53fb3
YQ
4622016-07-21 Yao Qi <yao.qi@linaro.org>
463
464 * gdb.server/solib-list.exp: Unset last_loaded_file.
465
027d97f8
JK
4662016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
467
468 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
469 "step into captured_main (args)".
470
7674d381
JK
4712016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
472
473 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
474
72b5d099
JK
4752016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
476
477 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
478
1f960ced
PA
4792016-07-19 Pedro Alves <palves@redhat.com>
480
481 * gdb.opt/inline-break.exp: Remove optimize=-O2.
482 * gdb.opt/inline-bt.exp: Likewise.
483 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
484 additional_flags=-Winline.
485 * gdb.opt/inline-locals.exp: Likewise.
486 * gdb.opt/inline-markers.c (ATTR): Define.
487 (inlined_fn): Use it.
488
f25827c1
YQ
4892016-07-19 Yao Qi <yao.qi@linaro.org>
490
491 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
492 (test_with_self): Remove some code. Remove argument executable.
493 (top-level): Use do_self_tests.
494
37539ebe
DB
4952016-07-15 Zachary Welch <zwelch@codesourcery.com>
496 Don Breazeal <donb@codesourcery.com>
497
498 * gdb.base/maint.exp: Escape paths used in regular expressions.
499 * gdb.stabs/weird.exp: Likewise.
500
dac790e1
TT
5012016-07-13 Tom Tromey <tom@tromey.com>
502
503 PR python/15620, PR python/18620:
504 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
505 (test_bkpt_events): New procs.
506
93daf339
TT
5072016-07-13 Tom Tromey <tom@tromey.com>
508
509 PR python/17698:
510 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
511 test.
512 (test_watchpoints): Likewise.
513 (test_bkpt_pending): New proc.
514
6571a381
TT
5152016-07-13 Tom Tromey <tom@tromey.com>
516
517 PR cli/18053:
518 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
519 completion test.
520
e8732474
JK
5212016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
522
523 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
524 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
525 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
526 f_label.
527 (g): Rename g_end_lbl to g_label.
528 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
529 low_pc and high_pc.
530 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
531
e0f3fd7c
TT
5322016-07-12 Tom Tromey <tom@tromey.com>
533
534 PR python/19293:
535 * gdb.python/py-unwind-maint.exp: Update tests.
536
3cfe46b6
YQ
5372016-07-12 Yao Qi <yao.qi@linaro.org>
538
539 * lib/selftest-support.exp (selftest_setup): Match the output
540 when captured_main is inlined.
541
4f19a0e6
WT
5422016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
543
544 * gdb.fortran/derived-types.exp (result_line, result_line_2):
545 New variables.
546 (print this%a, print this%b, print this): New tests.
547 * gdb.fortran/derived-types.f90 (this): New object and
548 initialization.
549
986cf455
SM
5502016-07-06 Simon Marchi <simon.marchi@ericsson.com>
551
552 * gdb.ada/arraydim.exp: Remove extra directory level in build
553 directory.
554
f0464b23
SM
5552016-07-06 Simon Marchi <simon.marchi@ericsson.com>
556
557 * lib/ada.exp: Remove extra directory level in build directory.
558 * gdb.ada/cond_lang.exp: Likewise.
559 * gdb.ada/exec_changed.exp: Likewise.
560 * gdb.ada/lang_switch.exp: Likewise.
561
42d94011
MG
5622016-07-06 Manish Goregaokar <manish@mozilla.com>
563
564 * simple.rs: Add test for raw pointer subscripting
565 * simple.exp: Add test expectations
566
647c264c
YQ
5672016-07-05 Yao Qi <yao.qi@linaro.org>
568
569 * gdb.mi/mi-reverse.exp: Match =record-started output.
570
20aa2c60
PA
5712016-07-01 Pedro Alves <palves@redhat.com>
572
573 * gdb.base/jit-reader.exp (info_registers_current_frame): New
574 procedure.
575 (jit_reader_test): Test the jit reader's unwinder.
576 * gdb.base/jithost.c (jit_function_00_code): New global.
577 (main): Use memcpy to fill in the mmapped code, instead of poking
578 bytes manually here.
579 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
580 value.
581 (read_debug_info): Save the function's range.
582 (read_sp): New function.
583 (unwind_frame): Use it. Also unwind RBP.
584 (get_frame_id): Use read_sp.
585 (gdb_init_reader): Use calloc instead of malloc.
586 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
587 parameter. Use gdb_test_multiple.
588
ced2dffb
PA
5892016-07-01 Pedro Alves <palves@redhat.com>
590 Antoine Tremblay <antoine.tremblay@ericsson.com>
591
592 * gdb.threads/process-dies-while-detaching.c: New file.
593 * gdb.threads/process-dies-while-detaching.exp: New file.
594
63000888
PA
5952016-07-01 Pedro Alves <palves@redhat.com>
596
597 * gdb.multi/watchpoint-multi-exit.c: New file.
598 * gdb.multi/watchpoint-multi-exit.exp: New file.
599
038d4868
PA
6002016-06-30 Pedro Alves <palves@redhat.com>
601
602 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
603 unset inferior_spawn_id.
604
994e9c83
PA
6052016-06-30 Pedro Alves <palves@redhat.com>
606
607 * lib/mi-support.exp (default_mi_gdb_start): Declare global
608 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
609
e5653468
YQ
6102016-06-29 Yao Qi <yao.qi@linaro.org>
611
612 * gdb.base/return.c: Add copyright header.
613
803b47e5
TT
6142016-06-29 Tom Tromey <tom@tromey.com>
615
616 PR python/20129:
617 * gdb.python/py-framefilter.exp: Add tests for setting priority
618 and disabling of non-existent frame filter.
619
28244707
YQ
6202016-06-29 Yao Qi <yao.qi@linaro.org>
621
622 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
623 0x0f07ff.
624
a31d2f06
YQ
6252016-06-28 Yao Qi <yao.qi@linaro.org>
626
627 * gdb.base/catch-syscall.exp: Remove check on isnative and target
628 triplets. Start gdb, execute catch syscall, and continue. Check
629 gdb's output to determine catch syscall is supported.
630
921d8f54
MG
6312016-06-27 Manish Goregaokar <manish@mozilla.com>
632
25d49b86
PA
633 * gdb.rust/simple.rs: Add test for returning unit in a function.
634 * gdb.rust/simple.exp: Add expectation for functions returning
635 unit.
921d8f54 636
f4952523
PMR
6372016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
638
639 * gdb.python/py-breakpoint-create-fail.c,
640 gdb.python/py-breakpoint-create-fail.exp,
641 gdb.python/py-breakpoint-create-fail.py: New testcase.
642
fccb08f8
MG
6432016-06-25 Manish Goregaokar <manish@mozilla.com>
644
645 PR gdb/20239
646 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
647 * gdb.rust/simple.exp: Add test expectations for new NonZero
648 tests.
fccb08f8 649
6b850546
DT
6502016-06-24 David Taylor <dtaylor@emc.com>
651
652 * gdb.base/offsets.exp: New file.
653 * gdb.base/offsets.c: New file.
654
17621150
TT
6552016-06-23 Tom Tromey <tom@tromey.com>
656
657 PR gdb/16483:
658 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
659 before any filters are loaded.
660
04d59df6
WT
6612016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
662
663 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
664 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
665 structs.
666 * gdb.fortran/derived-type-function.exp: New file.
667 * gdb.fortran/derived-type-function.f90: New file.
668
669
ac69f786
PA
6702016-06-21 Pedro Alves <palves@redhat.com>
671
672 * gdb.base/new-ui.exp: New file.
673 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
674 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
675 (with_spawn_id): New procedure.
676
49940788
PA
6772016-06-21 Pedro Alves <palves@redhat.com>
678
679 * gdb.mi/mi-exec-run.exp: New file.
680
ef274d26
PA
6812016-06-21 Pedro Alves <palves@redhat.com>
682
683 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
684 breakpoint command's output on the main UI.
685 (test_break): New procedure, factored out from calls in the top
686 level.
687 (top level): Use foreach_with_prefix to test MI as main UI and as
688 separate UI.
689
468afe6c
PA
6902016-06-21 Pedro Alves <palves@redhat.com>
691
692 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
693 (test_awatch_creation_and_listing)
694 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
695 Remove 'type' parameter.
696 (test_watchpoint_all): New parameter mi_mode. Remove
697 with_test_prefix.
698 (top level): Use foreach_with_prefix, and add main/separate UI MI
699 testing axis.
700
51f77c37
PA
7012016-06-21 Pedro Alves <palves@redhat.com>
702
703 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
704 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
705 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
706 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
707 (gdb_main_spawn_id, mi_spawn_id): Declare and
708 comment.
709 (mi_create_inferior_pty): New procedure,
710 factored out from default_mi_gdb_start.
711 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
712 procedures.
713 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
714 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
715 Use mi_create_inferior_pty.
716 (mi_gdb_start): Use eval to pass down args list.
717
8980e177
PA
7182016-06-21 Pedro Alves <palves@redhat.com>
719
720 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
721 * gdb.opt/inline-cmds.exp: Add MI tests.
722
f38d3ad1
PA
7232016-06-21 Pedro Alves <palves@redhat.com>
724
725 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
726
45db7c09
PA
7272016-06-21 Pedro Alves <palves@redhat.com>
728
729 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
730 (top level): Use it instead of mi_execute_to.
731
5a069ab3
PA
7322016-06-21 Pedro Alves <palves@redhat.com>
733
734 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
735 (cont_handler_str): New.
736 (signal_stop_handler): Set stop_handler_str instead of printing to
737 stdout.
738 (continue_handler): Set cont_handler_str instead of printing to
739 stdout.
740 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
741 mi_send_resuming_command. Print stop_handler_str and
742 cont_handler_str instead of expecting the python events print
743 directly.
744
2838cc1d
SD
7452016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
746
747 * gdb.base/jit-reader.exp: New file.
748 * gdb.base/jithost.c: New file.
749 * gdb.base/jithost.h: New file.
750 * gdb.base/jitreader.c : New file.
751 * gdb.base/jit-protocol.h: New file.
752
21a77091
YQ
7532016-06-17 Yao Qi <yao.qi@linaro.org>
754
755 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
756 parameters follow_fork and detach_on_fork. Set follow-fork-mode
757 and detach-on-fork. Adjust tests.
758 (top level): Invoke break_cond_on_syscall with combinations of
759 syscall, follow-fork-mode and detach-on-fork.
760
f50bf8e5
YQ
7612016-06-17 Yao Qi <yao.qi@linaro.org>
762
763 * gdb.base/step-over-exit.c: New.
764 * gdb.base/step-over-exit.exp: New.
765
a28d8e50
YTL
7662016-06-17 Yan-Ting Lin <currygt52@gmail.com>
767
768 * gdb.base/float.exp: Add target check for nds32*-*-*.
769 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
770
cad8e26d
AB
7712016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
772
773 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
774 for unsupported target features.
775 * gdb.base/call-rt-st.exp: Likewise.
776 * gdb.base/call-sc.exp: Likewise.
777 * gdb.base/call-signal-resume.exp: Likewise.
778 * gdb.base/call-strs.exp: Likewise.
779 * gdb.base/callexit.exp: Likewise.
780 * gdb.base/callfuncs.exp: Likewise.
781 * gdb.base/nodebug.exp: Likewise.
782 * gdb.base/printcmds.exp: Likewise.
783 * gdb.base/ptype.exp: Likewise.
784 * gdb.base/structs.exp: Likewise.
785 * gdb.base/unwindonsignal.exp: Likewise.
786 * gdb.cp/gdb2495.exp: Likewise.
787 * gdb.cp/templates.exp: Likewise.
788 * gdb.cp/virtfunc.exp: Likewise.
789 * gdb.threads/hand-call-in-threads.exp: Likewise.
790 * gdb.threads/interrupted-hand-call.exp: Likewise.
791 * gdb.threads/thread-unwindonsignal.exp: Likewise.
792
347dc102
TT
7932016-06-10 Tom Tromey <tom@tromey.com>
794
795 PR rust/20110:
796 * gdb.rust/expr.exp: Add test for integer constant larger than
797 i32.
798
5e13cf25
BH
7992016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
800
801 * gdb.fortran/nested-funcs.exp: New.
802 * gdb.fortran/nested-funcs.f90: New.
803
bb556f1f
TK
8042016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
805
806 * gdb.base/examine-backward.c: New file.
807 * gdb.base/examine-backward.exp: New file.
808
38b022b4
SM
8092016-06-06 Simon Marchi <simon.marchi@ericsson.com>
810
811 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
812 matching.
813
1b40ec05
TT
8142016-06-02 Tom Tromey <tom@tromey.com>
815
816 PR python/18984:
817 * gdb.python/py-shared.exp: Add solib_name test.
818
193bd378
SM
8192016-06-02 Simon Marchi <simon.marchi@ericsson.com>
820
821 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
822
3326303b
MG
8232016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
824
825 PR c++/19893
826 * gdb.dwarf2/implref.exp: Rename to...
827 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
828 * gdb.dwarf2/implref-array.c: New file.
829 * gdb.dwarf2/implref-array.exp: Likewise.
830 * gdb.dwarf2/implref-global.c: Likewise.
831 * gdb.dwarf2/implref-global.exp: Likewise.
832 * gdb.dwarf2/implref-struct.c: Likewise.
833 * gdb.dwarf2/implref-struct.exp: Likewise.
834
825c8ef2
AT
8352016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
836
837 * gdb.trace/trace-condition.exp: Add 64bit tests.
838
2320162a
AT
8392016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
840
841 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
842 bits types.
843 (main): Adapt to 8 to 64 bits types.
844 * gdb.trace/trace-condition.exp: Add new tests.
845
a7818233
AT
8462016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
847
848 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
849
0d336466
AT
8502016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
851
852 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
853 Move condition tests...
854 * gdb.trace/trace-condition.exp: Here.
855
7faeb45a
AT
8562016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
857
858 * gdb.trace/trace-condition.exp: Add counter-case tests.
859
e385593e
JK
8602016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
861
862 PR c++/15231
863 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
864 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
865
744608cc
PA
8662016-05-27 Pedro Alves <palves@redhat.com>
867
868 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
869 New procedure.
870 (top level): Call it, and bail out of DejaGnu is known to be bad.
871
ac775bf4
AB
8722016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
873
874 * gdb.base/whatis.c: Extend the test case.
875 * gdb.base/whatis.exp: Add additional tests.
876
2bbad2ea
BH
8772016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
878
879* gdb.fortran/type.f90: Add pointer variable.
880* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
881
8b70175d
BH
8822016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
883
884 * gdb.fortran/vla-type.exp: Fix testcase name.
885
86d8a848
BH
8862016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
887
888 * gdb.fortran/vla-type.exp: Access elements in nested structs.
889
e188eb36
BH
8902016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
891
892 * gdb.fortran/type.f90: Add nested structures.
893 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
894 * gdb.fortran/derived-type.exp: Adapt expected output.
895 * gdb.fortran/vla-type.exp: Adapt expected output.
896
9b2db1fd
BH
8972016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
898
899 * gdb.fortran/whatis_type.exp: Adapt expected output.
900
72b17055
BH
9012016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
902
903 * gdb.fortran/print_type.exp: Fix expected output.
904 * gdb.fortran/whatis_type.exp: Fix expected output.
905
3cd81d8d
BH
9062016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
907
908 * gdb.fortran/whatis_type.exp: Use multi_line.
909
ddae9462
TT
9102016-05-24 Tom Tromey <tom@tromey.com>
911
912 PR python/17386:
913 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
914 use value as an index.
915
1957f6b8
TT
9162016-05-23 Tom Tromey <tom@tromey.com>
917
918 PR python/17981:
919 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
920 no-breakpoint case.
921
026a9174
PA
9222016-05-24 Pedro Alves <palves@redhat.com>
923
924 PR gdb/19828
925 * gdb.threads/clone-attach-detach.c: New file.
926 * gdb.threads/clone-attach-detach.exp: New file.
927
e70a7231
FR
9282016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
929
930 * gdb.base/annota-input-while-running.exp: Fix syntax error.
931
0f6ed0e0
TT
9322016-05-23 Tom Tromey <tom@tromey.com>
933
934 PR python/19438, PR python/18393:
935 * gdb.python/py-progspace.exp: Add "dir" test.
936 * gdb.python/py-objfile.exp: Add "dir" test.
937
ffd19d61
YQ
9382016-05-23 Yao Qi <yao.qi@linaro.org>
939
940 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
941 * gdb.arch/thumb2-it.exp: Likewise.
942
9e8f9b05
SM
9432016-05-18 Simon Marchi <simon.marchi@ericsson.com>
944
945 * gdb.mi/mi-threads-interrupt.c: New file.
946 * gdb.mi/mi-threads-interrupt.exp: New file.
947
61c6156d
SM
9482016-05-17 Simon Marchi <simon.marchi@ericsson.com>
949
950 PR gdb/18077
951 * gdb.mi/mi-async-run.exp: New file.
952 * gdb.mi/mi-async-run.c: New file.
953
67218854
TT
9542016-05-17 Tom Tromey <tom@tromey.com>
955 Manish Goregaokar <manishsmail@gmail.com>
956
957 * lib/rust-support.exp: New file.
958 * lib/gdb.exp (skip_rust_tests): New proc.
959 (build_executable_from_specs): Handle rust.
960 * lib/future.exp (gdb_find_rustc): New proc.
961 (gdb_default_target_compile): Handle rust.
962 * gdb.rust/expr.exp: New file.
963 * gdb.rust/generics.exp: New file.
964 * gdb.rust/generics.rs: New file.
965 * gdb.rust/methods.exp: New file.
966 * gdb.rust/methods.rs: New file.
967 * gdb.rust/modules.exp: New file.
968 * gdb.rust/modules.rs: New file.
969 * gdb.rust/simple.exp: New file.
970 * gdb.rust/simple.rs: New file.
971
c44af4eb
TT
9722016-05-17 Tom Tromey <tom@tromey.com>
973
974 * gdb.base/default.exp (set language): Add rust.
975
dcd1f979
TT
9762016-05-17 Tom Tromey <tom@tromey.com>
977
978 * gdb.gdb/unittest.exp: New file.
979
155b7f57
YQ
9802016-05-16 Yao Qi <yao.qi@linaro.org>
981
982 * gdb.base/batch-preserve-term-settings.exp: Remove variable
983 shell_prompt. Update shell_prompt_re.
984
8ddd5a6c
DE
9852016-05-12 Doug Evans <dje@google.com>
986
987 PR symtab/19999
988 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
989 $options when building executable.
990 * gdb.dwarf2/fission-loclists-pie.S: New file.
991 * gdb.dwarf2/fission-loclists-pie.exp: New file.
992
02e370d9
SM
9932016-05-04 Simon Marchi <simon.marchi@ericsson.com>
994
995 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
996 of [is_remote target],
997
8929ad8b
SM
9982016-05-04 Simon Marchi <simon.marchi@ericsson.com>
999
1000 * lib/gdb.exp (use_gdb_stub): New procedure.
1001
6c447423
DE
10022016-05-03 Yunlian Jiang <yunlian@google.com>
1003 Doug Evans <dje@google.com>
1004
1005 PR symtab/19914
1006 * gdb.dwarf2/dwp-sepdebug.c: New file.
1007 * gdb.dwarf2/dwp-sepdebug.exp: New file.
1008
444e826c
SM
10092016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1010
1011 * gdb.base/detach.exp: Remove is_remote check.
1012
740feeaa
SM
10132016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1014
1015 * gdb.base/annota-input-while-running.exp: Don't check for
1016 [is_remote target]. Enable annotations after running to main.
1017 Remove unused "set test..." line.
1018
9080ac9d
SM
10192016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1020
1021 * gdb.trace/trace-enable-disable.exp: New file.
1022 * gdb.trace/trace-enable-disable.c: New file.
1023
952ebca5
SM
10242016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1025
1026 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
1027 use it in info sharedlibrary test.
1028 * gdb.trace/ftrace-lock.exp: Likewise.
1029 * gdb.trace/ftrace.exp: Likewise.
1030 * gdb.trace/range-stepping.exp: Likewise.
1031 * gdb.trace/trace-break.exp: Likewise.
1032 * gdb.trace/trace-condition.exp: Likewise.
1033 * gdb.trace/trace-mt.exp: Likewise.
1034
d9019901
SM
10352016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1036
1037 * lib/gdb.exp (gdb_load_shlibs): Rename to...
1038 (gdb_load_shlib): ... this.
1039 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
1040 gdb_load_shlib.
1041 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1042 * gdb.base/ctxobj.exp: Likewise.
1043 * gdb.base/dprintf-pending.exp: Likewise.
1044 * gdb.base/dso2dso.exp: Likewise.
1045 * gdb.base/fixsection.exp: Likewise.
1046 * gdb.base/gcore-relro.exp: Likewise.
1047 * gdb.base/gdb1555.exp: Likewise.
1048 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1049 * gdb.base/gnu-ifunc.exp: Likewise.
1050 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
1051 * gdb.base/jit-so.exp (one_jit_test): Likewise.
1052 * gdb.base/pending.exp: Likewise.
1053 * gdb.base/print-file-var.exp: Likewise.
1054 * gdb.base/print-symbol-loading.exp: Likewise.
1055 * gdb.base/shlib-call.exp: Likewise.
1056 * gdb.base/shreloc.exp: Likewise.
1057 * gdb.base/so-impl-ld.exp: Likewise.
1058 * gdb.base/solib-disc.exp: Likewise.
1059 * gdb.base/solib-nodir.exp: Likewise.
1060 * gdb.base/solib-overlap.exp: Likewise.
1061 * gdb.base/solib-symbol.exp: Likewise.
1062 * gdb.base/solib-weak.exp (do_test): Likewise.
1063 * gdb.base/sym-file.exp: Likewise.
1064 * gdb.base/symtab-search-order.exp: Likewise.
1065 * gdb.base/type-opaque.exp: Likewise.
1066 * gdb.base/unload.exp: Likewise.
1067 * gdb.base/watchpoint-solib.exp: Likewise.
1068 * gdb.compile/compile.exp: Likewise.
1069 * gdb.cp/gdb2384.exp: Likewise.
1070 * gdb.cp/infcall-dlopen.exp: Likewise.
1071 * gdb.cp/re-set-overloaded.exp: Likewise.
1072 * gdb.fortran/library-module.exp: Likewise.
1073 * gdb.opt/solib-intra-step.exp: Likewise.
1074 * gdb.python/py-finish-breakpoint.exp: Likewise.
1075 * gdb.python/py-shared.exp: Likewise.
1076 * gdb.reverse/solib-precsave.exp: Likewise.
1077 * gdb.reverse/solib-reverse.exp: Likewise.
1078 * gdb.server/solib-list.exp: Likewise.
1079 * gdb.threads/dlopen-libpthread.exp: Likewise.
1080 * gdb.threads/tls-shared.exp: Likewise.
1081 * gdb.threads/tls-so_extern.exp: Likewise.
1082 * gdb.trace/change-loc.exp: Likewise.
1083 * gdb.trace/ftrace-lock.exp: Likewise.
1084 * gdb.trace/ftrace.exp: Likewise.
1085 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
1086 * gdb.trace/pending.exp: Likewise.
1087 * gdb.trace/range-stepping.exp: Likewise.
1088 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
1089 (strace_info_marker): Likewise.
1090 (strace_probe_marker): Likewise.
1091 (strace_trace_on_same_addr): Likewise.
1092 (strace_trace_on_diff_addr): Likewise.
1093 * gdb.trace/trace-break.exp: Likewise.
1094 * gdb.trace/trace-condition.exp: Likewise.
1095 * gdb.trace/trace-mt.exp: Likewise.
1096
fca4cfd9
SM
10972016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1098
1099 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
1100 result of gdb_remote_download.
1101 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
1102 * gdb.base/dso2dso.exp: Likewise.
1103 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1104 * gdb.base/print-file-var.exp: Likewise.
1105 * gdb.base/shlib-call.exp: Likewise.
1106 * gdb.base/shreloc.exp: Likewise.
1107 * gdb.base/solib-overlap.exp: Likewise.
1108 * gdb.base/solib-weak.exp (do_test): Likewise.
1109 * gdb.base/unload.exp: Likewise.
1110
11cf4ffb
YQ
11112016-04-27 Yao Qi <yao.qi@linaro.org>
1112
1113 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
1114 exists.
1115
3e2e34f8
KB
11162016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1117
1118 * vla-type.exp: Print structure from toplevel.
1119
8f07e298
BH
11202016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1121
1122 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
1123 of dynamic types.
1124 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
1125 of dynamic types.
1126
9920b434
BH
11272016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1128
1129 * gdb.fortran/vla-type.f90: New file.
1130 * gdb.fortran/vla-type.exp: New file.
1131
f3abeff5
YQ
11322016-04-25 Yao Qi <yao.qi@linaro.org>
1133
1134 * gdb.base/branch-to-self.c: New file.
1135 * gdb.base/branch-to-self.exp: New file.
1136
0a5d52f0
YQ
11372016-04-22 Yao Qi <yao.qi@linaro.org>
1138
1139 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
1140 more after $hex.
1141
495346f6
YQ
11422016-04-22 Yao Qi <yao.qi@linaro.org>
1143
1144 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
1145 * gdb.base/annota3.exp: Likewise.
1146
4a7e075c
YQ
11472016-04-22 Yao Qi <yao.qi@linaro.org>
1148
1149 * gdb.reverse/step-precsave.exp: Do one step and test program
1150 stops in "callee" and do multiple steps until program goes out
1151 of "callee".
1152 * gdb.reverse/step-reverse.exp: Likewise.
1153
5b061e98
YQ
11542016-04-22 Yao Qi <yao.qi@linaro.org>
1155
1156 * gdb.trace/signal.exp: Also pass if
1157 $tracepoint_hits($i) > $iterations.
1158
5c5dc57f
YQ
11592016-04-22 Yao Qi <yao.qi@linaro.org>
1160
1161 * gdb.trace/signal.c: New file.
1162 * gdb.trace/signal.exp: New file.
1163
a55411b9
DE
11642016-04-19 Doug Evans <xdje42@gmail.com>
1165
1166 * gdb.base/bad-file.exp: New file.
1167
a22df60a
MG
11682016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
1169
1170 * gdb.dwarf2/implref.exp: New file.
1171
0c13f7e5
BH
11722016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1173
1174 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
1175 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
1176 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
1177 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
1178 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
1179 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
1180 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
1181 * lib/fortran.exp (fortran_int4): New procedure.
1182 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
1183 (fortran_logical4): Likewise.
1184
9b9b09e9
BH
11852016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
1186
1187 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
1188
a14d1f4d
BH
11892016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1190
1191 * lib/compiler.c: Add Intel specific preprocessor macros.
1192 * lib/compiler.cc: Likewise.
25d49b86 1193
7d49b1d0
LM
11942016-04-13 Luis Machado <lgustavo@codesourcery.com>
1195
1196 * gdb.server/connect-with-no-symbol-file.c: New file.
1197 * gdb.server/connect-with-no-symbol-file.exp: New file.
1198
8392fa22
SM
11992016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1200
1201 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
1202
8c4c4aeb
SM
12032016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1204
1205 * boards/gdbserver-base.exp (${board}_download): Copy source file to
1206 standard output directory.
1207
45e3745e
AT
12082016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
1209
1210 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
1211
e26b7e41
MM
12122016-04-13 Markus Metzger <markus.t.metzger@intel.com>
1213
1214 * gdb.btrace/instruction_history.c (loop): Add declaration.
1215
8ce09462
AT
12162016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1217
1218 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
1219
2e88a1ea
SM
12202016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
1221
1222 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
1223 parentheses to print.
1224 (continue_handler): Likewise.
1225
f48e22e3
SM
12262016-04-08 Simon Marchi <simon.marchi@ericsson.com>
1227
1228 * gdb.server/solib-list.exp: Remove is_remote check.
1229 Pass shlib= to gdb_compile. Don't link shared library with
1230 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
1231 Run binary filename through "readlink -f" on the target.
1232
096be756
PA
12332016-04-08 Pedro Alves <palves@redhat.com>
1234
1235 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
1236 interpreter filename as argument to gdbserver_spawn.
1237 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1238 Return empty if $last_loaded_file does not exist.
1239
06500533
JK
12402016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1241
1242 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
1243 * gdb.base/jit-main.c: Use exit after usage.
1244
2d35e871
JK
12452016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1246
1247 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
1248 GDBHISTSIZE prior to the tests.
1249 * gdb.base/gdbinit-history.exp: Likewise.
1250
12512016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
1252
1253 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
1254 instead of build_executable. Use gdb_load_shlibs.
1255
c8064e7e
YQ
12562016-04-07 Yao Qi <yao.qi@linaro.org>
1257
1258 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
1259 Execute "si" command.
1260
bde47561
YQ
12612016-04-07 Yao Qi <yao.qi@linaro.org>
1262
1263 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
1264 number instead of the comments on some line.
1265
b16f8a3b
DB
12662016-04-06 Don Breazeal <donb@codesourcery.com>
1267
1268 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
1269 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
1270
c2f901df
SM
12712016-04-06 Simon Marchi <simon.marchi@ericsson.com>
1272
1273 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
1274 standard_output_file. Remove unused binfile variable.
1275
ac17fda0
CU
12762016-04-05 Catalin Udma <catalin.udma@freescale.com>
1277
1278 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
1279 * gdb.python/py-mi-objfile.exp: Match "list main" output
1280 in console format.
1281
03a8c4df
SM
12822016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
1283
1284 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
1285 absolute.
1286
6e774b13
SM
12872016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1288
1289 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
1290 absolute.
1291 * gdb.trace/ftrace.exp: Likewise.
1292 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
1293 targets as well.
1294 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
1295 (gdb_load_shlibs): Copy libraries to test directory when testing
1296 natively. Only set solib-search-path if testing remotely.
1297 * lib/mi-support.exp (mi_load_shlibs): Likewise.
1298
7817ea46
SM
12992016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1300
1301 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
1302 gdb_download. Use it even if the target is not remote.
1303 * gdb.base/jit.exp (compile_jit_test): Likewise.
1304 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
1305 output directory if the destination board is local, otherwise use
1306 the standard remote_download from DejaGnu.
1307 (gdb_download): Remove.
1308 (gdb_load_shlibs): Use gdb_remote_download instead of
1309 gdb_download.
1310 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1311 Use gdb_remote_download instead of gdb_download. Use it even if
1312 the target is not remote.
1313 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
1314 instead of gdb_download.
1315
7beb7f68
SM
13162016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
1317
1318 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
1319 (test_insert_delete_modify): Call mi_load_shlibs before trying to
1320 run.
1321
cc63428a
AV
13222016-04-01 Artemiy Volkov <artemiyv@acm.org>
1323
1324 PR gdb/19820
1325 * gdb.base/printcmds.exp: Add artificial arrays tests.
1326
64cdf930
PA
13272016-03-31 Pedro Alves <palves@redhat.com>
1328
1329 PR gdb/19858
1330 * gdb.base/jit-main.c: Include unistd.h.
1331 (ATTACH): Define to 0 if not already defined.
1332 (wait_for_gdb, mypid): New globals.
1333 (WAIT_FOR_GDB): New macro.
1334 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1335 some breakpoint locations.
1336 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1337 New procedures.
1338 (one_jit_test): Add REATTACH parameter, and handle it. Use
1339 continue_to_test_location.
1340 (top level): Test attach, and adjusts calls to one_jit_test.
1341
40dea8cb
PA
13422016-03-31 Pedro Alves <palves@redhat.com>
1343
1344 PR gdb/19858
1345 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1346 BINSUFFIX parameter, and handle it.
1347 (top level): Adjust calls compile_jit_test.
1348
e7ea3ec7
CU
13492016-03-31 Catalin Udma <catalin.udma@freescale.com>
1350
1351 PR python/19743
1352 * gdb.python/py-mi-events-gdb.py: New file.
1353 * gdb.python/py-mi-events.c: New file.
1354 * gdb.python/py-mi-events.exp: New file.
1355
e6359af3
YQ
13562016-03-30 Yao Qi <yao.qi@linaro.org>
1357
1358 * gdb.reverse/until-precsave.exp: Match function name only.
1359 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1360 Move malloc to a condition block.
1361 * gdb.reverse/until-reverse.exp: Match function name only.
1362
a4105d04
MK
13632016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1364
1365 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1366 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1367 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1368 variable for GPR 0 instead of assuming it is register 0.
1369 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1370 * lib/trace-support.exp: Add s390 registers.
1371
bfa6adb9
YQ
13722016-03-29 Yao Qi <yao.qi@linaro.org>
1373
1374 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1375
1e6697ea
YQ
13762016-03-24 Yao Qi <yao.qi@linaro.org>
1377
1378 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1379 test message.
1380
64bcd522
AA
13812016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1382
1383 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1384 maintaining separate logic for constructing the output path.
1385
7868401b
DB
13862016-03-16 Don Breazeal <donb@codesourcery.com>
1387
1388 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1389 Retry fork and waitpid on interrupted system call errors.
1390 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1391 Use with_timeout_factor to increase timeout by factor of 10.
1392
1cafadb4
DB
13932016-03-15 Don Breazeal <donb@codesourcery.com>
1394
1395 * gdb.cp/scope-err.cc: New test program.
1396 * gdb.cp/scope-err.exp: New test script.
1397 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1398 lines and "set breakpoint here" comment.
1399 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1400 Fixed some whitespace and format issues.
1401 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1402 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1403
81516450
DE
14042016-03-15 Doug Evans <dje@google.com>
1405
1406 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1407 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1408 All callers updated. Add tests for enums, mixed flags register.
1409
aa52b601
DE
14102016-03-15 Doug Evans <dje@google.com>
1411
1412 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1413 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1414
fa4ff313
SM
14152016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1416
1417 * gdb.base/default.exp: Add $_as_string to the list of expected
1418 convenience functions.
1419
f2403c39
AB
14202016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1421
1422 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1423
f2f3ccb9
SM
14242016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1425
1426 * gdb.python/py-as-string.exp: New file.
1427 * gdb.python/py-as-string.c: New file.
1428
00dbd492
PA
14292016-03-09 Pedro Alves <palves@redhat.com>
1430
1431 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1432 signal" -> "Thread NN received signal" output change.
1433 * gdb.threads/ia64-sigill.exp: Likewise.
1434 * gdb.threads/linux-dp.exp: Likewise.
1435 * gdb.threads/manythreads.exp: Likewise.
1436 * gdb.threads/pending-step.exp: Likewise.
1437 * gdb.threads/print-threads.exp: Likewise.
1438 * gdb.threads/sigstep-threads.exp: Likewise.
1439 * gdb.threads/staticthreads.exp: Likewise.
1440 * gdb.threads/tls.exp: Likewise.
1441
1e6697ea
YQ
14422016-03-09 Pedro Alves <palves@redhat.com>
1443
1444 * gdb.base/command-line-input.exp: New file.
1445
b04fd3be
MK
14462016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1447
1448 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1449 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1450 * gdb.trace/pending.exp: Accept leading dot before function name.
1451 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1452 * lib/trace-support.exp: Set registers for ppc.
1453
98fa59e9
MK
14542016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1455
1456 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1457 use it for disassembly; accept .main in addition to main in backtrace.
1458
f77198c8
MK
14592016-03-09 Wei-cheng Wang <cole945@gmail.com>
1460 Marcin Kościelnicki <koriakin@0x04.net>
1461
1462 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1463 (gdb_recursion_test_ptr): New global variable.
1464 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1465 gdb_recursion_test.
1466 (gdb_c_test): Ditto.
1467
ba84e0da
MK
14682016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1469
1470 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1471 ordering.
1472
4366d36e
MK
14732016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1474
1475 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1476 (bar): Add bar_start_lbl label.
1477 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1478 of foo/bar for emitting DWARF and tracing.
1479
5eb264df
SDJ
14802016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1481
1482 * analyze-racy-logs.py: Set executable bit.
1483
fb6a751f
SDJ
14842016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1485
1486 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1487 (CHECK_TARGET_TMP): Likewise.
1488 (check-single-racy): New rule.
1489 (check-parallel-racy): Likewise.
1490 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1491 (do-check-parallel-racy): New rule.
1492 (check-racy/%.exp): Likewise.
1493 * README (Racy testcases): New section.
1494 * analyze-racy-logs.py: New file.
1495
bdf7e230
DE
14962016-03-03 Doug Evans <dje@google.com>
1497
1498 * gdb.base/skip.exp: Use with_test_prefix.
1499
4719d415
YQ
15002016-03-03 Yao Qi <yao.qi@linaro.org>
1501
1502 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1503 Invoke step_over_syscall "clone" and break_cond_on_syscall
1504 "clone".
1505 * gdb.base/step-over-clone.c: New file.
1506
ea507862
YQ
15072016-03-03 Yao Qi <yao.qi@linaro.org>
1508
1509 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1510 code format.
1511
8fc8cbda
YQ
15122016-03-03 Yao Qi <yao.qi@linaro.org>
1513
1514 * gdb.base/disp-step-fork.c: Rename to ...
1515 * gdb.base/step-over-fork.c: ... it. New file.
1516 * gdb.base/disp-step-vfork.c: Rename to ...
1517 * gdb.base/step-over-vfork.c: ... it. New file.
1518 * gdb.base/disp-step-syscall.exp: Rename to ...
1519 * gdb.base/step-over-syscall.exp: ... it. New file.
1520 (disp_step_cross_syscall): Rename to ...
1521 (step_over_syscall): ... it.
1522
92fa70b0
YQ
15232016-03-03 Yao Qi <yao.qi@linaro.org>
1524
1525 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1526 If target supports condition evaluation on target, invoke
1527 break_cond_on_syscall for fork and vfork.
1528
e197ad3c
YQ
15292016-03-03 Yao Qi <yao.qi@linaro.org>
1530
1531 * gdb.base/disp-step-syscall.exp: Don't invoke
1532 support_displaced_stepping.
1533 (disp_step_cross_syscall): Test with displaced stepping off and
1534 on if supported.
1535
0b47da9f
YQ
15362016-03-03 Yao Qi <yao.qi@linaro.org>
1537
1538 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1539 proc.
1540 (setup): New proc.
1541 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1542 and setup.
1543
065ab6dc
BH
15442016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1545
1546 * gdb.fortran/vla-history.exp: Remove breakpoint.
1547
07e448ad 15482016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1549
25d49b86
PA
1550 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1551 exceeds timeout.
07e448ad 1552
9ac2d526 15532016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1554
25d49b86
PA
1555 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1556 breakpoint.
9ac2d526 1557
17807369
BH
15582016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1559
1560 * gdb.mi/vla.f90: Nullify pointer after declaration.
1561
86e501af
PA
15622016-03-01 Pedro Alves <palves@redhat.com>
1563
1564 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1565
1e903e32
PA
15662016-03-01 Pedro Alves <palves@redhat.com>
1567
1568 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1569 before anything else.
1570 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1571 _GNU_SOURCE here.
1572 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1573 before anything else.
1574 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1575
6ccb54e2
PA
15762016-03-01 Pedro Alves <palves@redhat.com>
1577
1578 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1579
30ca9da1
YQ
15802016-03-01 Yao Qi <yao.qi@linaro.org>
1581
1582 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1583 prepare_for_testing.
1584
dc856b38
YQ
15852016-03-01 Yao Qi <yao.qi@linaro.org>
1586
1587 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1588
4a932159
AA
15892016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1590
1591 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1592 manually constructing the output path.
1593
f2489477
AA
15942016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1595
1596 * gdb.arch/s390-stackless.S: New.
1597 * gdb.arch/s390-stackless.exp: New.
1598
38899f16
IB
15992016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1600
1601 * gdb.dlang/circular.c: New file.
1602 * gdb.dlang/circular.exp: New file.
1603
9fde51ed
YQ
16042016-02-26 Yao Qi <yao.qi@linaro.org>
1605
1606 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1607 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1608 (testcases): Update.
1609
ce90fefe
YQ
16102016-02-26 Yao Qi <yao.qi@linaro.org>
1611
1612 * gdb.reverse/aarch64.c: Rename to ...
1613 * gdb.reverse/insn-reverse.c: ... it.
1614 * gdb.reverse/aarch64.exp: Rename to ...
1615 * gdb.reverse/insn-reverse.exp: ... it.
1616
3263bceb
YQ
16172016-02-26 Yao Qi <yao.qi@linaro.org>
1618
1619 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1620 (testcase_ftype): New.
1621 (testcases): New array.
1622 (n_testcases): New.
1623 (main): Call each element in testcases.
1624 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1625 (read_testcase): New.
1626 Do the tests in a loop.
1627
6cb59ff1
YQ
16282016-02-25 Yao Qi <yao.qi@linaro.org>
1629
1630 * gdb.base/branches.c: Remove.
1631
ae91f625
MK
16322016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1633
1634 PR gdb/13808
1635 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1636
678b48b7
MK
16372016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1638
1639 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1640
7337a6f2
MK
16412016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1642
1643 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1644 change x86_64 call_insn to 'callq'.
1645
861ca91f
AT
16462016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1647
1648 * gdb.trace/tfile-avx.c: Move to...
1649 * gdb.trace/tracefile-pseudo-reg.c: Here.
1650 * gdb.trace/tfile-avx.exp: Move to...
1651 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1652
bf74e428
GB
16532016-02-24 Gary Benson <gbenson@redhat.com>
1654
1655 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1656 message on attach.
1657
cce0e923
DE
16582016-02-23 Doug Evans <dje@google.com>
1659
1660 * gdb.base/skip.c (test_skip): New function.
1661 (end_test_skip_file_and_function): New function.
1662 (test_skip_file_and_function): New function.
1663 * gdb.base/skip1.c (test_skip): New function.
1664 (skip1_test_skip_file_and_function): New function.
1665 * gdb.base/skip.exp: Add tests for new skip options.
1666 * gdb.base/skip-solib.exp: Update expected output.
1667 * gdb.perf/skip-command.cc: New file.
1668 * gdb.perf/skip-command.exp: New file.
1669 * gdb.perf/skip-command.py: New file.
1670
4000e47e
MK
16712016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1672
1673 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1674 info registers pattern.
1675
24f75ead
IB
16762016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1677
1678 * lib/future.exp: Add D support.
1679 (gdb_find_gdc): New proc.
1680 (gdb_default_target_compile): Add D support.
1681
fbb7bcbe
WW
16822016-02-18 Wei-cheng Wang <cole945@gmail.com>
1683
1684 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1685 user+system time.
1686 (trace_speed_test): Determine the iteration count for a time
1687 between 15..30 seconds.
1688
012b3a21
WT
16892016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1690
1691 * gdb.arch/i386-mpx-sigsegv.c: New file.
1692 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1693 * gdb.arch/i386-mpx-simple_segv.c: New file.
1694 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1695
2d5189bd
YQ
16962016-02-18 Yao Qi <yao.qi@linaro.org>
1697
1698 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1699 Don't call setup_kfail.
1700
40fb20d0
YQ
17012016-02-18 Yao Qi <yao.qi@linaro.org>
1702
1703 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1704 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1705
21b1f8d2
DE
17062016-02-16 Doug Evans <dje@google.com>
1707
1708 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1709 * gdb.base/skip1.c: Ditto.
1710 * gdb.base/skip.exp: Whitespace cleanup.
1711
4041ed77
DB
17122016-02-16 Don Breazeal <donb@codesourcery.com>
1713
1714 PR remote/19496
1715 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1716 Remove kfail for PR remote/19496.
1717
c4ef31bf
SM
17182016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1719
1720 * lib/gdb.exp (standard_temp_file): Return a path specific to
1721 the runtest invocation.
1722
266b65b3
SM
17232016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1724
1725 * gdb.trace/save-trace.exp: Change relative path to be in the
1726 standard output directory.
1727
a7a0a6a9
JK
17282016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1729
1730 * gdb.arch/i386-prologue.c: Add missing prototypes.
1731
c99dbb42
JK
17322016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1733
1734 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1735 * gdb.arch/i386-prologue.exp: Likewise.
1736 * gdb.arch/i386-size.exp: Likewise.
1737
aa480355
SM
17382016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1739
1740 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1741 define object file path.
1742 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1743 file path.
1744 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1745 standard_output_file to define binfile.
1746
ba881f50
JK
17472016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1748
1749 Fix compatibility with recent gfortran-5.3.1.
1750 * gdb.fortran/vla-history.exp (print vla1 allocated)
1751 (print vla2 allocated, print $2, print $3): Remove
1752 (print $4): Rename to ...
1753 (print $2): ... here.
1754 (print $9): Rename to ...
1755 (print $5): ... here.
1756 (print $10): Rename to ...
1757 (print $6): ... here.
1758 * gdb.fortran/vla.f90: Add pvla initialization.
1759
e9fb005c
JK
17602016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1761
1762 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1763 New test.
1764 * gdb.fortran/vla-value-sub.exp: Likewise.
1765
e44e00ff
MK
17662016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1767
1768 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1769
97e94151
SM
17702016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1771
1772 * i386-biarch-core.exp: Define corefile using
1773 standard_output_file.
1774
01113bc1
YQ
17752016-02-12 Yao Qi <yao.qi@linaro.org>
1776
1777 * gdb.arch/arm-single-step-kernel-helper.c: New.
1778 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1779
33b4777c
MM
17802016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1781
1782 * gdb.btrace/tailcall-only.exp: New.
1783 * gdb.btrace/tailcall-only.c: New.
1784 * gdb.btrace/x86_64-tailcall-only.S: New.
1785 * gdb.btrace/i686-tailcall-only.S: New.
1786
acc23c11
PA
17872016-02-11 Pedro Alves <palves@redhat.com>
1788
1789 * README (Parallel testing): Add missing double quotes.
1790
e352bf0a
PA
17912016-02-11 Pedro Alves <palves@redhat.com>
1792
1793 * README (Parallel testing): New section.
1794 (GDB_PARALLEL): Rewrite.
1795 (FORCE_PARALLEL): Document.
1796
9f5fed78
MK
17972016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1798
1799 * gdb.trace/tfile-avx.c: New test.
1800 * gdb.trace/tfile-avx.exp: New test.
1801
9ef9e6a6
KS
18022016-02-09 Keith Seitz <keiths@redhat.com>
1803
1804 PR breakpoints/19546
1805 * gdb.base/infcall-exec.c: New file.
1806 * gdb.base/infcall-exec2.c: New file.
1807 * gdb.base/infcall-exec.exp: New file.
1808
a96e36da
KS
18092016-02-09 Keith Seitz <keiths@redhat.com>
1810
1811 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1812 (toplevel): Call test_bkpt_address.
1813
9f61929f
KS
18142016-02-09 Keith Seitz <keiths@redhat.com>
1815
1816 PR python/19506
1817 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1818 (toplevel): Call test_bkpt_address.
1819
1e94266c
SM
18202016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1821
1822 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1823 to AC_OUTPUT.
1824 * configure: Regenerate.
1825
2a7f3dff
PA
18262016-02-09 Pedro Alves <palves@redhat.com>
1827
1828 PR breakpoints/19548
1829 * gdb.base/execl-update-breakpoints.c (some_function): New
1830 function.
1831 (main): Call it.
1832 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1833 Tighten expected GDB output.
1834
2151ccc5
SM
18352016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1836
1837 * Makefile.in (ALL_SUBDIRS): Remove.
1838 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1839 (distclean maintainer-clean realclean): Likewise.
1840 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1841 * configure: Regenerate.
1842 * gdb.ada/Makefile.in: Delete.
1843 * gdb.arch/Makefile.in: Likewise.
1844 * gdb.asm/Makefile.in: Likewise.
1845 * gdb.base/Makefile.in: Likewise.
1846 * gdb.btrace/Makefile.in: Likewise.
1847 * gdb.cell/Makefile.in: Likewise.
1848 * gdb.compile/Makefile.in: Likewise.
1849 * gdb.cp/Makefile.in: Likewise.
1850 * gdb.disasm/Makefile.in: Likewise.
1851 * gdb.dlang/Makefile.in: Likewise.
1852 * gdb.dwarf2/Makefile.in: Likewise.
1853 * gdb.fortran/Makefile.in: Likewise.
1854 * gdb.gdb/Makefile.in: Likewise.
1855 * gdb.go/Makefile.in: Likewise.
1856 * gdb.guile/Makefile.in: Likewise.
1857 * gdb.java/Makefile.in: Likewise.
1858 * gdb.linespec/Makefile.in: Likewise.
1859 * gdb.mi/Makefile.in: Likewise.
1860 * gdb.modula2/Makefile.in: Likewise.
1861 * gdb.multi/Makefile.in: Likewise.
1862 * gdb.objc/Makefile.in: Likewise.
1863 * gdb.opencl/Makefile.in: Likewise.
1864 * gdb.opt/Makefile.in: Likewise.
1865 * gdb.pascal/Makefile.in: Likewise.
1866 * gdb.perf/Makefile.in: Likewise.
1867 * gdb.python/Makefile.in: Likewise.
1868 * gdb.reverse/Makefile.in: Likewise.
1869 * gdb.server/Makefile.in: Likewise.
1870 * gdb.stabs/Makefile.in: Likewise.
1871 * gdb.threads/Makefile.in: Likewise.
1872 * gdb.trace/Makefile.in: Likewise.
1873 * gdb.xml/Makefile.in: Likewise.
1874 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1875 GDB_PARALLEL.
1876 (standard_output_file): Remove check for GDB_PARALLEL, always
1877 return path in outputs/$subdir/$testname.
1878
437277d4
SM
18792016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1880
1881 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1882 (site.exp): Assign abs_srcdir to tcl's srcdir.
1883
31d913c7
YQ
18842016-02-04 Yao Qi <yao.qi@linaro.org>
1885
1886 * gdb.base/foll-exec-mode.c: Include limits.h.
1887 (main): Add parameters argc and argv. Get directory from
1888 argv[0].
1889 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1890 compilation.
1891 * gdb.base/foll-exec.c: Include limits.h.
1892 (main): Add parameters argc and argv.
1893 Get directory from argv[0].
1894 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1895 Adjust tests on the number of lines as source code changed.
1896 * gdb.base/foll-vfork-exit.c: Include limits.h.
1897 (main): Add one line of statement before vfork.
1898 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1899 (main): Add parameters argc and argv. Get directory from
1900 argv[0].
1901 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1902 (setup_gdb): Set tbreak to skip some source lines.
1903 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1904 (main): Add parameters argc and argv. Get directory from
1905 argv[0].
1906 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1907 compilation.
1908 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1909 (main): Add parameters argc and argv. Get directory from
1910 argv[0].
1911 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1912 compilation.
1913
9482b9fb
DE
19142016-02-01 Doug Evans <dje@google.com>
1915
1916 * gdb.base/skip.exp: Clean up multiple references to same test name.
1917
6b2e4f10
PA
19182016-02-01 Pedro Alves <palves@redhat.com>
1919
ccb6afd6 1920 PR remote/19496
6b2e4f10
PA
1921 * gdb.threads/forking-threads-plus-breakpoint.exp
1922 (displaced_stepping_supported): New global.
1923 (probe_displaced_stepping_support): New procedure.
1924 (do_test): Add 'displaced' parameter, and use it.
1925 (top level): Check for displaced stepping support. Add displaced
1926 stepping on/off testing axis.
1927
37a8db1a
AB
19282016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1929
1930 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1931 pointer. Don't perform further tests on the unassociated pointer
1932 if the first test fails.
1933
5fdf6324
AB
19342016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1935
1936 * gdb.base/max-value-size.c: New file.
1937 * gdb.base/max-value-size.exp: New file.
1938 * gdb.base/huge.exp: Disable max-value-size for this test.
1939
935c6144
IB
19402016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1941
1942 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1943
7fe8399d
YQ
19442016-01-28 Yao Qi <yao.qi@linaro.org>
1945
1946 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1947
a2077e25
PA
19482016-01-25 Pedro Alves <palves@redhat.com>
1949
1950 PR threads/19461
1951 * gdb.base/fork-running-state.c: New file.
1952 * gdb.base/fork-running-state.exp: New file.
1953
1d2736d4
PA
19542016-01-25 Pedro Alves <palves@redhat.com>
1955
1956 PR gdb/19494
1957 * gdb.base/catch-fork-kill.c: New file.
1958 * gdb.base/catch-fork-kill.exp: New file.
1959
f1da4b11
PA
19602016-01-25 Pedro Alves <palves@redhat.com>
1961
1962 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1963 Delete, moved to lib/gdb.exp.
1964 * gdb.threads/forking-threads-plus-breakpoint.exp
1965 (foreach_with_prefix): Likewise.
1966 * gdb.threads/process-dies-while-handling-bp.exp
1967 (foreach_with_prefix): Likewise.
1968 * lib/gdb.exp (foreach_with_prefix): New procedure.
1969
45f38546
MK
19702016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1971
1972 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1973 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1974
dc29a1ce
MK
19752016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1976
1977 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1978 endian targets.
1979
092127d7
JK
19802016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1981 Pedro Alves <palves@redhat.com>
1982
1983 Fix testsuite compatibility with Guile.
1984 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1985 number.
1986
31d765d3
JK
19872016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1988
1989 Fix testsuite compatibility with Guile.
1990 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1991 (thread 1): New test for backtrace through signal handler.
1992
1ac78c04
YQ
19932016-01-22 Yao Qi <yao.qi@linaro.org>
1994
1995 PR testsuite/19491
1996 * gdb.base/multi-forks.c: Include
1997 ../lib/unbuffer_output.c
1998 (main): Call gdb_unbuffer_output.
1999
4f5946a8
DE
20002016-01-21 Doug Evans <dje@google.com>
2001
2002 * lib/ada.exp (gdb_compile_ada): Fix typo.
2003
305e13e6
JB
20042016-01-21 Joel Brobecker <brobecker@adacore.com>
2005
2006 * gdb.base/break-fun-addr.exp: New file.
2007 * gdb.base/break-fun-addr1.c: New file.
2008 * gdb.base/break-fun-addr2.c: New file.
2009
5f5dfff6
SM
20102016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
2011
2012 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
2013 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
2014 enum flag values.
2015
fd356fa2
AA
20162016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2017
2018 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
2019 when GDB can not set the vector return value. Add more comments
2020 for clarification.
2021
9df22175
AT
20222016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
2023
2024 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
2025 command.
2026
41d1845e
SM
20272016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2028
2029 * Makefile.in (DO_RUNTEST): Add --status and update usages.
2030
01ac6840
SM
20312016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2032
2033 * Makefile.in (check-single): Pass --status to runtest.
2034 (check/%.exp): Likewise.
2035
20362016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2037
2038 * Makefile.in (check-parallel): Propagate return code from make
2039 do-check-parallel.
2040
bd0a71fa
MK
20412016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
2042
2043 * gdb.trace/ftrace.exp: Fix expected message on continue.
2044 * gdb.trace/pending.exp: Fix expected message on continue.
2045 * gdb.trace/trace-break.exp: Fix expected message on continue.
2046
8bcbad33
SM
20472016-01-18 Simon Marchi <simon.marchi@ericsson.com>
2048
2049 * lib/gdb.exp (gdb_test): Remove unused global references.
2050
f303dbd6
PA
20512016-01-18 Pedro Alves <palves@redhat.com>
2052
2053 * gdb.base/async-shell.exp: Adjust expected output.
2054 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
2055 * gdb.base/siginfo-thread.exp: Adjust expected output.
2056 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
2057 * gdb.java/jnpe.exp: Adjust expected output.
2058 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
2059 * gdb.threads/continue-pending-status.exp: Adjust expected output.
2060 * gdb.threads/leader-exit.exp: Adjust expected output.
2061 * gdb.threads/manythreads.exp: Adjust expected output.
2062 * gdb.threads/pthreads.exp: Adjust expected output.
2063 * gdb.threads/schedlock.exp: Adjust expected output.
2064 * gdb.threads/siginfo-threads.exp: Adjust expected output.
2065 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
2066 expected output.
2067 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
2068 output.
2069 * gdb.threads/sigthread.exp: Adjust expected output.
2070 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
2071
b2789696
YQ
20722016-01-18 Yao Qi <yao.qi@linaro.org>
2073
2074 * gdb.guile/scm-section-script.c: Replace @progbits with
2075 %progbits.
2076 * gdb.python/py-section-script.c: Likewise.
2077
71ef29a8
PA
20782016-01-15 Pedro Alves <palves@redhat.com>
2079
2080 * gdb.multi/tids.exp: Test star wildcard ranges.
2081
3f5b7598
PA
20822016-01-15 Pedro Alves <palves@redhat.com>
2083
2084 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
2085 command from "thread apply" invocation.
2086 (thr_apply_info_thr_invalid): Default the expected output to the
2087 input tid list.
2088 (top level): Add tests that use convenience variables. Add tests
2089 for "thread apply" with a valid TID list, but missing the command.
2090
663f6d42
PA
20912016-01-13 Pedro Alves <palves@redhat.com>
2092
2093 * gdb.base/default.exp: Expect $_gthread as well.
2094 * gdb.multi/tids.exp: Test $_gthread.
2095 * gdb.threads/thread-specific.exp: Test $_gthread.
2096
c84f6bbf
PA
20972016-01-13 Pedro Alves <palves@redhat.com>
2098
2099 * gdb.multi/tids.exp: Test "info threads -gid".
2100
22a02324
PA
21012016-01-13 Pedro Alves <palves@redhat.com>
2102
2103 * gdb.multi/tids.exp: Test InferiorThread.global_num and
2104 Breakpoint.thread.
2105 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
2106
5d5658a1
PA
21072016-01-07 Pedro Alves <palves@redhat.com>
2108
2109 * gdb.base/break.exp: Adjust to output changes.
2110 * gdb.base/hbreak2.exp: Likewise.
2111 * gdb.base/sepdebug.exp: Likewise.
2112 * gdb.base/watch_thread_num.exp: Likewise.
2113 * gdb.linespec/keywords.exp: Likewise.
2114 * gdb.multi/info-threads.exp: Likewise.
2115 * gdb.threads/thread-find.exp: Likewise.
2116 * gdb.multi/tids.c: New file.
2117 * gdb.multi/tids.exp: New file.
2118
84654457
PA
21192016-01-13 Pedro Alves <palves@redhat.com>
2120
2121 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
2122
e3940304
PA
21232016-01-13 Pedro Alves <palves@redhat.com>
2124
2125 * gdb.base/default.exp: Expect $_inferior as well.
2126 * gdb.multi/base.exp: Test $_inferior.
2127
a911d87a
PA
21282016-01-13 Pedro Alves <palves@redhat.com>
2129
2130 PR breakpoints/19388
2131 * gdb.base/catch-signal-siginfo-cond.c: New file.
2132 * gdb.base/catch-signal-siginfo-cond.exp: New file.
2133
82075af2
JS
21342016-01-12 Josh Stone <jistone@redhat.com>
2135 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2136
2137 * gdb.base/catch-syscall.c (do_execve): New variable.
2138 (main): Conditionally trigger an execve.
2139 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
2140 (test_catch_syscall_execve): New, check entry/return across execve.
2141 (do_syscall_tests): Call test_catch_syscall_execve.
2142
e46eeedd
PA
21432016-01-12 Pedro Alves <palves@redhat.com>
2144
2145 * gdb.base/random-signal.exp (do_test): New procedure, with body
2146 of testcase moved in.
2147
01d8c27e
JK
21482016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2149 Pedro Alves <palves@redhat.com>
2150
2151 * gdb.base/funcargs.exp (finish from indirectly called function):
2152 Reintroduce the case for 'First'.
2153
9a706302
JK
21542016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2155 Pedro Alves <palves@redhat.com>
2156
2157 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
2158 (tcatch_vfork_then_child_follow_exec)
2159 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
2160 identification.
2161
c0ecb95f
JK
21622016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2163
2164 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
2165 and repeats to unlimited.
2166 * gdb.python/py-value.exp: Likewise.
2167 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
2168 and repeats to unlimited.
2169
6cfc1fcb
JK
21702016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2171
2172 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
2173 and reordering the functions.
2174 * gdb.multi/hangout.c: Likewise.
2175 * gdb.multi/hello.c: Likewise.
2176
582a1b00
SM
21772016-01-08 Simon Marchi <simon.marchi@ericsson.com>
2178
2179 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
2180 absolute.
2181 (SingleStatisticTestResult.report): Use dict.keys instead of
2182 dict.iterkeys.
2183
79bc59cb
PA
21842016-01-06 Pedro Alves <palves@redhat.com>
2185
2186 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
2187
43368e1d
MM
21882016-01-04 Markus Metzger <markus.t.metzger@intel.com>
2189
2190 * gdb.btrace/dlopen.exp: New.
2191 * gdb.btrace/dlopen.c: New.
2192 * gdb.btrace/dlopen-dso.c: New.
2193
79fad5b8
SL
21942015-12-25 Sandra Loosemore <sandra@codesourcery.com>
2195
2196 * lib/gdb.exp (gdb_test): Update comments to clarify that the
2197 PATTERN argument is optional.
2198
ab8314b3
JB
21992015-12-24 Joel Brobecker <brobecker@adacore.com>
2200
2201 * lib/ada.exp (target_compile_ada_from_dir): New function.
2202 (gdb_compile_ada): Reimplement avoiding the use of project files.
2203 * gdb.ada/gnat_ada.gpr: Delete.
2204 * gdb.ada/cond_lang.exp: Adjust test to make path before
2205 filename optional.
2206 * gdb.ada/small_reg_param.exp: Likewise.
2207
fe33faff
SM
22082015-12-22 Simon Marchi <simon.marchi@ericsson.com>
2209
2210 * gdb.base/foll-vork.exp: Remove HP-UX special case.
2211
6d265cb4
TP
22122015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
2213
2214 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
2215 case.
2216
10125099
SM
22172015-12-21 Simon Marchi <simon.marchi@ericsson.com>
2218
2219 * gdb.base/break.exp: Remove dead code.
2220 * gdb.base/sepdebug.exp: Likewise.
2221
3ca22649
SM
22222015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2223
2224 * gdb.asm/asm-source.exp: Remove HP-UX references.
2225 * gdb.base/annota1.exp: Likewise.
2226 * gdb.base/annota3.exp: Likewise.
2227 * gdb.base/attach.exp: Likewise.
2228 * gdb.base/bigcore.exp: Likewise.
2229 * gdb.base/break.exp: Likewise.
2230 * gdb.base/call-ar-st.exp: Likewise.
2231 * gdb.base/callfuncs.exp: Likewise.
2232 * gdb.base/catch-fork-static.exp: Likewise.
2233 * gdb.base/display.exp: Likewise.
2234 * gdb.base/foll-exec-mode.exp: Likewise.
2235 * gdb.base/foll-exec.exp: Likewise.
2236 * gdb.base/foll-fork.exp: Likewise.
2237 * gdb.base/foll-vfork.exp: Likewise.
2238 * gdb.base/funcargs.exp: Likewise.
2239 * gdb.base/hbreak2.exp: Likewise.
2240 * gdb.base/inferior-died.exp: Likewise.
2241 * gdb.base/interrupt.exp: Likewise.
2242 * gdb.base/multi-forks.exp: Likewise.
2243 * gdb.base/nodebug.exp: Likewise.
2244 * gdb.base/sepdebug.exp: Likewise.
2245 * gdb.base/solib1.c: Likewise.
2246 * gdb.base/step-test.exp: Likewise.
2247 * gdb.mi/non-stop.c: Likewise.
2248 * gdb.mi/pthreads.c: Likewise.
2249 * gdb.multi/bkpt-multi-exec.ex: Likewise.
2250 * gdb.threads/pthreads.c: Likewise.
2251 * gdb.threads/staticthreads.exp: Likewise.
2252 * lib/future.exp: Likewise.
2253 * lib/gdb.exp: Likewise.
2254 * gdb.base/so-indr-cl.c: Remove.
2255 * gdb.base/so-indr-cl.exp: Likewise.
2256 * gdb.base/solib.c: Likewise.
2257 * gdb.base/solib.exp: Likewise.
2258 * gdb.base/solib2.c: Likewise.
2259
b6304613
SM
22602015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2261
2262 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
2263 * gdb.base/call-ar-st.exp: Likewise.
2264 * gdb.base/callfuncs.exp: Likewise.
2265 * gdb.base/condbreak.exp: Likewise.
2266 * gdb.base/constvars.exp: Likewise.
2267 * gdb.base/hbreak2.exp: Likewise.
2268 * gdb.base/langs.exp: Likewise.
2269 * gdb.base/list.exp: Likewise.
2270 * gdb.base/long_long.exp: Likewise.
2271 * gdb.base/ptype.exp: Likewise.
2272 * gdb.base/scope.exp: Likewise.
2273 * gdb.base/signals.exp: Likewise.
2274 * gdb.base/so-impl-ld.exp: Likewise.
2275 * gdb.base/varargs.exp: Likewise.
2276 * gdb.base/volatile.exp: Likewise.
2277 * gdb.base/whatis.exp: Likewise.
2278 * gdb.cp/cplusfuncs.exp: Likewise.
2279 * gdb.cp/inherit.exp: Likewise.
2280 * gdb.cp/local.exp: Likewise.
2281 * gdb.cp/member-ptr.exp: Likewise.
2282 * gdb.cp/method.exp: Likewise.
2283 * gdb.cp/overload.exp: Likewise.
2284 * gdb.cp/templates.exp: Likewise.
2285 * gdb.stabs/weird.exp: Likewise.
2286 * lib/compiler.c: Likewise.
2287 * lib/compiler.cc: Likewise.
2288 * lib/cp-support.exp: Likewise.
2289 * lib/gdb.exp: Likewise.
2290
bf401b07
SM
22912015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
2292
2293 * configure.ac: Remove HP-UX case.
2294 * configure: Regenerate.
2295
aff9c0f8
SM
22962015-12-18 Simon Marchi <simon.marchi@ericsson.com>
2297
2298 * lib/gdb.exp (gdb_compile): Add function doc.
2299
a6904d5a
PA
23002015-12-17 Pedro Alves <palves@redhat.com>
2301
2302 PR threads/19354
2303 * gdb.multi/info-threads.exp: New file.
2304
a22279dd
YQ
23052015-12-15 Yao Qi <yao.qi@linaro.org>
2306
2307 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
2308 is aarch64*-*-*.
2309
0588c796
SL
23102015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2311
2312 * gdb.base/history-duplicates.exp: Skip if no readline support.
2313
5d978e17
SL
23142015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2315
2316 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
2317
7e763b86
SL
23182015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2319
2320 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
2321
87a3a92c
SL
23222015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2323
2324 * gdb.base/completion.exp: Skip tests that interrupt GDB with
2325 ctrl-C if nointerrupts target property is set.
2326 * gdb.base/double-prompt-target-event-error.exp: Likewise.
2327 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
2328 * gdb.base/paginate-bg-execution.exp: Likewise.
2329 * gdb.base/paginate-execution-startup.exp: Likewise.
2330 * gdb.base/random-signal.exp: Likewise.
2331 * gdb.base/range-stepping.exp: Likewise.
2332 * gdb.cp/annota2.exp: Likewise.
2333 * gdb.cp/annota3.exp: Likewise.
2334 * gdb.gdb/selftest.exp: Likewise.
2335 * gdb.threads/continue-pending-status.exp: Likewise.
2336 * gdb.threads/leader-exit.exp: Likewise.
2337 * gdb.threads/manythreads.exp: Likewise.
2338 * gdb.threads/pthreads.exp: Likewise.
2339 * gdb.threads/schedlock.exp: Likewise.
2340 * gdb.threads/sigthread.exp: Likewise.
2341
a8f077dc
DB
23422015-12-11 Don Breazeal <donb@codesourcery.com>
2343
2344 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2345 remote.
2346 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2347 * gdb.base/foll-exec.exp (main): Enable for target remote.
2348 * gdb.base/foll-fork.exp (main): Likewise.
2349 * gdb.base/foll-vfork.exp (main): Likewise.
2350 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2351 (proc continue_to_exit_bp_loc): Use clean_restart.
2352 * gdb.base/pie-execl.exp (main): Disable for target remote.
2353 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2354 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2355 * gdb.threads/execl.exp (main): Likewise.
2356 * gdb.threads/fork-child-threads.exp (main): Likewise.
2357 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2358 remote.
2359 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2360 remote.
2361 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2362 pid.tid style ptids, instead of just tid.
2363 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2364 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2365 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2366 ptids, instead of just tid.
2367
3b2464a8
AB
23682015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2369
2370 * gdb.base/list.exp (test_list_forward): Add end of file error
2371 test.
2372 (test_repeat_list_command): Add end of file error test.
2373 (test_list_backwards): Add beginning of file error test.
2374
a0def019
AB
23752015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2376
2377 * gdb.base/list.exp (test_list_invalid_args): New function,
2378 defined, and called.
2379
5c000dff
AB
23802015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2381
2382 * gdb.base/list.exp (test_list): Make test names unique.
2383
f1637ebe
YQ
23842015-12-11 Yao Qi <yao.qi@linaro.org>
2385
2386 * gdb.base/coremaker2.c: Remove.
2387
36d6fc0a
PA
23882015-12-10 Pedro Alves <palves@redhat.com>
2389
2390 * gdb.multi/base.exp: Remove stale "spaces" references.
2391
762f7747
PA
23922015-12-10 Pedro Alves <palves@redhat.com>
2393
2394 * gdb.multi/base.exp: Don't use nowarnings.
2395 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2396 * gdb.multi/hangout.c: Include stdio.h.
2397 * gdb.multi/hello.c: Include stdlib.h.
2398 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2399 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2400 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2401
28d2bfb9
AB
24022015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2403
2404 * gdb.dwarf2/dw2-ranges-base.c: New file.
2405 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2406 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2407 support additional line table, and debug ranges generation.
2408 (Dwarf::ranges): New function, generate .debug_ranges.
2409 (Dwarf::lines): Support generating simple line table programs.
2410 (Dwarf::assemble): Initialise new namespace variables.
2411
5fc2beac
KB
24122015-12-09 Kevin Buettner <kevinb@redhat.com>
2413
2414 * gdb.base/async.exp (proc test_background): Add case for
2415 asynchronous execution not supported.
2416
1c35a88f
LM
24172015-12-09 Luis Machado <lgustavo@codesourcery.com>
2418
2419 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2420 format and change test names to make them unique.
2421
b593e3d9
RK
24222015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2423 Pedro Alves <pedro@redhat.com>
2424
2425 PR gdb/18702
2426 Add checking of floatformats setup on x86_64 hosts.
2427 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2428 (smallval, bigval): New labels/constants.
2429 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2430 float" after loading bigval and smallval.
2431
d72413e6
PMR
24322015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2433
2434 * gdb.ada/fun_overload_menu.exp: New testcase.
2435 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2436
ece66d65
JS
24372015-12-04 Josh Stone <jistone@redhat.com>
2438
2439 * gdb.base/catch-fork-static.exp: New.
2440
41d0efca
YQ
24412015-12-03 Yao Qi <yao.qi@linaro.org>
2442
2443 * gdb.base/sizeof.c: Don't include stdio.h and
2444 ../lib/unbuffer_output.c.
2445 (main): New variable 'size' and 'value'. Remove printf and
2446 gdb_unbuffer_output. Assign return value to size and value.
2447 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2448 at the beginning.
2449 (check_sizeof): Check the result by printing variable 'size'.
2450 (check_valueof): Check the result by printing variable 'value'.
2451
99fd02d9
YQ
24522015-12-01 Yao Qi <yao.qi@linaro.org>
2453
2454 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2455 for aarch64*-*-linux* target.
2456
f2faf941
PA
24572015-11-30 Pedro Alves <palves@redhat.com>
2458
2459 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2460
04bf20c5
PA
24612015-11-30 Pedro Alves <palves@redhat.com>
2462
2463 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2464 Handle non-stop mode vCont replies.
2465
09df4675
PA
24662015-11-30 Pedro Alves <palves@redhat.com>
2467
2468 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2469 prepare_for_testing. Start gdb with "set non-stop on" appended to
2470 GDBFLAGS. Lax expected stop output.
2471
58b584af
YQ
24722015-11-27 Yao Qi <yao.qi@linaro.org>
2473
2474 * gdb.arch/arm-neon.exp: New.
2475 * gdb.arch/arm-neon.c: New.
2476
dfcb77a8
YQ
24772015-11-27 Yao Qi <yao.qi@linaro.org>
2478
2479 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2480
88e8ec1b
YQ
24812015-11-27 Yao Qi <yao.qi@linaro.org>
2482
2483 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2484 frames-invalid annotation.
2485
bfde72c2
YQ
24862015-11-27 Yao Qi <yao.qi@linaro.org>
2487
2488 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2489
f6512a69
SM
24902015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2491
2492 * gdb.threads/names.exp: New file.
2493 * gdb.threads/names.c: New file.
2494 * README: Mention gdb,no_thread_names.
2495
46a3515b
MM
24962015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2497
2498 PR 19297
2499 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2500 support" error.
2501
62147a22
PA
25022015-11-24 Pedro Alves <palves@redhat.com>
2503
2504 PR 17539
2505 * gdb.base/display.exp: Expect displays to be sorted in ascending
2506 order. Use multi_line.
2507 * gdb.base/solib-display.exp: Likewise.
2508
2f341b6e
PA
25092015-11-24 Pedro Alves <palves@redhat.com>
2510
2511 PR 17539
25d49b86
PA
2512 * gdb.base/display.exp: Expect displays to be sorted in ascending
2513 order. Use multi_line.
2514 * gdb.base/solib-display.exp: Likewise.
2f341b6e 2515
7e0aa6aa
PA
25162015-11-24 Pedro Alves <palves@redhat.com>
2517
2518 PR 17539
2519 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2520 threads in ascending order.
2521 * gdb.base/foll-fork.exp: Likewise.
2522 * gdb.base/foll-vfork.exp: Likewise.
2523 * gdb.base/multi-forks.exp: Likewise.
2524 * gdb.mi/mi-nonstop.exp: Likewise.
2525 * gdb.mi/mi-nsintrall.exp: Likewise.
2526 * gdb.multi/base.exp: Likewise.
2527 * gdb.multi/multi-arch.exp: Likewise.
2528 * gdb.python/py-inferior.exp: Likewise.
2529 * gdb.threads/break-while-running.exp: Likewise.
2530 * gdb.threads/execl.exp: Likewise.
2531 * gdb.threads/gcore-thread.exp: Likewise.
2532 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2533 * gdb.threads/kill.exp: Likewise.
2534 * gdb.threads/linux-dp.exp: Likewise.
2535 * gdb.threads/multiple-step-overs.exp: Likewise.
2536 * gdb.threads/next-bp-other-thread.exp: Likewise.
2537 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2538 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2539 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2540 * gdb.threads/thread-find.exp: Likewise.
2541 * gdb.threads/tls.exp: Likewise.
2542 * lib/mi-support.exp (mi_reverse_list): Delete.
2543 (mi_check_thread_states): No longer reverse list.
2544
2cc57ad8
PA
25452015-11-24 Pedro Alves <palves@redhat.com>
2546
2547 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2548 use lowercase.
2549
c93e8391
SM
25502015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2551
2552 * gdb.trace/actions.c: Include trace-common.h.
2553 (main): Add a location for a fast tracepoint.
2554 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2555 the normal tracepoints.
2556 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2557
045ccf91
SM
25582015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2559
2560 * save-trace.exp: Factor out code to these...
2561 (gdb_save_tracepoints): New.
2562 (gdb_load_tracepoints): New.
2563 (do_save_load_test): New.
2564
5506f9f6
KB
25652015-11-23 Kevin Buettner <kevinb@redhat.com>
2566
2567 * gdb.base/asmlabel.exp: New test.
2568 * gdb.base/asmlabel.c: New test case.
2569
16c3b12f
JB
25702015-11-23 Joel Brobecker <brobecker@adacore.com>
2571
2572 * gdb.base/wrong_frame_bt_full-main.c: New file.
2573 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2574 * gdb.base/wrong_frame_bt_full.exp: New file.
2575
155bfbd3
JB
25762015-11-23 Joel Brobecker <brobecker@adacore.com>
2577
2578 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2579
bb097445
JM
25802015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2581
206853a0 2582 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
2583 pstate register when comparing registers values in
2584 sparc64-*-linux-gnu targets to avoid spurious differences.
2585
9c88ed8f
JM
25862015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2587
206853a0 2588 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 2589
96161e25
SL
25902015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2591
2592 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2593 as type argument to gdb_compile.
2594 * gdb.base/nested-subp2.exp: Likewise.
2595 * gdb.base/nested-subp3.exp: Likewise.
2596
340c2830
DV
25972015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2598
2599 * lib/dwarf.exp (_note): Fix left shift of negative value.
2600 * gdb.trace/trace-condition.exp: Likewise.
2601
c1862d0f
YQ
26022015-11-13 Yao Qi <yao.qi@linaro.org>
2603
2604 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2605 comments about d10v.
2606 (test_scalar_returns): Likewise.
2607 * gdb.base/d10v.ld: Remove.
2608 * gdb.base/overlays.exp: Remove the target triplet checking for
2609 d10v-*-*.
2610 * gdb.base/structs.exp (test_struct_returns): Remove the
2611 comments about d10v.
2612 (test_struct_calls): Likewise.
2613
77ae9c19
YQ
26142015-11-13 Yao Qi <yao.qi@linaro.org>
2615
2616 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2617 * gdb.base/gnu_vector.c: Don't include stdio.h.
2618 (main): Don't print res and call add_some_intvecs.
2619
430e004e
MK
26202015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2621
2622 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2623 macro.
2624 (func5): Removed.
2625 (func4): Use FAST_TRACEPOINT_LABEL.
2626 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2627 macro.
2628 (func): Removed.
2629 (thread_function): Use FAST_TRACEPOINT_LABEL.
2630 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2631 (func): Remove.
2632 (marker): Use FAST_TRACEPOINT_LABEL.
2633 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2634 (pendfunc1): Remove.
2635 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2636 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2637 (foo): Remove.
2638 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2639 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2640 macro.
2641 (func): Remove.
2642 (marker): Use FAST_TRACEPOINT_LABEL.
2643 * gdb.trace/trace-common.h: New header.
2644 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2645 macro.
2646 (func): Remove.
2647 (marker): Use FAST_TRACEPOINT_LABEL.
2648 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2649 (func): Remove.
2650 (thread_function): Use FAST_TRACEPOINT_LABEL.
2651
6e7675a7
MK
26522015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2653
2654 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2655 in front.
2656 * gdb.trace/change-loc.exp: Use global pcreg definition.
2657 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2658 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2659 in front.
2660 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2661 * gdb.trace/pending.exp: Likewise.
2662 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2663 * gdb.trace/trace-break.exp: Likewise.
2664 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2665 in front.
2666 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2667 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2668 in front.
2669 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2670
dddc0e16
JB
26712015-11-09 Joel Brobecker <brobecker@adacore.com>
2672
2673 * gdb.ada/fin_fun_out: New testcase.
2674
c6f0b406
KB
26752015-11-07 Kevin Buettner <kevinb@redhat.com>
2676
2677 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2678 value associated with DW_AT_byte_size.
2679 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2680 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2681 DW_AT_upper_bound.
2682
f01dcfd9
KB
26832015-11-07 Kevin Buettner <kevinb@redhat.com>
2684
2685 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2686 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2687 version.
2688 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2689 gdb.dwarf2/dw2-canonicalize-type.exp,
2690 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2691 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2692 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2693 provided by gdb_target_symbol_prefix_flags_asm.
2694 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2695 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2696 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2697 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2698 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2699 macros where needed). Use this macro for symbols which require
2700 the prefix provided by SYMBOL_PREFIX.
2701
2223449a
KB
27022015-11-05 Kevin Buettner <kevinb@redhat.com>
2703
2704 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2705 New procs.
2706 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2707 representing expressions, of more than one list element.
2708 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2709 to prepend linker symbol prefix to f.
2710 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2711 table_1 and table_2.
2712 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2713 Likewise, for f and g.
2714 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2715 for ptr.
2716 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2717 for main.
2718 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2719 table_1_ptr and table_2_ptr.
2720
6f2f1a3a
JK
27212015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2722 Joel Brobecker <brobecker@adacore.com>
2723
2724 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2725
566c56c9
MK
27262015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2727
2728 * gdb.reverse/s390-mvcle.c: New test.
2729 * gdb.reverse/s390-mvcle.exp: New file.
2730 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2731
d5f0636b
MK
27322015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2733
2734 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2735
7ad8b86c
MK
27362015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2737
2738 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2739 reaching marker2.
2740 * gdb.reverse/getresuid-reverse.exp: Likewise.
2741 * gdb.reverse/pipe-reverse.exp: Likewise.
2742 * gdb.reverse/readv-reverse.exp: Likewise.
2743 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2744 * gdb.reverse/time-reverse.exp: Likewise.
2745 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2746
4081c0f1
YQ
27472015-10-30 Yao Qi <yao.qi@linaro.org>
2748
2749 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2750 (empty_cycle): Remove.
2751 (main): Don't call empty_cycle. Don't use watch_count_done.
2752 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2753 empty_cycle. Rewrite the code counting HW watchpoints.
2754
452b4ba5
MK
27552015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2756
2757 * gdb.reverse/fstatat-reverse.c: New test.
2758 * gdb.reverse/fstatat-reverse.exp: New file.
2759 * gdb.reverse/getresuid-reverse.c: New test.
2760 * gdb.reverse/getresuid-reverse.exp: New file.
2761 * gdb.reverse/pipe-reverse.c: New test.
2762 * gdb.reverse/pipe-reverse.exp: New file.
2763 * gdb.reverse/readv-reverse.c: New test.
2764 * gdb.reverse/readv-reverse.exp: New file.
2765 * gdb.reverse/recvmsg-reverse.c: New test.
2766 * gdb.reverse/recvmsg-reverse.exp: New file.
2767 * gdb.reverse/time-reverse.c: New test.
2768 * gdb.reverse/time-reverse.exp: New file.
2769 * gdb.reverse/waitpid-reverse.c: New test.
2770 * gdb.reverse/waitpid-reverse.exp: New file.
2771
5e2e7507
JK
27722015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2773
2774 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2775
0fde2c53
DE
27762015-10-26 Doug Evans <dje@google.com>
2777
2778 PR symtab/17391
2779 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2780 * gdb.dwarf2/bad-regnum.c: New file.
2781 * gdb.dwarf2/bad-regnum.exp: New file.
2782
1a70ae97
DE
27832015-10-26 Doug Evans <dje@google.com>
2784
2785 PR python/18938
2786 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2787 file.
2788
27dc26ab
JK
27892015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2790
2791 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2792 for a change by "Mention language in compile error message".
2793
bed91f4d
SM
27942015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2795
2796 PR python/18073
2797 * gdb.python/py-type.c (C::a_method): New.
2798 (C::a_const_method): New.
2799 (C::a_static_method): New.
2800 (a_function): New.
2801 * gdb.python/py-type.exp (test_fields): Test getting fields
2802 from function and method.
2803
3f2f83dd
KB
28042015-10-21 Keven Boell <keven.boell@intel.com>
2805
2806 * gdb.fortran/vla-alloc-assoc.exp: New file.
2807 * gdb.fortran/vla-datatypes.exp: New file.
2808 * gdb.fortran/vla-datatypes.f90: New file.
2809 * gdb.fortran/vla-history.exp: New file.
2810 * gdb.fortran/vla-ptype-sub.exp: New file.
2811 * gdb.fortran/vla-ptype.exp: New file.
2812 * gdb.fortran/vla-sizeof.exp: New file.
2813 * gdb.fortran/vla-sub.f90: New file.
2814 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2815 * gdb.fortran/vla-value-sub-finish.exp: New file.
2816 * gdb.fortran/vla-value-sub.exp: New file.
2817 * gdb.fortran/vla-value.exp: New file.
2818 * gdb.fortran/vla-ptr-info.exp: New file.
2819 * gdb.mi/mi-vla-fortran.exp: New file.
2820 * gdb.mi/vla.f90: New file.
2821
27145d50
SL
28222015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2823
2824 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2825 of hardwired timeout value.
2826
5f3ff4f8
JK
28272015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2828 Pedro Alves <palves@redhat.com>
2829
2830 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2831 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2832
bfd09d20
JS
28332015-10-19 Josh Stone <jistone@redhat.com>
2834
2835 * gdb.base/catch-syscall.c: Include <sched.h>.
2836 (unknown_syscall): New variable.
2837 (main): Trigger a vfork and an unknown syscall.
2838 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2839 (unknown_syscall_number): Likewise.
2840 (check_call_to_syscall): Accept an optional syscall pattern.
2841 (check_return_from_syscall): Likewise.
2842 (check_continue): Likewise.
2843 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2844 (test_catch_syscall_skipping_return): New test toggling off 'catch
2845 syscall' to step over the syscall return, then toggling back on.
2846 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2847 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2848 (do_syscall_tests): Call test_catch_syscall_without_args and
2849 test_catch_syscall_mid_vfork.
2850 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2851 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2852
b32b93c6
AS
28532015-10-19 Andrew Stubbs <ams@codesourcery.com>
2854
2855 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2856 print g_vE): Add new pass patterns.
2857 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2858 print various symbol names for vptr fields.
2859
9d622bda
AB
28602015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2861
2862 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2863 results.
2864
0fd8ac1c
YQ
28652015-10-12 Yao Qi <yao.qi@linaro.org>
2866
2867 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2868
34240514
YQ
28692015-10-12 Yao Qi <yao.qi@linaro.org>
2870
2871 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2872 is aarch64*-*-linux*.
2873
8240f442
YQ
28742015-10-12 Yao Qi <yao.qi@linaro.org>
2875
2876 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2877 (can_relocate_bcond_true): ... it.
2878 (can_relocate_bcond_false): New function.
2879 (foo): Likewise.
2880 (can_relocate_bl): Likewise.
2881 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2882 can_relocate_bl.
2883
2520f728
PMR
28842015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2885
2886 * gdb.base/nested-addr.c: New file.
2887 * gdb.base/nested-addr.exp: New testcase.
2888
abcef95a
MM
28892015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2890
2891 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2892 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2893 its output. Ignore the output of "record goto begin" and instead
2894 check that GDB is replaying.
2895
145e3ddb
PA
28962015-10-09 Pedro Alves <palves@redhat.com>
2897
2898 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2899 (top level): Use it in the run with no args test.
2900
d5d8c4e1
IB
29012015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2902
2903 * gdb.dlang/properties.exp: New file.
2904
06e635ef
SL
29052015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2906
2907 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2908 whether or not address 0x1000 is mapped on the target.
2909
e019fd1d
SM
29102015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2911
2912 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2913 build.
2914
77ba2a67
MM
29152015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2916
2917 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2918 instruction-history test.
2919
c60eb31f
DE
29202015-09-28 Doug Evans <dje@google.com>
2921
2922 * gdb.base/gcore.c (array_func): Add reference to static_array.
2923
9a3c8263
SM
29242015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2925
2926 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2927 source line.
2928
9720e656
SL
29292015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2930
2931 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2932 short or char as base type.
2933
938d3bf2
SL
29342015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2935
2936 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2937 to allow any size enum.
2938
e6c2c623
PMR
29392015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2940
2941 * gdb.ada/array_ptr_renaming.exp: New testcase.
2942 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2943 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2944
06da0f77
PL
29452015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2946
2947 * gdb.trace/ftrace-lock.c: New file.
2948 * gdb.trace/ftrace-lock.exp: New file.
2949
4f51c22a
PL
29502015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2951
2952 * gdb.arch/insn-reloc.c: New file.
2953 * gdb.arch/ftrace-insn-reloc.exp: New file.
2954
7041adf4
PL
29552015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2956
2957 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2958 instruction.
2959 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2960 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2961 * gdb.trace/range-stepping.c: Likewise.
2962 * gdb.trace/trace-break.c: Likewise.
2963 * gdb.trace/trace-mt.c (thread_function): Likewise.
2964 * gdb.trace/ftrace.c (marker): Likewise.
2965 * gdb.trace/trace-condition.c (marker): Likewise.
2966 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2967 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2968 is_aarch64_target.
2969
015d2e7e
DE
29702015-09-18 Doug Evans <xdje42@gmail.com>
2971
2972 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2973 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2974
26b188a2
SL
29752015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2976
2977 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2978 the breakpoint.
2979
79dc332b
SL
29802015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2981
2982 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2983 the pending breakpoint. Remove timeout override for "Run till
2984 MI pending breakpoint on pendfunc3 on thread 2" test.
2985
f57929f2
SL
29862015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2987
2988 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2989 filename pattern.
2990
3f469b17
SL
29912015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2992
2993 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2994 in breakpoint filename pattern.
2995
515b89b3
SL
29962015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2997
7800dbe4
SL
2998 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2999
30002015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3001
515b89b3
SL
3002 * gdb.linespec/explicit.exp: Check for readline support for
3003 tab-completion tests. Fix obvious typo.
3004
d2939ba2
MM
30052015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3006
3007 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
3008 and replay.
3009
cbb55fa7
MM
30102015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3011
3012 * gdb.btrace/non-stop.c: New.
3013 * gdb.btrace/non-stop.exp: New.
3014
43691ca1
PL
30152015-09-17 Pierre Langlois <pierre.langlois@arm.com>
3016 Yao Qi <yao.qi@linaro.org>
3017
3018 * gdb.trace/trace-condition.c: New file.
3019 * gdb.trace/trace-condition.exp: New file.
3020
d78908cf
WW
30212015-09-16 Wei-cheng Wang <cole945@gmail.com>
3022
3023 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
3024 for testing bytecode compilation.
3025
1ed415e2
PA
30262015-09-16 Pedro Alves <palves@redhat.com>
3027 Sandra Loosemore <sandra@codesourcery.com>
3028
3029 * gdb.threads/non-stop-fair-events.c (timeout): New global.
3030 (SECONDS): Redefine.
3031 (main): Call pthread_kill and alarm early.
3032 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
3033 support.
3034 (test): If the target can't hardware step and doesn't support
3035 displaced stepping, increase the timeout.
3036
d136eff5
PA
30372015-09-16 Pedro Alves <palves@redhat.com>
3038
3039 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
3040 (enable_debug): New procedures.
3041 (test): Use them. Bail out if waiting for threads fails.
3042 (top level): Bail out if a test fails.
3043
991f019c
YQ
30442015-09-16 Yao Qi <yao.qi@linaro.org>
3045
3046 * gdb.asm/asm-source.exp: Set asm-arch for
3047 aarch64*-*-* target.
3048 * gdb.asm/aarch64.inc: New file.
3049
bfca584f
PMR
30502015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
3051
3052 * gdb.ada/array_of_variable_length.exp: New testcase.
3053 * gdb.ada/array_of_variable_length/foo.adb: New file.
3054 * gdb.ada/array_of_variable_length/pck.adb: New file.
3055 * gdb.ada/array_of_variable_length/pck.ads: New file.
3056
b326e587
DE
30572015-09-15 Doug Evans <dje@google.com>
3058
3059 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
3060 of function static local variable.
3061
5382cfab
PW
30622015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3063
3064 * gdb.threads/tls-so_extern.exp: New test file.
3065 * gdb.threads/tls-so_extern.c: New test file.
3066 * gdb.threads/tls-so_extern_main.c: New test file.
3067
141c5cc4
JK
30682015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3069
3070 * gdb.opt/solib-intra-step-lib.c: New file.
3071 * gdb.opt/solib-intra-step-main.c: New file.
3072 * gdb.opt/solib-intra-step.exp: New file.
3073
d15dcecd
PA
30742015-09-15 Pedro Alves <palves@redhat.com>
3075
3076 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
3077 gdb_continue_to_breakpoint instead of gdb_test_multiple.
3078
4c2f2a79
PA
30792015-09-14 Pedro Alves <palves@redhat.com>
3080
3081 * gdb.base/hook-stop-continue.c: Delete.
3082 * gdb.base/hook-stop-continue.exp: Delete.
3083 * gdb.base/hook-stop-frame.c: Delete.
3084 * gdb.base/hook-stop-frame.exp: Delete.
3085 * gdb.base/hook-stop.c: New file.
3086 * gdb.base/hook-stop.exp: New file.
3087
919e6dbe
PMR
30882015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
3089
3090 * gdb.ada/access_to_packed_array.exp: New testcase.
3091 * gdb.ada/access_to_packed_array/foo.adb: New file.
3092 * gdb.ada/access_to_packed_array/pack.adb: New file.
3093 * gdb.ada/access_to_packed_array/pack.ads: New file.
3094
157280a4
MM
30952015-09-14 Markus Metzger <markus.t.metzger@intel.com>
3096
3097 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
3098 buffer size test.
3099
2fd33e94
DB
31002015-09-11 Don Breazeal <donb@codesourcery.com>
3101
3102 * gdb.base/foll-exec.c: Add copyright header. Fix
3103 formatting issues.
3104 * gdb.base/foll-exec.exp (zap_session): Delete proc.
3105 (do_exec_tests): Use clean_restart in place of zap_session,
3106 and for test initialization. Fix formatting issues. Use
3107 fail in place of perror.
3108 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
3109 an expect statement to match an expression with output from
3110 the program under debug.
3111 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
3112 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
3113 * gdb.threads/non-ldr-exc-2.exp: Likewise.
3114 * gdb.threads/non-ldr-exc-3.exp: Likewise.
3115 * gdb.threads/non-ldr-exc-4.exp: Likewise.
3116
e70b6e8e
DE
31172015-09-09 Doug Evans <dje@google.com>
3118
3119 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
3120
7a551a51
DE
31212015-09-09 Doug Evans <dje@google.com>
3122
3123 * gdb.base/pie-execl.exp: Fix result test of build_executable.
3124
4c666f84
DE
31252015-09-09 Doug Evans <dje@google.com>
3126
3127 * gdb.base/savedregs.exp: Fix typo.
3128
243a9253
PA
31292015-09-09 Pedro Alves <palves@redhat.com>
3130
3131 * gdb.mi/mi-cli.exp: Add CLI finish tests.
3132
c0fa8fbd
SL
31332015-09-08 Sandra Loosemore <sandra@codesourcery.com>
3134
3135 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
3136 command actually switches threads. Give up on remaining
3137 tests if target fails to stop at breakpoint.
3138
cd7c1778
PMR
31392015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
3140
3141 * gdb.ada/funcall_char.exp: New testcase.
3142 * gdb.ada/funcall_char/foo.adb: New file.
3143
dc5c8746
PMR
31442015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
3145
3146 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
3147 expected outputs. Add two testcases for completing ambiguous
3148 functions.
3149 * gdb.ada/complete/aux_pck.adb: New file.
3150 * gdb.ada/complete/aux_pck.ads: New file.
3151 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
3152 Ambiguous_Func functions.
3153 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
3154 * gdb.ada/complete/pck.adb: Likewise.
3155
4e83a1e7
UW
31562015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
3157
3158 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
3159 failures to run the test program under GDB.
3160
8ce74153
LM
31612015-08-26 Luis Machado <lgustavo@codesourcery.com>
3162
3163 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
3164 to C.
3165
e9756d52
PP
31662015-08-26 Patrick Palka <patrick@parcs.ath.cx>
3167
3168 * gdb.base/run-after-attach.exp: New test file.
3169 * gdb.base/run-after-attach.c: New test file.
3170
8d37573b
DB
31712015-08-26 Don Breazeal <donb@codesourcery.com>
3172
3173 * gdb.base/foll-exec-2.c: New test program.
3174 * gdb.base/foll-exec-2.exp: New test.
3175
63e43d3a
PMR
31762015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
3177
3178 * gdb.base/nested-subp1.exp: New file.
3179 * gdb.base/nested-subp1.c: New file.
3180 * gdb.base/nested-subp2.exp: New file.
3181 * gdb.base/nested-subp2.c: New file.
3182 * gdb.base/nested-subp3.exp: New file.
3183 * gdb.base/nested-subp3.c: New file.
3184
3d40fbb5
PA
31852015-08-24 Pedro Alves <palves@redhat.com>
3186
3187 * gdb.server/connect-without-multi-process.c: New file.
3188 * gdb.server/connect-without-multi-process.exp: New file.
3189
4422ac93
LM
31902015-08-24 Luis Machado <lgustavo@codesourcery.com>
3191
3192 * gdb.opt/inline-markers.c: Make z int.
3193
91dddb86
LM
31942015-08-24 Luis Machado <lgustavo@codesourcery.com>
3195
3196 * gdb.opt/inline-markers.c: Make z volatile.
3197
a48847ee
LM
31982015-08-24 Luis Machado <lgustavo@codesourcery.com>
3199
3200 * gdb.opt/inline-bt.c: New volatile global z.
3201 * gdb.opt/inline-cmds.c: Likewise.
3202 * gdb.opt/inline-locals.c: Likewise.
3203 * gdb.opt/inline-markers.c: New extern global z.
3204 (marker): Use z.
3205 (inline_fn): Likewise.
3206
0ebbc52b
PA
32072015-08-24 Pedro Alves <palves@redhat.com>
3208
3209 * config/m32r-stub.exp: Remove file.
3210 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
3211 * gdb.base/call-rt-st.exp: Likewise.
3212 * gdb.base/call-strs.exp: Likewise.
3213 * gdb.base/default.exp: Remove references to h8300-*-hms and
3214 *-*-udi*.
3215 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
3216
77c365df
AA
32172015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3218
3219 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
3220 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
3221 and "return" use KFAIL when GDB can not read/write the vector
3222 return value.
3223
4313b8c0
GB
32242015-08-21 Gary Benson <gbenson@redhat.com>
3225
3226 * gdb.trace/pending.exp: Cope with remote transfer warnings.
3227
0e433b32
PA
32282015-08-20 Pedro Alves <palves@redhat.com>
3229
3230 * gdb.server/solib-list.exp: No longer expect an interior stop in
3231 non-stop mode.
3232
221e1a37
PA
32332015-08-20 Pedro Alves <palves@redhat.com>
3234
3235 * gdb.server/connect-stopped-target.c: New file.
3236 * gdb.server/connect-stopped-target.exp: New file.
3237
40e3ad0e
PA
32382015-08-20 Pedro Alves <palves@redhat.com>
3239
3240 * gdb.dwarf2/comp-unit-lang.exp: New file.
3241 * gdb.dwarf2/comp-unit-lang.c: New file.
3242
af39b327
PMR
32432015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
3244
3245 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
3246 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
3247
7d45c7c3 32482015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 3249
7d45c7c3
KB
3250 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
3251 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
3252
4d6cceb4
DE
32532015-08-18 Doug Evans <dje@google.com>
3254 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3255
3256 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
3257 skip_python_tests. New arg prompt_regexp.
3258 (skip_python_tests): New function.
3259 * lib/mi-support.exp (mi_skip_python_tests): New function.
3260 * gdb.python/py-mi-objfile-gdb.py: New file.
3261 * gdb.python/py-mi-objfile.c: New file.
3262 * gdb.python/py-mi-objfile.exp: New file.
3263
ad89c2aa
KS
32642015-08-17 Keith Seitz <keiths@redhat.com>
3265
3266 * gdb.linespec/explicit.exp: Move strace test from here ...
3267 * gdb.trace/strace.exp: ... to here.
3268
e3ae3c43
PP
32692015-08-15 Patrick Palka <patrick@parcs.ath.cx>
3270
3271 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
3272 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
3273
604b2636
DE
32742015-08-14 Doug Evans <xdje42@gmail.com>
3275
3276 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
3277 inferior before selecting a new file.
3278
6ff0ba5f
DE
32792015-08-14 Doug Evans <xdje42@gmail.com>
3280
3281 * gdb.mi/mi-disassemble.exp: Update.
3282 * gdb.base/disasm-optim.S: New file.
3283 * gdb.base/disasm-optim.c: New file.
3284 * gdb.base/disasm-optim.h: New file.
3285 * gdb.base/disasm-optim.exp: New file.
3286
9ca98f92
KS
32872015-08-14 Keith Seitz <keiths@redhat.com>
3288
3289 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
3290 "evaluated-by".
3291
52bbc560
JB
32922015-08-13 Joel Brobecker <brobecker@adacore.com>
3293
3294 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
3295
5d8c3ed3
PMR
32962015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
3297
3298 * gdb.ada/fun_renaming.exp: New testcase.
3299 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
3300 * gdb.ada/fun_renaming/pack.adb: New file.
3301 * gdb.ada/fun_renaming/pack.ads: New file.
3302
ea8812bc
KS
33032015-08-12 Keith Seitz <keiths@redhat.com>
3304
3305 * gdb.base/dso2dso.exp: Pass basename of source file in call to
3306 gdb_get_line_number.
3307
4dafcdeb
JB
33082015-08-12 Joel Brobecker <brobecker@adacore.com>
3309
3310 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
3311 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
3312 gdb.base/dso2dso.exp: New files.
3313
5ba32597
SDJ
33142015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
3315 Pedro Alves <palves@redhat.com>
3316 Keith Seitz <keiths@redhat.com>
3317
3318 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
3319 GDBFLAGS.
3320
b6dafabf
PP
33212015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3322
3323 * gdb.base/gdbhistsize-history.exp
3324 (test_histsize_history_setting): Use save_vars.
3325 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3326 Use save_vars.
3327 (test_no_truncation_of_unlimited_history_file): Use save_vars.
3328 * gdb.base/readline.exp: Use save_vars.
3329
abe8e607
PP
33302015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3331
3332 * lib/gdb.exp (save_vars): New proc.
3333
629500fa
KS
33342015-08-11 Keith Seitz <keiths@redhat.com>
3335
3336 * gdb.base/help.exp: Update help_breakpoint_text.
3337
eb8c4e2e
KS
33382015-08-11 Keith Seitz <keiths@redhat.com>
3339
3340 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3341 (at toplevel): Call test_explicit_breakpoints.
3342 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3343 breakpoints.
3344 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3345 breakpoint conditions, "-cond".
3346
87f0e720
KS
33472015-08-11 Keith Seitz <keiths@redhat.com>
3348
3349 * gdb.linespec/3explicit.c: New file.
3350 * gdb.linespec/cpexplicit.cc: New file.
3351 * gdb.linespec/cpexplicit.exp: New file.
3352 * gdb.linespec/explicit.c: New file.
3353 * gdb.linespec/explicit.exp: New file.
3354 * gdb.linespec/explicit2.c: New file.
3355 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3356 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3357 before using in the matching pattern.
3358 Clarify that `prefix' is a regular expression.
3359
f00aae0f
KS
33602015-08-11 Keith Seitz <keiths@redhat.com>
3361
3362 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3363 test.
3364 Add tests for missing ",FMT" and ",".
3365
e27852be
DE
33662015-08-10 Doug Evans <dje@google.com>
3367 Keith Seitz <keiths@redhat.com>
3368
3369 PR gdb/17960
3370 * gdb.base/completion.exp: Add location completer tests.
3371
7f03bd92
PA
33722015-08-07 Pedro Alves <palves@redhat.com>
3373
3374 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3375 tests here.
3376 (top level): Run do_test with and without displaced stepping.
3377
3fc8eb30
PA
33782015-08-07 Pedro Alves <palves@redhat.com>
3379
3380 * gdb.base/valgrind-disp-step.c: New file.
3381 * gdb.base/valgrind-disp-step.exp: New file.
3382
d4569d7b
PA
33832015-08-07 Pedro Alves <palves@redhat.com>
3384
3385 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
3386 Delete function.
3387 (main): Add alarm. Run an infinite loop instead of calling
3388 wait_threads.
3389 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
3390 comment.
3391 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3392 Delete function.
3393 (main): Add alarm. Run an infinite loop instead of calling
3394 wait_threads.
3395 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3396 comment.
3397
e1316e60
PA
33982015-08-07 Pedro Alves <palves@redhat.com>
3399
3400 * gdb.base/checkpoint-ns.exp: New file.
3401 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3402 standard_testfile.
3403
da8c46d2
MM
34042015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3405
3406 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3407 * gdb.btrace/instruction_history.exp: Update.
3408 * gdb.btrace/tsx.exp: New.
3409 * gdb.btrace/tsx.c: New.
3410
de1c2c52
PA
34112015-08-06 Pedro Alves <palves@redhat.com>
3412
3413 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3414 increase timeout.
3415 * gdb.reverse/until-precsave.exp: Bump timeouts.
3416
782e0bf4
PA
34172015-08-06 Pedro Alves <palves@redhat.com>
3418
3419 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3420
83e97ed0
PA
34212015-08-06 Pedro Alves <palves@redhat.com>
3422
3423 PR gdb/18749
3424 * gdb.threads/process-dies-while-handling-bp.c: New file.
3425 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3426
863d01bd
PA
34272015-08-06 Pedro Alves <palves@redhat.com>
3428
3429 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3430 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3431
0a39bb32
PA
34322015-08-05 Pedro Alves <palves@redhat.com>
3433
3434 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3435 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3436
ee2d2b10
SL
34372015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3438
3439 * gdb.base/bp-permanent.exp: Report test as unsupported if
3440 the target cannot stop at the permanent breakpoint.
3441
4e1bdb00
DE
34422015-08-03 Doug Evans <dje@google.com>
3443
3444 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3445 10000.
3446
3d338901
DE
34472015-08-03 Doug Evans <dje@google.com>
3448
3449 * Makefile.in (workers/%.worker, build-perf): New rule.
3450 (GDB_PERFTEST_MODE): New variable.
3451 (check-perf): Use it.
3452 (clean): Clean up gdb.perf parallel build subdirs.
3453 * lib/build-piece.exp: New file.
3454 * lib/gdb.exp (make_gdb_parallel_path): New function
3455 (standard_output_file, standard_temp_file): Call it.
3456 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3457 of $GDB_PARALLEL.
3458 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3459
af061d3e
DE
34602015-08-03 Doug Evans <dje@google.com>
3461
8e1afc81 3462 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
3463 (LOG_FILE_NAME): New global.
3464 (TextReporter.__init__): Initialize self.txt_sum.
3465 (TextReporter.report): Add support for multiple data-points.
3466 Move report to perftest.sum, put raw data in perftest.log.
3467 (TextReporter.start): Open sum and log files.
3468 (TextReporter.end): Close sum and log files.
8e1afc81
DE
3469 * gdb.perf/lib/perftest/testresult.py
3470 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 3471
2c8c5d37
PA
34722015-07-31 Pedro Alves <palves@redhat.com>
3473
3474 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3475 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3476 kill_wait_spawned_process instead of explicit "kill -9".
3477 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3478 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3479 kill_wait_spawned_process.
3480 * gdb.base/attach-twice.exp: Likewise.
3481 * gdb.base/attach.exp: Likewise.
3482 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3483 gdb_test_multiple.
3484 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3485 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3486 kill_wait_spawned_process.
3487 * gdb.base/valgrind-infcall.exp: Likewise.
3488 * gdb.multi/multi-attach.exp: Likewise.
3489 * gdb.python/py-prompt.exp: Likewise.
3490 * gdb.python/py-sync-interp.exp: Likewise.
3491 * gdb.server/ext-attach.exp: Likewise.
3492 * gdb.threads/attach-into-signal.exp (corefunc): Use
3493 spawn_wait_for_attach, spawn_id_get_pid and
3494 kill_wait_spawned_process.
3495 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3496 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3497 spawn_id_get_pid and kill_wait_spawned_process.
3498 * gdb.threads/attach-stopped.exp (corefunc): Use
3499 spawn_wait_for_attach, spawn_id_get_pid and
3500 kill_wait_spawned_process.
3501 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3502 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3503 kill_wait_spawned_process instead of explicit "kill -9".
3504 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3505 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3506 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3507 processes. Don't map cygwin/windows pids here. Now returns a
3508 spawn id list.
3509
032a0fca
SL
35102015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3511
3512 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3513 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3514 correct patch.
3515
61a934ca
SL
35162015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3517
3518 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3519
4bc4d428
SL
35202015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3521
3522 Reapply:
3523 2014-05-21 Mark Wielaard <mjw@redhat.com>
3524
3525 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3526
998d452a
PA
35272015-07-30 Pedro Alves <palves@redhat.com>
3528
3529 * linux-low.c (handle_extended_wait): Set the child's last
3530 reported status to TARGET_WAITKIND_STOPPED.
3531
69dde7dc
PA
35322015-07-30 Pedro Alves <palves@redhat.com>
3533
3534 PR threads/18600
3535 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3536 only shows inferior 1.
3537
4dd63d48
PA
35382015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3539 Pedro Alves <palves@redhat.com>
3540
3541 PR threads/18600
3542 * gdb.threads/fork-plus-threads.c: New file.
3543 * gdb.threads/fork-plus-threads.exp: New file.
3544
d618e4c5
PP
35452015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3546
3547 * gdb.base/batch-preserve-term-settings.exp
3548 (test_terminal_settings_preserved_after_cli_exit): Use
3549 send_quit_command.
3550
1eef6428
PA
35512015-07-29 Pedro Alves <palves@redhat.com>
3552 Don Breazeal <donb@codesourcery.com>
3553
3554 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3555 output from both inferior_spawn_id and gdb_spawn_id.
3556
7da5b897
SDJ
35572015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3558
3559 * gdb.threads/attach-into-signal.exp (corefunc): Use
3560 with_test_prefix on nested loops, uniquefying the test messages.
3561
dac804df
SDJ
35622015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3563
3564 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3565 commit.
3566
06265e53
PP
35672015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3568
3569 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3570 New proc.
3571 (test_terminal_settings_preserved_after_sigterm): New test.
3572
18206ca3
PP
35732015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3574
3575 * gdb.base/batch-preserve-term-settings.exp
3576 (test_terminal_settings_preserved_after_cli_exit): New test.
3577
90074d11
PP
35782015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3579
3580 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3581 manipulation of saved_gdbflags.
3582 (test_terminal_settings_preserved): Remove global declaration of
3583 the unused variable pagination_prompt. Remove manipulation of
3584 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3585 GDBFLAGS.
3586
eb1a7902
PA
35872015-07-29 Pedro Alves <palves@redhat.com>
3588
3589 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3590
8b75dd3b
PA
35912015-07-29 Pedro Alves <palves@redhat.com>
3592
3593 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3594 at the top.
3595
dedad4e3
PA
35962015-07-29 Pedro Alves <palves@redhat.com>
3597
3598 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3599 (main): Call gdb_unbuffer_output.
3600 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3601 (main): Call gdb_unbuffer_output.
3602 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3603 (main): Call gdb_unbuffer_output.
3604 * gdb.base/call-strs.exp: Adjust to step over the
3605 gdb_unbuffer_output call.
3606 * gdb.base/catch-gdb-caused-signals.c: Include
3607 "../lib/unbuffer_output.c".
3608 (main): Call gdb_unbuffer_output.
3609 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3610 (main): Call gdb_unbuffer_output.
3611 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3612 (main): Call gdb_unbuffer_output.
3613 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3614 (main): Call gdb_unbuffer_output.
3615 * gdb.base/shlib-call.exp: Adjust to step over the
3616 gdb_unbuffer_output call.
3617 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3618 (main): Call gdb_unbuffer_output.
3619 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3620 (main): Call gdb_unbuffer_output.
3621 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3622 (main): Rename to ...
3623 (test): ... this.
3624 (main): Reimplement.
3625 * gdb.base/varargs.exp: Run to test instead of to main.
3626 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3627 (main): Call gdb_unbuffer_output.
3628
58789a91
PA
36292015-07-29 Pedro Alves <palves@redhat.com>
3630
3631 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3632 factore out from mi_continue_dprintf. For call-style dprintfs,
3633 expect dprintf output out of $inferior_spawn_id.
3634 (mi_continue_dprintf): Use mi_expect_dprintf.
3635 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3636 (main): Call gdb_unbuffer_output.
3637
e8376742
PA
36382015-07-29 Pedro Alves <palves@redhat.com>
3639
3640 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3641 (default_mi_gdb_start): Set inferior_spawn_id instead of
3642 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3643 gdb_spawn_id.
3644 (mi_gdb_test): Always expect inferior output from both
3645 $inferior_spawn_id and $gdb_spawn_id.
3646
08280010
PA
36472015-07-29 Pedro Alves <palves@redhat.com>
3648
3649 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3650 send_inferior and $inferior_spawn_id.
3651
4d30e432
PA
36522015-07-29 Pedro Alves <palves@redhat.com>
3653
3654 * gdb.gdb/complaints.exp (test_initial_complaints)
3655 (test_serial_complaints, test_short_complaints): Use
3656 gdb_test_stdio.
3657 (test_empty_complaint): Handle $inferior_spawn_id !=
3658 $gdb_spawn_id.
3659
0d30a335
PA
36602015-07-29 Pedro Alves <palves@redhat.com>
3661
3662 * gdb.base/varargs.exp: Use gdb_test_stdio.
3663
39413b29
PA
36642015-07-29 Pedro Alves <palves@redhat.com>
3665
3666 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3667
7cb000a9
PA
36682015-07-29 Pedro Alves <palves@redhat.com>
3669
3670 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3671
d7b8ac82
PA
36722015-07-29 Pedro Alves <palves@redhat.com>
3673
3674 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3675 parameter into two new parameters, "inf_result" and "gdb_result".
3676 Expect inferior output and gdb output from $inferior_spawn_id and
3677 $gdb_spawn_id, respectively. Adjust all callers.
3678
789c3a0c
PA
36792015-07-29 Pedro Alves <palves@redhat.com>
3680
3681 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3682 of gdb_test_sequence.
3683
77e760c3
PA
36842015-07-29 Pedro Alves <palves@redhat.com>
3685
3686 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3687 (saw_spurious_output): Expect inferior output from
3688 $inferior_spawn_id. Use gdb_test_stdio.
3689
8396d2cd
PA
36902015-07-29 Pedro Alves <palves@redhat.com>
3691
3692 * gdb.base/dprintf.exp: Use standard_testfile. Change
3693 prepare_for_testing call.
3694 (srcfile): Don't set.
3695 (restart): New procedure.
3696 (test_dprintf): New procecure, use to continue over dprintfs.
3697 (test_call, test_agent): New procedures, tests moved here.
3698 Restart gdb and recreate dprintfs. Adjust expected output.
3699
2051d61f
PA
37002015-07-29 Pedro Alves <palves@redhat.com>
3701
3702 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3703
452397af
PA
37042015-07-29 Pedro Alves <palves@redhat.com>
3705
3706 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3707
8aed9555
PA
37082015-07-29 Pedro Alves <palves@redhat.com>
3709
3710 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3711 gdb_test_stdio.
3712
188a61b4
PA
37132015-07-29 Pedro Alves <palves@redhat.com>
3714
3715 * lib/gdb.exp (gdb_test_stdio): New procedure.
3716
12264a45
PA
37172015-07-29 Pedro Alves <palves@redhat.com>
3718
3719 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3720
23ffc893
PA
37212015-07-29 Pedro Alves <palves@redhat.com>
3722
3723 * gdb.base/call-signal-resume.exp: Remove check for
3724 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3725 * gdb.base/unwindonsignal.exp: Likewise.
3726 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3727 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3728
65566918
PA
37292015-07-29 Pedro Alves <palves@redhat.com>
3730
3731 * gdb.base/siginfo-addr.c (pass): New function.
3732 (handler): Call it iff si_addr is correct.
3733 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3734 Set a breakpoint at "pass" and continue to it.
3735
d60a9221
SDJ
37362015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3737
3738 * gdb.python/py-objfile.exp: Make some tests have unique names.
3739 * gdb.python/py-pp-registration.exp: Likewise.
3740
bde40b8f
PA
37412015-07-28 Pedro Alves <palves@redhat.com>
3742
3743 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3744
13e1dec8
SM
37452015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3746
3747 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3748
da33c9a7
SM
37492015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3750
3751 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3752
077836f7
PP
37532015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3754
3755 * gdb.base/gdb-sigterm-2.exp: New test.
3756
b8cc7b2e
DE
37572015-07-25 Doug Evans <xdje42@gmail.com>
3758
3759 Revert:
3760 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3761 (workers/%.worker, build-perf): New rule.
3762 (GDB_PERFTEST_MODE): New variable.
3763 (check-perf): Use it.
3764 (clean): Clean up gdb.perf parallel build subdirs.
3765 * lib/build-piece.exp: New file.
3766 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3767 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3768 name.
3769 (standard_temp_file): Ditto.
3770 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3771 of $GDB_PARALLEL.
3772
c8bd4544
DE
37732015-07-24 Doug Evans <dje@google.com>
3774
3775 * gdb.perf/lib/perftest/utils.py: New file.
3776 * gdb.perf/gm-hello.cc: New file.
3777 * gdb.perf/gm-pervasive-typedef.cc: New file.
3778 * gdb.perf/gm-pervasive-typedef.h: New file.
3779 * gdb.perf/gm-std.cc: New file.
3780 * gdb.perf/gm-std.h: New file.
3781 * gdb.perf/gm-use-cerr.cc: New file.
3782 * gdb.perf/gm-utils.h: New file.
3783 * gdb.perf/gmonster-null-lookup.py: New file.
3784 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3785 * gdb.perf/gmonster-print-cerr.py: New file.
3786 * gdb.perf/gmonster-ptype-string.py: New file.
3787 * gdb.perf/gmonster-runto-main.py: New file.
3788 * gdb.perf/gmonster-select-file.py: New file.
3789 * gdb.perf/gmonster1-null-lookup.exp: New file.
3790 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3791 * gdb.perf/gmonster1-print-cerr.exp: New file.
3792 * gdb.perf/gmonster1-ptype-string.exp: New file.
3793 * gdb.perf/gmonster1-runto-main.exp: New file.
3794 * gdb.perf/gmonster1-select-file.exp: New file.
3795 * gdb.perf/gmonster1.cc: New file.
3796 * gdb.perf/gmonster1.exp: New file.
3797 * gdb.perf/gmonster2-null-lookup.exp: New file.
3798 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3799 * gdb.perf/gmonster2-print-cerr.exp: New file.
3800 * gdb.perf/gmonster2-ptype-string.exp: New file.
3801 * gdb.perf/gmonster2-runto-main.exp: New file.
3802 * gdb.perf/gmonster2-select-file.exp: New file.
3803 * gdb.perf/gmonster2.cc: New file.
3804 * gdb.perf/gmonster2.exp: New file.
3805
6eab34f3
DE
38062015-07-24 Doug Evans <dje@google.com>
3807
3808 * gdb.perf/README: New file.
3809 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3810 * lib/gen-perf-test.exp: New file.
3811
63738bfd
DE
38122015-07-24 Doug Evans <dje@google.com>
3813
3814 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3815 (PerfTest::startup): New function.
3816 (PerfTest::run): Return result of calling body.
3817 (PerfTest::assemble): Rewrite.
3818 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3819 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3820 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3821 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3822 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3823
7b606f95
DE
38242015-07-24 Doug Evans <dje@google.com>
3825
3826 * lib/gdb.exp (clean_restart): Make executable optional.
3827
a97b16b8
DE
38282015-07-24 Doug Evans <dje@google.com>
3829
3830 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3831 compiler_info references.
3832 * gdb.cp/temargs.exp: Ditto.
3833 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3834 (get_compiler_info): Early exit if already computed. Set compiler_info
3835 to "unknown" if there was a problem.
3836 (test_compiler_info): Add function comment. Call get_compiler_info.
3837
35baa57f
DE
38382015-07-24 Doug Evans <dje@google.com>
3839
3840 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3841 (workers/%.worker, build-perf): New rule.
3842 (GDB_PERFTEST_MODE): New variable.
3843 (check-perf): Use it.
3844 (clean): Clean up gdb.perf parallel build subdirs.
3845 * lib/build-piece.exp: New file.
3846 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3847 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3848 name.
3849 (standard_temp_file): Ditto.
3850 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3851 of $GDB_PARALLEL.
3852
6ebea266
DE
38532015-07-24 Doug Evans <dje@google.com>
3854
3855 * lib/future.exp (gdb_default_target_compile): New option
3856 "early_flags".
3857 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3858 --as-needed.
3859
1e76a7e9
SDJ
38602015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3861
3862 * gdb.base/catch-syscall.exp: Call gdb_exit before
3863 gdb_skip_xml_test.
3864
5068630a
PA
38652015-07-24 Pedro Alves <palves@redhat.com>
3866
3867 * gdb.python/py-events.exp: Accept output between the stop event
3868 and the prompt.
3869 * gdb.python/py-evsignal.exp: Likewise.
3870 * gdb.python/py-evthreads.exp: Likewise.
3871
77598427
PA
38722015-07-24 Pedro Alves <palves@redhat.com>
3873
3874 PR gdb/18717
3875 * gdb.threads/non-ldr-exit.c: New file.
3876 * gdb.threads/non-ldr-exit.exp: New file.
3877
11e6c98f
YQ
38782015-07-24 Yao Qi <yao.qi@linaro.org>
3879
3880 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3881 restarting process.
3882
51aee833
YQ
38832015-07-24 Yao Qi <yao.qi@linaro.org>
3884
3885 * gdb.server/ext-restart.exp: New file.
3886
8cfe207c
YQ
38872015-07-24 Yao Qi <yao.qi@linaro.org>
3888
3889 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3890 argument options.
3891 * gdb.server/ext-wrapper.exp: New file.
3892
cc12ce38
DE
38932015-07-23 Doug Evans <dje@google.com>
3894
3895 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3896 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3897
d0d84780
PMR
38982015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3899
3900 * gdb.ada/var_arr_typedef.exp: New testcase.
3901 * gdb.ada/var_arr_typedef/pack.adb: New file.
3902 * gdb.ada/var_arr_typedef/pack.ads: New file.
3903 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3904
8b558f79
JB
39052015-07-20 Joel Brobecker <brobecker@adacore.com>
3906
3907 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3908
775a3298
JK
39092015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3910
3911 * gdb.arch/i386-biarch-core.exp: Replace istarget
3912 by "complete set gnutarget". Remove expectation for the "core-file"
3913 command.
3914
db1ff28b
JK
39152015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3916
3917 Revert the previous commit:
3918 Tests for validate symbol file using build-id.
3919
0a94970d
JK
39202015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3921
3922 Tests for validate symbol file using build-id.
3923 * gdb.base/solib-mismatch-lib.c: New file.
3924 * gdb.base/solib-mismatch-libmod.c: New file.
3925 * gdb.base/solib-mismatch.c: New file.
3926 * gdb.base/solib-mismatch.exp: New file.
3927
03346981
SL
39282015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3929
3930 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3931 nios2-*-linux*.
3932 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3933 * gdb.base/siginfo.exp: Likewise.
3934 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3935
42422cc7
PL
39362015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3937
3938 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3939 Move it to ...
3940 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3941 ... here.
3942 * gdb.trace/range-stepping.exp: Check that the target supports
3943 range stepping.
3944
cfa68bae
JK
39452015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3946
3947 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3948
8ffdba26
PA
39492015-07-14 Pedro Alves <palves@redhat.com>
3950
3951 * gdb.base/killed-outside.exp: New file.
3952 * gdb.base/killed-outside.c: New file.
3953
218a5a11
JK
39542015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3955
3956 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3957 (n at main): New.
3958 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3959
e03ed3c6
AA
39602015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3961
3962 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3963 infcall tests instead of setting up for KFAIL.
3964
485668e5
MM
39652015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3966
3967 * gdb.btrace/record_goto-step.exp: New.
3968
08464196
JK
39692015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3970
3971 PR compile/18484
3972 * gdb.compile/compile.c (struct struct_type): Add volatile to
3973 selffield's type.
3974 * gdb.compile/compile.exp
3975 (compile code struct_object.selffield = &struct_object): Skip further
3976 struct_object tests if this one xfails.
3977
bcf5c1d9
RC
39782015-07-08 Robert O'Callahan <robert@ocallahan.org>
3979
3980 PR exp/18617
3981 * gdb.trace/ax.exp: Add test.
3982
4931af25
YQ
39832015-07-07 Yao Qi <yao.qi@linaro.org>
3984
3985 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3986 instead of istarget "aarch64*-*-*".
3987 * gdb.arch/aarch64-fp.exp: Likewise.
3988 * gdb.base/float.exp: Likewise.
3989 * gdb.reverse/aarch64.exp: Likewise.
3990 * lib/gdb.exp (is_aarch64_target): New proc.
3991
9fcf688e
YQ
39922015-07-07 Yao Qi <yao.qi@linaro.org>
3993
3994 * lib/gdb.exp (is_aarch32_target): New proc.
3995 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3996 instead of "istarget "arm*-*-*"".
3997 * gdb.arch/arm-disp-step.exp: Likewise.
3998 * gdb.arch/thumb-bx-pc.exp: Likewise.
3999 * gdb.arch/thumb-prologue.exp: Likewise.
4000 * gdb.arch/thumb-singlestep.exp: Likewise.
4001 * gdb.base/disp-step-syscall.exp: Likewise.
4002 * gdb.base/float.exp: Likewise.
4003
fbd8d50d
YQ
40042015-07-07 Yao Qi <yao.qi@linaro.org>
4005
4006 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
4007 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
4008
71be1fdc
YQ
40092015-07-07 Yao Qi <yao.qi@linaro.org>
4010
4011 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
4012 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
4013 if it exists.
4014 * gdb.multi/multi-arch.exp: Likewise.
4015
3e221d36
SM
40162015-07-07 Simon Marchi <simon.marchi@ericsson.com>
4017
4018 * gdb.python/py-lazy-string.exp: Add missing parentheses to
4019 print.
4020
d441430b
YQ
40212015-07-07 Yao Qi <yao.qi@linaro.org>
4022
4023 * gdb.arch/thumb-singlestep.exp: Do one more single step.
4024
06f810bd
MG
40252015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
4026
4027 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
4028 '[' and ']' characters.
4029
5e61e7c0
IB
40302015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
4031
4032 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4033
28bf096c
PA
40342015-06-29 Pedro Alves <palves@redhat.com>
4035
4036 PR threads/18127
4037 * gdb.threads/hand-call-new-thread.c: New file.
4038 * gdb.threads/hand-call-new-thread.c: New file.
4039
ee93cd5e
KS
40402015-06-26 Keith Seitz <keiths@redhat.com>
4041 Doug Evans <dje@google.com>
4042
4043 PR 16253
4044 * gdb.cp/var-tag-2.cc: New file.
4045 * gdb.cp/var-tag-3.cc: New file.
4046 * gdb.cp/var-tag-4.cc: New file.
4047 * gdb.cp/var-tag.cc: New file.
4048 * gdb.cp/var-tag.exp: New file.
4049
fc637f04
PP
40502015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4051
4052 * gdb.base/history-duplicates.exp: New test.
4053
2e52ae68
PP
40542015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4055
4056 * gdb.base/completion.exp: Test the completion of the "focus"
4057 command.
4058
6e22494e
JK
40592015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4060
4061 * gdb.arch/amd64-prologue-skip.S: New file.
4062 * gdb.arch/amd64-prologue-skip.exp: New file.
4063
bf7b9cd9
SM
40642015-06-25 Simon Marchi <simon.marchi@ericsson.com>
4065
4066 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
4067 is_address_zero_readable check.
4068
201e8dfd
PB
40692015-06-24 Peter Bergner <bergner@vnet.ibm.com>
4070
4071 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
4072 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
4073
5cd867b4
YQ
40742015-06-24 Yao Qi <yao.qi@linaro.org>
4075
4076 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
4077 linux targets.
4078
4d7be007
YQ
40792015-06-24 Yao Qi <yao.qi@linaro.org>
4080
4081 * lib/gdb.exp (supports_get_siginfo_type): New proc.
4082 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
4083 * gdb.base/siginfo-thread.exp: Likewise.
4084
07fcd301
YQ
40852015-06-22 Yao Qi <yao.qi@linaro.org>
4086
4087 * boards/remote-gdbserver-on-localhost.exp: Add comments.
4088
52042a00
YQ
40892015-06-22 Yao Qi <yao.qi@linaro.org>
4090
4091 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
4092 aarch64*-*-*.
4093 (skip_hw_watchpoint_tests): Likewise.
4094
74bd41ce
PP
40952015-06-18 Patrick Palka <patrick@parcs.ath.cx>
4096
4097 * gdb.base/gdbinit-history.exp: Test the interaction between
4098 setting GDBHISTSIZE and setting the history size via .gdbinit.
4099
bc460514
PP
41002015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4101
4102 PR gdb/16999
4103 * gdb.base/gdbhistsize-history.exp: New test.
4104
b58c513b
PP
41052015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4106
4107 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
4108 with GDBHISTSIZE.
4109 * gdb.base/readline.exp: Likewise.
4110
92046791
YQ
41112015-06-17 Yao Qi <yao.qi@linaro.org>
4112
4113 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
4114 line.
4115
2093d2d3
PP
41162015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4117
4118 * gdb.base/gdbinit-history.exp: Add test case to check that
4119 an unlimited history file does not get truncated on exit.
4120
e6c693af
AA
41212015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4122
4123 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
4124 (VECTOR): New macro. Use it...
4125 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
4126 ...for these typedefs.
4127 (int8, char1, int1, double1): New typedefs.
4128 (struct just_int2, struct two_int2): New structures.
4129 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
4130 (add_structvecs, add_singlevecs): New functions.
4131 (main): Call add_some_intvecs twice.
4132 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
4133 the compile and exit upon failure. Try compiling for the "native"
4134 architecture. Test inferior function calls with vector arguments
4135 and vector return value handling with "finish" and "return".
4136
c74f7d1c
JT
41372015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
4138
4139 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
4140 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
4141 PE file.
4142 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
4143
98aa42ee
AT
41442015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
4145
4146 PR breakpoints/16465
4147 * gdb.mi/mi-dprintf-pending.c: New file.
4148 * gdb.mi/mi-dprintf-pending.exp: New test.
4149 * gdb.mi/mi-dprintf-pendshr.c: New file.
4150
7d73c23c 41512015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 4152 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
4153
4154 * gdb.arch/i386-mpx-map.c: New file.
4155 * gdb.arch/i386-mpx-map.exp: New File.
4156
41572015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4158
4159 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
4160 * gdb.arch/i386-mpx.exp: Indentation fixed.
4161
41622015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4163
4164 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
4165 function and improved indentation.
4166 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
4167 gdb_test_multiple. Added additional tests to skip the test.
4168
41692015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4170
4171 * gdb.arch/i386-avx512.c: Change path in include file.
4172 * gdb.arch/i386-avx512.exp: Change include dir path
4173 compilation flag.
4174 * gdb.arch/i386-mpx.c: Change path in include file.
4175 * gdb.arch/i386-mpx.exp: Change include dir path compilation
4176 flag.
4177
d5eba19a
JK
41782015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4179
4180 * gdb.compile/compile-print.exp (compile print *vararray@3)
4181 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
4182
7f361056
JK
41832015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4184
4185 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
4186 (do not keep jit in memory): ... this.
4187 (expect 5): Change it to ...
4188 (expect no 5): ... this.
4189
3b462ec2
SM
41902015-06-02 Simon Marchi <simon.marchi@ericsson.com>
4191
4192 PR gdb/15564
4193 * gdb.mi/mi-detach.exp: New file.
4194
e0619de6
JK
41952015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4196
4197 PR symtab/18392
4198 * gdb.arch/amd64-tailcall-self.S: New file.
4199 * gdb.arch/amd64-tailcall-self.c: New file.
4200 * gdb.arch/amd64-tailcall-self.exp: New file.
4201
e970cb34
DB
42022015-05-28 Don Breazeal <donb@codesourcery.com>
4203
4204 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
4205 tests for remote targets by checking is_target_gdbserver.
4206
b2e2f908
DE
42072015-05-27 Doug Evans <dje@google.com>
4208
4209 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
4210 * gdb.dwarf2/opaque-type-lookup.c: New file.
4211 * gdb.dwarf2/opaque-type-lookup.exp: New file.
4212
82c7be31
DE
42132015-05-26 Doug Evans <dje@google.com>
4214
4215 * gdb.cp/iostream.cc: New file.
4216 * gdb.cp/iostream.exp: New file.
4217
b4f54984
DE
42182015-05-26 Doug Evans <dje@google.com>
4219
4220 * gdb.dwarf2/dw2-op-call.exp: Update.
4221 * gdb.dwarf2/dw4-sig-types.exp: Update.
4222 * gdb.dwarf2/implptr.exp: Update.
4223 * gdb.mi/mi-cmd-param-changed.exp: Update.
4224
4ea6efe9
DE
42252015-05-26 Doug Evans <dje@google.com>
4226
4227 * gdb.python/py-lazy-string.c: New file.
4228 * gdb.python/py-lazy-string.exp: New file.
4229 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
4230 (main): Update. Add estring3.
4231 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
4232 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
4233
f6bb7db3
YQ
42342015-05-26 Omair Javaid <omair.javaid@linaro.org>
4235 Yao Qi <yao.qi@linaro.org>
4236
4237 * gdb.reverse/aarch64.c: New.
4238 * gdb.reverse/aarch64.exp: New.
4239
a81bfbd0
OJ
42402015-05-26 Omair Javaid <omair.javaid@linaro.org>
4241
25d49b86
PA
4242 * lib/gdb.exp (supports_process_record): Return true for
4243 aarch64*-linux*.
a81bfbd0
OJ
4244 (supports_reverse): Likewise.
4245
158bf1b4
PP
42462015-05-22 Patrick Palka <patrick@parcs.ath.cx>
4247
4248 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4249 Use with_test_prefix.
4250
a0145030
AB
42512015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
4252
4253 * gdb.base/completion.exp: Add test for completion of layout
4254 names.
4255
ebe3b578
AB
42562015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
4257
4258 * lib/gdb.exp (skip_tui_tests): New proc.
4259 * gdb.base/tui-layout.exp: Check skip_tui_tests.
4260
84204ed7
PA
42612015-05-19 Pedro Alves <palves@redhat.com>
4262
4263 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4264 Save the whole env array instead of just HOME. Unset HISTSIZE in
4265 the environment while testing. Restore whole environment
4266 afterwards.
4267
37442ce1
DE
42682015-05-16 Doug Evans <xdje42@gmail.com>
4269
4270 * gdb.guile/scm-ports.c: New file.
4271 * gdb.guile/scm-ports.exp: Add memory port tests.
4272
36de76f9
JK
42732015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4274
4275 * gdb.compile/compile-print.c: New file.
4276 * gdb.compile/compile-print.exp: New file.
4277
3a9558c4
JK
42782015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4279
4280 * gdb.compile/compile-ops.exp: Cast param to void.
4281 * gdb.compile/compile.exp: Complete type for _gdb_expr.
4282 (compile code struct_object.selffield = &struct_object): Add xfail.
4283
aa715135
JG
42842015-05-15 Joel Brobecker <brobecker@adacore.com>
4285
4286 * gdb.ada/arr_enum_with_gap: New testcase.
4287
931e5bc3
JG
42882015-05-15 Joel Brobecker <brobecker@adacore.com>
4289
4290 * gdb.ada/byte_packed_arr: New testcase.
4291
9cd4d857
JB
42922015-05-15 Joel Brobecker <brobecker@adacore.com>
4293
4294 * gdb.ada/pckd_neg: New testcase.
4295
ebfd00d2
PP
42962015-05-13 Patrick Palka <patrick@parcs.ath.cx>
4297
4298 PR gdb/17820
4299 * gdb.base/gdbinit-history.exp: New test.
4300 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
4301 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
4302
4c082a81
SC
43032015-05-09 Siva Chandra Reddy <sivachandra@google.com>
4304
4305 * gdb.python/py-xmethods.cc: Enhance test case.
4306 * gdb.python/py-xmethods.exp: New tests.
4307 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
4308 function.
4309 (B_indexoper): Likewise.
4310 (global_dm_list) : Add new xmethod worker functions.
4311
f7797074
SDJ
43122015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
4313
4314 * gdb.base/coredump-filter.exp: Correctly unset
4315 "coredump_var_addr" array.
4316
a4674e4e
PA
43172015-05-08 Pedro Alves <palves@redhat.com>
4318
4319 * gdb.server/non-existing-program.exp: Unset spawn_id.
4320
df2eb078
SC
43212015-05-08 Siva Chandra Reddy <sivachandra@google.com>
4322
4323 PR python/18291
4324 * gdb.python/py-xmethods.exp: Add tests.
4325
422349a3
YQ
43262015-05-08 Yao Qi <yao.qi@linaro.org>
4327
4328 PR gdb/18208
4329 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
4330 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
4331 function set_coredump_filter, and remove remote_exec call.
4332 Remove argument ipid. Callers update.
4333 (top level): Don't get inferior's PID.
4334
63fc80ce
AA
43352015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4336
4337 * gdb.base/watch_thread_num.exp: Skip test on targets without
4338 access watchpoints.
4339
80ad801e
PA
43402015-05-06 Pedro Alves <palves@redhat.com>
4341
4342 PR server/18081
4343 * gdb.server/non-existing-program.exp: New file.
4344
0fa7fe50
JB
43452015-05-05 Joel Brobecker <brobecker@adacore.com>
4346
4347 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4348
3ea89b92
PMR
43492015-05-05 Joel Brobecker <brobecker@adacore.com>
4350
4351 * gdb.ada/out_of_line_in_inlined: New testcase.
4352
87b8eff0
JB
43532015-05-05 Joel Brobecker <brobecker@adacore.com>
4354
4355 * gdb.ada/var_rec_arr: New testcase.
4356
5fccc635
YQ
43572015-04-30 Yao Qi <yao.qi@linaro.org>
4358
4359 * gdb.base/break-idempotent.exp: If
4360 skip_hw_watchpoint_multi_tests returns true, skip the tests
4361 on "rwatch" and "awatch".
4362
42d38f42
YQ
43632015-04-30 Yao Qi <yao.qi@linaro.org>
4364
4365 * gdb.base/relativedebug.exp: Invoke gdb command
4366 "info sharedlibrary", and if libc.so doesn't have debug info,
4367 skip the test.
4368
2ce1cdbf
DE
43692015-04-29 Doug Evans <dje@google.com>
4370
4371 * gdb.python/py-xmethods.exp: Add ptype tests.
4372 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4373 get_result_type method.
4374
f24a38c5
LM
43752015-04-29 Luis Machado <lgustavo@codesourcery.com>
4376
4377 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4378 the target does not support hardware watchpoints.
4379
ecbf2b3c
LM
43802015-04-29 Luis Machado <lgustavo@codesourcery.com>
4381
4382 * gdb.base/break-always.exp: Abort testing if writing to memory
4383 causes an error.
4384
34f5f757
DE
43852015-04-28 Doug Evans <dje@google.com>
4386
4387 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4388 * gdb.python/py-pp-registration.exp: ... here. New file.
4389 * gdb.python/py-pp-registration.c: New file.
4390 * gdb.python/py-pp-registration.py: New file.
4391
69b4374a
DE
43922015-04-28 Doug Evans <dje@google.com>
4393
4394 * gdb.python/py-bad-printers.c: New file.
4395 * gdb.python/py-bad-printers.py: New file.
4396 * gdb.python/py-bad-printers.exp: New file.
4397
59fb7612
SS
43982015-04-28 Sasha Smundak <asmundak@google.com>
4399
4400 * gdb.python/py-type.exp: New test.
4401
2631b16a
AW
44022015-04-28 Andy Wingo <wingo@igalia.com>
4403
4404 * gdb.python/py-parameter.exp:
4405 * gdb.guile/scm-parameter.exp: Escape the path that we are
4406 matching against, as it might contain characters that are special
4407 to regular expressions.
4408
460efde1
JB
44092015-04-27 Joel Brobecker <brobecker@adacore.com>
4410
4411 * gdb.ada/rec_comp: New testcase.
4412
2d369d8e
SDJ
44132015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4414
4415 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4416 before using it.
4417
cf75d6c3
AB
44182015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4419
4420 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4421 new tests for verilog output.
4422
8dbe7ca5
YQ
44232015-04-24 Yao Qi <yao.qi@linaro.org>
4424
4425 * boards/remote-gdbserver-on-localhost.exp: New file.
4426
4ef9fb2f
PA
44272015-04-23 Pedro Alves <palves@redhat.com>
4428
4429 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4430 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4431 "end of file", remove $inferior_spawn_id from the indirect list.
4432
0a803169
PA
44332015-04-23 Pedro Alves <palves@redhat.com>
4434
4435 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4436
749ef8f8
PA
44372015-04-23 Pedro Alves <palves@redhat.com>
4438
4439 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4440 on $any_spawn_id instead of only on $gdb_spawn_id.
4441
8aae4344
PM
44422015-04-21 Pierre Muller <muller@sourceware.org>
4443
4444 PR pascal/17815
4445 * lib/pascal.exp (gpc_compile): Add new option "class".
4446 (fpc_compile): Likewise.
4447 * gdb.pascal/case-insensitive-symbols.pas: New file.
4448 * gdb.pascal/case-insensitive-symbols.exp: New file.
4449
1586c8fb
GB
44502015-04-20 Gary Benson <gbenson@redhat.com>
4451
4452 * gdb.base/attach.exp: Fix three extended remote failures.
4453
1b6e6f5c
GB
44542015-04-17 Gary Benson <gbenson@redhat.com>
4455
4456 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4457 the main executable over the remote protocol.
4458
e797481d
PA
44592015-04-16 Pedro Alves <palves@redhat.com>
4460
4461 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4462 a new gdbserver if gdbserver_reconnect_p is set.
4463
1ca99c42
PA
44642015-04-16 Pedro Alves <palves@redhat.com>
4465
4466 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4467 is set, don't exit gdbserver.
4468
af9fd6f8
AA
44692015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4470
4471 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4472 appropriate .insn, such that an older assembler can be used.
4473 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4474 the z/Architecture instruction set on 31-bit targets as well.
4475
04ff1e61
AA
44762015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4477
4478 * gdb.go/handcall.exp: Remove all logic related to the first
4479 breakpoint and rely on go_runto_main instead.
4480 * gdb.go/strings.exp: Likewise.
4481 * gdb.go/unsafe.exp: Likewise.
4482 * gdb.go/hello.exp: Likewise. Also rename the remaining
4483 breakpoint marker to "breakpoint 1".
4484 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4485 * gdb.go/strings.go: Likewise.
4486 * gdb.go/unsafe.go: Likewise.
4487 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4488 "set breakpoint 2 here" and rename the remaining breakpoint marker
4489 to "breakpoint 1".
4490
40d2f8d6
SM
44912015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4492
4493 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4494 if itertools.imap is not present.
4495 * gdb.python/py-objfile.exp: Add parentheses.
4496 * gdb.python/py-type.exp: Same.
4497 * gdb.python/py-unwind-maint.py: Same.
4498
8cbc97c6
YQ
44992015-04-15 Yao Qi <yao.qi@linaro.org>
4500
4501 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4502 of ":$ptr_size" and set its form explicitly.
4503
45fd756c
YQ
45042015-04-15 Pedro Alves <palves@redhat.com>
4505 Yao Qi <yao.qi@linaro.org>
4506
4507 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4508 timeout by factor of 4.
4509 (test_regular_watch): Likewise.
4510 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4511 * gdb.reverse/sigall-reverse.exp: Likewise.
4512 * gdb.reverse/until-precsave.exp: Likewise.
4513 * lib/gdb.exp (with_timeout_factor): New proc.
4514 (gdb_expect): Move some code to ...
4515 (get_largest_timeout): ... here. New procedure.
4516
9e811bc3
LM
45172015-04-14 Luis Machado <lgustavo@codesourcery.com>
4518
4519 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4520
0ff6fcb2
LM
45212015-04-13 Luis Machado <lgustavo@codesourcery.com>
4522
4523 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4524 to write to the .text section.
4525
7578d5f7
LM
45262015-04-13 Luis Machado <lgustavo@codesourcery.com>
4527
4528 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4529 Handle the case of targets that do not provide PID information.
4530
2efe15c4
YQ
45312015-04-13 Yao Qi <yao.qi@linaro.org>
4532
4533 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4534 and use expect instead of gdb_expect.
4535
8cd8f2f8
SDJ
45362015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4537
4538 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4539 "coredump_var_addr" to avoid naming conflict with other testcases.
4540
9ee41772
PA
45412015-04-10 Pedro Alves <palves@redhat.com>
4542
4543 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4544 gdb_test_sequence and gdb_assert.
4545
07473109
PA
45462015-04-10 Pedro Alves <palves@redhat.com>
4547
4548 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4549 test messages that don't include the breakpoint address.
4550
de3db44c
YQ
45512015-04-10 Yao Qi <yao.qi@linaro.org>
4552
4553 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4554 false for some offset and width combinations which aren't
4555 supported by linux kernel.
4556
c79d856c
PA
45572015-04-10 Pedro Alves <palves@redhat.com>
4558
4559 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4560 procedure, factored out from ...
4561 (top level): ... here. Add "set displaced-stepping" testing axis.
4562 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4563 parameter "displaced". Use it.
4564 (top level): Use foreach and add "set displaced-stepping" testing
4565 axis.
4566
ebc90b50
PA
45672015-04-10 Pedro Alves <palves@redhat.com>
4568
4569 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4570 Remove comment.
4571 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4572 both the address of the instruction that triggers the watchpoint
4573 and the address of the instruction immediately after, and use
4574 those addresses for the test. Fix comment.
4575
8f572e5c
PA
45762015-04-10 Pedro Alves <palves@redhat.com>
4577
4578 * gdb.base/sigstep.exp (breakpoint_to_handler)
4579 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4580 Test "backtrace" in handler.
4581 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4582 (top level): Add new "displaced" test axis to
4583 breakpoint_to_handler, breakpoint_to_handler_entry and
4584 breakpoint_over_handler.
4585
8d707a12
PA
45862015-04-10 Pedro Alves <palves@redhat.com>
4587
4588 PR gdb/18216
4589 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4590
ef713951
YQ
45912015-04-10 Yao Qi <yao.qi@linaro.org>
4592
4593 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4594 (test_add_rn_pc): New function.
4595 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4596 (top level): Invoke test_add_rn_pc.
4597
906d60cf
PA
45982015-04-10 Pedro Alves <palves@redhat.com>
4599
4600 PR gdb/13858
4601 * gdb.base/step-over-no-symbols.exp: New file.
4602
f2983cc3
AW
46032015-04-09 Andy Wingo <wingo@igalia.com>
4604
4605 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4606 after the Python tests.
4607
6d62641c
SDJ
46082015-04-08 Keith Seitz <keiths@redhat.com>
4609
4610 PR python/16699
4611 * gdb.python/py-completion.exp: New tests for completion.
4612 * gdb.python/py-completion.py (CompleteLimit1): New class.
4613 (CompleteLimit2): Likewise.
4614 (CompleteLimit3): Likewise.
4615 (CompleteLimit4): Likewise.
4616 (CompleteLimit5): Likewise.
4617 (CompleteLimit6): Likewise.
4618 (CompleteLimit7): Likewise.
4619
f3770638
PA
46202015-04-08 Pedro Alves <palves@redhat.com>
4621
4622 PR gdb/18214
4623 PR gdb/18216
4624 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4625 function.
4626 (main): Install it as SIGUSR1 handler.
4627 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4628 parameter. Always use "setup" as prefix. Toggle "set
4629 displaced-stepping" off/on depending on global. Don't switch to
4630 thread 1 here.
4631 (top level): Add displaced stepping "off/on" test axis. Update
4632 "setup" calls. Wrap each subtest with with_test_prefix. Test
4633 continuing with a queued signal in each thread.
4634
4496bed7
PA
46352015-04-08 Pedro Alves <palves@redhat.com>
4636
4637 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4638 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4639 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4640 Return early if running to main fails.
4641 * gdb.trace/while-stepping.exp: Likewise.
4642
b97fde92
PA
46432015-04-07 Pedro Alves <palves@redhat.com>
4644
4645 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4646 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4647 interact with inferior program.
4648
f71c18e7
PA
46492015-04-07 Pedro Alves <palves@redhat.com>
4650
4651 * lib/gdb.exp (inferior_spawn_id): New global.
4652 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4653 spawn id after processing the user code.
4654 (default_gdb_start): Set inferior_spawn_id.
4655 (send_inferior): New procedure.
4656 * lib/gdbserver-support.exp (gdbserver_start): Set
4657 inferior_spawn_id.
4658 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4659
6423214f
PA
46602015-04-07 Pedro Alves <palves@redhat.com>
4661
4662 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4663 * lib/gdbserver-support.exp (gdbserver_start): Make
4664 $server_spawn_id global.
4665 (gdbserver_start): Don't wait for gdbserver's spawn id with
4666 expect_background.
4667 (close_gdbserver): New procedure.
4668 (gdb_exit): Rename the default version and reimplement.
4669
71c0ee8c
PA
46702015-04-07 Pedro Alves <palves@redhat.com>
4671
72f4393d 4672 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
4673 append the substituted item, not the original item.
4674
203bc29b
PA
46752015-04-07 Pedro Alves <palves@redhat.com>
4676
4677 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4678 gdb_expect.
4679
508a3ddf
PA
46802015-04-07 Pedro Alves <palves@redhat.com>
4681
4682 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4683 output appearing once only.
4684
9f6dbe2b
PA
46852015-04-07 Pedro Alves <palves@redhat.com>
4686
4687 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4688 that doesn't expect anything. Return early if running to main
4689 fails.
4690
337532fa
YQ
46912015-04-07 Yao Qi <yao.qi@linaro.org>
4692
4693 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4694 (child_function): Call alarm.
4695 (main): Move call to alarm into the loop.
4696 * gdb.threads/non-stop-fair-events.exp: Build program with
4697 -DTIMEOUT=$timeout.
4698
01b622d4
DE
46992015-04-06 Doug Evans <xdje42@gmail.com>
4700
4701 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4702 Fix dest parameter to board_info.
4703 (fpc_compile): Ditto.
4704 (gdb_compile_pascal): Rename dest arg to destfile.
4705
961f4160
PMR
47062015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4707
4708 * gdb.ada/funcall_ref.exp: New file.
4709 * gdb.ada/funcall_ref/foo.adb: New file.
4710
cafda597
YQ
47112015-04-02 Yao Qi <yao.qi@linaro.org>
4712
4713 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4714 is remote.
4715
fed040c6
GB
47162015-04-02 Gary Benson <gbenson@redhat.com>
4717
4718 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4719
d11916aa
SS
47202015-04-01 Sasha Smundak <asmundak@google.com>
4721
4722 * gdb.python/py-unwind-maint.c: New file.
4723 * gdb.python/py-unwind-maint.exp: New test.
4724 * gdb.python/py-unwind-maint.py: New file.
4725 * gdb.python/py-unwind.c: New file.
4726 * gdb.python/py-unwind.exp: New test.
4727 * gdb.python/py-unwind.py: New test.
4728
a1471180
PA
47292015-04-01 Pedro Alves <palves@redhat.com>
4730
4731 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4732 to fail instead of non-existent $test.
4733
0bbeccb1
PA
47342015-04-01 Pedro Alves <palves@redhat.com>
4735
4736 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4737 GDBFLAGS if not empty.
4738
3c724c8c
PMR
47392015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4740
4741 * gdb.ada/complete.exp: Remove "multi_line".
4742 * gdb.ada/info_exc.exp: Remove "multi_line".
4743 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4744 * gdb.ada/ptype_field.exp: Remove "multi_line".
4745 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4746 * gdb.ada/tagged.exp: Remove "multi_line".
4747 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4748 [multi_line ...]
4749 * gdb.btrace/delta.exp: Likewise.
4750 * gdb.btrace/exception.exp: Likewise.
4751 * gdb.btrace/function_call_history.exp: Likewise.
4752 * gdb.btrace/instruction_history.exp: Likewise.
4753 * gdb.btrace/nohist.exp: Likewise.
4754 * gdb.btrace/record_goto.exp: Likewise.
4755 * gdb.btrace/segv.exp: Likewise.
4756 * gdb.btrace/stepi.exp: Likewise.
4757 * gdb.btrace/tailcall.exp: Likewise.
4758 * gdb.btrace/unknown_functions.exp: Likewise.
4759 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4760 * lib/gdb.exp: Add the "multi_line" helper.
4761
4eec2deb
PA
47622015-04-01 Pedro Alves <palves@redhat.com>
4763
4764 * gdb.threads/tid-reuse.c: New file.
4765 * gdb.threads/tid-reuse.exp: New file.
4766
df8411da
SDJ
47672015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4768
4769 PR corefiles/16092
4770 * gdb.base/coredump-filter.c: New file.
4771 * gdb.base/coredump-filter.exp: Likewise.
4772
6ef37366
PM
47732015-03-27 Petr Machata <pmachata@redhat.com>
4774
4775 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4776 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4777 (Dwarf::assemble): Initialize them.
4778 (Dwarf::lines): New function.
4779
7ec911b0
JT
47802015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4781
4782 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4783 SYMBOL_PREFIX for x86_64-*-cygwin.
4784
ff908ebf
AW
47852015-03-26 Andy Wingo <wingo@igalia.com>
4786
4787 PR symtab/18148
4788 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4789 const_value but not a location.
4790 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4791 location defined in non-main CUs are visible.
4792
6d5f0679
YQ
47932015-03-26 Yao Qi <yao.qi@linaro.org>
4794
4795 PR testsuite/18139
4796 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4797 Add a line number entry for the same line.
4798 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4799 Add a line number entry for the same line.
4800
2898689b
YQ
48012015-03-26 Yao Qi <yao.qi@linaro.org>
4802
4803 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4804 .int 0.
4805 (func): Likewise. Add .Lfunc_1 label.
4806 Use .Lfunc_1 label.
4807 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4808 .int 0.
4809 (func): Likewise.
4810 Use .Lfunc_1 label.
4811
85180498
YQ
48122015-03-26 Yao Qi <yao.qi@linaro.org>
4813
4814 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4815 Call gdb_compile instead to compile each .s files without debug
4816 information.
4817
8aa08a8d
YQ
48182015-03-26 Yao Qi <yao.qi@linaro.org>
4819
4820 * gdb.base/savedregs.exp (process_saved_regs): Make
4821 "Saved registers:" optional in the pattern.
4822
66849923
MM
48232015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4824
4825 * gdb.btrace/next.exp: Merged into step.exp.
4826 * gdb.btrace/finish.exp: Merged into step.exp.
4827 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4828 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4829 "record goto" and checking the exact replay position.
4830 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4831 check for "Recording format" in "info record" output.
4832 * gdb.btrace/record_goto.exp: Choose test file based on target.
4833 * gdb.btrace/x86-record_goto.S: Renamed into ...
4834 * gdb.btrace/x86_64-record_goto.S: ... this.
4835 * gdb.btrace/i686-record_goto.S: New.
4836 * gdb.btrace/x86-tailcall.S: Renamed into ...
4837 * gdb.btrace/x86_64-tailcall.S: ... this.
4838 * gdb.btrace/i686-tailcall.S: New.
4839 * gdb.btrace/x86-tailcall.c: Renamed into ...
4840 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4841 separate statements. Update test.
4842 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4843 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4844 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4845 * gdb.btrace/tailcall.exp: Choose test file based on target.
4846 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4847
11cc1b74
MM
48482015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4849
4850 * gdb.btrace/exception.exp: Increase BTS buffer size.
4851
a25d8bf9
PA
48522015-03-24 Pedro Alves <palves@redhat.com>
4853
4854 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4855
856e7dd6
PA
48562015-03-24 Pedro Alves <palves@redhat.com>
4857
4858 * gdb.threads/schedlock.exp (test_step): No longer expect that
4859 "set scheduler-locking step" with "next" over a function call runs
4860 threads unlocked.
4861
ad235a41
AT
48622015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4863
4864 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4865
15630549
AT
48662015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4867
4868 PR breakpoints/16466
4869 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4870 * gdb.mi/mi-pending.c (thread_func): New function.
4871 (int main): Add threading support required.
4872 * gdb.mi/mi-pending.exp: Add tests for this issue.
4873 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4874 (pendfunc2): Remove stdio dependency.
4875 * gdb.mi/mi-pendshr2.c: New file.
4876
693dca06
KS
48772015-03-23 Keith Seitz <keiths@redhat.com>
4878
4879 * gdb.linespec/keywords.c: New file.
4880 * gdb.linespec/keywords.exp: New file.
4881
7e993ebf
KS
48822015-03-23 Keith Seitz <keiths@redhat.com>
4883
4884 PR gdb/18021
4885 * gdb.dwarf2/staticvirtual.exp: New test.
4886
bc23328c
JK
48872015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4888
4889 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4890 * README: Remove HP-UX and gdb.hp.
4891 (configuration):
4892 * configure: Regenerate.
4893 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4894 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4895 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4896 gdb.hp/gdb.defects/Makefile.
4897 * gdb.hp/Makefile.in: File deleted.
4898 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4899 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4900 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4901 * gdb.hp/gdb.aCC/run.c: File deleted.
4902 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4903 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4904 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4905 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4906 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4907 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4908 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4909 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4910 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4911 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4912 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4913 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4914 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4915 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4916 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4917 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4918 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4919 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4920 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4921 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4922 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4923 * gdb.hp/gdb.compat/average.c: File deleted.
4924 * gdb.hp/gdb.compat/sum.c: File deleted.
4925 * gdb.hp/gdb.compat/xdb.c: File deleted.
4926 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4927 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4928 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4929 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4930 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4931 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4932 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4933 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4934 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4935 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4936 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4937 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4938 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4939 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4940 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4941 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4942 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4943 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4944 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4945 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4946 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4947 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4948 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4949 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4950 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4951 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4952 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4953 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4954 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4955 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4956 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4957 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4958 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4959 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4960 * gdb.hp/tools/odump: File deleted.
4961
8bf3b159
PA
49622015-03-19 Pedro Alves <palves@redhat.com>
4963
4964 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4965 (saw_thread_3): New globals.
4966 (top level): Increment them when an event for the corresponding
4967 thread is seen.
4968 (no thread starvation): New test.
4969
eb54c8bf
PA
49702015-03-19 Pedro Alves <palves@redhat.com>
4971
4972 * gdb.threads/continue-pending-status.c: New file.
4973 * gdb.threads/continue-pending-status.exp: New file.
4974
32d2e5d6
PA
49752015-03-18 Pedro Alves <palves@redhat.com>
4976
4977 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4978 Use gdb_is_target_remote instead of is_remote. Use
4979 gdb_test_multiple instead of gdb_expect. Exit early if
4980 gdb_test_multiple hits its internal matches. Tighten stepi tests
4981 expected output. Fail on exit with any signal, instead of just
4982 SIGILL.
4983
f68f11b7
YQ
49842015-03-18 Yao Qi <yao.qi@linaro.org>
4985
4986 PR tdep/18107
4987 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4988 variable.
4989 * gdb.base/catch-syscall.exp: Don't skip it on
4990 aarch64*-*-linux* target. Remove elements in all_syscalls.
4991 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4992 target.
4993 (setup_all_syscalls): New proc.
4994
ca5fd19b
YQ
49952015-03-16 Yao Qi <yao.qi@linaro.org>
4996
4997 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4998 (top level): Skip tests if valid_addr_p returns false for
4999 $cmd1 or $cmd2.
5000
85642ba0
AW
50012015-03-11 Andy Wingo <wingo@igalia.com>
5002
5003 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
5004
e03f9645
YQ
50052015-03-11 Yao Qi <yao.qi@linaro.org>
5006
5007 * gdb.base/catch-syscall.exp: Fix typo in comments.
5008
5d0962b2
YQ
50092015-03-11 Yao Qi <yao.qi@linaro.org>
5010
5011 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
5012
b2df3cef
PA
50132015-03-09 Pedro Alves <palves@redhat.com>
5014
5015 * dg-extract-results.py: Delete.
5016
ef878e53
PA
50172015-03-09 Pedro Alves <palves@redhat.com>
5018
5019 Merge dg-extract-results.sh from GCC upstream (r218843).
5020
5021 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
5022 * dg-extract-results.sh: Use --text with grep to avoid issues with
5023 binary files. Fall back to cat -v, if that doesn't work.
5024
9494d219
PA
50252015-03-05 Pedro Alves <palves@redhat.com>
5026
5027 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
5028
a8d9763a
SM
50292015-03-04 Simon Marchi <simon.marchi@ericsson.com>
5030
5031 * lib/mi-support.exp (mi_expect_interrupt): Accept
5032 alternative event for when in all-stop mode.
5033
be9957b8
PA
50342015-03-04 Pedro Alves <palves@redhat.com>
5035
5036 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
5037
d57be0f4 50382015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
5039
5040 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
5041
c214c7cf
AA
50422015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5043
5044 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
5045 regexps for GDB's current line display, accept a hex address
5046 preceding the line number.
5047
6d74a497
AA
50482015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5049
5050 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
5051 the 'arch1' variable for "s390*-linux*" targets.
5052
511aee7c
PA
50532015-03-04 Pedro Alves <palves@redhat.com>
5054
5055 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
5056 (main): Pass missing retval argument to pthread_join call.
5057
95e50b27
PA
50582015-03-02 Pedro Alves <palves@redhat.com>
5059
5060 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
5061 (top level): Call do_test with non-stop as well.
5062
28054d69
PA
50632015-03-02 Pedro Alves <palves@redhat.com>
5064
5065 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
5066 -1.
5067
4fa5d7b4
AA
50682015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5069
5070 * gdb.arch/s390-vregs.exp: New test.
5071 * gdb.arch/s390-vregs.S: New file.
5072
97c18565
PA
50732015-02-27 Pedro Alves <palves@redhat.com>
5074
5075 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
5076 call to catch_command_errors.
5077 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
5078 catch_command_errors.
5079
a37bfa30
PA
50802015-02-27 Pedro Alves <palves@redhat.com>
5081
5082 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
5083 "true" for boolean result.
5084 * gdb.gdb/selftest.exp (test_with_self): Also accept full
5085 prototype of main.
5086
6f98576f
PA
50872015-02-27 Pedro Alves <palves@redhat.com>
5088
5089 * lib/unbuffer_output.c: New file.
5090 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
5091 (main): Call gdb_unbuffer_output.
5092
eba5ab56
YQ
50932015-02-27 Yao Qi <yao.qi@linaro.org>
5094
5095 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
5096 target.
5097
0def5aaa
DE
50982015-02-26 Doug Evans <dje@google.com>
5099
5100 * gdb.cp/class2.cc (Dbase, D): New classes.
5101 (main): New local delta.
5102 * gdb.cp/class2.exp: Test printing delta.
5103 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
5104 (dynbar): New global.
5105 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
5106
081a1c2c
JK
51072015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5108
5109 * gdb.compile/compile-ifunc.c: New file.
5110 * gdb.compile/compile-ifunc.exp: New file.
5111
2f41223f
AT
51122015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
5113
5114 * gdb.base/structs.exp: Check for correct struct on finish.
5115
03eddd80
YQ
51162015-02-26 Yao Qi <yao.qi@linaro.org>
5117
5118 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
5119 is zero.
5120
80c57053
JK
51212015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5122
5123 * gdb.arch/cordic.ko.bz2: New file.
5124 * gdb.arch/cordic.ko.debug.bz2: New file.
5125 * gdb.arch/ppc64-symtab-cordic.exp: New file.
5126
21613c12
YQ
51272015-02-25 Yao Qi <yao.qi@linaro.org>
5128
5129 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
5130 aarch64*-*-* target.
5131
d8b901ed
PA
51322015-02-23 Pedro Alves <palves@redhat.com>
5133
5134 * lib/gdb.exp (delete_breakpoints): Rewrite using
5135 gdb_test_multiple.
5136
e5b85ead
PA
51372015-02-23 Pedro Alves <palves@redhat.com>
5138
5139 * gdb.base/info-os.c: Include stdlib.h.
5140
85c3a371
DE
51412015-02-22 Doug Evans <xdje42@gmail.com>
5142
5143 PR symtab/17855
5144 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
5145 is read after symbols have been re-read.
5146 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
5147 * gdb.ada/exec_changed/second.adb (Second): Ditto.
5148
96553a0c
DE
51492015-02-21 Doug Evans <dje@google.com>
5150
5151 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
5152
97a0c697
JK
51532015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5154
5155 PR corefiles/17808
5156 * gdb.arch/i386-biarch-core.core.bz2: New file.
5157 * gdb.arch/i386-biarch-core.exp: New file.
5158
a47cd6e9
PA
51592015-02-21 Pedro Alves <palves@redhat.com>
5160
5161 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
5162 runto_main fails.
5163
c5facdc4
PA
51642015-02-20 Pedro Alves <palves@redhat.com>
5165
5166 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
5167 info probes.
5168
2db9a427
PA
51692015-02-20 Pedro Alves <palves@redhat.com>
5170
5171 * gdb.threads/multi-create-ns-info-thr.exp: New file.
5172
60fb7e9e
PA
51732015-02-20 Pedro Alves <palves@redhat.com>
5174
5175 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
5176 clean_restart before gdb_target_supports_trace.
5177
5c5019c2
PA
51782015-02-20 Pedro Alves <palves@redhat.com>
5179
5180 PR threads/18006
5181 * gdb.threads/clone-thread_db.c: New file.
5182 * gdb.threads/clone-thread_db.exp: New file.
5183
c9587f88
AT
51842015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
5185
5186 PR breakpoints/16812
5187 * gdb.base/catch-gdb-caused-signals.c: New file.
5188 * gdb.base/catch-gdb-caused-signals.exp: New file.
5189
f6a88844
JM
51902015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
5191
5192 * configure: Regenerated.
5193 * configure.ac: Use GDB_AC_TRANSFORM.
5194 * aclocal.m4: sinclude ../transform.m4.
5195
497c491b
JM
51962015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5197
5198 * lib/dtrace.exp: New file.
5199 * gdb.base/dtrace-probe.exp: Likewise.
5200 * gdb.base/dtrace-probe.d: Likewise.
5201 * gdb.base/dtrace-probe.c: Likewise.
5202 * lib/pdtrace.in: Likewise.
5203 * configure.ac: Output variables with the transformed names of
5204 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
5205 * configure: Regenerated.
5206
03e98035
JM
52072015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5208
5209 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
5210 expected message when trying to access $_probe_* convenience
5211 variables while not on a probe.
5212
63cc30e9
JK
52132015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5214
5215 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
5216
0703599a
PA
52172015-02-11 Pedro Alves <pedro@codesourcery.com>
5218
5219 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
5220 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
5221
7e60a48e
DE
52222015-02-10 Doug Evans <xdje42@gmail.com>
5223
5224 * lib/gdb.exp (gdb_load): Always return a result.
5225
01b088bc
PA
52262015-02-10 Pedro Alves <palves@redhat.com>
5227
5228 * gdb.threads/signal-sigtrap.c: New file.
5229 * gdb.threads/signal-sigtrap.exp: New file.
5230
b05ec7a5
AT
52312015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
5232
5233 * gdb.trace/no-attach-trace.c: New file.
5234 * gdb.trace/no-attach-trace.exp: New file.
5235
a2c2acaf
MW
52362015-02-09 Mark Wielaard <mjw@redhat.com>
5237
5238 * gdb.dwarf2/atomic.c: New file.
5239 * gdb.dwarf2/atomic-type.exp: Likewise.
5240
31fd9caa
MM
52412015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5242
5243 * gdb.btrace/buffer-size.exp: Update "info record" output.
5244 * gdb.btrace/delta.exp: Update "info record" output.
5245 * gdb.btrace/enable.exp: Update "info record" output.
5246 * gdb.btrace/finish.exp: Update "info record" output.
5247 * gdb.btrace/instruction_history.exp: Update "info record" output.
5248 * gdb.btrace/next.exp: Update "info record" output.
5249 * gdb.btrace/nexti.exp: Update "info record" output.
5250 * gdb.btrace/step.exp: Update "info record" output.
5251 * gdb.btrace/stepi.exp: Update "info record" output.
5252 * gdb.btrace/nohist.exp: Update "info record" output.
5253
d33501a5
MM
52542015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5255
5256 * gdb.btrace/buffer-size: New.
5257
f4abbc16
MM
52582015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5259
5260 * gdb.btrace/delta.exp: Update "info record" output.
5261 * gdb.btrace/enable.exp: Update "info record" output.
5262 * gdb.btrace/finish.exp: Update "info record" output.
5263 * gdb.btrace/instruction_history.exp: Update "info record" output.
5264 * gdb.btrace/next.exp: Update "info record" output.
5265 * gdb.btrace/nexti.exp: Update "info record" output.
5266 * gdb.btrace/step.exp: Update "info record" output.
5267 * gdb.btrace/stepi.exp: Update "info record" output.
5268 * gdb.btrace/nohist.exp: Update "info record" output.
5269
b9d61307
SM
52702015-02-06 Simon Marchi <simon.marchi@ericsson.com>
5271
5272 PR gdb/15678
5273 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
5274
e584fdbc
PA
52752015-02-06 Pedro Alves <palves@redhat.com>
5276
5277 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
5278 macro.
5279 (seconds_left, again): New globals.
5280 (main): Wait seconds_left in a 1-second sleep loop instead of
5281 sleeping 180 seconds. If 'again' is set, reset the seconds
5282 counter.
5283 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
5284 'again' in the inferior before detaching. Print the seconds left.
5285 (options): New global.
5286 (top level): Build program with -DTIMEOUT=$timeout.
5287
77f41761
PA
52882015-02-06 Pedro Alves <palves@redhat.com>
5289
5290 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
5291 determine how many seconds to pass to 'alarm'.
5292 * gdb.base/gdb-sigterm.exp (top level): Build program with
5293 -DTIMEOUT=$timeout.
5294 (do_test): Return success/failure indication. Add more verbose
5295 logging. Don't fail if 200 single steps are seen. Instead, fail
5296 when the test times out.
5297 (passes): New global.
5298 (top level): Break the testing loop if testing fails on any
5299 iteration. Use gdb_assert.
5300
b9394193
DB
53012015-02-04 Don Breazeal <donb@codesourcery.com>
5302
5303 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
5304 and initialize them.
5305 (ipc_cleanup): New function.
5306 (main): Don't declare shmid, semid, and msqid. Add a call to
5307 atexit so that we call ipc_cleanup on exit.
5308
42d9e528
PA
53092015-02-04 Pedro Alves <palves@redhat.com>
5310
5311 * boards/native-extended-gdbserver.exp: Remove any target variant
5312 specifications from the board name before clearing the isremote
5313 flag from board_info.
5314
ae6ae975
DE
53152015-01-31 Doug Evans <xdje42@gmail.com>
5316
5317 * gdb.base/maint.exp <maint print type argc>: Update expected output.
5318
cfb069a8
GB
53192015-01-31 Gary Benson <gbenson@redhat.com>
5320
5321 * gdb.base/completion.exp: Disable completion limiting for
5322 existing tests. Add new tests to check completion limiting.
5323 * gdb.linespec/ls-errs.exp: Disable completion limiting.
5324
5dd31d79
DE
53252015-01-31 Doug Evans <xdje42@gmail.com>
5326
5327 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
5328
9f050062
DE
53292015-01-31 Doug Evans <xdje42@gmail.com>
5330
5331 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
5332 entries. Duplicate file section script entries.
5333 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
5334 inlined entries. Add test for safe-path rejection.
5335 * gdb.python/py-section-script.c: Add duplicate inlined section script
5336 entries. Duplicate file section script entries.
5337 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5338 inlined entries. Add test for safe-path rejection.
5339
df25ebbd
JB
53402015-01-29 Joel Brobecker <brobecker@adacore.com>
5341
5342 * gdb.ada/disc_arr_bound: New testcase.
5343
4a0ca9ec
JB
53442015-01-29 Joel Brobecker <brobecker@adacore.com>
5345
5346 * gdb.ada/mi_var_array: New testcase.
5347
3a8b707a
DE
53482015-01-27 Doug Evans <dje@google.com>
5349
5350 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5351 Add test for objfile.filename, objfile.username after objfile
5352 has been unloaded.
5353
f8313f6e
JB
53542015-01-26 Joel Brobecker <brobecker@adacore.com>
5355
5356 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5357 the second test to print the name attribute of value
5358 returned by the call to gdb.lookup_type, and adjust
5359 the expected output accordingly.
5360
37bc665e
MW
53612015-01-25 Mark Wielaard <mjw@redhat.com>
5362
5363 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5364 * gdb.base/disp-step-fork.c: Include unistd.h.
5365 * gdb.base/siginfo-obj.c: Include stdio.h.
5366 * gdb.base/siginfo-thread.c: Likewise.
5367 * gdb.mi/non-stop.c: Include unistd.h.
5368 * gdb.mi/nsthrexec.c: Include stdio.h.
5369 * gdb.mi/pthreads.c: Include unistd.h.
5370 * gdb.modula2/unbounded1.c (main): Declare returns int.
5371 * gdb.reverse/consecutive-reverse.c: Likewise.
5372 * gdb.threads/create-fail.c: Include unistd.h.
5373 * gdb.threads/killed.c: Likewise.
5374 * gdb.threads/linux-dp.c: Likewise.
5375 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5376 * gdb.threads/non-ldr-exc-2.c: Likewise.
5377 * gdb.threads/non-ldr-exc-3.c: Likewise.
5378 * gdb.threads/non-ldr-exc-4.c: Likewise.
5379 * gdb.threads/pthreads.c: Include unistd.h.
5380 (main): Declare returns int.
5381 * gdb.threads/tls-main.c (foo): New declaration.
5382 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5383
f7e5394d
SM
53842015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5385
5386 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5387 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5388
743649fd
MW
53892015-01-15 Mark Wielaard <mjw@redhat.com>
5390
5391 * gdb.base/noreturn-return.c: New file.
5392 * gdb.base/noreturn-return.exp: New file.
5393 * gdb.base/noreturn-finish.c: New file.
5394 * gdb.base/noreturn-finish.exp: New file.
5395
198297aa
PA
53962015-01-23 Pedro Alves <palves@redhat.com>
5397
5398 * gdb.threads/continue-pending-after-query.c: New file.
5399 * gdb.threads/continue-pending-after-query.exp: New file.
5400
717cf30c
AG
54012015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5402 Simon Marchi <simon.marchi@ericsson.com>
5403
5404 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5405 * gdb.base/valgrind-db-attach.exp: Same.
5406 * gdb.base/valgrind-infcall.exp: Same.
5407 * lib/mi-support.exp (default_mi_gdb_start): Same.
5408 * lib/prompt.exp (default_prompt_gdb_start): Same.
5409 * lib/gdb.exp (default_gdb_spawn): Same.
5410 (gdb_interact): New.
5411
5412
4b62a76e
JK
54132015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5414
5415 * gdb.compile/compile.exp (pointer to jit function): New test.
5416
b4cdae6f
WW
54172015-01-17 Wei-cheng Wang <cole945@gmail.com>
5418
5419 * lib/gdb.exp (supports_process_record): Return true for
5420 powerpc*-*-linux*.
5421 (supports_reverse): Likewise.
5422
d221e7ef
DB
54232015-01-15 Don Breazeal <donb@codesourcery.com>
5424
5425 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5426 instead of checking whether the target board is remote and
5427 use spawn_wait_for_attach instead of exec/sleep.
5428 * gdb.base/attach-twice.exp: Likewise.
5429
bafffb51
JB
54302015-01-15 Joel Brobecker <brobecker@adacore.com>
5431
5432 * gdb.ada/var_arr_attrs: New testcase.
5433
5589af0e
PA
54342015-01-14 Pedro Alves <palves@redhat.com>
5435 Joel Brobecker <brobecker@adacore.com>
5436
5437 PR gdb/17525
5438 * gdb.base/bp-cmds-execution-x-script.c: New file.
5439 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5440 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5441
6c400b59
PA
54422015-01-14 Pedro Alves <palves@redhat.com>
5443
5444 PR cli/17828
5445 * gdb.base/batch-preserve-term-settings.c: New file.
5446 * gdb.base/batch-preserve-term-settings.exp: New file.
5447
e02c96a7
DE
54482015-01-13 Doug Evans <dje@google.com>
5449
5450 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5451 binary.
5452
576fd14c
JB
54532015-01-13 Joel Brobecker <brobecker@adacore.com>
5454
5455 * Makefile.in (clean mostlyclean): Do not delete *.py.
5456
04dccad0
JB
54572015-01-13 Joel Brobecker <brobecker@adacore.com>
5458
5459 * gdb.python/py-lookup-type.exp: New file.
5460
3d230f71
PA
54612015-01-12 Pedro Alves <palves@redhat.com>
5462
5463 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5464 restore GDBFLAGS before returning.
5465
7e67715d
JK
54662015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5467
5468 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5469 is_amd64_regs_target and is_x86_like_target.
5470
f2e0d4b4
DE
54712015-01-11 Doug Evans <xdje42@gmail.com>
5472
5473 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5474 is given without an explicit form.
5475 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5476 attributes.
5477 * gdb.dwarf/corrupt.exp: Ditto.
5478 * gdb.dwarf2/enum-type.exp: Ditto.
5479 * gdb.trace/entry-values.exp: Ditto.
5480 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5481
439250fb
DE
54822015-01-11 Doug Evans <xdje42@gmail.com>
5483
5484 PR gdb/15830
5485 * gdb.base/maint.exp: Remove references to "maint demangle".
5486 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5487 Add tests for explicitly specifying language to demangle.
5488 * gdb.dlang/demangle.exp: Ditto.
5489
ede9f622
PA
54902015-01-09 Pedro Alves <palves@redhat.com>
5491
5492 * gdb.threads/non-stop-fair-events.c: New file.
5493 * gdb.threads/non-stop-fair-events.exp: New file.
5494
a7b796db
PA
54952015-01-09 Pedro Alves <palves@redhat.com>
5496
5497 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5498 the global scope. Set a breakpoint after all threads are started
5499 rather than stepping over two source lines. Expect the prompt.
5500 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5501 global.
5502 (NUM): Now 15.
5503 (main): Use threads_started_barrier to wait for all threads to
5504 start. Main thread no longer calls thread_function. Exit after
5505 180 seconds.
5506 (loop): New function.
5507 (thread_function): Wait on threads_started_barrier barrier. Call
5508 'loop' at each iteration.
5509 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5510 threads have started, instead of hardcoding number of "next"
5511 steps. Use an access watchpoint instead of a write watchpoint.
5512
9665ffdd
PA
55132015-01-09 Pedro Alves <palves@redhat.com>
5514
5515 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5516 (thread_func): Wait on barrier.
5517 (main): Wait for all threads to start before stopping GDB.
5518 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5519 global.
5520 (thread1_func, thread2_func): Wait on barrier.
5521 (main): Wait for all threads to start before stopping GDB.
5522 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5523 New global.
5524 (thread1_func, thread2_func): Wait on barrier.
5525 (main): Wait for all threads to start before stopping GDB.
5526
c945a99f
PA
55272015-01-09 Pedro Alves <palves@redhat.com>
5528
5529 * gdb.threads/attach-many-short-lived-threads.c: New file.
5530 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5531
c1a747c1
PA
55322014-01-09 Pedro Alves <palves@redhat.com>
5533
5534 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5535 instead of to thread 2.
5536 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5537 Add barrier around each pthread_create call instead of around all
5538 calls.
5539 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5540 Set a break on thread_function and have the child threads hit it
5541 one at at a time.
5542
60b3033e
PA
55432015-01-09 Pedro Alves <palves@redhat.com>
5544
5545 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5546 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5547 false.
5548 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5549 checking whether the target board is remote.
5550 * gdb.multi/multi-attach.exp: Likewise.
5551 * gdb.python/py-sync-interp.exp: Likewise.
5552 * gdb.server/ext-attach.exp: Likewise.
5553 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5554 tests that need to attach, instead of checking whether the target
5555 board is remote at the top of the file.
5556
acc018ac
YQ
55572015-01-08 Yao Qi <yao@codesourcery.com>
5558
5559 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5560
50a18af8
JK
55612015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5562
5563 Fix testcase compilation.
5564 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5565
8503d6e1
JB
55662015-01-06 Joel Brobecker <brobecker@adacore.com>
5567
5568 * gdb.python/py-type.exp: Add a couple test about empty
5569 array creation, and negative-length array creation.
5570
cc73dbcc
DE
55712015-01-02 Doug Evans <xdje42@gmail.com>
5572
5573 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5574
0300bbc7
DE
55752015-01-02 Doug Evans <dje@google.com>
5576
5577 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5578
9d85a0ec
YQ
55792014-12-29 Yao Qi <yao@codesourcery.com>
5580
5581 * gdb.trace/entry-values.exp: Update comments. Rename variable
5582 bar_call_foo to returned_from_foo.
5583
87186c6a
MMN
55842014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5585
5586 PR gdb/17394
5587 * gdb.linespec/break-asm-file.c: New file.
5588 * gdb.linespec/break-asm-file.exp: New file.
5589 * gdb.linespec/break-asm-file0.s: New file.
5590 * gdb.linespec/break-asm-file1.s: New file.
5591
1bab7383
YQ
55922014-12-18 Nigel Stephens <nigel@mips.com>
5593 Maciej W. Rozycki <macro@codesourcery.com>
5594
5595 * gdb.base/float.exp: Handle the new output from "info float" on
5596 MIPS targets.
5597
1bc1068a
JK
55982014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5599
5600 Fix MinGW compilation.
5601 * gdb.compile/compile-ops.exp: Update untested message if
5602 !skip_compile_feature_tests.
5603 * gdb.compile/compile-setjmp.exp: Likewise.
5604 * gdb.compile/compile-tls.exp: Likewise.
5605 * gdb.compile/compile.exp: Likewise.
5606 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5607 supported on this host".
5608
b6615d10
DE
56092014-12-16 Doug Evans <xdje42@gmail.com>
5610
5611 * boards/stabs.exp: New file.
5612
25dda427
AA
56132014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5614
5615 * gdb.base/completion.exp: Adjust to format changes of "maint
5616 print user-registers".
5617
bf330350
CU
56182014-12-16 Catalin Udma <catalin.udma@freescale.com>
5619
5620 PR server/17457
5621 * gdb.arch/aarch64-fp.c: New file.
5622 * gdb.arch/aarch64-fp.exp: New file.
5623
395cf596
SDJ
56242014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5625
5626 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5627 r210637, r210913, r211666, r215400, r215817).
5628
5629 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5630 * dg-extract-results.py: New file.
5631 * dg-extract-results.sh: Use it if the environment seems
5632 suitable.
5633
5634 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5635
5636 * dg-extract-results.py (parse_run): Handle warnings that
5637 are printed before a test harness is run.
5638
5639 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5640
5641 * dg-extract-results.py (Named): Remove __cmp__ method.
5642 (output_variation): Use a key to sort variation.harnesses.
5643
5644 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5645
5646 * dg-extract-results.py: For Python 3, force sys.stdout to
5647 handle surrogate escape sequences.
5648 (safe_open): New function.
5649 (output_segment, main): Use it.
5650
5651 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5652
5653 * dg-extract-results.py (Prog.result_re): Include options
5654 in test name.
5655
5656 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5657
5658 * dg-extract-results.py (output_variation): Always sort if
5659 do_sum.
5660
e882ef3c
SM
56612014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5662
5663 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5664 as long as we get pagination notifications.
5665
4992aa20
JM
56662014-12-15 Jason Merrill <jason@redhat.com>
5667
5668 * Makefile.in (check-gdb.%): Restore.
5669 * README: Mention it.
5670
c1b5a1a6
JB
56712014-12-13 Joel Brobecker <brobecker@adacore.com>
5672
5673 * gdb.ada/str_uninit: New testcase.
5674
5537b577
JK
56752014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5676
5677 PR symtab/17642
5678 * gdb.base/vla-stub-define.c: New file.
5679 * gdb.base/vla-stub.c: New file.
5680 * gdb.base/vla-stub.exp: New file.
5681
bb2ec1b3
TT
56822014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5683 Jan Kratochvil <jan.kratochvil@redhat.com>
5684 Tom Tromey <tromey@redhat.com>
5685
5686 * configure.ac: Add gdb.compile/.
5687 * configure: Regenerate.
5688 * gdb.compile/Makefile.in: New file.
5689 * gdb.compile/compile-ops.exp: New file.
5690 * gdb.compile/compile-ops.c: New file.
5691 * gdb.compile/compile-tls.c: New file.
5692 * gdb.compile/compile-tls.exp: New file.
5693 * gdb.compile/compile-constvar.S: New file.
5694 * gdb.compile/compile-constvar.c: New file.
5695 * gdb.compile/compile-mod.c: New file.
5696 * gdb.compile/compile-nodebug.c: New file.
5697 * gdb.compile/compile-setjmp-mod.c: New file.
5698 * gdb.compile/compile-setjmp.c: New file.
5699 * gdb.compile/compile-setjmp.exp: New file.
5700 * gdb.compile/compile-shlib.c: New file.
5701 * gdb.compile/compile.c: New file.
5702 * gdb.compile/compile.exp: New file.
5703 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5704
4ff709eb
TT
57052014-12-12 Tom Tromey <tromey@redhat.com>
5706
5707 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5708 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5709
6dddd6a5
DE
57102014-12-12 Doug Evans <dje@google.com>
5711
5712 * lib/gdb-python.exp (get_python_valueof): New function.
5713 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5714
71c24708
AA
57152014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5716
5717 * gdb.base/completion.exp: Add test for completion of "info
5718 registers ".
5719
3e29f34a
MR
57202014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5721
5722 * gdb.base/func-ptrs.c: New file.
5723 * gdb.base/func-ptrs.exp: New file.
5724
fc126975
SM
57252014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5726
5727 PR breakpoints/17012
5728 * gdb.base/dprintf-detach.c: New file.
5729 * gdb.base/dprintf-detach.exp: New file.
5730
0a46d518
SM
57312014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5732
5733 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5734 * lib/gdb.exp (target_is_gdbserver): New procedure.
5735
a0be3e44
DE
57362014-12-08 Doug Evans <dje@google.com>
5737
5738 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5739
df1b803a
YQ
57402014-12-05 Yao Qi <yao@codesourcery.com>
5741
5742 * gdb.guile/scm-error.exp: Remove the third argument to
5743 gdb_remote_download.
5744 * gdb.guile/scm-frame-args.exp: Likewise.
5745 * gdb.guile/scm-section-script.exp: Likewise.
5746
ddb9f679
YQ
57472014-12-05 Yao Qi <yao@codesourcery.com>
5748
5749 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5750
86e4ed39
DE
57512014-12-04 Doug Evans <dje@google.com>
5752
5753 * gdb.python/py-objfile.exp: Add tests for
5754 objfile.add_separate_debug_file.
5755
7c50a931
DE
57562014-12-04 Doug Evans <dje@google.com>
5757
5758 * lib/gdb.exp (get_build_id): New function.
5759 (build_id_debug_filename_get): Rewrite to use it.
5760 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5761
621661e3
MR
57622014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5763
5764 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5765 `method(long)', not just 0x0.
5766 * gdb.cp/nsalias.exp: Align code labels to 4.
5767 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5768 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5769 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5770 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5771 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5772 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5773
29f0c3b7
DE
57742014-12-02 Doug Evans <dje@google.com>
5775
e1e061e7 5776 PR symtab/17602
29f0c3b7 5777 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 5778 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
5779 * gdb.cp/anon-ns.exp: Update.
5780
162078c8
NB
57812014-12-02 Nick Bull <nicholaspbull@gmail.com>
5782
5783 * gdb.python/py-events.py (inferior_call_handler): New.
5784 (register_changed_handler, memory_changed_handler): New.
5785 (test_events.invoke): Register new handlers.
5786 * gdb.python/py-events.exp: Add tests for inferior call,
5787 memory_changed and register_changed events.
5788
fdb09caf
AA
57892014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5790
5791 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5792 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5793 if the linker doesn't understand this.
5794
55cfb2c4
SM
57952014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5796
5797 * gdb.python/python.exp: Change expected reply to help().
5798
9e8cd6df
YQ
57992014-12-01 Yao Qi <yao@codesourcery.com>
5800
5801 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5802 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5803 * configure: Re-generated.
5804
6c659fc2
SC
58052014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5806
5807 * gdb.cp/chained-calls.cc: New file.
5808 * gdb.cp/chained-calls.exp: New file.
5809 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5810
d7fc3181
SM
58112014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5812
5813 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5814 * gdb.dwarf2/symtab-producer.exp: Same.
5815 * gdb.gdb/python-interrupts.exp: Same.
5816 * gdb.gdb/python-selftest.exp: Same.
5817 * gdb.python/py-linetable.exp: Same.
5818 * gdb.python/py-type.exp: Same.
5819 * gdb.python/py-value-cc.exp: Same.
5820 * gdb.python/py-value.exp: Same.
5821
10e79639
YQ
58222014-11-28 Yao Qi <yao@codesourcery.com>
5823
5824 * gdb.base/break-probes.exp: Match library name prefixed with
5825 sysroot.
5826
f28a0564
SM
58272014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5828
5829 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5830 test expected output. Add parentheses for the call to print.
5831 Remove L suffix from integers.
5832
3fe1ce1d
DE
58332014-11-26 Doug Evans <dje@google.com>
5834
5835 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5836
84429e27
YQ
58372014-11-22 Yao Qi <yao@codesourcery.com>
5838
5839 * gdb.trace/entry-values.c: Remove asms.
5840 (foo): Add foo_label.
5841 (bar): Add bar_label.
5842 * gdb.trace/entry-values.exp: Remove code computing foo's
5843 length and bar's length.
5844 (Dwarf::assemble): Invoke function_range for bar and use
5845 MACRO_AT_func for foo.
5846
26741859
YQ
58472014-11-22 Yao Qi <yao@codesourcery.com>
5848
5849 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5850 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5851 Use .Lgcc43_procstart instead of gcc43.
5852
45e44d27
JB
58532014-11-21 Joel Brobecker <brobecker@adacore.com>
5854
5855 * gdb.ada/n_arr_bound: New testcase.
5856
458c8db8
SDJ
58572014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5858
5859 PR breakpoints/10737
5860 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5861 test_catch_syscall_multi_arch.
5862 (test_catch_syscall_multi_arch): New function.
5863
43f3e411
DE
58642014-11-20 Doug Evans <xdje42@gmail.com>
5865
5866 * gdb.base/maint.exp: Update expected output.
5867
0d7b2549
AA
58682014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5869
5870 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5871 4-byte instruction on S390.
5872
8908fca5
JB
58732014-11-19 Joel Brobecker <brobecker@adacore.com>
5874
5875 * gdb.ada/arr_arr: New testcase.
5876
4a46959e
JB
58772014-11-19 Joel Brobecker <brobecker@adacore.com>
5878
5879 * gdb.ada/pkd_arr_elem: New Testcase.
5880
470e2f4e
LM
58812014-11-18 Luis Machado <lgustavo@codesourcery.com>
5882
5883 * gdb.reverse/break-precsave: Expect completion message for
5884 core file reads.
5885 * gdb.reverse/consecutive-precsave.exp: Likewise.
5886 * gdb.reverse/finish-precsave.exp: Likewise.
5887 * gdb.reverse/i386-precsave.exp: Likewise.
5888 * gdb.reverse/machinestate-precsave.exp: Likewise.
5889 * gdb.reverse/sigall-precsave.exp: Likewise.
5890 * gdb.reverse/solib-precsave.exp: Likewise.
5891 * gdb.reverse/step-precsave.exp: Likewise.
5892 * gdb.reverse/until-precsave.exp: Likewise.
5893 * gdb.reverse/watch-precsave.exp: Likewise.
5894
a267f3ad
AA
58952014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5896
5897 * gdb.base/bp-permanent.c: Include unistd.h.
5898 * gdb.python/py-framefilter-mi.c (main): Add return type.
5899 * gdb.python/py-framefilter.c (main): Likewise.
5900 * gdb.trace/actions-changed.c (main): Likewise.
5901
12084a9a
AA
59022014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5903
5904 * gdb.mi/until.c: Add eye-catchers.
5905 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5906 line numbers.
5907
dc7e1a77
AA
59082014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5909
5910 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5911 function header variants in break1.c.
5912 * gdb.base/ena-dis-br.exp: Likewise.
5913 * gdb.base/hbreak2.exp: Likewise.
5914 * gdb.reverse/until-precsave.exp: Drop references to removed
5915 non-prototype function header variants in ur1.c.
5916 * gdb.reverse/until-reverse.exp: Likewise.
5917
41c77605
PM
59182014-11-17 Petr Machata <pmachata@redhat.com>
5919
5920 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5921 ${_cu_offset_size} bytes abbrev offset.
5922
34248c3a
DE
59232014-11-15 Doug Evans <xdje42@gmail.com>
5924
5925 PR symtab/17559
5926 * gdb.base/line-symtabs.exp: New file.
5927 * gdb.base/line-symtabs.c: New file.
5928 * gdb.base/line-symtabs.h: New file.
5929
646da059
YQ
59302014-11-14 Yao Qi <yao@codesourcery.com>
5931
5932 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5933 (func): Add label func_label.
5934 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5935 Replace low_pc and high_pc with MACRO_AT_range.
5936 Replace name, low_pc and high_pc with MACRO_AT_func.
5937
9301ebe6
YQ
59382014-11-14 Yao Qi <yao@codesourcery.com>
5939
5940 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5941 Replace name, low_pc and high_pc with MACRO_AT_func.
5942
f166b542
YQ
59432014-11-14 Yao Qi <yao@codesourcery.com>
5944
5945 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5946 produce debug information.
5947 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5948
0f6e71e3
YQ
59492014-11-14 Yao Qi <yao@codesourcery.com>
5950
5951 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5952 object and get function length.
5953 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5954 with MACRO_AT_func.
5955 (top-level): Replace gdb_compile and clean_restart with
5956 prepare_for_testing.
5957 * gdb.dwarf2/main.c (main): Add label main_label.
5958
876c4df9
YQ
59592014-11-14 Yao Qi <yao@codesourcery.com>
5960
5961 * lib/dwarf.exp (function_range): New procedure.
5962 (Dwarf::_handle_macro_at_func): New procedure.
5963 (Dwarf::_handle_macro_at_range): New procedure.
5964 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5965
02ad9cf1
YQ
59662014-11-14 Yao Qi <yao@codesourcery.com>
5967
5968 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5969 (_handle_attribute): New procedure.
5970
a59add0c
AA
59712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5972
5973 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5974 * gdb.base/call-sc.c (zed): Likewise.
5975 * gdb.base/checkpoint.c (main): Likewise.
5976 * gdb.base/dump.c (main): Likewise.
5977 * gdb.base/gcore.c (main): Likewise.
5978 * gdb.base/huge.c (main): Likewise.
5979 * gdb.base/multi-forks.c (main): Likewise.
5980 * gdb.base/pr10179-a.c (main): Likewise.
5981 * gdb.base/savedregs.c (main): Likewise.
5982 * gdb.base/sigaltstack.c (main): Likewise.
5983 * gdb.base/siginfo.c (main): Likewise.
5984 * gdb.base/structs.c (zed): Likewise.
5985 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5986 * gdb.mi/mi-syn-frame.c (main): Likewise.
5987 * gdb.mi/until.c (foo, main): Likewise.
5988 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5989 * gdb.base/solib-weak.c (foo): Declare.
5990 * gdb.base/attach-twice.c: Include stdio.h.
5991 * gdb.base/weaklib1.c: Likewise.
5992 * gdb.base/weaklib2.c: Likewise.
5993 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5994 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5995 unistd.h.
5996 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5997 * gdb.mi/mi-exit-code.c: Likewise.
5998 * gdb.base/break-interp-lib.c: Include string.h.
5999 * gdb.base/coremaker.c: Likewise.
6000 * gdb.base/testenv.c: Likewise.
6001 * gdb.python/py-finish-breakpoint.c: Likewise.
6002 * gdb.base/inferior-died.c: Include sys/wait.h.
6003 * gdb.base/fileio.c: Include time.h.
6004 * gdb.base/async-shell.c: Include unistd.h.
6005 * gdb.base/dprintf-non-stop.c: Likewise.
6006 * gdb.base/info-os.c: Likewise.
6007 * gdb.mi/mi-console.c: Likewise.
6008 * gdb.mi/watch-nonstop.c: Likewise.
6009 * gdb.python/py-events.c: Likewise.
6010 * gdb.base/async.c (baz): Move up before its invocation.
6011 * gdb.base/code_elim2.c (my_global_func): Likewise.
6012 * gdb.base/skip-solib-lib.c (multiply): Likewise.
6013 * gdb.base/advance.c (func2): Likewise.
6014
3b5d5997
AA
60152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6016
6017 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
6018 variant.
6019 * gdb.base/annota3.c: Likewise.
6020 * gdb.base/async.c: Likewise.
6021 * gdb.base/average.c: Likewise.
6022 * gdb.base/call-ar-st.c: Likewise.
6023 * gdb.base/call-rt-st.c: Likewise.
6024 * gdb.base/call-sc.c: Likewise.
6025 * gdb.base/call-strs.c: Likewise.
6026 * gdb.base/ending-run.c: Likewise.
6027 * gdb.base/execd-prog.c: Likewise.
6028 * gdb.base/exprs.c: Likewise.
6029 * gdb.base/foll-exec.c: Likewise.
6030 * gdb.base/foll-fork.c: Likewise.
6031 * gdb.base/foll-vfork.c: Likewise.
6032 * gdb.base/funcargs.c: Likewise.
6033 * gdb.base/gcore.c: Likewise.
6034 * gdb.base/jump.c: Likewise.
6035 * gdb.base/langs0.c: Likewise.
6036 * gdb.base/langs1.c: Likewise.
6037 * gdb.base/langs2.c: Likewise.
6038 * gdb.base/mips_pro.c: Likewise.
6039 * gdb.base/nodebug.c: Likewise.
6040 * gdb.base/opaque0.c: Likewise.
6041 * gdb.base/opaque1.c: Likewise.
6042 * gdb.base/recurse.c: Likewise.
6043 * gdb.base/run.c: Likewise.
6044 * gdb.base/scope0.c: Likewise.
6045 * gdb.base/scope1.c: Likewise.
6046 * gdb.base/setshow.c: Likewise.
6047 * gdb.base/setvar.c: Likewise.
6048 * gdb.base/shmain.c: Likewise.
6049 * gdb.base/shr1.c: Likewise.
6050 * gdb.base/shr2.c: Likewise.
6051 * gdb.base/sigall.c: Likewise.
6052 * gdb.base/signals.c: Likewise.
6053 * gdb.base/so-indr-cl.c: Likewise.
6054 * gdb.base/solib2.c: Likewise.
6055 * gdb.base/structs.c: Likewise.
6056 * gdb.base/sum.c: Likewise.
6057 * gdb.base/vforked-prog.c: Likewise.
6058 * gdb.base/watchpoint.c: Likewise.
6059 * gdb.reverse/shr2.c: Likewise.
6060 * gdb.reverse/until-reverse.c: Likewise.
6061 * gdb.reverse/ur1.c: Likewise.
6062 * gdb.reverse/watch-reverse.c: Likewise.
6063
066a77c5
AA
60642014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6065
6066 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
6067 variant.
6068 * gdb.base/sepdebug.exp: Drop references to removed code.
6069
4f204ea5
AA
60702014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6071
6072 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
6073 variant. Preserve original line numbering.
6074 * gdb.base/list1.c: Likewise.
6075
3b377a3a
AA
60762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6077
6078 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
6079 variant.
6080 * gdb.base/break1.c: Likewise.
6081 * gdb.base/break.exp: Drop references to removed code.
6082
e444df73
AA
60832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6084
6085 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
6086 variant.
6087
8008f2a7
AA
60882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6089
6090 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
6091
a5a06887
AA
60922014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6093
6094 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
6095 logic into perform_all_tests() and invoke it with and without
6096 function header prototypes.
6097 (do_function_calls): Remove conditional XFAIL for PR 5318.
6098 (rerun_and_prepare): Remove duplicate code.
6099 (perform_all_tests): New. Main logic moved here.
6100
44dba9b9
AA
61012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6102
6103 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
6104 code guarded by #ifdef NO_PROTOTYPES.
6105 (t_double_many_args): Likewise.
6106 (DEF_FUNC_MANY_ARGS_1): Likewise.
6107 (DEF_FUNC_VALUES_1): Likewise.
6108 (t_structs_ldc): Renamed from t_structs_fc in conditional code
6109 guarded by #ifdef PROTOTYPES.
6110
d1fbcd56
AA
61112014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6112
6113 * gdb.mi/mi-console.c: Add eye-catcher.
6114 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
6115 instead of literal line number.
6116
b0e59b8f
AA
61172014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6118
6119 * gdb.base/shr2.c: Add eye-catcher.
6120 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
6121 line number.
6122
78f98cca
AA
61232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6124
6125 * gdb.base/jump.c: Add eye-catchers.
6126 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
6127 numbers.
6128
58fa2af0
AA
61292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6130
6131 * gdb.base/execd-prog.c: Add eye-catchers.
6132 * gdb.base/foll-exec.c: Likewise.
6133 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
6134 line numbers.
6135
04e5059b
AA
61362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6137
6138 * gdb.base/ending-run.c: Add eye-catchers.
6139 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
6140 literal line numbers.
6141
dbfdb174
AA
61422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6143
6144 * gdb.base/call-rt-st.c: Add eye-catchers.
6145 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
6146 literal line numbers.
6147
888a2ade
AA
61482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6149
6150 * gdb.base/call-ar-st.c: Add eye-catchers.
6151 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
6152 literal line numbers.
6153
6acc2dde
AA
61542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6155
6156 * gdb.base/average.c: Add eye-catchers.
6157 * gdb.base/sum.c: Likewise.
6158 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
6159 regexps dynamically.
6160
9ecfcd1d
AA
61612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6162
6163 * gdb.base/solib1.c: Add eye-catchers.
6164 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
6165 literal line numbers.
6166
78708b7c
PA
61672014-11-12 Pedro Alves <palves@redhat.com>
6168
6169 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
6170 leader has exited.
6171
af48d08f
PA
61722014-11-12 Pedro Alves <palves@redhat.com>
6173
6174 * gdb.arch/i386-bp_permanent.c: New file.
6175 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
6176 (srcfile): Set to i386-bp_permanent.c.
6177 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
6178 that stepi does not execute the 'leave' instruction, instead of
6179 testing it does execute.
6180 * gdb.base/bp-permanent.c: New file.
6181 * gdb.base/bp-permanent.exp: New file.
6182
af3768e9
DE
61832014-11-10 Doug Evans <xdje42@gmail.com>
6184
6185 PR symtab/17564
6186 * gdb.base/symtab-search-order.exp: New file.
6187 * gdb.base/symtab-search-order.c: New file.
6188 * gdb.base/symtab-search-order-1.c: New file.
6189 * gdb.base/symtab-search-order-shlib-1.c: New file.
6190
9de00a4a
PA
61912014-11-07 Pedro Alves <palves@redhat.com>
6192
6193 PR gdb/17511
6194 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
6195 i?86-*-linux*.
6196
e0f52461
SC
61972014-11-03 Siva Chandra Reddy <sivachandra@google.com>
6198
6199 PR c++/17494
6200 * gdb.cp/pr17494.cc: New file.
6201 * gdb.cp/pr17494.exp: New file.
6202
6ce8c980
YQ
62032014-11-02 Yao Qi <yao@codesourcery.com>
6204
6205 * gdb.python/python.exp: Get working directory and match the
6206 output of "set extended-prompt \\w " with it.
6207
02be9a71
DE
62082014-10-30 Doug Evans <dje@google.com>
6209
6210 * gdb.python/py-objfile.exp: Add tests for setting random attributes
6211 in objfiles.
6212 * gdb.python/py-progspace.exp: Add tests for setting random attributes
6213 in progspaces.
6214
3bdff46b
LM
62152014-10-30 Janis Johnson <janisjo@codesourcery.com>
6216
6217 * gdb.base/fullpath-expand.exp: Skip for a remote host.
6218 * gdb.base/realname-expand.exp: Likewise.
6219 * gdb.linespec/macro-relative.exp: Likewise.
6220
ab917dfb
PA
62212014-10-29 Pedro Alves <palves@redhat.com>
6222
6223 PR gdb/17408
6224 * gdb.threads/schedlock.c (some_function): New function.
6225 (call_function): New global.
6226 (MAYBE_CALL_SOME_FUNCTION): New macro.
6227 (thread_function): Call it.
6228 * gdb.threads/schedlock.exp (get_args): Add description parameter,
6229 and use it instead of a global counter. Adjust all callers.
6230 (get_current_thread): Use "find current thread" for test message
6231 here rather than having all callers pass down the same string.
6232 (goto_loop): New procedure, factored out from ...
6233 (my_continue): ... this.
6234 (step_ten_loops): Change parameter from test message to command to
6235 use. Adjust.
6236 (list_count): Delete global.
6237 (check_result): New procedure, factored out from duplicate top
6238 level code.
6239 (continue tests): Wrap in with_test_prefix.
6240 (test_step): New procedure, factored out from duplicate top level
6241 code.
6242 (top level): Test "step" in combination with all scheduler-locking
6243 modes. Test "next" in combination with all scheduler-locking
6244 modes, and in combination with stepping over a function call or
6245 not.
6246 * gdb.threads/next-bp-other-thread.c: New file.
6247 * gdb.threads/next-bp-other-thread.exp: New file.
6248
d3d4baed
PA
62492014-10-29 Pedro Alves <palves@redhat.com>
6250
6251 PR python/17372
6252 * gdb.python/python.exp: Test a multi-line command that spawns
6253 interactive Python.
6254 * gdb.base/multi-line-starts-subshell.exp: New file.
6255
563e8d85
YQ
62562014-10-29 Yao Qi <yao@codesourcery.com>
6257
6258 * gdb.base/fileio.exp: Make directories on host.
6259
0ea4d52e
YQ
62602014-10-29 Yao Qi <yao@codesourcery.com>
6261
6262 * gdb.base/fileio.c (test_write): Close the file.
6263
7f5ef605
PA
62642014-10-28 Pedro Alves <palves@redhat.com>
6265
6266 PR gdb/12623
6267 * gdb.base/sigstep.c (no_handler): New global.
6268 (main): If 'no_handler is true, set the signal handlers to
6269 SIG_IGN.
6270 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
6271 with_sw_watch and no_handler parameters. Handle them.
6272 (top level) <stepping over handler when stopped at a breakpoint
6273 test>: Add a test axis for testing with a software watchpoint, and
6274 another for testing with the signal handler set to SIG_IGN.
6275 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
6276 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
6277
abbdbd03
PA
62782014-10-28 Pedro Alves <palves@redhat.com>
6279
6280 PR gdb/17511
6281 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
6282 * gdb.base/sigstep.exp (other_handler_location): New global.
6283 (advance): Support stepping into the signal handler, and running
6284 commands while in the handler.
6285 (in_handler_map): New global.
6286 (top level): In the advance test, add combinations for getting
6287 into the handler with stepping commands, and for running commands
6288 in the handler. Add comment descripting the advancei tests.
6289
1df4399f
PA
62902014-10-28 Pedro Alves <palves@redhat.com>
6291
6292 * gdb.base/sigstep.exp: Use build_executable instead of
6293 prepare_for_testing.
6294 (top level): Move code that starts GDB, runs to main and creates a
6295 display to ...
6296 (restart): ... this new procedure.
6297 (top level): Move backtrace from signal handler test to ...
6298 (validate_backtrace): ... this new procedure.
6299 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
6300 with_test_prefix. Always restart GDB.
6301 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
6302 with_test_prefix. Always restart GDB. No need to delete
6303 breakpoints after the test.
6304 (test_skip_handler): Remove prefix parameter.
6305 (skip_over_handler, breakpoint_to_handler)
6306 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
6307 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
6308 restart GDB. No need to delete breakpoints after the test.
6309 (top level): Use foreach to call the test procedures with
6310 different commands.
6311
a5b6e449
PA
63122014-10-28 Pedro Alves <palves@redhat.com>
6313
6314 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
6315 instead of GNATS numbers.
6316 * gdb.base/sigbpt.exp: Likewise.
6317 * gdb.base/siginfo.exp: Likewise.
6318 * gdb.base/sigstep.exp: Likewise.
6319
e5f8a7cc
PA
63202014-10-27 Pedro Alves <palves@redhat.com>
6321
6322 * gdb.base/sigstep.c (dummy): New global.
6323 (main): Issue a couple writes to the new global.
6324 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
6325 procedures.
6326 (skip_over_handler): Use test_skip_handler.
6327 (top level): Call skip_over_handler for stepi and nexti too.
6328 (breakpoint_over_handler): Use test_skip_handler.
6329 (top level): Call breakpoint_over_handler for stepi and nexti too.
6330
763905a3
YQ
63312014-10-27 Yao Qi <yao@codesourcery.com>
6332
6333 * gdb.trace/tfile.c (adjust_function_address)
6334 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6335 function descriptor.
6336
6f259a23
DB
63372014-10-24 Don Breazeal <donb@codesourcery.com>
6338
6339 * gdb.base/foll-fork.exp (test_follow_fork,
6340 catch_fork_child_follow): Check for updated fork messages emitted
6341 from infrun.c.
6342 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6343 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6344 vfork_and_exec_child_follow_through_step): Check for updated vfork
6345 messages emitted from infrun.c.
6346
09dd9a69
PA
63472014-10-24 Pedro Alves <palves@redhat.com>
6348
6349 * gdb.base/corefile.exp: Remove references to ultrix.
6350 * gdb.base/interrupt.exp: Likewise.
6351 * gdb.base/whatis.exp: Likewise.
6352 * gdb.gdb/selftest.exp: Likewise.
6353 * gdb.threads/manythreads.exp: Likewise.
6354 * gdb.threads/print-threads.exp: Likewise.
6355 * gdb.threads/pthreads.exp:: Likewise.
6356 * gdb.threads/schedlock.exp: Likewise.
6357
3433cfa5
SC
63582014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6359
6360 * gdb.cp/non-trivial-retval.cc: Add a test case.
6361 * gdb.cp/non-trivial-retval.exp: Add a test.
6362
092f880b
YQ
63632014-10-20 Yao Qi <yao@codesourcery.com>
6364
6365 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6366 * gdb.python/py-objfile-script-gdb.py: New file.
6367 * gdb.python/py-objfile-script.exp: Update reference to
6368 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6369 of remote_download. Remove the dest file.
6370
acbdb7f3
YQ
63712014-10-20 Yao Qi <yao@codesourcery.com>
6372
6373 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6374 * gdb.base/step-line.exp: Likewise.
6375 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6376 * gdb.dwarf2/dw2-basic.exp: Likewise.
6377 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6378 * gdb.dwarf2/dw2-filename.exp: Likewise.
6379 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6380 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6381 * gdb.dwarf2/dw2-producer.exp: Likewise.
6382 * gdb.dwarf2/mac-fileno.exp: Likewise.
6383 * gdb.python/py-frame-args.exp: Likewise.
6384 * gdb.python/py-framefilter.exp: Likewise.
6385 * gdb.python/py-mi.exp: Likewise.
6386 * gdb.python/py-objfile-script.exp: Likewise
6387 * gdb.python/py-pp-integral.exp: Likewise.
6388 * gdb.python/py-pp-re-notag.exp: Likewise.
6389 * gdb.python/py-prettyprint.exp: Likewise.
6390 * gdb.python/py-section-script.exp: Likewise.
6391 * gdb.python/py-typeprint.exp: Likewise.
6392 * gdb.python/py-xmethods.exp: Likewise.
6393 * gdb.stabs/weird.exp: Likewise.
6394 * gdb.xml/tdesc-regs.exp: Likewise.
6395
bd286a29
KCY
63962014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6397
6398 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6399 (out_cu): Use addr_len for the size of addresses.
6400 (out_line): Likewise. Size DW_LNE_set_address instruction
6401 according to addr_len.
6402 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6403 (FUNC): Add START_INSNS to definition.
6404
673dc4a0
YQ
64052014-10-18 Yao Qi <yao@codesourcery.com>
6406
6407 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6408 gdb_has_argv0 return true.
6409 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6410 check [target_info exists noargs], check [gdb_has_argv0]
6411 instead.
6412 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6413 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6414 procedures.
6415
4ffbba72
DE
64162014-10-17 Doug Evans <dje@google.com>
6417
6418 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6419 event.
6420 * gdb.python/py-events.py: Add clear_objfiles event.
6421
d096d8c1
DE
64222014-10-17 Doug Evans <dje@google.com>
6423
6424 * gdb.python/py-objfile.exp: Test progspace attribute.
6425
a80db015
LM
64262014-10-17 Luis Machado <lgustavo@codesourcery.com>
6427
6428 * gdb.guile/scm-breakpoint.exp: Do not assume any
6429 directory separators when matching source file paths.
6430 * gdb.python/py-breakpoint.exp: Likewise.
6431 * gdb.reverse/break-precsave.exp: Likewise.
6432 * gdb.reverse/break-reverse.exp: Likewise.
6433 * gdb.reverse/consecutive-precsave.exp: Likewise.
6434 * gdb.reverse/finish-precsave.exp: Likewise.
6435 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6436 * gdb.reverse/finish-reverse.exp: Likewise.
6437 * gdb.reverse/i386-precsave.exp: Likewise.
6438 * gdb.reverse/i387-env-reverse.exp: Likewise.
6439 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6440 * gdb.reverse/machinestate-precsave.exp: Likewise.
6441 * gdb.reverse/machinestate.exp: Likewise.
6442 * gdb.reverse/sigall-precsave.exp: Likewise.
6443 * gdb.reverse/solib-precsave.exp: Likewise.
6444 * gdb.reverse/step-precsave.exp: Likewise.
6445 * gdb.reverse/until-precsave.exp: Likewise.
6446 * gdb.reverse/watch-precsave.exp: Likewise.
6447 * gdb.reverse/watch-reverse.exp: Likewise.
6448
b22089ab
YQ
64492014-10-17 Yao Qi <yao@codesourcery.com>
6450
6451 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6452 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6453
6c4486e6
PA
64542014-10-17 Pedro Alves <palves@redhat.com>
6455
6456 PR gdb/17471
6457 * gdb.base/bg-execution-repeat.c: New file.
6458 * gdb.base/bg-execution-repeat.exp: New file.
6459
0ff33695
PA
64602014-10-17 Pedro Alves <palves@redhat.com>
6461
6462 PR gdb/17300
6463 * gdb.base/continue-all-already-running.c: New file.
6464 * gdb.base/continue-all-already-running.exp: New file.
6465
6fdebc3d
PA
64662014-10-17 Pedro Alves <palves@redhat.com>
6467
6468 PR gdb/17472
6469 * gdb.base/annota-input-while-running.c: New file.
6470 * gdb.base/annota-input-while-running.exp: New file.
6471
32a8097b
PA
64722014-10-17 Pedro Alves <palves@redhat.com>
6473
6474 * gdb.base/callfuncs.exp: emove references to osf.
6475 * gdb.base/sigall.exp: Likewise.
6476 * gdb.gdb/selftest.exp: Likewise.
6477 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6478 * gdb.mi/non-stop.c: Likewise.
6479 * gdb.mi/pthreads.c: Likewise.
6480 * gdb.reverse/sigall-precsave.exp: Likewise.
6481 * gdb.reverse/sigall-reverse.exp: Likewise.
6482 * gdb.threads/pthreads.c: Likewise.
6483 * gdb.threads/pthreads.exp: Likewise.
6484
7a3517ff
YQ
64852014-10-17 Yao Qi <yao@codesourcery.com>
6486
6487 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6488 check 'target_info exists noargs'.
6489 (test_command_prompt_position): Likewise.
6490 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6491 Remove "set args".
6492 (progvar_simple_while_test): Likewise.
6493 (progvar_complex_if_while_test): Likewise.
6494 (if_while_breakpoint_command_test): Likewise.
6495 (infrun_breakpoint_command_test): Likewise.
6496 (breakpoint_command_test): Likewise.
6497 (watchpoint_command_test): Likewise.
6498 (bp_deleted_in_command_test): Likewise.
6499 (temporary_breakpoint_commands): Likewise.
6500
bb99c472
YQ
65012014-10-16 Yao Qi <yao@codesourcery.com>
6502
6503 * gdb.base/remotetimeout.exp: Remove noargs checking.
6504
7c16b83e
PA
65052014-10-15 Pedro Alves <palves@redhat.com>
6506
6507 PR breakpoints/9649
6508 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6509 * gdb.base/breakpoint-in-ro-region.exp
6510 (probe_target_hardware_step): New procedure.
6511 (top level): Probe hardware stepping and hardware breakpoint
6512 support. Test stepping through a read-only region, with both
6513 "breakpoint auto-hw" on and off and both "always-inserted" on and
6514 off.
6515
35a49624
IB
65162014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6517
6518 * gdb.dlang/demangle.exp: Update for demangling changes.
6519
2d1c107c
SC
65202014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6521
6522 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6523 * gdb.cp/non-trivial-retval.exp: Add new tests.
6524
778811d5
SC
65252014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6526
6527 PR c++/13403
6528 PR c++/15154
6529 * gdb.cp/non-trivial-retval.cc: New file.
6530 * gdb.cp/non-trivial-retval.exp: New file.
6531
10c5f0a8
YQ
65322014-10-15 Yao Qi <yao@codesourcery.com>
6533
6534 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6535 remote host.
6536
65d7b369
YQ
65372014-10-15 Yao Qi <yao@codesourcery.com>
6538
6539 * gdb.python/py-symbol.exp: Match file base name if host is
6540 remote, otherwise match file name with dir name.
6541 * gdb.python/py-symtab.exp: Likewise.
6542 * gdb.python/python.exp: Likewise.
6543
46dc1394
YQ
65442014-10-15 Yao Qi <yao@codesourcery.com>
6545
6546 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6547 pattern.
6548 * gdb.python/py-symtab.exp: Likewise.
6549 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6550 locationn.
6551
c40cc657
JB
65522014-10-14 Joel Brobecker <brobecker@adacore.com>
6553
6554 * gdb.ada/addr_arith: New testcase.
6555
2abf49e1
MR
65562014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6557
6558 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6559 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6560 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6561 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6562
f7088df3
SDJ
65632014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6564
6565 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6566 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6567 * gdb.arch/stap-eval-lang-ada.exp: New file.
6568
4dc06805
YQ
65692014-10-14 Yao Qi <yao@codesourcery.com>
6570
6571 * gdb.mi/mi-var-child.c (nothing1): New function.
6572 (nothing2): New function.
6573 (do_children_tests): Set function pointers by nothing1 and
6574 nothing2.
6575 * gdb.mi/mi-var-child.exp: Step over new added statements.
6576 Update test to match the new output.
6577 * gdb.mi/var-cmd.c (nothing1): New function.
6578 (nothing2): New function.
6579 (do_children_tests): Set function pointers by nothing1 and
6580 nothing2.
6581 * gdb.mi/mi-var-display.exp: Update test to match output.
6582 Step to the line specified by $line_dct_nothing.
6583 Increase the number of lines to step.
6584
46a93de2
YQ
65852014-10-14 Yao Qi <yao@codesourcery.com>
6586
6587 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6588 tests.
6589 * gdb.mi/mi2-var-child.exp: Likewise.
6590
14ea52ee
DE
65912014-10-13 Doug Evans <dje@google.com>
6592
6593 * gdb.python/py-objfile.exp: Change name of file name test.
6594
e5c6e92b
DE
65952014-10-13 Doug Evans <dje@google.com>
6596
6597 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6598 from the start of the CU.
6599
c780cc2f
JK
66002014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6601 Yao Qi <yao@codesourcery.com>
6602
6603 Fix "save breakpoints" for "catch" command.
6604 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6605 Remove -nonewline. Match also the added "main" line.
6606
99894e11
JK
66072014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6608
6609 Fix "save breakpoints" for "disable $bpnum" command.
6610 * gdb.base/save-bp.c (main): Add label.
6611 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6612
6e1ac5a3
JK
66132014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6614
6615 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6616
754dd2b0
YQ
66172014-10-11 Yao Qi <yao@codesourcery.com>
6618
6619 * gdb.server/server-kill.exp: Execute command
6620 "set remote trace-status-packet on" before "tstatus".
6621
f90183d7
YQ
66222014-10-11 Yao Qi <yao@codesourcery.com>
6623
6624 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6625 (main): Call getppid.
6626 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6627 and continue to it. Read variable "server_pid".
6628
bf40a607
YQ
66292014-10-11 Yao Qi <yao@codesourcery.com>
6630
6631 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6632
052ca370
YQ
66332014-10-11 Yao Qi <yao@codesourcery.com>
6634
6635 * gdb.threads/thread-find.exp: Don't execute command
6636 "info threads".
6637 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6638 * gdb.threads/linux-dp.exp: Don't check the condition
6639 $threads_created equals to zero.
6640
3831839c
PA
66412014-10-10 Pedro Alves <palves@redhat.com>
6642
6643 * gdb.base/bigcore.exp: Remove references to IRIX.
6644 * gdb.base/funcargs.exp: Likewise.
6645 * gdb.base/interrupt.exp: Likewise.
6646 * gdb.base/mips_pro.exp: Likewise.
6647 * gdb.base/nodebug.exp: Likewise.
6648 * gdb.base/setvar.exp: Likewise.
6649 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6650
8b9a549d
PA
66512014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6652 Pedro Alves <palves@redhat.com>
6653
6654 PR symtab/14466
6655 * gdb.base/vdso-warning.c: New file.
6656 * gdb.base/vdso-warning.exp: New file.
6657
d48ba5e8
DE
66582014-10-02 Doug Evans <dje@google.com>
6659
6660 * gdb.base/structs.c (main): Don't run forever.
6661
2278c276
PA
66622014-10-02 Pedro Alves <palves@redhat.com>
6663
6664 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6665 (top level) <stop threads 1, stop threads 2>: Use it.
6666
b57bacec
PA
66672014-10-02 Pedro Alves <palves@redhat.com>
6668
6669 * gdb.threads/break-while-running.exp (test): Add new
6670 'update_thread_list' argument. Skip "info threads" if false.
6671 (top level): Add new 'update_thread_list' axis.
6672
13fd3ff3
PA
66732014-10-02 Pedro Alves <palves@redhat.com>
6674
6675 PR breakpoints/17431
6676 * gdb.base/execl-update-breakpoints.c: New file.
6677 * gdb.base/execl-update-breakpoints.exp: New file.
6678
0fec99e8
PA
66792014-10-01 Pedro Alves <palves@redhat.com>
6680
6681 * gdb.base/breakpoint-in-ro-region.c: New file.
6682 * gdb.base/breakpoint-in-ro-region.exp: New file.
6683
2ddf4301
SM
66842014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6685
6686 * gdb.mi/mi-exit-code.exp: New file.
6687 * gdb.mi/mi-exit-code.c: New file.
6688
6a5f3f43
YQ
66892014-09-30 Yao Qi <yao@codesourcery.com>
6690
6691 * lib/prelink-support.exp (build_executable_own_libs): Error if
6692 the target isn't native.
6693
345bcc73
YQ
66942014-09-30 Yao Qi <yao@codesourcery.com>
6695
6696 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6697 false.
6698
a25a5a45
PA
66992014-09-22 Pedro Alves <palves@redhat.com>
6700
6701 * gdb.threads/break-while-running.exp: New file.
6702 * gdb.threads/break-while-running.c: New file.
6703
00ba3162
YQ
67042014-09-19 Yao Qi <yao@codesourcery.com>
6705
6706 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6707 Invoke test. Restart GDB with --readnow and invoke test again.
6708
c3b7b696
YQ
67092014-09-19 Yao Qi <yao@codesourcery.com>
6710
6711 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6712 proc set_breakpoint_on_gcd_function. Invoke
6713 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6714 invoke set_breakpoint_on_gcd_function again.
6715
2b4fd423
DE
67162014-09-18 Doug Evans <dje@google.com>
6717
6718 * gdb.dwarf2/symtab-producer.exp: New file.
6719
a5947601
SDJ
67202014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6721
6722 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6723 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6724 * gdb.base/global-var-nested-by-dso.c: Likewise.
6725 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6726
91c19059
SDJ
67272014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6728 Pedro Alves <palves@redhat.com>
6729
6730 * gdb.base/watch-bitfields.exp: Pass string other than test file
6731 name to prepare_for_testing.
6732 (watch): New procedure.
6733 (expect_watchpoint): Use with_test_prefix.
6734 (top level): Factor out tests to ...
6735 (test_watch_location, test_regular_watch): ... these new
6736 procedures, and use with_test_prefix and gdb_continue_to_end.
6737
bb9d5f81
PP
67382014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6739
6740 PR breakpoints/12526
6741 * gdb.base/watch-bitfields.exp: New file.
6742 * gdb.base/watch-bitfields.c: New file.
6743
635856f5
PA
67442014-09-16 Pedro Alves <palves@redhat.com>
6745
6746 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6747 software and hardware addresses, not software address against
6748 itself.
6749
7280ceea
PA
67502014-09-16 Pedro Alves <palves@redhat.com>
6751
6752 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6753 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6754
428b16bd
PA
67552014-09-16 Pedro Alves <palves@redhat.com>
6756
6757 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6758 files.
6759 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6760 "*-*-vxworks*" throughout.
6761 * gdb.base/break.exp: Likewise.
6762 * gdb.base/default.exp: Likewise.
6763 * gdb.base/scope.exp: Likewise.
6764 * gdb.base/sepdebug.exp: Likewise.
6765 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6766 throughout.
6767 * gdb.base/run.c: Likewise.
6768 * gdb.base/sepdebug.c: Likewise.
6769 * gdb.hp/gdb.aCC/run.c: Likewise.
6770 * gdb.reverse/until-reverse.c: Likewise.
6771 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6772
666d413c
YQ
67732014-09-16 Yao Qi <yao@codesourcery.com>
6774
6775 * boards/local-remote-host-native.exp: New file.
6776
57cbd724
DE
67772014-09-14 Doug Evans <xdje42@gmail.com>
6778
6779 * gdb.threads/queue-signal.c (thread_count): New variable.
6780 (thread_count_mutex, thread_count_condvar): New variables.
6781 (incr_thread_count, wait_all_threads_running): New functions.
6782 (main): Wait for all threads to be in their thread functions.
6783
81219e53
DE
67842014-09-13 Doug Evans <xdje42@gmail.com>
6785
6786 * gdb.threads/queue-signal.c: New file.
6787 * gdb.threads/queue-signal.exp: New file.
6788
3714cea7
DE
67892014-09-13 Doug Evans <xdje42@gmail.com>
6790
6791 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6792 be consistent with what default_gdb_init uses.
6793 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6794 the plain text of the prompt. Add some logging printfs.
6795 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6796
fa43b1d7
PA
67972014-09-12 Pedro Alves <palves@redhat.com>
6798
6799 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6800 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6801 * gdb.arch/i386-size-overlap.exp: Likewise.
6802 * gdb.arch/i386-size.exp: Likewise.
6803 * gdb.arch/i386-unwind.exp: Likewise.
6804 * gdb.base/a2-run.exp: Likewise.
6805 * gdb.base/break.exp: Likewise.
6806 * gdb.base/charset.exp: Likewise.
6807 * gdb.base/chng-syms.exp: Likewise.
6808 * gdb.base/commands.exp: Likewise.
6809 * gdb.base/dbx.exp: Likewise.
6810 * gdb.base/find.exp: Likewise.
6811 * gdb.base/funcargs.exp: Likewise.
6812 * gdb.base/jit-simple.exp: Likewise.
6813 * gdb.base/reread.exp: Likewise.
6814 * gdb.base/sepdebug.exp: Likewise.
6815 * gdb.base/step-bt.exp: Likewise.
6816 * gdb.cp/mb-inline.exp: Likewise.
6817 * gdb.cp/mb-templates.exp: Likewise.
6818 * gdb.objc/basicclass.exp: Likewise.
6819 * gdb.threads/killed.exp: Likewise.
6820
9d9bf2df
EBM
68212014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6822
6823 PR tdep/17379
6824 * gdb.arch/powerpc-stackless.S: New file.
6825 * gdb.arch/powerpc-stackless.exp: New file.
6826
1cf2f1b0
JK
68272014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6828
6829 * gdb.base/attach.c: Include unistd.h.
6830 (main): Call alarm. Add label postloop.
6831 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6832 gdb_breakpoint, gdb_continue_to_breakpoint.
6833 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6834
98880d46
PA
68352014-09-11 Pedro Alves <palves@redhat.com>
6836
6837 PR gdb/17347
6838 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6839 * gdb.base/attach.exp (test_command_line_attach_run): New
6840 procedure.
6841 (top level): Call it.
6842
4c92ff2c
PA
68432014-09-11 Pedro Alves <palves@redhat.com>
6844
6845 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6846 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6847 (do_command_attach_tests): Use spawn_wait_for_attach.
6848 * gdb.base/solib-overlap.exp: Likewise.
6849 * gdb.multi/multi-attach.exp: Likewise.
6850 * gdb.python/py-prompt.exp: Likewise.
6851 * gdb.python/py-sync-interp.exp: Likewise.
6852 * gdb.server/ext-attach.exp: Likewise.
6853
3adc1a7d
GKB
68542014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6855
6856 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6857 command in testcase. Simplify testcase.
6858
96334934
JB
68592014-09-10 Joel Brobecker <brobecker@adacore.com>
6860
6861 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6862
eb479039
JB
68632014-09-10 Joel Brobecker <brobecker@adacore.com>
6864
6865 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6866
deede10c
JB
68672014-09-10 Joel Brobecker <brobecker@adacore.com>
6868
6869 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6870
7828a5f5
JB
68712014-09-10 Joel Brobecker <brobecker@adacore.com>
6872
6873 * gdb.dwarf2/dynarr-ptr.c: New file.
6874 * gdb.dwarf2/dynarr-ptr.exp: New file.
6875
33aeebcf
MR
68762014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6877
6878 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6879 of 30 rather than hardcoding 120 for a slow test case. Take the
6880 `gdb,timeout' target setting into account for this calculation.
6881 Don't extend the timeout for the test cases that don't need it.
6882
7b415901
MR
68832014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6884
6885 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6886 a factor of 2 for a slow test case. Take the `gdb,timeout'
6887 target setting into account for this calculation.
6888 * gdb.reverse/until-precsave.exp: Increase the timeout by
6889 a factor of 15 and 3 respectively rather than adding 120
6890 for a pair of slow test cases. Take the `gdb,timeout'
6891 target setting into account for this calculation.
6892
4a40f85a
MR
68932014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6894
6895 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6896 timeout, don't pass one down to gdb_expect.
6897 (gdb_expect): Rework timeout selection.
6898
09635af7
MR
68992014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6900
6901 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6902 exception on timeout.
6903 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6904 (gdbserver_start_extended): Catch any `gdbserver_start' error
6905 exceptions.
6906 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6907 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6908 `gdbserver_gdb_load' error exceptions.
6909
2bdd10b7
MR
69102014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6911
6912 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6913 120 on waiting for the TCP socket to open.
6914
316935f0
DE
69152014-09-09 Doug Evans <xdje42@gmail.com>
6916
6917 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6918 _caller_matches, _any_caller_is, _any_caller_matches.
6919
83740597
DE
69202014-09-09 Doug Evans <xdje42@gmail.com>
6921
6922 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6923
4c122fc3
YQ
69242014-09-09 Yao Qi <yao@codesourcery.com>
6925
6926 * gdb.mi/mi-var-display.exp: Set print symbol off.
6927
a9f116cb
GKB
69282014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6929
6930 PR gdb/17035
6931 * gdb.base/commands.exp: Add tests to verify user-defined
6932 commands with empty bodies.
6933 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6934 python commands in `show user command`.
6935 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6936 scheme commands in `show user command`.
6937
c75bd3a2
JK
69382014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6939
6940 PR python/17355
6941 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6942 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6943 * gdb.python/py-framefilter-invalidarg.exp: New file.
6944 * gdb.python/py-framefilter-invalidarg.py: New file.
6945
faa42425
DE
69462014-09-06 Doug Evans <xdje42@gmail.com>
6947
6948 PR 15276
6949 * gdb.python/py-caller-is.c: New file.
6950 * gdb.python/py-caller-is.exp: New file.
6951
474ca4f6
SDJ
69522014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6953
6954 PR gdb/17235
6955 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6956 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6957
eb0b0463
SDJ
69582014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6959
6960 PR fortran/17237
6961 * gdb.fortran/print-formatted.exp: New file.
6962 * gdb.fortran/print-formatted.f90: Likewise.
6963
5f3b99cf
SS
69642014-09-03 Sasha Smundak <asmundak@google.com>
6965
6966 * gdb.python/py-frame.exp: Test Frame.read_register.
6967
7d793aa9
SDJ
69682014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6969
6970 PR python/16699
6971 * gdb.python/py-completion.exp: New file.
6972 * gdb.python/py-completion.py: Likewise.
6973
fb0576e9
DE
69742014-08-28 Doug Evans <dje@google.com>
6975
6976 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6977 eax,etc. are live with values set by gdb and thus the compiler can't
6978 use them.
6979 * gdb.arch/i386-pseudo.c (main): Ditto.
6980
ee92b0dd
DE
69812014-08-27 Doug Evans <dje@google.com>
6982
6983 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6984
6649db35
DE
69852014-08-25 Doug Evans <dje@google.com>
6986
6987 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6988 (main): Ditto.
6989
564b7600
DE
69902014-08-25 Doug Evans <dje@google.com>
6991
6992 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6993
3881fb67
YQ
69942014-08-24 Yao Qi <yao@codesourcery.com>
6995
6996 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6997 symbol off.
6998 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6999
a05a36a5
DE
70002014-08-22 Doug Evans <dje@google.com>
7001
7002 PR 17276
7003 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
7004 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
7005 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
7006
7c343b48
YQ
70072014-08-22 Yao Qi <yao@codesourcery.com>
7008
7009 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
7010 * gdb.python/py-finish-breakpoint2.exp: Likewise.
7011 * gdb.python/python.exp: Likewise. Use .py file on the host
7012 instead of the build.
7013
22fd09ae
JK
70142014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7015
7016 * gdb.threads/gcore-stale-thread.c: New file.
7017 * gdb.threads/gcore-stale-thread.exp: New file.
7018
a8454a7c
PA
70192014-08-21 Pedro Alves <palves@redhat.com>
7020
7021 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
7022 * gdb.base/gcore-relro-pie.exp: Likewise.
7023 * gdb.base/gcore-relro.exp: Likewise.
7024 * gdb.base/gcore.exp: Likewise.
7025 * gdb.base/print-symbol-loading.exp: Likewise.
7026 * gdb.threads/gcore-thread.exp: Likewise.
7027 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
7028
2a31c623
PA
70292014-08-20 Pedro Alves <palves@redhat.com>
7030 Jan Kratochvil <jan.kratochvil@redhat.com>
7031
7032 * Makefile.in (EXTRA_RULES, CC): New variables, get from
7033 configure.
7034 (EXPECT): Handle READ1 being set.
7035 (all): Depend on EXTRA_RULES.
7036 (check-read1, expect-read1, read1.so, read1): New rules.
7037 * README (Testsuite Parameters): Document the READ1 make variable.
7038 (Race detection): New section.
7039 * configure: Regenerate.
7040 * configure.ac: If build==host==target, and running under a
7041 GNU/glibc system, add read1 to the extra Makefile rules.
7042 (EXTRA_RULES): AC_SUBST it.
7043 * lib/read1.c: New file.
7044
d36430db
JB
70452014-08-20 Joel Brobecker <brobecker@adacore.com>
7046
7047 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
7048 the handling of variables declared as a typedef to an array
7049 which a DW_AT_data_location attribute.
7050
9a0dc9e3
PA
70512014-08-19 Andrew Burgess <aburgess@broadcom.com>
7052 Pedro Alves <palves@redhat.com>
7053
7054 PR symtab/14604
7055 PR symtab/14605
7056 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
7057 gdb_test.
7058
0718a8da
PA
70592014-08-19 Pedro Alves <palves@redhat.com>
7060
7061 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
7062
13b448cd
YQ
70632014-08-19 Yao Qi <yao@codesourcery.com>
7064
7065 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
7066 right line.
7067
1cbf5077
DB
70682014-08-18 David Blaikie <dblaikie@gmail.com>
7069
7070 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
7071
bf0fae19
JB
70722014-08-18 Joel Brobecker <brobecker@adacore.com>
7073
7074 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
7075 attribute in array range.
7076
3c8c5dcc
JB
70772014-08-18 Joel Brobecker <brobecker@adacore.com>
7078
7079 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
7080
e66d4446
SC
70812014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7082
7083 PR c++/17132
7084 * gdb.cp/pr17132.cc: New file.
7085 * gdb.cp/pr17132.exp: New file.
7086
940df408
SC
70872014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7088
7089 * gdb.python/py-xmethods.py (A_getarrayind)
7090 (E_method_char_worker.__call__, E_method_int_worker.__call__):
7091 Use 'print' with function call syntax.
7092 (E_method_matcher.match): Fix tab vs space indentation mixup.
7093
ebcc6c3a
YQ
70942014-08-15 Yao Qi <yao@codesourcery.com>
7095
7096 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
7097 false.
7098
775e0f04
YQ
70992014-08-15 Yao Qi <yao@codesourcery.com>
7100
7101 * gdb.cp/casts.exp: Set print symbol off.
7102 * gdb.cp/class2.exp: Likewise.
7103 * gdb.cp/overload.exp: Likewise.
7104 * gdb.cp/templates.exp: Likewise.
7105
d769e349
DE
71062014-08-11 Doug Evans <dje@google.com>
7107
7108 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
7109 (test_load_shlib): Update.
7110
20c6f1e1
YQ
71112014-08-09 Yao Qi <yao@codesourcery.com>
7112
7113 * gdb.base/display.exp: Invoke is_address_zero_readable.
7114 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
7115 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
7116 * gdb.base/hbreak-unmapped.exp: Return if
7117 is_address_zero_readable returns true.
7118 * gdb.base/signest.exp: Likewise.
7119 * gdb.base/signull.exp: Likewise.
7120 * gdb.base/sigbpt.exp: Likewise.
7121 * gdb.guile/scm-disasm.exp: Do the test if
7122 is_address_zero_readable returns false.
7123 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
7124 * gdb.python/py-arch.exp: Likewise.
7125 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
7126 * lib/gdb.exp (is_address_zero_readable): New proc.
7127
5792e8e3
YQ
71282014-08-09 Yao Qi <yao@codesourcery.com>
7129
7130 PR testsuite/13443
7131 * gdb.mi/mi-var-display.exp: Make test messages unique.
7132
3cecbbbe
TT
71332014-08-04 Tom Tromey <tromey@redhat.com>
7134
7135 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
7136 target 0".
7137
00b51ff5
TT
71382014-08-04 Tom Tromey <tromey@redhat.com>
7139
7140 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
7141 "target_resume".
7142
6908c509
JB
71432014-08-01 Joel Brobecker <brobecker@adacore.com>
7144
7145 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
7146 inner_vla_struct_object_size.
7147 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
7148 as xfail.
7149
cc6563d2
PA
71502014-07-30 Pedro Alves <palves@redhat.com>
7151
7152 * gdb.threads/signal-command-handle-nopass.exp (test): Add
7153 comment.
7154
7e09a223
YQ
71552014-07-29 Yao Qi <yao@codesourcery.com>
7156
7157 PR gdb/17206
7158 * gdb.base/until-nodebug.exp: New.
7159
7ebdbe92
DE
71602014-07-28 Doug Evans <xdje42@gmail.com>
7161
7162 PR guile/17203
7163 * gdb.guile/scm-parameter.exp: Add tests for trying to create
7164 previously existing parameter, and previously ambiguously spelled
7165 parameter.
7166
fdb1adc6
WN
71672014-07-28 Will Newton <will.newton@linaro.org>
7168
7169 * gdb.base/varargs.exp: Remove KFAILs for ARM.
7170
186fcde0
DE
71712014-07-26 Ludovic Courtès <ludo@gnu.org>
7172 Doug Evans <xdje42@gmail.com>
7173
7174 PR guile/17146
7175 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
7176
70509625
PA
71772014-07-25 Pedro Alves <palves@redhat.com>
7178
7179 * gdb.threads/signal-command-handle-nopass.c: New file.
7180 * gdb.threads/signal-command-handle-nopass.exp: New file.
7181 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
7182 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
7183 * gdb.threads/signal-delivered-right-thread.c: New file.
7184 * gdb.threads/signal-delivered-right-thread.exp: New file.
7185
c3f814a1
PA
71862014-07-25 Pedro Alves <palves@redhat.com>
7187
7188 * gdb.base/double-prompt-target-event-error.exp
7189 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
7190 match.
7191 (cancel_pagination_in_target_event): Rework double prompt
7192 detection.
7193 * gdb.base/paginate-after-ctrl-c-running.exp
7194 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
7195 <return>' match.
7196 * gdb.base/paginate-bg-execution.exp
7197 (test_bg_execution_pagination_return)
7198 (test_bg_execution_pagination_cancel): Remove '-notransfer
7199 <return>' matches.
7200 * gdb.base/paginate-execution-startup.exp
7201 (test_fg_execution_pagination_return)
7202 (test_fg_execution_pagination_cancel): Remove '-notransfer
7203 <return>' matches.
7204 * gdb.base/paginate-inferior-exit.exp
7205 (test_paginate_inferior_exited): Remove '-notransfer <return>'
7206 match.
7207 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
7208 * lib/gdb.exp (pagination_prompt): Run text through
7209 string_to_regexp.
7210 (gdb_test_multiple): Match $pagination_prompt instead of
7211 "<return>".
7212 (string_to_regexp): Move to lib/gdb-utils.exp.
7213
e214cf6c
JK
72142014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7215
7216 * gdb.arch/amd64-entry-value-paramref.S: New file.
7217 * gdb.arch/amd64-entry-value-paramref.cc: New file.
7218 * gdb.arch/amd64-entry-value-paramref.exp: New file.
7219 * gdb.arch/amd64-optimout-repeat.S: New file.
7220 * gdb.arch/amd64-optimout-repeat.c: New file.
7221 * gdb.arch/amd64-optimout-repeat.exp: New file.
7222
17d0c5c8
JK
72232014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7224
7225 PR gdb/17170
7226 * gdb.base/statistics.exp: New file.
7227
b8b8facf
DE
72282014-07-17 Doug Evans <dje@google.com>
7229
74b49205 7230 PR gdb/17170
b8b8facf
DE
7231 * gdb.base/maint.exp: Update testing of per-command stats.
7232
1b5d0ab3
PA
72332014-07-16 Pedro Alves <palves@redhat.com>
7234
7235 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
7236 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
7237 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
7238 (tfile_write_buf): New functions.
7239 (add_memory_block): Rewrite using the above.
7240 (adjust_function_address): New function.
7241 (FUNCTION_ADDRESS): New macro.
7242 (write_basic_trace_file): Remove short_x local, and use
7243 tfile_write_16. Change type of func_addr local to unsigned long
7244 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
7245 here. Cast argument of add_memory_block to char pointer.
7246 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
7247 (main): Remove parameters.
7248 * gdb.trace/tfile.exp: Remove nowarnings.
7249
4d974e88
SM
72502014-07-15 Simon Marchi <simon.marchi@ericsson.com>
7251
7252 * gdb.base/debug-expr.exp: Test string evaluation with
7253 "debug expression" on.
7254
41e99568
PA
72552014-07-15 Pedro Alves <palves@redhat.com>
7256
7257 * gdb.base/reread.exp: Use clean_restart.
7258
487d9753
PL
72592014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
7260
7261 * gdb.arch/avr-flash-qualifer.c: New.
7262 * gdb.arch/avr-flash-qualifer.exp: New.
7263
cc1c52ad
PA
72642014-07-14 Pedro Alves <palves@redhat.com>
7265
7266 * gdb.base/paginate-after-ctrl-c-running.c: New file.
7267 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
7268
1e973570
PA
72692014-07-14 Pedro Alves <palves@redhat.com>
7270
7271 * gdb.base/double-prompt-target-event-error.c: New file.
7272 * gdb.base/double-prompt-target-event-error.exp: New file.
7273
93d6eb10
PA
72742014-07-14 Pedro Alves <palves@redhat.com>
7275
7276 PR gdb/17072
7277 * gdb.base/paginate-inferior-exit.c: New file.
7278 * gdb.base/paginate-inferior-exit.exp: New file.
7279
0017922d
PA
72802014-07-14 Pedro Alves <palves@redhat.com>
7281
7282 PR gdb/17072
7283 * gdb.base/paginate-bg-execution.c: New file.
7284 * gdb.base/paginate-bg-execution.exp: New file.
7285
94696ad3
PA
72862014-07-14 Pedro Alves <palves@redhat.com>
7287
7288 PR gdb/17072
7289 * gdb.base/paginate-execution-startup.c: New file.
7290 * gdb.base/paginate-execution-startup.exp: New file.
7291 * lib/gdb.exp (pagination_prompt): New global.
7292 (default_gdb_spawn): New procedure, factored out from
7293 default_gdb_spawn.
7294 (default_gdb_start): Adjust to call default_gdb_spawn.
7295 (gdb_spawn): New procedure.
7296
bd293940
PA
72972014-07-14 Pedro Alves <palves@redhat.com>
7298
7299 * lib/gdb.exp (gdb_assert): New procedure.
7300 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
7301
c933f875
PA
73022014-07-14 Pedro Alves <palves@redhat.com>
7303
7304 * gdb.base/execution-termios.c: New file.
7305 * gdb.base/execution-termios.exp: New file.
7306
d98b7a16
TT
73072014-07-14 Tom Tromey <tromey@redhat.com>
7308
7309 * gdb.cp/vla-cxx.cc: New file.
7310 * gdb.cp/vla-cxx.exp: New file.
7311
548740d6
TT
73122014-07-14 Tom Tromey <tromey@redhat.com>
7313
7314 * gdb.reverse/rerun-prec.c: New file.
7315 * gdb.reverse/rerun-prec.exp: New file.
7316
a25eb028
MR
73172014-07-12 Maciej W. Rozycki <macro@mips.com>
7318 Maciej W. Rozycki <macro@codesourcery.com>
7319
7320 * lib/gdb-utils.exp: New file.
7321 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
7322 inline `gdb_init_command' processing.
7323 (gdb_start_cmd): Likewise.
7324 * lib/mi-support.exp (mi_run_cmd): Likewise.
7325 * README: Document `gdb_init_command' and `gdb_init_commands'.
7326
218c2655
JK
73272014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7328
7329 Fix false FAIL running under a very long directory name.
7330 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
7331 and "set print elements 10000". Twice.
7332
5401fde3
YQ
73332014-07-11 Yao Qi <yao@codesourcery.com>
7334
7335 * gdb.base/exprs.exp: "set print symbol off".
7336
e76126e8
PA
73372014-07-11 Pedro Alves <palves@redhat.com>
7338
7339 * gdb.threads/kill.c: New file.
7340 * gdb.threads/kill.exp: New file.
7341
2d6f0de6
YQ
73422014-07-10 Yao Qi <yao@codesourcery.com>
7343
7344 * gdb.trace/tfile.c (write_basic_trace_file)
7345 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7346 address written to trace file.
7347
7180e04a
PA
73482014-07-09 Pedro Alves <palves@redhat.com>
7349
7350 * gdb.base/attach-wait-input.exp: New file.
7351 * gdb.base/attach-wait-input.c: New file.
7352
9a9a7608
AB
73532014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7354
7355 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7356 setting up test structures.
7357 (main): Call new test function.
7358 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7359 test function, continue into test function and walk test
7360 structures.
7361
161ac41e
YQ
73622014-07-02 Yao Qi <yao@codesourcery.com>
7363
7364 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7365 'bar_start' at the beginning of functions 'foo' and 'bar'
7366 respectively.
7367 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7368 instead of 'foo' and 'bar'.
7369
1f267ae3
MM
73702014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7371
7372 * gdb.btrace/segv.exp: New.
7373 * gdb.btrace/segv.c: New.
7374
2b239efb
LM
73752014-07-02 Luis Machado <lgustavo@codesourcery.com>
7376
7377 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7378 instruction.
7379
cf363f18
MW
73802014-06-30 Mark Wielaard <mjw@redhat.com>
7381
7382 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7383 vulture, vilify, villar): New volatile array constants.
7384 (vindictive, vegetation): New const volatile array constants.
7385 * gdb.base/volatile.exp: Test volatile and const volatile array
7386 types.
7387
aebf9d24
AA
73882014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7389
7390 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7391 target lacks support for awatch, rwatch, or hbreak.
7392
b67a2c6f
YQ
73932014-06-27 Yao Qi <yao@codesourcery.com>
7394
7395 * gdb.multi/dummy-frame-restore.exp: New.
7396 * gdb.multi/dummy-frame-restore.c: New.
7397
aef92902
MM
73982014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7399
7400 * gdb.btrace/gcore.exp: New.
7401
8e9db26e
PA
74022014-06-23 Pedro Alves <palves@redhat.com>
7403
7404 * gdb.base/watchpoint-reuse-slot.c: New file.
7405 * gdb.base/watchpoint-reuse-slot.exp: New file.
7406
70afc5b7
SC
74072014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7408
7409 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7410 progspace's filename in 'info', 'enable' and 'disable' command
7411 tests.
7412
b972bd9c
JK
74132014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7414
7415 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7416 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7417 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7418
125f8a3d
GB
74192014-06-20 Gary Benson <gbenson@redhat.com>
7420
7421 * gdb.arch/i386-avx.exp: Fix include file location.
7422 * gdb.arch/i386-sse.exp: Likewise.
7423
3ed9baed
IB
74242014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7425
7426 * gdb.dlang/expression.exp: New file.
7427
034f788c
PA
74282014-06-19 Pedro Alves <palves@redhat.com>
7429
7430 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7431 out from ...
7432 (top level): ... here. Iterate running tests under different
7433 scheduler-locking settings.
7434
45371d0c
LM
74352014-06-18 Luis Machado <lgustavo@codesourcery.com>
7436
7437 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7438 to DW_FORM_addr and use non-zero addresses.
7439
5d376983
SC
74402014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7441
7442 PR gdb/17017
7443 * gdb.python/py-xmethods.cc: Add global function call counters and
7444 increment them in their respective functions. Remove "cout"
7445 statements.
7446 * gdb.python/py-xmethods.exp: Make tests check the global function
7447 call counters instead of depending on inferior IO.
7448
a1aa2221
LM
74492014-06-18 Don Breazeal <donb@codesourcery.com>
7450
7451 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7452 Deleted procedure.
7453 (explicit_fork_parent_follow): Deleted procedure.
7454 (explicit_fork_child_follow): Deleted procedure.
7455 (test_follow_fork): New procedure.
7456 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 7457 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
7458 procedure calls.
7459
0fc05997
YQ
74602014-06-17 Yao Qi <yao@codesourcery.com>
7461
7462 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7463 CP1252.
7464
70795c52
LM
74652014-06-17 Luis Machado <lgustavo@codesourcery.com>
7466
7467 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7468 Initialize ptr and S explicitly.
7469 (skip_type_update_when_not_use_rtti_test): Likewise.
7470
6be47f0c
KS
74712014-06-16 Keith Seitz <keiths@redhat.com>
7472
7473 PR mi/15863
7474 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7475 the inferior is started.
7476
d03de421
PA
74772014-06-16 Pedro Alves <palves@redhat.com>
7478
7479 * gdb.base/break-main-file-remove-fail.c: New file.
7480 * gdb.base/break-main-file-remove-fail.exp: New file.
7481 * gdb.base/break-unload-file.exp: Use build_executable instead of
7482 prepare_for_testing.
7483 (test_break): New parameter "initial_load". Handle it.
7484 (top level): Add initial_load cmdline/file axis.
7485
f9579b99
TT
74862014-06-12 Tom Tromey <tromey@redhat.com>
7487
7488 * gdb.base/completion.exp: Don't use directory name in test.
7489
3657956b
GB
74902014-06-09 Gary Benson <gbenson@redhat.com>
7491
7492 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7493 separate the always-available ANSI-standard signals from the
7494 signals that require checking.
7495 (main): Likewise.
7496 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7497 Likewise.
7498 (main): Likewise.
7499
4186eb54
KS
75002014-06-07 Keith Seitz <keiths@redhat.com>
7501
7502 Revert:
7503 PR c++/16253
7504 * gdb.cp/var-tag.cc: New file.
7505 * gdb.cp/var-tag.exp: New file.
7506 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7507 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7508 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7509 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7510
25326a28 75112014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
7512
7513 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7514
829155c9
PA
75152014-06-06 Pedro Alves <palves@redhat.com>
7516
7517 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7518 in target debug output instead of looking at RSP packets,
7519 disabling the test on any target that uses hardware stepping.
7520 Update comments.
7521
61c8d22e
PA
75222014-06-06 Pedro Alves <palves@redhat.com>
7523
7524 * gdb.base/break-unload-file.exp: Fix typo.
7525
d9a47287
YQ
75262014-06-06 Yao Qi <yao@codesourcery.com>
7527
7528 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7529 from "jit_function" to "^jit_function".
7530
e5e01dbf
YQ
75312014-06-06 Yao Qi <yao@codesourcery.com>
7532
7533 * gdb.base/async.c (foo): Add one statement.
7534 * gdb.base/async.exp: Get the next instruction address and
7535 match the output of "nexti" by instruction address. Match
7536 the hex address in the output of "finish".
7537
73ba372c
GB
75382014-06-06 Gary Benson <gbenson@redhat.com>
7539
7540 * gdb.base/call-signals.c: Remove preprocessor conditionals
7541 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7542 SIGSEGV and SIGTERM.
7543 * gdb.base/sigall.c: Likewise.
7544 * gdb.base/unwindonsignal.c: Likewise.
7545 * gdb.reverse/sigall-reverse.c: Likewise.
7546
831517df
YQ
75472014-06-06 Yao Qi <yao@codesourcery.com>
7548
7549 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7550 readable, skip the test.
7551
b8b91e98
YQ
75522014-06-06 Yao Qi <yao@codesourcery.com>
7553
7554 * gdb.threads/staticthreads.c (thread_function): Move the line
7555 setting breakpoint on forward.
7556 * gdb.threads/staticthreads.exp: Update comments.
7557
fb934770
LC
75582014-06-05 Ludovic Courtès <ludo@gnu.org>
7559
7560 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7561 "history-append! type error".
7562
6ef284bd
SM
75632014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7564
7565 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7566 erroneous dprintf expected input.
7567
a872e241
DE
75682014-06-04 Doug Evans <xdje42@gmail.com>
7569
7570 * gdb.guile/scm-generics.exp: Delete.
7571
16f691fb
DE
75722014-06-04 Doug Evans <xdje42@gmail.com>
7573
7574 * gdb.guile/scm-breakpoint.exp: Update.
7575 Add tests for breakpoint registration.
7576
012370f6
TT
75772014-06-04 Tom Tromey <tromey@redhat.com>
7578
7579 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7580 VLA-in-union.
7581 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7582 inner_vla_struct, vla_union types. Initialize objects of those
7583 types and compute their sizes.
7584
9f5a4cef
HZ
75852014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7586 Hui Zhu <hui@codesourcery.com>
7587
7588 * gdb.base/fileio.exp: Add test for shell not available as well as
7589 available.
7590 * gdb.base/fileio.c (test_system): Check for shell twice.
7591
90a45c4d
YQ
75922014-06-04 Yao Qi <yao@codesourcery.com>
7593
7594 * gdb.base/auto-connect-native-target.exp: Remove redundant
7595 space from the regexp pattern.
7596
70017e41
YQ
75972014-06-04 Yao Qi <yao@codesourcery.com>
7598
7599 * gdb.base/default.exp: Replace "child" with "native" in
7600 regexp pattern.
7601
883964a7
SC
76022014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7603
7604 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7605 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7606 * gdb.python/py-xmethods.py: Python script supporting the
7607 new testcase and tests.
7608
ef370185
JB
76092014-06-03 Joel Brobecker <brobecker@adacore.com>
7610 Pedro Alves <palves@redhat.com>
7611
7612 PR breakpoints/17000
7613 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7614 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7615
1e2ccb61
BM
76162014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7617
7618 * gdb.base/subst.exp: Add tests to verify partial path matching
7619 output.
7620
c6ec5ab2
PA
76212014-06-03 Pedro Alves <palves@redhat.com>
7622
7623 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7624 target that doesn't use software single-stepping.
7625
835c559f
PA
76262014-06-03 Pedro Alves <palves@redhat.com>
7627
7628 PR breakpoints/17000
7629 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7630 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7631
06eb1586
DE
76322014-06-02 Doug Evans <xdje42@gmail.com>
7633
7634 * gdb.guile/scm-parameter.exp: New file.
7635
e698b8c4
DE
76362014-06-02 Doug Evans <xdje42@gmail.com>
7637
7638 * gdb.guile/scm-cmd.c: New file.
7639 * gdb.guile/scm-cmd.exp: New file.
7640
ded03782
DE
76412014-06-02 Doug Evans <xdje42@gmail.com>
7642
7643 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7644 pretty-printer lookup.
7645 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7646 (make-pp_s-printer): Call it.
7647 (make-pretty-printer-from-dict): New function.
7648 (lookup-pretty-printer-maker-from-dict): New function.
7649 (*pretty-printer*): Simplify.
7650 (make-objfile-pp_s-printer): New function.
7651 (install-objfile-pretty-printers!): New function.
7652 (make-progspace-pp_s-printer): New function.
7653 (install-progspace-pretty-printers!): New function.
7654 * gdb.guile/scm-progspace.c: New file.
7655 * gdb.guile/scm-progspace.exp: New file.
7656
41fac0cf
PA
76572014-06-02 Pedro Alves <palves@redhat.com>
7658
7659 * gdb.base/dprintf-bp-same-addr.c: New file.
7660 * gdb.base/dprintf-bp-same-addr.exp: New file.
7661
96ae5695
EBM
76622014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7663
7664 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7665 * gdb.arch/powerpc-power.s: Likewise.
7666
da02b3a8
JB
76672014-06-02 Joel Brobecker <brobecker@adacore.com>
7668
7669 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7670
c72b2e7b
YQ
76712014-06-01 Yao Qi <yao@codesourcery.com>
7672
7673 * gdb.base/watchpoint.exp (test_watch_location): Check null
7674 pointer can be dereferenced. If not, do the test, otherwise
7675 skip it.
7676
53e8a631
AB
76772014-05-30 Andrew Burgess <aburgess@broadcom.com>
7678
7679 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7680 results.
7681 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7682
938f0e2f
AB
76832014-05-30 Andrew Burgess <aburgess@broadcom.com>
7684
7685 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7686 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7687 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7688 * gdb.arch/amd64-invalid-stack-top.c: New file.
7689 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7690
9ba6657a
PA
76912014-05-30 Pedro Alves <palves@redhat.com>
7692
7693 PR breakpoints/17000
7694 * gdb.base/sss-bp-on-user-bp.c: New file.
7695 * gdb.base/sss-bp-on-user-bp.exp: New file.
7696
522c09bf
DB
76972014-05-30 David Blaikie <dblaikie@gmail.com>
7698
7699 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7700 gnu_inline semantics via attribute.
7701 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7702 source explicitly specifies the required semantics.
7703
bf4ef81e
MR
77042014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7705
7706 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7707
329ea579
PA
77082014-05-29 Pedro Alves <palves@redhat.com>
7709 Tom Tromey <tromey@redhat.com>
7710
7711 * gdb.base/async-shell.exp: Don't enable target-async.
7712 * gdb.base/async.exp
7713 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7714 parameter. Adjust.
7715 (top level): Don't test with "target-async".
7716 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7717 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7718 * gdb.base/inferior-died.exp: Don't enable target-async.
7719 * gdb.base/interrupt-noterm.exp: Likewise.
7720 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7721 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7722 * gdb.mi/mi-nonstop.exp: Likewise.
7723 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7724 * gdb.mi/mi-nsintrall.exp: Likewise.
7725 * gdb.mi/mi-nsmoribund.exp: Likewise.
7726 * gdb.mi/mi-nsthrexec.exp: Likewise.
7727 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7728 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7729 * gdb.python/py-evsignal.exp: Don't enable target-async.
7730 * gdb.python/py-evthreads.exp: Likewise.
7731 * gdb.python/py-prompt.exp: Likewise.
7732 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7733 * gdb.server/solib-list.exp: Don't enable target-async.
7734 * gdb.threads/thread-specific-bp.exp: Likewise.
7735 * lib/mi-support.exp: Adjust to use mi-async.
7736
fd664c91
PA
77372014-05-29 Pedro Alves <palves@redhat.com>
7738
7739 PR gdb/13860
7740 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7741 reason, even in sync mode.
7742
251bde03
PA
77432014-05-29 Pedro Alves <palves@redhat.com>
7744 Hui Zhu <hui@codesourcery.com>
7745
7746 PR PR15693
7747 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7748 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7749 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7750 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7751
7f3c0343
JB
77522014-05-28 Joel Brobecker <brobecker@adacore.com>
7753
7754 * config/monitor.exp (gdb_target_monitor): Replace use of
7755 "set remotebaud" by "set serial baud".
7756
b2715b27
AW
77572014-05-26 Andy Wingo <wingo@igalia.com>
7758
7759 * gdb.guile/scm-breakpoint.exp:
7760 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7761 properties instead of gdb-object-properties.
7762
498a4489
YQ
77632014-05-26 Yao Qi <yao@codesourcery.com>
7764
7765 * gdb.server/no-thread-db.exp: Specify source file name
7766 explicitly when setting a breakpoint.
7767
589fdceb
MM
77682014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7769
7770 * gdb.btrace/vdso.c: New.
7771 * gdb.btrace/vdso.exp: New.
7772
e9089e05
MM
77732014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7774
7775 * gdb.base/gcore.exp (capture_command_output): Move ...
7776 * lib/gdb.exp (capture_command_output): ... here.
7777
67b5c0c1
MM
77782014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7779
7780 * gdb.btrace/data.exp: Test memory access during btrace replay.
7781
a2199296
SM
77822014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7783
7784 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7785
17b2616c
PA
77862014-05-21 Pedro Alves <palves@redhat.com>
7787
7788 PR gdb/13860
7789 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7790 (top level): Test that output related to execution commands is
7791 sent to the console with CLI commands, but not with MI commands.
7792 Test that breakpoint events are always mirrored to the console.
7793 Also expect the new source line to be output after a "next" in
7794 async mode too. Make it a pass/fail test.
7795 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7796 output.
7797 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7798
5166082f
PA
77992014-05-21 Pedro Alves <palves@redhat.com>
7800
7801 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7802 Use them to test variations of "list" after reaching a breakpoint.
7803 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7804 Test "list" with listsize 10 after reaching a breakpoint.
7805 * gdb.python/python.exp (decode_line current location line
7806 number): Adjust expected line number.
7807
2f25d70f
SM
78082014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7809
7810 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7811 behavior for $args, pass it directly to "run".
7812
ff604a67
MR
78132014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7814
7815 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7816 30000 to 65536.
7817
6a3cb8e8
PA
78182014-05-21 Pedro Alves <palves@redhat.com>
7819
7820 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7821 auto-connect-native-target off".
7822 * gdb.base/auto-connect-native-target.c: New file.
7823 * gdb.base/auto-connect-native-target.exp: New file.
7824
4ebfc96e
PA
78252014-05-21 Pedro Alves <palves@redhat.com>
7826
7827 * gdb.base/default.exp: Test "target native" instead of "target
7828 child".
7829
36d46afb
MW
78302014-05-21 Mark Wielaard <mjw@redhat.com>
7831
7832 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7833
5876f503
JK
78342014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7835
7836 Fix TLS access for -static -pthread.
7837 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7838 <HAVE_TLS> (thread_function, main): Initialize it.
7839 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7840 Add clean_restart.
7841 <$have_tls != "">: Check TLSVAR.
7842
0256a6ac
PA
78432014-05-21 Pedro Alves <palves@redhat.com>
7844
7845 * gdb.base/dcache-line-read-error.c: New.
7846 * gdb.base/dcache-line-read-error.exp: New.
7847
936d2992
PA
78482014-05-20 Pedro Alves <palves@redhat.com>
7849
7850 * gdb.base/compare-sections.c: New file.
7851 * gdb.base/compare-sections.exp: New file.
7852
802e8e6d
PA
78532014-05-20 Pedro Alves <palves@redhat.com>
7854
7855 * gdb.base/break-idempotent.c: New file.
7856 * gdb.base/break-idempotent.exp: New file.
7857
e59fa00f
MM
78582014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7859
7860 * gdb.btrace/nohist.exp: New.
7861
8b696e31
YQ
78622014-05-20 Yao Qi <yao@codesourcery.com>
7863
7864 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7865 gdb.reverse directory and gdb_reverse_timeout exists in board
7866 setting.
7867 * README: Document gdb_reverse_timeout.
7868
73c9764f
YQ
78692014-05-20 Yao Qi <yao@codesourcery.com>
7870
7871 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7872 'test_file_name'. Treat args as a string instead of a list.
7873 (gdb_init): Rename argument 'args' by 'test_file_name'.
7874
f1f4348a
JK
78752014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7876
7877 * gdb.arch/powerpc-power.exp: New file.
7878 * gdb.arch/powerpc-power.s: New file.
7879
0dbe70ce
DE
78802014-05-16 Doug Evans <dje@google.com>
7881
7882 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
7883 * gdb.base/completion.exp: Check that all expected files exist
7884 before doing file completion.
0dbe70ce 7885
8d551b02
DE
78862014-05-16 Doug Evans <dje@google.com>
7887
7888 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7889 Update.
7890 (do_syscall_tests_without_xml): Update.
7891
73eb7709
PA
78922014-05-16 Pedro Alves <palves@redhat.com>
7893
7894 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7895 instead of "unknown output after running".
7896
3fae92fc
YQ
78972014-05-16 Yao Qi <yao@codesourcery.com>
7898
7899 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7900 file1.txt from host at the end.
7901 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7902
c2b2ccc5
DE
79032014-05-15 Doug Evans <dje@google.com>
7904
7905 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7906 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7907 loading file. Add test for TU lookup.
7908
8c217a4b
SM
79092014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7910
7911 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7912 calling "-exec-arguments" or "set args" before running the
7913 inferior.
7914
3deb39c6
SM
79152014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7916
7917 * lib/mi-support.exp (mi_expect_stop): Expect message for
7918 inferiors that exit with non-zero exit code.
7919
71a79f8c
YQ
79202014-05-14 Yao Qi <yao@codesourcery.com>
7921
7922 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7923 match absolute path on remote host.
7924 (test_file_list_exec_source_files): Remove "/" from the
7925 pattern.
7926
f23fcd46
YQ
79272014-05-14 Yao Qi <yao@codesourcery.com>
7928
7929 * boards/local-remote-host-notty.exp (${board}_file): New
7930 proc.
7931
9404b58f
KM
79322014-05-07 Kyle McMartin <kyle@redhat.com>
7933
7934 Pushed by Joel Brobecker <brobecker@adacore.com>.
7935 * gdb.arch/aarch64-atomic-inst.c: New file.
7936 * gdb.arch/aarch64-atomic-inst.exp: New file.
7937
5e45f04c
YQ
79382014-05-07 Yao Qi <yao@codesourcery.com>
7939
7940 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7941 in current context" too.
7942
c888a17d
KS
79432014-05-05 Keith Seitz <keiths@redhat.com>
7944
7945 * gdb.linespec/ls-dollar.exp: Add test for linespec
7946 file:convenience_variable.
7947
290a839c
YQ
79482014-05-05 Yao Qi <yao@codesourcery.com>
7949
7950 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7951 traceframes into tfile and ctf trace files. Read data from
7952 trace file and test collected data.
7953 (gdb_collect_locals_test): Likewise.
7954 (gdb_unavailable_registers_test): Likewise.
7955 (gdb_unavailable_floats): Likewise.
7956 (gdb_collect_globals_test): Likewise.
7957 (top-level): Append "ctf" to trace_file_targets if GDB
7958 supports.
7959
b5262cd0
YQ
79602014-05-05 Yao Qi <yao@codesourcery.com>
7961
7962 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7963 code to ...
7964 (gdb_collect_args_test_1): ... it. New proc.
7965 (gdb_collect_locals_test): Move some code to ...
7966 (gdb_collect_locals_test_1): ... it. New proc.
7967 (gdb_unavailable_registers_test): Move some code to ...
7968 (gdb_unavailable_registers_test_1): ... it. New proc.
7969 (gdb_unavailable_floats): Move some code to ...
7970 (gdb_unavailable_floats_1): ... it. New proc.
7971
30a1e6cc
SDJ
79722014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7973
7974 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7975 probes to test for bitness recognition.
7976 * gdb.arch/amd64-stap-optional-prefix.exp
7977 (test_probe_value_without_reg): New procedure.
7978 Add code to test for different kinds of bitness.
7979
f33da99a
SDJ
79802014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7981
7982 PR breakpoints/16889
7983 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7984 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7985
5b80f00d
PA
79862014-05-01 Pedro Alves <palves@redhat.com>
7987
7988 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7989 gdb_file_cmd if no file is specified.
7990 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7991 last_loaded_file to set the remote exec-file.
7992
f8c2a73c
PA
79932014-05-01 Pedro Alves <palves@redhat.com>
7994
7995 * boards/local-remote-host.exp: New file.
7996
be6e8ac7
PA
79972014-05-01 Pedro Alves <palves@redhat.com>
7998
7999 * boards/local-remote-host.exp: Rename to ...
8000 * boards/local-remote-host-notty.exp: ... this.
8001
cac0dc8f
JB
80022014-04-28 Joel Brobecker <brobecker@adacore.com>
8003
8004 * gdb.ada/dyn_arrayidx: New testcase.
8005
9730e6cc
YQ
80062014-04-26 Yao Qi <yao@codesourcery.com>
8007
8008 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
8009 and compute the length of function main. Save it in
8010 $main_length.
8011 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
8012 (top-level): Use gdb_compile to compile objects into
8013 executable and restart GDB. Remove invocation to
8014 prepare_for_testing.
8015
7ae1a6a6
PA
80162014-04-25 Simon Marchi <simon.marchi@ericsson.com>
8017 Pedro Alves <palves@redhat.com>
8018
8019 PR server/16255
8020 * gdb.multi/multi-attach.c: New file.
8021 * gdb.multi/multi-attach.exp: New file.
8022
4082afcc
PA
80232014-04-25 Pedro Alves <palves@redhat.com>
8024
8025 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
8026 user.
8027 (top level): Test that "set remote conditional-breakpoints-packet
8028 off" works as intended.
8029 * gdb.base/dprintf.exp: Test that "set remote
8030 breakpoint-commands-packet off" works as intended.
8031 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
8032 New function.
8033 (top level): Call it.
8034 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
8035 remote fast-tracepoints-packet off" works as intended.
8036 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
8037 * lib/gdb.exp (gdb_is_target_remote): ... here.
8038
2abc3f8d
DB
80392014-04-24 David Blaikie <dblaikie@gmail.com>
8040
8041 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
8042 ensure clang would not discard them.
8043 * gdb.base/gdbvars.c: Ditto.
8044 * gdb.base/memattr.c: Ditto.
8045 * gdb.base/whatis.c: Ditto.
8046 * gdb.python/py-prettyprint.c: Ditto.
8047 * gdb.trace/actions.c: Ditto.
8048 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
8049 ensure clang would not discard it.
8050
bfd39632
DB
80512014-04-24 David Blaikie <dblaikie@gmail.com>
8052
8053 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
8054 clang to emit the full definition of type required by the test
8055 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
8056
22842ff6
DB
80572014-04-24 David Blaikie <dblaikie@gmail.com>
8058
8059 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
8060 coax Clang into emitting the definition of the type.
8061 * gdb.cp/pr10728-x.h (y): Ditto.
8062 * gdb.cp/pr10728-y.cc (y): Ditto.
8063
c2e827ad
DB
80642014-04-24 David Blaikie <dblaikie@gmail.com>
8065
8066 * gdb.base/label.exp: XFAIL label related tests under Clang.
8067 * gdb.cp/cplabel.exp: Ditto.
8068 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
8069 under Clang those using labels.
8070
4c2d33e7
YQ
80712014-04-25 Yao Qi <yao@codesourcery.com>
8072
8073 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
8074 double_label.
8075 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
8076 partial_label and double_label.
8077
56083b99
DB
80782014-04-24 David Blaikie <dblaikie@gmail.com>
8079
8080 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
8081
25d4e99d
DB
80822014-04-24 David Blaikie <dblaikie@gmail.com>
8083
8084 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
8085 of the function to work across GCC and Clang.
8086 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
8087 pointer types (const void ** const V void **).
8088
01f9f808
MS
80892014-04-24 Michael Sturm <michael.sturm@mintel.com>
8090 Walfred Tedeschi <walfred.tedeschi@intel.com>
8091
8092 * Makefile.in (EXECUTABLES): Added i386-avx512.
8093 * gdb.arch/i386-avx512.c: New file.
8094 * gdb.arch/i386-avx512.exp: Likewise.
8095
4b48d439
KS
80962014-04-23 Keith Seitz <keiths@redhat.com>
8097
8098 * lib/mi-support.exp (mi_list_breakpoints): Delete.
8099 (mi_make_breakpoint_table): New procedure.
8100 (mi_create_breakpoint): Use mi_make_breakpoint
8101 and return the result.
8102 (mi_make_breakpoint): New procedure.
8103 (mi_build_kv_pairs): New procedure.
8104
8105 * gdb.mi/mi-break.exp: Remove unused globals,
8106 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
8107 All callers updated.
8108 * gdb.mi/mi-dprintf.exp: Use variable to track command
8109 number.
8110 Update all callers of mi_create_breakpoint and use
8111 mi_make_breakpoint_table.
8112 Remove any unused global variables.
8113 * gdb.mi/mi-nonstop.exp: Likewise.
8114 * gdb.mi/mi-nsintrall.exp: Likewise.
8115 * gdb.mi/mi-nsmoribund.exp: Likewise.
8116 * gdb.mi/mi-nsthrexec.exp: Likewise.
8117 * gdb.mi/mi-reverse.exp: Likewise.
8118 * gdb.mi/mi-simplerun.exp: Likewise.
8119 * gdb.mi/mi-stepn.exp: Likewise.
8120 * gdb.mi/mi-syn-frame.exp: Likewise.
8121 * gdb.mi/mi-until.exp: Likewise.
8122 * gdb.mi/mi-var-cp.exp: Likewise.
8123 * gdb.mi/mi-var-display.exp: Likewise.
8124 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
8125 * gdb.mi/mi2-var-child.exp: Likewise.
8126 * gdb.mi/mi-vla-c99.exp: Likewise.
8127 * lib/mi-support.exp: Likewise.
8128
8129 From Ian Lance Taylor <iant@cygnus.com>:
8130 * lib/gdb.exp (parse_args): New procedure.
8131
08351840
PA
81322014-04-23 Pedro Alves <palves@redhat.com>
8133
8134 * gdb.base/break-unload-file.c: New file.
8135 * gdb.base/break-unload-file.exp: New file.
8136 * gdb.base/sym-file-lib.c (baz): New function.
8137 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
8138 field.
8139 (load): Store the segment's mapped size.
8140 (unload): New function.
8141 (unload_shlib): New function.
8142 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
8143 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
8144 set a breakpoint at baz, and call it.
8145 * gdb.base/sym-file.exp: New tests for stale breakpoint
8146 instructions.
8147
076855f9
PA
81482014-04-23 Pedro Alves <palves@redhat.com>
8149
8150 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
8151 * gdb.base/hbreak-in-shr-unsupported.c: New file.
8152 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
8153 * gdb.base/hbreak-unmapped.c: New file.
8154 * gdb.base/hbreak-unmapped.exp: New file.
8155 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
8156 * lib/gdb.exp (gdb_is_target_remote): ... here.
8157
483805cf
PA
81582014-04-22 Pedro Alves <palves@redhat.com>
8159
8160 * gdb.base/consecutive-step-over.c: New file.
8161 * gdb.base/consecutive-step-over.exp: New file.
8162
06d97543
PA
81632014-04-22 Pedro Alves <palves@redhat.com>
8164
8165 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
8166 instead of send_gdb/gdb_expect.
8167
b4429ea2
YQ
81682014-04-22 Yao Qi <yao@codesourcery.com>
8169
8170 * lib/trace-support.exp (generate_tracefile): New procedure.
8171 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
8172 return 0.
8173 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
8174 if generate_tracefile returns 1.
8175
51d48146
PA
81762014-04-18 Tom Tromey <palves@redhat.com>
8177 Pedro alves <tromey@redhat.com>
8178
8179 PR backtrace/15558
8180 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
8181 with a backtrace limit.
8182 * gdb.python/py-frame-inline.exp: Test running to an inline
8183 function with a backtrace limit, and printing the newest frame.
8184 * gdb.python/py-frame-inline.c (main): Call f.
8185
bd1dce5f
MS
81862014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8187
8188 * gdb.java/jnpe.exp: Drop srcdir from untested path.
8189
40d1a503
MS
81902014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8191
8192 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
8193 Drop prefix from unsupported source file path.
8194
389b98f7
YQ
81952014-04-17 Yao Qi <yao@codesourcery.com>
8196
8197 * lib/gdb.exp (with_target_charset): New proc.
8198 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
8199 with_target_charset.
8200 (test_print_strings): Likewise.
8201 (test_repeat_bytes): Likewise.
8202 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
8203 for some tests.
8204
22869d73
KS
82052014-04-16 Keith Seitz <keiths@redhat.com>
8206
8207 PR gdb/15827
8208 * gdb.dwarf2/corrupt.c: New file.
8209 * gdb.dwarf2/corrupt.exp: New file.
8210
c4f87ca6
KS
82112014-04-16 Keith Seitz <keiths@redhat.com>
8212
8213 PR c++/16597
8214 * gdb.cp/namelessclass.cc: New file.
8215 * gdb.cp/namelessclass.exp: New file.
8216 * gdb.cp/namelessclass.S: New file.
8217
ab19de87
DE
82182014-04-16 Doug Evans <dje@google.com>
8219
8220 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
8221 Add comment.
8222 (gdbserver_default_get_comm_port): New function.
8223 (gdbserver_start): Check if board file provided
8224 "gdbserver,get_comm_port" and use it if so.
8225 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
8226 (gdb,socketport): Set to "stdio".
8227 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
8228 (stdio_gdbserver_template): Delete.
8229 (${board}_get_remote_address): Update.
8230 (${board}_build_remote_cmd): Delete.
8231 (${board}_get_comm_port): New function.
8232 (${board}_spawn): Update.
8233 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
8234 Delete.
8235 (${board}_get_remote_address): Update.
8236 (${board}_get_comm_port): New function.
8237
fc98a809
AB
82382014-04-16 Andrew Burgess <aburgess@broadcom.com>
8239
8240 * gdb.base/memattr.exp: Improve regexps to handle memory regions
8241 appearing in any order.
8242
87fd9e6e
DE
82432014-04-15 Doug Evans <dje@google.com>
8244
8245 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
8246 uninitialized value of "description".
8247
099fc3ea
KS
82482014-04-15 Keith Seitz <keiths@redhat.com>
8249
8250 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
8251 Remove unused globals.
8252 (test_running_the_program): Likewise.
8253 (test_controlled_execution): Likewise.
8254 (test_controlling_breakpoints): Likewise.
8255 (test_program_termination): Likewise.
8256
5da151d4
KS
82572014-04-15 Keith Seitz <keiths@redhat.com>
8258
8259 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
8260 unused globals.
8261 (test_rbreak_creation_and_listing): Likewise.
8262 (test_ignore_count): Likewise.
8263 (test_error): Likewise.
8264
35e5d2f0
PA
82652014-04-15 Pedro Alves <palves@redhat.com>
8266
8267 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
8268 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
8269 sym-file-loader.c.
8270 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8271 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8272 to sym-file-loader.c.
8273 (struct library): Forward declare.
8274 (load_shlib, lookup_function): Change prototypes.
8275 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8276 (translate_offset): Remove declarations.
8277 (get_text_addr): New declaration.
8278 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
8279 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
8280 sym-file-loader.h.
8281 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8282 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8283 here from sym-file-loader.h.
8284 (struct library): New structure.
8285 (load_shlib, lookup_function): Change prototypes and adjust to
8286 work with a struct library.
8287 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8288 (translate_offset): Make static.
8289 (get_text_addr): New function.
8290 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
8291
eb4c1710
PA
82922014-04-15 Pedro Alves <palves@redhat.com>
8293
8294 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
8295
2d1baf52
PA
82962014-04-15 Pedro Alves <palves@redhat.com>
8297
8298 * gdb.base/sym-file-loader.c: Include <limits.h>.
8299 (SELF_LINK): New define.
8300 (get_origin): New function.
8301 (load_shlib): Use it.
8302 * gdb.base/sym-file.exp: Don't early return if the target is
8303 remote. Use runto_main, and issue fail is that fails. Use
8304 gdb_load_shlibs.
8305 (shlib_name): Delete.
8306 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
8307
7dd6df01
PA
83082014-04-15 Pedro Alves <palves@redhat.com>
8309
8310 * gdb.base/sym-file.exp: Remove regex characters from test
8311 message. Don't refer to breakpoint numbers in test messages.
8312
b50c8614
KS
83132014-04-14 Keith Seitz <keiths@redhat.com>
8314
8315 PR c++/16253
8316 * gdb.cp/var-tag.cc: New file.
8317 * gdb.cp/var-tag.exp: New file.
8318 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8319 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8320 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8321 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8322
3d567982
TT
83232014-04-14 Tom Tromey <tromey@redhat.com>
8324
8325 * gdb.cp/classes.exp (test_enums): Handle underlying type.
8326 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
8327 type.
8328 * gdb.cp/enum-class.exp: New file.
8329 * gdb.cp/enum-class.cc: New file.
8330
0626fc76
TT
83312014-04-14 Tom Tromey <tromey@redhat.com>
8332
8333 * gdb.dwarf2/enum-type.exp: New file.
8334
dca325b3
SA
83352014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8336
8337 * gdb.mi/mi-vla-c99.exp: New file.
8338 * gdb.mi/vla.c: New file.
8339
5854b38a
SA
83402014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8341
8342 * gdb.base/vla-datatypes.c: New file.
8343 * gdb.base/vla-datatypes.exp: New file.
8344
463bb957
SA
83452014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8346
8347 * gdb.base/vla-ptr.c: New file.
8348 * gdb.base/vla-ptr.exp: New file.
8349
3dd170be
SA
83502014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8351
8352 * gdb.dwarf2/count.exp: New file.
8353
5ecaaa66
SA
83542014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8355
8356 * gdb.base/vla-sideeffect.c: New file.
8357 * gdb.base/vla-sideeffect.exp: New file.
8358
41f1ada5
DB
83592014-04-14 David Blaikie <dblaikie@gmail.com>
8360
8361 * gdb.mi/non-stop.c: Add return value for non-void function return
8362 statement.
8363 * gdb.threads/staticthreads.c: Ditto.
8364
0be03e84
DE
83652014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8366 Doug Evans <xdje42@gmail.com>
8367
8368 * gdb.guile/scm-value.c: Improve test case.
8369 * gdb.guile/scm-value.exp: Add new test.
8370
f180a1fb
DB
83712014-04-11 David Blaikie <dblaikie@gmail.com>
8372
8373 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8374 override Clang's default.
8375
6b662e19
JB
83762014-04-11 Joel Brobecker <brobecker@adacore.com>
8377
8378 Revert the following changes (regressions):
8379
8380 * gdb.base/vla-sideeffect.c: New file.
8381 * gdb.base/vla-sideeffect.exp: New file.
8382
8383 * gdb.dwarf2/count.exp: New file.
8384
8385 * gdb.base/vla-multi.c: New file.
8386 * gdb.base/vla-multi.exp: New file.
8387
8388 * gdb.base/vla-ptr.c: New file.
8389 * gdb.base/vla-ptr.exp: New file.
8390
8391 * gdb.base/vla-datatypes.c: New file.
8392 * gdb.base/vla-datatypes.exp: New file.
8393
8394 * gdb.mi/mi-vla-c99.exp: New file.
8395 * gdb.mi/vla.c: New file.
8396
245a5f0b
KS
83972014-04-11 Keith Seitz <keiths@redhat.com>
8398
8399 PR c++/16675
8400 * gdb.cp/cpsizeof.exp: New file.
8401 * gdb.cp/cpsizeof.cc: New file.
8402
58a84dcf
SA
84032014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8404
191a8a90
JB
8405 * gdb.mi/mi-vla-c99.exp: New file.
8406 * gdb.mi/vla.c: New file.
58a84dcf 8407
c8655f75
SA
84082014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8409
8410 * gdb.base/vla-datatypes.c: New file.
8411 * gdb.base/vla-datatypes.exp: New file.
8412
024e13b4
SA
84132014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8414
8415 * gdb.base/vla-ptr.c: New file.
8416 * gdb.base/vla-ptr.exp: New file.
8417
1a237e0e
SA
84182014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8419
8420 * gdb.base/vla-multi.c: New file.
8421 * gdb.base/vla-multi.exp: New file.
8422
504f3432
SA
84232014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8424
8425 * gdb.dwarf2/count.exp: New file.
8426
3bce8237
SA
84272014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8428
191a8a90
JB
8429 * gdb.base/vla-sideeffect.c: New file.
8430 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 8431
322f9c21
YQ
84322014-04-11 Yao Qi <yao@codesourcery.com>
8433
8434 * gdb.base/completion.exp: Check file exists before running tests
8435 on file completion.
8436
d708bcd1
PA
84372014-04-10 Pedro Alves <palves@redhat.com>
8438
8439 * gdb.base/cond-eval-mode.c: New file.
8440 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8441 prepare_for_testing to build the new file. Check result of
8442 runto_main.
8443 (test_break, test_watch): New procedures.
8444 (top level): Use them.
8445
ae1d2761
PM
84462014-04-08 Pierre Muller <muller@sourceware.org>
8447
8448 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8449 Ctrl-V use for mingw hosts.
8450
7af389b8
SC
84512014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8452
8453 * gdb.python/py-value.c: Improve test case.
8454 * gdb.python/py-value.exp: Add new test.
8455
5e703181
DE
84562014-04-07 David Blaikie <dblaikie@gmail.com>
8457
8458 * lib/compiler.c: Identify the clang compiler.
8459 * lib/compiler.cc: Ditto.
8460
9810b410
YQ
84612014-04-03 Yao Qi <yao@codesourcery.com>
8462
8463 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8464
98d1b8dc
AB
84652014-04-01 Anton Blanchard <anton@samba.org>
8466
8467 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8468 messages unique.
8469
3114cea1
AB
84702014-04-01 Anton Blanchard <anton@samba.org>
8471
8472 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8473 prepare_for_testing.
8474
62f7182c
AB
84752014-04-01 Anton Blanchard <anton@samba.org>
8476
8477 * gdb.arch/ppc64-atomic-inst.c: Remove.
8478 * gdb.arch/ppc64-atomic-inst.S: New file.
8479 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8480
770e7fc7
DE
84812014-03-31 Doug Evans <dje@google.com>
8482
8483 * gdb.base/print-symbol-loading-lib.c: New file.
8484 * gdb.base/print-symbol-loading-main.c: New file.
8485 * gdb.base/print-symbol-loading.exp: New file.
8486
46e2bafa
YQ
84872014-03-31 Yao Qi <yao@codesourcery.com>
8488
8489 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8490
8776cfe9
JB
84912014-03-28 Joel Brobecker <brobecker@adacore.com>
8492
8493 * gdb.ada/mi_dyn_arr: New testcase.
8494
5d1ef361
DE
84952014-03-27 Doug Evans <dje@google.com>
8496
8497 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8498
b5bee914
YQ
84992014-03-27 Yao Qi <yao@codesourcery.com>
8500
8501 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8502 if target is nios2-*-*.
8503
0d4d0e77
YQ
85042014-03-26 Yao Qi <yao@codesourcery.com>
8505
8506 * lib/gdb.exp (readline_is_used): New proc.
8507 * gdb.base/completion.exp: Move tests on command complete up.
8508 Skip the rest of tests if readline is not used.
8509 * gdb.ada/complete.exp: Skp the test if readline is not
8510 used.
8511 * gdb.base/filesym.exp: Likewise.
8512 * gdb.base/macscp.exp: Likewise.
8513 * gdb.base/readline-ask.exp: Likewise.
8514 * gdb.base/readline.exp: Likewise.
8515 * gdb.python/py-cmd.exp: Likewise.
8516 * gdb.trace/tfile.exp: Likewise.
8517
29361eee
YQ
85182014-03-26 Yao Qi <yao@codesourcery.com>
8519
8520 * gdb.base/macscp.exp: Fix code format issues.
8521
bc9a5525
UW
85222014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8523
8524 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8525 * gdb.asm/powerpc64le.inc: New file.
8526
d3839ede
PA
85272014-03-25 Pedro Alves <palves@redhat.com>
8528 Doug Evans <dje@google.com>
8529
8530 * gdb.base/source-execution.c: New file.
8531 * gdb.base/source-execution.exp: New file.
8532 * gdb.base/source-execution.gdb: New file.
8533
01672a57
DE
85342014-03-24 Doug Evans <dje@google.com>
8535
8536 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8537 using fission.
8538
88bbeca9
HZ
85392014-03-24 Hui Zhu <hui@codesourcery.com>
8540 Pedro Alves <palves@redhat.com>
8541
8542 PR breakpoints/16101
8543 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8544 test pass/fail messages. Detect missing support for dprintf when
8545 breakpoints are actually inserted.
8546 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8547 breakpoints are actually inserted.
8548 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8549 fails.
8550
d2348791
JK
85512014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8552
8553 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8554
feef67ab
DE
85552014-03-22 Doug Evans <xdje42@gmail.com>
8556
8557 * gdb.python/python.exp (python not supported): Verify multi-line
8558 python command issues an error.
25d743f9 8559 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 8560 guile command issues an error.
feef67ab 8561
ecebef6a
MR
85622014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8563
8564 * gdb.threads/thread-specific.exp: Handle the lack of usable
8565 $this_breakpoint and $this_thread.
8566
ccdd1909
HZ
85672014-03-21 Hui Zhu <hui@codesourcery.com>
8568
8569 * gdb.base/attach.exp (do_command_attach_tests): New.
8570
beb460e8
PA
85712014-03-20 Tom Tromey <tromey@redhat.com>
8572 Pedro Alves <palves@redhat.com>
8573
8574 PR cli/15718
8575 * gdb.base/condbreak-call-false.c: New file.
8576 * gdb.base/condbreak-call-false.exp: New file.
8577
40acf43a
PA
85782014-03-20 Pedro Alves <palves@redhat.com>
8579
8580 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8581 Delete.
8582 (block_signals, unblock_signals): Delete.
8583 (child_function_2, main): Remove references to deleted variable
8584 and functions.
8585
9f5e1e02
PA
85862014-03-20 Pedro Alves <palves@redhat.com>
8587
8588 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8589 Use pthread_kill to signal thread 2.
8590 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8591 Adjust to make the test send itself a signal rather than using the
8592 host's "kill" command.
8593
99619bea
PA
85942014-03-20 Pedro Alves <palves@redhat.com>
8595
8596 * gdb.threads/multiple-step-overs.c: New file.
8597 * gdb.threads/multiple-step-overs.exp: New file.
8598 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8599 Adjust expected infrun debug output.
8600
2adfaa28
PA
86012014-03-20 Pedro Alves <palves@redhat.com>
8602
8603 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8604 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8605
31e77af2
PA
86062014-03-20 Pedro Alves <palves@redhat.com>
8607
8608 PR breakpoints/7143
8609 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8610 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8611 of gdb_test_multiple.
8612 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8613 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8614
b9f437de
PA
86152014-03-20 Pedro Alves <palves@redhat.com>
8616
8617 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8618 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8619
05adc73e
PA
86202014-03-19 Pedro Alves <palves@redhat.com>
8621
8622 * gdb.base/async.exp: Remove early return.
8623
6048b950
PA
86242014-03-19 Pedro Alves <palves@redhat.com>
8625
8626 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8627
8bcfb00a
PA
86282014-03-19 Pedro Alves <palves@redhat.com>
8629
8630 * gdb.base/async.exp (test_background): Expect \r\n after
8631 "completed." in the fail pattern.
8632
884e37dc
PA
86332014-03-19 Pedro Alves <palves@redhat.com>
8634
8635 * gdb.base/async.exp (test_background): New procedure.
8636 Use it for all background execution command tests.
8637
148e57e2
PA
86382014-03-19 Pedro Alves <palves@redhat.com>
8639
8640 * gdb.base/async.exp: Use prepare_for_testing.
8641
f48088c7
PA
86422014-03-19 Pedro Alves <palves@redhat.com>
8643
8644 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8645 the same line.
8646
e2f6c966
PA
86472014-03-19 Pedro Alves <palves@redhat.com>
8648
8649 * gdb.base/async.c (main): Add "jump here" and "until here" line
8650 marker comments.
8651 * gdb.base/async.exp (jump_here): New global.
8652 (jump& test): Use it.
8653 (until_here): New global.
8654 (until& test): Use it.
8655
c30568d4
PA
86562014-03-19 Pedro Alves <palves@redhat.com>
8657
8658 * gdb.base/async.exp: Don't frob gdb_protocol.
8659
0172b6a7
DE
86602014-03-18 Doug Evans <xdje42@gmail.com>
8661
8662 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8663 Fix spelling of exec-done-display.
8664
06c868a8
JK
86652014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8666
8667 PR gdb/15358
8668 * gdb.base/gdb-sigterm.c: New file.
8669 * gdb.base/gdb-sigterm.exp: New file.
8670
0c7e1a46
PA
86712014-03-18 Pedro Alves <palves@redhat.com>
8672
8673 PR gdb/13860
8674 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8675 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8676 solib-event.
8677
f7c77d93
JB
86782014-03-17 Joel Brobecker <brobecker@adacore.com>
8679
8680 * gdb.ada/pckd_arr_ren: New testcase.
8681
5a1e8c7a
DE
86822014-03-13 Doug Evans <xdje42@gmail.com>
8683
8684 PR guile/16612
8685 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8686 collect after discarding symbols.
8687
350e1a76
DE
86882014-03-13 Ludovic Courtès <ludo@gnu.org>
8689 Doug Evans <xdje42@gmail.com>
8690
8691 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8692 to history survives a gc.
8693
a69900ae
PA
86942014-03-13 Pedro Alves <palves@redhat.com>
8695
8696 * gdb.base/default.exp: Don't test "target procfs".
8697
5db9f0bd
PA
86982014-03-13 Pedro Alves <palves@redhat.com>
8699
8700 * gdb.base/default.exp: Update "target child" and "target procfs"
8701 tests to not expect "Unix".
8702
b3ccfe11
TT
87032014-03-12 Tom Tromey <tromey@redhat.com>
8704
8705 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8706 New procs. Add target-async tests.
8707 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8708 Add target-async tests.
8709
646f4417
AA
87102014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8711
8712 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8713 'func_start' and 'func_end' for the beginning and end of the
8714 function code, respectively.
8715 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8716 'func_end' instead of 'func' and 'main'.
8717
288c211f
AA
87182014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8719
8720 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8721 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8722 generate the debug info assembler source.
8723
e0c0f156
AA
87242014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8725
8726 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8727 * gdb.dwarf2/arr-subrange.exp: Likewise.
8728 * gdb.dwarf2/dwz.exp: Likewise.
8729 * gdb.dwarf2/method-ptr.exp: Likewise.
8730 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8731 * gdb.dwarf2/subrange.exp: Likewise.
8732 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8733 * gdb.dwarf2/implptrpiece.exp: Likewise.
8734 * gdb.dwarf2/nostaticblock.exp: Likewise.
8735
0e5c4555
AA
87362014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8737
8738 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8739 directory to absolute path name arguments.
8740
5ec18f2b
JG
87412014-03-10 Joel Brobecker <brobecker@adacore.com>
8742
8743 * gdb.ada/tagged_access: New testcase.
8744
847fc4f2
MM
87452014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8746
8747 * gdb.btrace/data.exp: Update expected output.
8748
cc3da688
YQ
87492014-03-06 Yao Qi <yao@codesourcery.com>
8750
8751 * gdb.trace/pr16508.exp: New file.
8752
0f26cec1
PA
87532014-03-05 Pedro Alves <palves@redhat.com>
8754
8755 PR gdb/16575
8756 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8757 procedure.
8758 (top level): Adjust to use it. Add tests that exercise breakpoint
8759 interaction with the code-cache.
8760
7a5a839f
LC
87612014-02-26 Ludovic Courtès <ludo@gnu.org>
8762
8763 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8764 test for 'history-append!'.
8765
31aa7e4e
JB
87662014-02-26 Joel Brobecker <brobecker@adacore.com>
8767
8768 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8769 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8770 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8771 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8772 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8773 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8774
1b588015
JB
87752014-02-26 Joel Brobecker <brobecker@adacore.com>
8776
8777 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8778 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8779 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8780
55426c9d
JB
87812014-02-26 Joel Brobecker <brobecker@adacore.com>
8782
8783 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8784
dc53a7ad
JB
87852014-02-26 Joel Brobecker <brobecker@adacore.com>
8786
8787 * gdb.dwarf2/arr-stride.c: New file.
8788 * gdb.dwarf2/arr-stride.exp: New file.
8789
12ab52e9
PA
87902014-02-26 Pedro Alves <palves@redhat.com>
8791
8792 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8793 that won't ever trigger. Make sure that GDB reports the correct
8794 breakpoint that caused the stop.
8795
849c862e
JK
87962014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8797
8798 PR gdb/16626
8799 * gdb.base/auto-load-script: New file.
8800 * gdb.base/auto-load.c: New file.
8801 * gdb.base/auto-load.exp: New file.
8802
71b7d793
JK
8803 PR gdb/16626
8804 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8805
e2f0d509
JK
88062014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8807
8808 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8809 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8810
50cc37c8
DE
88112014-02-24 Doug Evans <dje@google.com>
8812
8813 * lib/gdb.exp (run_on_host): Log error output if program fails.
8814
ea4758f2
PA
88152014-02-21 Pedro Alves <palves@redhat.com>
8816
8817 * gdb.threads/step-after-sr-lock.c: Rename to ...
8818 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8819 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8820 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8821 ... this.
8822
d7b30f67
SDJ
88232014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8824
8825 PR tdep/16397
8826 * gdb.arch/amd64-stap-special-operands.exp: New file.
8827 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8828 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8829 * gdb.arch/amd64-stap-triplet.S: Likewise.
8830 * gdb.arch/amd64-stap-triplet.c: Likewise.
8831
83deb43f
JB
88322014-02-20 Joel Brobecker <brobecker@adacore.com>
8833
8834 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8835 in .section pseudo-op.
8836
adde2bff
DE
88372014-02-20 lin zuojian <manjian2006@gmail.com>
8838 Joel Brobecker <brobecker@adacore.com>
8839 Doug Evans <xdje42@gmail.com>
8840
8841 PR symtab/16581
8842 * gdb.dwarf2/dw2-icycle.S: New file.
8843 * gdb.dwarf2/dw2-icycle.c: New file.
8844 * gdb.dwarf2/dw2-icycle.exp: New file.
8845
f7bd0f78
SC
88462014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8847
8848 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8849 operations on gdb.Value objects.
8850 * gdb.python/py-value-cc.exp: Add new test to test operations on
8851 gdb.Value objects.
8852
c17ef0d5
DE
88532014-02-18 Doug Evans <dje@google.com>
8854
8855 * Makefile.in (TESTS): New variable.
8856 (expanded_tests, expanded_tests_or_none): New variables
8857 (check-single): Pass $(expanded_tests_or_none) to runtest.
8858 (check-parallel): Only run tests in $(TESTS) if non-empty.
8859 (check/no-matching-tests-found): New rule.
8860 * README: Document TESTS makefile variable.
8861
5dd3176f
DE
88622014-02-18 Doug Evans <dje@google.com>
8863
8864 * Makefile.in (check-parallel): rm -rf outputs temp.
8865
0b10be4f
JK
88662014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8867
8868 Fix "ERROR: no fileid for" in the testsuite.
8869 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8870
85f224e7
DE
88712014-02-12 Doug Evans <dje@google.com>
8872
8873 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8874 (MISCELLANEOUS): New variable.
8875 (clean): rm -rf $(MISCELLANEOUS).
8876 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8877 dwp live in the same directory as symlinks, with each symlink pointed
8878 to a differently named file in a different directory.
8879
149b30ff
DE
88802014-02-11 Doug Evans <dje@google.com>
8881
8882 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8883 of Tcl file commands.
8884
1dfdac32
MK
88852014-02-10 Mark Kettenis <kettenis@gnu.org>
8886
8887 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8888 "kill -SIGUSR1 -1".
8889
aa4fb036
JB
88902014-02-10 Joel Brobecker <brobecker@adacore.com>
8891
8892 * gdb.ada/tick_length_array_enum_idx: New testcase.
8893
ed3ef339
DE
88942014-02-10 Doug Evans <xdje42@gmail.com>
8895
8896 * configure.ac (AC_OUTPUT): Add gdb.guile.
8897 * configure: Regenerate.
8898 * lib/gdb-guile.exp: New file.
8899 * lib/gdb.exp (get_target_charset): New function.
8900 * gdb.base/help.exp: Update expected output from "apropos apropos".
8901 * gdb.guile/Makefile.in: New file.
8902 * gdb.guile/guile.exp: New file.
8903 * gdb.guile/scm-arch.c: New file.
8904 * gdb.guile/scm-arch.exp: New file.
8905 * gdb.guile/scm-block.c: New file.
8906 * gdb.guile/scm-block.exp: New file.
8907 * gdb.guile/scm-breakpoint.c: New file.
8908 * gdb.guile/scm-breakpoint.exp: New file.
8909 * gdb.guile/scm-disasm.c: New file.
8910 * gdb.guile/scm-disasm.exp: New file.
8911 * gdb.guile/scm-equal.c: New file.
8912 * gdb.guile/scm-equal.exp: New file.
8913 * gdb.guile/scm-error.exp: New file.
8914 * gdb.guile/scm-error.scm: New file.
8915 * gdb.guile/scm-frame-args.c: New file.
8916 * gdb.guile/scm-frame-args.exp: New file.
8917 * gdb.guile/scm-frame-args.scm: New file.
8918 * gdb.guile/scm-frame-inline.c: New file.
8919 * gdb.guile/scm-frame-inline.exp: New file.
8920 * gdb.guile/scm-frame.c: New file.
8921 * gdb.guile/scm-frame.exp: New file.
8922 * gdb.guile/scm-generics.exp: New file.
8923 * gdb.guile/scm-gsmob.exp: New file.
8924 * gdb.guile/scm-iterator.c: New file.
8925 * gdb.guile/scm-iterator.exp: New file.
8926 * gdb.guile/scm-math.c: New file.
8927 * gdb.guile/scm-math.exp: New file.
8928 * gdb.guile/scm-objfile-script-gdb.in: New file.
8929 * gdb.guile/scm-objfile-script.c: New file.
8930 * gdb.guile/scm-objfile-script.exp: New file.
8931 * gdb.guile/scm-objfile.c: New file.
8932 * gdb.guile/scm-objfile.exp: New file.
8933 * gdb.guile/scm-ports.exp: New file.
8934 * gdb.guile/scm-pretty-print.c: New file.
8935 * gdb.guile/scm-pretty-print.exp: New file.
8936 * gdb.guile/scm-pretty-print.scm: New file.
8937 * gdb.guile/scm-section-script.c: New file.
8938 * gdb.guile/scm-section-script.exp: New file.
8939 * gdb.guile/scm-section-script.scm: New file.
8940 * gdb.guile/scm-symbol.c: New file.
8941 * gdb.guile/scm-symbol.exp: New file.
8942 * gdb.guile/scm-symtab-2.c: New file.
8943 * gdb.guile/scm-symtab.c: New file.
8944 * gdb.guile/scm-symtab.exp: New file.
8945 * gdb.guile/scm-type.c: New file.
8946 * gdb.guile/scm-type.exp: New file.
8947 * gdb.guile/scm-value-cc.cc: New file.
8948 * gdb.guile/scm-value-cc.exp: New file.
8949 * gdb.guile/scm-value.c: New file.
8950 * gdb.guile/scm-value.exp: New file.
8951 * gdb.guile/source2.scm: New file.
8952 * gdb.guile/types-module.cc: New file.
8953 * gdb.guile/types-module.exp: New file.
8954
7026a7c1
YQ
89552014-02-10 Yao Qi <yao@codesourcery.com>
8956
8957 PR testsuite/16543
8958 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8959 * configure: Regenerated.
8960 * Makefile.in: New file.
8961
6c466447
AS
89622014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8963
8964 * gdb.python/py-framefilter.exp: Fix typo.
8965
6e854735
YQ
89662014-02-08 Yao Qi <yao@codesourcery.com>
8967
8968 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8969 that no =breakpoint-modified is emitted when breakpoints are
8970 modified through MI commands.
8971
d137e6dc
PA
89722014-02-07 Pedro Alves <pedro@codesourcery.com>
8973 Pedro Alves <palves@redhat.com>
8974
8975 * gdb.threads/step-after-sr-lock.c: New file.
8976 * gdb.threads/step-after-sr-lock.exp: New file.
8977
b5ee5a50
PA
89782014-02-07 Pedro Alves <palves@redhat.com>
8979
8980 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8981
3c77faf3
JK
89822014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8983
8984 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8985 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8986
6dddc817
DE
89872014-02-06 Doug Evans <xdje42@gmail.com>
8988
8989 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8990 output.
8991
8992 * gdb.gdb/python-interrupts.exp: New file.
8993
de7b2893
YQ
89942014-02-05 Yao Qi <yao@codesourcery.com>
8995
8996 * gdb.trace/report.exp (use_collected_data): Test the output
8997 of "info threads" and "info inferiors".
8998
66d032ac
YQ
89992014-02-05 Yao Qi <yao@codesourcery.com>
9000
9001 Revert this patch:
9002
9003 2013-05-24 Yao Qi <yao@codesourcery.com>
9004
9005 * gdb.trace/tfile.exp: Test inferior and thread.
9006
591a12a1
UW
90072014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9008
9009 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
9010 on a function.
9011 * gdb.base/step-bt.c: Call hello via function pointer to make
9012 sure its first instruction is executed on powerpc64le-linux.
9013
0ff3e01f
UW
90142014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9015
9016 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
9017
084ee545
UW
90182014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9019
9020 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
9021 of the test patterns for use on little-endian systems.
9022
6ed14ff3
UW
90232014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9024
9025 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
9026 (decimal_vector): Fix for little-endian.
9027
401e27fd
JM
90282014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
9029
9030 * gdb.arch/sparc-sysstep.exp: New file.
9031 * gdb.arch/sparc-sysstep.c: Likewise.
9032
9033 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
9034
8b924729
EBM
90352014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9036
9037 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
9038
fb151210
JB
90392014-01-23 Tom Tromey <tromey@redhat.com>
9040
9041 * gdb.ada/array_char_idx: New testcase.
9042
0740f8d8
TT
90432014-01-23 Tom Tromey <tromey@redhat.com>
9044
9045 PR python/16487:
9046 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
9047 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
9048 classes.
9049
21909fa1
TT
90502014-01-23 Tom Tromey <tromey@redhat.com>
9051
9052 PR python/16491:
9053 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
9054 string from an inferior frame.
9055 * gdb.python/py-framefilter-mi.exp: Update.
9056
87ce2a04
DE
90572014-01-22 Doug Evans <dje@google.com>
9058
9059 * gdb.server/server-mon.exp: Add tests for "set debug-format".
9060
237b092b
AA
90612014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9062
9063 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
9064
d674a709
AA
90652014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9066
9067 * gdb.trace/entry-values.exp: Remove excess space character from
9068 regex patterns. Handle s390 call instruction.
9069
20fa3390
AA
90702014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9071
9072 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
9073 define "*_start" label. Make "name" static.
9074 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
9075 ${name} by references to ${name}_start.
9076
78466714
AA
90772014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9078
9079 * gdb.base/info-macros.exp: Remove "debug" from the compile
9080 options.
9081
ec9f644a
IB
90822014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9083
9084 * gdb.dlang/demangle.exp: New file.
9085
94b1b47e
IB
90862014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9087
9088 * gdb.dlang/primitive-types.exp: New file.
9089
7f420862
IB
90902014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9091
9092 * configure.ac: Create gdb.dlang/Makefile.
9093 * configure: Regenerate.
9094 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
9095 * gdb.dlang/Makefile.in: New file.
9096 * lib/d-support.exp: New file.
9097 * lib/gdb.exp (skip_d_tests): New proc.
9098
52834460
MM
90992014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9100
9101 * gdb.btrace/delta.exp: Check reverse stepi.
9102 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
9103 * gdb.btrace/finish.exp: New.
9104 * gdb.btrace/next.exp: New.
9105 * gdb.btrace/nexti.exp: New.
9106 * gdb.btrace/record_goto.c: Add comments.
9107 * gdb.btrace/step.exp: New.
9108 * gdb.btrace/stepi.exp: New.
9109 * gdb.btrace/multi-thread-step.c: New.
9110 * gdb.btrace/multi-thread-step.exp: New.
9111 * gdb.btrace/rn-dl-bind.c: New.
9112 * gdb.btrace/rn-dl-bind.exp: New.
9113 * gdb.btrace/data.c: New.
9114 * gdb.btrace/data.exp: New.
9115 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9116
6e07b1d2
MM
91172014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9118
9119 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
9120 * gdb.btrace/exception.exp: Update.
9121 * gdb.btrace/instruction_history.exp: Update.
9122 * gdb.btrace/record_goto.exp: Update.
9123 * gdb.btrace/tailcall.exp: Update.
9124 * gdb.btrace/unknown_functions.exp: Update.
9125 * gdb.btrace/delta.exp: New.
9126
0b722aec
MM
91272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9128
9129 * gdb.btrace/record_goto.exp: Add backtrace test.
9130 * gdb.btrace/tailcall.exp: Add backtrace test.
9131
066ce621
MM
91322014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9133
9134 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
9135 * gdb.btrace/record_goto.c: New.
9136 * gdb.btrace/record_goto.exp: New.
9137 * gdb.btrace/x86-record_goto.S: New.
9138
0688d04e
MM
91392014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9140
9141 * gdb.btrace/function_call_history.exp: Update tests.
9142 * gdb.btrace/instruction_history.exp: Update tests.
9143
8710b709
MM
91442014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9145
9146 * gdb.btrace/function_call_history.exp: Fix expected field
9147 order for "record function-call-history".
9148 Add new tests for "record function-call-history /c".
9149 * gdb.btrace/exception.cc: New.
9150 * gdb.btrace/exception.exp: New.
9151 * gdb.btrace/tailcall.exp: New.
9152 * gdb.btrace/x86-tailcall.S: New.
9153 * gdb.btrace/x86-tailcall.c: New.
9154 * gdb.btrace/unknown_functions.c: New.
9155 * gdb.btrace/unknown_functions.exp: New.
9156 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9157
5de9129b
MM
91582014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9159
9160 * gdb.btrace/instruction_history.exp: Update.
9161 * gdb.btrace/function_call_history.exp: Update.
9162
23a7fe75
MM
91632014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9164
9165 * gdb.btrace/function_call_history.exp: Fix expected function
9166 trace.
9167 * gdb.btrace/instruction_history.exp: Initialize traced.
9168 Remove traced_functions.
9169
724c7dd8
MM
91702014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9171
9172 * gdb.btrace/function_call_history.exp: Update
9173 * gdb.btrace/instruction_history.exp: Update.
9174
6d78d93b
MM
91752014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9176
9177 * gdb.btrace/enable.exp: Update expected text.
9178
93a360cc
OJ
91792014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
9180
9181 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
9182 bytes.
9183
3772b53f
MR
91842014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
9185
9186 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
9187
596662fa
OJ
91882014-01-15 Omair Javaid <omair.javaid@linaro.org>
9189
9190 * lib/gdb.exp (supports_process_record): Return true for
9191 arm*-linux*. (supports_reverse): Likewise.
9192
b5b08fb4
SC
91932014-01-13 Siva Chandra Reddy <sivachandra@google.com>
9194
9195 PR python/15464
9196 PR python/16113
9197 * gdb.python/py-type.c: Enhance test case.
9198 * gdb.python/py-value-cc.cc: Likewise
9199 * gdb.python/py-type.exp: Add new tests.
9200 * gdb.python/py-value-cc.exp: Likewise
9201
52d7fb13
AA
92022014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9203 Pedro Alves <palves@redhat.com>
9204
9205 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
9206 Make "name" extern.
9207 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
9208 references to ${name}_start by references to ${name}.
9209
a2cd8cfe
JB
92102014-01-10 Joel Brobecker <brobecker@adacore.com>
9211
9212 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
9213
4e23fced
JB
92142014-01-10 Joel Brobecker <brobecker@adacore.com>
9215
9216 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
9217
c6a9e42c
PA
92182014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
9219 Pedro Alves <palves@redhat.com>
9220
9221 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 9222 mi_gdb_target_load.
c6a9e42c 9223
b7ea362b
PA
92242014-01-08 Pedro Alves <palves@redhat.com>
9225
9226 * gdb.threads/reconnect-signal.c: New file.
9227 * gdb.threads/reconnect-signal.exp: New file.
9228
5e3f4fab
EBM
92292014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9230
9231 * gdb.base/source-dir.exp: New file.
9232
79301218
JB
92332014-01-07 Joel Brobecker <brobecker@adacore.com>
9234
9235 * gdb.ada/mi_interface: New testcase.
9236
8e355c5d
JB
92372014-01-07 Joel Brobecker <brobecker@adacore.com>
9238
9239 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
9240 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
9241 gdb.ada/pp-rec-component/pck.ads: New files.
9242
c0d48811
JB
92432014-01-07 Joel Brobecker <brobecker@adacore.com>
9244
9245 * gdb.python/py-pp-integral.c: New file.
9246 * gdb.python/py-pp-integral.py: New file.
9247 * gdb.python/py-pp-integral.exp: New file.
9248
17b609c3 9249For older changes see ChangeLog-1993-2013.
c906108c 9250\f
8d8cb839
EZ
9251;; Local Variables:
9252;; mode: change-log
9253;; left-margin: 8
9254;; fill-column: 74
9255;; version-control: never
9256;; End:
902f2ccb 9257
618f726f 9258 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
9259 Copying and distribution of this file, with or without modification,
9260 are permitted provided the copyright notice and this notice are preserved.
This page took 2.659637 seconds and 4 git commands to generate.