]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Automatic date update in version.in
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
f389f6fe
JK
12016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
4
fdebf1a4
YQ
52016-10-05 Yao Qi <yao.qi@linaro.org>
6
7 * lib/gdb.exp (support_complex_tests): Return zero if
8 gdb_skip_float_test return true.
9
9c36d954
AT
102016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
112016-10-03 Simon Marchi <simon.marchi@ericsson.com>
12
13 PR gdb/20487
14 * gdb.mi/user-selected-context-sync.exp: New file.
15 * gdb.mi/user-selected-context-sync.c: New file.
16
4034d0ff
AT
172016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
182016-10-03 Simon Marchi <simon.marchi@ericsson.com>
19
20 PR gdb/20487
21 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
22 =thread-select-event check.
23
a4297203
PB
242016-09-29 Peter Bergner <bergner@vnet.ibm.com>
25
26 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
27 the compulsory L operand changes.
28 * gdb.arch/powerpc-power.s: Likewise.
29
bb805577
JK
302016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
31
32 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
33 * gdb.base/jit-attach-pie.c: New file.
34 * gdb.base/jit-attach-pie.exp: New file.
35
6d61dee5
PA
362016-09-28 Pedro Alves <palves@redhat.com>
37
38 * gdb.base/infcall-input.c: New file.
39 * gdb.base/infcall-input.exp: New file.
40
f73842fc
YQ
412016-09-22 Yao Qi <yao.qi@linaro.org>
42
43 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
44 (gdb_exit): Rename it to ...
45 (gdbserver_gdb_exit): ... Close GDBserver.
46 (gdb_exit): New proc, call gdbserver_gdb_exit.
47 (mi_gdb_exit): Likewise.
48
90681dab
YQ
492016-09-22 Yao Qi <yao.qi@linaro.org>
50
51 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
52 path.
53 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
54 Remove duplication.
55
9c211fd8
YQ
562016-09-22 Yao Qi <yao.qi@linaro.org>
57
58 * lib/gdbserver-support.exp: Check the existence of
59 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
60
ad0a504f
AK
612016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
62
63 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
64
36cf1806
TT
652016-09-21 Tom Tromey <tom@tromey.com>
66
67 PR gdb/20604:
68 * gdb.base/quit.exp: New file.
69
74172ecf
SM
702016-09-21 Simon Marchi <simon.marchi@ericsson.com>
71
72 * .gitignore: New file.
73
3d0ec882
MR
742016-09-21 Maciej W. Rozycki <macro@imgtec.com>
75
76 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
77 throughout.
78
8193adea
AA
792016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
80
81 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
82
d41a5c09
JK
832016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
84
85 * gdb.cp/casts.cc (decltype): Move it ...
86 (main): ... with its call to ...
87 * gdb.cp/casts03.cc: ... a new file.
88 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
89
d2dfe700
JK
902016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
91
92 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
93
e2a92b16
PB
942016-09-15 Peter Bergner <bergner@vnet.ibm.com>
95
96 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
97 and sync up the test with tests in gas/testsuite/gas/ppc.
98 * gdb.arch/powerpc-power.exp: Likewise.
99
49b4de64
JK
1002016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
101
102 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
103
2c29df25
SDJ
1042016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
105 Jan Kratochvil <jan.kratochvil@redhat.com>
106
107 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
108 make m1's definition to be different from m2's. Use 'dummy' as an
109 argument for probe 'two'.
110
cc3c2846
JB
1112016-09-10 Jon Beniston <jon@beniston.com>
112
113 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
114 for sim target.
115
e1b2624a
AA
1162016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
117
118 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
119 variable declaration.
120 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
121 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
122 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
123 received HWCAP as its argument.
124
4295e285
PA
1252016-09-06 Pedro Alves <palves@redhat.com>
126
127 * gdb.base/new-ui-pending-input.c: New file.
128 * gdb.base/new-ui-pending-input.exp: New file.
129 * gdb.exp (clear_gdb_spawn_id): New procedure.
130 (with_spawn_id): Check whether gdb_spawn_id exists before
131 referencing it. If gdb_spawn_id didn't exist on entry, clear it
132 on exit.
133
00d5215e
UW
1342016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
135
136 * gdb.base/float128.c: New file.
137 * gdb.base/float128.exp: Likewise.
138 * gdb.base/floatn.c: Likewise.
139 * gdb.base/floatn.exp: Likewise.
140
a9ff5f12
UW
1412016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
142
143 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
144
f245535c
PA
1452016-09-05 Pedro Alves <palves@redhat.com>
146
147 PR backtrace/19927
148 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
149 unwinders are immediately called as side effect of "source" or
150 "disable unwinder" commands.
151 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
152
ae9cf263
YQ
1532016-09-02 Yao Qi <yao.qi@linaro.org>
154
155 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
156 is true and $type is "float" or "double".
157
27aba047
YQ
1582016-09-02 Yao Qi <yao.qi@linaro.org>
159
160 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
161 true.
162 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
163 * gdb.base/call-rt-st.exp: Likewise.
164 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
165 return value instead of gdb,skip_float_test.
166 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
167 (do_function_calls): Use its return value instead of
168 gdb,skip_float_test.
169 * gdb.base/finish.exp: Likewise.
170 * gdb.base/funcargs.exp: Likewise.
171 * gdb.base/return.exp: Likewise.
172 * gdb.base/return2.exp: Likewise.
173 * gdb.base/varargs.exp: Likewise.
174 * lib/gdb.exp (gdb_skip_float_test): Change it to
175 gdb_caching_proc. Detect the broken ptrace on arm-linux.
176
5af962df
AA
1772016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
178
179 * gdb.multi/tids.exp: Test "thread apply all".
180
7fac6910
JK
1812016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
182
183 * gdb.base/default.exp (tty): Remove.
184
bb1fe4ac
KB
1852016-08-24 Kevin Buettner <kevinb@redhat.com>
186
187 * gdb.python/py-recurse-unwind.c: New file.
188 * gdb.python/py-recurse-unwind.py: New file.
189 * gdb.python/py-recurse-unwind.exp: New file.
190
0a1ddfa6
SM
1912016-08-24 Simon Marchi <simon.marchi@ericsson.com>
192
193 * gdb.base/set-inferior-tty.exp: New file.
194 * gdb.base/set-inferior-tty.c: New file.
195
d9de1fe3
PA
1962016-08-23 Pedro Alves <palves@redhat.com>
197
198 PR gdb/20494
199 * gdb.base/new-ui-echo.c: New file.
200 * gdb.base/new-ui-echo.exp: New file.
201
e9d9abd7
YQ
2022016-08-23 Yao Qi <yao.qi@linaro.org>
203
204 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
205 gdbserver_spawn.
206 * gdb.server/connect-without-multi-process.exp (do_test):
207 Likewise.
208
3589529e
YQ
2092016-08-23 Yao Qi <yao.qi@linaro.org>
210
211 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
212 standalone_txt. Delete gdb_txt and standalone_txt on host
213 and target. Spawn the binary on target. Copy files from
214 target to host.
215
6bb90213
PA
2162016-08-22 Pedro Alves <palves@redhat.com>
217
218 PR gdb/20505
219 * gdb.base/vdso-warning.exp: Test core dumps too. Use
220 with_test_prefix. Factor out bits to ...
221 (test_no_vdso): ... this new procedure.
222
20c2c024
CL
2232016-08-19 Carl Love <cel@us.ibm.com>
224
225 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
226 maintaining separate logic for constructing the output path.
227 * gdb.arch/powerpc-d128-regs.exp: Likewise.
228 * gdb.arch/ppc-dfp.exp: Likewise.
229 * gdb.arch/ppc-fp.exp: Likewise.
230 * gdb.arch/vsx-regs.exp: Likewise.
231 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
232 binprefix for generating the additional binary files.
233
0646e07d
PA
2342016-08-19 Pedro Alves <palves@redhat.com>
235
236 * gdb.trace/mi-trace-frame-collected.exp
237 (test_trace_frame_collected): On x32, expect two registers.
238
46da9242
CL
2392016-08-18 Carl Love <cel@us.ibm.com>
240
241 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
242 and sync up the test with tests in gas/testsuite/gas/ppc.
243 * gdb.arch/powerpc-power.exp: Likewise.
244
eb2332d7
SM
2452016-08-17 Simon Marchi <simon.marchi@ericsson.com>
246
247 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
248 expected error message.
249
63c61e04
SM
2502016-08-17 Simon Marchi <simon.marchi@ericsson.com>
251
252 * gdb.multi/remove-inferiors.exp: New file.
253 * gdb.multi/remove-inferiors.c: New file.
254
7b17065f
YQ
2552016-08-12 Yao Qi <yao.qi@linaro.org>
256
257 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
258 argument list.
259
01d3dedf
PA
2602016-08-10 Pedro Alves <palves@redhat.com>
261
262 PR gdb/19187
263 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
264 setup_kfails.
265
3eb7562a
PA
2662016-08-09 Pedro Alves <palves@redhat.com>
267 Simon Marchi <simon.marchi@ericsson.com>
268
269 PR gdb/20418
270 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
271 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
272
80614914
PA
2732016-08-09 Pedro Alves <palves@redhat.com>
274
275 PR mi/20431
276 * gdb.mi/mi-cmd-error.exp: New file.
277
f348d89a
PA
2782016-08-09 Pedro Alves <palves@redhat.com>
279
280 PR gdb/18653
281 * gdb.base/signals-state-child.c: New file.
282 * gdb.base/signals-state-child.exp: New file.
283 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
284
e5ca03b4
PA
2852016-08-09 Pedro Alves <palves@redhat.com>
286
287 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
288
282a0691
TT
2892016-08-03 Tom Tromey <tom@tromey.com>
290
291 PR python/18565:
292 * gdb.python/py-frame-inline.exp: Add Frame.function test.
293
41bfcd63
YQ
2942016-08-01 Yao Qi <yao.qi@linaro.org>
295
296 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
297 variable mode to "multi-process" if $multi_process is 1, otherwise
298 set it to "single-process".
299
e3465b24
YQ
3002016-08-01 Yao Qi <yao.qi@linaro.org>
301
302 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
303 * gdb.cp/cpexprs.exp: Likewise.
304 * gdb.cp/m-static.exp: Likewise.
305
0b31a4bc
TT
3062016-07-26 Tom Tromey <tom@tromey.com>
307
308 PR python/20190:
309 * gdb.threads/tls.exp (check_thread_local): Add python symbol
310 test.
311
e0461dbb
MM
3122016-07-26 Markus Metzger <markus.t.metzger@intel.com>
313
314 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
315 selecting assembly source files.
316 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
317 assembly source files.
318 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
319 assembly source files.
320 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
321 selecting assembly source files.
322
8194e927
SM
3232016-07-25 Simon Marchi <simon.marchi@ericsson.com>
324
325 * gdb.base/new-ui.exp (do_test_invalid_args): New
326 procedure.
327
c0272db5
TW
3282016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
329
330 * gdb.btrace/reconnect.c: New file.
331 * gdb.btrace/reconnect.exp: New file.
332
e3487908
GKB
3332016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
334
335 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
336 to test_catch_syscall_group.
337 (test_catch_syscall_group): New.
338
12df5c00
TT
3392016-07-21 Tom Tromey <tom@tromey.com>
340
341 * gdb.rust/simple.rs (main): Use empty struct expression.
342 * gdb.rust/simple.exp: Add tests for empty struct expression.
343
bae62ee2
YQ
3442016-07-21 Yao Qi <yao.qi@linaro.org>
345
346 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
347 if gdb_skip_xml_test is true on some targets.
348
b1b53fb3
YQ
3492016-07-21 Yao Qi <yao.qi@linaro.org>
350
351 * gdb.server/solib-list.exp: Unset last_loaded_file.
352
027d97f8
JK
3532016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
354
355 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
356 "step into captured_main (args)".
357
7674d381
JK
3582016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
359
360 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
361
72b5d099
JK
3622016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
363
364 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
365
1f960ced
PA
3662016-07-19 Pedro Alves <palves@redhat.com>
367
368 * gdb.opt/inline-break.exp: Remove optimize=-O2.
369 * gdb.opt/inline-bt.exp: Likewise.
370 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
371 additional_flags=-Winline.
372 * gdb.opt/inline-locals.exp: Likewise.
373 * gdb.opt/inline-markers.c (ATTR): Define.
374 (inlined_fn): Use it.
375
f25827c1
YQ
3762016-07-19 Yao Qi <yao.qi@linaro.org>
377
378 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
379 (test_with_self): Remove some code. Remove argument executable.
380 (top-level): Use do_self_tests.
381
37539ebe
DB
3822016-07-15 Zachary Welch <zwelch@codesourcery.com>
383 Don Breazeal <donb@codesourcery.com>
384
385 * gdb.base/maint.exp: Escape paths used in regular expressions.
386 * gdb.stabs/weird.exp: Likewise.
387
dac790e1
TT
3882016-07-13 Tom Tromey <tom@tromey.com>
389
390 PR python/15620, PR python/18620:
391 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
392 (test_bkpt_events): New procs.
393
93daf339
TT
3942016-07-13 Tom Tromey <tom@tromey.com>
395
396 PR python/17698:
397 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
398 test.
399 (test_watchpoints): Likewise.
400 (test_bkpt_pending): New proc.
401
6571a381
TT
4022016-07-13 Tom Tromey <tom@tromey.com>
403
404 PR cli/18053:
405 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
406 completion test.
407
e8732474
JK
4082016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
409
410 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
411 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
412 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
413 f_label.
414 (g): Rename g_end_lbl to g_label.
415 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
416 low_pc and high_pc.
417 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
418
e0f3fd7c
TT
4192016-07-12 Tom Tromey <tom@tromey.com>
420
421 PR python/19293:
422 * gdb.python/py-unwind-maint.exp: Update tests.
423
3cfe46b6
YQ
4242016-07-12 Yao Qi <yao.qi@linaro.org>
425
426 * lib/selftest-support.exp (selftest_setup): Match the output
427 when captured_main is inlined.
428
4f19a0e6
WT
4292016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
430
431 * gdb.fortran/derived-types.exp (result_line, result_line_2):
432 New variables.
433 (print this%a, print this%b, print this): New tests.
434 * gdb.fortran/derived-types.f90 (this): New object and
435 initialization.
436
986cf455
SM
4372016-07-06 Simon Marchi <simon.marchi@ericsson.com>
438
439 * gdb.ada/arraydim.exp: Remove extra directory level in build
440 directory.
441
f0464b23
SM
4422016-07-06 Simon Marchi <simon.marchi@ericsson.com>
443
444 * lib/ada.exp: Remove extra directory level in build directory.
445 * gdb.ada/cond_lang.exp: Likewise.
446 * gdb.ada/exec_changed.exp: Likewise.
447 * gdb.ada/lang_switch.exp: Likewise.
448
42d94011
MG
4492016-07-06 Manish Goregaokar <manish@mozilla.com>
450
451 * simple.rs: Add test for raw pointer subscripting
452 * simple.exp: Add test expectations
453
647c264c
YQ
4542016-07-05 Yao Qi <yao.qi@linaro.org>
455
456 * gdb.mi/mi-reverse.exp: Match =record-started output.
457
20aa2c60
PA
4582016-07-01 Pedro Alves <palves@redhat.com>
459
460 * gdb.base/jit-reader.exp (info_registers_current_frame): New
461 procedure.
462 (jit_reader_test): Test the jit reader's unwinder.
463 * gdb.base/jithost.c (jit_function_00_code): New global.
464 (main): Use memcpy to fill in the mmapped code, instead of poking
465 bytes manually here.
466 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
467 value.
468 (read_debug_info): Save the function's range.
469 (read_sp): New function.
470 (unwind_frame): Use it. Also unwind RBP.
471 (get_frame_id): Use read_sp.
472 (gdb_init_reader): Use calloc instead of malloc.
473 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
474 parameter. Use gdb_test_multiple.
475
ced2dffb
PA
4762016-07-01 Pedro Alves <palves@redhat.com>
477 Antoine Tremblay <antoine.tremblay@ericsson.com>
478
479 * gdb.threads/process-dies-while-detaching.c: New file.
480 * gdb.threads/process-dies-while-detaching.exp: New file.
481
63000888
PA
4822016-07-01 Pedro Alves <palves@redhat.com>
483
484 * gdb.multi/watchpoint-multi-exit.c: New file.
485 * gdb.multi/watchpoint-multi-exit.exp: New file.
486
038d4868
PA
4872016-06-30 Pedro Alves <palves@redhat.com>
488
489 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
490 unset inferior_spawn_id.
491
994e9c83
PA
4922016-06-30 Pedro Alves <palves@redhat.com>
493
494 * lib/mi-support.exp (default_mi_gdb_start): Declare global
495 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
496
e5653468
YQ
4972016-06-29 Yao Qi <yao.qi@linaro.org>
498
499 * gdb.base/return.c: Add copyright header.
500
803b47e5
TT
5012016-06-29 Tom Tromey <tom@tromey.com>
502
503 PR python/20129:
504 * gdb.python/py-framefilter.exp: Add tests for setting priority
505 and disabling of non-existent frame filter.
506
28244707
YQ
5072016-06-29 Yao Qi <yao.qi@linaro.org>
508
509 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
510 0x0f07ff.
511
a31d2f06
YQ
5122016-06-28 Yao Qi <yao.qi@linaro.org>
513
514 * gdb.base/catch-syscall.exp: Remove check on isnative and target
515 triplets. Start gdb, execute catch syscall, and continue. Check
516 gdb's output to determine catch syscall is supported.
517
921d8f54
MG
5182016-06-27 Manish Goregaokar <manish@mozilla.com>
519
25d49b86
PA
520 * gdb.rust/simple.rs: Add test for returning unit in a function.
521 * gdb.rust/simple.exp: Add expectation for functions returning
522 unit.
921d8f54 523
f4952523
PMR
5242016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
525
526 * gdb.python/py-breakpoint-create-fail.c,
527 gdb.python/py-breakpoint-create-fail.exp,
528 gdb.python/py-breakpoint-create-fail.py: New testcase.
529
fccb08f8
MG
5302016-06-25 Manish Goregaokar <manish@mozilla.com>
531
532 PR gdb/20239
533 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
534 * gdb.rust/simple.exp: Add test expectations for new NonZero
535 tests.
fccb08f8 536
6b850546
DT
5372016-06-24 David Taylor <dtaylor@emc.com>
538
539 * gdb.base/offsets.exp: New file.
540 * gdb.base/offsets.c: New file.
541
17621150
TT
5422016-06-23 Tom Tromey <tom@tromey.com>
543
544 PR gdb/16483:
545 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
546 before any filters are loaded.
547
04d59df6
WT
5482016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
549
550 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
551 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
552 structs.
553 * gdb.fortran/derived-type-function.exp: New file.
554 * gdb.fortran/derived-type-function.f90: New file.
555
556
ac69f786
PA
5572016-06-21 Pedro Alves <palves@redhat.com>
558
559 * gdb.base/new-ui.exp: New file.
560 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
561 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
562 (with_spawn_id): New procedure.
563
49940788
PA
5642016-06-21 Pedro Alves <palves@redhat.com>
565
566 * gdb.mi/mi-exec-run.exp: New file.
567
ef274d26
PA
5682016-06-21 Pedro Alves <palves@redhat.com>
569
570 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
571 breakpoint command's output on the main UI.
572 (test_break): New procedure, factored out from calls in the top
573 level.
574 (top level): Use foreach_with_prefix to test MI as main UI and as
575 separate UI.
576
468afe6c
PA
5772016-06-21 Pedro Alves <palves@redhat.com>
578
579 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
580 (test_awatch_creation_and_listing)
581 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
582 Remove 'type' parameter.
583 (test_watchpoint_all): New parameter mi_mode. Remove
584 with_test_prefix.
585 (top level): Use foreach_with_prefix, and add main/separate UI MI
586 testing axis.
587
51f77c37
PA
5882016-06-21 Pedro Alves <palves@redhat.com>
589
590 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
591 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
592 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
593 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
594 (gdb_main_spawn_id, mi_spawn_id): Declare and
595 comment.
596 (mi_create_inferior_pty): New procedure,
597 factored out from default_mi_gdb_start.
598 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
599 procedures.
600 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
601 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
602 Use mi_create_inferior_pty.
603 (mi_gdb_start): Use eval to pass down args list.
604
8980e177
PA
6052016-06-21 Pedro Alves <palves@redhat.com>
606
607 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
608 * gdb.opt/inline-cmds.exp: Add MI tests.
609
f38d3ad1
PA
6102016-06-21 Pedro Alves <palves@redhat.com>
611
612 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
613
45db7c09
PA
6142016-06-21 Pedro Alves <palves@redhat.com>
615
616 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
617 (top level): Use it instead of mi_execute_to.
618
5a069ab3
PA
6192016-06-21 Pedro Alves <palves@redhat.com>
620
621 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
622 (cont_handler_str): New.
623 (signal_stop_handler): Set stop_handler_str instead of printing to
624 stdout.
625 (continue_handler): Set cont_handler_str instead of printing to
626 stdout.
627 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
628 mi_send_resuming_command. Print stop_handler_str and
629 cont_handler_str instead of expecting the python events print
630 directly.
631
2838cc1d
SD
6322016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
633
634 * gdb.base/jit-reader.exp: New file.
635 * gdb.base/jithost.c: New file.
636 * gdb.base/jithost.h: New file.
637 * gdb.base/jitreader.c : New file.
638 * gdb.base/jit-protocol.h: New file.
639
21a77091
YQ
6402016-06-17 Yao Qi <yao.qi@linaro.org>
641
642 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
643 parameters follow_fork and detach_on_fork. Set follow-fork-mode
644 and detach-on-fork. Adjust tests.
645 (top level): Invoke break_cond_on_syscall with combinations of
646 syscall, follow-fork-mode and detach-on-fork.
647
f50bf8e5
YQ
6482016-06-17 Yao Qi <yao.qi@linaro.org>
649
650 * gdb.base/step-over-exit.c: New.
651 * gdb.base/step-over-exit.exp: New.
652
a28d8e50
YTL
6532016-06-17 Yan-Ting Lin <currygt52@gmail.com>
654
655 * gdb.base/float.exp: Add target check for nds32*-*-*.
656 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
657
cad8e26d
AB
6582016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
659
660 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
661 for unsupported target features.
662 * gdb.base/call-rt-st.exp: Likewise.
663 * gdb.base/call-sc.exp: Likewise.
664 * gdb.base/call-signal-resume.exp: Likewise.
665 * gdb.base/call-strs.exp: Likewise.
666 * gdb.base/callexit.exp: Likewise.
667 * gdb.base/callfuncs.exp: Likewise.
668 * gdb.base/nodebug.exp: Likewise.
669 * gdb.base/printcmds.exp: Likewise.
670 * gdb.base/ptype.exp: Likewise.
671 * gdb.base/structs.exp: Likewise.
672 * gdb.base/unwindonsignal.exp: Likewise.
673 * gdb.cp/gdb2495.exp: Likewise.
674 * gdb.cp/templates.exp: Likewise.
675 * gdb.cp/virtfunc.exp: Likewise.
676 * gdb.threads/hand-call-in-threads.exp: Likewise.
677 * gdb.threads/interrupted-hand-call.exp: Likewise.
678 * gdb.threads/thread-unwindonsignal.exp: Likewise.
679
347dc102
TT
6802016-06-10 Tom Tromey <tom@tromey.com>
681
682 PR rust/20110:
683 * gdb.rust/expr.exp: Add test for integer constant larger than
684 i32.
685
5e13cf25
BH
6862016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
687
688 * gdb.fortran/nested-funcs.exp: New.
689 * gdb.fortran/nested-funcs.f90: New.
690
bb556f1f
TK
6912016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
692
693 * gdb.base/examine-backward.c: New file.
694 * gdb.base/examine-backward.exp: New file.
695
38b022b4
SM
6962016-06-06 Simon Marchi <simon.marchi@ericsson.com>
697
698 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
699 matching.
700
1b40ec05
TT
7012016-06-02 Tom Tromey <tom@tromey.com>
702
703 PR python/18984:
704 * gdb.python/py-shared.exp: Add solib_name test.
705
193bd378
SM
7062016-06-02 Simon Marchi <simon.marchi@ericsson.com>
707
708 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
709
3326303b
MG
7102016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
711
712 PR c++/19893
713 * gdb.dwarf2/implref.exp: Rename to...
714 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
715 * gdb.dwarf2/implref-array.c: New file.
716 * gdb.dwarf2/implref-array.exp: Likewise.
717 * gdb.dwarf2/implref-global.c: Likewise.
718 * gdb.dwarf2/implref-global.exp: Likewise.
719 * gdb.dwarf2/implref-struct.c: Likewise.
720 * gdb.dwarf2/implref-struct.exp: Likewise.
721
825c8ef2
AT
7222016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
723
724 * gdb.trace/trace-condition.exp: Add 64bit tests.
725
2320162a
AT
7262016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
727
728 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
729 bits types.
730 (main): Adapt to 8 to 64 bits types.
731 * gdb.trace/trace-condition.exp: Add new tests.
732
a7818233
AT
7332016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
734
735 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
736
0d336466
AT
7372016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
738
739 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
740 Move condition tests...
741 * gdb.trace/trace-condition.exp: Here.
742
7faeb45a
AT
7432016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
744
745 * gdb.trace/trace-condition.exp: Add counter-case tests.
746
e385593e
JK
7472016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
748
749 PR c++/15231
750 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
751 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
752
744608cc
PA
7532016-05-27 Pedro Alves <palves@redhat.com>
754
755 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
756 New procedure.
757 (top level): Call it, and bail out of DejaGnu is known to be bad.
758
ac775bf4
AB
7592016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
760
761 * gdb.base/whatis.c: Extend the test case.
762 * gdb.base/whatis.exp: Add additional tests.
763
2bbad2ea
BH
7642016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
765
766* gdb.fortran/type.f90: Add pointer variable.
767* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
768
8b70175d
BH
7692016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
770
771 * gdb.fortran/vla-type.exp: Fix testcase name.
772
86d8a848
BH
7732016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
774
775 * gdb.fortran/vla-type.exp: Access elements in nested structs.
776
e188eb36
BH
7772016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
778
779 * gdb.fortran/type.f90: Add nested structures.
780 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
781 * gdb.fortran/derived-type.exp: Adapt expected output.
782 * gdb.fortran/vla-type.exp: Adapt expected output.
783
9b2db1fd
BH
7842016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
785
786 * gdb.fortran/whatis_type.exp: Adapt expected output.
787
72b17055
BH
7882016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
789
790 * gdb.fortran/print_type.exp: Fix expected output.
791 * gdb.fortran/whatis_type.exp: Fix expected output.
792
3cd81d8d
BH
7932016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
794
795 * gdb.fortran/whatis_type.exp: Use multi_line.
796
ddae9462
TT
7972016-05-24 Tom Tromey <tom@tromey.com>
798
799 PR python/17386:
800 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
801 use value as an index.
802
1957f6b8
TT
8032016-05-23 Tom Tromey <tom@tromey.com>
804
805 PR python/17981:
806 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
807 no-breakpoint case.
808
026a9174
PA
8092016-05-24 Pedro Alves <palves@redhat.com>
810
811 PR gdb/19828
812 * gdb.threads/clone-attach-detach.c: New file.
813 * gdb.threads/clone-attach-detach.exp: New file.
814
e70a7231
FR
8152016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
816
817 * gdb.base/annota-input-while-running.exp: Fix syntax error.
818
0f6ed0e0
TT
8192016-05-23 Tom Tromey <tom@tromey.com>
820
821 PR python/19438, PR python/18393:
822 * gdb.python/py-progspace.exp: Add "dir" test.
823 * gdb.python/py-objfile.exp: Add "dir" test.
824
ffd19d61
YQ
8252016-05-23 Yao Qi <yao.qi@linaro.org>
826
827 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
828 * gdb.arch/thumb2-it.exp: Likewise.
829
9e8f9b05
SM
8302016-05-18 Simon Marchi <simon.marchi@ericsson.com>
831
832 * gdb.mi/mi-threads-interrupt.c: New file.
833 * gdb.mi/mi-threads-interrupt.exp: New file.
834
61c6156d
SM
8352016-05-17 Simon Marchi <simon.marchi@ericsson.com>
836
837 PR gdb/18077
838 * gdb.mi/mi-async-run.exp: New file.
839 * gdb.mi/mi-async-run.c: New file.
840
67218854
TT
8412016-05-17 Tom Tromey <tom@tromey.com>
842 Manish Goregaokar <manishsmail@gmail.com>
843
844 * lib/rust-support.exp: New file.
845 * lib/gdb.exp (skip_rust_tests): New proc.
846 (build_executable_from_specs): Handle rust.
847 * lib/future.exp (gdb_find_rustc): New proc.
848 (gdb_default_target_compile): Handle rust.
849 * gdb.rust/expr.exp: New file.
850 * gdb.rust/generics.exp: New file.
851 * gdb.rust/generics.rs: New file.
852 * gdb.rust/methods.exp: New file.
853 * gdb.rust/methods.rs: New file.
854 * gdb.rust/modules.exp: New file.
855 * gdb.rust/modules.rs: New file.
856 * gdb.rust/simple.exp: New file.
857 * gdb.rust/simple.rs: New file.
858
c44af4eb
TT
8592016-05-17 Tom Tromey <tom@tromey.com>
860
861 * gdb.base/default.exp (set language): Add rust.
862
dcd1f979
TT
8632016-05-17 Tom Tromey <tom@tromey.com>
864
865 * gdb.gdb/unittest.exp: New file.
866
155b7f57
YQ
8672016-05-16 Yao Qi <yao.qi@linaro.org>
868
869 * gdb.base/batch-preserve-term-settings.exp: Remove variable
870 shell_prompt. Update shell_prompt_re.
871
8ddd5a6c
DE
8722016-05-12 Doug Evans <dje@google.com>
873
874 PR symtab/19999
875 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
876 $options when building executable.
877 * gdb.dwarf2/fission-loclists-pie.S: New file.
878 * gdb.dwarf2/fission-loclists-pie.exp: New file.
879
02e370d9
SM
8802016-05-04 Simon Marchi <simon.marchi@ericsson.com>
881
882 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
883 of [is_remote target],
884
8929ad8b
SM
8852016-05-04 Simon Marchi <simon.marchi@ericsson.com>
886
887 * lib/gdb.exp (use_gdb_stub): New procedure.
888
6c447423
DE
8892016-05-03 Yunlian Jiang <yunlian@google.com>
890 Doug Evans <dje@google.com>
891
892 PR symtab/19914
893 * gdb.dwarf2/dwp-sepdebug.c: New file.
894 * gdb.dwarf2/dwp-sepdebug.exp: New file.
895
444e826c
SM
8962016-05-02 Simon Marchi <simon.marchi@ericsson.com>
897
898 * gdb.base/detach.exp: Remove is_remote check.
899
740feeaa
SM
9002016-05-02 Simon Marchi <simon.marchi@ericsson.com>
901
902 * gdb.base/annota-input-while-running.exp: Don't check for
903 [is_remote target]. Enable annotations after running to main.
904 Remove unused "set test..." line.
905
9080ac9d
SM
9062016-04-28 Simon Marchi <simon.marchi@ericsson.com>
907
908 * gdb.trace/trace-enable-disable.exp: New file.
909 * gdb.trace/trace-enable-disable.c: New file.
910
952ebca5
SM
9112016-04-28 Simon Marchi <simon.marchi@ericsson.com>
912
913 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
914 use it in info sharedlibrary test.
915 * gdb.trace/ftrace-lock.exp: Likewise.
916 * gdb.trace/ftrace.exp: Likewise.
917 * gdb.trace/range-stepping.exp: Likewise.
918 * gdb.trace/trace-break.exp: Likewise.
919 * gdb.trace/trace-condition.exp: Likewise.
920 * gdb.trace/trace-mt.exp: Likewise.
921
d9019901
SM
9222016-04-27 Simon Marchi <simon.marchi@ericsson.com>
923
924 * lib/gdb.exp (gdb_load_shlibs): Rename to...
925 (gdb_load_shlib): ... this.
926 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
927 gdb_load_shlib.
928 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
929 * gdb.base/ctxobj.exp: Likewise.
930 * gdb.base/dprintf-pending.exp: Likewise.
931 * gdb.base/dso2dso.exp: Likewise.
932 * gdb.base/fixsection.exp: Likewise.
933 * gdb.base/gcore-relro.exp: Likewise.
934 * gdb.base/gdb1555.exp: Likewise.
935 * gdb.base/global-var-nested-by-dso.exp: Likewise.
936 * gdb.base/gnu-ifunc.exp: Likewise.
937 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
938 * gdb.base/jit-so.exp (one_jit_test): Likewise.
939 * gdb.base/pending.exp: Likewise.
940 * gdb.base/print-file-var.exp: Likewise.
941 * gdb.base/print-symbol-loading.exp: Likewise.
942 * gdb.base/shlib-call.exp: Likewise.
943 * gdb.base/shreloc.exp: Likewise.
944 * gdb.base/so-impl-ld.exp: Likewise.
945 * gdb.base/solib-disc.exp: Likewise.
946 * gdb.base/solib-nodir.exp: Likewise.
947 * gdb.base/solib-overlap.exp: Likewise.
948 * gdb.base/solib-symbol.exp: Likewise.
949 * gdb.base/solib-weak.exp (do_test): Likewise.
950 * gdb.base/sym-file.exp: Likewise.
951 * gdb.base/symtab-search-order.exp: Likewise.
952 * gdb.base/type-opaque.exp: Likewise.
953 * gdb.base/unload.exp: Likewise.
954 * gdb.base/watchpoint-solib.exp: Likewise.
955 * gdb.compile/compile.exp: Likewise.
956 * gdb.cp/gdb2384.exp: Likewise.
957 * gdb.cp/infcall-dlopen.exp: Likewise.
958 * gdb.cp/re-set-overloaded.exp: Likewise.
959 * gdb.fortran/library-module.exp: Likewise.
960 * gdb.opt/solib-intra-step.exp: Likewise.
961 * gdb.python/py-finish-breakpoint.exp: Likewise.
962 * gdb.python/py-shared.exp: Likewise.
963 * gdb.reverse/solib-precsave.exp: Likewise.
964 * gdb.reverse/solib-reverse.exp: Likewise.
965 * gdb.server/solib-list.exp: Likewise.
966 * gdb.threads/dlopen-libpthread.exp: Likewise.
967 * gdb.threads/tls-shared.exp: Likewise.
968 * gdb.threads/tls-so_extern.exp: Likewise.
969 * gdb.trace/change-loc.exp: Likewise.
970 * gdb.trace/ftrace-lock.exp: Likewise.
971 * gdb.trace/ftrace.exp: Likewise.
972 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
973 * gdb.trace/pending.exp: Likewise.
974 * gdb.trace/range-stepping.exp: Likewise.
975 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
976 (strace_info_marker): Likewise.
977 (strace_probe_marker): Likewise.
978 (strace_trace_on_same_addr): Likewise.
979 (strace_trace_on_diff_addr): Likewise.
980 * gdb.trace/trace-break.exp: Likewise.
981 * gdb.trace/trace-condition.exp: Likewise.
982 * gdb.trace/trace-mt.exp: Likewise.
983
fca4cfd9
SM
9842016-04-27 Simon Marchi <simon.marchi@ericsson.com>
985
986 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
987 result of gdb_remote_download.
988 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
989 * gdb.base/dso2dso.exp: Likewise.
990 * gdb.base/global-var-nested-by-dso.exp: Likewise.
991 * gdb.base/print-file-var.exp: Likewise.
992 * gdb.base/shlib-call.exp: Likewise.
993 * gdb.base/shreloc.exp: Likewise.
994 * gdb.base/solib-overlap.exp: Likewise.
995 * gdb.base/solib-weak.exp (do_test): Likewise.
996 * gdb.base/unload.exp: Likewise.
997
11cf4ffb
YQ
9982016-04-27 Yao Qi <yao.qi@linaro.org>
999
1000 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
1001 exists.
1002
3e2e34f8
KB
10032016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1004
1005 * vla-type.exp: Print structure from toplevel.
1006
8f07e298
BH
10072016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1008
1009 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
1010 of dynamic types.
1011 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
1012 of dynamic types.
1013
9920b434
BH
10142016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1015
1016 * gdb.fortran/vla-type.f90: New file.
1017 * gdb.fortran/vla-type.exp: New file.
1018
f3abeff5
YQ
10192016-04-25 Yao Qi <yao.qi@linaro.org>
1020
1021 * gdb.base/branch-to-self.c: New file.
1022 * gdb.base/branch-to-self.exp: New file.
1023
0a5d52f0
YQ
10242016-04-22 Yao Qi <yao.qi@linaro.org>
1025
1026 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
1027 more after $hex.
1028
495346f6
YQ
10292016-04-22 Yao Qi <yao.qi@linaro.org>
1030
1031 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
1032 * gdb.base/annota3.exp: Likewise.
1033
4a7e075c
YQ
10342016-04-22 Yao Qi <yao.qi@linaro.org>
1035
1036 * gdb.reverse/step-precsave.exp: Do one step and test program
1037 stops in "callee" and do multiple steps until program goes out
1038 of "callee".
1039 * gdb.reverse/step-reverse.exp: Likewise.
1040
5b061e98
YQ
10412016-04-22 Yao Qi <yao.qi@linaro.org>
1042
1043 * gdb.trace/signal.exp: Also pass if
1044 $tracepoint_hits($i) > $iterations.
1045
5c5dc57f
YQ
10462016-04-22 Yao Qi <yao.qi@linaro.org>
1047
1048 * gdb.trace/signal.c: New file.
1049 * gdb.trace/signal.exp: New file.
1050
a55411b9
DE
10512016-04-19 Doug Evans <xdje42@gmail.com>
1052
1053 * gdb.base/bad-file.exp: New file.
1054
a22df60a
MG
10552016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
1056
1057 * gdb.dwarf2/implref.exp: New file.
1058
0c13f7e5
BH
10592016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1060
1061 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
1062 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
1063 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
1064 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
1065 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
1066 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
1067 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
1068 * lib/fortran.exp (fortran_int4): New procedure.
1069 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
1070 (fortran_logical4): Likewise.
1071
9b9b09e9
BH
10722016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
1073
1074 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
1075
a14d1f4d
BH
10762016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1077
1078 * lib/compiler.c: Add Intel specific preprocessor macros.
1079 * lib/compiler.cc: Likewise.
25d49b86 1080
7d49b1d0
LM
10812016-04-13 Luis Machado <lgustavo@codesourcery.com>
1082
1083 * gdb.server/connect-with-no-symbol-file.c: New file.
1084 * gdb.server/connect-with-no-symbol-file.exp: New file.
1085
8392fa22
SM
10862016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1087
1088 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
1089
8c4c4aeb
SM
10902016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1091
1092 * boards/gdbserver-base.exp (${board}_download): Copy source file to
1093 standard output directory.
1094
45e3745e
AT
10952016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
1096
1097 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
1098
e26b7e41
MM
10992016-04-13 Markus Metzger <markus.t.metzger@intel.com>
1100
1101 * gdb.btrace/instruction_history.c (loop): Add declaration.
1102
8ce09462
AT
11032016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1104
1105 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
1106
2e88a1ea
SM
11072016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
1108
1109 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
1110 parentheses to print.
1111 (continue_handler): Likewise.
1112
f48e22e3
SM
11132016-04-08 Simon Marchi <simon.marchi@ericsson.com>
1114
1115 * gdb.server/solib-list.exp: Remove is_remote check.
1116 Pass shlib= to gdb_compile. Don't link shared library with
1117 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
1118 Run binary filename through "readlink -f" on the target.
1119
096be756
PA
11202016-04-08 Pedro Alves <palves@redhat.com>
1121
1122 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
1123 interpreter filename as argument to gdbserver_spawn.
1124 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1125 Return empty if $last_loaded_file does not exist.
1126
06500533
JK
11272016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1128
1129 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
1130 * gdb.base/jit-main.c: Use exit after usage.
1131
2d35e871
JK
11322016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1133
1134 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
1135 GDBHISTSIZE prior to the tests.
1136 * gdb.base/gdbinit-history.exp: Likewise.
1137
11382016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
1139
1140 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
1141 instead of build_executable. Use gdb_load_shlibs.
1142
c8064e7e
YQ
11432016-04-07 Yao Qi <yao.qi@linaro.org>
1144
1145 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
1146 Execute "si" command.
1147
bde47561
YQ
11482016-04-07 Yao Qi <yao.qi@linaro.org>
1149
1150 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
1151 number instead of the comments on some line.
1152
b16f8a3b
DB
11532016-04-06 Don Breazeal <donb@codesourcery.com>
1154
1155 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
1156 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
1157
c2f901df
SM
11582016-04-06 Simon Marchi <simon.marchi@ericsson.com>
1159
1160 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
1161 standard_output_file. Remove unused binfile variable.
1162
ac17fda0
CU
11632016-04-05 Catalin Udma <catalin.udma@freescale.com>
1164
1165 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
1166 * gdb.python/py-mi-objfile.exp: Match "list main" output
1167 in console format.
1168
03a8c4df
SM
11692016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
1170
1171 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
1172 absolute.
1173
6e774b13
SM
11742016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1175
1176 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
1177 absolute.
1178 * gdb.trace/ftrace.exp: Likewise.
1179 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
1180 targets as well.
1181 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
1182 (gdb_load_shlibs): Copy libraries to test directory when testing
1183 natively. Only set solib-search-path if testing remotely.
1184 * lib/mi-support.exp (mi_load_shlibs): Likewise.
1185
7817ea46
SM
11862016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1187
1188 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
1189 gdb_download. Use it even if the target is not remote.
1190 * gdb.base/jit.exp (compile_jit_test): Likewise.
1191 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
1192 output directory if the destination board is local, otherwise use
1193 the standard remote_download from DejaGnu.
1194 (gdb_download): Remove.
1195 (gdb_load_shlibs): Use gdb_remote_download instead of
1196 gdb_download.
1197 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1198 Use gdb_remote_download instead of gdb_download. Use it even if
1199 the target is not remote.
1200 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
1201 instead of gdb_download.
1202
7beb7f68
SM
12032016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
1204
1205 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
1206 (test_insert_delete_modify): Call mi_load_shlibs before trying to
1207 run.
1208
cc63428a
AV
12092016-04-01 Artemiy Volkov <artemiyv@acm.org>
1210
1211 PR gdb/19820
1212 * gdb.base/printcmds.exp: Add artificial arrays tests.
1213
64cdf930
PA
12142016-03-31 Pedro Alves <palves@redhat.com>
1215
1216 PR gdb/19858
1217 * gdb.base/jit-main.c: Include unistd.h.
1218 (ATTACH): Define to 0 if not already defined.
1219 (wait_for_gdb, mypid): New globals.
1220 (WAIT_FOR_GDB): New macro.
1221 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1222 some breakpoint locations.
1223 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1224 New procedures.
1225 (one_jit_test): Add REATTACH parameter, and handle it. Use
1226 continue_to_test_location.
1227 (top level): Test attach, and adjusts calls to one_jit_test.
1228
40dea8cb
PA
12292016-03-31 Pedro Alves <palves@redhat.com>
1230
1231 PR gdb/19858
1232 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1233 BINSUFFIX parameter, and handle it.
1234 (top level): Adjust calls compile_jit_test.
1235
e7ea3ec7
CU
12362016-03-31 Catalin Udma <catalin.udma@freescale.com>
1237
1238 PR python/19743
1239 * gdb.python/py-mi-events-gdb.py: New file.
1240 * gdb.python/py-mi-events.c: New file.
1241 * gdb.python/py-mi-events.exp: New file.
1242
e6359af3
YQ
12432016-03-30 Yao Qi <yao.qi@linaro.org>
1244
1245 * gdb.reverse/until-precsave.exp: Match function name only.
1246 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1247 Move malloc to a condition block.
1248 * gdb.reverse/until-reverse.exp: Match function name only.
1249
a4105d04
MK
12502016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1251
1252 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1253 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1254 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1255 variable for GPR 0 instead of assuming it is register 0.
1256 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1257 * lib/trace-support.exp: Add s390 registers.
1258
bfa6adb9
YQ
12592016-03-29 Yao Qi <yao.qi@linaro.org>
1260
1261 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1262
1e6697ea
YQ
12632016-03-24 Yao Qi <yao.qi@linaro.org>
1264
1265 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1266 test message.
1267
64bcd522
AA
12682016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1269
1270 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1271 maintaining separate logic for constructing the output path.
1272
7868401b
DB
12732016-03-16 Don Breazeal <donb@codesourcery.com>
1274
1275 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1276 Retry fork and waitpid on interrupted system call errors.
1277 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1278 Use with_timeout_factor to increase timeout by factor of 10.
1279
1cafadb4
DB
12802016-03-15 Don Breazeal <donb@codesourcery.com>
1281
1282 * gdb.cp/scope-err.cc: New test program.
1283 * gdb.cp/scope-err.exp: New test script.
1284 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1285 lines and "set breakpoint here" comment.
1286 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1287 Fixed some whitespace and format issues.
1288 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1289 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1290
81516450
DE
12912016-03-15 Doug Evans <dje@google.com>
1292
1293 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1294 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1295 All callers updated. Add tests for enums, mixed flags register.
1296
aa52b601
DE
12972016-03-15 Doug Evans <dje@google.com>
1298
1299 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1300 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1301
fa4ff313
SM
13022016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1303
1304 * gdb.base/default.exp: Add $_as_string to the list of expected
1305 convenience functions.
1306
f2403c39
AB
13072016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1308
1309 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1310
f2f3ccb9
SM
13112016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1312
1313 * gdb.python/py-as-string.exp: New file.
1314 * gdb.python/py-as-string.c: New file.
1315
00dbd492
PA
13162016-03-09 Pedro Alves <palves@redhat.com>
1317
1318 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1319 signal" -> "Thread NN received signal" output change.
1320 * gdb.threads/ia64-sigill.exp: Likewise.
1321 * gdb.threads/linux-dp.exp: Likewise.
1322 * gdb.threads/manythreads.exp: Likewise.
1323 * gdb.threads/pending-step.exp: Likewise.
1324 * gdb.threads/print-threads.exp: Likewise.
1325 * gdb.threads/sigstep-threads.exp: Likewise.
1326 * gdb.threads/staticthreads.exp: Likewise.
1327 * gdb.threads/tls.exp: Likewise.
1328
1e6697ea
YQ
13292016-03-09 Pedro Alves <palves@redhat.com>
1330
1331 * gdb.base/command-line-input.exp: New file.
1332
b04fd3be
MK
13332016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1334
1335 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1336 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1337 * gdb.trace/pending.exp: Accept leading dot before function name.
1338 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1339 * lib/trace-support.exp: Set registers for ppc.
1340
98fa59e9
MK
13412016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1342
1343 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1344 use it for disassembly; accept .main in addition to main in backtrace.
1345
f77198c8
MK
13462016-03-09 Wei-cheng Wang <cole945@gmail.com>
1347 Marcin Kościelnicki <koriakin@0x04.net>
1348
1349 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1350 (gdb_recursion_test_ptr): New global variable.
1351 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1352 gdb_recursion_test.
1353 (gdb_c_test): Ditto.
1354
ba84e0da
MK
13552016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1356
1357 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1358 ordering.
1359
4366d36e
MK
13602016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1361
1362 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1363 (bar): Add bar_start_lbl label.
1364 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1365 of foo/bar for emitting DWARF and tracing.
1366
5eb264df
SDJ
13672016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1368
1369 * analyze-racy-logs.py: Set executable bit.
1370
fb6a751f
SDJ
13712016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1372
1373 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1374 (CHECK_TARGET_TMP): Likewise.
1375 (check-single-racy): New rule.
1376 (check-parallel-racy): Likewise.
1377 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1378 (do-check-parallel-racy): New rule.
1379 (check-racy/%.exp): Likewise.
1380 * README (Racy testcases): New section.
1381 * analyze-racy-logs.py: New file.
1382
bdf7e230
DE
13832016-03-03 Doug Evans <dje@google.com>
1384
1385 * gdb.base/skip.exp: Use with_test_prefix.
1386
4719d415
YQ
13872016-03-03 Yao Qi <yao.qi@linaro.org>
1388
1389 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1390 Invoke step_over_syscall "clone" and break_cond_on_syscall
1391 "clone".
1392 * gdb.base/step-over-clone.c: New file.
1393
ea507862
YQ
13942016-03-03 Yao Qi <yao.qi@linaro.org>
1395
1396 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1397 code format.
1398
8fc8cbda
YQ
13992016-03-03 Yao Qi <yao.qi@linaro.org>
1400
1401 * gdb.base/disp-step-fork.c: Rename to ...
1402 * gdb.base/step-over-fork.c: ... it. New file.
1403 * gdb.base/disp-step-vfork.c: Rename to ...
1404 * gdb.base/step-over-vfork.c: ... it. New file.
1405 * gdb.base/disp-step-syscall.exp: Rename to ...
1406 * gdb.base/step-over-syscall.exp: ... it. New file.
1407 (disp_step_cross_syscall): Rename to ...
1408 (step_over_syscall): ... it.
1409
92fa70b0
YQ
14102016-03-03 Yao Qi <yao.qi@linaro.org>
1411
1412 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1413 If target supports condition evaluation on target, invoke
1414 break_cond_on_syscall for fork and vfork.
1415
e197ad3c
YQ
14162016-03-03 Yao Qi <yao.qi@linaro.org>
1417
1418 * gdb.base/disp-step-syscall.exp: Don't invoke
1419 support_displaced_stepping.
1420 (disp_step_cross_syscall): Test with displaced stepping off and
1421 on if supported.
1422
0b47da9f
YQ
14232016-03-03 Yao Qi <yao.qi@linaro.org>
1424
1425 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1426 proc.
1427 (setup): New proc.
1428 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1429 and setup.
1430
065ab6dc
BH
14312016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1432
1433 * gdb.fortran/vla-history.exp: Remove breakpoint.
1434
07e448ad 14352016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1436
25d49b86
PA
1437 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1438 exceeds timeout.
07e448ad 1439
9ac2d526 14402016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1441
25d49b86
PA
1442 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1443 breakpoint.
9ac2d526 1444
17807369
BH
14452016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1446
1447 * gdb.mi/vla.f90: Nullify pointer after declaration.
1448
86e501af
PA
14492016-03-01 Pedro Alves <palves@redhat.com>
1450
1451 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1452
1e903e32
PA
14532016-03-01 Pedro Alves <palves@redhat.com>
1454
1455 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1456 before anything else.
1457 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1458 _GNU_SOURCE here.
1459 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1460 before anything else.
1461 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1462
6ccb54e2
PA
14632016-03-01 Pedro Alves <palves@redhat.com>
1464
1465 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1466
30ca9da1
YQ
14672016-03-01 Yao Qi <yao.qi@linaro.org>
1468
1469 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1470 prepare_for_testing.
1471
dc856b38
YQ
14722016-03-01 Yao Qi <yao.qi@linaro.org>
1473
1474 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1475
4a932159
AA
14762016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1477
1478 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1479 manually constructing the output path.
1480
f2489477
AA
14812016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1482
1483 * gdb.arch/s390-stackless.S: New.
1484 * gdb.arch/s390-stackless.exp: New.
1485
38899f16
IB
14862016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1487
1488 * gdb.dlang/circular.c: New file.
1489 * gdb.dlang/circular.exp: New file.
1490
9fde51ed
YQ
14912016-02-26 Yao Qi <yao.qi@linaro.org>
1492
1493 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1494 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1495 (testcases): Update.
1496
ce90fefe
YQ
14972016-02-26 Yao Qi <yao.qi@linaro.org>
1498
1499 * gdb.reverse/aarch64.c: Rename to ...
1500 * gdb.reverse/insn-reverse.c: ... it.
1501 * gdb.reverse/aarch64.exp: Rename to ...
1502 * gdb.reverse/insn-reverse.exp: ... it.
1503
3263bceb
YQ
15042016-02-26 Yao Qi <yao.qi@linaro.org>
1505
1506 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1507 (testcase_ftype): New.
1508 (testcases): New array.
1509 (n_testcases): New.
1510 (main): Call each element in testcases.
1511 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1512 (read_testcase): New.
1513 Do the tests in a loop.
1514
6cb59ff1
YQ
15152016-02-25 Yao Qi <yao.qi@linaro.org>
1516
1517 * gdb.base/branches.c: Remove.
1518
ae91f625
MK
15192016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1520
1521 PR gdb/13808
1522 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1523
678b48b7
MK
15242016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1525
1526 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1527
7337a6f2
MK
15282016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1529
1530 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1531 change x86_64 call_insn to 'callq'.
1532
861ca91f
AT
15332016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1534
1535 * gdb.trace/tfile-avx.c: Move to...
1536 * gdb.trace/tracefile-pseudo-reg.c: Here.
1537 * gdb.trace/tfile-avx.exp: Move to...
1538 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1539
bf74e428
GB
15402016-02-24 Gary Benson <gbenson@redhat.com>
1541
1542 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1543 message on attach.
1544
cce0e923
DE
15452016-02-23 Doug Evans <dje@google.com>
1546
1547 * gdb.base/skip.c (test_skip): New function.
1548 (end_test_skip_file_and_function): New function.
1549 (test_skip_file_and_function): New function.
1550 * gdb.base/skip1.c (test_skip): New function.
1551 (skip1_test_skip_file_and_function): New function.
1552 * gdb.base/skip.exp: Add tests for new skip options.
1553 * gdb.base/skip-solib.exp: Update expected output.
1554 * gdb.perf/skip-command.cc: New file.
1555 * gdb.perf/skip-command.exp: New file.
1556 * gdb.perf/skip-command.py: New file.
1557
4000e47e
MK
15582016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1559
1560 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1561 info registers pattern.
1562
24f75ead
IB
15632016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1564
1565 * lib/future.exp: Add D support.
1566 (gdb_find_gdc): New proc.
1567 (gdb_default_target_compile): Add D support.
1568
fbb7bcbe
WW
15692016-02-18 Wei-cheng Wang <cole945@gmail.com>
1570
1571 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1572 user+system time.
1573 (trace_speed_test): Determine the iteration count for a time
1574 between 15..30 seconds.
1575
012b3a21
WT
15762016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1577
1578 * gdb.arch/i386-mpx-sigsegv.c: New file.
1579 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1580 * gdb.arch/i386-mpx-simple_segv.c: New file.
1581 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1582
2d5189bd
YQ
15832016-02-18 Yao Qi <yao.qi@linaro.org>
1584
1585 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1586 Don't call setup_kfail.
1587
40fb20d0
YQ
15882016-02-18 Yao Qi <yao.qi@linaro.org>
1589
1590 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1591 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1592
21b1f8d2
DE
15932016-02-16 Doug Evans <dje@google.com>
1594
1595 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1596 * gdb.base/skip1.c: Ditto.
1597 * gdb.base/skip.exp: Whitespace cleanup.
1598
4041ed77
DB
15992016-02-16 Don Breazeal <donb@codesourcery.com>
1600
1601 PR remote/19496
1602 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1603 Remove kfail for PR remote/19496.
1604
c4ef31bf
SM
16052016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1606
1607 * lib/gdb.exp (standard_temp_file): Return a path specific to
1608 the runtest invocation.
1609
266b65b3
SM
16102016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1611
1612 * gdb.trace/save-trace.exp: Change relative path to be in the
1613 standard output directory.
1614
a7a0a6a9
JK
16152016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1616
1617 * gdb.arch/i386-prologue.c: Add missing prototypes.
1618
c99dbb42
JK
16192016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1620
1621 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1622 * gdb.arch/i386-prologue.exp: Likewise.
1623 * gdb.arch/i386-size.exp: Likewise.
1624
aa480355
SM
16252016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1626
1627 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1628 define object file path.
1629 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1630 file path.
1631 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1632 standard_output_file to define binfile.
1633
ba881f50
JK
16342016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1635
1636 Fix compatibility with recent gfortran-5.3.1.
1637 * gdb.fortran/vla-history.exp (print vla1 allocated)
1638 (print vla2 allocated, print $2, print $3): Remove
1639 (print $4): Rename to ...
1640 (print $2): ... here.
1641 (print $9): Rename to ...
1642 (print $5): ... here.
1643 (print $10): Rename to ...
1644 (print $6): ... here.
1645 * gdb.fortran/vla.f90: Add pvla initialization.
1646
e9fb005c
JK
16472016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1648
1649 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1650 New test.
1651 * gdb.fortran/vla-value-sub.exp: Likewise.
1652
e44e00ff
MK
16532016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1654
1655 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1656
97e94151
SM
16572016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1658
1659 * i386-biarch-core.exp: Define corefile using
1660 standard_output_file.
1661
01113bc1
YQ
16622016-02-12 Yao Qi <yao.qi@linaro.org>
1663
1664 * gdb.arch/arm-single-step-kernel-helper.c: New.
1665 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1666
33b4777c
MM
16672016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1668
1669 * gdb.btrace/tailcall-only.exp: New.
1670 * gdb.btrace/tailcall-only.c: New.
1671 * gdb.btrace/x86_64-tailcall-only.S: New.
1672 * gdb.btrace/i686-tailcall-only.S: New.
1673
acc23c11
PA
16742016-02-11 Pedro Alves <palves@redhat.com>
1675
1676 * README (Parallel testing): Add missing double quotes.
1677
e352bf0a
PA
16782016-02-11 Pedro Alves <palves@redhat.com>
1679
1680 * README (Parallel testing): New section.
1681 (GDB_PARALLEL): Rewrite.
1682 (FORCE_PARALLEL): Document.
1683
9f5fed78
MK
16842016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1685
1686 * gdb.trace/tfile-avx.c: New test.
1687 * gdb.trace/tfile-avx.exp: New test.
1688
9ef9e6a6
KS
16892016-02-09 Keith Seitz <keiths@redhat.com>
1690
1691 PR breakpoints/19546
1692 * gdb.base/infcall-exec.c: New file.
1693 * gdb.base/infcall-exec2.c: New file.
1694 * gdb.base/infcall-exec.exp: New file.
1695
a96e36da
KS
16962016-02-09 Keith Seitz <keiths@redhat.com>
1697
1698 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1699 (toplevel): Call test_bkpt_address.
1700
9f61929f
KS
17012016-02-09 Keith Seitz <keiths@redhat.com>
1702
1703 PR python/19506
1704 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1705 (toplevel): Call test_bkpt_address.
1706
1e94266c
SM
17072016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1708
1709 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1710 to AC_OUTPUT.
1711 * configure: Regenerate.
1712
2a7f3dff
PA
17132016-02-09 Pedro Alves <palves@redhat.com>
1714
1715 PR breakpoints/19548
1716 * gdb.base/execl-update-breakpoints.c (some_function): New
1717 function.
1718 (main): Call it.
1719 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1720 Tighten expected GDB output.
1721
2151ccc5
SM
17222016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1723
1724 * Makefile.in (ALL_SUBDIRS): Remove.
1725 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1726 (distclean maintainer-clean realclean): Likewise.
1727 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1728 * configure: Regenerate.
1729 * gdb.ada/Makefile.in: Delete.
1730 * gdb.arch/Makefile.in: Likewise.
1731 * gdb.asm/Makefile.in: Likewise.
1732 * gdb.base/Makefile.in: Likewise.
1733 * gdb.btrace/Makefile.in: Likewise.
1734 * gdb.cell/Makefile.in: Likewise.
1735 * gdb.compile/Makefile.in: Likewise.
1736 * gdb.cp/Makefile.in: Likewise.
1737 * gdb.disasm/Makefile.in: Likewise.
1738 * gdb.dlang/Makefile.in: Likewise.
1739 * gdb.dwarf2/Makefile.in: Likewise.
1740 * gdb.fortran/Makefile.in: Likewise.
1741 * gdb.gdb/Makefile.in: Likewise.
1742 * gdb.go/Makefile.in: Likewise.
1743 * gdb.guile/Makefile.in: Likewise.
1744 * gdb.java/Makefile.in: Likewise.
1745 * gdb.linespec/Makefile.in: Likewise.
1746 * gdb.mi/Makefile.in: Likewise.
1747 * gdb.modula2/Makefile.in: Likewise.
1748 * gdb.multi/Makefile.in: Likewise.
1749 * gdb.objc/Makefile.in: Likewise.
1750 * gdb.opencl/Makefile.in: Likewise.
1751 * gdb.opt/Makefile.in: Likewise.
1752 * gdb.pascal/Makefile.in: Likewise.
1753 * gdb.perf/Makefile.in: Likewise.
1754 * gdb.python/Makefile.in: Likewise.
1755 * gdb.reverse/Makefile.in: Likewise.
1756 * gdb.server/Makefile.in: Likewise.
1757 * gdb.stabs/Makefile.in: Likewise.
1758 * gdb.threads/Makefile.in: Likewise.
1759 * gdb.trace/Makefile.in: Likewise.
1760 * gdb.xml/Makefile.in: Likewise.
1761 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1762 GDB_PARALLEL.
1763 (standard_output_file): Remove check for GDB_PARALLEL, always
1764 return path in outputs/$subdir/$testname.
1765
437277d4
SM
17662016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1767
1768 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1769 (site.exp): Assign abs_srcdir to tcl's srcdir.
1770
31d913c7
YQ
17712016-02-04 Yao Qi <yao.qi@linaro.org>
1772
1773 * gdb.base/foll-exec-mode.c: Include limits.h.
1774 (main): Add parameters argc and argv. Get directory from
1775 argv[0].
1776 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1777 compilation.
1778 * gdb.base/foll-exec.c: Include limits.h.
1779 (main): Add parameters argc and argv.
1780 Get directory from argv[0].
1781 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1782 Adjust tests on the number of lines as source code changed.
1783 * gdb.base/foll-vfork-exit.c: Include limits.h.
1784 (main): Add one line of statement before vfork.
1785 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1786 (main): Add parameters argc and argv. Get directory from
1787 argv[0].
1788 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1789 (setup_gdb): Set tbreak to skip some source lines.
1790 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1791 (main): Add parameters argc and argv. Get directory from
1792 argv[0].
1793 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1794 compilation.
1795 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1796 (main): Add parameters argc and argv. Get directory from
1797 argv[0].
1798 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1799 compilation.
1800
9482b9fb
DE
18012016-02-01 Doug Evans <dje@google.com>
1802
1803 * gdb.base/skip.exp: Clean up multiple references to same test name.
1804
6b2e4f10
PA
18052016-02-01 Pedro Alves <palves@redhat.com>
1806
ccb6afd6 1807 PR remote/19496
6b2e4f10
PA
1808 * gdb.threads/forking-threads-plus-breakpoint.exp
1809 (displaced_stepping_supported): New global.
1810 (probe_displaced_stepping_support): New procedure.
1811 (do_test): Add 'displaced' parameter, and use it.
1812 (top level): Check for displaced stepping support. Add displaced
1813 stepping on/off testing axis.
1814
37a8db1a
AB
18152016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1816
1817 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1818 pointer. Don't perform further tests on the unassociated pointer
1819 if the first test fails.
1820
5fdf6324
AB
18212016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1822
1823 * gdb.base/max-value-size.c: New file.
1824 * gdb.base/max-value-size.exp: New file.
1825 * gdb.base/huge.exp: Disable max-value-size for this test.
1826
935c6144
IB
18272016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1828
1829 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1830
7fe8399d
YQ
18312016-01-28 Yao Qi <yao.qi@linaro.org>
1832
1833 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1834
a2077e25
PA
18352016-01-25 Pedro Alves <palves@redhat.com>
1836
1837 PR threads/19461
1838 * gdb.base/fork-running-state.c: New file.
1839 * gdb.base/fork-running-state.exp: New file.
1840
1d2736d4
PA
18412016-01-25 Pedro Alves <palves@redhat.com>
1842
1843 PR gdb/19494
1844 * gdb.base/catch-fork-kill.c: New file.
1845 * gdb.base/catch-fork-kill.exp: New file.
1846
f1da4b11
PA
18472016-01-25 Pedro Alves <palves@redhat.com>
1848
1849 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1850 Delete, moved to lib/gdb.exp.
1851 * gdb.threads/forking-threads-plus-breakpoint.exp
1852 (foreach_with_prefix): Likewise.
1853 * gdb.threads/process-dies-while-handling-bp.exp
1854 (foreach_with_prefix): Likewise.
1855 * lib/gdb.exp (foreach_with_prefix): New procedure.
1856
45f38546
MK
18572016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1858
1859 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1860 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1861
dc29a1ce
MK
18622016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1863
1864 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1865 endian targets.
1866
092127d7
JK
18672016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1868 Pedro Alves <palves@redhat.com>
1869
1870 Fix testsuite compatibility with Guile.
1871 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1872 number.
1873
31d765d3
JK
18742016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1875
1876 Fix testsuite compatibility with Guile.
1877 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1878 (thread 1): New test for backtrace through signal handler.
1879
1ac78c04
YQ
18802016-01-22 Yao Qi <yao.qi@linaro.org>
1881
1882 PR testsuite/19491
1883 * gdb.base/multi-forks.c: Include
1884 ../lib/unbuffer_output.c
1885 (main): Call gdb_unbuffer_output.
1886
4f5946a8
DE
18872016-01-21 Doug Evans <dje@google.com>
1888
1889 * lib/ada.exp (gdb_compile_ada): Fix typo.
1890
305e13e6
JB
18912016-01-21 Joel Brobecker <brobecker@adacore.com>
1892
1893 * gdb.base/break-fun-addr.exp: New file.
1894 * gdb.base/break-fun-addr1.c: New file.
1895 * gdb.base/break-fun-addr2.c: New file.
1896
5f5dfff6
SM
18972016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1898
1899 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1900 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1901 enum flag values.
1902
fd356fa2
AA
19032016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1904
1905 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1906 when GDB can not set the vector return value. Add more comments
1907 for clarification.
1908
9df22175
AT
19092016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1910
1911 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1912 command.
1913
41d1845e
SM
19142016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1915
1916 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1917
01ac6840
SM
19182016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1919
1920 * Makefile.in (check-single): Pass --status to runtest.
1921 (check/%.exp): Likewise.
1922
19232016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1924
1925 * Makefile.in (check-parallel): Propagate return code from make
1926 do-check-parallel.
1927
bd0a71fa
MK
19282016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1929
1930 * gdb.trace/ftrace.exp: Fix expected message on continue.
1931 * gdb.trace/pending.exp: Fix expected message on continue.
1932 * gdb.trace/trace-break.exp: Fix expected message on continue.
1933
8bcbad33
SM
19342016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1935
1936 * lib/gdb.exp (gdb_test): Remove unused global references.
1937
f303dbd6
PA
19382016-01-18 Pedro Alves <palves@redhat.com>
1939
1940 * gdb.base/async-shell.exp: Adjust expected output.
1941 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1942 * gdb.base/siginfo-thread.exp: Adjust expected output.
1943 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1944 * gdb.java/jnpe.exp: Adjust expected output.
1945 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1946 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1947 * gdb.threads/leader-exit.exp: Adjust expected output.
1948 * gdb.threads/manythreads.exp: Adjust expected output.
1949 * gdb.threads/pthreads.exp: Adjust expected output.
1950 * gdb.threads/schedlock.exp: Adjust expected output.
1951 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1952 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1953 expected output.
1954 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1955 output.
1956 * gdb.threads/sigthread.exp: Adjust expected output.
1957 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1958
b2789696
YQ
19592016-01-18 Yao Qi <yao.qi@linaro.org>
1960
1961 * gdb.guile/scm-section-script.c: Replace @progbits with
1962 %progbits.
1963 * gdb.python/py-section-script.c: Likewise.
1964
71ef29a8
PA
19652016-01-15 Pedro Alves <palves@redhat.com>
1966
1967 * gdb.multi/tids.exp: Test star wildcard ranges.
1968
3f5b7598
PA
19692016-01-15 Pedro Alves <palves@redhat.com>
1970
1971 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1972 command from "thread apply" invocation.
1973 (thr_apply_info_thr_invalid): Default the expected output to the
1974 input tid list.
1975 (top level): Add tests that use convenience variables. Add tests
1976 for "thread apply" with a valid TID list, but missing the command.
1977
663f6d42
PA
19782016-01-13 Pedro Alves <palves@redhat.com>
1979
1980 * gdb.base/default.exp: Expect $_gthread as well.
1981 * gdb.multi/tids.exp: Test $_gthread.
1982 * gdb.threads/thread-specific.exp: Test $_gthread.
1983
c84f6bbf
PA
19842016-01-13 Pedro Alves <palves@redhat.com>
1985
1986 * gdb.multi/tids.exp: Test "info threads -gid".
1987
22a02324
PA
19882016-01-13 Pedro Alves <palves@redhat.com>
1989
1990 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1991 Breakpoint.thread.
1992 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1993
5d5658a1
PA
19942016-01-07 Pedro Alves <palves@redhat.com>
1995
1996 * gdb.base/break.exp: Adjust to output changes.
1997 * gdb.base/hbreak2.exp: Likewise.
1998 * gdb.base/sepdebug.exp: Likewise.
1999 * gdb.base/watch_thread_num.exp: Likewise.
2000 * gdb.linespec/keywords.exp: Likewise.
2001 * gdb.multi/info-threads.exp: Likewise.
2002 * gdb.threads/thread-find.exp: Likewise.
2003 * gdb.multi/tids.c: New file.
2004 * gdb.multi/tids.exp: New file.
2005
84654457
PA
20062016-01-13 Pedro Alves <palves@redhat.com>
2007
2008 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
2009
e3940304
PA
20102016-01-13 Pedro Alves <palves@redhat.com>
2011
2012 * gdb.base/default.exp: Expect $_inferior as well.
2013 * gdb.multi/base.exp: Test $_inferior.
2014
a911d87a
PA
20152016-01-13 Pedro Alves <palves@redhat.com>
2016
2017 PR breakpoints/19388
2018 * gdb.base/catch-signal-siginfo-cond.c: New file.
2019 * gdb.base/catch-signal-siginfo-cond.exp: New file.
2020
82075af2
JS
20212016-01-12 Josh Stone <jistone@redhat.com>
2022 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2023
2024 * gdb.base/catch-syscall.c (do_execve): New variable.
2025 (main): Conditionally trigger an execve.
2026 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
2027 (test_catch_syscall_execve): New, check entry/return across execve.
2028 (do_syscall_tests): Call test_catch_syscall_execve.
2029
e46eeedd
PA
20302016-01-12 Pedro Alves <palves@redhat.com>
2031
2032 * gdb.base/random-signal.exp (do_test): New procedure, with body
2033 of testcase moved in.
2034
01d8c27e
JK
20352016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2036 Pedro Alves <palves@redhat.com>
2037
2038 * gdb.base/funcargs.exp (finish from indirectly called function):
2039 Reintroduce the case for 'First'.
2040
9a706302
JK
20412016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2042 Pedro Alves <palves@redhat.com>
2043
2044 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
2045 (tcatch_vfork_then_child_follow_exec)
2046 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
2047 identification.
2048
c0ecb95f
JK
20492016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2050
2051 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
2052 and repeats to unlimited.
2053 * gdb.python/py-value.exp: Likewise.
2054 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
2055 and repeats to unlimited.
2056
6cfc1fcb
JK
20572016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2058
2059 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
2060 and reordering the functions.
2061 * gdb.multi/hangout.c: Likewise.
2062 * gdb.multi/hello.c: Likewise.
2063
582a1b00
SM
20642016-01-08 Simon Marchi <simon.marchi@ericsson.com>
2065
2066 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
2067 absolute.
2068 (SingleStatisticTestResult.report): Use dict.keys instead of
2069 dict.iterkeys.
2070
79bc59cb
PA
20712016-01-06 Pedro Alves <palves@redhat.com>
2072
2073 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
2074
43368e1d
MM
20752016-01-04 Markus Metzger <markus.t.metzger@intel.com>
2076
2077 * gdb.btrace/dlopen.exp: New.
2078 * gdb.btrace/dlopen.c: New.
2079 * gdb.btrace/dlopen-dso.c: New.
2080
79fad5b8
SL
20812015-12-25 Sandra Loosemore <sandra@codesourcery.com>
2082
2083 * lib/gdb.exp (gdb_test): Update comments to clarify that the
2084 PATTERN argument is optional.
2085
ab8314b3
JB
20862015-12-24 Joel Brobecker <brobecker@adacore.com>
2087
2088 * lib/ada.exp (target_compile_ada_from_dir): New function.
2089 (gdb_compile_ada): Reimplement avoiding the use of project files.
2090 * gdb.ada/gnat_ada.gpr: Delete.
2091 * gdb.ada/cond_lang.exp: Adjust test to make path before
2092 filename optional.
2093 * gdb.ada/small_reg_param.exp: Likewise.
2094
fe33faff
SM
20952015-12-22 Simon Marchi <simon.marchi@ericsson.com>
2096
2097 * gdb.base/foll-vork.exp: Remove HP-UX special case.
2098
6d265cb4
TP
20992015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
2100
2101 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
2102 case.
2103
10125099
SM
21042015-12-21 Simon Marchi <simon.marchi@ericsson.com>
2105
2106 * gdb.base/break.exp: Remove dead code.
2107 * gdb.base/sepdebug.exp: Likewise.
2108
3ca22649
SM
21092015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2110
2111 * gdb.asm/asm-source.exp: Remove HP-UX references.
2112 * gdb.base/annota1.exp: Likewise.
2113 * gdb.base/annota3.exp: Likewise.
2114 * gdb.base/attach.exp: Likewise.
2115 * gdb.base/bigcore.exp: Likewise.
2116 * gdb.base/break.exp: Likewise.
2117 * gdb.base/call-ar-st.exp: Likewise.
2118 * gdb.base/callfuncs.exp: Likewise.
2119 * gdb.base/catch-fork-static.exp: Likewise.
2120 * gdb.base/display.exp: Likewise.
2121 * gdb.base/foll-exec-mode.exp: Likewise.
2122 * gdb.base/foll-exec.exp: Likewise.
2123 * gdb.base/foll-fork.exp: Likewise.
2124 * gdb.base/foll-vfork.exp: Likewise.
2125 * gdb.base/funcargs.exp: Likewise.
2126 * gdb.base/hbreak2.exp: Likewise.
2127 * gdb.base/inferior-died.exp: Likewise.
2128 * gdb.base/interrupt.exp: Likewise.
2129 * gdb.base/multi-forks.exp: Likewise.
2130 * gdb.base/nodebug.exp: Likewise.
2131 * gdb.base/sepdebug.exp: Likewise.
2132 * gdb.base/solib1.c: Likewise.
2133 * gdb.base/step-test.exp: Likewise.
2134 * gdb.mi/non-stop.c: Likewise.
2135 * gdb.mi/pthreads.c: Likewise.
2136 * gdb.multi/bkpt-multi-exec.ex: Likewise.
2137 * gdb.threads/pthreads.c: Likewise.
2138 * gdb.threads/staticthreads.exp: Likewise.
2139 * lib/future.exp: Likewise.
2140 * lib/gdb.exp: Likewise.
2141 * gdb.base/so-indr-cl.c: Remove.
2142 * gdb.base/so-indr-cl.exp: Likewise.
2143 * gdb.base/solib.c: Likewise.
2144 * gdb.base/solib.exp: Likewise.
2145 * gdb.base/solib2.c: Likewise.
2146
b6304613
SM
21472015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2148
2149 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
2150 * gdb.base/call-ar-st.exp: Likewise.
2151 * gdb.base/callfuncs.exp: Likewise.
2152 * gdb.base/condbreak.exp: Likewise.
2153 * gdb.base/constvars.exp: Likewise.
2154 * gdb.base/hbreak2.exp: Likewise.
2155 * gdb.base/langs.exp: Likewise.
2156 * gdb.base/list.exp: Likewise.
2157 * gdb.base/long_long.exp: Likewise.
2158 * gdb.base/ptype.exp: Likewise.
2159 * gdb.base/scope.exp: Likewise.
2160 * gdb.base/signals.exp: Likewise.
2161 * gdb.base/so-impl-ld.exp: Likewise.
2162 * gdb.base/varargs.exp: Likewise.
2163 * gdb.base/volatile.exp: Likewise.
2164 * gdb.base/whatis.exp: Likewise.
2165 * gdb.cp/cplusfuncs.exp: Likewise.
2166 * gdb.cp/inherit.exp: Likewise.
2167 * gdb.cp/local.exp: Likewise.
2168 * gdb.cp/member-ptr.exp: Likewise.
2169 * gdb.cp/method.exp: Likewise.
2170 * gdb.cp/overload.exp: Likewise.
2171 * gdb.cp/templates.exp: Likewise.
2172 * gdb.stabs/weird.exp: Likewise.
2173 * lib/compiler.c: Likewise.
2174 * lib/compiler.cc: Likewise.
2175 * lib/cp-support.exp: Likewise.
2176 * lib/gdb.exp: Likewise.
2177
bf401b07
SM
21782015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
2179
2180 * configure.ac: Remove HP-UX case.
2181 * configure: Regenerate.
2182
aff9c0f8
SM
21832015-12-18 Simon Marchi <simon.marchi@ericsson.com>
2184
2185 * lib/gdb.exp (gdb_compile): Add function doc.
2186
a6904d5a
PA
21872015-12-17 Pedro Alves <palves@redhat.com>
2188
2189 PR threads/19354
2190 * gdb.multi/info-threads.exp: New file.
2191
a22279dd
YQ
21922015-12-15 Yao Qi <yao.qi@linaro.org>
2193
2194 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
2195 is aarch64*-*-*.
2196
0588c796
SL
21972015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2198
2199 * gdb.base/history-duplicates.exp: Skip if no readline support.
2200
5d978e17
SL
22012015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2202
2203 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
2204
7e763b86
SL
22052015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2206
2207 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
2208
87a3a92c
SL
22092015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2210
2211 * gdb.base/completion.exp: Skip tests that interrupt GDB with
2212 ctrl-C if nointerrupts target property is set.
2213 * gdb.base/double-prompt-target-event-error.exp: Likewise.
2214 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
2215 * gdb.base/paginate-bg-execution.exp: Likewise.
2216 * gdb.base/paginate-execution-startup.exp: Likewise.
2217 * gdb.base/random-signal.exp: Likewise.
2218 * gdb.base/range-stepping.exp: Likewise.
2219 * gdb.cp/annota2.exp: Likewise.
2220 * gdb.cp/annota3.exp: Likewise.
2221 * gdb.gdb/selftest.exp: Likewise.
2222 * gdb.threads/continue-pending-status.exp: Likewise.
2223 * gdb.threads/leader-exit.exp: Likewise.
2224 * gdb.threads/manythreads.exp: Likewise.
2225 * gdb.threads/pthreads.exp: Likewise.
2226 * gdb.threads/schedlock.exp: Likewise.
2227 * gdb.threads/sigthread.exp: Likewise.
2228
a8f077dc
DB
22292015-12-11 Don Breazeal <donb@codesourcery.com>
2230
2231 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2232 remote.
2233 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2234 * gdb.base/foll-exec.exp (main): Enable for target remote.
2235 * gdb.base/foll-fork.exp (main): Likewise.
2236 * gdb.base/foll-vfork.exp (main): Likewise.
2237 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2238 (proc continue_to_exit_bp_loc): Use clean_restart.
2239 * gdb.base/pie-execl.exp (main): Disable for target remote.
2240 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2241 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2242 * gdb.threads/execl.exp (main): Likewise.
2243 * gdb.threads/fork-child-threads.exp (main): Likewise.
2244 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2245 remote.
2246 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2247 remote.
2248 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2249 pid.tid style ptids, instead of just tid.
2250 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2251 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2252 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2253 ptids, instead of just tid.
2254
3b2464a8
AB
22552015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2256
2257 * gdb.base/list.exp (test_list_forward): Add end of file error
2258 test.
2259 (test_repeat_list_command): Add end of file error test.
2260 (test_list_backwards): Add beginning of file error test.
2261
a0def019
AB
22622015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2263
2264 * gdb.base/list.exp (test_list_invalid_args): New function,
2265 defined, and called.
2266
5c000dff
AB
22672015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2268
2269 * gdb.base/list.exp (test_list): Make test names unique.
2270
f1637ebe
YQ
22712015-12-11 Yao Qi <yao.qi@linaro.org>
2272
2273 * gdb.base/coremaker2.c: Remove.
2274
36d6fc0a
PA
22752015-12-10 Pedro Alves <palves@redhat.com>
2276
2277 * gdb.multi/base.exp: Remove stale "spaces" references.
2278
762f7747
PA
22792015-12-10 Pedro Alves <palves@redhat.com>
2280
2281 * gdb.multi/base.exp: Don't use nowarnings.
2282 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2283 * gdb.multi/hangout.c: Include stdio.h.
2284 * gdb.multi/hello.c: Include stdlib.h.
2285 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2286 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2287 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2288
28d2bfb9
AB
22892015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2290
2291 * gdb.dwarf2/dw2-ranges-base.c: New file.
2292 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2293 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2294 support additional line table, and debug ranges generation.
2295 (Dwarf::ranges): New function, generate .debug_ranges.
2296 (Dwarf::lines): Support generating simple line table programs.
2297 (Dwarf::assemble): Initialise new namespace variables.
2298
5fc2beac
KB
22992015-12-09 Kevin Buettner <kevinb@redhat.com>
2300
2301 * gdb.base/async.exp (proc test_background): Add case for
2302 asynchronous execution not supported.
2303
1c35a88f
LM
23042015-12-09 Luis Machado <lgustavo@codesourcery.com>
2305
2306 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2307 format and change test names to make them unique.
2308
b593e3d9
RK
23092015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2310 Pedro Alves <pedro@redhat.com>
2311
2312 PR gdb/18702
2313 Add checking of floatformats setup on x86_64 hosts.
2314 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2315 (smallval, bigval): New labels/constants.
2316 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2317 float" after loading bigval and smallval.
2318
d72413e6
PMR
23192015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2320
2321 * gdb.ada/fun_overload_menu.exp: New testcase.
2322 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2323
ece66d65
JS
23242015-12-04 Josh Stone <jistone@redhat.com>
2325
2326 * gdb.base/catch-fork-static.exp: New.
2327
41d0efca
YQ
23282015-12-03 Yao Qi <yao.qi@linaro.org>
2329
2330 * gdb.base/sizeof.c: Don't include stdio.h and
2331 ../lib/unbuffer_output.c.
2332 (main): New variable 'size' and 'value'. Remove printf and
2333 gdb_unbuffer_output. Assign return value to size and value.
2334 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2335 at the beginning.
2336 (check_sizeof): Check the result by printing variable 'size'.
2337 (check_valueof): Check the result by printing variable 'value'.
2338
99fd02d9
YQ
23392015-12-01 Yao Qi <yao.qi@linaro.org>
2340
2341 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2342 for aarch64*-*-linux* target.
2343
f2faf941
PA
23442015-11-30 Pedro Alves <palves@redhat.com>
2345
2346 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2347
04bf20c5
PA
23482015-11-30 Pedro Alves <palves@redhat.com>
2349
2350 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2351 Handle non-stop mode vCont replies.
2352
09df4675
PA
23532015-11-30 Pedro Alves <palves@redhat.com>
2354
2355 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2356 prepare_for_testing. Start gdb with "set non-stop on" appended to
2357 GDBFLAGS. Lax expected stop output.
2358
58b584af
YQ
23592015-11-27 Yao Qi <yao.qi@linaro.org>
2360
2361 * gdb.arch/arm-neon.exp: New.
2362 * gdb.arch/arm-neon.c: New.
2363
dfcb77a8
YQ
23642015-11-27 Yao Qi <yao.qi@linaro.org>
2365
2366 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2367
88e8ec1b
YQ
23682015-11-27 Yao Qi <yao.qi@linaro.org>
2369
2370 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2371 frames-invalid annotation.
2372
bfde72c2
YQ
23732015-11-27 Yao Qi <yao.qi@linaro.org>
2374
2375 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2376
f6512a69
SM
23772015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2378
2379 * gdb.threads/names.exp: New file.
2380 * gdb.threads/names.c: New file.
2381 * README: Mention gdb,no_thread_names.
2382
46a3515b
MM
23832015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2384
2385 PR 19297
2386 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2387 support" error.
2388
62147a22
PA
23892015-11-24 Pedro Alves <palves@redhat.com>
2390
2391 PR 17539
2392 * gdb.base/display.exp: Expect displays to be sorted in ascending
2393 order. Use multi_line.
2394 * gdb.base/solib-display.exp: Likewise.
2395
2f341b6e
PA
23962015-11-24 Pedro Alves <palves@redhat.com>
2397
2398 PR 17539
25d49b86
PA
2399 * gdb.base/display.exp: Expect displays to be sorted in ascending
2400 order. Use multi_line.
2401 * gdb.base/solib-display.exp: Likewise.
2f341b6e 2402
7e0aa6aa
PA
24032015-11-24 Pedro Alves <palves@redhat.com>
2404
2405 PR 17539
2406 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2407 threads in ascending order.
2408 * gdb.base/foll-fork.exp: Likewise.
2409 * gdb.base/foll-vfork.exp: Likewise.
2410 * gdb.base/multi-forks.exp: Likewise.
2411 * gdb.mi/mi-nonstop.exp: Likewise.
2412 * gdb.mi/mi-nsintrall.exp: Likewise.
2413 * gdb.multi/base.exp: Likewise.
2414 * gdb.multi/multi-arch.exp: Likewise.
2415 * gdb.python/py-inferior.exp: Likewise.
2416 * gdb.threads/break-while-running.exp: Likewise.
2417 * gdb.threads/execl.exp: Likewise.
2418 * gdb.threads/gcore-thread.exp: Likewise.
2419 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2420 * gdb.threads/kill.exp: Likewise.
2421 * gdb.threads/linux-dp.exp: Likewise.
2422 * gdb.threads/multiple-step-overs.exp: Likewise.
2423 * gdb.threads/next-bp-other-thread.exp: Likewise.
2424 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2425 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2426 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2427 * gdb.threads/thread-find.exp: Likewise.
2428 * gdb.threads/tls.exp: Likewise.
2429 * lib/mi-support.exp (mi_reverse_list): Delete.
2430 (mi_check_thread_states): No longer reverse list.
2431
2cc57ad8
PA
24322015-11-24 Pedro Alves <palves@redhat.com>
2433
2434 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2435 use lowercase.
2436
c93e8391
SM
24372015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2438
2439 * gdb.trace/actions.c: Include trace-common.h.
2440 (main): Add a location for a fast tracepoint.
2441 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2442 the normal tracepoints.
2443 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2444
045ccf91
SM
24452015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2446
2447 * save-trace.exp: Factor out code to these...
2448 (gdb_save_tracepoints): New.
2449 (gdb_load_tracepoints): New.
2450 (do_save_load_test): New.
2451
5506f9f6
KB
24522015-11-23 Kevin Buettner <kevinb@redhat.com>
2453
2454 * gdb.base/asmlabel.exp: New test.
2455 * gdb.base/asmlabel.c: New test case.
2456
16c3b12f
JB
24572015-11-23 Joel Brobecker <brobecker@adacore.com>
2458
2459 * gdb.base/wrong_frame_bt_full-main.c: New file.
2460 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2461 * gdb.base/wrong_frame_bt_full.exp: New file.
2462
155bfbd3
JB
24632015-11-23 Joel Brobecker <brobecker@adacore.com>
2464
2465 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2466
bb097445
JM
24672015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2468
206853a0 2469 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
2470 pstate register when comparing registers values in
2471 sparc64-*-linux-gnu targets to avoid spurious differences.
2472
9c88ed8f
JM
24732015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2474
206853a0 2475 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 2476
96161e25
SL
24772015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2478
2479 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2480 as type argument to gdb_compile.
2481 * gdb.base/nested-subp2.exp: Likewise.
2482 * gdb.base/nested-subp3.exp: Likewise.
2483
340c2830
DV
24842015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2485
2486 * lib/dwarf.exp (_note): Fix left shift of negative value.
2487 * gdb.trace/trace-condition.exp: Likewise.
2488
c1862d0f
YQ
24892015-11-13 Yao Qi <yao.qi@linaro.org>
2490
2491 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2492 comments about d10v.
2493 (test_scalar_returns): Likewise.
2494 * gdb.base/d10v.ld: Remove.
2495 * gdb.base/overlays.exp: Remove the target triplet checking for
2496 d10v-*-*.
2497 * gdb.base/structs.exp (test_struct_returns): Remove the
2498 comments about d10v.
2499 (test_struct_calls): Likewise.
2500
77ae9c19
YQ
25012015-11-13 Yao Qi <yao.qi@linaro.org>
2502
2503 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2504 * gdb.base/gnu_vector.c: Don't include stdio.h.
2505 (main): Don't print res and call add_some_intvecs.
2506
430e004e
MK
25072015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2508
2509 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2510 macro.
2511 (func5): Removed.
2512 (func4): Use FAST_TRACEPOINT_LABEL.
2513 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2514 macro.
2515 (func): Removed.
2516 (thread_function): Use FAST_TRACEPOINT_LABEL.
2517 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2518 (func): Remove.
2519 (marker): Use FAST_TRACEPOINT_LABEL.
2520 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2521 (pendfunc1): Remove.
2522 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2523 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2524 (foo): Remove.
2525 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2526 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2527 macro.
2528 (func): Remove.
2529 (marker): Use FAST_TRACEPOINT_LABEL.
2530 * gdb.trace/trace-common.h: New header.
2531 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2532 macro.
2533 (func): Remove.
2534 (marker): Use FAST_TRACEPOINT_LABEL.
2535 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2536 (func): Remove.
2537 (thread_function): Use FAST_TRACEPOINT_LABEL.
2538
6e7675a7
MK
25392015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2540
2541 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2542 in front.
2543 * gdb.trace/change-loc.exp: Use global pcreg definition.
2544 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2545 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2546 in front.
2547 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2548 * gdb.trace/pending.exp: Likewise.
2549 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2550 * gdb.trace/trace-break.exp: Likewise.
2551 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2552 in front.
2553 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2554 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2555 in front.
2556 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2557
dddc0e16
JB
25582015-11-09 Joel Brobecker <brobecker@adacore.com>
2559
2560 * gdb.ada/fin_fun_out: New testcase.
2561
c6f0b406
KB
25622015-11-07 Kevin Buettner <kevinb@redhat.com>
2563
2564 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2565 value associated with DW_AT_byte_size.
2566 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2567 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2568 DW_AT_upper_bound.
2569
f01dcfd9
KB
25702015-11-07 Kevin Buettner <kevinb@redhat.com>
2571
2572 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2573 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2574 version.
2575 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2576 gdb.dwarf2/dw2-canonicalize-type.exp,
2577 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2578 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2579 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2580 provided by gdb_target_symbol_prefix_flags_asm.
2581 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2582 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2583 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2584 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2585 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2586 macros where needed). Use this macro for symbols which require
2587 the prefix provided by SYMBOL_PREFIX.
2588
2223449a
KB
25892015-11-05 Kevin Buettner <kevinb@redhat.com>
2590
2591 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2592 New procs.
2593 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2594 representing expressions, of more than one list element.
2595 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2596 to prepend linker symbol prefix to f.
2597 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2598 table_1 and table_2.
2599 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2600 Likewise, for f and g.
2601 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2602 for ptr.
2603 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2604 for main.
2605 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2606 table_1_ptr and table_2_ptr.
2607
6f2f1a3a
JK
26082015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2609 Joel Brobecker <brobecker@adacore.com>
2610
2611 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2612
566c56c9
MK
26132015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2614
2615 * gdb.reverse/s390-mvcle.c: New test.
2616 * gdb.reverse/s390-mvcle.exp: New file.
2617 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2618
d5f0636b
MK
26192015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2620
2621 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2622
7ad8b86c
MK
26232015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2624
2625 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2626 reaching marker2.
2627 * gdb.reverse/getresuid-reverse.exp: Likewise.
2628 * gdb.reverse/pipe-reverse.exp: Likewise.
2629 * gdb.reverse/readv-reverse.exp: Likewise.
2630 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2631 * gdb.reverse/time-reverse.exp: Likewise.
2632 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2633
4081c0f1
YQ
26342015-10-30 Yao Qi <yao.qi@linaro.org>
2635
2636 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2637 (empty_cycle): Remove.
2638 (main): Don't call empty_cycle. Don't use watch_count_done.
2639 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2640 empty_cycle. Rewrite the code counting HW watchpoints.
2641
452b4ba5
MK
26422015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2643
2644 * gdb.reverse/fstatat-reverse.c: New test.
2645 * gdb.reverse/fstatat-reverse.exp: New file.
2646 * gdb.reverse/getresuid-reverse.c: New test.
2647 * gdb.reverse/getresuid-reverse.exp: New file.
2648 * gdb.reverse/pipe-reverse.c: New test.
2649 * gdb.reverse/pipe-reverse.exp: New file.
2650 * gdb.reverse/readv-reverse.c: New test.
2651 * gdb.reverse/readv-reverse.exp: New file.
2652 * gdb.reverse/recvmsg-reverse.c: New test.
2653 * gdb.reverse/recvmsg-reverse.exp: New file.
2654 * gdb.reverse/time-reverse.c: New test.
2655 * gdb.reverse/time-reverse.exp: New file.
2656 * gdb.reverse/waitpid-reverse.c: New test.
2657 * gdb.reverse/waitpid-reverse.exp: New file.
2658
5e2e7507
JK
26592015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2660
2661 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2662
0fde2c53
DE
26632015-10-26 Doug Evans <dje@google.com>
2664
2665 PR symtab/17391
2666 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2667 * gdb.dwarf2/bad-regnum.c: New file.
2668 * gdb.dwarf2/bad-regnum.exp: New file.
2669
1a70ae97
DE
26702015-10-26 Doug Evans <dje@google.com>
2671
2672 PR python/18938
2673 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2674 file.
2675
27dc26ab
JK
26762015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2677
2678 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2679 for a change by "Mention language in compile error message".
2680
bed91f4d
SM
26812015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2682
2683 PR python/18073
2684 * gdb.python/py-type.c (C::a_method): New.
2685 (C::a_const_method): New.
2686 (C::a_static_method): New.
2687 (a_function): New.
2688 * gdb.python/py-type.exp (test_fields): Test getting fields
2689 from function and method.
2690
3f2f83dd
KB
26912015-10-21 Keven Boell <keven.boell@intel.com>
2692
2693 * gdb.fortran/vla-alloc-assoc.exp: New file.
2694 * gdb.fortran/vla-datatypes.exp: New file.
2695 * gdb.fortran/vla-datatypes.f90: New file.
2696 * gdb.fortran/vla-history.exp: New file.
2697 * gdb.fortran/vla-ptype-sub.exp: New file.
2698 * gdb.fortran/vla-ptype.exp: New file.
2699 * gdb.fortran/vla-sizeof.exp: New file.
2700 * gdb.fortran/vla-sub.f90: New file.
2701 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2702 * gdb.fortran/vla-value-sub-finish.exp: New file.
2703 * gdb.fortran/vla-value-sub.exp: New file.
2704 * gdb.fortran/vla-value.exp: New file.
2705 * gdb.fortran/vla-ptr-info.exp: New file.
2706 * gdb.mi/mi-vla-fortran.exp: New file.
2707 * gdb.mi/vla.f90: New file.
2708
27145d50
SL
27092015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2710
2711 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2712 of hardwired timeout value.
2713
5f3ff4f8
JK
27142015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2715 Pedro Alves <palves@redhat.com>
2716
2717 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2718 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2719
bfd09d20
JS
27202015-10-19 Josh Stone <jistone@redhat.com>
2721
2722 * gdb.base/catch-syscall.c: Include <sched.h>.
2723 (unknown_syscall): New variable.
2724 (main): Trigger a vfork and an unknown syscall.
2725 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2726 (unknown_syscall_number): Likewise.
2727 (check_call_to_syscall): Accept an optional syscall pattern.
2728 (check_return_from_syscall): Likewise.
2729 (check_continue): Likewise.
2730 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2731 (test_catch_syscall_skipping_return): New test toggling off 'catch
2732 syscall' to step over the syscall return, then toggling back on.
2733 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2734 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2735 (do_syscall_tests): Call test_catch_syscall_without_args and
2736 test_catch_syscall_mid_vfork.
2737 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2738 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2739
b32b93c6
AS
27402015-10-19 Andrew Stubbs <ams@codesourcery.com>
2741
2742 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2743 print g_vE): Add new pass patterns.
2744 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2745 print various symbol names for vptr fields.
2746
9d622bda
AB
27472015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2748
2749 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2750 results.
2751
0fd8ac1c
YQ
27522015-10-12 Yao Qi <yao.qi@linaro.org>
2753
2754 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2755
34240514
YQ
27562015-10-12 Yao Qi <yao.qi@linaro.org>
2757
2758 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2759 is aarch64*-*-linux*.
2760
8240f442
YQ
27612015-10-12 Yao Qi <yao.qi@linaro.org>
2762
2763 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2764 (can_relocate_bcond_true): ... it.
2765 (can_relocate_bcond_false): New function.
2766 (foo): Likewise.
2767 (can_relocate_bl): Likewise.
2768 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2769 can_relocate_bl.
2770
2520f728
PMR
27712015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2772
2773 * gdb.base/nested-addr.c: New file.
2774 * gdb.base/nested-addr.exp: New testcase.
2775
abcef95a
MM
27762015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2777
2778 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2779 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2780 its output. Ignore the output of "record goto begin" and instead
2781 check that GDB is replaying.
2782
145e3ddb
PA
27832015-10-09 Pedro Alves <palves@redhat.com>
2784
2785 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2786 (top level): Use it in the run with no args test.
2787
d5d8c4e1
IB
27882015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2789
2790 * gdb.dlang/properties.exp: New file.
2791
06e635ef
SL
27922015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2793
2794 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2795 whether or not address 0x1000 is mapped on the target.
2796
e019fd1d
SM
27972015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2798
2799 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2800 build.
2801
77ba2a67
MM
28022015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2803
2804 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2805 instruction-history test.
2806
c60eb31f
DE
28072015-09-28 Doug Evans <dje@google.com>
2808
2809 * gdb.base/gcore.c (array_func): Add reference to static_array.
2810
9a3c8263
SM
28112015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2812
2813 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2814 source line.
2815
9720e656
SL
28162015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2817
2818 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2819 short or char as base type.
2820
938d3bf2
SL
28212015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2822
2823 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2824 to allow any size enum.
2825
e6c2c623
PMR
28262015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2827
2828 * gdb.ada/array_ptr_renaming.exp: New testcase.
2829 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2830 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2831
06da0f77
PL
28322015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2833
2834 * gdb.trace/ftrace-lock.c: New file.
2835 * gdb.trace/ftrace-lock.exp: New file.
2836
4f51c22a
PL
28372015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2838
2839 * gdb.arch/insn-reloc.c: New file.
2840 * gdb.arch/ftrace-insn-reloc.exp: New file.
2841
7041adf4
PL
28422015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2843
2844 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2845 instruction.
2846 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2847 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2848 * gdb.trace/range-stepping.c: Likewise.
2849 * gdb.trace/trace-break.c: Likewise.
2850 * gdb.trace/trace-mt.c (thread_function): Likewise.
2851 * gdb.trace/ftrace.c (marker): Likewise.
2852 * gdb.trace/trace-condition.c (marker): Likewise.
2853 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2854 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2855 is_aarch64_target.
2856
015d2e7e
DE
28572015-09-18 Doug Evans <xdje42@gmail.com>
2858
2859 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2860 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2861
26b188a2
SL
28622015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2863
2864 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2865 the breakpoint.
2866
79dc332b
SL
28672015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2868
2869 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2870 the pending breakpoint. Remove timeout override for "Run till
2871 MI pending breakpoint on pendfunc3 on thread 2" test.
2872
f57929f2
SL
28732015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2874
2875 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2876 filename pattern.
2877
3f469b17
SL
28782015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2879
2880 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2881 in breakpoint filename pattern.
2882
515b89b3
SL
28832015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2884
7800dbe4
SL
2885 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2886
28872015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2888
515b89b3
SL
2889 * gdb.linespec/explicit.exp: Check for readline support for
2890 tab-completion tests. Fix obvious typo.
2891
d2939ba2
MM
28922015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2893
2894 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2895 and replay.
2896
cbb55fa7
MM
28972015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2898
2899 * gdb.btrace/non-stop.c: New.
2900 * gdb.btrace/non-stop.exp: New.
2901
43691ca1
PL
29022015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2903 Yao Qi <yao.qi@linaro.org>
2904
2905 * gdb.trace/trace-condition.c: New file.
2906 * gdb.trace/trace-condition.exp: New file.
2907
d78908cf
WW
29082015-09-16 Wei-cheng Wang <cole945@gmail.com>
2909
2910 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2911 for testing bytecode compilation.
2912
1ed415e2
PA
29132015-09-16 Pedro Alves <palves@redhat.com>
2914 Sandra Loosemore <sandra@codesourcery.com>
2915
2916 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2917 (SECONDS): Redefine.
2918 (main): Call pthread_kill and alarm early.
2919 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2920 support.
2921 (test): If the target can't hardware step and doesn't support
2922 displaced stepping, increase the timeout.
2923
d136eff5
PA
29242015-09-16 Pedro Alves <palves@redhat.com>
2925
2926 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2927 (enable_debug): New procedures.
2928 (test): Use them. Bail out if waiting for threads fails.
2929 (top level): Bail out if a test fails.
2930
991f019c
YQ
29312015-09-16 Yao Qi <yao.qi@linaro.org>
2932
2933 * gdb.asm/asm-source.exp: Set asm-arch for
2934 aarch64*-*-* target.
2935 * gdb.asm/aarch64.inc: New file.
2936
bfca584f
PMR
29372015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2938
2939 * gdb.ada/array_of_variable_length.exp: New testcase.
2940 * gdb.ada/array_of_variable_length/foo.adb: New file.
2941 * gdb.ada/array_of_variable_length/pck.adb: New file.
2942 * gdb.ada/array_of_variable_length/pck.ads: New file.
2943
b326e587
DE
29442015-09-15 Doug Evans <dje@google.com>
2945
2946 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2947 of function static local variable.
2948
5382cfab
PW
29492015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2950
2951 * gdb.threads/tls-so_extern.exp: New test file.
2952 * gdb.threads/tls-so_extern.c: New test file.
2953 * gdb.threads/tls-so_extern_main.c: New test file.
2954
141c5cc4
JK
29552015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2956
2957 * gdb.opt/solib-intra-step-lib.c: New file.
2958 * gdb.opt/solib-intra-step-main.c: New file.
2959 * gdb.opt/solib-intra-step.exp: New file.
2960
d15dcecd
PA
29612015-09-15 Pedro Alves <palves@redhat.com>
2962
2963 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2964 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2965
4c2f2a79
PA
29662015-09-14 Pedro Alves <palves@redhat.com>
2967
2968 * gdb.base/hook-stop-continue.c: Delete.
2969 * gdb.base/hook-stop-continue.exp: Delete.
2970 * gdb.base/hook-stop-frame.c: Delete.
2971 * gdb.base/hook-stop-frame.exp: Delete.
2972 * gdb.base/hook-stop.c: New file.
2973 * gdb.base/hook-stop.exp: New file.
2974
919e6dbe
PMR
29752015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2976
2977 * gdb.ada/access_to_packed_array.exp: New testcase.
2978 * gdb.ada/access_to_packed_array/foo.adb: New file.
2979 * gdb.ada/access_to_packed_array/pack.adb: New file.
2980 * gdb.ada/access_to_packed_array/pack.ads: New file.
2981
157280a4
MM
29822015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2983
2984 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2985 buffer size test.
2986
2fd33e94
DB
29872015-09-11 Don Breazeal <donb@codesourcery.com>
2988
2989 * gdb.base/foll-exec.c: Add copyright header. Fix
2990 formatting issues.
2991 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2992 (do_exec_tests): Use clean_restart in place of zap_session,
2993 and for test initialization. Fix formatting issues. Use
2994 fail in place of perror.
2995 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2996 an expect statement to match an expression with output from
2997 the program under debug.
2998 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2999 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
3000 * gdb.threads/non-ldr-exc-2.exp: Likewise.
3001 * gdb.threads/non-ldr-exc-3.exp: Likewise.
3002 * gdb.threads/non-ldr-exc-4.exp: Likewise.
3003
e70b6e8e
DE
30042015-09-09 Doug Evans <dje@google.com>
3005
3006 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
3007
7a551a51
DE
30082015-09-09 Doug Evans <dje@google.com>
3009
3010 * gdb.base/pie-execl.exp: Fix result test of build_executable.
3011
4c666f84
DE
30122015-09-09 Doug Evans <dje@google.com>
3013
3014 * gdb.base/savedregs.exp: Fix typo.
3015
243a9253
PA
30162015-09-09 Pedro Alves <palves@redhat.com>
3017
3018 * gdb.mi/mi-cli.exp: Add CLI finish tests.
3019
c0fa8fbd
SL
30202015-09-08 Sandra Loosemore <sandra@codesourcery.com>
3021
3022 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
3023 command actually switches threads. Give up on remaining
3024 tests if target fails to stop at breakpoint.
3025
cd7c1778
PMR
30262015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
3027
3028 * gdb.ada/funcall_char.exp: New testcase.
3029 * gdb.ada/funcall_char/foo.adb: New file.
3030
dc5c8746
PMR
30312015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
3032
3033 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
3034 expected outputs. Add two testcases for completing ambiguous
3035 functions.
3036 * gdb.ada/complete/aux_pck.adb: New file.
3037 * gdb.ada/complete/aux_pck.ads: New file.
3038 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
3039 Ambiguous_Func functions.
3040 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
3041 * gdb.ada/complete/pck.adb: Likewise.
3042
4e83a1e7
UW
30432015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
3044
3045 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
3046 failures to run the test program under GDB.
3047
8ce74153
LM
30482015-08-26 Luis Machado <lgustavo@codesourcery.com>
3049
3050 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
3051 to C.
3052
e9756d52
PP
30532015-08-26 Patrick Palka <patrick@parcs.ath.cx>
3054
3055 * gdb.base/run-after-attach.exp: New test file.
3056 * gdb.base/run-after-attach.c: New test file.
3057
8d37573b
DB
30582015-08-26 Don Breazeal <donb@codesourcery.com>
3059
3060 * gdb.base/foll-exec-2.c: New test program.
3061 * gdb.base/foll-exec-2.exp: New test.
3062
63e43d3a
PMR
30632015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
3064
3065 * gdb.base/nested-subp1.exp: New file.
3066 * gdb.base/nested-subp1.c: New file.
3067 * gdb.base/nested-subp2.exp: New file.
3068 * gdb.base/nested-subp2.c: New file.
3069 * gdb.base/nested-subp3.exp: New file.
3070 * gdb.base/nested-subp3.c: New file.
3071
3d40fbb5
PA
30722015-08-24 Pedro Alves <palves@redhat.com>
3073
3074 * gdb.server/connect-without-multi-process.c: New file.
3075 * gdb.server/connect-without-multi-process.exp: New file.
3076
4422ac93
LM
30772015-08-24 Luis Machado <lgustavo@codesourcery.com>
3078
3079 * gdb.opt/inline-markers.c: Make z int.
3080
91dddb86
LM
30812015-08-24 Luis Machado <lgustavo@codesourcery.com>
3082
3083 * gdb.opt/inline-markers.c: Make z volatile.
3084
a48847ee
LM
30852015-08-24 Luis Machado <lgustavo@codesourcery.com>
3086
3087 * gdb.opt/inline-bt.c: New volatile global z.
3088 * gdb.opt/inline-cmds.c: Likewise.
3089 * gdb.opt/inline-locals.c: Likewise.
3090 * gdb.opt/inline-markers.c: New extern global z.
3091 (marker): Use z.
3092 (inline_fn): Likewise.
3093
0ebbc52b
PA
30942015-08-24 Pedro Alves <palves@redhat.com>
3095
3096 * config/m32r-stub.exp: Remove file.
3097 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
3098 * gdb.base/call-rt-st.exp: Likewise.
3099 * gdb.base/call-strs.exp: Likewise.
3100 * gdb.base/default.exp: Remove references to h8300-*-hms and
3101 *-*-udi*.
3102 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
3103
77c365df
AA
31042015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3105
3106 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
3107 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
3108 and "return" use KFAIL when GDB can not read/write the vector
3109 return value.
3110
4313b8c0
GB
31112015-08-21 Gary Benson <gbenson@redhat.com>
3112
3113 * gdb.trace/pending.exp: Cope with remote transfer warnings.
3114
0e433b32
PA
31152015-08-20 Pedro Alves <palves@redhat.com>
3116
3117 * gdb.server/solib-list.exp: No longer expect an interior stop in
3118 non-stop mode.
3119
221e1a37
PA
31202015-08-20 Pedro Alves <palves@redhat.com>
3121
3122 * gdb.server/connect-stopped-target.c: New file.
3123 * gdb.server/connect-stopped-target.exp: New file.
3124
40e3ad0e
PA
31252015-08-20 Pedro Alves <palves@redhat.com>
3126
3127 * gdb.dwarf2/comp-unit-lang.exp: New file.
3128 * gdb.dwarf2/comp-unit-lang.c: New file.
3129
af39b327
PMR
31302015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
3131
3132 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
3133 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
3134
7d45c7c3 31352015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 3136
7d45c7c3
KB
3137 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
3138 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
3139
4d6cceb4
DE
31402015-08-18 Doug Evans <dje@google.com>
3141 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3142
3143 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
3144 skip_python_tests. New arg prompt_regexp.
3145 (skip_python_tests): New function.
3146 * lib/mi-support.exp (mi_skip_python_tests): New function.
3147 * gdb.python/py-mi-objfile-gdb.py: New file.
3148 * gdb.python/py-mi-objfile.c: New file.
3149 * gdb.python/py-mi-objfile.exp: New file.
3150
ad89c2aa
KS
31512015-08-17 Keith Seitz <keiths@redhat.com>
3152
3153 * gdb.linespec/explicit.exp: Move strace test from here ...
3154 * gdb.trace/strace.exp: ... to here.
3155
e3ae3c43
PP
31562015-08-15 Patrick Palka <patrick@parcs.ath.cx>
3157
3158 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
3159 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
3160
604b2636
DE
31612015-08-14 Doug Evans <xdje42@gmail.com>
3162
3163 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
3164 inferior before selecting a new file.
3165
6ff0ba5f
DE
31662015-08-14 Doug Evans <xdje42@gmail.com>
3167
3168 * gdb.mi/mi-disassemble.exp: Update.
3169 * gdb.base/disasm-optim.S: New file.
3170 * gdb.base/disasm-optim.c: New file.
3171 * gdb.base/disasm-optim.h: New file.
3172 * gdb.base/disasm-optim.exp: New file.
3173
9ca98f92
KS
31742015-08-14 Keith Seitz <keiths@redhat.com>
3175
3176 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
3177 "evaluated-by".
3178
52bbc560
JB
31792015-08-13 Joel Brobecker <brobecker@adacore.com>
3180
3181 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
3182
5d8c3ed3
PMR
31832015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
3184
3185 * gdb.ada/fun_renaming.exp: New testcase.
3186 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
3187 * gdb.ada/fun_renaming/pack.adb: New file.
3188 * gdb.ada/fun_renaming/pack.ads: New file.
3189
ea8812bc
KS
31902015-08-12 Keith Seitz <keiths@redhat.com>
3191
3192 * gdb.base/dso2dso.exp: Pass basename of source file in call to
3193 gdb_get_line_number.
3194
4dafcdeb
JB
31952015-08-12 Joel Brobecker <brobecker@adacore.com>
3196
3197 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
3198 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
3199 gdb.base/dso2dso.exp: New files.
3200
5ba32597
SDJ
32012015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
3202 Pedro Alves <palves@redhat.com>
3203 Keith Seitz <keiths@redhat.com>
3204
3205 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
3206 GDBFLAGS.
3207
b6dafabf
PP
32082015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3209
3210 * gdb.base/gdbhistsize-history.exp
3211 (test_histsize_history_setting): Use save_vars.
3212 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3213 Use save_vars.
3214 (test_no_truncation_of_unlimited_history_file): Use save_vars.
3215 * gdb.base/readline.exp: Use save_vars.
3216
abe8e607
PP
32172015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3218
3219 * lib/gdb.exp (save_vars): New proc.
3220
629500fa
KS
32212015-08-11 Keith Seitz <keiths@redhat.com>
3222
3223 * gdb.base/help.exp: Update help_breakpoint_text.
3224
eb8c4e2e
KS
32252015-08-11 Keith Seitz <keiths@redhat.com>
3226
3227 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3228 (at toplevel): Call test_explicit_breakpoints.
3229 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3230 breakpoints.
3231 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3232 breakpoint conditions, "-cond".
3233
87f0e720
KS
32342015-08-11 Keith Seitz <keiths@redhat.com>
3235
3236 * gdb.linespec/3explicit.c: New file.
3237 * gdb.linespec/cpexplicit.cc: New file.
3238 * gdb.linespec/cpexplicit.exp: New file.
3239 * gdb.linespec/explicit.c: New file.
3240 * gdb.linespec/explicit.exp: New file.
3241 * gdb.linespec/explicit2.c: New file.
3242 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3243 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3244 before using in the matching pattern.
3245 Clarify that `prefix' is a regular expression.
3246
f00aae0f
KS
32472015-08-11 Keith Seitz <keiths@redhat.com>
3248
3249 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3250 test.
3251 Add tests for missing ",FMT" and ",".
3252
e27852be
DE
32532015-08-10 Doug Evans <dje@google.com>
3254 Keith Seitz <keiths@redhat.com>
3255
3256 PR gdb/17960
3257 * gdb.base/completion.exp: Add location completer tests.
3258
7f03bd92
PA
32592015-08-07 Pedro Alves <palves@redhat.com>
3260
3261 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3262 tests here.
3263 (top level): Run do_test with and without displaced stepping.
3264
3fc8eb30
PA
32652015-08-07 Pedro Alves <palves@redhat.com>
3266
3267 * gdb.base/valgrind-disp-step.c: New file.
3268 * gdb.base/valgrind-disp-step.exp: New file.
3269
d4569d7b
PA
32702015-08-07 Pedro Alves <palves@redhat.com>
3271
3272 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
3273 Delete function.
3274 (main): Add alarm. Run an infinite loop instead of calling
3275 wait_threads.
3276 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
3277 comment.
3278 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3279 Delete function.
3280 (main): Add alarm. Run an infinite loop instead of calling
3281 wait_threads.
3282 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3283 comment.
3284
e1316e60
PA
32852015-08-07 Pedro Alves <palves@redhat.com>
3286
3287 * gdb.base/checkpoint-ns.exp: New file.
3288 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3289 standard_testfile.
3290
da8c46d2
MM
32912015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3292
3293 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3294 * gdb.btrace/instruction_history.exp: Update.
3295 * gdb.btrace/tsx.exp: New.
3296 * gdb.btrace/tsx.c: New.
3297
de1c2c52
PA
32982015-08-06 Pedro Alves <palves@redhat.com>
3299
3300 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3301 increase timeout.
3302 * gdb.reverse/until-precsave.exp: Bump timeouts.
3303
782e0bf4
PA
33042015-08-06 Pedro Alves <palves@redhat.com>
3305
3306 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3307
83e97ed0
PA
33082015-08-06 Pedro Alves <palves@redhat.com>
3309
3310 PR gdb/18749
3311 * gdb.threads/process-dies-while-handling-bp.c: New file.
3312 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3313
863d01bd
PA
33142015-08-06 Pedro Alves <palves@redhat.com>
3315
3316 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3317 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3318
0a39bb32
PA
33192015-08-05 Pedro Alves <palves@redhat.com>
3320
3321 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3322 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3323
ee2d2b10
SL
33242015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3325
3326 * gdb.base/bp-permanent.exp: Report test as unsupported if
3327 the target cannot stop at the permanent breakpoint.
3328
4e1bdb00
DE
33292015-08-03 Doug Evans <dje@google.com>
3330
3331 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3332 10000.
3333
3d338901
DE
33342015-08-03 Doug Evans <dje@google.com>
3335
3336 * Makefile.in (workers/%.worker, build-perf): New rule.
3337 (GDB_PERFTEST_MODE): New variable.
3338 (check-perf): Use it.
3339 (clean): Clean up gdb.perf parallel build subdirs.
3340 * lib/build-piece.exp: New file.
3341 * lib/gdb.exp (make_gdb_parallel_path): New function
3342 (standard_output_file, standard_temp_file): Call it.
3343 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3344 of $GDB_PARALLEL.
3345 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3346
af061d3e
DE
33472015-08-03 Doug Evans <dje@google.com>
3348
8e1afc81 3349 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
3350 (LOG_FILE_NAME): New global.
3351 (TextReporter.__init__): Initialize self.txt_sum.
3352 (TextReporter.report): Add support for multiple data-points.
3353 Move report to perftest.sum, put raw data in perftest.log.
3354 (TextReporter.start): Open sum and log files.
3355 (TextReporter.end): Close sum and log files.
8e1afc81
DE
3356 * gdb.perf/lib/perftest/testresult.py
3357 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 3358
2c8c5d37
PA
33592015-07-31 Pedro Alves <palves@redhat.com>
3360
3361 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3362 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3363 kill_wait_spawned_process instead of explicit "kill -9".
3364 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3365 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3366 kill_wait_spawned_process.
3367 * gdb.base/attach-twice.exp: Likewise.
3368 * gdb.base/attach.exp: Likewise.
3369 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3370 gdb_test_multiple.
3371 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3372 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3373 kill_wait_spawned_process.
3374 * gdb.base/valgrind-infcall.exp: Likewise.
3375 * gdb.multi/multi-attach.exp: Likewise.
3376 * gdb.python/py-prompt.exp: Likewise.
3377 * gdb.python/py-sync-interp.exp: Likewise.
3378 * gdb.server/ext-attach.exp: Likewise.
3379 * gdb.threads/attach-into-signal.exp (corefunc): Use
3380 spawn_wait_for_attach, spawn_id_get_pid and
3381 kill_wait_spawned_process.
3382 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3383 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3384 spawn_id_get_pid and kill_wait_spawned_process.
3385 * gdb.threads/attach-stopped.exp (corefunc): Use
3386 spawn_wait_for_attach, spawn_id_get_pid and
3387 kill_wait_spawned_process.
3388 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3389 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3390 kill_wait_spawned_process instead of explicit "kill -9".
3391 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3392 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3393 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3394 processes. Don't map cygwin/windows pids here. Now returns a
3395 spawn id list.
3396
032a0fca
SL
33972015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3398
3399 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3400 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3401 correct patch.
3402
61a934ca
SL
34032015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3404
3405 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3406
4bc4d428
SL
34072015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3408
3409 Reapply:
3410 2014-05-21 Mark Wielaard <mjw@redhat.com>
3411
3412 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3413
998d452a
PA
34142015-07-30 Pedro Alves <palves@redhat.com>
3415
3416 * linux-low.c (handle_extended_wait): Set the child's last
3417 reported status to TARGET_WAITKIND_STOPPED.
3418
69dde7dc
PA
34192015-07-30 Pedro Alves <palves@redhat.com>
3420
3421 PR threads/18600
3422 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3423 only shows inferior 1.
3424
4dd63d48
PA
34252015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3426 Pedro Alves <palves@redhat.com>
3427
3428 PR threads/18600
3429 * gdb.threads/fork-plus-threads.c: New file.
3430 * gdb.threads/fork-plus-threads.exp: New file.
3431
d618e4c5
PP
34322015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3433
3434 * gdb.base/batch-preserve-term-settings.exp
3435 (test_terminal_settings_preserved_after_cli_exit): Use
3436 send_quit_command.
3437
1eef6428
PA
34382015-07-29 Pedro Alves <palves@redhat.com>
3439 Don Breazeal <donb@codesourcery.com>
3440
3441 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3442 output from both inferior_spawn_id and gdb_spawn_id.
3443
7da5b897
SDJ
34442015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3445
3446 * gdb.threads/attach-into-signal.exp (corefunc): Use
3447 with_test_prefix on nested loops, uniquefying the test messages.
3448
dac804df
SDJ
34492015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3450
3451 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3452 commit.
3453
06265e53
PP
34542015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3455
3456 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3457 New proc.
3458 (test_terminal_settings_preserved_after_sigterm): New test.
3459
18206ca3
PP
34602015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3461
3462 * gdb.base/batch-preserve-term-settings.exp
3463 (test_terminal_settings_preserved_after_cli_exit): New test.
3464
90074d11
PP
34652015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3466
3467 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3468 manipulation of saved_gdbflags.
3469 (test_terminal_settings_preserved): Remove global declaration of
3470 the unused variable pagination_prompt. Remove manipulation of
3471 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3472 GDBFLAGS.
3473
eb1a7902
PA
34742015-07-29 Pedro Alves <palves@redhat.com>
3475
3476 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3477
8b75dd3b
PA
34782015-07-29 Pedro Alves <palves@redhat.com>
3479
3480 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3481 at the top.
3482
dedad4e3
PA
34832015-07-29 Pedro Alves <palves@redhat.com>
3484
3485 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3486 (main): Call gdb_unbuffer_output.
3487 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3488 (main): Call gdb_unbuffer_output.
3489 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3490 (main): Call gdb_unbuffer_output.
3491 * gdb.base/call-strs.exp: Adjust to step over the
3492 gdb_unbuffer_output call.
3493 * gdb.base/catch-gdb-caused-signals.c: Include
3494 "../lib/unbuffer_output.c".
3495 (main): Call gdb_unbuffer_output.
3496 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3497 (main): Call gdb_unbuffer_output.
3498 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3499 (main): Call gdb_unbuffer_output.
3500 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3501 (main): Call gdb_unbuffer_output.
3502 * gdb.base/shlib-call.exp: Adjust to step over the
3503 gdb_unbuffer_output call.
3504 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3505 (main): Call gdb_unbuffer_output.
3506 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3507 (main): Call gdb_unbuffer_output.
3508 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3509 (main): Rename to ...
3510 (test): ... this.
3511 (main): Reimplement.
3512 * gdb.base/varargs.exp: Run to test instead of to main.
3513 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3514 (main): Call gdb_unbuffer_output.
3515
58789a91
PA
35162015-07-29 Pedro Alves <palves@redhat.com>
3517
3518 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3519 factore out from mi_continue_dprintf. For call-style dprintfs,
3520 expect dprintf output out of $inferior_spawn_id.
3521 (mi_continue_dprintf): Use mi_expect_dprintf.
3522 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3523 (main): Call gdb_unbuffer_output.
3524
e8376742
PA
35252015-07-29 Pedro Alves <palves@redhat.com>
3526
3527 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3528 (default_mi_gdb_start): Set inferior_spawn_id instead of
3529 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3530 gdb_spawn_id.
3531 (mi_gdb_test): Always expect inferior output from both
3532 $inferior_spawn_id and $gdb_spawn_id.
3533
08280010
PA
35342015-07-29 Pedro Alves <palves@redhat.com>
3535
3536 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3537 send_inferior and $inferior_spawn_id.
3538
4d30e432
PA
35392015-07-29 Pedro Alves <palves@redhat.com>
3540
3541 * gdb.gdb/complaints.exp (test_initial_complaints)
3542 (test_serial_complaints, test_short_complaints): Use
3543 gdb_test_stdio.
3544 (test_empty_complaint): Handle $inferior_spawn_id !=
3545 $gdb_spawn_id.
3546
0d30a335
PA
35472015-07-29 Pedro Alves <palves@redhat.com>
3548
3549 * gdb.base/varargs.exp: Use gdb_test_stdio.
3550
39413b29
PA
35512015-07-29 Pedro Alves <palves@redhat.com>
3552
3553 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3554
7cb000a9
PA
35552015-07-29 Pedro Alves <palves@redhat.com>
3556
3557 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3558
d7b8ac82
PA
35592015-07-29 Pedro Alves <palves@redhat.com>
3560
3561 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3562 parameter into two new parameters, "inf_result" and "gdb_result".
3563 Expect inferior output and gdb output from $inferior_spawn_id and
3564 $gdb_spawn_id, respectively. Adjust all callers.
3565
789c3a0c
PA
35662015-07-29 Pedro Alves <palves@redhat.com>
3567
3568 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3569 of gdb_test_sequence.
3570
77e760c3
PA
35712015-07-29 Pedro Alves <palves@redhat.com>
3572
3573 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3574 (saw_spurious_output): Expect inferior output from
3575 $inferior_spawn_id. Use gdb_test_stdio.
3576
8396d2cd
PA
35772015-07-29 Pedro Alves <palves@redhat.com>
3578
3579 * gdb.base/dprintf.exp: Use standard_testfile. Change
3580 prepare_for_testing call.
3581 (srcfile): Don't set.
3582 (restart): New procedure.
3583 (test_dprintf): New procecure, use to continue over dprintfs.
3584 (test_call, test_agent): New procedures, tests moved here.
3585 Restart gdb and recreate dprintfs. Adjust expected output.
3586
2051d61f
PA
35872015-07-29 Pedro Alves <palves@redhat.com>
3588
3589 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3590
452397af
PA
35912015-07-29 Pedro Alves <palves@redhat.com>
3592
3593 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3594
8aed9555
PA
35952015-07-29 Pedro Alves <palves@redhat.com>
3596
3597 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3598 gdb_test_stdio.
3599
188a61b4
PA
36002015-07-29 Pedro Alves <palves@redhat.com>
3601
3602 * lib/gdb.exp (gdb_test_stdio): New procedure.
3603
12264a45
PA
36042015-07-29 Pedro Alves <palves@redhat.com>
3605
3606 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3607
23ffc893
PA
36082015-07-29 Pedro Alves <palves@redhat.com>
3609
3610 * gdb.base/call-signal-resume.exp: Remove check for
3611 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3612 * gdb.base/unwindonsignal.exp: Likewise.
3613 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3614 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3615
65566918
PA
36162015-07-29 Pedro Alves <palves@redhat.com>
3617
3618 * gdb.base/siginfo-addr.c (pass): New function.
3619 (handler): Call it iff si_addr is correct.
3620 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3621 Set a breakpoint at "pass" and continue to it.
3622
d60a9221
SDJ
36232015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3624
3625 * gdb.python/py-objfile.exp: Make some tests have unique names.
3626 * gdb.python/py-pp-registration.exp: Likewise.
3627
bde40b8f
PA
36282015-07-28 Pedro Alves <palves@redhat.com>
3629
3630 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3631
13e1dec8
SM
36322015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3633
3634 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3635
da33c9a7
SM
36362015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3637
3638 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3639
077836f7
PP
36402015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3641
3642 * gdb.base/gdb-sigterm-2.exp: New test.
3643
b8cc7b2e
DE
36442015-07-25 Doug Evans <xdje42@gmail.com>
3645
3646 Revert:
3647 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3648 (workers/%.worker, build-perf): New rule.
3649 (GDB_PERFTEST_MODE): New variable.
3650 (check-perf): Use it.
3651 (clean): Clean up gdb.perf parallel build subdirs.
3652 * lib/build-piece.exp: New file.
3653 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3654 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3655 name.
3656 (standard_temp_file): Ditto.
3657 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3658 of $GDB_PARALLEL.
3659
c8bd4544
DE
36602015-07-24 Doug Evans <dje@google.com>
3661
3662 * gdb.perf/lib/perftest/utils.py: New file.
3663 * gdb.perf/gm-hello.cc: New file.
3664 * gdb.perf/gm-pervasive-typedef.cc: New file.
3665 * gdb.perf/gm-pervasive-typedef.h: New file.
3666 * gdb.perf/gm-std.cc: New file.
3667 * gdb.perf/gm-std.h: New file.
3668 * gdb.perf/gm-use-cerr.cc: New file.
3669 * gdb.perf/gm-utils.h: New file.
3670 * gdb.perf/gmonster-null-lookup.py: New file.
3671 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3672 * gdb.perf/gmonster-print-cerr.py: New file.
3673 * gdb.perf/gmonster-ptype-string.py: New file.
3674 * gdb.perf/gmonster-runto-main.py: New file.
3675 * gdb.perf/gmonster-select-file.py: New file.
3676 * gdb.perf/gmonster1-null-lookup.exp: New file.
3677 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3678 * gdb.perf/gmonster1-print-cerr.exp: New file.
3679 * gdb.perf/gmonster1-ptype-string.exp: New file.
3680 * gdb.perf/gmonster1-runto-main.exp: New file.
3681 * gdb.perf/gmonster1-select-file.exp: New file.
3682 * gdb.perf/gmonster1.cc: New file.
3683 * gdb.perf/gmonster1.exp: New file.
3684 * gdb.perf/gmonster2-null-lookup.exp: New file.
3685 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3686 * gdb.perf/gmonster2-print-cerr.exp: New file.
3687 * gdb.perf/gmonster2-ptype-string.exp: New file.
3688 * gdb.perf/gmonster2-runto-main.exp: New file.
3689 * gdb.perf/gmonster2-select-file.exp: New file.
3690 * gdb.perf/gmonster2.cc: New file.
3691 * gdb.perf/gmonster2.exp: New file.
3692
6eab34f3
DE
36932015-07-24 Doug Evans <dje@google.com>
3694
3695 * gdb.perf/README: New file.
3696 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3697 * lib/gen-perf-test.exp: New file.
3698
63738bfd
DE
36992015-07-24 Doug Evans <dje@google.com>
3700
3701 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3702 (PerfTest::startup): New function.
3703 (PerfTest::run): Return result of calling body.
3704 (PerfTest::assemble): Rewrite.
3705 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3706 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3707 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3708 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3709 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3710
7b606f95
DE
37112015-07-24 Doug Evans <dje@google.com>
3712
3713 * lib/gdb.exp (clean_restart): Make executable optional.
3714
a97b16b8
DE
37152015-07-24 Doug Evans <dje@google.com>
3716
3717 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3718 compiler_info references.
3719 * gdb.cp/temargs.exp: Ditto.
3720 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3721 (get_compiler_info): Early exit if already computed. Set compiler_info
3722 to "unknown" if there was a problem.
3723 (test_compiler_info): Add function comment. Call get_compiler_info.
3724
35baa57f
DE
37252015-07-24 Doug Evans <dje@google.com>
3726
3727 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3728 (workers/%.worker, build-perf): New rule.
3729 (GDB_PERFTEST_MODE): New variable.
3730 (check-perf): Use it.
3731 (clean): Clean up gdb.perf parallel build subdirs.
3732 * lib/build-piece.exp: New file.
3733 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3734 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3735 name.
3736 (standard_temp_file): Ditto.
3737 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3738 of $GDB_PARALLEL.
3739
6ebea266
DE
37402015-07-24 Doug Evans <dje@google.com>
3741
3742 * lib/future.exp (gdb_default_target_compile): New option
3743 "early_flags".
3744 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3745 --as-needed.
3746
1e76a7e9
SDJ
37472015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3748
3749 * gdb.base/catch-syscall.exp: Call gdb_exit before
3750 gdb_skip_xml_test.
3751
5068630a
PA
37522015-07-24 Pedro Alves <palves@redhat.com>
3753
3754 * gdb.python/py-events.exp: Accept output between the stop event
3755 and the prompt.
3756 * gdb.python/py-evsignal.exp: Likewise.
3757 * gdb.python/py-evthreads.exp: Likewise.
3758
77598427
PA
37592015-07-24 Pedro Alves <palves@redhat.com>
3760
3761 PR gdb/18717
3762 * gdb.threads/non-ldr-exit.c: New file.
3763 * gdb.threads/non-ldr-exit.exp: New file.
3764
11e6c98f
YQ
37652015-07-24 Yao Qi <yao.qi@linaro.org>
3766
3767 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3768 restarting process.
3769
51aee833
YQ
37702015-07-24 Yao Qi <yao.qi@linaro.org>
3771
3772 * gdb.server/ext-restart.exp: New file.
3773
8cfe207c
YQ
37742015-07-24 Yao Qi <yao.qi@linaro.org>
3775
3776 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3777 argument options.
3778 * gdb.server/ext-wrapper.exp: New file.
3779
cc12ce38
DE
37802015-07-23 Doug Evans <dje@google.com>
3781
3782 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3783 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3784
d0d84780
PMR
37852015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3786
3787 * gdb.ada/var_arr_typedef.exp: New testcase.
3788 * gdb.ada/var_arr_typedef/pack.adb: New file.
3789 * gdb.ada/var_arr_typedef/pack.ads: New file.
3790 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3791
8b558f79
JB
37922015-07-20 Joel Brobecker <brobecker@adacore.com>
3793
3794 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3795
775a3298
JK
37962015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3797
3798 * gdb.arch/i386-biarch-core.exp: Replace istarget
3799 by "complete set gnutarget". Remove expectation for the "core-file"
3800 command.
3801
db1ff28b
JK
38022015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3803
3804 Revert the previous commit:
3805 Tests for validate symbol file using build-id.
3806
0a94970d
JK
38072015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3808
3809 Tests for validate symbol file using build-id.
3810 * gdb.base/solib-mismatch-lib.c: New file.
3811 * gdb.base/solib-mismatch-libmod.c: New file.
3812 * gdb.base/solib-mismatch.c: New file.
3813 * gdb.base/solib-mismatch.exp: New file.
3814
03346981
SL
38152015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3816
3817 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3818 nios2-*-linux*.
3819 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3820 * gdb.base/siginfo.exp: Likewise.
3821 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3822
42422cc7
PL
38232015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3824
3825 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3826 Move it to ...
3827 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3828 ... here.
3829 * gdb.trace/range-stepping.exp: Check that the target supports
3830 range stepping.
3831
cfa68bae
JK
38322015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3833
3834 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3835
8ffdba26
PA
38362015-07-14 Pedro Alves <palves@redhat.com>
3837
3838 * gdb.base/killed-outside.exp: New file.
3839 * gdb.base/killed-outside.c: New file.
3840
218a5a11
JK
38412015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3842
3843 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3844 (n at main): New.
3845 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3846
e03ed3c6
AA
38472015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3848
3849 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3850 infcall tests instead of setting up for KFAIL.
3851
485668e5
MM
38522015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3853
3854 * gdb.btrace/record_goto-step.exp: New.
3855
08464196
JK
38562015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3857
3858 PR compile/18484
3859 * gdb.compile/compile.c (struct struct_type): Add volatile to
3860 selffield's type.
3861 * gdb.compile/compile.exp
3862 (compile code struct_object.selffield = &struct_object): Skip further
3863 struct_object tests if this one xfails.
3864
bcf5c1d9
RC
38652015-07-08 Robert O'Callahan <robert@ocallahan.org>
3866
3867 PR exp/18617
3868 * gdb.trace/ax.exp: Add test.
3869
4931af25
YQ
38702015-07-07 Yao Qi <yao.qi@linaro.org>
3871
3872 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3873 instead of istarget "aarch64*-*-*".
3874 * gdb.arch/aarch64-fp.exp: Likewise.
3875 * gdb.base/float.exp: Likewise.
3876 * gdb.reverse/aarch64.exp: Likewise.
3877 * lib/gdb.exp (is_aarch64_target): New proc.
3878
9fcf688e
YQ
38792015-07-07 Yao Qi <yao.qi@linaro.org>
3880
3881 * lib/gdb.exp (is_aarch32_target): New proc.
3882 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3883 instead of "istarget "arm*-*-*"".
3884 * gdb.arch/arm-disp-step.exp: Likewise.
3885 * gdb.arch/thumb-bx-pc.exp: Likewise.
3886 * gdb.arch/thumb-prologue.exp: Likewise.
3887 * gdb.arch/thumb-singlestep.exp: Likewise.
3888 * gdb.base/disp-step-syscall.exp: Likewise.
3889 * gdb.base/float.exp: Likewise.
3890
fbd8d50d
YQ
38912015-07-07 Yao Qi <yao.qi@linaro.org>
3892
3893 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3894 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3895
71be1fdc
YQ
38962015-07-07 Yao Qi <yao.qi@linaro.org>
3897
3898 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3899 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3900 if it exists.
3901 * gdb.multi/multi-arch.exp: Likewise.
3902
3e221d36
SM
39032015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3904
3905 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3906 print.
3907
d441430b
YQ
39082015-07-07 Yao Qi <yao.qi@linaro.org>
3909
3910 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3911
06f810bd
MG
39122015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3913
3914 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3915 '[' and ']' characters.
3916
5e61e7c0
IB
39172015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3918
3919 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3920
28bf096c
PA
39212015-06-29 Pedro Alves <palves@redhat.com>
3922
3923 PR threads/18127
3924 * gdb.threads/hand-call-new-thread.c: New file.
3925 * gdb.threads/hand-call-new-thread.c: New file.
3926
ee93cd5e
KS
39272015-06-26 Keith Seitz <keiths@redhat.com>
3928 Doug Evans <dje@google.com>
3929
3930 PR 16253
3931 * gdb.cp/var-tag-2.cc: New file.
3932 * gdb.cp/var-tag-3.cc: New file.
3933 * gdb.cp/var-tag-4.cc: New file.
3934 * gdb.cp/var-tag.cc: New file.
3935 * gdb.cp/var-tag.exp: New file.
3936
fc637f04
PP
39372015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3938
3939 * gdb.base/history-duplicates.exp: New test.
3940
2e52ae68
PP
39412015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3942
3943 * gdb.base/completion.exp: Test the completion of the "focus"
3944 command.
3945
6e22494e
JK
39462015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3947
3948 * gdb.arch/amd64-prologue-skip.S: New file.
3949 * gdb.arch/amd64-prologue-skip.exp: New file.
3950
bf7b9cd9
SM
39512015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3952
3953 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3954 is_address_zero_readable check.
3955
201e8dfd
PB
39562015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3957
3958 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3959 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3960
5cd867b4
YQ
39612015-06-24 Yao Qi <yao.qi@linaro.org>
3962
3963 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3964 linux targets.
3965
4d7be007
YQ
39662015-06-24 Yao Qi <yao.qi@linaro.org>
3967
3968 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3969 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3970 * gdb.base/siginfo-thread.exp: Likewise.
3971
07fcd301
YQ
39722015-06-22 Yao Qi <yao.qi@linaro.org>
3973
3974 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3975
52042a00
YQ
39762015-06-22 Yao Qi <yao.qi@linaro.org>
3977
3978 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3979 aarch64*-*-*.
3980 (skip_hw_watchpoint_tests): Likewise.
3981
74bd41ce
PP
39822015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3983
3984 * gdb.base/gdbinit-history.exp: Test the interaction between
3985 setting GDBHISTSIZE and setting the history size via .gdbinit.
3986
bc460514
PP
39872015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3988
3989 PR gdb/16999
3990 * gdb.base/gdbhistsize-history.exp: New test.
3991
b58c513b
PP
39922015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3993
3994 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3995 with GDBHISTSIZE.
3996 * gdb.base/readline.exp: Likewise.
3997
92046791
YQ
39982015-06-17 Yao Qi <yao.qi@linaro.org>
3999
4000 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
4001 line.
4002
2093d2d3
PP
40032015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4004
4005 * gdb.base/gdbinit-history.exp: Add test case to check that
4006 an unlimited history file does not get truncated on exit.
4007
e6c693af
AA
40082015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4009
4010 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
4011 (VECTOR): New macro. Use it...
4012 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
4013 ...for these typedefs.
4014 (int8, char1, int1, double1): New typedefs.
4015 (struct just_int2, struct two_int2): New structures.
4016 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
4017 (add_structvecs, add_singlevecs): New functions.
4018 (main): Call add_some_intvecs twice.
4019 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
4020 the compile and exit upon failure. Try compiling for the "native"
4021 architecture. Test inferior function calls with vector arguments
4022 and vector return value handling with "finish" and "return".
4023
c74f7d1c
JT
40242015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
4025
4026 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
4027 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
4028 PE file.
4029 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
4030
98aa42ee
AT
40312015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
4032
4033 PR breakpoints/16465
4034 * gdb.mi/mi-dprintf-pending.c: New file.
4035 * gdb.mi/mi-dprintf-pending.exp: New test.
4036 * gdb.mi/mi-dprintf-pendshr.c: New file.
4037
7d73c23c 40382015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 4039 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
4040
4041 * gdb.arch/i386-mpx-map.c: New file.
4042 * gdb.arch/i386-mpx-map.exp: New File.
4043
40442015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4045
4046 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
4047 * gdb.arch/i386-mpx.exp: Indentation fixed.
4048
40492015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4050
4051 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
4052 function and improved indentation.
4053 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
4054 gdb_test_multiple. Added additional tests to skip the test.
4055
40562015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4057
4058 * gdb.arch/i386-avx512.c: Change path in include file.
4059 * gdb.arch/i386-avx512.exp: Change include dir path
4060 compilation flag.
4061 * gdb.arch/i386-mpx.c: Change path in include file.
4062 * gdb.arch/i386-mpx.exp: Change include dir path compilation
4063 flag.
4064
d5eba19a
JK
40652015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4066
4067 * gdb.compile/compile-print.exp (compile print *vararray@3)
4068 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
4069
7f361056
JK
40702015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4071
4072 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
4073 (do not keep jit in memory): ... this.
4074 (expect 5): Change it to ...
4075 (expect no 5): ... this.
4076
3b462ec2
SM
40772015-06-02 Simon Marchi <simon.marchi@ericsson.com>
4078
4079 PR gdb/15564
4080 * gdb.mi/mi-detach.exp: New file.
4081
e0619de6
JK
40822015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4083
4084 PR symtab/18392
4085 * gdb.arch/amd64-tailcall-self.S: New file.
4086 * gdb.arch/amd64-tailcall-self.c: New file.
4087 * gdb.arch/amd64-tailcall-self.exp: New file.
4088
e970cb34
DB
40892015-05-28 Don Breazeal <donb@codesourcery.com>
4090
4091 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
4092 tests for remote targets by checking is_target_gdbserver.
4093
b2e2f908
DE
40942015-05-27 Doug Evans <dje@google.com>
4095
4096 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
4097 * gdb.dwarf2/opaque-type-lookup.c: New file.
4098 * gdb.dwarf2/opaque-type-lookup.exp: New file.
4099
82c7be31
DE
41002015-05-26 Doug Evans <dje@google.com>
4101
4102 * gdb.cp/iostream.cc: New file.
4103 * gdb.cp/iostream.exp: New file.
4104
b4f54984
DE
41052015-05-26 Doug Evans <dje@google.com>
4106
4107 * gdb.dwarf2/dw2-op-call.exp: Update.
4108 * gdb.dwarf2/dw4-sig-types.exp: Update.
4109 * gdb.dwarf2/implptr.exp: Update.
4110 * gdb.mi/mi-cmd-param-changed.exp: Update.
4111
4ea6efe9
DE
41122015-05-26 Doug Evans <dje@google.com>
4113
4114 * gdb.python/py-lazy-string.c: New file.
4115 * gdb.python/py-lazy-string.exp: New file.
4116 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
4117 (main): Update. Add estring3.
4118 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
4119 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
4120
f6bb7db3
YQ
41212015-05-26 Omair Javaid <omair.javaid@linaro.org>
4122 Yao Qi <yao.qi@linaro.org>
4123
4124 * gdb.reverse/aarch64.c: New.
4125 * gdb.reverse/aarch64.exp: New.
4126
a81bfbd0
OJ
41272015-05-26 Omair Javaid <omair.javaid@linaro.org>
4128
25d49b86
PA
4129 * lib/gdb.exp (supports_process_record): Return true for
4130 aarch64*-linux*.
a81bfbd0
OJ
4131 (supports_reverse): Likewise.
4132
158bf1b4
PP
41332015-05-22 Patrick Palka <patrick@parcs.ath.cx>
4134
4135 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4136 Use with_test_prefix.
4137
a0145030
AB
41382015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
4139
4140 * gdb.base/completion.exp: Add test for completion of layout
4141 names.
4142
ebe3b578
AB
41432015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
4144
4145 * lib/gdb.exp (skip_tui_tests): New proc.
4146 * gdb.base/tui-layout.exp: Check skip_tui_tests.
4147
84204ed7
PA
41482015-05-19 Pedro Alves <palves@redhat.com>
4149
4150 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4151 Save the whole env array instead of just HOME. Unset HISTSIZE in
4152 the environment while testing. Restore whole environment
4153 afterwards.
4154
37442ce1
DE
41552015-05-16 Doug Evans <xdje42@gmail.com>
4156
4157 * gdb.guile/scm-ports.c: New file.
4158 * gdb.guile/scm-ports.exp: Add memory port tests.
4159
36de76f9
JK
41602015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4161
4162 * gdb.compile/compile-print.c: New file.
4163 * gdb.compile/compile-print.exp: New file.
4164
3a9558c4
JK
41652015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4166
4167 * gdb.compile/compile-ops.exp: Cast param to void.
4168 * gdb.compile/compile.exp: Complete type for _gdb_expr.
4169 (compile code struct_object.selffield = &struct_object): Add xfail.
4170
aa715135
JG
41712015-05-15 Joel Brobecker <brobecker@adacore.com>
4172
4173 * gdb.ada/arr_enum_with_gap: New testcase.
4174
931e5bc3
JG
41752015-05-15 Joel Brobecker <brobecker@adacore.com>
4176
4177 * gdb.ada/byte_packed_arr: New testcase.
4178
9cd4d857
JB
41792015-05-15 Joel Brobecker <brobecker@adacore.com>
4180
4181 * gdb.ada/pckd_neg: New testcase.
4182
ebfd00d2
PP
41832015-05-13 Patrick Palka <patrick@parcs.ath.cx>
4184
4185 PR gdb/17820
4186 * gdb.base/gdbinit-history.exp: New test.
4187 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
4188 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
4189
4c082a81
SC
41902015-05-09 Siva Chandra Reddy <sivachandra@google.com>
4191
4192 * gdb.python/py-xmethods.cc: Enhance test case.
4193 * gdb.python/py-xmethods.exp: New tests.
4194 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
4195 function.
4196 (B_indexoper): Likewise.
4197 (global_dm_list) : Add new xmethod worker functions.
4198
f7797074
SDJ
41992015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
4200
4201 * gdb.base/coredump-filter.exp: Correctly unset
4202 "coredump_var_addr" array.
4203
a4674e4e
PA
42042015-05-08 Pedro Alves <palves@redhat.com>
4205
4206 * gdb.server/non-existing-program.exp: Unset spawn_id.
4207
df2eb078
SC
42082015-05-08 Siva Chandra Reddy <sivachandra@google.com>
4209
4210 PR python/18291
4211 * gdb.python/py-xmethods.exp: Add tests.
4212
422349a3
YQ
42132015-05-08 Yao Qi <yao.qi@linaro.org>
4214
4215 PR gdb/18208
4216 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
4217 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
4218 function set_coredump_filter, and remove remote_exec call.
4219 Remove argument ipid. Callers update.
4220 (top level): Don't get inferior's PID.
4221
63fc80ce
AA
42222015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4223
4224 * gdb.base/watch_thread_num.exp: Skip test on targets without
4225 access watchpoints.
4226
80ad801e
PA
42272015-05-06 Pedro Alves <palves@redhat.com>
4228
4229 PR server/18081
4230 * gdb.server/non-existing-program.exp: New file.
4231
0fa7fe50
JB
42322015-05-05 Joel Brobecker <brobecker@adacore.com>
4233
4234 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4235
3ea89b92
PMR
42362015-05-05 Joel Brobecker <brobecker@adacore.com>
4237
4238 * gdb.ada/out_of_line_in_inlined: New testcase.
4239
87b8eff0
JB
42402015-05-05 Joel Brobecker <brobecker@adacore.com>
4241
4242 * gdb.ada/var_rec_arr: New testcase.
4243
5fccc635
YQ
42442015-04-30 Yao Qi <yao.qi@linaro.org>
4245
4246 * gdb.base/break-idempotent.exp: If
4247 skip_hw_watchpoint_multi_tests returns true, skip the tests
4248 on "rwatch" and "awatch".
4249
42d38f42
YQ
42502015-04-30 Yao Qi <yao.qi@linaro.org>
4251
4252 * gdb.base/relativedebug.exp: Invoke gdb command
4253 "info sharedlibrary", and if libc.so doesn't have debug info,
4254 skip the test.
4255
2ce1cdbf
DE
42562015-04-29 Doug Evans <dje@google.com>
4257
4258 * gdb.python/py-xmethods.exp: Add ptype tests.
4259 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4260 get_result_type method.
4261
f24a38c5
LM
42622015-04-29 Luis Machado <lgustavo@codesourcery.com>
4263
4264 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4265 the target does not support hardware watchpoints.
4266
ecbf2b3c
LM
42672015-04-29 Luis Machado <lgustavo@codesourcery.com>
4268
4269 * gdb.base/break-always.exp: Abort testing if writing to memory
4270 causes an error.
4271
34f5f757
DE
42722015-04-28 Doug Evans <dje@google.com>
4273
4274 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4275 * gdb.python/py-pp-registration.exp: ... here. New file.
4276 * gdb.python/py-pp-registration.c: New file.
4277 * gdb.python/py-pp-registration.py: New file.
4278
69b4374a
DE
42792015-04-28 Doug Evans <dje@google.com>
4280
4281 * gdb.python/py-bad-printers.c: New file.
4282 * gdb.python/py-bad-printers.py: New file.
4283 * gdb.python/py-bad-printers.exp: New file.
4284
59fb7612
SS
42852015-04-28 Sasha Smundak <asmundak@google.com>
4286
4287 * gdb.python/py-type.exp: New test.
4288
2631b16a
AW
42892015-04-28 Andy Wingo <wingo@igalia.com>
4290
4291 * gdb.python/py-parameter.exp:
4292 * gdb.guile/scm-parameter.exp: Escape the path that we are
4293 matching against, as it might contain characters that are special
4294 to regular expressions.
4295
460efde1
JB
42962015-04-27 Joel Brobecker <brobecker@adacore.com>
4297
4298 * gdb.ada/rec_comp: New testcase.
4299
2d369d8e
SDJ
43002015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4301
4302 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4303 before using it.
4304
cf75d6c3
AB
43052015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4306
4307 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4308 new tests for verilog output.
4309
8dbe7ca5
YQ
43102015-04-24 Yao Qi <yao.qi@linaro.org>
4311
4312 * boards/remote-gdbserver-on-localhost.exp: New file.
4313
4ef9fb2f
PA
43142015-04-23 Pedro Alves <palves@redhat.com>
4315
4316 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4317 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4318 "end of file", remove $inferior_spawn_id from the indirect list.
4319
0a803169
PA
43202015-04-23 Pedro Alves <palves@redhat.com>
4321
4322 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4323
749ef8f8
PA
43242015-04-23 Pedro Alves <palves@redhat.com>
4325
4326 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4327 on $any_spawn_id instead of only on $gdb_spawn_id.
4328
8aae4344
PM
43292015-04-21 Pierre Muller <muller@sourceware.org>
4330
4331 PR pascal/17815
4332 * lib/pascal.exp (gpc_compile): Add new option "class".
4333 (fpc_compile): Likewise.
4334 * gdb.pascal/case-insensitive-symbols.pas: New file.
4335 * gdb.pascal/case-insensitive-symbols.exp: New file.
4336
1586c8fb
GB
43372015-04-20 Gary Benson <gbenson@redhat.com>
4338
4339 * gdb.base/attach.exp: Fix three extended remote failures.
4340
1b6e6f5c
GB
43412015-04-17 Gary Benson <gbenson@redhat.com>
4342
4343 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4344 the main executable over the remote protocol.
4345
e797481d
PA
43462015-04-16 Pedro Alves <palves@redhat.com>
4347
4348 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4349 a new gdbserver if gdbserver_reconnect_p is set.
4350
1ca99c42
PA
43512015-04-16 Pedro Alves <palves@redhat.com>
4352
4353 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4354 is set, don't exit gdbserver.
4355
af9fd6f8
AA
43562015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4357
4358 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4359 appropriate .insn, such that an older assembler can be used.
4360 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4361 the z/Architecture instruction set on 31-bit targets as well.
4362
04ff1e61
AA
43632015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4364
4365 * gdb.go/handcall.exp: Remove all logic related to the first
4366 breakpoint and rely on go_runto_main instead.
4367 * gdb.go/strings.exp: Likewise.
4368 * gdb.go/unsafe.exp: Likewise.
4369 * gdb.go/hello.exp: Likewise. Also rename the remaining
4370 breakpoint marker to "breakpoint 1".
4371 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4372 * gdb.go/strings.go: Likewise.
4373 * gdb.go/unsafe.go: Likewise.
4374 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4375 "set breakpoint 2 here" and rename the remaining breakpoint marker
4376 to "breakpoint 1".
4377
40d2f8d6
SM
43782015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4379
4380 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4381 if itertools.imap is not present.
4382 * gdb.python/py-objfile.exp: Add parentheses.
4383 * gdb.python/py-type.exp: Same.
4384 * gdb.python/py-unwind-maint.py: Same.
4385
8cbc97c6
YQ
43862015-04-15 Yao Qi <yao.qi@linaro.org>
4387
4388 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4389 of ":$ptr_size" and set its form explicitly.
4390
45fd756c
YQ
43912015-04-15 Pedro Alves <palves@redhat.com>
4392 Yao Qi <yao.qi@linaro.org>
4393
4394 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4395 timeout by factor of 4.
4396 (test_regular_watch): Likewise.
4397 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4398 * gdb.reverse/sigall-reverse.exp: Likewise.
4399 * gdb.reverse/until-precsave.exp: Likewise.
4400 * lib/gdb.exp (with_timeout_factor): New proc.
4401 (gdb_expect): Move some code to ...
4402 (get_largest_timeout): ... here. New procedure.
4403
9e811bc3
LM
44042015-04-14 Luis Machado <lgustavo@codesourcery.com>
4405
4406 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4407
0ff6fcb2
LM
44082015-04-13 Luis Machado <lgustavo@codesourcery.com>
4409
4410 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4411 to write to the .text section.
4412
7578d5f7
LM
44132015-04-13 Luis Machado <lgustavo@codesourcery.com>
4414
4415 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4416 Handle the case of targets that do not provide PID information.
4417
2efe15c4
YQ
44182015-04-13 Yao Qi <yao.qi@linaro.org>
4419
4420 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4421 and use expect instead of gdb_expect.
4422
8cd8f2f8
SDJ
44232015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4424
4425 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4426 "coredump_var_addr" to avoid naming conflict with other testcases.
4427
9ee41772
PA
44282015-04-10 Pedro Alves <palves@redhat.com>
4429
4430 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4431 gdb_test_sequence and gdb_assert.
4432
07473109
PA
44332015-04-10 Pedro Alves <palves@redhat.com>
4434
4435 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4436 test messages that don't include the breakpoint address.
4437
de3db44c
YQ
44382015-04-10 Yao Qi <yao.qi@linaro.org>
4439
4440 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4441 false for some offset and width combinations which aren't
4442 supported by linux kernel.
4443
c79d856c
PA
44442015-04-10 Pedro Alves <palves@redhat.com>
4445
4446 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4447 procedure, factored out from ...
4448 (top level): ... here. Add "set displaced-stepping" testing axis.
4449 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4450 parameter "displaced". Use it.
4451 (top level): Use foreach and add "set displaced-stepping" testing
4452 axis.
4453
ebc90b50
PA
44542015-04-10 Pedro Alves <palves@redhat.com>
4455
4456 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4457 Remove comment.
4458 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4459 both the address of the instruction that triggers the watchpoint
4460 and the address of the instruction immediately after, and use
4461 those addresses for the test. Fix comment.
4462
8f572e5c
PA
44632015-04-10 Pedro Alves <palves@redhat.com>
4464
4465 * gdb.base/sigstep.exp (breakpoint_to_handler)
4466 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4467 Test "backtrace" in handler.
4468 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4469 (top level): Add new "displaced" test axis to
4470 breakpoint_to_handler, breakpoint_to_handler_entry and
4471 breakpoint_over_handler.
4472
8d707a12
PA
44732015-04-10 Pedro Alves <palves@redhat.com>
4474
4475 PR gdb/18216
4476 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4477
ef713951
YQ
44782015-04-10 Yao Qi <yao.qi@linaro.org>
4479
4480 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4481 (test_add_rn_pc): New function.
4482 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4483 (top level): Invoke test_add_rn_pc.
4484
906d60cf
PA
44852015-04-10 Pedro Alves <palves@redhat.com>
4486
4487 PR gdb/13858
4488 * gdb.base/step-over-no-symbols.exp: New file.
4489
f2983cc3
AW
44902015-04-09 Andy Wingo <wingo@igalia.com>
4491
4492 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4493 after the Python tests.
4494
6d62641c
SDJ
44952015-04-08 Keith Seitz <keiths@redhat.com>
4496
4497 PR python/16699
4498 * gdb.python/py-completion.exp: New tests for completion.
4499 * gdb.python/py-completion.py (CompleteLimit1): New class.
4500 (CompleteLimit2): Likewise.
4501 (CompleteLimit3): Likewise.
4502 (CompleteLimit4): Likewise.
4503 (CompleteLimit5): Likewise.
4504 (CompleteLimit6): Likewise.
4505 (CompleteLimit7): Likewise.
4506
f3770638
PA
45072015-04-08 Pedro Alves <palves@redhat.com>
4508
4509 PR gdb/18214
4510 PR gdb/18216
4511 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4512 function.
4513 (main): Install it as SIGUSR1 handler.
4514 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4515 parameter. Always use "setup" as prefix. Toggle "set
4516 displaced-stepping" off/on depending on global. Don't switch to
4517 thread 1 here.
4518 (top level): Add displaced stepping "off/on" test axis. Update
4519 "setup" calls. Wrap each subtest with with_test_prefix. Test
4520 continuing with a queued signal in each thread.
4521
4496bed7
PA
45222015-04-08 Pedro Alves <palves@redhat.com>
4523
4524 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4525 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4526 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4527 Return early if running to main fails.
4528 * gdb.trace/while-stepping.exp: Likewise.
4529
b97fde92
PA
45302015-04-07 Pedro Alves <palves@redhat.com>
4531
4532 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4533 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4534 interact with inferior program.
4535
f71c18e7
PA
45362015-04-07 Pedro Alves <palves@redhat.com>
4537
4538 * lib/gdb.exp (inferior_spawn_id): New global.
4539 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4540 spawn id after processing the user code.
4541 (default_gdb_start): Set inferior_spawn_id.
4542 (send_inferior): New procedure.
4543 * lib/gdbserver-support.exp (gdbserver_start): Set
4544 inferior_spawn_id.
4545 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4546
6423214f
PA
45472015-04-07 Pedro Alves <palves@redhat.com>
4548
4549 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4550 * lib/gdbserver-support.exp (gdbserver_start): Make
4551 $server_spawn_id global.
4552 (gdbserver_start): Don't wait for gdbserver's spawn id with
4553 expect_background.
4554 (close_gdbserver): New procedure.
4555 (gdb_exit): Rename the default version and reimplement.
4556
71c0ee8c
PA
45572015-04-07 Pedro Alves <palves@redhat.com>
4558
72f4393d 4559 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
4560 append the substituted item, not the original item.
4561
203bc29b
PA
45622015-04-07 Pedro Alves <palves@redhat.com>
4563
4564 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4565 gdb_expect.
4566
508a3ddf
PA
45672015-04-07 Pedro Alves <palves@redhat.com>
4568
4569 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4570 output appearing once only.
4571
9f6dbe2b
PA
45722015-04-07 Pedro Alves <palves@redhat.com>
4573
4574 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4575 that doesn't expect anything. Return early if running to main
4576 fails.
4577
337532fa
YQ
45782015-04-07 Yao Qi <yao.qi@linaro.org>
4579
4580 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4581 (child_function): Call alarm.
4582 (main): Move call to alarm into the loop.
4583 * gdb.threads/non-stop-fair-events.exp: Build program with
4584 -DTIMEOUT=$timeout.
4585
01b622d4
DE
45862015-04-06 Doug Evans <xdje42@gmail.com>
4587
4588 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4589 Fix dest parameter to board_info.
4590 (fpc_compile): Ditto.
4591 (gdb_compile_pascal): Rename dest arg to destfile.
4592
961f4160
PMR
45932015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4594
4595 * gdb.ada/funcall_ref.exp: New file.
4596 * gdb.ada/funcall_ref/foo.adb: New file.
4597
cafda597
YQ
45982015-04-02 Yao Qi <yao.qi@linaro.org>
4599
4600 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4601 is remote.
4602
fed040c6
GB
46032015-04-02 Gary Benson <gbenson@redhat.com>
4604
4605 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4606
d11916aa
SS
46072015-04-01 Sasha Smundak <asmundak@google.com>
4608
4609 * gdb.python/py-unwind-maint.c: New file.
4610 * gdb.python/py-unwind-maint.exp: New test.
4611 * gdb.python/py-unwind-maint.py: New file.
4612 * gdb.python/py-unwind.c: New file.
4613 * gdb.python/py-unwind.exp: New test.
4614 * gdb.python/py-unwind.py: New test.
4615
a1471180
PA
46162015-04-01 Pedro Alves <palves@redhat.com>
4617
4618 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4619 to fail instead of non-existent $test.
4620
0bbeccb1
PA
46212015-04-01 Pedro Alves <palves@redhat.com>
4622
4623 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4624 GDBFLAGS if not empty.
4625
3c724c8c
PMR
46262015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4627
4628 * gdb.ada/complete.exp: Remove "multi_line".
4629 * gdb.ada/info_exc.exp: Remove "multi_line".
4630 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4631 * gdb.ada/ptype_field.exp: Remove "multi_line".
4632 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4633 * gdb.ada/tagged.exp: Remove "multi_line".
4634 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4635 [multi_line ...]
4636 * gdb.btrace/delta.exp: Likewise.
4637 * gdb.btrace/exception.exp: Likewise.
4638 * gdb.btrace/function_call_history.exp: Likewise.
4639 * gdb.btrace/instruction_history.exp: Likewise.
4640 * gdb.btrace/nohist.exp: Likewise.
4641 * gdb.btrace/record_goto.exp: Likewise.
4642 * gdb.btrace/segv.exp: Likewise.
4643 * gdb.btrace/stepi.exp: Likewise.
4644 * gdb.btrace/tailcall.exp: Likewise.
4645 * gdb.btrace/unknown_functions.exp: Likewise.
4646 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4647 * lib/gdb.exp: Add the "multi_line" helper.
4648
4eec2deb
PA
46492015-04-01 Pedro Alves <palves@redhat.com>
4650
4651 * gdb.threads/tid-reuse.c: New file.
4652 * gdb.threads/tid-reuse.exp: New file.
4653
df8411da
SDJ
46542015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4655
4656 PR corefiles/16092
4657 * gdb.base/coredump-filter.c: New file.
4658 * gdb.base/coredump-filter.exp: Likewise.
4659
6ef37366
PM
46602015-03-27 Petr Machata <pmachata@redhat.com>
4661
4662 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4663 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4664 (Dwarf::assemble): Initialize them.
4665 (Dwarf::lines): New function.
4666
7ec911b0
JT
46672015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4668
4669 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4670 SYMBOL_PREFIX for x86_64-*-cygwin.
4671
ff908ebf
AW
46722015-03-26 Andy Wingo <wingo@igalia.com>
4673
4674 PR symtab/18148
4675 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4676 const_value but not a location.
4677 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4678 location defined in non-main CUs are visible.
4679
6d5f0679
YQ
46802015-03-26 Yao Qi <yao.qi@linaro.org>
4681
4682 PR testsuite/18139
4683 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4684 Add a line number entry for the same line.
4685 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4686 Add a line number entry for the same line.
4687
2898689b
YQ
46882015-03-26 Yao Qi <yao.qi@linaro.org>
4689
4690 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4691 .int 0.
4692 (func): Likewise. Add .Lfunc_1 label.
4693 Use .Lfunc_1 label.
4694 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4695 .int 0.
4696 (func): Likewise.
4697 Use .Lfunc_1 label.
4698
85180498
YQ
46992015-03-26 Yao Qi <yao.qi@linaro.org>
4700
4701 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4702 Call gdb_compile instead to compile each .s files without debug
4703 information.
4704
8aa08a8d
YQ
47052015-03-26 Yao Qi <yao.qi@linaro.org>
4706
4707 * gdb.base/savedregs.exp (process_saved_regs): Make
4708 "Saved registers:" optional in the pattern.
4709
66849923
MM
47102015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4711
4712 * gdb.btrace/next.exp: Merged into step.exp.
4713 * gdb.btrace/finish.exp: Merged into step.exp.
4714 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4715 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4716 "record goto" and checking the exact replay position.
4717 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4718 check for "Recording format" in "info record" output.
4719 * gdb.btrace/record_goto.exp: Choose test file based on target.
4720 * gdb.btrace/x86-record_goto.S: Renamed into ...
4721 * gdb.btrace/x86_64-record_goto.S: ... this.
4722 * gdb.btrace/i686-record_goto.S: New.
4723 * gdb.btrace/x86-tailcall.S: Renamed into ...
4724 * gdb.btrace/x86_64-tailcall.S: ... this.
4725 * gdb.btrace/i686-tailcall.S: New.
4726 * gdb.btrace/x86-tailcall.c: Renamed into ...
4727 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4728 separate statements. Update test.
4729 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4730 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4731 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4732 * gdb.btrace/tailcall.exp: Choose test file based on target.
4733 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4734
11cc1b74
MM
47352015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4736
4737 * gdb.btrace/exception.exp: Increase BTS buffer size.
4738
a25d8bf9
PA
47392015-03-24 Pedro Alves <palves@redhat.com>
4740
4741 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4742
856e7dd6
PA
47432015-03-24 Pedro Alves <palves@redhat.com>
4744
4745 * gdb.threads/schedlock.exp (test_step): No longer expect that
4746 "set scheduler-locking step" with "next" over a function call runs
4747 threads unlocked.
4748
ad235a41
AT
47492015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4750
4751 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4752
15630549
AT
47532015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4754
4755 PR breakpoints/16466
4756 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4757 * gdb.mi/mi-pending.c (thread_func): New function.
4758 (int main): Add threading support required.
4759 * gdb.mi/mi-pending.exp: Add tests for this issue.
4760 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4761 (pendfunc2): Remove stdio dependency.
4762 * gdb.mi/mi-pendshr2.c: New file.
4763
693dca06
KS
47642015-03-23 Keith Seitz <keiths@redhat.com>
4765
4766 * gdb.linespec/keywords.c: New file.
4767 * gdb.linespec/keywords.exp: New file.
4768
7e993ebf
KS
47692015-03-23 Keith Seitz <keiths@redhat.com>
4770
4771 PR gdb/18021
4772 * gdb.dwarf2/staticvirtual.exp: New test.
4773
bc23328c
JK
47742015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4775
4776 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4777 * README: Remove HP-UX and gdb.hp.
4778 (configuration):
4779 * configure: Regenerate.
4780 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4781 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4782 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4783 gdb.hp/gdb.defects/Makefile.
4784 * gdb.hp/Makefile.in: File deleted.
4785 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4786 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4787 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4788 * gdb.hp/gdb.aCC/run.c: File deleted.
4789 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4790 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4791 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4792 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4793 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4794 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4795 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4796 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4797 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4798 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4799 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4800 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4801 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4802 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4803 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4804 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4805 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4806 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4807 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4808 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4809 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4810 * gdb.hp/gdb.compat/average.c: File deleted.
4811 * gdb.hp/gdb.compat/sum.c: File deleted.
4812 * gdb.hp/gdb.compat/xdb.c: File deleted.
4813 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4814 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4815 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4816 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4817 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4818 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4819 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4820 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4821 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4822 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4823 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4824 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4825 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4826 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4827 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4828 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4829 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4830 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4831 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4832 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4833 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4834 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4835 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4836 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4837 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4838 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4839 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4840 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4841 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4842 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4843 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4844 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4845 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4846 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4847 * gdb.hp/tools/odump: File deleted.
4848
8bf3b159
PA
48492015-03-19 Pedro Alves <palves@redhat.com>
4850
4851 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4852 (saw_thread_3): New globals.
4853 (top level): Increment them when an event for the corresponding
4854 thread is seen.
4855 (no thread starvation): New test.
4856
eb54c8bf
PA
48572015-03-19 Pedro Alves <palves@redhat.com>
4858
4859 * gdb.threads/continue-pending-status.c: New file.
4860 * gdb.threads/continue-pending-status.exp: New file.
4861
32d2e5d6
PA
48622015-03-18 Pedro Alves <palves@redhat.com>
4863
4864 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4865 Use gdb_is_target_remote instead of is_remote. Use
4866 gdb_test_multiple instead of gdb_expect. Exit early if
4867 gdb_test_multiple hits its internal matches. Tighten stepi tests
4868 expected output. Fail on exit with any signal, instead of just
4869 SIGILL.
4870
f68f11b7
YQ
48712015-03-18 Yao Qi <yao.qi@linaro.org>
4872
4873 PR tdep/18107
4874 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4875 variable.
4876 * gdb.base/catch-syscall.exp: Don't skip it on
4877 aarch64*-*-linux* target. Remove elements in all_syscalls.
4878 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4879 target.
4880 (setup_all_syscalls): New proc.
4881
ca5fd19b
YQ
48822015-03-16 Yao Qi <yao.qi@linaro.org>
4883
4884 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4885 (top level): Skip tests if valid_addr_p returns false for
4886 $cmd1 or $cmd2.
4887
85642ba0
AW
48882015-03-11 Andy Wingo <wingo@igalia.com>
4889
4890 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4891
e03f9645
YQ
48922015-03-11 Yao Qi <yao.qi@linaro.org>
4893
4894 * gdb.base/catch-syscall.exp: Fix typo in comments.
4895
5d0962b2
YQ
48962015-03-11 Yao Qi <yao.qi@linaro.org>
4897
4898 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4899
b2df3cef
PA
49002015-03-09 Pedro Alves <palves@redhat.com>
4901
4902 * dg-extract-results.py: Delete.
4903
ef878e53
PA
49042015-03-09 Pedro Alves <palves@redhat.com>
4905
4906 Merge dg-extract-results.sh from GCC upstream (r218843).
4907
4908 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4909 * dg-extract-results.sh: Use --text with grep to avoid issues with
4910 binary files. Fall back to cat -v, if that doesn't work.
4911
9494d219
PA
49122015-03-05 Pedro Alves <palves@redhat.com>
4913
4914 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4915
a8d9763a
SM
49162015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4917
4918 * lib/mi-support.exp (mi_expect_interrupt): Accept
4919 alternative event for when in all-stop mode.
4920
be9957b8
PA
49212015-03-04 Pedro Alves <palves@redhat.com>
4922
4923 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4924
d57be0f4 49252015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
4926
4927 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4928
c214c7cf
AA
49292015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4930
4931 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4932 regexps for GDB's current line display, accept a hex address
4933 preceding the line number.
4934
6d74a497
AA
49352015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4936
4937 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4938 the 'arch1' variable for "s390*-linux*" targets.
4939
511aee7c
PA
49402015-03-04 Pedro Alves <palves@redhat.com>
4941
4942 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4943 (main): Pass missing retval argument to pthread_join call.
4944
95e50b27
PA
49452015-03-02 Pedro Alves <palves@redhat.com>
4946
4947 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4948 (top level): Call do_test with non-stop as well.
4949
28054d69
PA
49502015-03-02 Pedro Alves <palves@redhat.com>
4951
4952 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4953 -1.
4954
4fa5d7b4
AA
49552015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4956
4957 * gdb.arch/s390-vregs.exp: New test.
4958 * gdb.arch/s390-vregs.S: New file.
4959
97c18565
PA
49602015-02-27 Pedro Alves <palves@redhat.com>
4961
4962 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4963 call to catch_command_errors.
4964 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4965 catch_command_errors.
4966
a37bfa30
PA
49672015-02-27 Pedro Alves <palves@redhat.com>
4968
4969 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4970 "true" for boolean result.
4971 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4972 prototype of main.
4973
6f98576f
PA
49742015-02-27 Pedro Alves <palves@redhat.com>
4975
4976 * lib/unbuffer_output.c: New file.
4977 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4978 (main): Call gdb_unbuffer_output.
4979
eba5ab56
YQ
49802015-02-27 Yao Qi <yao.qi@linaro.org>
4981
4982 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4983 target.
4984
0def5aaa
DE
49852015-02-26 Doug Evans <dje@google.com>
4986
4987 * gdb.cp/class2.cc (Dbase, D): New classes.
4988 (main): New local delta.
4989 * gdb.cp/class2.exp: Test printing delta.
4990 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4991 (dynbar): New global.
4992 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4993
081a1c2c
JK
49942015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4995
4996 * gdb.compile/compile-ifunc.c: New file.
4997 * gdb.compile/compile-ifunc.exp: New file.
4998
2f41223f
AT
49992015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
5000
5001 * gdb.base/structs.exp: Check for correct struct on finish.
5002
03eddd80
YQ
50032015-02-26 Yao Qi <yao.qi@linaro.org>
5004
5005 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
5006 is zero.
5007
80c57053
JK
50082015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5009
5010 * gdb.arch/cordic.ko.bz2: New file.
5011 * gdb.arch/cordic.ko.debug.bz2: New file.
5012 * gdb.arch/ppc64-symtab-cordic.exp: New file.
5013
21613c12
YQ
50142015-02-25 Yao Qi <yao.qi@linaro.org>
5015
5016 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
5017 aarch64*-*-* target.
5018
d8b901ed
PA
50192015-02-23 Pedro Alves <palves@redhat.com>
5020
5021 * lib/gdb.exp (delete_breakpoints): Rewrite using
5022 gdb_test_multiple.
5023
e5b85ead
PA
50242015-02-23 Pedro Alves <palves@redhat.com>
5025
5026 * gdb.base/info-os.c: Include stdlib.h.
5027
85c3a371
DE
50282015-02-22 Doug Evans <xdje42@gmail.com>
5029
5030 PR symtab/17855
5031 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
5032 is read after symbols have been re-read.
5033 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
5034 * gdb.ada/exec_changed/second.adb (Second): Ditto.
5035
96553a0c
DE
50362015-02-21 Doug Evans <dje@google.com>
5037
5038 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
5039
97a0c697
JK
50402015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5041
5042 PR corefiles/17808
5043 * gdb.arch/i386-biarch-core.core.bz2: New file.
5044 * gdb.arch/i386-biarch-core.exp: New file.
5045
a47cd6e9
PA
50462015-02-21 Pedro Alves <palves@redhat.com>
5047
5048 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
5049 runto_main fails.
5050
c5facdc4
PA
50512015-02-20 Pedro Alves <palves@redhat.com>
5052
5053 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
5054 info probes.
5055
2db9a427
PA
50562015-02-20 Pedro Alves <palves@redhat.com>
5057
5058 * gdb.threads/multi-create-ns-info-thr.exp: New file.
5059
60fb7e9e
PA
50602015-02-20 Pedro Alves <palves@redhat.com>
5061
5062 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
5063 clean_restart before gdb_target_supports_trace.
5064
5c5019c2
PA
50652015-02-20 Pedro Alves <palves@redhat.com>
5066
5067 PR threads/18006
5068 * gdb.threads/clone-thread_db.c: New file.
5069 * gdb.threads/clone-thread_db.exp: New file.
5070
c9587f88
AT
50712015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
5072
5073 PR breakpoints/16812
5074 * gdb.base/catch-gdb-caused-signals.c: New file.
5075 * gdb.base/catch-gdb-caused-signals.exp: New file.
5076
f6a88844
JM
50772015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
5078
5079 * configure: Regenerated.
5080 * configure.ac: Use GDB_AC_TRANSFORM.
5081 * aclocal.m4: sinclude ../transform.m4.
5082
497c491b
JM
50832015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5084
5085 * lib/dtrace.exp: New file.
5086 * gdb.base/dtrace-probe.exp: Likewise.
5087 * gdb.base/dtrace-probe.d: Likewise.
5088 * gdb.base/dtrace-probe.c: Likewise.
5089 * lib/pdtrace.in: Likewise.
5090 * configure.ac: Output variables with the transformed names of
5091 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
5092 * configure: Regenerated.
5093
03e98035
JM
50942015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5095
5096 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
5097 expected message when trying to access $_probe_* convenience
5098 variables while not on a probe.
5099
63cc30e9
JK
51002015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5101
5102 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
5103
0703599a
PA
51042015-02-11 Pedro Alves <pedro@codesourcery.com>
5105
5106 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
5107 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
5108
7e60a48e
DE
51092015-02-10 Doug Evans <xdje42@gmail.com>
5110
5111 * lib/gdb.exp (gdb_load): Always return a result.
5112
01b088bc
PA
51132015-02-10 Pedro Alves <palves@redhat.com>
5114
5115 * gdb.threads/signal-sigtrap.c: New file.
5116 * gdb.threads/signal-sigtrap.exp: New file.
5117
b05ec7a5
AT
51182015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
5119
5120 * gdb.trace/no-attach-trace.c: New file.
5121 * gdb.trace/no-attach-trace.exp: New file.
5122
a2c2acaf
MW
51232015-02-09 Mark Wielaard <mjw@redhat.com>
5124
5125 * gdb.dwarf2/atomic.c: New file.
5126 * gdb.dwarf2/atomic-type.exp: Likewise.
5127
31fd9caa
MM
51282015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5129
5130 * gdb.btrace/buffer-size.exp: Update "info record" output.
5131 * gdb.btrace/delta.exp: Update "info record" output.
5132 * gdb.btrace/enable.exp: Update "info record" output.
5133 * gdb.btrace/finish.exp: Update "info record" output.
5134 * gdb.btrace/instruction_history.exp: Update "info record" output.
5135 * gdb.btrace/next.exp: Update "info record" output.
5136 * gdb.btrace/nexti.exp: Update "info record" output.
5137 * gdb.btrace/step.exp: Update "info record" output.
5138 * gdb.btrace/stepi.exp: Update "info record" output.
5139 * gdb.btrace/nohist.exp: Update "info record" output.
5140
d33501a5
MM
51412015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5142
5143 * gdb.btrace/buffer-size: New.
5144
f4abbc16
MM
51452015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5146
5147 * gdb.btrace/delta.exp: Update "info record" output.
5148 * gdb.btrace/enable.exp: Update "info record" output.
5149 * gdb.btrace/finish.exp: Update "info record" output.
5150 * gdb.btrace/instruction_history.exp: Update "info record" output.
5151 * gdb.btrace/next.exp: Update "info record" output.
5152 * gdb.btrace/nexti.exp: Update "info record" output.
5153 * gdb.btrace/step.exp: Update "info record" output.
5154 * gdb.btrace/stepi.exp: Update "info record" output.
5155 * gdb.btrace/nohist.exp: Update "info record" output.
5156
b9d61307
SM
51572015-02-06 Simon Marchi <simon.marchi@ericsson.com>
5158
5159 PR gdb/15678
5160 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
5161
e584fdbc
PA
51622015-02-06 Pedro Alves <palves@redhat.com>
5163
5164 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
5165 macro.
5166 (seconds_left, again): New globals.
5167 (main): Wait seconds_left in a 1-second sleep loop instead of
5168 sleeping 180 seconds. If 'again' is set, reset the seconds
5169 counter.
5170 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
5171 'again' in the inferior before detaching. Print the seconds left.
5172 (options): New global.
5173 (top level): Build program with -DTIMEOUT=$timeout.
5174
77f41761
PA
51752015-02-06 Pedro Alves <palves@redhat.com>
5176
5177 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
5178 determine how many seconds to pass to 'alarm'.
5179 * gdb.base/gdb-sigterm.exp (top level): Build program with
5180 -DTIMEOUT=$timeout.
5181 (do_test): Return success/failure indication. Add more verbose
5182 logging. Don't fail if 200 single steps are seen. Instead, fail
5183 when the test times out.
5184 (passes): New global.
5185 (top level): Break the testing loop if testing fails on any
5186 iteration. Use gdb_assert.
5187
b9394193
DB
51882015-02-04 Don Breazeal <donb@codesourcery.com>
5189
5190 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
5191 and initialize them.
5192 (ipc_cleanup): New function.
5193 (main): Don't declare shmid, semid, and msqid. Add a call to
5194 atexit so that we call ipc_cleanup on exit.
5195
42d9e528
PA
51962015-02-04 Pedro Alves <palves@redhat.com>
5197
5198 * boards/native-extended-gdbserver.exp: Remove any target variant
5199 specifications from the board name before clearing the isremote
5200 flag from board_info.
5201
ae6ae975
DE
52022015-01-31 Doug Evans <xdje42@gmail.com>
5203
5204 * gdb.base/maint.exp <maint print type argc>: Update expected output.
5205
cfb069a8
GB
52062015-01-31 Gary Benson <gbenson@redhat.com>
5207
5208 * gdb.base/completion.exp: Disable completion limiting for
5209 existing tests. Add new tests to check completion limiting.
5210 * gdb.linespec/ls-errs.exp: Disable completion limiting.
5211
5dd31d79
DE
52122015-01-31 Doug Evans <xdje42@gmail.com>
5213
5214 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
5215
9f050062
DE
52162015-01-31 Doug Evans <xdje42@gmail.com>
5217
5218 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
5219 entries. Duplicate file section script entries.
5220 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
5221 inlined entries. Add test for safe-path rejection.
5222 * gdb.python/py-section-script.c: Add duplicate inlined section script
5223 entries. Duplicate file section script entries.
5224 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5225 inlined entries. Add test for safe-path rejection.
5226
df25ebbd
JB
52272015-01-29 Joel Brobecker <brobecker@adacore.com>
5228
5229 * gdb.ada/disc_arr_bound: New testcase.
5230
4a0ca9ec
JB
52312015-01-29 Joel Brobecker <brobecker@adacore.com>
5232
5233 * gdb.ada/mi_var_array: New testcase.
5234
3a8b707a
DE
52352015-01-27 Doug Evans <dje@google.com>
5236
5237 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5238 Add test for objfile.filename, objfile.username after objfile
5239 has been unloaded.
5240
f8313f6e
JB
52412015-01-26 Joel Brobecker <brobecker@adacore.com>
5242
5243 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5244 the second test to print the name attribute of value
5245 returned by the call to gdb.lookup_type, and adjust
5246 the expected output accordingly.
5247
37bc665e
MW
52482015-01-25 Mark Wielaard <mjw@redhat.com>
5249
5250 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5251 * gdb.base/disp-step-fork.c: Include unistd.h.
5252 * gdb.base/siginfo-obj.c: Include stdio.h.
5253 * gdb.base/siginfo-thread.c: Likewise.
5254 * gdb.mi/non-stop.c: Include unistd.h.
5255 * gdb.mi/nsthrexec.c: Include stdio.h.
5256 * gdb.mi/pthreads.c: Include unistd.h.
5257 * gdb.modula2/unbounded1.c (main): Declare returns int.
5258 * gdb.reverse/consecutive-reverse.c: Likewise.
5259 * gdb.threads/create-fail.c: Include unistd.h.
5260 * gdb.threads/killed.c: Likewise.
5261 * gdb.threads/linux-dp.c: Likewise.
5262 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5263 * gdb.threads/non-ldr-exc-2.c: Likewise.
5264 * gdb.threads/non-ldr-exc-3.c: Likewise.
5265 * gdb.threads/non-ldr-exc-4.c: Likewise.
5266 * gdb.threads/pthreads.c: Include unistd.h.
5267 (main): Declare returns int.
5268 * gdb.threads/tls-main.c (foo): New declaration.
5269 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5270
f7e5394d
SM
52712015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5272
5273 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5274 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5275
743649fd
MW
52762015-01-15 Mark Wielaard <mjw@redhat.com>
5277
5278 * gdb.base/noreturn-return.c: New file.
5279 * gdb.base/noreturn-return.exp: New file.
5280 * gdb.base/noreturn-finish.c: New file.
5281 * gdb.base/noreturn-finish.exp: New file.
5282
198297aa
PA
52832015-01-23 Pedro Alves <palves@redhat.com>
5284
5285 * gdb.threads/continue-pending-after-query.c: New file.
5286 * gdb.threads/continue-pending-after-query.exp: New file.
5287
717cf30c
AG
52882015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5289 Simon Marchi <simon.marchi@ericsson.com>
5290
5291 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5292 * gdb.base/valgrind-db-attach.exp: Same.
5293 * gdb.base/valgrind-infcall.exp: Same.
5294 * lib/mi-support.exp (default_mi_gdb_start): Same.
5295 * lib/prompt.exp (default_prompt_gdb_start): Same.
5296 * lib/gdb.exp (default_gdb_spawn): Same.
5297 (gdb_interact): New.
5298
5299
4b62a76e
JK
53002015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5301
5302 * gdb.compile/compile.exp (pointer to jit function): New test.
5303
b4cdae6f
WW
53042015-01-17 Wei-cheng Wang <cole945@gmail.com>
5305
5306 * lib/gdb.exp (supports_process_record): Return true for
5307 powerpc*-*-linux*.
5308 (supports_reverse): Likewise.
5309
d221e7ef
DB
53102015-01-15 Don Breazeal <donb@codesourcery.com>
5311
5312 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5313 instead of checking whether the target board is remote and
5314 use spawn_wait_for_attach instead of exec/sleep.
5315 * gdb.base/attach-twice.exp: Likewise.
5316
bafffb51
JB
53172015-01-15 Joel Brobecker <brobecker@adacore.com>
5318
5319 * gdb.ada/var_arr_attrs: New testcase.
5320
5589af0e
PA
53212015-01-14 Pedro Alves <palves@redhat.com>
5322 Joel Brobecker <brobecker@adacore.com>
5323
5324 PR gdb/17525
5325 * gdb.base/bp-cmds-execution-x-script.c: New file.
5326 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5327 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5328
6c400b59
PA
53292015-01-14 Pedro Alves <palves@redhat.com>
5330
5331 PR cli/17828
5332 * gdb.base/batch-preserve-term-settings.c: New file.
5333 * gdb.base/batch-preserve-term-settings.exp: New file.
5334
e02c96a7
DE
53352015-01-13 Doug Evans <dje@google.com>
5336
5337 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5338 binary.
5339
576fd14c
JB
53402015-01-13 Joel Brobecker <brobecker@adacore.com>
5341
5342 * Makefile.in (clean mostlyclean): Do not delete *.py.
5343
04dccad0
JB
53442015-01-13 Joel Brobecker <brobecker@adacore.com>
5345
5346 * gdb.python/py-lookup-type.exp: New file.
5347
3d230f71
PA
53482015-01-12 Pedro Alves <palves@redhat.com>
5349
5350 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5351 restore GDBFLAGS before returning.
5352
7e67715d
JK
53532015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5354
5355 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5356 is_amd64_regs_target and is_x86_like_target.
5357
f2e0d4b4
DE
53582015-01-11 Doug Evans <xdje42@gmail.com>
5359
5360 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5361 is given without an explicit form.
5362 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5363 attributes.
5364 * gdb.dwarf/corrupt.exp: Ditto.
5365 * gdb.dwarf2/enum-type.exp: Ditto.
5366 * gdb.trace/entry-values.exp: Ditto.
5367 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5368
439250fb
DE
53692015-01-11 Doug Evans <xdje42@gmail.com>
5370
5371 PR gdb/15830
5372 * gdb.base/maint.exp: Remove references to "maint demangle".
5373 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5374 Add tests for explicitly specifying language to demangle.
5375 * gdb.dlang/demangle.exp: Ditto.
5376
ede9f622
PA
53772015-01-09 Pedro Alves <palves@redhat.com>
5378
5379 * gdb.threads/non-stop-fair-events.c: New file.
5380 * gdb.threads/non-stop-fair-events.exp: New file.
5381
a7b796db
PA
53822015-01-09 Pedro Alves <palves@redhat.com>
5383
5384 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5385 the global scope. Set a breakpoint after all threads are started
5386 rather than stepping over two source lines. Expect the prompt.
5387 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5388 global.
5389 (NUM): Now 15.
5390 (main): Use threads_started_barrier to wait for all threads to
5391 start. Main thread no longer calls thread_function. Exit after
5392 180 seconds.
5393 (loop): New function.
5394 (thread_function): Wait on threads_started_barrier barrier. Call
5395 'loop' at each iteration.
5396 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5397 threads have started, instead of hardcoding number of "next"
5398 steps. Use an access watchpoint instead of a write watchpoint.
5399
9665ffdd
PA
54002015-01-09 Pedro Alves <palves@redhat.com>
5401
5402 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5403 (thread_func): Wait on barrier.
5404 (main): Wait for all threads to start before stopping GDB.
5405 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5406 global.
5407 (thread1_func, thread2_func): Wait on barrier.
5408 (main): Wait for all threads to start before stopping GDB.
5409 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5410 New global.
5411 (thread1_func, thread2_func): Wait on barrier.
5412 (main): Wait for all threads to start before stopping GDB.
5413
c945a99f
PA
54142015-01-09 Pedro Alves <palves@redhat.com>
5415
5416 * gdb.threads/attach-many-short-lived-threads.c: New file.
5417 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5418
c1a747c1
PA
54192014-01-09 Pedro Alves <palves@redhat.com>
5420
5421 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5422 instead of to thread 2.
5423 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5424 Add barrier around each pthread_create call instead of around all
5425 calls.
5426 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5427 Set a break on thread_function and have the child threads hit it
5428 one at at a time.
5429
60b3033e
PA
54302015-01-09 Pedro Alves <palves@redhat.com>
5431
5432 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5433 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5434 false.
5435 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5436 checking whether the target board is remote.
5437 * gdb.multi/multi-attach.exp: Likewise.
5438 * gdb.python/py-sync-interp.exp: Likewise.
5439 * gdb.server/ext-attach.exp: Likewise.
5440 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5441 tests that need to attach, instead of checking whether the target
5442 board is remote at the top of the file.
5443
acc018ac
YQ
54442015-01-08 Yao Qi <yao@codesourcery.com>
5445
5446 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5447
50a18af8
JK
54482015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5449
5450 Fix testcase compilation.
5451 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5452
8503d6e1
JB
54532015-01-06 Joel Brobecker <brobecker@adacore.com>
5454
5455 * gdb.python/py-type.exp: Add a couple test about empty
5456 array creation, and negative-length array creation.
5457
cc73dbcc
DE
54582015-01-02 Doug Evans <xdje42@gmail.com>
5459
5460 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5461
0300bbc7
DE
54622015-01-02 Doug Evans <dje@google.com>
5463
5464 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5465
9d85a0ec
YQ
54662014-12-29 Yao Qi <yao@codesourcery.com>
5467
5468 * gdb.trace/entry-values.exp: Update comments. Rename variable
5469 bar_call_foo to returned_from_foo.
5470
87186c6a
MMN
54712014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5472
5473 PR gdb/17394
5474 * gdb.linespec/break-asm-file.c: New file.
5475 * gdb.linespec/break-asm-file.exp: New file.
5476 * gdb.linespec/break-asm-file0.s: New file.
5477 * gdb.linespec/break-asm-file1.s: New file.
5478
1bab7383
YQ
54792014-12-18 Nigel Stephens <nigel@mips.com>
5480 Maciej W. Rozycki <macro@codesourcery.com>
5481
5482 * gdb.base/float.exp: Handle the new output from "info float" on
5483 MIPS targets.
5484
1bc1068a
JK
54852014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5486
5487 Fix MinGW compilation.
5488 * gdb.compile/compile-ops.exp: Update untested message if
5489 !skip_compile_feature_tests.
5490 * gdb.compile/compile-setjmp.exp: Likewise.
5491 * gdb.compile/compile-tls.exp: Likewise.
5492 * gdb.compile/compile.exp: Likewise.
5493 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5494 supported on this host".
5495
b6615d10
DE
54962014-12-16 Doug Evans <xdje42@gmail.com>
5497
5498 * boards/stabs.exp: New file.
5499
25dda427
AA
55002014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5501
5502 * gdb.base/completion.exp: Adjust to format changes of "maint
5503 print user-registers".
5504
bf330350
CU
55052014-12-16 Catalin Udma <catalin.udma@freescale.com>
5506
5507 PR server/17457
5508 * gdb.arch/aarch64-fp.c: New file.
5509 * gdb.arch/aarch64-fp.exp: New file.
5510
395cf596
SDJ
55112014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5512
5513 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5514 r210637, r210913, r211666, r215400, r215817).
5515
5516 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5517 * dg-extract-results.py: New file.
5518 * dg-extract-results.sh: Use it if the environment seems
5519 suitable.
5520
5521 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5522
5523 * dg-extract-results.py (parse_run): Handle warnings that
5524 are printed before a test harness is run.
5525
5526 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5527
5528 * dg-extract-results.py (Named): Remove __cmp__ method.
5529 (output_variation): Use a key to sort variation.harnesses.
5530
5531 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5532
5533 * dg-extract-results.py: For Python 3, force sys.stdout to
5534 handle surrogate escape sequences.
5535 (safe_open): New function.
5536 (output_segment, main): Use it.
5537
5538 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5539
5540 * dg-extract-results.py (Prog.result_re): Include options
5541 in test name.
5542
5543 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5544
5545 * dg-extract-results.py (output_variation): Always sort if
5546 do_sum.
5547
e882ef3c
SM
55482014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5549
5550 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5551 as long as we get pagination notifications.
5552
4992aa20
JM
55532014-12-15 Jason Merrill <jason@redhat.com>
5554
5555 * Makefile.in (check-gdb.%): Restore.
5556 * README: Mention it.
5557
c1b5a1a6
JB
55582014-12-13 Joel Brobecker <brobecker@adacore.com>
5559
5560 * gdb.ada/str_uninit: New testcase.
5561
5537b577
JK
55622014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5563
5564 PR symtab/17642
5565 * gdb.base/vla-stub-define.c: New file.
5566 * gdb.base/vla-stub.c: New file.
5567 * gdb.base/vla-stub.exp: New file.
5568
bb2ec1b3
TT
55692014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5570 Jan Kratochvil <jan.kratochvil@redhat.com>
5571 Tom Tromey <tromey@redhat.com>
5572
5573 * configure.ac: Add gdb.compile/.
5574 * configure: Regenerate.
5575 * gdb.compile/Makefile.in: New file.
5576 * gdb.compile/compile-ops.exp: New file.
5577 * gdb.compile/compile-ops.c: New file.
5578 * gdb.compile/compile-tls.c: New file.
5579 * gdb.compile/compile-tls.exp: New file.
5580 * gdb.compile/compile-constvar.S: New file.
5581 * gdb.compile/compile-constvar.c: New file.
5582 * gdb.compile/compile-mod.c: New file.
5583 * gdb.compile/compile-nodebug.c: New file.
5584 * gdb.compile/compile-setjmp-mod.c: New file.
5585 * gdb.compile/compile-setjmp.c: New file.
5586 * gdb.compile/compile-setjmp.exp: New file.
5587 * gdb.compile/compile-shlib.c: New file.
5588 * gdb.compile/compile.c: New file.
5589 * gdb.compile/compile.exp: New file.
5590 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5591
4ff709eb
TT
55922014-12-12 Tom Tromey <tromey@redhat.com>
5593
5594 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5595 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5596
6dddd6a5
DE
55972014-12-12 Doug Evans <dje@google.com>
5598
5599 * lib/gdb-python.exp (get_python_valueof): New function.
5600 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5601
71c24708
AA
56022014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5603
5604 * gdb.base/completion.exp: Add test for completion of "info
5605 registers ".
5606
3e29f34a
MR
56072014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5608
5609 * gdb.base/func-ptrs.c: New file.
5610 * gdb.base/func-ptrs.exp: New file.
5611
fc126975
SM
56122014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5613
5614 PR breakpoints/17012
5615 * gdb.base/dprintf-detach.c: New file.
5616 * gdb.base/dprintf-detach.exp: New file.
5617
0a46d518
SM
56182014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5619
5620 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5621 * lib/gdb.exp (target_is_gdbserver): New procedure.
5622
a0be3e44
DE
56232014-12-08 Doug Evans <dje@google.com>
5624
5625 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5626
df1b803a
YQ
56272014-12-05 Yao Qi <yao@codesourcery.com>
5628
5629 * gdb.guile/scm-error.exp: Remove the third argument to
5630 gdb_remote_download.
5631 * gdb.guile/scm-frame-args.exp: Likewise.
5632 * gdb.guile/scm-section-script.exp: Likewise.
5633
ddb9f679
YQ
56342014-12-05 Yao Qi <yao@codesourcery.com>
5635
5636 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5637
86e4ed39
DE
56382014-12-04 Doug Evans <dje@google.com>
5639
5640 * gdb.python/py-objfile.exp: Add tests for
5641 objfile.add_separate_debug_file.
5642
7c50a931
DE
56432014-12-04 Doug Evans <dje@google.com>
5644
5645 * lib/gdb.exp (get_build_id): New function.
5646 (build_id_debug_filename_get): Rewrite to use it.
5647 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5648
621661e3
MR
56492014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5650
5651 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5652 `method(long)', not just 0x0.
5653 * gdb.cp/nsalias.exp: Align code labels to 4.
5654 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5655 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5656 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5657 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5658 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5659 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5660
29f0c3b7
DE
56612014-12-02 Doug Evans <dje@google.com>
5662
e1e061e7 5663 PR symtab/17602
29f0c3b7 5664 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 5665 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
5666 * gdb.cp/anon-ns.exp: Update.
5667
162078c8
NB
56682014-12-02 Nick Bull <nicholaspbull@gmail.com>
5669
5670 * gdb.python/py-events.py (inferior_call_handler): New.
5671 (register_changed_handler, memory_changed_handler): New.
5672 (test_events.invoke): Register new handlers.
5673 * gdb.python/py-events.exp: Add tests for inferior call,
5674 memory_changed and register_changed events.
5675
fdb09caf
AA
56762014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5677
5678 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5679 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5680 if the linker doesn't understand this.
5681
55cfb2c4
SM
56822014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5683
5684 * gdb.python/python.exp: Change expected reply to help().
5685
9e8cd6df
YQ
56862014-12-01 Yao Qi <yao@codesourcery.com>
5687
5688 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5689 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5690 * configure: Re-generated.
5691
6c659fc2
SC
56922014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5693
5694 * gdb.cp/chained-calls.cc: New file.
5695 * gdb.cp/chained-calls.exp: New file.
5696 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5697
d7fc3181
SM
56982014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5699
5700 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5701 * gdb.dwarf2/symtab-producer.exp: Same.
5702 * gdb.gdb/python-interrupts.exp: Same.
5703 * gdb.gdb/python-selftest.exp: Same.
5704 * gdb.python/py-linetable.exp: Same.
5705 * gdb.python/py-type.exp: Same.
5706 * gdb.python/py-value-cc.exp: Same.
5707 * gdb.python/py-value.exp: Same.
5708
10e79639
YQ
57092014-11-28 Yao Qi <yao@codesourcery.com>
5710
5711 * gdb.base/break-probes.exp: Match library name prefixed with
5712 sysroot.
5713
f28a0564
SM
57142014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5715
5716 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5717 test expected output. Add parentheses for the call to print.
5718 Remove L suffix from integers.
5719
3fe1ce1d
DE
57202014-11-26 Doug Evans <dje@google.com>
5721
5722 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5723
84429e27
YQ
57242014-11-22 Yao Qi <yao@codesourcery.com>
5725
5726 * gdb.trace/entry-values.c: Remove asms.
5727 (foo): Add foo_label.
5728 (bar): Add bar_label.
5729 * gdb.trace/entry-values.exp: Remove code computing foo's
5730 length and bar's length.
5731 (Dwarf::assemble): Invoke function_range for bar and use
5732 MACRO_AT_func for foo.
5733
26741859
YQ
57342014-11-22 Yao Qi <yao@codesourcery.com>
5735
5736 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5737 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5738 Use .Lgcc43_procstart instead of gcc43.
5739
45e44d27
JB
57402014-11-21 Joel Brobecker <brobecker@adacore.com>
5741
5742 * gdb.ada/n_arr_bound: New testcase.
5743
458c8db8
SDJ
57442014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5745
5746 PR breakpoints/10737
5747 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5748 test_catch_syscall_multi_arch.
5749 (test_catch_syscall_multi_arch): New function.
5750
43f3e411
DE
57512014-11-20 Doug Evans <xdje42@gmail.com>
5752
5753 * gdb.base/maint.exp: Update expected output.
5754
0d7b2549
AA
57552014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5756
5757 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5758 4-byte instruction on S390.
5759
8908fca5
JB
57602014-11-19 Joel Brobecker <brobecker@adacore.com>
5761
5762 * gdb.ada/arr_arr: New testcase.
5763
4a46959e
JB
57642014-11-19 Joel Brobecker <brobecker@adacore.com>
5765
5766 * gdb.ada/pkd_arr_elem: New Testcase.
5767
470e2f4e
LM
57682014-11-18 Luis Machado <lgustavo@codesourcery.com>
5769
5770 * gdb.reverse/break-precsave: Expect completion message for
5771 core file reads.
5772 * gdb.reverse/consecutive-precsave.exp: Likewise.
5773 * gdb.reverse/finish-precsave.exp: Likewise.
5774 * gdb.reverse/i386-precsave.exp: Likewise.
5775 * gdb.reverse/machinestate-precsave.exp: Likewise.
5776 * gdb.reverse/sigall-precsave.exp: Likewise.
5777 * gdb.reverse/solib-precsave.exp: Likewise.
5778 * gdb.reverse/step-precsave.exp: Likewise.
5779 * gdb.reverse/until-precsave.exp: Likewise.
5780 * gdb.reverse/watch-precsave.exp: Likewise.
5781
a267f3ad
AA
57822014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5783
5784 * gdb.base/bp-permanent.c: Include unistd.h.
5785 * gdb.python/py-framefilter-mi.c (main): Add return type.
5786 * gdb.python/py-framefilter.c (main): Likewise.
5787 * gdb.trace/actions-changed.c (main): Likewise.
5788
12084a9a
AA
57892014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5790
5791 * gdb.mi/until.c: Add eye-catchers.
5792 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5793 line numbers.
5794
dc7e1a77
AA
57952014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5796
5797 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5798 function header variants in break1.c.
5799 * gdb.base/ena-dis-br.exp: Likewise.
5800 * gdb.base/hbreak2.exp: Likewise.
5801 * gdb.reverse/until-precsave.exp: Drop references to removed
5802 non-prototype function header variants in ur1.c.
5803 * gdb.reverse/until-reverse.exp: Likewise.
5804
41c77605
PM
58052014-11-17 Petr Machata <pmachata@redhat.com>
5806
5807 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5808 ${_cu_offset_size} bytes abbrev offset.
5809
34248c3a
DE
58102014-11-15 Doug Evans <xdje42@gmail.com>
5811
5812 PR symtab/17559
5813 * gdb.base/line-symtabs.exp: New file.
5814 * gdb.base/line-symtabs.c: New file.
5815 * gdb.base/line-symtabs.h: New file.
5816
646da059
YQ
58172014-11-14 Yao Qi <yao@codesourcery.com>
5818
5819 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5820 (func): Add label func_label.
5821 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5822 Replace low_pc and high_pc with MACRO_AT_range.
5823 Replace name, low_pc and high_pc with MACRO_AT_func.
5824
9301ebe6
YQ
58252014-11-14 Yao Qi <yao@codesourcery.com>
5826
5827 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5828 Replace name, low_pc and high_pc with MACRO_AT_func.
5829
f166b542
YQ
58302014-11-14 Yao Qi <yao@codesourcery.com>
5831
5832 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5833 produce debug information.
5834 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5835
0f6e71e3
YQ
58362014-11-14 Yao Qi <yao@codesourcery.com>
5837
5838 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5839 object and get function length.
5840 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5841 with MACRO_AT_func.
5842 (top-level): Replace gdb_compile and clean_restart with
5843 prepare_for_testing.
5844 * gdb.dwarf2/main.c (main): Add label main_label.
5845
876c4df9
YQ
58462014-11-14 Yao Qi <yao@codesourcery.com>
5847
5848 * lib/dwarf.exp (function_range): New procedure.
5849 (Dwarf::_handle_macro_at_func): New procedure.
5850 (Dwarf::_handle_macro_at_range): New procedure.
5851 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5852
02ad9cf1
YQ
58532014-11-14 Yao Qi <yao@codesourcery.com>
5854
5855 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5856 (_handle_attribute): New procedure.
5857
a59add0c
AA
58582014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5859
5860 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5861 * gdb.base/call-sc.c (zed): Likewise.
5862 * gdb.base/checkpoint.c (main): Likewise.
5863 * gdb.base/dump.c (main): Likewise.
5864 * gdb.base/gcore.c (main): Likewise.
5865 * gdb.base/huge.c (main): Likewise.
5866 * gdb.base/multi-forks.c (main): Likewise.
5867 * gdb.base/pr10179-a.c (main): Likewise.
5868 * gdb.base/savedregs.c (main): Likewise.
5869 * gdb.base/sigaltstack.c (main): Likewise.
5870 * gdb.base/siginfo.c (main): Likewise.
5871 * gdb.base/structs.c (zed): Likewise.
5872 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5873 * gdb.mi/mi-syn-frame.c (main): Likewise.
5874 * gdb.mi/until.c (foo, main): Likewise.
5875 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5876 * gdb.base/solib-weak.c (foo): Declare.
5877 * gdb.base/attach-twice.c: Include stdio.h.
5878 * gdb.base/weaklib1.c: Likewise.
5879 * gdb.base/weaklib2.c: Likewise.
5880 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5881 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5882 unistd.h.
5883 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5884 * gdb.mi/mi-exit-code.c: Likewise.
5885 * gdb.base/break-interp-lib.c: Include string.h.
5886 * gdb.base/coremaker.c: Likewise.
5887 * gdb.base/testenv.c: Likewise.
5888 * gdb.python/py-finish-breakpoint.c: Likewise.
5889 * gdb.base/inferior-died.c: Include sys/wait.h.
5890 * gdb.base/fileio.c: Include time.h.
5891 * gdb.base/async-shell.c: Include unistd.h.
5892 * gdb.base/dprintf-non-stop.c: Likewise.
5893 * gdb.base/info-os.c: Likewise.
5894 * gdb.mi/mi-console.c: Likewise.
5895 * gdb.mi/watch-nonstop.c: Likewise.
5896 * gdb.python/py-events.c: Likewise.
5897 * gdb.base/async.c (baz): Move up before its invocation.
5898 * gdb.base/code_elim2.c (my_global_func): Likewise.
5899 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5900 * gdb.base/advance.c (func2): Likewise.
5901
3b5d5997
AA
59022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5903
5904 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5905 variant.
5906 * gdb.base/annota3.c: Likewise.
5907 * gdb.base/async.c: Likewise.
5908 * gdb.base/average.c: Likewise.
5909 * gdb.base/call-ar-st.c: Likewise.
5910 * gdb.base/call-rt-st.c: Likewise.
5911 * gdb.base/call-sc.c: Likewise.
5912 * gdb.base/call-strs.c: Likewise.
5913 * gdb.base/ending-run.c: Likewise.
5914 * gdb.base/execd-prog.c: Likewise.
5915 * gdb.base/exprs.c: Likewise.
5916 * gdb.base/foll-exec.c: Likewise.
5917 * gdb.base/foll-fork.c: Likewise.
5918 * gdb.base/foll-vfork.c: Likewise.
5919 * gdb.base/funcargs.c: Likewise.
5920 * gdb.base/gcore.c: Likewise.
5921 * gdb.base/jump.c: Likewise.
5922 * gdb.base/langs0.c: Likewise.
5923 * gdb.base/langs1.c: Likewise.
5924 * gdb.base/langs2.c: Likewise.
5925 * gdb.base/mips_pro.c: Likewise.
5926 * gdb.base/nodebug.c: Likewise.
5927 * gdb.base/opaque0.c: Likewise.
5928 * gdb.base/opaque1.c: Likewise.
5929 * gdb.base/recurse.c: Likewise.
5930 * gdb.base/run.c: Likewise.
5931 * gdb.base/scope0.c: Likewise.
5932 * gdb.base/scope1.c: Likewise.
5933 * gdb.base/setshow.c: Likewise.
5934 * gdb.base/setvar.c: Likewise.
5935 * gdb.base/shmain.c: Likewise.
5936 * gdb.base/shr1.c: Likewise.
5937 * gdb.base/shr2.c: Likewise.
5938 * gdb.base/sigall.c: Likewise.
5939 * gdb.base/signals.c: Likewise.
5940 * gdb.base/so-indr-cl.c: Likewise.
5941 * gdb.base/solib2.c: Likewise.
5942 * gdb.base/structs.c: Likewise.
5943 * gdb.base/sum.c: Likewise.
5944 * gdb.base/vforked-prog.c: Likewise.
5945 * gdb.base/watchpoint.c: Likewise.
5946 * gdb.reverse/shr2.c: Likewise.
5947 * gdb.reverse/until-reverse.c: Likewise.
5948 * gdb.reverse/ur1.c: Likewise.
5949 * gdb.reverse/watch-reverse.c: Likewise.
5950
066a77c5
AA
59512014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5952
5953 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5954 variant.
5955 * gdb.base/sepdebug.exp: Drop references to removed code.
5956
4f204ea5
AA
59572014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5958
5959 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5960 variant. Preserve original line numbering.
5961 * gdb.base/list1.c: Likewise.
5962
3b377a3a
AA
59632014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5964
5965 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5966 variant.
5967 * gdb.base/break1.c: Likewise.
5968 * gdb.base/break.exp: Drop references to removed code.
5969
e444df73
AA
59702014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5971
5972 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5973 variant.
5974
8008f2a7
AA
59752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5976
5977 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5978
a5a06887
AA
59792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5980
5981 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5982 logic into perform_all_tests() and invoke it with and without
5983 function header prototypes.
5984 (do_function_calls): Remove conditional XFAIL for PR 5318.
5985 (rerun_and_prepare): Remove duplicate code.
5986 (perform_all_tests): New. Main logic moved here.
5987
44dba9b9
AA
59882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5989
5990 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5991 code guarded by #ifdef NO_PROTOTYPES.
5992 (t_double_many_args): Likewise.
5993 (DEF_FUNC_MANY_ARGS_1): Likewise.
5994 (DEF_FUNC_VALUES_1): Likewise.
5995 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5996 guarded by #ifdef PROTOTYPES.
5997
d1fbcd56
AA
59982014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5999
6000 * gdb.mi/mi-console.c: Add eye-catcher.
6001 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
6002 instead of literal line number.
6003
b0e59b8f
AA
60042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6005
6006 * gdb.base/shr2.c: Add eye-catcher.
6007 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
6008 line number.
6009
78f98cca
AA
60102014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6011
6012 * gdb.base/jump.c: Add eye-catchers.
6013 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
6014 numbers.
6015
58fa2af0
AA
60162014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6017
6018 * gdb.base/execd-prog.c: Add eye-catchers.
6019 * gdb.base/foll-exec.c: Likewise.
6020 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
6021 line numbers.
6022
04e5059b
AA
60232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6024
6025 * gdb.base/ending-run.c: Add eye-catchers.
6026 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
6027 literal line numbers.
6028
dbfdb174
AA
60292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6030
6031 * gdb.base/call-rt-st.c: Add eye-catchers.
6032 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
6033 literal line numbers.
6034
888a2ade
AA
60352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6036
6037 * gdb.base/call-ar-st.c: Add eye-catchers.
6038 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
6039 literal line numbers.
6040
6acc2dde
AA
60412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6042
6043 * gdb.base/average.c: Add eye-catchers.
6044 * gdb.base/sum.c: Likewise.
6045 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
6046 regexps dynamically.
6047
9ecfcd1d
AA
60482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6049
6050 * gdb.base/solib1.c: Add eye-catchers.
6051 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
6052 literal line numbers.
6053
78708b7c
PA
60542014-11-12 Pedro Alves <palves@redhat.com>
6055
6056 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
6057 leader has exited.
6058
af48d08f
PA
60592014-11-12 Pedro Alves <palves@redhat.com>
6060
6061 * gdb.arch/i386-bp_permanent.c: New file.
6062 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
6063 (srcfile): Set to i386-bp_permanent.c.
6064 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
6065 that stepi does not execute the 'leave' instruction, instead of
6066 testing it does execute.
6067 * gdb.base/bp-permanent.c: New file.
6068 * gdb.base/bp-permanent.exp: New file.
6069
af3768e9
DE
60702014-11-10 Doug Evans <xdje42@gmail.com>
6071
6072 PR symtab/17564
6073 * gdb.base/symtab-search-order.exp: New file.
6074 * gdb.base/symtab-search-order.c: New file.
6075 * gdb.base/symtab-search-order-1.c: New file.
6076 * gdb.base/symtab-search-order-shlib-1.c: New file.
6077
9de00a4a
PA
60782014-11-07 Pedro Alves <palves@redhat.com>
6079
6080 PR gdb/17511
6081 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
6082 i?86-*-linux*.
6083
e0f52461
SC
60842014-11-03 Siva Chandra Reddy <sivachandra@google.com>
6085
6086 PR c++/17494
6087 * gdb.cp/pr17494.cc: New file.
6088 * gdb.cp/pr17494.exp: New file.
6089
6ce8c980
YQ
60902014-11-02 Yao Qi <yao@codesourcery.com>
6091
6092 * gdb.python/python.exp: Get working directory and match the
6093 output of "set extended-prompt \\w " with it.
6094
02be9a71
DE
60952014-10-30 Doug Evans <dje@google.com>
6096
6097 * gdb.python/py-objfile.exp: Add tests for setting random attributes
6098 in objfiles.
6099 * gdb.python/py-progspace.exp: Add tests for setting random attributes
6100 in progspaces.
6101
3bdff46b
LM
61022014-10-30 Janis Johnson <janisjo@codesourcery.com>
6103
6104 * gdb.base/fullpath-expand.exp: Skip for a remote host.
6105 * gdb.base/realname-expand.exp: Likewise.
6106 * gdb.linespec/macro-relative.exp: Likewise.
6107
ab917dfb
PA
61082014-10-29 Pedro Alves <palves@redhat.com>
6109
6110 PR gdb/17408
6111 * gdb.threads/schedlock.c (some_function): New function.
6112 (call_function): New global.
6113 (MAYBE_CALL_SOME_FUNCTION): New macro.
6114 (thread_function): Call it.
6115 * gdb.threads/schedlock.exp (get_args): Add description parameter,
6116 and use it instead of a global counter. Adjust all callers.
6117 (get_current_thread): Use "find current thread" for test message
6118 here rather than having all callers pass down the same string.
6119 (goto_loop): New procedure, factored out from ...
6120 (my_continue): ... this.
6121 (step_ten_loops): Change parameter from test message to command to
6122 use. Adjust.
6123 (list_count): Delete global.
6124 (check_result): New procedure, factored out from duplicate top
6125 level code.
6126 (continue tests): Wrap in with_test_prefix.
6127 (test_step): New procedure, factored out from duplicate top level
6128 code.
6129 (top level): Test "step" in combination with all scheduler-locking
6130 modes. Test "next" in combination with all scheduler-locking
6131 modes, and in combination with stepping over a function call or
6132 not.
6133 * gdb.threads/next-bp-other-thread.c: New file.
6134 * gdb.threads/next-bp-other-thread.exp: New file.
6135
d3d4baed
PA
61362014-10-29 Pedro Alves <palves@redhat.com>
6137
6138 PR python/17372
6139 * gdb.python/python.exp: Test a multi-line command that spawns
6140 interactive Python.
6141 * gdb.base/multi-line-starts-subshell.exp: New file.
6142
563e8d85
YQ
61432014-10-29 Yao Qi <yao@codesourcery.com>
6144
6145 * gdb.base/fileio.exp: Make directories on host.
6146
0ea4d52e
YQ
61472014-10-29 Yao Qi <yao@codesourcery.com>
6148
6149 * gdb.base/fileio.c (test_write): Close the file.
6150
7f5ef605
PA
61512014-10-28 Pedro Alves <palves@redhat.com>
6152
6153 PR gdb/12623
6154 * gdb.base/sigstep.c (no_handler): New global.
6155 (main): If 'no_handler is true, set the signal handlers to
6156 SIG_IGN.
6157 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
6158 with_sw_watch and no_handler parameters. Handle them.
6159 (top level) <stepping over handler when stopped at a breakpoint
6160 test>: Add a test axis for testing with a software watchpoint, and
6161 another for testing with the signal handler set to SIG_IGN.
6162 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
6163 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
6164
abbdbd03
PA
61652014-10-28 Pedro Alves <palves@redhat.com>
6166
6167 PR gdb/17511
6168 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
6169 * gdb.base/sigstep.exp (other_handler_location): New global.
6170 (advance): Support stepping into the signal handler, and running
6171 commands while in the handler.
6172 (in_handler_map): New global.
6173 (top level): In the advance test, add combinations for getting
6174 into the handler with stepping commands, and for running commands
6175 in the handler. Add comment descripting the advancei tests.
6176
1df4399f
PA
61772014-10-28 Pedro Alves <palves@redhat.com>
6178
6179 * gdb.base/sigstep.exp: Use build_executable instead of
6180 prepare_for_testing.
6181 (top level): Move code that starts GDB, runs to main and creates a
6182 display to ...
6183 (restart): ... this new procedure.
6184 (top level): Move backtrace from signal handler test to ...
6185 (validate_backtrace): ... this new procedure.
6186 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
6187 with_test_prefix. Always restart GDB.
6188 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
6189 with_test_prefix. Always restart GDB. No need to delete
6190 breakpoints after the test.
6191 (test_skip_handler): Remove prefix parameter.
6192 (skip_over_handler, breakpoint_to_handler)
6193 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
6194 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
6195 restart GDB. No need to delete breakpoints after the test.
6196 (top level): Use foreach to call the test procedures with
6197 different commands.
6198
a5b6e449
PA
61992014-10-28 Pedro Alves <palves@redhat.com>
6200
6201 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
6202 instead of GNATS numbers.
6203 * gdb.base/sigbpt.exp: Likewise.
6204 * gdb.base/siginfo.exp: Likewise.
6205 * gdb.base/sigstep.exp: Likewise.
6206
e5f8a7cc
PA
62072014-10-27 Pedro Alves <palves@redhat.com>
6208
6209 * gdb.base/sigstep.c (dummy): New global.
6210 (main): Issue a couple writes to the new global.
6211 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
6212 procedures.
6213 (skip_over_handler): Use test_skip_handler.
6214 (top level): Call skip_over_handler for stepi and nexti too.
6215 (breakpoint_over_handler): Use test_skip_handler.
6216 (top level): Call breakpoint_over_handler for stepi and nexti too.
6217
763905a3
YQ
62182014-10-27 Yao Qi <yao@codesourcery.com>
6219
6220 * gdb.trace/tfile.c (adjust_function_address)
6221 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6222 function descriptor.
6223
6f259a23
DB
62242014-10-24 Don Breazeal <donb@codesourcery.com>
6225
6226 * gdb.base/foll-fork.exp (test_follow_fork,
6227 catch_fork_child_follow): Check for updated fork messages emitted
6228 from infrun.c.
6229 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6230 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6231 vfork_and_exec_child_follow_through_step): Check for updated vfork
6232 messages emitted from infrun.c.
6233
09dd9a69
PA
62342014-10-24 Pedro Alves <palves@redhat.com>
6235
6236 * gdb.base/corefile.exp: Remove references to ultrix.
6237 * gdb.base/interrupt.exp: Likewise.
6238 * gdb.base/whatis.exp: Likewise.
6239 * gdb.gdb/selftest.exp: Likewise.
6240 * gdb.threads/manythreads.exp: Likewise.
6241 * gdb.threads/print-threads.exp: Likewise.
6242 * gdb.threads/pthreads.exp:: Likewise.
6243 * gdb.threads/schedlock.exp: Likewise.
6244
3433cfa5
SC
62452014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6246
6247 * gdb.cp/non-trivial-retval.cc: Add a test case.
6248 * gdb.cp/non-trivial-retval.exp: Add a test.
6249
092f880b
YQ
62502014-10-20 Yao Qi <yao@codesourcery.com>
6251
6252 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6253 * gdb.python/py-objfile-script-gdb.py: New file.
6254 * gdb.python/py-objfile-script.exp: Update reference to
6255 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6256 of remote_download. Remove the dest file.
6257
acbdb7f3
YQ
62582014-10-20 Yao Qi <yao@codesourcery.com>
6259
6260 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6261 * gdb.base/step-line.exp: Likewise.
6262 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6263 * gdb.dwarf2/dw2-basic.exp: Likewise.
6264 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6265 * gdb.dwarf2/dw2-filename.exp: Likewise.
6266 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6267 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6268 * gdb.dwarf2/dw2-producer.exp: Likewise.
6269 * gdb.dwarf2/mac-fileno.exp: Likewise.
6270 * gdb.python/py-frame-args.exp: Likewise.
6271 * gdb.python/py-framefilter.exp: Likewise.
6272 * gdb.python/py-mi.exp: Likewise.
6273 * gdb.python/py-objfile-script.exp: Likewise
6274 * gdb.python/py-pp-integral.exp: Likewise.
6275 * gdb.python/py-pp-re-notag.exp: Likewise.
6276 * gdb.python/py-prettyprint.exp: Likewise.
6277 * gdb.python/py-section-script.exp: Likewise.
6278 * gdb.python/py-typeprint.exp: Likewise.
6279 * gdb.python/py-xmethods.exp: Likewise.
6280 * gdb.stabs/weird.exp: Likewise.
6281 * gdb.xml/tdesc-regs.exp: Likewise.
6282
bd286a29
KCY
62832014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6284
6285 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6286 (out_cu): Use addr_len for the size of addresses.
6287 (out_line): Likewise. Size DW_LNE_set_address instruction
6288 according to addr_len.
6289 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6290 (FUNC): Add START_INSNS to definition.
6291
673dc4a0
YQ
62922014-10-18 Yao Qi <yao@codesourcery.com>
6293
6294 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6295 gdb_has_argv0 return true.
6296 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6297 check [target_info exists noargs], check [gdb_has_argv0]
6298 instead.
6299 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6300 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6301 procedures.
6302
4ffbba72
DE
63032014-10-17 Doug Evans <dje@google.com>
6304
6305 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6306 event.
6307 * gdb.python/py-events.py: Add clear_objfiles event.
6308
d096d8c1
DE
63092014-10-17 Doug Evans <dje@google.com>
6310
6311 * gdb.python/py-objfile.exp: Test progspace attribute.
6312
a80db015
LM
63132014-10-17 Luis Machado <lgustavo@codesourcery.com>
6314
6315 * gdb.guile/scm-breakpoint.exp: Do not assume any
6316 directory separators when matching source file paths.
6317 * gdb.python/py-breakpoint.exp: Likewise.
6318 * gdb.reverse/break-precsave.exp: Likewise.
6319 * gdb.reverse/break-reverse.exp: Likewise.
6320 * gdb.reverse/consecutive-precsave.exp: Likewise.
6321 * gdb.reverse/finish-precsave.exp: Likewise.
6322 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6323 * gdb.reverse/finish-reverse.exp: Likewise.
6324 * gdb.reverse/i386-precsave.exp: Likewise.
6325 * gdb.reverse/i387-env-reverse.exp: Likewise.
6326 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6327 * gdb.reverse/machinestate-precsave.exp: Likewise.
6328 * gdb.reverse/machinestate.exp: Likewise.
6329 * gdb.reverse/sigall-precsave.exp: Likewise.
6330 * gdb.reverse/solib-precsave.exp: Likewise.
6331 * gdb.reverse/step-precsave.exp: Likewise.
6332 * gdb.reverse/until-precsave.exp: Likewise.
6333 * gdb.reverse/watch-precsave.exp: Likewise.
6334 * gdb.reverse/watch-reverse.exp: Likewise.
6335
b22089ab
YQ
63362014-10-17 Yao Qi <yao@codesourcery.com>
6337
6338 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6339 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6340
6c4486e6
PA
63412014-10-17 Pedro Alves <palves@redhat.com>
6342
6343 PR gdb/17471
6344 * gdb.base/bg-execution-repeat.c: New file.
6345 * gdb.base/bg-execution-repeat.exp: New file.
6346
0ff33695
PA
63472014-10-17 Pedro Alves <palves@redhat.com>
6348
6349 PR gdb/17300
6350 * gdb.base/continue-all-already-running.c: New file.
6351 * gdb.base/continue-all-already-running.exp: New file.
6352
6fdebc3d
PA
63532014-10-17 Pedro Alves <palves@redhat.com>
6354
6355 PR gdb/17472
6356 * gdb.base/annota-input-while-running.c: New file.
6357 * gdb.base/annota-input-while-running.exp: New file.
6358
32a8097b
PA
63592014-10-17 Pedro Alves <palves@redhat.com>
6360
6361 * gdb.base/callfuncs.exp: emove references to osf.
6362 * gdb.base/sigall.exp: Likewise.
6363 * gdb.gdb/selftest.exp: Likewise.
6364 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6365 * gdb.mi/non-stop.c: Likewise.
6366 * gdb.mi/pthreads.c: Likewise.
6367 * gdb.reverse/sigall-precsave.exp: Likewise.
6368 * gdb.reverse/sigall-reverse.exp: Likewise.
6369 * gdb.threads/pthreads.c: Likewise.
6370 * gdb.threads/pthreads.exp: Likewise.
6371
7a3517ff
YQ
63722014-10-17 Yao Qi <yao@codesourcery.com>
6373
6374 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6375 check 'target_info exists noargs'.
6376 (test_command_prompt_position): Likewise.
6377 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6378 Remove "set args".
6379 (progvar_simple_while_test): Likewise.
6380 (progvar_complex_if_while_test): Likewise.
6381 (if_while_breakpoint_command_test): Likewise.
6382 (infrun_breakpoint_command_test): Likewise.
6383 (breakpoint_command_test): Likewise.
6384 (watchpoint_command_test): Likewise.
6385 (bp_deleted_in_command_test): Likewise.
6386 (temporary_breakpoint_commands): Likewise.
6387
bb99c472
YQ
63882014-10-16 Yao Qi <yao@codesourcery.com>
6389
6390 * gdb.base/remotetimeout.exp: Remove noargs checking.
6391
7c16b83e
PA
63922014-10-15 Pedro Alves <palves@redhat.com>
6393
6394 PR breakpoints/9649
6395 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6396 * gdb.base/breakpoint-in-ro-region.exp
6397 (probe_target_hardware_step): New procedure.
6398 (top level): Probe hardware stepping and hardware breakpoint
6399 support. Test stepping through a read-only region, with both
6400 "breakpoint auto-hw" on and off and both "always-inserted" on and
6401 off.
6402
35a49624
IB
64032014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6404
6405 * gdb.dlang/demangle.exp: Update for demangling changes.
6406
2d1c107c
SC
64072014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6408
6409 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6410 * gdb.cp/non-trivial-retval.exp: Add new tests.
6411
778811d5
SC
64122014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6413
6414 PR c++/13403
6415 PR c++/15154
6416 * gdb.cp/non-trivial-retval.cc: New file.
6417 * gdb.cp/non-trivial-retval.exp: New file.
6418
10c5f0a8
YQ
64192014-10-15 Yao Qi <yao@codesourcery.com>
6420
6421 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6422 remote host.
6423
65d7b369
YQ
64242014-10-15 Yao Qi <yao@codesourcery.com>
6425
6426 * gdb.python/py-symbol.exp: Match file base name if host is
6427 remote, otherwise match file name with dir name.
6428 * gdb.python/py-symtab.exp: Likewise.
6429 * gdb.python/python.exp: Likewise.
6430
46dc1394
YQ
64312014-10-15 Yao Qi <yao@codesourcery.com>
6432
6433 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6434 pattern.
6435 * gdb.python/py-symtab.exp: Likewise.
6436 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6437 locationn.
6438
c40cc657
JB
64392014-10-14 Joel Brobecker <brobecker@adacore.com>
6440
6441 * gdb.ada/addr_arith: New testcase.
6442
2abf49e1
MR
64432014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6444
6445 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6446 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6447 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6448 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6449
f7088df3
SDJ
64502014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6451
6452 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6453 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6454 * gdb.arch/stap-eval-lang-ada.exp: New file.
6455
4dc06805
YQ
64562014-10-14 Yao Qi <yao@codesourcery.com>
6457
6458 * gdb.mi/mi-var-child.c (nothing1): New function.
6459 (nothing2): New function.
6460 (do_children_tests): Set function pointers by nothing1 and
6461 nothing2.
6462 * gdb.mi/mi-var-child.exp: Step over new added statements.
6463 Update test to match the new output.
6464 * gdb.mi/var-cmd.c (nothing1): New function.
6465 (nothing2): New function.
6466 (do_children_tests): Set function pointers by nothing1 and
6467 nothing2.
6468 * gdb.mi/mi-var-display.exp: Update test to match output.
6469 Step to the line specified by $line_dct_nothing.
6470 Increase the number of lines to step.
6471
46a93de2
YQ
64722014-10-14 Yao Qi <yao@codesourcery.com>
6473
6474 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6475 tests.
6476 * gdb.mi/mi2-var-child.exp: Likewise.
6477
14ea52ee
DE
64782014-10-13 Doug Evans <dje@google.com>
6479
6480 * gdb.python/py-objfile.exp: Change name of file name test.
6481
e5c6e92b
DE
64822014-10-13 Doug Evans <dje@google.com>
6483
6484 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6485 from the start of the CU.
6486
c780cc2f
JK
64872014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6488 Yao Qi <yao@codesourcery.com>
6489
6490 Fix "save breakpoints" for "catch" command.
6491 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6492 Remove -nonewline. Match also the added "main" line.
6493
99894e11
JK
64942014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6495
6496 Fix "save breakpoints" for "disable $bpnum" command.
6497 * gdb.base/save-bp.c (main): Add label.
6498 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6499
6e1ac5a3
JK
65002014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6501
6502 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6503
754dd2b0
YQ
65042014-10-11 Yao Qi <yao@codesourcery.com>
6505
6506 * gdb.server/server-kill.exp: Execute command
6507 "set remote trace-status-packet on" before "tstatus".
6508
f90183d7
YQ
65092014-10-11 Yao Qi <yao@codesourcery.com>
6510
6511 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6512 (main): Call getppid.
6513 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6514 and continue to it. Read variable "server_pid".
6515
bf40a607
YQ
65162014-10-11 Yao Qi <yao@codesourcery.com>
6517
6518 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6519
052ca370
YQ
65202014-10-11 Yao Qi <yao@codesourcery.com>
6521
6522 * gdb.threads/thread-find.exp: Don't execute command
6523 "info threads".
6524 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6525 * gdb.threads/linux-dp.exp: Don't check the condition
6526 $threads_created equals to zero.
6527
3831839c
PA
65282014-10-10 Pedro Alves <palves@redhat.com>
6529
6530 * gdb.base/bigcore.exp: Remove references to IRIX.
6531 * gdb.base/funcargs.exp: Likewise.
6532 * gdb.base/interrupt.exp: Likewise.
6533 * gdb.base/mips_pro.exp: Likewise.
6534 * gdb.base/nodebug.exp: Likewise.
6535 * gdb.base/setvar.exp: Likewise.
6536 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6537
8b9a549d
PA
65382014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6539 Pedro Alves <palves@redhat.com>
6540
6541 PR symtab/14466
6542 * gdb.base/vdso-warning.c: New file.
6543 * gdb.base/vdso-warning.exp: New file.
6544
d48ba5e8
DE
65452014-10-02 Doug Evans <dje@google.com>
6546
6547 * gdb.base/structs.c (main): Don't run forever.
6548
2278c276
PA
65492014-10-02 Pedro Alves <palves@redhat.com>
6550
6551 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6552 (top level) <stop threads 1, stop threads 2>: Use it.
6553
b57bacec
PA
65542014-10-02 Pedro Alves <palves@redhat.com>
6555
6556 * gdb.threads/break-while-running.exp (test): Add new
6557 'update_thread_list' argument. Skip "info threads" if false.
6558 (top level): Add new 'update_thread_list' axis.
6559
13fd3ff3
PA
65602014-10-02 Pedro Alves <palves@redhat.com>
6561
6562 PR breakpoints/17431
6563 * gdb.base/execl-update-breakpoints.c: New file.
6564 * gdb.base/execl-update-breakpoints.exp: New file.
6565
0fec99e8
PA
65662014-10-01 Pedro Alves <palves@redhat.com>
6567
6568 * gdb.base/breakpoint-in-ro-region.c: New file.
6569 * gdb.base/breakpoint-in-ro-region.exp: New file.
6570
2ddf4301
SM
65712014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6572
6573 * gdb.mi/mi-exit-code.exp: New file.
6574 * gdb.mi/mi-exit-code.c: New file.
6575
6a5f3f43
YQ
65762014-09-30 Yao Qi <yao@codesourcery.com>
6577
6578 * lib/prelink-support.exp (build_executable_own_libs): Error if
6579 the target isn't native.
6580
345bcc73
YQ
65812014-09-30 Yao Qi <yao@codesourcery.com>
6582
6583 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6584 false.
6585
a25a5a45
PA
65862014-09-22 Pedro Alves <palves@redhat.com>
6587
6588 * gdb.threads/break-while-running.exp: New file.
6589 * gdb.threads/break-while-running.c: New file.
6590
00ba3162
YQ
65912014-09-19 Yao Qi <yao@codesourcery.com>
6592
6593 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6594 Invoke test. Restart GDB with --readnow and invoke test again.
6595
c3b7b696
YQ
65962014-09-19 Yao Qi <yao@codesourcery.com>
6597
6598 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6599 proc set_breakpoint_on_gcd_function. Invoke
6600 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6601 invoke set_breakpoint_on_gcd_function again.
6602
2b4fd423
DE
66032014-09-18 Doug Evans <dje@google.com>
6604
6605 * gdb.dwarf2/symtab-producer.exp: New file.
6606
a5947601
SDJ
66072014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6608
6609 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6610 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6611 * gdb.base/global-var-nested-by-dso.c: Likewise.
6612 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6613
91c19059
SDJ
66142014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6615 Pedro Alves <palves@redhat.com>
6616
6617 * gdb.base/watch-bitfields.exp: Pass string other than test file
6618 name to prepare_for_testing.
6619 (watch): New procedure.
6620 (expect_watchpoint): Use with_test_prefix.
6621 (top level): Factor out tests to ...
6622 (test_watch_location, test_regular_watch): ... these new
6623 procedures, and use with_test_prefix and gdb_continue_to_end.
6624
bb9d5f81
PP
66252014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6626
6627 PR breakpoints/12526
6628 * gdb.base/watch-bitfields.exp: New file.
6629 * gdb.base/watch-bitfields.c: New file.
6630
635856f5
PA
66312014-09-16 Pedro Alves <palves@redhat.com>
6632
6633 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6634 software and hardware addresses, not software address against
6635 itself.
6636
7280ceea
PA
66372014-09-16 Pedro Alves <palves@redhat.com>
6638
6639 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6640 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6641
428b16bd
PA
66422014-09-16 Pedro Alves <palves@redhat.com>
6643
6644 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6645 files.
6646 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6647 "*-*-vxworks*" throughout.
6648 * gdb.base/break.exp: Likewise.
6649 * gdb.base/default.exp: Likewise.
6650 * gdb.base/scope.exp: Likewise.
6651 * gdb.base/sepdebug.exp: Likewise.
6652 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6653 throughout.
6654 * gdb.base/run.c: Likewise.
6655 * gdb.base/sepdebug.c: Likewise.
6656 * gdb.hp/gdb.aCC/run.c: Likewise.
6657 * gdb.reverse/until-reverse.c: Likewise.
6658 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6659
666d413c
YQ
66602014-09-16 Yao Qi <yao@codesourcery.com>
6661
6662 * boards/local-remote-host-native.exp: New file.
6663
57cbd724
DE
66642014-09-14 Doug Evans <xdje42@gmail.com>
6665
6666 * gdb.threads/queue-signal.c (thread_count): New variable.
6667 (thread_count_mutex, thread_count_condvar): New variables.
6668 (incr_thread_count, wait_all_threads_running): New functions.
6669 (main): Wait for all threads to be in their thread functions.
6670
81219e53
DE
66712014-09-13 Doug Evans <xdje42@gmail.com>
6672
6673 * gdb.threads/queue-signal.c: New file.
6674 * gdb.threads/queue-signal.exp: New file.
6675
3714cea7
DE
66762014-09-13 Doug Evans <xdje42@gmail.com>
6677
6678 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6679 be consistent with what default_gdb_init uses.
6680 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6681 the plain text of the prompt. Add some logging printfs.
6682 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6683
fa43b1d7
PA
66842014-09-12 Pedro Alves <palves@redhat.com>
6685
6686 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6687 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6688 * gdb.arch/i386-size-overlap.exp: Likewise.
6689 * gdb.arch/i386-size.exp: Likewise.
6690 * gdb.arch/i386-unwind.exp: Likewise.
6691 * gdb.base/a2-run.exp: Likewise.
6692 * gdb.base/break.exp: Likewise.
6693 * gdb.base/charset.exp: Likewise.
6694 * gdb.base/chng-syms.exp: Likewise.
6695 * gdb.base/commands.exp: Likewise.
6696 * gdb.base/dbx.exp: Likewise.
6697 * gdb.base/find.exp: Likewise.
6698 * gdb.base/funcargs.exp: Likewise.
6699 * gdb.base/jit-simple.exp: Likewise.
6700 * gdb.base/reread.exp: Likewise.
6701 * gdb.base/sepdebug.exp: Likewise.
6702 * gdb.base/step-bt.exp: Likewise.
6703 * gdb.cp/mb-inline.exp: Likewise.
6704 * gdb.cp/mb-templates.exp: Likewise.
6705 * gdb.objc/basicclass.exp: Likewise.
6706 * gdb.threads/killed.exp: Likewise.
6707
9d9bf2df
EBM
67082014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6709
6710 PR tdep/17379
6711 * gdb.arch/powerpc-stackless.S: New file.
6712 * gdb.arch/powerpc-stackless.exp: New file.
6713
1cf2f1b0
JK
67142014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6715
6716 * gdb.base/attach.c: Include unistd.h.
6717 (main): Call alarm. Add label postloop.
6718 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6719 gdb_breakpoint, gdb_continue_to_breakpoint.
6720 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6721
98880d46
PA
67222014-09-11 Pedro Alves <palves@redhat.com>
6723
6724 PR gdb/17347
6725 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6726 * gdb.base/attach.exp (test_command_line_attach_run): New
6727 procedure.
6728 (top level): Call it.
6729
4c92ff2c
PA
67302014-09-11 Pedro Alves <palves@redhat.com>
6731
6732 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6733 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6734 (do_command_attach_tests): Use spawn_wait_for_attach.
6735 * gdb.base/solib-overlap.exp: Likewise.
6736 * gdb.multi/multi-attach.exp: Likewise.
6737 * gdb.python/py-prompt.exp: Likewise.
6738 * gdb.python/py-sync-interp.exp: Likewise.
6739 * gdb.server/ext-attach.exp: Likewise.
6740
3adc1a7d
GKB
67412014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6742
6743 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6744 command in testcase. Simplify testcase.
6745
96334934
JB
67462014-09-10 Joel Brobecker <brobecker@adacore.com>
6747
6748 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6749
eb479039
JB
67502014-09-10 Joel Brobecker <brobecker@adacore.com>
6751
6752 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6753
deede10c
JB
67542014-09-10 Joel Brobecker <brobecker@adacore.com>
6755
6756 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6757
7828a5f5
JB
67582014-09-10 Joel Brobecker <brobecker@adacore.com>
6759
6760 * gdb.dwarf2/dynarr-ptr.c: New file.
6761 * gdb.dwarf2/dynarr-ptr.exp: New file.
6762
33aeebcf
MR
67632014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6764
6765 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6766 of 30 rather than hardcoding 120 for a slow test case. Take the
6767 `gdb,timeout' target setting into account for this calculation.
6768 Don't extend the timeout for the test cases that don't need it.
6769
7b415901
MR
67702014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6771
6772 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6773 a factor of 2 for a slow test case. Take the `gdb,timeout'
6774 target setting into account for this calculation.
6775 * gdb.reverse/until-precsave.exp: Increase the timeout by
6776 a factor of 15 and 3 respectively rather than adding 120
6777 for a pair of slow test cases. Take the `gdb,timeout'
6778 target setting into account for this calculation.
6779
4a40f85a
MR
67802014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6781
6782 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6783 timeout, don't pass one down to gdb_expect.
6784 (gdb_expect): Rework timeout selection.
6785
09635af7
MR
67862014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6787
6788 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6789 exception on timeout.
6790 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6791 (gdbserver_start_extended): Catch any `gdbserver_start' error
6792 exceptions.
6793 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6794 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6795 `gdbserver_gdb_load' error exceptions.
6796
2bdd10b7
MR
67972014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6798
6799 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6800 120 on waiting for the TCP socket to open.
6801
316935f0
DE
68022014-09-09 Doug Evans <xdje42@gmail.com>
6803
6804 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6805 _caller_matches, _any_caller_is, _any_caller_matches.
6806
83740597
DE
68072014-09-09 Doug Evans <xdje42@gmail.com>
6808
6809 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6810
4c122fc3
YQ
68112014-09-09 Yao Qi <yao@codesourcery.com>
6812
6813 * gdb.mi/mi-var-display.exp: Set print symbol off.
6814
a9f116cb
GKB
68152014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6816
6817 PR gdb/17035
6818 * gdb.base/commands.exp: Add tests to verify user-defined
6819 commands with empty bodies.
6820 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6821 python commands in `show user command`.
6822 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6823 scheme commands in `show user command`.
6824
c75bd3a2
JK
68252014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6826
6827 PR python/17355
6828 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6829 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6830 * gdb.python/py-framefilter-invalidarg.exp: New file.
6831 * gdb.python/py-framefilter-invalidarg.py: New file.
6832
faa42425
DE
68332014-09-06 Doug Evans <xdje42@gmail.com>
6834
6835 PR 15276
6836 * gdb.python/py-caller-is.c: New file.
6837 * gdb.python/py-caller-is.exp: New file.
6838
474ca4f6
SDJ
68392014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6840
6841 PR gdb/17235
6842 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6843 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6844
eb0b0463
SDJ
68452014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6846
6847 PR fortran/17237
6848 * gdb.fortran/print-formatted.exp: New file.
6849 * gdb.fortran/print-formatted.f90: Likewise.
6850
5f3b99cf
SS
68512014-09-03 Sasha Smundak <asmundak@google.com>
6852
6853 * gdb.python/py-frame.exp: Test Frame.read_register.
6854
7d793aa9
SDJ
68552014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6856
6857 PR python/16699
6858 * gdb.python/py-completion.exp: New file.
6859 * gdb.python/py-completion.py: Likewise.
6860
fb0576e9
DE
68612014-08-28 Doug Evans <dje@google.com>
6862
6863 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6864 eax,etc. are live with values set by gdb and thus the compiler can't
6865 use them.
6866 * gdb.arch/i386-pseudo.c (main): Ditto.
6867
ee92b0dd
DE
68682014-08-27 Doug Evans <dje@google.com>
6869
6870 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6871
6649db35
DE
68722014-08-25 Doug Evans <dje@google.com>
6873
6874 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6875 (main): Ditto.
6876
564b7600
DE
68772014-08-25 Doug Evans <dje@google.com>
6878
6879 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6880
3881fb67
YQ
68812014-08-24 Yao Qi <yao@codesourcery.com>
6882
6883 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6884 symbol off.
6885 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6886
a05a36a5
DE
68872014-08-22 Doug Evans <dje@google.com>
6888
6889 PR 17276
6890 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6891 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6892 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6893
7c343b48
YQ
68942014-08-22 Yao Qi <yao@codesourcery.com>
6895
6896 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6897 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6898 * gdb.python/python.exp: Likewise. Use .py file on the host
6899 instead of the build.
6900
22fd09ae
JK
69012014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6902
6903 * gdb.threads/gcore-stale-thread.c: New file.
6904 * gdb.threads/gcore-stale-thread.exp: New file.
6905
a8454a7c
PA
69062014-08-21 Pedro Alves <palves@redhat.com>
6907
6908 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6909 * gdb.base/gcore-relro-pie.exp: Likewise.
6910 * gdb.base/gcore-relro.exp: Likewise.
6911 * gdb.base/gcore.exp: Likewise.
6912 * gdb.base/print-symbol-loading.exp: Likewise.
6913 * gdb.threads/gcore-thread.exp: Likewise.
6914 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6915
2a31c623
PA
69162014-08-20 Pedro Alves <palves@redhat.com>
6917 Jan Kratochvil <jan.kratochvil@redhat.com>
6918
6919 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6920 configure.
6921 (EXPECT): Handle READ1 being set.
6922 (all): Depend on EXTRA_RULES.
6923 (check-read1, expect-read1, read1.so, read1): New rules.
6924 * README (Testsuite Parameters): Document the READ1 make variable.
6925 (Race detection): New section.
6926 * configure: Regenerate.
6927 * configure.ac: If build==host==target, and running under a
6928 GNU/glibc system, add read1 to the extra Makefile rules.
6929 (EXTRA_RULES): AC_SUBST it.
6930 * lib/read1.c: New file.
6931
d36430db
JB
69322014-08-20 Joel Brobecker <brobecker@adacore.com>
6933
6934 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6935 the handling of variables declared as a typedef to an array
6936 which a DW_AT_data_location attribute.
6937
9a0dc9e3
PA
69382014-08-19 Andrew Burgess <aburgess@broadcom.com>
6939 Pedro Alves <palves@redhat.com>
6940
6941 PR symtab/14604
6942 PR symtab/14605
6943 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6944 gdb_test.
6945
0718a8da
PA
69462014-08-19 Pedro Alves <palves@redhat.com>
6947
6948 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6949
13b448cd
YQ
69502014-08-19 Yao Qi <yao@codesourcery.com>
6951
6952 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6953 right line.
6954
1cbf5077
DB
69552014-08-18 David Blaikie <dblaikie@gmail.com>
6956
6957 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6958
bf0fae19
JB
69592014-08-18 Joel Brobecker <brobecker@adacore.com>
6960
6961 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6962 attribute in array range.
6963
3c8c5dcc
JB
69642014-08-18 Joel Brobecker <brobecker@adacore.com>
6965
6966 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6967
e66d4446
SC
69682014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6969
6970 PR c++/17132
6971 * gdb.cp/pr17132.cc: New file.
6972 * gdb.cp/pr17132.exp: New file.
6973
940df408
SC
69742014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6975
6976 * gdb.python/py-xmethods.py (A_getarrayind)
6977 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6978 Use 'print' with function call syntax.
6979 (E_method_matcher.match): Fix tab vs space indentation mixup.
6980
ebcc6c3a
YQ
69812014-08-15 Yao Qi <yao@codesourcery.com>
6982
6983 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6984 false.
6985
775e0f04
YQ
69862014-08-15 Yao Qi <yao@codesourcery.com>
6987
6988 * gdb.cp/casts.exp: Set print symbol off.
6989 * gdb.cp/class2.exp: Likewise.
6990 * gdb.cp/overload.exp: Likewise.
6991 * gdb.cp/templates.exp: Likewise.
6992
d769e349
DE
69932014-08-11 Doug Evans <dje@google.com>
6994
6995 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6996 (test_load_shlib): Update.
6997
20c6f1e1
YQ
69982014-08-09 Yao Qi <yao@codesourcery.com>
6999
7000 * gdb.base/display.exp: Invoke is_address_zero_readable.
7001 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
7002 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
7003 * gdb.base/hbreak-unmapped.exp: Return if
7004 is_address_zero_readable returns true.
7005 * gdb.base/signest.exp: Likewise.
7006 * gdb.base/signull.exp: Likewise.
7007 * gdb.base/sigbpt.exp: Likewise.
7008 * gdb.guile/scm-disasm.exp: Do the test if
7009 is_address_zero_readable returns false.
7010 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
7011 * gdb.python/py-arch.exp: Likewise.
7012 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
7013 * lib/gdb.exp (is_address_zero_readable): New proc.
7014
5792e8e3
YQ
70152014-08-09 Yao Qi <yao@codesourcery.com>
7016
7017 PR testsuite/13443
7018 * gdb.mi/mi-var-display.exp: Make test messages unique.
7019
3cecbbbe
TT
70202014-08-04 Tom Tromey <tromey@redhat.com>
7021
7022 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
7023 target 0".
7024
00b51ff5
TT
70252014-08-04 Tom Tromey <tromey@redhat.com>
7026
7027 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
7028 "target_resume".
7029
6908c509
JB
70302014-08-01 Joel Brobecker <brobecker@adacore.com>
7031
7032 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
7033 inner_vla_struct_object_size.
7034 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
7035 as xfail.
7036
cc6563d2
PA
70372014-07-30 Pedro Alves <palves@redhat.com>
7038
7039 * gdb.threads/signal-command-handle-nopass.exp (test): Add
7040 comment.
7041
7e09a223
YQ
70422014-07-29 Yao Qi <yao@codesourcery.com>
7043
7044 PR gdb/17206
7045 * gdb.base/until-nodebug.exp: New.
7046
7ebdbe92
DE
70472014-07-28 Doug Evans <xdje42@gmail.com>
7048
7049 PR guile/17203
7050 * gdb.guile/scm-parameter.exp: Add tests for trying to create
7051 previously existing parameter, and previously ambiguously spelled
7052 parameter.
7053
fdb1adc6
WN
70542014-07-28 Will Newton <will.newton@linaro.org>
7055
7056 * gdb.base/varargs.exp: Remove KFAILs for ARM.
7057
186fcde0
DE
70582014-07-26 Ludovic Courtès <ludo@gnu.org>
7059 Doug Evans <xdje42@gmail.com>
7060
7061 PR guile/17146
7062 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
7063
70509625
PA
70642014-07-25 Pedro Alves <palves@redhat.com>
7065
7066 * gdb.threads/signal-command-handle-nopass.c: New file.
7067 * gdb.threads/signal-command-handle-nopass.exp: New file.
7068 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
7069 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
7070 * gdb.threads/signal-delivered-right-thread.c: New file.
7071 * gdb.threads/signal-delivered-right-thread.exp: New file.
7072
c3f814a1
PA
70732014-07-25 Pedro Alves <palves@redhat.com>
7074
7075 * gdb.base/double-prompt-target-event-error.exp
7076 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
7077 match.
7078 (cancel_pagination_in_target_event): Rework double prompt
7079 detection.
7080 * gdb.base/paginate-after-ctrl-c-running.exp
7081 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
7082 <return>' match.
7083 * gdb.base/paginate-bg-execution.exp
7084 (test_bg_execution_pagination_return)
7085 (test_bg_execution_pagination_cancel): Remove '-notransfer
7086 <return>' matches.
7087 * gdb.base/paginate-execution-startup.exp
7088 (test_fg_execution_pagination_return)
7089 (test_fg_execution_pagination_cancel): Remove '-notransfer
7090 <return>' matches.
7091 * gdb.base/paginate-inferior-exit.exp
7092 (test_paginate_inferior_exited): Remove '-notransfer <return>'
7093 match.
7094 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
7095 * lib/gdb.exp (pagination_prompt): Run text through
7096 string_to_regexp.
7097 (gdb_test_multiple): Match $pagination_prompt instead of
7098 "<return>".
7099 (string_to_regexp): Move to lib/gdb-utils.exp.
7100
e214cf6c
JK
71012014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7102
7103 * gdb.arch/amd64-entry-value-paramref.S: New file.
7104 * gdb.arch/amd64-entry-value-paramref.cc: New file.
7105 * gdb.arch/amd64-entry-value-paramref.exp: New file.
7106 * gdb.arch/amd64-optimout-repeat.S: New file.
7107 * gdb.arch/amd64-optimout-repeat.c: New file.
7108 * gdb.arch/amd64-optimout-repeat.exp: New file.
7109
17d0c5c8
JK
71102014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7111
7112 PR gdb/17170
7113 * gdb.base/statistics.exp: New file.
7114
b8b8facf
DE
71152014-07-17 Doug Evans <dje@google.com>
7116
74b49205 7117 PR gdb/17170
b8b8facf
DE
7118 * gdb.base/maint.exp: Update testing of per-command stats.
7119
1b5d0ab3
PA
71202014-07-16 Pedro Alves <palves@redhat.com>
7121
7122 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
7123 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
7124 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
7125 (tfile_write_buf): New functions.
7126 (add_memory_block): Rewrite using the above.
7127 (adjust_function_address): New function.
7128 (FUNCTION_ADDRESS): New macro.
7129 (write_basic_trace_file): Remove short_x local, and use
7130 tfile_write_16. Change type of func_addr local to unsigned long
7131 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
7132 here. Cast argument of add_memory_block to char pointer.
7133 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
7134 (main): Remove parameters.
7135 * gdb.trace/tfile.exp: Remove nowarnings.
7136
4d974e88
SM
71372014-07-15 Simon Marchi <simon.marchi@ericsson.com>
7138
7139 * gdb.base/debug-expr.exp: Test string evaluation with
7140 "debug expression" on.
7141
41e99568
PA
71422014-07-15 Pedro Alves <palves@redhat.com>
7143
7144 * gdb.base/reread.exp: Use clean_restart.
7145
487d9753
PL
71462014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
7147
7148 * gdb.arch/avr-flash-qualifer.c: New.
7149 * gdb.arch/avr-flash-qualifer.exp: New.
7150
cc1c52ad
PA
71512014-07-14 Pedro Alves <palves@redhat.com>
7152
7153 * gdb.base/paginate-after-ctrl-c-running.c: New file.
7154 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
7155
1e973570
PA
71562014-07-14 Pedro Alves <palves@redhat.com>
7157
7158 * gdb.base/double-prompt-target-event-error.c: New file.
7159 * gdb.base/double-prompt-target-event-error.exp: New file.
7160
93d6eb10
PA
71612014-07-14 Pedro Alves <palves@redhat.com>
7162
7163 PR gdb/17072
7164 * gdb.base/paginate-inferior-exit.c: New file.
7165 * gdb.base/paginate-inferior-exit.exp: New file.
7166
0017922d
PA
71672014-07-14 Pedro Alves <palves@redhat.com>
7168
7169 PR gdb/17072
7170 * gdb.base/paginate-bg-execution.c: New file.
7171 * gdb.base/paginate-bg-execution.exp: New file.
7172
94696ad3
PA
71732014-07-14 Pedro Alves <palves@redhat.com>
7174
7175 PR gdb/17072
7176 * gdb.base/paginate-execution-startup.c: New file.
7177 * gdb.base/paginate-execution-startup.exp: New file.
7178 * lib/gdb.exp (pagination_prompt): New global.
7179 (default_gdb_spawn): New procedure, factored out from
7180 default_gdb_spawn.
7181 (default_gdb_start): Adjust to call default_gdb_spawn.
7182 (gdb_spawn): New procedure.
7183
bd293940
PA
71842014-07-14 Pedro Alves <palves@redhat.com>
7185
7186 * lib/gdb.exp (gdb_assert): New procedure.
7187 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
7188
c933f875
PA
71892014-07-14 Pedro Alves <palves@redhat.com>
7190
7191 * gdb.base/execution-termios.c: New file.
7192 * gdb.base/execution-termios.exp: New file.
7193
d98b7a16
TT
71942014-07-14 Tom Tromey <tromey@redhat.com>
7195
7196 * gdb.cp/vla-cxx.cc: New file.
7197 * gdb.cp/vla-cxx.exp: New file.
7198
548740d6
TT
71992014-07-14 Tom Tromey <tromey@redhat.com>
7200
7201 * gdb.reverse/rerun-prec.c: New file.
7202 * gdb.reverse/rerun-prec.exp: New file.
7203
a25eb028
MR
72042014-07-12 Maciej W. Rozycki <macro@mips.com>
7205 Maciej W. Rozycki <macro@codesourcery.com>
7206
7207 * lib/gdb-utils.exp: New file.
7208 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
7209 inline `gdb_init_command' processing.
7210 (gdb_start_cmd): Likewise.
7211 * lib/mi-support.exp (mi_run_cmd): Likewise.
7212 * README: Document `gdb_init_command' and `gdb_init_commands'.
7213
218c2655
JK
72142014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7215
7216 Fix false FAIL running under a very long directory name.
7217 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
7218 and "set print elements 10000". Twice.
7219
5401fde3
YQ
72202014-07-11 Yao Qi <yao@codesourcery.com>
7221
7222 * gdb.base/exprs.exp: "set print symbol off".
7223
e76126e8
PA
72242014-07-11 Pedro Alves <palves@redhat.com>
7225
7226 * gdb.threads/kill.c: New file.
7227 * gdb.threads/kill.exp: New file.
7228
2d6f0de6
YQ
72292014-07-10 Yao Qi <yao@codesourcery.com>
7230
7231 * gdb.trace/tfile.c (write_basic_trace_file)
7232 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7233 address written to trace file.
7234
7180e04a
PA
72352014-07-09 Pedro Alves <palves@redhat.com>
7236
7237 * gdb.base/attach-wait-input.exp: New file.
7238 * gdb.base/attach-wait-input.c: New file.
7239
9a9a7608
AB
72402014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7241
7242 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7243 setting up test structures.
7244 (main): Call new test function.
7245 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7246 test function, continue into test function and walk test
7247 structures.
7248
161ac41e
YQ
72492014-07-02 Yao Qi <yao@codesourcery.com>
7250
7251 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7252 'bar_start' at the beginning of functions 'foo' and 'bar'
7253 respectively.
7254 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7255 instead of 'foo' and 'bar'.
7256
1f267ae3
MM
72572014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7258
7259 * gdb.btrace/segv.exp: New.
7260 * gdb.btrace/segv.c: New.
7261
2b239efb
LM
72622014-07-02 Luis Machado <lgustavo@codesourcery.com>
7263
7264 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7265 instruction.
7266
cf363f18
MW
72672014-06-30 Mark Wielaard <mjw@redhat.com>
7268
7269 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7270 vulture, vilify, villar): New volatile array constants.
7271 (vindictive, vegetation): New const volatile array constants.
7272 * gdb.base/volatile.exp: Test volatile and const volatile array
7273 types.
7274
aebf9d24
AA
72752014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7276
7277 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7278 target lacks support for awatch, rwatch, or hbreak.
7279
b67a2c6f
YQ
72802014-06-27 Yao Qi <yao@codesourcery.com>
7281
7282 * gdb.multi/dummy-frame-restore.exp: New.
7283 * gdb.multi/dummy-frame-restore.c: New.
7284
aef92902
MM
72852014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7286
7287 * gdb.btrace/gcore.exp: New.
7288
8e9db26e
PA
72892014-06-23 Pedro Alves <palves@redhat.com>
7290
7291 * gdb.base/watchpoint-reuse-slot.c: New file.
7292 * gdb.base/watchpoint-reuse-slot.exp: New file.
7293
70afc5b7
SC
72942014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7295
7296 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7297 progspace's filename in 'info', 'enable' and 'disable' command
7298 tests.
7299
b972bd9c
JK
73002014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7301
7302 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7303 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7304 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7305
125f8a3d
GB
73062014-06-20 Gary Benson <gbenson@redhat.com>
7307
7308 * gdb.arch/i386-avx.exp: Fix include file location.
7309 * gdb.arch/i386-sse.exp: Likewise.
7310
3ed9baed
IB
73112014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7312
7313 * gdb.dlang/expression.exp: New file.
7314
034f788c
PA
73152014-06-19 Pedro Alves <palves@redhat.com>
7316
7317 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7318 out from ...
7319 (top level): ... here. Iterate running tests under different
7320 scheduler-locking settings.
7321
45371d0c
LM
73222014-06-18 Luis Machado <lgustavo@codesourcery.com>
7323
7324 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7325 to DW_FORM_addr and use non-zero addresses.
7326
5d376983
SC
73272014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7328
7329 PR gdb/17017
7330 * gdb.python/py-xmethods.cc: Add global function call counters and
7331 increment them in their respective functions. Remove "cout"
7332 statements.
7333 * gdb.python/py-xmethods.exp: Make tests check the global function
7334 call counters instead of depending on inferior IO.
7335
a1aa2221
LM
73362014-06-18 Don Breazeal <donb@codesourcery.com>
7337
7338 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7339 Deleted procedure.
7340 (explicit_fork_parent_follow): Deleted procedure.
7341 (explicit_fork_child_follow): Deleted procedure.
7342 (test_follow_fork): New procedure.
7343 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 7344 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
7345 procedure calls.
7346
0fc05997
YQ
73472014-06-17 Yao Qi <yao@codesourcery.com>
7348
7349 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7350 CP1252.
7351
70795c52
LM
73522014-06-17 Luis Machado <lgustavo@codesourcery.com>
7353
7354 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7355 Initialize ptr and S explicitly.
7356 (skip_type_update_when_not_use_rtti_test): Likewise.
7357
6be47f0c
KS
73582014-06-16 Keith Seitz <keiths@redhat.com>
7359
7360 PR mi/15863
7361 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7362 the inferior is started.
7363
d03de421
PA
73642014-06-16 Pedro Alves <palves@redhat.com>
7365
7366 * gdb.base/break-main-file-remove-fail.c: New file.
7367 * gdb.base/break-main-file-remove-fail.exp: New file.
7368 * gdb.base/break-unload-file.exp: Use build_executable instead of
7369 prepare_for_testing.
7370 (test_break): New parameter "initial_load". Handle it.
7371 (top level): Add initial_load cmdline/file axis.
7372
f9579b99
TT
73732014-06-12 Tom Tromey <tromey@redhat.com>
7374
7375 * gdb.base/completion.exp: Don't use directory name in test.
7376
3657956b
GB
73772014-06-09 Gary Benson <gbenson@redhat.com>
7378
7379 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7380 separate the always-available ANSI-standard signals from the
7381 signals that require checking.
7382 (main): Likewise.
7383 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7384 Likewise.
7385 (main): Likewise.
7386
4186eb54
KS
73872014-06-07 Keith Seitz <keiths@redhat.com>
7388
7389 Revert:
7390 PR c++/16253
7391 * gdb.cp/var-tag.cc: New file.
7392 * gdb.cp/var-tag.exp: New file.
7393 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7394 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7395 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7396 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7397
25326a28 73982014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
7399
7400 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7401
829155c9
PA
74022014-06-06 Pedro Alves <palves@redhat.com>
7403
7404 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7405 in target debug output instead of looking at RSP packets,
7406 disabling the test on any target that uses hardware stepping.
7407 Update comments.
7408
61c8d22e
PA
74092014-06-06 Pedro Alves <palves@redhat.com>
7410
7411 * gdb.base/break-unload-file.exp: Fix typo.
7412
d9a47287
YQ
74132014-06-06 Yao Qi <yao@codesourcery.com>
7414
7415 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7416 from "jit_function" to "^jit_function".
7417
e5e01dbf
YQ
74182014-06-06 Yao Qi <yao@codesourcery.com>
7419
7420 * gdb.base/async.c (foo): Add one statement.
7421 * gdb.base/async.exp: Get the next instruction address and
7422 match the output of "nexti" by instruction address. Match
7423 the hex address in the output of "finish".
7424
73ba372c
GB
74252014-06-06 Gary Benson <gbenson@redhat.com>
7426
7427 * gdb.base/call-signals.c: Remove preprocessor conditionals
7428 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7429 SIGSEGV and SIGTERM.
7430 * gdb.base/sigall.c: Likewise.
7431 * gdb.base/unwindonsignal.c: Likewise.
7432 * gdb.reverse/sigall-reverse.c: Likewise.
7433
831517df
YQ
74342014-06-06 Yao Qi <yao@codesourcery.com>
7435
7436 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7437 readable, skip the test.
7438
b8b91e98
YQ
74392014-06-06 Yao Qi <yao@codesourcery.com>
7440
7441 * gdb.threads/staticthreads.c (thread_function): Move the line
7442 setting breakpoint on forward.
7443 * gdb.threads/staticthreads.exp: Update comments.
7444
fb934770
LC
74452014-06-05 Ludovic Courtès <ludo@gnu.org>
7446
7447 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7448 "history-append! type error".
7449
6ef284bd
SM
74502014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7451
7452 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7453 erroneous dprintf expected input.
7454
a872e241
DE
74552014-06-04 Doug Evans <xdje42@gmail.com>
7456
7457 * gdb.guile/scm-generics.exp: Delete.
7458
16f691fb
DE
74592014-06-04 Doug Evans <xdje42@gmail.com>
7460
7461 * gdb.guile/scm-breakpoint.exp: Update.
7462 Add tests for breakpoint registration.
7463
012370f6
TT
74642014-06-04 Tom Tromey <tromey@redhat.com>
7465
7466 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7467 VLA-in-union.
7468 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7469 inner_vla_struct, vla_union types. Initialize objects of those
7470 types and compute their sizes.
7471
9f5a4cef
HZ
74722014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7473 Hui Zhu <hui@codesourcery.com>
7474
7475 * gdb.base/fileio.exp: Add test for shell not available as well as
7476 available.
7477 * gdb.base/fileio.c (test_system): Check for shell twice.
7478
90a45c4d
YQ
74792014-06-04 Yao Qi <yao@codesourcery.com>
7480
7481 * gdb.base/auto-connect-native-target.exp: Remove redundant
7482 space from the regexp pattern.
7483
70017e41
YQ
74842014-06-04 Yao Qi <yao@codesourcery.com>
7485
7486 * gdb.base/default.exp: Replace "child" with "native" in
7487 regexp pattern.
7488
883964a7
SC
74892014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7490
7491 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7492 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7493 * gdb.python/py-xmethods.py: Python script supporting the
7494 new testcase and tests.
7495
ef370185
JB
74962014-06-03 Joel Brobecker <brobecker@adacore.com>
7497 Pedro Alves <palves@redhat.com>
7498
7499 PR breakpoints/17000
7500 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7501 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7502
1e2ccb61
BM
75032014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7504
7505 * gdb.base/subst.exp: Add tests to verify partial path matching
7506 output.
7507
c6ec5ab2
PA
75082014-06-03 Pedro Alves <palves@redhat.com>
7509
7510 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7511 target that doesn't use software single-stepping.
7512
835c559f
PA
75132014-06-03 Pedro Alves <palves@redhat.com>
7514
7515 PR breakpoints/17000
7516 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7517 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7518
06eb1586
DE
75192014-06-02 Doug Evans <xdje42@gmail.com>
7520
7521 * gdb.guile/scm-parameter.exp: New file.
7522
e698b8c4
DE
75232014-06-02 Doug Evans <xdje42@gmail.com>
7524
7525 * gdb.guile/scm-cmd.c: New file.
7526 * gdb.guile/scm-cmd.exp: New file.
7527
ded03782
DE
75282014-06-02 Doug Evans <xdje42@gmail.com>
7529
7530 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7531 pretty-printer lookup.
7532 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7533 (make-pp_s-printer): Call it.
7534 (make-pretty-printer-from-dict): New function.
7535 (lookup-pretty-printer-maker-from-dict): New function.
7536 (*pretty-printer*): Simplify.
7537 (make-objfile-pp_s-printer): New function.
7538 (install-objfile-pretty-printers!): New function.
7539 (make-progspace-pp_s-printer): New function.
7540 (install-progspace-pretty-printers!): New function.
7541 * gdb.guile/scm-progspace.c: New file.
7542 * gdb.guile/scm-progspace.exp: New file.
7543
41fac0cf
PA
75442014-06-02 Pedro Alves <palves@redhat.com>
7545
7546 * gdb.base/dprintf-bp-same-addr.c: New file.
7547 * gdb.base/dprintf-bp-same-addr.exp: New file.
7548
96ae5695
EBM
75492014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7550
7551 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7552 * gdb.arch/powerpc-power.s: Likewise.
7553
da02b3a8
JB
75542014-06-02 Joel Brobecker <brobecker@adacore.com>
7555
7556 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7557
c72b2e7b
YQ
75582014-06-01 Yao Qi <yao@codesourcery.com>
7559
7560 * gdb.base/watchpoint.exp (test_watch_location): Check null
7561 pointer can be dereferenced. If not, do the test, otherwise
7562 skip it.
7563
53e8a631
AB
75642014-05-30 Andrew Burgess <aburgess@broadcom.com>
7565
7566 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7567 results.
7568 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7569
938f0e2f
AB
75702014-05-30 Andrew Burgess <aburgess@broadcom.com>
7571
7572 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7573 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7574 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7575 * gdb.arch/amd64-invalid-stack-top.c: New file.
7576 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7577
9ba6657a
PA
75782014-05-30 Pedro Alves <palves@redhat.com>
7579
7580 PR breakpoints/17000
7581 * gdb.base/sss-bp-on-user-bp.c: New file.
7582 * gdb.base/sss-bp-on-user-bp.exp: New file.
7583
522c09bf
DB
75842014-05-30 David Blaikie <dblaikie@gmail.com>
7585
7586 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7587 gnu_inline semantics via attribute.
7588 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7589 source explicitly specifies the required semantics.
7590
bf4ef81e
MR
75912014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7592
7593 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7594
329ea579
PA
75952014-05-29 Pedro Alves <palves@redhat.com>
7596 Tom Tromey <tromey@redhat.com>
7597
7598 * gdb.base/async-shell.exp: Don't enable target-async.
7599 * gdb.base/async.exp
7600 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7601 parameter. Adjust.
7602 (top level): Don't test with "target-async".
7603 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7604 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7605 * gdb.base/inferior-died.exp: Don't enable target-async.
7606 * gdb.base/interrupt-noterm.exp: Likewise.
7607 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7608 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7609 * gdb.mi/mi-nonstop.exp: Likewise.
7610 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7611 * gdb.mi/mi-nsintrall.exp: Likewise.
7612 * gdb.mi/mi-nsmoribund.exp: Likewise.
7613 * gdb.mi/mi-nsthrexec.exp: Likewise.
7614 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7615 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7616 * gdb.python/py-evsignal.exp: Don't enable target-async.
7617 * gdb.python/py-evthreads.exp: Likewise.
7618 * gdb.python/py-prompt.exp: Likewise.
7619 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7620 * gdb.server/solib-list.exp: Don't enable target-async.
7621 * gdb.threads/thread-specific-bp.exp: Likewise.
7622 * lib/mi-support.exp: Adjust to use mi-async.
7623
fd664c91
PA
76242014-05-29 Pedro Alves <palves@redhat.com>
7625
7626 PR gdb/13860
7627 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7628 reason, even in sync mode.
7629
251bde03
PA
76302014-05-29 Pedro Alves <palves@redhat.com>
7631 Hui Zhu <hui@codesourcery.com>
7632
7633 PR PR15693
7634 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7635 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7636 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7637 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7638
7f3c0343
JB
76392014-05-28 Joel Brobecker <brobecker@adacore.com>
7640
7641 * config/monitor.exp (gdb_target_monitor): Replace use of
7642 "set remotebaud" by "set serial baud".
7643
b2715b27
AW
76442014-05-26 Andy Wingo <wingo@igalia.com>
7645
7646 * gdb.guile/scm-breakpoint.exp:
7647 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7648 properties instead of gdb-object-properties.
7649
498a4489
YQ
76502014-05-26 Yao Qi <yao@codesourcery.com>
7651
7652 * gdb.server/no-thread-db.exp: Specify source file name
7653 explicitly when setting a breakpoint.
7654
589fdceb
MM
76552014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7656
7657 * gdb.btrace/vdso.c: New.
7658 * gdb.btrace/vdso.exp: New.
7659
e9089e05
MM
76602014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7661
7662 * gdb.base/gcore.exp (capture_command_output): Move ...
7663 * lib/gdb.exp (capture_command_output): ... here.
7664
67b5c0c1
MM
76652014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7666
7667 * gdb.btrace/data.exp: Test memory access during btrace replay.
7668
a2199296
SM
76692014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7670
7671 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7672
17b2616c
PA
76732014-05-21 Pedro Alves <palves@redhat.com>
7674
7675 PR gdb/13860
7676 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7677 (top level): Test that output related to execution commands is
7678 sent to the console with CLI commands, but not with MI commands.
7679 Test that breakpoint events are always mirrored to the console.
7680 Also expect the new source line to be output after a "next" in
7681 async mode too. Make it a pass/fail test.
7682 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7683 output.
7684 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7685
5166082f
PA
76862014-05-21 Pedro Alves <palves@redhat.com>
7687
7688 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7689 Use them to test variations of "list" after reaching a breakpoint.
7690 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7691 Test "list" with listsize 10 after reaching a breakpoint.
7692 * gdb.python/python.exp (decode_line current location line
7693 number): Adjust expected line number.
7694
2f25d70f
SM
76952014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7696
7697 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7698 behavior for $args, pass it directly to "run".
7699
ff604a67
MR
77002014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7701
7702 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7703 30000 to 65536.
7704
6a3cb8e8
PA
77052014-05-21 Pedro Alves <palves@redhat.com>
7706
7707 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7708 auto-connect-native-target off".
7709 * gdb.base/auto-connect-native-target.c: New file.
7710 * gdb.base/auto-connect-native-target.exp: New file.
7711
4ebfc96e
PA
77122014-05-21 Pedro Alves <palves@redhat.com>
7713
7714 * gdb.base/default.exp: Test "target native" instead of "target
7715 child".
7716
36d46afb
MW
77172014-05-21 Mark Wielaard <mjw@redhat.com>
7718
7719 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7720
5876f503
JK
77212014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7722
7723 Fix TLS access for -static -pthread.
7724 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7725 <HAVE_TLS> (thread_function, main): Initialize it.
7726 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7727 Add clean_restart.
7728 <$have_tls != "">: Check TLSVAR.
7729
0256a6ac
PA
77302014-05-21 Pedro Alves <palves@redhat.com>
7731
7732 * gdb.base/dcache-line-read-error.c: New.
7733 * gdb.base/dcache-line-read-error.exp: New.
7734
936d2992
PA
77352014-05-20 Pedro Alves <palves@redhat.com>
7736
7737 * gdb.base/compare-sections.c: New file.
7738 * gdb.base/compare-sections.exp: New file.
7739
802e8e6d
PA
77402014-05-20 Pedro Alves <palves@redhat.com>
7741
7742 * gdb.base/break-idempotent.c: New file.
7743 * gdb.base/break-idempotent.exp: New file.
7744
e59fa00f
MM
77452014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7746
7747 * gdb.btrace/nohist.exp: New.
7748
8b696e31
YQ
77492014-05-20 Yao Qi <yao@codesourcery.com>
7750
7751 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7752 gdb.reverse directory and gdb_reverse_timeout exists in board
7753 setting.
7754 * README: Document gdb_reverse_timeout.
7755
73c9764f
YQ
77562014-05-20 Yao Qi <yao@codesourcery.com>
7757
7758 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7759 'test_file_name'. Treat args as a string instead of a list.
7760 (gdb_init): Rename argument 'args' by 'test_file_name'.
7761
f1f4348a
JK
77622014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7763
7764 * gdb.arch/powerpc-power.exp: New file.
7765 * gdb.arch/powerpc-power.s: New file.
7766
0dbe70ce
DE
77672014-05-16 Doug Evans <dje@google.com>
7768
7769 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
7770 * gdb.base/completion.exp: Check that all expected files exist
7771 before doing file completion.
0dbe70ce 7772
8d551b02
DE
77732014-05-16 Doug Evans <dje@google.com>
7774
7775 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7776 Update.
7777 (do_syscall_tests_without_xml): Update.
7778
73eb7709
PA
77792014-05-16 Pedro Alves <palves@redhat.com>
7780
7781 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7782 instead of "unknown output after running".
7783
3fae92fc
YQ
77842014-05-16 Yao Qi <yao@codesourcery.com>
7785
7786 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7787 file1.txt from host at the end.
7788 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7789
c2b2ccc5
DE
77902014-05-15 Doug Evans <dje@google.com>
7791
7792 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7793 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7794 loading file. Add test for TU lookup.
7795
8c217a4b
SM
77962014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7797
7798 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7799 calling "-exec-arguments" or "set args" before running the
7800 inferior.
7801
3deb39c6
SM
78022014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7803
7804 * lib/mi-support.exp (mi_expect_stop): Expect message for
7805 inferiors that exit with non-zero exit code.
7806
71a79f8c
YQ
78072014-05-14 Yao Qi <yao@codesourcery.com>
7808
7809 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7810 match absolute path on remote host.
7811 (test_file_list_exec_source_files): Remove "/" from the
7812 pattern.
7813
f23fcd46
YQ
78142014-05-14 Yao Qi <yao@codesourcery.com>
7815
7816 * boards/local-remote-host-notty.exp (${board}_file): New
7817 proc.
7818
9404b58f
KM
78192014-05-07 Kyle McMartin <kyle@redhat.com>
7820
7821 Pushed by Joel Brobecker <brobecker@adacore.com>.
7822 * gdb.arch/aarch64-atomic-inst.c: New file.
7823 * gdb.arch/aarch64-atomic-inst.exp: New file.
7824
5e45f04c
YQ
78252014-05-07 Yao Qi <yao@codesourcery.com>
7826
7827 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7828 in current context" too.
7829
c888a17d
KS
78302014-05-05 Keith Seitz <keiths@redhat.com>
7831
7832 * gdb.linespec/ls-dollar.exp: Add test for linespec
7833 file:convenience_variable.
7834
290a839c
YQ
78352014-05-05 Yao Qi <yao@codesourcery.com>
7836
7837 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7838 traceframes into tfile and ctf trace files. Read data from
7839 trace file and test collected data.
7840 (gdb_collect_locals_test): Likewise.
7841 (gdb_unavailable_registers_test): Likewise.
7842 (gdb_unavailable_floats): Likewise.
7843 (gdb_collect_globals_test): Likewise.
7844 (top-level): Append "ctf" to trace_file_targets if GDB
7845 supports.
7846
b5262cd0
YQ
78472014-05-05 Yao Qi <yao@codesourcery.com>
7848
7849 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7850 code to ...
7851 (gdb_collect_args_test_1): ... it. New proc.
7852 (gdb_collect_locals_test): Move some code to ...
7853 (gdb_collect_locals_test_1): ... it. New proc.
7854 (gdb_unavailable_registers_test): Move some code to ...
7855 (gdb_unavailable_registers_test_1): ... it. New proc.
7856 (gdb_unavailable_floats): Move some code to ...
7857 (gdb_unavailable_floats_1): ... it. New proc.
7858
30a1e6cc
SDJ
78592014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7860
7861 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7862 probes to test for bitness recognition.
7863 * gdb.arch/amd64-stap-optional-prefix.exp
7864 (test_probe_value_without_reg): New procedure.
7865 Add code to test for different kinds of bitness.
7866
f33da99a
SDJ
78672014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7868
7869 PR breakpoints/16889
7870 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7871 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7872
5b80f00d
PA
78732014-05-01 Pedro Alves <palves@redhat.com>
7874
7875 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7876 gdb_file_cmd if no file is specified.
7877 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7878 last_loaded_file to set the remote exec-file.
7879
f8c2a73c
PA
78802014-05-01 Pedro Alves <palves@redhat.com>
7881
7882 * boards/local-remote-host.exp: New file.
7883
be6e8ac7
PA
78842014-05-01 Pedro Alves <palves@redhat.com>
7885
7886 * boards/local-remote-host.exp: Rename to ...
7887 * boards/local-remote-host-notty.exp: ... this.
7888
cac0dc8f
JB
78892014-04-28 Joel Brobecker <brobecker@adacore.com>
7890
7891 * gdb.ada/dyn_arrayidx: New testcase.
7892
9730e6cc
YQ
78932014-04-26 Yao Qi <yao@codesourcery.com>
7894
7895 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7896 and compute the length of function main. Save it in
7897 $main_length.
7898 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7899 (top-level): Use gdb_compile to compile objects into
7900 executable and restart GDB. Remove invocation to
7901 prepare_for_testing.
7902
7ae1a6a6
PA
79032014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7904 Pedro Alves <palves@redhat.com>
7905
7906 PR server/16255
7907 * gdb.multi/multi-attach.c: New file.
7908 * gdb.multi/multi-attach.exp: New file.
7909
4082afcc
PA
79102014-04-25 Pedro Alves <palves@redhat.com>
7911
7912 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7913 user.
7914 (top level): Test that "set remote conditional-breakpoints-packet
7915 off" works as intended.
7916 * gdb.base/dprintf.exp: Test that "set remote
7917 breakpoint-commands-packet off" works as intended.
7918 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7919 New function.
7920 (top level): Call it.
7921 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7922 remote fast-tracepoints-packet off" works as intended.
7923 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7924 * lib/gdb.exp (gdb_is_target_remote): ... here.
7925
2abc3f8d
DB
79262014-04-24 David Blaikie <dblaikie@gmail.com>
7927
7928 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7929 ensure clang would not discard them.
7930 * gdb.base/gdbvars.c: Ditto.
7931 * gdb.base/memattr.c: Ditto.
7932 * gdb.base/whatis.c: Ditto.
7933 * gdb.python/py-prettyprint.c: Ditto.
7934 * gdb.trace/actions.c: Ditto.
7935 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7936 ensure clang would not discard it.
7937
bfd39632
DB
79382014-04-24 David Blaikie <dblaikie@gmail.com>
7939
7940 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7941 clang to emit the full definition of type required by the test
7942 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7943
22842ff6
DB
79442014-04-24 David Blaikie <dblaikie@gmail.com>
7945
7946 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7947 coax Clang into emitting the definition of the type.
7948 * gdb.cp/pr10728-x.h (y): Ditto.
7949 * gdb.cp/pr10728-y.cc (y): Ditto.
7950
c2e827ad
DB
79512014-04-24 David Blaikie <dblaikie@gmail.com>
7952
7953 * gdb.base/label.exp: XFAIL label related tests under Clang.
7954 * gdb.cp/cplabel.exp: Ditto.
7955 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7956 under Clang those using labels.
7957
4c2d33e7
YQ
79582014-04-25 Yao Qi <yao@codesourcery.com>
7959
7960 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7961 double_label.
7962 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7963 partial_label and double_label.
7964
56083b99
DB
79652014-04-24 David Blaikie <dblaikie@gmail.com>
7966
7967 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7968
25d4e99d
DB
79692014-04-24 David Blaikie <dblaikie@gmail.com>
7970
7971 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7972 of the function to work across GCC and Clang.
7973 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7974 pointer types (const void ** const V void **).
7975
01f9f808
MS
79762014-04-24 Michael Sturm <michael.sturm@mintel.com>
7977 Walfred Tedeschi <walfred.tedeschi@intel.com>
7978
7979 * Makefile.in (EXECUTABLES): Added i386-avx512.
7980 * gdb.arch/i386-avx512.c: New file.
7981 * gdb.arch/i386-avx512.exp: Likewise.
7982
4b48d439
KS
79832014-04-23 Keith Seitz <keiths@redhat.com>
7984
7985 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7986 (mi_make_breakpoint_table): New procedure.
7987 (mi_create_breakpoint): Use mi_make_breakpoint
7988 and return the result.
7989 (mi_make_breakpoint): New procedure.
7990 (mi_build_kv_pairs): New procedure.
7991
7992 * gdb.mi/mi-break.exp: Remove unused globals,
7993 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7994 All callers updated.
7995 * gdb.mi/mi-dprintf.exp: Use variable to track command
7996 number.
7997 Update all callers of mi_create_breakpoint and use
7998 mi_make_breakpoint_table.
7999 Remove any unused global variables.
8000 * gdb.mi/mi-nonstop.exp: Likewise.
8001 * gdb.mi/mi-nsintrall.exp: Likewise.
8002 * gdb.mi/mi-nsmoribund.exp: Likewise.
8003 * gdb.mi/mi-nsthrexec.exp: Likewise.
8004 * gdb.mi/mi-reverse.exp: Likewise.
8005 * gdb.mi/mi-simplerun.exp: Likewise.
8006 * gdb.mi/mi-stepn.exp: Likewise.
8007 * gdb.mi/mi-syn-frame.exp: Likewise.
8008 * gdb.mi/mi-until.exp: Likewise.
8009 * gdb.mi/mi-var-cp.exp: Likewise.
8010 * gdb.mi/mi-var-display.exp: Likewise.
8011 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
8012 * gdb.mi/mi2-var-child.exp: Likewise.
8013 * gdb.mi/mi-vla-c99.exp: Likewise.
8014 * lib/mi-support.exp: Likewise.
8015
8016 From Ian Lance Taylor <iant@cygnus.com>:
8017 * lib/gdb.exp (parse_args): New procedure.
8018
08351840
PA
80192014-04-23 Pedro Alves <palves@redhat.com>
8020
8021 * gdb.base/break-unload-file.c: New file.
8022 * gdb.base/break-unload-file.exp: New file.
8023 * gdb.base/sym-file-lib.c (baz): New function.
8024 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
8025 field.
8026 (load): Store the segment's mapped size.
8027 (unload): New function.
8028 (unload_shlib): New function.
8029 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
8030 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
8031 set a breakpoint at baz, and call it.
8032 * gdb.base/sym-file.exp: New tests for stale breakpoint
8033 instructions.
8034
076855f9
PA
80352014-04-23 Pedro Alves <palves@redhat.com>
8036
8037 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
8038 * gdb.base/hbreak-in-shr-unsupported.c: New file.
8039 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
8040 * gdb.base/hbreak-unmapped.c: New file.
8041 * gdb.base/hbreak-unmapped.exp: New file.
8042 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
8043 * lib/gdb.exp (gdb_is_target_remote): ... here.
8044
483805cf
PA
80452014-04-22 Pedro Alves <palves@redhat.com>
8046
8047 * gdb.base/consecutive-step-over.c: New file.
8048 * gdb.base/consecutive-step-over.exp: New file.
8049
06d97543
PA
80502014-04-22 Pedro Alves <palves@redhat.com>
8051
8052 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
8053 instead of send_gdb/gdb_expect.
8054
b4429ea2
YQ
80552014-04-22 Yao Qi <yao@codesourcery.com>
8056
8057 * lib/trace-support.exp (generate_tracefile): New procedure.
8058 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
8059 return 0.
8060 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
8061 if generate_tracefile returns 1.
8062
51d48146
PA
80632014-04-18 Tom Tromey <palves@redhat.com>
8064 Pedro alves <tromey@redhat.com>
8065
8066 PR backtrace/15558
8067 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
8068 with a backtrace limit.
8069 * gdb.python/py-frame-inline.exp: Test running to an inline
8070 function with a backtrace limit, and printing the newest frame.
8071 * gdb.python/py-frame-inline.c (main): Call f.
8072
bd1dce5f
MS
80732014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8074
8075 * gdb.java/jnpe.exp: Drop srcdir from untested path.
8076
40d1a503
MS
80772014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8078
8079 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
8080 Drop prefix from unsupported source file path.
8081
389b98f7
YQ
80822014-04-17 Yao Qi <yao@codesourcery.com>
8083
8084 * lib/gdb.exp (with_target_charset): New proc.
8085 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
8086 with_target_charset.
8087 (test_print_strings): Likewise.
8088 (test_repeat_bytes): Likewise.
8089 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
8090 for some tests.
8091
22869d73
KS
80922014-04-16 Keith Seitz <keiths@redhat.com>
8093
8094 PR gdb/15827
8095 * gdb.dwarf2/corrupt.c: New file.
8096 * gdb.dwarf2/corrupt.exp: New file.
8097
c4f87ca6
KS
80982014-04-16 Keith Seitz <keiths@redhat.com>
8099
8100 PR c++/16597
8101 * gdb.cp/namelessclass.cc: New file.
8102 * gdb.cp/namelessclass.exp: New file.
8103 * gdb.cp/namelessclass.S: New file.
8104
ab19de87
DE
81052014-04-16 Doug Evans <dje@google.com>
8106
8107 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
8108 Add comment.
8109 (gdbserver_default_get_comm_port): New function.
8110 (gdbserver_start): Check if board file provided
8111 "gdbserver,get_comm_port" and use it if so.
8112 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
8113 (gdb,socketport): Set to "stdio".
8114 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
8115 (stdio_gdbserver_template): Delete.
8116 (${board}_get_remote_address): Update.
8117 (${board}_build_remote_cmd): Delete.
8118 (${board}_get_comm_port): New function.
8119 (${board}_spawn): Update.
8120 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
8121 Delete.
8122 (${board}_get_remote_address): Update.
8123 (${board}_get_comm_port): New function.
8124
fc98a809
AB
81252014-04-16 Andrew Burgess <aburgess@broadcom.com>
8126
8127 * gdb.base/memattr.exp: Improve regexps to handle memory regions
8128 appearing in any order.
8129
87fd9e6e
DE
81302014-04-15 Doug Evans <dje@google.com>
8131
8132 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
8133 uninitialized value of "description".
8134
099fc3ea
KS
81352014-04-15 Keith Seitz <keiths@redhat.com>
8136
8137 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
8138 Remove unused globals.
8139 (test_running_the_program): Likewise.
8140 (test_controlled_execution): Likewise.
8141 (test_controlling_breakpoints): Likewise.
8142 (test_program_termination): Likewise.
8143
5da151d4
KS
81442014-04-15 Keith Seitz <keiths@redhat.com>
8145
8146 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
8147 unused globals.
8148 (test_rbreak_creation_and_listing): Likewise.
8149 (test_ignore_count): Likewise.
8150 (test_error): Likewise.
8151
35e5d2f0
PA
81522014-04-15 Pedro Alves <palves@redhat.com>
8153
8154 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
8155 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
8156 sym-file-loader.c.
8157 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8158 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8159 to sym-file-loader.c.
8160 (struct library): Forward declare.
8161 (load_shlib, lookup_function): Change prototypes.
8162 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8163 (translate_offset): Remove declarations.
8164 (get_text_addr): New declaration.
8165 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
8166 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
8167 sym-file-loader.h.
8168 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8169 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8170 here from sym-file-loader.h.
8171 (struct library): New structure.
8172 (load_shlib, lookup_function): Change prototypes and adjust to
8173 work with a struct library.
8174 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8175 (translate_offset): Make static.
8176 (get_text_addr): New function.
8177 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
8178
eb4c1710
PA
81792014-04-15 Pedro Alves <palves@redhat.com>
8180
8181 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
8182
2d1baf52
PA
81832014-04-15 Pedro Alves <palves@redhat.com>
8184
8185 * gdb.base/sym-file-loader.c: Include <limits.h>.
8186 (SELF_LINK): New define.
8187 (get_origin): New function.
8188 (load_shlib): Use it.
8189 * gdb.base/sym-file.exp: Don't early return if the target is
8190 remote. Use runto_main, and issue fail is that fails. Use
8191 gdb_load_shlibs.
8192 (shlib_name): Delete.
8193 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
8194
7dd6df01
PA
81952014-04-15 Pedro Alves <palves@redhat.com>
8196
8197 * gdb.base/sym-file.exp: Remove regex characters from test
8198 message. Don't refer to breakpoint numbers in test messages.
8199
b50c8614
KS
82002014-04-14 Keith Seitz <keiths@redhat.com>
8201
8202 PR c++/16253
8203 * gdb.cp/var-tag.cc: New file.
8204 * gdb.cp/var-tag.exp: New file.
8205 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8206 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8207 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8208 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8209
3d567982
TT
82102014-04-14 Tom Tromey <tromey@redhat.com>
8211
8212 * gdb.cp/classes.exp (test_enums): Handle underlying type.
8213 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
8214 type.
8215 * gdb.cp/enum-class.exp: New file.
8216 * gdb.cp/enum-class.cc: New file.
8217
0626fc76
TT
82182014-04-14 Tom Tromey <tromey@redhat.com>
8219
8220 * gdb.dwarf2/enum-type.exp: New file.
8221
dca325b3
SA
82222014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8223
8224 * gdb.mi/mi-vla-c99.exp: New file.
8225 * gdb.mi/vla.c: New file.
8226
5854b38a
SA
82272014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8228
8229 * gdb.base/vla-datatypes.c: New file.
8230 * gdb.base/vla-datatypes.exp: New file.
8231
463bb957
SA
82322014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8233
8234 * gdb.base/vla-ptr.c: New file.
8235 * gdb.base/vla-ptr.exp: New file.
8236
3dd170be
SA
82372014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8238
8239 * gdb.dwarf2/count.exp: New file.
8240
5ecaaa66
SA
82412014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8242
8243 * gdb.base/vla-sideeffect.c: New file.
8244 * gdb.base/vla-sideeffect.exp: New file.
8245
41f1ada5
DB
82462014-04-14 David Blaikie <dblaikie@gmail.com>
8247
8248 * gdb.mi/non-stop.c: Add return value for non-void function return
8249 statement.
8250 * gdb.threads/staticthreads.c: Ditto.
8251
0be03e84
DE
82522014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8253 Doug Evans <xdje42@gmail.com>
8254
8255 * gdb.guile/scm-value.c: Improve test case.
8256 * gdb.guile/scm-value.exp: Add new test.
8257
f180a1fb
DB
82582014-04-11 David Blaikie <dblaikie@gmail.com>
8259
8260 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8261 override Clang's default.
8262
6b662e19
JB
82632014-04-11 Joel Brobecker <brobecker@adacore.com>
8264
8265 Revert the following changes (regressions):
8266
8267 * gdb.base/vla-sideeffect.c: New file.
8268 * gdb.base/vla-sideeffect.exp: New file.
8269
8270 * gdb.dwarf2/count.exp: New file.
8271
8272 * gdb.base/vla-multi.c: New file.
8273 * gdb.base/vla-multi.exp: New file.
8274
8275 * gdb.base/vla-ptr.c: New file.
8276 * gdb.base/vla-ptr.exp: New file.
8277
8278 * gdb.base/vla-datatypes.c: New file.
8279 * gdb.base/vla-datatypes.exp: New file.
8280
8281 * gdb.mi/mi-vla-c99.exp: New file.
8282 * gdb.mi/vla.c: New file.
8283
245a5f0b
KS
82842014-04-11 Keith Seitz <keiths@redhat.com>
8285
8286 PR c++/16675
8287 * gdb.cp/cpsizeof.exp: New file.
8288 * gdb.cp/cpsizeof.cc: New file.
8289
58a84dcf
SA
82902014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8291
191a8a90
JB
8292 * gdb.mi/mi-vla-c99.exp: New file.
8293 * gdb.mi/vla.c: New file.
58a84dcf 8294
c8655f75
SA
82952014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8296
8297 * gdb.base/vla-datatypes.c: New file.
8298 * gdb.base/vla-datatypes.exp: New file.
8299
024e13b4
SA
83002014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8301
8302 * gdb.base/vla-ptr.c: New file.
8303 * gdb.base/vla-ptr.exp: New file.
8304
1a237e0e
SA
83052014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8306
8307 * gdb.base/vla-multi.c: New file.
8308 * gdb.base/vla-multi.exp: New file.
8309
504f3432
SA
83102014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8311
8312 * gdb.dwarf2/count.exp: New file.
8313
3bce8237
SA
83142014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8315
191a8a90
JB
8316 * gdb.base/vla-sideeffect.c: New file.
8317 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 8318
322f9c21
YQ
83192014-04-11 Yao Qi <yao@codesourcery.com>
8320
8321 * gdb.base/completion.exp: Check file exists before running tests
8322 on file completion.
8323
d708bcd1
PA
83242014-04-10 Pedro Alves <palves@redhat.com>
8325
8326 * gdb.base/cond-eval-mode.c: New file.
8327 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8328 prepare_for_testing to build the new file. Check result of
8329 runto_main.
8330 (test_break, test_watch): New procedures.
8331 (top level): Use them.
8332
ae1d2761
PM
83332014-04-08 Pierre Muller <muller@sourceware.org>
8334
8335 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8336 Ctrl-V use for mingw hosts.
8337
7af389b8
SC
83382014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8339
8340 * gdb.python/py-value.c: Improve test case.
8341 * gdb.python/py-value.exp: Add new test.
8342
5e703181
DE
83432014-04-07 David Blaikie <dblaikie@gmail.com>
8344
8345 * lib/compiler.c: Identify the clang compiler.
8346 * lib/compiler.cc: Ditto.
8347
9810b410
YQ
83482014-04-03 Yao Qi <yao@codesourcery.com>
8349
8350 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8351
98d1b8dc
AB
83522014-04-01 Anton Blanchard <anton@samba.org>
8353
8354 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8355 messages unique.
8356
3114cea1
AB
83572014-04-01 Anton Blanchard <anton@samba.org>
8358
8359 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8360 prepare_for_testing.
8361
62f7182c
AB
83622014-04-01 Anton Blanchard <anton@samba.org>
8363
8364 * gdb.arch/ppc64-atomic-inst.c: Remove.
8365 * gdb.arch/ppc64-atomic-inst.S: New file.
8366 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8367
770e7fc7
DE
83682014-03-31 Doug Evans <dje@google.com>
8369
8370 * gdb.base/print-symbol-loading-lib.c: New file.
8371 * gdb.base/print-symbol-loading-main.c: New file.
8372 * gdb.base/print-symbol-loading.exp: New file.
8373
46e2bafa
YQ
83742014-03-31 Yao Qi <yao@codesourcery.com>
8375
8376 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8377
8776cfe9
JB
83782014-03-28 Joel Brobecker <brobecker@adacore.com>
8379
8380 * gdb.ada/mi_dyn_arr: New testcase.
8381
5d1ef361
DE
83822014-03-27 Doug Evans <dje@google.com>
8383
8384 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8385
b5bee914
YQ
83862014-03-27 Yao Qi <yao@codesourcery.com>
8387
8388 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8389 if target is nios2-*-*.
8390
0d4d0e77
YQ
83912014-03-26 Yao Qi <yao@codesourcery.com>
8392
8393 * lib/gdb.exp (readline_is_used): New proc.
8394 * gdb.base/completion.exp: Move tests on command complete up.
8395 Skip the rest of tests if readline is not used.
8396 * gdb.ada/complete.exp: Skp the test if readline is not
8397 used.
8398 * gdb.base/filesym.exp: Likewise.
8399 * gdb.base/macscp.exp: Likewise.
8400 * gdb.base/readline-ask.exp: Likewise.
8401 * gdb.base/readline.exp: Likewise.
8402 * gdb.python/py-cmd.exp: Likewise.
8403 * gdb.trace/tfile.exp: Likewise.
8404
29361eee
YQ
84052014-03-26 Yao Qi <yao@codesourcery.com>
8406
8407 * gdb.base/macscp.exp: Fix code format issues.
8408
bc9a5525
UW
84092014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8410
8411 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8412 * gdb.asm/powerpc64le.inc: New file.
8413
d3839ede
PA
84142014-03-25 Pedro Alves <palves@redhat.com>
8415 Doug Evans <dje@google.com>
8416
8417 * gdb.base/source-execution.c: New file.
8418 * gdb.base/source-execution.exp: New file.
8419 * gdb.base/source-execution.gdb: New file.
8420
01672a57
DE
84212014-03-24 Doug Evans <dje@google.com>
8422
8423 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8424 using fission.
8425
88bbeca9
HZ
84262014-03-24 Hui Zhu <hui@codesourcery.com>
8427 Pedro Alves <palves@redhat.com>
8428
8429 PR breakpoints/16101
8430 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8431 test pass/fail messages. Detect missing support for dprintf when
8432 breakpoints are actually inserted.
8433 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8434 breakpoints are actually inserted.
8435 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8436 fails.
8437
d2348791
JK
84382014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8439
8440 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8441
feef67ab
DE
84422014-03-22 Doug Evans <xdje42@gmail.com>
8443
8444 * gdb.python/python.exp (python not supported): Verify multi-line
8445 python command issues an error.
25d743f9 8446 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 8447 guile command issues an error.
feef67ab 8448
ecebef6a
MR
84492014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8450
8451 * gdb.threads/thread-specific.exp: Handle the lack of usable
8452 $this_breakpoint and $this_thread.
8453
ccdd1909
HZ
84542014-03-21 Hui Zhu <hui@codesourcery.com>
8455
8456 * gdb.base/attach.exp (do_command_attach_tests): New.
8457
beb460e8
PA
84582014-03-20 Tom Tromey <tromey@redhat.com>
8459 Pedro Alves <palves@redhat.com>
8460
8461 PR cli/15718
8462 * gdb.base/condbreak-call-false.c: New file.
8463 * gdb.base/condbreak-call-false.exp: New file.
8464
40acf43a
PA
84652014-03-20 Pedro Alves <palves@redhat.com>
8466
8467 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8468 Delete.
8469 (block_signals, unblock_signals): Delete.
8470 (child_function_2, main): Remove references to deleted variable
8471 and functions.
8472
9f5e1e02
PA
84732014-03-20 Pedro Alves <palves@redhat.com>
8474
8475 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8476 Use pthread_kill to signal thread 2.
8477 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8478 Adjust to make the test send itself a signal rather than using the
8479 host's "kill" command.
8480
99619bea
PA
84812014-03-20 Pedro Alves <palves@redhat.com>
8482
8483 * gdb.threads/multiple-step-overs.c: New file.
8484 * gdb.threads/multiple-step-overs.exp: New file.
8485 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8486 Adjust expected infrun debug output.
8487
2adfaa28
PA
84882014-03-20 Pedro Alves <palves@redhat.com>
8489
8490 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8491 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8492
31e77af2
PA
84932014-03-20 Pedro Alves <palves@redhat.com>
8494
8495 PR breakpoints/7143
8496 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8497 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8498 of gdb_test_multiple.
8499 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8500 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8501
b9f437de
PA
85022014-03-20 Pedro Alves <palves@redhat.com>
8503
8504 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8505 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8506
05adc73e
PA
85072014-03-19 Pedro Alves <palves@redhat.com>
8508
8509 * gdb.base/async.exp: Remove early return.
8510
6048b950
PA
85112014-03-19 Pedro Alves <palves@redhat.com>
8512
8513 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8514
8bcfb00a
PA
85152014-03-19 Pedro Alves <palves@redhat.com>
8516
8517 * gdb.base/async.exp (test_background): Expect \r\n after
8518 "completed." in the fail pattern.
8519
884e37dc
PA
85202014-03-19 Pedro Alves <palves@redhat.com>
8521
8522 * gdb.base/async.exp (test_background): New procedure.
8523 Use it for all background execution command tests.
8524
148e57e2
PA
85252014-03-19 Pedro Alves <palves@redhat.com>
8526
8527 * gdb.base/async.exp: Use prepare_for_testing.
8528
f48088c7
PA
85292014-03-19 Pedro Alves <palves@redhat.com>
8530
8531 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8532 the same line.
8533
e2f6c966
PA
85342014-03-19 Pedro Alves <palves@redhat.com>
8535
8536 * gdb.base/async.c (main): Add "jump here" and "until here" line
8537 marker comments.
8538 * gdb.base/async.exp (jump_here): New global.
8539 (jump& test): Use it.
8540 (until_here): New global.
8541 (until& test): Use it.
8542
c30568d4
PA
85432014-03-19 Pedro Alves <palves@redhat.com>
8544
8545 * gdb.base/async.exp: Don't frob gdb_protocol.
8546
0172b6a7
DE
85472014-03-18 Doug Evans <xdje42@gmail.com>
8548
8549 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8550 Fix spelling of exec-done-display.
8551
06c868a8
JK
85522014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8553
8554 PR gdb/15358
8555 * gdb.base/gdb-sigterm.c: New file.
8556 * gdb.base/gdb-sigterm.exp: New file.
8557
0c7e1a46
PA
85582014-03-18 Pedro Alves <palves@redhat.com>
8559
8560 PR gdb/13860
8561 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8562 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8563 solib-event.
8564
f7c77d93
JB
85652014-03-17 Joel Brobecker <brobecker@adacore.com>
8566
8567 * gdb.ada/pckd_arr_ren: New testcase.
8568
5a1e8c7a
DE
85692014-03-13 Doug Evans <xdje42@gmail.com>
8570
8571 PR guile/16612
8572 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8573 collect after discarding symbols.
8574
350e1a76
DE
85752014-03-13 Ludovic Courtès <ludo@gnu.org>
8576 Doug Evans <xdje42@gmail.com>
8577
8578 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8579 to history survives a gc.
8580
a69900ae
PA
85812014-03-13 Pedro Alves <palves@redhat.com>
8582
8583 * gdb.base/default.exp: Don't test "target procfs".
8584
5db9f0bd
PA
85852014-03-13 Pedro Alves <palves@redhat.com>
8586
8587 * gdb.base/default.exp: Update "target child" and "target procfs"
8588 tests to not expect "Unix".
8589
b3ccfe11
TT
85902014-03-12 Tom Tromey <tromey@redhat.com>
8591
8592 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8593 New procs. Add target-async tests.
8594 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8595 Add target-async tests.
8596
646f4417
AA
85972014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8598
8599 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8600 'func_start' and 'func_end' for the beginning and end of the
8601 function code, respectively.
8602 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8603 'func_end' instead of 'func' and 'main'.
8604
288c211f
AA
86052014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8606
8607 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8608 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8609 generate the debug info assembler source.
8610
e0c0f156
AA
86112014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8612
8613 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8614 * gdb.dwarf2/arr-subrange.exp: Likewise.
8615 * gdb.dwarf2/dwz.exp: Likewise.
8616 * gdb.dwarf2/method-ptr.exp: Likewise.
8617 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8618 * gdb.dwarf2/subrange.exp: Likewise.
8619 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8620 * gdb.dwarf2/implptrpiece.exp: Likewise.
8621 * gdb.dwarf2/nostaticblock.exp: Likewise.
8622
0e5c4555
AA
86232014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8624
8625 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8626 directory to absolute path name arguments.
8627
5ec18f2b
JG
86282014-03-10 Joel Brobecker <brobecker@adacore.com>
8629
8630 * gdb.ada/tagged_access: New testcase.
8631
847fc4f2
MM
86322014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8633
8634 * gdb.btrace/data.exp: Update expected output.
8635
cc3da688
YQ
86362014-03-06 Yao Qi <yao@codesourcery.com>
8637
8638 * gdb.trace/pr16508.exp: New file.
8639
0f26cec1
PA
86402014-03-05 Pedro Alves <palves@redhat.com>
8641
8642 PR gdb/16575
8643 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8644 procedure.
8645 (top level): Adjust to use it. Add tests that exercise breakpoint
8646 interaction with the code-cache.
8647
7a5a839f
LC
86482014-02-26 Ludovic Courtès <ludo@gnu.org>
8649
8650 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8651 test for 'history-append!'.
8652
31aa7e4e
JB
86532014-02-26 Joel Brobecker <brobecker@adacore.com>
8654
8655 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8656 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8657 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8658 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8659 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8660 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8661
1b588015
JB
86622014-02-26 Joel Brobecker <brobecker@adacore.com>
8663
8664 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8665 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8666 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8667
55426c9d
JB
86682014-02-26 Joel Brobecker <brobecker@adacore.com>
8669
8670 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8671
dc53a7ad
JB
86722014-02-26 Joel Brobecker <brobecker@adacore.com>
8673
8674 * gdb.dwarf2/arr-stride.c: New file.
8675 * gdb.dwarf2/arr-stride.exp: New file.
8676
12ab52e9
PA
86772014-02-26 Pedro Alves <palves@redhat.com>
8678
8679 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8680 that won't ever trigger. Make sure that GDB reports the correct
8681 breakpoint that caused the stop.
8682
849c862e
JK
86832014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8684
8685 PR gdb/16626
8686 * gdb.base/auto-load-script: New file.
8687 * gdb.base/auto-load.c: New file.
8688 * gdb.base/auto-load.exp: New file.
8689
71b7d793
JK
8690 PR gdb/16626
8691 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8692
e2f0d509
JK
86932014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8694
8695 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8696 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8697
50cc37c8
DE
86982014-02-24 Doug Evans <dje@google.com>
8699
8700 * lib/gdb.exp (run_on_host): Log error output if program fails.
8701
ea4758f2
PA
87022014-02-21 Pedro Alves <palves@redhat.com>
8703
8704 * gdb.threads/step-after-sr-lock.c: Rename to ...
8705 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8706 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8707 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8708 ... this.
8709
d7b30f67
SDJ
87102014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8711
8712 PR tdep/16397
8713 * gdb.arch/amd64-stap-special-operands.exp: New file.
8714 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8715 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8716 * gdb.arch/amd64-stap-triplet.S: Likewise.
8717 * gdb.arch/amd64-stap-triplet.c: Likewise.
8718
83deb43f
JB
87192014-02-20 Joel Brobecker <brobecker@adacore.com>
8720
8721 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8722 in .section pseudo-op.
8723
adde2bff
DE
87242014-02-20 lin zuojian <manjian2006@gmail.com>
8725 Joel Brobecker <brobecker@adacore.com>
8726 Doug Evans <xdje42@gmail.com>
8727
8728 PR symtab/16581
8729 * gdb.dwarf2/dw2-icycle.S: New file.
8730 * gdb.dwarf2/dw2-icycle.c: New file.
8731 * gdb.dwarf2/dw2-icycle.exp: New file.
8732
f7bd0f78
SC
87332014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8734
8735 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8736 operations on gdb.Value objects.
8737 * gdb.python/py-value-cc.exp: Add new test to test operations on
8738 gdb.Value objects.
8739
c17ef0d5
DE
87402014-02-18 Doug Evans <dje@google.com>
8741
8742 * Makefile.in (TESTS): New variable.
8743 (expanded_tests, expanded_tests_or_none): New variables
8744 (check-single): Pass $(expanded_tests_or_none) to runtest.
8745 (check-parallel): Only run tests in $(TESTS) if non-empty.
8746 (check/no-matching-tests-found): New rule.
8747 * README: Document TESTS makefile variable.
8748
5dd3176f
DE
87492014-02-18 Doug Evans <dje@google.com>
8750
8751 * Makefile.in (check-parallel): rm -rf outputs temp.
8752
0b10be4f
JK
87532014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8754
8755 Fix "ERROR: no fileid for" in the testsuite.
8756 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8757
85f224e7
DE
87582014-02-12 Doug Evans <dje@google.com>
8759
8760 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8761 (MISCELLANEOUS): New variable.
8762 (clean): rm -rf $(MISCELLANEOUS).
8763 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8764 dwp live in the same directory as symlinks, with each symlink pointed
8765 to a differently named file in a different directory.
8766
149b30ff
DE
87672014-02-11 Doug Evans <dje@google.com>
8768
8769 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8770 of Tcl file commands.
8771
1dfdac32
MK
87722014-02-10 Mark Kettenis <kettenis@gnu.org>
8773
8774 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8775 "kill -SIGUSR1 -1".
8776
aa4fb036
JB
87772014-02-10 Joel Brobecker <brobecker@adacore.com>
8778
8779 * gdb.ada/tick_length_array_enum_idx: New testcase.
8780
ed3ef339
DE
87812014-02-10 Doug Evans <xdje42@gmail.com>
8782
8783 * configure.ac (AC_OUTPUT): Add gdb.guile.
8784 * configure: Regenerate.
8785 * lib/gdb-guile.exp: New file.
8786 * lib/gdb.exp (get_target_charset): New function.
8787 * gdb.base/help.exp: Update expected output from "apropos apropos".
8788 * gdb.guile/Makefile.in: New file.
8789 * gdb.guile/guile.exp: New file.
8790 * gdb.guile/scm-arch.c: New file.
8791 * gdb.guile/scm-arch.exp: New file.
8792 * gdb.guile/scm-block.c: New file.
8793 * gdb.guile/scm-block.exp: New file.
8794 * gdb.guile/scm-breakpoint.c: New file.
8795 * gdb.guile/scm-breakpoint.exp: New file.
8796 * gdb.guile/scm-disasm.c: New file.
8797 * gdb.guile/scm-disasm.exp: New file.
8798 * gdb.guile/scm-equal.c: New file.
8799 * gdb.guile/scm-equal.exp: New file.
8800 * gdb.guile/scm-error.exp: New file.
8801 * gdb.guile/scm-error.scm: New file.
8802 * gdb.guile/scm-frame-args.c: New file.
8803 * gdb.guile/scm-frame-args.exp: New file.
8804 * gdb.guile/scm-frame-args.scm: New file.
8805 * gdb.guile/scm-frame-inline.c: New file.
8806 * gdb.guile/scm-frame-inline.exp: New file.
8807 * gdb.guile/scm-frame.c: New file.
8808 * gdb.guile/scm-frame.exp: New file.
8809 * gdb.guile/scm-generics.exp: New file.
8810 * gdb.guile/scm-gsmob.exp: New file.
8811 * gdb.guile/scm-iterator.c: New file.
8812 * gdb.guile/scm-iterator.exp: New file.
8813 * gdb.guile/scm-math.c: New file.
8814 * gdb.guile/scm-math.exp: New file.
8815 * gdb.guile/scm-objfile-script-gdb.in: New file.
8816 * gdb.guile/scm-objfile-script.c: New file.
8817 * gdb.guile/scm-objfile-script.exp: New file.
8818 * gdb.guile/scm-objfile.c: New file.
8819 * gdb.guile/scm-objfile.exp: New file.
8820 * gdb.guile/scm-ports.exp: New file.
8821 * gdb.guile/scm-pretty-print.c: New file.
8822 * gdb.guile/scm-pretty-print.exp: New file.
8823 * gdb.guile/scm-pretty-print.scm: New file.
8824 * gdb.guile/scm-section-script.c: New file.
8825 * gdb.guile/scm-section-script.exp: New file.
8826 * gdb.guile/scm-section-script.scm: New file.
8827 * gdb.guile/scm-symbol.c: New file.
8828 * gdb.guile/scm-symbol.exp: New file.
8829 * gdb.guile/scm-symtab-2.c: New file.
8830 * gdb.guile/scm-symtab.c: New file.
8831 * gdb.guile/scm-symtab.exp: New file.
8832 * gdb.guile/scm-type.c: New file.
8833 * gdb.guile/scm-type.exp: New file.
8834 * gdb.guile/scm-value-cc.cc: New file.
8835 * gdb.guile/scm-value-cc.exp: New file.
8836 * gdb.guile/scm-value.c: New file.
8837 * gdb.guile/scm-value.exp: New file.
8838 * gdb.guile/source2.scm: New file.
8839 * gdb.guile/types-module.cc: New file.
8840 * gdb.guile/types-module.exp: New file.
8841
7026a7c1
YQ
88422014-02-10 Yao Qi <yao@codesourcery.com>
8843
8844 PR testsuite/16543
8845 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8846 * configure: Regenerated.
8847 * Makefile.in: New file.
8848
6c466447
AS
88492014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8850
8851 * gdb.python/py-framefilter.exp: Fix typo.
8852
6e854735
YQ
88532014-02-08 Yao Qi <yao@codesourcery.com>
8854
8855 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8856 that no =breakpoint-modified is emitted when breakpoints are
8857 modified through MI commands.
8858
d137e6dc
PA
88592014-02-07 Pedro Alves <pedro@codesourcery.com>
8860 Pedro Alves <palves@redhat.com>
8861
8862 * gdb.threads/step-after-sr-lock.c: New file.
8863 * gdb.threads/step-after-sr-lock.exp: New file.
8864
b5ee5a50
PA
88652014-02-07 Pedro Alves <palves@redhat.com>
8866
8867 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8868
3c77faf3
JK
88692014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8870
8871 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8872 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8873
6dddc817
DE
88742014-02-06 Doug Evans <xdje42@gmail.com>
8875
8876 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8877 output.
8878
8879 * gdb.gdb/python-interrupts.exp: New file.
8880
de7b2893
YQ
88812014-02-05 Yao Qi <yao@codesourcery.com>
8882
8883 * gdb.trace/report.exp (use_collected_data): Test the output
8884 of "info threads" and "info inferiors".
8885
66d032ac
YQ
88862014-02-05 Yao Qi <yao@codesourcery.com>
8887
8888 Revert this patch:
8889
8890 2013-05-24 Yao Qi <yao@codesourcery.com>
8891
8892 * gdb.trace/tfile.exp: Test inferior and thread.
8893
591a12a1
UW
88942014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8895
8896 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8897 on a function.
8898 * gdb.base/step-bt.c: Call hello via function pointer to make
8899 sure its first instruction is executed on powerpc64le-linux.
8900
0ff3e01f
UW
89012014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8902
8903 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8904
084ee545
UW
89052014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8906
8907 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8908 of the test patterns for use on little-endian systems.
8909
6ed14ff3
UW
89102014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8911
8912 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8913 (decimal_vector): Fix for little-endian.
8914
401e27fd
JM
89152014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8916
8917 * gdb.arch/sparc-sysstep.exp: New file.
8918 * gdb.arch/sparc-sysstep.c: Likewise.
8919
8920 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8921
8b924729
EBM
89222014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8923
8924 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8925
fb151210
JB
89262014-01-23 Tom Tromey <tromey@redhat.com>
8927
8928 * gdb.ada/array_char_idx: New testcase.
8929
0740f8d8
TT
89302014-01-23 Tom Tromey <tromey@redhat.com>
8931
8932 PR python/16487:
8933 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8934 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8935 classes.
8936
21909fa1
TT
89372014-01-23 Tom Tromey <tromey@redhat.com>
8938
8939 PR python/16491:
8940 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8941 string from an inferior frame.
8942 * gdb.python/py-framefilter-mi.exp: Update.
8943
87ce2a04
DE
89442014-01-22 Doug Evans <dje@google.com>
8945
8946 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8947
237b092b
AA
89482014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8949
8950 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8951
d674a709
AA
89522014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8953
8954 * gdb.trace/entry-values.exp: Remove excess space character from
8955 regex patterns. Handle s390 call instruction.
8956
20fa3390
AA
89572014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8958
8959 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8960 define "*_start" label. Make "name" static.
8961 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8962 ${name} by references to ${name}_start.
8963
78466714
AA
89642014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8965
8966 * gdb.base/info-macros.exp: Remove "debug" from the compile
8967 options.
8968
ec9f644a
IB
89692014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8970
8971 * gdb.dlang/demangle.exp: New file.
8972
94b1b47e
IB
89732014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8974
8975 * gdb.dlang/primitive-types.exp: New file.
8976
7f420862
IB
89772014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8978
8979 * configure.ac: Create gdb.dlang/Makefile.
8980 * configure: Regenerate.
8981 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8982 * gdb.dlang/Makefile.in: New file.
8983 * lib/d-support.exp: New file.
8984 * lib/gdb.exp (skip_d_tests): New proc.
8985
52834460
MM
89862014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8987
8988 * gdb.btrace/delta.exp: Check reverse stepi.
8989 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8990 * gdb.btrace/finish.exp: New.
8991 * gdb.btrace/next.exp: New.
8992 * gdb.btrace/nexti.exp: New.
8993 * gdb.btrace/record_goto.c: Add comments.
8994 * gdb.btrace/step.exp: New.
8995 * gdb.btrace/stepi.exp: New.
8996 * gdb.btrace/multi-thread-step.c: New.
8997 * gdb.btrace/multi-thread-step.exp: New.
8998 * gdb.btrace/rn-dl-bind.c: New.
8999 * gdb.btrace/rn-dl-bind.exp: New.
9000 * gdb.btrace/data.c: New.
9001 * gdb.btrace/data.exp: New.
9002 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9003
6e07b1d2
MM
90042014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9005
9006 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
9007 * gdb.btrace/exception.exp: Update.
9008 * gdb.btrace/instruction_history.exp: Update.
9009 * gdb.btrace/record_goto.exp: Update.
9010 * gdb.btrace/tailcall.exp: Update.
9011 * gdb.btrace/unknown_functions.exp: Update.
9012 * gdb.btrace/delta.exp: New.
9013
0b722aec
MM
90142014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9015
9016 * gdb.btrace/record_goto.exp: Add backtrace test.
9017 * gdb.btrace/tailcall.exp: Add backtrace test.
9018
066ce621
MM
90192014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9020
9021 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
9022 * gdb.btrace/record_goto.c: New.
9023 * gdb.btrace/record_goto.exp: New.
9024 * gdb.btrace/x86-record_goto.S: New.
9025
0688d04e
MM
90262014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9027
9028 * gdb.btrace/function_call_history.exp: Update tests.
9029 * gdb.btrace/instruction_history.exp: Update tests.
9030
8710b709
MM
90312014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9032
9033 * gdb.btrace/function_call_history.exp: Fix expected field
9034 order for "record function-call-history".
9035 Add new tests for "record function-call-history /c".
9036 * gdb.btrace/exception.cc: New.
9037 * gdb.btrace/exception.exp: New.
9038 * gdb.btrace/tailcall.exp: New.
9039 * gdb.btrace/x86-tailcall.S: New.
9040 * gdb.btrace/x86-tailcall.c: New.
9041 * gdb.btrace/unknown_functions.c: New.
9042 * gdb.btrace/unknown_functions.exp: New.
9043 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9044
5de9129b
MM
90452014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9046
9047 * gdb.btrace/instruction_history.exp: Update.
9048 * gdb.btrace/function_call_history.exp: Update.
9049
23a7fe75
MM
90502014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9051
9052 * gdb.btrace/function_call_history.exp: Fix expected function
9053 trace.
9054 * gdb.btrace/instruction_history.exp: Initialize traced.
9055 Remove traced_functions.
9056
724c7dd8
MM
90572014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9058
9059 * gdb.btrace/function_call_history.exp: Update
9060 * gdb.btrace/instruction_history.exp: Update.
9061
6d78d93b
MM
90622014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9063
9064 * gdb.btrace/enable.exp: Update expected text.
9065
93a360cc
OJ
90662014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
9067
9068 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
9069 bytes.
9070
3772b53f
MR
90712014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
9072
9073 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
9074
596662fa
OJ
90752014-01-15 Omair Javaid <omair.javaid@linaro.org>
9076
9077 * lib/gdb.exp (supports_process_record): Return true for
9078 arm*-linux*. (supports_reverse): Likewise.
9079
b5b08fb4
SC
90802014-01-13 Siva Chandra Reddy <sivachandra@google.com>
9081
9082 PR python/15464
9083 PR python/16113
9084 * gdb.python/py-type.c: Enhance test case.
9085 * gdb.python/py-value-cc.cc: Likewise
9086 * gdb.python/py-type.exp: Add new tests.
9087 * gdb.python/py-value-cc.exp: Likewise
9088
52d7fb13
AA
90892014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9090 Pedro Alves <palves@redhat.com>
9091
9092 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
9093 Make "name" extern.
9094 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
9095 references to ${name}_start by references to ${name}.
9096
a2cd8cfe
JB
90972014-01-10 Joel Brobecker <brobecker@adacore.com>
9098
9099 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
9100
4e23fced
JB
91012014-01-10 Joel Brobecker <brobecker@adacore.com>
9102
9103 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
9104
c6a9e42c
PA
91052014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
9106 Pedro Alves <palves@redhat.com>
9107
9108 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 9109 mi_gdb_target_load.
c6a9e42c 9110
b7ea362b
PA
91112014-01-08 Pedro Alves <palves@redhat.com>
9112
9113 * gdb.threads/reconnect-signal.c: New file.
9114 * gdb.threads/reconnect-signal.exp: New file.
9115
5e3f4fab
EBM
91162014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9117
9118 * gdb.base/source-dir.exp: New file.
9119
79301218
JB
91202014-01-07 Joel Brobecker <brobecker@adacore.com>
9121
9122 * gdb.ada/mi_interface: New testcase.
9123
8e355c5d
JB
91242014-01-07 Joel Brobecker <brobecker@adacore.com>
9125
9126 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
9127 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
9128 gdb.ada/pp-rec-component/pck.ads: New files.
9129
c0d48811
JB
91302014-01-07 Joel Brobecker <brobecker@adacore.com>
9131
9132 * gdb.python/py-pp-integral.c: New file.
9133 * gdb.python/py-pp-integral.py: New file.
9134 * gdb.python/py-pp-integral.exp: New file.
9135
17b609c3 9136For older changes see ChangeLog-1993-2013.
c906108c 9137\f
8d8cb839
EZ
9138;; Local Variables:
9139;; mode: change-log
9140;; left-margin: 8
9141;; fill-column: 74
9142;; version-control: never
9143;; End:
902f2ccb 9144
618f726f 9145 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
9146 Copying and distribution of this file, with or without modification,
9147 are permitted provided the copyright notice and this notice are preserved.