]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
PR remote/20655 - small fix in handle_tracepoint_bkpts
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
fdebf1a4
YQ
12016-10-05 Yao Qi <yao.qi@linaro.org>
2
3 * lib/gdb.exp (support_complex_tests): Return zero if
4 gdb_skip_float_test return true.
5
9c36d954
AT
62016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
72016-10-03 Simon Marchi <simon.marchi@ericsson.com>
8
9 PR gdb/20487
10 * gdb.mi/user-selected-context-sync.exp: New file.
11 * gdb.mi/user-selected-context-sync.c: New file.
12
4034d0ff
AT
132016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
142016-10-03 Simon Marchi <simon.marchi@ericsson.com>
15
16 PR gdb/20487
17 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
18 =thread-select-event check.
19
a4297203
PB
202016-09-29 Peter Bergner <bergner@vnet.ibm.com>
21
22 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
23 the compulsory L operand changes.
24 * gdb.arch/powerpc-power.s: Likewise.
25
bb805577
JK
262016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
27
28 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
29 * gdb.base/jit-attach-pie.c: New file.
30 * gdb.base/jit-attach-pie.exp: New file.
31
6d61dee5
PA
322016-09-28 Pedro Alves <palves@redhat.com>
33
34 * gdb.base/infcall-input.c: New file.
35 * gdb.base/infcall-input.exp: New file.
36
f73842fc
YQ
372016-09-22 Yao Qi <yao.qi@linaro.org>
38
39 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
40 (gdb_exit): Rename it to ...
41 (gdbserver_gdb_exit): ... Close GDBserver.
42 (gdb_exit): New proc, call gdbserver_gdb_exit.
43 (mi_gdb_exit): Likewise.
44
90681dab
YQ
452016-09-22 Yao Qi <yao.qi@linaro.org>
46
47 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
48 path.
49 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
50 Remove duplication.
51
9c211fd8
YQ
522016-09-22 Yao Qi <yao.qi@linaro.org>
53
54 * lib/gdbserver-support.exp: Check the existence of
55 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
56
ad0a504f
AK
572016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
58
59 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
60
36cf1806
TT
612016-09-21 Tom Tromey <tom@tromey.com>
62
63 PR gdb/20604:
64 * gdb.base/quit.exp: New file.
65
74172ecf
SM
662016-09-21 Simon Marchi <simon.marchi@ericsson.com>
67
68 * .gitignore: New file.
69
3d0ec882
MR
702016-09-21 Maciej W. Rozycki <macro@imgtec.com>
71
72 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
73 throughout.
74
8193adea
AA
752016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
76
77 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
78
d41a5c09
JK
792016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
80
81 * gdb.cp/casts.cc (decltype): Move it ...
82 (main): ... with its call to ...
83 * gdb.cp/casts03.cc: ... a new file.
84 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
85
d2dfe700
JK
862016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
87
88 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
89
e2a92b16
PB
902016-09-15 Peter Bergner <bergner@vnet.ibm.com>
91
92 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
93 and sync up the test with tests in gas/testsuite/gas/ppc.
94 * gdb.arch/powerpc-power.exp: Likewise.
95
49b4de64
JK
962016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
97
98 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
99
2c29df25
SDJ
1002016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
101 Jan Kratochvil <jan.kratochvil@redhat.com>
102
103 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
104 make m1's definition to be different from m2's. Use 'dummy' as an
105 argument for probe 'two'.
106
cc3c2846
JB
1072016-09-10 Jon Beniston <jon@beniston.com>
108
109 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
110 for sim target.
111
e1b2624a
AA
1122016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
113
114 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
115 variable declaration.
116 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
117 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
118 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
119 received HWCAP as its argument.
120
4295e285
PA
1212016-09-06 Pedro Alves <palves@redhat.com>
122
123 * gdb.base/new-ui-pending-input.c: New file.
124 * gdb.base/new-ui-pending-input.exp: New file.
125 * gdb.exp (clear_gdb_spawn_id): New procedure.
126 (with_spawn_id): Check whether gdb_spawn_id exists before
127 referencing it. If gdb_spawn_id didn't exist on entry, clear it
128 on exit.
129
00d5215e
UW
1302016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
131
132 * gdb.base/float128.c: New file.
133 * gdb.base/float128.exp: Likewise.
134 * gdb.base/floatn.c: Likewise.
135 * gdb.base/floatn.exp: Likewise.
136
a9ff5f12
UW
1372016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
138
139 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
140
f245535c
PA
1412016-09-05 Pedro Alves <palves@redhat.com>
142
143 PR backtrace/19927
144 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
145 unwinders are immediately called as side effect of "source" or
146 "disable unwinder" commands.
147 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
148
ae9cf263
YQ
1492016-09-02 Yao Qi <yao.qi@linaro.org>
150
151 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
152 is true and $type is "float" or "double".
153
27aba047
YQ
1542016-09-02 Yao Qi <yao.qi@linaro.org>
155
156 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
157 true.
158 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
159 * gdb.base/call-rt-st.exp: Likewise.
160 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
161 return value instead of gdb,skip_float_test.
162 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
163 (do_function_calls): Use its return value instead of
164 gdb,skip_float_test.
165 * gdb.base/finish.exp: Likewise.
166 * gdb.base/funcargs.exp: Likewise.
167 * gdb.base/return.exp: Likewise.
168 * gdb.base/return2.exp: Likewise.
169 * gdb.base/varargs.exp: Likewise.
170 * lib/gdb.exp (gdb_skip_float_test): Change it to
171 gdb_caching_proc. Detect the broken ptrace on arm-linux.
172
5af962df
AA
1732016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
174
175 * gdb.multi/tids.exp: Test "thread apply all".
176
7fac6910
JK
1772016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
178
179 * gdb.base/default.exp (tty): Remove.
180
bb1fe4ac
KB
1812016-08-24 Kevin Buettner <kevinb@redhat.com>
182
183 * gdb.python/py-recurse-unwind.c: New file.
184 * gdb.python/py-recurse-unwind.py: New file.
185 * gdb.python/py-recurse-unwind.exp: New file.
186
0a1ddfa6
SM
1872016-08-24 Simon Marchi <simon.marchi@ericsson.com>
188
189 * gdb.base/set-inferior-tty.exp: New file.
190 * gdb.base/set-inferior-tty.c: New file.
191
d9de1fe3
PA
1922016-08-23 Pedro Alves <palves@redhat.com>
193
194 PR gdb/20494
195 * gdb.base/new-ui-echo.c: New file.
196 * gdb.base/new-ui-echo.exp: New file.
197
e9d9abd7
YQ
1982016-08-23 Yao Qi <yao.qi@linaro.org>
199
200 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
201 gdbserver_spawn.
202 * gdb.server/connect-without-multi-process.exp (do_test):
203 Likewise.
204
3589529e
YQ
2052016-08-23 Yao Qi <yao.qi@linaro.org>
206
207 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
208 standalone_txt. Delete gdb_txt and standalone_txt on host
209 and target. Spawn the binary on target. Copy files from
210 target to host.
211
6bb90213
PA
2122016-08-22 Pedro Alves <palves@redhat.com>
213
214 PR gdb/20505
215 * gdb.base/vdso-warning.exp: Test core dumps too. Use
216 with_test_prefix. Factor out bits to ...
217 (test_no_vdso): ... this new procedure.
218
20c2c024
CL
2192016-08-19 Carl Love <cel@us.ibm.com>
220
221 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
222 maintaining separate logic for constructing the output path.
223 * gdb.arch/powerpc-d128-regs.exp: Likewise.
224 * gdb.arch/ppc-dfp.exp: Likewise.
225 * gdb.arch/ppc-fp.exp: Likewise.
226 * gdb.arch/vsx-regs.exp: Likewise.
227 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
228 binprefix for generating the additional binary files.
229
0646e07d
PA
2302016-08-19 Pedro Alves <palves@redhat.com>
231
232 * gdb.trace/mi-trace-frame-collected.exp
233 (test_trace_frame_collected): On x32, expect two registers.
234
46da9242
CL
2352016-08-18 Carl Love <cel@us.ibm.com>
236
237 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
238 and sync up the test with tests in gas/testsuite/gas/ppc.
239 * gdb.arch/powerpc-power.exp: Likewise.
240
eb2332d7
SM
2412016-08-17 Simon Marchi <simon.marchi@ericsson.com>
242
243 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
244 expected error message.
245
63c61e04
SM
2462016-08-17 Simon Marchi <simon.marchi@ericsson.com>
247
248 * gdb.multi/remove-inferiors.exp: New file.
249 * gdb.multi/remove-inferiors.c: New file.
250
7b17065f
YQ
2512016-08-12 Yao Qi <yao.qi@linaro.org>
252
253 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
254 argument list.
255
01d3dedf
PA
2562016-08-10 Pedro Alves <palves@redhat.com>
257
258 PR gdb/19187
259 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
260 setup_kfails.
261
3eb7562a
PA
2622016-08-09 Pedro Alves <palves@redhat.com>
263 Simon Marchi <simon.marchi@ericsson.com>
264
265 PR gdb/20418
266 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
267 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
268
80614914
PA
2692016-08-09 Pedro Alves <palves@redhat.com>
270
271 PR mi/20431
272 * gdb.mi/mi-cmd-error.exp: New file.
273
f348d89a
PA
2742016-08-09 Pedro Alves <palves@redhat.com>
275
276 PR gdb/18653
277 * gdb.base/signals-state-child.c: New file.
278 * gdb.base/signals-state-child.exp: New file.
279 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
280
e5ca03b4
PA
2812016-08-09 Pedro Alves <palves@redhat.com>
282
283 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
284
282a0691
TT
2852016-08-03 Tom Tromey <tom@tromey.com>
286
287 PR python/18565:
288 * gdb.python/py-frame-inline.exp: Add Frame.function test.
289
41bfcd63
YQ
2902016-08-01 Yao Qi <yao.qi@linaro.org>
291
292 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
293 variable mode to "multi-process" if $multi_process is 1, otherwise
294 set it to "single-process".
295
e3465b24
YQ
2962016-08-01 Yao Qi <yao.qi@linaro.org>
297
298 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
299 * gdb.cp/cpexprs.exp: Likewise.
300 * gdb.cp/m-static.exp: Likewise.
301
0b31a4bc
TT
3022016-07-26 Tom Tromey <tom@tromey.com>
303
304 PR python/20190:
305 * gdb.threads/tls.exp (check_thread_local): Add python symbol
306 test.
307
e0461dbb
MM
3082016-07-26 Markus Metzger <markus.t.metzger@intel.com>
309
310 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
311 selecting assembly source files.
312 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
313 assembly source files.
314 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
315 assembly source files.
316 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
317 selecting assembly source files.
318
8194e927
SM
3192016-07-25 Simon Marchi <simon.marchi@ericsson.com>
320
321 * gdb.base/new-ui.exp (do_test_invalid_args): New
322 procedure.
323
c0272db5
TW
3242016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
325
326 * gdb.btrace/reconnect.c: New file.
327 * gdb.btrace/reconnect.exp: New file.
328
e3487908
GKB
3292016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
330
331 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
332 to test_catch_syscall_group.
333 (test_catch_syscall_group): New.
334
12df5c00
TT
3352016-07-21 Tom Tromey <tom@tromey.com>
336
337 * gdb.rust/simple.rs (main): Use empty struct expression.
338 * gdb.rust/simple.exp: Add tests for empty struct expression.
339
bae62ee2
YQ
3402016-07-21 Yao Qi <yao.qi@linaro.org>
341
342 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
343 if gdb_skip_xml_test is true on some targets.
344
b1b53fb3
YQ
3452016-07-21 Yao Qi <yao.qi@linaro.org>
346
347 * gdb.server/solib-list.exp: Unset last_loaded_file.
348
027d97f8
JK
3492016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
350
351 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
352 "step into captured_main (args)".
353
7674d381
JK
3542016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
355
356 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
357
72b5d099
JK
3582016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
359
360 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
361
1f960ced
PA
3622016-07-19 Pedro Alves <palves@redhat.com>
363
364 * gdb.opt/inline-break.exp: Remove optimize=-O2.
365 * gdb.opt/inline-bt.exp: Likewise.
366 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
367 additional_flags=-Winline.
368 * gdb.opt/inline-locals.exp: Likewise.
369 * gdb.opt/inline-markers.c (ATTR): Define.
370 (inlined_fn): Use it.
371
f25827c1
YQ
3722016-07-19 Yao Qi <yao.qi@linaro.org>
373
374 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
375 (test_with_self): Remove some code. Remove argument executable.
376 (top-level): Use do_self_tests.
377
37539ebe
DB
3782016-07-15 Zachary Welch <zwelch@codesourcery.com>
379 Don Breazeal <donb@codesourcery.com>
380
381 * gdb.base/maint.exp: Escape paths used in regular expressions.
382 * gdb.stabs/weird.exp: Likewise.
383
dac790e1
TT
3842016-07-13 Tom Tromey <tom@tromey.com>
385
386 PR python/15620, PR python/18620:
387 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
388 (test_bkpt_events): New procs.
389
93daf339
TT
3902016-07-13 Tom Tromey <tom@tromey.com>
391
392 PR python/17698:
393 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
394 test.
395 (test_watchpoints): Likewise.
396 (test_bkpt_pending): New proc.
397
6571a381
TT
3982016-07-13 Tom Tromey <tom@tromey.com>
399
400 PR cli/18053:
401 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
402 completion test.
403
e8732474
JK
4042016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
405
406 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
407 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
408 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
409 f_label.
410 (g): Rename g_end_lbl to g_label.
411 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
412 low_pc and high_pc.
413 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
414
e0f3fd7c
TT
4152016-07-12 Tom Tromey <tom@tromey.com>
416
417 PR python/19293:
418 * gdb.python/py-unwind-maint.exp: Update tests.
419
3cfe46b6
YQ
4202016-07-12 Yao Qi <yao.qi@linaro.org>
421
422 * lib/selftest-support.exp (selftest_setup): Match the output
423 when captured_main is inlined.
424
4f19a0e6
WT
4252016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
426
427 * gdb.fortran/derived-types.exp (result_line, result_line_2):
428 New variables.
429 (print this%a, print this%b, print this): New tests.
430 * gdb.fortran/derived-types.f90 (this): New object and
431 initialization.
432
986cf455
SM
4332016-07-06 Simon Marchi <simon.marchi@ericsson.com>
434
435 * gdb.ada/arraydim.exp: Remove extra directory level in build
436 directory.
437
f0464b23
SM
4382016-07-06 Simon Marchi <simon.marchi@ericsson.com>
439
440 * lib/ada.exp: Remove extra directory level in build directory.
441 * gdb.ada/cond_lang.exp: Likewise.
442 * gdb.ada/exec_changed.exp: Likewise.
443 * gdb.ada/lang_switch.exp: Likewise.
444
42d94011
MG
4452016-07-06 Manish Goregaokar <manish@mozilla.com>
446
447 * simple.rs: Add test for raw pointer subscripting
448 * simple.exp: Add test expectations
449
647c264c
YQ
4502016-07-05 Yao Qi <yao.qi@linaro.org>
451
452 * gdb.mi/mi-reverse.exp: Match =record-started output.
453
20aa2c60
PA
4542016-07-01 Pedro Alves <palves@redhat.com>
455
456 * gdb.base/jit-reader.exp (info_registers_current_frame): New
457 procedure.
458 (jit_reader_test): Test the jit reader's unwinder.
459 * gdb.base/jithost.c (jit_function_00_code): New global.
460 (main): Use memcpy to fill in the mmapped code, instead of poking
461 bytes manually here.
462 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
463 value.
464 (read_debug_info): Save the function's range.
465 (read_sp): New function.
466 (unwind_frame): Use it. Also unwind RBP.
467 (get_frame_id): Use read_sp.
468 (gdb_init_reader): Use calloc instead of malloc.
469 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
470 parameter. Use gdb_test_multiple.
471
ced2dffb
PA
4722016-07-01 Pedro Alves <palves@redhat.com>
473 Antoine Tremblay <antoine.tremblay@ericsson.com>
474
475 * gdb.threads/process-dies-while-detaching.c: New file.
476 * gdb.threads/process-dies-while-detaching.exp: New file.
477
63000888
PA
4782016-07-01 Pedro Alves <palves@redhat.com>
479
480 * gdb.multi/watchpoint-multi-exit.c: New file.
481 * gdb.multi/watchpoint-multi-exit.exp: New file.
482
038d4868
PA
4832016-06-30 Pedro Alves <palves@redhat.com>
484
485 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
486 unset inferior_spawn_id.
487
994e9c83
PA
4882016-06-30 Pedro Alves <palves@redhat.com>
489
490 * lib/mi-support.exp (default_mi_gdb_start): Declare global
491 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
492
e5653468
YQ
4932016-06-29 Yao Qi <yao.qi@linaro.org>
494
495 * gdb.base/return.c: Add copyright header.
496
803b47e5
TT
4972016-06-29 Tom Tromey <tom@tromey.com>
498
499 PR python/20129:
500 * gdb.python/py-framefilter.exp: Add tests for setting priority
501 and disabling of non-existent frame filter.
502
28244707
YQ
5032016-06-29 Yao Qi <yao.qi@linaro.org>
504
505 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
506 0x0f07ff.
507
a31d2f06
YQ
5082016-06-28 Yao Qi <yao.qi@linaro.org>
509
510 * gdb.base/catch-syscall.exp: Remove check on isnative and target
511 triplets. Start gdb, execute catch syscall, and continue. Check
512 gdb's output to determine catch syscall is supported.
513
921d8f54
MG
5142016-06-27 Manish Goregaokar <manish@mozilla.com>
515
25d49b86
PA
516 * gdb.rust/simple.rs: Add test for returning unit in a function.
517 * gdb.rust/simple.exp: Add expectation for functions returning
518 unit.
921d8f54 519
f4952523
PMR
5202016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
521
522 * gdb.python/py-breakpoint-create-fail.c,
523 gdb.python/py-breakpoint-create-fail.exp,
524 gdb.python/py-breakpoint-create-fail.py: New testcase.
525
fccb08f8
MG
5262016-06-25 Manish Goregaokar <manish@mozilla.com>
527
528 PR gdb/20239
529 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
530 * gdb.rust/simple.exp: Add test expectations for new NonZero
531 tests.
fccb08f8 532
6b850546
DT
5332016-06-24 David Taylor <dtaylor@emc.com>
534
535 * gdb.base/offsets.exp: New file.
536 * gdb.base/offsets.c: New file.
537
17621150
TT
5382016-06-23 Tom Tromey <tom@tromey.com>
539
540 PR gdb/16483:
541 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
542 before any filters are loaded.
543
04d59df6
WT
5442016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
545
546 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
547 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
548 structs.
549 * gdb.fortran/derived-type-function.exp: New file.
550 * gdb.fortran/derived-type-function.f90: New file.
551
552
ac69f786
PA
5532016-06-21 Pedro Alves <palves@redhat.com>
554
555 * gdb.base/new-ui.exp: New file.
556 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
557 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
558 (with_spawn_id): New procedure.
559
49940788
PA
5602016-06-21 Pedro Alves <palves@redhat.com>
561
562 * gdb.mi/mi-exec-run.exp: New file.
563
ef274d26
PA
5642016-06-21 Pedro Alves <palves@redhat.com>
565
566 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
567 breakpoint command's output on the main UI.
568 (test_break): New procedure, factored out from calls in the top
569 level.
570 (top level): Use foreach_with_prefix to test MI as main UI and as
571 separate UI.
572
468afe6c
PA
5732016-06-21 Pedro Alves <palves@redhat.com>
574
575 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
576 (test_awatch_creation_and_listing)
577 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
578 Remove 'type' parameter.
579 (test_watchpoint_all): New parameter mi_mode. Remove
580 with_test_prefix.
581 (top level): Use foreach_with_prefix, and add main/separate UI MI
582 testing axis.
583
51f77c37
PA
5842016-06-21 Pedro Alves <palves@redhat.com>
585
586 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
587 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
588 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
589 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
590 (gdb_main_spawn_id, mi_spawn_id): Declare and
591 comment.
592 (mi_create_inferior_pty): New procedure,
593 factored out from default_mi_gdb_start.
594 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
595 procedures.
596 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
597 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
598 Use mi_create_inferior_pty.
599 (mi_gdb_start): Use eval to pass down args list.
600
8980e177
PA
6012016-06-21 Pedro Alves <palves@redhat.com>
602
603 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
604 * gdb.opt/inline-cmds.exp: Add MI tests.
605
f38d3ad1
PA
6062016-06-21 Pedro Alves <palves@redhat.com>
607
608 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
609
45db7c09
PA
6102016-06-21 Pedro Alves <palves@redhat.com>
611
612 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
613 (top level): Use it instead of mi_execute_to.
614
5a069ab3
PA
6152016-06-21 Pedro Alves <palves@redhat.com>
616
617 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
618 (cont_handler_str): New.
619 (signal_stop_handler): Set stop_handler_str instead of printing to
620 stdout.
621 (continue_handler): Set cont_handler_str instead of printing to
622 stdout.
623 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
624 mi_send_resuming_command. Print stop_handler_str and
625 cont_handler_str instead of expecting the python events print
626 directly.
627
2838cc1d
SD
6282016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
629
630 * gdb.base/jit-reader.exp: New file.
631 * gdb.base/jithost.c: New file.
632 * gdb.base/jithost.h: New file.
633 * gdb.base/jitreader.c : New file.
634 * gdb.base/jit-protocol.h: New file.
635
21a77091
YQ
6362016-06-17 Yao Qi <yao.qi@linaro.org>
637
638 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
639 parameters follow_fork and detach_on_fork. Set follow-fork-mode
640 and detach-on-fork. Adjust tests.
641 (top level): Invoke break_cond_on_syscall with combinations of
642 syscall, follow-fork-mode and detach-on-fork.
643
f50bf8e5
YQ
6442016-06-17 Yao Qi <yao.qi@linaro.org>
645
646 * gdb.base/step-over-exit.c: New.
647 * gdb.base/step-over-exit.exp: New.
648
a28d8e50
YTL
6492016-06-17 Yan-Ting Lin <currygt52@gmail.com>
650
651 * gdb.base/float.exp: Add target check for nds32*-*-*.
652 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
653
cad8e26d
AB
6542016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
655
656 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
657 for unsupported target features.
658 * gdb.base/call-rt-st.exp: Likewise.
659 * gdb.base/call-sc.exp: Likewise.
660 * gdb.base/call-signal-resume.exp: Likewise.
661 * gdb.base/call-strs.exp: Likewise.
662 * gdb.base/callexit.exp: Likewise.
663 * gdb.base/callfuncs.exp: Likewise.
664 * gdb.base/nodebug.exp: Likewise.
665 * gdb.base/printcmds.exp: Likewise.
666 * gdb.base/ptype.exp: Likewise.
667 * gdb.base/structs.exp: Likewise.
668 * gdb.base/unwindonsignal.exp: Likewise.
669 * gdb.cp/gdb2495.exp: Likewise.
670 * gdb.cp/templates.exp: Likewise.
671 * gdb.cp/virtfunc.exp: Likewise.
672 * gdb.threads/hand-call-in-threads.exp: Likewise.
673 * gdb.threads/interrupted-hand-call.exp: Likewise.
674 * gdb.threads/thread-unwindonsignal.exp: Likewise.
675
347dc102
TT
6762016-06-10 Tom Tromey <tom@tromey.com>
677
678 PR rust/20110:
679 * gdb.rust/expr.exp: Add test for integer constant larger than
680 i32.
681
5e13cf25
BH
6822016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
683
684 * gdb.fortran/nested-funcs.exp: New.
685 * gdb.fortran/nested-funcs.f90: New.
686
bb556f1f
TK
6872016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
688
689 * gdb.base/examine-backward.c: New file.
690 * gdb.base/examine-backward.exp: New file.
691
38b022b4
SM
6922016-06-06 Simon Marchi <simon.marchi@ericsson.com>
693
694 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
695 matching.
696
1b40ec05
TT
6972016-06-02 Tom Tromey <tom@tromey.com>
698
699 PR python/18984:
700 * gdb.python/py-shared.exp: Add solib_name test.
701
193bd378
SM
7022016-06-02 Simon Marchi <simon.marchi@ericsson.com>
703
704 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
705
3326303b
MG
7062016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
707
708 PR c++/19893
709 * gdb.dwarf2/implref.exp: Rename to...
710 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
711 * gdb.dwarf2/implref-array.c: New file.
712 * gdb.dwarf2/implref-array.exp: Likewise.
713 * gdb.dwarf2/implref-global.c: Likewise.
714 * gdb.dwarf2/implref-global.exp: Likewise.
715 * gdb.dwarf2/implref-struct.c: Likewise.
716 * gdb.dwarf2/implref-struct.exp: Likewise.
717
825c8ef2
AT
7182016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
719
720 * gdb.trace/trace-condition.exp: Add 64bit tests.
721
2320162a
AT
7222016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
723
724 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
725 bits types.
726 (main): Adapt to 8 to 64 bits types.
727 * gdb.trace/trace-condition.exp: Add new tests.
728
a7818233
AT
7292016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
730
731 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
732
0d336466
AT
7332016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
734
735 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
736 Move condition tests...
737 * gdb.trace/trace-condition.exp: Here.
738
7faeb45a
AT
7392016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
740
741 * gdb.trace/trace-condition.exp: Add counter-case tests.
742
e385593e
JK
7432016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
744
745 PR c++/15231
746 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
747 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
748
744608cc
PA
7492016-05-27 Pedro Alves <palves@redhat.com>
750
751 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
752 New procedure.
753 (top level): Call it, and bail out of DejaGnu is known to be bad.
754
ac775bf4
AB
7552016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
756
757 * gdb.base/whatis.c: Extend the test case.
758 * gdb.base/whatis.exp: Add additional tests.
759
2bbad2ea
BH
7602016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
761
762* gdb.fortran/type.f90: Add pointer variable.
763* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
764
8b70175d
BH
7652016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
766
767 * gdb.fortran/vla-type.exp: Fix testcase name.
768
86d8a848
BH
7692016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
770
771 * gdb.fortran/vla-type.exp: Access elements in nested structs.
772
e188eb36
BH
7732016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
774
775 * gdb.fortran/type.f90: Add nested structures.
776 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
777 * gdb.fortran/derived-type.exp: Adapt expected output.
778 * gdb.fortran/vla-type.exp: Adapt expected output.
779
9b2db1fd
BH
7802016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
781
782 * gdb.fortran/whatis_type.exp: Adapt expected output.
783
72b17055
BH
7842016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
785
786 * gdb.fortran/print_type.exp: Fix expected output.
787 * gdb.fortran/whatis_type.exp: Fix expected output.
788
3cd81d8d
BH
7892016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
790
791 * gdb.fortran/whatis_type.exp: Use multi_line.
792
ddae9462
TT
7932016-05-24 Tom Tromey <tom@tromey.com>
794
795 PR python/17386:
796 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
797 use value as an index.
798
1957f6b8
TT
7992016-05-23 Tom Tromey <tom@tromey.com>
800
801 PR python/17981:
802 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
803 no-breakpoint case.
804
026a9174
PA
8052016-05-24 Pedro Alves <palves@redhat.com>
806
807 PR gdb/19828
808 * gdb.threads/clone-attach-detach.c: New file.
809 * gdb.threads/clone-attach-detach.exp: New file.
810
e70a7231
FR
8112016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
812
813 * gdb.base/annota-input-while-running.exp: Fix syntax error.
814
0f6ed0e0
TT
8152016-05-23 Tom Tromey <tom@tromey.com>
816
817 PR python/19438, PR python/18393:
818 * gdb.python/py-progspace.exp: Add "dir" test.
819 * gdb.python/py-objfile.exp: Add "dir" test.
820
ffd19d61
YQ
8212016-05-23 Yao Qi <yao.qi@linaro.org>
822
823 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
824 * gdb.arch/thumb2-it.exp: Likewise.
825
9e8f9b05
SM
8262016-05-18 Simon Marchi <simon.marchi@ericsson.com>
827
828 * gdb.mi/mi-threads-interrupt.c: New file.
829 * gdb.mi/mi-threads-interrupt.exp: New file.
830
61c6156d
SM
8312016-05-17 Simon Marchi <simon.marchi@ericsson.com>
832
833 PR gdb/18077
834 * gdb.mi/mi-async-run.exp: New file.
835 * gdb.mi/mi-async-run.c: New file.
836
67218854
TT
8372016-05-17 Tom Tromey <tom@tromey.com>
838 Manish Goregaokar <manishsmail@gmail.com>
839
840 * lib/rust-support.exp: New file.
841 * lib/gdb.exp (skip_rust_tests): New proc.
842 (build_executable_from_specs): Handle rust.
843 * lib/future.exp (gdb_find_rustc): New proc.
844 (gdb_default_target_compile): Handle rust.
845 * gdb.rust/expr.exp: New file.
846 * gdb.rust/generics.exp: New file.
847 * gdb.rust/generics.rs: New file.
848 * gdb.rust/methods.exp: New file.
849 * gdb.rust/methods.rs: New file.
850 * gdb.rust/modules.exp: New file.
851 * gdb.rust/modules.rs: New file.
852 * gdb.rust/simple.exp: New file.
853 * gdb.rust/simple.rs: New file.
854
c44af4eb
TT
8552016-05-17 Tom Tromey <tom@tromey.com>
856
857 * gdb.base/default.exp (set language): Add rust.
858
dcd1f979
TT
8592016-05-17 Tom Tromey <tom@tromey.com>
860
861 * gdb.gdb/unittest.exp: New file.
862
155b7f57
YQ
8632016-05-16 Yao Qi <yao.qi@linaro.org>
864
865 * gdb.base/batch-preserve-term-settings.exp: Remove variable
866 shell_prompt. Update shell_prompt_re.
867
8ddd5a6c
DE
8682016-05-12 Doug Evans <dje@google.com>
869
870 PR symtab/19999
871 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
872 $options when building executable.
873 * gdb.dwarf2/fission-loclists-pie.S: New file.
874 * gdb.dwarf2/fission-loclists-pie.exp: New file.
875
02e370d9
SM
8762016-05-04 Simon Marchi <simon.marchi@ericsson.com>
877
878 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
879 of [is_remote target],
880
8929ad8b
SM
8812016-05-04 Simon Marchi <simon.marchi@ericsson.com>
882
883 * lib/gdb.exp (use_gdb_stub): New procedure.
884
6c447423
DE
8852016-05-03 Yunlian Jiang <yunlian@google.com>
886 Doug Evans <dje@google.com>
887
888 PR symtab/19914
889 * gdb.dwarf2/dwp-sepdebug.c: New file.
890 * gdb.dwarf2/dwp-sepdebug.exp: New file.
891
444e826c
SM
8922016-05-02 Simon Marchi <simon.marchi@ericsson.com>
893
894 * gdb.base/detach.exp: Remove is_remote check.
895
740feeaa
SM
8962016-05-02 Simon Marchi <simon.marchi@ericsson.com>
897
898 * gdb.base/annota-input-while-running.exp: Don't check for
899 [is_remote target]. Enable annotations after running to main.
900 Remove unused "set test..." line.
901
9080ac9d
SM
9022016-04-28 Simon Marchi <simon.marchi@ericsson.com>
903
904 * gdb.trace/trace-enable-disable.exp: New file.
905 * gdb.trace/trace-enable-disable.c: New file.
906
952ebca5
SM
9072016-04-28 Simon Marchi <simon.marchi@ericsson.com>
908
909 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
910 use it in info sharedlibrary test.
911 * gdb.trace/ftrace-lock.exp: Likewise.
912 * gdb.trace/ftrace.exp: Likewise.
913 * gdb.trace/range-stepping.exp: Likewise.
914 * gdb.trace/trace-break.exp: Likewise.
915 * gdb.trace/trace-condition.exp: Likewise.
916 * gdb.trace/trace-mt.exp: Likewise.
917
d9019901
SM
9182016-04-27 Simon Marchi <simon.marchi@ericsson.com>
919
920 * lib/gdb.exp (gdb_load_shlibs): Rename to...
921 (gdb_load_shlib): ... this.
922 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
923 gdb_load_shlib.
924 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
925 * gdb.base/ctxobj.exp: Likewise.
926 * gdb.base/dprintf-pending.exp: Likewise.
927 * gdb.base/dso2dso.exp: Likewise.
928 * gdb.base/fixsection.exp: Likewise.
929 * gdb.base/gcore-relro.exp: Likewise.
930 * gdb.base/gdb1555.exp: Likewise.
931 * gdb.base/global-var-nested-by-dso.exp: Likewise.
932 * gdb.base/gnu-ifunc.exp: Likewise.
933 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
934 * gdb.base/jit-so.exp (one_jit_test): Likewise.
935 * gdb.base/pending.exp: Likewise.
936 * gdb.base/print-file-var.exp: Likewise.
937 * gdb.base/print-symbol-loading.exp: Likewise.
938 * gdb.base/shlib-call.exp: Likewise.
939 * gdb.base/shreloc.exp: Likewise.
940 * gdb.base/so-impl-ld.exp: Likewise.
941 * gdb.base/solib-disc.exp: Likewise.
942 * gdb.base/solib-nodir.exp: Likewise.
943 * gdb.base/solib-overlap.exp: Likewise.
944 * gdb.base/solib-symbol.exp: Likewise.
945 * gdb.base/solib-weak.exp (do_test): Likewise.
946 * gdb.base/sym-file.exp: Likewise.
947 * gdb.base/symtab-search-order.exp: Likewise.
948 * gdb.base/type-opaque.exp: Likewise.
949 * gdb.base/unload.exp: Likewise.
950 * gdb.base/watchpoint-solib.exp: Likewise.
951 * gdb.compile/compile.exp: Likewise.
952 * gdb.cp/gdb2384.exp: Likewise.
953 * gdb.cp/infcall-dlopen.exp: Likewise.
954 * gdb.cp/re-set-overloaded.exp: Likewise.
955 * gdb.fortran/library-module.exp: Likewise.
956 * gdb.opt/solib-intra-step.exp: Likewise.
957 * gdb.python/py-finish-breakpoint.exp: Likewise.
958 * gdb.python/py-shared.exp: Likewise.
959 * gdb.reverse/solib-precsave.exp: Likewise.
960 * gdb.reverse/solib-reverse.exp: Likewise.
961 * gdb.server/solib-list.exp: Likewise.
962 * gdb.threads/dlopen-libpthread.exp: Likewise.
963 * gdb.threads/tls-shared.exp: Likewise.
964 * gdb.threads/tls-so_extern.exp: Likewise.
965 * gdb.trace/change-loc.exp: Likewise.
966 * gdb.trace/ftrace-lock.exp: Likewise.
967 * gdb.trace/ftrace.exp: Likewise.
968 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
969 * gdb.trace/pending.exp: Likewise.
970 * gdb.trace/range-stepping.exp: Likewise.
971 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
972 (strace_info_marker): Likewise.
973 (strace_probe_marker): Likewise.
974 (strace_trace_on_same_addr): Likewise.
975 (strace_trace_on_diff_addr): Likewise.
976 * gdb.trace/trace-break.exp: Likewise.
977 * gdb.trace/trace-condition.exp: Likewise.
978 * gdb.trace/trace-mt.exp: Likewise.
979
fca4cfd9
SM
9802016-04-27 Simon Marchi <simon.marchi@ericsson.com>
981
982 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
983 result of gdb_remote_download.
984 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
985 * gdb.base/dso2dso.exp: Likewise.
986 * gdb.base/global-var-nested-by-dso.exp: Likewise.
987 * gdb.base/print-file-var.exp: Likewise.
988 * gdb.base/shlib-call.exp: Likewise.
989 * gdb.base/shreloc.exp: Likewise.
990 * gdb.base/solib-overlap.exp: Likewise.
991 * gdb.base/solib-weak.exp (do_test): Likewise.
992 * gdb.base/unload.exp: Likewise.
993
11cf4ffb
YQ
9942016-04-27 Yao Qi <yao.qi@linaro.org>
995
996 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
997 exists.
998
3e2e34f8
KB
9992016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1000
1001 * vla-type.exp: Print structure from toplevel.
1002
8f07e298
BH
10032016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1004
1005 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
1006 of dynamic types.
1007 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
1008 of dynamic types.
1009
9920b434
BH
10102016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1011
1012 * gdb.fortran/vla-type.f90: New file.
1013 * gdb.fortran/vla-type.exp: New file.
1014
f3abeff5
YQ
10152016-04-25 Yao Qi <yao.qi@linaro.org>
1016
1017 * gdb.base/branch-to-self.c: New file.
1018 * gdb.base/branch-to-self.exp: New file.
1019
0a5d52f0
YQ
10202016-04-22 Yao Qi <yao.qi@linaro.org>
1021
1022 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
1023 more after $hex.
1024
495346f6
YQ
10252016-04-22 Yao Qi <yao.qi@linaro.org>
1026
1027 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
1028 * gdb.base/annota3.exp: Likewise.
1029
4a7e075c
YQ
10302016-04-22 Yao Qi <yao.qi@linaro.org>
1031
1032 * gdb.reverse/step-precsave.exp: Do one step and test program
1033 stops in "callee" and do multiple steps until program goes out
1034 of "callee".
1035 * gdb.reverse/step-reverse.exp: Likewise.
1036
5b061e98
YQ
10372016-04-22 Yao Qi <yao.qi@linaro.org>
1038
1039 * gdb.trace/signal.exp: Also pass if
1040 $tracepoint_hits($i) > $iterations.
1041
5c5dc57f
YQ
10422016-04-22 Yao Qi <yao.qi@linaro.org>
1043
1044 * gdb.trace/signal.c: New file.
1045 * gdb.trace/signal.exp: New file.
1046
a55411b9
DE
10472016-04-19 Doug Evans <xdje42@gmail.com>
1048
1049 * gdb.base/bad-file.exp: New file.
1050
a22df60a
MG
10512016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
1052
1053 * gdb.dwarf2/implref.exp: New file.
1054
0c13f7e5
BH
10552016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1056
1057 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
1058 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
1059 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
1060 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
1061 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
1062 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
1063 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
1064 * lib/fortran.exp (fortran_int4): New procedure.
1065 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
1066 (fortran_logical4): Likewise.
1067
9b9b09e9
BH
10682016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
1069
1070 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
1071
a14d1f4d
BH
10722016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1073
1074 * lib/compiler.c: Add Intel specific preprocessor macros.
1075 * lib/compiler.cc: Likewise.
25d49b86 1076
7d49b1d0
LM
10772016-04-13 Luis Machado <lgustavo@codesourcery.com>
1078
1079 * gdb.server/connect-with-no-symbol-file.c: New file.
1080 * gdb.server/connect-with-no-symbol-file.exp: New file.
1081
8392fa22
SM
10822016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1083
1084 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
1085
8c4c4aeb
SM
10862016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1087
1088 * boards/gdbserver-base.exp (${board}_download): Copy source file to
1089 standard output directory.
1090
45e3745e
AT
10912016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
1092
1093 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
1094
e26b7e41
MM
10952016-04-13 Markus Metzger <markus.t.metzger@intel.com>
1096
1097 * gdb.btrace/instruction_history.c (loop): Add declaration.
1098
8ce09462
AT
10992016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1100
1101 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
1102
2e88a1ea
SM
11032016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
1104
1105 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
1106 parentheses to print.
1107 (continue_handler): Likewise.
1108
f48e22e3
SM
11092016-04-08 Simon Marchi <simon.marchi@ericsson.com>
1110
1111 * gdb.server/solib-list.exp: Remove is_remote check.
1112 Pass shlib= to gdb_compile. Don't link shared library with
1113 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
1114 Run binary filename through "readlink -f" on the target.
1115
096be756
PA
11162016-04-08 Pedro Alves <palves@redhat.com>
1117
1118 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
1119 interpreter filename as argument to gdbserver_spawn.
1120 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1121 Return empty if $last_loaded_file does not exist.
1122
06500533
JK
11232016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1124
1125 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
1126 * gdb.base/jit-main.c: Use exit after usage.
1127
2d35e871
JK
11282016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1129
1130 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
1131 GDBHISTSIZE prior to the tests.
1132 * gdb.base/gdbinit-history.exp: Likewise.
1133
11342016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
1135
1136 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
1137 instead of build_executable. Use gdb_load_shlibs.
1138
c8064e7e
YQ
11392016-04-07 Yao Qi <yao.qi@linaro.org>
1140
1141 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
1142 Execute "si" command.
1143
bde47561
YQ
11442016-04-07 Yao Qi <yao.qi@linaro.org>
1145
1146 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
1147 number instead of the comments on some line.
1148
b16f8a3b
DB
11492016-04-06 Don Breazeal <donb@codesourcery.com>
1150
1151 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
1152 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
1153
c2f901df
SM
11542016-04-06 Simon Marchi <simon.marchi@ericsson.com>
1155
1156 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
1157 standard_output_file. Remove unused binfile variable.
1158
ac17fda0
CU
11592016-04-05 Catalin Udma <catalin.udma@freescale.com>
1160
1161 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
1162 * gdb.python/py-mi-objfile.exp: Match "list main" output
1163 in console format.
1164
03a8c4df
SM
11652016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
1166
1167 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
1168 absolute.
1169
6e774b13
SM
11702016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1171
1172 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
1173 absolute.
1174 * gdb.trace/ftrace.exp: Likewise.
1175 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
1176 targets as well.
1177 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
1178 (gdb_load_shlibs): Copy libraries to test directory when testing
1179 natively. Only set solib-search-path if testing remotely.
1180 * lib/mi-support.exp (mi_load_shlibs): Likewise.
1181
7817ea46
SM
11822016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1183
1184 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
1185 gdb_download. Use it even if the target is not remote.
1186 * gdb.base/jit.exp (compile_jit_test): Likewise.
1187 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
1188 output directory if the destination board is local, otherwise use
1189 the standard remote_download from DejaGnu.
1190 (gdb_download): Remove.
1191 (gdb_load_shlibs): Use gdb_remote_download instead of
1192 gdb_download.
1193 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1194 Use gdb_remote_download instead of gdb_download. Use it even if
1195 the target is not remote.
1196 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
1197 instead of gdb_download.
1198
7beb7f68
SM
11992016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
1200
1201 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
1202 (test_insert_delete_modify): Call mi_load_shlibs before trying to
1203 run.
1204
cc63428a
AV
12052016-04-01 Artemiy Volkov <artemiyv@acm.org>
1206
1207 PR gdb/19820
1208 * gdb.base/printcmds.exp: Add artificial arrays tests.
1209
64cdf930
PA
12102016-03-31 Pedro Alves <palves@redhat.com>
1211
1212 PR gdb/19858
1213 * gdb.base/jit-main.c: Include unistd.h.
1214 (ATTACH): Define to 0 if not already defined.
1215 (wait_for_gdb, mypid): New globals.
1216 (WAIT_FOR_GDB): New macro.
1217 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1218 some breakpoint locations.
1219 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1220 New procedures.
1221 (one_jit_test): Add REATTACH parameter, and handle it. Use
1222 continue_to_test_location.
1223 (top level): Test attach, and adjusts calls to one_jit_test.
1224
40dea8cb
PA
12252016-03-31 Pedro Alves <palves@redhat.com>
1226
1227 PR gdb/19858
1228 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1229 BINSUFFIX parameter, and handle it.
1230 (top level): Adjust calls compile_jit_test.
1231
e7ea3ec7
CU
12322016-03-31 Catalin Udma <catalin.udma@freescale.com>
1233
1234 PR python/19743
1235 * gdb.python/py-mi-events-gdb.py: New file.
1236 * gdb.python/py-mi-events.c: New file.
1237 * gdb.python/py-mi-events.exp: New file.
1238
e6359af3
YQ
12392016-03-30 Yao Qi <yao.qi@linaro.org>
1240
1241 * gdb.reverse/until-precsave.exp: Match function name only.
1242 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1243 Move malloc to a condition block.
1244 * gdb.reverse/until-reverse.exp: Match function name only.
1245
a4105d04
MK
12462016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1247
1248 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1249 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1250 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1251 variable for GPR 0 instead of assuming it is register 0.
1252 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1253 * lib/trace-support.exp: Add s390 registers.
1254
bfa6adb9
YQ
12552016-03-29 Yao Qi <yao.qi@linaro.org>
1256
1257 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1258
1e6697ea
YQ
12592016-03-24 Yao Qi <yao.qi@linaro.org>
1260
1261 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1262 test message.
1263
64bcd522
AA
12642016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1265
1266 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1267 maintaining separate logic for constructing the output path.
1268
7868401b
DB
12692016-03-16 Don Breazeal <donb@codesourcery.com>
1270
1271 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1272 Retry fork and waitpid on interrupted system call errors.
1273 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1274 Use with_timeout_factor to increase timeout by factor of 10.
1275
1cafadb4
DB
12762016-03-15 Don Breazeal <donb@codesourcery.com>
1277
1278 * gdb.cp/scope-err.cc: New test program.
1279 * gdb.cp/scope-err.exp: New test script.
1280 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1281 lines and "set breakpoint here" comment.
1282 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1283 Fixed some whitespace and format issues.
1284 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1285 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1286
81516450
DE
12872016-03-15 Doug Evans <dje@google.com>
1288
1289 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1290 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1291 All callers updated. Add tests for enums, mixed flags register.
1292
aa52b601
DE
12932016-03-15 Doug Evans <dje@google.com>
1294
1295 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1296 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1297
fa4ff313
SM
12982016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1299
1300 * gdb.base/default.exp: Add $_as_string to the list of expected
1301 convenience functions.
1302
f2403c39
AB
13032016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1304
1305 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1306
f2f3ccb9
SM
13072016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1308
1309 * gdb.python/py-as-string.exp: New file.
1310 * gdb.python/py-as-string.c: New file.
1311
00dbd492
PA
13122016-03-09 Pedro Alves <palves@redhat.com>
1313
1314 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1315 signal" -> "Thread NN received signal" output change.
1316 * gdb.threads/ia64-sigill.exp: Likewise.
1317 * gdb.threads/linux-dp.exp: Likewise.
1318 * gdb.threads/manythreads.exp: Likewise.
1319 * gdb.threads/pending-step.exp: Likewise.
1320 * gdb.threads/print-threads.exp: Likewise.
1321 * gdb.threads/sigstep-threads.exp: Likewise.
1322 * gdb.threads/staticthreads.exp: Likewise.
1323 * gdb.threads/tls.exp: Likewise.
1324
1e6697ea
YQ
13252016-03-09 Pedro Alves <palves@redhat.com>
1326
1327 * gdb.base/command-line-input.exp: New file.
1328
b04fd3be
MK
13292016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1330
1331 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1332 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1333 * gdb.trace/pending.exp: Accept leading dot before function name.
1334 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1335 * lib/trace-support.exp: Set registers for ppc.
1336
98fa59e9
MK
13372016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1338
1339 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1340 use it for disassembly; accept .main in addition to main in backtrace.
1341
f77198c8
MK
13422016-03-09 Wei-cheng Wang <cole945@gmail.com>
1343 Marcin Kościelnicki <koriakin@0x04.net>
1344
1345 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1346 (gdb_recursion_test_ptr): New global variable.
1347 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1348 gdb_recursion_test.
1349 (gdb_c_test): Ditto.
1350
ba84e0da
MK
13512016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1352
1353 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1354 ordering.
1355
4366d36e
MK
13562016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1357
1358 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1359 (bar): Add bar_start_lbl label.
1360 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1361 of foo/bar for emitting DWARF and tracing.
1362
5eb264df
SDJ
13632016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1364
1365 * analyze-racy-logs.py: Set executable bit.
1366
fb6a751f
SDJ
13672016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1368
1369 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1370 (CHECK_TARGET_TMP): Likewise.
1371 (check-single-racy): New rule.
1372 (check-parallel-racy): Likewise.
1373 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1374 (do-check-parallel-racy): New rule.
1375 (check-racy/%.exp): Likewise.
1376 * README (Racy testcases): New section.
1377 * analyze-racy-logs.py: New file.
1378
bdf7e230
DE
13792016-03-03 Doug Evans <dje@google.com>
1380
1381 * gdb.base/skip.exp: Use with_test_prefix.
1382
4719d415
YQ
13832016-03-03 Yao Qi <yao.qi@linaro.org>
1384
1385 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1386 Invoke step_over_syscall "clone" and break_cond_on_syscall
1387 "clone".
1388 * gdb.base/step-over-clone.c: New file.
1389
ea507862
YQ
13902016-03-03 Yao Qi <yao.qi@linaro.org>
1391
1392 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1393 code format.
1394
8fc8cbda
YQ
13952016-03-03 Yao Qi <yao.qi@linaro.org>
1396
1397 * gdb.base/disp-step-fork.c: Rename to ...
1398 * gdb.base/step-over-fork.c: ... it. New file.
1399 * gdb.base/disp-step-vfork.c: Rename to ...
1400 * gdb.base/step-over-vfork.c: ... it. New file.
1401 * gdb.base/disp-step-syscall.exp: Rename to ...
1402 * gdb.base/step-over-syscall.exp: ... it. New file.
1403 (disp_step_cross_syscall): Rename to ...
1404 (step_over_syscall): ... it.
1405
92fa70b0
YQ
14062016-03-03 Yao Qi <yao.qi@linaro.org>
1407
1408 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1409 If target supports condition evaluation on target, invoke
1410 break_cond_on_syscall for fork and vfork.
1411
e197ad3c
YQ
14122016-03-03 Yao Qi <yao.qi@linaro.org>
1413
1414 * gdb.base/disp-step-syscall.exp: Don't invoke
1415 support_displaced_stepping.
1416 (disp_step_cross_syscall): Test with displaced stepping off and
1417 on if supported.
1418
0b47da9f
YQ
14192016-03-03 Yao Qi <yao.qi@linaro.org>
1420
1421 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1422 proc.
1423 (setup): New proc.
1424 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1425 and setup.
1426
065ab6dc
BH
14272016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1428
1429 * gdb.fortran/vla-history.exp: Remove breakpoint.
1430
07e448ad 14312016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1432
25d49b86
PA
1433 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1434 exceeds timeout.
07e448ad 1435
9ac2d526 14362016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1437
25d49b86
PA
1438 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1439 breakpoint.
9ac2d526 1440
17807369
BH
14412016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1442
1443 * gdb.mi/vla.f90: Nullify pointer after declaration.
1444
86e501af
PA
14452016-03-01 Pedro Alves <palves@redhat.com>
1446
1447 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1448
1e903e32
PA
14492016-03-01 Pedro Alves <palves@redhat.com>
1450
1451 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1452 before anything else.
1453 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1454 _GNU_SOURCE here.
1455 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1456 before anything else.
1457 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1458
6ccb54e2
PA
14592016-03-01 Pedro Alves <palves@redhat.com>
1460
1461 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1462
30ca9da1
YQ
14632016-03-01 Yao Qi <yao.qi@linaro.org>
1464
1465 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1466 prepare_for_testing.
1467
dc856b38
YQ
14682016-03-01 Yao Qi <yao.qi@linaro.org>
1469
1470 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1471
4a932159
AA
14722016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1473
1474 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1475 manually constructing the output path.
1476
f2489477
AA
14772016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1478
1479 * gdb.arch/s390-stackless.S: New.
1480 * gdb.arch/s390-stackless.exp: New.
1481
38899f16
IB
14822016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1483
1484 * gdb.dlang/circular.c: New file.
1485 * gdb.dlang/circular.exp: New file.
1486
9fde51ed
YQ
14872016-02-26 Yao Qi <yao.qi@linaro.org>
1488
1489 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1490 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1491 (testcases): Update.
1492
ce90fefe
YQ
14932016-02-26 Yao Qi <yao.qi@linaro.org>
1494
1495 * gdb.reverse/aarch64.c: Rename to ...
1496 * gdb.reverse/insn-reverse.c: ... it.
1497 * gdb.reverse/aarch64.exp: Rename to ...
1498 * gdb.reverse/insn-reverse.exp: ... it.
1499
3263bceb
YQ
15002016-02-26 Yao Qi <yao.qi@linaro.org>
1501
1502 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1503 (testcase_ftype): New.
1504 (testcases): New array.
1505 (n_testcases): New.
1506 (main): Call each element in testcases.
1507 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1508 (read_testcase): New.
1509 Do the tests in a loop.
1510
6cb59ff1
YQ
15112016-02-25 Yao Qi <yao.qi@linaro.org>
1512
1513 * gdb.base/branches.c: Remove.
1514
ae91f625
MK
15152016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1516
1517 PR gdb/13808
1518 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1519
678b48b7
MK
15202016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1521
1522 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1523
7337a6f2
MK
15242016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1525
1526 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1527 change x86_64 call_insn to 'callq'.
1528
861ca91f
AT
15292016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1530
1531 * gdb.trace/tfile-avx.c: Move to...
1532 * gdb.trace/tracefile-pseudo-reg.c: Here.
1533 * gdb.trace/tfile-avx.exp: Move to...
1534 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1535
bf74e428
GB
15362016-02-24 Gary Benson <gbenson@redhat.com>
1537
1538 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1539 message on attach.
1540
cce0e923
DE
15412016-02-23 Doug Evans <dje@google.com>
1542
1543 * gdb.base/skip.c (test_skip): New function.
1544 (end_test_skip_file_and_function): New function.
1545 (test_skip_file_and_function): New function.
1546 * gdb.base/skip1.c (test_skip): New function.
1547 (skip1_test_skip_file_and_function): New function.
1548 * gdb.base/skip.exp: Add tests for new skip options.
1549 * gdb.base/skip-solib.exp: Update expected output.
1550 * gdb.perf/skip-command.cc: New file.
1551 * gdb.perf/skip-command.exp: New file.
1552 * gdb.perf/skip-command.py: New file.
1553
4000e47e
MK
15542016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1555
1556 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1557 info registers pattern.
1558
24f75ead
IB
15592016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1560
1561 * lib/future.exp: Add D support.
1562 (gdb_find_gdc): New proc.
1563 (gdb_default_target_compile): Add D support.
1564
fbb7bcbe
WW
15652016-02-18 Wei-cheng Wang <cole945@gmail.com>
1566
1567 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1568 user+system time.
1569 (trace_speed_test): Determine the iteration count for a time
1570 between 15..30 seconds.
1571
012b3a21
WT
15722016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1573
1574 * gdb.arch/i386-mpx-sigsegv.c: New file.
1575 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1576 * gdb.arch/i386-mpx-simple_segv.c: New file.
1577 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1578
2d5189bd
YQ
15792016-02-18 Yao Qi <yao.qi@linaro.org>
1580
1581 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1582 Don't call setup_kfail.
1583
40fb20d0
YQ
15842016-02-18 Yao Qi <yao.qi@linaro.org>
1585
1586 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1587 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1588
21b1f8d2
DE
15892016-02-16 Doug Evans <dje@google.com>
1590
1591 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1592 * gdb.base/skip1.c: Ditto.
1593 * gdb.base/skip.exp: Whitespace cleanup.
1594
4041ed77
DB
15952016-02-16 Don Breazeal <donb@codesourcery.com>
1596
1597 PR remote/19496
1598 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1599 Remove kfail for PR remote/19496.
1600
c4ef31bf
SM
16012016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1602
1603 * lib/gdb.exp (standard_temp_file): Return a path specific to
1604 the runtest invocation.
1605
266b65b3
SM
16062016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1607
1608 * gdb.trace/save-trace.exp: Change relative path to be in the
1609 standard output directory.
1610
a7a0a6a9
JK
16112016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1612
1613 * gdb.arch/i386-prologue.c: Add missing prototypes.
1614
c99dbb42
JK
16152016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1616
1617 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1618 * gdb.arch/i386-prologue.exp: Likewise.
1619 * gdb.arch/i386-size.exp: Likewise.
1620
aa480355
SM
16212016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1622
1623 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1624 define object file path.
1625 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1626 file path.
1627 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1628 standard_output_file to define binfile.
1629
ba881f50
JK
16302016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1631
1632 Fix compatibility with recent gfortran-5.3.1.
1633 * gdb.fortran/vla-history.exp (print vla1 allocated)
1634 (print vla2 allocated, print $2, print $3): Remove
1635 (print $4): Rename to ...
1636 (print $2): ... here.
1637 (print $9): Rename to ...
1638 (print $5): ... here.
1639 (print $10): Rename to ...
1640 (print $6): ... here.
1641 * gdb.fortran/vla.f90: Add pvla initialization.
1642
e9fb005c
JK
16432016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1644
1645 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1646 New test.
1647 * gdb.fortran/vla-value-sub.exp: Likewise.
1648
e44e00ff
MK
16492016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1650
1651 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1652
97e94151
SM
16532016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1654
1655 * i386-biarch-core.exp: Define corefile using
1656 standard_output_file.
1657
01113bc1
YQ
16582016-02-12 Yao Qi <yao.qi@linaro.org>
1659
1660 * gdb.arch/arm-single-step-kernel-helper.c: New.
1661 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1662
33b4777c
MM
16632016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1664
1665 * gdb.btrace/tailcall-only.exp: New.
1666 * gdb.btrace/tailcall-only.c: New.
1667 * gdb.btrace/x86_64-tailcall-only.S: New.
1668 * gdb.btrace/i686-tailcall-only.S: New.
1669
acc23c11
PA
16702016-02-11 Pedro Alves <palves@redhat.com>
1671
1672 * README (Parallel testing): Add missing double quotes.
1673
e352bf0a
PA
16742016-02-11 Pedro Alves <palves@redhat.com>
1675
1676 * README (Parallel testing): New section.
1677 (GDB_PARALLEL): Rewrite.
1678 (FORCE_PARALLEL): Document.
1679
9f5fed78
MK
16802016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1681
1682 * gdb.trace/tfile-avx.c: New test.
1683 * gdb.trace/tfile-avx.exp: New test.
1684
9ef9e6a6
KS
16852016-02-09 Keith Seitz <keiths@redhat.com>
1686
1687 PR breakpoints/19546
1688 * gdb.base/infcall-exec.c: New file.
1689 * gdb.base/infcall-exec2.c: New file.
1690 * gdb.base/infcall-exec.exp: New file.
1691
a96e36da
KS
16922016-02-09 Keith Seitz <keiths@redhat.com>
1693
1694 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1695 (toplevel): Call test_bkpt_address.
1696
9f61929f
KS
16972016-02-09 Keith Seitz <keiths@redhat.com>
1698
1699 PR python/19506
1700 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1701 (toplevel): Call test_bkpt_address.
1702
1e94266c
SM
17032016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1704
1705 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1706 to AC_OUTPUT.
1707 * configure: Regenerate.
1708
2a7f3dff
PA
17092016-02-09 Pedro Alves <palves@redhat.com>
1710
1711 PR breakpoints/19548
1712 * gdb.base/execl-update-breakpoints.c (some_function): New
1713 function.
1714 (main): Call it.
1715 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1716 Tighten expected GDB output.
1717
2151ccc5
SM
17182016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1719
1720 * Makefile.in (ALL_SUBDIRS): Remove.
1721 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1722 (distclean maintainer-clean realclean): Likewise.
1723 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1724 * configure: Regenerate.
1725 * gdb.ada/Makefile.in: Delete.
1726 * gdb.arch/Makefile.in: Likewise.
1727 * gdb.asm/Makefile.in: Likewise.
1728 * gdb.base/Makefile.in: Likewise.
1729 * gdb.btrace/Makefile.in: Likewise.
1730 * gdb.cell/Makefile.in: Likewise.
1731 * gdb.compile/Makefile.in: Likewise.
1732 * gdb.cp/Makefile.in: Likewise.
1733 * gdb.disasm/Makefile.in: Likewise.
1734 * gdb.dlang/Makefile.in: Likewise.
1735 * gdb.dwarf2/Makefile.in: Likewise.
1736 * gdb.fortran/Makefile.in: Likewise.
1737 * gdb.gdb/Makefile.in: Likewise.
1738 * gdb.go/Makefile.in: Likewise.
1739 * gdb.guile/Makefile.in: Likewise.
1740 * gdb.java/Makefile.in: Likewise.
1741 * gdb.linespec/Makefile.in: Likewise.
1742 * gdb.mi/Makefile.in: Likewise.
1743 * gdb.modula2/Makefile.in: Likewise.
1744 * gdb.multi/Makefile.in: Likewise.
1745 * gdb.objc/Makefile.in: Likewise.
1746 * gdb.opencl/Makefile.in: Likewise.
1747 * gdb.opt/Makefile.in: Likewise.
1748 * gdb.pascal/Makefile.in: Likewise.
1749 * gdb.perf/Makefile.in: Likewise.
1750 * gdb.python/Makefile.in: Likewise.
1751 * gdb.reverse/Makefile.in: Likewise.
1752 * gdb.server/Makefile.in: Likewise.
1753 * gdb.stabs/Makefile.in: Likewise.
1754 * gdb.threads/Makefile.in: Likewise.
1755 * gdb.trace/Makefile.in: Likewise.
1756 * gdb.xml/Makefile.in: Likewise.
1757 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1758 GDB_PARALLEL.
1759 (standard_output_file): Remove check for GDB_PARALLEL, always
1760 return path in outputs/$subdir/$testname.
1761
437277d4
SM
17622016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1763
1764 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1765 (site.exp): Assign abs_srcdir to tcl's srcdir.
1766
31d913c7
YQ
17672016-02-04 Yao Qi <yao.qi@linaro.org>
1768
1769 * gdb.base/foll-exec-mode.c: Include limits.h.
1770 (main): Add parameters argc and argv. Get directory from
1771 argv[0].
1772 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1773 compilation.
1774 * gdb.base/foll-exec.c: Include limits.h.
1775 (main): Add parameters argc and argv.
1776 Get directory from argv[0].
1777 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1778 Adjust tests on the number of lines as source code changed.
1779 * gdb.base/foll-vfork-exit.c: Include limits.h.
1780 (main): Add one line of statement before vfork.
1781 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1782 (main): Add parameters argc and argv. Get directory from
1783 argv[0].
1784 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1785 (setup_gdb): Set tbreak to skip some source lines.
1786 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1787 (main): Add parameters argc and argv. Get directory from
1788 argv[0].
1789 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1790 compilation.
1791 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1792 (main): Add parameters argc and argv. Get directory from
1793 argv[0].
1794 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1795 compilation.
1796
9482b9fb
DE
17972016-02-01 Doug Evans <dje@google.com>
1798
1799 * gdb.base/skip.exp: Clean up multiple references to same test name.
1800
6b2e4f10
PA
18012016-02-01 Pedro Alves <palves@redhat.com>
1802
ccb6afd6 1803 PR remote/19496
6b2e4f10
PA
1804 * gdb.threads/forking-threads-plus-breakpoint.exp
1805 (displaced_stepping_supported): New global.
1806 (probe_displaced_stepping_support): New procedure.
1807 (do_test): Add 'displaced' parameter, and use it.
1808 (top level): Check for displaced stepping support. Add displaced
1809 stepping on/off testing axis.
1810
37a8db1a
AB
18112016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1812
1813 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1814 pointer. Don't perform further tests on the unassociated pointer
1815 if the first test fails.
1816
5fdf6324
AB
18172016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1818
1819 * gdb.base/max-value-size.c: New file.
1820 * gdb.base/max-value-size.exp: New file.
1821 * gdb.base/huge.exp: Disable max-value-size for this test.
1822
935c6144
IB
18232016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1824
1825 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1826
7fe8399d
YQ
18272016-01-28 Yao Qi <yao.qi@linaro.org>
1828
1829 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1830
a2077e25
PA
18312016-01-25 Pedro Alves <palves@redhat.com>
1832
1833 PR threads/19461
1834 * gdb.base/fork-running-state.c: New file.
1835 * gdb.base/fork-running-state.exp: New file.
1836
1d2736d4
PA
18372016-01-25 Pedro Alves <palves@redhat.com>
1838
1839 PR gdb/19494
1840 * gdb.base/catch-fork-kill.c: New file.
1841 * gdb.base/catch-fork-kill.exp: New file.
1842
f1da4b11
PA
18432016-01-25 Pedro Alves <palves@redhat.com>
1844
1845 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1846 Delete, moved to lib/gdb.exp.
1847 * gdb.threads/forking-threads-plus-breakpoint.exp
1848 (foreach_with_prefix): Likewise.
1849 * gdb.threads/process-dies-while-handling-bp.exp
1850 (foreach_with_prefix): Likewise.
1851 * lib/gdb.exp (foreach_with_prefix): New procedure.
1852
45f38546
MK
18532016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1854
1855 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1856 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1857
dc29a1ce
MK
18582016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1859
1860 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1861 endian targets.
1862
092127d7
JK
18632016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1864 Pedro Alves <palves@redhat.com>
1865
1866 Fix testsuite compatibility with Guile.
1867 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1868 number.
1869
31d765d3
JK
18702016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1871
1872 Fix testsuite compatibility with Guile.
1873 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1874 (thread 1): New test for backtrace through signal handler.
1875
1ac78c04
YQ
18762016-01-22 Yao Qi <yao.qi@linaro.org>
1877
1878 PR testsuite/19491
1879 * gdb.base/multi-forks.c: Include
1880 ../lib/unbuffer_output.c
1881 (main): Call gdb_unbuffer_output.
1882
4f5946a8
DE
18832016-01-21 Doug Evans <dje@google.com>
1884
1885 * lib/ada.exp (gdb_compile_ada): Fix typo.
1886
305e13e6
JB
18872016-01-21 Joel Brobecker <brobecker@adacore.com>
1888
1889 * gdb.base/break-fun-addr.exp: New file.
1890 * gdb.base/break-fun-addr1.c: New file.
1891 * gdb.base/break-fun-addr2.c: New file.
1892
5f5dfff6
SM
18932016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1894
1895 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1896 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1897 enum flag values.
1898
fd356fa2
AA
18992016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1900
1901 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1902 when GDB can not set the vector return value. Add more comments
1903 for clarification.
1904
9df22175
AT
19052016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1906
1907 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1908 command.
1909
41d1845e
SM
19102016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1911
1912 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1913
01ac6840
SM
19142016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1915
1916 * Makefile.in (check-single): Pass --status to runtest.
1917 (check/%.exp): Likewise.
1918
19192016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1920
1921 * Makefile.in (check-parallel): Propagate return code from make
1922 do-check-parallel.
1923
bd0a71fa
MK
19242016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1925
1926 * gdb.trace/ftrace.exp: Fix expected message on continue.
1927 * gdb.trace/pending.exp: Fix expected message on continue.
1928 * gdb.trace/trace-break.exp: Fix expected message on continue.
1929
8bcbad33
SM
19302016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1931
1932 * lib/gdb.exp (gdb_test): Remove unused global references.
1933
f303dbd6
PA
19342016-01-18 Pedro Alves <palves@redhat.com>
1935
1936 * gdb.base/async-shell.exp: Adjust expected output.
1937 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1938 * gdb.base/siginfo-thread.exp: Adjust expected output.
1939 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1940 * gdb.java/jnpe.exp: Adjust expected output.
1941 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1942 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1943 * gdb.threads/leader-exit.exp: Adjust expected output.
1944 * gdb.threads/manythreads.exp: Adjust expected output.
1945 * gdb.threads/pthreads.exp: Adjust expected output.
1946 * gdb.threads/schedlock.exp: Adjust expected output.
1947 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1948 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1949 expected output.
1950 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1951 output.
1952 * gdb.threads/sigthread.exp: Adjust expected output.
1953 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1954
b2789696
YQ
19552016-01-18 Yao Qi <yao.qi@linaro.org>
1956
1957 * gdb.guile/scm-section-script.c: Replace @progbits with
1958 %progbits.
1959 * gdb.python/py-section-script.c: Likewise.
1960
71ef29a8
PA
19612016-01-15 Pedro Alves <palves@redhat.com>
1962
1963 * gdb.multi/tids.exp: Test star wildcard ranges.
1964
3f5b7598
PA
19652016-01-15 Pedro Alves <palves@redhat.com>
1966
1967 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1968 command from "thread apply" invocation.
1969 (thr_apply_info_thr_invalid): Default the expected output to the
1970 input tid list.
1971 (top level): Add tests that use convenience variables. Add tests
1972 for "thread apply" with a valid TID list, but missing the command.
1973
663f6d42
PA
19742016-01-13 Pedro Alves <palves@redhat.com>
1975
1976 * gdb.base/default.exp: Expect $_gthread as well.
1977 * gdb.multi/tids.exp: Test $_gthread.
1978 * gdb.threads/thread-specific.exp: Test $_gthread.
1979
c84f6bbf
PA
19802016-01-13 Pedro Alves <palves@redhat.com>
1981
1982 * gdb.multi/tids.exp: Test "info threads -gid".
1983
22a02324
PA
19842016-01-13 Pedro Alves <palves@redhat.com>
1985
1986 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1987 Breakpoint.thread.
1988 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1989
5d5658a1
PA
19902016-01-07 Pedro Alves <palves@redhat.com>
1991
1992 * gdb.base/break.exp: Adjust to output changes.
1993 * gdb.base/hbreak2.exp: Likewise.
1994 * gdb.base/sepdebug.exp: Likewise.
1995 * gdb.base/watch_thread_num.exp: Likewise.
1996 * gdb.linespec/keywords.exp: Likewise.
1997 * gdb.multi/info-threads.exp: Likewise.
1998 * gdb.threads/thread-find.exp: Likewise.
1999 * gdb.multi/tids.c: New file.
2000 * gdb.multi/tids.exp: New file.
2001
84654457
PA
20022016-01-13 Pedro Alves <palves@redhat.com>
2003
2004 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
2005
e3940304
PA
20062016-01-13 Pedro Alves <palves@redhat.com>
2007
2008 * gdb.base/default.exp: Expect $_inferior as well.
2009 * gdb.multi/base.exp: Test $_inferior.
2010
a911d87a
PA
20112016-01-13 Pedro Alves <palves@redhat.com>
2012
2013 PR breakpoints/19388
2014 * gdb.base/catch-signal-siginfo-cond.c: New file.
2015 * gdb.base/catch-signal-siginfo-cond.exp: New file.
2016
82075af2
JS
20172016-01-12 Josh Stone <jistone@redhat.com>
2018 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2019
2020 * gdb.base/catch-syscall.c (do_execve): New variable.
2021 (main): Conditionally trigger an execve.
2022 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
2023 (test_catch_syscall_execve): New, check entry/return across execve.
2024 (do_syscall_tests): Call test_catch_syscall_execve.
2025
e46eeedd
PA
20262016-01-12 Pedro Alves <palves@redhat.com>
2027
2028 * gdb.base/random-signal.exp (do_test): New procedure, with body
2029 of testcase moved in.
2030
01d8c27e
JK
20312016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2032 Pedro Alves <palves@redhat.com>
2033
2034 * gdb.base/funcargs.exp (finish from indirectly called function):
2035 Reintroduce the case for 'First'.
2036
9a706302
JK
20372016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2038 Pedro Alves <palves@redhat.com>
2039
2040 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
2041 (tcatch_vfork_then_child_follow_exec)
2042 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
2043 identification.
2044
c0ecb95f
JK
20452016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2046
2047 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
2048 and repeats to unlimited.
2049 * gdb.python/py-value.exp: Likewise.
2050 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
2051 and repeats to unlimited.
2052
6cfc1fcb
JK
20532016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2054
2055 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
2056 and reordering the functions.
2057 * gdb.multi/hangout.c: Likewise.
2058 * gdb.multi/hello.c: Likewise.
2059
582a1b00
SM
20602016-01-08 Simon Marchi <simon.marchi@ericsson.com>
2061
2062 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
2063 absolute.
2064 (SingleStatisticTestResult.report): Use dict.keys instead of
2065 dict.iterkeys.
2066
79bc59cb
PA
20672016-01-06 Pedro Alves <palves@redhat.com>
2068
2069 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
2070
43368e1d
MM
20712016-01-04 Markus Metzger <markus.t.metzger@intel.com>
2072
2073 * gdb.btrace/dlopen.exp: New.
2074 * gdb.btrace/dlopen.c: New.
2075 * gdb.btrace/dlopen-dso.c: New.
2076
79fad5b8
SL
20772015-12-25 Sandra Loosemore <sandra@codesourcery.com>
2078
2079 * lib/gdb.exp (gdb_test): Update comments to clarify that the
2080 PATTERN argument is optional.
2081
ab8314b3
JB
20822015-12-24 Joel Brobecker <brobecker@adacore.com>
2083
2084 * lib/ada.exp (target_compile_ada_from_dir): New function.
2085 (gdb_compile_ada): Reimplement avoiding the use of project files.
2086 * gdb.ada/gnat_ada.gpr: Delete.
2087 * gdb.ada/cond_lang.exp: Adjust test to make path before
2088 filename optional.
2089 * gdb.ada/small_reg_param.exp: Likewise.
2090
fe33faff
SM
20912015-12-22 Simon Marchi <simon.marchi@ericsson.com>
2092
2093 * gdb.base/foll-vork.exp: Remove HP-UX special case.
2094
6d265cb4
TP
20952015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
2096
2097 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
2098 case.
2099
10125099
SM
21002015-12-21 Simon Marchi <simon.marchi@ericsson.com>
2101
2102 * gdb.base/break.exp: Remove dead code.
2103 * gdb.base/sepdebug.exp: Likewise.
2104
3ca22649
SM
21052015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2106
2107 * gdb.asm/asm-source.exp: Remove HP-UX references.
2108 * gdb.base/annota1.exp: Likewise.
2109 * gdb.base/annota3.exp: Likewise.
2110 * gdb.base/attach.exp: Likewise.
2111 * gdb.base/bigcore.exp: Likewise.
2112 * gdb.base/break.exp: Likewise.
2113 * gdb.base/call-ar-st.exp: Likewise.
2114 * gdb.base/callfuncs.exp: Likewise.
2115 * gdb.base/catch-fork-static.exp: Likewise.
2116 * gdb.base/display.exp: Likewise.
2117 * gdb.base/foll-exec-mode.exp: Likewise.
2118 * gdb.base/foll-exec.exp: Likewise.
2119 * gdb.base/foll-fork.exp: Likewise.
2120 * gdb.base/foll-vfork.exp: Likewise.
2121 * gdb.base/funcargs.exp: Likewise.
2122 * gdb.base/hbreak2.exp: Likewise.
2123 * gdb.base/inferior-died.exp: Likewise.
2124 * gdb.base/interrupt.exp: Likewise.
2125 * gdb.base/multi-forks.exp: Likewise.
2126 * gdb.base/nodebug.exp: Likewise.
2127 * gdb.base/sepdebug.exp: Likewise.
2128 * gdb.base/solib1.c: Likewise.
2129 * gdb.base/step-test.exp: Likewise.
2130 * gdb.mi/non-stop.c: Likewise.
2131 * gdb.mi/pthreads.c: Likewise.
2132 * gdb.multi/bkpt-multi-exec.ex: Likewise.
2133 * gdb.threads/pthreads.c: Likewise.
2134 * gdb.threads/staticthreads.exp: Likewise.
2135 * lib/future.exp: Likewise.
2136 * lib/gdb.exp: Likewise.
2137 * gdb.base/so-indr-cl.c: Remove.
2138 * gdb.base/so-indr-cl.exp: Likewise.
2139 * gdb.base/solib.c: Likewise.
2140 * gdb.base/solib.exp: Likewise.
2141 * gdb.base/solib2.c: Likewise.
2142
b6304613
SM
21432015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2144
2145 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
2146 * gdb.base/call-ar-st.exp: Likewise.
2147 * gdb.base/callfuncs.exp: Likewise.
2148 * gdb.base/condbreak.exp: Likewise.
2149 * gdb.base/constvars.exp: Likewise.
2150 * gdb.base/hbreak2.exp: Likewise.
2151 * gdb.base/langs.exp: Likewise.
2152 * gdb.base/list.exp: Likewise.
2153 * gdb.base/long_long.exp: Likewise.
2154 * gdb.base/ptype.exp: Likewise.
2155 * gdb.base/scope.exp: Likewise.
2156 * gdb.base/signals.exp: Likewise.
2157 * gdb.base/so-impl-ld.exp: Likewise.
2158 * gdb.base/varargs.exp: Likewise.
2159 * gdb.base/volatile.exp: Likewise.
2160 * gdb.base/whatis.exp: Likewise.
2161 * gdb.cp/cplusfuncs.exp: Likewise.
2162 * gdb.cp/inherit.exp: Likewise.
2163 * gdb.cp/local.exp: Likewise.
2164 * gdb.cp/member-ptr.exp: Likewise.
2165 * gdb.cp/method.exp: Likewise.
2166 * gdb.cp/overload.exp: Likewise.
2167 * gdb.cp/templates.exp: Likewise.
2168 * gdb.stabs/weird.exp: Likewise.
2169 * lib/compiler.c: Likewise.
2170 * lib/compiler.cc: Likewise.
2171 * lib/cp-support.exp: Likewise.
2172 * lib/gdb.exp: Likewise.
2173
bf401b07
SM
21742015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
2175
2176 * configure.ac: Remove HP-UX case.
2177 * configure: Regenerate.
2178
aff9c0f8
SM
21792015-12-18 Simon Marchi <simon.marchi@ericsson.com>
2180
2181 * lib/gdb.exp (gdb_compile): Add function doc.
2182
a6904d5a
PA
21832015-12-17 Pedro Alves <palves@redhat.com>
2184
2185 PR threads/19354
2186 * gdb.multi/info-threads.exp: New file.
2187
a22279dd
YQ
21882015-12-15 Yao Qi <yao.qi@linaro.org>
2189
2190 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
2191 is aarch64*-*-*.
2192
0588c796
SL
21932015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2194
2195 * gdb.base/history-duplicates.exp: Skip if no readline support.
2196
5d978e17
SL
21972015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2198
2199 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
2200
7e763b86
SL
22012015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2202
2203 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
2204
87a3a92c
SL
22052015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2206
2207 * gdb.base/completion.exp: Skip tests that interrupt GDB with
2208 ctrl-C if nointerrupts target property is set.
2209 * gdb.base/double-prompt-target-event-error.exp: Likewise.
2210 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
2211 * gdb.base/paginate-bg-execution.exp: Likewise.
2212 * gdb.base/paginate-execution-startup.exp: Likewise.
2213 * gdb.base/random-signal.exp: Likewise.
2214 * gdb.base/range-stepping.exp: Likewise.
2215 * gdb.cp/annota2.exp: Likewise.
2216 * gdb.cp/annota3.exp: Likewise.
2217 * gdb.gdb/selftest.exp: Likewise.
2218 * gdb.threads/continue-pending-status.exp: Likewise.
2219 * gdb.threads/leader-exit.exp: Likewise.
2220 * gdb.threads/manythreads.exp: Likewise.
2221 * gdb.threads/pthreads.exp: Likewise.
2222 * gdb.threads/schedlock.exp: Likewise.
2223 * gdb.threads/sigthread.exp: Likewise.
2224
a8f077dc
DB
22252015-12-11 Don Breazeal <donb@codesourcery.com>
2226
2227 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2228 remote.
2229 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2230 * gdb.base/foll-exec.exp (main): Enable for target remote.
2231 * gdb.base/foll-fork.exp (main): Likewise.
2232 * gdb.base/foll-vfork.exp (main): Likewise.
2233 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2234 (proc continue_to_exit_bp_loc): Use clean_restart.
2235 * gdb.base/pie-execl.exp (main): Disable for target remote.
2236 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2237 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2238 * gdb.threads/execl.exp (main): Likewise.
2239 * gdb.threads/fork-child-threads.exp (main): Likewise.
2240 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2241 remote.
2242 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2243 remote.
2244 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2245 pid.tid style ptids, instead of just tid.
2246 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2247 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2248 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2249 ptids, instead of just tid.
2250
3b2464a8
AB
22512015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2252
2253 * gdb.base/list.exp (test_list_forward): Add end of file error
2254 test.
2255 (test_repeat_list_command): Add end of file error test.
2256 (test_list_backwards): Add beginning of file error test.
2257
a0def019
AB
22582015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2259
2260 * gdb.base/list.exp (test_list_invalid_args): New function,
2261 defined, and called.
2262
5c000dff
AB
22632015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2264
2265 * gdb.base/list.exp (test_list): Make test names unique.
2266
f1637ebe
YQ
22672015-12-11 Yao Qi <yao.qi@linaro.org>
2268
2269 * gdb.base/coremaker2.c: Remove.
2270
36d6fc0a
PA
22712015-12-10 Pedro Alves <palves@redhat.com>
2272
2273 * gdb.multi/base.exp: Remove stale "spaces" references.
2274
762f7747
PA
22752015-12-10 Pedro Alves <palves@redhat.com>
2276
2277 * gdb.multi/base.exp: Don't use nowarnings.
2278 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2279 * gdb.multi/hangout.c: Include stdio.h.
2280 * gdb.multi/hello.c: Include stdlib.h.
2281 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2282 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2283 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2284
28d2bfb9
AB
22852015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2286
2287 * gdb.dwarf2/dw2-ranges-base.c: New file.
2288 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2289 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2290 support additional line table, and debug ranges generation.
2291 (Dwarf::ranges): New function, generate .debug_ranges.
2292 (Dwarf::lines): Support generating simple line table programs.
2293 (Dwarf::assemble): Initialise new namespace variables.
2294
5fc2beac
KB
22952015-12-09 Kevin Buettner <kevinb@redhat.com>
2296
2297 * gdb.base/async.exp (proc test_background): Add case for
2298 asynchronous execution not supported.
2299
1c35a88f
LM
23002015-12-09 Luis Machado <lgustavo@codesourcery.com>
2301
2302 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2303 format and change test names to make them unique.
2304
b593e3d9
RK
23052015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2306 Pedro Alves <pedro@redhat.com>
2307
2308 PR gdb/18702
2309 Add checking of floatformats setup on x86_64 hosts.
2310 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2311 (smallval, bigval): New labels/constants.
2312 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2313 float" after loading bigval and smallval.
2314
d72413e6
PMR
23152015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2316
2317 * gdb.ada/fun_overload_menu.exp: New testcase.
2318 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2319
ece66d65
JS
23202015-12-04 Josh Stone <jistone@redhat.com>
2321
2322 * gdb.base/catch-fork-static.exp: New.
2323
41d0efca
YQ
23242015-12-03 Yao Qi <yao.qi@linaro.org>
2325
2326 * gdb.base/sizeof.c: Don't include stdio.h and
2327 ../lib/unbuffer_output.c.
2328 (main): New variable 'size' and 'value'. Remove printf and
2329 gdb_unbuffer_output. Assign return value to size and value.
2330 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2331 at the beginning.
2332 (check_sizeof): Check the result by printing variable 'size'.
2333 (check_valueof): Check the result by printing variable 'value'.
2334
99fd02d9
YQ
23352015-12-01 Yao Qi <yao.qi@linaro.org>
2336
2337 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2338 for aarch64*-*-linux* target.
2339
f2faf941
PA
23402015-11-30 Pedro Alves <palves@redhat.com>
2341
2342 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2343
04bf20c5
PA
23442015-11-30 Pedro Alves <palves@redhat.com>
2345
2346 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2347 Handle non-stop mode vCont replies.
2348
09df4675
PA
23492015-11-30 Pedro Alves <palves@redhat.com>
2350
2351 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2352 prepare_for_testing. Start gdb with "set non-stop on" appended to
2353 GDBFLAGS. Lax expected stop output.
2354
58b584af
YQ
23552015-11-27 Yao Qi <yao.qi@linaro.org>
2356
2357 * gdb.arch/arm-neon.exp: New.
2358 * gdb.arch/arm-neon.c: New.
2359
dfcb77a8
YQ
23602015-11-27 Yao Qi <yao.qi@linaro.org>
2361
2362 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2363
88e8ec1b
YQ
23642015-11-27 Yao Qi <yao.qi@linaro.org>
2365
2366 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2367 frames-invalid annotation.
2368
bfde72c2
YQ
23692015-11-27 Yao Qi <yao.qi@linaro.org>
2370
2371 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2372
f6512a69
SM
23732015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2374
2375 * gdb.threads/names.exp: New file.
2376 * gdb.threads/names.c: New file.
2377 * README: Mention gdb,no_thread_names.
2378
46a3515b
MM
23792015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2380
2381 PR 19297
2382 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2383 support" error.
2384
62147a22
PA
23852015-11-24 Pedro Alves <palves@redhat.com>
2386
2387 PR 17539
2388 * gdb.base/display.exp: Expect displays to be sorted in ascending
2389 order. Use multi_line.
2390 * gdb.base/solib-display.exp: Likewise.
2391
2f341b6e
PA
23922015-11-24 Pedro Alves <palves@redhat.com>
2393
2394 PR 17539
25d49b86
PA
2395 * gdb.base/display.exp: Expect displays to be sorted in ascending
2396 order. Use multi_line.
2397 * gdb.base/solib-display.exp: Likewise.
2f341b6e 2398
7e0aa6aa
PA
23992015-11-24 Pedro Alves <palves@redhat.com>
2400
2401 PR 17539
2402 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2403 threads in ascending order.
2404 * gdb.base/foll-fork.exp: Likewise.
2405 * gdb.base/foll-vfork.exp: Likewise.
2406 * gdb.base/multi-forks.exp: Likewise.
2407 * gdb.mi/mi-nonstop.exp: Likewise.
2408 * gdb.mi/mi-nsintrall.exp: Likewise.
2409 * gdb.multi/base.exp: Likewise.
2410 * gdb.multi/multi-arch.exp: Likewise.
2411 * gdb.python/py-inferior.exp: Likewise.
2412 * gdb.threads/break-while-running.exp: Likewise.
2413 * gdb.threads/execl.exp: Likewise.
2414 * gdb.threads/gcore-thread.exp: Likewise.
2415 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2416 * gdb.threads/kill.exp: Likewise.
2417 * gdb.threads/linux-dp.exp: Likewise.
2418 * gdb.threads/multiple-step-overs.exp: Likewise.
2419 * gdb.threads/next-bp-other-thread.exp: Likewise.
2420 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2421 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2422 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2423 * gdb.threads/thread-find.exp: Likewise.
2424 * gdb.threads/tls.exp: Likewise.
2425 * lib/mi-support.exp (mi_reverse_list): Delete.
2426 (mi_check_thread_states): No longer reverse list.
2427
2cc57ad8
PA
24282015-11-24 Pedro Alves <palves@redhat.com>
2429
2430 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2431 use lowercase.
2432
c93e8391
SM
24332015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2434
2435 * gdb.trace/actions.c: Include trace-common.h.
2436 (main): Add a location for a fast tracepoint.
2437 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2438 the normal tracepoints.
2439 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2440
045ccf91
SM
24412015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2442
2443 * save-trace.exp: Factor out code to these...
2444 (gdb_save_tracepoints): New.
2445 (gdb_load_tracepoints): New.
2446 (do_save_load_test): New.
2447
5506f9f6
KB
24482015-11-23 Kevin Buettner <kevinb@redhat.com>
2449
2450 * gdb.base/asmlabel.exp: New test.
2451 * gdb.base/asmlabel.c: New test case.
2452
16c3b12f
JB
24532015-11-23 Joel Brobecker <brobecker@adacore.com>
2454
2455 * gdb.base/wrong_frame_bt_full-main.c: New file.
2456 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2457 * gdb.base/wrong_frame_bt_full.exp: New file.
2458
155bfbd3
JB
24592015-11-23 Joel Brobecker <brobecker@adacore.com>
2460
2461 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2462
bb097445
JM
24632015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2464
206853a0 2465 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
2466 pstate register when comparing registers values in
2467 sparc64-*-linux-gnu targets to avoid spurious differences.
2468
9c88ed8f
JM
24692015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2470
206853a0 2471 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 2472
96161e25
SL
24732015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2474
2475 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2476 as type argument to gdb_compile.
2477 * gdb.base/nested-subp2.exp: Likewise.
2478 * gdb.base/nested-subp3.exp: Likewise.
2479
340c2830
DV
24802015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2481
2482 * lib/dwarf.exp (_note): Fix left shift of negative value.
2483 * gdb.trace/trace-condition.exp: Likewise.
2484
c1862d0f
YQ
24852015-11-13 Yao Qi <yao.qi@linaro.org>
2486
2487 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2488 comments about d10v.
2489 (test_scalar_returns): Likewise.
2490 * gdb.base/d10v.ld: Remove.
2491 * gdb.base/overlays.exp: Remove the target triplet checking for
2492 d10v-*-*.
2493 * gdb.base/structs.exp (test_struct_returns): Remove the
2494 comments about d10v.
2495 (test_struct_calls): Likewise.
2496
77ae9c19
YQ
24972015-11-13 Yao Qi <yao.qi@linaro.org>
2498
2499 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2500 * gdb.base/gnu_vector.c: Don't include stdio.h.
2501 (main): Don't print res and call add_some_intvecs.
2502
430e004e
MK
25032015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2504
2505 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2506 macro.
2507 (func5): Removed.
2508 (func4): Use FAST_TRACEPOINT_LABEL.
2509 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2510 macro.
2511 (func): Removed.
2512 (thread_function): Use FAST_TRACEPOINT_LABEL.
2513 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2514 (func): Remove.
2515 (marker): Use FAST_TRACEPOINT_LABEL.
2516 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2517 (pendfunc1): Remove.
2518 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2519 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2520 (foo): Remove.
2521 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2522 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2523 macro.
2524 (func): Remove.
2525 (marker): Use FAST_TRACEPOINT_LABEL.
2526 * gdb.trace/trace-common.h: New header.
2527 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2528 macro.
2529 (func): Remove.
2530 (marker): Use FAST_TRACEPOINT_LABEL.
2531 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2532 (func): Remove.
2533 (thread_function): Use FAST_TRACEPOINT_LABEL.
2534
6e7675a7
MK
25352015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2536
2537 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2538 in front.
2539 * gdb.trace/change-loc.exp: Use global pcreg definition.
2540 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2541 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2542 in front.
2543 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2544 * gdb.trace/pending.exp: Likewise.
2545 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2546 * gdb.trace/trace-break.exp: Likewise.
2547 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2548 in front.
2549 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2550 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2551 in front.
2552 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2553
dddc0e16
JB
25542015-11-09 Joel Brobecker <brobecker@adacore.com>
2555
2556 * gdb.ada/fin_fun_out: New testcase.
2557
c6f0b406
KB
25582015-11-07 Kevin Buettner <kevinb@redhat.com>
2559
2560 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2561 value associated with DW_AT_byte_size.
2562 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2563 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2564 DW_AT_upper_bound.
2565
f01dcfd9
KB
25662015-11-07 Kevin Buettner <kevinb@redhat.com>
2567
2568 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2569 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2570 version.
2571 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2572 gdb.dwarf2/dw2-canonicalize-type.exp,
2573 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2574 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2575 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2576 provided by gdb_target_symbol_prefix_flags_asm.
2577 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2578 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2579 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2580 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2581 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2582 macros where needed). Use this macro for symbols which require
2583 the prefix provided by SYMBOL_PREFIX.
2584
2223449a
KB
25852015-11-05 Kevin Buettner <kevinb@redhat.com>
2586
2587 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2588 New procs.
2589 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2590 representing expressions, of more than one list element.
2591 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2592 to prepend linker symbol prefix to f.
2593 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2594 table_1 and table_2.
2595 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2596 Likewise, for f and g.
2597 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2598 for ptr.
2599 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2600 for main.
2601 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2602 table_1_ptr and table_2_ptr.
2603
6f2f1a3a
JK
26042015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2605 Joel Brobecker <brobecker@adacore.com>
2606
2607 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2608
566c56c9
MK
26092015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2610
2611 * gdb.reverse/s390-mvcle.c: New test.
2612 * gdb.reverse/s390-mvcle.exp: New file.
2613 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2614
d5f0636b
MK
26152015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2616
2617 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2618
7ad8b86c
MK
26192015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2620
2621 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2622 reaching marker2.
2623 * gdb.reverse/getresuid-reverse.exp: Likewise.
2624 * gdb.reverse/pipe-reverse.exp: Likewise.
2625 * gdb.reverse/readv-reverse.exp: Likewise.
2626 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2627 * gdb.reverse/time-reverse.exp: Likewise.
2628 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2629
4081c0f1
YQ
26302015-10-30 Yao Qi <yao.qi@linaro.org>
2631
2632 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2633 (empty_cycle): Remove.
2634 (main): Don't call empty_cycle. Don't use watch_count_done.
2635 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2636 empty_cycle. Rewrite the code counting HW watchpoints.
2637
452b4ba5
MK
26382015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2639
2640 * gdb.reverse/fstatat-reverse.c: New test.
2641 * gdb.reverse/fstatat-reverse.exp: New file.
2642 * gdb.reverse/getresuid-reverse.c: New test.
2643 * gdb.reverse/getresuid-reverse.exp: New file.
2644 * gdb.reverse/pipe-reverse.c: New test.
2645 * gdb.reverse/pipe-reverse.exp: New file.
2646 * gdb.reverse/readv-reverse.c: New test.
2647 * gdb.reverse/readv-reverse.exp: New file.
2648 * gdb.reverse/recvmsg-reverse.c: New test.
2649 * gdb.reverse/recvmsg-reverse.exp: New file.
2650 * gdb.reverse/time-reverse.c: New test.
2651 * gdb.reverse/time-reverse.exp: New file.
2652 * gdb.reverse/waitpid-reverse.c: New test.
2653 * gdb.reverse/waitpid-reverse.exp: New file.
2654
5e2e7507
JK
26552015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2656
2657 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2658
0fde2c53
DE
26592015-10-26 Doug Evans <dje@google.com>
2660
2661 PR symtab/17391
2662 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2663 * gdb.dwarf2/bad-regnum.c: New file.
2664 * gdb.dwarf2/bad-regnum.exp: New file.
2665
1a70ae97
DE
26662015-10-26 Doug Evans <dje@google.com>
2667
2668 PR python/18938
2669 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2670 file.
2671
27dc26ab
JK
26722015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2673
2674 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2675 for a change by "Mention language in compile error message".
2676
bed91f4d
SM
26772015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2678
2679 PR python/18073
2680 * gdb.python/py-type.c (C::a_method): New.
2681 (C::a_const_method): New.
2682 (C::a_static_method): New.
2683 (a_function): New.
2684 * gdb.python/py-type.exp (test_fields): Test getting fields
2685 from function and method.
2686
3f2f83dd
KB
26872015-10-21 Keven Boell <keven.boell@intel.com>
2688
2689 * gdb.fortran/vla-alloc-assoc.exp: New file.
2690 * gdb.fortran/vla-datatypes.exp: New file.
2691 * gdb.fortran/vla-datatypes.f90: New file.
2692 * gdb.fortran/vla-history.exp: New file.
2693 * gdb.fortran/vla-ptype-sub.exp: New file.
2694 * gdb.fortran/vla-ptype.exp: New file.
2695 * gdb.fortran/vla-sizeof.exp: New file.
2696 * gdb.fortran/vla-sub.f90: New file.
2697 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2698 * gdb.fortran/vla-value-sub-finish.exp: New file.
2699 * gdb.fortran/vla-value-sub.exp: New file.
2700 * gdb.fortran/vla-value.exp: New file.
2701 * gdb.fortran/vla-ptr-info.exp: New file.
2702 * gdb.mi/mi-vla-fortran.exp: New file.
2703 * gdb.mi/vla.f90: New file.
2704
27145d50
SL
27052015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2706
2707 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2708 of hardwired timeout value.
2709
5f3ff4f8
JK
27102015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2711 Pedro Alves <palves@redhat.com>
2712
2713 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2714 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2715
bfd09d20
JS
27162015-10-19 Josh Stone <jistone@redhat.com>
2717
2718 * gdb.base/catch-syscall.c: Include <sched.h>.
2719 (unknown_syscall): New variable.
2720 (main): Trigger a vfork and an unknown syscall.
2721 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2722 (unknown_syscall_number): Likewise.
2723 (check_call_to_syscall): Accept an optional syscall pattern.
2724 (check_return_from_syscall): Likewise.
2725 (check_continue): Likewise.
2726 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2727 (test_catch_syscall_skipping_return): New test toggling off 'catch
2728 syscall' to step over the syscall return, then toggling back on.
2729 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2730 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2731 (do_syscall_tests): Call test_catch_syscall_without_args and
2732 test_catch_syscall_mid_vfork.
2733 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2734 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2735
b32b93c6
AS
27362015-10-19 Andrew Stubbs <ams@codesourcery.com>
2737
2738 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2739 print g_vE): Add new pass patterns.
2740 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2741 print various symbol names for vptr fields.
2742
9d622bda
AB
27432015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2744
2745 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2746 results.
2747
0fd8ac1c
YQ
27482015-10-12 Yao Qi <yao.qi@linaro.org>
2749
2750 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2751
34240514
YQ
27522015-10-12 Yao Qi <yao.qi@linaro.org>
2753
2754 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2755 is aarch64*-*-linux*.
2756
8240f442
YQ
27572015-10-12 Yao Qi <yao.qi@linaro.org>
2758
2759 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2760 (can_relocate_bcond_true): ... it.
2761 (can_relocate_bcond_false): New function.
2762 (foo): Likewise.
2763 (can_relocate_bl): Likewise.
2764 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2765 can_relocate_bl.
2766
2520f728
PMR
27672015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2768
2769 * gdb.base/nested-addr.c: New file.
2770 * gdb.base/nested-addr.exp: New testcase.
2771
abcef95a
MM
27722015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2773
2774 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2775 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2776 its output. Ignore the output of "record goto begin" and instead
2777 check that GDB is replaying.
2778
145e3ddb
PA
27792015-10-09 Pedro Alves <palves@redhat.com>
2780
2781 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2782 (top level): Use it in the run with no args test.
2783
d5d8c4e1
IB
27842015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2785
2786 * gdb.dlang/properties.exp: New file.
2787
06e635ef
SL
27882015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2789
2790 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2791 whether or not address 0x1000 is mapped on the target.
2792
e019fd1d
SM
27932015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2794
2795 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2796 build.
2797
77ba2a67
MM
27982015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2799
2800 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2801 instruction-history test.
2802
c60eb31f
DE
28032015-09-28 Doug Evans <dje@google.com>
2804
2805 * gdb.base/gcore.c (array_func): Add reference to static_array.
2806
9a3c8263
SM
28072015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2808
2809 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2810 source line.
2811
9720e656
SL
28122015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2813
2814 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2815 short or char as base type.
2816
938d3bf2
SL
28172015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2818
2819 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2820 to allow any size enum.
2821
e6c2c623
PMR
28222015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2823
2824 * gdb.ada/array_ptr_renaming.exp: New testcase.
2825 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2826 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2827
06da0f77
PL
28282015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2829
2830 * gdb.trace/ftrace-lock.c: New file.
2831 * gdb.trace/ftrace-lock.exp: New file.
2832
4f51c22a
PL
28332015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2834
2835 * gdb.arch/insn-reloc.c: New file.
2836 * gdb.arch/ftrace-insn-reloc.exp: New file.
2837
7041adf4
PL
28382015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2839
2840 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2841 instruction.
2842 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2843 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2844 * gdb.trace/range-stepping.c: Likewise.
2845 * gdb.trace/trace-break.c: Likewise.
2846 * gdb.trace/trace-mt.c (thread_function): Likewise.
2847 * gdb.trace/ftrace.c (marker): Likewise.
2848 * gdb.trace/trace-condition.c (marker): Likewise.
2849 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2850 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2851 is_aarch64_target.
2852
015d2e7e
DE
28532015-09-18 Doug Evans <xdje42@gmail.com>
2854
2855 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2856 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2857
26b188a2
SL
28582015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2859
2860 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2861 the breakpoint.
2862
79dc332b
SL
28632015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2864
2865 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2866 the pending breakpoint. Remove timeout override for "Run till
2867 MI pending breakpoint on pendfunc3 on thread 2" test.
2868
f57929f2
SL
28692015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2870
2871 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2872 filename pattern.
2873
3f469b17
SL
28742015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2875
2876 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2877 in breakpoint filename pattern.
2878
515b89b3
SL
28792015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2880
7800dbe4
SL
2881 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2882
28832015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2884
515b89b3
SL
2885 * gdb.linespec/explicit.exp: Check for readline support for
2886 tab-completion tests. Fix obvious typo.
2887
d2939ba2
MM
28882015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2889
2890 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2891 and replay.
2892
cbb55fa7
MM
28932015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2894
2895 * gdb.btrace/non-stop.c: New.
2896 * gdb.btrace/non-stop.exp: New.
2897
43691ca1
PL
28982015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2899 Yao Qi <yao.qi@linaro.org>
2900
2901 * gdb.trace/trace-condition.c: New file.
2902 * gdb.trace/trace-condition.exp: New file.
2903
d78908cf
WW
29042015-09-16 Wei-cheng Wang <cole945@gmail.com>
2905
2906 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2907 for testing bytecode compilation.
2908
1ed415e2
PA
29092015-09-16 Pedro Alves <palves@redhat.com>
2910 Sandra Loosemore <sandra@codesourcery.com>
2911
2912 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2913 (SECONDS): Redefine.
2914 (main): Call pthread_kill and alarm early.
2915 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2916 support.
2917 (test): If the target can't hardware step and doesn't support
2918 displaced stepping, increase the timeout.
2919
d136eff5
PA
29202015-09-16 Pedro Alves <palves@redhat.com>
2921
2922 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2923 (enable_debug): New procedures.
2924 (test): Use them. Bail out if waiting for threads fails.
2925 (top level): Bail out if a test fails.
2926
991f019c
YQ
29272015-09-16 Yao Qi <yao.qi@linaro.org>
2928
2929 * gdb.asm/asm-source.exp: Set asm-arch for
2930 aarch64*-*-* target.
2931 * gdb.asm/aarch64.inc: New file.
2932
bfca584f
PMR
29332015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2934
2935 * gdb.ada/array_of_variable_length.exp: New testcase.
2936 * gdb.ada/array_of_variable_length/foo.adb: New file.
2937 * gdb.ada/array_of_variable_length/pck.adb: New file.
2938 * gdb.ada/array_of_variable_length/pck.ads: New file.
2939
b326e587
DE
29402015-09-15 Doug Evans <dje@google.com>
2941
2942 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2943 of function static local variable.
2944
5382cfab
PW
29452015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2946
2947 * gdb.threads/tls-so_extern.exp: New test file.
2948 * gdb.threads/tls-so_extern.c: New test file.
2949 * gdb.threads/tls-so_extern_main.c: New test file.
2950
141c5cc4
JK
29512015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2952
2953 * gdb.opt/solib-intra-step-lib.c: New file.
2954 * gdb.opt/solib-intra-step-main.c: New file.
2955 * gdb.opt/solib-intra-step.exp: New file.
2956
d15dcecd
PA
29572015-09-15 Pedro Alves <palves@redhat.com>
2958
2959 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2960 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2961
4c2f2a79
PA
29622015-09-14 Pedro Alves <palves@redhat.com>
2963
2964 * gdb.base/hook-stop-continue.c: Delete.
2965 * gdb.base/hook-stop-continue.exp: Delete.
2966 * gdb.base/hook-stop-frame.c: Delete.
2967 * gdb.base/hook-stop-frame.exp: Delete.
2968 * gdb.base/hook-stop.c: New file.
2969 * gdb.base/hook-stop.exp: New file.
2970
919e6dbe
PMR
29712015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2972
2973 * gdb.ada/access_to_packed_array.exp: New testcase.
2974 * gdb.ada/access_to_packed_array/foo.adb: New file.
2975 * gdb.ada/access_to_packed_array/pack.adb: New file.
2976 * gdb.ada/access_to_packed_array/pack.ads: New file.
2977
157280a4
MM
29782015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2979
2980 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2981 buffer size test.
2982
2fd33e94
DB
29832015-09-11 Don Breazeal <donb@codesourcery.com>
2984
2985 * gdb.base/foll-exec.c: Add copyright header. Fix
2986 formatting issues.
2987 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2988 (do_exec_tests): Use clean_restart in place of zap_session,
2989 and for test initialization. Fix formatting issues. Use
2990 fail in place of perror.
2991 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2992 an expect statement to match an expression with output from
2993 the program under debug.
2994 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2995 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2996 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2997 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2998 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2999
e70b6e8e
DE
30002015-09-09 Doug Evans <dje@google.com>
3001
3002 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
3003
7a551a51
DE
30042015-09-09 Doug Evans <dje@google.com>
3005
3006 * gdb.base/pie-execl.exp: Fix result test of build_executable.
3007
4c666f84
DE
30082015-09-09 Doug Evans <dje@google.com>
3009
3010 * gdb.base/savedregs.exp: Fix typo.
3011
243a9253
PA
30122015-09-09 Pedro Alves <palves@redhat.com>
3013
3014 * gdb.mi/mi-cli.exp: Add CLI finish tests.
3015
c0fa8fbd
SL
30162015-09-08 Sandra Loosemore <sandra@codesourcery.com>
3017
3018 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
3019 command actually switches threads. Give up on remaining
3020 tests if target fails to stop at breakpoint.
3021
cd7c1778
PMR
30222015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
3023
3024 * gdb.ada/funcall_char.exp: New testcase.
3025 * gdb.ada/funcall_char/foo.adb: New file.
3026
dc5c8746
PMR
30272015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
3028
3029 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
3030 expected outputs. Add two testcases for completing ambiguous
3031 functions.
3032 * gdb.ada/complete/aux_pck.adb: New file.
3033 * gdb.ada/complete/aux_pck.ads: New file.
3034 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
3035 Ambiguous_Func functions.
3036 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
3037 * gdb.ada/complete/pck.adb: Likewise.
3038
4e83a1e7
UW
30392015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
3040
3041 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
3042 failures to run the test program under GDB.
3043
8ce74153
LM
30442015-08-26 Luis Machado <lgustavo@codesourcery.com>
3045
3046 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
3047 to C.
3048
e9756d52
PP
30492015-08-26 Patrick Palka <patrick@parcs.ath.cx>
3050
3051 * gdb.base/run-after-attach.exp: New test file.
3052 * gdb.base/run-after-attach.c: New test file.
3053
8d37573b
DB
30542015-08-26 Don Breazeal <donb@codesourcery.com>
3055
3056 * gdb.base/foll-exec-2.c: New test program.
3057 * gdb.base/foll-exec-2.exp: New test.
3058
63e43d3a
PMR
30592015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
3060
3061 * gdb.base/nested-subp1.exp: New file.
3062 * gdb.base/nested-subp1.c: New file.
3063 * gdb.base/nested-subp2.exp: New file.
3064 * gdb.base/nested-subp2.c: New file.
3065 * gdb.base/nested-subp3.exp: New file.
3066 * gdb.base/nested-subp3.c: New file.
3067
3d40fbb5
PA
30682015-08-24 Pedro Alves <palves@redhat.com>
3069
3070 * gdb.server/connect-without-multi-process.c: New file.
3071 * gdb.server/connect-without-multi-process.exp: New file.
3072
4422ac93
LM
30732015-08-24 Luis Machado <lgustavo@codesourcery.com>
3074
3075 * gdb.opt/inline-markers.c: Make z int.
3076
91dddb86
LM
30772015-08-24 Luis Machado <lgustavo@codesourcery.com>
3078
3079 * gdb.opt/inline-markers.c: Make z volatile.
3080
a48847ee
LM
30812015-08-24 Luis Machado <lgustavo@codesourcery.com>
3082
3083 * gdb.opt/inline-bt.c: New volatile global z.
3084 * gdb.opt/inline-cmds.c: Likewise.
3085 * gdb.opt/inline-locals.c: Likewise.
3086 * gdb.opt/inline-markers.c: New extern global z.
3087 (marker): Use z.
3088 (inline_fn): Likewise.
3089
0ebbc52b
PA
30902015-08-24 Pedro Alves <palves@redhat.com>
3091
3092 * config/m32r-stub.exp: Remove file.
3093 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
3094 * gdb.base/call-rt-st.exp: Likewise.
3095 * gdb.base/call-strs.exp: Likewise.
3096 * gdb.base/default.exp: Remove references to h8300-*-hms and
3097 *-*-udi*.
3098 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
3099
77c365df
AA
31002015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3101
3102 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
3103 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
3104 and "return" use KFAIL when GDB can not read/write the vector
3105 return value.
3106
4313b8c0
GB
31072015-08-21 Gary Benson <gbenson@redhat.com>
3108
3109 * gdb.trace/pending.exp: Cope with remote transfer warnings.
3110
0e433b32
PA
31112015-08-20 Pedro Alves <palves@redhat.com>
3112
3113 * gdb.server/solib-list.exp: No longer expect an interior stop in
3114 non-stop mode.
3115
221e1a37
PA
31162015-08-20 Pedro Alves <palves@redhat.com>
3117
3118 * gdb.server/connect-stopped-target.c: New file.
3119 * gdb.server/connect-stopped-target.exp: New file.
3120
40e3ad0e
PA
31212015-08-20 Pedro Alves <palves@redhat.com>
3122
3123 * gdb.dwarf2/comp-unit-lang.exp: New file.
3124 * gdb.dwarf2/comp-unit-lang.c: New file.
3125
af39b327
PMR
31262015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
3127
3128 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
3129 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
3130
7d45c7c3 31312015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 3132
7d45c7c3
KB
3133 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
3134 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
3135
4d6cceb4
DE
31362015-08-18 Doug Evans <dje@google.com>
3137 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3138
3139 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
3140 skip_python_tests. New arg prompt_regexp.
3141 (skip_python_tests): New function.
3142 * lib/mi-support.exp (mi_skip_python_tests): New function.
3143 * gdb.python/py-mi-objfile-gdb.py: New file.
3144 * gdb.python/py-mi-objfile.c: New file.
3145 * gdb.python/py-mi-objfile.exp: New file.
3146
ad89c2aa
KS
31472015-08-17 Keith Seitz <keiths@redhat.com>
3148
3149 * gdb.linespec/explicit.exp: Move strace test from here ...
3150 * gdb.trace/strace.exp: ... to here.
3151
e3ae3c43
PP
31522015-08-15 Patrick Palka <patrick@parcs.ath.cx>
3153
3154 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
3155 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
3156
604b2636
DE
31572015-08-14 Doug Evans <xdje42@gmail.com>
3158
3159 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
3160 inferior before selecting a new file.
3161
6ff0ba5f
DE
31622015-08-14 Doug Evans <xdje42@gmail.com>
3163
3164 * gdb.mi/mi-disassemble.exp: Update.
3165 * gdb.base/disasm-optim.S: New file.
3166 * gdb.base/disasm-optim.c: New file.
3167 * gdb.base/disasm-optim.h: New file.
3168 * gdb.base/disasm-optim.exp: New file.
3169
9ca98f92
KS
31702015-08-14 Keith Seitz <keiths@redhat.com>
3171
3172 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
3173 "evaluated-by".
3174
52bbc560
JB
31752015-08-13 Joel Brobecker <brobecker@adacore.com>
3176
3177 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
3178
5d8c3ed3
PMR
31792015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
3180
3181 * gdb.ada/fun_renaming.exp: New testcase.
3182 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
3183 * gdb.ada/fun_renaming/pack.adb: New file.
3184 * gdb.ada/fun_renaming/pack.ads: New file.
3185
ea8812bc
KS
31862015-08-12 Keith Seitz <keiths@redhat.com>
3187
3188 * gdb.base/dso2dso.exp: Pass basename of source file in call to
3189 gdb_get_line_number.
3190
4dafcdeb
JB
31912015-08-12 Joel Brobecker <brobecker@adacore.com>
3192
3193 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
3194 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
3195 gdb.base/dso2dso.exp: New files.
3196
5ba32597
SDJ
31972015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
3198 Pedro Alves <palves@redhat.com>
3199 Keith Seitz <keiths@redhat.com>
3200
3201 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
3202 GDBFLAGS.
3203
b6dafabf
PP
32042015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3205
3206 * gdb.base/gdbhistsize-history.exp
3207 (test_histsize_history_setting): Use save_vars.
3208 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3209 Use save_vars.
3210 (test_no_truncation_of_unlimited_history_file): Use save_vars.
3211 * gdb.base/readline.exp: Use save_vars.
3212
abe8e607
PP
32132015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3214
3215 * lib/gdb.exp (save_vars): New proc.
3216
629500fa
KS
32172015-08-11 Keith Seitz <keiths@redhat.com>
3218
3219 * gdb.base/help.exp: Update help_breakpoint_text.
3220
eb8c4e2e
KS
32212015-08-11 Keith Seitz <keiths@redhat.com>
3222
3223 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3224 (at toplevel): Call test_explicit_breakpoints.
3225 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3226 breakpoints.
3227 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3228 breakpoint conditions, "-cond".
3229
87f0e720
KS
32302015-08-11 Keith Seitz <keiths@redhat.com>
3231
3232 * gdb.linespec/3explicit.c: New file.
3233 * gdb.linespec/cpexplicit.cc: New file.
3234 * gdb.linespec/cpexplicit.exp: New file.
3235 * gdb.linespec/explicit.c: New file.
3236 * gdb.linespec/explicit.exp: New file.
3237 * gdb.linespec/explicit2.c: New file.
3238 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3239 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3240 before using in the matching pattern.
3241 Clarify that `prefix' is a regular expression.
3242
f00aae0f
KS
32432015-08-11 Keith Seitz <keiths@redhat.com>
3244
3245 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3246 test.
3247 Add tests for missing ",FMT" and ",".
3248
e27852be
DE
32492015-08-10 Doug Evans <dje@google.com>
3250 Keith Seitz <keiths@redhat.com>
3251
3252 PR gdb/17960
3253 * gdb.base/completion.exp: Add location completer tests.
3254
7f03bd92
PA
32552015-08-07 Pedro Alves <palves@redhat.com>
3256
3257 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3258 tests here.
3259 (top level): Run do_test with and without displaced stepping.
3260
3fc8eb30
PA
32612015-08-07 Pedro Alves <palves@redhat.com>
3262
3263 * gdb.base/valgrind-disp-step.c: New file.
3264 * gdb.base/valgrind-disp-step.exp: New file.
3265
d4569d7b
PA
32662015-08-07 Pedro Alves <palves@redhat.com>
3267
3268 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
3269 Delete function.
3270 (main): Add alarm. Run an infinite loop instead of calling
3271 wait_threads.
3272 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
3273 comment.
3274 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3275 Delete function.
3276 (main): Add alarm. Run an infinite loop instead of calling
3277 wait_threads.
3278 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3279 comment.
3280
e1316e60
PA
32812015-08-07 Pedro Alves <palves@redhat.com>
3282
3283 * gdb.base/checkpoint-ns.exp: New file.
3284 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3285 standard_testfile.
3286
da8c46d2
MM
32872015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3288
3289 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3290 * gdb.btrace/instruction_history.exp: Update.
3291 * gdb.btrace/tsx.exp: New.
3292 * gdb.btrace/tsx.c: New.
3293
de1c2c52
PA
32942015-08-06 Pedro Alves <palves@redhat.com>
3295
3296 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3297 increase timeout.
3298 * gdb.reverse/until-precsave.exp: Bump timeouts.
3299
782e0bf4
PA
33002015-08-06 Pedro Alves <palves@redhat.com>
3301
3302 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3303
83e97ed0
PA
33042015-08-06 Pedro Alves <palves@redhat.com>
3305
3306 PR gdb/18749
3307 * gdb.threads/process-dies-while-handling-bp.c: New file.
3308 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3309
863d01bd
PA
33102015-08-06 Pedro Alves <palves@redhat.com>
3311
3312 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3313 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3314
0a39bb32
PA
33152015-08-05 Pedro Alves <palves@redhat.com>
3316
3317 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3318 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3319
ee2d2b10
SL
33202015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3321
3322 * gdb.base/bp-permanent.exp: Report test as unsupported if
3323 the target cannot stop at the permanent breakpoint.
3324
4e1bdb00
DE
33252015-08-03 Doug Evans <dje@google.com>
3326
3327 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3328 10000.
3329
3d338901
DE
33302015-08-03 Doug Evans <dje@google.com>
3331
3332 * Makefile.in (workers/%.worker, build-perf): New rule.
3333 (GDB_PERFTEST_MODE): New variable.
3334 (check-perf): Use it.
3335 (clean): Clean up gdb.perf parallel build subdirs.
3336 * lib/build-piece.exp: New file.
3337 * lib/gdb.exp (make_gdb_parallel_path): New function
3338 (standard_output_file, standard_temp_file): Call it.
3339 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3340 of $GDB_PARALLEL.
3341 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3342
af061d3e
DE
33432015-08-03 Doug Evans <dje@google.com>
3344
8e1afc81 3345 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
3346 (LOG_FILE_NAME): New global.
3347 (TextReporter.__init__): Initialize self.txt_sum.
3348 (TextReporter.report): Add support for multiple data-points.
3349 Move report to perftest.sum, put raw data in perftest.log.
3350 (TextReporter.start): Open sum and log files.
3351 (TextReporter.end): Close sum and log files.
8e1afc81
DE
3352 * gdb.perf/lib/perftest/testresult.py
3353 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 3354
2c8c5d37
PA
33552015-07-31 Pedro Alves <palves@redhat.com>
3356
3357 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3358 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3359 kill_wait_spawned_process instead of explicit "kill -9".
3360 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3361 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3362 kill_wait_spawned_process.
3363 * gdb.base/attach-twice.exp: Likewise.
3364 * gdb.base/attach.exp: Likewise.
3365 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3366 gdb_test_multiple.
3367 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3368 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3369 kill_wait_spawned_process.
3370 * gdb.base/valgrind-infcall.exp: Likewise.
3371 * gdb.multi/multi-attach.exp: Likewise.
3372 * gdb.python/py-prompt.exp: Likewise.
3373 * gdb.python/py-sync-interp.exp: Likewise.
3374 * gdb.server/ext-attach.exp: Likewise.
3375 * gdb.threads/attach-into-signal.exp (corefunc): Use
3376 spawn_wait_for_attach, spawn_id_get_pid and
3377 kill_wait_spawned_process.
3378 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3379 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3380 spawn_id_get_pid and kill_wait_spawned_process.
3381 * gdb.threads/attach-stopped.exp (corefunc): Use
3382 spawn_wait_for_attach, spawn_id_get_pid and
3383 kill_wait_spawned_process.
3384 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3385 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3386 kill_wait_spawned_process instead of explicit "kill -9".
3387 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3388 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3389 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3390 processes. Don't map cygwin/windows pids here. Now returns a
3391 spawn id list.
3392
032a0fca
SL
33932015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3394
3395 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3396 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3397 correct patch.
3398
61a934ca
SL
33992015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3400
3401 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3402
4bc4d428
SL
34032015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3404
3405 Reapply:
3406 2014-05-21 Mark Wielaard <mjw@redhat.com>
3407
3408 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3409
998d452a
PA
34102015-07-30 Pedro Alves <palves@redhat.com>
3411
3412 * linux-low.c (handle_extended_wait): Set the child's last
3413 reported status to TARGET_WAITKIND_STOPPED.
3414
69dde7dc
PA
34152015-07-30 Pedro Alves <palves@redhat.com>
3416
3417 PR threads/18600
3418 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3419 only shows inferior 1.
3420
4dd63d48
PA
34212015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3422 Pedro Alves <palves@redhat.com>
3423
3424 PR threads/18600
3425 * gdb.threads/fork-plus-threads.c: New file.
3426 * gdb.threads/fork-plus-threads.exp: New file.
3427
d618e4c5
PP
34282015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3429
3430 * gdb.base/batch-preserve-term-settings.exp
3431 (test_terminal_settings_preserved_after_cli_exit): Use
3432 send_quit_command.
3433
1eef6428
PA
34342015-07-29 Pedro Alves <palves@redhat.com>
3435 Don Breazeal <donb@codesourcery.com>
3436
3437 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3438 output from both inferior_spawn_id and gdb_spawn_id.
3439
7da5b897
SDJ
34402015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3441
3442 * gdb.threads/attach-into-signal.exp (corefunc): Use
3443 with_test_prefix on nested loops, uniquefying the test messages.
3444
dac804df
SDJ
34452015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3446
3447 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3448 commit.
3449
06265e53
PP
34502015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3451
3452 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3453 New proc.
3454 (test_terminal_settings_preserved_after_sigterm): New test.
3455
18206ca3
PP
34562015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3457
3458 * gdb.base/batch-preserve-term-settings.exp
3459 (test_terminal_settings_preserved_after_cli_exit): New test.
3460
90074d11
PP
34612015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3462
3463 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3464 manipulation of saved_gdbflags.
3465 (test_terminal_settings_preserved): Remove global declaration of
3466 the unused variable pagination_prompt. Remove manipulation of
3467 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3468 GDBFLAGS.
3469
eb1a7902
PA
34702015-07-29 Pedro Alves <palves@redhat.com>
3471
3472 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3473
8b75dd3b
PA
34742015-07-29 Pedro Alves <palves@redhat.com>
3475
3476 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3477 at the top.
3478
dedad4e3
PA
34792015-07-29 Pedro Alves <palves@redhat.com>
3480
3481 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3482 (main): Call gdb_unbuffer_output.
3483 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3484 (main): Call gdb_unbuffer_output.
3485 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3486 (main): Call gdb_unbuffer_output.
3487 * gdb.base/call-strs.exp: Adjust to step over the
3488 gdb_unbuffer_output call.
3489 * gdb.base/catch-gdb-caused-signals.c: Include
3490 "../lib/unbuffer_output.c".
3491 (main): Call gdb_unbuffer_output.
3492 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3493 (main): Call gdb_unbuffer_output.
3494 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3495 (main): Call gdb_unbuffer_output.
3496 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3497 (main): Call gdb_unbuffer_output.
3498 * gdb.base/shlib-call.exp: Adjust to step over the
3499 gdb_unbuffer_output call.
3500 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3501 (main): Call gdb_unbuffer_output.
3502 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3503 (main): Call gdb_unbuffer_output.
3504 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3505 (main): Rename to ...
3506 (test): ... this.
3507 (main): Reimplement.
3508 * gdb.base/varargs.exp: Run to test instead of to main.
3509 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3510 (main): Call gdb_unbuffer_output.
3511
58789a91
PA
35122015-07-29 Pedro Alves <palves@redhat.com>
3513
3514 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3515 factore out from mi_continue_dprintf. For call-style dprintfs,
3516 expect dprintf output out of $inferior_spawn_id.
3517 (mi_continue_dprintf): Use mi_expect_dprintf.
3518 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3519 (main): Call gdb_unbuffer_output.
3520
e8376742
PA
35212015-07-29 Pedro Alves <palves@redhat.com>
3522
3523 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3524 (default_mi_gdb_start): Set inferior_spawn_id instead of
3525 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3526 gdb_spawn_id.
3527 (mi_gdb_test): Always expect inferior output from both
3528 $inferior_spawn_id and $gdb_spawn_id.
3529
08280010
PA
35302015-07-29 Pedro Alves <palves@redhat.com>
3531
3532 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3533 send_inferior and $inferior_spawn_id.
3534
4d30e432
PA
35352015-07-29 Pedro Alves <palves@redhat.com>
3536
3537 * gdb.gdb/complaints.exp (test_initial_complaints)
3538 (test_serial_complaints, test_short_complaints): Use
3539 gdb_test_stdio.
3540 (test_empty_complaint): Handle $inferior_spawn_id !=
3541 $gdb_spawn_id.
3542
0d30a335
PA
35432015-07-29 Pedro Alves <palves@redhat.com>
3544
3545 * gdb.base/varargs.exp: Use gdb_test_stdio.
3546
39413b29
PA
35472015-07-29 Pedro Alves <palves@redhat.com>
3548
3549 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3550
7cb000a9
PA
35512015-07-29 Pedro Alves <palves@redhat.com>
3552
3553 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3554
d7b8ac82
PA
35552015-07-29 Pedro Alves <palves@redhat.com>
3556
3557 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3558 parameter into two new parameters, "inf_result" and "gdb_result".
3559 Expect inferior output and gdb output from $inferior_spawn_id and
3560 $gdb_spawn_id, respectively. Adjust all callers.
3561
789c3a0c
PA
35622015-07-29 Pedro Alves <palves@redhat.com>
3563
3564 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3565 of gdb_test_sequence.
3566
77e760c3
PA
35672015-07-29 Pedro Alves <palves@redhat.com>
3568
3569 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3570 (saw_spurious_output): Expect inferior output from
3571 $inferior_spawn_id. Use gdb_test_stdio.
3572
8396d2cd
PA
35732015-07-29 Pedro Alves <palves@redhat.com>
3574
3575 * gdb.base/dprintf.exp: Use standard_testfile. Change
3576 prepare_for_testing call.
3577 (srcfile): Don't set.
3578 (restart): New procedure.
3579 (test_dprintf): New procecure, use to continue over dprintfs.
3580 (test_call, test_agent): New procedures, tests moved here.
3581 Restart gdb and recreate dprintfs. Adjust expected output.
3582
2051d61f
PA
35832015-07-29 Pedro Alves <palves@redhat.com>
3584
3585 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3586
452397af
PA
35872015-07-29 Pedro Alves <palves@redhat.com>
3588
3589 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3590
8aed9555
PA
35912015-07-29 Pedro Alves <palves@redhat.com>
3592
3593 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3594 gdb_test_stdio.
3595
188a61b4
PA
35962015-07-29 Pedro Alves <palves@redhat.com>
3597
3598 * lib/gdb.exp (gdb_test_stdio): New procedure.
3599
12264a45
PA
36002015-07-29 Pedro Alves <palves@redhat.com>
3601
3602 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3603
23ffc893
PA
36042015-07-29 Pedro Alves <palves@redhat.com>
3605
3606 * gdb.base/call-signal-resume.exp: Remove check for
3607 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3608 * gdb.base/unwindonsignal.exp: Likewise.
3609 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3610 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3611
65566918
PA
36122015-07-29 Pedro Alves <palves@redhat.com>
3613
3614 * gdb.base/siginfo-addr.c (pass): New function.
3615 (handler): Call it iff si_addr is correct.
3616 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3617 Set a breakpoint at "pass" and continue to it.
3618
d60a9221
SDJ
36192015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3620
3621 * gdb.python/py-objfile.exp: Make some tests have unique names.
3622 * gdb.python/py-pp-registration.exp: Likewise.
3623
bde40b8f
PA
36242015-07-28 Pedro Alves <palves@redhat.com>
3625
3626 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3627
13e1dec8
SM
36282015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3629
3630 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3631
da33c9a7
SM
36322015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3633
3634 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3635
077836f7
PP
36362015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3637
3638 * gdb.base/gdb-sigterm-2.exp: New test.
3639
b8cc7b2e
DE
36402015-07-25 Doug Evans <xdje42@gmail.com>
3641
3642 Revert:
3643 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3644 (workers/%.worker, build-perf): New rule.
3645 (GDB_PERFTEST_MODE): New variable.
3646 (check-perf): Use it.
3647 (clean): Clean up gdb.perf parallel build subdirs.
3648 * lib/build-piece.exp: New file.
3649 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3650 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3651 name.
3652 (standard_temp_file): Ditto.
3653 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3654 of $GDB_PARALLEL.
3655
c8bd4544
DE
36562015-07-24 Doug Evans <dje@google.com>
3657
3658 * gdb.perf/lib/perftest/utils.py: New file.
3659 * gdb.perf/gm-hello.cc: New file.
3660 * gdb.perf/gm-pervasive-typedef.cc: New file.
3661 * gdb.perf/gm-pervasive-typedef.h: New file.
3662 * gdb.perf/gm-std.cc: New file.
3663 * gdb.perf/gm-std.h: New file.
3664 * gdb.perf/gm-use-cerr.cc: New file.
3665 * gdb.perf/gm-utils.h: New file.
3666 * gdb.perf/gmonster-null-lookup.py: New file.
3667 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3668 * gdb.perf/gmonster-print-cerr.py: New file.
3669 * gdb.perf/gmonster-ptype-string.py: New file.
3670 * gdb.perf/gmonster-runto-main.py: New file.
3671 * gdb.perf/gmonster-select-file.py: New file.
3672 * gdb.perf/gmonster1-null-lookup.exp: New file.
3673 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3674 * gdb.perf/gmonster1-print-cerr.exp: New file.
3675 * gdb.perf/gmonster1-ptype-string.exp: New file.
3676 * gdb.perf/gmonster1-runto-main.exp: New file.
3677 * gdb.perf/gmonster1-select-file.exp: New file.
3678 * gdb.perf/gmonster1.cc: New file.
3679 * gdb.perf/gmonster1.exp: New file.
3680 * gdb.perf/gmonster2-null-lookup.exp: New file.
3681 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3682 * gdb.perf/gmonster2-print-cerr.exp: New file.
3683 * gdb.perf/gmonster2-ptype-string.exp: New file.
3684 * gdb.perf/gmonster2-runto-main.exp: New file.
3685 * gdb.perf/gmonster2-select-file.exp: New file.
3686 * gdb.perf/gmonster2.cc: New file.
3687 * gdb.perf/gmonster2.exp: New file.
3688
6eab34f3
DE
36892015-07-24 Doug Evans <dje@google.com>
3690
3691 * gdb.perf/README: New file.
3692 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3693 * lib/gen-perf-test.exp: New file.
3694
63738bfd
DE
36952015-07-24 Doug Evans <dje@google.com>
3696
3697 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3698 (PerfTest::startup): New function.
3699 (PerfTest::run): Return result of calling body.
3700 (PerfTest::assemble): Rewrite.
3701 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3702 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3703 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3704 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3705 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3706
7b606f95
DE
37072015-07-24 Doug Evans <dje@google.com>
3708
3709 * lib/gdb.exp (clean_restart): Make executable optional.
3710
a97b16b8
DE
37112015-07-24 Doug Evans <dje@google.com>
3712
3713 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3714 compiler_info references.
3715 * gdb.cp/temargs.exp: Ditto.
3716 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3717 (get_compiler_info): Early exit if already computed. Set compiler_info
3718 to "unknown" if there was a problem.
3719 (test_compiler_info): Add function comment. Call get_compiler_info.
3720
35baa57f
DE
37212015-07-24 Doug Evans <dje@google.com>
3722
3723 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3724 (workers/%.worker, build-perf): New rule.
3725 (GDB_PERFTEST_MODE): New variable.
3726 (check-perf): Use it.
3727 (clean): Clean up gdb.perf parallel build subdirs.
3728 * lib/build-piece.exp: New file.
3729 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3730 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3731 name.
3732 (standard_temp_file): Ditto.
3733 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3734 of $GDB_PARALLEL.
3735
6ebea266
DE
37362015-07-24 Doug Evans <dje@google.com>
3737
3738 * lib/future.exp (gdb_default_target_compile): New option
3739 "early_flags".
3740 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3741 --as-needed.
3742
1e76a7e9
SDJ
37432015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3744
3745 * gdb.base/catch-syscall.exp: Call gdb_exit before
3746 gdb_skip_xml_test.
3747
5068630a
PA
37482015-07-24 Pedro Alves <palves@redhat.com>
3749
3750 * gdb.python/py-events.exp: Accept output between the stop event
3751 and the prompt.
3752 * gdb.python/py-evsignal.exp: Likewise.
3753 * gdb.python/py-evthreads.exp: Likewise.
3754
77598427
PA
37552015-07-24 Pedro Alves <palves@redhat.com>
3756
3757 PR gdb/18717
3758 * gdb.threads/non-ldr-exit.c: New file.
3759 * gdb.threads/non-ldr-exit.exp: New file.
3760
11e6c98f
YQ
37612015-07-24 Yao Qi <yao.qi@linaro.org>
3762
3763 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3764 restarting process.
3765
51aee833
YQ
37662015-07-24 Yao Qi <yao.qi@linaro.org>
3767
3768 * gdb.server/ext-restart.exp: New file.
3769
8cfe207c
YQ
37702015-07-24 Yao Qi <yao.qi@linaro.org>
3771
3772 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3773 argument options.
3774 * gdb.server/ext-wrapper.exp: New file.
3775
cc12ce38
DE
37762015-07-23 Doug Evans <dje@google.com>
3777
3778 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3779 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3780
d0d84780
PMR
37812015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3782
3783 * gdb.ada/var_arr_typedef.exp: New testcase.
3784 * gdb.ada/var_arr_typedef/pack.adb: New file.
3785 * gdb.ada/var_arr_typedef/pack.ads: New file.
3786 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3787
8b558f79
JB
37882015-07-20 Joel Brobecker <brobecker@adacore.com>
3789
3790 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3791
775a3298
JK
37922015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3793
3794 * gdb.arch/i386-biarch-core.exp: Replace istarget
3795 by "complete set gnutarget". Remove expectation for the "core-file"
3796 command.
3797
db1ff28b
JK
37982015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3799
3800 Revert the previous commit:
3801 Tests for validate symbol file using build-id.
3802
0a94970d
JK
38032015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3804
3805 Tests for validate symbol file using build-id.
3806 * gdb.base/solib-mismatch-lib.c: New file.
3807 * gdb.base/solib-mismatch-libmod.c: New file.
3808 * gdb.base/solib-mismatch.c: New file.
3809 * gdb.base/solib-mismatch.exp: New file.
3810
03346981
SL
38112015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3812
3813 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3814 nios2-*-linux*.
3815 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3816 * gdb.base/siginfo.exp: Likewise.
3817 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3818
42422cc7
PL
38192015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3820
3821 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3822 Move it to ...
3823 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3824 ... here.
3825 * gdb.trace/range-stepping.exp: Check that the target supports
3826 range stepping.
3827
cfa68bae
JK
38282015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3829
3830 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3831
8ffdba26
PA
38322015-07-14 Pedro Alves <palves@redhat.com>
3833
3834 * gdb.base/killed-outside.exp: New file.
3835 * gdb.base/killed-outside.c: New file.
3836
218a5a11
JK
38372015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3838
3839 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3840 (n at main): New.
3841 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3842
e03ed3c6
AA
38432015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3844
3845 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3846 infcall tests instead of setting up for KFAIL.
3847
485668e5
MM
38482015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3849
3850 * gdb.btrace/record_goto-step.exp: New.
3851
08464196
JK
38522015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3853
3854 PR compile/18484
3855 * gdb.compile/compile.c (struct struct_type): Add volatile to
3856 selffield's type.
3857 * gdb.compile/compile.exp
3858 (compile code struct_object.selffield = &struct_object): Skip further
3859 struct_object tests if this one xfails.
3860
bcf5c1d9
RC
38612015-07-08 Robert O'Callahan <robert@ocallahan.org>
3862
3863 PR exp/18617
3864 * gdb.trace/ax.exp: Add test.
3865
4931af25
YQ
38662015-07-07 Yao Qi <yao.qi@linaro.org>
3867
3868 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3869 instead of istarget "aarch64*-*-*".
3870 * gdb.arch/aarch64-fp.exp: Likewise.
3871 * gdb.base/float.exp: Likewise.
3872 * gdb.reverse/aarch64.exp: Likewise.
3873 * lib/gdb.exp (is_aarch64_target): New proc.
3874
9fcf688e
YQ
38752015-07-07 Yao Qi <yao.qi@linaro.org>
3876
3877 * lib/gdb.exp (is_aarch32_target): New proc.
3878 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3879 instead of "istarget "arm*-*-*"".
3880 * gdb.arch/arm-disp-step.exp: Likewise.
3881 * gdb.arch/thumb-bx-pc.exp: Likewise.
3882 * gdb.arch/thumb-prologue.exp: Likewise.
3883 * gdb.arch/thumb-singlestep.exp: Likewise.
3884 * gdb.base/disp-step-syscall.exp: Likewise.
3885 * gdb.base/float.exp: Likewise.
3886
fbd8d50d
YQ
38872015-07-07 Yao Qi <yao.qi@linaro.org>
3888
3889 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3890 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3891
71be1fdc
YQ
38922015-07-07 Yao Qi <yao.qi@linaro.org>
3893
3894 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3895 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3896 if it exists.
3897 * gdb.multi/multi-arch.exp: Likewise.
3898
3e221d36
SM
38992015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3900
3901 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3902 print.
3903
d441430b
YQ
39042015-07-07 Yao Qi <yao.qi@linaro.org>
3905
3906 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3907
06f810bd
MG
39082015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3909
3910 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3911 '[' and ']' characters.
3912
5e61e7c0
IB
39132015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3914
3915 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3916
28bf096c
PA
39172015-06-29 Pedro Alves <palves@redhat.com>
3918
3919 PR threads/18127
3920 * gdb.threads/hand-call-new-thread.c: New file.
3921 * gdb.threads/hand-call-new-thread.c: New file.
3922
ee93cd5e
KS
39232015-06-26 Keith Seitz <keiths@redhat.com>
3924 Doug Evans <dje@google.com>
3925
3926 PR 16253
3927 * gdb.cp/var-tag-2.cc: New file.
3928 * gdb.cp/var-tag-3.cc: New file.
3929 * gdb.cp/var-tag-4.cc: New file.
3930 * gdb.cp/var-tag.cc: New file.
3931 * gdb.cp/var-tag.exp: New file.
3932
fc637f04
PP
39332015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3934
3935 * gdb.base/history-duplicates.exp: New test.
3936
2e52ae68
PP
39372015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3938
3939 * gdb.base/completion.exp: Test the completion of the "focus"
3940 command.
3941
6e22494e
JK
39422015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3943
3944 * gdb.arch/amd64-prologue-skip.S: New file.
3945 * gdb.arch/amd64-prologue-skip.exp: New file.
3946
bf7b9cd9
SM
39472015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3948
3949 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3950 is_address_zero_readable check.
3951
201e8dfd
PB
39522015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3953
3954 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3955 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3956
5cd867b4
YQ
39572015-06-24 Yao Qi <yao.qi@linaro.org>
3958
3959 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3960 linux targets.
3961
4d7be007
YQ
39622015-06-24 Yao Qi <yao.qi@linaro.org>
3963
3964 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3965 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3966 * gdb.base/siginfo-thread.exp: Likewise.
3967
07fcd301
YQ
39682015-06-22 Yao Qi <yao.qi@linaro.org>
3969
3970 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3971
52042a00
YQ
39722015-06-22 Yao Qi <yao.qi@linaro.org>
3973
3974 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3975 aarch64*-*-*.
3976 (skip_hw_watchpoint_tests): Likewise.
3977
74bd41ce
PP
39782015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3979
3980 * gdb.base/gdbinit-history.exp: Test the interaction between
3981 setting GDBHISTSIZE and setting the history size via .gdbinit.
3982
bc460514
PP
39832015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3984
3985 PR gdb/16999
3986 * gdb.base/gdbhistsize-history.exp: New test.
3987
b58c513b
PP
39882015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3989
3990 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3991 with GDBHISTSIZE.
3992 * gdb.base/readline.exp: Likewise.
3993
92046791
YQ
39942015-06-17 Yao Qi <yao.qi@linaro.org>
3995
3996 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3997 line.
3998
2093d2d3
PP
39992015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4000
4001 * gdb.base/gdbinit-history.exp: Add test case to check that
4002 an unlimited history file does not get truncated on exit.
4003
e6c693af
AA
40042015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4005
4006 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
4007 (VECTOR): New macro. Use it...
4008 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
4009 ...for these typedefs.
4010 (int8, char1, int1, double1): New typedefs.
4011 (struct just_int2, struct two_int2): New structures.
4012 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
4013 (add_structvecs, add_singlevecs): New functions.
4014 (main): Call add_some_intvecs twice.
4015 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
4016 the compile and exit upon failure. Try compiling for the "native"
4017 architecture. Test inferior function calls with vector arguments
4018 and vector return value handling with "finish" and "return".
4019
c74f7d1c
JT
40202015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
4021
4022 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
4023 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
4024 PE file.
4025 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
4026
98aa42ee
AT
40272015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
4028
4029 PR breakpoints/16465
4030 * gdb.mi/mi-dprintf-pending.c: New file.
4031 * gdb.mi/mi-dprintf-pending.exp: New test.
4032 * gdb.mi/mi-dprintf-pendshr.c: New file.
4033
7d73c23c 40342015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 4035 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
4036
4037 * gdb.arch/i386-mpx-map.c: New file.
4038 * gdb.arch/i386-mpx-map.exp: New File.
4039
40402015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4041
4042 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
4043 * gdb.arch/i386-mpx.exp: Indentation fixed.
4044
40452015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4046
4047 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
4048 function and improved indentation.
4049 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
4050 gdb_test_multiple. Added additional tests to skip the test.
4051
40522015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4053
4054 * gdb.arch/i386-avx512.c: Change path in include file.
4055 * gdb.arch/i386-avx512.exp: Change include dir path
4056 compilation flag.
4057 * gdb.arch/i386-mpx.c: Change path in include file.
4058 * gdb.arch/i386-mpx.exp: Change include dir path compilation
4059 flag.
4060
d5eba19a
JK
40612015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4062
4063 * gdb.compile/compile-print.exp (compile print *vararray@3)
4064 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
4065
7f361056
JK
40662015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4067
4068 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
4069 (do not keep jit in memory): ... this.
4070 (expect 5): Change it to ...
4071 (expect no 5): ... this.
4072
3b462ec2
SM
40732015-06-02 Simon Marchi <simon.marchi@ericsson.com>
4074
4075 PR gdb/15564
4076 * gdb.mi/mi-detach.exp: New file.
4077
e0619de6
JK
40782015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4079
4080 PR symtab/18392
4081 * gdb.arch/amd64-tailcall-self.S: New file.
4082 * gdb.arch/amd64-tailcall-self.c: New file.
4083 * gdb.arch/amd64-tailcall-self.exp: New file.
4084
e970cb34
DB
40852015-05-28 Don Breazeal <donb@codesourcery.com>
4086
4087 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
4088 tests for remote targets by checking is_target_gdbserver.
4089
b2e2f908
DE
40902015-05-27 Doug Evans <dje@google.com>
4091
4092 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
4093 * gdb.dwarf2/opaque-type-lookup.c: New file.
4094 * gdb.dwarf2/opaque-type-lookup.exp: New file.
4095
82c7be31
DE
40962015-05-26 Doug Evans <dje@google.com>
4097
4098 * gdb.cp/iostream.cc: New file.
4099 * gdb.cp/iostream.exp: New file.
4100
b4f54984
DE
41012015-05-26 Doug Evans <dje@google.com>
4102
4103 * gdb.dwarf2/dw2-op-call.exp: Update.
4104 * gdb.dwarf2/dw4-sig-types.exp: Update.
4105 * gdb.dwarf2/implptr.exp: Update.
4106 * gdb.mi/mi-cmd-param-changed.exp: Update.
4107
4ea6efe9
DE
41082015-05-26 Doug Evans <dje@google.com>
4109
4110 * gdb.python/py-lazy-string.c: New file.
4111 * gdb.python/py-lazy-string.exp: New file.
4112 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
4113 (main): Update. Add estring3.
4114 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
4115 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
4116
f6bb7db3
YQ
41172015-05-26 Omair Javaid <omair.javaid@linaro.org>
4118 Yao Qi <yao.qi@linaro.org>
4119
4120 * gdb.reverse/aarch64.c: New.
4121 * gdb.reverse/aarch64.exp: New.
4122
a81bfbd0
OJ
41232015-05-26 Omair Javaid <omair.javaid@linaro.org>
4124
25d49b86
PA
4125 * lib/gdb.exp (supports_process_record): Return true for
4126 aarch64*-linux*.
a81bfbd0
OJ
4127 (supports_reverse): Likewise.
4128
158bf1b4
PP
41292015-05-22 Patrick Palka <patrick@parcs.ath.cx>
4130
4131 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4132 Use with_test_prefix.
4133
a0145030
AB
41342015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
4135
4136 * gdb.base/completion.exp: Add test for completion of layout
4137 names.
4138
ebe3b578
AB
41392015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
4140
4141 * lib/gdb.exp (skip_tui_tests): New proc.
4142 * gdb.base/tui-layout.exp: Check skip_tui_tests.
4143
84204ed7
PA
41442015-05-19 Pedro Alves <palves@redhat.com>
4145
4146 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4147 Save the whole env array instead of just HOME. Unset HISTSIZE in
4148 the environment while testing. Restore whole environment
4149 afterwards.
4150
37442ce1
DE
41512015-05-16 Doug Evans <xdje42@gmail.com>
4152
4153 * gdb.guile/scm-ports.c: New file.
4154 * gdb.guile/scm-ports.exp: Add memory port tests.
4155
36de76f9
JK
41562015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4157
4158 * gdb.compile/compile-print.c: New file.
4159 * gdb.compile/compile-print.exp: New file.
4160
3a9558c4
JK
41612015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4162
4163 * gdb.compile/compile-ops.exp: Cast param to void.
4164 * gdb.compile/compile.exp: Complete type for _gdb_expr.
4165 (compile code struct_object.selffield = &struct_object): Add xfail.
4166
aa715135
JG
41672015-05-15 Joel Brobecker <brobecker@adacore.com>
4168
4169 * gdb.ada/arr_enum_with_gap: New testcase.
4170
931e5bc3
JG
41712015-05-15 Joel Brobecker <brobecker@adacore.com>
4172
4173 * gdb.ada/byte_packed_arr: New testcase.
4174
9cd4d857
JB
41752015-05-15 Joel Brobecker <brobecker@adacore.com>
4176
4177 * gdb.ada/pckd_neg: New testcase.
4178
ebfd00d2
PP
41792015-05-13 Patrick Palka <patrick@parcs.ath.cx>
4180
4181 PR gdb/17820
4182 * gdb.base/gdbinit-history.exp: New test.
4183 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
4184 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
4185
4c082a81
SC
41862015-05-09 Siva Chandra Reddy <sivachandra@google.com>
4187
4188 * gdb.python/py-xmethods.cc: Enhance test case.
4189 * gdb.python/py-xmethods.exp: New tests.
4190 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
4191 function.
4192 (B_indexoper): Likewise.
4193 (global_dm_list) : Add new xmethod worker functions.
4194
f7797074
SDJ
41952015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
4196
4197 * gdb.base/coredump-filter.exp: Correctly unset
4198 "coredump_var_addr" array.
4199
a4674e4e
PA
42002015-05-08 Pedro Alves <palves@redhat.com>
4201
4202 * gdb.server/non-existing-program.exp: Unset spawn_id.
4203
df2eb078
SC
42042015-05-08 Siva Chandra Reddy <sivachandra@google.com>
4205
4206 PR python/18291
4207 * gdb.python/py-xmethods.exp: Add tests.
4208
422349a3
YQ
42092015-05-08 Yao Qi <yao.qi@linaro.org>
4210
4211 PR gdb/18208
4212 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
4213 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
4214 function set_coredump_filter, and remove remote_exec call.
4215 Remove argument ipid. Callers update.
4216 (top level): Don't get inferior's PID.
4217
63fc80ce
AA
42182015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4219
4220 * gdb.base/watch_thread_num.exp: Skip test on targets without
4221 access watchpoints.
4222
80ad801e
PA
42232015-05-06 Pedro Alves <palves@redhat.com>
4224
4225 PR server/18081
4226 * gdb.server/non-existing-program.exp: New file.
4227
0fa7fe50
JB
42282015-05-05 Joel Brobecker <brobecker@adacore.com>
4229
4230 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4231
3ea89b92
PMR
42322015-05-05 Joel Brobecker <brobecker@adacore.com>
4233
4234 * gdb.ada/out_of_line_in_inlined: New testcase.
4235
87b8eff0
JB
42362015-05-05 Joel Brobecker <brobecker@adacore.com>
4237
4238 * gdb.ada/var_rec_arr: New testcase.
4239
5fccc635
YQ
42402015-04-30 Yao Qi <yao.qi@linaro.org>
4241
4242 * gdb.base/break-idempotent.exp: If
4243 skip_hw_watchpoint_multi_tests returns true, skip the tests
4244 on "rwatch" and "awatch".
4245
42d38f42
YQ
42462015-04-30 Yao Qi <yao.qi@linaro.org>
4247
4248 * gdb.base/relativedebug.exp: Invoke gdb command
4249 "info sharedlibrary", and if libc.so doesn't have debug info,
4250 skip the test.
4251
2ce1cdbf
DE
42522015-04-29 Doug Evans <dje@google.com>
4253
4254 * gdb.python/py-xmethods.exp: Add ptype tests.
4255 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4256 get_result_type method.
4257
f24a38c5
LM
42582015-04-29 Luis Machado <lgustavo@codesourcery.com>
4259
4260 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4261 the target does not support hardware watchpoints.
4262
ecbf2b3c
LM
42632015-04-29 Luis Machado <lgustavo@codesourcery.com>
4264
4265 * gdb.base/break-always.exp: Abort testing if writing to memory
4266 causes an error.
4267
34f5f757
DE
42682015-04-28 Doug Evans <dje@google.com>
4269
4270 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4271 * gdb.python/py-pp-registration.exp: ... here. New file.
4272 * gdb.python/py-pp-registration.c: New file.
4273 * gdb.python/py-pp-registration.py: New file.
4274
69b4374a
DE
42752015-04-28 Doug Evans <dje@google.com>
4276
4277 * gdb.python/py-bad-printers.c: New file.
4278 * gdb.python/py-bad-printers.py: New file.
4279 * gdb.python/py-bad-printers.exp: New file.
4280
59fb7612
SS
42812015-04-28 Sasha Smundak <asmundak@google.com>
4282
4283 * gdb.python/py-type.exp: New test.
4284
2631b16a
AW
42852015-04-28 Andy Wingo <wingo@igalia.com>
4286
4287 * gdb.python/py-parameter.exp:
4288 * gdb.guile/scm-parameter.exp: Escape the path that we are
4289 matching against, as it might contain characters that are special
4290 to regular expressions.
4291
460efde1
JB
42922015-04-27 Joel Brobecker <brobecker@adacore.com>
4293
4294 * gdb.ada/rec_comp: New testcase.
4295
2d369d8e
SDJ
42962015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4297
4298 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4299 before using it.
4300
cf75d6c3
AB
43012015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4302
4303 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4304 new tests for verilog output.
4305
8dbe7ca5
YQ
43062015-04-24 Yao Qi <yao.qi@linaro.org>
4307
4308 * boards/remote-gdbserver-on-localhost.exp: New file.
4309
4ef9fb2f
PA
43102015-04-23 Pedro Alves <palves@redhat.com>
4311
4312 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4313 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4314 "end of file", remove $inferior_spawn_id from the indirect list.
4315
0a803169
PA
43162015-04-23 Pedro Alves <palves@redhat.com>
4317
4318 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4319
749ef8f8
PA
43202015-04-23 Pedro Alves <palves@redhat.com>
4321
4322 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4323 on $any_spawn_id instead of only on $gdb_spawn_id.
4324
8aae4344
PM
43252015-04-21 Pierre Muller <muller@sourceware.org>
4326
4327 PR pascal/17815
4328 * lib/pascal.exp (gpc_compile): Add new option "class".
4329 (fpc_compile): Likewise.
4330 * gdb.pascal/case-insensitive-symbols.pas: New file.
4331 * gdb.pascal/case-insensitive-symbols.exp: New file.
4332
1586c8fb
GB
43332015-04-20 Gary Benson <gbenson@redhat.com>
4334
4335 * gdb.base/attach.exp: Fix three extended remote failures.
4336
1b6e6f5c
GB
43372015-04-17 Gary Benson <gbenson@redhat.com>
4338
4339 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4340 the main executable over the remote protocol.
4341
e797481d
PA
43422015-04-16 Pedro Alves <palves@redhat.com>
4343
4344 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4345 a new gdbserver if gdbserver_reconnect_p is set.
4346
1ca99c42
PA
43472015-04-16 Pedro Alves <palves@redhat.com>
4348
4349 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4350 is set, don't exit gdbserver.
4351
af9fd6f8
AA
43522015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4353
4354 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4355 appropriate .insn, such that an older assembler can be used.
4356 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4357 the z/Architecture instruction set on 31-bit targets as well.
4358
04ff1e61
AA
43592015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4360
4361 * gdb.go/handcall.exp: Remove all logic related to the first
4362 breakpoint and rely on go_runto_main instead.
4363 * gdb.go/strings.exp: Likewise.
4364 * gdb.go/unsafe.exp: Likewise.
4365 * gdb.go/hello.exp: Likewise. Also rename the remaining
4366 breakpoint marker to "breakpoint 1".
4367 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4368 * gdb.go/strings.go: Likewise.
4369 * gdb.go/unsafe.go: Likewise.
4370 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4371 "set breakpoint 2 here" and rename the remaining breakpoint marker
4372 to "breakpoint 1".
4373
40d2f8d6
SM
43742015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4375
4376 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4377 if itertools.imap is not present.
4378 * gdb.python/py-objfile.exp: Add parentheses.
4379 * gdb.python/py-type.exp: Same.
4380 * gdb.python/py-unwind-maint.py: Same.
4381
8cbc97c6
YQ
43822015-04-15 Yao Qi <yao.qi@linaro.org>
4383
4384 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4385 of ":$ptr_size" and set its form explicitly.
4386
45fd756c
YQ
43872015-04-15 Pedro Alves <palves@redhat.com>
4388 Yao Qi <yao.qi@linaro.org>
4389
4390 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4391 timeout by factor of 4.
4392 (test_regular_watch): Likewise.
4393 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4394 * gdb.reverse/sigall-reverse.exp: Likewise.
4395 * gdb.reverse/until-precsave.exp: Likewise.
4396 * lib/gdb.exp (with_timeout_factor): New proc.
4397 (gdb_expect): Move some code to ...
4398 (get_largest_timeout): ... here. New procedure.
4399
9e811bc3
LM
44002015-04-14 Luis Machado <lgustavo@codesourcery.com>
4401
4402 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4403
0ff6fcb2
LM
44042015-04-13 Luis Machado <lgustavo@codesourcery.com>
4405
4406 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4407 to write to the .text section.
4408
7578d5f7
LM
44092015-04-13 Luis Machado <lgustavo@codesourcery.com>
4410
4411 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4412 Handle the case of targets that do not provide PID information.
4413
2efe15c4
YQ
44142015-04-13 Yao Qi <yao.qi@linaro.org>
4415
4416 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4417 and use expect instead of gdb_expect.
4418
8cd8f2f8
SDJ
44192015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4420
4421 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4422 "coredump_var_addr" to avoid naming conflict with other testcases.
4423
9ee41772
PA
44242015-04-10 Pedro Alves <palves@redhat.com>
4425
4426 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4427 gdb_test_sequence and gdb_assert.
4428
07473109
PA
44292015-04-10 Pedro Alves <palves@redhat.com>
4430
4431 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4432 test messages that don't include the breakpoint address.
4433
de3db44c
YQ
44342015-04-10 Yao Qi <yao.qi@linaro.org>
4435
4436 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4437 false for some offset and width combinations which aren't
4438 supported by linux kernel.
4439
c79d856c
PA
44402015-04-10 Pedro Alves <palves@redhat.com>
4441
4442 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4443 procedure, factored out from ...
4444 (top level): ... here. Add "set displaced-stepping" testing axis.
4445 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4446 parameter "displaced". Use it.
4447 (top level): Use foreach and add "set displaced-stepping" testing
4448 axis.
4449
ebc90b50
PA
44502015-04-10 Pedro Alves <palves@redhat.com>
4451
4452 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4453 Remove comment.
4454 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4455 both the address of the instruction that triggers the watchpoint
4456 and the address of the instruction immediately after, and use
4457 those addresses for the test. Fix comment.
4458
8f572e5c
PA
44592015-04-10 Pedro Alves <palves@redhat.com>
4460
4461 * gdb.base/sigstep.exp (breakpoint_to_handler)
4462 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4463 Test "backtrace" in handler.
4464 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4465 (top level): Add new "displaced" test axis to
4466 breakpoint_to_handler, breakpoint_to_handler_entry and
4467 breakpoint_over_handler.
4468
8d707a12
PA
44692015-04-10 Pedro Alves <palves@redhat.com>
4470
4471 PR gdb/18216
4472 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4473
ef713951
YQ
44742015-04-10 Yao Qi <yao.qi@linaro.org>
4475
4476 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4477 (test_add_rn_pc): New function.
4478 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4479 (top level): Invoke test_add_rn_pc.
4480
906d60cf
PA
44812015-04-10 Pedro Alves <palves@redhat.com>
4482
4483 PR gdb/13858
4484 * gdb.base/step-over-no-symbols.exp: New file.
4485
f2983cc3
AW
44862015-04-09 Andy Wingo <wingo@igalia.com>
4487
4488 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4489 after the Python tests.
4490
6d62641c
SDJ
44912015-04-08 Keith Seitz <keiths@redhat.com>
4492
4493 PR python/16699
4494 * gdb.python/py-completion.exp: New tests for completion.
4495 * gdb.python/py-completion.py (CompleteLimit1): New class.
4496 (CompleteLimit2): Likewise.
4497 (CompleteLimit3): Likewise.
4498 (CompleteLimit4): Likewise.
4499 (CompleteLimit5): Likewise.
4500 (CompleteLimit6): Likewise.
4501 (CompleteLimit7): Likewise.
4502
f3770638
PA
45032015-04-08 Pedro Alves <palves@redhat.com>
4504
4505 PR gdb/18214
4506 PR gdb/18216
4507 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4508 function.
4509 (main): Install it as SIGUSR1 handler.
4510 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4511 parameter. Always use "setup" as prefix. Toggle "set
4512 displaced-stepping" off/on depending on global. Don't switch to
4513 thread 1 here.
4514 (top level): Add displaced stepping "off/on" test axis. Update
4515 "setup" calls. Wrap each subtest with with_test_prefix. Test
4516 continuing with a queued signal in each thread.
4517
4496bed7
PA
45182015-04-08 Pedro Alves <palves@redhat.com>
4519
4520 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4521 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4522 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4523 Return early if running to main fails.
4524 * gdb.trace/while-stepping.exp: Likewise.
4525
b97fde92
PA
45262015-04-07 Pedro Alves <palves@redhat.com>
4527
4528 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4529 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4530 interact with inferior program.
4531
f71c18e7
PA
45322015-04-07 Pedro Alves <palves@redhat.com>
4533
4534 * lib/gdb.exp (inferior_spawn_id): New global.
4535 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4536 spawn id after processing the user code.
4537 (default_gdb_start): Set inferior_spawn_id.
4538 (send_inferior): New procedure.
4539 * lib/gdbserver-support.exp (gdbserver_start): Set
4540 inferior_spawn_id.
4541 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4542
6423214f
PA
45432015-04-07 Pedro Alves <palves@redhat.com>
4544
4545 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4546 * lib/gdbserver-support.exp (gdbserver_start): Make
4547 $server_spawn_id global.
4548 (gdbserver_start): Don't wait for gdbserver's spawn id with
4549 expect_background.
4550 (close_gdbserver): New procedure.
4551 (gdb_exit): Rename the default version and reimplement.
4552
71c0ee8c
PA
45532015-04-07 Pedro Alves <palves@redhat.com>
4554
72f4393d 4555 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
4556 append the substituted item, not the original item.
4557
203bc29b
PA
45582015-04-07 Pedro Alves <palves@redhat.com>
4559
4560 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4561 gdb_expect.
4562
508a3ddf
PA
45632015-04-07 Pedro Alves <palves@redhat.com>
4564
4565 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4566 output appearing once only.
4567
9f6dbe2b
PA
45682015-04-07 Pedro Alves <palves@redhat.com>
4569
4570 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4571 that doesn't expect anything. Return early if running to main
4572 fails.
4573
337532fa
YQ
45742015-04-07 Yao Qi <yao.qi@linaro.org>
4575
4576 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4577 (child_function): Call alarm.
4578 (main): Move call to alarm into the loop.
4579 * gdb.threads/non-stop-fair-events.exp: Build program with
4580 -DTIMEOUT=$timeout.
4581
01b622d4
DE
45822015-04-06 Doug Evans <xdje42@gmail.com>
4583
4584 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4585 Fix dest parameter to board_info.
4586 (fpc_compile): Ditto.
4587 (gdb_compile_pascal): Rename dest arg to destfile.
4588
961f4160
PMR
45892015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4590
4591 * gdb.ada/funcall_ref.exp: New file.
4592 * gdb.ada/funcall_ref/foo.adb: New file.
4593
cafda597
YQ
45942015-04-02 Yao Qi <yao.qi@linaro.org>
4595
4596 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4597 is remote.
4598
fed040c6
GB
45992015-04-02 Gary Benson <gbenson@redhat.com>
4600
4601 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4602
d11916aa
SS
46032015-04-01 Sasha Smundak <asmundak@google.com>
4604
4605 * gdb.python/py-unwind-maint.c: New file.
4606 * gdb.python/py-unwind-maint.exp: New test.
4607 * gdb.python/py-unwind-maint.py: New file.
4608 * gdb.python/py-unwind.c: New file.
4609 * gdb.python/py-unwind.exp: New test.
4610 * gdb.python/py-unwind.py: New test.
4611
a1471180
PA
46122015-04-01 Pedro Alves <palves@redhat.com>
4613
4614 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4615 to fail instead of non-existent $test.
4616
0bbeccb1
PA
46172015-04-01 Pedro Alves <palves@redhat.com>
4618
4619 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4620 GDBFLAGS if not empty.
4621
3c724c8c
PMR
46222015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4623
4624 * gdb.ada/complete.exp: Remove "multi_line".
4625 * gdb.ada/info_exc.exp: Remove "multi_line".
4626 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4627 * gdb.ada/ptype_field.exp: Remove "multi_line".
4628 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4629 * gdb.ada/tagged.exp: Remove "multi_line".
4630 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4631 [multi_line ...]
4632 * gdb.btrace/delta.exp: Likewise.
4633 * gdb.btrace/exception.exp: Likewise.
4634 * gdb.btrace/function_call_history.exp: Likewise.
4635 * gdb.btrace/instruction_history.exp: Likewise.
4636 * gdb.btrace/nohist.exp: Likewise.
4637 * gdb.btrace/record_goto.exp: Likewise.
4638 * gdb.btrace/segv.exp: Likewise.
4639 * gdb.btrace/stepi.exp: Likewise.
4640 * gdb.btrace/tailcall.exp: Likewise.
4641 * gdb.btrace/unknown_functions.exp: Likewise.
4642 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4643 * lib/gdb.exp: Add the "multi_line" helper.
4644
4eec2deb
PA
46452015-04-01 Pedro Alves <palves@redhat.com>
4646
4647 * gdb.threads/tid-reuse.c: New file.
4648 * gdb.threads/tid-reuse.exp: New file.
4649
df8411da
SDJ
46502015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4651
4652 PR corefiles/16092
4653 * gdb.base/coredump-filter.c: New file.
4654 * gdb.base/coredump-filter.exp: Likewise.
4655
6ef37366
PM
46562015-03-27 Petr Machata <pmachata@redhat.com>
4657
4658 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4659 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4660 (Dwarf::assemble): Initialize them.
4661 (Dwarf::lines): New function.
4662
7ec911b0
JT
46632015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4664
4665 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4666 SYMBOL_PREFIX for x86_64-*-cygwin.
4667
ff908ebf
AW
46682015-03-26 Andy Wingo <wingo@igalia.com>
4669
4670 PR symtab/18148
4671 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4672 const_value but not a location.
4673 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4674 location defined in non-main CUs are visible.
4675
6d5f0679
YQ
46762015-03-26 Yao Qi <yao.qi@linaro.org>
4677
4678 PR testsuite/18139
4679 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4680 Add a line number entry for the same line.
4681 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4682 Add a line number entry for the same line.
4683
2898689b
YQ
46842015-03-26 Yao Qi <yao.qi@linaro.org>
4685
4686 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4687 .int 0.
4688 (func): Likewise. Add .Lfunc_1 label.
4689 Use .Lfunc_1 label.
4690 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4691 .int 0.
4692 (func): Likewise.
4693 Use .Lfunc_1 label.
4694
85180498
YQ
46952015-03-26 Yao Qi <yao.qi@linaro.org>
4696
4697 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4698 Call gdb_compile instead to compile each .s files without debug
4699 information.
4700
8aa08a8d
YQ
47012015-03-26 Yao Qi <yao.qi@linaro.org>
4702
4703 * gdb.base/savedregs.exp (process_saved_regs): Make
4704 "Saved registers:" optional in the pattern.
4705
66849923
MM
47062015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4707
4708 * gdb.btrace/next.exp: Merged into step.exp.
4709 * gdb.btrace/finish.exp: Merged into step.exp.
4710 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4711 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4712 "record goto" and checking the exact replay position.
4713 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4714 check for "Recording format" in "info record" output.
4715 * gdb.btrace/record_goto.exp: Choose test file based on target.
4716 * gdb.btrace/x86-record_goto.S: Renamed into ...
4717 * gdb.btrace/x86_64-record_goto.S: ... this.
4718 * gdb.btrace/i686-record_goto.S: New.
4719 * gdb.btrace/x86-tailcall.S: Renamed into ...
4720 * gdb.btrace/x86_64-tailcall.S: ... this.
4721 * gdb.btrace/i686-tailcall.S: New.
4722 * gdb.btrace/x86-tailcall.c: Renamed into ...
4723 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4724 separate statements. Update test.
4725 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4726 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4727 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4728 * gdb.btrace/tailcall.exp: Choose test file based on target.
4729 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4730
11cc1b74
MM
47312015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4732
4733 * gdb.btrace/exception.exp: Increase BTS buffer size.
4734
a25d8bf9
PA
47352015-03-24 Pedro Alves <palves@redhat.com>
4736
4737 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4738
856e7dd6
PA
47392015-03-24 Pedro Alves <palves@redhat.com>
4740
4741 * gdb.threads/schedlock.exp (test_step): No longer expect that
4742 "set scheduler-locking step" with "next" over a function call runs
4743 threads unlocked.
4744
ad235a41
AT
47452015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4746
4747 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4748
15630549
AT
47492015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4750
4751 PR breakpoints/16466
4752 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4753 * gdb.mi/mi-pending.c (thread_func): New function.
4754 (int main): Add threading support required.
4755 * gdb.mi/mi-pending.exp: Add tests for this issue.
4756 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4757 (pendfunc2): Remove stdio dependency.
4758 * gdb.mi/mi-pendshr2.c: New file.
4759
693dca06
KS
47602015-03-23 Keith Seitz <keiths@redhat.com>
4761
4762 * gdb.linespec/keywords.c: New file.
4763 * gdb.linespec/keywords.exp: New file.
4764
7e993ebf
KS
47652015-03-23 Keith Seitz <keiths@redhat.com>
4766
4767 PR gdb/18021
4768 * gdb.dwarf2/staticvirtual.exp: New test.
4769
bc23328c
JK
47702015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4771
4772 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4773 * README: Remove HP-UX and gdb.hp.
4774 (configuration):
4775 * configure: Regenerate.
4776 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4777 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4778 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4779 gdb.hp/gdb.defects/Makefile.
4780 * gdb.hp/Makefile.in: File deleted.
4781 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4782 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4783 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4784 * gdb.hp/gdb.aCC/run.c: File deleted.
4785 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4786 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4787 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4788 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4789 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4790 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4791 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4792 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4793 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4794 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4795 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4796 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4797 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4798 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4799 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4800 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4801 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4802 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4803 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4804 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4805 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4806 * gdb.hp/gdb.compat/average.c: File deleted.
4807 * gdb.hp/gdb.compat/sum.c: File deleted.
4808 * gdb.hp/gdb.compat/xdb.c: File deleted.
4809 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4810 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4811 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4812 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4813 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4814 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4815 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4816 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4817 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4818 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4819 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4820 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4821 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4822 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4823 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4824 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4825 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4826 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4827 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4828 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4829 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4830 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4831 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4832 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4833 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4834 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4835 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4836 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4837 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4838 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4839 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4840 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4841 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4842 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4843 * gdb.hp/tools/odump: File deleted.
4844
8bf3b159
PA
48452015-03-19 Pedro Alves <palves@redhat.com>
4846
4847 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4848 (saw_thread_3): New globals.
4849 (top level): Increment them when an event for the corresponding
4850 thread is seen.
4851 (no thread starvation): New test.
4852
eb54c8bf
PA
48532015-03-19 Pedro Alves <palves@redhat.com>
4854
4855 * gdb.threads/continue-pending-status.c: New file.
4856 * gdb.threads/continue-pending-status.exp: New file.
4857
32d2e5d6
PA
48582015-03-18 Pedro Alves <palves@redhat.com>
4859
4860 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4861 Use gdb_is_target_remote instead of is_remote. Use
4862 gdb_test_multiple instead of gdb_expect. Exit early if
4863 gdb_test_multiple hits its internal matches. Tighten stepi tests
4864 expected output. Fail on exit with any signal, instead of just
4865 SIGILL.
4866
f68f11b7
YQ
48672015-03-18 Yao Qi <yao.qi@linaro.org>
4868
4869 PR tdep/18107
4870 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4871 variable.
4872 * gdb.base/catch-syscall.exp: Don't skip it on
4873 aarch64*-*-linux* target. Remove elements in all_syscalls.
4874 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4875 target.
4876 (setup_all_syscalls): New proc.
4877
ca5fd19b
YQ
48782015-03-16 Yao Qi <yao.qi@linaro.org>
4879
4880 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4881 (top level): Skip tests if valid_addr_p returns false for
4882 $cmd1 or $cmd2.
4883
85642ba0
AW
48842015-03-11 Andy Wingo <wingo@igalia.com>
4885
4886 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4887
e03f9645
YQ
48882015-03-11 Yao Qi <yao.qi@linaro.org>
4889
4890 * gdb.base/catch-syscall.exp: Fix typo in comments.
4891
5d0962b2
YQ
48922015-03-11 Yao Qi <yao.qi@linaro.org>
4893
4894 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4895
b2df3cef
PA
48962015-03-09 Pedro Alves <palves@redhat.com>
4897
4898 * dg-extract-results.py: Delete.
4899
ef878e53
PA
49002015-03-09 Pedro Alves <palves@redhat.com>
4901
4902 Merge dg-extract-results.sh from GCC upstream (r218843).
4903
4904 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4905 * dg-extract-results.sh: Use --text with grep to avoid issues with
4906 binary files. Fall back to cat -v, if that doesn't work.
4907
9494d219
PA
49082015-03-05 Pedro Alves <palves@redhat.com>
4909
4910 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4911
a8d9763a
SM
49122015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4913
4914 * lib/mi-support.exp (mi_expect_interrupt): Accept
4915 alternative event for when in all-stop mode.
4916
be9957b8
PA
49172015-03-04 Pedro Alves <palves@redhat.com>
4918
4919 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4920
d57be0f4 49212015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
4922
4923 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4924
c214c7cf
AA
49252015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4926
4927 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4928 regexps for GDB's current line display, accept a hex address
4929 preceding the line number.
4930
6d74a497
AA
49312015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4932
4933 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4934 the 'arch1' variable for "s390*-linux*" targets.
4935
511aee7c
PA
49362015-03-04 Pedro Alves <palves@redhat.com>
4937
4938 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4939 (main): Pass missing retval argument to pthread_join call.
4940
95e50b27
PA
49412015-03-02 Pedro Alves <palves@redhat.com>
4942
4943 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4944 (top level): Call do_test with non-stop as well.
4945
28054d69
PA
49462015-03-02 Pedro Alves <palves@redhat.com>
4947
4948 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4949 -1.
4950
4fa5d7b4
AA
49512015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4952
4953 * gdb.arch/s390-vregs.exp: New test.
4954 * gdb.arch/s390-vregs.S: New file.
4955
97c18565
PA
49562015-02-27 Pedro Alves <palves@redhat.com>
4957
4958 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4959 call to catch_command_errors.
4960 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4961 catch_command_errors.
4962
a37bfa30
PA
49632015-02-27 Pedro Alves <palves@redhat.com>
4964
4965 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4966 "true" for boolean result.
4967 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4968 prototype of main.
4969
6f98576f
PA
49702015-02-27 Pedro Alves <palves@redhat.com>
4971
4972 * lib/unbuffer_output.c: New file.
4973 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4974 (main): Call gdb_unbuffer_output.
4975
eba5ab56
YQ
49762015-02-27 Yao Qi <yao.qi@linaro.org>
4977
4978 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4979 target.
4980
0def5aaa
DE
49812015-02-26 Doug Evans <dje@google.com>
4982
4983 * gdb.cp/class2.cc (Dbase, D): New classes.
4984 (main): New local delta.
4985 * gdb.cp/class2.exp: Test printing delta.
4986 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4987 (dynbar): New global.
4988 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4989
081a1c2c
JK
49902015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4991
4992 * gdb.compile/compile-ifunc.c: New file.
4993 * gdb.compile/compile-ifunc.exp: New file.
4994
2f41223f
AT
49952015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4996
4997 * gdb.base/structs.exp: Check for correct struct on finish.
4998
03eddd80
YQ
49992015-02-26 Yao Qi <yao.qi@linaro.org>
5000
5001 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
5002 is zero.
5003
80c57053
JK
50042015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5005
5006 * gdb.arch/cordic.ko.bz2: New file.
5007 * gdb.arch/cordic.ko.debug.bz2: New file.
5008 * gdb.arch/ppc64-symtab-cordic.exp: New file.
5009
21613c12
YQ
50102015-02-25 Yao Qi <yao.qi@linaro.org>
5011
5012 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
5013 aarch64*-*-* target.
5014
d8b901ed
PA
50152015-02-23 Pedro Alves <palves@redhat.com>
5016
5017 * lib/gdb.exp (delete_breakpoints): Rewrite using
5018 gdb_test_multiple.
5019
e5b85ead
PA
50202015-02-23 Pedro Alves <palves@redhat.com>
5021
5022 * gdb.base/info-os.c: Include stdlib.h.
5023
85c3a371
DE
50242015-02-22 Doug Evans <xdje42@gmail.com>
5025
5026 PR symtab/17855
5027 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
5028 is read after symbols have been re-read.
5029 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
5030 * gdb.ada/exec_changed/second.adb (Second): Ditto.
5031
96553a0c
DE
50322015-02-21 Doug Evans <dje@google.com>
5033
5034 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
5035
97a0c697
JK
50362015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5037
5038 PR corefiles/17808
5039 * gdb.arch/i386-biarch-core.core.bz2: New file.
5040 * gdb.arch/i386-biarch-core.exp: New file.
5041
a47cd6e9
PA
50422015-02-21 Pedro Alves <palves@redhat.com>
5043
5044 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
5045 runto_main fails.
5046
c5facdc4
PA
50472015-02-20 Pedro Alves <palves@redhat.com>
5048
5049 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
5050 info probes.
5051
2db9a427
PA
50522015-02-20 Pedro Alves <palves@redhat.com>
5053
5054 * gdb.threads/multi-create-ns-info-thr.exp: New file.
5055
60fb7e9e
PA
50562015-02-20 Pedro Alves <palves@redhat.com>
5057
5058 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
5059 clean_restart before gdb_target_supports_trace.
5060
5c5019c2
PA
50612015-02-20 Pedro Alves <palves@redhat.com>
5062
5063 PR threads/18006
5064 * gdb.threads/clone-thread_db.c: New file.
5065 * gdb.threads/clone-thread_db.exp: New file.
5066
c9587f88
AT
50672015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
5068
5069 PR breakpoints/16812
5070 * gdb.base/catch-gdb-caused-signals.c: New file.
5071 * gdb.base/catch-gdb-caused-signals.exp: New file.
5072
f6a88844
JM
50732015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
5074
5075 * configure: Regenerated.
5076 * configure.ac: Use GDB_AC_TRANSFORM.
5077 * aclocal.m4: sinclude ../transform.m4.
5078
497c491b
JM
50792015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5080
5081 * lib/dtrace.exp: New file.
5082 * gdb.base/dtrace-probe.exp: Likewise.
5083 * gdb.base/dtrace-probe.d: Likewise.
5084 * gdb.base/dtrace-probe.c: Likewise.
5085 * lib/pdtrace.in: Likewise.
5086 * configure.ac: Output variables with the transformed names of
5087 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
5088 * configure: Regenerated.
5089
03e98035
JM
50902015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5091
5092 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
5093 expected message when trying to access $_probe_* convenience
5094 variables while not on a probe.
5095
63cc30e9
JK
50962015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5097
5098 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
5099
0703599a
PA
51002015-02-11 Pedro Alves <pedro@codesourcery.com>
5101
5102 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
5103 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
5104
7e60a48e
DE
51052015-02-10 Doug Evans <xdje42@gmail.com>
5106
5107 * lib/gdb.exp (gdb_load): Always return a result.
5108
01b088bc
PA
51092015-02-10 Pedro Alves <palves@redhat.com>
5110
5111 * gdb.threads/signal-sigtrap.c: New file.
5112 * gdb.threads/signal-sigtrap.exp: New file.
5113
b05ec7a5
AT
51142015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
5115
5116 * gdb.trace/no-attach-trace.c: New file.
5117 * gdb.trace/no-attach-trace.exp: New file.
5118
a2c2acaf
MW
51192015-02-09 Mark Wielaard <mjw@redhat.com>
5120
5121 * gdb.dwarf2/atomic.c: New file.
5122 * gdb.dwarf2/atomic-type.exp: Likewise.
5123
31fd9caa
MM
51242015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5125
5126 * gdb.btrace/buffer-size.exp: Update "info record" output.
5127 * gdb.btrace/delta.exp: Update "info record" output.
5128 * gdb.btrace/enable.exp: Update "info record" output.
5129 * gdb.btrace/finish.exp: Update "info record" output.
5130 * gdb.btrace/instruction_history.exp: Update "info record" output.
5131 * gdb.btrace/next.exp: Update "info record" output.
5132 * gdb.btrace/nexti.exp: Update "info record" output.
5133 * gdb.btrace/step.exp: Update "info record" output.
5134 * gdb.btrace/stepi.exp: Update "info record" output.
5135 * gdb.btrace/nohist.exp: Update "info record" output.
5136
d33501a5
MM
51372015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5138
5139 * gdb.btrace/buffer-size: New.
5140
f4abbc16
MM
51412015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5142
5143 * gdb.btrace/delta.exp: Update "info record" output.
5144 * gdb.btrace/enable.exp: Update "info record" output.
5145 * gdb.btrace/finish.exp: Update "info record" output.
5146 * gdb.btrace/instruction_history.exp: Update "info record" output.
5147 * gdb.btrace/next.exp: Update "info record" output.
5148 * gdb.btrace/nexti.exp: Update "info record" output.
5149 * gdb.btrace/step.exp: Update "info record" output.
5150 * gdb.btrace/stepi.exp: Update "info record" output.
5151 * gdb.btrace/nohist.exp: Update "info record" output.
5152
b9d61307
SM
51532015-02-06 Simon Marchi <simon.marchi@ericsson.com>
5154
5155 PR gdb/15678
5156 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
5157
e584fdbc
PA
51582015-02-06 Pedro Alves <palves@redhat.com>
5159
5160 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
5161 macro.
5162 (seconds_left, again): New globals.
5163 (main): Wait seconds_left in a 1-second sleep loop instead of
5164 sleeping 180 seconds. If 'again' is set, reset the seconds
5165 counter.
5166 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
5167 'again' in the inferior before detaching. Print the seconds left.
5168 (options): New global.
5169 (top level): Build program with -DTIMEOUT=$timeout.
5170
77f41761
PA
51712015-02-06 Pedro Alves <palves@redhat.com>
5172
5173 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
5174 determine how many seconds to pass to 'alarm'.
5175 * gdb.base/gdb-sigterm.exp (top level): Build program with
5176 -DTIMEOUT=$timeout.
5177 (do_test): Return success/failure indication. Add more verbose
5178 logging. Don't fail if 200 single steps are seen. Instead, fail
5179 when the test times out.
5180 (passes): New global.
5181 (top level): Break the testing loop if testing fails on any
5182 iteration. Use gdb_assert.
5183
b9394193
DB
51842015-02-04 Don Breazeal <donb@codesourcery.com>
5185
5186 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
5187 and initialize them.
5188 (ipc_cleanup): New function.
5189 (main): Don't declare shmid, semid, and msqid. Add a call to
5190 atexit so that we call ipc_cleanup on exit.
5191
42d9e528
PA
51922015-02-04 Pedro Alves <palves@redhat.com>
5193
5194 * boards/native-extended-gdbserver.exp: Remove any target variant
5195 specifications from the board name before clearing the isremote
5196 flag from board_info.
5197
ae6ae975
DE
51982015-01-31 Doug Evans <xdje42@gmail.com>
5199
5200 * gdb.base/maint.exp <maint print type argc>: Update expected output.
5201
cfb069a8
GB
52022015-01-31 Gary Benson <gbenson@redhat.com>
5203
5204 * gdb.base/completion.exp: Disable completion limiting for
5205 existing tests. Add new tests to check completion limiting.
5206 * gdb.linespec/ls-errs.exp: Disable completion limiting.
5207
5dd31d79
DE
52082015-01-31 Doug Evans <xdje42@gmail.com>
5209
5210 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
5211
9f050062
DE
52122015-01-31 Doug Evans <xdje42@gmail.com>
5213
5214 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
5215 entries. Duplicate file section script entries.
5216 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
5217 inlined entries. Add test for safe-path rejection.
5218 * gdb.python/py-section-script.c: Add duplicate inlined section script
5219 entries. Duplicate file section script entries.
5220 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5221 inlined entries. Add test for safe-path rejection.
5222
df25ebbd
JB
52232015-01-29 Joel Brobecker <brobecker@adacore.com>
5224
5225 * gdb.ada/disc_arr_bound: New testcase.
5226
4a0ca9ec
JB
52272015-01-29 Joel Brobecker <brobecker@adacore.com>
5228
5229 * gdb.ada/mi_var_array: New testcase.
5230
3a8b707a
DE
52312015-01-27 Doug Evans <dje@google.com>
5232
5233 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5234 Add test for objfile.filename, objfile.username after objfile
5235 has been unloaded.
5236
f8313f6e
JB
52372015-01-26 Joel Brobecker <brobecker@adacore.com>
5238
5239 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5240 the second test to print the name attribute of value
5241 returned by the call to gdb.lookup_type, and adjust
5242 the expected output accordingly.
5243
37bc665e
MW
52442015-01-25 Mark Wielaard <mjw@redhat.com>
5245
5246 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5247 * gdb.base/disp-step-fork.c: Include unistd.h.
5248 * gdb.base/siginfo-obj.c: Include stdio.h.
5249 * gdb.base/siginfo-thread.c: Likewise.
5250 * gdb.mi/non-stop.c: Include unistd.h.
5251 * gdb.mi/nsthrexec.c: Include stdio.h.
5252 * gdb.mi/pthreads.c: Include unistd.h.
5253 * gdb.modula2/unbounded1.c (main): Declare returns int.
5254 * gdb.reverse/consecutive-reverse.c: Likewise.
5255 * gdb.threads/create-fail.c: Include unistd.h.
5256 * gdb.threads/killed.c: Likewise.
5257 * gdb.threads/linux-dp.c: Likewise.
5258 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5259 * gdb.threads/non-ldr-exc-2.c: Likewise.
5260 * gdb.threads/non-ldr-exc-3.c: Likewise.
5261 * gdb.threads/non-ldr-exc-4.c: Likewise.
5262 * gdb.threads/pthreads.c: Include unistd.h.
5263 (main): Declare returns int.
5264 * gdb.threads/tls-main.c (foo): New declaration.
5265 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5266
f7e5394d
SM
52672015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5268
5269 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5270 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5271
743649fd
MW
52722015-01-15 Mark Wielaard <mjw@redhat.com>
5273
5274 * gdb.base/noreturn-return.c: New file.
5275 * gdb.base/noreturn-return.exp: New file.
5276 * gdb.base/noreturn-finish.c: New file.
5277 * gdb.base/noreturn-finish.exp: New file.
5278
198297aa
PA
52792015-01-23 Pedro Alves <palves@redhat.com>
5280
5281 * gdb.threads/continue-pending-after-query.c: New file.
5282 * gdb.threads/continue-pending-after-query.exp: New file.
5283
717cf30c
AG
52842015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5285 Simon Marchi <simon.marchi@ericsson.com>
5286
5287 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5288 * gdb.base/valgrind-db-attach.exp: Same.
5289 * gdb.base/valgrind-infcall.exp: Same.
5290 * lib/mi-support.exp (default_mi_gdb_start): Same.
5291 * lib/prompt.exp (default_prompt_gdb_start): Same.
5292 * lib/gdb.exp (default_gdb_spawn): Same.
5293 (gdb_interact): New.
5294
5295
4b62a76e
JK
52962015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5297
5298 * gdb.compile/compile.exp (pointer to jit function): New test.
5299
b4cdae6f
WW
53002015-01-17 Wei-cheng Wang <cole945@gmail.com>
5301
5302 * lib/gdb.exp (supports_process_record): Return true for
5303 powerpc*-*-linux*.
5304 (supports_reverse): Likewise.
5305
d221e7ef
DB
53062015-01-15 Don Breazeal <donb@codesourcery.com>
5307
5308 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5309 instead of checking whether the target board is remote and
5310 use spawn_wait_for_attach instead of exec/sleep.
5311 * gdb.base/attach-twice.exp: Likewise.
5312
bafffb51
JB
53132015-01-15 Joel Brobecker <brobecker@adacore.com>
5314
5315 * gdb.ada/var_arr_attrs: New testcase.
5316
5589af0e
PA
53172015-01-14 Pedro Alves <palves@redhat.com>
5318 Joel Brobecker <brobecker@adacore.com>
5319
5320 PR gdb/17525
5321 * gdb.base/bp-cmds-execution-x-script.c: New file.
5322 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5323 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5324
6c400b59
PA
53252015-01-14 Pedro Alves <palves@redhat.com>
5326
5327 PR cli/17828
5328 * gdb.base/batch-preserve-term-settings.c: New file.
5329 * gdb.base/batch-preserve-term-settings.exp: New file.
5330
e02c96a7
DE
53312015-01-13 Doug Evans <dje@google.com>
5332
5333 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5334 binary.
5335
576fd14c
JB
53362015-01-13 Joel Brobecker <brobecker@adacore.com>
5337
5338 * Makefile.in (clean mostlyclean): Do not delete *.py.
5339
04dccad0
JB
53402015-01-13 Joel Brobecker <brobecker@adacore.com>
5341
5342 * gdb.python/py-lookup-type.exp: New file.
5343
3d230f71
PA
53442015-01-12 Pedro Alves <palves@redhat.com>
5345
5346 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5347 restore GDBFLAGS before returning.
5348
7e67715d
JK
53492015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5350
5351 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5352 is_amd64_regs_target and is_x86_like_target.
5353
f2e0d4b4
DE
53542015-01-11 Doug Evans <xdje42@gmail.com>
5355
5356 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5357 is given without an explicit form.
5358 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5359 attributes.
5360 * gdb.dwarf/corrupt.exp: Ditto.
5361 * gdb.dwarf2/enum-type.exp: Ditto.
5362 * gdb.trace/entry-values.exp: Ditto.
5363 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5364
439250fb
DE
53652015-01-11 Doug Evans <xdje42@gmail.com>
5366
5367 PR gdb/15830
5368 * gdb.base/maint.exp: Remove references to "maint demangle".
5369 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5370 Add tests for explicitly specifying language to demangle.
5371 * gdb.dlang/demangle.exp: Ditto.
5372
ede9f622
PA
53732015-01-09 Pedro Alves <palves@redhat.com>
5374
5375 * gdb.threads/non-stop-fair-events.c: New file.
5376 * gdb.threads/non-stop-fair-events.exp: New file.
5377
a7b796db
PA
53782015-01-09 Pedro Alves <palves@redhat.com>
5379
5380 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5381 the global scope. Set a breakpoint after all threads are started
5382 rather than stepping over two source lines. Expect the prompt.
5383 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5384 global.
5385 (NUM): Now 15.
5386 (main): Use threads_started_barrier to wait for all threads to
5387 start. Main thread no longer calls thread_function. Exit after
5388 180 seconds.
5389 (loop): New function.
5390 (thread_function): Wait on threads_started_barrier barrier. Call
5391 'loop' at each iteration.
5392 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5393 threads have started, instead of hardcoding number of "next"
5394 steps. Use an access watchpoint instead of a write watchpoint.
5395
9665ffdd
PA
53962015-01-09 Pedro Alves <palves@redhat.com>
5397
5398 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5399 (thread_func): Wait on barrier.
5400 (main): Wait for all threads to start before stopping GDB.
5401 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5402 global.
5403 (thread1_func, thread2_func): Wait on barrier.
5404 (main): Wait for all threads to start before stopping GDB.
5405 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5406 New global.
5407 (thread1_func, thread2_func): Wait on barrier.
5408 (main): Wait for all threads to start before stopping GDB.
5409
c945a99f
PA
54102015-01-09 Pedro Alves <palves@redhat.com>
5411
5412 * gdb.threads/attach-many-short-lived-threads.c: New file.
5413 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5414
c1a747c1
PA
54152014-01-09 Pedro Alves <palves@redhat.com>
5416
5417 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5418 instead of to thread 2.
5419 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5420 Add barrier around each pthread_create call instead of around all
5421 calls.
5422 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5423 Set a break on thread_function and have the child threads hit it
5424 one at at a time.
5425
60b3033e
PA
54262015-01-09 Pedro Alves <palves@redhat.com>
5427
5428 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5429 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5430 false.
5431 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5432 checking whether the target board is remote.
5433 * gdb.multi/multi-attach.exp: Likewise.
5434 * gdb.python/py-sync-interp.exp: Likewise.
5435 * gdb.server/ext-attach.exp: Likewise.
5436 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5437 tests that need to attach, instead of checking whether the target
5438 board is remote at the top of the file.
5439
acc018ac
YQ
54402015-01-08 Yao Qi <yao@codesourcery.com>
5441
5442 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5443
50a18af8
JK
54442015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5445
5446 Fix testcase compilation.
5447 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5448
8503d6e1
JB
54492015-01-06 Joel Brobecker <brobecker@adacore.com>
5450
5451 * gdb.python/py-type.exp: Add a couple test about empty
5452 array creation, and negative-length array creation.
5453
cc73dbcc
DE
54542015-01-02 Doug Evans <xdje42@gmail.com>
5455
5456 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5457
0300bbc7
DE
54582015-01-02 Doug Evans <dje@google.com>
5459
5460 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5461
9d85a0ec
YQ
54622014-12-29 Yao Qi <yao@codesourcery.com>
5463
5464 * gdb.trace/entry-values.exp: Update comments. Rename variable
5465 bar_call_foo to returned_from_foo.
5466
87186c6a
MMN
54672014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5468
5469 PR gdb/17394
5470 * gdb.linespec/break-asm-file.c: New file.
5471 * gdb.linespec/break-asm-file.exp: New file.
5472 * gdb.linespec/break-asm-file0.s: New file.
5473 * gdb.linespec/break-asm-file1.s: New file.
5474
1bab7383
YQ
54752014-12-18 Nigel Stephens <nigel@mips.com>
5476 Maciej W. Rozycki <macro@codesourcery.com>
5477
5478 * gdb.base/float.exp: Handle the new output from "info float" on
5479 MIPS targets.
5480
1bc1068a
JK
54812014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5482
5483 Fix MinGW compilation.
5484 * gdb.compile/compile-ops.exp: Update untested message if
5485 !skip_compile_feature_tests.
5486 * gdb.compile/compile-setjmp.exp: Likewise.
5487 * gdb.compile/compile-tls.exp: Likewise.
5488 * gdb.compile/compile.exp: Likewise.
5489 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5490 supported on this host".
5491
b6615d10
DE
54922014-12-16 Doug Evans <xdje42@gmail.com>
5493
5494 * boards/stabs.exp: New file.
5495
25dda427
AA
54962014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5497
5498 * gdb.base/completion.exp: Adjust to format changes of "maint
5499 print user-registers".
5500
bf330350
CU
55012014-12-16 Catalin Udma <catalin.udma@freescale.com>
5502
5503 PR server/17457
5504 * gdb.arch/aarch64-fp.c: New file.
5505 * gdb.arch/aarch64-fp.exp: New file.
5506
395cf596
SDJ
55072014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5508
5509 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5510 r210637, r210913, r211666, r215400, r215817).
5511
5512 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5513 * dg-extract-results.py: New file.
5514 * dg-extract-results.sh: Use it if the environment seems
5515 suitable.
5516
5517 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5518
5519 * dg-extract-results.py (parse_run): Handle warnings that
5520 are printed before a test harness is run.
5521
5522 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5523
5524 * dg-extract-results.py (Named): Remove __cmp__ method.
5525 (output_variation): Use a key to sort variation.harnesses.
5526
5527 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5528
5529 * dg-extract-results.py: For Python 3, force sys.stdout to
5530 handle surrogate escape sequences.
5531 (safe_open): New function.
5532 (output_segment, main): Use it.
5533
5534 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5535
5536 * dg-extract-results.py (Prog.result_re): Include options
5537 in test name.
5538
5539 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5540
5541 * dg-extract-results.py (output_variation): Always sort if
5542 do_sum.
5543
e882ef3c
SM
55442014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5545
5546 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5547 as long as we get pagination notifications.
5548
4992aa20
JM
55492014-12-15 Jason Merrill <jason@redhat.com>
5550
5551 * Makefile.in (check-gdb.%): Restore.
5552 * README: Mention it.
5553
c1b5a1a6
JB
55542014-12-13 Joel Brobecker <brobecker@adacore.com>
5555
5556 * gdb.ada/str_uninit: New testcase.
5557
5537b577
JK
55582014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5559
5560 PR symtab/17642
5561 * gdb.base/vla-stub-define.c: New file.
5562 * gdb.base/vla-stub.c: New file.
5563 * gdb.base/vla-stub.exp: New file.
5564
bb2ec1b3
TT
55652014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5566 Jan Kratochvil <jan.kratochvil@redhat.com>
5567 Tom Tromey <tromey@redhat.com>
5568
5569 * configure.ac: Add gdb.compile/.
5570 * configure: Regenerate.
5571 * gdb.compile/Makefile.in: New file.
5572 * gdb.compile/compile-ops.exp: New file.
5573 * gdb.compile/compile-ops.c: New file.
5574 * gdb.compile/compile-tls.c: New file.
5575 * gdb.compile/compile-tls.exp: New file.
5576 * gdb.compile/compile-constvar.S: New file.
5577 * gdb.compile/compile-constvar.c: New file.
5578 * gdb.compile/compile-mod.c: New file.
5579 * gdb.compile/compile-nodebug.c: New file.
5580 * gdb.compile/compile-setjmp-mod.c: New file.
5581 * gdb.compile/compile-setjmp.c: New file.
5582 * gdb.compile/compile-setjmp.exp: New file.
5583 * gdb.compile/compile-shlib.c: New file.
5584 * gdb.compile/compile.c: New file.
5585 * gdb.compile/compile.exp: New file.
5586 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5587
4ff709eb
TT
55882014-12-12 Tom Tromey <tromey@redhat.com>
5589
5590 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5591 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5592
6dddd6a5
DE
55932014-12-12 Doug Evans <dje@google.com>
5594
5595 * lib/gdb-python.exp (get_python_valueof): New function.
5596 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5597
71c24708
AA
55982014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5599
5600 * gdb.base/completion.exp: Add test for completion of "info
5601 registers ".
5602
3e29f34a
MR
56032014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5604
5605 * gdb.base/func-ptrs.c: New file.
5606 * gdb.base/func-ptrs.exp: New file.
5607
fc126975
SM
56082014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5609
5610 PR breakpoints/17012
5611 * gdb.base/dprintf-detach.c: New file.
5612 * gdb.base/dprintf-detach.exp: New file.
5613
0a46d518
SM
56142014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5615
5616 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5617 * lib/gdb.exp (target_is_gdbserver): New procedure.
5618
a0be3e44
DE
56192014-12-08 Doug Evans <dje@google.com>
5620
5621 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5622
df1b803a
YQ
56232014-12-05 Yao Qi <yao@codesourcery.com>
5624
5625 * gdb.guile/scm-error.exp: Remove the third argument to
5626 gdb_remote_download.
5627 * gdb.guile/scm-frame-args.exp: Likewise.
5628 * gdb.guile/scm-section-script.exp: Likewise.
5629
ddb9f679
YQ
56302014-12-05 Yao Qi <yao@codesourcery.com>
5631
5632 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5633
86e4ed39
DE
56342014-12-04 Doug Evans <dje@google.com>
5635
5636 * gdb.python/py-objfile.exp: Add tests for
5637 objfile.add_separate_debug_file.
5638
7c50a931
DE
56392014-12-04 Doug Evans <dje@google.com>
5640
5641 * lib/gdb.exp (get_build_id): New function.
5642 (build_id_debug_filename_get): Rewrite to use it.
5643 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5644
621661e3
MR
56452014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5646
5647 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5648 `method(long)', not just 0x0.
5649 * gdb.cp/nsalias.exp: Align code labels to 4.
5650 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5651 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5652 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5653 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5654 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5655 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5656
29f0c3b7
DE
56572014-12-02 Doug Evans <dje@google.com>
5658
e1e061e7 5659 PR symtab/17602
29f0c3b7 5660 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 5661 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
5662 * gdb.cp/anon-ns.exp: Update.
5663
162078c8
NB
56642014-12-02 Nick Bull <nicholaspbull@gmail.com>
5665
5666 * gdb.python/py-events.py (inferior_call_handler): New.
5667 (register_changed_handler, memory_changed_handler): New.
5668 (test_events.invoke): Register new handlers.
5669 * gdb.python/py-events.exp: Add tests for inferior call,
5670 memory_changed and register_changed events.
5671
fdb09caf
AA
56722014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5673
5674 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5675 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5676 if the linker doesn't understand this.
5677
55cfb2c4
SM
56782014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5679
5680 * gdb.python/python.exp: Change expected reply to help().
5681
9e8cd6df
YQ
56822014-12-01 Yao Qi <yao@codesourcery.com>
5683
5684 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5685 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5686 * configure: Re-generated.
5687
6c659fc2
SC
56882014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5689
5690 * gdb.cp/chained-calls.cc: New file.
5691 * gdb.cp/chained-calls.exp: New file.
5692 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5693
d7fc3181
SM
56942014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5695
5696 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5697 * gdb.dwarf2/symtab-producer.exp: Same.
5698 * gdb.gdb/python-interrupts.exp: Same.
5699 * gdb.gdb/python-selftest.exp: Same.
5700 * gdb.python/py-linetable.exp: Same.
5701 * gdb.python/py-type.exp: Same.
5702 * gdb.python/py-value-cc.exp: Same.
5703 * gdb.python/py-value.exp: Same.
5704
10e79639
YQ
57052014-11-28 Yao Qi <yao@codesourcery.com>
5706
5707 * gdb.base/break-probes.exp: Match library name prefixed with
5708 sysroot.
5709
f28a0564
SM
57102014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5711
5712 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5713 test expected output. Add parentheses for the call to print.
5714 Remove L suffix from integers.
5715
3fe1ce1d
DE
57162014-11-26 Doug Evans <dje@google.com>
5717
5718 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5719
84429e27
YQ
57202014-11-22 Yao Qi <yao@codesourcery.com>
5721
5722 * gdb.trace/entry-values.c: Remove asms.
5723 (foo): Add foo_label.
5724 (bar): Add bar_label.
5725 * gdb.trace/entry-values.exp: Remove code computing foo's
5726 length and bar's length.
5727 (Dwarf::assemble): Invoke function_range for bar and use
5728 MACRO_AT_func for foo.
5729
26741859
YQ
57302014-11-22 Yao Qi <yao@codesourcery.com>
5731
5732 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5733 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5734 Use .Lgcc43_procstart instead of gcc43.
5735
45e44d27
JB
57362014-11-21 Joel Brobecker <brobecker@adacore.com>
5737
5738 * gdb.ada/n_arr_bound: New testcase.
5739
458c8db8
SDJ
57402014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5741
5742 PR breakpoints/10737
5743 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5744 test_catch_syscall_multi_arch.
5745 (test_catch_syscall_multi_arch): New function.
5746
43f3e411
DE
57472014-11-20 Doug Evans <xdje42@gmail.com>
5748
5749 * gdb.base/maint.exp: Update expected output.
5750
0d7b2549
AA
57512014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5752
5753 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5754 4-byte instruction on S390.
5755
8908fca5
JB
57562014-11-19 Joel Brobecker <brobecker@adacore.com>
5757
5758 * gdb.ada/arr_arr: New testcase.
5759
4a46959e
JB
57602014-11-19 Joel Brobecker <brobecker@adacore.com>
5761
5762 * gdb.ada/pkd_arr_elem: New Testcase.
5763
470e2f4e
LM
57642014-11-18 Luis Machado <lgustavo@codesourcery.com>
5765
5766 * gdb.reverse/break-precsave: Expect completion message for
5767 core file reads.
5768 * gdb.reverse/consecutive-precsave.exp: Likewise.
5769 * gdb.reverse/finish-precsave.exp: Likewise.
5770 * gdb.reverse/i386-precsave.exp: Likewise.
5771 * gdb.reverse/machinestate-precsave.exp: Likewise.
5772 * gdb.reverse/sigall-precsave.exp: Likewise.
5773 * gdb.reverse/solib-precsave.exp: Likewise.
5774 * gdb.reverse/step-precsave.exp: Likewise.
5775 * gdb.reverse/until-precsave.exp: Likewise.
5776 * gdb.reverse/watch-precsave.exp: Likewise.
5777
a267f3ad
AA
57782014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5779
5780 * gdb.base/bp-permanent.c: Include unistd.h.
5781 * gdb.python/py-framefilter-mi.c (main): Add return type.
5782 * gdb.python/py-framefilter.c (main): Likewise.
5783 * gdb.trace/actions-changed.c (main): Likewise.
5784
12084a9a
AA
57852014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5786
5787 * gdb.mi/until.c: Add eye-catchers.
5788 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5789 line numbers.
5790
dc7e1a77
AA
57912014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5792
5793 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5794 function header variants in break1.c.
5795 * gdb.base/ena-dis-br.exp: Likewise.
5796 * gdb.base/hbreak2.exp: Likewise.
5797 * gdb.reverse/until-precsave.exp: Drop references to removed
5798 non-prototype function header variants in ur1.c.
5799 * gdb.reverse/until-reverse.exp: Likewise.
5800
41c77605
PM
58012014-11-17 Petr Machata <pmachata@redhat.com>
5802
5803 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5804 ${_cu_offset_size} bytes abbrev offset.
5805
34248c3a
DE
58062014-11-15 Doug Evans <xdje42@gmail.com>
5807
5808 PR symtab/17559
5809 * gdb.base/line-symtabs.exp: New file.
5810 * gdb.base/line-symtabs.c: New file.
5811 * gdb.base/line-symtabs.h: New file.
5812
646da059
YQ
58132014-11-14 Yao Qi <yao@codesourcery.com>
5814
5815 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5816 (func): Add label func_label.
5817 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5818 Replace low_pc and high_pc with MACRO_AT_range.
5819 Replace name, low_pc and high_pc with MACRO_AT_func.
5820
9301ebe6
YQ
58212014-11-14 Yao Qi <yao@codesourcery.com>
5822
5823 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5824 Replace name, low_pc and high_pc with MACRO_AT_func.
5825
f166b542
YQ
58262014-11-14 Yao Qi <yao@codesourcery.com>
5827
5828 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5829 produce debug information.
5830 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5831
0f6e71e3
YQ
58322014-11-14 Yao Qi <yao@codesourcery.com>
5833
5834 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5835 object and get function length.
5836 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5837 with MACRO_AT_func.
5838 (top-level): Replace gdb_compile and clean_restart with
5839 prepare_for_testing.
5840 * gdb.dwarf2/main.c (main): Add label main_label.
5841
876c4df9
YQ
58422014-11-14 Yao Qi <yao@codesourcery.com>
5843
5844 * lib/dwarf.exp (function_range): New procedure.
5845 (Dwarf::_handle_macro_at_func): New procedure.
5846 (Dwarf::_handle_macro_at_range): New procedure.
5847 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5848
02ad9cf1
YQ
58492014-11-14 Yao Qi <yao@codesourcery.com>
5850
5851 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5852 (_handle_attribute): New procedure.
5853
a59add0c
AA
58542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5855
5856 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5857 * gdb.base/call-sc.c (zed): Likewise.
5858 * gdb.base/checkpoint.c (main): Likewise.
5859 * gdb.base/dump.c (main): Likewise.
5860 * gdb.base/gcore.c (main): Likewise.
5861 * gdb.base/huge.c (main): Likewise.
5862 * gdb.base/multi-forks.c (main): Likewise.
5863 * gdb.base/pr10179-a.c (main): Likewise.
5864 * gdb.base/savedregs.c (main): Likewise.
5865 * gdb.base/sigaltstack.c (main): Likewise.
5866 * gdb.base/siginfo.c (main): Likewise.
5867 * gdb.base/structs.c (zed): Likewise.
5868 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5869 * gdb.mi/mi-syn-frame.c (main): Likewise.
5870 * gdb.mi/until.c (foo, main): Likewise.
5871 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5872 * gdb.base/solib-weak.c (foo): Declare.
5873 * gdb.base/attach-twice.c: Include stdio.h.
5874 * gdb.base/weaklib1.c: Likewise.
5875 * gdb.base/weaklib2.c: Likewise.
5876 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5877 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5878 unistd.h.
5879 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5880 * gdb.mi/mi-exit-code.c: Likewise.
5881 * gdb.base/break-interp-lib.c: Include string.h.
5882 * gdb.base/coremaker.c: Likewise.
5883 * gdb.base/testenv.c: Likewise.
5884 * gdb.python/py-finish-breakpoint.c: Likewise.
5885 * gdb.base/inferior-died.c: Include sys/wait.h.
5886 * gdb.base/fileio.c: Include time.h.
5887 * gdb.base/async-shell.c: Include unistd.h.
5888 * gdb.base/dprintf-non-stop.c: Likewise.
5889 * gdb.base/info-os.c: Likewise.
5890 * gdb.mi/mi-console.c: Likewise.
5891 * gdb.mi/watch-nonstop.c: Likewise.
5892 * gdb.python/py-events.c: Likewise.
5893 * gdb.base/async.c (baz): Move up before its invocation.
5894 * gdb.base/code_elim2.c (my_global_func): Likewise.
5895 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5896 * gdb.base/advance.c (func2): Likewise.
5897
3b5d5997
AA
58982014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5899
5900 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5901 variant.
5902 * gdb.base/annota3.c: Likewise.
5903 * gdb.base/async.c: Likewise.
5904 * gdb.base/average.c: Likewise.
5905 * gdb.base/call-ar-st.c: Likewise.
5906 * gdb.base/call-rt-st.c: Likewise.
5907 * gdb.base/call-sc.c: Likewise.
5908 * gdb.base/call-strs.c: Likewise.
5909 * gdb.base/ending-run.c: Likewise.
5910 * gdb.base/execd-prog.c: Likewise.
5911 * gdb.base/exprs.c: Likewise.
5912 * gdb.base/foll-exec.c: Likewise.
5913 * gdb.base/foll-fork.c: Likewise.
5914 * gdb.base/foll-vfork.c: Likewise.
5915 * gdb.base/funcargs.c: Likewise.
5916 * gdb.base/gcore.c: Likewise.
5917 * gdb.base/jump.c: Likewise.
5918 * gdb.base/langs0.c: Likewise.
5919 * gdb.base/langs1.c: Likewise.
5920 * gdb.base/langs2.c: Likewise.
5921 * gdb.base/mips_pro.c: Likewise.
5922 * gdb.base/nodebug.c: Likewise.
5923 * gdb.base/opaque0.c: Likewise.
5924 * gdb.base/opaque1.c: Likewise.
5925 * gdb.base/recurse.c: Likewise.
5926 * gdb.base/run.c: Likewise.
5927 * gdb.base/scope0.c: Likewise.
5928 * gdb.base/scope1.c: Likewise.
5929 * gdb.base/setshow.c: Likewise.
5930 * gdb.base/setvar.c: Likewise.
5931 * gdb.base/shmain.c: Likewise.
5932 * gdb.base/shr1.c: Likewise.
5933 * gdb.base/shr2.c: Likewise.
5934 * gdb.base/sigall.c: Likewise.
5935 * gdb.base/signals.c: Likewise.
5936 * gdb.base/so-indr-cl.c: Likewise.
5937 * gdb.base/solib2.c: Likewise.
5938 * gdb.base/structs.c: Likewise.
5939 * gdb.base/sum.c: Likewise.
5940 * gdb.base/vforked-prog.c: Likewise.
5941 * gdb.base/watchpoint.c: Likewise.
5942 * gdb.reverse/shr2.c: Likewise.
5943 * gdb.reverse/until-reverse.c: Likewise.
5944 * gdb.reverse/ur1.c: Likewise.
5945 * gdb.reverse/watch-reverse.c: Likewise.
5946
066a77c5
AA
59472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5948
5949 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5950 variant.
5951 * gdb.base/sepdebug.exp: Drop references to removed code.
5952
4f204ea5
AA
59532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5954
5955 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5956 variant. Preserve original line numbering.
5957 * gdb.base/list1.c: Likewise.
5958
3b377a3a
AA
59592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5960
5961 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5962 variant.
5963 * gdb.base/break1.c: Likewise.
5964 * gdb.base/break.exp: Drop references to removed code.
5965
e444df73
AA
59662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5967
5968 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5969 variant.
5970
8008f2a7
AA
59712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5972
5973 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5974
a5a06887
AA
59752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5976
5977 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5978 logic into perform_all_tests() and invoke it with and without
5979 function header prototypes.
5980 (do_function_calls): Remove conditional XFAIL for PR 5318.
5981 (rerun_and_prepare): Remove duplicate code.
5982 (perform_all_tests): New. Main logic moved here.
5983
44dba9b9
AA
59842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5985
5986 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5987 code guarded by #ifdef NO_PROTOTYPES.
5988 (t_double_many_args): Likewise.
5989 (DEF_FUNC_MANY_ARGS_1): Likewise.
5990 (DEF_FUNC_VALUES_1): Likewise.
5991 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5992 guarded by #ifdef PROTOTYPES.
5993
d1fbcd56
AA
59942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5995
5996 * gdb.mi/mi-console.c: Add eye-catcher.
5997 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5998 instead of literal line number.
5999
b0e59b8f
AA
60002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6001
6002 * gdb.base/shr2.c: Add eye-catcher.
6003 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
6004 line number.
6005
78f98cca
AA
60062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6007
6008 * gdb.base/jump.c: Add eye-catchers.
6009 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
6010 numbers.
6011
58fa2af0
AA
60122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6013
6014 * gdb.base/execd-prog.c: Add eye-catchers.
6015 * gdb.base/foll-exec.c: Likewise.
6016 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
6017 line numbers.
6018
04e5059b
AA
60192014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6020
6021 * gdb.base/ending-run.c: Add eye-catchers.
6022 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
6023 literal line numbers.
6024
dbfdb174
AA
60252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6026
6027 * gdb.base/call-rt-st.c: Add eye-catchers.
6028 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
6029 literal line numbers.
6030
888a2ade
AA
60312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6032
6033 * gdb.base/call-ar-st.c: Add eye-catchers.
6034 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
6035 literal line numbers.
6036
6acc2dde
AA
60372014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6038
6039 * gdb.base/average.c: Add eye-catchers.
6040 * gdb.base/sum.c: Likewise.
6041 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
6042 regexps dynamically.
6043
9ecfcd1d
AA
60442014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6045
6046 * gdb.base/solib1.c: Add eye-catchers.
6047 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
6048 literal line numbers.
6049
78708b7c
PA
60502014-11-12 Pedro Alves <palves@redhat.com>
6051
6052 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
6053 leader has exited.
6054
af48d08f
PA
60552014-11-12 Pedro Alves <palves@redhat.com>
6056
6057 * gdb.arch/i386-bp_permanent.c: New file.
6058 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
6059 (srcfile): Set to i386-bp_permanent.c.
6060 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
6061 that stepi does not execute the 'leave' instruction, instead of
6062 testing it does execute.
6063 * gdb.base/bp-permanent.c: New file.
6064 * gdb.base/bp-permanent.exp: New file.
6065
af3768e9
DE
60662014-11-10 Doug Evans <xdje42@gmail.com>
6067
6068 PR symtab/17564
6069 * gdb.base/symtab-search-order.exp: New file.
6070 * gdb.base/symtab-search-order.c: New file.
6071 * gdb.base/symtab-search-order-1.c: New file.
6072 * gdb.base/symtab-search-order-shlib-1.c: New file.
6073
9de00a4a
PA
60742014-11-07 Pedro Alves <palves@redhat.com>
6075
6076 PR gdb/17511
6077 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
6078 i?86-*-linux*.
6079
e0f52461
SC
60802014-11-03 Siva Chandra Reddy <sivachandra@google.com>
6081
6082 PR c++/17494
6083 * gdb.cp/pr17494.cc: New file.
6084 * gdb.cp/pr17494.exp: New file.
6085
6ce8c980
YQ
60862014-11-02 Yao Qi <yao@codesourcery.com>
6087
6088 * gdb.python/python.exp: Get working directory and match the
6089 output of "set extended-prompt \\w " with it.
6090
02be9a71
DE
60912014-10-30 Doug Evans <dje@google.com>
6092
6093 * gdb.python/py-objfile.exp: Add tests for setting random attributes
6094 in objfiles.
6095 * gdb.python/py-progspace.exp: Add tests for setting random attributes
6096 in progspaces.
6097
3bdff46b
LM
60982014-10-30 Janis Johnson <janisjo@codesourcery.com>
6099
6100 * gdb.base/fullpath-expand.exp: Skip for a remote host.
6101 * gdb.base/realname-expand.exp: Likewise.
6102 * gdb.linespec/macro-relative.exp: Likewise.
6103
ab917dfb
PA
61042014-10-29 Pedro Alves <palves@redhat.com>
6105
6106 PR gdb/17408
6107 * gdb.threads/schedlock.c (some_function): New function.
6108 (call_function): New global.
6109 (MAYBE_CALL_SOME_FUNCTION): New macro.
6110 (thread_function): Call it.
6111 * gdb.threads/schedlock.exp (get_args): Add description parameter,
6112 and use it instead of a global counter. Adjust all callers.
6113 (get_current_thread): Use "find current thread" for test message
6114 here rather than having all callers pass down the same string.
6115 (goto_loop): New procedure, factored out from ...
6116 (my_continue): ... this.
6117 (step_ten_loops): Change parameter from test message to command to
6118 use. Adjust.
6119 (list_count): Delete global.
6120 (check_result): New procedure, factored out from duplicate top
6121 level code.
6122 (continue tests): Wrap in with_test_prefix.
6123 (test_step): New procedure, factored out from duplicate top level
6124 code.
6125 (top level): Test "step" in combination with all scheduler-locking
6126 modes. Test "next" in combination with all scheduler-locking
6127 modes, and in combination with stepping over a function call or
6128 not.
6129 * gdb.threads/next-bp-other-thread.c: New file.
6130 * gdb.threads/next-bp-other-thread.exp: New file.
6131
d3d4baed
PA
61322014-10-29 Pedro Alves <palves@redhat.com>
6133
6134 PR python/17372
6135 * gdb.python/python.exp: Test a multi-line command that spawns
6136 interactive Python.
6137 * gdb.base/multi-line-starts-subshell.exp: New file.
6138
563e8d85
YQ
61392014-10-29 Yao Qi <yao@codesourcery.com>
6140
6141 * gdb.base/fileio.exp: Make directories on host.
6142
0ea4d52e
YQ
61432014-10-29 Yao Qi <yao@codesourcery.com>
6144
6145 * gdb.base/fileio.c (test_write): Close the file.
6146
7f5ef605
PA
61472014-10-28 Pedro Alves <palves@redhat.com>
6148
6149 PR gdb/12623
6150 * gdb.base/sigstep.c (no_handler): New global.
6151 (main): If 'no_handler is true, set the signal handlers to
6152 SIG_IGN.
6153 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
6154 with_sw_watch and no_handler parameters. Handle them.
6155 (top level) <stepping over handler when stopped at a breakpoint
6156 test>: Add a test axis for testing with a software watchpoint, and
6157 another for testing with the signal handler set to SIG_IGN.
6158 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
6159 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
6160
abbdbd03
PA
61612014-10-28 Pedro Alves <palves@redhat.com>
6162
6163 PR gdb/17511
6164 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
6165 * gdb.base/sigstep.exp (other_handler_location): New global.
6166 (advance): Support stepping into the signal handler, and running
6167 commands while in the handler.
6168 (in_handler_map): New global.
6169 (top level): In the advance test, add combinations for getting
6170 into the handler with stepping commands, and for running commands
6171 in the handler. Add comment descripting the advancei tests.
6172
1df4399f
PA
61732014-10-28 Pedro Alves <palves@redhat.com>
6174
6175 * gdb.base/sigstep.exp: Use build_executable instead of
6176 prepare_for_testing.
6177 (top level): Move code that starts GDB, runs to main and creates a
6178 display to ...
6179 (restart): ... this new procedure.
6180 (top level): Move backtrace from signal handler test to ...
6181 (validate_backtrace): ... this new procedure.
6182 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
6183 with_test_prefix. Always restart GDB.
6184 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
6185 with_test_prefix. Always restart GDB. No need to delete
6186 breakpoints after the test.
6187 (test_skip_handler): Remove prefix parameter.
6188 (skip_over_handler, breakpoint_to_handler)
6189 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
6190 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
6191 restart GDB. No need to delete breakpoints after the test.
6192 (top level): Use foreach to call the test procedures with
6193 different commands.
6194
a5b6e449
PA
61952014-10-28 Pedro Alves <palves@redhat.com>
6196
6197 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
6198 instead of GNATS numbers.
6199 * gdb.base/sigbpt.exp: Likewise.
6200 * gdb.base/siginfo.exp: Likewise.
6201 * gdb.base/sigstep.exp: Likewise.
6202
e5f8a7cc
PA
62032014-10-27 Pedro Alves <palves@redhat.com>
6204
6205 * gdb.base/sigstep.c (dummy): New global.
6206 (main): Issue a couple writes to the new global.
6207 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
6208 procedures.
6209 (skip_over_handler): Use test_skip_handler.
6210 (top level): Call skip_over_handler for stepi and nexti too.
6211 (breakpoint_over_handler): Use test_skip_handler.
6212 (top level): Call breakpoint_over_handler for stepi and nexti too.
6213
763905a3
YQ
62142014-10-27 Yao Qi <yao@codesourcery.com>
6215
6216 * gdb.trace/tfile.c (adjust_function_address)
6217 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6218 function descriptor.
6219
6f259a23
DB
62202014-10-24 Don Breazeal <donb@codesourcery.com>
6221
6222 * gdb.base/foll-fork.exp (test_follow_fork,
6223 catch_fork_child_follow): Check for updated fork messages emitted
6224 from infrun.c.
6225 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6226 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6227 vfork_and_exec_child_follow_through_step): Check for updated vfork
6228 messages emitted from infrun.c.
6229
09dd9a69
PA
62302014-10-24 Pedro Alves <palves@redhat.com>
6231
6232 * gdb.base/corefile.exp: Remove references to ultrix.
6233 * gdb.base/interrupt.exp: Likewise.
6234 * gdb.base/whatis.exp: Likewise.
6235 * gdb.gdb/selftest.exp: Likewise.
6236 * gdb.threads/manythreads.exp: Likewise.
6237 * gdb.threads/print-threads.exp: Likewise.
6238 * gdb.threads/pthreads.exp:: Likewise.
6239 * gdb.threads/schedlock.exp: Likewise.
6240
3433cfa5
SC
62412014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6242
6243 * gdb.cp/non-trivial-retval.cc: Add a test case.
6244 * gdb.cp/non-trivial-retval.exp: Add a test.
6245
092f880b
YQ
62462014-10-20 Yao Qi <yao@codesourcery.com>
6247
6248 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6249 * gdb.python/py-objfile-script-gdb.py: New file.
6250 * gdb.python/py-objfile-script.exp: Update reference to
6251 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6252 of remote_download. Remove the dest file.
6253
acbdb7f3
YQ
62542014-10-20 Yao Qi <yao@codesourcery.com>
6255
6256 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6257 * gdb.base/step-line.exp: Likewise.
6258 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6259 * gdb.dwarf2/dw2-basic.exp: Likewise.
6260 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6261 * gdb.dwarf2/dw2-filename.exp: Likewise.
6262 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6263 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6264 * gdb.dwarf2/dw2-producer.exp: Likewise.
6265 * gdb.dwarf2/mac-fileno.exp: Likewise.
6266 * gdb.python/py-frame-args.exp: Likewise.
6267 * gdb.python/py-framefilter.exp: Likewise.
6268 * gdb.python/py-mi.exp: Likewise.
6269 * gdb.python/py-objfile-script.exp: Likewise
6270 * gdb.python/py-pp-integral.exp: Likewise.
6271 * gdb.python/py-pp-re-notag.exp: Likewise.
6272 * gdb.python/py-prettyprint.exp: Likewise.
6273 * gdb.python/py-section-script.exp: Likewise.
6274 * gdb.python/py-typeprint.exp: Likewise.
6275 * gdb.python/py-xmethods.exp: Likewise.
6276 * gdb.stabs/weird.exp: Likewise.
6277 * gdb.xml/tdesc-regs.exp: Likewise.
6278
bd286a29
KCY
62792014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6280
6281 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6282 (out_cu): Use addr_len for the size of addresses.
6283 (out_line): Likewise. Size DW_LNE_set_address instruction
6284 according to addr_len.
6285 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6286 (FUNC): Add START_INSNS to definition.
6287
673dc4a0
YQ
62882014-10-18 Yao Qi <yao@codesourcery.com>
6289
6290 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6291 gdb_has_argv0 return true.
6292 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6293 check [target_info exists noargs], check [gdb_has_argv0]
6294 instead.
6295 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6296 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6297 procedures.
6298
4ffbba72
DE
62992014-10-17 Doug Evans <dje@google.com>
6300
6301 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6302 event.
6303 * gdb.python/py-events.py: Add clear_objfiles event.
6304
d096d8c1
DE
63052014-10-17 Doug Evans <dje@google.com>
6306
6307 * gdb.python/py-objfile.exp: Test progspace attribute.
6308
a80db015
LM
63092014-10-17 Luis Machado <lgustavo@codesourcery.com>
6310
6311 * gdb.guile/scm-breakpoint.exp: Do not assume any
6312 directory separators when matching source file paths.
6313 * gdb.python/py-breakpoint.exp: Likewise.
6314 * gdb.reverse/break-precsave.exp: Likewise.
6315 * gdb.reverse/break-reverse.exp: Likewise.
6316 * gdb.reverse/consecutive-precsave.exp: Likewise.
6317 * gdb.reverse/finish-precsave.exp: Likewise.
6318 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6319 * gdb.reverse/finish-reverse.exp: Likewise.
6320 * gdb.reverse/i386-precsave.exp: Likewise.
6321 * gdb.reverse/i387-env-reverse.exp: Likewise.
6322 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6323 * gdb.reverse/machinestate-precsave.exp: Likewise.
6324 * gdb.reverse/machinestate.exp: Likewise.
6325 * gdb.reverse/sigall-precsave.exp: Likewise.
6326 * gdb.reverse/solib-precsave.exp: Likewise.
6327 * gdb.reverse/step-precsave.exp: Likewise.
6328 * gdb.reverse/until-precsave.exp: Likewise.
6329 * gdb.reverse/watch-precsave.exp: Likewise.
6330 * gdb.reverse/watch-reverse.exp: Likewise.
6331
b22089ab
YQ
63322014-10-17 Yao Qi <yao@codesourcery.com>
6333
6334 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6335 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6336
6c4486e6
PA
63372014-10-17 Pedro Alves <palves@redhat.com>
6338
6339 PR gdb/17471
6340 * gdb.base/bg-execution-repeat.c: New file.
6341 * gdb.base/bg-execution-repeat.exp: New file.
6342
0ff33695
PA
63432014-10-17 Pedro Alves <palves@redhat.com>
6344
6345 PR gdb/17300
6346 * gdb.base/continue-all-already-running.c: New file.
6347 * gdb.base/continue-all-already-running.exp: New file.
6348
6fdebc3d
PA
63492014-10-17 Pedro Alves <palves@redhat.com>
6350
6351 PR gdb/17472
6352 * gdb.base/annota-input-while-running.c: New file.
6353 * gdb.base/annota-input-while-running.exp: New file.
6354
32a8097b
PA
63552014-10-17 Pedro Alves <palves@redhat.com>
6356
6357 * gdb.base/callfuncs.exp: emove references to osf.
6358 * gdb.base/sigall.exp: Likewise.
6359 * gdb.gdb/selftest.exp: Likewise.
6360 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6361 * gdb.mi/non-stop.c: Likewise.
6362 * gdb.mi/pthreads.c: Likewise.
6363 * gdb.reverse/sigall-precsave.exp: Likewise.
6364 * gdb.reverse/sigall-reverse.exp: Likewise.
6365 * gdb.threads/pthreads.c: Likewise.
6366 * gdb.threads/pthreads.exp: Likewise.
6367
7a3517ff
YQ
63682014-10-17 Yao Qi <yao@codesourcery.com>
6369
6370 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6371 check 'target_info exists noargs'.
6372 (test_command_prompt_position): Likewise.
6373 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6374 Remove "set args".
6375 (progvar_simple_while_test): Likewise.
6376 (progvar_complex_if_while_test): Likewise.
6377 (if_while_breakpoint_command_test): Likewise.
6378 (infrun_breakpoint_command_test): Likewise.
6379 (breakpoint_command_test): Likewise.
6380 (watchpoint_command_test): Likewise.
6381 (bp_deleted_in_command_test): Likewise.
6382 (temporary_breakpoint_commands): Likewise.
6383
bb99c472
YQ
63842014-10-16 Yao Qi <yao@codesourcery.com>
6385
6386 * gdb.base/remotetimeout.exp: Remove noargs checking.
6387
7c16b83e
PA
63882014-10-15 Pedro Alves <palves@redhat.com>
6389
6390 PR breakpoints/9649
6391 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6392 * gdb.base/breakpoint-in-ro-region.exp
6393 (probe_target_hardware_step): New procedure.
6394 (top level): Probe hardware stepping and hardware breakpoint
6395 support. Test stepping through a read-only region, with both
6396 "breakpoint auto-hw" on and off and both "always-inserted" on and
6397 off.
6398
35a49624
IB
63992014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6400
6401 * gdb.dlang/demangle.exp: Update for demangling changes.
6402
2d1c107c
SC
64032014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6404
6405 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6406 * gdb.cp/non-trivial-retval.exp: Add new tests.
6407
778811d5
SC
64082014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6409
6410 PR c++/13403
6411 PR c++/15154
6412 * gdb.cp/non-trivial-retval.cc: New file.
6413 * gdb.cp/non-trivial-retval.exp: New file.
6414
10c5f0a8
YQ
64152014-10-15 Yao Qi <yao@codesourcery.com>
6416
6417 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6418 remote host.
6419
65d7b369
YQ
64202014-10-15 Yao Qi <yao@codesourcery.com>
6421
6422 * gdb.python/py-symbol.exp: Match file base name if host is
6423 remote, otherwise match file name with dir name.
6424 * gdb.python/py-symtab.exp: Likewise.
6425 * gdb.python/python.exp: Likewise.
6426
46dc1394
YQ
64272014-10-15 Yao Qi <yao@codesourcery.com>
6428
6429 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6430 pattern.
6431 * gdb.python/py-symtab.exp: Likewise.
6432 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6433 locationn.
6434
c40cc657
JB
64352014-10-14 Joel Brobecker <brobecker@adacore.com>
6436
6437 * gdb.ada/addr_arith: New testcase.
6438
2abf49e1
MR
64392014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6440
6441 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6442 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6443 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6444 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6445
f7088df3
SDJ
64462014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6447
6448 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6449 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6450 * gdb.arch/stap-eval-lang-ada.exp: New file.
6451
4dc06805
YQ
64522014-10-14 Yao Qi <yao@codesourcery.com>
6453
6454 * gdb.mi/mi-var-child.c (nothing1): New function.
6455 (nothing2): New function.
6456 (do_children_tests): Set function pointers by nothing1 and
6457 nothing2.
6458 * gdb.mi/mi-var-child.exp: Step over new added statements.
6459 Update test to match the new output.
6460 * gdb.mi/var-cmd.c (nothing1): New function.
6461 (nothing2): New function.
6462 (do_children_tests): Set function pointers by nothing1 and
6463 nothing2.
6464 * gdb.mi/mi-var-display.exp: Update test to match output.
6465 Step to the line specified by $line_dct_nothing.
6466 Increase the number of lines to step.
6467
46a93de2
YQ
64682014-10-14 Yao Qi <yao@codesourcery.com>
6469
6470 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6471 tests.
6472 * gdb.mi/mi2-var-child.exp: Likewise.
6473
14ea52ee
DE
64742014-10-13 Doug Evans <dje@google.com>
6475
6476 * gdb.python/py-objfile.exp: Change name of file name test.
6477
e5c6e92b
DE
64782014-10-13 Doug Evans <dje@google.com>
6479
6480 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6481 from the start of the CU.
6482
c780cc2f
JK
64832014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6484 Yao Qi <yao@codesourcery.com>
6485
6486 Fix "save breakpoints" for "catch" command.
6487 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6488 Remove -nonewline. Match also the added "main" line.
6489
99894e11
JK
64902014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6491
6492 Fix "save breakpoints" for "disable $bpnum" command.
6493 * gdb.base/save-bp.c (main): Add label.
6494 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6495
6e1ac5a3
JK
64962014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6497
6498 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6499
754dd2b0
YQ
65002014-10-11 Yao Qi <yao@codesourcery.com>
6501
6502 * gdb.server/server-kill.exp: Execute command
6503 "set remote trace-status-packet on" before "tstatus".
6504
f90183d7
YQ
65052014-10-11 Yao Qi <yao@codesourcery.com>
6506
6507 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6508 (main): Call getppid.
6509 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6510 and continue to it. Read variable "server_pid".
6511
bf40a607
YQ
65122014-10-11 Yao Qi <yao@codesourcery.com>
6513
6514 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6515
052ca370
YQ
65162014-10-11 Yao Qi <yao@codesourcery.com>
6517
6518 * gdb.threads/thread-find.exp: Don't execute command
6519 "info threads".
6520 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6521 * gdb.threads/linux-dp.exp: Don't check the condition
6522 $threads_created equals to zero.
6523
3831839c
PA
65242014-10-10 Pedro Alves <palves@redhat.com>
6525
6526 * gdb.base/bigcore.exp: Remove references to IRIX.
6527 * gdb.base/funcargs.exp: Likewise.
6528 * gdb.base/interrupt.exp: Likewise.
6529 * gdb.base/mips_pro.exp: Likewise.
6530 * gdb.base/nodebug.exp: Likewise.
6531 * gdb.base/setvar.exp: Likewise.
6532 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6533
8b9a549d
PA
65342014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6535 Pedro Alves <palves@redhat.com>
6536
6537 PR symtab/14466
6538 * gdb.base/vdso-warning.c: New file.
6539 * gdb.base/vdso-warning.exp: New file.
6540
d48ba5e8
DE
65412014-10-02 Doug Evans <dje@google.com>
6542
6543 * gdb.base/structs.c (main): Don't run forever.
6544
2278c276
PA
65452014-10-02 Pedro Alves <palves@redhat.com>
6546
6547 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6548 (top level) <stop threads 1, stop threads 2>: Use it.
6549
b57bacec
PA
65502014-10-02 Pedro Alves <palves@redhat.com>
6551
6552 * gdb.threads/break-while-running.exp (test): Add new
6553 'update_thread_list' argument. Skip "info threads" if false.
6554 (top level): Add new 'update_thread_list' axis.
6555
13fd3ff3
PA
65562014-10-02 Pedro Alves <palves@redhat.com>
6557
6558 PR breakpoints/17431
6559 * gdb.base/execl-update-breakpoints.c: New file.
6560 * gdb.base/execl-update-breakpoints.exp: New file.
6561
0fec99e8
PA
65622014-10-01 Pedro Alves <palves@redhat.com>
6563
6564 * gdb.base/breakpoint-in-ro-region.c: New file.
6565 * gdb.base/breakpoint-in-ro-region.exp: New file.
6566
2ddf4301
SM
65672014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6568
6569 * gdb.mi/mi-exit-code.exp: New file.
6570 * gdb.mi/mi-exit-code.c: New file.
6571
6a5f3f43
YQ
65722014-09-30 Yao Qi <yao@codesourcery.com>
6573
6574 * lib/prelink-support.exp (build_executable_own_libs): Error if
6575 the target isn't native.
6576
345bcc73
YQ
65772014-09-30 Yao Qi <yao@codesourcery.com>
6578
6579 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6580 false.
6581
a25a5a45
PA
65822014-09-22 Pedro Alves <palves@redhat.com>
6583
6584 * gdb.threads/break-while-running.exp: New file.
6585 * gdb.threads/break-while-running.c: New file.
6586
00ba3162
YQ
65872014-09-19 Yao Qi <yao@codesourcery.com>
6588
6589 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6590 Invoke test. Restart GDB with --readnow and invoke test again.
6591
c3b7b696
YQ
65922014-09-19 Yao Qi <yao@codesourcery.com>
6593
6594 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6595 proc set_breakpoint_on_gcd_function. Invoke
6596 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6597 invoke set_breakpoint_on_gcd_function again.
6598
2b4fd423
DE
65992014-09-18 Doug Evans <dje@google.com>
6600
6601 * gdb.dwarf2/symtab-producer.exp: New file.
6602
a5947601
SDJ
66032014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6604
6605 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6606 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6607 * gdb.base/global-var-nested-by-dso.c: Likewise.
6608 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6609
91c19059
SDJ
66102014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6611 Pedro Alves <palves@redhat.com>
6612
6613 * gdb.base/watch-bitfields.exp: Pass string other than test file
6614 name to prepare_for_testing.
6615 (watch): New procedure.
6616 (expect_watchpoint): Use with_test_prefix.
6617 (top level): Factor out tests to ...
6618 (test_watch_location, test_regular_watch): ... these new
6619 procedures, and use with_test_prefix and gdb_continue_to_end.
6620
bb9d5f81
PP
66212014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6622
6623 PR breakpoints/12526
6624 * gdb.base/watch-bitfields.exp: New file.
6625 * gdb.base/watch-bitfields.c: New file.
6626
635856f5
PA
66272014-09-16 Pedro Alves <palves@redhat.com>
6628
6629 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6630 software and hardware addresses, not software address against
6631 itself.
6632
7280ceea
PA
66332014-09-16 Pedro Alves <palves@redhat.com>
6634
6635 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6636 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6637
428b16bd
PA
66382014-09-16 Pedro Alves <palves@redhat.com>
6639
6640 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6641 files.
6642 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6643 "*-*-vxworks*" throughout.
6644 * gdb.base/break.exp: Likewise.
6645 * gdb.base/default.exp: Likewise.
6646 * gdb.base/scope.exp: Likewise.
6647 * gdb.base/sepdebug.exp: Likewise.
6648 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6649 throughout.
6650 * gdb.base/run.c: Likewise.
6651 * gdb.base/sepdebug.c: Likewise.
6652 * gdb.hp/gdb.aCC/run.c: Likewise.
6653 * gdb.reverse/until-reverse.c: Likewise.
6654 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6655
666d413c
YQ
66562014-09-16 Yao Qi <yao@codesourcery.com>
6657
6658 * boards/local-remote-host-native.exp: New file.
6659
57cbd724
DE
66602014-09-14 Doug Evans <xdje42@gmail.com>
6661
6662 * gdb.threads/queue-signal.c (thread_count): New variable.
6663 (thread_count_mutex, thread_count_condvar): New variables.
6664 (incr_thread_count, wait_all_threads_running): New functions.
6665 (main): Wait for all threads to be in their thread functions.
6666
81219e53
DE
66672014-09-13 Doug Evans <xdje42@gmail.com>
6668
6669 * gdb.threads/queue-signal.c: New file.
6670 * gdb.threads/queue-signal.exp: New file.
6671
3714cea7
DE
66722014-09-13 Doug Evans <xdje42@gmail.com>
6673
6674 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6675 be consistent with what default_gdb_init uses.
6676 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6677 the plain text of the prompt. Add some logging printfs.
6678 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6679
fa43b1d7
PA
66802014-09-12 Pedro Alves <palves@redhat.com>
6681
6682 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6683 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6684 * gdb.arch/i386-size-overlap.exp: Likewise.
6685 * gdb.arch/i386-size.exp: Likewise.
6686 * gdb.arch/i386-unwind.exp: Likewise.
6687 * gdb.base/a2-run.exp: Likewise.
6688 * gdb.base/break.exp: Likewise.
6689 * gdb.base/charset.exp: Likewise.
6690 * gdb.base/chng-syms.exp: Likewise.
6691 * gdb.base/commands.exp: Likewise.
6692 * gdb.base/dbx.exp: Likewise.
6693 * gdb.base/find.exp: Likewise.
6694 * gdb.base/funcargs.exp: Likewise.
6695 * gdb.base/jit-simple.exp: Likewise.
6696 * gdb.base/reread.exp: Likewise.
6697 * gdb.base/sepdebug.exp: Likewise.
6698 * gdb.base/step-bt.exp: Likewise.
6699 * gdb.cp/mb-inline.exp: Likewise.
6700 * gdb.cp/mb-templates.exp: Likewise.
6701 * gdb.objc/basicclass.exp: Likewise.
6702 * gdb.threads/killed.exp: Likewise.
6703
9d9bf2df
EBM
67042014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6705
6706 PR tdep/17379
6707 * gdb.arch/powerpc-stackless.S: New file.
6708 * gdb.arch/powerpc-stackless.exp: New file.
6709
1cf2f1b0
JK
67102014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6711
6712 * gdb.base/attach.c: Include unistd.h.
6713 (main): Call alarm. Add label postloop.
6714 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6715 gdb_breakpoint, gdb_continue_to_breakpoint.
6716 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6717
98880d46
PA
67182014-09-11 Pedro Alves <palves@redhat.com>
6719
6720 PR gdb/17347
6721 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6722 * gdb.base/attach.exp (test_command_line_attach_run): New
6723 procedure.
6724 (top level): Call it.
6725
4c92ff2c
PA
67262014-09-11 Pedro Alves <palves@redhat.com>
6727
6728 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6729 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6730 (do_command_attach_tests): Use spawn_wait_for_attach.
6731 * gdb.base/solib-overlap.exp: Likewise.
6732 * gdb.multi/multi-attach.exp: Likewise.
6733 * gdb.python/py-prompt.exp: Likewise.
6734 * gdb.python/py-sync-interp.exp: Likewise.
6735 * gdb.server/ext-attach.exp: Likewise.
6736
3adc1a7d
GKB
67372014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6738
6739 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6740 command in testcase. Simplify testcase.
6741
96334934
JB
67422014-09-10 Joel Brobecker <brobecker@adacore.com>
6743
6744 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6745
eb479039
JB
67462014-09-10 Joel Brobecker <brobecker@adacore.com>
6747
6748 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6749
deede10c
JB
67502014-09-10 Joel Brobecker <brobecker@adacore.com>
6751
6752 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6753
7828a5f5
JB
67542014-09-10 Joel Brobecker <brobecker@adacore.com>
6755
6756 * gdb.dwarf2/dynarr-ptr.c: New file.
6757 * gdb.dwarf2/dynarr-ptr.exp: New file.
6758
33aeebcf
MR
67592014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6760
6761 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6762 of 30 rather than hardcoding 120 for a slow test case. Take the
6763 `gdb,timeout' target setting into account for this calculation.
6764 Don't extend the timeout for the test cases that don't need it.
6765
7b415901
MR
67662014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6767
6768 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6769 a factor of 2 for a slow test case. Take the `gdb,timeout'
6770 target setting into account for this calculation.
6771 * gdb.reverse/until-precsave.exp: Increase the timeout by
6772 a factor of 15 and 3 respectively rather than adding 120
6773 for a pair of slow test cases. Take the `gdb,timeout'
6774 target setting into account for this calculation.
6775
4a40f85a
MR
67762014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6777
6778 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6779 timeout, don't pass one down to gdb_expect.
6780 (gdb_expect): Rework timeout selection.
6781
09635af7
MR
67822014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6783
6784 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6785 exception on timeout.
6786 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6787 (gdbserver_start_extended): Catch any `gdbserver_start' error
6788 exceptions.
6789 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6790 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6791 `gdbserver_gdb_load' error exceptions.
6792
2bdd10b7
MR
67932014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6794
6795 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6796 120 on waiting for the TCP socket to open.
6797
316935f0
DE
67982014-09-09 Doug Evans <xdje42@gmail.com>
6799
6800 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6801 _caller_matches, _any_caller_is, _any_caller_matches.
6802
83740597
DE
68032014-09-09 Doug Evans <xdje42@gmail.com>
6804
6805 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6806
4c122fc3
YQ
68072014-09-09 Yao Qi <yao@codesourcery.com>
6808
6809 * gdb.mi/mi-var-display.exp: Set print symbol off.
6810
a9f116cb
GKB
68112014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6812
6813 PR gdb/17035
6814 * gdb.base/commands.exp: Add tests to verify user-defined
6815 commands with empty bodies.
6816 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6817 python commands in `show user command`.
6818 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6819 scheme commands in `show user command`.
6820
c75bd3a2
JK
68212014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6822
6823 PR python/17355
6824 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6825 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6826 * gdb.python/py-framefilter-invalidarg.exp: New file.
6827 * gdb.python/py-framefilter-invalidarg.py: New file.
6828
faa42425
DE
68292014-09-06 Doug Evans <xdje42@gmail.com>
6830
6831 PR 15276
6832 * gdb.python/py-caller-is.c: New file.
6833 * gdb.python/py-caller-is.exp: New file.
6834
474ca4f6
SDJ
68352014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6836
6837 PR gdb/17235
6838 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6839 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6840
eb0b0463
SDJ
68412014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6842
6843 PR fortran/17237
6844 * gdb.fortran/print-formatted.exp: New file.
6845 * gdb.fortran/print-formatted.f90: Likewise.
6846
5f3b99cf
SS
68472014-09-03 Sasha Smundak <asmundak@google.com>
6848
6849 * gdb.python/py-frame.exp: Test Frame.read_register.
6850
7d793aa9
SDJ
68512014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6852
6853 PR python/16699
6854 * gdb.python/py-completion.exp: New file.
6855 * gdb.python/py-completion.py: Likewise.
6856
fb0576e9
DE
68572014-08-28 Doug Evans <dje@google.com>
6858
6859 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6860 eax,etc. are live with values set by gdb and thus the compiler can't
6861 use them.
6862 * gdb.arch/i386-pseudo.c (main): Ditto.
6863
ee92b0dd
DE
68642014-08-27 Doug Evans <dje@google.com>
6865
6866 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6867
6649db35
DE
68682014-08-25 Doug Evans <dje@google.com>
6869
6870 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6871 (main): Ditto.
6872
564b7600
DE
68732014-08-25 Doug Evans <dje@google.com>
6874
6875 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6876
3881fb67
YQ
68772014-08-24 Yao Qi <yao@codesourcery.com>
6878
6879 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6880 symbol off.
6881 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6882
a05a36a5
DE
68832014-08-22 Doug Evans <dje@google.com>
6884
6885 PR 17276
6886 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6887 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6888 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6889
7c343b48
YQ
68902014-08-22 Yao Qi <yao@codesourcery.com>
6891
6892 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6893 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6894 * gdb.python/python.exp: Likewise. Use .py file on the host
6895 instead of the build.
6896
22fd09ae
JK
68972014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6898
6899 * gdb.threads/gcore-stale-thread.c: New file.
6900 * gdb.threads/gcore-stale-thread.exp: New file.
6901
a8454a7c
PA
69022014-08-21 Pedro Alves <palves@redhat.com>
6903
6904 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6905 * gdb.base/gcore-relro-pie.exp: Likewise.
6906 * gdb.base/gcore-relro.exp: Likewise.
6907 * gdb.base/gcore.exp: Likewise.
6908 * gdb.base/print-symbol-loading.exp: Likewise.
6909 * gdb.threads/gcore-thread.exp: Likewise.
6910 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6911
2a31c623
PA
69122014-08-20 Pedro Alves <palves@redhat.com>
6913 Jan Kratochvil <jan.kratochvil@redhat.com>
6914
6915 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6916 configure.
6917 (EXPECT): Handle READ1 being set.
6918 (all): Depend on EXTRA_RULES.
6919 (check-read1, expect-read1, read1.so, read1): New rules.
6920 * README (Testsuite Parameters): Document the READ1 make variable.
6921 (Race detection): New section.
6922 * configure: Regenerate.
6923 * configure.ac: If build==host==target, and running under a
6924 GNU/glibc system, add read1 to the extra Makefile rules.
6925 (EXTRA_RULES): AC_SUBST it.
6926 * lib/read1.c: New file.
6927
d36430db
JB
69282014-08-20 Joel Brobecker <brobecker@adacore.com>
6929
6930 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6931 the handling of variables declared as a typedef to an array
6932 which a DW_AT_data_location attribute.
6933
9a0dc9e3
PA
69342014-08-19 Andrew Burgess <aburgess@broadcom.com>
6935 Pedro Alves <palves@redhat.com>
6936
6937 PR symtab/14604
6938 PR symtab/14605
6939 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6940 gdb_test.
6941
0718a8da
PA
69422014-08-19 Pedro Alves <palves@redhat.com>
6943
6944 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6945
13b448cd
YQ
69462014-08-19 Yao Qi <yao@codesourcery.com>
6947
6948 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6949 right line.
6950
1cbf5077
DB
69512014-08-18 David Blaikie <dblaikie@gmail.com>
6952
6953 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6954
bf0fae19
JB
69552014-08-18 Joel Brobecker <brobecker@adacore.com>
6956
6957 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6958 attribute in array range.
6959
3c8c5dcc
JB
69602014-08-18 Joel Brobecker <brobecker@adacore.com>
6961
6962 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6963
e66d4446
SC
69642014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6965
6966 PR c++/17132
6967 * gdb.cp/pr17132.cc: New file.
6968 * gdb.cp/pr17132.exp: New file.
6969
940df408
SC
69702014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6971
6972 * gdb.python/py-xmethods.py (A_getarrayind)
6973 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6974 Use 'print' with function call syntax.
6975 (E_method_matcher.match): Fix tab vs space indentation mixup.
6976
ebcc6c3a
YQ
69772014-08-15 Yao Qi <yao@codesourcery.com>
6978
6979 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6980 false.
6981
775e0f04
YQ
69822014-08-15 Yao Qi <yao@codesourcery.com>
6983
6984 * gdb.cp/casts.exp: Set print symbol off.
6985 * gdb.cp/class2.exp: Likewise.
6986 * gdb.cp/overload.exp: Likewise.
6987 * gdb.cp/templates.exp: Likewise.
6988
d769e349
DE
69892014-08-11 Doug Evans <dje@google.com>
6990
6991 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6992 (test_load_shlib): Update.
6993
20c6f1e1
YQ
69942014-08-09 Yao Qi <yao@codesourcery.com>
6995
6996 * gdb.base/display.exp: Invoke is_address_zero_readable.
6997 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6998 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6999 * gdb.base/hbreak-unmapped.exp: Return if
7000 is_address_zero_readable returns true.
7001 * gdb.base/signest.exp: Likewise.
7002 * gdb.base/signull.exp: Likewise.
7003 * gdb.base/sigbpt.exp: Likewise.
7004 * gdb.guile/scm-disasm.exp: Do the test if
7005 is_address_zero_readable returns false.
7006 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
7007 * gdb.python/py-arch.exp: Likewise.
7008 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
7009 * lib/gdb.exp (is_address_zero_readable): New proc.
7010
5792e8e3
YQ
70112014-08-09 Yao Qi <yao@codesourcery.com>
7012
7013 PR testsuite/13443
7014 * gdb.mi/mi-var-display.exp: Make test messages unique.
7015
3cecbbbe
TT
70162014-08-04 Tom Tromey <tromey@redhat.com>
7017
7018 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
7019 target 0".
7020
00b51ff5
TT
70212014-08-04 Tom Tromey <tromey@redhat.com>
7022
7023 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
7024 "target_resume".
7025
6908c509
JB
70262014-08-01 Joel Brobecker <brobecker@adacore.com>
7027
7028 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
7029 inner_vla_struct_object_size.
7030 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
7031 as xfail.
7032
cc6563d2
PA
70332014-07-30 Pedro Alves <palves@redhat.com>
7034
7035 * gdb.threads/signal-command-handle-nopass.exp (test): Add
7036 comment.
7037
7e09a223
YQ
70382014-07-29 Yao Qi <yao@codesourcery.com>
7039
7040 PR gdb/17206
7041 * gdb.base/until-nodebug.exp: New.
7042
7ebdbe92
DE
70432014-07-28 Doug Evans <xdje42@gmail.com>
7044
7045 PR guile/17203
7046 * gdb.guile/scm-parameter.exp: Add tests for trying to create
7047 previously existing parameter, and previously ambiguously spelled
7048 parameter.
7049
fdb1adc6
WN
70502014-07-28 Will Newton <will.newton@linaro.org>
7051
7052 * gdb.base/varargs.exp: Remove KFAILs for ARM.
7053
186fcde0
DE
70542014-07-26 Ludovic Courtès <ludo@gnu.org>
7055 Doug Evans <xdje42@gmail.com>
7056
7057 PR guile/17146
7058 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
7059
70509625
PA
70602014-07-25 Pedro Alves <palves@redhat.com>
7061
7062 * gdb.threads/signal-command-handle-nopass.c: New file.
7063 * gdb.threads/signal-command-handle-nopass.exp: New file.
7064 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
7065 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
7066 * gdb.threads/signal-delivered-right-thread.c: New file.
7067 * gdb.threads/signal-delivered-right-thread.exp: New file.
7068
c3f814a1
PA
70692014-07-25 Pedro Alves <palves@redhat.com>
7070
7071 * gdb.base/double-prompt-target-event-error.exp
7072 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
7073 match.
7074 (cancel_pagination_in_target_event): Rework double prompt
7075 detection.
7076 * gdb.base/paginate-after-ctrl-c-running.exp
7077 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
7078 <return>' match.
7079 * gdb.base/paginate-bg-execution.exp
7080 (test_bg_execution_pagination_return)
7081 (test_bg_execution_pagination_cancel): Remove '-notransfer
7082 <return>' matches.
7083 * gdb.base/paginate-execution-startup.exp
7084 (test_fg_execution_pagination_return)
7085 (test_fg_execution_pagination_cancel): Remove '-notransfer
7086 <return>' matches.
7087 * gdb.base/paginate-inferior-exit.exp
7088 (test_paginate_inferior_exited): Remove '-notransfer <return>'
7089 match.
7090 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
7091 * lib/gdb.exp (pagination_prompt): Run text through
7092 string_to_regexp.
7093 (gdb_test_multiple): Match $pagination_prompt instead of
7094 "<return>".
7095 (string_to_regexp): Move to lib/gdb-utils.exp.
7096
e214cf6c
JK
70972014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7098
7099 * gdb.arch/amd64-entry-value-paramref.S: New file.
7100 * gdb.arch/amd64-entry-value-paramref.cc: New file.
7101 * gdb.arch/amd64-entry-value-paramref.exp: New file.
7102 * gdb.arch/amd64-optimout-repeat.S: New file.
7103 * gdb.arch/amd64-optimout-repeat.c: New file.
7104 * gdb.arch/amd64-optimout-repeat.exp: New file.
7105
17d0c5c8
JK
71062014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7107
7108 PR gdb/17170
7109 * gdb.base/statistics.exp: New file.
7110
b8b8facf
DE
71112014-07-17 Doug Evans <dje@google.com>
7112
74b49205 7113 PR gdb/17170
b8b8facf
DE
7114 * gdb.base/maint.exp: Update testing of per-command stats.
7115
1b5d0ab3
PA
71162014-07-16 Pedro Alves <palves@redhat.com>
7117
7118 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
7119 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
7120 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
7121 (tfile_write_buf): New functions.
7122 (add_memory_block): Rewrite using the above.
7123 (adjust_function_address): New function.
7124 (FUNCTION_ADDRESS): New macro.
7125 (write_basic_trace_file): Remove short_x local, and use
7126 tfile_write_16. Change type of func_addr local to unsigned long
7127 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
7128 here. Cast argument of add_memory_block to char pointer.
7129 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
7130 (main): Remove parameters.
7131 * gdb.trace/tfile.exp: Remove nowarnings.
7132
4d974e88
SM
71332014-07-15 Simon Marchi <simon.marchi@ericsson.com>
7134
7135 * gdb.base/debug-expr.exp: Test string evaluation with
7136 "debug expression" on.
7137
41e99568
PA
71382014-07-15 Pedro Alves <palves@redhat.com>
7139
7140 * gdb.base/reread.exp: Use clean_restart.
7141
487d9753
PL
71422014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
7143
7144 * gdb.arch/avr-flash-qualifer.c: New.
7145 * gdb.arch/avr-flash-qualifer.exp: New.
7146
cc1c52ad
PA
71472014-07-14 Pedro Alves <palves@redhat.com>
7148
7149 * gdb.base/paginate-after-ctrl-c-running.c: New file.
7150 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
7151
1e973570
PA
71522014-07-14 Pedro Alves <palves@redhat.com>
7153
7154 * gdb.base/double-prompt-target-event-error.c: New file.
7155 * gdb.base/double-prompt-target-event-error.exp: New file.
7156
93d6eb10
PA
71572014-07-14 Pedro Alves <palves@redhat.com>
7158
7159 PR gdb/17072
7160 * gdb.base/paginate-inferior-exit.c: New file.
7161 * gdb.base/paginate-inferior-exit.exp: New file.
7162
0017922d
PA
71632014-07-14 Pedro Alves <palves@redhat.com>
7164
7165 PR gdb/17072
7166 * gdb.base/paginate-bg-execution.c: New file.
7167 * gdb.base/paginate-bg-execution.exp: New file.
7168
94696ad3
PA
71692014-07-14 Pedro Alves <palves@redhat.com>
7170
7171 PR gdb/17072
7172 * gdb.base/paginate-execution-startup.c: New file.
7173 * gdb.base/paginate-execution-startup.exp: New file.
7174 * lib/gdb.exp (pagination_prompt): New global.
7175 (default_gdb_spawn): New procedure, factored out from
7176 default_gdb_spawn.
7177 (default_gdb_start): Adjust to call default_gdb_spawn.
7178 (gdb_spawn): New procedure.
7179
bd293940
PA
71802014-07-14 Pedro Alves <palves@redhat.com>
7181
7182 * lib/gdb.exp (gdb_assert): New procedure.
7183 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
7184
c933f875
PA
71852014-07-14 Pedro Alves <palves@redhat.com>
7186
7187 * gdb.base/execution-termios.c: New file.
7188 * gdb.base/execution-termios.exp: New file.
7189
d98b7a16
TT
71902014-07-14 Tom Tromey <tromey@redhat.com>
7191
7192 * gdb.cp/vla-cxx.cc: New file.
7193 * gdb.cp/vla-cxx.exp: New file.
7194
548740d6
TT
71952014-07-14 Tom Tromey <tromey@redhat.com>
7196
7197 * gdb.reverse/rerun-prec.c: New file.
7198 * gdb.reverse/rerun-prec.exp: New file.
7199
a25eb028
MR
72002014-07-12 Maciej W. Rozycki <macro@mips.com>
7201 Maciej W. Rozycki <macro@codesourcery.com>
7202
7203 * lib/gdb-utils.exp: New file.
7204 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
7205 inline `gdb_init_command' processing.
7206 (gdb_start_cmd): Likewise.
7207 * lib/mi-support.exp (mi_run_cmd): Likewise.
7208 * README: Document `gdb_init_command' and `gdb_init_commands'.
7209
218c2655
JK
72102014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7211
7212 Fix false FAIL running under a very long directory name.
7213 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
7214 and "set print elements 10000". Twice.
7215
5401fde3
YQ
72162014-07-11 Yao Qi <yao@codesourcery.com>
7217
7218 * gdb.base/exprs.exp: "set print symbol off".
7219
e76126e8
PA
72202014-07-11 Pedro Alves <palves@redhat.com>
7221
7222 * gdb.threads/kill.c: New file.
7223 * gdb.threads/kill.exp: New file.
7224
2d6f0de6
YQ
72252014-07-10 Yao Qi <yao@codesourcery.com>
7226
7227 * gdb.trace/tfile.c (write_basic_trace_file)
7228 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7229 address written to trace file.
7230
7180e04a
PA
72312014-07-09 Pedro Alves <palves@redhat.com>
7232
7233 * gdb.base/attach-wait-input.exp: New file.
7234 * gdb.base/attach-wait-input.c: New file.
7235
9a9a7608
AB
72362014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7237
7238 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7239 setting up test structures.
7240 (main): Call new test function.
7241 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7242 test function, continue into test function and walk test
7243 structures.
7244
161ac41e
YQ
72452014-07-02 Yao Qi <yao@codesourcery.com>
7246
7247 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7248 'bar_start' at the beginning of functions 'foo' and 'bar'
7249 respectively.
7250 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7251 instead of 'foo' and 'bar'.
7252
1f267ae3
MM
72532014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7254
7255 * gdb.btrace/segv.exp: New.
7256 * gdb.btrace/segv.c: New.
7257
2b239efb
LM
72582014-07-02 Luis Machado <lgustavo@codesourcery.com>
7259
7260 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7261 instruction.
7262
cf363f18
MW
72632014-06-30 Mark Wielaard <mjw@redhat.com>
7264
7265 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7266 vulture, vilify, villar): New volatile array constants.
7267 (vindictive, vegetation): New const volatile array constants.
7268 * gdb.base/volatile.exp: Test volatile and const volatile array
7269 types.
7270
aebf9d24
AA
72712014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7272
7273 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7274 target lacks support for awatch, rwatch, or hbreak.
7275
b67a2c6f
YQ
72762014-06-27 Yao Qi <yao@codesourcery.com>
7277
7278 * gdb.multi/dummy-frame-restore.exp: New.
7279 * gdb.multi/dummy-frame-restore.c: New.
7280
aef92902
MM
72812014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7282
7283 * gdb.btrace/gcore.exp: New.
7284
8e9db26e
PA
72852014-06-23 Pedro Alves <palves@redhat.com>
7286
7287 * gdb.base/watchpoint-reuse-slot.c: New file.
7288 * gdb.base/watchpoint-reuse-slot.exp: New file.
7289
70afc5b7
SC
72902014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7291
7292 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7293 progspace's filename in 'info', 'enable' and 'disable' command
7294 tests.
7295
b972bd9c
JK
72962014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7297
7298 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7299 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7300 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7301
125f8a3d
GB
73022014-06-20 Gary Benson <gbenson@redhat.com>
7303
7304 * gdb.arch/i386-avx.exp: Fix include file location.
7305 * gdb.arch/i386-sse.exp: Likewise.
7306
3ed9baed
IB
73072014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7308
7309 * gdb.dlang/expression.exp: New file.
7310
034f788c
PA
73112014-06-19 Pedro Alves <palves@redhat.com>
7312
7313 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7314 out from ...
7315 (top level): ... here. Iterate running tests under different
7316 scheduler-locking settings.
7317
45371d0c
LM
73182014-06-18 Luis Machado <lgustavo@codesourcery.com>
7319
7320 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7321 to DW_FORM_addr and use non-zero addresses.
7322
5d376983
SC
73232014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7324
7325 PR gdb/17017
7326 * gdb.python/py-xmethods.cc: Add global function call counters and
7327 increment them in their respective functions. Remove "cout"
7328 statements.
7329 * gdb.python/py-xmethods.exp: Make tests check the global function
7330 call counters instead of depending on inferior IO.
7331
a1aa2221
LM
73322014-06-18 Don Breazeal <donb@codesourcery.com>
7333
7334 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7335 Deleted procedure.
7336 (explicit_fork_parent_follow): Deleted procedure.
7337 (explicit_fork_child_follow): Deleted procedure.
7338 (test_follow_fork): New procedure.
7339 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 7340 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
7341 procedure calls.
7342
0fc05997
YQ
73432014-06-17 Yao Qi <yao@codesourcery.com>
7344
7345 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7346 CP1252.
7347
70795c52
LM
73482014-06-17 Luis Machado <lgustavo@codesourcery.com>
7349
7350 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7351 Initialize ptr and S explicitly.
7352 (skip_type_update_when_not_use_rtti_test): Likewise.
7353
6be47f0c
KS
73542014-06-16 Keith Seitz <keiths@redhat.com>
7355
7356 PR mi/15863
7357 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7358 the inferior is started.
7359
d03de421
PA
73602014-06-16 Pedro Alves <palves@redhat.com>
7361
7362 * gdb.base/break-main-file-remove-fail.c: New file.
7363 * gdb.base/break-main-file-remove-fail.exp: New file.
7364 * gdb.base/break-unload-file.exp: Use build_executable instead of
7365 prepare_for_testing.
7366 (test_break): New parameter "initial_load". Handle it.
7367 (top level): Add initial_load cmdline/file axis.
7368
f9579b99
TT
73692014-06-12 Tom Tromey <tromey@redhat.com>
7370
7371 * gdb.base/completion.exp: Don't use directory name in test.
7372
3657956b
GB
73732014-06-09 Gary Benson <gbenson@redhat.com>
7374
7375 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7376 separate the always-available ANSI-standard signals from the
7377 signals that require checking.
7378 (main): Likewise.
7379 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7380 Likewise.
7381 (main): Likewise.
7382
4186eb54
KS
73832014-06-07 Keith Seitz <keiths@redhat.com>
7384
7385 Revert:
7386 PR c++/16253
7387 * gdb.cp/var-tag.cc: New file.
7388 * gdb.cp/var-tag.exp: New file.
7389 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7390 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7391 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7392 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7393
25326a28 73942014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
7395
7396 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7397
829155c9
PA
73982014-06-06 Pedro Alves <palves@redhat.com>
7399
7400 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7401 in target debug output instead of looking at RSP packets,
7402 disabling the test on any target that uses hardware stepping.
7403 Update comments.
7404
61c8d22e
PA
74052014-06-06 Pedro Alves <palves@redhat.com>
7406
7407 * gdb.base/break-unload-file.exp: Fix typo.
7408
d9a47287
YQ
74092014-06-06 Yao Qi <yao@codesourcery.com>
7410
7411 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7412 from "jit_function" to "^jit_function".
7413
e5e01dbf
YQ
74142014-06-06 Yao Qi <yao@codesourcery.com>
7415
7416 * gdb.base/async.c (foo): Add one statement.
7417 * gdb.base/async.exp: Get the next instruction address and
7418 match the output of "nexti" by instruction address. Match
7419 the hex address in the output of "finish".
7420
73ba372c
GB
74212014-06-06 Gary Benson <gbenson@redhat.com>
7422
7423 * gdb.base/call-signals.c: Remove preprocessor conditionals
7424 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7425 SIGSEGV and SIGTERM.
7426 * gdb.base/sigall.c: Likewise.
7427 * gdb.base/unwindonsignal.c: Likewise.
7428 * gdb.reverse/sigall-reverse.c: Likewise.
7429
831517df
YQ
74302014-06-06 Yao Qi <yao@codesourcery.com>
7431
7432 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7433 readable, skip the test.
7434
b8b91e98
YQ
74352014-06-06 Yao Qi <yao@codesourcery.com>
7436
7437 * gdb.threads/staticthreads.c (thread_function): Move the line
7438 setting breakpoint on forward.
7439 * gdb.threads/staticthreads.exp: Update comments.
7440
fb934770
LC
74412014-06-05 Ludovic Courtès <ludo@gnu.org>
7442
7443 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7444 "history-append! type error".
7445
6ef284bd
SM
74462014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7447
7448 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7449 erroneous dprintf expected input.
7450
a872e241
DE
74512014-06-04 Doug Evans <xdje42@gmail.com>
7452
7453 * gdb.guile/scm-generics.exp: Delete.
7454
16f691fb
DE
74552014-06-04 Doug Evans <xdje42@gmail.com>
7456
7457 * gdb.guile/scm-breakpoint.exp: Update.
7458 Add tests for breakpoint registration.
7459
012370f6
TT
74602014-06-04 Tom Tromey <tromey@redhat.com>
7461
7462 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7463 VLA-in-union.
7464 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7465 inner_vla_struct, vla_union types. Initialize objects of those
7466 types and compute their sizes.
7467
9f5a4cef
HZ
74682014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7469 Hui Zhu <hui@codesourcery.com>
7470
7471 * gdb.base/fileio.exp: Add test for shell not available as well as
7472 available.
7473 * gdb.base/fileio.c (test_system): Check for shell twice.
7474
90a45c4d
YQ
74752014-06-04 Yao Qi <yao@codesourcery.com>
7476
7477 * gdb.base/auto-connect-native-target.exp: Remove redundant
7478 space from the regexp pattern.
7479
70017e41
YQ
74802014-06-04 Yao Qi <yao@codesourcery.com>
7481
7482 * gdb.base/default.exp: Replace "child" with "native" in
7483 regexp pattern.
7484
883964a7
SC
74852014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7486
7487 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7488 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7489 * gdb.python/py-xmethods.py: Python script supporting the
7490 new testcase and tests.
7491
ef370185
JB
74922014-06-03 Joel Brobecker <brobecker@adacore.com>
7493 Pedro Alves <palves@redhat.com>
7494
7495 PR breakpoints/17000
7496 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7497 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7498
1e2ccb61
BM
74992014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7500
7501 * gdb.base/subst.exp: Add tests to verify partial path matching
7502 output.
7503
c6ec5ab2
PA
75042014-06-03 Pedro Alves <palves@redhat.com>
7505
7506 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7507 target that doesn't use software single-stepping.
7508
835c559f
PA
75092014-06-03 Pedro Alves <palves@redhat.com>
7510
7511 PR breakpoints/17000
7512 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7513 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7514
06eb1586
DE
75152014-06-02 Doug Evans <xdje42@gmail.com>
7516
7517 * gdb.guile/scm-parameter.exp: New file.
7518
e698b8c4
DE
75192014-06-02 Doug Evans <xdje42@gmail.com>
7520
7521 * gdb.guile/scm-cmd.c: New file.
7522 * gdb.guile/scm-cmd.exp: New file.
7523
ded03782
DE
75242014-06-02 Doug Evans <xdje42@gmail.com>
7525
7526 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7527 pretty-printer lookup.
7528 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7529 (make-pp_s-printer): Call it.
7530 (make-pretty-printer-from-dict): New function.
7531 (lookup-pretty-printer-maker-from-dict): New function.
7532 (*pretty-printer*): Simplify.
7533 (make-objfile-pp_s-printer): New function.
7534 (install-objfile-pretty-printers!): New function.
7535 (make-progspace-pp_s-printer): New function.
7536 (install-progspace-pretty-printers!): New function.
7537 * gdb.guile/scm-progspace.c: New file.
7538 * gdb.guile/scm-progspace.exp: New file.
7539
41fac0cf
PA
75402014-06-02 Pedro Alves <palves@redhat.com>
7541
7542 * gdb.base/dprintf-bp-same-addr.c: New file.
7543 * gdb.base/dprintf-bp-same-addr.exp: New file.
7544
96ae5695
EBM
75452014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7546
7547 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7548 * gdb.arch/powerpc-power.s: Likewise.
7549
da02b3a8
JB
75502014-06-02 Joel Brobecker <brobecker@adacore.com>
7551
7552 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7553
c72b2e7b
YQ
75542014-06-01 Yao Qi <yao@codesourcery.com>
7555
7556 * gdb.base/watchpoint.exp (test_watch_location): Check null
7557 pointer can be dereferenced. If not, do the test, otherwise
7558 skip it.
7559
53e8a631
AB
75602014-05-30 Andrew Burgess <aburgess@broadcom.com>
7561
7562 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7563 results.
7564 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7565
938f0e2f
AB
75662014-05-30 Andrew Burgess <aburgess@broadcom.com>
7567
7568 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7569 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7570 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7571 * gdb.arch/amd64-invalid-stack-top.c: New file.
7572 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7573
9ba6657a
PA
75742014-05-30 Pedro Alves <palves@redhat.com>
7575
7576 PR breakpoints/17000
7577 * gdb.base/sss-bp-on-user-bp.c: New file.
7578 * gdb.base/sss-bp-on-user-bp.exp: New file.
7579
522c09bf
DB
75802014-05-30 David Blaikie <dblaikie@gmail.com>
7581
7582 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7583 gnu_inline semantics via attribute.
7584 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7585 source explicitly specifies the required semantics.
7586
bf4ef81e
MR
75872014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7588
7589 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7590
329ea579
PA
75912014-05-29 Pedro Alves <palves@redhat.com>
7592 Tom Tromey <tromey@redhat.com>
7593
7594 * gdb.base/async-shell.exp: Don't enable target-async.
7595 * gdb.base/async.exp
7596 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7597 parameter. Adjust.
7598 (top level): Don't test with "target-async".
7599 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7600 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7601 * gdb.base/inferior-died.exp: Don't enable target-async.
7602 * gdb.base/interrupt-noterm.exp: Likewise.
7603 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7604 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7605 * gdb.mi/mi-nonstop.exp: Likewise.
7606 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7607 * gdb.mi/mi-nsintrall.exp: Likewise.
7608 * gdb.mi/mi-nsmoribund.exp: Likewise.
7609 * gdb.mi/mi-nsthrexec.exp: Likewise.
7610 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7611 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7612 * gdb.python/py-evsignal.exp: Don't enable target-async.
7613 * gdb.python/py-evthreads.exp: Likewise.
7614 * gdb.python/py-prompt.exp: Likewise.
7615 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7616 * gdb.server/solib-list.exp: Don't enable target-async.
7617 * gdb.threads/thread-specific-bp.exp: Likewise.
7618 * lib/mi-support.exp: Adjust to use mi-async.
7619
fd664c91
PA
76202014-05-29 Pedro Alves <palves@redhat.com>
7621
7622 PR gdb/13860
7623 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7624 reason, even in sync mode.
7625
251bde03
PA
76262014-05-29 Pedro Alves <palves@redhat.com>
7627 Hui Zhu <hui@codesourcery.com>
7628
7629 PR PR15693
7630 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7631 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7632 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7633 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7634
7f3c0343
JB
76352014-05-28 Joel Brobecker <brobecker@adacore.com>
7636
7637 * config/monitor.exp (gdb_target_monitor): Replace use of
7638 "set remotebaud" by "set serial baud".
7639
b2715b27
AW
76402014-05-26 Andy Wingo <wingo@igalia.com>
7641
7642 * gdb.guile/scm-breakpoint.exp:
7643 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7644 properties instead of gdb-object-properties.
7645
498a4489
YQ
76462014-05-26 Yao Qi <yao@codesourcery.com>
7647
7648 * gdb.server/no-thread-db.exp: Specify source file name
7649 explicitly when setting a breakpoint.
7650
589fdceb
MM
76512014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7652
7653 * gdb.btrace/vdso.c: New.
7654 * gdb.btrace/vdso.exp: New.
7655
e9089e05
MM
76562014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7657
7658 * gdb.base/gcore.exp (capture_command_output): Move ...
7659 * lib/gdb.exp (capture_command_output): ... here.
7660
67b5c0c1
MM
76612014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7662
7663 * gdb.btrace/data.exp: Test memory access during btrace replay.
7664
a2199296
SM
76652014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7666
7667 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7668
17b2616c
PA
76692014-05-21 Pedro Alves <palves@redhat.com>
7670
7671 PR gdb/13860
7672 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7673 (top level): Test that output related to execution commands is
7674 sent to the console with CLI commands, but not with MI commands.
7675 Test that breakpoint events are always mirrored to the console.
7676 Also expect the new source line to be output after a "next" in
7677 async mode too. Make it a pass/fail test.
7678 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7679 output.
7680 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7681
5166082f
PA
76822014-05-21 Pedro Alves <palves@redhat.com>
7683
7684 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7685 Use them to test variations of "list" after reaching a breakpoint.
7686 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7687 Test "list" with listsize 10 after reaching a breakpoint.
7688 * gdb.python/python.exp (decode_line current location line
7689 number): Adjust expected line number.
7690
2f25d70f
SM
76912014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7692
7693 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7694 behavior for $args, pass it directly to "run".
7695
ff604a67
MR
76962014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7697
7698 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7699 30000 to 65536.
7700
6a3cb8e8
PA
77012014-05-21 Pedro Alves <palves@redhat.com>
7702
7703 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7704 auto-connect-native-target off".
7705 * gdb.base/auto-connect-native-target.c: New file.
7706 * gdb.base/auto-connect-native-target.exp: New file.
7707
4ebfc96e
PA
77082014-05-21 Pedro Alves <palves@redhat.com>
7709
7710 * gdb.base/default.exp: Test "target native" instead of "target
7711 child".
7712
36d46afb
MW
77132014-05-21 Mark Wielaard <mjw@redhat.com>
7714
7715 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7716
5876f503
JK
77172014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7718
7719 Fix TLS access for -static -pthread.
7720 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7721 <HAVE_TLS> (thread_function, main): Initialize it.
7722 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7723 Add clean_restart.
7724 <$have_tls != "">: Check TLSVAR.
7725
0256a6ac
PA
77262014-05-21 Pedro Alves <palves@redhat.com>
7727
7728 * gdb.base/dcache-line-read-error.c: New.
7729 * gdb.base/dcache-line-read-error.exp: New.
7730
936d2992
PA
77312014-05-20 Pedro Alves <palves@redhat.com>
7732
7733 * gdb.base/compare-sections.c: New file.
7734 * gdb.base/compare-sections.exp: New file.
7735
802e8e6d
PA
77362014-05-20 Pedro Alves <palves@redhat.com>
7737
7738 * gdb.base/break-idempotent.c: New file.
7739 * gdb.base/break-idempotent.exp: New file.
7740
e59fa00f
MM
77412014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7742
7743 * gdb.btrace/nohist.exp: New.
7744
8b696e31
YQ
77452014-05-20 Yao Qi <yao@codesourcery.com>
7746
7747 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7748 gdb.reverse directory and gdb_reverse_timeout exists in board
7749 setting.
7750 * README: Document gdb_reverse_timeout.
7751
73c9764f
YQ
77522014-05-20 Yao Qi <yao@codesourcery.com>
7753
7754 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7755 'test_file_name'. Treat args as a string instead of a list.
7756 (gdb_init): Rename argument 'args' by 'test_file_name'.
7757
f1f4348a
JK
77582014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7759
7760 * gdb.arch/powerpc-power.exp: New file.
7761 * gdb.arch/powerpc-power.s: New file.
7762
0dbe70ce
DE
77632014-05-16 Doug Evans <dje@google.com>
7764
7765 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
7766 * gdb.base/completion.exp: Check that all expected files exist
7767 before doing file completion.
0dbe70ce 7768
8d551b02
DE
77692014-05-16 Doug Evans <dje@google.com>
7770
7771 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7772 Update.
7773 (do_syscall_tests_without_xml): Update.
7774
73eb7709
PA
77752014-05-16 Pedro Alves <palves@redhat.com>
7776
7777 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7778 instead of "unknown output after running".
7779
3fae92fc
YQ
77802014-05-16 Yao Qi <yao@codesourcery.com>
7781
7782 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7783 file1.txt from host at the end.
7784 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7785
c2b2ccc5
DE
77862014-05-15 Doug Evans <dje@google.com>
7787
7788 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7789 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7790 loading file. Add test for TU lookup.
7791
8c217a4b
SM
77922014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7793
7794 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7795 calling "-exec-arguments" or "set args" before running the
7796 inferior.
7797
3deb39c6
SM
77982014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7799
7800 * lib/mi-support.exp (mi_expect_stop): Expect message for
7801 inferiors that exit with non-zero exit code.
7802
71a79f8c
YQ
78032014-05-14 Yao Qi <yao@codesourcery.com>
7804
7805 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7806 match absolute path on remote host.
7807 (test_file_list_exec_source_files): Remove "/" from the
7808 pattern.
7809
f23fcd46
YQ
78102014-05-14 Yao Qi <yao@codesourcery.com>
7811
7812 * boards/local-remote-host-notty.exp (${board}_file): New
7813 proc.
7814
9404b58f
KM
78152014-05-07 Kyle McMartin <kyle@redhat.com>
7816
7817 Pushed by Joel Brobecker <brobecker@adacore.com>.
7818 * gdb.arch/aarch64-atomic-inst.c: New file.
7819 * gdb.arch/aarch64-atomic-inst.exp: New file.
7820
5e45f04c
YQ
78212014-05-07 Yao Qi <yao@codesourcery.com>
7822
7823 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7824 in current context" too.
7825
c888a17d
KS
78262014-05-05 Keith Seitz <keiths@redhat.com>
7827
7828 * gdb.linespec/ls-dollar.exp: Add test for linespec
7829 file:convenience_variable.
7830
290a839c
YQ
78312014-05-05 Yao Qi <yao@codesourcery.com>
7832
7833 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7834 traceframes into tfile and ctf trace files. Read data from
7835 trace file and test collected data.
7836 (gdb_collect_locals_test): Likewise.
7837 (gdb_unavailable_registers_test): Likewise.
7838 (gdb_unavailable_floats): Likewise.
7839 (gdb_collect_globals_test): Likewise.
7840 (top-level): Append "ctf" to trace_file_targets if GDB
7841 supports.
7842
b5262cd0
YQ
78432014-05-05 Yao Qi <yao@codesourcery.com>
7844
7845 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7846 code to ...
7847 (gdb_collect_args_test_1): ... it. New proc.
7848 (gdb_collect_locals_test): Move some code to ...
7849 (gdb_collect_locals_test_1): ... it. New proc.
7850 (gdb_unavailable_registers_test): Move some code to ...
7851 (gdb_unavailable_registers_test_1): ... it. New proc.
7852 (gdb_unavailable_floats): Move some code to ...
7853 (gdb_unavailable_floats_1): ... it. New proc.
7854
30a1e6cc
SDJ
78552014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7856
7857 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7858 probes to test for bitness recognition.
7859 * gdb.arch/amd64-stap-optional-prefix.exp
7860 (test_probe_value_without_reg): New procedure.
7861 Add code to test for different kinds of bitness.
7862
f33da99a
SDJ
78632014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7864
7865 PR breakpoints/16889
7866 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7867 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7868
5b80f00d
PA
78692014-05-01 Pedro Alves <palves@redhat.com>
7870
7871 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7872 gdb_file_cmd if no file is specified.
7873 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7874 last_loaded_file to set the remote exec-file.
7875
f8c2a73c
PA
78762014-05-01 Pedro Alves <palves@redhat.com>
7877
7878 * boards/local-remote-host.exp: New file.
7879
be6e8ac7
PA
78802014-05-01 Pedro Alves <palves@redhat.com>
7881
7882 * boards/local-remote-host.exp: Rename to ...
7883 * boards/local-remote-host-notty.exp: ... this.
7884
cac0dc8f
JB
78852014-04-28 Joel Brobecker <brobecker@adacore.com>
7886
7887 * gdb.ada/dyn_arrayidx: New testcase.
7888
9730e6cc
YQ
78892014-04-26 Yao Qi <yao@codesourcery.com>
7890
7891 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7892 and compute the length of function main. Save it in
7893 $main_length.
7894 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7895 (top-level): Use gdb_compile to compile objects into
7896 executable and restart GDB. Remove invocation to
7897 prepare_for_testing.
7898
7ae1a6a6
PA
78992014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7900 Pedro Alves <palves@redhat.com>
7901
7902 PR server/16255
7903 * gdb.multi/multi-attach.c: New file.
7904 * gdb.multi/multi-attach.exp: New file.
7905
4082afcc
PA
79062014-04-25 Pedro Alves <palves@redhat.com>
7907
7908 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7909 user.
7910 (top level): Test that "set remote conditional-breakpoints-packet
7911 off" works as intended.
7912 * gdb.base/dprintf.exp: Test that "set remote
7913 breakpoint-commands-packet off" works as intended.
7914 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7915 New function.
7916 (top level): Call it.
7917 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7918 remote fast-tracepoints-packet off" works as intended.
7919 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7920 * lib/gdb.exp (gdb_is_target_remote): ... here.
7921
2abc3f8d
DB
79222014-04-24 David Blaikie <dblaikie@gmail.com>
7923
7924 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7925 ensure clang would not discard them.
7926 * gdb.base/gdbvars.c: Ditto.
7927 * gdb.base/memattr.c: Ditto.
7928 * gdb.base/whatis.c: Ditto.
7929 * gdb.python/py-prettyprint.c: Ditto.
7930 * gdb.trace/actions.c: Ditto.
7931 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7932 ensure clang would not discard it.
7933
bfd39632
DB
79342014-04-24 David Blaikie <dblaikie@gmail.com>
7935
7936 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7937 clang to emit the full definition of type required by the test
7938 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7939
22842ff6
DB
79402014-04-24 David Blaikie <dblaikie@gmail.com>
7941
7942 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7943 coax Clang into emitting the definition of the type.
7944 * gdb.cp/pr10728-x.h (y): Ditto.
7945 * gdb.cp/pr10728-y.cc (y): Ditto.
7946
c2e827ad
DB
79472014-04-24 David Blaikie <dblaikie@gmail.com>
7948
7949 * gdb.base/label.exp: XFAIL label related tests under Clang.
7950 * gdb.cp/cplabel.exp: Ditto.
7951 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7952 under Clang those using labels.
7953
4c2d33e7
YQ
79542014-04-25 Yao Qi <yao@codesourcery.com>
7955
7956 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7957 double_label.
7958 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7959 partial_label and double_label.
7960
56083b99
DB
79612014-04-24 David Blaikie <dblaikie@gmail.com>
7962
7963 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7964
25d4e99d
DB
79652014-04-24 David Blaikie <dblaikie@gmail.com>
7966
7967 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7968 of the function to work across GCC and Clang.
7969 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7970 pointer types (const void ** const V void **).
7971
01f9f808
MS
79722014-04-24 Michael Sturm <michael.sturm@mintel.com>
7973 Walfred Tedeschi <walfred.tedeschi@intel.com>
7974
7975 * Makefile.in (EXECUTABLES): Added i386-avx512.
7976 * gdb.arch/i386-avx512.c: New file.
7977 * gdb.arch/i386-avx512.exp: Likewise.
7978
4b48d439
KS
79792014-04-23 Keith Seitz <keiths@redhat.com>
7980
7981 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7982 (mi_make_breakpoint_table): New procedure.
7983 (mi_create_breakpoint): Use mi_make_breakpoint
7984 and return the result.
7985 (mi_make_breakpoint): New procedure.
7986 (mi_build_kv_pairs): New procedure.
7987
7988 * gdb.mi/mi-break.exp: Remove unused globals,
7989 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7990 All callers updated.
7991 * gdb.mi/mi-dprintf.exp: Use variable to track command
7992 number.
7993 Update all callers of mi_create_breakpoint and use
7994 mi_make_breakpoint_table.
7995 Remove any unused global variables.
7996 * gdb.mi/mi-nonstop.exp: Likewise.
7997 * gdb.mi/mi-nsintrall.exp: Likewise.
7998 * gdb.mi/mi-nsmoribund.exp: Likewise.
7999 * gdb.mi/mi-nsthrexec.exp: Likewise.
8000 * gdb.mi/mi-reverse.exp: Likewise.
8001 * gdb.mi/mi-simplerun.exp: Likewise.
8002 * gdb.mi/mi-stepn.exp: Likewise.
8003 * gdb.mi/mi-syn-frame.exp: Likewise.
8004 * gdb.mi/mi-until.exp: Likewise.
8005 * gdb.mi/mi-var-cp.exp: Likewise.
8006 * gdb.mi/mi-var-display.exp: Likewise.
8007 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
8008 * gdb.mi/mi2-var-child.exp: Likewise.
8009 * gdb.mi/mi-vla-c99.exp: Likewise.
8010 * lib/mi-support.exp: Likewise.
8011
8012 From Ian Lance Taylor <iant@cygnus.com>:
8013 * lib/gdb.exp (parse_args): New procedure.
8014
08351840
PA
80152014-04-23 Pedro Alves <palves@redhat.com>
8016
8017 * gdb.base/break-unload-file.c: New file.
8018 * gdb.base/break-unload-file.exp: New file.
8019 * gdb.base/sym-file-lib.c (baz): New function.
8020 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
8021 field.
8022 (load): Store the segment's mapped size.
8023 (unload): New function.
8024 (unload_shlib): New function.
8025 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
8026 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
8027 set a breakpoint at baz, and call it.
8028 * gdb.base/sym-file.exp: New tests for stale breakpoint
8029 instructions.
8030
076855f9
PA
80312014-04-23 Pedro Alves <palves@redhat.com>
8032
8033 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
8034 * gdb.base/hbreak-in-shr-unsupported.c: New file.
8035 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
8036 * gdb.base/hbreak-unmapped.c: New file.
8037 * gdb.base/hbreak-unmapped.exp: New file.
8038 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
8039 * lib/gdb.exp (gdb_is_target_remote): ... here.
8040
483805cf
PA
80412014-04-22 Pedro Alves <palves@redhat.com>
8042
8043 * gdb.base/consecutive-step-over.c: New file.
8044 * gdb.base/consecutive-step-over.exp: New file.
8045
06d97543
PA
80462014-04-22 Pedro Alves <palves@redhat.com>
8047
8048 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
8049 instead of send_gdb/gdb_expect.
8050
b4429ea2
YQ
80512014-04-22 Yao Qi <yao@codesourcery.com>
8052
8053 * lib/trace-support.exp (generate_tracefile): New procedure.
8054 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
8055 return 0.
8056 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
8057 if generate_tracefile returns 1.
8058
51d48146
PA
80592014-04-18 Tom Tromey <palves@redhat.com>
8060 Pedro alves <tromey@redhat.com>
8061
8062 PR backtrace/15558
8063 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
8064 with a backtrace limit.
8065 * gdb.python/py-frame-inline.exp: Test running to an inline
8066 function with a backtrace limit, and printing the newest frame.
8067 * gdb.python/py-frame-inline.c (main): Call f.
8068
bd1dce5f
MS
80692014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8070
8071 * gdb.java/jnpe.exp: Drop srcdir from untested path.
8072
40d1a503
MS
80732014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8074
8075 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
8076 Drop prefix from unsupported source file path.
8077
389b98f7
YQ
80782014-04-17 Yao Qi <yao@codesourcery.com>
8079
8080 * lib/gdb.exp (with_target_charset): New proc.
8081 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
8082 with_target_charset.
8083 (test_print_strings): Likewise.
8084 (test_repeat_bytes): Likewise.
8085 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
8086 for some tests.
8087
22869d73
KS
80882014-04-16 Keith Seitz <keiths@redhat.com>
8089
8090 PR gdb/15827
8091 * gdb.dwarf2/corrupt.c: New file.
8092 * gdb.dwarf2/corrupt.exp: New file.
8093
c4f87ca6
KS
80942014-04-16 Keith Seitz <keiths@redhat.com>
8095
8096 PR c++/16597
8097 * gdb.cp/namelessclass.cc: New file.
8098 * gdb.cp/namelessclass.exp: New file.
8099 * gdb.cp/namelessclass.S: New file.
8100
ab19de87
DE
81012014-04-16 Doug Evans <dje@google.com>
8102
8103 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
8104 Add comment.
8105 (gdbserver_default_get_comm_port): New function.
8106 (gdbserver_start): Check if board file provided
8107 "gdbserver,get_comm_port" and use it if so.
8108 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
8109 (gdb,socketport): Set to "stdio".
8110 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
8111 (stdio_gdbserver_template): Delete.
8112 (${board}_get_remote_address): Update.
8113 (${board}_build_remote_cmd): Delete.
8114 (${board}_get_comm_port): New function.
8115 (${board}_spawn): Update.
8116 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
8117 Delete.
8118 (${board}_get_remote_address): Update.
8119 (${board}_get_comm_port): New function.
8120
fc98a809
AB
81212014-04-16 Andrew Burgess <aburgess@broadcom.com>
8122
8123 * gdb.base/memattr.exp: Improve regexps to handle memory regions
8124 appearing in any order.
8125
87fd9e6e
DE
81262014-04-15 Doug Evans <dje@google.com>
8127
8128 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
8129 uninitialized value of "description".
8130
099fc3ea
KS
81312014-04-15 Keith Seitz <keiths@redhat.com>
8132
8133 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
8134 Remove unused globals.
8135 (test_running_the_program): Likewise.
8136 (test_controlled_execution): Likewise.
8137 (test_controlling_breakpoints): Likewise.
8138 (test_program_termination): Likewise.
8139
5da151d4
KS
81402014-04-15 Keith Seitz <keiths@redhat.com>
8141
8142 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
8143 unused globals.
8144 (test_rbreak_creation_and_listing): Likewise.
8145 (test_ignore_count): Likewise.
8146 (test_error): Likewise.
8147
35e5d2f0
PA
81482014-04-15 Pedro Alves <palves@redhat.com>
8149
8150 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
8151 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
8152 sym-file-loader.c.
8153 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8154 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8155 to sym-file-loader.c.
8156 (struct library): Forward declare.
8157 (load_shlib, lookup_function): Change prototypes.
8158 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8159 (translate_offset): Remove declarations.
8160 (get_text_addr): New declaration.
8161 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
8162 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
8163 sym-file-loader.h.
8164 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8165 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8166 here from sym-file-loader.h.
8167 (struct library): New structure.
8168 (load_shlib, lookup_function): Change prototypes and adjust to
8169 work with a struct library.
8170 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8171 (translate_offset): Make static.
8172 (get_text_addr): New function.
8173 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
8174
eb4c1710
PA
81752014-04-15 Pedro Alves <palves@redhat.com>
8176
8177 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
8178
2d1baf52
PA
81792014-04-15 Pedro Alves <palves@redhat.com>
8180
8181 * gdb.base/sym-file-loader.c: Include <limits.h>.
8182 (SELF_LINK): New define.
8183 (get_origin): New function.
8184 (load_shlib): Use it.
8185 * gdb.base/sym-file.exp: Don't early return if the target is
8186 remote. Use runto_main, and issue fail is that fails. Use
8187 gdb_load_shlibs.
8188 (shlib_name): Delete.
8189 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
8190
7dd6df01
PA
81912014-04-15 Pedro Alves <palves@redhat.com>
8192
8193 * gdb.base/sym-file.exp: Remove regex characters from test
8194 message. Don't refer to breakpoint numbers in test messages.
8195
b50c8614
KS
81962014-04-14 Keith Seitz <keiths@redhat.com>
8197
8198 PR c++/16253
8199 * gdb.cp/var-tag.cc: New file.
8200 * gdb.cp/var-tag.exp: New file.
8201 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8202 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8203 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8204 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8205
3d567982
TT
82062014-04-14 Tom Tromey <tromey@redhat.com>
8207
8208 * gdb.cp/classes.exp (test_enums): Handle underlying type.
8209 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
8210 type.
8211 * gdb.cp/enum-class.exp: New file.
8212 * gdb.cp/enum-class.cc: New file.
8213
0626fc76
TT
82142014-04-14 Tom Tromey <tromey@redhat.com>
8215
8216 * gdb.dwarf2/enum-type.exp: New file.
8217
dca325b3
SA
82182014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8219
8220 * gdb.mi/mi-vla-c99.exp: New file.
8221 * gdb.mi/vla.c: New file.
8222
5854b38a
SA
82232014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8224
8225 * gdb.base/vla-datatypes.c: New file.
8226 * gdb.base/vla-datatypes.exp: New file.
8227
463bb957
SA
82282014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8229
8230 * gdb.base/vla-ptr.c: New file.
8231 * gdb.base/vla-ptr.exp: New file.
8232
3dd170be
SA
82332014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8234
8235 * gdb.dwarf2/count.exp: New file.
8236
5ecaaa66
SA
82372014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8238
8239 * gdb.base/vla-sideeffect.c: New file.
8240 * gdb.base/vla-sideeffect.exp: New file.
8241
41f1ada5
DB
82422014-04-14 David Blaikie <dblaikie@gmail.com>
8243
8244 * gdb.mi/non-stop.c: Add return value for non-void function return
8245 statement.
8246 * gdb.threads/staticthreads.c: Ditto.
8247
0be03e84
DE
82482014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8249 Doug Evans <xdje42@gmail.com>
8250
8251 * gdb.guile/scm-value.c: Improve test case.
8252 * gdb.guile/scm-value.exp: Add new test.
8253
f180a1fb
DB
82542014-04-11 David Blaikie <dblaikie@gmail.com>
8255
8256 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8257 override Clang's default.
8258
6b662e19
JB
82592014-04-11 Joel Brobecker <brobecker@adacore.com>
8260
8261 Revert the following changes (regressions):
8262
8263 * gdb.base/vla-sideeffect.c: New file.
8264 * gdb.base/vla-sideeffect.exp: New file.
8265
8266 * gdb.dwarf2/count.exp: New file.
8267
8268 * gdb.base/vla-multi.c: New file.
8269 * gdb.base/vla-multi.exp: New file.
8270
8271 * gdb.base/vla-ptr.c: New file.
8272 * gdb.base/vla-ptr.exp: New file.
8273
8274 * gdb.base/vla-datatypes.c: New file.
8275 * gdb.base/vla-datatypes.exp: New file.
8276
8277 * gdb.mi/mi-vla-c99.exp: New file.
8278 * gdb.mi/vla.c: New file.
8279
245a5f0b
KS
82802014-04-11 Keith Seitz <keiths@redhat.com>
8281
8282 PR c++/16675
8283 * gdb.cp/cpsizeof.exp: New file.
8284 * gdb.cp/cpsizeof.cc: New file.
8285
58a84dcf
SA
82862014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8287
191a8a90
JB
8288 * gdb.mi/mi-vla-c99.exp: New file.
8289 * gdb.mi/vla.c: New file.
58a84dcf 8290
c8655f75
SA
82912014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8292
8293 * gdb.base/vla-datatypes.c: New file.
8294 * gdb.base/vla-datatypes.exp: New file.
8295
024e13b4
SA
82962014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8297
8298 * gdb.base/vla-ptr.c: New file.
8299 * gdb.base/vla-ptr.exp: New file.
8300
1a237e0e
SA
83012014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8302
8303 * gdb.base/vla-multi.c: New file.
8304 * gdb.base/vla-multi.exp: New file.
8305
504f3432
SA
83062014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8307
8308 * gdb.dwarf2/count.exp: New file.
8309
3bce8237
SA
83102014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8311
191a8a90
JB
8312 * gdb.base/vla-sideeffect.c: New file.
8313 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 8314
322f9c21
YQ
83152014-04-11 Yao Qi <yao@codesourcery.com>
8316
8317 * gdb.base/completion.exp: Check file exists before running tests
8318 on file completion.
8319
d708bcd1
PA
83202014-04-10 Pedro Alves <palves@redhat.com>
8321
8322 * gdb.base/cond-eval-mode.c: New file.
8323 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8324 prepare_for_testing to build the new file. Check result of
8325 runto_main.
8326 (test_break, test_watch): New procedures.
8327 (top level): Use them.
8328
ae1d2761
PM
83292014-04-08 Pierre Muller <muller@sourceware.org>
8330
8331 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8332 Ctrl-V use for mingw hosts.
8333
7af389b8
SC
83342014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8335
8336 * gdb.python/py-value.c: Improve test case.
8337 * gdb.python/py-value.exp: Add new test.
8338
5e703181
DE
83392014-04-07 David Blaikie <dblaikie@gmail.com>
8340
8341 * lib/compiler.c: Identify the clang compiler.
8342 * lib/compiler.cc: Ditto.
8343
9810b410
YQ
83442014-04-03 Yao Qi <yao@codesourcery.com>
8345
8346 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8347
98d1b8dc
AB
83482014-04-01 Anton Blanchard <anton@samba.org>
8349
8350 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8351 messages unique.
8352
3114cea1
AB
83532014-04-01 Anton Blanchard <anton@samba.org>
8354
8355 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8356 prepare_for_testing.
8357
62f7182c
AB
83582014-04-01 Anton Blanchard <anton@samba.org>
8359
8360 * gdb.arch/ppc64-atomic-inst.c: Remove.
8361 * gdb.arch/ppc64-atomic-inst.S: New file.
8362 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8363
770e7fc7
DE
83642014-03-31 Doug Evans <dje@google.com>
8365
8366 * gdb.base/print-symbol-loading-lib.c: New file.
8367 * gdb.base/print-symbol-loading-main.c: New file.
8368 * gdb.base/print-symbol-loading.exp: New file.
8369
46e2bafa
YQ
83702014-03-31 Yao Qi <yao@codesourcery.com>
8371
8372 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8373
8776cfe9
JB
83742014-03-28 Joel Brobecker <brobecker@adacore.com>
8375
8376 * gdb.ada/mi_dyn_arr: New testcase.
8377
5d1ef361
DE
83782014-03-27 Doug Evans <dje@google.com>
8379
8380 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8381
b5bee914
YQ
83822014-03-27 Yao Qi <yao@codesourcery.com>
8383
8384 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8385 if target is nios2-*-*.
8386
0d4d0e77
YQ
83872014-03-26 Yao Qi <yao@codesourcery.com>
8388
8389 * lib/gdb.exp (readline_is_used): New proc.
8390 * gdb.base/completion.exp: Move tests on command complete up.
8391 Skip the rest of tests if readline is not used.
8392 * gdb.ada/complete.exp: Skp the test if readline is not
8393 used.
8394 * gdb.base/filesym.exp: Likewise.
8395 * gdb.base/macscp.exp: Likewise.
8396 * gdb.base/readline-ask.exp: Likewise.
8397 * gdb.base/readline.exp: Likewise.
8398 * gdb.python/py-cmd.exp: Likewise.
8399 * gdb.trace/tfile.exp: Likewise.
8400
29361eee
YQ
84012014-03-26 Yao Qi <yao@codesourcery.com>
8402
8403 * gdb.base/macscp.exp: Fix code format issues.
8404
bc9a5525
UW
84052014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8406
8407 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8408 * gdb.asm/powerpc64le.inc: New file.
8409
d3839ede
PA
84102014-03-25 Pedro Alves <palves@redhat.com>
8411 Doug Evans <dje@google.com>
8412
8413 * gdb.base/source-execution.c: New file.
8414 * gdb.base/source-execution.exp: New file.
8415 * gdb.base/source-execution.gdb: New file.
8416
01672a57
DE
84172014-03-24 Doug Evans <dje@google.com>
8418
8419 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8420 using fission.
8421
88bbeca9
HZ
84222014-03-24 Hui Zhu <hui@codesourcery.com>
8423 Pedro Alves <palves@redhat.com>
8424
8425 PR breakpoints/16101
8426 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8427 test pass/fail messages. Detect missing support for dprintf when
8428 breakpoints are actually inserted.
8429 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8430 breakpoints are actually inserted.
8431 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8432 fails.
8433
d2348791
JK
84342014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8435
8436 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8437
feef67ab
DE
84382014-03-22 Doug Evans <xdje42@gmail.com>
8439
8440 * gdb.python/python.exp (python not supported): Verify multi-line
8441 python command issues an error.
25d743f9 8442 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 8443 guile command issues an error.
feef67ab 8444
ecebef6a
MR
84452014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8446
8447 * gdb.threads/thread-specific.exp: Handle the lack of usable
8448 $this_breakpoint and $this_thread.
8449
ccdd1909
HZ
84502014-03-21 Hui Zhu <hui@codesourcery.com>
8451
8452 * gdb.base/attach.exp (do_command_attach_tests): New.
8453
beb460e8
PA
84542014-03-20 Tom Tromey <tromey@redhat.com>
8455 Pedro Alves <palves@redhat.com>
8456
8457 PR cli/15718
8458 * gdb.base/condbreak-call-false.c: New file.
8459 * gdb.base/condbreak-call-false.exp: New file.
8460
40acf43a
PA
84612014-03-20 Pedro Alves <palves@redhat.com>
8462
8463 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8464 Delete.
8465 (block_signals, unblock_signals): Delete.
8466 (child_function_2, main): Remove references to deleted variable
8467 and functions.
8468
9f5e1e02
PA
84692014-03-20 Pedro Alves <palves@redhat.com>
8470
8471 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8472 Use pthread_kill to signal thread 2.
8473 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8474 Adjust to make the test send itself a signal rather than using the
8475 host's "kill" command.
8476
99619bea
PA
84772014-03-20 Pedro Alves <palves@redhat.com>
8478
8479 * gdb.threads/multiple-step-overs.c: New file.
8480 * gdb.threads/multiple-step-overs.exp: New file.
8481 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8482 Adjust expected infrun debug output.
8483
2adfaa28
PA
84842014-03-20 Pedro Alves <palves@redhat.com>
8485
8486 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8487 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8488
31e77af2
PA
84892014-03-20 Pedro Alves <palves@redhat.com>
8490
8491 PR breakpoints/7143
8492 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8493 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8494 of gdb_test_multiple.
8495 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8496 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8497
b9f437de
PA
84982014-03-20 Pedro Alves <palves@redhat.com>
8499
8500 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8501 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8502
05adc73e
PA
85032014-03-19 Pedro Alves <palves@redhat.com>
8504
8505 * gdb.base/async.exp: Remove early return.
8506
6048b950
PA
85072014-03-19 Pedro Alves <palves@redhat.com>
8508
8509 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8510
8bcfb00a
PA
85112014-03-19 Pedro Alves <palves@redhat.com>
8512
8513 * gdb.base/async.exp (test_background): Expect \r\n after
8514 "completed." in the fail pattern.
8515
884e37dc
PA
85162014-03-19 Pedro Alves <palves@redhat.com>
8517
8518 * gdb.base/async.exp (test_background): New procedure.
8519 Use it for all background execution command tests.
8520
148e57e2
PA
85212014-03-19 Pedro Alves <palves@redhat.com>
8522
8523 * gdb.base/async.exp: Use prepare_for_testing.
8524
f48088c7
PA
85252014-03-19 Pedro Alves <palves@redhat.com>
8526
8527 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8528 the same line.
8529
e2f6c966
PA
85302014-03-19 Pedro Alves <palves@redhat.com>
8531
8532 * gdb.base/async.c (main): Add "jump here" and "until here" line
8533 marker comments.
8534 * gdb.base/async.exp (jump_here): New global.
8535 (jump& test): Use it.
8536 (until_here): New global.
8537 (until& test): Use it.
8538
c30568d4
PA
85392014-03-19 Pedro Alves <palves@redhat.com>
8540
8541 * gdb.base/async.exp: Don't frob gdb_protocol.
8542
0172b6a7
DE
85432014-03-18 Doug Evans <xdje42@gmail.com>
8544
8545 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8546 Fix spelling of exec-done-display.
8547
06c868a8
JK
85482014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8549
8550 PR gdb/15358
8551 * gdb.base/gdb-sigterm.c: New file.
8552 * gdb.base/gdb-sigterm.exp: New file.
8553
0c7e1a46
PA
85542014-03-18 Pedro Alves <palves@redhat.com>
8555
8556 PR gdb/13860
8557 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8558 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8559 solib-event.
8560
f7c77d93
JB
85612014-03-17 Joel Brobecker <brobecker@adacore.com>
8562
8563 * gdb.ada/pckd_arr_ren: New testcase.
8564
5a1e8c7a
DE
85652014-03-13 Doug Evans <xdje42@gmail.com>
8566
8567 PR guile/16612
8568 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8569 collect after discarding symbols.
8570
350e1a76
DE
85712014-03-13 Ludovic Courtès <ludo@gnu.org>
8572 Doug Evans <xdje42@gmail.com>
8573
8574 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8575 to history survives a gc.
8576
a69900ae
PA
85772014-03-13 Pedro Alves <palves@redhat.com>
8578
8579 * gdb.base/default.exp: Don't test "target procfs".
8580
5db9f0bd
PA
85812014-03-13 Pedro Alves <palves@redhat.com>
8582
8583 * gdb.base/default.exp: Update "target child" and "target procfs"
8584 tests to not expect "Unix".
8585
b3ccfe11
TT
85862014-03-12 Tom Tromey <tromey@redhat.com>
8587
8588 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8589 New procs. Add target-async tests.
8590 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8591 Add target-async tests.
8592
646f4417
AA
85932014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8594
8595 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8596 'func_start' and 'func_end' for the beginning and end of the
8597 function code, respectively.
8598 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8599 'func_end' instead of 'func' and 'main'.
8600
288c211f
AA
86012014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8602
8603 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8604 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8605 generate the debug info assembler source.
8606
e0c0f156
AA
86072014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8608
8609 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8610 * gdb.dwarf2/arr-subrange.exp: Likewise.
8611 * gdb.dwarf2/dwz.exp: Likewise.
8612 * gdb.dwarf2/method-ptr.exp: Likewise.
8613 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8614 * gdb.dwarf2/subrange.exp: Likewise.
8615 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8616 * gdb.dwarf2/implptrpiece.exp: Likewise.
8617 * gdb.dwarf2/nostaticblock.exp: Likewise.
8618
0e5c4555
AA
86192014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8620
8621 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8622 directory to absolute path name arguments.
8623
5ec18f2b
JG
86242014-03-10 Joel Brobecker <brobecker@adacore.com>
8625
8626 * gdb.ada/tagged_access: New testcase.
8627
847fc4f2
MM
86282014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8629
8630 * gdb.btrace/data.exp: Update expected output.
8631
cc3da688
YQ
86322014-03-06 Yao Qi <yao@codesourcery.com>
8633
8634 * gdb.trace/pr16508.exp: New file.
8635
0f26cec1
PA
86362014-03-05 Pedro Alves <palves@redhat.com>
8637
8638 PR gdb/16575
8639 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8640 procedure.
8641 (top level): Adjust to use it. Add tests that exercise breakpoint
8642 interaction with the code-cache.
8643
7a5a839f
LC
86442014-02-26 Ludovic Courtès <ludo@gnu.org>
8645
8646 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8647 test for 'history-append!'.
8648
31aa7e4e
JB
86492014-02-26 Joel Brobecker <brobecker@adacore.com>
8650
8651 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8652 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8653 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8654 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8655 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8656 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8657
1b588015
JB
86582014-02-26 Joel Brobecker <brobecker@adacore.com>
8659
8660 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8661 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8662 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8663
55426c9d
JB
86642014-02-26 Joel Brobecker <brobecker@adacore.com>
8665
8666 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8667
dc53a7ad
JB
86682014-02-26 Joel Brobecker <brobecker@adacore.com>
8669
8670 * gdb.dwarf2/arr-stride.c: New file.
8671 * gdb.dwarf2/arr-stride.exp: New file.
8672
12ab52e9
PA
86732014-02-26 Pedro Alves <palves@redhat.com>
8674
8675 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8676 that won't ever trigger. Make sure that GDB reports the correct
8677 breakpoint that caused the stop.
8678
849c862e
JK
86792014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8680
8681 PR gdb/16626
8682 * gdb.base/auto-load-script: New file.
8683 * gdb.base/auto-load.c: New file.
8684 * gdb.base/auto-load.exp: New file.
8685
71b7d793
JK
8686 PR gdb/16626
8687 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8688
e2f0d509
JK
86892014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8690
8691 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8692 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8693
50cc37c8
DE
86942014-02-24 Doug Evans <dje@google.com>
8695
8696 * lib/gdb.exp (run_on_host): Log error output if program fails.
8697
ea4758f2
PA
86982014-02-21 Pedro Alves <palves@redhat.com>
8699
8700 * gdb.threads/step-after-sr-lock.c: Rename to ...
8701 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8702 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8703 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8704 ... this.
8705
d7b30f67
SDJ
87062014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8707
8708 PR tdep/16397
8709 * gdb.arch/amd64-stap-special-operands.exp: New file.
8710 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8711 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8712 * gdb.arch/amd64-stap-triplet.S: Likewise.
8713 * gdb.arch/amd64-stap-triplet.c: Likewise.
8714
83deb43f
JB
87152014-02-20 Joel Brobecker <brobecker@adacore.com>
8716
8717 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8718 in .section pseudo-op.
8719
adde2bff
DE
87202014-02-20 lin zuojian <manjian2006@gmail.com>
8721 Joel Brobecker <brobecker@adacore.com>
8722 Doug Evans <xdje42@gmail.com>
8723
8724 PR symtab/16581
8725 * gdb.dwarf2/dw2-icycle.S: New file.
8726 * gdb.dwarf2/dw2-icycle.c: New file.
8727 * gdb.dwarf2/dw2-icycle.exp: New file.
8728
f7bd0f78
SC
87292014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8730
8731 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8732 operations on gdb.Value objects.
8733 * gdb.python/py-value-cc.exp: Add new test to test operations on
8734 gdb.Value objects.
8735
c17ef0d5
DE
87362014-02-18 Doug Evans <dje@google.com>
8737
8738 * Makefile.in (TESTS): New variable.
8739 (expanded_tests, expanded_tests_or_none): New variables
8740 (check-single): Pass $(expanded_tests_or_none) to runtest.
8741 (check-parallel): Only run tests in $(TESTS) if non-empty.
8742 (check/no-matching-tests-found): New rule.
8743 * README: Document TESTS makefile variable.
8744
5dd3176f
DE
87452014-02-18 Doug Evans <dje@google.com>
8746
8747 * Makefile.in (check-parallel): rm -rf outputs temp.
8748
0b10be4f
JK
87492014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8750
8751 Fix "ERROR: no fileid for" in the testsuite.
8752 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8753
85f224e7
DE
87542014-02-12 Doug Evans <dje@google.com>
8755
8756 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8757 (MISCELLANEOUS): New variable.
8758 (clean): rm -rf $(MISCELLANEOUS).
8759 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8760 dwp live in the same directory as symlinks, with each symlink pointed
8761 to a differently named file in a different directory.
8762
149b30ff
DE
87632014-02-11 Doug Evans <dje@google.com>
8764
8765 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8766 of Tcl file commands.
8767
1dfdac32
MK
87682014-02-10 Mark Kettenis <kettenis@gnu.org>
8769
8770 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8771 "kill -SIGUSR1 -1".
8772
aa4fb036
JB
87732014-02-10 Joel Brobecker <brobecker@adacore.com>
8774
8775 * gdb.ada/tick_length_array_enum_idx: New testcase.
8776
ed3ef339
DE
87772014-02-10 Doug Evans <xdje42@gmail.com>
8778
8779 * configure.ac (AC_OUTPUT): Add gdb.guile.
8780 * configure: Regenerate.
8781 * lib/gdb-guile.exp: New file.
8782 * lib/gdb.exp (get_target_charset): New function.
8783 * gdb.base/help.exp: Update expected output from "apropos apropos".
8784 * gdb.guile/Makefile.in: New file.
8785 * gdb.guile/guile.exp: New file.
8786 * gdb.guile/scm-arch.c: New file.
8787 * gdb.guile/scm-arch.exp: New file.
8788 * gdb.guile/scm-block.c: New file.
8789 * gdb.guile/scm-block.exp: New file.
8790 * gdb.guile/scm-breakpoint.c: New file.
8791 * gdb.guile/scm-breakpoint.exp: New file.
8792 * gdb.guile/scm-disasm.c: New file.
8793 * gdb.guile/scm-disasm.exp: New file.
8794 * gdb.guile/scm-equal.c: New file.
8795 * gdb.guile/scm-equal.exp: New file.
8796 * gdb.guile/scm-error.exp: New file.
8797 * gdb.guile/scm-error.scm: New file.
8798 * gdb.guile/scm-frame-args.c: New file.
8799 * gdb.guile/scm-frame-args.exp: New file.
8800 * gdb.guile/scm-frame-args.scm: New file.
8801 * gdb.guile/scm-frame-inline.c: New file.
8802 * gdb.guile/scm-frame-inline.exp: New file.
8803 * gdb.guile/scm-frame.c: New file.
8804 * gdb.guile/scm-frame.exp: New file.
8805 * gdb.guile/scm-generics.exp: New file.
8806 * gdb.guile/scm-gsmob.exp: New file.
8807 * gdb.guile/scm-iterator.c: New file.
8808 * gdb.guile/scm-iterator.exp: New file.
8809 * gdb.guile/scm-math.c: New file.
8810 * gdb.guile/scm-math.exp: New file.
8811 * gdb.guile/scm-objfile-script-gdb.in: New file.
8812 * gdb.guile/scm-objfile-script.c: New file.
8813 * gdb.guile/scm-objfile-script.exp: New file.
8814 * gdb.guile/scm-objfile.c: New file.
8815 * gdb.guile/scm-objfile.exp: New file.
8816 * gdb.guile/scm-ports.exp: New file.
8817 * gdb.guile/scm-pretty-print.c: New file.
8818 * gdb.guile/scm-pretty-print.exp: New file.
8819 * gdb.guile/scm-pretty-print.scm: New file.
8820 * gdb.guile/scm-section-script.c: New file.
8821 * gdb.guile/scm-section-script.exp: New file.
8822 * gdb.guile/scm-section-script.scm: New file.
8823 * gdb.guile/scm-symbol.c: New file.
8824 * gdb.guile/scm-symbol.exp: New file.
8825 * gdb.guile/scm-symtab-2.c: New file.
8826 * gdb.guile/scm-symtab.c: New file.
8827 * gdb.guile/scm-symtab.exp: New file.
8828 * gdb.guile/scm-type.c: New file.
8829 * gdb.guile/scm-type.exp: New file.
8830 * gdb.guile/scm-value-cc.cc: New file.
8831 * gdb.guile/scm-value-cc.exp: New file.
8832 * gdb.guile/scm-value.c: New file.
8833 * gdb.guile/scm-value.exp: New file.
8834 * gdb.guile/source2.scm: New file.
8835 * gdb.guile/types-module.cc: New file.
8836 * gdb.guile/types-module.exp: New file.
8837
7026a7c1
YQ
88382014-02-10 Yao Qi <yao@codesourcery.com>
8839
8840 PR testsuite/16543
8841 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8842 * configure: Regenerated.
8843 * Makefile.in: New file.
8844
6c466447
AS
88452014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8846
8847 * gdb.python/py-framefilter.exp: Fix typo.
8848
6e854735
YQ
88492014-02-08 Yao Qi <yao@codesourcery.com>
8850
8851 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8852 that no =breakpoint-modified is emitted when breakpoints are
8853 modified through MI commands.
8854
d137e6dc
PA
88552014-02-07 Pedro Alves <pedro@codesourcery.com>
8856 Pedro Alves <palves@redhat.com>
8857
8858 * gdb.threads/step-after-sr-lock.c: New file.
8859 * gdb.threads/step-after-sr-lock.exp: New file.
8860
b5ee5a50
PA
88612014-02-07 Pedro Alves <palves@redhat.com>
8862
8863 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8864
3c77faf3
JK
88652014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8866
8867 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8868 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8869
6dddc817
DE
88702014-02-06 Doug Evans <xdje42@gmail.com>
8871
8872 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8873 output.
8874
8875 * gdb.gdb/python-interrupts.exp: New file.
8876
de7b2893
YQ
88772014-02-05 Yao Qi <yao@codesourcery.com>
8878
8879 * gdb.trace/report.exp (use_collected_data): Test the output
8880 of "info threads" and "info inferiors".
8881
66d032ac
YQ
88822014-02-05 Yao Qi <yao@codesourcery.com>
8883
8884 Revert this patch:
8885
8886 2013-05-24 Yao Qi <yao@codesourcery.com>
8887
8888 * gdb.trace/tfile.exp: Test inferior and thread.
8889
591a12a1
UW
88902014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8891
8892 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8893 on a function.
8894 * gdb.base/step-bt.c: Call hello via function pointer to make
8895 sure its first instruction is executed on powerpc64le-linux.
8896
0ff3e01f
UW
88972014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8898
8899 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8900
084ee545
UW
89012014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8902
8903 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8904 of the test patterns for use on little-endian systems.
8905
6ed14ff3
UW
89062014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8907
8908 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8909 (decimal_vector): Fix for little-endian.
8910
401e27fd
JM
89112014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8912
8913 * gdb.arch/sparc-sysstep.exp: New file.
8914 * gdb.arch/sparc-sysstep.c: Likewise.
8915
8916 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8917
8b924729
EBM
89182014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8919
8920 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8921
fb151210
JB
89222014-01-23 Tom Tromey <tromey@redhat.com>
8923
8924 * gdb.ada/array_char_idx: New testcase.
8925
0740f8d8
TT
89262014-01-23 Tom Tromey <tromey@redhat.com>
8927
8928 PR python/16487:
8929 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8930 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8931 classes.
8932
21909fa1
TT
89332014-01-23 Tom Tromey <tromey@redhat.com>
8934
8935 PR python/16491:
8936 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8937 string from an inferior frame.
8938 * gdb.python/py-framefilter-mi.exp: Update.
8939
87ce2a04
DE
89402014-01-22 Doug Evans <dje@google.com>
8941
8942 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8943
237b092b
AA
89442014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8945
8946 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8947
d674a709
AA
89482014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8949
8950 * gdb.trace/entry-values.exp: Remove excess space character from
8951 regex patterns. Handle s390 call instruction.
8952
20fa3390
AA
89532014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8954
8955 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8956 define "*_start" label. Make "name" static.
8957 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8958 ${name} by references to ${name}_start.
8959
78466714
AA
89602014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8961
8962 * gdb.base/info-macros.exp: Remove "debug" from the compile
8963 options.
8964
ec9f644a
IB
89652014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8966
8967 * gdb.dlang/demangle.exp: New file.
8968
94b1b47e
IB
89692014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8970
8971 * gdb.dlang/primitive-types.exp: New file.
8972
7f420862
IB
89732014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8974
8975 * configure.ac: Create gdb.dlang/Makefile.
8976 * configure: Regenerate.
8977 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8978 * gdb.dlang/Makefile.in: New file.
8979 * lib/d-support.exp: New file.
8980 * lib/gdb.exp (skip_d_tests): New proc.
8981
52834460
MM
89822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8983
8984 * gdb.btrace/delta.exp: Check reverse stepi.
8985 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8986 * gdb.btrace/finish.exp: New.
8987 * gdb.btrace/next.exp: New.
8988 * gdb.btrace/nexti.exp: New.
8989 * gdb.btrace/record_goto.c: Add comments.
8990 * gdb.btrace/step.exp: New.
8991 * gdb.btrace/stepi.exp: New.
8992 * gdb.btrace/multi-thread-step.c: New.
8993 * gdb.btrace/multi-thread-step.exp: New.
8994 * gdb.btrace/rn-dl-bind.c: New.
8995 * gdb.btrace/rn-dl-bind.exp: New.
8996 * gdb.btrace/data.c: New.
8997 * gdb.btrace/data.exp: New.
8998 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8999
6e07b1d2
MM
90002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9001
9002 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
9003 * gdb.btrace/exception.exp: Update.
9004 * gdb.btrace/instruction_history.exp: Update.
9005 * gdb.btrace/record_goto.exp: Update.
9006 * gdb.btrace/tailcall.exp: Update.
9007 * gdb.btrace/unknown_functions.exp: Update.
9008 * gdb.btrace/delta.exp: New.
9009
0b722aec
MM
90102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9011
9012 * gdb.btrace/record_goto.exp: Add backtrace test.
9013 * gdb.btrace/tailcall.exp: Add backtrace test.
9014
066ce621
MM
90152014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9016
9017 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
9018 * gdb.btrace/record_goto.c: New.
9019 * gdb.btrace/record_goto.exp: New.
9020 * gdb.btrace/x86-record_goto.S: New.
9021
0688d04e
MM
90222014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9023
9024 * gdb.btrace/function_call_history.exp: Update tests.
9025 * gdb.btrace/instruction_history.exp: Update tests.
9026
8710b709
MM
90272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9028
9029 * gdb.btrace/function_call_history.exp: Fix expected field
9030 order for "record function-call-history".
9031 Add new tests for "record function-call-history /c".
9032 * gdb.btrace/exception.cc: New.
9033 * gdb.btrace/exception.exp: New.
9034 * gdb.btrace/tailcall.exp: New.
9035 * gdb.btrace/x86-tailcall.S: New.
9036 * gdb.btrace/x86-tailcall.c: New.
9037 * gdb.btrace/unknown_functions.c: New.
9038 * gdb.btrace/unknown_functions.exp: New.
9039 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9040
5de9129b
MM
90412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9042
9043 * gdb.btrace/instruction_history.exp: Update.
9044 * gdb.btrace/function_call_history.exp: Update.
9045
23a7fe75
MM
90462014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9047
9048 * gdb.btrace/function_call_history.exp: Fix expected function
9049 trace.
9050 * gdb.btrace/instruction_history.exp: Initialize traced.
9051 Remove traced_functions.
9052
724c7dd8
MM
90532014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9054
9055 * gdb.btrace/function_call_history.exp: Update
9056 * gdb.btrace/instruction_history.exp: Update.
9057
6d78d93b
MM
90582014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9059
9060 * gdb.btrace/enable.exp: Update expected text.
9061
93a360cc
OJ
90622014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
9063
9064 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
9065 bytes.
9066
3772b53f
MR
90672014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
9068
9069 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
9070
596662fa
OJ
90712014-01-15 Omair Javaid <omair.javaid@linaro.org>
9072
9073 * lib/gdb.exp (supports_process_record): Return true for
9074 arm*-linux*. (supports_reverse): Likewise.
9075
b5b08fb4
SC
90762014-01-13 Siva Chandra Reddy <sivachandra@google.com>
9077
9078 PR python/15464
9079 PR python/16113
9080 * gdb.python/py-type.c: Enhance test case.
9081 * gdb.python/py-value-cc.cc: Likewise
9082 * gdb.python/py-type.exp: Add new tests.
9083 * gdb.python/py-value-cc.exp: Likewise
9084
52d7fb13
AA
90852014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9086 Pedro Alves <palves@redhat.com>
9087
9088 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
9089 Make "name" extern.
9090 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
9091 references to ${name}_start by references to ${name}.
9092
a2cd8cfe
JB
90932014-01-10 Joel Brobecker <brobecker@adacore.com>
9094
9095 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
9096
4e23fced
JB
90972014-01-10 Joel Brobecker <brobecker@adacore.com>
9098
9099 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
9100
c6a9e42c
PA
91012014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
9102 Pedro Alves <palves@redhat.com>
9103
9104 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 9105 mi_gdb_target_load.
c6a9e42c 9106
b7ea362b
PA
91072014-01-08 Pedro Alves <palves@redhat.com>
9108
9109 * gdb.threads/reconnect-signal.c: New file.
9110 * gdb.threads/reconnect-signal.exp: New file.
9111
5e3f4fab
EBM
91122014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9113
9114 * gdb.base/source-dir.exp: New file.
9115
79301218
JB
91162014-01-07 Joel Brobecker <brobecker@adacore.com>
9117
9118 * gdb.ada/mi_interface: New testcase.
9119
8e355c5d
JB
91202014-01-07 Joel Brobecker <brobecker@adacore.com>
9121
9122 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
9123 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
9124 gdb.ada/pp-rec-component/pck.ads: New files.
9125
c0d48811
JB
91262014-01-07 Joel Brobecker <brobecker@adacore.com>
9127
9128 * gdb.python/py-pp-integral.c: New file.
9129 * gdb.python/py-pp-integral.py: New file.
9130 * gdb.python/py-pp-integral.exp: New file.
9131
17b609c3 9132For older changes see ChangeLog-1993-2013.
c906108c 9133\f
8d8cb839
EZ
9134;; Local Variables:
9135;; mode: change-log
9136;; left-margin: 8
9137;; fill-column: 74
9138;; version-control: never
9139;; End:
902f2ccb 9140
618f726f 9141 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
9142 Copying and distribution of this file, with or without modification,
9143 are permitted provided the copyright notice and this notice are preserved.