Add test for user context selection sync
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
9c36d954
AT
12016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
22016-10-03 Simon Marchi <simon.marchi@ericsson.com>
3
4 PR gdb/20487
5 * gdb.mi/user-selected-context-sync.exp: New file.
6 * gdb.mi/user-selected-context-sync.c: New file.
7
4034d0ff
AT
82016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
92016-10-03 Simon Marchi <simon.marchi@ericsson.com>
10
11 PR gdb/20487
12 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
13 =thread-select-event check.
14
a4297203
PB
152016-09-29 Peter Bergner <bergner@vnet.ibm.com>
16
17 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
18 the compulsory L operand changes.
19 * gdb.arch/powerpc-power.s: Likewise.
20
bb805577
JK
212016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
22
23 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
24 * gdb.base/jit-attach-pie.c: New file.
25 * gdb.base/jit-attach-pie.exp: New file.
26
6d61dee5
PA
272016-09-28 Pedro Alves <palves@redhat.com>
28
29 * gdb.base/infcall-input.c: New file.
30 * gdb.base/infcall-input.exp: New file.
31
f73842fc
YQ
322016-09-22 Yao Qi <yao.qi@linaro.org>
33
34 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
35 (gdb_exit): Rename it to ...
36 (gdbserver_gdb_exit): ... Close GDBserver.
37 (gdb_exit): New proc, call gdbserver_gdb_exit.
38 (mi_gdb_exit): Likewise.
39
90681dab
YQ
402016-09-22 Yao Qi <yao.qi@linaro.org>
41
42 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
43 path.
44 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
45 Remove duplication.
46
9c211fd8
YQ
472016-09-22 Yao Qi <yao.qi@linaro.org>
48
49 * lib/gdbserver-support.exp: Check the existence of
50 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
51
ad0a504f
AK
522016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
53
54 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
55
36cf1806
TT
562016-09-21 Tom Tromey <tom@tromey.com>
57
58 PR gdb/20604:
59 * gdb.base/quit.exp: New file.
60
74172ecf
SM
612016-09-21 Simon Marchi <simon.marchi@ericsson.com>
62
63 * .gitignore: New file.
64
3d0ec882
MR
652016-09-21 Maciej W. Rozycki <macro@imgtec.com>
66
67 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
68 throughout.
69
8193adea
AA
702016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
71
72 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
73
d41a5c09
JK
742016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
75
76 * gdb.cp/casts.cc (decltype): Move it ...
77 (main): ... with its call to ...
78 * gdb.cp/casts03.cc: ... a new file.
79 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
80
d2dfe700
JK
812016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
82
83 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
84
e2a92b16
PB
852016-09-15 Peter Bergner <bergner@vnet.ibm.com>
86
87 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
88 and sync up the test with tests in gas/testsuite/gas/ppc.
89 * gdb.arch/powerpc-power.exp: Likewise.
90
49b4de64
JK
912016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
92
93 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
94
2c29df25
SDJ
952016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
96 Jan Kratochvil <jan.kratochvil@redhat.com>
97
98 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
99 make m1's definition to be different from m2's. Use 'dummy' as an
100 argument for probe 'two'.
101
cc3c2846
JB
1022016-09-10 Jon Beniston <jon@beniston.com>
103
104 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
105 for sim target.
106
e1b2624a
AA
1072016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
108
109 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
110 variable declaration.
111 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
112 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
113 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
114 received HWCAP as its argument.
115
4295e285
PA
1162016-09-06 Pedro Alves <palves@redhat.com>
117
118 * gdb.base/new-ui-pending-input.c: New file.
119 * gdb.base/new-ui-pending-input.exp: New file.
120 * gdb.exp (clear_gdb_spawn_id): New procedure.
121 (with_spawn_id): Check whether gdb_spawn_id exists before
122 referencing it. If gdb_spawn_id didn't exist on entry, clear it
123 on exit.
124
00d5215e
UW
1252016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
126
127 * gdb.base/float128.c: New file.
128 * gdb.base/float128.exp: Likewise.
129 * gdb.base/floatn.c: Likewise.
130 * gdb.base/floatn.exp: Likewise.
131
a9ff5f12
UW
1322016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
133
134 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
135
f245535c
PA
1362016-09-05 Pedro Alves <palves@redhat.com>
137
138 PR backtrace/19927
139 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
140 unwinders are immediately called as side effect of "source" or
141 "disable unwinder" commands.
142 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
143
ae9cf263
YQ
1442016-09-02 Yao Qi <yao.qi@linaro.org>
145
146 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
147 is true and $type is "float" or "double".
148
27aba047
YQ
1492016-09-02 Yao Qi <yao.qi@linaro.org>
150
151 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
152 true.
153 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
154 * gdb.base/call-rt-st.exp: Likewise.
155 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
156 return value instead of gdb,skip_float_test.
157 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
158 (do_function_calls): Use its return value instead of
159 gdb,skip_float_test.
160 * gdb.base/finish.exp: Likewise.
161 * gdb.base/funcargs.exp: Likewise.
162 * gdb.base/return.exp: Likewise.
163 * gdb.base/return2.exp: Likewise.
164 * gdb.base/varargs.exp: Likewise.
165 * lib/gdb.exp (gdb_skip_float_test): Change it to
166 gdb_caching_proc. Detect the broken ptrace on arm-linux.
167
5af962df
AA
1682016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
169
170 * gdb.multi/tids.exp: Test "thread apply all".
171
7fac6910
JK
1722016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
173
174 * gdb.base/default.exp (tty): Remove.
175
bb1fe4ac
KB
1762016-08-24 Kevin Buettner <kevinb@redhat.com>
177
178 * gdb.python/py-recurse-unwind.c: New file.
179 * gdb.python/py-recurse-unwind.py: New file.
180 * gdb.python/py-recurse-unwind.exp: New file.
181
0a1ddfa6
SM
1822016-08-24 Simon Marchi <simon.marchi@ericsson.com>
183
184 * gdb.base/set-inferior-tty.exp: New file.
185 * gdb.base/set-inferior-tty.c: New file.
186
d9de1fe3
PA
1872016-08-23 Pedro Alves <palves@redhat.com>
188
189 PR gdb/20494
190 * gdb.base/new-ui-echo.c: New file.
191 * gdb.base/new-ui-echo.exp: New file.
192
e9d9abd7
YQ
1932016-08-23 Yao Qi <yao.qi@linaro.org>
194
195 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
196 gdbserver_spawn.
197 * gdb.server/connect-without-multi-process.exp (do_test):
198 Likewise.
199
3589529e
YQ
2002016-08-23 Yao Qi <yao.qi@linaro.org>
201
202 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
203 standalone_txt. Delete gdb_txt and standalone_txt on host
204 and target. Spawn the binary on target. Copy files from
205 target to host.
206
6bb90213
PA
2072016-08-22 Pedro Alves <palves@redhat.com>
208
209 PR gdb/20505
210 * gdb.base/vdso-warning.exp: Test core dumps too. Use
211 with_test_prefix. Factor out bits to ...
212 (test_no_vdso): ... this new procedure.
213
20c2c024
CL
2142016-08-19 Carl Love <cel@us.ibm.com>
215
216 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
217 maintaining separate logic for constructing the output path.
218 * gdb.arch/powerpc-d128-regs.exp: Likewise.
219 * gdb.arch/ppc-dfp.exp: Likewise.
220 * gdb.arch/ppc-fp.exp: Likewise.
221 * gdb.arch/vsx-regs.exp: Likewise.
222 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
223 binprefix for generating the additional binary files.
224
0646e07d
PA
2252016-08-19 Pedro Alves <palves@redhat.com>
226
227 * gdb.trace/mi-trace-frame-collected.exp
228 (test_trace_frame_collected): On x32, expect two registers.
229
46da9242
CL
2302016-08-18 Carl Love <cel@us.ibm.com>
231
232 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
233 and sync up the test with tests in gas/testsuite/gas/ppc.
234 * gdb.arch/powerpc-power.exp: Likewise.
235
eb2332d7
SM
2362016-08-17 Simon Marchi <simon.marchi@ericsson.com>
237
238 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
239 expected error message.
240
63c61e04
SM
2412016-08-17 Simon Marchi <simon.marchi@ericsson.com>
242
243 * gdb.multi/remove-inferiors.exp: New file.
244 * gdb.multi/remove-inferiors.c: New file.
245
7b17065f
YQ
2462016-08-12 Yao Qi <yao.qi@linaro.org>
247
248 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
249 argument list.
250
01d3dedf
PA
2512016-08-10 Pedro Alves <palves@redhat.com>
252
253 PR gdb/19187
254 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
255 setup_kfails.
256
3eb7562a
PA
2572016-08-09 Pedro Alves <palves@redhat.com>
258 Simon Marchi <simon.marchi@ericsson.com>
259
260 PR gdb/20418
261 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
262 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
263
80614914
PA
2642016-08-09 Pedro Alves <palves@redhat.com>
265
266 PR mi/20431
267 * gdb.mi/mi-cmd-error.exp: New file.
268
f348d89a
PA
2692016-08-09 Pedro Alves <palves@redhat.com>
270
271 PR gdb/18653
272 * gdb.base/signals-state-child.c: New file.
273 * gdb.base/signals-state-child.exp: New file.
274 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
275
e5ca03b4
PA
2762016-08-09 Pedro Alves <palves@redhat.com>
277
278 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
279
282a0691
TT
2802016-08-03 Tom Tromey <tom@tromey.com>
281
282 PR python/18565:
283 * gdb.python/py-frame-inline.exp: Add Frame.function test.
284
41bfcd63
YQ
2852016-08-01 Yao Qi <yao.qi@linaro.org>
286
287 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
288 variable mode to "multi-process" if $multi_process is 1, otherwise
289 set it to "single-process".
290
e3465b24
YQ
2912016-08-01 Yao Qi <yao.qi@linaro.org>
292
293 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
294 * gdb.cp/cpexprs.exp: Likewise.
295 * gdb.cp/m-static.exp: Likewise.
296
0b31a4bc
TT
2972016-07-26 Tom Tromey <tom@tromey.com>
298
299 PR python/20190:
300 * gdb.threads/tls.exp (check_thread_local): Add python symbol
301 test.
302
e0461dbb
MM
3032016-07-26 Markus Metzger <markus.t.metzger@intel.com>
304
305 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
306 selecting assembly source files.
307 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
308 assembly source files.
309 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
310 assembly source files.
311 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
312 selecting assembly source files.
313
8194e927
SM
3142016-07-25 Simon Marchi <simon.marchi@ericsson.com>
315
316 * gdb.base/new-ui.exp (do_test_invalid_args): New
317 procedure.
318
c0272db5
TW
3192016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
320
321 * gdb.btrace/reconnect.c: New file.
322 * gdb.btrace/reconnect.exp: New file.
323
e3487908
GKB
3242016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
325
326 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
327 to test_catch_syscall_group.
328 (test_catch_syscall_group): New.
329
12df5c00
TT
3302016-07-21 Tom Tromey <tom@tromey.com>
331
332 * gdb.rust/simple.rs (main): Use empty struct expression.
333 * gdb.rust/simple.exp: Add tests for empty struct expression.
334
bae62ee2
YQ
3352016-07-21 Yao Qi <yao.qi@linaro.org>
336
337 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
338 if gdb_skip_xml_test is true on some targets.
339
b1b53fb3
YQ
3402016-07-21 Yao Qi <yao.qi@linaro.org>
341
342 * gdb.server/solib-list.exp: Unset last_loaded_file.
343
027d97f8
JK
3442016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
345
346 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
347 "step into captured_main (args)".
348
7674d381
JK
3492016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
350
351 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
352
72b5d099
JK
3532016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
354
355 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
356
1f960ced
PA
3572016-07-19 Pedro Alves <palves@redhat.com>
358
359 * gdb.opt/inline-break.exp: Remove optimize=-O2.
360 * gdb.opt/inline-bt.exp: Likewise.
361 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
362 additional_flags=-Winline.
363 * gdb.opt/inline-locals.exp: Likewise.
364 * gdb.opt/inline-markers.c (ATTR): Define.
365 (inlined_fn): Use it.
366
f25827c1
YQ
3672016-07-19 Yao Qi <yao.qi@linaro.org>
368
369 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
370 (test_with_self): Remove some code. Remove argument executable.
371 (top-level): Use do_self_tests.
372
37539ebe
DB
3732016-07-15 Zachary Welch <zwelch@codesourcery.com>
374 Don Breazeal <donb@codesourcery.com>
375
376 * gdb.base/maint.exp: Escape paths used in regular expressions.
377 * gdb.stabs/weird.exp: Likewise.
378
dac790e1
TT
3792016-07-13 Tom Tromey <tom@tromey.com>
380
381 PR python/15620, PR python/18620:
382 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
383 (test_bkpt_events): New procs.
384
93daf339
TT
3852016-07-13 Tom Tromey <tom@tromey.com>
386
387 PR python/17698:
388 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
389 test.
390 (test_watchpoints): Likewise.
391 (test_bkpt_pending): New proc.
392
6571a381
TT
3932016-07-13 Tom Tromey <tom@tromey.com>
394
395 PR cli/18053:
396 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
397 completion test.
398
e8732474
JK
3992016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
400
401 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
402 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
403 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
404 f_label.
405 (g): Rename g_end_lbl to g_label.
406 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
407 low_pc and high_pc.
408 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
409
e0f3fd7c
TT
4102016-07-12 Tom Tromey <tom@tromey.com>
411
412 PR python/19293:
413 * gdb.python/py-unwind-maint.exp: Update tests.
414
3cfe46b6
YQ
4152016-07-12 Yao Qi <yao.qi@linaro.org>
416
417 * lib/selftest-support.exp (selftest_setup): Match the output
418 when captured_main is inlined.
419
4f19a0e6
WT
4202016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
421
422 * gdb.fortran/derived-types.exp (result_line, result_line_2):
423 New variables.
424 (print this%a, print this%b, print this): New tests.
425 * gdb.fortran/derived-types.f90 (this): New object and
426 initialization.
427
986cf455
SM
4282016-07-06 Simon Marchi <simon.marchi@ericsson.com>
429
430 * gdb.ada/arraydim.exp: Remove extra directory level in build
431 directory.
432
f0464b23
SM
4332016-07-06 Simon Marchi <simon.marchi@ericsson.com>
434
435 * lib/ada.exp: Remove extra directory level in build directory.
436 * gdb.ada/cond_lang.exp: Likewise.
437 * gdb.ada/exec_changed.exp: Likewise.
438 * gdb.ada/lang_switch.exp: Likewise.
439
42d94011
MG
4402016-07-06 Manish Goregaokar <manish@mozilla.com>
441
442 * simple.rs: Add test for raw pointer subscripting
443 * simple.exp: Add test expectations
444
647c264c
YQ
4452016-07-05 Yao Qi <yao.qi@linaro.org>
446
447 * gdb.mi/mi-reverse.exp: Match =record-started output.
448
20aa2c60
PA
4492016-07-01 Pedro Alves <palves@redhat.com>
450
451 * gdb.base/jit-reader.exp (info_registers_current_frame): New
452 procedure.
453 (jit_reader_test): Test the jit reader's unwinder.
454 * gdb.base/jithost.c (jit_function_00_code): New global.
455 (main): Use memcpy to fill in the mmapped code, instead of poking
456 bytes manually here.
457 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
458 value.
459 (read_debug_info): Save the function's range.
460 (read_sp): New function.
461 (unwind_frame): Use it. Also unwind RBP.
462 (get_frame_id): Use read_sp.
463 (gdb_init_reader): Use calloc instead of malloc.
464 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
465 parameter. Use gdb_test_multiple.
466
ced2dffb
PA
4672016-07-01 Pedro Alves <palves@redhat.com>
468 Antoine Tremblay <antoine.tremblay@ericsson.com>
469
470 * gdb.threads/process-dies-while-detaching.c: New file.
471 * gdb.threads/process-dies-while-detaching.exp: New file.
472
63000888
PA
4732016-07-01 Pedro Alves <palves@redhat.com>
474
475 * gdb.multi/watchpoint-multi-exit.c: New file.
476 * gdb.multi/watchpoint-multi-exit.exp: New file.
477
038d4868
PA
4782016-06-30 Pedro Alves <palves@redhat.com>
479
480 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
481 unset inferior_spawn_id.
482
994e9c83
PA
4832016-06-30 Pedro Alves <palves@redhat.com>
484
485 * lib/mi-support.exp (default_mi_gdb_start): Declare global
486 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
487
e5653468
YQ
4882016-06-29 Yao Qi <yao.qi@linaro.org>
489
490 * gdb.base/return.c: Add copyright header.
491
803b47e5
TT
4922016-06-29 Tom Tromey <tom@tromey.com>
493
494 PR python/20129:
495 * gdb.python/py-framefilter.exp: Add tests for setting priority
496 and disabling of non-existent frame filter.
497
28244707
YQ
4982016-06-29 Yao Qi <yao.qi@linaro.org>
499
500 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
501 0x0f07ff.
502
a31d2f06
YQ
5032016-06-28 Yao Qi <yao.qi@linaro.org>
504
505 * gdb.base/catch-syscall.exp: Remove check on isnative and target
506 triplets. Start gdb, execute catch syscall, and continue. Check
507 gdb's output to determine catch syscall is supported.
508
921d8f54
MG
5092016-06-27 Manish Goregaokar <manish@mozilla.com>
510
25d49b86
PA
511 * gdb.rust/simple.rs: Add test for returning unit in a function.
512 * gdb.rust/simple.exp: Add expectation for functions returning
513 unit.
921d8f54 514
f4952523
PMR
5152016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
516
517 * gdb.python/py-breakpoint-create-fail.c,
518 gdb.python/py-breakpoint-create-fail.exp,
519 gdb.python/py-breakpoint-create-fail.py: New testcase.
520
fccb08f8
MG
5212016-06-25 Manish Goregaokar <manish@mozilla.com>
522
523 PR gdb/20239
524 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
525 * gdb.rust/simple.exp: Add test expectations for new NonZero
526 tests.
fccb08f8 527
6b850546
DT
5282016-06-24 David Taylor <dtaylor@emc.com>
529
530 * gdb.base/offsets.exp: New file.
531 * gdb.base/offsets.c: New file.
532
17621150
TT
5332016-06-23 Tom Tromey <tom@tromey.com>
534
535 PR gdb/16483:
536 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
537 before any filters are loaded.
538
04d59df6
WT
5392016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
540
541 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
542 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
543 structs.
544 * gdb.fortran/derived-type-function.exp: New file.
545 * gdb.fortran/derived-type-function.f90: New file.
546
547
ac69f786
PA
5482016-06-21 Pedro Alves <palves@redhat.com>
549
550 * gdb.base/new-ui.exp: New file.
551 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
552 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
553 (with_spawn_id): New procedure.
554
49940788
PA
5552016-06-21 Pedro Alves <palves@redhat.com>
556
557 * gdb.mi/mi-exec-run.exp: New file.
558
ef274d26
PA
5592016-06-21 Pedro Alves <palves@redhat.com>
560
561 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
562 breakpoint command's output on the main UI.
563 (test_break): New procedure, factored out from calls in the top
564 level.
565 (top level): Use foreach_with_prefix to test MI as main UI and as
566 separate UI.
567
468afe6c
PA
5682016-06-21 Pedro Alves <palves@redhat.com>
569
570 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
571 (test_awatch_creation_and_listing)
572 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
573 Remove 'type' parameter.
574 (test_watchpoint_all): New parameter mi_mode. Remove
575 with_test_prefix.
576 (top level): Use foreach_with_prefix, and add main/separate UI MI
577 testing axis.
578
51f77c37
PA
5792016-06-21 Pedro Alves <palves@redhat.com>
580
581 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
582 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
583 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
584 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
585 (gdb_main_spawn_id, mi_spawn_id): Declare and
586 comment.
587 (mi_create_inferior_pty): New procedure,
588 factored out from default_mi_gdb_start.
589 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
590 procedures.
591 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
592 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
593 Use mi_create_inferior_pty.
594 (mi_gdb_start): Use eval to pass down args list.
595
8980e177
PA
5962016-06-21 Pedro Alves <palves@redhat.com>
597
598 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
599 * gdb.opt/inline-cmds.exp: Add MI tests.
600
f38d3ad1
PA
6012016-06-21 Pedro Alves <palves@redhat.com>
602
603 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
604
45db7c09
PA
6052016-06-21 Pedro Alves <palves@redhat.com>
606
607 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
608 (top level): Use it instead of mi_execute_to.
609
5a069ab3
PA
6102016-06-21 Pedro Alves <palves@redhat.com>
611
612 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
613 (cont_handler_str): New.
614 (signal_stop_handler): Set stop_handler_str instead of printing to
615 stdout.
616 (continue_handler): Set cont_handler_str instead of printing to
617 stdout.
618 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
619 mi_send_resuming_command. Print stop_handler_str and
620 cont_handler_str instead of expecting the python events print
621 directly.
622
2838cc1d
SD
6232016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
624
625 * gdb.base/jit-reader.exp: New file.
626 * gdb.base/jithost.c: New file.
627 * gdb.base/jithost.h: New file.
628 * gdb.base/jitreader.c : New file.
629 * gdb.base/jit-protocol.h: New file.
630
21a77091
YQ
6312016-06-17 Yao Qi <yao.qi@linaro.org>
632
633 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
634 parameters follow_fork and detach_on_fork. Set follow-fork-mode
635 and detach-on-fork. Adjust tests.
636 (top level): Invoke break_cond_on_syscall with combinations of
637 syscall, follow-fork-mode and detach-on-fork.
638
f50bf8e5
YQ
6392016-06-17 Yao Qi <yao.qi@linaro.org>
640
641 * gdb.base/step-over-exit.c: New.
642 * gdb.base/step-over-exit.exp: New.
643
a28d8e50
YTL
6442016-06-17 Yan-Ting Lin <currygt52@gmail.com>
645
646 * gdb.base/float.exp: Add target check for nds32*-*-*.
647 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
648
cad8e26d
AB
6492016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
650
651 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
652 for unsupported target features.
653 * gdb.base/call-rt-st.exp: Likewise.
654 * gdb.base/call-sc.exp: Likewise.
655 * gdb.base/call-signal-resume.exp: Likewise.
656 * gdb.base/call-strs.exp: Likewise.
657 * gdb.base/callexit.exp: Likewise.
658 * gdb.base/callfuncs.exp: Likewise.
659 * gdb.base/nodebug.exp: Likewise.
660 * gdb.base/printcmds.exp: Likewise.
661 * gdb.base/ptype.exp: Likewise.
662 * gdb.base/structs.exp: Likewise.
663 * gdb.base/unwindonsignal.exp: Likewise.
664 * gdb.cp/gdb2495.exp: Likewise.
665 * gdb.cp/templates.exp: Likewise.
666 * gdb.cp/virtfunc.exp: Likewise.
667 * gdb.threads/hand-call-in-threads.exp: Likewise.
668 * gdb.threads/interrupted-hand-call.exp: Likewise.
669 * gdb.threads/thread-unwindonsignal.exp: Likewise.
670
347dc102
TT
6712016-06-10 Tom Tromey <tom@tromey.com>
672
673 PR rust/20110:
674 * gdb.rust/expr.exp: Add test for integer constant larger than
675 i32.
676
5e13cf25
BH
6772016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
678
679 * gdb.fortran/nested-funcs.exp: New.
680 * gdb.fortran/nested-funcs.f90: New.
681
bb556f1f
TK
6822016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
683
684 * gdb.base/examine-backward.c: New file.
685 * gdb.base/examine-backward.exp: New file.
686
38b022b4
SM
6872016-06-06 Simon Marchi <simon.marchi@ericsson.com>
688
689 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
690 matching.
691
1b40ec05
TT
6922016-06-02 Tom Tromey <tom@tromey.com>
693
694 PR python/18984:
695 * gdb.python/py-shared.exp: Add solib_name test.
696
193bd378
SM
6972016-06-02 Simon Marchi <simon.marchi@ericsson.com>
698
699 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
700
3326303b
MG
7012016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
702
703 PR c++/19893
704 * gdb.dwarf2/implref.exp: Rename to...
705 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
706 * gdb.dwarf2/implref-array.c: New file.
707 * gdb.dwarf2/implref-array.exp: Likewise.
708 * gdb.dwarf2/implref-global.c: Likewise.
709 * gdb.dwarf2/implref-global.exp: Likewise.
710 * gdb.dwarf2/implref-struct.c: Likewise.
711 * gdb.dwarf2/implref-struct.exp: Likewise.
712
825c8ef2
AT
7132016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
714
715 * gdb.trace/trace-condition.exp: Add 64bit tests.
716
2320162a
AT
7172016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
718
719 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
720 bits types.
721 (main): Adapt to 8 to 64 bits types.
722 * gdb.trace/trace-condition.exp: Add new tests.
723
a7818233
AT
7242016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
725
726 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
727
0d336466
AT
7282016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
729
730 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
731 Move condition tests...
732 * gdb.trace/trace-condition.exp: Here.
733
7faeb45a
AT
7342016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
735
736 * gdb.trace/trace-condition.exp: Add counter-case tests.
737
e385593e
JK
7382016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
739
740 PR c++/15231
741 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
742 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
743
744608cc
PA
7442016-05-27 Pedro Alves <palves@redhat.com>
745
746 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
747 New procedure.
748 (top level): Call it, and bail out of DejaGnu is known to be bad.
749
ac775bf4
AB
7502016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
751
752 * gdb.base/whatis.c: Extend the test case.
753 * gdb.base/whatis.exp: Add additional tests.
754
2bbad2ea
BH
7552016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
756
757* gdb.fortran/type.f90: Add pointer variable.
758* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
759
8b70175d
BH
7602016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
761
762 * gdb.fortran/vla-type.exp: Fix testcase name.
763
86d8a848
BH
7642016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
765
766 * gdb.fortran/vla-type.exp: Access elements in nested structs.
767
e188eb36
BH
7682016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
769
770 * gdb.fortran/type.f90: Add nested structures.
771 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
772 * gdb.fortran/derived-type.exp: Adapt expected output.
773 * gdb.fortran/vla-type.exp: Adapt expected output.
774
9b2db1fd
BH
7752016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
776
777 * gdb.fortran/whatis_type.exp: Adapt expected output.
778
72b17055
BH
7792016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
780
781 * gdb.fortran/print_type.exp: Fix expected output.
782 * gdb.fortran/whatis_type.exp: Fix expected output.
783
3cd81d8d
BH
7842016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
785
786 * gdb.fortran/whatis_type.exp: Use multi_line.
787
ddae9462
TT
7882016-05-24 Tom Tromey <tom@tromey.com>
789
790 PR python/17386:
791 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
792 use value as an index.
793
1957f6b8
TT
7942016-05-23 Tom Tromey <tom@tromey.com>
795
796 PR python/17981:
797 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
798 no-breakpoint case.
799
026a9174
PA
8002016-05-24 Pedro Alves <palves@redhat.com>
801
802 PR gdb/19828
803 * gdb.threads/clone-attach-detach.c: New file.
804 * gdb.threads/clone-attach-detach.exp: New file.
805
e70a7231
FR
8062016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
807
808 * gdb.base/annota-input-while-running.exp: Fix syntax error.
809
0f6ed0e0
TT
8102016-05-23 Tom Tromey <tom@tromey.com>
811
812 PR python/19438, PR python/18393:
813 * gdb.python/py-progspace.exp: Add "dir" test.
814 * gdb.python/py-objfile.exp: Add "dir" test.
815
ffd19d61
YQ
8162016-05-23 Yao Qi <yao.qi@linaro.org>
817
818 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
819 * gdb.arch/thumb2-it.exp: Likewise.
820
9e8f9b05
SM
8212016-05-18 Simon Marchi <simon.marchi@ericsson.com>
822
823 * gdb.mi/mi-threads-interrupt.c: New file.
824 * gdb.mi/mi-threads-interrupt.exp: New file.
825
61c6156d
SM
8262016-05-17 Simon Marchi <simon.marchi@ericsson.com>
827
828 PR gdb/18077
829 * gdb.mi/mi-async-run.exp: New file.
830 * gdb.mi/mi-async-run.c: New file.
831
67218854
TT
8322016-05-17 Tom Tromey <tom@tromey.com>
833 Manish Goregaokar <manishsmail@gmail.com>
834
835 * lib/rust-support.exp: New file.
836 * lib/gdb.exp (skip_rust_tests): New proc.
837 (build_executable_from_specs): Handle rust.
838 * lib/future.exp (gdb_find_rustc): New proc.
839 (gdb_default_target_compile): Handle rust.
840 * gdb.rust/expr.exp: New file.
841 * gdb.rust/generics.exp: New file.
842 * gdb.rust/generics.rs: New file.
843 * gdb.rust/methods.exp: New file.
844 * gdb.rust/methods.rs: New file.
845 * gdb.rust/modules.exp: New file.
846 * gdb.rust/modules.rs: New file.
847 * gdb.rust/simple.exp: New file.
848 * gdb.rust/simple.rs: New file.
849
c44af4eb
TT
8502016-05-17 Tom Tromey <tom@tromey.com>
851
852 * gdb.base/default.exp (set language): Add rust.
853
dcd1f979
TT
8542016-05-17 Tom Tromey <tom@tromey.com>
855
856 * gdb.gdb/unittest.exp: New file.
857
155b7f57
YQ
8582016-05-16 Yao Qi <yao.qi@linaro.org>
859
860 * gdb.base/batch-preserve-term-settings.exp: Remove variable
861 shell_prompt. Update shell_prompt_re.
862
8ddd5a6c
DE
8632016-05-12 Doug Evans <dje@google.com>
864
865 PR symtab/19999
866 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
867 $options when building executable.
868 * gdb.dwarf2/fission-loclists-pie.S: New file.
869 * gdb.dwarf2/fission-loclists-pie.exp: New file.
870
02e370d9
SM
8712016-05-04 Simon Marchi <simon.marchi@ericsson.com>
872
873 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
874 of [is_remote target],
875
8929ad8b
SM
8762016-05-04 Simon Marchi <simon.marchi@ericsson.com>
877
878 * lib/gdb.exp (use_gdb_stub): New procedure.
879
6c447423
DE
8802016-05-03 Yunlian Jiang <yunlian@google.com>
881 Doug Evans <dje@google.com>
882
883 PR symtab/19914
884 * gdb.dwarf2/dwp-sepdebug.c: New file.
885 * gdb.dwarf2/dwp-sepdebug.exp: New file.
886
444e826c
SM
8872016-05-02 Simon Marchi <simon.marchi@ericsson.com>
888
889 * gdb.base/detach.exp: Remove is_remote check.
890
740feeaa
SM
8912016-05-02 Simon Marchi <simon.marchi@ericsson.com>
892
893 * gdb.base/annota-input-while-running.exp: Don't check for
894 [is_remote target]. Enable annotations after running to main.
895 Remove unused "set test..." line.
896
9080ac9d
SM
8972016-04-28 Simon Marchi <simon.marchi@ericsson.com>
898
899 * gdb.trace/trace-enable-disable.exp: New file.
900 * gdb.trace/trace-enable-disable.c: New file.
901
952ebca5
SM
9022016-04-28 Simon Marchi <simon.marchi@ericsson.com>
903
904 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
905 use it in info sharedlibrary test.
906 * gdb.trace/ftrace-lock.exp: Likewise.
907 * gdb.trace/ftrace.exp: Likewise.
908 * gdb.trace/range-stepping.exp: Likewise.
909 * gdb.trace/trace-break.exp: Likewise.
910 * gdb.trace/trace-condition.exp: Likewise.
911 * gdb.trace/trace-mt.exp: Likewise.
912
d9019901
SM
9132016-04-27 Simon Marchi <simon.marchi@ericsson.com>
914
915 * lib/gdb.exp (gdb_load_shlibs): Rename to...
916 (gdb_load_shlib): ... this.
917 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
918 gdb_load_shlib.
919 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
920 * gdb.base/ctxobj.exp: Likewise.
921 * gdb.base/dprintf-pending.exp: Likewise.
922 * gdb.base/dso2dso.exp: Likewise.
923 * gdb.base/fixsection.exp: Likewise.
924 * gdb.base/gcore-relro.exp: Likewise.
925 * gdb.base/gdb1555.exp: Likewise.
926 * gdb.base/global-var-nested-by-dso.exp: Likewise.
927 * gdb.base/gnu-ifunc.exp: Likewise.
928 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
929 * gdb.base/jit-so.exp (one_jit_test): Likewise.
930 * gdb.base/pending.exp: Likewise.
931 * gdb.base/print-file-var.exp: Likewise.
932 * gdb.base/print-symbol-loading.exp: Likewise.
933 * gdb.base/shlib-call.exp: Likewise.
934 * gdb.base/shreloc.exp: Likewise.
935 * gdb.base/so-impl-ld.exp: Likewise.
936 * gdb.base/solib-disc.exp: Likewise.
937 * gdb.base/solib-nodir.exp: Likewise.
938 * gdb.base/solib-overlap.exp: Likewise.
939 * gdb.base/solib-symbol.exp: Likewise.
940 * gdb.base/solib-weak.exp (do_test): Likewise.
941 * gdb.base/sym-file.exp: Likewise.
942 * gdb.base/symtab-search-order.exp: Likewise.
943 * gdb.base/type-opaque.exp: Likewise.
944 * gdb.base/unload.exp: Likewise.
945 * gdb.base/watchpoint-solib.exp: Likewise.
946 * gdb.compile/compile.exp: Likewise.
947 * gdb.cp/gdb2384.exp: Likewise.
948 * gdb.cp/infcall-dlopen.exp: Likewise.
949 * gdb.cp/re-set-overloaded.exp: Likewise.
950 * gdb.fortran/library-module.exp: Likewise.
951 * gdb.opt/solib-intra-step.exp: Likewise.
952 * gdb.python/py-finish-breakpoint.exp: Likewise.
953 * gdb.python/py-shared.exp: Likewise.
954 * gdb.reverse/solib-precsave.exp: Likewise.
955 * gdb.reverse/solib-reverse.exp: Likewise.
956 * gdb.server/solib-list.exp: Likewise.
957 * gdb.threads/dlopen-libpthread.exp: Likewise.
958 * gdb.threads/tls-shared.exp: Likewise.
959 * gdb.threads/tls-so_extern.exp: Likewise.
960 * gdb.trace/change-loc.exp: Likewise.
961 * gdb.trace/ftrace-lock.exp: Likewise.
962 * gdb.trace/ftrace.exp: Likewise.
963 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
964 * gdb.trace/pending.exp: Likewise.
965 * gdb.trace/range-stepping.exp: Likewise.
966 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
967 (strace_info_marker): Likewise.
968 (strace_probe_marker): Likewise.
969 (strace_trace_on_same_addr): Likewise.
970 (strace_trace_on_diff_addr): Likewise.
971 * gdb.trace/trace-break.exp: Likewise.
972 * gdb.trace/trace-condition.exp: Likewise.
973 * gdb.trace/trace-mt.exp: Likewise.
974
fca4cfd9
SM
9752016-04-27 Simon Marchi <simon.marchi@ericsson.com>
976
977 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
978 result of gdb_remote_download.
979 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
980 * gdb.base/dso2dso.exp: Likewise.
981 * gdb.base/global-var-nested-by-dso.exp: Likewise.
982 * gdb.base/print-file-var.exp: Likewise.
983 * gdb.base/shlib-call.exp: Likewise.
984 * gdb.base/shreloc.exp: Likewise.
985 * gdb.base/solib-overlap.exp: Likewise.
986 * gdb.base/solib-weak.exp (do_test): Likewise.
987 * gdb.base/unload.exp: Likewise.
988
11cf4ffb
YQ
9892016-04-27 Yao Qi <yao.qi@linaro.org>
990
991 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
992 exists.
993
3e2e34f8
KB
9942016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
995
996 * vla-type.exp: Print structure from toplevel.
997
8f07e298
BH
9982016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
999
1000 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
1001 of dynamic types.
1002 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
1003 of dynamic types.
1004
9920b434
BH
10052016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1006
1007 * gdb.fortran/vla-type.f90: New file.
1008 * gdb.fortran/vla-type.exp: New file.
1009
f3abeff5
YQ
10102016-04-25 Yao Qi <yao.qi@linaro.org>
1011
1012 * gdb.base/branch-to-self.c: New file.
1013 * gdb.base/branch-to-self.exp: New file.
1014
0a5d52f0
YQ
10152016-04-22 Yao Qi <yao.qi@linaro.org>
1016
1017 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
1018 more after $hex.
1019
495346f6
YQ
10202016-04-22 Yao Qi <yao.qi@linaro.org>
1021
1022 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
1023 * gdb.base/annota3.exp: Likewise.
1024
4a7e075c
YQ
10252016-04-22 Yao Qi <yao.qi@linaro.org>
1026
1027 * gdb.reverse/step-precsave.exp: Do one step and test program
1028 stops in "callee" and do multiple steps until program goes out
1029 of "callee".
1030 * gdb.reverse/step-reverse.exp: Likewise.
1031
5b061e98
YQ
10322016-04-22 Yao Qi <yao.qi@linaro.org>
1033
1034 * gdb.trace/signal.exp: Also pass if
1035 $tracepoint_hits($i) > $iterations.
1036
5c5dc57f
YQ
10372016-04-22 Yao Qi <yao.qi@linaro.org>
1038
1039 * gdb.trace/signal.c: New file.
1040 * gdb.trace/signal.exp: New file.
1041
a55411b9
DE
10422016-04-19 Doug Evans <xdje42@gmail.com>
1043
1044 * gdb.base/bad-file.exp: New file.
1045
a22df60a
MG
10462016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
1047
1048 * gdb.dwarf2/implref.exp: New file.
1049
0c13f7e5
BH
10502016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1051
1052 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
1053 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
1054 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
1055 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
1056 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
1057 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
1058 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
1059 * lib/fortran.exp (fortran_int4): New procedure.
1060 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
1061 (fortran_logical4): Likewise.
1062
9b9b09e9
BH
10632016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
1064
1065 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
1066
a14d1f4d
BH
10672016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1068
1069 * lib/compiler.c: Add Intel specific preprocessor macros.
1070 * lib/compiler.cc: Likewise.
25d49b86 1071
7d49b1d0
LM
10722016-04-13 Luis Machado <lgustavo@codesourcery.com>
1073
1074 * gdb.server/connect-with-no-symbol-file.c: New file.
1075 * gdb.server/connect-with-no-symbol-file.exp: New file.
1076
8392fa22
SM
10772016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1078
1079 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
1080
8c4c4aeb
SM
10812016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1082
1083 * boards/gdbserver-base.exp (${board}_download): Copy source file to
1084 standard output directory.
1085
45e3745e
AT
10862016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
1087
1088 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
1089
e26b7e41
MM
10902016-04-13 Markus Metzger <markus.t.metzger@intel.com>
1091
1092 * gdb.btrace/instruction_history.c (loop): Add declaration.
1093
8ce09462
AT
10942016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1095
1096 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
1097
2e88a1ea
SM
10982016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
1099
1100 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
1101 parentheses to print.
1102 (continue_handler): Likewise.
1103
f48e22e3
SM
11042016-04-08 Simon Marchi <simon.marchi@ericsson.com>
1105
1106 * gdb.server/solib-list.exp: Remove is_remote check.
1107 Pass shlib= to gdb_compile. Don't link shared library with
1108 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
1109 Run binary filename through "readlink -f" on the target.
1110
096be756
PA
11112016-04-08 Pedro Alves <palves@redhat.com>
1112
1113 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
1114 interpreter filename as argument to gdbserver_spawn.
1115 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1116 Return empty if $last_loaded_file does not exist.
1117
06500533
JK
11182016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1119
1120 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
1121 * gdb.base/jit-main.c: Use exit after usage.
1122
2d35e871
JK
11232016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1124
1125 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
1126 GDBHISTSIZE prior to the tests.
1127 * gdb.base/gdbinit-history.exp: Likewise.
1128
11292016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
1130
1131 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
1132 instead of build_executable. Use gdb_load_shlibs.
1133
c8064e7e
YQ
11342016-04-07 Yao Qi <yao.qi@linaro.org>
1135
1136 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
1137 Execute "si" command.
1138
bde47561
YQ
11392016-04-07 Yao Qi <yao.qi@linaro.org>
1140
1141 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
1142 number instead of the comments on some line.
1143
b16f8a3b
DB
11442016-04-06 Don Breazeal <donb@codesourcery.com>
1145
1146 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
1147 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
1148
c2f901df
SM
11492016-04-06 Simon Marchi <simon.marchi@ericsson.com>
1150
1151 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
1152 standard_output_file. Remove unused binfile variable.
1153
ac17fda0
CU
11542016-04-05 Catalin Udma <catalin.udma@freescale.com>
1155
1156 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
1157 * gdb.python/py-mi-objfile.exp: Match "list main" output
1158 in console format.
1159
03a8c4df
SM
11602016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
1161
1162 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
1163 absolute.
1164
6e774b13
SM
11652016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1166
1167 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
1168 absolute.
1169 * gdb.trace/ftrace.exp: Likewise.
1170 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
1171 targets as well.
1172 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
1173 (gdb_load_shlibs): Copy libraries to test directory when testing
1174 natively. Only set solib-search-path if testing remotely.
1175 * lib/mi-support.exp (mi_load_shlibs): Likewise.
1176
7817ea46
SM
11772016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1178
1179 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
1180 gdb_download. Use it even if the target is not remote.
1181 * gdb.base/jit.exp (compile_jit_test): Likewise.
1182 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
1183 output directory if the destination board is local, otherwise use
1184 the standard remote_download from DejaGnu.
1185 (gdb_download): Remove.
1186 (gdb_load_shlibs): Use gdb_remote_download instead of
1187 gdb_download.
1188 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1189 Use gdb_remote_download instead of gdb_download. Use it even if
1190 the target is not remote.
1191 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
1192 instead of gdb_download.
1193
7beb7f68
SM
11942016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
1195
1196 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
1197 (test_insert_delete_modify): Call mi_load_shlibs before trying to
1198 run.
1199
cc63428a
AV
12002016-04-01 Artemiy Volkov <artemiyv@acm.org>
1201
1202 PR gdb/19820
1203 * gdb.base/printcmds.exp: Add artificial arrays tests.
1204
64cdf930
PA
12052016-03-31 Pedro Alves <palves@redhat.com>
1206
1207 PR gdb/19858
1208 * gdb.base/jit-main.c: Include unistd.h.
1209 (ATTACH): Define to 0 if not already defined.
1210 (wait_for_gdb, mypid): New globals.
1211 (WAIT_FOR_GDB): New macro.
1212 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1213 some breakpoint locations.
1214 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1215 New procedures.
1216 (one_jit_test): Add REATTACH parameter, and handle it. Use
1217 continue_to_test_location.
1218 (top level): Test attach, and adjusts calls to one_jit_test.
1219
40dea8cb
PA
12202016-03-31 Pedro Alves <palves@redhat.com>
1221
1222 PR gdb/19858
1223 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1224 BINSUFFIX parameter, and handle it.
1225 (top level): Adjust calls compile_jit_test.
1226
e7ea3ec7
CU
12272016-03-31 Catalin Udma <catalin.udma@freescale.com>
1228
1229 PR python/19743
1230 * gdb.python/py-mi-events-gdb.py: New file.
1231 * gdb.python/py-mi-events.c: New file.
1232 * gdb.python/py-mi-events.exp: New file.
1233
e6359af3
YQ
12342016-03-30 Yao Qi <yao.qi@linaro.org>
1235
1236 * gdb.reverse/until-precsave.exp: Match function name only.
1237 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1238 Move malloc to a condition block.
1239 * gdb.reverse/until-reverse.exp: Match function name only.
1240
a4105d04
MK
12412016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1242
1243 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1244 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1245 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1246 variable for GPR 0 instead of assuming it is register 0.
1247 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1248 * lib/trace-support.exp: Add s390 registers.
1249
bfa6adb9
YQ
12502016-03-29 Yao Qi <yao.qi@linaro.org>
1251
1252 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1253
1e6697ea
YQ
12542016-03-24 Yao Qi <yao.qi@linaro.org>
1255
1256 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1257 test message.
1258
64bcd522
AA
12592016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1260
1261 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1262 maintaining separate logic for constructing the output path.
1263
7868401b
DB
12642016-03-16 Don Breazeal <donb@codesourcery.com>
1265
1266 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1267 Retry fork and waitpid on interrupted system call errors.
1268 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1269 Use with_timeout_factor to increase timeout by factor of 10.
1270
1cafadb4
DB
12712016-03-15 Don Breazeal <donb@codesourcery.com>
1272
1273 * gdb.cp/scope-err.cc: New test program.
1274 * gdb.cp/scope-err.exp: New test script.
1275 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1276 lines and "set breakpoint here" comment.
1277 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1278 Fixed some whitespace and format issues.
1279 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1280 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1281
81516450
DE
12822016-03-15 Doug Evans <dje@google.com>
1283
1284 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1285 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1286 All callers updated. Add tests for enums, mixed flags register.
1287
aa52b601
DE
12882016-03-15 Doug Evans <dje@google.com>
1289
1290 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1291 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1292
fa4ff313
SM
12932016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1294
1295 * gdb.base/default.exp: Add $_as_string to the list of expected
1296 convenience functions.
1297
f2403c39
AB
12982016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1299
1300 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1301
f2f3ccb9
SM
13022016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1303
1304 * gdb.python/py-as-string.exp: New file.
1305 * gdb.python/py-as-string.c: New file.
1306
00dbd492
PA
13072016-03-09 Pedro Alves <palves@redhat.com>
1308
1309 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1310 signal" -> "Thread NN received signal" output change.
1311 * gdb.threads/ia64-sigill.exp: Likewise.
1312 * gdb.threads/linux-dp.exp: Likewise.
1313 * gdb.threads/manythreads.exp: Likewise.
1314 * gdb.threads/pending-step.exp: Likewise.
1315 * gdb.threads/print-threads.exp: Likewise.
1316 * gdb.threads/sigstep-threads.exp: Likewise.
1317 * gdb.threads/staticthreads.exp: Likewise.
1318 * gdb.threads/tls.exp: Likewise.
1319
1e6697ea
YQ
13202016-03-09 Pedro Alves <palves@redhat.com>
1321
1322 * gdb.base/command-line-input.exp: New file.
1323
b04fd3be
MK
13242016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1325
1326 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1327 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1328 * gdb.trace/pending.exp: Accept leading dot before function name.
1329 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1330 * lib/trace-support.exp: Set registers for ppc.
1331
98fa59e9
MK
13322016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1333
1334 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1335 use it for disassembly; accept .main in addition to main in backtrace.
1336
f77198c8
MK
13372016-03-09 Wei-cheng Wang <cole945@gmail.com>
1338 Marcin Kościelnicki <koriakin@0x04.net>
1339
1340 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1341 (gdb_recursion_test_ptr): New global variable.
1342 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1343 gdb_recursion_test.
1344 (gdb_c_test): Ditto.
1345
ba84e0da
MK
13462016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1347
1348 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1349 ordering.
1350
4366d36e
MK
13512016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1352
1353 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1354 (bar): Add bar_start_lbl label.
1355 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1356 of foo/bar for emitting DWARF and tracing.
1357
5eb264df
SDJ
13582016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1359
1360 * analyze-racy-logs.py: Set executable bit.
1361
fb6a751f
SDJ
13622016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1363
1364 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1365 (CHECK_TARGET_TMP): Likewise.
1366 (check-single-racy): New rule.
1367 (check-parallel-racy): Likewise.
1368 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1369 (do-check-parallel-racy): New rule.
1370 (check-racy/%.exp): Likewise.
1371 * README (Racy testcases): New section.
1372 * analyze-racy-logs.py: New file.
1373
bdf7e230
DE
13742016-03-03 Doug Evans <dje@google.com>
1375
1376 * gdb.base/skip.exp: Use with_test_prefix.
1377
4719d415
YQ
13782016-03-03 Yao Qi <yao.qi@linaro.org>
1379
1380 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1381 Invoke step_over_syscall "clone" and break_cond_on_syscall
1382 "clone".
1383 * gdb.base/step-over-clone.c: New file.
1384
ea507862
YQ
13852016-03-03 Yao Qi <yao.qi@linaro.org>
1386
1387 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1388 code format.
1389
8fc8cbda
YQ
13902016-03-03 Yao Qi <yao.qi@linaro.org>
1391
1392 * gdb.base/disp-step-fork.c: Rename to ...
1393 * gdb.base/step-over-fork.c: ... it. New file.
1394 * gdb.base/disp-step-vfork.c: Rename to ...
1395 * gdb.base/step-over-vfork.c: ... it. New file.
1396 * gdb.base/disp-step-syscall.exp: Rename to ...
1397 * gdb.base/step-over-syscall.exp: ... it. New file.
1398 (disp_step_cross_syscall): Rename to ...
1399 (step_over_syscall): ... it.
1400
92fa70b0
YQ
14012016-03-03 Yao Qi <yao.qi@linaro.org>
1402
1403 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1404 If target supports condition evaluation on target, invoke
1405 break_cond_on_syscall for fork and vfork.
1406
e197ad3c
YQ
14072016-03-03 Yao Qi <yao.qi@linaro.org>
1408
1409 * gdb.base/disp-step-syscall.exp: Don't invoke
1410 support_displaced_stepping.
1411 (disp_step_cross_syscall): Test with displaced stepping off and
1412 on if supported.
1413
0b47da9f
YQ
14142016-03-03 Yao Qi <yao.qi@linaro.org>
1415
1416 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1417 proc.
1418 (setup): New proc.
1419 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1420 and setup.
1421
065ab6dc
BH
14222016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1423
1424 * gdb.fortran/vla-history.exp: Remove breakpoint.
1425
07e448ad 14262016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1427
25d49b86
PA
1428 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1429 exceeds timeout.
07e448ad 1430
9ac2d526 14312016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1432
25d49b86
PA
1433 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1434 breakpoint.
9ac2d526 1435
17807369
BH
14362016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1437
1438 * gdb.mi/vla.f90: Nullify pointer after declaration.
1439
86e501af
PA
14402016-03-01 Pedro Alves <palves@redhat.com>
1441
1442 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1443
1e903e32
PA
14442016-03-01 Pedro Alves <palves@redhat.com>
1445
1446 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1447 before anything else.
1448 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1449 _GNU_SOURCE here.
1450 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1451 before anything else.
1452 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1453
6ccb54e2
PA
14542016-03-01 Pedro Alves <palves@redhat.com>
1455
1456 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1457
30ca9da1
YQ
14582016-03-01 Yao Qi <yao.qi@linaro.org>
1459
1460 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1461 prepare_for_testing.
1462
dc856b38
YQ
14632016-03-01 Yao Qi <yao.qi@linaro.org>
1464
1465 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1466
4a932159
AA
14672016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1468
1469 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1470 manually constructing the output path.
1471
f2489477
AA
14722016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1473
1474 * gdb.arch/s390-stackless.S: New.
1475 * gdb.arch/s390-stackless.exp: New.
1476
38899f16
IB
14772016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1478
1479 * gdb.dlang/circular.c: New file.
1480 * gdb.dlang/circular.exp: New file.
1481
9fde51ed
YQ
14822016-02-26 Yao Qi <yao.qi@linaro.org>
1483
1484 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1485 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1486 (testcases): Update.
1487
ce90fefe
YQ
14882016-02-26 Yao Qi <yao.qi@linaro.org>
1489
1490 * gdb.reverse/aarch64.c: Rename to ...
1491 * gdb.reverse/insn-reverse.c: ... it.
1492 * gdb.reverse/aarch64.exp: Rename to ...
1493 * gdb.reverse/insn-reverse.exp: ... it.
1494
3263bceb
YQ
14952016-02-26 Yao Qi <yao.qi@linaro.org>
1496
1497 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1498 (testcase_ftype): New.
1499 (testcases): New array.
1500 (n_testcases): New.
1501 (main): Call each element in testcases.
1502 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1503 (read_testcase): New.
1504 Do the tests in a loop.
1505
6cb59ff1
YQ
15062016-02-25 Yao Qi <yao.qi@linaro.org>
1507
1508 * gdb.base/branches.c: Remove.
1509
ae91f625
MK
15102016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1511
1512 PR gdb/13808
1513 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1514
678b48b7
MK
15152016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1516
1517 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1518
7337a6f2
MK
15192016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1520
1521 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1522 change x86_64 call_insn to 'callq'.
1523
861ca91f
AT
15242016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1525
1526 * gdb.trace/tfile-avx.c: Move to...
1527 * gdb.trace/tracefile-pseudo-reg.c: Here.
1528 * gdb.trace/tfile-avx.exp: Move to...
1529 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1530
bf74e428
GB
15312016-02-24 Gary Benson <gbenson@redhat.com>
1532
1533 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1534 message on attach.
1535
cce0e923
DE
15362016-02-23 Doug Evans <dje@google.com>
1537
1538 * gdb.base/skip.c (test_skip): New function.
1539 (end_test_skip_file_and_function): New function.
1540 (test_skip_file_and_function): New function.
1541 * gdb.base/skip1.c (test_skip): New function.
1542 (skip1_test_skip_file_and_function): New function.
1543 * gdb.base/skip.exp: Add tests for new skip options.
1544 * gdb.base/skip-solib.exp: Update expected output.
1545 * gdb.perf/skip-command.cc: New file.
1546 * gdb.perf/skip-command.exp: New file.
1547 * gdb.perf/skip-command.py: New file.
1548
4000e47e
MK
15492016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1550
1551 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1552 info registers pattern.
1553
24f75ead
IB
15542016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1555
1556 * lib/future.exp: Add D support.
1557 (gdb_find_gdc): New proc.
1558 (gdb_default_target_compile): Add D support.
1559
fbb7bcbe
WW
15602016-02-18 Wei-cheng Wang <cole945@gmail.com>
1561
1562 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1563 user+system time.
1564 (trace_speed_test): Determine the iteration count for a time
1565 between 15..30 seconds.
1566
012b3a21
WT
15672016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1568
1569 * gdb.arch/i386-mpx-sigsegv.c: New file.
1570 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1571 * gdb.arch/i386-mpx-simple_segv.c: New file.
1572 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1573
2d5189bd
YQ
15742016-02-18 Yao Qi <yao.qi@linaro.org>
1575
1576 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1577 Don't call setup_kfail.
1578
40fb20d0
YQ
15792016-02-18 Yao Qi <yao.qi@linaro.org>
1580
1581 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1582 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1583
21b1f8d2
DE
15842016-02-16 Doug Evans <dje@google.com>
1585
1586 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1587 * gdb.base/skip1.c: Ditto.
1588 * gdb.base/skip.exp: Whitespace cleanup.
1589
4041ed77
DB
15902016-02-16 Don Breazeal <donb@codesourcery.com>
1591
1592 PR remote/19496
1593 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1594 Remove kfail for PR remote/19496.
1595
c4ef31bf
SM
15962016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1597
1598 * lib/gdb.exp (standard_temp_file): Return a path specific to
1599 the runtest invocation.
1600
266b65b3
SM
16012016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1602
1603 * gdb.trace/save-trace.exp: Change relative path to be in the
1604 standard output directory.
1605
a7a0a6a9
JK
16062016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1607
1608 * gdb.arch/i386-prologue.c: Add missing prototypes.
1609
c99dbb42
JK
16102016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1611
1612 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1613 * gdb.arch/i386-prologue.exp: Likewise.
1614 * gdb.arch/i386-size.exp: Likewise.
1615
aa480355
SM
16162016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1617
1618 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1619 define object file path.
1620 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1621 file path.
1622 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1623 standard_output_file to define binfile.
1624
ba881f50
JK
16252016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1626
1627 Fix compatibility with recent gfortran-5.3.1.
1628 * gdb.fortran/vla-history.exp (print vla1 allocated)
1629 (print vla2 allocated, print $2, print $3): Remove
1630 (print $4): Rename to ...
1631 (print $2): ... here.
1632 (print $9): Rename to ...
1633 (print $5): ... here.
1634 (print $10): Rename to ...
1635 (print $6): ... here.
1636 * gdb.fortran/vla.f90: Add pvla initialization.
1637
e9fb005c
JK
16382016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1639
1640 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1641 New test.
1642 * gdb.fortran/vla-value-sub.exp: Likewise.
1643
e44e00ff
MK
16442016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1645
1646 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1647
97e94151
SM
16482016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1649
1650 * i386-biarch-core.exp: Define corefile using
1651 standard_output_file.
1652
01113bc1
YQ
16532016-02-12 Yao Qi <yao.qi@linaro.org>
1654
1655 * gdb.arch/arm-single-step-kernel-helper.c: New.
1656 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1657
33b4777c
MM
16582016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1659
1660 * gdb.btrace/tailcall-only.exp: New.
1661 * gdb.btrace/tailcall-only.c: New.
1662 * gdb.btrace/x86_64-tailcall-only.S: New.
1663 * gdb.btrace/i686-tailcall-only.S: New.
1664
acc23c11
PA
16652016-02-11 Pedro Alves <palves@redhat.com>
1666
1667 * README (Parallel testing): Add missing double quotes.
1668
e352bf0a
PA
16692016-02-11 Pedro Alves <palves@redhat.com>
1670
1671 * README (Parallel testing): New section.
1672 (GDB_PARALLEL): Rewrite.
1673 (FORCE_PARALLEL): Document.
1674
9f5fed78
MK
16752016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1676
1677 * gdb.trace/tfile-avx.c: New test.
1678 * gdb.trace/tfile-avx.exp: New test.
1679
9ef9e6a6
KS
16802016-02-09 Keith Seitz <keiths@redhat.com>
1681
1682 PR breakpoints/19546
1683 * gdb.base/infcall-exec.c: New file.
1684 * gdb.base/infcall-exec2.c: New file.
1685 * gdb.base/infcall-exec.exp: New file.
1686
a96e36da
KS
16872016-02-09 Keith Seitz <keiths@redhat.com>
1688
1689 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1690 (toplevel): Call test_bkpt_address.
1691
9f61929f
KS
16922016-02-09 Keith Seitz <keiths@redhat.com>
1693
1694 PR python/19506
1695 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1696 (toplevel): Call test_bkpt_address.
1697
1e94266c
SM
16982016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1699
1700 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1701 to AC_OUTPUT.
1702 * configure: Regenerate.
1703
2a7f3dff
PA
17042016-02-09 Pedro Alves <palves@redhat.com>
1705
1706 PR breakpoints/19548
1707 * gdb.base/execl-update-breakpoints.c (some_function): New
1708 function.
1709 (main): Call it.
1710 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1711 Tighten expected GDB output.
1712
2151ccc5
SM
17132016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1714
1715 * Makefile.in (ALL_SUBDIRS): Remove.
1716 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1717 (distclean maintainer-clean realclean): Likewise.
1718 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1719 * configure: Regenerate.
1720 * gdb.ada/Makefile.in: Delete.
1721 * gdb.arch/Makefile.in: Likewise.
1722 * gdb.asm/Makefile.in: Likewise.
1723 * gdb.base/Makefile.in: Likewise.
1724 * gdb.btrace/Makefile.in: Likewise.
1725 * gdb.cell/Makefile.in: Likewise.
1726 * gdb.compile/Makefile.in: Likewise.
1727 * gdb.cp/Makefile.in: Likewise.
1728 * gdb.disasm/Makefile.in: Likewise.
1729 * gdb.dlang/Makefile.in: Likewise.
1730 * gdb.dwarf2/Makefile.in: Likewise.
1731 * gdb.fortran/Makefile.in: Likewise.
1732 * gdb.gdb/Makefile.in: Likewise.
1733 * gdb.go/Makefile.in: Likewise.
1734 * gdb.guile/Makefile.in: Likewise.
1735 * gdb.java/Makefile.in: Likewise.
1736 * gdb.linespec/Makefile.in: Likewise.
1737 * gdb.mi/Makefile.in: Likewise.
1738 * gdb.modula2/Makefile.in: Likewise.
1739 * gdb.multi/Makefile.in: Likewise.
1740 * gdb.objc/Makefile.in: Likewise.
1741 * gdb.opencl/Makefile.in: Likewise.
1742 * gdb.opt/Makefile.in: Likewise.
1743 * gdb.pascal/Makefile.in: Likewise.
1744 * gdb.perf/Makefile.in: Likewise.
1745 * gdb.python/Makefile.in: Likewise.
1746 * gdb.reverse/Makefile.in: Likewise.
1747 * gdb.server/Makefile.in: Likewise.
1748 * gdb.stabs/Makefile.in: Likewise.
1749 * gdb.threads/Makefile.in: Likewise.
1750 * gdb.trace/Makefile.in: Likewise.
1751 * gdb.xml/Makefile.in: Likewise.
1752 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1753 GDB_PARALLEL.
1754 (standard_output_file): Remove check for GDB_PARALLEL, always
1755 return path in outputs/$subdir/$testname.
1756
437277d4
SM
17572016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1758
1759 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1760 (site.exp): Assign abs_srcdir to tcl's srcdir.
1761
31d913c7
YQ
17622016-02-04 Yao Qi <yao.qi@linaro.org>
1763
1764 * gdb.base/foll-exec-mode.c: Include limits.h.
1765 (main): Add parameters argc and argv. Get directory from
1766 argv[0].
1767 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1768 compilation.
1769 * gdb.base/foll-exec.c: Include limits.h.
1770 (main): Add parameters argc and argv.
1771 Get directory from argv[0].
1772 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1773 Adjust tests on the number of lines as source code changed.
1774 * gdb.base/foll-vfork-exit.c: Include limits.h.
1775 (main): Add one line of statement before vfork.
1776 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1777 (main): Add parameters argc and argv. Get directory from
1778 argv[0].
1779 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1780 (setup_gdb): Set tbreak to skip some source lines.
1781 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1782 (main): Add parameters argc and argv. Get directory from
1783 argv[0].
1784 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1785 compilation.
1786 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1787 (main): Add parameters argc and argv. Get directory from
1788 argv[0].
1789 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1790 compilation.
1791
9482b9fb
DE
17922016-02-01 Doug Evans <dje@google.com>
1793
1794 * gdb.base/skip.exp: Clean up multiple references to same test name.
1795
6b2e4f10
PA
17962016-02-01 Pedro Alves <palves@redhat.com>
1797
ccb6afd6 1798 PR remote/19496
6b2e4f10
PA
1799 * gdb.threads/forking-threads-plus-breakpoint.exp
1800 (displaced_stepping_supported): New global.
1801 (probe_displaced_stepping_support): New procedure.
1802 (do_test): Add 'displaced' parameter, and use it.
1803 (top level): Check for displaced stepping support. Add displaced
1804 stepping on/off testing axis.
1805
37a8db1a
AB
18062016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1807
1808 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1809 pointer. Don't perform further tests on the unassociated pointer
1810 if the first test fails.
1811
5fdf6324
AB
18122016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1813
1814 * gdb.base/max-value-size.c: New file.
1815 * gdb.base/max-value-size.exp: New file.
1816 * gdb.base/huge.exp: Disable max-value-size for this test.
1817
935c6144
IB
18182016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1819
1820 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1821
7fe8399d
YQ
18222016-01-28 Yao Qi <yao.qi@linaro.org>
1823
1824 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1825
a2077e25
PA
18262016-01-25 Pedro Alves <palves@redhat.com>
1827
1828 PR threads/19461
1829 * gdb.base/fork-running-state.c: New file.
1830 * gdb.base/fork-running-state.exp: New file.
1831
1d2736d4
PA
18322016-01-25 Pedro Alves <palves@redhat.com>
1833
1834 PR gdb/19494
1835 * gdb.base/catch-fork-kill.c: New file.
1836 * gdb.base/catch-fork-kill.exp: New file.
1837
f1da4b11
PA
18382016-01-25 Pedro Alves <palves@redhat.com>
1839
1840 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1841 Delete, moved to lib/gdb.exp.
1842 * gdb.threads/forking-threads-plus-breakpoint.exp
1843 (foreach_with_prefix): Likewise.
1844 * gdb.threads/process-dies-while-handling-bp.exp
1845 (foreach_with_prefix): Likewise.
1846 * lib/gdb.exp (foreach_with_prefix): New procedure.
1847
45f38546
MK
18482016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1849
1850 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1851 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1852
dc29a1ce
MK
18532016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1854
1855 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1856 endian targets.
1857
092127d7
JK
18582016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1859 Pedro Alves <palves@redhat.com>
1860
1861 Fix testsuite compatibility with Guile.
1862 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1863 number.
1864
31d765d3
JK
18652016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1866
1867 Fix testsuite compatibility with Guile.
1868 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1869 (thread 1): New test for backtrace through signal handler.
1870
1ac78c04
YQ
18712016-01-22 Yao Qi <yao.qi@linaro.org>
1872
1873 PR testsuite/19491
1874 * gdb.base/multi-forks.c: Include
1875 ../lib/unbuffer_output.c
1876 (main): Call gdb_unbuffer_output.
1877
4f5946a8
DE
18782016-01-21 Doug Evans <dje@google.com>
1879
1880 * lib/ada.exp (gdb_compile_ada): Fix typo.
1881
305e13e6
JB
18822016-01-21 Joel Brobecker <brobecker@adacore.com>
1883
1884 * gdb.base/break-fun-addr.exp: New file.
1885 * gdb.base/break-fun-addr1.c: New file.
1886 * gdb.base/break-fun-addr2.c: New file.
1887
5f5dfff6
SM
18882016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1889
1890 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1891 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1892 enum flag values.
1893
fd356fa2
AA
18942016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1895
1896 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1897 when GDB can not set the vector return value. Add more comments
1898 for clarification.
1899
9df22175
AT
19002016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1901
1902 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1903 command.
1904
41d1845e
SM
19052016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1906
1907 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1908
01ac6840
SM
19092016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1910
1911 * Makefile.in (check-single): Pass --status to runtest.
1912 (check/%.exp): Likewise.
1913
19142016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1915
1916 * Makefile.in (check-parallel): Propagate return code from make
1917 do-check-parallel.
1918
bd0a71fa
MK
19192016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1920
1921 * gdb.trace/ftrace.exp: Fix expected message on continue.
1922 * gdb.trace/pending.exp: Fix expected message on continue.
1923 * gdb.trace/trace-break.exp: Fix expected message on continue.
1924
8bcbad33
SM
19252016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1926
1927 * lib/gdb.exp (gdb_test): Remove unused global references.
1928
f303dbd6
PA
19292016-01-18 Pedro Alves <palves@redhat.com>
1930
1931 * gdb.base/async-shell.exp: Adjust expected output.
1932 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1933 * gdb.base/siginfo-thread.exp: Adjust expected output.
1934 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1935 * gdb.java/jnpe.exp: Adjust expected output.
1936 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1937 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1938 * gdb.threads/leader-exit.exp: Adjust expected output.
1939 * gdb.threads/manythreads.exp: Adjust expected output.
1940 * gdb.threads/pthreads.exp: Adjust expected output.
1941 * gdb.threads/schedlock.exp: Adjust expected output.
1942 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1943 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1944 expected output.
1945 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1946 output.
1947 * gdb.threads/sigthread.exp: Adjust expected output.
1948 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1949
b2789696
YQ
19502016-01-18 Yao Qi <yao.qi@linaro.org>
1951
1952 * gdb.guile/scm-section-script.c: Replace @progbits with
1953 %progbits.
1954 * gdb.python/py-section-script.c: Likewise.
1955
71ef29a8
PA
19562016-01-15 Pedro Alves <palves@redhat.com>
1957
1958 * gdb.multi/tids.exp: Test star wildcard ranges.
1959
3f5b7598
PA
19602016-01-15 Pedro Alves <palves@redhat.com>
1961
1962 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1963 command from "thread apply" invocation.
1964 (thr_apply_info_thr_invalid): Default the expected output to the
1965 input tid list.
1966 (top level): Add tests that use convenience variables. Add tests
1967 for "thread apply" with a valid TID list, but missing the command.
1968
663f6d42
PA
19692016-01-13 Pedro Alves <palves@redhat.com>
1970
1971 * gdb.base/default.exp: Expect $_gthread as well.
1972 * gdb.multi/tids.exp: Test $_gthread.
1973 * gdb.threads/thread-specific.exp: Test $_gthread.
1974
c84f6bbf
PA
19752016-01-13 Pedro Alves <palves@redhat.com>
1976
1977 * gdb.multi/tids.exp: Test "info threads -gid".
1978
22a02324
PA
19792016-01-13 Pedro Alves <palves@redhat.com>
1980
1981 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1982 Breakpoint.thread.
1983 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1984
5d5658a1
PA
19852016-01-07 Pedro Alves <palves@redhat.com>
1986
1987 * gdb.base/break.exp: Adjust to output changes.
1988 * gdb.base/hbreak2.exp: Likewise.
1989 * gdb.base/sepdebug.exp: Likewise.
1990 * gdb.base/watch_thread_num.exp: Likewise.
1991 * gdb.linespec/keywords.exp: Likewise.
1992 * gdb.multi/info-threads.exp: Likewise.
1993 * gdb.threads/thread-find.exp: Likewise.
1994 * gdb.multi/tids.c: New file.
1995 * gdb.multi/tids.exp: New file.
1996
84654457
PA
19972016-01-13 Pedro Alves <palves@redhat.com>
1998
1999 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
2000
e3940304
PA
20012016-01-13 Pedro Alves <palves@redhat.com>
2002
2003 * gdb.base/default.exp: Expect $_inferior as well.
2004 * gdb.multi/base.exp: Test $_inferior.
2005
a911d87a
PA
20062016-01-13 Pedro Alves <palves@redhat.com>
2007
2008 PR breakpoints/19388
2009 * gdb.base/catch-signal-siginfo-cond.c: New file.
2010 * gdb.base/catch-signal-siginfo-cond.exp: New file.
2011
82075af2
JS
20122016-01-12 Josh Stone <jistone@redhat.com>
2013 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2014
2015 * gdb.base/catch-syscall.c (do_execve): New variable.
2016 (main): Conditionally trigger an execve.
2017 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
2018 (test_catch_syscall_execve): New, check entry/return across execve.
2019 (do_syscall_tests): Call test_catch_syscall_execve.
2020
e46eeedd
PA
20212016-01-12 Pedro Alves <palves@redhat.com>
2022
2023 * gdb.base/random-signal.exp (do_test): New procedure, with body
2024 of testcase moved in.
2025
01d8c27e
JK
20262016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2027 Pedro Alves <palves@redhat.com>
2028
2029 * gdb.base/funcargs.exp (finish from indirectly called function):
2030 Reintroduce the case for 'First'.
2031
9a706302
JK
20322016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2033 Pedro Alves <palves@redhat.com>
2034
2035 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
2036 (tcatch_vfork_then_child_follow_exec)
2037 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
2038 identification.
2039
c0ecb95f
JK
20402016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2041
2042 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
2043 and repeats to unlimited.
2044 * gdb.python/py-value.exp: Likewise.
2045 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
2046 and repeats to unlimited.
2047
6cfc1fcb
JK
20482016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2049
2050 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
2051 and reordering the functions.
2052 * gdb.multi/hangout.c: Likewise.
2053 * gdb.multi/hello.c: Likewise.
2054
582a1b00
SM
20552016-01-08 Simon Marchi <simon.marchi@ericsson.com>
2056
2057 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
2058 absolute.
2059 (SingleStatisticTestResult.report): Use dict.keys instead of
2060 dict.iterkeys.
2061
79bc59cb
PA
20622016-01-06 Pedro Alves <palves@redhat.com>
2063
2064 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
2065
43368e1d
MM
20662016-01-04 Markus Metzger <markus.t.metzger@intel.com>
2067
2068 * gdb.btrace/dlopen.exp: New.
2069 * gdb.btrace/dlopen.c: New.
2070 * gdb.btrace/dlopen-dso.c: New.
2071
79fad5b8
SL
20722015-12-25 Sandra Loosemore <sandra@codesourcery.com>
2073
2074 * lib/gdb.exp (gdb_test): Update comments to clarify that the
2075 PATTERN argument is optional.
2076
ab8314b3
JB
20772015-12-24 Joel Brobecker <brobecker@adacore.com>
2078
2079 * lib/ada.exp (target_compile_ada_from_dir): New function.
2080 (gdb_compile_ada): Reimplement avoiding the use of project files.
2081 * gdb.ada/gnat_ada.gpr: Delete.
2082 * gdb.ada/cond_lang.exp: Adjust test to make path before
2083 filename optional.
2084 * gdb.ada/small_reg_param.exp: Likewise.
2085
fe33faff
SM
20862015-12-22 Simon Marchi <simon.marchi@ericsson.com>
2087
2088 * gdb.base/foll-vork.exp: Remove HP-UX special case.
2089
6d265cb4
TP
20902015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
2091
2092 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
2093 case.
2094
10125099
SM
20952015-12-21 Simon Marchi <simon.marchi@ericsson.com>
2096
2097 * gdb.base/break.exp: Remove dead code.
2098 * gdb.base/sepdebug.exp: Likewise.
2099
3ca22649
SM
21002015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2101
2102 * gdb.asm/asm-source.exp: Remove HP-UX references.
2103 * gdb.base/annota1.exp: Likewise.
2104 * gdb.base/annota3.exp: Likewise.
2105 * gdb.base/attach.exp: Likewise.
2106 * gdb.base/bigcore.exp: Likewise.
2107 * gdb.base/break.exp: Likewise.
2108 * gdb.base/call-ar-st.exp: Likewise.
2109 * gdb.base/callfuncs.exp: Likewise.
2110 * gdb.base/catch-fork-static.exp: Likewise.
2111 * gdb.base/display.exp: Likewise.
2112 * gdb.base/foll-exec-mode.exp: Likewise.
2113 * gdb.base/foll-exec.exp: Likewise.
2114 * gdb.base/foll-fork.exp: Likewise.
2115 * gdb.base/foll-vfork.exp: Likewise.
2116 * gdb.base/funcargs.exp: Likewise.
2117 * gdb.base/hbreak2.exp: Likewise.
2118 * gdb.base/inferior-died.exp: Likewise.
2119 * gdb.base/interrupt.exp: Likewise.
2120 * gdb.base/multi-forks.exp: Likewise.
2121 * gdb.base/nodebug.exp: Likewise.
2122 * gdb.base/sepdebug.exp: Likewise.
2123 * gdb.base/solib1.c: Likewise.
2124 * gdb.base/step-test.exp: Likewise.
2125 * gdb.mi/non-stop.c: Likewise.
2126 * gdb.mi/pthreads.c: Likewise.
2127 * gdb.multi/bkpt-multi-exec.ex: Likewise.
2128 * gdb.threads/pthreads.c: Likewise.
2129 * gdb.threads/staticthreads.exp: Likewise.
2130 * lib/future.exp: Likewise.
2131 * lib/gdb.exp: Likewise.
2132 * gdb.base/so-indr-cl.c: Remove.
2133 * gdb.base/so-indr-cl.exp: Likewise.
2134 * gdb.base/solib.c: Likewise.
2135 * gdb.base/solib.exp: Likewise.
2136 * gdb.base/solib2.c: Likewise.
2137
b6304613
SM
21382015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2139
2140 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
2141 * gdb.base/call-ar-st.exp: Likewise.
2142 * gdb.base/callfuncs.exp: Likewise.
2143 * gdb.base/condbreak.exp: Likewise.
2144 * gdb.base/constvars.exp: Likewise.
2145 * gdb.base/hbreak2.exp: Likewise.
2146 * gdb.base/langs.exp: Likewise.
2147 * gdb.base/list.exp: Likewise.
2148 * gdb.base/long_long.exp: Likewise.
2149 * gdb.base/ptype.exp: Likewise.
2150 * gdb.base/scope.exp: Likewise.
2151 * gdb.base/signals.exp: Likewise.
2152 * gdb.base/so-impl-ld.exp: Likewise.
2153 * gdb.base/varargs.exp: Likewise.
2154 * gdb.base/volatile.exp: Likewise.
2155 * gdb.base/whatis.exp: Likewise.
2156 * gdb.cp/cplusfuncs.exp: Likewise.
2157 * gdb.cp/inherit.exp: Likewise.
2158 * gdb.cp/local.exp: Likewise.
2159 * gdb.cp/member-ptr.exp: Likewise.
2160 * gdb.cp/method.exp: Likewise.
2161 * gdb.cp/overload.exp: Likewise.
2162 * gdb.cp/templates.exp: Likewise.
2163 * gdb.stabs/weird.exp: Likewise.
2164 * lib/compiler.c: Likewise.
2165 * lib/compiler.cc: Likewise.
2166 * lib/cp-support.exp: Likewise.
2167 * lib/gdb.exp: Likewise.
2168
bf401b07
SM
21692015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
2170
2171 * configure.ac: Remove HP-UX case.
2172 * configure: Regenerate.
2173
aff9c0f8
SM
21742015-12-18 Simon Marchi <simon.marchi@ericsson.com>
2175
2176 * lib/gdb.exp (gdb_compile): Add function doc.
2177
a6904d5a
PA
21782015-12-17 Pedro Alves <palves@redhat.com>
2179
2180 PR threads/19354
2181 * gdb.multi/info-threads.exp: New file.
2182
a22279dd
YQ
21832015-12-15 Yao Qi <yao.qi@linaro.org>
2184
2185 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
2186 is aarch64*-*-*.
2187
0588c796
SL
21882015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2189
2190 * gdb.base/history-duplicates.exp: Skip if no readline support.
2191
5d978e17
SL
21922015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2193
2194 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
2195
7e763b86
SL
21962015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2197
2198 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
2199
87a3a92c
SL
22002015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2201
2202 * gdb.base/completion.exp: Skip tests that interrupt GDB with
2203 ctrl-C if nointerrupts target property is set.
2204 * gdb.base/double-prompt-target-event-error.exp: Likewise.
2205 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
2206 * gdb.base/paginate-bg-execution.exp: Likewise.
2207 * gdb.base/paginate-execution-startup.exp: Likewise.
2208 * gdb.base/random-signal.exp: Likewise.
2209 * gdb.base/range-stepping.exp: Likewise.
2210 * gdb.cp/annota2.exp: Likewise.
2211 * gdb.cp/annota3.exp: Likewise.
2212 * gdb.gdb/selftest.exp: Likewise.
2213 * gdb.threads/continue-pending-status.exp: Likewise.
2214 * gdb.threads/leader-exit.exp: Likewise.
2215 * gdb.threads/manythreads.exp: Likewise.
2216 * gdb.threads/pthreads.exp: Likewise.
2217 * gdb.threads/schedlock.exp: Likewise.
2218 * gdb.threads/sigthread.exp: Likewise.
2219
a8f077dc
DB
22202015-12-11 Don Breazeal <donb@codesourcery.com>
2221
2222 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2223 remote.
2224 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2225 * gdb.base/foll-exec.exp (main): Enable for target remote.
2226 * gdb.base/foll-fork.exp (main): Likewise.
2227 * gdb.base/foll-vfork.exp (main): Likewise.
2228 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2229 (proc continue_to_exit_bp_loc): Use clean_restart.
2230 * gdb.base/pie-execl.exp (main): Disable for target remote.
2231 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2232 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2233 * gdb.threads/execl.exp (main): Likewise.
2234 * gdb.threads/fork-child-threads.exp (main): Likewise.
2235 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2236 remote.
2237 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2238 remote.
2239 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2240 pid.tid style ptids, instead of just tid.
2241 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2242 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2243 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2244 ptids, instead of just tid.
2245
3b2464a8
AB
22462015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2247
2248 * gdb.base/list.exp (test_list_forward): Add end of file error
2249 test.
2250 (test_repeat_list_command): Add end of file error test.
2251 (test_list_backwards): Add beginning of file error test.
2252
a0def019
AB
22532015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2254
2255 * gdb.base/list.exp (test_list_invalid_args): New function,
2256 defined, and called.
2257
5c000dff
AB
22582015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2259
2260 * gdb.base/list.exp (test_list): Make test names unique.
2261
f1637ebe
YQ
22622015-12-11 Yao Qi <yao.qi@linaro.org>
2263
2264 * gdb.base/coremaker2.c: Remove.
2265
36d6fc0a
PA
22662015-12-10 Pedro Alves <palves@redhat.com>
2267
2268 * gdb.multi/base.exp: Remove stale "spaces" references.
2269
762f7747
PA
22702015-12-10 Pedro Alves <palves@redhat.com>
2271
2272 * gdb.multi/base.exp: Don't use nowarnings.
2273 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2274 * gdb.multi/hangout.c: Include stdio.h.
2275 * gdb.multi/hello.c: Include stdlib.h.
2276 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2277 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2278 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2279
28d2bfb9
AB
22802015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2281
2282 * gdb.dwarf2/dw2-ranges-base.c: New file.
2283 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2284 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2285 support additional line table, and debug ranges generation.
2286 (Dwarf::ranges): New function, generate .debug_ranges.
2287 (Dwarf::lines): Support generating simple line table programs.
2288 (Dwarf::assemble): Initialise new namespace variables.
2289
5fc2beac
KB
22902015-12-09 Kevin Buettner <kevinb@redhat.com>
2291
2292 * gdb.base/async.exp (proc test_background): Add case for
2293 asynchronous execution not supported.
2294
1c35a88f
LM
22952015-12-09 Luis Machado <lgustavo@codesourcery.com>
2296
2297 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2298 format and change test names to make them unique.
2299
b593e3d9
RK
23002015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2301 Pedro Alves <pedro@redhat.com>
2302
2303 PR gdb/18702
2304 Add checking of floatformats setup on x86_64 hosts.
2305 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2306 (smallval, bigval): New labels/constants.
2307 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2308 float" after loading bigval and smallval.
2309
d72413e6
PMR
23102015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2311
2312 * gdb.ada/fun_overload_menu.exp: New testcase.
2313 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2314
ece66d65
JS
23152015-12-04 Josh Stone <jistone@redhat.com>
2316
2317 * gdb.base/catch-fork-static.exp: New.
2318
41d0efca
YQ
23192015-12-03 Yao Qi <yao.qi@linaro.org>
2320
2321 * gdb.base/sizeof.c: Don't include stdio.h and
2322 ../lib/unbuffer_output.c.
2323 (main): New variable 'size' and 'value'. Remove printf and
2324 gdb_unbuffer_output. Assign return value to size and value.
2325 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2326 at the beginning.
2327 (check_sizeof): Check the result by printing variable 'size'.
2328 (check_valueof): Check the result by printing variable 'value'.
2329
99fd02d9
YQ
23302015-12-01 Yao Qi <yao.qi@linaro.org>
2331
2332 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2333 for aarch64*-*-linux* target.
2334
f2faf941
PA
23352015-11-30 Pedro Alves <palves@redhat.com>
2336
2337 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2338
04bf20c5
PA
23392015-11-30 Pedro Alves <palves@redhat.com>
2340
2341 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2342 Handle non-stop mode vCont replies.
2343
09df4675
PA
23442015-11-30 Pedro Alves <palves@redhat.com>
2345
2346 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2347 prepare_for_testing. Start gdb with "set non-stop on" appended to
2348 GDBFLAGS. Lax expected stop output.
2349
58b584af
YQ
23502015-11-27 Yao Qi <yao.qi@linaro.org>
2351
2352 * gdb.arch/arm-neon.exp: New.
2353 * gdb.arch/arm-neon.c: New.
2354
dfcb77a8
YQ
23552015-11-27 Yao Qi <yao.qi@linaro.org>
2356
2357 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2358
88e8ec1b
YQ
23592015-11-27 Yao Qi <yao.qi@linaro.org>
2360
2361 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2362 frames-invalid annotation.
2363
bfde72c2
YQ
23642015-11-27 Yao Qi <yao.qi@linaro.org>
2365
2366 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2367
f6512a69
SM
23682015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2369
2370 * gdb.threads/names.exp: New file.
2371 * gdb.threads/names.c: New file.
2372 * README: Mention gdb,no_thread_names.
2373
46a3515b
MM
23742015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2375
2376 PR 19297
2377 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2378 support" error.
2379
62147a22
PA
23802015-11-24 Pedro Alves <palves@redhat.com>
2381
2382 PR 17539
2383 * gdb.base/display.exp: Expect displays to be sorted in ascending
2384 order. Use multi_line.
2385 * gdb.base/solib-display.exp: Likewise.
2386
2f341b6e
PA
23872015-11-24 Pedro Alves <palves@redhat.com>
2388
2389 PR 17539
25d49b86
PA
2390 * gdb.base/display.exp: Expect displays to be sorted in ascending
2391 order. Use multi_line.
2392 * gdb.base/solib-display.exp: Likewise.
2f341b6e 2393
7e0aa6aa
PA
23942015-11-24 Pedro Alves <palves@redhat.com>
2395
2396 PR 17539
2397 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2398 threads in ascending order.
2399 * gdb.base/foll-fork.exp: Likewise.
2400 * gdb.base/foll-vfork.exp: Likewise.
2401 * gdb.base/multi-forks.exp: Likewise.
2402 * gdb.mi/mi-nonstop.exp: Likewise.
2403 * gdb.mi/mi-nsintrall.exp: Likewise.
2404 * gdb.multi/base.exp: Likewise.
2405 * gdb.multi/multi-arch.exp: Likewise.
2406 * gdb.python/py-inferior.exp: Likewise.
2407 * gdb.threads/break-while-running.exp: Likewise.
2408 * gdb.threads/execl.exp: Likewise.
2409 * gdb.threads/gcore-thread.exp: Likewise.
2410 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2411 * gdb.threads/kill.exp: Likewise.
2412 * gdb.threads/linux-dp.exp: Likewise.
2413 * gdb.threads/multiple-step-overs.exp: Likewise.
2414 * gdb.threads/next-bp-other-thread.exp: Likewise.
2415 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2416 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2417 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2418 * gdb.threads/thread-find.exp: Likewise.
2419 * gdb.threads/tls.exp: Likewise.
2420 * lib/mi-support.exp (mi_reverse_list): Delete.
2421 (mi_check_thread_states): No longer reverse list.
2422
2cc57ad8
PA
24232015-11-24 Pedro Alves <palves@redhat.com>
2424
2425 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2426 use lowercase.
2427
c93e8391
SM
24282015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2429
2430 * gdb.trace/actions.c: Include trace-common.h.
2431 (main): Add a location for a fast tracepoint.
2432 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2433 the normal tracepoints.
2434 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2435
045ccf91
SM
24362015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2437
2438 * save-trace.exp: Factor out code to these...
2439 (gdb_save_tracepoints): New.
2440 (gdb_load_tracepoints): New.
2441 (do_save_load_test): New.
2442
5506f9f6
KB
24432015-11-23 Kevin Buettner <kevinb@redhat.com>
2444
2445 * gdb.base/asmlabel.exp: New test.
2446 * gdb.base/asmlabel.c: New test case.
2447
16c3b12f
JB
24482015-11-23 Joel Brobecker <brobecker@adacore.com>
2449
2450 * gdb.base/wrong_frame_bt_full-main.c: New file.
2451 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2452 * gdb.base/wrong_frame_bt_full.exp: New file.
2453
155bfbd3
JB
24542015-11-23 Joel Brobecker <brobecker@adacore.com>
2455
2456 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2457
bb097445
JM
24582015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2459
206853a0 2460 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
2461 pstate register when comparing registers values in
2462 sparc64-*-linux-gnu targets to avoid spurious differences.
2463
9c88ed8f
JM
24642015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2465
206853a0 2466 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 2467
96161e25
SL
24682015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2469
2470 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2471 as type argument to gdb_compile.
2472 * gdb.base/nested-subp2.exp: Likewise.
2473 * gdb.base/nested-subp3.exp: Likewise.
2474
340c2830
DV
24752015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2476
2477 * lib/dwarf.exp (_note): Fix left shift of negative value.
2478 * gdb.trace/trace-condition.exp: Likewise.
2479
c1862d0f
YQ
24802015-11-13 Yao Qi <yao.qi@linaro.org>
2481
2482 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2483 comments about d10v.
2484 (test_scalar_returns): Likewise.
2485 * gdb.base/d10v.ld: Remove.
2486 * gdb.base/overlays.exp: Remove the target triplet checking for
2487 d10v-*-*.
2488 * gdb.base/structs.exp (test_struct_returns): Remove the
2489 comments about d10v.
2490 (test_struct_calls): Likewise.
2491
77ae9c19
YQ
24922015-11-13 Yao Qi <yao.qi@linaro.org>
2493
2494 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2495 * gdb.base/gnu_vector.c: Don't include stdio.h.
2496 (main): Don't print res and call add_some_intvecs.
2497
430e004e
MK
24982015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2499
2500 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2501 macro.
2502 (func5): Removed.
2503 (func4): Use FAST_TRACEPOINT_LABEL.
2504 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2505 macro.
2506 (func): Removed.
2507 (thread_function): Use FAST_TRACEPOINT_LABEL.
2508 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2509 (func): Remove.
2510 (marker): Use FAST_TRACEPOINT_LABEL.
2511 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2512 (pendfunc1): Remove.
2513 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2514 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2515 (foo): Remove.
2516 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2517 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2518 macro.
2519 (func): Remove.
2520 (marker): Use FAST_TRACEPOINT_LABEL.
2521 * gdb.trace/trace-common.h: New header.
2522 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2523 macro.
2524 (func): Remove.
2525 (marker): Use FAST_TRACEPOINT_LABEL.
2526 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2527 (func): Remove.
2528 (thread_function): Use FAST_TRACEPOINT_LABEL.
2529
6e7675a7
MK
25302015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2531
2532 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2533 in front.
2534 * gdb.trace/change-loc.exp: Use global pcreg definition.
2535 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2536 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2537 in front.
2538 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2539 * gdb.trace/pending.exp: Likewise.
2540 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2541 * gdb.trace/trace-break.exp: Likewise.
2542 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2543 in front.
2544 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2545 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2546 in front.
2547 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2548
dddc0e16
JB
25492015-11-09 Joel Brobecker <brobecker@adacore.com>
2550
2551 * gdb.ada/fin_fun_out: New testcase.
2552
c6f0b406
KB
25532015-11-07 Kevin Buettner <kevinb@redhat.com>
2554
2555 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2556 value associated with DW_AT_byte_size.
2557 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2558 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2559 DW_AT_upper_bound.
2560
f01dcfd9
KB
25612015-11-07 Kevin Buettner <kevinb@redhat.com>
2562
2563 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2564 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2565 version.
2566 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2567 gdb.dwarf2/dw2-canonicalize-type.exp,
2568 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2569 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2570 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2571 provided by gdb_target_symbol_prefix_flags_asm.
2572 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2573 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2574 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2575 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2576 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2577 macros where needed). Use this macro for symbols which require
2578 the prefix provided by SYMBOL_PREFIX.
2579
2223449a
KB
25802015-11-05 Kevin Buettner <kevinb@redhat.com>
2581
2582 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2583 New procs.
2584 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2585 representing expressions, of more than one list element.
2586 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2587 to prepend linker symbol prefix to f.
2588 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2589 table_1 and table_2.
2590 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2591 Likewise, for f and g.
2592 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2593 for ptr.
2594 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2595 for main.
2596 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2597 table_1_ptr and table_2_ptr.
2598
6f2f1a3a
JK
25992015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2600 Joel Brobecker <brobecker@adacore.com>
2601
2602 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2603
566c56c9
MK
26042015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2605
2606 * gdb.reverse/s390-mvcle.c: New test.
2607 * gdb.reverse/s390-mvcle.exp: New file.
2608 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2609
d5f0636b
MK
26102015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2611
2612 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2613
7ad8b86c
MK
26142015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2615
2616 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2617 reaching marker2.
2618 * gdb.reverse/getresuid-reverse.exp: Likewise.
2619 * gdb.reverse/pipe-reverse.exp: Likewise.
2620 * gdb.reverse/readv-reverse.exp: Likewise.
2621 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2622 * gdb.reverse/time-reverse.exp: Likewise.
2623 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2624
4081c0f1
YQ
26252015-10-30 Yao Qi <yao.qi@linaro.org>
2626
2627 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2628 (empty_cycle): Remove.
2629 (main): Don't call empty_cycle. Don't use watch_count_done.
2630 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2631 empty_cycle. Rewrite the code counting HW watchpoints.
2632
452b4ba5
MK
26332015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2634
2635 * gdb.reverse/fstatat-reverse.c: New test.
2636 * gdb.reverse/fstatat-reverse.exp: New file.
2637 * gdb.reverse/getresuid-reverse.c: New test.
2638 * gdb.reverse/getresuid-reverse.exp: New file.
2639 * gdb.reverse/pipe-reverse.c: New test.
2640 * gdb.reverse/pipe-reverse.exp: New file.
2641 * gdb.reverse/readv-reverse.c: New test.
2642 * gdb.reverse/readv-reverse.exp: New file.
2643 * gdb.reverse/recvmsg-reverse.c: New test.
2644 * gdb.reverse/recvmsg-reverse.exp: New file.
2645 * gdb.reverse/time-reverse.c: New test.
2646 * gdb.reverse/time-reverse.exp: New file.
2647 * gdb.reverse/waitpid-reverse.c: New test.
2648 * gdb.reverse/waitpid-reverse.exp: New file.
2649
5e2e7507
JK
26502015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2651
2652 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2653
0fde2c53
DE
26542015-10-26 Doug Evans <dje@google.com>
2655
2656 PR symtab/17391
2657 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2658 * gdb.dwarf2/bad-regnum.c: New file.
2659 * gdb.dwarf2/bad-regnum.exp: New file.
2660
1a70ae97
DE
26612015-10-26 Doug Evans <dje@google.com>
2662
2663 PR python/18938
2664 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2665 file.
2666
27dc26ab
JK
26672015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2668
2669 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2670 for a change by "Mention language in compile error message".
2671
bed91f4d
SM
26722015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2673
2674 PR python/18073
2675 * gdb.python/py-type.c (C::a_method): New.
2676 (C::a_const_method): New.
2677 (C::a_static_method): New.
2678 (a_function): New.
2679 * gdb.python/py-type.exp (test_fields): Test getting fields
2680 from function and method.
2681
3f2f83dd
KB
26822015-10-21 Keven Boell <keven.boell@intel.com>
2683
2684 * gdb.fortran/vla-alloc-assoc.exp: New file.
2685 * gdb.fortran/vla-datatypes.exp: New file.
2686 * gdb.fortran/vla-datatypes.f90: New file.
2687 * gdb.fortran/vla-history.exp: New file.
2688 * gdb.fortran/vla-ptype-sub.exp: New file.
2689 * gdb.fortran/vla-ptype.exp: New file.
2690 * gdb.fortran/vla-sizeof.exp: New file.
2691 * gdb.fortran/vla-sub.f90: New file.
2692 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2693 * gdb.fortran/vla-value-sub-finish.exp: New file.
2694 * gdb.fortran/vla-value-sub.exp: New file.
2695 * gdb.fortran/vla-value.exp: New file.
2696 * gdb.fortran/vla-ptr-info.exp: New file.
2697 * gdb.mi/mi-vla-fortran.exp: New file.
2698 * gdb.mi/vla.f90: New file.
2699
27145d50
SL
27002015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2701
2702 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2703 of hardwired timeout value.
2704
5f3ff4f8
JK
27052015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2706 Pedro Alves <palves@redhat.com>
2707
2708 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2709 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2710
bfd09d20
JS
27112015-10-19 Josh Stone <jistone@redhat.com>
2712
2713 * gdb.base/catch-syscall.c: Include <sched.h>.
2714 (unknown_syscall): New variable.
2715 (main): Trigger a vfork and an unknown syscall.
2716 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2717 (unknown_syscall_number): Likewise.
2718 (check_call_to_syscall): Accept an optional syscall pattern.
2719 (check_return_from_syscall): Likewise.
2720 (check_continue): Likewise.
2721 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2722 (test_catch_syscall_skipping_return): New test toggling off 'catch
2723 syscall' to step over the syscall return, then toggling back on.
2724 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2725 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2726 (do_syscall_tests): Call test_catch_syscall_without_args and
2727 test_catch_syscall_mid_vfork.
2728 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2729 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2730
b32b93c6
AS
27312015-10-19 Andrew Stubbs <ams@codesourcery.com>
2732
2733 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2734 print g_vE): Add new pass patterns.
2735 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2736 print various symbol names for vptr fields.
2737
9d622bda
AB
27382015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2739
2740 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2741 results.
2742
0fd8ac1c
YQ
27432015-10-12 Yao Qi <yao.qi@linaro.org>
2744
2745 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2746
34240514
YQ
27472015-10-12 Yao Qi <yao.qi@linaro.org>
2748
2749 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2750 is aarch64*-*-linux*.
2751
8240f442
YQ
27522015-10-12 Yao Qi <yao.qi@linaro.org>
2753
2754 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2755 (can_relocate_bcond_true): ... it.
2756 (can_relocate_bcond_false): New function.
2757 (foo): Likewise.
2758 (can_relocate_bl): Likewise.
2759 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2760 can_relocate_bl.
2761
2520f728
PMR
27622015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2763
2764 * gdb.base/nested-addr.c: New file.
2765 * gdb.base/nested-addr.exp: New testcase.
2766
abcef95a
MM
27672015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2768
2769 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2770 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2771 its output. Ignore the output of "record goto begin" and instead
2772 check that GDB is replaying.
2773
145e3ddb
PA
27742015-10-09 Pedro Alves <palves@redhat.com>
2775
2776 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2777 (top level): Use it in the run with no args test.
2778
d5d8c4e1
IB
27792015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2780
2781 * gdb.dlang/properties.exp: New file.
2782
06e635ef
SL
27832015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2784
2785 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2786 whether or not address 0x1000 is mapped on the target.
2787
e019fd1d
SM
27882015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2789
2790 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2791 build.
2792
77ba2a67
MM
27932015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2794
2795 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2796 instruction-history test.
2797
c60eb31f
DE
27982015-09-28 Doug Evans <dje@google.com>
2799
2800 * gdb.base/gcore.c (array_func): Add reference to static_array.
2801
9a3c8263
SM
28022015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2803
2804 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2805 source line.
2806
9720e656
SL
28072015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2808
2809 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2810 short or char as base type.
2811
938d3bf2
SL
28122015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2813
2814 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2815 to allow any size enum.
2816
e6c2c623
PMR
28172015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2818
2819 * gdb.ada/array_ptr_renaming.exp: New testcase.
2820 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2821 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2822
06da0f77
PL
28232015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2824
2825 * gdb.trace/ftrace-lock.c: New file.
2826 * gdb.trace/ftrace-lock.exp: New file.
2827
4f51c22a
PL
28282015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2829
2830 * gdb.arch/insn-reloc.c: New file.
2831 * gdb.arch/ftrace-insn-reloc.exp: New file.
2832
7041adf4
PL
28332015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2834
2835 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2836 instruction.
2837 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2838 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2839 * gdb.trace/range-stepping.c: Likewise.
2840 * gdb.trace/trace-break.c: Likewise.
2841 * gdb.trace/trace-mt.c (thread_function): Likewise.
2842 * gdb.trace/ftrace.c (marker): Likewise.
2843 * gdb.trace/trace-condition.c (marker): Likewise.
2844 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2845 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2846 is_aarch64_target.
2847
015d2e7e
DE
28482015-09-18 Doug Evans <xdje42@gmail.com>
2849
2850 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2851 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2852
26b188a2
SL
28532015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2854
2855 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2856 the breakpoint.
2857
79dc332b
SL
28582015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2859
2860 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2861 the pending breakpoint. Remove timeout override for "Run till
2862 MI pending breakpoint on pendfunc3 on thread 2" test.
2863
f57929f2
SL
28642015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2865
2866 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2867 filename pattern.
2868
3f469b17
SL
28692015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2870
2871 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2872 in breakpoint filename pattern.
2873
515b89b3
SL
28742015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2875
7800dbe4
SL
2876 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2877
28782015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2879
515b89b3
SL
2880 * gdb.linespec/explicit.exp: Check for readline support for
2881 tab-completion tests. Fix obvious typo.
2882
d2939ba2
MM
28832015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2884
2885 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2886 and replay.
2887
cbb55fa7
MM
28882015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2889
2890 * gdb.btrace/non-stop.c: New.
2891 * gdb.btrace/non-stop.exp: New.
2892
43691ca1
PL
28932015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2894 Yao Qi <yao.qi@linaro.org>
2895
2896 * gdb.trace/trace-condition.c: New file.
2897 * gdb.trace/trace-condition.exp: New file.
2898
d78908cf
WW
28992015-09-16 Wei-cheng Wang <cole945@gmail.com>
2900
2901 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2902 for testing bytecode compilation.
2903
1ed415e2
PA
29042015-09-16 Pedro Alves <palves@redhat.com>
2905 Sandra Loosemore <sandra@codesourcery.com>
2906
2907 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2908 (SECONDS): Redefine.
2909 (main): Call pthread_kill and alarm early.
2910 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2911 support.
2912 (test): If the target can't hardware step and doesn't support
2913 displaced stepping, increase the timeout.
2914
d136eff5
PA
29152015-09-16 Pedro Alves <palves@redhat.com>
2916
2917 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2918 (enable_debug): New procedures.
2919 (test): Use them. Bail out if waiting for threads fails.
2920 (top level): Bail out if a test fails.
2921
991f019c
YQ
29222015-09-16 Yao Qi <yao.qi@linaro.org>
2923
2924 * gdb.asm/asm-source.exp: Set asm-arch for
2925 aarch64*-*-* target.
2926 * gdb.asm/aarch64.inc: New file.
2927
bfca584f
PMR
29282015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2929
2930 * gdb.ada/array_of_variable_length.exp: New testcase.
2931 * gdb.ada/array_of_variable_length/foo.adb: New file.
2932 * gdb.ada/array_of_variable_length/pck.adb: New file.
2933 * gdb.ada/array_of_variable_length/pck.ads: New file.
2934
b326e587
DE
29352015-09-15 Doug Evans <dje@google.com>
2936
2937 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2938 of function static local variable.
2939
5382cfab
PW
29402015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2941
2942 * gdb.threads/tls-so_extern.exp: New test file.
2943 * gdb.threads/tls-so_extern.c: New test file.
2944 * gdb.threads/tls-so_extern_main.c: New test file.
2945
141c5cc4
JK
29462015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2947
2948 * gdb.opt/solib-intra-step-lib.c: New file.
2949 * gdb.opt/solib-intra-step-main.c: New file.
2950 * gdb.opt/solib-intra-step.exp: New file.
2951
d15dcecd
PA
29522015-09-15 Pedro Alves <palves@redhat.com>
2953
2954 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2955 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2956
4c2f2a79
PA
29572015-09-14 Pedro Alves <palves@redhat.com>
2958
2959 * gdb.base/hook-stop-continue.c: Delete.
2960 * gdb.base/hook-stop-continue.exp: Delete.
2961 * gdb.base/hook-stop-frame.c: Delete.
2962 * gdb.base/hook-stop-frame.exp: Delete.
2963 * gdb.base/hook-stop.c: New file.
2964 * gdb.base/hook-stop.exp: New file.
2965
919e6dbe
PMR
29662015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2967
2968 * gdb.ada/access_to_packed_array.exp: New testcase.
2969 * gdb.ada/access_to_packed_array/foo.adb: New file.
2970 * gdb.ada/access_to_packed_array/pack.adb: New file.
2971 * gdb.ada/access_to_packed_array/pack.ads: New file.
2972
157280a4
MM
29732015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2974
2975 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2976 buffer size test.
2977
2fd33e94
DB
29782015-09-11 Don Breazeal <donb@codesourcery.com>
2979
2980 * gdb.base/foll-exec.c: Add copyright header. Fix
2981 formatting issues.
2982 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2983 (do_exec_tests): Use clean_restart in place of zap_session,
2984 and for test initialization. Fix formatting issues. Use
2985 fail in place of perror.
2986 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2987 an expect statement to match an expression with output from
2988 the program under debug.
2989 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2990 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2991 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2992 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2993 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2994
e70b6e8e
DE
29952015-09-09 Doug Evans <dje@google.com>
2996
2997 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2998
7a551a51
DE
29992015-09-09 Doug Evans <dje@google.com>
3000
3001 * gdb.base/pie-execl.exp: Fix result test of build_executable.
3002
4c666f84
DE
30032015-09-09 Doug Evans <dje@google.com>
3004
3005 * gdb.base/savedregs.exp: Fix typo.
3006
243a9253
PA
30072015-09-09 Pedro Alves <palves@redhat.com>
3008
3009 * gdb.mi/mi-cli.exp: Add CLI finish tests.
3010
c0fa8fbd
SL
30112015-09-08 Sandra Loosemore <sandra@codesourcery.com>
3012
3013 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
3014 command actually switches threads. Give up on remaining
3015 tests if target fails to stop at breakpoint.
3016
cd7c1778
PMR
30172015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
3018
3019 * gdb.ada/funcall_char.exp: New testcase.
3020 * gdb.ada/funcall_char/foo.adb: New file.
3021
dc5c8746
PMR
30222015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
3023
3024 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
3025 expected outputs. Add two testcases for completing ambiguous
3026 functions.
3027 * gdb.ada/complete/aux_pck.adb: New file.
3028 * gdb.ada/complete/aux_pck.ads: New file.
3029 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
3030 Ambiguous_Func functions.
3031 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
3032 * gdb.ada/complete/pck.adb: Likewise.
3033
4e83a1e7
UW
30342015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
3035
3036 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
3037 failures to run the test program under GDB.
3038
8ce74153
LM
30392015-08-26 Luis Machado <lgustavo@codesourcery.com>
3040
3041 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
3042 to C.
3043
e9756d52
PP
30442015-08-26 Patrick Palka <patrick@parcs.ath.cx>
3045
3046 * gdb.base/run-after-attach.exp: New test file.
3047 * gdb.base/run-after-attach.c: New test file.
3048
8d37573b
DB
30492015-08-26 Don Breazeal <donb@codesourcery.com>
3050
3051 * gdb.base/foll-exec-2.c: New test program.
3052 * gdb.base/foll-exec-2.exp: New test.
3053
63e43d3a
PMR
30542015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
3055
3056 * gdb.base/nested-subp1.exp: New file.
3057 * gdb.base/nested-subp1.c: New file.
3058 * gdb.base/nested-subp2.exp: New file.
3059 * gdb.base/nested-subp2.c: New file.
3060 * gdb.base/nested-subp3.exp: New file.
3061 * gdb.base/nested-subp3.c: New file.
3062
3d40fbb5
PA
30632015-08-24 Pedro Alves <palves@redhat.com>
3064
3065 * gdb.server/connect-without-multi-process.c: New file.
3066 * gdb.server/connect-without-multi-process.exp: New file.
3067
4422ac93
LM
30682015-08-24 Luis Machado <lgustavo@codesourcery.com>
3069
3070 * gdb.opt/inline-markers.c: Make z int.
3071
91dddb86
LM
30722015-08-24 Luis Machado <lgustavo@codesourcery.com>
3073
3074 * gdb.opt/inline-markers.c: Make z volatile.
3075
a48847ee
LM
30762015-08-24 Luis Machado <lgustavo@codesourcery.com>
3077
3078 * gdb.opt/inline-bt.c: New volatile global z.
3079 * gdb.opt/inline-cmds.c: Likewise.
3080 * gdb.opt/inline-locals.c: Likewise.
3081 * gdb.opt/inline-markers.c: New extern global z.
3082 (marker): Use z.
3083 (inline_fn): Likewise.
3084
0ebbc52b
PA
30852015-08-24 Pedro Alves <palves@redhat.com>
3086
3087 * config/m32r-stub.exp: Remove file.
3088 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
3089 * gdb.base/call-rt-st.exp: Likewise.
3090 * gdb.base/call-strs.exp: Likewise.
3091 * gdb.base/default.exp: Remove references to h8300-*-hms and
3092 *-*-udi*.
3093 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
3094
77c365df
AA
30952015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3096
3097 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
3098 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
3099 and "return" use KFAIL when GDB can not read/write the vector
3100 return value.
3101
4313b8c0
GB
31022015-08-21 Gary Benson <gbenson@redhat.com>
3103
3104 * gdb.trace/pending.exp: Cope with remote transfer warnings.
3105
0e433b32
PA
31062015-08-20 Pedro Alves <palves@redhat.com>
3107
3108 * gdb.server/solib-list.exp: No longer expect an interior stop in
3109 non-stop mode.
3110
221e1a37
PA
31112015-08-20 Pedro Alves <palves@redhat.com>
3112
3113 * gdb.server/connect-stopped-target.c: New file.
3114 * gdb.server/connect-stopped-target.exp: New file.
3115
40e3ad0e
PA
31162015-08-20 Pedro Alves <palves@redhat.com>
3117
3118 * gdb.dwarf2/comp-unit-lang.exp: New file.
3119 * gdb.dwarf2/comp-unit-lang.c: New file.
3120
af39b327
PMR
31212015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
3122
3123 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
3124 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
3125
7d45c7c3 31262015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 3127
7d45c7c3
KB
3128 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
3129 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
3130
4d6cceb4
DE
31312015-08-18 Doug Evans <dje@google.com>
3132 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3133
3134 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
3135 skip_python_tests. New arg prompt_regexp.
3136 (skip_python_tests): New function.
3137 * lib/mi-support.exp (mi_skip_python_tests): New function.
3138 * gdb.python/py-mi-objfile-gdb.py: New file.
3139 * gdb.python/py-mi-objfile.c: New file.
3140 * gdb.python/py-mi-objfile.exp: New file.
3141
ad89c2aa
KS
31422015-08-17 Keith Seitz <keiths@redhat.com>
3143
3144 * gdb.linespec/explicit.exp: Move strace test from here ...
3145 * gdb.trace/strace.exp: ... to here.
3146
e3ae3c43
PP
31472015-08-15 Patrick Palka <patrick@parcs.ath.cx>
3148
3149 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
3150 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
3151
604b2636
DE
31522015-08-14 Doug Evans <xdje42@gmail.com>
3153
3154 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
3155 inferior before selecting a new file.
3156
6ff0ba5f
DE
31572015-08-14 Doug Evans <xdje42@gmail.com>
3158
3159 * gdb.mi/mi-disassemble.exp: Update.
3160 * gdb.base/disasm-optim.S: New file.
3161 * gdb.base/disasm-optim.c: New file.
3162 * gdb.base/disasm-optim.h: New file.
3163 * gdb.base/disasm-optim.exp: New file.
3164
9ca98f92
KS
31652015-08-14 Keith Seitz <keiths@redhat.com>
3166
3167 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
3168 "evaluated-by".
3169
52bbc560
JB
31702015-08-13 Joel Brobecker <brobecker@adacore.com>
3171
3172 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
3173
5d8c3ed3
PMR
31742015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
3175
3176 * gdb.ada/fun_renaming.exp: New testcase.
3177 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
3178 * gdb.ada/fun_renaming/pack.adb: New file.
3179 * gdb.ada/fun_renaming/pack.ads: New file.
3180
ea8812bc
KS
31812015-08-12 Keith Seitz <keiths@redhat.com>
3182
3183 * gdb.base/dso2dso.exp: Pass basename of source file in call to
3184 gdb_get_line_number.
3185
4dafcdeb
JB
31862015-08-12 Joel Brobecker <brobecker@adacore.com>
3187
3188 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
3189 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
3190 gdb.base/dso2dso.exp: New files.
3191
5ba32597
SDJ
31922015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
3193 Pedro Alves <palves@redhat.com>
3194 Keith Seitz <keiths@redhat.com>
3195
3196 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
3197 GDBFLAGS.
3198
b6dafabf
PP
31992015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3200
3201 * gdb.base/gdbhistsize-history.exp
3202 (test_histsize_history_setting): Use save_vars.
3203 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3204 Use save_vars.
3205 (test_no_truncation_of_unlimited_history_file): Use save_vars.
3206 * gdb.base/readline.exp: Use save_vars.
3207
abe8e607
PP
32082015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3209
3210 * lib/gdb.exp (save_vars): New proc.
3211
629500fa
KS
32122015-08-11 Keith Seitz <keiths@redhat.com>
3213
3214 * gdb.base/help.exp: Update help_breakpoint_text.
3215
eb8c4e2e
KS
32162015-08-11 Keith Seitz <keiths@redhat.com>
3217
3218 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3219 (at toplevel): Call test_explicit_breakpoints.
3220 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3221 breakpoints.
3222 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3223 breakpoint conditions, "-cond".
3224
87f0e720
KS
32252015-08-11 Keith Seitz <keiths@redhat.com>
3226
3227 * gdb.linespec/3explicit.c: New file.
3228 * gdb.linespec/cpexplicit.cc: New file.
3229 * gdb.linespec/cpexplicit.exp: New file.
3230 * gdb.linespec/explicit.c: New file.
3231 * gdb.linespec/explicit.exp: New file.
3232 * gdb.linespec/explicit2.c: New file.
3233 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3234 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3235 before using in the matching pattern.
3236 Clarify that `prefix' is a regular expression.
3237
f00aae0f
KS
32382015-08-11 Keith Seitz <keiths@redhat.com>
3239
3240 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3241 test.
3242 Add tests for missing ",FMT" and ",".
3243
e27852be
DE
32442015-08-10 Doug Evans <dje@google.com>
3245 Keith Seitz <keiths@redhat.com>
3246
3247 PR gdb/17960
3248 * gdb.base/completion.exp: Add location completer tests.
3249
7f03bd92
PA
32502015-08-07 Pedro Alves <palves@redhat.com>
3251
3252 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3253 tests here.
3254 (top level): Run do_test with and without displaced stepping.
3255
3fc8eb30
PA
32562015-08-07 Pedro Alves <palves@redhat.com>
3257
3258 * gdb.base/valgrind-disp-step.c: New file.
3259 * gdb.base/valgrind-disp-step.exp: New file.
3260
d4569d7b
PA
32612015-08-07 Pedro Alves <palves@redhat.com>
3262
3263 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
3264 Delete function.
3265 (main): Add alarm. Run an infinite loop instead of calling
3266 wait_threads.
3267 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
3268 comment.
3269 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3270 Delete function.
3271 (main): Add alarm. Run an infinite loop instead of calling
3272 wait_threads.
3273 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3274 comment.
3275
e1316e60
PA
32762015-08-07 Pedro Alves <palves@redhat.com>
3277
3278 * gdb.base/checkpoint-ns.exp: New file.
3279 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3280 standard_testfile.
3281
da8c46d2
MM
32822015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3283
3284 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3285 * gdb.btrace/instruction_history.exp: Update.
3286 * gdb.btrace/tsx.exp: New.
3287 * gdb.btrace/tsx.c: New.
3288
de1c2c52
PA
32892015-08-06 Pedro Alves <palves@redhat.com>
3290
3291 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3292 increase timeout.
3293 * gdb.reverse/until-precsave.exp: Bump timeouts.
3294
782e0bf4
PA
32952015-08-06 Pedro Alves <palves@redhat.com>
3296
3297 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3298
83e97ed0
PA
32992015-08-06 Pedro Alves <palves@redhat.com>
3300
3301 PR gdb/18749
3302 * gdb.threads/process-dies-while-handling-bp.c: New file.
3303 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3304
863d01bd
PA
33052015-08-06 Pedro Alves <palves@redhat.com>
3306
3307 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3308 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3309
0a39bb32
PA
33102015-08-05 Pedro Alves <palves@redhat.com>
3311
3312 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3313 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3314
ee2d2b10
SL
33152015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3316
3317 * gdb.base/bp-permanent.exp: Report test as unsupported if
3318 the target cannot stop at the permanent breakpoint.
3319
4e1bdb00
DE
33202015-08-03 Doug Evans <dje@google.com>
3321
3322 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3323 10000.
3324
3d338901
DE
33252015-08-03 Doug Evans <dje@google.com>
3326
3327 * Makefile.in (workers/%.worker, build-perf): New rule.
3328 (GDB_PERFTEST_MODE): New variable.
3329 (check-perf): Use it.
3330 (clean): Clean up gdb.perf parallel build subdirs.
3331 * lib/build-piece.exp: New file.
3332 * lib/gdb.exp (make_gdb_parallel_path): New function
3333 (standard_output_file, standard_temp_file): Call it.
3334 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3335 of $GDB_PARALLEL.
3336 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3337
af061d3e
DE
33382015-08-03 Doug Evans <dje@google.com>
3339
8e1afc81 3340 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
3341 (LOG_FILE_NAME): New global.
3342 (TextReporter.__init__): Initialize self.txt_sum.
3343 (TextReporter.report): Add support for multiple data-points.
3344 Move report to perftest.sum, put raw data in perftest.log.
3345 (TextReporter.start): Open sum and log files.
3346 (TextReporter.end): Close sum and log files.
8e1afc81
DE
3347 * gdb.perf/lib/perftest/testresult.py
3348 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 3349
2c8c5d37
PA
33502015-07-31 Pedro Alves <palves@redhat.com>
3351
3352 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3353 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3354 kill_wait_spawned_process instead of explicit "kill -9".
3355 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3356 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3357 kill_wait_spawned_process.
3358 * gdb.base/attach-twice.exp: Likewise.
3359 * gdb.base/attach.exp: Likewise.
3360 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3361 gdb_test_multiple.
3362 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3363 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3364 kill_wait_spawned_process.
3365 * gdb.base/valgrind-infcall.exp: Likewise.
3366 * gdb.multi/multi-attach.exp: Likewise.
3367 * gdb.python/py-prompt.exp: Likewise.
3368 * gdb.python/py-sync-interp.exp: Likewise.
3369 * gdb.server/ext-attach.exp: Likewise.
3370 * gdb.threads/attach-into-signal.exp (corefunc): Use
3371 spawn_wait_for_attach, spawn_id_get_pid and
3372 kill_wait_spawned_process.
3373 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3374 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3375 spawn_id_get_pid and kill_wait_spawned_process.
3376 * gdb.threads/attach-stopped.exp (corefunc): Use
3377 spawn_wait_for_attach, spawn_id_get_pid and
3378 kill_wait_spawned_process.
3379 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3380 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3381 kill_wait_spawned_process instead of explicit "kill -9".
3382 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3383 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3384 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3385 processes. Don't map cygwin/windows pids here. Now returns a
3386 spawn id list.
3387
032a0fca
SL
33882015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3389
3390 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3391 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3392 correct patch.
3393
61a934ca
SL
33942015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3395
3396 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3397
4bc4d428
SL
33982015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3399
3400 Reapply:
3401 2014-05-21 Mark Wielaard <mjw@redhat.com>
3402
3403 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3404
998d452a
PA
34052015-07-30 Pedro Alves <palves@redhat.com>
3406
3407 * linux-low.c (handle_extended_wait): Set the child's last
3408 reported status to TARGET_WAITKIND_STOPPED.
3409
69dde7dc
PA
34102015-07-30 Pedro Alves <palves@redhat.com>
3411
3412 PR threads/18600
3413 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3414 only shows inferior 1.
3415
4dd63d48
PA
34162015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3417 Pedro Alves <palves@redhat.com>
3418
3419 PR threads/18600
3420 * gdb.threads/fork-plus-threads.c: New file.
3421 * gdb.threads/fork-plus-threads.exp: New file.
3422
d618e4c5
PP
34232015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3424
3425 * gdb.base/batch-preserve-term-settings.exp
3426 (test_terminal_settings_preserved_after_cli_exit): Use
3427 send_quit_command.
3428
1eef6428
PA
34292015-07-29 Pedro Alves <palves@redhat.com>
3430 Don Breazeal <donb@codesourcery.com>
3431
3432 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3433 output from both inferior_spawn_id and gdb_spawn_id.
3434
7da5b897
SDJ
34352015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3436
3437 * gdb.threads/attach-into-signal.exp (corefunc): Use
3438 with_test_prefix on nested loops, uniquefying the test messages.
3439
dac804df
SDJ
34402015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3441
3442 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3443 commit.
3444
06265e53
PP
34452015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3446
3447 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3448 New proc.
3449 (test_terminal_settings_preserved_after_sigterm): New test.
3450
18206ca3
PP
34512015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3452
3453 * gdb.base/batch-preserve-term-settings.exp
3454 (test_terminal_settings_preserved_after_cli_exit): New test.
3455
90074d11
PP
34562015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3457
3458 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3459 manipulation of saved_gdbflags.
3460 (test_terminal_settings_preserved): Remove global declaration of
3461 the unused variable pagination_prompt. Remove manipulation of
3462 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3463 GDBFLAGS.
3464
eb1a7902
PA
34652015-07-29 Pedro Alves <palves@redhat.com>
3466
3467 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3468
8b75dd3b
PA
34692015-07-29 Pedro Alves <palves@redhat.com>
3470
3471 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3472 at the top.
3473
dedad4e3
PA
34742015-07-29 Pedro Alves <palves@redhat.com>
3475
3476 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3477 (main): Call gdb_unbuffer_output.
3478 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3479 (main): Call gdb_unbuffer_output.
3480 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3481 (main): Call gdb_unbuffer_output.
3482 * gdb.base/call-strs.exp: Adjust to step over the
3483 gdb_unbuffer_output call.
3484 * gdb.base/catch-gdb-caused-signals.c: Include
3485 "../lib/unbuffer_output.c".
3486 (main): Call gdb_unbuffer_output.
3487 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3488 (main): Call gdb_unbuffer_output.
3489 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3490 (main): Call gdb_unbuffer_output.
3491 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3492 (main): Call gdb_unbuffer_output.
3493 * gdb.base/shlib-call.exp: Adjust to step over the
3494 gdb_unbuffer_output call.
3495 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3496 (main): Call gdb_unbuffer_output.
3497 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3498 (main): Call gdb_unbuffer_output.
3499 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3500 (main): Rename to ...
3501 (test): ... this.
3502 (main): Reimplement.
3503 * gdb.base/varargs.exp: Run to test instead of to main.
3504 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3505 (main): Call gdb_unbuffer_output.
3506
58789a91
PA
35072015-07-29 Pedro Alves <palves@redhat.com>
3508
3509 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3510 factore out from mi_continue_dprintf. For call-style dprintfs,
3511 expect dprintf output out of $inferior_spawn_id.
3512 (mi_continue_dprintf): Use mi_expect_dprintf.
3513 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3514 (main): Call gdb_unbuffer_output.
3515
e8376742
PA
35162015-07-29 Pedro Alves <palves@redhat.com>
3517
3518 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3519 (default_mi_gdb_start): Set inferior_spawn_id instead of
3520 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3521 gdb_spawn_id.
3522 (mi_gdb_test): Always expect inferior output from both
3523 $inferior_spawn_id and $gdb_spawn_id.
3524
08280010
PA
35252015-07-29 Pedro Alves <palves@redhat.com>
3526
3527 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3528 send_inferior and $inferior_spawn_id.
3529
4d30e432
PA
35302015-07-29 Pedro Alves <palves@redhat.com>
3531
3532 * gdb.gdb/complaints.exp (test_initial_complaints)
3533 (test_serial_complaints, test_short_complaints): Use
3534 gdb_test_stdio.
3535 (test_empty_complaint): Handle $inferior_spawn_id !=
3536 $gdb_spawn_id.
3537
0d30a335
PA
35382015-07-29 Pedro Alves <palves@redhat.com>
3539
3540 * gdb.base/varargs.exp: Use gdb_test_stdio.
3541
39413b29
PA
35422015-07-29 Pedro Alves <palves@redhat.com>
3543
3544 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3545
7cb000a9
PA
35462015-07-29 Pedro Alves <palves@redhat.com>
3547
3548 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3549
d7b8ac82
PA
35502015-07-29 Pedro Alves <palves@redhat.com>
3551
3552 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3553 parameter into two new parameters, "inf_result" and "gdb_result".
3554 Expect inferior output and gdb output from $inferior_spawn_id and
3555 $gdb_spawn_id, respectively. Adjust all callers.
3556
789c3a0c
PA
35572015-07-29 Pedro Alves <palves@redhat.com>
3558
3559 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3560 of gdb_test_sequence.
3561
77e760c3
PA
35622015-07-29 Pedro Alves <palves@redhat.com>
3563
3564 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3565 (saw_spurious_output): Expect inferior output from
3566 $inferior_spawn_id. Use gdb_test_stdio.
3567
8396d2cd
PA
35682015-07-29 Pedro Alves <palves@redhat.com>
3569
3570 * gdb.base/dprintf.exp: Use standard_testfile. Change
3571 prepare_for_testing call.
3572 (srcfile): Don't set.
3573 (restart): New procedure.
3574 (test_dprintf): New procecure, use to continue over dprintfs.
3575 (test_call, test_agent): New procedures, tests moved here.
3576 Restart gdb and recreate dprintfs. Adjust expected output.
3577
2051d61f
PA
35782015-07-29 Pedro Alves <palves@redhat.com>
3579
3580 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3581
452397af
PA
35822015-07-29 Pedro Alves <palves@redhat.com>
3583
3584 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3585
8aed9555
PA
35862015-07-29 Pedro Alves <palves@redhat.com>
3587
3588 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3589 gdb_test_stdio.
3590
188a61b4
PA
35912015-07-29 Pedro Alves <palves@redhat.com>
3592
3593 * lib/gdb.exp (gdb_test_stdio): New procedure.
3594
12264a45
PA
35952015-07-29 Pedro Alves <palves@redhat.com>
3596
3597 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3598
23ffc893
PA
35992015-07-29 Pedro Alves <palves@redhat.com>
3600
3601 * gdb.base/call-signal-resume.exp: Remove check for
3602 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3603 * gdb.base/unwindonsignal.exp: Likewise.
3604 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3605 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3606
65566918
PA
36072015-07-29 Pedro Alves <palves@redhat.com>
3608
3609 * gdb.base/siginfo-addr.c (pass): New function.
3610 (handler): Call it iff si_addr is correct.
3611 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3612 Set a breakpoint at "pass" and continue to it.
3613
d60a9221
SDJ
36142015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3615
3616 * gdb.python/py-objfile.exp: Make some tests have unique names.
3617 * gdb.python/py-pp-registration.exp: Likewise.
3618
bde40b8f
PA
36192015-07-28 Pedro Alves <palves@redhat.com>
3620
3621 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3622
13e1dec8
SM
36232015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3624
3625 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3626
da33c9a7
SM
36272015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3628
3629 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3630
077836f7
PP
36312015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3632
3633 * gdb.base/gdb-sigterm-2.exp: New test.
3634
b8cc7b2e
DE
36352015-07-25 Doug Evans <xdje42@gmail.com>
3636
3637 Revert:
3638 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3639 (workers/%.worker, build-perf): New rule.
3640 (GDB_PERFTEST_MODE): New variable.
3641 (check-perf): Use it.
3642 (clean): Clean up gdb.perf parallel build subdirs.
3643 * lib/build-piece.exp: New file.
3644 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3645 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3646 name.
3647 (standard_temp_file): Ditto.
3648 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3649 of $GDB_PARALLEL.
3650
c8bd4544
DE
36512015-07-24 Doug Evans <dje@google.com>
3652
3653 * gdb.perf/lib/perftest/utils.py: New file.
3654 * gdb.perf/gm-hello.cc: New file.
3655 * gdb.perf/gm-pervasive-typedef.cc: New file.
3656 * gdb.perf/gm-pervasive-typedef.h: New file.
3657 * gdb.perf/gm-std.cc: New file.
3658 * gdb.perf/gm-std.h: New file.
3659 * gdb.perf/gm-use-cerr.cc: New file.
3660 * gdb.perf/gm-utils.h: New file.
3661 * gdb.perf/gmonster-null-lookup.py: New file.
3662 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3663 * gdb.perf/gmonster-print-cerr.py: New file.
3664 * gdb.perf/gmonster-ptype-string.py: New file.
3665 * gdb.perf/gmonster-runto-main.py: New file.
3666 * gdb.perf/gmonster-select-file.py: New file.
3667 * gdb.perf/gmonster1-null-lookup.exp: New file.
3668 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3669 * gdb.perf/gmonster1-print-cerr.exp: New file.
3670 * gdb.perf/gmonster1-ptype-string.exp: New file.
3671 * gdb.perf/gmonster1-runto-main.exp: New file.
3672 * gdb.perf/gmonster1-select-file.exp: New file.
3673 * gdb.perf/gmonster1.cc: New file.
3674 * gdb.perf/gmonster1.exp: New file.
3675 * gdb.perf/gmonster2-null-lookup.exp: New file.
3676 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3677 * gdb.perf/gmonster2-print-cerr.exp: New file.
3678 * gdb.perf/gmonster2-ptype-string.exp: New file.
3679 * gdb.perf/gmonster2-runto-main.exp: New file.
3680 * gdb.perf/gmonster2-select-file.exp: New file.
3681 * gdb.perf/gmonster2.cc: New file.
3682 * gdb.perf/gmonster2.exp: New file.
3683
6eab34f3
DE
36842015-07-24 Doug Evans <dje@google.com>
3685
3686 * gdb.perf/README: New file.
3687 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3688 * lib/gen-perf-test.exp: New file.
3689
63738bfd
DE
36902015-07-24 Doug Evans <dje@google.com>
3691
3692 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3693 (PerfTest::startup): New function.
3694 (PerfTest::run): Return result of calling body.
3695 (PerfTest::assemble): Rewrite.
3696 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3697 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3698 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3699 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3700 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3701
7b606f95
DE
37022015-07-24 Doug Evans <dje@google.com>
3703
3704 * lib/gdb.exp (clean_restart): Make executable optional.
3705
a97b16b8
DE
37062015-07-24 Doug Evans <dje@google.com>
3707
3708 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3709 compiler_info references.
3710 * gdb.cp/temargs.exp: Ditto.
3711 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3712 (get_compiler_info): Early exit if already computed. Set compiler_info
3713 to "unknown" if there was a problem.
3714 (test_compiler_info): Add function comment. Call get_compiler_info.
3715
35baa57f
DE
37162015-07-24 Doug Evans <dje@google.com>
3717
3718 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3719 (workers/%.worker, build-perf): New rule.
3720 (GDB_PERFTEST_MODE): New variable.
3721 (check-perf): Use it.
3722 (clean): Clean up gdb.perf parallel build subdirs.
3723 * lib/build-piece.exp: New file.
3724 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3725 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3726 name.
3727 (standard_temp_file): Ditto.
3728 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3729 of $GDB_PARALLEL.
3730
6ebea266
DE
37312015-07-24 Doug Evans <dje@google.com>
3732
3733 * lib/future.exp (gdb_default_target_compile): New option
3734 "early_flags".
3735 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3736 --as-needed.
3737
1e76a7e9
SDJ
37382015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3739
3740 * gdb.base/catch-syscall.exp: Call gdb_exit before
3741 gdb_skip_xml_test.
3742
5068630a
PA
37432015-07-24 Pedro Alves <palves@redhat.com>
3744
3745 * gdb.python/py-events.exp: Accept output between the stop event
3746 and the prompt.
3747 * gdb.python/py-evsignal.exp: Likewise.
3748 * gdb.python/py-evthreads.exp: Likewise.
3749
77598427
PA
37502015-07-24 Pedro Alves <palves@redhat.com>
3751
3752 PR gdb/18717
3753 * gdb.threads/non-ldr-exit.c: New file.
3754 * gdb.threads/non-ldr-exit.exp: New file.
3755
11e6c98f
YQ
37562015-07-24 Yao Qi <yao.qi@linaro.org>
3757
3758 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3759 restarting process.
3760
51aee833
YQ
37612015-07-24 Yao Qi <yao.qi@linaro.org>
3762
3763 * gdb.server/ext-restart.exp: New file.
3764
8cfe207c
YQ
37652015-07-24 Yao Qi <yao.qi@linaro.org>
3766
3767 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3768 argument options.
3769 * gdb.server/ext-wrapper.exp: New file.
3770
cc12ce38
DE
37712015-07-23 Doug Evans <dje@google.com>
3772
3773 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3774 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3775
d0d84780
PMR
37762015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3777
3778 * gdb.ada/var_arr_typedef.exp: New testcase.
3779 * gdb.ada/var_arr_typedef/pack.adb: New file.
3780 * gdb.ada/var_arr_typedef/pack.ads: New file.
3781 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3782
8b558f79
JB
37832015-07-20 Joel Brobecker <brobecker@adacore.com>
3784
3785 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3786
775a3298
JK
37872015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3788
3789 * gdb.arch/i386-biarch-core.exp: Replace istarget
3790 by "complete set gnutarget". Remove expectation for the "core-file"
3791 command.
3792
db1ff28b
JK
37932015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3794
3795 Revert the previous commit:
3796 Tests for validate symbol file using build-id.
3797
0a94970d
JK
37982015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3799
3800 Tests for validate symbol file using build-id.
3801 * gdb.base/solib-mismatch-lib.c: New file.
3802 * gdb.base/solib-mismatch-libmod.c: New file.
3803 * gdb.base/solib-mismatch.c: New file.
3804 * gdb.base/solib-mismatch.exp: New file.
3805
03346981
SL
38062015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3807
3808 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3809 nios2-*-linux*.
3810 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3811 * gdb.base/siginfo.exp: Likewise.
3812 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3813
42422cc7
PL
38142015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3815
3816 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3817 Move it to ...
3818 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3819 ... here.
3820 * gdb.trace/range-stepping.exp: Check that the target supports
3821 range stepping.
3822
cfa68bae
JK
38232015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3824
3825 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3826
8ffdba26
PA
38272015-07-14 Pedro Alves <palves@redhat.com>
3828
3829 * gdb.base/killed-outside.exp: New file.
3830 * gdb.base/killed-outside.c: New file.
3831
218a5a11
JK
38322015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3833
3834 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3835 (n at main): New.
3836 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3837
e03ed3c6
AA
38382015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3839
3840 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3841 infcall tests instead of setting up for KFAIL.
3842
485668e5
MM
38432015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3844
3845 * gdb.btrace/record_goto-step.exp: New.
3846
08464196
JK
38472015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3848
3849 PR compile/18484
3850 * gdb.compile/compile.c (struct struct_type): Add volatile to
3851 selffield's type.
3852 * gdb.compile/compile.exp
3853 (compile code struct_object.selffield = &struct_object): Skip further
3854 struct_object tests if this one xfails.
3855
bcf5c1d9
RC
38562015-07-08 Robert O'Callahan <robert@ocallahan.org>
3857
3858 PR exp/18617
3859 * gdb.trace/ax.exp: Add test.
3860
4931af25
YQ
38612015-07-07 Yao Qi <yao.qi@linaro.org>
3862
3863 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3864 instead of istarget "aarch64*-*-*".
3865 * gdb.arch/aarch64-fp.exp: Likewise.
3866 * gdb.base/float.exp: Likewise.
3867 * gdb.reverse/aarch64.exp: Likewise.
3868 * lib/gdb.exp (is_aarch64_target): New proc.
3869
9fcf688e
YQ
38702015-07-07 Yao Qi <yao.qi@linaro.org>
3871
3872 * lib/gdb.exp (is_aarch32_target): New proc.
3873 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3874 instead of "istarget "arm*-*-*"".
3875 * gdb.arch/arm-disp-step.exp: Likewise.
3876 * gdb.arch/thumb-bx-pc.exp: Likewise.
3877 * gdb.arch/thumb-prologue.exp: Likewise.
3878 * gdb.arch/thumb-singlestep.exp: Likewise.
3879 * gdb.base/disp-step-syscall.exp: Likewise.
3880 * gdb.base/float.exp: Likewise.
3881
fbd8d50d
YQ
38822015-07-07 Yao Qi <yao.qi@linaro.org>
3883
3884 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3885 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3886
71be1fdc
YQ
38872015-07-07 Yao Qi <yao.qi@linaro.org>
3888
3889 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3890 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3891 if it exists.
3892 * gdb.multi/multi-arch.exp: Likewise.
3893
3e221d36
SM
38942015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3895
3896 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3897 print.
3898
d441430b
YQ
38992015-07-07 Yao Qi <yao.qi@linaro.org>
3900
3901 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3902
06f810bd
MG
39032015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3904
3905 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3906 '[' and ']' characters.
3907
5e61e7c0
IB
39082015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3909
3910 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3911
28bf096c
PA
39122015-06-29 Pedro Alves <palves@redhat.com>
3913
3914 PR threads/18127
3915 * gdb.threads/hand-call-new-thread.c: New file.
3916 * gdb.threads/hand-call-new-thread.c: New file.
3917
ee93cd5e
KS
39182015-06-26 Keith Seitz <keiths@redhat.com>
3919 Doug Evans <dje@google.com>
3920
3921 PR 16253
3922 * gdb.cp/var-tag-2.cc: New file.
3923 * gdb.cp/var-tag-3.cc: New file.
3924 * gdb.cp/var-tag-4.cc: New file.
3925 * gdb.cp/var-tag.cc: New file.
3926 * gdb.cp/var-tag.exp: New file.
3927
fc637f04
PP
39282015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3929
3930 * gdb.base/history-duplicates.exp: New test.
3931
2e52ae68
PP
39322015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3933
3934 * gdb.base/completion.exp: Test the completion of the "focus"
3935 command.
3936
6e22494e
JK
39372015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3938
3939 * gdb.arch/amd64-prologue-skip.S: New file.
3940 * gdb.arch/amd64-prologue-skip.exp: New file.
3941
bf7b9cd9
SM
39422015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3943
3944 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3945 is_address_zero_readable check.
3946
201e8dfd
PB
39472015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3948
3949 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3950 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3951
5cd867b4
YQ
39522015-06-24 Yao Qi <yao.qi@linaro.org>
3953
3954 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3955 linux targets.
3956
4d7be007
YQ
39572015-06-24 Yao Qi <yao.qi@linaro.org>
3958
3959 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3960 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3961 * gdb.base/siginfo-thread.exp: Likewise.
3962
07fcd301
YQ
39632015-06-22 Yao Qi <yao.qi@linaro.org>
3964
3965 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3966
52042a00
YQ
39672015-06-22 Yao Qi <yao.qi@linaro.org>
3968
3969 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3970 aarch64*-*-*.
3971 (skip_hw_watchpoint_tests): Likewise.
3972
74bd41ce
PP
39732015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3974
3975 * gdb.base/gdbinit-history.exp: Test the interaction between
3976 setting GDBHISTSIZE and setting the history size via .gdbinit.
3977
bc460514
PP
39782015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3979
3980 PR gdb/16999
3981 * gdb.base/gdbhistsize-history.exp: New test.
3982
b58c513b
PP
39832015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3984
3985 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3986 with GDBHISTSIZE.
3987 * gdb.base/readline.exp: Likewise.
3988
92046791
YQ
39892015-06-17 Yao Qi <yao.qi@linaro.org>
3990
3991 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3992 line.
3993
2093d2d3
PP
39942015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3995
3996 * gdb.base/gdbinit-history.exp: Add test case to check that
3997 an unlimited history file does not get truncated on exit.
3998
e6c693af
AA
39992015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4000
4001 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
4002 (VECTOR): New macro. Use it...
4003 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
4004 ...for these typedefs.
4005 (int8, char1, int1, double1): New typedefs.
4006 (struct just_int2, struct two_int2): New structures.
4007 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
4008 (add_structvecs, add_singlevecs): New functions.
4009 (main): Call add_some_intvecs twice.
4010 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
4011 the compile and exit upon failure. Try compiling for the "native"
4012 architecture. Test inferior function calls with vector arguments
4013 and vector return value handling with "finish" and "return".
4014
c74f7d1c
JT
40152015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
4016
4017 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
4018 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
4019 PE file.
4020 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
4021
98aa42ee
AT
40222015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
4023
4024 PR breakpoints/16465
4025 * gdb.mi/mi-dprintf-pending.c: New file.
4026 * gdb.mi/mi-dprintf-pending.exp: New test.
4027 * gdb.mi/mi-dprintf-pendshr.c: New file.
4028
7d73c23c 40292015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 4030 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
4031
4032 * gdb.arch/i386-mpx-map.c: New file.
4033 * gdb.arch/i386-mpx-map.exp: New File.
4034
40352015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4036
4037 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
4038 * gdb.arch/i386-mpx.exp: Indentation fixed.
4039
40402015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4041
4042 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
4043 function and improved indentation.
4044 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
4045 gdb_test_multiple. Added additional tests to skip the test.
4046
40472015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4048
4049 * gdb.arch/i386-avx512.c: Change path in include file.
4050 * gdb.arch/i386-avx512.exp: Change include dir path
4051 compilation flag.
4052 * gdb.arch/i386-mpx.c: Change path in include file.
4053 * gdb.arch/i386-mpx.exp: Change include dir path compilation
4054 flag.
4055
d5eba19a
JK
40562015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4057
4058 * gdb.compile/compile-print.exp (compile print *vararray@3)
4059 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
4060
7f361056
JK
40612015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4062
4063 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
4064 (do not keep jit in memory): ... this.
4065 (expect 5): Change it to ...
4066 (expect no 5): ... this.
4067
3b462ec2
SM
40682015-06-02 Simon Marchi <simon.marchi@ericsson.com>
4069
4070 PR gdb/15564
4071 * gdb.mi/mi-detach.exp: New file.
4072
e0619de6
JK
40732015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4074
4075 PR symtab/18392
4076 * gdb.arch/amd64-tailcall-self.S: New file.
4077 * gdb.arch/amd64-tailcall-self.c: New file.
4078 * gdb.arch/amd64-tailcall-self.exp: New file.
4079
e970cb34
DB
40802015-05-28 Don Breazeal <donb@codesourcery.com>
4081
4082 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
4083 tests for remote targets by checking is_target_gdbserver.
4084
b2e2f908
DE
40852015-05-27 Doug Evans <dje@google.com>
4086
4087 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
4088 * gdb.dwarf2/opaque-type-lookup.c: New file.
4089 * gdb.dwarf2/opaque-type-lookup.exp: New file.
4090
82c7be31
DE
40912015-05-26 Doug Evans <dje@google.com>
4092
4093 * gdb.cp/iostream.cc: New file.
4094 * gdb.cp/iostream.exp: New file.
4095
b4f54984
DE
40962015-05-26 Doug Evans <dje@google.com>
4097
4098 * gdb.dwarf2/dw2-op-call.exp: Update.
4099 * gdb.dwarf2/dw4-sig-types.exp: Update.
4100 * gdb.dwarf2/implptr.exp: Update.
4101 * gdb.mi/mi-cmd-param-changed.exp: Update.
4102
4ea6efe9
DE
41032015-05-26 Doug Evans <dje@google.com>
4104
4105 * gdb.python/py-lazy-string.c: New file.
4106 * gdb.python/py-lazy-string.exp: New file.
4107 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
4108 (main): Update. Add estring3.
4109 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
4110 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
4111
f6bb7db3
YQ
41122015-05-26 Omair Javaid <omair.javaid@linaro.org>
4113 Yao Qi <yao.qi@linaro.org>
4114
4115 * gdb.reverse/aarch64.c: New.
4116 * gdb.reverse/aarch64.exp: New.
4117
a81bfbd0
OJ
41182015-05-26 Omair Javaid <omair.javaid@linaro.org>
4119
25d49b86
PA
4120 * lib/gdb.exp (supports_process_record): Return true for
4121 aarch64*-linux*.
a81bfbd0
OJ
4122 (supports_reverse): Likewise.
4123
158bf1b4
PP
41242015-05-22 Patrick Palka <patrick@parcs.ath.cx>
4125
4126 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4127 Use with_test_prefix.
4128
a0145030
AB
41292015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
4130
4131 * gdb.base/completion.exp: Add test for completion of layout
4132 names.
4133
ebe3b578
AB
41342015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
4135
4136 * lib/gdb.exp (skip_tui_tests): New proc.
4137 * gdb.base/tui-layout.exp: Check skip_tui_tests.
4138
84204ed7
PA
41392015-05-19 Pedro Alves <palves@redhat.com>
4140
4141 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4142 Save the whole env array instead of just HOME. Unset HISTSIZE in
4143 the environment while testing. Restore whole environment
4144 afterwards.
4145
37442ce1
DE
41462015-05-16 Doug Evans <xdje42@gmail.com>
4147
4148 * gdb.guile/scm-ports.c: New file.
4149 * gdb.guile/scm-ports.exp: Add memory port tests.
4150
36de76f9
JK
41512015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4152
4153 * gdb.compile/compile-print.c: New file.
4154 * gdb.compile/compile-print.exp: New file.
4155
3a9558c4
JK
41562015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4157
4158 * gdb.compile/compile-ops.exp: Cast param to void.
4159 * gdb.compile/compile.exp: Complete type for _gdb_expr.
4160 (compile code struct_object.selffield = &struct_object): Add xfail.
4161
aa715135
JG
41622015-05-15 Joel Brobecker <brobecker@adacore.com>
4163
4164 * gdb.ada/arr_enum_with_gap: New testcase.
4165
931e5bc3
JG
41662015-05-15 Joel Brobecker <brobecker@adacore.com>
4167
4168 * gdb.ada/byte_packed_arr: New testcase.
4169
9cd4d857
JB
41702015-05-15 Joel Brobecker <brobecker@adacore.com>
4171
4172 * gdb.ada/pckd_neg: New testcase.
4173
ebfd00d2
PP
41742015-05-13 Patrick Palka <patrick@parcs.ath.cx>
4175
4176 PR gdb/17820
4177 * gdb.base/gdbinit-history.exp: New test.
4178 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
4179 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
4180
4c082a81
SC
41812015-05-09 Siva Chandra Reddy <sivachandra@google.com>
4182
4183 * gdb.python/py-xmethods.cc: Enhance test case.
4184 * gdb.python/py-xmethods.exp: New tests.
4185 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
4186 function.
4187 (B_indexoper): Likewise.
4188 (global_dm_list) : Add new xmethod worker functions.
4189
f7797074
SDJ
41902015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
4191
4192 * gdb.base/coredump-filter.exp: Correctly unset
4193 "coredump_var_addr" array.
4194
a4674e4e
PA
41952015-05-08 Pedro Alves <palves@redhat.com>
4196
4197 * gdb.server/non-existing-program.exp: Unset spawn_id.
4198
df2eb078
SC
41992015-05-08 Siva Chandra Reddy <sivachandra@google.com>
4200
4201 PR python/18291
4202 * gdb.python/py-xmethods.exp: Add tests.
4203
422349a3
YQ
42042015-05-08 Yao Qi <yao.qi@linaro.org>
4205
4206 PR gdb/18208
4207 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
4208 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
4209 function set_coredump_filter, and remove remote_exec call.
4210 Remove argument ipid. Callers update.
4211 (top level): Don't get inferior's PID.
4212
63fc80ce
AA
42132015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4214
4215 * gdb.base/watch_thread_num.exp: Skip test on targets without
4216 access watchpoints.
4217
80ad801e
PA
42182015-05-06 Pedro Alves <palves@redhat.com>
4219
4220 PR server/18081
4221 * gdb.server/non-existing-program.exp: New file.
4222
0fa7fe50
JB
42232015-05-05 Joel Brobecker <brobecker@adacore.com>
4224
4225 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4226
3ea89b92
PMR
42272015-05-05 Joel Brobecker <brobecker@adacore.com>
4228
4229 * gdb.ada/out_of_line_in_inlined: New testcase.
4230
87b8eff0
JB
42312015-05-05 Joel Brobecker <brobecker@adacore.com>
4232
4233 * gdb.ada/var_rec_arr: New testcase.
4234
5fccc635
YQ
42352015-04-30 Yao Qi <yao.qi@linaro.org>
4236
4237 * gdb.base/break-idempotent.exp: If
4238 skip_hw_watchpoint_multi_tests returns true, skip the tests
4239 on "rwatch" and "awatch".
4240
42d38f42
YQ
42412015-04-30 Yao Qi <yao.qi@linaro.org>
4242
4243 * gdb.base/relativedebug.exp: Invoke gdb command
4244 "info sharedlibrary", and if libc.so doesn't have debug info,
4245 skip the test.
4246
2ce1cdbf
DE
42472015-04-29 Doug Evans <dje@google.com>
4248
4249 * gdb.python/py-xmethods.exp: Add ptype tests.
4250 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4251 get_result_type method.
4252
f24a38c5
LM
42532015-04-29 Luis Machado <lgustavo@codesourcery.com>
4254
4255 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4256 the target does not support hardware watchpoints.
4257
ecbf2b3c
LM
42582015-04-29 Luis Machado <lgustavo@codesourcery.com>
4259
4260 * gdb.base/break-always.exp: Abort testing if writing to memory
4261 causes an error.
4262
34f5f757
DE
42632015-04-28 Doug Evans <dje@google.com>
4264
4265 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4266 * gdb.python/py-pp-registration.exp: ... here. New file.
4267 * gdb.python/py-pp-registration.c: New file.
4268 * gdb.python/py-pp-registration.py: New file.
4269
69b4374a
DE
42702015-04-28 Doug Evans <dje@google.com>
4271
4272 * gdb.python/py-bad-printers.c: New file.
4273 * gdb.python/py-bad-printers.py: New file.
4274 * gdb.python/py-bad-printers.exp: New file.
4275
59fb7612
SS
42762015-04-28 Sasha Smundak <asmundak@google.com>
4277
4278 * gdb.python/py-type.exp: New test.
4279
2631b16a
AW
42802015-04-28 Andy Wingo <wingo@igalia.com>
4281
4282 * gdb.python/py-parameter.exp:
4283 * gdb.guile/scm-parameter.exp: Escape the path that we are
4284 matching against, as it might contain characters that are special
4285 to regular expressions.
4286
460efde1
JB
42872015-04-27 Joel Brobecker <brobecker@adacore.com>
4288
4289 * gdb.ada/rec_comp: New testcase.
4290
2d369d8e
SDJ
42912015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4292
4293 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4294 before using it.
4295
cf75d6c3
AB
42962015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4297
4298 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4299 new tests for verilog output.
4300
8dbe7ca5
YQ
43012015-04-24 Yao Qi <yao.qi@linaro.org>
4302
4303 * boards/remote-gdbserver-on-localhost.exp: New file.
4304
4ef9fb2f
PA
43052015-04-23 Pedro Alves <palves@redhat.com>
4306
4307 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4308 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4309 "end of file", remove $inferior_spawn_id from the indirect list.
4310
0a803169
PA
43112015-04-23 Pedro Alves <palves@redhat.com>
4312
4313 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4314
749ef8f8
PA
43152015-04-23 Pedro Alves <palves@redhat.com>
4316
4317 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4318 on $any_spawn_id instead of only on $gdb_spawn_id.
4319
8aae4344
PM
43202015-04-21 Pierre Muller <muller@sourceware.org>
4321
4322 PR pascal/17815
4323 * lib/pascal.exp (gpc_compile): Add new option "class".
4324 (fpc_compile): Likewise.
4325 * gdb.pascal/case-insensitive-symbols.pas: New file.
4326 * gdb.pascal/case-insensitive-symbols.exp: New file.
4327
1586c8fb
GB
43282015-04-20 Gary Benson <gbenson@redhat.com>
4329
4330 * gdb.base/attach.exp: Fix three extended remote failures.
4331
1b6e6f5c
GB
43322015-04-17 Gary Benson <gbenson@redhat.com>
4333
4334 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4335 the main executable over the remote protocol.
4336
e797481d
PA
43372015-04-16 Pedro Alves <palves@redhat.com>
4338
4339 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4340 a new gdbserver if gdbserver_reconnect_p is set.
4341
1ca99c42
PA
43422015-04-16 Pedro Alves <palves@redhat.com>
4343
4344 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4345 is set, don't exit gdbserver.
4346
af9fd6f8
AA
43472015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4348
4349 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4350 appropriate .insn, such that an older assembler can be used.
4351 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4352 the z/Architecture instruction set on 31-bit targets as well.
4353
04ff1e61
AA
43542015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4355
4356 * gdb.go/handcall.exp: Remove all logic related to the first
4357 breakpoint and rely on go_runto_main instead.
4358 * gdb.go/strings.exp: Likewise.
4359 * gdb.go/unsafe.exp: Likewise.
4360 * gdb.go/hello.exp: Likewise. Also rename the remaining
4361 breakpoint marker to "breakpoint 1".
4362 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4363 * gdb.go/strings.go: Likewise.
4364 * gdb.go/unsafe.go: Likewise.
4365 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4366 "set breakpoint 2 here" and rename the remaining breakpoint marker
4367 to "breakpoint 1".
4368
40d2f8d6
SM
43692015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4370
4371 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4372 if itertools.imap is not present.
4373 * gdb.python/py-objfile.exp: Add parentheses.
4374 * gdb.python/py-type.exp: Same.
4375 * gdb.python/py-unwind-maint.py: Same.
4376
8cbc97c6
YQ
43772015-04-15 Yao Qi <yao.qi@linaro.org>
4378
4379 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4380 of ":$ptr_size" and set its form explicitly.
4381
45fd756c
YQ
43822015-04-15 Pedro Alves <palves@redhat.com>
4383 Yao Qi <yao.qi@linaro.org>
4384
4385 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4386 timeout by factor of 4.
4387 (test_regular_watch): Likewise.
4388 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4389 * gdb.reverse/sigall-reverse.exp: Likewise.
4390 * gdb.reverse/until-precsave.exp: Likewise.
4391 * lib/gdb.exp (with_timeout_factor): New proc.
4392 (gdb_expect): Move some code to ...
4393 (get_largest_timeout): ... here. New procedure.
4394
9e811bc3
LM
43952015-04-14 Luis Machado <lgustavo@codesourcery.com>
4396
4397 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4398
0ff6fcb2
LM
43992015-04-13 Luis Machado <lgustavo@codesourcery.com>
4400
4401 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4402 to write to the .text section.
4403
7578d5f7
LM
44042015-04-13 Luis Machado <lgustavo@codesourcery.com>
4405
4406 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4407 Handle the case of targets that do not provide PID information.
4408
2efe15c4
YQ
44092015-04-13 Yao Qi <yao.qi@linaro.org>
4410
4411 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4412 and use expect instead of gdb_expect.
4413
8cd8f2f8
SDJ
44142015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4415
4416 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4417 "coredump_var_addr" to avoid naming conflict with other testcases.
4418
9ee41772
PA
44192015-04-10 Pedro Alves <palves@redhat.com>
4420
4421 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4422 gdb_test_sequence and gdb_assert.
4423
07473109
PA
44242015-04-10 Pedro Alves <palves@redhat.com>
4425
4426 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4427 test messages that don't include the breakpoint address.
4428
de3db44c
YQ
44292015-04-10 Yao Qi <yao.qi@linaro.org>
4430
4431 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4432 false for some offset and width combinations which aren't
4433 supported by linux kernel.
4434
c79d856c
PA
44352015-04-10 Pedro Alves <palves@redhat.com>
4436
4437 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4438 procedure, factored out from ...
4439 (top level): ... here. Add "set displaced-stepping" testing axis.
4440 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4441 parameter "displaced". Use it.
4442 (top level): Use foreach and add "set displaced-stepping" testing
4443 axis.
4444
ebc90b50
PA
44452015-04-10 Pedro Alves <palves@redhat.com>
4446
4447 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4448 Remove comment.
4449 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4450 both the address of the instruction that triggers the watchpoint
4451 and the address of the instruction immediately after, and use
4452 those addresses for the test. Fix comment.
4453
8f572e5c
PA
44542015-04-10 Pedro Alves <palves@redhat.com>
4455
4456 * gdb.base/sigstep.exp (breakpoint_to_handler)
4457 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4458 Test "backtrace" in handler.
4459 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4460 (top level): Add new "displaced" test axis to
4461 breakpoint_to_handler, breakpoint_to_handler_entry and
4462 breakpoint_over_handler.
4463
8d707a12
PA
44642015-04-10 Pedro Alves <palves@redhat.com>
4465
4466 PR gdb/18216
4467 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4468
ef713951
YQ
44692015-04-10 Yao Qi <yao.qi@linaro.org>
4470
4471 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4472 (test_add_rn_pc): New function.
4473 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4474 (top level): Invoke test_add_rn_pc.
4475
906d60cf
PA
44762015-04-10 Pedro Alves <palves@redhat.com>
4477
4478 PR gdb/13858
4479 * gdb.base/step-over-no-symbols.exp: New file.
4480
f2983cc3
AW
44812015-04-09 Andy Wingo <wingo@igalia.com>
4482
4483 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4484 after the Python tests.
4485
6d62641c
SDJ
44862015-04-08 Keith Seitz <keiths@redhat.com>
4487
4488 PR python/16699
4489 * gdb.python/py-completion.exp: New tests for completion.
4490 * gdb.python/py-completion.py (CompleteLimit1): New class.
4491 (CompleteLimit2): Likewise.
4492 (CompleteLimit3): Likewise.
4493 (CompleteLimit4): Likewise.
4494 (CompleteLimit5): Likewise.
4495 (CompleteLimit6): Likewise.
4496 (CompleteLimit7): Likewise.
4497
f3770638
PA
44982015-04-08 Pedro Alves <palves@redhat.com>
4499
4500 PR gdb/18214
4501 PR gdb/18216
4502 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4503 function.
4504 (main): Install it as SIGUSR1 handler.
4505 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4506 parameter. Always use "setup" as prefix. Toggle "set
4507 displaced-stepping" off/on depending on global. Don't switch to
4508 thread 1 here.
4509 (top level): Add displaced stepping "off/on" test axis. Update
4510 "setup" calls. Wrap each subtest with with_test_prefix. Test
4511 continuing with a queued signal in each thread.
4512
4496bed7
PA
45132015-04-08 Pedro Alves <palves@redhat.com>
4514
4515 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4516 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4517 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4518 Return early if running to main fails.
4519 * gdb.trace/while-stepping.exp: Likewise.
4520
b97fde92
PA
45212015-04-07 Pedro Alves <palves@redhat.com>
4522
4523 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4524 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4525 interact with inferior program.
4526
f71c18e7
PA
45272015-04-07 Pedro Alves <palves@redhat.com>
4528
4529 * lib/gdb.exp (inferior_spawn_id): New global.
4530 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4531 spawn id after processing the user code.
4532 (default_gdb_start): Set inferior_spawn_id.
4533 (send_inferior): New procedure.
4534 * lib/gdbserver-support.exp (gdbserver_start): Set
4535 inferior_spawn_id.
4536 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4537
6423214f
PA
45382015-04-07 Pedro Alves <palves@redhat.com>
4539
4540 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4541 * lib/gdbserver-support.exp (gdbserver_start): Make
4542 $server_spawn_id global.
4543 (gdbserver_start): Don't wait for gdbserver's spawn id with
4544 expect_background.
4545 (close_gdbserver): New procedure.
4546 (gdb_exit): Rename the default version and reimplement.
4547
71c0ee8c
PA
45482015-04-07 Pedro Alves <palves@redhat.com>
4549
72f4393d 4550 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
4551 append the substituted item, not the original item.
4552
203bc29b
PA
45532015-04-07 Pedro Alves <palves@redhat.com>
4554
4555 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4556 gdb_expect.
4557
508a3ddf
PA
45582015-04-07 Pedro Alves <palves@redhat.com>
4559
4560 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4561 output appearing once only.
4562
9f6dbe2b
PA
45632015-04-07 Pedro Alves <palves@redhat.com>
4564
4565 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4566 that doesn't expect anything. Return early if running to main
4567 fails.
4568
337532fa
YQ
45692015-04-07 Yao Qi <yao.qi@linaro.org>
4570
4571 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4572 (child_function): Call alarm.
4573 (main): Move call to alarm into the loop.
4574 * gdb.threads/non-stop-fair-events.exp: Build program with
4575 -DTIMEOUT=$timeout.
4576
01b622d4
DE
45772015-04-06 Doug Evans <xdje42@gmail.com>
4578
4579 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4580 Fix dest parameter to board_info.
4581 (fpc_compile): Ditto.
4582 (gdb_compile_pascal): Rename dest arg to destfile.
4583
961f4160
PMR
45842015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4585
4586 * gdb.ada/funcall_ref.exp: New file.
4587 * gdb.ada/funcall_ref/foo.adb: New file.
4588
cafda597
YQ
45892015-04-02 Yao Qi <yao.qi@linaro.org>
4590
4591 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4592 is remote.
4593
fed040c6
GB
45942015-04-02 Gary Benson <gbenson@redhat.com>
4595
4596 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4597
d11916aa
SS
45982015-04-01 Sasha Smundak <asmundak@google.com>
4599
4600 * gdb.python/py-unwind-maint.c: New file.
4601 * gdb.python/py-unwind-maint.exp: New test.
4602 * gdb.python/py-unwind-maint.py: New file.
4603 * gdb.python/py-unwind.c: New file.
4604 * gdb.python/py-unwind.exp: New test.
4605 * gdb.python/py-unwind.py: New test.
4606
a1471180
PA
46072015-04-01 Pedro Alves <palves@redhat.com>
4608
4609 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4610 to fail instead of non-existent $test.
4611
0bbeccb1
PA
46122015-04-01 Pedro Alves <palves@redhat.com>
4613
4614 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4615 GDBFLAGS if not empty.
4616
3c724c8c
PMR
46172015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4618
4619 * gdb.ada/complete.exp: Remove "multi_line".
4620 * gdb.ada/info_exc.exp: Remove "multi_line".
4621 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4622 * gdb.ada/ptype_field.exp: Remove "multi_line".
4623 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4624 * gdb.ada/tagged.exp: Remove "multi_line".
4625 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4626 [multi_line ...]
4627 * gdb.btrace/delta.exp: Likewise.
4628 * gdb.btrace/exception.exp: Likewise.
4629 * gdb.btrace/function_call_history.exp: Likewise.
4630 * gdb.btrace/instruction_history.exp: Likewise.
4631 * gdb.btrace/nohist.exp: Likewise.
4632 * gdb.btrace/record_goto.exp: Likewise.
4633 * gdb.btrace/segv.exp: Likewise.
4634 * gdb.btrace/stepi.exp: Likewise.
4635 * gdb.btrace/tailcall.exp: Likewise.
4636 * gdb.btrace/unknown_functions.exp: Likewise.
4637 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4638 * lib/gdb.exp: Add the "multi_line" helper.
4639
4eec2deb
PA
46402015-04-01 Pedro Alves <palves@redhat.com>
4641
4642 * gdb.threads/tid-reuse.c: New file.
4643 * gdb.threads/tid-reuse.exp: New file.
4644
df8411da
SDJ
46452015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4646
4647 PR corefiles/16092
4648 * gdb.base/coredump-filter.c: New file.
4649 * gdb.base/coredump-filter.exp: Likewise.
4650
6ef37366
PM
46512015-03-27 Petr Machata <pmachata@redhat.com>
4652
4653 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4654 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4655 (Dwarf::assemble): Initialize them.
4656 (Dwarf::lines): New function.
4657
7ec911b0
JT
46582015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4659
4660 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4661 SYMBOL_PREFIX for x86_64-*-cygwin.
4662
ff908ebf
AW
46632015-03-26 Andy Wingo <wingo@igalia.com>
4664
4665 PR symtab/18148
4666 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4667 const_value but not a location.
4668 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4669 location defined in non-main CUs are visible.
4670
6d5f0679
YQ
46712015-03-26 Yao Qi <yao.qi@linaro.org>
4672
4673 PR testsuite/18139
4674 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4675 Add a line number entry for the same line.
4676 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4677 Add a line number entry for the same line.
4678
2898689b
YQ
46792015-03-26 Yao Qi <yao.qi@linaro.org>
4680
4681 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4682 .int 0.
4683 (func): Likewise. Add .Lfunc_1 label.
4684 Use .Lfunc_1 label.
4685 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4686 .int 0.
4687 (func): Likewise.
4688 Use .Lfunc_1 label.
4689
85180498
YQ
46902015-03-26 Yao Qi <yao.qi@linaro.org>
4691
4692 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4693 Call gdb_compile instead to compile each .s files without debug
4694 information.
4695
8aa08a8d
YQ
46962015-03-26 Yao Qi <yao.qi@linaro.org>
4697
4698 * gdb.base/savedregs.exp (process_saved_regs): Make
4699 "Saved registers:" optional in the pattern.
4700
66849923
MM
47012015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4702
4703 * gdb.btrace/next.exp: Merged into step.exp.
4704 * gdb.btrace/finish.exp: Merged into step.exp.
4705 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4706 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4707 "record goto" and checking the exact replay position.
4708 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4709 check for "Recording format" in "info record" output.
4710 * gdb.btrace/record_goto.exp: Choose test file based on target.
4711 * gdb.btrace/x86-record_goto.S: Renamed into ...
4712 * gdb.btrace/x86_64-record_goto.S: ... this.
4713 * gdb.btrace/i686-record_goto.S: New.
4714 * gdb.btrace/x86-tailcall.S: Renamed into ...
4715 * gdb.btrace/x86_64-tailcall.S: ... this.
4716 * gdb.btrace/i686-tailcall.S: New.
4717 * gdb.btrace/x86-tailcall.c: Renamed into ...
4718 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4719 separate statements. Update test.
4720 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4721 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4722 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4723 * gdb.btrace/tailcall.exp: Choose test file based on target.
4724 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4725
11cc1b74
MM
47262015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4727
4728 * gdb.btrace/exception.exp: Increase BTS buffer size.
4729
a25d8bf9
PA
47302015-03-24 Pedro Alves <palves@redhat.com>
4731
4732 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4733
856e7dd6
PA
47342015-03-24 Pedro Alves <palves@redhat.com>
4735
4736 * gdb.threads/schedlock.exp (test_step): No longer expect that
4737 "set scheduler-locking step" with "next" over a function call runs
4738 threads unlocked.
4739
ad235a41
AT
47402015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4741
4742 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4743
15630549
AT
47442015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4745
4746 PR breakpoints/16466
4747 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4748 * gdb.mi/mi-pending.c (thread_func): New function.
4749 (int main): Add threading support required.
4750 * gdb.mi/mi-pending.exp: Add tests for this issue.
4751 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4752 (pendfunc2): Remove stdio dependency.
4753 * gdb.mi/mi-pendshr2.c: New file.
4754
693dca06
KS
47552015-03-23 Keith Seitz <keiths@redhat.com>
4756
4757 * gdb.linespec/keywords.c: New file.
4758 * gdb.linespec/keywords.exp: New file.
4759
7e993ebf
KS
47602015-03-23 Keith Seitz <keiths@redhat.com>
4761
4762 PR gdb/18021
4763 * gdb.dwarf2/staticvirtual.exp: New test.
4764
bc23328c
JK
47652015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4766
4767 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4768 * README: Remove HP-UX and gdb.hp.
4769 (configuration):
4770 * configure: Regenerate.
4771 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4772 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4773 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4774 gdb.hp/gdb.defects/Makefile.
4775 * gdb.hp/Makefile.in: File deleted.
4776 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4777 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4778 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4779 * gdb.hp/gdb.aCC/run.c: File deleted.
4780 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4781 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4782 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4783 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4784 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4785 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4786 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4787 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4788 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4789 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4790 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4791 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4792 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4793 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4794 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4795 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4796 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4797 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4798 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4799 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4800 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4801 * gdb.hp/gdb.compat/average.c: File deleted.
4802 * gdb.hp/gdb.compat/sum.c: File deleted.
4803 * gdb.hp/gdb.compat/xdb.c: File deleted.
4804 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4805 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4806 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4807 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4808 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4809 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4810 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4811 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4812 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4813 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4814 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4815 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4816 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4817 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4818 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4819 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4820 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4821 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4822 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4823 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4824 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4825 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4826 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4827 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4828 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4829 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4830 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4831 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4832 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4833 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4834 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4835 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4836 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4837 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4838 * gdb.hp/tools/odump: File deleted.
4839
8bf3b159
PA
48402015-03-19 Pedro Alves <palves@redhat.com>
4841
4842 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4843 (saw_thread_3): New globals.
4844 (top level): Increment them when an event for the corresponding
4845 thread is seen.
4846 (no thread starvation): New test.
4847
eb54c8bf
PA
48482015-03-19 Pedro Alves <palves@redhat.com>
4849
4850 * gdb.threads/continue-pending-status.c: New file.
4851 * gdb.threads/continue-pending-status.exp: New file.
4852
32d2e5d6
PA
48532015-03-18 Pedro Alves <palves@redhat.com>
4854
4855 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4856 Use gdb_is_target_remote instead of is_remote. Use
4857 gdb_test_multiple instead of gdb_expect. Exit early if
4858 gdb_test_multiple hits its internal matches. Tighten stepi tests
4859 expected output. Fail on exit with any signal, instead of just
4860 SIGILL.
4861
f68f11b7
YQ
48622015-03-18 Yao Qi <yao.qi@linaro.org>
4863
4864 PR tdep/18107
4865 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4866 variable.
4867 * gdb.base/catch-syscall.exp: Don't skip it on
4868 aarch64*-*-linux* target. Remove elements in all_syscalls.
4869 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4870 target.
4871 (setup_all_syscalls): New proc.
4872
ca5fd19b
YQ
48732015-03-16 Yao Qi <yao.qi@linaro.org>
4874
4875 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4876 (top level): Skip tests if valid_addr_p returns false for
4877 $cmd1 or $cmd2.
4878
85642ba0
AW
48792015-03-11 Andy Wingo <wingo@igalia.com>
4880
4881 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4882
e03f9645
YQ
48832015-03-11 Yao Qi <yao.qi@linaro.org>
4884
4885 * gdb.base/catch-syscall.exp: Fix typo in comments.
4886
5d0962b2
YQ
48872015-03-11 Yao Qi <yao.qi@linaro.org>
4888
4889 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4890
b2df3cef
PA
48912015-03-09 Pedro Alves <palves@redhat.com>
4892
4893 * dg-extract-results.py: Delete.
4894
ef878e53
PA
48952015-03-09 Pedro Alves <palves@redhat.com>
4896
4897 Merge dg-extract-results.sh from GCC upstream (r218843).
4898
4899 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4900 * dg-extract-results.sh: Use --text with grep to avoid issues with
4901 binary files. Fall back to cat -v, if that doesn't work.
4902
9494d219
PA
49032015-03-05 Pedro Alves <palves@redhat.com>
4904
4905 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4906
a8d9763a
SM
49072015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4908
4909 * lib/mi-support.exp (mi_expect_interrupt): Accept
4910 alternative event for when in all-stop mode.
4911
be9957b8
PA
49122015-03-04 Pedro Alves <palves@redhat.com>
4913
4914 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4915
d57be0f4 49162015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
4917
4918 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4919
c214c7cf
AA
49202015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4921
4922 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4923 regexps for GDB's current line display, accept a hex address
4924 preceding the line number.
4925
6d74a497
AA
49262015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4927
4928 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4929 the 'arch1' variable for "s390*-linux*" targets.
4930
511aee7c
PA
49312015-03-04 Pedro Alves <palves@redhat.com>
4932
4933 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4934 (main): Pass missing retval argument to pthread_join call.
4935
95e50b27
PA
49362015-03-02 Pedro Alves <palves@redhat.com>
4937
4938 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4939 (top level): Call do_test with non-stop as well.
4940
28054d69
PA
49412015-03-02 Pedro Alves <palves@redhat.com>
4942
4943 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4944 -1.
4945
4fa5d7b4
AA
49462015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4947
4948 * gdb.arch/s390-vregs.exp: New test.
4949 * gdb.arch/s390-vregs.S: New file.
4950
97c18565
PA
49512015-02-27 Pedro Alves <palves@redhat.com>
4952
4953 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4954 call to catch_command_errors.
4955 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4956 catch_command_errors.
4957
a37bfa30
PA
49582015-02-27 Pedro Alves <palves@redhat.com>
4959
4960 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4961 "true" for boolean result.
4962 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4963 prototype of main.
4964
6f98576f
PA
49652015-02-27 Pedro Alves <palves@redhat.com>
4966
4967 * lib/unbuffer_output.c: New file.
4968 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4969 (main): Call gdb_unbuffer_output.
4970
eba5ab56
YQ
49712015-02-27 Yao Qi <yao.qi@linaro.org>
4972
4973 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4974 target.
4975
0def5aaa
DE
49762015-02-26 Doug Evans <dje@google.com>
4977
4978 * gdb.cp/class2.cc (Dbase, D): New classes.
4979 (main): New local delta.
4980 * gdb.cp/class2.exp: Test printing delta.
4981 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4982 (dynbar): New global.
4983 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4984
081a1c2c
JK
49852015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4986
4987 * gdb.compile/compile-ifunc.c: New file.
4988 * gdb.compile/compile-ifunc.exp: New file.
4989
2f41223f
AT
49902015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4991
4992 * gdb.base/structs.exp: Check for correct struct on finish.
4993
03eddd80
YQ
49942015-02-26 Yao Qi <yao.qi@linaro.org>
4995
4996 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4997 is zero.
4998
80c57053
JK
49992015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5000
5001 * gdb.arch/cordic.ko.bz2: New file.
5002 * gdb.arch/cordic.ko.debug.bz2: New file.
5003 * gdb.arch/ppc64-symtab-cordic.exp: New file.
5004
21613c12
YQ
50052015-02-25 Yao Qi <yao.qi@linaro.org>
5006
5007 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
5008 aarch64*-*-* target.
5009
d8b901ed
PA
50102015-02-23 Pedro Alves <palves@redhat.com>
5011
5012 * lib/gdb.exp (delete_breakpoints): Rewrite using
5013 gdb_test_multiple.
5014
e5b85ead
PA
50152015-02-23 Pedro Alves <palves@redhat.com>
5016
5017 * gdb.base/info-os.c: Include stdlib.h.
5018
85c3a371
DE
50192015-02-22 Doug Evans <xdje42@gmail.com>
5020
5021 PR symtab/17855
5022 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
5023 is read after symbols have been re-read.
5024 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
5025 * gdb.ada/exec_changed/second.adb (Second): Ditto.
5026
96553a0c
DE
50272015-02-21 Doug Evans <dje@google.com>
5028
5029 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
5030
97a0c697
JK
50312015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5032
5033 PR corefiles/17808
5034 * gdb.arch/i386-biarch-core.core.bz2: New file.
5035 * gdb.arch/i386-biarch-core.exp: New file.
5036
a47cd6e9
PA
50372015-02-21 Pedro Alves <palves@redhat.com>
5038
5039 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
5040 runto_main fails.
5041
c5facdc4
PA
50422015-02-20 Pedro Alves <palves@redhat.com>
5043
5044 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
5045 info probes.
5046
2db9a427
PA
50472015-02-20 Pedro Alves <palves@redhat.com>
5048
5049 * gdb.threads/multi-create-ns-info-thr.exp: New file.
5050
60fb7e9e
PA
50512015-02-20 Pedro Alves <palves@redhat.com>
5052
5053 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
5054 clean_restart before gdb_target_supports_trace.
5055
5c5019c2
PA
50562015-02-20 Pedro Alves <palves@redhat.com>
5057
5058 PR threads/18006
5059 * gdb.threads/clone-thread_db.c: New file.
5060 * gdb.threads/clone-thread_db.exp: New file.
5061
c9587f88
AT
50622015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
5063
5064 PR breakpoints/16812
5065 * gdb.base/catch-gdb-caused-signals.c: New file.
5066 * gdb.base/catch-gdb-caused-signals.exp: New file.
5067
f6a88844
JM
50682015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
5069
5070 * configure: Regenerated.
5071 * configure.ac: Use GDB_AC_TRANSFORM.
5072 * aclocal.m4: sinclude ../transform.m4.
5073
497c491b
JM
50742015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5075
5076 * lib/dtrace.exp: New file.
5077 * gdb.base/dtrace-probe.exp: Likewise.
5078 * gdb.base/dtrace-probe.d: Likewise.
5079 * gdb.base/dtrace-probe.c: Likewise.
5080 * lib/pdtrace.in: Likewise.
5081 * configure.ac: Output variables with the transformed names of
5082 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
5083 * configure: Regenerated.
5084
03e98035
JM
50852015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5086
5087 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
5088 expected message when trying to access $_probe_* convenience
5089 variables while not on a probe.
5090
63cc30e9
JK
50912015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5092
5093 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
5094
0703599a
PA
50952015-02-11 Pedro Alves <pedro@codesourcery.com>
5096
5097 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
5098 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
5099
7e60a48e
DE
51002015-02-10 Doug Evans <xdje42@gmail.com>
5101
5102 * lib/gdb.exp (gdb_load): Always return a result.
5103
01b088bc
PA
51042015-02-10 Pedro Alves <palves@redhat.com>
5105
5106 * gdb.threads/signal-sigtrap.c: New file.
5107 * gdb.threads/signal-sigtrap.exp: New file.
5108
b05ec7a5
AT
51092015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
5110
5111 * gdb.trace/no-attach-trace.c: New file.
5112 * gdb.trace/no-attach-trace.exp: New file.
5113
a2c2acaf
MW
51142015-02-09 Mark Wielaard <mjw@redhat.com>
5115
5116 * gdb.dwarf2/atomic.c: New file.
5117 * gdb.dwarf2/atomic-type.exp: Likewise.
5118
31fd9caa
MM
51192015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5120
5121 * gdb.btrace/buffer-size.exp: Update "info record" output.
5122 * gdb.btrace/delta.exp: Update "info record" output.
5123 * gdb.btrace/enable.exp: Update "info record" output.
5124 * gdb.btrace/finish.exp: Update "info record" output.
5125 * gdb.btrace/instruction_history.exp: Update "info record" output.
5126 * gdb.btrace/next.exp: Update "info record" output.
5127 * gdb.btrace/nexti.exp: Update "info record" output.
5128 * gdb.btrace/step.exp: Update "info record" output.
5129 * gdb.btrace/stepi.exp: Update "info record" output.
5130 * gdb.btrace/nohist.exp: Update "info record" output.
5131
d33501a5
MM
51322015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5133
5134 * gdb.btrace/buffer-size: New.
5135
f4abbc16
MM
51362015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5137
5138 * gdb.btrace/delta.exp: Update "info record" output.
5139 * gdb.btrace/enable.exp: Update "info record" output.
5140 * gdb.btrace/finish.exp: Update "info record" output.
5141 * gdb.btrace/instruction_history.exp: Update "info record" output.
5142 * gdb.btrace/next.exp: Update "info record" output.
5143 * gdb.btrace/nexti.exp: Update "info record" output.
5144 * gdb.btrace/step.exp: Update "info record" output.
5145 * gdb.btrace/stepi.exp: Update "info record" output.
5146 * gdb.btrace/nohist.exp: Update "info record" output.
5147
b9d61307
SM
51482015-02-06 Simon Marchi <simon.marchi@ericsson.com>
5149
5150 PR gdb/15678
5151 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
5152
e584fdbc
PA
51532015-02-06 Pedro Alves <palves@redhat.com>
5154
5155 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
5156 macro.
5157 (seconds_left, again): New globals.
5158 (main): Wait seconds_left in a 1-second sleep loop instead of
5159 sleeping 180 seconds. If 'again' is set, reset the seconds
5160 counter.
5161 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
5162 'again' in the inferior before detaching. Print the seconds left.
5163 (options): New global.
5164 (top level): Build program with -DTIMEOUT=$timeout.
5165
77f41761
PA
51662015-02-06 Pedro Alves <palves@redhat.com>
5167
5168 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
5169 determine how many seconds to pass to 'alarm'.
5170 * gdb.base/gdb-sigterm.exp (top level): Build program with
5171 -DTIMEOUT=$timeout.
5172 (do_test): Return success/failure indication. Add more verbose
5173 logging. Don't fail if 200 single steps are seen. Instead, fail
5174 when the test times out.
5175 (passes): New global.
5176 (top level): Break the testing loop if testing fails on any
5177 iteration. Use gdb_assert.
5178
b9394193
DB
51792015-02-04 Don Breazeal <donb@codesourcery.com>
5180
5181 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
5182 and initialize them.
5183 (ipc_cleanup): New function.
5184 (main): Don't declare shmid, semid, and msqid. Add a call to
5185 atexit so that we call ipc_cleanup on exit.
5186
42d9e528
PA
51872015-02-04 Pedro Alves <palves@redhat.com>
5188
5189 * boards/native-extended-gdbserver.exp: Remove any target variant
5190 specifications from the board name before clearing the isremote
5191 flag from board_info.
5192
ae6ae975
DE
51932015-01-31 Doug Evans <xdje42@gmail.com>
5194
5195 * gdb.base/maint.exp <maint print type argc>: Update expected output.
5196
cfb069a8
GB
51972015-01-31 Gary Benson <gbenson@redhat.com>
5198
5199 * gdb.base/completion.exp: Disable completion limiting for
5200 existing tests. Add new tests to check completion limiting.
5201 * gdb.linespec/ls-errs.exp: Disable completion limiting.
5202
5dd31d79
DE
52032015-01-31 Doug Evans <xdje42@gmail.com>
5204
5205 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
5206
9f050062
DE
52072015-01-31 Doug Evans <xdje42@gmail.com>
5208
5209 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
5210 entries. Duplicate file section script entries.
5211 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
5212 inlined entries. Add test for safe-path rejection.
5213 * gdb.python/py-section-script.c: Add duplicate inlined section script
5214 entries. Duplicate file section script entries.
5215 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5216 inlined entries. Add test for safe-path rejection.
5217
df25ebbd
JB
52182015-01-29 Joel Brobecker <brobecker@adacore.com>
5219
5220 * gdb.ada/disc_arr_bound: New testcase.
5221
4a0ca9ec
JB
52222015-01-29 Joel Brobecker <brobecker@adacore.com>
5223
5224 * gdb.ada/mi_var_array: New testcase.
5225
3a8b707a
DE
52262015-01-27 Doug Evans <dje@google.com>
5227
5228 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5229 Add test for objfile.filename, objfile.username after objfile
5230 has been unloaded.
5231
f8313f6e
JB
52322015-01-26 Joel Brobecker <brobecker@adacore.com>
5233
5234 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5235 the second test to print the name attribute of value
5236 returned by the call to gdb.lookup_type, and adjust
5237 the expected output accordingly.
5238
37bc665e
MW
52392015-01-25 Mark Wielaard <mjw@redhat.com>
5240
5241 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5242 * gdb.base/disp-step-fork.c: Include unistd.h.
5243 * gdb.base/siginfo-obj.c: Include stdio.h.
5244 * gdb.base/siginfo-thread.c: Likewise.
5245 * gdb.mi/non-stop.c: Include unistd.h.
5246 * gdb.mi/nsthrexec.c: Include stdio.h.
5247 * gdb.mi/pthreads.c: Include unistd.h.
5248 * gdb.modula2/unbounded1.c (main): Declare returns int.
5249 * gdb.reverse/consecutive-reverse.c: Likewise.
5250 * gdb.threads/create-fail.c: Include unistd.h.
5251 * gdb.threads/killed.c: Likewise.
5252 * gdb.threads/linux-dp.c: Likewise.
5253 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5254 * gdb.threads/non-ldr-exc-2.c: Likewise.
5255 * gdb.threads/non-ldr-exc-3.c: Likewise.
5256 * gdb.threads/non-ldr-exc-4.c: Likewise.
5257 * gdb.threads/pthreads.c: Include unistd.h.
5258 (main): Declare returns int.
5259 * gdb.threads/tls-main.c (foo): New declaration.
5260 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5261
f7e5394d
SM
52622015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5263
5264 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5265 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5266
743649fd
MW
52672015-01-15 Mark Wielaard <mjw@redhat.com>
5268
5269 * gdb.base/noreturn-return.c: New file.
5270 * gdb.base/noreturn-return.exp: New file.
5271 * gdb.base/noreturn-finish.c: New file.
5272 * gdb.base/noreturn-finish.exp: New file.
5273
198297aa
PA
52742015-01-23 Pedro Alves <palves@redhat.com>
5275
5276 * gdb.threads/continue-pending-after-query.c: New file.
5277 * gdb.threads/continue-pending-after-query.exp: New file.
5278
717cf30c
AG
52792015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5280 Simon Marchi <simon.marchi@ericsson.com>
5281
5282 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5283 * gdb.base/valgrind-db-attach.exp: Same.
5284 * gdb.base/valgrind-infcall.exp: Same.
5285 * lib/mi-support.exp (default_mi_gdb_start): Same.
5286 * lib/prompt.exp (default_prompt_gdb_start): Same.
5287 * lib/gdb.exp (default_gdb_spawn): Same.
5288 (gdb_interact): New.
5289
5290
4b62a76e
JK
52912015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5292
5293 * gdb.compile/compile.exp (pointer to jit function): New test.
5294
b4cdae6f
WW
52952015-01-17 Wei-cheng Wang <cole945@gmail.com>
5296
5297 * lib/gdb.exp (supports_process_record): Return true for
5298 powerpc*-*-linux*.
5299 (supports_reverse): Likewise.
5300
d221e7ef
DB
53012015-01-15 Don Breazeal <donb@codesourcery.com>
5302
5303 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5304 instead of checking whether the target board is remote and
5305 use spawn_wait_for_attach instead of exec/sleep.
5306 * gdb.base/attach-twice.exp: Likewise.
5307
bafffb51
JB
53082015-01-15 Joel Brobecker <brobecker@adacore.com>
5309
5310 * gdb.ada/var_arr_attrs: New testcase.
5311
5589af0e
PA
53122015-01-14 Pedro Alves <palves@redhat.com>
5313 Joel Brobecker <brobecker@adacore.com>
5314
5315 PR gdb/17525
5316 * gdb.base/bp-cmds-execution-x-script.c: New file.
5317 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5318 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5319
6c400b59
PA
53202015-01-14 Pedro Alves <palves@redhat.com>
5321
5322 PR cli/17828
5323 * gdb.base/batch-preserve-term-settings.c: New file.
5324 * gdb.base/batch-preserve-term-settings.exp: New file.
5325
e02c96a7
DE
53262015-01-13 Doug Evans <dje@google.com>
5327
5328 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5329 binary.
5330
576fd14c
JB
53312015-01-13 Joel Brobecker <brobecker@adacore.com>
5332
5333 * Makefile.in (clean mostlyclean): Do not delete *.py.
5334
04dccad0
JB
53352015-01-13 Joel Brobecker <brobecker@adacore.com>
5336
5337 * gdb.python/py-lookup-type.exp: New file.
5338
3d230f71
PA
53392015-01-12 Pedro Alves <palves@redhat.com>
5340
5341 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5342 restore GDBFLAGS before returning.
5343
7e67715d
JK
53442015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5345
5346 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5347 is_amd64_regs_target and is_x86_like_target.
5348
f2e0d4b4
DE
53492015-01-11 Doug Evans <xdje42@gmail.com>
5350
5351 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5352 is given without an explicit form.
5353 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5354 attributes.
5355 * gdb.dwarf/corrupt.exp: Ditto.
5356 * gdb.dwarf2/enum-type.exp: Ditto.
5357 * gdb.trace/entry-values.exp: Ditto.
5358 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5359
439250fb
DE
53602015-01-11 Doug Evans <xdje42@gmail.com>
5361
5362 PR gdb/15830
5363 * gdb.base/maint.exp: Remove references to "maint demangle".
5364 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5365 Add tests for explicitly specifying language to demangle.
5366 * gdb.dlang/demangle.exp: Ditto.
5367
ede9f622
PA
53682015-01-09 Pedro Alves <palves@redhat.com>
5369
5370 * gdb.threads/non-stop-fair-events.c: New file.
5371 * gdb.threads/non-stop-fair-events.exp: New file.
5372
a7b796db
PA
53732015-01-09 Pedro Alves <palves@redhat.com>
5374
5375 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5376 the global scope. Set a breakpoint after all threads are started
5377 rather than stepping over two source lines. Expect the prompt.
5378 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5379 global.
5380 (NUM): Now 15.
5381 (main): Use threads_started_barrier to wait for all threads to
5382 start. Main thread no longer calls thread_function. Exit after
5383 180 seconds.
5384 (loop): New function.
5385 (thread_function): Wait on threads_started_barrier barrier. Call
5386 'loop' at each iteration.
5387 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5388 threads have started, instead of hardcoding number of "next"
5389 steps. Use an access watchpoint instead of a write watchpoint.
5390
9665ffdd
PA
53912015-01-09 Pedro Alves <palves@redhat.com>
5392
5393 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5394 (thread_func): Wait on barrier.
5395 (main): Wait for all threads to start before stopping GDB.
5396 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5397 global.
5398 (thread1_func, thread2_func): Wait on barrier.
5399 (main): Wait for all threads to start before stopping GDB.
5400 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5401 New global.
5402 (thread1_func, thread2_func): Wait on barrier.
5403 (main): Wait for all threads to start before stopping GDB.
5404
c945a99f
PA
54052015-01-09 Pedro Alves <palves@redhat.com>
5406
5407 * gdb.threads/attach-many-short-lived-threads.c: New file.
5408 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5409
c1a747c1
PA
54102014-01-09 Pedro Alves <palves@redhat.com>
5411
5412 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5413 instead of to thread 2.
5414 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5415 Add barrier around each pthread_create call instead of around all
5416 calls.
5417 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5418 Set a break on thread_function and have the child threads hit it
5419 one at at a time.
5420
60b3033e
PA
54212015-01-09 Pedro Alves <palves@redhat.com>
5422
5423 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5424 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5425 false.
5426 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5427 checking whether the target board is remote.
5428 * gdb.multi/multi-attach.exp: Likewise.
5429 * gdb.python/py-sync-interp.exp: Likewise.
5430 * gdb.server/ext-attach.exp: Likewise.
5431 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5432 tests that need to attach, instead of checking whether the target
5433 board is remote at the top of the file.
5434
acc018ac
YQ
54352015-01-08 Yao Qi <yao@codesourcery.com>
5436
5437 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5438
50a18af8
JK
54392015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5440
5441 Fix testcase compilation.
5442 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5443
8503d6e1
JB
54442015-01-06 Joel Brobecker <brobecker@adacore.com>
5445
5446 * gdb.python/py-type.exp: Add a couple test about empty
5447 array creation, and negative-length array creation.
5448
cc73dbcc
DE
54492015-01-02 Doug Evans <xdje42@gmail.com>
5450
5451 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5452
0300bbc7
DE
54532015-01-02 Doug Evans <dje@google.com>
5454
5455 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5456
9d85a0ec
YQ
54572014-12-29 Yao Qi <yao@codesourcery.com>
5458
5459 * gdb.trace/entry-values.exp: Update comments. Rename variable
5460 bar_call_foo to returned_from_foo.
5461
87186c6a
MMN
54622014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5463
5464 PR gdb/17394
5465 * gdb.linespec/break-asm-file.c: New file.
5466 * gdb.linespec/break-asm-file.exp: New file.
5467 * gdb.linespec/break-asm-file0.s: New file.
5468 * gdb.linespec/break-asm-file1.s: New file.
5469
1bab7383
YQ
54702014-12-18 Nigel Stephens <nigel@mips.com>
5471 Maciej W. Rozycki <macro@codesourcery.com>
5472
5473 * gdb.base/float.exp: Handle the new output from "info float" on
5474 MIPS targets.
5475
1bc1068a
JK
54762014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5477
5478 Fix MinGW compilation.
5479 * gdb.compile/compile-ops.exp: Update untested message if
5480 !skip_compile_feature_tests.
5481 * gdb.compile/compile-setjmp.exp: Likewise.
5482 * gdb.compile/compile-tls.exp: Likewise.
5483 * gdb.compile/compile.exp: Likewise.
5484 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5485 supported on this host".
5486
b6615d10
DE
54872014-12-16 Doug Evans <xdje42@gmail.com>
5488
5489 * boards/stabs.exp: New file.
5490
25dda427
AA
54912014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5492
5493 * gdb.base/completion.exp: Adjust to format changes of "maint
5494 print user-registers".
5495
bf330350
CU
54962014-12-16 Catalin Udma <catalin.udma@freescale.com>
5497
5498 PR server/17457
5499 * gdb.arch/aarch64-fp.c: New file.
5500 * gdb.arch/aarch64-fp.exp: New file.
5501
395cf596
SDJ
55022014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5503
5504 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5505 r210637, r210913, r211666, r215400, r215817).
5506
5507 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5508 * dg-extract-results.py: New file.
5509 * dg-extract-results.sh: Use it if the environment seems
5510 suitable.
5511
5512 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5513
5514 * dg-extract-results.py (parse_run): Handle warnings that
5515 are printed before a test harness is run.
5516
5517 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5518
5519 * dg-extract-results.py (Named): Remove __cmp__ method.
5520 (output_variation): Use a key to sort variation.harnesses.
5521
5522 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5523
5524 * dg-extract-results.py: For Python 3, force sys.stdout to
5525 handle surrogate escape sequences.
5526 (safe_open): New function.
5527 (output_segment, main): Use it.
5528
5529 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5530
5531 * dg-extract-results.py (Prog.result_re): Include options
5532 in test name.
5533
5534 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5535
5536 * dg-extract-results.py (output_variation): Always sort if
5537 do_sum.
5538
e882ef3c
SM
55392014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5540
5541 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5542 as long as we get pagination notifications.
5543
4992aa20
JM
55442014-12-15 Jason Merrill <jason@redhat.com>
5545
5546 * Makefile.in (check-gdb.%): Restore.
5547 * README: Mention it.
5548
c1b5a1a6
JB
55492014-12-13 Joel Brobecker <brobecker@adacore.com>
5550
5551 * gdb.ada/str_uninit: New testcase.
5552
5537b577
JK
55532014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5554
5555 PR symtab/17642
5556 * gdb.base/vla-stub-define.c: New file.
5557 * gdb.base/vla-stub.c: New file.
5558 * gdb.base/vla-stub.exp: New file.
5559
bb2ec1b3
TT
55602014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5561 Jan Kratochvil <jan.kratochvil@redhat.com>
5562 Tom Tromey <tromey@redhat.com>
5563
5564 * configure.ac: Add gdb.compile/.
5565 * configure: Regenerate.
5566 * gdb.compile/Makefile.in: New file.
5567 * gdb.compile/compile-ops.exp: New file.
5568 * gdb.compile/compile-ops.c: New file.
5569 * gdb.compile/compile-tls.c: New file.
5570 * gdb.compile/compile-tls.exp: New file.
5571 * gdb.compile/compile-constvar.S: New file.
5572 * gdb.compile/compile-constvar.c: New file.
5573 * gdb.compile/compile-mod.c: New file.
5574 * gdb.compile/compile-nodebug.c: New file.
5575 * gdb.compile/compile-setjmp-mod.c: New file.
5576 * gdb.compile/compile-setjmp.c: New file.
5577 * gdb.compile/compile-setjmp.exp: New file.
5578 * gdb.compile/compile-shlib.c: New file.
5579 * gdb.compile/compile.c: New file.
5580 * gdb.compile/compile.exp: New file.
5581 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5582
4ff709eb
TT
55832014-12-12 Tom Tromey <tromey@redhat.com>
5584
5585 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5586 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5587
6dddd6a5
DE
55882014-12-12 Doug Evans <dje@google.com>
5589
5590 * lib/gdb-python.exp (get_python_valueof): New function.
5591 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5592
71c24708
AA
55932014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5594
5595 * gdb.base/completion.exp: Add test for completion of "info
5596 registers ".
5597
3e29f34a
MR
55982014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5599
5600 * gdb.base/func-ptrs.c: New file.
5601 * gdb.base/func-ptrs.exp: New file.
5602
fc126975
SM
56032014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5604
5605 PR breakpoints/17012
5606 * gdb.base/dprintf-detach.c: New file.
5607 * gdb.base/dprintf-detach.exp: New file.
5608
0a46d518
SM
56092014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5610
5611 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5612 * lib/gdb.exp (target_is_gdbserver): New procedure.
5613
a0be3e44
DE
56142014-12-08 Doug Evans <dje@google.com>
5615
5616 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5617
df1b803a
YQ
56182014-12-05 Yao Qi <yao@codesourcery.com>
5619
5620 * gdb.guile/scm-error.exp: Remove the third argument to
5621 gdb_remote_download.
5622 * gdb.guile/scm-frame-args.exp: Likewise.
5623 * gdb.guile/scm-section-script.exp: Likewise.
5624
ddb9f679
YQ
56252014-12-05 Yao Qi <yao@codesourcery.com>
5626
5627 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5628
86e4ed39
DE
56292014-12-04 Doug Evans <dje@google.com>
5630
5631 * gdb.python/py-objfile.exp: Add tests for
5632 objfile.add_separate_debug_file.
5633
7c50a931
DE
56342014-12-04 Doug Evans <dje@google.com>
5635
5636 * lib/gdb.exp (get_build_id): New function.
5637 (build_id_debug_filename_get): Rewrite to use it.
5638 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5639
621661e3
MR
56402014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5641
5642 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5643 `method(long)', not just 0x0.
5644 * gdb.cp/nsalias.exp: Align code labels to 4.
5645 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5646 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5647 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5648 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5649 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5650 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5651
29f0c3b7
DE
56522014-12-02 Doug Evans <dje@google.com>
5653
e1e061e7 5654 PR symtab/17602
29f0c3b7 5655 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 5656 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
5657 * gdb.cp/anon-ns.exp: Update.
5658
162078c8
NB
56592014-12-02 Nick Bull <nicholaspbull@gmail.com>
5660
5661 * gdb.python/py-events.py (inferior_call_handler): New.
5662 (register_changed_handler, memory_changed_handler): New.
5663 (test_events.invoke): Register new handlers.
5664 * gdb.python/py-events.exp: Add tests for inferior call,
5665 memory_changed and register_changed events.
5666
fdb09caf
AA
56672014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5668
5669 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5670 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5671 if the linker doesn't understand this.
5672
55cfb2c4
SM
56732014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5674
5675 * gdb.python/python.exp: Change expected reply to help().
5676
9e8cd6df
YQ
56772014-12-01 Yao Qi <yao@codesourcery.com>
5678
5679 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5680 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5681 * configure: Re-generated.
5682
6c659fc2
SC
56832014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5684
5685 * gdb.cp/chained-calls.cc: New file.
5686 * gdb.cp/chained-calls.exp: New file.
5687 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5688
d7fc3181
SM
56892014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5690
5691 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5692 * gdb.dwarf2/symtab-producer.exp: Same.
5693 * gdb.gdb/python-interrupts.exp: Same.
5694 * gdb.gdb/python-selftest.exp: Same.
5695 * gdb.python/py-linetable.exp: Same.
5696 * gdb.python/py-type.exp: Same.
5697 * gdb.python/py-value-cc.exp: Same.
5698 * gdb.python/py-value.exp: Same.
5699
10e79639
YQ
57002014-11-28 Yao Qi <yao@codesourcery.com>
5701
5702 * gdb.base/break-probes.exp: Match library name prefixed with
5703 sysroot.
5704
f28a0564
SM
57052014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5706
5707 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5708 test expected output. Add parentheses for the call to print.
5709 Remove L suffix from integers.
5710
3fe1ce1d
DE
57112014-11-26 Doug Evans <dje@google.com>
5712
5713 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5714
84429e27
YQ
57152014-11-22 Yao Qi <yao@codesourcery.com>
5716
5717 * gdb.trace/entry-values.c: Remove asms.
5718 (foo): Add foo_label.
5719 (bar): Add bar_label.
5720 * gdb.trace/entry-values.exp: Remove code computing foo's
5721 length and bar's length.
5722 (Dwarf::assemble): Invoke function_range for bar and use
5723 MACRO_AT_func for foo.
5724
26741859
YQ
57252014-11-22 Yao Qi <yao@codesourcery.com>
5726
5727 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5728 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5729 Use .Lgcc43_procstart instead of gcc43.
5730
45e44d27
JB
57312014-11-21 Joel Brobecker <brobecker@adacore.com>
5732
5733 * gdb.ada/n_arr_bound: New testcase.
5734
458c8db8
SDJ
57352014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5736
5737 PR breakpoints/10737
5738 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5739 test_catch_syscall_multi_arch.
5740 (test_catch_syscall_multi_arch): New function.
5741
43f3e411
DE
57422014-11-20 Doug Evans <xdje42@gmail.com>
5743
5744 * gdb.base/maint.exp: Update expected output.
5745
0d7b2549
AA
57462014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5747
5748 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5749 4-byte instruction on S390.
5750
8908fca5
JB
57512014-11-19 Joel Brobecker <brobecker@adacore.com>
5752
5753 * gdb.ada/arr_arr: New testcase.
5754
4a46959e
JB
57552014-11-19 Joel Brobecker <brobecker@adacore.com>
5756
5757 * gdb.ada/pkd_arr_elem: New Testcase.
5758
470e2f4e
LM
57592014-11-18 Luis Machado <lgustavo@codesourcery.com>
5760
5761 * gdb.reverse/break-precsave: Expect completion message for
5762 core file reads.
5763 * gdb.reverse/consecutive-precsave.exp: Likewise.
5764 * gdb.reverse/finish-precsave.exp: Likewise.
5765 * gdb.reverse/i386-precsave.exp: Likewise.
5766 * gdb.reverse/machinestate-precsave.exp: Likewise.
5767 * gdb.reverse/sigall-precsave.exp: Likewise.
5768 * gdb.reverse/solib-precsave.exp: Likewise.
5769 * gdb.reverse/step-precsave.exp: Likewise.
5770 * gdb.reverse/until-precsave.exp: Likewise.
5771 * gdb.reverse/watch-precsave.exp: Likewise.
5772
a267f3ad
AA
57732014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5774
5775 * gdb.base/bp-permanent.c: Include unistd.h.
5776 * gdb.python/py-framefilter-mi.c (main): Add return type.
5777 * gdb.python/py-framefilter.c (main): Likewise.
5778 * gdb.trace/actions-changed.c (main): Likewise.
5779
12084a9a
AA
57802014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5781
5782 * gdb.mi/until.c: Add eye-catchers.
5783 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5784 line numbers.
5785
dc7e1a77
AA
57862014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5787
5788 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5789 function header variants in break1.c.
5790 * gdb.base/ena-dis-br.exp: Likewise.
5791 * gdb.base/hbreak2.exp: Likewise.
5792 * gdb.reverse/until-precsave.exp: Drop references to removed
5793 non-prototype function header variants in ur1.c.
5794 * gdb.reverse/until-reverse.exp: Likewise.
5795
41c77605
PM
57962014-11-17 Petr Machata <pmachata@redhat.com>
5797
5798 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5799 ${_cu_offset_size} bytes abbrev offset.
5800
34248c3a
DE
58012014-11-15 Doug Evans <xdje42@gmail.com>
5802
5803 PR symtab/17559
5804 * gdb.base/line-symtabs.exp: New file.
5805 * gdb.base/line-symtabs.c: New file.
5806 * gdb.base/line-symtabs.h: New file.
5807
646da059
YQ
58082014-11-14 Yao Qi <yao@codesourcery.com>
5809
5810 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5811 (func): Add label func_label.
5812 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5813 Replace low_pc and high_pc with MACRO_AT_range.
5814 Replace name, low_pc and high_pc with MACRO_AT_func.
5815
9301ebe6
YQ
58162014-11-14 Yao Qi <yao@codesourcery.com>
5817
5818 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5819 Replace name, low_pc and high_pc with MACRO_AT_func.
5820
f166b542
YQ
58212014-11-14 Yao Qi <yao@codesourcery.com>
5822
5823 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5824 produce debug information.
5825 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5826
0f6e71e3
YQ
58272014-11-14 Yao Qi <yao@codesourcery.com>
5828
5829 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5830 object and get function length.
5831 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5832 with MACRO_AT_func.
5833 (top-level): Replace gdb_compile and clean_restart with
5834 prepare_for_testing.
5835 * gdb.dwarf2/main.c (main): Add label main_label.
5836
876c4df9
YQ
58372014-11-14 Yao Qi <yao@codesourcery.com>
5838
5839 * lib/dwarf.exp (function_range): New procedure.
5840 (Dwarf::_handle_macro_at_func): New procedure.
5841 (Dwarf::_handle_macro_at_range): New procedure.
5842 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5843
02ad9cf1
YQ
58442014-11-14 Yao Qi <yao@codesourcery.com>
5845
5846 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5847 (_handle_attribute): New procedure.
5848
a59add0c
AA
58492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5850
5851 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5852 * gdb.base/call-sc.c (zed): Likewise.
5853 * gdb.base/checkpoint.c (main): Likewise.
5854 * gdb.base/dump.c (main): Likewise.
5855 * gdb.base/gcore.c (main): Likewise.
5856 * gdb.base/huge.c (main): Likewise.
5857 * gdb.base/multi-forks.c (main): Likewise.
5858 * gdb.base/pr10179-a.c (main): Likewise.
5859 * gdb.base/savedregs.c (main): Likewise.
5860 * gdb.base/sigaltstack.c (main): Likewise.
5861 * gdb.base/siginfo.c (main): Likewise.
5862 * gdb.base/structs.c (zed): Likewise.
5863 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5864 * gdb.mi/mi-syn-frame.c (main): Likewise.
5865 * gdb.mi/until.c (foo, main): Likewise.
5866 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5867 * gdb.base/solib-weak.c (foo): Declare.
5868 * gdb.base/attach-twice.c: Include stdio.h.
5869 * gdb.base/weaklib1.c: Likewise.
5870 * gdb.base/weaklib2.c: Likewise.
5871 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5872 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5873 unistd.h.
5874 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5875 * gdb.mi/mi-exit-code.c: Likewise.
5876 * gdb.base/break-interp-lib.c: Include string.h.
5877 * gdb.base/coremaker.c: Likewise.
5878 * gdb.base/testenv.c: Likewise.
5879 * gdb.python/py-finish-breakpoint.c: Likewise.
5880 * gdb.base/inferior-died.c: Include sys/wait.h.
5881 * gdb.base/fileio.c: Include time.h.
5882 * gdb.base/async-shell.c: Include unistd.h.
5883 * gdb.base/dprintf-non-stop.c: Likewise.
5884 * gdb.base/info-os.c: Likewise.
5885 * gdb.mi/mi-console.c: Likewise.
5886 * gdb.mi/watch-nonstop.c: Likewise.
5887 * gdb.python/py-events.c: Likewise.
5888 * gdb.base/async.c (baz): Move up before its invocation.
5889 * gdb.base/code_elim2.c (my_global_func): Likewise.
5890 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5891 * gdb.base/advance.c (func2): Likewise.
5892
3b5d5997
AA
58932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5894
5895 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5896 variant.
5897 * gdb.base/annota3.c: Likewise.
5898 * gdb.base/async.c: Likewise.
5899 * gdb.base/average.c: Likewise.
5900 * gdb.base/call-ar-st.c: Likewise.
5901 * gdb.base/call-rt-st.c: Likewise.
5902 * gdb.base/call-sc.c: Likewise.
5903 * gdb.base/call-strs.c: Likewise.
5904 * gdb.base/ending-run.c: Likewise.
5905 * gdb.base/execd-prog.c: Likewise.
5906 * gdb.base/exprs.c: Likewise.
5907 * gdb.base/foll-exec.c: Likewise.
5908 * gdb.base/foll-fork.c: Likewise.
5909 * gdb.base/foll-vfork.c: Likewise.
5910 * gdb.base/funcargs.c: Likewise.
5911 * gdb.base/gcore.c: Likewise.
5912 * gdb.base/jump.c: Likewise.
5913 * gdb.base/langs0.c: Likewise.
5914 * gdb.base/langs1.c: Likewise.
5915 * gdb.base/langs2.c: Likewise.
5916 * gdb.base/mips_pro.c: Likewise.
5917 * gdb.base/nodebug.c: Likewise.
5918 * gdb.base/opaque0.c: Likewise.
5919 * gdb.base/opaque1.c: Likewise.
5920 * gdb.base/recurse.c: Likewise.
5921 * gdb.base/run.c: Likewise.
5922 * gdb.base/scope0.c: Likewise.
5923 * gdb.base/scope1.c: Likewise.
5924 * gdb.base/setshow.c: Likewise.
5925 * gdb.base/setvar.c: Likewise.
5926 * gdb.base/shmain.c: Likewise.
5927 * gdb.base/shr1.c: Likewise.
5928 * gdb.base/shr2.c: Likewise.
5929 * gdb.base/sigall.c: Likewise.
5930 * gdb.base/signals.c: Likewise.
5931 * gdb.base/so-indr-cl.c: Likewise.
5932 * gdb.base/solib2.c: Likewise.
5933 * gdb.base/structs.c: Likewise.
5934 * gdb.base/sum.c: Likewise.
5935 * gdb.base/vforked-prog.c: Likewise.
5936 * gdb.base/watchpoint.c: Likewise.
5937 * gdb.reverse/shr2.c: Likewise.
5938 * gdb.reverse/until-reverse.c: Likewise.
5939 * gdb.reverse/ur1.c: Likewise.
5940 * gdb.reverse/watch-reverse.c: Likewise.
5941
066a77c5
AA
59422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5943
5944 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5945 variant.
5946 * gdb.base/sepdebug.exp: Drop references to removed code.
5947
4f204ea5
AA
59482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5949
5950 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5951 variant. Preserve original line numbering.
5952 * gdb.base/list1.c: Likewise.
5953
3b377a3a
AA
59542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5955
5956 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5957 variant.
5958 * gdb.base/break1.c: Likewise.
5959 * gdb.base/break.exp: Drop references to removed code.
5960
e444df73
AA
59612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5962
5963 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5964 variant.
5965
8008f2a7
AA
59662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5967
5968 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5969
a5a06887
AA
59702014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5971
5972 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5973 logic into perform_all_tests() and invoke it with and without
5974 function header prototypes.
5975 (do_function_calls): Remove conditional XFAIL for PR 5318.
5976 (rerun_and_prepare): Remove duplicate code.
5977 (perform_all_tests): New. Main logic moved here.
5978
44dba9b9
AA
59792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5980
5981 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5982 code guarded by #ifdef NO_PROTOTYPES.
5983 (t_double_many_args): Likewise.
5984 (DEF_FUNC_MANY_ARGS_1): Likewise.
5985 (DEF_FUNC_VALUES_1): Likewise.
5986 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5987 guarded by #ifdef PROTOTYPES.
5988
d1fbcd56
AA
59892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5990
5991 * gdb.mi/mi-console.c: Add eye-catcher.
5992 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5993 instead of literal line number.
5994
b0e59b8f
AA
59952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5996
5997 * gdb.base/shr2.c: Add eye-catcher.
5998 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5999 line number.
6000
78f98cca
AA
60012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6002
6003 * gdb.base/jump.c: Add eye-catchers.
6004 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
6005 numbers.
6006
58fa2af0
AA
60072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6008
6009 * gdb.base/execd-prog.c: Add eye-catchers.
6010 * gdb.base/foll-exec.c: Likewise.
6011 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
6012 line numbers.
6013
04e5059b
AA
60142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6015
6016 * gdb.base/ending-run.c: Add eye-catchers.
6017 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
6018 literal line numbers.
6019
dbfdb174
AA
60202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6021
6022 * gdb.base/call-rt-st.c: Add eye-catchers.
6023 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
6024 literal line numbers.
6025
888a2ade
AA
60262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6027
6028 * gdb.base/call-ar-st.c: Add eye-catchers.
6029 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
6030 literal line numbers.
6031
6acc2dde
AA
60322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6033
6034 * gdb.base/average.c: Add eye-catchers.
6035 * gdb.base/sum.c: Likewise.
6036 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
6037 regexps dynamically.
6038
9ecfcd1d
AA
60392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6040
6041 * gdb.base/solib1.c: Add eye-catchers.
6042 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
6043 literal line numbers.
6044
78708b7c
PA
60452014-11-12 Pedro Alves <palves@redhat.com>
6046
6047 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
6048 leader has exited.
6049
af48d08f
PA
60502014-11-12 Pedro Alves <palves@redhat.com>
6051
6052 * gdb.arch/i386-bp_permanent.c: New file.
6053 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
6054 (srcfile): Set to i386-bp_permanent.c.
6055 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
6056 that stepi does not execute the 'leave' instruction, instead of
6057 testing it does execute.
6058 * gdb.base/bp-permanent.c: New file.
6059 * gdb.base/bp-permanent.exp: New file.
6060
af3768e9
DE
60612014-11-10 Doug Evans <xdje42@gmail.com>
6062
6063 PR symtab/17564
6064 * gdb.base/symtab-search-order.exp: New file.
6065 * gdb.base/symtab-search-order.c: New file.
6066 * gdb.base/symtab-search-order-1.c: New file.
6067 * gdb.base/symtab-search-order-shlib-1.c: New file.
6068
9de00a4a
PA
60692014-11-07 Pedro Alves <palves@redhat.com>
6070
6071 PR gdb/17511
6072 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
6073 i?86-*-linux*.
6074
e0f52461
SC
60752014-11-03 Siva Chandra Reddy <sivachandra@google.com>
6076
6077 PR c++/17494
6078 * gdb.cp/pr17494.cc: New file.
6079 * gdb.cp/pr17494.exp: New file.
6080
6ce8c980
YQ
60812014-11-02 Yao Qi <yao@codesourcery.com>
6082
6083 * gdb.python/python.exp: Get working directory and match the
6084 output of "set extended-prompt \\w " with it.
6085
02be9a71
DE
60862014-10-30 Doug Evans <dje@google.com>
6087
6088 * gdb.python/py-objfile.exp: Add tests for setting random attributes
6089 in objfiles.
6090 * gdb.python/py-progspace.exp: Add tests for setting random attributes
6091 in progspaces.
6092
3bdff46b
LM
60932014-10-30 Janis Johnson <janisjo@codesourcery.com>
6094
6095 * gdb.base/fullpath-expand.exp: Skip for a remote host.
6096 * gdb.base/realname-expand.exp: Likewise.
6097 * gdb.linespec/macro-relative.exp: Likewise.
6098
ab917dfb
PA
60992014-10-29 Pedro Alves <palves@redhat.com>
6100
6101 PR gdb/17408
6102 * gdb.threads/schedlock.c (some_function): New function.
6103 (call_function): New global.
6104 (MAYBE_CALL_SOME_FUNCTION): New macro.
6105 (thread_function): Call it.
6106 * gdb.threads/schedlock.exp (get_args): Add description parameter,
6107 and use it instead of a global counter. Adjust all callers.
6108 (get_current_thread): Use "find current thread" for test message
6109 here rather than having all callers pass down the same string.
6110 (goto_loop): New procedure, factored out from ...
6111 (my_continue): ... this.
6112 (step_ten_loops): Change parameter from test message to command to
6113 use. Adjust.
6114 (list_count): Delete global.
6115 (check_result): New procedure, factored out from duplicate top
6116 level code.
6117 (continue tests): Wrap in with_test_prefix.
6118 (test_step): New procedure, factored out from duplicate top level
6119 code.
6120 (top level): Test "step" in combination with all scheduler-locking
6121 modes. Test "next" in combination with all scheduler-locking
6122 modes, and in combination with stepping over a function call or
6123 not.
6124 * gdb.threads/next-bp-other-thread.c: New file.
6125 * gdb.threads/next-bp-other-thread.exp: New file.
6126
d3d4baed
PA
61272014-10-29 Pedro Alves <palves@redhat.com>
6128
6129 PR python/17372
6130 * gdb.python/python.exp: Test a multi-line command that spawns
6131 interactive Python.
6132 * gdb.base/multi-line-starts-subshell.exp: New file.
6133
563e8d85
YQ
61342014-10-29 Yao Qi <yao@codesourcery.com>
6135
6136 * gdb.base/fileio.exp: Make directories on host.
6137
0ea4d52e
YQ
61382014-10-29 Yao Qi <yao@codesourcery.com>
6139
6140 * gdb.base/fileio.c (test_write): Close the file.
6141
7f5ef605
PA
61422014-10-28 Pedro Alves <palves@redhat.com>
6143
6144 PR gdb/12623
6145 * gdb.base/sigstep.c (no_handler): New global.
6146 (main): If 'no_handler is true, set the signal handlers to
6147 SIG_IGN.
6148 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
6149 with_sw_watch and no_handler parameters. Handle them.
6150 (top level) <stepping over handler when stopped at a breakpoint
6151 test>: Add a test axis for testing with a software watchpoint, and
6152 another for testing with the signal handler set to SIG_IGN.
6153 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
6154 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
6155
abbdbd03
PA
61562014-10-28 Pedro Alves <palves@redhat.com>
6157
6158 PR gdb/17511
6159 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
6160 * gdb.base/sigstep.exp (other_handler_location): New global.
6161 (advance): Support stepping into the signal handler, and running
6162 commands while in the handler.
6163 (in_handler_map): New global.
6164 (top level): In the advance test, add combinations for getting
6165 into the handler with stepping commands, and for running commands
6166 in the handler. Add comment descripting the advancei tests.
6167
1df4399f
PA
61682014-10-28 Pedro Alves <palves@redhat.com>
6169
6170 * gdb.base/sigstep.exp: Use build_executable instead of
6171 prepare_for_testing.
6172 (top level): Move code that starts GDB, runs to main and creates a
6173 display to ...
6174 (restart): ... this new procedure.
6175 (top level): Move backtrace from signal handler test to ...
6176 (validate_backtrace): ... this new procedure.
6177 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
6178 with_test_prefix. Always restart GDB.
6179 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
6180 with_test_prefix. Always restart GDB. No need to delete
6181 breakpoints after the test.
6182 (test_skip_handler): Remove prefix parameter.
6183 (skip_over_handler, breakpoint_to_handler)
6184 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
6185 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
6186 restart GDB. No need to delete breakpoints after the test.
6187 (top level): Use foreach to call the test procedures with
6188 different commands.
6189
a5b6e449
PA
61902014-10-28 Pedro Alves <palves@redhat.com>
6191
6192 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
6193 instead of GNATS numbers.
6194 * gdb.base/sigbpt.exp: Likewise.
6195 * gdb.base/siginfo.exp: Likewise.
6196 * gdb.base/sigstep.exp: Likewise.
6197
e5f8a7cc
PA
61982014-10-27 Pedro Alves <palves@redhat.com>
6199
6200 * gdb.base/sigstep.c (dummy): New global.
6201 (main): Issue a couple writes to the new global.
6202 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
6203 procedures.
6204 (skip_over_handler): Use test_skip_handler.
6205 (top level): Call skip_over_handler for stepi and nexti too.
6206 (breakpoint_over_handler): Use test_skip_handler.
6207 (top level): Call breakpoint_over_handler for stepi and nexti too.
6208
763905a3
YQ
62092014-10-27 Yao Qi <yao@codesourcery.com>
6210
6211 * gdb.trace/tfile.c (adjust_function_address)
6212 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6213 function descriptor.
6214
6f259a23
DB
62152014-10-24 Don Breazeal <donb@codesourcery.com>
6216
6217 * gdb.base/foll-fork.exp (test_follow_fork,
6218 catch_fork_child_follow): Check for updated fork messages emitted
6219 from infrun.c.
6220 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6221 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6222 vfork_and_exec_child_follow_through_step): Check for updated vfork
6223 messages emitted from infrun.c.
6224
09dd9a69
PA
62252014-10-24 Pedro Alves <palves@redhat.com>
6226
6227 * gdb.base/corefile.exp: Remove references to ultrix.
6228 * gdb.base/interrupt.exp: Likewise.
6229 * gdb.base/whatis.exp: Likewise.
6230 * gdb.gdb/selftest.exp: Likewise.
6231 * gdb.threads/manythreads.exp: Likewise.
6232 * gdb.threads/print-threads.exp: Likewise.
6233 * gdb.threads/pthreads.exp:: Likewise.
6234 * gdb.threads/schedlock.exp: Likewise.
6235
3433cfa5
SC
62362014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6237
6238 * gdb.cp/non-trivial-retval.cc: Add a test case.
6239 * gdb.cp/non-trivial-retval.exp: Add a test.
6240
092f880b
YQ
62412014-10-20 Yao Qi <yao@codesourcery.com>
6242
6243 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6244 * gdb.python/py-objfile-script-gdb.py: New file.
6245 * gdb.python/py-objfile-script.exp: Update reference to
6246 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6247 of remote_download. Remove the dest file.
6248
acbdb7f3
YQ
62492014-10-20 Yao Qi <yao@codesourcery.com>
6250
6251 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6252 * gdb.base/step-line.exp: Likewise.
6253 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6254 * gdb.dwarf2/dw2-basic.exp: Likewise.
6255 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6256 * gdb.dwarf2/dw2-filename.exp: Likewise.
6257 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6258 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6259 * gdb.dwarf2/dw2-producer.exp: Likewise.
6260 * gdb.dwarf2/mac-fileno.exp: Likewise.
6261 * gdb.python/py-frame-args.exp: Likewise.
6262 * gdb.python/py-framefilter.exp: Likewise.
6263 * gdb.python/py-mi.exp: Likewise.
6264 * gdb.python/py-objfile-script.exp: Likewise
6265 * gdb.python/py-pp-integral.exp: Likewise.
6266 * gdb.python/py-pp-re-notag.exp: Likewise.
6267 * gdb.python/py-prettyprint.exp: Likewise.
6268 * gdb.python/py-section-script.exp: Likewise.
6269 * gdb.python/py-typeprint.exp: Likewise.
6270 * gdb.python/py-xmethods.exp: Likewise.
6271 * gdb.stabs/weird.exp: Likewise.
6272 * gdb.xml/tdesc-regs.exp: Likewise.
6273
bd286a29
KCY
62742014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6275
6276 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6277 (out_cu): Use addr_len for the size of addresses.
6278 (out_line): Likewise. Size DW_LNE_set_address instruction
6279 according to addr_len.
6280 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6281 (FUNC): Add START_INSNS to definition.
6282
673dc4a0
YQ
62832014-10-18 Yao Qi <yao@codesourcery.com>
6284
6285 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6286 gdb_has_argv0 return true.
6287 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6288 check [target_info exists noargs], check [gdb_has_argv0]
6289 instead.
6290 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6291 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6292 procedures.
6293
4ffbba72
DE
62942014-10-17 Doug Evans <dje@google.com>
6295
6296 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6297 event.
6298 * gdb.python/py-events.py: Add clear_objfiles event.
6299
d096d8c1
DE
63002014-10-17 Doug Evans <dje@google.com>
6301
6302 * gdb.python/py-objfile.exp: Test progspace attribute.
6303
a80db015
LM
63042014-10-17 Luis Machado <lgustavo@codesourcery.com>
6305
6306 * gdb.guile/scm-breakpoint.exp: Do not assume any
6307 directory separators when matching source file paths.
6308 * gdb.python/py-breakpoint.exp: Likewise.
6309 * gdb.reverse/break-precsave.exp: Likewise.
6310 * gdb.reverse/break-reverse.exp: Likewise.
6311 * gdb.reverse/consecutive-precsave.exp: Likewise.
6312 * gdb.reverse/finish-precsave.exp: Likewise.
6313 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6314 * gdb.reverse/finish-reverse.exp: Likewise.
6315 * gdb.reverse/i386-precsave.exp: Likewise.
6316 * gdb.reverse/i387-env-reverse.exp: Likewise.
6317 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6318 * gdb.reverse/machinestate-precsave.exp: Likewise.
6319 * gdb.reverse/machinestate.exp: Likewise.
6320 * gdb.reverse/sigall-precsave.exp: Likewise.
6321 * gdb.reverse/solib-precsave.exp: Likewise.
6322 * gdb.reverse/step-precsave.exp: Likewise.
6323 * gdb.reverse/until-precsave.exp: Likewise.
6324 * gdb.reverse/watch-precsave.exp: Likewise.
6325 * gdb.reverse/watch-reverse.exp: Likewise.
6326
b22089ab
YQ
63272014-10-17 Yao Qi <yao@codesourcery.com>
6328
6329 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6330 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6331
6c4486e6
PA
63322014-10-17 Pedro Alves <palves@redhat.com>
6333
6334 PR gdb/17471
6335 * gdb.base/bg-execution-repeat.c: New file.
6336 * gdb.base/bg-execution-repeat.exp: New file.
6337
0ff33695
PA
63382014-10-17 Pedro Alves <palves@redhat.com>
6339
6340 PR gdb/17300
6341 * gdb.base/continue-all-already-running.c: New file.
6342 * gdb.base/continue-all-already-running.exp: New file.
6343
6fdebc3d
PA
63442014-10-17 Pedro Alves <palves@redhat.com>
6345
6346 PR gdb/17472
6347 * gdb.base/annota-input-while-running.c: New file.
6348 * gdb.base/annota-input-while-running.exp: New file.
6349
32a8097b
PA
63502014-10-17 Pedro Alves <palves@redhat.com>
6351
6352 * gdb.base/callfuncs.exp: emove references to osf.
6353 * gdb.base/sigall.exp: Likewise.
6354 * gdb.gdb/selftest.exp: Likewise.
6355 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6356 * gdb.mi/non-stop.c: Likewise.
6357 * gdb.mi/pthreads.c: Likewise.
6358 * gdb.reverse/sigall-precsave.exp: Likewise.
6359 * gdb.reverse/sigall-reverse.exp: Likewise.
6360 * gdb.threads/pthreads.c: Likewise.
6361 * gdb.threads/pthreads.exp: Likewise.
6362
7a3517ff
YQ
63632014-10-17 Yao Qi <yao@codesourcery.com>
6364
6365 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6366 check 'target_info exists noargs'.
6367 (test_command_prompt_position): Likewise.
6368 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6369 Remove "set args".
6370 (progvar_simple_while_test): Likewise.
6371 (progvar_complex_if_while_test): Likewise.
6372 (if_while_breakpoint_command_test): Likewise.
6373 (infrun_breakpoint_command_test): Likewise.
6374 (breakpoint_command_test): Likewise.
6375 (watchpoint_command_test): Likewise.
6376 (bp_deleted_in_command_test): Likewise.
6377 (temporary_breakpoint_commands): Likewise.
6378
bb99c472
YQ
63792014-10-16 Yao Qi <yao@codesourcery.com>
6380
6381 * gdb.base/remotetimeout.exp: Remove noargs checking.
6382
7c16b83e
PA
63832014-10-15 Pedro Alves <palves@redhat.com>
6384
6385 PR breakpoints/9649
6386 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6387 * gdb.base/breakpoint-in-ro-region.exp
6388 (probe_target_hardware_step): New procedure.
6389 (top level): Probe hardware stepping and hardware breakpoint
6390 support. Test stepping through a read-only region, with both
6391 "breakpoint auto-hw" on and off and both "always-inserted" on and
6392 off.
6393
35a49624
IB
63942014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6395
6396 * gdb.dlang/demangle.exp: Update for demangling changes.
6397
2d1c107c
SC
63982014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6399
6400 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6401 * gdb.cp/non-trivial-retval.exp: Add new tests.
6402
778811d5
SC
64032014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6404
6405 PR c++/13403
6406 PR c++/15154
6407 * gdb.cp/non-trivial-retval.cc: New file.
6408 * gdb.cp/non-trivial-retval.exp: New file.
6409
10c5f0a8
YQ
64102014-10-15 Yao Qi <yao@codesourcery.com>
6411
6412 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6413 remote host.
6414
65d7b369
YQ
64152014-10-15 Yao Qi <yao@codesourcery.com>
6416
6417 * gdb.python/py-symbol.exp: Match file base name if host is
6418 remote, otherwise match file name with dir name.
6419 * gdb.python/py-symtab.exp: Likewise.
6420 * gdb.python/python.exp: Likewise.
6421
46dc1394
YQ
64222014-10-15 Yao Qi <yao@codesourcery.com>
6423
6424 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6425 pattern.
6426 * gdb.python/py-symtab.exp: Likewise.
6427 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6428 locationn.
6429
c40cc657
JB
64302014-10-14 Joel Brobecker <brobecker@adacore.com>
6431
6432 * gdb.ada/addr_arith: New testcase.
6433
2abf49e1
MR
64342014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6435
6436 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6437 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6438 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6439 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6440
f7088df3
SDJ
64412014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6442
6443 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6444 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6445 * gdb.arch/stap-eval-lang-ada.exp: New file.
6446
4dc06805
YQ
64472014-10-14 Yao Qi <yao@codesourcery.com>
6448
6449 * gdb.mi/mi-var-child.c (nothing1): New function.
6450 (nothing2): New function.
6451 (do_children_tests): Set function pointers by nothing1 and
6452 nothing2.
6453 * gdb.mi/mi-var-child.exp: Step over new added statements.
6454 Update test to match the new output.
6455 * gdb.mi/var-cmd.c (nothing1): New function.
6456 (nothing2): New function.
6457 (do_children_tests): Set function pointers by nothing1 and
6458 nothing2.
6459 * gdb.mi/mi-var-display.exp: Update test to match output.
6460 Step to the line specified by $line_dct_nothing.
6461 Increase the number of lines to step.
6462
46a93de2
YQ
64632014-10-14 Yao Qi <yao@codesourcery.com>
6464
6465 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6466 tests.
6467 * gdb.mi/mi2-var-child.exp: Likewise.
6468
14ea52ee
DE
64692014-10-13 Doug Evans <dje@google.com>
6470
6471 * gdb.python/py-objfile.exp: Change name of file name test.
6472
e5c6e92b
DE
64732014-10-13 Doug Evans <dje@google.com>
6474
6475 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6476 from the start of the CU.
6477
c780cc2f
JK
64782014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6479 Yao Qi <yao@codesourcery.com>
6480
6481 Fix "save breakpoints" for "catch" command.
6482 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6483 Remove -nonewline. Match also the added "main" line.
6484
99894e11
JK
64852014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6486
6487 Fix "save breakpoints" for "disable $bpnum" command.
6488 * gdb.base/save-bp.c (main): Add label.
6489 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6490
6e1ac5a3
JK
64912014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6492
6493 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6494
754dd2b0
YQ
64952014-10-11 Yao Qi <yao@codesourcery.com>
6496
6497 * gdb.server/server-kill.exp: Execute command
6498 "set remote trace-status-packet on" before "tstatus".
6499
f90183d7
YQ
65002014-10-11 Yao Qi <yao@codesourcery.com>
6501
6502 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6503 (main): Call getppid.
6504 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6505 and continue to it. Read variable "server_pid".
6506
bf40a607
YQ
65072014-10-11 Yao Qi <yao@codesourcery.com>
6508
6509 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6510
052ca370
YQ
65112014-10-11 Yao Qi <yao@codesourcery.com>
6512
6513 * gdb.threads/thread-find.exp: Don't execute command
6514 "info threads".
6515 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6516 * gdb.threads/linux-dp.exp: Don't check the condition
6517 $threads_created equals to zero.
6518
3831839c
PA
65192014-10-10 Pedro Alves <palves@redhat.com>
6520
6521 * gdb.base/bigcore.exp: Remove references to IRIX.
6522 * gdb.base/funcargs.exp: Likewise.
6523 * gdb.base/interrupt.exp: Likewise.
6524 * gdb.base/mips_pro.exp: Likewise.
6525 * gdb.base/nodebug.exp: Likewise.
6526 * gdb.base/setvar.exp: Likewise.
6527 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6528
8b9a549d
PA
65292014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6530 Pedro Alves <palves@redhat.com>
6531
6532 PR symtab/14466
6533 * gdb.base/vdso-warning.c: New file.
6534 * gdb.base/vdso-warning.exp: New file.
6535
d48ba5e8
DE
65362014-10-02 Doug Evans <dje@google.com>
6537
6538 * gdb.base/structs.c (main): Don't run forever.
6539
2278c276
PA
65402014-10-02 Pedro Alves <palves@redhat.com>
6541
6542 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6543 (top level) <stop threads 1, stop threads 2>: Use it.
6544
b57bacec
PA
65452014-10-02 Pedro Alves <palves@redhat.com>
6546
6547 * gdb.threads/break-while-running.exp (test): Add new
6548 'update_thread_list' argument. Skip "info threads" if false.
6549 (top level): Add new 'update_thread_list' axis.
6550
13fd3ff3
PA
65512014-10-02 Pedro Alves <palves@redhat.com>
6552
6553 PR breakpoints/17431
6554 * gdb.base/execl-update-breakpoints.c: New file.
6555 * gdb.base/execl-update-breakpoints.exp: New file.
6556
0fec99e8
PA
65572014-10-01 Pedro Alves <palves@redhat.com>
6558
6559 * gdb.base/breakpoint-in-ro-region.c: New file.
6560 * gdb.base/breakpoint-in-ro-region.exp: New file.
6561
2ddf4301
SM
65622014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6563
6564 * gdb.mi/mi-exit-code.exp: New file.
6565 * gdb.mi/mi-exit-code.c: New file.
6566
6a5f3f43
YQ
65672014-09-30 Yao Qi <yao@codesourcery.com>
6568
6569 * lib/prelink-support.exp (build_executable_own_libs): Error if
6570 the target isn't native.
6571
345bcc73
YQ
65722014-09-30 Yao Qi <yao@codesourcery.com>
6573
6574 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6575 false.
6576
a25a5a45
PA
65772014-09-22 Pedro Alves <palves@redhat.com>
6578
6579 * gdb.threads/break-while-running.exp: New file.
6580 * gdb.threads/break-while-running.c: New file.
6581
00ba3162
YQ
65822014-09-19 Yao Qi <yao@codesourcery.com>
6583
6584 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6585 Invoke test. Restart GDB with --readnow and invoke test again.
6586
c3b7b696
YQ
65872014-09-19 Yao Qi <yao@codesourcery.com>
6588
6589 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6590 proc set_breakpoint_on_gcd_function. Invoke
6591 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6592 invoke set_breakpoint_on_gcd_function again.
6593
2b4fd423
DE
65942014-09-18 Doug Evans <dje@google.com>
6595
6596 * gdb.dwarf2/symtab-producer.exp: New file.
6597
a5947601
SDJ
65982014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6599
6600 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6601 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6602 * gdb.base/global-var-nested-by-dso.c: Likewise.
6603 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6604
91c19059
SDJ
66052014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6606 Pedro Alves <palves@redhat.com>
6607
6608 * gdb.base/watch-bitfields.exp: Pass string other than test file
6609 name to prepare_for_testing.
6610 (watch): New procedure.
6611 (expect_watchpoint): Use with_test_prefix.
6612 (top level): Factor out tests to ...
6613 (test_watch_location, test_regular_watch): ... these new
6614 procedures, and use with_test_prefix and gdb_continue_to_end.
6615
bb9d5f81
PP
66162014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6617
6618 PR breakpoints/12526
6619 * gdb.base/watch-bitfields.exp: New file.
6620 * gdb.base/watch-bitfields.c: New file.
6621
635856f5
PA
66222014-09-16 Pedro Alves <palves@redhat.com>
6623
6624 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6625 software and hardware addresses, not software address against
6626 itself.
6627
7280ceea
PA
66282014-09-16 Pedro Alves <palves@redhat.com>
6629
6630 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6631 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6632
428b16bd
PA
66332014-09-16 Pedro Alves <palves@redhat.com>
6634
6635 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6636 files.
6637 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6638 "*-*-vxworks*" throughout.
6639 * gdb.base/break.exp: Likewise.
6640 * gdb.base/default.exp: Likewise.
6641 * gdb.base/scope.exp: Likewise.
6642 * gdb.base/sepdebug.exp: Likewise.
6643 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6644 throughout.
6645 * gdb.base/run.c: Likewise.
6646 * gdb.base/sepdebug.c: Likewise.
6647 * gdb.hp/gdb.aCC/run.c: Likewise.
6648 * gdb.reverse/until-reverse.c: Likewise.
6649 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6650
666d413c
YQ
66512014-09-16 Yao Qi <yao@codesourcery.com>
6652
6653 * boards/local-remote-host-native.exp: New file.
6654
57cbd724
DE
66552014-09-14 Doug Evans <xdje42@gmail.com>
6656
6657 * gdb.threads/queue-signal.c (thread_count): New variable.
6658 (thread_count_mutex, thread_count_condvar): New variables.
6659 (incr_thread_count, wait_all_threads_running): New functions.
6660 (main): Wait for all threads to be in their thread functions.
6661
81219e53
DE
66622014-09-13 Doug Evans <xdje42@gmail.com>
6663
6664 * gdb.threads/queue-signal.c: New file.
6665 * gdb.threads/queue-signal.exp: New file.
6666
3714cea7
DE
66672014-09-13 Doug Evans <xdje42@gmail.com>
6668
6669 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6670 be consistent with what default_gdb_init uses.
6671 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6672 the plain text of the prompt. Add some logging printfs.
6673 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6674
fa43b1d7
PA
66752014-09-12 Pedro Alves <palves@redhat.com>
6676
6677 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6678 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6679 * gdb.arch/i386-size-overlap.exp: Likewise.
6680 * gdb.arch/i386-size.exp: Likewise.
6681 * gdb.arch/i386-unwind.exp: Likewise.
6682 * gdb.base/a2-run.exp: Likewise.
6683 * gdb.base/break.exp: Likewise.
6684 * gdb.base/charset.exp: Likewise.
6685 * gdb.base/chng-syms.exp: Likewise.
6686 * gdb.base/commands.exp: Likewise.
6687 * gdb.base/dbx.exp: Likewise.
6688 * gdb.base/find.exp: Likewise.
6689 * gdb.base/funcargs.exp: Likewise.
6690 * gdb.base/jit-simple.exp: Likewise.
6691 * gdb.base/reread.exp: Likewise.
6692 * gdb.base/sepdebug.exp: Likewise.
6693 * gdb.base/step-bt.exp: Likewise.
6694 * gdb.cp/mb-inline.exp: Likewise.
6695 * gdb.cp/mb-templates.exp: Likewise.
6696 * gdb.objc/basicclass.exp: Likewise.
6697 * gdb.threads/killed.exp: Likewise.
6698
9d9bf2df
EBM
66992014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6700
6701 PR tdep/17379
6702 * gdb.arch/powerpc-stackless.S: New file.
6703 * gdb.arch/powerpc-stackless.exp: New file.
6704
1cf2f1b0
JK
67052014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6706
6707 * gdb.base/attach.c: Include unistd.h.
6708 (main): Call alarm. Add label postloop.
6709 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6710 gdb_breakpoint, gdb_continue_to_breakpoint.
6711 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6712
98880d46
PA
67132014-09-11 Pedro Alves <palves@redhat.com>
6714
6715 PR gdb/17347
6716 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6717 * gdb.base/attach.exp (test_command_line_attach_run): New
6718 procedure.
6719 (top level): Call it.
6720
4c92ff2c
PA
67212014-09-11 Pedro Alves <palves@redhat.com>
6722
6723 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6724 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6725 (do_command_attach_tests): Use spawn_wait_for_attach.
6726 * gdb.base/solib-overlap.exp: Likewise.
6727 * gdb.multi/multi-attach.exp: Likewise.
6728 * gdb.python/py-prompt.exp: Likewise.
6729 * gdb.python/py-sync-interp.exp: Likewise.
6730 * gdb.server/ext-attach.exp: Likewise.
6731
3adc1a7d
GKB
67322014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6733
6734 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6735 command in testcase. Simplify testcase.
6736
96334934
JB
67372014-09-10 Joel Brobecker <brobecker@adacore.com>
6738
6739 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6740
eb479039
JB
67412014-09-10 Joel Brobecker <brobecker@adacore.com>
6742
6743 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6744
deede10c
JB
67452014-09-10 Joel Brobecker <brobecker@adacore.com>
6746
6747 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6748
7828a5f5
JB
67492014-09-10 Joel Brobecker <brobecker@adacore.com>
6750
6751 * gdb.dwarf2/dynarr-ptr.c: New file.
6752 * gdb.dwarf2/dynarr-ptr.exp: New file.
6753
33aeebcf
MR
67542014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6755
6756 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6757 of 30 rather than hardcoding 120 for a slow test case. Take the
6758 `gdb,timeout' target setting into account for this calculation.
6759 Don't extend the timeout for the test cases that don't need it.
6760
7b415901
MR
67612014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6762
6763 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6764 a factor of 2 for a slow test case. Take the `gdb,timeout'
6765 target setting into account for this calculation.
6766 * gdb.reverse/until-precsave.exp: Increase the timeout by
6767 a factor of 15 and 3 respectively rather than adding 120
6768 for a pair of slow test cases. Take the `gdb,timeout'
6769 target setting into account for this calculation.
6770
4a40f85a
MR
67712014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6772
6773 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6774 timeout, don't pass one down to gdb_expect.
6775 (gdb_expect): Rework timeout selection.
6776
09635af7
MR
67772014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6778
6779 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6780 exception on timeout.
6781 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6782 (gdbserver_start_extended): Catch any `gdbserver_start' error
6783 exceptions.
6784 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6785 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6786 `gdbserver_gdb_load' error exceptions.
6787
2bdd10b7
MR
67882014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6789
6790 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6791 120 on waiting for the TCP socket to open.
6792
316935f0
DE
67932014-09-09 Doug Evans <xdje42@gmail.com>
6794
6795 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6796 _caller_matches, _any_caller_is, _any_caller_matches.
6797
83740597
DE
67982014-09-09 Doug Evans <xdje42@gmail.com>
6799
6800 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6801
4c122fc3
YQ
68022014-09-09 Yao Qi <yao@codesourcery.com>
6803
6804 * gdb.mi/mi-var-display.exp: Set print symbol off.
6805
a9f116cb
GKB
68062014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6807
6808 PR gdb/17035
6809 * gdb.base/commands.exp: Add tests to verify user-defined
6810 commands with empty bodies.
6811 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6812 python commands in `show user command`.
6813 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6814 scheme commands in `show user command`.
6815
c75bd3a2
JK
68162014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6817
6818 PR python/17355
6819 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6820 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6821 * gdb.python/py-framefilter-invalidarg.exp: New file.
6822 * gdb.python/py-framefilter-invalidarg.py: New file.
6823
faa42425
DE
68242014-09-06 Doug Evans <xdje42@gmail.com>
6825
6826 PR 15276
6827 * gdb.python/py-caller-is.c: New file.
6828 * gdb.python/py-caller-is.exp: New file.
6829
474ca4f6
SDJ
68302014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6831
6832 PR gdb/17235
6833 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6834 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6835
eb0b0463
SDJ
68362014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6837
6838 PR fortran/17237
6839 * gdb.fortran/print-formatted.exp: New file.
6840 * gdb.fortran/print-formatted.f90: Likewise.
6841
5f3b99cf
SS
68422014-09-03 Sasha Smundak <asmundak@google.com>
6843
6844 * gdb.python/py-frame.exp: Test Frame.read_register.
6845
7d793aa9
SDJ
68462014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6847
6848 PR python/16699
6849 * gdb.python/py-completion.exp: New file.
6850 * gdb.python/py-completion.py: Likewise.
6851
fb0576e9
DE
68522014-08-28 Doug Evans <dje@google.com>
6853
6854 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6855 eax,etc. are live with values set by gdb and thus the compiler can't
6856 use them.
6857 * gdb.arch/i386-pseudo.c (main): Ditto.
6858
ee92b0dd
DE
68592014-08-27 Doug Evans <dje@google.com>
6860
6861 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6862
6649db35
DE
68632014-08-25 Doug Evans <dje@google.com>
6864
6865 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6866 (main): Ditto.
6867
564b7600
DE
68682014-08-25 Doug Evans <dje@google.com>
6869
6870 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6871
3881fb67
YQ
68722014-08-24 Yao Qi <yao@codesourcery.com>
6873
6874 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6875 symbol off.
6876 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6877
a05a36a5
DE
68782014-08-22 Doug Evans <dje@google.com>
6879
6880 PR 17276
6881 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6882 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6883 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6884
7c343b48
YQ
68852014-08-22 Yao Qi <yao@codesourcery.com>
6886
6887 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6888 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6889 * gdb.python/python.exp: Likewise. Use .py file on the host
6890 instead of the build.
6891
22fd09ae
JK
68922014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6893
6894 * gdb.threads/gcore-stale-thread.c: New file.
6895 * gdb.threads/gcore-stale-thread.exp: New file.
6896
a8454a7c
PA
68972014-08-21 Pedro Alves <palves@redhat.com>
6898
6899 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6900 * gdb.base/gcore-relro-pie.exp: Likewise.
6901 * gdb.base/gcore-relro.exp: Likewise.
6902 * gdb.base/gcore.exp: Likewise.
6903 * gdb.base/print-symbol-loading.exp: Likewise.
6904 * gdb.threads/gcore-thread.exp: Likewise.
6905 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6906
2a31c623
PA
69072014-08-20 Pedro Alves <palves@redhat.com>
6908 Jan Kratochvil <jan.kratochvil@redhat.com>
6909
6910 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6911 configure.
6912 (EXPECT): Handle READ1 being set.
6913 (all): Depend on EXTRA_RULES.
6914 (check-read1, expect-read1, read1.so, read1): New rules.
6915 * README (Testsuite Parameters): Document the READ1 make variable.
6916 (Race detection): New section.
6917 * configure: Regenerate.
6918 * configure.ac: If build==host==target, and running under a
6919 GNU/glibc system, add read1 to the extra Makefile rules.
6920 (EXTRA_RULES): AC_SUBST it.
6921 * lib/read1.c: New file.
6922
d36430db
JB
69232014-08-20 Joel Brobecker <brobecker@adacore.com>
6924
6925 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6926 the handling of variables declared as a typedef to an array
6927 which a DW_AT_data_location attribute.
6928
9a0dc9e3
PA
69292014-08-19 Andrew Burgess <aburgess@broadcom.com>
6930 Pedro Alves <palves@redhat.com>
6931
6932 PR symtab/14604
6933 PR symtab/14605
6934 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6935 gdb_test.
6936
0718a8da
PA
69372014-08-19 Pedro Alves <palves@redhat.com>
6938
6939 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6940
13b448cd
YQ
69412014-08-19 Yao Qi <yao@codesourcery.com>
6942
6943 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6944 right line.
6945
1cbf5077
DB
69462014-08-18 David Blaikie <dblaikie@gmail.com>
6947
6948 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6949
bf0fae19
JB
69502014-08-18 Joel Brobecker <brobecker@adacore.com>
6951
6952 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6953 attribute in array range.
6954
3c8c5dcc
JB
69552014-08-18 Joel Brobecker <brobecker@adacore.com>
6956
6957 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6958
e66d4446
SC
69592014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6960
6961 PR c++/17132
6962 * gdb.cp/pr17132.cc: New file.
6963 * gdb.cp/pr17132.exp: New file.
6964
940df408
SC
69652014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6966
6967 * gdb.python/py-xmethods.py (A_getarrayind)
6968 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6969 Use 'print' with function call syntax.
6970 (E_method_matcher.match): Fix tab vs space indentation mixup.
6971
ebcc6c3a
YQ
69722014-08-15 Yao Qi <yao@codesourcery.com>
6973
6974 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6975 false.
6976
775e0f04
YQ
69772014-08-15 Yao Qi <yao@codesourcery.com>
6978
6979 * gdb.cp/casts.exp: Set print symbol off.
6980 * gdb.cp/class2.exp: Likewise.
6981 * gdb.cp/overload.exp: Likewise.
6982 * gdb.cp/templates.exp: Likewise.
6983
d769e349
DE
69842014-08-11 Doug Evans <dje@google.com>
6985
6986 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6987 (test_load_shlib): Update.
6988
20c6f1e1
YQ
69892014-08-09 Yao Qi <yao@codesourcery.com>
6990
6991 * gdb.base/display.exp: Invoke is_address_zero_readable.
6992 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6993 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6994 * gdb.base/hbreak-unmapped.exp: Return if
6995 is_address_zero_readable returns true.
6996 * gdb.base/signest.exp: Likewise.
6997 * gdb.base/signull.exp: Likewise.
6998 * gdb.base/sigbpt.exp: Likewise.
6999 * gdb.guile/scm-disasm.exp: Do the test if
7000 is_address_zero_readable returns false.
7001 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
7002 * gdb.python/py-arch.exp: Likewise.
7003 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
7004 * lib/gdb.exp (is_address_zero_readable): New proc.
7005
5792e8e3
YQ
70062014-08-09 Yao Qi <yao@codesourcery.com>
7007
7008 PR testsuite/13443
7009 * gdb.mi/mi-var-display.exp: Make test messages unique.
7010
3cecbbbe
TT
70112014-08-04 Tom Tromey <tromey@redhat.com>
7012
7013 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
7014 target 0".
7015
00b51ff5
TT
70162014-08-04 Tom Tromey <tromey@redhat.com>
7017
7018 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
7019 "target_resume".
7020
6908c509
JB
70212014-08-01 Joel Brobecker <brobecker@adacore.com>
7022
7023 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
7024 inner_vla_struct_object_size.
7025 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
7026 as xfail.
7027
cc6563d2
PA
70282014-07-30 Pedro Alves <palves@redhat.com>
7029
7030 * gdb.threads/signal-command-handle-nopass.exp (test): Add
7031 comment.
7032
7e09a223
YQ
70332014-07-29 Yao Qi <yao@codesourcery.com>
7034
7035 PR gdb/17206
7036 * gdb.base/until-nodebug.exp: New.
7037
7ebdbe92
DE
70382014-07-28 Doug Evans <xdje42@gmail.com>
7039
7040 PR guile/17203
7041 * gdb.guile/scm-parameter.exp: Add tests for trying to create
7042 previously existing parameter, and previously ambiguously spelled
7043 parameter.
7044
fdb1adc6
WN
70452014-07-28 Will Newton <will.newton@linaro.org>
7046
7047 * gdb.base/varargs.exp: Remove KFAILs for ARM.
7048
186fcde0
DE
70492014-07-26 Ludovic Courtès <ludo@gnu.org>
7050 Doug Evans <xdje42@gmail.com>
7051
7052 PR guile/17146
7053 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
7054
70509625
PA
70552014-07-25 Pedro Alves <palves@redhat.com>
7056
7057 * gdb.threads/signal-command-handle-nopass.c: New file.
7058 * gdb.threads/signal-command-handle-nopass.exp: New file.
7059 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
7060 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
7061 * gdb.threads/signal-delivered-right-thread.c: New file.
7062 * gdb.threads/signal-delivered-right-thread.exp: New file.
7063
c3f814a1
PA
70642014-07-25 Pedro Alves <palves@redhat.com>
7065
7066 * gdb.base/double-prompt-target-event-error.exp
7067 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
7068 match.
7069 (cancel_pagination_in_target_event): Rework double prompt
7070 detection.
7071 * gdb.base/paginate-after-ctrl-c-running.exp
7072 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
7073 <return>' match.
7074 * gdb.base/paginate-bg-execution.exp
7075 (test_bg_execution_pagination_return)
7076 (test_bg_execution_pagination_cancel): Remove '-notransfer
7077 <return>' matches.
7078 * gdb.base/paginate-execution-startup.exp
7079 (test_fg_execution_pagination_return)
7080 (test_fg_execution_pagination_cancel): Remove '-notransfer
7081 <return>' matches.
7082 * gdb.base/paginate-inferior-exit.exp
7083 (test_paginate_inferior_exited): Remove '-notransfer <return>'
7084 match.
7085 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
7086 * lib/gdb.exp (pagination_prompt): Run text through
7087 string_to_regexp.
7088 (gdb_test_multiple): Match $pagination_prompt instead of
7089 "<return>".
7090 (string_to_regexp): Move to lib/gdb-utils.exp.
7091
e214cf6c
JK
70922014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7093
7094 * gdb.arch/amd64-entry-value-paramref.S: New file.
7095 * gdb.arch/amd64-entry-value-paramref.cc: New file.
7096 * gdb.arch/amd64-entry-value-paramref.exp: New file.
7097 * gdb.arch/amd64-optimout-repeat.S: New file.
7098 * gdb.arch/amd64-optimout-repeat.c: New file.
7099 * gdb.arch/amd64-optimout-repeat.exp: New file.
7100
17d0c5c8
JK
71012014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7102
7103 PR gdb/17170
7104 * gdb.base/statistics.exp: New file.
7105
b8b8facf
DE
71062014-07-17 Doug Evans <dje@google.com>
7107
74b49205 7108 PR gdb/17170
b8b8facf
DE
7109 * gdb.base/maint.exp: Update testing of per-command stats.
7110
1b5d0ab3
PA
71112014-07-16 Pedro Alves <palves@redhat.com>
7112
7113 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
7114 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
7115 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
7116 (tfile_write_buf): New functions.
7117 (add_memory_block): Rewrite using the above.
7118 (adjust_function_address): New function.
7119 (FUNCTION_ADDRESS): New macro.
7120 (write_basic_trace_file): Remove short_x local, and use
7121 tfile_write_16. Change type of func_addr local to unsigned long
7122 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
7123 here. Cast argument of add_memory_block to char pointer.
7124 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
7125 (main): Remove parameters.
7126 * gdb.trace/tfile.exp: Remove nowarnings.
7127
4d974e88
SM
71282014-07-15 Simon Marchi <simon.marchi@ericsson.com>
7129
7130 * gdb.base/debug-expr.exp: Test string evaluation with
7131 "debug expression" on.
7132
41e99568
PA
71332014-07-15 Pedro Alves <palves@redhat.com>
7134
7135 * gdb.base/reread.exp: Use clean_restart.
7136
487d9753
PL
71372014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
7138
7139 * gdb.arch/avr-flash-qualifer.c: New.
7140 * gdb.arch/avr-flash-qualifer.exp: New.
7141
cc1c52ad
PA
71422014-07-14 Pedro Alves <palves@redhat.com>
7143
7144 * gdb.base/paginate-after-ctrl-c-running.c: New file.
7145 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
7146
1e973570
PA
71472014-07-14 Pedro Alves <palves@redhat.com>
7148
7149 * gdb.base/double-prompt-target-event-error.c: New file.
7150 * gdb.base/double-prompt-target-event-error.exp: New file.
7151
93d6eb10
PA
71522014-07-14 Pedro Alves <palves@redhat.com>
7153
7154 PR gdb/17072
7155 * gdb.base/paginate-inferior-exit.c: New file.
7156 * gdb.base/paginate-inferior-exit.exp: New file.
7157
0017922d
PA
71582014-07-14 Pedro Alves <palves@redhat.com>
7159
7160 PR gdb/17072
7161 * gdb.base/paginate-bg-execution.c: New file.
7162 * gdb.base/paginate-bg-execution.exp: New file.
7163
94696ad3
PA
71642014-07-14 Pedro Alves <palves@redhat.com>
7165
7166 PR gdb/17072
7167 * gdb.base/paginate-execution-startup.c: New file.
7168 * gdb.base/paginate-execution-startup.exp: New file.
7169 * lib/gdb.exp (pagination_prompt): New global.
7170 (default_gdb_spawn): New procedure, factored out from
7171 default_gdb_spawn.
7172 (default_gdb_start): Adjust to call default_gdb_spawn.
7173 (gdb_spawn): New procedure.
7174
bd293940
PA
71752014-07-14 Pedro Alves <palves@redhat.com>
7176
7177 * lib/gdb.exp (gdb_assert): New procedure.
7178 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
7179
c933f875
PA
71802014-07-14 Pedro Alves <palves@redhat.com>
7181
7182 * gdb.base/execution-termios.c: New file.
7183 * gdb.base/execution-termios.exp: New file.
7184
d98b7a16
TT
71852014-07-14 Tom Tromey <tromey@redhat.com>
7186
7187 * gdb.cp/vla-cxx.cc: New file.
7188 * gdb.cp/vla-cxx.exp: New file.
7189
548740d6
TT
71902014-07-14 Tom Tromey <tromey@redhat.com>
7191
7192 * gdb.reverse/rerun-prec.c: New file.
7193 * gdb.reverse/rerun-prec.exp: New file.
7194
a25eb028
MR
71952014-07-12 Maciej W. Rozycki <macro@mips.com>
7196 Maciej W. Rozycki <macro@codesourcery.com>
7197
7198 * lib/gdb-utils.exp: New file.
7199 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
7200 inline `gdb_init_command' processing.
7201 (gdb_start_cmd): Likewise.
7202 * lib/mi-support.exp (mi_run_cmd): Likewise.
7203 * README: Document `gdb_init_command' and `gdb_init_commands'.
7204
218c2655
JK
72052014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7206
7207 Fix false FAIL running under a very long directory name.
7208 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
7209 and "set print elements 10000". Twice.
7210
5401fde3
YQ
72112014-07-11 Yao Qi <yao@codesourcery.com>
7212
7213 * gdb.base/exprs.exp: "set print symbol off".
7214
e76126e8
PA
72152014-07-11 Pedro Alves <palves@redhat.com>
7216
7217 * gdb.threads/kill.c: New file.
7218 * gdb.threads/kill.exp: New file.
7219
2d6f0de6
YQ
72202014-07-10 Yao Qi <yao@codesourcery.com>
7221
7222 * gdb.trace/tfile.c (write_basic_trace_file)
7223 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7224 address written to trace file.
7225
7180e04a
PA
72262014-07-09 Pedro Alves <palves@redhat.com>
7227
7228 * gdb.base/attach-wait-input.exp: New file.
7229 * gdb.base/attach-wait-input.c: New file.
7230
9a9a7608
AB
72312014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7232
7233 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7234 setting up test structures.
7235 (main): Call new test function.
7236 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7237 test function, continue into test function and walk test
7238 structures.
7239
161ac41e
YQ
72402014-07-02 Yao Qi <yao@codesourcery.com>
7241
7242 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7243 'bar_start' at the beginning of functions 'foo' and 'bar'
7244 respectively.
7245 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7246 instead of 'foo' and 'bar'.
7247
1f267ae3
MM
72482014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7249
7250 * gdb.btrace/segv.exp: New.
7251 * gdb.btrace/segv.c: New.
7252
2b239efb
LM
72532014-07-02 Luis Machado <lgustavo@codesourcery.com>
7254
7255 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7256 instruction.
7257
cf363f18
MW
72582014-06-30 Mark Wielaard <mjw@redhat.com>
7259
7260 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7261 vulture, vilify, villar): New volatile array constants.
7262 (vindictive, vegetation): New const volatile array constants.
7263 * gdb.base/volatile.exp: Test volatile and const volatile array
7264 types.
7265
aebf9d24
AA
72662014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7267
7268 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7269 target lacks support for awatch, rwatch, or hbreak.
7270
b67a2c6f
YQ
72712014-06-27 Yao Qi <yao@codesourcery.com>
7272
7273 * gdb.multi/dummy-frame-restore.exp: New.
7274 * gdb.multi/dummy-frame-restore.c: New.
7275
aef92902
MM
72762014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7277
7278 * gdb.btrace/gcore.exp: New.
7279
8e9db26e
PA
72802014-06-23 Pedro Alves <palves@redhat.com>
7281
7282 * gdb.base/watchpoint-reuse-slot.c: New file.
7283 * gdb.base/watchpoint-reuse-slot.exp: New file.
7284
70afc5b7
SC
72852014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7286
7287 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7288 progspace's filename in 'info', 'enable' and 'disable' command
7289 tests.
7290
b972bd9c
JK
72912014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7292
7293 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7294 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7295 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7296
125f8a3d
GB
72972014-06-20 Gary Benson <gbenson@redhat.com>
7298
7299 * gdb.arch/i386-avx.exp: Fix include file location.
7300 * gdb.arch/i386-sse.exp: Likewise.
7301
3ed9baed
IB
73022014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7303
7304 * gdb.dlang/expression.exp: New file.
7305
034f788c
PA
73062014-06-19 Pedro Alves <palves@redhat.com>
7307
7308 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7309 out from ...
7310 (top level): ... here. Iterate running tests under different
7311 scheduler-locking settings.
7312
45371d0c
LM
73132014-06-18 Luis Machado <lgustavo@codesourcery.com>
7314
7315 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7316 to DW_FORM_addr and use non-zero addresses.
7317
5d376983
SC
73182014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7319
7320 PR gdb/17017
7321 * gdb.python/py-xmethods.cc: Add global function call counters and
7322 increment them in their respective functions. Remove "cout"
7323 statements.
7324 * gdb.python/py-xmethods.exp: Make tests check the global function
7325 call counters instead of depending on inferior IO.
7326
a1aa2221
LM
73272014-06-18 Don Breazeal <donb@codesourcery.com>
7328
7329 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7330 Deleted procedure.
7331 (explicit_fork_parent_follow): Deleted procedure.
7332 (explicit_fork_child_follow): Deleted procedure.
7333 (test_follow_fork): New procedure.
7334 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 7335 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
7336 procedure calls.
7337
0fc05997
YQ
73382014-06-17 Yao Qi <yao@codesourcery.com>
7339
7340 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7341 CP1252.
7342
70795c52
LM
73432014-06-17 Luis Machado <lgustavo@codesourcery.com>
7344
7345 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7346 Initialize ptr and S explicitly.
7347 (skip_type_update_when_not_use_rtti_test): Likewise.
7348
6be47f0c
KS
73492014-06-16 Keith Seitz <keiths@redhat.com>
7350
7351 PR mi/15863
7352 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7353 the inferior is started.
7354
d03de421
PA
73552014-06-16 Pedro Alves <palves@redhat.com>
7356
7357 * gdb.base/break-main-file-remove-fail.c: New file.
7358 * gdb.base/break-main-file-remove-fail.exp: New file.
7359 * gdb.base/break-unload-file.exp: Use build_executable instead of
7360 prepare_for_testing.
7361 (test_break): New parameter "initial_load". Handle it.
7362 (top level): Add initial_load cmdline/file axis.
7363
f9579b99
TT
73642014-06-12 Tom Tromey <tromey@redhat.com>
7365
7366 * gdb.base/completion.exp: Don't use directory name in test.
7367
3657956b
GB
73682014-06-09 Gary Benson <gbenson@redhat.com>
7369
7370 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7371 separate the always-available ANSI-standard signals from the
7372 signals that require checking.
7373 (main): Likewise.
7374 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7375 Likewise.
7376 (main): Likewise.
7377
4186eb54
KS
73782014-06-07 Keith Seitz <keiths@redhat.com>
7379
7380 Revert:
7381 PR c++/16253
7382 * gdb.cp/var-tag.cc: New file.
7383 * gdb.cp/var-tag.exp: New file.
7384 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7385 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7386 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7387 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7388
25326a28 73892014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
7390
7391 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7392
829155c9
PA
73932014-06-06 Pedro Alves <palves@redhat.com>
7394
7395 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7396 in target debug output instead of looking at RSP packets,
7397 disabling the test on any target that uses hardware stepping.
7398 Update comments.
7399
61c8d22e
PA
74002014-06-06 Pedro Alves <palves@redhat.com>
7401
7402 * gdb.base/break-unload-file.exp: Fix typo.
7403
d9a47287
YQ
74042014-06-06 Yao Qi <yao@codesourcery.com>
7405
7406 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7407 from "jit_function" to "^jit_function".
7408
e5e01dbf
YQ
74092014-06-06 Yao Qi <yao@codesourcery.com>
7410
7411 * gdb.base/async.c (foo): Add one statement.
7412 * gdb.base/async.exp: Get the next instruction address and
7413 match the output of "nexti" by instruction address. Match
7414 the hex address in the output of "finish".
7415
73ba372c
GB
74162014-06-06 Gary Benson <gbenson@redhat.com>
7417
7418 * gdb.base/call-signals.c: Remove preprocessor conditionals
7419 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7420 SIGSEGV and SIGTERM.
7421 * gdb.base/sigall.c: Likewise.
7422 * gdb.base/unwindonsignal.c: Likewise.
7423 * gdb.reverse/sigall-reverse.c: Likewise.
7424
831517df
YQ
74252014-06-06 Yao Qi <yao@codesourcery.com>
7426
7427 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7428 readable, skip the test.
7429
b8b91e98
YQ
74302014-06-06 Yao Qi <yao@codesourcery.com>
7431
7432 * gdb.threads/staticthreads.c (thread_function): Move the line
7433 setting breakpoint on forward.
7434 * gdb.threads/staticthreads.exp: Update comments.
7435
fb934770
LC
74362014-06-05 Ludovic Courtès <ludo@gnu.org>
7437
7438 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7439 "history-append! type error".
7440
6ef284bd
SM
74412014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7442
7443 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7444 erroneous dprintf expected input.
7445
a872e241
DE
74462014-06-04 Doug Evans <xdje42@gmail.com>
7447
7448 * gdb.guile/scm-generics.exp: Delete.
7449
16f691fb
DE
74502014-06-04 Doug Evans <xdje42@gmail.com>
7451
7452 * gdb.guile/scm-breakpoint.exp: Update.
7453 Add tests for breakpoint registration.
7454
012370f6
TT
74552014-06-04 Tom Tromey <tromey@redhat.com>
7456
7457 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7458 VLA-in-union.
7459 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7460 inner_vla_struct, vla_union types. Initialize objects of those
7461 types and compute their sizes.
7462
9f5a4cef
HZ
74632014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7464 Hui Zhu <hui@codesourcery.com>
7465
7466 * gdb.base/fileio.exp: Add test for shell not available as well as
7467 available.
7468 * gdb.base/fileio.c (test_system): Check for shell twice.
7469
90a45c4d
YQ
74702014-06-04 Yao Qi <yao@codesourcery.com>
7471
7472 * gdb.base/auto-connect-native-target.exp: Remove redundant
7473 space from the regexp pattern.
7474
70017e41
YQ
74752014-06-04 Yao Qi <yao@codesourcery.com>
7476
7477 * gdb.base/default.exp: Replace "child" with "native" in
7478 regexp pattern.
7479
883964a7
SC
74802014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7481
7482 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7483 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7484 * gdb.python/py-xmethods.py: Python script supporting the
7485 new testcase and tests.
7486
ef370185
JB
74872014-06-03 Joel Brobecker <brobecker@adacore.com>
7488 Pedro Alves <palves@redhat.com>
7489
7490 PR breakpoints/17000
7491 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7492 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7493
1e2ccb61
BM
74942014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7495
7496 * gdb.base/subst.exp: Add tests to verify partial path matching
7497 output.
7498
c6ec5ab2
PA
74992014-06-03 Pedro Alves <palves@redhat.com>
7500
7501 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7502 target that doesn't use software single-stepping.
7503
835c559f
PA
75042014-06-03 Pedro Alves <palves@redhat.com>
7505
7506 PR breakpoints/17000
7507 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7508 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7509
06eb1586
DE
75102014-06-02 Doug Evans <xdje42@gmail.com>
7511
7512 * gdb.guile/scm-parameter.exp: New file.
7513
e698b8c4
DE
75142014-06-02 Doug Evans <xdje42@gmail.com>
7515
7516 * gdb.guile/scm-cmd.c: New file.
7517 * gdb.guile/scm-cmd.exp: New file.
7518
ded03782
DE
75192014-06-02 Doug Evans <xdje42@gmail.com>
7520
7521 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7522 pretty-printer lookup.
7523 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7524 (make-pp_s-printer): Call it.
7525 (make-pretty-printer-from-dict): New function.
7526 (lookup-pretty-printer-maker-from-dict): New function.
7527 (*pretty-printer*): Simplify.
7528 (make-objfile-pp_s-printer): New function.
7529 (install-objfile-pretty-printers!): New function.
7530 (make-progspace-pp_s-printer): New function.
7531 (install-progspace-pretty-printers!): New function.
7532 * gdb.guile/scm-progspace.c: New file.
7533 * gdb.guile/scm-progspace.exp: New file.
7534
41fac0cf
PA
75352014-06-02 Pedro Alves <palves@redhat.com>
7536
7537 * gdb.base/dprintf-bp-same-addr.c: New file.
7538 * gdb.base/dprintf-bp-same-addr.exp: New file.
7539
96ae5695
EBM
75402014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7541
7542 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7543 * gdb.arch/powerpc-power.s: Likewise.
7544
da02b3a8
JB
75452014-06-02 Joel Brobecker <brobecker@adacore.com>
7546
7547 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7548
c72b2e7b
YQ
75492014-06-01 Yao Qi <yao@codesourcery.com>
7550
7551 * gdb.base/watchpoint.exp (test_watch_location): Check null
7552 pointer can be dereferenced. If not, do the test, otherwise
7553 skip it.
7554
53e8a631
AB
75552014-05-30 Andrew Burgess <aburgess@broadcom.com>
7556
7557 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7558 results.
7559 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7560
938f0e2f
AB
75612014-05-30 Andrew Burgess <aburgess@broadcom.com>
7562
7563 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7564 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7565 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7566 * gdb.arch/amd64-invalid-stack-top.c: New file.
7567 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7568
9ba6657a
PA
75692014-05-30 Pedro Alves <palves@redhat.com>
7570
7571 PR breakpoints/17000
7572 * gdb.base/sss-bp-on-user-bp.c: New file.
7573 * gdb.base/sss-bp-on-user-bp.exp: New file.
7574
522c09bf
DB
75752014-05-30 David Blaikie <dblaikie@gmail.com>
7576
7577 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7578 gnu_inline semantics via attribute.
7579 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7580 source explicitly specifies the required semantics.
7581
bf4ef81e
MR
75822014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7583
7584 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7585
329ea579
PA
75862014-05-29 Pedro Alves <palves@redhat.com>
7587 Tom Tromey <tromey@redhat.com>
7588
7589 * gdb.base/async-shell.exp: Don't enable target-async.
7590 * gdb.base/async.exp
7591 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7592 parameter. Adjust.
7593 (top level): Don't test with "target-async".
7594 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7595 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7596 * gdb.base/inferior-died.exp: Don't enable target-async.
7597 * gdb.base/interrupt-noterm.exp: Likewise.
7598 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7599 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7600 * gdb.mi/mi-nonstop.exp: Likewise.
7601 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7602 * gdb.mi/mi-nsintrall.exp: Likewise.
7603 * gdb.mi/mi-nsmoribund.exp: Likewise.
7604 * gdb.mi/mi-nsthrexec.exp: Likewise.
7605 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7606 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7607 * gdb.python/py-evsignal.exp: Don't enable target-async.
7608 * gdb.python/py-evthreads.exp: Likewise.
7609 * gdb.python/py-prompt.exp: Likewise.
7610 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7611 * gdb.server/solib-list.exp: Don't enable target-async.
7612 * gdb.threads/thread-specific-bp.exp: Likewise.
7613 * lib/mi-support.exp: Adjust to use mi-async.
7614
fd664c91
PA
76152014-05-29 Pedro Alves <palves@redhat.com>
7616
7617 PR gdb/13860
7618 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7619 reason, even in sync mode.
7620
251bde03
PA
76212014-05-29 Pedro Alves <palves@redhat.com>
7622 Hui Zhu <hui@codesourcery.com>
7623
7624 PR PR15693
7625 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7626 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7627 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7628 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7629
7f3c0343
JB
76302014-05-28 Joel Brobecker <brobecker@adacore.com>
7631
7632 * config/monitor.exp (gdb_target_monitor): Replace use of
7633 "set remotebaud" by "set serial baud".
7634
b2715b27
AW
76352014-05-26 Andy Wingo <wingo@igalia.com>
7636
7637 * gdb.guile/scm-breakpoint.exp:
7638 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7639 properties instead of gdb-object-properties.
7640
498a4489
YQ
76412014-05-26 Yao Qi <yao@codesourcery.com>
7642
7643 * gdb.server/no-thread-db.exp: Specify source file name
7644 explicitly when setting a breakpoint.
7645
589fdceb
MM
76462014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7647
7648 * gdb.btrace/vdso.c: New.
7649 * gdb.btrace/vdso.exp: New.
7650
e9089e05
MM
76512014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7652
7653 * gdb.base/gcore.exp (capture_command_output): Move ...
7654 * lib/gdb.exp (capture_command_output): ... here.
7655
67b5c0c1
MM
76562014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7657
7658 * gdb.btrace/data.exp: Test memory access during btrace replay.
7659
a2199296
SM
76602014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7661
7662 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7663
17b2616c
PA
76642014-05-21 Pedro Alves <palves@redhat.com>
7665
7666 PR gdb/13860
7667 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7668 (top level): Test that output related to execution commands is
7669 sent to the console with CLI commands, but not with MI commands.
7670 Test that breakpoint events are always mirrored to the console.
7671 Also expect the new source line to be output after a "next" in
7672 async mode too. Make it a pass/fail test.
7673 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7674 output.
7675 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7676
5166082f
PA
76772014-05-21 Pedro Alves <palves@redhat.com>
7678
7679 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7680 Use them to test variations of "list" after reaching a breakpoint.
7681 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7682 Test "list" with listsize 10 after reaching a breakpoint.
7683 * gdb.python/python.exp (decode_line current location line
7684 number): Adjust expected line number.
7685
2f25d70f
SM
76862014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7687
7688 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7689 behavior for $args, pass it directly to "run".
7690
ff604a67
MR
76912014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7692
7693 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7694 30000 to 65536.
7695
6a3cb8e8
PA
76962014-05-21 Pedro Alves <palves@redhat.com>
7697
7698 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7699 auto-connect-native-target off".
7700 * gdb.base/auto-connect-native-target.c: New file.
7701 * gdb.base/auto-connect-native-target.exp: New file.
7702
4ebfc96e
PA
77032014-05-21 Pedro Alves <palves@redhat.com>
7704
7705 * gdb.base/default.exp: Test "target native" instead of "target
7706 child".
7707
36d46afb
MW
77082014-05-21 Mark Wielaard <mjw@redhat.com>
7709
7710 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7711
5876f503
JK
77122014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7713
7714 Fix TLS access for -static -pthread.
7715 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7716 <HAVE_TLS> (thread_function, main): Initialize it.
7717 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7718 Add clean_restart.
7719 <$have_tls != "">: Check TLSVAR.
7720
0256a6ac
PA
77212014-05-21 Pedro Alves <palves@redhat.com>
7722
7723 * gdb.base/dcache-line-read-error.c: New.
7724 * gdb.base/dcache-line-read-error.exp: New.
7725
936d2992
PA
77262014-05-20 Pedro Alves <palves@redhat.com>
7727
7728 * gdb.base/compare-sections.c: New file.
7729 * gdb.base/compare-sections.exp: New file.
7730
802e8e6d
PA
77312014-05-20 Pedro Alves <palves@redhat.com>
7732
7733 * gdb.base/break-idempotent.c: New file.
7734 * gdb.base/break-idempotent.exp: New file.
7735
e59fa00f
MM
77362014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7737
7738 * gdb.btrace/nohist.exp: New.
7739
8b696e31
YQ
77402014-05-20 Yao Qi <yao@codesourcery.com>
7741
7742 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7743 gdb.reverse directory and gdb_reverse_timeout exists in board
7744 setting.
7745 * README: Document gdb_reverse_timeout.
7746
73c9764f
YQ
77472014-05-20 Yao Qi <yao@codesourcery.com>
7748
7749 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7750 'test_file_name'. Treat args as a string instead of a list.
7751 (gdb_init): Rename argument 'args' by 'test_file_name'.
7752
f1f4348a
JK
77532014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7754
7755 * gdb.arch/powerpc-power.exp: New file.
7756 * gdb.arch/powerpc-power.s: New file.
7757
0dbe70ce
DE
77582014-05-16 Doug Evans <dje@google.com>
7759
7760 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
7761 * gdb.base/completion.exp: Check that all expected files exist
7762 before doing file completion.
0dbe70ce 7763
8d551b02
DE
77642014-05-16 Doug Evans <dje@google.com>
7765
7766 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7767 Update.
7768 (do_syscall_tests_without_xml): Update.
7769
73eb7709
PA
77702014-05-16 Pedro Alves <palves@redhat.com>
7771
7772 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7773 instead of "unknown output after running".
7774
3fae92fc
YQ
77752014-05-16 Yao Qi <yao@codesourcery.com>
7776
7777 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7778 file1.txt from host at the end.
7779 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7780
c2b2ccc5
DE
77812014-05-15 Doug Evans <dje@google.com>
7782
7783 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7784 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7785 loading file. Add test for TU lookup.
7786
8c217a4b
SM
77872014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7788
7789 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7790 calling "-exec-arguments" or "set args" before running the
7791 inferior.
7792
3deb39c6
SM
77932014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7794
7795 * lib/mi-support.exp (mi_expect_stop): Expect message for
7796 inferiors that exit with non-zero exit code.
7797
71a79f8c
YQ
77982014-05-14 Yao Qi <yao@codesourcery.com>
7799
7800 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7801 match absolute path on remote host.
7802 (test_file_list_exec_source_files): Remove "/" from the
7803 pattern.
7804
f23fcd46
YQ
78052014-05-14 Yao Qi <yao@codesourcery.com>
7806
7807 * boards/local-remote-host-notty.exp (${board}_file): New
7808 proc.
7809
9404b58f
KM
78102014-05-07 Kyle McMartin <kyle@redhat.com>
7811
7812 Pushed by Joel Brobecker <brobecker@adacore.com>.
7813 * gdb.arch/aarch64-atomic-inst.c: New file.
7814 * gdb.arch/aarch64-atomic-inst.exp: New file.
7815
5e45f04c
YQ
78162014-05-07 Yao Qi <yao@codesourcery.com>
7817
7818 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7819 in current context" too.
7820
c888a17d
KS
78212014-05-05 Keith Seitz <keiths@redhat.com>
7822
7823 * gdb.linespec/ls-dollar.exp: Add test for linespec
7824 file:convenience_variable.
7825
290a839c
YQ
78262014-05-05 Yao Qi <yao@codesourcery.com>
7827
7828 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7829 traceframes into tfile and ctf trace files. Read data from
7830 trace file and test collected data.
7831 (gdb_collect_locals_test): Likewise.
7832 (gdb_unavailable_registers_test): Likewise.
7833 (gdb_unavailable_floats): Likewise.
7834 (gdb_collect_globals_test): Likewise.
7835 (top-level): Append "ctf" to trace_file_targets if GDB
7836 supports.
7837
b5262cd0
YQ
78382014-05-05 Yao Qi <yao@codesourcery.com>
7839
7840 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7841 code to ...
7842 (gdb_collect_args_test_1): ... it. New proc.
7843 (gdb_collect_locals_test): Move some code to ...
7844 (gdb_collect_locals_test_1): ... it. New proc.
7845 (gdb_unavailable_registers_test): Move some code to ...
7846 (gdb_unavailable_registers_test_1): ... it. New proc.
7847 (gdb_unavailable_floats): Move some code to ...
7848 (gdb_unavailable_floats_1): ... it. New proc.
7849
30a1e6cc
SDJ
78502014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7851
7852 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7853 probes to test for bitness recognition.
7854 * gdb.arch/amd64-stap-optional-prefix.exp
7855 (test_probe_value_without_reg): New procedure.
7856 Add code to test for different kinds of bitness.
7857
f33da99a
SDJ
78582014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7859
7860 PR breakpoints/16889
7861 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7862 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7863
5b80f00d
PA
78642014-05-01 Pedro Alves <palves@redhat.com>
7865
7866 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7867 gdb_file_cmd if no file is specified.
7868 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7869 last_loaded_file to set the remote exec-file.
7870
f8c2a73c
PA
78712014-05-01 Pedro Alves <palves@redhat.com>
7872
7873 * boards/local-remote-host.exp: New file.
7874
be6e8ac7
PA
78752014-05-01 Pedro Alves <palves@redhat.com>
7876
7877 * boards/local-remote-host.exp: Rename to ...
7878 * boards/local-remote-host-notty.exp: ... this.
7879
cac0dc8f
JB
78802014-04-28 Joel Brobecker <brobecker@adacore.com>
7881
7882 * gdb.ada/dyn_arrayidx: New testcase.
7883
9730e6cc
YQ
78842014-04-26 Yao Qi <yao@codesourcery.com>
7885
7886 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7887 and compute the length of function main. Save it in
7888 $main_length.
7889 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7890 (top-level): Use gdb_compile to compile objects into
7891 executable and restart GDB. Remove invocation to
7892 prepare_for_testing.
7893
7ae1a6a6
PA
78942014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7895 Pedro Alves <palves@redhat.com>
7896
7897 PR server/16255
7898 * gdb.multi/multi-attach.c: New file.
7899 * gdb.multi/multi-attach.exp: New file.
7900
4082afcc
PA
79012014-04-25 Pedro Alves <palves@redhat.com>
7902
7903 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7904 user.
7905 (top level): Test that "set remote conditional-breakpoints-packet
7906 off" works as intended.
7907 * gdb.base/dprintf.exp: Test that "set remote
7908 breakpoint-commands-packet off" works as intended.
7909 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7910 New function.
7911 (top level): Call it.
7912 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7913 remote fast-tracepoints-packet off" works as intended.
7914 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7915 * lib/gdb.exp (gdb_is_target_remote): ... here.
7916
2abc3f8d
DB
79172014-04-24 David Blaikie <dblaikie@gmail.com>
7918
7919 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7920 ensure clang would not discard them.
7921 * gdb.base/gdbvars.c: Ditto.
7922 * gdb.base/memattr.c: Ditto.
7923 * gdb.base/whatis.c: Ditto.
7924 * gdb.python/py-prettyprint.c: Ditto.
7925 * gdb.trace/actions.c: Ditto.
7926 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7927 ensure clang would not discard it.
7928
bfd39632
DB
79292014-04-24 David Blaikie <dblaikie@gmail.com>
7930
7931 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7932 clang to emit the full definition of type required by the test
7933 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7934
22842ff6
DB
79352014-04-24 David Blaikie <dblaikie@gmail.com>
7936
7937 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7938 coax Clang into emitting the definition of the type.
7939 * gdb.cp/pr10728-x.h (y): Ditto.
7940 * gdb.cp/pr10728-y.cc (y): Ditto.
7941
c2e827ad
DB
79422014-04-24 David Blaikie <dblaikie@gmail.com>
7943
7944 * gdb.base/label.exp: XFAIL label related tests under Clang.
7945 * gdb.cp/cplabel.exp: Ditto.
7946 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7947 under Clang those using labels.
7948
4c2d33e7
YQ
79492014-04-25 Yao Qi <yao@codesourcery.com>
7950
7951 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7952 double_label.
7953 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7954 partial_label and double_label.
7955
56083b99
DB
79562014-04-24 David Blaikie <dblaikie@gmail.com>
7957
7958 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7959
25d4e99d
DB
79602014-04-24 David Blaikie <dblaikie@gmail.com>
7961
7962 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7963 of the function to work across GCC and Clang.
7964 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7965 pointer types (const void ** const V void **).
7966
01f9f808
MS
79672014-04-24 Michael Sturm <michael.sturm@mintel.com>
7968 Walfred Tedeschi <walfred.tedeschi@intel.com>
7969
7970 * Makefile.in (EXECUTABLES): Added i386-avx512.
7971 * gdb.arch/i386-avx512.c: New file.
7972 * gdb.arch/i386-avx512.exp: Likewise.
7973
4b48d439
KS
79742014-04-23 Keith Seitz <keiths@redhat.com>
7975
7976 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7977 (mi_make_breakpoint_table): New procedure.
7978 (mi_create_breakpoint): Use mi_make_breakpoint
7979 and return the result.
7980 (mi_make_breakpoint): New procedure.
7981 (mi_build_kv_pairs): New procedure.
7982
7983 * gdb.mi/mi-break.exp: Remove unused globals,
7984 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7985 All callers updated.
7986 * gdb.mi/mi-dprintf.exp: Use variable to track command
7987 number.
7988 Update all callers of mi_create_breakpoint and use
7989 mi_make_breakpoint_table.
7990 Remove any unused global variables.
7991 * gdb.mi/mi-nonstop.exp: Likewise.
7992 * gdb.mi/mi-nsintrall.exp: Likewise.
7993 * gdb.mi/mi-nsmoribund.exp: Likewise.
7994 * gdb.mi/mi-nsthrexec.exp: Likewise.
7995 * gdb.mi/mi-reverse.exp: Likewise.
7996 * gdb.mi/mi-simplerun.exp: Likewise.
7997 * gdb.mi/mi-stepn.exp: Likewise.
7998 * gdb.mi/mi-syn-frame.exp: Likewise.
7999 * gdb.mi/mi-until.exp: Likewise.
8000 * gdb.mi/mi-var-cp.exp: Likewise.
8001 * gdb.mi/mi-var-display.exp: Likewise.
8002 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
8003 * gdb.mi/mi2-var-child.exp: Likewise.
8004 * gdb.mi/mi-vla-c99.exp: Likewise.
8005 * lib/mi-support.exp: Likewise.
8006
8007 From Ian Lance Taylor <iant@cygnus.com>:
8008 * lib/gdb.exp (parse_args): New procedure.
8009
08351840
PA
80102014-04-23 Pedro Alves <palves@redhat.com>
8011
8012 * gdb.base/break-unload-file.c: New file.
8013 * gdb.base/break-unload-file.exp: New file.
8014 * gdb.base/sym-file-lib.c (baz): New function.
8015 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
8016 field.
8017 (load): Store the segment's mapped size.
8018 (unload): New function.
8019 (unload_shlib): New function.
8020 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
8021 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
8022 set a breakpoint at baz, and call it.
8023 * gdb.base/sym-file.exp: New tests for stale breakpoint
8024 instructions.
8025
076855f9
PA
80262014-04-23 Pedro Alves <palves@redhat.com>
8027
8028 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
8029 * gdb.base/hbreak-in-shr-unsupported.c: New file.
8030 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
8031 * gdb.base/hbreak-unmapped.c: New file.
8032 * gdb.base/hbreak-unmapped.exp: New file.
8033 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
8034 * lib/gdb.exp (gdb_is_target_remote): ... here.
8035
483805cf
PA
80362014-04-22 Pedro Alves <palves@redhat.com>
8037
8038 * gdb.base/consecutive-step-over.c: New file.
8039 * gdb.base/consecutive-step-over.exp: New file.
8040
06d97543
PA
80412014-04-22 Pedro Alves <palves@redhat.com>
8042
8043 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
8044 instead of send_gdb/gdb_expect.
8045
b4429ea2
YQ
80462014-04-22 Yao Qi <yao@codesourcery.com>
8047
8048 * lib/trace-support.exp (generate_tracefile): New procedure.
8049 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
8050 return 0.
8051 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
8052 if generate_tracefile returns 1.
8053
51d48146
PA
80542014-04-18 Tom Tromey <palves@redhat.com>
8055 Pedro alves <tromey@redhat.com>
8056
8057 PR backtrace/15558
8058 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
8059 with a backtrace limit.
8060 * gdb.python/py-frame-inline.exp: Test running to an inline
8061 function with a backtrace limit, and printing the newest frame.
8062 * gdb.python/py-frame-inline.c (main): Call f.
8063
bd1dce5f
MS
80642014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8065
8066 * gdb.java/jnpe.exp: Drop srcdir from untested path.
8067
40d1a503
MS
80682014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8069
8070 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
8071 Drop prefix from unsupported source file path.
8072
389b98f7
YQ
80732014-04-17 Yao Qi <yao@codesourcery.com>
8074
8075 * lib/gdb.exp (with_target_charset): New proc.
8076 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
8077 with_target_charset.
8078 (test_print_strings): Likewise.
8079 (test_repeat_bytes): Likewise.
8080 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
8081 for some tests.
8082
22869d73
KS
80832014-04-16 Keith Seitz <keiths@redhat.com>
8084
8085 PR gdb/15827
8086 * gdb.dwarf2/corrupt.c: New file.
8087 * gdb.dwarf2/corrupt.exp: New file.
8088
c4f87ca6
KS
80892014-04-16 Keith Seitz <keiths@redhat.com>
8090
8091 PR c++/16597
8092 * gdb.cp/namelessclass.cc: New file.
8093 * gdb.cp/namelessclass.exp: New file.
8094 * gdb.cp/namelessclass.S: New file.
8095
ab19de87
DE
80962014-04-16 Doug Evans <dje@google.com>
8097
8098 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
8099 Add comment.
8100 (gdbserver_default_get_comm_port): New function.
8101 (gdbserver_start): Check if board file provided
8102 "gdbserver,get_comm_port" and use it if so.
8103 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
8104 (gdb,socketport): Set to "stdio".
8105 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
8106 (stdio_gdbserver_template): Delete.
8107 (${board}_get_remote_address): Update.
8108 (${board}_build_remote_cmd): Delete.
8109 (${board}_get_comm_port): New function.
8110 (${board}_spawn): Update.
8111 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
8112 Delete.
8113 (${board}_get_remote_address): Update.
8114 (${board}_get_comm_port): New function.
8115
fc98a809
AB
81162014-04-16 Andrew Burgess <aburgess@broadcom.com>
8117
8118 * gdb.base/memattr.exp: Improve regexps to handle memory regions
8119 appearing in any order.
8120
87fd9e6e
DE
81212014-04-15 Doug Evans <dje@google.com>
8122
8123 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
8124 uninitialized value of "description".
8125
099fc3ea
KS
81262014-04-15 Keith Seitz <keiths@redhat.com>
8127
8128 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
8129 Remove unused globals.
8130 (test_running_the_program): Likewise.
8131 (test_controlled_execution): Likewise.
8132 (test_controlling_breakpoints): Likewise.
8133 (test_program_termination): Likewise.
8134
5da151d4
KS
81352014-04-15 Keith Seitz <keiths@redhat.com>
8136
8137 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
8138 unused globals.
8139 (test_rbreak_creation_and_listing): Likewise.
8140 (test_ignore_count): Likewise.
8141 (test_error): Likewise.
8142
35e5d2f0
PA
81432014-04-15 Pedro Alves <palves@redhat.com>
8144
8145 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
8146 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
8147 sym-file-loader.c.
8148 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8149 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8150 to sym-file-loader.c.
8151 (struct library): Forward declare.
8152 (load_shlib, lookup_function): Change prototypes.
8153 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8154 (translate_offset): Remove declarations.
8155 (get_text_addr): New declaration.
8156 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
8157 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
8158 sym-file-loader.h.
8159 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8160 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8161 here from sym-file-loader.h.
8162 (struct library): New structure.
8163 (load_shlib, lookup_function): Change prototypes and adjust to
8164 work with a struct library.
8165 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8166 (translate_offset): Make static.
8167 (get_text_addr): New function.
8168 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
8169
eb4c1710
PA
81702014-04-15 Pedro Alves <palves@redhat.com>
8171
8172 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
8173
2d1baf52
PA
81742014-04-15 Pedro Alves <palves@redhat.com>
8175
8176 * gdb.base/sym-file-loader.c: Include <limits.h>.
8177 (SELF_LINK): New define.
8178 (get_origin): New function.
8179 (load_shlib): Use it.
8180 * gdb.base/sym-file.exp: Don't early return if the target is
8181 remote. Use runto_main, and issue fail is that fails. Use
8182 gdb_load_shlibs.
8183 (shlib_name): Delete.
8184 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
8185
7dd6df01
PA
81862014-04-15 Pedro Alves <palves@redhat.com>
8187
8188 * gdb.base/sym-file.exp: Remove regex characters from test
8189 message. Don't refer to breakpoint numbers in test messages.
8190
b50c8614
KS
81912014-04-14 Keith Seitz <keiths@redhat.com>
8192
8193 PR c++/16253
8194 * gdb.cp/var-tag.cc: New file.
8195 * gdb.cp/var-tag.exp: New file.
8196 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8197 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8198 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8199 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8200
3d567982
TT
82012014-04-14 Tom Tromey <tromey@redhat.com>
8202
8203 * gdb.cp/classes.exp (test_enums): Handle underlying type.
8204 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
8205 type.
8206 * gdb.cp/enum-class.exp: New file.
8207 * gdb.cp/enum-class.cc: New file.
8208
0626fc76
TT
82092014-04-14 Tom Tromey <tromey@redhat.com>
8210
8211 * gdb.dwarf2/enum-type.exp: New file.
8212
dca325b3
SA
82132014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8214
8215 * gdb.mi/mi-vla-c99.exp: New file.
8216 * gdb.mi/vla.c: New file.
8217
5854b38a
SA
82182014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8219
8220 * gdb.base/vla-datatypes.c: New file.
8221 * gdb.base/vla-datatypes.exp: New file.
8222
463bb957
SA
82232014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8224
8225 * gdb.base/vla-ptr.c: New file.
8226 * gdb.base/vla-ptr.exp: New file.
8227
3dd170be
SA
82282014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8229
8230 * gdb.dwarf2/count.exp: New file.
8231
5ecaaa66
SA
82322014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8233
8234 * gdb.base/vla-sideeffect.c: New file.
8235 * gdb.base/vla-sideeffect.exp: New file.
8236
41f1ada5
DB
82372014-04-14 David Blaikie <dblaikie@gmail.com>
8238
8239 * gdb.mi/non-stop.c: Add return value for non-void function return
8240 statement.
8241 * gdb.threads/staticthreads.c: Ditto.
8242
0be03e84
DE
82432014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8244 Doug Evans <xdje42@gmail.com>
8245
8246 * gdb.guile/scm-value.c: Improve test case.
8247 * gdb.guile/scm-value.exp: Add new test.
8248
f180a1fb
DB
82492014-04-11 David Blaikie <dblaikie@gmail.com>
8250
8251 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8252 override Clang's default.
8253
6b662e19
JB
82542014-04-11 Joel Brobecker <brobecker@adacore.com>
8255
8256 Revert the following changes (regressions):
8257
8258 * gdb.base/vla-sideeffect.c: New file.
8259 * gdb.base/vla-sideeffect.exp: New file.
8260
8261 * gdb.dwarf2/count.exp: New file.
8262
8263 * gdb.base/vla-multi.c: New file.
8264 * gdb.base/vla-multi.exp: New file.
8265
8266 * gdb.base/vla-ptr.c: New file.
8267 * gdb.base/vla-ptr.exp: New file.
8268
8269 * gdb.base/vla-datatypes.c: New file.
8270 * gdb.base/vla-datatypes.exp: New file.
8271
8272 * gdb.mi/mi-vla-c99.exp: New file.
8273 * gdb.mi/vla.c: New file.
8274
245a5f0b
KS
82752014-04-11 Keith Seitz <keiths@redhat.com>
8276
8277 PR c++/16675
8278 * gdb.cp/cpsizeof.exp: New file.
8279 * gdb.cp/cpsizeof.cc: New file.
8280
58a84dcf
SA
82812014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8282
191a8a90
JB
8283 * gdb.mi/mi-vla-c99.exp: New file.
8284 * gdb.mi/vla.c: New file.
58a84dcf 8285
c8655f75
SA
82862014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8287
8288 * gdb.base/vla-datatypes.c: New file.
8289 * gdb.base/vla-datatypes.exp: New file.
8290
024e13b4
SA
82912014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8292
8293 * gdb.base/vla-ptr.c: New file.
8294 * gdb.base/vla-ptr.exp: New file.
8295
1a237e0e
SA
82962014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8297
8298 * gdb.base/vla-multi.c: New file.
8299 * gdb.base/vla-multi.exp: New file.
8300
504f3432
SA
83012014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8302
8303 * gdb.dwarf2/count.exp: New file.
8304
3bce8237
SA
83052014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8306
191a8a90
JB
8307 * gdb.base/vla-sideeffect.c: New file.
8308 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 8309
322f9c21
YQ
83102014-04-11 Yao Qi <yao@codesourcery.com>
8311
8312 * gdb.base/completion.exp: Check file exists before running tests
8313 on file completion.
8314
d708bcd1
PA
83152014-04-10 Pedro Alves <palves@redhat.com>
8316
8317 * gdb.base/cond-eval-mode.c: New file.
8318 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8319 prepare_for_testing to build the new file. Check result of
8320 runto_main.
8321 (test_break, test_watch): New procedures.
8322 (top level): Use them.
8323
ae1d2761
PM
83242014-04-08 Pierre Muller <muller@sourceware.org>
8325
8326 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8327 Ctrl-V use for mingw hosts.
8328
7af389b8
SC
83292014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8330
8331 * gdb.python/py-value.c: Improve test case.
8332 * gdb.python/py-value.exp: Add new test.
8333
5e703181
DE
83342014-04-07 David Blaikie <dblaikie@gmail.com>
8335
8336 * lib/compiler.c: Identify the clang compiler.
8337 * lib/compiler.cc: Ditto.
8338
9810b410
YQ
83392014-04-03 Yao Qi <yao@codesourcery.com>
8340
8341 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8342
98d1b8dc
AB
83432014-04-01 Anton Blanchard <anton@samba.org>
8344
8345 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8346 messages unique.
8347
3114cea1
AB
83482014-04-01 Anton Blanchard <anton@samba.org>
8349
8350 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8351 prepare_for_testing.
8352
62f7182c
AB
83532014-04-01 Anton Blanchard <anton@samba.org>
8354
8355 * gdb.arch/ppc64-atomic-inst.c: Remove.
8356 * gdb.arch/ppc64-atomic-inst.S: New file.
8357 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8358
770e7fc7
DE
83592014-03-31 Doug Evans <dje@google.com>
8360
8361 * gdb.base/print-symbol-loading-lib.c: New file.
8362 * gdb.base/print-symbol-loading-main.c: New file.
8363 * gdb.base/print-symbol-loading.exp: New file.
8364
46e2bafa
YQ
83652014-03-31 Yao Qi <yao@codesourcery.com>
8366
8367 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8368
8776cfe9
JB
83692014-03-28 Joel Brobecker <brobecker@adacore.com>
8370
8371 * gdb.ada/mi_dyn_arr: New testcase.
8372
5d1ef361
DE
83732014-03-27 Doug Evans <dje@google.com>
8374
8375 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8376
b5bee914
YQ
83772014-03-27 Yao Qi <yao@codesourcery.com>
8378
8379 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8380 if target is nios2-*-*.
8381
0d4d0e77
YQ
83822014-03-26 Yao Qi <yao@codesourcery.com>
8383
8384 * lib/gdb.exp (readline_is_used): New proc.
8385 * gdb.base/completion.exp: Move tests on command complete up.
8386 Skip the rest of tests if readline is not used.
8387 * gdb.ada/complete.exp: Skp the test if readline is not
8388 used.
8389 * gdb.base/filesym.exp: Likewise.
8390 * gdb.base/macscp.exp: Likewise.
8391 * gdb.base/readline-ask.exp: Likewise.
8392 * gdb.base/readline.exp: Likewise.
8393 * gdb.python/py-cmd.exp: Likewise.
8394 * gdb.trace/tfile.exp: Likewise.
8395
29361eee
YQ
83962014-03-26 Yao Qi <yao@codesourcery.com>
8397
8398 * gdb.base/macscp.exp: Fix code format issues.
8399
bc9a5525
UW
84002014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8401
8402 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8403 * gdb.asm/powerpc64le.inc: New file.
8404
d3839ede
PA
84052014-03-25 Pedro Alves <palves@redhat.com>
8406 Doug Evans <dje@google.com>
8407
8408 * gdb.base/source-execution.c: New file.
8409 * gdb.base/source-execution.exp: New file.
8410 * gdb.base/source-execution.gdb: New file.
8411
01672a57
DE
84122014-03-24 Doug Evans <dje@google.com>
8413
8414 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8415 using fission.
8416
88bbeca9
HZ
84172014-03-24 Hui Zhu <hui@codesourcery.com>
8418 Pedro Alves <palves@redhat.com>
8419
8420 PR breakpoints/16101
8421 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8422 test pass/fail messages. Detect missing support for dprintf when
8423 breakpoints are actually inserted.
8424 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8425 breakpoints are actually inserted.
8426 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8427 fails.
8428
d2348791
JK
84292014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8430
8431 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8432
feef67ab
DE
84332014-03-22 Doug Evans <xdje42@gmail.com>
8434
8435 * gdb.python/python.exp (python not supported): Verify multi-line
8436 python command issues an error.
25d743f9 8437 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 8438 guile command issues an error.
feef67ab 8439
ecebef6a
MR
84402014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8441
8442 * gdb.threads/thread-specific.exp: Handle the lack of usable
8443 $this_breakpoint and $this_thread.
8444
ccdd1909
HZ
84452014-03-21 Hui Zhu <hui@codesourcery.com>
8446
8447 * gdb.base/attach.exp (do_command_attach_tests): New.
8448
beb460e8
PA
84492014-03-20 Tom Tromey <tromey@redhat.com>
8450 Pedro Alves <palves@redhat.com>
8451
8452 PR cli/15718
8453 * gdb.base/condbreak-call-false.c: New file.
8454 * gdb.base/condbreak-call-false.exp: New file.
8455
40acf43a
PA
84562014-03-20 Pedro Alves <palves@redhat.com>
8457
8458 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8459 Delete.
8460 (block_signals, unblock_signals): Delete.
8461 (child_function_2, main): Remove references to deleted variable
8462 and functions.
8463
9f5e1e02
PA
84642014-03-20 Pedro Alves <palves@redhat.com>
8465
8466 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8467 Use pthread_kill to signal thread 2.
8468 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8469 Adjust to make the test send itself a signal rather than using the
8470 host's "kill" command.
8471
99619bea
PA
84722014-03-20 Pedro Alves <palves@redhat.com>
8473
8474 * gdb.threads/multiple-step-overs.c: New file.
8475 * gdb.threads/multiple-step-overs.exp: New file.
8476 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8477 Adjust expected infrun debug output.
8478
2adfaa28
PA
84792014-03-20 Pedro Alves <palves@redhat.com>
8480
8481 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8482 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8483
31e77af2
PA
84842014-03-20 Pedro Alves <palves@redhat.com>
8485
8486 PR breakpoints/7143
8487 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8488 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8489 of gdb_test_multiple.
8490 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8491 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8492
b9f437de
PA
84932014-03-20 Pedro Alves <palves@redhat.com>
8494
8495 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8496 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8497
05adc73e
PA
84982014-03-19 Pedro Alves <palves@redhat.com>
8499
8500 * gdb.base/async.exp: Remove early return.
8501
6048b950
PA
85022014-03-19 Pedro Alves <palves@redhat.com>
8503
8504 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8505
8bcfb00a
PA
85062014-03-19 Pedro Alves <palves@redhat.com>
8507
8508 * gdb.base/async.exp (test_background): Expect \r\n after
8509 "completed." in the fail pattern.
8510
884e37dc
PA
85112014-03-19 Pedro Alves <palves@redhat.com>
8512
8513 * gdb.base/async.exp (test_background): New procedure.
8514 Use it for all background execution command tests.
8515
148e57e2
PA
85162014-03-19 Pedro Alves <palves@redhat.com>
8517
8518 * gdb.base/async.exp: Use prepare_for_testing.
8519
f48088c7
PA
85202014-03-19 Pedro Alves <palves@redhat.com>
8521
8522 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8523 the same line.
8524
e2f6c966
PA
85252014-03-19 Pedro Alves <palves@redhat.com>
8526
8527 * gdb.base/async.c (main): Add "jump here" and "until here" line
8528 marker comments.
8529 * gdb.base/async.exp (jump_here): New global.
8530 (jump& test): Use it.
8531 (until_here): New global.
8532 (until& test): Use it.
8533
c30568d4
PA
85342014-03-19 Pedro Alves <palves@redhat.com>
8535
8536 * gdb.base/async.exp: Don't frob gdb_protocol.
8537
0172b6a7
DE
85382014-03-18 Doug Evans <xdje42@gmail.com>
8539
8540 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8541 Fix spelling of exec-done-display.
8542
06c868a8
JK
85432014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8544
8545 PR gdb/15358
8546 * gdb.base/gdb-sigterm.c: New file.
8547 * gdb.base/gdb-sigterm.exp: New file.
8548
0c7e1a46
PA
85492014-03-18 Pedro Alves <palves@redhat.com>
8550
8551 PR gdb/13860
8552 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8553 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8554 solib-event.
8555
f7c77d93
JB
85562014-03-17 Joel Brobecker <brobecker@adacore.com>
8557
8558 * gdb.ada/pckd_arr_ren: New testcase.
8559
5a1e8c7a
DE
85602014-03-13 Doug Evans <xdje42@gmail.com>
8561
8562 PR guile/16612
8563 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8564 collect after discarding symbols.
8565
350e1a76
DE
85662014-03-13 Ludovic Courtès <ludo@gnu.org>
8567 Doug Evans <xdje42@gmail.com>
8568
8569 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8570 to history survives a gc.
8571
a69900ae
PA
85722014-03-13 Pedro Alves <palves@redhat.com>
8573
8574 * gdb.base/default.exp: Don't test "target procfs".
8575
5db9f0bd
PA
85762014-03-13 Pedro Alves <palves@redhat.com>
8577
8578 * gdb.base/default.exp: Update "target child" and "target procfs"
8579 tests to not expect "Unix".
8580
b3ccfe11
TT
85812014-03-12 Tom Tromey <tromey@redhat.com>
8582
8583 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8584 New procs. Add target-async tests.
8585 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8586 Add target-async tests.
8587
646f4417
AA
85882014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8589
8590 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8591 'func_start' and 'func_end' for the beginning and end of the
8592 function code, respectively.
8593 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8594 'func_end' instead of 'func' and 'main'.
8595
288c211f
AA
85962014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8597
8598 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8599 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8600 generate the debug info assembler source.
8601
e0c0f156
AA
86022014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8603
8604 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8605 * gdb.dwarf2/arr-subrange.exp: Likewise.
8606 * gdb.dwarf2/dwz.exp: Likewise.
8607 * gdb.dwarf2/method-ptr.exp: Likewise.
8608 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8609 * gdb.dwarf2/subrange.exp: Likewise.
8610 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8611 * gdb.dwarf2/implptrpiece.exp: Likewise.
8612 * gdb.dwarf2/nostaticblock.exp: Likewise.
8613
0e5c4555
AA
86142014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8615
8616 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8617 directory to absolute path name arguments.
8618
5ec18f2b
JG
86192014-03-10 Joel Brobecker <brobecker@adacore.com>
8620
8621 * gdb.ada/tagged_access: New testcase.
8622
847fc4f2
MM
86232014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8624
8625 * gdb.btrace/data.exp: Update expected output.
8626
cc3da688
YQ
86272014-03-06 Yao Qi <yao@codesourcery.com>
8628
8629 * gdb.trace/pr16508.exp: New file.
8630
0f26cec1
PA
86312014-03-05 Pedro Alves <palves@redhat.com>
8632
8633 PR gdb/16575
8634 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8635 procedure.
8636 (top level): Adjust to use it. Add tests that exercise breakpoint
8637 interaction with the code-cache.
8638
7a5a839f
LC
86392014-02-26 Ludovic Courtès <ludo@gnu.org>
8640
8641 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8642 test for 'history-append!'.
8643
31aa7e4e
JB
86442014-02-26 Joel Brobecker <brobecker@adacore.com>
8645
8646 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8647 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8648 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8649 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8650 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8651 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8652
1b588015
JB
86532014-02-26 Joel Brobecker <brobecker@adacore.com>
8654
8655 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8656 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8657 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8658
55426c9d
JB
86592014-02-26 Joel Brobecker <brobecker@adacore.com>
8660
8661 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8662
dc53a7ad
JB
86632014-02-26 Joel Brobecker <brobecker@adacore.com>
8664
8665 * gdb.dwarf2/arr-stride.c: New file.
8666 * gdb.dwarf2/arr-stride.exp: New file.
8667
12ab52e9
PA
86682014-02-26 Pedro Alves <palves@redhat.com>
8669
8670 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8671 that won't ever trigger. Make sure that GDB reports the correct
8672 breakpoint that caused the stop.
8673
849c862e
JK
86742014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8675
8676 PR gdb/16626
8677 * gdb.base/auto-load-script: New file.
8678 * gdb.base/auto-load.c: New file.
8679 * gdb.base/auto-load.exp: New file.
8680
71b7d793
JK
8681 PR gdb/16626
8682 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8683
e2f0d509
JK
86842014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8685
8686 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8687 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8688
50cc37c8
DE
86892014-02-24 Doug Evans <dje@google.com>
8690
8691 * lib/gdb.exp (run_on_host): Log error output if program fails.
8692
ea4758f2
PA
86932014-02-21 Pedro Alves <palves@redhat.com>
8694
8695 * gdb.threads/step-after-sr-lock.c: Rename to ...
8696 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8697 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8698 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8699 ... this.
8700
d7b30f67
SDJ
87012014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8702
8703 PR tdep/16397
8704 * gdb.arch/amd64-stap-special-operands.exp: New file.
8705 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8706 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8707 * gdb.arch/amd64-stap-triplet.S: Likewise.
8708 * gdb.arch/amd64-stap-triplet.c: Likewise.
8709
83deb43f
JB
87102014-02-20 Joel Brobecker <brobecker@adacore.com>
8711
8712 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8713 in .section pseudo-op.
8714
adde2bff
DE
87152014-02-20 lin zuojian <manjian2006@gmail.com>
8716 Joel Brobecker <brobecker@adacore.com>
8717 Doug Evans <xdje42@gmail.com>
8718
8719 PR symtab/16581
8720 * gdb.dwarf2/dw2-icycle.S: New file.
8721 * gdb.dwarf2/dw2-icycle.c: New file.
8722 * gdb.dwarf2/dw2-icycle.exp: New file.
8723
f7bd0f78
SC
87242014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8725
8726 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8727 operations on gdb.Value objects.
8728 * gdb.python/py-value-cc.exp: Add new test to test operations on
8729 gdb.Value objects.
8730
c17ef0d5
DE
87312014-02-18 Doug Evans <dje@google.com>
8732
8733 * Makefile.in (TESTS): New variable.
8734 (expanded_tests, expanded_tests_or_none): New variables
8735 (check-single): Pass $(expanded_tests_or_none) to runtest.
8736 (check-parallel): Only run tests in $(TESTS) if non-empty.
8737 (check/no-matching-tests-found): New rule.
8738 * README: Document TESTS makefile variable.
8739
5dd3176f
DE
87402014-02-18 Doug Evans <dje@google.com>
8741
8742 * Makefile.in (check-parallel): rm -rf outputs temp.
8743
0b10be4f
JK
87442014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8745
8746 Fix "ERROR: no fileid for" in the testsuite.
8747 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8748
85f224e7
DE
87492014-02-12 Doug Evans <dje@google.com>
8750
8751 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8752 (MISCELLANEOUS): New variable.
8753 (clean): rm -rf $(MISCELLANEOUS).
8754 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8755 dwp live in the same directory as symlinks, with each symlink pointed
8756 to a differently named file in a different directory.
8757
149b30ff
DE
87582014-02-11 Doug Evans <dje@google.com>
8759
8760 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8761 of Tcl file commands.
8762
1dfdac32
MK
87632014-02-10 Mark Kettenis <kettenis@gnu.org>
8764
8765 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8766 "kill -SIGUSR1 -1".
8767
aa4fb036
JB
87682014-02-10 Joel Brobecker <brobecker@adacore.com>
8769
8770 * gdb.ada/tick_length_array_enum_idx: New testcase.
8771
ed3ef339
DE
87722014-02-10 Doug Evans <xdje42@gmail.com>
8773
8774 * configure.ac (AC_OUTPUT): Add gdb.guile.
8775 * configure: Regenerate.
8776 * lib/gdb-guile.exp: New file.
8777 * lib/gdb.exp (get_target_charset): New function.
8778 * gdb.base/help.exp: Update expected output from "apropos apropos".
8779 * gdb.guile/Makefile.in: New file.
8780 * gdb.guile/guile.exp: New file.
8781 * gdb.guile/scm-arch.c: New file.
8782 * gdb.guile/scm-arch.exp: New file.
8783 * gdb.guile/scm-block.c: New file.
8784 * gdb.guile/scm-block.exp: New file.
8785 * gdb.guile/scm-breakpoint.c: New file.
8786 * gdb.guile/scm-breakpoint.exp: New file.
8787 * gdb.guile/scm-disasm.c: New file.
8788 * gdb.guile/scm-disasm.exp: New file.
8789 * gdb.guile/scm-equal.c: New file.
8790 * gdb.guile/scm-equal.exp: New file.
8791 * gdb.guile/scm-error.exp: New file.
8792 * gdb.guile/scm-error.scm: New file.
8793 * gdb.guile/scm-frame-args.c: New file.
8794 * gdb.guile/scm-frame-args.exp: New file.
8795 * gdb.guile/scm-frame-args.scm: New file.
8796 * gdb.guile/scm-frame-inline.c: New file.
8797 * gdb.guile/scm-frame-inline.exp: New file.
8798 * gdb.guile/scm-frame.c: New file.
8799 * gdb.guile/scm-frame.exp: New file.
8800 * gdb.guile/scm-generics.exp: New file.
8801 * gdb.guile/scm-gsmob.exp: New file.
8802 * gdb.guile/scm-iterator.c: New file.
8803 * gdb.guile/scm-iterator.exp: New file.
8804 * gdb.guile/scm-math.c: New file.
8805 * gdb.guile/scm-math.exp: New file.
8806 * gdb.guile/scm-objfile-script-gdb.in: New file.
8807 * gdb.guile/scm-objfile-script.c: New file.
8808 * gdb.guile/scm-objfile-script.exp: New file.
8809 * gdb.guile/scm-objfile.c: New file.
8810 * gdb.guile/scm-objfile.exp: New file.
8811 * gdb.guile/scm-ports.exp: New file.
8812 * gdb.guile/scm-pretty-print.c: New file.
8813 * gdb.guile/scm-pretty-print.exp: New file.
8814 * gdb.guile/scm-pretty-print.scm: New file.
8815 * gdb.guile/scm-section-script.c: New file.
8816 * gdb.guile/scm-section-script.exp: New file.
8817 * gdb.guile/scm-section-script.scm: New file.
8818 * gdb.guile/scm-symbol.c: New file.
8819 * gdb.guile/scm-symbol.exp: New file.
8820 * gdb.guile/scm-symtab-2.c: New file.
8821 * gdb.guile/scm-symtab.c: New file.
8822 * gdb.guile/scm-symtab.exp: New file.
8823 * gdb.guile/scm-type.c: New file.
8824 * gdb.guile/scm-type.exp: New file.
8825 * gdb.guile/scm-value-cc.cc: New file.
8826 * gdb.guile/scm-value-cc.exp: New file.
8827 * gdb.guile/scm-value.c: New file.
8828 * gdb.guile/scm-value.exp: New file.
8829 * gdb.guile/source2.scm: New file.
8830 * gdb.guile/types-module.cc: New file.
8831 * gdb.guile/types-module.exp: New file.
8832
7026a7c1
YQ
88332014-02-10 Yao Qi <yao@codesourcery.com>
8834
8835 PR testsuite/16543
8836 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8837 * configure: Regenerated.
8838 * Makefile.in: New file.
8839
6c466447
AS
88402014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8841
8842 * gdb.python/py-framefilter.exp: Fix typo.
8843
6e854735
YQ
88442014-02-08 Yao Qi <yao@codesourcery.com>
8845
8846 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8847 that no =breakpoint-modified is emitted when breakpoints are
8848 modified through MI commands.
8849
d137e6dc
PA
88502014-02-07 Pedro Alves <pedro@codesourcery.com>
8851 Pedro Alves <palves@redhat.com>
8852
8853 * gdb.threads/step-after-sr-lock.c: New file.
8854 * gdb.threads/step-after-sr-lock.exp: New file.
8855
b5ee5a50
PA
88562014-02-07 Pedro Alves <palves@redhat.com>
8857
8858 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8859
3c77faf3
JK
88602014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8861
8862 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8863 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8864
6dddc817
DE
88652014-02-06 Doug Evans <xdje42@gmail.com>
8866
8867 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8868 output.
8869
8870 * gdb.gdb/python-interrupts.exp: New file.
8871
de7b2893
YQ
88722014-02-05 Yao Qi <yao@codesourcery.com>
8873
8874 * gdb.trace/report.exp (use_collected_data): Test the output
8875 of "info threads" and "info inferiors".
8876
66d032ac
YQ
88772014-02-05 Yao Qi <yao@codesourcery.com>
8878
8879 Revert this patch:
8880
8881 2013-05-24 Yao Qi <yao@codesourcery.com>
8882
8883 * gdb.trace/tfile.exp: Test inferior and thread.
8884
591a12a1
UW
88852014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8886
8887 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8888 on a function.
8889 * gdb.base/step-bt.c: Call hello via function pointer to make
8890 sure its first instruction is executed on powerpc64le-linux.
8891
0ff3e01f
UW
88922014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8893
8894 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8895
084ee545
UW
88962014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8897
8898 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8899 of the test patterns for use on little-endian systems.
8900
6ed14ff3
UW
89012014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8902
8903 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8904 (decimal_vector): Fix for little-endian.
8905
401e27fd
JM
89062014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8907
8908 * gdb.arch/sparc-sysstep.exp: New file.
8909 * gdb.arch/sparc-sysstep.c: Likewise.
8910
8911 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8912
8b924729
EBM
89132014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8914
8915 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8916
fb151210
JB
89172014-01-23 Tom Tromey <tromey@redhat.com>
8918
8919 * gdb.ada/array_char_idx: New testcase.
8920
0740f8d8
TT
89212014-01-23 Tom Tromey <tromey@redhat.com>
8922
8923 PR python/16487:
8924 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8925 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8926 classes.
8927
21909fa1
TT
89282014-01-23 Tom Tromey <tromey@redhat.com>
8929
8930 PR python/16491:
8931 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8932 string from an inferior frame.
8933 * gdb.python/py-framefilter-mi.exp: Update.
8934
87ce2a04
DE
89352014-01-22 Doug Evans <dje@google.com>
8936
8937 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8938
237b092b
AA
89392014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8940
8941 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8942
d674a709
AA
89432014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8944
8945 * gdb.trace/entry-values.exp: Remove excess space character from
8946 regex patterns. Handle s390 call instruction.
8947
20fa3390
AA
89482014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8949
8950 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8951 define "*_start" label. Make "name" static.
8952 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8953 ${name} by references to ${name}_start.
8954
78466714
AA
89552014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8956
8957 * gdb.base/info-macros.exp: Remove "debug" from the compile
8958 options.
8959
ec9f644a
IB
89602014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8961
8962 * gdb.dlang/demangle.exp: New file.
8963
94b1b47e
IB
89642014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8965
8966 * gdb.dlang/primitive-types.exp: New file.
8967
7f420862
IB
89682014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8969
8970 * configure.ac: Create gdb.dlang/Makefile.
8971 * configure: Regenerate.
8972 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8973 * gdb.dlang/Makefile.in: New file.
8974 * lib/d-support.exp: New file.
8975 * lib/gdb.exp (skip_d_tests): New proc.
8976
52834460
MM
89772014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8978
8979 * gdb.btrace/delta.exp: Check reverse stepi.
8980 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8981 * gdb.btrace/finish.exp: New.
8982 * gdb.btrace/next.exp: New.
8983 * gdb.btrace/nexti.exp: New.
8984 * gdb.btrace/record_goto.c: Add comments.
8985 * gdb.btrace/step.exp: New.
8986 * gdb.btrace/stepi.exp: New.
8987 * gdb.btrace/multi-thread-step.c: New.
8988 * gdb.btrace/multi-thread-step.exp: New.
8989 * gdb.btrace/rn-dl-bind.c: New.
8990 * gdb.btrace/rn-dl-bind.exp: New.
8991 * gdb.btrace/data.c: New.
8992 * gdb.btrace/data.exp: New.
8993 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8994
6e07b1d2
MM
89952014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8996
8997 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8998 * gdb.btrace/exception.exp: Update.
8999 * gdb.btrace/instruction_history.exp: Update.
9000 * gdb.btrace/record_goto.exp: Update.
9001 * gdb.btrace/tailcall.exp: Update.
9002 * gdb.btrace/unknown_functions.exp: Update.
9003 * gdb.btrace/delta.exp: New.
9004
0b722aec
MM
90052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9006
9007 * gdb.btrace/record_goto.exp: Add backtrace test.
9008 * gdb.btrace/tailcall.exp: Add backtrace test.
9009
066ce621
MM
90102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9011
9012 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
9013 * gdb.btrace/record_goto.c: New.
9014 * gdb.btrace/record_goto.exp: New.
9015 * gdb.btrace/x86-record_goto.S: New.
9016
0688d04e
MM
90172014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9018
9019 * gdb.btrace/function_call_history.exp: Update tests.
9020 * gdb.btrace/instruction_history.exp: Update tests.
9021
8710b709
MM
90222014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9023
9024 * gdb.btrace/function_call_history.exp: Fix expected field
9025 order for "record function-call-history".
9026 Add new tests for "record function-call-history /c".
9027 * gdb.btrace/exception.cc: New.
9028 * gdb.btrace/exception.exp: New.
9029 * gdb.btrace/tailcall.exp: New.
9030 * gdb.btrace/x86-tailcall.S: New.
9031 * gdb.btrace/x86-tailcall.c: New.
9032 * gdb.btrace/unknown_functions.c: New.
9033 * gdb.btrace/unknown_functions.exp: New.
9034 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9035
5de9129b
MM
90362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9037
9038 * gdb.btrace/instruction_history.exp: Update.
9039 * gdb.btrace/function_call_history.exp: Update.
9040
23a7fe75
MM
90412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9042
9043 * gdb.btrace/function_call_history.exp: Fix expected function
9044 trace.
9045 * gdb.btrace/instruction_history.exp: Initialize traced.
9046 Remove traced_functions.
9047
724c7dd8
MM
90482014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9049
9050 * gdb.btrace/function_call_history.exp: Update
9051 * gdb.btrace/instruction_history.exp: Update.
9052
6d78d93b
MM
90532014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9054
9055 * gdb.btrace/enable.exp: Update expected text.
9056
93a360cc
OJ
90572014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
9058
9059 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
9060 bytes.
9061
3772b53f
MR
90622014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
9063
9064 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
9065
596662fa
OJ
90662014-01-15 Omair Javaid <omair.javaid@linaro.org>
9067
9068 * lib/gdb.exp (supports_process_record): Return true for
9069 arm*-linux*. (supports_reverse): Likewise.
9070
b5b08fb4
SC
90712014-01-13 Siva Chandra Reddy <sivachandra@google.com>
9072
9073 PR python/15464
9074 PR python/16113
9075 * gdb.python/py-type.c: Enhance test case.
9076 * gdb.python/py-value-cc.cc: Likewise
9077 * gdb.python/py-type.exp: Add new tests.
9078 * gdb.python/py-value-cc.exp: Likewise
9079
52d7fb13
AA
90802014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9081 Pedro Alves <palves@redhat.com>
9082
9083 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
9084 Make "name" extern.
9085 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
9086 references to ${name}_start by references to ${name}.
9087
a2cd8cfe
JB
90882014-01-10 Joel Brobecker <brobecker@adacore.com>
9089
9090 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
9091
4e23fced
JB
90922014-01-10 Joel Brobecker <brobecker@adacore.com>
9093
9094 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
9095
c6a9e42c
PA
90962014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
9097 Pedro Alves <palves@redhat.com>
9098
9099 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 9100 mi_gdb_target_load.
c6a9e42c 9101
b7ea362b
PA
91022014-01-08 Pedro Alves <palves@redhat.com>
9103
9104 * gdb.threads/reconnect-signal.c: New file.
9105 * gdb.threads/reconnect-signal.exp: New file.
9106
5e3f4fab
EBM
91072014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9108
9109 * gdb.base/source-dir.exp: New file.
9110
79301218
JB
91112014-01-07 Joel Brobecker <brobecker@adacore.com>
9112
9113 * gdb.ada/mi_interface: New testcase.
9114
8e355c5d
JB
91152014-01-07 Joel Brobecker <brobecker@adacore.com>
9116
9117 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
9118 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
9119 gdb.ada/pp-rec-component/pck.ads: New files.
9120
c0d48811
JB
91212014-01-07 Joel Brobecker <brobecker@adacore.com>
9122
9123 * gdb.python/py-pp-integral.c: New file.
9124 * gdb.python/py-pp-integral.py: New file.
9125 * gdb.python/py-pp-integral.exp: New file.
9126
17b609c3 9127For older changes see ChangeLog-1993-2013.
c906108c 9128\f
8d8cb839
EZ
9129;; Local Variables:
9130;; mode: change-log
9131;; left-margin: 8
9132;; fill-column: 74
9133;; version-control: never
9134;; End:
902f2ccb 9135
618f726f 9136 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
9137 Copying and distribution of this file, with or without modification,
9138 are permitted provided the copyright notice and this notice are preserved.
This page took 2.541561 seconds and 4 git commands to generate.