]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Pass link_info to _bfd_merge_private_bfd_data
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
33fa2c6e
DE
12016-10-06 Doug Evans <dje@google.com>
2
3 * gdb.python/py-value.exp (test_value_creation): Add test for large
4 unsigned 64-bit value.
5
9c37b5ae
TT
62016-10-06 Tom Tromey <tom@tromey.com>
7
8 * gdb.compile/compile.exp: Change java tests to rust.
9 * gdb.base/setshow.exp: Change java tests to rust.
10 * gdb.base/default.exp: Remove java from language list.
11 * README (Examples): Update language example.
12 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
13 test.
14 * lib/gdb.exp (skip_java_tests): Remove.
15 * lib/java.exp: Remove.
16 * gdb.java: Remove.
17
78b86327
MR
182016-10-06 Maciej W. Rozycki <macro@imgtec.com>
19
20 * gdb.arch/mips-fcr.exp: New test.
21 * gdb.arch/mips-fcr.c: Source for the new test.
22
7470adbb
MR
232016-10-06 Maciej W. Rozycki <macro@imgtec.com>
24
25 * gdb.base/solib-disc.exp: Use `standard_output_file'
26 throughout.
27
4a556533
PA
282016-10-06 Pedro Alves <palves@redhat.com>
29
30 * gdb.base/jit-simple-dl.c: New file.
31 * gdb.base/jit-simple-jit.c: New file, factored out from ...
32 * gdb.base/jit-simple.c: ... this.
33 * gdb.base/jit-simple.exp (jit_run): Delete.
34 (build_jit): New proc.
35 (jit_test_reread): Recompile either the main program or the shared
36 library, depending on what is being tested. Skip changing address
37 if caller wants to. Compare before/after addresses. If testing
38 standalone, explicitly load the binary. Test "maint info
39 breakpoints".
40 (top level): Add "standalone vs shared lib" and "change address"
41 vs "same address" axes.
42
5a122fbc
PA
432016-10-06 Pedro Alves <palves@redhat.com>
44
45 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
46 call.
47 (jit_run): Delete.
48 (jit_test_reread): Use with_test_prefix. Reload the main binary
49 explicitly. Compare the before/after addresses of the JIT
50 descriptor.
51
ee8da4b8
DE
522016-08-15 Doug Evans <dje@google.com>
53
54 * gdb.xml/extra-regs.xml: Update, end field now required, default type
55 for single bitfields is bool.
56 * gdb.xml/tdesc-regs.exp: Ditto.
57
f389f6fe
JK
582016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
59
60 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
61
fdebf1a4
YQ
622016-10-05 Yao Qi <yao.qi@linaro.org>
63
64 * lib/gdb.exp (support_complex_tests): Return zero if
65 gdb_skip_float_test return true.
66
9c36d954
AT
672016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
682016-10-03 Simon Marchi <simon.marchi@ericsson.com>
69
70 PR gdb/20487
71 * gdb.mi/user-selected-context-sync.exp: New file.
72 * gdb.mi/user-selected-context-sync.c: New file.
73
4034d0ff
AT
742016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
752016-10-03 Simon Marchi <simon.marchi@ericsson.com>
76
77 PR gdb/20487
78 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
79 =thread-select-event check.
80
a4297203
PB
812016-09-29 Peter Bergner <bergner@vnet.ibm.com>
82
83 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
84 the compulsory L operand changes.
85 * gdb.arch/powerpc-power.s: Likewise.
86
bb805577
JK
872016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
88
89 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
90 * gdb.base/jit-attach-pie.c: New file.
91 * gdb.base/jit-attach-pie.exp: New file.
92
6d61dee5
PA
932016-09-28 Pedro Alves <palves@redhat.com>
94
95 * gdb.base/infcall-input.c: New file.
96 * gdb.base/infcall-input.exp: New file.
97
f73842fc
YQ
982016-09-22 Yao Qi <yao.qi@linaro.org>
99
100 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
101 (gdb_exit): Rename it to ...
102 (gdbserver_gdb_exit): ... Close GDBserver.
103 (gdb_exit): New proc, call gdbserver_gdb_exit.
104 (mi_gdb_exit): Likewise.
105
90681dab
YQ
1062016-09-22 Yao Qi <yao.qi@linaro.org>
107
108 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
109 path.
110 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
111 Remove duplication.
112
9c211fd8
YQ
1132016-09-22 Yao Qi <yao.qi@linaro.org>
114
115 * lib/gdbserver-support.exp: Check the existence of
116 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
117
ad0a504f
AK
1182016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
119
120 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
121
36cf1806
TT
1222016-09-21 Tom Tromey <tom@tromey.com>
123
124 PR gdb/20604:
125 * gdb.base/quit.exp: New file.
126
74172ecf
SM
1272016-09-21 Simon Marchi <simon.marchi@ericsson.com>
128
129 * .gitignore: New file.
130
3d0ec882
MR
1312016-09-21 Maciej W. Rozycki <macro@imgtec.com>
132
133 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
134 throughout.
135
8193adea
AA
1362016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
137
138 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
139
d41a5c09
JK
1402016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
141
142 * gdb.cp/casts.cc (decltype): Move it ...
143 (main): ... with its call to ...
144 * gdb.cp/casts03.cc: ... a new file.
145 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
146
d2dfe700
JK
1472016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
148
149 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
150
e2a92b16
PB
1512016-09-15 Peter Bergner <bergner@vnet.ibm.com>
152
153 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
154 and sync up the test with tests in gas/testsuite/gas/ppc.
155 * gdb.arch/powerpc-power.exp: Likewise.
156
49b4de64
JK
1572016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
158
159 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
160
2c29df25
SDJ
1612016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
162 Jan Kratochvil <jan.kratochvil@redhat.com>
163
164 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
165 make m1's definition to be different from m2's. Use 'dummy' as an
166 argument for probe 'two'.
167
cc3c2846
JB
1682016-09-10 Jon Beniston <jon@beniston.com>
169
170 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
171 for sim target.
172
e1b2624a
AA
1732016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
174
175 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
176 variable declaration.
177 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
178 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
179 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
180 received HWCAP as its argument.
181
4295e285
PA
1822016-09-06 Pedro Alves <palves@redhat.com>
183
184 * gdb.base/new-ui-pending-input.c: New file.
185 * gdb.base/new-ui-pending-input.exp: New file.
186 * gdb.exp (clear_gdb_spawn_id): New procedure.
187 (with_spawn_id): Check whether gdb_spawn_id exists before
188 referencing it. If gdb_spawn_id didn't exist on entry, clear it
189 on exit.
190
00d5215e
UW
1912016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
192
193 * gdb.base/float128.c: New file.
194 * gdb.base/float128.exp: Likewise.
195 * gdb.base/floatn.c: Likewise.
196 * gdb.base/floatn.exp: Likewise.
197
a9ff5f12
UW
1982016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
199
200 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
201
f245535c
PA
2022016-09-05 Pedro Alves <palves@redhat.com>
203
204 PR backtrace/19927
205 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
206 unwinders are immediately called as side effect of "source" or
207 "disable unwinder" commands.
208 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
209
ae9cf263
YQ
2102016-09-02 Yao Qi <yao.qi@linaro.org>
211
212 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
213 is true and $type is "float" or "double".
214
27aba047
YQ
2152016-09-02 Yao Qi <yao.qi@linaro.org>
216
217 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
218 true.
219 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
220 * gdb.base/call-rt-st.exp: Likewise.
221 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
222 return value instead of gdb,skip_float_test.
223 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
224 (do_function_calls): Use its return value instead of
225 gdb,skip_float_test.
226 * gdb.base/finish.exp: Likewise.
227 * gdb.base/funcargs.exp: Likewise.
228 * gdb.base/return.exp: Likewise.
229 * gdb.base/return2.exp: Likewise.
230 * gdb.base/varargs.exp: Likewise.
231 * lib/gdb.exp (gdb_skip_float_test): Change it to
232 gdb_caching_proc. Detect the broken ptrace on arm-linux.
233
5af962df
AA
2342016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
235
236 * gdb.multi/tids.exp: Test "thread apply all".
237
7fac6910
JK
2382016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
239
240 * gdb.base/default.exp (tty): Remove.
241
bb1fe4ac
KB
2422016-08-24 Kevin Buettner <kevinb@redhat.com>
243
244 * gdb.python/py-recurse-unwind.c: New file.
245 * gdb.python/py-recurse-unwind.py: New file.
246 * gdb.python/py-recurse-unwind.exp: New file.
247
0a1ddfa6
SM
2482016-08-24 Simon Marchi <simon.marchi@ericsson.com>
249
250 * gdb.base/set-inferior-tty.exp: New file.
251 * gdb.base/set-inferior-tty.c: New file.
252
d9de1fe3
PA
2532016-08-23 Pedro Alves <palves@redhat.com>
254
255 PR gdb/20494
256 * gdb.base/new-ui-echo.c: New file.
257 * gdb.base/new-ui-echo.exp: New file.
258
e9d9abd7
YQ
2592016-08-23 Yao Qi <yao.qi@linaro.org>
260
261 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
262 gdbserver_spawn.
263 * gdb.server/connect-without-multi-process.exp (do_test):
264 Likewise.
265
3589529e
YQ
2662016-08-23 Yao Qi <yao.qi@linaro.org>
267
268 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
269 standalone_txt. Delete gdb_txt and standalone_txt on host
270 and target. Spawn the binary on target. Copy files from
271 target to host.
272
6bb90213
PA
2732016-08-22 Pedro Alves <palves@redhat.com>
274
275 PR gdb/20505
276 * gdb.base/vdso-warning.exp: Test core dumps too. Use
277 with_test_prefix. Factor out bits to ...
278 (test_no_vdso): ... this new procedure.
279
20c2c024
CL
2802016-08-19 Carl Love <cel@us.ibm.com>
281
282 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
283 maintaining separate logic for constructing the output path.
284 * gdb.arch/powerpc-d128-regs.exp: Likewise.
285 * gdb.arch/ppc-dfp.exp: Likewise.
286 * gdb.arch/ppc-fp.exp: Likewise.
287 * gdb.arch/vsx-regs.exp: Likewise.
288 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
289 binprefix for generating the additional binary files.
290
0646e07d
PA
2912016-08-19 Pedro Alves <palves@redhat.com>
292
293 * gdb.trace/mi-trace-frame-collected.exp
294 (test_trace_frame_collected): On x32, expect two registers.
295
46da9242
CL
2962016-08-18 Carl Love <cel@us.ibm.com>
297
298 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
299 and sync up the test with tests in gas/testsuite/gas/ppc.
300 * gdb.arch/powerpc-power.exp: Likewise.
301
eb2332d7
SM
3022016-08-17 Simon Marchi <simon.marchi@ericsson.com>
303
304 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
305 expected error message.
306
63c61e04
SM
3072016-08-17 Simon Marchi <simon.marchi@ericsson.com>
308
309 * gdb.multi/remove-inferiors.exp: New file.
310 * gdb.multi/remove-inferiors.c: New file.
311
7b17065f
YQ
3122016-08-12 Yao Qi <yao.qi@linaro.org>
313
314 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
315 argument list.
316
01d3dedf
PA
3172016-08-10 Pedro Alves <palves@redhat.com>
318
319 PR gdb/19187
320 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
321 setup_kfails.
322
3eb7562a
PA
3232016-08-09 Pedro Alves <palves@redhat.com>
324 Simon Marchi <simon.marchi@ericsson.com>
325
326 PR gdb/20418
327 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
328 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
329
80614914
PA
3302016-08-09 Pedro Alves <palves@redhat.com>
331
332 PR mi/20431
333 * gdb.mi/mi-cmd-error.exp: New file.
334
f348d89a
PA
3352016-08-09 Pedro Alves <palves@redhat.com>
336
337 PR gdb/18653
338 * gdb.base/signals-state-child.c: New file.
339 * gdb.base/signals-state-child.exp: New file.
340 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
341
e5ca03b4
PA
3422016-08-09 Pedro Alves <palves@redhat.com>
343
344 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
345
282a0691
TT
3462016-08-03 Tom Tromey <tom@tromey.com>
347
348 PR python/18565:
349 * gdb.python/py-frame-inline.exp: Add Frame.function test.
350
41bfcd63
YQ
3512016-08-01 Yao Qi <yao.qi@linaro.org>
352
353 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
354 variable mode to "multi-process" if $multi_process is 1, otherwise
355 set it to "single-process".
356
e3465b24
YQ
3572016-08-01 Yao Qi <yao.qi@linaro.org>
358
359 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
360 * gdb.cp/cpexprs.exp: Likewise.
361 * gdb.cp/m-static.exp: Likewise.
362
0b31a4bc
TT
3632016-07-26 Tom Tromey <tom@tromey.com>
364
365 PR python/20190:
366 * gdb.threads/tls.exp (check_thread_local): Add python symbol
367 test.
368
e0461dbb
MM
3692016-07-26 Markus Metzger <markus.t.metzger@intel.com>
370
371 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
372 selecting assembly source files.
373 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
374 assembly source files.
375 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
376 assembly source files.
377 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
378 selecting assembly source files.
379
8194e927
SM
3802016-07-25 Simon Marchi <simon.marchi@ericsson.com>
381
382 * gdb.base/new-ui.exp (do_test_invalid_args): New
383 procedure.
384
c0272db5
TW
3852016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
386
387 * gdb.btrace/reconnect.c: New file.
388 * gdb.btrace/reconnect.exp: New file.
389
e3487908
GKB
3902016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
391
392 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
393 to test_catch_syscall_group.
394 (test_catch_syscall_group): New.
395
12df5c00
TT
3962016-07-21 Tom Tromey <tom@tromey.com>
397
398 * gdb.rust/simple.rs (main): Use empty struct expression.
399 * gdb.rust/simple.exp: Add tests for empty struct expression.
400
bae62ee2
YQ
4012016-07-21 Yao Qi <yao.qi@linaro.org>
402
403 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
404 if gdb_skip_xml_test is true on some targets.
405
b1b53fb3
YQ
4062016-07-21 Yao Qi <yao.qi@linaro.org>
407
408 * gdb.server/solib-list.exp: Unset last_loaded_file.
409
027d97f8
JK
4102016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
411
412 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
413 "step into captured_main (args)".
414
7674d381
JK
4152016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
416
417 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
418
72b5d099
JK
4192016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
420
421 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
422
1f960ced
PA
4232016-07-19 Pedro Alves <palves@redhat.com>
424
425 * gdb.opt/inline-break.exp: Remove optimize=-O2.
426 * gdb.opt/inline-bt.exp: Likewise.
427 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
428 additional_flags=-Winline.
429 * gdb.opt/inline-locals.exp: Likewise.
430 * gdb.opt/inline-markers.c (ATTR): Define.
431 (inlined_fn): Use it.
432
f25827c1
YQ
4332016-07-19 Yao Qi <yao.qi@linaro.org>
434
435 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
436 (test_with_self): Remove some code. Remove argument executable.
437 (top-level): Use do_self_tests.
438
37539ebe
DB
4392016-07-15 Zachary Welch <zwelch@codesourcery.com>
440 Don Breazeal <donb@codesourcery.com>
441
442 * gdb.base/maint.exp: Escape paths used in regular expressions.
443 * gdb.stabs/weird.exp: Likewise.
444
dac790e1
TT
4452016-07-13 Tom Tromey <tom@tromey.com>
446
447 PR python/15620, PR python/18620:
448 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
449 (test_bkpt_events): New procs.
450
93daf339
TT
4512016-07-13 Tom Tromey <tom@tromey.com>
452
453 PR python/17698:
454 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
455 test.
456 (test_watchpoints): Likewise.
457 (test_bkpt_pending): New proc.
458
6571a381
TT
4592016-07-13 Tom Tromey <tom@tromey.com>
460
461 PR cli/18053:
462 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
463 completion test.
464
e8732474
JK
4652016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
466
467 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
468 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
469 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
470 f_label.
471 (g): Rename g_end_lbl to g_label.
472 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
473 low_pc and high_pc.
474 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
475
e0f3fd7c
TT
4762016-07-12 Tom Tromey <tom@tromey.com>
477
478 PR python/19293:
479 * gdb.python/py-unwind-maint.exp: Update tests.
480
3cfe46b6
YQ
4812016-07-12 Yao Qi <yao.qi@linaro.org>
482
483 * lib/selftest-support.exp (selftest_setup): Match the output
484 when captured_main is inlined.
485
4f19a0e6
WT
4862016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
487
488 * gdb.fortran/derived-types.exp (result_line, result_line_2):
489 New variables.
490 (print this%a, print this%b, print this): New tests.
491 * gdb.fortran/derived-types.f90 (this): New object and
492 initialization.
493
986cf455
SM
4942016-07-06 Simon Marchi <simon.marchi@ericsson.com>
495
496 * gdb.ada/arraydim.exp: Remove extra directory level in build
497 directory.
498
f0464b23
SM
4992016-07-06 Simon Marchi <simon.marchi@ericsson.com>
500
501 * lib/ada.exp: Remove extra directory level in build directory.
502 * gdb.ada/cond_lang.exp: Likewise.
503 * gdb.ada/exec_changed.exp: Likewise.
504 * gdb.ada/lang_switch.exp: Likewise.
505
42d94011
MG
5062016-07-06 Manish Goregaokar <manish@mozilla.com>
507
508 * simple.rs: Add test for raw pointer subscripting
509 * simple.exp: Add test expectations
510
647c264c
YQ
5112016-07-05 Yao Qi <yao.qi@linaro.org>
512
513 * gdb.mi/mi-reverse.exp: Match =record-started output.
514
20aa2c60
PA
5152016-07-01 Pedro Alves <palves@redhat.com>
516
517 * gdb.base/jit-reader.exp (info_registers_current_frame): New
518 procedure.
519 (jit_reader_test): Test the jit reader's unwinder.
520 * gdb.base/jithost.c (jit_function_00_code): New global.
521 (main): Use memcpy to fill in the mmapped code, instead of poking
522 bytes manually here.
523 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
524 value.
525 (read_debug_info): Save the function's range.
526 (read_sp): New function.
527 (unwind_frame): Use it. Also unwind RBP.
528 (get_frame_id): Use read_sp.
529 (gdb_init_reader): Use calloc instead of malloc.
530 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
531 parameter. Use gdb_test_multiple.
532
ced2dffb
PA
5332016-07-01 Pedro Alves <palves@redhat.com>
534 Antoine Tremblay <antoine.tremblay@ericsson.com>
535
536 * gdb.threads/process-dies-while-detaching.c: New file.
537 * gdb.threads/process-dies-while-detaching.exp: New file.
538
63000888
PA
5392016-07-01 Pedro Alves <palves@redhat.com>
540
541 * gdb.multi/watchpoint-multi-exit.c: New file.
542 * gdb.multi/watchpoint-multi-exit.exp: New file.
543
038d4868
PA
5442016-06-30 Pedro Alves <palves@redhat.com>
545
546 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
547 unset inferior_spawn_id.
548
994e9c83
PA
5492016-06-30 Pedro Alves <palves@redhat.com>
550
551 * lib/mi-support.exp (default_mi_gdb_start): Declare global
552 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
553
e5653468
YQ
5542016-06-29 Yao Qi <yao.qi@linaro.org>
555
556 * gdb.base/return.c: Add copyright header.
557
803b47e5
TT
5582016-06-29 Tom Tromey <tom@tromey.com>
559
560 PR python/20129:
561 * gdb.python/py-framefilter.exp: Add tests for setting priority
562 and disabling of non-existent frame filter.
563
28244707
YQ
5642016-06-29 Yao Qi <yao.qi@linaro.org>
565
566 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
567 0x0f07ff.
568
a31d2f06
YQ
5692016-06-28 Yao Qi <yao.qi@linaro.org>
570
571 * gdb.base/catch-syscall.exp: Remove check on isnative and target
572 triplets. Start gdb, execute catch syscall, and continue. Check
573 gdb's output to determine catch syscall is supported.
574
921d8f54
MG
5752016-06-27 Manish Goregaokar <manish@mozilla.com>
576
25d49b86
PA
577 * gdb.rust/simple.rs: Add test for returning unit in a function.
578 * gdb.rust/simple.exp: Add expectation for functions returning
579 unit.
921d8f54 580
f4952523
PMR
5812016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
582
583 * gdb.python/py-breakpoint-create-fail.c,
584 gdb.python/py-breakpoint-create-fail.exp,
585 gdb.python/py-breakpoint-create-fail.py: New testcase.
586
fccb08f8
MG
5872016-06-25 Manish Goregaokar <manish@mozilla.com>
588
589 PR gdb/20239
590 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
591 * gdb.rust/simple.exp: Add test expectations for new NonZero
592 tests.
fccb08f8 593
6b850546
DT
5942016-06-24 David Taylor <dtaylor@emc.com>
595
596 * gdb.base/offsets.exp: New file.
597 * gdb.base/offsets.c: New file.
598
17621150
TT
5992016-06-23 Tom Tromey <tom@tromey.com>
600
601 PR gdb/16483:
602 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
603 before any filters are loaded.
604
04d59df6
WT
6052016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
606
607 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
608 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
609 structs.
610 * gdb.fortran/derived-type-function.exp: New file.
611 * gdb.fortran/derived-type-function.f90: New file.
612
613
ac69f786
PA
6142016-06-21 Pedro Alves <palves@redhat.com>
615
616 * gdb.base/new-ui.exp: New file.
617 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
618 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
619 (with_spawn_id): New procedure.
620
49940788
PA
6212016-06-21 Pedro Alves <palves@redhat.com>
622
623 * gdb.mi/mi-exec-run.exp: New file.
624
ef274d26
PA
6252016-06-21 Pedro Alves <palves@redhat.com>
626
627 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
628 breakpoint command's output on the main UI.
629 (test_break): New procedure, factored out from calls in the top
630 level.
631 (top level): Use foreach_with_prefix to test MI as main UI and as
632 separate UI.
633
468afe6c
PA
6342016-06-21 Pedro Alves <palves@redhat.com>
635
636 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
637 (test_awatch_creation_and_listing)
638 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
639 Remove 'type' parameter.
640 (test_watchpoint_all): New parameter mi_mode. Remove
641 with_test_prefix.
642 (top level): Use foreach_with_prefix, and add main/separate UI MI
643 testing axis.
644
51f77c37
PA
6452016-06-21 Pedro Alves <palves@redhat.com>
646
647 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
648 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
649 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
650 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
651 (gdb_main_spawn_id, mi_spawn_id): Declare and
652 comment.
653 (mi_create_inferior_pty): New procedure,
654 factored out from default_mi_gdb_start.
655 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
656 procedures.
657 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
658 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
659 Use mi_create_inferior_pty.
660 (mi_gdb_start): Use eval to pass down args list.
661
8980e177
PA
6622016-06-21 Pedro Alves <palves@redhat.com>
663
664 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
665 * gdb.opt/inline-cmds.exp: Add MI tests.
666
f38d3ad1
PA
6672016-06-21 Pedro Alves <palves@redhat.com>
668
669 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
670
45db7c09
PA
6712016-06-21 Pedro Alves <palves@redhat.com>
672
673 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
674 (top level): Use it instead of mi_execute_to.
675
5a069ab3
PA
6762016-06-21 Pedro Alves <palves@redhat.com>
677
678 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
679 (cont_handler_str): New.
680 (signal_stop_handler): Set stop_handler_str instead of printing to
681 stdout.
682 (continue_handler): Set cont_handler_str instead of printing to
683 stdout.
684 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
685 mi_send_resuming_command. Print stop_handler_str and
686 cont_handler_str instead of expecting the python events print
687 directly.
688
2838cc1d
SD
6892016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
690
691 * gdb.base/jit-reader.exp: New file.
692 * gdb.base/jithost.c: New file.
693 * gdb.base/jithost.h: New file.
694 * gdb.base/jitreader.c : New file.
695 * gdb.base/jit-protocol.h: New file.
696
21a77091
YQ
6972016-06-17 Yao Qi <yao.qi@linaro.org>
698
699 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
700 parameters follow_fork and detach_on_fork. Set follow-fork-mode
701 and detach-on-fork. Adjust tests.
702 (top level): Invoke break_cond_on_syscall with combinations of
703 syscall, follow-fork-mode and detach-on-fork.
704
f50bf8e5
YQ
7052016-06-17 Yao Qi <yao.qi@linaro.org>
706
707 * gdb.base/step-over-exit.c: New.
708 * gdb.base/step-over-exit.exp: New.
709
a28d8e50
YTL
7102016-06-17 Yan-Ting Lin <currygt52@gmail.com>
711
712 * gdb.base/float.exp: Add target check for nds32*-*-*.
713 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
714
cad8e26d
AB
7152016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
716
717 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
718 for unsupported target features.
719 * gdb.base/call-rt-st.exp: Likewise.
720 * gdb.base/call-sc.exp: Likewise.
721 * gdb.base/call-signal-resume.exp: Likewise.
722 * gdb.base/call-strs.exp: Likewise.
723 * gdb.base/callexit.exp: Likewise.
724 * gdb.base/callfuncs.exp: Likewise.
725 * gdb.base/nodebug.exp: Likewise.
726 * gdb.base/printcmds.exp: Likewise.
727 * gdb.base/ptype.exp: Likewise.
728 * gdb.base/structs.exp: Likewise.
729 * gdb.base/unwindonsignal.exp: Likewise.
730 * gdb.cp/gdb2495.exp: Likewise.
731 * gdb.cp/templates.exp: Likewise.
732 * gdb.cp/virtfunc.exp: Likewise.
733 * gdb.threads/hand-call-in-threads.exp: Likewise.
734 * gdb.threads/interrupted-hand-call.exp: Likewise.
735 * gdb.threads/thread-unwindonsignal.exp: Likewise.
736
347dc102
TT
7372016-06-10 Tom Tromey <tom@tromey.com>
738
739 PR rust/20110:
740 * gdb.rust/expr.exp: Add test for integer constant larger than
741 i32.
742
5e13cf25
BH
7432016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
744
745 * gdb.fortran/nested-funcs.exp: New.
746 * gdb.fortran/nested-funcs.f90: New.
747
bb556f1f
TK
7482016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
749
750 * gdb.base/examine-backward.c: New file.
751 * gdb.base/examine-backward.exp: New file.
752
38b022b4
SM
7532016-06-06 Simon Marchi <simon.marchi@ericsson.com>
754
755 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
756 matching.
757
1b40ec05
TT
7582016-06-02 Tom Tromey <tom@tromey.com>
759
760 PR python/18984:
761 * gdb.python/py-shared.exp: Add solib_name test.
762
193bd378
SM
7632016-06-02 Simon Marchi <simon.marchi@ericsson.com>
764
765 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
766
3326303b
MG
7672016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
768
769 PR c++/19893
770 * gdb.dwarf2/implref.exp: Rename to...
771 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
772 * gdb.dwarf2/implref-array.c: New file.
773 * gdb.dwarf2/implref-array.exp: Likewise.
774 * gdb.dwarf2/implref-global.c: Likewise.
775 * gdb.dwarf2/implref-global.exp: Likewise.
776 * gdb.dwarf2/implref-struct.c: Likewise.
777 * gdb.dwarf2/implref-struct.exp: Likewise.
778
825c8ef2
AT
7792016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
780
781 * gdb.trace/trace-condition.exp: Add 64bit tests.
782
2320162a
AT
7832016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
784
785 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
786 bits types.
787 (main): Adapt to 8 to 64 bits types.
788 * gdb.trace/trace-condition.exp: Add new tests.
789
a7818233
AT
7902016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
791
792 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
793
0d336466
AT
7942016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
795
796 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
797 Move condition tests...
798 * gdb.trace/trace-condition.exp: Here.
799
7faeb45a
AT
8002016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
801
802 * gdb.trace/trace-condition.exp: Add counter-case tests.
803
e385593e
JK
8042016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
805
806 PR c++/15231
807 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
808 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
809
744608cc
PA
8102016-05-27 Pedro Alves <palves@redhat.com>
811
812 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
813 New procedure.
814 (top level): Call it, and bail out of DejaGnu is known to be bad.
815
ac775bf4
AB
8162016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
817
818 * gdb.base/whatis.c: Extend the test case.
819 * gdb.base/whatis.exp: Add additional tests.
820
2bbad2ea
BH
8212016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
822
823* gdb.fortran/type.f90: Add pointer variable.
824* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
825
8b70175d
BH
8262016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
827
828 * gdb.fortran/vla-type.exp: Fix testcase name.
829
86d8a848
BH
8302016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
831
832 * gdb.fortran/vla-type.exp: Access elements in nested structs.
833
e188eb36
BH
8342016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
835
836 * gdb.fortran/type.f90: Add nested structures.
837 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
838 * gdb.fortran/derived-type.exp: Adapt expected output.
839 * gdb.fortran/vla-type.exp: Adapt expected output.
840
9b2db1fd
BH
8412016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
842
843 * gdb.fortran/whatis_type.exp: Adapt expected output.
844
72b17055
BH
8452016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
846
847 * gdb.fortran/print_type.exp: Fix expected output.
848 * gdb.fortran/whatis_type.exp: Fix expected output.
849
3cd81d8d
BH
8502016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
851
852 * gdb.fortran/whatis_type.exp: Use multi_line.
853
ddae9462
TT
8542016-05-24 Tom Tromey <tom@tromey.com>
855
856 PR python/17386:
857 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
858 use value as an index.
859
1957f6b8
TT
8602016-05-23 Tom Tromey <tom@tromey.com>
861
862 PR python/17981:
863 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
864 no-breakpoint case.
865
026a9174
PA
8662016-05-24 Pedro Alves <palves@redhat.com>
867
868 PR gdb/19828
869 * gdb.threads/clone-attach-detach.c: New file.
870 * gdb.threads/clone-attach-detach.exp: New file.
871
e70a7231
FR
8722016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
873
874 * gdb.base/annota-input-while-running.exp: Fix syntax error.
875
0f6ed0e0
TT
8762016-05-23 Tom Tromey <tom@tromey.com>
877
878 PR python/19438, PR python/18393:
879 * gdb.python/py-progspace.exp: Add "dir" test.
880 * gdb.python/py-objfile.exp: Add "dir" test.
881
ffd19d61
YQ
8822016-05-23 Yao Qi <yao.qi@linaro.org>
883
884 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
885 * gdb.arch/thumb2-it.exp: Likewise.
886
9e8f9b05
SM
8872016-05-18 Simon Marchi <simon.marchi@ericsson.com>
888
889 * gdb.mi/mi-threads-interrupt.c: New file.
890 * gdb.mi/mi-threads-interrupt.exp: New file.
891
61c6156d
SM
8922016-05-17 Simon Marchi <simon.marchi@ericsson.com>
893
894 PR gdb/18077
895 * gdb.mi/mi-async-run.exp: New file.
896 * gdb.mi/mi-async-run.c: New file.
897
67218854
TT
8982016-05-17 Tom Tromey <tom@tromey.com>
899 Manish Goregaokar <manishsmail@gmail.com>
900
901 * lib/rust-support.exp: New file.
902 * lib/gdb.exp (skip_rust_tests): New proc.
903 (build_executable_from_specs): Handle rust.
904 * lib/future.exp (gdb_find_rustc): New proc.
905 (gdb_default_target_compile): Handle rust.
906 * gdb.rust/expr.exp: New file.
907 * gdb.rust/generics.exp: New file.
908 * gdb.rust/generics.rs: New file.
909 * gdb.rust/methods.exp: New file.
910 * gdb.rust/methods.rs: New file.
911 * gdb.rust/modules.exp: New file.
912 * gdb.rust/modules.rs: New file.
913 * gdb.rust/simple.exp: New file.
914 * gdb.rust/simple.rs: New file.
915
c44af4eb
TT
9162016-05-17 Tom Tromey <tom@tromey.com>
917
918 * gdb.base/default.exp (set language): Add rust.
919
dcd1f979
TT
9202016-05-17 Tom Tromey <tom@tromey.com>
921
922 * gdb.gdb/unittest.exp: New file.
923
155b7f57
YQ
9242016-05-16 Yao Qi <yao.qi@linaro.org>
925
926 * gdb.base/batch-preserve-term-settings.exp: Remove variable
927 shell_prompt. Update shell_prompt_re.
928
8ddd5a6c
DE
9292016-05-12 Doug Evans <dje@google.com>
930
931 PR symtab/19999
932 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
933 $options when building executable.
934 * gdb.dwarf2/fission-loclists-pie.S: New file.
935 * gdb.dwarf2/fission-loclists-pie.exp: New file.
936
02e370d9
SM
9372016-05-04 Simon Marchi <simon.marchi@ericsson.com>
938
939 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
940 of [is_remote target],
941
8929ad8b
SM
9422016-05-04 Simon Marchi <simon.marchi@ericsson.com>
943
944 * lib/gdb.exp (use_gdb_stub): New procedure.
945
6c447423
DE
9462016-05-03 Yunlian Jiang <yunlian@google.com>
947 Doug Evans <dje@google.com>
948
949 PR symtab/19914
950 * gdb.dwarf2/dwp-sepdebug.c: New file.
951 * gdb.dwarf2/dwp-sepdebug.exp: New file.
952
444e826c
SM
9532016-05-02 Simon Marchi <simon.marchi@ericsson.com>
954
955 * gdb.base/detach.exp: Remove is_remote check.
956
740feeaa
SM
9572016-05-02 Simon Marchi <simon.marchi@ericsson.com>
958
959 * gdb.base/annota-input-while-running.exp: Don't check for
960 [is_remote target]. Enable annotations after running to main.
961 Remove unused "set test..." line.
962
9080ac9d
SM
9632016-04-28 Simon Marchi <simon.marchi@ericsson.com>
964
965 * gdb.trace/trace-enable-disable.exp: New file.
966 * gdb.trace/trace-enable-disable.c: New file.
967
952ebca5
SM
9682016-04-28 Simon Marchi <simon.marchi@ericsson.com>
969
970 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
971 use it in info sharedlibrary test.
972 * gdb.trace/ftrace-lock.exp: Likewise.
973 * gdb.trace/ftrace.exp: Likewise.
974 * gdb.trace/range-stepping.exp: Likewise.
975 * gdb.trace/trace-break.exp: Likewise.
976 * gdb.trace/trace-condition.exp: Likewise.
977 * gdb.trace/trace-mt.exp: Likewise.
978
d9019901
SM
9792016-04-27 Simon Marchi <simon.marchi@ericsson.com>
980
981 * lib/gdb.exp (gdb_load_shlibs): Rename to...
982 (gdb_load_shlib): ... this.
983 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
984 gdb_load_shlib.
985 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
986 * gdb.base/ctxobj.exp: Likewise.
987 * gdb.base/dprintf-pending.exp: Likewise.
988 * gdb.base/dso2dso.exp: Likewise.
989 * gdb.base/fixsection.exp: Likewise.
990 * gdb.base/gcore-relro.exp: Likewise.
991 * gdb.base/gdb1555.exp: Likewise.
992 * gdb.base/global-var-nested-by-dso.exp: Likewise.
993 * gdb.base/gnu-ifunc.exp: Likewise.
994 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
995 * gdb.base/jit-so.exp (one_jit_test): Likewise.
996 * gdb.base/pending.exp: Likewise.
997 * gdb.base/print-file-var.exp: Likewise.
998 * gdb.base/print-symbol-loading.exp: Likewise.
999 * gdb.base/shlib-call.exp: Likewise.
1000 * gdb.base/shreloc.exp: Likewise.
1001 * gdb.base/so-impl-ld.exp: Likewise.
1002 * gdb.base/solib-disc.exp: Likewise.
1003 * gdb.base/solib-nodir.exp: Likewise.
1004 * gdb.base/solib-overlap.exp: Likewise.
1005 * gdb.base/solib-symbol.exp: Likewise.
1006 * gdb.base/solib-weak.exp (do_test): Likewise.
1007 * gdb.base/sym-file.exp: Likewise.
1008 * gdb.base/symtab-search-order.exp: Likewise.
1009 * gdb.base/type-opaque.exp: Likewise.
1010 * gdb.base/unload.exp: Likewise.
1011 * gdb.base/watchpoint-solib.exp: Likewise.
1012 * gdb.compile/compile.exp: Likewise.
1013 * gdb.cp/gdb2384.exp: Likewise.
1014 * gdb.cp/infcall-dlopen.exp: Likewise.
1015 * gdb.cp/re-set-overloaded.exp: Likewise.
1016 * gdb.fortran/library-module.exp: Likewise.
1017 * gdb.opt/solib-intra-step.exp: Likewise.
1018 * gdb.python/py-finish-breakpoint.exp: Likewise.
1019 * gdb.python/py-shared.exp: Likewise.
1020 * gdb.reverse/solib-precsave.exp: Likewise.
1021 * gdb.reverse/solib-reverse.exp: Likewise.
1022 * gdb.server/solib-list.exp: Likewise.
1023 * gdb.threads/dlopen-libpthread.exp: Likewise.
1024 * gdb.threads/tls-shared.exp: Likewise.
1025 * gdb.threads/tls-so_extern.exp: Likewise.
1026 * gdb.trace/change-loc.exp: Likewise.
1027 * gdb.trace/ftrace-lock.exp: Likewise.
1028 * gdb.trace/ftrace.exp: Likewise.
1029 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
1030 * gdb.trace/pending.exp: Likewise.
1031 * gdb.trace/range-stepping.exp: Likewise.
1032 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
1033 (strace_info_marker): Likewise.
1034 (strace_probe_marker): Likewise.
1035 (strace_trace_on_same_addr): Likewise.
1036 (strace_trace_on_diff_addr): Likewise.
1037 * gdb.trace/trace-break.exp: Likewise.
1038 * gdb.trace/trace-condition.exp: Likewise.
1039 * gdb.trace/trace-mt.exp: Likewise.
1040
fca4cfd9
SM
10412016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1042
1043 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
1044 result of gdb_remote_download.
1045 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
1046 * gdb.base/dso2dso.exp: Likewise.
1047 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1048 * gdb.base/print-file-var.exp: Likewise.
1049 * gdb.base/shlib-call.exp: Likewise.
1050 * gdb.base/shreloc.exp: Likewise.
1051 * gdb.base/solib-overlap.exp: Likewise.
1052 * gdb.base/solib-weak.exp (do_test): Likewise.
1053 * gdb.base/unload.exp: Likewise.
1054
11cf4ffb
YQ
10552016-04-27 Yao Qi <yao.qi@linaro.org>
1056
1057 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
1058 exists.
1059
3e2e34f8
KB
10602016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1061
1062 * vla-type.exp: Print structure from toplevel.
1063
8f07e298
BH
10642016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1065
1066 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
1067 of dynamic types.
1068 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
1069 of dynamic types.
1070
9920b434
BH
10712016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1072
1073 * gdb.fortran/vla-type.f90: New file.
1074 * gdb.fortran/vla-type.exp: New file.
1075
f3abeff5
YQ
10762016-04-25 Yao Qi <yao.qi@linaro.org>
1077
1078 * gdb.base/branch-to-self.c: New file.
1079 * gdb.base/branch-to-self.exp: New file.
1080
0a5d52f0
YQ
10812016-04-22 Yao Qi <yao.qi@linaro.org>
1082
1083 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
1084 more after $hex.
1085
495346f6
YQ
10862016-04-22 Yao Qi <yao.qi@linaro.org>
1087
1088 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
1089 * gdb.base/annota3.exp: Likewise.
1090
4a7e075c
YQ
10912016-04-22 Yao Qi <yao.qi@linaro.org>
1092
1093 * gdb.reverse/step-precsave.exp: Do one step and test program
1094 stops in "callee" and do multiple steps until program goes out
1095 of "callee".
1096 * gdb.reverse/step-reverse.exp: Likewise.
1097
5b061e98
YQ
10982016-04-22 Yao Qi <yao.qi@linaro.org>
1099
1100 * gdb.trace/signal.exp: Also pass if
1101 $tracepoint_hits($i) > $iterations.
1102
5c5dc57f
YQ
11032016-04-22 Yao Qi <yao.qi@linaro.org>
1104
1105 * gdb.trace/signal.c: New file.
1106 * gdb.trace/signal.exp: New file.
1107
a55411b9
DE
11082016-04-19 Doug Evans <xdje42@gmail.com>
1109
1110 * gdb.base/bad-file.exp: New file.
1111
a22df60a
MG
11122016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
1113
1114 * gdb.dwarf2/implref.exp: New file.
1115
0c13f7e5
BH
11162016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1117
1118 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
1119 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
1120 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
1121 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
1122 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
1123 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
1124 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
1125 * lib/fortran.exp (fortran_int4): New procedure.
1126 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
1127 (fortran_logical4): Likewise.
1128
9b9b09e9
BH
11292016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
1130
1131 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
1132
a14d1f4d
BH
11332016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1134
1135 * lib/compiler.c: Add Intel specific preprocessor macros.
1136 * lib/compiler.cc: Likewise.
25d49b86 1137
7d49b1d0
LM
11382016-04-13 Luis Machado <lgustavo@codesourcery.com>
1139
1140 * gdb.server/connect-with-no-symbol-file.c: New file.
1141 * gdb.server/connect-with-no-symbol-file.exp: New file.
1142
8392fa22
SM
11432016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1144
1145 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
1146
8c4c4aeb
SM
11472016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1148
1149 * boards/gdbserver-base.exp (${board}_download): Copy source file to
1150 standard output directory.
1151
45e3745e
AT
11522016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
1153
1154 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
1155
e26b7e41
MM
11562016-04-13 Markus Metzger <markus.t.metzger@intel.com>
1157
1158 * gdb.btrace/instruction_history.c (loop): Add declaration.
1159
8ce09462
AT
11602016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1161
1162 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
1163
2e88a1ea
SM
11642016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
1165
1166 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
1167 parentheses to print.
1168 (continue_handler): Likewise.
1169
f48e22e3
SM
11702016-04-08 Simon Marchi <simon.marchi@ericsson.com>
1171
1172 * gdb.server/solib-list.exp: Remove is_remote check.
1173 Pass shlib= to gdb_compile. Don't link shared library with
1174 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
1175 Run binary filename through "readlink -f" on the target.
1176
096be756
PA
11772016-04-08 Pedro Alves <palves@redhat.com>
1178
1179 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
1180 interpreter filename as argument to gdbserver_spawn.
1181 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1182 Return empty if $last_loaded_file does not exist.
1183
06500533
JK
11842016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1185
1186 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
1187 * gdb.base/jit-main.c: Use exit after usage.
1188
2d35e871
JK
11892016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1190
1191 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
1192 GDBHISTSIZE prior to the tests.
1193 * gdb.base/gdbinit-history.exp: Likewise.
1194
11952016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
1196
1197 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
1198 instead of build_executable. Use gdb_load_shlibs.
1199
c8064e7e
YQ
12002016-04-07 Yao Qi <yao.qi@linaro.org>
1201
1202 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
1203 Execute "si" command.
1204
bde47561
YQ
12052016-04-07 Yao Qi <yao.qi@linaro.org>
1206
1207 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
1208 number instead of the comments on some line.
1209
b16f8a3b
DB
12102016-04-06 Don Breazeal <donb@codesourcery.com>
1211
1212 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
1213 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
1214
c2f901df
SM
12152016-04-06 Simon Marchi <simon.marchi@ericsson.com>
1216
1217 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
1218 standard_output_file. Remove unused binfile variable.
1219
ac17fda0
CU
12202016-04-05 Catalin Udma <catalin.udma@freescale.com>
1221
1222 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
1223 * gdb.python/py-mi-objfile.exp: Match "list main" output
1224 in console format.
1225
03a8c4df
SM
12262016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
1227
1228 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
1229 absolute.
1230
6e774b13
SM
12312016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1232
1233 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
1234 absolute.
1235 * gdb.trace/ftrace.exp: Likewise.
1236 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
1237 targets as well.
1238 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
1239 (gdb_load_shlibs): Copy libraries to test directory when testing
1240 natively. Only set solib-search-path if testing remotely.
1241 * lib/mi-support.exp (mi_load_shlibs): Likewise.
1242
7817ea46
SM
12432016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1244
1245 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
1246 gdb_download. Use it even if the target is not remote.
1247 * gdb.base/jit.exp (compile_jit_test): Likewise.
1248 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
1249 output directory if the destination board is local, otherwise use
1250 the standard remote_download from DejaGnu.
1251 (gdb_download): Remove.
1252 (gdb_load_shlibs): Use gdb_remote_download instead of
1253 gdb_download.
1254 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1255 Use gdb_remote_download instead of gdb_download. Use it even if
1256 the target is not remote.
1257 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
1258 instead of gdb_download.
1259
7beb7f68
SM
12602016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
1261
1262 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
1263 (test_insert_delete_modify): Call mi_load_shlibs before trying to
1264 run.
1265
cc63428a
AV
12662016-04-01 Artemiy Volkov <artemiyv@acm.org>
1267
1268 PR gdb/19820
1269 * gdb.base/printcmds.exp: Add artificial arrays tests.
1270
64cdf930
PA
12712016-03-31 Pedro Alves <palves@redhat.com>
1272
1273 PR gdb/19858
1274 * gdb.base/jit-main.c: Include unistd.h.
1275 (ATTACH): Define to 0 if not already defined.
1276 (wait_for_gdb, mypid): New globals.
1277 (WAIT_FOR_GDB): New macro.
1278 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1279 some breakpoint locations.
1280 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1281 New procedures.
1282 (one_jit_test): Add REATTACH parameter, and handle it. Use
1283 continue_to_test_location.
1284 (top level): Test attach, and adjusts calls to one_jit_test.
1285
40dea8cb
PA
12862016-03-31 Pedro Alves <palves@redhat.com>
1287
1288 PR gdb/19858
1289 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1290 BINSUFFIX parameter, and handle it.
1291 (top level): Adjust calls compile_jit_test.
1292
e7ea3ec7
CU
12932016-03-31 Catalin Udma <catalin.udma@freescale.com>
1294
1295 PR python/19743
1296 * gdb.python/py-mi-events-gdb.py: New file.
1297 * gdb.python/py-mi-events.c: New file.
1298 * gdb.python/py-mi-events.exp: New file.
1299
e6359af3
YQ
13002016-03-30 Yao Qi <yao.qi@linaro.org>
1301
1302 * gdb.reverse/until-precsave.exp: Match function name only.
1303 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1304 Move malloc to a condition block.
1305 * gdb.reverse/until-reverse.exp: Match function name only.
1306
a4105d04
MK
13072016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1308
1309 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1310 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1311 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1312 variable for GPR 0 instead of assuming it is register 0.
1313 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1314 * lib/trace-support.exp: Add s390 registers.
1315
bfa6adb9
YQ
13162016-03-29 Yao Qi <yao.qi@linaro.org>
1317
1318 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1319
1e6697ea
YQ
13202016-03-24 Yao Qi <yao.qi@linaro.org>
1321
1322 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1323 test message.
1324
64bcd522
AA
13252016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1326
1327 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1328 maintaining separate logic for constructing the output path.
1329
7868401b
DB
13302016-03-16 Don Breazeal <donb@codesourcery.com>
1331
1332 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1333 Retry fork and waitpid on interrupted system call errors.
1334 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1335 Use with_timeout_factor to increase timeout by factor of 10.
1336
1cafadb4
DB
13372016-03-15 Don Breazeal <donb@codesourcery.com>
1338
1339 * gdb.cp/scope-err.cc: New test program.
1340 * gdb.cp/scope-err.exp: New test script.
1341 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1342 lines and "set breakpoint here" comment.
1343 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1344 Fixed some whitespace and format issues.
1345 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1346 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1347
81516450
DE
13482016-03-15 Doug Evans <dje@google.com>
1349
1350 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1351 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1352 All callers updated. Add tests for enums, mixed flags register.
1353
aa52b601
DE
13542016-03-15 Doug Evans <dje@google.com>
1355
1356 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1357 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1358
fa4ff313
SM
13592016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1360
1361 * gdb.base/default.exp: Add $_as_string to the list of expected
1362 convenience functions.
1363
f2403c39
AB
13642016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1365
1366 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1367
f2f3ccb9
SM
13682016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1369
1370 * gdb.python/py-as-string.exp: New file.
1371 * gdb.python/py-as-string.c: New file.
1372
00dbd492
PA
13732016-03-09 Pedro Alves <palves@redhat.com>
1374
1375 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1376 signal" -> "Thread NN received signal" output change.
1377 * gdb.threads/ia64-sigill.exp: Likewise.
1378 * gdb.threads/linux-dp.exp: Likewise.
1379 * gdb.threads/manythreads.exp: Likewise.
1380 * gdb.threads/pending-step.exp: Likewise.
1381 * gdb.threads/print-threads.exp: Likewise.
1382 * gdb.threads/sigstep-threads.exp: Likewise.
1383 * gdb.threads/staticthreads.exp: Likewise.
1384 * gdb.threads/tls.exp: Likewise.
1385
1e6697ea
YQ
13862016-03-09 Pedro Alves <palves@redhat.com>
1387
1388 * gdb.base/command-line-input.exp: New file.
1389
b04fd3be
MK
13902016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1391
1392 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1393 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1394 * gdb.trace/pending.exp: Accept leading dot before function name.
1395 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1396 * lib/trace-support.exp: Set registers for ppc.
1397
98fa59e9
MK
13982016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1399
1400 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1401 use it for disassembly; accept .main in addition to main in backtrace.
1402
f77198c8
MK
14032016-03-09 Wei-cheng Wang <cole945@gmail.com>
1404 Marcin Kościelnicki <koriakin@0x04.net>
1405
1406 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1407 (gdb_recursion_test_ptr): New global variable.
1408 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1409 gdb_recursion_test.
1410 (gdb_c_test): Ditto.
1411
ba84e0da
MK
14122016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1413
1414 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1415 ordering.
1416
4366d36e
MK
14172016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1418
1419 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1420 (bar): Add bar_start_lbl label.
1421 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1422 of foo/bar for emitting DWARF and tracing.
1423
5eb264df
SDJ
14242016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1425
1426 * analyze-racy-logs.py: Set executable bit.
1427
fb6a751f
SDJ
14282016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1429
1430 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1431 (CHECK_TARGET_TMP): Likewise.
1432 (check-single-racy): New rule.
1433 (check-parallel-racy): Likewise.
1434 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1435 (do-check-parallel-racy): New rule.
1436 (check-racy/%.exp): Likewise.
1437 * README (Racy testcases): New section.
1438 * analyze-racy-logs.py: New file.
1439
bdf7e230
DE
14402016-03-03 Doug Evans <dje@google.com>
1441
1442 * gdb.base/skip.exp: Use with_test_prefix.
1443
4719d415
YQ
14442016-03-03 Yao Qi <yao.qi@linaro.org>
1445
1446 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1447 Invoke step_over_syscall "clone" and break_cond_on_syscall
1448 "clone".
1449 * gdb.base/step-over-clone.c: New file.
1450
ea507862
YQ
14512016-03-03 Yao Qi <yao.qi@linaro.org>
1452
1453 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1454 code format.
1455
8fc8cbda
YQ
14562016-03-03 Yao Qi <yao.qi@linaro.org>
1457
1458 * gdb.base/disp-step-fork.c: Rename to ...
1459 * gdb.base/step-over-fork.c: ... it. New file.
1460 * gdb.base/disp-step-vfork.c: Rename to ...
1461 * gdb.base/step-over-vfork.c: ... it. New file.
1462 * gdb.base/disp-step-syscall.exp: Rename to ...
1463 * gdb.base/step-over-syscall.exp: ... it. New file.
1464 (disp_step_cross_syscall): Rename to ...
1465 (step_over_syscall): ... it.
1466
92fa70b0
YQ
14672016-03-03 Yao Qi <yao.qi@linaro.org>
1468
1469 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1470 If target supports condition evaluation on target, invoke
1471 break_cond_on_syscall for fork and vfork.
1472
e197ad3c
YQ
14732016-03-03 Yao Qi <yao.qi@linaro.org>
1474
1475 * gdb.base/disp-step-syscall.exp: Don't invoke
1476 support_displaced_stepping.
1477 (disp_step_cross_syscall): Test with displaced stepping off and
1478 on if supported.
1479
0b47da9f
YQ
14802016-03-03 Yao Qi <yao.qi@linaro.org>
1481
1482 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1483 proc.
1484 (setup): New proc.
1485 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1486 and setup.
1487
065ab6dc
BH
14882016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1489
1490 * gdb.fortran/vla-history.exp: Remove breakpoint.
1491
07e448ad 14922016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1493
25d49b86
PA
1494 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1495 exceeds timeout.
07e448ad 1496
9ac2d526 14972016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1498
25d49b86
PA
1499 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1500 breakpoint.
9ac2d526 1501
17807369
BH
15022016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1503
1504 * gdb.mi/vla.f90: Nullify pointer after declaration.
1505
86e501af
PA
15062016-03-01 Pedro Alves <palves@redhat.com>
1507
1508 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1509
1e903e32
PA
15102016-03-01 Pedro Alves <palves@redhat.com>
1511
1512 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1513 before anything else.
1514 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1515 _GNU_SOURCE here.
1516 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1517 before anything else.
1518 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1519
6ccb54e2
PA
15202016-03-01 Pedro Alves <palves@redhat.com>
1521
1522 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1523
30ca9da1
YQ
15242016-03-01 Yao Qi <yao.qi@linaro.org>
1525
1526 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1527 prepare_for_testing.
1528
dc856b38
YQ
15292016-03-01 Yao Qi <yao.qi@linaro.org>
1530
1531 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1532
4a932159
AA
15332016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1534
1535 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1536 manually constructing the output path.
1537
f2489477
AA
15382016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1539
1540 * gdb.arch/s390-stackless.S: New.
1541 * gdb.arch/s390-stackless.exp: New.
1542
38899f16
IB
15432016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1544
1545 * gdb.dlang/circular.c: New file.
1546 * gdb.dlang/circular.exp: New file.
1547
9fde51ed
YQ
15482016-02-26 Yao Qi <yao.qi@linaro.org>
1549
1550 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1551 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1552 (testcases): Update.
1553
ce90fefe
YQ
15542016-02-26 Yao Qi <yao.qi@linaro.org>
1555
1556 * gdb.reverse/aarch64.c: Rename to ...
1557 * gdb.reverse/insn-reverse.c: ... it.
1558 * gdb.reverse/aarch64.exp: Rename to ...
1559 * gdb.reverse/insn-reverse.exp: ... it.
1560
3263bceb
YQ
15612016-02-26 Yao Qi <yao.qi@linaro.org>
1562
1563 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1564 (testcase_ftype): New.
1565 (testcases): New array.
1566 (n_testcases): New.
1567 (main): Call each element in testcases.
1568 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1569 (read_testcase): New.
1570 Do the tests in a loop.
1571
6cb59ff1
YQ
15722016-02-25 Yao Qi <yao.qi@linaro.org>
1573
1574 * gdb.base/branches.c: Remove.
1575
ae91f625
MK
15762016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1577
1578 PR gdb/13808
1579 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1580
678b48b7
MK
15812016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1582
1583 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1584
7337a6f2
MK
15852016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1586
1587 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1588 change x86_64 call_insn to 'callq'.
1589
861ca91f
AT
15902016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1591
1592 * gdb.trace/tfile-avx.c: Move to...
1593 * gdb.trace/tracefile-pseudo-reg.c: Here.
1594 * gdb.trace/tfile-avx.exp: Move to...
1595 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1596
bf74e428
GB
15972016-02-24 Gary Benson <gbenson@redhat.com>
1598
1599 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1600 message on attach.
1601
cce0e923
DE
16022016-02-23 Doug Evans <dje@google.com>
1603
1604 * gdb.base/skip.c (test_skip): New function.
1605 (end_test_skip_file_and_function): New function.
1606 (test_skip_file_and_function): New function.
1607 * gdb.base/skip1.c (test_skip): New function.
1608 (skip1_test_skip_file_and_function): New function.
1609 * gdb.base/skip.exp: Add tests for new skip options.
1610 * gdb.base/skip-solib.exp: Update expected output.
1611 * gdb.perf/skip-command.cc: New file.
1612 * gdb.perf/skip-command.exp: New file.
1613 * gdb.perf/skip-command.py: New file.
1614
4000e47e
MK
16152016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1616
1617 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1618 info registers pattern.
1619
24f75ead
IB
16202016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1621
1622 * lib/future.exp: Add D support.
1623 (gdb_find_gdc): New proc.
1624 (gdb_default_target_compile): Add D support.
1625
fbb7bcbe
WW
16262016-02-18 Wei-cheng Wang <cole945@gmail.com>
1627
1628 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1629 user+system time.
1630 (trace_speed_test): Determine the iteration count for a time
1631 between 15..30 seconds.
1632
012b3a21
WT
16332016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1634
1635 * gdb.arch/i386-mpx-sigsegv.c: New file.
1636 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1637 * gdb.arch/i386-mpx-simple_segv.c: New file.
1638 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1639
2d5189bd
YQ
16402016-02-18 Yao Qi <yao.qi@linaro.org>
1641
1642 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1643 Don't call setup_kfail.
1644
40fb20d0
YQ
16452016-02-18 Yao Qi <yao.qi@linaro.org>
1646
1647 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1648 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1649
21b1f8d2
DE
16502016-02-16 Doug Evans <dje@google.com>
1651
1652 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1653 * gdb.base/skip1.c: Ditto.
1654 * gdb.base/skip.exp: Whitespace cleanup.
1655
4041ed77
DB
16562016-02-16 Don Breazeal <donb@codesourcery.com>
1657
1658 PR remote/19496
1659 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1660 Remove kfail for PR remote/19496.
1661
c4ef31bf
SM
16622016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1663
1664 * lib/gdb.exp (standard_temp_file): Return a path specific to
1665 the runtest invocation.
1666
266b65b3
SM
16672016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1668
1669 * gdb.trace/save-trace.exp: Change relative path to be in the
1670 standard output directory.
1671
a7a0a6a9
JK
16722016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1673
1674 * gdb.arch/i386-prologue.c: Add missing prototypes.
1675
c99dbb42
JK
16762016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1677
1678 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1679 * gdb.arch/i386-prologue.exp: Likewise.
1680 * gdb.arch/i386-size.exp: Likewise.
1681
aa480355
SM
16822016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1683
1684 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1685 define object file path.
1686 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1687 file path.
1688 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1689 standard_output_file to define binfile.
1690
ba881f50
JK
16912016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1692
1693 Fix compatibility with recent gfortran-5.3.1.
1694 * gdb.fortran/vla-history.exp (print vla1 allocated)
1695 (print vla2 allocated, print $2, print $3): Remove
1696 (print $4): Rename to ...
1697 (print $2): ... here.
1698 (print $9): Rename to ...
1699 (print $5): ... here.
1700 (print $10): Rename to ...
1701 (print $6): ... here.
1702 * gdb.fortran/vla.f90: Add pvla initialization.
1703
e9fb005c
JK
17042016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1705
1706 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1707 New test.
1708 * gdb.fortran/vla-value-sub.exp: Likewise.
1709
e44e00ff
MK
17102016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1711
1712 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1713
97e94151
SM
17142016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1715
1716 * i386-biarch-core.exp: Define corefile using
1717 standard_output_file.
1718
01113bc1
YQ
17192016-02-12 Yao Qi <yao.qi@linaro.org>
1720
1721 * gdb.arch/arm-single-step-kernel-helper.c: New.
1722 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1723
33b4777c
MM
17242016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1725
1726 * gdb.btrace/tailcall-only.exp: New.
1727 * gdb.btrace/tailcall-only.c: New.
1728 * gdb.btrace/x86_64-tailcall-only.S: New.
1729 * gdb.btrace/i686-tailcall-only.S: New.
1730
acc23c11
PA
17312016-02-11 Pedro Alves <palves@redhat.com>
1732
1733 * README (Parallel testing): Add missing double quotes.
1734
e352bf0a
PA
17352016-02-11 Pedro Alves <palves@redhat.com>
1736
1737 * README (Parallel testing): New section.
1738 (GDB_PARALLEL): Rewrite.
1739 (FORCE_PARALLEL): Document.
1740
9f5fed78
MK
17412016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1742
1743 * gdb.trace/tfile-avx.c: New test.
1744 * gdb.trace/tfile-avx.exp: New test.
1745
9ef9e6a6
KS
17462016-02-09 Keith Seitz <keiths@redhat.com>
1747
1748 PR breakpoints/19546
1749 * gdb.base/infcall-exec.c: New file.
1750 * gdb.base/infcall-exec2.c: New file.
1751 * gdb.base/infcall-exec.exp: New file.
1752
a96e36da
KS
17532016-02-09 Keith Seitz <keiths@redhat.com>
1754
1755 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1756 (toplevel): Call test_bkpt_address.
1757
9f61929f
KS
17582016-02-09 Keith Seitz <keiths@redhat.com>
1759
1760 PR python/19506
1761 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1762 (toplevel): Call test_bkpt_address.
1763
1e94266c
SM
17642016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1765
1766 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1767 to AC_OUTPUT.
1768 * configure: Regenerate.
1769
2a7f3dff
PA
17702016-02-09 Pedro Alves <palves@redhat.com>
1771
1772 PR breakpoints/19548
1773 * gdb.base/execl-update-breakpoints.c (some_function): New
1774 function.
1775 (main): Call it.
1776 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1777 Tighten expected GDB output.
1778
2151ccc5
SM
17792016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1780
1781 * Makefile.in (ALL_SUBDIRS): Remove.
1782 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1783 (distclean maintainer-clean realclean): Likewise.
1784 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1785 * configure: Regenerate.
1786 * gdb.ada/Makefile.in: Delete.
1787 * gdb.arch/Makefile.in: Likewise.
1788 * gdb.asm/Makefile.in: Likewise.
1789 * gdb.base/Makefile.in: Likewise.
1790 * gdb.btrace/Makefile.in: Likewise.
1791 * gdb.cell/Makefile.in: Likewise.
1792 * gdb.compile/Makefile.in: Likewise.
1793 * gdb.cp/Makefile.in: Likewise.
1794 * gdb.disasm/Makefile.in: Likewise.
1795 * gdb.dlang/Makefile.in: Likewise.
1796 * gdb.dwarf2/Makefile.in: Likewise.
1797 * gdb.fortran/Makefile.in: Likewise.
1798 * gdb.gdb/Makefile.in: Likewise.
1799 * gdb.go/Makefile.in: Likewise.
1800 * gdb.guile/Makefile.in: Likewise.
1801 * gdb.java/Makefile.in: Likewise.
1802 * gdb.linespec/Makefile.in: Likewise.
1803 * gdb.mi/Makefile.in: Likewise.
1804 * gdb.modula2/Makefile.in: Likewise.
1805 * gdb.multi/Makefile.in: Likewise.
1806 * gdb.objc/Makefile.in: Likewise.
1807 * gdb.opencl/Makefile.in: Likewise.
1808 * gdb.opt/Makefile.in: Likewise.
1809 * gdb.pascal/Makefile.in: Likewise.
1810 * gdb.perf/Makefile.in: Likewise.
1811 * gdb.python/Makefile.in: Likewise.
1812 * gdb.reverse/Makefile.in: Likewise.
1813 * gdb.server/Makefile.in: Likewise.
1814 * gdb.stabs/Makefile.in: Likewise.
1815 * gdb.threads/Makefile.in: Likewise.
1816 * gdb.trace/Makefile.in: Likewise.
1817 * gdb.xml/Makefile.in: Likewise.
1818 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1819 GDB_PARALLEL.
1820 (standard_output_file): Remove check for GDB_PARALLEL, always
1821 return path in outputs/$subdir/$testname.
1822
437277d4
SM
18232016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1824
1825 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1826 (site.exp): Assign abs_srcdir to tcl's srcdir.
1827
31d913c7
YQ
18282016-02-04 Yao Qi <yao.qi@linaro.org>
1829
1830 * gdb.base/foll-exec-mode.c: Include limits.h.
1831 (main): Add parameters argc and argv. Get directory from
1832 argv[0].
1833 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1834 compilation.
1835 * gdb.base/foll-exec.c: Include limits.h.
1836 (main): Add parameters argc and argv.
1837 Get directory from argv[0].
1838 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1839 Adjust tests on the number of lines as source code changed.
1840 * gdb.base/foll-vfork-exit.c: Include limits.h.
1841 (main): Add one line of statement before vfork.
1842 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1843 (main): Add parameters argc and argv. Get directory from
1844 argv[0].
1845 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1846 (setup_gdb): Set tbreak to skip some source lines.
1847 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1848 (main): Add parameters argc and argv. Get directory from
1849 argv[0].
1850 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1851 compilation.
1852 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1853 (main): Add parameters argc and argv. Get directory from
1854 argv[0].
1855 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1856 compilation.
1857
9482b9fb
DE
18582016-02-01 Doug Evans <dje@google.com>
1859
1860 * gdb.base/skip.exp: Clean up multiple references to same test name.
1861
6b2e4f10
PA
18622016-02-01 Pedro Alves <palves@redhat.com>
1863
ccb6afd6 1864 PR remote/19496
6b2e4f10
PA
1865 * gdb.threads/forking-threads-plus-breakpoint.exp
1866 (displaced_stepping_supported): New global.
1867 (probe_displaced_stepping_support): New procedure.
1868 (do_test): Add 'displaced' parameter, and use it.
1869 (top level): Check for displaced stepping support. Add displaced
1870 stepping on/off testing axis.
1871
37a8db1a
AB
18722016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1873
1874 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1875 pointer. Don't perform further tests on the unassociated pointer
1876 if the first test fails.
1877
5fdf6324
AB
18782016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1879
1880 * gdb.base/max-value-size.c: New file.
1881 * gdb.base/max-value-size.exp: New file.
1882 * gdb.base/huge.exp: Disable max-value-size for this test.
1883
935c6144
IB
18842016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1885
1886 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1887
7fe8399d
YQ
18882016-01-28 Yao Qi <yao.qi@linaro.org>
1889
1890 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1891
a2077e25
PA
18922016-01-25 Pedro Alves <palves@redhat.com>
1893
1894 PR threads/19461
1895 * gdb.base/fork-running-state.c: New file.
1896 * gdb.base/fork-running-state.exp: New file.
1897
1d2736d4
PA
18982016-01-25 Pedro Alves <palves@redhat.com>
1899
1900 PR gdb/19494
1901 * gdb.base/catch-fork-kill.c: New file.
1902 * gdb.base/catch-fork-kill.exp: New file.
1903
f1da4b11
PA
19042016-01-25 Pedro Alves <palves@redhat.com>
1905
1906 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1907 Delete, moved to lib/gdb.exp.
1908 * gdb.threads/forking-threads-plus-breakpoint.exp
1909 (foreach_with_prefix): Likewise.
1910 * gdb.threads/process-dies-while-handling-bp.exp
1911 (foreach_with_prefix): Likewise.
1912 * lib/gdb.exp (foreach_with_prefix): New procedure.
1913
45f38546
MK
19142016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1915
1916 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1917 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1918
dc29a1ce
MK
19192016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1920
1921 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1922 endian targets.
1923
092127d7
JK
19242016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1925 Pedro Alves <palves@redhat.com>
1926
1927 Fix testsuite compatibility with Guile.
1928 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1929 number.
1930
31d765d3
JK
19312016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1932
1933 Fix testsuite compatibility with Guile.
1934 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1935 (thread 1): New test for backtrace through signal handler.
1936
1ac78c04
YQ
19372016-01-22 Yao Qi <yao.qi@linaro.org>
1938
1939 PR testsuite/19491
1940 * gdb.base/multi-forks.c: Include
1941 ../lib/unbuffer_output.c
1942 (main): Call gdb_unbuffer_output.
1943
4f5946a8
DE
19442016-01-21 Doug Evans <dje@google.com>
1945
1946 * lib/ada.exp (gdb_compile_ada): Fix typo.
1947
305e13e6
JB
19482016-01-21 Joel Brobecker <brobecker@adacore.com>
1949
1950 * gdb.base/break-fun-addr.exp: New file.
1951 * gdb.base/break-fun-addr1.c: New file.
1952 * gdb.base/break-fun-addr2.c: New file.
1953
5f5dfff6
SM
19542016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1955
1956 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1957 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1958 enum flag values.
1959
fd356fa2
AA
19602016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1961
1962 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1963 when GDB can not set the vector return value. Add more comments
1964 for clarification.
1965
9df22175
AT
19662016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1967
1968 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1969 command.
1970
41d1845e
SM
19712016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1972
1973 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1974
01ac6840
SM
19752016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1976
1977 * Makefile.in (check-single): Pass --status to runtest.
1978 (check/%.exp): Likewise.
1979
19802016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1981
1982 * Makefile.in (check-parallel): Propagate return code from make
1983 do-check-parallel.
1984
bd0a71fa
MK
19852016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1986
1987 * gdb.trace/ftrace.exp: Fix expected message on continue.
1988 * gdb.trace/pending.exp: Fix expected message on continue.
1989 * gdb.trace/trace-break.exp: Fix expected message on continue.
1990
8bcbad33
SM
19912016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1992
1993 * lib/gdb.exp (gdb_test): Remove unused global references.
1994
f303dbd6
PA
19952016-01-18 Pedro Alves <palves@redhat.com>
1996
1997 * gdb.base/async-shell.exp: Adjust expected output.
1998 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1999 * gdb.base/siginfo-thread.exp: Adjust expected output.
2000 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
2001 * gdb.java/jnpe.exp: Adjust expected output.
2002 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
2003 * gdb.threads/continue-pending-status.exp: Adjust expected output.
2004 * gdb.threads/leader-exit.exp: Adjust expected output.
2005 * gdb.threads/manythreads.exp: Adjust expected output.
2006 * gdb.threads/pthreads.exp: Adjust expected output.
2007 * gdb.threads/schedlock.exp: Adjust expected output.
2008 * gdb.threads/siginfo-threads.exp: Adjust expected output.
2009 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
2010 expected output.
2011 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
2012 output.
2013 * gdb.threads/sigthread.exp: Adjust expected output.
2014 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
2015
b2789696
YQ
20162016-01-18 Yao Qi <yao.qi@linaro.org>
2017
2018 * gdb.guile/scm-section-script.c: Replace @progbits with
2019 %progbits.
2020 * gdb.python/py-section-script.c: Likewise.
2021
71ef29a8
PA
20222016-01-15 Pedro Alves <palves@redhat.com>
2023
2024 * gdb.multi/tids.exp: Test star wildcard ranges.
2025
3f5b7598
PA
20262016-01-15 Pedro Alves <palves@redhat.com>
2027
2028 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
2029 command from "thread apply" invocation.
2030 (thr_apply_info_thr_invalid): Default the expected output to the
2031 input tid list.
2032 (top level): Add tests that use convenience variables. Add tests
2033 for "thread apply" with a valid TID list, but missing the command.
2034
663f6d42
PA
20352016-01-13 Pedro Alves <palves@redhat.com>
2036
2037 * gdb.base/default.exp: Expect $_gthread as well.
2038 * gdb.multi/tids.exp: Test $_gthread.
2039 * gdb.threads/thread-specific.exp: Test $_gthread.
2040
c84f6bbf
PA
20412016-01-13 Pedro Alves <palves@redhat.com>
2042
2043 * gdb.multi/tids.exp: Test "info threads -gid".
2044
22a02324
PA
20452016-01-13 Pedro Alves <palves@redhat.com>
2046
2047 * gdb.multi/tids.exp: Test InferiorThread.global_num and
2048 Breakpoint.thread.
2049 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
2050
5d5658a1
PA
20512016-01-07 Pedro Alves <palves@redhat.com>
2052
2053 * gdb.base/break.exp: Adjust to output changes.
2054 * gdb.base/hbreak2.exp: Likewise.
2055 * gdb.base/sepdebug.exp: Likewise.
2056 * gdb.base/watch_thread_num.exp: Likewise.
2057 * gdb.linespec/keywords.exp: Likewise.
2058 * gdb.multi/info-threads.exp: Likewise.
2059 * gdb.threads/thread-find.exp: Likewise.
2060 * gdb.multi/tids.c: New file.
2061 * gdb.multi/tids.exp: New file.
2062
84654457
PA
20632016-01-13 Pedro Alves <palves@redhat.com>
2064
2065 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
2066
e3940304
PA
20672016-01-13 Pedro Alves <palves@redhat.com>
2068
2069 * gdb.base/default.exp: Expect $_inferior as well.
2070 * gdb.multi/base.exp: Test $_inferior.
2071
a911d87a
PA
20722016-01-13 Pedro Alves <palves@redhat.com>
2073
2074 PR breakpoints/19388
2075 * gdb.base/catch-signal-siginfo-cond.c: New file.
2076 * gdb.base/catch-signal-siginfo-cond.exp: New file.
2077
82075af2
JS
20782016-01-12 Josh Stone <jistone@redhat.com>
2079 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2080
2081 * gdb.base/catch-syscall.c (do_execve): New variable.
2082 (main): Conditionally trigger an execve.
2083 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
2084 (test_catch_syscall_execve): New, check entry/return across execve.
2085 (do_syscall_tests): Call test_catch_syscall_execve.
2086
e46eeedd
PA
20872016-01-12 Pedro Alves <palves@redhat.com>
2088
2089 * gdb.base/random-signal.exp (do_test): New procedure, with body
2090 of testcase moved in.
2091
01d8c27e
JK
20922016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2093 Pedro Alves <palves@redhat.com>
2094
2095 * gdb.base/funcargs.exp (finish from indirectly called function):
2096 Reintroduce the case for 'First'.
2097
9a706302
JK
20982016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2099 Pedro Alves <palves@redhat.com>
2100
2101 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
2102 (tcatch_vfork_then_child_follow_exec)
2103 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
2104 identification.
2105
c0ecb95f
JK
21062016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2107
2108 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
2109 and repeats to unlimited.
2110 * gdb.python/py-value.exp: Likewise.
2111 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
2112 and repeats to unlimited.
2113
6cfc1fcb
JK
21142016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2115
2116 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
2117 and reordering the functions.
2118 * gdb.multi/hangout.c: Likewise.
2119 * gdb.multi/hello.c: Likewise.
2120
582a1b00
SM
21212016-01-08 Simon Marchi <simon.marchi@ericsson.com>
2122
2123 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
2124 absolute.
2125 (SingleStatisticTestResult.report): Use dict.keys instead of
2126 dict.iterkeys.
2127
79bc59cb
PA
21282016-01-06 Pedro Alves <palves@redhat.com>
2129
2130 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
2131
43368e1d
MM
21322016-01-04 Markus Metzger <markus.t.metzger@intel.com>
2133
2134 * gdb.btrace/dlopen.exp: New.
2135 * gdb.btrace/dlopen.c: New.
2136 * gdb.btrace/dlopen-dso.c: New.
2137
79fad5b8
SL
21382015-12-25 Sandra Loosemore <sandra@codesourcery.com>
2139
2140 * lib/gdb.exp (gdb_test): Update comments to clarify that the
2141 PATTERN argument is optional.
2142
ab8314b3
JB
21432015-12-24 Joel Brobecker <brobecker@adacore.com>
2144
2145 * lib/ada.exp (target_compile_ada_from_dir): New function.
2146 (gdb_compile_ada): Reimplement avoiding the use of project files.
2147 * gdb.ada/gnat_ada.gpr: Delete.
2148 * gdb.ada/cond_lang.exp: Adjust test to make path before
2149 filename optional.
2150 * gdb.ada/small_reg_param.exp: Likewise.
2151
fe33faff
SM
21522015-12-22 Simon Marchi <simon.marchi@ericsson.com>
2153
2154 * gdb.base/foll-vork.exp: Remove HP-UX special case.
2155
6d265cb4
TP
21562015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
2157
2158 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
2159 case.
2160
10125099
SM
21612015-12-21 Simon Marchi <simon.marchi@ericsson.com>
2162
2163 * gdb.base/break.exp: Remove dead code.
2164 * gdb.base/sepdebug.exp: Likewise.
2165
3ca22649
SM
21662015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2167
2168 * gdb.asm/asm-source.exp: Remove HP-UX references.
2169 * gdb.base/annota1.exp: Likewise.
2170 * gdb.base/annota3.exp: Likewise.
2171 * gdb.base/attach.exp: Likewise.
2172 * gdb.base/bigcore.exp: Likewise.
2173 * gdb.base/break.exp: Likewise.
2174 * gdb.base/call-ar-st.exp: Likewise.
2175 * gdb.base/callfuncs.exp: Likewise.
2176 * gdb.base/catch-fork-static.exp: Likewise.
2177 * gdb.base/display.exp: Likewise.
2178 * gdb.base/foll-exec-mode.exp: Likewise.
2179 * gdb.base/foll-exec.exp: Likewise.
2180 * gdb.base/foll-fork.exp: Likewise.
2181 * gdb.base/foll-vfork.exp: Likewise.
2182 * gdb.base/funcargs.exp: Likewise.
2183 * gdb.base/hbreak2.exp: Likewise.
2184 * gdb.base/inferior-died.exp: Likewise.
2185 * gdb.base/interrupt.exp: Likewise.
2186 * gdb.base/multi-forks.exp: Likewise.
2187 * gdb.base/nodebug.exp: Likewise.
2188 * gdb.base/sepdebug.exp: Likewise.
2189 * gdb.base/solib1.c: Likewise.
2190 * gdb.base/step-test.exp: Likewise.
2191 * gdb.mi/non-stop.c: Likewise.
2192 * gdb.mi/pthreads.c: Likewise.
2193 * gdb.multi/bkpt-multi-exec.ex: Likewise.
2194 * gdb.threads/pthreads.c: Likewise.
2195 * gdb.threads/staticthreads.exp: Likewise.
2196 * lib/future.exp: Likewise.
2197 * lib/gdb.exp: Likewise.
2198 * gdb.base/so-indr-cl.c: Remove.
2199 * gdb.base/so-indr-cl.exp: Likewise.
2200 * gdb.base/solib.c: Likewise.
2201 * gdb.base/solib.exp: Likewise.
2202 * gdb.base/solib2.c: Likewise.
2203
b6304613
SM
22042015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2205
2206 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
2207 * gdb.base/call-ar-st.exp: Likewise.
2208 * gdb.base/callfuncs.exp: Likewise.
2209 * gdb.base/condbreak.exp: Likewise.
2210 * gdb.base/constvars.exp: Likewise.
2211 * gdb.base/hbreak2.exp: Likewise.
2212 * gdb.base/langs.exp: Likewise.
2213 * gdb.base/list.exp: Likewise.
2214 * gdb.base/long_long.exp: Likewise.
2215 * gdb.base/ptype.exp: Likewise.
2216 * gdb.base/scope.exp: Likewise.
2217 * gdb.base/signals.exp: Likewise.
2218 * gdb.base/so-impl-ld.exp: Likewise.
2219 * gdb.base/varargs.exp: Likewise.
2220 * gdb.base/volatile.exp: Likewise.
2221 * gdb.base/whatis.exp: Likewise.
2222 * gdb.cp/cplusfuncs.exp: Likewise.
2223 * gdb.cp/inherit.exp: Likewise.
2224 * gdb.cp/local.exp: Likewise.
2225 * gdb.cp/member-ptr.exp: Likewise.
2226 * gdb.cp/method.exp: Likewise.
2227 * gdb.cp/overload.exp: Likewise.
2228 * gdb.cp/templates.exp: Likewise.
2229 * gdb.stabs/weird.exp: Likewise.
2230 * lib/compiler.c: Likewise.
2231 * lib/compiler.cc: Likewise.
2232 * lib/cp-support.exp: Likewise.
2233 * lib/gdb.exp: Likewise.
2234
bf401b07
SM
22352015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
2236
2237 * configure.ac: Remove HP-UX case.
2238 * configure: Regenerate.
2239
aff9c0f8
SM
22402015-12-18 Simon Marchi <simon.marchi@ericsson.com>
2241
2242 * lib/gdb.exp (gdb_compile): Add function doc.
2243
a6904d5a
PA
22442015-12-17 Pedro Alves <palves@redhat.com>
2245
2246 PR threads/19354
2247 * gdb.multi/info-threads.exp: New file.
2248
a22279dd
YQ
22492015-12-15 Yao Qi <yao.qi@linaro.org>
2250
2251 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
2252 is aarch64*-*-*.
2253
0588c796
SL
22542015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2255
2256 * gdb.base/history-duplicates.exp: Skip if no readline support.
2257
5d978e17
SL
22582015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2259
2260 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
2261
7e763b86
SL
22622015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2263
2264 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
2265
87a3a92c
SL
22662015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2267
2268 * gdb.base/completion.exp: Skip tests that interrupt GDB with
2269 ctrl-C if nointerrupts target property is set.
2270 * gdb.base/double-prompt-target-event-error.exp: Likewise.
2271 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
2272 * gdb.base/paginate-bg-execution.exp: Likewise.
2273 * gdb.base/paginate-execution-startup.exp: Likewise.
2274 * gdb.base/random-signal.exp: Likewise.
2275 * gdb.base/range-stepping.exp: Likewise.
2276 * gdb.cp/annota2.exp: Likewise.
2277 * gdb.cp/annota3.exp: Likewise.
2278 * gdb.gdb/selftest.exp: Likewise.
2279 * gdb.threads/continue-pending-status.exp: Likewise.
2280 * gdb.threads/leader-exit.exp: Likewise.
2281 * gdb.threads/manythreads.exp: Likewise.
2282 * gdb.threads/pthreads.exp: Likewise.
2283 * gdb.threads/schedlock.exp: Likewise.
2284 * gdb.threads/sigthread.exp: Likewise.
2285
a8f077dc
DB
22862015-12-11 Don Breazeal <donb@codesourcery.com>
2287
2288 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2289 remote.
2290 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2291 * gdb.base/foll-exec.exp (main): Enable for target remote.
2292 * gdb.base/foll-fork.exp (main): Likewise.
2293 * gdb.base/foll-vfork.exp (main): Likewise.
2294 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2295 (proc continue_to_exit_bp_loc): Use clean_restart.
2296 * gdb.base/pie-execl.exp (main): Disable for target remote.
2297 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2298 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2299 * gdb.threads/execl.exp (main): Likewise.
2300 * gdb.threads/fork-child-threads.exp (main): Likewise.
2301 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2302 remote.
2303 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2304 remote.
2305 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2306 pid.tid style ptids, instead of just tid.
2307 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2308 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2309 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2310 ptids, instead of just tid.
2311
3b2464a8
AB
23122015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2313
2314 * gdb.base/list.exp (test_list_forward): Add end of file error
2315 test.
2316 (test_repeat_list_command): Add end of file error test.
2317 (test_list_backwards): Add beginning of file error test.
2318
a0def019
AB
23192015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2320
2321 * gdb.base/list.exp (test_list_invalid_args): New function,
2322 defined, and called.
2323
5c000dff
AB
23242015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2325
2326 * gdb.base/list.exp (test_list): Make test names unique.
2327
f1637ebe
YQ
23282015-12-11 Yao Qi <yao.qi@linaro.org>
2329
2330 * gdb.base/coremaker2.c: Remove.
2331
36d6fc0a
PA
23322015-12-10 Pedro Alves <palves@redhat.com>
2333
2334 * gdb.multi/base.exp: Remove stale "spaces" references.
2335
762f7747
PA
23362015-12-10 Pedro Alves <palves@redhat.com>
2337
2338 * gdb.multi/base.exp: Don't use nowarnings.
2339 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2340 * gdb.multi/hangout.c: Include stdio.h.
2341 * gdb.multi/hello.c: Include stdlib.h.
2342 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2343 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2344 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2345
28d2bfb9
AB
23462015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2347
2348 * gdb.dwarf2/dw2-ranges-base.c: New file.
2349 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2350 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2351 support additional line table, and debug ranges generation.
2352 (Dwarf::ranges): New function, generate .debug_ranges.
2353 (Dwarf::lines): Support generating simple line table programs.
2354 (Dwarf::assemble): Initialise new namespace variables.
2355
5fc2beac
KB
23562015-12-09 Kevin Buettner <kevinb@redhat.com>
2357
2358 * gdb.base/async.exp (proc test_background): Add case for
2359 asynchronous execution not supported.
2360
1c35a88f
LM
23612015-12-09 Luis Machado <lgustavo@codesourcery.com>
2362
2363 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2364 format and change test names to make them unique.
2365
b593e3d9
RK
23662015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2367 Pedro Alves <pedro@redhat.com>
2368
2369 PR gdb/18702
2370 Add checking of floatformats setup on x86_64 hosts.
2371 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2372 (smallval, bigval): New labels/constants.
2373 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2374 float" after loading bigval and smallval.
2375
d72413e6
PMR
23762015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2377
2378 * gdb.ada/fun_overload_menu.exp: New testcase.
2379 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2380
ece66d65
JS
23812015-12-04 Josh Stone <jistone@redhat.com>
2382
2383 * gdb.base/catch-fork-static.exp: New.
2384
41d0efca
YQ
23852015-12-03 Yao Qi <yao.qi@linaro.org>
2386
2387 * gdb.base/sizeof.c: Don't include stdio.h and
2388 ../lib/unbuffer_output.c.
2389 (main): New variable 'size' and 'value'. Remove printf and
2390 gdb_unbuffer_output. Assign return value to size and value.
2391 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2392 at the beginning.
2393 (check_sizeof): Check the result by printing variable 'size'.
2394 (check_valueof): Check the result by printing variable 'value'.
2395
99fd02d9
YQ
23962015-12-01 Yao Qi <yao.qi@linaro.org>
2397
2398 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2399 for aarch64*-*-linux* target.
2400
f2faf941
PA
24012015-11-30 Pedro Alves <palves@redhat.com>
2402
2403 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2404
04bf20c5
PA
24052015-11-30 Pedro Alves <palves@redhat.com>
2406
2407 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2408 Handle non-stop mode vCont replies.
2409
09df4675
PA
24102015-11-30 Pedro Alves <palves@redhat.com>
2411
2412 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2413 prepare_for_testing. Start gdb with "set non-stop on" appended to
2414 GDBFLAGS. Lax expected stop output.
2415
58b584af
YQ
24162015-11-27 Yao Qi <yao.qi@linaro.org>
2417
2418 * gdb.arch/arm-neon.exp: New.
2419 * gdb.arch/arm-neon.c: New.
2420
dfcb77a8
YQ
24212015-11-27 Yao Qi <yao.qi@linaro.org>
2422
2423 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2424
88e8ec1b
YQ
24252015-11-27 Yao Qi <yao.qi@linaro.org>
2426
2427 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2428 frames-invalid annotation.
2429
bfde72c2
YQ
24302015-11-27 Yao Qi <yao.qi@linaro.org>
2431
2432 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2433
f6512a69
SM
24342015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2435
2436 * gdb.threads/names.exp: New file.
2437 * gdb.threads/names.c: New file.
2438 * README: Mention gdb,no_thread_names.
2439
46a3515b
MM
24402015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2441
2442 PR 19297
2443 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2444 support" error.
2445
62147a22
PA
24462015-11-24 Pedro Alves <palves@redhat.com>
2447
2448 PR 17539
2449 * gdb.base/display.exp: Expect displays to be sorted in ascending
2450 order. Use multi_line.
2451 * gdb.base/solib-display.exp: Likewise.
2452
2f341b6e
PA
24532015-11-24 Pedro Alves <palves@redhat.com>
2454
2455 PR 17539
25d49b86
PA
2456 * gdb.base/display.exp: Expect displays to be sorted in ascending
2457 order. Use multi_line.
2458 * gdb.base/solib-display.exp: Likewise.
2f341b6e 2459
7e0aa6aa
PA
24602015-11-24 Pedro Alves <palves@redhat.com>
2461
2462 PR 17539
2463 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2464 threads in ascending order.
2465 * gdb.base/foll-fork.exp: Likewise.
2466 * gdb.base/foll-vfork.exp: Likewise.
2467 * gdb.base/multi-forks.exp: Likewise.
2468 * gdb.mi/mi-nonstop.exp: Likewise.
2469 * gdb.mi/mi-nsintrall.exp: Likewise.
2470 * gdb.multi/base.exp: Likewise.
2471 * gdb.multi/multi-arch.exp: Likewise.
2472 * gdb.python/py-inferior.exp: Likewise.
2473 * gdb.threads/break-while-running.exp: Likewise.
2474 * gdb.threads/execl.exp: Likewise.
2475 * gdb.threads/gcore-thread.exp: Likewise.
2476 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2477 * gdb.threads/kill.exp: Likewise.
2478 * gdb.threads/linux-dp.exp: Likewise.
2479 * gdb.threads/multiple-step-overs.exp: Likewise.
2480 * gdb.threads/next-bp-other-thread.exp: Likewise.
2481 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2482 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2483 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2484 * gdb.threads/thread-find.exp: Likewise.
2485 * gdb.threads/tls.exp: Likewise.
2486 * lib/mi-support.exp (mi_reverse_list): Delete.
2487 (mi_check_thread_states): No longer reverse list.
2488
2cc57ad8
PA
24892015-11-24 Pedro Alves <palves@redhat.com>
2490
2491 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2492 use lowercase.
2493
c93e8391
SM
24942015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2495
2496 * gdb.trace/actions.c: Include trace-common.h.
2497 (main): Add a location for a fast tracepoint.
2498 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2499 the normal tracepoints.
2500 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2501
045ccf91
SM
25022015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2503
2504 * save-trace.exp: Factor out code to these...
2505 (gdb_save_tracepoints): New.
2506 (gdb_load_tracepoints): New.
2507 (do_save_load_test): New.
2508
5506f9f6
KB
25092015-11-23 Kevin Buettner <kevinb@redhat.com>
2510
2511 * gdb.base/asmlabel.exp: New test.
2512 * gdb.base/asmlabel.c: New test case.
2513
16c3b12f
JB
25142015-11-23 Joel Brobecker <brobecker@adacore.com>
2515
2516 * gdb.base/wrong_frame_bt_full-main.c: New file.
2517 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2518 * gdb.base/wrong_frame_bt_full.exp: New file.
2519
155bfbd3
JB
25202015-11-23 Joel Brobecker <brobecker@adacore.com>
2521
2522 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2523
bb097445
JM
25242015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2525
206853a0 2526 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
2527 pstate register when comparing registers values in
2528 sparc64-*-linux-gnu targets to avoid spurious differences.
2529
9c88ed8f
JM
25302015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2531
206853a0 2532 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 2533
96161e25
SL
25342015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2535
2536 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2537 as type argument to gdb_compile.
2538 * gdb.base/nested-subp2.exp: Likewise.
2539 * gdb.base/nested-subp3.exp: Likewise.
2540
340c2830
DV
25412015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2542
2543 * lib/dwarf.exp (_note): Fix left shift of negative value.
2544 * gdb.trace/trace-condition.exp: Likewise.
2545
c1862d0f
YQ
25462015-11-13 Yao Qi <yao.qi@linaro.org>
2547
2548 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2549 comments about d10v.
2550 (test_scalar_returns): Likewise.
2551 * gdb.base/d10v.ld: Remove.
2552 * gdb.base/overlays.exp: Remove the target triplet checking for
2553 d10v-*-*.
2554 * gdb.base/structs.exp (test_struct_returns): Remove the
2555 comments about d10v.
2556 (test_struct_calls): Likewise.
2557
77ae9c19
YQ
25582015-11-13 Yao Qi <yao.qi@linaro.org>
2559
2560 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2561 * gdb.base/gnu_vector.c: Don't include stdio.h.
2562 (main): Don't print res and call add_some_intvecs.
2563
430e004e
MK
25642015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2565
2566 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2567 macro.
2568 (func5): Removed.
2569 (func4): Use FAST_TRACEPOINT_LABEL.
2570 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2571 macro.
2572 (func): Removed.
2573 (thread_function): Use FAST_TRACEPOINT_LABEL.
2574 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2575 (func): Remove.
2576 (marker): Use FAST_TRACEPOINT_LABEL.
2577 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2578 (pendfunc1): Remove.
2579 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2580 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2581 (foo): Remove.
2582 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2583 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2584 macro.
2585 (func): Remove.
2586 (marker): Use FAST_TRACEPOINT_LABEL.
2587 * gdb.trace/trace-common.h: New header.
2588 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2589 macro.
2590 (func): Remove.
2591 (marker): Use FAST_TRACEPOINT_LABEL.
2592 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2593 (func): Remove.
2594 (thread_function): Use FAST_TRACEPOINT_LABEL.
2595
6e7675a7
MK
25962015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2597
2598 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2599 in front.
2600 * gdb.trace/change-loc.exp: Use global pcreg definition.
2601 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2602 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2603 in front.
2604 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2605 * gdb.trace/pending.exp: Likewise.
2606 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2607 * gdb.trace/trace-break.exp: Likewise.
2608 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2609 in front.
2610 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2611 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2612 in front.
2613 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2614
dddc0e16
JB
26152015-11-09 Joel Brobecker <brobecker@adacore.com>
2616
2617 * gdb.ada/fin_fun_out: New testcase.
2618
c6f0b406
KB
26192015-11-07 Kevin Buettner <kevinb@redhat.com>
2620
2621 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2622 value associated with DW_AT_byte_size.
2623 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2624 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2625 DW_AT_upper_bound.
2626
f01dcfd9
KB
26272015-11-07 Kevin Buettner <kevinb@redhat.com>
2628
2629 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2630 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2631 version.
2632 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2633 gdb.dwarf2/dw2-canonicalize-type.exp,
2634 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2635 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2636 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2637 provided by gdb_target_symbol_prefix_flags_asm.
2638 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2639 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2640 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2641 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2642 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2643 macros where needed). Use this macro for symbols which require
2644 the prefix provided by SYMBOL_PREFIX.
2645
2223449a
KB
26462015-11-05 Kevin Buettner <kevinb@redhat.com>
2647
2648 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2649 New procs.
2650 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2651 representing expressions, of more than one list element.
2652 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2653 to prepend linker symbol prefix to f.
2654 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2655 table_1 and table_2.
2656 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2657 Likewise, for f and g.
2658 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2659 for ptr.
2660 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2661 for main.
2662 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2663 table_1_ptr and table_2_ptr.
2664
6f2f1a3a
JK
26652015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2666 Joel Brobecker <brobecker@adacore.com>
2667
2668 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2669
566c56c9
MK
26702015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2671
2672 * gdb.reverse/s390-mvcle.c: New test.
2673 * gdb.reverse/s390-mvcle.exp: New file.
2674 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2675
d5f0636b
MK
26762015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2677
2678 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2679
7ad8b86c
MK
26802015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2681
2682 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2683 reaching marker2.
2684 * gdb.reverse/getresuid-reverse.exp: Likewise.
2685 * gdb.reverse/pipe-reverse.exp: Likewise.
2686 * gdb.reverse/readv-reverse.exp: Likewise.
2687 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2688 * gdb.reverse/time-reverse.exp: Likewise.
2689 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2690
4081c0f1
YQ
26912015-10-30 Yao Qi <yao.qi@linaro.org>
2692
2693 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2694 (empty_cycle): Remove.
2695 (main): Don't call empty_cycle. Don't use watch_count_done.
2696 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2697 empty_cycle. Rewrite the code counting HW watchpoints.
2698
452b4ba5
MK
26992015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2700
2701 * gdb.reverse/fstatat-reverse.c: New test.
2702 * gdb.reverse/fstatat-reverse.exp: New file.
2703 * gdb.reverse/getresuid-reverse.c: New test.
2704 * gdb.reverse/getresuid-reverse.exp: New file.
2705 * gdb.reverse/pipe-reverse.c: New test.
2706 * gdb.reverse/pipe-reverse.exp: New file.
2707 * gdb.reverse/readv-reverse.c: New test.
2708 * gdb.reverse/readv-reverse.exp: New file.
2709 * gdb.reverse/recvmsg-reverse.c: New test.
2710 * gdb.reverse/recvmsg-reverse.exp: New file.
2711 * gdb.reverse/time-reverse.c: New test.
2712 * gdb.reverse/time-reverse.exp: New file.
2713 * gdb.reverse/waitpid-reverse.c: New test.
2714 * gdb.reverse/waitpid-reverse.exp: New file.
2715
5e2e7507
JK
27162015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2717
2718 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2719
0fde2c53
DE
27202015-10-26 Doug Evans <dje@google.com>
2721
2722 PR symtab/17391
2723 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2724 * gdb.dwarf2/bad-regnum.c: New file.
2725 * gdb.dwarf2/bad-regnum.exp: New file.
2726
1a70ae97
DE
27272015-10-26 Doug Evans <dje@google.com>
2728
2729 PR python/18938
2730 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2731 file.
2732
27dc26ab
JK
27332015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2734
2735 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2736 for a change by "Mention language in compile error message".
2737
bed91f4d
SM
27382015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2739
2740 PR python/18073
2741 * gdb.python/py-type.c (C::a_method): New.
2742 (C::a_const_method): New.
2743 (C::a_static_method): New.
2744 (a_function): New.
2745 * gdb.python/py-type.exp (test_fields): Test getting fields
2746 from function and method.
2747
3f2f83dd
KB
27482015-10-21 Keven Boell <keven.boell@intel.com>
2749
2750 * gdb.fortran/vla-alloc-assoc.exp: New file.
2751 * gdb.fortran/vla-datatypes.exp: New file.
2752 * gdb.fortran/vla-datatypes.f90: New file.
2753 * gdb.fortran/vla-history.exp: New file.
2754 * gdb.fortran/vla-ptype-sub.exp: New file.
2755 * gdb.fortran/vla-ptype.exp: New file.
2756 * gdb.fortran/vla-sizeof.exp: New file.
2757 * gdb.fortran/vla-sub.f90: New file.
2758 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2759 * gdb.fortran/vla-value-sub-finish.exp: New file.
2760 * gdb.fortran/vla-value-sub.exp: New file.
2761 * gdb.fortran/vla-value.exp: New file.
2762 * gdb.fortran/vla-ptr-info.exp: New file.
2763 * gdb.mi/mi-vla-fortran.exp: New file.
2764 * gdb.mi/vla.f90: New file.
2765
27145d50
SL
27662015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2767
2768 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2769 of hardwired timeout value.
2770
5f3ff4f8
JK
27712015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2772 Pedro Alves <palves@redhat.com>
2773
2774 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2775 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2776
bfd09d20
JS
27772015-10-19 Josh Stone <jistone@redhat.com>
2778
2779 * gdb.base/catch-syscall.c: Include <sched.h>.
2780 (unknown_syscall): New variable.
2781 (main): Trigger a vfork and an unknown syscall.
2782 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2783 (unknown_syscall_number): Likewise.
2784 (check_call_to_syscall): Accept an optional syscall pattern.
2785 (check_return_from_syscall): Likewise.
2786 (check_continue): Likewise.
2787 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2788 (test_catch_syscall_skipping_return): New test toggling off 'catch
2789 syscall' to step over the syscall return, then toggling back on.
2790 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2791 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2792 (do_syscall_tests): Call test_catch_syscall_without_args and
2793 test_catch_syscall_mid_vfork.
2794 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2795 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2796
b32b93c6
AS
27972015-10-19 Andrew Stubbs <ams@codesourcery.com>
2798
2799 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2800 print g_vE): Add new pass patterns.
2801 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2802 print various symbol names for vptr fields.
2803
9d622bda
AB
28042015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2805
2806 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2807 results.
2808
0fd8ac1c
YQ
28092015-10-12 Yao Qi <yao.qi@linaro.org>
2810
2811 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2812
34240514
YQ
28132015-10-12 Yao Qi <yao.qi@linaro.org>
2814
2815 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2816 is aarch64*-*-linux*.
2817
8240f442
YQ
28182015-10-12 Yao Qi <yao.qi@linaro.org>
2819
2820 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2821 (can_relocate_bcond_true): ... it.
2822 (can_relocate_bcond_false): New function.
2823 (foo): Likewise.
2824 (can_relocate_bl): Likewise.
2825 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2826 can_relocate_bl.
2827
2520f728
PMR
28282015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2829
2830 * gdb.base/nested-addr.c: New file.
2831 * gdb.base/nested-addr.exp: New testcase.
2832
abcef95a
MM
28332015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2834
2835 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2836 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2837 its output. Ignore the output of "record goto begin" and instead
2838 check that GDB is replaying.
2839
145e3ddb
PA
28402015-10-09 Pedro Alves <palves@redhat.com>
2841
2842 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2843 (top level): Use it in the run with no args test.
2844
d5d8c4e1
IB
28452015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2846
2847 * gdb.dlang/properties.exp: New file.
2848
06e635ef
SL
28492015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2850
2851 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2852 whether or not address 0x1000 is mapped on the target.
2853
e019fd1d
SM
28542015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2855
2856 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2857 build.
2858
77ba2a67
MM
28592015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2860
2861 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2862 instruction-history test.
2863
c60eb31f
DE
28642015-09-28 Doug Evans <dje@google.com>
2865
2866 * gdb.base/gcore.c (array_func): Add reference to static_array.
2867
9a3c8263
SM
28682015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2869
2870 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2871 source line.
2872
9720e656
SL
28732015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2874
2875 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2876 short or char as base type.
2877
938d3bf2
SL
28782015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2879
2880 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2881 to allow any size enum.
2882
e6c2c623
PMR
28832015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2884
2885 * gdb.ada/array_ptr_renaming.exp: New testcase.
2886 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2887 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2888
06da0f77
PL
28892015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2890
2891 * gdb.trace/ftrace-lock.c: New file.
2892 * gdb.trace/ftrace-lock.exp: New file.
2893
4f51c22a
PL
28942015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2895
2896 * gdb.arch/insn-reloc.c: New file.
2897 * gdb.arch/ftrace-insn-reloc.exp: New file.
2898
7041adf4
PL
28992015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2900
2901 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2902 instruction.
2903 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2904 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2905 * gdb.trace/range-stepping.c: Likewise.
2906 * gdb.trace/trace-break.c: Likewise.
2907 * gdb.trace/trace-mt.c (thread_function): Likewise.
2908 * gdb.trace/ftrace.c (marker): Likewise.
2909 * gdb.trace/trace-condition.c (marker): Likewise.
2910 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2911 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2912 is_aarch64_target.
2913
015d2e7e
DE
29142015-09-18 Doug Evans <xdje42@gmail.com>
2915
2916 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2917 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2918
26b188a2
SL
29192015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2920
2921 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2922 the breakpoint.
2923
79dc332b
SL
29242015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2925
2926 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2927 the pending breakpoint. Remove timeout override for "Run till
2928 MI pending breakpoint on pendfunc3 on thread 2" test.
2929
f57929f2
SL
29302015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2931
2932 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2933 filename pattern.
2934
3f469b17
SL
29352015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2936
2937 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2938 in breakpoint filename pattern.
2939
515b89b3
SL
29402015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2941
7800dbe4
SL
2942 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2943
29442015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2945
515b89b3
SL
2946 * gdb.linespec/explicit.exp: Check for readline support for
2947 tab-completion tests. Fix obvious typo.
2948
d2939ba2
MM
29492015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2950
2951 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2952 and replay.
2953
cbb55fa7
MM
29542015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2955
2956 * gdb.btrace/non-stop.c: New.
2957 * gdb.btrace/non-stop.exp: New.
2958
43691ca1
PL
29592015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2960 Yao Qi <yao.qi@linaro.org>
2961
2962 * gdb.trace/trace-condition.c: New file.
2963 * gdb.trace/trace-condition.exp: New file.
2964
d78908cf
WW
29652015-09-16 Wei-cheng Wang <cole945@gmail.com>
2966
2967 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2968 for testing bytecode compilation.
2969
1ed415e2
PA
29702015-09-16 Pedro Alves <palves@redhat.com>
2971 Sandra Loosemore <sandra@codesourcery.com>
2972
2973 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2974 (SECONDS): Redefine.
2975 (main): Call pthread_kill and alarm early.
2976 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2977 support.
2978 (test): If the target can't hardware step and doesn't support
2979 displaced stepping, increase the timeout.
2980
d136eff5
PA
29812015-09-16 Pedro Alves <palves@redhat.com>
2982
2983 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2984 (enable_debug): New procedures.
2985 (test): Use them. Bail out if waiting for threads fails.
2986 (top level): Bail out if a test fails.
2987
991f019c
YQ
29882015-09-16 Yao Qi <yao.qi@linaro.org>
2989
2990 * gdb.asm/asm-source.exp: Set asm-arch for
2991 aarch64*-*-* target.
2992 * gdb.asm/aarch64.inc: New file.
2993
bfca584f
PMR
29942015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2995
2996 * gdb.ada/array_of_variable_length.exp: New testcase.
2997 * gdb.ada/array_of_variable_length/foo.adb: New file.
2998 * gdb.ada/array_of_variable_length/pck.adb: New file.
2999 * gdb.ada/array_of_variable_length/pck.ads: New file.
3000
b326e587
DE
30012015-09-15 Doug Evans <dje@google.com>
3002
3003 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
3004 of function static local variable.
3005
5382cfab
PW
30062015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3007
3008 * gdb.threads/tls-so_extern.exp: New test file.
3009 * gdb.threads/tls-so_extern.c: New test file.
3010 * gdb.threads/tls-so_extern_main.c: New test file.
3011
141c5cc4
JK
30122015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3013
3014 * gdb.opt/solib-intra-step-lib.c: New file.
3015 * gdb.opt/solib-intra-step-main.c: New file.
3016 * gdb.opt/solib-intra-step.exp: New file.
3017
d15dcecd
PA
30182015-09-15 Pedro Alves <palves@redhat.com>
3019
3020 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
3021 gdb_continue_to_breakpoint instead of gdb_test_multiple.
3022
4c2f2a79
PA
30232015-09-14 Pedro Alves <palves@redhat.com>
3024
3025 * gdb.base/hook-stop-continue.c: Delete.
3026 * gdb.base/hook-stop-continue.exp: Delete.
3027 * gdb.base/hook-stop-frame.c: Delete.
3028 * gdb.base/hook-stop-frame.exp: Delete.
3029 * gdb.base/hook-stop.c: New file.
3030 * gdb.base/hook-stop.exp: New file.
3031
919e6dbe
PMR
30322015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
3033
3034 * gdb.ada/access_to_packed_array.exp: New testcase.
3035 * gdb.ada/access_to_packed_array/foo.adb: New file.
3036 * gdb.ada/access_to_packed_array/pack.adb: New file.
3037 * gdb.ada/access_to_packed_array/pack.ads: New file.
3038
157280a4
MM
30392015-09-14 Markus Metzger <markus.t.metzger@intel.com>
3040
3041 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
3042 buffer size test.
3043
2fd33e94
DB
30442015-09-11 Don Breazeal <donb@codesourcery.com>
3045
3046 * gdb.base/foll-exec.c: Add copyright header. Fix
3047 formatting issues.
3048 * gdb.base/foll-exec.exp (zap_session): Delete proc.
3049 (do_exec_tests): Use clean_restart in place of zap_session,
3050 and for test initialization. Fix formatting issues. Use
3051 fail in place of perror.
3052 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
3053 an expect statement to match an expression with output from
3054 the program under debug.
3055 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
3056 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
3057 * gdb.threads/non-ldr-exc-2.exp: Likewise.
3058 * gdb.threads/non-ldr-exc-3.exp: Likewise.
3059 * gdb.threads/non-ldr-exc-4.exp: Likewise.
3060
e70b6e8e
DE
30612015-09-09 Doug Evans <dje@google.com>
3062
3063 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
3064
7a551a51
DE
30652015-09-09 Doug Evans <dje@google.com>
3066
3067 * gdb.base/pie-execl.exp: Fix result test of build_executable.
3068
4c666f84
DE
30692015-09-09 Doug Evans <dje@google.com>
3070
3071 * gdb.base/savedregs.exp: Fix typo.
3072
243a9253
PA
30732015-09-09 Pedro Alves <palves@redhat.com>
3074
3075 * gdb.mi/mi-cli.exp: Add CLI finish tests.
3076
c0fa8fbd
SL
30772015-09-08 Sandra Loosemore <sandra@codesourcery.com>
3078
3079 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
3080 command actually switches threads. Give up on remaining
3081 tests if target fails to stop at breakpoint.
3082
cd7c1778
PMR
30832015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
3084
3085 * gdb.ada/funcall_char.exp: New testcase.
3086 * gdb.ada/funcall_char/foo.adb: New file.
3087
dc5c8746
PMR
30882015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
3089
3090 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
3091 expected outputs. Add two testcases for completing ambiguous
3092 functions.
3093 * gdb.ada/complete/aux_pck.adb: New file.
3094 * gdb.ada/complete/aux_pck.ads: New file.
3095 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
3096 Ambiguous_Func functions.
3097 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
3098 * gdb.ada/complete/pck.adb: Likewise.
3099
4e83a1e7
UW
31002015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
3101
3102 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
3103 failures to run the test program under GDB.
3104
8ce74153
LM
31052015-08-26 Luis Machado <lgustavo@codesourcery.com>
3106
3107 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
3108 to C.
3109
e9756d52
PP
31102015-08-26 Patrick Palka <patrick@parcs.ath.cx>
3111
3112 * gdb.base/run-after-attach.exp: New test file.
3113 * gdb.base/run-after-attach.c: New test file.
3114
8d37573b
DB
31152015-08-26 Don Breazeal <donb@codesourcery.com>
3116
3117 * gdb.base/foll-exec-2.c: New test program.
3118 * gdb.base/foll-exec-2.exp: New test.
3119
63e43d3a
PMR
31202015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
3121
3122 * gdb.base/nested-subp1.exp: New file.
3123 * gdb.base/nested-subp1.c: New file.
3124 * gdb.base/nested-subp2.exp: New file.
3125 * gdb.base/nested-subp2.c: New file.
3126 * gdb.base/nested-subp3.exp: New file.
3127 * gdb.base/nested-subp3.c: New file.
3128
3d40fbb5
PA
31292015-08-24 Pedro Alves <palves@redhat.com>
3130
3131 * gdb.server/connect-without-multi-process.c: New file.
3132 * gdb.server/connect-without-multi-process.exp: New file.
3133
4422ac93
LM
31342015-08-24 Luis Machado <lgustavo@codesourcery.com>
3135
3136 * gdb.opt/inline-markers.c: Make z int.
3137
91dddb86
LM
31382015-08-24 Luis Machado <lgustavo@codesourcery.com>
3139
3140 * gdb.opt/inline-markers.c: Make z volatile.
3141
a48847ee
LM
31422015-08-24 Luis Machado <lgustavo@codesourcery.com>
3143
3144 * gdb.opt/inline-bt.c: New volatile global z.
3145 * gdb.opt/inline-cmds.c: Likewise.
3146 * gdb.opt/inline-locals.c: Likewise.
3147 * gdb.opt/inline-markers.c: New extern global z.
3148 (marker): Use z.
3149 (inline_fn): Likewise.
3150
0ebbc52b
PA
31512015-08-24 Pedro Alves <palves@redhat.com>
3152
3153 * config/m32r-stub.exp: Remove file.
3154 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
3155 * gdb.base/call-rt-st.exp: Likewise.
3156 * gdb.base/call-strs.exp: Likewise.
3157 * gdb.base/default.exp: Remove references to h8300-*-hms and
3158 *-*-udi*.
3159 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
3160
77c365df
AA
31612015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3162
3163 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
3164 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
3165 and "return" use KFAIL when GDB can not read/write the vector
3166 return value.
3167
4313b8c0
GB
31682015-08-21 Gary Benson <gbenson@redhat.com>
3169
3170 * gdb.trace/pending.exp: Cope with remote transfer warnings.
3171
0e433b32
PA
31722015-08-20 Pedro Alves <palves@redhat.com>
3173
3174 * gdb.server/solib-list.exp: No longer expect an interior stop in
3175 non-stop mode.
3176
221e1a37
PA
31772015-08-20 Pedro Alves <palves@redhat.com>
3178
3179 * gdb.server/connect-stopped-target.c: New file.
3180 * gdb.server/connect-stopped-target.exp: New file.
3181
40e3ad0e
PA
31822015-08-20 Pedro Alves <palves@redhat.com>
3183
3184 * gdb.dwarf2/comp-unit-lang.exp: New file.
3185 * gdb.dwarf2/comp-unit-lang.c: New file.
3186
af39b327
PMR
31872015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
3188
3189 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
3190 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
3191
7d45c7c3 31922015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 3193
7d45c7c3
KB
3194 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
3195 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
3196
4d6cceb4
DE
31972015-08-18 Doug Evans <dje@google.com>
3198 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3199
3200 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
3201 skip_python_tests. New arg prompt_regexp.
3202 (skip_python_tests): New function.
3203 * lib/mi-support.exp (mi_skip_python_tests): New function.
3204 * gdb.python/py-mi-objfile-gdb.py: New file.
3205 * gdb.python/py-mi-objfile.c: New file.
3206 * gdb.python/py-mi-objfile.exp: New file.
3207
ad89c2aa
KS
32082015-08-17 Keith Seitz <keiths@redhat.com>
3209
3210 * gdb.linespec/explicit.exp: Move strace test from here ...
3211 * gdb.trace/strace.exp: ... to here.
3212
e3ae3c43
PP
32132015-08-15 Patrick Palka <patrick@parcs.ath.cx>
3214
3215 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
3216 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
3217
604b2636
DE
32182015-08-14 Doug Evans <xdje42@gmail.com>
3219
3220 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
3221 inferior before selecting a new file.
3222
6ff0ba5f
DE
32232015-08-14 Doug Evans <xdje42@gmail.com>
3224
3225 * gdb.mi/mi-disassemble.exp: Update.
3226 * gdb.base/disasm-optim.S: New file.
3227 * gdb.base/disasm-optim.c: New file.
3228 * gdb.base/disasm-optim.h: New file.
3229 * gdb.base/disasm-optim.exp: New file.
3230
9ca98f92
KS
32312015-08-14 Keith Seitz <keiths@redhat.com>
3232
3233 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
3234 "evaluated-by".
3235
52bbc560
JB
32362015-08-13 Joel Brobecker <brobecker@adacore.com>
3237
3238 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
3239
5d8c3ed3
PMR
32402015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
3241
3242 * gdb.ada/fun_renaming.exp: New testcase.
3243 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
3244 * gdb.ada/fun_renaming/pack.adb: New file.
3245 * gdb.ada/fun_renaming/pack.ads: New file.
3246
ea8812bc
KS
32472015-08-12 Keith Seitz <keiths@redhat.com>
3248
3249 * gdb.base/dso2dso.exp: Pass basename of source file in call to
3250 gdb_get_line_number.
3251
4dafcdeb
JB
32522015-08-12 Joel Brobecker <brobecker@adacore.com>
3253
3254 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
3255 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
3256 gdb.base/dso2dso.exp: New files.
3257
5ba32597
SDJ
32582015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
3259 Pedro Alves <palves@redhat.com>
3260 Keith Seitz <keiths@redhat.com>
3261
3262 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
3263 GDBFLAGS.
3264
b6dafabf
PP
32652015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3266
3267 * gdb.base/gdbhistsize-history.exp
3268 (test_histsize_history_setting): Use save_vars.
3269 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3270 Use save_vars.
3271 (test_no_truncation_of_unlimited_history_file): Use save_vars.
3272 * gdb.base/readline.exp: Use save_vars.
3273
abe8e607
PP
32742015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3275
3276 * lib/gdb.exp (save_vars): New proc.
3277
629500fa
KS
32782015-08-11 Keith Seitz <keiths@redhat.com>
3279
3280 * gdb.base/help.exp: Update help_breakpoint_text.
3281
eb8c4e2e
KS
32822015-08-11 Keith Seitz <keiths@redhat.com>
3283
3284 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3285 (at toplevel): Call test_explicit_breakpoints.
3286 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3287 breakpoints.
3288 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3289 breakpoint conditions, "-cond".
3290
87f0e720
KS
32912015-08-11 Keith Seitz <keiths@redhat.com>
3292
3293 * gdb.linespec/3explicit.c: New file.
3294 * gdb.linespec/cpexplicit.cc: New file.
3295 * gdb.linespec/cpexplicit.exp: New file.
3296 * gdb.linespec/explicit.c: New file.
3297 * gdb.linespec/explicit.exp: New file.
3298 * gdb.linespec/explicit2.c: New file.
3299 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3300 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3301 before using in the matching pattern.
3302 Clarify that `prefix' is a regular expression.
3303
f00aae0f
KS
33042015-08-11 Keith Seitz <keiths@redhat.com>
3305
3306 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3307 test.
3308 Add tests for missing ",FMT" and ",".
3309
e27852be
DE
33102015-08-10 Doug Evans <dje@google.com>
3311 Keith Seitz <keiths@redhat.com>
3312
3313 PR gdb/17960
3314 * gdb.base/completion.exp: Add location completer tests.
3315
7f03bd92
PA
33162015-08-07 Pedro Alves <palves@redhat.com>
3317
3318 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3319 tests here.
3320 (top level): Run do_test with and without displaced stepping.
3321
3fc8eb30
PA
33222015-08-07 Pedro Alves <palves@redhat.com>
3323
3324 * gdb.base/valgrind-disp-step.c: New file.
3325 * gdb.base/valgrind-disp-step.exp: New file.
3326
d4569d7b
PA
33272015-08-07 Pedro Alves <palves@redhat.com>
3328
3329 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
3330 Delete function.
3331 (main): Add alarm. Run an infinite loop instead of calling
3332 wait_threads.
3333 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
3334 comment.
3335 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3336 Delete function.
3337 (main): Add alarm. Run an infinite loop instead of calling
3338 wait_threads.
3339 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3340 comment.
3341
e1316e60
PA
33422015-08-07 Pedro Alves <palves@redhat.com>
3343
3344 * gdb.base/checkpoint-ns.exp: New file.
3345 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3346 standard_testfile.
3347
da8c46d2
MM
33482015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3349
3350 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3351 * gdb.btrace/instruction_history.exp: Update.
3352 * gdb.btrace/tsx.exp: New.
3353 * gdb.btrace/tsx.c: New.
3354
de1c2c52
PA
33552015-08-06 Pedro Alves <palves@redhat.com>
3356
3357 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3358 increase timeout.
3359 * gdb.reverse/until-precsave.exp: Bump timeouts.
3360
782e0bf4
PA
33612015-08-06 Pedro Alves <palves@redhat.com>
3362
3363 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3364
83e97ed0
PA
33652015-08-06 Pedro Alves <palves@redhat.com>
3366
3367 PR gdb/18749
3368 * gdb.threads/process-dies-while-handling-bp.c: New file.
3369 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3370
863d01bd
PA
33712015-08-06 Pedro Alves <palves@redhat.com>
3372
3373 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3374 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3375
0a39bb32
PA
33762015-08-05 Pedro Alves <palves@redhat.com>
3377
3378 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3379 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3380
ee2d2b10
SL
33812015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3382
3383 * gdb.base/bp-permanent.exp: Report test as unsupported if
3384 the target cannot stop at the permanent breakpoint.
3385
4e1bdb00
DE
33862015-08-03 Doug Evans <dje@google.com>
3387
3388 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3389 10000.
3390
3d338901
DE
33912015-08-03 Doug Evans <dje@google.com>
3392
3393 * Makefile.in (workers/%.worker, build-perf): New rule.
3394 (GDB_PERFTEST_MODE): New variable.
3395 (check-perf): Use it.
3396 (clean): Clean up gdb.perf parallel build subdirs.
3397 * lib/build-piece.exp: New file.
3398 * lib/gdb.exp (make_gdb_parallel_path): New function
3399 (standard_output_file, standard_temp_file): Call it.
3400 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3401 of $GDB_PARALLEL.
3402 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3403
af061d3e
DE
34042015-08-03 Doug Evans <dje@google.com>
3405
8e1afc81 3406 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
3407 (LOG_FILE_NAME): New global.
3408 (TextReporter.__init__): Initialize self.txt_sum.
3409 (TextReporter.report): Add support for multiple data-points.
3410 Move report to perftest.sum, put raw data in perftest.log.
3411 (TextReporter.start): Open sum and log files.
3412 (TextReporter.end): Close sum and log files.
8e1afc81
DE
3413 * gdb.perf/lib/perftest/testresult.py
3414 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 3415
2c8c5d37
PA
34162015-07-31 Pedro Alves <palves@redhat.com>
3417
3418 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3419 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3420 kill_wait_spawned_process instead of explicit "kill -9".
3421 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3422 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3423 kill_wait_spawned_process.
3424 * gdb.base/attach-twice.exp: Likewise.
3425 * gdb.base/attach.exp: Likewise.
3426 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3427 gdb_test_multiple.
3428 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3429 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3430 kill_wait_spawned_process.
3431 * gdb.base/valgrind-infcall.exp: Likewise.
3432 * gdb.multi/multi-attach.exp: Likewise.
3433 * gdb.python/py-prompt.exp: Likewise.
3434 * gdb.python/py-sync-interp.exp: Likewise.
3435 * gdb.server/ext-attach.exp: Likewise.
3436 * gdb.threads/attach-into-signal.exp (corefunc): Use
3437 spawn_wait_for_attach, spawn_id_get_pid and
3438 kill_wait_spawned_process.
3439 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3440 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3441 spawn_id_get_pid and kill_wait_spawned_process.
3442 * gdb.threads/attach-stopped.exp (corefunc): Use
3443 spawn_wait_for_attach, spawn_id_get_pid and
3444 kill_wait_spawned_process.
3445 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3446 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3447 kill_wait_spawned_process instead of explicit "kill -9".
3448 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3449 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3450 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3451 processes. Don't map cygwin/windows pids here. Now returns a
3452 spawn id list.
3453
032a0fca
SL
34542015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3455
3456 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3457 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3458 correct patch.
3459
61a934ca
SL
34602015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3461
3462 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3463
4bc4d428
SL
34642015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3465
3466 Reapply:
3467 2014-05-21 Mark Wielaard <mjw@redhat.com>
3468
3469 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3470
998d452a
PA
34712015-07-30 Pedro Alves <palves@redhat.com>
3472
3473 * linux-low.c (handle_extended_wait): Set the child's last
3474 reported status to TARGET_WAITKIND_STOPPED.
3475
69dde7dc
PA
34762015-07-30 Pedro Alves <palves@redhat.com>
3477
3478 PR threads/18600
3479 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3480 only shows inferior 1.
3481
4dd63d48
PA
34822015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3483 Pedro Alves <palves@redhat.com>
3484
3485 PR threads/18600
3486 * gdb.threads/fork-plus-threads.c: New file.
3487 * gdb.threads/fork-plus-threads.exp: New file.
3488
d618e4c5
PP
34892015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3490
3491 * gdb.base/batch-preserve-term-settings.exp
3492 (test_terminal_settings_preserved_after_cli_exit): Use
3493 send_quit_command.
3494
1eef6428
PA
34952015-07-29 Pedro Alves <palves@redhat.com>
3496 Don Breazeal <donb@codesourcery.com>
3497
3498 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3499 output from both inferior_spawn_id and gdb_spawn_id.
3500
7da5b897
SDJ
35012015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3502
3503 * gdb.threads/attach-into-signal.exp (corefunc): Use
3504 with_test_prefix on nested loops, uniquefying the test messages.
3505
dac804df
SDJ
35062015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3507
3508 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3509 commit.
3510
06265e53
PP
35112015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3512
3513 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3514 New proc.
3515 (test_terminal_settings_preserved_after_sigterm): New test.
3516
18206ca3
PP
35172015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3518
3519 * gdb.base/batch-preserve-term-settings.exp
3520 (test_terminal_settings_preserved_after_cli_exit): New test.
3521
90074d11
PP
35222015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3523
3524 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3525 manipulation of saved_gdbflags.
3526 (test_terminal_settings_preserved): Remove global declaration of
3527 the unused variable pagination_prompt. Remove manipulation of
3528 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3529 GDBFLAGS.
3530
eb1a7902
PA
35312015-07-29 Pedro Alves <palves@redhat.com>
3532
3533 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3534
8b75dd3b
PA
35352015-07-29 Pedro Alves <palves@redhat.com>
3536
3537 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3538 at the top.
3539
dedad4e3
PA
35402015-07-29 Pedro Alves <palves@redhat.com>
3541
3542 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3543 (main): Call gdb_unbuffer_output.
3544 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3545 (main): Call gdb_unbuffer_output.
3546 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3547 (main): Call gdb_unbuffer_output.
3548 * gdb.base/call-strs.exp: Adjust to step over the
3549 gdb_unbuffer_output call.
3550 * gdb.base/catch-gdb-caused-signals.c: Include
3551 "../lib/unbuffer_output.c".
3552 (main): Call gdb_unbuffer_output.
3553 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3554 (main): Call gdb_unbuffer_output.
3555 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3556 (main): Call gdb_unbuffer_output.
3557 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3558 (main): Call gdb_unbuffer_output.
3559 * gdb.base/shlib-call.exp: Adjust to step over the
3560 gdb_unbuffer_output call.
3561 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3562 (main): Call gdb_unbuffer_output.
3563 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3564 (main): Call gdb_unbuffer_output.
3565 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3566 (main): Rename to ...
3567 (test): ... this.
3568 (main): Reimplement.
3569 * gdb.base/varargs.exp: Run to test instead of to main.
3570 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3571 (main): Call gdb_unbuffer_output.
3572
58789a91
PA
35732015-07-29 Pedro Alves <palves@redhat.com>
3574
3575 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3576 factore out from mi_continue_dprintf. For call-style dprintfs,
3577 expect dprintf output out of $inferior_spawn_id.
3578 (mi_continue_dprintf): Use mi_expect_dprintf.
3579 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3580 (main): Call gdb_unbuffer_output.
3581
e8376742
PA
35822015-07-29 Pedro Alves <palves@redhat.com>
3583
3584 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3585 (default_mi_gdb_start): Set inferior_spawn_id instead of
3586 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3587 gdb_spawn_id.
3588 (mi_gdb_test): Always expect inferior output from both
3589 $inferior_spawn_id and $gdb_spawn_id.
3590
08280010
PA
35912015-07-29 Pedro Alves <palves@redhat.com>
3592
3593 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3594 send_inferior and $inferior_spawn_id.
3595
4d30e432
PA
35962015-07-29 Pedro Alves <palves@redhat.com>
3597
3598 * gdb.gdb/complaints.exp (test_initial_complaints)
3599 (test_serial_complaints, test_short_complaints): Use
3600 gdb_test_stdio.
3601 (test_empty_complaint): Handle $inferior_spawn_id !=
3602 $gdb_spawn_id.
3603
0d30a335
PA
36042015-07-29 Pedro Alves <palves@redhat.com>
3605
3606 * gdb.base/varargs.exp: Use gdb_test_stdio.
3607
39413b29
PA
36082015-07-29 Pedro Alves <palves@redhat.com>
3609
3610 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3611
7cb000a9
PA
36122015-07-29 Pedro Alves <palves@redhat.com>
3613
3614 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3615
d7b8ac82
PA
36162015-07-29 Pedro Alves <palves@redhat.com>
3617
3618 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3619 parameter into two new parameters, "inf_result" and "gdb_result".
3620 Expect inferior output and gdb output from $inferior_spawn_id and
3621 $gdb_spawn_id, respectively. Adjust all callers.
3622
789c3a0c
PA
36232015-07-29 Pedro Alves <palves@redhat.com>
3624
3625 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3626 of gdb_test_sequence.
3627
77e760c3
PA
36282015-07-29 Pedro Alves <palves@redhat.com>
3629
3630 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3631 (saw_spurious_output): Expect inferior output from
3632 $inferior_spawn_id. Use gdb_test_stdio.
3633
8396d2cd
PA
36342015-07-29 Pedro Alves <palves@redhat.com>
3635
3636 * gdb.base/dprintf.exp: Use standard_testfile. Change
3637 prepare_for_testing call.
3638 (srcfile): Don't set.
3639 (restart): New procedure.
3640 (test_dprintf): New procecure, use to continue over dprintfs.
3641 (test_call, test_agent): New procedures, tests moved here.
3642 Restart gdb and recreate dprintfs. Adjust expected output.
3643
2051d61f
PA
36442015-07-29 Pedro Alves <palves@redhat.com>
3645
3646 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3647
452397af
PA
36482015-07-29 Pedro Alves <palves@redhat.com>
3649
3650 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3651
8aed9555
PA
36522015-07-29 Pedro Alves <palves@redhat.com>
3653
3654 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3655 gdb_test_stdio.
3656
188a61b4
PA
36572015-07-29 Pedro Alves <palves@redhat.com>
3658
3659 * lib/gdb.exp (gdb_test_stdio): New procedure.
3660
12264a45
PA
36612015-07-29 Pedro Alves <palves@redhat.com>
3662
3663 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3664
23ffc893
PA
36652015-07-29 Pedro Alves <palves@redhat.com>
3666
3667 * gdb.base/call-signal-resume.exp: Remove check for
3668 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3669 * gdb.base/unwindonsignal.exp: Likewise.
3670 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3671 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3672
65566918
PA
36732015-07-29 Pedro Alves <palves@redhat.com>
3674
3675 * gdb.base/siginfo-addr.c (pass): New function.
3676 (handler): Call it iff si_addr is correct.
3677 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3678 Set a breakpoint at "pass" and continue to it.
3679
d60a9221
SDJ
36802015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3681
3682 * gdb.python/py-objfile.exp: Make some tests have unique names.
3683 * gdb.python/py-pp-registration.exp: Likewise.
3684
bde40b8f
PA
36852015-07-28 Pedro Alves <palves@redhat.com>
3686
3687 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3688
13e1dec8
SM
36892015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3690
3691 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3692
da33c9a7
SM
36932015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3694
3695 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3696
077836f7
PP
36972015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3698
3699 * gdb.base/gdb-sigterm-2.exp: New test.
3700
b8cc7b2e
DE
37012015-07-25 Doug Evans <xdje42@gmail.com>
3702
3703 Revert:
3704 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3705 (workers/%.worker, build-perf): New rule.
3706 (GDB_PERFTEST_MODE): New variable.
3707 (check-perf): Use it.
3708 (clean): Clean up gdb.perf parallel build subdirs.
3709 * lib/build-piece.exp: New file.
3710 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3711 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3712 name.
3713 (standard_temp_file): Ditto.
3714 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3715 of $GDB_PARALLEL.
3716
c8bd4544
DE
37172015-07-24 Doug Evans <dje@google.com>
3718
3719 * gdb.perf/lib/perftest/utils.py: New file.
3720 * gdb.perf/gm-hello.cc: New file.
3721 * gdb.perf/gm-pervasive-typedef.cc: New file.
3722 * gdb.perf/gm-pervasive-typedef.h: New file.
3723 * gdb.perf/gm-std.cc: New file.
3724 * gdb.perf/gm-std.h: New file.
3725 * gdb.perf/gm-use-cerr.cc: New file.
3726 * gdb.perf/gm-utils.h: New file.
3727 * gdb.perf/gmonster-null-lookup.py: New file.
3728 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3729 * gdb.perf/gmonster-print-cerr.py: New file.
3730 * gdb.perf/gmonster-ptype-string.py: New file.
3731 * gdb.perf/gmonster-runto-main.py: New file.
3732 * gdb.perf/gmonster-select-file.py: New file.
3733 * gdb.perf/gmonster1-null-lookup.exp: New file.
3734 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3735 * gdb.perf/gmonster1-print-cerr.exp: New file.
3736 * gdb.perf/gmonster1-ptype-string.exp: New file.
3737 * gdb.perf/gmonster1-runto-main.exp: New file.
3738 * gdb.perf/gmonster1-select-file.exp: New file.
3739 * gdb.perf/gmonster1.cc: New file.
3740 * gdb.perf/gmonster1.exp: New file.
3741 * gdb.perf/gmonster2-null-lookup.exp: New file.
3742 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3743 * gdb.perf/gmonster2-print-cerr.exp: New file.
3744 * gdb.perf/gmonster2-ptype-string.exp: New file.
3745 * gdb.perf/gmonster2-runto-main.exp: New file.
3746 * gdb.perf/gmonster2-select-file.exp: New file.
3747 * gdb.perf/gmonster2.cc: New file.
3748 * gdb.perf/gmonster2.exp: New file.
3749
6eab34f3
DE
37502015-07-24 Doug Evans <dje@google.com>
3751
3752 * gdb.perf/README: New file.
3753 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3754 * lib/gen-perf-test.exp: New file.
3755
63738bfd
DE
37562015-07-24 Doug Evans <dje@google.com>
3757
3758 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3759 (PerfTest::startup): New function.
3760 (PerfTest::run): Return result of calling body.
3761 (PerfTest::assemble): Rewrite.
3762 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3763 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3764 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3765 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3766 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3767
7b606f95
DE
37682015-07-24 Doug Evans <dje@google.com>
3769
3770 * lib/gdb.exp (clean_restart): Make executable optional.
3771
a97b16b8
DE
37722015-07-24 Doug Evans <dje@google.com>
3773
3774 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3775 compiler_info references.
3776 * gdb.cp/temargs.exp: Ditto.
3777 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3778 (get_compiler_info): Early exit if already computed. Set compiler_info
3779 to "unknown" if there was a problem.
3780 (test_compiler_info): Add function comment. Call get_compiler_info.
3781
35baa57f
DE
37822015-07-24 Doug Evans <dje@google.com>
3783
3784 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3785 (workers/%.worker, build-perf): New rule.
3786 (GDB_PERFTEST_MODE): New variable.
3787 (check-perf): Use it.
3788 (clean): Clean up gdb.perf parallel build subdirs.
3789 * lib/build-piece.exp: New file.
3790 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3791 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3792 name.
3793 (standard_temp_file): Ditto.
3794 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3795 of $GDB_PARALLEL.
3796
6ebea266
DE
37972015-07-24 Doug Evans <dje@google.com>
3798
3799 * lib/future.exp (gdb_default_target_compile): New option
3800 "early_flags".
3801 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3802 --as-needed.
3803
1e76a7e9
SDJ
38042015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3805
3806 * gdb.base/catch-syscall.exp: Call gdb_exit before
3807 gdb_skip_xml_test.
3808
5068630a
PA
38092015-07-24 Pedro Alves <palves@redhat.com>
3810
3811 * gdb.python/py-events.exp: Accept output between the stop event
3812 and the prompt.
3813 * gdb.python/py-evsignal.exp: Likewise.
3814 * gdb.python/py-evthreads.exp: Likewise.
3815
77598427
PA
38162015-07-24 Pedro Alves <palves@redhat.com>
3817
3818 PR gdb/18717
3819 * gdb.threads/non-ldr-exit.c: New file.
3820 * gdb.threads/non-ldr-exit.exp: New file.
3821
11e6c98f
YQ
38222015-07-24 Yao Qi <yao.qi@linaro.org>
3823
3824 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3825 restarting process.
3826
51aee833
YQ
38272015-07-24 Yao Qi <yao.qi@linaro.org>
3828
3829 * gdb.server/ext-restart.exp: New file.
3830
8cfe207c
YQ
38312015-07-24 Yao Qi <yao.qi@linaro.org>
3832
3833 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3834 argument options.
3835 * gdb.server/ext-wrapper.exp: New file.
3836
cc12ce38
DE
38372015-07-23 Doug Evans <dje@google.com>
3838
3839 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3840 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3841
d0d84780
PMR
38422015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3843
3844 * gdb.ada/var_arr_typedef.exp: New testcase.
3845 * gdb.ada/var_arr_typedef/pack.adb: New file.
3846 * gdb.ada/var_arr_typedef/pack.ads: New file.
3847 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3848
8b558f79
JB
38492015-07-20 Joel Brobecker <brobecker@adacore.com>
3850
3851 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3852
775a3298
JK
38532015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3854
3855 * gdb.arch/i386-biarch-core.exp: Replace istarget
3856 by "complete set gnutarget". Remove expectation for the "core-file"
3857 command.
3858
db1ff28b
JK
38592015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3860
3861 Revert the previous commit:
3862 Tests for validate symbol file using build-id.
3863
0a94970d
JK
38642015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3865
3866 Tests for validate symbol file using build-id.
3867 * gdb.base/solib-mismatch-lib.c: New file.
3868 * gdb.base/solib-mismatch-libmod.c: New file.
3869 * gdb.base/solib-mismatch.c: New file.
3870 * gdb.base/solib-mismatch.exp: New file.
3871
03346981
SL
38722015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3873
3874 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3875 nios2-*-linux*.
3876 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3877 * gdb.base/siginfo.exp: Likewise.
3878 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3879
42422cc7
PL
38802015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3881
3882 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3883 Move it to ...
3884 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3885 ... here.
3886 * gdb.trace/range-stepping.exp: Check that the target supports
3887 range stepping.
3888
cfa68bae
JK
38892015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3890
3891 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3892
8ffdba26
PA
38932015-07-14 Pedro Alves <palves@redhat.com>
3894
3895 * gdb.base/killed-outside.exp: New file.
3896 * gdb.base/killed-outside.c: New file.
3897
218a5a11
JK
38982015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3899
3900 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3901 (n at main): New.
3902 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3903
e03ed3c6
AA
39042015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3905
3906 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3907 infcall tests instead of setting up for KFAIL.
3908
485668e5
MM
39092015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3910
3911 * gdb.btrace/record_goto-step.exp: New.
3912
08464196
JK
39132015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3914
3915 PR compile/18484
3916 * gdb.compile/compile.c (struct struct_type): Add volatile to
3917 selffield's type.
3918 * gdb.compile/compile.exp
3919 (compile code struct_object.selffield = &struct_object): Skip further
3920 struct_object tests if this one xfails.
3921
bcf5c1d9
RC
39222015-07-08 Robert O'Callahan <robert@ocallahan.org>
3923
3924 PR exp/18617
3925 * gdb.trace/ax.exp: Add test.
3926
4931af25
YQ
39272015-07-07 Yao Qi <yao.qi@linaro.org>
3928
3929 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3930 instead of istarget "aarch64*-*-*".
3931 * gdb.arch/aarch64-fp.exp: Likewise.
3932 * gdb.base/float.exp: Likewise.
3933 * gdb.reverse/aarch64.exp: Likewise.
3934 * lib/gdb.exp (is_aarch64_target): New proc.
3935
9fcf688e
YQ
39362015-07-07 Yao Qi <yao.qi@linaro.org>
3937
3938 * lib/gdb.exp (is_aarch32_target): New proc.
3939 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3940 instead of "istarget "arm*-*-*"".
3941 * gdb.arch/arm-disp-step.exp: Likewise.
3942 * gdb.arch/thumb-bx-pc.exp: Likewise.
3943 * gdb.arch/thumb-prologue.exp: Likewise.
3944 * gdb.arch/thumb-singlestep.exp: Likewise.
3945 * gdb.base/disp-step-syscall.exp: Likewise.
3946 * gdb.base/float.exp: Likewise.
3947
fbd8d50d
YQ
39482015-07-07 Yao Qi <yao.qi@linaro.org>
3949
3950 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3951 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3952
71be1fdc
YQ
39532015-07-07 Yao Qi <yao.qi@linaro.org>
3954
3955 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3956 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3957 if it exists.
3958 * gdb.multi/multi-arch.exp: Likewise.
3959
3e221d36
SM
39602015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3961
3962 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3963 print.
3964
d441430b
YQ
39652015-07-07 Yao Qi <yao.qi@linaro.org>
3966
3967 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3968
06f810bd
MG
39692015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3970
3971 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3972 '[' and ']' characters.
3973
5e61e7c0
IB
39742015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3975
3976 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3977
28bf096c
PA
39782015-06-29 Pedro Alves <palves@redhat.com>
3979
3980 PR threads/18127
3981 * gdb.threads/hand-call-new-thread.c: New file.
3982 * gdb.threads/hand-call-new-thread.c: New file.
3983
ee93cd5e
KS
39842015-06-26 Keith Seitz <keiths@redhat.com>
3985 Doug Evans <dje@google.com>
3986
3987 PR 16253
3988 * gdb.cp/var-tag-2.cc: New file.
3989 * gdb.cp/var-tag-3.cc: New file.
3990 * gdb.cp/var-tag-4.cc: New file.
3991 * gdb.cp/var-tag.cc: New file.
3992 * gdb.cp/var-tag.exp: New file.
3993
fc637f04
PP
39942015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3995
3996 * gdb.base/history-duplicates.exp: New test.
3997
2e52ae68
PP
39982015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3999
4000 * gdb.base/completion.exp: Test the completion of the "focus"
4001 command.
4002
6e22494e
JK
40032015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4004
4005 * gdb.arch/amd64-prologue-skip.S: New file.
4006 * gdb.arch/amd64-prologue-skip.exp: New file.
4007
bf7b9cd9
SM
40082015-06-25 Simon Marchi <simon.marchi@ericsson.com>
4009
4010 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
4011 is_address_zero_readable check.
4012
201e8dfd
PB
40132015-06-24 Peter Bergner <bergner@vnet.ibm.com>
4014
4015 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
4016 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
4017
5cd867b4
YQ
40182015-06-24 Yao Qi <yao.qi@linaro.org>
4019
4020 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
4021 linux targets.
4022
4d7be007
YQ
40232015-06-24 Yao Qi <yao.qi@linaro.org>
4024
4025 * lib/gdb.exp (supports_get_siginfo_type): New proc.
4026 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
4027 * gdb.base/siginfo-thread.exp: Likewise.
4028
07fcd301
YQ
40292015-06-22 Yao Qi <yao.qi@linaro.org>
4030
4031 * boards/remote-gdbserver-on-localhost.exp: Add comments.
4032
52042a00
YQ
40332015-06-22 Yao Qi <yao.qi@linaro.org>
4034
4035 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
4036 aarch64*-*-*.
4037 (skip_hw_watchpoint_tests): Likewise.
4038
74bd41ce
PP
40392015-06-18 Patrick Palka <patrick@parcs.ath.cx>
4040
4041 * gdb.base/gdbinit-history.exp: Test the interaction between
4042 setting GDBHISTSIZE and setting the history size via .gdbinit.
4043
bc460514
PP
40442015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4045
4046 PR gdb/16999
4047 * gdb.base/gdbhistsize-history.exp: New test.
4048
b58c513b
PP
40492015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4050
4051 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
4052 with GDBHISTSIZE.
4053 * gdb.base/readline.exp: Likewise.
4054
92046791
YQ
40552015-06-17 Yao Qi <yao.qi@linaro.org>
4056
4057 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
4058 line.
4059
2093d2d3
PP
40602015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4061
4062 * gdb.base/gdbinit-history.exp: Add test case to check that
4063 an unlimited history file does not get truncated on exit.
4064
e6c693af
AA
40652015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4066
4067 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
4068 (VECTOR): New macro. Use it...
4069 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
4070 ...for these typedefs.
4071 (int8, char1, int1, double1): New typedefs.
4072 (struct just_int2, struct two_int2): New structures.
4073 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
4074 (add_structvecs, add_singlevecs): New functions.
4075 (main): Call add_some_intvecs twice.
4076 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
4077 the compile and exit upon failure. Try compiling for the "native"
4078 architecture. Test inferior function calls with vector arguments
4079 and vector return value handling with "finish" and "return".
4080
c74f7d1c
JT
40812015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
4082
4083 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
4084 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
4085 PE file.
4086 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
4087
98aa42ee
AT
40882015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
4089
4090 PR breakpoints/16465
4091 * gdb.mi/mi-dprintf-pending.c: New file.
4092 * gdb.mi/mi-dprintf-pending.exp: New test.
4093 * gdb.mi/mi-dprintf-pendshr.c: New file.
4094
7d73c23c 40952015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 4096 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
4097
4098 * gdb.arch/i386-mpx-map.c: New file.
4099 * gdb.arch/i386-mpx-map.exp: New File.
4100
41012015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4102
4103 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
4104 * gdb.arch/i386-mpx.exp: Indentation fixed.
4105
41062015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4107
4108 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
4109 function and improved indentation.
4110 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
4111 gdb_test_multiple. Added additional tests to skip the test.
4112
41132015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4114
4115 * gdb.arch/i386-avx512.c: Change path in include file.
4116 * gdb.arch/i386-avx512.exp: Change include dir path
4117 compilation flag.
4118 * gdb.arch/i386-mpx.c: Change path in include file.
4119 * gdb.arch/i386-mpx.exp: Change include dir path compilation
4120 flag.
4121
d5eba19a
JK
41222015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4123
4124 * gdb.compile/compile-print.exp (compile print *vararray@3)
4125 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
4126
7f361056
JK
41272015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4128
4129 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
4130 (do not keep jit in memory): ... this.
4131 (expect 5): Change it to ...
4132 (expect no 5): ... this.
4133
3b462ec2
SM
41342015-06-02 Simon Marchi <simon.marchi@ericsson.com>
4135
4136 PR gdb/15564
4137 * gdb.mi/mi-detach.exp: New file.
4138
e0619de6
JK
41392015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4140
4141 PR symtab/18392
4142 * gdb.arch/amd64-tailcall-self.S: New file.
4143 * gdb.arch/amd64-tailcall-self.c: New file.
4144 * gdb.arch/amd64-tailcall-self.exp: New file.
4145
e970cb34
DB
41462015-05-28 Don Breazeal <donb@codesourcery.com>
4147
4148 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
4149 tests for remote targets by checking is_target_gdbserver.
4150
b2e2f908
DE
41512015-05-27 Doug Evans <dje@google.com>
4152
4153 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
4154 * gdb.dwarf2/opaque-type-lookup.c: New file.
4155 * gdb.dwarf2/opaque-type-lookup.exp: New file.
4156
82c7be31
DE
41572015-05-26 Doug Evans <dje@google.com>
4158
4159 * gdb.cp/iostream.cc: New file.
4160 * gdb.cp/iostream.exp: New file.
4161
b4f54984
DE
41622015-05-26 Doug Evans <dje@google.com>
4163
4164 * gdb.dwarf2/dw2-op-call.exp: Update.
4165 * gdb.dwarf2/dw4-sig-types.exp: Update.
4166 * gdb.dwarf2/implptr.exp: Update.
4167 * gdb.mi/mi-cmd-param-changed.exp: Update.
4168
4ea6efe9
DE
41692015-05-26 Doug Evans <dje@google.com>
4170
4171 * gdb.python/py-lazy-string.c: New file.
4172 * gdb.python/py-lazy-string.exp: New file.
4173 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
4174 (main): Update. Add estring3.
4175 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
4176 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
4177
f6bb7db3
YQ
41782015-05-26 Omair Javaid <omair.javaid@linaro.org>
4179 Yao Qi <yao.qi@linaro.org>
4180
4181 * gdb.reverse/aarch64.c: New.
4182 * gdb.reverse/aarch64.exp: New.
4183
a81bfbd0
OJ
41842015-05-26 Omair Javaid <omair.javaid@linaro.org>
4185
25d49b86
PA
4186 * lib/gdb.exp (supports_process_record): Return true for
4187 aarch64*-linux*.
a81bfbd0
OJ
4188 (supports_reverse): Likewise.
4189
158bf1b4
PP
41902015-05-22 Patrick Palka <patrick@parcs.ath.cx>
4191
4192 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4193 Use with_test_prefix.
4194
a0145030
AB
41952015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
4196
4197 * gdb.base/completion.exp: Add test for completion of layout
4198 names.
4199
ebe3b578
AB
42002015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
4201
4202 * lib/gdb.exp (skip_tui_tests): New proc.
4203 * gdb.base/tui-layout.exp: Check skip_tui_tests.
4204
84204ed7
PA
42052015-05-19 Pedro Alves <palves@redhat.com>
4206
4207 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4208 Save the whole env array instead of just HOME. Unset HISTSIZE in
4209 the environment while testing. Restore whole environment
4210 afterwards.
4211
37442ce1
DE
42122015-05-16 Doug Evans <xdje42@gmail.com>
4213
4214 * gdb.guile/scm-ports.c: New file.
4215 * gdb.guile/scm-ports.exp: Add memory port tests.
4216
36de76f9
JK
42172015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4218
4219 * gdb.compile/compile-print.c: New file.
4220 * gdb.compile/compile-print.exp: New file.
4221
3a9558c4
JK
42222015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4223
4224 * gdb.compile/compile-ops.exp: Cast param to void.
4225 * gdb.compile/compile.exp: Complete type for _gdb_expr.
4226 (compile code struct_object.selffield = &struct_object): Add xfail.
4227
aa715135
JG
42282015-05-15 Joel Brobecker <brobecker@adacore.com>
4229
4230 * gdb.ada/arr_enum_with_gap: New testcase.
4231
931e5bc3
JG
42322015-05-15 Joel Brobecker <brobecker@adacore.com>
4233
4234 * gdb.ada/byte_packed_arr: New testcase.
4235
9cd4d857
JB
42362015-05-15 Joel Brobecker <brobecker@adacore.com>
4237
4238 * gdb.ada/pckd_neg: New testcase.
4239
ebfd00d2
PP
42402015-05-13 Patrick Palka <patrick@parcs.ath.cx>
4241
4242 PR gdb/17820
4243 * gdb.base/gdbinit-history.exp: New test.
4244 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
4245 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
4246
4c082a81
SC
42472015-05-09 Siva Chandra Reddy <sivachandra@google.com>
4248
4249 * gdb.python/py-xmethods.cc: Enhance test case.
4250 * gdb.python/py-xmethods.exp: New tests.
4251 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
4252 function.
4253 (B_indexoper): Likewise.
4254 (global_dm_list) : Add new xmethod worker functions.
4255
f7797074
SDJ
42562015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
4257
4258 * gdb.base/coredump-filter.exp: Correctly unset
4259 "coredump_var_addr" array.
4260
a4674e4e
PA
42612015-05-08 Pedro Alves <palves@redhat.com>
4262
4263 * gdb.server/non-existing-program.exp: Unset spawn_id.
4264
df2eb078
SC
42652015-05-08 Siva Chandra Reddy <sivachandra@google.com>
4266
4267 PR python/18291
4268 * gdb.python/py-xmethods.exp: Add tests.
4269
422349a3
YQ
42702015-05-08 Yao Qi <yao.qi@linaro.org>
4271
4272 PR gdb/18208
4273 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
4274 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
4275 function set_coredump_filter, and remove remote_exec call.
4276 Remove argument ipid. Callers update.
4277 (top level): Don't get inferior's PID.
4278
63fc80ce
AA
42792015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4280
4281 * gdb.base/watch_thread_num.exp: Skip test on targets without
4282 access watchpoints.
4283
80ad801e
PA
42842015-05-06 Pedro Alves <palves@redhat.com>
4285
4286 PR server/18081
4287 * gdb.server/non-existing-program.exp: New file.
4288
0fa7fe50
JB
42892015-05-05 Joel Brobecker <brobecker@adacore.com>
4290
4291 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4292
3ea89b92
PMR
42932015-05-05 Joel Brobecker <brobecker@adacore.com>
4294
4295 * gdb.ada/out_of_line_in_inlined: New testcase.
4296
87b8eff0
JB
42972015-05-05 Joel Brobecker <brobecker@adacore.com>
4298
4299 * gdb.ada/var_rec_arr: New testcase.
4300
5fccc635
YQ
43012015-04-30 Yao Qi <yao.qi@linaro.org>
4302
4303 * gdb.base/break-idempotent.exp: If
4304 skip_hw_watchpoint_multi_tests returns true, skip the tests
4305 on "rwatch" and "awatch".
4306
42d38f42
YQ
43072015-04-30 Yao Qi <yao.qi@linaro.org>
4308
4309 * gdb.base/relativedebug.exp: Invoke gdb command
4310 "info sharedlibrary", and if libc.so doesn't have debug info,
4311 skip the test.
4312
2ce1cdbf
DE
43132015-04-29 Doug Evans <dje@google.com>
4314
4315 * gdb.python/py-xmethods.exp: Add ptype tests.
4316 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4317 get_result_type method.
4318
f24a38c5
LM
43192015-04-29 Luis Machado <lgustavo@codesourcery.com>
4320
4321 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4322 the target does not support hardware watchpoints.
4323
ecbf2b3c
LM
43242015-04-29 Luis Machado <lgustavo@codesourcery.com>
4325
4326 * gdb.base/break-always.exp: Abort testing if writing to memory
4327 causes an error.
4328
34f5f757
DE
43292015-04-28 Doug Evans <dje@google.com>
4330
4331 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4332 * gdb.python/py-pp-registration.exp: ... here. New file.
4333 * gdb.python/py-pp-registration.c: New file.
4334 * gdb.python/py-pp-registration.py: New file.
4335
69b4374a
DE
43362015-04-28 Doug Evans <dje@google.com>
4337
4338 * gdb.python/py-bad-printers.c: New file.
4339 * gdb.python/py-bad-printers.py: New file.
4340 * gdb.python/py-bad-printers.exp: New file.
4341
59fb7612
SS
43422015-04-28 Sasha Smundak <asmundak@google.com>
4343
4344 * gdb.python/py-type.exp: New test.
4345
2631b16a
AW
43462015-04-28 Andy Wingo <wingo@igalia.com>
4347
4348 * gdb.python/py-parameter.exp:
4349 * gdb.guile/scm-parameter.exp: Escape the path that we are
4350 matching against, as it might contain characters that are special
4351 to regular expressions.
4352
460efde1
JB
43532015-04-27 Joel Brobecker <brobecker@adacore.com>
4354
4355 * gdb.ada/rec_comp: New testcase.
4356
2d369d8e
SDJ
43572015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4358
4359 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4360 before using it.
4361
cf75d6c3
AB
43622015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4363
4364 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4365 new tests for verilog output.
4366
8dbe7ca5
YQ
43672015-04-24 Yao Qi <yao.qi@linaro.org>
4368
4369 * boards/remote-gdbserver-on-localhost.exp: New file.
4370
4ef9fb2f
PA
43712015-04-23 Pedro Alves <palves@redhat.com>
4372
4373 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4374 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4375 "end of file", remove $inferior_spawn_id from the indirect list.
4376
0a803169
PA
43772015-04-23 Pedro Alves <palves@redhat.com>
4378
4379 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4380
749ef8f8
PA
43812015-04-23 Pedro Alves <palves@redhat.com>
4382
4383 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4384 on $any_spawn_id instead of only on $gdb_spawn_id.
4385
8aae4344
PM
43862015-04-21 Pierre Muller <muller@sourceware.org>
4387
4388 PR pascal/17815
4389 * lib/pascal.exp (gpc_compile): Add new option "class".
4390 (fpc_compile): Likewise.
4391 * gdb.pascal/case-insensitive-symbols.pas: New file.
4392 * gdb.pascal/case-insensitive-symbols.exp: New file.
4393
1586c8fb
GB
43942015-04-20 Gary Benson <gbenson@redhat.com>
4395
4396 * gdb.base/attach.exp: Fix three extended remote failures.
4397
1b6e6f5c
GB
43982015-04-17 Gary Benson <gbenson@redhat.com>
4399
4400 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4401 the main executable over the remote protocol.
4402
e797481d
PA
44032015-04-16 Pedro Alves <palves@redhat.com>
4404
4405 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4406 a new gdbserver if gdbserver_reconnect_p is set.
4407
1ca99c42
PA
44082015-04-16 Pedro Alves <palves@redhat.com>
4409
4410 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4411 is set, don't exit gdbserver.
4412
af9fd6f8
AA
44132015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4414
4415 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4416 appropriate .insn, such that an older assembler can be used.
4417 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4418 the z/Architecture instruction set on 31-bit targets as well.
4419
04ff1e61
AA
44202015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4421
4422 * gdb.go/handcall.exp: Remove all logic related to the first
4423 breakpoint and rely on go_runto_main instead.
4424 * gdb.go/strings.exp: Likewise.
4425 * gdb.go/unsafe.exp: Likewise.
4426 * gdb.go/hello.exp: Likewise. Also rename the remaining
4427 breakpoint marker to "breakpoint 1".
4428 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4429 * gdb.go/strings.go: Likewise.
4430 * gdb.go/unsafe.go: Likewise.
4431 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4432 "set breakpoint 2 here" and rename the remaining breakpoint marker
4433 to "breakpoint 1".
4434
40d2f8d6
SM
44352015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4436
4437 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4438 if itertools.imap is not present.
4439 * gdb.python/py-objfile.exp: Add parentheses.
4440 * gdb.python/py-type.exp: Same.
4441 * gdb.python/py-unwind-maint.py: Same.
4442
8cbc97c6
YQ
44432015-04-15 Yao Qi <yao.qi@linaro.org>
4444
4445 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4446 of ":$ptr_size" and set its form explicitly.
4447
45fd756c
YQ
44482015-04-15 Pedro Alves <palves@redhat.com>
4449 Yao Qi <yao.qi@linaro.org>
4450
4451 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4452 timeout by factor of 4.
4453 (test_regular_watch): Likewise.
4454 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4455 * gdb.reverse/sigall-reverse.exp: Likewise.
4456 * gdb.reverse/until-precsave.exp: Likewise.
4457 * lib/gdb.exp (with_timeout_factor): New proc.
4458 (gdb_expect): Move some code to ...
4459 (get_largest_timeout): ... here. New procedure.
4460
9e811bc3
LM
44612015-04-14 Luis Machado <lgustavo@codesourcery.com>
4462
4463 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4464
0ff6fcb2
LM
44652015-04-13 Luis Machado <lgustavo@codesourcery.com>
4466
4467 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4468 to write to the .text section.
4469
7578d5f7
LM
44702015-04-13 Luis Machado <lgustavo@codesourcery.com>
4471
4472 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4473 Handle the case of targets that do not provide PID information.
4474
2efe15c4
YQ
44752015-04-13 Yao Qi <yao.qi@linaro.org>
4476
4477 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4478 and use expect instead of gdb_expect.
4479
8cd8f2f8
SDJ
44802015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4481
4482 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4483 "coredump_var_addr" to avoid naming conflict with other testcases.
4484
9ee41772
PA
44852015-04-10 Pedro Alves <palves@redhat.com>
4486
4487 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4488 gdb_test_sequence and gdb_assert.
4489
07473109
PA
44902015-04-10 Pedro Alves <palves@redhat.com>
4491
4492 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4493 test messages that don't include the breakpoint address.
4494
de3db44c
YQ
44952015-04-10 Yao Qi <yao.qi@linaro.org>
4496
4497 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4498 false for some offset and width combinations which aren't
4499 supported by linux kernel.
4500
c79d856c
PA
45012015-04-10 Pedro Alves <palves@redhat.com>
4502
4503 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4504 procedure, factored out from ...
4505 (top level): ... here. Add "set displaced-stepping" testing axis.
4506 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4507 parameter "displaced". Use it.
4508 (top level): Use foreach and add "set displaced-stepping" testing
4509 axis.
4510
ebc90b50
PA
45112015-04-10 Pedro Alves <palves@redhat.com>
4512
4513 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4514 Remove comment.
4515 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4516 both the address of the instruction that triggers the watchpoint
4517 and the address of the instruction immediately after, and use
4518 those addresses for the test. Fix comment.
4519
8f572e5c
PA
45202015-04-10 Pedro Alves <palves@redhat.com>
4521
4522 * gdb.base/sigstep.exp (breakpoint_to_handler)
4523 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4524 Test "backtrace" in handler.
4525 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4526 (top level): Add new "displaced" test axis to
4527 breakpoint_to_handler, breakpoint_to_handler_entry and
4528 breakpoint_over_handler.
4529
8d707a12
PA
45302015-04-10 Pedro Alves <palves@redhat.com>
4531
4532 PR gdb/18216
4533 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4534
ef713951
YQ
45352015-04-10 Yao Qi <yao.qi@linaro.org>
4536
4537 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4538 (test_add_rn_pc): New function.
4539 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4540 (top level): Invoke test_add_rn_pc.
4541
906d60cf
PA
45422015-04-10 Pedro Alves <palves@redhat.com>
4543
4544 PR gdb/13858
4545 * gdb.base/step-over-no-symbols.exp: New file.
4546
f2983cc3
AW
45472015-04-09 Andy Wingo <wingo@igalia.com>
4548
4549 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4550 after the Python tests.
4551
6d62641c
SDJ
45522015-04-08 Keith Seitz <keiths@redhat.com>
4553
4554 PR python/16699
4555 * gdb.python/py-completion.exp: New tests for completion.
4556 * gdb.python/py-completion.py (CompleteLimit1): New class.
4557 (CompleteLimit2): Likewise.
4558 (CompleteLimit3): Likewise.
4559 (CompleteLimit4): Likewise.
4560 (CompleteLimit5): Likewise.
4561 (CompleteLimit6): Likewise.
4562 (CompleteLimit7): Likewise.
4563
f3770638
PA
45642015-04-08 Pedro Alves <palves@redhat.com>
4565
4566 PR gdb/18214
4567 PR gdb/18216
4568 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4569 function.
4570 (main): Install it as SIGUSR1 handler.
4571 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4572 parameter. Always use "setup" as prefix. Toggle "set
4573 displaced-stepping" off/on depending on global. Don't switch to
4574 thread 1 here.
4575 (top level): Add displaced stepping "off/on" test axis. Update
4576 "setup" calls. Wrap each subtest with with_test_prefix. Test
4577 continuing with a queued signal in each thread.
4578
4496bed7
PA
45792015-04-08 Pedro Alves <palves@redhat.com>
4580
4581 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4582 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4583 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4584 Return early if running to main fails.
4585 * gdb.trace/while-stepping.exp: Likewise.
4586
b97fde92
PA
45872015-04-07 Pedro Alves <palves@redhat.com>
4588
4589 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4590 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4591 interact with inferior program.
4592
f71c18e7
PA
45932015-04-07 Pedro Alves <palves@redhat.com>
4594
4595 * lib/gdb.exp (inferior_spawn_id): New global.
4596 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4597 spawn id after processing the user code.
4598 (default_gdb_start): Set inferior_spawn_id.
4599 (send_inferior): New procedure.
4600 * lib/gdbserver-support.exp (gdbserver_start): Set
4601 inferior_spawn_id.
4602 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4603
6423214f
PA
46042015-04-07 Pedro Alves <palves@redhat.com>
4605
4606 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4607 * lib/gdbserver-support.exp (gdbserver_start): Make
4608 $server_spawn_id global.
4609 (gdbserver_start): Don't wait for gdbserver's spawn id with
4610 expect_background.
4611 (close_gdbserver): New procedure.
4612 (gdb_exit): Rename the default version and reimplement.
4613
71c0ee8c
PA
46142015-04-07 Pedro Alves <palves@redhat.com>
4615
72f4393d 4616 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
4617 append the substituted item, not the original item.
4618
203bc29b
PA
46192015-04-07 Pedro Alves <palves@redhat.com>
4620
4621 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4622 gdb_expect.
4623
508a3ddf
PA
46242015-04-07 Pedro Alves <palves@redhat.com>
4625
4626 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4627 output appearing once only.
4628
9f6dbe2b
PA
46292015-04-07 Pedro Alves <palves@redhat.com>
4630
4631 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4632 that doesn't expect anything. Return early if running to main
4633 fails.
4634
337532fa
YQ
46352015-04-07 Yao Qi <yao.qi@linaro.org>
4636
4637 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4638 (child_function): Call alarm.
4639 (main): Move call to alarm into the loop.
4640 * gdb.threads/non-stop-fair-events.exp: Build program with
4641 -DTIMEOUT=$timeout.
4642
01b622d4
DE
46432015-04-06 Doug Evans <xdje42@gmail.com>
4644
4645 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4646 Fix dest parameter to board_info.
4647 (fpc_compile): Ditto.
4648 (gdb_compile_pascal): Rename dest arg to destfile.
4649
961f4160
PMR
46502015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4651
4652 * gdb.ada/funcall_ref.exp: New file.
4653 * gdb.ada/funcall_ref/foo.adb: New file.
4654
cafda597
YQ
46552015-04-02 Yao Qi <yao.qi@linaro.org>
4656
4657 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4658 is remote.
4659
fed040c6
GB
46602015-04-02 Gary Benson <gbenson@redhat.com>
4661
4662 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4663
d11916aa
SS
46642015-04-01 Sasha Smundak <asmundak@google.com>
4665
4666 * gdb.python/py-unwind-maint.c: New file.
4667 * gdb.python/py-unwind-maint.exp: New test.
4668 * gdb.python/py-unwind-maint.py: New file.
4669 * gdb.python/py-unwind.c: New file.
4670 * gdb.python/py-unwind.exp: New test.
4671 * gdb.python/py-unwind.py: New test.
4672
a1471180
PA
46732015-04-01 Pedro Alves <palves@redhat.com>
4674
4675 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4676 to fail instead of non-existent $test.
4677
0bbeccb1
PA
46782015-04-01 Pedro Alves <palves@redhat.com>
4679
4680 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4681 GDBFLAGS if not empty.
4682
3c724c8c
PMR
46832015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4684
4685 * gdb.ada/complete.exp: Remove "multi_line".
4686 * gdb.ada/info_exc.exp: Remove "multi_line".
4687 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4688 * gdb.ada/ptype_field.exp: Remove "multi_line".
4689 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4690 * gdb.ada/tagged.exp: Remove "multi_line".
4691 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4692 [multi_line ...]
4693 * gdb.btrace/delta.exp: Likewise.
4694 * gdb.btrace/exception.exp: Likewise.
4695 * gdb.btrace/function_call_history.exp: Likewise.
4696 * gdb.btrace/instruction_history.exp: Likewise.
4697 * gdb.btrace/nohist.exp: Likewise.
4698 * gdb.btrace/record_goto.exp: Likewise.
4699 * gdb.btrace/segv.exp: Likewise.
4700 * gdb.btrace/stepi.exp: Likewise.
4701 * gdb.btrace/tailcall.exp: Likewise.
4702 * gdb.btrace/unknown_functions.exp: Likewise.
4703 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4704 * lib/gdb.exp: Add the "multi_line" helper.
4705
4eec2deb
PA
47062015-04-01 Pedro Alves <palves@redhat.com>
4707
4708 * gdb.threads/tid-reuse.c: New file.
4709 * gdb.threads/tid-reuse.exp: New file.
4710
df8411da
SDJ
47112015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4712
4713 PR corefiles/16092
4714 * gdb.base/coredump-filter.c: New file.
4715 * gdb.base/coredump-filter.exp: Likewise.
4716
6ef37366
PM
47172015-03-27 Petr Machata <pmachata@redhat.com>
4718
4719 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4720 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4721 (Dwarf::assemble): Initialize them.
4722 (Dwarf::lines): New function.
4723
7ec911b0
JT
47242015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4725
4726 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4727 SYMBOL_PREFIX for x86_64-*-cygwin.
4728
ff908ebf
AW
47292015-03-26 Andy Wingo <wingo@igalia.com>
4730
4731 PR symtab/18148
4732 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4733 const_value but not a location.
4734 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4735 location defined in non-main CUs are visible.
4736
6d5f0679
YQ
47372015-03-26 Yao Qi <yao.qi@linaro.org>
4738
4739 PR testsuite/18139
4740 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4741 Add a line number entry for the same line.
4742 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4743 Add a line number entry for the same line.
4744
2898689b
YQ
47452015-03-26 Yao Qi <yao.qi@linaro.org>
4746
4747 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4748 .int 0.
4749 (func): Likewise. Add .Lfunc_1 label.
4750 Use .Lfunc_1 label.
4751 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4752 .int 0.
4753 (func): Likewise.
4754 Use .Lfunc_1 label.
4755
85180498
YQ
47562015-03-26 Yao Qi <yao.qi@linaro.org>
4757
4758 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4759 Call gdb_compile instead to compile each .s files without debug
4760 information.
4761
8aa08a8d
YQ
47622015-03-26 Yao Qi <yao.qi@linaro.org>
4763
4764 * gdb.base/savedregs.exp (process_saved_regs): Make
4765 "Saved registers:" optional in the pattern.
4766
66849923
MM
47672015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4768
4769 * gdb.btrace/next.exp: Merged into step.exp.
4770 * gdb.btrace/finish.exp: Merged into step.exp.
4771 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4772 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4773 "record goto" and checking the exact replay position.
4774 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4775 check for "Recording format" in "info record" output.
4776 * gdb.btrace/record_goto.exp: Choose test file based on target.
4777 * gdb.btrace/x86-record_goto.S: Renamed into ...
4778 * gdb.btrace/x86_64-record_goto.S: ... this.
4779 * gdb.btrace/i686-record_goto.S: New.
4780 * gdb.btrace/x86-tailcall.S: Renamed into ...
4781 * gdb.btrace/x86_64-tailcall.S: ... this.
4782 * gdb.btrace/i686-tailcall.S: New.
4783 * gdb.btrace/x86-tailcall.c: Renamed into ...
4784 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4785 separate statements. Update test.
4786 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4787 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4788 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4789 * gdb.btrace/tailcall.exp: Choose test file based on target.
4790 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4791
11cc1b74
MM
47922015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4793
4794 * gdb.btrace/exception.exp: Increase BTS buffer size.
4795
a25d8bf9
PA
47962015-03-24 Pedro Alves <palves@redhat.com>
4797
4798 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4799
856e7dd6
PA
48002015-03-24 Pedro Alves <palves@redhat.com>
4801
4802 * gdb.threads/schedlock.exp (test_step): No longer expect that
4803 "set scheduler-locking step" with "next" over a function call runs
4804 threads unlocked.
4805
ad235a41
AT
48062015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4807
4808 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4809
15630549
AT
48102015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4811
4812 PR breakpoints/16466
4813 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4814 * gdb.mi/mi-pending.c (thread_func): New function.
4815 (int main): Add threading support required.
4816 * gdb.mi/mi-pending.exp: Add tests for this issue.
4817 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4818 (pendfunc2): Remove stdio dependency.
4819 * gdb.mi/mi-pendshr2.c: New file.
4820
693dca06
KS
48212015-03-23 Keith Seitz <keiths@redhat.com>
4822
4823 * gdb.linespec/keywords.c: New file.
4824 * gdb.linespec/keywords.exp: New file.
4825
7e993ebf
KS
48262015-03-23 Keith Seitz <keiths@redhat.com>
4827
4828 PR gdb/18021
4829 * gdb.dwarf2/staticvirtual.exp: New test.
4830
bc23328c
JK
48312015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4832
4833 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4834 * README: Remove HP-UX and gdb.hp.
4835 (configuration):
4836 * configure: Regenerate.
4837 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4838 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4839 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4840 gdb.hp/gdb.defects/Makefile.
4841 * gdb.hp/Makefile.in: File deleted.
4842 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4843 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4844 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4845 * gdb.hp/gdb.aCC/run.c: File deleted.
4846 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4847 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4848 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4849 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4850 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4851 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4852 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4853 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4854 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4855 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4856 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4857 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4858 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4859 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4860 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4861 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4862 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4863 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4864 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4865 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4866 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4867 * gdb.hp/gdb.compat/average.c: File deleted.
4868 * gdb.hp/gdb.compat/sum.c: File deleted.
4869 * gdb.hp/gdb.compat/xdb.c: File deleted.
4870 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4871 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4872 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4873 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4874 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4875 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4876 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4877 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4878 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4879 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4880 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4881 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4882 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4883 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4884 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4885 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4886 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4887 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4888 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4889 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4890 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4891 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4892 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4893 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4894 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4895 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4896 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4897 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4898 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4899 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4900 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4901 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4902 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4903 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4904 * gdb.hp/tools/odump: File deleted.
4905
8bf3b159
PA
49062015-03-19 Pedro Alves <palves@redhat.com>
4907
4908 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4909 (saw_thread_3): New globals.
4910 (top level): Increment them when an event for the corresponding
4911 thread is seen.
4912 (no thread starvation): New test.
4913
eb54c8bf
PA
49142015-03-19 Pedro Alves <palves@redhat.com>
4915
4916 * gdb.threads/continue-pending-status.c: New file.
4917 * gdb.threads/continue-pending-status.exp: New file.
4918
32d2e5d6
PA
49192015-03-18 Pedro Alves <palves@redhat.com>
4920
4921 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4922 Use gdb_is_target_remote instead of is_remote. Use
4923 gdb_test_multiple instead of gdb_expect. Exit early if
4924 gdb_test_multiple hits its internal matches. Tighten stepi tests
4925 expected output. Fail on exit with any signal, instead of just
4926 SIGILL.
4927
f68f11b7
YQ
49282015-03-18 Yao Qi <yao.qi@linaro.org>
4929
4930 PR tdep/18107
4931 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4932 variable.
4933 * gdb.base/catch-syscall.exp: Don't skip it on
4934 aarch64*-*-linux* target. Remove elements in all_syscalls.
4935 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4936 target.
4937 (setup_all_syscalls): New proc.
4938
ca5fd19b
YQ
49392015-03-16 Yao Qi <yao.qi@linaro.org>
4940
4941 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4942 (top level): Skip tests if valid_addr_p returns false for
4943 $cmd1 or $cmd2.
4944
85642ba0
AW
49452015-03-11 Andy Wingo <wingo@igalia.com>
4946
4947 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4948
e03f9645
YQ
49492015-03-11 Yao Qi <yao.qi@linaro.org>
4950
4951 * gdb.base/catch-syscall.exp: Fix typo in comments.
4952
5d0962b2
YQ
49532015-03-11 Yao Qi <yao.qi@linaro.org>
4954
4955 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4956
b2df3cef
PA
49572015-03-09 Pedro Alves <palves@redhat.com>
4958
4959 * dg-extract-results.py: Delete.
4960
ef878e53
PA
49612015-03-09 Pedro Alves <palves@redhat.com>
4962
4963 Merge dg-extract-results.sh from GCC upstream (r218843).
4964
4965 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4966 * dg-extract-results.sh: Use --text with grep to avoid issues with
4967 binary files. Fall back to cat -v, if that doesn't work.
4968
9494d219
PA
49692015-03-05 Pedro Alves <palves@redhat.com>
4970
4971 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4972
a8d9763a
SM
49732015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4974
4975 * lib/mi-support.exp (mi_expect_interrupt): Accept
4976 alternative event for when in all-stop mode.
4977
be9957b8
PA
49782015-03-04 Pedro Alves <palves@redhat.com>
4979
4980 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4981
d57be0f4 49822015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
4983
4984 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4985
c214c7cf
AA
49862015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4987
4988 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4989 regexps for GDB's current line display, accept a hex address
4990 preceding the line number.
4991
6d74a497
AA
49922015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4993
4994 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4995 the 'arch1' variable for "s390*-linux*" targets.
4996
511aee7c
PA
49972015-03-04 Pedro Alves <palves@redhat.com>
4998
4999 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
5000 (main): Pass missing retval argument to pthread_join call.
5001
95e50b27
PA
50022015-03-02 Pedro Alves <palves@redhat.com>
5003
5004 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
5005 (top level): Call do_test with non-stop as well.
5006
28054d69
PA
50072015-03-02 Pedro Alves <palves@redhat.com>
5008
5009 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
5010 -1.
5011
4fa5d7b4
AA
50122015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5013
5014 * gdb.arch/s390-vregs.exp: New test.
5015 * gdb.arch/s390-vregs.S: New file.
5016
97c18565
PA
50172015-02-27 Pedro Alves <palves@redhat.com>
5018
5019 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
5020 call to catch_command_errors.
5021 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
5022 catch_command_errors.
5023
a37bfa30
PA
50242015-02-27 Pedro Alves <palves@redhat.com>
5025
5026 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
5027 "true" for boolean result.
5028 * gdb.gdb/selftest.exp (test_with_self): Also accept full
5029 prototype of main.
5030
6f98576f
PA
50312015-02-27 Pedro Alves <palves@redhat.com>
5032
5033 * lib/unbuffer_output.c: New file.
5034 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
5035 (main): Call gdb_unbuffer_output.
5036
eba5ab56
YQ
50372015-02-27 Yao Qi <yao.qi@linaro.org>
5038
5039 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
5040 target.
5041
0def5aaa
DE
50422015-02-26 Doug Evans <dje@google.com>
5043
5044 * gdb.cp/class2.cc (Dbase, D): New classes.
5045 (main): New local delta.
5046 * gdb.cp/class2.exp: Test printing delta.
5047 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
5048 (dynbar): New global.
5049 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
5050
081a1c2c
JK
50512015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5052
5053 * gdb.compile/compile-ifunc.c: New file.
5054 * gdb.compile/compile-ifunc.exp: New file.
5055
2f41223f
AT
50562015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
5057
5058 * gdb.base/structs.exp: Check for correct struct on finish.
5059
03eddd80
YQ
50602015-02-26 Yao Qi <yao.qi@linaro.org>
5061
5062 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
5063 is zero.
5064
80c57053
JK
50652015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5066
5067 * gdb.arch/cordic.ko.bz2: New file.
5068 * gdb.arch/cordic.ko.debug.bz2: New file.
5069 * gdb.arch/ppc64-symtab-cordic.exp: New file.
5070
21613c12
YQ
50712015-02-25 Yao Qi <yao.qi@linaro.org>
5072
5073 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
5074 aarch64*-*-* target.
5075
d8b901ed
PA
50762015-02-23 Pedro Alves <palves@redhat.com>
5077
5078 * lib/gdb.exp (delete_breakpoints): Rewrite using
5079 gdb_test_multiple.
5080
e5b85ead
PA
50812015-02-23 Pedro Alves <palves@redhat.com>
5082
5083 * gdb.base/info-os.c: Include stdlib.h.
5084
85c3a371
DE
50852015-02-22 Doug Evans <xdje42@gmail.com>
5086
5087 PR symtab/17855
5088 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
5089 is read after symbols have been re-read.
5090 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
5091 * gdb.ada/exec_changed/second.adb (Second): Ditto.
5092
96553a0c
DE
50932015-02-21 Doug Evans <dje@google.com>
5094
5095 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
5096
97a0c697
JK
50972015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5098
5099 PR corefiles/17808
5100 * gdb.arch/i386-biarch-core.core.bz2: New file.
5101 * gdb.arch/i386-biarch-core.exp: New file.
5102
a47cd6e9
PA
51032015-02-21 Pedro Alves <palves@redhat.com>
5104
5105 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
5106 runto_main fails.
5107
c5facdc4
PA
51082015-02-20 Pedro Alves <palves@redhat.com>
5109
5110 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
5111 info probes.
5112
2db9a427
PA
51132015-02-20 Pedro Alves <palves@redhat.com>
5114
5115 * gdb.threads/multi-create-ns-info-thr.exp: New file.
5116
60fb7e9e
PA
51172015-02-20 Pedro Alves <palves@redhat.com>
5118
5119 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
5120 clean_restart before gdb_target_supports_trace.
5121
5c5019c2
PA
51222015-02-20 Pedro Alves <palves@redhat.com>
5123
5124 PR threads/18006
5125 * gdb.threads/clone-thread_db.c: New file.
5126 * gdb.threads/clone-thread_db.exp: New file.
5127
c9587f88
AT
51282015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
5129
5130 PR breakpoints/16812
5131 * gdb.base/catch-gdb-caused-signals.c: New file.
5132 * gdb.base/catch-gdb-caused-signals.exp: New file.
5133
f6a88844
JM
51342015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
5135
5136 * configure: Regenerated.
5137 * configure.ac: Use GDB_AC_TRANSFORM.
5138 * aclocal.m4: sinclude ../transform.m4.
5139
497c491b
JM
51402015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5141
5142 * lib/dtrace.exp: New file.
5143 * gdb.base/dtrace-probe.exp: Likewise.
5144 * gdb.base/dtrace-probe.d: Likewise.
5145 * gdb.base/dtrace-probe.c: Likewise.
5146 * lib/pdtrace.in: Likewise.
5147 * configure.ac: Output variables with the transformed names of
5148 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
5149 * configure: Regenerated.
5150
03e98035
JM
51512015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5152
5153 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
5154 expected message when trying to access $_probe_* convenience
5155 variables while not on a probe.
5156
63cc30e9
JK
51572015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5158
5159 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
5160
0703599a
PA
51612015-02-11 Pedro Alves <pedro@codesourcery.com>
5162
5163 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
5164 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
5165
7e60a48e
DE
51662015-02-10 Doug Evans <xdje42@gmail.com>
5167
5168 * lib/gdb.exp (gdb_load): Always return a result.
5169
01b088bc
PA
51702015-02-10 Pedro Alves <palves@redhat.com>
5171
5172 * gdb.threads/signal-sigtrap.c: New file.
5173 * gdb.threads/signal-sigtrap.exp: New file.
5174
b05ec7a5
AT
51752015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
5176
5177 * gdb.trace/no-attach-trace.c: New file.
5178 * gdb.trace/no-attach-trace.exp: New file.
5179
a2c2acaf
MW
51802015-02-09 Mark Wielaard <mjw@redhat.com>
5181
5182 * gdb.dwarf2/atomic.c: New file.
5183 * gdb.dwarf2/atomic-type.exp: Likewise.
5184
31fd9caa
MM
51852015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5186
5187 * gdb.btrace/buffer-size.exp: Update "info record" output.
5188 * gdb.btrace/delta.exp: Update "info record" output.
5189 * gdb.btrace/enable.exp: Update "info record" output.
5190 * gdb.btrace/finish.exp: Update "info record" output.
5191 * gdb.btrace/instruction_history.exp: Update "info record" output.
5192 * gdb.btrace/next.exp: Update "info record" output.
5193 * gdb.btrace/nexti.exp: Update "info record" output.
5194 * gdb.btrace/step.exp: Update "info record" output.
5195 * gdb.btrace/stepi.exp: Update "info record" output.
5196 * gdb.btrace/nohist.exp: Update "info record" output.
5197
d33501a5
MM
51982015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5199
5200 * gdb.btrace/buffer-size: New.
5201
f4abbc16
MM
52022015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5203
5204 * gdb.btrace/delta.exp: Update "info record" output.
5205 * gdb.btrace/enable.exp: Update "info record" output.
5206 * gdb.btrace/finish.exp: Update "info record" output.
5207 * gdb.btrace/instruction_history.exp: Update "info record" output.
5208 * gdb.btrace/next.exp: Update "info record" output.
5209 * gdb.btrace/nexti.exp: Update "info record" output.
5210 * gdb.btrace/step.exp: Update "info record" output.
5211 * gdb.btrace/stepi.exp: Update "info record" output.
5212 * gdb.btrace/nohist.exp: Update "info record" output.
5213
b9d61307
SM
52142015-02-06 Simon Marchi <simon.marchi@ericsson.com>
5215
5216 PR gdb/15678
5217 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
5218
e584fdbc
PA
52192015-02-06 Pedro Alves <palves@redhat.com>
5220
5221 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
5222 macro.
5223 (seconds_left, again): New globals.
5224 (main): Wait seconds_left in a 1-second sleep loop instead of
5225 sleeping 180 seconds. If 'again' is set, reset the seconds
5226 counter.
5227 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
5228 'again' in the inferior before detaching. Print the seconds left.
5229 (options): New global.
5230 (top level): Build program with -DTIMEOUT=$timeout.
5231
77f41761
PA
52322015-02-06 Pedro Alves <palves@redhat.com>
5233
5234 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
5235 determine how many seconds to pass to 'alarm'.
5236 * gdb.base/gdb-sigterm.exp (top level): Build program with
5237 -DTIMEOUT=$timeout.
5238 (do_test): Return success/failure indication. Add more verbose
5239 logging. Don't fail if 200 single steps are seen. Instead, fail
5240 when the test times out.
5241 (passes): New global.
5242 (top level): Break the testing loop if testing fails on any
5243 iteration. Use gdb_assert.
5244
b9394193
DB
52452015-02-04 Don Breazeal <donb@codesourcery.com>
5246
5247 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
5248 and initialize them.
5249 (ipc_cleanup): New function.
5250 (main): Don't declare shmid, semid, and msqid. Add a call to
5251 atexit so that we call ipc_cleanup on exit.
5252
42d9e528
PA
52532015-02-04 Pedro Alves <palves@redhat.com>
5254
5255 * boards/native-extended-gdbserver.exp: Remove any target variant
5256 specifications from the board name before clearing the isremote
5257 flag from board_info.
5258
ae6ae975
DE
52592015-01-31 Doug Evans <xdje42@gmail.com>
5260
5261 * gdb.base/maint.exp <maint print type argc>: Update expected output.
5262
cfb069a8
GB
52632015-01-31 Gary Benson <gbenson@redhat.com>
5264
5265 * gdb.base/completion.exp: Disable completion limiting for
5266 existing tests. Add new tests to check completion limiting.
5267 * gdb.linespec/ls-errs.exp: Disable completion limiting.
5268
5dd31d79
DE
52692015-01-31 Doug Evans <xdje42@gmail.com>
5270
5271 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
5272
9f050062
DE
52732015-01-31 Doug Evans <xdje42@gmail.com>
5274
5275 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
5276 entries. Duplicate file section script entries.
5277 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
5278 inlined entries. Add test for safe-path rejection.
5279 * gdb.python/py-section-script.c: Add duplicate inlined section script
5280 entries. Duplicate file section script entries.
5281 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5282 inlined entries. Add test for safe-path rejection.
5283
df25ebbd
JB
52842015-01-29 Joel Brobecker <brobecker@adacore.com>
5285
5286 * gdb.ada/disc_arr_bound: New testcase.
5287
4a0ca9ec
JB
52882015-01-29 Joel Brobecker <brobecker@adacore.com>
5289
5290 * gdb.ada/mi_var_array: New testcase.
5291
3a8b707a
DE
52922015-01-27 Doug Evans <dje@google.com>
5293
5294 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5295 Add test for objfile.filename, objfile.username after objfile
5296 has been unloaded.
5297
f8313f6e
JB
52982015-01-26 Joel Brobecker <brobecker@adacore.com>
5299
5300 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5301 the second test to print the name attribute of value
5302 returned by the call to gdb.lookup_type, and adjust
5303 the expected output accordingly.
5304
37bc665e
MW
53052015-01-25 Mark Wielaard <mjw@redhat.com>
5306
5307 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5308 * gdb.base/disp-step-fork.c: Include unistd.h.
5309 * gdb.base/siginfo-obj.c: Include stdio.h.
5310 * gdb.base/siginfo-thread.c: Likewise.
5311 * gdb.mi/non-stop.c: Include unistd.h.
5312 * gdb.mi/nsthrexec.c: Include stdio.h.
5313 * gdb.mi/pthreads.c: Include unistd.h.
5314 * gdb.modula2/unbounded1.c (main): Declare returns int.
5315 * gdb.reverse/consecutive-reverse.c: Likewise.
5316 * gdb.threads/create-fail.c: Include unistd.h.
5317 * gdb.threads/killed.c: Likewise.
5318 * gdb.threads/linux-dp.c: Likewise.
5319 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5320 * gdb.threads/non-ldr-exc-2.c: Likewise.
5321 * gdb.threads/non-ldr-exc-3.c: Likewise.
5322 * gdb.threads/non-ldr-exc-4.c: Likewise.
5323 * gdb.threads/pthreads.c: Include unistd.h.
5324 (main): Declare returns int.
5325 * gdb.threads/tls-main.c (foo): New declaration.
5326 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5327
f7e5394d
SM
53282015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5329
5330 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5331 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5332
743649fd
MW
53332015-01-15 Mark Wielaard <mjw@redhat.com>
5334
5335 * gdb.base/noreturn-return.c: New file.
5336 * gdb.base/noreturn-return.exp: New file.
5337 * gdb.base/noreturn-finish.c: New file.
5338 * gdb.base/noreturn-finish.exp: New file.
5339
198297aa
PA
53402015-01-23 Pedro Alves <palves@redhat.com>
5341
5342 * gdb.threads/continue-pending-after-query.c: New file.
5343 * gdb.threads/continue-pending-after-query.exp: New file.
5344
717cf30c
AG
53452015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5346 Simon Marchi <simon.marchi@ericsson.com>
5347
5348 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5349 * gdb.base/valgrind-db-attach.exp: Same.
5350 * gdb.base/valgrind-infcall.exp: Same.
5351 * lib/mi-support.exp (default_mi_gdb_start): Same.
5352 * lib/prompt.exp (default_prompt_gdb_start): Same.
5353 * lib/gdb.exp (default_gdb_spawn): Same.
5354 (gdb_interact): New.
5355
5356
4b62a76e
JK
53572015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5358
5359 * gdb.compile/compile.exp (pointer to jit function): New test.
5360
b4cdae6f
WW
53612015-01-17 Wei-cheng Wang <cole945@gmail.com>
5362
5363 * lib/gdb.exp (supports_process_record): Return true for
5364 powerpc*-*-linux*.
5365 (supports_reverse): Likewise.
5366
d221e7ef
DB
53672015-01-15 Don Breazeal <donb@codesourcery.com>
5368
5369 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5370 instead of checking whether the target board is remote and
5371 use spawn_wait_for_attach instead of exec/sleep.
5372 * gdb.base/attach-twice.exp: Likewise.
5373
bafffb51
JB
53742015-01-15 Joel Brobecker <brobecker@adacore.com>
5375
5376 * gdb.ada/var_arr_attrs: New testcase.
5377
5589af0e
PA
53782015-01-14 Pedro Alves <palves@redhat.com>
5379 Joel Brobecker <brobecker@adacore.com>
5380
5381 PR gdb/17525
5382 * gdb.base/bp-cmds-execution-x-script.c: New file.
5383 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5384 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5385
6c400b59
PA
53862015-01-14 Pedro Alves <palves@redhat.com>
5387
5388 PR cli/17828
5389 * gdb.base/batch-preserve-term-settings.c: New file.
5390 * gdb.base/batch-preserve-term-settings.exp: New file.
5391
e02c96a7
DE
53922015-01-13 Doug Evans <dje@google.com>
5393
5394 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5395 binary.
5396
576fd14c
JB
53972015-01-13 Joel Brobecker <brobecker@adacore.com>
5398
5399 * Makefile.in (clean mostlyclean): Do not delete *.py.
5400
04dccad0
JB
54012015-01-13 Joel Brobecker <brobecker@adacore.com>
5402
5403 * gdb.python/py-lookup-type.exp: New file.
5404
3d230f71
PA
54052015-01-12 Pedro Alves <palves@redhat.com>
5406
5407 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5408 restore GDBFLAGS before returning.
5409
7e67715d
JK
54102015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5411
5412 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5413 is_amd64_regs_target and is_x86_like_target.
5414
f2e0d4b4
DE
54152015-01-11 Doug Evans <xdje42@gmail.com>
5416
5417 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5418 is given without an explicit form.
5419 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5420 attributes.
5421 * gdb.dwarf/corrupt.exp: Ditto.
5422 * gdb.dwarf2/enum-type.exp: Ditto.
5423 * gdb.trace/entry-values.exp: Ditto.
5424 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5425
439250fb
DE
54262015-01-11 Doug Evans <xdje42@gmail.com>
5427
5428 PR gdb/15830
5429 * gdb.base/maint.exp: Remove references to "maint demangle".
5430 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5431 Add tests for explicitly specifying language to demangle.
5432 * gdb.dlang/demangle.exp: Ditto.
5433
ede9f622
PA
54342015-01-09 Pedro Alves <palves@redhat.com>
5435
5436 * gdb.threads/non-stop-fair-events.c: New file.
5437 * gdb.threads/non-stop-fair-events.exp: New file.
5438
a7b796db
PA
54392015-01-09 Pedro Alves <palves@redhat.com>
5440
5441 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5442 the global scope. Set a breakpoint after all threads are started
5443 rather than stepping over two source lines. Expect the prompt.
5444 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5445 global.
5446 (NUM): Now 15.
5447 (main): Use threads_started_barrier to wait for all threads to
5448 start. Main thread no longer calls thread_function. Exit after
5449 180 seconds.
5450 (loop): New function.
5451 (thread_function): Wait on threads_started_barrier barrier. Call
5452 'loop' at each iteration.
5453 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5454 threads have started, instead of hardcoding number of "next"
5455 steps. Use an access watchpoint instead of a write watchpoint.
5456
9665ffdd
PA
54572015-01-09 Pedro Alves <palves@redhat.com>
5458
5459 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5460 (thread_func): Wait on barrier.
5461 (main): Wait for all threads to start before stopping GDB.
5462 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5463 global.
5464 (thread1_func, thread2_func): Wait on barrier.
5465 (main): Wait for all threads to start before stopping GDB.
5466 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5467 New global.
5468 (thread1_func, thread2_func): Wait on barrier.
5469 (main): Wait for all threads to start before stopping GDB.
5470
c945a99f
PA
54712015-01-09 Pedro Alves <palves@redhat.com>
5472
5473 * gdb.threads/attach-many-short-lived-threads.c: New file.
5474 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5475
c1a747c1
PA
54762014-01-09 Pedro Alves <palves@redhat.com>
5477
5478 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5479 instead of to thread 2.
5480 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5481 Add barrier around each pthread_create call instead of around all
5482 calls.
5483 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5484 Set a break on thread_function and have the child threads hit it
5485 one at at a time.
5486
60b3033e
PA
54872015-01-09 Pedro Alves <palves@redhat.com>
5488
5489 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5490 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5491 false.
5492 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5493 checking whether the target board is remote.
5494 * gdb.multi/multi-attach.exp: Likewise.
5495 * gdb.python/py-sync-interp.exp: Likewise.
5496 * gdb.server/ext-attach.exp: Likewise.
5497 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5498 tests that need to attach, instead of checking whether the target
5499 board is remote at the top of the file.
5500
acc018ac
YQ
55012015-01-08 Yao Qi <yao@codesourcery.com>
5502
5503 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5504
50a18af8
JK
55052015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5506
5507 Fix testcase compilation.
5508 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5509
8503d6e1
JB
55102015-01-06 Joel Brobecker <brobecker@adacore.com>
5511
5512 * gdb.python/py-type.exp: Add a couple test about empty
5513 array creation, and negative-length array creation.
5514
cc73dbcc
DE
55152015-01-02 Doug Evans <xdje42@gmail.com>
5516
5517 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5518
0300bbc7
DE
55192015-01-02 Doug Evans <dje@google.com>
5520
5521 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5522
9d85a0ec
YQ
55232014-12-29 Yao Qi <yao@codesourcery.com>
5524
5525 * gdb.trace/entry-values.exp: Update comments. Rename variable
5526 bar_call_foo to returned_from_foo.
5527
87186c6a
MMN
55282014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5529
5530 PR gdb/17394
5531 * gdb.linespec/break-asm-file.c: New file.
5532 * gdb.linespec/break-asm-file.exp: New file.
5533 * gdb.linespec/break-asm-file0.s: New file.
5534 * gdb.linespec/break-asm-file1.s: New file.
5535
1bab7383
YQ
55362014-12-18 Nigel Stephens <nigel@mips.com>
5537 Maciej W. Rozycki <macro@codesourcery.com>
5538
5539 * gdb.base/float.exp: Handle the new output from "info float" on
5540 MIPS targets.
5541
1bc1068a
JK
55422014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5543
5544 Fix MinGW compilation.
5545 * gdb.compile/compile-ops.exp: Update untested message if
5546 !skip_compile_feature_tests.
5547 * gdb.compile/compile-setjmp.exp: Likewise.
5548 * gdb.compile/compile-tls.exp: Likewise.
5549 * gdb.compile/compile.exp: Likewise.
5550 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5551 supported on this host".
5552
b6615d10
DE
55532014-12-16 Doug Evans <xdje42@gmail.com>
5554
5555 * boards/stabs.exp: New file.
5556
25dda427
AA
55572014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5558
5559 * gdb.base/completion.exp: Adjust to format changes of "maint
5560 print user-registers".
5561
bf330350
CU
55622014-12-16 Catalin Udma <catalin.udma@freescale.com>
5563
5564 PR server/17457
5565 * gdb.arch/aarch64-fp.c: New file.
5566 * gdb.arch/aarch64-fp.exp: New file.
5567
395cf596
SDJ
55682014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5569
5570 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5571 r210637, r210913, r211666, r215400, r215817).
5572
5573 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5574 * dg-extract-results.py: New file.
5575 * dg-extract-results.sh: Use it if the environment seems
5576 suitable.
5577
5578 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5579
5580 * dg-extract-results.py (parse_run): Handle warnings that
5581 are printed before a test harness is run.
5582
5583 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5584
5585 * dg-extract-results.py (Named): Remove __cmp__ method.
5586 (output_variation): Use a key to sort variation.harnesses.
5587
5588 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5589
5590 * dg-extract-results.py: For Python 3, force sys.stdout to
5591 handle surrogate escape sequences.
5592 (safe_open): New function.
5593 (output_segment, main): Use it.
5594
5595 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5596
5597 * dg-extract-results.py (Prog.result_re): Include options
5598 in test name.
5599
5600 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5601
5602 * dg-extract-results.py (output_variation): Always sort if
5603 do_sum.
5604
e882ef3c
SM
56052014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5606
5607 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5608 as long as we get pagination notifications.
5609
4992aa20
JM
56102014-12-15 Jason Merrill <jason@redhat.com>
5611
5612 * Makefile.in (check-gdb.%): Restore.
5613 * README: Mention it.
5614
c1b5a1a6
JB
56152014-12-13 Joel Brobecker <brobecker@adacore.com>
5616
5617 * gdb.ada/str_uninit: New testcase.
5618
5537b577
JK
56192014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5620
5621 PR symtab/17642
5622 * gdb.base/vla-stub-define.c: New file.
5623 * gdb.base/vla-stub.c: New file.
5624 * gdb.base/vla-stub.exp: New file.
5625
bb2ec1b3
TT
56262014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5627 Jan Kratochvil <jan.kratochvil@redhat.com>
5628 Tom Tromey <tromey@redhat.com>
5629
5630 * configure.ac: Add gdb.compile/.
5631 * configure: Regenerate.
5632 * gdb.compile/Makefile.in: New file.
5633 * gdb.compile/compile-ops.exp: New file.
5634 * gdb.compile/compile-ops.c: New file.
5635 * gdb.compile/compile-tls.c: New file.
5636 * gdb.compile/compile-tls.exp: New file.
5637 * gdb.compile/compile-constvar.S: New file.
5638 * gdb.compile/compile-constvar.c: New file.
5639 * gdb.compile/compile-mod.c: New file.
5640 * gdb.compile/compile-nodebug.c: New file.
5641 * gdb.compile/compile-setjmp-mod.c: New file.
5642 * gdb.compile/compile-setjmp.c: New file.
5643 * gdb.compile/compile-setjmp.exp: New file.
5644 * gdb.compile/compile-shlib.c: New file.
5645 * gdb.compile/compile.c: New file.
5646 * gdb.compile/compile.exp: New file.
5647 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5648
4ff709eb
TT
56492014-12-12 Tom Tromey <tromey@redhat.com>
5650
5651 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5652 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5653
6dddd6a5
DE
56542014-12-12 Doug Evans <dje@google.com>
5655
5656 * lib/gdb-python.exp (get_python_valueof): New function.
5657 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5658
71c24708
AA
56592014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5660
5661 * gdb.base/completion.exp: Add test for completion of "info
5662 registers ".
5663
3e29f34a
MR
56642014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5665
5666 * gdb.base/func-ptrs.c: New file.
5667 * gdb.base/func-ptrs.exp: New file.
5668
fc126975
SM
56692014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5670
5671 PR breakpoints/17012
5672 * gdb.base/dprintf-detach.c: New file.
5673 * gdb.base/dprintf-detach.exp: New file.
5674
0a46d518
SM
56752014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5676
5677 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5678 * lib/gdb.exp (target_is_gdbserver): New procedure.
5679
a0be3e44
DE
56802014-12-08 Doug Evans <dje@google.com>
5681
5682 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5683
df1b803a
YQ
56842014-12-05 Yao Qi <yao@codesourcery.com>
5685
5686 * gdb.guile/scm-error.exp: Remove the third argument to
5687 gdb_remote_download.
5688 * gdb.guile/scm-frame-args.exp: Likewise.
5689 * gdb.guile/scm-section-script.exp: Likewise.
5690
ddb9f679
YQ
56912014-12-05 Yao Qi <yao@codesourcery.com>
5692
5693 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5694
86e4ed39
DE
56952014-12-04 Doug Evans <dje@google.com>
5696
5697 * gdb.python/py-objfile.exp: Add tests for
5698 objfile.add_separate_debug_file.
5699
7c50a931
DE
57002014-12-04 Doug Evans <dje@google.com>
5701
5702 * lib/gdb.exp (get_build_id): New function.
5703 (build_id_debug_filename_get): Rewrite to use it.
5704 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5705
621661e3
MR
57062014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5707
5708 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5709 `method(long)', not just 0x0.
5710 * gdb.cp/nsalias.exp: Align code labels to 4.
5711 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5712 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5713 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5714 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5715 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5716 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5717
29f0c3b7
DE
57182014-12-02 Doug Evans <dje@google.com>
5719
e1e061e7 5720 PR symtab/17602
29f0c3b7 5721 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 5722 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
5723 * gdb.cp/anon-ns.exp: Update.
5724
162078c8
NB
57252014-12-02 Nick Bull <nicholaspbull@gmail.com>
5726
5727 * gdb.python/py-events.py (inferior_call_handler): New.
5728 (register_changed_handler, memory_changed_handler): New.
5729 (test_events.invoke): Register new handlers.
5730 * gdb.python/py-events.exp: Add tests for inferior call,
5731 memory_changed and register_changed events.
5732
fdb09caf
AA
57332014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5734
5735 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5736 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5737 if the linker doesn't understand this.
5738
55cfb2c4
SM
57392014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5740
5741 * gdb.python/python.exp: Change expected reply to help().
5742
9e8cd6df
YQ
57432014-12-01 Yao Qi <yao@codesourcery.com>
5744
5745 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5746 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5747 * configure: Re-generated.
5748
6c659fc2
SC
57492014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5750
5751 * gdb.cp/chained-calls.cc: New file.
5752 * gdb.cp/chained-calls.exp: New file.
5753 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5754
d7fc3181
SM
57552014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5756
5757 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5758 * gdb.dwarf2/symtab-producer.exp: Same.
5759 * gdb.gdb/python-interrupts.exp: Same.
5760 * gdb.gdb/python-selftest.exp: Same.
5761 * gdb.python/py-linetable.exp: Same.
5762 * gdb.python/py-type.exp: Same.
5763 * gdb.python/py-value-cc.exp: Same.
5764 * gdb.python/py-value.exp: Same.
5765
10e79639
YQ
57662014-11-28 Yao Qi <yao@codesourcery.com>
5767
5768 * gdb.base/break-probes.exp: Match library name prefixed with
5769 sysroot.
5770
f28a0564
SM
57712014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5772
5773 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5774 test expected output. Add parentheses for the call to print.
5775 Remove L suffix from integers.
5776
3fe1ce1d
DE
57772014-11-26 Doug Evans <dje@google.com>
5778
5779 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5780
84429e27
YQ
57812014-11-22 Yao Qi <yao@codesourcery.com>
5782
5783 * gdb.trace/entry-values.c: Remove asms.
5784 (foo): Add foo_label.
5785 (bar): Add bar_label.
5786 * gdb.trace/entry-values.exp: Remove code computing foo's
5787 length and bar's length.
5788 (Dwarf::assemble): Invoke function_range for bar and use
5789 MACRO_AT_func for foo.
5790
26741859
YQ
57912014-11-22 Yao Qi <yao@codesourcery.com>
5792
5793 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5794 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5795 Use .Lgcc43_procstart instead of gcc43.
5796
45e44d27
JB
57972014-11-21 Joel Brobecker <brobecker@adacore.com>
5798
5799 * gdb.ada/n_arr_bound: New testcase.
5800
458c8db8
SDJ
58012014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5802
5803 PR breakpoints/10737
5804 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5805 test_catch_syscall_multi_arch.
5806 (test_catch_syscall_multi_arch): New function.
5807
43f3e411
DE
58082014-11-20 Doug Evans <xdje42@gmail.com>
5809
5810 * gdb.base/maint.exp: Update expected output.
5811
0d7b2549
AA
58122014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5813
5814 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5815 4-byte instruction on S390.
5816
8908fca5
JB
58172014-11-19 Joel Brobecker <brobecker@adacore.com>
5818
5819 * gdb.ada/arr_arr: New testcase.
5820
4a46959e
JB
58212014-11-19 Joel Brobecker <brobecker@adacore.com>
5822
5823 * gdb.ada/pkd_arr_elem: New Testcase.
5824
470e2f4e
LM
58252014-11-18 Luis Machado <lgustavo@codesourcery.com>
5826
5827 * gdb.reverse/break-precsave: Expect completion message for
5828 core file reads.
5829 * gdb.reverse/consecutive-precsave.exp: Likewise.
5830 * gdb.reverse/finish-precsave.exp: Likewise.
5831 * gdb.reverse/i386-precsave.exp: Likewise.
5832 * gdb.reverse/machinestate-precsave.exp: Likewise.
5833 * gdb.reverse/sigall-precsave.exp: Likewise.
5834 * gdb.reverse/solib-precsave.exp: Likewise.
5835 * gdb.reverse/step-precsave.exp: Likewise.
5836 * gdb.reverse/until-precsave.exp: Likewise.
5837 * gdb.reverse/watch-precsave.exp: Likewise.
5838
a267f3ad
AA
58392014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5840
5841 * gdb.base/bp-permanent.c: Include unistd.h.
5842 * gdb.python/py-framefilter-mi.c (main): Add return type.
5843 * gdb.python/py-framefilter.c (main): Likewise.
5844 * gdb.trace/actions-changed.c (main): Likewise.
5845
12084a9a
AA
58462014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5847
5848 * gdb.mi/until.c: Add eye-catchers.
5849 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5850 line numbers.
5851
dc7e1a77
AA
58522014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5853
5854 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5855 function header variants in break1.c.
5856 * gdb.base/ena-dis-br.exp: Likewise.
5857 * gdb.base/hbreak2.exp: Likewise.
5858 * gdb.reverse/until-precsave.exp: Drop references to removed
5859 non-prototype function header variants in ur1.c.
5860 * gdb.reverse/until-reverse.exp: Likewise.
5861
41c77605
PM
58622014-11-17 Petr Machata <pmachata@redhat.com>
5863
5864 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5865 ${_cu_offset_size} bytes abbrev offset.
5866
34248c3a
DE
58672014-11-15 Doug Evans <xdje42@gmail.com>
5868
5869 PR symtab/17559
5870 * gdb.base/line-symtabs.exp: New file.
5871 * gdb.base/line-symtabs.c: New file.
5872 * gdb.base/line-symtabs.h: New file.
5873
646da059
YQ
58742014-11-14 Yao Qi <yao@codesourcery.com>
5875
5876 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5877 (func): Add label func_label.
5878 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5879 Replace low_pc and high_pc with MACRO_AT_range.
5880 Replace name, low_pc and high_pc with MACRO_AT_func.
5881
9301ebe6
YQ
58822014-11-14 Yao Qi <yao@codesourcery.com>
5883
5884 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5885 Replace name, low_pc and high_pc with MACRO_AT_func.
5886
f166b542
YQ
58872014-11-14 Yao Qi <yao@codesourcery.com>
5888
5889 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5890 produce debug information.
5891 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5892
0f6e71e3
YQ
58932014-11-14 Yao Qi <yao@codesourcery.com>
5894
5895 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5896 object and get function length.
5897 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5898 with MACRO_AT_func.
5899 (top-level): Replace gdb_compile and clean_restart with
5900 prepare_for_testing.
5901 * gdb.dwarf2/main.c (main): Add label main_label.
5902
876c4df9
YQ
59032014-11-14 Yao Qi <yao@codesourcery.com>
5904
5905 * lib/dwarf.exp (function_range): New procedure.
5906 (Dwarf::_handle_macro_at_func): New procedure.
5907 (Dwarf::_handle_macro_at_range): New procedure.
5908 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5909
02ad9cf1
YQ
59102014-11-14 Yao Qi <yao@codesourcery.com>
5911
5912 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5913 (_handle_attribute): New procedure.
5914
a59add0c
AA
59152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5916
5917 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5918 * gdb.base/call-sc.c (zed): Likewise.
5919 * gdb.base/checkpoint.c (main): Likewise.
5920 * gdb.base/dump.c (main): Likewise.
5921 * gdb.base/gcore.c (main): Likewise.
5922 * gdb.base/huge.c (main): Likewise.
5923 * gdb.base/multi-forks.c (main): Likewise.
5924 * gdb.base/pr10179-a.c (main): Likewise.
5925 * gdb.base/savedregs.c (main): Likewise.
5926 * gdb.base/sigaltstack.c (main): Likewise.
5927 * gdb.base/siginfo.c (main): Likewise.
5928 * gdb.base/structs.c (zed): Likewise.
5929 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5930 * gdb.mi/mi-syn-frame.c (main): Likewise.
5931 * gdb.mi/until.c (foo, main): Likewise.
5932 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5933 * gdb.base/solib-weak.c (foo): Declare.
5934 * gdb.base/attach-twice.c: Include stdio.h.
5935 * gdb.base/weaklib1.c: Likewise.
5936 * gdb.base/weaklib2.c: Likewise.
5937 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5938 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5939 unistd.h.
5940 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5941 * gdb.mi/mi-exit-code.c: Likewise.
5942 * gdb.base/break-interp-lib.c: Include string.h.
5943 * gdb.base/coremaker.c: Likewise.
5944 * gdb.base/testenv.c: Likewise.
5945 * gdb.python/py-finish-breakpoint.c: Likewise.
5946 * gdb.base/inferior-died.c: Include sys/wait.h.
5947 * gdb.base/fileio.c: Include time.h.
5948 * gdb.base/async-shell.c: Include unistd.h.
5949 * gdb.base/dprintf-non-stop.c: Likewise.
5950 * gdb.base/info-os.c: Likewise.
5951 * gdb.mi/mi-console.c: Likewise.
5952 * gdb.mi/watch-nonstop.c: Likewise.
5953 * gdb.python/py-events.c: Likewise.
5954 * gdb.base/async.c (baz): Move up before its invocation.
5955 * gdb.base/code_elim2.c (my_global_func): Likewise.
5956 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5957 * gdb.base/advance.c (func2): Likewise.
5958
3b5d5997
AA
59592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5960
5961 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5962 variant.
5963 * gdb.base/annota3.c: Likewise.
5964 * gdb.base/async.c: Likewise.
5965 * gdb.base/average.c: Likewise.
5966 * gdb.base/call-ar-st.c: Likewise.
5967 * gdb.base/call-rt-st.c: Likewise.
5968 * gdb.base/call-sc.c: Likewise.
5969 * gdb.base/call-strs.c: Likewise.
5970 * gdb.base/ending-run.c: Likewise.
5971 * gdb.base/execd-prog.c: Likewise.
5972 * gdb.base/exprs.c: Likewise.
5973 * gdb.base/foll-exec.c: Likewise.
5974 * gdb.base/foll-fork.c: Likewise.
5975 * gdb.base/foll-vfork.c: Likewise.
5976 * gdb.base/funcargs.c: Likewise.
5977 * gdb.base/gcore.c: Likewise.
5978 * gdb.base/jump.c: Likewise.
5979 * gdb.base/langs0.c: Likewise.
5980 * gdb.base/langs1.c: Likewise.
5981 * gdb.base/langs2.c: Likewise.
5982 * gdb.base/mips_pro.c: Likewise.
5983 * gdb.base/nodebug.c: Likewise.
5984 * gdb.base/opaque0.c: Likewise.
5985 * gdb.base/opaque1.c: Likewise.
5986 * gdb.base/recurse.c: Likewise.
5987 * gdb.base/run.c: Likewise.
5988 * gdb.base/scope0.c: Likewise.
5989 * gdb.base/scope1.c: Likewise.
5990 * gdb.base/setshow.c: Likewise.
5991 * gdb.base/setvar.c: Likewise.
5992 * gdb.base/shmain.c: Likewise.
5993 * gdb.base/shr1.c: Likewise.
5994 * gdb.base/shr2.c: Likewise.
5995 * gdb.base/sigall.c: Likewise.
5996 * gdb.base/signals.c: Likewise.
5997 * gdb.base/so-indr-cl.c: Likewise.
5998 * gdb.base/solib2.c: Likewise.
5999 * gdb.base/structs.c: Likewise.
6000 * gdb.base/sum.c: Likewise.
6001 * gdb.base/vforked-prog.c: Likewise.
6002 * gdb.base/watchpoint.c: Likewise.
6003 * gdb.reverse/shr2.c: Likewise.
6004 * gdb.reverse/until-reverse.c: Likewise.
6005 * gdb.reverse/ur1.c: Likewise.
6006 * gdb.reverse/watch-reverse.c: Likewise.
6007
066a77c5
AA
60082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6009
6010 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
6011 variant.
6012 * gdb.base/sepdebug.exp: Drop references to removed code.
6013
4f204ea5
AA
60142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6015
6016 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
6017 variant. Preserve original line numbering.
6018 * gdb.base/list1.c: Likewise.
6019
3b377a3a
AA
60202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6021
6022 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
6023 variant.
6024 * gdb.base/break1.c: Likewise.
6025 * gdb.base/break.exp: Drop references to removed code.
6026
e444df73
AA
60272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6028
6029 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
6030 variant.
6031
8008f2a7
AA
60322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6033
6034 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
6035
a5a06887
AA
60362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6037
6038 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
6039 logic into perform_all_tests() and invoke it with and without
6040 function header prototypes.
6041 (do_function_calls): Remove conditional XFAIL for PR 5318.
6042 (rerun_and_prepare): Remove duplicate code.
6043 (perform_all_tests): New. Main logic moved here.
6044
44dba9b9
AA
60452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6046
6047 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
6048 code guarded by #ifdef NO_PROTOTYPES.
6049 (t_double_many_args): Likewise.
6050 (DEF_FUNC_MANY_ARGS_1): Likewise.
6051 (DEF_FUNC_VALUES_1): Likewise.
6052 (t_structs_ldc): Renamed from t_structs_fc in conditional code
6053 guarded by #ifdef PROTOTYPES.
6054
d1fbcd56
AA
60552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6056
6057 * gdb.mi/mi-console.c: Add eye-catcher.
6058 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
6059 instead of literal line number.
6060
b0e59b8f
AA
60612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6062
6063 * gdb.base/shr2.c: Add eye-catcher.
6064 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
6065 line number.
6066
78f98cca
AA
60672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6068
6069 * gdb.base/jump.c: Add eye-catchers.
6070 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
6071 numbers.
6072
58fa2af0
AA
60732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6074
6075 * gdb.base/execd-prog.c: Add eye-catchers.
6076 * gdb.base/foll-exec.c: Likewise.
6077 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
6078 line numbers.
6079
04e5059b
AA
60802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6081
6082 * gdb.base/ending-run.c: Add eye-catchers.
6083 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
6084 literal line numbers.
6085
dbfdb174
AA
60862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6087
6088 * gdb.base/call-rt-st.c: Add eye-catchers.
6089 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
6090 literal line numbers.
6091
888a2ade
AA
60922014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6093
6094 * gdb.base/call-ar-st.c: Add eye-catchers.
6095 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
6096 literal line numbers.
6097
6acc2dde
AA
60982014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6099
6100 * gdb.base/average.c: Add eye-catchers.
6101 * gdb.base/sum.c: Likewise.
6102 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
6103 regexps dynamically.
6104
9ecfcd1d
AA
61052014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6106
6107 * gdb.base/solib1.c: Add eye-catchers.
6108 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
6109 literal line numbers.
6110
78708b7c
PA
61112014-11-12 Pedro Alves <palves@redhat.com>
6112
6113 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
6114 leader has exited.
6115
af48d08f
PA
61162014-11-12 Pedro Alves <palves@redhat.com>
6117
6118 * gdb.arch/i386-bp_permanent.c: New file.
6119 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
6120 (srcfile): Set to i386-bp_permanent.c.
6121 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
6122 that stepi does not execute the 'leave' instruction, instead of
6123 testing it does execute.
6124 * gdb.base/bp-permanent.c: New file.
6125 * gdb.base/bp-permanent.exp: New file.
6126
af3768e9
DE
61272014-11-10 Doug Evans <xdje42@gmail.com>
6128
6129 PR symtab/17564
6130 * gdb.base/symtab-search-order.exp: New file.
6131 * gdb.base/symtab-search-order.c: New file.
6132 * gdb.base/symtab-search-order-1.c: New file.
6133 * gdb.base/symtab-search-order-shlib-1.c: New file.
6134
9de00a4a
PA
61352014-11-07 Pedro Alves <palves@redhat.com>
6136
6137 PR gdb/17511
6138 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
6139 i?86-*-linux*.
6140
e0f52461
SC
61412014-11-03 Siva Chandra Reddy <sivachandra@google.com>
6142
6143 PR c++/17494
6144 * gdb.cp/pr17494.cc: New file.
6145 * gdb.cp/pr17494.exp: New file.
6146
6ce8c980
YQ
61472014-11-02 Yao Qi <yao@codesourcery.com>
6148
6149 * gdb.python/python.exp: Get working directory and match the
6150 output of "set extended-prompt \\w " with it.
6151
02be9a71
DE
61522014-10-30 Doug Evans <dje@google.com>
6153
6154 * gdb.python/py-objfile.exp: Add tests for setting random attributes
6155 in objfiles.
6156 * gdb.python/py-progspace.exp: Add tests for setting random attributes
6157 in progspaces.
6158
3bdff46b
LM
61592014-10-30 Janis Johnson <janisjo@codesourcery.com>
6160
6161 * gdb.base/fullpath-expand.exp: Skip for a remote host.
6162 * gdb.base/realname-expand.exp: Likewise.
6163 * gdb.linespec/macro-relative.exp: Likewise.
6164
ab917dfb
PA
61652014-10-29 Pedro Alves <palves@redhat.com>
6166
6167 PR gdb/17408
6168 * gdb.threads/schedlock.c (some_function): New function.
6169 (call_function): New global.
6170 (MAYBE_CALL_SOME_FUNCTION): New macro.
6171 (thread_function): Call it.
6172 * gdb.threads/schedlock.exp (get_args): Add description parameter,
6173 and use it instead of a global counter. Adjust all callers.
6174 (get_current_thread): Use "find current thread" for test message
6175 here rather than having all callers pass down the same string.
6176 (goto_loop): New procedure, factored out from ...
6177 (my_continue): ... this.
6178 (step_ten_loops): Change parameter from test message to command to
6179 use. Adjust.
6180 (list_count): Delete global.
6181 (check_result): New procedure, factored out from duplicate top
6182 level code.
6183 (continue tests): Wrap in with_test_prefix.
6184 (test_step): New procedure, factored out from duplicate top level
6185 code.
6186 (top level): Test "step" in combination with all scheduler-locking
6187 modes. Test "next" in combination with all scheduler-locking
6188 modes, and in combination with stepping over a function call or
6189 not.
6190 * gdb.threads/next-bp-other-thread.c: New file.
6191 * gdb.threads/next-bp-other-thread.exp: New file.
6192
d3d4baed
PA
61932014-10-29 Pedro Alves <palves@redhat.com>
6194
6195 PR python/17372
6196 * gdb.python/python.exp: Test a multi-line command that spawns
6197 interactive Python.
6198 * gdb.base/multi-line-starts-subshell.exp: New file.
6199
563e8d85
YQ
62002014-10-29 Yao Qi <yao@codesourcery.com>
6201
6202 * gdb.base/fileio.exp: Make directories on host.
6203
0ea4d52e
YQ
62042014-10-29 Yao Qi <yao@codesourcery.com>
6205
6206 * gdb.base/fileio.c (test_write): Close the file.
6207
7f5ef605
PA
62082014-10-28 Pedro Alves <palves@redhat.com>
6209
6210 PR gdb/12623
6211 * gdb.base/sigstep.c (no_handler): New global.
6212 (main): If 'no_handler is true, set the signal handlers to
6213 SIG_IGN.
6214 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
6215 with_sw_watch and no_handler parameters. Handle them.
6216 (top level) <stepping over handler when stopped at a breakpoint
6217 test>: Add a test axis for testing with a software watchpoint, and
6218 another for testing with the signal handler set to SIG_IGN.
6219 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
6220 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
6221
abbdbd03
PA
62222014-10-28 Pedro Alves <palves@redhat.com>
6223
6224 PR gdb/17511
6225 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
6226 * gdb.base/sigstep.exp (other_handler_location): New global.
6227 (advance): Support stepping into the signal handler, and running
6228 commands while in the handler.
6229 (in_handler_map): New global.
6230 (top level): In the advance test, add combinations for getting
6231 into the handler with stepping commands, and for running commands
6232 in the handler. Add comment descripting the advancei tests.
6233
1df4399f
PA
62342014-10-28 Pedro Alves <palves@redhat.com>
6235
6236 * gdb.base/sigstep.exp: Use build_executable instead of
6237 prepare_for_testing.
6238 (top level): Move code that starts GDB, runs to main and creates a
6239 display to ...
6240 (restart): ... this new procedure.
6241 (top level): Move backtrace from signal handler test to ...
6242 (validate_backtrace): ... this new procedure.
6243 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
6244 with_test_prefix. Always restart GDB.
6245 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
6246 with_test_prefix. Always restart GDB. No need to delete
6247 breakpoints after the test.
6248 (test_skip_handler): Remove prefix parameter.
6249 (skip_over_handler, breakpoint_to_handler)
6250 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
6251 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
6252 restart GDB. No need to delete breakpoints after the test.
6253 (top level): Use foreach to call the test procedures with
6254 different commands.
6255
a5b6e449
PA
62562014-10-28 Pedro Alves <palves@redhat.com>
6257
6258 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
6259 instead of GNATS numbers.
6260 * gdb.base/sigbpt.exp: Likewise.
6261 * gdb.base/siginfo.exp: Likewise.
6262 * gdb.base/sigstep.exp: Likewise.
6263
e5f8a7cc
PA
62642014-10-27 Pedro Alves <palves@redhat.com>
6265
6266 * gdb.base/sigstep.c (dummy): New global.
6267 (main): Issue a couple writes to the new global.
6268 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
6269 procedures.
6270 (skip_over_handler): Use test_skip_handler.
6271 (top level): Call skip_over_handler for stepi and nexti too.
6272 (breakpoint_over_handler): Use test_skip_handler.
6273 (top level): Call breakpoint_over_handler for stepi and nexti too.
6274
763905a3
YQ
62752014-10-27 Yao Qi <yao@codesourcery.com>
6276
6277 * gdb.trace/tfile.c (adjust_function_address)
6278 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6279 function descriptor.
6280
6f259a23
DB
62812014-10-24 Don Breazeal <donb@codesourcery.com>
6282
6283 * gdb.base/foll-fork.exp (test_follow_fork,
6284 catch_fork_child_follow): Check for updated fork messages emitted
6285 from infrun.c.
6286 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6287 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6288 vfork_and_exec_child_follow_through_step): Check for updated vfork
6289 messages emitted from infrun.c.
6290
09dd9a69
PA
62912014-10-24 Pedro Alves <palves@redhat.com>
6292
6293 * gdb.base/corefile.exp: Remove references to ultrix.
6294 * gdb.base/interrupt.exp: Likewise.
6295 * gdb.base/whatis.exp: Likewise.
6296 * gdb.gdb/selftest.exp: Likewise.
6297 * gdb.threads/manythreads.exp: Likewise.
6298 * gdb.threads/print-threads.exp: Likewise.
6299 * gdb.threads/pthreads.exp:: Likewise.
6300 * gdb.threads/schedlock.exp: Likewise.
6301
3433cfa5
SC
63022014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6303
6304 * gdb.cp/non-trivial-retval.cc: Add a test case.
6305 * gdb.cp/non-trivial-retval.exp: Add a test.
6306
092f880b
YQ
63072014-10-20 Yao Qi <yao@codesourcery.com>
6308
6309 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6310 * gdb.python/py-objfile-script-gdb.py: New file.
6311 * gdb.python/py-objfile-script.exp: Update reference to
6312 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6313 of remote_download. Remove the dest file.
6314
acbdb7f3
YQ
63152014-10-20 Yao Qi <yao@codesourcery.com>
6316
6317 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6318 * gdb.base/step-line.exp: Likewise.
6319 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6320 * gdb.dwarf2/dw2-basic.exp: Likewise.
6321 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6322 * gdb.dwarf2/dw2-filename.exp: Likewise.
6323 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6324 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6325 * gdb.dwarf2/dw2-producer.exp: Likewise.
6326 * gdb.dwarf2/mac-fileno.exp: Likewise.
6327 * gdb.python/py-frame-args.exp: Likewise.
6328 * gdb.python/py-framefilter.exp: Likewise.
6329 * gdb.python/py-mi.exp: Likewise.
6330 * gdb.python/py-objfile-script.exp: Likewise
6331 * gdb.python/py-pp-integral.exp: Likewise.
6332 * gdb.python/py-pp-re-notag.exp: Likewise.
6333 * gdb.python/py-prettyprint.exp: Likewise.
6334 * gdb.python/py-section-script.exp: Likewise.
6335 * gdb.python/py-typeprint.exp: Likewise.
6336 * gdb.python/py-xmethods.exp: Likewise.
6337 * gdb.stabs/weird.exp: Likewise.
6338 * gdb.xml/tdesc-regs.exp: Likewise.
6339
bd286a29
KCY
63402014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6341
6342 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6343 (out_cu): Use addr_len for the size of addresses.
6344 (out_line): Likewise. Size DW_LNE_set_address instruction
6345 according to addr_len.
6346 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6347 (FUNC): Add START_INSNS to definition.
6348
673dc4a0
YQ
63492014-10-18 Yao Qi <yao@codesourcery.com>
6350
6351 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6352 gdb_has_argv0 return true.
6353 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6354 check [target_info exists noargs], check [gdb_has_argv0]
6355 instead.
6356 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6357 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6358 procedures.
6359
4ffbba72
DE
63602014-10-17 Doug Evans <dje@google.com>
6361
6362 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6363 event.
6364 * gdb.python/py-events.py: Add clear_objfiles event.
6365
d096d8c1
DE
63662014-10-17 Doug Evans <dje@google.com>
6367
6368 * gdb.python/py-objfile.exp: Test progspace attribute.
6369
a80db015
LM
63702014-10-17 Luis Machado <lgustavo@codesourcery.com>
6371
6372 * gdb.guile/scm-breakpoint.exp: Do not assume any
6373 directory separators when matching source file paths.
6374 * gdb.python/py-breakpoint.exp: Likewise.
6375 * gdb.reverse/break-precsave.exp: Likewise.
6376 * gdb.reverse/break-reverse.exp: Likewise.
6377 * gdb.reverse/consecutive-precsave.exp: Likewise.
6378 * gdb.reverse/finish-precsave.exp: Likewise.
6379 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6380 * gdb.reverse/finish-reverse.exp: Likewise.
6381 * gdb.reverse/i386-precsave.exp: Likewise.
6382 * gdb.reverse/i387-env-reverse.exp: Likewise.
6383 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6384 * gdb.reverse/machinestate-precsave.exp: Likewise.
6385 * gdb.reverse/machinestate.exp: Likewise.
6386 * gdb.reverse/sigall-precsave.exp: Likewise.
6387 * gdb.reverse/solib-precsave.exp: Likewise.
6388 * gdb.reverse/step-precsave.exp: Likewise.
6389 * gdb.reverse/until-precsave.exp: Likewise.
6390 * gdb.reverse/watch-precsave.exp: Likewise.
6391 * gdb.reverse/watch-reverse.exp: Likewise.
6392
b22089ab
YQ
63932014-10-17 Yao Qi <yao@codesourcery.com>
6394
6395 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6396 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6397
6c4486e6
PA
63982014-10-17 Pedro Alves <palves@redhat.com>
6399
6400 PR gdb/17471
6401 * gdb.base/bg-execution-repeat.c: New file.
6402 * gdb.base/bg-execution-repeat.exp: New file.
6403
0ff33695
PA
64042014-10-17 Pedro Alves <palves@redhat.com>
6405
6406 PR gdb/17300
6407 * gdb.base/continue-all-already-running.c: New file.
6408 * gdb.base/continue-all-already-running.exp: New file.
6409
6fdebc3d
PA
64102014-10-17 Pedro Alves <palves@redhat.com>
6411
6412 PR gdb/17472
6413 * gdb.base/annota-input-while-running.c: New file.
6414 * gdb.base/annota-input-while-running.exp: New file.
6415
32a8097b
PA
64162014-10-17 Pedro Alves <palves@redhat.com>
6417
6418 * gdb.base/callfuncs.exp: emove references to osf.
6419 * gdb.base/sigall.exp: Likewise.
6420 * gdb.gdb/selftest.exp: Likewise.
6421 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6422 * gdb.mi/non-stop.c: Likewise.
6423 * gdb.mi/pthreads.c: Likewise.
6424 * gdb.reverse/sigall-precsave.exp: Likewise.
6425 * gdb.reverse/sigall-reverse.exp: Likewise.
6426 * gdb.threads/pthreads.c: Likewise.
6427 * gdb.threads/pthreads.exp: Likewise.
6428
7a3517ff
YQ
64292014-10-17 Yao Qi <yao@codesourcery.com>
6430
6431 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6432 check 'target_info exists noargs'.
6433 (test_command_prompt_position): Likewise.
6434 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6435 Remove "set args".
6436 (progvar_simple_while_test): Likewise.
6437 (progvar_complex_if_while_test): Likewise.
6438 (if_while_breakpoint_command_test): Likewise.
6439 (infrun_breakpoint_command_test): Likewise.
6440 (breakpoint_command_test): Likewise.
6441 (watchpoint_command_test): Likewise.
6442 (bp_deleted_in_command_test): Likewise.
6443 (temporary_breakpoint_commands): Likewise.
6444
bb99c472
YQ
64452014-10-16 Yao Qi <yao@codesourcery.com>
6446
6447 * gdb.base/remotetimeout.exp: Remove noargs checking.
6448
7c16b83e
PA
64492014-10-15 Pedro Alves <palves@redhat.com>
6450
6451 PR breakpoints/9649
6452 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6453 * gdb.base/breakpoint-in-ro-region.exp
6454 (probe_target_hardware_step): New procedure.
6455 (top level): Probe hardware stepping and hardware breakpoint
6456 support. Test stepping through a read-only region, with both
6457 "breakpoint auto-hw" on and off and both "always-inserted" on and
6458 off.
6459
35a49624
IB
64602014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6461
6462 * gdb.dlang/demangle.exp: Update for demangling changes.
6463
2d1c107c
SC
64642014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6465
6466 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6467 * gdb.cp/non-trivial-retval.exp: Add new tests.
6468
778811d5
SC
64692014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6470
6471 PR c++/13403
6472 PR c++/15154
6473 * gdb.cp/non-trivial-retval.cc: New file.
6474 * gdb.cp/non-trivial-retval.exp: New file.
6475
10c5f0a8
YQ
64762014-10-15 Yao Qi <yao@codesourcery.com>
6477
6478 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6479 remote host.
6480
65d7b369
YQ
64812014-10-15 Yao Qi <yao@codesourcery.com>
6482
6483 * gdb.python/py-symbol.exp: Match file base name if host is
6484 remote, otherwise match file name with dir name.
6485 * gdb.python/py-symtab.exp: Likewise.
6486 * gdb.python/python.exp: Likewise.
6487
46dc1394
YQ
64882014-10-15 Yao Qi <yao@codesourcery.com>
6489
6490 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6491 pattern.
6492 * gdb.python/py-symtab.exp: Likewise.
6493 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6494 locationn.
6495
c40cc657
JB
64962014-10-14 Joel Brobecker <brobecker@adacore.com>
6497
6498 * gdb.ada/addr_arith: New testcase.
6499
2abf49e1
MR
65002014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6501
6502 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6503 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6504 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6505 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6506
f7088df3
SDJ
65072014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6508
6509 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6510 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6511 * gdb.arch/stap-eval-lang-ada.exp: New file.
6512
4dc06805
YQ
65132014-10-14 Yao Qi <yao@codesourcery.com>
6514
6515 * gdb.mi/mi-var-child.c (nothing1): New function.
6516 (nothing2): New function.
6517 (do_children_tests): Set function pointers by nothing1 and
6518 nothing2.
6519 * gdb.mi/mi-var-child.exp: Step over new added statements.
6520 Update test to match the new output.
6521 * gdb.mi/var-cmd.c (nothing1): New function.
6522 (nothing2): New function.
6523 (do_children_tests): Set function pointers by nothing1 and
6524 nothing2.
6525 * gdb.mi/mi-var-display.exp: Update test to match output.
6526 Step to the line specified by $line_dct_nothing.
6527 Increase the number of lines to step.
6528
46a93de2
YQ
65292014-10-14 Yao Qi <yao@codesourcery.com>
6530
6531 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6532 tests.
6533 * gdb.mi/mi2-var-child.exp: Likewise.
6534
14ea52ee
DE
65352014-10-13 Doug Evans <dje@google.com>
6536
6537 * gdb.python/py-objfile.exp: Change name of file name test.
6538
e5c6e92b
DE
65392014-10-13 Doug Evans <dje@google.com>
6540
6541 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6542 from the start of the CU.
6543
c780cc2f
JK
65442014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6545 Yao Qi <yao@codesourcery.com>
6546
6547 Fix "save breakpoints" for "catch" command.
6548 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6549 Remove -nonewline. Match also the added "main" line.
6550
99894e11
JK
65512014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6552
6553 Fix "save breakpoints" for "disable $bpnum" command.
6554 * gdb.base/save-bp.c (main): Add label.
6555 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6556
6e1ac5a3
JK
65572014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6558
6559 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6560
754dd2b0
YQ
65612014-10-11 Yao Qi <yao@codesourcery.com>
6562
6563 * gdb.server/server-kill.exp: Execute command
6564 "set remote trace-status-packet on" before "tstatus".
6565
f90183d7
YQ
65662014-10-11 Yao Qi <yao@codesourcery.com>
6567
6568 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6569 (main): Call getppid.
6570 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6571 and continue to it. Read variable "server_pid".
6572
bf40a607
YQ
65732014-10-11 Yao Qi <yao@codesourcery.com>
6574
6575 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6576
052ca370
YQ
65772014-10-11 Yao Qi <yao@codesourcery.com>
6578
6579 * gdb.threads/thread-find.exp: Don't execute command
6580 "info threads".
6581 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6582 * gdb.threads/linux-dp.exp: Don't check the condition
6583 $threads_created equals to zero.
6584
3831839c
PA
65852014-10-10 Pedro Alves <palves@redhat.com>
6586
6587 * gdb.base/bigcore.exp: Remove references to IRIX.
6588 * gdb.base/funcargs.exp: Likewise.
6589 * gdb.base/interrupt.exp: Likewise.
6590 * gdb.base/mips_pro.exp: Likewise.
6591 * gdb.base/nodebug.exp: Likewise.
6592 * gdb.base/setvar.exp: Likewise.
6593 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6594
8b9a549d
PA
65952014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6596 Pedro Alves <palves@redhat.com>
6597
6598 PR symtab/14466
6599 * gdb.base/vdso-warning.c: New file.
6600 * gdb.base/vdso-warning.exp: New file.
6601
d48ba5e8
DE
66022014-10-02 Doug Evans <dje@google.com>
6603
6604 * gdb.base/structs.c (main): Don't run forever.
6605
2278c276
PA
66062014-10-02 Pedro Alves <palves@redhat.com>
6607
6608 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6609 (top level) <stop threads 1, stop threads 2>: Use it.
6610
b57bacec
PA
66112014-10-02 Pedro Alves <palves@redhat.com>
6612
6613 * gdb.threads/break-while-running.exp (test): Add new
6614 'update_thread_list' argument. Skip "info threads" if false.
6615 (top level): Add new 'update_thread_list' axis.
6616
13fd3ff3
PA
66172014-10-02 Pedro Alves <palves@redhat.com>
6618
6619 PR breakpoints/17431
6620 * gdb.base/execl-update-breakpoints.c: New file.
6621 * gdb.base/execl-update-breakpoints.exp: New file.
6622
0fec99e8
PA
66232014-10-01 Pedro Alves <palves@redhat.com>
6624
6625 * gdb.base/breakpoint-in-ro-region.c: New file.
6626 * gdb.base/breakpoint-in-ro-region.exp: New file.
6627
2ddf4301
SM
66282014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6629
6630 * gdb.mi/mi-exit-code.exp: New file.
6631 * gdb.mi/mi-exit-code.c: New file.
6632
6a5f3f43
YQ
66332014-09-30 Yao Qi <yao@codesourcery.com>
6634
6635 * lib/prelink-support.exp (build_executable_own_libs): Error if
6636 the target isn't native.
6637
345bcc73
YQ
66382014-09-30 Yao Qi <yao@codesourcery.com>
6639
6640 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6641 false.
6642
a25a5a45
PA
66432014-09-22 Pedro Alves <palves@redhat.com>
6644
6645 * gdb.threads/break-while-running.exp: New file.
6646 * gdb.threads/break-while-running.c: New file.
6647
00ba3162
YQ
66482014-09-19 Yao Qi <yao@codesourcery.com>
6649
6650 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6651 Invoke test. Restart GDB with --readnow and invoke test again.
6652
c3b7b696
YQ
66532014-09-19 Yao Qi <yao@codesourcery.com>
6654
6655 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6656 proc set_breakpoint_on_gcd_function. Invoke
6657 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6658 invoke set_breakpoint_on_gcd_function again.
6659
2b4fd423
DE
66602014-09-18 Doug Evans <dje@google.com>
6661
6662 * gdb.dwarf2/symtab-producer.exp: New file.
6663
a5947601
SDJ
66642014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6665
6666 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6667 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6668 * gdb.base/global-var-nested-by-dso.c: Likewise.
6669 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6670
91c19059
SDJ
66712014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6672 Pedro Alves <palves@redhat.com>
6673
6674 * gdb.base/watch-bitfields.exp: Pass string other than test file
6675 name to prepare_for_testing.
6676 (watch): New procedure.
6677 (expect_watchpoint): Use with_test_prefix.
6678 (top level): Factor out tests to ...
6679 (test_watch_location, test_regular_watch): ... these new
6680 procedures, and use with_test_prefix and gdb_continue_to_end.
6681
bb9d5f81
PP
66822014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6683
6684 PR breakpoints/12526
6685 * gdb.base/watch-bitfields.exp: New file.
6686 * gdb.base/watch-bitfields.c: New file.
6687
635856f5
PA
66882014-09-16 Pedro Alves <palves@redhat.com>
6689
6690 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6691 software and hardware addresses, not software address against
6692 itself.
6693
7280ceea
PA
66942014-09-16 Pedro Alves <palves@redhat.com>
6695
6696 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6697 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6698
428b16bd
PA
66992014-09-16 Pedro Alves <palves@redhat.com>
6700
6701 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6702 files.
6703 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6704 "*-*-vxworks*" throughout.
6705 * gdb.base/break.exp: Likewise.
6706 * gdb.base/default.exp: Likewise.
6707 * gdb.base/scope.exp: Likewise.
6708 * gdb.base/sepdebug.exp: Likewise.
6709 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6710 throughout.
6711 * gdb.base/run.c: Likewise.
6712 * gdb.base/sepdebug.c: Likewise.
6713 * gdb.hp/gdb.aCC/run.c: Likewise.
6714 * gdb.reverse/until-reverse.c: Likewise.
6715 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6716
666d413c
YQ
67172014-09-16 Yao Qi <yao@codesourcery.com>
6718
6719 * boards/local-remote-host-native.exp: New file.
6720
57cbd724
DE
67212014-09-14 Doug Evans <xdje42@gmail.com>
6722
6723 * gdb.threads/queue-signal.c (thread_count): New variable.
6724 (thread_count_mutex, thread_count_condvar): New variables.
6725 (incr_thread_count, wait_all_threads_running): New functions.
6726 (main): Wait for all threads to be in their thread functions.
6727
81219e53
DE
67282014-09-13 Doug Evans <xdje42@gmail.com>
6729
6730 * gdb.threads/queue-signal.c: New file.
6731 * gdb.threads/queue-signal.exp: New file.
6732
3714cea7
DE
67332014-09-13 Doug Evans <xdje42@gmail.com>
6734
6735 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6736 be consistent with what default_gdb_init uses.
6737 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6738 the plain text of the prompt. Add some logging printfs.
6739 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6740
fa43b1d7
PA
67412014-09-12 Pedro Alves <palves@redhat.com>
6742
6743 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6744 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6745 * gdb.arch/i386-size-overlap.exp: Likewise.
6746 * gdb.arch/i386-size.exp: Likewise.
6747 * gdb.arch/i386-unwind.exp: Likewise.
6748 * gdb.base/a2-run.exp: Likewise.
6749 * gdb.base/break.exp: Likewise.
6750 * gdb.base/charset.exp: Likewise.
6751 * gdb.base/chng-syms.exp: Likewise.
6752 * gdb.base/commands.exp: Likewise.
6753 * gdb.base/dbx.exp: Likewise.
6754 * gdb.base/find.exp: Likewise.
6755 * gdb.base/funcargs.exp: Likewise.
6756 * gdb.base/jit-simple.exp: Likewise.
6757 * gdb.base/reread.exp: Likewise.
6758 * gdb.base/sepdebug.exp: Likewise.
6759 * gdb.base/step-bt.exp: Likewise.
6760 * gdb.cp/mb-inline.exp: Likewise.
6761 * gdb.cp/mb-templates.exp: Likewise.
6762 * gdb.objc/basicclass.exp: Likewise.
6763 * gdb.threads/killed.exp: Likewise.
6764
9d9bf2df
EBM
67652014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6766
6767 PR tdep/17379
6768 * gdb.arch/powerpc-stackless.S: New file.
6769 * gdb.arch/powerpc-stackless.exp: New file.
6770
1cf2f1b0
JK
67712014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6772
6773 * gdb.base/attach.c: Include unistd.h.
6774 (main): Call alarm. Add label postloop.
6775 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6776 gdb_breakpoint, gdb_continue_to_breakpoint.
6777 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6778
98880d46
PA
67792014-09-11 Pedro Alves <palves@redhat.com>
6780
6781 PR gdb/17347
6782 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6783 * gdb.base/attach.exp (test_command_line_attach_run): New
6784 procedure.
6785 (top level): Call it.
6786
4c92ff2c
PA
67872014-09-11 Pedro Alves <palves@redhat.com>
6788
6789 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6790 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6791 (do_command_attach_tests): Use spawn_wait_for_attach.
6792 * gdb.base/solib-overlap.exp: Likewise.
6793 * gdb.multi/multi-attach.exp: Likewise.
6794 * gdb.python/py-prompt.exp: Likewise.
6795 * gdb.python/py-sync-interp.exp: Likewise.
6796 * gdb.server/ext-attach.exp: Likewise.
6797
3adc1a7d
GKB
67982014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6799
6800 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6801 command in testcase. Simplify testcase.
6802
96334934
JB
68032014-09-10 Joel Brobecker <brobecker@adacore.com>
6804
6805 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6806
eb479039
JB
68072014-09-10 Joel Brobecker <brobecker@adacore.com>
6808
6809 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6810
deede10c
JB
68112014-09-10 Joel Brobecker <brobecker@adacore.com>
6812
6813 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6814
7828a5f5
JB
68152014-09-10 Joel Brobecker <brobecker@adacore.com>
6816
6817 * gdb.dwarf2/dynarr-ptr.c: New file.
6818 * gdb.dwarf2/dynarr-ptr.exp: New file.
6819
33aeebcf
MR
68202014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6821
6822 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6823 of 30 rather than hardcoding 120 for a slow test case. Take the
6824 `gdb,timeout' target setting into account for this calculation.
6825 Don't extend the timeout for the test cases that don't need it.
6826
7b415901
MR
68272014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6828
6829 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6830 a factor of 2 for a slow test case. Take the `gdb,timeout'
6831 target setting into account for this calculation.
6832 * gdb.reverse/until-precsave.exp: Increase the timeout by
6833 a factor of 15 and 3 respectively rather than adding 120
6834 for a pair of slow test cases. Take the `gdb,timeout'
6835 target setting into account for this calculation.
6836
4a40f85a
MR
68372014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6838
6839 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6840 timeout, don't pass one down to gdb_expect.
6841 (gdb_expect): Rework timeout selection.
6842
09635af7
MR
68432014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6844
6845 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6846 exception on timeout.
6847 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6848 (gdbserver_start_extended): Catch any `gdbserver_start' error
6849 exceptions.
6850 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6851 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6852 `gdbserver_gdb_load' error exceptions.
6853
2bdd10b7
MR
68542014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6855
6856 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6857 120 on waiting for the TCP socket to open.
6858
316935f0
DE
68592014-09-09 Doug Evans <xdje42@gmail.com>
6860
6861 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6862 _caller_matches, _any_caller_is, _any_caller_matches.
6863
83740597
DE
68642014-09-09 Doug Evans <xdje42@gmail.com>
6865
6866 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6867
4c122fc3
YQ
68682014-09-09 Yao Qi <yao@codesourcery.com>
6869
6870 * gdb.mi/mi-var-display.exp: Set print symbol off.
6871
a9f116cb
GKB
68722014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6873
6874 PR gdb/17035
6875 * gdb.base/commands.exp: Add tests to verify user-defined
6876 commands with empty bodies.
6877 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6878 python commands in `show user command`.
6879 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6880 scheme commands in `show user command`.
6881
c75bd3a2
JK
68822014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6883
6884 PR python/17355
6885 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6886 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6887 * gdb.python/py-framefilter-invalidarg.exp: New file.
6888 * gdb.python/py-framefilter-invalidarg.py: New file.
6889
faa42425
DE
68902014-09-06 Doug Evans <xdje42@gmail.com>
6891
6892 PR 15276
6893 * gdb.python/py-caller-is.c: New file.
6894 * gdb.python/py-caller-is.exp: New file.
6895
474ca4f6
SDJ
68962014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6897
6898 PR gdb/17235
6899 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6900 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6901
eb0b0463
SDJ
69022014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6903
6904 PR fortran/17237
6905 * gdb.fortran/print-formatted.exp: New file.
6906 * gdb.fortran/print-formatted.f90: Likewise.
6907
5f3b99cf
SS
69082014-09-03 Sasha Smundak <asmundak@google.com>
6909
6910 * gdb.python/py-frame.exp: Test Frame.read_register.
6911
7d793aa9
SDJ
69122014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6913
6914 PR python/16699
6915 * gdb.python/py-completion.exp: New file.
6916 * gdb.python/py-completion.py: Likewise.
6917
fb0576e9
DE
69182014-08-28 Doug Evans <dje@google.com>
6919
6920 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6921 eax,etc. are live with values set by gdb and thus the compiler can't
6922 use them.
6923 * gdb.arch/i386-pseudo.c (main): Ditto.
6924
ee92b0dd
DE
69252014-08-27 Doug Evans <dje@google.com>
6926
6927 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6928
6649db35
DE
69292014-08-25 Doug Evans <dje@google.com>
6930
6931 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6932 (main): Ditto.
6933
564b7600
DE
69342014-08-25 Doug Evans <dje@google.com>
6935
6936 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6937
3881fb67
YQ
69382014-08-24 Yao Qi <yao@codesourcery.com>
6939
6940 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6941 symbol off.
6942 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6943
a05a36a5
DE
69442014-08-22 Doug Evans <dje@google.com>
6945
6946 PR 17276
6947 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6948 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6949 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6950
7c343b48
YQ
69512014-08-22 Yao Qi <yao@codesourcery.com>
6952
6953 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6954 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6955 * gdb.python/python.exp: Likewise. Use .py file on the host
6956 instead of the build.
6957
22fd09ae
JK
69582014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6959
6960 * gdb.threads/gcore-stale-thread.c: New file.
6961 * gdb.threads/gcore-stale-thread.exp: New file.
6962
a8454a7c
PA
69632014-08-21 Pedro Alves <palves@redhat.com>
6964
6965 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6966 * gdb.base/gcore-relro-pie.exp: Likewise.
6967 * gdb.base/gcore-relro.exp: Likewise.
6968 * gdb.base/gcore.exp: Likewise.
6969 * gdb.base/print-symbol-loading.exp: Likewise.
6970 * gdb.threads/gcore-thread.exp: Likewise.
6971 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6972
2a31c623
PA
69732014-08-20 Pedro Alves <palves@redhat.com>
6974 Jan Kratochvil <jan.kratochvil@redhat.com>
6975
6976 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6977 configure.
6978 (EXPECT): Handle READ1 being set.
6979 (all): Depend on EXTRA_RULES.
6980 (check-read1, expect-read1, read1.so, read1): New rules.
6981 * README (Testsuite Parameters): Document the READ1 make variable.
6982 (Race detection): New section.
6983 * configure: Regenerate.
6984 * configure.ac: If build==host==target, and running under a
6985 GNU/glibc system, add read1 to the extra Makefile rules.
6986 (EXTRA_RULES): AC_SUBST it.
6987 * lib/read1.c: New file.
6988
d36430db
JB
69892014-08-20 Joel Brobecker <brobecker@adacore.com>
6990
6991 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6992 the handling of variables declared as a typedef to an array
6993 which a DW_AT_data_location attribute.
6994
9a0dc9e3
PA
69952014-08-19 Andrew Burgess <aburgess@broadcom.com>
6996 Pedro Alves <palves@redhat.com>
6997
6998 PR symtab/14604
6999 PR symtab/14605
7000 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
7001 gdb_test.
7002
0718a8da
PA
70032014-08-19 Pedro Alves <palves@redhat.com>
7004
7005 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
7006
13b448cd
YQ
70072014-08-19 Yao Qi <yao@codesourcery.com>
7008
7009 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
7010 right line.
7011
1cbf5077
DB
70122014-08-18 David Blaikie <dblaikie@gmail.com>
7013
7014 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
7015
bf0fae19
JB
70162014-08-18 Joel Brobecker <brobecker@adacore.com>
7017
7018 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
7019 attribute in array range.
7020
3c8c5dcc
JB
70212014-08-18 Joel Brobecker <brobecker@adacore.com>
7022
7023 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
7024
e66d4446
SC
70252014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7026
7027 PR c++/17132
7028 * gdb.cp/pr17132.cc: New file.
7029 * gdb.cp/pr17132.exp: New file.
7030
940df408
SC
70312014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7032
7033 * gdb.python/py-xmethods.py (A_getarrayind)
7034 (E_method_char_worker.__call__, E_method_int_worker.__call__):
7035 Use 'print' with function call syntax.
7036 (E_method_matcher.match): Fix tab vs space indentation mixup.
7037
ebcc6c3a
YQ
70382014-08-15 Yao Qi <yao@codesourcery.com>
7039
7040 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
7041 false.
7042
775e0f04
YQ
70432014-08-15 Yao Qi <yao@codesourcery.com>
7044
7045 * gdb.cp/casts.exp: Set print symbol off.
7046 * gdb.cp/class2.exp: Likewise.
7047 * gdb.cp/overload.exp: Likewise.
7048 * gdb.cp/templates.exp: Likewise.
7049
d769e349
DE
70502014-08-11 Doug Evans <dje@google.com>
7051
7052 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
7053 (test_load_shlib): Update.
7054
20c6f1e1
YQ
70552014-08-09 Yao Qi <yao@codesourcery.com>
7056
7057 * gdb.base/display.exp: Invoke is_address_zero_readable.
7058 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
7059 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
7060 * gdb.base/hbreak-unmapped.exp: Return if
7061 is_address_zero_readable returns true.
7062 * gdb.base/signest.exp: Likewise.
7063 * gdb.base/signull.exp: Likewise.
7064 * gdb.base/sigbpt.exp: Likewise.
7065 * gdb.guile/scm-disasm.exp: Do the test if
7066 is_address_zero_readable returns false.
7067 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
7068 * gdb.python/py-arch.exp: Likewise.
7069 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
7070 * lib/gdb.exp (is_address_zero_readable): New proc.
7071
5792e8e3
YQ
70722014-08-09 Yao Qi <yao@codesourcery.com>
7073
7074 PR testsuite/13443
7075 * gdb.mi/mi-var-display.exp: Make test messages unique.
7076
3cecbbbe
TT
70772014-08-04 Tom Tromey <tromey@redhat.com>
7078
7079 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
7080 target 0".
7081
00b51ff5
TT
70822014-08-04 Tom Tromey <tromey@redhat.com>
7083
7084 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
7085 "target_resume".
7086
6908c509
JB
70872014-08-01 Joel Brobecker <brobecker@adacore.com>
7088
7089 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
7090 inner_vla_struct_object_size.
7091 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
7092 as xfail.
7093
cc6563d2
PA
70942014-07-30 Pedro Alves <palves@redhat.com>
7095
7096 * gdb.threads/signal-command-handle-nopass.exp (test): Add
7097 comment.
7098
7e09a223
YQ
70992014-07-29 Yao Qi <yao@codesourcery.com>
7100
7101 PR gdb/17206
7102 * gdb.base/until-nodebug.exp: New.
7103
7ebdbe92
DE
71042014-07-28 Doug Evans <xdje42@gmail.com>
7105
7106 PR guile/17203
7107 * gdb.guile/scm-parameter.exp: Add tests for trying to create
7108 previously existing parameter, and previously ambiguously spelled
7109 parameter.
7110
fdb1adc6
WN
71112014-07-28 Will Newton <will.newton@linaro.org>
7112
7113 * gdb.base/varargs.exp: Remove KFAILs for ARM.
7114
186fcde0
DE
71152014-07-26 Ludovic Courtès <ludo@gnu.org>
7116 Doug Evans <xdje42@gmail.com>
7117
7118 PR guile/17146
7119 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
7120
70509625
PA
71212014-07-25 Pedro Alves <palves@redhat.com>
7122
7123 * gdb.threads/signal-command-handle-nopass.c: New file.
7124 * gdb.threads/signal-command-handle-nopass.exp: New file.
7125 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
7126 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
7127 * gdb.threads/signal-delivered-right-thread.c: New file.
7128 * gdb.threads/signal-delivered-right-thread.exp: New file.
7129
c3f814a1
PA
71302014-07-25 Pedro Alves <palves@redhat.com>
7131
7132 * gdb.base/double-prompt-target-event-error.exp
7133 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
7134 match.
7135 (cancel_pagination_in_target_event): Rework double prompt
7136 detection.
7137 * gdb.base/paginate-after-ctrl-c-running.exp
7138 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
7139 <return>' match.
7140 * gdb.base/paginate-bg-execution.exp
7141 (test_bg_execution_pagination_return)
7142 (test_bg_execution_pagination_cancel): Remove '-notransfer
7143 <return>' matches.
7144 * gdb.base/paginate-execution-startup.exp
7145 (test_fg_execution_pagination_return)
7146 (test_fg_execution_pagination_cancel): Remove '-notransfer
7147 <return>' matches.
7148 * gdb.base/paginate-inferior-exit.exp
7149 (test_paginate_inferior_exited): Remove '-notransfer <return>'
7150 match.
7151 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
7152 * lib/gdb.exp (pagination_prompt): Run text through
7153 string_to_regexp.
7154 (gdb_test_multiple): Match $pagination_prompt instead of
7155 "<return>".
7156 (string_to_regexp): Move to lib/gdb-utils.exp.
7157
e214cf6c
JK
71582014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7159
7160 * gdb.arch/amd64-entry-value-paramref.S: New file.
7161 * gdb.arch/amd64-entry-value-paramref.cc: New file.
7162 * gdb.arch/amd64-entry-value-paramref.exp: New file.
7163 * gdb.arch/amd64-optimout-repeat.S: New file.
7164 * gdb.arch/amd64-optimout-repeat.c: New file.
7165 * gdb.arch/amd64-optimout-repeat.exp: New file.
7166
17d0c5c8
JK
71672014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7168
7169 PR gdb/17170
7170 * gdb.base/statistics.exp: New file.
7171
b8b8facf
DE
71722014-07-17 Doug Evans <dje@google.com>
7173
74b49205 7174 PR gdb/17170
b8b8facf
DE
7175 * gdb.base/maint.exp: Update testing of per-command stats.
7176
1b5d0ab3
PA
71772014-07-16 Pedro Alves <palves@redhat.com>
7178
7179 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
7180 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
7181 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
7182 (tfile_write_buf): New functions.
7183 (add_memory_block): Rewrite using the above.
7184 (adjust_function_address): New function.
7185 (FUNCTION_ADDRESS): New macro.
7186 (write_basic_trace_file): Remove short_x local, and use
7187 tfile_write_16. Change type of func_addr local to unsigned long
7188 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
7189 here. Cast argument of add_memory_block to char pointer.
7190 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
7191 (main): Remove parameters.
7192 * gdb.trace/tfile.exp: Remove nowarnings.
7193
4d974e88
SM
71942014-07-15 Simon Marchi <simon.marchi@ericsson.com>
7195
7196 * gdb.base/debug-expr.exp: Test string evaluation with
7197 "debug expression" on.
7198
41e99568
PA
71992014-07-15 Pedro Alves <palves@redhat.com>
7200
7201 * gdb.base/reread.exp: Use clean_restart.
7202
487d9753
PL
72032014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
7204
7205 * gdb.arch/avr-flash-qualifer.c: New.
7206 * gdb.arch/avr-flash-qualifer.exp: New.
7207
cc1c52ad
PA
72082014-07-14 Pedro Alves <palves@redhat.com>
7209
7210 * gdb.base/paginate-after-ctrl-c-running.c: New file.
7211 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
7212
1e973570
PA
72132014-07-14 Pedro Alves <palves@redhat.com>
7214
7215 * gdb.base/double-prompt-target-event-error.c: New file.
7216 * gdb.base/double-prompt-target-event-error.exp: New file.
7217
93d6eb10
PA
72182014-07-14 Pedro Alves <palves@redhat.com>
7219
7220 PR gdb/17072
7221 * gdb.base/paginate-inferior-exit.c: New file.
7222 * gdb.base/paginate-inferior-exit.exp: New file.
7223
0017922d
PA
72242014-07-14 Pedro Alves <palves@redhat.com>
7225
7226 PR gdb/17072
7227 * gdb.base/paginate-bg-execution.c: New file.
7228 * gdb.base/paginate-bg-execution.exp: New file.
7229
94696ad3
PA
72302014-07-14 Pedro Alves <palves@redhat.com>
7231
7232 PR gdb/17072
7233 * gdb.base/paginate-execution-startup.c: New file.
7234 * gdb.base/paginate-execution-startup.exp: New file.
7235 * lib/gdb.exp (pagination_prompt): New global.
7236 (default_gdb_spawn): New procedure, factored out from
7237 default_gdb_spawn.
7238 (default_gdb_start): Adjust to call default_gdb_spawn.
7239 (gdb_spawn): New procedure.
7240
bd293940
PA
72412014-07-14 Pedro Alves <palves@redhat.com>
7242
7243 * lib/gdb.exp (gdb_assert): New procedure.
7244 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
7245
c933f875
PA
72462014-07-14 Pedro Alves <palves@redhat.com>
7247
7248 * gdb.base/execution-termios.c: New file.
7249 * gdb.base/execution-termios.exp: New file.
7250
d98b7a16
TT
72512014-07-14 Tom Tromey <tromey@redhat.com>
7252
7253 * gdb.cp/vla-cxx.cc: New file.
7254 * gdb.cp/vla-cxx.exp: New file.
7255
548740d6
TT
72562014-07-14 Tom Tromey <tromey@redhat.com>
7257
7258 * gdb.reverse/rerun-prec.c: New file.
7259 * gdb.reverse/rerun-prec.exp: New file.
7260
a25eb028
MR
72612014-07-12 Maciej W. Rozycki <macro@mips.com>
7262 Maciej W. Rozycki <macro@codesourcery.com>
7263
7264 * lib/gdb-utils.exp: New file.
7265 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
7266 inline `gdb_init_command' processing.
7267 (gdb_start_cmd): Likewise.
7268 * lib/mi-support.exp (mi_run_cmd): Likewise.
7269 * README: Document `gdb_init_command' and `gdb_init_commands'.
7270
218c2655
JK
72712014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7272
7273 Fix false FAIL running under a very long directory name.
7274 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
7275 and "set print elements 10000". Twice.
7276
5401fde3
YQ
72772014-07-11 Yao Qi <yao@codesourcery.com>
7278
7279 * gdb.base/exprs.exp: "set print symbol off".
7280
e76126e8
PA
72812014-07-11 Pedro Alves <palves@redhat.com>
7282
7283 * gdb.threads/kill.c: New file.
7284 * gdb.threads/kill.exp: New file.
7285
2d6f0de6
YQ
72862014-07-10 Yao Qi <yao@codesourcery.com>
7287
7288 * gdb.trace/tfile.c (write_basic_trace_file)
7289 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7290 address written to trace file.
7291
7180e04a
PA
72922014-07-09 Pedro Alves <palves@redhat.com>
7293
7294 * gdb.base/attach-wait-input.exp: New file.
7295 * gdb.base/attach-wait-input.c: New file.
7296
9a9a7608
AB
72972014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7298
7299 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7300 setting up test structures.
7301 (main): Call new test function.
7302 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7303 test function, continue into test function and walk test
7304 structures.
7305
161ac41e
YQ
73062014-07-02 Yao Qi <yao@codesourcery.com>
7307
7308 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7309 'bar_start' at the beginning of functions 'foo' and 'bar'
7310 respectively.
7311 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7312 instead of 'foo' and 'bar'.
7313
1f267ae3
MM
73142014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7315
7316 * gdb.btrace/segv.exp: New.
7317 * gdb.btrace/segv.c: New.
7318
2b239efb
LM
73192014-07-02 Luis Machado <lgustavo@codesourcery.com>
7320
7321 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7322 instruction.
7323
cf363f18
MW
73242014-06-30 Mark Wielaard <mjw@redhat.com>
7325
7326 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7327 vulture, vilify, villar): New volatile array constants.
7328 (vindictive, vegetation): New const volatile array constants.
7329 * gdb.base/volatile.exp: Test volatile and const volatile array
7330 types.
7331
aebf9d24
AA
73322014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7333
7334 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7335 target lacks support for awatch, rwatch, or hbreak.
7336
b67a2c6f
YQ
73372014-06-27 Yao Qi <yao@codesourcery.com>
7338
7339 * gdb.multi/dummy-frame-restore.exp: New.
7340 * gdb.multi/dummy-frame-restore.c: New.
7341
aef92902
MM
73422014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7343
7344 * gdb.btrace/gcore.exp: New.
7345
8e9db26e
PA
73462014-06-23 Pedro Alves <palves@redhat.com>
7347
7348 * gdb.base/watchpoint-reuse-slot.c: New file.
7349 * gdb.base/watchpoint-reuse-slot.exp: New file.
7350
70afc5b7
SC
73512014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7352
7353 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7354 progspace's filename in 'info', 'enable' and 'disable' command
7355 tests.
7356
b972bd9c
JK
73572014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7358
7359 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7360 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7361 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7362
125f8a3d
GB
73632014-06-20 Gary Benson <gbenson@redhat.com>
7364
7365 * gdb.arch/i386-avx.exp: Fix include file location.
7366 * gdb.arch/i386-sse.exp: Likewise.
7367
3ed9baed
IB
73682014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7369
7370 * gdb.dlang/expression.exp: New file.
7371
034f788c
PA
73722014-06-19 Pedro Alves <palves@redhat.com>
7373
7374 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7375 out from ...
7376 (top level): ... here. Iterate running tests under different
7377 scheduler-locking settings.
7378
45371d0c
LM
73792014-06-18 Luis Machado <lgustavo@codesourcery.com>
7380
7381 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7382 to DW_FORM_addr and use non-zero addresses.
7383
5d376983
SC
73842014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7385
7386 PR gdb/17017
7387 * gdb.python/py-xmethods.cc: Add global function call counters and
7388 increment them in their respective functions. Remove "cout"
7389 statements.
7390 * gdb.python/py-xmethods.exp: Make tests check the global function
7391 call counters instead of depending on inferior IO.
7392
a1aa2221
LM
73932014-06-18 Don Breazeal <donb@codesourcery.com>
7394
7395 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7396 Deleted procedure.
7397 (explicit_fork_parent_follow): Deleted procedure.
7398 (explicit_fork_child_follow): Deleted procedure.
7399 (test_follow_fork): New procedure.
7400 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 7401 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
7402 procedure calls.
7403
0fc05997
YQ
74042014-06-17 Yao Qi <yao@codesourcery.com>
7405
7406 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7407 CP1252.
7408
70795c52
LM
74092014-06-17 Luis Machado <lgustavo@codesourcery.com>
7410
7411 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7412 Initialize ptr and S explicitly.
7413 (skip_type_update_when_not_use_rtti_test): Likewise.
7414
6be47f0c
KS
74152014-06-16 Keith Seitz <keiths@redhat.com>
7416
7417 PR mi/15863
7418 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7419 the inferior is started.
7420
d03de421
PA
74212014-06-16 Pedro Alves <palves@redhat.com>
7422
7423 * gdb.base/break-main-file-remove-fail.c: New file.
7424 * gdb.base/break-main-file-remove-fail.exp: New file.
7425 * gdb.base/break-unload-file.exp: Use build_executable instead of
7426 prepare_for_testing.
7427 (test_break): New parameter "initial_load". Handle it.
7428 (top level): Add initial_load cmdline/file axis.
7429
f9579b99
TT
74302014-06-12 Tom Tromey <tromey@redhat.com>
7431
7432 * gdb.base/completion.exp: Don't use directory name in test.
7433
3657956b
GB
74342014-06-09 Gary Benson <gbenson@redhat.com>
7435
7436 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7437 separate the always-available ANSI-standard signals from the
7438 signals that require checking.
7439 (main): Likewise.
7440 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7441 Likewise.
7442 (main): Likewise.
7443
4186eb54
KS
74442014-06-07 Keith Seitz <keiths@redhat.com>
7445
7446 Revert:
7447 PR c++/16253
7448 * gdb.cp/var-tag.cc: New file.
7449 * gdb.cp/var-tag.exp: New file.
7450 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7451 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7452 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7453 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7454
25326a28 74552014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
7456
7457 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7458
829155c9
PA
74592014-06-06 Pedro Alves <palves@redhat.com>
7460
7461 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7462 in target debug output instead of looking at RSP packets,
7463 disabling the test on any target that uses hardware stepping.
7464 Update comments.
7465
61c8d22e
PA
74662014-06-06 Pedro Alves <palves@redhat.com>
7467
7468 * gdb.base/break-unload-file.exp: Fix typo.
7469
d9a47287
YQ
74702014-06-06 Yao Qi <yao@codesourcery.com>
7471
7472 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7473 from "jit_function" to "^jit_function".
7474
e5e01dbf
YQ
74752014-06-06 Yao Qi <yao@codesourcery.com>
7476
7477 * gdb.base/async.c (foo): Add one statement.
7478 * gdb.base/async.exp: Get the next instruction address and
7479 match the output of "nexti" by instruction address. Match
7480 the hex address in the output of "finish".
7481
73ba372c
GB
74822014-06-06 Gary Benson <gbenson@redhat.com>
7483
7484 * gdb.base/call-signals.c: Remove preprocessor conditionals
7485 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7486 SIGSEGV and SIGTERM.
7487 * gdb.base/sigall.c: Likewise.
7488 * gdb.base/unwindonsignal.c: Likewise.
7489 * gdb.reverse/sigall-reverse.c: Likewise.
7490
831517df
YQ
74912014-06-06 Yao Qi <yao@codesourcery.com>
7492
7493 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7494 readable, skip the test.
7495
b8b91e98
YQ
74962014-06-06 Yao Qi <yao@codesourcery.com>
7497
7498 * gdb.threads/staticthreads.c (thread_function): Move the line
7499 setting breakpoint on forward.
7500 * gdb.threads/staticthreads.exp: Update comments.
7501
fb934770
LC
75022014-06-05 Ludovic Courtès <ludo@gnu.org>
7503
7504 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7505 "history-append! type error".
7506
6ef284bd
SM
75072014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7508
7509 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7510 erroneous dprintf expected input.
7511
a872e241
DE
75122014-06-04 Doug Evans <xdje42@gmail.com>
7513
7514 * gdb.guile/scm-generics.exp: Delete.
7515
16f691fb
DE
75162014-06-04 Doug Evans <xdje42@gmail.com>
7517
7518 * gdb.guile/scm-breakpoint.exp: Update.
7519 Add tests for breakpoint registration.
7520
012370f6
TT
75212014-06-04 Tom Tromey <tromey@redhat.com>
7522
7523 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7524 VLA-in-union.
7525 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7526 inner_vla_struct, vla_union types. Initialize objects of those
7527 types and compute their sizes.
7528
9f5a4cef
HZ
75292014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7530 Hui Zhu <hui@codesourcery.com>
7531
7532 * gdb.base/fileio.exp: Add test for shell not available as well as
7533 available.
7534 * gdb.base/fileio.c (test_system): Check for shell twice.
7535
90a45c4d
YQ
75362014-06-04 Yao Qi <yao@codesourcery.com>
7537
7538 * gdb.base/auto-connect-native-target.exp: Remove redundant
7539 space from the regexp pattern.
7540
70017e41
YQ
75412014-06-04 Yao Qi <yao@codesourcery.com>
7542
7543 * gdb.base/default.exp: Replace "child" with "native" in
7544 regexp pattern.
7545
883964a7
SC
75462014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7547
7548 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7549 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7550 * gdb.python/py-xmethods.py: Python script supporting the
7551 new testcase and tests.
7552
ef370185
JB
75532014-06-03 Joel Brobecker <brobecker@adacore.com>
7554 Pedro Alves <palves@redhat.com>
7555
7556 PR breakpoints/17000
7557 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7558 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7559
1e2ccb61
BM
75602014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7561
7562 * gdb.base/subst.exp: Add tests to verify partial path matching
7563 output.
7564
c6ec5ab2
PA
75652014-06-03 Pedro Alves <palves@redhat.com>
7566
7567 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7568 target that doesn't use software single-stepping.
7569
835c559f
PA
75702014-06-03 Pedro Alves <palves@redhat.com>
7571
7572 PR breakpoints/17000
7573 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7574 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7575
06eb1586
DE
75762014-06-02 Doug Evans <xdje42@gmail.com>
7577
7578 * gdb.guile/scm-parameter.exp: New file.
7579
e698b8c4
DE
75802014-06-02 Doug Evans <xdje42@gmail.com>
7581
7582 * gdb.guile/scm-cmd.c: New file.
7583 * gdb.guile/scm-cmd.exp: New file.
7584
ded03782
DE
75852014-06-02 Doug Evans <xdje42@gmail.com>
7586
7587 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7588 pretty-printer lookup.
7589 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7590 (make-pp_s-printer): Call it.
7591 (make-pretty-printer-from-dict): New function.
7592 (lookup-pretty-printer-maker-from-dict): New function.
7593 (*pretty-printer*): Simplify.
7594 (make-objfile-pp_s-printer): New function.
7595 (install-objfile-pretty-printers!): New function.
7596 (make-progspace-pp_s-printer): New function.
7597 (install-progspace-pretty-printers!): New function.
7598 * gdb.guile/scm-progspace.c: New file.
7599 * gdb.guile/scm-progspace.exp: New file.
7600
41fac0cf
PA
76012014-06-02 Pedro Alves <palves@redhat.com>
7602
7603 * gdb.base/dprintf-bp-same-addr.c: New file.
7604 * gdb.base/dprintf-bp-same-addr.exp: New file.
7605
96ae5695
EBM
76062014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7607
7608 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7609 * gdb.arch/powerpc-power.s: Likewise.
7610
da02b3a8
JB
76112014-06-02 Joel Brobecker <brobecker@adacore.com>
7612
7613 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7614
c72b2e7b
YQ
76152014-06-01 Yao Qi <yao@codesourcery.com>
7616
7617 * gdb.base/watchpoint.exp (test_watch_location): Check null
7618 pointer can be dereferenced. If not, do the test, otherwise
7619 skip it.
7620
53e8a631
AB
76212014-05-30 Andrew Burgess <aburgess@broadcom.com>
7622
7623 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7624 results.
7625 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7626
938f0e2f
AB
76272014-05-30 Andrew Burgess <aburgess@broadcom.com>
7628
7629 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7630 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7631 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7632 * gdb.arch/amd64-invalid-stack-top.c: New file.
7633 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7634
9ba6657a
PA
76352014-05-30 Pedro Alves <palves@redhat.com>
7636
7637 PR breakpoints/17000
7638 * gdb.base/sss-bp-on-user-bp.c: New file.
7639 * gdb.base/sss-bp-on-user-bp.exp: New file.
7640
522c09bf
DB
76412014-05-30 David Blaikie <dblaikie@gmail.com>
7642
7643 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7644 gnu_inline semantics via attribute.
7645 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7646 source explicitly specifies the required semantics.
7647
bf4ef81e
MR
76482014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7649
7650 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7651
329ea579
PA
76522014-05-29 Pedro Alves <palves@redhat.com>
7653 Tom Tromey <tromey@redhat.com>
7654
7655 * gdb.base/async-shell.exp: Don't enable target-async.
7656 * gdb.base/async.exp
7657 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7658 parameter. Adjust.
7659 (top level): Don't test with "target-async".
7660 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7661 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7662 * gdb.base/inferior-died.exp: Don't enable target-async.
7663 * gdb.base/interrupt-noterm.exp: Likewise.
7664 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7665 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7666 * gdb.mi/mi-nonstop.exp: Likewise.
7667 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7668 * gdb.mi/mi-nsintrall.exp: Likewise.
7669 * gdb.mi/mi-nsmoribund.exp: Likewise.
7670 * gdb.mi/mi-nsthrexec.exp: Likewise.
7671 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7672 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7673 * gdb.python/py-evsignal.exp: Don't enable target-async.
7674 * gdb.python/py-evthreads.exp: Likewise.
7675 * gdb.python/py-prompt.exp: Likewise.
7676 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7677 * gdb.server/solib-list.exp: Don't enable target-async.
7678 * gdb.threads/thread-specific-bp.exp: Likewise.
7679 * lib/mi-support.exp: Adjust to use mi-async.
7680
fd664c91
PA
76812014-05-29 Pedro Alves <palves@redhat.com>
7682
7683 PR gdb/13860
7684 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7685 reason, even in sync mode.
7686
251bde03
PA
76872014-05-29 Pedro Alves <palves@redhat.com>
7688 Hui Zhu <hui@codesourcery.com>
7689
7690 PR PR15693
7691 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7692 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7693 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7694 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7695
7f3c0343
JB
76962014-05-28 Joel Brobecker <brobecker@adacore.com>
7697
7698 * config/monitor.exp (gdb_target_monitor): Replace use of
7699 "set remotebaud" by "set serial baud".
7700
b2715b27
AW
77012014-05-26 Andy Wingo <wingo@igalia.com>
7702
7703 * gdb.guile/scm-breakpoint.exp:
7704 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7705 properties instead of gdb-object-properties.
7706
498a4489
YQ
77072014-05-26 Yao Qi <yao@codesourcery.com>
7708
7709 * gdb.server/no-thread-db.exp: Specify source file name
7710 explicitly when setting a breakpoint.
7711
589fdceb
MM
77122014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7713
7714 * gdb.btrace/vdso.c: New.
7715 * gdb.btrace/vdso.exp: New.
7716
e9089e05
MM
77172014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7718
7719 * gdb.base/gcore.exp (capture_command_output): Move ...
7720 * lib/gdb.exp (capture_command_output): ... here.
7721
67b5c0c1
MM
77222014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7723
7724 * gdb.btrace/data.exp: Test memory access during btrace replay.
7725
a2199296
SM
77262014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7727
7728 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7729
17b2616c
PA
77302014-05-21 Pedro Alves <palves@redhat.com>
7731
7732 PR gdb/13860
7733 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7734 (top level): Test that output related to execution commands is
7735 sent to the console with CLI commands, but not with MI commands.
7736 Test that breakpoint events are always mirrored to the console.
7737 Also expect the new source line to be output after a "next" in
7738 async mode too. Make it a pass/fail test.
7739 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7740 output.
7741 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7742
5166082f
PA
77432014-05-21 Pedro Alves <palves@redhat.com>
7744
7745 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7746 Use them to test variations of "list" after reaching a breakpoint.
7747 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7748 Test "list" with listsize 10 after reaching a breakpoint.
7749 * gdb.python/python.exp (decode_line current location line
7750 number): Adjust expected line number.
7751
2f25d70f
SM
77522014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7753
7754 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7755 behavior for $args, pass it directly to "run".
7756
ff604a67
MR
77572014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7758
7759 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7760 30000 to 65536.
7761
6a3cb8e8
PA
77622014-05-21 Pedro Alves <palves@redhat.com>
7763
7764 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7765 auto-connect-native-target off".
7766 * gdb.base/auto-connect-native-target.c: New file.
7767 * gdb.base/auto-connect-native-target.exp: New file.
7768
4ebfc96e
PA
77692014-05-21 Pedro Alves <palves@redhat.com>
7770
7771 * gdb.base/default.exp: Test "target native" instead of "target
7772 child".
7773
36d46afb
MW
77742014-05-21 Mark Wielaard <mjw@redhat.com>
7775
7776 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7777
5876f503
JK
77782014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7779
7780 Fix TLS access for -static -pthread.
7781 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7782 <HAVE_TLS> (thread_function, main): Initialize it.
7783 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7784 Add clean_restart.
7785 <$have_tls != "">: Check TLSVAR.
7786
0256a6ac
PA
77872014-05-21 Pedro Alves <palves@redhat.com>
7788
7789 * gdb.base/dcache-line-read-error.c: New.
7790 * gdb.base/dcache-line-read-error.exp: New.
7791
936d2992
PA
77922014-05-20 Pedro Alves <palves@redhat.com>
7793
7794 * gdb.base/compare-sections.c: New file.
7795 * gdb.base/compare-sections.exp: New file.
7796
802e8e6d
PA
77972014-05-20 Pedro Alves <palves@redhat.com>
7798
7799 * gdb.base/break-idempotent.c: New file.
7800 * gdb.base/break-idempotent.exp: New file.
7801
e59fa00f
MM
78022014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7803
7804 * gdb.btrace/nohist.exp: New.
7805
8b696e31
YQ
78062014-05-20 Yao Qi <yao@codesourcery.com>
7807
7808 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7809 gdb.reverse directory and gdb_reverse_timeout exists in board
7810 setting.
7811 * README: Document gdb_reverse_timeout.
7812
73c9764f
YQ
78132014-05-20 Yao Qi <yao@codesourcery.com>
7814
7815 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7816 'test_file_name'. Treat args as a string instead of a list.
7817 (gdb_init): Rename argument 'args' by 'test_file_name'.
7818
f1f4348a
JK
78192014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7820
7821 * gdb.arch/powerpc-power.exp: New file.
7822 * gdb.arch/powerpc-power.s: New file.
7823
0dbe70ce
DE
78242014-05-16 Doug Evans <dje@google.com>
7825
7826 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
7827 * gdb.base/completion.exp: Check that all expected files exist
7828 before doing file completion.
0dbe70ce 7829
8d551b02
DE
78302014-05-16 Doug Evans <dje@google.com>
7831
7832 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7833 Update.
7834 (do_syscall_tests_without_xml): Update.
7835
73eb7709
PA
78362014-05-16 Pedro Alves <palves@redhat.com>
7837
7838 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7839 instead of "unknown output after running".
7840
3fae92fc
YQ
78412014-05-16 Yao Qi <yao@codesourcery.com>
7842
7843 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7844 file1.txt from host at the end.
7845 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7846
c2b2ccc5
DE
78472014-05-15 Doug Evans <dje@google.com>
7848
7849 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7850 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7851 loading file. Add test for TU lookup.
7852
8c217a4b
SM
78532014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7854
7855 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7856 calling "-exec-arguments" or "set args" before running the
7857 inferior.
7858
3deb39c6
SM
78592014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7860
7861 * lib/mi-support.exp (mi_expect_stop): Expect message for
7862 inferiors that exit with non-zero exit code.
7863
71a79f8c
YQ
78642014-05-14 Yao Qi <yao@codesourcery.com>
7865
7866 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7867 match absolute path on remote host.
7868 (test_file_list_exec_source_files): Remove "/" from the
7869 pattern.
7870
f23fcd46
YQ
78712014-05-14 Yao Qi <yao@codesourcery.com>
7872
7873 * boards/local-remote-host-notty.exp (${board}_file): New
7874 proc.
7875
9404b58f
KM
78762014-05-07 Kyle McMartin <kyle@redhat.com>
7877
7878 Pushed by Joel Brobecker <brobecker@adacore.com>.
7879 * gdb.arch/aarch64-atomic-inst.c: New file.
7880 * gdb.arch/aarch64-atomic-inst.exp: New file.
7881
5e45f04c
YQ
78822014-05-07 Yao Qi <yao@codesourcery.com>
7883
7884 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7885 in current context" too.
7886
c888a17d
KS
78872014-05-05 Keith Seitz <keiths@redhat.com>
7888
7889 * gdb.linespec/ls-dollar.exp: Add test for linespec
7890 file:convenience_variable.
7891
290a839c
YQ
78922014-05-05 Yao Qi <yao@codesourcery.com>
7893
7894 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7895 traceframes into tfile and ctf trace files. Read data from
7896 trace file and test collected data.
7897 (gdb_collect_locals_test): Likewise.
7898 (gdb_unavailable_registers_test): Likewise.
7899 (gdb_unavailable_floats): Likewise.
7900 (gdb_collect_globals_test): Likewise.
7901 (top-level): Append "ctf" to trace_file_targets if GDB
7902 supports.
7903
b5262cd0
YQ
79042014-05-05 Yao Qi <yao@codesourcery.com>
7905
7906 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7907 code to ...
7908 (gdb_collect_args_test_1): ... it. New proc.
7909 (gdb_collect_locals_test): Move some code to ...
7910 (gdb_collect_locals_test_1): ... it. New proc.
7911 (gdb_unavailable_registers_test): Move some code to ...
7912 (gdb_unavailable_registers_test_1): ... it. New proc.
7913 (gdb_unavailable_floats): Move some code to ...
7914 (gdb_unavailable_floats_1): ... it. New proc.
7915
30a1e6cc
SDJ
79162014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7917
7918 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7919 probes to test for bitness recognition.
7920 * gdb.arch/amd64-stap-optional-prefix.exp
7921 (test_probe_value_without_reg): New procedure.
7922 Add code to test for different kinds of bitness.
7923
f33da99a
SDJ
79242014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7925
7926 PR breakpoints/16889
7927 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7928 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7929
5b80f00d
PA
79302014-05-01 Pedro Alves <palves@redhat.com>
7931
7932 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7933 gdb_file_cmd if no file is specified.
7934 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7935 last_loaded_file to set the remote exec-file.
7936
f8c2a73c
PA
79372014-05-01 Pedro Alves <palves@redhat.com>
7938
7939 * boards/local-remote-host.exp: New file.
7940
be6e8ac7
PA
79412014-05-01 Pedro Alves <palves@redhat.com>
7942
7943 * boards/local-remote-host.exp: Rename to ...
7944 * boards/local-remote-host-notty.exp: ... this.
7945
cac0dc8f
JB
79462014-04-28 Joel Brobecker <brobecker@adacore.com>
7947
7948 * gdb.ada/dyn_arrayidx: New testcase.
7949
9730e6cc
YQ
79502014-04-26 Yao Qi <yao@codesourcery.com>
7951
7952 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7953 and compute the length of function main. Save it in
7954 $main_length.
7955 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7956 (top-level): Use gdb_compile to compile objects into
7957 executable and restart GDB. Remove invocation to
7958 prepare_for_testing.
7959
7ae1a6a6
PA
79602014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7961 Pedro Alves <palves@redhat.com>
7962
7963 PR server/16255
7964 * gdb.multi/multi-attach.c: New file.
7965 * gdb.multi/multi-attach.exp: New file.
7966
4082afcc
PA
79672014-04-25 Pedro Alves <palves@redhat.com>
7968
7969 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7970 user.
7971 (top level): Test that "set remote conditional-breakpoints-packet
7972 off" works as intended.
7973 * gdb.base/dprintf.exp: Test that "set remote
7974 breakpoint-commands-packet off" works as intended.
7975 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7976 New function.
7977 (top level): Call it.
7978 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7979 remote fast-tracepoints-packet off" works as intended.
7980 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7981 * lib/gdb.exp (gdb_is_target_remote): ... here.
7982
2abc3f8d
DB
79832014-04-24 David Blaikie <dblaikie@gmail.com>
7984
7985 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7986 ensure clang would not discard them.
7987 * gdb.base/gdbvars.c: Ditto.
7988 * gdb.base/memattr.c: Ditto.
7989 * gdb.base/whatis.c: Ditto.
7990 * gdb.python/py-prettyprint.c: Ditto.
7991 * gdb.trace/actions.c: Ditto.
7992 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7993 ensure clang would not discard it.
7994
bfd39632
DB
79952014-04-24 David Blaikie <dblaikie@gmail.com>
7996
7997 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7998 clang to emit the full definition of type required by the test
7999 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
8000
22842ff6
DB
80012014-04-24 David Blaikie <dblaikie@gmail.com>
8002
8003 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
8004 coax Clang into emitting the definition of the type.
8005 * gdb.cp/pr10728-x.h (y): Ditto.
8006 * gdb.cp/pr10728-y.cc (y): Ditto.
8007
c2e827ad
DB
80082014-04-24 David Blaikie <dblaikie@gmail.com>
8009
8010 * gdb.base/label.exp: XFAIL label related tests under Clang.
8011 * gdb.cp/cplabel.exp: Ditto.
8012 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
8013 under Clang those using labels.
8014
4c2d33e7
YQ
80152014-04-25 Yao Qi <yao@codesourcery.com>
8016
8017 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
8018 double_label.
8019 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
8020 partial_label and double_label.
8021
56083b99
DB
80222014-04-24 David Blaikie <dblaikie@gmail.com>
8023
8024 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
8025
25d4e99d
DB
80262014-04-24 David Blaikie <dblaikie@gmail.com>
8027
8028 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
8029 of the function to work across GCC and Clang.
8030 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
8031 pointer types (const void ** const V void **).
8032
01f9f808
MS
80332014-04-24 Michael Sturm <michael.sturm@mintel.com>
8034 Walfred Tedeschi <walfred.tedeschi@intel.com>
8035
8036 * Makefile.in (EXECUTABLES): Added i386-avx512.
8037 * gdb.arch/i386-avx512.c: New file.
8038 * gdb.arch/i386-avx512.exp: Likewise.
8039
4b48d439
KS
80402014-04-23 Keith Seitz <keiths@redhat.com>
8041
8042 * lib/mi-support.exp (mi_list_breakpoints): Delete.
8043 (mi_make_breakpoint_table): New procedure.
8044 (mi_create_breakpoint): Use mi_make_breakpoint
8045 and return the result.
8046 (mi_make_breakpoint): New procedure.
8047 (mi_build_kv_pairs): New procedure.
8048
8049 * gdb.mi/mi-break.exp: Remove unused globals,
8050 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
8051 All callers updated.
8052 * gdb.mi/mi-dprintf.exp: Use variable to track command
8053 number.
8054 Update all callers of mi_create_breakpoint and use
8055 mi_make_breakpoint_table.
8056 Remove any unused global variables.
8057 * gdb.mi/mi-nonstop.exp: Likewise.
8058 * gdb.mi/mi-nsintrall.exp: Likewise.
8059 * gdb.mi/mi-nsmoribund.exp: Likewise.
8060 * gdb.mi/mi-nsthrexec.exp: Likewise.
8061 * gdb.mi/mi-reverse.exp: Likewise.
8062 * gdb.mi/mi-simplerun.exp: Likewise.
8063 * gdb.mi/mi-stepn.exp: Likewise.
8064 * gdb.mi/mi-syn-frame.exp: Likewise.
8065 * gdb.mi/mi-until.exp: Likewise.
8066 * gdb.mi/mi-var-cp.exp: Likewise.
8067 * gdb.mi/mi-var-display.exp: Likewise.
8068 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
8069 * gdb.mi/mi2-var-child.exp: Likewise.
8070 * gdb.mi/mi-vla-c99.exp: Likewise.
8071 * lib/mi-support.exp: Likewise.
8072
8073 From Ian Lance Taylor <iant@cygnus.com>:
8074 * lib/gdb.exp (parse_args): New procedure.
8075
08351840
PA
80762014-04-23 Pedro Alves <palves@redhat.com>
8077
8078 * gdb.base/break-unload-file.c: New file.
8079 * gdb.base/break-unload-file.exp: New file.
8080 * gdb.base/sym-file-lib.c (baz): New function.
8081 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
8082 field.
8083 (load): Store the segment's mapped size.
8084 (unload): New function.
8085 (unload_shlib): New function.
8086 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
8087 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
8088 set a breakpoint at baz, and call it.
8089 * gdb.base/sym-file.exp: New tests for stale breakpoint
8090 instructions.
8091
076855f9
PA
80922014-04-23 Pedro Alves <palves@redhat.com>
8093
8094 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
8095 * gdb.base/hbreak-in-shr-unsupported.c: New file.
8096 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
8097 * gdb.base/hbreak-unmapped.c: New file.
8098 * gdb.base/hbreak-unmapped.exp: New file.
8099 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
8100 * lib/gdb.exp (gdb_is_target_remote): ... here.
8101
483805cf
PA
81022014-04-22 Pedro Alves <palves@redhat.com>
8103
8104 * gdb.base/consecutive-step-over.c: New file.
8105 * gdb.base/consecutive-step-over.exp: New file.
8106
06d97543
PA
81072014-04-22 Pedro Alves <palves@redhat.com>
8108
8109 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
8110 instead of send_gdb/gdb_expect.
8111
b4429ea2
YQ
81122014-04-22 Yao Qi <yao@codesourcery.com>
8113
8114 * lib/trace-support.exp (generate_tracefile): New procedure.
8115 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
8116 return 0.
8117 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
8118 if generate_tracefile returns 1.
8119
51d48146
PA
81202014-04-18 Tom Tromey <palves@redhat.com>
8121 Pedro alves <tromey@redhat.com>
8122
8123 PR backtrace/15558
8124 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
8125 with a backtrace limit.
8126 * gdb.python/py-frame-inline.exp: Test running to an inline
8127 function with a backtrace limit, and printing the newest frame.
8128 * gdb.python/py-frame-inline.c (main): Call f.
8129
bd1dce5f
MS
81302014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8131
8132 * gdb.java/jnpe.exp: Drop srcdir from untested path.
8133
40d1a503
MS
81342014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8135
8136 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
8137 Drop prefix from unsupported source file path.
8138
389b98f7
YQ
81392014-04-17 Yao Qi <yao@codesourcery.com>
8140
8141 * lib/gdb.exp (with_target_charset): New proc.
8142 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
8143 with_target_charset.
8144 (test_print_strings): Likewise.
8145 (test_repeat_bytes): Likewise.
8146 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
8147 for some tests.
8148
22869d73
KS
81492014-04-16 Keith Seitz <keiths@redhat.com>
8150
8151 PR gdb/15827
8152 * gdb.dwarf2/corrupt.c: New file.
8153 * gdb.dwarf2/corrupt.exp: New file.
8154
c4f87ca6
KS
81552014-04-16 Keith Seitz <keiths@redhat.com>
8156
8157 PR c++/16597
8158 * gdb.cp/namelessclass.cc: New file.
8159 * gdb.cp/namelessclass.exp: New file.
8160 * gdb.cp/namelessclass.S: New file.
8161
ab19de87
DE
81622014-04-16 Doug Evans <dje@google.com>
8163
8164 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
8165 Add comment.
8166 (gdbserver_default_get_comm_port): New function.
8167 (gdbserver_start): Check if board file provided
8168 "gdbserver,get_comm_port" and use it if so.
8169 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
8170 (gdb,socketport): Set to "stdio".
8171 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
8172 (stdio_gdbserver_template): Delete.
8173 (${board}_get_remote_address): Update.
8174 (${board}_build_remote_cmd): Delete.
8175 (${board}_get_comm_port): New function.
8176 (${board}_spawn): Update.
8177 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
8178 Delete.
8179 (${board}_get_remote_address): Update.
8180 (${board}_get_comm_port): New function.
8181
fc98a809
AB
81822014-04-16 Andrew Burgess <aburgess@broadcom.com>
8183
8184 * gdb.base/memattr.exp: Improve regexps to handle memory regions
8185 appearing in any order.
8186
87fd9e6e
DE
81872014-04-15 Doug Evans <dje@google.com>
8188
8189 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
8190 uninitialized value of "description".
8191
099fc3ea
KS
81922014-04-15 Keith Seitz <keiths@redhat.com>
8193
8194 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
8195 Remove unused globals.
8196 (test_running_the_program): Likewise.
8197 (test_controlled_execution): Likewise.
8198 (test_controlling_breakpoints): Likewise.
8199 (test_program_termination): Likewise.
8200
5da151d4
KS
82012014-04-15 Keith Seitz <keiths@redhat.com>
8202
8203 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
8204 unused globals.
8205 (test_rbreak_creation_and_listing): Likewise.
8206 (test_ignore_count): Likewise.
8207 (test_error): Likewise.
8208
35e5d2f0
PA
82092014-04-15 Pedro Alves <palves@redhat.com>
8210
8211 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
8212 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
8213 sym-file-loader.c.
8214 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8215 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8216 to sym-file-loader.c.
8217 (struct library): Forward declare.
8218 (load_shlib, lookup_function): Change prototypes.
8219 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8220 (translate_offset): Remove declarations.
8221 (get_text_addr): New declaration.
8222 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
8223 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
8224 sym-file-loader.h.
8225 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8226 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8227 here from sym-file-loader.h.
8228 (struct library): New structure.
8229 (load_shlib, lookup_function): Change prototypes and adjust to
8230 work with a struct library.
8231 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8232 (translate_offset): Make static.
8233 (get_text_addr): New function.
8234 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
8235
eb4c1710
PA
82362014-04-15 Pedro Alves <palves@redhat.com>
8237
8238 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
8239
2d1baf52
PA
82402014-04-15 Pedro Alves <palves@redhat.com>
8241
8242 * gdb.base/sym-file-loader.c: Include <limits.h>.
8243 (SELF_LINK): New define.
8244 (get_origin): New function.
8245 (load_shlib): Use it.
8246 * gdb.base/sym-file.exp: Don't early return if the target is
8247 remote. Use runto_main, and issue fail is that fails. Use
8248 gdb_load_shlibs.
8249 (shlib_name): Delete.
8250 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
8251
7dd6df01
PA
82522014-04-15 Pedro Alves <palves@redhat.com>
8253
8254 * gdb.base/sym-file.exp: Remove regex characters from test
8255 message. Don't refer to breakpoint numbers in test messages.
8256
b50c8614
KS
82572014-04-14 Keith Seitz <keiths@redhat.com>
8258
8259 PR c++/16253
8260 * gdb.cp/var-tag.cc: New file.
8261 * gdb.cp/var-tag.exp: New file.
8262 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8263 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8264 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8265 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8266
3d567982
TT
82672014-04-14 Tom Tromey <tromey@redhat.com>
8268
8269 * gdb.cp/classes.exp (test_enums): Handle underlying type.
8270 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
8271 type.
8272 * gdb.cp/enum-class.exp: New file.
8273 * gdb.cp/enum-class.cc: New file.
8274
0626fc76
TT
82752014-04-14 Tom Tromey <tromey@redhat.com>
8276
8277 * gdb.dwarf2/enum-type.exp: New file.
8278
dca325b3
SA
82792014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8280
8281 * gdb.mi/mi-vla-c99.exp: New file.
8282 * gdb.mi/vla.c: New file.
8283
5854b38a
SA
82842014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8285
8286 * gdb.base/vla-datatypes.c: New file.
8287 * gdb.base/vla-datatypes.exp: New file.
8288
463bb957
SA
82892014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8290
8291 * gdb.base/vla-ptr.c: New file.
8292 * gdb.base/vla-ptr.exp: New file.
8293
3dd170be
SA
82942014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8295
8296 * gdb.dwarf2/count.exp: New file.
8297
5ecaaa66
SA
82982014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8299
8300 * gdb.base/vla-sideeffect.c: New file.
8301 * gdb.base/vla-sideeffect.exp: New file.
8302
41f1ada5
DB
83032014-04-14 David Blaikie <dblaikie@gmail.com>
8304
8305 * gdb.mi/non-stop.c: Add return value for non-void function return
8306 statement.
8307 * gdb.threads/staticthreads.c: Ditto.
8308
0be03e84
DE
83092014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8310 Doug Evans <xdje42@gmail.com>
8311
8312 * gdb.guile/scm-value.c: Improve test case.
8313 * gdb.guile/scm-value.exp: Add new test.
8314
f180a1fb
DB
83152014-04-11 David Blaikie <dblaikie@gmail.com>
8316
8317 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8318 override Clang's default.
8319
6b662e19
JB
83202014-04-11 Joel Brobecker <brobecker@adacore.com>
8321
8322 Revert the following changes (regressions):
8323
8324 * gdb.base/vla-sideeffect.c: New file.
8325 * gdb.base/vla-sideeffect.exp: New file.
8326
8327 * gdb.dwarf2/count.exp: New file.
8328
8329 * gdb.base/vla-multi.c: New file.
8330 * gdb.base/vla-multi.exp: New file.
8331
8332 * gdb.base/vla-ptr.c: New file.
8333 * gdb.base/vla-ptr.exp: New file.
8334
8335 * gdb.base/vla-datatypes.c: New file.
8336 * gdb.base/vla-datatypes.exp: New file.
8337
8338 * gdb.mi/mi-vla-c99.exp: New file.
8339 * gdb.mi/vla.c: New file.
8340
245a5f0b
KS
83412014-04-11 Keith Seitz <keiths@redhat.com>
8342
8343 PR c++/16675
8344 * gdb.cp/cpsizeof.exp: New file.
8345 * gdb.cp/cpsizeof.cc: New file.
8346
58a84dcf
SA
83472014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8348
191a8a90
JB
8349 * gdb.mi/mi-vla-c99.exp: New file.
8350 * gdb.mi/vla.c: New file.
58a84dcf 8351
c8655f75
SA
83522014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8353
8354 * gdb.base/vla-datatypes.c: New file.
8355 * gdb.base/vla-datatypes.exp: New file.
8356
024e13b4
SA
83572014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8358
8359 * gdb.base/vla-ptr.c: New file.
8360 * gdb.base/vla-ptr.exp: New file.
8361
1a237e0e
SA
83622014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8363
8364 * gdb.base/vla-multi.c: New file.
8365 * gdb.base/vla-multi.exp: New file.
8366
504f3432
SA
83672014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8368
8369 * gdb.dwarf2/count.exp: New file.
8370
3bce8237
SA
83712014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8372
191a8a90
JB
8373 * gdb.base/vla-sideeffect.c: New file.
8374 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 8375
322f9c21
YQ
83762014-04-11 Yao Qi <yao@codesourcery.com>
8377
8378 * gdb.base/completion.exp: Check file exists before running tests
8379 on file completion.
8380
d708bcd1
PA
83812014-04-10 Pedro Alves <palves@redhat.com>
8382
8383 * gdb.base/cond-eval-mode.c: New file.
8384 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8385 prepare_for_testing to build the new file. Check result of
8386 runto_main.
8387 (test_break, test_watch): New procedures.
8388 (top level): Use them.
8389
ae1d2761
PM
83902014-04-08 Pierre Muller <muller@sourceware.org>
8391
8392 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8393 Ctrl-V use for mingw hosts.
8394
7af389b8
SC
83952014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8396
8397 * gdb.python/py-value.c: Improve test case.
8398 * gdb.python/py-value.exp: Add new test.
8399
5e703181
DE
84002014-04-07 David Blaikie <dblaikie@gmail.com>
8401
8402 * lib/compiler.c: Identify the clang compiler.
8403 * lib/compiler.cc: Ditto.
8404
9810b410
YQ
84052014-04-03 Yao Qi <yao@codesourcery.com>
8406
8407 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8408
98d1b8dc
AB
84092014-04-01 Anton Blanchard <anton@samba.org>
8410
8411 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8412 messages unique.
8413
3114cea1
AB
84142014-04-01 Anton Blanchard <anton@samba.org>
8415
8416 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8417 prepare_for_testing.
8418
62f7182c
AB
84192014-04-01 Anton Blanchard <anton@samba.org>
8420
8421 * gdb.arch/ppc64-atomic-inst.c: Remove.
8422 * gdb.arch/ppc64-atomic-inst.S: New file.
8423 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8424
770e7fc7
DE
84252014-03-31 Doug Evans <dje@google.com>
8426
8427 * gdb.base/print-symbol-loading-lib.c: New file.
8428 * gdb.base/print-symbol-loading-main.c: New file.
8429 * gdb.base/print-symbol-loading.exp: New file.
8430
46e2bafa
YQ
84312014-03-31 Yao Qi <yao@codesourcery.com>
8432
8433 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8434
8776cfe9
JB
84352014-03-28 Joel Brobecker <brobecker@adacore.com>
8436
8437 * gdb.ada/mi_dyn_arr: New testcase.
8438
5d1ef361
DE
84392014-03-27 Doug Evans <dje@google.com>
8440
8441 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8442
b5bee914
YQ
84432014-03-27 Yao Qi <yao@codesourcery.com>
8444
8445 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8446 if target is nios2-*-*.
8447
0d4d0e77
YQ
84482014-03-26 Yao Qi <yao@codesourcery.com>
8449
8450 * lib/gdb.exp (readline_is_used): New proc.
8451 * gdb.base/completion.exp: Move tests on command complete up.
8452 Skip the rest of tests if readline is not used.
8453 * gdb.ada/complete.exp: Skp the test if readline is not
8454 used.
8455 * gdb.base/filesym.exp: Likewise.
8456 * gdb.base/macscp.exp: Likewise.
8457 * gdb.base/readline-ask.exp: Likewise.
8458 * gdb.base/readline.exp: Likewise.
8459 * gdb.python/py-cmd.exp: Likewise.
8460 * gdb.trace/tfile.exp: Likewise.
8461
29361eee
YQ
84622014-03-26 Yao Qi <yao@codesourcery.com>
8463
8464 * gdb.base/macscp.exp: Fix code format issues.
8465
bc9a5525
UW
84662014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8467
8468 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8469 * gdb.asm/powerpc64le.inc: New file.
8470
d3839ede
PA
84712014-03-25 Pedro Alves <palves@redhat.com>
8472 Doug Evans <dje@google.com>
8473
8474 * gdb.base/source-execution.c: New file.
8475 * gdb.base/source-execution.exp: New file.
8476 * gdb.base/source-execution.gdb: New file.
8477
01672a57
DE
84782014-03-24 Doug Evans <dje@google.com>
8479
8480 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8481 using fission.
8482
88bbeca9
HZ
84832014-03-24 Hui Zhu <hui@codesourcery.com>
8484 Pedro Alves <palves@redhat.com>
8485
8486 PR breakpoints/16101
8487 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8488 test pass/fail messages. Detect missing support for dprintf when
8489 breakpoints are actually inserted.
8490 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8491 breakpoints are actually inserted.
8492 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8493 fails.
8494
d2348791
JK
84952014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8496
8497 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8498
feef67ab
DE
84992014-03-22 Doug Evans <xdje42@gmail.com>
8500
8501 * gdb.python/python.exp (python not supported): Verify multi-line
8502 python command issues an error.
25d743f9 8503 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 8504 guile command issues an error.
feef67ab 8505
ecebef6a
MR
85062014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8507
8508 * gdb.threads/thread-specific.exp: Handle the lack of usable
8509 $this_breakpoint and $this_thread.
8510
ccdd1909
HZ
85112014-03-21 Hui Zhu <hui@codesourcery.com>
8512
8513 * gdb.base/attach.exp (do_command_attach_tests): New.
8514
beb460e8
PA
85152014-03-20 Tom Tromey <tromey@redhat.com>
8516 Pedro Alves <palves@redhat.com>
8517
8518 PR cli/15718
8519 * gdb.base/condbreak-call-false.c: New file.
8520 * gdb.base/condbreak-call-false.exp: New file.
8521
40acf43a
PA
85222014-03-20 Pedro Alves <palves@redhat.com>
8523
8524 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8525 Delete.
8526 (block_signals, unblock_signals): Delete.
8527 (child_function_2, main): Remove references to deleted variable
8528 and functions.
8529
9f5e1e02
PA
85302014-03-20 Pedro Alves <palves@redhat.com>
8531
8532 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8533 Use pthread_kill to signal thread 2.
8534 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8535 Adjust to make the test send itself a signal rather than using the
8536 host's "kill" command.
8537
99619bea
PA
85382014-03-20 Pedro Alves <palves@redhat.com>
8539
8540 * gdb.threads/multiple-step-overs.c: New file.
8541 * gdb.threads/multiple-step-overs.exp: New file.
8542 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8543 Adjust expected infrun debug output.
8544
2adfaa28
PA
85452014-03-20 Pedro Alves <palves@redhat.com>
8546
8547 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8548 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8549
31e77af2
PA
85502014-03-20 Pedro Alves <palves@redhat.com>
8551
8552 PR breakpoints/7143
8553 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8554 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8555 of gdb_test_multiple.
8556 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8557 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8558
b9f437de
PA
85592014-03-20 Pedro Alves <palves@redhat.com>
8560
8561 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8562 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8563
05adc73e
PA
85642014-03-19 Pedro Alves <palves@redhat.com>
8565
8566 * gdb.base/async.exp: Remove early return.
8567
6048b950
PA
85682014-03-19 Pedro Alves <palves@redhat.com>
8569
8570 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8571
8bcfb00a
PA
85722014-03-19 Pedro Alves <palves@redhat.com>
8573
8574 * gdb.base/async.exp (test_background): Expect \r\n after
8575 "completed." in the fail pattern.
8576
884e37dc
PA
85772014-03-19 Pedro Alves <palves@redhat.com>
8578
8579 * gdb.base/async.exp (test_background): New procedure.
8580 Use it for all background execution command tests.
8581
148e57e2
PA
85822014-03-19 Pedro Alves <palves@redhat.com>
8583
8584 * gdb.base/async.exp: Use prepare_for_testing.
8585
f48088c7
PA
85862014-03-19 Pedro Alves <palves@redhat.com>
8587
8588 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8589 the same line.
8590
e2f6c966
PA
85912014-03-19 Pedro Alves <palves@redhat.com>
8592
8593 * gdb.base/async.c (main): Add "jump here" and "until here" line
8594 marker comments.
8595 * gdb.base/async.exp (jump_here): New global.
8596 (jump& test): Use it.
8597 (until_here): New global.
8598 (until& test): Use it.
8599
c30568d4
PA
86002014-03-19 Pedro Alves <palves@redhat.com>
8601
8602 * gdb.base/async.exp: Don't frob gdb_protocol.
8603
0172b6a7
DE
86042014-03-18 Doug Evans <xdje42@gmail.com>
8605
8606 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8607 Fix spelling of exec-done-display.
8608
06c868a8
JK
86092014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8610
8611 PR gdb/15358
8612 * gdb.base/gdb-sigterm.c: New file.
8613 * gdb.base/gdb-sigterm.exp: New file.
8614
0c7e1a46
PA
86152014-03-18 Pedro Alves <palves@redhat.com>
8616
8617 PR gdb/13860
8618 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8619 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8620 solib-event.
8621
f7c77d93
JB
86222014-03-17 Joel Brobecker <brobecker@adacore.com>
8623
8624 * gdb.ada/pckd_arr_ren: New testcase.
8625
5a1e8c7a
DE
86262014-03-13 Doug Evans <xdje42@gmail.com>
8627
8628 PR guile/16612
8629 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8630 collect after discarding symbols.
8631
350e1a76
DE
86322014-03-13 Ludovic Courtès <ludo@gnu.org>
8633 Doug Evans <xdje42@gmail.com>
8634
8635 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8636 to history survives a gc.
8637
a69900ae
PA
86382014-03-13 Pedro Alves <palves@redhat.com>
8639
8640 * gdb.base/default.exp: Don't test "target procfs".
8641
5db9f0bd
PA
86422014-03-13 Pedro Alves <palves@redhat.com>
8643
8644 * gdb.base/default.exp: Update "target child" and "target procfs"
8645 tests to not expect "Unix".
8646
b3ccfe11
TT
86472014-03-12 Tom Tromey <tromey@redhat.com>
8648
8649 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8650 New procs. Add target-async tests.
8651 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8652 Add target-async tests.
8653
646f4417
AA
86542014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8655
8656 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8657 'func_start' and 'func_end' for the beginning and end of the
8658 function code, respectively.
8659 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8660 'func_end' instead of 'func' and 'main'.
8661
288c211f
AA
86622014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8663
8664 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8665 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8666 generate the debug info assembler source.
8667
e0c0f156
AA
86682014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8669
8670 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8671 * gdb.dwarf2/arr-subrange.exp: Likewise.
8672 * gdb.dwarf2/dwz.exp: Likewise.
8673 * gdb.dwarf2/method-ptr.exp: Likewise.
8674 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8675 * gdb.dwarf2/subrange.exp: Likewise.
8676 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8677 * gdb.dwarf2/implptrpiece.exp: Likewise.
8678 * gdb.dwarf2/nostaticblock.exp: Likewise.
8679
0e5c4555
AA
86802014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8681
8682 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8683 directory to absolute path name arguments.
8684
5ec18f2b
JG
86852014-03-10 Joel Brobecker <brobecker@adacore.com>
8686
8687 * gdb.ada/tagged_access: New testcase.
8688
847fc4f2
MM
86892014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8690
8691 * gdb.btrace/data.exp: Update expected output.
8692
cc3da688
YQ
86932014-03-06 Yao Qi <yao@codesourcery.com>
8694
8695 * gdb.trace/pr16508.exp: New file.
8696
0f26cec1
PA
86972014-03-05 Pedro Alves <palves@redhat.com>
8698
8699 PR gdb/16575
8700 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8701 procedure.
8702 (top level): Adjust to use it. Add tests that exercise breakpoint
8703 interaction with the code-cache.
8704
7a5a839f
LC
87052014-02-26 Ludovic Courtès <ludo@gnu.org>
8706
8707 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8708 test for 'history-append!'.
8709
31aa7e4e
JB
87102014-02-26 Joel Brobecker <brobecker@adacore.com>
8711
8712 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8713 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8714 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8715 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8716 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8717 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8718
1b588015
JB
87192014-02-26 Joel Brobecker <brobecker@adacore.com>
8720
8721 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8722 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8723 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8724
55426c9d
JB
87252014-02-26 Joel Brobecker <brobecker@adacore.com>
8726
8727 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8728
dc53a7ad
JB
87292014-02-26 Joel Brobecker <brobecker@adacore.com>
8730
8731 * gdb.dwarf2/arr-stride.c: New file.
8732 * gdb.dwarf2/arr-stride.exp: New file.
8733
12ab52e9
PA
87342014-02-26 Pedro Alves <palves@redhat.com>
8735
8736 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8737 that won't ever trigger. Make sure that GDB reports the correct
8738 breakpoint that caused the stop.
8739
849c862e
JK
87402014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8741
8742 PR gdb/16626
8743 * gdb.base/auto-load-script: New file.
8744 * gdb.base/auto-load.c: New file.
8745 * gdb.base/auto-load.exp: New file.
8746
71b7d793
JK
8747 PR gdb/16626
8748 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8749
e2f0d509
JK
87502014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8751
8752 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8753 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8754
50cc37c8
DE
87552014-02-24 Doug Evans <dje@google.com>
8756
8757 * lib/gdb.exp (run_on_host): Log error output if program fails.
8758
ea4758f2
PA
87592014-02-21 Pedro Alves <palves@redhat.com>
8760
8761 * gdb.threads/step-after-sr-lock.c: Rename to ...
8762 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8763 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8764 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8765 ... this.
8766
d7b30f67
SDJ
87672014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8768
8769 PR tdep/16397
8770 * gdb.arch/amd64-stap-special-operands.exp: New file.
8771 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8772 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8773 * gdb.arch/amd64-stap-triplet.S: Likewise.
8774 * gdb.arch/amd64-stap-triplet.c: Likewise.
8775
83deb43f
JB
87762014-02-20 Joel Brobecker <brobecker@adacore.com>
8777
8778 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8779 in .section pseudo-op.
8780
adde2bff
DE
87812014-02-20 lin zuojian <manjian2006@gmail.com>
8782 Joel Brobecker <brobecker@adacore.com>
8783 Doug Evans <xdje42@gmail.com>
8784
8785 PR symtab/16581
8786 * gdb.dwarf2/dw2-icycle.S: New file.
8787 * gdb.dwarf2/dw2-icycle.c: New file.
8788 * gdb.dwarf2/dw2-icycle.exp: New file.
8789
f7bd0f78
SC
87902014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8791
8792 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8793 operations on gdb.Value objects.
8794 * gdb.python/py-value-cc.exp: Add new test to test operations on
8795 gdb.Value objects.
8796
c17ef0d5
DE
87972014-02-18 Doug Evans <dje@google.com>
8798
8799 * Makefile.in (TESTS): New variable.
8800 (expanded_tests, expanded_tests_or_none): New variables
8801 (check-single): Pass $(expanded_tests_or_none) to runtest.
8802 (check-parallel): Only run tests in $(TESTS) if non-empty.
8803 (check/no-matching-tests-found): New rule.
8804 * README: Document TESTS makefile variable.
8805
5dd3176f
DE
88062014-02-18 Doug Evans <dje@google.com>
8807
8808 * Makefile.in (check-parallel): rm -rf outputs temp.
8809
0b10be4f
JK
88102014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8811
8812 Fix "ERROR: no fileid for" in the testsuite.
8813 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8814
85f224e7
DE
88152014-02-12 Doug Evans <dje@google.com>
8816
8817 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8818 (MISCELLANEOUS): New variable.
8819 (clean): rm -rf $(MISCELLANEOUS).
8820 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8821 dwp live in the same directory as symlinks, with each symlink pointed
8822 to a differently named file in a different directory.
8823
149b30ff
DE
88242014-02-11 Doug Evans <dje@google.com>
8825
8826 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8827 of Tcl file commands.
8828
1dfdac32
MK
88292014-02-10 Mark Kettenis <kettenis@gnu.org>
8830
8831 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8832 "kill -SIGUSR1 -1".
8833
aa4fb036
JB
88342014-02-10 Joel Brobecker <brobecker@adacore.com>
8835
8836 * gdb.ada/tick_length_array_enum_idx: New testcase.
8837
ed3ef339
DE
88382014-02-10 Doug Evans <xdje42@gmail.com>
8839
8840 * configure.ac (AC_OUTPUT): Add gdb.guile.
8841 * configure: Regenerate.
8842 * lib/gdb-guile.exp: New file.
8843 * lib/gdb.exp (get_target_charset): New function.
8844 * gdb.base/help.exp: Update expected output from "apropos apropos".
8845 * gdb.guile/Makefile.in: New file.
8846 * gdb.guile/guile.exp: New file.
8847 * gdb.guile/scm-arch.c: New file.
8848 * gdb.guile/scm-arch.exp: New file.
8849 * gdb.guile/scm-block.c: New file.
8850 * gdb.guile/scm-block.exp: New file.
8851 * gdb.guile/scm-breakpoint.c: New file.
8852 * gdb.guile/scm-breakpoint.exp: New file.
8853 * gdb.guile/scm-disasm.c: New file.
8854 * gdb.guile/scm-disasm.exp: New file.
8855 * gdb.guile/scm-equal.c: New file.
8856 * gdb.guile/scm-equal.exp: New file.
8857 * gdb.guile/scm-error.exp: New file.
8858 * gdb.guile/scm-error.scm: New file.
8859 * gdb.guile/scm-frame-args.c: New file.
8860 * gdb.guile/scm-frame-args.exp: New file.
8861 * gdb.guile/scm-frame-args.scm: New file.
8862 * gdb.guile/scm-frame-inline.c: New file.
8863 * gdb.guile/scm-frame-inline.exp: New file.
8864 * gdb.guile/scm-frame.c: New file.
8865 * gdb.guile/scm-frame.exp: New file.
8866 * gdb.guile/scm-generics.exp: New file.
8867 * gdb.guile/scm-gsmob.exp: New file.
8868 * gdb.guile/scm-iterator.c: New file.
8869 * gdb.guile/scm-iterator.exp: New file.
8870 * gdb.guile/scm-math.c: New file.
8871 * gdb.guile/scm-math.exp: New file.
8872 * gdb.guile/scm-objfile-script-gdb.in: New file.
8873 * gdb.guile/scm-objfile-script.c: New file.
8874 * gdb.guile/scm-objfile-script.exp: New file.
8875 * gdb.guile/scm-objfile.c: New file.
8876 * gdb.guile/scm-objfile.exp: New file.
8877 * gdb.guile/scm-ports.exp: New file.
8878 * gdb.guile/scm-pretty-print.c: New file.
8879 * gdb.guile/scm-pretty-print.exp: New file.
8880 * gdb.guile/scm-pretty-print.scm: New file.
8881 * gdb.guile/scm-section-script.c: New file.
8882 * gdb.guile/scm-section-script.exp: New file.
8883 * gdb.guile/scm-section-script.scm: New file.
8884 * gdb.guile/scm-symbol.c: New file.
8885 * gdb.guile/scm-symbol.exp: New file.
8886 * gdb.guile/scm-symtab-2.c: New file.
8887 * gdb.guile/scm-symtab.c: New file.
8888 * gdb.guile/scm-symtab.exp: New file.
8889 * gdb.guile/scm-type.c: New file.
8890 * gdb.guile/scm-type.exp: New file.
8891 * gdb.guile/scm-value-cc.cc: New file.
8892 * gdb.guile/scm-value-cc.exp: New file.
8893 * gdb.guile/scm-value.c: New file.
8894 * gdb.guile/scm-value.exp: New file.
8895 * gdb.guile/source2.scm: New file.
8896 * gdb.guile/types-module.cc: New file.
8897 * gdb.guile/types-module.exp: New file.
8898
7026a7c1
YQ
88992014-02-10 Yao Qi <yao@codesourcery.com>
8900
8901 PR testsuite/16543
8902 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8903 * configure: Regenerated.
8904 * Makefile.in: New file.
8905
6c466447
AS
89062014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8907
8908 * gdb.python/py-framefilter.exp: Fix typo.
8909
6e854735
YQ
89102014-02-08 Yao Qi <yao@codesourcery.com>
8911
8912 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8913 that no =breakpoint-modified is emitted when breakpoints are
8914 modified through MI commands.
8915
d137e6dc
PA
89162014-02-07 Pedro Alves <pedro@codesourcery.com>
8917 Pedro Alves <palves@redhat.com>
8918
8919 * gdb.threads/step-after-sr-lock.c: New file.
8920 * gdb.threads/step-after-sr-lock.exp: New file.
8921
b5ee5a50
PA
89222014-02-07 Pedro Alves <palves@redhat.com>
8923
8924 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8925
3c77faf3
JK
89262014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8927
8928 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8929 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8930
6dddc817
DE
89312014-02-06 Doug Evans <xdje42@gmail.com>
8932
8933 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8934 output.
8935
8936 * gdb.gdb/python-interrupts.exp: New file.
8937
de7b2893
YQ
89382014-02-05 Yao Qi <yao@codesourcery.com>
8939
8940 * gdb.trace/report.exp (use_collected_data): Test the output
8941 of "info threads" and "info inferiors".
8942
66d032ac
YQ
89432014-02-05 Yao Qi <yao@codesourcery.com>
8944
8945 Revert this patch:
8946
8947 2013-05-24 Yao Qi <yao@codesourcery.com>
8948
8949 * gdb.trace/tfile.exp: Test inferior and thread.
8950
591a12a1
UW
89512014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8952
8953 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8954 on a function.
8955 * gdb.base/step-bt.c: Call hello via function pointer to make
8956 sure its first instruction is executed on powerpc64le-linux.
8957
0ff3e01f
UW
89582014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8959
8960 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8961
084ee545
UW
89622014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8963
8964 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8965 of the test patterns for use on little-endian systems.
8966
6ed14ff3
UW
89672014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8968
8969 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8970 (decimal_vector): Fix for little-endian.
8971
401e27fd
JM
89722014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8973
8974 * gdb.arch/sparc-sysstep.exp: New file.
8975 * gdb.arch/sparc-sysstep.c: Likewise.
8976
8977 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8978
8b924729
EBM
89792014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8980
8981 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8982
fb151210
JB
89832014-01-23 Tom Tromey <tromey@redhat.com>
8984
8985 * gdb.ada/array_char_idx: New testcase.
8986
0740f8d8
TT
89872014-01-23 Tom Tromey <tromey@redhat.com>
8988
8989 PR python/16487:
8990 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8991 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8992 classes.
8993
21909fa1
TT
89942014-01-23 Tom Tromey <tromey@redhat.com>
8995
8996 PR python/16491:
8997 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8998 string from an inferior frame.
8999 * gdb.python/py-framefilter-mi.exp: Update.
9000
87ce2a04
DE
90012014-01-22 Doug Evans <dje@google.com>
9002
9003 * gdb.server/server-mon.exp: Add tests for "set debug-format".
9004
237b092b
AA
90052014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9006
9007 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
9008
d674a709
AA
90092014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9010
9011 * gdb.trace/entry-values.exp: Remove excess space character from
9012 regex patterns. Handle s390 call instruction.
9013
20fa3390
AA
90142014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9015
9016 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
9017 define "*_start" label. Make "name" static.
9018 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
9019 ${name} by references to ${name}_start.
9020
78466714
AA
90212014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9022
9023 * gdb.base/info-macros.exp: Remove "debug" from the compile
9024 options.
9025
ec9f644a
IB
90262014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9027
9028 * gdb.dlang/demangle.exp: New file.
9029
94b1b47e
IB
90302014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9031
9032 * gdb.dlang/primitive-types.exp: New file.
9033
7f420862
IB
90342014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9035
9036 * configure.ac: Create gdb.dlang/Makefile.
9037 * configure: Regenerate.
9038 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
9039 * gdb.dlang/Makefile.in: New file.
9040 * lib/d-support.exp: New file.
9041 * lib/gdb.exp (skip_d_tests): New proc.
9042
52834460
MM
90432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9044
9045 * gdb.btrace/delta.exp: Check reverse stepi.
9046 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
9047 * gdb.btrace/finish.exp: New.
9048 * gdb.btrace/next.exp: New.
9049 * gdb.btrace/nexti.exp: New.
9050 * gdb.btrace/record_goto.c: Add comments.
9051 * gdb.btrace/step.exp: New.
9052 * gdb.btrace/stepi.exp: New.
9053 * gdb.btrace/multi-thread-step.c: New.
9054 * gdb.btrace/multi-thread-step.exp: New.
9055 * gdb.btrace/rn-dl-bind.c: New.
9056 * gdb.btrace/rn-dl-bind.exp: New.
9057 * gdb.btrace/data.c: New.
9058 * gdb.btrace/data.exp: New.
9059 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9060
6e07b1d2
MM
90612014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9062
9063 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
9064 * gdb.btrace/exception.exp: Update.
9065 * gdb.btrace/instruction_history.exp: Update.
9066 * gdb.btrace/record_goto.exp: Update.
9067 * gdb.btrace/tailcall.exp: Update.
9068 * gdb.btrace/unknown_functions.exp: Update.
9069 * gdb.btrace/delta.exp: New.
9070
0b722aec
MM
90712014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9072
9073 * gdb.btrace/record_goto.exp: Add backtrace test.
9074 * gdb.btrace/tailcall.exp: Add backtrace test.
9075
066ce621
MM
90762014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9077
9078 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
9079 * gdb.btrace/record_goto.c: New.
9080 * gdb.btrace/record_goto.exp: New.
9081 * gdb.btrace/x86-record_goto.S: New.
9082
0688d04e
MM
90832014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9084
9085 * gdb.btrace/function_call_history.exp: Update tests.
9086 * gdb.btrace/instruction_history.exp: Update tests.
9087
8710b709
MM
90882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9089
9090 * gdb.btrace/function_call_history.exp: Fix expected field
9091 order for "record function-call-history".
9092 Add new tests for "record function-call-history /c".
9093 * gdb.btrace/exception.cc: New.
9094 * gdb.btrace/exception.exp: New.
9095 * gdb.btrace/tailcall.exp: New.
9096 * gdb.btrace/x86-tailcall.S: New.
9097 * gdb.btrace/x86-tailcall.c: New.
9098 * gdb.btrace/unknown_functions.c: New.
9099 * gdb.btrace/unknown_functions.exp: New.
9100 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9101
5de9129b
MM
91022014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9103
9104 * gdb.btrace/instruction_history.exp: Update.
9105 * gdb.btrace/function_call_history.exp: Update.
9106
23a7fe75
MM
91072014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9108
9109 * gdb.btrace/function_call_history.exp: Fix expected function
9110 trace.
9111 * gdb.btrace/instruction_history.exp: Initialize traced.
9112 Remove traced_functions.
9113
724c7dd8
MM
91142014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9115
9116 * gdb.btrace/function_call_history.exp: Update
9117 * gdb.btrace/instruction_history.exp: Update.
9118
6d78d93b
MM
91192014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9120
9121 * gdb.btrace/enable.exp: Update expected text.
9122
93a360cc
OJ
91232014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
9124
9125 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
9126 bytes.
9127
3772b53f
MR
91282014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
9129
9130 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
9131
596662fa
OJ
91322014-01-15 Omair Javaid <omair.javaid@linaro.org>
9133
9134 * lib/gdb.exp (supports_process_record): Return true for
9135 arm*-linux*. (supports_reverse): Likewise.
9136
b5b08fb4
SC
91372014-01-13 Siva Chandra Reddy <sivachandra@google.com>
9138
9139 PR python/15464
9140 PR python/16113
9141 * gdb.python/py-type.c: Enhance test case.
9142 * gdb.python/py-value-cc.cc: Likewise
9143 * gdb.python/py-type.exp: Add new tests.
9144 * gdb.python/py-value-cc.exp: Likewise
9145
52d7fb13
AA
91462014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9147 Pedro Alves <palves@redhat.com>
9148
9149 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
9150 Make "name" extern.
9151 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
9152 references to ${name}_start by references to ${name}.
9153
a2cd8cfe
JB
91542014-01-10 Joel Brobecker <brobecker@adacore.com>
9155
9156 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
9157
4e23fced
JB
91582014-01-10 Joel Brobecker <brobecker@adacore.com>
9159
9160 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
9161
c6a9e42c
PA
91622014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
9163 Pedro Alves <palves@redhat.com>
9164
9165 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 9166 mi_gdb_target_load.
c6a9e42c 9167
b7ea362b
PA
91682014-01-08 Pedro Alves <palves@redhat.com>
9169
9170 * gdb.threads/reconnect-signal.c: New file.
9171 * gdb.threads/reconnect-signal.exp: New file.
9172
5e3f4fab
EBM
91732014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9174
9175 * gdb.base/source-dir.exp: New file.
9176
79301218
JB
91772014-01-07 Joel Brobecker <brobecker@adacore.com>
9178
9179 * gdb.ada/mi_interface: New testcase.
9180
8e355c5d
JB
91812014-01-07 Joel Brobecker <brobecker@adacore.com>
9182
9183 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
9184 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
9185 gdb.ada/pp-rec-component/pck.ads: New files.
9186
c0d48811
JB
91872014-01-07 Joel Brobecker <brobecker@adacore.com>
9188
9189 * gdb.python/py-pp-integral.c: New file.
9190 * gdb.python/py-pp-integral.py: New file.
9191 * gdb.python/py-pp-integral.exp: New file.
9192
17b609c3 9193For older changes see ChangeLog-1993-2013.
c906108c 9194\f
8d8cb839
EZ
9195;; Local Variables:
9196;; mode: change-log
9197;; left-margin: 8
9198;; fill-column: 74
9199;; version-control: never
9200;; End:
902f2ccb 9201
618f726f 9202 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
9203 Copying and distribution of this file, with or without modification,
9204 are permitted provided the copyright notice and this notice are preserved.