]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
gdb: Fix phony iconv build
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
5ad9dba7
YQ
12016-10-13 Yao Qi <yao.qi@linaro.org>
2
3 * gdb.base/code_elim.exp (get_var_address): Remove.
4 * gdb.base/relocate.exp: Likewise.
5 * gdb.base/shreloc.exp: Likewise.
6 * lib/gdb.exp (get_var_address): New.
7
62df7e21
YQ
82016-10-13 Yao Qi <yao.qi@linaro.org>
9
10 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
11 floating point tests if $skip_float_test is false.
12
4dac951e
LM
132016-10-12 Luis Machado <lgustavo@codesourcery.com>
14
15 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
16 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
17 argc values.
18 Add 1 to argc so we guarantee distinct initial/modified argc values.
19
8f1a8fc4
JK
202016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21
22 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
23
16c85b5d
JK
242016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
25
26 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
27 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
28 * gdb.arch/vsx-regs.exp: Likewise.
29
1d0e042a
YQ
302016-10-07 Yao Qi <yao.qi@linaro.org>
31
32 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
33
68dadef5
MM
342016-10-07 Markus Metzger <markus.t.metzger@intel.com>
35
36 * gdb.python/python.exp: Test decode_line("*0").
37
33fa2c6e
DE
382016-10-06 Doug Evans <dje@google.com>
39
40 * gdb.python/py-value.exp (test_value_creation): Add test for large
41 unsigned 64-bit value.
42
9c37b5ae
TT
432016-10-06 Tom Tromey <tom@tromey.com>
44
45 * gdb.compile/compile.exp: Change java tests to rust.
46 * gdb.base/setshow.exp: Change java tests to rust.
47 * gdb.base/default.exp: Remove java from language list.
48 * README (Examples): Update language example.
49 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
50 test.
51 * lib/gdb.exp (skip_java_tests): Remove.
52 * lib/java.exp: Remove.
53 * gdb.java: Remove.
54
78b86327
MR
552016-10-06 Maciej W. Rozycki <macro@imgtec.com>
56
57 * gdb.arch/mips-fcr.exp: New test.
58 * gdb.arch/mips-fcr.c: Source for the new test.
59
7470adbb
MR
602016-10-06 Maciej W. Rozycki <macro@imgtec.com>
61
62 * gdb.base/solib-disc.exp: Use `standard_output_file'
63 throughout.
64
4a556533
PA
652016-10-06 Pedro Alves <palves@redhat.com>
66
67 * gdb.base/jit-simple-dl.c: New file.
68 * gdb.base/jit-simple-jit.c: New file, factored out from ...
69 * gdb.base/jit-simple.c: ... this.
70 * gdb.base/jit-simple.exp (jit_run): Delete.
71 (build_jit): New proc.
72 (jit_test_reread): Recompile either the main program or the shared
73 library, depending on what is being tested. Skip changing address
74 if caller wants to. Compare before/after addresses. If testing
75 standalone, explicitly load the binary. Test "maint info
76 breakpoints".
77 (top level): Add "standalone vs shared lib" and "change address"
78 vs "same address" axes.
79
5a122fbc
PA
802016-10-06 Pedro Alves <palves@redhat.com>
81
82 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
83 call.
84 (jit_run): Delete.
85 (jit_test_reread): Use with_test_prefix. Reload the main binary
86 explicitly. Compare the before/after addresses of the JIT
87 descriptor.
88
ee8da4b8
DE
892016-08-15 Doug Evans <dje@google.com>
90
91 * gdb.xml/extra-regs.xml: Update, end field now required, default type
92 for single bitfields is bool.
93 * gdb.xml/tdesc-regs.exp: Ditto.
94
f389f6fe
JK
952016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
96
97 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
98
fdebf1a4
YQ
992016-10-05 Yao Qi <yao.qi@linaro.org>
100
101 * lib/gdb.exp (support_complex_tests): Return zero if
102 gdb_skip_float_test return true.
103
9c36d954
AT
1042016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
1052016-10-03 Simon Marchi <simon.marchi@ericsson.com>
106
107 PR gdb/20487
108 * gdb.mi/user-selected-context-sync.exp: New file.
109 * gdb.mi/user-selected-context-sync.c: New file.
110
4034d0ff
AT
1112016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
1122016-10-03 Simon Marchi <simon.marchi@ericsson.com>
113
114 PR gdb/20487
115 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
116 =thread-select-event check.
117
a4297203
PB
1182016-09-29 Peter Bergner <bergner@vnet.ibm.com>
119
120 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
121 the compulsory L operand changes.
122 * gdb.arch/powerpc-power.s: Likewise.
123
bb805577
JK
1242016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
125
126 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
127 * gdb.base/jit-attach-pie.c: New file.
128 * gdb.base/jit-attach-pie.exp: New file.
129
6d61dee5
PA
1302016-09-28 Pedro Alves <palves@redhat.com>
131
132 * gdb.base/infcall-input.c: New file.
133 * gdb.base/infcall-input.exp: New file.
134
f73842fc
YQ
1352016-09-22 Yao Qi <yao.qi@linaro.org>
136
137 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
138 (gdb_exit): Rename it to ...
139 (gdbserver_gdb_exit): ... Close GDBserver.
140 (gdb_exit): New proc, call gdbserver_gdb_exit.
141 (mi_gdb_exit): Likewise.
142
90681dab
YQ
1432016-09-22 Yao Qi <yao.qi@linaro.org>
144
145 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
146 path.
147 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
148 Remove duplication.
149
9c211fd8
YQ
1502016-09-22 Yao Qi <yao.qi@linaro.org>
151
152 * lib/gdbserver-support.exp: Check the existence of
153 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
154
ad0a504f
AK
1552016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
156
157 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
158
36cf1806
TT
1592016-09-21 Tom Tromey <tom@tromey.com>
160
161 PR gdb/20604:
162 * gdb.base/quit.exp: New file.
163
74172ecf
SM
1642016-09-21 Simon Marchi <simon.marchi@ericsson.com>
165
166 * .gitignore: New file.
167
3d0ec882
MR
1682016-09-21 Maciej W. Rozycki <macro@imgtec.com>
169
170 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
171 throughout.
172
8193adea
AA
1732016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
174
175 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
176
d41a5c09
JK
1772016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
178
179 * gdb.cp/casts.cc (decltype): Move it ...
180 (main): ... with its call to ...
181 * gdb.cp/casts03.cc: ... a new file.
182 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
183
d2dfe700
JK
1842016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
185
186 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
187
e2a92b16
PB
1882016-09-15 Peter Bergner <bergner@vnet.ibm.com>
189
190 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
191 and sync up the test with tests in gas/testsuite/gas/ppc.
192 * gdb.arch/powerpc-power.exp: Likewise.
193
49b4de64
JK
1942016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
195
196 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
197
2c29df25
SDJ
1982016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
199 Jan Kratochvil <jan.kratochvil@redhat.com>
200
201 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
202 make m1's definition to be different from m2's. Use 'dummy' as an
203 argument for probe 'two'.
204
cc3c2846
JB
2052016-09-10 Jon Beniston <jon@beniston.com>
206
207 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
208 for sim target.
209
e1b2624a
AA
2102016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
211
212 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
213 variable declaration.
214 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
215 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
216 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
217 received HWCAP as its argument.
218
4295e285
PA
2192016-09-06 Pedro Alves <palves@redhat.com>
220
221 * gdb.base/new-ui-pending-input.c: New file.
222 * gdb.base/new-ui-pending-input.exp: New file.
223 * gdb.exp (clear_gdb_spawn_id): New procedure.
224 (with_spawn_id): Check whether gdb_spawn_id exists before
225 referencing it. If gdb_spawn_id didn't exist on entry, clear it
226 on exit.
227
00d5215e
UW
2282016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
229
230 * gdb.base/float128.c: New file.
231 * gdb.base/float128.exp: Likewise.
232 * gdb.base/floatn.c: Likewise.
233 * gdb.base/floatn.exp: Likewise.
234
a9ff5f12
UW
2352016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
236
237 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
238
f245535c
PA
2392016-09-05 Pedro Alves <palves@redhat.com>
240
241 PR backtrace/19927
242 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
243 unwinders are immediately called as side effect of "source" or
244 "disable unwinder" commands.
245 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
246
ae9cf263
YQ
2472016-09-02 Yao Qi <yao.qi@linaro.org>
248
249 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
250 is true and $type is "float" or "double".
251
27aba047
YQ
2522016-09-02 Yao Qi <yao.qi@linaro.org>
253
254 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
255 true.
256 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
257 * gdb.base/call-rt-st.exp: Likewise.
258 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
259 return value instead of gdb,skip_float_test.
260 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
261 (do_function_calls): Use its return value instead of
262 gdb,skip_float_test.
263 * gdb.base/finish.exp: Likewise.
264 * gdb.base/funcargs.exp: Likewise.
265 * gdb.base/return.exp: Likewise.
266 * gdb.base/return2.exp: Likewise.
267 * gdb.base/varargs.exp: Likewise.
268 * lib/gdb.exp (gdb_skip_float_test): Change it to
269 gdb_caching_proc. Detect the broken ptrace on arm-linux.
270
5af962df
AA
2712016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
272
273 * gdb.multi/tids.exp: Test "thread apply all".
274
7fac6910
JK
2752016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
276
277 * gdb.base/default.exp (tty): Remove.
278
bb1fe4ac
KB
2792016-08-24 Kevin Buettner <kevinb@redhat.com>
280
281 * gdb.python/py-recurse-unwind.c: New file.
282 * gdb.python/py-recurse-unwind.py: New file.
283 * gdb.python/py-recurse-unwind.exp: New file.
284
0a1ddfa6
SM
2852016-08-24 Simon Marchi <simon.marchi@ericsson.com>
286
287 * gdb.base/set-inferior-tty.exp: New file.
288 * gdb.base/set-inferior-tty.c: New file.
289
d9de1fe3
PA
2902016-08-23 Pedro Alves <palves@redhat.com>
291
292 PR gdb/20494
293 * gdb.base/new-ui-echo.c: New file.
294 * gdb.base/new-ui-echo.exp: New file.
295
e9d9abd7
YQ
2962016-08-23 Yao Qi <yao.qi@linaro.org>
297
298 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
299 gdbserver_spawn.
300 * gdb.server/connect-without-multi-process.exp (do_test):
301 Likewise.
302
3589529e
YQ
3032016-08-23 Yao Qi <yao.qi@linaro.org>
304
305 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
306 standalone_txt. Delete gdb_txt and standalone_txt on host
307 and target. Spawn the binary on target. Copy files from
308 target to host.
309
6bb90213
PA
3102016-08-22 Pedro Alves <palves@redhat.com>
311
312 PR gdb/20505
313 * gdb.base/vdso-warning.exp: Test core dumps too. Use
314 with_test_prefix. Factor out bits to ...
315 (test_no_vdso): ... this new procedure.
316
20c2c024
CL
3172016-08-19 Carl Love <cel@us.ibm.com>
318
319 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
320 maintaining separate logic for constructing the output path.
321 * gdb.arch/powerpc-d128-regs.exp: Likewise.
322 * gdb.arch/ppc-dfp.exp: Likewise.
323 * gdb.arch/ppc-fp.exp: Likewise.
324 * gdb.arch/vsx-regs.exp: Likewise.
325 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
326 binprefix for generating the additional binary files.
327
0646e07d
PA
3282016-08-19 Pedro Alves <palves@redhat.com>
329
330 * gdb.trace/mi-trace-frame-collected.exp
331 (test_trace_frame_collected): On x32, expect two registers.
332
46da9242
CL
3332016-08-18 Carl Love <cel@us.ibm.com>
334
335 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
336 and sync up the test with tests in gas/testsuite/gas/ppc.
337 * gdb.arch/powerpc-power.exp: Likewise.
338
eb2332d7
SM
3392016-08-17 Simon Marchi <simon.marchi@ericsson.com>
340
341 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
342 expected error message.
343
63c61e04
SM
3442016-08-17 Simon Marchi <simon.marchi@ericsson.com>
345
346 * gdb.multi/remove-inferiors.exp: New file.
347 * gdb.multi/remove-inferiors.c: New file.
348
7b17065f
YQ
3492016-08-12 Yao Qi <yao.qi@linaro.org>
350
351 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
352 argument list.
353
01d3dedf
PA
3542016-08-10 Pedro Alves <palves@redhat.com>
355
356 PR gdb/19187
357 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
358 setup_kfails.
359
3eb7562a
PA
3602016-08-09 Pedro Alves <palves@redhat.com>
361 Simon Marchi <simon.marchi@ericsson.com>
362
363 PR gdb/20418
364 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
365 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
366
80614914
PA
3672016-08-09 Pedro Alves <palves@redhat.com>
368
369 PR mi/20431
370 * gdb.mi/mi-cmd-error.exp: New file.
371
f348d89a
PA
3722016-08-09 Pedro Alves <palves@redhat.com>
373
374 PR gdb/18653
375 * gdb.base/signals-state-child.c: New file.
376 * gdb.base/signals-state-child.exp: New file.
377 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
378
e5ca03b4
PA
3792016-08-09 Pedro Alves <palves@redhat.com>
380
381 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
382
282a0691
TT
3832016-08-03 Tom Tromey <tom@tromey.com>
384
385 PR python/18565:
386 * gdb.python/py-frame-inline.exp: Add Frame.function test.
387
41bfcd63
YQ
3882016-08-01 Yao Qi <yao.qi@linaro.org>
389
390 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
391 variable mode to "multi-process" if $multi_process is 1, otherwise
392 set it to "single-process".
393
e3465b24
YQ
3942016-08-01 Yao Qi <yao.qi@linaro.org>
395
396 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
397 * gdb.cp/cpexprs.exp: Likewise.
398 * gdb.cp/m-static.exp: Likewise.
399
0b31a4bc
TT
4002016-07-26 Tom Tromey <tom@tromey.com>
401
402 PR python/20190:
403 * gdb.threads/tls.exp (check_thread_local): Add python symbol
404 test.
405
e0461dbb
MM
4062016-07-26 Markus Metzger <markus.t.metzger@intel.com>
407
408 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
409 selecting assembly source files.
410 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
411 assembly source files.
412 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
413 assembly source files.
414 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
415 selecting assembly source files.
416
8194e927
SM
4172016-07-25 Simon Marchi <simon.marchi@ericsson.com>
418
419 * gdb.base/new-ui.exp (do_test_invalid_args): New
420 procedure.
421
c0272db5
TW
4222016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
423
424 * gdb.btrace/reconnect.c: New file.
425 * gdb.btrace/reconnect.exp: New file.
426
e3487908
GKB
4272016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
428
429 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
430 to test_catch_syscall_group.
431 (test_catch_syscall_group): New.
432
12df5c00
TT
4332016-07-21 Tom Tromey <tom@tromey.com>
434
435 * gdb.rust/simple.rs (main): Use empty struct expression.
436 * gdb.rust/simple.exp: Add tests for empty struct expression.
437
bae62ee2
YQ
4382016-07-21 Yao Qi <yao.qi@linaro.org>
439
440 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
441 if gdb_skip_xml_test is true on some targets.
442
b1b53fb3
YQ
4432016-07-21 Yao Qi <yao.qi@linaro.org>
444
445 * gdb.server/solib-list.exp: Unset last_loaded_file.
446
027d97f8
JK
4472016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
448
449 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
450 "step into captured_main (args)".
451
7674d381
JK
4522016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
453
454 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
455
72b5d099
JK
4562016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
457
458 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
459
1f960ced
PA
4602016-07-19 Pedro Alves <palves@redhat.com>
461
462 * gdb.opt/inline-break.exp: Remove optimize=-O2.
463 * gdb.opt/inline-bt.exp: Likewise.
464 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
465 additional_flags=-Winline.
466 * gdb.opt/inline-locals.exp: Likewise.
467 * gdb.opt/inline-markers.c (ATTR): Define.
468 (inlined_fn): Use it.
469
f25827c1
YQ
4702016-07-19 Yao Qi <yao.qi@linaro.org>
471
472 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
473 (test_with_self): Remove some code. Remove argument executable.
474 (top-level): Use do_self_tests.
475
37539ebe
DB
4762016-07-15 Zachary Welch <zwelch@codesourcery.com>
477 Don Breazeal <donb@codesourcery.com>
478
479 * gdb.base/maint.exp: Escape paths used in regular expressions.
480 * gdb.stabs/weird.exp: Likewise.
481
dac790e1
TT
4822016-07-13 Tom Tromey <tom@tromey.com>
483
484 PR python/15620, PR python/18620:
485 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
486 (test_bkpt_events): New procs.
487
93daf339
TT
4882016-07-13 Tom Tromey <tom@tromey.com>
489
490 PR python/17698:
491 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
492 test.
493 (test_watchpoints): Likewise.
494 (test_bkpt_pending): New proc.
495
6571a381
TT
4962016-07-13 Tom Tromey <tom@tromey.com>
497
498 PR cli/18053:
499 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
500 completion test.
501
e8732474
JK
5022016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
503
504 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
505 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
506 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
507 f_label.
508 (g): Rename g_end_lbl to g_label.
509 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
510 low_pc and high_pc.
511 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
512
e0f3fd7c
TT
5132016-07-12 Tom Tromey <tom@tromey.com>
514
515 PR python/19293:
516 * gdb.python/py-unwind-maint.exp: Update tests.
517
3cfe46b6
YQ
5182016-07-12 Yao Qi <yao.qi@linaro.org>
519
520 * lib/selftest-support.exp (selftest_setup): Match the output
521 when captured_main is inlined.
522
4f19a0e6
WT
5232016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
524
525 * gdb.fortran/derived-types.exp (result_line, result_line_2):
526 New variables.
527 (print this%a, print this%b, print this): New tests.
528 * gdb.fortran/derived-types.f90 (this): New object and
529 initialization.
530
986cf455
SM
5312016-07-06 Simon Marchi <simon.marchi@ericsson.com>
532
533 * gdb.ada/arraydim.exp: Remove extra directory level in build
534 directory.
535
f0464b23
SM
5362016-07-06 Simon Marchi <simon.marchi@ericsson.com>
537
538 * lib/ada.exp: Remove extra directory level in build directory.
539 * gdb.ada/cond_lang.exp: Likewise.
540 * gdb.ada/exec_changed.exp: Likewise.
541 * gdb.ada/lang_switch.exp: Likewise.
542
42d94011
MG
5432016-07-06 Manish Goregaokar <manish@mozilla.com>
544
545 * simple.rs: Add test for raw pointer subscripting
546 * simple.exp: Add test expectations
547
647c264c
YQ
5482016-07-05 Yao Qi <yao.qi@linaro.org>
549
550 * gdb.mi/mi-reverse.exp: Match =record-started output.
551
20aa2c60
PA
5522016-07-01 Pedro Alves <palves@redhat.com>
553
554 * gdb.base/jit-reader.exp (info_registers_current_frame): New
555 procedure.
556 (jit_reader_test): Test the jit reader's unwinder.
557 * gdb.base/jithost.c (jit_function_00_code): New global.
558 (main): Use memcpy to fill in the mmapped code, instead of poking
559 bytes manually here.
560 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
561 value.
562 (read_debug_info): Save the function's range.
563 (read_sp): New function.
564 (unwind_frame): Use it. Also unwind RBP.
565 (get_frame_id): Use read_sp.
566 (gdb_init_reader): Use calloc instead of malloc.
567 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
568 parameter. Use gdb_test_multiple.
569
ced2dffb
PA
5702016-07-01 Pedro Alves <palves@redhat.com>
571 Antoine Tremblay <antoine.tremblay@ericsson.com>
572
573 * gdb.threads/process-dies-while-detaching.c: New file.
574 * gdb.threads/process-dies-while-detaching.exp: New file.
575
63000888
PA
5762016-07-01 Pedro Alves <palves@redhat.com>
577
578 * gdb.multi/watchpoint-multi-exit.c: New file.
579 * gdb.multi/watchpoint-multi-exit.exp: New file.
580
038d4868
PA
5812016-06-30 Pedro Alves <palves@redhat.com>
582
583 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
584 unset inferior_spawn_id.
585
994e9c83
PA
5862016-06-30 Pedro Alves <palves@redhat.com>
587
588 * lib/mi-support.exp (default_mi_gdb_start): Declare global
589 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
590
e5653468
YQ
5912016-06-29 Yao Qi <yao.qi@linaro.org>
592
593 * gdb.base/return.c: Add copyright header.
594
803b47e5
TT
5952016-06-29 Tom Tromey <tom@tromey.com>
596
597 PR python/20129:
598 * gdb.python/py-framefilter.exp: Add tests for setting priority
599 and disabling of non-existent frame filter.
600
28244707
YQ
6012016-06-29 Yao Qi <yao.qi@linaro.org>
602
603 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
604 0x0f07ff.
605
a31d2f06
YQ
6062016-06-28 Yao Qi <yao.qi@linaro.org>
607
608 * gdb.base/catch-syscall.exp: Remove check on isnative and target
609 triplets. Start gdb, execute catch syscall, and continue. Check
610 gdb's output to determine catch syscall is supported.
611
921d8f54
MG
6122016-06-27 Manish Goregaokar <manish@mozilla.com>
613
25d49b86
PA
614 * gdb.rust/simple.rs: Add test for returning unit in a function.
615 * gdb.rust/simple.exp: Add expectation for functions returning
616 unit.
921d8f54 617
f4952523
PMR
6182016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
619
620 * gdb.python/py-breakpoint-create-fail.c,
621 gdb.python/py-breakpoint-create-fail.exp,
622 gdb.python/py-breakpoint-create-fail.py: New testcase.
623
fccb08f8
MG
6242016-06-25 Manish Goregaokar <manish@mozilla.com>
625
626 PR gdb/20239
627 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
628 * gdb.rust/simple.exp: Add test expectations for new NonZero
629 tests.
fccb08f8 630
6b850546
DT
6312016-06-24 David Taylor <dtaylor@emc.com>
632
633 * gdb.base/offsets.exp: New file.
634 * gdb.base/offsets.c: New file.
635
17621150
TT
6362016-06-23 Tom Tromey <tom@tromey.com>
637
638 PR gdb/16483:
639 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
640 before any filters are loaded.
641
04d59df6
WT
6422016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
643
644 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
645 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
646 structs.
647 * gdb.fortran/derived-type-function.exp: New file.
648 * gdb.fortran/derived-type-function.f90: New file.
649
650
ac69f786
PA
6512016-06-21 Pedro Alves <palves@redhat.com>
652
653 * gdb.base/new-ui.exp: New file.
654 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
655 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
656 (with_spawn_id): New procedure.
657
49940788
PA
6582016-06-21 Pedro Alves <palves@redhat.com>
659
660 * gdb.mi/mi-exec-run.exp: New file.
661
ef274d26
PA
6622016-06-21 Pedro Alves <palves@redhat.com>
663
664 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
665 breakpoint command's output on the main UI.
666 (test_break): New procedure, factored out from calls in the top
667 level.
668 (top level): Use foreach_with_prefix to test MI as main UI and as
669 separate UI.
670
468afe6c
PA
6712016-06-21 Pedro Alves <palves@redhat.com>
672
673 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
674 (test_awatch_creation_and_listing)
675 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
676 Remove 'type' parameter.
677 (test_watchpoint_all): New parameter mi_mode. Remove
678 with_test_prefix.
679 (top level): Use foreach_with_prefix, and add main/separate UI MI
680 testing axis.
681
51f77c37
PA
6822016-06-21 Pedro Alves <palves@redhat.com>
683
684 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
685 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
686 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
687 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
688 (gdb_main_spawn_id, mi_spawn_id): Declare and
689 comment.
690 (mi_create_inferior_pty): New procedure,
691 factored out from default_mi_gdb_start.
692 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
693 procedures.
694 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
695 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
696 Use mi_create_inferior_pty.
697 (mi_gdb_start): Use eval to pass down args list.
698
8980e177
PA
6992016-06-21 Pedro Alves <palves@redhat.com>
700
701 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
702 * gdb.opt/inline-cmds.exp: Add MI tests.
703
f38d3ad1
PA
7042016-06-21 Pedro Alves <palves@redhat.com>
705
706 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
707
45db7c09
PA
7082016-06-21 Pedro Alves <palves@redhat.com>
709
710 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
711 (top level): Use it instead of mi_execute_to.
712
5a069ab3
PA
7132016-06-21 Pedro Alves <palves@redhat.com>
714
715 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
716 (cont_handler_str): New.
717 (signal_stop_handler): Set stop_handler_str instead of printing to
718 stdout.
719 (continue_handler): Set cont_handler_str instead of printing to
720 stdout.
721 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
722 mi_send_resuming_command. Print stop_handler_str and
723 cont_handler_str instead of expecting the python events print
724 directly.
725
2838cc1d
SD
7262016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
727
728 * gdb.base/jit-reader.exp: New file.
729 * gdb.base/jithost.c: New file.
730 * gdb.base/jithost.h: New file.
731 * gdb.base/jitreader.c : New file.
732 * gdb.base/jit-protocol.h: New file.
733
21a77091
YQ
7342016-06-17 Yao Qi <yao.qi@linaro.org>
735
736 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
737 parameters follow_fork and detach_on_fork. Set follow-fork-mode
738 and detach-on-fork. Adjust tests.
739 (top level): Invoke break_cond_on_syscall with combinations of
740 syscall, follow-fork-mode and detach-on-fork.
741
f50bf8e5
YQ
7422016-06-17 Yao Qi <yao.qi@linaro.org>
743
744 * gdb.base/step-over-exit.c: New.
745 * gdb.base/step-over-exit.exp: New.
746
a28d8e50
YTL
7472016-06-17 Yan-Ting Lin <currygt52@gmail.com>
748
749 * gdb.base/float.exp: Add target check for nds32*-*-*.
750 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
751
cad8e26d
AB
7522016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
753
754 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
755 for unsupported target features.
756 * gdb.base/call-rt-st.exp: Likewise.
757 * gdb.base/call-sc.exp: Likewise.
758 * gdb.base/call-signal-resume.exp: Likewise.
759 * gdb.base/call-strs.exp: Likewise.
760 * gdb.base/callexit.exp: Likewise.
761 * gdb.base/callfuncs.exp: Likewise.
762 * gdb.base/nodebug.exp: Likewise.
763 * gdb.base/printcmds.exp: Likewise.
764 * gdb.base/ptype.exp: Likewise.
765 * gdb.base/structs.exp: Likewise.
766 * gdb.base/unwindonsignal.exp: Likewise.
767 * gdb.cp/gdb2495.exp: Likewise.
768 * gdb.cp/templates.exp: Likewise.
769 * gdb.cp/virtfunc.exp: Likewise.
770 * gdb.threads/hand-call-in-threads.exp: Likewise.
771 * gdb.threads/interrupted-hand-call.exp: Likewise.
772 * gdb.threads/thread-unwindonsignal.exp: Likewise.
773
347dc102
TT
7742016-06-10 Tom Tromey <tom@tromey.com>
775
776 PR rust/20110:
777 * gdb.rust/expr.exp: Add test for integer constant larger than
778 i32.
779
5e13cf25
BH
7802016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
781
782 * gdb.fortran/nested-funcs.exp: New.
783 * gdb.fortran/nested-funcs.f90: New.
784
bb556f1f
TK
7852016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
786
787 * gdb.base/examine-backward.c: New file.
788 * gdb.base/examine-backward.exp: New file.
789
38b022b4
SM
7902016-06-06 Simon Marchi <simon.marchi@ericsson.com>
791
792 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
793 matching.
794
1b40ec05
TT
7952016-06-02 Tom Tromey <tom@tromey.com>
796
797 PR python/18984:
798 * gdb.python/py-shared.exp: Add solib_name test.
799
193bd378
SM
8002016-06-02 Simon Marchi <simon.marchi@ericsson.com>
801
802 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
803
3326303b
MG
8042016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
805
806 PR c++/19893
807 * gdb.dwarf2/implref.exp: Rename to...
808 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
809 * gdb.dwarf2/implref-array.c: New file.
810 * gdb.dwarf2/implref-array.exp: Likewise.
811 * gdb.dwarf2/implref-global.c: Likewise.
812 * gdb.dwarf2/implref-global.exp: Likewise.
813 * gdb.dwarf2/implref-struct.c: Likewise.
814 * gdb.dwarf2/implref-struct.exp: Likewise.
815
825c8ef2
AT
8162016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
817
818 * gdb.trace/trace-condition.exp: Add 64bit tests.
819
2320162a
AT
8202016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
821
822 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
823 bits types.
824 (main): Adapt to 8 to 64 bits types.
825 * gdb.trace/trace-condition.exp: Add new tests.
826
a7818233
AT
8272016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
828
829 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
830
0d336466
AT
8312016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
832
833 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
834 Move condition tests...
835 * gdb.trace/trace-condition.exp: Here.
836
7faeb45a
AT
8372016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
838
839 * gdb.trace/trace-condition.exp: Add counter-case tests.
840
e385593e
JK
8412016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
842
843 PR c++/15231
844 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
845 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
846
744608cc
PA
8472016-05-27 Pedro Alves <palves@redhat.com>
848
849 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
850 New procedure.
851 (top level): Call it, and bail out of DejaGnu is known to be bad.
852
ac775bf4
AB
8532016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
854
855 * gdb.base/whatis.c: Extend the test case.
856 * gdb.base/whatis.exp: Add additional tests.
857
2bbad2ea
BH
8582016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
859
860* gdb.fortran/type.f90: Add pointer variable.
861* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
862
8b70175d
BH
8632016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
864
865 * gdb.fortran/vla-type.exp: Fix testcase name.
866
86d8a848
BH
8672016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
868
869 * gdb.fortran/vla-type.exp: Access elements in nested structs.
870
e188eb36
BH
8712016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
872
873 * gdb.fortran/type.f90: Add nested structures.
874 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
875 * gdb.fortran/derived-type.exp: Adapt expected output.
876 * gdb.fortran/vla-type.exp: Adapt expected output.
877
9b2db1fd
BH
8782016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
879
880 * gdb.fortran/whatis_type.exp: Adapt expected output.
881
72b17055
BH
8822016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
883
884 * gdb.fortran/print_type.exp: Fix expected output.
885 * gdb.fortran/whatis_type.exp: Fix expected output.
886
3cd81d8d
BH
8872016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
888
889 * gdb.fortran/whatis_type.exp: Use multi_line.
890
ddae9462
TT
8912016-05-24 Tom Tromey <tom@tromey.com>
892
893 PR python/17386:
894 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
895 use value as an index.
896
1957f6b8
TT
8972016-05-23 Tom Tromey <tom@tromey.com>
898
899 PR python/17981:
900 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
901 no-breakpoint case.
902
026a9174
PA
9032016-05-24 Pedro Alves <palves@redhat.com>
904
905 PR gdb/19828
906 * gdb.threads/clone-attach-detach.c: New file.
907 * gdb.threads/clone-attach-detach.exp: New file.
908
e70a7231
FR
9092016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
910
911 * gdb.base/annota-input-while-running.exp: Fix syntax error.
912
0f6ed0e0
TT
9132016-05-23 Tom Tromey <tom@tromey.com>
914
915 PR python/19438, PR python/18393:
916 * gdb.python/py-progspace.exp: Add "dir" test.
917 * gdb.python/py-objfile.exp: Add "dir" test.
918
ffd19d61
YQ
9192016-05-23 Yao Qi <yao.qi@linaro.org>
920
921 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
922 * gdb.arch/thumb2-it.exp: Likewise.
923
9e8f9b05
SM
9242016-05-18 Simon Marchi <simon.marchi@ericsson.com>
925
926 * gdb.mi/mi-threads-interrupt.c: New file.
927 * gdb.mi/mi-threads-interrupt.exp: New file.
928
61c6156d
SM
9292016-05-17 Simon Marchi <simon.marchi@ericsson.com>
930
931 PR gdb/18077
932 * gdb.mi/mi-async-run.exp: New file.
933 * gdb.mi/mi-async-run.c: New file.
934
67218854
TT
9352016-05-17 Tom Tromey <tom@tromey.com>
936 Manish Goregaokar <manishsmail@gmail.com>
937
938 * lib/rust-support.exp: New file.
939 * lib/gdb.exp (skip_rust_tests): New proc.
940 (build_executable_from_specs): Handle rust.
941 * lib/future.exp (gdb_find_rustc): New proc.
942 (gdb_default_target_compile): Handle rust.
943 * gdb.rust/expr.exp: New file.
944 * gdb.rust/generics.exp: New file.
945 * gdb.rust/generics.rs: New file.
946 * gdb.rust/methods.exp: New file.
947 * gdb.rust/methods.rs: New file.
948 * gdb.rust/modules.exp: New file.
949 * gdb.rust/modules.rs: New file.
950 * gdb.rust/simple.exp: New file.
951 * gdb.rust/simple.rs: New file.
952
c44af4eb
TT
9532016-05-17 Tom Tromey <tom@tromey.com>
954
955 * gdb.base/default.exp (set language): Add rust.
956
dcd1f979
TT
9572016-05-17 Tom Tromey <tom@tromey.com>
958
959 * gdb.gdb/unittest.exp: New file.
960
155b7f57
YQ
9612016-05-16 Yao Qi <yao.qi@linaro.org>
962
963 * gdb.base/batch-preserve-term-settings.exp: Remove variable
964 shell_prompt. Update shell_prompt_re.
965
8ddd5a6c
DE
9662016-05-12 Doug Evans <dje@google.com>
967
968 PR symtab/19999
969 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
970 $options when building executable.
971 * gdb.dwarf2/fission-loclists-pie.S: New file.
972 * gdb.dwarf2/fission-loclists-pie.exp: New file.
973
02e370d9
SM
9742016-05-04 Simon Marchi <simon.marchi@ericsson.com>
975
976 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
977 of [is_remote target],
978
8929ad8b
SM
9792016-05-04 Simon Marchi <simon.marchi@ericsson.com>
980
981 * lib/gdb.exp (use_gdb_stub): New procedure.
982
6c447423
DE
9832016-05-03 Yunlian Jiang <yunlian@google.com>
984 Doug Evans <dje@google.com>
985
986 PR symtab/19914
987 * gdb.dwarf2/dwp-sepdebug.c: New file.
988 * gdb.dwarf2/dwp-sepdebug.exp: New file.
989
444e826c
SM
9902016-05-02 Simon Marchi <simon.marchi@ericsson.com>
991
992 * gdb.base/detach.exp: Remove is_remote check.
993
740feeaa
SM
9942016-05-02 Simon Marchi <simon.marchi@ericsson.com>
995
996 * gdb.base/annota-input-while-running.exp: Don't check for
997 [is_remote target]. Enable annotations after running to main.
998 Remove unused "set test..." line.
999
9080ac9d
SM
10002016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1001
1002 * gdb.trace/trace-enable-disable.exp: New file.
1003 * gdb.trace/trace-enable-disable.c: New file.
1004
952ebca5
SM
10052016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1006
1007 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
1008 use it in info sharedlibrary test.
1009 * gdb.trace/ftrace-lock.exp: Likewise.
1010 * gdb.trace/ftrace.exp: Likewise.
1011 * gdb.trace/range-stepping.exp: Likewise.
1012 * gdb.trace/trace-break.exp: Likewise.
1013 * gdb.trace/trace-condition.exp: Likewise.
1014 * gdb.trace/trace-mt.exp: Likewise.
1015
d9019901
SM
10162016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1017
1018 * lib/gdb.exp (gdb_load_shlibs): Rename to...
1019 (gdb_load_shlib): ... this.
1020 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
1021 gdb_load_shlib.
1022 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1023 * gdb.base/ctxobj.exp: Likewise.
1024 * gdb.base/dprintf-pending.exp: Likewise.
1025 * gdb.base/dso2dso.exp: Likewise.
1026 * gdb.base/fixsection.exp: Likewise.
1027 * gdb.base/gcore-relro.exp: Likewise.
1028 * gdb.base/gdb1555.exp: Likewise.
1029 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1030 * gdb.base/gnu-ifunc.exp: Likewise.
1031 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
1032 * gdb.base/jit-so.exp (one_jit_test): Likewise.
1033 * gdb.base/pending.exp: Likewise.
1034 * gdb.base/print-file-var.exp: Likewise.
1035 * gdb.base/print-symbol-loading.exp: Likewise.
1036 * gdb.base/shlib-call.exp: Likewise.
1037 * gdb.base/shreloc.exp: Likewise.
1038 * gdb.base/so-impl-ld.exp: Likewise.
1039 * gdb.base/solib-disc.exp: Likewise.
1040 * gdb.base/solib-nodir.exp: Likewise.
1041 * gdb.base/solib-overlap.exp: Likewise.
1042 * gdb.base/solib-symbol.exp: Likewise.
1043 * gdb.base/solib-weak.exp (do_test): Likewise.
1044 * gdb.base/sym-file.exp: Likewise.
1045 * gdb.base/symtab-search-order.exp: Likewise.
1046 * gdb.base/type-opaque.exp: Likewise.
1047 * gdb.base/unload.exp: Likewise.
1048 * gdb.base/watchpoint-solib.exp: Likewise.
1049 * gdb.compile/compile.exp: Likewise.
1050 * gdb.cp/gdb2384.exp: Likewise.
1051 * gdb.cp/infcall-dlopen.exp: Likewise.
1052 * gdb.cp/re-set-overloaded.exp: Likewise.
1053 * gdb.fortran/library-module.exp: Likewise.
1054 * gdb.opt/solib-intra-step.exp: Likewise.
1055 * gdb.python/py-finish-breakpoint.exp: Likewise.
1056 * gdb.python/py-shared.exp: Likewise.
1057 * gdb.reverse/solib-precsave.exp: Likewise.
1058 * gdb.reverse/solib-reverse.exp: Likewise.
1059 * gdb.server/solib-list.exp: Likewise.
1060 * gdb.threads/dlopen-libpthread.exp: Likewise.
1061 * gdb.threads/tls-shared.exp: Likewise.
1062 * gdb.threads/tls-so_extern.exp: Likewise.
1063 * gdb.trace/change-loc.exp: Likewise.
1064 * gdb.trace/ftrace-lock.exp: Likewise.
1065 * gdb.trace/ftrace.exp: Likewise.
1066 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
1067 * gdb.trace/pending.exp: Likewise.
1068 * gdb.trace/range-stepping.exp: Likewise.
1069 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
1070 (strace_info_marker): Likewise.
1071 (strace_probe_marker): Likewise.
1072 (strace_trace_on_same_addr): Likewise.
1073 (strace_trace_on_diff_addr): Likewise.
1074 * gdb.trace/trace-break.exp: Likewise.
1075 * gdb.trace/trace-condition.exp: Likewise.
1076 * gdb.trace/trace-mt.exp: Likewise.
1077
fca4cfd9
SM
10782016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1079
1080 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
1081 result of gdb_remote_download.
1082 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
1083 * gdb.base/dso2dso.exp: Likewise.
1084 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1085 * gdb.base/print-file-var.exp: Likewise.
1086 * gdb.base/shlib-call.exp: Likewise.
1087 * gdb.base/shreloc.exp: Likewise.
1088 * gdb.base/solib-overlap.exp: Likewise.
1089 * gdb.base/solib-weak.exp (do_test): Likewise.
1090 * gdb.base/unload.exp: Likewise.
1091
11cf4ffb
YQ
10922016-04-27 Yao Qi <yao.qi@linaro.org>
1093
1094 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
1095 exists.
1096
3e2e34f8
KB
10972016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1098
1099 * vla-type.exp: Print structure from toplevel.
1100
8f07e298
BH
11012016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1102
1103 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
1104 of dynamic types.
1105 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
1106 of dynamic types.
1107
9920b434
BH
11082016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1109
1110 * gdb.fortran/vla-type.f90: New file.
1111 * gdb.fortran/vla-type.exp: New file.
1112
f3abeff5
YQ
11132016-04-25 Yao Qi <yao.qi@linaro.org>
1114
1115 * gdb.base/branch-to-self.c: New file.
1116 * gdb.base/branch-to-self.exp: New file.
1117
0a5d52f0
YQ
11182016-04-22 Yao Qi <yao.qi@linaro.org>
1119
1120 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
1121 more after $hex.
1122
495346f6
YQ
11232016-04-22 Yao Qi <yao.qi@linaro.org>
1124
1125 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
1126 * gdb.base/annota3.exp: Likewise.
1127
4a7e075c
YQ
11282016-04-22 Yao Qi <yao.qi@linaro.org>
1129
1130 * gdb.reverse/step-precsave.exp: Do one step and test program
1131 stops in "callee" and do multiple steps until program goes out
1132 of "callee".
1133 * gdb.reverse/step-reverse.exp: Likewise.
1134
5b061e98
YQ
11352016-04-22 Yao Qi <yao.qi@linaro.org>
1136
1137 * gdb.trace/signal.exp: Also pass if
1138 $tracepoint_hits($i) > $iterations.
1139
5c5dc57f
YQ
11402016-04-22 Yao Qi <yao.qi@linaro.org>
1141
1142 * gdb.trace/signal.c: New file.
1143 * gdb.trace/signal.exp: New file.
1144
a55411b9
DE
11452016-04-19 Doug Evans <xdje42@gmail.com>
1146
1147 * gdb.base/bad-file.exp: New file.
1148
a22df60a
MG
11492016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
1150
1151 * gdb.dwarf2/implref.exp: New file.
1152
0c13f7e5
BH
11532016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1154
1155 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
1156 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
1157 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
1158 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
1159 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
1160 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
1161 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
1162 * lib/fortran.exp (fortran_int4): New procedure.
1163 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
1164 (fortran_logical4): Likewise.
1165
9b9b09e9
BH
11662016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
1167
1168 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
1169
a14d1f4d
BH
11702016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1171
1172 * lib/compiler.c: Add Intel specific preprocessor macros.
1173 * lib/compiler.cc: Likewise.
25d49b86 1174
7d49b1d0
LM
11752016-04-13 Luis Machado <lgustavo@codesourcery.com>
1176
1177 * gdb.server/connect-with-no-symbol-file.c: New file.
1178 * gdb.server/connect-with-no-symbol-file.exp: New file.
1179
8392fa22
SM
11802016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1181
1182 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
1183
8c4c4aeb
SM
11842016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1185
1186 * boards/gdbserver-base.exp (${board}_download): Copy source file to
1187 standard output directory.
1188
45e3745e
AT
11892016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
1190
1191 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
1192
e26b7e41
MM
11932016-04-13 Markus Metzger <markus.t.metzger@intel.com>
1194
1195 * gdb.btrace/instruction_history.c (loop): Add declaration.
1196
8ce09462
AT
11972016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1198
1199 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
1200
2e88a1ea
SM
12012016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
1202
1203 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
1204 parentheses to print.
1205 (continue_handler): Likewise.
1206
f48e22e3
SM
12072016-04-08 Simon Marchi <simon.marchi@ericsson.com>
1208
1209 * gdb.server/solib-list.exp: Remove is_remote check.
1210 Pass shlib= to gdb_compile. Don't link shared library with
1211 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
1212 Run binary filename through "readlink -f" on the target.
1213
096be756
PA
12142016-04-08 Pedro Alves <palves@redhat.com>
1215
1216 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
1217 interpreter filename as argument to gdbserver_spawn.
1218 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1219 Return empty if $last_loaded_file does not exist.
1220
06500533
JK
12212016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1222
1223 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
1224 * gdb.base/jit-main.c: Use exit after usage.
1225
2d35e871
JK
12262016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1227
1228 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
1229 GDBHISTSIZE prior to the tests.
1230 * gdb.base/gdbinit-history.exp: Likewise.
1231
12322016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
1233
1234 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
1235 instead of build_executable. Use gdb_load_shlibs.
1236
c8064e7e
YQ
12372016-04-07 Yao Qi <yao.qi@linaro.org>
1238
1239 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
1240 Execute "si" command.
1241
bde47561
YQ
12422016-04-07 Yao Qi <yao.qi@linaro.org>
1243
1244 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
1245 number instead of the comments on some line.
1246
b16f8a3b
DB
12472016-04-06 Don Breazeal <donb@codesourcery.com>
1248
1249 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
1250 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
1251
c2f901df
SM
12522016-04-06 Simon Marchi <simon.marchi@ericsson.com>
1253
1254 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
1255 standard_output_file. Remove unused binfile variable.
1256
ac17fda0
CU
12572016-04-05 Catalin Udma <catalin.udma@freescale.com>
1258
1259 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
1260 * gdb.python/py-mi-objfile.exp: Match "list main" output
1261 in console format.
1262
03a8c4df
SM
12632016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
1264
1265 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
1266 absolute.
1267
6e774b13
SM
12682016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1269
1270 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
1271 absolute.
1272 * gdb.trace/ftrace.exp: Likewise.
1273 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
1274 targets as well.
1275 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
1276 (gdb_load_shlibs): Copy libraries to test directory when testing
1277 natively. Only set solib-search-path if testing remotely.
1278 * lib/mi-support.exp (mi_load_shlibs): Likewise.
1279
7817ea46
SM
12802016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1281
1282 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
1283 gdb_download. Use it even if the target is not remote.
1284 * gdb.base/jit.exp (compile_jit_test): Likewise.
1285 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
1286 output directory if the destination board is local, otherwise use
1287 the standard remote_download from DejaGnu.
1288 (gdb_download): Remove.
1289 (gdb_load_shlibs): Use gdb_remote_download instead of
1290 gdb_download.
1291 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1292 Use gdb_remote_download instead of gdb_download. Use it even if
1293 the target is not remote.
1294 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
1295 instead of gdb_download.
1296
7beb7f68
SM
12972016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
1298
1299 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
1300 (test_insert_delete_modify): Call mi_load_shlibs before trying to
1301 run.
1302
cc63428a
AV
13032016-04-01 Artemiy Volkov <artemiyv@acm.org>
1304
1305 PR gdb/19820
1306 * gdb.base/printcmds.exp: Add artificial arrays tests.
1307
64cdf930
PA
13082016-03-31 Pedro Alves <palves@redhat.com>
1309
1310 PR gdb/19858
1311 * gdb.base/jit-main.c: Include unistd.h.
1312 (ATTACH): Define to 0 if not already defined.
1313 (wait_for_gdb, mypid): New globals.
1314 (WAIT_FOR_GDB): New macro.
1315 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1316 some breakpoint locations.
1317 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1318 New procedures.
1319 (one_jit_test): Add REATTACH parameter, and handle it. Use
1320 continue_to_test_location.
1321 (top level): Test attach, and adjusts calls to one_jit_test.
1322
40dea8cb
PA
13232016-03-31 Pedro Alves <palves@redhat.com>
1324
1325 PR gdb/19858
1326 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1327 BINSUFFIX parameter, and handle it.
1328 (top level): Adjust calls compile_jit_test.
1329
e7ea3ec7
CU
13302016-03-31 Catalin Udma <catalin.udma@freescale.com>
1331
1332 PR python/19743
1333 * gdb.python/py-mi-events-gdb.py: New file.
1334 * gdb.python/py-mi-events.c: New file.
1335 * gdb.python/py-mi-events.exp: New file.
1336
e6359af3
YQ
13372016-03-30 Yao Qi <yao.qi@linaro.org>
1338
1339 * gdb.reverse/until-precsave.exp: Match function name only.
1340 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1341 Move malloc to a condition block.
1342 * gdb.reverse/until-reverse.exp: Match function name only.
1343
a4105d04
MK
13442016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1345
1346 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1347 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1348 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1349 variable for GPR 0 instead of assuming it is register 0.
1350 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1351 * lib/trace-support.exp: Add s390 registers.
1352
bfa6adb9
YQ
13532016-03-29 Yao Qi <yao.qi@linaro.org>
1354
1355 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1356
1e6697ea
YQ
13572016-03-24 Yao Qi <yao.qi@linaro.org>
1358
1359 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1360 test message.
1361
64bcd522
AA
13622016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1363
1364 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1365 maintaining separate logic for constructing the output path.
1366
7868401b
DB
13672016-03-16 Don Breazeal <donb@codesourcery.com>
1368
1369 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1370 Retry fork and waitpid on interrupted system call errors.
1371 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1372 Use with_timeout_factor to increase timeout by factor of 10.
1373
1cafadb4
DB
13742016-03-15 Don Breazeal <donb@codesourcery.com>
1375
1376 * gdb.cp/scope-err.cc: New test program.
1377 * gdb.cp/scope-err.exp: New test script.
1378 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1379 lines and "set breakpoint here" comment.
1380 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1381 Fixed some whitespace and format issues.
1382 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1383 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1384
81516450
DE
13852016-03-15 Doug Evans <dje@google.com>
1386
1387 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1388 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1389 All callers updated. Add tests for enums, mixed flags register.
1390
aa52b601
DE
13912016-03-15 Doug Evans <dje@google.com>
1392
1393 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1394 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1395
fa4ff313
SM
13962016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1397
1398 * gdb.base/default.exp: Add $_as_string to the list of expected
1399 convenience functions.
1400
f2403c39
AB
14012016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1402
1403 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1404
f2f3ccb9
SM
14052016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1406
1407 * gdb.python/py-as-string.exp: New file.
1408 * gdb.python/py-as-string.c: New file.
1409
00dbd492
PA
14102016-03-09 Pedro Alves <palves@redhat.com>
1411
1412 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1413 signal" -> "Thread NN received signal" output change.
1414 * gdb.threads/ia64-sigill.exp: Likewise.
1415 * gdb.threads/linux-dp.exp: Likewise.
1416 * gdb.threads/manythreads.exp: Likewise.
1417 * gdb.threads/pending-step.exp: Likewise.
1418 * gdb.threads/print-threads.exp: Likewise.
1419 * gdb.threads/sigstep-threads.exp: Likewise.
1420 * gdb.threads/staticthreads.exp: Likewise.
1421 * gdb.threads/tls.exp: Likewise.
1422
1e6697ea
YQ
14232016-03-09 Pedro Alves <palves@redhat.com>
1424
1425 * gdb.base/command-line-input.exp: New file.
1426
b04fd3be
MK
14272016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1428
1429 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1430 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1431 * gdb.trace/pending.exp: Accept leading dot before function name.
1432 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1433 * lib/trace-support.exp: Set registers for ppc.
1434
98fa59e9
MK
14352016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1436
1437 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1438 use it for disassembly; accept .main in addition to main in backtrace.
1439
f77198c8
MK
14402016-03-09 Wei-cheng Wang <cole945@gmail.com>
1441 Marcin Kościelnicki <koriakin@0x04.net>
1442
1443 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1444 (gdb_recursion_test_ptr): New global variable.
1445 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1446 gdb_recursion_test.
1447 (gdb_c_test): Ditto.
1448
ba84e0da
MK
14492016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1450
1451 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1452 ordering.
1453
4366d36e
MK
14542016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1455
1456 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1457 (bar): Add bar_start_lbl label.
1458 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1459 of foo/bar for emitting DWARF and tracing.
1460
5eb264df
SDJ
14612016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1462
1463 * analyze-racy-logs.py: Set executable bit.
1464
fb6a751f
SDJ
14652016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1466
1467 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1468 (CHECK_TARGET_TMP): Likewise.
1469 (check-single-racy): New rule.
1470 (check-parallel-racy): Likewise.
1471 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1472 (do-check-parallel-racy): New rule.
1473 (check-racy/%.exp): Likewise.
1474 * README (Racy testcases): New section.
1475 * analyze-racy-logs.py: New file.
1476
bdf7e230
DE
14772016-03-03 Doug Evans <dje@google.com>
1478
1479 * gdb.base/skip.exp: Use with_test_prefix.
1480
4719d415
YQ
14812016-03-03 Yao Qi <yao.qi@linaro.org>
1482
1483 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1484 Invoke step_over_syscall "clone" and break_cond_on_syscall
1485 "clone".
1486 * gdb.base/step-over-clone.c: New file.
1487
ea507862
YQ
14882016-03-03 Yao Qi <yao.qi@linaro.org>
1489
1490 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1491 code format.
1492
8fc8cbda
YQ
14932016-03-03 Yao Qi <yao.qi@linaro.org>
1494
1495 * gdb.base/disp-step-fork.c: Rename to ...
1496 * gdb.base/step-over-fork.c: ... it. New file.
1497 * gdb.base/disp-step-vfork.c: Rename to ...
1498 * gdb.base/step-over-vfork.c: ... it. New file.
1499 * gdb.base/disp-step-syscall.exp: Rename to ...
1500 * gdb.base/step-over-syscall.exp: ... it. New file.
1501 (disp_step_cross_syscall): Rename to ...
1502 (step_over_syscall): ... it.
1503
92fa70b0
YQ
15042016-03-03 Yao Qi <yao.qi@linaro.org>
1505
1506 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1507 If target supports condition evaluation on target, invoke
1508 break_cond_on_syscall for fork and vfork.
1509
e197ad3c
YQ
15102016-03-03 Yao Qi <yao.qi@linaro.org>
1511
1512 * gdb.base/disp-step-syscall.exp: Don't invoke
1513 support_displaced_stepping.
1514 (disp_step_cross_syscall): Test with displaced stepping off and
1515 on if supported.
1516
0b47da9f
YQ
15172016-03-03 Yao Qi <yao.qi@linaro.org>
1518
1519 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1520 proc.
1521 (setup): New proc.
1522 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1523 and setup.
1524
065ab6dc
BH
15252016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1526
1527 * gdb.fortran/vla-history.exp: Remove breakpoint.
1528
07e448ad 15292016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1530
25d49b86
PA
1531 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1532 exceeds timeout.
07e448ad 1533
9ac2d526 15342016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1535
25d49b86
PA
1536 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1537 breakpoint.
9ac2d526 1538
17807369
BH
15392016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1540
1541 * gdb.mi/vla.f90: Nullify pointer after declaration.
1542
86e501af
PA
15432016-03-01 Pedro Alves <palves@redhat.com>
1544
1545 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1546
1e903e32
PA
15472016-03-01 Pedro Alves <palves@redhat.com>
1548
1549 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1550 before anything else.
1551 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1552 _GNU_SOURCE here.
1553 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1554 before anything else.
1555 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1556
6ccb54e2
PA
15572016-03-01 Pedro Alves <palves@redhat.com>
1558
1559 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1560
30ca9da1
YQ
15612016-03-01 Yao Qi <yao.qi@linaro.org>
1562
1563 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1564 prepare_for_testing.
1565
dc856b38
YQ
15662016-03-01 Yao Qi <yao.qi@linaro.org>
1567
1568 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1569
4a932159
AA
15702016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1571
1572 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1573 manually constructing the output path.
1574
f2489477
AA
15752016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1576
1577 * gdb.arch/s390-stackless.S: New.
1578 * gdb.arch/s390-stackless.exp: New.
1579
38899f16
IB
15802016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1581
1582 * gdb.dlang/circular.c: New file.
1583 * gdb.dlang/circular.exp: New file.
1584
9fde51ed
YQ
15852016-02-26 Yao Qi <yao.qi@linaro.org>
1586
1587 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1588 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1589 (testcases): Update.
1590
ce90fefe
YQ
15912016-02-26 Yao Qi <yao.qi@linaro.org>
1592
1593 * gdb.reverse/aarch64.c: Rename to ...
1594 * gdb.reverse/insn-reverse.c: ... it.
1595 * gdb.reverse/aarch64.exp: Rename to ...
1596 * gdb.reverse/insn-reverse.exp: ... it.
1597
3263bceb
YQ
15982016-02-26 Yao Qi <yao.qi@linaro.org>
1599
1600 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1601 (testcase_ftype): New.
1602 (testcases): New array.
1603 (n_testcases): New.
1604 (main): Call each element in testcases.
1605 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1606 (read_testcase): New.
1607 Do the tests in a loop.
1608
6cb59ff1
YQ
16092016-02-25 Yao Qi <yao.qi@linaro.org>
1610
1611 * gdb.base/branches.c: Remove.
1612
ae91f625
MK
16132016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1614
1615 PR gdb/13808
1616 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1617
678b48b7
MK
16182016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1619
1620 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1621
7337a6f2
MK
16222016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1623
1624 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1625 change x86_64 call_insn to 'callq'.
1626
861ca91f
AT
16272016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1628
1629 * gdb.trace/tfile-avx.c: Move to...
1630 * gdb.trace/tracefile-pseudo-reg.c: Here.
1631 * gdb.trace/tfile-avx.exp: Move to...
1632 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1633
bf74e428
GB
16342016-02-24 Gary Benson <gbenson@redhat.com>
1635
1636 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1637 message on attach.
1638
cce0e923
DE
16392016-02-23 Doug Evans <dje@google.com>
1640
1641 * gdb.base/skip.c (test_skip): New function.
1642 (end_test_skip_file_and_function): New function.
1643 (test_skip_file_and_function): New function.
1644 * gdb.base/skip1.c (test_skip): New function.
1645 (skip1_test_skip_file_and_function): New function.
1646 * gdb.base/skip.exp: Add tests for new skip options.
1647 * gdb.base/skip-solib.exp: Update expected output.
1648 * gdb.perf/skip-command.cc: New file.
1649 * gdb.perf/skip-command.exp: New file.
1650 * gdb.perf/skip-command.py: New file.
1651
4000e47e
MK
16522016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1653
1654 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1655 info registers pattern.
1656
24f75ead
IB
16572016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1658
1659 * lib/future.exp: Add D support.
1660 (gdb_find_gdc): New proc.
1661 (gdb_default_target_compile): Add D support.
1662
fbb7bcbe
WW
16632016-02-18 Wei-cheng Wang <cole945@gmail.com>
1664
1665 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1666 user+system time.
1667 (trace_speed_test): Determine the iteration count for a time
1668 between 15..30 seconds.
1669
012b3a21
WT
16702016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1671
1672 * gdb.arch/i386-mpx-sigsegv.c: New file.
1673 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1674 * gdb.arch/i386-mpx-simple_segv.c: New file.
1675 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1676
2d5189bd
YQ
16772016-02-18 Yao Qi <yao.qi@linaro.org>
1678
1679 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1680 Don't call setup_kfail.
1681
40fb20d0
YQ
16822016-02-18 Yao Qi <yao.qi@linaro.org>
1683
1684 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1685 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1686
21b1f8d2
DE
16872016-02-16 Doug Evans <dje@google.com>
1688
1689 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1690 * gdb.base/skip1.c: Ditto.
1691 * gdb.base/skip.exp: Whitespace cleanup.
1692
4041ed77
DB
16932016-02-16 Don Breazeal <donb@codesourcery.com>
1694
1695 PR remote/19496
1696 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1697 Remove kfail for PR remote/19496.
1698
c4ef31bf
SM
16992016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1700
1701 * lib/gdb.exp (standard_temp_file): Return a path specific to
1702 the runtest invocation.
1703
266b65b3
SM
17042016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1705
1706 * gdb.trace/save-trace.exp: Change relative path to be in the
1707 standard output directory.
1708
a7a0a6a9
JK
17092016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1710
1711 * gdb.arch/i386-prologue.c: Add missing prototypes.
1712
c99dbb42
JK
17132016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1714
1715 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1716 * gdb.arch/i386-prologue.exp: Likewise.
1717 * gdb.arch/i386-size.exp: Likewise.
1718
aa480355
SM
17192016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1720
1721 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1722 define object file path.
1723 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1724 file path.
1725 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1726 standard_output_file to define binfile.
1727
ba881f50
JK
17282016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1729
1730 Fix compatibility with recent gfortran-5.3.1.
1731 * gdb.fortran/vla-history.exp (print vla1 allocated)
1732 (print vla2 allocated, print $2, print $3): Remove
1733 (print $4): Rename to ...
1734 (print $2): ... here.
1735 (print $9): Rename to ...
1736 (print $5): ... here.
1737 (print $10): Rename to ...
1738 (print $6): ... here.
1739 * gdb.fortran/vla.f90: Add pvla initialization.
1740
e9fb005c
JK
17412016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1742
1743 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1744 New test.
1745 * gdb.fortran/vla-value-sub.exp: Likewise.
1746
e44e00ff
MK
17472016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1748
1749 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1750
97e94151
SM
17512016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1752
1753 * i386-biarch-core.exp: Define corefile using
1754 standard_output_file.
1755
01113bc1
YQ
17562016-02-12 Yao Qi <yao.qi@linaro.org>
1757
1758 * gdb.arch/arm-single-step-kernel-helper.c: New.
1759 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1760
33b4777c
MM
17612016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1762
1763 * gdb.btrace/tailcall-only.exp: New.
1764 * gdb.btrace/tailcall-only.c: New.
1765 * gdb.btrace/x86_64-tailcall-only.S: New.
1766 * gdb.btrace/i686-tailcall-only.S: New.
1767
acc23c11
PA
17682016-02-11 Pedro Alves <palves@redhat.com>
1769
1770 * README (Parallel testing): Add missing double quotes.
1771
e352bf0a
PA
17722016-02-11 Pedro Alves <palves@redhat.com>
1773
1774 * README (Parallel testing): New section.
1775 (GDB_PARALLEL): Rewrite.
1776 (FORCE_PARALLEL): Document.
1777
9f5fed78
MK
17782016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1779
1780 * gdb.trace/tfile-avx.c: New test.
1781 * gdb.trace/tfile-avx.exp: New test.
1782
9ef9e6a6
KS
17832016-02-09 Keith Seitz <keiths@redhat.com>
1784
1785 PR breakpoints/19546
1786 * gdb.base/infcall-exec.c: New file.
1787 * gdb.base/infcall-exec2.c: New file.
1788 * gdb.base/infcall-exec.exp: New file.
1789
a96e36da
KS
17902016-02-09 Keith Seitz <keiths@redhat.com>
1791
1792 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1793 (toplevel): Call test_bkpt_address.
1794
9f61929f
KS
17952016-02-09 Keith Seitz <keiths@redhat.com>
1796
1797 PR python/19506
1798 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1799 (toplevel): Call test_bkpt_address.
1800
1e94266c
SM
18012016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1802
1803 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1804 to AC_OUTPUT.
1805 * configure: Regenerate.
1806
2a7f3dff
PA
18072016-02-09 Pedro Alves <palves@redhat.com>
1808
1809 PR breakpoints/19548
1810 * gdb.base/execl-update-breakpoints.c (some_function): New
1811 function.
1812 (main): Call it.
1813 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1814 Tighten expected GDB output.
1815
2151ccc5
SM
18162016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1817
1818 * Makefile.in (ALL_SUBDIRS): Remove.
1819 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1820 (distclean maintainer-clean realclean): Likewise.
1821 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1822 * configure: Regenerate.
1823 * gdb.ada/Makefile.in: Delete.
1824 * gdb.arch/Makefile.in: Likewise.
1825 * gdb.asm/Makefile.in: Likewise.
1826 * gdb.base/Makefile.in: Likewise.
1827 * gdb.btrace/Makefile.in: Likewise.
1828 * gdb.cell/Makefile.in: Likewise.
1829 * gdb.compile/Makefile.in: Likewise.
1830 * gdb.cp/Makefile.in: Likewise.
1831 * gdb.disasm/Makefile.in: Likewise.
1832 * gdb.dlang/Makefile.in: Likewise.
1833 * gdb.dwarf2/Makefile.in: Likewise.
1834 * gdb.fortran/Makefile.in: Likewise.
1835 * gdb.gdb/Makefile.in: Likewise.
1836 * gdb.go/Makefile.in: Likewise.
1837 * gdb.guile/Makefile.in: Likewise.
1838 * gdb.java/Makefile.in: Likewise.
1839 * gdb.linespec/Makefile.in: Likewise.
1840 * gdb.mi/Makefile.in: Likewise.
1841 * gdb.modula2/Makefile.in: Likewise.
1842 * gdb.multi/Makefile.in: Likewise.
1843 * gdb.objc/Makefile.in: Likewise.
1844 * gdb.opencl/Makefile.in: Likewise.
1845 * gdb.opt/Makefile.in: Likewise.
1846 * gdb.pascal/Makefile.in: Likewise.
1847 * gdb.perf/Makefile.in: Likewise.
1848 * gdb.python/Makefile.in: Likewise.
1849 * gdb.reverse/Makefile.in: Likewise.
1850 * gdb.server/Makefile.in: Likewise.
1851 * gdb.stabs/Makefile.in: Likewise.
1852 * gdb.threads/Makefile.in: Likewise.
1853 * gdb.trace/Makefile.in: Likewise.
1854 * gdb.xml/Makefile.in: Likewise.
1855 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1856 GDB_PARALLEL.
1857 (standard_output_file): Remove check for GDB_PARALLEL, always
1858 return path in outputs/$subdir/$testname.
1859
437277d4
SM
18602016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1861
1862 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1863 (site.exp): Assign abs_srcdir to tcl's srcdir.
1864
31d913c7
YQ
18652016-02-04 Yao Qi <yao.qi@linaro.org>
1866
1867 * gdb.base/foll-exec-mode.c: Include limits.h.
1868 (main): Add parameters argc and argv. Get directory from
1869 argv[0].
1870 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1871 compilation.
1872 * gdb.base/foll-exec.c: Include limits.h.
1873 (main): Add parameters argc and argv.
1874 Get directory from argv[0].
1875 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1876 Adjust tests on the number of lines as source code changed.
1877 * gdb.base/foll-vfork-exit.c: Include limits.h.
1878 (main): Add one line of statement before vfork.
1879 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1880 (main): Add parameters argc and argv. Get directory from
1881 argv[0].
1882 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1883 (setup_gdb): Set tbreak to skip some source lines.
1884 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1885 (main): Add parameters argc and argv. Get directory from
1886 argv[0].
1887 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1888 compilation.
1889 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1890 (main): Add parameters argc and argv. Get directory from
1891 argv[0].
1892 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1893 compilation.
1894
9482b9fb
DE
18952016-02-01 Doug Evans <dje@google.com>
1896
1897 * gdb.base/skip.exp: Clean up multiple references to same test name.
1898
6b2e4f10
PA
18992016-02-01 Pedro Alves <palves@redhat.com>
1900
ccb6afd6 1901 PR remote/19496
6b2e4f10
PA
1902 * gdb.threads/forking-threads-plus-breakpoint.exp
1903 (displaced_stepping_supported): New global.
1904 (probe_displaced_stepping_support): New procedure.
1905 (do_test): Add 'displaced' parameter, and use it.
1906 (top level): Check for displaced stepping support. Add displaced
1907 stepping on/off testing axis.
1908
37a8db1a
AB
19092016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1910
1911 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1912 pointer. Don't perform further tests on the unassociated pointer
1913 if the first test fails.
1914
5fdf6324
AB
19152016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1916
1917 * gdb.base/max-value-size.c: New file.
1918 * gdb.base/max-value-size.exp: New file.
1919 * gdb.base/huge.exp: Disable max-value-size for this test.
1920
935c6144
IB
19212016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1922
1923 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1924
7fe8399d
YQ
19252016-01-28 Yao Qi <yao.qi@linaro.org>
1926
1927 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1928
a2077e25
PA
19292016-01-25 Pedro Alves <palves@redhat.com>
1930
1931 PR threads/19461
1932 * gdb.base/fork-running-state.c: New file.
1933 * gdb.base/fork-running-state.exp: New file.
1934
1d2736d4
PA
19352016-01-25 Pedro Alves <palves@redhat.com>
1936
1937 PR gdb/19494
1938 * gdb.base/catch-fork-kill.c: New file.
1939 * gdb.base/catch-fork-kill.exp: New file.
1940
f1da4b11
PA
19412016-01-25 Pedro Alves <palves@redhat.com>
1942
1943 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1944 Delete, moved to lib/gdb.exp.
1945 * gdb.threads/forking-threads-plus-breakpoint.exp
1946 (foreach_with_prefix): Likewise.
1947 * gdb.threads/process-dies-while-handling-bp.exp
1948 (foreach_with_prefix): Likewise.
1949 * lib/gdb.exp (foreach_with_prefix): New procedure.
1950
45f38546
MK
19512016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1952
1953 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1954 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1955
dc29a1ce
MK
19562016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1957
1958 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1959 endian targets.
1960
092127d7
JK
19612016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1962 Pedro Alves <palves@redhat.com>
1963
1964 Fix testsuite compatibility with Guile.
1965 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1966 number.
1967
31d765d3
JK
19682016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1969
1970 Fix testsuite compatibility with Guile.
1971 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1972 (thread 1): New test for backtrace through signal handler.
1973
1ac78c04
YQ
19742016-01-22 Yao Qi <yao.qi@linaro.org>
1975
1976 PR testsuite/19491
1977 * gdb.base/multi-forks.c: Include
1978 ../lib/unbuffer_output.c
1979 (main): Call gdb_unbuffer_output.
1980
4f5946a8
DE
19812016-01-21 Doug Evans <dje@google.com>
1982
1983 * lib/ada.exp (gdb_compile_ada): Fix typo.
1984
305e13e6
JB
19852016-01-21 Joel Brobecker <brobecker@adacore.com>
1986
1987 * gdb.base/break-fun-addr.exp: New file.
1988 * gdb.base/break-fun-addr1.c: New file.
1989 * gdb.base/break-fun-addr2.c: New file.
1990
5f5dfff6
SM
19912016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1992
1993 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1994 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1995 enum flag values.
1996
fd356fa2
AA
19972016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1998
1999 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
2000 when GDB can not set the vector return value. Add more comments
2001 for clarification.
2002
9df22175
AT
20032016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
2004
2005 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
2006 command.
2007
41d1845e
SM
20082016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2009
2010 * Makefile.in (DO_RUNTEST): Add --status and update usages.
2011
01ac6840
SM
20122016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2013
2014 * Makefile.in (check-single): Pass --status to runtest.
2015 (check/%.exp): Likewise.
2016
20172016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2018
2019 * Makefile.in (check-parallel): Propagate return code from make
2020 do-check-parallel.
2021
bd0a71fa
MK
20222016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
2023
2024 * gdb.trace/ftrace.exp: Fix expected message on continue.
2025 * gdb.trace/pending.exp: Fix expected message on continue.
2026 * gdb.trace/trace-break.exp: Fix expected message on continue.
2027
8bcbad33
SM
20282016-01-18 Simon Marchi <simon.marchi@ericsson.com>
2029
2030 * lib/gdb.exp (gdb_test): Remove unused global references.
2031
f303dbd6
PA
20322016-01-18 Pedro Alves <palves@redhat.com>
2033
2034 * gdb.base/async-shell.exp: Adjust expected output.
2035 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
2036 * gdb.base/siginfo-thread.exp: Adjust expected output.
2037 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
2038 * gdb.java/jnpe.exp: Adjust expected output.
2039 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
2040 * gdb.threads/continue-pending-status.exp: Adjust expected output.
2041 * gdb.threads/leader-exit.exp: Adjust expected output.
2042 * gdb.threads/manythreads.exp: Adjust expected output.
2043 * gdb.threads/pthreads.exp: Adjust expected output.
2044 * gdb.threads/schedlock.exp: Adjust expected output.
2045 * gdb.threads/siginfo-threads.exp: Adjust expected output.
2046 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
2047 expected output.
2048 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
2049 output.
2050 * gdb.threads/sigthread.exp: Adjust expected output.
2051 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
2052
b2789696
YQ
20532016-01-18 Yao Qi <yao.qi@linaro.org>
2054
2055 * gdb.guile/scm-section-script.c: Replace @progbits with
2056 %progbits.
2057 * gdb.python/py-section-script.c: Likewise.
2058
71ef29a8
PA
20592016-01-15 Pedro Alves <palves@redhat.com>
2060
2061 * gdb.multi/tids.exp: Test star wildcard ranges.
2062
3f5b7598
PA
20632016-01-15 Pedro Alves <palves@redhat.com>
2064
2065 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
2066 command from "thread apply" invocation.
2067 (thr_apply_info_thr_invalid): Default the expected output to the
2068 input tid list.
2069 (top level): Add tests that use convenience variables. Add tests
2070 for "thread apply" with a valid TID list, but missing the command.
2071
663f6d42
PA
20722016-01-13 Pedro Alves <palves@redhat.com>
2073
2074 * gdb.base/default.exp: Expect $_gthread as well.
2075 * gdb.multi/tids.exp: Test $_gthread.
2076 * gdb.threads/thread-specific.exp: Test $_gthread.
2077
c84f6bbf
PA
20782016-01-13 Pedro Alves <palves@redhat.com>
2079
2080 * gdb.multi/tids.exp: Test "info threads -gid".
2081
22a02324
PA
20822016-01-13 Pedro Alves <palves@redhat.com>
2083
2084 * gdb.multi/tids.exp: Test InferiorThread.global_num and
2085 Breakpoint.thread.
2086 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
2087
5d5658a1
PA
20882016-01-07 Pedro Alves <palves@redhat.com>
2089
2090 * gdb.base/break.exp: Adjust to output changes.
2091 * gdb.base/hbreak2.exp: Likewise.
2092 * gdb.base/sepdebug.exp: Likewise.
2093 * gdb.base/watch_thread_num.exp: Likewise.
2094 * gdb.linespec/keywords.exp: Likewise.
2095 * gdb.multi/info-threads.exp: Likewise.
2096 * gdb.threads/thread-find.exp: Likewise.
2097 * gdb.multi/tids.c: New file.
2098 * gdb.multi/tids.exp: New file.
2099
84654457
PA
21002016-01-13 Pedro Alves <palves@redhat.com>
2101
2102 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
2103
e3940304
PA
21042016-01-13 Pedro Alves <palves@redhat.com>
2105
2106 * gdb.base/default.exp: Expect $_inferior as well.
2107 * gdb.multi/base.exp: Test $_inferior.
2108
a911d87a
PA
21092016-01-13 Pedro Alves <palves@redhat.com>
2110
2111 PR breakpoints/19388
2112 * gdb.base/catch-signal-siginfo-cond.c: New file.
2113 * gdb.base/catch-signal-siginfo-cond.exp: New file.
2114
82075af2
JS
21152016-01-12 Josh Stone <jistone@redhat.com>
2116 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2117
2118 * gdb.base/catch-syscall.c (do_execve): New variable.
2119 (main): Conditionally trigger an execve.
2120 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
2121 (test_catch_syscall_execve): New, check entry/return across execve.
2122 (do_syscall_tests): Call test_catch_syscall_execve.
2123
e46eeedd
PA
21242016-01-12 Pedro Alves <palves@redhat.com>
2125
2126 * gdb.base/random-signal.exp (do_test): New procedure, with body
2127 of testcase moved in.
2128
01d8c27e
JK
21292016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2130 Pedro Alves <palves@redhat.com>
2131
2132 * gdb.base/funcargs.exp (finish from indirectly called function):
2133 Reintroduce the case for 'First'.
2134
9a706302
JK
21352016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2136 Pedro Alves <palves@redhat.com>
2137
2138 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
2139 (tcatch_vfork_then_child_follow_exec)
2140 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
2141 identification.
2142
c0ecb95f
JK
21432016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2144
2145 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
2146 and repeats to unlimited.
2147 * gdb.python/py-value.exp: Likewise.
2148 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
2149 and repeats to unlimited.
2150
6cfc1fcb
JK
21512016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2152
2153 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
2154 and reordering the functions.
2155 * gdb.multi/hangout.c: Likewise.
2156 * gdb.multi/hello.c: Likewise.
2157
582a1b00
SM
21582016-01-08 Simon Marchi <simon.marchi@ericsson.com>
2159
2160 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
2161 absolute.
2162 (SingleStatisticTestResult.report): Use dict.keys instead of
2163 dict.iterkeys.
2164
79bc59cb
PA
21652016-01-06 Pedro Alves <palves@redhat.com>
2166
2167 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
2168
43368e1d
MM
21692016-01-04 Markus Metzger <markus.t.metzger@intel.com>
2170
2171 * gdb.btrace/dlopen.exp: New.
2172 * gdb.btrace/dlopen.c: New.
2173 * gdb.btrace/dlopen-dso.c: New.
2174
79fad5b8
SL
21752015-12-25 Sandra Loosemore <sandra@codesourcery.com>
2176
2177 * lib/gdb.exp (gdb_test): Update comments to clarify that the
2178 PATTERN argument is optional.
2179
ab8314b3
JB
21802015-12-24 Joel Brobecker <brobecker@adacore.com>
2181
2182 * lib/ada.exp (target_compile_ada_from_dir): New function.
2183 (gdb_compile_ada): Reimplement avoiding the use of project files.
2184 * gdb.ada/gnat_ada.gpr: Delete.
2185 * gdb.ada/cond_lang.exp: Adjust test to make path before
2186 filename optional.
2187 * gdb.ada/small_reg_param.exp: Likewise.
2188
fe33faff
SM
21892015-12-22 Simon Marchi <simon.marchi@ericsson.com>
2190
2191 * gdb.base/foll-vork.exp: Remove HP-UX special case.
2192
6d265cb4
TP
21932015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
2194
2195 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
2196 case.
2197
10125099
SM
21982015-12-21 Simon Marchi <simon.marchi@ericsson.com>
2199
2200 * gdb.base/break.exp: Remove dead code.
2201 * gdb.base/sepdebug.exp: Likewise.
2202
3ca22649
SM
22032015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2204
2205 * gdb.asm/asm-source.exp: Remove HP-UX references.
2206 * gdb.base/annota1.exp: Likewise.
2207 * gdb.base/annota3.exp: Likewise.
2208 * gdb.base/attach.exp: Likewise.
2209 * gdb.base/bigcore.exp: Likewise.
2210 * gdb.base/break.exp: Likewise.
2211 * gdb.base/call-ar-st.exp: Likewise.
2212 * gdb.base/callfuncs.exp: Likewise.
2213 * gdb.base/catch-fork-static.exp: Likewise.
2214 * gdb.base/display.exp: Likewise.
2215 * gdb.base/foll-exec-mode.exp: Likewise.
2216 * gdb.base/foll-exec.exp: Likewise.
2217 * gdb.base/foll-fork.exp: Likewise.
2218 * gdb.base/foll-vfork.exp: Likewise.
2219 * gdb.base/funcargs.exp: Likewise.
2220 * gdb.base/hbreak2.exp: Likewise.
2221 * gdb.base/inferior-died.exp: Likewise.
2222 * gdb.base/interrupt.exp: Likewise.
2223 * gdb.base/multi-forks.exp: Likewise.
2224 * gdb.base/nodebug.exp: Likewise.
2225 * gdb.base/sepdebug.exp: Likewise.
2226 * gdb.base/solib1.c: Likewise.
2227 * gdb.base/step-test.exp: Likewise.
2228 * gdb.mi/non-stop.c: Likewise.
2229 * gdb.mi/pthreads.c: Likewise.
2230 * gdb.multi/bkpt-multi-exec.ex: Likewise.
2231 * gdb.threads/pthreads.c: Likewise.
2232 * gdb.threads/staticthreads.exp: Likewise.
2233 * lib/future.exp: Likewise.
2234 * lib/gdb.exp: Likewise.
2235 * gdb.base/so-indr-cl.c: Remove.
2236 * gdb.base/so-indr-cl.exp: Likewise.
2237 * gdb.base/solib.c: Likewise.
2238 * gdb.base/solib.exp: Likewise.
2239 * gdb.base/solib2.c: Likewise.
2240
b6304613
SM
22412015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2242
2243 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
2244 * gdb.base/call-ar-st.exp: Likewise.
2245 * gdb.base/callfuncs.exp: Likewise.
2246 * gdb.base/condbreak.exp: Likewise.
2247 * gdb.base/constvars.exp: Likewise.
2248 * gdb.base/hbreak2.exp: Likewise.
2249 * gdb.base/langs.exp: Likewise.
2250 * gdb.base/list.exp: Likewise.
2251 * gdb.base/long_long.exp: Likewise.
2252 * gdb.base/ptype.exp: Likewise.
2253 * gdb.base/scope.exp: Likewise.
2254 * gdb.base/signals.exp: Likewise.
2255 * gdb.base/so-impl-ld.exp: Likewise.
2256 * gdb.base/varargs.exp: Likewise.
2257 * gdb.base/volatile.exp: Likewise.
2258 * gdb.base/whatis.exp: Likewise.
2259 * gdb.cp/cplusfuncs.exp: Likewise.
2260 * gdb.cp/inherit.exp: Likewise.
2261 * gdb.cp/local.exp: Likewise.
2262 * gdb.cp/member-ptr.exp: Likewise.
2263 * gdb.cp/method.exp: Likewise.
2264 * gdb.cp/overload.exp: Likewise.
2265 * gdb.cp/templates.exp: Likewise.
2266 * gdb.stabs/weird.exp: Likewise.
2267 * lib/compiler.c: Likewise.
2268 * lib/compiler.cc: Likewise.
2269 * lib/cp-support.exp: Likewise.
2270 * lib/gdb.exp: Likewise.
2271
bf401b07
SM
22722015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
2273
2274 * configure.ac: Remove HP-UX case.
2275 * configure: Regenerate.
2276
aff9c0f8
SM
22772015-12-18 Simon Marchi <simon.marchi@ericsson.com>
2278
2279 * lib/gdb.exp (gdb_compile): Add function doc.
2280
a6904d5a
PA
22812015-12-17 Pedro Alves <palves@redhat.com>
2282
2283 PR threads/19354
2284 * gdb.multi/info-threads.exp: New file.
2285
a22279dd
YQ
22862015-12-15 Yao Qi <yao.qi@linaro.org>
2287
2288 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
2289 is aarch64*-*-*.
2290
0588c796
SL
22912015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2292
2293 * gdb.base/history-duplicates.exp: Skip if no readline support.
2294
5d978e17
SL
22952015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2296
2297 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
2298
7e763b86
SL
22992015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2300
2301 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
2302
87a3a92c
SL
23032015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2304
2305 * gdb.base/completion.exp: Skip tests that interrupt GDB with
2306 ctrl-C if nointerrupts target property is set.
2307 * gdb.base/double-prompt-target-event-error.exp: Likewise.
2308 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
2309 * gdb.base/paginate-bg-execution.exp: Likewise.
2310 * gdb.base/paginate-execution-startup.exp: Likewise.
2311 * gdb.base/random-signal.exp: Likewise.
2312 * gdb.base/range-stepping.exp: Likewise.
2313 * gdb.cp/annota2.exp: Likewise.
2314 * gdb.cp/annota3.exp: Likewise.
2315 * gdb.gdb/selftest.exp: Likewise.
2316 * gdb.threads/continue-pending-status.exp: Likewise.
2317 * gdb.threads/leader-exit.exp: Likewise.
2318 * gdb.threads/manythreads.exp: Likewise.
2319 * gdb.threads/pthreads.exp: Likewise.
2320 * gdb.threads/schedlock.exp: Likewise.
2321 * gdb.threads/sigthread.exp: Likewise.
2322
a8f077dc
DB
23232015-12-11 Don Breazeal <donb@codesourcery.com>
2324
2325 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2326 remote.
2327 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2328 * gdb.base/foll-exec.exp (main): Enable for target remote.
2329 * gdb.base/foll-fork.exp (main): Likewise.
2330 * gdb.base/foll-vfork.exp (main): Likewise.
2331 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2332 (proc continue_to_exit_bp_loc): Use clean_restart.
2333 * gdb.base/pie-execl.exp (main): Disable for target remote.
2334 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2335 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2336 * gdb.threads/execl.exp (main): Likewise.
2337 * gdb.threads/fork-child-threads.exp (main): Likewise.
2338 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2339 remote.
2340 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2341 remote.
2342 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2343 pid.tid style ptids, instead of just tid.
2344 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2345 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2346 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2347 ptids, instead of just tid.
2348
3b2464a8
AB
23492015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2350
2351 * gdb.base/list.exp (test_list_forward): Add end of file error
2352 test.
2353 (test_repeat_list_command): Add end of file error test.
2354 (test_list_backwards): Add beginning of file error test.
2355
a0def019
AB
23562015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2357
2358 * gdb.base/list.exp (test_list_invalid_args): New function,
2359 defined, and called.
2360
5c000dff
AB
23612015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2362
2363 * gdb.base/list.exp (test_list): Make test names unique.
2364
f1637ebe
YQ
23652015-12-11 Yao Qi <yao.qi@linaro.org>
2366
2367 * gdb.base/coremaker2.c: Remove.
2368
36d6fc0a
PA
23692015-12-10 Pedro Alves <palves@redhat.com>
2370
2371 * gdb.multi/base.exp: Remove stale "spaces" references.
2372
762f7747
PA
23732015-12-10 Pedro Alves <palves@redhat.com>
2374
2375 * gdb.multi/base.exp: Don't use nowarnings.
2376 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2377 * gdb.multi/hangout.c: Include stdio.h.
2378 * gdb.multi/hello.c: Include stdlib.h.
2379 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2380 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2381 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2382
28d2bfb9
AB
23832015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2384
2385 * gdb.dwarf2/dw2-ranges-base.c: New file.
2386 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2387 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2388 support additional line table, and debug ranges generation.
2389 (Dwarf::ranges): New function, generate .debug_ranges.
2390 (Dwarf::lines): Support generating simple line table programs.
2391 (Dwarf::assemble): Initialise new namespace variables.
2392
5fc2beac
KB
23932015-12-09 Kevin Buettner <kevinb@redhat.com>
2394
2395 * gdb.base/async.exp (proc test_background): Add case for
2396 asynchronous execution not supported.
2397
1c35a88f
LM
23982015-12-09 Luis Machado <lgustavo@codesourcery.com>
2399
2400 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2401 format and change test names to make them unique.
2402
b593e3d9
RK
24032015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2404 Pedro Alves <pedro@redhat.com>
2405
2406 PR gdb/18702
2407 Add checking of floatformats setup on x86_64 hosts.
2408 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2409 (smallval, bigval): New labels/constants.
2410 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2411 float" after loading bigval and smallval.
2412
d72413e6
PMR
24132015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2414
2415 * gdb.ada/fun_overload_menu.exp: New testcase.
2416 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2417
ece66d65
JS
24182015-12-04 Josh Stone <jistone@redhat.com>
2419
2420 * gdb.base/catch-fork-static.exp: New.
2421
41d0efca
YQ
24222015-12-03 Yao Qi <yao.qi@linaro.org>
2423
2424 * gdb.base/sizeof.c: Don't include stdio.h and
2425 ../lib/unbuffer_output.c.
2426 (main): New variable 'size' and 'value'. Remove printf and
2427 gdb_unbuffer_output. Assign return value to size and value.
2428 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2429 at the beginning.
2430 (check_sizeof): Check the result by printing variable 'size'.
2431 (check_valueof): Check the result by printing variable 'value'.
2432
99fd02d9
YQ
24332015-12-01 Yao Qi <yao.qi@linaro.org>
2434
2435 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2436 for aarch64*-*-linux* target.
2437
f2faf941
PA
24382015-11-30 Pedro Alves <palves@redhat.com>
2439
2440 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2441
04bf20c5
PA
24422015-11-30 Pedro Alves <palves@redhat.com>
2443
2444 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2445 Handle non-stop mode vCont replies.
2446
09df4675
PA
24472015-11-30 Pedro Alves <palves@redhat.com>
2448
2449 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2450 prepare_for_testing. Start gdb with "set non-stop on" appended to
2451 GDBFLAGS. Lax expected stop output.
2452
58b584af
YQ
24532015-11-27 Yao Qi <yao.qi@linaro.org>
2454
2455 * gdb.arch/arm-neon.exp: New.
2456 * gdb.arch/arm-neon.c: New.
2457
dfcb77a8
YQ
24582015-11-27 Yao Qi <yao.qi@linaro.org>
2459
2460 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2461
88e8ec1b
YQ
24622015-11-27 Yao Qi <yao.qi@linaro.org>
2463
2464 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2465 frames-invalid annotation.
2466
bfde72c2
YQ
24672015-11-27 Yao Qi <yao.qi@linaro.org>
2468
2469 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2470
f6512a69
SM
24712015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2472
2473 * gdb.threads/names.exp: New file.
2474 * gdb.threads/names.c: New file.
2475 * README: Mention gdb,no_thread_names.
2476
46a3515b
MM
24772015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2478
2479 PR 19297
2480 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2481 support" error.
2482
62147a22
PA
24832015-11-24 Pedro Alves <palves@redhat.com>
2484
2485 PR 17539
2486 * gdb.base/display.exp: Expect displays to be sorted in ascending
2487 order. Use multi_line.
2488 * gdb.base/solib-display.exp: Likewise.
2489
2f341b6e
PA
24902015-11-24 Pedro Alves <palves@redhat.com>
2491
2492 PR 17539
25d49b86
PA
2493 * gdb.base/display.exp: Expect displays to be sorted in ascending
2494 order. Use multi_line.
2495 * gdb.base/solib-display.exp: Likewise.
2f341b6e 2496
7e0aa6aa
PA
24972015-11-24 Pedro Alves <palves@redhat.com>
2498
2499 PR 17539
2500 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2501 threads in ascending order.
2502 * gdb.base/foll-fork.exp: Likewise.
2503 * gdb.base/foll-vfork.exp: Likewise.
2504 * gdb.base/multi-forks.exp: Likewise.
2505 * gdb.mi/mi-nonstop.exp: Likewise.
2506 * gdb.mi/mi-nsintrall.exp: Likewise.
2507 * gdb.multi/base.exp: Likewise.
2508 * gdb.multi/multi-arch.exp: Likewise.
2509 * gdb.python/py-inferior.exp: Likewise.
2510 * gdb.threads/break-while-running.exp: Likewise.
2511 * gdb.threads/execl.exp: Likewise.
2512 * gdb.threads/gcore-thread.exp: Likewise.
2513 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2514 * gdb.threads/kill.exp: Likewise.
2515 * gdb.threads/linux-dp.exp: Likewise.
2516 * gdb.threads/multiple-step-overs.exp: Likewise.
2517 * gdb.threads/next-bp-other-thread.exp: Likewise.
2518 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2519 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2520 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2521 * gdb.threads/thread-find.exp: Likewise.
2522 * gdb.threads/tls.exp: Likewise.
2523 * lib/mi-support.exp (mi_reverse_list): Delete.
2524 (mi_check_thread_states): No longer reverse list.
2525
2cc57ad8
PA
25262015-11-24 Pedro Alves <palves@redhat.com>
2527
2528 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2529 use lowercase.
2530
c93e8391
SM
25312015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2532
2533 * gdb.trace/actions.c: Include trace-common.h.
2534 (main): Add a location for a fast tracepoint.
2535 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2536 the normal tracepoints.
2537 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2538
045ccf91
SM
25392015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2540
2541 * save-trace.exp: Factor out code to these...
2542 (gdb_save_tracepoints): New.
2543 (gdb_load_tracepoints): New.
2544 (do_save_load_test): New.
2545
5506f9f6
KB
25462015-11-23 Kevin Buettner <kevinb@redhat.com>
2547
2548 * gdb.base/asmlabel.exp: New test.
2549 * gdb.base/asmlabel.c: New test case.
2550
16c3b12f
JB
25512015-11-23 Joel Brobecker <brobecker@adacore.com>
2552
2553 * gdb.base/wrong_frame_bt_full-main.c: New file.
2554 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2555 * gdb.base/wrong_frame_bt_full.exp: New file.
2556
155bfbd3
JB
25572015-11-23 Joel Brobecker <brobecker@adacore.com>
2558
2559 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2560
bb097445
JM
25612015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2562
206853a0 2563 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
2564 pstate register when comparing registers values in
2565 sparc64-*-linux-gnu targets to avoid spurious differences.
2566
9c88ed8f
JM
25672015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2568
206853a0 2569 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 2570
96161e25
SL
25712015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2572
2573 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2574 as type argument to gdb_compile.
2575 * gdb.base/nested-subp2.exp: Likewise.
2576 * gdb.base/nested-subp3.exp: Likewise.
2577
340c2830
DV
25782015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2579
2580 * lib/dwarf.exp (_note): Fix left shift of negative value.
2581 * gdb.trace/trace-condition.exp: Likewise.
2582
c1862d0f
YQ
25832015-11-13 Yao Qi <yao.qi@linaro.org>
2584
2585 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2586 comments about d10v.
2587 (test_scalar_returns): Likewise.
2588 * gdb.base/d10v.ld: Remove.
2589 * gdb.base/overlays.exp: Remove the target triplet checking for
2590 d10v-*-*.
2591 * gdb.base/structs.exp (test_struct_returns): Remove the
2592 comments about d10v.
2593 (test_struct_calls): Likewise.
2594
77ae9c19
YQ
25952015-11-13 Yao Qi <yao.qi@linaro.org>
2596
2597 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2598 * gdb.base/gnu_vector.c: Don't include stdio.h.
2599 (main): Don't print res and call add_some_intvecs.
2600
430e004e
MK
26012015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2602
2603 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2604 macro.
2605 (func5): Removed.
2606 (func4): Use FAST_TRACEPOINT_LABEL.
2607 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2608 macro.
2609 (func): Removed.
2610 (thread_function): Use FAST_TRACEPOINT_LABEL.
2611 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2612 (func): Remove.
2613 (marker): Use FAST_TRACEPOINT_LABEL.
2614 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2615 (pendfunc1): Remove.
2616 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2617 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2618 (foo): Remove.
2619 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2620 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2621 macro.
2622 (func): Remove.
2623 (marker): Use FAST_TRACEPOINT_LABEL.
2624 * gdb.trace/trace-common.h: New header.
2625 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2626 macro.
2627 (func): Remove.
2628 (marker): Use FAST_TRACEPOINT_LABEL.
2629 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2630 (func): Remove.
2631 (thread_function): Use FAST_TRACEPOINT_LABEL.
2632
6e7675a7
MK
26332015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2634
2635 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2636 in front.
2637 * gdb.trace/change-loc.exp: Use global pcreg definition.
2638 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2639 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2640 in front.
2641 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2642 * gdb.trace/pending.exp: Likewise.
2643 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2644 * gdb.trace/trace-break.exp: Likewise.
2645 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2646 in front.
2647 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2648 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2649 in front.
2650 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2651
dddc0e16
JB
26522015-11-09 Joel Brobecker <brobecker@adacore.com>
2653
2654 * gdb.ada/fin_fun_out: New testcase.
2655
c6f0b406
KB
26562015-11-07 Kevin Buettner <kevinb@redhat.com>
2657
2658 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2659 value associated with DW_AT_byte_size.
2660 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2661 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2662 DW_AT_upper_bound.
2663
f01dcfd9
KB
26642015-11-07 Kevin Buettner <kevinb@redhat.com>
2665
2666 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2667 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2668 version.
2669 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2670 gdb.dwarf2/dw2-canonicalize-type.exp,
2671 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2672 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2673 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2674 provided by gdb_target_symbol_prefix_flags_asm.
2675 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2676 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2677 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2678 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2679 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2680 macros where needed). Use this macro for symbols which require
2681 the prefix provided by SYMBOL_PREFIX.
2682
2223449a
KB
26832015-11-05 Kevin Buettner <kevinb@redhat.com>
2684
2685 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2686 New procs.
2687 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2688 representing expressions, of more than one list element.
2689 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2690 to prepend linker symbol prefix to f.
2691 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2692 table_1 and table_2.
2693 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2694 Likewise, for f and g.
2695 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2696 for ptr.
2697 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2698 for main.
2699 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2700 table_1_ptr and table_2_ptr.
2701
6f2f1a3a
JK
27022015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2703 Joel Brobecker <brobecker@adacore.com>
2704
2705 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2706
566c56c9
MK
27072015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2708
2709 * gdb.reverse/s390-mvcle.c: New test.
2710 * gdb.reverse/s390-mvcle.exp: New file.
2711 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2712
d5f0636b
MK
27132015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2714
2715 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2716
7ad8b86c
MK
27172015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2718
2719 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2720 reaching marker2.
2721 * gdb.reverse/getresuid-reverse.exp: Likewise.
2722 * gdb.reverse/pipe-reverse.exp: Likewise.
2723 * gdb.reverse/readv-reverse.exp: Likewise.
2724 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2725 * gdb.reverse/time-reverse.exp: Likewise.
2726 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2727
4081c0f1
YQ
27282015-10-30 Yao Qi <yao.qi@linaro.org>
2729
2730 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2731 (empty_cycle): Remove.
2732 (main): Don't call empty_cycle. Don't use watch_count_done.
2733 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2734 empty_cycle. Rewrite the code counting HW watchpoints.
2735
452b4ba5
MK
27362015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2737
2738 * gdb.reverse/fstatat-reverse.c: New test.
2739 * gdb.reverse/fstatat-reverse.exp: New file.
2740 * gdb.reverse/getresuid-reverse.c: New test.
2741 * gdb.reverse/getresuid-reverse.exp: New file.
2742 * gdb.reverse/pipe-reverse.c: New test.
2743 * gdb.reverse/pipe-reverse.exp: New file.
2744 * gdb.reverse/readv-reverse.c: New test.
2745 * gdb.reverse/readv-reverse.exp: New file.
2746 * gdb.reverse/recvmsg-reverse.c: New test.
2747 * gdb.reverse/recvmsg-reverse.exp: New file.
2748 * gdb.reverse/time-reverse.c: New test.
2749 * gdb.reverse/time-reverse.exp: New file.
2750 * gdb.reverse/waitpid-reverse.c: New test.
2751 * gdb.reverse/waitpid-reverse.exp: New file.
2752
5e2e7507
JK
27532015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2754
2755 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2756
0fde2c53
DE
27572015-10-26 Doug Evans <dje@google.com>
2758
2759 PR symtab/17391
2760 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2761 * gdb.dwarf2/bad-regnum.c: New file.
2762 * gdb.dwarf2/bad-regnum.exp: New file.
2763
1a70ae97
DE
27642015-10-26 Doug Evans <dje@google.com>
2765
2766 PR python/18938
2767 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2768 file.
2769
27dc26ab
JK
27702015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2771
2772 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2773 for a change by "Mention language in compile error message".
2774
bed91f4d
SM
27752015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2776
2777 PR python/18073
2778 * gdb.python/py-type.c (C::a_method): New.
2779 (C::a_const_method): New.
2780 (C::a_static_method): New.
2781 (a_function): New.
2782 * gdb.python/py-type.exp (test_fields): Test getting fields
2783 from function and method.
2784
3f2f83dd
KB
27852015-10-21 Keven Boell <keven.boell@intel.com>
2786
2787 * gdb.fortran/vla-alloc-assoc.exp: New file.
2788 * gdb.fortran/vla-datatypes.exp: New file.
2789 * gdb.fortran/vla-datatypes.f90: New file.
2790 * gdb.fortran/vla-history.exp: New file.
2791 * gdb.fortran/vla-ptype-sub.exp: New file.
2792 * gdb.fortran/vla-ptype.exp: New file.
2793 * gdb.fortran/vla-sizeof.exp: New file.
2794 * gdb.fortran/vla-sub.f90: New file.
2795 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2796 * gdb.fortran/vla-value-sub-finish.exp: New file.
2797 * gdb.fortran/vla-value-sub.exp: New file.
2798 * gdb.fortran/vla-value.exp: New file.
2799 * gdb.fortran/vla-ptr-info.exp: New file.
2800 * gdb.mi/mi-vla-fortran.exp: New file.
2801 * gdb.mi/vla.f90: New file.
2802
27145d50
SL
28032015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2804
2805 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2806 of hardwired timeout value.
2807
5f3ff4f8
JK
28082015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2809 Pedro Alves <palves@redhat.com>
2810
2811 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2812 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2813
bfd09d20
JS
28142015-10-19 Josh Stone <jistone@redhat.com>
2815
2816 * gdb.base/catch-syscall.c: Include <sched.h>.
2817 (unknown_syscall): New variable.
2818 (main): Trigger a vfork and an unknown syscall.
2819 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2820 (unknown_syscall_number): Likewise.
2821 (check_call_to_syscall): Accept an optional syscall pattern.
2822 (check_return_from_syscall): Likewise.
2823 (check_continue): Likewise.
2824 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2825 (test_catch_syscall_skipping_return): New test toggling off 'catch
2826 syscall' to step over the syscall return, then toggling back on.
2827 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2828 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2829 (do_syscall_tests): Call test_catch_syscall_without_args and
2830 test_catch_syscall_mid_vfork.
2831 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2832 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2833
b32b93c6
AS
28342015-10-19 Andrew Stubbs <ams@codesourcery.com>
2835
2836 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2837 print g_vE): Add new pass patterns.
2838 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2839 print various symbol names for vptr fields.
2840
9d622bda
AB
28412015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2842
2843 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2844 results.
2845
0fd8ac1c
YQ
28462015-10-12 Yao Qi <yao.qi@linaro.org>
2847
2848 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2849
34240514
YQ
28502015-10-12 Yao Qi <yao.qi@linaro.org>
2851
2852 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2853 is aarch64*-*-linux*.
2854
8240f442
YQ
28552015-10-12 Yao Qi <yao.qi@linaro.org>
2856
2857 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2858 (can_relocate_bcond_true): ... it.
2859 (can_relocate_bcond_false): New function.
2860 (foo): Likewise.
2861 (can_relocate_bl): Likewise.
2862 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2863 can_relocate_bl.
2864
2520f728
PMR
28652015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2866
2867 * gdb.base/nested-addr.c: New file.
2868 * gdb.base/nested-addr.exp: New testcase.
2869
abcef95a
MM
28702015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2871
2872 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2873 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2874 its output. Ignore the output of "record goto begin" and instead
2875 check that GDB is replaying.
2876
145e3ddb
PA
28772015-10-09 Pedro Alves <palves@redhat.com>
2878
2879 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2880 (top level): Use it in the run with no args test.
2881
d5d8c4e1
IB
28822015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2883
2884 * gdb.dlang/properties.exp: New file.
2885
06e635ef
SL
28862015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2887
2888 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2889 whether or not address 0x1000 is mapped on the target.
2890
e019fd1d
SM
28912015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2892
2893 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2894 build.
2895
77ba2a67
MM
28962015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2897
2898 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2899 instruction-history test.
2900
c60eb31f
DE
29012015-09-28 Doug Evans <dje@google.com>
2902
2903 * gdb.base/gcore.c (array_func): Add reference to static_array.
2904
9a3c8263
SM
29052015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2906
2907 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2908 source line.
2909
9720e656
SL
29102015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2911
2912 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2913 short or char as base type.
2914
938d3bf2
SL
29152015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2916
2917 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2918 to allow any size enum.
2919
e6c2c623
PMR
29202015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2921
2922 * gdb.ada/array_ptr_renaming.exp: New testcase.
2923 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2924 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2925
06da0f77
PL
29262015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2927
2928 * gdb.trace/ftrace-lock.c: New file.
2929 * gdb.trace/ftrace-lock.exp: New file.
2930
4f51c22a
PL
29312015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2932
2933 * gdb.arch/insn-reloc.c: New file.
2934 * gdb.arch/ftrace-insn-reloc.exp: New file.
2935
7041adf4
PL
29362015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2937
2938 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2939 instruction.
2940 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2941 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2942 * gdb.trace/range-stepping.c: Likewise.
2943 * gdb.trace/trace-break.c: Likewise.
2944 * gdb.trace/trace-mt.c (thread_function): Likewise.
2945 * gdb.trace/ftrace.c (marker): Likewise.
2946 * gdb.trace/trace-condition.c (marker): Likewise.
2947 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2948 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2949 is_aarch64_target.
2950
015d2e7e
DE
29512015-09-18 Doug Evans <xdje42@gmail.com>
2952
2953 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2954 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2955
26b188a2
SL
29562015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2957
2958 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2959 the breakpoint.
2960
79dc332b
SL
29612015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2962
2963 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2964 the pending breakpoint. Remove timeout override for "Run till
2965 MI pending breakpoint on pendfunc3 on thread 2" test.
2966
f57929f2
SL
29672015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2968
2969 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2970 filename pattern.
2971
3f469b17
SL
29722015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2973
2974 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2975 in breakpoint filename pattern.
2976
515b89b3
SL
29772015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2978
7800dbe4
SL
2979 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2980
29812015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2982
515b89b3
SL
2983 * gdb.linespec/explicit.exp: Check for readline support for
2984 tab-completion tests. Fix obvious typo.
2985
d2939ba2
MM
29862015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2987
2988 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2989 and replay.
2990
cbb55fa7
MM
29912015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2992
2993 * gdb.btrace/non-stop.c: New.
2994 * gdb.btrace/non-stop.exp: New.
2995
43691ca1
PL
29962015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2997 Yao Qi <yao.qi@linaro.org>
2998
2999 * gdb.trace/trace-condition.c: New file.
3000 * gdb.trace/trace-condition.exp: New file.
3001
d78908cf
WW
30022015-09-16 Wei-cheng Wang <cole945@gmail.com>
3003
3004 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
3005 for testing bytecode compilation.
3006
1ed415e2
PA
30072015-09-16 Pedro Alves <palves@redhat.com>
3008 Sandra Loosemore <sandra@codesourcery.com>
3009
3010 * gdb.threads/non-stop-fair-events.c (timeout): New global.
3011 (SECONDS): Redefine.
3012 (main): Call pthread_kill and alarm early.
3013 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
3014 support.
3015 (test): If the target can't hardware step and doesn't support
3016 displaced stepping, increase the timeout.
3017
d136eff5
PA
30182015-09-16 Pedro Alves <palves@redhat.com>
3019
3020 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
3021 (enable_debug): New procedures.
3022 (test): Use them. Bail out if waiting for threads fails.
3023 (top level): Bail out if a test fails.
3024
991f019c
YQ
30252015-09-16 Yao Qi <yao.qi@linaro.org>
3026
3027 * gdb.asm/asm-source.exp: Set asm-arch for
3028 aarch64*-*-* target.
3029 * gdb.asm/aarch64.inc: New file.
3030
bfca584f
PMR
30312015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
3032
3033 * gdb.ada/array_of_variable_length.exp: New testcase.
3034 * gdb.ada/array_of_variable_length/foo.adb: New file.
3035 * gdb.ada/array_of_variable_length/pck.adb: New file.
3036 * gdb.ada/array_of_variable_length/pck.ads: New file.
3037
b326e587
DE
30382015-09-15 Doug Evans <dje@google.com>
3039
3040 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
3041 of function static local variable.
3042
5382cfab
PW
30432015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3044
3045 * gdb.threads/tls-so_extern.exp: New test file.
3046 * gdb.threads/tls-so_extern.c: New test file.
3047 * gdb.threads/tls-so_extern_main.c: New test file.
3048
141c5cc4
JK
30492015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3050
3051 * gdb.opt/solib-intra-step-lib.c: New file.
3052 * gdb.opt/solib-intra-step-main.c: New file.
3053 * gdb.opt/solib-intra-step.exp: New file.
3054
d15dcecd
PA
30552015-09-15 Pedro Alves <palves@redhat.com>
3056
3057 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
3058 gdb_continue_to_breakpoint instead of gdb_test_multiple.
3059
4c2f2a79
PA
30602015-09-14 Pedro Alves <palves@redhat.com>
3061
3062 * gdb.base/hook-stop-continue.c: Delete.
3063 * gdb.base/hook-stop-continue.exp: Delete.
3064 * gdb.base/hook-stop-frame.c: Delete.
3065 * gdb.base/hook-stop-frame.exp: Delete.
3066 * gdb.base/hook-stop.c: New file.
3067 * gdb.base/hook-stop.exp: New file.
3068
919e6dbe
PMR
30692015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
3070
3071 * gdb.ada/access_to_packed_array.exp: New testcase.
3072 * gdb.ada/access_to_packed_array/foo.adb: New file.
3073 * gdb.ada/access_to_packed_array/pack.adb: New file.
3074 * gdb.ada/access_to_packed_array/pack.ads: New file.
3075
157280a4
MM
30762015-09-14 Markus Metzger <markus.t.metzger@intel.com>
3077
3078 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
3079 buffer size test.
3080
2fd33e94
DB
30812015-09-11 Don Breazeal <donb@codesourcery.com>
3082
3083 * gdb.base/foll-exec.c: Add copyright header. Fix
3084 formatting issues.
3085 * gdb.base/foll-exec.exp (zap_session): Delete proc.
3086 (do_exec_tests): Use clean_restart in place of zap_session,
3087 and for test initialization. Fix formatting issues. Use
3088 fail in place of perror.
3089 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
3090 an expect statement to match an expression with output from
3091 the program under debug.
3092 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
3093 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
3094 * gdb.threads/non-ldr-exc-2.exp: Likewise.
3095 * gdb.threads/non-ldr-exc-3.exp: Likewise.
3096 * gdb.threads/non-ldr-exc-4.exp: Likewise.
3097
e70b6e8e
DE
30982015-09-09 Doug Evans <dje@google.com>
3099
3100 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
3101
7a551a51
DE
31022015-09-09 Doug Evans <dje@google.com>
3103
3104 * gdb.base/pie-execl.exp: Fix result test of build_executable.
3105
4c666f84
DE
31062015-09-09 Doug Evans <dje@google.com>
3107
3108 * gdb.base/savedregs.exp: Fix typo.
3109
243a9253
PA
31102015-09-09 Pedro Alves <palves@redhat.com>
3111
3112 * gdb.mi/mi-cli.exp: Add CLI finish tests.
3113
c0fa8fbd
SL
31142015-09-08 Sandra Loosemore <sandra@codesourcery.com>
3115
3116 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
3117 command actually switches threads. Give up on remaining
3118 tests if target fails to stop at breakpoint.
3119
cd7c1778
PMR
31202015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
3121
3122 * gdb.ada/funcall_char.exp: New testcase.
3123 * gdb.ada/funcall_char/foo.adb: New file.
3124
dc5c8746
PMR
31252015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
3126
3127 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
3128 expected outputs. Add two testcases for completing ambiguous
3129 functions.
3130 * gdb.ada/complete/aux_pck.adb: New file.
3131 * gdb.ada/complete/aux_pck.ads: New file.
3132 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
3133 Ambiguous_Func functions.
3134 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
3135 * gdb.ada/complete/pck.adb: Likewise.
3136
4e83a1e7
UW
31372015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
3138
3139 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
3140 failures to run the test program under GDB.
3141
8ce74153
LM
31422015-08-26 Luis Machado <lgustavo@codesourcery.com>
3143
3144 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
3145 to C.
3146
e9756d52
PP
31472015-08-26 Patrick Palka <patrick@parcs.ath.cx>
3148
3149 * gdb.base/run-after-attach.exp: New test file.
3150 * gdb.base/run-after-attach.c: New test file.
3151
8d37573b
DB
31522015-08-26 Don Breazeal <donb@codesourcery.com>
3153
3154 * gdb.base/foll-exec-2.c: New test program.
3155 * gdb.base/foll-exec-2.exp: New test.
3156
63e43d3a
PMR
31572015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
3158
3159 * gdb.base/nested-subp1.exp: New file.
3160 * gdb.base/nested-subp1.c: New file.
3161 * gdb.base/nested-subp2.exp: New file.
3162 * gdb.base/nested-subp2.c: New file.
3163 * gdb.base/nested-subp3.exp: New file.
3164 * gdb.base/nested-subp3.c: New file.
3165
3d40fbb5
PA
31662015-08-24 Pedro Alves <palves@redhat.com>
3167
3168 * gdb.server/connect-without-multi-process.c: New file.
3169 * gdb.server/connect-without-multi-process.exp: New file.
3170
4422ac93
LM
31712015-08-24 Luis Machado <lgustavo@codesourcery.com>
3172
3173 * gdb.opt/inline-markers.c: Make z int.
3174
91dddb86
LM
31752015-08-24 Luis Machado <lgustavo@codesourcery.com>
3176
3177 * gdb.opt/inline-markers.c: Make z volatile.
3178
a48847ee
LM
31792015-08-24 Luis Machado <lgustavo@codesourcery.com>
3180
3181 * gdb.opt/inline-bt.c: New volatile global z.
3182 * gdb.opt/inline-cmds.c: Likewise.
3183 * gdb.opt/inline-locals.c: Likewise.
3184 * gdb.opt/inline-markers.c: New extern global z.
3185 (marker): Use z.
3186 (inline_fn): Likewise.
3187
0ebbc52b
PA
31882015-08-24 Pedro Alves <palves@redhat.com>
3189
3190 * config/m32r-stub.exp: Remove file.
3191 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
3192 * gdb.base/call-rt-st.exp: Likewise.
3193 * gdb.base/call-strs.exp: Likewise.
3194 * gdb.base/default.exp: Remove references to h8300-*-hms and
3195 *-*-udi*.
3196 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
3197
77c365df
AA
31982015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3199
3200 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
3201 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
3202 and "return" use KFAIL when GDB can not read/write the vector
3203 return value.
3204
4313b8c0
GB
32052015-08-21 Gary Benson <gbenson@redhat.com>
3206
3207 * gdb.trace/pending.exp: Cope with remote transfer warnings.
3208
0e433b32
PA
32092015-08-20 Pedro Alves <palves@redhat.com>
3210
3211 * gdb.server/solib-list.exp: No longer expect an interior stop in
3212 non-stop mode.
3213
221e1a37
PA
32142015-08-20 Pedro Alves <palves@redhat.com>
3215
3216 * gdb.server/connect-stopped-target.c: New file.
3217 * gdb.server/connect-stopped-target.exp: New file.
3218
40e3ad0e
PA
32192015-08-20 Pedro Alves <palves@redhat.com>
3220
3221 * gdb.dwarf2/comp-unit-lang.exp: New file.
3222 * gdb.dwarf2/comp-unit-lang.c: New file.
3223
af39b327
PMR
32242015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
3225
3226 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
3227 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
3228
7d45c7c3 32292015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 3230
7d45c7c3
KB
3231 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
3232 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
3233
4d6cceb4
DE
32342015-08-18 Doug Evans <dje@google.com>
3235 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3236
3237 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
3238 skip_python_tests. New arg prompt_regexp.
3239 (skip_python_tests): New function.
3240 * lib/mi-support.exp (mi_skip_python_tests): New function.
3241 * gdb.python/py-mi-objfile-gdb.py: New file.
3242 * gdb.python/py-mi-objfile.c: New file.
3243 * gdb.python/py-mi-objfile.exp: New file.
3244
ad89c2aa
KS
32452015-08-17 Keith Seitz <keiths@redhat.com>
3246
3247 * gdb.linespec/explicit.exp: Move strace test from here ...
3248 * gdb.trace/strace.exp: ... to here.
3249
e3ae3c43
PP
32502015-08-15 Patrick Palka <patrick@parcs.ath.cx>
3251
3252 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
3253 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
3254
604b2636
DE
32552015-08-14 Doug Evans <xdje42@gmail.com>
3256
3257 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
3258 inferior before selecting a new file.
3259
6ff0ba5f
DE
32602015-08-14 Doug Evans <xdje42@gmail.com>
3261
3262 * gdb.mi/mi-disassemble.exp: Update.
3263 * gdb.base/disasm-optim.S: New file.
3264 * gdb.base/disasm-optim.c: New file.
3265 * gdb.base/disasm-optim.h: New file.
3266 * gdb.base/disasm-optim.exp: New file.
3267
9ca98f92
KS
32682015-08-14 Keith Seitz <keiths@redhat.com>
3269
3270 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
3271 "evaluated-by".
3272
52bbc560
JB
32732015-08-13 Joel Brobecker <brobecker@adacore.com>
3274
3275 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
3276
5d8c3ed3
PMR
32772015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
3278
3279 * gdb.ada/fun_renaming.exp: New testcase.
3280 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
3281 * gdb.ada/fun_renaming/pack.adb: New file.
3282 * gdb.ada/fun_renaming/pack.ads: New file.
3283
ea8812bc
KS
32842015-08-12 Keith Seitz <keiths@redhat.com>
3285
3286 * gdb.base/dso2dso.exp: Pass basename of source file in call to
3287 gdb_get_line_number.
3288
4dafcdeb
JB
32892015-08-12 Joel Brobecker <brobecker@adacore.com>
3290
3291 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
3292 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
3293 gdb.base/dso2dso.exp: New files.
3294
5ba32597
SDJ
32952015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
3296 Pedro Alves <palves@redhat.com>
3297 Keith Seitz <keiths@redhat.com>
3298
3299 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
3300 GDBFLAGS.
3301
b6dafabf
PP
33022015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3303
3304 * gdb.base/gdbhistsize-history.exp
3305 (test_histsize_history_setting): Use save_vars.
3306 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3307 Use save_vars.
3308 (test_no_truncation_of_unlimited_history_file): Use save_vars.
3309 * gdb.base/readline.exp: Use save_vars.
3310
abe8e607
PP
33112015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3312
3313 * lib/gdb.exp (save_vars): New proc.
3314
629500fa
KS
33152015-08-11 Keith Seitz <keiths@redhat.com>
3316
3317 * gdb.base/help.exp: Update help_breakpoint_text.
3318
eb8c4e2e
KS
33192015-08-11 Keith Seitz <keiths@redhat.com>
3320
3321 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3322 (at toplevel): Call test_explicit_breakpoints.
3323 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3324 breakpoints.
3325 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3326 breakpoint conditions, "-cond".
3327
87f0e720
KS
33282015-08-11 Keith Seitz <keiths@redhat.com>
3329
3330 * gdb.linespec/3explicit.c: New file.
3331 * gdb.linespec/cpexplicit.cc: New file.
3332 * gdb.linespec/cpexplicit.exp: New file.
3333 * gdb.linespec/explicit.c: New file.
3334 * gdb.linespec/explicit.exp: New file.
3335 * gdb.linespec/explicit2.c: New file.
3336 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3337 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3338 before using in the matching pattern.
3339 Clarify that `prefix' is a regular expression.
3340
f00aae0f
KS
33412015-08-11 Keith Seitz <keiths@redhat.com>
3342
3343 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3344 test.
3345 Add tests for missing ",FMT" and ",".
3346
e27852be
DE
33472015-08-10 Doug Evans <dje@google.com>
3348 Keith Seitz <keiths@redhat.com>
3349
3350 PR gdb/17960
3351 * gdb.base/completion.exp: Add location completer tests.
3352
7f03bd92
PA
33532015-08-07 Pedro Alves <palves@redhat.com>
3354
3355 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3356 tests here.
3357 (top level): Run do_test with and without displaced stepping.
3358
3fc8eb30
PA
33592015-08-07 Pedro Alves <palves@redhat.com>
3360
3361 * gdb.base/valgrind-disp-step.c: New file.
3362 * gdb.base/valgrind-disp-step.exp: New file.
3363
d4569d7b
PA
33642015-08-07 Pedro Alves <palves@redhat.com>
3365
3366 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
3367 Delete function.
3368 (main): Add alarm. Run an infinite loop instead of calling
3369 wait_threads.
3370 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
3371 comment.
3372 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3373 Delete function.
3374 (main): Add alarm. Run an infinite loop instead of calling
3375 wait_threads.
3376 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3377 comment.
3378
e1316e60
PA
33792015-08-07 Pedro Alves <palves@redhat.com>
3380
3381 * gdb.base/checkpoint-ns.exp: New file.
3382 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3383 standard_testfile.
3384
da8c46d2
MM
33852015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3386
3387 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3388 * gdb.btrace/instruction_history.exp: Update.
3389 * gdb.btrace/tsx.exp: New.
3390 * gdb.btrace/tsx.c: New.
3391
de1c2c52
PA
33922015-08-06 Pedro Alves <palves@redhat.com>
3393
3394 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3395 increase timeout.
3396 * gdb.reverse/until-precsave.exp: Bump timeouts.
3397
782e0bf4
PA
33982015-08-06 Pedro Alves <palves@redhat.com>
3399
3400 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3401
83e97ed0
PA
34022015-08-06 Pedro Alves <palves@redhat.com>
3403
3404 PR gdb/18749
3405 * gdb.threads/process-dies-while-handling-bp.c: New file.
3406 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3407
863d01bd
PA
34082015-08-06 Pedro Alves <palves@redhat.com>
3409
3410 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3411 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3412
0a39bb32
PA
34132015-08-05 Pedro Alves <palves@redhat.com>
3414
3415 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3416 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3417
ee2d2b10
SL
34182015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3419
3420 * gdb.base/bp-permanent.exp: Report test as unsupported if
3421 the target cannot stop at the permanent breakpoint.
3422
4e1bdb00
DE
34232015-08-03 Doug Evans <dje@google.com>
3424
3425 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3426 10000.
3427
3d338901
DE
34282015-08-03 Doug Evans <dje@google.com>
3429
3430 * Makefile.in (workers/%.worker, build-perf): New rule.
3431 (GDB_PERFTEST_MODE): New variable.
3432 (check-perf): Use it.
3433 (clean): Clean up gdb.perf parallel build subdirs.
3434 * lib/build-piece.exp: New file.
3435 * lib/gdb.exp (make_gdb_parallel_path): New function
3436 (standard_output_file, standard_temp_file): Call it.
3437 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3438 of $GDB_PARALLEL.
3439 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3440
af061d3e
DE
34412015-08-03 Doug Evans <dje@google.com>
3442
8e1afc81 3443 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
3444 (LOG_FILE_NAME): New global.
3445 (TextReporter.__init__): Initialize self.txt_sum.
3446 (TextReporter.report): Add support for multiple data-points.
3447 Move report to perftest.sum, put raw data in perftest.log.
3448 (TextReporter.start): Open sum and log files.
3449 (TextReporter.end): Close sum and log files.
8e1afc81
DE
3450 * gdb.perf/lib/perftest/testresult.py
3451 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 3452
2c8c5d37
PA
34532015-07-31 Pedro Alves <palves@redhat.com>
3454
3455 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3456 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3457 kill_wait_spawned_process instead of explicit "kill -9".
3458 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3459 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3460 kill_wait_spawned_process.
3461 * gdb.base/attach-twice.exp: Likewise.
3462 * gdb.base/attach.exp: Likewise.
3463 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3464 gdb_test_multiple.
3465 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3466 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3467 kill_wait_spawned_process.
3468 * gdb.base/valgrind-infcall.exp: Likewise.
3469 * gdb.multi/multi-attach.exp: Likewise.
3470 * gdb.python/py-prompt.exp: Likewise.
3471 * gdb.python/py-sync-interp.exp: Likewise.
3472 * gdb.server/ext-attach.exp: Likewise.
3473 * gdb.threads/attach-into-signal.exp (corefunc): Use
3474 spawn_wait_for_attach, spawn_id_get_pid and
3475 kill_wait_spawned_process.
3476 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3477 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3478 spawn_id_get_pid and kill_wait_spawned_process.
3479 * gdb.threads/attach-stopped.exp (corefunc): Use
3480 spawn_wait_for_attach, spawn_id_get_pid and
3481 kill_wait_spawned_process.
3482 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3483 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3484 kill_wait_spawned_process instead of explicit "kill -9".
3485 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3486 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3487 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3488 processes. Don't map cygwin/windows pids here. Now returns a
3489 spawn id list.
3490
032a0fca
SL
34912015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3492
3493 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3494 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3495 correct patch.
3496
61a934ca
SL
34972015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3498
3499 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3500
4bc4d428
SL
35012015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3502
3503 Reapply:
3504 2014-05-21 Mark Wielaard <mjw@redhat.com>
3505
3506 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3507
998d452a
PA
35082015-07-30 Pedro Alves <palves@redhat.com>
3509
3510 * linux-low.c (handle_extended_wait): Set the child's last
3511 reported status to TARGET_WAITKIND_STOPPED.
3512
69dde7dc
PA
35132015-07-30 Pedro Alves <palves@redhat.com>
3514
3515 PR threads/18600
3516 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3517 only shows inferior 1.
3518
4dd63d48
PA
35192015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3520 Pedro Alves <palves@redhat.com>
3521
3522 PR threads/18600
3523 * gdb.threads/fork-plus-threads.c: New file.
3524 * gdb.threads/fork-plus-threads.exp: New file.
3525
d618e4c5
PP
35262015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3527
3528 * gdb.base/batch-preserve-term-settings.exp
3529 (test_terminal_settings_preserved_after_cli_exit): Use
3530 send_quit_command.
3531
1eef6428
PA
35322015-07-29 Pedro Alves <palves@redhat.com>
3533 Don Breazeal <donb@codesourcery.com>
3534
3535 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3536 output from both inferior_spawn_id and gdb_spawn_id.
3537
7da5b897
SDJ
35382015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3539
3540 * gdb.threads/attach-into-signal.exp (corefunc): Use
3541 with_test_prefix on nested loops, uniquefying the test messages.
3542
dac804df
SDJ
35432015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3544
3545 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3546 commit.
3547
06265e53
PP
35482015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3549
3550 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3551 New proc.
3552 (test_terminal_settings_preserved_after_sigterm): New test.
3553
18206ca3
PP
35542015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3555
3556 * gdb.base/batch-preserve-term-settings.exp
3557 (test_terminal_settings_preserved_after_cli_exit): New test.
3558
90074d11
PP
35592015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3560
3561 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3562 manipulation of saved_gdbflags.
3563 (test_terminal_settings_preserved): Remove global declaration of
3564 the unused variable pagination_prompt. Remove manipulation of
3565 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3566 GDBFLAGS.
3567
eb1a7902
PA
35682015-07-29 Pedro Alves <palves@redhat.com>
3569
3570 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3571
8b75dd3b
PA
35722015-07-29 Pedro Alves <palves@redhat.com>
3573
3574 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3575 at the top.
3576
dedad4e3
PA
35772015-07-29 Pedro Alves <palves@redhat.com>
3578
3579 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3580 (main): Call gdb_unbuffer_output.
3581 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3582 (main): Call gdb_unbuffer_output.
3583 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3584 (main): Call gdb_unbuffer_output.
3585 * gdb.base/call-strs.exp: Adjust to step over the
3586 gdb_unbuffer_output call.
3587 * gdb.base/catch-gdb-caused-signals.c: Include
3588 "../lib/unbuffer_output.c".
3589 (main): Call gdb_unbuffer_output.
3590 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3591 (main): Call gdb_unbuffer_output.
3592 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3593 (main): Call gdb_unbuffer_output.
3594 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3595 (main): Call gdb_unbuffer_output.
3596 * gdb.base/shlib-call.exp: Adjust to step over the
3597 gdb_unbuffer_output call.
3598 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3599 (main): Call gdb_unbuffer_output.
3600 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3601 (main): Call gdb_unbuffer_output.
3602 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3603 (main): Rename to ...
3604 (test): ... this.
3605 (main): Reimplement.
3606 * gdb.base/varargs.exp: Run to test instead of to main.
3607 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3608 (main): Call gdb_unbuffer_output.
3609
58789a91
PA
36102015-07-29 Pedro Alves <palves@redhat.com>
3611
3612 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3613 factore out from mi_continue_dprintf. For call-style dprintfs,
3614 expect dprintf output out of $inferior_spawn_id.
3615 (mi_continue_dprintf): Use mi_expect_dprintf.
3616 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3617 (main): Call gdb_unbuffer_output.
3618
e8376742
PA
36192015-07-29 Pedro Alves <palves@redhat.com>
3620
3621 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3622 (default_mi_gdb_start): Set inferior_spawn_id instead of
3623 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3624 gdb_spawn_id.
3625 (mi_gdb_test): Always expect inferior output from both
3626 $inferior_spawn_id and $gdb_spawn_id.
3627
08280010
PA
36282015-07-29 Pedro Alves <palves@redhat.com>
3629
3630 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3631 send_inferior and $inferior_spawn_id.
3632
4d30e432
PA
36332015-07-29 Pedro Alves <palves@redhat.com>
3634
3635 * gdb.gdb/complaints.exp (test_initial_complaints)
3636 (test_serial_complaints, test_short_complaints): Use
3637 gdb_test_stdio.
3638 (test_empty_complaint): Handle $inferior_spawn_id !=
3639 $gdb_spawn_id.
3640
0d30a335
PA
36412015-07-29 Pedro Alves <palves@redhat.com>
3642
3643 * gdb.base/varargs.exp: Use gdb_test_stdio.
3644
39413b29
PA
36452015-07-29 Pedro Alves <palves@redhat.com>
3646
3647 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3648
7cb000a9
PA
36492015-07-29 Pedro Alves <palves@redhat.com>
3650
3651 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3652
d7b8ac82
PA
36532015-07-29 Pedro Alves <palves@redhat.com>
3654
3655 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3656 parameter into two new parameters, "inf_result" and "gdb_result".
3657 Expect inferior output and gdb output from $inferior_spawn_id and
3658 $gdb_spawn_id, respectively. Adjust all callers.
3659
789c3a0c
PA
36602015-07-29 Pedro Alves <palves@redhat.com>
3661
3662 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3663 of gdb_test_sequence.
3664
77e760c3
PA
36652015-07-29 Pedro Alves <palves@redhat.com>
3666
3667 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3668 (saw_spurious_output): Expect inferior output from
3669 $inferior_spawn_id. Use gdb_test_stdio.
3670
8396d2cd
PA
36712015-07-29 Pedro Alves <palves@redhat.com>
3672
3673 * gdb.base/dprintf.exp: Use standard_testfile. Change
3674 prepare_for_testing call.
3675 (srcfile): Don't set.
3676 (restart): New procedure.
3677 (test_dprintf): New procecure, use to continue over dprintfs.
3678 (test_call, test_agent): New procedures, tests moved here.
3679 Restart gdb and recreate dprintfs. Adjust expected output.
3680
2051d61f
PA
36812015-07-29 Pedro Alves <palves@redhat.com>
3682
3683 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3684
452397af
PA
36852015-07-29 Pedro Alves <palves@redhat.com>
3686
3687 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3688
8aed9555
PA
36892015-07-29 Pedro Alves <palves@redhat.com>
3690
3691 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3692 gdb_test_stdio.
3693
188a61b4
PA
36942015-07-29 Pedro Alves <palves@redhat.com>
3695
3696 * lib/gdb.exp (gdb_test_stdio): New procedure.
3697
12264a45
PA
36982015-07-29 Pedro Alves <palves@redhat.com>
3699
3700 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3701
23ffc893
PA
37022015-07-29 Pedro Alves <palves@redhat.com>
3703
3704 * gdb.base/call-signal-resume.exp: Remove check for
3705 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3706 * gdb.base/unwindonsignal.exp: Likewise.
3707 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3708 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3709
65566918
PA
37102015-07-29 Pedro Alves <palves@redhat.com>
3711
3712 * gdb.base/siginfo-addr.c (pass): New function.
3713 (handler): Call it iff si_addr is correct.
3714 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3715 Set a breakpoint at "pass" and continue to it.
3716
d60a9221
SDJ
37172015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3718
3719 * gdb.python/py-objfile.exp: Make some tests have unique names.
3720 * gdb.python/py-pp-registration.exp: Likewise.
3721
bde40b8f
PA
37222015-07-28 Pedro Alves <palves@redhat.com>
3723
3724 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3725
13e1dec8
SM
37262015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3727
3728 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3729
da33c9a7
SM
37302015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3731
3732 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3733
077836f7
PP
37342015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3735
3736 * gdb.base/gdb-sigterm-2.exp: New test.
3737
b8cc7b2e
DE
37382015-07-25 Doug Evans <xdje42@gmail.com>
3739
3740 Revert:
3741 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3742 (workers/%.worker, build-perf): New rule.
3743 (GDB_PERFTEST_MODE): New variable.
3744 (check-perf): Use it.
3745 (clean): Clean up gdb.perf parallel build subdirs.
3746 * lib/build-piece.exp: New file.
3747 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3748 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3749 name.
3750 (standard_temp_file): Ditto.
3751 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3752 of $GDB_PARALLEL.
3753
c8bd4544
DE
37542015-07-24 Doug Evans <dje@google.com>
3755
3756 * gdb.perf/lib/perftest/utils.py: New file.
3757 * gdb.perf/gm-hello.cc: New file.
3758 * gdb.perf/gm-pervasive-typedef.cc: New file.
3759 * gdb.perf/gm-pervasive-typedef.h: New file.
3760 * gdb.perf/gm-std.cc: New file.
3761 * gdb.perf/gm-std.h: New file.
3762 * gdb.perf/gm-use-cerr.cc: New file.
3763 * gdb.perf/gm-utils.h: New file.
3764 * gdb.perf/gmonster-null-lookup.py: New file.
3765 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3766 * gdb.perf/gmonster-print-cerr.py: New file.
3767 * gdb.perf/gmonster-ptype-string.py: New file.
3768 * gdb.perf/gmonster-runto-main.py: New file.
3769 * gdb.perf/gmonster-select-file.py: New file.
3770 * gdb.perf/gmonster1-null-lookup.exp: New file.
3771 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3772 * gdb.perf/gmonster1-print-cerr.exp: New file.
3773 * gdb.perf/gmonster1-ptype-string.exp: New file.
3774 * gdb.perf/gmonster1-runto-main.exp: New file.
3775 * gdb.perf/gmonster1-select-file.exp: New file.
3776 * gdb.perf/gmonster1.cc: New file.
3777 * gdb.perf/gmonster1.exp: New file.
3778 * gdb.perf/gmonster2-null-lookup.exp: New file.
3779 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3780 * gdb.perf/gmonster2-print-cerr.exp: New file.
3781 * gdb.perf/gmonster2-ptype-string.exp: New file.
3782 * gdb.perf/gmonster2-runto-main.exp: New file.
3783 * gdb.perf/gmonster2-select-file.exp: New file.
3784 * gdb.perf/gmonster2.cc: New file.
3785 * gdb.perf/gmonster2.exp: New file.
3786
6eab34f3
DE
37872015-07-24 Doug Evans <dje@google.com>
3788
3789 * gdb.perf/README: New file.
3790 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3791 * lib/gen-perf-test.exp: New file.
3792
63738bfd
DE
37932015-07-24 Doug Evans <dje@google.com>
3794
3795 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3796 (PerfTest::startup): New function.
3797 (PerfTest::run): Return result of calling body.
3798 (PerfTest::assemble): Rewrite.
3799 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3800 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3801 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3802 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3803 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3804
7b606f95
DE
38052015-07-24 Doug Evans <dje@google.com>
3806
3807 * lib/gdb.exp (clean_restart): Make executable optional.
3808
a97b16b8
DE
38092015-07-24 Doug Evans <dje@google.com>
3810
3811 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3812 compiler_info references.
3813 * gdb.cp/temargs.exp: Ditto.
3814 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3815 (get_compiler_info): Early exit if already computed. Set compiler_info
3816 to "unknown" if there was a problem.
3817 (test_compiler_info): Add function comment. Call get_compiler_info.
3818
35baa57f
DE
38192015-07-24 Doug Evans <dje@google.com>
3820
3821 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3822 (workers/%.worker, build-perf): New rule.
3823 (GDB_PERFTEST_MODE): New variable.
3824 (check-perf): Use it.
3825 (clean): Clean up gdb.perf parallel build subdirs.
3826 * lib/build-piece.exp: New file.
3827 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3828 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3829 name.
3830 (standard_temp_file): Ditto.
3831 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3832 of $GDB_PARALLEL.
3833
6ebea266
DE
38342015-07-24 Doug Evans <dje@google.com>
3835
3836 * lib/future.exp (gdb_default_target_compile): New option
3837 "early_flags".
3838 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3839 --as-needed.
3840
1e76a7e9
SDJ
38412015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3842
3843 * gdb.base/catch-syscall.exp: Call gdb_exit before
3844 gdb_skip_xml_test.
3845
5068630a
PA
38462015-07-24 Pedro Alves <palves@redhat.com>
3847
3848 * gdb.python/py-events.exp: Accept output between the stop event
3849 and the prompt.
3850 * gdb.python/py-evsignal.exp: Likewise.
3851 * gdb.python/py-evthreads.exp: Likewise.
3852
77598427
PA
38532015-07-24 Pedro Alves <palves@redhat.com>
3854
3855 PR gdb/18717
3856 * gdb.threads/non-ldr-exit.c: New file.
3857 * gdb.threads/non-ldr-exit.exp: New file.
3858
11e6c98f
YQ
38592015-07-24 Yao Qi <yao.qi@linaro.org>
3860
3861 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3862 restarting process.
3863
51aee833
YQ
38642015-07-24 Yao Qi <yao.qi@linaro.org>
3865
3866 * gdb.server/ext-restart.exp: New file.
3867
8cfe207c
YQ
38682015-07-24 Yao Qi <yao.qi@linaro.org>
3869
3870 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3871 argument options.
3872 * gdb.server/ext-wrapper.exp: New file.
3873
cc12ce38
DE
38742015-07-23 Doug Evans <dje@google.com>
3875
3876 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3877 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3878
d0d84780
PMR
38792015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3880
3881 * gdb.ada/var_arr_typedef.exp: New testcase.
3882 * gdb.ada/var_arr_typedef/pack.adb: New file.
3883 * gdb.ada/var_arr_typedef/pack.ads: New file.
3884 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3885
8b558f79
JB
38862015-07-20 Joel Brobecker <brobecker@adacore.com>
3887
3888 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3889
775a3298
JK
38902015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3891
3892 * gdb.arch/i386-biarch-core.exp: Replace istarget
3893 by "complete set gnutarget". Remove expectation for the "core-file"
3894 command.
3895
db1ff28b
JK
38962015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3897
3898 Revert the previous commit:
3899 Tests for validate symbol file using build-id.
3900
0a94970d
JK
39012015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3902
3903 Tests for validate symbol file using build-id.
3904 * gdb.base/solib-mismatch-lib.c: New file.
3905 * gdb.base/solib-mismatch-libmod.c: New file.
3906 * gdb.base/solib-mismatch.c: New file.
3907 * gdb.base/solib-mismatch.exp: New file.
3908
03346981
SL
39092015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3910
3911 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3912 nios2-*-linux*.
3913 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3914 * gdb.base/siginfo.exp: Likewise.
3915 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3916
42422cc7
PL
39172015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3918
3919 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3920 Move it to ...
3921 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3922 ... here.
3923 * gdb.trace/range-stepping.exp: Check that the target supports
3924 range stepping.
3925
cfa68bae
JK
39262015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3927
3928 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3929
8ffdba26
PA
39302015-07-14 Pedro Alves <palves@redhat.com>
3931
3932 * gdb.base/killed-outside.exp: New file.
3933 * gdb.base/killed-outside.c: New file.
3934
218a5a11
JK
39352015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3936
3937 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3938 (n at main): New.
3939 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3940
e03ed3c6
AA
39412015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3942
3943 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3944 infcall tests instead of setting up for KFAIL.
3945
485668e5
MM
39462015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3947
3948 * gdb.btrace/record_goto-step.exp: New.
3949
08464196
JK
39502015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3951
3952 PR compile/18484
3953 * gdb.compile/compile.c (struct struct_type): Add volatile to
3954 selffield's type.
3955 * gdb.compile/compile.exp
3956 (compile code struct_object.selffield = &struct_object): Skip further
3957 struct_object tests if this one xfails.
3958
bcf5c1d9
RC
39592015-07-08 Robert O'Callahan <robert@ocallahan.org>
3960
3961 PR exp/18617
3962 * gdb.trace/ax.exp: Add test.
3963
4931af25
YQ
39642015-07-07 Yao Qi <yao.qi@linaro.org>
3965
3966 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3967 instead of istarget "aarch64*-*-*".
3968 * gdb.arch/aarch64-fp.exp: Likewise.
3969 * gdb.base/float.exp: Likewise.
3970 * gdb.reverse/aarch64.exp: Likewise.
3971 * lib/gdb.exp (is_aarch64_target): New proc.
3972
9fcf688e
YQ
39732015-07-07 Yao Qi <yao.qi@linaro.org>
3974
3975 * lib/gdb.exp (is_aarch32_target): New proc.
3976 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3977 instead of "istarget "arm*-*-*"".
3978 * gdb.arch/arm-disp-step.exp: Likewise.
3979 * gdb.arch/thumb-bx-pc.exp: Likewise.
3980 * gdb.arch/thumb-prologue.exp: Likewise.
3981 * gdb.arch/thumb-singlestep.exp: Likewise.
3982 * gdb.base/disp-step-syscall.exp: Likewise.
3983 * gdb.base/float.exp: Likewise.
3984
fbd8d50d
YQ
39852015-07-07 Yao Qi <yao.qi@linaro.org>
3986
3987 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3988 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3989
71be1fdc
YQ
39902015-07-07 Yao Qi <yao.qi@linaro.org>
3991
3992 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3993 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3994 if it exists.
3995 * gdb.multi/multi-arch.exp: Likewise.
3996
3e221d36
SM
39972015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3998
3999 * gdb.python/py-lazy-string.exp: Add missing parentheses to
4000 print.
4001
d441430b
YQ
40022015-07-07 Yao Qi <yao.qi@linaro.org>
4003
4004 * gdb.arch/thumb-singlestep.exp: Do one more single step.
4005
06f810bd
MG
40062015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
4007
4008 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
4009 '[' and ']' characters.
4010
5e61e7c0
IB
40112015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
4012
4013 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4014
28bf096c
PA
40152015-06-29 Pedro Alves <palves@redhat.com>
4016
4017 PR threads/18127
4018 * gdb.threads/hand-call-new-thread.c: New file.
4019 * gdb.threads/hand-call-new-thread.c: New file.
4020
ee93cd5e
KS
40212015-06-26 Keith Seitz <keiths@redhat.com>
4022 Doug Evans <dje@google.com>
4023
4024 PR 16253
4025 * gdb.cp/var-tag-2.cc: New file.
4026 * gdb.cp/var-tag-3.cc: New file.
4027 * gdb.cp/var-tag-4.cc: New file.
4028 * gdb.cp/var-tag.cc: New file.
4029 * gdb.cp/var-tag.exp: New file.
4030
fc637f04
PP
40312015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4032
4033 * gdb.base/history-duplicates.exp: New test.
4034
2e52ae68
PP
40352015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4036
4037 * gdb.base/completion.exp: Test the completion of the "focus"
4038 command.
4039
6e22494e
JK
40402015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4041
4042 * gdb.arch/amd64-prologue-skip.S: New file.
4043 * gdb.arch/amd64-prologue-skip.exp: New file.
4044
bf7b9cd9
SM
40452015-06-25 Simon Marchi <simon.marchi@ericsson.com>
4046
4047 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
4048 is_address_zero_readable check.
4049
201e8dfd
PB
40502015-06-24 Peter Bergner <bergner@vnet.ibm.com>
4051
4052 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
4053 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
4054
5cd867b4
YQ
40552015-06-24 Yao Qi <yao.qi@linaro.org>
4056
4057 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
4058 linux targets.
4059
4d7be007
YQ
40602015-06-24 Yao Qi <yao.qi@linaro.org>
4061
4062 * lib/gdb.exp (supports_get_siginfo_type): New proc.
4063 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
4064 * gdb.base/siginfo-thread.exp: Likewise.
4065
07fcd301
YQ
40662015-06-22 Yao Qi <yao.qi@linaro.org>
4067
4068 * boards/remote-gdbserver-on-localhost.exp: Add comments.
4069
52042a00
YQ
40702015-06-22 Yao Qi <yao.qi@linaro.org>
4071
4072 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
4073 aarch64*-*-*.
4074 (skip_hw_watchpoint_tests): Likewise.
4075
74bd41ce
PP
40762015-06-18 Patrick Palka <patrick@parcs.ath.cx>
4077
4078 * gdb.base/gdbinit-history.exp: Test the interaction between
4079 setting GDBHISTSIZE and setting the history size via .gdbinit.
4080
bc460514
PP
40812015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4082
4083 PR gdb/16999
4084 * gdb.base/gdbhistsize-history.exp: New test.
4085
b58c513b
PP
40862015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4087
4088 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
4089 with GDBHISTSIZE.
4090 * gdb.base/readline.exp: Likewise.
4091
92046791
YQ
40922015-06-17 Yao Qi <yao.qi@linaro.org>
4093
4094 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
4095 line.
4096
2093d2d3
PP
40972015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4098
4099 * gdb.base/gdbinit-history.exp: Add test case to check that
4100 an unlimited history file does not get truncated on exit.
4101
e6c693af
AA
41022015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4103
4104 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
4105 (VECTOR): New macro. Use it...
4106 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
4107 ...for these typedefs.
4108 (int8, char1, int1, double1): New typedefs.
4109 (struct just_int2, struct two_int2): New structures.
4110 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
4111 (add_structvecs, add_singlevecs): New functions.
4112 (main): Call add_some_intvecs twice.
4113 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
4114 the compile and exit upon failure. Try compiling for the "native"
4115 architecture. Test inferior function calls with vector arguments
4116 and vector return value handling with "finish" and "return".
4117
c74f7d1c
JT
41182015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
4119
4120 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
4121 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
4122 PE file.
4123 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
4124
98aa42ee
AT
41252015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
4126
4127 PR breakpoints/16465
4128 * gdb.mi/mi-dprintf-pending.c: New file.
4129 * gdb.mi/mi-dprintf-pending.exp: New test.
4130 * gdb.mi/mi-dprintf-pendshr.c: New file.
4131
7d73c23c 41322015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 4133 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
4134
4135 * gdb.arch/i386-mpx-map.c: New file.
4136 * gdb.arch/i386-mpx-map.exp: New File.
4137
41382015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4139
4140 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
4141 * gdb.arch/i386-mpx.exp: Indentation fixed.
4142
41432015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4144
4145 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
4146 function and improved indentation.
4147 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
4148 gdb_test_multiple. Added additional tests to skip the test.
4149
41502015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4151
4152 * gdb.arch/i386-avx512.c: Change path in include file.
4153 * gdb.arch/i386-avx512.exp: Change include dir path
4154 compilation flag.
4155 * gdb.arch/i386-mpx.c: Change path in include file.
4156 * gdb.arch/i386-mpx.exp: Change include dir path compilation
4157 flag.
4158
d5eba19a
JK
41592015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4160
4161 * gdb.compile/compile-print.exp (compile print *vararray@3)
4162 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
4163
7f361056
JK
41642015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4165
4166 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
4167 (do not keep jit in memory): ... this.
4168 (expect 5): Change it to ...
4169 (expect no 5): ... this.
4170
3b462ec2
SM
41712015-06-02 Simon Marchi <simon.marchi@ericsson.com>
4172
4173 PR gdb/15564
4174 * gdb.mi/mi-detach.exp: New file.
4175
e0619de6
JK
41762015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4177
4178 PR symtab/18392
4179 * gdb.arch/amd64-tailcall-self.S: New file.
4180 * gdb.arch/amd64-tailcall-self.c: New file.
4181 * gdb.arch/amd64-tailcall-self.exp: New file.
4182
e970cb34
DB
41832015-05-28 Don Breazeal <donb@codesourcery.com>
4184
4185 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
4186 tests for remote targets by checking is_target_gdbserver.
4187
b2e2f908
DE
41882015-05-27 Doug Evans <dje@google.com>
4189
4190 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
4191 * gdb.dwarf2/opaque-type-lookup.c: New file.
4192 * gdb.dwarf2/opaque-type-lookup.exp: New file.
4193
82c7be31
DE
41942015-05-26 Doug Evans <dje@google.com>
4195
4196 * gdb.cp/iostream.cc: New file.
4197 * gdb.cp/iostream.exp: New file.
4198
b4f54984
DE
41992015-05-26 Doug Evans <dje@google.com>
4200
4201 * gdb.dwarf2/dw2-op-call.exp: Update.
4202 * gdb.dwarf2/dw4-sig-types.exp: Update.
4203 * gdb.dwarf2/implptr.exp: Update.
4204 * gdb.mi/mi-cmd-param-changed.exp: Update.
4205
4ea6efe9
DE
42062015-05-26 Doug Evans <dje@google.com>
4207
4208 * gdb.python/py-lazy-string.c: New file.
4209 * gdb.python/py-lazy-string.exp: New file.
4210 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
4211 (main): Update. Add estring3.
4212 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
4213 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
4214
f6bb7db3
YQ
42152015-05-26 Omair Javaid <omair.javaid@linaro.org>
4216 Yao Qi <yao.qi@linaro.org>
4217
4218 * gdb.reverse/aarch64.c: New.
4219 * gdb.reverse/aarch64.exp: New.
4220
a81bfbd0
OJ
42212015-05-26 Omair Javaid <omair.javaid@linaro.org>
4222
25d49b86
PA
4223 * lib/gdb.exp (supports_process_record): Return true for
4224 aarch64*-linux*.
a81bfbd0
OJ
4225 (supports_reverse): Likewise.
4226
158bf1b4
PP
42272015-05-22 Patrick Palka <patrick@parcs.ath.cx>
4228
4229 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4230 Use with_test_prefix.
4231
a0145030
AB
42322015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
4233
4234 * gdb.base/completion.exp: Add test for completion of layout
4235 names.
4236
ebe3b578
AB
42372015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
4238
4239 * lib/gdb.exp (skip_tui_tests): New proc.
4240 * gdb.base/tui-layout.exp: Check skip_tui_tests.
4241
84204ed7
PA
42422015-05-19 Pedro Alves <palves@redhat.com>
4243
4244 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4245 Save the whole env array instead of just HOME. Unset HISTSIZE in
4246 the environment while testing. Restore whole environment
4247 afterwards.
4248
37442ce1
DE
42492015-05-16 Doug Evans <xdje42@gmail.com>
4250
4251 * gdb.guile/scm-ports.c: New file.
4252 * gdb.guile/scm-ports.exp: Add memory port tests.
4253
36de76f9
JK
42542015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4255
4256 * gdb.compile/compile-print.c: New file.
4257 * gdb.compile/compile-print.exp: New file.
4258
3a9558c4
JK
42592015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4260
4261 * gdb.compile/compile-ops.exp: Cast param to void.
4262 * gdb.compile/compile.exp: Complete type for _gdb_expr.
4263 (compile code struct_object.selffield = &struct_object): Add xfail.
4264
aa715135
JG
42652015-05-15 Joel Brobecker <brobecker@adacore.com>
4266
4267 * gdb.ada/arr_enum_with_gap: New testcase.
4268
931e5bc3
JG
42692015-05-15 Joel Brobecker <brobecker@adacore.com>
4270
4271 * gdb.ada/byte_packed_arr: New testcase.
4272
9cd4d857
JB
42732015-05-15 Joel Brobecker <brobecker@adacore.com>
4274
4275 * gdb.ada/pckd_neg: New testcase.
4276
ebfd00d2
PP
42772015-05-13 Patrick Palka <patrick@parcs.ath.cx>
4278
4279 PR gdb/17820
4280 * gdb.base/gdbinit-history.exp: New test.
4281 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
4282 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
4283
4c082a81
SC
42842015-05-09 Siva Chandra Reddy <sivachandra@google.com>
4285
4286 * gdb.python/py-xmethods.cc: Enhance test case.
4287 * gdb.python/py-xmethods.exp: New tests.
4288 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
4289 function.
4290 (B_indexoper): Likewise.
4291 (global_dm_list) : Add new xmethod worker functions.
4292
f7797074
SDJ
42932015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
4294
4295 * gdb.base/coredump-filter.exp: Correctly unset
4296 "coredump_var_addr" array.
4297
a4674e4e
PA
42982015-05-08 Pedro Alves <palves@redhat.com>
4299
4300 * gdb.server/non-existing-program.exp: Unset spawn_id.
4301
df2eb078
SC
43022015-05-08 Siva Chandra Reddy <sivachandra@google.com>
4303
4304 PR python/18291
4305 * gdb.python/py-xmethods.exp: Add tests.
4306
422349a3
YQ
43072015-05-08 Yao Qi <yao.qi@linaro.org>
4308
4309 PR gdb/18208
4310 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
4311 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
4312 function set_coredump_filter, and remove remote_exec call.
4313 Remove argument ipid. Callers update.
4314 (top level): Don't get inferior's PID.
4315
63fc80ce
AA
43162015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4317
4318 * gdb.base/watch_thread_num.exp: Skip test on targets without
4319 access watchpoints.
4320
80ad801e
PA
43212015-05-06 Pedro Alves <palves@redhat.com>
4322
4323 PR server/18081
4324 * gdb.server/non-existing-program.exp: New file.
4325
0fa7fe50
JB
43262015-05-05 Joel Brobecker <brobecker@adacore.com>
4327
4328 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4329
3ea89b92
PMR
43302015-05-05 Joel Brobecker <brobecker@adacore.com>
4331
4332 * gdb.ada/out_of_line_in_inlined: New testcase.
4333
87b8eff0
JB
43342015-05-05 Joel Brobecker <brobecker@adacore.com>
4335
4336 * gdb.ada/var_rec_arr: New testcase.
4337
5fccc635
YQ
43382015-04-30 Yao Qi <yao.qi@linaro.org>
4339
4340 * gdb.base/break-idempotent.exp: If
4341 skip_hw_watchpoint_multi_tests returns true, skip the tests
4342 on "rwatch" and "awatch".
4343
42d38f42
YQ
43442015-04-30 Yao Qi <yao.qi@linaro.org>
4345
4346 * gdb.base/relativedebug.exp: Invoke gdb command
4347 "info sharedlibrary", and if libc.so doesn't have debug info,
4348 skip the test.
4349
2ce1cdbf
DE
43502015-04-29 Doug Evans <dje@google.com>
4351
4352 * gdb.python/py-xmethods.exp: Add ptype tests.
4353 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4354 get_result_type method.
4355
f24a38c5
LM
43562015-04-29 Luis Machado <lgustavo@codesourcery.com>
4357
4358 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4359 the target does not support hardware watchpoints.
4360
ecbf2b3c
LM
43612015-04-29 Luis Machado <lgustavo@codesourcery.com>
4362
4363 * gdb.base/break-always.exp: Abort testing if writing to memory
4364 causes an error.
4365
34f5f757
DE
43662015-04-28 Doug Evans <dje@google.com>
4367
4368 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4369 * gdb.python/py-pp-registration.exp: ... here. New file.
4370 * gdb.python/py-pp-registration.c: New file.
4371 * gdb.python/py-pp-registration.py: New file.
4372
69b4374a
DE
43732015-04-28 Doug Evans <dje@google.com>
4374
4375 * gdb.python/py-bad-printers.c: New file.
4376 * gdb.python/py-bad-printers.py: New file.
4377 * gdb.python/py-bad-printers.exp: New file.
4378
59fb7612
SS
43792015-04-28 Sasha Smundak <asmundak@google.com>
4380
4381 * gdb.python/py-type.exp: New test.
4382
2631b16a
AW
43832015-04-28 Andy Wingo <wingo@igalia.com>
4384
4385 * gdb.python/py-parameter.exp:
4386 * gdb.guile/scm-parameter.exp: Escape the path that we are
4387 matching against, as it might contain characters that are special
4388 to regular expressions.
4389
460efde1
JB
43902015-04-27 Joel Brobecker <brobecker@adacore.com>
4391
4392 * gdb.ada/rec_comp: New testcase.
4393
2d369d8e
SDJ
43942015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4395
4396 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4397 before using it.
4398
cf75d6c3
AB
43992015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4400
4401 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4402 new tests for verilog output.
4403
8dbe7ca5
YQ
44042015-04-24 Yao Qi <yao.qi@linaro.org>
4405
4406 * boards/remote-gdbserver-on-localhost.exp: New file.
4407
4ef9fb2f
PA
44082015-04-23 Pedro Alves <palves@redhat.com>
4409
4410 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4411 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4412 "end of file", remove $inferior_spawn_id from the indirect list.
4413
0a803169
PA
44142015-04-23 Pedro Alves <palves@redhat.com>
4415
4416 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4417
749ef8f8
PA
44182015-04-23 Pedro Alves <palves@redhat.com>
4419
4420 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4421 on $any_spawn_id instead of only on $gdb_spawn_id.
4422
8aae4344
PM
44232015-04-21 Pierre Muller <muller@sourceware.org>
4424
4425 PR pascal/17815
4426 * lib/pascal.exp (gpc_compile): Add new option "class".
4427 (fpc_compile): Likewise.
4428 * gdb.pascal/case-insensitive-symbols.pas: New file.
4429 * gdb.pascal/case-insensitive-symbols.exp: New file.
4430
1586c8fb
GB
44312015-04-20 Gary Benson <gbenson@redhat.com>
4432
4433 * gdb.base/attach.exp: Fix three extended remote failures.
4434
1b6e6f5c
GB
44352015-04-17 Gary Benson <gbenson@redhat.com>
4436
4437 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4438 the main executable over the remote protocol.
4439
e797481d
PA
44402015-04-16 Pedro Alves <palves@redhat.com>
4441
4442 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4443 a new gdbserver if gdbserver_reconnect_p is set.
4444
1ca99c42
PA
44452015-04-16 Pedro Alves <palves@redhat.com>
4446
4447 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4448 is set, don't exit gdbserver.
4449
af9fd6f8
AA
44502015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4451
4452 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4453 appropriate .insn, such that an older assembler can be used.
4454 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4455 the z/Architecture instruction set on 31-bit targets as well.
4456
04ff1e61
AA
44572015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4458
4459 * gdb.go/handcall.exp: Remove all logic related to the first
4460 breakpoint and rely on go_runto_main instead.
4461 * gdb.go/strings.exp: Likewise.
4462 * gdb.go/unsafe.exp: Likewise.
4463 * gdb.go/hello.exp: Likewise. Also rename the remaining
4464 breakpoint marker to "breakpoint 1".
4465 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4466 * gdb.go/strings.go: Likewise.
4467 * gdb.go/unsafe.go: Likewise.
4468 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4469 "set breakpoint 2 here" and rename the remaining breakpoint marker
4470 to "breakpoint 1".
4471
40d2f8d6
SM
44722015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4473
4474 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4475 if itertools.imap is not present.
4476 * gdb.python/py-objfile.exp: Add parentheses.
4477 * gdb.python/py-type.exp: Same.
4478 * gdb.python/py-unwind-maint.py: Same.
4479
8cbc97c6
YQ
44802015-04-15 Yao Qi <yao.qi@linaro.org>
4481
4482 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4483 of ":$ptr_size" and set its form explicitly.
4484
45fd756c
YQ
44852015-04-15 Pedro Alves <palves@redhat.com>
4486 Yao Qi <yao.qi@linaro.org>
4487
4488 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4489 timeout by factor of 4.
4490 (test_regular_watch): Likewise.
4491 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4492 * gdb.reverse/sigall-reverse.exp: Likewise.
4493 * gdb.reverse/until-precsave.exp: Likewise.
4494 * lib/gdb.exp (with_timeout_factor): New proc.
4495 (gdb_expect): Move some code to ...
4496 (get_largest_timeout): ... here. New procedure.
4497
9e811bc3
LM
44982015-04-14 Luis Machado <lgustavo@codesourcery.com>
4499
4500 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4501
0ff6fcb2
LM
45022015-04-13 Luis Machado <lgustavo@codesourcery.com>
4503
4504 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4505 to write to the .text section.
4506
7578d5f7
LM
45072015-04-13 Luis Machado <lgustavo@codesourcery.com>
4508
4509 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4510 Handle the case of targets that do not provide PID information.
4511
2efe15c4
YQ
45122015-04-13 Yao Qi <yao.qi@linaro.org>
4513
4514 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4515 and use expect instead of gdb_expect.
4516
8cd8f2f8
SDJ
45172015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4518
4519 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4520 "coredump_var_addr" to avoid naming conflict with other testcases.
4521
9ee41772
PA
45222015-04-10 Pedro Alves <palves@redhat.com>
4523
4524 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4525 gdb_test_sequence and gdb_assert.
4526
07473109
PA
45272015-04-10 Pedro Alves <palves@redhat.com>
4528
4529 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4530 test messages that don't include the breakpoint address.
4531
de3db44c
YQ
45322015-04-10 Yao Qi <yao.qi@linaro.org>
4533
4534 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4535 false for some offset and width combinations which aren't
4536 supported by linux kernel.
4537
c79d856c
PA
45382015-04-10 Pedro Alves <palves@redhat.com>
4539
4540 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4541 procedure, factored out from ...
4542 (top level): ... here. Add "set displaced-stepping" testing axis.
4543 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4544 parameter "displaced". Use it.
4545 (top level): Use foreach and add "set displaced-stepping" testing
4546 axis.
4547
ebc90b50
PA
45482015-04-10 Pedro Alves <palves@redhat.com>
4549
4550 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4551 Remove comment.
4552 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4553 both the address of the instruction that triggers the watchpoint
4554 and the address of the instruction immediately after, and use
4555 those addresses for the test. Fix comment.
4556
8f572e5c
PA
45572015-04-10 Pedro Alves <palves@redhat.com>
4558
4559 * gdb.base/sigstep.exp (breakpoint_to_handler)
4560 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4561 Test "backtrace" in handler.
4562 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4563 (top level): Add new "displaced" test axis to
4564 breakpoint_to_handler, breakpoint_to_handler_entry and
4565 breakpoint_over_handler.
4566
8d707a12
PA
45672015-04-10 Pedro Alves <palves@redhat.com>
4568
4569 PR gdb/18216
4570 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4571
ef713951
YQ
45722015-04-10 Yao Qi <yao.qi@linaro.org>
4573
4574 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4575 (test_add_rn_pc): New function.
4576 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4577 (top level): Invoke test_add_rn_pc.
4578
906d60cf
PA
45792015-04-10 Pedro Alves <palves@redhat.com>
4580
4581 PR gdb/13858
4582 * gdb.base/step-over-no-symbols.exp: New file.
4583
f2983cc3
AW
45842015-04-09 Andy Wingo <wingo@igalia.com>
4585
4586 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4587 after the Python tests.
4588
6d62641c
SDJ
45892015-04-08 Keith Seitz <keiths@redhat.com>
4590
4591 PR python/16699
4592 * gdb.python/py-completion.exp: New tests for completion.
4593 * gdb.python/py-completion.py (CompleteLimit1): New class.
4594 (CompleteLimit2): Likewise.
4595 (CompleteLimit3): Likewise.
4596 (CompleteLimit4): Likewise.
4597 (CompleteLimit5): Likewise.
4598 (CompleteLimit6): Likewise.
4599 (CompleteLimit7): Likewise.
4600
f3770638
PA
46012015-04-08 Pedro Alves <palves@redhat.com>
4602
4603 PR gdb/18214
4604 PR gdb/18216
4605 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4606 function.
4607 (main): Install it as SIGUSR1 handler.
4608 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4609 parameter. Always use "setup" as prefix. Toggle "set
4610 displaced-stepping" off/on depending on global. Don't switch to
4611 thread 1 here.
4612 (top level): Add displaced stepping "off/on" test axis. Update
4613 "setup" calls. Wrap each subtest with with_test_prefix. Test
4614 continuing with a queued signal in each thread.
4615
4496bed7
PA
46162015-04-08 Pedro Alves <palves@redhat.com>
4617
4618 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4619 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4620 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4621 Return early if running to main fails.
4622 * gdb.trace/while-stepping.exp: Likewise.
4623
b97fde92
PA
46242015-04-07 Pedro Alves <palves@redhat.com>
4625
4626 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4627 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4628 interact with inferior program.
4629
f71c18e7
PA
46302015-04-07 Pedro Alves <palves@redhat.com>
4631
4632 * lib/gdb.exp (inferior_spawn_id): New global.
4633 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4634 spawn id after processing the user code.
4635 (default_gdb_start): Set inferior_spawn_id.
4636 (send_inferior): New procedure.
4637 * lib/gdbserver-support.exp (gdbserver_start): Set
4638 inferior_spawn_id.
4639 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4640
6423214f
PA
46412015-04-07 Pedro Alves <palves@redhat.com>
4642
4643 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4644 * lib/gdbserver-support.exp (gdbserver_start): Make
4645 $server_spawn_id global.
4646 (gdbserver_start): Don't wait for gdbserver's spawn id with
4647 expect_background.
4648 (close_gdbserver): New procedure.
4649 (gdb_exit): Rename the default version and reimplement.
4650
71c0ee8c
PA
46512015-04-07 Pedro Alves <palves@redhat.com>
4652
72f4393d 4653 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
4654 append the substituted item, not the original item.
4655
203bc29b
PA
46562015-04-07 Pedro Alves <palves@redhat.com>
4657
4658 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4659 gdb_expect.
4660
508a3ddf
PA
46612015-04-07 Pedro Alves <palves@redhat.com>
4662
4663 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4664 output appearing once only.
4665
9f6dbe2b
PA
46662015-04-07 Pedro Alves <palves@redhat.com>
4667
4668 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4669 that doesn't expect anything. Return early if running to main
4670 fails.
4671
337532fa
YQ
46722015-04-07 Yao Qi <yao.qi@linaro.org>
4673
4674 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4675 (child_function): Call alarm.
4676 (main): Move call to alarm into the loop.
4677 * gdb.threads/non-stop-fair-events.exp: Build program with
4678 -DTIMEOUT=$timeout.
4679
01b622d4
DE
46802015-04-06 Doug Evans <xdje42@gmail.com>
4681
4682 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4683 Fix dest parameter to board_info.
4684 (fpc_compile): Ditto.
4685 (gdb_compile_pascal): Rename dest arg to destfile.
4686
961f4160
PMR
46872015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4688
4689 * gdb.ada/funcall_ref.exp: New file.
4690 * gdb.ada/funcall_ref/foo.adb: New file.
4691
cafda597
YQ
46922015-04-02 Yao Qi <yao.qi@linaro.org>
4693
4694 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4695 is remote.
4696
fed040c6
GB
46972015-04-02 Gary Benson <gbenson@redhat.com>
4698
4699 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4700
d11916aa
SS
47012015-04-01 Sasha Smundak <asmundak@google.com>
4702
4703 * gdb.python/py-unwind-maint.c: New file.
4704 * gdb.python/py-unwind-maint.exp: New test.
4705 * gdb.python/py-unwind-maint.py: New file.
4706 * gdb.python/py-unwind.c: New file.
4707 * gdb.python/py-unwind.exp: New test.
4708 * gdb.python/py-unwind.py: New test.
4709
a1471180
PA
47102015-04-01 Pedro Alves <palves@redhat.com>
4711
4712 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4713 to fail instead of non-existent $test.
4714
0bbeccb1
PA
47152015-04-01 Pedro Alves <palves@redhat.com>
4716
4717 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4718 GDBFLAGS if not empty.
4719
3c724c8c
PMR
47202015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4721
4722 * gdb.ada/complete.exp: Remove "multi_line".
4723 * gdb.ada/info_exc.exp: Remove "multi_line".
4724 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4725 * gdb.ada/ptype_field.exp: Remove "multi_line".
4726 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4727 * gdb.ada/tagged.exp: Remove "multi_line".
4728 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4729 [multi_line ...]
4730 * gdb.btrace/delta.exp: Likewise.
4731 * gdb.btrace/exception.exp: Likewise.
4732 * gdb.btrace/function_call_history.exp: Likewise.
4733 * gdb.btrace/instruction_history.exp: Likewise.
4734 * gdb.btrace/nohist.exp: Likewise.
4735 * gdb.btrace/record_goto.exp: Likewise.
4736 * gdb.btrace/segv.exp: Likewise.
4737 * gdb.btrace/stepi.exp: Likewise.
4738 * gdb.btrace/tailcall.exp: Likewise.
4739 * gdb.btrace/unknown_functions.exp: Likewise.
4740 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4741 * lib/gdb.exp: Add the "multi_line" helper.
4742
4eec2deb
PA
47432015-04-01 Pedro Alves <palves@redhat.com>
4744
4745 * gdb.threads/tid-reuse.c: New file.
4746 * gdb.threads/tid-reuse.exp: New file.
4747
df8411da
SDJ
47482015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4749
4750 PR corefiles/16092
4751 * gdb.base/coredump-filter.c: New file.
4752 * gdb.base/coredump-filter.exp: Likewise.
4753
6ef37366
PM
47542015-03-27 Petr Machata <pmachata@redhat.com>
4755
4756 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4757 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4758 (Dwarf::assemble): Initialize them.
4759 (Dwarf::lines): New function.
4760
7ec911b0
JT
47612015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4762
4763 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4764 SYMBOL_PREFIX for x86_64-*-cygwin.
4765
ff908ebf
AW
47662015-03-26 Andy Wingo <wingo@igalia.com>
4767
4768 PR symtab/18148
4769 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4770 const_value but not a location.
4771 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4772 location defined in non-main CUs are visible.
4773
6d5f0679
YQ
47742015-03-26 Yao Qi <yao.qi@linaro.org>
4775
4776 PR testsuite/18139
4777 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4778 Add a line number entry for the same line.
4779 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4780 Add a line number entry for the same line.
4781
2898689b
YQ
47822015-03-26 Yao Qi <yao.qi@linaro.org>
4783
4784 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4785 .int 0.
4786 (func): Likewise. Add .Lfunc_1 label.
4787 Use .Lfunc_1 label.
4788 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4789 .int 0.
4790 (func): Likewise.
4791 Use .Lfunc_1 label.
4792
85180498
YQ
47932015-03-26 Yao Qi <yao.qi@linaro.org>
4794
4795 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4796 Call gdb_compile instead to compile each .s files without debug
4797 information.
4798
8aa08a8d
YQ
47992015-03-26 Yao Qi <yao.qi@linaro.org>
4800
4801 * gdb.base/savedregs.exp (process_saved_regs): Make
4802 "Saved registers:" optional in the pattern.
4803
66849923
MM
48042015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4805
4806 * gdb.btrace/next.exp: Merged into step.exp.
4807 * gdb.btrace/finish.exp: Merged into step.exp.
4808 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4809 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4810 "record goto" and checking the exact replay position.
4811 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4812 check for "Recording format" in "info record" output.
4813 * gdb.btrace/record_goto.exp: Choose test file based on target.
4814 * gdb.btrace/x86-record_goto.S: Renamed into ...
4815 * gdb.btrace/x86_64-record_goto.S: ... this.
4816 * gdb.btrace/i686-record_goto.S: New.
4817 * gdb.btrace/x86-tailcall.S: Renamed into ...
4818 * gdb.btrace/x86_64-tailcall.S: ... this.
4819 * gdb.btrace/i686-tailcall.S: New.
4820 * gdb.btrace/x86-tailcall.c: Renamed into ...
4821 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4822 separate statements. Update test.
4823 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4824 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4825 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4826 * gdb.btrace/tailcall.exp: Choose test file based on target.
4827 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4828
11cc1b74
MM
48292015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4830
4831 * gdb.btrace/exception.exp: Increase BTS buffer size.
4832
a25d8bf9
PA
48332015-03-24 Pedro Alves <palves@redhat.com>
4834
4835 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4836
856e7dd6
PA
48372015-03-24 Pedro Alves <palves@redhat.com>
4838
4839 * gdb.threads/schedlock.exp (test_step): No longer expect that
4840 "set scheduler-locking step" with "next" over a function call runs
4841 threads unlocked.
4842
ad235a41
AT
48432015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4844
4845 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4846
15630549
AT
48472015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4848
4849 PR breakpoints/16466
4850 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4851 * gdb.mi/mi-pending.c (thread_func): New function.
4852 (int main): Add threading support required.
4853 * gdb.mi/mi-pending.exp: Add tests for this issue.
4854 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4855 (pendfunc2): Remove stdio dependency.
4856 * gdb.mi/mi-pendshr2.c: New file.
4857
693dca06
KS
48582015-03-23 Keith Seitz <keiths@redhat.com>
4859
4860 * gdb.linespec/keywords.c: New file.
4861 * gdb.linespec/keywords.exp: New file.
4862
7e993ebf
KS
48632015-03-23 Keith Seitz <keiths@redhat.com>
4864
4865 PR gdb/18021
4866 * gdb.dwarf2/staticvirtual.exp: New test.
4867
bc23328c
JK
48682015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4869
4870 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4871 * README: Remove HP-UX and gdb.hp.
4872 (configuration):
4873 * configure: Regenerate.
4874 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4875 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4876 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4877 gdb.hp/gdb.defects/Makefile.
4878 * gdb.hp/Makefile.in: File deleted.
4879 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4880 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4881 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4882 * gdb.hp/gdb.aCC/run.c: File deleted.
4883 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4884 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4885 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4886 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4887 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4888 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4889 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4890 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4891 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4892 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4893 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4894 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4895 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4896 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4897 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4898 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4899 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4900 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4901 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4902 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4903 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4904 * gdb.hp/gdb.compat/average.c: File deleted.
4905 * gdb.hp/gdb.compat/sum.c: File deleted.
4906 * gdb.hp/gdb.compat/xdb.c: File deleted.
4907 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4908 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4909 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4910 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4911 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4912 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4913 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4914 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4915 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4916 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4917 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4918 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4919 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4920 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4921 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4922 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4923 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4924 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4925 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4926 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4927 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4928 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4929 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4930 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4931 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4932 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4933 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4934 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4935 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4936 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4937 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4938 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4939 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4940 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4941 * gdb.hp/tools/odump: File deleted.
4942
8bf3b159
PA
49432015-03-19 Pedro Alves <palves@redhat.com>
4944
4945 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4946 (saw_thread_3): New globals.
4947 (top level): Increment them when an event for the corresponding
4948 thread is seen.
4949 (no thread starvation): New test.
4950
eb54c8bf
PA
49512015-03-19 Pedro Alves <palves@redhat.com>
4952
4953 * gdb.threads/continue-pending-status.c: New file.
4954 * gdb.threads/continue-pending-status.exp: New file.
4955
32d2e5d6
PA
49562015-03-18 Pedro Alves <palves@redhat.com>
4957
4958 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4959 Use gdb_is_target_remote instead of is_remote. Use
4960 gdb_test_multiple instead of gdb_expect. Exit early if
4961 gdb_test_multiple hits its internal matches. Tighten stepi tests
4962 expected output. Fail on exit with any signal, instead of just
4963 SIGILL.
4964
f68f11b7
YQ
49652015-03-18 Yao Qi <yao.qi@linaro.org>
4966
4967 PR tdep/18107
4968 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4969 variable.
4970 * gdb.base/catch-syscall.exp: Don't skip it on
4971 aarch64*-*-linux* target. Remove elements in all_syscalls.
4972 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4973 target.
4974 (setup_all_syscalls): New proc.
4975
ca5fd19b
YQ
49762015-03-16 Yao Qi <yao.qi@linaro.org>
4977
4978 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4979 (top level): Skip tests if valid_addr_p returns false for
4980 $cmd1 or $cmd2.
4981
85642ba0
AW
49822015-03-11 Andy Wingo <wingo@igalia.com>
4983
4984 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4985
e03f9645
YQ
49862015-03-11 Yao Qi <yao.qi@linaro.org>
4987
4988 * gdb.base/catch-syscall.exp: Fix typo in comments.
4989
5d0962b2
YQ
49902015-03-11 Yao Qi <yao.qi@linaro.org>
4991
4992 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4993
b2df3cef
PA
49942015-03-09 Pedro Alves <palves@redhat.com>
4995
4996 * dg-extract-results.py: Delete.
4997
ef878e53
PA
49982015-03-09 Pedro Alves <palves@redhat.com>
4999
5000 Merge dg-extract-results.sh from GCC upstream (r218843).
5001
5002 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
5003 * dg-extract-results.sh: Use --text with grep to avoid issues with
5004 binary files. Fall back to cat -v, if that doesn't work.
5005
9494d219
PA
50062015-03-05 Pedro Alves <palves@redhat.com>
5007
5008 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
5009
a8d9763a
SM
50102015-03-04 Simon Marchi <simon.marchi@ericsson.com>
5011
5012 * lib/mi-support.exp (mi_expect_interrupt): Accept
5013 alternative event for when in all-stop mode.
5014
be9957b8
PA
50152015-03-04 Pedro Alves <palves@redhat.com>
5016
5017 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
5018
d57be0f4 50192015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
5020
5021 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
5022
c214c7cf
AA
50232015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5024
5025 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
5026 regexps for GDB's current line display, accept a hex address
5027 preceding the line number.
5028
6d74a497
AA
50292015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5030
5031 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
5032 the 'arch1' variable for "s390*-linux*" targets.
5033
511aee7c
PA
50342015-03-04 Pedro Alves <palves@redhat.com>
5035
5036 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
5037 (main): Pass missing retval argument to pthread_join call.
5038
95e50b27
PA
50392015-03-02 Pedro Alves <palves@redhat.com>
5040
5041 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
5042 (top level): Call do_test with non-stop as well.
5043
28054d69
PA
50442015-03-02 Pedro Alves <palves@redhat.com>
5045
5046 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
5047 -1.
5048
4fa5d7b4
AA
50492015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5050
5051 * gdb.arch/s390-vregs.exp: New test.
5052 * gdb.arch/s390-vregs.S: New file.
5053
97c18565
PA
50542015-02-27 Pedro Alves <palves@redhat.com>
5055
5056 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
5057 call to catch_command_errors.
5058 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
5059 catch_command_errors.
5060
a37bfa30
PA
50612015-02-27 Pedro Alves <palves@redhat.com>
5062
5063 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
5064 "true" for boolean result.
5065 * gdb.gdb/selftest.exp (test_with_self): Also accept full
5066 prototype of main.
5067
6f98576f
PA
50682015-02-27 Pedro Alves <palves@redhat.com>
5069
5070 * lib/unbuffer_output.c: New file.
5071 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
5072 (main): Call gdb_unbuffer_output.
5073
eba5ab56
YQ
50742015-02-27 Yao Qi <yao.qi@linaro.org>
5075
5076 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
5077 target.
5078
0def5aaa
DE
50792015-02-26 Doug Evans <dje@google.com>
5080
5081 * gdb.cp/class2.cc (Dbase, D): New classes.
5082 (main): New local delta.
5083 * gdb.cp/class2.exp: Test printing delta.
5084 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
5085 (dynbar): New global.
5086 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
5087
081a1c2c
JK
50882015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5089
5090 * gdb.compile/compile-ifunc.c: New file.
5091 * gdb.compile/compile-ifunc.exp: New file.
5092
2f41223f
AT
50932015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
5094
5095 * gdb.base/structs.exp: Check for correct struct on finish.
5096
03eddd80
YQ
50972015-02-26 Yao Qi <yao.qi@linaro.org>
5098
5099 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
5100 is zero.
5101
80c57053
JK
51022015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5103
5104 * gdb.arch/cordic.ko.bz2: New file.
5105 * gdb.arch/cordic.ko.debug.bz2: New file.
5106 * gdb.arch/ppc64-symtab-cordic.exp: New file.
5107
21613c12
YQ
51082015-02-25 Yao Qi <yao.qi@linaro.org>
5109
5110 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
5111 aarch64*-*-* target.
5112
d8b901ed
PA
51132015-02-23 Pedro Alves <palves@redhat.com>
5114
5115 * lib/gdb.exp (delete_breakpoints): Rewrite using
5116 gdb_test_multiple.
5117
e5b85ead
PA
51182015-02-23 Pedro Alves <palves@redhat.com>
5119
5120 * gdb.base/info-os.c: Include stdlib.h.
5121
85c3a371
DE
51222015-02-22 Doug Evans <xdje42@gmail.com>
5123
5124 PR symtab/17855
5125 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
5126 is read after symbols have been re-read.
5127 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
5128 * gdb.ada/exec_changed/second.adb (Second): Ditto.
5129
96553a0c
DE
51302015-02-21 Doug Evans <dje@google.com>
5131
5132 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
5133
97a0c697
JK
51342015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5135
5136 PR corefiles/17808
5137 * gdb.arch/i386-biarch-core.core.bz2: New file.
5138 * gdb.arch/i386-biarch-core.exp: New file.
5139
a47cd6e9
PA
51402015-02-21 Pedro Alves <palves@redhat.com>
5141
5142 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
5143 runto_main fails.
5144
c5facdc4
PA
51452015-02-20 Pedro Alves <palves@redhat.com>
5146
5147 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
5148 info probes.
5149
2db9a427
PA
51502015-02-20 Pedro Alves <palves@redhat.com>
5151
5152 * gdb.threads/multi-create-ns-info-thr.exp: New file.
5153
60fb7e9e
PA
51542015-02-20 Pedro Alves <palves@redhat.com>
5155
5156 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
5157 clean_restart before gdb_target_supports_trace.
5158
5c5019c2
PA
51592015-02-20 Pedro Alves <palves@redhat.com>
5160
5161 PR threads/18006
5162 * gdb.threads/clone-thread_db.c: New file.
5163 * gdb.threads/clone-thread_db.exp: New file.
5164
c9587f88
AT
51652015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
5166
5167 PR breakpoints/16812
5168 * gdb.base/catch-gdb-caused-signals.c: New file.
5169 * gdb.base/catch-gdb-caused-signals.exp: New file.
5170
f6a88844
JM
51712015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
5172
5173 * configure: Regenerated.
5174 * configure.ac: Use GDB_AC_TRANSFORM.
5175 * aclocal.m4: sinclude ../transform.m4.
5176
497c491b
JM
51772015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5178
5179 * lib/dtrace.exp: New file.
5180 * gdb.base/dtrace-probe.exp: Likewise.
5181 * gdb.base/dtrace-probe.d: Likewise.
5182 * gdb.base/dtrace-probe.c: Likewise.
5183 * lib/pdtrace.in: Likewise.
5184 * configure.ac: Output variables with the transformed names of
5185 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
5186 * configure: Regenerated.
5187
03e98035
JM
51882015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5189
5190 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
5191 expected message when trying to access $_probe_* convenience
5192 variables while not on a probe.
5193
63cc30e9
JK
51942015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5195
5196 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
5197
0703599a
PA
51982015-02-11 Pedro Alves <pedro@codesourcery.com>
5199
5200 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
5201 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
5202
7e60a48e
DE
52032015-02-10 Doug Evans <xdje42@gmail.com>
5204
5205 * lib/gdb.exp (gdb_load): Always return a result.
5206
01b088bc
PA
52072015-02-10 Pedro Alves <palves@redhat.com>
5208
5209 * gdb.threads/signal-sigtrap.c: New file.
5210 * gdb.threads/signal-sigtrap.exp: New file.
5211
b05ec7a5
AT
52122015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
5213
5214 * gdb.trace/no-attach-trace.c: New file.
5215 * gdb.trace/no-attach-trace.exp: New file.
5216
a2c2acaf
MW
52172015-02-09 Mark Wielaard <mjw@redhat.com>
5218
5219 * gdb.dwarf2/atomic.c: New file.
5220 * gdb.dwarf2/atomic-type.exp: Likewise.
5221
31fd9caa
MM
52222015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5223
5224 * gdb.btrace/buffer-size.exp: Update "info record" output.
5225 * gdb.btrace/delta.exp: Update "info record" output.
5226 * gdb.btrace/enable.exp: Update "info record" output.
5227 * gdb.btrace/finish.exp: Update "info record" output.
5228 * gdb.btrace/instruction_history.exp: Update "info record" output.
5229 * gdb.btrace/next.exp: Update "info record" output.
5230 * gdb.btrace/nexti.exp: Update "info record" output.
5231 * gdb.btrace/step.exp: Update "info record" output.
5232 * gdb.btrace/stepi.exp: Update "info record" output.
5233 * gdb.btrace/nohist.exp: Update "info record" output.
5234
d33501a5
MM
52352015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5236
5237 * gdb.btrace/buffer-size: New.
5238
f4abbc16
MM
52392015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5240
5241 * gdb.btrace/delta.exp: Update "info record" output.
5242 * gdb.btrace/enable.exp: Update "info record" output.
5243 * gdb.btrace/finish.exp: Update "info record" output.
5244 * gdb.btrace/instruction_history.exp: Update "info record" output.
5245 * gdb.btrace/next.exp: Update "info record" output.
5246 * gdb.btrace/nexti.exp: Update "info record" output.
5247 * gdb.btrace/step.exp: Update "info record" output.
5248 * gdb.btrace/stepi.exp: Update "info record" output.
5249 * gdb.btrace/nohist.exp: Update "info record" output.
5250
b9d61307
SM
52512015-02-06 Simon Marchi <simon.marchi@ericsson.com>
5252
5253 PR gdb/15678
5254 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
5255
e584fdbc
PA
52562015-02-06 Pedro Alves <palves@redhat.com>
5257
5258 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
5259 macro.
5260 (seconds_left, again): New globals.
5261 (main): Wait seconds_left in a 1-second sleep loop instead of
5262 sleeping 180 seconds. If 'again' is set, reset the seconds
5263 counter.
5264 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
5265 'again' in the inferior before detaching. Print the seconds left.
5266 (options): New global.
5267 (top level): Build program with -DTIMEOUT=$timeout.
5268
77f41761
PA
52692015-02-06 Pedro Alves <palves@redhat.com>
5270
5271 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
5272 determine how many seconds to pass to 'alarm'.
5273 * gdb.base/gdb-sigterm.exp (top level): Build program with
5274 -DTIMEOUT=$timeout.
5275 (do_test): Return success/failure indication. Add more verbose
5276 logging. Don't fail if 200 single steps are seen. Instead, fail
5277 when the test times out.
5278 (passes): New global.
5279 (top level): Break the testing loop if testing fails on any
5280 iteration. Use gdb_assert.
5281
b9394193
DB
52822015-02-04 Don Breazeal <donb@codesourcery.com>
5283
5284 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
5285 and initialize them.
5286 (ipc_cleanup): New function.
5287 (main): Don't declare shmid, semid, and msqid. Add a call to
5288 atexit so that we call ipc_cleanup on exit.
5289
42d9e528
PA
52902015-02-04 Pedro Alves <palves@redhat.com>
5291
5292 * boards/native-extended-gdbserver.exp: Remove any target variant
5293 specifications from the board name before clearing the isremote
5294 flag from board_info.
5295
ae6ae975
DE
52962015-01-31 Doug Evans <xdje42@gmail.com>
5297
5298 * gdb.base/maint.exp <maint print type argc>: Update expected output.
5299
cfb069a8
GB
53002015-01-31 Gary Benson <gbenson@redhat.com>
5301
5302 * gdb.base/completion.exp: Disable completion limiting for
5303 existing tests. Add new tests to check completion limiting.
5304 * gdb.linespec/ls-errs.exp: Disable completion limiting.
5305
5dd31d79
DE
53062015-01-31 Doug Evans <xdje42@gmail.com>
5307
5308 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
5309
9f050062
DE
53102015-01-31 Doug Evans <xdje42@gmail.com>
5311
5312 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
5313 entries. Duplicate file section script entries.
5314 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
5315 inlined entries. Add test for safe-path rejection.
5316 * gdb.python/py-section-script.c: Add duplicate inlined section script
5317 entries. Duplicate file section script entries.
5318 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5319 inlined entries. Add test for safe-path rejection.
5320
df25ebbd
JB
53212015-01-29 Joel Brobecker <brobecker@adacore.com>
5322
5323 * gdb.ada/disc_arr_bound: New testcase.
5324
4a0ca9ec
JB
53252015-01-29 Joel Brobecker <brobecker@adacore.com>
5326
5327 * gdb.ada/mi_var_array: New testcase.
5328
3a8b707a
DE
53292015-01-27 Doug Evans <dje@google.com>
5330
5331 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5332 Add test for objfile.filename, objfile.username after objfile
5333 has been unloaded.
5334
f8313f6e
JB
53352015-01-26 Joel Brobecker <brobecker@adacore.com>
5336
5337 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5338 the second test to print the name attribute of value
5339 returned by the call to gdb.lookup_type, and adjust
5340 the expected output accordingly.
5341
37bc665e
MW
53422015-01-25 Mark Wielaard <mjw@redhat.com>
5343
5344 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5345 * gdb.base/disp-step-fork.c: Include unistd.h.
5346 * gdb.base/siginfo-obj.c: Include stdio.h.
5347 * gdb.base/siginfo-thread.c: Likewise.
5348 * gdb.mi/non-stop.c: Include unistd.h.
5349 * gdb.mi/nsthrexec.c: Include stdio.h.
5350 * gdb.mi/pthreads.c: Include unistd.h.
5351 * gdb.modula2/unbounded1.c (main): Declare returns int.
5352 * gdb.reverse/consecutive-reverse.c: Likewise.
5353 * gdb.threads/create-fail.c: Include unistd.h.
5354 * gdb.threads/killed.c: Likewise.
5355 * gdb.threads/linux-dp.c: Likewise.
5356 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5357 * gdb.threads/non-ldr-exc-2.c: Likewise.
5358 * gdb.threads/non-ldr-exc-3.c: Likewise.
5359 * gdb.threads/non-ldr-exc-4.c: Likewise.
5360 * gdb.threads/pthreads.c: Include unistd.h.
5361 (main): Declare returns int.
5362 * gdb.threads/tls-main.c (foo): New declaration.
5363 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5364
f7e5394d
SM
53652015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5366
5367 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5368 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5369
743649fd
MW
53702015-01-15 Mark Wielaard <mjw@redhat.com>
5371
5372 * gdb.base/noreturn-return.c: New file.
5373 * gdb.base/noreturn-return.exp: New file.
5374 * gdb.base/noreturn-finish.c: New file.
5375 * gdb.base/noreturn-finish.exp: New file.
5376
198297aa
PA
53772015-01-23 Pedro Alves <palves@redhat.com>
5378
5379 * gdb.threads/continue-pending-after-query.c: New file.
5380 * gdb.threads/continue-pending-after-query.exp: New file.
5381
717cf30c
AG
53822015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5383 Simon Marchi <simon.marchi@ericsson.com>
5384
5385 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5386 * gdb.base/valgrind-db-attach.exp: Same.
5387 * gdb.base/valgrind-infcall.exp: Same.
5388 * lib/mi-support.exp (default_mi_gdb_start): Same.
5389 * lib/prompt.exp (default_prompt_gdb_start): Same.
5390 * lib/gdb.exp (default_gdb_spawn): Same.
5391 (gdb_interact): New.
5392
5393
4b62a76e
JK
53942015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5395
5396 * gdb.compile/compile.exp (pointer to jit function): New test.
5397
b4cdae6f
WW
53982015-01-17 Wei-cheng Wang <cole945@gmail.com>
5399
5400 * lib/gdb.exp (supports_process_record): Return true for
5401 powerpc*-*-linux*.
5402 (supports_reverse): Likewise.
5403
d221e7ef
DB
54042015-01-15 Don Breazeal <donb@codesourcery.com>
5405
5406 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5407 instead of checking whether the target board is remote and
5408 use spawn_wait_for_attach instead of exec/sleep.
5409 * gdb.base/attach-twice.exp: Likewise.
5410
bafffb51
JB
54112015-01-15 Joel Brobecker <brobecker@adacore.com>
5412
5413 * gdb.ada/var_arr_attrs: New testcase.
5414
5589af0e
PA
54152015-01-14 Pedro Alves <palves@redhat.com>
5416 Joel Brobecker <brobecker@adacore.com>
5417
5418 PR gdb/17525
5419 * gdb.base/bp-cmds-execution-x-script.c: New file.
5420 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5421 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5422
6c400b59
PA
54232015-01-14 Pedro Alves <palves@redhat.com>
5424
5425 PR cli/17828
5426 * gdb.base/batch-preserve-term-settings.c: New file.
5427 * gdb.base/batch-preserve-term-settings.exp: New file.
5428
e02c96a7
DE
54292015-01-13 Doug Evans <dje@google.com>
5430
5431 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5432 binary.
5433
576fd14c
JB
54342015-01-13 Joel Brobecker <brobecker@adacore.com>
5435
5436 * Makefile.in (clean mostlyclean): Do not delete *.py.
5437
04dccad0
JB
54382015-01-13 Joel Brobecker <brobecker@adacore.com>
5439
5440 * gdb.python/py-lookup-type.exp: New file.
5441
3d230f71
PA
54422015-01-12 Pedro Alves <palves@redhat.com>
5443
5444 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5445 restore GDBFLAGS before returning.
5446
7e67715d
JK
54472015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5448
5449 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5450 is_amd64_regs_target and is_x86_like_target.
5451
f2e0d4b4
DE
54522015-01-11 Doug Evans <xdje42@gmail.com>
5453
5454 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5455 is given without an explicit form.
5456 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5457 attributes.
5458 * gdb.dwarf/corrupt.exp: Ditto.
5459 * gdb.dwarf2/enum-type.exp: Ditto.
5460 * gdb.trace/entry-values.exp: Ditto.
5461 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5462
439250fb
DE
54632015-01-11 Doug Evans <xdje42@gmail.com>
5464
5465 PR gdb/15830
5466 * gdb.base/maint.exp: Remove references to "maint demangle".
5467 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5468 Add tests for explicitly specifying language to demangle.
5469 * gdb.dlang/demangle.exp: Ditto.
5470
ede9f622
PA
54712015-01-09 Pedro Alves <palves@redhat.com>
5472
5473 * gdb.threads/non-stop-fair-events.c: New file.
5474 * gdb.threads/non-stop-fair-events.exp: New file.
5475
a7b796db
PA
54762015-01-09 Pedro Alves <palves@redhat.com>
5477
5478 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5479 the global scope. Set a breakpoint after all threads are started
5480 rather than stepping over two source lines. Expect the prompt.
5481 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5482 global.
5483 (NUM): Now 15.
5484 (main): Use threads_started_barrier to wait for all threads to
5485 start. Main thread no longer calls thread_function. Exit after
5486 180 seconds.
5487 (loop): New function.
5488 (thread_function): Wait on threads_started_barrier barrier. Call
5489 'loop' at each iteration.
5490 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5491 threads have started, instead of hardcoding number of "next"
5492 steps. Use an access watchpoint instead of a write watchpoint.
5493
9665ffdd
PA
54942015-01-09 Pedro Alves <palves@redhat.com>
5495
5496 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5497 (thread_func): Wait on barrier.
5498 (main): Wait for all threads to start before stopping GDB.
5499 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5500 global.
5501 (thread1_func, thread2_func): Wait on barrier.
5502 (main): Wait for all threads to start before stopping GDB.
5503 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5504 New global.
5505 (thread1_func, thread2_func): Wait on barrier.
5506 (main): Wait for all threads to start before stopping GDB.
5507
c945a99f
PA
55082015-01-09 Pedro Alves <palves@redhat.com>
5509
5510 * gdb.threads/attach-many-short-lived-threads.c: New file.
5511 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5512
c1a747c1
PA
55132014-01-09 Pedro Alves <palves@redhat.com>
5514
5515 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5516 instead of to thread 2.
5517 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5518 Add barrier around each pthread_create call instead of around all
5519 calls.
5520 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5521 Set a break on thread_function and have the child threads hit it
5522 one at at a time.
5523
60b3033e
PA
55242015-01-09 Pedro Alves <palves@redhat.com>
5525
5526 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5527 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5528 false.
5529 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5530 checking whether the target board is remote.
5531 * gdb.multi/multi-attach.exp: Likewise.
5532 * gdb.python/py-sync-interp.exp: Likewise.
5533 * gdb.server/ext-attach.exp: Likewise.
5534 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5535 tests that need to attach, instead of checking whether the target
5536 board is remote at the top of the file.
5537
acc018ac
YQ
55382015-01-08 Yao Qi <yao@codesourcery.com>
5539
5540 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5541
50a18af8
JK
55422015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5543
5544 Fix testcase compilation.
5545 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5546
8503d6e1
JB
55472015-01-06 Joel Brobecker <brobecker@adacore.com>
5548
5549 * gdb.python/py-type.exp: Add a couple test about empty
5550 array creation, and negative-length array creation.
5551
cc73dbcc
DE
55522015-01-02 Doug Evans <xdje42@gmail.com>
5553
5554 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5555
0300bbc7
DE
55562015-01-02 Doug Evans <dje@google.com>
5557
5558 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5559
9d85a0ec
YQ
55602014-12-29 Yao Qi <yao@codesourcery.com>
5561
5562 * gdb.trace/entry-values.exp: Update comments. Rename variable
5563 bar_call_foo to returned_from_foo.
5564
87186c6a
MMN
55652014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5566
5567 PR gdb/17394
5568 * gdb.linespec/break-asm-file.c: New file.
5569 * gdb.linespec/break-asm-file.exp: New file.
5570 * gdb.linespec/break-asm-file0.s: New file.
5571 * gdb.linespec/break-asm-file1.s: New file.
5572
1bab7383
YQ
55732014-12-18 Nigel Stephens <nigel@mips.com>
5574 Maciej W. Rozycki <macro@codesourcery.com>
5575
5576 * gdb.base/float.exp: Handle the new output from "info float" on
5577 MIPS targets.
5578
1bc1068a
JK
55792014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5580
5581 Fix MinGW compilation.
5582 * gdb.compile/compile-ops.exp: Update untested message if
5583 !skip_compile_feature_tests.
5584 * gdb.compile/compile-setjmp.exp: Likewise.
5585 * gdb.compile/compile-tls.exp: Likewise.
5586 * gdb.compile/compile.exp: Likewise.
5587 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5588 supported on this host".
5589
b6615d10
DE
55902014-12-16 Doug Evans <xdje42@gmail.com>
5591
5592 * boards/stabs.exp: New file.
5593
25dda427
AA
55942014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5595
5596 * gdb.base/completion.exp: Adjust to format changes of "maint
5597 print user-registers".
5598
bf330350
CU
55992014-12-16 Catalin Udma <catalin.udma@freescale.com>
5600
5601 PR server/17457
5602 * gdb.arch/aarch64-fp.c: New file.
5603 * gdb.arch/aarch64-fp.exp: New file.
5604
395cf596
SDJ
56052014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5606
5607 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5608 r210637, r210913, r211666, r215400, r215817).
5609
5610 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5611 * dg-extract-results.py: New file.
5612 * dg-extract-results.sh: Use it if the environment seems
5613 suitable.
5614
5615 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5616
5617 * dg-extract-results.py (parse_run): Handle warnings that
5618 are printed before a test harness is run.
5619
5620 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5621
5622 * dg-extract-results.py (Named): Remove __cmp__ method.
5623 (output_variation): Use a key to sort variation.harnesses.
5624
5625 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5626
5627 * dg-extract-results.py: For Python 3, force sys.stdout to
5628 handle surrogate escape sequences.
5629 (safe_open): New function.
5630 (output_segment, main): Use it.
5631
5632 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5633
5634 * dg-extract-results.py (Prog.result_re): Include options
5635 in test name.
5636
5637 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5638
5639 * dg-extract-results.py (output_variation): Always sort if
5640 do_sum.
5641
e882ef3c
SM
56422014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5643
5644 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5645 as long as we get pagination notifications.
5646
4992aa20
JM
56472014-12-15 Jason Merrill <jason@redhat.com>
5648
5649 * Makefile.in (check-gdb.%): Restore.
5650 * README: Mention it.
5651
c1b5a1a6
JB
56522014-12-13 Joel Brobecker <brobecker@adacore.com>
5653
5654 * gdb.ada/str_uninit: New testcase.
5655
5537b577
JK
56562014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5657
5658 PR symtab/17642
5659 * gdb.base/vla-stub-define.c: New file.
5660 * gdb.base/vla-stub.c: New file.
5661 * gdb.base/vla-stub.exp: New file.
5662
bb2ec1b3
TT
56632014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5664 Jan Kratochvil <jan.kratochvil@redhat.com>
5665 Tom Tromey <tromey@redhat.com>
5666
5667 * configure.ac: Add gdb.compile/.
5668 * configure: Regenerate.
5669 * gdb.compile/Makefile.in: New file.
5670 * gdb.compile/compile-ops.exp: New file.
5671 * gdb.compile/compile-ops.c: New file.
5672 * gdb.compile/compile-tls.c: New file.
5673 * gdb.compile/compile-tls.exp: New file.
5674 * gdb.compile/compile-constvar.S: New file.
5675 * gdb.compile/compile-constvar.c: New file.
5676 * gdb.compile/compile-mod.c: New file.
5677 * gdb.compile/compile-nodebug.c: New file.
5678 * gdb.compile/compile-setjmp-mod.c: New file.
5679 * gdb.compile/compile-setjmp.c: New file.
5680 * gdb.compile/compile-setjmp.exp: New file.
5681 * gdb.compile/compile-shlib.c: New file.
5682 * gdb.compile/compile.c: New file.
5683 * gdb.compile/compile.exp: New file.
5684 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5685
4ff709eb
TT
56862014-12-12 Tom Tromey <tromey@redhat.com>
5687
5688 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5689 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5690
6dddd6a5
DE
56912014-12-12 Doug Evans <dje@google.com>
5692
5693 * lib/gdb-python.exp (get_python_valueof): New function.
5694 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5695
71c24708
AA
56962014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5697
5698 * gdb.base/completion.exp: Add test for completion of "info
5699 registers ".
5700
3e29f34a
MR
57012014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5702
5703 * gdb.base/func-ptrs.c: New file.
5704 * gdb.base/func-ptrs.exp: New file.
5705
fc126975
SM
57062014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5707
5708 PR breakpoints/17012
5709 * gdb.base/dprintf-detach.c: New file.
5710 * gdb.base/dprintf-detach.exp: New file.
5711
0a46d518
SM
57122014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5713
5714 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5715 * lib/gdb.exp (target_is_gdbserver): New procedure.
5716
a0be3e44
DE
57172014-12-08 Doug Evans <dje@google.com>
5718
5719 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5720
df1b803a
YQ
57212014-12-05 Yao Qi <yao@codesourcery.com>
5722
5723 * gdb.guile/scm-error.exp: Remove the third argument to
5724 gdb_remote_download.
5725 * gdb.guile/scm-frame-args.exp: Likewise.
5726 * gdb.guile/scm-section-script.exp: Likewise.
5727
ddb9f679
YQ
57282014-12-05 Yao Qi <yao@codesourcery.com>
5729
5730 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5731
86e4ed39
DE
57322014-12-04 Doug Evans <dje@google.com>
5733
5734 * gdb.python/py-objfile.exp: Add tests for
5735 objfile.add_separate_debug_file.
5736
7c50a931
DE
57372014-12-04 Doug Evans <dje@google.com>
5738
5739 * lib/gdb.exp (get_build_id): New function.
5740 (build_id_debug_filename_get): Rewrite to use it.
5741 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5742
621661e3
MR
57432014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5744
5745 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5746 `method(long)', not just 0x0.
5747 * gdb.cp/nsalias.exp: Align code labels to 4.
5748 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5749 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5750 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5751 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5752 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5753 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5754
29f0c3b7
DE
57552014-12-02 Doug Evans <dje@google.com>
5756
e1e061e7 5757 PR symtab/17602
29f0c3b7 5758 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 5759 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
5760 * gdb.cp/anon-ns.exp: Update.
5761
162078c8
NB
57622014-12-02 Nick Bull <nicholaspbull@gmail.com>
5763
5764 * gdb.python/py-events.py (inferior_call_handler): New.
5765 (register_changed_handler, memory_changed_handler): New.
5766 (test_events.invoke): Register new handlers.
5767 * gdb.python/py-events.exp: Add tests for inferior call,
5768 memory_changed and register_changed events.
5769
fdb09caf
AA
57702014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5771
5772 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5773 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5774 if the linker doesn't understand this.
5775
55cfb2c4
SM
57762014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5777
5778 * gdb.python/python.exp: Change expected reply to help().
5779
9e8cd6df
YQ
57802014-12-01 Yao Qi <yao@codesourcery.com>
5781
5782 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5783 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5784 * configure: Re-generated.
5785
6c659fc2
SC
57862014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5787
5788 * gdb.cp/chained-calls.cc: New file.
5789 * gdb.cp/chained-calls.exp: New file.
5790 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5791
d7fc3181
SM
57922014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5793
5794 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5795 * gdb.dwarf2/symtab-producer.exp: Same.
5796 * gdb.gdb/python-interrupts.exp: Same.
5797 * gdb.gdb/python-selftest.exp: Same.
5798 * gdb.python/py-linetable.exp: Same.
5799 * gdb.python/py-type.exp: Same.
5800 * gdb.python/py-value-cc.exp: Same.
5801 * gdb.python/py-value.exp: Same.
5802
10e79639
YQ
58032014-11-28 Yao Qi <yao@codesourcery.com>
5804
5805 * gdb.base/break-probes.exp: Match library name prefixed with
5806 sysroot.
5807
f28a0564
SM
58082014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5809
5810 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5811 test expected output. Add parentheses for the call to print.
5812 Remove L suffix from integers.
5813
3fe1ce1d
DE
58142014-11-26 Doug Evans <dje@google.com>
5815
5816 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5817
84429e27
YQ
58182014-11-22 Yao Qi <yao@codesourcery.com>
5819
5820 * gdb.trace/entry-values.c: Remove asms.
5821 (foo): Add foo_label.
5822 (bar): Add bar_label.
5823 * gdb.trace/entry-values.exp: Remove code computing foo's
5824 length and bar's length.
5825 (Dwarf::assemble): Invoke function_range for bar and use
5826 MACRO_AT_func for foo.
5827
26741859
YQ
58282014-11-22 Yao Qi <yao@codesourcery.com>
5829
5830 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5831 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5832 Use .Lgcc43_procstart instead of gcc43.
5833
45e44d27
JB
58342014-11-21 Joel Brobecker <brobecker@adacore.com>
5835
5836 * gdb.ada/n_arr_bound: New testcase.
5837
458c8db8
SDJ
58382014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5839
5840 PR breakpoints/10737
5841 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5842 test_catch_syscall_multi_arch.
5843 (test_catch_syscall_multi_arch): New function.
5844
43f3e411
DE
58452014-11-20 Doug Evans <xdje42@gmail.com>
5846
5847 * gdb.base/maint.exp: Update expected output.
5848
0d7b2549
AA
58492014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5850
5851 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5852 4-byte instruction on S390.
5853
8908fca5
JB
58542014-11-19 Joel Brobecker <brobecker@adacore.com>
5855
5856 * gdb.ada/arr_arr: New testcase.
5857
4a46959e
JB
58582014-11-19 Joel Brobecker <brobecker@adacore.com>
5859
5860 * gdb.ada/pkd_arr_elem: New Testcase.
5861
470e2f4e
LM
58622014-11-18 Luis Machado <lgustavo@codesourcery.com>
5863
5864 * gdb.reverse/break-precsave: Expect completion message for
5865 core file reads.
5866 * gdb.reverse/consecutive-precsave.exp: Likewise.
5867 * gdb.reverse/finish-precsave.exp: Likewise.
5868 * gdb.reverse/i386-precsave.exp: Likewise.
5869 * gdb.reverse/machinestate-precsave.exp: Likewise.
5870 * gdb.reverse/sigall-precsave.exp: Likewise.
5871 * gdb.reverse/solib-precsave.exp: Likewise.
5872 * gdb.reverse/step-precsave.exp: Likewise.
5873 * gdb.reverse/until-precsave.exp: Likewise.
5874 * gdb.reverse/watch-precsave.exp: Likewise.
5875
a267f3ad
AA
58762014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5877
5878 * gdb.base/bp-permanent.c: Include unistd.h.
5879 * gdb.python/py-framefilter-mi.c (main): Add return type.
5880 * gdb.python/py-framefilter.c (main): Likewise.
5881 * gdb.trace/actions-changed.c (main): Likewise.
5882
12084a9a
AA
58832014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5884
5885 * gdb.mi/until.c: Add eye-catchers.
5886 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5887 line numbers.
5888
dc7e1a77
AA
58892014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5890
5891 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5892 function header variants in break1.c.
5893 * gdb.base/ena-dis-br.exp: Likewise.
5894 * gdb.base/hbreak2.exp: Likewise.
5895 * gdb.reverse/until-precsave.exp: Drop references to removed
5896 non-prototype function header variants in ur1.c.
5897 * gdb.reverse/until-reverse.exp: Likewise.
5898
41c77605
PM
58992014-11-17 Petr Machata <pmachata@redhat.com>
5900
5901 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5902 ${_cu_offset_size} bytes abbrev offset.
5903
34248c3a
DE
59042014-11-15 Doug Evans <xdje42@gmail.com>
5905
5906 PR symtab/17559
5907 * gdb.base/line-symtabs.exp: New file.
5908 * gdb.base/line-symtabs.c: New file.
5909 * gdb.base/line-symtabs.h: New file.
5910
646da059
YQ
59112014-11-14 Yao Qi <yao@codesourcery.com>
5912
5913 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5914 (func): Add label func_label.
5915 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5916 Replace low_pc and high_pc with MACRO_AT_range.
5917 Replace name, low_pc and high_pc with MACRO_AT_func.
5918
9301ebe6
YQ
59192014-11-14 Yao Qi <yao@codesourcery.com>
5920
5921 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5922 Replace name, low_pc and high_pc with MACRO_AT_func.
5923
f166b542
YQ
59242014-11-14 Yao Qi <yao@codesourcery.com>
5925
5926 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5927 produce debug information.
5928 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5929
0f6e71e3
YQ
59302014-11-14 Yao Qi <yao@codesourcery.com>
5931
5932 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5933 object and get function length.
5934 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5935 with MACRO_AT_func.
5936 (top-level): Replace gdb_compile and clean_restart with
5937 prepare_for_testing.
5938 * gdb.dwarf2/main.c (main): Add label main_label.
5939
876c4df9
YQ
59402014-11-14 Yao Qi <yao@codesourcery.com>
5941
5942 * lib/dwarf.exp (function_range): New procedure.
5943 (Dwarf::_handle_macro_at_func): New procedure.
5944 (Dwarf::_handle_macro_at_range): New procedure.
5945 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5946
02ad9cf1
YQ
59472014-11-14 Yao Qi <yao@codesourcery.com>
5948
5949 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5950 (_handle_attribute): New procedure.
5951
a59add0c
AA
59522014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5953
5954 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5955 * gdb.base/call-sc.c (zed): Likewise.
5956 * gdb.base/checkpoint.c (main): Likewise.
5957 * gdb.base/dump.c (main): Likewise.
5958 * gdb.base/gcore.c (main): Likewise.
5959 * gdb.base/huge.c (main): Likewise.
5960 * gdb.base/multi-forks.c (main): Likewise.
5961 * gdb.base/pr10179-a.c (main): Likewise.
5962 * gdb.base/savedregs.c (main): Likewise.
5963 * gdb.base/sigaltstack.c (main): Likewise.
5964 * gdb.base/siginfo.c (main): Likewise.
5965 * gdb.base/structs.c (zed): Likewise.
5966 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5967 * gdb.mi/mi-syn-frame.c (main): Likewise.
5968 * gdb.mi/until.c (foo, main): Likewise.
5969 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5970 * gdb.base/solib-weak.c (foo): Declare.
5971 * gdb.base/attach-twice.c: Include stdio.h.
5972 * gdb.base/weaklib1.c: Likewise.
5973 * gdb.base/weaklib2.c: Likewise.
5974 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5975 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5976 unistd.h.
5977 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5978 * gdb.mi/mi-exit-code.c: Likewise.
5979 * gdb.base/break-interp-lib.c: Include string.h.
5980 * gdb.base/coremaker.c: Likewise.
5981 * gdb.base/testenv.c: Likewise.
5982 * gdb.python/py-finish-breakpoint.c: Likewise.
5983 * gdb.base/inferior-died.c: Include sys/wait.h.
5984 * gdb.base/fileio.c: Include time.h.
5985 * gdb.base/async-shell.c: Include unistd.h.
5986 * gdb.base/dprintf-non-stop.c: Likewise.
5987 * gdb.base/info-os.c: Likewise.
5988 * gdb.mi/mi-console.c: Likewise.
5989 * gdb.mi/watch-nonstop.c: Likewise.
5990 * gdb.python/py-events.c: Likewise.
5991 * gdb.base/async.c (baz): Move up before its invocation.
5992 * gdb.base/code_elim2.c (my_global_func): Likewise.
5993 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5994 * gdb.base/advance.c (func2): Likewise.
5995
3b5d5997
AA
59962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5997
5998 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5999 variant.
6000 * gdb.base/annota3.c: Likewise.
6001 * gdb.base/async.c: Likewise.
6002 * gdb.base/average.c: Likewise.
6003 * gdb.base/call-ar-st.c: Likewise.
6004 * gdb.base/call-rt-st.c: Likewise.
6005 * gdb.base/call-sc.c: Likewise.
6006 * gdb.base/call-strs.c: Likewise.
6007 * gdb.base/ending-run.c: Likewise.
6008 * gdb.base/execd-prog.c: Likewise.
6009 * gdb.base/exprs.c: Likewise.
6010 * gdb.base/foll-exec.c: Likewise.
6011 * gdb.base/foll-fork.c: Likewise.
6012 * gdb.base/foll-vfork.c: Likewise.
6013 * gdb.base/funcargs.c: Likewise.
6014 * gdb.base/gcore.c: Likewise.
6015 * gdb.base/jump.c: Likewise.
6016 * gdb.base/langs0.c: Likewise.
6017 * gdb.base/langs1.c: Likewise.
6018 * gdb.base/langs2.c: Likewise.
6019 * gdb.base/mips_pro.c: Likewise.
6020 * gdb.base/nodebug.c: Likewise.
6021 * gdb.base/opaque0.c: Likewise.
6022 * gdb.base/opaque1.c: Likewise.
6023 * gdb.base/recurse.c: Likewise.
6024 * gdb.base/run.c: Likewise.
6025 * gdb.base/scope0.c: Likewise.
6026 * gdb.base/scope1.c: Likewise.
6027 * gdb.base/setshow.c: Likewise.
6028 * gdb.base/setvar.c: Likewise.
6029 * gdb.base/shmain.c: Likewise.
6030 * gdb.base/shr1.c: Likewise.
6031 * gdb.base/shr2.c: Likewise.
6032 * gdb.base/sigall.c: Likewise.
6033 * gdb.base/signals.c: Likewise.
6034 * gdb.base/so-indr-cl.c: Likewise.
6035 * gdb.base/solib2.c: Likewise.
6036 * gdb.base/structs.c: Likewise.
6037 * gdb.base/sum.c: Likewise.
6038 * gdb.base/vforked-prog.c: Likewise.
6039 * gdb.base/watchpoint.c: Likewise.
6040 * gdb.reverse/shr2.c: Likewise.
6041 * gdb.reverse/until-reverse.c: Likewise.
6042 * gdb.reverse/ur1.c: Likewise.
6043 * gdb.reverse/watch-reverse.c: Likewise.
6044
066a77c5
AA
60452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6046
6047 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
6048 variant.
6049 * gdb.base/sepdebug.exp: Drop references to removed code.
6050
4f204ea5
AA
60512014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6052
6053 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
6054 variant. Preserve original line numbering.
6055 * gdb.base/list1.c: Likewise.
6056
3b377a3a
AA
60572014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6058
6059 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
6060 variant.
6061 * gdb.base/break1.c: Likewise.
6062 * gdb.base/break.exp: Drop references to removed code.
6063
e444df73
AA
60642014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6065
6066 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
6067 variant.
6068
8008f2a7
AA
60692014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6070
6071 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
6072
a5a06887
AA
60732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6074
6075 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
6076 logic into perform_all_tests() and invoke it with and without
6077 function header prototypes.
6078 (do_function_calls): Remove conditional XFAIL for PR 5318.
6079 (rerun_and_prepare): Remove duplicate code.
6080 (perform_all_tests): New. Main logic moved here.
6081
44dba9b9
AA
60822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6083
6084 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
6085 code guarded by #ifdef NO_PROTOTYPES.
6086 (t_double_many_args): Likewise.
6087 (DEF_FUNC_MANY_ARGS_1): Likewise.
6088 (DEF_FUNC_VALUES_1): Likewise.
6089 (t_structs_ldc): Renamed from t_structs_fc in conditional code
6090 guarded by #ifdef PROTOTYPES.
6091
d1fbcd56
AA
60922014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6093
6094 * gdb.mi/mi-console.c: Add eye-catcher.
6095 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
6096 instead of literal line number.
6097
b0e59b8f
AA
60982014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6099
6100 * gdb.base/shr2.c: Add eye-catcher.
6101 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
6102 line number.
6103
78f98cca
AA
61042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6105
6106 * gdb.base/jump.c: Add eye-catchers.
6107 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
6108 numbers.
6109
58fa2af0
AA
61102014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6111
6112 * gdb.base/execd-prog.c: Add eye-catchers.
6113 * gdb.base/foll-exec.c: Likewise.
6114 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
6115 line numbers.
6116
04e5059b
AA
61172014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6118
6119 * gdb.base/ending-run.c: Add eye-catchers.
6120 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
6121 literal line numbers.
6122
dbfdb174
AA
61232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6124
6125 * gdb.base/call-rt-st.c: Add eye-catchers.
6126 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
6127 literal line numbers.
6128
888a2ade
AA
61292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6130
6131 * gdb.base/call-ar-st.c: Add eye-catchers.
6132 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
6133 literal line numbers.
6134
6acc2dde
AA
61352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6136
6137 * gdb.base/average.c: Add eye-catchers.
6138 * gdb.base/sum.c: Likewise.
6139 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
6140 regexps dynamically.
6141
9ecfcd1d
AA
61422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6143
6144 * gdb.base/solib1.c: Add eye-catchers.
6145 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
6146 literal line numbers.
6147
78708b7c
PA
61482014-11-12 Pedro Alves <palves@redhat.com>
6149
6150 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
6151 leader has exited.
6152
af48d08f
PA
61532014-11-12 Pedro Alves <palves@redhat.com>
6154
6155 * gdb.arch/i386-bp_permanent.c: New file.
6156 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
6157 (srcfile): Set to i386-bp_permanent.c.
6158 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
6159 that stepi does not execute the 'leave' instruction, instead of
6160 testing it does execute.
6161 * gdb.base/bp-permanent.c: New file.
6162 * gdb.base/bp-permanent.exp: New file.
6163
af3768e9
DE
61642014-11-10 Doug Evans <xdje42@gmail.com>
6165
6166 PR symtab/17564
6167 * gdb.base/symtab-search-order.exp: New file.
6168 * gdb.base/symtab-search-order.c: New file.
6169 * gdb.base/symtab-search-order-1.c: New file.
6170 * gdb.base/symtab-search-order-shlib-1.c: New file.
6171
9de00a4a
PA
61722014-11-07 Pedro Alves <palves@redhat.com>
6173
6174 PR gdb/17511
6175 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
6176 i?86-*-linux*.
6177
e0f52461
SC
61782014-11-03 Siva Chandra Reddy <sivachandra@google.com>
6179
6180 PR c++/17494
6181 * gdb.cp/pr17494.cc: New file.
6182 * gdb.cp/pr17494.exp: New file.
6183
6ce8c980
YQ
61842014-11-02 Yao Qi <yao@codesourcery.com>
6185
6186 * gdb.python/python.exp: Get working directory and match the
6187 output of "set extended-prompt \\w " with it.
6188
02be9a71
DE
61892014-10-30 Doug Evans <dje@google.com>
6190
6191 * gdb.python/py-objfile.exp: Add tests for setting random attributes
6192 in objfiles.
6193 * gdb.python/py-progspace.exp: Add tests for setting random attributes
6194 in progspaces.
6195
3bdff46b
LM
61962014-10-30 Janis Johnson <janisjo@codesourcery.com>
6197
6198 * gdb.base/fullpath-expand.exp: Skip for a remote host.
6199 * gdb.base/realname-expand.exp: Likewise.
6200 * gdb.linespec/macro-relative.exp: Likewise.
6201
ab917dfb
PA
62022014-10-29 Pedro Alves <palves@redhat.com>
6203
6204 PR gdb/17408
6205 * gdb.threads/schedlock.c (some_function): New function.
6206 (call_function): New global.
6207 (MAYBE_CALL_SOME_FUNCTION): New macro.
6208 (thread_function): Call it.
6209 * gdb.threads/schedlock.exp (get_args): Add description parameter,
6210 and use it instead of a global counter. Adjust all callers.
6211 (get_current_thread): Use "find current thread" for test message
6212 here rather than having all callers pass down the same string.
6213 (goto_loop): New procedure, factored out from ...
6214 (my_continue): ... this.
6215 (step_ten_loops): Change parameter from test message to command to
6216 use. Adjust.
6217 (list_count): Delete global.
6218 (check_result): New procedure, factored out from duplicate top
6219 level code.
6220 (continue tests): Wrap in with_test_prefix.
6221 (test_step): New procedure, factored out from duplicate top level
6222 code.
6223 (top level): Test "step" in combination with all scheduler-locking
6224 modes. Test "next" in combination with all scheduler-locking
6225 modes, and in combination with stepping over a function call or
6226 not.
6227 * gdb.threads/next-bp-other-thread.c: New file.
6228 * gdb.threads/next-bp-other-thread.exp: New file.
6229
d3d4baed
PA
62302014-10-29 Pedro Alves <palves@redhat.com>
6231
6232 PR python/17372
6233 * gdb.python/python.exp: Test a multi-line command that spawns
6234 interactive Python.
6235 * gdb.base/multi-line-starts-subshell.exp: New file.
6236
563e8d85
YQ
62372014-10-29 Yao Qi <yao@codesourcery.com>
6238
6239 * gdb.base/fileio.exp: Make directories on host.
6240
0ea4d52e
YQ
62412014-10-29 Yao Qi <yao@codesourcery.com>
6242
6243 * gdb.base/fileio.c (test_write): Close the file.
6244
7f5ef605
PA
62452014-10-28 Pedro Alves <palves@redhat.com>
6246
6247 PR gdb/12623
6248 * gdb.base/sigstep.c (no_handler): New global.
6249 (main): If 'no_handler is true, set the signal handlers to
6250 SIG_IGN.
6251 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
6252 with_sw_watch and no_handler parameters. Handle them.
6253 (top level) <stepping over handler when stopped at a breakpoint
6254 test>: Add a test axis for testing with a software watchpoint, and
6255 another for testing with the signal handler set to SIG_IGN.
6256 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
6257 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
6258
abbdbd03
PA
62592014-10-28 Pedro Alves <palves@redhat.com>
6260
6261 PR gdb/17511
6262 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
6263 * gdb.base/sigstep.exp (other_handler_location): New global.
6264 (advance): Support stepping into the signal handler, and running
6265 commands while in the handler.
6266 (in_handler_map): New global.
6267 (top level): In the advance test, add combinations for getting
6268 into the handler with stepping commands, and for running commands
6269 in the handler. Add comment descripting the advancei tests.
6270
1df4399f
PA
62712014-10-28 Pedro Alves <palves@redhat.com>
6272
6273 * gdb.base/sigstep.exp: Use build_executable instead of
6274 prepare_for_testing.
6275 (top level): Move code that starts GDB, runs to main and creates a
6276 display to ...
6277 (restart): ... this new procedure.
6278 (top level): Move backtrace from signal handler test to ...
6279 (validate_backtrace): ... this new procedure.
6280 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
6281 with_test_prefix. Always restart GDB.
6282 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
6283 with_test_prefix. Always restart GDB. No need to delete
6284 breakpoints after the test.
6285 (test_skip_handler): Remove prefix parameter.
6286 (skip_over_handler, breakpoint_to_handler)
6287 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
6288 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
6289 restart GDB. No need to delete breakpoints after the test.
6290 (top level): Use foreach to call the test procedures with
6291 different commands.
6292
a5b6e449
PA
62932014-10-28 Pedro Alves <palves@redhat.com>
6294
6295 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
6296 instead of GNATS numbers.
6297 * gdb.base/sigbpt.exp: Likewise.
6298 * gdb.base/siginfo.exp: Likewise.
6299 * gdb.base/sigstep.exp: Likewise.
6300
e5f8a7cc
PA
63012014-10-27 Pedro Alves <palves@redhat.com>
6302
6303 * gdb.base/sigstep.c (dummy): New global.
6304 (main): Issue a couple writes to the new global.
6305 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
6306 procedures.
6307 (skip_over_handler): Use test_skip_handler.
6308 (top level): Call skip_over_handler for stepi and nexti too.
6309 (breakpoint_over_handler): Use test_skip_handler.
6310 (top level): Call breakpoint_over_handler for stepi and nexti too.
6311
763905a3
YQ
63122014-10-27 Yao Qi <yao@codesourcery.com>
6313
6314 * gdb.trace/tfile.c (adjust_function_address)
6315 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6316 function descriptor.
6317
6f259a23
DB
63182014-10-24 Don Breazeal <donb@codesourcery.com>
6319
6320 * gdb.base/foll-fork.exp (test_follow_fork,
6321 catch_fork_child_follow): Check for updated fork messages emitted
6322 from infrun.c.
6323 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6324 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6325 vfork_and_exec_child_follow_through_step): Check for updated vfork
6326 messages emitted from infrun.c.
6327
09dd9a69
PA
63282014-10-24 Pedro Alves <palves@redhat.com>
6329
6330 * gdb.base/corefile.exp: Remove references to ultrix.
6331 * gdb.base/interrupt.exp: Likewise.
6332 * gdb.base/whatis.exp: Likewise.
6333 * gdb.gdb/selftest.exp: Likewise.
6334 * gdb.threads/manythreads.exp: Likewise.
6335 * gdb.threads/print-threads.exp: Likewise.
6336 * gdb.threads/pthreads.exp:: Likewise.
6337 * gdb.threads/schedlock.exp: Likewise.
6338
3433cfa5
SC
63392014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6340
6341 * gdb.cp/non-trivial-retval.cc: Add a test case.
6342 * gdb.cp/non-trivial-retval.exp: Add a test.
6343
092f880b
YQ
63442014-10-20 Yao Qi <yao@codesourcery.com>
6345
6346 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6347 * gdb.python/py-objfile-script-gdb.py: New file.
6348 * gdb.python/py-objfile-script.exp: Update reference to
6349 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6350 of remote_download. Remove the dest file.
6351
acbdb7f3
YQ
63522014-10-20 Yao Qi <yao@codesourcery.com>
6353
6354 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6355 * gdb.base/step-line.exp: Likewise.
6356 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6357 * gdb.dwarf2/dw2-basic.exp: Likewise.
6358 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6359 * gdb.dwarf2/dw2-filename.exp: Likewise.
6360 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6361 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6362 * gdb.dwarf2/dw2-producer.exp: Likewise.
6363 * gdb.dwarf2/mac-fileno.exp: Likewise.
6364 * gdb.python/py-frame-args.exp: Likewise.
6365 * gdb.python/py-framefilter.exp: Likewise.
6366 * gdb.python/py-mi.exp: Likewise.
6367 * gdb.python/py-objfile-script.exp: Likewise
6368 * gdb.python/py-pp-integral.exp: Likewise.
6369 * gdb.python/py-pp-re-notag.exp: Likewise.
6370 * gdb.python/py-prettyprint.exp: Likewise.
6371 * gdb.python/py-section-script.exp: Likewise.
6372 * gdb.python/py-typeprint.exp: Likewise.
6373 * gdb.python/py-xmethods.exp: Likewise.
6374 * gdb.stabs/weird.exp: Likewise.
6375 * gdb.xml/tdesc-regs.exp: Likewise.
6376
bd286a29
KCY
63772014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6378
6379 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6380 (out_cu): Use addr_len for the size of addresses.
6381 (out_line): Likewise. Size DW_LNE_set_address instruction
6382 according to addr_len.
6383 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6384 (FUNC): Add START_INSNS to definition.
6385
673dc4a0
YQ
63862014-10-18 Yao Qi <yao@codesourcery.com>
6387
6388 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6389 gdb_has_argv0 return true.
6390 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6391 check [target_info exists noargs], check [gdb_has_argv0]
6392 instead.
6393 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6394 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6395 procedures.
6396
4ffbba72
DE
63972014-10-17 Doug Evans <dje@google.com>
6398
6399 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6400 event.
6401 * gdb.python/py-events.py: Add clear_objfiles event.
6402
d096d8c1
DE
64032014-10-17 Doug Evans <dje@google.com>
6404
6405 * gdb.python/py-objfile.exp: Test progspace attribute.
6406
a80db015
LM
64072014-10-17 Luis Machado <lgustavo@codesourcery.com>
6408
6409 * gdb.guile/scm-breakpoint.exp: Do not assume any
6410 directory separators when matching source file paths.
6411 * gdb.python/py-breakpoint.exp: Likewise.
6412 * gdb.reverse/break-precsave.exp: Likewise.
6413 * gdb.reverse/break-reverse.exp: Likewise.
6414 * gdb.reverse/consecutive-precsave.exp: Likewise.
6415 * gdb.reverse/finish-precsave.exp: Likewise.
6416 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6417 * gdb.reverse/finish-reverse.exp: Likewise.
6418 * gdb.reverse/i386-precsave.exp: Likewise.
6419 * gdb.reverse/i387-env-reverse.exp: Likewise.
6420 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6421 * gdb.reverse/machinestate-precsave.exp: Likewise.
6422 * gdb.reverse/machinestate.exp: Likewise.
6423 * gdb.reverse/sigall-precsave.exp: Likewise.
6424 * gdb.reverse/solib-precsave.exp: Likewise.
6425 * gdb.reverse/step-precsave.exp: Likewise.
6426 * gdb.reverse/until-precsave.exp: Likewise.
6427 * gdb.reverse/watch-precsave.exp: Likewise.
6428 * gdb.reverse/watch-reverse.exp: Likewise.
6429
b22089ab
YQ
64302014-10-17 Yao Qi <yao@codesourcery.com>
6431
6432 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6433 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6434
6c4486e6
PA
64352014-10-17 Pedro Alves <palves@redhat.com>
6436
6437 PR gdb/17471
6438 * gdb.base/bg-execution-repeat.c: New file.
6439 * gdb.base/bg-execution-repeat.exp: New file.
6440
0ff33695
PA
64412014-10-17 Pedro Alves <palves@redhat.com>
6442
6443 PR gdb/17300
6444 * gdb.base/continue-all-already-running.c: New file.
6445 * gdb.base/continue-all-already-running.exp: New file.
6446
6fdebc3d
PA
64472014-10-17 Pedro Alves <palves@redhat.com>
6448
6449 PR gdb/17472
6450 * gdb.base/annota-input-while-running.c: New file.
6451 * gdb.base/annota-input-while-running.exp: New file.
6452
32a8097b
PA
64532014-10-17 Pedro Alves <palves@redhat.com>
6454
6455 * gdb.base/callfuncs.exp: emove references to osf.
6456 * gdb.base/sigall.exp: Likewise.
6457 * gdb.gdb/selftest.exp: Likewise.
6458 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6459 * gdb.mi/non-stop.c: Likewise.
6460 * gdb.mi/pthreads.c: Likewise.
6461 * gdb.reverse/sigall-precsave.exp: Likewise.
6462 * gdb.reverse/sigall-reverse.exp: Likewise.
6463 * gdb.threads/pthreads.c: Likewise.
6464 * gdb.threads/pthreads.exp: Likewise.
6465
7a3517ff
YQ
64662014-10-17 Yao Qi <yao@codesourcery.com>
6467
6468 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6469 check 'target_info exists noargs'.
6470 (test_command_prompt_position): Likewise.
6471 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6472 Remove "set args".
6473 (progvar_simple_while_test): Likewise.
6474 (progvar_complex_if_while_test): Likewise.
6475 (if_while_breakpoint_command_test): Likewise.
6476 (infrun_breakpoint_command_test): Likewise.
6477 (breakpoint_command_test): Likewise.
6478 (watchpoint_command_test): Likewise.
6479 (bp_deleted_in_command_test): Likewise.
6480 (temporary_breakpoint_commands): Likewise.
6481
bb99c472
YQ
64822014-10-16 Yao Qi <yao@codesourcery.com>
6483
6484 * gdb.base/remotetimeout.exp: Remove noargs checking.
6485
7c16b83e
PA
64862014-10-15 Pedro Alves <palves@redhat.com>
6487
6488 PR breakpoints/9649
6489 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6490 * gdb.base/breakpoint-in-ro-region.exp
6491 (probe_target_hardware_step): New procedure.
6492 (top level): Probe hardware stepping and hardware breakpoint
6493 support. Test stepping through a read-only region, with both
6494 "breakpoint auto-hw" on and off and both "always-inserted" on and
6495 off.
6496
35a49624
IB
64972014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6498
6499 * gdb.dlang/demangle.exp: Update for demangling changes.
6500
2d1c107c
SC
65012014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6502
6503 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6504 * gdb.cp/non-trivial-retval.exp: Add new tests.
6505
778811d5
SC
65062014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6507
6508 PR c++/13403
6509 PR c++/15154
6510 * gdb.cp/non-trivial-retval.cc: New file.
6511 * gdb.cp/non-trivial-retval.exp: New file.
6512
10c5f0a8
YQ
65132014-10-15 Yao Qi <yao@codesourcery.com>
6514
6515 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6516 remote host.
6517
65d7b369
YQ
65182014-10-15 Yao Qi <yao@codesourcery.com>
6519
6520 * gdb.python/py-symbol.exp: Match file base name if host is
6521 remote, otherwise match file name with dir name.
6522 * gdb.python/py-symtab.exp: Likewise.
6523 * gdb.python/python.exp: Likewise.
6524
46dc1394
YQ
65252014-10-15 Yao Qi <yao@codesourcery.com>
6526
6527 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6528 pattern.
6529 * gdb.python/py-symtab.exp: Likewise.
6530 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6531 locationn.
6532
c40cc657
JB
65332014-10-14 Joel Brobecker <brobecker@adacore.com>
6534
6535 * gdb.ada/addr_arith: New testcase.
6536
2abf49e1
MR
65372014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6538
6539 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6540 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6541 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6542 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6543
f7088df3
SDJ
65442014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6545
6546 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6547 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6548 * gdb.arch/stap-eval-lang-ada.exp: New file.
6549
4dc06805
YQ
65502014-10-14 Yao Qi <yao@codesourcery.com>
6551
6552 * gdb.mi/mi-var-child.c (nothing1): New function.
6553 (nothing2): New function.
6554 (do_children_tests): Set function pointers by nothing1 and
6555 nothing2.
6556 * gdb.mi/mi-var-child.exp: Step over new added statements.
6557 Update test to match the new output.
6558 * gdb.mi/var-cmd.c (nothing1): New function.
6559 (nothing2): New function.
6560 (do_children_tests): Set function pointers by nothing1 and
6561 nothing2.
6562 * gdb.mi/mi-var-display.exp: Update test to match output.
6563 Step to the line specified by $line_dct_nothing.
6564 Increase the number of lines to step.
6565
46a93de2
YQ
65662014-10-14 Yao Qi <yao@codesourcery.com>
6567
6568 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6569 tests.
6570 * gdb.mi/mi2-var-child.exp: Likewise.
6571
14ea52ee
DE
65722014-10-13 Doug Evans <dje@google.com>
6573
6574 * gdb.python/py-objfile.exp: Change name of file name test.
6575
e5c6e92b
DE
65762014-10-13 Doug Evans <dje@google.com>
6577
6578 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6579 from the start of the CU.
6580
c780cc2f
JK
65812014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6582 Yao Qi <yao@codesourcery.com>
6583
6584 Fix "save breakpoints" for "catch" command.
6585 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6586 Remove -nonewline. Match also the added "main" line.
6587
99894e11
JK
65882014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6589
6590 Fix "save breakpoints" for "disable $bpnum" command.
6591 * gdb.base/save-bp.c (main): Add label.
6592 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6593
6e1ac5a3
JK
65942014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6595
6596 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6597
754dd2b0
YQ
65982014-10-11 Yao Qi <yao@codesourcery.com>
6599
6600 * gdb.server/server-kill.exp: Execute command
6601 "set remote trace-status-packet on" before "tstatus".
6602
f90183d7
YQ
66032014-10-11 Yao Qi <yao@codesourcery.com>
6604
6605 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6606 (main): Call getppid.
6607 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6608 and continue to it. Read variable "server_pid".
6609
bf40a607
YQ
66102014-10-11 Yao Qi <yao@codesourcery.com>
6611
6612 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6613
052ca370
YQ
66142014-10-11 Yao Qi <yao@codesourcery.com>
6615
6616 * gdb.threads/thread-find.exp: Don't execute command
6617 "info threads".
6618 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6619 * gdb.threads/linux-dp.exp: Don't check the condition
6620 $threads_created equals to zero.
6621
3831839c
PA
66222014-10-10 Pedro Alves <palves@redhat.com>
6623
6624 * gdb.base/bigcore.exp: Remove references to IRIX.
6625 * gdb.base/funcargs.exp: Likewise.
6626 * gdb.base/interrupt.exp: Likewise.
6627 * gdb.base/mips_pro.exp: Likewise.
6628 * gdb.base/nodebug.exp: Likewise.
6629 * gdb.base/setvar.exp: Likewise.
6630 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6631
8b9a549d
PA
66322014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6633 Pedro Alves <palves@redhat.com>
6634
6635 PR symtab/14466
6636 * gdb.base/vdso-warning.c: New file.
6637 * gdb.base/vdso-warning.exp: New file.
6638
d48ba5e8
DE
66392014-10-02 Doug Evans <dje@google.com>
6640
6641 * gdb.base/structs.c (main): Don't run forever.
6642
2278c276
PA
66432014-10-02 Pedro Alves <palves@redhat.com>
6644
6645 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6646 (top level) <stop threads 1, stop threads 2>: Use it.
6647
b57bacec
PA
66482014-10-02 Pedro Alves <palves@redhat.com>
6649
6650 * gdb.threads/break-while-running.exp (test): Add new
6651 'update_thread_list' argument. Skip "info threads" if false.
6652 (top level): Add new 'update_thread_list' axis.
6653
13fd3ff3
PA
66542014-10-02 Pedro Alves <palves@redhat.com>
6655
6656 PR breakpoints/17431
6657 * gdb.base/execl-update-breakpoints.c: New file.
6658 * gdb.base/execl-update-breakpoints.exp: New file.
6659
0fec99e8
PA
66602014-10-01 Pedro Alves <palves@redhat.com>
6661
6662 * gdb.base/breakpoint-in-ro-region.c: New file.
6663 * gdb.base/breakpoint-in-ro-region.exp: New file.
6664
2ddf4301
SM
66652014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6666
6667 * gdb.mi/mi-exit-code.exp: New file.
6668 * gdb.mi/mi-exit-code.c: New file.
6669
6a5f3f43
YQ
66702014-09-30 Yao Qi <yao@codesourcery.com>
6671
6672 * lib/prelink-support.exp (build_executable_own_libs): Error if
6673 the target isn't native.
6674
345bcc73
YQ
66752014-09-30 Yao Qi <yao@codesourcery.com>
6676
6677 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6678 false.
6679
a25a5a45
PA
66802014-09-22 Pedro Alves <palves@redhat.com>
6681
6682 * gdb.threads/break-while-running.exp: New file.
6683 * gdb.threads/break-while-running.c: New file.
6684
00ba3162
YQ
66852014-09-19 Yao Qi <yao@codesourcery.com>
6686
6687 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6688 Invoke test. Restart GDB with --readnow and invoke test again.
6689
c3b7b696
YQ
66902014-09-19 Yao Qi <yao@codesourcery.com>
6691
6692 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6693 proc set_breakpoint_on_gcd_function. Invoke
6694 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6695 invoke set_breakpoint_on_gcd_function again.
6696
2b4fd423
DE
66972014-09-18 Doug Evans <dje@google.com>
6698
6699 * gdb.dwarf2/symtab-producer.exp: New file.
6700
a5947601
SDJ
67012014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6702
6703 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6704 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6705 * gdb.base/global-var-nested-by-dso.c: Likewise.
6706 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6707
91c19059
SDJ
67082014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6709 Pedro Alves <palves@redhat.com>
6710
6711 * gdb.base/watch-bitfields.exp: Pass string other than test file
6712 name to prepare_for_testing.
6713 (watch): New procedure.
6714 (expect_watchpoint): Use with_test_prefix.
6715 (top level): Factor out tests to ...
6716 (test_watch_location, test_regular_watch): ... these new
6717 procedures, and use with_test_prefix and gdb_continue_to_end.
6718
bb9d5f81
PP
67192014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6720
6721 PR breakpoints/12526
6722 * gdb.base/watch-bitfields.exp: New file.
6723 * gdb.base/watch-bitfields.c: New file.
6724
635856f5
PA
67252014-09-16 Pedro Alves <palves@redhat.com>
6726
6727 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6728 software and hardware addresses, not software address against
6729 itself.
6730
7280ceea
PA
67312014-09-16 Pedro Alves <palves@redhat.com>
6732
6733 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6734 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6735
428b16bd
PA
67362014-09-16 Pedro Alves <palves@redhat.com>
6737
6738 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6739 files.
6740 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6741 "*-*-vxworks*" throughout.
6742 * gdb.base/break.exp: Likewise.
6743 * gdb.base/default.exp: Likewise.
6744 * gdb.base/scope.exp: Likewise.
6745 * gdb.base/sepdebug.exp: Likewise.
6746 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6747 throughout.
6748 * gdb.base/run.c: Likewise.
6749 * gdb.base/sepdebug.c: Likewise.
6750 * gdb.hp/gdb.aCC/run.c: Likewise.
6751 * gdb.reverse/until-reverse.c: Likewise.
6752 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6753
666d413c
YQ
67542014-09-16 Yao Qi <yao@codesourcery.com>
6755
6756 * boards/local-remote-host-native.exp: New file.
6757
57cbd724
DE
67582014-09-14 Doug Evans <xdje42@gmail.com>
6759
6760 * gdb.threads/queue-signal.c (thread_count): New variable.
6761 (thread_count_mutex, thread_count_condvar): New variables.
6762 (incr_thread_count, wait_all_threads_running): New functions.
6763 (main): Wait for all threads to be in their thread functions.
6764
81219e53
DE
67652014-09-13 Doug Evans <xdje42@gmail.com>
6766
6767 * gdb.threads/queue-signal.c: New file.
6768 * gdb.threads/queue-signal.exp: New file.
6769
3714cea7
DE
67702014-09-13 Doug Evans <xdje42@gmail.com>
6771
6772 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6773 be consistent with what default_gdb_init uses.
6774 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6775 the plain text of the prompt. Add some logging printfs.
6776 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6777
fa43b1d7
PA
67782014-09-12 Pedro Alves <palves@redhat.com>
6779
6780 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6781 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6782 * gdb.arch/i386-size-overlap.exp: Likewise.
6783 * gdb.arch/i386-size.exp: Likewise.
6784 * gdb.arch/i386-unwind.exp: Likewise.
6785 * gdb.base/a2-run.exp: Likewise.
6786 * gdb.base/break.exp: Likewise.
6787 * gdb.base/charset.exp: Likewise.
6788 * gdb.base/chng-syms.exp: Likewise.
6789 * gdb.base/commands.exp: Likewise.
6790 * gdb.base/dbx.exp: Likewise.
6791 * gdb.base/find.exp: Likewise.
6792 * gdb.base/funcargs.exp: Likewise.
6793 * gdb.base/jit-simple.exp: Likewise.
6794 * gdb.base/reread.exp: Likewise.
6795 * gdb.base/sepdebug.exp: Likewise.
6796 * gdb.base/step-bt.exp: Likewise.
6797 * gdb.cp/mb-inline.exp: Likewise.
6798 * gdb.cp/mb-templates.exp: Likewise.
6799 * gdb.objc/basicclass.exp: Likewise.
6800 * gdb.threads/killed.exp: Likewise.
6801
9d9bf2df
EBM
68022014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6803
6804 PR tdep/17379
6805 * gdb.arch/powerpc-stackless.S: New file.
6806 * gdb.arch/powerpc-stackless.exp: New file.
6807
1cf2f1b0
JK
68082014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6809
6810 * gdb.base/attach.c: Include unistd.h.
6811 (main): Call alarm. Add label postloop.
6812 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6813 gdb_breakpoint, gdb_continue_to_breakpoint.
6814 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6815
98880d46
PA
68162014-09-11 Pedro Alves <palves@redhat.com>
6817
6818 PR gdb/17347
6819 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6820 * gdb.base/attach.exp (test_command_line_attach_run): New
6821 procedure.
6822 (top level): Call it.
6823
4c92ff2c
PA
68242014-09-11 Pedro Alves <palves@redhat.com>
6825
6826 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6827 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6828 (do_command_attach_tests): Use spawn_wait_for_attach.
6829 * gdb.base/solib-overlap.exp: Likewise.
6830 * gdb.multi/multi-attach.exp: Likewise.
6831 * gdb.python/py-prompt.exp: Likewise.
6832 * gdb.python/py-sync-interp.exp: Likewise.
6833 * gdb.server/ext-attach.exp: Likewise.
6834
3adc1a7d
GKB
68352014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6836
6837 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6838 command in testcase. Simplify testcase.
6839
96334934
JB
68402014-09-10 Joel Brobecker <brobecker@adacore.com>
6841
6842 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6843
eb479039
JB
68442014-09-10 Joel Brobecker <brobecker@adacore.com>
6845
6846 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6847
deede10c
JB
68482014-09-10 Joel Brobecker <brobecker@adacore.com>
6849
6850 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6851
7828a5f5
JB
68522014-09-10 Joel Brobecker <brobecker@adacore.com>
6853
6854 * gdb.dwarf2/dynarr-ptr.c: New file.
6855 * gdb.dwarf2/dynarr-ptr.exp: New file.
6856
33aeebcf
MR
68572014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6858
6859 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6860 of 30 rather than hardcoding 120 for a slow test case. Take the
6861 `gdb,timeout' target setting into account for this calculation.
6862 Don't extend the timeout for the test cases that don't need it.
6863
7b415901
MR
68642014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6865
6866 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6867 a factor of 2 for a slow test case. Take the `gdb,timeout'
6868 target setting into account for this calculation.
6869 * gdb.reverse/until-precsave.exp: Increase the timeout by
6870 a factor of 15 and 3 respectively rather than adding 120
6871 for a pair of slow test cases. Take the `gdb,timeout'
6872 target setting into account for this calculation.
6873
4a40f85a
MR
68742014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6875
6876 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6877 timeout, don't pass one down to gdb_expect.
6878 (gdb_expect): Rework timeout selection.
6879
09635af7
MR
68802014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6881
6882 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6883 exception on timeout.
6884 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6885 (gdbserver_start_extended): Catch any `gdbserver_start' error
6886 exceptions.
6887 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6888 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6889 `gdbserver_gdb_load' error exceptions.
6890
2bdd10b7
MR
68912014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6892
6893 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6894 120 on waiting for the TCP socket to open.
6895
316935f0
DE
68962014-09-09 Doug Evans <xdje42@gmail.com>
6897
6898 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6899 _caller_matches, _any_caller_is, _any_caller_matches.
6900
83740597
DE
69012014-09-09 Doug Evans <xdje42@gmail.com>
6902
6903 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6904
4c122fc3
YQ
69052014-09-09 Yao Qi <yao@codesourcery.com>
6906
6907 * gdb.mi/mi-var-display.exp: Set print symbol off.
6908
a9f116cb
GKB
69092014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6910
6911 PR gdb/17035
6912 * gdb.base/commands.exp: Add tests to verify user-defined
6913 commands with empty bodies.
6914 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6915 python commands in `show user command`.
6916 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6917 scheme commands in `show user command`.
6918
c75bd3a2
JK
69192014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6920
6921 PR python/17355
6922 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6923 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6924 * gdb.python/py-framefilter-invalidarg.exp: New file.
6925 * gdb.python/py-framefilter-invalidarg.py: New file.
6926
faa42425
DE
69272014-09-06 Doug Evans <xdje42@gmail.com>
6928
6929 PR 15276
6930 * gdb.python/py-caller-is.c: New file.
6931 * gdb.python/py-caller-is.exp: New file.
6932
474ca4f6
SDJ
69332014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6934
6935 PR gdb/17235
6936 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6937 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6938
eb0b0463
SDJ
69392014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6940
6941 PR fortran/17237
6942 * gdb.fortran/print-formatted.exp: New file.
6943 * gdb.fortran/print-formatted.f90: Likewise.
6944
5f3b99cf
SS
69452014-09-03 Sasha Smundak <asmundak@google.com>
6946
6947 * gdb.python/py-frame.exp: Test Frame.read_register.
6948
7d793aa9
SDJ
69492014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6950
6951 PR python/16699
6952 * gdb.python/py-completion.exp: New file.
6953 * gdb.python/py-completion.py: Likewise.
6954
fb0576e9
DE
69552014-08-28 Doug Evans <dje@google.com>
6956
6957 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6958 eax,etc. are live with values set by gdb and thus the compiler can't
6959 use them.
6960 * gdb.arch/i386-pseudo.c (main): Ditto.
6961
ee92b0dd
DE
69622014-08-27 Doug Evans <dje@google.com>
6963
6964 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6965
6649db35
DE
69662014-08-25 Doug Evans <dje@google.com>
6967
6968 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6969 (main): Ditto.
6970
564b7600
DE
69712014-08-25 Doug Evans <dje@google.com>
6972
6973 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6974
3881fb67
YQ
69752014-08-24 Yao Qi <yao@codesourcery.com>
6976
6977 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6978 symbol off.
6979 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6980
a05a36a5
DE
69812014-08-22 Doug Evans <dje@google.com>
6982
6983 PR 17276
6984 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6985 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6986 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6987
7c343b48
YQ
69882014-08-22 Yao Qi <yao@codesourcery.com>
6989
6990 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6991 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6992 * gdb.python/python.exp: Likewise. Use .py file on the host
6993 instead of the build.
6994
22fd09ae
JK
69952014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6996
6997 * gdb.threads/gcore-stale-thread.c: New file.
6998 * gdb.threads/gcore-stale-thread.exp: New file.
6999
a8454a7c
PA
70002014-08-21 Pedro Alves <palves@redhat.com>
7001
7002 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
7003 * gdb.base/gcore-relro-pie.exp: Likewise.
7004 * gdb.base/gcore-relro.exp: Likewise.
7005 * gdb.base/gcore.exp: Likewise.
7006 * gdb.base/print-symbol-loading.exp: Likewise.
7007 * gdb.threads/gcore-thread.exp: Likewise.
7008 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
7009
2a31c623
PA
70102014-08-20 Pedro Alves <palves@redhat.com>
7011 Jan Kratochvil <jan.kratochvil@redhat.com>
7012
7013 * Makefile.in (EXTRA_RULES, CC): New variables, get from
7014 configure.
7015 (EXPECT): Handle READ1 being set.
7016 (all): Depend on EXTRA_RULES.
7017 (check-read1, expect-read1, read1.so, read1): New rules.
7018 * README (Testsuite Parameters): Document the READ1 make variable.
7019 (Race detection): New section.
7020 * configure: Regenerate.
7021 * configure.ac: If build==host==target, and running under a
7022 GNU/glibc system, add read1 to the extra Makefile rules.
7023 (EXTRA_RULES): AC_SUBST it.
7024 * lib/read1.c: New file.
7025
d36430db
JB
70262014-08-20 Joel Brobecker <brobecker@adacore.com>
7027
7028 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
7029 the handling of variables declared as a typedef to an array
7030 which a DW_AT_data_location attribute.
7031
9a0dc9e3
PA
70322014-08-19 Andrew Burgess <aburgess@broadcom.com>
7033 Pedro Alves <palves@redhat.com>
7034
7035 PR symtab/14604
7036 PR symtab/14605
7037 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
7038 gdb_test.
7039
0718a8da
PA
70402014-08-19 Pedro Alves <palves@redhat.com>
7041
7042 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
7043
13b448cd
YQ
70442014-08-19 Yao Qi <yao@codesourcery.com>
7045
7046 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
7047 right line.
7048
1cbf5077
DB
70492014-08-18 David Blaikie <dblaikie@gmail.com>
7050
7051 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
7052
bf0fae19
JB
70532014-08-18 Joel Brobecker <brobecker@adacore.com>
7054
7055 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
7056 attribute in array range.
7057
3c8c5dcc
JB
70582014-08-18 Joel Brobecker <brobecker@adacore.com>
7059
7060 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
7061
e66d4446
SC
70622014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7063
7064 PR c++/17132
7065 * gdb.cp/pr17132.cc: New file.
7066 * gdb.cp/pr17132.exp: New file.
7067
940df408
SC
70682014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7069
7070 * gdb.python/py-xmethods.py (A_getarrayind)
7071 (E_method_char_worker.__call__, E_method_int_worker.__call__):
7072 Use 'print' with function call syntax.
7073 (E_method_matcher.match): Fix tab vs space indentation mixup.
7074
ebcc6c3a
YQ
70752014-08-15 Yao Qi <yao@codesourcery.com>
7076
7077 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
7078 false.
7079
775e0f04
YQ
70802014-08-15 Yao Qi <yao@codesourcery.com>
7081
7082 * gdb.cp/casts.exp: Set print symbol off.
7083 * gdb.cp/class2.exp: Likewise.
7084 * gdb.cp/overload.exp: Likewise.
7085 * gdb.cp/templates.exp: Likewise.
7086
d769e349
DE
70872014-08-11 Doug Evans <dje@google.com>
7088
7089 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
7090 (test_load_shlib): Update.
7091
20c6f1e1
YQ
70922014-08-09 Yao Qi <yao@codesourcery.com>
7093
7094 * gdb.base/display.exp: Invoke is_address_zero_readable.
7095 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
7096 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
7097 * gdb.base/hbreak-unmapped.exp: Return if
7098 is_address_zero_readable returns true.
7099 * gdb.base/signest.exp: Likewise.
7100 * gdb.base/signull.exp: Likewise.
7101 * gdb.base/sigbpt.exp: Likewise.
7102 * gdb.guile/scm-disasm.exp: Do the test if
7103 is_address_zero_readable returns false.
7104 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
7105 * gdb.python/py-arch.exp: Likewise.
7106 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
7107 * lib/gdb.exp (is_address_zero_readable): New proc.
7108
5792e8e3
YQ
71092014-08-09 Yao Qi <yao@codesourcery.com>
7110
7111 PR testsuite/13443
7112 * gdb.mi/mi-var-display.exp: Make test messages unique.
7113
3cecbbbe
TT
71142014-08-04 Tom Tromey <tromey@redhat.com>
7115
7116 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
7117 target 0".
7118
00b51ff5
TT
71192014-08-04 Tom Tromey <tromey@redhat.com>
7120
7121 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
7122 "target_resume".
7123
6908c509
JB
71242014-08-01 Joel Brobecker <brobecker@adacore.com>
7125
7126 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
7127 inner_vla_struct_object_size.
7128 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
7129 as xfail.
7130
cc6563d2
PA
71312014-07-30 Pedro Alves <palves@redhat.com>
7132
7133 * gdb.threads/signal-command-handle-nopass.exp (test): Add
7134 comment.
7135
7e09a223
YQ
71362014-07-29 Yao Qi <yao@codesourcery.com>
7137
7138 PR gdb/17206
7139 * gdb.base/until-nodebug.exp: New.
7140
7ebdbe92
DE
71412014-07-28 Doug Evans <xdje42@gmail.com>
7142
7143 PR guile/17203
7144 * gdb.guile/scm-parameter.exp: Add tests for trying to create
7145 previously existing parameter, and previously ambiguously spelled
7146 parameter.
7147
fdb1adc6
WN
71482014-07-28 Will Newton <will.newton@linaro.org>
7149
7150 * gdb.base/varargs.exp: Remove KFAILs for ARM.
7151
186fcde0
DE
71522014-07-26 Ludovic Courtès <ludo@gnu.org>
7153 Doug Evans <xdje42@gmail.com>
7154
7155 PR guile/17146
7156 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
7157
70509625
PA
71582014-07-25 Pedro Alves <palves@redhat.com>
7159
7160 * gdb.threads/signal-command-handle-nopass.c: New file.
7161 * gdb.threads/signal-command-handle-nopass.exp: New file.
7162 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
7163 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
7164 * gdb.threads/signal-delivered-right-thread.c: New file.
7165 * gdb.threads/signal-delivered-right-thread.exp: New file.
7166
c3f814a1
PA
71672014-07-25 Pedro Alves <palves@redhat.com>
7168
7169 * gdb.base/double-prompt-target-event-error.exp
7170 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
7171 match.
7172 (cancel_pagination_in_target_event): Rework double prompt
7173 detection.
7174 * gdb.base/paginate-after-ctrl-c-running.exp
7175 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
7176 <return>' match.
7177 * gdb.base/paginate-bg-execution.exp
7178 (test_bg_execution_pagination_return)
7179 (test_bg_execution_pagination_cancel): Remove '-notransfer
7180 <return>' matches.
7181 * gdb.base/paginate-execution-startup.exp
7182 (test_fg_execution_pagination_return)
7183 (test_fg_execution_pagination_cancel): Remove '-notransfer
7184 <return>' matches.
7185 * gdb.base/paginate-inferior-exit.exp
7186 (test_paginate_inferior_exited): Remove '-notransfer <return>'
7187 match.
7188 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
7189 * lib/gdb.exp (pagination_prompt): Run text through
7190 string_to_regexp.
7191 (gdb_test_multiple): Match $pagination_prompt instead of
7192 "<return>".
7193 (string_to_regexp): Move to lib/gdb-utils.exp.
7194
e214cf6c
JK
71952014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7196
7197 * gdb.arch/amd64-entry-value-paramref.S: New file.
7198 * gdb.arch/amd64-entry-value-paramref.cc: New file.
7199 * gdb.arch/amd64-entry-value-paramref.exp: New file.
7200 * gdb.arch/amd64-optimout-repeat.S: New file.
7201 * gdb.arch/amd64-optimout-repeat.c: New file.
7202 * gdb.arch/amd64-optimout-repeat.exp: New file.
7203
17d0c5c8
JK
72042014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7205
7206 PR gdb/17170
7207 * gdb.base/statistics.exp: New file.
7208
b8b8facf
DE
72092014-07-17 Doug Evans <dje@google.com>
7210
74b49205 7211 PR gdb/17170
b8b8facf
DE
7212 * gdb.base/maint.exp: Update testing of per-command stats.
7213
1b5d0ab3
PA
72142014-07-16 Pedro Alves <palves@redhat.com>
7215
7216 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
7217 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
7218 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
7219 (tfile_write_buf): New functions.
7220 (add_memory_block): Rewrite using the above.
7221 (adjust_function_address): New function.
7222 (FUNCTION_ADDRESS): New macro.
7223 (write_basic_trace_file): Remove short_x local, and use
7224 tfile_write_16. Change type of func_addr local to unsigned long
7225 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
7226 here. Cast argument of add_memory_block to char pointer.
7227 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
7228 (main): Remove parameters.
7229 * gdb.trace/tfile.exp: Remove nowarnings.
7230
4d974e88
SM
72312014-07-15 Simon Marchi <simon.marchi@ericsson.com>
7232
7233 * gdb.base/debug-expr.exp: Test string evaluation with
7234 "debug expression" on.
7235
41e99568
PA
72362014-07-15 Pedro Alves <palves@redhat.com>
7237
7238 * gdb.base/reread.exp: Use clean_restart.
7239
487d9753
PL
72402014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
7241
7242 * gdb.arch/avr-flash-qualifer.c: New.
7243 * gdb.arch/avr-flash-qualifer.exp: New.
7244
cc1c52ad
PA
72452014-07-14 Pedro Alves <palves@redhat.com>
7246
7247 * gdb.base/paginate-after-ctrl-c-running.c: New file.
7248 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
7249
1e973570
PA
72502014-07-14 Pedro Alves <palves@redhat.com>
7251
7252 * gdb.base/double-prompt-target-event-error.c: New file.
7253 * gdb.base/double-prompt-target-event-error.exp: New file.
7254
93d6eb10
PA
72552014-07-14 Pedro Alves <palves@redhat.com>
7256
7257 PR gdb/17072
7258 * gdb.base/paginate-inferior-exit.c: New file.
7259 * gdb.base/paginate-inferior-exit.exp: New file.
7260
0017922d
PA
72612014-07-14 Pedro Alves <palves@redhat.com>
7262
7263 PR gdb/17072
7264 * gdb.base/paginate-bg-execution.c: New file.
7265 * gdb.base/paginate-bg-execution.exp: New file.
7266
94696ad3
PA
72672014-07-14 Pedro Alves <palves@redhat.com>
7268
7269 PR gdb/17072
7270 * gdb.base/paginate-execution-startup.c: New file.
7271 * gdb.base/paginate-execution-startup.exp: New file.
7272 * lib/gdb.exp (pagination_prompt): New global.
7273 (default_gdb_spawn): New procedure, factored out from
7274 default_gdb_spawn.
7275 (default_gdb_start): Adjust to call default_gdb_spawn.
7276 (gdb_spawn): New procedure.
7277
bd293940
PA
72782014-07-14 Pedro Alves <palves@redhat.com>
7279
7280 * lib/gdb.exp (gdb_assert): New procedure.
7281 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
7282
c933f875
PA
72832014-07-14 Pedro Alves <palves@redhat.com>
7284
7285 * gdb.base/execution-termios.c: New file.
7286 * gdb.base/execution-termios.exp: New file.
7287
d98b7a16
TT
72882014-07-14 Tom Tromey <tromey@redhat.com>
7289
7290 * gdb.cp/vla-cxx.cc: New file.
7291 * gdb.cp/vla-cxx.exp: New file.
7292
548740d6
TT
72932014-07-14 Tom Tromey <tromey@redhat.com>
7294
7295 * gdb.reverse/rerun-prec.c: New file.
7296 * gdb.reverse/rerun-prec.exp: New file.
7297
a25eb028
MR
72982014-07-12 Maciej W. Rozycki <macro@mips.com>
7299 Maciej W. Rozycki <macro@codesourcery.com>
7300
7301 * lib/gdb-utils.exp: New file.
7302 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
7303 inline `gdb_init_command' processing.
7304 (gdb_start_cmd): Likewise.
7305 * lib/mi-support.exp (mi_run_cmd): Likewise.
7306 * README: Document `gdb_init_command' and `gdb_init_commands'.
7307
218c2655
JK
73082014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7309
7310 Fix false FAIL running under a very long directory name.
7311 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
7312 and "set print elements 10000". Twice.
7313
5401fde3
YQ
73142014-07-11 Yao Qi <yao@codesourcery.com>
7315
7316 * gdb.base/exprs.exp: "set print symbol off".
7317
e76126e8
PA
73182014-07-11 Pedro Alves <palves@redhat.com>
7319
7320 * gdb.threads/kill.c: New file.
7321 * gdb.threads/kill.exp: New file.
7322
2d6f0de6
YQ
73232014-07-10 Yao Qi <yao@codesourcery.com>
7324
7325 * gdb.trace/tfile.c (write_basic_trace_file)
7326 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7327 address written to trace file.
7328
7180e04a
PA
73292014-07-09 Pedro Alves <palves@redhat.com>
7330
7331 * gdb.base/attach-wait-input.exp: New file.
7332 * gdb.base/attach-wait-input.c: New file.
7333
9a9a7608
AB
73342014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7335
7336 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7337 setting up test structures.
7338 (main): Call new test function.
7339 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7340 test function, continue into test function and walk test
7341 structures.
7342
161ac41e
YQ
73432014-07-02 Yao Qi <yao@codesourcery.com>
7344
7345 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7346 'bar_start' at the beginning of functions 'foo' and 'bar'
7347 respectively.
7348 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7349 instead of 'foo' and 'bar'.
7350
1f267ae3
MM
73512014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7352
7353 * gdb.btrace/segv.exp: New.
7354 * gdb.btrace/segv.c: New.
7355
2b239efb
LM
73562014-07-02 Luis Machado <lgustavo@codesourcery.com>
7357
7358 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7359 instruction.
7360
cf363f18
MW
73612014-06-30 Mark Wielaard <mjw@redhat.com>
7362
7363 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7364 vulture, vilify, villar): New volatile array constants.
7365 (vindictive, vegetation): New const volatile array constants.
7366 * gdb.base/volatile.exp: Test volatile and const volatile array
7367 types.
7368
aebf9d24
AA
73692014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7370
7371 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7372 target lacks support for awatch, rwatch, or hbreak.
7373
b67a2c6f
YQ
73742014-06-27 Yao Qi <yao@codesourcery.com>
7375
7376 * gdb.multi/dummy-frame-restore.exp: New.
7377 * gdb.multi/dummy-frame-restore.c: New.
7378
aef92902
MM
73792014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7380
7381 * gdb.btrace/gcore.exp: New.
7382
8e9db26e
PA
73832014-06-23 Pedro Alves <palves@redhat.com>
7384
7385 * gdb.base/watchpoint-reuse-slot.c: New file.
7386 * gdb.base/watchpoint-reuse-slot.exp: New file.
7387
70afc5b7
SC
73882014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7389
7390 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7391 progspace's filename in 'info', 'enable' and 'disable' command
7392 tests.
7393
b972bd9c
JK
73942014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7395
7396 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7397 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7398 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7399
125f8a3d
GB
74002014-06-20 Gary Benson <gbenson@redhat.com>
7401
7402 * gdb.arch/i386-avx.exp: Fix include file location.
7403 * gdb.arch/i386-sse.exp: Likewise.
7404
3ed9baed
IB
74052014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7406
7407 * gdb.dlang/expression.exp: New file.
7408
034f788c
PA
74092014-06-19 Pedro Alves <palves@redhat.com>
7410
7411 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7412 out from ...
7413 (top level): ... here. Iterate running tests under different
7414 scheduler-locking settings.
7415
45371d0c
LM
74162014-06-18 Luis Machado <lgustavo@codesourcery.com>
7417
7418 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7419 to DW_FORM_addr and use non-zero addresses.
7420
5d376983
SC
74212014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7422
7423 PR gdb/17017
7424 * gdb.python/py-xmethods.cc: Add global function call counters and
7425 increment them in their respective functions. Remove "cout"
7426 statements.
7427 * gdb.python/py-xmethods.exp: Make tests check the global function
7428 call counters instead of depending on inferior IO.
7429
a1aa2221
LM
74302014-06-18 Don Breazeal <donb@codesourcery.com>
7431
7432 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7433 Deleted procedure.
7434 (explicit_fork_parent_follow): Deleted procedure.
7435 (explicit_fork_child_follow): Deleted procedure.
7436 (test_follow_fork): New procedure.
7437 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 7438 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
7439 procedure calls.
7440
0fc05997
YQ
74412014-06-17 Yao Qi <yao@codesourcery.com>
7442
7443 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7444 CP1252.
7445
70795c52
LM
74462014-06-17 Luis Machado <lgustavo@codesourcery.com>
7447
7448 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7449 Initialize ptr and S explicitly.
7450 (skip_type_update_when_not_use_rtti_test): Likewise.
7451
6be47f0c
KS
74522014-06-16 Keith Seitz <keiths@redhat.com>
7453
7454 PR mi/15863
7455 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7456 the inferior is started.
7457
d03de421
PA
74582014-06-16 Pedro Alves <palves@redhat.com>
7459
7460 * gdb.base/break-main-file-remove-fail.c: New file.
7461 * gdb.base/break-main-file-remove-fail.exp: New file.
7462 * gdb.base/break-unload-file.exp: Use build_executable instead of
7463 prepare_for_testing.
7464 (test_break): New parameter "initial_load". Handle it.
7465 (top level): Add initial_load cmdline/file axis.
7466
f9579b99
TT
74672014-06-12 Tom Tromey <tromey@redhat.com>
7468
7469 * gdb.base/completion.exp: Don't use directory name in test.
7470
3657956b
GB
74712014-06-09 Gary Benson <gbenson@redhat.com>
7472
7473 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7474 separate the always-available ANSI-standard signals from the
7475 signals that require checking.
7476 (main): Likewise.
7477 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7478 Likewise.
7479 (main): Likewise.
7480
4186eb54
KS
74812014-06-07 Keith Seitz <keiths@redhat.com>
7482
7483 Revert:
7484 PR c++/16253
7485 * gdb.cp/var-tag.cc: New file.
7486 * gdb.cp/var-tag.exp: New file.
7487 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7488 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7489 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7490 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7491
25326a28 74922014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
7493
7494 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7495
829155c9
PA
74962014-06-06 Pedro Alves <palves@redhat.com>
7497
7498 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7499 in target debug output instead of looking at RSP packets,
7500 disabling the test on any target that uses hardware stepping.
7501 Update comments.
7502
61c8d22e
PA
75032014-06-06 Pedro Alves <palves@redhat.com>
7504
7505 * gdb.base/break-unload-file.exp: Fix typo.
7506
d9a47287
YQ
75072014-06-06 Yao Qi <yao@codesourcery.com>
7508
7509 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7510 from "jit_function" to "^jit_function".
7511
e5e01dbf
YQ
75122014-06-06 Yao Qi <yao@codesourcery.com>
7513
7514 * gdb.base/async.c (foo): Add one statement.
7515 * gdb.base/async.exp: Get the next instruction address and
7516 match the output of "nexti" by instruction address. Match
7517 the hex address in the output of "finish".
7518
73ba372c
GB
75192014-06-06 Gary Benson <gbenson@redhat.com>
7520
7521 * gdb.base/call-signals.c: Remove preprocessor conditionals
7522 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7523 SIGSEGV and SIGTERM.
7524 * gdb.base/sigall.c: Likewise.
7525 * gdb.base/unwindonsignal.c: Likewise.
7526 * gdb.reverse/sigall-reverse.c: Likewise.
7527
831517df
YQ
75282014-06-06 Yao Qi <yao@codesourcery.com>
7529
7530 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7531 readable, skip the test.
7532
b8b91e98
YQ
75332014-06-06 Yao Qi <yao@codesourcery.com>
7534
7535 * gdb.threads/staticthreads.c (thread_function): Move the line
7536 setting breakpoint on forward.
7537 * gdb.threads/staticthreads.exp: Update comments.
7538
fb934770
LC
75392014-06-05 Ludovic Courtès <ludo@gnu.org>
7540
7541 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7542 "history-append! type error".
7543
6ef284bd
SM
75442014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7545
7546 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7547 erroneous dprintf expected input.
7548
a872e241
DE
75492014-06-04 Doug Evans <xdje42@gmail.com>
7550
7551 * gdb.guile/scm-generics.exp: Delete.
7552
16f691fb
DE
75532014-06-04 Doug Evans <xdje42@gmail.com>
7554
7555 * gdb.guile/scm-breakpoint.exp: Update.
7556 Add tests for breakpoint registration.
7557
012370f6
TT
75582014-06-04 Tom Tromey <tromey@redhat.com>
7559
7560 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7561 VLA-in-union.
7562 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7563 inner_vla_struct, vla_union types. Initialize objects of those
7564 types and compute their sizes.
7565
9f5a4cef
HZ
75662014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7567 Hui Zhu <hui@codesourcery.com>
7568
7569 * gdb.base/fileio.exp: Add test for shell not available as well as
7570 available.
7571 * gdb.base/fileio.c (test_system): Check for shell twice.
7572
90a45c4d
YQ
75732014-06-04 Yao Qi <yao@codesourcery.com>
7574
7575 * gdb.base/auto-connect-native-target.exp: Remove redundant
7576 space from the regexp pattern.
7577
70017e41
YQ
75782014-06-04 Yao Qi <yao@codesourcery.com>
7579
7580 * gdb.base/default.exp: Replace "child" with "native" in
7581 regexp pattern.
7582
883964a7
SC
75832014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7584
7585 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7586 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7587 * gdb.python/py-xmethods.py: Python script supporting the
7588 new testcase and tests.
7589
ef370185
JB
75902014-06-03 Joel Brobecker <brobecker@adacore.com>
7591 Pedro Alves <palves@redhat.com>
7592
7593 PR breakpoints/17000
7594 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7595 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7596
1e2ccb61
BM
75972014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7598
7599 * gdb.base/subst.exp: Add tests to verify partial path matching
7600 output.
7601
c6ec5ab2
PA
76022014-06-03 Pedro Alves <palves@redhat.com>
7603
7604 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7605 target that doesn't use software single-stepping.
7606
835c559f
PA
76072014-06-03 Pedro Alves <palves@redhat.com>
7608
7609 PR breakpoints/17000
7610 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7611 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7612
06eb1586
DE
76132014-06-02 Doug Evans <xdje42@gmail.com>
7614
7615 * gdb.guile/scm-parameter.exp: New file.
7616
e698b8c4
DE
76172014-06-02 Doug Evans <xdje42@gmail.com>
7618
7619 * gdb.guile/scm-cmd.c: New file.
7620 * gdb.guile/scm-cmd.exp: New file.
7621
ded03782
DE
76222014-06-02 Doug Evans <xdje42@gmail.com>
7623
7624 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7625 pretty-printer lookup.
7626 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7627 (make-pp_s-printer): Call it.
7628 (make-pretty-printer-from-dict): New function.
7629 (lookup-pretty-printer-maker-from-dict): New function.
7630 (*pretty-printer*): Simplify.
7631 (make-objfile-pp_s-printer): New function.
7632 (install-objfile-pretty-printers!): New function.
7633 (make-progspace-pp_s-printer): New function.
7634 (install-progspace-pretty-printers!): New function.
7635 * gdb.guile/scm-progspace.c: New file.
7636 * gdb.guile/scm-progspace.exp: New file.
7637
41fac0cf
PA
76382014-06-02 Pedro Alves <palves@redhat.com>
7639
7640 * gdb.base/dprintf-bp-same-addr.c: New file.
7641 * gdb.base/dprintf-bp-same-addr.exp: New file.
7642
96ae5695
EBM
76432014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7644
7645 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7646 * gdb.arch/powerpc-power.s: Likewise.
7647
da02b3a8
JB
76482014-06-02 Joel Brobecker <brobecker@adacore.com>
7649
7650 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7651
c72b2e7b
YQ
76522014-06-01 Yao Qi <yao@codesourcery.com>
7653
7654 * gdb.base/watchpoint.exp (test_watch_location): Check null
7655 pointer can be dereferenced. If not, do the test, otherwise
7656 skip it.
7657
53e8a631
AB
76582014-05-30 Andrew Burgess <aburgess@broadcom.com>
7659
7660 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7661 results.
7662 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7663
938f0e2f
AB
76642014-05-30 Andrew Burgess <aburgess@broadcom.com>
7665
7666 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7667 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7668 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7669 * gdb.arch/amd64-invalid-stack-top.c: New file.
7670 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7671
9ba6657a
PA
76722014-05-30 Pedro Alves <palves@redhat.com>
7673
7674 PR breakpoints/17000
7675 * gdb.base/sss-bp-on-user-bp.c: New file.
7676 * gdb.base/sss-bp-on-user-bp.exp: New file.
7677
522c09bf
DB
76782014-05-30 David Blaikie <dblaikie@gmail.com>
7679
7680 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7681 gnu_inline semantics via attribute.
7682 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7683 source explicitly specifies the required semantics.
7684
bf4ef81e
MR
76852014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7686
7687 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7688
329ea579
PA
76892014-05-29 Pedro Alves <palves@redhat.com>
7690 Tom Tromey <tromey@redhat.com>
7691
7692 * gdb.base/async-shell.exp: Don't enable target-async.
7693 * gdb.base/async.exp
7694 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7695 parameter. Adjust.
7696 (top level): Don't test with "target-async".
7697 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7698 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7699 * gdb.base/inferior-died.exp: Don't enable target-async.
7700 * gdb.base/interrupt-noterm.exp: Likewise.
7701 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7702 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7703 * gdb.mi/mi-nonstop.exp: Likewise.
7704 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7705 * gdb.mi/mi-nsintrall.exp: Likewise.
7706 * gdb.mi/mi-nsmoribund.exp: Likewise.
7707 * gdb.mi/mi-nsthrexec.exp: Likewise.
7708 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7709 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7710 * gdb.python/py-evsignal.exp: Don't enable target-async.
7711 * gdb.python/py-evthreads.exp: Likewise.
7712 * gdb.python/py-prompt.exp: Likewise.
7713 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7714 * gdb.server/solib-list.exp: Don't enable target-async.
7715 * gdb.threads/thread-specific-bp.exp: Likewise.
7716 * lib/mi-support.exp: Adjust to use mi-async.
7717
fd664c91
PA
77182014-05-29 Pedro Alves <palves@redhat.com>
7719
7720 PR gdb/13860
7721 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7722 reason, even in sync mode.
7723
251bde03
PA
77242014-05-29 Pedro Alves <palves@redhat.com>
7725 Hui Zhu <hui@codesourcery.com>
7726
7727 PR PR15693
7728 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7729 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7730 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7731 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7732
7f3c0343
JB
77332014-05-28 Joel Brobecker <brobecker@adacore.com>
7734
7735 * config/monitor.exp (gdb_target_monitor): Replace use of
7736 "set remotebaud" by "set serial baud".
7737
b2715b27
AW
77382014-05-26 Andy Wingo <wingo@igalia.com>
7739
7740 * gdb.guile/scm-breakpoint.exp:
7741 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7742 properties instead of gdb-object-properties.
7743
498a4489
YQ
77442014-05-26 Yao Qi <yao@codesourcery.com>
7745
7746 * gdb.server/no-thread-db.exp: Specify source file name
7747 explicitly when setting a breakpoint.
7748
589fdceb
MM
77492014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7750
7751 * gdb.btrace/vdso.c: New.
7752 * gdb.btrace/vdso.exp: New.
7753
e9089e05
MM
77542014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7755
7756 * gdb.base/gcore.exp (capture_command_output): Move ...
7757 * lib/gdb.exp (capture_command_output): ... here.
7758
67b5c0c1
MM
77592014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7760
7761 * gdb.btrace/data.exp: Test memory access during btrace replay.
7762
a2199296
SM
77632014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7764
7765 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7766
17b2616c
PA
77672014-05-21 Pedro Alves <palves@redhat.com>
7768
7769 PR gdb/13860
7770 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7771 (top level): Test that output related to execution commands is
7772 sent to the console with CLI commands, but not with MI commands.
7773 Test that breakpoint events are always mirrored to the console.
7774 Also expect the new source line to be output after a "next" in
7775 async mode too. Make it a pass/fail test.
7776 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7777 output.
7778 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7779
5166082f
PA
77802014-05-21 Pedro Alves <palves@redhat.com>
7781
7782 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7783 Use them to test variations of "list" after reaching a breakpoint.
7784 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7785 Test "list" with listsize 10 after reaching a breakpoint.
7786 * gdb.python/python.exp (decode_line current location line
7787 number): Adjust expected line number.
7788
2f25d70f
SM
77892014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7790
7791 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7792 behavior for $args, pass it directly to "run".
7793
ff604a67
MR
77942014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7795
7796 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7797 30000 to 65536.
7798
6a3cb8e8
PA
77992014-05-21 Pedro Alves <palves@redhat.com>
7800
7801 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7802 auto-connect-native-target off".
7803 * gdb.base/auto-connect-native-target.c: New file.
7804 * gdb.base/auto-connect-native-target.exp: New file.
7805
4ebfc96e
PA
78062014-05-21 Pedro Alves <palves@redhat.com>
7807
7808 * gdb.base/default.exp: Test "target native" instead of "target
7809 child".
7810
36d46afb
MW
78112014-05-21 Mark Wielaard <mjw@redhat.com>
7812
7813 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7814
5876f503
JK
78152014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7816
7817 Fix TLS access for -static -pthread.
7818 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7819 <HAVE_TLS> (thread_function, main): Initialize it.
7820 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7821 Add clean_restart.
7822 <$have_tls != "">: Check TLSVAR.
7823
0256a6ac
PA
78242014-05-21 Pedro Alves <palves@redhat.com>
7825
7826 * gdb.base/dcache-line-read-error.c: New.
7827 * gdb.base/dcache-line-read-error.exp: New.
7828
936d2992
PA
78292014-05-20 Pedro Alves <palves@redhat.com>
7830
7831 * gdb.base/compare-sections.c: New file.
7832 * gdb.base/compare-sections.exp: New file.
7833
802e8e6d
PA
78342014-05-20 Pedro Alves <palves@redhat.com>
7835
7836 * gdb.base/break-idempotent.c: New file.
7837 * gdb.base/break-idempotent.exp: New file.
7838
e59fa00f
MM
78392014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7840
7841 * gdb.btrace/nohist.exp: New.
7842
8b696e31
YQ
78432014-05-20 Yao Qi <yao@codesourcery.com>
7844
7845 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7846 gdb.reverse directory and gdb_reverse_timeout exists in board
7847 setting.
7848 * README: Document gdb_reverse_timeout.
7849
73c9764f
YQ
78502014-05-20 Yao Qi <yao@codesourcery.com>
7851
7852 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7853 'test_file_name'. Treat args as a string instead of a list.
7854 (gdb_init): Rename argument 'args' by 'test_file_name'.
7855
f1f4348a
JK
78562014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7857
7858 * gdb.arch/powerpc-power.exp: New file.
7859 * gdb.arch/powerpc-power.s: New file.
7860
0dbe70ce
DE
78612014-05-16 Doug Evans <dje@google.com>
7862
7863 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
7864 * gdb.base/completion.exp: Check that all expected files exist
7865 before doing file completion.
0dbe70ce 7866
8d551b02
DE
78672014-05-16 Doug Evans <dje@google.com>
7868
7869 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7870 Update.
7871 (do_syscall_tests_without_xml): Update.
7872
73eb7709
PA
78732014-05-16 Pedro Alves <palves@redhat.com>
7874
7875 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7876 instead of "unknown output after running".
7877
3fae92fc
YQ
78782014-05-16 Yao Qi <yao@codesourcery.com>
7879
7880 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7881 file1.txt from host at the end.
7882 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7883
c2b2ccc5
DE
78842014-05-15 Doug Evans <dje@google.com>
7885
7886 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7887 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7888 loading file. Add test for TU lookup.
7889
8c217a4b
SM
78902014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7891
7892 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7893 calling "-exec-arguments" or "set args" before running the
7894 inferior.
7895
3deb39c6
SM
78962014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7897
7898 * lib/mi-support.exp (mi_expect_stop): Expect message for
7899 inferiors that exit with non-zero exit code.
7900
71a79f8c
YQ
79012014-05-14 Yao Qi <yao@codesourcery.com>
7902
7903 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7904 match absolute path on remote host.
7905 (test_file_list_exec_source_files): Remove "/" from the
7906 pattern.
7907
f23fcd46
YQ
79082014-05-14 Yao Qi <yao@codesourcery.com>
7909
7910 * boards/local-remote-host-notty.exp (${board}_file): New
7911 proc.
7912
9404b58f
KM
79132014-05-07 Kyle McMartin <kyle@redhat.com>
7914
7915 Pushed by Joel Brobecker <brobecker@adacore.com>.
7916 * gdb.arch/aarch64-atomic-inst.c: New file.
7917 * gdb.arch/aarch64-atomic-inst.exp: New file.
7918
5e45f04c
YQ
79192014-05-07 Yao Qi <yao@codesourcery.com>
7920
7921 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7922 in current context" too.
7923
c888a17d
KS
79242014-05-05 Keith Seitz <keiths@redhat.com>
7925
7926 * gdb.linespec/ls-dollar.exp: Add test for linespec
7927 file:convenience_variable.
7928
290a839c
YQ
79292014-05-05 Yao Qi <yao@codesourcery.com>
7930
7931 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7932 traceframes into tfile and ctf trace files. Read data from
7933 trace file and test collected data.
7934 (gdb_collect_locals_test): Likewise.
7935 (gdb_unavailable_registers_test): Likewise.
7936 (gdb_unavailable_floats): Likewise.
7937 (gdb_collect_globals_test): Likewise.
7938 (top-level): Append "ctf" to trace_file_targets if GDB
7939 supports.
7940
b5262cd0
YQ
79412014-05-05 Yao Qi <yao@codesourcery.com>
7942
7943 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7944 code to ...
7945 (gdb_collect_args_test_1): ... it. New proc.
7946 (gdb_collect_locals_test): Move some code to ...
7947 (gdb_collect_locals_test_1): ... it. New proc.
7948 (gdb_unavailable_registers_test): Move some code to ...
7949 (gdb_unavailable_registers_test_1): ... it. New proc.
7950 (gdb_unavailable_floats): Move some code to ...
7951 (gdb_unavailable_floats_1): ... it. New proc.
7952
30a1e6cc
SDJ
79532014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7954
7955 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7956 probes to test for bitness recognition.
7957 * gdb.arch/amd64-stap-optional-prefix.exp
7958 (test_probe_value_without_reg): New procedure.
7959 Add code to test for different kinds of bitness.
7960
f33da99a
SDJ
79612014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7962
7963 PR breakpoints/16889
7964 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7965 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7966
5b80f00d
PA
79672014-05-01 Pedro Alves <palves@redhat.com>
7968
7969 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7970 gdb_file_cmd if no file is specified.
7971 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7972 last_loaded_file to set the remote exec-file.
7973
f8c2a73c
PA
79742014-05-01 Pedro Alves <palves@redhat.com>
7975
7976 * boards/local-remote-host.exp: New file.
7977
be6e8ac7
PA
79782014-05-01 Pedro Alves <palves@redhat.com>
7979
7980 * boards/local-remote-host.exp: Rename to ...
7981 * boards/local-remote-host-notty.exp: ... this.
7982
cac0dc8f
JB
79832014-04-28 Joel Brobecker <brobecker@adacore.com>
7984
7985 * gdb.ada/dyn_arrayidx: New testcase.
7986
9730e6cc
YQ
79872014-04-26 Yao Qi <yao@codesourcery.com>
7988
7989 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7990 and compute the length of function main. Save it in
7991 $main_length.
7992 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7993 (top-level): Use gdb_compile to compile objects into
7994 executable and restart GDB. Remove invocation to
7995 prepare_for_testing.
7996
7ae1a6a6
PA
79972014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7998 Pedro Alves <palves@redhat.com>
7999
8000 PR server/16255
8001 * gdb.multi/multi-attach.c: New file.
8002 * gdb.multi/multi-attach.exp: New file.
8003
4082afcc
PA
80042014-04-25 Pedro Alves <palves@redhat.com>
8005
8006 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
8007 user.
8008 (top level): Test that "set remote conditional-breakpoints-packet
8009 off" works as intended.
8010 * gdb.base/dprintf.exp: Test that "set remote
8011 breakpoint-commands-packet off" works as intended.
8012 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
8013 New function.
8014 (top level): Call it.
8015 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
8016 remote fast-tracepoints-packet off" works as intended.
8017 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
8018 * lib/gdb.exp (gdb_is_target_remote): ... here.
8019
2abc3f8d
DB
80202014-04-24 David Blaikie <dblaikie@gmail.com>
8021
8022 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
8023 ensure clang would not discard them.
8024 * gdb.base/gdbvars.c: Ditto.
8025 * gdb.base/memattr.c: Ditto.
8026 * gdb.base/whatis.c: Ditto.
8027 * gdb.python/py-prettyprint.c: Ditto.
8028 * gdb.trace/actions.c: Ditto.
8029 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
8030 ensure clang would not discard it.
8031
bfd39632
DB
80322014-04-24 David Blaikie <dblaikie@gmail.com>
8033
8034 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
8035 clang to emit the full definition of type required by the test
8036 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
8037
22842ff6
DB
80382014-04-24 David Blaikie <dblaikie@gmail.com>
8039
8040 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
8041 coax Clang into emitting the definition of the type.
8042 * gdb.cp/pr10728-x.h (y): Ditto.
8043 * gdb.cp/pr10728-y.cc (y): Ditto.
8044
c2e827ad
DB
80452014-04-24 David Blaikie <dblaikie@gmail.com>
8046
8047 * gdb.base/label.exp: XFAIL label related tests under Clang.
8048 * gdb.cp/cplabel.exp: Ditto.
8049 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
8050 under Clang those using labels.
8051
4c2d33e7
YQ
80522014-04-25 Yao Qi <yao@codesourcery.com>
8053
8054 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
8055 double_label.
8056 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
8057 partial_label and double_label.
8058
56083b99
DB
80592014-04-24 David Blaikie <dblaikie@gmail.com>
8060
8061 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
8062
25d4e99d
DB
80632014-04-24 David Blaikie <dblaikie@gmail.com>
8064
8065 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
8066 of the function to work across GCC and Clang.
8067 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
8068 pointer types (const void ** const V void **).
8069
01f9f808
MS
80702014-04-24 Michael Sturm <michael.sturm@mintel.com>
8071 Walfred Tedeschi <walfred.tedeschi@intel.com>
8072
8073 * Makefile.in (EXECUTABLES): Added i386-avx512.
8074 * gdb.arch/i386-avx512.c: New file.
8075 * gdb.arch/i386-avx512.exp: Likewise.
8076
4b48d439
KS
80772014-04-23 Keith Seitz <keiths@redhat.com>
8078
8079 * lib/mi-support.exp (mi_list_breakpoints): Delete.
8080 (mi_make_breakpoint_table): New procedure.
8081 (mi_create_breakpoint): Use mi_make_breakpoint
8082 and return the result.
8083 (mi_make_breakpoint): New procedure.
8084 (mi_build_kv_pairs): New procedure.
8085
8086 * gdb.mi/mi-break.exp: Remove unused globals,
8087 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
8088 All callers updated.
8089 * gdb.mi/mi-dprintf.exp: Use variable to track command
8090 number.
8091 Update all callers of mi_create_breakpoint and use
8092 mi_make_breakpoint_table.
8093 Remove any unused global variables.
8094 * gdb.mi/mi-nonstop.exp: Likewise.
8095 * gdb.mi/mi-nsintrall.exp: Likewise.
8096 * gdb.mi/mi-nsmoribund.exp: Likewise.
8097 * gdb.mi/mi-nsthrexec.exp: Likewise.
8098 * gdb.mi/mi-reverse.exp: Likewise.
8099 * gdb.mi/mi-simplerun.exp: Likewise.
8100 * gdb.mi/mi-stepn.exp: Likewise.
8101 * gdb.mi/mi-syn-frame.exp: Likewise.
8102 * gdb.mi/mi-until.exp: Likewise.
8103 * gdb.mi/mi-var-cp.exp: Likewise.
8104 * gdb.mi/mi-var-display.exp: Likewise.
8105 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
8106 * gdb.mi/mi2-var-child.exp: Likewise.
8107 * gdb.mi/mi-vla-c99.exp: Likewise.
8108 * lib/mi-support.exp: Likewise.
8109
8110 From Ian Lance Taylor <iant@cygnus.com>:
8111 * lib/gdb.exp (parse_args): New procedure.
8112
08351840
PA
81132014-04-23 Pedro Alves <palves@redhat.com>
8114
8115 * gdb.base/break-unload-file.c: New file.
8116 * gdb.base/break-unload-file.exp: New file.
8117 * gdb.base/sym-file-lib.c (baz): New function.
8118 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
8119 field.
8120 (load): Store the segment's mapped size.
8121 (unload): New function.
8122 (unload_shlib): New function.
8123 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
8124 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
8125 set a breakpoint at baz, and call it.
8126 * gdb.base/sym-file.exp: New tests for stale breakpoint
8127 instructions.
8128
076855f9
PA
81292014-04-23 Pedro Alves <palves@redhat.com>
8130
8131 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
8132 * gdb.base/hbreak-in-shr-unsupported.c: New file.
8133 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
8134 * gdb.base/hbreak-unmapped.c: New file.
8135 * gdb.base/hbreak-unmapped.exp: New file.
8136 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
8137 * lib/gdb.exp (gdb_is_target_remote): ... here.
8138
483805cf
PA
81392014-04-22 Pedro Alves <palves@redhat.com>
8140
8141 * gdb.base/consecutive-step-over.c: New file.
8142 * gdb.base/consecutive-step-over.exp: New file.
8143
06d97543
PA
81442014-04-22 Pedro Alves <palves@redhat.com>
8145
8146 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
8147 instead of send_gdb/gdb_expect.
8148
b4429ea2
YQ
81492014-04-22 Yao Qi <yao@codesourcery.com>
8150
8151 * lib/trace-support.exp (generate_tracefile): New procedure.
8152 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
8153 return 0.
8154 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
8155 if generate_tracefile returns 1.
8156
51d48146
PA
81572014-04-18 Tom Tromey <palves@redhat.com>
8158 Pedro alves <tromey@redhat.com>
8159
8160 PR backtrace/15558
8161 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
8162 with a backtrace limit.
8163 * gdb.python/py-frame-inline.exp: Test running to an inline
8164 function with a backtrace limit, and printing the newest frame.
8165 * gdb.python/py-frame-inline.c (main): Call f.
8166
bd1dce5f
MS
81672014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8168
8169 * gdb.java/jnpe.exp: Drop srcdir from untested path.
8170
40d1a503
MS
81712014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8172
8173 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
8174 Drop prefix from unsupported source file path.
8175
389b98f7
YQ
81762014-04-17 Yao Qi <yao@codesourcery.com>
8177
8178 * lib/gdb.exp (with_target_charset): New proc.
8179 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
8180 with_target_charset.
8181 (test_print_strings): Likewise.
8182 (test_repeat_bytes): Likewise.
8183 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
8184 for some tests.
8185
22869d73
KS
81862014-04-16 Keith Seitz <keiths@redhat.com>
8187
8188 PR gdb/15827
8189 * gdb.dwarf2/corrupt.c: New file.
8190 * gdb.dwarf2/corrupt.exp: New file.
8191
c4f87ca6
KS
81922014-04-16 Keith Seitz <keiths@redhat.com>
8193
8194 PR c++/16597
8195 * gdb.cp/namelessclass.cc: New file.
8196 * gdb.cp/namelessclass.exp: New file.
8197 * gdb.cp/namelessclass.S: New file.
8198
ab19de87
DE
81992014-04-16 Doug Evans <dje@google.com>
8200
8201 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
8202 Add comment.
8203 (gdbserver_default_get_comm_port): New function.
8204 (gdbserver_start): Check if board file provided
8205 "gdbserver,get_comm_port" and use it if so.
8206 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
8207 (gdb,socketport): Set to "stdio".
8208 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
8209 (stdio_gdbserver_template): Delete.
8210 (${board}_get_remote_address): Update.
8211 (${board}_build_remote_cmd): Delete.
8212 (${board}_get_comm_port): New function.
8213 (${board}_spawn): Update.
8214 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
8215 Delete.
8216 (${board}_get_remote_address): Update.
8217 (${board}_get_comm_port): New function.
8218
fc98a809
AB
82192014-04-16 Andrew Burgess <aburgess@broadcom.com>
8220
8221 * gdb.base/memattr.exp: Improve regexps to handle memory regions
8222 appearing in any order.
8223
87fd9e6e
DE
82242014-04-15 Doug Evans <dje@google.com>
8225
8226 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
8227 uninitialized value of "description".
8228
099fc3ea
KS
82292014-04-15 Keith Seitz <keiths@redhat.com>
8230
8231 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
8232 Remove unused globals.
8233 (test_running_the_program): Likewise.
8234 (test_controlled_execution): Likewise.
8235 (test_controlling_breakpoints): Likewise.
8236 (test_program_termination): Likewise.
8237
5da151d4
KS
82382014-04-15 Keith Seitz <keiths@redhat.com>
8239
8240 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
8241 unused globals.
8242 (test_rbreak_creation_and_listing): Likewise.
8243 (test_ignore_count): Likewise.
8244 (test_error): Likewise.
8245
35e5d2f0
PA
82462014-04-15 Pedro Alves <palves@redhat.com>
8247
8248 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
8249 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
8250 sym-file-loader.c.
8251 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8252 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8253 to sym-file-loader.c.
8254 (struct library): Forward declare.
8255 (load_shlib, lookup_function): Change prototypes.
8256 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8257 (translate_offset): Remove declarations.
8258 (get_text_addr): New declaration.
8259 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
8260 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
8261 sym-file-loader.h.
8262 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8263 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8264 here from sym-file-loader.h.
8265 (struct library): New structure.
8266 (load_shlib, lookup_function): Change prototypes and adjust to
8267 work with a struct library.
8268 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8269 (translate_offset): Make static.
8270 (get_text_addr): New function.
8271 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
8272
eb4c1710
PA
82732014-04-15 Pedro Alves <palves@redhat.com>
8274
8275 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
8276
2d1baf52
PA
82772014-04-15 Pedro Alves <palves@redhat.com>
8278
8279 * gdb.base/sym-file-loader.c: Include <limits.h>.
8280 (SELF_LINK): New define.
8281 (get_origin): New function.
8282 (load_shlib): Use it.
8283 * gdb.base/sym-file.exp: Don't early return if the target is
8284 remote. Use runto_main, and issue fail is that fails. Use
8285 gdb_load_shlibs.
8286 (shlib_name): Delete.
8287 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
8288
7dd6df01
PA
82892014-04-15 Pedro Alves <palves@redhat.com>
8290
8291 * gdb.base/sym-file.exp: Remove regex characters from test
8292 message. Don't refer to breakpoint numbers in test messages.
8293
b50c8614
KS
82942014-04-14 Keith Seitz <keiths@redhat.com>
8295
8296 PR c++/16253
8297 * gdb.cp/var-tag.cc: New file.
8298 * gdb.cp/var-tag.exp: New file.
8299 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8300 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8301 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8302 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8303
3d567982
TT
83042014-04-14 Tom Tromey <tromey@redhat.com>
8305
8306 * gdb.cp/classes.exp (test_enums): Handle underlying type.
8307 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
8308 type.
8309 * gdb.cp/enum-class.exp: New file.
8310 * gdb.cp/enum-class.cc: New file.
8311
0626fc76
TT
83122014-04-14 Tom Tromey <tromey@redhat.com>
8313
8314 * gdb.dwarf2/enum-type.exp: New file.
8315
dca325b3
SA
83162014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8317
8318 * gdb.mi/mi-vla-c99.exp: New file.
8319 * gdb.mi/vla.c: New file.
8320
5854b38a
SA
83212014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8322
8323 * gdb.base/vla-datatypes.c: New file.
8324 * gdb.base/vla-datatypes.exp: New file.
8325
463bb957
SA
83262014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8327
8328 * gdb.base/vla-ptr.c: New file.
8329 * gdb.base/vla-ptr.exp: New file.
8330
3dd170be
SA
83312014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8332
8333 * gdb.dwarf2/count.exp: New file.
8334
5ecaaa66
SA
83352014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8336
8337 * gdb.base/vla-sideeffect.c: New file.
8338 * gdb.base/vla-sideeffect.exp: New file.
8339
41f1ada5
DB
83402014-04-14 David Blaikie <dblaikie@gmail.com>
8341
8342 * gdb.mi/non-stop.c: Add return value for non-void function return
8343 statement.
8344 * gdb.threads/staticthreads.c: Ditto.
8345
0be03e84
DE
83462014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8347 Doug Evans <xdje42@gmail.com>
8348
8349 * gdb.guile/scm-value.c: Improve test case.
8350 * gdb.guile/scm-value.exp: Add new test.
8351
f180a1fb
DB
83522014-04-11 David Blaikie <dblaikie@gmail.com>
8353
8354 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8355 override Clang's default.
8356
6b662e19
JB
83572014-04-11 Joel Brobecker <brobecker@adacore.com>
8358
8359 Revert the following changes (regressions):
8360
8361 * gdb.base/vla-sideeffect.c: New file.
8362 * gdb.base/vla-sideeffect.exp: New file.
8363
8364 * gdb.dwarf2/count.exp: New file.
8365
8366 * gdb.base/vla-multi.c: New file.
8367 * gdb.base/vla-multi.exp: New file.
8368
8369 * gdb.base/vla-ptr.c: New file.
8370 * gdb.base/vla-ptr.exp: New file.
8371
8372 * gdb.base/vla-datatypes.c: New file.
8373 * gdb.base/vla-datatypes.exp: New file.
8374
8375 * gdb.mi/mi-vla-c99.exp: New file.
8376 * gdb.mi/vla.c: New file.
8377
245a5f0b
KS
83782014-04-11 Keith Seitz <keiths@redhat.com>
8379
8380 PR c++/16675
8381 * gdb.cp/cpsizeof.exp: New file.
8382 * gdb.cp/cpsizeof.cc: New file.
8383
58a84dcf
SA
83842014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8385
191a8a90
JB
8386 * gdb.mi/mi-vla-c99.exp: New file.
8387 * gdb.mi/vla.c: New file.
58a84dcf 8388
c8655f75
SA
83892014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8390
8391 * gdb.base/vla-datatypes.c: New file.
8392 * gdb.base/vla-datatypes.exp: New file.
8393
024e13b4
SA
83942014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8395
8396 * gdb.base/vla-ptr.c: New file.
8397 * gdb.base/vla-ptr.exp: New file.
8398
1a237e0e
SA
83992014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8400
8401 * gdb.base/vla-multi.c: New file.
8402 * gdb.base/vla-multi.exp: New file.
8403
504f3432
SA
84042014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8405
8406 * gdb.dwarf2/count.exp: New file.
8407
3bce8237
SA
84082014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8409
191a8a90
JB
8410 * gdb.base/vla-sideeffect.c: New file.
8411 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 8412
322f9c21
YQ
84132014-04-11 Yao Qi <yao@codesourcery.com>
8414
8415 * gdb.base/completion.exp: Check file exists before running tests
8416 on file completion.
8417
d708bcd1
PA
84182014-04-10 Pedro Alves <palves@redhat.com>
8419
8420 * gdb.base/cond-eval-mode.c: New file.
8421 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8422 prepare_for_testing to build the new file. Check result of
8423 runto_main.
8424 (test_break, test_watch): New procedures.
8425 (top level): Use them.
8426
ae1d2761
PM
84272014-04-08 Pierre Muller <muller@sourceware.org>
8428
8429 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8430 Ctrl-V use for mingw hosts.
8431
7af389b8
SC
84322014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8433
8434 * gdb.python/py-value.c: Improve test case.
8435 * gdb.python/py-value.exp: Add new test.
8436
5e703181
DE
84372014-04-07 David Blaikie <dblaikie@gmail.com>
8438
8439 * lib/compiler.c: Identify the clang compiler.
8440 * lib/compiler.cc: Ditto.
8441
9810b410
YQ
84422014-04-03 Yao Qi <yao@codesourcery.com>
8443
8444 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8445
98d1b8dc
AB
84462014-04-01 Anton Blanchard <anton@samba.org>
8447
8448 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8449 messages unique.
8450
3114cea1
AB
84512014-04-01 Anton Blanchard <anton@samba.org>
8452
8453 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8454 prepare_for_testing.
8455
62f7182c
AB
84562014-04-01 Anton Blanchard <anton@samba.org>
8457
8458 * gdb.arch/ppc64-atomic-inst.c: Remove.
8459 * gdb.arch/ppc64-atomic-inst.S: New file.
8460 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8461
770e7fc7
DE
84622014-03-31 Doug Evans <dje@google.com>
8463
8464 * gdb.base/print-symbol-loading-lib.c: New file.
8465 * gdb.base/print-symbol-loading-main.c: New file.
8466 * gdb.base/print-symbol-loading.exp: New file.
8467
46e2bafa
YQ
84682014-03-31 Yao Qi <yao@codesourcery.com>
8469
8470 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8471
8776cfe9
JB
84722014-03-28 Joel Brobecker <brobecker@adacore.com>
8473
8474 * gdb.ada/mi_dyn_arr: New testcase.
8475
5d1ef361
DE
84762014-03-27 Doug Evans <dje@google.com>
8477
8478 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8479
b5bee914
YQ
84802014-03-27 Yao Qi <yao@codesourcery.com>
8481
8482 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8483 if target is nios2-*-*.
8484
0d4d0e77
YQ
84852014-03-26 Yao Qi <yao@codesourcery.com>
8486
8487 * lib/gdb.exp (readline_is_used): New proc.
8488 * gdb.base/completion.exp: Move tests on command complete up.
8489 Skip the rest of tests if readline is not used.
8490 * gdb.ada/complete.exp: Skp the test if readline is not
8491 used.
8492 * gdb.base/filesym.exp: Likewise.
8493 * gdb.base/macscp.exp: Likewise.
8494 * gdb.base/readline-ask.exp: Likewise.
8495 * gdb.base/readline.exp: Likewise.
8496 * gdb.python/py-cmd.exp: Likewise.
8497 * gdb.trace/tfile.exp: Likewise.
8498
29361eee
YQ
84992014-03-26 Yao Qi <yao@codesourcery.com>
8500
8501 * gdb.base/macscp.exp: Fix code format issues.
8502
bc9a5525
UW
85032014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8504
8505 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8506 * gdb.asm/powerpc64le.inc: New file.
8507
d3839ede
PA
85082014-03-25 Pedro Alves <palves@redhat.com>
8509 Doug Evans <dje@google.com>
8510
8511 * gdb.base/source-execution.c: New file.
8512 * gdb.base/source-execution.exp: New file.
8513 * gdb.base/source-execution.gdb: New file.
8514
01672a57
DE
85152014-03-24 Doug Evans <dje@google.com>
8516
8517 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8518 using fission.
8519
88bbeca9
HZ
85202014-03-24 Hui Zhu <hui@codesourcery.com>
8521 Pedro Alves <palves@redhat.com>
8522
8523 PR breakpoints/16101
8524 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8525 test pass/fail messages. Detect missing support for dprintf when
8526 breakpoints are actually inserted.
8527 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8528 breakpoints are actually inserted.
8529 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8530 fails.
8531
d2348791
JK
85322014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8533
8534 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8535
feef67ab
DE
85362014-03-22 Doug Evans <xdje42@gmail.com>
8537
8538 * gdb.python/python.exp (python not supported): Verify multi-line
8539 python command issues an error.
25d743f9 8540 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 8541 guile command issues an error.
feef67ab 8542
ecebef6a
MR
85432014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8544
8545 * gdb.threads/thread-specific.exp: Handle the lack of usable
8546 $this_breakpoint and $this_thread.
8547
ccdd1909
HZ
85482014-03-21 Hui Zhu <hui@codesourcery.com>
8549
8550 * gdb.base/attach.exp (do_command_attach_tests): New.
8551
beb460e8
PA
85522014-03-20 Tom Tromey <tromey@redhat.com>
8553 Pedro Alves <palves@redhat.com>
8554
8555 PR cli/15718
8556 * gdb.base/condbreak-call-false.c: New file.
8557 * gdb.base/condbreak-call-false.exp: New file.
8558
40acf43a
PA
85592014-03-20 Pedro Alves <palves@redhat.com>
8560
8561 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8562 Delete.
8563 (block_signals, unblock_signals): Delete.
8564 (child_function_2, main): Remove references to deleted variable
8565 and functions.
8566
9f5e1e02
PA
85672014-03-20 Pedro Alves <palves@redhat.com>
8568
8569 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8570 Use pthread_kill to signal thread 2.
8571 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8572 Adjust to make the test send itself a signal rather than using the
8573 host's "kill" command.
8574
99619bea
PA
85752014-03-20 Pedro Alves <palves@redhat.com>
8576
8577 * gdb.threads/multiple-step-overs.c: New file.
8578 * gdb.threads/multiple-step-overs.exp: New file.
8579 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8580 Adjust expected infrun debug output.
8581
2adfaa28
PA
85822014-03-20 Pedro Alves <palves@redhat.com>
8583
8584 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8585 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8586
31e77af2
PA
85872014-03-20 Pedro Alves <palves@redhat.com>
8588
8589 PR breakpoints/7143
8590 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8591 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8592 of gdb_test_multiple.
8593 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8594 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8595
b9f437de
PA
85962014-03-20 Pedro Alves <palves@redhat.com>
8597
8598 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8599 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8600
05adc73e
PA
86012014-03-19 Pedro Alves <palves@redhat.com>
8602
8603 * gdb.base/async.exp: Remove early return.
8604
6048b950
PA
86052014-03-19 Pedro Alves <palves@redhat.com>
8606
8607 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8608
8bcfb00a
PA
86092014-03-19 Pedro Alves <palves@redhat.com>
8610
8611 * gdb.base/async.exp (test_background): Expect \r\n after
8612 "completed." in the fail pattern.
8613
884e37dc
PA
86142014-03-19 Pedro Alves <palves@redhat.com>
8615
8616 * gdb.base/async.exp (test_background): New procedure.
8617 Use it for all background execution command tests.
8618
148e57e2
PA
86192014-03-19 Pedro Alves <palves@redhat.com>
8620
8621 * gdb.base/async.exp: Use prepare_for_testing.
8622
f48088c7
PA
86232014-03-19 Pedro Alves <palves@redhat.com>
8624
8625 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8626 the same line.
8627
e2f6c966
PA
86282014-03-19 Pedro Alves <palves@redhat.com>
8629
8630 * gdb.base/async.c (main): Add "jump here" and "until here" line
8631 marker comments.
8632 * gdb.base/async.exp (jump_here): New global.
8633 (jump& test): Use it.
8634 (until_here): New global.
8635 (until& test): Use it.
8636
c30568d4
PA
86372014-03-19 Pedro Alves <palves@redhat.com>
8638
8639 * gdb.base/async.exp: Don't frob gdb_protocol.
8640
0172b6a7
DE
86412014-03-18 Doug Evans <xdje42@gmail.com>
8642
8643 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8644 Fix spelling of exec-done-display.
8645
06c868a8
JK
86462014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8647
8648 PR gdb/15358
8649 * gdb.base/gdb-sigterm.c: New file.
8650 * gdb.base/gdb-sigterm.exp: New file.
8651
0c7e1a46
PA
86522014-03-18 Pedro Alves <palves@redhat.com>
8653
8654 PR gdb/13860
8655 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8656 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8657 solib-event.
8658
f7c77d93
JB
86592014-03-17 Joel Brobecker <brobecker@adacore.com>
8660
8661 * gdb.ada/pckd_arr_ren: New testcase.
8662
5a1e8c7a
DE
86632014-03-13 Doug Evans <xdje42@gmail.com>
8664
8665 PR guile/16612
8666 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8667 collect after discarding symbols.
8668
350e1a76
DE
86692014-03-13 Ludovic Courtès <ludo@gnu.org>
8670 Doug Evans <xdje42@gmail.com>
8671
8672 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8673 to history survives a gc.
8674
a69900ae
PA
86752014-03-13 Pedro Alves <palves@redhat.com>
8676
8677 * gdb.base/default.exp: Don't test "target procfs".
8678
5db9f0bd
PA
86792014-03-13 Pedro Alves <palves@redhat.com>
8680
8681 * gdb.base/default.exp: Update "target child" and "target procfs"
8682 tests to not expect "Unix".
8683
b3ccfe11
TT
86842014-03-12 Tom Tromey <tromey@redhat.com>
8685
8686 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8687 New procs. Add target-async tests.
8688 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8689 Add target-async tests.
8690
646f4417
AA
86912014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8692
8693 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8694 'func_start' and 'func_end' for the beginning and end of the
8695 function code, respectively.
8696 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8697 'func_end' instead of 'func' and 'main'.
8698
288c211f
AA
86992014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8700
8701 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8702 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8703 generate the debug info assembler source.
8704
e0c0f156
AA
87052014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8706
8707 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8708 * gdb.dwarf2/arr-subrange.exp: Likewise.
8709 * gdb.dwarf2/dwz.exp: Likewise.
8710 * gdb.dwarf2/method-ptr.exp: Likewise.
8711 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8712 * gdb.dwarf2/subrange.exp: Likewise.
8713 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8714 * gdb.dwarf2/implptrpiece.exp: Likewise.
8715 * gdb.dwarf2/nostaticblock.exp: Likewise.
8716
0e5c4555
AA
87172014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8718
8719 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8720 directory to absolute path name arguments.
8721
5ec18f2b
JG
87222014-03-10 Joel Brobecker <brobecker@adacore.com>
8723
8724 * gdb.ada/tagged_access: New testcase.
8725
847fc4f2
MM
87262014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8727
8728 * gdb.btrace/data.exp: Update expected output.
8729
cc3da688
YQ
87302014-03-06 Yao Qi <yao@codesourcery.com>
8731
8732 * gdb.trace/pr16508.exp: New file.
8733
0f26cec1
PA
87342014-03-05 Pedro Alves <palves@redhat.com>
8735
8736 PR gdb/16575
8737 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8738 procedure.
8739 (top level): Adjust to use it. Add tests that exercise breakpoint
8740 interaction with the code-cache.
8741
7a5a839f
LC
87422014-02-26 Ludovic Courtès <ludo@gnu.org>
8743
8744 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8745 test for 'history-append!'.
8746
31aa7e4e
JB
87472014-02-26 Joel Brobecker <brobecker@adacore.com>
8748
8749 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8750 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8751 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8752 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8753 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8754 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8755
1b588015
JB
87562014-02-26 Joel Brobecker <brobecker@adacore.com>
8757
8758 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8759 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8760 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8761
55426c9d
JB
87622014-02-26 Joel Brobecker <brobecker@adacore.com>
8763
8764 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8765
dc53a7ad
JB
87662014-02-26 Joel Brobecker <brobecker@adacore.com>
8767
8768 * gdb.dwarf2/arr-stride.c: New file.
8769 * gdb.dwarf2/arr-stride.exp: New file.
8770
12ab52e9
PA
87712014-02-26 Pedro Alves <palves@redhat.com>
8772
8773 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8774 that won't ever trigger. Make sure that GDB reports the correct
8775 breakpoint that caused the stop.
8776
849c862e
JK
87772014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8778
8779 PR gdb/16626
8780 * gdb.base/auto-load-script: New file.
8781 * gdb.base/auto-load.c: New file.
8782 * gdb.base/auto-load.exp: New file.
8783
71b7d793
JK
8784 PR gdb/16626
8785 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8786
e2f0d509
JK
87872014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8788
8789 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8790 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8791
50cc37c8
DE
87922014-02-24 Doug Evans <dje@google.com>
8793
8794 * lib/gdb.exp (run_on_host): Log error output if program fails.
8795
ea4758f2
PA
87962014-02-21 Pedro Alves <palves@redhat.com>
8797
8798 * gdb.threads/step-after-sr-lock.c: Rename to ...
8799 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8800 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8801 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8802 ... this.
8803
d7b30f67
SDJ
88042014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8805
8806 PR tdep/16397
8807 * gdb.arch/amd64-stap-special-operands.exp: New file.
8808 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8809 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8810 * gdb.arch/amd64-stap-triplet.S: Likewise.
8811 * gdb.arch/amd64-stap-triplet.c: Likewise.
8812
83deb43f
JB
88132014-02-20 Joel Brobecker <brobecker@adacore.com>
8814
8815 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8816 in .section pseudo-op.
8817
adde2bff
DE
88182014-02-20 lin zuojian <manjian2006@gmail.com>
8819 Joel Brobecker <brobecker@adacore.com>
8820 Doug Evans <xdje42@gmail.com>
8821
8822 PR symtab/16581
8823 * gdb.dwarf2/dw2-icycle.S: New file.
8824 * gdb.dwarf2/dw2-icycle.c: New file.
8825 * gdb.dwarf2/dw2-icycle.exp: New file.
8826
f7bd0f78
SC
88272014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8828
8829 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8830 operations on gdb.Value objects.
8831 * gdb.python/py-value-cc.exp: Add new test to test operations on
8832 gdb.Value objects.
8833
c17ef0d5
DE
88342014-02-18 Doug Evans <dje@google.com>
8835
8836 * Makefile.in (TESTS): New variable.
8837 (expanded_tests, expanded_tests_or_none): New variables
8838 (check-single): Pass $(expanded_tests_or_none) to runtest.
8839 (check-parallel): Only run tests in $(TESTS) if non-empty.
8840 (check/no-matching-tests-found): New rule.
8841 * README: Document TESTS makefile variable.
8842
5dd3176f
DE
88432014-02-18 Doug Evans <dje@google.com>
8844
8845 * Makefile.in (check-parallel): rm -rf outputs temp.
8846
0b10be4f
JK
88472014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8848
8849 Fix "ERROR: no fileid for" in the testsuite.
8850 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8851
85f224e7
DE
88522014-02-12 Doug Evans <dje@google.com>
8853
8854 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8855 (MISCELLANEOUS): New variable.
8856 (clean): rm -rf $(MISCELLANEOUS).
8857 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8858 dwp live in the same directory as symlinks, with each symlink pointed
8859 to a differently named file in a different directory.
8860
149b30ff
DE
88612014-02-11 Doug Evans <dje@google.com>
8862
8863 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8864 of Tcl file commands.
8865
1dfdac32
MK
88662014-02-10 Mark Kettenis <kettenis@gnu.org>
8867
8868 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8869 "kill -SIGUSR1 -1".
8870
aa4fb036
JB
88712014-02-10 Joel Brobecker <brobecker@adacore.com>
8872
8873 * gdb.ada/tick_length_array_enum_idx: New testcase.
8874
ed3ef339
DE
88752014-02-10 Doug Evans <xdje42@gmail.com>
8876
8877 * configure.ac (AC_OUTPUT): Add gdb.guile.
8878 * configure: Regenerate.
8879 * lib/gdb-guile.exp: New file.
8880 * lib/gdb.exp (get_target_charset): New function.
8881 * gdb.base/help.exp: Update expected output from "apropos apropos".
8882 * gdb.guile/Makefile.in: New file.
8883 * gdb.guile/guile.exp: New file.
8884 * gdb.guile/scm-arch.c: New file.
8885 * gdb.guile/scm-arch.exp: New file.
8886 * gdb.guile/scm-block.c: New file.
8887 * gdb.guile/scm-block.exp: New file.
8888 * gdb.guile/scm-breakpoint.c: New file.
8889 * gdb.guile/scm-breakpoint.exp: New file.
8890 * gdb.guile/scm-disasm.c: New file.
8891 * gdb.guile/scm-disasm.exp: New file.
8892 * gdb.guile/scm-equal.c: New file.
8893 * gdb.guile/scm-equal.exp: New file.
8894 * gdb.guile/scm-error.exp: New file.
8895 * gdb.guile/scm-error.scm: New file.
8896 * gdb.guile/scm-frame-args.c: New file.
8897 * gdb.guile/scm-frame-args.exp: New file.
8898 * gdb.guile/scm-frame-args.scm: New file.
8899 * gdb.guile/scm-frame-inline.c: New file.
8900 * gdb.guile/scm-frame-inline.exp: New file.
8901 * gdb.guile/scm-frame.c: New file.
8902 * gdb.guile/scm-frame.exp: New file.
8903 * gdb.guile/scm-generics.exp: New file.
8904 * gdb.guile/scm-gsmob.exp: New file.
8905 * gdb.guile/scm-iterator.c: New file.
8906 * gdb.guile/scm-iterator.exp: New file.
8907 * gdb.guile/scm-math.c: New file.
8908 * gdb.guile/scm-math.exp: New file.
8909 * gdb.guile/scm-objfile-script-gdb.in: New file.
8910 * gdb.guile/scm-objfile-script.c: New file.
8911 * gdb.guile/scm-objfile-script.exp: New file.
8912 * gdb.guile/scm-objfile.c: New file.
8913 * gdb.guile/scm-objfile.exp: New file.
8914 * gdb.guile/scm-ports.exp: New file.
8915 * gdb.guile/scm-pretty-print.c: New file.
8916 * gdb.guile/scm-pretty-print.exp: New file.
8917 * gdb.guile/scm-pretty-print.scm: New file.
8918 * gdb.guile/scm-section-script.c: New file.
8919 * gdb.guile/scm-section-script.exp: New file.
8920 * gdb.guile/scm-section-script.scm: New file.
8921 * gdb.guile/scm-symbol.c: New file.
8922 * gdb.guile/scm-symbol.exp: New file.
8923 * gdb.guile/scm-symtab-2.c: New file.
8924 * gdb.guile/scm-symtab.c: New file.
8925 * gdb.guile/scm-symtab.exp: New file.
8926 * gdb.guile/scm-type.c: New file.
8927 * gdb.guile/scm-type.exp: New file.
8928 * gdb.guile/scm-value-cc.cc: New file.
8929 * gdb.guile/scm-value-cc.exp: New file.
8930 * gdb.guile/scm-value.c: New file.
8931 * gdb.guile/scm-value.exp: New file.
8932 * gdb.guile/source2.scm: New file.
8933 * gdb.guile/types-module.cc: New file.
8934 * gdb.guile/types-module.exp: New file.
8935
7026a7c1
YQ
89362014-02-10 Yao Qi <yao@codesourcery.com>
8937
8938 PR testsuite/16543
8939 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8940 * configure: Regenerated.
8941 * Makefile.in: New file.
8942
6c466447
AS
89432014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8944
8945 * gdb.python/py-framefilter.exp: Fix typo.
8946
6e854735
YQ
89472014-02-08 Yao Qi <yao@codesourcery.com>
8948
8949 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8950 that no =breakpoint-modified is emitted when breakpoints are
8951 modified through MI commands.
8952
d137e6dc
PA
89532014-02-07 Pedro Alves <pedro@codesourcery.com>
8954 Pedro Alves <palves@redhat.com>
8955
8956 * gdb.threads/step-after-sr-lock.c: New file.
8957 * gdb.threads/step-after-sr-lock.exp: New file.
8958
b5ee5a50
PA
89592014-02-07 Pedro Alves <palves@redhat.com>
8960
8961 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8962
3c77faf3
JK
89632014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8964
8965 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8966 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8967
6dddc817
DE
89682014-02-06 Doug Evans <xdje42@gmail.com>
8969
8970 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8971 output.
8972
8973 * gdb.gdb/python-interrupts.exp: New file.
8974
de7b2893
YQ
89752014-02-05 Yao Qi <yao@codesourcery.com>
8976
8977 * gdb.trace/report.exp (use_collected_data): Test the output
8978 of "info threads" and "info inferiors".
8979
66d032ac
YQ
89802014-02-05 Yao Qi <yao@codesourcery.com>
8981
8982 Revert this patch:
8983
8984 2013-05-24 Yao Qi <yao@codesourcery.com>
8985
8986 * gdb.trace/tfile.exp: Test inferior and thread.
8987
591a12a1
UW
89882014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8989
8990 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8991 on a function.
8992 * gdb.base/step-bt.c: Call hello via function pointer to make
8993 sure its first instruction is executed on powerpc64le-linux.
8994
0ff3e01f
UW
89952014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8996
8997 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8998
084ee545
UW
89992014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9000
9001 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
9002 of the test patterns for use on little-endian systems.
9003
6ed14ff3
UW
90042014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9005
9006 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
9007 (decimal_vector): Fix for little-endian.
9008
401e27fd
JM
90092014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
9010
9011 * gdb.arch/sparc-sysstep.exp: New file.
9012 * gdb.arch/sparc-sysstep.c: Likewise.
9013
9014 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
9015
8b924729
EBM
90162014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9017
9018 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
9019
fb151210
JB
90202014-01-23 Tom Tromey <tromey@redhat.com>
9021
9022 * gdb.ada/array_char_idx: New testcase.
9023
0740f8d8
TT
90242014-01-23 Tom Tromey <tromey@redhat.com>
9025
9026 PR python/16487:
9027 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
9028 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
9029 classes.
9030
21909fa1
TT
90312014-01-23 Tom Tromey <tromey@redhat.com>
9032
9033 PR python/16491:
9034 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
9035 string from an inferior frame.
9036 * gdb.python/py-framefilter-mi.exp: Update.
9037
87ce2a04
DE
90382014-01-22 Doug Evans <dje@google.com>
9039
9040 * gdb.server/server-mon.exp: Add tests for "set debug-format".
9041
237b092b
AA
90422014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9043
9044 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
9045
d674a709
AA
90462014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9047
9048 * gdb.trace/entry-values.exp: Remove excess space character from
9049 regex patterns. Handle s390 call instruction.
9050
20fa3390
AA
90512014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9052
9053 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
9054 define "*_start" label. Make "name" static.
9055 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
9056 ${name} by references to ${name}_start.
9057
78466714
AA
90582014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9059
9060 * gdb.base/info-macros.exp: Remove "debug" from the compile
9061 options.
9062
ec9f644a
IB
90632014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9064
9065 * gdb.dlang/demangle.exp: New file.
9066
94b1b47e
IB
90672014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9068
9069 * gdb.dlang/primitive-types.exp: New file.
9070
7f420862
IB
90712014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9072
9073 * configure.ac: Create gdb.dlang/Makefile.
9074 * configure: Regenerate.
9075 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
9076 * gdb.dlang/Makefile.in: New file.
9077 * lib/d-support.exp: New file.
9078 * lib/gdb.exp (skip_d_tests): New proc.
9079
52834460
MM
90802014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9081
9082 * gdb.btrace/delta.exp: Check reverse stepi.
9083 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
9084 * gdb.btrace/finish.exp: New.
9085 * gdb.btrace/next.exp: New.
9086 * gdb.btrace/nexti.exp: New.
9087 * gdb.btrace/record_goto.c: Add comments.
9088 * gdb.btrace/step.exp: New.
9089 * gdb.btrace/stepi.exp: New.
9090 * gdb.btrace/multi-thread-step.c: New.
9091 * gdb.btrace/multi-thread-step.exp: New.
9092 * gdb.btrace/rn-dl-bind.c: New.
9093 * gdb.btrace/rn-dl-bind.exp: New.
9094 * gdb.btrace/data.c: New.
9095 * gdb.btrace/data.exp: New.
9096 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9097
6e07b1d2
MM
90982014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9099
9100 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
9101 * gdb.btrace/exception.exp: Update.
9102 * gdb.btrace/instruction_history.exp: Update.
9103 * gdb.btrace/record_goto.exp: Update.
9104 * gdb.btrace/tailcall.exp: Update.
9105 * gdb.btrace/unknown_functions.exp: Update.
9106 * gdb.btrace/delta.exp: New.
9107
0b722aec
MM
91082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9109
9110 * gdb.btrace/record_goto.exp: Add backtrace test.
9111 * gdb.btrace/tailcall.exp: Add backtrace test.
9112
066ce621
MM
91132014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9114
9115 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
9116 * gdb.btrace/record_goto.c: New.
9117 * gdb.btrace/record_goto.exp: New.
9118 * gdb.btrace/x86-record_goto.S: New.
9119
0688d04e
MM
91202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9121
9122 * gdb.btrace/function_call_history.exp: Update tests.
9123 * gdb.btrace/instruction_history.exp: Update tests.
9124
8710b709
MM
91252014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9126
9127 * gdb.btrace/function_call_history.exp: Fix expected field
9128 order for "record function-call-history".
9129 Add new tests for "record function-call-history /c".
9130 * gdb.btrace/exception.cc: New.
9131 * gdb.btrace/exception.exp: New.
9132 * gdb.btrace/tailcall.exp: New.
9133 * gdb.btrace/x86-tailcall.S: New.
9134 * gdb.btrace/x86-tailcall.c: New.
9135 * gdb.btrace/unknown_functions.c: New.
9136 * gdb.btrace/unknown_functions.exp: New.
9137 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9138
5de9129b
MM
91392014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9140
9141 * gdb.btrace/instruction_history.exp: Update.
9142 * gdb.btrace/function_call_history.exp: Update.
9143
23a7fe75
MM
91442014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9145
9146 * gdb.btrace/function_call_history.exp: Fix expected function
9147 trace.
9148 * gdb.btrace/instruction_history.exp: Initialize traced.
9149 Remove traced_functions.
9150
724c7dd8
MM
91512014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9152
9153 * gdb.btrace/function_call_history.exp: Update
9154 * gdb.btrace/instruction_history.exp: Update.
9155
6d78d93b
MM
91562014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9157
9158 * gdb.btrace/enable.exp: Update expected text.
9159
93a360cc
OJ
91602014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
9161
9162 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
9163 bytes.
9164
3772b53f
MR
91652014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
9166
9167 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
9168
596662fa
OJ
91692014-01-15 Omair Javaid <omair.javaid@linaro.org>
9170
9171 * lib/gdb.exp (supports_process_record): Return true for
9172 arm*-linux*. (supports_reverse): Likewise.
9173
b5b08fb4
SC
91742014-01-13 Siva Chandra Reddy <sivachandra@google.com>
9175
9176 PR python/15464
9177 PR python/16113
9178 * gdb.python/py-type.c: Enhance test case.
9179 * gdb.python/py-value-cc.cc: Likewise
9180 * gdb.python/py-type.exp: Add new tests.
9181 * gdb.python/py-value-cc.exp: Likewise
9182
52d7fb13
AA
91832014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9184 Pedro Alves <palves@redhat.com>
9185
9186 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
9187 Make "name" extern.
9188 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
9189 references to ${name}_start by references to ${name}.
9190
a2cd8cfe
JB
91912014-01-10 Joel Brobecker <brobecker@adacore.com>
9192
9193 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
9194
4e23fced
JB
91952014-01-10 Joel Brobecker <brobecker@adacore.com>
9196
9197 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
9198
c6a9e42c
PA
91992014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
9200 Pedro Alves <palves@redhat.com>
9201
9202 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 9203 mi_gdb_target_load.
c6a9e42c 9204
b7ea362b
PA
92052014-01-08 Pedro Alves <palves@redhat.com>
9206
9207 * gdb.threads/reconnect-signal.c: New file.
9208 * gdb.threads/reconnect-signal.exp: New file.
9209
5e3f4fab
EBM
92102014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9211
9212 * gdb.base/source-dir.exp: New file.
9213
79301218
JB
92142014-01-07 Joel Brobecker <brobecker@adacore.com>
9215
9216 * gdb.ada/mi_interface: New testcase.
9217
8e355c5d
JB
92182014-01-07 Joel Brobecker <brobecker@adacore.com>
9219
9220 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
9221 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
9222 gdb.ada/pp-rec-component/pck.ads: New files.
9223
c0d48811
JB
92242014-01-07 Joel Brobecker <brobecker@adacore.com>
9225
9226 * gdb.python/py-pp-integral.c: New file.
9227 * gdb.python/py-pp-integral.py: New file.
9228 * gdb.python/py-pp-integral.exp: New file.
9229
17b609c3 9230For older changes see ChangeLog-1993-2013.
c906108c 9231\f
8d8cb839
EZ
9232;; Local Variables:
9233;; mode: change-log
9234;; left-margin: 8
9235;; fill-column: 74
9236;; version-control: never
9237;; End:
902f2ccb 9238
618f726f 9239 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
9240 Copying and distribution of this file, with or without modification,
9241 are permitted provided the copyright notice and this notice are preserved.