]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Remove redundant assignment in gprof.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
ee8da4b8
DE
12016-08-15 Doug Evans <dje@google.com>
2
3 * gdb.xml/extra-regs.xml: Update, end field now required, default type
4 for single bitfields is bool.
5 * gdb.xml/tdesc-regs.exp: Ditto.
6
f389f6fe
JK
72016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8
9 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
10
fdebf1a4
YQ
112016-10-05 Yao Qi <yao.qi@linaro.org>
12
13 * lib/gdb.exp (support_complex_tests): Return zero if
14 gdb_skip_float_test return true.
15
9c36d954
AT
162016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
172016-10-03 Simon Marchi <simon.marchi@ericsson.com>
18
19 PR gdb/20487
20 * gdb.mi/user-selected-context-sync.exp: New file.
21 * gdb.mi/user-selected-context-sync.c: New file.
22
4034d0ff
AT
232016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
242016-10-03 Simon Marchi <simon.marchi@ericsson.com>
25
26 PR gdb/20487
27 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
28 =thread-select-event check.
29
a4297203
PB
302016-09-29 Peter Bergner <bergner@vnet.ibm.com>
31
32 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
33 the compulsory L operand changes.
34 * gdb.arch/powerpc-power.s: Likewise.
35
bb805577
JK
362016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
37
38 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
39 * gdb.base/jit-attach-pie.c: New file.
40 * gdb.base/jit-attach-pie.exp: New file.
41
6d61dee5
PA
422016-09-28 Pedro Alves <palves@redhat.com>
43
44 * gdb.base/infcall-input.c: New file.
45 * gdb.base/infcall-input.exp: New file.
46
f73842fc
YQ
472016-09-22 Yao Qi <yao.qi@linaro.org>
48
49 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
50 (gdb_exit): Rename it to ...
51 (gdbserver_gdb_exit): ... Close GDBserver.
52 (gdb_exit): New proc, call gdbserver_gdb_exit.
53 (mi_gdb_exit): Likewise.
54
90681dab
YQ
552016-09-22 Yao Qi <yao.qi@linaro.org>
56
57 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
58 path.
59 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
60 Remove duplication.
61
9c211fd8
YQ
622016-09-22 Yao Qi <yao.qi@linaro.org>
63
64 * lib/gdbserver-support.exp: Check the existence of
65 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
66
ad0a504f
AK
672016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
68
69 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
70
36cf1806
TT
712016-09-21 Tom Tromey <tom@tromey.com>
72
73 PR gdb/20604:
74 * gdb.base/quit.exp: New file.
75
74172ecf
SM
762016-09-21 Simon Marchi <simon.marchi@ericsson.com>
77
78 * .gitignore: New file.
79
3d0ec882
MR
802016-09-21 Maciej W. Rozycki <macro@imgtec.com>
81
82 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
83 throughout.
84
8193adea
AA
852016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
86
87 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
88
d41a5c09
JK
892016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
90
91 * gdb.cp/casts.cc (decltype): Move it ...
92 (main): ... with its call to ...
93 * gdb.cp/casts03.cc: ... a new file.
94 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
95
d2dfe700
JK
962016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
97
98 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
99
e2a92b16
PB
1002016-09-15 Peter Bergner <bergner@vnet.ibm.com>
101
102 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
103 and sync up the test with tests in gas/testsuite/gas/ppc.
104 * gdb.arch/powerpc-power.exp: Likewise.
105
49b4de64
JK
1062016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
107
108 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
109
2c29df25
SDJ
1102016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
111 Jan Kratochvil <jan.kratochvil@redhat.com>
112
113 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
114 make m1's definition to be different from m2's. Use 'dummy' as an
115 argument for probe 'two'.
116
cc3c2846
JB
1172016-09-10 Jon Beniston <jon@beniston.com>
118
119 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
120 for sim target.
121
e1b2624a
AA
1222016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
123
124 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
125 variable declaration.
126 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
127 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
128 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
129 received HWCAP as its argument.
130
4295e285
PA
1312016-09-06 Pedro Alves <palves@redhat.com>
132
133 * gdb.base/new-ui-pending-input.c: New file.
134 * gdb.base/new-ui-pending-input.exp: New file.
135 * gdb.exp (clear_gdb_spawn_id): New procedure.
136 (with_spawn_id): Check whether gdb_spawn_id exists before
137 referencing it. If gdb_spawn_id didn't exist on entry, clear it
138 on exit.
139
00d5215e
UW
1402016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
141
142 * gdb.base/float128.c: New file.
143 * gdb.base/float128.exp: Likewise.
144 * gdb.base/floatn.c: Likewise.
145 * gdb.base/floatn.exp: Likewise.
146
a9ff5f12
UW
1472016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
148
149 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
150
f245535c
PA
1512016-09-05 Pedro Alves <palves@redhat.com>
152
153 PR backtrace/19927
154 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
155 unwinders are immediately called as side effect of "source" or
156 "disable unwinder" commands.
157 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
158
ae9cf263
YQ
1592016-09-02 Yao Qi <yao.qi@linaro.org>
160
161 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
162 is true and $type is "float" or "double".
163
27aba047
YQ
1642016-09-02 Yao Qi <yao.qi@linaro.org>
165
166 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
167 true.
168 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
169 * gdb.base/call-rt-st.exp: Likewise.
170 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
171 return value instead of gdb,skip_float_test.
172 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
173 (do_function_calls): Use its return value instead of
174 gdb,skip_float_test.
175 * gdb.base/finish.exp: Likewise.
176 * gdb.base/funcargs.exp: Likewise.
177 * gdb.base/return.exp: Likewise.
178 * gdb.base/return2.exp: Likewise.
179 * gdb.base/varargs.exp: Likewise.
180 * lib/gdb.exp (gdb_skip_float_test): Change it to
181 gdb_caching_proc. Detect the broken ptrace on arm-linux.
182
5af962df
AA
1832016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
184
185 * gdb.multi/tids.exp: Test "thread apply all".
186
7fac6910
JK
1872016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
188
189 * gdb.base/default.exp (tty): Remove.
190
bb1fe4ac
KB
1912016-08-24 Kevin Buettner <kevinb@redhat.com>
192
193 * gdb.python/py-recurse-unwind.c: New file.
194 * gdb.python/py-recurse-unwind.py: New file.
195 * gdb.python/py-recurse-unwind.exp: New file.
196
0a1ddfa6
SM
1972016-08-24 Simon Marchi <simon.marchi@ericsson.com>
198
199 * gdb.base/set-inferior-tty.exp: New file.
200 * gdb.base/set-inferior-tty.c: New file.
201
d9de1fe3
PA
2022016-08-23 Pedro Alves <palves@redhat.com>
203
204 PR gdb/20494
205 * gdb.base/new-ui-echo.c: New file.
206 * gdb.base/new-ui-echo.exp: New file.
207
e9d9abd7
YQ
2082016-08-23 Yao Qi <yao.qi@linaro.org>
209
210 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
211 gdbserver_spawn.
212 * gdb.server/connect-without-multi-process.exp (do_test):
213 Likewise.
214
3589529e
YQ
2152016-08-23 Yao Qi <yao.qi@linaro.org>
216
217 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
218 standalone_txt. Delete gdb_txt and standalone_txt on host
219 and target. Spawn the binary on target. Copy files from
220 target to host.
221
6bb90213
PA
2222016-08-22 Pedro Alves <palves@redhat.com>
223
224 PR gdb/20505
225 * gdb.base/vdso-warning.exp: Test core dumps too. Use
226 with_test_prefix. Factor out bits to ...
227 (test_no_vdso): ... this new procedure.
228
20c2c024
CL
2292016-08-19 Carl Love <cel@us.ibm.com>
230
231 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
232 maintaining separate logic for constructing the output path.
233 * gdb.arch/powerpc-d128-regs.exp: Likewise.
234 * gdb.arch/ppc-dfp.exp: Likewise.
235 * gdb.arch/ppc-fp.exp: Likewise.
236 * gdb.arch/vsx-regs.exp: Likewise.
237 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
238 binprefix for generating the additional binary files.
239
0646e07d
PA
2402016-08-19 Pedro Alves <palves@redhat.com>
241
242 * gdb.trace/mi-trace-frame-collected.exp
243 (test_trace_frame_collected): On x32, expect two registers.
244
46da9242
CL
2452016-08-18 Carl Love <cel@us.ibm.com>
246
247 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
248 and sync up the test with tests in gas/testsuite/gas/ppc.
249 * gdb.arch/powerpc-power.exp: Likewise.
250
eb2332d7
SM
2512016-08-17 Simon Marchi <simon.marchi@ericsson.com>
252
253 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
254 expected error message.
255
63c61e04
SM
2562016-08-17 Simon Marchi <simon.marchi@ericsson.com>
257
258 * gdb.multi/remove-inferiors.exp: New file.
259 * gdb.multi/remove-inferiors.c: New file.
260
7b17065f
YQ
2612016-08-12 Yao Qi <yao.qi@linaro.org>
262
263 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
264 argument list.
265
01d3dedf
PA
2662016-08-10 Pedro Alves <palves@redhat.com>
267
268 PR gdb/19187
269 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
270 setup_kfails.
271
3eb7562a
PA
2722016-08-09 Pedro Alves <palves@redhat.com>
273 Simon Marchi <simon.marchi@ericsson.com>
274
275 PR gdb/20418
276 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
277 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
278
80614914
PA
2792016-08-09 Pedro Alves <palves@redhat.com>
280
281 PR mi/20431
282 * gdb.mi/mi-cmd-error.exp: New file.
283
f348d89a
PA
2842016-08-09 Pedro Alves <palves@redhat.com>
285
286 PR gdb/18653
287 * gdb.base/signals-state-child.c: New file.
288 * gdb.base/signals-state-child.exp: New file.
289 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
290
e5ca03b4
PA
2912016-08-09 Pedro Alves <palves@redhat.com>
292
293 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
294
282a0691
TT
2952016-08-03 Tom Tromey <tom@tromey.com>
296
297 PR python/18565:
298 * gdb.python/py-frame-inline.exp: Add Frame.function test.
299
41bfcd63
YQ
3002016-08-01 Yao Qi <yao.qi@linaro.org>
301
302 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
303 variable mode to "multi-process" if $multi_process is 1, otherwise
304 set it to "single-process".
305
e3465b24
YQ
3062016-08-01 Yao Qi <yao.qi@linaro.org>
307
308 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
309 * gdb.cp/cpexprs.exp: Likewise.
310 * gdb.cp/m-static.exp: Likewise.
311
0b31a4bc
TT
3122016-07-26 Tom Tromey <tom@tromey.com>
313
314 PR python/20190:
315 * gdb.threads/tls.exp (check_thread_local): Add python symbol
316 test.
317
e0461dbb
MM
3182016-07-26 Markus Metzger <markus.t.metzger@intel.com>
319
320 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
321 selecting assembly source files.
322 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
323 assembly source files.
324 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
325 assembly source files.
326 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
327 selecting assembly source files.
328
8194e927
SM
3292016-07-25 Simon Marchi <simon.marchi@ericsson.com>
330
331 * gdb.base/new-ui.exp (do_test_invalid_args): New
332 procedure.
333
c0272db5
TW
3342016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
335
336 * gdb.btrace/reconnect.c: New file.
337 * gdb.btrace/reconnect.exp: New file.
338
e3487908
GKB
3392016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
340
341 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
342 to test_catch_syscall_group.
343 (test_catch_syscall_group): New.
344
12df5c00
TT
3452016-07-21 Tom Tromey <tom@tromey.com>
346
347 * gdb.rust/simple.rs (main): Use empty struct expression.
348 * gdb.rust/simple.exp: Add tests for empty struct expression.
349
bae62ee2
YQ
3502016-07-21 Yao Qi <yao.qi@linaro.org>
351
352 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
353 if gdb_skip_xml_test is true on some targets.
354
b1b53fb3
YQ
3552016-07-21 Yao Qi <yao.qi@linaro.org>
356
357 * gdb.server/solib-list.exp: Unset last_loaded_file.
358
027d97f8
JK
3592016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
360
361 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
362 "step into captured_main (args)".
363
7674d381
JK
3642016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
365
366 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
367
72b5d099
JK
3682016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
369
370 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
371
1f960ced
PA
3722016-07-19 Pedro Alves <palves@redhat.com>
373
374 * gdb.opt/inline-break.exp: Remove optimize=-O2.
375 * gdb.opt/inline-bt.exp: Likewise.
376 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
377 additional_flags=-Winline.
378 * gdb.opt/inline-locals.exp: Likewise.
379 * gdb.opt/inline-markers.c (ATTR): Define.
380 (inlined_fn): Use it.
381
f25827c1
YQ
3822016-07-19 Yao Qi <yao.qi@linaro.org>
383
384 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
385 (test_with_self): Remove some code. Remove argument executable.
386 (top-level): Use do_self_tests.
387
37539ebe
DB
3882016-07-15 Zachary Welch <zwelch@codesourcery.com>
389 Don Breazeal <donb@codesourcery.com>
390
391 * gdb.base/maint.exp: Escape paths used in regular expressions.
392 * gdb.stabs/weird.exp: Likewise.
393
dac790e1
TT
3942016-07-13 Tom Tromey <tom@tromey.com>
395
396 PR python/15620, PR python/18620:
397 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
398 (test_bkpt_events): New procs.
399
93daf339
TT
4002016-07-13 Tom Tromey <tom@tromey.com>
401
402 PR python/17698:
403 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
404 test.
405 (test_watchpoints): Likewise.
406 (test_bkpt_pending): New proc.
407
6571a381
TT
4082016-07-13 Tom Tromey <tom@tromey.com>
409
410 PR cli/18053:
411 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
412 completion test.
413
e8732474
JK
4142016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
415
416 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
417 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
418 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
419 f_label.
420 (g): Rename g_end_lbl to g_label.
421 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
422 low_pc and high_pc.
423 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
424
e0f3fd7c
TT
4252016-07-12 Tom Tromey <tom@tromey.com>
426
427 PR python/19293:
428 * gdb.python/py-unwind-maint.exp: Update tests.
429
3cfe46b6
YQ
4302016-07-12 Yao Qi <yao.qi@linaro.org>
431
432 * lib/selftest-support.exp (selftest_setup): Match the output
433 when captured_main is inlined.
434
4f19a0e6
WT
4352016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
436
437 * gdb.fortran/derived-types.exp (result_line, result_line_2):
438 New variables.
439 (print this%a, print this%b, print this): New tests.
440 * gdb.fortran/derived-types.f90 (this): New object and
441 initialization.
442
986cf455
SM
4432016-07-06 Simon Marchi <simon.marchi@ericsson.com>
444
445 * gdb.ada/arraydim.exp: Remove extra directory level in build
446 directory.
447
f0464b23
SM
4482016-07-06 Simon Marchi <simon.marchi@ericsson.com>
449
450 * lib/ada.exp: Remove extra directory level in build directory.
451 * gdb.ada/cond_lang.exp: Likewise.
452 * gdb.ada/exec_changed.exp: Likewise.
453 * gdb.ada/lang_switch.exp: Likewise.
454
42d94011
MG
4552016-07-06 Manish Goregaokar <manish@mozilla.com>
456
457 * simple.rs: Add test for raw pointer subscripting
458 * simple.exp: Add test expectations
459
647c264c
YQ
4602016-07-05 Yao Qi <yao.qi@linaro.org>
461
462 * gdb.mi/mi-reverse.exp: Match =record-started output.
463
20aa2c60
PA
4642016-07-01 Pedro Alves <palves@redhat.com>
465
466 * gdb.base/jit-reader.exp (info_registers_current_frame): New
467 procedure.
468 (jit_reader_test): Test the jit reader's unwinder.
469 * gdb.base/jithost.c (jit_function_00_code): New global.
470 (main): Use memcpy to fill in the mmapped code, instead of poking
471 bytes manually here.
472 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
473 value.
474 (read_debug_info): Save the function's range.
475 (read_sp): New function.
476 (unwind_frame): Use it. Also unwind RBP.
477 (get_frame_id): Use read_sp.
478 (gdb_init_reader): Use calloc instead of malloc.
479 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
480 parameter. Use gdb_test_multiple.
481
ced2dffb
PA
4822016-07-01 Pedro Alves <palves@redhat.com>
483 Antoine Tremblay <antoine.tremblay@ericsson.com>
484
485 * gdb.threads/process-dies-while-detaching.c: New file.
486 * gdb.threads/process-dies-while-detaching.exp: New file.
487
63000888
PA
4882016-07-01 Pedro Alves <palves@redhat.com>
489
490 * gdb.multi/watchpoint-multi-exit.c: New file.
491 * gdb.multi/watchpoint-multi-exit.exp: New file.
492
038d4868
PA
4932016-06-30 Pedro Alves <palves@redhat.com>
494
495 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
496 unset inferior_spawn_id.
497
994e9c83
PA
4982016-06-30 Pedro Alves <palves@redhat.com>
499
500 * lib/mi-support.exp (default_mi_gdb_start): Declare global
501 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
502
e5653468
YQ
5032016-06-29 Yao Qi <yao.qi@linaro.org>
504
505 * gdb.base/return.c: Add copyright header.
506
803b47e5
TT
5072016-06-29 Tom Tromey <tom@tromey.com>
508
509 PR python/20129:
510 * gdb.python/py-framefilter.exp: Add tests for setting priority
511 and disabling of non-existent frame filter.
512
28244707
YQ
5132016-06-29 Yao Qi <yao.qi@linaro.org>
514
515 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
516 0x0f07ff.
517
a31d2f06
YQ
5182016-06-28 Yao Qi <yao.qi@linaro.org>
519
520 * gdb.base/catch-syscall.exp: Remove check on isnative and target
521 triplets. Start gdb, execute catch syscall, and continue. Check
522 gdb's output to determine catch syscall is supported.
523
921d8f54
MG
5242016-06-27 Manish Goregaokar <manish@mozilla.com>
525
25d49b86
PA
526 * gdb.rust/simple.rs: Add test for returning unit in a function.
527 * gdb.rust/simple.exp: Add expectation for functions returning
528 unit.
921d8f54 529
f4952523
PMR
5302016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
531
532 * gdb.python/py-breakpoint-create-fail.c,
533 gdb.python/py-breakpoint-create-fail.exp,
534 gdb.python/py-breakpoint-create-fail.py: New testcase.
535
fccb08f8
MG
5362016-06-25 Manish Goregaokar <manish@mozilla.com>
537
538 PR gdb/20239
539 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
540 * gdb.rust/simple.exp: Add test expectations for new NonZero
541 tests.
fccb08f8 542
6b850546
DT
5432016-06-24 David Taylor <dtaylor@emc.com>
544
545 * gdb.base/offsets.exp: New file.
546 * gdb.base/offsets.c: New file.
547
17621150
TT
5482016-06-23 Tom Tromey <tom@tromey.com>
549
550 PR gdb/16483:
551 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
552 before any filters are loaded.
553
04d59df6
WT
5542016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
555
556 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
557 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
558 structs.
559 * gdb.fortran/derived-type-function.exp: New file.
560 * gdb.fortran/derived-type-function.f90: New file.
561
562
ac69f786
PA
5632016-06-21 Pedro Alves <palves@redhat.com>
564
565 * gdb.base/new-ui.exp: New file.
566 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
567 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
568 (with_spawn_id): New procedure.
569
49940788
PA
5702016-06-21 Pedro Alves <palves@redhat.com>
571
572 * gdb.mi/mi-exec-run.exp: New file.
573
ef274d26
PA
5742016-06-21 Pedro Alves <palves@redhat.com>
575
576 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
577 breakpoint command's output on the main UI.
578 (test_break): New procedure, factored out from calls in the top
579 level.
580 (top level): Use foreach_with_prefix to test MI as main UI and as
581 separate UI.
582
468afe6c
PA
5832016-06-21 Pedro Alves <palves@redhat.com>
584
585 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
586 (test_awatch_creation_and_listing)
587 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
588 Remove 'type' parameter.
589 (test_watchpoint_all): New parameter mi_mode. Remove
590 with_test_prefix.
591 (top level): Use foreach_with_prefix, and add main/separate UI MI
592 testing axis.
593
51f77c37
PA
5942016-06-21 Pedro Alves <palves@redhat.com>
595
596 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
597 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
598 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
599 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
600 (gdb_main_spawn_id, mi_spawn_id): Declare and
601 comment.
602 (mi_create_inferior_pty): New procedure,
603 factored out from default_mi_gdb_start.
604 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
605 procedures.
606 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
607 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
608 Use mi_create_inferior_pty.
609 (mi_gdb_start): Use eval to pass down args list.
610
8980e177
PA
6112016-06-21 Pedro Alves <palves@redhat.com>
612
613 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
614 * gdb.opt/inline-cmds.exp: Add MI tests.
615
f38d3ad1
PA
6162016-06-21 Pedro Alves <palves@redhat.com>
617
618 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
619
45db7c09
PA
6202016-06-21 Pedro Alves <palves@redhat.com>
621
622 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
623 (top level): Use it instead of mi_execute_to.
624
5a069ab3
PA
6252016-06-21 Pedro Alves <palves@redhat.com>
626
627 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
628 (cont_handler_str): New.
629 (signal_stop_handler): Set stop_handler_str instead of printing to
630 stdout.
631 (continue_handler): Set cont_handler_str instead of printing to
632 stdout.
633 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
634 mi_send_resuming_command. Print stop_handler_str and
635 cont_handler_str instead of expecting the python events print
636 directly.
637
2838cc1d
SD
6382016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
639
640 * gdb.base/jit-reader.exp: New file.
641 * gdb.base/jithost.c: New file.
642 * gdb.base/jithost.h: New file.
643 * gdb.base/jitreader.c : New file.
644 * gdb.base/jit-protocol.h: New file.
645
21a77091
YQ
6462016-06-17 Yao Qi <yao.qi@linaro.org>
647
648 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
649 parameters follow_fork and detach_on_fork. Set follow-fork-mode
650 and detach-on-fork. Adjust tests.
651 (top level): Invoke break_cond_on_syscall with combinations of
652 syscall, follow-fork-mode and detach-on-fork.
653
f50bf8e5
YQ
6542016-06-17 Yao Qi <yao.qi@linaro.org>
655
656 * gdb.base/step-over-exit.c: New.
657 * gdb.base/step-over-exit.exp: New.
658
a28d8e50
YTL
6592016-06-17 Yan-Ting Lin <currygt52@gmail.com>
660
661 * gdb.base/float.exp: Add target check for nds32*-*-*.
662 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
663
cad8e26d
AB
6642016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
665
666 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
667 for unsupported target features.
668 * gdb.base/call-rt-st.exp: Likewise.
669 * gdb.base/call-sc.exp: Likewise.
670 * gdb.base/call-signal-resume.exp: Likewise.
671 * gdb.base/call-strs.exp: Likewise.
672 * gdb.base/callexit.exp: Likewise.
673 * gdb.base/callfuncs.exp: Likewise.
674 * gdb.base/nodebug.exp: Likewise.
675 * gdb.base/printcmds.exp: Likewise.
676 * gdb.base/ptype.exp: Likewise.
677 * gdb.base/structs.exp: Likewise.
678 * gdb.base/unwindonsignal.exp: Likewise.
679 * gdb.cp/gdb2495.exp: Likewise.
680 * gdb.cp/templates.exp: Likewise.
681 * gdb.cp/virtfunc.exp: Likewise.
682 * gdb.threads/hand-call-in-threads.exp: Likewise.
683 * gdb.threads/interrupted-hand-call.exp: Likewise.
684 * gdb.threads/thread-unwindonsignal.exp: Likewise.
685
347dc102
TT
6862016-06-10 Tom Tromey <tom@tromey.com>
687
688 PR rust/20110:
689 * gdb.rust/expr.exp: Add test for integer constant larger than
690 i32.
691
5e13cf25
BH
6922016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
693
694 * gdb.fortran/nested-funcs.exp: New.
695 * gdb.fortran/nested-funcs.f90: New.
696
bb556f1f
TK
6972016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
698
699 * gdb.base/examine-backward.c: New file.
700 * gdb.base/examine-backward.exp: New file.
701
38b022b4
SM
7022016-06-06 Simon Marchi <simon.marchi@ericsson.com>
703
704 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
705 matching.
706
1b40ec05
TT
7072016-06-02 Tom Tromey <tom@tromey.com>
708
709 PR python/18984:
710 * gdb.python/py-shared.exp: Add solib_name test.
711
193bd378
SM
7122016-06-02 Simon Marchi <simon.marchi@ericsson.com>
713
714 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
715
3326303b
MG
7162016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
717
718 PR c++/19893
719 * gdb.dwarf2/implref.exp: Rename to...
720 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
721 * gdb.dwarf2/implref-array.c: New file.
722 * gdb.dwarf2/implref-array.exp: Likewise.
723 * gdb.dwarf2/implref-global.c: Likewise.
724 * gdb.dwarf2/implref-global.exp: Likewise.
725 * gdb.dwarf2/implref-struct.c: Likewise.
726 * gdb.dwarf2/implref-struct.exp: Likewise.
727
825c8ef2
AT
7282016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
729
730 * gdb.trace/trace-condition.exp: Add 64bit tests.
731
2320162a
AT
7322016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
733
734 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
735 bits types.
736 (main): Adapt to 8 to 64 bits types.
737 * gdb.trace/trace-condition.exp: Add new tests.
738
a7818233
AT
7392016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
740
741 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
742
0d336466
AT
7432016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
744
745 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
746 Move condition tests...
747 * gdb.trace/trace-condition.exp: Here.
748
7faeb45a
AT
7492016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
750
751 * gdb.trace/trace-condition.exp: Add counter-case tests.
752
e385593e
JK
7532016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
754
755 PR c++/15231
756 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
757 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
758
744608cc
PA
7592016-05-27 Pedro Alves <palves@redhat.com>
760
761 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
762 New procedure.
763 (top level): Call it, and bail out of DejaGnu is known to be bad.
764
ac775bf4
AB
7652016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
766
767 * gdb.base/whatis.c: Extend the test case.
768 * gdb.base/whatis.exp: Add additional tests.
769
2bbad2ea
BH
7702016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
771
772* gdb.fortran/type.f90: Add pointer variable.
773* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
774
8b70175d
BH
7752016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
776
777 * gdb.fortran/vla-type.exp: Fix testcase name.
778
86d8a848
BH
7792016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
780
781 * gdb.fortran/vla-type.exp: Access elements in nested structs.
782
e188eb36
BH
7832016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
784
785 * gdb.fortran/type.f90: Add nested structures.
786 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
787 * gdb.fortran/derived-type.exp: Adapt expected output.
788 * gdb.fortran/vla-type.exp: Adapt expected output.
789
9b2db1fd
BH
7902016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
791
792 * gdb.fortran/whatis_type.exp: Adapt expected output.
793
72b17055
BH
7942016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
795
796 * gdb.fortran/print_type.exp: Fix expected output.
797 * gdb.fortran/whatis_type.exp: Fix expected output.
798
3cd81d8d
BH
7992016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
800
801 * gdb.fortran/whatis_type.exp: Use multi_line.
802
ddae9462
TT
8032016-05-24 Tom Tromey <tom@tromey.com>
804
805 PR python/17386:
806 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
807 use value as an index.
808
1957f6b8
TT
8092016-05-23 Tom Tromey <tom@tromey.com>
810
811 PR python/17981:
812 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
813 no-breakpoint case.
814
026a9174
PA
8152016-05-24 Pedro Alves <palves@redhat.com>
816
817 PR gdb/19828
818 * gdb.threads/clone-attach-detach.c: New file.
819 * gdb.threads/clone-attach-detach.exp: New file.
820
e70a7231
FR
8212016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
822
823 * gdb.base/annota-input-while-running.exp: Fix syntax error.
824
0f6ed0e0
TT
8252016-05-23 Tom Tromey <tom@tromey.com>
826
827 PR python/19438, PR python/18393:
828 * gdb.python/py-progspace.exp: Add "dir" test.
829 * gdb.python/py-objfile.exp: Add "dir" test.
830
ffd19d61
YQ
8312016-05-23 Yao Qi <yao.qi@linaro.org>
832
833 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
834 * gdb.arch/thumb2-it.exp: Likewise.
835
9e8f9b05
SM
8362016-05-18 Simon Marchi <simon.marchi@ericsson.com>
837
838 * gdb.mi/mi-threads-interrupt.c: New file.
839 * gdb.mi/mi-threads-interrupt.exp: New file.
840
61c6156d
SM
8412016-05-17 Simon Marchi <simon.marchi@ericsson.com>
842
843 PR gdb/18077
844 * gdb.mi/mi-async-run.exp: New file.
845 * gdb.mi/mi-async-run.c: New file.
846
67218854
TT
8472016-05-17 Tom Tromey <tom@tromey.com>
848 Manish Goregaokar <manishsmail@gmail.com>
849
850 * lib/rust-support.exp: New file.
851 * lib/gdb.exp (skip_rust_tests): New proc.
852 (build_executable_from_specs): Handle rust.
853 * lib/future.exp (gdb_find_rustc): New proc.
854 (gdb_default_target_compile): Handle rust.
855 * gdb.rust/expr.exp: New file.
856 * gdb.rust/generics.exp: New file.
857 * gdb.rust/generics.rs: New file.
858 * gdb.rust/methods.exp: New file.
859 * gdb.rust/methods.rs: New file.
860 * gdb.rust/modules.exp: New file.
861 * gdb.rust/modules.rs: New file.
862 * gdb.rust/simple.exp: New file.
863 * gdb.rust/simple.rs: New file.
864
c44af4eb
TT
8652016-05-17 Tom Tromey <tom@tromey.com>
866
867 * gdb.base/default.exp (set language): Add rust.
868
dcd1f979
TT
8692016-05-17 Tom Tromey <tom@tromey.com>
870
871 * gdb.gdb/unittest.exp: New file.
872
155b7f57
YQ
8732016-05-16 Yao Qi <yao.qi@linaro.org>
874
875 * gdb.base/batch-preserve-term-settings.exp: Remove variable
876 shell_prompt. Update shell_prompt_re.
877
8ddd5a6c
DE
8782016-05-12 Doug Evans <dje@google.com>
879
880 PR symtab/19999
881 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
882 $options when building executable.
883 * gdb.dwarf2/fission-loclists-pie.S: New file.
884 * gdb.dwarf2/fission-loclists-pie.exp: New file.
885
02e370d9
SM
8862016-05-04 Simon Marchi <simon.marchi@ericsson.com>
887
888 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
889 of [is_remote target],
890
8929ad8b
SM
8912016-05-04 Simon Marchi <simon.marchi@ericsson.com>
892
893 * lib/gdb.exp (use_gdb_stub): New procedure.
894
6c447423
DE
8952016-05-03 Yunlian Jiang <yunlian@google.com>
896 Doug Evans <dje@google.com>
897
898 PR symtab/19914
899 * gdb.dwarf2/dwp-sepdebug.c: New file.
900 * gdb.dwarf2/dwp-sepdebug.exp: New file.
901
444e826c
SM
9022016-05-02 Simon Marchi <simon.marchi@ericsson.com>
903
904 * gdb.base/detach.exp: Remove is_remote check.
905
740feeaa
SM
9062016-05-02 Simon Marchi <simon.marchi@ericsson.com>
907
908 * gdb.base/annota-input-while-running.exp: Don't check for
909 [is_remote target]. Enable annotations after running to main.
910 Remove unused "set test..." line.
911
9080ac9d
SM
9122016-04-28 Simon Marchi <simon.marchi@ericsson.com>
913
914 * gdb.trace/trace-enable-disable.exp: New file.
915 * gdb.trace/trace-enable-disable.c: New file.
916
952ebca5
SM
9172016-04-28 Simon Marchi <simon.marchi@ericsson.com>
918
919 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
920 use it in info sharedlibrary test.
921 * gdb.trace/ftrace-lock.exp: Likewise.
922 * gdb.trace/ftrace.exp: Likewise.
923 * gdb.trace/range-stepping.exp: Likewise.
924 * gdb.trace/trace-break.exp: Likewise.
925 * gdb.trace/trace-condition.exp: Likewise.
926 * gdb.trace/trace-mt.exp: Likewise.
927
d9019901
SM
9282016-04-27 Simon Marchi <simon.marchi@ericsson.com>
929
930 * lib/gdb.exp (gdb_load_shlibs): Rename to...
931 (gdb_load_shlib): ... this.
932 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
933 gdb_load_shlib.
934 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
935 * gdb.base/ctxobj.exp: Likewise.
936 * gdb.base/dprintf-pending.exp: Likewise.
937 * gdb.base/dso2dso.exp: Likewise.
938 * gdb.base/fixsection.exp: Likewise.
939 * gdb.base/gcore-relro.exp: Likewise.
940 * gdb.base/gdb1555.exp: Likewise.
941 * gdb.base/global-var-nested-by-dso.exp: Likewise.
942 * gdb.base/gnu-ifunc.exp: Likewise.
943 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
944 * gdb.base/jit-so.exp (one_jit_test): Likewise.
945 * gdb.base/pending.exp: Likewise.
946 * gdb.base/print-file-var.exp: Likewise.
947 * gdb.base/print-symbol-loading.exp: Likewise.
948 * gdb.base/shlib-call.exp: Likewise.
949 * gdb.base/shreloc.exp: Likewise.
950 * gdb.base/so-impl-ld.exp: Likewise.
951 * gdb.base/solib-disc.exp: Likewise.
952 * gdb.base/solib-nodir.exp: Likewise.
953 * gdb.base/solib-overlap.exp: Likewise.
954 * gdb.base/solib-symbol.exp: Likewise.
955 * gdb.base/solib-weak.exp (do_test): Likewise.
956 * gdb.base/sym-file.exp: Likewise.
957 * gdb.base/symtab-search-order.exp: Likewise.
958 * gdb.base/type-opaque.exp: Likewise.
959 * gdb.base/unload.exp: Likewise.
960 * gdb.base/watchpoint-solib.exp: Likewise.
961 * gdb.compile/compile.exp: Likewise.
962 * gdb.cp/gdb2384.exp: Likewise.
963 * gdb.cp/infcall-dlopen.exp: Likewise.
964 * gdb.cp/re-set-overloaded.exp: Likewise.
965 * gdb.fortran/library-module.exp: Likewise.
966 * gdb.opt/solib-intra-step.exp: Likewise.
967 * gdb.python/py-finish-breakpoint.exp: Likewise.
968 * gdb.python/py-shared.exp: Likewise.
969 * gdb.reverse/solib-precsave.exp: Likewise.
970 * gdb.reverse/solib-reverse.exp: Likewise.
971 * gdb.server/solib-list.exp: Likewise.
972 * gdb.threads/dlopen-libpthread.exp: Likewise.
973 * gdb.threads/tls-shared.exp: Likewise.
974 * gdb.threads/tls-so_extern.exp: Likewise.
975 * gdb.trace/change-loc.exp: Likewise.
976 * gdb.trace/ftrace-lock.exp: Likewise.
977 * gdb.trace/ftrace.exp: Likewise.
978 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
979 * gdb.trace/pending.exp: Likewise.
980 * gdb.trace/range-stepping.exp: Likewise.
981 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
982 (strace_info_marker): Likewise.
983 (strace_probe_marker): Likewise.
984 (strace_trace_on_same_addr): Likewise.
985 (strace_trace_on_diff_addr): Likewise.
986 * gdb.trace/trace-break.exp: Likewise.
987 * gdb.trace/trace-condition.exp: Likewise.
988 * gdb.trace/trace-mt.exp: Likewise.
989
fca4cfd9
SM
9902016-04-27 Simon Marchi <simon.marchi@ericsson.com>
991
992 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
993 result of gdb_remote_download.
994 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
995 * gdb.base/dso2dso.exp: Likewise.
996 * gdb.base/global-var-nested-by-dso.exp: Likewise.
997 * gdb.base/print-file-var.exp: Likewise.
998 * gdb.base/shlib-call.exp: Likewise.
999 * gdb.base/shreloc.exp: Likewise.
1000 * gdb.base/solib-overlap.exp: Likewise.
1001 * gdb.base/solib-weak.exp (do_test): Likewise.
1002 * gdb.base/unload.exp: Likewise.
1003
11cf4ffb
YQ
10042016-04-27 Yao Qi <yao.qi@linaro.org>
1005
1006 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
1007 exists.
1008
3e2e34f8
KB
10092016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1010
1011 * vla-type.exp: Print structure from toplevel.
1012
8f07e298
BH
10132016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1014
1015 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
1016 of dynamic types.
1017 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
1018 of dynamic types.
1019
9920b434
BH
10202016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1021
1022 * gdb.fortran/vla-type.f90: New file.
1023 * gdb.fortran/vla-type.exp: New file.
1024
f3abeff5
YQ
10252016-04-25 Yao Qi <yao.qi@linaro.org>
1026
1027 * gdb.base/branch-to-self.c: New file.
1028 * gdb.base/branch-to-self.exp: New file.
1029
0a5d52f0
YQ
10302016-04-22 Yao Qi <yao.qi@linaro.org>
1031
1032 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
1033 more after $hex.
1034
495346f6
YQ
10352016-04-22 Yao Qi <yao.qi@linaro.org>
1036
1037 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
1038 * gdb.base/annota3.exp: Likewise.
1039
4a7e075c
YQ
10402016-04-22 Yao Qi <yao.qi@linaro.org>
1041
1042 * gdb.reverse/step-precsave.exp: Do one step and test program
1043 stops in "callee" and do multiple steps until program goes out
1044 of "callee".
1045 * gdb.reverse/step-reverse.exp: Likewise.
1046
5b061e98
YQ
10472016-04-22 Yao Qi <yao.qi@linaro.org>
1048
1049 * gdb.trace/signal.exp: Also pass if
1050 $tracepoint_hits($i) > $iterations.
1051
5c5dc57f
YQ
10522016-04-22 Yao Qi <yao.qi@linaro.org>
1053
1054 * gdb.trace/signal.c: New file.
1055 * gdb.trace/signal.exp: New file.
1056
a55411b9
DE
10572016-04-19 Doug Evans <xdje42@gmail.com>
1058
1059 * gdb.base/bad-file.exp: New file.
1060
a22df60a
MG
10612016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
1062
1063 * gdb.dwarf2/implref.exp: New file.
1064
0c13f7e5
BH
10652016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1066
1067 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
1068 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
1069 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
1070 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
1071 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
1072 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
1073 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
1074 * lib/fortran.exp (fortran_int4): New procedure.
1075 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
1076 (fortran_logical4): Likewise.
1077
9b9b09e9
BH
10782016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
1079
1080 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
1081
a14d1f4d
BH
10822016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1083
1084 * lib/compiler.c: Add Intel specific preprocessor macros.
1085 * lib/compiler.cc: Likewise.
25d49b86 1086
7d49b1d0
LM
10872016-04-13 Luis Machado <lgustavo@codesourcery.com>
1088
1089 * gdb.server/connect-with-no-symbol-file.c: New file.
1090 * gdb.server/connect-with-no-symbol-file.exp: New file.
1091
8392fa22
SM
10922016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1093
1094 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
1095
8c4c4aeb
SM
10962016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1097
1098 * boards/gdbserver-base.exp (${board}_download): Copy source file to
1099 standard output directory.
1100
45e3745e
AT
11012016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
1102
1103 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
1104
e26b7e41
MM
11052016-04-13 Markus Metzger <markus.t.metzger@intel.com>
1106
1107 * gdb.btrace/instruction_history.c (loop): Add declaration.
1108
8ce09462
AT
11092016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1110
1111 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
1112
2e88a1ea
SM
11132016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
1114
1115 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
1116 parentheses to print.
1117 (continue_handler): Likewise.
1118
f48e22e3
SM
11192016-04-08 Simon Marchi <simon.marchi@ericsson.com>
1120
1121 * gdb.server/solib-list.exp: Remove is_remote check.
1122 Pass shlib= to gdb_compile. Don't link shared library with
1123 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
1124 Run binary filename through "readlink -f" on the target.
1125
096be756
PA
11262016-04-08 Pedro Alves <palves@redhat.com>
1127
1128 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
1129 interpreter filename as argument to gdbserver_spawn.
1130 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1131 Return empty if $last_loaded_file does not exist.
1132
06500533
JK
11332016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1134
1135 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
1136 * gdb.base/jit-main.c: Use exit after usage.
1137
2d35e871
JK
11382016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1139
1140 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
1141 GDBHISTSIZE prior to the tests.
1142 * gdb.base/gdbinit-history.exp: Likewise.
1143
11442016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
1145
1146 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
1147 instead of build_executable. Use gdb_load_shlibs.
1148
c8064e7e
YQ
11492016-04-07 Yao Qi <yao.qi@linaro.org>
1150
1151 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
1152 Execute "si" command.
1153
bde47561
YQ
11542016-04-07 Yao Qi <yao.qi@linaro.org>
1155
1156 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
1157 number instead of the comments on some line.
1158
b16f8a3b
DB
11592016-04-06 Don Breazeal <donb@codesourcery.com>
1160
1161 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
1162 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
1163
c2f901df
SM
11642016-04-06 Simon Marchi <simon.marchi@ericsson.com>
1165
1166 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
1167 standard_output_file. Remove unused binfile variable.
1168
ac17fda0
CU
11692016-04-05 Catalin Udma <catalin.udma@freescale.com>
1170
1171 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
1172 * gdb.python/py-mi-objfile.exp: Match "list main" output
1173 in console format.
1174
03a8c4df
SM
11752016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
1176
1177 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
1178 absolute.
1179
6e774b13
SM
11802016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1181
1182 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
1183 absolute.
1184 * gdb.trace/ftrace.exp: Likewise.
1185 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
1186 targets as well.
1187 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
1188 (gdb_load_shlibs): Copy libraries to test directory when testing
1189 natively. Only set solib-search-path if testing remotely.
1190 * lib/mi-support.exp (mi_load_shlibs): Likewise.
1191
7817ea46
SM
11922016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1193
1194 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
1195 gdb_download. Use it even if the target is not remote.
1196 * gdb.base/jit.exp (compile_jit_test): Likewise.
1197 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
1198 output directory if the destination board is local, otherwise use
1199 the standard remote_download from DejaGnu.
1200 (gdb_download): Remove.
1201 (gdb_load_shlibs): Use gdb_remote_download instead of
1202 gdb_download.
1203 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1204 Use gdb_remote_download instead of gdb_download. Use it even if
1205 the target is not remote.
1206 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
1207 instead of gdb_download.
1208
7beb7f68
SM
12092016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
1210
1211 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
1212 (test_insert_delete_modify): Call mi_load_shlibs before trying to
1213 run.
1214
cc63428a
AV
12152016-04-01 Artemiy Volkov <artemiyv@acm.org>
1216
1217 PR gdb/19820
1218 * gdb.base/printcmds.exp: Add artificial arrays tests.
1219
64cdf930
PA
12202016-03-31 Pedro Alves <palves@redhat.com>
1221
1222 PR gdb/19858
1223 * gdb.base/jit-main.c: Include unistd.h.
1224 (ATTACH): Define to 0 if not already defined.
1225 (wait_for_gdb, mypid): New globals.
1226 (WAIT_FOR_GDB): New macro.
1227 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1228 some breakpoint locations.
1229 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1230 New procedures.
1231 (one_jit_test): Add REATTACH parameter, and handle it. Use
1232 continue_to_test_location.
1233 (top level): Test attach, and adjusts calls to one_jit_test.
1234
40dea8cb
PA
12352016-03-31 Pedro Alves <palves@redhat.com>
1236
1237 PR gdb/19858
1238 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1239 BINSUFFIX parameter, and handle it.
1240 (top level): Adjust calls compile_jit_test.
1241
e7ea3ec7
CU
12422016-03-31 Catalin Udma <catalin.udma@freescale.com>
1243
1244 PR python/19743
1245 * gdb.python/py-mi-events-gdb.py: New file.
1246 * gdb.python/py-mi-events.c: New file.
1247 * gdb.python/py-mi-events.exp: New file.
1248
e6359af3
YQ
12492016-03-30 Yao Qi <yao.qi@linaro.org>
1250
1251 * gdb.reverse/until-precsave.exp: Match function name only.
1252 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1253 Move malloc to a condition block.
1254 * gdb.reverse/until-reverse.exp: Match function name only.
1255
a4105d04
MK
12562016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1257
1258 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1259 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1260 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1261 variable for GPR 0 instead of assuming it is register 0.
1262 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1263 * lib/trace-support.exp: Add s390 registers.
1264
bfa6adb9
YQ
12652016-03-29 Yao Qi <yao.qi@linaro.org>
1266
1267 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1268
1e6697ea
YQ
12692016-03-24 Yao Qi <yao.qi@linaro.org>
1270
1271 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1272 test message.
1273
64bcd522
AA
12742016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1275
1276 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1277 maintaining separate logic for constructing the output path.
1278
7868401b
DB
12792016-03-16 Don Breazeal <donb@codesourcery.com>
1280
1281 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1282 Retry fork and waitpid on interrupted system call errors.
1283 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1284 Use with_timeout_factor to increase timeout by factor of 10.
1285
1cafadb4
DB
12862016-03-15 Don Breazeal <donb@codesourcery.com>
1287
1288 * gdb.cp/scope-err.cc: New test program.
1289 * gdb.cp/scope-err.exp: New test script.
1290 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1291 lines and "set breakpoint here" comment.
1292 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1293 Fixed some whitespace and format issues.
1294 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1295 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1296
81516450
DE
12972016-03-15 Doug Evans <dje@google.com>
1298
1299 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1300 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1301 All callers updated. Add tests for enums, mixed flags register.
1302
aa52b601
DE
13032016-03-15 Doug Evans <dje@google.com>
1304
1305 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1306 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1307
fa4ff313
SM
13082016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1309
1310 * gdb.base/default.exp: Add $_as_string to the list of expected
1311 convenience functions.
1312
f2403c39
AB
13132016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1314
1315 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1316
f2f3ccb9
SM
13172016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1318
1319 * gdb.python/py-as-string.exp: New file.
1320 * gdb.python/py-as-string.c: New file.
1321
00dbd492
PA
13222016-03-09 Pedro Alves <palves@redhat.com>
1323
1324 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1325 signal" -> "Thread NN received signal" output change.
1326 * gdb.threads/ia64-sigill.exp: Likewise.
1327 * gdb.threads/linux-dp.exp: Likewise.
1328 * gdb.threads/manythreads.exp: Likewise.
1329 * gdb.threads/pending-step.exp: Likewise.
1330 * gdb.threads/print-threads.exp: Likewise.
1331 * gdb.threads/sigstep-threads.exp: Likewise.
1332 * gdb.threads/staticthreads.exp: Likewise.
1333 * gdb.threads/tls.exp: Likewise.
1334
1e6697ea
YQ
13352016-03-09 Pedro Alves <palves@redhat.com>
1336
1337 * gdb.base/command-line-input.exp: New file.
1338
b04fd3be
MK
13392016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1340
1341 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1342 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1343 * gdb.trace/pending.exp: Accept leading dot before function name.
1344 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1345 * lib/trace-support.exp: Set registers for ppc.
1346
98fa59e9
MK
13472016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1348
1349 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1350 use it for disassembly; accept .main in addition to main in backtrace.
1351
f77198c8
MK
13522016-03-09 Wei-cheng Wang <cole945@gmail.com>
1353 Marcin Kościelnicki <koriakin@0x04.net>
1354
1355 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1356 (gdb_recursion_test_ptr): New global variable.
1357 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1358 gdb_recursion_test.
1359 (gdb_c_test): Ditto.
1360
ba84e0da
MK
13612016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1362
1363 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1364 ordering.
1365
4366d36e
MK
13662016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1367
1368 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1369 (bar): Add bar_start_lbl label.
1370 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1371 of foo/bar for emitting DWARF and tracing.
1372
5eb264df
SDJ
13732016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1374
1375 * analyze-racy-logs.py: Set executable bit.
1376
fb6a751f
SDJ
13772016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1378
1379 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1380 (CHECK_TARGET_TMP): Likewise.
1381 (check-single-racy): New rule.
1382 (check-parallel-racy): Likewise.
1383 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1384 (do-check-parallel-racy): New rule.
1385 (check-racy/%.exp): Likewise.
1386 * README (Racy testcases): New section.
1387 * analyze-racy-logs.py: New file.
1388
bdf7e230
DE
13892016-03-03 Doug Evans <dje@google.com>
1390
1391 * gdb.base/skip.exp: Use with_test_prefix.
1392
4719d415
YQ
13932016-03-03 Yao Qi <yao.qi@linaro.org>
1394
1395 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1396 Invoke step_over_syscall "clone" and break_cond_on_syscall
1397 "clone".
1398 * gdb.base/step-over-clone.c: New file.
1399
ea507862
YQ
14002016-03-03 Yao Qi <yao.qi@linaro.org>
1401
1402 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1403 code format.
1404
8fc8cbda
YQ
14052016-03-03 Yao Qi <yao.qi@linaro.org>
1406
1407 * gdb.base/disp-step-fork.c: Rename to ...
1408 * gdb.base/step-over-fork.c: ... it. New file.
1409 * gdb.base/disp-step-vfork.c: Rename to ...
1410 * gdb.base/step-over-vfork.c: ... it. New file.
1411 * gdb.base/disp-step-syscall.exp: Rename to ...
1412 * gdb.base/step-over-syscall.exp: ... it. New file.
1413 (disp_step_cross_syscall): Rename to ...
1414 (step_over_syscall): ... it.
1415
92fa70b0
YQ
14162016-03-03 Yao Qi <yao.qi@linaro.org>
1417
1418 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1419 If target supports condition evaluation on target, invoke
1420 break_cond_on_syscall for fork and vfork.
1421
e197ad3c
YQ
14222016-03-03 Yao Qi <yao.qi@linaro.org>
1423
1424 * gdb.base/disp-step-syscall.exp: Don't invoke
1425 support_displaced_stepping.
1426 (disp_step_cross_syscall): Test with displaced stepping off and
1427 on if supported.
1428
0b47da9f
YQ
14292016-03-03 Yao Qi <yao.qi@linaro.org>
1430
1431 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1432 proc.
1433 (setup): New proc.
1434 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1435 and setup.
1436
065ab6dc
BH
14372016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1438
1439 * gdb.fortran/vla-history.exp: Remove breakpoint.
1440
07e448ad 14412016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1442
25d49b86
PA
1443 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1444 exceeds timeout.
07e448ad 1445
9ac2d526 14462016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1447
25d49b86
PA
1448 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1449 breakpoint.
9ac2d526 1450
17807369
BH
14512016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1452
1453 * gdb.mi/vla.f90: Nullify pointer after declaration.
1454
86e501af
PA
14552016-03-01 Pedro Alves <palves@redhat.com>
1456
1457 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1458
1e903e32
PA
14592016-03-01 Pedro Alves <palves@redhat.com>
1460
1461 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1462 before anything else.
1463 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1464 _GNU_SOURCE here.
1465 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1466 before anything else.
1467 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1468
6ccb54e2
PA
14692016-03-01 Pedro Alves <palves@redhat.com>
1470
1471 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1472
30ca9da1
YQ
14732016-03-01 Yao Qi <yao.qi@linaro.org>
1474
1475 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1476 prepare_for_testing.
1477
dc856b38
YQ
14782016-03-01 Yao Qi <yao.qi@linaro.org>
1479
1480 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1481
4a932159
AA
14822016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1483
1484 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1485 manually constructing the output path.
1486
f2489477
AA
14872016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1488
1489 * gdb.arch/s390-stackless.S: New.
1490 * gdb.arch/s390-stackless.exp: New.
1491
38899f16
IB
14922016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1493
1494 * gdb.dlang/circular.c: New file.
1495 * gdb.dlang/circular.exp: New file.
1496
9fde51ed
YQ
14972016-02-26 Yao Qi <yao.qi@linaro.org>
1498
1499 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1500 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1501 (testcases): Update.
1502
ce90fefe
YQ
15032016-02-26 Yao Qi <yao.qi@linaro.org>
1504
1505 * gdb.reverse/aarch64.c: Rename to ...
1506 * gdb.reverse/insn-reverse.c: ... it.
1507 * gdb.reverse/aarch64.exp: Rename to ...
1508 * gdb.reverse/insn-reverse.exp: ... it.
1509
3263bceb
YQ
15102016-02-26 Yao Qi <yao.qi@linaro.org>
1511
1512 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1513 (testcase_ftype): New.
1514 (testcases): New array.
1515 (n_testcases): New.
1516 (main): Call each element in testcases.
1517 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1518 (read_testcase): New.
1519 Do the tests in a loop.
1520
6cb59ff1
YQ
15212016-02-25 Yao Qi <yao.qi@linaro.org>
1522
1523 * gdb.base/branches.c: Remove.
1524
ae91f625
MK
15252016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1526
1527 PR gdb/13808
1528 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1529
678b48b7
MK
15302016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1531
1532 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1533
7337a6f2
MK
15342016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1535
1536 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1537 change x86_64 call_insn to 'callq'.
1538
861ca91f
AT
15392016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1540
1541 * gdb.trace/tfile-avx.c: Move to...
1542 * gdb.trace/tracefile-pseudo-reg.c: Here.
1543 * gdb.trace/tfile-avx.exp: Move to...
1544 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1545
bf74e428
GB
15462016-02-24 Gary Benson <gbenson@redhat.com>
1547
1548 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1549 message on attach.
1550
cce0e923
DE
15512016-02-23 Doug Evans <dje@google.com>
1552
1553 * gdb.base/skip.c (test_skip): New function.
1554 (end_test_skip_file_and_function): New function.
1555 (test_skip_file_and_function): New function.
1556 * gdb.base/skip1.c (test_skip): New function.
1557 (skip1_test_skip_file_and_function): New function.
1558 * gdb.base/skip.exp: Add tests for new skip options.
1559 * gdb.base/skip-solib.exp: Update expected output.
1560 * gdb.perf/skip-command.cc: New file.
1561 * gdb.perf/skip-command.exp: New file.
1562 * gdb.perf/skip-command.py: New file.
1563
4000e47e
MK
15642016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1565
1566 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1567 info registers pattern.
1568
24f75ead
IB
15692016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1570
1571 * lib/future.exp: Add D support.
1572 (gdb_find_gdc): New proc.
1573 (gdb_default_target_compile): Add D support.
1574
fbb7bcbe
WW
15752016-02-18 Wei-cheng Wang <cole945@gmail.com>
1576
1577 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1578 user+system time.
1579 (trace_speed_test): Determine the iteration count for a time
1580 between 15..30 seconds.
1581
012b3a21
WT
15822016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1583
1584 * gdb.arch/i386-mpx-sigsegv.c: New file.
1585 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1586 * gdb.arch/i386-mpx-simple_segv.c: New file.
1587 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1588
2d5189bd
YQ
15892016-02-18 Yao Qi <yao.qi@linaro.org>
1590
1591 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1592 Don't call setup_kfail.
1593
40fb20d0
YQ
15942016-02-18 Yao Qi <yao.qi@linaro.org>
1595
1596 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1597 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1598
21b1f8d2
DE
15992016-02-16 Doug Evans <dje@google.com>
1600
1601 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1602 * gdb.base/skip1.c: Ditto.
1603 * gdb.base/skip.exp: Whitespace cleanup.
1604
4041ed77
DB
16052016-02-16 Don Breazeal <donb@codesourcery.com>
1606
1607 PR remote/19496
1608 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1609 Remove kfail for PR remote/19496.
1610
c4ef31bf
SM
16112016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1612
1613 * lib/gdb.exp (standard_temp_file): Return a path specific to
1614 the runtest invocation.
1615
266b65b3
SM
16162016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1617
1618 * gdb.trace/save-trace.exp: Change relative path to be in the
1619 standard output directory.
1620
a7a0a6a9
JK
16212016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1622
1623 * gdb.arch/i386-prologue.c: Add missing prototypes.
1624
c99dbb42
JK
16252016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1626
1627 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1628 * gdb.arch/i386-prologue.exp: Likewise.
1629 * gdb.arch/i386-size.exp: Likewise.
1630
aa480355
SM
16312016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1632
1633 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1634 define object file path.
1635 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1636 file path.
1637 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1638 standard_output_file to define binfile.
1639
ba881f50
JK
16402016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1641
1642 Fix compatibility with recent gfortran-5.3.1.
1643 * gdb.fortran/vla-history.exp (print vla1 allocated)
1644 (print vla2 allocated, print $2, print $3): Remove
1645 (print $4): Rename to ...
1646 (print $2): ... here.
1647 (print $9): Rename to ...
1648 (print $5): ... here.
1649 (print $10): Rename to ...
1650 (print $6): ... here.
1651 * gdb.fortran/vla.f90: Add pvla initialization.
1652
e9fb005c
JK
16532016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1654
1655 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1656 New test.
1657 * gdb.fortran/vla-value-sub.exp: Likewise.
1658
e44e00ff
MK
16592016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1660
1661 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1662
97e94151
SM
16632016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1664
1665 * i386-biarch-core.exp: Define corefile using
1666 standard_output_file.
1667
01113bc1
YQ
16682016-02-12 Yao Qi <yao.qi@linaro.org>
1669
1670 * gdb.arch/arm-single-step-kernel-helper.c: New.
1671 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1672
33b4777c
MM
16732016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1674
1675 * gdb.btrace/tailcall-only.exp: New.
1676 * gdb.btrace/tailcall-only.c: New.
1677 * gdb.btrace/x86_64-tailcall-only.S: New.
1678 * gdb.btrace/i686-tailcall-only.S: New.
1679
acc23c11
PA
16802016-02-11 Pedro Alves <palves@redhat.com>
1681
1682 * README (Parallel testing): Add missing double quotes.
1683
e352bf0a
PA
16842016-02-11 Pedro Alves <palves@redhat.com>
1685
1686 * README (Parallel testing): New section.
1687 (GDB_PARALLEL): Rewrite.
1688 (FORCE_PARALLEL): Document.
1689
9f5fed78
MK
16902016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1691
1692 * gdb.trace/tfile-avx.c: New test.
1693 * gdb.trace/tfile-avx.exp: New test.
1694
9ef9e6a6
KS
16952016-02-09 Keith Seitz <keiths@redhat.com>
1696
1697 PR breakpoints/19546
1698 * gdb.base/infcall-exec.c: New file.
1699 * gdb.base/infcall-exec2.c: New file.
1700 * gdb.base/infcall-exec.exp: New file.
1701
a96e36da
KS
17022016-02-09 Keith Seitz <keiths@redhat.com>
1703
1704 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1705 (toplevel): Call test_bkpt_address.
1706
9f61929f
KS
17072016-02-09 Keith Seitz <keiths@redhat.com>
1708
1709 PR python/19506
1710 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1711 (toplevel): Call test_bkpt_address.
1712
1e94266c
SM
17132016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1714
1715 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1716 to AC_OUTPUT.
1717 * configure: Regenerate.
1718
2a7f3dff
PA
17192016-02-09 Pedro Alves <palves@redhat.com>
1720
1721 PR breakpoints/19548
1722 * gdb.base/execl-update-breakpoints.c (some_function): New
1723 function.
1724 (main): Call it.
1725 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1726 Tighten expected GDB output.
1727
2151ccc5
SM
17282016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1729
1730 * Makefile.in (ALL_SUBDIRS): Remove.
1731 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1732 (distclean maintainer-clean realclean): Likewise.
1733 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1734 * configure: Regenerate.
1735 * gdb.ada/Makefile.in: Delete.
1736 * gdb.arch/Makefile.in: Likewise.
1737 * gdb.asm/Makefile.in: Likewise.
1738 * gdb.base/Makefile.in: Likewise.
1739 * gdb.btrace/Makefile.in: Likewise.
1740 * gdb.cell/Makefile.in: Likewise.
1741 * gdb.compile/Makefile.in: Likewise.
1742 * gdb.cp/Makefile.in: Likewise.
1743 * gdb.disasm/Makefile.in: Likewise.
1744 * gdb.dlang/Makefile.in: Likewise.
1745 * gdb.dwarf2/Makefile.in: Likewise.
1746 * gdb.fortran/Makefile.in: Likewise.
1747 * gdb.gdb/Makefile.in: Likewise.
1748 * gdb.go/Makefile.in: Likewise.
1749 * gdb.guile/Makefile.in: Likewise.
1750 * gdb.java/Makefile.in: Likewise.
1751 * gdb.linespec/Makefile.in: Likewise.
1752 * gdb.mi/Makefile.in: Likewise.
1753 * gdb.modula2/Makefile.in: Likewise.
1754 * gdb.multi/Makefile.in: Likewise.
1755 * gdb.objc/Makefile.in: Likewise.
1756 * gdb.opencl/Makefile.in: Likewise.
1757 * gdb.opt/Makefile.in: Likewise.
1758 * gdb.pascal/Makefile.in: Likewise.
1759 * gdb.perf/Makefile.in: Likewise.
1760 * gdb.python/Makefile.in: Likewise.
1761 * gdb.reverse/Makefile.in: Likewise.
1762 * gdb.server/Makefile.in: Likewise.
1763 * gdb.stabs/Makefile.in: Likewise.
1764 * gdb.threads/Makefile.in: Likewise.
1765 * gdb.trace/Makefile.in: Likewise.
1766 * gdb.xml/Makefile.in: Likewise.
1767 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1768 GDB_PARALLEL.
1769 (standard_output_file): Remove check for GDB_PARALLEL, always
1770 return path in outputs/$subdir/$testname.
1771
437277d4
SM
17722016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1773
1774 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1775 (site.exp): Assign abs_srcdir to tcl's srcdir.
1776
31d913c7
YQ
17772016-02-04 Yao Qi <yao.qi@linaro.org>
1778
1779 * gdb.base/foll-exec-mode.c: Include limits.h.
1780 (main): Add parameters argc and argv. Get directory from
1781 argv[0].
1782 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1783 compilation.
1784 * gdb.base/foll-exec.c: Include limits.h.
1785 (main): Add parameters argc and argv.
1786 Get directory from argv[0].
1787 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1788 Adjust tests on the number of lines as source code changed.
1789 * gdb.base/foll-vfork-exit.c: Include limits.h.
1790 (main): Add one line of statement before vfork.
1791 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1792 (main): Add parameters argc and argv. Get directory from
1793 argv[0].
1794 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1795 (setup_gdb): Set tbreak to skip some source lines.
1796 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1797 (main): Add parameters argc and argv. Get directory from
1798 argv[0].
1799 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1800 compilation.
1801 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1802 (main): Add parameters argc and argv. Get directory from
1803 argv[0].
1804 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1805 compilation.
1806
9482b9fb
DE
18072016-02-01 Doug Evans <dje@google.com>
1808
1809 * gdb.base/skip.exp: Clean up multiple references to same test name.
1810
6b2e4f10
PA
18112016-02-01 Pedro Alves <palves@redhat.com>
1812
ccb6afd6 1813 PR remote/19496
6b2e4f10
PA
1814 * gdb.threads/forking-threads-plus-breakpoint.exp
1815 (displaced_stepping_supported): New global.
1816 (probe_displaced_stepping_support): New procedure.
1817 (do_test): Add 'displaced' parameter, and use it.
1818 (top level): Check for displaced stepping support. Add displaced
1819 stepping on/off testing axis.
1820
37a8db1a
AB
18212016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1822
1823 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1824 pointer. Don't perform further tests on the unassociated pointer
1825 if the first test fails.
1826
5fdf6324
AB
18272016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1828
1829 * gdb.base/max-value-size.c: New file.
1830 * gdb.base/max-value-size.exp: New file.
1831 * gdb.base/huge.exp: Disable max-value-size for this test.
1832
935c6144
IB
18332016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1834
1835 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1836
7fe8399d
YQ
18372016-01-28 Yao Qi <yao.qi@linaro.org>
1838
1839 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1840
a2077e25
PA
18412016-01-25 Pedro Alves <palves@redhat.com>
1842
1843 PR threads/19461
1844 * gdb.base/fork-running-state.c: New file.
1845 * gdb.base/fork-running-state.exp: New file.
1846
1d2736d4
PA
18472016-01-25 Pedro Alves <palves@redhat.com>
1848
1849 PR gdb/19494
1850 * gdb.base/catch-fork-kill.c: New file.
1851 * gdb.base/catch-fork-kill.exp: New file.
1852
f1da4b11
PA
18532016-01-25 Pedro Alves <palves@redhat.com>
1854
1855 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1856 Delete, moved to lib/gdb.exp.
1857 * gdb.threads/forking-threads-plus-breakpoint.exp
1858 (foreach_with_prefix): Likewise.
1859 * gdb.threads/process-dies-while-handling-bp.exp
1860 (foreach_with_prefix): Likewise.
1861 * lib/gdb.exp (foreach_with_prefix): New procedure.
1862
45f38546
MK
18632016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1864
1865 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1866 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1867
dc29a1ce
MK
18682016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1869
1870 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1871 endian targets.
1872
092127d7
JK
18732016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1874 Pedro Alves <palves@redhat.com>
1875
1876 Fix testsuite compatibility with Guile.
1877 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1878 number.
1879
31d765d3
JK
18802016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1881
1882 Fix testsuite compatibility with Guile.
1883 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1884 (thread 1): New test for backtrace through signal handler.
1885
1ac78c04
YQ
18862016-01-22 Yao Qi <yao.qi@linaro.org>
1887
1888 PR testsuite/19491
1889 * gdb.base/multi-forks.c: Include
1890 ../lib/unbuffer_output.c
1891 (main): Call gdb_unbuffer_output.
1892
4f5946a8
DE
18932016-01-21 Doug Evans <dje@google.com>
1894
1895 * lib/ada.exp (gdb_compile_ada): Fix typo.
1896
305e13e6
JB
18972016-01-21 Joel Brobecker <brobecker@adacore.com>
1898
1899 * gdb.base/break-fun-addr.exp: New file.
1900 * gdb.base/break-fun-addr1.c: New file.
1901 * gdb.base/break-fun-addr2.c: New file.
1902
5f5dfff6
SM
19032016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1904
1905 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1906 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1907 enum flag values.
1908
fd356fa2
AA
19092016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1910
1911 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1912 when GDB can not set the vector return value. Add more comments
1913 for clarification.
1914
9df22175
AT
19152016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1916
1917 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1918 command.
1919
41d1845e
SM
19202016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1921
1922 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1923
01ac6840
SM
19242016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1925
1926 * Makefile.in (check-single): Pass --status to runtest.
1927 (check/%.exp): Likewise.
1928
19292016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1930
1931 * Makefile.in (check-parallel): Propagate return code from make
1932 do-check-parallel.
1933
bd0a71fa
MK
19342016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1935
1936 * gdb.trace/ftrace.exp: Fix expected message on continue.
1937 * gdb.trace/pending.exp: Fix expected message on continue.
1938 * gdb.trace/trace-break.exp: Fix expected message on continue.
1939
8bcbad33
SM
19402016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1941
1942 * lib/gdb.exp (gdb_test): Remove unused global references.
1943
f303dbd6
PA
19442016-01-18 Pedro Alves <palves@redhat.com>
1945
1946 * gdb.base/async-shell.exp: Adjust expected output.
1947 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1948 * gdb.base/siginfo-thread.exp: Adjust expected output.
1949 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1950 * gdb.java/jnpe.exp: Adjust expected output.
1951 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1952 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1953 * gdb.threads/leader-exit.exp: Adjust expected output.
1954 * gdb.threads/manythreads.exp: Adjust expected output.
1955 * gdb.threads/pthreads.exp: Adjust expected output.
1956 * gdb.threads/schedlock.exp: Adjust expected output.
1957 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1958 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1959 expected output.
1960 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1961 output.
1962 * gdb.threads/sigthread.exp: Adjust expected output.
1963 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1964
b2789696
YQ
19652016-01-18 Yao Qi <yao.qi@linaro.org>
1966
1967 * gdb.guile/scm-section-script.c: Replace @progbits with
1968 %progbits.
1969 * gdb.python/py-section-script.c: Likewise.
1970
71ef29a8
PA
19712016-01-15 Pedro Alves <palves@redhat.com>
1972
1973 * gdb.multi/tids.exp: Test star wildcard ranges.
1974
3f5b7598
PA
19752016-01-15 Pedro Alves <palves@redhat.com>
1976
1977 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1978 command from "thread apply" invocation.
1979 (thr_apply_info_thr_invalid): Default the expected output to the
1980 input tid list.
1981 (top level): Add tests that use convenience variables. Add tests
1982 for "thread apply" with a valid TID list, but missing the command.
1983
663f6d42
PA
19842016-01-13 Pedro Alves <palves@redhat.com>
1985
1986 * gdb.base/default.exp: Expect $_gthread as well.
1987 * gdb.multi/tids.exp: Test $_gthread.
1988 * gdb.threads/thread-specific.exp: Test $_gthread.
1989
c84f6bbf
PA
19902016-01-13 Pedro Alves <palves@redhat.com>
1991
1992 * gdb.multi/tids.exp: Test "info threads -gid".
1993
22a02324
PA
19942016-01-13 Pedro Alves <palves@redhat.com>
1995
1996 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1997 Breakpoint.thread.
1998 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1999
5d5658a1
PA
20002016-01-07 Pedro Alves <palves@redhat.com>
2001
2002 * gdb.base/break.exp: Adjust to output changes.
2003 * gdb.base/hbreak2.exp: Likewise.
2004 * gdb.base/sepdebug.exp: Likewise.
2005 * gdb.base/watch_thread_num.exp: Likewise.
2006 * gdb.linespec/keywords.exp: Likewise.
2007 * gdb.multi/info-threads.exp: Likewise.
2008 * gdb.threads/thread-find.exp: Likewise.
2009 * gdb.multi/tids.c: New file.
2010 * gdb.multi/tids.exp: New file.
2011
84654457
PA
20122016-01-13 Pedro Alves <palves@redhat.com>
2013
2014 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
2015
e3940304
PA
20162016-01-13 Pedro Alves <palves@redhat.com>
2017
2018 * gdb.base/default.exp: Expect $_inferior as well.
2019 * gdb.multi/base.exp: Test $_inferior.
2020
a911d87a
PA
20212016-01-13 Pedro Alves <palves@redhat.com>
2022
2023 PR breakpoints/19388
2024 * gdb.base/catch-signal-siginfo-cond.c: New file.
2025 * gdb.base/catch-signal-siginfo-cond.exp: New file.
2026
82075af2
JS
20272016-01-12 Josh Stone <jistone@redhat.com>
2028 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2029
2030 * gdb.base/catch-syscall.c (do_execve): New variable.
2031 (main): Conditionally trigger an execve.
2032 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
2033 (test_catch_syscall_execve): New, check entry/return across execve.
2034 (do_syscall_tests): Call test_catch_syscall_execve.
2035
e46eeedd
PA
20362016-01-12 Pedro Alves <palves@redhat.com>
2037
2038 * gdb.base/random-signal.exp (do_test): New procedure, with body
2039 of testcase moved in.
2040
01d8c27e
JK
20412016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2042 Pedro Alves <palves@redhat.com>
2043
2044 * gdb.base/funcargs.exp (finish from indirectly called function):
2045 Reintroduce the case for 'First'.
2046
9a706302
JK
20472016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2048 Pedro Alves <palves@redhat.com>
2049
2050 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
2051 (tcatch_vfork_then_child_follow_exec)
2052 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
2053 identification.
2054
c0ecb95f
JK
20552016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2056
2057 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
2058 and repeats to unlimited.
2059 * gdb.python/py-value.exp: Likewise.
2060 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
2061 and repeats to unlimited.
2062
6cfc1fcb
JK
20632016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2064
2065 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
2066 and reordering the functions.
2067 * gdb.multi/hangout.c: Likewise.
2068 * gdb.multi/hello.c: Likewise.
2069
582a1b00
SM
20702016-01-08 Simon Marchi <simon.marchi@ericsson.com>
2071
2072 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
2073 absolute.
2074 (SingleStatisticTestResult.report): Use dict.keys instead of
2075 dict.iterkeys.
2076
79bc59cb
PA
20772016-01-06 Pedro Alves <palves@redhat.com>
2078
2079 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
2080
43368e1d
MM
20812016-01-04 Markus Metzger <markus.t.metzger@intel.com>
2082
2083 * gdb.btrace/dlopen.exp: New.
2084 * gdb.btrace/dlopen.c: New.
2085 * gdb.btrace/dlopen-dso.c: New.
2086
79fad5b8
SL
20872015-12-25 Sandra Loosemore <sandra@codesourcery.com>
2088
2089 * lib/gdb.exp (gdb_test): Update comments to clarify that the
2090 PATTERN argument is optional.
2091
ab8314b3
JB
20922015-12-24 Joel Brobecker <brobecker@adacore.com>
2093
2094 * lib/ada.exp (target_compile_ada_from_dir): New function.
2095 (gdb_compile_ada): Reimplement avoiding the use of project files.
2096 * gdb.ada/gnat_ada.gpr: Delete.
2097 * gdb.ada/cond_lang.exp: Adjust test to make path before
2098 filename optional.
2099 * gdb.ada/small_reg_param.exp: Likewise.
2100
fe33faff
SM
21012015-12-22 Simon Marchi <simon.marchi@ericsson.com>
2102
2103 * gdb.base/foll-vork.exp: Remove HP-UX special case.
2104
6d265cb4
TP
21052015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
2106
2107 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
2108 case.
2109
10125099
SM
21102015-12-21 Simon Marchi <simon.marchi@ericsson.com>
2111
2112 * gdb.base/break.exp: Remove dead code.
2113 * gdb.base/sepdebug.exp: Likewise.
2114
3ca22649
SM
21152015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2116
2117 * gdb.asm/asm-source.exp: Remove HP-UX references.
2118 * gdb.base/annota1.exp: Likewise.
2119 * gdb.base/annota3.exp: Likewise.
2120 * gdb.base/attach.exp: Likewise.
2121 * gdb.base/bigcore.exp: Likewise.
2122 * gdb.base/break.exp: Likewise.
2123 * gdb.base/call-ar-st.exp: Likewise.
2124 * gdb.base/callfuncs.exp: Likewise.
2125 * gdb.base/catch-fork-static.exp: Likewise.
2126 * gdb.base/display.exp: Likewise.
2127 * gdb.base/foll-exec-mode.exp: Likewise.
2128 * gdb.base/foll-exec.exp: Likewise.
2129 * gdb.base/foll-fork.exp: Likewise.
2130 * gdb.base/foll-vfork.exp: Likewise.
2131 * gdb.base/funcargs.exp: Likewise.
2132 * gdb.base/hbreak2.exp: Likewise.
2133 * gdb.base/inferior-died.exp: Likewise.
2134 * gdb.base/interrupt.exp: Likewise.
2135 * gdb.base/multi-forks.exp: Likewise.
2136 * gdb.base/nodebug.exp: Likewise.
2137 * gdb.base/sepdebug.exp: Likewise.
2138 * gdb.base/solib1.c: Likewise.
2139 * gdb.base/step-test.exp: Likewise.
2140 * gdb.mi/non-stop.c: Likewise.
2141 * gdb.mi/pthreads.c: Likewise.
2142 * gdb.multi/bkpt-multi-exec.ex: Likewise.
2143 * gdb.threads/pthreads.c: Likewise.
2144 * gdb.threads/staticthreads.exp: Likewise.
2145 * lib/future.exp: Likewise.
2146 * lib/gdb.exp: Likewise.
2147 * gdb.base/so-indr-cl.c: Remove.
2148 * gdb.base/so-indr-cl.exp: Likewise.
2149 * gdb.base/solib.c: Likewise.
2150 * gdb.base/solib.exp: Likewise.
2151 * gdb.base/solib2.c: Likewise.
2152
b6304613
SM
21532015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2154
2155 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
2156 * gdb.base/call-ar-st.exp: Likewise.
2157 * gdb.base/callfuncs.exp: Likewise.
2158 * gdb.base/condbreak.exp: Likewise.
2159 * gdb.base/constvars.exp: Likewise.
2160 * gdb.base/hbreak2.exp: Likewise.
2161 * gdb.base/langs.exp: Likewise.
2162 * gdb.base/list.exp: Likewise.
2163 * gdb.base/long_long.exp: Likewise.
2164 * gdb.base/ptype.exp: Likewise.
2165 * gdb.base/scope.exp: Likewise.
2166 * gdb.base/signals.exp: Likewise.
2167 * gdb.base/so-impl-ld.exp: Likewise.
2168 * gdb.base/varargs.exp: Likewise.
2169 * gdb.base/volatile.exp: Likewise.
2170 * gdb.base/whatis.exp: Likewise.
2171 * gdb.cp/cplusfuncs.exp: Likewise.
2172 * gdb.cp/inherit.exp: Likewise.
2173 * gdb.cp/local.exp: Likewise.
2174 * gdb.cp/member-ptr.exp: Likewise.
2175 * gdb.cp/method.exp: Likewise.
2176 * gdb.cp/overload.exp: Likewise.
2177 * gdb.cp/templates.exp: Likewise.
2178 * gdb.stabs/weird.exp: Likewise.
2179 * lib/compiler.c: Likewise.
2180 * lib/compiler.cc: Likewise.
2181 * lib/cp-support.exp: Likewise.
2182 * lib/gdb.exp: Likewise.
2183
bf401b07
SM
21842015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
2185
2186 * configure.ac: Remove HP-UX case.
2187 * configure: Regenerate.
2188
aff9c0f8
SM
21892015-12-18 Simon Marchi <simon.marchi@ericsson.com>
2190
2191 * lib/gdb.exp (gdb_compile): Add function doc.
2192
a6904d5a
PA
21932015-12-17 Pedro Alves <palves@redhat.com>
2194
2195 PR threads/19354
2196 * gdb.multi/info-threads.exp: New file.
2197
a22279dd
YQ
21982015-12-15 Yao Qi <yao.qi@linaro.org>
2199
2200 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
2201 is aarch64*-*-*.
2202
0588c796
SL
22032015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2204
2205 * gdb.base/history-duplicates.exp: Skip if no readline support.
2206
5d978e17
SL
22072015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2208
2209 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
2210
7e763b86
SL
22112015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2212
2213 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
2214
87a3a92c
SL
22152015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2216
2217 * gdb.base/completion.exp: Skip tests that interrupt GDB with
2218 ctrl-C if nointerrupts target property is set.
2219 * gdb.base/double-prompt-target-event-error.exp: Likewise.
2220 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
2221 * gdb.base/paginate-bg-execution.exp: Likewise.
2222 * gdb.base/paginate-execution-startup.exp: Likewise.
2223 * gdb.base/random-signal.exp: Likewise.
2224 * gdb.base/range-stepping.exp: Likewise.
2225 * gdb.cp/annota2.exp: Likewise.
2226 * gdb.cp/annota3.exp: Likewise.
2227 * gdb.gdb/selftest.exp: Likewise.
2228 * gdb.threads/continue-pending-status.exp: Likewise.
2229 * gdb.threads/leader-exit.exp: Likewise.
2230 * gdb.threads/manythreads.exp: Likewise.
2231 * gdb.threads/pthreads.exp: Likewise.
2232 * gdb.threads/schedlock.exp: Likewise.
2233 * gdb.threads/sigthread.exp: Likewise.
2234
a8f077dc
DB
22352015-12-11 Don Breazeal <donb@codesourcery.com>
2236
2237 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2238 remote.
2239 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2240 * gdb.base/foll-exec.exp (main): Enable for target remote.
2241 * gdb.base/foll-fork.exp (main): Likewise.
2242 * gdb.base/foll-vfork.exp (main): Likewise.
2243 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2244 (proc continue_to_exit_bp_loc): Use clean_restart.
2245 * gdb.base/pie-execl.exp (main): Disable for target remote.
2246 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2247 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2248 * gdb.threads/execl.exp (main): Likewise.
2249 * gdb.threads/fork-child-threads.exp (main): Likewise.
2250 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2251 remote.
2252 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2253 remote.
2254 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2255 pid.tid style ptids, instead of just tid.
2256 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2257 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2258 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2259 ptids, instead of just tid.
2260
3b2464a8
AB
22612015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2262
2263 * gdb.base/list.exp (test_list_forward): Add end of file error
2264 test.
2265 (test_repeat_list_command): Add end of file error test.
2266 (test_list_backwards): Add beginning of file error test.
2267
a0def019
AB
22682015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2269
2270 * gdb.base/list.exp (test_list_invalid_args): New function,
2271 defined, and called.
2272
5c000dff
AB
22732015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2274
2275 * gdb.base/list.exp (test_list): Make test names unique.
2276
f1637ebe
YQ
22772015-12-11 Yao Qi <yao.qi@linaro.org>
2278
2279 * gdb.base/coremaker2.c: Remove.
2280
36d6fc0a
PA
22812015-12-10 Pedro Alves <palves@redhat.com>
2282
2283 * gdb.multi/base.exp: Remove stale "spaces" references.
2284
762f7747
PA
22852015-12-10 Pedro Alves <palves@redhat.com>
2286
2287 * gdb.multi/base.exp: Don't use nowarnings.
2288 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2289 * gdb.multi/hangout.c: Include stdio.h.
2290 * gdb.multi/hello.c: Include stdlib.h.
2291 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2292 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2293 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2294
28d2bfb9
AB
22952015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2296
2297 * gdb.dwarf2/dw2-ranges-base.c: New file.
2298 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2299 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2300 support additional line table, and debug ranges generation.
2301 (Dwarf::ranges): New function, generate .debug_ranges.
2302 (Dwarf::lines): Support generating simple line table programs.
2303 (Dwarf::assemble): Initialise new namespace variables.
2304
5fc2beac
KB
23052015-12-09 Kevin Buettner <kevinb@redhat.com>
2306
2307 * gdb.base/async.exp (proc test_background): Add case for
2308 asynchronous execution not supported.
2309
1c35a88f
LM
23102015-12-09 Luis Machado <lgustavo@codesourcery.com>
2311
2312 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2313 format and change test names to make them unique.
2314
b593e3d9
RK
23152015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2316 Pedro Alves <pedro@redhat.com>
2317
2318 PR gdb/18702
2319 Add checking of floatformats setup on x86_64 hosts.
2320 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2321 (smallval, bigval): New labels/constants.
2322 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2323 float" after loading bigval and smallval.
2324
d72413e6
PMR
23252015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2326
2327 * gdb.ada/fun_overload_menu.exp: New testcase.
2328 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2329
ece66d65
JS
23302015-12-04 Josh Stone <jistone@redhat.com>
2331
2332 * gdb.base/catch-fork-static.exp: New.
2333
41d0efca
YQ
23342015-12-03 Yao Qi <yao.qi@linaro.org>
2335
2336 * gdb.base/sizeof.c: Don't include stdio.h and
2337 ../lib/unbuffer_output.c.
2338 (main): New variable 'size' and 'value'. Remove printf and
2339 gdb_unbuffer_output. Assign return value to size and value.
2340 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2341 at the beginning.
2342 (check_sizeof): Check the result by printing variable 'size'.
2343 (check_valueof): Check the result by printing variable 'value'.
2344
99fd02d9
YQ
23452015-12-01 Yao Qi <yao.qi@linaro.org>
2346
2347 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2348 for aarch64*-*-linux* target.
2349
f2faf941
PA
23502015-11-30 Pedro Alves <palves@redhat.com>
2351
2352 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2353
04bf20c5
PA
23542015-11-30 Pedro Alves <palves@redhat.com>
2355
2356 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2357 Handle non-stop mode vCont replies.
2358
09df4675
PA
23592015-11-30 Pedro Alves <palves@redhat.com>
2360
2361 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2362 prepare_for_testing. Start gdb with "set non-stop on" appended to
2363 GDBFLAGS. Lax expected stop output.
2364
58b584af
YQ
23652015-11-27 Yao Qi <yao.qi@linaro.org>
2366
2367 * gdb.arch/arm-neon.exp: New.
2368 * gdb.arch/arm-neon.c: New.
2369
dfcb77a8
YQ
23702015-11-27 Yao Qi <yao.qi@linaro.org>
2371
2372 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2373
88e8ec1b
YQ
23742015-11-27 Yao Qi <yao.qi@linaro.org>
2375
2376 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2377 frames-invalid annotation.
2378
bfde72c2
YQ
23792015-11-27 Yao Qi <yao.qi@linaro.org>
2380
2381 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2382
f6512a69
SM
23832015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2384
2385 * gdb.threads/names.exp: New file.
2386 * gdb.threads/names.c: New file.
2387 * README: Mention gdb,no_thread_names.
2388
46a3515b
MM
23892015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2390
2391 PR 19297
2392 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2393 support" error.
2394
62147a22
PA
23952015-11-24 Pedro Alves <palves@redhat.com>
2396
2397 PR 17539
2398 * gdb.base/display.exp: Expect displays to be sorted in ascending
2399 order. Use multi_line.
2400 * gdb.base/solib-display.exp: Likewise.
2401
2f341b6e
PA
24022015-11-24 Pedro Alves <palves@redhat.com>
2403
2404 PR 17539
25d49b86
PA
2405 * gdb.base/display.exp: Expect displays to be sorted in ascending
2406 order. Use multi_line.
2407 * gdb.base/solib-display.exp: Likewise.
2f341b6e 2408
7e0aa6aa
PA
24092015-11-24 Pedro Alves <palves@redhat.com>
2410
2411 PR 17539
2412 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2413 threads in ascending order.
2414 * gdb.base/foll-fork.exp: Likewise.
2415 * gdb.base/foll-vfork.exp: Likewise.
2416 * gdb.base/multi-forks.exp: Likewise.
2417 * gdb.mi/mi-nonstop.exp: Likewise.
2418 * gdb.mi/mi-nsintrall.exp: Likewise.
2419 * gdb.multi/base.exp: Likewise.
2420 * gdb.multi/multi-arch.exp: Likewise.
2421 * gdb.python/py-inferior.exp: Likewise.
2422 * gdb.threads/break-while-running.exp: Likewise.
2423 * gdb.threads/execl.exp: Likewise.
2424 * gdb.threads/gcore-thread.exp: Likewise.
2425 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2426 * gdb.threads/kill.exp: Likewise.
2427 * gdb.threads/linux-dp.exp: Likewise.
2428 * gdb.threads/multiple-step-overs.exp: Likewise.
2429 * gdb.threads/next-bp-other-thread.exp: Likewise.
2430 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2431 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2432 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2433 * gdb.threads/thread-find.exp: Likewise.
2434 * gdb.threads/tls.exp: Likewise.
2435 * lib/mi-support.exp (mi_reverse_list): Delete.
2436 (mi_check_thread_states): No longer reverse list.
2437
2cc57ad8
PA
24382015-11-24 Pedro Alves <palves@redhat.com>
2439
2440 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2441 use lowercase.
2442
c93e8391
SM
24432015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2444
2445 * gdb.trace/actions.c: Include trace-common.h.
2446 (main): Add a location for a fast tracepoint.
2447 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2448 the normal tracepoints.
2449 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2450
045ccf91
SM
24512015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2452
2453 * save-trace.exp: Factor out code to these...
2454 (gdb_save_tracepoints): New.
2455 (gdb_load_tracepoints): New.
2456 (do_save_load_test): New.
2457
5506f9f6
KB
24582015-11-23 Kevin Buettner <kevinb@redhat.com>
2459
2460 * gdb.base/asmlabel.exp: New test.
2461 * gdb.base/asmlabel.c: New test case.
2462
16c3b12f
JB
24632015-11-23 Joel Brobecker <brobecker@adacore.com>
2464
2465 * gdb.base/wrong_frame_bt_full-main.c: New file.
2466 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2467 * gdb.base/wrong_frame_bt_full.exp: New file.
2468
155bfbd3
JB
24692015-11-23 Joel Brobecker <brobecker@adacore.com>
2470
2471 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2472
bb097445
JM
24732015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2474
206853a0 2475 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
2476 pstate register when comparing registers values in
2477 sparc64-*-linux-gnu targets to avoid spurious differences.
2478
9c88ed8f
JM
24792015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2480
206853a0 2481 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 2482
96161e25
SL
24832015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2484
2485 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2486 as type argument to gdb_compile.
2487 * gdb.base/nested-subp2.exp: Likewise.
2488 * gdb.base/nested-subp3.exp: Likewise.
2489
340c2830
DV
24902015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2491
2492 * lib/dwarf.exp (_note): Fix left shift of negative value.
2493 * gdb.trace/trace-condition.exp: Likewise.
2494
c1862d0f
YQ
24952015-11-13 Yao Qi <yao.qi@linaro.org>
2496
2497 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2498 comments about d10v.
2499 (test_scalar_returns): Likewise.
2500 * gdb.base/d10v.ld: Remove.
2501 * gdb.base/overlays.exp: Remove the target triplet checking for
2502 d10v-*-*.
2503 * gdb.base/structs.exp (test_struct_returns): Remove the
2504 comments about d10v.
2505 (test_struct_calls): Likewise.
2506
77ae9c19
YQ
25072015-11-13 Yao Qi <yao.qi@linaro.org>
2508
2509 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2510 * gdb.base/gnu_vector.c: Don't include stdio.h.
2511 (main): Don't print res and call add_some_intvecs.
2512
430e004e
MK
25132015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2514
2515 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2516 macro.
2517 (func5): Removed.
2518 (func4): Use FAST_TRACEPOINT_LABEL.
2519 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2520 macro.
2521 (func): Removed.
2522 (thread_function): Use FAST_TRACEPOINT_LABEL.
2523 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2524 (func): Remove.
2525 (marker): Use FAST_TRACEPOINT_LABEL.
2526 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2527 (pendfunc1): Remove.
2528 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2529 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2530 (foo): Remove.
2531 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2532 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2533 macro.
2534 (func): Remove.
2535 (marker): Use FAST_TRACEPOINT_LABEL.
2536 * gdb.trace/trace-common.h: New header.
2537 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2538 macro.
2539 (func): Remove.
2540 (marker): Use FAST_TRACEPOINT_LABEL.
2541 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2542 (func): Remove.
2543 (thread_function): Use FAST_TRACEPOINT_LABEL.
2544
6e7675a7
MK
25452015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2546
2547 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2548 in front.
2549 * gdb.trace/change-loc.exp: Use global pcreg definition.
2550 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2551 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2552 in front.
2553 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2554 * gdb.trace/pending.exp: Likewise.
2555 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2556 * gdb.trace/trace-break.exp: Likewise.
2557 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2558 in front.
2559 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2560 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2561 in front.
2562 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2563
dddc0e16
JB
25642015-11-09 Joel Brobecker <brobecker@adacore.com>
2565
2566 * gdb.ada/fin_fun_out: New testcase.
2567
c6f0b406
KB
25682015-11-07 Kevin Buettner <kevinb@redhat.com>
2569
2570 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2571 value associated with DW_AT_byte_size.
2572 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2573 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2574 DW_AT_upper_bound.
2575
f01dcfd9
KB
25762015-11-07 Kevin Buettner <kevinb@redhat.com>
2577
2578 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2579 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2580 version.
2581 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2582 gdb.dwarf2/dw2-canonicalize-type.exp,
2583 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2584 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2585 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2586 provided by gdb_target_symbol_prefix_flags_asm.
2587 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2588 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2589 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2590 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2591 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2592 macros where needed). Use this macro for symbols which require
2593 the prefix provided by SYMBOL_PREFIX.
2594
2223449a
KB
25952015-11-05 Kevin Buettner <kevinb@redhat.com>
2596
2597 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2598 New procs.
2599 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2600 representing expressions, of more than one list element.
2601 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2602 to prepend linker symbol prefix to f.
2603 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2604 table_1 and table_2.
2605 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2606 Likewise, for f and g.
2607 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2608 for ptr.
2609 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2610 for main.
2611 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2612 table_1_ptr and table_2_ptr.
2613
6f2f1a3a
JK
26142015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2615 Joel Brobecker <brobecker@adacore.com>
2616
2617 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2618
566c56c9
MK
26192015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2620
2621 * gdb.reverse/s390-mvcle.c: New test.
2622 * gdb.reverse/s390-mvcle.exp: New file.
2623 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2624
d5f0636b
MK
26252015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2626
2627 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2628
7ad8b86c
MK
26292015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2630
2631 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2632 reaching marker2.
2633 * gdb.reverse/getresuid-reverse.exp: Likewise.
2634 * gdb.reverse/pipe-reverse.exp: Likewise.
2635 * gdb.reverse/readv-reverse.exp: Likewise.
2636 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2637 * gdb.reverse/time-reverse.exp: Likewise.
2638 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2639
4081c0f1
YQ
26402015-10-30 Yao Qi <yao.qi@linaro.org>
2641
2642 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2643 (empty_cycle): Remove.
2644 (main): Don't call empty_cycle. Don't use watch_count_done.
2645 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2646 empty_cycle. Rewrite the code counting HW watchpoints.
2647
452b4ba5
MK
26482015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2649
2650 * gdb.reverse/fstatat-reverse.c: New test.
2651 * gdb.reverse/fstatat-reverse.exp: New file.
2652 * gdb.reverse/getresuid-reverse.c: New test.
2653 * gdb.reverse/getresuid-reverse.exp: New file.
2654 * gdb.reverse/pipe-reverse.c: New test.
2655 * gdb.reverse/pipe-reverse.exp: New file.
2656 * gdb.reverse/readv-reverse.c: New test.
2657 * gdb.reverse/readv-reverse.exp: New file.
2658 * gdb.reverse/recvmsg-reverse.c: New test.
2659 * gdb.reverse/recvmsg-reverse.exp: New file.
2660 * gdb.reverse/time-reverse.c: New test.
2661 * gdb.reverse/time-reverse.exp: New file.
2662 * gdb.reverse/waitpid-reverse.c: New test.
2663 * gdb.reverse/waitpid-reverse.exp: New file.
2664
5e2e7507
JK
26652015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2666
2667 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2668
0fde2c53
DE
26692015-10-26 Doug Evans <dje@google.com>
2670
2671 PR symtab/17391
2672 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2673 * gdb.dwarf2/bad-regnum.c: New file.
2674 * gdb.dwarf2/bad-regnum.exp: New file.
2675
1a70ae97
DE
26762015-10-26 Doug Evans <dje@google.com>
2677
2678 PR python/18938
2679 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2680 file.
2681
27dc26ab
JK
26822015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2683
2684 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2685 for a change by "Mention language in compile error message".
2686
bed91f4d
SM
26872015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2688
2689 PR python/18073
2690 * gdb.python/py-type.c (C::a_method): New.
2691 (C::a_const_method): New.
2692 (C::a_static_method): New.
2693 (a_function): New.
2694 * gdb.python/py-type.exp (test_fields): Test getting fields
2695 from function and method.
2696
3f2f83dd
KB
26972015-10-21 Keven Boell <keven.boell@intel.com>
2698
2699 * gdb.fortran/vla-alloc-assoc.exp: New file.
2700 * gdb.fortran/vla-datatypes.exp: New file.
2701 * gdb.fortran/vla-datatypes.f90: New file.
2702 * gdb.fortran/vla-history.exp: New file.
2703 * gdb.fortran/vla-ptype-sub.exp: New file.
2704 * gdb.fortran/vla-ptype.exp: New file.
2705 * gdb.fortran/vla-sizeof.exp: New file.
2706 * gdb.fortran/vla-sub.f90: New file.
2707 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2708 * gdb.fortran/vla-value-sub-finish.exp: New file.
2709 * gdb.fortran/vla-value-sub.exp: New file.
2710 * gdb.fortran/vla-value.exp: New file.
2711 * gdb.fortran/vla-ptr-info.exp: New file.
2712 * gdb.mi/mi-vla-fortran.exp: New file.
2713 * gdb.mi/vla.f90: New file.
2714
27145d50
SL
27152015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2716
2717 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2718 of hardwired timeout value.
2719
5f3ff4f8
JK
27202015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2721 Pedro Alves <palves@redhat.com>
2722
2723 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2724 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2725
bfd09d20
JS
27262015-10-19 Josh Stone <jistone@redhat.com>
2727
2728 * gdb.base/catch-syscall.c: Include <sched.h>.
2729 (unknown_syscall): New variable.
2730 (main): Trigger a vfork and an unknown syscall.
2731 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2732 (unknown_syscall_number): Likewise.
2733 (check_call_to_syscall): Accept an optional syscall pattern.
2734 (check_return_from_syscall): Likewise.
2735 (check_continue): Likewise.
2736 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2737 (test_catch_syscall_skipping_return): New test toggling off 'catch
2738 syscall' to step over the syscall return, then toggling back on.
2739 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2740 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2741 (do_syscall_tests): Call test_catch_syscall_without_args and
2742 test_catch_syscall_mid_vfork.
2743 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2744 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2745
b32b93c6
AS
27462015-10-19 Andrew Stubbs <ams@codesourcery.com>
2747
2748 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2749 print g_vE): Add new pass patterns.
2750 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2751 print various symbol names for vptr fields.
2752
9d622bda
AB
27532015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2754
2755 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2756 results.
2757
0fd8ac1c
YQ
27582015-10-12 Yao Qi <yao.qi@linaro.org>
2759
2760 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2761
34240514
YQ
27622015-10-12 Yao Qi <yao.qi@linaro.org>
2763
2764 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2765 is aarch64*-*-linux*.
2766
8240f442
YQ
27672015-10-12 Yao Qi <yao.qi@linaro.org>
2768
2769 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2770 (can_relocate_bcond_true): ... it.
2771 (can_relocate_bcond_false): New function.
2772 (foo): Likewise.
2773 (can_relocate_bl): Likewise.
2774 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2775 can_relocate_bl.
2776
2520f728
PMR
27772015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2778
2779 * gdb.base/nested-addr.c: New file.
2780 * gdb.base/nested-addr.exp: New testcase.
2781
abcef95a
MM
27822015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2783
2784 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2785 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2786 its output. Ignore the output of "record goto begin" and instead
2787 check that GDB is replaying.
2788
145e3ddb
PA
27892015-10-09 Pedro Alves <palves@redhat.com>
2790
2791 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2792 (top level): Use it in the run with no args test.
2793
d5d8c4e1
IB
27942015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2795
2796 * gdb.dlang/properties.exp: New file.
2797
06e635ef
SL
27982015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2799
2800 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2801 whether or not address 0x1000 is mapped on the target.
2802
e019fd1d
SM
28032015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2804
2805 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2806 build.
2807
77ba2a67
MM
28082015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2809
2810 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2811 instruction-history test.
2812
c60eb31f
DE
28132015-09-28 Doug Evans <dje@google.com>
2814
2815 * gdb.base/gcore.c (array_func): Add reference to static_array.
2816
9a3c8263
SM
28172015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2818
2819 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2820 source line.
2821
9720e656
SL
28222015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2823
2824 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2825 short or char as base type.
2826
938d3bf2
SL
28272015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2828
2829 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2830 to allow any size enum.
2831
e6c2c623
PMR
28322015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2833
2834 * gdb.ada/array_ptr_renaming.exp: New testcase.
2835 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2836 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2837
06da0f77
PL
28382015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2839
2840 * gdb.trace/ftrace-lock.c: New file.
2841 * gdb.trace/ftrace-lock.exp: New file.
2842
4f51c22a
PL
28432015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2844
2845 * gdb.arch/insn-reloc.c: New file.
2846 * gdb.arch/ftrace-insn-reloc.exp: New file.
2847
7041adf4
PL
28482015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2849
2850 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2851 instruction.
2852 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2853 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2854 * gdb.trace/range-stepping.c: Likewise.
2855 * gdb.trace/trace-break.c: Likewise.
2856 * gdb.trace/trace-mt.c (thread_function): Likewise.
2857 * gdb.trace/ftrace.c (marker): Likewise.
2858 * gdb.trace/trace-condition.c (marker): Likewise.
2859 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2860 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2861 is_aarch64_target.
2862
015d2e7e
DE
28632015-09-18 Doug Evans <xdje42@gmail.com>
2864
2865 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2866 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2867
26b188a2
SL
28682015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2869
2870 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2871 the breakpoint.
2872
79dc332b
SL
28732015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2874
2875 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2876 the pending breakpoint. Remove timeout override for "Run till
2877 MI pending breakpoint on pendfunc3 on thread 2" test.
2878
f57929f2
SL
28792015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2880
2881 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2882 filename pattern.
2883
3f469b17
SL
28842015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2885
2886 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2887 in breakpoint filename pattern.
2888
515b89b3
SL
28892015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2890
7800dbe4
SL
2891 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2892
28932015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2894
515b89b3
SL
2895 * gdb.linespec/explicit.exp: Check for readline support for
2896 tab-completion tests. Fix obvious typo.
2897
d2939ba2
MM
28982015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2899
2900 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2901 and replay.
2902
cbb55fa7
MM
29032015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2904
2905 * gdb.btrace/non-stop.c: New.
2906 * gdb.btrace/non-stop.exp: New.
2907
43691ca1
PL
29082015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2909 Yao Qi <yao.qi@linaro.org>
2910
2911 * gdb.trace/trace-condition.c: New file.
2912 * gdb.trace/trace-condition.exp: New file.
2913
d78908cf
WW
29142015-09-16 Wei-cheng Wang <cole945@gmail.com>
2915
2916 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2917 for testing bytecode compilation.
2918
1ed415e2
PA
29192015-09-16 Pedro Alves <palves@redhat.com>
2920 Sandra Loosemore <sandra@codesourcery.com>
2921
2922 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2923 (SECONDS): Redefine.
2924 (main): Call pthread_kill and alarm early.
2925 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2926 support.
2927 (test): If the target can't hardware step and doesn't support
2928 displaced stepping, increase the timeout.
2929
d136eff5
PA
29302015-09-16 Pedro Alves <palves@redhat.com>
2931
2932 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2933 (enable_debug): New procedures.
2934 (test): Use them. Bail out if waiting for threads fails.
2935 (top level): Bail out if a test fails.
2936
991f019c
YQ
29372015-09-16 Yao Qi <yao.qi@linaro.org>
2938
2939 * gdb.asm/asm-source.exp: Set asm-arch for
2940 aarch64*-*-* target.
2941 * gdb.asm/aarch64.inc: New file.
2942
bfca584f
PMR
29432015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2944
2945 * gdb.ada/array_of_variable_length.exp: New testcase.
2946 * gdb.ada/array_of_variable_length/foo.adb: New file.
2947 * gdb.ada/array_of_variable_length/pck.adb: New file.
2948 * gdb.ada/array_of_variable_length/pck.ads: New file.
2949
b326e587
DE
29502015-09-15 Doug Evans <dje@google.com>
2951
2952 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2953 of function static local variable.
2954
5382cfab
PW
29552015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2956
2957 * gdb.threads/tls-so_extern.exp: New test file.
2958 * gdb.threads/tls-so_extern.c: New test file.
2959 * gdb.threads/tls-so_extern_main.c: New test file.
2960
141c5cc4
JK
29612015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2962
2963 * gdb.opt/solib-intra-step-lib.c: New file.
2964 * gdb.opt/solib-intra-step-main.c: New file.
2965 * gdb.opt/solib-intra-step.exp: New file.
2966
d15dcecd
PA
29672015-09-15 Pedro Alves <palves@redhat.com>
2968
2969 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2970 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2971
4c2f2a79
PA
29722015-09-14 Pedro Alves <palves@redhat.com>
2973
2974 * gdb.base/hook-stop-continue.c: Delete.
2975 * gdb.base/hook-stop-continue.exp: Delete.
2976 * gdb.base/hook-stop-frame.c: Delete.
2977 * gdb.base/hook-stop-frame.exp: Delete.
2978 * gdb.base/hook-stop.c: New file.
2979 * gdb.base/hook-stop.exp: New file.
2980
919e6dbe
PMR
29812015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2982
2983 * gdb.ada/access_to_packed_array.exp: New testcase.
2984 * gdb.ada/access_to_packed_array/foo.adb: New file.
2985 * gdb.ada/access_to_packed_array/pack.adb: New file.
2986 * gdb.ada/access_to_packed_array/pack.ads: New file.
2987
157280a4
MM
29882015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2989
2990 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2991 buffer size test.
2992
2fd33e94
DB
29932015-09-11 Don Breazeal <donb@codesourcery.com>
2994
2995 * gdb.base/foll-exec.c: Add copyright header. Fix
2996 formatting issues.
2997 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2998 (do_exec_tests): Use clean_restart in place of zap_session,
2999 and for test initialization. Fix formatting issues. Use
3000 fail in place of perror.
3001 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
3002 an expect statement to match an expression with output from
3003 the program under debug.
3004 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
3005 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
3006 * gdb.threads/non-ldr-exc-2.exp: Likewise.
3007 * gdb.threads/non-ldr-exc-3.exp: Likewise.
3008 * gdb.threads/non-ldr-exc-4.exp: Likewise.
3009
e70b6e8e
DE
30102015-09-09 Doug Evans <dje@google.com>
3011
3012 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
3013
7a551a51
DE
30142015-09-09 Doug Evans <dje@google.com>
3015
3016 * gdb.base/pie-execl.exp: Fix result test of build_executable.
3017
4c666f84
DE
30182015-09-09 Doug Evans <dje@google.com>
3019
3020 * gdb.base/savedregs.exp: Fix typo.
3021
243a9253
PA
30222015-09-09 Pedro Alves <palves@redhat.com>
3023
3024 * gdb.mi/mi-cli.exp: Add CLI finish tests.
3025
c0fa8fbd
SL
30262015-09-08 Sandra Loosemore <sandra@codesourcery.com>
3027
3028 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
3029 command actually switches threads. Give up on remaining
3030 tests if target fails to stop at breakpoint.
3031
cd7c1778
PMR
30322015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
3033
3034 * gdb.ada/funcall_char.exp: New testcase.
3035 * gdb.ada/funcall_char/foo.adb: New file.
3036
dc5c8746
PMR
30372015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
3038
3039 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
3040 expected outputs. Add two testcases for completing ambiguous
3041 functions.
3042 * gdb.ada/complete/aux_pck.adb: New file.
3043 * gdb.ada/complete/aux_pck.ads: New file.
3044 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
3045 Ambiguous_Func functions.
3046 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
3047 * gdb.ada/complete/pck.adb: Likewise.
3048
4e83a1e7
UW
30492015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
3050
3051 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
3052 failures to run the test program under GDB.
3053
8ce74153
LM
30542015-08-26 Luis Machado <lgustavo@codesourcery.com>
3055
3056 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
3057 to C.
3058
e9756d52
PP
30592015-08-26 Patrick Palka <patrick@parcs.ath.cx>
3060
3061 * gdb.base/run-after-attach.exp: New test file.
3062 * gdb.base/run-after-attach.c: New test file.
3063
8d37573b
DB
30642015-08-26 Don Breazeal <donb@codesourcery.com>
3065
3066 * gdb.base/foll-exec-2.c: New test program.
3067 * gdb.base/foll-exec-2.exp: New test.
3068
63e43d3a
PMR
30692015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
3070
3071 * gdb.base/nested-subp1.exp: New file.
3072 * gdb.base/nested-subp1.c: New file.
3073 * gdb.base/nested-subp2.exp: New file.
3074 * gdb.base/nested-subp2.c: New file.
3075 * gdb.base/nested-subp3.exp: New file.
3076 * gdb.base/nested-subp3.c: New file.
3077
3d40fbb5
PA
30782015-08-24 Pedro Alves <palves@redhat.com>
3079
3080 * gdb.server/connect-without-multi-process.c: New file.
3081 * gdb.server/connect-without-multi-process.exp: New file.
3082
4422ac93
LM
30832015-08-24 Luis Machado <lgustavo@codesourcery.com>
3084
3085 * gdb.opt/inline-markers.c: Make z int.
3086
91dddb86
LM
30872015-08-24 Luis Machado <lgustavo@codesourcery.com>
3088
3089 * gdb.opt/inline-markers.c: Make z volatile.
3090
a48847ee
LM
30912015-08-24 Luis Machado <lgustavo@codesourcery.com>
3092
3093 * gdb.opt/inline-bt.c: New volatile global z.
3094 * gdb.opt/inline-cmds.c: Likewise.
3095 * gdb.opt/inline-locals.c: Likewise.
3096 * gdb.opt/inline-markers.c: New extern global z.
3097 (marker): Use z.
3098 (inline_fn): Likewise.
3099
0ebbc52b
PA
31002015-08-24 Pedro Alves <palves@redhat.com>
3101
3102 * config/m32r-stub.exp: Remove file.
3103 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
3104 * gdb.base/call-rt-st.exp: Likewise.
3105 * gdb.base/call-strs.exp: Likewise.
3106 * gdb.base/default.exp: Remove references to h8300-*-hms and
3107 *-*-udi*.
3108 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
3109
77c365df
AA
31102015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3111
3112 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
3113 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
3114 and "return" use KFAIL when GDB can not read/write the vector
3115 return value.
3116
4313b8c0
GB
31172015-08-21 Gary Benson <gbenson@redhat.com>
3118
3119 * gdb.trace/pending.exp: Cope with remote transfer warnings.
3120
0e433b32
PA
31212015-08-20 Pedro Alves <palves@redhat.com>
3122
3123 * gdb.server/solib-list.exp: No longer expect an interior stop in
3124 non-stop mode.
3125
221e1a37
PA
31262015-08-20 Pedro Alves <palves@redhat.com>
3127
3128 * gdb.server/connect-stopped-target.c: New file.
3129 * gdb.server/connect-stopped-target.exp: New file.
3130
40e3ad0e
PA
31312015-08-20 Pedro Alves <palves@redhat.com>
3132
3133 * gdb.dwarf2/comp-unit-lang.exp: New file.
3134 * gdb.dwarf2/comp-unit-lang.c: New file.
3135
af39b327
PMR
31362015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
3137
3138 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
3139 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
3140
7d45c7c3 31412015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 3142
7d45c7c3
KB
3143 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
3144 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
3145
4d6cceb4
DE
31462015-08-18 Doug Evans <dje@google.com>
3147 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3148
3149 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
3150 skip_python_tests. New arg prompt_regexp.
3151 (skip_python_tests): New function.
3152 * lib/mi-support.exp (mi_skip_python_tests): New function.
3153 * gdb.python/py-mi-objfile-gdb.py: New file.
3154 * gdb.python/py-mi-objfile.c: New file.
3155 * gdb.python/py-mi-objfile.exp: New file.
3156
ad89c2aa
KS
31572015-08-17 Keith Seitz <keiths@redhat.com>
3158
3159 * gdb.linespec/explicit.exp: Move strace test from here ...
3160 * gdb.trace/strace.exp: ... to here.
3161
e3ae3c43
PP
31622015-08-15 Patrick Palka <patrick@parcs.ath.cx>
3163
3164 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
3165 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
3166
604b2636
DE
31672015-08-14 Doug Evans <xdje42@gmail.com>
3168
3169 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
3170 inferior before selecting a new file.
3171
6ff0ba5f
DE
31722015-08-14 Doug Evans <xdje42@gmail.com>
3173
3174 * gdb.mi/mi-disassemble.exp: Update.
3175 * gdb.base/disasm-optim.S: New file.
3176 * gdb.base/disasm-optim.c: New file.
3177 * gdb.base/disasm-optim.h: New file.
3178 * gdb.base/disasm-optim.exp: New file.
3179
9ca98f92
KS
31802015-08-14 Keith Seitz <keiths@redhat.com>
3181
3182 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
3183 "evaluated-by".
3184
52bbc560
JB
31852015-08-13 Joel Brobecker <brobecker@adacore.com>
3186
3187 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
3188
5d8c3ed3
PMR
31892015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
3190
3191 * gdb.ada/fun_renaming.exp: New testcase.
3192 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
3193 * gdb.ada/fun_renaming/pack.adb: New file.
3194 * gdb.ada/fun_renaming/pack.ads: New file.
3195
ea8812bc
KS
31962015-08-12 Keith Seitz <keiths@redhat.com>
3197
3198 * gdb.base/dso2dso.exp: Pass basename of source file in call to
3199 gdb_get_line_number.
3200
4dafcdeb
JB
32012015-08-12 Joel Brobecker <brobecker@adacore.com>
3202
3203 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
3204 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
3205 gdb.base/dso2dso.exp: New files.
3206
5ba32597
SDJ
32072015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
3208 Pedro Alves <palves@redhat.com>
3209 Keith Seitz <keiths@redhat.com>
3210
3211 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
3212 GDBFLAGS.
3213
b6dafabf
PP
32142015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3215
3216 * gdb.base/gdbhistsize-history.exp
3217 (test_histsize_history_setting): Use save_vars.
3218 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3219 Use save_vars.
3220 (test_no_truncation_of_unlimited_history_file): Use save_vars.
3221 * gdb.base/readline.exp: Use save_vars.
3222
abe8e607
PP
32232015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3224
3225 * lib/gdb.exp (save_vars): New proc.
3226
629500fa
KS
32272015-08-11 Keith Seitz <keiths@redhat.com>
3228
3229 * gdb.base/help.exp: Update help_breakpoint_text.
3230
eb8c4e2e
KS
32312015-08-11 Keith Seitz <keiths@redhat.com>
3232
3233 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3234 (at toplevel): Call test_explicit_breakpoints.
3235 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3236 breakpoints.
3237 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3238 breakpoint conditions, "-cond".
3239
87f0e720
KS
32402015-08-11 Keith Seitz <keiths@redhat.com>
3241
3242 * gdb.linespec/3explicit.c: New file.
3243 * gdb.linespec/cpexplicit.cc: New file.
3244 * gdb.linespec/cpexplicit.exp: New file.
3245 * gdb.linespec/explicit.c: New file.
3246 * gdb.linespec/explicit.exp: New file.
3247 * gdb.linespec/explicit2.c: New file.
3248 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3249 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3250 before using in the matching pattern.
3251 Clarify that `prefix' is a regular expression.
3252
f00aae0f
KS
32532015-08-11 Keith Seitz <keiths@redhat.com>
3254
3255 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3256 test.
3257 Add tests for missing ",FMT" and ",".
3258
e27852be
DE
32592015-08-10 Doug Evans <dje@google.com>
3260 Keith Seitz <keiths@redhat.com>
3261
3262 PR gdb/17960
3263 * gdb.base/completion.exp: Add location completer tests.
3264
7f03bd92
PA
32652015-08-07 Pedro Alves <palves@redhat.com>
3266
3267 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3268 tests here.
3269 (top level): Run do_test with and without displaced stepping.
3270
3fc8eb30
PA
32712015-08-07 Pedro Alves <palves@redhat.com>
3272
3273 * gdb.base/valgrind-disp-step.c: New file.
3274 * gdb.base/valgrind-disp-step.exp: New file.
3275
d4569d7b
PA
32762015-08-07 Pedro Alves <palves@redhat.com>
3277
3278 * gdb.threads/step-over-lands-on-breakpoint.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-lands-on-breakpoint.exp (do_test): Change
3283 comment.
3284 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3285 Delete function.
3286 (main): Add alarm. Run an infinite loop instead of calling
3287 wait_threads.
3288 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3289 comment.
3290
e1316e60
PA
32912015-08-07 Pedro Alves <palves@redhat.com>
3292
3293 * gdb.base/checkpoint-ns.exp: New file.
3294 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3295 standard_testfile.
3296
da8c46d2
MM
32972015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3298
3299 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3300 * gdb.btrace/instruction_history.exp: Update.
3301 * gdb.btrace/tsx.exp: New.
3302 * gdb.btrace/tsx.c: New.
3303
de1c2c52
PA
33042015-08-06 Pedro Alves <palves@redhat.com>
3305
3306 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3307 increase timeout.
3308 * gdb.reverse/until-precsave.exp: Bump timeouts.
3309
782e0bf4
PA
33102015-08-06 Pedro Alves <palves@redhat.com>
3311
3312 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3313
83e97ed0
PA
33142015-08-06 Pedro Alves <palves@redhat.com>
3315
3316 PR gdb/18749
3317 * gdb.threads/process-dies-while-handling-bp.c: New file.
3318 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3319
863d01bd
PA
33202015-08-06 Pedro Alves <palves@redhat.com>
3321
3322 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3323 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3324
0a39bb32
PA
33252015-08-05 Pedro Alves <palves@redhat.com>
3326
3327 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3328 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3329
ee2d2b10
SL
33302015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3331
3332 * gdb.base/bp-permanent.exp: Report test as unsupported if
3333 the target cannot stop at the permanent breakpoint.
3334
4e1bdb00
DE
33352015-08-03 Doug Evans <dje@google.com>
3336
3337 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3338 10000.
3339
3d338901
DE
33402015-08-03 Doug Evans <dje@google.com>
3341
3342 * Makefile.in (workers/%.worker, build-perf): New rule.
3343 (GDB_PERFTEST_MODE): New variable.
3344 (check-perf): Use it.
3345 (clean): Clean up gdb.perf parallel build subdirs.
3346 * lib/build-piece.exp: New file.
3347 * lib/gdb.exp (make_gdb_parallel_path): New function
3348 (standard_output_file, standard_temp_file): Call it.
3349 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3350 of $GDB_PARALLEL.
3351 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3352
af061d3e
DE
33532015-08-03 Doug Evans <dje@google.com>
3354
8e1afc81 3355 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
3356 (LOG_FILE_NAME): New global.
3357 (TextReporter.__init__): Initialize self.txt_sum.
3358 (TextReporter.report): Add support for multiple data-points.
3359 Move report to perftest.sum, put raw data in perftest.log.
3360 (TextReporter.start): Open sum and log files.
3361 (TextReporter.end): Close sum and log files.
8e1afc81
DE
3362 * gdb.perf/lib/perftest/testresult.py
3363 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 3364
2c8c5d37
PA
33652015-07-31 Pedro Alves <palves@redhat.com>
3366
3367 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3368 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3369 kill_wait_spawned_process instead of explicit "kill -9".
3370 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3371 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3372 kill_wait_spawned_process.
3373 * gdb.base/attach-twice.exp: Likewise.
3374 * gdb.base/attach.exp: Likewise.
3375 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3376 gdb_test_multiple.
3377 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3378 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3379 kill_wait_spawned_process.
3380 * gdb.base/valgrind-infcall.exp: Likewise.
3381 * gdb.multi/multi-attach.exp: Likewise.
3382 * gdb.python/py-prompt.exp: Likewise.
3383 * gdb.python/py-sync-interp.exp: Likewise.
3384 * gdb.server/ext-attach.exp: Likewise.
3385 * gdb.threads/attach-into-signal.exp (corefunc): Use
3386 spawn_wait_for_attach, spawn_id_get_pid and
3387 kill_wait_spawned_process.
3388 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3389 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3390 spawn_id_get_pid and kill_wait_spawned_process.
3391 * gdb.threads/attach-stopped.exp (corefunc): Use
3392 spawn_wait_for_attach, spawn_id_get_pid and
3393 kill_wait_spawned_process.
3394 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3395 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3396 kill_wait_spawned_process instead of explicit "kill -9".
3397 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3398 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3399 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3400 processes. Don't map cygwin/windows pids here. Now returns a
3401 spawn id list.
3402
032a0fca
SL
34032015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3404
3405 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3406 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3407 correct patch.
3408
61a934ca
SL
34092015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3410
3411 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3412
4bc4d428
SL
34132015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3414
3415 Reapply:
3416 2014-05-21 Mark Wielaard <mjw@redhat.com>
3417
3418 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3419
998d452a
PA
34202015-07-30 Pedro Alves <palves@redhat.com>
3421
3422 * linux-low.c (handle_extended_wait): Set the child's last
3423 reported status to TARGET_WAITKIND_STOPPED.
3424
69dde7dc
PA
34252015-07-30 Pedro Alves <palves@redhat.com>
3426
3427 PR threads/18600
3428 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3429 only shows inferior 1.
3430
4dd63d48
PA
34312015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3432 Pedro Alves <palves@redhat.com>
3433
3434 PR threads/18600
3435 * gdb.threads/fork-plus-threads.c: New file.
3436 * gdb.threads/fork-plus-threads.exp: New file.
3437
d618e4c5
PP
34382015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3439
3440 * gdb.base/batch-preserve-term-settings.exp
3441 (test_terminal_settings_preserved_after_cli_exit): Use
3442 send_quit_command.
3443
1eef6428
PA
34442015-07-29 Pedro Alves <palves@redhat.com>
3445 Don Breazeal <donb@codesourcery.com>
3446
3447 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3448 output from both inferior_spawn_id and gdb_spawn_id.
3449
7da5b897
SDJ
34502015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3451
3452 * gdb.threads/attach-into-signal.exp (corefunc): Use
3453 with_test_prefix on nested loops, uniquefying the test messages.
3454
dac804df
SDJ
34552015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3456
3457 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3458 commit.
3459
06265e53
PP
34602015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3461
3462 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3463 New proc.
3464 (test_terminal_settings_preserved_after_sigterm): New test.
3465
18206ca3
PP
34662015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3467
3468 * gdb.base/batch-preserve-term-settings.exp
3469 (test_terminal_settings_preserved_after_cli_exit): New test.
3470
90074d11
PP
34712015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3472
3473 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3474 manipulation of saved_gdbflags.
3475 (test_terminal_settings_preserved): Remove global declaration of
3476 the unused variable pagination_prompt. Remove manipulation of
3477 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3478 GDBFLAGS.
3479
eb1a7902
PA
34802015-07-29 Pedro Alves <palves@redhat.com>
3481
3482 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3483
8b75dd3b
PA
34842015-07-29 Pedro Alves <palves@redhat.com>
3485
3486 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3487 at the top.
3488
dedad4e3
PA
34892015-07-29 Pedro Alves <palves@redhat.com>
3490
3491 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3492 (main): Call gdb_unbuffer_output.
3493 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3494 (main): Call gdb_unbuffer_output.
3495 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3496 (main): Call gdb_unbuffer_output.
3497 * gdb.base/call-strs.exp: Adjust to step over the
3498 gdb_unbuffer_output call.
3499 * gdb.base/catch-gdb-caused-signals.c: Include
3500 "../lib/unbuffer_output.c".
3501 (main): Call gdb_unbuffer_output.
3502 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3503 (main): Call gdb_unbuffer_output.
3504 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3505 (main): Call gdb_unbuffer_output.
3506 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3507 (main): Call gdb_unbuffer_output.
3508 * gdb.base/shlib-call.exp: Adjust to step over the
3509 gdb_unbuffer_output call.
3510 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3511 (main): Call gdb_unbuffer_output.
3512 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3513 (main): Call gdb_unbuffer_output.
3514 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3515 (main): Rename to ...
3516 (test): ... this.
3517 (main): Reimplement.
3518 * gdb.base/varargs.exp: Run to test instead of to main.
3519 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3520 (main): Call gdb_unbuffer_output.
3521
58789a91
PA
35222015-07-29 Pedro Alves <palves@redhat.com>
3523
3524 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3525 factore out from mi_continue_dprintf. For call-style dprintfs,
3526 expect dprintf output out of $inferior_spawn_id.
3527 (mi_continue_dprintf): Use mi_expect_dprintf.
3528 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3529 (main): Call gdb_unbuffer_output.
3530
e8376742
PA
35312015-07-29 Pedro Alves <palves@redhat.com>
3532
3533 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3534 (default_mi_gdb_start): Set inferior_spawn_id instead of
3535 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3536 gdb_spawn_id.
3537 (mi_gdb_test): Always expect inferior output from both
3538 $inferior_spawn_id and $gdb_spawn_id.
3539
08280010
PA
35402015-07-29 Pedro Alves <palves@redhat.com>
3541
3542 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3543 send_inferior and $inferior_spawn_id.
3544
4d30e432
PA
35452015-07-29 Pedro Alves <palves@redhat.com>
3546
3547 * gdb.gdb/complaints.exp (test_initial_complaints)
3548 (test_serial_complaints, test_short_complaints): Use
3549 gdb_test_stdio.
3550 (test_empty_complaint): Handle $inferior_spawn_id !=
3551 $gdb_spawn_id.
3552
0d30a335
PA
35532015-07-29 Pedro Alves <palves@redhat.com>
3554
3555 * gdb.base/varargs.exp: Use gdb_test_stdio.
3556
39413b29
PA
35572015-07-29 Pedro Alves <palves@redhat.com>
3558
3559 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3560
7cb000a9
PA
35612015-07-29 Pedro Alves <palves@redhat.com>
3562
3563 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3564
d7b8ac82
PA
35652015-07-29 Pedro Alves <palves@redhat.com>
3566
3567 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3568 parameter into two new parameters, "inf_result" and "gdb_result".
3569 Expect inferior output and gdb output from $inferior_spawn_id and
3570 $gdb_spawn_id, respectively. Adjust all callers.
3571
789c3a0c
PA
35722015-07-29 Pedro Alves <palves@redhat.com>
3573
3574 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3575 of gdb_test_sequence.
3576
77e760c3
PA
35772015-07-29 Pedro Alves <palves@redhat.com>
3578
3579 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3580 (saw_spurious_output): Expect inferior output from
3581 $inferior_spawn_id. Use gdb_test_stdio.
3582
8396d2cd
PA
35832015-07-29 Pedro Alves <palves@redhat.com>
3584
3585 * gdb.base/dprintf.exp: Use standard_testfile. Change
3586 prepare_for_testing call.
3587 (srcfile): Don't set.
3588 (restart): New procedure.
3589 (test_dprintf): New procecure, use to continue over dprintfs.
3590 (test_call, test_agent): New procedures, tests moved here.
3591 Restart gdb and recreate dprintfs. Adjust expected output.
3592
2051d61f
PA
35932015-07-29 Pedro Alves <palves@redhat.com>
3594
3595 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3596
452397af
PA
35972015-07-29 Pedro Alves <palves@redhat.com>
3598
3599 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3600
8aed9555
PA
36012015-07-29 Pedro Alves <palves@redhat.com>
3602
3603 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3604 gdb_test_stdio.
3605
188a61b4
PA
36062015-07-29 Pedro Alves <palves@redhat.com>
3607
3608 * lib/gdb.exp (gdb_test_stdio): New procedure.
3609
12264a45
PA
36102015-07-29 Pedro Alves <palves@redhat.com>
3611
3612 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3613
23ffc893
PA
36142015-07-29 Pedro Alves <palves@redhat.com>
3615
3616 * gdb.base/call-signal-resume.exp: Remove check for
3617 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3618 * gdb.base/unwindonsignal.exp: Likewise.
3619 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3620 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3621
65566918
PA
36222015-07-29 Pedro Alves <palves@redhat.com>
3623
3624 * gdb.base/siginfo-addr.c (pass): New function.
3625 (handler): Call it iff si_addr is correct.
3626 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3627 Set a breakpoint at "pass" and continue to it.
3628
d60a9221
SDJ
36292015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3630
3631 * gdb.python/py-objfile.exp: Make some tests have unique names.
3632 * gdb.python/py-pp-registration.exp: Likewise.
3633
bde40b8f
PA
36342015-07-28 Pedro Alves <palves@redhat.com>
3635
3636 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3637
13e1dec8
SM
36382015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3639
3640 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3641
da33c9a7
SM
36422015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3643
3644 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3645
077836f7
PP
36462015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3647
3648 * gdb.base/gdb-sigterm-2.exp: New test.
3649
b8cc7b2e
DE
36502015-07-25 Doug Evans <xdje42@gmail.com>
3651
3652 Revert:
3653 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3654 (workers/%.worker, build-perf): New rule.
3655 (GDB_PERFTEST_MODE): New variable.
3656 (check-perf): Use it.
3657 (clean): Clean up gdb.perf parallel build subdirs.
3658 * lib/build-piece.exp: New file.
3659 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3660 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3661 name.
3662 (standard_temp_file): Ditto.
3663 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3664 of $GDB_PARALLEL.
3665
c8bd4544
DE
36662015-07-24 Doug Evans <dje@google.com>
3667
3668 * gdb.perf/lib/perftest/utils.py: New file.
3669 * gdb.perf/gm-hello.cc: New file.
3670 * gdb.perf/gm-pervasive-typedef.cc: New file.
3671 * gdb.perf/gm-pervasive-typedef.h: New file.
3672 * gdb.perf/gm-std.cc: New file.
3673 * gdb.perf/gm-std.h: New file.
3674 * gdb.perf/gm-use-cerr.cc: New file.
3675 * gdb.perf/gm-utils.h: New file.
3676 * gdb.perf/gmonster-null-lookup.py: New file.
3677 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3678 * gdb.perf/gmonster-print-cerr.py: New file.
3679 * gdb.perf/gmonster-ptype-string.py: New file.
3680 * gdb.perf/gmonster-runto-main.py: New file.
3681 * gdb.perf/gmonster-select-file.py: New file.
3682 * gdb.perf/gmonster1-null-lookup.exp: New file.
3683 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3684 * gdb.perf/gmonster1-print-cerr.exp: New file.
3685 * gdb.perf/gmonster1-ptype-string.exp: New file.
3686 * gdb.perf/gmonster1-runto-main.exp: New file.
3687 * gdb.perf/gmonster1-select-file.exp: New file.
3688 * gdb.perf/gmonster1.cc: New file.
3689 * gdb.perf/gmonster1.exp: New file.
3690 * gdb.perf/gmonster2-null-lookup.exp: New file.
3691 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3692 * gdb.perf/gmonster2-print-cerr.exp: New file.
3693 * gdb.perf/gmonster2-ptype-string.exp: New file.
3694 * gdb.perf/gmonster2-runto-main.exp: New file.
3695 * gdb.perf/gmonster2-select-file.exp: New file.
3696 * gdb.perf/gmonster2.cc: New file.
3697 * gdb.perf/gmonster2.exp: New file.
3698
6eab34f3
DE
36992015-07-24 Doug Evans <dje@google.com>
3700
3701 * gdb.perf/README: New file.
3702 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3703 * lib/gen-perf-test.exp: New file.
3704
63738bfd
DE
37052015-07-24 Doug Evans <dje@google.com>
3706
3707 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3708 (PerfTest::startup): New function.
3709 (PerfTest::run): Return result of calling body.
3710 (PerfTest::assemble): Rewrite.
3711 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3712 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3713 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3714 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3715 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3716
7b606f95
DE
37172015-07-24 Doug Evans <dje@google.com>
3718
3719 * lib/gdb.exp (clean_restart): Make executable optional.
3720
a97b16b8
DE
37212015-07-24 Doug Evans <dje@google.com>
3722
3723 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3724 compiler_info references.
3725 * gdb.cp/temargs.exp: Ditto.
3726 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3727 (get_compiler_info): Early exit if already computed. Set compiler_info
3728 to "unknown" if there was a problem.
3729 (test_compiler_info): Add function comment. Call get_compiler_info.
3730
35baa57f
DE
37312015-07-24 Doug Evans <dje@google.com>
3732
3733 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3734 (workers/%.worker, build-perf): New rule.
3735 (GDB_PERFTEST_MODE): New variable.
3736 (check-perf): Use it.
3737 (clean): Clean up gdb.perf parallel build subdirs.
3738 * lib/build-piece.exp: New file.
3739 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3740 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3741 name.
3742 (standard_temp_file): Ditto.
3743 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3744 of $GDB_PARALLEL.
3745
6ebea266
DE
37462015-07-24 Doug Evans <dje@google.com>
3747
3748 * lib/future.exp (gdb_default_target_compile): New option
3749 "early_flags".
3750 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3751 --as-needed.
3752
1e76a7e9
SDJ
37532015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3754
3755 * gdb.base/catch-syscall.exp: Call gdb_exit before
3756 gdb_skip_xml_test.
3757
5068630a
PA
37582015-07-24 Pedro Alves <palves@redhat.com>
3759
3760 * gdb.python/py-events.exp: Accept output between the stop event
3761 and the prompt.
3762 * gdb.python/py-evsignal.exp: Likewise.
3763 * gdb.python/py-evthreads.exp: Likewise.
3764
77598427
PA
37652015-07-24 Pedro Alves <palves@redhat.com>
3766
3767 PR gdb/18717
3768 * gdb.threads/non-ldr-exit.c: New file.
3769 * gdb.threads/non-ldr-exit.exp: New file.
3770
11e6c98f
YQ
37712015-07-24 Yao Qi <yao.qi@linaro.org>
3772
3773 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3774 restarting process.
3775
51aee833
YQ
37762015-07-24 Yao Qi <yao.qi@linaro.org>
3777
3778 * gdb.server/ext-restart.exp: New file.
3779
8cfe207c
YQ
37802015-07-24 Yao Qi <yao.qi@linaro.org>
3781
3782 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3783 argument options.
3784 * gdb.server/ext-wrapper.exp: New file.
3785
cc12ce38
DE
37862015-07-23 Doug Evans <dje@google.com>
3787
3788 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3789 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3790
d0d84780
PMR
37912015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3792
3793 * gdb.ada/var_arr_typedef.exp: New testcase.
3794 * gdb.ada/var_arr_typedef/pack.adb: New file.
3795 * gdb.ada/var_arr_typedef/pack.ads: New file.
3796 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3797
8b558f79
JB
37982015-07-20 Joel Brobecker <brobecker@adacore.com>
3799
3800 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3801
775a3298
JK
38022015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3803
3804 * gdb.arch/i386-biarch-core.exp: Replace istarget
3805 by "complete set gnutarget". Remove expectation for the "core-file"
3806 command.
3807
db1ff28b
JK
38082015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3809
3810 Revert the previous commit:
3811 Tests for validate symbol file using build-id.
3812
0a94970d
JK
38132015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3814
3815 Tests for validate symbol file using build-id.
3816 * gdb.base/solib-mismatch-lib.c: New file.
3817 * gdb.base/solib-mismatch-libmod.c: New file.
3818 * gdb.base/solib-mismatch.c: New file.
3819 * gdb.base/solib-mismatch.exp: New file.
3820
03346981
SL
38212015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3822
3823 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3824 nios2-*-linux*.
3825 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3826 * gdb.base/siginfo.exp: Likewise.
3827 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3828
42422cc7
PL
38292015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3830
3831 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3832 Move it to ...
3833 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3834 ... here.
3835 * gdb.trace/range-stepping.exp: Check that the target supports
3836 range stepping.
3837
cfa68bae
JK
38382015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3839
3840 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3841
8ffdba26
PA
38422015-07-14 Pedro Alves <palves@redhat.com>
3843
3844 * gdb.base/killed-outside.exp: New file.
3845 * gdb.base/killed-outside.c: New file.
3846
218a5a11
JK
38472015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3848
3849 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3850 (n at main): New.
3851 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3852
e03ed3c6
AA
38532015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3854
3855 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3856 infcall tests instead of setting up for KFAIL.
3857
485668e5
MM
38582015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3859
3860 * gdb.btrace/record_goto-step.exp: New.
3861
08464196
JK
38622015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3863
3864 PR compile/18484
3865 * gdb.compile/compile.c (struct struct_type): Add volatile to
3866 selffield's type.
3867 * gdb.compile/compile.exp
3868 (compile code struct_object.selffield = &struct_object): Skip further
3869 struct_object tests if this one xfails.
3870
bcf5c1d9
RC
38712015-07-08 Robert O'Callahan <robert@ocallahan.org>
3872
3873 PR exp/18617
3874 * gdb.trace/ax.exp: Add test.
3875
4931af25
YQ
38762015-07-07 Yao Qi <yao.qi@linaro.org>
3877
3878 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3879 instead of istarget "aarch64*-*-*".
3880 * gdb.arch/aarch64-fp.exp: Likewise.
3881 * gdb.base/float.exp: Likewise.
3882 * gdb.reverse/aarch64.exp: Likewise.
3883 * lib/gdb.exp (is_aarch64_target): New proc.
3884
9fcf688e
YQ
38852015-07-07 Yao Qi <yao.qi@linaro.org>
3886
3887 * lib/gdb.exp (is_aarch32_target): New proc.
3888 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3889 instead of "istarget "arm*-*-*"".
3890 * gdb.arch/arm-disp-step.exp: Likewise.
3891 * gdb.arch/thumb-bx-pc.exp: Likewise.
3892 * gdb.arch/thumb-prologue.exp: Likewise.
3893 * gdb.arch/thumb-singlestep.exp: Likewise.
3894 * gdb.base/disp-step-syscall.exp: Likewise.
3895 * gdb.base/float.exp: Likewise.
3896
fbd8d50d
YQ
38972015-07-07 Yao Qi <yao.qi@linaro.org>
3898
3899 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3900 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3901
71be1fdc
YQ
39022015-07-07 Yao Qi <yao.qi@linaro.org>
3903
3904 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3905 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3906 if it exists.
3907 * gdb.multi/multi-arch.exp: Likewise.
3908
3e221d36
SM
39092015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3910
3911 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3912 print.
3913
d441430b
YQ
39142015-07-07 Yao Qi <yao.qi@linaro.org>
3915
3916 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3917
06f810bd
MG
39182015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3919
3920 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3921 '[' and ']' characters.
3922
5e61e7c0
IB
39232015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3924
3925 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3926
28bf096c
PA
39272015-06-29 Pedro Alves <palves@redhat.com>
3928
3929 PR threads/18127
3930 * gdb.threads/hand-call-new-thread.c: New file.
3931 * gdb.threads/hand-call-new-thread.c: New file.
3932
ee93cd5e
KS
39332015-06-26 Keith Seitz <keiths@redhat.com>
3934 Doug Evans <dje@google.com>
3935
3936 PR 16253
3937 * gdb.cp/var-tag-2.cc: New file.
3938 * gdb.cp/var-tag-3.cc: New file.
3939 * gdb.cp/var-tag-4.cc: New file.
3940 * gdb.cp/var-tag.cc: New file.
3941 * gdb.cp/var-tag.exp: New file.
3942
fc637f04
PP
39432015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3944
3945 * gdb.base/history-duplicates.exp: New test.
3946
2e52ae68
PP
39472015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3948
3949 * gdb.base/completion.exp: Test the completion of the "focus"
3950 command.
3951
6e22494e
JK
39522015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3953
3954 * gdb.arch/amd64-prologue-skip.S: New file.
3955 * gdb.arch/amd64-prologue-skip.exp: New file.
3956
bf7b9cd9
SM
39572015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3958
3959 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3960 is_address_zero_readable check.
3961
201e8dfd
PB
39622015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3963
3964 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3965 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3966
5cd867b4
YQ
39672015-06-24 Yao Qi <yao.qi@linaro.org>
3968
3969 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3970 linux targets.
3971
4d7be007
YQ
39722015-06-24 Yao Qi <yao.qi@linaro.org>
3973
3974 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3975 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3976 * gdb.base/siginfo-thread.exp: Likewise.
3977
07fcd301
YQ
39782015-06-22 Yao Qi <yao.qi@linaro.org>
3979
3980 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3981
52042a00
YQ
39822015-06-22 Yao Qi <yao.qi@linaro.org>
3983
3984 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3985 aarch64*-*-*.
3986 (skip_hw_watchpoint_tests): Likewise.
3987
74bd41ce
PP
39882015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3989
3990 * gdb.base/gdbinit-history.exp: Test the interaction between
3991 setting GDBHISTSIZE and setting the history size via .gdbinit.
3992
bc460514
PP
39932015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3994
3995 PR gdb/16999
3996 * gdb.base/gdbhistsize-history.exp: New test.
3997
b58c513b
PP
39982015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3999
4000 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
4001 with GDBHISTSIZE.
4002 * gdb.base/readline.exp: Likewise.
4003
92046791
YQ
40042015-06-17 Yao Qi <yao.qi@linaro.org>
4005
4006 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
4007 line.
4008
2093d2d3
PP
40092015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4010
4011 * gdb.base/gdbinit-history.exp: Add test case to check that
4012 an unlimited history file does not get truncated on exit.
4013
e6c693af
AA
40142015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4015
4016 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
4017 (VECTOR): New macro. Use it...
4018 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
4019 ...for these typedefs.
4020 (int8, char1, int1, double1): New typedefs.
4021 (struct just_int2, struct two_int2): New structures.
4022 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
4023 (add_structvecs, add_singlevecs): New functions.
4024 (main): Call add_some_intvecs twice.
4025 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
4026 the compile and exit upon failure. Try compiling for the "native"
4027 architecture. Test inferior function calls with vector arguments
4028 and vector return value handling with "finish" and "return".
4029
c74f7d1c
JT
40302015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
4031
4032 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
4033 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
4034 PE file.
4035 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
4036
98aa42ee
AT
40372015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
4038
4039 PR breakpoints/16465
4040 * gdb.mi/mi-dprintf-pending.c: New file.
4041 * gdb.mi/mi-dprintf-pending.exp: New test.
4042 * gdb.mi/mi-dprintf-pendshr.c: New file.
4043
7d73c23c 40442015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 4045 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
4046
4047 * gdb.arch/i386-mpx-map.c: New file.
4048 * gdb.arch/i386-mpx-map.exp: New File.
4049
40502015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4051
4052 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
4053 * gdb.arch/i386-mpx.exp: Indentation fixed.
4054
40552015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4056
4057 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
4058 function and improved indentation.
4059 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
4060 gdb_test_multiple. Added additional tests to skip the test.
4061
40622015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4063
4064 * gdb.arch/i386-avx512.c: Change path in include file.
4065 * gdb.arch/i386-avx512.exp: Change include dir path
4066 compilation flag.
4067 * gdb.arch/i386-mpx.c: Change path in include file.
4068 * gdb.arch/i386-mpx.exp: Change include dir path compilation
4069 flag.
4070
d5eba19a
JK
40712015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4072
4073 * gdb.compile/compile-print.exp (compile print *vararray@3)
4074 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
4075
7f361056
JK
40762015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4077
4078 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
4079 (do not keep jit in memory): ... this.
4080 (expect 5): Change it to ...
4081 (expect no 5): ... this.
4082
3b462ec2
SM
40832015-06-02 Simon Marchi <simon.marchi@ericsson.com>
4084
4085 PR gdb/15564
4086 * gdb.mi/mi-detach.exp: New file.
4087
e0619de6
JK
40882015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4089
4090 PR symtab/18392
4091 * gdb.arch/amd64-tailcall-self.S: New file.
4092 * gdb.arch/amd64-tailcall-self.c: New file.
4093 * gdb.arch/amd64-tailcall-self.exp: New file.
4094
e970cb34
DB
40952015-05-28 Don Breazeal <donb@codesourcery.com>
4096
4097 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
4098 tests for remote targets by checking is_target_gdbserver.
4099
b2e2f908
DE
41002015-05-27 Doug Evans <dje@google.com>
4101
4102 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
4103 * gdb.dwarf2/opaque-type-lookup.c: New file.
4104 * gdb.dwarf2/opaque-type-lookup.exp: New file.
4105
82c7be31
DE
41062015-05-26 Doug Evans <dje@google.com>
4107
4108 * gdb.cp/iostream.cc: New file.
4109 * gdb.cp/iostream.exp: New file.
4110
b4f54984
DE
41112015-05-26 Doug Evans <dje@google.com>
4112
4113 * gdb.dwarf2/dw2-op-call.exp: Update.
4114 * gdb.dwarf2/dw4-sig-types.exp: Update.
4115 * gdb.dwarf2/implptr.exp: Update.
4116 * gdb.mi/mi-cmd-param-changed.exp: Update.
4117
4ea6efe9
DE
41182015-05-26 Doug Evans <dje@google.com>
4119
4120 * gdb.python/py-lazy-string.c: New file.
4121 * gdb.python/py-lazy-string.exp: New file.
4122 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
4123 (main): Update. Add estring3.
4124 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
4125 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
4126
f6bb7db3
YQ
41272015-05-26 Omair Javaid <omair.javaid@linaro.org>
4128 Yao Qi <yao.qi@linaro.org>
4129
4130 * gdb.reverse/aarch64.c: New.
4131 * gdb.reverse/aarch64.exp: New.
4132
a81bfbd0
OJ
41332015-05-26 Omair Javaid <omair.javaid@linaro.org>
4134
25d49b86
PA
4135 * lib/gdb.exp (supports_process_record): Return true for
4136 aarch64*-linux*.
a81bfbd0
OJ
4137 (supports_reverse): Likewise.
4138
158bf1b4
PP
41392015-05-22 Patrick Palka <patrick@parcs.ath.cx>
4140
4141 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4142 Use with_test_prefix.
4143
a0145030
AB
41442015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
4145
4146 * gdb.base/completion.exp: Add test for completion of layout
4147 names.
4148
ebe3b578
AB
41492015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
4150
4151 * lib/gdb.exp (skip_tui_tests): New proc.
4152 * gdb.base/tui-layout.exp: Check skip_tui_tests.
4153
84204ed7
PA
41542015-05-19 Pedro Alves <palves@redhat.com>
4155
4156 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4157 Save the whole env array instead of just HOME. Unset HISTSIZE in
4158 the environment while testing. Restore whole environment
4159 afterwards.
4160
37442ce1
DE
41612015-05-16 Doug Evans <xdje42@gmail.com>
4162
4163 * gdb.guile/scm-ports.c: New file.
4164 * gdb.guile/scm-ports.exp: Add memory port tests.
4165
36de76f9
JK
41662015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4167
4168 * gdb.compile/compile-print.c: New file.
4169 * gdb.compile/compile-print.exp: New file.
4170
3a9558c4
JK
41712015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4172
4173 * gdb.compile/compile-ops.exp: Cast param to void.
4174 * gdb.compile/compile.exp: Complete type for _gdb_expr.
4175 (compile code struct_object.selffield = &struct_object): Add xfail.
4176
aa715135
JG
41772015-05-15 Joel Brobecker <brobecker@adacore.com>
4178
4179 * gdb.ada/arr_enum_with_gap: New testcase.
4180
931e5bc3
JG
41812015-05-15 Joel Brobecker <brobecker@adacore.com>
4182
4183 * gdb.ada/byte_packed_arr: New testcase.
4184
9cd4d857
JB
41852015-05-15 Joel Brobecker <brobecker@adacore.com>
4186
4187 * gdb.ada/pckd_neg: New testcase.
4188
ebfd00d2
PP
41892015-05-13 Patrick Palka <patrick@parcs.ath.cx>
4190
4191 PR gdb/17820
4192 * gdb.base/gdbinit-history.exp: New test.
4193 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
4194 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
4195
4c082a81
SC
41962015-05-09 Siva Chandra Reddy <sivachandra@google.com>
4197
4198 * gdb.python/py-xmethods.cc: Enhance test case.
4199 * gdb.python/py-xmethods.exp: New tests.
4200 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
4201 function.
4202 (B_indexoper): Likewise.
4203 (global_dm_list) : Add new xmethod worker functions.
4204
f7797074
SDJ
42052015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
4206
4207 * gdb.base/coredump-filter.exp: Correctly unset
4208 "coredump_var_addr" array.
4209
a4674e4e
PA
42102015-05-08 Pedro Alves <palves@redhat.com>
4211
4212 * gdb.server/non-existing-program.exp: Unset spawn_id.
4213
df2eb078
SC
42142015-05-08 Siva Chandra Reddy <sivachandra@google.com>
4215
4216 PR python/18291
4217 * gdb.python/py-xmethods.exp: Add tests.
4218
422349a3
YQ
42192015-05-08 Yao Qi <yao.qi@linaro.org>
4220
4221 PR gdb/18208
4222 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
4223 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
4224 function set_coredump_filter, and remove remote_exec call.
4225 Remove argument ipid. Callers update.
4226 (top level): Don't get inferior's PID.
4227
63fc80ce
AA
42282015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4229
4230 * gdb.base/watch_thread_num.exp: Skip test on targets without
4231 access watchpoints.
4232
80ad801e
PA
42332015-05-06 Pedro Alves <palves@redhat.com>
4234
4235 PR server/18081
4236 * gdb.server/non-existing-program.exp: New file.
4237
0fa7fe50
JB
42382015-05-05 Joel Brobecker <brobecker@adacore.com>
4239
4240 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4241
3ea89b92
PMR
42422015-05-05 Joel Brobecker <brobecker@adacore.com>
4243
4244 * gdb.ada/out_of_line_in_inlined: New testcase.
4245
87b8eff0
JB
42462015-05-05 Joel Brobecker <brobecker@adacore.com>
4247
4248 * gdb.ada/var_rec_arr: New testcase.
4249
5fccc635
YQ
42502015-04-30 Yao Qi <yao.qi@linaro.org>
4251
4252 * gdb.base/break-idempotent.exp: If
4253 skip_hw_watchpoint_multi_tests returns true, skip the tests
4254 on "rwatch" and "awatch".
4255
42d38f42
YQ
42562015-04-30 Yao Qi <yao.qi@linaro.org>
4257
4258 * gdb.base/relativedebug.exp: Invoke gdb command
4259 "info sharedlibrary", and if libc.so doesn't have debug info,
4260 skip the test.
4261
2ce1cdbf
DE
42622015-04-29 Doug Evans <dje@google.com>
4263
4264 * gdb.python/py-xmethods.exp: Add ptype tests.
4265 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4266 get_result_type method.
4267
f24a38c5
LM
42682015-04-29 Luis Machado <lgustavo@codesourcery.com>
4269
4270 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4271 the target does not support hardware watchpoints.
4272
ecbf2b3c
LM
42732015-04-29 Luis Machado <lgustavo@codesourcery.com>
4274
4275 * gdb.base/break-always.exp: Abort testing if writing to memory
4276 causes an error.
4277
34f5f757
DE
42782015-04-28 Doug Evans <dje@google.com>
4279
4280 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4281 * gdb.python/py-pp-registration.exp: ... here. New file.
4282 * gdb.python/py-pp-registration.c: New file.
4283 * gdb.python/py-pp-registration.py: New file.
4284
69b4374a
DE
42852015-04-28 Doug Evans <dje@google.com>
4286
4287 * gdb.python/py-bad-printers.c: New file.
4288 * gdb.python/py-bad-printers.py: New file.
4289 * gdb.python/py-bad-printers.exp: New file.
4290
59fb7612
SS
42912015-04-28 Sasha Smundak <asmundak@google.com>
4292
4293 * gdb.python/py-type.exp: New test.
4294
2631b16a
AW
42952015-04-28 Andy Wingo <wingo@igalia.com>
4296
4297 * gdb.python/py-parameter.exp:
4298 * gdb.guile/scm-parameter.exp: Escape the path that we are
4299 matching against, as it might contain characters that are special
4300 to regular expressions.
4301
460efde1
JB
43022015-04-27 Joel Brobecker <brobecker@adacore.com>
4303
4304 * gdb.ada/rec_comp: New testcase.
4305
2d369d8e
SDJ
43062015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4307
4308 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4309 before using it.
4310
cf75d6c3
AB
43112015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4312
4313 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4314 new tests for verilog output.
4315
8dbe7ca5
YQ
43162015-04-24 Yao Qi <yao.qi@linaro.org>
4317
4318 * boards/remote-gdbserver-on-localhost.exp: New file.
4319
4ef9fb2f
PA
43202015-04-23 Pedro Alves <palves@redhat.com>
4321
4322 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4323 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4324 "end of file", remove $inferior_spawn_id from the indirect list.
4325
0a803169
PA
43262015-04-23 Pedro Alves <palves@redhat.com>
4327
4328 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4329
749ef8f8
PA
43302015-04-23 Pedro Alves <palves@redhat.com>
4331
4332 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4333 on $any_spawn_id instead of only on $gdb_spawn_id.
4334
8aae4344
PM
43352015-04-21 Pierre Muller <muller@sourceware.org>
4336
4337 PR pascal/17815
4338 * lib/pascal.exp (gpc_compile): Add new option "class".
4339 (fpc_compile): Likewise.
4340 * gdb.pascal/case-insensitive-symbols.pas: New file.
4341 * gdb.pascal/case-insensitive-symbols.exp: New file.
4342
1586c8fb
GB
43432015-04-20 Gary Benson <gbenson@redhat.com>
4344
4345 * gdb.base/attach.exp: Fix three extended remote failures.
4346
1b6e6f5c
GB
43472015-04-17 Gary Benson <gbenson@redhat.com>
4348
4349 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4350 the main executable over the remote protocol.
4351
e797481d
PA
43522015-04-16 Pedro Alves <palves@redhat.com>
4353
4354 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4355 a new gdbserver if gdbserver_reconnect_p is set.
4356
1ca99c42
PA
43572015-04-16 Pedro Alves <palves@redhat.com>
4358
4359 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4360 is set, don't exit gdbserver.
4361
af9fd6f8
AA
43622015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4363
4364 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4365 appropriate .insn, such that an older assembler can be used.
4366 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4367 the z/Architecture instruction set on 31-bit targets as well.
4368
04ff1e61
AA
43692015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4370
4371 * gdb.go/handcall.exp: Remove all logic related to the first
4372 breakpoint and rely on go_runto_main instead.
4373 * gdb.go/strings.exp: Likewise.
4374 * gdb.go/unsafe.exp: Likewise.
4375 * gdb.go/hello.exp: Likewise. Also rename the remaining
4376 breakpoint marker to "breakpoint 1".
4377 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4378 * gdb.go/strings.go: Likewise.
4379 * gdb.go/unsafe.go: Likewise.
4380 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4381 "set breakpoint 2 here" and rename the remaining breakpoint marker
4382 to "breakpoint 1".
4383
40d2f8d6
SM
43842015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4385
4386 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4387 if itertools.imap is not present.
4388 * gdb.python/py-objfile.exp: Add parentheses.
4389 * gdb.python/py-type.exp: Same.
4390 * gdb.python/py-unwind-maint.py: Same.
4391
8cbc97c6
YQ
43922015-04-15 Yao Qi <yao.qi@linaro.org>
4393
4394 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4395 of ":$ptr_size" and set its form explicitly.
4396
45fd756c
YQ
43972015-04-15 Pedro Alves <palves@redhat.com>
4398 Yao Qi <yao.qi@linaro.org>
4399
4400 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4401 timeout by factor of 4.
4402 (test_regular_watch): Likewise.
4403 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4404 * gdb.reverse/sigall-reverse.exp: Likewise.
4405 * gdb.reverse/until-precsave.exp: Likewise.
4406 * lib/gdb.exp (with_timeout_factor): New proc.
4407 (gdb_expect): Move some code to ...
4408 (get_largest_timeout): ... here. New procedure.
4409
9e811bc3
LM
44102015-04-14 Luis Machado <lgustavo@codesourcery.com>
4411
4412 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4413
0ff6fcb2
LM
44142015-04-13 Luis Machado <lgustavo@codesourcery.com>
4415
4416 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4417 to write to the .text section.
4418
7578d5f7
LM
44192015-04-13 Luis Machado <lgustavo@codesourcery.com>
4420
4421 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4422 Handle the case of targets that do not provide PID information.
4423
2efe15c4
YQ
44242015-04-13 Yao Qi <yao.qi@linaro.org>
4425
4426 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4427 and use expect instead of gdb_expect.
4428
8cd8f2f8
SDJ
44292015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4430
4431 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4432 "coredump_var_addr" to avoid naming conflict with other testcases.
4433
9ee41772
PA
44342015-04-10 Pedro Alves <palves@redhat.com>
4435
4436 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4437 gdb_test_sequence and gdb_assert.
4438
07473109
PA
44392015-04-10 Pedro Alves <palves@redhat.com>
4440
4441 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4442 test messages that don't include the breakpoint address.
4443
de3db44c
YQ
44442015-04-10 Yao Qi <yao.qi@linaro.org>
4445
4446 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4447 false for some offset and width combinations which aren't
4448 supported by linux kernel.
4449
c79d856c
PA
44502015-04-10 Pedro Alves <palves@redhat.com>
4451
4452 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4453 procedure, factored out from ...
4454 (top level): ... here. Add "set displaced-stepping" testing axis.
4455 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4456 parameter "displaced". Use it.
4457 (top level): Use foreach and add "set displaced-stepping" testing
4458 axis.
4459
ebc90b50
PA
44602015-04-10 Pedro Alves <palves@redhat.com>
4461
4462 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4463 Remove comment.
4464 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4465 both the address of the instruction that triggers the watchpoint
4466 and the address of the instruction immediately after, and use
4467 those addresses for the test. Fix comment.
4468
8f572e5c
PA
44692015-04-10 Pedro Alves <palves@redhat.com>
4470
4471 * gdb.base/sigstep.exp (breakpoint_to_handler)
4472 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4473 Test "backtrace" in handler.
4474 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4475 (top level): Add new "displaced" test axis to
4476 breakpoint_to_handler, breakpoint_to_handler_entry and
4477 breakpoint_over_handler.
4478
8d707a12
PA
44792015-04-10 Pedro Alves <palves@redhat.com>
4480
4481 PR gdb/18216
4482 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4483
ef713951
YQ
44842015-04-10 Yao Qi <yao.qi@linaro.org>
4485
4486 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4487 (test_add_rn_pc): New function.
4488 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4489 (top level): Invoke test_add_rn_pc.
4490
906d60cf
PA
44912015-04-10 Pedro Alves <palves@redhat.com>
4492
4493 PR gdb/13858
4494 * gdb.base/step-over-no-symbols.exp: New file.
4495
f2983cc3
AW
44962015-04-09 Andy Wingo <wingo@igalia.com>
4497
4498 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4499 after the Python tests.
4500
6d62641c
SDJ
45012015-04-08 Keith Seitz <keiths@redhat.com>
4502
4503 PR python/16699
4504 * gdb.python/py-completion.exp: New tests for completion.
4505 * gdb.python/py-completion.py (CompleteLimit1): New class.
4506 (CompleteLimit2): Likewise.
4507 (CompleteLimit3): Likewise.
4508 (CompleteLimit4): Likewise.
4509 (CompleteLimit5): Likewise.
4510 (CompleteLimit6): Likewise.
4511 (CompleteLimit7): Likewise.
4512
f3770638
PA
45132015-04-08 Pedro Alves <palves@redhat.com>
4514
4515 PR gdb/18214
4516 PR gdb/18216
4517 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4518 function.
4519 (main): Install it as SIGUSR1 handler.
4520 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4521 parameter. Always use "setup" as prefix. Toggle "set
4522 displaced-stepping" off/on depending on global. Don't switch to
4523 thread 1 here.
4524 (top level): Add displaced stepping "off/on" test axis. Update
4525 "setup" calls. Wrap each subtest with with_test_prefix. Test
4526 continuing with a queued signal in each thread.
4527
4496bed7
PA
45282015-04-08 Pedro Alves <palves@redhat.com>
4529
4530 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4531 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4532 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4533 Return early if running to main fails.
4534 * gdb.trace/while-stepping.exp: Likewise.
4535
b97fde92
PA
45362015-04-07 Pedro Alves <palves@redhat.com>
4537
4538 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4539 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4540 interact with inferior program.
4541
f71c18e7
PA
45422015-04-07 Pedro Alves <palves@redhat.com>
4543
4544 * lib/gdb.exp (inferior_spawn_id): New global.
4545 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4546 spawn id after processing the user code.
4547 (default_gdb_start): Set inferior_spawn_id.
4548 (send_inferior): New procedure.
4549 * lib/gdbserver-support.exp (gdbserver_start): Set
4550 inferior_spawn_id.
4551 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4552
6423214f
PA
45532015-04-07 Pedro Alves <palves@redhat.com>
4554
4555 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4556 * lib/gdbserver-support.exp (gdbserver_start): Make
4557 $server_spawn_id global.
4558 (gdbserver_start): Don't wait for gdbserver's spawn id with
4559 expect_background.
4560 (close_gdbserver): New procedure.
4561 (gdb_exit): Rename the default version and reimplement.
4562
71c0ee8c
PA
45632015-04-07 Pedro Alves <palves@redhat.com>
4564
72f4393d 4565 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
4566 append the substituted item, not the original item.
4567
203bc29b
PA
45682015-04-07 Pedro Alves <palves@redhat.com>
4569
4570 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4571 gdb_expect.
4572
508a3ddf
PA
45732015-04-07 Pedro Alves <palves@redhat.com>
4574
4575 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4576 output appearing once only.
4577
9f6dbe2b
PA
45782015-04-07 Pedro Alves <palves@redhat.com>
4579
4580 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4581 that doesn't expect anything. Return early if running to main
4582 fails.
4583
337532fa
YQ
45842015-04-07 Yao Qi <yao.qi@linaro.org>
4585
4586 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4587 (child_function): Call alarm.
4588 (main): Move call to alarm into the loop.
4589 * gdb.threads/non-stop-fair-events.exp: Build program with
4590 -DTIMEOUT=$timeout.
4591
01b622d4
DE
45922015-04-06 Doug Evans <xdje42@gmail.com>
4593
4594 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4595 Fix dest parameter to board_info.
4596 (fpc_compile): Ditto.
4597 (gdb_compile_pascal): Rename dest arg to destfile.
4598
961f4160
PMR
45992015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4600
4601 * gdb.ada/funcall_ref.exp: New file.
4602 * gdb.ada/funcall_ref/foo.adb: New file.
4603
cafda597
YQ
46042015-04-02 Yao Qi <yao.qi@linaro.org>
4605
4606 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4607 is remote.
4608
fed040c6
GB
46092015-04-02 Gary Benson <gbenson@redhat.com>
4610
4611 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4612
d11916aa
SS
46132015-04-01 Sasha Smundak <asmundak@google.com>
4614
4615 * gdb.python/py-unwind-maint.c: New file.
4616 * gdb.python/py-unwind-maint.exp: New test.
4617 * gdb.python/py-unwind-maint.py: New file.
4618 * gdb.python/py-unwind.c: New file.
4619 * gdb.python/py-unwind.exp: New test.
4620 * gdb.python/py-unwind.py: New test.
4621
a1471180
PA
46222015-04-01 Pedro Alves <palves@redhat.com>
4623
4624 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4625 to fail instead of non-existent $test.
4626
0bbeccb1
PA
46272015-04-01 Pedro Alves <palves@redhat.com>
4628
4629 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4630 GDBFLAGS if not empty.
4631
3c724c8c
PMR
46322015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4633
4634 * gdb.ada/complete.exp: Remove "multi_line".
4635 * gdb.ada/info_exc.exp: Remove "multi_line".
4636 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4637 * gdb.ada/ptype_field.exp: Remove "multi_line".
4638 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4639 * gdb.ada/tagged.exp: Remove "multi_line".
4640 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4641 [multi_line ...]
4642 * gdb.btrace/delta.exp: Likewise.
4643 * gdb.btrace/exception.exp: Likewise.
4644 * gdb.btrace/function_call_history.exp: Likewise.
4645 * gdb.btrace/instruction_history.exp: Likewise.
4646 * gdb.btrace/nohist.exp: Likewise.
4647 * gdb.btrace/record_goto.exp: Likewise.
4648 * gdb.btrace/segv.exp: Likewise.
4649 * gdb.btrace/stepi.exp: Likewise.
4650 * gdb.btrace/tailcall.exp: Likewise.
4651 * gdb.btrace/unknown_functions.exp: Likewise.
4652 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4653 * lib/gdb.exp: Add the "multi_line" helper.
4654
4eec2deb
PA
46552015-04-01 Pedro Alves <palves@redhat.com>
4656
4657 * gdb.threads/tid-reuse.c: New file.
4658 * gdb.threads/tid-reuse.exp: New file.
4659
df8411da
SDJ
46602015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4661
4662 PR corefiles/16092
4663 * gdb.base/coredump-filter.c: New file.
4664 * gdb.base/coredump-filter.exp: Likewise.
4665
6ef37366
PM
46662015-03-27 Petr Machata <pmachata@redhat.com>
4667
4668 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4669 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4670 (Dwarf::assemble): Initialize them.
4671 (Dwarf::lines): New function.
4672
7ec911b0
JT
46732015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4674
4675 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4676 SYMBOL_PREFIX for x86_64-*-cygwin.
4677
ff908ebf
AW
46782015-03-26 Andy Wingo <wingo@igalia.com>
4679
4680 PR symtab/18148
4681 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4682 const_value but not a location.
4683 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4684 location defined in non-main CUs are visible.
4685
6d5f0679
YQ
46862015-03-26 Yao Qi <yao.qi@linaro.org>
4687
4688 PR testsuite/18139
4689 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4690 Add a line number entry for the same line.
4691 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4692 Add a line number entry for the same line.
4693
2898689b
YQ
46942015-03-26 Yao Qi <yao.qi@linaro.org>
4695
4696 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4697 .int 0.
4698 (func): Likewise. Add .Lfunc_1 label.
4699 Use .Lfunc_1 label.
4700 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4701 .int 0.
4702 (func): Likewise.
4703 Use .Lfunc_1 label.
4704
85180498
YQ
47052015-03-26 Yao Qi <yao.qi@linaro.org>
4706
4707 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4708 Call gdb_compile instead to compile each .s files without debug
4709 information.
4710
8aa08a8d
YQ
47112015-03-26 Yao Qi <yao.qi@linaro.org>
4712
4713 * gdb.base/savedregs.exp (process_saved_regs): Make
4714 "Saved registers:" optional in the pattern.
4715
66849923
MM
47162015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4717
4718 * gdb.btrace/next.exp: Merged into step.exp.
4719 * gdb.btrace/finish.exp: Merged into step.exp.
4720 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4721 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4722 "record goto" and checking the exact replay position.
4723 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4724 check for "Recording format" in "info record" output.
4725 * gdb.btrace/record_goto.exp: Choose test file based on target.
4726 * gdb.btrace/x86-record_goto.S: Renamed into ...
4727 * gdb.btrace/x86_64-record_goto.S: ... this.
4728 * gdb.btrace/i686-record_goto.S: New.
4729 * gdb.btrace/x86-tailcall.S: Renamed into ...
4730 * gdb.btrace/x86_64-tailcall.S: ... this.
4731 * gdb.btrace/i686-tailcall.S: New.
4732 * gdb.btrace/x86-tailcall.c: Renamed into ...
4733 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4734 separate statements. Update test.
4735 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4736 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4737 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4738 * gdb.btrace/tailcall.exp: Choose test file based on target.
4739 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4740
11cc1b74
MM
47412015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4742
4743 * gdb.btrace/exception.exp: Increase BTS buffer size.
4744
a25d8bf9
PA
47452015-03-24 Pedro Alves <palves@redhat.com>
4746
4747 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4748
856e7dd6
PA
47492015-03-24 Pedro Alves <palves@redhat.com>
4750
4751 * gdb.threads/schedlock.exp (test_step): No longer expect that
4752 "set scheduler-locking step" with "next" over a function call runs
4753 threads unlocked.
4754
ad235a41
AT
47552015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4756
4757 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4758
15630549
AT
47592015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4760
4761 PR breakpoints/16466
4762 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4763 * gdb.mi/mi-pending.c (thread_func): New function.
4764 (int main): Add threading support required.
4765 * gdb.mi/mi-pending.exp: Add tests for this issue.
4766 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4767 (pendfunc2): Remove stdio dependency.
4768 * gdb.mi/mi-pendshr2.c: New file.
4769
693dca06
KS
47702015-03-23 Keith Seitz <keiths@redhat.com>
4771
4772 * gdb.linespec/keywords.c: New file.
4773 * gdb.linespec/keywords.exp: New file.
4774
7e993ebf
KS
47752015-03-23 Keith Seitz <keiths@redhat.com>
4776
4777 PR gdb/18021
4778 * gdb.dwarf2/staticvirtual.exp: New test.
4779
bc23328c
JK
47802015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4781
4782 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4783 * README: Remove HP-UX and gdb.hp.
4784 (configuration):
4785 * configure: Regenerate.
4786 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4787 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4788 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4789 gdb.hp/gdb.defects/Makefile.
4790 * gdb.hp/Makefile.in: File deleted.
4791 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4792 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4793 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4794 * gdb.hp/gdb.aCC/run.c: File deleted.
4795 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4796 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4797 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4798 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4799 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4800 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4801 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4802 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4803 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4804 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4805 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4806 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4807 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4808 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4809 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4810 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4811 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4812 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4813 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4814 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4815 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4816 * gdb.hp/gdb.compat/average.c: File deleted.
4817 * gdb.hp/gdb.compat/sum.c: File deleted.
4818 * gdb.hp/gdb.compat/xdb.c: File deleted.
4819 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4820 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4821 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4822 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4823 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4824 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4825 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4826 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4827 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4828 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4829 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4830 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4831 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4832 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4833 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4834 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4835 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4836 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4837 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4838 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4839 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4840 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4841 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4842 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4843 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4844 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4845 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4846 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4847 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4848 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4849 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4850 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4851 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4852 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4853 * gdb.hp/tools/odump: File deleted.
4854
8bf3b159
PA
48552015-03-19 Pedro Alves <palves@redhat.com>
4856
4857 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4858 (saw_thread_3): New globals.
4859 (top level): Increment them when an event for the corresponding
4860 thread is seen.
4861 (no thread starvation): New test.
4862
eb54c8bf
PA
48632015-03-19 Pedro Alves <palves@redhat.com>
4864
4865 * gdb.threads/continue-pending-status.c: New file.
4866 * gdb.threads/continue-pending-status.exp: New file.
4867
32d2e5d6
PA
48682015-03-18 Pedro Alves <palves@redhat.com>
4869
4870 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4871 Use gdb_is_target_remote instead of is_remote. Use
4872 gdb_test_multiple instead of gdb_expect. Exit early if
4873 gdb_test_multiple hits its internal matches. Tighten stepi tests
4874 expected output. Fail on exit with any signal, instead of just
4875 SIGILL.
4876
f68f11b7
YQ
48772015-03-18 Yao Qi <yao.qi@linaro.org>
4878
4879 PR tdep/18107
4880 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4881 variable.
4882 * gdb.base/catch-syscall.exp: Don't skip it on
4883 aarch64*-*-linux* target. Remove elements in all_syscalls.
4884 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4885 target.
4886 (setup_all_syscalls): New proc.
4887
ca5fd19b
YQ
48882015-03-16 Yao Qi <yao.qi@linaro.org>
4889
4890 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4891 (top level): Skip tests if valid_addr_p returns false for
4892 $cmd1 or $cmd2.
4893
85642ba0
AW
48942015-03-11 Andy Wingo <wingo@igalia.com>
4895
4896 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4897
e03f9645
YQ
48982015-03-11 Yao Qi <yao.qi@linaro.org>
4899
4900 * gdb.base/catch-syscall.exp: Fix typo in comments.
4901
5d0962b2
YQ
49022015-03-11 Yao Qi <yao.qi@linaro.org>
4903
4904 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4905
b2df3cef
PA
49062015-03-09 Pedro Alves <palves@redhat.com>
4907
4908 * dg-extract-results.py: Delete.
4909
ef878e53
PA
49102015-03-09 Pedro Alves <palves@redhat.com>
4911
4912 Merge dg-extract-results.sh from GCC upstream (r218843).
4913
4914 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4915 * dg-extract-results.sh: Use --text with grep to avoid issues with
4916 binary files. Fall back to cat -v, if that doesn't work.
4917
9494d219
PA
49182015-03-05 Pedro Alves <palves@redhat.com>
4919
4920 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4921
a8d9763a
SM
49222015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4923
4924 * lib/mi-support.exp (mi_expect_interrupt): Accept
4925 alternative event for when in all-stop mode.
4926
be9957b8
PA
49272015-03-04 Pedro Alves <palves@redhat.com>
4928
4929 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4930
d57be0f4 49312015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
4932
4933 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4934
c214c7cf
AA
49352015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4936
4937 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4938 regexps for GDB's current line display, accept a hex address
4939 preceding the line number.
4940
6d74a497
AA
49412015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4942
4943 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4944 the 'arch1' variable for "s390*-linux*" targets.
4945
511aee7c
PA
49462015-03-04 Pedro Alves <palves@redhat.com>
4947
4948 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4949 (main): Pass missing retval argument to pthread_join call.
4950
95e50b27
PA
49512015-03-02 Pedro Alves <palves@redhat.com>
4952
4953 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4954 (top level): Call do_test with non-stop as well.
4955
28054d69
PA
49562015-03-02 Pedro Alves <palves@redhat.com>
4957
4958 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4959 -1.
4960
4fa5d7b4
AA
49612015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4962
4963 * gdb.arch/s390-vregs.exp: New test.
4964 * gdb.arch/s390-vregs.S: New file.
4965
97c18565
PA
49662015-02-27 Pedro Alves <palves@redhat.com>
4967
4968 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4969 call to catch_command_errors.
4970 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4971 catch_command_errors.
4972
a37bfa30
PA
49732015-02-27 Pedro Alves <palves@redhat.com>
4974
4975 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4976 "true" for boolean result.
4977 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4978 prototype of main.
4979
6f98576f
PA
49802015-02-27 Pedro Alves <palves@redhat.com>
4981
4982 * lib/unbuffer_output.c: New file.
4983 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4984 (main): Call gdb_unbuffer_output.
4985
eba5ab56
YQ
49862015-02-27 Yao Qi <yao.qi@linaro.org>
4987
4988 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4989 target.
4990
0def5aaa
DE
49912015-02-26 Doug Evans <dje@google.com>
4992
4993 * gdb.cp/class2.cc (Dbase, D): New classes.
4994 (main): New local delta.
4995 * gdb.cp/class2.exp: Test printing delta.
4996 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4997 (dynbar): New global.
4998 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4999
081a1c2c
JK
50002015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5001
5002 * gdb.compile/compile-ifunc.c: New file.
5003 * gdb.compile/compile-ifunc.exp: New file.
5004
2f41223f
AT
50052015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
5006
5007 * gdb.base/structs.exp: Check for correct struct on finish.
5008
03eddd80
YQ
50092015-02-26 Yao Qi <yao.qi@linaro.org>
5010
5011 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
5012 is zero.
5013
80c57053
JK
50142015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5015
5016 * gdb.arch/cordic.ko.bz2: New file.
5017 * gdb.arch/cordic.ko.debug.bz2: New file.
5018 * gdb.arch/ppc64-symtab-cordic.exp: New file.
5019
21613c12
YQ
50202015-02-25 Yao Qi <yao.qi@linaro.org>
5021
5022 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
5023 aarch64*-*-* target.
5024
d8b901ed
PA
50252015-02-23 Pedro Alves <palves@redhat.com>
5026
5027 * lib/gdb.exp (delete_breakpoints): Rewrite using
5028 gdb_test_multiple.
5029
e5b85ead
PA
50302015-02-23 Pedro Alves <palves@redhat.com>
5031
5032 * gdb.base/info-os.c: Include stdlib.h.
5033
85c3a371
DE
50342015-02-22 Doug Evans <xdje42@gmail.com>
5035
5036 PR symtab/17855
5037 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
5038 is read after symbols have been re-read.
5039 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
5040 * gdb.ada/exec_changed/second.adb (Second): Ditto.
5041
96553a0c
DE
50422015-02-21 Doug Evans <dje@google.com>
5043
5044 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
5045
97a0c697
JK
50462015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5047
5048 PR corefiles/17808
5049 * gdb.arch/i386-biarch-core.core.bz2: New file.
5050 * gdb.arch/i386-biarch-core.exp: New file.
5051
a47cd6e9
PA
50522015-02-21 Pedro Alves <palves@redhat.com>
5053
5054 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
5055 runto_main fails.
5056
c5facdc4
PA
50572015-02-20 Pedro Alves <palves@redhat.com>
5058
5059 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
5060 info probes.
5061
2db9a427
PA
50622015-02-20 Pedro Alves <palves@redhat.com>
5063
5064 * gdb.threads/multi-create-ns-info-thr.exp: New file.
5065
60fb7e9e
PA
50662015-02-20 Pedro Alves <palves@redhat.com>
5067
5068 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
5069 clean_restart before gdb_target_supports_trace.
5070
5c5019c2
PA
50712015-02-20 Pedro Alves <palves@redhat.com>
5072
5073 PR threads/18006
5074 * gdb.threads/clone-thread_db.c: New file.
5075 * gdb.threads/clone-thread_db.exp: New file.
5076
c9587f88
AT
50772015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
5078
5079 PR breakpoints/16812
5080 * gdb.base/catch-gdb-caused-signals.c: New file.
5081 * gdb.base/catch-gdb-caused-signals.exp: New file.
5082
f6a88844
JM
50832015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
5084
5085 * configure: Regenerated.
5086 * configure.ac: Use GDB_AC_TRANSFORM.
5087 * aclocal.m4: sinclude ../transform.m4.
5088
497c491b
JM
50892015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5090
5091 * lib/dtrace.exp: New file.
5092 * gdb.base/dtrace-probe.exp: Likewise.
5093 * gdb.base/dtrace-probe.d: Likewise.
5094 * gdb.base/dtrace-probe.c: Likewise.
5095 * lib/pdtrace.in: Likewise.
5096 * configure.ac: Output variables with the transformed names of
5097 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
5098 * configure: Regenerated.
5099
03e98035
JM
51002015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5101
5102 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
5103 expected message when trying to access $_probe_* convenience
5104 variables while not on a probe.
5105
63cc30e9
JK
51062015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5107
5108 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
5109
0703599a
PA
51102015-02-11 Pedro Alves <pedro@codesourcery.com>
5111
5112 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
5113 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
5114
7e60a48e
DE
51152015-02-10 Doug Evans <xdje42@gmail.com>
5116
5117 * lib/gdb.exp (gdb_load): Always return a result.
5118
01b088bc
PA
51192015-02-10 Pedro Alves <palves@redhat.com>
5120
5121 * gdb.threads/signal-sigtrap.c: New file.
5122 * gdb.threads/signal-sigtrap.exp: New file.
5123
b05ec7a5
AT
51242015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
5125
5126 * gdb.trace/no-attach-trace.c: New file.
5127 * gdb.trace/no-attach-trace.exp: New file.
5128
a2c2acaf
MW
51292015-02-09 Mark Wielaard <mjw@redhat.com>
5130
5131 * gdb.dwarf2/atomic.c: New file.
5132 * gdb.dwarf2/atomic-type.exp: Likewise.
5133
31fd9caa
MM
51342015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5135
5136 * gdb.btrace/buffer-size.exp: Update "info record" output.
5137 * gdb.btrace/delta.exp: Update "info record" output.
5138 * gdb.btrace/enable.exp: Update "info record" output.
5139 * gdb.btrace/finish.exp: Update "info record" output.
5140 * gdb.btrace/instruction_history.exp: Update "info record" output.
5141 * gdb.btrace/next.exp: Update "info record" output.
5142 * gdb.btrace/nexti.exp: Update "info record" output.
5143 * gdb.btrace/step.exp: Update "info record" output.
5144 * gdb.btrace/stepi.exp: Update "info record" output.
5145 * gdb.btrace/nohist.exp: Update "info record" output.
5146
d33501a5
MM
51472015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5148
5149 * gdb.btrace/buffer-size: New.
5150
f4abbc16
MM
51512015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5152
5153 * gdb.btrace/delta.exp: Update "info record" output.
5154 * gdb.btrace/enable.exp: Update "info record" output.
5155 * gdb.btrace/finish.exp: Update "info record" output.
5156 * gdb.btrace/instruction_history.exp: Update "info record" output.
5157 * gdb.btrace/next.exp: Update "info record" output.
5158 * gdb.btrace/nexti.exp: Update "info record" output.
5159 * gdb.btrace/step.exp: Update "info record" output.
5160 * gdb.btrace/stepi.exp: Update "info record" output.
5161 * gdb.btrace/nohist.exp: Update "info record" output.
5162
b9d61307
SM
51632015-02-06 Simon Marchi <simon.marchi@ericsson.com>
5164
5165 PR gdb/15678
5166 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
5167
e584fdbc
PA
51682015-02-06 Pedro Alves <palves@redhat.com>
5169
5170 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
5171 macro.
5172 (seconds_left, again): New globals.
5173 (main): Wait seconds_left in a 1-second sleep loop instead of
5174 sleeping 180 seconds. If 'again' is set, reset the seconds
5175 counter.
5176 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
5177 'again' in the inferior before detaching. Print the seconds left.
5178 (options): New global.
5179 (top level): Build program with -DTIMEOUT=$timeout.
5180
77f41761
PA
51812015-02-06 Pedro Alves <palves@redhat.com>
5182
5183 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
5184 determine how many seconds to pass to 'alarm'.
5185 * gdb.base/gdb-sigterm.exp (top level): Build program with
5186 -DTIMEOUT=$timeout.
5187 (do_test): Return success/failure indication. Add more verbose
5188 logging. Don't fail if 200 single steps are seen. Instead, fail
5189 when the test times out.
5190 (passes): New global.
5191 (top level): Break the testing loop if testing fails on any
5192 iteration. Use gdb_assert.
5193
b9394193
DB
51942015-02-04 Don Breazeal <donb@codesourcery.com>
5195
5196 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
5197 and initialize them.
5198 (ipc_cleanup): New function.
5199 (main): Don't declare shmid, semid, and msqid. Add a call to
5200 atexit so that we call ipc_cleanup on exit.
5201
42d9e528
PA
52022015-02-04 Pedro Alves <palves@redhat.com>
5203
5204 * boards/native-extended-gdbserver.exp: Remove any target variant
5205 specifications from the board name before clearing the isremote
5206 flag from board_info.
5207
ae6ae975
DE
52082015-01-31 Doug Evans <xdje42@gmail.com>
5209
5210 * gdb.base/maint.exp <maint print type argc>: Update expected output.
5211
cfb069a8
GB
52122015-01-31 Gary Benson <gbenson@redhat.com>
5213
5214 * gdb.base/completion.exp: Disable completion limiting for
5215 existing tests. Add new tests to check completion limiting.
5216 * gdb.linespec/ls-errs.exp: Disable completion limiting.
5217
5dd31d79
DE
52182015-01-31 Doug Evans <xdje42@gmail.com>
5219
5220 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
5221
9f050062
DE
52222015-01-31 Doug Evans <xdje42@gmail.com>
5223
5224 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
5225 entries. Duplicate file section script entries.
5226 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
5227 inlined entries. Add test for safe-path rejection.
5228 * gdb.python/py-section-script.c: Add duplicate inlined section script
5229 entries. Duplicate file section script entries.
5230 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5231 inlined entries. Add test for safe-path rejection.
5232
df25ebbd
JB
52332015-01-29 Joel Brobecker <brobecker@adacore.com>
5234
5235 * gdb.ada/disc_arr_bound: New testcase.
5236
4a0ca9ec
JB
52372015-01-29 Joel Brobecker <brobecker@adacore.com>
5238
5239 * gdb.ada/mi_var_array: New testcase.
5240
3a8b707a
DE
52412015-01-27 Doug Evans <dje@google.com>
5242
5243 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5244 Add test for objfile.filename, objfile.username after objfile
5245 has been unloaded.
5246
f8313f6e
JB
52472015-01-26 Joel Brobecker <brobecker@adacore.com>
5248
5249 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5250 the second test to print the name attribute of value
5251 returned by the call to gdb.lookup_type, and adjust
5252 the expected output accordingly.
5253
37bc665e
MW
52542015-01-25 Mark Wielaard <mjw@redhat.com>
5255
5256 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5257 * gdb.base/disp-step-fork.c: Include unistd.h.
5258 * gdb.base/siginfo-obj.c: Include stdio.h.
5259 * gdb.base/siginfo-thread.c: Likewise.
5260 * gdb.mi/non-stop.c: Include unistd.h.
5261 * gdb.mi/nsthrexec.c: Include stdio.h.
5262 * gdb.mi/pthreads.c: Include unistd.h.
5263 * gdb.modula2/unbounded1.c (main): Declare returns int.
5264 * gdb.reverse/consecutive-reverse.c: Likewise.
5265 * gdb.threads/create-fail.c: Include unistd.h.
5266 * gdb.threads/killed.c: Likewise.
5267 * gdb.threads/linux-dp.c: Likewise.
5268 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5269 * gdb.threads/non-ldr-exc-2.c: Likewise.
5270 * gdb.threads/non-ldr-exc-3.c: Likewise.
5271 * gdb.threads/non-ldr-exc-4.c: Likewise.
5272 * gdb.threads/pthreads.c: Include unistd.h.
5273 (main): Declare returns int.
5274 * gdb.threads/tls-main.c (foo): New declaration.
5275 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5276
f7e5394d
SM
52772015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5278
5279 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5280 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5281
743649fd
MW
52822015-01-15 Mark Wielaard <mjw@redhat.com>
5283
5284 * gdb.base/noreturn-return.c: New file.
5285 * gdb.base/noreturn-return.exp: New file.
5286 * gdb.base/noreturn-finish.c: New file.
5287 * gdb.base/noreturn-finish.exp: New file.
5288
198297aa
PA
52892015-01-23 Pedro Alves <palves@redhat.com>
5290
5291 * gdb.threads/continue-pending-after-query.c: New file.
5292 * gdb.threads/continue-pending-after-query.exp: New file.
5293
717cf30c
AG
52942015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5295 Simon Marchi <simon.marchi@ericsson.com>
5296
5297 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5298 * gdb.base/valgrind-db-attach.exp: Same.
5299 * gdb.base/valgrind-infcall.exp: Same.
5300 * lib/mi-support.exp (default_mi_gdb_start): Same.
5301 * lib/prompt.exp (default_prompt_gdb_start): Same.
5302 * lib/gdb.exp (default_gdb_spawn): Same.
5303 (gdb_interact): New.
5304
5305
4b62a76e
JK
53062015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5307
5308 * gdb.compile/compile.exp (pointer to jit function): New test.
5309
b4cdae6f
WW
53102015-01-17 Wei-cheng Wang <cole945@gmail.com>
5311
5312 * lib/gdb.exp (supports_process_record): Return true for
5313 powerpc*-*-linux*.
5314 (supports_reverse): Likewise.
5315
d221e7ef
DB
53162015-01-15 Don Breazeal <donb@codesourcery.com>
5317
5318 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5319 instead of checking whether the target board is remote and
5320 use spawn_wait_for_attach instead of exec/sleep.
5321 * gdb.base/attach-twice.exp: Likewise.
5322
bafffb51
JB
53232015-01-15 Joel Brobecker <brobecker@adacore.com>
5324
5325 * gdb.ada/var_arr_attrs: New testcase.
5326
5589af0e
PA
53272015-01-14 Pedro Alves <palves@redhat.com>
5328 Joel Brobecker <brobecker@adacore.com>
5329
5330 PR gdb/17525
5331 * gdb.base/bp-cmds-execution-x-script.c: New file.
5332 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5333 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5334
6c400b59
PA
53352015-01-14 Pedro Alves <palves@redhat.com>
5336
5337 PR cli/17828
5338 * gdb.base/batch-preserve-term-settings.c: New file.
5339 * gdb.base/batch-preserve-term-settings.exp: New file.
5340
e02c96a7
DE
53412015-01-13 Doug Evans <dje@google.com>
5342
5343 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5344 binary.
5345
576fd14c
JB
53462015-01-13 Joel Brobecker <brobecker@adacore.com>
5347
5348 * Makefile.in (clean mostlyclean): Do not delete *.py.
5349
04dccad0
JB
53502015-01-13 Joel Brobecker <brobecker@adacore.com>
5351
5352 * gdb.python/py-lookup-type.exp: New file.
5353
3d230f71
PA
53542015-01-12 Pedro Alves <palves@redhat.com>
5355
5356 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5357 restore GDBFLAGS before returning.
5358
7e67715d
JK
53592015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5360
5361 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5362 is_amd64_regs_target and is_x86_like_target.
5363
f2e0d4b4
DE
53642015-01-11 Doug Evans <xdje42@gmail.com>
5365
5366 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5367 is given without an explicit form.
5368 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5369 attributes.
5370 * gdb.dwarf/corrupt.exp: Ditto.
5371 * gdb.dwarf2/enum-type.exp: Ditto.
5372 * gdb.trace/entry-values.exp: Ditto.
5373 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5374
439250fb
DE
53752015-01-11 Doug Evans <xdje42@gmail.com>
5376
5377 PR gdb/15830
5378 * gdb.base/maint.exp: Remove references to "maint demangle".
5379 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5380 Add tests for explicitly specifying language to demangle.
5381 * gdb.dlang/demangle.exp: Ditto.
5382
ede9f622
PA
53832015-01-09 Pedro Alves <palves@redhat.com>
5384
5385 * gdb.threads/non-stop-fair-events.c: New file.
5386 * gdb.threads/non-stop-fair-events.exp: New file.
5387
a7b796db
PA
53882015-01-09 Pedro Alves <palves@redhat.com>
5389
5390 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5391 the global scope. Set a breakpoint after all threads are started
5392 rather than stepping over two source lines. Expect the prompt.
5393 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5394 global.
5395 (NUM): Now 15.
5396 (main): Use threads_started_barrier to wait for all threads to
5397 start. Main thread no longer calls thread_function. Exit after
5398 180 seconds.
5399 (loop): New function.
5400 (thread_function): Wait on threads_started_barrier barrier. Call
5401 'loop' at each iteration.
5402 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5403 threads have started, instead of hardcoding number of "next"
5404 steps. Use an access watchpoint instead of a write watchpoint.
5405
9665ffdd
PA
54062015-01-09 Pedro Alves <palves@redhat.com>
5407
5408 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5409 (thread_func): Wait on barrier.
5410 (main): Wait for all threads to start before stopping GDB.
5411 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5412 global.
5413 (thread1_func, thread2_func): Wait on barrier.
5414 (main): Wait for all threads to start before stopping GDB.
5415 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5416 New global.
5417 (thread1_func, thread2_func): Wait on barrier.
5418 (main): Wait for all threads to start before stopping GDB.
5419
c945a99f
PA
54202015-01-09 Pedro Alves <palves@redhat.com>
5421
5422 * gdb.threads/attach-many-short-lived-threads.c: New file.
5423 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5424
c1a747c1
PA
54252014-01-09 Pedro Alves <palves@redhat.com>
5426
5427 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5428 instead of to thread 2.
5429 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5430 Add barrier around each pthread_create call instead of around all
5431 calls.
5432 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5433 Set a break on thread_function and have the child threads hit it
5434 one at at a time.
5435
60b3033e
PA
54362015-01-09 Pedro Alves <palves@redhat.com>
5437
5438 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5439 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5440 false.
5441 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5442 checking whether the target board is remote.
5443 * gdb.multi/multi-attach.exp: Likewise.
5444 * gdb.python/py-sync-interp.exp: Likewise.
5445 * gdb.server/ext-attach.exp: Likewise.
5446 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5447 tests that need to attach, instead of checking whether the target
5448 board is remote at the top of the file.
5449
acc018ac
YQ
54502015-01-08 Yao Qi <yao@codesourcery.com>
5451
5452 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5453
50a18af8
JK
54542015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5455
5456 Fix testcase compilation.
5457 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5458
8503d6e1
JB
54592015-01-06 Joel Brobecker <brobecker@adacore.com>
5460
5461 * gdb.python/py-type.exp: Add a couple test about empty
5462 array creation, and negative-length array creation.
5463
cc73dbcc
DE
54642015-01-02 Doug Evans <xdje42@gmail.com>
5465
5466 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5467
0300bbc7
DE
54682015-01-02 Doug Evans <dje@google.com>
5469
5470 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5471
9d85a0ec
YQ
54722014-12-29 Yao Qi <yao@codesourcery.com>
5473
5474 * gdb.trace/entry-values.exp: Update comments. Rename variable
5475 bar_call_foo to returned_from_foo.
5476
87186c6a
MMN
54772014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5478
5479 PR gdb/17394
5480 * gdb.linespec/break-asm-file.c: New file.
5481 * gdb.linespec/break-asm-file.exp: New file.
5482 * gdb.linespec/break-asm-file0.s: New file.
5483 * gdb.linespec/break-asm-file1.s: New file.
5484
1bab7383
YQ
54852014-12-18 Nigel Stephens <nigel@mips.com>
5486 Maciej W. Rozycki <macro@codesourcery.com>
5487
5488 * gdb.base/float.exp: Handle the new output from "info float" on
5489 MIPS targets.
5490
1bc1068a
JK
54912014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5492
5493 Fix MinGW compilation.
5494 * gdb.compile/compile-ops.exp: Update untested message if
5495 !skip_compile_feature_tests.
5496 * gdb.compile/compile-setjmp.exp: Likewise.
5497 * gdb.compile/compile-tls.exp: Likewise.
5498 * gdb.compile/compile.exp: Likewise.
5499 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5500 supported on this host".
5501
b6615d10
DE
55022014-12-16 Doug Evans <xdje42@gmail.com>
5503
5504 * boards/stabs.exp: New file.
5505
25dda427
AA
55062014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5507
5508 * gdb.base/completion.exp: Adjust to format changes of "maint
5509 print user-registers".
5510
bf330350
CU
55112014-12-16 Catalin Udma <catalin.udma@freescale.com>
5512
5513 PR server/17457
5514 * gdb.arch/aarch64-fp.c: New file.
5515 * gdb.arch/aarch64-fp.exp: New file.
5516
395cf596
SDJ
55172014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5518
5519 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5520 r210637, r210913, r211666, r215400, r215817).
5521
5522 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5523 * dg-extract-results.py: New file.
5524 * dg-extract-results.sh: Use it if the environment seems
5525 suitable.
5526
5527 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5528
5529 * dg-extract-results.py (parse_run): Handle warnings that
5530 are printed before a test harness is run.
5531
5532 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5533
5534 * dg-extract-results.py (Named): Remove __cmp__ method.
5535 (output_variation): Use a key to sort variation.harnesses.
5536
5537 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5538
5539 * dg-extract-results.py: For Python 3, force sys.stdout to
5540 handle surrogate escape sequences.
5541 (safe_open): New function.
5542 (output_segment, main): Use it.
5543
5544 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5545
5546 * dg-extract-results.py (Prog.result_re): Include options
5547 in test name.
5548
5549 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5550
5551 * dg-extract-results.py (output_variation): Always sort if
5552 do_sum.
5553
e882ef3c
SM
55542014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5555
5556 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5557 as long as we get pagination notifications.
5558
4992aa20
JM
55592014-12-15 Jason Merrill <jason@redhat.com>
5560
5561 * Makefile.in (check-gdb.%): Restore.
5562 * README: Mention it.
5563
c1b5a1a6
JB
55642014-12-13 Joel Brobecker <brobecker@adacore.com>
5565
5566 * gdb.ada/str_uninit: New testcase.
5567
5537b577
JK
55682014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5569
5570 PR symtab/17642
5571 * gdb.base/vla-stub-define.c: New file.
5572 * gdb.base/vla-stub.c: New file.
5573 * gdb.base/vla-stub.exp: New file.
5574
bb2ec1b3
TT
55752014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5576 Jan Kratochvil <jan.kratochvil@redhat.com>
5577 Tom Tromey <tromey@redhat.com>
5578
5579 * configure.ac: Add gdb.compile/.
5580 * configure: Regenerate.
5581 * gdb.compile/Makefile.in: New file.
5582 * gdb.compile/compile-ops.exp: New file.
5583 * gdb.compile/compile-ops.c: New file.
5584 * gdb.compile/compile-tls.c: New file.
5585 * gdb.compile/compile-tls.exp: New file.
5586 * gdb.compile/compile-constvar.S: New file.
5587 * gdb.compile/compile-constvar.c: New file.
5588 * gdb.compile/compile-mod.c: New file.
5589 * gdb.compile/compile-nodebug.c: New file.
5590 * gdb.compile/compile-setjmp-mod.c: New file.
5591 * gdb.compile/compile-setjmp.c: New file.
5592 * gdb.compile/compile-setjmp.exp: New file.
5593 * gdb.compile/compile-shlib.c: New file.
5594 * gdb.compile/compile.c: New file.
5595 * gdb.compile/compile.exp: New file.
5596 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5597
4ff709eb
TT
55982014-12-12 Tom Tromey <tromey@redhat.com>
5599
5600 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5601 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5602
6dddd6a5
DE
56032014-12-12 Doug Evans <dje@google.com>
5604
5605 * lib/gdb-python.exp (get_python_valueof): New function.
5606 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5607
71c24708
AA
56082014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5609
5610 * gdb.base/completion.exp: Add test for completion of "info
5611 registers ".
5612
3e29f34a
MR
56132014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5614
5615 * gdb.base/func-ptrs.c: New file.
5616 * gdb.base/func-ptrs.exp: New file.
5617
fc126975
SM
56182014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5619
5620 PR breakpoints/17012
5621 * gdb.base/dprintf-detach.c: New file.
5622 * gdb.base/dprintf-detach.exp: New file.
5623
0a46d518
SM
56242014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5625
5626 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5627 * lib/gdb.exp (target_is_gdbserver): New procedure.
5628
a0be3e44
DE
56292014-12-08 Doug Evans <dje@google.com>
5630
5631 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5632
df1b803a
YQ
56332014-12-05 Yao Qi <yao@codesourcery.com>
5634
5635 * gdb.guile/scm-error.exp: Remove the third argument to
5636 gdb_remote_download.
5637 * gdb.guile/scm-frame-args.exp: Likewise.
5638 * gdb.guile/scm-section-script.exp: Likewise.
5639
ddb9f679
YQ
56402014-12-05 Yao Qi <yao@codesourcery.com>
5641
5642 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5643
86e4ed39
DE
56442014-12-04 Doug Evans <dje@google.com>
5645
5646 * gdb.python/py-objfile.exp: Add tests for
5647 objfile.add_separate_debug_file.
5648
7c50a931
DE
56492014-12-04 Doug Evans <dje@google.com>
5650
5651 * lib/gdb.exp (get_build_id): New function.
5652 (build_id_debug_filename_get): Rewrite to use it.
5653 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5654
621661e3
MR
56552014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5656
5657 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5658 `method(long)', not just 0x0.
5659 * gdb.cp/nsalias.exp: Align code labels to 4.
5660 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5661 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5662 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5663 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5664 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5665 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5666
29f0c3b7
DE
56672014-12-02 Doug Evans <dje@google.com>
5668
e1e061e7 5669 PR symtab/17602
29f0c3b7 5670 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 5671 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
5672 * gdb.cp/anon-ns.exp: Update.
5673
162078c8
NB
56742014-12-02 Nick Bull <nicholaspbull@gmail.com>
5675
5676 * gdb.python/py-events.py (inferior_call_handler): New.
5677 (register_changed_handler, memory_changed_handler): New.
5678 (test_events.invoke): Register new handlers.
5679 * gdb.python/py-events.exp: Add tests for inferior call,
5680 memory_changed and register_changed events.
5681
fdb09caf
AA
56822014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5683
5684 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5685 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5686 if the linker doesn't understand this.
5687
55cfb2c4
SM
56882014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5689
5690 * gdb.python/python.exp: Change expected reply to help().
5691
9e8cd6df
YQ
56922014-12-01 Yao Qi <yao@codesourcery.com>
5693
5694 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5695 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5696 * configure: Re-generated.
5697
6c659fc2
SC
56982014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5699
5700 * gdb.cp/chained-calls.cc: New file.
5701 * gdb.cp/chained-calls.exp: New file.
5702 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5703
d7fc3181
SM
57042014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5705
5706 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5707 * gdb.dwarf2/symtab-producer.exp: Same.
5708 * gdb.gdb/python-interrupts.exp: Same.
5709 * gdb.gdb/python-selftest.exp: Same.
5710 * gdb.python/py-linetable.exp: Same.
5711 * gdb.python/py-type.exp: Same.
5712 * gdb.python/py-value-cc.exp: Same.
5713 * gdb.python/py-value.exp: Same.
5714
10e79639
YQ
57152014-11-28 Yao Qi <yao@codesourcery.com>
5716
5717 * gdb.base/break-probes.exp: Match library name prefixed with
5718 sysroot.
5719
f28a0564
SM
57202014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5721
5722 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5723 test expected output. Add parentheses for the call to print.
5724 Remove L suffix from integers.
5725
3fe1ce1d
DE
57262014-11-26 Doug Evans <dje@google.com>
5727
5728 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5729
84429e27
YQ
57302014-11-22 Yao Qi <yao@codesourcery.com>
5731
5732 * gdb.trace/entry-values.c: Remove asms.
5733 (foo): Add foo_label.
5734 (bar): Add bar_label.
5735 * gdb.trace/entry-values.exp: Remove code computing foo's
5736 length and bar's length.
5737 (Dwarf::assemble): Invoke function_range for bar and use
5738 MACRO_AT_func for foo.
5739
26741859
YQ
57402014-11-22 Yao Qi <yao@codesourcery.com>
5741
5742 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5743 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5744 Use .Lgcc43_procstart instead of gcc43.
5745
45e44d27
JB
57462014-11-21 Joel Brobecker <brobecker@adacore.com>
5747
5748 * gdb.ada/n_arr_bound: New testcase.
5749
458c8db8
SDJ
57502014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5751
5752 PR breakpoints/10737
5753 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5754 test_catch_syscall_multi_arch.
5755 (test_catch_syscall_multi_arch): New function.
5756
43f3e411
DE
57572014-11-20 Doug Evans <xdje42@gmail.com>
5758
5759 * gdb.base/maint.exp: Update expected output.
5760
0d7b2549
AA
57612014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5762
5763 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5764 4-byte instruction on S390.
5765
8908fca5
JB
57662014-11-19 Joel Brobecker <brobecker@adacore.com>
5767
5768 * gdb.ada/arr_arr: New testcase.
5769
4a46959e
JB
57702014-11-19 Joel Brobecker <brobecker@adacore.com>
5771
5772 * gdb.ada/pkd_arr_elem: New Testcase.
5773
470e2f4e
LM
57742014-11-18 Luis Machado <lgustavo@codesourcery.com>
5775
5776 * gdb.reverse/break-precsave: Expect completion message for
5777 core file reads.
5778 * gdb.reverse/consecutive-precsave.exp: Likewise.
5779 * gdb.reverse/finish-precsave.exp: Likewise.
5780 * gdb.reverse/i386-precsave.exp: Likewise.
5781 * gdb.reverse/machinestate-precsave.exp: Likewise.
5782 * gdb.reverse/sigall-precsave.exp: Likewise.
5783 * gdb.reverse/solib-precsave.exp: Likewise.
5784 * gdb.reverse/step-precsave.exp: Likewise.
5785 * gdb.reverse/until-precsave.exp: Likewise.
5786 * gdb.reverse/watch-precsave.exp: Likewise.
5787
a267f3ad
AA
57882014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5789
5790 * gdb.base/bp-permanent.c: Include unistd.h.
5791 * gdb.python/py-framefilter-mi.c (main): Add return type.
5792 * gdb.python/py-framefilter.c (main): Likewise.
5793 * gdb.trace/actions-changed.c (main): Likewise.
5794
12084a9a
AA
57952014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5796
5797 * gdb.mi/until.c: Add eye-catchers.
5798 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5799 line numbers.
5800
dc7e1a77
AA
58012014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5802
5803 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5804 function header variants in break1.c.
5805 * gdb.base/ena-dis-br.exp: Likewise.
5806 * gdb.base/hbreak2.exp: Likewise.
5807 * gdb.reverse/until-precsave.exp: Drop references to removed
5808 non-prototype function header variants in ur1.c.
5809 * gdb.reverse/until-reverse.exp: Likewise.
5810
41c77605
PM
58112014-11-17 Petr Machata <pmachata@redhat.com>
5812
5813 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5814 ${_cu_offset_size} bytes abbrev offset.
5815
34248c3a
DE
58162014-11-15 Doug Evans <xdje42@gmail.com>
5817
5818 PR symtab/17559
5819 * gdb.base/line-symtabs.exp: New file.
5820 * gdb.base/line-symtabs.c: New file.
5821 * gdb.base/line-symtabs.h: New file.
5822
646da059
YQ
58232014-11-14 Yao Qi <yao@codesourcery.com>
5824
5825 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5826 (func): Add label func_label.
5827 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5828 Replace low_pc and high_pc with MACRO_AT_range.
5829 Replace name, low_pc and high_pc with MACRO_AT_func.
5830
9301ebe6
YQ
58312014-11-14 Yao Qi <yao@codesourcery.com>
5832
5833 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5834 Replace name, low_pc and high_pc with MACRO_AT_func.
5835
f166b542
YQ
58362014-11-14 Yao Qi <yao@codesourcery.com>
5837
5838 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5839 produce debug information.
5840 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5841
0f6e71e3
YQ
58422014-11-14 Yao Qi <yao@codesourcery.com>
5843
5844 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5845 object and get function length.
5846 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5847 with MACRO_AT_func.
5848 (top-level): Replace gdb_compile and clean_restart with
5849 prepare_for_testing.
5850 * gdb.dwarf2/main.c (main): Add label main_label.
5851
876c4df9
YQ
58522014-11-14 Yao Qi <yao@codesourcery.com>
5853
5854 * lib/dwarf.exp (function_range): New procedure.
5855 (Dwarf::_handle_macro_at_func): New procedure.
5856 (Dwarf::_handle_macro_at_range): New procedure.
5857 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5858
02ad9cf1
YQ
58592014-11-14 Yao Qi <yao@codesourcery.com>
5860
5861 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5862 (_handle_attribute): New procedure.
5863
a59add0c
AA
58642014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5865
5866 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5867 * gdb.base/call-sc.c (zed): Likewise.
5868 * gdb.base/checkpoint.c (main): Likewise.
5869 * gdb.base/dump.c (main): Likewise.
5870 * gdb.base/gcore.c (main): Likewise.
5871 * gdb.base/huge.c (main): Likewise.
5872 * gdb.base/multi-forks.c (main): Likewise.
5873 * gdb.base/pr10179-a.c (main): Likewise.
5874 * gdb.base/savedregs.c (main): Likewise.
5875 * gdb.base/sigaltstack.c (main): Likewise.
5876 * gdb.base/siginfo.c (main): Likewise.
5877 * gdb.base/structs.c (zed): Likewise.
5878 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5879 * gdb.mi/mi-syn-frame.c (main): Likewise.
5880 * gdb.mi/until.c (foo, main): Likewise.
5881 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5882 * gdb.base/solib-weak.c (foo): Declare.
5883 * gdb.base/attach-twice.c: Include stdio.h.
5884 * gdb.base/weaklib1.c: Likewise.
5885 * gdb.base/weaklib2.c: Likewise.
5886 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5887 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5888 unistd.h.
5889 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5890 * gdb.mi/mi-exit-code.c: Likewise.
5891 * gdb.base/break-interp-lib.c: Include string.h.
5892 * gdb.base/coremaker.c: Likewise.
5893 * gdb.base/testenv.c: Likewise.
5894 * gdb.python/py-finish-breakpoint.c: Likewise.
5895 * gdb.base/inferior-died.c: Include sys/wait.h.
5896 * gdb.base/fileio.c: Include time.h.
5897 * gdb.base/async-shell.c: Include unistd.h.
5898 * gdb.base/dprintf-non-stop.c: Likewise.
5899 * gdb.base/info-os.c: Likewise.
5900 * gdb.mi/mi-console.c: Likewise.
5901 * gdb.mi/watch-nonstop.c: Likewise.
5902 * gdb.python/py-events.c: Likewise.
5903 * gdb.base/async.c (baz): Move up before its invocation.
5904 * gdb.base/code_elim2.c (my_global_func): Likewise.
5905 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5906 * gdb.base/advance.c (func2): Likewise.
5907
3b5d5997
AA
59082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5909
5910 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5911 variant.
5912 * gdb.base/annota3.c: Likewise.
5913 * gdb.base/async.c: Likewise.
5914 * gdb.base/average.c: Likewise.
5915 * gdb.base/call-ar-st.c: Likewise.
5916 * gdb.base/call-rt-st.c: Likewise.
5917 * gdb.base/call-sc.c: Likewise.
5918 * gdb.base/call-strs.c: Likewise.
5919 * gdb.base/ending-run.c: Likewise.
5920 * gdb.base/execd-prog.c: Likewise.
5921 * gdb.base/exprs.c: Likewise.
5922 * gdb.base/foll-exec.c: Likewise.
5923 * gdb.base/foll-fork.c: Likewise.
5924 * gdb.base/foll-vfork.c: Likewise.
5925 * gdb.base/funcargs.c: Likewise.
5926 * gdb.base/gcore.c: Likewise.
5927 * gdb.base/jump.c: Likewise.
5928 * gdb.base/langs0.c: Likewise.
5929 * gdb.base/langs1.c: Likewise.
5930 * gdb.base/langs2.c: Likewise.
5931 * gdb.base/mips_pro.c: Likewise.
5932 * gdb.base/nodebug.c: Likewise.
5933 * gdb.base/opaque0.c: Likewise.
5934 * gdb.base/opaque1.c: Likewise.
5935 * gdb.base/recurse.c: Likewise.
5936 * gdb.base/run.c: Likewise.
5937 * gdb.base/scope0.c: Likewise.
5938 * gdb.base/scope1.c: Likewise.
5939 * gdb.base/setshow.c: Likewise.
5940 * gdb.base/setvar.c: Likewise.
5941 * gdb.base/shmain.c: Likewise.
5942 * gdb.base/shr1.c: Likewise.
5943 * gdb.base/shr2.c: Likewise.
5944 * gdb.base/sigall.c: Likewise.
5945 * gdb.base/signals.c: Likewise.
5946 * gdb.base/so-indr-cl.c: Likewise.
5947 * gdb.base/solib2.c: Likewise.
5948 * gdb.base/structs.c: Likewise.
5949 * gdb.base/sum.c: Likewise.
5950 * gdb.base/vforked-prog.c: Likewise.
5951 * gdb.base/watchpoint.c: Likewise.
5952 * gdb.reverse/shr2.c: Likewise.
5953 * gdb.reverse/until-reverse.c: Likewise.
5954 * gdb.reverse/ur1.c: Likewise.
5955 * gdb.reverse/watch-reverse.c: Likewise.
5956
066a77c5
AA
59572014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5958
5959 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5960 variant.
5961 * gdb.base/sepdebug.exp: Drop references to removed code.
5962
4f204ea5
AA
59632014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5964
5965 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5966 variant. Preserve original line numbering.
5967 * gdb.base/list1.c: Likewise.
5968
3b377a3a
AA
59692014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5970
5971 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5972 variant.
5973 * gdb.base/break1.c: Likewise.
5974 * gdb.base/break.exp: Drop references to removed code.
5975
e444df73
AA
59762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5977
5978 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5979 variant.
5980
8008f2a7
AA
59812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5982
5983 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5984
a5a06887
AA
59852014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5986
5987 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5988 logic into perform_all_tests() and invoke it with and without
5989 function header prototypes.
5990 (do_function_calls): Remove conditional XFAIL for PR 5318.
5991 (rerun_and_prepare): Remove duplicate code.
5992 (perform_all_tests): New. Main logic moved here.
5993
44dba9b9
AA
59942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5995
5996 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5997 code guarded by #ifdef NO_PROTOTYPES.
5998 (t_double_many_args): Likewise.
5999 (DEF_FUNC_MANY_ARGS_1): Likewise.
6000 (DEF_FUNC_VALUES_1): Likewise.
6001 (t_structs_ldc): Renamed from t_structs_fc in conditional code
6002 guarded by #ifdef PROTOTYPES.
6003
d1fbcd56
AA
60042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6005
6006 * gdb.mi/mi-console.c: Add eye-catcher.
6007 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
6008 instead of literal line number.
6009
b0e59b8f
AA
60102014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6011
6012 * gdb.base/shr2.c: Add eye-catcher.
6013 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
6014 line number.
6015
78f98cca
AA
60162014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6017
6018 * gdb.base/jump.c: Add eye-catchers.
6019 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
6020 numbers.
6021
58fa2af0
AA
60222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6023
6024 * gdb.base/execd-prog.c: Add eye-catchers.
6025 * gdb.base/foll-exec.c: Likewise.
6026 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
6027 line numbers.
6028
04e5059b
AA
60292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6030
6031 * gdb.base/ending-run.c: Add eye-catchers.
6032 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
6033 literal line numbers.
6034
dbfdb174
AA
60352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6036
6037 * gdb.base/call-rt-st.c: Add eye-catchers.
6038 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
6039 literal line numbers.
6040
888a2ade
AA
60412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6042
6043 * gdb.base/call-ar-st.c: Add eye-catchers.
6044 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
6045 literal line numbers.
6046
6acc2dde
AA
60472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6048
6049 * gdb.base/average.c: Add eye-catchers.
6050 * gdb.base/sum.c: Likewise.
6051 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
6052 regexps dynamically.
6053
9ecfcd1d
AA
60542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6055
6056 * gdb.base/solib1.c: Add eye-catchers.
6057 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
6058 literal line numbers.
6059
78708b7c
PA
60602014-11-12 Pedro Alves <palves@redhat.com>
6061
6062 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
6063 leader has exited.
6064
af48d08f
PA
60652014-11-12 Pedro Alves <palves@redhat.com>
6066
6067 * gdb.arch/i386-bp_permanent.c: New file.
6068 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
6069 (srcfile): Set to i386-bp_permanent.c.
6070 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
6071 that stepi does not execute the 'leave' instruction, instead of
6072 testing it does execute.
6073 * gdb.base/bp-permanent.c: New file.
6074 * gdb.base/bp-permanent.exp: New file.
6075
af3768e9
DE
60762014-11-10 Doug Evans <xdje42@gmail.com>
6077
6078 PR symtab/17564
6079 * gdb.base/symtab-search-order.exp: New file.
6080 * gdb.base/symtab-search-order.c: New file.
6081 * gdb.base/symtab-search-order-1.c: New file.
6082 * gdb.base/symtab-search-order-shlib-1.c: New file.
6083
9de00a4a
PA
60842014-11-07 Pedro Alves <palves@redhat.com>
6085
6086 PR gdb/17511
6087 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
6088 i?86-*-linux*.
6089
e0f52461
SC
60902014-11-03 Siva Chandra Reddy <sivachandra@google.com>
6091
6092 PR c++/17494
6093 * gdb.cp/pr17494.cc: New file.
6094 * gdb.cp/pr17494.exp: New file.
6095
6ce8c980
YQ
60962014-11-02 Yao Qi <yao@codesourcery.com>
6097
6098 * gdb.python/python.exp: Get working directory and match the
6099 output of "set extended-prompt \\w " with it.
6100
02be9a71
DE
61012014-10-30 Doug Evans <dje@google.com>
6102
6103 * gdb.python/py-objfile.exp: Add tests for setting random attributes
6104 in objfiles.
6105 * gdb.python/py-progspace.exp: Add tests for setting random attributes
6106 in progspaces.
6107
3bdff46b
LM
61082014-10-30 Janis Johnson <janisjo@codesourcery.com>
6109
6110 * gdb.base/fullpath-expand.exp: Skip for a remote host.
6111 * gdb.base/realname-expand.exp: Likewise.
6112 * gdb.linespec/macro-relative.exp: Likewise.
6113
ab917dfb
PA
61142014-10-29 Pedro Alves <palves@redhat.com>
6115
6116 PR gdb/17408
6117 * gdb.threads/schedlock.c (some_function): New function.
6118 (call_function): New global.
6119 (MAYBE_CALL_SOME_FUNCTION): New macro.
6120 (thread_function): Call it.
6121 * gdb.threads/schedlock.exp (get_args): Add description parameter,
6122 and use it instead of a global counter. Adjust all callers.
6123 (get_current_thread): Use "find current thread" for test message
6124 here rather than having all callers pass down the same string.
6125 (goto_loop): New procedure, factored out from ...
6126 (my_continue): ... this.
6127 (step_ten_loops): Change parameter from test message to command to
6128 use. Adjust.
6129 (list_count): Delete global.
6130 (check_result): New procedure, factored out from duplicate top
6131 level code.
6132 (continue tests): Wrap in with_test_prefix.
6133 (test_step): New procedure, factored out from duplicate top level
6134 code.
6135 (top level): Test "step" in combination with all scheduler-locking
6136 modes. Test "next" in combination with all scheduler-locking
6137 modes, and in combination with stepping over a function call or
6138 not.
6139 * gdb.threads/next-bp-other-thread.c: New file.
6140 * gdb.threads/next-bp-other-thread.exp: New file.
6141
d3d4baed
PA
61422014-10-29 Pedro Alves <palves@redhat.com>
6143
6144 PR python/17372
6145 * gdb.python/python.exp: Test a multi-line command that spawns
6146 interactive Python.
6147 * gdb.base/multi-line-starts-subshell.exp: New file.
6148
563e8d85
YQ
61492014-10-29 Yao Qi <yao@codesourcery.com>
6150
6151 * gdb.base/fileio.exp: Make directories on host.
6152
0ea4d52e
YQ
61532014-10-29 Yao Qi <yao@codesourcery.com>
6154
6155 * gdb.base/fileio.c (test_write): Close the file.
6156
7f5ef605
PA
61572014-10-28 Pedro Alves <palves@redhat.com>
6158
6159 PR gdb/12623
6160 * gdb.base/sigstep.c (no_handler): New global.
6161 (main): If 'no_handler is true, set the signal handlers to
6162 SIG_IGN.
6163 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
6164 with_sw_watch and no_handler parameters. Handle them.
6165 (top level) <stepping over handler when stopped at a breakpoint
6166 test>: Add a test axis for testing with a software watchpoint, and
6167 another for testing with the signal handler set to SIG_IGN.
6168 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
6169 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
6170
abbdbd03
PA
61712014-10-28 Pedro Alves <palves@redhat.com>
6172
6173 PR gdb/17511
6174 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
6175 * gdb.base/sigstep.exp (other_handler_location): New global.
6176 (advance): Support stepping into the signal handler, and running
6177 commands while in the handler.
6178 (in_handler_map): New global.
6179 (top level): In the advance test, add combinations for getting
6180 into the handler with stepping commands, and for running commands
6181 in the handler. Add comment descripting the advancei tests.
6182
1df4399f
PA
61832014-10-28 Pedro Alves <palves@redhat.com>
6184
6185 * gdb.base/sigstep.exp: Use build_executable instead of
6186 prepare_for_testing.
6187 (top level): Move code that starts GDB, runs to main and creates a
6188 display to ...
6189 (restart): ... this new procedure.
6190 (top level): Move backtrace from signal handler test to ...
6191 (validate_backtrace): ... this new procedure.
6192 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
6193 with_test_prefix. Always restart GDB.
6194 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
6195 with_test_prefix. Always restart GDB. No need to delete
6196 breakpoints after the test.
6197 (test_skip_handler): Remove prefix parameter.
6198 (skip_over_handler, breakpoint_to_handler)
6199 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
6200 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
6201 restart GDB. No need to delete breakpoints after the test.
6202 (top level): Use foreach to call the test procedures with
6203 different commands.
6204
a5b6e449
PA
62052014-10-28 Pedro Alves <palves@redhat.com>
6206
6207 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
6208 instead of GNATS numbers.
6209 * gdb.base/sigbpt.exp: Likewise.
6210 * gdb.base/siginfo.exp: Likewise.
6211 * gdb.base/sigstep.exp: Likewise.
6212
e5f8a7cc
PA
62132014-10-27 Pedro Alves <palves@redhat.com>
6214
6215 * gdb.base/sigstep.c (dummy): New global.
6216 (main): Issue a couple writes to the new global.
6217 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
6218 procedures.
6219 (skip_over_handler): Use test_skip_handler.
6220 (top level): Call skip_over_handler for stepi and nexti too.
6221 (breakpoint_over_handler): Use test_skip_handler.
6222 (top level): Call breakpoint_over_handler for stepi and nexti too.
6223
763905a3
YQ
62242014-10-27 Yao Qi <yao@codesourcery.com>
6225
6226 * gdb.trace/tfile.c (adjust_function_address)
6227 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6228 function descriptor.
6229
6f259a23
DB
62302014-10-24 Don Breazeal <donb@codesourcery.com>
6231
6232 * gdb.base/foll-fork.exp (test_follow_fork,
6233 catch_fork_child_follow): Check for updated fork messages emitted
6234 from infrun.c.
6235 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6236 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6237 vfork_and_exec_child_follow_through_step): Check for updated vfork
6238 messages emitted from infrun.c.
6239
09dd9a69
PA
62402014-10-24 Pedro Alves <palves@redhat.com>
6241
6242 * gdb.base/corefile.exp: Remove references to ultrix.
6243 * gdb.base/interrupt.exp: Likewise.
6244 * gdb.base/whatis.exp: Likewise.
6245 * gdb.gdb/selftest.exp: Likewise.
6246 * gdb.threads/manythreads.exp: Likewise.
6247 * gdb.threads/print-threads.exp: Likewise.
6248 * gdb.threads/pthreads.exp:: Likewise.
6249 * gdb.threads/schedlock.exp: Likewise.
6250
3433cfa5
SC
62512014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6252
6253 * gdb.cp/non-trivial-retval.cc: Add a test case.
6254 * gdb.cp/non-trivial-retval.exp: Add a test.
6255
092f880b
YQ
62562014-10-20 Yao Qi <yao@codesourcery.com>
6257
6258 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6259 * gdb.python/py-objfile-script-gdb.py: New file.
6260 * gdb.python/py-objfile-script.exp: Update reference to
6261 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6262 of remote_download. Remove the dest file.
6263
acbdb7f3
YQ
62642014-10-20 Yao Qi <yao@codesourcery.com>
6265
6266 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6267 * gdb.base/step-line.exp: Likewise.
6268 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6269 * gdb.dwarf2/dw2-basic.exp: Likewise.
6270 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6271 * gdb.dwarf2/dw2-filename.exp: Likewise.
6272 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6273 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6274 * gdb.dwarf2/dw2-producer.exp: Likewise.
6275 * gdb.dwarf2/mac-fileno.exp: Likewise.
6276 * gdb.python/py-frame-args.exp: Likewise.
6277 * gdb.python/py-framefilter.exp: Likewise.
6278 * gdb.python/py-mi.exp: Likewise.
6279 * gdb.python/py-objfile-script.exp: Likewise
6280 * gdb.python/py-pp-integral.exp: Likewise.
6281 * gdb.python/py-pp-re-notag.exp: Likewise.
6282 * gdb.python/py-prettyprint.exp: Likewise.
6283 * gdb.python/py-section-script.exp: Likewise.
6284 * gdb.python/py-typeprint.exp: Likewise.
6285 * gdb.python/py-xmethods.exp: Likewise.
6286 * gdb.stabs/weird.exp: Likewise.
6287 * gdb.xml/tdesc-regs.exp: Likewise.
6288
bd286a29
KCY
62892014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6290
6291 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6292 (out_cu): Use addr_len for the size of addresses.
6293 (out_line): Likewise. Size DW_LNE_set_address instruction
6294 according to addr_len.
6295 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6296 (FUNC): Add START_INSNS to definition.
6297
673dc4a0
YQ
62982014-10-18 Yao Qi <yao@codesourcery.com>
6299
6300 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6301 gdb_has_argv0 return true.
6302 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6303 check [target_info exists noargs], check [gdb_has_argv0]
6304 instead.
6305 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6306 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6307 procedures.
6308
4ffbba72
DE
63092014-10-17 Doug Evans <dje@google.com>
6310
6311 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6312 event.
6313 * gdb.python/py-events.py: Add clear_objfiles event.
6314
d096d8c1
DE
63152014-10-17 Doug Evans <dje@google.com>
6316
6317 * gdb.python/py-objfile.exp: Test progspace attribute.
6318
a80db015
LM
63192014-10-17 Luis Machado <lgustavo@codesourcery.com>
6320
6321 * gdb.guile/scm-breakpoint.exp: Do not assume any
6322 directory separators when matching source file paths.
6323 * gdb.python/py-breakpoint.exp: Likewise.
6324 * gdb.reverse/break-precsave.exp: Likewise.
6325 * gdb.reverse/break-reverse.exp: Likewise.
6326 * gdb.reverse/consecutive-precsave.exp: Likewise.
6327 * gdb.reverse/finish-precsave.exp: Likewise.
6328 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6329 * gdb.reverse/finish-reverse.exp: Likewise.
6330 * gdb.reverse/i386-precsave.exp: Likewise.
6331 * gdb.reverse/i387-env-reverse.exp: Likewise.
6332 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6333 * gdb.reverse/machinestate-precsave.exp: Likewise.
6334 * gdb.reverse/machinestate.exp: Likewise.
6335 * gdb.reverse/sigall-precsave.exp: Likewise.
6336 * gdb.reverse/solib-precsave.exp: Likewise.
6337 * gdb.reverse/step-precsave.exp: Likewise.
6338 * gdb.reverse/until-precsave.exp: Likewise.
6339 * gdb.reverse/watch-precsave.exp: Likewise.
6340 * gdb.reverse/watch-reverse.exp: Likewise.
6341
b22089ab
YQ
63422014-10-17 Yao Qi <yao@codesourcery.com>
6343
6344 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6345 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6346
6c4486e6
PA
63472014-10-17 Pedro Alves <palves@redhat.com>
6348
6349 PR gdb/17471
6350 * gdb.base/bg-execution-repeat.c: New file.
6351 * gdb.base/bg-execution-repeat.exp: New file.
6352
0ff33695
PA
63532014-10-17 Pedro Alves <palves@redhat.com>
6354
6355 PR gdb/17300
6356 * gdb.base/continue-all-already-running.c: New file.
6357 * gdb.base/continue-all-already-running.exp: New file.
6358
6fdebc3d
PA
63592014-10-17 Pedro Alves <palves@redhat.com>
6360
6361 PR gdb/17472
6362 * gdb.base/annota-input-while-running.c: New file.
6363 * gdb.base/annota-input-while-running.exp: New file.
6364
32a8097b
PA
63652014-10-17 Pedro Alves <palves@redhat.com>
6366
6367 * gdb.base/callfuncs.exp: emove references to osf.
6368 * gdb.base/sigall.exp: Likewise.
6369 * gdb.gdb/selftest.exp: Likewise.
6370 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6371 * gdb.mi/non-stop.c: Likewise.
6372 * gdb.mi/pthreads.c: Likewise.
6373 * gdb.reverse/sigall-precsave.exp: Likewise.
6374 * gdb.reverse/sigall-reverse.exp: Likewise.
6375 * gdb.threads/pthreads.c: Likewise.
6376 * gdb.threads/pthreads.exp: Likewise.
6377
7a3517ff
YQ
63782014-10-17 Yao Qi <yao@codesourcery.com>
6379
6380 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6381 check 'target_info exists noargs'.
6382 (test_command_prompt_position): Likewise.
6383 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6384 Remove "set args".
6385 (progvar_simple_while_test): Likewise.
6386 (progvar_complex_if_while_test): Likewise.
6387 (if_while_breakpoint_command_test): Likewise.
6388 (infrun_breakpoint_command_test): Likewise.
6389 (breakpoint_command_test): Likewise.
6390 (watchpoint_command_test): Likewise.
6391 (bp_deleted_in_command_test): Likewise.
6392 (temporary_breakpoint_commands): Likewise.
6393
bb99c472
YQ
63942014-10-16 Yao Qi <yao@codesourcery.com>
6395
6396 * gdb.base/remotetimeout.exp: Remove noargs checking.
6397
7c16b83e
PA
63982014-10-15 Pedro Alves <palves@redhat.com>
6399
6400 PR breakpoints/9649
6401 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6402 * gdb.base/breakpoint-in-ro-region.exp
6403 (probe_target_hardware_step): New procedure.
6404 (top level): Probe hardware stepping and hardware breakpoint
6405 support. Test stepping through a read-only region, with both
6406 "breakpoint auto-hw" on and off and both "always-inserted" on and
6407 off.
6408
35a49624
IB
64092014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6410
6411 * gdb.dlang/demangle.exp: Update for demangling changes.
6412
2d1c107c
SC
64132014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6414
6415 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6416 * gdb.cp/non-trivial-retval.exp: Add new tests.
6417
778811d5
SC
64182014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6419
6420 PR c++/13403
6421 PR c++/15154
6422 * gdb.cp/non-trivial-retval.cc: New file.
6423 * gdb.cp/non-trivial-retval.exp: New file.
6424
10c5f0a8
YQ
64252014-10-15 Yao Qi <yao@codesourcery.com>
6426
6427 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6428 remote host.
6429
65d7b369
YQ
64302014-10-15 Yao Qi <yao@codesourcery.com>
6431
6432 * gdb.python/py-symbol.exp: Match file base name if host is
6433 remote, otherwise match file name with dir name.
6434 * gdb.python/py-symtab.exp: Likewise.
6435 * gdb.python/python.exp: Likewise.
6436
46dc1394
YQ
64372014-10-15 Yao Qi <yao@codesourcery.com>
6438
6439 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6440 pattern.
6441 * gdb.python/py-symtab.exp: Likewise.
6442 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6443 locationn.
6444
c40cc657
JB
64452014-10-14 Joel Brobecker <brobecker@adacore.com>
6446
6447 * gdb.ada/addr_arith: New testcase.
6448
2abf49e1
MR
64492014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6450
6451 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6452 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6453 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6454 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6455
f7088df3
SDJ
64562014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6457
6458 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6459 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6460 * gdb.arch/stap-eval-lang-ada.exp: New file.
6461
4dc06805
YQ
64622014-10-14 Yao Qi <yao@codesourcery.com>
6463
6464 * gdb.mi/mi-var-child.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-child.exp: Step over new added statements.
6469 Update test to match the new output.
6470 * gdb.mi/var-cmd.c (nothing1): New function.
6471 (nothing2): New function.
6472 (do_children_tests): Set function pointers by nothing1 and
6473 nothing2.
6474 * gdb.mi/mi-var-display.exp: Update test to match output.
6475 Step to the line specified by $line_dct_nothing.
6476 Increase the number of lines to step.
6477
46a93de2
YQ
64782014-10-14 Yao Qi <yao@codesourcery.com>
6479
6480 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6481 tests.
6482 * gdb.mi/mi2-var-child.exp: Likewise.
6483
14ea52ee
DE
64842014-10-13 Doug Evans <dje@google.com>
6485
6486 * gdb.python/py-objfile.exp: Change name of file name test.
6487
e5c6e92b
DE
64882014-10-13 Doug Evans <dje@google.com>
6489
6490 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6491 from the start of the CU.
6492
c780cc2f
JK
64932014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6494 Yao Qi <yao@codesourcery.com>
6495
6496 Fix "save breakpoints" for "catch" command.
6497 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6498 Remove -nonewline. Match also the added "main" line.
6499
99894e11
JK
65002014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6501
6502 Fix "save breakpoints" for "disable $bpnum" command.
6503 * gdb.base/save-bp.c (main): Add label.
6504 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6505
6e1ac5a3
JK
65062014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6507
6508 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6509
754dd2b0
YQ
65102014-10-11 Yao Qi <yao@codesourcery.com>
6511
6512 * gdb.server/server-kill.exp: Execute command
6513 "set remote trace-status-packet on" before "tstatus".
6514
f90183d7
YQ
65152014-10-11 Yao Qi <yao@codesourcery.com>
6516
6517 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6518 (main): Call getppid.
6519 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6520 and continue to it. Read variable "server_pid".
6521
bf40a607
YQ
65222014-10-11 Yao Qi <yao@codesourcery.com>
6523
6524 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6525
052ca370
YQ
65262014-10-11 Yao Qi <yao@codesourcery.com>
6527
6528 * gdb.threads/thread-find.exp: Don't execute command
6529 "info threads".
6530 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6531 * gdb.threads/linux-dp.exp: Don't check the condition
6532 $threads_created equals to zero.
6533
3831839c
PA
65342014-10-10 Pedro Alves <palves@redhat.com>
6535
6536 * gdb.base/bigcore.exp: Remove references to IRIX.
6537 * gdb.base/funcargs.exp: Likewise.
6538 * gdb.base/interrupt.exp: Likewise.
6539 * gdb.base/mips_pro.exp: Likewise.
6540 * gdb.base/nodebug.exp: Likewise.
6541 * gdb.base/setvar.exp: Likewise.
6542 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6543
8b9a549d
PA
65442014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6545 Pedro Alves <palves@redhat.com>
6546
6547 PR symtab/14466
6548 * gdb.base/vdso-warning.c: New file.
6549 * gdb.base/vdso-warning.exp: New file.
6550
d48ba5e8
DE
65512014-10-02 Doug Evans <dje@google.com>
6552
6553 * gdb.base/structs.c (main): Don't run forever.
6554
2278c276
PA
65552014-10-02 Pedro Alves <palves@redhat.com>
6556
6557 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6558 (top level) <stop threads 1, stop threads 2>: Use it.
6559
b57bacec
PA
65602014-10-02 Pedro Alves <palves@redhat.com>
6561
6562 * gdb.threads/break-while-running.exp (test): Add new
6563 'update_thread_list' argument. Skip "info threads" if false.
6564 (top level): Add new 'update_thread_list' axis.
6565
13fd3ff3
PA
65662014-10-02 Pedro Alves <palves@redhat.com>
6567
6568 PR breakpoints/17431
6569 * gdb.base/execl-update-breakpoints.c: New file.
6570 * gdb.base/execl-update-breakpoints.exp: New file.
6571
0fec99e8
PA
65722014-10-01 Pedro Alves <palves@redhat.com>
6573
6574 * gdb.base/breakpoint-in-ro-region.c: New file.
6575 * gdb.base/breakpoint-in-ro-region.exp: New file.
6576
2ddf4301
SM
65772014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6578
6579 * gdb.mi/mi-exit-code.exp: New file.
6580 * gdb.mi/mi-exit-code.c: New file.
6581
6a5f3f43
YQ
65822014-09-30 Yao Qi <yao@codesourcery.com>
6583
6584 * lib/prelink-support.exp (build_executable_own_libs): Error if
6585 the target isn't native.
6586
345bcc73
YQ
65872014-09-30 Yao Qi <yao@codesourcery.com>
6588
6589 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6590 false.
6591
a25a5a45
PA
65922014-09-22 Pedro Alves <palves@redhat.com>
6593
6594 * gdb.threads/break-while-running.exp: New file.
6595 * gdb.threads/break-while-running.c: New file.
6596
00ba3162
YQ
65972014-09-19 Yao Qi <yao@codesourcery.com>
6598
6599 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6600 Invoke test. Restart GDB with --readnow and invoke test again.
6601
c3b7b696
YQ
66022014-09-19 Yao Qi <yao@codesourcery.com>
6603
6604 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6605 proc set_breakpoint_on_gcd_function. Invoke
6606 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6607 invoke set_breakpoint_on_gcd_function again.
6608
2b4fd423
DE
66092014-09-18 Doug Evans <dje@google.com>
6610
6611 * gdb.dwarf2/symtab-producer.exp: New file.
6612
a5947601
SDJ
66132014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6614
6615 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6616 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6617 * gdb.base/global-var-nested-by-dso.c: Likewise.
6618 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6619
91c19059
SDJ
66202014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6621 Pedro Alves <palves@redhat.com>
6622
6623 * gdb.base/watch-bitfields.exp: Pass string other than test file
6624 name to prepare_for_testing.
6625 (watch): New procedure.
6626 (expect_watchpoint): Use with_test_prefix.
6627 (top level): Factor out tests to ...
6628 (test_watch_location, test_regular_watch): ... these new
6629 procedures, and use with_test_prefix and gdb_continue_to_end.
6630
bb9d5f81
PP
66312014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6632
6633 PR breakpoints/12526
6634 * gdb.base/watch-bitfields.exp: New file.
6635 * gdb.base/watch-bitfields.c: New file.
6636
635856f5
PA
66372014-09-16 Pedro Alves <palves@redhat.com>
6638
6639 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6640 software and hardware addresses, not software address against
6641 itself.
6642
7280ceea
PA
66432014-09-16 Pedro Alves <palves@redhat.com>
6644
6645 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6646 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6647
428b16bd
PA
66482014-09-16 Pedro Alves <palves@redhat.com>
6649
6650 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6651 files.
6652 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6653 "*-*-vxworks*" throughout.
6654 * gdb.base/break.exp: Likewise.
6655 * gdb.base/default.exp: Likewise.
6656 * gdb.base/scope.exp: Likewise.
6657 * gdb.base/sepdebug.exp: Likewise.
6658 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6659 throughout.
6660 * gdb.base/run.c: Likewise.
6661 * gdb.base/sepdebug.c: Likewise.
6662 * gdb.hp/gdb.aCC/run.c: Likewise.
6663 * gdb.reverse/until-reverse.c: Likewise.
6664 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6665
666d413c
YQ
66662014-09-16 Yao Qi <yao@codesourcery.com>
6667
6668 * boards/local-remote-host-native.exp: New file.
6669
57cbd724
DE
66702014-09-14 Doug Evans <xdje42@gmail.com>
6671
6672 * gdb.threads/queue-signal.c (thread_count): New variable.
6673 (thread_count_mutex, thread_count_condvar): New variables.
6674 (incr_thread_count, wait_all_threads_running): New functions.
6675 (main): Wait for all threads to be in their thread functions.
6676
81219e53
DE
66772014-09-13 Doug Evans <xdje42@gmail.com>
6678
6679 * gdb.threads/queue-signal.c: New file.
6680 * gdb.threads/queue-signal.exp: New file.
6681
3714cea7
DE
66822014-09-13 Doug Evans <xdje42@gmail.com>
6683
6684 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6685 be consistent with what default_gdb_init uses.
6686 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6687 the plain text of the prompt. Add some logging printfs.
6688 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6689
fa43b1d7
PA
66902014-09-12 Pedro Alves <palves@redhat.com>
6691
6692 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6693 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6694 * gdb.arch/i386-size-overlap.exp: Likewise.
6695 * gdb.arch/i386-size.exp: Likewise.
6696 * gdb.arch/i386-unwind.exp: Likewise.
6697 * gdb.base/a2-run.exp: Likewise.
6698 * gdb.base/break.exp: Likewise.
6699 * gdb.base/charset.exp: Likewise.
6700 * gdb.base/chng-syms.exp: Likewise.
6701 * gdb.base/commands.exp: Likewise.
6702 * gdb.base/dbx.exp: Likewise.
6703 * gdb.base/find.exp: Likewise.
6704 * gdb.base/funcargs.exp: Likewise.
6705 * gdb.base/jit-simple.exp: Likewise.
6706 * gdb.base/reread.exp: Likewise.
6707 * gdb.base/sepdebug.exp: Likewise.
6708 * gdb.base/step-bt.exp: Likewise.
6709 * gdb.cp/mb-inline.exp: Likewise.
6710 * gdb.cp/mb-templates.exp: Likewise.
6711 * gdb.objc/basicclass.exp: Likewise.
6712 * gdb.threads/killed.exp: Likewise.
6713
9d9bf2df
EBM
67142014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6715
6716 PR tdep/17379
6717 * gdb.arch/powerpc-stackless.S: New file.
6718 * gdb.arch/powerpc-stackless.exp: New file.
6719
1cf2f1b0
JK
67202014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6721
6722 * gdb.base/attach.c: Include unistd.h.
6723 (main): Call alarm. Add label postloop.
6724 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6725 gdb_breakpoint, gdb_continue_to_breakpoint.
6726 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6727
98880d46
PA
67282014-09-11 Pedro Alves <palves@redhat.com>
6729
6730 PR gdb/17347
6731 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6732 * gdb.base/attach.exp (test_command_line_attach_run): New
6733 procedure.
6734 (top level): Call it.
6735
4c92ff2c
PA
67362014-09-11 Pedro Alves <palves@redhat.com>
6737
6738 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6739 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6740 (do_command_attach_tests): Use spawn_wait_for_attach.
6741 * gdb.base/solib-overlap.exp: Likewise.
6742 * gdb.multi/multi-attach.exp: Likewise.
6743 * gdb.python/py-prompt.exp: Likewise.
6744 * gdb.python/py-sync-interp.exp: Likewise.
6745 * gdb.server/ext-attach.exp: Likewise.
6746
3adc1a7d
GKB
67472014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6748
6749 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6750 command in testcase. Simplify testcase.
6751
96334934
JB
67522014-09-10 Joel Brobecker <brobecker@adacore.com>
6753
6754 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6755
eb479039
JB
67562014-09-10 Joel Brobecker <brobecker@adacore.com>
6757
6758 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6759
deede10c
JB
67602014-09-10 Joel Brobecker <brobecker@adacore.com>
6761
6762 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6763
7828a5f5
JB
67642014-09-10 Joel Brobecker <brobecker@adacore.com>
6765
6766 * gdb.dwarf2/dynarr-ptr.c: New file.
6767 * gdb.dwarf2/dynarr-ptr.exp: New file.
6768
33aeebcf
MR
67692014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6770
6771 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6772 of 30 rather than hardcoding 120 for a slow test case. Take the
6773 `gdb,timeout' target setting into account for this calculation.
6774 Don't extend the timeout for the test cases that don't need it.
6775
7b415901
MR
67762014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6777
6778 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6779 a factor of 2 for a slow test case. Take the `gdb,timeout'
6780 target setting into account for this calculation.
6781 * gdb.reverse/until-precsave.exp: Increase the timeout by
6782 a factor of 15 and 3 respectively rather than adding 120
6783 for a pair of slow test cases. Take the `gdb,timeout'
6784 target setting into account for this calculation.
6785
4a40f85a
MR
67862014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6787
6788 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6789 timeout, don't pass one down to gdb_expect.
6790 (gdb_expect): Rework timeout selection.
6791
09635af7
MR
67922014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6793
6794 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6795 exception on timeout.
6796 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6797 (gdbserver_start_extended): Catch any `gdbserver_start' error
6798 exceptions.
6799 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6800 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6801 `gdbserver_gdb_load' error exceptions.
6802
2bdd10b7
MR
68032014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6804
6805 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6806 120 on waiting for the TCP socket to open.
6807
316935f0
DE
68082014-09-09 Doug Evans <xdje42@gmail.com>
6809
6810 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6811 _caller_matches, _any_caller_is, _any_caller_matches.
6812
83740597
DE
68132014-09-09 Doug Evans <xdje42@gmail.com>
6814
6815 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6816
4c122fc3
YQ
68172014-09-09 Yao Qi <yao@codesourcery.com>
6818
6819 * gdb.mi/mi-var-display.exp: Set print symbol off.
6820
a9f116cb
GKB
68212014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6822
6823 PR gdb/17035
6824 * gdb.base/commands.exp: Add tests to verify user-defined
6825 commands with empty bodies.
6826 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6827 python commands in `show user command`.
6828 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6829 scheme commands in `show user command`.
6830
c75bd3a2
JK
68312014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6832
6833 PR python/17355
6834 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6835 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6836 * gdb.python/py-framefilter-invalidarg.exp: New file.
6837 * gdb.python/py-framefilter-invalidarg.py: New file.
6838
faa42425
DE
68392014-09-06 Doug Evans <xdje42@gmail.com>
6840
6841 PR 15276
6842 * gdb.python/py-caller-is.c: New file.
6843 * gdb.python/py-caller-is.exp: New file.
6844
474ca4f6
SDJ
68452014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6846
6847 PR gdb/17235
6848 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6849 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6850
eb0b0463
SDJ
68512014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6852
6853 PR fortran/17237
6854 * gdb.fortran/print-formatted.exp: New file.
6855 * gdb.fortran/print-formatted.f90: Likewise.
6856
5f3b99cf
SS
68572014-09-03 Sasha Smundak <asmundak@google.com>
6858
6859 * gdb.python/py-frame.exp: Test Frame.read_register.
6860
7d793aa9
SDJ
68612014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6862
6863 PR python/16699
6864 * gdb.python/py-completion.exp: New file.
6865 * gdb.python/py-completion.py: Likewise.
6866
fb0576e9
DE
68672014-08-28 Doug Evans <dje@google.com>
6868
6869 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6870 eax,etc. are live with values set by gdb and thus the compiler can't
6871 use them.
6872 * gdb.arch/i386-pseudo.c (main): Ditto.
6873
ee92b0dd
DE
68742014-08-27 Doug Evans <dje@google.com>
6875
6876 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6877
6649db35
DE
68782014-08-25 Doug Evans <dje@google.com>
6879
6880 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6881 (main): Ditto.
6882
564b7600
DE
68832014-08-25 Doug Evans <dje@google.com>
6884
6885 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6886
3881fb67
YQ
68872014-08-24 Yao Qi <yao@codesourcery.com>
6888
6889 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6890 symbol off.
6891 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6892
a05a36a5
DE
68932014-08-22 Doug Evans <dje@google.com>
6894
6895 PR 17276
6896 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6897 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6898 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6899
7c343b48
YQ
69002014-08-22 Yao Qi <yao@codesourcery.com>
6901
6902 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6903 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6904 * gdb.python/python.exp: Likewise. Use .py file on the host
6905 instead of the build.
6906
22fd09ae
JK
69072014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6908
6909 * gdb.threads/gcore-stale-thread.c: New file.
6910 * gdb.threads/gcore-stale-thread.exp: New file.
6911
a8454a7c
PA
69122014-08-21 Pedro Alves <palves@redhat.com>
6913
6914 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6915 * gdb.base/gcore-relro-pie.exp: Likewise.
6916 * gdb.base/gcore-relro.exp: Likewise.
6917 * gdb.base/gcore.exp: Likewise.
6918 * gdb.base/print-symbol-loading.exp: Likewise.
6919 * gdb.threads/gcore-thread.exp: Likewise.
6920 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6921
2a31c623
PA
69222014-08-20 Pedro Alves <palves@redhat.com>
6923 Jan Kratochvil <jan.kratochvil@redhat.com>
6924
6925 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6926 configure.
6927 (EXPECT): Handle READ1 being set.
6928 (all): Depend on EXTRA_RULES.
6929 (check-read1, expect-read1, read1.so, read1): New rules.
6930 * README (Testsuite Parameters): Document the READ1 make variable.
6931 (Race detection): New section.
6932 * configure: Regenerate.
6933 * configure.ac: If build==host==target, and running under a
6934 GNU/glibc system, add read1 to the extra Makefile rules.
6935 (EXTRA_RULES): AC_SUBST it.
6936 * lib/read1.c: New file.
6937
d36430db
JB
69382014-08-20 Joel Brobecker <brobecker@adacore.com>
6939
6940 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6941 the handling of variables declared as a typedef to an array
6942 which a DW_AT_data_location attribute.
6943
9a0dc9e3
PA
69442014-08-19 Andrew Burgess <aburgess@broadcom.com>
6945 Pedro Alves <palves@redhat.com>
6946
6947 PR symtab/14604
6948 PR symtab/14605
6949 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6950 gdb_test.
6951
0718a8da
PA
69522014-08-19 Pedro Alves <palves@redhat.com>
6953
6954 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6955
13b448cd
YQ
69562014-08-19 Yao Qi <yao@codesourcery.com>
6957
6958 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6959 right line.
6960
1cbf5077
DB
69612014-08-18 David Blaikie <dblaikie@gmail.com>
6962
6963 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6964
bf0fae19
JB
69652014-08-18 Joel Brobecker <brobecker@adacore.com>
6966
6967 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6968 attribute in array range.
6969
3c8c5dcc
JB
69702014-08-18 Joel Brobecker <brobecker@adacore.com>
6971
6972 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6973
e66d4446
SC
69742014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6975
6976 PR c++/17132
6977 * gdb.cp/pr17132.cc: New file.
6978 * gdb.cp/pr17132.exp: New file.
6979
940df408
SC
69802014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6981
6982 * gdb.python/py-xmethods.py (A_getarrayind)
6983 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6984 Use 'print' with function call syntax.
6985 (E_method_matcher.match): Fix tab vs space indentation mixup.
6986
ebcc6c3a
YQ
69872014-08-15 Yao Qi <yao@codesourcery.com>
6988
6989 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6990 false.
6991
775e0f04
YQ
69922014-08-15 Yao Qi <yao@codesourcery.com>
6993
6994 * gdb.cp/casts.exp: Set print symbol off.
6995 * gdb.cp/class2.exp: Likewise.
6996 * gdb.cp/overload.exp: Likewise.
6997 * gdb.cp/templates.exp: Likewise.
6998
d769e349
DE
69992014-08-11 Doug Evans <dje@google.com>
7000
7001 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
7002 (test_load_shlib): Update.
7003
20c6f1e1
YQ
70042014-08-09 Yao Qi <yao@codesourcery.com>
7005
7006 * gdb.base/display.exp: Invoke is_address_zero_readable.
7007 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
7008 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
7009 * gdb.base/hbreak-unmapped.exp: Return if
7010 is_address_zero_readable returns true.
7011 * gdb.base/signest.exp: Likewise.
7012 * gdb.base/signull.exp: Likewise.
7013 * gdb.base/sigbpt.exp: Likewise.
7014 * gdb.guile/scm-disasm.exp: Do the test if
7015 is_address_zero_readable returns false.
7016 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
7017 * gdb.python/py-arch.exp: Likewise.
7018 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
7019 * lib/gdb.exp (is_address_zero_readable): New proc.
7020
5792e8e3
YQ
70212014-08-09 Yao Qi <yao@codesourcery.com>
7022
7023 PR testsuite/13443
7024 * gdb.mi/mi-var-display.exp: Make test messages unique.
7025
3cecbbbe
TT
70262014-08-04 Tom Tromey <tromey@redhat.com>
7027
7028 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
7029 target 0".
7030
00b51ff5
TT
70312014-08-04 Tom Tromey <tromey@redhat.com>
7032
7033 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
7034 "target_resume".
7035
6908c509
JB
70362014-08-01 Joel Brobecker <brobecker@adacore.com>
7037
7038 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
7039 inner_vla_struct_object_size.
7040 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
7041 as xfail.
7042
cc6563d2
PA
70432014-07-30 Pedro Alves <palves@redhat.com>
7044
7045 * gdb.threads/signal-command-handle-nopass.exp (test): Add
7046 comment.
7047
7e09a223
YQ
70482014-07-29 Yao Qi <yao@codesourcery.com>
7049
7050 PR gdb/17206
7051 * gdb.base/until-nodebug.exp: New.
7052
7ebdbe92
DE
70532014-07-28 Doug Evans <xdje42@gmail.com>
7054
7055 PR guile/17203
7056 * gdb.guile/scm-parameter.exp: Add tests for trying to create
7057 previously existing parameter, and previously ambiguously spelled
7058 parameter.
7059
fdb1adc6
WN
70602014-07-28 Will Newton <will.newton@linaro.org>
7061
7062 * gdb.base/varargs.exp: Remove KFAILs for ARM.
7063
186fcde0
DE
70642014-07-26 Ludovic Courtès <ludo@gnu.org>
7065 Doug Evans <xdje42@gmail.com>
7066
7067 PR guile/17146
7068 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
7069
70509625
PA
70702014-07-25 Pedro Alves <palves@redhat.com>
7071
7072 * gdb.threads/signal-command-handle-nopass.c: New file.
7073 * gdb.threads/signal-command-handle-nopass.exp: New file.
7074 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
7075 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
7076 * gdb.threads/signal-delivered-right-thread.c: New file.
7077 * gdb.threads/signal-delivered-right-thread.exp: New file.
7078
c3f814a1
PA
70792014-07-25 Pedro Alves <palves@redhat.com>
7080
7081 * gdb.base/double-prompt-target-event-error.exp
7082 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
7083 match.
7084 (cancel_pagination_in_target_event): Rework double prompt
7085 detection.
7086 * gdb.base/paginate-after-ctrl-c-running.exp
7087 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
7088 <return>' match.
7089 * gdb.base/paginate-bg-execution.exp
7090 (test_bg_execution_pagination_return)
7091 (test_bg_execution_pagination_cancel): Remove '-notransfer
7092 <return>' matches.
7093 * gdb.base/paginate-execution-startup.exp
7094 (test_fg_execution_pagination_return)
7095 (test_fg_execution_pagination_cancel): Remove '-notransfer
7096 <return>' matches.
7097 * gdb.base/paginate-inferior-exit.exp
7098 (test_paginate_inferior_exited): Remove '-notransfer <return>'
7099 match.
7100 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
7101 * lib/gdb.exp (pagination_prompt): Run text through
7102 string_to_regexp.
7103 (gdb_test_multiple): Match $pagination_prompt instead of
7104 "<return>".
7105 (string_to_regexp): Move to lib/gdb-utils.exp.
7106
e214cf6c
JK
71072014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7108
7109 * gdb.arch/amd64-entry-value-paramref.S: New file.
7110 * gdb.arch/amd64-entry-value-paramref.cc: New file.
7111 * gdb.arch/amd64-entry-value-paramref.exp: New file.
7112 * gdb.arch/amd64-optimout-repeat.S: New file.
7113 * gdb.arch/amd64-optimout-repeat.c: New file.
7114 * gdb.arch/amd64-optimout-repeat.exp: New file.
7115
17d0c5c8
JK
71162014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7117
7118 PR gdb/17170
7119 * gdb.base/statistics.exp: New file.
7120
b8b8facf
DE
71212014-07-17 Doug Evans <dje@google.com>
7122
74b49205 7123 PR gdb/17170
b8b8facf
DE
7124 * gdb.base/maint.exp: Update testing of per-command stats.
7125
1b5d0ab3
PA
71262014-07-16 Pedro Alves <palves@redhat.com>
7127
7128 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
7129 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
7130 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
7131 (tfile_write_buf): New functions.
7132 (add_memory_block): Rewrite using the above.
7133 (adjust_function_address): New function.
7134 (FUNCTION_ADDRESS): New macro.
7135 (write_basic_trace_file): Remove short_x local, and use
7136 tfile_write_16. Change type of func_addr local to unsigned long
7137 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
7138 here. Cast argument of add_memory_block to char pointer.
7139 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
7140 (main): Remove parameters.
7141 * gdb.trace/tfile.exp: Remove nowarnings.
7142
4d974e88
SM
71432014-07-15 Simon Marchi <simon.marchi@ericsson.com>
7144
7145 * gdb.base/debug-expr.exp: Test string evaluation with
7146 "debug expression" on.
7147
41e99568
PA
71482014-07-15 Pedro Alves <palves@redhat.com>
7149
7150 * gdb.base/reread.exp: Use clean_restart.
7151
487d9753
PL
71522014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
7153
7154 * gdb.arch/avr-flash-qualifer.c: New.
7155 * gdb.arch/avr-flash-qualifer.exp: New.
7156
cc1c52ad
PA
71572014-07-14 Pedro Alves <palves@redhat.com>
7158
7159 * gdb.base/paginate-after-ctrl-c-running.c: New file.
7160 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
7161
1e973570
PA
71622014-07-14 Pedro Alves <palves@redhat.com>
7163
7164 * gdb.base/double-prompt-target-event-error.c: New file.
7165 * gdb.base/double-prompt-target-event-error.exp: New file.
7166
93d6eb10
PA
71672014-07-14 Pedro Alves <palves@redhat.com>
7168
7169 PR gdb/17072
7170 * gdb.base/paginate-inferior-exit.c: New file.
7171 * gdb.base/paginate-inferior-exit.exp: New file.
7172
0017922d
PA
71732014-07-14 Pedro Alves <palves@redhat.com>
7174
7175 PR gdb/17072
7176 * gdb.base/paginate-bg-execution.c: New file.
7177 * gdb.base/paginate-bg-execution.exp: New file.
7178
94696ad3
PA
71792014-07-14 Pedro Alves <palves@redhat.com>
7180
7181 PR gdb/17072
7182 * gdb.base/paginate-execution-startup.c: New file.
7183 * gdb.base/paginate-execution-startup.exp: New file.
7184 * lib/gdb.exp (pagination_prompt): New global.
7185 (default_gdb_spawn): New procedure, factored out from
7186 default_gdb_spawn.
7187 (default_gdb_start): Adjust to call default_gdb_spawn.
7188 (gdb_spawn): New procedure.
7189
bd293940
PA
71902014-07-14 Pedro Alves <palves@redhat.com>
7191
7192 * lib/gdb.exp (gdb_assert): New procedure.
7193 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
7194
c933f875
PA
71952014-07-14 Pedro Alves <palves@redhat.com>
7196
7197 * gdb.base/execution-termios.c: New file.
7198 * gdb.base/execution-termios.exp: New file.
7199
d98b7a16
TT
72002014-07-14 Tom Tromey <tromey@redhat.com>
7201
7202 * gdb.cp/vla-cxx.cc: New file.
7203 * gdb.cp/vla-cxx.exp: New file.
7204
548740d6
TT
72052014-07-14 Tom Tromey <tromey@redhat.com>
7206
7207 * gdb.reverse/rerun-prec.c: New file.
7208 * gdb.reverse/rerun-prec.exp: New file.
7209
a25eb028
MR
72102014-07-12 Maciej W. Rozycki <macro@mips.com>
7211 Maciej W. Rozycki <macro@codesourcery.com>
7212
7213 * lib/gdb-utils.exp: New file.
7214 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
7215 inline `gdb_init_command' processing.
7216 (gdb_start_cmd): Likewise.
7217 * lib/mi-support.exp (mi_run_cmd): Likewise.
7218 * README: Document `gdb_init_command' and `gdb_init_commands'.
7219
218c2655
JK
72202014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7221
7222 Fix false FAIL running under a very long directory name.
7223 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
7224 and "set print elements 10000". Twice.
7225
5401fde3
YQ
72262014-07-11 Yao Qi <yao@codesourcery.com>
7227
7228 * gdb.base/exprs.exp: "set print symbol off".
7229
e76126e8
PA
72302014-07-11 Pedro Alves <palves@redhat.com>
7231
7232 * gdb.threads/kill.c: New file.
7233 * gdb.threads/kill.exp: New file.
7234
2d6f0de6
YQ
72352014-07-10 Yao Qi <yao@codesourcery.com>
7236
7237 * gdb.trace/tfile.c (write_basic_trace_file)
7238 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7239 address written to trace file.
7240
7180e04a
PA
72412014-07-09 Pedro Alves <palves@redhat.com>
7242
7243 * gdb.base/attach-wait-input.exp: New file.
7244 * gdb.base/attach-wait-input.c: New file.
7245
9a9a7608
AB
72462014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7247
7248 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7249 setting up test structures.
7250 (main): Call new test function.
7251 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7252 test function, continue into test function and walk test
7253 structures.
7254
161ac41e
YQ
72552014-07-02 Yao Qi <yao@codesourcery.com>
7256
7257 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7258 'bar_start' at the beginning of functions 'foo' and 'bar'
7259 respectively.
7260 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7261 instead of 'foo' and 'bar'.
7262
1f267ae3
MM
72632014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7264
7265 * gdb.btrace/segv.exp: New.
7266 * gdb.btrace/segv.c: New.
7267
2b239efb
LM
72682014-07-02 Luis Machado <lgustavo@codesourcery.com>
7269
7270 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7271 instruction.
7272
cf363f18
MW
72732014-06-30 Mark Wielaard <mjw@redhat.com>
7274
7275 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7276 vulture, vilify, villar): New volatile array constants.
7277 (vindictive, vegetation): New const volatile array constants.
7278 * gdb.base/volatile.exp: Test volatile and const volatile array
7279 types.
7280
aebf9d24
AA
72812014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7282
7283 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7284 target lacks support for awatch, rwatch, or hbreak.
7285
b67a2c6f
YQ
72862014-06-27 Yao Qi <yao@codesourcery.com>
7287
7288 * gdb.multi/dummy-frame-restore.exp: New.
7289 * gdb.multi/dummy-frame-restore.c: New.
7290
aef92902
MM
72912014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7292
7293 * gdb.btrace/gcore.exp: New.
7294
8e9db26e
PA
72952014-06-23 Pedro Alves <palves@redhat.com>
7296
7297 * gdb.base/watchpoint-reuse-slot.c: New file.
7298 * gdb.base/watchpoint-reuse-slot.exp: New file.
7299
70afc5b7
SC
73002014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7301
7302 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7303 progspace's filename in 'info', 'enable' and 'disable' command
7304 tests.
7305
b972bd9c
JK
73062014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7307
7308 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7309 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7310 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7311
125f8a3d
GB
73122014-06-20 Gary Benson <gbenson@redhat.com>
7313
7314 * gdb.arch/i386-avx.exp: Fix include file location.
7315 * gdb.arch/i386-sse.exp: Likewise.
7316
3ed9baed
IB
73172014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7318
7319 * gdb.dlang/expression.exp: New file.
7320
034f788c
PA
73212014-06-19 Pedro Alves <palves@redhat.com>
7322
7323 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7324 out from ...
7325 (top level): ... here. Iterate running tests under different
7326 scheduler-locking settings.
7327
45371d0c
LM
73282014-06-18 Luis Machado <lgustavo@codesourcery.com>
7329
7330 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7331 to DW_FORM_addr and use non-zero addresses.
7332
5d376983
SC
73332014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7334
7335 PR gdb/17017
7336 * gdb.python/py-xmethods.cc: Add global function call counters and
7337 increment them in their respective functions. Remove "cout"
7338 statements.
7339 * gdb.python/py-xmethods.exp: Make tests check the global function
7340 call counters instead of depending on inferior IO.
7341
a1aa2221
LM
73422014-06-18 Don Breazeal <donb@codesourcery.com>
7343
7344 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7345 Deleted procedure.
7346 (explicit_fork_parent_follow): Deleted procedure.
7347 (explicit_fork_child_follow): Deleted procedure.
7348 (test_follow_fork): New procedure.
7349 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 7350 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
7351 procedure calls.
7352
0fc05997
YQ
73532014-06-17 Yao Qi <yao@codesourcery.com>
7354
7355 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7356 CP1252.
7357
70795c52
LM
73582014-06-17 Luis Machado <lgustavo@codesourcery.com>
7359
7360 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7361 Initialize ptr and S explicitly.
7362 (skip_type_update_when_not_use_rtti_test): Likewise.
7363
6be47f0c
KS
73642014-06-16 Keith Seitz <keiths@redhat.com>
7365
7366 PR mi/15863
7367 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7368 the inferior is started.
7369
d03de421
PA
73702014-06-16 Pedro Alves <palves@redhat.com>
7371
7372 * gdb.base/break-main-file-remove-fail.c: New file.
7373 * gdb.base/break-main-file-remove-fail.exp: New file.
7374 * gdb.base/break-unload-file.exp: Use build_executable instead of
7375 prepare_for_testing.
7376 (test_break): New parameter "initial_load". Handle it.
7377 (top level): Add initial_load cmdline/file axis.
7378
f9579b99
TT
73792014-06-12 Tom Tromey <tromey@redhat.com>
7380
7381 * gdb.base/completion.exp: Don't use directory name in test.
7382
3657956b
GB
73832014-06-09 Gary Benson <gbenson@redhat.com>
7384
7385 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7386 separate the always-available ANSI-standard signals from the
7387 signals that require checking.
7388 (main): Likewise.
7389 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7390 Likewise.
7391 (main): Likewise.
7392
4186eb54
KS
73932014-06-07 Keith Seitz <keiths@redhat.com>
7394
7395 Revert:
7396 PR c++/16253
7397 * gdb.cp/var-tag.cc: New file.
7398 * gdb.cp/var-tag.exp: New file.
7399 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7400 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7401 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7402 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7403
25326a28 74042014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
7405
7406 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7407
829155c9
PA
74082014-06-06 Pedro Alves <palves@redhat.com>
7409
7410 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7411 in target debug output instead of looking at RSP packets,
7412 disabling the test on any target that uses hardware stepping.
7413 Update comments.
7414
61c8d22e
PA
74152014-06-06 Pedro Alves <palves@redhat.com>
7416
7417 * gdb.base/break-unload-file.exp: Fix typo.
7418
d9a47287
YQ
74192014-06-06 Yao Qi <yao@codesourcery.com>
7420
7421 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7422 from "jit_function" to "^jit_function".
7423
e5e01dbf
YQ
74242014-06-06 Yao Qi <yao@codesourcery.com>
7425
7426 * gdb.base/async.c (foo): Add one statement.
7427 * gdb.base/async.exp: Get the next instruction address and
7428 match the output of "nexti" by instruction address. Match
7429 the hex address in the output of "finish".
7430
73ba372c
GB
74312014-06-06 Gary Benson <gbenson@redhat.com>
7432
7433 * gdb.base/call-signals.c: Remove preprocessor conditionals
7434 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7435 SIGSEGV and SIGTERM.
7436 * gdb.base/sigall.c: Likewise.
7437 * gdb.base/unwindonsignal.c: Likewise.
7438 * gdb.reverse/sigall-reverse.c: Likewise.
7439
831517df
YQ
74402014-06-06 Yao Qi <yao@codesourcery.com>
7441
7442 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7443 readable, skip the test.
7444
b8b91e98
YQ
74452014-06-06 Yao Qi <yao@codesourcery.com>
7446
7447 * gdb.threads/staticthreads.c (thread_function): Move the line
7448 setting breakpoint on forward.
7449 * gdb.threads/staticthreads.exp: Update comments.
7450
fb934770
LC
74512014-06-05 Ludovic Courtès <ludo@gnu.org>
7452
7453 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7454 "history-append! type error".
7455
6ef284bd
SM
74562014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7457
7458 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7459 erroneous dprintf expected input.
7460
a872e241
DE
74612014-06-04 Doug Evans <xdje42@gmail.com>
7462
7463 * gdb.guile/scm-generics.exp: Delete.
7464
16f691fb
DE
74652014-06-04 Doug Evans <xdje42@gmail.com>
7466
7467 * gdb.guile/scm-breakpoint.exp: Update.
7468 Add tests for breakpoint registration.
7469
012370f6
TT
74702014-06-04 Tom Tromey <tromey@redhat.com>
7471
7472 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7473 VLA-in-union.
7474 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7475 inner_vla_struct, vla_union types. Initialize objects of those
7476 types and compute their sizes.
7477
9f5a4cef
HZ
74782014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7479 Hui Zhu <hui@codesourcery.com>
7480
7481 * gdb.base/fileio.exp: Add test for shell not available as well as
7482 available.
7483 * gdb.base/fileio.c (test_system): Check for shell twice.
7484
90a45c4d
YQ
74852014-06-04 Yao Qi <yao@codesourcery.com>
7486
7487 * gdb.base/auto-connect-native-target.exp: Remove redundant
7488 space from the regexp pattern.
7489
70017e41
YQ
74902014-06-04 Yao Qi <yao@codesourcery.com>
7491
7492 * gdb.base/default.exp: Replace "child" with "native" in
7493 regexp pattern.
7494
883964a7
SC
74952014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7496
7497 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7498 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7499 * gdb.python/py-xmethods.py: Python script supporting the
7500 new testcase and tests.
7501
ef370185
JB
75022014-06-03 Joel Brobecker <brobecker@adacore.com>
7503 Pedro Alves <palves@redhat.com>
7504
7505 PR breakpoints/17000
7506 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7507 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7508
1e2ccb61
BM
75092014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7510
7511 * gdb.base/subst.exp: Add tests to verify partial path matching
7512 output.
7513
c6ec5ab2
PA
75142014-06-03 Pedro Alves <palves@redhat.com>
7515
7516 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7517 target that doesn't use software single-stepping.
7518
835c559f
PA
75192014-06-03 Pedro Alves <palves@redhat.com>
7520
7521 PR breakpoints/17000
7522 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7523 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7524
06eb1586
DE
75252014-06-02 Doug Evans <xdje42@gmail.com>
7526
7527 * gdb.guile/scm-parameter.exp: New file.
7528
e698b8c4
DE
75292014-06-02 Doug Evans <xdje42@gmail.com>
7530
7531 * gdb.guile/scm-cmd.c: New file.
7532 * gdb.guile/scm-cmd.exp: New file.
7533
ded03782
DE
75342014-06-02 Doug Evans <xdje42@gmail.com>
7535
7536 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7537 pretty-printer lookup.
7538 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7539 (make-pp_s-printer): Call it.
7540 (make-pretty-printer-from-dict): New function.
7541 (lookup-pretty-printer-maker-from-dict): New function.
7542 (*pretty-printer*): Simplify.
7543 (make-objfile-pp_s-printer): New function.
7544 (install-objfile-pretty-printers!): New function.
7545 (make-progspace-pp_s-printer): New function.
7546 (install-progspace-pretty-printers!): New function.
7547 * gdb.guile/scm-progspace.c: New file.
7548 * gdb.guile/scm-progspace.exp: New file.
7549
41fac0cf
PA
75502014-06-02 Pedro Alves <palves@redhat.com>
7551
7552 * gdb.base/dprintf-bp-same-addr.c: New file.
7553 * gdb.base/dprintf-bp-same-addr.exp: New file.
7554
96ae5695
EBM
75552014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7556
7557 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7558 * gdb.arch/powerpc-power.s: Likewise.
7559
da02b3a8
JB
75602014-06-02 Joel Brobecker <brobecker@adacore.com>
7561
7562 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7563
c72b2e7b
YQ
75642014-06-01 Yao Qi <yao@codesourcery.com>
7565
7566 * gdb.base/watchpoint.exp (test_watch_location): Check null
7567 pointer can be dereferenced. If not, do the test, otherwise
7568 skip it.
7569
53e8a631
AB
75702014-05-30 Andrew Burgess <aburgess@broadcom.com>
7571
7572 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7573 results.
7574 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7575
938f0e2f
AB
75762014-05-30 Andrew Burgess <aburgess@broadcom.com>
7577
7578 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7579 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7580 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7581 * gdb.arch/amd64-invalid-stack-top.c: New file.
7582 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7583
9ba6657a
PA
75842014-05-30 Pedro Alves <palves@redhat.com>
7585
7586 PR breakpoints/17000
7587 * gdb.base/sss-bp-on-user-bp.c: New file.
7588 * gdb.base/sss-bp-on-user-bp.exp: New file.
7589
522c09bf
DB
75902014-05-30 David Blaikie <dblaikie@gmail.com>
7591
7592 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7593 gnu_inline semantics via attribute.
7594 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7595 source explicitly specifies the required semantics.
7596
bf4ef81e
MR
75972014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7598
7599 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7600
329ea579
PA
76012014-05-29 Pedro Alves <palves@redhat.com>
7602 Tom Tromey <tromey@redhat.com>
7603
7604 * gdb.base/async-shell.exp: Don't enable target-async.
7605 * gdb.base/async.exp
7606 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7607 parameter. Adjust.
7608 (top level): Don't test with "target-async".
7609 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7610 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7611 * gdb.base/inferior-died.exp: Don't enable target-async.
7612 * gdb.base/interrupt-noterm.exp: Likewise.
7613 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7614 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7615 * gdb.mi/mi-nonstop.exp: Likewise.
7616 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7617 * gdb.mi/mi-nsintrall.exp: Likewise.
7618 * gdb.mi/mi-nsmoribund.exp: Likewise.
7619 * gdb.mi/mi-nsthrexec.exp: Likewise.
7620 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7621 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7622 * gdb.python/py-evsignal.exp: Don't enable target-async.
7623 * gdb.python/py-evthreads.exp: Likewise.
7624 * gdb.python/py-prompt.exp: Likewise.
7625 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7626 * gdb.server/solib-list.exp: Don't enable target-async.
7627 * gdb.threads/thread-specific-bp.exp: Likewise.
7628 * lib/mi-support.exp: Adjust to use mi-async.
7629
fd664c91
PA
76302014-05-29 Pedro Alves <palves@redhat.com>
7631
7632 PR gdb/13860
7633 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7634 reason, even in sync mode.
7635
251bde03
PA
76362014-05-29 Pedro Alves <palves@redhat.com>
7637 Hui Zhu <hui@codesourcery.com>
7638
7639 PR PR15693
7640 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7641 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7642 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7643 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7644
7f3c0343
JB
76452014-05-28 Joel Brobecker <brobecker@adacore.com>
7646
7647 * config/monitor.exp (gdb_target_monitor): Replace use of
7648 "set remotebaud" by "set serial baud".
7649
b2715b27
AW
76502014-05-26 Andy Wingo <wingo@igalia.com>
7651
7652 * gdb.guile/scm-breakpoint.exp:
7653 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7654 properties instead of gdb-object-properties.
7655
498a4489
YQ
76562014-05-26 Yao Qi <yao@codesourcery.com>
7657
7658 * gdb.server/no-thread-db.exp: Specify source file name
7659 explicitly when setting a breakpoint.
7660
589fdceb
MM
76612014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7662
7663 * gdb.btrace/vdso.c: New.
7664 * gdb.btrace/vdso.exp: New.
7665
e9089e05
MM
76662014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7667
7668 * gdb.base/gcore.exp (capture_command_output): Move ...
7669 * lib/gdb.exp (capture_command_output): ... here.
7670
67b5c0c1
MM
76712014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7672
7673 * gdb.btrace/data.exp: Test memory access during btrace replay.
7674
a2199296
SM
76752014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7676
7677 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7678
17b2616c
PA
76792014-05-21 Pedro Alves <palves@redhat.com>
7680
7681 PR gdb/13860
7682 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7683 (top level): Test that output related to execution commands is
7684 sent to the console with CLI commands, but not with MI commands.
7685 Test that breakpoint events are always mirrored to the console.
7686 Also expect the new source line to be output after a "next" in
7687 async mode too. Make it a pass/fail test.
7688 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7689 output.
7690 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7691
5166082f
PA
76922014-05-21 Pedro Alves <palves@redhat.com>
7693
7694 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7695 Use them to test variations of "list" after reaching a breakpoint.
7696 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7697 Test "list" with listsize 10 after reaching a breakpoint.
7698 * gdb.python/python.exp (decode_line current location line
7699 number): Adjust expected line number.
7700
2f25d70f
SM
77012014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7702
7703 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7704 behavior for $args, pass it directly to "run".
7705
ff604a67
MR
77062014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7707
7708 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7709 30000 to 65536.
7710
6a3cb8e8
PA
77112014-05-21 Pedro Alves <palves@redhat.com>
7712
7713 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7714 auto-connect-native-target off".
7715 * gdb.base/auto-connect-native-target.c: New file.
7716 * gdb.base/auto-connect-native-target.exp: New file.
7717
4ebfc96e
PA
77182014-05-21 Pedro Alves <palves@redhat.com>
7719
7720 * gdb.base/default.exp: Test "target native" instead of "target
7721 child".
7722
36d46afb
MW
77232014-05-21 Mark Wielaard <mjw@redhat.com>
7724
7725 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7726
5876f503
JK
77272014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7728
7729 Fix TLS access for -static -pthread.
7730 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7731 <HAVE_TLS> (thread_function, main): Initialize it.
7732 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7733 Add clean_restart.
7734 <$have_tls != "">: Check TLSVAR.
7735
0256a6ac
PA
77362014-05-21 Pedro Alves <palves@redhat.com>
7737
7738 * gdb.base/dcache-line-read-error.c: New.
7739 * gdb.base/dcache-line-read-error.exp: New.
7740
936d2992
PA
77412014-05-20 Pedro Alves <palves@redhat.com>
7742
7743 * gdb.base/compare-sections.c: New file.
7744 * gdb.base/compare-sections.exp: New file.
7745
802e8e6d
PA
77462014-05-20 Pedro Alves <palves@redhat.com>
7747
7748 * gdb.base/break-idempotent.c: New file.
7749 * gdb.base/break-idempotent.exp: New file.
7750
e59fa00f
MM
77512014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7752
7753 * gdb.btrace/nohist.exp: New.
7754
8b696e31
YQ
77552014-05-20 Yao Qi <yao@codesourcery.com>
7756
7757 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7758 gdb.reverse directory and gdb_reverse_timeout exists in board
7759 setting.
7760 * README: Document gdb_reverse_timeout.
7761
73c9764f
YQ
77622014-05-20 Yao Qi <yao@codesourcery.com>
7763
7764 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7765 'test_file_name'. Treat args as a string instead of a list.
7766 (gdb_init): Rename argument 'args' by 'test_file_name'.
7767
f1f4348a
JK
77682014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7769
7770 * gdb.arch/powerpc-power.exp: New file.
7771 * gdb.arch/powerpc-power.s: New file.
7772
0dbe70ce
DE
77732014-05-16 Doug Evans <dje@google.com>
7774
7775 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
7776 * gdb.base/completion.exp: Check that all expected files exist
7777 before doing file completion.
0dbe70ce 7778
8d551b02
DE
77792014-05-16 Doug Evans <dje@google.com>
7780
7781 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7782 Update.
7783 (do_syscall_tests_without_xml): Update.
7784
73eb7709
PA
77852014-05-16 Pedro Alves <palves@redhat.com>
7786
7787 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7788 instead of "unknown output after running".
7789
3fae92fc
YQ
77902014-05-16 Yao Qi <yao@codesourcery.com>
7791
7792 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7793 file1.txt from host at the end.
7794 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7795
c2b2ccc5
DE
77962014-05-15 Doug Evans <dje@google.com>
7797
7798 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7799 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7800 loading file. Add test for TU lookup.
7801
8c217a4b
SM
78022014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7803
7804 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7805 calling "-exec-arguments" or "set args" before running the
7806 inferior.
7807
3deb39c6
SM
78082014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7809
7810 * lib/mi-support.exp (mi_expect_stop): Expect message for
7811 inferiors that exit with non-zero exit code.
7812
71a79f8c
YQ
78132014-05-14 Yao Qi <yao@codesourcery.com>
7814
7815 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7816 match absolute path on remote host.
7817 (test_file_list_exec_source_files): Remove "/" from the
7818 pattern.
7819
f23fcd46
YQ
78202014-05-14 Yao Qi <yao@codesourcery.com>
7821
7822 * boards/local-remote-host-notty.exp (${board}_file): New
7823 proc.
7824
9404b58f
KM
78252014-05-07 Kyle McMartin <kyle@redhat.com>
7826
7827 Pushed by Joel Brobecker <brobecker@adacore.com>.
7828 * gdb.arch/aarch64-atomic-inst.c: New file.
7829 * gdb.arch/aarch64-atomic-inst.exp: New file.
7830
5e45f04c
YQ
78312014-05-07 Yao Qi <yao@codesourcery.com>
7832
7833 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7834 in current context" too.
7835
c888a17d
KS
78362014-05-05 Keith Seitz <keiths@redhat.com>
7837
7838 * gdb.linespec/ls-dollar.exp: Add test for linespec
7839 file:convenience_variable.
7840
290a839c
YQ
78412014-05-05 Yao Qi <yao@codesourcery.com>
7842
7843 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7844 traceframes into tfile and ctf trace files. Read data from
7845 trace file and test collected data.
7846 (gdb_collect_locals_test): Likewise.
7847 (gdb_unavailable_registers_test): Likewise.
7848 (gdb_unavailable_floats): Likewise.
7849 (gdb_collect_globals_test): Likewise.
7850 (top-level): Append "ctf" to trace_file_targets if GDB
7851 supports.
7852
b5262cd0
YQ
78532014-05-05 Yao Qi <yao@codesourcery.com>
7854
7855 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7856 code to ...
7857 (gdb_collect_args_test_1): ... it. New proc.
7858 (gdb_collect_locals_test): Move some code to ...
7859 (gdb_collect_locals_test_1): ... it. New proc.
7860 (gdb_unavailable_registers_test): Move some code to ...
7861 (gdb_unavailable_registers_test_1): ... it. New proc.
7862 (gdb_unavailable_floats): Move some code to ...
7863 (gdb_unavailable_floats_1): ... it. New proc.
7864
30a1e6cc
SDJ
78652014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7866
7867 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7868 probes to test for bitness recognition.
7869 * gdb.arch/amd64-stap-optional-prefix.exp
7870 (test_probe_value_without_reg): New procedure.
7871 Add code to test for different kinds of bitness.
7872
f33da99a
SDJ
78732014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7874
7875 PR breakpoints/16889
7876 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7877 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7878
5b80f00d
PA
78792014-05-01 Pedro Alves <palves@redhat.com>
7880
7881 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7882 gdb_file_cmd if no file is specified.
7883 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7884 last_loaded_file to set the remote exec-file.
7885
f8c2a73c
PA
78862014-05-01 Pedro Alves <palves@redhat.com>
7887
7888 * boards/local-remote-host.exp: New file.
7889
be6e8ac7
PA
78902014-05-01 Pedro Alves <palves@redhat.com>
7891
7892 * boards/local-remote-host.exp: Rename to ...
7893 * boards/local-remote-host-notty.exp: ... this.
7894
cac0dc8f
JB
78952014-04-28 Joel Brobecker <brobecker@adacore.com>
7896
7897 * gdb.ada/dyn_arrayidx: New testcase.
7898
9730e6cc
YQ
78992014-04-26 Yao Qi <yao@codesourcery.com>
7900
7901 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7902 and compute the length of function main. Save it in
7903 $main_length.
7904 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7905 (top-level): Use gdb_compile to compile objects into
7906 executable and restart GDB. Remove invocation to
7907 prepare_for_testing.
7908
7ae1a6a6
PA
79092014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7910 Pedro Alves <palves@redhat.com>
7911
7912 PR server/16255
7913 * gdb.multi/multi-attach.c: New file.
7914 * gdb.multi/multi-attach.exp: New file.
7915
4082afcc
PA
79162014-04-25 Pedro Alves <palves@redhat.com>
7917
7918 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7919 user.
7920 (top level): Test that "set remote conditional-breakpoints-packet
7921 off" works as intended.
7922 * gdb.base/dprintf.exp: Test that "set remote
7923 breakpoint-commands-packet off" works as intended.
7924 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7925 New function.
7926 (top level): Call it.
7927 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7928 remote fast-tracepoints-packet off" works as intended.
7929 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7930 * lib/gdb.exp (gdb_is_target_remote): ... here.
7931
2abc3f8d
DB
79322014-04-24 David Blaikie <dblaikie@gmail.com>
7933
7934 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7935 ensure clang would not discard them.
7936 * gdb.base/gdbvars.c: Ditto.
7937 * gdb.base/memattr.c: Ditto.
7938 * gdb.base/whatis.c: Ditto.
7939 * gdb.python/py-prettyprint.c: Ditto.
7940 * gdb.trace/actions.c: Ditto.
7941 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7942 ensure clang would not discard it.
7943
bfd39632
DB
79442014-04-24 David Blaikie <dblaikie@gmail.com>
7945
7946 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7947 clang to emit the full definition of type required by the test
7948 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7949
22842ff6
DB
79502014-04-24 David Blaikie <dblaikie@gmail.com>
7951
7952 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7953 coax Clang into emitting the definition of the type.
7954 * gdb.cp/pr10728-x.h (y): Ditto.
7955 * gdb.cp/pr10728-y.cc (y): Ditto.
7956
c2e827ad
DB
79572014-04-24 David Blaikie <dblaikie@gmail.com>
7958
7959 * gdb.base/label.exp: XFAIL label related tests under Clang.
7960 * gdb.cp/cplabel.exp: Ditto.
7961 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7962 under Clang those using labels.
7963
4c2d33e7
YQ
79642014-04-25 Yao Qi <yao@codesourcery.com>
7965
7966 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7967 double_label.
7968 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7969 partial_label and double_label.
7970
56083b99
DB
79712014-04-24 David Blaikie <dblaikie@gmail.com>
7972
7973 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7974
25d4e99d
DB
79752014-04-24 David Blaikie <dblaikie@gmail.com>
7976
7977 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7978 of the function to work across GCC and Clang.
7979 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7980 pointer types (const void ** const V void **).
7981
01f9f808
MS
79822014-04-24 Michael Sturm <michael.sturm@mintel.com>
7983 Walfred Tedeschi <walfred.tedeschi@intel.com>
7984
7985 * Makefile.in (EXECUTABLES): Added i386-avx512.
7986 * gdb.arch/i386-avx512.c: New file.
7987 * gdb.arch/i386-avx512.exp: Likewise.
7988
4b48d439
KS
79892014-04-23 Keith Seitz <keiths@redhat.com>
7990
7991 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7992 (mi_make_breakpoint_table): New procedure.
7993 (mi_create_breakpoint): Use mi_make_breakpoint
7994 and return the result.
7995 (mi_make_breakpoint): New procedure.
7996 (mi_build_kv_pairs): New procedure.
7997
7998 * gdb.mi/mi-break.exp: Remove unused globals,
7999 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
8000 All callers updated.
8001 * gdb.mi/mi-dprintf.exp: Use variable to track command
8002 number.
8003 Update all callers of mi_create_breakpoint and use
8004 mi_make_breakpoint_table.
8005 Remove any unused global variables.
8006 * gdb.mi/mi-nonstop.exp: Likewise.
8007 * gdb.mi/mi-nsintrall.exp: Likewise.
8008 * gdb.mi/mi-nsmoribund.exp: Likewise.
8009 * gdb.mi/mi-nsthrexec.exp: Likewise.
8010 * gdb.mi/mi-reverse.exp: Likewise.
8011 * gdb.mi/mi-simplerun.exp: Likewise.
8012 * gdb.mi/mi-stepn.exp: Likewise.
8013 * gdb.mi/mi-syn-frame.exp: Likewise.
8014 * gdb.mi/mi-until.exp: Likewise.
8015 * gdb.mi/mi-var-cp.exp: Likewise.
8016 * gdb.mi/mi-var-display.exp: Likewise.
8017 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
8018 * gdb.mi/mi2-var-child.exp: Likewise.
8019 * gdb.mi/mi-vla-c99.exp: Likewise.
8020 * lib/mi-support.exp: Likewise.
8021
8022 From Ian Lance Taylor <iant@cygnus.com>:
8023 * lib/gdb.exp (parse_args): New procedure.
8024
08351840
PA
80252014-04-23 Pedro Alves <palves@redhat.com>
8026
8027 * gdb.base/break-unload-file.c: New file.
8028 * gdb.base/break-unload-file.exp: New file.
8029 * gdb.base/sym-file-lib.c (baz): New function.
8030 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
8031 field.
8032 (load): Store the segment's mapped size.
8033 (unload): New function.
8034 (unload_shlib): New function.
8035 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
8036 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
8037 set a breakpoint at baz, and call it.
8038 * gdb.base/sym-file.exp: New tests for stale breakpoint
8039 instructions.
8040
076855f9
PA
80412014-04-23 Pedro Alves <palves@redhat.com>
8042
8043 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
8044 * gdb.base/hbreak-in-shr-unsupported.c: New file.
8045 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
8046 * gdb.base/hbreak-unmapped.c: New file.
8047 * gdb.base/hbreak-unmapped.exp: New file.
8048 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
8049 * lib/gdb.exp (gdb_is_target_remote): ... here.
8050
483805cf
PA
80512014-04-22 Pedro Alves <palves@redhat.com>
8052
8053 * gdb.base/consecutive-step-over.c: New file.
8054 * gdb.base/consecutive-step-over.exp: New file.
8055
06d97543
PA
80562014-04-22 Pedro Alves <palves@redhat.com>
8057
8058 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
8059 instead of send_gdb/gdb_expect.
8060
b4429ea2
YQ
80612014-04-22 Yao Qi <yao@codesourcery.com>
8062
8063 * lib/trace-support.exp (generate_tracefile): New procedure.
8064 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
8065 return 0.
8066 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
8067 if generate_tracefile returns 1.
8068
51d48146
PA
80692014-04-18 Tom Tromey <palves@redhat.com>
8070 Pedro alves <tromey@redhat.com>
8071
8072 PR backtrace/15558
8073 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
8074 with a backtrace limit.
8075 * gdb.python/py-frame-inline.exp: Test running to an inline
8076 function with a backtrace limit, and printing the newest frame.
8077 * gdb.python/py-frame-inline.c (main): Call f.
8078
bd1dce5f
MS
80792014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8080
8081 * gdb.java/jnpe.exp: Drop srcdir from untested path.
8082
40d1a503
MS
80832014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8084
8085 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
8086 Drop prefix from unsupported source file path.
8087
389b98f7
YQ
80882014-04-17 Yao Qi <yao@codesourcery.com>
8089
8090 * lib/gdb.exp (with_target_charset): New proc.
8091 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
8092 with_target_charset.
8093 (test_print_strings): Likewise.
8094 (test_repeat_bytes): Likewise.
8095 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
8096 for some tests.
8097
22869d73
KS
80982014-04-16 Keith Seitz <keiths@redhat.com>
8099
8100 PR gdb/15827
8101 * gdb.dwarf2/corrupt.c: New file.
8102 * gdb.dwarf2/corrupt.exp: New file.
8103
c4f87ca6
KS
81042014-04-16 Keith Seitz <keiths@redhat.com>
8105
8106 PR c++/16597
8107 * gdb.cp/namelessclass.cc: New file.
8108 * gdb.cp/namelessclass.exp: New file.
8109 * gdb.cp/namelessclass.S: New file.
8110
ab19de87
DE
81112014-04-16 Doug Evans <dje@google.com>
8112
8113 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
8114 Add comment.
8115 (gdbserver_default_get_comm_port): New function.
8116 (gdbserver_start): Check if board file provided
8117 "gdbserver,get_comm_port" and use it if so.
8118 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
8119 (gdb,socketport): Set to "stdio".
8120 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
8121 (stdio_gdbserver_template): Delete.
8122 (${board}_get_remote_address): Update.
8123 (${board}_build_remote_cmd): Delete.
8124 (${board}_get_comm_port): New function.
8125 (${board}_spawn): Update.
8126 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
8127 Delete.
8128 (${board}_get_remote_address): Update.
8129 (${board}_get_comm_port): New function.
8130
fc98a809
AB
81312014-04-16 Andrew Burgess <aburgess@broadcom.com>
8132
8133 * gdb.base/memattr.exp: Improve regexps to handle memory regions
8134 appearing in any order.
8135
87fd9e6e
DE
81362014-04-15 Doug Evans <dje@google.com>
8137
8138 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
8139 uninitialized value of "description".
8140
099fc3ea
KS
81412014-04-15 Keith Seitz <keiths@redhat.com>
8142
8143 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
8144 Remove unused globals.
8145 (test_running_the_program): Likewise.
8146 (test_controlled_execution): Likewise.
8147 (test_controlling_breakpoints): Likewise.
8148 (test_program_termination): Likewise.
8149
5da151d4
KS
81502014-04-15 Keith Seitz <keiths@redhat.com>
8151
8152 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
8153 unused globals.
8154 (test_rbreak_creation_and_listing): Likewise.
8155 (test_ignore_count): Likewise.
8156 (test_error): Likewise.
8157
35e5d2f0
PA
81582014-04-15 Pedro Alves <palves@redhat.com>
8159
8160 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
8161 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
8162 sym-file-loader.c.
8163 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8164 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8165 to sym-file-loader.c.
8166 (struct library): Forward declare.
8167 (load_shlib, lookup_function): Change prototypes.
8168 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8169 (translate_offset): Remove declarations.
8170 (get_text_addr): New declaration.
8171 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
8172 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
8173 sym-file-loader.h.
8174 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8175 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8176 here from sym-file-loader.h.
8177 (struct library): New structure.
8178 (load_shlib, lookup_function): Change prototypes and adjust to
8179 work with a struct library.
8180 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8181 (translate_offset): Make static.
8182 (get_text_addr): New function.
8183 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
8184
eb4c1710
PA
81852014-04-15 Pedro Alves <palves@redhat.com>
8186
8187 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
8188
2d1baf52
PA
81892014-04-15 Pedro Alves <palves@redhat.com>
8190
8191 * gdb.base/sym-file-loader.c: Include <limits.h>.
8192 (SELF_LINK): New define.
8193 (get_origin): New function.
8194 (load_shlib): Use it.
8195 * gdb.base/sym-file.exp: Don't early return if the target is
8196 remote. Use runto_main, and issue fail is that fails. Use
8197 gdb_load_shlibs.
8198 (shlib_name): Delete.
8199 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
8200
7dd6df01
PA
82012014-04-15 Pedro Alves <palves@redhat.com>
8202
8203 * gdb.base/sym-file.exp: Remove regex characters from test
8204 message. Don't refer to breakpoint numbers in test messages.
8205
b50c8614
KS
82062014-04-14 Keith Seitz <keiths@redhat.com>
8207
8208 PR c++/16253
8209 * gdb.cp/var-tag.cc: New file.
8210 * gdb.cp/var-tag.exp: New file.
8211 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8212 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8213 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8214 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8215
3d567982
TT
82162014-04-14 Tom Tromey <tromey@redhat.com>
8217
8218 * gdb.cp/classes.exp (test_enums): Handle underlying type.
8219 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
8220 type.
8221 * gdb.cp/enum-class.exp: New file.
8222 * gdb.cp/enum-class.cc: New file.
8223
0626fc76
TT
82242014-04-14 Tom Tromey <tromey@redhat.com>
8225
8226 * gdb.dwarf2/enum-type.exp: New file.
8227
dca325b3
SA
82282014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8229
8230 * gdb.mi/mi-vla-c99.exp: New file.
8231 * gdb.mi/vla.c: New file.
8232
5854b38a
SA
82332014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8234
8235 * gdb.base/vla-datatypes.c: New file.
8236 * gdb.base/vla-datatypes.exp: New file.
8237
463bb957
SA
82382014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8239
8240 * gdb.base/vla-ptr.c: New file.
8241 * gdb.base/vla-ptr.exp: New file.
8242
3dd170be
SA
82432014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8244
8245 * gdb.dwarf2/count.exp: New file.
8246
5ecaaa66
SA
82472014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8248
8249 * gdb.base/vla-sideeffect.c: New file.
8250 * gdb.base/vla-sideeffect.exp: New file.
8251
41f1ada5
DB
82522014-04-14 David Blaikie <dblaikie@gmail.com>
8253
8254 * gdb.mi/non-stop.c: Add return value for non-void function return
8255 statement.
8256 * gdb.threads/staticthreads.c: Ditto.
8257
0be03e84
DE
82582014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8259 Doug Evans <xdje42@gmail.com>
8260
8261 * gdb.guile/scm-value.c: Improve test case.
8262 * gdb.guile/scm-value.exp: Add new test.
8263
f180a1fb
DB
82642014-04-11 David Blaikie <dblaikie@gmail.com>
8265
8266 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8267 override Clang's default.
8268
6b662e19
JB
82692014-04-11 Joel Brobecker <brobecker@adacore.com>
8270
8271 Revert the following changes (regressions):
8272
8273 * gdb.base/vla-sideeffect.c: New file.
8274 * gdb.base/vla-sideeffect.exp: New file.
8275
8276 * gdb.dwarf2/count.exp: New file.
8277
8278 * gdb.base/vla-multi.c: New file.
8279 * gdb.base/vla-multi.exp: New file.
8280
8281 * gdb.base/vla-ptr.c: New file.
8282 * gdb.base/vla-ptr.exp: New file.
8283
8284 * gdb.base/vla-datatypes.c: New file.
8285 * gdb.base/vla-datatypes.exp: New file.
8286
8287 * gdb.mi/mi-vla-c99.exp: New file.
8288 * gdb.mi/vla.c: New file.
8289
245a5f0b
KS
82902014-04-11 Keith Seitz <keiths@redhat.com>
8291
8292 PR c++/16675
8293 * gdb.cp/cpsizeof.exp: New file.
8294 * gdb.cp/cpsizeof.cc: New file.
8295
58a84dcf
SA
82962014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8297
191a8a90
JB
8298 * gdb.mi/mi-vla-c99.exp: New file.
8299 * gdb.mi/vla.c: New file.
58a84dcf 8300
c8655f75
SA
83012014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8302
8303 * gdb.base/vla-datatypes.c: New file.
8304 * gdb.base/vla-datatypes.exp: New file.
8305
024e13b4
SA
83062014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8307
8308 * gdb.base/vla-ptr.c: New file.
8309 * gdb.base/vla-ptr.exp: New file.
8310
1a237e0e
SA
83112014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8312
8313 * gdb.base/vla-multi.c: New file.
8314 * gdb.base/vla-multi.exp: New file.
8315
504f3432
SA
83162014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8317
8318 * gdb.dwarf2/count.exp: New file.
8319
3bce8237
SA
83202014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8321
191a8a90
JB
8322 * gdb.base/vla-sideeffect.c: New file.
8323 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 8324
322f9c21
YQ
83252014-04-11 Yao Qi <yao@codesourcery.com>
8326
8327 * gdb.base/completion.exp: Check file exists before running tests
8328 on file completion.
8329
d708bcd1
PA
83302014-04-10 Pedro Alves <palves@redhat.com>
8331
8332 * gdb.base/cond-eval-mode.c: New file.
8333 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8334 prepare_for_testing to build the new file. Check result of
8335 runto_main.
8336 (test_break, test_watch): New procedures.
8337 (top level): Use them.
8338
ae1d2761
PM
83392014-04-08 Pierre Muller <muller@sourceware.org>
8340
8341 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8342 Ctrl-V use for mingw hosts.
8343
7af389b8
SC
83442014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8345
8346 * gdb.python/py-value.c: Improve test case.
8347 * gdb.python/py-value.exp: Add new test.
8348
5e703181
DE
83492014-04-07 David Blaikie <dblaikie@gmail.com>
8350
8351 * lib/compiler.c: Identify the clang compiler.
8352 * lib/compiler.cc: Ditto.
8353
9810b410
YQ
83542014-04-03 Yao Qi <yao@codesourcery.com>
8355
8356 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8357
98d1b8dc
AB
83582014-04-01 Anton Blanchard <anton@samba.org>
8359
8360 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8361 messages unique.
8362
3114cea1
AB
83632014-04-01 Anton Blanchard <anton@samba.org>
8364
8365 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8366 prepare_for_testing.
8367
62f7182c
AB
83682014-04-01 Anton Blanchard <anton@samba.org>
8369
8370 * gdb.arch/ppc64-atomic-inst.c: Remove.
8371 * gdb.arch/ppc64-atomic-inst.S: New file.
8372 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8373
770e7fc7
DE
83742014-03-31 Doug Evans <dje@google.com>
8375
8376 * gdb.base/print-symbol-loading-lib.c: New file.
8377 * gdb.base/print-symbol-loading-main.c: New file.
8378 * gdb.base/print-symbol-loading.exp: New file.
8379
46e2bafa
YQ
83802014-03-31 Yao Qi <yao@codesourcery.com>
8381
8382 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8383
8776cfe9
JB
83842014-03-28 Joel Brobecker <brobecker@adacore.com>
8385
8386 * gdb.ada/mi_dyn_arr: New testcase.
8387
5d1ef361
DE
83882014-03-27 Doug Evans <dje@google.com>
8389
8390 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8391
b5bee914
YQ
83922014-03-27 Yao Qi <yao@codesourcery.com>
8393
8394 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8395 if target is nios2-*-*.
8396
0d4d0e77
YQ
83972014-03-26 Yao Qi <yao@codesourcery.com>
8398
8399 * lib/gdb.exp (readline_is_used): New proc.
8400 * gdb.base/completion.exp: Move tests on command complete up.
8401 Skip the rest of tests if readline is not used.
8402 * gdb.ada/complete.exp: Skp the test if readline is not
8403 used.
8404 * gdb.base/filesym.exp: Likewise.
8405 * gdb.base/macscp.exp: Likewise.
8406 * gdb.base/readline-ask.exp: Likewise.
8407 * gdb.base/readline.exp: Likewise.
8408 * gdb.python/py-cmd.exp: Likewise.
8409 * gdb.trace/tfile.exp: Likewise.
8410
29361eee
YQ
84112014-03-26 Yao Qi <yao@codesourcery.com>
8412
8413 * gdb.base/macscp.exp: Fix code format issues.
8414
bc9a5525
UW
84152014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8416
8417 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8418 * gdb.asm/powerpc64le.inc: New file.
8419
d3839ede
PA
84202014-03-25 Pedro Alves <palves@redhat.com>
8421 Doug Evans <dje@google.com>
8422
8423 * gdb.base/source-execution.c: New file.
8424 * gdb.base/source-execution.exp: New file.
8425 * gdb.base/source-execution.gdb: New file.
8426
01672a57
DE
84272014-03-24 Doug Evans <dje@google.com>
8428
8429 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8430 using fission.
8431
88bbeca9
HZ
84322014-03-24 Hui Zhu <hui@codesourcery.com>
8433 Pedro Alves <palves@redhat.com>
8434
8435 PR breakpoints/16101
8436 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8437 test pass/fail messages. Detect missing support for dprintf when
8438 breakpoints are actually inserted.
8439 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8440 breakpoints are actually inserted.
8441 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8442 fails.
8443
d2348791
JK
84442014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8445
8446 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8447
feef67ab
DE
84482014-03-22 Doug Evans <xdje42@gmail.com>
8449
8450 * gdb.python/python.exp (python not supported): Verify multi-line
8451 python command issues an error.
25d743f9 8452 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 8453 guile command issues an error.
feef67ab 8454
ecebef6a
MR
84552014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8456
8457 * gdb.threads/thread-specific.exp: Handle the lack of usable
8458 $this_breakpoint and $this_thread.
8459
ccdd1909
HZ
84602014-03-21 Hui Zhu <hui@codesourcery.com>
8461
8462 * gdb.base/attach.exp (do_command_attach_tests): New.
8463
beb460e8
PA
84642014-03-20 Tom Tromey <tromey@redhat.com>
8465 Pedro Alves <palves@redhat.com>
8466
8467 PR cli/15718
8468 * gdb.base/condbreak-call-false.c: New file.
8469 * gdb.base/condbreak-call-false.exp: New file.
8470
40acf43a
PA
84712014-03-20 Pedro Alves <palves@redhat.com>
8472
8473 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8474 Delete.
8475 (block_signals, unblock_signals): Delete.
8476 (child_function_2, main): Remove references to deleted variable
8477 and functions.
8478
9f5e1e02
PA
84792014-03-20 Pedro Alves <palves@redhat.com>
8480
8481 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8482 Use pthread_kill to signal thread 2.
8483 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8484 Adjust to make the test send itself a signal rather than using the
8485 host's "kill" command.
8486
99619bea
PA
84872014-03-20 Pedro Alves <palves@redhat.com>
8488
8489 * gdb.threads/multiple-step-overs.c: New file.
8490 * gdb.threads/multiple-step-overs.exp: New file.
8491 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8492 Adjust expected infrun debug output.
8493
2adfaa28
PA
84942014-03-20 Pedro Alves <palves@redhat.com>
8495
8496 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8497 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8498
31e77af2
PA
84992014-03-20 Pedro Alves <palves@redhat.com>
8500
8501 PR breakpoints/7143
8502 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8503 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8504 of gdb_test_multiple.
8505 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8506 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8507
b9f437de
PA
85082014-03-20 Pedro Alves <palves@redhat.com>
8509
8510 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8511 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8512
05adc73e
PA
85132014-03-19 Pedro Alves <palves@redhat.com>
8514
8515 * gdb.base/async.exp: Remove early return.
8516
6048b950
PA
85172014-03-19 Pedro Alves <palves@redhat.com>
8518
8519 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8520
8bcfb00a
PA
85212014-03-19 Pedro Alves <palves@redhat.com>
8522
8523 * gdb.base/async.exp (test_background): Expect \r\n after
8524 "completed." in the fail pattern.
8525
884e37dc
PA
85262014-03-19 Pedro Alves <palves@redhat.com>
8527
8528 * gdb.base/async.exp (test_background): New procedure.
8529 Use it for all background execution command tests.
8530
148e57e2
PA
85312014-03-19 Pedro Alves <palves@redhat.com>
8532
8533 * gdb.base/async.exp: Use prepare_for_testing.
8534
f48088c7
PA
85352014-03-19 Pedro Alves <palves@redhat.com>
8536
8537 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8538 the same line.
8539
e2f6c966
PA
85402014-03-19 Pedro Alves <palves@redhat.com>
8541
8542 * gdb.base/async.c (main): Add "jump here" and "until here" line
8543 marker comments.
8544 * gdb.base/async.exp (jump_here): New global.
8545 (jump& test): Use it.
8546 (until_here): New global.
8547 (until& test): Use it.
8548
c30568d4
PA
85492014-03-19 Pedro Alves <palves@redhat.com>
8550
8551 * gdb.base/async.exp: Don't frob gdb_protocol.
8552
0172b6a7
DE
85532014-03-18 Doug Evans <xdje42@gmail.com>
8554
8555 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8556 Fix spelling of exec-done-display.
8557
06c868a8
JK
85582014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8559
8560 PR gdb/15358
8561 * gdb.base/gdb-sigterm.c: New file.
8562 * gdb.base/gdb-sigterm.exp: New file.
8563
0c7e1a46
PA
85642014-03-18 Pedro Alves <palves@redhat.com>
8565
8566 PR gdb/13860
8567 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8568 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8569 solib-event.
8570
f7c77d93
JB
85712014-03-17 Joel Brobecker <brobecker@adacore.com>
8572
8573 * gdb.ada/pckd_arr_ren: New testcase.
8574
5a1e8c7a
DE
85752014-03-13 Doug Evans <xdje42@gmail.com>
8576
8577 PR guile/16612
8578 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8579 collect after discarding symbols.
8580
350e1a76
DE
85812014-03-13 Ludovic Courtès <ludo@gnu.org>
8582 Doug Evans <xdje42@gmail.com>
8583
8584 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8585 to history survives a gc.
8586
a69900ae
PA
85872014-03-13 Pedro Alves <palves@redhat.com>
8588
8589 * gdb.base/default.exp: Don't test "target procfs".
8590
5db9f0bd
PA
85912014-03-13 Pedro Alves <palves@redhat.com>
8592
8593 * gdb.base/default.exp: Update "target child" and "target procfs"
8594 tests to not expect "Unix".
8595
b3ccfe11
TT
85962014-03-12 Tom Tromey <tromey@redhat.com>
8597
8598 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8599 New procs. Add target-async tests.
8600 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8601 Add target-async tests.
8602
646f4417
AA
86032014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8604
8605 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8606 'func_start' and 'func_end' for the beginning and end of the
8607 function code, respectively.
8608 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8609 'func_end' instead of 'func' and 'main'.
8610
288c211f
AA
86112014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8612
8613 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8614 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8615 generate the debug info assembler source.
8616
e0c0f156
AA
86172014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8618
8619 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8620 * gdb.dwarf2/arr-subrange.exp: Likewise.
8621 * gdb.dwarf2/dwz.exp: Likewise.
8622 * gdb.dwarf2/method-ptr.exp: Likewise.
8623 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8624 * gdb.dwarf2/subrange.exp: Likewise.
8625 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8626 * gdb.dwarf2/implptrpiece.exp: Likewise.
8627 * gdb.dwarf2/nostaticblock.exp: Likewise.
8628
0e5c4555
AA
86292014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8630
8631 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8632 directory to absolute path name arguments.
8633
5ec18f2b
JG
86342014-03-10 Joel Brobecker <brobecker@adacore.com>
8635
8636 * gdb.ada/tagged_access: New testcase.
8637
847fc4f2
MM
86382014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8639
8640 * gdb.btrace/data.exp: Update expected output.
8641
cc3da688
YQ
86422014-03-06 Yao Qi <yao@codesourcery.com>
8643
8644 * gdb.trace/pr16508.exp: New file.
8645
0f26cec1
PA
86462014-03-05 Pedro Alves <palves@redhat.com>
8647
8648 PR gdb/16575
8649 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8650 procedure.
8651 (top level): Adjust to use it. Add tests that exercise breakpoint
8652 interaction with the code-cache.
8653
7a5a839f
LC
86542014-02-26 Ludovic Courtès <ludo@gnu.org>
8655
8656 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8657 test for 'history-append!'.
8658
31aa7e4e
JB
86592014-02-26 Joel Brobecker <brobecker@adacore.com>
8660
8661 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8662 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8663 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8664 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8665 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8666 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8667
1b588015
JB
86682014-02-26 Joel Brobecker <brobecker@adacore.com>
8669
8670 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8671 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8672 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8673
55426c9d
JB
86742014-02-26 Joel Brobecker <brobecker@adacore.com>
8675
8676 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8677
dc53a7ad
JB
86782014-02-26 Joel Brobecker <brobecker@adacore.com>
8679
8680 * gdb.dwarf2/arr-stride.c: New file.
8681 * gdb.dwarf2/arr-stride.exp: New file.
8682
12ab52e9
PA
86832014-02-26 Pedro Alves <palves@redhat.com>
8684
8685 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8686 that won't ever trigger. Make sure that GDB reports the correct
8687 breakpoint that caused the stop.
8688
849c862e
JK
86892014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8690
8691 PR gdb/16626
8692 * gdb.base/auto-load-script: New file.
8693 * gdb.base/auto-load.c: New file.
8694 * gdb.base/auto-load.exp: New file.
8695
71b7d793
JK
8696 PR gdb/16626
8697 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8698
e2f0d509
JK
86992014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8700
8701 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8702 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8703
50cc37c8
DE
87042014-02-24 Doug Evans <dje@google.com>
8705
8706 * lib/gdb.exp (run_on_host): Log error output if program fails.
8707
ea4758f2
PA
87082014-02-21 Pedro Alves <palves@redhat.com>
8709
8710 * gdb.threads/step-after-sr-lock.c: Rename to ...
8711 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8712 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8713 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8714 ... this.
8715
d7b30f67
SDJ
87162014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8717
8718 PR tdep/16397
8719 * gdb.arch/amd64-stap-special-operands.exp: New file.
8720 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8721 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8722 * gdb.arch/amd64-stap-triplet.S: Likewise.
8723 * gdb.arch/amd64-stap-triplet.c: Likewise.
8724
83deb43f
JB
87252014-02-20 Joel Brobecker <brobecker@adacore.com>
8726
8727 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8728 in .section pseudo-op.
8729
adde2bff
DE
87302014-02-20 lin zuojian <manjian2006@gmail.com>
8731 Joel Brobecker <brobecker@adacore.com>
8732 Doug Evans <xdje42@gmail.com>
8733
8734 PR symtab/16581
8735 * gdb.dwarf2/dw2-icycle.S: New file.
8736 * gdb.dwarf2/dw2-icycle.c: New file.
8737 * gdb.dwarf2/dw2-icycle.exp: New file.
8738
f7bd0f78
SC
87392014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8740
8741 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8742 operations on gdb.Value objects.
8743 * gdb.python/py-value-cc.exp: Add new test to test operations on
8744 gdb.Value objects.
8745
c17ef0d5
DE
87462014-02-18 Doug Evans <dje@google.com>
8747
8748 * Makefile.in (TESTS): New variable.
8749 (expanded_tests, expanded_tests_or_none): New variables
8750 (check-single): Pass $(expanded_tests_or_none) to runtest.
8751 (check-parallel): Only run tests in $(TESTS) if non-empty.
8752 (check/no-matching-tests-found): New rule.
8753 * README: Document TESTS makefile variable.
8754
5dd3176f
DE
87552014-02-18 Doug Evans <dje@google.com>
8756
8757 * Makefile.in (check-parallel): rm -rf outputs temp.
8758
0b10be4f
JK
87592014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8760
8761 Fix "ERROR: no fileid for" in the testsuite.
8762 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8763
85f224e7
DE
87642014-02-12 Doug Evans <dje@google.com>
8765
8766 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8767 (MISCELLANEOUS): New variable.
8768 (clean): rm -rf $(MISCELLANEOUS).
8769 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8770 dwp live in the same directory as symlinks, with each symlink pointed
8771 to a differently named file in a different directory.
8772
149b30ff
DE
87732014-02-11 Doug Evans <dje@google.com>
8774
8775 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8776 of Tcl file commands.
8777
1dfdac32
MK
87782014-02-10 Mark Kettenis <kettenis@gnu.org>
8779
8780 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8781 "kill -SIGUSR1 -1".
8782
aa4fb036
JB
87832014-02-10 Joel Brobecker <brobecker@adacore.com>
8784
8785 * gdb.ada/tick_length_array_enum_idx: New testcase.
8786
ed3ef339
DE
87872014-02-10 Doug Evans <xdje42@gmail.com>
8788
8789 * configure.ac (AC_OUTPUT): Add gdb.guile.
8790 * configure: Regenerate.
8791 * lib/gdb-guile.exp: New file.
8792 * lib/gdb.exp (get_target_charset): New function.
8793 * gdb.base/help.exp: Update expected output from "apropos apropos".
8794 * gdb.guile/Makefile.in: New file.
8795 * gdb.guile/guile.exp: New file.
8796 * gdb.guile/scm-arch.c: New file.
8797 * gdb.guile/scm-arch.exp: New file.
8798 * gdb.guile/scm-block.c: New file.
8799 * gdb.guile/scm-block.exp: New file.
8800 * gdb.guile/scm-breakpoint.c: New file.
8801 * gdb.guile/scm-breakpoint.exp: New file.
8802 * gdb.guile/scm-disasm.c: New file.
8803 * gdb.guile/scm-disasm.exp: New file.
8804 * gdb.guile/scm-equal.c: New file.
8805 * gdb.guile/scm-equal.exp: New file.
8806 * gdb.guile/scm-error.exp: New file.
8807 * gdb.guile/scm-error.scm: New file.
8808 * gdb.guile/scm-frame-args.c: New file.
8809 * gdb.guile/scm-frame-args.exp: New file.
8810 * gdb.guile/scm-frame-args.scm: New file.
8811 * gdb.guile/scm-frame-inline.c: New file.
8812 * gdb.guile/scm-frame-inline.exp: New file.
8813 * gdb.guile/scm-frame.c: New file.
8814 * gdb.guile/scm-frame.exp: New file.
8815 * gdb.guile/scm-generics.exp: New file.
8816 * gdb.guile/scm-gsmob.exp: New file.
8817 * gdb.guile/scm-iterator.c: New file.
8818 * gdb.guile/scm-iterator.exp: New file.
8819 * gdb.guile/scm-math.c: New file.
8820 * gdb.guile/scm-math.exp: New file.
8821 * gdb.guile/scm-objfile-script-gdb.in: New file.
8822 * gdb.guile/scm-objfile-script.c: New file.
8823 * gdb.guile/scm-objfile-script.exp: New file.
8824 * gdb.guile/scm-objfile.c: New file.
8825 * gdb.guile/scm-objfile.exp: New file.
8826 * gdb.guile/scm-ports.exp: New file.
8827 * gdb.guile/scm-pretty-print.c: New file.
8828 * gdb.guile/scm-pretty-print.exp: New file.
8829 * gdb.guile/scm-pretty-print.scm: New file.
8830 * gdb.guile/scm-section-script.c: New file.
8831 * gdb.guile/scm-section-script.exp: New file.
8832 * gdb.guile/scm-section-script.scm: New file.
8833 * gdb.guile/scm-symbol.c: New file.
8834 * gdb.guile/scm-symbol.exp: New file.
8835 * gdb.guile/scm-symtab-2.c: New file.
8836 * gdb.guile/scm-symtab.c: New file.
8837 * gdb.guile/scm-symtab.exp: New file.
8838 * gdb.guile/scm-type.c: New file.
8839 * gdb.guile/scm-type.exp: New file.
8840 * gdb.guile/scm-value-cc.cc: New file.
8841 * gdb.guile/scm-value-cc.exp: New file.
8842 * gdb.guile/scm-value.c: New file.
8843 * gdb.guile/scm-value.exp: New file.
8844 * gdb.guile/source2.scm: New file.
8845 * gdb.guile/types-module.cc: New file.
8846 * gdb.guile/types-module.exp: New file.
8847
7026a7c1
YQ
88482014-02-10 Yao Qi <yao@codesourcery.com>
8849
8850 PR testsuite/16543
8851 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8852 * configure: Regenerated.
8853 * Makefile.in: New file.
8854
6c466447
AS
88552014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8856
8857 * gdb.python/py-framefilter.exp: Fix typo.
8858
6e854735
YQ
88592014-02-08 Yao Qi <yao@codesourcery.com>
8860
8861 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8862 that no =breakpoint-modified is emitted when breakpoints are
8863 modified through MI commands.
8864
d137e6dc
PA
88652014-02-07 Pedro Alves <pedro@codesourcery.com>
8866 Pedro Alves <palves@redhat.com>
8867
8868 * gdb.threads/step-after-sr-lock.c: New file.
8869 * gdb.threads/step-after-sr-lock.exp: New file.
8870
b5ee5a50
PA
88712014-02-07 Pedro Alves <palves@redhat.com>
8872
8873 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8874
3c77faf3
JK
88752014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8876
8877 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8878 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8879
6dddc817
DE
88802014-02-06 Doug Evans <xdje42@gmail.com>
8881
8882 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8883 output.
8884
8885 * gdb.gdb/python-interrupts.exp: New file.
8886
de7b2893
YQ
88872014-02-05 Yao Qi <yao@codesourcery.com>
8888
8889 * gdb.trace/report.exp (use_collected_data): Test the output
8890 of "info threads" and "info inferiors".
8891
66d032ac
YQ
88922014-02-05 Yao Qi <yao@codesourcery.com>
8893
8894 Revert this patch:
8895
8896 2013-05-24 Yao Qi <yao@codesourcery.com>
8897
8898 * gdb.trace/tfile.exp: Test inferior and thread.
8899
591a12a1
UW
89002014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8901
8902 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8903 on a function.
8904 * gdb.base/step-bt.c: Call hello via function pointer to make
8905 sure its first instruction is executed on powerpc64le-linux.
8906
0ff3e01f
UW
89072014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8908
8909 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8910
084ee545
UW
89112014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8912
8913 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8914 of the test patterns for use on little-endian systems.
8915
6ed14ff3
UW
89162014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8917
8918 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8919 (decimal_vector): Fix for little-endian.
8920
401e27fd
JM
89212014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8922
8923 * gdb.arch/sparc-sysstep.exp: New file.
8924 * gdb.arch/sparc-sysstep.c: Likewise.
8925
8926 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8927
8b924729
EBM
89282014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8929
8930 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8931
fb151210
JB
89322014-01-23 Tom Tromey <tromey@redhat.com>
8933
8934 * gdb.ada/array_char_idx: New testcase.
8935
0740f8d8
TT
89362014-01-23 Tom Tromey <tromey@redhat.com>
8937
8938 PR python/16487:
8939 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8940 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8941 classes.
8942
21909fa1
TT
89432014-01-23 Tom Tromey <tromey@redhat.com>
8944
8945 PR python/16491:
8946 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8947 string from an inferior frame.
8948 * gdb.python/py-framefilter-mi.exp: Update.
8949
87ce2a04
DE
89502014-01-22 Doug Evans <dje@google.com>
8951
8952 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8953
237b092b
AA
89542014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8955
8956 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8957
d674a709
AA
89582014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8959
8960 * gdb.trace/entry-values.exp: Remove excess space character from
8961 regex patterns. Handle s390 call instruction.
8962
20fa3390
AA
89632014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8964
8965 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8966 define "*_start" label. Make "name" static.
8967 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8968 ${name} by references to ${name}_start.
8969
78466714
AA
89702014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8971
8972 * gdb.base/info-macros.exp: Remove "debug" from the compile
8973 options.
8974
ec9f644a
IB
89752014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8976
8977 * gdb.dlang/demangle.exp: New file.
8978
94b1b47e
IB
89792014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8980
8981 * gdb.dlang/primitive-types.exp: New file.
8982
7f420862
IB
89832014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8984
8985 * configure.ac: Create gdb.dlang/Makefile.
8986 * configure: Regenerate.
8987 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8988 * gdb.dlang/Makefile.in: New file.
8989 * lib/d-support.exp: New file.
8990 * lib/gdb.exp (skip_d_tests): New proc.
8991
52834460
MM
89922014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8993
8994 * gdb.btrace/delta.exp: Check reverse stepi.
8995 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8996 * gdb.btrace/finish.exp: New.
8997 * gdb.btrace/next.exp: New.
8998 * gdb.btrace/nexti.exp: New.
8999 * gdb.btrace/record_goto.c: Add comments.
9000 * gdb.btrace/step.exp: New.
9001 * gdb.btrace/stepi.exp: New.
9002 * gdb.btrace/multi-thread-step.c: New.
9003 * gdb.btrace/multi-thread-step.exp: New.
9004 * gdb.btrace/rn-dl-bind.c: New.
9005 * gdb.btrace/rn-dl-bind.exp: New.
9006 * gdb.btrace/data.c: New.
9007 * gdb.btrace/data.exp: New.
9008 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9009
6e07b1d2
MM
90102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9011
9012 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
9013 * gdb.btrace/exception.exp: Update.
9014 * gdb.btrace/instruction_history.exp: Update.
9015 * gdb.btrace/record_goto.exp: Update.
9016 * gdb.btrace/tailcall.exp: Update.
9017 * gdb.btrace/unknown_functions.exp: Update.
9018 * gdb.btrace/delta.exp: New.
9019
0b722aec
MM
90202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9021
9022 * gdb.btrace/record_goto.exp: Add backtrace test.
9023 * gdb.btrace/tailcall.exp: Add backtrace test.
9024
066ce621
MM
90252014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9026
9027 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
9028 * gdb.btrace/record_goto.c: New.
9029 * gdb.btrace/record_goto.exp: New.
9030 * gdb.btrace/x86-record_goto.S: New.
9031
0688d04e
MM
90322014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9033
9034 * gdb.btrace/function_call_history.exp: Update tests.
9035 * gdb.btrace/instruction_history.exp: Update tests.
9036
8710b709
MM
90372014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9038
9039 * gdb.btrace/function_call_history.exp: Fix expected field
9040 order for "record function-call-history".
9041 Add new tests for "record function-call-history /c".
9042 * gdb.btrace/exception.cc: New.
9043 * gdb.btrace/exception.exp: New.
9044 * gdb.btrace/tailcall.exp: New.
9045 * gdb.btrace/x86-tailcall.S: New.
9046 * gdb.btrace/x86-tailcall.c: New.
9047 * gdb.btrace/unknown_functions.c: New.
9048 * gdb.btrace/unknown_functions.exp: New.
9049 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9050
5de9129b
MM
90512014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9052
9053 * gdb.btrace/instruction_history.exp: Update.
9054 * gdb.btrace/function_call_history.exp: Update.
9055
23a7fe75
MM
90562014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9057
9058 * gdb.btrace/function_call_history.exp: Fix expected function
9059 trace.
9060 * gdb.btrace/instruction_history.exp: Initialize traced.
9061 Remove traced_functions.
9062
724c7dd8
MM
90632014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9064
9065 * gdb.btrace/function_call_history.exp: Update
9066 * gdb.btrace/instruction_history.exp: Update.
9067
6d78d93b
MM
90682014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9069
9070 * gdb.btrace/enable.exp: Update expected text.
9071
93a360cc
OJ
90722014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
9073
9074 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
9075 bytes.
9076
3772b53f
MR
90772014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
9078
9079 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
9080
596662fa
OJ
90812014-01-15 Omair Javaid <omair.javaid@linaro.org>
9082
9083 * lib/gdb.exp (supports_process_record): Return true for
9084 arm*-linux*. (supports_reverse): Likewise.
9085
b5b08fb4
SC
90862014-01-13 Siva Chandra Reddy <sivachandra@google.com>
9087
9088 PR python/15464
9089 PR python/16113
9090 * gdb.python/py-type.c: Enhance test case.
9091 * gdb.python/py-value-cc.cc: Likewise
9092 * gdb.python/py-type.exp: Add new tests.
9093 * gdb.python/py-value-cc.exp: Likewise
9094
52d7fb13
AA
90952014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9096 Pedro Alves <palves@redhat.com>
9097
9098 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
9099 Make "name" extern.
9100 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
9101 references to ${name}_start by references to ${name}.
9102
a2cd8cfe
JB
91032014-01-10 Joel Brobecker <brobecker@adacore.com>
9104
9105 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
9106
4e23fced
JB
91072014-01-10 Joel Brobecker <brobecker@adacore.com>
9108
9109 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
9110
c6a9e42c
PA
91112014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
9112 Pedro Alves <palves@redhat.com>
9113
9114 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 9115 mi_gdb_target_load.
c6a9e42c 9116
b7ea362b
PA
91172014-01-08 Pedro Alves <palves@redhat.com>
9118
9119 * gdb.threads/reconnect-signal.c: New file.
9120 * gdb.threads/reconnect-signal.exp: New file.
9121
5e3f4fab
EBM
91222014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9123
9124 * gdb.base/source-dir.exp: New file.
9125
79301218
JB
91262014-01-07 Joel Brobecker <brobecker@adacore.com>
9127
9128 * gdb.ada/mi_interface: New testcase.
9129
8e355c5d
JB
91302014-01-07 Joel Brobecker <brobecker@adacore.com>
9131
9132 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
9133 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
9134 gdb.ada/pp-rec-component/pck.ads: New files.
9135
c0d48811
JB
91362014-01-07 Joel Brobecker <brobecker@adacore.com>
9137
9138 * gdb.python/py-pp-integral.c: New file.
9139 * gdb.python/py-pp-integral.py: New file.
9140 * gdb.python/py-pp-integral.exp: New file.
9141
17b609c3 9142For older changes see ChangeLog-1993-2013.
c906108c 9143\f
8d8cb839
EZ
9144;; Local Variables:
9145;; mode: change-log
9146;; left-margin: 8
9147;; fill-column: 74
9148;; version-control: never
9149;; End:
902f2ccb 9150
618f726f 9151 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
9152 Copying and distribution of this file, with or without modification,
9153 are permitted provided the copyright notice and this notice are preserved.