testsuite: Fix false FAIL for gdb.base/morestack.exp
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
b8d38ee4
JK
12016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
4
f90fd8c2
JK
52016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6
7 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
8
2d2476aa
MR
92016-10-19 Maciej W. Rozycki <macro@imgtec.com>
10
11 * gdb.base/killed-outside.exp: Remove $options from a call to
12 `prepare_for_testing'.
13
e42b25a0
SM
142016-10-17 Simon Marchi <simon.marchi@ericsson.com>
15
16 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
17 Change test message.
18
3ccdb432
SM
192016-10-17 Simon Marchi <simon.marchi@ericsson.com>
20
21 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
22 Update comment.
23
5bad3170
SM
242016-10-17 Simon Marchi <simon.marchi@ericsson.com>
25
26 * gdb.trace/mi-trace-save.exp: New file.
27
5ad9dba7
YQ
282016-10-13 Yao Qi <yao.qi@linaro.org>
29
30 * gdb.base/code_elim.exp (get_var_address): Remove.
31 * gdb.base/relocate.exp: Likewise.
32 * gdb.base/shreloc.exp: Likewise.
33 * lib/gdb.exp (get_var_address): New.
34
62df7e21
YQ
352016-10-13 Yao Qi <yao.qi@linaro.org>
36
37 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
38 floating point tests if $skip_float_test is false.
39
4dac951e
LM
402016-10-12 Luis Machado <lgustavo@codesourcery.com>
41
42 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
43 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
44 argc values.
45 Add 1 to argc so we guarantee distinct initial/modified argc values.
46
8f1a8fc4
JK
472016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
48
49 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
50
16c85b5d
JK
512016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
52
53 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
54 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
55 * gdb.arch/vsx-regs.exp: Likewise.
56
1d0e042a
YQ
572016-10-07 Yao Qi <yao.qi@linaro.org>
58
59 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
60
68dadef5
MM
612016-10-07 Markus Metzger <markus.t.metzger@intel.com>
62
63 * gdb.python/python.exp: Test decode_line("*0").
64
33fa2c6e
DE
652016-10-06 Doug Evans <dje@google.com>
66
67 * gdb.python/py-value.exp (test_value_creation): Add test for large
68 unsigned 64-bit value.
69
9c37b5ae
TT
702016-10-06 Tom Tromey <tom@tromey.com>
71
72 * gdb.compile/compile.exp: Change java tests to rust.
73 * gdb.base/setshow.exp: Change java tests to rust.
74 * gdb.base/default.exp: Remove java from language list.
75 * README (Examples): Update language example.
76 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
77 test.
78 * lib/gdb.exp (skip_java_tests): Remove.
79 * lib/java.exp: Remove.
80 * gdb.java: Remove.
81
78b86327
MR
822016-10-06 Maciej W. Rozycki <macro@imgtec.com>
83
84 * gdb.arch/mips-fcr.exp: New test.
85 * gdb.arch/mips-fcr.c: Source for the new test.
86
7470adbb
MR
872016-10-06 Maciej W. Rozycki <macro@imgtec.com>
88
89 * gdb.base/solib-disc.exp: Use `standard_output_file'
90 throughout.
91
4a556533
PA
922016-10-06 Pedro Alves <palves@redhat.com>
93
94 * gdb.base/jit-simple-dl.c: New file.
95 * gdb.base/jit-simple-jit.c: New file, factored out from ...
96 * gdb.base/jit-simple.c: ... this.
97 * gdb.base/jit-simple.exp (jit_run): Delete.
98 (build_jit): New proc.
99 (jit_test_reread): Recompile either the main program or the shared
100 library, depending on what is being tested. Skip changing address
101 if caller wants to. Compare before/after addresses. If testing
102 standalone, explicitly load the binary. Test "maint info
103 breakpoints".
104 (top level): Add "standalone vs shared lib" and "change address"
105 vs "same address" axes.
106
5a122fbc
PA
1072016-10-06 Pedro Alves <palves@redhat.com>
108
109 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
110 call.
111 (jit_run): Delete.
112 (jit_test_reread): Use with_test_prefix. Reload the main binary
113 explicitly. Compare the before/after addresses of the JIT
114 descriptor.
115
ee8da4b8
DE
1162016-08-15 Doug Evans <dje@google.com>
117
118 * gdb.xml/extra-regs.xml: Update, end field now required, default type
119 for single bitfields is bool.
120 * gdb.xml/tdesc-regs.exp: Ditto.
121
f389f6fe
JK
1222016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
123
124 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
125
fdebf1a4
YQ
1262016-10-05 Yao Qi <yao.qi@linaro.org>
127
128 * lib/gdb.exp (support_complex_tests): Return zero if
129 gdb_skip_float_test return true.
130
9c36d954
AT
1312016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
1322016-10-03 Simon Marchi <simon.marchi@ericsson.com>
133
134 PR gdb/20487
135 * gdb.mi/user-selected-context-sync.exp: New file.
136 * gdb.mi/user-selected-context-sync.c: New file.
137
4034d0ff
AT
1382016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
1392016-10-03 Simon Marchi <simon.marchi@ericsson.com>
140
141 PR gdb/20487
142 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
143 =thread-select-event check.
144
a4297203
PB
1452016-09-29 Peter Bergner <bergner@vnet.ibm.com>
146
147 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
148 the compulsory L operand changes.
149 * gdb.arch/powerpc-power.s: Likewise.
150
bb805577
JK
1512016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
152
153 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
154 * gdb.base/jit-attach-pie.c: New file.
155 * gdb.base/jit-attach-pie.exp: New file.
156
6d61dee5
PA
1572016-09-28 Pedro Alves <palves@redhat.com>
158
159 * gdb.base/infcall-input.c: New file.
160 * gdb.base/infcall-input.exp: New file.
161
f73842fc
YQ
1622016-09-22 Yao Qi <yao.qi@linaro.org>
163
164 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
165 (gdb_exit): Rename it to ...
166 (gdbserver_gdb_exit): ... Close GDBserver.
167 (gdb_exit): New proc, call gdbserver_gdb_exit.
168 (mi_gdb_exit): Likewise.
169
90681dab
YQ
1702016-09-22 Yao Qi <yao.qi@linaro.org>
171
172 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
173 path.
174 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
175 Remove duplication.
176
9c211fd8
YQ
1772016-09-22 Yao Qi <yao.qi@linaro.org>
178
179 * lib/gdbserver-support.exp: Check the existence of
180 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
181
ad0a504f
AK
1822016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
183
184 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
185
36cf1806
TT
1862016-09-21 Tom Tromey <tom@tromey.com>
187
188 PR gdb/20604:
189 * gdb.base/quit.exp: New file.
190
74172ecf
SM
1912016-09-21 Simon Marchi <simon.marchi@ericsson.com>
192
193 * .gitignore: New file.
194
3d0ec882
MR
1952016-09-21 Maciej W. Rozycki <macro@imgtec.com>
196
197 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
198 throughout.
199
8193adea
AA
2002016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
201
202 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
203
d41a5c09
JK
2042016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
205
206 * gdb.cp/casts.cc (decltype): Move it ...
207 (main): ... with its call to ...
208 * gdb.cp/casts03.cc: ... a new file.
209 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
210
d2dfe700
JK
2112016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
212
213 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
214
e2a92b16
PB
2152016-09-15 Peter Bergner <bergner@vnet.ibm.com>
216
217 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
218 and sync up the test with tests in gas/testsuite/gas/ppc.
219 * gdb.arch/powerpc-power.exp: Likewise.
220
49b4de64
JK
2212016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
222
223 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
224
2c29df25
SDJ
2252016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
226 Jan Kratochvil <jan.kratochvil@redhat.com>
227
228 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
229 make m1's definition to be different from m2's. Use 'dummy' as an
230 argument for probe 'two'.
231
cc3c2846
JB
2322016-09-10 Jon Beniston <jon@beniston.com>
233
234 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
235 for sim target.
236
e1b2624a
AA
2372016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
238
239 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
240 variable declaration.
241 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
242 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
243 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
244 received HWCAP as its argument.
245
4295e285
PA
2462016-09-06 Pedro Alves <palves@redhat.com>
247
248 * gdb.base/new-ui-pending-input.c: New file.
249 * gdb.base/new-ui-pending-input.exp: New file.
250 * gdb.exp (clear_gdb_spawn_id): New procedure.
251 (with_spawn_id): Check whether gdb_spawn_id exists before
252 referencing it. If gdb_spawn_id didn't exist on entry, clear it
253 on exit.
254
00d5215e
UW
2552016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
256
257 * gdb.base/float128.c: New file.
258 * gdb.base/float128.exp: Likewise.
259 * gdb.base/floatn.c: Likewise.
260 * gdb.base/floatn.exp: Likewise.
261
a9ff5f12
UW
2622016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
263
264 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
265
f245535c
PA
2662016-09-05 Pedro Alves <palves@redhat.com>
267
268 PR backtrace/19927
269 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
270 unwinders are immediately called as side effect of "source" or
271 "disable unwinder" commands.
272 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
273
ae9cf263
YQ
2742016-09-02 Yao Qi <yao.qi@linaro.org>
275
276 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
277 is true and $type is "float" or "double".
278
27aba047
YQ
2792016-09-02 Yao Qi <yao.qi@linaro.org>
280
281 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
282 true.
283 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
284 * gdb.base/call-rt-st.exp: Likewise.
285 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
286 return value instead of gdb,skip_float_test.
287 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
288 (do_function_calls): Use its return value instead of
289 gdb,skip_float_test.
290 * gdb.base/finish.exp: Likewise.
291 * gdb.base/funcargs.exp: Likewise.
292 * gdb.base/return.exp: Likewise.
293 * gdb.base/return2.exp: Likewise.
294 * gdb.base/varargs.exp: Likewise.
295 * lib/gdb.exp (gdb_skip_float_test): Change it to
296 gdb_caching_proc. Detect the broken ptrace on arm-linux.
297
5af962df
AA
2982016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
299
300 * gdb.multi/tids.exp: Test "thread apply all".
301
7fac6910
JK
3022016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
303
304 * gdb.base/default.exp (tty): Remove.
305
bb1fe4ac
KB
3062016-08-24 Kevin Buettner <kevinb@redhat.com>
307
308 * gdb.python/py-recurse-unwind.c: New file.
309 * gdb.python/py-recurse-unwind.py: New file.
310 * gdb.python/py-recurse-unwind.exp: New file.
311
0a1ddfa6
SM
3122016-08-24 Simon Marchi <simon.marchi@ericsson.com>
313
314 * gdb.base/set-inferior-tty.exp: New file.
315 * gdb.base/set-inferior-tty.c: New file.
316
d9de1fe3
PA
3172016-08-23 Pedro Alves <palves@redhat.com>
318
319 PR gdb/20494
320 * gdb.base/new-ui-echo.c: New file.
321 * gdb.base/new-ui-echo.exp: New file.
322
e9d9abd7
YQ
3232016-08-23 Yao Qi <yao.qi@linaro.org>
324
325 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
326 gdbserver_spawn.
327 * gdb.server/connect-without-multi-process.exp (do_test):
328 Likewise.
329
3589529e
YQ
3302016-08-23 Yao Qi <yao.qi@linaro.org>
331
332 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
333 standalone_txt. Delete gdb_txt and standalone_txt on host
334 and target. Spawn the binary on target. Copy files from
335 target to host.
336
6bb90213
PA
3372016-08-22 Pedro Alves <palves@redhat.com>
338
339 PR gdb/20505
340 * gdb.base/vdso-warning.exp: Test core dumps too. Use
341 with_test_prefix. Factor out bits to ...
342 (test_no_vdso): ... this new procedure.
343
20c2c024
CL
3442016-08-19 Carl Love <cel@us.ibm.com>
345
346 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
347 maintaining separate logic for constructing the output path.
348 * gdb.arch/powerpc-d128-regs.exp: Likewise.
349 * gdb.arch/ppc-dfp.exp: Likewise.
350 * gdb.arch/ppc-fp.exp: Likewise.
351 * gdb.arch/vsx-regs.exp: Likewise.
352 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
353 binprefix for generating the additional binary files.
354
0646e07d
PA
3552016-08-19 Pedro Alves <palves@redhat.com>
356
357 * gdb.trace/mi-trace-frame-collected.exp
358 (test_trace_frame_collected): On x32, expect two registers.
359
46da9242
CL
3602016-08-18 Carl Love <cel@us.ibm.com>
361
362 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
363 and sync up the test with tests in gas/testsuite/gas/ppc.
364 * gdb.arch/powerpc-power.exp: Likewise.
365
eb2332d7
SM
3662016-08-17 Simon Marchi <simon.marchi@ericsson.com>
367
368 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
369 expected error message.
370
63c61e04
SM
3712016-08-17 Simon Marchi <simon.marchi@ericsson.com>
372
373 * gdb.multi/remove-inferiors.exp: New file.
374 * gdb.multi/remove-inferiors.c: New file.
375
7b17065f
YQ
3762016-08-12 Yao Qi <yao.qi@linaro.org>
377
378 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
379 argument list.
380
01d3dedf
PA
3812016-08-10 Pedro Alves <palves@redhat.com>
382
383 PR gdb/19187
384 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
385 setup_kfails.
386
3eb7562a
PA
3872016-08-09 Pedro Alves <palves@redhat.com>
388 Simon Marchi <simon.marchi@ericsson.com>
389
390 PR gdb/20418
391 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
392 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
393
80614914
PA
3942016-08-09 Pedro Alves <palves@redhat.com>
395
396 PR mi/20431
397 * gdb.mi/mi-cmd-error.exp: New file.
398
f348d89a
PA
3992016-08-09 Pedro Alves <palves@redhat.com>
400
401 PR gdb/18653
402 * gdb.base/signals-state-child.c: New file.
403 * gdb.base/signals-state-child.exp: New file.
404 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
405
e5ca03b4
PA
4062016-08-09 Pedro Alves <palves@redhat.com>
407
408 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
409
282a0691
TT
4102016-08-03 Tom Tromey <tom@tromey.com>
411
412 PR python/18565:
413 * gdb.python/py-frame-inline.exp: Add Frame.function test.
414
41bfcd63
YQ
4152016-08-01 Yao Qi <yao.qi@linaro.org>
416
417 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
418 variable mode to "multi-process" if $multi_process is 1, otherwise
419 set it to "single-process".
420
e3465b24
YQ
4212016-08-01 Yao Qi <yao.qi@linaro.org>
422
423 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
424 * gdb.cp/cpexprs.exp: Likewise.
425 * gdb.cp/m-static.exp: Likewise.
426
0b31a4bc
TT
4272016-07-26 Tom Tromey <tom@tromey.com>
428
429 PR python/20190:
430 * gdb.threads/tls.exp (check_thread_local): Add python symbol
431 test.
432
e0461dbb
MM
4332016-07-26 Markus Metzger <markus.t.metzger@intel.com>
434
435 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
436 selecting assembly source files.
437 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
438 assembly source files.
439 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
440 assembly source files.
441 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
442 selecting assembly source files.
443
8194e927
SM
4442016-07-25 Simon Marchi <simon.marchi@ericsson.com>
445
446 * gdb.base/new-ui.exp (do_test_invalid_args): New
447 procedure.
448
c0272db5
TW
4492016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
450
451 * gdb.btrace/reconnect.c: New file.
452 * gdb.btrace/reconnect.exp: New file.
453
e3487908
GKB
4542016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
455
456 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
457 to test_catch_syscall_group.
458 (test_catch_syscall_group): New.
459
12df5c00
TT
4602016-07-21 Tom Tromey <tom@tromey.com>
461
462 * gdb.rust/simple.rs (main): Use empty struct expression.
463 * gdb.rust/simple.exp: Add tests for empty struct expression.
464
bae62ee2
YQ
4652016-07-21 Yao Qi <yao.qi@linaro.org>
466
467 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
468 if gdb_skip_xml_test is true on some targets.
469
b1b53fb3
YQ
4702016-07-21 Yao Qi <yao.qi@linaro.org>
471
472 * gdb.server/solib-list.exp: Unset last_loaded_file.
473
027d97f8
JK
4742016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
475
476 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
477 "step into captured_main (args)".
478
7674d381
JK
4792016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
480
481 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
482
72b5d099
JK
4832016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
484
485 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
486
1f960ced
PA
4872016-07-19 Pedro Alves <palves@redhat.com>
488
489 * gdb.opt/inline-break.exp: Remove optimize=-O2.
490 * gdb.opt/inline-bt.exp: Likewise.
491 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
492 additional_flags=-Winline.
493 * gdb.opt/inline-locals.exp: Likewise.
494 * gdb.opt/inline-markers.c (ATTR): Define.
495 (inlined_fn): Use it.
496
f25827c1
YQ
4972016-07-19 Yao Qi <yao.qi@linaro.org>
498
499 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
500 (test_with_self): Remove some code. Remove argument executable.
501 (top-level): Use do_self_tests.
502
37539ebe
DB
5032016-07-15 Zachary Welch <zwelch@codesourcery.com>
504 Don Breazeal <donb@codesourcery.com>
505
506 * gdb.base/maint.exp: Escape paths used in regular expressions.
507 * gdb.stabs/weird.exp: Likewise.
508
dac790e1
TT
5092016-07-13 Tom Tromey <tom@tromey.com>
510
511 PR python/15620, PR python/18620:
512 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
513 (test_bkpt_events): New procs.
514
93daf339
TT
5152016-07-13 Tom Tromey <tom@tromey.com>
516
517 PR python/17698:
518 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
519 test.
520 (test_watchpoints): Likewise.
521 (test_bkpt_pending): New proc.
522
6571a381
TT
5232016-07-13 Tom Tromey <tom@tromey.com>
524
525 PR cli/18053:
526 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
527 completion test.
528
e8732474
JK
5292016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
530
531 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
532 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
533 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
534 f_label.
535 (g): Rename g_end_lbl to g_label.
536 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
537 low_pc and high_pc.
538 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
539
e0f3fd7c
TT
5402016-07-12 Tom Tromey <tom@tromey.com>
541
542 PR python/19293:
543 * gdb.python/py-unwind-maint.exp: Update tests.
544
3cfe46b6
YQ
5452016-07-12 Yao Qi <yao.qi@linaro.org>
546
547 * lib/selftest-support.exp (selftest_setup): Match the output
548 when captured_main is inlined.
549
4f19a0e6
WT
5502016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
551
552 * gdb.fortran/derived-types.exp (result_line, result_line_2):
553 New variables.
554 (print this%a, print this%b, print this): New tests.
555 * gdb.fortran/derived-types.f90 (this): New object and
556 initialization.
557
986cf455
SM
5582016-07-06 Simon Marchi <simon.marchi@ericsson.com>
559
560 * gdb.ada/arraydim.exp: Remove extra directory level in build
561 directory.
562
f0464b23
SM
5632016-07-06 Simon Marchi <simon.marchi@ericsson.com>
564
565 * lib/ada.exp: Remove extra directory level in build directory.
566 * gdb.ada/cond_lang.exp: Likewise.
567 * gdb.ada/exec_changed.exp: Likewise.
568 * gdb.ada/lang_switch.exp: Likewise.
569
42d94011
MG
5702016-07-06 Manish Goregaokar <manish@mozilla.com>
571
572 * simple.rs: Add test for raw pointer subscripting
573 * simple.exp: Add test expectations
574
647c264c
YQ
5752016-07-05 Yao Qi <yao.qi@linaro.org>
576
577 * gdb.mi/mi-reverse.exp: Match =record-started output.
578
20aa2c60
PA
5792016-07-01 Pedro Alves <palves@redhat.com>
580
581 * gdb.base/jit-reader.exp (info_registers_current_frame): New
582 procedure.
583 (jit_reader_test): Test the jit reader's unwinder.
584 * gdb.base/jithost.c (jit_function_00_code): New global.
585 (main): Use memcpy to fill in the mmapped code, instead of poking
586 bytes manually here.
587 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
588 value.
589 (read_debug_info): Save the function's range.
590 (read_sp): New function.
591 (unwind_frame): Use it. Also unwind RBP.
592 (get_frame_id): Use read_sp.
593 (gdb_init_reader): Use calloc instead of malloc.
594 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
595 parameter. Use gdb_test_multiple.
596
ced2dffb
PA
5972016-07-01 Pedro Alves <palves@redhat.com>
598 Antoine Tremblay <antoine.tremblay@ericsson.com>
599
600 * gdb.threads/process-dies-while-detaching.c: New file.
601 * gdb.threads/process-dies-while-detaching.exp: New file.
602
63000888
PA
6032016-07-01 Pedro Alves <palves@redhat.com>
604
605 * gdb.multi/watchpoint-multi-exit.c: New file.
606 * gdb.multi/watchpoint-multi-exit.exp: New file.
607
038d4868
PA
6082016-06-30 Pedro Alves <palves@redhat.com>
609
610 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
611 unset inferior_spawn_id.
612
994e9c83
PA
6132016-06-30 Pedro Alves <palves@redhat.com>
614
615 * lib/mi-support.exp (default_mi_gdb_start): Declare global
616 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
617
e5653468
YQ
6182016-06-29 Yao Qi <yao.qi@linaro.org>
619
620 * gdb.base/return.c: Add copyright header.
621
803b47e5
TT
6222016-06-29 Tom Tromey <tom@tromey.com>
623
624 PR python/20129:
625 * gdb.python/py-framefilter.exp: Add tests for setting priority
626 and disabling of non-existent frame filter.
627
28244707
YQ
6282016-06-29 Yao Qi <yao.qi@linaro.org>
629
630 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
631 0x0f07ff.
632
a31d2f06
YQ
6332016-06-28 Yao Qi <yao.qi@linaro.org>
634
635 * gdb.base/catch-syscall.exp: Remove check on isnative and target
636 triplets. Start gdb, execute catch syscall, and continue. Check
637 gdb's output to determine catch syscall is supported.
638
921d8f54
MG
6392016-06-27 Manish Goregaokar <manish@mozilla.com>
640
25d49b86
PA
641 * gdb.rust/simple.rs: Add test for returning unit in a function.
642 * gdb.rust/simple.exp: Add expectation for functions returning
643 unit.
921d8f54 644
f4952523
PMR
6452016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
646
647 * gdb.python/py-breakpoint-create-fail.c,
648 gdb.python/py-breakpoint-create-fail.exp,
649 gdb.python/py-breakpoint-create-fail.py: New testcase.
650
fccb08f8
MG
6512016-06-25 Manish Goregaokar <manish@mozilla.com>
652
653 PR gdb/20239
654 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
655 * gdb.rust/simple.exp: Add test expectations for new NonZero
656 tests.
fccb08f8 657
6b850546
DT
6582016-06-24 David Taylor <dtaylor@emc.com>
659
660 * gdb.base/offsets.exp: New file.
661 * gdb.base/offsets.c: New file.
662
17621150
TT
6632016-06-23 Tom Tromey <tom@tromey.com>
664
665 PR gdb/16483:
666 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
667 before any filters are loaded.
668
04d59df6
WT
6692016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
670
671 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
672 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
673 structs.
674 * gdb.fortran/derived-type-function.exp: New file.
675 * gdb.fortran/derived-type-function.f90: New file.
676
677
ac69f786
PA
6782016-06-21 Pedro Alves <palves@redhat.com>
679
680 * gdb.base/new-ui.exp: New file.
681 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
682 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
683 (with_spawn_id): New procedure.
684
49940788
PA
6852016-06-21 Pedro Alves <palves@redhat.com>
686
687 * gdb.mi/mi-exec-run.exp: New file.
688
ef274d26
PA
6892016-06-21 Pedro Alves <palves@redhat.com>
690
691 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
692 breakpoint command's output on the main UI.
693 (test_break): New procedure, factored out from calls in the top
694 level.
695 (top level): Use foreach_with_prefix to test MI as main UI and as
696 separate UI.
697
468afe6c
PA
6982016-06-21 Pedro Alves <palves@redhat.com>
699
700 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
701 (test_awatch_creation_and_listing)
702 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
703 Remove 'type' parameter.
704 (test_watchpoint_all): New parameter mi_mode. Remove
705 with_test_prefix.
706 (top level): Use foreach_with_prefix, and add main/separate UI MI
707 testing axis.
708
51f77c37
PA
7092016-06-21 Pedro Alves <palves@redhat.com>
710
711 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
712 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
713 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
714 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
715 (gdb_main_spawn_id, mi_spawn_id): Declare and
716 comment.
717 (mi_create_inferior_pty): New procedure,
718 factored out from default_mi_gdb_start.
719 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
720 procedures.
721 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
722 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
723 Use mi_create_inferior_pty.
724 (mi_gdb_start): Use eval to pass down args list.
725
8980e177
PA
7262016-06-21 Pedro Alves <palves@redhat.com>
727
728 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
729 * gdb.opt/inline-cmds.exp: Add MI tests.
730
f38d3ad1
PA
7312016-06-21 Pedro Alves <palves@redhat.com>
732
733 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
734
45db7c09
PA
7352016-06-21 Pedro Alves <palves@redhat.com>
736
737 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
738 (top level): Use it instead of mi_execute_to.
739
5a069ab3
PA
7402016-06-21 Pedro Alves <palves@redhat.com>
741
742 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
743 (cont_handler_str): New.
744 (signal_stop_handler): Set stop_handler_str instead of printing to
745 stdout.
746 (continue_handler): Set cont_handler_str instead of printing to
747 stdout.
748 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
749 mi_send_resuming_command. Print stop_handler_str and
750 cont_handler_str instead of expecting the python events print
751 directly.
752
2838cc1d
SD
7532016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
754
755 * gdb.base/jit-reader.exp: New file.
756 * gdb.base/jithost.c: New file.
757 * gdb.base/jithost.h: New file.
758 * gdb.base/jitreader.c : New file.
759 * gdb.base/jit-protocol.h: New file.
760
21a77091
YQ
7612016-06-17 Yao Qi <yao.qi@linaro.org>
762
763 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
764 parameters follow_fork and detach_on_fork. Set follow-fork-mode
765 and detach-on-fork. Adjust tests.
766 (top level): Invoke break_cond_on_syscall with combinations of
767 syscall, follow-fork-mode and detach-on-fork.
768
f50bf8e5
YQ
7692016-06-17 Yao Qi <yao.qi@linaro.org>
770
771 * gdb.base/step-over-exit.c: New.
772 * gdb.base/step-over-exit.exp: New.
773
a28d8e50
YTL
7742016-06-17 Yan-Ting Lin <currygt52@gmail.com>
775
776 * gdb.base/float.exp: Add target check for nds32*-*-*.
777 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
778
cad8e26d
AB
7792016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
780
781 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
782 for unsupported target features.
783 * gdb.base/call-rt-st.exp: Likewise.
784 * gdb.base/call-sc.exp: Likewise.
785 * gdb.base/call-signal-resume.exp: Likewise.
786 * gdb.base/call-strs.exp: Likewise.
787 * gdb.base/callexit.exp: Likewise.
788 * gdb.base/callfuncs.exp: Likewise.
789 * gdb.base/nodebug.exp: Likewise.
790 * gdb.base/printcmds.exp: Likewise.
791 * gdb.base/ptype.exp: Likewise.
792 * gdb.base/structs.exp: Likewise.
793 * gdb.base/unwindonsignal.exp: Likewise.
794 * gdb.cp/gdb2495.exp: Likewise.
795 * gdb.cp/templates.exp: Likewise.
796 * gdb.cp/virtfunc.exp: Likewise.
797 * gdb.threads/hand-call-in-threads.exp: Likewise.
798 * gdb.threads/interrupted-hand-call.exp: Likewise.
799 * gdb.threads/thread-unwindonsignal.exp: Likewise.
800
347dc102
TT
8012016-06-10 Tom Tromey <tom@tromey.com>
802
803 PR rust/20110:
804 * gdb.rust/expr.exp: Add test for integer constant larger than
805 i32.
806
5e13cf25
BH
8072016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
808
809 * gdb.fortran/nested-funcs.exp: New.
810 * gdb.fortran/nested-funcs.f90: New.
811
bb556f1f
TK
8122016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
813
814 * gdb.base/examine-backward.c: New file.
815 * gdb.base/examine-backward.exp: New file.
816
38b022b4
SM
8172016-06-06 Simon Marchi <simon.marchi@ericsson.com>
818
819 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
820 matching.
821
1b40ec05
TT
8222016-06-02 Tom Tromey <tom@tromey.com>
823
824 PR python/18984:
825 * gdb.python/py-shared.exp: Add solib_name test.
826
193bd378
SM
8272016-06-02 Simon Marchi <simon.marchi@ericsson.com>
828
829 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
830
3326303b
MG
8312016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
832
833 PR c++/19893
834 * gdb.dwarf2/implref.exp: Rename to...
835 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
836 * gdb.dwarf2/implref-array.c: New file.
837 * gdb.dwarf2/implref-array.exp: Likewise.
838 * gdb.dwarf2/implref-global.c: Likewise.
839 * gdb.dwarf2/implref-global.exp: Likewise.
840 * gdb.dwarf2/implref-struct.c: Likewise.
841 * gdb.dwarf2/implref-struct.exp: Likewise.
842
825c8ef2
AT
8432016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
844
845 * gdb.trace/trace-condition.exp: Add 64bit tests.
846
2320162a
AT
8472016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
848
849 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
850 bits types.
851 (main): Adapt to 8 to 64 bits types.
852 * gdb.trace/trace-condition.exp: Add new tests.
853
a7818233
AT
8542016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
855
856 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
857
0d336466
AT
8582016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
859
860 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
861 Move condition tests...
862 * gdb.trace/trace-condition.exp: Here.
863
7faeb45a
AT
8642016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
865
866 * gdb.trace/trace-condition.exp: Add counter-case tests.
867
e385593e
JK
8682016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
869
870 PR c++/15231
871 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
872 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
873
744608cc
PA
8742016-05-27 Pedro Alves <palves@redhat.com>
875
876 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
877 New procedure.
878 (top level): Call it, and bail out of DejaGnu is known to be bad.
879
ac775bf4
AB
8802016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
881
882 * gdb.base/whatis.c: Extend the test case.
883 * gdb.base/whatis.exp: Add additional tests.
884
2bbad2ea
BH
8852016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
886
887* gdb.fortran/type.f90: Add pointer variable.
888* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
889
8b70175d
BH
8902016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
891
892 * gdb.fortran/vla-type.exp: Fix testcase name.
893
86d8a848
BH
8942016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
895
896 * gdb.fortran/vla-type.exp: Access elements in nested structs.
897
e188eb36
BH
8982016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
899
900 * gdb.fortran/type.f90: Add nested structures.
901 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
902 * gdb.fortran/derived-type.exp: Adapt expected output.
903 * gdb.fortran/vla-type.exp: Adapt expected output.
904
9b2db1fd
BH
9052016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
906
907 * gdb.fortran/whatis_type.exp: Adapt expected output.
908
72b17055
BH
9092016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
910
911 * gdb.fortran/print_type.exp: Fix expected output.
912 * gdb.fortran/whatis_type.exp: Fix expected output.
913
3cd81d8d
BH
9142016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
915
916 * gdb.fortran/whatis_type.exp: Use multi_line.
917
ddae9462
TT
9182016-05-24 Tom Tromey <tom@tromey.com>
919
920 PR python/17386:
921 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
922 use value as an index.
923
1957f6b8
TT
9242016-05-23 Tom Tromey <tom@tromey.com>
925
926 PR python/17981:
927 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
928 no-breakpoint case.
929
026a9174
PA
9302016-05-24 Pedro Alves <palves@redhat.com>
931
932 PR gdb/19828
933 * gdb.threads/clone-attach-detach.c: New file.
934 * gdb.threads/clone-attach-detach.exp: New file.
935
e70a7231
FR
9362016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
937
938 * gdb.base/annota-input-while-running.exp: Fix syntax error.
939
0f6ed0e0
TT
9402016-05-23 Tom Tromey <tom@tromey.com>
941
942 PR python/19438, PR python/18393:
943 * gdb.python/py-progspace.exp: Add "dir" test.
944 * gdb.python/py-objfile.exp: Add "dir" test.
945
ffd19d61
YQ
9462016-05-23 Yao Qi <yao.qi@linaro.org>
947
948 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
949 * gdb.arch/thumb2-it.exp: Likewise.
950
9e8f9b05
SM
9512016-05-18 Simon Marchi <simon.marchi@ericsson.com>
952
953 * gdb.mi/mi-threads-interrupt.c: New file.
954 * gdb.mi/mi-threads-interrupt.exp: New file.
955
61c6156d
SM
9562016-05-17 Simon Marchi <simon.marchi@ericsson.com>
957
958 PR gdb/18077
959 * gdb.mi/mi-async-run.exp: New file.
960 * gdb.mi/mi-async-run.c: New file.
961
67218854
TT
9622016-05-17 Tom Tromey <tom@tromey.com>
963 Manish Goregaokar <manishsmail@gmail.com>
964
965 * lib/rust-support.exp: New file.
966 * lib/gdb.exp (skip_rust_tests): New proc.
967 (build_executable_from_specs): Handle rust.
968 * lib/future.exp (gdb_find_rustc): New proc.
969 (gdb_default_target_compile): Handle rust.
970 * gdb.rust/expr.exp: New file.
971 * gdb.rust/generics.exp: New file.
972 * gdb.rust/generics.rs: New file.
973 * gdb.rust/methods.exp: New file.
974 * gdb.rust/methods.rs: New file.
975 * gdb.rust/modules.exp: New file.
976 * gdb.rust/modules.rs: New file.
977 * gdb.rust/simple.exp: New file.
978 * gdb.rust/simple.rs: New file.
979
c44af4eb
TT
9802016-05-17 Tom Tromey <tom@tromey.com>
981
982 * gdb.base/default.exp (set language): Add rust.
983
dcd1f979
TT
9842016-05-17 Tom Tromey <tom@tromey.com>
985
986 * gdb.gdb/unittest.exp: New file.
987
155b7f57
YQ
9882016-05-16 Yao Qi <yao.qi@linaro.org>
989
990 * gdb.base/batch-preserve-term-settings.exp: Remove variable
991 shell_prompt. Update shell_prompt_re.
992
8ddd5a6c
DE
9932016-05-12 Doug Evans <dje@google.com>
994
995 PR symtab/19999
996 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
997 $options when building executable.
998 * gdb.dwarf2/fission-loclists-pie.S: New file.
999 * gdb.dwarf2/fission-loclists-pie.exp: New file.
1000
02e370d9
SM
10012016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1002
1003 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
1004 of [is_remote target],
1005
8929ad8b
SM
10062016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1007
1008 * lib/gdb.exp (use_gdb_stub): New procedure.
1009
6c447423
DE
10102016-05-03 Yunlian Jiang <yunlian@google.com>
1011 Doug Evans <dje@google.com>
1012
1013 PR symtab/19914
1014 * gdb.dwarf2/dwp-sepdebug.c: New file.
1015 * gdb.dwarf2/dwp-sepdebug.exp: New file.
1016
444e826c
SM
10172016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1018
1019 * gdb.base/detach.exp: Remove is_remote check.
1020
740feeaa
SM
10212016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1022
1023 * gdb.base/annota-input-while-running.exp: Don't check for
1024 [is_remote target]. Enable annotations after running to main.
1025 Remove unused "set test..." line.
1026
9080ac9d
SM
10272016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1028
1029 * gdb.trace/trace-enable-disable.exp: New file.
1030 * gdb.trace/trace-enable-disable.c: New file.
1031
952ebca5
SM
10322016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1033
1034 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
1035 use it in info sharedlibrary test.
1036 * gdb.trace/ftrace-lock.exp: Likewise.
1037 * gdb.trace/ftrace.exp: Likewise.
1038 * gdb.trace/range-stepping.exp: Likewise.
1039 * gdb.trace/trace-break.exp: Likewise.
1040 * gdb.trace/trace-condition.exp: Likewise.
1041 * gdb.trace/trace-mt.exp: Likewise.
1042
d9019901
SM
10432016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1044
1045 * lib/gdb.exp (gdb_load_shlibs): Rename to...
1046 (gdb_load_shlib): ... this.
1047 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
1048 gdb_load_shlib.
1049 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1050 * gdb.base/ctxobj.exp: Likewise.
1051 * gdb.base/dprintf-pending.exp: Likewise.
1052 * gdb.base/dso2dso.exp: Likewise.
1053 * gdb.base/fixsection.exp: Likewise.
1054 * gdb.base/gcore-relro.exp: Likewise.
1055 * gdb.base/gdb1555.exp: Likewise.
1056 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1057 * gdb.base/gnu-ifunc.exp: Likewise.
1058 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
1059 * gdb.base/jit-so.exp (one_jit_test): Likewise.
1060 * gdb.base/pending.exp: Likewise.
1061 * gdb.base/print-file-var.exp: Likewise.
1062 * gdb.base/print-symbol-loading.exp: Likewise.
1063 * gdb.base/shlib-call.exp: Likewise.
1064 * gdb.base/shreloc.exp: Likewise.
1065 * gdb.base/so-impl-ld.exp: Likewise.
1066 * gdb.base/solib-disc.exp: Likewise.
1067 * gdb.base/solib-nodir.exp: Likewise.
1068 * gdb.base/solib-overlap.exp: Likewise.
1069 * gdb.base/solib-symbol.exp: Likewise.
1070 * gdb.base/solib-weak.exp (do_test): Likewise.
1071 * gdb.base/sym-file.exp: Likewise.
1072 * gdb.base/symtab-search-order.exp: Likewise.
1073 * gdb.base/type-opaque.exp: Likewise.
1074 * gdb.base/unload.exp: Likewise.
1075 * gdb.base/watchpoint-solib.exp: Likewise.
1076 * gdb.compile/compile.exp: Likewise.
1077 * gdb.cp/gdb2384.exp: Likewise.
1078 * gdb.cp/infcall-dlopen.exp: Likewise.
1079 * gdb.cp/re-set-overloaded.exp: Likewise.
1080 * gdb.fortran/library-module.exp: Likewise.
1081 * gdb.opt/solib-intra-step.exp: Likewise.
1082 * gdb.python/py-finish-breakpoint.exp: Likewise.
1083 * gdb.python/py-shared.exp: Likewise.
1084 * gdb.reverse/solib-precsave.exp: Likewise.
1085 * gdb.reverse/solib-reverse.exp: Likewise.
1086 * gdb.server/solib-list.exp: Likewise.
1087 * gdb.threads/dlopen-libpthread.exp: Likewise.
1088 * gdb.threads/tls-shared.exp: Likewise.
1089 * gdb.threads/tls-so_extern.exp: Likewise.
1090 * gdb.trace/change-loc.exp: Likewise.
1091 * gdb.trace/ftrace-lock.exp: Likewise.
1092 * gdb.trace/ftrace.exp: Likewise.
1093 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
1094 * gdb.trace/pending.exp: Likewise.
1095 * gdb.trace/range-stepping.exp: Likewise.
1096 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
1097 (strace_info_marker): Likewise.
1098 (strace_probe_marker): Likewise.
1099 (strace_trace_on_same_addr): Likewise.
1100 (strace_trace_on_diff_addr): Likewise.
1101 * gdb.trace/trace-break.exp: Likewise.
1102 * gdb.trace/trace-condition.exp: Likewise.
1103 * gdb.trace/trace-mt.exp: Likewise.
1104
fca4cfd9
SM
11052016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1106
1107 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
1108 result of gdb_remote_download.
1109 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
1110 * gdb.base/dso2dso.exp: Likewise.
1111 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1112 * gdb.base/print-file-var.exp: Likewise.
1113 * gdb.base/shlib-call.exp: Likewise.
1114 * gdb.base/shreloc.exp: Likewise.
1115 * gdb.base/solib-overlap.exp: Likewise.
1116 * gdb.base/solib-weak.exp (do_test): Likewise.
1117 * gdb.base/unload.exp: Likewise.
1118
11cf4ffb
YQ
11192016-04-27 Yao Qi <yao.qi@linaro.org>
1120
1121 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
1122 exists.
1123
3e2e34f8
KB
11242016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1125
1126 * vla-type.exp: Print structure from toplevel.
1127
8f07e298
BH
11282016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1129
1130 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
1131 of dynamic types.
1132 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
1133 of dynamic types.
1134
9920b434
BH
11352016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1136
1137 * gdb.fortran/vla-type.f90: New file.
1138 * gdb.fortran/vla-type.exp: New file.
1139
f3abeff5
YQ
11402016-04-25 Yao Qi <yao.qi@linaro.org>
1141
1142 * gdb.base/branch-to-self.c: New file.
1143 * gdb.base/branch-to-self.exp: New file.
1144
0a5d52f0
YQ
11452016-04-22 Yao Qi <yao.qi@linaro.org>
1146
1147 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
1148 more after $hex.
1149
495346f6
YQ
11502016-04-22 Yao Qi <yao.qi@linaro.org>
1151
1152 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
1153 * gdb.base/annota3.exp: Likewise.
1154
4a7e075c
YQ
11552016-04-22 Yao Qi <yao.qi@linaro.org>
1156
1157 * gdb.reverse/step-precsave.exp: Do one step and test program
1158 stops in "callee" and do multiple steps until program goes out
1159 of "callee".
1160 * gdb.reverse/step-reverse.exp: Likewise.
1161
5b061e98
YQ
11622016-04-22 Yao Qi <yao.qi@linaro.org>
1163
1164 * gdb.trace/signal.exp: Also pass if
1165 $tracepoint_hits($i) > $iterations.
1166
5c5dc57f
YQ
11672016-04-22 Yao Qi <yao.qi@linaro.org>
1168
1169 * gdb.trace/signal.c: New file.
1170 * gdb.trace/signal.exp: New file.
1171
a55411b9
DE
11722016-04-19 Doug Evans <xdje42@gmail.com>
1173
1174 * gdb.base/bad-file.exp: New file.
1175
a22df60a
MG
11762016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
1177
1178 * gdb.dwarf2/implref.exp: New file.
1179
0c13f7e5
BH
11802016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1181
1182 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
1183 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
1184 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
1185 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
1186 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
1187 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
1188 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
1189 * lib/fortran.exp (fortran_int4): New procedure.
1190 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
1191 (fortran_logical4): Likewise.
1192
9b9b09e9
BH
11932016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
1194
1195 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
1196
a14d1f4d
BH
11972016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1198
1199 * lib/compiler.c: Add Intel specific preprocessor macros.
1200 * lib/compiler.cc: Likewise.
25d49b86 1201
7d49b1d0
LM
12022016-04-13 Luis Machado <lgustavo@codesourcery.com>
1203
1204 * gdb.server/connect-with-no-symbol-file.c: New file.
1205 * gdb.server/connect-with-no-symbol-file.exp: New file.
1206
8392fa22
SM
12072016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1208
1209 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
1210
8c4c4aeb
SM
12112016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1212
1213 * boards/gdbserver-base.exp (${board}_download): Copy source file to
1214 standard output directory.
1215
45e3745e
AT
12162016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
1217
1218 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
1219
e26b7e41
MM
12202016-04-13 Markus Metzger <markus.t.metzger@intel.com>
1221
1222 * gdb.btrace/instruction_history.c (loop): Add declaration.
1223
8ce09462
AT
12242016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1225
1226 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
1227
2e88a1ea
SM
12282016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
1229
1230 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
1231 parentheses to print.
1232 (continue_handler): Likewise.
1233
f48e22e3
SM
12342016-04-08 Simon Marchi <simon.marchi@ericsson.com>
1235
1236 * gdb.server/solib-list.exp: Remove is_remote check.
1237 Pass shlib= to gdb_compile. Don't link shared library with
1238 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
1239 Run binary filename through "readlink -f" on the target.
1240
096be756
PA
12412016-04-08 Pedro Alves <palves@redhat.com>
1242
1243 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
1244 interpreter filename as argument to gdbserver_spawn.
1245 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1246 Return empty if $last_loaded_file does not exist.
1247
06500533
JK
12482016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1249
1250 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
1251 * gdb.base/jit-main.c: Use exit after usage.
1252
2d35e871
JK
12532016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1254
1255 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
1256 GDBHISTSIZE prior to the tests.
1257 * gdb.base/gdbinit-history.exp: Likewise.
1258
12592016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
1260
1261 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
1262 instead of build_executable. Use gdb_load_shlibs.
1263
c8064e7e
YQ
12642016-04-07 Yao Qi <yao.qi@linaro.org>
1265
1266 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
1267 Execute "si" command.
1268
bde47561
YQ
12692016-04-07 Yao Qi <yao.qi@linaro.org>
1270
1271 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
1272 number instead of the comments on some line.
1273
b16f8a3b
DB
12742016-04-06 Don Breazeal <donb@codesourcery.com>
1275
1276 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
1277 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
1278
c2f901df
SM
12792016-04-06 Simon Marchi <simon.marchi@ericsson.com>
1280
1281 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
1282 standard_output_file. Remove unused binfile variable.
1283
ac17fda0
CU
12842016-04-05 Catalin Udma <catalin.udma@freescale.com>
1285
1286 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
1287 * gdb.python/py-mi-objfile.exp: Match "list main" output
1288 in console format.
1289
03a8c4df
SM
12902016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
1291
1292 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
1293 absolute.
1294
6e774b13
SM
12952016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1296
1297 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
1298 absolute.
1299 * gdb.trace/ftrace.exp: Likewise.
1300 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
1301 targets as well.
1302 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
1303 (gdb_load_shlibs): Copy libraries to test directory when testing
1304 natively. Only set solib-search-path if testing remotely.
1305 * lib/mi-support.exp (mi_load_shlibs): Likewise.
1306
7817ea46
SM
13072016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1308
1309 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
1310 gdb_download. Use it even if the target is not remote.
1311 * gdb.base/jit.exp (compile_jit_test): Likewise.
1312 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
1313 output directory if the destination board is local, otherwise use
1314 the standard remote_download from DejaGnu.
1315 (gdb_download): Remove.
1316 (gdb_load_shlibs): Use gdb_remote_download instead of
1317 gdb_download.
1318 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1319 Use gdb_remote_download instead of gdb_download. Use it even if
1320 the target is not remote.
1321 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
1322 instead of gdb_download.
1323
7beb7f68
SM
13242016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
1325
1326 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
1327 (test_insert_delete_modify): Call mi_load_shlibs before trying to
1328 run.
1329
cc63428a
AV
13302016-04-01 Artemiy Volkov <artemiyv@acm.org>
1331
1332 PR gdb/19820
1333 * gdb.base/printcmds.exp: Add artificial arrays tests.
1334
64cdf930
PA
13352016-03-31 Pedro Alves <palves@redhat.com>
1336
1337 PR gdb/19858
1338 * gdb.base/jit-main.c: Include unistd.h.
1339 (ATTACH): Define to 0 if not already defined.
1340 (wait_for_gdb, mypid): New globals.
1341 (WAIT_FOR_GDB): New macro.
1342 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1343 some breakpoint locations.
1344 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1345 New procedures.
1346 (one_jit_test): Add REATTACH parameter, and handle it. Use
1347 continue_to_test_location.
1348 (top level): Test attach, and adjusts calls to one_jit_test.
1349
40dea8cb
PA
13502016-03-31 Pedro Alves <palves@redhat.com>
1351
1352 PR gdb/19858
1353 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1354 BINSUFFIX parameter, and handle it.
1355 (top level): Adjust calls compile_jit_test.
1356
e7ea3ec7
CU
13572016-03-31 Catalin Udma <catalin.udma@freescale.com>
1358
1359 PR python/19743
1360 * gdb.python/py-mi-events-gdb.py: New file.
1361 * gdb.python/py-mi-events.c: New file.
1362 * gdb.python/py-mi-events.exp: New file.
1363
e6359af3
YQ
13642016-03-30 Yao Qi <yao.qi@linaro.org>
1365
1366 * gdb.reverse/until-precsave.exp: Match function name only.
1367 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1368 Move malloc to a condition block.
1369 * gdb.reverse/until-reverse.exp: Match function name only.
1370
a4105d04
MK
13712016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1372
1373 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1374 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1375 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1376 variable for GPR 0 instead of assuming it is register 0.
1377 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1378 * lib/trace-support.exp: Add s390 registers.
1379
bfa6adb9
YQ
13802016-03-29 Yao Qi <yao.qi@linaro.org>
1381
1382 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1383
1e6697ea
YQ
13842016-03-24 Yao Qi <yao.qi@linaro.org>
1385
1386 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1387 test message.
1388
64bcd522
AA
13892016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1390
1391 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1392 maintaining separate logic for constructing the output path.
1393
7868401b
DB
13942016-03-16 Don Breazeal <donb@codesourcery.com>
1395
1396 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1397 Retry fork and waitpid on interrupted system call errors.
1398 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1399 Use with_timeout_factor to increase timeout by factor of 10.
1400
1cafadb4
DB
14012016-03-15 Don Breazeal <donb@codesourcery.com>
1402
1403 * gdb.cp/scope-err.cc: New test program.
1404 * gdb.cp/scope-err.exp: New test script.
1405 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1406 lines and "set breakpoint here" comment.
1407 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1408 Fixed some whitespace and format issues.
1409 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1410 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1411
81516450
DE
14122016-03-15 Doug Evans <dje@google.com>
1413
1414 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1415 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1416 All callers updated. Add tests for enums, mixed flags register.
1417
aa52b601
DE
14182016-03-15 Doug Evans <dje@google.com>
1419
1420 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1421 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1422
fa4ff313
SM
14232016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1424
1425 * gdb.base/default.exp: Add $_as_string to the list of expected
1426 convenience functions.
1427
f2403c39
AB
14282016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1429
1430 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1431
f2f3ccb9
SM
14322016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1433
1434 * gdb.python/py-as-string.exp: New file.
1435 * gdb.python/py-as-string.c: New file.
1436
00dbd492
PA
14372016-03-09 Pedro Alves <palves@redhat.com>
1438
1439 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1440 signal" -> "Thread NN received signal" output change.
1441 * gdb.threads/ia64-sigill.exp: Likewise.
1442 * gdb.threads/linux-dp.exp: Likewise.
1443 * gdb.threads/manythreads.exp: Likewise.
1444 * gdb.threads/pending-step.exp: Likewise.
1445 * gdb.threads/print-threads.exp: Likewise.
1446 * gdb.threads/sigstep-threads.exp: Likewise.
1447 * gdb.threads/staticthreads.exp: Likewise.
1448 * gdb.threads/tls.exp: Likewise.
1449
1e6697ea
YQ
14502016-03-09 Pedro Alves <palves@redhat.com>
1451
1452 * gdb.base/command-line-input.exp: New file.
1453
b04fd3be
MK
14542016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1455
1456 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1457 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1458 * gdb.trace/pending.exp: Accept leading dot before function name.
1459 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1460 * lib/trace-support.exp: Set registers for ppc.
1461
98fa59e9
MK
14622016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1463
1464 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1465 use it for disassembly; accept .main in addition to main in backtrace.
1466
f77198c8
MK
14672016-03-09 Wei-cheng Wang <cole945@gmail.com>
1468 Marcin Kościelnicki <koriakin@0x04.net>
1469
1470 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1471 (gdb_recursion_test_ptr): New global variable.
1472 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1473 gdb_recursion_test.
1474 (gdb_c_test): Ditto.
1475
ba84e0da
MK
14762016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1477
1478 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1479 ordering.
1480
4366d36e
MK
14812016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1482
1483 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1484 (bar): Add bar_start_lbl label.
1485 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1486 of foo/bar for emitting DWARF and tracing.
1487
5eb264df
SDJ
14882016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1489
1490 * analyze-racy-logs.py: Set executable bit.
1491
fb6a751f
SDJ
14922016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1493
1494 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1495 (CHECK_TARGET_TMP): Likewise.
1496 (check-single-racy): New rule.
1497 (check-parallel-racy): Likewise.
1498 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1499 (do-check-parallel-racy): New rule.
1500 (check-racy/%.exp): Likewise.
1501 * README (Racy testcases): New section.
1502 * analyze-racy-logs.py: New file.
1503
bdf7e230
DE
15042016-03-03 Doug Evans <dje@google.com>
1505
1506 * gdb.base/skip.exp: Use with_test_prefix.
1507
4719d415
YQ
15082016-03-03 Yao Qi <yao.qi@linaro.org>
1509
1510 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1511 Invoke step_over_syscall "clone" and break_cond_on_syscall
1512 "clone".
1513 * gdb.base/step-over-clone.c: New file.
1514
ea507862
YQ
15152016-03-03 Yao Qi <yao.qi@linaro.org>
1516
1517 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1518 code format.
1519
8fc8cbda
YQ
15202016-03-03 Yao Qi <yao.qi@linaro.org>
1521
1522 * gdb.base/disp-step-fork.c: Rename to ...
1523 * gdb.base/step-over-fork.c: ... it. New file.
1524 * gdb.base/disp-step-vfork.c: Rename to ...
1525 * gdb.base/step-over-vfork.c: ... it. New file.
1526 * gdb.base/disp-step-syscall.exp: Rename to ...
1527 * gdb.base/step-over-syscall.exp: ... it. New file.
1528 (disp_step_cross_syscall): Rename to ...
1529 (step_over_syscall): ... it.
1530
92fa70b0
YQ
15312016-03-03 Yao Qi <yao.qi@linaro.org>
1532
1533 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1534 If target supports condition evaluation on target, invoke
1535 break_cond_on_syscall for fork and vfork.
1536
e197ad3c
YQ
15372016-03-03 Yao Qi <yao.qi@linaro.org>
1538
1539 * gdb.base/disp-step-syscall.exp: Don't invoke
1540 support_displaced_stepping.
1541 (disp_step_cross_syscall): Test with displaced stepping off and
1542 on if supported.
1543
0b47da9f
YQ
15442016-03-03 Yao Qi <yao.qi@linaro.org>
1545
1546 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1547 proc.
1548 (setup): New proc.
1549 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1550 and setup.
1551
065ab6dc
BH
15522016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1553
1554 * gdb.fortran/vla-history.exp: Remove breakpoint.
1555
07e448ad 15562016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1557
25d49b86
PA
1558 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1559 exceeds timeout.
07e448ad 1560
9ac2d526 15612016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1562
25d49b86
PA
1563 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1564 breakpoint.
9ac2d526 1565
17807369
BH
15662016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1567
1568 * gdb.mi/vla.f90: Nullify pointer after declaration.
1569
86e501af
PA
15702016-03-01 Pedro Alves <palves@redhat.com>
1571
1572 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1573
1e903e32
PA
15742016-03-01 Pedro Alves <palves@redhat.com>
1575
1576 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1577 before anything else.
1578 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1579 _GNU_SOURCE here.
1580 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1581 before anything else.
1582 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1583
6ccb54e2
PA
15842016-03-01 Pedro Alves <palves@redhat.com>
1585
1586 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1587
30ca9da1
YQ
15882016-03-01 Yao Qi <yao.qi@linaro.org>
1589
1590 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1591 prepare_for_testing.
1592
dc856b38
YQ
15932016-03-01 Yao Qi <yao.qi@linaro.org>
1594
1595 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1596
4a932159
AA
15972016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1598
1599 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1600 manually constructing the output path.
1601
f2489477
AA
16022016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1603
1604 * gdb.arch/s390-stackless.S: New.
1605 * gdb.arch/s390-stackless.exp: New.
1606
38899f16
IB
16072016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1608
1609 * gdb.dlang/circular.c: New file.
1610 * gdb.dlang/circular.exp: New file.
1611
9fde51ed
YQ
16122016-02-26 Yao Qi <yao.qi@linaro.org>
1613
1614 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1615 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1616 (testcases): Update.
1617
ce90fefe
YQ
16182016-02-26 Yao Qi <yao.qi@linaro.org>
1619
1620 * gdb.reverse/aarch64.c: Rename to ...
1621 * gdb.reverse/insn-reverse.c: ... it.
1622 * gdb.reverse/aarch64.exp: Rename to ...
1623 * gdb.reverse/insn-reverse.exp: ... it.
1624
3263bceb
YQ
16252016-02-26 Yao Qi <yao.qi@linaro.org>
1626
1627 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1628 (testcase_ftype): New.
1629 (testcases): New array.
1630 (n_testcases): New.
1631 (main): Call each element in testcases.
1632 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1633 (read_testcase): New.
1634 Do the tests in a loop.
1635
6cb59ff1
YQ
16362016-02-25 Yao Qi <yao.qi@linaro.org>
1637
1638 * gdb.base/branches.c: Remove.
1639
ae91f625
MK
16402016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1641
1642 PR gdb/13808
1643 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1644
678b48b7
MK
16452016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1646
1647 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1648
7337a6f2
MK
16492016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1650
1651 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1652 change x86_64 call_insn to 'callq'.
1653
861ca91f
AT
16542016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1655
1656 * gdb.trace/tfile-avx.c: Move to...
1657 * gdb.trace/tracefile-pseudo-reg.c: Here.
1658 * gdb.trace/tfile-avx.exp: Move to...
1659 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1660
bf74e428
GB
16612016-02-24 Gary Benson <gbenson@redhat.com>
1662
1663 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1664 message on attach.
1665
cce0e923
DE
16662016-02-23 Doug Evans <dje@google.com>
1667
1668 * gdb.base/skip.c (test_skip): New function.
1669 (end_test_skip_file_and_function): New function.
1670 (test_skip_file_and_function): New function.
1671 * gdb.base/skip1.c (test_skip): New function.
1672 (skip1_test_skip_file_and_function): New function.
1673 * gdb.base/skip.exp: Add tests for new skip options.
1674 * gdb.base/skip-solib.exp: Update expected output.
1675 * gdb.perf/skip-command.cc: New file.
1676 * gdb.perf/skip-command.exp: New file.
1677 * gdb.perf/skip-command.py: New file.
1678
4000e47e
MK
16792016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1680
1681 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1682 info registers pattern.
1683
24f75ead
IB
16842016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1685
1686 * lib/future.exp: Add D support.
1687 (gdb_find_gdc): New proc.
1688 (gdb_default_target_compile): Add D support.
1689
fbb7bcbe
WW
16902016-02-18 Wei-cheng Wang <cole945@gmail.com>
1691
1692 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1693 user+system time.
1694 (trace_speed_test): Determine the iteration count for a time
1695 between 15..30 seconds.
1696
012b3a21
WT
16972016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1698
1699 * gdb.arch/i386-mpx-sigsegv.c: New file.
1700 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1701 * gdb.arch/i386-mpx-simple_segv.c: New file.
1702 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1703
2d5189bd
YQ
17042016-02-18 Yao Qi <yao.qi@linaro.org>
1705
1706 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1707 Don't call setup_kfail.
1708
40fb20d0
YQ
17092016-02-18 Yao Qi <yao.qi@linaro.org>
1710
1711 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1712 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1713
21b1f8d2
DE
17142016-02-16 Doug Evans <dje@google.com>
1715
1716 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1717 * gdb.base/skip1.c: Ditto.
1718 * gdb.base/skip.exp: Whitespace cleanup.
1719
4041ed77
DB
17202016-02-16 Don Breazeal <donb@codesourcery.com>
1721
1722 PR remote/19496
1723 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1724 Remove kfail for PR remote/19496.
1725
c4ef31bf
SM
17262016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1727
1728 * lib/gdb.exp (standard_temp_file): Return a path specific to
1729 the runtest invocation.
1730
266b65b3
SM
17312016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1732
1733 * gdb.trace/save-trace.exp: Change relative path to be in the
1734 standard output directory.
1735
a7a0a6a9
JK
17362016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1737
1738 * gdb.arch/i386-prologue.c: Add missing prototypes.
1739
c99dbb42
JK
17402016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1741
1742 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1743 * gdb.arch/i386-prologue.exp: Likewise.
1744 * gdb.arch/i386-size.exp: Likewise.
1745
aa480355
SM
17462016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1747
1748 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1749 define object file path.
1750 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1751 file path.
1752 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1753 standard_output_file to define binfile.
1754
ba881f50
JK
17552016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1756
1757 Fix compatibility with recent gfortran-5.3.1.
1758 * gdb.fortran/vla-history.exp (print vla1 allocated)
1759 (print vla2 allocated, print $2, print $3): Remove
1760 (print $4): Rename to ...
1761 (print $2): ... here.
1762 (print $9): Rename to ...
1763 (print $5): ... here.
1764 (print $10): Rename to ...
1765 (print $6): ... here.
1766 * gdb.fortran/vla.f90: Add pvla initialization.
1767
e9fb005c
JK
17682016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1769
1770 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1771 New test.
1772 * gdb.fortran/vla-value-sub.exp: Likewise.
1773
e44e00ff
MK
17742016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1775
1776 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1777
97e94151
SM
17782016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1779
1780 * i386-biarch-core.exp: Define corefile using
1781 standard_output_file.
1782
01113bc1
YQ
17832016-02-12 Yao Qi <yao.qi@linaro.org>
1784
1785 * gdb.arch/arm-single-step-kernel-helper.c: New.
1786 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1787
33b4777c
MM
17882016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1789
1790 * gdb.btrace/tailcall-only.exp: New.
1791 * gdb.btrace/tailcall-only.c: New.
1792 * gdb.btrace/x86_64-tailcall-only.S: New.
1793 * gdb.btrace/i686-tailcall-only.S: New.
1794
acc23c11
PA
17952016-02-11 Pedro Alves <palves@redhat.com>
1796
1797 * README (Parallel testing): Add missing double quotes.
1798
e352bf0a
PA
17992016-02-11 Pedro Alves <palves@redhat.com>
1800
1801 * README (Parallel testing): New section.
1802 (GDB_PARALLEL): Rewrite.
1803 (FORCE_PARALLEL): Document.
1804
9f5fed78
MK
18052016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1806
1807 * gdb.trace/tfile-avx.c: New test.
1808 * gdb.trace/tfile-avx.exp: New test.
1809
9ef9e6a6
KS
18102016-02-09 Keith Seitz <keiths@redhat.com>
1811
1812 PR breakpoints/19546
1813 * gdb.base/infcall-exec.c: New file.
1814 * gdb.base/infcall-exec2.c: New file.
1815 * gdb.base/infcall-exec.exp: New file.
1816
a96e36da
KS
18172016-02-09 Keith Seitz <keiths@redhat.com>
1818
1819 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1820 (toplevel): Call test_bkpt_address.
1821
9f61929f
KS
18222016-02-09 Keith Seitz <keiths@redhat.com>
1823
1824 PR python/19506
1825 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1826 (toplevel): Call test_bkpt_address.
1827
1e94266c
SM
18282016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1829
1830 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1831 to AC_OUTPUT.
1832 * configure: Regenerate.
1833
2a7f3dff
PA
18342016-02-09 Pedro Alves <palves@redhat.com>
1835
1836 PR breakpoints/19548
1837 * gdb.base/execl-update-breakpoints.c (some_function): New
1838 function.
1839 (main): Call it.
1840 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1841 Tighten expected GDB output.
1842
2151ccc5
SM
18432016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1844
1845 * Makefile.in (ALL_SUBDIRS): Remove.
1846 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1847 (distclean maintainer-clean realclean): Likewise.
1848 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1849 * configure: Regenerate.
1850 * gdb.ada/Makefile.in: Delete.
1851 * gdb.arch/Makefile.in: Likewise.
1852 * gdb.asm/Makefile.in: Likewise.
1853 * gdb.base/Makefile.in: Likewise.
1854 * gdb.btrace/Makefile.in: Likewise.
1855 * gdb.cell/Makefile.in: Likewise.
1856 * gdb.compile/Makefile.in: Likewise.
1857 * gdb.cp/Makefile.in: Likewise.
1858 * gdb.disasm/Makefile.in: Likewise.
1859 * gdb.dlang/Makefile.in: Likewise.
1860 * gdb.dwarf2/Makefile.in: Likewise.
1861 * gdb.fortran/Makefile.in: Likewise.
1862 * gdb.gdb/Makefile.in: Likewise.
1863 * gdb.go/Makefile.in: Likewise.
1864 * gdb.guile/Makefile.in: Likewise.
1865 * gdb.java/Makefile.in: Likewise.
1866 * gdb.linespec/Makefile.in: Likewise.
1867 * gdb.mi/Makefile.in: Likewise.
1868 * gdb.modula2/Makefile.in: Likewise.
1869 * gdb.multi/Makefile.in: Likewise.
1870 * gdb.objc/Makefile.in: Likewise.
1871 * gdb.opencl/Makefile.in: Likewise.
1872 * gdb.opt/Makefile.in: Likewise.
1873 * gdb.pascal/Makefile.in: Likewise.
1874 * gdb.perf/Makefile.in: Likewise.
1875 * gdb.python/Makefile.in: Likewise.
1876 * gdb.reverse/Makefile.in: Likewise.
1877 * gdb.server/Makefile.in: Likewise.
1878 * gdb.stabs/Makefile.in: Likewise.
1879 * gdb.threads/Makefile.in: Likewise.
1880 * gdb.trace/Makefile.in: Likewise.
1881 * gdb.xml/Makefile.in: Likewise.
1882 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1883 GDB_PARALLEL.
1884 (standard_output_file): Remove check for GDB_PARALLEL, always
1885 return path in outputs/$subdir/$testname.
1886
437277d4
SM
18872016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1888
1889 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1890 (site.exp): Assign abs_srcdir to tcl's srcdir.
1891
31d913c7
YQ
18922016-02-04 Yao Qi <yao.qi@linaro.org>
1893
1894 * gdb.base/foll-exec-mode.c: Include limits.h.
1895 (main): Add parameters argc and argv. Get directory from
1896 argv[0].
1897 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1898 compilation.
1899 * gdb.base/foll-exec.c: Include limits.h.
1900 (main): Add parameters argc and argv.
1901 Get directory from argv[0].
1902 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1903 Adjust tests on the number of lines as source code changed.
1904 * gdb.base/foll-vfork-exit.c: Include limits.h.
1905 (main): Add one line of statement before vfork.
1906 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1907 (main): Add parameters argc and argv. Get directory from
1908 argv[0].
1909 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1910 (setup_gdb): Set tbreak to skip some source lines.
1911 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1912 (main): Add parameters argc and argv. Get directory from
1913 argv[0].
1914 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1915 compilation.
1916 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1917 (main): Add parameters argc and argv. Get directory from
1918 argv[0].
1919 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1920 compilation.
1921
9482b9fb
DE
19222016-02-01 Doug Evans <dje@google.com>
1923
1924 * gdb.base/skip.exp: Clean up multiple references to same test name.
1925
6b2e4f10
PA
19262016-02-01 Pedro Alves <palves@redhat.com>
1927
ccb6afd6 1928 PR remote/19496
6b2e4f10
PA
1929 * gdb.threads/forking-threads-plus-breakpoint.exp
1930 (displaced_stepping_supported): New global.
1931 (probe_displaced_stepping_support): New procedure.
1932 (do_test): Add 'displaced' parameter, and use it.
1933 (top level): Check for displaced stepping support. Add displaced
1934 stepping on/off testing axis.
1935
37a8db1a
AB
19362016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1937
1938 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1939 pointer. Don't perform further tests on the unassociated pointer
1940 if the first test fails.
1941
5fdf6324
AB
19422016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1943
1944 * gdb.base/max-value-size.c: New file.
1945 * gdb.base/max-value-size.exp: New file.
1946 * gdb.base/huge.exp: Disable max-value-size for this test.
1947
935c6144
IB
19482016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1949
1950 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1951
7fe8399d
YQ
19522016-01-28 Yao Qi <yao.qi@linaro.org>
1953
1954 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1955
a2077e25
PA
19562016-01-25 Pedro Alves <palves@redhat.com>
1957
1958 PR threads/19461
1959 * gdb.base/fork-running-state.c: New file.
1960 * gdb.base/fork-running-state.exp: New file.
1961
1d2736d4
PA
19622016-01-25 Pedro Alves <palves@redhat.com>
1963
1964 PR gdb/19494
1965 * gdb.base/catch-fork-kill.c: New file.
1966 * gdb.base/catch-fork-kill.exp: New file.
1967
f1da4b11
PA
19682016-01-25 Pedro Alves <palves@redhat.com>
1969
1970 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1971 Delete, moved to lib/gdb.exp.
1972 * gdb.threads/forking-threads-plus-breakpoint.exp
1973 (foreach_with_prefix): Likewise.
1974 * gdb.threads/process-dies-while-handling-bp.exp
1975 (foreach_with_prefix): Likewise.
1976 * lib/gdb.exp (foreach_with_prefix): New procedure.
1977
45f38546
MK
19782016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1979
1980 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1981 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1982
dc29a1ce
MK
19832016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1984
1985 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1986 endian targets.
1987
092127d7
JK
19882016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1989 Pedro Alves <palves@redhat.com>
1990
1991 Fix testsuite compatibility with Guile.
1992 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1993 number.
1994
31d765d3
JK
19952016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1996
1997 Fix testsuite compatibility with Guile.
1998 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1999 (thread 1): New test for backtrace through signal handler.
2000
1ac78c04
YQ
20012016-01-22 Yao Qi <yao.qi@linaro.org>
2002
2003 PR testsuite/19491
2004 * gdb.base/multi-forks.c: Include
2005 ../lib/unbuffer_output.c
2006 (main): Call gdb_unbuffer_output.
2007
4f5946a8
DE
20082016-01-21 Doug Evans <dje@google.com>
2009
2010 * lib/ada.exp (gdb_compile_ada): Fix typo.
2011
305e13e6
JB
20122016-01-21 Joel Brobecker <brobecker@adacore.com>
2013
2014 * gdb.base/break-fun-addr.exp: New file.
2015 * gdb.base/break-fun-addr1.c: New file.
2016 * gdb.base/break-fun-addr2.c: New file.
2017
5f5dfff6
SM
20182016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
2019
2020 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
2021 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
2022 enum flag values.
2023
fd356fa2
AA
20242016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2025
2026 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
2027 when GDB can not set the vector return value. Add more comments
2028 for clarification.
2029
9df22175
AT
20302016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
2031
2032 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
2033 command.
2034
41d1845e
SM
20352016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2036
2037 * Makefile.in (DO_RUNTEST): Add --status and update usages.
2038
01ac6840
SM
20392016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2040
2041 * Makefile.in (check-single): Pass --status to runtest.
2042 (check/%.exp): Likewise.
2043
20442016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2045
2046 * Makefile.in (check-parallel): Propagate return code from make
2047 do-check-parallel.
2048
bd0a71fa
MK
20492016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
2050
2051 * gdb.trace/ftrace.exp: Fix expected message on continue.
2052 * gdb.trace/pending.exp: Fix expected message on continue.
2053 * gdb.trace/trace-break.exp: Fix expected message on continue.
2054
8bcbad33
SM
20552016-01-18 Simon Marchi <simon.marchi@ericsson.com>
2056
2057 * lib/gdb.exp (gdb_test): Remove unused global references.
2058
f303dbd6
PA
20592016-01-18 Pedro Alves <palves@redhat.com>
2060
2061 * gdb.base/async-shell.exp: Adjust expected output.
2062 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
2063 * gdb.base/siginfo-thread.exp: Adjust expected output.
2064 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
2065 * gdb.java/jnpe.exp: Adjust expected output.
2066 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
2067 * gdb.threads/continue-pending-status.exp: Adjust expected output.
2068 * gdb.threads/leader-exit.exp: Adjust expected output.
2069 * gdb.threads/manythreads.exp: Adjust expected output.
2070 * gdb.threads/pthreads.exp: Adjust expected output.
2071 * gdb.threads/schedlock.exp: Adjust expected output.
2072 * gdb.threads/siginfo-threads.exp: Adjust expected output.
2073 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
2074 expected output.
2075 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
2076 output.
2077 * gdb.threads/sigthread.exp: Adjust expected output.
2078 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
2079
b2789696
YQ
20802016-01-18 Yao Qi <yao.qi@linaro.org>
2081
2082 * gdb.guile/scm-section-script.c: Replace @progbits with
2083 %progbits.
2084 * gdb.python/py-section-script.c: Likewise.
2085
71ef29a8
PA
20862016-01-15 Pedro Alves <palves@redhat.com>
2087
2088 * gdb.multi/tids.exp: Test star wildcard ranges.
2089
3f5b7598
PA
20902016-01-15 Pedro Alves <palves@redhat.com>
2091
2092 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
2093 command from "thread apply" invocation.
2094 (thr_apply_info_thr_invalid): Default the expected output to the
2095 input tid list.
2096 (top level): Add tests that use convenience variables. Add tests
2097 for "thread apply" with a valid TID list, but missing the command.
2098
663f6d42
PA
20992016-01-13 Pedro Alves <palves@redhat.com>
2100
2101 * gdb.base/default.exp: Expect $_gthread as well.
2102 * gdb.multi/tids.exp: Test $_gthread.
2103 * gdb.threads/thread-specific.exp: Test $_gthread.
2104
c84f6bbf
PA
21052016-01-13 Pedro Alves <palves@redhat.com>
2106
2107 * gdb.multi/tids.exp: Test "info threads -gid".
2108
22a02324
PA
21092016-01-13 Pedro Alves <palves@redhat.com>
2110
2111 * gdb.multi/tids.exp: Test InferiorThread.global_num and
2112 Breakpoint.thread.
2113 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
2114
5d5658a1
PA
21152016-01-07 Pedro Alves <palves@redhat.com>
2116
2117 * gdb.base/break.exp: Adjust to output changes.
2118 * gdb.base/hbreak2.exp: Likewise.
2119 * gdb.base/sepdebug.exp: Likewise.
2120 * gdb.base/watch_thread_num.exp: Likewise.
2121 * gdb.linespec/keywords.exp: Likewise.
2122 * gdb.multi/info-threads.exp: Likewise.
2123 * gdb.threads/thread-find.exp: Likewise.
2124 * gdb.multi/tids.c: New file.
2125 * gdb.multi/tids.exp: New file.
2126
84654457
PA
21272016-01-13 Pedro Alves <palves@redhat.com>
2128
2129 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
2130
e3940304
PA
21312016-01-13 Pedro Alves <palves@redhat.com>
2132
2133 * gdb.base/default.exp: Expect $_inferior as well.
2134 * gdb.multi/base.exp: Test $_inferior.
2135
a911d87a
PA
21362016-01-13 Pedro Alves <palves@redhat.com>
2137
2138 PR breakpoints/19388
2139 * gdb.base/catch-signal-siginfo-cond.c: New file.
2140 * gdb.base/catch-signal-siginfo-cond.exp: New file.
2141
82075af2
JS
21422016-01-12 Josh Stone <jistone@redhat.com>
2143 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2144
2145 * gdb.base/catch-syscall.c (do_execve): New variable.
2146 (main): Conditionally trigger an execve.
2147 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
2148 (test_catch_syscall_execve): New, check entry/return across execve.
2149 (do_syscall_tests): Call test_catch_syscall_execve.
2150
e46eeedd
PA
21512016-01-12 Pedro Alves <palves@redhat.com>
2152
2153 * gdb.base/random-signal.exp (do_test): New procedure, with body
2154 of testcase moved in.
2155
01d8c27e
JK
21562016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2157 Pedro Alves <palves@redhat.com>
2158
2159 * gdb.base/funcargs.exp (finish from indirectly called function):
2160 Reintroduce the case for 'First'.
2161
9a706302
JK
21622016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2163 Pedro Alves <palves@redhat.com>
2164
2165 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
2166 (tcatch_vfork_then_child_follow_exec)
2167 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
2168 identification.
2169
c0ecb95f
JK
21702016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2171
2172 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
2173 and repeats to unlimited.
2174 * gdb.python/py-value.exp: Likewise.
2175 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
2176 and repeats to unlimited.
2177
6cfc1fcb
JK
21782016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2179
2180 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
2181 and reordering the functions.
2182 * gdb.multi/hangout.c: Likewise.
2183 * gdb.multi/hello.c: Likewise.
2184
582a1b00
SM
21852016-01-08 Simon Marchi <simon.marchi@ericsson.com>
2186
2187 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
2188 absolute.
2189 (SingleStatisticTestResult.report): Use dict.keys instead of
2190 dict.iterkeys.
2191
79bc59cb
PA
21922016-01-06 Pedro Alves <palves@redhat.com>
2193
2194 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
2195
43368e1d
MM
21962016-01-04 Markus Metzger <markus.t.metzger@intel.com>
2197
2198 * gdb.btrace/dlopen.exp: New.
2199 * gdb.btrace/dlopen.c: New.
2200 * gdb.btrace/dlopen-dso.c: New.
2201
79fad5b8
SL
22022015-12-25 Sandra Loosemore <sandra@codesourcery.com>
2203
2204 * lib/gdb.exp (gdb_test): Update comments to clarify that the
2205 PATTERN argument is optional.
2206
ab8314b3
JB
22072015-12-24 Joel Brobecker <brobecker@adacore.com>
2208
2209 * lib/ada.exp (target_compile_ada_from_dir): New function.
2210 (gdb_compile_ada): Reimplement avoiding the use of project files.
2211 * gdb.ada/gnat_ada.gpr: Delete.
2212 * gdb.ada/cond_lang.exp: Adjust test to make path before
2213 filename optional.
2214 * gdb.ada/small_reg_param.exp: Likewise.
2215
fe33faff
SM
22162015-12-22 Simon Marchi <simon.marchi@ericsson.com>
2217
2218 * gdb.base/foll-vork.exp: Remove HP-UX special case.
2219
6d265cb4
TP
22202015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
2221
2222 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
2223 case.
2224
10125099
SM
22252015-12-21 Simon Marchi <simon.marchi@ericsson.com>
2226
2227 * gdb.base/break.exp: Remove dead code.
2228 * gdb.base/sepdebug.exp: Likewise.
2229
3ca22649
SM
22302015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2231
2232 * gdb.asm/asm-source.exp: Remove HP-UX references.
2233 * gdb.base/annota1.exp: Likewise.
2234 * gdb.base/annota3.exp: Likewise.
2235 * gdb.base/attach.exp: Likewise.
2236 * gdb.base/bigcore.exp: Likewise.
2237 * gdb.base/break.exp: Likewise.
2238 * gdb.base/call-ar-st.exp: Likewise.
2239 * gdb.base/callfuncs.exp: Likewise.
2240 * gdb.base/catch-fork-static.exp: Likewise.
2241 * gdb.base/display.exp: Likewise.
2242 * gdb.base/foll-exec-mode.exp: Likewise.
2243 * gdb.base/foll-exec.exp: Likewise.
2244 * gdb.base/foll-fork.exp: Likewise.
2245 * gdb.base/foll-vfork.exp: Likewise.
2246 * gdb.base/funcargs.exp: Likewise.
2247 * gdb.base/hbreak2.exp: Likewise.
2248 * gdb.base/inferior-died.exp: Likewise.
2249 * gdb.base/interrupt.exp: Likewise.
2250 * gdb.base/multi-forks.exp: Likewise.
2251 * gdb.base/nodebug.exp: Likewise.
2252 * gdb.base/sepdebug.exp: Likewise.
2253 * gdb.base/solib1.c: Likewise.
2254 * gdb.base/step-test.exp: Likewise.
2255 * gdb.mi/non-stop.c: Likewise.
2256 * gdb.mi/pthreads.c: Likewise.
2257 * gdb.multi/bkpt-multi-exec.ex: Likewise.
2258 * gdb.threads/pthreads.c: Likewise.
2259 * gdb.threads/staticthreads.exp: Likewise.
2260 * lib/future.exp: Likewise.
2261 * lib/gdb.exp: Likewise.
2262 * gdb.base/so-indr-cl.c: Remove.
2263 * gdb.base/so-indr-cl.exp: Likewise.
2264 * gdb.base/solib.c: Likewise.
2265 * gdb.base/solib.exp: Likewise.
2266 * gdb.base/solib2.c: Likewise.
2267
b6304613
SM
22682015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2269
2270 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
2271 * gdb.base/call-ar-st.exp: Likewise.
2272 * gdb.base/callfuncs.exp: Likewise.
2273 * gdb.base/condbreak.exp: Likewise.
2274 * gdb.base/constvars.exp: Likewise.
2275 * gdb.base/hbreak2.exp: Likewise.
2276 * gdb.base/langs.exp: Likewise.
2277 * gdb.base/list.exp: Likewise.
2278 * gdb.base/long_long.exp: Likewise.
2279 * gdb.base/ptype.exp: Likewise.
2280 * gdb.base/scope.exp: Likewise.
2281 * gdb.base/signals.exp: Likewise.
2282 * gdb.base/so-impl-ld.exp: Likewise.
2283 * gdb.base/varargs.exp: Likewise.
2284 * gdb.base/volatile.exp: Likewise.
2285 * gdb.base/whatis.exp: Likewise.
2286 * gdb.cp/cplusfuncs.exp: Likewise.
2287 * gdb.cp/inherit.exp: Likewise.
2288 * gdb.cp/local.exp: Likewise.
2289 * gdb.cp/member-ptr.exp: Likewise.
2290 * gdb.cp/method.exp: Likewise.
2291 * gdb.cp/overload.exp: Likewise.
2292 * gdb.cp/templates.exp: Likewise.
2293 * gdb.stabs/weird.exp: Likewise.
2294 * lib/compiler.c: Likewise.
2295 * lib/compiler.cc: Likewise.
2296 * lib/cp-support.exp: Likewise.
2297 * lib/gdb.exp: Likewise.
2298
bf401b07
SM
22992015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
2300
2301 * configure.ac: Remove HP-UX case.
2302 * configure: Regenerate.
2303
aff9c0f8
SM
23042015-12-18 Simon Marchi <simon.marchi@ericsson.com>
2305
2306 * lib/gdb.exp (gdb_compile): Add function doc.
2307
a6904d5a
PA
23082015-12-17 Pedro Alves <palves@redhat.com>
2309
2310 PR threads/19354
2311 * gdb.multi/info-threads.exp: New file.
2312
a22279dd
YQ
23132015-12-15 Yao Qi <yao.qi@linaro.org>
2314
2315 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
2316 is aarch64*-*-*.
2317
0588c796
SL
23182015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2319
2320 * gdb.base/history-duplicates.exp: Skip if no readline support.
2321
5d978e17
SL
23222015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2323
2324 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
2325
7e763b86
SL
23262015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2327
2328 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
2329
87a3a92c
SL
23302015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2331
2332 * gdb.base/completion.exp: Skip tests that interrupt GDB with
2333 ctrl-C if nointerrupts target property is set.
2334 * gdb.base/double-prompt-target-event-error.exp: Likewise.
2335 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
2336 * gdb.base/paginate-bg-execution.exp: Likewise.
2337 * gdb.base/paginate-execution-startup.exp: Likewise.
2338 * gdb.base/random-signal.exp: Likewise.
2339 * gdb.base/range-stepping.exp: Likewise.
2340 * gdb.cp/annota2.exp: Likewise.
2341 * gdb.cp/annota3.exp: Likewise.
2342 * gdb.gdb/selftest.exp: Likewise.
2343 * gdb.threads/continue-pending-status.exp: Likewise.
2344 * gdb.threads/leader-exit.exp: Likewise.
2345 * gdb.threads/manythreads.exp: Likewise.
2346 * gdb.threads/pthreads.exp: Likewise.
2347 * gdb.threads/schedlock.exp: Likewise.
2348 * gdb.threads/sigthread.exp: Likewise.
2349
a8f077dc
DB
23502015-12-11 Don Breazeal <donb@codesourcery.com>
2351
2352 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2353 remote.
2354 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2355 * gdb.base/foll-exec.exp (main): Enable for target remote.
2356 * gdb.base/foll-fork.exp (main): Likewise.
2357 * gdb.base/foll-vfork.exp (main): Likewise.
2358 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2359 (proc continue_to_exit_bp_loc): Use clean_restart.
2360 * gdb.base/pie-execl.exp (main): Disable for target remote.
2361 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2362 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2363 * gdb.threads/execl.exp (main): Likewise.
2364 * gdb.threads/fork-child-threads.exp (main): Likewise.
2365 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2366 remote.
2367 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2368 remote.
2369 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2370 pid.tid style ptids, instead of just tid.
2371 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2372 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2373 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2374 ptids, instead of just tid.
2375
3b2464a8
AB
23762015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2377
2378 * gdb.base/list.exp (test_list_forward): Add end of file error
2379 test.
2380 (test_repeat_list_command): Add end of file error test.
2381 (test_list_backwards): Add beginning of file error test.
2382
a0def019
AB
23832015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2384
2385 * gdb.base/list.exp (test_list_invalid_args): New function,
2386 defined, and called.
2387
5c000dff
AB
23882015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2389
2390 * gdb.base/list.exp (test_list): Make test names unique.
2391
f1637ebe
YQ
23922015-12-11 Yao Qi <yao.qi@linaro.org>
2393
2394 * gdb.base/coremaker2.c: Remove.
2395
36d6fc0a
PA
23962015-12-10 Pedro Alves <palves@redhat.com>
2397
2398 * gdb.multi/base.exp: Remove stale "spaces" references.
2399
762f7747
PA
24002015-12-10 Pedro Alves <palves@redhat.com>
2401
2402 * gdb.multi/base.exp: Don't use nowarnings.
2403 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2404 * gdb.multi/hangout.c: Include stdio.h.
2405 * gdb.multi/hello.c: Include stdlib.h.
2406 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2407 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2408 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2409
28d2bfb9
AB
24102015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2411
2412 * gdb.dwarf2/dw2-ranges-base.c: New file.
2413 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2414 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2415 support additional line table, and debug ranges generation.
2416 (Dwarf::ranges): New function, generate .debug_ranges.
2417 (Dwarf::lines): Support generating simple line table programs.
2418 (Dwarf::assemble): Initialise new namespace variables.
2419
5fc2beac
KB
24202015-12-09 Kevin Buettner <kevinb@redhat.com>
2421
2422 * gdb.base/async.exp (proc test_background): Add case for
2423 asynchronous execution not supported.
2424
1c35a88f
LM
24252015-12-09 Luis Machado <lgustavo@codesourcery.com>
2426
2427 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2428 format and change test names to make them unique.
2429
b593e3d9
RK
24302015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2431 Pedro Alves <pedro@redhat.com>
2432
2433 PR gdb/18702
2434 Add checking of floatformats setup on x86_64 hosts.
2435 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2436 (smallval, bigval): New labels/constants.
2437 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2438 float" after loading bigval and smallval.
2439
d72413e6
PMR
24402015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2441
2442 * gdb.ada/fun_overload_menu.exp: New testcase.
2443 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2444
ece66d65
JS
24452015-12-04 Josh Stone <jistone@redhat.com>
2446
2447 * gdb.base/catch-fork-static.exp: New.
2448
41d0efca
YQ
24492015-12-03 Yao Qi <yao.qi@linaro.org>
2450
2451 * gdb.base/sizeof.c: Don't include stdio.h and
2452 ../lib/unbuffer_output.c.
2453 (main): New variable 'size' and 'value'. Remove printf and
2454 gdb_unbuffer_output. Assign return value to size and value.
2455 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2456 at the beginning.
2457 (check_sizeof): Check the result by printing variable 'size'.
2458 (check_valueof): Check the result by printing variable 'value'.
2459
99fd02d9
YQ
24602015-12-01 Yao Qi <yao.qi@linaro.org>
2461
2462 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2463 for aarch64*-*-linux* target.
2464
f2faf941
PA
24652015-11-30 Pedro Alves <palves@redhat.com>
2466
2467 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2468
04bf20c5
PA
24692015-11-30 Pedro Alves <palves@redhat.com>
2470
2471 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2472 Handle non-stop mode vCont replies.
2473
09df4675
PA
24742015-11-30 Pedro Alves <palves@redhat.com>
2475
2476 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2477 prepare_for_testing. Start gdb with "set non-stop on" appended to
2478 GDBFLAGS. Lax expected stop output.
2479
58b584af
YQ
24802015-11-27 Yao Qi <yao.qi@linaro.org>
2481
2482 * gdb.arch/arm-neon.exp: New.
2483 * gdb.arch/arm-neon.c: New.
2484
dfcb77a8
YQ
24852015-11-27 Yao Qi <yao.qi@linaro.org>
2486
2487 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2488
88e8ec1b
YQ
24892015-11-27 Yao Qi <yao.qi@linaro.org>
2490
2491 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2492 frames-invalid annotation.
2493
bfde72c2
YQ
24942015-11-27 Yao Qi <yao.qi@linaro.org>
2495
2496 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2497
f6512a69
SM
24982015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2499
2500 * gdb.threads/names.exp: New file.
2501 * gdb.threads/names.c: New file.
2502 * README: Mention gdb,no_thread_names.
2503
46a3515b
MM
25042015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2505
2506 PR 19297
2507 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2508 support" error.
2509
62147a22
PA
25102015-11-24 Pedro Alves <palves@redhat.com>
2511
2512 PR 17539
2513 * gdb.base/display.exp: Expect displays to be sorted in ascending
2514 order. Use multi_line.
2515 * gdb.base/solib-display.exp: Likewise.
2516
2f341b6e
PA
25172015-11-24 Pedro Alves <palves@redhat.com>
2518
2519 PR 17539
25d49b86
PA
2520 * gdb.base/display.exp: Expect displays to be sorted in ascending
2521 order. Use multi_line.
2522 * gdb.base/solib-display.exp: Likewise.
2f341b6e 2523
7e0aa6aa
PA
25242015-11-24 Pedro Alves <palves@redhat.com>
2525
2526 PR 17539
2527 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2528 threads in ascending order.
2529 * gdb.base/foll-fork.exp: Likewise.
2530 * gdb.base/foll-vfork.exp: Likewise.
2531 * gdb.base/multi-forks.exp: Likewise.
2532 * gdb.mi/mi-nonstop.exp: Likewise.
2533 * gdb.mi/mi-nsintrall.exp: Likewise.
2534 * gdb.multi/base.exp: Likewise.
2535 * gdb.multi/multi-arch.exp: Likewise.
2536 * gdb.python/py-inferior.exp: Likewise.
2537 * gdb.threads/break-while-running.exp: Likewise.
2538 * gdb.threads/execl.exp: Likewise.
2539 * gdb.threads/gcore-thread.exp: Likewise.
2540 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2541 * gdb.threads/kill.exp: Likewise.
2542 * gdb.threads/linux-dp.exp: Likewise.
2543 * gdb.threads/multiple-step-overs.exp: Likewise.
2544 * gdb.threads/next-bp-other-thread.exp: Likewise.
2545 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2546 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2547 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2548 * gdb.threads/thread-find.exp: Likewise.
2549 * gdb.threads/tls.exp: Likewise.
2550 * lib/mi-support.exp (mi_reverse_list): Delete.
2551 (mi_check_thread_states): No longer reverse list.
2552
2cc57ad8
PA
25532015-11-24 Pedro Alves <palves@redhat.com>
2554
2555 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2556 use lowercase.
2557
c93e8391
SM
25582015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2559
2560 * gdb.trace/actions.c: Include trace-common.h.
2561 (main): Add a location for a fast tracepoint.
2562 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2563 the normal tracepoints.
2564 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2565
045ccf91
SM
25662015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2567
2568 * save-trace.exp: Factor out code to these...
2569 (gdb_save_tracepoints): New.
2570 (gdb_load_tracepoints): New.
2571 (do_save_load_test): New.
2572
5506f9f6
KB
25732015-11-23 Kevin Buettner <kevinb@redhat.com>
2574
2575 * gdb.base/asmlabel.exp: New test.
2576 * gdb.base/asmlabel.c: New test case.
2577
16c3b12f
JB
25782015-11-23 Joel Brobecker <brobecker@adacore.com>
2579
2580 * gdb.base/wrong_frame_bt_full-main.c: New file.
2581 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2582 * gdb.base/wrong_frame_bt_full.exp: New file.
2583
155bfbd3
JB
25842015-11-23 Joel Brobecker <brobecker@adacore.com>
2585
2586 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2587
bb097445
JM
25882015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2589
206853a0 2590 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
2591 pstate register when comparing registers values in
2592 sparc64-*-linux-gnu targets to avoid spurious differences.
2593
9c88ed8f
JM
25942015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2595
206853a0 2596 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 2597
96161e25
SL
25982015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2599
2600 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2601 as type argument to gdb_compile.
2602 * gdb.base/nested-subp2.exp: Likewise.
2603 * gdb.base/nested-subp3.exp: Likewise.
2604
340c2830
DV
26052015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2606
2607 * lib/dwarf.exp (_note): Fix left shift of negative value.
2608 * gdb.trace/trace-condition.exp: Likewise.
2609
c1862d0f
YQ
26102015-11-13 Yao Qi <yao.qi@linaro.org>
2611
2612 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2613 comments about d10v.
2614 (test_scalar_returns): Likewise.
2615 * gdb.base/d10v.ld: Remove.
2616 * gdb.base/overlays.exp: Remove the target triplet checking for
2617 d10v-*-*.
2618 * gdb.base/structs.exp (test_struct_returns): Remove the
2619 comments about d10v.
2620 (test_struct_calls): Likewise.
2621
77ae9c19
YQ
26222015-11-13 Yao Qi <yao.qi@linaro.org>
2623
2624 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2625 * gdb.base/gnu_vector.c: Don't include stdio.h.
2626 (main): Don't print res and call add_some_intvecs.
2627
430e004e
MK
26282015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2629
2630 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2631 macro.
2632 (func5): Removed.
2633 (func4): Use FAST_TRACEPOINT_LABEL.
2634 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2635 macro.
2636 (func): Removed.
2637 (thread_function): Use FAST_TRACEPOINT_LABEL.
2638 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2639 (func): Remove.
2640 (marker): Use FAST_TRACEPOINT_LABEL.
2641 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2642 (pendfunc1): Remove.
2643 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2644 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2645 (foo): Remove.
2646 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2647 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2648 macro.
2649 (func): Remove.
2650 (marker): Use FAST_TRACEPOINT_LABEL.
2651 * gdb.trace/trace-common.h: New header.
2652 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2653 macro.
2654 (func): Remove.
2655 (marker): Use FAST_TRACEPOINT_LABEL.
2656 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2657 (func): Remove.
2658 (thread_function): Use FAST_TRACEPOINT_LABEL.
2659
6e7675a7
MK
26602015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2661
2662 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2663 in front.
2664 * gdb.trace/change-loc.exp: Use global pcreg definition.
2665 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2666 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2667 in front.
2668 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2669 * gdb.trace/pending.exp: Likewise.
2670 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2671 * gdb.trace/trace-break.exp: Likewise.
2672 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2673 in front.
2674 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2675 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2676 in front.
2677 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2678
dddc0e16
JB
26792015-11-09 Joel Brobecker <brobecker@adacore.com>
2680
2681 * gdb.ada/fin_fun_out: New testcase.
2682
c6f0b406
KB
26832015-11-07 Kevin Buettner <kevinb@redhat.com>
2684
2685 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2686 value associated with DW_AT_byte_size.
2687 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2688 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2689 DW_AT_upper_bound.
2690
f01dcfd9
KB
26912015-11-07 Kevin Buettner <kevinb@redhat.com>
2692
2693 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2694 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2695 version.
2696 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2697 gdb.dwarf2/dw2-canonicalize-type.exp,
2698 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2699 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2700 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2701 provided by gdb_target_symbol_prefix_flags_asm.
2702 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2703 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2704 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2705 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2706 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2707 macros where needed). Use this macro for symbols which require
2708 the prefix provided by SYMBOL_PREFIX.
2709
2223449a
KB
27102015-11-05 Kevin Buettner <kevinb@redhat.com>
2711
2712 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2713 New procs.
2714 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2715 representing expressions, of more than one list element.
2716 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2717 to prepend linker symbol prefix to f.
2718 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2719 table_1 and table_2.
2720 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2721 Likewise, for f and g.
2722 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2723 for ptr.
2724 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2725 for main.
2726 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2727 table_1_ptr and table_2_ptr.
2728
6f2f1a3a
JK
27292015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2730 Joel Brobecker <brobecker@adacore.com>
2731
2732 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2733
566c56c9
MK
27342015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2735
2736 * gdb.reverse/s390-mvcle.c: New test.
2737 * gdb.reverse/s390-mvcle.exp: New file.
2738 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2739
d5f0636b
MK
27402015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2741
2742 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2743
7ad8b86c
MK
27442015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2745
2746 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2747 reaching marker2.
2748 * gdb.reverse/getresuid-reverse.exp: Likewise.
2749 * gdb.reverse/pipe-reverse.exp: Likewise.
2750 * gdb.reverse/readv-reverse.exp: Likewise.
2751 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2752 * gdb.reverse/time-reverse.exp: Likewise.
2753 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2754
4081c0f1
YQ
27552015-10-30 Yao Qi <yao.qi@linaro.org>
2756
2757 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2758 (empty_cycle): Remove.
2759 (main): Don't call empty_cycle. Don't use watch_count_done.
2760 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2761 empty_cycle. Rewrite the code counting HW watchpoints.
2762
452b4ba5
MK
27632015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2764
2765 * gdb.reverse/fstatat-reverse.c: New test.
2766 * gdb.reverse/fstatat-reverse.exp: New file.
2767 * gdb.reverse/getresuid-reverse.c: New test.
2768 * gdb.reverse/getresuid-reverse.exp: New file.
2769 * gdb.reverse/pipe-reverse.c: New test.
2770 * gdb.reverse/pipe-reverse.exp: New file.
2771 * gdb.reverse/readv-reverse.c: New test.
2772 * gdb.reverse/readv-reverse.exp: New file.
2773 * gdb.reverse/recvmsg-reverse.c: New test.
2774 * gdb.reverse/recvmsg-reverse.exp: New file.
2775 * gdb.reverse/time-reverse.c: New test.
2776 * gdb.reverse/time-reverse.exp: New file.
2777 * gdb.reverse/waitpid-reverse.c: New test.
2778 * gdb.reverse/waitpid-reverse.exp: New file.
2779
5e2e7507
JK
27802015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2781
2782 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2783
0fde2c53
DE
27842015-10-26 Doug Evans <dje@google.com>
2785
2786 PR symtab/17391
2787 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2788 * gdb.dwarf2/bad-regnum.c: New file.
2789 * gdb.dwarf2/bad-regnum.exp: New file.
2790
1a70ae97
DE
27912015-10-26 Doug Evans <dje@google.com>
2792
2793 PR python/18938
2794 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2795 file.
2796
27dc26ab
JK
27972015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2798
2799 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2800 for a change by "Mention language in compile error message".
2801
bed91f4d
SM
28022015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2803
2804 PR python/18073
2805 * gdb.python/py-type.c (C::a_method): New.
2806 (C::a_const_method): New.
2807 (C::a_static_method): New.
2808 (a_function): New.
2809 * gdb.python/py-type.exp (test_fields): Test getting fields
2810 from function and method.
2811
3f2f83dd
KB
28122015-10-21 Keven Boell <keven.boell@intel.com>
2813
2814 * gdb.fortran/vla-alloc-assoc.exp: New file.
2815 * gdb.fortran/vla-datatypes.exp: New file.
2816 * gdb.fortran/vla-datatypes.f90: New file.
2817 * gdb.fortran/vla-history.exp: New file.
2818 * gdb.fortran/vla-ptype-sub.exp: New file.
2819 * gdb.fortran/vla-ptype.exp: New file.
2820 * gdb.fortran/vla-sizeof.exp: New file.
2821 * gdb.fortran/vla-sub.f90: New file.
2822 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2823 * gdb.fortran/vla-value-sub-finish.exp: New file.
2824 * gdb.fortran/vla-value-sub.exp: New file.
2825 * gdb.fortran/vla-value.exp: New file.
2826 * gdb.fortran/vla-ptr-info.exp: New file.
2827 * gdb.mi/mi-vla-fortran.exp: New file.
2828 * gdb.mi/vla.f90: New file.
2829
27145d50
SL
28302015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2831
2832 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2833 of hardwired timeout value.
2834
5f3ff4f8
JK
28352015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2836 Pedro Alves <palves@redhat.com>
2837
2838 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2839 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2840
bfd09d20
JS
28412015-10-19 Josh Stone <jistone@redhat.com>
2842
2843 * gdb.base/catch-syscall.c: Include <sched.h>.
2844 (unknown_syscall): New variable.
2845 (main): Trigger a vfork and an unknown syscall.
2846 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2847 (unknown_syscall_number): Likewise.
2848 (check_call_to_syscall): Accept an optional syscall pattern.
2849 (check_return_from_syscall): Likewise.
2850 (check_continue): Likewise.
2851 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2852 (test_catch_syscall_skipping_return): New test toggling off 'catch
2853 syscall' to step over the syscall return, then toggling back on.
2854 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2855 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2856 (do_syscall_tests): Call test_catch_syscall_without_args and
2857 test_catch_syscall_mid_vfork.
2858 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2859 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2860
b32b93c6
AS
28612015-10-19 Andrew Stubbs <ams@codesourcery.com>
2862
2863 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2864 print g_vE): Add new pass patterns.
2865 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2866 print various symbol names for vptr fields.
2867
9d622bda
AB
28682015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2869
2870 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2871 results.
2872
0fd8ac1c
YQ
28732015-10-12 Yao Qi <yao.qi@linaro.org>
2874
2875 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2876
34240514
YQ
28772015-10-12 Yao Qi <yao.qi@linaro.org>
2878
2879 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2880 is aarch64*-*-linux*.
2881
8240f442
YQ
28822015-10-12 Yao Qi <yao.qi@linaro.org>
2883
2884 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2885 (can_relocate_bcond_true): ... it.
2886 (can_relocate_bcond_false): New function.
2887 (foo): Likewise.
2888 (can_relocate_bl): Likewise.
2889 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2890 can_relocate_bl.
2891
2520f728
PMR
28922015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2893
2894 * gdb.base/nested-addr.c: New file.
2895 * gdb.base/nested-addr.exp: New testcase.
2896
abcef95a
MM
28972015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2898
2899 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2900 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2901 its output. Ignore the output of "record goto begin" and instead
2902 check that GDB is replaying.
2903
145e3ddb
PA
29042015-10-09 Pedro Alves <palves@redhat.com>
2905
2906 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2907 (top level): Use it in the run with no args test.
2908
d5d8c4e1
IB
29092015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2910
2911 * gdb.dlang/properties.exp: New file.
2912
06e635ef
SL
29132015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2914
2915 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2916 whether or not address 0x1000 is mapped on the target.
2917
e019fd1d
SM
29182015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2919
2920 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2921 build.
2922
77ba2a67
MM
29232015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2924
2925 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2926 instruction-history test.
2927
c60eb31f
DE
29282015-09-28 Doug Evans <dje@google.com>
2929
2930 * gdb.base/gcore.c (array_func): Add reference to static_array.
2931
9a3c8263
SM
29322015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2933
2934 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2935 source line.
2936
9720e656
SL
29372015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2938
2939 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2940 short or char as base type.
2941
938d3bf2
SL
29422015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2943
2944 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2945 to allow any size enum.
2946
e6c2c623
PMR
29472015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2948
2949 * gdb.ada/array_ptr_renaming.exp: New testcase.
2950 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2951 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2952
06da0f77
PL
29532015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2954
2955 * gdb.trace/ftrace-lock.c: New file.
2956 * gdb.trace/ftrace-lock.exp: New file.
2957
4f51c22a
PL
29582015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2959
2960 * gdb.arch/insn-reloc.c: New file.
2961 * gdb.arch/ftrace-insn-reloc.exp: New file.
2962
7041adf4
PL
29632015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2964
2965 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2966 instruction.
2967 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2968 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2969 * gdb.trace/range-stepping.c: Likewise.
2970 * gdb.trace/trace-break.c: Likewise.
2971 * gdb.trace/trace-mt.c (thread_function): Likewise.
2972 * gdb.trace/ftrace.c (marker): Likewise.
2973 * gdb.trace/trace-condition.c (marker): Likewise.
2974 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2975 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2976 is_aarch64_target.
2977
015d2e7e
DE
29782015-09-18 Doug Evans <xdje42@gmail.com>
2979
2980 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2981 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2982
26b188a2
SL
29832015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2984
2985 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2986 the breakpoint.
2987
79dc332b
SL
29882015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2989
2990 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2991 the pending breakpoint. Remove timeout override for "Run till
2992 MI pending breakpoint on pendfunc3 on thread 2" test.
2993
f57929f2
SL
29942015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2995
2996 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2997 filename pattern.
2998
3f469b17
SL
29992015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3000
3001 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
3002 in breakpoint filename pattern.
3003
515b89b3
SL
30042015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3005
7800dbe4
SL
3006 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
3007
30082015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3009
515b89b3
SL
3010 * gdb.linespec/explicit.exp: Check for readline support for
3011 tab-completion tests. Fix obvious typo.
3012
d2939ba2
MM
30132015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3014
3015 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
3016 and replay.
3017
cbb55fa7
MM
30182015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3019
3020 * gdb.btrace/non-stop.c: New.
3021 * gdb.btrace/non-stop.exp: New.
3022
43691ca1
PL
30232015-09-17 Pierre Langlois <pierre.langlois@arm.com>
3024 Yao Qi <yao.qi@linaro.org>
3025
3026 * gdb.trace/trace-condition.c: New file.
3027 * gdb.trace/trace-condition.exp: New file.
3028
d78908cf
WW
30292015-09-16 Wei-cheng Wang <cole945@gmail.com>
3030
3031 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
3032 for testing bytecode compilation.
3033
1ed415e2
PA
30342015-09-16 Pedro Alves <palves@redhat.com>
3035 Sandra Loosemore <sandra@codesourcery.com>
3036
3037 * gdb.threads/non-stop-fair-events.c (timeout): New global.
3038 (SECONDS): Redefine.
3039 (main): Call pthread_kill and alarm early.
3040 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
3041 support.
3042 (test): If the target can't hardware step and doesn't support
3043 displaced stepping, increase the timeout.
3044
d136eff5
PA
30452015-09-16 Pedro Alves <palves@redhat.com>
3046
3047 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
3048 (enable_debug): New procedures.
3049 (test): Use them. Bail out if waiting for threads fails.
3050 (top level): Bail out if a test fails.
3051
991f019c
YQ
30522015-09-16 Yao Qi <yao.qi@linaro.org>
3053
3054 * gdb.asm/asm-source.exp: Set asm-arch for
3055 aarch64*-*-* target.
3056 * gdb.asm/aarch64.inc: New file.
3057
bfca584f
PMR
30582015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
3059
3060 * gdb.ada/array_of_variable_length.exp: New testcase.
3061 * gdb.ada/array_of_variable_length/foo.adb: New file.
3062 * gdb.ada/array_of_variable_length/pck.adb: New file.
3063 * gdb.ada/array_of_variable_length/pck.ads: New file.
3064
b326e587
DE
30652015-09-15 Doug Evans <dje@google.com>
3066
3067 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
3068 of function static local variable.
3069
5382cfab
PW
30702015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3071
3072 * gdb.threads/tls-so_extern.exp: New test file.
3073 * gdb.threads/tls-so_extern.c: New test file.
3074 * gdb.threads/tls-so_extern_main.c: New test file.
3075
141c5cc4
JK
30762015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3077
3078 * gdb.opt/solib-intra-step-lib.c: New file.
3079 * gdb.opt/solib-intra-step-main.c: New file.
3080 * gdb.opt/solib-intra-step.exp: New file.
3081
d15dcecd
PA
30822015-09-15 Pedro Alves <palves@redhat.com>
3083
3084 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
3085 gdb_continue_to_breakpoint instead of gdb_test_multiple.
3086
4c2f2a79
PA
30872015-09-14 Pedro Alves <palves@redhat.com>
3088
3089 * gdb.base/hook-stop-continue.c: Delete.
3090 * gdb.base/hook-stop-continue.exp: Delete.
3091 * gdb.base/hook-stop-frame.c: Delete.
3092 * gdb.base/hook-stop-frame.exp: Delete.
3093 * gdb.base/hook-stop.c: New file.
3094 * gdb.base/hook-stop.exp: New file.
3095
919e6dbe
PMR
30962015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
3097
3098 * gdb.ada/access_to_packed_array.exp: New testcase.
3099 * gdb.ada/access_to_packed_array/foo.adb: New file.
3100 * gdb.ada/access_to_packed_array/pack.adb: New file.
3101 * gdb.ada/access_to_packed_array/pack.ads: New file.
3102
157280a4
MM
31032015-09-14 Markus Metzger <markus.t.metzger@intel.com>
3104
3105 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
3106 buffer size test.
3107
2fd33e94
DB
31082015-09-11 Don Breazeal <donb@codesourcery.com>
3109
3110 * gdb.base/foll-exec.c: Add copyright header. Fix
3111 formatting issues.
3112 * gdb.base/foll-exec.exp (zap_session): Delete proc.
3113 (do_exec_tests): Use clean_restart in place of zap_session,
3114 and for test initialization. Fix formatting issues. Use
3115 fail in place of perror.
3116 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
3117 an expect statement to match an expression with output from
3118 the program under debug.
3119 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
3120 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
3121 * gdb.threads/non-ldr-exc-2.exp: Likewise.
3122 * gdb.threads/non-ldr-exc-3.exp: Likewise.
3123 * gdb.threads/non-ldr-exc-4.exp: Likewise.
3124
e70b6e8e
DE
31252015-09-09 Doug Evans <dje@google.com>
3126
3127 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
3128
7a551a51
DE
31292015-09-09 Doug Evans <dje@google.com>
3130
3131 * gdb.base/pie-execl.exp: Fix result test of build_executable.
3132
4c666f84
DE
31332015-09-09 Doug Evans <dje@google.com>
3134
3135 * gdb.base/savedregs.exp: Fix typo.
3136
243a9253
PA
31372015-09-09 Pedro Alves <palves@redhat.com>
3138
3139 * gdb.mi/mi-cli.exp: Add CLI finish tests.
3140
c0fa8fbd
SL
31412015-09-08 Sandra Loosemore <sandra@codesourcery.com>
3142
3143 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
3144 command actually switches threads. Give up on remaining
3145 tests if target fails to stop at breakpoint.
3146
cd7c1778
PMR
31472015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
3148
3149 * gdb.ada/funcall_char.exp: New testcase.
3150 * gdb.ada/funcall_char/foo.adb: New file.
3151
dc5c8746
PMR
31522015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
3153
3154 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
3155 expected outputs. Add two testcases for completing ambiguous
3156 functions.
3157 * gdb.ada/complete/aux_pck.adb: New file.
3158 * gdb.ada/complete/aux_pck.ads: New file.
3159 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
3160 Ambiguous_Func functions.
3161 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
3162 * gdb.ada/complete/pck.adb: Likewise.
3163
4e83a1e7
UW
31642015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
3165
3166 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
3167 failures to run the test program under GDB.
3168
8ce74153
LM
31692015-08-26 Luis Machado <lgustavo@codesourcery.com>
3170
3171 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
3172 to C.
3173
e9756d52
PP
31742015-08-26 Patrick Palka <patrick@parcs.ath.cx>
3175
3176 * gdb.base/run-after-attach.exp: New test file.
3177 * gdb.base/run-after-attach.c: New test file.
3178
8d37573b
DB
31792015-08-26 Don Breazeal <donb@codesourcery.com>
3180
3181 * gdb.base/foll-exec-2.c: New test program.
3182 * gdb.base/foll-exec-2.exp: New test.
3183
63e43d3a
PMR
31842015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
3185
3186 * gdb.base/nested-subp1.exp: New file.
3187 * gdb.base/nested-subp1.c: New file.
3188 * gdb.base/nested-subp2.exp: New file.
3189 * gdb.base/nested-subp2.c: New file.
3190 * gdb.base/nested-subp3.exp: New file.
3191 * gdb.base/nested-subp3.c: New file.
3192
3d40fbb5
PA
31932015-08-24 Pedro Alves <palves@redhat.com>
3194
3195 * gdb.server/connect-without-multi-process.c: New file.
3196 * gdb.server/connect-without-multi-process.exp: New file.
3197
4422ac93
LM
31982015-08-24 Luis Machado <lgustavo@codesourcery.com>
3199
3200 * gdb.opt/inline-markers.c: Make z int.
3201
91dddb86
LM
32022015-08-24 Luis Machado <lgustavo@codesourcery.com>
3203
3204 * gdb.opt/inline-markers.c: Make z volatile.
3205
a48847ee
LM
32062015-08-24 Luis Machado <lgustavo@codesourcery.com>
3207
3208 * gdb.opt/inline-bt.c: New volatile global z.
3209 * gdb.opt/inline-cmds.c: Likewise.
3210 * gdb.opt/inline-locals.c: Likewise.
3211 * gdb.opt/inline-markers.c: New extern global z.
3212 (marker): Use z.
3213 (inline_fn): Likewise.
3214
0ebbc52b
PA
32152015-08-24 Pedro Alves <palves@redhat.com>
3216
3217 * config/m32r-stub.exp: Remove file.
3218 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
3219 * gdb.base/call-rt-st.exp: Likewise.
3220 * gdb.base/call-strs.exp: Likewise.
3221 * gdb.base/default.exp: Remove references to h8300-*-hms and
3222 *-*-udi*.
3223 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
3224
77c365df
AA
32252015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3226
3227 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
3228 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
3229 and "return" use KFAIL when GDB can not read/write the vector
3230 return value.
3231
4313b8c0
GB
32322015-08-21 Gary Benson <gbenson@redhat.com>
3233
3234 * gdb.trace/pending.exp: Cope with remote transfer warnings.
3235
0e433b32
PA
32362015-08-20 Pedro Alves <palves@redhat.com>
3237
3238 * gdb.server/solib-list.exp: No longer expect an interior stop in
3239 non-stop mode.
3240
221e1a37
PA
32412015-08-20 Pedro Alves <palves@redhat.com>
3242
3243 * gdb.server/connect-stopped-target.c: New file.
3244 * gdb.server/connect-stopped-target.exp: New file.
3245
40e3ad0e
PA
32462015-08-20 Pedro Alves <palves@redhat.com>
3247
3248 * gdb.dwarf2/comp-unit-lang.exp: New file.
3249 * gdb.dwarf2/comp-unit-lang.c: New file.
3250
af39b327
PMR
32512015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
3252
3253 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
3254 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
3255
7d45c7c3 32562015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 3257
7d45c7c3
KB
3258 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
3259 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
3260
4d6cceb4
DE
32612015-08-18 Doug Evans <dje@google.com>
3262 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3263
3264 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
3265 skip_python_tests. New arg prompt_regexp.
3266 (skip_python_tests): New function.
3267 * lib/mi-support.exp (mi_skip_python_tests): New function.
3268 * gdb.python/py-mi-objfile-gdb.py: New file.
3269 * gdb.python/py-mi-objfile.c: New file.
3270 * gdb.python/py-mi-objfile.exp: New file.
3271
ad89c2aa
KS
32722015-08-17 Keith Seitz <keiths@redhat.com>
3273
3274 * gdb.linespec/explicit.exp: Move strace test from here ...
3275 * gdb.trace/strace.exp: ... to here.
3276
e3ae3c43
PP
32772015-08-15 Patrick Palka <patrick@parcs.ath.cx>
3278
3279 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
3280 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
3281
604b2636
DE
32822015-08-14 Doug Evans <xdje42@gmail.com>
3283
3284 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
3285 inferior before selecting a new file.
3286
6ff0ba5f
DE
32872015-08-14 Doug Evans <xdje42@gmail.com>
3288
3289 * gdb.mi/mi-disassemble.exp: Update.
3290 * gdb.base/disasm-optim.S: New file.
3291 * gdb.base/disasm-optim.c: New file.
3292 * gdb.base/disasm-optim.h: New file.
3293 * gdb.base/disasm-optim.exp: New file.
3294
9ca98f92
KS
32952015-08-14 Keith Seitz <keiths@redhat.com>
3296
3297 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
3298 "evaluated-by".
3299
52bbc560
JB
33002015-08-13 Joel Brobecker <brobecker@adacore.com>
3301
3302 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
3303
5d8c3ed3
PMR
33042015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
3305
3306 * gdb.ada/fun_renaming.exp: New testcase.
3307 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
3308 * gdb.ada/fun_renaming/pack.adb: New file.
3309 * gdb.ada/fun_renaming/pack.ads: New file.
3310
ea8812bc
KS
33112015-08-12 Keith Seitz <keiths@redhat.com>
3312
3313 * gdb.base/dso2dso.exp: Pass basename of source file in call to
3314 gdb_get_line_number.
3315
4dafcdeb
JB
33162015-08-12 Joel Brobecker <brobecker@adacore.com>
3317
3318 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
3319 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
3320 gdb.base/dso2dso.exp: New files.
3321
5ba32597
SDJ
33222015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
3323 Pedro Alves <palves@redhat.com>
3324 Keith Seitz <keiths@redhat.com>
3325
3326 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
3327 GDBFLAGS.
3328
b6dafabf
PP
33292015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3330
3331 * gdb.base/gdbhistsize-history.exp
3332 (test_histsize_history_setting): Use save_vars.
3333 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3334 Use save_vars.
3335 (test_no_truncation_of_unlimited_history_file): Use save_vars.
3336 * gdb.base/readline.exp: Use save_vars.
3337
abe8e607
PP
33382015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3339
3340 * lib/gdb.exp (save_vars): New proc.
3341
629500fa
KS
33422015-08-11 Keith Seitz <keiths@redhat.com>
3343
3344 * gdb.base/help.exp: Update help_breakpoint_text.
3345
eb8c4e2e
KS
33462015-08-11 Keith Seitz <keiths@redhat.com>
3347
3348 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3349 (at toplevel): Call test_explicit_breakpoints.
3350 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3351 breakpoints.
3352 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3353 breakpoint conditions, "-cond".
3354
87f0e720
KS
33552015-08-11 Keith Seitz <keiths@redhat.com>
3356
3357 * gdb.linespec/3explicit.c: New file.
3358 * gdb.linespec/cpexplicit.cc: New file.
3359 * gdb.linespec/cpexplicit.exp: New file.
3360 * gdb.linespec/explicit.c: New file.
3361 * gdb.linespec/explicit.exp: New file.
3362 * gdb.linespec/explicit2.c: New file.
3363 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3364 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3365 before using in the matching pattern.
3366 Clarify that `prefix' is a regular expression.
3367
f00aae0f
KS
33682015-08-11 Keith Seitz <keiths@redhat.com>
3369
3370 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3371 test.
3372 Add tests for missing ",FMT" and ",".
3373
e27852be
DE
33742015-08-10 Doug Evans <dje@google.com>
3375 Keith Seitz <keiths@redhat.com>
3376
3377 PR gdb/17960
3378 * gdb.base/completion.exp: Add location completer tests.
3379
7f03bd92
PA
33802015-08-07 Pedro Alves <palves@redhat.com>
3381
3382 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3383 tests here.
3384 (top level): Run do_test with and without displaced stepping.
3385
3fc8eb30
PA
33862015-08-07 Pedro Alves <palves@redhat.com>
3387
3388 * gdb.base/valgrind-disp-step.c: New file.
3389 * gdb.base/valgrind-disp-step.exp: New file.
3390
d4569d7b
PA
33912015-08-07 Pedro Alves <palves@redhat.com>
3392
3393 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
3394 Delete function.
3395 (main): Add alarm. Run an infinite loop instead of calling
3396 wait_threads.
3397 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
3398 comment.
3399 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3400 Delete function.
3401 (main): Add alarm. Run an infinite loop instead of calling
3402 wait_threads.
3403 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3404 comment.
3405
e1316e60
PA
34062015-08-07 Pedro Alves <palves@redhat.com>
3407
3408 * gdb.base/checkpoint-ns.exp: New file.
3409 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3410 standard_testfile.
3411
da8c46d2
MM
34122015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3413
3414 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3415 * gdb.btrace/instruction_history.exp: Update.
3416 * gdb.btrace/tsx.exp: New.
3417 * gdb.btrace/tsx.c: New.
3418
de1c2c52
PA
34192015-08-06 Pedro Alves <palves@redhat.com>
3420
3421 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3422 increase timeout.
3423 * gdb.reverse/until-precsave.exp: Bump timeouts.
3424
782e0bf4
PA
34252015-08-06 Pedro Alves <palves@redhat.com>
3426
3427 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3428
83e97ed0
PA
34292015-08-06 Pedro Alves <palves@redhat.com>
3430
3431 PR gdb/18749
3432 * gdb.threads/process-dies-while-handling-bp.c: New file.
3433 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3434
863d01bd
PA
34352015-08-06 Pedro Alves <palves@redhat.com>
3436
3437 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3438 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3439
0a39bb32
PA
34402015-08-05 Pedro Alves <palves@redhat.com>
3441
3442 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3443 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3444
ee2d2b10
SL
34452015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3446
3447 * gdb.base/bp-permanent.exp: Report test as unsupported if
3448 the target cannot stop at the permanent breakpoint.
3449
4e1bdb00
DE
34502015-08-03 Doug Evans <dje@google.com>
3451
3452 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3453 10000.
3454
3d338901
DE
34552015-08-03 Doug Evans <dje@google.com>
3456
3457 * Makefile.in (workers/%.worker, build-perf): New rule.
3458 (GDB_PERFTEST_MODE): New variable.
3459 (check-perf): Use it.
3460 (clean): Clean up gdb.perf parallel build subdirs.
3461 * lib/build-piece.exp: New file.
3462 * lib/gdb.exp (make_gdb_parallel_path): New function
3463 (standard_output_file, standard_temp_file): Call it.
3464 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3465 of $GDB_PARALLEL.
3466 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3467
af061d3e
DE
34682015-08-03 Doug Evans <dje@google.com>
3469
8e1afc81 3470 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
3471 (LOG_FILE_NAME): New global.
3472 (TextReporter.__init__): Initialize self.txt_sum.
3473 (TextReporter.report): Add support for multiple data-points.
3474 Move report to perftest.sum, put raw data in perftest.log.
3475 (TextReporter.start): Open sum and log files.
3476 (TextReporter.end): Close sum and log files.
8e1afc81
DE
3477 * gdb.perf/lib/perftest/testresult.py
3478 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 3479
2c8c5d37
PA
34802015-07-31 Pedro Alves <palves@redhat.com>
3481
3482 * gdb.base/attach-pie-misread.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 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3486 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3487 kill_wait_spawned_process.
3488 * gdb.base/attach-twice.exp: Likewise.
3489 * gdb.base/attach.exp: Likewise.
3490 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3491 gdb_test_multiple.
3492 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3493 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3494 kill_wait_spawned_process.
3495 * gdb.base/valgrind-infcall.exp: Likewise.
3496 * gdb.multi/multi-attach.exp: Likewise.
3497 * gdb.python/py-prompt.exp: Likewise.
3498 * gdb.python/py-sync-interp.exp: Likewise.
3499 * gdb.server/ext-attach.exp: Likewise.
3500 * gdb.threads/attach-into-signal.exp (corefunc): Use
3501 spawn_wait_for_attach, spawn_id_get_pid and
3502 kill_wait_spawned_process.
3503 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3504 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3505 spawn_id_get_pid and kill_wait_spawned_process.
3506 * gdb.threads/attach-stopped.exp (corefunc): Use
3507 spawn_wait_for_attach, spawn_id_get_pid and
3508 kill_wait_spawned_process.
3509 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3510 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3511 kill_wait_spawned_process instead of explicit "kill -9".
3512 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3513 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3514 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3515 processes. Don't map cygwin/windows pids here. Now returns a
3516 spawn id list.
3517
032a0fca
SL
35182015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3519
3520 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3521 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3522 correct patch.
3523
61a934ca
SL
35242015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3525
3526 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3527
4bc4d428
SL
35282015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3529
3530 Reapply:
3531 2014-05-21 Mark Wielaard <mjw@redhat.com>
3532
3533 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3534
998d452a
PA
35352015-07-30 Pedro Alves <palves@redhat.com>
3536
3537 * linux-low.c (handle_extended_wait): Set the child's last
3538 reported status to TARGET_WAITKIND_STOPPED.
3539
69dde7dc
PA
35402015-07-30 Pedro Alves <palves@redhat.com>
3541
3542 PR threads/18600
3543 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3544 only shows inferior 1.
3545
4dd63d48
PA
35462015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3547 Pedro Alves <palves@redhat.com>
3548
3549 PR threads/18600
3550 * gdb.threads/fork-plus-threads.c: New file.
3551 * gdb.threads/fork-plus-threads.exp: New file.
3552
d618e4c5
PP
35532015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3554
3555 * gdb.base/batch-preserve-term-settings.exp
3556 (test_terminal_settings_preserved_after_cli_exit): Use
3557 send_quit_command.
3558
1eef6428
PA
35592015-07-29 Pedro Alves <palves@redhat.com>
3560 Don Breazeal <donb@codesourcery.com>
3561
3562 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3563 output from both inferior_spawn_id and gdb_spawn_id.
3564
7da5b897
SDJ
35652015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3566
3567 * gdb.threads/attach-into-signal.exp (corefunc): Use
3568 with_test_prefix on nested loops, uniquefying the test messages.
3569
dac804df
SDJ
35702015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3571
3572 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3573 commit.
3574
06265e53
PP
35752015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3576
3577 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3578 New proc.
3579 (test_terminal_settings_preserved_after_sigterm): New test.
3580
18206ca3
PP
35812015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3582
3583 * gdb.base/batch-preserve-term-settings.exp
3584 (test_terminal_settings_preserved_after_cli_exit): New test.
3585
90074d11
PP
35862015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3587
3588 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3589 manipulation of saved_gdbflags.
3590 (test_terminal_settings_preserved): Remove global declaration of
3591 the unused variable pagination_prompt. Remove manipulation of
3592 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3593 GDBFLAGS.
3594
eb1a7902
PA
35952015-07-29 Pedro Alves <palves@redhat.com>
3596
3597 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3598
8b75dd3b
PA
35992015-07-29 Pedro Alves <palves@redhat.com>
3600
3601 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3602 at the top.
3603
dedad4e3
PA
36042015-07-29 Pedro Alves <palves@redhat.com>
3605
3606 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3607 (main): Call gdb_unbuffer_output.
3608 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3609 (main): Call gdb_unbuffer_output.
3610 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3611 (main): Call gdb_unbuffer_output.
3612 * gdb.base/call-strs.exp: Adjust to step over the
3613 gdb_unbuffer_output call.
3614 * gdb.base/catch-gdb-caused-signals.c: Include
3615 "../lib/unbuffer_output.c".
3616 (main): Call gdb_unbuffer_output.
3617 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3618 (main): Call gdb_unbuffer_output.
3619 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3620 (main): Call gdb_unbuffer_output.
3621 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3622 (main): Call gdb_unbuffer_output.
3623 * gdb.base/shlib-call.exp: Adjust to step over the
3624 gdb_unbuffer_output call.
3625 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3626 (main): Call gdb_unbuffer_output.
3627 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3628 (main): Call gdb_unbuffer_output.
3629 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3630 (main): Rename to ...
3631 (test): ... this.
3632 (main): Reimplement.
3633 * gdb.base/varargs.exp: Run to test instead of to main.
3634 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3635 (main): Call gdb_unbuffer_output.
3636
58789a91
PA
36372015-07-29 Pedro Alves <palves@redhat.com>
3638
3639 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3640 factore out from mi_continue_dprintf. For call-style dprintfs,
3641 expect dprintf output out of $inferior_spawn_id.
3642 (mi_continue_dprintf): Use mi_expect_dprintf.
3643 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3644 (main): Call gdb_unbuffer_output.
3645
e8376742
PA
36462015-07-29 Pedro Alves <palves@redhat.com>
3647
3648 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3649 (default_mi_gdb_start): Set inferior_spawn_id instead of
3650 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3651 gdb_spawn_id.
3652 (mi_gdb_test): Always expect inferior output from both
3653 $inferior_spawn_id and $gdb_spawn_id.
3654
08280010
PA
36552015-07-29 Pedro Alves <palves@redhat.com>
3656
3657 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3658 send_inferior and $inferior_spawn_id.
3659
4d30e432
PA
36602015-07-29 Pedro Alves <palves@redhat.com>
3661
3662 * gdb.gdb/complaints.exp (test_initial_complaints)
3663 (test_serial_complaints, test_short_complaints): Use
3664 gdb_test_stdio.
3665 (test_empty_complaint): Handle $inferior_spawn_id !=
3666 $gdb_spawn_id.
3667
0d30a335
PA
36682015-07-29 Pedro Alves <palves@redhat.com>
3669
3670 * gdb.base/varargs.exp: Use gdb_test_stdio.
3671
39413b29
PA
36722015-07-29 Pedro Alves <palves@redhat.com>
3673
3674 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3675
7cb000a9
PA
36762015-07-29 Pedro Alves <palves@redhat.com>
3677
3678 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3679
d7b8ac82
PA
36802015-07-29 Pedro Alves <palves@redhat.com>
3681
3682 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3683 parameter into two new parameters, "inf_result" and "gdb_result".
3684 Expect inferior output and gdb output from $inferior_spawn_id and
3685 $gdb_spawn_id, respectively. Adjust all callers.
3686
789c3a0c
PA
36872015-07-29 Pedro Alves <palves@redhat.com>
3688
3689 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3690 of gdb_test_sequence.
3691
77e760c3
PA
36922015-07-29 Pedro Alves <palves@redhat.com>
3693
3694 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3695 (saw_spurious_output): Expect inferior output from
3696 $inferior_spawn_id. Use gdb_test_stdio.
3697
8396d2cd
PA
36982015-07-29 Pedro Alves <palves@redhat.com>
3699
3700 * gdb.base/dprintf.exp: Use standard_testfile. Change
3701 prepare_for_testing call.
3702 (srcfile): Don't set.
3703 (restart): New procedure.
3704 (test_dprintf): New procecure, use to continue over dprintfs.
3705 (test_call, test_agent): New procedures, tests moved here.
3706 Restart gdb and recreate dprintfs. Adjust expected output.
3707
2051d61f
PA
37082015-07-29 Pedro Alves <palves@redhat.com>
3709
3710 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3711
452397af
PA
37122015-07-29 Pedro Alves <palves@redhat.com>
3713
3714 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3715
8aed9555
PA
37162015-07-29 Pedro Alves <palves@redhat.com>
3717
3718 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3719 gdb_test_stdio.
3720
188a61b4
PA
37212015-07-29 Pedro Alves <palves@redhat.com>
3722
3723 * lib/gdb.exp (gdb_test_stdio): New procedure.
3724
12264a45
PA
37252015-07-29 Pedro Alves <palves@redhat.com>
3726
3727 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3728
23ffc893
PA
37292015-07-29 Pedro Alves <palves@redhat.com>
3730
3731 * gdb.base/call-signal-resume.exp: Remove check for
3732 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3733 * gdb.base/unwindonsignal.exp: Likewise.
3734 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3735 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3736
65566918
PA
37372015-07-29 Pedro Alves <palves@redhat.com>
3738
3739 * gdb.base/siginfo-addr.c (pass): New function.
3740 (handler): Call it iff si_addr is correct.
3741 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3742 Set a breakpoint at "pass" and continue to it.
3743
d60a9221
SDJ
37442015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3745
3746 * gdb.python/py-objfile.exp: Make some tests have unique names.
3747 * gdb.python/py-pp-registration.exp: Likewise.
3748
bde40b8f
PA
37492015-07-28 Pedro Alves <palves@redhat.com>
3750
3751 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3752
13e1dec8
SM
37532015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3754
3755 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3756
da33c9a7
SM
37572015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3758
3759 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3760
077836f7
PP
37612015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3762
3763 * gdb.base/gdb-sigterm-2.exp: New test.
3764
b8cc7b2e
DE
37652015-07-25 Doug Evans <xdje42@gmail.com>
3766
3767 Revert:
3768 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3769 (workers/%.worker, build-perf): New rule.
3770 (GDB_PERFTEST_MODE): New variable.
3771 (check-perf): Use it.
3772 (clean): Clean up gdb.perf parallel build subdirs.
3773 * lib/build-piece.exp: New file.
3774 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3775 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3776 name.
3777 (standard_temp_file): Ditto.
3778 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3779 of $GDB_PARALLEL.
3780
c8bd4544
DE
37812015-07-24 Doug Evans <dje@google.com>
3782
3783 * gdb.perf/lib/perftest/utils.py: New file.
3784 * gdb.perf/gm-hello.cc: New file.
3785 * gdb.perf/gm-pervasive-typedef.cc: New file.
3786 * gdb.perf/gm-pervasive-typedef.h: New file.
3787 * gdb.perf/gm-std.cc: New file.
3788 * gdb.perf/gm-std.h: New file.
3789 * gdb.perf/gm-use-cerr.cc: New file.
3790 * gdb.perf/gm-utils.h: New file.
3791 * gdb.perf/gmonster-null-lookup.py: New file.
3792 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3793 * gdb.perf/gmonster-print-cerr.py: New file.
3794 * gdb.perf/gmonster-ptype-string.py: New file.
3795 * gdb.perf/gmonster-runto-main.py: New file.
3796 * gdb.perf/gmonster-select-file.py: New file.
3797 * gdb.perf/gmonster1-null-lookup.exp: New file.
3798 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3799 * gdb.perf/gmonster1-print-cerr.exp: New file.
3800 * gdb.perf/gmonster1-ptype-string.exp: New file.
3801 * gdb.perf/gmonster1-runto-main.exp: New file.
3802 * gdb.perf/gmonster1-select-file.exp: New file.
3803 * gdb.perf/gmonster1.cc: New file.
3804 * gdb.perf/gmonster1.exp: New file.
3805 * gdb.perf/gmonster2-null-lookup.exp: New file.
3806 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3807 * gdb.perf/gmonster2-print-cerr.exp: New file.
3808 * gdb.perf/gmonster2-ptype-string.exp: New file.
3809 * gdb.perf/gmonster2-runto-main.exp: New file.
3810 * gdb.perf/gmonster2-select-file.exp: New file.
3811 * gdb.perf/gmonster2.cc: New file.
3812 * gdb.perf/gmonster2.exp: New file.
3813
6eab34f3
DE
38142015-07-24 Doug Evans <dje@google.com>
3815
3816 * gdb.perf/README: New file.
3817 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3818 * lib/gen-perf-test.exp: New file.
3819
63738bfd
DE
38202015-07-24 Doug Evans <dje@google.com>
3821
3822 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3823 (PerfTest::startup): New function.
3824 (PerfTest::run): Return result of calling body.
3825 (PerfTest::assemble): Rewrite.
3826 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3827 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3828 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3829 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3830 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3831
7b606f95
DE
38322015-07-24 Doug Evans <dje@google.com>
3833
3834 * lib/gdb.exp (clean_restart): Make executable optional.
3835
a97b16b8
DE
38362015-07-24 Doug Evans <dje@google.com>
3837
3838 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3839 compiler_info references.
3840 * gdb.cp/temargs.exp: Ditto.
3841 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3842 (get_compiler_info): Early exit if already computed. Set compiler_info
3843 to "unknown" if there was a problem.
3844 (test_compiler_info): Add function comment. Call get_compiler_info.
3845
35baa57f
DE
38462015-07-24 Doug Evans <dje@google.com>
3847
3848 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3849 (workers/%.worker, build-perf): New rule.
3850 (GDB_PERFTEST_MODE): New variable.
3851 (check-perf): Use it.
3852 (clean): Clean up gdb.perf parallel build subdirs.
3853 * lib/build-piece.exp: New file.
3854 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3855 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3856 name.
3857 (standard_temp_file): Ditto.
3858 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3859 of $GDB_PARALLEL.
3860
6ebea266
DE
38612015-07-24 Doug Evans <dje@google.com>
3862
3863 * lib/future.exp (gdb_default_target_compile): New option
3864 "early_flags".
3865 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3866 --as-needed.
3867
1e76a7e9
SDJ
38682015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3869
3870 * gdb.base/catch-syscall.exp: Call gdb_exit before
3871 gdb_skip_xml_test.
3872
5068630a
PA
38732015-07-24 Pedro Alves <palves@redhat.com>
3874
3875 * gdb.python/py-events.exp: Accept output between the stop event
3876 and the prompt.
3877 * gdb.python/py-evsignal.exp: Likewise.
3878 * gdb.python/py-evthreads.exp: Likewise.
3879
77598427
PA
38802015-07-24 Pedro Alves <palves@redhat.com>
3881
3882 PR gdb/18717
3883 * gdb.threads/non-ldr-exit.c: New file.
3884 * gdb.threads/non-ldr-exit.exp: New file.
3885
11e6c98f
YQ
38862015-07-24 Yao Qi <yao.qi@linaro.org>
3887
3888 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3889 restarting process.
3890
51aee833
YQ
38912015-07-24 Yao Qi <yao.qi@linaro.org>
3892
3893 * gdb.server/ext-restart.exp: New file.
3894
8cfe207c
YQ
38952015-07-24 Yao Qi <yao.qi@linaro.org>
3896
3897 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3898 argument options.
3899 * gdb.server/ext-wrapper.exp: New file.
3900
cc12ce38
DE
39012015-07-23 Doug Evans <dje@google.com>
3902
3903 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3904 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3905
d0d84780
PMR
39062015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3907
3908 * gdb.ada/var_arr_typedef.exp: New testcase.
3909 * gdb.ada/var_arr_typedef/pack.adb: New file.
3910 * gdb.ada/var_arr_typedef/pack.ads: New file.
3911 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3912
8b558f79
JB
39132015-07-20 Joel Brobecker <brobecker@adacore.com>
3914
3915 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3916
775a3298
JK
39172015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3918
3919 * gdb.arch/i386-biarch-core.exp: Replace istarget
3920 by "complete set gnutarget". Remove expectation for the "core-file"
3921 command.
3922
db1ff28b
JK
39232015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3924
3925 Revert the previous commit:
3926 Tests for validate symbol file using build-id.
3927
0a94970d
JK
39282015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3929
3930 Tests for validate symbol file using build-id.
3931 * gdb.base/solib-mismatch-lib.c: New file.
3932 * gdb.base/solib-mismatch-libmod.c: New file.
3933 * gdb.base/solib-mismatch.c: New file.
3934 * gdb.base/solib-mismatch.exp: New file.
3935
03346981
SL
39362015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3937
3938 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3939 nios2-*-linux*.
3940 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3941 * gdb.base/siginfo.exp: Likewise.
3942 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3943
42422cc7
PL
39442015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3945
3946 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3947 Move it to ...
3948 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3949 ... here.
3950 * gdb.trace/range-stepping.exp: Check that the target supports
3951 range stepping.
3952
cfa68bae
JK
39532015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3954
3955 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3956
8ffdba26
PA
39572015-07-14 Pedro Alves <palves@redhat.com>
3958
3959 * gdb.base/killed-outside.exp: New file.
3960 * gdb.base/killed-outside.c: New file.
3961
218a5a11
JK
39622015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3963
3964 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3965 (n at main): New.
3966 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3967
e03ed3c6
AA
39682015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3969
3970 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3971 infcall tests instead of setting up for KFAIL.
3972
485668e5
MM
39732015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3974
3975 * gdb.btrace/record_goto-step.exp: New.
3976
08464196
JK
39772015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3978
3979 PR compile/18484
3980 * gdb.compile/compile.c (struct struct_type): Add volatile to
3981 selffield's type.
3982 * gdb.compile/compile.exp
3983 (compile code struct_object.selffield = &struct_object): Skip further
3984 struct_object tests if this one xfails.
3985
bcf5c1d9
RC
39862015-07-08 Robert O'Callahan <robert@ocallahan.org>
3987
3988 PR exp/18617
3989 * gdb.trace/ax.exp: Add test.
3990
4931af25
YQ
39912015-07-07 Yao Qi <yao.qi@linaro.org>
3992
3993 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3994 instead of istarget "aarch64*-*-*".
3995 * gdb.arch/aarch64-fp.exp: Likewise.
3996 * gdb.base/float.exp: Likewise.
3997 * gdb.reverse/aarch64.exp: Likewise.
3998 * lib/gdb.exp (is_aarch64_target): New proc.
3999
9fcf688e
YQ
40002015-07-07 Yao Qi <yao.qi@linaro.org>
4001
4002 * lib/gdb.exp (is_aarch32_target): New proc.
4003 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
4004 instead of "istarget "arm*-*-*"".
4005 * gdb.arch/arm-disp-step.exp: Likewise.
4006 * gdb.arch/thumb-bx-pc.exp: Likewise.
4007 * gdb.arch/thumb-prologue.exp: Likewise.
4008 * gdb.arch/thumb-singlestep.exp: Likewise.
4009 * gdb.base/disp-step-syscall.exp: Likewise.
4010 * gdb.base/float.exp: Likewise.
4011
fbd8d50d
YQ
40122015-07-07 Yao Qi <yao.qi@linaro.org>
4013
4014 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
4015 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
4016
71be1fdc
YQ
40172015-07-07 Yao Qi <yao.qi@linaro.org>
4018
4019 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
4020 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
4021 if it exists.
4022 * gdb.multi/multi-arch.exp: Likewise.
4023
3e221d36
SM
40242015-07-07 Simon Marchi <simon.marchi@ericsson.com>
4025
4026 * gdb.python/py-lazy-string.exp: Add missing parentheses to
4027 print.
4028
d441430b
YQ
40292015-07-07 Yao Qi <yao.qi@linaro.org>
4030
4031 * gdb.arch/thumb-singlestep.exp: Do one more single step.
4032
06f810bd
MG
40332015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
4034
4035 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
4036 '[' and ']' characters.
4037
5e61e7c0
IB
40382015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
4039
4040 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4041
28bf096c
PA
40422015-06-29 Pedro Alves <palves@redhat.com>
4043
4044 PR threads/18127
4045 * gdb.threads/hand-call-new-thread.c: New file.
4046 * gdb.threads/hand-call-new-thread.c: New file.
4047
ee93cd5e
KS
40482015-06-26 Keith Seitz <keiths@redhat.com>
4049 Doug Evans <dje@google.com>
4050
4051 PR 16253
4052 * gdb.cp/var-tag-2.cc: New file.
4053 * gdb.cp/var-tag-3.cc: New file.
4054 * gdb.cp/var-tag-4.cc: New file.
4055 * gdb.cp/var-tag.cc: New file.
4056 * gdb.cp/var-tag.exp: New file.
4057
fc637f04
PP
40582015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4059
4060 * gdb.base/history-duplicates.exp: New test.
4061
2e52ae68
PP
40622015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4063
4064 * gdb.base/completion.exp: Test the completion of the "focus"
4065 command.
4066
6e22494e
JK
40672015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4068
4069 * gdb.arch/amd64-prologue-skip.S: New file.
4070 * gdb.arch/amd64-prologue-skip.exp: New file.
4071
bf7b9cd9
SM
40722015-06-25 Simon Marchi <simon.marchi@ericsson.com>
4073
4074 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
4075 is_address_zero_readable check.
4076
201e8dfd
PB
40772015-06-24 Peter Bergner <bergner@vnet.ibm.com>
4078
4079 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
4080 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
4081
5cd867b4
YQ
40822015-06-24 Yao Qi <yao.qi@linaro.org>
4083
4084 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
4085 linux targets.
4086
4d7be007
YQ
40872015-06-24 Yao Qi <yao.qi@linaro.org>
4088
4089 * lib/gdb.exp (supports_get_siginfo_type): New proc.
4090 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
4091 * gdb.base/siginfo-thread.exp: Likewise.
4092
07fcd301
YQ
40932015-06-22 Yao Qi <yao.qi@linaro.org>
4094
4095 * boards/remote-gdbserver-on-localhost.exp: Add comments.
4096
52042a00
YQ
40972015-06-22 Yao Qi <yao.qi@linaro.org>
4098
4099 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
4100 aarch64*-*-*.
4101 (skip_hw_watchpoint_tests): Likewise.
4102
74bd41ce
PP
41032015-06-18 Patrick Palka <patrick@parcs.ath.cx>
4104
4105 * gdb.base/gdbinit-history.exp: Test the interaction between
4106 setting GDBHISTSIZE and setting the history size via .gdbinit.
4107
bc460514
PP
41082015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4109
4110 PR gdb/16999
4111 * gdb.base/gdbhistsize-history.exp: New test.
4112
b58c513b
PP
41132015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4114
4115 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
4116 with GDBHISTSIZE.
4117 * gdb.base/readline.exp: Likewise.
4118
92046791
YQ
41192015-06-17 Yao Qi <yao.qi@linaro.org>
4120
4121 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
4122 line.
4123
2093d2d3
PP
41242015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4125
4126 * gdb.base/gdbinit-history.exp: Add test case to check that
4127 an unlimited history file does not get truncated on exit.
4128
e6c693af
AA
41292015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4130
4131 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
4132 (VECTOR): New macro. Use it...
4133 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
4134 ...for these typedefs.
4135 (int8, char1, int1, double1): New typedefs.
4136 (struct just_int2, struct two_int2): New structures.
4137 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
4138 (add_structvecs, add_singlevecs): New functions.
4139 (main): Call add_some_intvecs twice.
4140 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
4141 the compile and exit upon failure. Try compiling for the "native"
4142 architecture. Test inferior function calls with vector arguments
4143 and vector return value handling with "finish" and "return".
4144
c74f7d1c
JT
41452015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
4146
4147 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
4148 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
4149 PE file.
4150 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
4151
98aa42ee
AT
41522015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
4153
4154 PR breakpoints/16465
4155 * gdb.mi/mi-dprintf-pending.c: New file.
4156 * gdb.mi/mi-dprintf-pending.exp: New test.
4157 * gdb.mi/mi-dprintf-pendshr.c: New file.
4158
7d73c23c 41592015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 4160 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
4161
4162 * gdb.arch/i386-mpx-map.c: New file.
4163 * gdb.arch/i386-mpx-map.exp: New File.
4164
41652015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4166
4167 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
4168 * gdb.arch/i386-mpx.exp: Indentation fixed.
4169
41702015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4171
4172 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
4173 function and improved indentation.
4174 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
4175 gdb_test_multiple. Added additional tests to skip the test.
4176
41772015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4178
4179 * gdb.arch/i386-avx512.c: Change path in include file.
4180 * gdb.arch/i386-avx512.exp: Change include dir path
4181 compilation flag.
4182 * gdb.arch/i386-mpx.c: Change path in include file.
4183 * gdb.arch/i386-mpx.exp: Change include dir path compilation
4184 flag.
4185
d5eba19a
JK
41862015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4187
4188 * gdb.compile/compile-print.exp (compile print *vararray@3)
4189 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
4190
7f361056
JK
41912015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4192
4193 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
4194 (do not keep jit in memory): ... this.
4195 (expect 5): Change it to ...
4196 (expect no 5): ... this.
4197
3b462ec2
SM
41982015-06-02 Simon Marchi <simon.marchi@ericsson.com>
4199
4200 PR gdb/15564
4201 * gdb.mi/mi-detach.exp: New file.
4202
e0619de6
JK
42032015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4204
4205 PR symtab/18392
4206 * gdb.arch/amd64-tailcall-self.S: New file.
4207 * gdb.arch/amd64-tailcall-self.c: New file.
4208 * gdb.arch/amd64-tailcall-self.exp: New file.
4209
e970cb34
DB
42102015-05-28 Don Breazeal <donb@codesourcery.com>
4211
4212 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
4213 tests for remote targets by checking is_target_gdbserver.
4214
b2e2f908
DE
42152015-05-27 Doug Evans <dje@google.com>
4216
4217 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
4218 * gdb.dwarf2/opaque-type-lookup.c: New file.
4219 * gdb.dwarf2/opaque-type-lookup.exp: New file.
4220
82c7be31
DE
42212015-05-26 Doug Evans <dje@google.com>
4222
4223 * gdb.cp/iostream.cc: New file.
4224 * gdb.cp/iostream.exp: New file.
4225
b4f54984
DE
42262015-05-26 Doug Evans <dje@google.com>
4227
4228 * gdb.dwarf2/dw2-op-call.exp: Update.
4229 * gdb.dwarf2/dw4-sig-types.exp: Update.
4230 * gdb.dwarf2/implptr.exp: Update.
4231 * gdb.mi/mi-cmd-param-changed.exp: Update.
4232
4ea6efe9
DE
42332015-05-26 Doug Evans <dje@google.com>
4234
4235 * gdb.python/py-lazy-string.c: New file.
4236 * gdb.python/py-lazy-string.exp: New file.
4237 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
4238 (main): Update. Add estring3.
4239 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
4240 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
4241
f6bb7db3
YQ
42422015-05-26 Omair Javaid <omair.javaid@linaro.org>
4243 Yao Qi <yao.qi@linaro.org>
4244
4245 * gdb.reverse/aarch64.c: New.
4246 * gdb.reverse/aarch64.exp: New.
4247
a81bfbd0
OJ
42482015-05-26 Omair Javaid <omair.javaid@linaro.org>
4249
25d49b86
PA
4250 * lib/gdb.exp (supports_process_record): Return true for
4251 aarch64*-linux*.
a81bfbd0
OJ
4252 (supports_reverse): Likewise.
4253
158bf1b4
PP
42542015-05-22 Patrick Palka <patrick@parcs.ath.cx>
4255
4256 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4257 Use with_test_prefix.
4258
a0145030
AB
42592015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
4260
4261 * gdb.base/completion.exp: Add test for completion of layout
4262 names.
4263
ebe3b578
AB
42642015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
4265
4266 * lib/gdb.exp (skip_tui_tests): New proc.
4267 * gdb.base/tui-layout.exp: Check skip_tui_tests.
4268
84204ed7
PA
42692015-05-19 Pedro Alves <palves@redhat.com>
4270
4271 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4272 Save the whole env array instead of just HOME. Unset HISTSIZE in
4273 the environment while testing. Restore whole environment
4274 afterwards.
4275
37442ce1
DE
42762015-05-16 Doug Evans <xdje42@gmail.com>
4277
4278 * gdb.guile/scm-ports.c: New file.
4279 * gdb.guile/scm-ports.exp: Add memory port tests.
4280
36de76f9
JK
42812015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4282
4283 * gdb.compile/compile-print.c: New file.
4284 * gdb.compile/compile-print.exp: New file.
4285
3a9558c4
JK
42862015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4287
4288 * gdb.compile/compile-ops.exp: Cast param to void.
4289 * gdb.compile/compile.exp: Complete type for _gdb_expr.
4290 (compile code struct_object.selffield = &struct_object): Add xfail.
4291
aa715135
JG
42922015-05-15 Joel Brobecker <brobecker@adacore.com>
4293
4294 * gdb.ada/arr_enum_with_gap: New testcase.
4295
931e5bc3
JG
42962015-05-15 Joel Brobecker <brobecker@adacore.com>
4297
4298 * gdb.ada/byte_packed_arr: New testcase.
4299
9cd4d857
JB
43002015-05-15 Joel Brobecker <brobecker@adacore.com>
4301
4302 * gdb.ada/pckd_neg: New testcase.
4303
ebfd00d2
PP
43042015-05-13 Patrick Palka <patrick@parcs.ath.cx>
4305
4306 PR gdb/17820
4307 * gdb.base/gdbinit-history.exp: New test.
4308 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
4309 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
4310
4c082a81
SC
43112015-05-09 Siva Chandra Reddy <sivachandra@google.com>
4312
4313 * gdb.python/py-xmethods.cc: Enhance test case.
4314 * gdb.python/py-xmethods.exp: New tests.
4315 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
4316 function.
4317 (B_indexoper): Likewise.
4318 (global_dm_list) : Add new xmethod worker functions.
4319
f7797074
SDJ
43202015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
4321
4322 * gdb.base/coredump-filter.exp: Correctly unset
4323 "coredump_var_addr" array.
4324
a4674e4e
PA
43252015-05-08 Pedro Alves <palves@redhat.com>
4326
4327 * gdb.server/non-existing-program.exp: Unset spawn_id.
4328
df2eb078
SC
43292015-05-08 Siva Chandra Reddy <sivachandra@google.com>
4330
4331 PR python/18291
4332 * gdb.python/py-xmethods.exp: Add tests.
4333
422349a3
YQ
43342015-05-08 Yao Qi <yao.qi@linaro.org>
4335
4336 PR gdb/18208
4337 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
4338 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
4339 function set_coredump_filter, and remove remote_exec call.
4340 Remove argument ipid. Callers update.
4341 (top level): Don't get inferior's PID.
4342
63fc80ce
AA
43432015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4344
4345 * gdb.base/watch_thread_num.exp: Skip test on targets without
4346 access watchpoints.
4347
80ad801e
PA
43482015-05-06 Pedro Alves <palves@redhat.com>
4349
4350 PR server/18081
4351 * gdb.server/non-existing-program.exp: New file.
4352
0fa7fe50
JB
43532015-05-05 Joel Brobecker <brobecker@adacore.com>
4354
4355 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4356
3ea89b92
PMR
43572015-05-05 Joel Brobecker <brobecker@adacore.com>
4358
4359 * gdb.ada/out_of_line_in_inlined: New testcase.
4360
87b8eff0
JB
43612015-05-05 Joel Brobecker <brobecker@adacore.com>
4362
4363 * gdb.ada/var_rec_arr: New testcase.
4364
5fccc635
YQ
43652015-04-30 Yao Qi <yao.qi@linaro.org>
4366
4367 * gdb.base/break-idempotent.exp: If
4368 skip_hw_watchpoint_multi_tests returns true, skip the tests
4369 on "rwatch" and "awatch".
4370
42d38f42
YQ
43712015-04-30 Yao Qi <yao.qi@linaro.org>
4372
4373 * gdb.base/relativedebug.exp: Invoke gdb command
4374 "info sharedlibrary", and if libc.so doesn't have debug info,
4375 skip the test.
4376
2ce1cdbf
DE
43772015-04-29 Doug Evans <dje@google.com>
4378
4379 * gdb.python/py-xmethods.exp: Add ptype tests.
4380 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4381 get_result_type method.
4382
f24a38c5
LM
43832015-04-29 Luis Machado <lgustavo@codesourcery.com>
4384
4385 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4386 the target does not support hardware watchpoints.
4387
ecbf2b3c
LM
43882015-04-29 Luis Machado <lgustavo@codesourcery.com>
4389
4390 * gdb.base/break-always.exp: Abort testing if writing to memory
4391 causes an error.
4392
34f5f757
DE
43932015-04-28 Doug Evans <dje@google.com>
4394
4395 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4396 * gdb.python/py-pp-registration.exp: ... here. New file.
4397 * gdb.python/py-pp-registration.c: New file.
4398 * gdb.python/py-pp-registration.py: New file.
4399
69b4374a
DE
44002015-04-28 Doug Evans <dje@google.com>
4401
4402 * gdb.python/py-bad-printers.c: New file.
4403 * gdb.python/py-bad-printers.py: New file.
4404 * gdb.python/py-bad-printers.exp: New file.
4405
59fb7612
SS
44062015-04-28 Sasha Smundak <asmundak@google.com>
4407
4408 * gdb.python/py-type.exp: New test.
4409
2631b16a
AW
44102015-04-28 Andy Wingo <wingo@igalia.com>
4411
4412 * gdb.python/py-parameter.exp:
4413 * gdb.guile/scm-parameter.exp: Escape the path that we are
4414 matching against, as it might contain characters that are special
4415 to regular expressions.
4416
460efde1
JB
44172015-04-27 Joel Brobecker <brobecker@adacore.com>
4418
4419 * gdb.ada/rec_comp: New testcase.
4420
2d369d8e
SDJ
44212015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4422
4423 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4424 before using it.
4425
cf75d6c3
AB
44262015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4427
4428 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4429 new tests for verilog output.
4430
8dbe7ca5
YQ
44312015-04-24 Yao Qi <yao.qi@linaro.org>
4432
4433 * boards/remote-gdbserver-on-localhost.exp: New file.
4434
4ef9fb2f
PA
44352015-04-23 Pedro Alves <palves@redhat.com>
4436
4437 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4438 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4439 "end of file", remove $inferior_spawn_id from the indirect list.
4440
0a803169
PA
44412015-04-23 Pedro Alves <palves@redhat.com>
4442
4443 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4444
749ef8f8
PA
44452015-04-23 Pedro Alves <palves@redhat.com>
4446
4447 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4448 on $any_spawn_id instead of only on $gdb_spawn_id.
4449
8aae4344
PM
44502015-04-21 Pierre Muller <muller@sourceware.org>
4451
4452 PR pascal/17815
4453 * lib/pascal.exp (gpc_compile): Add new option "class".
4454 (fpc_compile): Likewise.
4455 * gdb.pascal/case-insensitive-symbols.pas: New file.
4456 * gdb.pascal/case-insensitive-symbols.exp: New file.
4457
1586c8fb
GB
44582015-04-20 Gary Benson <gbenson@redhat.com>
4459
4460 * gdb.base/attach.exp: Fix three extended remote failures.
4461
1b6e6f5c
GB
44622015-04-17 Gary Benson <gbenson@redhat.com>
4463
4464 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4465 the main executable over the remote protocol.
4466
e797481d
PA
44672015-04-16 Pedro Alves <palves@redhat.com>
4468
4469 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4470 a new gdbserver if gdbserver_reconnect_p is set.
4471
1ca99c42
PA
44722015-04-16 Pedro Alves <palves@redhat.com>
4473
4474 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4475 is set, don't exit gdbserver.
4476
af9fd6f8
AA
44772015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4478
4479 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4480 appropriate .insn, such that an older assembler can be used.
4481 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4482 the z/Architecture instruction set on 31-bit targets as well.
4483
04ff1e61
AA
44842015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4485
4486 * gdb.go/handcall.exp: Remove all logic related to the first
4487 breakpoint and rely on go_runto_main instead.
4488 * gdb.go/strings.exp: Likewise.
4489 * gdb.go/unsafe.exp: Likewise.
4490 * gdb.go/hello.exp: Likewise. Also rename the remaining
4491 breakpoint marker to "breakpoint 1".
4492 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4493 * gdb.go/strings.go: Likewise.
4494 * gdb.go/unsafe.go: Likewise.
4495 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4496 "set breakpoint 2 here" and rename the remaining breakpoint marker
4497 to "breakpoint 1".
4498
40d2f8d6
SM
44992015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4500
4501 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4502 if itertools.imap is not present.
4503 * gdb.python/py-objfile.exp: Add parentheses.
4504 * gdb.python/py-type.exp: Same.
4505 * gdb.python/py-unwind-maint.py: Same.
4506
8cbc97c6
YQ
45072015-04-15 Yao Qi <yao.qi@linaro.org>
4508
4509 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4510 of ":$ptr_size" and set its form explicitly.
4511
45fd756c
YQ
45122015-04-15 Pedro Alves <palves@redhat.com>
4513 Yao Qi <yao.qi@linaro.org>
4514
4515 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4516 timeout by factor of 4.
4517 (test_regular_watch): Likewise.
4518 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4519 * gdb.reverse/sigall-reverse.exp: Likewise.
4520 * gdb.reverse/until-precsave.exp: Likewise.
4521 * lib/gdb.exp (with_timeout_factor): New proc.
4522 (gdb_expect): Move some code to ...
4523 (get_largest_timeout): ... here. New procedure.
4524
9e811bc3
LM
45252015-04-14 Luis Machado <lgustavo@codesourcery.com>
4526
4527 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4528
0ff6fcb2
LM
45292015-04-13 Luis Machado <lgustavo@codesourcery.com>
4530
4531 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4532 to write to the .text section.
4533
7578d5f7
LM
45342015-04-13 Luis Machado <lgustavo@codesourcery.com>
4535
4536 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4537 Handle the case of targets that do not provide PID information.
4538
2efe15c4
YQ
45392015-04-13 Yao Qi <yao.qi@linaro.org>
4540
4541 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4542 and use expect instead of gdb_expect.
4543
8cd8f2f8
SDJ
45442015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4545
4546 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4547 "coredump_var_addr" to avoid naming conflict with other testcases.
4548
9ee41772
PA
45492015-04-10 Pedro Alves <palves@redhat.com>
4550
4551 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4552 gdb_test_sequence and gdb_assert.
4553
07473109
PA
45542015-04-10 Pedro Alves <palves@redhat.com>
4555
4556 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4557 test messages that don't include the breakpoint address.
4558
de3db44c
YQ
45592015-04-10 Yao Qi <yao.qi@linaro.org>
4560
4561 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4562 false for some offset and width combinations which aren't
4563 supported by linux kernel.
4564
c79d856c
PA
45652015-04-10 Pedro Alves <palves@redhat.com>
4566
4567 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4568 procedure, factored out from ...
4569 (top level): ... here. Add "set displaced-stepping" testing axis.
4570 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4571 parameter "displaced". Use it.
4572 (top level): Use foreach and add "set displaced-stepping" testing
4573 axis.
4574
ebc90b50
PA
45752015-04-10 Pedro Alves <palves@redhat.com>
4576
4577 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4578 Remove comment.
4579 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4580 both the address of the instruction that triggers the watchpoint
4581 and the address of the instruction immediately after, and use
4582 those addresses for the test. Fix comment.
4583
8f572e5c
PA
45842015-04-10 Pedro Alves <palves@redhat.com>
4585
4586 * gdb.base/sigstep.exp (breakpoint_to_handler)
4587 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4588 Test "backtrace" in handler.
4589 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4590 (top level): Add new "displaced" test axis to
4591 breakpoint_to_handler, breakpoint_to_handler_entry and
4592 breakpoint_over_handler.
4593
8d707a12
PA
45942015-04-10 Pedro Alves <palves@redhat.com>
4595
4596 PR gdb/18216
4597 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4598
ef713951
YQ
45992015-04-10 Yao Qi <yao.qi@linaro.org>
4600
4601 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4602 (test_add_rn_pc): New function.
4603 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4604 (top level): Invoke test_add_rn_pc.
4605
906d60cf
PA
46062015-04-10 Pedro Alves <palves@redhat.com>
4607
4608 PR gdb/13858
4609 * gdb.base/step-over-no-symbols.exp: New file.
4610
f2983cc3
AW
46112015-04-09 Andy Wingo <wingo@igalia.com>
4612
4613 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4614 after the Python tests.
4615
6d62641c
SDJ
46162015-04-08 Keith Seitz <keiths@redhat.com>
4617
4618 PR python/16699
4619 * gdb.python/py-completion.exp: New tests for completion.
4620 * gdb.python/py-completion.py (CompleteLimit1): New class.
4621 (CompleteLimit2): Likewise.
4622 (CompleteLimit3): Likewise.
4623 (CompleteLimit4): Likewise.
4624 (CompleteLimit5): Likewise.
4625 (CompleteLimit6): Likewise.
4626 (CompleteLimit7): Likewise.
4627
f3770638
PA
46282015-04-08 Pedro Alves <palves@redhat.com>
4629
4630 PR gdb/18214
4631 PR gdb/18216
4632 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4633 function.
4634 (main): Install it as SIGUSR1 handler.
4635 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4636 parameter. Always use "setup" as prefix. Toggle "set
4637 displaced-stepping" off/on depending on global. Don't switch to
4638 thread 1 here.
4639 (top level): Add displaced stepping "off/on" test axis. Update
4640 "setup" calls. Wrap each subtest with with_test_prefix. Test
4641 continuing with a queued signal in each thread.
4642
4496bed7
PA
46432015-04-08 Pedro Alves <palves@redhat.com>
4644
4645 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4646 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4647 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4648 Return early if running to main fails.
4649 * gdb.trace/while-stepping.exp: Likewise.
4650
b97fde92
PA
46512015-04-07 Pedro Alves <palves@redhat.com>
4652
4653 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4654 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4655 interact with inferior program.
4656
f71c18e7
PA
46572015-04-07 Pedro Alves <palves@redhat.com>
4658
4659 * lib/gdb.exp (inferior_spawn_id): New global.
4660 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4661 spawn id after processing the user code.
4662 (default_gdb_start): Set inferior_spawn_id.
4663 (send_inferior): New procedure.
4664 * lib/gdbserver-support.exp (gdbserver_start): Set
4665 inferior_spawn_id.
4666 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4667
6423214f
PA
46682015-04-07 Pedro Alves <palves@redhat.com>
4669
4670 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4671 * lib/gdbserver-support.exp (gdbserver_start): Make
4672 $server_spawn_id global.
4673 (gdbserver_start): Don't wait for gdbserver's spawn id with
4674 expect_background.
4675 (close_gdbserver): New procedure.
4676 (gdb_exit): Rename the default version and reimplement.
4677
71c0ee8c
PA
46782015-04-07 Pedro Alves <palves@redhat.com>
4679
72f4393d 4680 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
4681 append the substituted item, not the original item.
4682
203bc29b
PA
46832015-04-07 Pedro Alves <palves@redhat.com>
4684
4685 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4686 gdb_expect.
4687
508a3ddf
PA
46882015-04-07 Pedro Alves <palves@redhat.com>
4689
4690 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4691 output appearing once only.
4692
9f6dbe2b
PA
46932015-04-07 Pedro Alves <palves@redhat.com>
4694
4695 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4696 that doesn't expect anything. Return early if running to main
4697 fails.
4698
337532fa
YQ
46992015-04-07 Yao Qi <yao.qi@linaro.org>
4700
4701 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4702 (child_function): Call alarm.
4703 (main): Move call to alarm into the loop.
4704 * gdb.threads/non-stop-fair-events.exp: Build program with
4705 -DTIMEOUT=$timeout.
4706
01b622d4
DE
47072015-04-06 Doug Evans <xdje42@gmail.com>
4708
4709 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4710 Fix dest parameter to board_info.
4711 (fpc_compile): Ditto.
4712 (gdb_compile_pascal): Rename dest arg to destfile.
4713
961f4160
PMR
47142015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4715
4716 * gdb.ada/funcall_ref.exp: New file.
4717 * gdb.ada/funcall_ref/foo.adb: New file.
4718
cafda597
YQ
47192015-04-02 Yao Qi <yao.qi@linaro.org>
4720
4721 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4722 is remote.
4723
fed040c6
GB
47242015-04-02 Gary Benson <gbenson@redhat.com>
4725
4726 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4727
d11916aa
SS
47282015-04-01 Sasha Smundak <asmundak@google.com>
4729
4730 * gdb.python/py-unwind-maint.c: New file.
4731 * gdb.python/py-unwind-maint.exp: New test.
4732 * gdb.python/py-unwind-maint.py: New file.
4733 * gdb.python/py-unwind.c: New file.
4734 * gdb.python/py-unwind.exp: New test.
4735 * gdb.python/py-unwind.py: New test.
4736
a1471180
PA
47372015-04-01 Pedro Alves <palves@redhat.com>
4738
4739 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4740 to fail instead of non-existent $test.
4741
0bbeccb1
PA
47422015-04-01 Pedro Alves <palves@redhat.com>
4743
4744 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4745 GDBFLAGS if not empty.
4746
3c724c8c
PMR
47472015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4748
4749 * gdb.ada/complete.exp: Remove "multi_line".
4750 * gdb.ada/info_exc.exp: Remove "multi_line".
4751 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4752 * gdb.ada/ptype_field.exp: Remove "multi_line".
4753 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4754 * gdb.ada/tagged.exp: Remove "multi_line".
4755 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4756 [multi_line ...]
4757 * gdb.btrace/delta.exp: Likewise.
4758 * gdb.btrace/exception.exp: Likewise.
4759 * gdb.btrace/function_call_history.exp: Likewise.
4760 * gdb.btrace/instruction_history.exp: Likewise.
4761 * gdb.btrace/nohist.exp: Likewise.
4762 * gdb.btrace/record_goto.exp: Likewise.
4763 * gdb.btrace/segv.exp: Likewise.
4764 * gdb.btrace/stepi.exp: Likewise.
4765 * gdb.btrace/tailcall.exp: Likewise.
4766 * gdb.btrace/unknown_functions.exp: Likewise.
4767 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4768 * lib/gdb.exp: Add the "multi_line" helper.
4769
4eec2deb
PA
47702015-04-01 Pedro Alves <palves@redhat.com>
4771
4772 * gdb.threads/tid-reuse.c: New file.
4773 * gdb.threads/tid-reuse.exp: New file.
4774
df8411da
SDJ
47752015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4776
4777 PR corefiles/16092
4778 * gdb.base/coredump-filter.c: New file.
4779 * gdb.base/coredump-filter.exp: Likewise.
4780
6ef37366
PM
47812015-03-27 Petr Machata <pmachata@redhat.com>
4782
4783 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4784 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4785 (Dwarf::assemble): Initialize them.
4786 (Dwarf::lines): New function.
4787
7ec911b0
JT
47882015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4789
4790 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4791 SYMBOL_PREFIX for x86_64-*-cygwin.
4792
ff908ebf
AW
47932015-03-26 Andy Wingo <wingo@igalia.com>
4794
4795 PR symtab/18148
4796 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4797 const_value but not a location.
4798 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4799 location defined in non-main CUs are visible.
4800
6d5f0679
YQ
48012015-03-26 Yao Qi <yao.qi@linaro.org>
4802
4803 PR testsuite/18139
4804 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4805 Add a line number entry for the same line.
4806 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4807 Add a line number entry for the same line.
4808
2898689b
YQ
48092015-03-26 Yao Qi <yao.qi@linaro.org>
4810
4811 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4812 .int 0.
4813 (func): Likewise. Add .Lfunc_1 label.
4814 Use .Lfunc_1 label.
4815 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4816 .int 0.
4817 (func): Likewise.
4818 Use .Lfunc_1 label.
4819
85180498
YQ
48202015-03-26 Yao Qi <yao.qi@linaro.org>
4821
4822 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4823 Call gdb_compile instead to compile each .s files without debug
4824 information.
4825
8aa08a8d
YQ
48262015-03-26 Yao Qi <yao.qi@linaro.org>
4827
4828 * gdb.base/savedregs.exp (process_saved_regs): Make
4829 "Saved registers:" optional in the pattern.
4830
66849923
MM
48312015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4832
4833 * gdb.btrace/next.exp: Merged into step.exp.
4834 * gdb.btrace/finish.exp: Merged into step.exp.
4835 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4836 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4837 "record goto" and checking the exact replay position.
4838 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4839 check for "Recording format" in "info record" output.
4840 * gdb.btrace/record_goto.exp: Choose test file based on target.
4841 * gdb.btrace/x86-record_goto.S: Renamed into ...
4842 * gdb.btrace/x86_64-record_goto.S: ... this.
4843 * gdb.btrace/i686-record_goto.S: New.
4844 * gdb.btrace/x86-tailcall.S: Renamed into ...
4845 * gdb.btrace/x86_64-tailcall.S: ... this.
4846 * gdb.btrace/i686-tailcall.S: New.
4847 * gdb.btrace/x86-tailcall.c: Renamed into ...
4848 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4849 separate statements. Update test.
4850 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4851 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4852 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4853 * gdb.btrace/tailcall.exp: Choose test file based on target.
4854 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4855
11cc1b74
MM
48562015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4857
4858 * gdb.btrace/exception.exp: Increase BTS buffer size.
4859
a25d8bf9
PA
48602015-03-24 Pedro Alves <palves@redhat.com>
4861
4862 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4863
856e7dd6
PA
48642015-03-24 Pedro Alves <palves@redhat.com>
4865
4866 * gdb.threads/schedlock.exp (test_step): No longer expect that
4867 "set scheduler-locking step" with "next" over a function call runs
4868 threads unlocked.
4869
ad235a41
AT
48702015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4871
4872 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4873
15630549
AT
48742015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4875
4876 PR breakpoints/16466
4877 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4878 * gdb.mi/mi-pending.c (thread_func): New function.
4879 (int main): Add threading support required.
4880 * gdb.mi/mi-pending.exp: Add tests for this issue.
4881 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4882 (pendfunc2): Remove stdio dependency.
4883 * gdb.mi/mi-pendshr2.c: New file.
4884
693dca06
KS
48852015-03-23 Keith Seitz <keiths@redhat.com>
4886
4887 * gdb.linespec/keywords.c: New file.
4888 * gdb.linespec/keywords.exp: New file.
4889
7e993ebf
KS
48902015-03-23 Keith Seitz <keiths@redhat.com>
4891
4892 PR gdb/18021
4893 * gdb.dwarf2/staticvirtual.exp: New test.
4894
bc23328c
JK
48952015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4896
4897 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4898 * README: Remove HP-UX and gdb.hp.
4899 (configuration):
4900 * configure: Regenerate.
4901 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4902 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4903 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4904 gdb.hp/gdb.defects/Makefile.
4905 * gdb.hp/Makefile.in: File deleted.
4906 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4907 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4908 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4909 * gdb.hp/gdb.aCC/run.c: File deleted.
4910 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4911 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4912 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4913 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4914 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4915 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4916 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4917 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4918 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4919 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4920 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4921 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4922 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4923 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4924 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4925 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4926 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4927 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4928 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4929 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4930 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4931 * gdb.hp/gdb.compat/average.c: File deleted.
4932 * gdb.hp/gdb.compat/sum.c: File deleted.
4933 * gdb.hp/gdb.compat/xdb.c: File deleted.
4934 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4935 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4936 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4937 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4938 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4939 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4940 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4941 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4942 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4943 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4944 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4945 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4946 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4947 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4948 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4949 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4950 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4951 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4952 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4953 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4954 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4955 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4956 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4957 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4958 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4959 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4960 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4961 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4962 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4963 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4964 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4965 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4966 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4967 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4968 * gdb.hp/tools/odump: File deleted.
4969
8bf3b159
PA
49702015-03-19 Pedro Alves <palves@redhat.com>
4971
4972 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4973 (saw_thread_3): New globals.
4974 (top level): Increment them when an event for the corresponding
4975 thread is seen.
4976 (no thread starvation): New test.
4977
eb54c8bf
PA
49782015-03-19 Pedro Alves <palves@redhat.com>
4979
4980 * gdb.threads/continue-pending-status.c: New file.
4981 * gdb.threads/continue-pending-status.exp: New file.
4982
32d2e5d6
PA
49832015-03-18 Pedro Alves <palves@redhat.com>
4984
4985 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4986 Use gdb_is_target_remote instead of is_remote. Use
4987 gdb_test_multiple instead of gdb_expect. Exit early if
4988 gdb_test_multiple hits its internal matches. Tighten stepi tests
4989 expected output. Fail on exit with any signal, instead of just
4990 SIGILL.
4991
f68f11b7
YQ
49922015-03-18 Yao Qi <yao.qi@linaro.org>
4993
4994 PR tdep/18107
4995 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4996 variable.
4997 * gdb.base/catch-syscall.exp: Don't skip it on
4998 aarch64*-*-linux* target. Remove elements in all_syscalls.
4999 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
5000 target.
5001 (setup_all_syscalls): New proc.
5002
ca5fd19b
YQ
50032015-03-16 Yao Qi <yao.qi@linaro.org>
5004
5005 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
5006 (top level): Skip tests if valid_addr_p returns false for
5007 $cmd1 or $cmd2.
5008
85642ba0
AW
50092015-03-11 Andy Wingo <wingo@igalia.com>
5010
5011 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
5012
e03f9645
YQ
50132015-03-11 Yao Qi <yao.qi@linaro.org>
5014
5015 * gdb.base/catch-syscall.exp: Fix typo in comments.
5016
5d0962b2
YQ
50172015-03-11 Yao Qi <yao.qi@linaro.org>
5018
5019 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
5020
b2df3cef
PA
50212015-03-09 Pedro Alves <palves@redhat.com>
5022
5023 * dg-extract-results.py: Delete.
5024
ef878e53
PA
50252015-03-09 Pedro Alves <palves@redhat.com>
5026
5027 Merge dg-extract-results.sh from GCC upstream (r218843).
5028
5029 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
5030 * dg-extract-results.sh: Use --text with grep to avoid issues with
5031 binary files. Fall back to cat -v, if that doesn't work.
5032
9494d219
PA
50332015-03-05 Pedro Alves <palves@redhat.com>
5034
5035 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
5036
a8d9763a
SM
50372015-03-04 Simon Marchi <simon.marchi@ericsson.com>
5038
5039 * lib/mi-support.exp (mi_expect_interrupt): Accept
5040 alternative event for when in all-stop mode.
5041
be9957b8
PA
50422015-03-04 Pedro Alves <palves@redhat.com>
5043
5044 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
5045
d57be0f4 50462015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
5047
5048 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
5049
c214c7cf
AA
50502015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5051
5052 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
5053 regexps for GDB's current line display, accept a hex address
5054 preceding the line number.
5055
6d74a497
AA
50562015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5057
5058 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
5059 the 'arch1' variable for "s390*-linux*" targets.
5060
511aee7c
PA
50612015-03-04 Pedro Alves <palves@redhat.com>
5062
5063 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
5064 (main): Pass missing retval argument to pthread_join call.
5065
95e50b27
PA
50662015-03-02 Pedro Alves <palves@redhat.com>
5067
5068 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
5069 (top level): Call do_test with non-stop as well.
5070
28054d69
PA
50712015-03-02 Pedro Alves <palves@redhat.com>
5072
5073 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
5074 -1.
5075
4fa5d7b4
AA
50762015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5077
5078 * gdb.arch/s390-vregs.exp: New test.
5079 * gdb.arch/s390-vregs.S: New file.
5080
97c18565
PA
50812015-02-27 Pedro Alves <palves@redhat.com>
5082
5083 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
5084 call to catch_command_errors.
5085 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
5086 catch_command_errors.
5087
a37bfa30
PA
50882015-02-27 Pedro Alves <palves@redhat.com>
5089
5090 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
5091 "true" for boolean result.
5092 * gdb.gdb/selftest.exp (test_with_self): Also accept full
5093 prototype of main.
5094
6f98576f
PA
50952015-02-27 Pedro Alves <palves@redhat.com>
5096
5097 * lib/unbuffer_output.c: New file.
5098 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
5099 (main): Call gdb_unbuffer_output.
5100
eba5ab56
YQ
51012015-02-27 Yao Qi <yao.qi@linaro.org>
5102
5103 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
5104 target.
5105
0def5aaa
DE
51062015-02-26 Doug Evans <dje@google.com>
5107
5108 * gdb.cp/class2.cc (Dbase, D): New classes.
5109 (main): New local delta.
5110 * gdb.cp/class2.exp: Test printing delta.
5111 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
5112 (dynbar): New global.
5113 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
5114
081a1c2c
JK
51152015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5116
5117 * gdb.compile/compile-ifunc.c: New file.
5118 * gdb.compile/compile-ifunc.exp: New file.
5119
2f41223f
AT
51202015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
5121
5122 * gdb.base/structs.exp: Check for correct struct on finish.
5123
03eddd80
YQ
51242015-02-26 Yao Qi <yao.qi@linaro.org>
5125
5126 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
5127 is zero.
5128
80c57053
JK
51292015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5130
5131 * gdb.arch/cordic.ko.bz2: New file.
5132 * gdb.arch/cordic.ko.debug.bz2: New file.
5133 * gdb.arch/ppc64-symtab-cordic.exp: New file.
5134
21613c12
YQ
51352015-02-25 Yao Qi <yao.qi@linaro.org>
5136
5137 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
5138 aarch64*-*-* target.
5139
d8b901ed
PA
51402015-02-23 Pedro Alves <palves@redhat.com>
5141
5142 * lib/gdb.exp (delete_breakpoints): Rewrite using
5143 gdb_test_multiple.
5144
e5b85ead
PA
51452015-02-23 Pedro Alves <palves@redhat.com>
5146
5147 * gdb.base/info-os.c: Include stdlib.h.
5148
85c3a371
DE
51492015-02-22 Doug Evans <xdje42@gmail.com>
5150
5151 PR symtab/17855
5152 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
5153 is read after symbols have been re-read.
5154 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
5155 * gdb.ada/exec_changed/second.adb (Second): Ditto.
5156
96553a0c
DE
51572015-02-21 Doug Evans <dje@google.com>
5158
5159 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
5160
97a0c697
JK
51612015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5162
5163 PR corefiles/17808
5164 * gdb.arch/i386-biarch-core.core.bz2: New file.
5165 * gdb.arch/i386-biarch-core.exp: New file.
5166
a47cd6e9
PA
51672015-02-21 Pedro Alves <palves@redhat.com>
5168
5169 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
5170 runto_main fails.
5171
c5facdc4
PA
51722015-02-20 Pedro Alves <palves@redhat.com>
5173
5174 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
5175 info probes.
5176
2db9a427
PA
51772015-02-20 Pedro Alves <palves@redhat.com>
5178
5179 * gdb.threads/multi-create-ns-info-thr.exp: New file.
5180
60fb7e9e
PA
51812015-02-20 Pedro Alves <palves@redhat.com>
5182
5183 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
5184 clean_restart before gdb_target_supports_trace.
5185
5c5019c2
PA
51862015-02-20 Pedro Alves <palves@redhat.com>
5187
5188 PR threads/18006
5189 * gdb.threads/clone-thread_db.c: New file.
5190 * gdb.threads/clone-thread_db.exp: New file.
5191
c9587f88
AT
51922015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
5193
5194 PR breakpoints/16812
5195 * gdb.base/catch-gdb-caused-signals.c: New file.
5196 * gdb.base/catch-gdb-caused-signals.exp: New file.
5197
f6a88844
JM
51982015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
5199
5200 * configure: Regenerated.
5201 * configure.ac: Use GDB_AC_TRANSFORM.
5202 * aclocal.m4: sinclude ../transform.m4.
5203
497c491b
JM
52042015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5205
5206 * lib/dtrace.exp: New file.
5207 * gdb.base/dtrace-probe.exp: Likewise.
5208 * gdb.base/dtrace-probe.d: Likewise.
5209 * gdb.base/dtrace-probe.c: Likewise.
5210 * lib/pdtrace.in: Likewise.
5211 * configure.ac: Output variables with the transformed names of
5212 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
5213 * configure: Regenerated.
5214
03e98035
JM
52152015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5216
5217 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
5218 expected message when trying to access $_probe_* convenience
5219 variables while not on a probe.
5220
63cc30e9
JK
52212015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5222
5223 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
5224
0703599a
PA
52252015-02-11 Pedro Alves <pedro@codesourcery.com>
5226
5227 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
5228 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
5229
7e60a48e
DE
52302015-02-10 Doug Evans <xdje42@gmail.com>
5231
5232 * lib/gdb.exp (gdb_load): Always return a result.
5233
01b088bc
PA
52342015-02-10 Pedro Alves <palves@redhat.com>
5235
5236 * gdb.threads/signal-sigtrap.c: New file.
5237 * gdb.threads/signal-sigtrap.exp: New file.
5238
b05ec7a5
AT
52392015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
5240
5241 * gdb.trace/no-attach-trace.c: New file.
5242 * gdb.trace/no-attach-trace.exp: New file.
5243
a2c2acaf
MW
52442015-02-09 Mark Wielaard <mjw@redhat.com>
5245
5246 * gdb.dwarf2/atomic.c: New file.
5247 * gdb.dwarf2/atomic-type.exp: Likewise.
5248
31fd9caa
MM
52492015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5250
5251 * gdb.btrace/buffer-size.exp: Update "info record" output.
5252 * gdb.btrace/delta.exp: Update "info record" output.
5253 * gdb.btrace/enable.exp: Update "info record" output.
5254 * gdb.btrace/finish.exp: Update "info record" output.
5255 * gdb.btrace/instruction_history.exp: Update "info record" output.
5256 * gdb.btrace/next.exp: Update "info record" output.
5257 * gdb.btrace/nexti.exp: Update "info record" output.
5258 * gdb.btrace/step.exp: Update "info record" output.
5259 * gdb.btrace/stepi.exp: Update "info record" output.
5260 * gdb.btrace/nohist.exp: Update "info record" output.
5261
d33501a5
MM
52622015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5263
5264 * gdb.btrace/buffer-size: New.
5265
f4abbc16
MM
52662015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5267
5268 * gdb.btrace/delta.exp: Update "info record" output.
5269 * gdb.btrace/enable.exp: Update "info record" output.
5270 * gdb.btrace/finish.exp: Update "info record" output.
5271 * gdb.btrace/instruction_history.exp: Update "info record" output.
5272 * gdb.btrace/next.exp: Update "info record" output.
5273 * gdb.btrace/nexti.exp: Update "info record" output.
5274 * gdb.btrace/step.exp: Update "info record" output.
5275 * gdb.btrace/stepi.exp: Update "info record" output.
5276 * gdb.btrace/nohist.exp: Update "info record" output.
5277
b9d61307
SM
52782015-02-06 Simon Marchi <simon.marchi@ericsson.com>
5279
5280 PR gdb/15678
5281 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
5282
e584fdbc
PA
52832015-02-06 Pedro Alves <palves@redhat.com>
5284
5285 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
5286 macro.
5287 (seconds_left, again): New globals.
5288 (main): Wait seconds_left in a 1-second sleep loop instead of
5289 sleeping 180 seconds. If 'again' is set, reset the seconds
5290 counter.
5291 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
5292 'again' in the inferior before detaching. Print the seconds left.
5293 (options): New global.
5294 (top level): Build program with -DTIMEOUT=$timeout.
5295
77f41761
PA
52962015-02-06 Pedro Alves <palves@redhat.com>
5297
5298 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
5299 determine how many seconds to pass to 'alarm'.
5300 * gdb.base/gdb-sigterm.exp (top level): Build program with
5301 -DTIMEOUT=$timeout.
5302 (do_test): Return success/failure indication. Add more verbose
5303 logging. Don't fail if 200 single steps are seen. Instead, fail
5304 when the test times out.
5305 (passes): New global.
5306 (top level): Break the testing loop if testing fails on any
5307 iteration. Use gdb_assert.
5308
b9394193
DB
53092015-02-04 Don Breazeal <donb@codesourcery.com>
5310
5311 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
5312 and initialize them.
5313 (ipc_cleanup): New function.
5314 (main): Don't declare shmid, semid, and msqid. Add a call to
5315 atexit so that we call ipc_cleanup on exit.
5316
42d9e528
PA
53172015-02-04 Pedro Alves <palves@redhat.com>
5318
5319 * boards/native-extended-gdbserver.exp: Remove any target variant
5320 specifications from the board name before clearing the isremote
5321 flag from board_info.
5322
ae6ae975
DE
53232015-01-31 Doug Evans <xdje42@gmail.com>
5324
5325 * gdb.base/maint.exp <maint print type argc>: Update expected output.
5326
cfb069a8
GB
53272015-01-31 Gary Benson <gbenson@redhat.com>
5328
5329 * gdb.base/completion.exp: Disable completion limiting for
5330 existing tests. Add new tests to check completion limiting.
5331 * gdb.linespec/ls-errs.exp: Disable completion limiting.
5332
5dd31d79
DE
53332015-01-31 Doug Evans <xdje42@gmail.com>
5334
5335 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
5336
9f050062
DE
53372015-01-31 Doug Evans <xdje42@gmail.com>
5338
5339 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
5340 entries. Duplicate file section script entries.
5341 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
5342 inlined entries. Add test for safe-path rejection.
5343 * gdb.python/py-section-script.c: Add duplicate inlined section script
5344 entries. Duplicate file section script entries.
5345 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5346 inlined entries. Add test for safe-path rejection.
5347
df25ebbd
JB
53482015-01-29 Joel Brobecker <brobecker@adacore.com>
5349
5350 * gdb.ada/disc_arr_bound: New testcase.
5351
4a0ca9ec
JB
53522015-01-29 Joel Brobecker <brobecker@adacore.com>
5353
5354 * gdb.ada/mi_var_array: New testcase.
5355
3a8b707a
DE
53562015-01-27 Doug Evans <dje@google.com>
5357
5358 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5359 Add test for objfile.filename, objfile.username after objfile
5360 has been unloaded.
5361
f8313f6e
JB
53622015-01-26 Joel Brobecker <brobecker@adacore.com>
5363
5364 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5365 the second test to print the name attribute of value
5366 returned by the call to gdb.lookup_type, and adjust
5367 the expected output accordingly.
5368
37bc665e
MW
53692015-01-25 Mark Wielaard <mjw@redhat.com>
5370
5371 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5372 * gdb.base/disp-step-fork.c: Include unistd.h.
5373 * gdb.base/siginfo-obj.c: Include stdio.h.
5374 * gdb.base/siginfo-thread.c: Likewise.
5375 * gdb.mi/non-stop.c: Include unistd.h.
5376 * gdb.mi/nsthrexec.c: Include stdio.h.
5377 * gdb.mi/pthreads.c: Include unistd.h.
5378 * gdb.modula2/unbounded1.c (main): Declare returns int.
5379 * gdb.reverse/consecutive-reverse.c: Likewise.
5380 * gdb.threads/create-fail.c: Include unistd.h.
5381 * gdb.threads/killed.c: Likewise.
5382 * gdb.threads/linux-dp.c: Likewise.
5383 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5384 * gdb.threads/non-ldr-exc-2.c: Likewise.
5385 * gdb.threads/non-ldr-exc-3.c: Likewise.
5386 * gdb.threads/non-ldr-exc-4.c: Likewise.
5387 * gdb.threads/pthreads.c: Include unistd.h.
5388 (main): Declare returns int.
5389 * gdb.threads/tls-main.c (foo): New declaration.
5390 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5391
f7e5394d
SM
53922015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5393
5394 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5395 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5396
743649fd
MW
53972015-01-15 Mark Wielaard <mjw@redhat.com>
5398
5399 * gdb.base/noreturn-return.c: New file.
5400 * gdb.base/noreturn-return.exp: New file.
5401 * gdb.base/noreturn-finish.c: New file.
5402 * gdb.base/noreturn-finish.exp: New file.
5403
198297aa
PA
54042015-01-23 Pedro Alves <palves@redhat.com>
5405
5406 * gdb.threads/continue-pending-after-query.c: New file.
5407 * gdb.threads/continue-pending-after-query.exp: New file.
5408
717cf30c
AG
54092015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5410 Simon Marchi <simon.marchi@ericsson.com>
5411
5412 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5413 * gdb.base/valgrind-db-attach.exp: Same.
5414 * gdb.base/valgrind-infcall.exp: Same.
5415 * lib/mi-support.exp (default_mi_gdb_start): Same.
5416 * lib/prompt.exp (default_prompt_gdb_start): Same.
5417 * lib/gdb.exp (default_gdb_spawn): Same.
5418 (gdb_interact): New.
5419
5420
4b62a76e
JK
54212015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5422
5423 * gdb.compile/compile.exp (pointer to jit function): New test.
5424
b4cdae6f
WW
54252015-01-17 Wei-cheng Wang <cole945@gmail.com>
5426
5427 * lib/gdb.exp (supports_process_record): Return true for
5428 powerpc*-*-linux*.
5429 (supports_reverse): Likewise.
5430
d221e7ef
DB
54312015-01-15 Don Breazeal <donb@codesourcery.com>
5432
5433 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5434 instead of checking whether the target board is remote and
5435 use spawn_wait_for_attach instead of exec/sleep.
5436 * gdb.base/attach-twice.exp: Likewise.
5437
bafffb51
JB
54382015-01-15 Joel Brobecker <brobecker@adacore.com>
5439
5440 * gdb.ada/var_arr_attrs: New testcase.
5441
5589af0e
PA
54422015-01-14 Pedro Alves <palves@redhat.com>
5443 Joel Brobecker <brobecker@adacore.com>
5444
5445 PR gdb/17525
5446 * gdb.base/bp-cmds-execution-x-script.c: New file.
5447 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5448 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5449
6c400b59
PA
54502015-01-14 Pedro Alves <palves@redhat.com>
5451
5452 PR cli/17828
5453 * gdb.base/batch-preserve-term-settings.c: New file.
5454 * gdb.base/batch-preserve-term-settings.exp: New file.
5455
e02c96a7
DE
54562015-01-13 Doug Evans <dje@google.com>
5457
5458 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5459 binary.
5460
576fd14c
JB
54612015-01-13 Joel Brobecker <brobecker@adacore.com>
5462
5463 * Makefile.in (clean mostlyclean): Do not delete *.py.
5464
04dccad0
JB
54652015-01-13 Joel Brobecker <brobecker@adacore.com>
5466
5467 * gdb.python/py-lookup-type.exp: New file.
5468
3d230f71
PA
54692015-01-12 Pedro Alves <palves@redhat.com>
5470
5471 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5472 restore GDBFLAGS before returning.
5473
7e67715d
JK
54742015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5475
5476 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5477 is_amd64_regs_target and is_x86_like_target.
5478
f2e0d4b4
DE
54792015-01-11 Doug Evans <xdje42@gmail.com>
5480
5481 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5482 is given without an explicit form.
5483 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5484 attributes.
5485 * gdb.dwarf/corrupt.exp: Ditto.
5486 * gdb.dwarf2/enum-type.exp: Ditto.
5487 * gdb.trace/entry-values.exp: Ditto.
5488 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5489
439250fb
DE
54902015-01-11 Doug Evans <xdje42@gmail.com>
5491
5492 PR gdb/15830
5493 * gdb.base/maint.exp: Remove references to "maint demangle".
5494 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5495 Add tests for explicitly specifying language to demangle.
5496 * gdb.dlang/demangle.exp: Ditto.
5497
ede9f622
PA
54982015-01-09 Pedro Alves <palves@redhat.com>
5499
5500 * gdb.threads/non-stop-fair-events.c: New file.
5501 * gdb.threads/non-stop-fair-events.exp: New file.
5502
a7b796db
PA
55032015-01-09 Pedro Alves <palves@redhat.com>
5504
5505 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5506 the global scope. Set a breakpoint after all threads are started
5507 rather than stepping over two source lines. Expect the prompt.
5508 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5509 global.
5510 (NUM): Now 15.
5511 (main): Use threads_started_barrier to wait for all threads to
5512 start. Main thread no longer calls thread_function. Exit after
5513 180 seconds.
5514 (loop): New function.
5515 (thread_function): Wait on threads_started_barrier barrier. Call
5516 'loop' at each iteration.
5517 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5518 threads have started, instead of hardcoding number of "next"
5519 steps. Use an access watchpoint instead of a write watchpoint.
5520
9665ffdd
PA
55212015-01-09 Pedro Alves <palves@redhat.com>
5522
5523 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5524 (thread_func): Wait on barrier.
5525 (main): Wait for all threads to start before stopping GDB.
5526 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5527 global.
5528 (thread1_func, thread2_func): Wait on barrier.
5529 (main): Wait for all threads to start before stopping GDB.
5530 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5531 New global.
5532 (thread1_func, thread2_func): Wait on barrier.
5533 (main): Wait for all threads to start before stopping GDB.
5534
c945a99f
PA
55352015-01-09 Pedro Alves <palves@redhat.com>
5536
5537 * gdb.threads/attach-many-short-lived-threads.c: New file.
5538 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5539
c1a747c1
PA
55402014-01-09 Pedro Alves <palves@redhat.com>
5541
5542 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5543 instead of to thread 2.
5544 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5545 Add barrier around each pthread_create call instead of around all
5546 calls.
5547 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5548 Set a break on thread_function and have the child threads hit it
5549 one at at a time.
5550
60b3033e
PA
55512015-01-09 Pedro Alves <palves@redhat.com>
5552
5553 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5554 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5555 false.
5556 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5557 checking whether the target board is remote.
5558 * gdb.multi/multi-attach.exp: Likewise.
5559 * gdb.python/py-sync-interp.exp: Likewise.
5560 * gdb.server/ext-attach.exp: Likewise.
5561 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5562 tests that need to attach, instead of checking whether the target
5563 board is remote at the top of the file.
5564
acc018ac
YQ
55652015-01-08 Yao Qi <yao@codesourcery.com>
5566
5567 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5568
50a18af8
JK
55692015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5570
5571 Fix testcase compilation.
5572 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5573
8503d6e1
JB
55742015-01-06 Joel Brobecker <brobecker@adacore.com>
5575
5576 * gdb.python/py-type.exp: Add a couple test about empty
5577 array creation, and negative-length array creation.
5578
cc73dbcc
DE
55792015-01-02 Doug Evans <xdje42@gmail.com>
5580
5581 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5582
0300bbc7
DE
55832015-01-02 Doug Evans <dje@google.com>
5584
5585 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5586
9d85a0ec
YQ
55872014-12-29 Yao Qi <yao@codesourcery.com>
5588
5589 * gdb.trace/entry-values.exp: Update comments. Rename variable
5590 bar_call_foo to returned_from_foo.
5591
87186c6a
MMN
55922014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5593
5594 PR gdb/17394
5595 * gdb.linespec/break-asm-file.c: New file.
5596 * gdb.linespec/break-asm-file.exp: New file.
5597 * gdb.linespec/break-asm-file0.s: New file.
5598 * gdb.linespec/break-asm-file1.s: New file.
5599
1bab7383
YQ
56002014-12-18 Nigel Stephens <nigel@mips.com>
5601 Maciej W. Rozycki <macro@codesourcery.com>
5602
5603 * gdb.base/float.exp: Handle the new output from "info float" on
5604 MIPS targets.
5605
1bc1068a
JK
56062014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5607
5608 Fix MinGW compilation.
5609 * gdb.compile/compile-ops.exp: Update untested message if
5610 !skip_compile_feature_tests.
5611 * gdb.compile/compile-setjmp.exp: Likewise.
5612 * gdb.compile/compile-tls.exp: Likewise.
5613 * gdb.compile/compile.exp: Likewise.
5614 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5615 supported on this host".
5616
b6615d10
DE
56172014-12-16 Doug Evans <xdje42@gmail.com>
5618
5619 * boards/stabs.exp: New file.
5620
25dda427
AA
56212014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5622
5623 * gdb.base/completion.exp: Adjust to format changes of "maint
5624 print user-registers".
5625
bf330350
CU
56262014-12-16 Catalin Udma <catalin.udma@freescale.com>
5627
5628 PR server/17457
5629 * gdb.arch/aarch64-fp.c: New file.
5630 * gdb.arch/aarch64-fp.exp: New file.
5631
395cf596
SDJ
56322014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5633
5634 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5635 r210637, r210913, r211666, r215400, r215817).
5636
5637 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5638 * dg-extract-results.py: New file.
5639 * dg-extract-results.sh: Use it if the environment seems
5640 suitable.
5641
5642 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5643
5644 * dg-extract-results.py (parse_run): Handle warnings that
5645 are printed before a test harness is run.
5646
5647 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5648
5649 * dg-extract-results.py (Named): Remove __cmp__ method.
5650 (output_variation): Use a key to sort variation.harnesses.
5651
5652 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5653
5654 * dg-extract-results.py: For Python 3, force sys.stdout to
5655 handle surrogate escape sequences.
5656 (safe_open): New function.
5657 (output_segment, main): Use it.
5658
5659 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5660
5661 * dg-extract-results.py (Prog.result_re): Include options
5662 in test name.
5663
5664 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5665
5666 * dg-extract-results.py (output_variation): Always sort if
5667 do_sum.
5668
e882ef3c
SM
56692014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5670
5671 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5672 as long as we get pagination notifications.
5673
4992aa20
JM
56742014-12-15 Jason Merrill <jason@redhat.com>
5675
5676 * Makefile.in (check-gdb.%): Restore.
5677 * README: Mention it.
5678
c1b5a1a6
JB
56792014-12-13 Joel Brobecker <brobecker@adacore.com>
5680
5681 * gdb.ada/str_uninit: New testcase.
5682
5537b577
JK
56832014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5684
5685 PR symtab/17642
5686 * gdb.base/vla-stub-define.c: New file.
5687 * gdb.base/vla-stub.c: New file.
5688 * gdb.base/vla-stub.exp: New file.
5689
bb2ec1b3
TT
56902014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5691 Jan Kratochvil <jan.kratochvil@redhat.com>
5692 Tom Tromey <tromey@redhat.com>
5693
5694 * configure.ac: Add gdb.compile/.
5695 * configure: Regenerate.
5696 * gdb.compile/Makefile.in: New file.
5697 * gdb.compile/compile-ops.exp: New file.
5698 * gdb.compile/compile-ops.c: New file.
5699 * gdb.compile/compile-tls.c: New file.
5700 * gdb.compile/compile-tls.exp: New file.
5701 * gdb.compile/compile-constvar.S: New file.
5702 * gdb.compile/compile-constvar.c: New file.
5703 * gdb.compile/compile-mod.c: New file.
5704 * gdb.compile/compile-nodebug.c: New file.
5705 * gdb.compile/compile-setjmp-mod.c: New file.
5706 * gdb.compile/compile-setjmp.c: New file.
5707 * gdb.compile/compile-setjmp.exp: New file.
5708 * gdb.compile/compile-shlib.c: New file.
5709 * gdb.compile/compile.c: New file.
5710 * gdb.compile/compile.exp: New file.
5711 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5712
4ff709eb
TT
57132014-12-12 Tom Tromey <tromey@redhat.com>
5714
5715 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5716 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5717
6dddd6a5
DE
57182014-12-12 Doug Evans <dje@google.com>
5719
5720 * lib/gdb-python.exp (get_python_valueof): New function.
5721 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5722
71c24708
AA
57232014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5724
5725 * gdb.base/completion.exp: Add test for completion of "info
5726 registers ".
5727
3e29f34a
MR
57282014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5729
5730 * gdb.base/func-ptrs.c: New file.
5731 * gdb.base/func-ptrs.exp: New file.
5732
fc126975
SM
57332014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5734
5735 PR breakpoints/17012
5736 * gdb.base/dprintf-detach.c: New file.
5737 * gdb.base/dprintf-detach.exp: New file.
5738
0a46d518
SM
57392014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5740
5741 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5742 * lib/gdb.exp (target_is_gdbserver): New procedure.
5743
a0be3e44
DE
57442014-12-08 Doug Evans <dje@google.com>
5745
5746 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5747
df1b803a
YQ
57482014-12-05 Yao Qi <yao@codesourcery.com>
5749
5750 * gdb.guile/scm-error.exp: Remove the third argument to
5751 gdb_remote_download.
5752 * gdb.guile/scm-frame-args.exp: Likewise.
5753 * gdb.guile/scm-section-script.exp: Likewise.
5754
ddb9f679
YQ
57552014-12-05 Yao Qi <yao@codesourcery.com>
5756
5757 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5758
86e4ed39
DE
57592014-12-04 Doug Evans <dje@google.com>
5760
5761 * gdb.python/py-objfile.exp: Add tests for
5762 objfile.add_separate_debug_file.
5763
7c50a931
DE
57642014-12-04 Doug Evans <dje@google.com>
5765
5766 * lib/gdb.exp (get_build_id): New function.
5767 (build_id_debug_filename_get): Rewrite to use it.
5768 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5769
621661e3
MR
57702014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5771
5772 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5773 `method(long)', not just 0x0.
5774 * gdb.cp/nsalias.exp: Align code labels to 4.
5775 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5776 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5777 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5778 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5779 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5780 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5781
29f0c3b7
DE
57822014-12-02 Doug Evans <dje@google.com>
5783
e1e061e7 5784 PR symtab/17602
29f0c3b7 5785 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 5786 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
5787 * gdb.cp/anon-ns.exp: Update.
5788
162078c8
NB
57892014-12-02 Nick Bull <nicholaspbull@gmail.com>
5790
5791 * gdb.python/py-events.py (inferior_call_handler): New.
5792 (register_changed_handler, memory_changed_handler): New.
5793 (test_events.invoke): Register new handlers.
5794 * gdb.python/py-events.exp: Add tests for inferior call,
5795 memory_changed and register_changed events.
5796
fdb09caf
AA
57972014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5798
5799 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5800 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5801 if the linker doesn't understand this.
5802
55cfb2c4
SM
58032014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5804
5805 * gdb.python/python.exp: Change expected reply to help().
5806
9e8cd6df
YQ
58072014-12-01 Yao Qi <yao@codesourcery.com>
5808
5809 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5810 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5811 * configure: Re-generated.
5812
6c659fc2
SC
58132014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5814
5815 * gdb.cp/chained-calls.cc: New file.
5816 * gdb.cp/chained-calls.exp: New file.
5817 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5818
d7fc3181
SM
58192014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5820
5821 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5822 * gdb.dwarf2/symtab-producer.exp: Same.
5823 * gdb.gdb/python-interrupts.exp: Same.
5824 * gdb.gdb/python-selftest.exp: Same.
5825 * gdb.python/py-linetable.exp: Same.
5826 * gdb.python/py-type.exp: Same.
5827 * gdb.python/py-value-cc.exp: Same.
5828 * gdb.python/py-value.exp: Same.
5829
10e79639
YQ
58302014-11-28 Yao Qi <yao@codesourcery.com>
5831
5832 * gdb.base/break-probes.exp: Match library name prefixed with
5833 sysroot.
5834
f28a0564
SM
58352014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5836
5837 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5838 test expected output. Add parentheses for the call to print.
5839 Remove L suffix from integers.
5840
3fe1ce1d
DE
58412014-11-26 Doug Evans <dje@google.com>
5842
5843 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5844
84429e27
YQ
58452014-11-22 Yao Qi <yao@codesourcery.com>
5846
5847 * gdb.trace/entry-values.c: Remove asms.
5848 (foo): Add foo_label.
5849 (bar): Add bar_label.
5850 * gdb.trace/entry-values.exp: Remove code computing foo's
5851 length and bar's length.
5852 (Dwarf::assemble): Invoke function_range for bar and use
5853 MACRO_AT_func for foo.
5854
26741859
YQ
58552014-11-22 Yao Qi <yao@codesourcery.com>
5856
5857 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5858 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5859 Use .Lgcc43_procstart instead of gcc43.
5860
45e44d27
JB
58612014-11-21 Joel Brobecker <brobecker@adacore.com>
5862
5863 * gdb.ada/n_arr_bound: New testcase.
5864
458c8db8
SDJ
58652014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5866
5867 PR breakpoints/10737
5868 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5869 test_catch_syscall_multi_arch.
5870 (test_catch_syscall_multi_arch): New function.
5871
43f3e411
DE
58722014-11-20 Doug Evans <xdje42@gmail.com>
5873
5874 * gdb.base/maint.exp: Update expected output.
5875
0d7b2549
AA
58762014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5877
5878 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5879 4-byte instruction on S390.
5880
8908fca5
JB
58812014-11-19 Joel Brobecker <brobecker@adacore.com>
5882
5883 * gdb.ada/arr_arr: New testcase.
5884
4a46959e
JB
58852014-11-19 Joel Brobecker <brobecker@adacore.com>
5886
5887 * gdb.ada/pkd_arr_elem: New Testcase.
5888
470e2f4e
LM
58892014-11-18 Luis Machado <lgustavo@codesourcery.com>
5890
5891 * gdb.reverse/break-precsave: Expect completion message for
5892 core file reads.
5893 * gdb.reverse/consecutive-precsave.exp: Likewise.
5894 * gdb.reverse/finish-precsave.exp: Likewise.
5895 * gdb.reverse/i386-precsave.exp: Likewise.
5896 * gdb.reverse/machinestate-precsave.exp: Likewise.
5897 * gdb.reverse/sigall-precsave.exp: Likewise.
5898 * gdb.reverse/solib-precsave.exp: Likewise.
5899 * gdb.reverse/step-precsave.exp: Likewise.
5900 * gdb.reverse/until-precsave.exp: Likewise.
5901 * gdb.reverse/watch-precsave.exp: Likewise.
5902
a267f3ad
AA
59032014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5904
5905 * gdb.base/bp-permanent.c: Include unistd.h.
5906 * gdb.python/py-framefilter-mi.c (main): Add return type.
5907 * gdb.python/py-framefilter.c (main): Likewise.
5908 * gdb.trace/actions-changed.c (main): Likewise.
5909
12084a9a
AA
59102014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5911
5912 * gdb.mi/until.c: Add eye-catchers.
5913 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5914 line numbers.
5915
dc7e1a77
AA
59162014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5917
5918 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5919 function header variants in break1.c.
5920 * gdb.base/ena-dis-br.exp: Likewise.
5921 * gdb.base/hbreak2.exp: Likewise.
5922 * gdb.reverse/until-precsave.exp: Drop references to removed
5923 non-prototype function header variants in ur1.c.
5924 * gdb.reverse/until-reverse.exp: Likewise.
5925
41c77605
PM
59262014-11-17 Petr Machata <pmachata@redhat.com>
5927
5928 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5929 ${_cu_offset_size} bytes abbrev offset.
5930
34248c3a
DE
59312014-11-15 Doug Evans <xdje42@gmail.com>
5932
5933 PR symtab/17559
5934 * gdb.base/line-symtabs.exp: New file.
5935 * gdb.base/line-symtabs.c: New file.
5936 * gdb.base/line-symtabs.h: New file.
5937
646da059
YQ
59382014-11-14 Yao Qi <yao@codesourcery.com>
5939
5940 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5941 (func): Add label func_label.
5942 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5943 Replace low_pc and high_pc with MACRO_AT_range.
5944 Replace name, low_pc and high_pc with MACRO_AT_func.
5945
9301ebe6
YQ
59462014-11-14 Yao Qi <yao@codesourcery.com>
5947
5948 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5949 Replace name, low_pc and high_pc with MACRO_AT_func.
5950
f166b542
YQ
59512014-11-14 Yao Qi <yao@codesourcery.com>
5952
5953 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5954 produce debug information.
5955 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5956
0f6e71e3
YQ
59572014-11-14 Yao Qi <yao@codesourcery.com>
5958
5959 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5960 object and get function length.
5961 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5962 with MACRO_AT_func.
5963 (top-level): Replace gdb_compile and clean_restart with
5964 prepare_for_testing.
5965 * gdb.dwarf2/main.c (main): Add label main_label.
5966
876c4df9
YQ
59672014-11-14 Yao Qi <yao@codesourcery.com>
5968
5969 * lib/dwarf.exp (function_range): New procedure.
5970 (Dwarf::_handle_macro_at_func): New procedure.
5971 (Dwarf::_handle_macro_at_range): New procedure.
5972 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5973
02ad9cf1
YQ
59742014-11-14 Yao Qi <yao@codesourcery.com>
5975
5976 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5977 (_handle_attribute): New procedure.
5978
a59add0c
AA
59792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5980
5981 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5982 * gdb.base/call-sc.c (zed): Likewise.
5983 * gdb.base/checkpoint.c (main): Likewise.
5984 * gdb.base/dump.c (main): Likewise.
5985 * gdb.base/gcore.c (main): Likewise.
5986 * gdb.base/huge.c (main): Likewise.
5987 * gdb.base/multi-forks.c (main): Likewise.
5988 * gdb.base/pr10179-a.c (main): Likewise.
5989 * gdb.base/savedregs.c (main): Likewise.
5990 * gdb.base/sigaltstack.c (main): Likewise.
5991 * gdb.base/siginfo.c (main): Likewise.
5992 * gdb.base/structs.c (zed): Likewise.
5993 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5994 * gdb.mi/mi-syn-frame.c (main): Likewise.
5995 * gdb.mi/until.c (foo, main): Likewise.
5996 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5997 * gdb.base/solib-weak.c (foo): Declare.
5998 * gdb.base/attach-twice.c: Include stdio.h.
5999 * gdb.base/weaklib1.c: Likewise.
6000 * gdb.base/weaklib2.c: Likewise.
6001 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
6002 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
6003 unistd.h.
6004 * gdb.base/attach-pie-misread.c: Include stdlib.h.
6005 * gdb.mi/mi-exit-code.c: Likewise.
6006 * gdb.base/break-interp-lib.c: Include string.h.
6007 * gdb.base/coremaker.c: Likewise.
6008 * gdb.base/testenv.c: Likewise.
6009 * gdb.python/py-finish-breakpoint.c: Likewise.
6010 * gdb.base/inferior-died.c: Include sys/wait.h.
6011 * gdb.base/fileio.c: Include time.h.
6012 * gdb.base/async-shell.c: Include unistd.h.
6013 * gdb.base/dprintf-non-stop.c: Likewise.
6014 * gdb.base/info-os.c: Likewise.
6015 * gdb.mi/mi-console.c: Likewise.
6016 * gdb.mi/watch-nonstop.c: Likewise.
6017 * gdb.python/py-events.c: Likewise.
6018 * gdb.base/async.c (baz): Move up before its invocation.
6019 * gdb.base/code_elim2.c (my_global_func): Likewise.
6020 * gdb.base/skip-solib-lib.c (multiply): Likewise.
6021 * gdb.base/advance.c (func2): Likewise.
6022
3b5d5997
AA
60232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6024
6025 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
6026 variant.
6027 * gdb.base/annota3.c: Likewise.
6028 * gdb.base/async.c: Likewise.
6029 * gdb.base/average.c: Likewise.
6030 * gdb.base/call-ar-st.c: Likewise.
6031 * gdb.base/call-rt-st.c: Likewise.
6032 * gdb.base/call-sc.c: Likewise.
6033 * gdb.base/call-strs.c: Likewise.
6034 * gdb.base/ending-run.c: Likewise.
6035 * gdb.base/execd-prog.c: Likewise.
6036 * gdb.base/exprs.c: Likewise.
6037 * gdb.base/foll-exec.c: Likewise.
6038 * gdb.base/foll-fork.c: Likewise.
6039 * gdb.base/foll-vfork.c: Likewise.
6040 * gdb.base/funcargs.c: Likewise.
6041 * gdb.base/gcore.c: Likewise.
6042 * gdb.base/jump.c: Likewise.
6043 * gdb.base/langs0.c: Likewise.
6044 * gdb.base/langs1.c: Likewise.
6045 * gdb.base/langs2.c: Likewise.
6046 * gdb.base/mips_pro.c: Likewise.
6047 * gdb.base/nodebug.c: Likewise.
6048 * gdb.base/opaque0.c: Likewise.
6049 * gdb.base/opaque1.c: Likewise.
6050 * gdb.base/recurse.c: Likewise.
6051 * gdb.base/run.c: Likewise.
6052 * gdb.base/scope0.c: Likewise.
6053 * gdb.base/scope1.c: Likewise.
6054 * gdb.base/setshow.c: Likewise.
6055 * gdb.base/setvar.c: Likewise.
6056 * gdb.base/shmain.c: Likewise.
6057 * gdb.base/shr1.c: Likewise.
6058 * gdb.base/shr2.c: Likewise.
6059 * gdb.base/sigall.c: Likewise.
6060 * gdb.base/signals.c: Likewise.
6061 * gdb.base/so-indr-cl.c: Likewise.
6062 * gdb.base/solib2.c: Likewise.
6063 * gdb.base/structs.c: Likewise.
6064 * gdb.base/sum.c: Likewise.
6065 * gdb.base/vforked-prog.c: Likewise.
6066 * gdb.base/watchpoint.c: Likewise.
6067 * gdb.reverse/shr2.c: Likewise.
6068 * gdb.reverse/until-reverse.c: Likewise.
6069 * gdb.reverse/ur1.c: Likewise.
6070 * gdb.reverse/watch-reverse.c: Likewise.
6071
066a77c5
AA
60722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6073
6074 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
6075 variant.
6076 * gdb.base/sepdebug.exp: Drop references to removed code.
6077
4f204ea5
AA
60782014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6079
6080 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
6081 variant. Preserve original line numbering.
6082 * gdb.base/list1.c: Likewise.
6083
3b377a3a
AA
60842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6085
6086 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
6087 variant.
6088 * gdb.base/break1.c: Likewise.
6089 * gdb.base/break.exp: Drop references to removed code.
6090
e444df73
AA
60912014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6092
6093 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
6094 variant.
6095
8008f2a7
AA
60962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6097
6098 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
6099
a5a06887
AA
61002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6101
6102 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
6103 logic into perform_all_tests() and invoke it with and without
6104 function header prototypes.
6105 (do_function_calls): Remove conditional XFAIL for PR 5318.
6106 (rerun_and_prepare): Remove duplicate code.
6107 (perform_all_tests): New. Main logic moved here.
6108
44dba9b9
AA
61092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6110
6111 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
6112 code guarded by #ifdef NO_PROTOTYPES.
6113 (t_double_many_args): Likewise.
6114 (DEF_FUNC_MANY_ARGS_1): Likewise.
6115 (DEF_FUNC_VALUES_1): Likewise.
6116 (t_structs_ldc): Renamed from t_structs_fc in conditional code
6117 guarded by #ifdef PROTOTYPES.
6118
d1fbcd56
AA
61192014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6120
6121 * gdb.mi/mi-console.c: Add eye-catcher.
6122 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
6123 instead of literal line number.
6124
b0e59b8f
AA
61252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6126
6127 * gdb.base/shr2.c: Add eye-catcher.
6128 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
6129 line number.
6130
78f98cca
AA
61312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6132
6133 * gdb.base/jump.c: Add eye-catchers.
6134 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
6135 numbers.
6136
58fa2af0
AA
61372014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6138
6139 * gdb.base/execd-prog.c: Add eye-catchers.
6140 * gdb.base/foll-exec.c: Likewise.
6141 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
6142 line numbers.
6143
04e5059b
AA
61442014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6145
6146 * gdb.base/ending-run.c: Add eye-catchers.
6147 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
6148 literal line numbers.
6149
dbfdb174
AA
61502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6151
6152 * gdb.base/call-rt-st.c: Add eye-catchers.
6153 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
6154 literal line numbers.
6155
888a2ade
AA
61562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6157
6158 * gdb.base/call-ar-st.c: Add eye-catchers.
6159 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
6160 literal line numbers.
6161
6acc2dde
AA
61622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6163
6164 * gdb.base/average.c: Add eye-catchers.
6165 * gdb.base/sum.c: Likewise.
6166 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
6167 regexps dynamically.
6168
9ecfcd1d
AA
61692014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6170
6171 * gdb.base/solib1.c: Add eye-catchers.
6172 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
6173 literal line numbers.
6174
78708b7c
PA
61752014-11-12 Pedro Alves <palves@redhat.com>
6176
6177 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
6178 leader has exited.
6179
af48d08f
PA
61802014-11-12 Pedro Alves <palves@redhat.com>
6181
6182 * gdb.arch/i386-bp_permanent.c: New file.
6183 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
6184 (srcfile): Set to i386-bp_permanent.c.
6185 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
6186 that stepi does not execute the 'leave' instruction, instead of
6187 testing it does execute.
6188 * gdb.base/bp-permanent.c: New file.
6189 * gdb.base/bp-permanent.exp: New file.
6190
af3768e9
DE
61912014-11-10 Doug Evans <xdje42@gmail.com>
6192
6193 PR symtab/17564
6194 * gdb.base/symtab-search-order.exp: New file.
6195 * gdb.base/symtab-search-order.c: New file.
6196 * gdb.base/symtab-search-order-1.c: New file.
6197 * gdb.base/symtab-search-order-shlib-1.c: New file.
6198
9de00a4a
PA
61992014-11-07 Pedro Alves <palves@redhat.com>
6200
6201 PR gdb/17511
6202 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
6203 i?86-*-linux*.
6204
e0f52461
SC
62052014-11-03 Siva Chandra Reddy <sivachandra@google.com>
6206
6207 PR c++/17494
6208 * gdb.cp/pr17494.cc: New file.
6209 * gdb.cp/pr17494.exp: New file.
6210
6ce8c980
YQ
62112014-11-02 Yao Qi <yao@codesourcery.com>
6212
6213 * gdb.python/python.exp: Get working directory and match the
6214 output of "set extended-prompt \\w " with it.
6215
02be9a71
DE
62162014-10-30 Doug Evans <dje@google.com>
6217
6218 * gdb.python/py-objfile.exp: Add tests for setting random attributes
6219 in objfiles.
6220 * gdb.python/py-progspace.exp: Add tests for setting random attributes
6221 in progspaces.
6222
3bdff46b
LM
62232014-10-30 Janis Johnson <janisjo@codesourcery.com>
6224
6225 * gdb.base/fullpath-expand.exp: Skip for a remote host.
6226 * gdb.base/realname-expand.exp: Likewise.
6227 * gdb.linespec/macro-relative.exp: Likewise.
6228
ab917dfb
PA
62292014-10-29 Pedro Alves <palves@redhat.com>
6230
6231 PR gdb/17408
6232 * gdb.threads/schedlock.c (some_function): New function.
6233 (call_function): New global.
6234 (MAYBE_CALL_SOME_FUNCTION): New macro.
6235 (thread_function): Call it.
6236 * gdb.threads/schedlock.exp (get_args): Add description parameter,
6237 and use it instead of a global counter. Adjust all callers.
6238 (get_current_thread): Use "find current thread" for test message
6239 here rather than having all callers pass down the same string.
6240 (goto_loop): New procedure, factored out from ...
6241 (my_continue): ... this.
6242 (step_ten_loops): Change parameter from test message to command to
6243 use. Adjust.
6244 (list_count): Delete global.
6245 (check_result): New procedure, factored out from duplicate top
6246 level code.
6247 (continue tests): Wrap in with_test_prefix.
6248 (test_step): New procedure, factored out from duplicate top level
6249 code.
6250 (top level): Test "step" in combination with all scheduler-locking
6251 modes. Test "next" in combination with all scheduler-locking
6252 modes, and in combination with stepping over a function call or
6253 not.
6254 * gdb.threads/next-bp-other-thread.c: New file.
6255 * gdb.threads/next-bp-other-thread.exp: New file.
6256
d3d4baed
PA
62572014-10-29 Pedro Alves <palves@redhat.com>
6258
6259 PR python/17372
6260 * gdb.python/python.exp: Test a multi-line command that spawns
6261 interactive Python.
6262 * gdb.base/multi-line-starts-subshell.exp: New file.
6263
563e8d85
YQ
62642014-10-29 Yao Qi <yao@codesourcery.com>
6265
6266 * gdb.base/fileio.exp: Make directories on host.
6267
0ea4d52e
YQ
62682014-10-29 Yao Qi <yao@codesourcery.com>
6269
6270 * gdb.base/fileio.c (test_write): Close the file.
6271
7f5ef605
PA
62722014-10-28 Pedro Alves <palves@redhat.com>
6273
6274 PR gdb/12623
6275 * gdb.base/sigstep.c (no_handler): New global.
6276 (main): If 'no_handler is true, set the signal handlers to
6277 SIG_IGN.
6278 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
6279 with_sw_watch and no_handler parameters. Handle them.
6280 (top level) <stepping over handler when stopped at a breakpoint
6281 test>: Add a test axis for testing with a software watchpoint, and
6282 another for testing with the signal handler set to SIG_IGN.
6283 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
6284 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
6285
abbdbd03
PA
62862014-10-28 Pedro Alves <palves@redhat.com>
6287
6288 PR gdb/17511
6289 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
6290 * gdb.base/sigstep.exp (other_handler_location): New global.
6291 (advance): Support stepping into the signal handler, and running
6292 commands while in the handler.
6293 (in_handler_map): New global.
6294 (top level): In the advance test, add combinations for getting
6295 into the handler with stepping commands, and for running commands
6296 in the handler. Add comment descripting the advancei tests.
6297
1df4399f
PA
62982014-10-28 Pedro Alves <palves@redhat.com>
6299
6300 * gdb.base/sigstep.exp: Use build_executable instead of
6301 prepare_for_testing.
6302 (top level): Move code that starts GDB, runs to main and creates a
6303 display to ...
6304 (restart): ... this new procedure.
6305 (top level): Move backtrace from signal handler test to ...
6306 (validate_backtrace): ... this new procedure.
6307 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
6308 with_test_prefix. Always restart GDB.
6309 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
6310 with_test_prefix. Always restart GDB. No need to delete
6311 breakpoints after the test.
6312 (test_skip_handler): Remove prefix parameter.
6313 (skip_over_handler, breakpoint_to_handler)
6314 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
6315 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
6316 restart GDB. No need to delete breakpoints after the test.
6317 (top level): Use foreach to call the test procedures with
6318 different commands.
6319
a5b6e449
PA
63202014-10-28 Pedro Alves <palves@redhat.com>
6321
6322 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
6323 instead of GNATS numbers.
6324 * gdb.base/sigbpt.exp: Likewise.
6325 * gdb.base/siginfo.exp: Likewise.
6326 * gdb.base/sigstep.exp: Likewise.
6327
e5f8a7cc
PA
63282014-10-27 Pedro Alves <palves@redhat.com>
6329
6330 * gdb.base/sigstep.c (dummy): New global.
6331 (main): Issue a couple writes to the new global.
6332 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
6333 procedures.
6334 (skip_over_handler): Use test_skip_handler.
6335 (top level): Call skip_over_handler for stepi and nexti too.
6336 (breakpoint_over_handler): Use test_skip_handler.
6337 (top level): Call breakpoint_over_handler for stepi and nexti too.
6338
763905a3
YQ
63392014-10-27 Yao Qi <yao@codesourcery.com>
6340
6341 * gdb.trace/tfile.c (adjust_function_address)
6342 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6343 function descriptor.
6344
6f259a23
DB
63452014-10-24 Don Breazeal <donb@codesourcery.com>
6346
6347 * gdb.base/foll-fork.exp (test_follow_fork,
6348 catch_fork_child_follow): Check for updated fork messages emitted
6349 from infrun.c.
6350 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6351 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6352 vfork_and_exec_child_follow_through_step): Check for updated vfork
6353 messages emitted from infrun.c.
6354
09dd9a69
PA
63552014-10-24 Pedro Alves <palves@redhat.com>
6356
6357 * gdb.base/corefile.exp: Remove references to ultrix.
6358 * gdb.base/interrupt.exp: Likewise.
6359 * gdb.base/whatis.exp: Likewise.
6360 * gdb.gdb/selftest.exp: Likewise.
6361 * gdb.threads/manythreads.exp: Likewise.
6362 * gdb.threads/print-threads.exp: Likewise.
6363 * gdb.threads/pthreads.exp:: Likewise.
6364 * gdb.threads/schedlock.exp: Likewise.
6365
3433cfa5
SC
63662014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6367
6368 * gdb.cp/non-trivial-retval.cc: Add a test case.
6369 * gdb.cp/non-trivial-retval.exp: Add a test.
6370
092f880b
YQ
63712014-10-20 Yao Qi <yao@codesourcery.com>
6372
6373 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6374 * gdb.python/py-objfile-script-gdb.py: New file.
6375 * gdb.python/py-objfile-script.exp: Update reference to
6376 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6377 of remote_download. Remove the dest file.
6378
acbdb7f3
YQ
63792014-10-20 Yao Qi <yao@codesourcery.com>
6380
6381 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6382 * gdb.base/step-line.exp: Likewise.
6383 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6384 * gdb.dwarf2/dw2-basic.exp: Likewise.
6385 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6386 * gdb.dwarf2/dw2-filename.exp: Likewise.
6387 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6388 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6389 * gdb.dwarf2/dw2-producer.exp: Likewise.
6390 * gdb.dwarf2/mac-fileno.exp: Likewise.
6391 * gdb.python/py-frame-args.exp: Likewise.
6392 * gdb.python/py-framefilter.exp: Likewise.
6393 * gdb.python/py-mi.exp: Likewise.
6394 * gdb.python/py-objfile-script.exp: Likewise
6395 * gdb.python/py-pp-integral.exp: Likewise.
6396 * gdb.python/py-pp-re-notag.exp: Likewise.
6397 * gdb.python/py-prettyprint.exp: Likewise.
6398 * gdb.python/py-section-script.exp: Likewise.
6399 * gdb.python/py-typeprint.exp: Likewise.
6400 * gdb.python/py-xmethods.exp: Likewise.
6401 * gdb.stabs/weird.exp: Likewise.
6402 * gdb.xml/tdesc-regs.exp: Likewise.
6403
bd286a29
KCY
64042014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6405
6406 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6407 (out_cu): Use addr_len for the size of addresses.
6408 (out_line): Likewise. Size DW_LNE_set_address instruction
6409 according to addr_len.
6410 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6411 (FUNC): Add START_INSNS to definition.
6412
673dc4a0
YQ
64132014-10-18 Yao Qi <yao@codesourcery.com>
6414
6415 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6416 gdb_has_argv0 return true.
6417 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6418 check [target_info exists noargs], check [gdb_has_argv0]
6419 instead.
6420 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6421 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6422 procedures.
6423
4ffbba72
DE
64242014-10-17 Doug Evans <dje@google.com>
6425
6426 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6427 event.
6428 * gdb.python/py-events.py: Add clear_objfiles event.
6429
d096d8c1
DE
64302014-10-17 Doug Evans <dje@google.com>
6431
6432 * gdb.python/py-objfile.exp: Test progspace attribute.
6433
a80db015
LM
64342014-10-17 Luis Machado <lgustavo@codesourcery.com>
6435
6436 * gdb.guile/scm-breakpoint.exp: Do not assume any
6437 directory separators when matching source file paths.
6438 * gdb.python/py-breakpoint.exp: Likewise.
6439 * gdb.reverse/break-precsave.exp: Likewise.
6440 * gdb.reverse/break-reverse.exp: Likewise.
6441 * gdb.reverse/consecutive-precsave.exp: Likewise.
6442 * gdb.reverse/finish-precsave.exp: Likewise.
6443 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6444 * gdb.reverse/finish-reverse.exp: Likewise.
6445 * gdb.reverse/i386-precsave.exp: Likewise.
6446 * gdb.reverse/i387-env-reverse.exp: Likewise.
6447 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6448 * gdb.reverse/machinestate-precsave.exp: Likewise.
6449 * gdb.reverse/machinestate.exp: Likewise.
6450 * gdb.reverse/sigall-precsave.exp: Likewise.
6451 * gdb.reverse/solib-precsave.exp: Likewise.
6452 * gdb.reverse/step-precsave.exp: Likewise.
6453 * gdb.reverse/until-precsave.exp: Likewise.
6454 * gdb.reverse/watch-precsave.exp: Likewise.
6455 * gdb.reverse/watch-reverse.exp: Likewise.
6456
b22089ab
YQ
64572014-10-17 Yao Qi <yao@codesourcery.com>
6458
6459 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6460 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6461
6c4486e6
PA
64622014-10-17 Pedro Alves <palves@redhat.com>
6463
6464 PR gdb/17471
6465 * gdb.base/bg-execution-repeat.c: New file.
6466 * gdb.base/bg-execution-repeat.exp: New file.
6467
0ff33695
PA
64682014-10-17 Pedro Alves <palves@redhat.com>
6469
6470 PR gdb/17300
6471 * gdb.base/continue-all-already-running.c: New file.
6472 * gdb.base/continue-all-already-running.exp: New file.
6473
6fdebc3d
PA
64742014-10-17 Pedro Alves <palves@redhat.com>
6475
6476 PR gdb/17472
6477 * gdb.base/annota-input-while-running.c: New file.
6478 * gdb.base/annota-input-while-running.exp: New file.
6479
32a8097b
PA
64802014-10-17 Pedro Alves <palves@redhat.com>
6481
6482 * gdb.base/callfuncs.exp: emove references to osf.
6483 * gdb.base/sigall.exp: Likewise.
6484 * gdb.gdb/selftest.exp: Likewise.
6485 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6486 * gdb.mi/non-stop.c: Likewise.
6487 * gdb.mi/pthreads.c: Likewise.
6488 * gdb.reverse/sigall-precsave.exp: Likewise.
6489 * gdb.reverse/sigall-reverse.exp: Likewise.
6490 * gdb.threads/pthreads.c: Likewise.
6491 * gdb.threads/pthreads.exp: Likewise.
6492
7a3517ff
YQ
64932014-10-17 Yao Qi <yao@codesourcery.com>
6494
6495 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6496 check 'target_info exists noargs'.
6497 (test_command_prompt_position): Likewise.
6498 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6499 Remove "set args".
6500 (progvar_simple_while_test): Likewise.
6501 (progvar_complex_if_while_test): Likewise.
6502 (if_while_breakpoint_command_test): Likewise.
6503 (infrun_breakpoint_command_test): Likewise.
6504 (breakpoint_command_test): Likewise.
6505 (watchpoint_command_test): Likewise.
6506 (bp_deleted_in_command_test): Likewise.
6507 (temporary_breakpoint_commands): Likewise.
6508
bb99c472
YQ
65092014-10-16 Yao Qi <yao@codesourcery.com>
6510
6511 * gdb.base/remotetimeout.exp: Remove noargs checking.
6512
7c16b83e
PA
65132014-10-15 Pedro Alves <palves@redhat.com>
6514
6515 PR breakpoints/9649
6516 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6517 * gdb.base/breakpoint-in-ro-region.exp
6518 (probe_target_hardware_step): New procedure.
6519 (top level): Probe hardware stepping and hardware breakpoint
6520 support. Test stepping through a read-only region, with both
6521 "breakpoint auto-hw" on and off and both "always-inserted" on and
6522 off.
6523
35a49624
IB
65242014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6525
6526 * gdb.dlang/demangle.exp: Update for demangling changes.
6527
2d1c107c
SC
65282014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6529
6530 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6531 * gdb.cp/non-trivial-retval.exp: Add new tests.
6532
778811d5
SC
65332014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6534
6535 PR c++/13403
6536 PR c++/15154
6537 * gdb.cp/non-trivial-retval.cc: New file.
6538 * gdb.cp/non-trivial-retval.exp: New file.
6539
10c5f0a8
YQ
65402014-10-15 Yao Qi <yao@codesourcery.com>
6541
6542 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6543 remote host.
6544
65d7b369
YQ
65452014-10-15 Yao Qi <yao@codesourcery.com>
6546
6547 * gdb.python/py-symbol.exp: Match file base name if host is
6548 remote, otherwise match file name with dir name.
6549 * gdb.python/py-symtab.exp: Likewise.
6550 * gdb.python/python.exp: Likewise.
6551
46dc1394
YQ
65522014-10-15 Yao Qi <yao@codesourcery.com>
6553
6554 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6555 pattern.
6556 * gdb.python/py-symtab.exp: Likewise.
6557 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6558 locationn.
6559
c40cc657
JB
65602014-10-14 Joel Brobecker <brobecker@adacore.com>
6561
6562 * gdb.ada/addr_arith: New testcase.
6563
2abf49e1
MR
65642014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6565
6566 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6567 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6568 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6569 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6570
f7088df3
SDJ
65712014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6572
6573 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6574 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6575 * gdb.arch/stap-eval-lang-ada.exp: New file.
6576
4dc06805
YQ
65772014-10-14 Yao Qi <yao@codesourcery.com>
6578
6579 * gdb.mi/mi-var-child.c (nothing1): New function.
6580 (nothing2): New function.
6581 (do_children_tests): Set function pointers by nothing1 and
6582 nothing2.
6583 * gdb.mi/mi-var-child.exp: Step over new added statements.
6584 Update test to match the new output.
6585 * gdb.mi/var-cmd.c (nothing1): New function.
6586 (nothing2): New function.
6587 (do_children_tests): Set function pointers by nothing1 and
6588 nothing2.
6589 * gdb.mi/mi-var-display.exp: Update test to match output.
6590 Step to the line specified by $line_dct_nothing.
6591 Increase the number of lines to step.
6592
46a93de2
YQ
65932014-10-14 Yao Qi <yao@codesourcery.com>
6594
6595 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6596 tests.
6597 * gdb.mi/mi2-var-child.exp: Likewise.
6598
14ea52ee
DE
65992014-10-13 Doug Evans <dje@google.com>
6600
6601 * gdb.python/py-objfile.exp: Change name of file name test.
6602
e5c6e92b
DE
66032014-10-13 Doug Evans <dje@google.com>
6604
6605 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6606 from the start of the CU.
6607
c780cc2f
JK
66082014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6609 Yao Qi <yao@codesourcery.com>
6610
6611 Fix "save breakpoints" for "catch" command.
6612 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6613 Remove -nonewline. Match also the added "main" line.
6614
99894e11
JK
66152014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6616
6617 Fix "save breakpoints" for "disable $bpnum" command.
6618 * gdb.base/save-bp.c (main): Add label.
6619 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6620
6e1ac5a3
JK
66212014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6622
6623 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6624
754dd2b0
YQ
66252014-10-11 Yao Qi <yao@codesourcery.com>
6626
6627 * gdb.server/server-kill.exp: Execute command
6628 "set remote trace-status-packet on" before "tstatus".
6629
f90183d7
YQ
66302014-10-11 Yao Qi <yao@codesourcery.com>
6631
6632 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6633 (main): Call getppid.
6634 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6635 and continue to it. Read variable "server_pid".
6636
bf40a607
YQ
66372014-10-11 Yao Qi <yao@codesourcery.com>
6638
6639 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6640
052ca370
YQ
66412014-10-11 Yao Qi <yao@codesourcery.com>
6642
6643 * gdb.threads/thread-find.exp: Don't execute command
6644 "info threads".
6645 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6646 * gdb.threads/linux-dp.exp: Don't check the condition
6647 $threads_created equals to zero.
6648
3831839c
PA
66492014-10-10 Pedro Alves <palves@redhat.com>
6650
6651 * gdb.base/bigcore.exp: Remove references to IRIX.
6652 * gdb.base/funcargs.exp: Likewise.
6653 * gdb.base/interrupt.exp: Likewise.
6654 * gdb.base/mips_pro.exp: Likewise.
6655 * gdb.base/nodebug.exp: Likewise.
6656 * gdb.base/setvar.exp: Likewise.
6657 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6658
8b9a549d
PA
66592014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6660 Pedro Alves <palves@redhat.com>
6661
6662 PR symtab/14466
6663 * gdb.base/vdso-warning.c: New file.
6664 * gdb.base/vdso-warning.exp: New file.
6665
d48ba5e8
DE
66662014-10-02 Doug Evans <dje@google.com>
6667
6668 * gdb.base/structs.c (main): Don't run forever.
6669
2278c276
PA
66702014-10-02 Pedro Alves <palves@redhat.com>
6671
6672 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6673 (top level) <stop threads 1, stop threads 2>: Use it.
6674
b57bacec
PA
66752014-10-02 Pedro Alves <palves@redhat.com>
6676
6677 * gdb.threads/break-while-running.exp (test): Add new
6678 'update_thread_list' argument. Skip "info threads" if false.
6679 (top level): Add new 'update_thread_list' axis.
6680
13fd3ff3
PA
66812014-10-02 Pedro Alves <palves@redhat.com>
6682
6683 PR breakpoints/17431
6684 * gdb.base/execl-update-breakpoints.c: New file.
6685 * gdb.base/execl-update-breakpoints.exp: New file.
6686
0fec99e8
PA
66872014-10-01 Pedro Alves <palves@redhat.com>
6688
6689 * gdb.base/breakpoint-in-ro-region.c: New file.
6690 * gdb.base/breakpoint-in-ro-region.exp: New file.
6691
2ddf4301
SM
66922014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6693
6694 * gdb.mi/mi-exit-code.exp: New file.
6695 * gdb.mi/mi-exit-code.c: New file.
6696
6a5f3f43
YQ
66972014-09-30 Yao Qi <yao@codesourcery.com>
6698
6699 * lib/prelink-support.exp (build_executable_own_libs): Error if
6700 the target isn't native.
6701
345bcc73
YQ
67022014-09-30 Yao Qi <yao@codesourcery.com>
6703
6704 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6705 false.
6706
a25a5a45
PA
67072014-09-22 Pedro Alves <palves@redhat.com>
6708
6709 * gdb.threads/break-while-running.exp: New file.
6710 * gdb.threads/break-while-running.c: New file.
6711
00ba3162
YQ
67122014-09-19 Yao Qi <yao@codesourcery.com>
6713
6714 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6715 Invoke test. Restart GDB with --readnow and invoke test again.
6716
c3b7b696
YQ
67172014-09-19 Yao Qi <yao@codesourcery.com>
6718
6719 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6720 proc set_breakpoint_on_gcd_function. Invoke
6721 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6722 invoke set_breakpoint_on_gcd_function again.
6723
2b4fd423
DE
67242014-09-18 Doug Evans <dje@google.com>
6725
6726 * gdb.dwarf2/symtab-producer.exp: New file.
6727
a5947601
SDJ
67282014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6729
6730 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6731 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6732 * gdb.base/global-var-nested-by-dso.c: Likewise.
6733 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6734
91c19059
SDJ
67352014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6736 Pedro Alves <palves@redhat.com>
6737
6738 * gdb.base/watch-bitfields.exp: Pass string other than test file
6739 name to prepare_for_testing.
6740 (watch): New procedure.
6741 (expect_watchpoint): Use with_test_prefix.
6742 (top level): Factor out tests to ...
6743 (test_watch_location, test_regular_watch): ... these new
6744 procedures, and use with_test_prefix and gdb_continue_to_end.
6745
bb9d5f81
PP
67462014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6747
6748 PR breakpoints/12526
6749 * gdb.base/watch-bitfields.exp: New file.
6750 * gdb.base/watch-bitfields.c: New file.
6751
635856f5
PA
67522014-09-16 Pedro Alves <palves@redhat.com>
6753
6754 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6755 software and hardware addresses, not software address against
6756 itself.
6757
7280ceea
PA
67582014-09-16 Pedro Alves <palves@redhat.com>
6759
6760 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6761 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6762
428b16bd
PA
67632014-09-16 Pedro Alves <palves@redhat.com>
6764
6765 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6766 files.
6767 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6768 "*-*-vxworks*" throughout.
6769 * gdb.base/break.exp: Likewise.
6770 * gdb.base/default.exp: Likewise.
6771 * gdb.base/scope.exp: Likewise.
6772 * gdb.base/sepdebug.exp: Likewise.
6773 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6774 throughout.
6775 * gdb.base/run.c: Likewise.
6776 * gdb.base/sepdebug.c: Likewise.
6777 * gdb.hp/gdb.aCC/run.c: Likewise.
6778 * gdb.reverse/until-reverse.c: Likewise.
6779 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6780
666d413c
YQ
67812014-09-16 Yao Qi <yao@codesourcery.com>
6782
6783 * boards/local-remote-host-native.exp: New file.
6784
57cbd724
DE
67852014-09-14 Doug Evans <xdje42@gmail.com>
6786
6787 * gdb.threads/queue-signal.c (thread_count): New variable.
6788 (thread_count_mutex, thread_count_condvar): New variables.
6789 (incr_thread_count, wait_all_threads_running): New functions.
6790 (main): Wait for all threads to be in their thread functions.
6791
81219e53
DE
67922014-09-13 Doug Evans <xdje42@gmail.com>
6793
6794 * gdb.threads/queue-signal.c: New file.
6795 * gdb.threads/queue-signal.exp: New file.
6796
3714cea7
DE
67972014-09-13 Doug Evans <xdje42@gmail.com>
6798
6799 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6800 be consistent with what default_gdb_init uses.
6801 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6802 the plain text of the prompt. Add some logging printfs.
6803 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6804
fa43b1d7
PA
68052014-09-12 Pedro Alves <palves@redhat.com>
6806
6807 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6808 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6809 * gdb.arch/i386-size-overlap.exp: Likewise.
6810 * gdb.arch/i386-size.exp: Likewise.
6811 * gdb.arch/i386-unwind.exp: Likewise.
6812 * gdb.base/a2-run.exp: Likewise.
6813 * gdb.base/break.exp: Likewise.
6814 * gdb.base/charset.exp: Likewise.
6815 * gdb.base/chng-syms.exp: Likewise.
6816 * gdb.base/commands.exp: Likewise.
6817 * gdb.base/dbx.exp: Likewise.
6818 * gdb.base/find.exp: Likewise.
6819 * gdb.base/funcargs.exp: Likewise.
6820 * gdb.base/jit-simple.exp: Likewise.
6821 * gdb.base/reread.exp: Likewise.
6822 * gdb.base/sepdebug.exp: Likewise.
6823 * gdb.base/step-bt.exp: Likewise.
6824 * gdb.cp/mb-inline.exp: Likewise.
6825 * gdb.cp/mb-templates.exp: Likewise.
6826 * gdb.objc/basicclass.exp: Likewise.
6827 * gdb.threads/killed.exp: Likewise.
6828
9d9bf2df
EBM
68292014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6830
6831 PR tdep/17379
6832 * gdb.arch/powerpc-stackless.S: New file.
6833 * gdb.arch/powerpc-stackless.exp: New file.
6834
1cf2f1b0
JK
68352014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6836
6837 * gdb.base/attach.c: Include unistd.h.
6838 (main): Call alarm. Add label postloop.
6839 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6840 gdb_breakpoint, gdb_continue_to_breakpoint.
6841 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6842
98880d46
PA
68432014-09-11 Pedro Alves <palves@redhat.com>
6844
6845 PR gdb/17347
6846 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6847 * gdb.base/attach.exp (test_command_line_attach_run): New
6848 procedure.
6849 (top level): Call it.
6850
4c92ff2c
PA
68512014-09-11 Pedro Alves <palves@redhat.com>
6852
6853 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6854 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6855 (do_command_attach_tests): Use spawn_wait_for_attach.
6856 * gdb.base/solib-overlap.exp: Likewise.
6857 * gdb.multi/multi-attach.exp: Likewise.
6858 * gdb.python/py-prompt.exp: Likewise.
6859 * gdb.python/py-sync-interp.exp: Likewise.
6860 * gdb.server/ext-attach.exp: Likewise.
6861
3adc1a7d
GKB
68622014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6863
6864 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6865 command in testcase. Simplify testcase.
6866
96334934
JB
68672014-09-10 Joel Brobecker <brobecker@adacore.com>
6868
6869 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6870
eb479039
JB
68712014-09-10 Joel Brobecker <brobecker@adacore.com>
6872
6873 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6874
deede10c
JB
68752014-09-10 Joel Brobecker <brobecker@adacore.com>
6876
6877 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6878
7828a5f5
JB
68792014-09-10 Joel Brobecker <brobecker@adacore.com>
6880
6881 * gdb.dwarf2/dynarr-ptr.c: New file.
6882 * gdb.dwarf2/dynarr-ptr.exp: New file.
6883
33aeebcf
MR
68842014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6885
6886 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6887 of 30 rather than hardcoding 120 for a slow test case. Take the
6888 `gdb,timeout' target setting into account for this calculation.
6889 Don't extend the timeout for the test cases that don't need it.
6890
7b415901
MR
68912014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6892
6893 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6894 a factor of 2 for a slow test case. Take the `gdb,timeout'
6895 target setting into account for this calculation.
6896 * gdb.reverse/until-precsave.exp: Increase the timeout by
6897 a factor of 15 and 3 respectively rather than adding 120
6898 for a pair of slow test cases. Take the `gdb,timeout'
6899 target setting into account for this calculation.
6900
4a40f85a
MR
69012014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6902
6903 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6904 timeout, don't pass one down to gdb_expect.
6905 (gdb_expect): Rework timeout selection.
6906
09635af7
MR
69072014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6908
6909 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6910 exception on timeout.
6911 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6912 (gdbserver_start_extended): Catch any `gdbserver_start' error
6913 exceptions.
6914 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6915 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6916 `gdbserver_gdb_load' error exceptions.
6917
2bdd10b7
MR
69182014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6919
6920 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6921 120 on waiting for the TCP socket to open.
6922
316935f0
DE
69232014-09-09 Doug Evans <xdje42@gmail.com>
6924
6925 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6926 _caller_matches, _any_caller_is, _any_caller_matches.
6927
83740597
DE
69282014-09-09 Doug Evans <xdje42@gmail.com>
6929
6930 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6931
4c122fc3
YQ
69322014-09-09 Yao Qi <yao@codesourcery.com>
6933
6934 * gdb.mi/mi-var-display.exp: Set print symbol off.
6935
a9f116cb
GKB
69362014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6937
6938 PR gdb/17035
6939 * gdb.base/commands.exp: Add tests to verify user-defined
6940 commands with empty bodies.
6941 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6942 python commands in `show user command`.
6943 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6944 scheme commands in `show user command`.
6945
c75bd3a2
JK
69462014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6947
6948 PR python/17355
6949 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6950 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6951 * gdb.python/py-framefilter-invalidarg.exp: New file.
6952 * gdb.python/py-framefilter-invalidarg.py: New file.
6953
faa42425
DE
69542014-09-06 Doug Evans <xdje42@gmail.com>
6955
6956 PR 15276
6957 * gdb.python/py-caller-is.c: New file.
6958 * gdb.python/py-caller-is.exp: New file.
6959
474ca4f6
SDJ
69602014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6961
6962 PR gdb/17235
6963 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6964 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6965
eb0b0463
SDJ
69662014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6967
6968 PR fortran/17237
6969 * gdb.fortran/print-formatted.exp: New file.
6970 * gdb.fortran/print-formatted.f90: Likewise.
6971
5f3b99cf
SS
69722014-09-03 Sasha Smundak <asmundak@google.com>
6973
6974 * gdb.python/py-frame.exp: Test Frame.read_register.
6975
7d793aa9
SDJ
69762014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6977
6978 PR python/16699
6979 * gdb.python/py-completion.exp: New file.
6980 * gdb.python/py-completion.py: Likewise.
6981
fb0576e9
DE
69822014-08-28 Doug Evans <dje@google.com>
6983
6984 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6985 eax,etc. are live with values set by gdb and thus the compiler can't
6986 use them.
6987 * gdb.arch/i386-pseudo.c (main): Ditto.
6988
ee92b0dd
DE
69892014-08-27 Doug Evans <dje@google.com>
6990
6991 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6992
6649db35
DE
69932014-08-25 Doug Evans <dje@google.com>
6994
6995 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6996 (main): Ditto.
6997
564b7600
DE
69982014-08-25 Doug Evans <dje@google.com>
6999
7000 * gdb.threads/thread-execl.exp: #include <stdio.h>.
7001
3881fb67
YQ
70022014-08-24 Yao Qi <yao@codesourcery.com>
7003
7004 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
7005 symbol off.
7006 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
7007
a05a36a5
DE
70082014-08-22 Doug Evans <dje@google.com>
7009
7010 PR 17276
7011 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
7012 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
7013 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
7014
7c343b48
YQ
70152014-08-22 Yao Qi <yao@codesourcery.com>
7016
7017 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
7018 * gdb.python/py-finish-breakpoint2.exp: Likewise.
7019 * gdb.python/python.exp: Likewise. Use .py file on the host
7020 instead of the build.
7021
22fd09ae
JK
70222014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7023
7024 * gdb.threads/gcore-stale-thread.c: New file.
7025 * gdb.threads/gcore-stale-thread.exp: New file.
7026
a8454a7c
PA
70272014-08-21 Pedro Alves <palves@redhat.com>
7028
7029 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
7030 * gdb.base/gcore-relro-pie.exp: Likewise.
7031 * gdb.base/gcore-relro.exp: Likewise.
7032 * gdb.base/gcore.exp: Likewise.
7033 * gdb.base/print-symbol-loading.exp: Likewise.
7034 * gdb.threads/gcore-thread.exp: Likewise.
7035 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
7036
2a31c623
PA
70372014-08-20 Pedro Alves <palves@redhat.com>
7038 Jan Kratochvil <jan.kratochvil@redhat.com>
7039
7040 * Makefile.in (EXTRA_RULES, CC): New variables, get from
7041 configure.
7042 (EXPECT): Handle READ1 being set.
7043 (all): Depend on EXTRA_RULES.
7044 (check-read1, expect-read1, read1.so, read1): New rules.
7045 * README (Testsuite Parameters): Document the READ1 make variable.
7046 (Race detection): New section.
7047 * configure: Regenerate.
7048 * configure.ac: If build==host==target, and running under a
7049 GNU/glibc system, add read1 to the extra Makefile rules.
7050 (EXTRA_RULES): AC_SUBST it.
7051 * lib/read1.c: New file.
7052
d36430db
JB
70532014-08-20 Joel Brobecker <brobecker@adacore.com>
7054
7055 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
7056 the handling of variables declared as a typedef to an array
7057 which a DW_AT_data_location attribute.
7058
9a0dc9e3
PA
70592014-08-19 Andrew Burgess <aburgess@broadcom.com>
7060 Pedro Alves <palves@redhat.com>
7061
7062 PR symtab/14604
7063 PR symtab/14605
7064 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
7065 gdb_test.
7066
0718a8da
PA
70672014-08-19 Pedro Alves <palves@redhat.com>
7068
7069 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
7070
13b448cd
YQ
70712014-08-19 Yao Qi <yao@codesourcery.com>
7072
7073 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
7074 right line.
7075
1cbf5077
DB
70762014-08-18 David Blaikie <dblaikie@gmail.com>
7077
7078 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
7079
bf0fae19
JB
70802014-08-18 Joel Brobecker <brobecker@adacore.com>
7081
7082 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
7083 attribute in array range.
7084
3c8c5dcc
JB
70852014-08-18 Joel Brobecker <brobecker@adacore.com>
7086
7087 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
7088
e66d4446
SC
70892014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7090
7091 PR c++/17132
7092 * gdb.cp/pr17132.cc: New file.
7093 * gdb.cp/pr17132.exp: New file.
7094
940df408
SC
70952014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7096
7097 * gdb.python/py-xmethods.py (A_getarrayind)
7098 (E_method_char_worker.__call__, E_method_int_worker.__call__):
7099 Use 'print' with function call syntax.
7100 (E_method_matcher.match): Fix tab vs space indentation mixup.
7101
ebcc6c3a
YQ
71022014-08-15 Yao Qi <yao@codesourcery.com>
7103
7104 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
7105 false.
7106
775e0f04
YQ
71072014-08-15 Yao Qi <yao@codesourcery.com>
7108
7109 * gdb.cp/casts.exp: Set print symbol off.
7110 * gdb.cp/class2.exp: Likewise.
7111 * gdb.cp/overload.exp: Likewise.
7112 * gdb.cp/templates.exp: Likewise.
7113
d769e349
DE
71142014-08-11 Doug Evans <dje@google.com>
7115
7116 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
7117 (test_load_shlib): Update.
7118
20c6f1e1
YQ
71192014-08-09 Yao Qi <yao@codesourcery.com>
7120
7121 * gdb.base/display.exp: Invoke is_address_zero_readable.
7122 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
7123 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
7124 * gdb.base/hbreak-unmapped.exp: Return if
7125 is_address_zero_readable returns true.
7126 * gdb.base/signest.exp: Likewise.
7127 * gdb.base/signull.exp: Likewise.
7128 * gdb.base/sigbpt.exp: Likewise.
7129 * gdb.guile/scm-disasm.exp: Do the test if
7130 is_address_zero_readable returns false.
7131 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
7132 * gdb.python/py-arch.exp: Likewise.
7133 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
7134 * lib/gdb.exp (is_address_zero_readable): New proc.
7135
5792e8e3
YQ
71362014-08-09 Yao Qi <yao@codesourcery.com>
7137
7138 PR testsuite/13443
7139 * gdb.mi/mi-var-display.exp: Make test messages unique.
7140
3cecbbbe
TT
71412014-08-04 Tom Tromey <tromey@redhat.com>
7142
7143 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
7144 target 0".
7145
00b51ff5
TT
71462014-08-04 Tom Tromey <tromey@redhat.com>
7147
7148 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
7149 "target_resume".
7150
6908c509
JB
71512014-08-01 Joel Brobecker <brobecker@adacore.com>
7152
7153 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
7154 inner_vla_struct_object_size.
7155 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
7156 as xfail.
7157
cc6563d2
PA
71582014-07-30 Pedro Alves <palves@redhat.com>
7159
7160 * gdb.threads/signal-command-handle-nopass.exp (test): Add
7161 comment.
7162
7e09a223
YQ
71632014-07-29 Yao Qi <yao@codesourcery.com>
7164
7165 PR gdb/17206
7166 * gdb.base/until-nodebug.exp: New.
7167
7ebdbe92
DE
71682014-07-28 Doug Evans <xdje42@gmail.com>
7169
7170 PR guile/17203
7171 * gdb.guile/scm-parameter.exp: Add tests for trying to create
7172 previously existing parameter, and previously ambiguously spelled
7173 parameter.
7174
fdb1adc6
WN
71752014-07-28 Will Newton <will.newton@linaro.org>
7176
7177 * gdb.base/varargs.exp: Remove KFAILs for ARM.
7178
186fcde0
DE
71792014-07-26 Ludovic Courtès <ludo@gnu.org>
7180 Doug Evans <xdje42@gmail.com>
7181
7182 PR guile/17146
7183 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
7184
70509625
PA
71852014-07-25 Pedro Alves <palves@redhat.com>
7186
7187 * gdb.threads/signal-command-handle-nopass.c: New file.
7188 * gdb.threads/signal-command-handle-nopass.exp: New file.
7189 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
7190 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
7191 * gdb.threads/signal-delivered-right-thread.c: New file.
7192 * gdb.threads/signal-delivered-right-thread.exp: New file.
7193
c3f814a1
PA
71942014-07-25 Pedro Alves <palves@redhat.com>
7195
7196 * gdb.base/double-prompt-target-event-error.exp
7197 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
7198 match.
7199 (cancel_pagination_in_target_event): Rework double prompt
7200 detection.
7201 * gdb.base/paginate-after-ctrl-c-running.exp
7202 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
7203 <return>' match.
7204 * gdb.base/paginate-bg-execution.exp
7205 (test_bg_execution_pagination_return)
7206 (test_bg_execution_pagination_cancel): Remove '-notransfer
7207 <return>' matches.
7208 * gdb.base/paginate-execution-startup.exp
7209 (test_fg_execution_pagination_return)
7210 (test_fg_execution_pagination_cancel): Remove '-notransfer
7211 <return>' matches.
7212 * gdb.base/paginate-inferior-exit.exp
7213 (test_paginate_inferior_exited): Remove '-notransfer <return>'
7214 match.
7215 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
7216 * lib/gdb.exp (pagination_prompt): Run text through
7217 string_to_regexp.
7218 (gdb_test_multiple): Match $pagination_prompt instead of
7219 "<return>".
7220 (string_to_regexp): Move to lib/gdb-utils.exp.
7221
e214cf6c
JK
72222014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7223
7224 * gdb.arch/amd64-entry-value-paramref.S: New file.
7225 * gdb.arch/amd64-entry-value-paramref.cc: New file.
7226 * gdb.arch/amd64-entry-value-paramref.exp: New file.
7227 * gdb.arch/amd64-optimout-repeat.S: New file.
7228 * gdb.arch/amd64-optimout-repeat.c: New file.
7229 * gdb.arch/amd64-optimout-repeat.exp: New file.
7230
17d0c5c8
JK
72312014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7232
7233 PR gdb/17170
7234 * gdb.base/statistics.exp: New file.
7235
b8b8facf
DE
72362014-07-17 Doug Evans <dje@google.com>
7237
74b49205 7238 PR gdb/17170
b8b8facf
DE
7239 * gdb.base/maint.exp: Update testing of per-command stats.
7240
1b5d0ab3
PA
72412014-07-16 Pedro Alves <palves@redhat.com>
7242
7243 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
7244 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
7245 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
7246 (tfile_write_buf): New functions.
7247 (add_memory_block): Rewrite using the above.
7248 (adjust_function_address): New function.
7249 (FUNCTION_ADDRESS): New macro.
7250 (write_basic_trace_file): Remove short_x local, and use
7251 tfile_write_16. Change type of func_addr local to unsigned long
7252 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
7253 here. Cast argument of add_memory_block to char pointer.
7254 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
7255 (main): Remove parameters.
7256 * gdb.trace/tfile.exp: Remove nowarnings.
7257
4d974e88
SM
72582014-07-15 Simon Marchi <simon.marchi@ericsson.com>
7259
7260 * gdb.base/debug-expr.exp: Test string evaluation with
7261 "debug expression" on.
7262
41e99568
PA
72632014-07-15 Pedro Alves <palves@redhat.com>
7264
7265 * gdb.base/reread.exp: Use clean_restart.
7266
487d9753
PL
72672014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
7268
7269 * gdb.arch/avr-flash-qualifer.c: New.
7270 * gdb.arch/avr-flash-qualifer.exp: New.
7271
cc1c52ad
PA
72722014-07-14 Pedro Alves <palves@redhat.com>
7273
7274 * gdb.base/paginate-after-ctrl-c-running.c: New file.
7275 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
7276
1e973570
PA
72772014-07-14 Pedro Alves <palves@redhat.com>
7278
7279 * gdb.base/double-prompt-target-event-error.c: New file.
7280 * gdb.base/double-prompt-target-event-error.exp: New file.
7281
93d6eb10
PA
72822014-07-14 Pedro Alves <palves@redhat.com>
7283
7284 PR gdb/17072
7285 * gdb.base/paginate-inferior-exit.c: New file.
7286 * gdb.base/paginate-inferior-exit.exp: New file.
7287
0017922d
PA
72882014-07-14 Pedro Alves <palves@redhat.com>
7289
7290 PR gdb/17072
7291 * gdb.base/paginate-bg-execution.c: New file.
7292 * gdb.base/paginate-bg-execution.exp: New file.
7293
94696ad3
PA
72942014-07-14 Pedro Alves <palves@redhat.com>
7295
7296 PR gdb/17072
7297 * gdb.base/paginate-execution-startup.c: New file.
7298 * gdb.base/paginate-execution-startup.exp: New file.
7299 * lib/gdb.exp (pagination_prompt): New global.
7300 (default_gdb_spawn): New procedure, factored out from
7301 default_gdb_spawn.
7302 (default_gdb_start): Adjust to call default_gdb_spawn.
7303 (gdb_spawn): New procedure.
7304
bd293940
PA
73052014-07-14 Pedro Alves <palves@redhat.com>
7306
7307 * lib/gdb.exp (gdb_assert): New procedure.
7308 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
7309
c933f875
PA
73102014-07-14 Pedro Alves <palves@redhat.com>
7311
7312 * gdb.base/execution-termios.c: New file.
7313 * gdb.base/execution-termios.exp: New file.
7314
d98b7a16
TT
73152014-07-14 Tom Tromey <tromey@redhat.com>
7316
7317 * gdb.cp/vla-cxx.cc: New file.
7318 * gdb.cp/vla-cxx.exp: New file.
7319
548740d6
TT
73202014-07-14 Tom Tromey <tromey@redhat.com>
7321
7322 * gdb.reverse/rerun-prec.c: New file.
7323 * gdb.reverse/rerun-prec.exp: New file.
7324
a25eb028
MR
73252014-07-12 Maciej W. Rozycki <macro@mips.com>
7326 Maciej W. Rozycki <macro@codesourcery.com>
7327
7328 * lib/gdb-utils.exp: New file.
7329 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
7330 inline `gdb_init_command' processing.
7331 (gdb_start_cmd): Likewise.
7332 * lib/mi-support.exp (mi_run_cmd): Likewise.
7333 * README: Document `gdb_init_command' and `gdb_init_commands'.
7334
218c2655
JK
73352014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7336
7337 Fix false FAIL running under a very long directory name.
7338 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
7339 and "set print elements 10000". Twice.
7340
5401fde3
YQ
73412014-07-11 Yao Qi <yao@codesourcery.com>
7342
7343 * gdb.base/exprs.exp: "set print symbol off".
7344
e76126e8
PA
73452014-07-11 Pedro Alves <palves@redhat.com>
7346
7347 * gdb.threads/kill.c: New file.
7348 * gdb.threads/kill.exp: New file.
7349
2d6f0de6
YQ
73502014-07-10 Yao Qi <yao@codesourcery.com>
7351
7352 * gdb.trace/tfile.c (write_basic_trace_file)
7353 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7354 address written to trace file.
7355
7180e04a
PA
73562014-07-09 Pedro Alves <palves@redhat.com>
7357
7358 * gdb.base/attach-wait-input.exp: New file.
7359 * gdb.base/attach-wait-input.c: New file.
7360
9a9a7608
AB
73612014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7362
7363 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7364 setting up test structures.
7365 (main): Call new test function.
7366 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7367 test function, continue into test function and walk test
7368 structures.
7369
161ac41e
YQ
73702014-07-02 Yao Qi <yao@codesourcery.com>
7371
7372 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7373 'bar_start' at the beginning of functions 'foo' and 'bar'
7374 respectively.
7375 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7376 instead of 'foo' and 'bar'.
7377
1f267ae3
MM
73782014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7379
7380 * gdb.btrace/segv.exp: New.
7381 * gdb.btrace/segv.c: New.
7382
2b239efb
LM
73832014-07-02 Luis Machado <lgustavo@codesourcery.com>
7384
7385 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7386 instruction.
7387
cf363f18
MW
73882014-06-30 Mark Wielaard <mjw@redhat.com>
7389
7390 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7391 vulture, vilify, villar): New volatile array constants.
7392 (vindictive, vegetation): New const volatile array constants.
7393 * gdb.base/volatile.exp: Test volatile and const volatile array
7394 types.
7395
aebf9d24
AA
73962014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7397
7398 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7399 target lacks support for awatch, rwatch, or hbreak.
7400
b67a2c6f
YQ
74012014-06-27 Yao Qi <yao@codesourcery.com>
7402
7403 * gdb.multi/dummy-frame-restore.exp: New.
7404 * gdb.multi/dummy-frame-restore.c: New.
7405
aef92902
MM
74062014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7407
7408 * gdb.btrace/gcore.exp: New.
7409
8e9db26e
PA
74102014-06-23 Pedro Alves <palves@redhat.com>
7411
7412 * gdb.base/watchpoint-reuse-slot.c: New file.
7413 * gdb.base/watchpoint-reuse-slot.exp: New file.
7414
70afc5b7
SC
74152014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7416
7417 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7418 progspace's filename in 'info', 'enable' and 'disable' command
7419 tests.
7420
b972bd9c
JK
74212014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7422
7423 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7424 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7425 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7426
125f8a3d
GB
74272014-06-20 Gary Benson <gbenson@redhat.com>
7428
7429 * gdb.arch/i386-avx.exp: Fix include file location.
7430 * gdb.arch/i386-sse.exp: Likewise.
7431
3ed9baed
IB
74322014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7433
7434 * gdb.dlang/expression.exp: New file.
7435
034f788c
PA
74362014-06-19 Pedro Alves <palves@redhat.com>
7437
7438 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7439 out from ...
7440 (top level): ... here. Iterate running tests under different
7441 scheduler-locking settings.
7442
45371d0c
LM
74432014-06-18 Luis Machado <lgustavo@codesourcery.com>
7444
7445 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7446 to DW_FORM_addr and use non-zero addresses.
7447
5d376983
SC
74482014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7449
7450 PR gdb/17017
7451 * gdb.python/py-xmethods.cc: Add global function call counters and
7452 increment them in their respective functions. Remove "cout"
7453 statements.
7454 * gdb.python/py-xmethods.exp: Make tests check the global function
7455 call counters instead of depending on inferior IO.
7456
a1aa2221
LM
74572014-06-18 Don Breazeal <donb@codesourcery.com>
7458
7459 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7460 Deleted procedure.
7461 (explicit_fork_parent_follow): Deleted procedure.
7462 (explicit_fork_child_follow): Deleted procedure.
7463 (test_follow_fork): New procedure.
7464 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 7465 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
7466 procedure calls.
7467
0fc05997
YQ
74682014-06-17 Yao Qi <yao@codesourcery.com>
7469
7470 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7471 CP1252.
7472
70795c52
LM
74732014-06-17 Luis Machado <lgustavo@codesourcery.com>
7474
7475 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7476 Initialize ptr and S explicitly.
7477 (skip_type_update_when_not_use_rtti_test): Likewise.
7478
6be47f0c
KS
74792014-06-16 Keith Seitz <keiths@redhat.com>
7480
7481 PR mi/15863
7482 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7483 the inferior is started.
7484
d03de421
PA
74852014-06-16 Pedro Alves <palves@redhat.com>
7486
7487 * gdb.base/break-main-file-remove-fail.c: New file.
7488 * gdb.base/break-main-file-remove-fail.exp: New file.
7489 * gdb.base/break-unload-file.exp: Use build_executable instead of
7490 prepare_for_testing.
7491 (test_break): New parameter "initial_load". Handle it.
7492 (top level): Add initial_load cmdline/file axis.
7493
f9579b99
TT
74942014-06-12 Tom Tromey <tromey@redhat.com>
7495
7496 * gdb.base/completion.exp: Don't use directory name in test.
7497
3657956b
GB
74982014-06-09 Gary Benson <gbenson@redhat.com>
7499
7500 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7501 separate the always-available ANSI-standard signals from the
7502 signals that require checking.
7503 (main): Likewise.
7504 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7505 Likewise.
7506 (main): Likewise.
7507
4186eb54
KS
75082014-06-07 Keith Seitz <keiths@redhat.com>
7509
7510 Revert:
7511 PR c++/16253
7512 * gdb.cp/var-tag.cc: New file.
7513 * gdb.cp/var-tag.exp: New file.
7514 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7515 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7516 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7517 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7518
25326a28 75192014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
7520
7521 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7522
829155c9
PA
75232014-06-06 Pedro Alves <palves@redhat.com>
7524
7525 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7526 in target debug output instead of looking at RSP packets,
7527 disabling the test on any target that uses hardware stepping.
7528 Update comments.
7529
61c8d22e
PA
75302014-06-06 Pedro Alves <palves@redhat.com>
7531
7532 * gdb.base/break-unload-file.exp: Fix typo.
7533
d9a47287
YQ
75342014-06-06 Yao Qi <yao@codesourcery.com>
7535
7536 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7537 from "jit_function" to "^jit_function".
7538
e5e01dbf
YQ
75392014-06-06 Yao Qi <yao@codesourcery.com>
7540
7541 * gdb.base/async.c (foo): Add one statement.
7542 * gdb.base/async.exp: Get the next instruction address and
7543 match the output of "nexti" by instruction address. Match
7544 the hex address in the output of "finish".
7545
73ba372c
GB
75462014-06-06 Gary Benson <gbenson@redhat.com>
7547
7548 * gdb.base/call-signals.c: Remove preprocessor conditionals
7549 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7550 SIGSEGV and SIGTERM.
7551 * gdb.base/sigall.c: Likewise.
7552 * gdb.base/unwindonsignal.c: Likewise.
7553 * gdb.reverse/sigall-reverse.c: Likewise.
7554
831517df
YQ
75552014-06-06 Yao Qi <yao@codesourcery.com>
7556
7557 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7558 readable, skip the test.
7559
b8b91e98
YQ
75602014-06-06 Yao Qi <yao@codesourcery.com>
7561
7562 * gdb.threads/staticthreads.c (thread_function): Move the line
7563 setting breakpoint on forward.
7564 * gdb.threads/staticthreads.exp: Update comments.
7565
fb934770
LC
75662014-06-05 Ludovic Courtès <ludo@gnu.org>
7567
7568 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7569 "history-append! type error".
7570
6ef284bd
SM
75712014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7572
7573 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7574 erroneous dprintf expected input.
7575
a872e241
DE
75762014-06-04 Doug Evans <xdje42@gmail.com>
7577
7578 * gdb.guile/scm-generics.exp: Delete.
7579
16f691fb
DE
75802014-06-04 Doug Evans <xdje42@gmail.com>
7581
7582 * gdb.guile/scm-breakpoint.exp: Update.
7583 Add tests for breakpoint registration.
7584
012370f6
TT
75852014-06-04 Tom Tromey <tromey@redhat.com>
7586
7587 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7588 VLA-in-union.
7589 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7590 inner_vla_struct, vla_union types. Initialize objects of those
7591 types and compute their sizes.
7592
9f5a4cef
HZ
75932014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7594 Hui Zhu <hui@codesourcery.com>
7595
7596 * gdb.base/fileio.exp: Add test for shell not available as well as
7597 available.
7598 * gdb.base/fileio.c (test_system): Check for shell twice.
7599
90a45c4d
YQ
76002014-06-04 Yao Qi <yao@codesourcery.com>
7601
7602 * gdb.base/auto-connect-native-target.exp: Remove redundant
7603 space from the regexp pattern.
7604
70017e41
YQ
76052014-06-04 Yao Qi <yao@codesourcery.com>
7606
7607 * gdb.base/default.exp: Replace "child" with "native" in
7608 regexp pattern.
7609
883964a7
SC
76102014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7611
7612 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7613 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7614 * gdb.python/py-xmethods.py: Python script supporting the
7615 new testcase and tests.
7616
ef370185
JB
76172014-06-03 Joel Brobecker <brobecker@adacore.com>
7618 Pedro Alves <palves@redhat.com>
7619
7620 PR breakpoints/17000
7621 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7622 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7623
1e2ccb61
BM
76242014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7625
7626 * gdb.base/subst.exp: Add tests to verify partial path matching
7627 output.
7628
c6ec5ab2
PA
76292014-06-03 Pedro Alves <palves@redhat.com>
7630
7631 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7632 target that doesn't use software single-stepping.
7633
835c559f
PA
76342014-06-03 Pedro Alves <palves@redhat.com>
7635
7636 PR breakpoints/17000
7637 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7638 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7639
06eb1586
DE
76402014-06-02 Doug Evans <xdje42@gmail.com>
7641
7642 * gdb.guile/scm-parameter.exp: New file.
7643
e698b8c4
DE
76442014-06-02 Doug Evans <xdje42@gmail.com>
7645
7646 * gdb.guile/scm-cmd.c: New file.
7647 * gdb.guile/scm-cmd.exp: New file.
7648
ded03782
DE
76492014-06-02 Doug Evans <xdje42@gmail.com>
7650
7651 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7652 pretty-printer lookup.
7653 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7654 (make-pp_s-printer): Call it.
7655 (make-pretty-printer-from-dict): New function.
7656 (lookup-pretty-printer-maker-from-dict): New function.
7657 (*pretty-printer*): Simplify.
7658 (make-objfile-pp_s-printer): New function.
7659 (install-objfile-pretty-printers!): New function.
7660 (make-progspace-pp_s-printer): New function.
7661 (install-progspace-pretty-printers!): New function.
7662 * gdb.guile/scm-progspace.c: New file.
7663 * gdb.guile/scm-progspace.exp: New file.
7664
41fac0cf
PA
76652014-06-02 Pedro Alves <palves@redhat.com>
7666
7667 * gdb.base/dprintf-bp-same-addr.c: New file.
7668 * gdb.base/dprintf-bp-same-addr.exp: New file.
7669
96ae5695
EBM
76702014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7671
7672 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7673 * gdb.arch/powerpc-power.s: Likewise.
7674
da02b3a8
JB
76752014-06-02 Joel Brobecker <brobecker@adacore.com>
7676
7677 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7678
c72b2e7b
YQ
76792014-06-01 Yao Qi <yao@codesourcery.com>
7680
7681 * gdb.base/watchpoint.exp (test_watch_location): Check null
7682 pointer can be dereferenced. If not, do the test, otherwise
7683 skip it.
7684
53e8a631
AB
76852014-05-30 Andrew Burgess <aburgess@broadcom.com>
7686
7687 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7688 results.
7689 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7690
938f0e2f
AB
76912014-05-30 Andrew Burgess <aburgess@broadcom.com>
7692
7693 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7694 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7695 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7696 * gdb.arch/amd64-invalid-stack-top.c: New file.
7697 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7698
9ba6657a
PA
76992014-05-30 Pedro Alves <palves@redhat.com>
7700
7701 PR breakpoints/17000
7702 * gdb.base/sss-bp-on-user-bp.c: New file.
7703 * gdb.base/sss-bp-on-user-bp.exp: New file.
7704
522c09bf
DB
77052014-05-30 David Blaikie <dblaikie@gmail.com>
7706
7707 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7708 gnu_inline semantics via attribute.
7709 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7710 source explicitly specifies the required semantics.
7711
bf4ef81e
MR
77122014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7713
7714 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7715
329ea579
PA
77162014-05-29 Pedro Alves <palves@redhat.com>
7717 Tom Tromey <tromey@redhat.com>
7718
7719 * gdb.base/async-shell.exp: Don't enable target-async.
7720 * gdb.base/async.exp
7721 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7722 parameter. Adjust.
7723 (top level): Don't test with "target-async".
7724 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7725 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7726 * gdb.base/inferior-died.exp: Don't enable target-async.
7727 * gdb.base/interrupt-noterm.exp: Likewise.
7728 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7729 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7730 * gdb.mi/mi-nonstop.exp: Likewise.
7731 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7732 * gdb.mi/mi-nsintrall.exp: Likewise.
7733 * gdb.mi/mi-nsmoribund.exp: Likewise.
7734 * gdb.mi/mi-nsthrexec.exp: Likewise.
7735 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7736 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7737 * gdb.python/py-evsignal.exp: Don't enable target-async.
7738 * gdb.python/py-evthreads.exp: Likewise.
7739 * gdb.python/py-prompt.exp: Likewise.
7740 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7741 * gdb.server/solib-list.exp: Don't enable target-async.
7742 * gdb.threads/thread-specific-bp.exp: Likewise.
7743 * lib/mi-support.exp: Adjust to use mi-async.
7744
fd664c91
PA
77452014-05-29 Pedro Alves <palves@redhat.com>
7746
7747 PR gdb/13860
7748 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7749 reason, even in sync mode.
7750
251bde03
PA
77512014-05-29 Pedro Alves <palves@redhat.com>
7752 Hui Zhu <hui@codesourcery.com>
7753
7754 PR PR15693
7755 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7756 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7757 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7758 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7759
7f3c0343
JB
77602014-05-28 Joel Brobecker <brobecker@adacore.com>
7761
7762 * config/monitor.exp (gdb_target_monitor): Replace use of
7763 "set remotebaud" by "set serial baud".
7764
b2715b27
AW
77652014-05-26 Andy Wingo <wingo@igalia.com>
7766
7767 * gdb.guile/scm-breakpoint.exp:
7768 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7769 properties instead of gdb-object-properties.
7770
498a4489
YQ
77712014-05-26 Yao Qi <yao@codesourcery.com>
7772
7773 * gdb.server/no-thread-db.exp: Specify source file name
7774 explicitly when setting a breakpoint.
7775
589fdceb
MM
77762014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7777
7778 * gdb.btrace/vdso.c: New.
7779 * gdb.btrace/vdso.exp: New.
7780
e9089e05
MM
77812014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7782
7783 * gdb.base/gcore.exp (capture_command_output): Move ...
7784 * lib/gdb.exp (capture_command_output): ... here.
7785
67b5c0c1
MM
77862014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7787
7788 * gdb.btrace/data.exp: Test memory access during btrace replay.
7789
a2199296
SM
77902014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7791
7792 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7793
17b2616c
PA
77942014-05-21 Pedro Alves <palves@redhat.com>
7795
7796 PR gdb/13860
7797 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7798 (top level): Test that output related to execution commands is
7799 sent to the console with CLI commands, but not with MI commands.
7800 Test that breakpoint events are always mirrored to the console.
7801 Also expect the new source line to be output after a "next" in
7802 async mode too. Make it a pass/fail test.
7803 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7804 output.
7805 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7806
5166082f
PA
78072014-05-21 Pedro Alves <palves@redhat.com>
7808
7809 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7810 Use them to test variations of "list" after reaching a breakpoint.
7811 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7812 Test "list" with listsize 10 after reaching a breakpoint.
7813 * gdb.python/python.exp (decode_line current location line
7814 number): Adjust expected line number.
7815
2f25d70f
SM
78162014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7817
7818 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7819 behavior for $args, pass it directly to "run".
7820
ff604a67
MR
78212014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7822
7823 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7824 30000 to 65536.
7825
6a3cb8e8
PA
78262014-05-21 Pedro Alves <palves@redhat.com>
7827
7828 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7829 auto-connect-native-target off".
7830 * gdb.base/auto-connect-native-target.c: New file.
7831 * gdb.base/auto-connect-native-target.exp: New file.
7832
4ebfc96e
PA
78332014-05-21 Pedro Alves <palves@redhat.com>
7834
7835 * gdb.base/default.exp: Test "target native" instead of "target
7836 child".
7837
36d46afb
MW
78382014-05-21 Mark Wielaard <mjw@redhat.com>
7839
7840 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7841
5876f503
JK
78422014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7843
7844 Fix TLS access for -static -pthread.
7845 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7846 <HAVE_TLS> (thread_function, main): Initialize it.
7847 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7848 Add clean_restart.
7849 <$have_tls != "">: Check TLSVAR.
7850
0256a6ac
PA
78512014-05-21 Pedro Alves <palves@redhat.com>
7852
7853 * gdb.base/dcache-line-read-error.c: New.
7854 * gdb.base/dcache-line-read-error.exp: New.
7855
936d2992
PA
78562014-05-20 Pedro Alves <palves@redhat.com>
7857
7858 * gdb.base/compare-sections.c: New file.
7859 * gdb.base/compare-sections.exp: New file.
7860
802e8e6d
PA
78612014-05-20 Pedro Alves <palves@redhat.com>
7862
7863 * gdb.base/break-idempotent.c: New file.
7864 * gdb.base/break-idempotent.exp: New file.
7865
e59fa00f
MM
78662014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7867
7868 * gdb.btrace/nohist.exp: New.
7869
8b696e31
YQ
78702014-05-20 Yao Qi <yao@codesourcery.com>
7871
7872 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7873 gdb.reverse directory and gdb_reverse_timeout exists in board
7874 setting.
7875 * README: Document gdb_reverse_timeout.
7876
73c9764f
YQ
78772014-05-20 Yao Qi <yao@codesourcery.com>
7878
7879 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7880 'test_file_name'. Treat args as a string instead of a list.
7881 (gdb_init): Rename argument 'args' by 'test_file_name'.
7882
f1f4348a
JK
78832014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7884
7885 * gdb.arch/powerpc-power.exp: New file.
7886 * gdb.arch/powerpc-power.s: New file.
7887
0dbe70ce
DE
78882014-05-16 Doug Evans <dje@google.com>
7889
7890 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
7891 * gdb.base/completion.exp: Check that all expected files exist
7892 before doing file completion.
0dbe70ce 7893
8d551b02
DE
78942014-05-16 Doug Evans <dje@google.com>
7895
7896 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7897 Update.
7898 (do_syscall_tests_without_xml): Update.
7899
73eb7709
PA
79002014-05-16 Pedro Alves <palves@redhat.com>
7901
7902 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7903 instead of "unknown output after running".
7904
3fae92fc
YQ
79052014-05-16 Yao Qi <yao@codesourcery.com>
7906
7907 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7908 file1.txt from host at the end.
7909 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7910
c2b2ccc5
DE
79112014-05-15 Doug Evans <dje@google.com>
7912
7913 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7914 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7915 loading file. Add test for TU lookup.
7916
8c217a4b
SM
79172014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7918
7919 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7920 calling "-exec-arguments" or "set args" before running the
7921 inferior.
7922
3deb39c6
SM
79232014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7924
7925 * lib/mi-support.exp (mi_expect_stop): Expect message for
7926 inferiors that exit with non-zero exit code.
7927
71a79f8c
YQ
79282014-05-14 Yao Qi <yao@codesourcery.com>
7929
7930 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7931 match absolute path on remote host.
7932 (test_file_list_exec_source_files): Remove "/" from the
7933 pattern.
7934
f23fcd46
YQ
79352014-05-14 Yao Qi <yao@codesourcery.com>
7936
7937 * boards/local-remote-host-notty.exp (${board}_file): New
7938 proc.
7939
9404b58f
KM
79402014-05-07 Kyle McMartin <kyle@redhat.com>
7941
7942 Pushed by Joel Brobecker <brobecker@adacore.com>.
7943 * gdb.arch/aarch64-atomic-inst.c: New file.
7944 * gdb.arch/aarch64-atomic-inst.exp: New file.
7945
5e45f04c
YQ
79462014-05-07 Yao Qi <yao@codesourcery.com>
7947
7948 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7949 in current context" too.
7950
c888a17d
KS
79512014-05-05 Keith Seitz <keiths@redhat.com>
7952
7953 * gdb.linespec/ls-dollar.exp: Add test for linespec
7954 file:convenience_variable.
7955
290a839c
YQ
79562014-05-05 Yao Qi <yao@codesourcery.com>
7957
7958 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7959 traceframes into tfile and ctf trace files. Read data from
7960 trace file and test collected data.
7961 (gdb_collect_locals_test): Likewise.
7962 (gdb_unavailable_registers_test): Likewise.
7963 (gdb_unavailable_floats): Likewise.
7964 (gdb_collect_globals_test): Likewise.
7965 (top-level): Append "ctf" to trace_file_targets if GDB
7966 supports.
7967
b5262cd0
YQ
79682014-05-05 Yao Qi <yao@codesourcery.com>
7969
7970 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7971 code to ...
7972 (gdb_collect_args_test_1): ... it. New proc.
7973 (gdb_collect_locals_test): Move some code to ...
7974 (gdb_collect_locals_test_1): ... it. New proc.
7975 (gdb_unavailable_registers_test): Move some code to ...
7976 (gdb_unavailable_registers_test_1): ... it. New proc.
7977 (gdb_unavailable_floats): Move some code to ...
7978 (gdb_unavailable_floats_1): ... it. New proc.
7979
30a1e6cc
SDJ
79802014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7981
7982 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7983 probes to test for bitness recognition.
7984 * gdb.arch/amd64-stap-optional-prefix.exp
7985 (test_probe_value_without_reg): New procedure.
7986 Add code to test for different kinds of bitness.
7987
f33da99a
SDJ
79882014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7989
7990 PR breakpoints/16889
7991 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7992 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7993
5b80f00d
PA
79942014-05-01 Pedro Alves <palves@redhat.com>
7995
7996 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7997 gdb_file_cmd if no file is specified.
7998 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7999 last_loaded_file to set the remote exec-file.
8000
f8c2a73c
PA
80012014-05-01 Pedro Alves <palves@redhat.com>
8002
8003 * boards/local-remote-host.exp: New file.
8004
be6e8ac7
PA
80052014-05-01 Pedro Alves <palves@redhat.com>
8006
8007 * boards/local-remote-host.exp: Rename to ...
8008 * boards/local-remote-host-notty.exp: ... this.
8009
cac0dc8f
JB
80102014-04-28 Joel Brobecker <brobecker@adacore.com>
8011
8012 * gdb.ada/dyn_arrayidx: New testcase.
8013
9730e6cc
YQ
80142014-04-26 Yao Qi <yao@codesourcery.com>
8015
8016 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
8017 and compute the length of function main. Save it in
8018 $main_length.
8019 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
8020 (top-level): Use gdb_compile to compile objects into
8021 executable and restart GDB. Remove invocation to
8022 prepare_for_testing.
8023
7ae1a6a6
PA
80242014-04-25 Simon Marchi <simon.marchi@ericsson.com>
8025 Pedro Alves <palves@redhat.com>
8026
8027 PR server/16255
8028 * gdb.multi/multi-attach.c: New file.
8029 * gdb.multi/multi-attach.exp: New file.
8030
4082afcc
PA
80312014-04-25 Pedro Alves <palves@redhat.com>
8032
8033 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
8034 user.
8035 (top level): Test that "set remote conditional-breakpoints-packet
8036 off" works as intended.
8037 * gdb.base/dprintf.exp: Test that "set remote
8038 breakpoint-commands-packet off" works as intended.
8039 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
8040 New function.
8041 (top level): Call it.
8042 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
8043 remote fast-tracepoints-packet off" works as intended.
8044 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
8045 * lib/gdb.exp (gdb_is_target_remote): ... here.
8046
2abc3f8d
DB
80472014-04-24 David Blaikie <dblaikie@gmail.com>
8048
8049 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
8050 ensure clang would not discard them.
8051 * gdb.base/gdbvars.c: Ditto.
8052 * gdb.base/memattr.c: Ditto.
8053 * gdb.base/whatis.c: Ditto.
8054 * gdb.python/py-prettyprint.c: Ditto.
8055 * gdb.trace/actions.c: Ditto.
8056 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
8057 ensure clang would not discard it.
8058
bfd39632
DB
80592014-04-24 David Blaikie <dblaikie@gmail.com>
8060
8061 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
8062 clang to emit the full definition of type required by the test
8063 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
8064
22842ff6
DB
80652014-04-24 David Blaikie <dblaikie@gmail.com>
8066
8067 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
8068 coax Clang into emitting the definition of the type.
8069 * gdb.cp/pr10728-x.h (y): Ditto.
8070 * gdb.cp/pr10728-y.cc (y): Ditto.
8071
c2e827ad
DB
80722014-04-24 David Blaikie <dblaikie@gmail.com>
8073
8074 * gdb.base/label.exp: XFAIL label related tests under Clang.
8075 * gdb.cp/cplabel.exp: Ditto.
8076 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
8077 under Clang those using labels.
8078
4c2d33e7
YQ
80792014-04-25 Yao Qi <yao@codesourcery.com>
8080
8081 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
8082 double_label.
8083 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
8084 partial_label and double_label.
8085
56083b99
DB
80862014-04-24 David Blaikie <dblaikie@gmail.com>
8087
8088 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
8089
25d4e99d
DB
80902014-04-24 David Blaikie <dblaikie@gmail.com>
8091
8092 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
8093 of the function to work across GCC and Clang.
8094 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
8095 pointer types (const void ** const V void **).
8096
01f9f808
MS
80972014-04-24 Michael Sturm <michael.sturm@mintel.com>
8098 Walfred Tedeschi <walfred.tedeschi@intel.com>
8099
8100 * Makefile.in (EXECUTABLES): Added i386-avx512.
8101 * gdb.arch/i386-avx512.c: New file.
8102 * gdb.arch/i386-avx512.exp: Likewise.
8103
4b48d439
KS
81042014-04-23 Keith Seitz <keiths@redhat.com>
8105
8106 * lib/mi-support.exp (mi_list_breakpoints): Delete.
8107 (mi_make_breakpoint_table): New procedure.
8108 (mi_create_breakpoint): Use mi_make_breakpoint
8109 and return the result.
8110 (mi_make_breakpoint): New procedure.
8111 (mi_build_kv_pairs): New procedure.
8112
8113 * gdb.mi/mi-break.exp: Remove unused globals,
8114 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
8115 All callers updated.
8116 * gdb.mi/mi-dprintf.exp: Use variable to track command
8117 number.
8118 Update all callers of mi_create_breakpoint and use
8119 mi_make_breakpoint_table.
8120 Remove any unused global variables.
8121 * gdb.mi/mi-nonstop.exp: Likewise.
8122 * gdb.mi/mi-nsintrall.exp: Likewise.
8123 * gdb.mi/mi-nsmoribund.exp: Likewise.
8124 * gdb.mi/mi-nsthrexec.exp: Likewise.
8125 * gdb.mi/mi-reverse.exp: Likewise.
8126 * gdb.mi/mi-simplerun.exp: Likewise.
8127 * gdb.mi/mi-stepn.exp: Likewise.
8128 * gdb.mi/mi-syn-frame.exp: Likewise.
8129 * gdb.mi/mi-until.exp: Likewise.
8130 * gdb.mi/mi-var-cp.exp: Likewise.
8131 * gdb.mi/mi-var-display.exp: Likewise.
8132 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
8133 * gdb.mi/mi2-var-child.exp: Likewise.
8134 * gdb.mi/mi-vla-c99.exp: Likewise.
8135 * lib/mi-support.exp: Likewise.
8136
8137 From Ian Lance Taylor <iant@cygnus.com>:
8138 * lib/gdb.exp (parse_args): New procedure.
8139
08351840
PA
81402014-04-23 Pedro Alves <palves@redhat.com>
8141
8142 * gdb.base/break-unload-file.c: New file.
8143 * gdb.base/break-unload-file.exp: New file.
8144 * gdb.base/sym-file-lib.c (baz): New function.
8145 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
8146 field.
8147 (load): Store the segment's mapped size.
8148 (unload): New function.
8149 (unload_shlib): New function.
8150 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
8151 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
8152 set a breakpoint at baz, and call it.
8153 * gdb.base/sym-file.exp: New tests for stale breakpoint
8154 instructions.
8155
076855f9
PA
81562014-04-23 Pedro Alves <palves@redhat.com>
8157
8158 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
8159 * gdb.base/hbreak-in-shr-unsupported.c: New file.
8160 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
8161 * gdb.base/hbreak-unmapped.c: New file.
8162 * gdb.base/hbreak-unmapped.exp: New file.
8163 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
8164 * lib/gdb.exp (gdb_is_target_remote): ... here.
8165
483805cf
PA
81662014-04-22 Pedro Alves <palves@redhat.com>
8167
8168 * gdb.base/consecutive-step-over.c: New file.
8169 * gdb.base/consecutive-step-over.exp: New file.
8170
06d97543
PA
81712014-04-22 Pedro Alves <palves@redhat.com>
8172
8173 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
8174 instead of send_gdb/gdb_expect.
8175
b4429ea2
YQ
81762014-04-22 Yao Qi <yao@codesourcery.com>
8177
8178 * lib/trace-support.exp (generate_tracefile): New procedure.
8179 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
8180 return 0.
8181 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
8182 if generate_tracefile returns 1.
8183
51d48146
PA
81842014-04-18 Tom Tromey <palves@redhat.com>
8185 Pedro alves <tromey@redhat.com>
8186
8187 PR backtrace/15558
8188 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
8189 with a backtrace limit.
8190 * gdb.python/py-frame-inline.exp: Test running to an inline
8191 function with a backtrace limit, and printing the newest frame.
8192 * gdb.python/py-frame-inline.c (main): Call f.
8193
bd1dce5f
MS
81942014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8195
8196 * gdb.java/jnpe.exp: Drop srcdir from untested path.
8197
40d1a503
MS
81982014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8199
8200 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
8201 Drop prefix from unsupported source file path.
8202
389b98f7
YQ
82032014-04-17 Yao Qi <yao@codesourcery.com>
8204
8205 * lib/gdb.exp (with_target_charset): New proc.
8206 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
8207 with_target_charset.
8208 (test_print_strings): Likewise.
8209 (test_repeat_bytes): Likewise.
8210 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
8211 for some tests.
8212
22869d73
KS
82132014-04-16 Keith Seitz <keiths@redhat.com>
8214
8215 PR gdb/15827
8216 * gdb.dwarf2/corrupt.c: New file.
8217 * gdb.dwarf2/corrupt.exp: New file.
8218
c4f87ca6
KS
82192014-04-16 Keith Seitz <keiths@redhat.com>
8220
8221 PR c++/16597
8222 * gdb.cp/namelessclass.cc: New file.
8223 * gdb.cp/namelessclass.exp: New file.
8224 * gdb.cp/namelessclass.S: New file.
8225
ab19de87
DE
82262014-04-16 Doug Evans <dje@google.com>
8227
8228 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
8229 Add comment.
8230 (gdbserver_default_get_comm_port): New function.
8231 (gdbserver_start): Check if board file provided
8232 "gdbserver,get_comm_port" and use it if so.
8233 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
8234 (gdb,socketport): Set to "stdio".
8235 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
8236 (stdio_gdbserver_template): Delete.
8237 (${board}_get_remote_address): Update.
8238 (${board}_build_remote_cmd): Delete.
8239 (${board}_get_comm_port): New function.
8240 (${board}_spawn): Update.
8241 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
8242 Delete.
8243 (${board}_get_remote_address): Update.
8244 (${board}_get_comm_port): New function.
8245
fc98a809
AB
82462014-04-16 Andrew Burgess <aburgess@broadcom.com>
8247
8248 * gdb.base/memattr.exp: Improve regexps to handle memory regions
8249 appearing in any order.
8250
87fd9e6e
DE
82512014-04-15 Doug Evans <dje@google.com>
8252
8253 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
8254 uninitialized value of "description".
8255
099fc3ea
KS
82562014-04-15 Keith Seitz <keiths@redhat.com>
8257
8258 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
8259 Remove unused globals.
8260 (test_running_the_program): Likewise.
8261 (test_controlled_execution): Likewise.
8262 (test_controlling_breakpoints): Likewise.
8263 (test_program_termination): Likewise.
8264
5da151d4
KS
82652014-04-15 Keith Seitz <keiths@redhat.com>
8266
8267 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
8268 unused globals.
8269 (test_rbreak_creation_and_listing): Likewise.
8270 (test_ignore_count): Likewise.
8271 (test_error): Likewise.
8272
35e5d2f0
PA
82732014-04-15 Pedro Alves <palves@redhat.com>
8274
8275 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
8276 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
8277 sym-file-loader.c.
8278 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8279 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8280 to sym-file-loader.c.
8281 (struct library): Forward declare.
8282 (load_shlib, lookup_function): Change prototypes.
8283 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8284 (translate_offset): Remove declarations.
8285 (get_text_addr): New declaration.
8286 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
8287 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
8288 sym-file-loader.h.
8289 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8290 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8291 here from sym-file-loader.h.
8292 (struct library): New structure.
8293 (load_shlib, lookup_function): Change prototypes and adjust to
8294 work with a struct library.
8295 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8296 (translate_offset): Make static.
8297 (get_text_addr): New function.
8298 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
8299
eb4c1710
PA
83002014-04-15 Pedro Alves <palves@redhat.com>
8301
8302 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
8303
2d1baf52
PA
83042014-04-15 Pedro Alves <palves@redhat.com>
8305
8306 * gdb.base/sym-file-loader.c: Include <limits.h>.
8307 (SELF_LINK): New define.
8308 (get_origin): New function.
8309 (load_shlib): Use it.
8310 * gdb.base/sym-file.exp: Don't early return if the target is
8311 remote. Use runto_main, and issue fail is that fails. Use
8312 gdb_load_shlibs.
8313 (shlib_name): Delete.
8314 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
8315
7dd6df01
PA
83162014-04-15 Pedro Alves <palves@redhat.com>
8317
8318 * gdb.base/sym-file.exp: Remove regex characters from test
8319 message. Don't refer to breakpoint numbers in test messages.
8320
b50c8614
KS
83212014-04-14 Keith Seitz <keiths@redhat.com>
8322
8323 PR c++/16253
8324 * gdb.cp/var-tag.cc: New file.
8325 * gdb.cp/var-tag.exp: New file.
8326 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8327 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8328 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8329 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8330
3d567982
TT
83312014-04-14 Tom Tromey <tromey@redhat.com>
8332
8333 * gdb.cp/classes.exp (test_enums): Handle underlying type.
8334 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
8335 type.
8336 * gdb.cp/enum-class.exp: New file.
8337 * gdb.cp/enum-class.cc: New file.
8338
0626fc76
TT
83392014-04-14 Tom Tromey <tromey@redhat.com>
8340
8341 * gdb.dwarf2/enum-type.exp: New file.
8342
dca325b3
SA
83432014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8344
8345 * gdb.mi/mi-vla-c99.exp: New file.
8346 * gdb.mi/vla.c: New file.
8347
5854b38a
SA
83482014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8349
8350 * gdb.base/vla-datatypes.c: New file.
8351 * gdb.base/vla-datatypes.exp: New file.
8352
463bb957
SA
83532014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8354
8355 * gdb.base/vla-ptr.c: New file.
8356 * gdb.base/vla-ptr.exp: New file.
8357
3dd170be
SA
83582014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8359
8360 * gdb.dwarf2/count.exp: New file.
8361
5ecaaa66
SA
83622014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8363
8364 * gdb.base/vla-sideeffect.c: New file.
8365 * gdb.base/vla-sideeffect.exp: New file.
8366
41f1ada5
DB
83672014-04-14 David Blaikie <dblaikie@gmail.com>
8368
8369 * gdb.mi/non-stop.c: Add return value for non-void function return
8370 statement.
8371 * gdb.threads/staticthreads.c: Ditto.
8372
0be03e84
DE
83732014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8374 Doug Evans <xdje42@gmail.com>
8375
8376 * gdb.guile/scm-value.c: Improve test case.
8377 * gdb.guile/scm-value.exp: Add new test.
8378
f180a1fb
DB
83792014-04-11 David Blaikie <dblaikie@gmail.com>
8380
8381 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8382 override Clang's default.
8383
6b662e19
JB
83842014-04-11 Joel Brobecker <brobecker@adacore.com>
8385
8386 Revert the following changes (regressions):
8387
8388 * gdb.base/vla-sideeffect.c: New file.
8389 * gdb.base/vla-sideeffect.exp: New file.
8390
8391 * gdb.dwarf2/count.exp: New file.
8392
8393 * gdb.base/vla-multi.c: New file.
8394 * gdb.base/vla-multi.exp: New file.
8395
8396 * gdb.base/vla-ptr.c: New file.
8397 * gdb.base/vla-ptr.exp: New file.
8398
8399 * gdb.base/vla-datatypes.c: New file.
8400 * gdb.base/vla-datatypes.exp: New file.
8401
8402 * gdb.mi/mi-vla-c99.exp: New file.
8403 * gdb.mi/vla.c: New file.
8404
245a5f0b
KS
84052014-04-11 Keith Seitz <keiths@redhat.com>
8406
8407 PR c++/16675
8408 * gdb.cp/cpsizeof.exp: New file.
8409 * gdb.cp/cpsizeof.cc: New file.
8410
58a84dcf
SA
84112014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8412
191a8a90
JB
8413 * gdb.mi/mi-vla-c99.exp: New file.
8414 * gdb.mi/vla.c: New file.
58a84dcf 8415
c8655f75
SA
84162014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8417
8418 * gdb.base/vla-datatypes.c: New file.
8419 * gdb.base/vla-datatypes.exp: New file.
8420
024e13b4
SA
84212014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8422
8423 * gdb.base/vla-ptr.c: New file.
8424 * gdb.base/vla-ptr.exp: New file.
8425
1a237e0e
SA
84262014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8427
8428 * gdb.base/vla-multi.c: New file.
8429 * gdb.base/vla-multi.exp: New file.
8430
504f3432
SA
84312014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8432
8433 * gdb.dwarf2/count.exp: New file.
8434
3bce8237
SA
84352014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8436
191a8a90
JB
8437 * gdb.base/vla-sideeffect.c: New file.
8438 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 8439
322f9c21
YQ
84402014-04-11 Yao Qi <yao@codesourcery.com>
8441
8442 * gdb.base/completion.exp: Check file exists before running tests
8443 on file completion.
8444
d708bcd1
PA
84452014-04-10 Pedro Alves <palves@redhat.com>
8446
8447 * gdb.base/cond-eval-mode.c: New file.
8448 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8449 prepare_for_testing to build the new file. Check result of
8450 runto_main.
8451 (test_break, test_watch): New procedures.
8452 (top level): Use them.
8453
ae1d2761
PM
84542014-04-08 Pierre Muller <muller@sourceware.org>
8455
8456 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8457 Ctrl-V use for mingw hosts.
8458
7af389b8
SC
84592014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8460
8461 * gdb.python/py-value.c: Improve test case.
8462 * gdb.python/py-value.exp: Add new test.
8463
5e703181
DE
84642014-04-07 David Blaikie <dblaikie@gmail.com>
8465
8466 * lib/compiler.c: Identify the clang compiler.
8467 * lib/compiler.cc: Ditto.
8468
9810b410
YQ
84692014-04-03 Yao Qi <yao@codesourcery.com>
8470
8471 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8472
98d1b8dc
AB
84732014-04-01 Anton Blanchard <anton@samba.org>
8474
8475 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8476 messages unique.
8477
3114cea1
AB
84782014-04-01 Anton Blanchard <anton@samba.org>
8479
8480 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8481 prepare_for_testing.
8482
62f7182c
AB
84832014-04-01 Anton Blanchard <anton@samba.org>
8484
8485 * gdb.arch/ppc64-atomic-inst.c: Remove.
8486 * gdb.arch/ppc64-atomic-inst.S: New file.
8487 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8488
770e7fc7
DE
84892014-03-31 Doug Evans <dje@google.com>
8490
8491 * gdb.base/print-symbol-loading-lib.c: New file.
8492 * gdb.base/print-symbol-loading-main.c: New file.
8493 * gdb.base/print-symbol-loading.exp: New file.
8494
46e2bafa
YQ
84952014-03-31 Yao Qi <yao@codesourcery.com>
8496
8497 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8498
8776cfe9
JB
84992014-03-28 Joel Brobecker <brobecker@adacore.com>
8500
8501 * gdb.ada/mi_dyn_arr: New testcase.
8502
5d1ef361
DE
85032014-03-27 Doug Evans <dje@google.com>
8504
8505 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8506
b5bee914
YQ
85072014-03-27 Yao Qi <yao@codesourcery.com>
8508
8509 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8510 if target is nios2-*-*.
8511
0d4d0e77
YQ
85122014-03-26 Yao Qi <yao@codesourcery.com>
8513
8514 * lib/gdb.exp (readline_is_used): New proc.
8515 * gdb.base/completion.exp: Move tests on command complete up.
8516 Skip the rest of tests if readline is not used.
8517 * gdb.ada/complete.exp: Skp the test if readline is not
8518 used.
8519 * gdb.base/filesym.exp: Likewise.
8520 * gdb.base/macscp.exp: Likewise.
8521 * gdb.base/readline-ask.exp: Likewise.
8522 * gdb.base/readline.exp: Likewise.
8523 * gdb.python/py-cmd.exp: Likewise.
8524 * gdb.trace/tfile.exp: Likewise.
8525
29361eee
YQ
85262014-03-26 Yao Qi <yao@codesourcery.com>
8527
8528 * gdb.base/macscp.exp: Fix code format issues.
8529
bc9a5525
UW
85302014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8531
8532 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8533 * gdb.asm/powerpc64le.inc: New file.
8534
d3839ede
PA
85352014-03-25 Pedro Alves <palves@redhat.com>
8536 Doug Evans <dje@google.com>
8537
8538 * gdb.base/source-execution.c: New file.
8539 * gdb.base/source-execution.exp: New file.
8540 * gdb.base/source-execution.gdb: New file.
8541
01672a57
DE
85422014-03-24 Doug Evans <dje@google.com>
8543
8544 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8545 using fission.
8546
88bbeca9
HZ
85472014-03-24 Hui Zhu <hui@codesourcery.com>
8548 Pedro Alves <palves@redhat.com>
8549
8550 PR breakpoints/16101
8551 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8552 test pass/fail messages. Detect missing support for dprintf when
8553 breakpoints are actually inserted.
8554 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8555 breakpoints are actually inserted.
8556 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8557 fails.
8558
d2348791
JK
85592014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8560
8561 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8562
feef67ab
DE
85632014-03-22 Doug Evans <xdje42@gmail.com>
8564
8565 * gdb.python/python.exp (python not supported): Verify multi-line
8566 python command issues an error.
25d743f9 8567 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 8568 guile command issues an error.
feef67ab 8569
ecebef6a
MR
85702014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8571
8572 * gdb.threads/thread-specific.exp: Handle the lack of usable
8573 $this_breakpoint and $this_thread.
8574
ccdd1909
HZ
85752014-03-21 Hui Zhu <hui@codesourcery.com>
8576
8577 * gdb.base/attach.exp (do_command_attach_tests): New.
8578
beb460e8
PA
85792014-03-20 Tom Tromey <tromey@redhat.com>
8580 Pedro Alves <palves@redhat.com>
8581
8582 PR cli/15718
8583 * gdb.base/condbreak-call-false.c: New file.
8584 * gdb.base/condbreak-call-false.exp: New file.
8585
40acf43a
PA
85862014-03-20 Pedro Alves <palves@redhat.com>
8587
8588 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8589 Delete.
8590 (block_signals, unblock_signals): Delete.
8591 (child_function_2, main): Remove references to deleted variable
8592 and functions.
8593
9f5e1e02
PA
85942014-03-20 Pedro Alves <palves@redhat.com>
8595
8596 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8597 Use pthread_kill to signal thread 2.
8598 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8599 Adjust to make the test send itself a signal rather than using the
8600 host's "kill" command.
8601
99619bea
PA
86022014-03-20 Pedro Alves <palves@redhat.com>
8603
8604 * gdb.threads/multiple-step-overs.c: New file.
8605 * gdb.threads/multiple-step-overs.exp: New file.
8606 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8607 Adjust expected infrun debug output.
8608
2adfaa28
PA
86092014-03-20 Pedro Alves <palves@redhat.com>
8610
8611 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8612 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8613
31e77af2
PA
86142014-03-20 Pedro Alves <palves@redhat.com>
8615
8616 PR breakpoints/7143
8617 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8618 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8619 of gdb_test_multiple.
8620 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8621 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8622
b9f437de
PA
86232014-03-20 Pedro Alves <palves@redhat.com>
8624
8625 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8626 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8627
05adc73e
PA
86282014-03-19 Pedro Alves <palves@redhat.com>
8629
8630 * gdb.base/async.exp: Remove early return.
8631
6048b950
PA
86322014-03-19 Pedro Alves <palves@redhat.com>
8633
8634 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8635
8bcfb00a
PA
86362014-03-19 Pedro Alves <palves@redhat.com>
8637
8638 * gdb.base/async.exp (test_background): Expect \r\n after
8639 "completed." in the fail pattern.
8640
884e37dc
PA
86412014-03-19 Pedro Alves <palves@redhat.com>
8642
8643 * gdb.base/async.exp (test_background): New procedure.
8644 Use it for all background execution command tests.
8645
148e57e2
PA
86462014-03-19 Pedro Alves <palves@redhat.com>
8647
8648 * gdb.base/async.exp: Use prepare_for_testing.
8649
f48088c7
PA
86502014-03-19 Pedro Alves <palves@redhat.com>
8651
8652 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8653 the same line.
8654
e2f6c966
PA
86552014-03-19 Pedro Alves <palves@redhat.com>
8656
8657 * gdb.base/async.c (main): Add "jump here" and "until here" line
8658 marker comments.
8659 * gdb.base/async.exp (jump_here): New global.
8660 (jump& test): Use it.
8661 (until_here): New global.
8662 (until& test): Use it.
8663
c30568d4
PA
86642014-03-19 Pedro Alves <palves@redhat.com>
8665
8666 * gdb.base/async.exp: Don't frob gdb_protocol.
8667
0172b6a7
DE
86682014-03-18 Doug Evans <xdje42@gmail.com>
8669
8670 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8671 Fix spelling of exec-done-display.
8672
06c868a8
JK
86732014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8674
8675 PR gdb/15358
8676 * gdb.base/gdb-sigterm.c: New file.
8677 * gdb.base/gdb-sigterm.exp: New file.
8678
0c7e1a46
PA
86792014-03-18 Pedro Alves <palves@redhat.com>
8680
8681 PR gdb/13860
8682 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8683 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8684 solib-event.
8685
f7c77d93
JB
86862014-03-17 Joel Brobecker <brobecker@adacore.com>
8687
8688 * gdb.ada/pckd_arr_ren: New testcase.
8689
5a1e8c7a
DE
86902014-03-13 Doug Evans <xdje42@gmail.com>
8691
8692 PR guile/16612
8693 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8694 collect after discarding symbols.
8695
350e1a76
DE
86962014-03-13 Ludovic Courtès <ludo@gnu.org>
8697 Doug Evans <xdje42@gmail.com>
8698
8699 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8700 to history survives a gc.
8701
a69900ae
PA
87022014-03-13 Pedro Alves <palves@redhat.com>
8703
8704 * gdb.base/default.exp: Don't test "target procfs".
8705
5db9f0bd
PA
87062014-03-13 Pedro Alves <palves@redhat.com>
8707
8708 * gdb.base/default.exp: Update "target child" and "target procfs"
8709 tests to not expect "Unix".
8710
b3ccfe11
TT
87112014-03-12 Tom Tromey <tromey@redhat.com>
8712
8713 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8714 New procs. Add target-async tests.
8715 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8716 Add target-async tests.
8717
646f4417
AA
87182014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8719
8720 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8721 'func_start' and 'func_end' for the beginning and end of the
8722 function code, respectively.
8723 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8724 'func_end' instead of 'func' and 'main'.
8725
288c211f
AA
87262014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8727
8728 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8729 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8730 generate the debug info assembler source.
8731
e0c0f156
AA
87322014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8733
8734 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8735 * gdb.dwarf2/arr-subrange.exp: Likewise.
8736 * gdb.dwarf2/dwz.exp: Likewise.
8737 * gdb.dwarf2/method-ptr.exp: Likewise.
8738 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8739 * gdb.dwarf2/subrange.exp: Likewise.
8740 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8741 * gdb.dwarf2/implptrpiece.exp: Likewise.
8742 * gdb.dwarf2/nostaticblock.exp: Likewise.
8743
0e5c4555
AA
87442014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8745
8746 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8747 directory to absolute path name arguments.
8748
5ec18f2b
JG
87492014-03-10 Joel Brobecker <brobecker@adacore.com>
8750
8751 * gdb.ada/tagged_access: New testcase.
8752
847fc4f2
MM
87532014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8754
8755 * gdb.btrace/data.exp: Update expected output.
8756
cc3da688
YQ
87572014-03-06 Yao Qi <yao@codesourcery.com>
8758
8759 * gdb.trace/pr16508.exp: New file.
8760
0f26cec1
PA
87612014-03-05 Pedro Alves <palves@redhat.com>
8762
8763 PR gdb/16575
8764 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8765 procedure.
8766 (top level): Adjust to use it. Add tests that exercise breakpoint
8767 interaction with the code-cache.
8768
7a5a839f
LC
87692014-02-26 Ludovic Courtès <ludo@gnu.org>
8770
8771 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8772 test for 'history-append!'.
8773
31aa7e4e
JB
87742014-02-26 Joel Brobecker <brobecker@adacore.com>
8775
8776 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8777 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8778 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8779 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8780 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8781 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8782
1b588015
JB
87832014-02-26 Joel Brobecker <brobecker@adacore.com>
8784
8785 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8786 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8787 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8788
55426c9d
JB
87892014-02-26 Joel Brobecker <brobecker@adacore.com>
8790
8791 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8792
dc53a7ad
JB
87932014-02-26 Joel Brobecker <brobecker@adacore.com>
8794
8795 * gdb.dwarf2/arr-stride.c: New file.
8796 * gdb.dwarf2/arr-stride.exp: New file.
8797
12ab52e9
PA
87982014-02-26 Pedro Alves <palves@redhat.com>
8799
8800 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8801 that won't ever trigger. Make sure that GDB reports the correct
8802 breakpoint that caused the stop.
8803
849c862e
JK
88042014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8805
8806 PR gdb/16626
8807 * gdb.base/auto-load-script: New file.
8808 * gdb.base/auto-load.c: New file.
8809 * gdb.base/auto-load.exp: New file.
8810
71b7d793
JK
8811 PR gdb/16626
8812 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8813
e2f0d509
JK
88142014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8815
8816 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8817 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8818
50cc37c8
DE
88192014-02-24 Doug Evans <dje@google.com>
8820
8821 * lib/gdb.exp (run_on_host): Log error output if program fails.
8822
ea4758f2
PA
88232014-02-21 Pedro Alves <palves@redhat.com>
8824
8825 * gdb.threads/step-after-sr-lock.c: Rename to ...
8826 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8827 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8828 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8829 ... this.
8830
d7b30f67
SDJ
88312014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8832
8833 PR tdep/16397
8834 * gdb.arch/amd64-stap-special-operands.exp: New file.
8835 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8836 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8837 * gdb.arch/amd64-stap-triplet.S: Likewise.
8838 * gdb.arch/amd64-stap-triplet.c: Likewise.
8839
83deb43f
JB
88402014-02-20 Joel Brobecker <brobecker@adacore.com>
8841
8842 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8843 in .section pseudo-op.
8844
adde2bff
DE
88452014-02-20 lin zuojian <manjian2006@gmail.com>
8846 Joel Brobecker <brobecker@adacore.com>
8847 Doug Evans <xdje42@gmail.com>
8848
8849 PR symtab/16581
8850 * gdb.dwarf2/dw2-icycle.S: New file.
8851 * gdb.dwarf2/dw2-icycle.c: New file.
8852 * gdb.dwarf2/dw2-icycle.exp: New file.
8853
f7bd0f78
SC
88542014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8855
8856 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8857 operations on gdb.Value objects.
8858 * gdb.python/py-value-cc.exp: Add new test to test operations on
8859 gdb.Value objects.
8860
c17ef0d5
DE
88612014-02-18 Doug Evans <dje@google.com>
8862
8863 * Makefile.in (TESTS): New variable.
8864 (expanded_tests, expanded_tests_or_none): New variables
8865 (check-single): Pass $(expanded_tests_or_none) to runtest.
8866 (check-parallel): Only run tests in $(TESTS) if non-empty.
8867 (check/no-matching-tests-found): New rule.
8868 * README: Document TESTS makefile variable.
8869
5dd3176f
DE
88702014-02-18 Doug Evans <dje@google.com>
8871
8872 * Makefile.in (check-parallel): rm -rf outputs temp.
8873
0b10be4f
JK
88742014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8875
8876 Fix "ERROR: no fileid for" in the testsuite.
8877 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8878
85f224e7
DE
88792014-02-12 Doug Evans <dje@google.com>
8880
8881 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8882 (MISCELLANEOUS): New variable.
8883 (clean): rm -rf $(MISCELLANEOUS).
8884 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8885 dwp live in the same directory as symlinks, with each symlink pointed
8886 to a differently named file in a different directory.
8887
149b30ff
DE
88882014-02-11 Doug Evans <dje@google.com>
8889
8890 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8891 of Tcl file commands.
8892
1dfdac32
MK
88932014-02-10 Mark Kettenis <kettenis@gnu.org>
8894
8895 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8896 "kill -SIGUSR1 -1".
8897
aa4fb036
JB
88982014-02-10 Joel Brobecker <brobecker@adacore.com>
8899
8900 * gdb.ada/tick_length_array_enum_idx: New testcase.
8901
ed3ef339
DE
89022014-02-10 Doug Evans <xdje42@gmail.com>
8903
8904 * configure.ac (AC_OUTPUT): Add gdb.guile.
8905 * configure: Regenerate.
8906 * lib/gdb-guile.exp: New file.
8907 * lib/gdb.exp (get_target_charset): New function.
8908 * gdb.base/help.exp: Update expected output from "apropos apropos".
8909 * gdb.guile/Makefile.in: New file.
8910 * gdb.guile/guile.exp: New file.
8911 * gdb.guile/scm-arch.c: New file.
8912 * gdb.guile/scm-arch.exp: New file.
8913 * gdb.guile/scm-block.c: New file.
8914 * gdb.guile/scm-block.exp: New file.
8915 * gdb.guile/scm-breakpoint.c: New file.
8916 * gdb.guile/scm-breakpoint.exp: New file.
8917 * gdb.guile/scm-disasm.c: New file.
8918 * gdb.guile/scm-disasm.exp: New file.
8919 * gdb.guile/scm-equal.c: New file.
8920 * gdb.guile/scm-equal.exp: New file.
8921 * gdb.guile/scm-error.exp: New file.
8922 * gdb.guile/scm-error.scm: New file.
8923 * gdb.guile/scm-frame-args.c: New file.
8924 * gdb.guile/scm-frame-args.exp: New file.
8925 * gdb.guile/scm-frame-args.scm: New file.
8926 * gdb.guile/scm-frame-inline.c: New file.
8927 * gdb.guile/scm-frame-inline.exp: New file.
8928 * gdb.guile/scm-frame.c: New file.
8929 * gdb.guile/scm-frame.exp: New file.
8930 * gdb.guile/scm-generics.exp: New file.
8931 * gdb.guile/scm-gsmob.exp: New file.
8932 * gdb.guile/scm-iterator.c: New file.
8933 * gdb.guile/scm-iterator.exp: New file.
8934 * gdb.guile/scm-math.c: New file.
8935 * gdb.guile/scm-math.exp: New file.
8936 * gdb.guile/scm-objfile-script-gdb.in: New file.
8937 * gdb.guile/scm-objfile-script.c: New file.
8938 * gdb.guile/scm-objfile-script.exp: New file.
8939 * gdb.guile/scm-objfile.c: New file.
8940 * gdb.guile/scm-objfile.exp: New file.
8941 * gdb.guile/scm-ports.exp: New file.
8942 * gdb.guile/scm-pretty-print.c: New file.
8943 * gdb.guile/scm-pretty-print.exp: New file.
8944 * gdb.guile/scm-pretty-print.scm: New file.
8945 * gdb.guile/scm-section-script.c: New file.
8946 * gdb.guile/scm-section-script.exp: New file.
8947 * gdb.guile/scm-section-script.scm: New file.
8948 * gdb.guile/scm-symbol.c: New file.
8949 * gdb.guile/scm-symbol.exp: New file.
8950 * gdb.guile/scm-symtab-2.c: New file.
8951 * gdb.guile/scm-symtab.c: New file.
8952 * gdb.guile/scm-symtab.exp: New file.
8953 * gdb.guile/scm-type.c: New file.
8954 * gdb.guile/scm-type.exp: New file.
8955 * gdb.guile/scm-value-cc.cc: New file.
8956 * gdb.guile/scm-value-cc.exp: New file.
8957 * gdb.guile/scm-value.c: New file.
8958 * gdb.guile/scm-value.exp: New file.
8959 * gdb.guile/source2.scm: New file.
8960 * gdb.guile/types-module.cc: New file.
8961 * gdb.guile/types-module.exp: New file.
8962
7026a7c1
YQ
89632014-02-10 Yao Qi <yao@codesourcery.com>
8964
8965 PR testsuite/16543
8966 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8967 * configure: Regenerated.
8968 * Makefile.in: New file.
8969
6c466447
AS
89702014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8971
8972 * gdb.python/py-framefilter.exp: Fix typo.
8973
6e854735
YQ
89742014-02-08 Yao Qi <yao@codesourcery.com>
8975
8976 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8977 that no =breakpoint-modified is emitted when breakpoints are
8978 modified through MI commands.
8979
d137e6dc
PA
89802014-02-07 Pedro Alves <pedro@codesourcery.com>
8981 Pedro Alves <palves@redhat.com>
8982
8983 * gdb.threads/step-after-sr-lock.c: New file.
8984 * gdb.threads/step-after-sr-lock.exp: New file.
8985
b5ee5a50
PA
89862014-02-07 Pedro Alves <palves@redhat.com>
8987
8988 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8989
3c77faf3
JK
89902014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8991
8992 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8993 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8994
6dddc817
DE
89952014-02-06 Doug Evans <xdje42@gmail.com>
8996
8997 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8998 output.
8999
9000 * gdb.gdb/python-interrupts.exp: New file.
9001
de7b2893
YQ
90022014-02-05 Yao Qi <yao@codesourcery.com>
9003
9004 * gdb.trace/report.exp (use_collected_data): Test the output
9005 of "info threads" and "info inferiors".
9006
66d032ac
YQ
90072014-02-05 Yao Qi <yao@codesourcery.com>
9008
9009 Revert this patch:
9010
9011 2013-05-24 Yao Qi <yao@codesourcery.com>
9012
9013 * gdb.trace/tfile.exp: Test inferior and thread.
9014
591a12a1
UW
90152014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9016
9017 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
9018 on a function.
9019 * gdb.base/step-bt.c: Call hello via function pointer to make
9020 sure its first instruction is executed on powerpc64le-linux.
9021
0ff3e01f
UW
90222014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9023
9024 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
9025
084ee545
UW
90262014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9027
9028 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
9029 of the test patterns for use on little-endian systems.
9030
6ed14ff3
UW
90312014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9032
9033 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
9034 (decimal_vector): Fix for little-endian.
9035
401e27fd
JM
90362014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
9037
9038 * gdb.arch/sparc-sysstep.exp: New file.
9039 * gdb.arch/sparc-sysstep.c: Likewise.
9040
9041 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
9042
8b924729
EBM
90432014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9044
9045 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
9046
fb151210
JB
90472014-01-23 Tom Tromey <tromey@redhat.com>
9048
9049 * gdb.ada/array_char_idx: New testcase.
9050
0740f8d8
TT
90512014-01-23 Tom Tromey <tromey@redhat.com>
9052
9053 PR python/16487:
9054 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
9055 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
9056 classes.
9057
21909fa1
TT
90582014-01-23 Tom Tromey <tromey@redhat.com>
9059
9060 PR python/16491:
9061 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
9062 string from an inferior frame.
9063 * gdb.python/py-framefilter-mi.exp: Update.
9064
87ce2a04
DE
90652014-01-22 Doug Evans <dje@google.com>
9066
9067 * gdb.server/server-mon.exp: Add tests for "set debug-format".
9068
237b092b
AA
90692014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9070
9071 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
9072
d674a709
AA
90732014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9074
9075 * gdb.trace/entry-values.exp: Remove excess space character from
9076 regex patterns. Handle s390 call instruction.
9077
20fa3390
AA
90782014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9079
9080 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
9081 define "*_start" label. Make "name" static.
9082 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
9083 ${name} by references to ${name}_start.
9084
78466714
AA
90852014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9086
9087 * gdb.base/info-macros.exp: Remove "debug" from the compile
9088 options.
9089
ec9f644a
IB
90902014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9091
9092 * gdb.dlang/demangle.exp: New file.
9093
94b1b47e
IB
90942014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9095
9096 * gdb.dlang/primitive-types.exp: New file.
9097
7f420862
IB
90982014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9099
9100 * configure.ac: Create gdb.dlang/Makefile.
9101 * configure: Regenerate.
9102 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
9103 * gdb.dlang/Makefile.in: New file.
9104 * lib/d-support.exp: New file.
9105 * lib/gdb.exp (skip_d_tests): New proc.
9106
52834460
MM
91072014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9108
9109 * gdb.btrace/delta.exp: Check reverse stepi.
9110 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
9111 * gdb.btrace/finish.exp: New.
9112 * gdb.btrace/next.exp: New.
9113 * gdb.btrace/nexti.exp: New.
9114 * gdb.btrace/record_goto.c: Add comments.
9115 * gdb.btrace/step.exp: New.
9116 * gdb.btrace/stepi.exp: New.
9117 * gdb.btrace/multi-thread-step.c: New.
9118 * gdb.btrace/multi-thread-step.exp: New.
9119 * gdb.btrace/rn-dl-bind.c: New.
9120 * gdb.btrace/rn-dl-bind.exp: New.
9121 * gdb.btrace/data.c: New.
9122 * gdb.btrace/data.exp: New.
9123 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9124
6e07b1d2
MM
91252014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9126
9127 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
9128 * gdb.btrace/exception.exp: Update.
9129 * gdb.btrace/instruction_history.exp: Update.
9130 * gdb.btrace/record_goto.exp: Update.
9131 * gdb.btrace/tailcall.exp: Update.
9132 * gdb.btrace/unknown_functions.exp: Update.
9133 * gdb.btrace/delta.exp: New.
9134
0b722aec
MM
91352014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9136
9137 * gdb.btrace/record_goto.exp: Add backtrace test.
9138 * gdb.btrace/tailcall.exp: Add backtrace test.
9139
066ce621
MM
91402014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9141
9142 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
9143 * gdb.btrace/record_goto.c: New.
9144 * gdb.btrace/record_goto.exp: New.
9145 * gdb.btrace/x86-record_goto.S: New.
9146
0688d04e
MM
91472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9148
9149 * gdb.btrace/function_call_history.exp: Update tests.
9150 * gdb.btrace/instruction_history.exp: Update tests.
9151
8710b709
MM
91522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9153
9154 * gdb.btrace/function_call_history.exp: Fix expected field
9155 order for "record function-call-history".
9156 Add new tests for "record function-call-history /c".
9157 * gdb.btrace/exception.cc: New.
9158 * gdb.btrace/exception.exp: New.
9159 * gdb.btrace/tailcall.exp: New.
9160 * gdb.btrace/x86-tailcall.S: New.
9161 * gdb.btrace/x86-tailcall.c: New.
9162 * gdb.btrace/unknown_functions.c: New.
9163 * gdb.btrace/unknown_functions.exp: New.
9164 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9165
5de9129b
MM
91662014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9167
9168 * gdb.btrace/instruction_history.exp: Update.
9169 * gdb.btrace/function_call_history.exp: Update.
9170
23a7fe75
MM
91712014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9172
9173 * gdb.btrace/function_call_history.exp: Fix expected function
9174 trace.
9175 * gdb.btrace/instruction_history.exp: Initialize traced.
9176 Remove traced_functions.
9177
724c7dd8
MM
91782014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9179
9180 * gdb.btrace/function_call_history.exp: Update
9181 * gdb.btrace/instruction_history.exp: Update.
9182
6d78d93b
MM
91832014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9184
9185 * gdb.btrace/enable.exp: Update expected text.
9186
93a360cc
OJ
91872014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
9188
9189 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
9190 bytes.
9191
3772b53f
MR
91922014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
9193
9194 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
9195
596662fa
OJ
91962014-01-15 Omair Javaid <omair.javaid@linaro.org>
9197
9198 * lib/gdb.exp (supports_process_record): Return true for
9199 arm*-linux*. (supports_reverse): Likewise.
9200
b5b08fb4
SC
92012014-01-13 Siva Chandra Reddy <sivachandra@google.com>
9202
9203 PR python/15464
9204 PR python/16113
9205 * gdb.python/py-type.c: Enhance test case.
9206 * gdb.python/py-value-cc.cc: Likewise
9207 * gdb.python/py-type.exp: Add new tests.
9208 * gdb.python/py-value-cc.exp: Likewise
9209
52d7fb13
AA
92102014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9211 Pedro Alves <palves@redhat.com>
9212
9213 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
9214 Make "name" extern.
9215 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
9216 references to ${name}_start by references to ${name}.
9217
a2cd8cfe
JB
92182014-01-10 Joel Brobecker <brobecker@adacore.com>
9219
9220 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
9221
4e23fced
JB
92222014-01-10 Joel Brobecker <brobecker@adacore.com>
9223
9224 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
9225
c6a9e42c
PA
92262014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
9227 Pedro Alves <palves@redhat.com>
9228
9229 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 9230 mi_gdb_target_load.
c6a9e42c 9231
b7ea362b
PA
92322014-01-08 Pedro Alves <palves@redhat.com>
9233
9234 * gdb.threads/reconnect-signal.c: New file.
9235 * gdb.threads/reconnect-signal.exp: New file.
9236
5e3f4fab
EBM
92372014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9238
9239 * gdb.base/source-dir.exp: New file.
9240
79301218
JB
92412014-01-07 Joel Brobecker <brobecker@adacore.com>
9242
9243 * gdb.ada/mi_interface: New testcase.
9244
8e355c5d
JB
92452014-01-07 Joel Brobecker <brobecker@adacore.com>
9246
9247 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
9248 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
9249 gdb.ada/pp-rec-component/pck.ads: New files.
9250
c0d48811
JB
92512014-01-07 Joel Brobecker <brobecker@adacore.com>
9252
9253 * gdb.python/py-pp-integral.c: New file.
9254 * gdb.python/py-pp-integral.py: New file.
9255 * gdb.python/py-pp-integral.exp: New file.
9256
17b609c3 9257For older changes see ChangeLog-1993-2013.
c906108c 9258\f
8d8cb839
EZ
9259;; Local Variables:
9260;; mode: change-log
9261;; left-margin: 8
9262;; fill-column: 74
9263;; version-control: never
9264;; End:
902f2ccb 9265
618f726f 9266 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
9267 Copying and distribution of this file, with or without modification,
9268 are permitted provided the copyright notice and this notice are preserved.
This page took 2.58436 seconds and 4 git commands to generate.