]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Fix signals-state-child.exp in remote testing
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
3589529e
YQ
12016-08-23 Yao Qi <yao.qi@linaro.org>
2
3 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
4 standalone_txt. Delete gdb_txt and standalone_txt on host
5 and target. Spawn the binary on target. Copy files from
6 target to host.
7
6bb90213
PA
82016-08-22 Pedro Alves <palves@redhat.com>
9
10 PR gdb/20505
11 * gdb.base/vdso-warning.exp: Test core dumps too. Use
12 with_test_prefix. Factor out bits to ...
13 (test_no_vdso): ... this new procedure.
14
20c2c024
CL
152016-08-19 Carl Love <cel@us.ibm.com>
16
17 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
18 maintaining separate logic for constructing the output path.
19 * gdb.arch/powerpc-d128-regs.exp: Likewise.
20 * gdb.arch/ppc-dfp.exp: Likewise.
21 * gdb.arch/ppc-fp.exp: Likewise.
22 * gdb.arch/vsx-regs.exp: Likewise.
23 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
24 binprefix for generating the additional binary files.
25
0646e07d
PA
262016-08-19 Pedro Alves <palves@redhat.com>
27
28 * gdb.trace/mi-trace-frame-collected.exp
29 (test_trace_frame_collected): On x32, expect two registers.
30
46da9242
CL
312016-08-18 Carl Love <cel@us.ibm.com>
32
33 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
34 and sync up the test with tests in gas/testsuite/gas/ppc.
35 * gdb.arch/powerpc-power.exp: Likewise.
36
eb2332d7
SM
372016-08-17 Simon Marchi <simon.marchi@ericsson.com>
38
39 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
40 expected error message.
41
63c61e04
SM
422016-08-17 Simon Marchi <simon.marchi@ericsson.com>
43
44 * gdb.multi/remove-inferiors.exp: New file.
45 * gdb.multi/remove-inferiors.c: New file.
46
7b17065f
YQ
472016-08-12 Yao Qi <yao.qi@linaro.org>
48
49 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
50 argument list.
51
01d3dedf
PA
522016-08-10 Pedro Alves <palves@redhat.com>
53
54 PR gdb/19187
55 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
56 setup_kfails.
57
3eb7562a
PA
582016-08-09 Pedro Alves <palves@redhat.com>
59 Simon Marchi <simon.marchi@ericsson.com>
60
61 PR gdb/20418
62 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
63 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
64
80614914
PA
652016-08-09 Pedro Alves <palves@redhat.com>
66
67 PR mi/20431
68 * gdb.mi/mi-cmd-error.exp: New file.
69
f348d89a
PA
702016-08-09 Pedro Alves <palves@redhat.com>
71
72 PR gdb/18653
73 * gdb.base/signals-state-child.c: New file.
74 * gdb.base/signals-state-child.exp: New file.
75 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
76
e5ca03b4
PA
772016-08-09 Pedro Alves <palves@redhat.com>
78
79 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
80
282a0691
TT
812016-08-03 Tom Tromey <tom@tromey.com>
82
83 PR python/18565:
84 * gdb.python/py-frame-inline.exp: Add Frame.function test.
85
41bfcd63
YQ
862016-08-01 Yao Qi <yao.qi@linaro.org>
87
88 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
89 variable mode to "multi-process" if $multi_process is 1, otherwise
90 set it to "single-process".
91
e3465b24
YQ
922016-08-01 Yao Qi <yao.qi@linaro.org>
93
94 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
95 * gdb.cp/cpexprs.exp: Likewise.
96 * gdb.cp/m-static.exp: Likewise.
97
0b31a4bc
TT
982016-07-26 Tom Tromey <tom@tromey.com>
99
100 PR python/20190:
101 * gdb.threads/tls.exp (check_thread_local): Add python symbol
102 test.
103
e0461dbb
MM
1042016-07-26 Markus Metzger <markus.t.metzger@intel.com>
105
106 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
107 selecting assembly source files.
108 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
109 assembly source files.
110 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
111 assembly source files.
112 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
113 selecting assembly source files.
114
8194e927
SM
1152016-07-25 Simon Marchi <simon.marchi@ericsson.com>
116
117 * gdb.base/new-ui.exp (do_test_invalid_args): New
118 procedure.
119
c0272db5
TW
1202016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
121
122 * gdb.btrace/reconnect.c: New file.
123 * gdb.btrace/reconnect.exp: New file.
124
e3487908
GKB
1252016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
126
127 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
128 to test_catch_syscall_group.
129 (test_catch_syscall_group): New.
130
12df5c00
TT
1312016-07-21 Tom Tromey <tom@tromey.com>
132
133 * gdb.rust/simple.rs (main): Use empty struct expression.
134 * gdb.rust/simple.exp: Add tests for empty struct expression.
135
bae62ee2
YQ
1362016-07-21 Yao Qi <yao.qi@linaro.org>
137
138 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
139 if gdb_skip_xml_test is true on some targets.
140
b1b53fb3
YQ
1412016-07-21 Yao Qi <yao.qi@linaro.org>
142
143 * gdb.server/solib-list.exp: Unset last_loaded_file.
144
027d97f8
JK
1452016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
146
147 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
148 "step into captured_main (args)".
149
7674d381
JK
1502016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
151
152 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
153
72b5d099
JK
1542016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
155
156 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
157
1f960ced
PA
1582016-07-19 Pedro Alves <palves@redhat.com>
159
160 * gdb.opt/inline-break.exp: Remove optimize=-O2.
161 * gdb.opt/inline-bt.exp: Likewise.
162 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
163 additional_flags=-Winline.
164 * gdb.opt/inline-locals.exp: Likewise.
165 * gdb.opt/inline-markers.c (ATTR): Define.
166 (inlined_fn): Use it.
167
f25827c1
YQ
1682016-07-19 Yao Qi <yao.qi@linaro.org>
169
170 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
171 (test_with_self): Remove some code. Remove argument executable.
172 (top-level): Use do_self_tests.
173
37539ebe
DB
1742016-07-15 Zachary Welch <zwelch@codesourcery.com>
175 Don Breazeal <donb@codesourcery.com>
176
177 * gdb.base/maint.exp: Escape paths used in regular expressions.
178 * gdb.stabs/weird.exp: Likewise.
179
dac790e1
TT
1802016-07-13 Tom Tromey <tom@tromey.com>
181
182 PR python/15620, PR python/18620:
183 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
184 (test_bkpt_events): New procs.
185
93daf339
TT
1862016-07-13 Tom Tromey <tom@tromey.com>
187
188 PR python/17698:
189 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
190 test.
191 (test_watchpoints): Likewise.
192 (test_bkpt_pending): New proc.
193
6571a381
TT
1942016-07-13 Tom Tromey <tom@tromey.com>
195
196 PR cli/18053:
197 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
198 completion test.
199
e8732474
JK
2002016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
201
202 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
203 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
204 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
205 f_label.
206 (g): Rename g_end_lbl to g_label.
207 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
208 low_pc and high_pc.
209 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
210
e0f3fd7c
TT
2112016-07-12 Tom Tromey <tom@tromey.com>
212
213 PR python/19293:
214 * gdb.python/py-unwind-maint.exp: Update tests.
215
3cfe46b6
YQ
2162016-07-12 Yao Qi <yao.qi@linaro.org>
217
218 * lib/selftest-support.exp (selftest_setup): Match the output
219 when captured_main is inlined.
220
4f19a0e6
WT
2212016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
222
223 * gdb.fortran/derived-types.exp (result_line, result_line_2):
224 New variables.
225 (print this%a, print this%b, print this): New tests.
226 * gdb.fortran/derived-types.f90 (this): New object and
227 initialization.
228
986cf455
SM
2292016-07-06 Simon Marchi <simon.marchi@ericsson.com>
230
231 * gdb.ada/arraydim.exp: Remove extra directory level in build
232 directory.
233
f0464b23
SM
2342016-07-06 Simon Marchi <simon.marchi@ericsson.com>
235
236 * lib/ada.exp: Remove extra directory level in build directory.
237 * gdb.ada/cond_lang.exp: Likewise.
238 * gdb.ada/exec_changed.exp: Likewise.
239 * gdb.ada/lang_switch.exp: Likewise.
240
42d94011
MG
2412016-07-06 Manish Goregaokar <manish@mozilla.com>
242
243 * simple.rs: Add test for raw pointer subscripting
244 * simple.exp: Add test expectations
245
647c264c
YQ
2462016-07-05 Yao Qi <yao.qi@linaro.org>
247
248 * gdb.mi/mi-reverse.exp: Match =record-started output.
249
20aa2c60
PA
2502016-07-01 Pedro Alves <palves@redhat.com>
251
252 * gdb.base/jit-reader.exp (info_registers_current_frame): New
253 procedure.
254 (jit_reader_test): Test the jit reader's unwinder.
255 * gdb.base/jithost.c (jit_function_00_code): New global.
256 (main): Use memcpy to fill in the mmapped code, instead of poking
257 bytes manually here.
258 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
259 value.
260 (read_debug_info): Save the function's range.
261 (read_sp): New function.
262 (unwind_frame): Use it. Also unwind RBP.
263 (get_frame_id): Use read_sp.
264 (gdb_init_reader): Use calloc instead of malloc.
265 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
266 parameter. Use gdb_test_multiple.
267
ced2dffb
PA
2682016-07-01 Pedro Alves <palves@redhat.com>
269 Antoine Tremblay <antoine.tremblay@ericsson.com>
270
271 * gdb.threads/process-dies-while-detaching.c: New file.
272 * gdb.threads/process-dies-while-detaching.exp: New file.
273
63000888
PA
2742016-07-01 Pedro Alves <palves@redhat.com>
275
276 * gdb.multi/watchpoint-multi-exit.c: New file.
277 * gdb.multi/watchpoint-multi-exit.exp: New file.
278
038d4868
PA
2792016-06-30 Pedro Alves <palves@redhat.com>
280
281 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
282 unset inferior_spawn_id.
283
994e9c83
PA
2842016-06-30 Pedro Alves <palves@redhat.com>
285
286 * lib/mi-support.exp (default_mi_gdb_start): Declare global
287 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
288
e5653468
YQ
2892016-06-29 Yao Qi <yao.qi@linaro.org>
290
291 * gdb.base/return.c: Add copyright header.
292
803b47e5
TT
2932016-06-29 Tom Tromey <tom@tromey.com>
294
295 PR python/20129:
296 * gdb.python/py-framefilter.exp: Add tests for setting priority
297 and disabling of non-existent frame filter.
298
28244707
YQ
2992016-06-29 Yao Qi <yao.qi@linaro.org>
300
301 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
302 0x0f07ff.
303
a31d2f06
YQ
3042016-06-28 Yao Qi <yao.qi@linaro.org>
305
306 * gdb.base/catch-syscall.exp: Remove check on isnative and target
307 triplets. Start gdb, execute catch syscall, and continue. Check
308 gdb's output to determine catch syscall is supported.
309
921d8f54
MG
3102016-06-27 Manish Goregaokar <manish@mozilla.com>
311
25d49b86
PA
312 * gdb.rust/simple.rs: Add test for returning unit in a function.
313 * gdb.rust/simple.exp: Add expectation for functions returning
314 unit.
921d8f54 315
f4952523
PMR
3162016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
317
318 * gdb.python/py-breakpoint-create-fail.c,
319 gdb.python/py-breakpoint-create-fail.exp,
320 gdb.python/py-breakpoint-create-fail.py: New testcase.
321
fccb08f8
MG
3222016-06-25 Manish Goregaokar <manish@mozilla.com>
323
324 PR gdb/20239
325 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
326 * gdb.rust/simple.exp: Add test expectations for new NonZero
327 tests.
fccb08f8 328
6b850546
DT
3292016-06-24 David Taylor <dtaylor@emc.com>
330
331 * gdb.base/offsets.exp: New file.
332 * gdb.base/offsets.c: New file.
333
17621150
TT
3342016-06-23 Tom Tromey <tom@tromey.com>
335
336 PR gdb/16483:
337 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
338 before any filters are loaded.
339
04d59df6
WT
3402016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
341
342 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
343 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
344 structs.
345 * gdb.fortran/derived-type-function.exp: New file.
346 * gdb.fortran/derived-type-function.f90: New file.
347
348
ac69f786
PA
3492016-06-21 Pedro Alves <palves@redhat.com>
350
351 * gdb.base/new-ui.exp: New file.
352 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
353 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
354 (with_spawn_id): New procedure.
355
49940788
PA
3562016-06-21 Pedro Alves <palves@redhat.com>
357
358 * gdb.mi/mi-exec-run.exp: New file.
359
ef274d26
PA
3602016-06-21 Pedro Alves <palves@redhat.com>
361
362 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
363 breakpoint command's output on the main UI.
364 (test_break): New procedure, factored out from calls in the top
365 level.
366 (top level): Use foreach_with_prefix to test MI as main UI and as
367 separate UI.
368
468afe6c
PA
3692016-06-21 Pedro Alves <palves@redhat.com>
370
371 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
372 (test_awatch_creation_and_listing)
373 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
374 Remove 'type' parameter.
375 (test_watchpoint_all): New parameter mi_mode. Remove
376 with_test_prefix.
377 (top level): Use foreach_with_prefix, and add main/separate UI MI
378 testing axis.
379
51f77c37
PA
3802016-06-21 Pedro Alves <palves@redhat.com>
381
382 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
383 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
384 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
385 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
386 (gdb_main_spawn_id, mi_spawn_id): Declare and
387 comment.
388 (mi_create_inferior_pty): New procedure,
389 factored out from default_mi_gdb_start.
390 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
391 procedures.
392 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
393 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
394 Use mi_create_inferior_pty.
395 (mi_gdb_start): Use eval to pass down args list.
396
8980e177
PA
3972016-06-21 Pedro Alves <palves@redhat.com>
398
399 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
400 * gdb.opt/inline-cmds.exp: Add MI tests.
401
f38d3ad1
PA
4022016-06-21 Pedro Alves <palves@redhat.com>
403
404 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
405
45db7c09
PA
4062016-06-21 Pedro Alves <palves@redhat.com>
407
408 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
409 (top level): Use it instead of mi_execute_to.
410
5a069ab3
PA
4112016-06-21 Pedro Alves <palves@redhat.com>
412
413 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
414 (cont_handler_str): New.
415 (signal_stop_handler): Set stop_handler_str instead of printing to
416 stdout.
417 (continue_handler): Set cont_handler_str instead of printing to
418 stdout.
419 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
420 mi_send_resuming_command. Print stop_handler_str and
421 cont_handler_str instead of expecting the python events print
422 directly.
423
2838cc1d
SD
4242016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
425
426 * gdb.base/jit-reader.exp: New file.
427 * gdb.base/jithost.c: New file.
428 * gdb.base/jithost.h: New file.
429 * gdb.base/jitreader.c : New file.
430 * gdb.base/jit-protocol.h: New file.
431
21a77091
YQ
4322016-06-17 Yao Qi <yao.qi@linaro.org>
433
434 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
435 parameters follow_fork and detach_on_fork. Set follow-fork-mode
436 and detach-on-fork. Adjust tests.
437 (top level): Invoke break_cond_on_syscall with combinations of
438 syscall, follow-fork-mode and detach-on-fork.
439
f50bf8e5
YQ
4402016-06-17 Yao Qi <yao.qi@linaro.org>
441
442 * gdb.base/step-over-exit.c: New.
443 * gdb.base/step-over-exit.exp: New.
444
a28d8e50
YTL
4452016-06-17 Yan-Ting Lin <currygt52@gmail.com>
446
447 * gdb.base/float.exp: Add target check for nds32*-*-*.
448 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
449
cad8e26d
AB
4502016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
451
452 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
453 for unsupported target features.
454 * gdb.base/call-rt-st.exp: Likewise.
455 * gdb.base/call-sc.exp: Likewise.
456 * gdb.base/call-signal-resume.exp: Likewise.
457 * gdb.base/call-strs.exp: Likewise.
458 * gdb.base/callexit.exp: Likewise.
459 * gdb.base/callfuncs.exp: Likewise.
460 * gdb.base/nodebug.exp: Likewise.
461 * gdb.base/printcmds.exp: Likewise.
462 * gdb.base/ptype.exp: Likewise.
463 * gdb.base/structs.exp: Likewise.
464 * gdb.base/unwindonsignal.exp: Likewise.
465 * gdb.cp/gdb2495.exp: Likewise.
466 * gdb.cp/templates.exp: Likewise.
467 * gdb.cp/virtfunc.exp: Likewise.
468 * gdb.threads/hand-call-in-threads.exp: Likewise.
469 * gdb.threads/interrupted-hand-call.exp: Likewise.
470 * gdb.threads/thread-unwindonsignal.exp: Likewise.
471
347dc102
TT
4722016-06-10 Tom Tromey <tom@tromey.com>
473
474 PR rust/20110:
475 * gdb.rust/expr.exp: Add test for integer constant larger than
476 i32.
477
5e13cf25
BH
4782016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
479
480 * gdb.fortran/nested-funcs.exp: New.
481 * gdb.fortran/nested-funcs.f90: New.
482
bb556f1f
TK
4832016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
484
485 * gdb.base/examine-backward.c: New file.
486 * gdb.base/examine-backward.exp: New file.
487
38b022b4
SM
4882016-06-06 Simon Marchi <simon.marchi@ericsson.com>
489
490 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
491 matching.
492
1b40ec05
TT
4932016-06-02 Tom Tromey <tom@tromey.com>
494
495 PR python/18984:
496 * gdb.python/py-shared.exp: Add solib_name test.
497
193bd378
SM
4982016-06-02 Simon Marchi <simon.marchi@ericsson.com>
499
500 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
501
3326303b
MG
5022016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
503
504 PR c++/19893
505 * gdb.dwarf2/implref.exp: Rename to...
506 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
507 * gdb.dwarf2/implref-array.c: New file.
508 * gdb.dwarf2/implref-array.exp: Likewise.
509 * gdb.dwarf2/implref-global.c: Likewise.
510 * gdb.dwarf2/implref-global.exp: Likewise.
511 * gdb.dwarf2/implref-struct.c: Likewise.
512 * gdb.dwarf2/implref-struct.exp: Likewise.
513
825c8ef2
AT
5142016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
515
516 * gdb.trace/trace-condition.exp: Add 64bit tests.
517
2320162a
AT
5182016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
519
520 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
521 bits types.
522 (main): Adapt to 8 to 64 bits types.
523 * gdb.trace/trace-condition.exp: Add new tests.
524
a7818233
AT
5252016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
526
527 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
528
0d336466
AT
5292016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
530
531 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
532 Move condition tests...
533 * gdb.trace/trace-condition.exp: Here.
534
7faeb45a
AT
5352016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
536
537 * gdb.trace/trace-condition.exp: Add counter-case tests.
538
e385593e
JK
5392016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
540
541 PR c++/15231
542 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
543 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
544
744608cc
PA
5452016-05-27 Pedro Alves <palves@redhat.com>
546
547 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
548 New procedure.
549 (top level): Call it, and bail out of DejaGnu is known to be bad.
550
ac775bf4
AB
5512016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
552
553 * gdb.base/whatis.c: Extend the test case.
554 * gdb.base/whatis.exp: Add additional tests.
555
2bbad2ea
BH
5562016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
557
558* gdb.fortran/type.f90: Add pointer variable.
559* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
560
8b70175d
BH
5612016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
562
563 * gdb.fortran/vla-type.exp: Fix testcase name.
564
86d8a848
BH
5652016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
566
567 * gdb.fortran/vla-type.exp: Access elements in nested structs.
568
e188eb36
BH
5692016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
570
571 * gdb.fortran/type.f90: Add nested structures.
572 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
573 * gdb.fortran/derived-type.exp: Adapt expected output.
574 * gdb.fortran/vla-type.exp: Adapt expected output.
575
9b2db1fd
BH
5762016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
577
578 * gdb.fortran/whatis_type.exp: Adapt expected output.
579
72b17055
BH
5802016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
581
582 * gdb.fortran/print_type.exp: Fix expected output.
583 * gdb.fortran/whatis_type.exp: Fix expected output.
584
3cd81d8d
BH
5852016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
586
587 * gdb.fortran/whatis_type.exp: Use multi_line.
588
ddae9462
TT
5892016-05-24 Tom Tromey <tom@tromey.com>
590
591 PR python/17386:
592 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
593 use value as an index.
594
1957f6b8
TT
5952016-05-23 Tom Tromey <tom@tromey.com>
596
597 PR python/17981:
598 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
599 no-breakpoint case.
600
026a9174
PA
6012016-05-24 Pedro Alves <palves@redhat.com>
602
603 PR gdb/19828
604 * gdb.threads/clone-attach-detach.c: New file.
605 * gdb.threads/clone-attach-detach.exp: New file.
606
e70a7231
FR
6072016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
608
609 * gdb.base/annota-input-while-running.exp: Fix syntax error.
610
0f6ed0e0
TT
6112016-05-23 Tom Tromey <tom@tromey.com>
612
613 PR python/19438, PR python/18393:
614 * gdb.python/py-progspace.exp: Add "dir" test.
615 * gdb.python/py-objfile.exp: Add "dir" test.
616
ffd19d61
YQ
6172016-05-23 Yao Qi <yao.qi@linaro.org>
618
619 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
620 * gdb.arch/thumb2-it.exp: Likewise.
621
9e8f9b05
SM
6222016-05-18 Simon Marchi <simon.marchi@ericsson.com>
623
624 * gdb.mi/mi-threads-interrupt.c: New file.
625 * gdb.mi/mi-threads-interrupt.exp: New file.
626
61c6156d
SM
6272016-05-17 Simon Marchi <simon.marchi@ericsson.com>
628
629 PR gdb/18077
630 * gdb.mi/mi-async-run.exp: New file.
631 * gdb.mi/mi-async-run.c: New file.
632
67218854
TT
6332016-05-17 Tom Tromey <tom@tromey.com>
634 Manish Goregaokar <manishsmail@gmail.com>
635
636 * lib/rust-support.exp: New file.
637 * lib/gdb.exp (skip_rust_tests): New proc.
638 (build_executable_from_specs): Handle rust.
639 * lib/future.exp (gdb_find_rustc): New proc.
640 (gdb_default_target_compile): Handle rust.
641 * gdb.rust/expr.exp: New file.
642 * gdb.rust/generics.exp: New file.
643 * gdb.rust/generics.rs: New file.
644 * gdb.rust/methods.exp: New file.
645 * gdb.rust/methods.rs: New file.
646 * gdb.rust/modules.exp: New file.
647 * gdb.rust/modules.rs: New file.
648 * gdb.rust/simple.exp: New file.
649 * gdb.rust/simple.rs: New file.
650
c44af4eb
TT
6512016-05-17 Tom Tromey <tom@tromey.com>
652
653 * gdb.base/default.exp (set language): Add rust.
654
dcd1f979
TT
6552016-05-17 Tom Tromey <tom@tromey.com>
656
657 * gdb.gdb/unittest.exp: New file.
658
155b7f57
YQ
6592016-05-16 Yao Qi <yao.qi@linaro.org>
660
661 * gdb.base/batch-preserve-term-settings.exp: Remove variable
662 shell_prompt. Update shell_prompt_re.
663
8ddd5a6c
DE
6642016-05-12 Doug Evans <dje@google.com>
665
666 PR symtab/19999
667 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
668 $options when building executable.
669 * gdb.dwarf2/fission-loclists-pie.S: New file.
670 * gdb.dwarf2/fission-loclists-pie.exp: New file.
671
02e370d9
SM
6722016-05-04 Simon Marchi <simon.marchi@ericsson.com>
673
674 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
675 of [is_remote target],
676
8929ad8b
SM
6772016-05-04 Simon Marchi <simon.marchi@ericsson.com>
678
679 * lib/gdb.exp (use_gdb_stub): New procedure.
680
6c447423
DE
6812016-05-03 Yunlian Jiang <yunlian@google.com>
682 Doug Evans <dje@google.com>
683
684 PR symtab/19914
685 * gdb.dwarf2/dwp-sepdebug.c: New file.
686 * gdb.dwarf2/dwp-sepdebug.exp: New file.
687
444e826c
SM
6882016-05-02 Simon Marchi <simon.marchi@ericsson.com>
689
690 * gdb.base/detach.exp: Remove is_remote check.
691
740feeaa
SM
6922016-05-02 Simon Marchi <simon.marchi@ericsson.com>
693
694 * gdb.base/annota-input-while-running.exp: Don't check for
695 [is_remote target]. Enable annotations after running to main.
696 Remove unused "set test..." line.
697
9080ac9d
SM
6982016-04-28 Simon Marchi <simon.marchi@ericsson.com>
699
700 * gdb.trace/trace-enable-disable.exp: New file.
701 * gdb.trace/trace-enable-disable.c: New file.
702
952ebca5
SM
7032016-04-28 Simon Marchi <simon.marchi@ericsson.com>
704
705 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
706 use it in info sharedlibrary test.
707 * gdb.trace/ftrace-lock.exp: Likewise.
708 * gdb.trace/ftrace.exp: Likewise.
709 * gdb.trace/range-stepping.exp: Likewise.
710 * gdb.trace/trace-break.exp: Likewise.
711 * gdb.trace/trace-condition.exp: Likewise.
712 * gdb.trace/trace-mt.exp: Likewise.
713
d9019901
SM
7142016-04-27 Simon Marchi <simon.marchi@ericsson.com>
715
716 * lib/gdb.exp (gdb_load_shlibs): Rename to...
717 (gdb_load_shlib): ... this.
718 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
719 gdb_load_shlib.
720 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
721 * gdb.base/ctxobj.exp: Likewise.
722 * gdb.base/dprintf-pending.exp: Likewise.
723 * gdb.base/dso2dso.exp: Likewise.
724 * gdb.base/fixsection.exp: Likewise.
725 * gdb.base/gcore-relro.exp: Likewise.
726 * gdb.base/gdb1555.exp: Likewise.
727 * gdb.base/global-var-nested-by-dso.exp: Likewise.
728 * gdb.base/gnu-ifunc.exp: Likewise.
729 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
730 * gdb.base/jit-so.exp (one_jit_test): Likewise.
731 * gdb.base/pending.exp: Likewise.
732 * gdb.base/print-file-var.exp: Likewise.
733 * gdb.base/print-symbol-loading.exp: Likewise.
734 * gdb.base/shlib-call.exp: Likewise.
735 * gdb.base/shreloc.exp: Likewise.
736 * gdb.base/so-impl-ld.exp: Likewise.
737 * gdb.base/solib-disc.exp: Likewise.
738 * gdb.base/solib-nodir.exp: Likewise.
739 * gdb.base/solib-overlap.exp: Likewise.
740 * gdb.base/solib-symbol.exp: Likewise.
741 * gdb.base/solib-weak.exp (do_test): Likewise.
742 * gdb.base/sym-file.exp: Likewise.
743 * gdb.base/symtab-search-order.exp: Likewise.
744 * gdb.base/type-opaque.exp: Likewise.
745 * gdb.base/unload.exp: Likewise.
746 * gdb.base/watchpoint-solib.exp: Likewise.
747 * gdb.compile/compile.exp: Likewise.
748 * gdb.cp/gdb2384.exp: Likewise.
749 * gdb.cp/infcall-dlopen.exp: Likewise.
750 * gdb.cp/re-set-overloaded.exp: Likewise.
751 * gdb.fortran/library-module.exp: Likewise.
752 * gdb.opt/solib-intra-step.exp: Likewise.
753 * gdb.python/py-finish-breakpoint.exp: Likewise.
754 * gdb.python/py-shared.exp: Likewise.
755 * gdb.reverse/solib-precsave.exp: Likewise.
756 * gdb.reverse/solib-reverse.exp: Likewise.
757 * gdb.server/solib-list.exp: Likewise.
758 * gdb.threads/dlopen-libpthread.exp: Likewise.
759 * gdb.threads/tls-shared.exp: Likewise.
760 * gdb.threads/tls-so_extern.exp: Likewise.
761 * gdb.trace/change-loc.exp: Likewise.
762 * gdb.trace/ftrace-lock.exp: Likewise.
763 * gdb.trace/ftrace.exp: Likewise.
764 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
765 * gdb.trace/pending.exp: Likewise.
766 * gdb.trace/range-stepping.exp: Likewise.
767 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
768 (strace_info_marker): Likewise.
769 (strace_probe_marker): Likewise.
770 (strace_trace_on_same_addr): Likewise.
771 (strace_trace_on_diff_addr): Likewise.
772 * gdb.trace/trace-break.exp: Likewise.
773 * gdb.trace/trace-condition.exp: Likewise.
774 * gdb.trace/trace-mt.exp: Likewise.
775
fca4cfd9
SM
7762016-04-27 Simon Marchi <simon.marchi@ericsson.com>
777
778 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
779 result of gdb_remote_download.
780 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
781 * gdb.base/dso2dso.exp: Likewise.
782 * gdb.base/global-var-nested-by-dso.exp: Likewise.
783 * gdb.base/print-file-var.exp: Likewise.
784 * gdb.base/shlib-call.exp: Likewise.
785 * gdb.base/shreloc.exp: Likewise.
786 * gdb.base/solib-overlap.exp: Likewise.
787 * gdb.base/solib-weak.exp (do_test): Likewise.
788 * gdb.base/unload.exp: Likewise.
789
11cf4ffb
YQ
7902016-04-27 Yao Qi <yao.qi@linaro.org>
791
792 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
793 exists.
794
3e2e34f8
KB
7952016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
796
797 * vla-type.exp: Print structure from toplevel.
798
8f07e298
BH
7992016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
800
801 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
802 of dynamic types.
803 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
804 of dynamic types.
805
9920b434
BH
8062016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
807
808 * gdb.fortran/vla-type.f90: New file.
809 * gdb.fortran/vla-type.exp: New file.
810
f3abeff5
YQ
8112016-04-25 Yao Qi <yao.qi@linaro.org>
812
813 * gdb.base/branch-to-self.c: New file.
814 * gdb.base/branch-to-self.exp: New file.
815
0a5d52f0
YQ
8162016-04-22 Yao Qi <yao.qi@linaro.org>
817
818 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
819 more after $hex.
820
495346f6
YQ
8212016-04-22 Yao Qi <yao.qi@linaro.org>
822
823 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
824 * gdb.base/annota3.exp: Likewise.
825
4a7e075c
YQ
8262016-04-22 Yao Qi <yao.qi@linaro.org>
827
828 * gdb.reverse/step-precsave.exp: Do one step and test program
829 stops in "callee" and do multiple steps until program goes out
830 of "callee".
831 * gdb.reverse/step-reverse.exp: Likewise.
832
5b061e98
YQ
8332016-04-22 Yao Qi <yao.qi@linaro.org>
834
835 * gdb.trace/signal.exp: Also pass if
836 $tracepoint_hits($i) > $iterations.
837
5c5dc57f
YQ
8382016-04-22 Yao Qi <yao.qi@linaro.org>
839
840 * gdb.trace/signal.c: New file.
841 * gdb.trace/signal.exp: New file.
842
a55411b9
DE
8432016-04-19 Doug Evans <xdje42@gmail.com>
844
845 * gdb.base/bad-file.exp: New file.
846
a22df60a
MG
8472016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
848
849 * gdb.dwarf2/implref.exp: New file.
850
0c13f7e5
BH
8512016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
852
853 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
854 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
855 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
856 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
857 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
858 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
859 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
860 * lib/fortran.exp (fortran_int4): New procedure.
861 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
862 (fortran_logical4): Likewise.
863
9b9b09e9
BH
8642016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
865
866 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
867
a14d1f4d
BH
8682016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
869
870 * lib/compiler.c: Add Intel specific preprocessor macros.
871 * lib/compiler.cc: Likewise.
25d49b86 872
7d49b1d0
LM
8732016-04-13 Luis Machado <lgustavo@codesourcery.com>
874
875 * gdb.server/connect-with-no-symbol-file.c: New file.
876 * gdb.server/connect-with-no-symbol-file.exp: New file.
877
8392fa22
SM
8782016-04-13 Simon Marchi <simon.marchi@ericsson.com>
879
880 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
881
8c4c4aeb
SM
8822016-04-13 Simon Marchi <simon.marchi@ericsson.com>
883
884 * boards/gdbserver-base.exp (${board}_download): Copy source file to
885 standard output directory.
886
45e3745e
AT
8872016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
888
889 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
890
e26b7e41
MM
8912016-04-13 Markus Metzger <markus.t.metzger@intel.com>
892
893 * gdb.btrace/instruction_history.c (loop): Add declaration.
894
8ce09462
AT
8952016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
896
897 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
898
2e88a1ea
SM
8992016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
900
901 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
902 parentheses to print.
903 (continue_handler): Likewise.
904
f48e22e3
SM
9052016-04-08 Simon Marchi <simon.marchi@ericsson.com>
906
907 * gdb.server/solib-list.exp: Remove is_remote check.
908 Pass shlib= to gdb_compile. Don't link shared library with
909 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
910 Run binary filename through "readlink -f" on the target.
911
096be756
PA
9122016-04-08 Pedro Alves <palves@redhat.com>
913
914 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
915 interpreter filename as argument to gdbserver_spawn.
916 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
917 Return empty if $last_loaded_file does not exist.
918
06500533
JK
9192016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
920
921 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
922 * gdb.base/jit-main.c: Use exit after usage.
923
2d35e871
JK
9242016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
925
926 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
927 GDBHISTSIZE prior to the tests.
928 * gdb.base/gdbinit-history.exp: Likewise.
929
9302016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
931
932 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
933 instead of build_executable. Use gdb_load_shlibs.
934
c8064e7e
YQ
9352016-04-07 Yao Qi <yao.qi@linaro.org>
936
937 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
938 Execute "si" command.
939
bde47561
YQ
9402016-04-07 Yao Qi <yao.qi@linaro.org>
941
942 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
943 number instead of the comments on some line.
944
b16f8a3b
DB
9452016-04-06 Don Breazeal <donb@codesourcery.com>
946
947 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
948 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
949
c2f901df
SM
9502016-04-06 Simon Marchi <simon.marchi@ericsson.com>
951
952 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
953 standard_output_file. Remove unused binfile variable.
954
ac17fda0
CU
9552016-04-05 Catalin Udma <catalin.udma@freescale.com>
956
957 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
958 * gdb.python/py-mi-objfile.exp: Match "list main" output
959 in console format.
960
03a8c4df
SM
9612016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
962
963 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
964 absolute.
965
6e774b13
SM
9662016-04-05 Simon Marchi <simon.marchi@ericsson.com>
967
968 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
969 absolute.
970 * gdb.trace/ftrace.exp: Likewise.
971 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
972 targets as well.
973 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
974 (gdb_load_shlibs): Copy libraries to test directory when testing
975 natively. Only set solib-search-path if testing remotely.
976 * lib/mi-support.exp (mi_load_shlibs): Likewise.
977
7817ea46
SM
9782016-04-05 Simon Marchi <simon.marchi@ericsson.com>
979
980 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
981 gdb_download. Use it even if the target is not remote.
982 * gdb.base/jit.exp (compile_jit_test): Likewise.
983 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
984 output directory if the destination board is local, otherwise use
985 the standard remote_download from DejaGnu.
986 (gdb_download): Remove.
987 (gdb_load_shlibs): Use gdb_remote_download instead of
988 gdb_download.
989 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
990 Use gdb_remote_download instead of gdb_download. Use it even if
991 the target is not remote.
992 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
993 instead of gdb_download.
994
7beb7f68
SM
9952016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
996
997 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
998 (test_insert_delete_modify): Call mi_load_shlibs before trying to
999 run.
1000
cc63428a
AV
10012016-04-01 Artemiy Volkov <artemiyv@acm.org>
1002
1003 PR gdb/19820
1004 * gdb.base/printcmds.exp: Add artificial arrays tests.
1005
64cdf930
PA
10062016-03-31 Pedro Alves <palves@redhat.com>
1007
1008 PR gdb/19858
1009 * gdb.base/jit-main.c: Include unistd.h.
1010 (ATTACH): Define to 0 if not already defined.
1011 (wait_for_gdb, mypid): New globals.
1012 (WAIT_FOR_GDB): New macro.
1013 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1014 some breakpoint locations.
1015 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1016 New procedures.
1017 (one_jit_test): Add REATTACH parameter, and handle it. Use
1018 continue_to_test_location.
1019 (top level): Test attach, and adjusts calls to one_jit_test.
1020
40dea8cb
PA
10212016-03-31 Pedro Alves <palves@redhat.com>
1022
1023 PR gdb/19858
1024 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1025 BINSUFFIX parameter, and handle it.
1026 (top level): Adjust calls compile_jit_test.
1027
e7ea3ec7
CU
10282016-03-31 Catalin Udma <catalin.udma@freescale.com>
1029
1030 PR python/19743
1031 * gdb.python/py-mi-events-gdb.py: New file.
1032 * gdb.python/py-mi-events.c: New file.
1033 * gdb.python/py-mi-events.exp: New file.
1034
e6359af3
YQ
10352016-03-30 Yao Qi <yao.qi@linaro.org>
1036
1037 * gdb.reverse/until-precsave.exp: Match function name only.
1038 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1039 Move malloc to a condition block.
1040 * gdb.reverse/until-reverse.exp: Match function name only.
1041
a4105d04
MK
10422016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1043
1044 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1045 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1046 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1047 variable for GPR 0 instead of assuming it is register 0.
1048 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1049 * lib/trace-support.exp: Add s390 registers.
1050
bfa6adb9
YQ
10512016-03-29 Yao Qi <yao.qi@linaro.org>
1052
1053 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1054
1e6697ea
YQ
10552016-03-24 Yao Qi <yao.qi@linaro.org>
1056
1057 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1058 test message.
1059
64bcd522
AA
10602016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1061
1062 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1063 maintaining separate logic for constructing the output path.
1064
7868401b
DB
10652016-03-16 Don Breazeal <donb@codesourcery.com>
1066
1067 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1068 Retry fork and waitpid on interrupted system call errors.
1069 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1070 Use with_timeout_factor to increase timeout by factor of 10.
1071
1cafadb4
DB
10722016-03-15 Don Breazeal <donb@codesourcery.com>
1073
1074 * gdb.cp/scope-err.cc: New test program.
1075 * gdb.cp/scope-err.exp: New test script.
1076 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1077 lines and "set breakpoint here" comment.
1078 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1079 Fixed some whitespace and format issues.
1080 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1081 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1082
81516450
DE
10832016-03-15 Doug Evans <dje@google.com>
1084
1085 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1086 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1087 All callers updated. Add tests for enums, mixed flags register.
1088
aa52b601
DE
10892016-03-15 Doug Evans <dje@google.com>
1090
1091 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1092 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1093
fa4ff313
SM
10942016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1095
1096 * gdb.base/default.exp: Add $_as_string to the list of expected
1097 convenience functions.
1098
f2403c39
AB
10992016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1100
1101 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1102
f2f3ccb9
SM
11032016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1104
1105 * gdb.python/py-as-string.exp: New file.
1106 * gdb.python/py-as-string.c: New file.
1107
00dbd492
PA
11082016-03-09 Pedro Alves <palves@redhat.com>
1109
1110 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1111 signal" -> "Thread NN received signal" output change.
1112 * gdb.threads/ia64-sigill.exp: Likewise.
1113 * gdb.threads/linux-dp.exp: Likewise.
1114 * gdb.threads/manythreads.exp: Likewise.
1115 * gdb.threads/pending-step.exp: Likewise.
1116 * gdb.threads/print-threads.exp: Likewise.
1117 * gdb.threads/sigstep-threads.exp: Likewise.
1118 * gdb.threads/staticthreads.exp: Likewise.
1119 * gdb.threads/tls.exp: Likewise.
1120
1e6697ea
YQ
11212016-03-09 Pedro Alves <palves@redhat.com>
1122
1123 * gdb.base/command-line-input.exp: New file.
1124
b04fd3be
MK
11252016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1126
1127 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1128 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1129 * gdb.trace/pending.exp: Accept leading dot before function name.
1130 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1131 * lib/trace-support.exp: Set registers for ppc.
1132
98fa59e9
MK
11332016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1134
1135 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1136 use it for disassembly; accept .main in addition to main in backtrace.
1137
f77198c8
MK
11382016-03-09 Wei-cheng Wang <cole945@gmail.com>
1139 Marcin Kościelnicki <koriakin@0x04.net>
1140
1141 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1142 (gdb_recursion_test_ptr): New global variable.
1143 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1144 gdb_recursion_test.
1145 (gdb_c_test): Ditto.
1146
ba84e0da
MK
11472016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1148
1149 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1150 ordering.
1151
4366d36e
MK
11522016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1153
1154 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1155 (bar): Add bar_start_lbl label.
1156 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1157 of foo/bar for emitting DWARF and tracing.
1158
5eb264df
SDJ
11592016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1160
1161 * analyze-racy-logs.py: Set executable bit.
1162
fb6a751f
SDJ
11632016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1164
1165 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1166 (CHECK_TARGET_TMP): Likewise.
1167 (check-single-racy): New rule.
1168 (check-parallel-racy): Likewise.
1169 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1170 (do-check-parallel-racy): New rule.
1171 (check-racy/%.exp): Likewise.
1172 * README (Racy testcases): New section.
1173 * analyze-racy-logs.py: New file.
1174
bdf7e230
DE
11752016-03-03 Doug Evans <dje@google.com>
1176
1177 * gdb.base/skip.exp: Use with_test_prefix.
1178
4719d415
YQ
11792016-03-03 Yao Qi <yao.qi@linaro.org>
1180
1181 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1182 Invoke step_over_syscall "clone" and break_cond_on_syscall
1183 "clone".
1184 * gdb.base/step-over-clone.c: New file.
1185
ea507862
YQ
11862016-03-03 Yao Qi <yao.qi@linaro.org>
1187
1188 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1189 code format.
1190
8fc8cbda
YQ
11912016-03-03 Yao Qi <yao.qi@linaro.org>
1192
1193 * gdb.base/disp-step-fork.c: Rename to ...
1194 * gdb.base/step-over-fork.c: ... it. New file.
1195 * gdb.base/disp-step-vfork.c: Rename to ...
1196 * gdb.base/step-over-vfork.c: ... it. New file.
1197 * gdb.base/disp-step-syscall.exp: Rename to ...
1198 * gdb.base/step-over-syscall.exp: ... it. New file.
1199 (disp_step_cross_syscall): Rename to ...
1200 (step_over_syscall): ... it.
1201
92fa70b0
YQ
12022016-03-03 Yao Qi <yao.qi@linaro.org>
1203
1204 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1205 If target supports condition evaluation on target, invoke
1206 break_cond_on_syscall for fork and vfork.
1207
e197ad3c
YQ
12082016-03-03 Yao Qi <yao.qi@linaro.org>
1209
1210 * gdb.base/disp-step-syscall.exp: Don't invoke
1211 support_displaced_stepping.
1212 (disp_step_cross_syscall): Test with displaced stepping off and
1213 on if supported.
1214
0b47da9f
YQ
12152016-03-03 Yao Qi <yao.qi@linaro.org>
1216
1217 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1218 proc.
1219 (setup): New proc.
1220 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1221 and setup.
1222
065ab6dc
BH
12232016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1224
1225 * gdb.fortran/vla-history.exp: Remove breakpoint.
1226
07e448ad 12272016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1228
25d49b86
PA
1229 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1230 exceeds timeout.
07e448ad 1231
9ac2d526 12322016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1233
25d49b86
PA
1234 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1235 breakpoint.
9ac2d526 1236
17807369
BH
12372016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1238
1239 * gdb.mi/vla.f90: Nullify pointer after declaration.
1240
86e501af
PA
12412016-03-01 Pedro Alves <palves@redhat.com>
1242
1243 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1244
1e903e32
PA
12452016-03-01 Pedro Alves <palves@redhat.com>
1246
1247 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1248 before anything else.
1249 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1250 _GNU_SOURCE here.
1251 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1252 before anything else.
1253 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1254
6ccb54e2
PA
12552016-03-01 Pedro Alves <palves@redhat.com>
1256
1257 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1258
30ca9da1
YQ
12592016-03-01 Yao Qi <yao.qi@linaro.org>
1260
1261 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1262 prepare_for_testing.
1263
dc856b38
YQ
12642016-03-01 Yao Qi <yao.qi@linaro.org>
1265
1266 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1267
4a932159
AA
12682016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1269
1270 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1271 manually constructing the output path.
1272
f2489477
AA
12732016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1274
1275 * gdb.arch/s390-stackless.S: New.
1276 * gdb.arch/s390-stackless.exp: New.
1277
38899f16
IB
12782016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1279
1280 * gdb.dlang/circular.c: New file.
1281 * gdb.dlang/circular.exp: New file.
1282
9fde51ed
YQ
12832016-02-26 Yao Qi <yao.qi@linaro.org>
1284
1285 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1286 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1287 (testcases): Update.
1288
ce90fefe
YQ
12892016-02-26 Yao Qi <yao.qi@linaro.org>
1290
1291 * gdb.reverse/aarch64.c: Rename to ...
1292 * gdb.reverse/insn-reverse.c: ... it.
1293 * gdb.reverse/aarch64.exp: Rename to ...
1294 * gdb.reverse/insn-reverse.exp: ... it.
1295
3263bceb
YQ
12962016-02-26 Yao Qi <yao.qi@linaro.org>
1297
1298 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1299 (testcase_ftype): New.
1300 (testcases): New array.
1301 (n_testcases): New.
1302 (main): Call each element in testcases.
1303 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1304 (read_testcase): New.
1305 Do the tests in a loop.
1306
6cb59ff1
YQ
13072016-02-25 Yao Qi <yao.qi@linaro.org>
1308
1309 * gdb.base/branches.c: Remove.
1310
ae91f625
MK
13112016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1312
1313 PR gdb/13808
1314 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1315
678b48b7
MK
13162016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1317
1318 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1319
7337a6f2
MK
13202016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1321
1322 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1323 change x86_64 call_insn to 'callq'.
1324
861ca91f
AT
13252016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1326
1327 * gdb.trace/tfile-avx.c: Move to...
1328 * gdb.trace/tracefile-pseudo-reg.c: Here.
1329 * gdb.trace/tfile-avx.exp: Move to...
1330 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1331
bf74e428
GB
13322016-02-24 Gary Benson <gbenson@redhat.com>
1333
1334 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1335 message on attach.
1336
cce0e923
DE
13372016-02-23 Doug Evans <dje@google.com>
1338
1339 * gdb.base/skip.c (test_skip): New function.
1340 (end_test_skip_file_and_function): New function.
1341 (test_skip_file_and_function): New function.
1342 * gdb.base/skip1.c (test_skip): New function.
1343 (skip1_test_skip_file_and_function): New function.
1344 * gdb.base/skip.exp: Add tests for new skip options.
1345 * gdb.base/skip-solib.exp: Update expected output.
1346 * gdb.perf/skip-command.cc: New file.
1347 * gdb.perf/skip-command.exp: New file.
1348 * gdb.perf/skip-command.py: New file.
1349
4000e47e
MK
13502016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1351
1352 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1353 info registers pattern.
1354
24f75ead
IB
13552016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1356
1357 * lib/future.exp: Add D support.
1358 (gdb_find_gdc): New proc.
1359 (gdb_default_target_compile): Add D support.
1360
fbb7bcbe
WW
13612016-02-18 Wei-cheng Wang <cole945@gmail.com>
1362
1363 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1364 user+system time.
1365 (trace_speed_test): Determine the iteration count for a time
1366 between 15..30 seconds.
1367
012b3a21
WT
13682016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1369
1370 * gdb.arch/i386-mpx-sigsegv.c: New file.
1371 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1372 * gdb.arch/i386-mpx-simple_segv.c: New file.
1373 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1374
2d5189bd
YQ
13752016-02-18 Yao Qi <yao.qi@linaro.org>
1376
1377 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1378 Don't call setup_kfail.
1379
40fb20d0
YQ
13802016-02-18 Yao Qi <yao.qi@linaro.org>
1381
1382 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1383 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1384
21b1f8d2
DE
13852016-02-16 Doug Evans <dje@google.com>
1386
1387 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1388 * gdb.base/skip1.c: Ditto.
1389 * gdb.base/skip.exp: Whitespace cleanup.
1390
4041ed77
DB
13912016-02-16 Don Breazeal <donb@codesourcery.com>
1392
1393 PR remote/19496
1394 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1395 Remove kfail for PR remote/19496.
1396
c4ef31bf
SM
13972016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1398
1399 * lib/gdb.exp (standard_temp_file): Return a path specific to
1400 the runtest invocation.
1401
266b65b3
SM
14022016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1403
1404 * gdb.trace/save-trace.exp: Change relative path to be in the
1405 standard output directory.
1406
a7a0a6a9
JK
14072016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1408
1409 * gdb.arch/i386-prologue.c: Add missing prototypes.
1410
c99dbb42
JK
14112016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1412
1413 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1414 * gdb.arch/i386-prologue.exp: Likewise.
1415 * gdb.arch/i386-size.exp: Likewise.
1416
aa480355
SM
14172016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1418
1419 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1420 define object file path.
1421 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1422 file path.
1423 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1424 standard_output_file to define binfile.
1425
ba881f50
JK
14262016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1427
1428 Fix compatibility with recent gfortran-5.3.1.
1429 * gdb.fortran/vla-history.exp (print vla1 allocated)
1430 (print vla2 allocated, print $2, print $3): Remove
1431 (print $4): Rename to ...
1432 (print $2): ... here.
1433 (print $9): Rename to ...
1434 (print $5): ... here.
1435 (print $10): Rename to ...
1436 (print $6): ... here.
1437 * gdb.fortran/vla.f90: Add pvla initialization.
1438
e9fb005c
JK
14392016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1440
1441 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1442 New test.
1443 * gdb.fortran/vla-value-sub.exp: Likewise.
1444
e44e00ff
MK
14452016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1446
1447 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1448
97e94151
SM
14492016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1450
1451 * i386-biarch-core.exp: Define corefile using
1452 standard_output_file.
1453
01113bc1
YQ
14542016-02-12 Yao Qi <yao.qi@linaro.org>
1455
1456 * gdb.arch/arm-single-step-kernel-helper.c: New.
1457 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1458
33b4777c
MM
14592016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1460
1461 * gdb.btrace/tailcall-only.exp: New.
1462 * gdb.btrace/tailcall-only.c: New.
1463 * gdb.btrace/x86_64-tailcall-only.S: New.
1464 * gdb.btrace/i686-tailcall-only.S: New.
1465
acc23c11
PA
14662016-02-11 Pedro Alves <palves@redhat.com>
1467
1468 * README (Parallel testing): Add missing double quotes.
1469
e352bf0a
PA
14702016-02-11 Pedro Alves <palves@redhat.com>
1471
1472 * README (Parallel testing): New section.
1473 (GDB_PARALLEL): Rewrite.
1474 (FORCE_PARALLEL): Document.
1475
9f5fed78
MK
14762016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1477
1478 * gdb.trace/tfile-avx.c: New test.
1479 * gdb.trace/tfile-avx.exp: New test.
1480
9ef9e6a6
KS
14812016-02-09 Keith Seitz <keiths@redhat.com>
1482
1483 PR breakpoints/19546
1484 * gdb.base/infcall-exec.c: New file.
1485 * gdb.base/infcall-exec2.c: New file.
1486 * gdb.base/infcall-exec.exp: New file.
1487
a96e36da
KS
14882016-02-09 Keith Seitz <keiths@redhat.com>
1489
1490 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1491 (toplevel): Call test_bkpt_address.
1492
9f61929f
KS
14932016-02-09 Keith Seitz <keiths@redhat.com>
1494
1495 PR python/19506
1496 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1497 (toplevel): Call test_bkpt_address.
1498
1e94266c
SM
14992016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1500
1501 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1502 to AC_OUTPUT.
1503 * configure: Regenerate.
1504
2a7f3dff
PA
15052016-02-09 Pedro Alves <palves@redhat.com>
1506
1507 PR breakpoints/19548
1508 * gdb.base/execl-update-breakpoints.c (some_function): New
1509 function.
1510 (main): Call it.
1511 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1512 Tighten expected GDB output.
1513
2151ccc5
SM
15142016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1515
1516 * Makefile.in (ALL_SUBDIRS): Remove.
1517 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1518 (distclean maintainer-clean realclean): Likewise.
1519 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1520 * configure: Regenerate.
1521 * gdb.ada/Makefile.in: Delete.
1522 * gdb.arch/Makefile.in: Likewise.
1523 * gdb.asm/Makefile.in: Likewise.
1524 * gdb.base/Makefile.in: Likewise.
1525 * gdb.btrace/Makefile.in: Likewise.
1526 * gdb.cell/Makefile.in: Likewise.
1527 * gdb.compile/Makefile.in: Likewise.
1528 * gdb.cp/Makefile.in: Likewise.
1529 * gdb.disasm/Makefile.in: Likewise.
1530 * gdb.dlang/Makefile.in: Likewise.
1531 * gdb.dwarf2/Makefile.in: Likewise.
1532 * gdb.fortran/Makefile.in: Likewise.
1533 * gdb.gdb/Makefile.in: Likewise.
1534 * gdb.go/Makefile.in: Likewise.
1535 * gdb.guile/Makefile.in: Likewise.
1536 * gdb.java/Makefile.in: Likewise.
1537 * gdb.linespec/Makefile.in: Likewise.
1538 * gdb.mi/Makefile.in: Likewise.
1539 * gdb.modula2/Makefile.in: Likewise.
1540 * gdb.multi/Makefile.in: Likewise.
1541 * gdb.objc/Makefile.in: Likewise.
1542 * gdb.opencl/Makefile.in: Likewise.
1543 * gdb.opt/Makefile.in: Likewise.
1544 * gdb.pascal/Makefile.in: Likewise.
1545 * gdb.perf/Makefile.in: Likewise.
1546 * gdb.python/Makefile.in: Likewise.
1547 * gdb.reverse/Makefile.in: Likewise.
1548 * gdb.server/Makefile.in: Likewise.
1549 * gdb.stabs/Makefile.in: Likewise.
1550 * gdb.threads/Makefile.in: Likewise.
1551 * gdb.trace/Makefile.in: Likewise.
1552 * gdb.xml/Makefile.in: Likewise.
1553 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1554 GDB_PARALLEL.
1555 (standard_output_file): Remove check for GDB_PARALLEL, always
1556 return path in outputs/$subdir/$testname.
1557
437277d4
SM
15582016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1559
1560 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1561 (site.exp): Assign abs_srcdir to tcl's srcdir.
1562
31d913c7
YQ
15632016-02-04 Yao Qi <yao.qi@linaro.org>
1564
1565 * gdb.base/foll-exec-mode.c: Include limits.h.
1566 (main): Add parameters argc and argv. Get directory from
1567 argv[0].
1568 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1569 compilation.
1570 * gdb.base/foll-exec.c: Include limits.h.
1571 (main): Add parameters argc and argv.
1572 Get directory from argv[0].
1573 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1574 Adjust tests on the number of lines as source code changed.
1575 * gdb.base/foll-vfork-exit.c: Include limits.h.
1576 (main): Add one line of statement before vfork.
1577 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1578 (main): Add parameters argc and argv. Get directory from
1579 argv[0].
1580 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1581 (setup_gdb): Set tbreak to skip some source lines.
1582 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1583 (main): Add parameters argc and argv. Get directory from
1584 argv[0].
1585 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1586 compilation.
1587 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1588 (main): Add parameters argc and argv. Get directory from
1589 argv[0].
1590 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1591 compilation.
1592
9482b9fb
DE
15932016-02-01 Doug Evans <dje@google.com>
1594
1595 * gdb.base/skip.exp: Clean up multiple references to same test name.
1596
6b2e4f10
PA
15972016-02-01 Pedro Alves <palves@redhat.com>
1598
ccb6afd6 1599 PR remote/19496
6b2e4f10
PA
1600 * gdb.threads/forking-threads-plus-breakpoint.exp
1601 (displaced_stepping_supported): New global.
1602 (probe_displaced_stepping_support): New procedure.
1603 (do_test): Add 'displaced' parameter, and use it.
1604 (top level): Check for displaced stepping support. Add displaced
1605 stepping on/off testing axis.
1606
37a8db1a
AB
16072016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1608
1609 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1610 pointer. Don't perform further tests on the unassociated pointer
1611 if the first test fails.
1612
5fdf6324
AB
16132016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1614
1615 * gdb.base/max-value-size.c: New file.
1616 * gdb.base/max-value-size.exp: New file.
1617 * gdb.base/huge.exp: Disable max-value-size for this test.
1618
935c6144
IB
16192016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1620
1621 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1622
7fe8399d
YQ
16232016-01-28 Yao Qi <yao.qi@linaro.org>
1624
1625 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1626
a2077e25
PA
16272016-01-25 Pedro Alves <palves@redhat.com>
1628
1629 PR threads/19461
1630 * gdb.base/fork-running-state.c: New file.
1631 * gdb.base/fork-running-state.exp: New file.
1632
1d2736d4
PA
16332016-01-25 Pedro Alves <palves@redhat.com>
1634
1635 PR gdb/19494
1636 * gdb.base/catch-fork-kill.c: New file.
1637 * gdb.base/catch-fork-kill.exp: New file.
1638
f1da4b11
PA
16392016-01-25 Pedro Alves <palves@redhat.com>
1640
1641 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1642 Delete, moved to lib/gdb.exp.
1643 * gdb.threads/forking-threads-plus-breakpoint.exp
1644 (foreach_with_prefix): Likewise.
1645 * gdb.threads/process-dies-while-handling-bp.exp
1646 (foreach_with_prefix): Likewise.
1647 * lib/gdb.exp (foreach_with_prefix): New procedure.
1648
45f38546
MK
16492016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1650
1651 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1652 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1653
dc29a1ce
MK
16542016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1655
1656 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1657 endian targets.
1658
092127d7
JK
16592016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1660 Pedro Alves <palves@redhat.com>
1661
1662 Fix testsuite compatibility with Guile.
1663 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1664 number.
1665
31d765d3
JK
16662016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1667
1668 Fix testsuite compatibility with Guile.
1669 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1670 (thread 1): New test for backtrace through signal handler.
1671
1ac78c04
YQ
16722016-01-22 Yao Qi <yao.qi@linaro.org>
1673
1674 PR testsuite/19491
1675 * gdb.base/multi-forks.c: Include
1676 ../lib/unbuffer_output.c
1677 (main): Call gdb_unbuffer_output.
1678
4f5946a8
DE
16792016-01-21 Doug Evans <dje@google.com>
1680
1681 * lib/ada.exp (gdb_compile_ada): Fix typo.
1682
305e13e6
JB
16832016-01-21 Joel Brobecker <brobecker@adacore.com>
1684
1685 * gdb.base/break-fun-addr.exp: New file.
1686 * gdb.base/break-fun-addr1.c: New file.
1687 * gdb.base/break-fun-addr2.c: New file.
1688
5f5dfff6
SM
16892016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1690
1691 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1692 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1693 enum flag values.
1694
fd356fa2
AA
16952016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1696
1697 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1698 when GDB can not set the vector return value. Add more comments
1699 for clarification.
1700
9df22175
AT
17012016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1702
1703 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1704 command.
1705
41d1845e
SM
17062016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1707
1708 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1709
01ac6840
SM
17102016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1711
1712 * Makefile.in (check-single): Pass --status to runtest.
1713 (check/%.exp): Likewise.
1714
17152016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1716
1717 * Makefile.in (check-parallel): Propagate return code from make
1718 do-check-parallel.
1719
bd0a71fa
MK
17202016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1721
1722 * gdb.trace/ftrace.exp: Fix expected message on continue.
1723 * gdb.trace/pending.exp: Fix expected message on continue.
1724 * gdb.trace/trace-break.exp: Fix expected message on continue.
1725
8bcbad33
SM
17262016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1727
1728 * lib/gdb.exp (gdb_test): Remove unused global references.
1729
f303dbd6
PA
17302016-01-18 Pedro Alves <palves@redhat.com>
1731
1732 * gdb.base/async-shell.exp: Adjust expected output.
1733 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1734 * gdb.base/siginfo-thread.exp: Adjust expected output.
1735 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1736 * gdb.java/jnpe.exp: Adjust expected output.
1737 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1738 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1739 * gdb.threads/leader-exit.exp: Adjust expected output.
1740 * gdb.threads/manythreads.exp: Adjust expected output.
1741 * gdb.threads/pthreads.exp: Adjust expected output.
1742 * gdb.threads/schedlock.exp: Adjust expected output.
1743 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1744 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1745 expected output.
1746 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1747 output.
1748 * gdb.threads/sigthread.exp: Adjust expected output.
1749 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1750
b2789696
YQ
17512016-01-18 Yao Qi <yao.qi@linaro.org>
1752
1753 * gdb.guile/scm-section-script.c: Replace @progbits with
1754 %progbits.
1755 * gdb.python/py-section-script.c: Likewise.
1756
71ef29a8
PA
17572016-01-15 Pedro Alves <palves@redhat.com>
1758
1759 * gdb.multi/tids.exp: Test star wildcard ranges.
1760
3f5b7598
PA
17612016-01-15 Pedro Alves <palves@redhat.com>
1762
1763 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1764 command from "thread apply" invocation.
1765 (thr_apply_info_thr_invalid): Default the expected output to the
1766 input tid list.
1767 (top level): Add tests that use convenience variables. Add tests
1768 for "thread apply" with a valid TID list, but missing the command.
1769
663f6d42
PA
17702016-01-13 Pedro Alves <palves@redhat.com>
1771
1772 * gdb.base/default.exp: Expect $_gthread as well.
1773 * gdb.multi/tids.exp: Test $_gthread.
1774 * gdb.threads/thread-specific.exp: Test $_gthread.
1775
c84f6bbf
PA
17762016-01-13 Pedro Alves <palves@redhat.com>
1777
1778 * gdb.multi/tids.exp: Test "info threads -gid".
1779
22a02324
PA
17802016-01-13 Pedro Alves <palves@redhat.com>
1781
1782 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1783 Breakpoint.thread.
1784 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1785
5d5658a1
PA
17862016-01-07 Pedro Alves <palves@redhat.com>
1787
1788 * gdb.base/break.exp: Adjust to output changes.
1789 * gdb.base/hbreak2.exp: Likewise.
1790 * gdb.base/sepdebug.exp: Likewise.
1791 * gdb.base/watch_thread_num.exp: Likewise.
1792 * gdb.linespec/keywords.exp: Likewise.
1793 * gdb.multi/info-threads.exp: Likewise.
1794 * gdb.threads/thread-find.exp: Likewise.
1795 * gdb.multi/tids.c: New file.
1796 * gdb.multi/tids.exp: New file.
1797
84654457
PA
17982016-01-13 Pedro Alves <palves@redhat.com>
1799
1800 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1801
e3940304
PA
18022016-01-13 Pedro Alves <palves@redhat.com>
1803
1804 * gdb.base/default.exp: Expect $_inferior as well.
1805 * gdb.multi/base.exp: Test $_inferior.
1806
a911d87a
PA
18072016-01-13 Pedro Alves <palves@redhat.com>
1808
1809 PR breakpoints/19388
1810 * gdb.base/catch-signal-siginfo-cond.c: New file.
1811 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1812
82075af2
JS
18132016-01-12 Josh Stone <jistone@redhat.com>
1814 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1815
1816 * gdb.base/catch-syscall.c (do_execve): New variable.
1817 (main): Conditionally trigger an execve.
1818 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1819 (test_catch_syscall_execve): New, check entry/return across execve.
1820 (do_syscall_tests): Call test_catch_syscall_execve.
1821
e46eeedd
PA
18222016-01-12 Pedro Alves <palves@redhat.com>
1823
1824 * gdb.base/random-signal.exp (do_test): New procedure, with body
1825 of testcase moved in.
1826
01d8c27e
JK
18272016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1828 Pedro Alves <palves@redhat.com>
1829
1830 * gdb.base/funcargs.exp (finish from indirectly called function):
1831 Reintroduce the case for 'First'.
1832
9a706302
JK
18332016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1834 Pedro Alves <palves@redhat.com>
1835
1836 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1837 (tcatch_vfork_then_child_follow_exec)
1838 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1839 identification.
1840
c0ecb95f
JK
18412016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1842
1843 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1844 and repeats to unlimited.
1845 * gdb.python/py-value.exp: Likewise.
1846 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1847 and repeats to unlimited.
1848
6cfc1fcb
JK
18492016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1850
1851 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1852 and reordering the functions.
1853 * gdb.multi/hangout.c: Likewise.
1854 * gdb.multi/hello.c: Likewise.
1855
582a1b00
SM
18562016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1857
1858 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1859 absolute.
1860 (SingleStatisticTestResult.report): Use dict.keys instead of
1861 dict.iterkeys.
1862
79bc59cb
PA
18632016-01-06 Pedro Alves <palves@redhat.com>
1864
1865 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1866
43368e1d
MM
18672016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1868
1869 * gdb.btrace/dlopen.exp: New.
1870 * gdb.btrace/dlopen.c: New.
1871 * gdb.btrace/dlopen-dso.c: New.
1872
79fad5b8
SL
18732015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1874
1875 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1876 PATTERN argument is optional.
1877
ab8314b3
JB
18782015-12-24 Joel Brobecker <brobecker@adacore.com>
1879
1880 * lib/ada.exp (target_compile_ada_from_dir): New function.
1881 (gdb_compile_ada): Reimplement avoiding the use of project files.
1882 * gdb.ada/gnat_ada.gpr: Delete.
1883 * gdb.ada/cond_lang.exp: Adjust test to make path before
1884 filename optional.
1885 * gdb.ada/small_reg_param.exp: Likewise.
1886
fe33faff
SM
18872015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1888
1889 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1890
6d265cb4
TP
18912015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1892
1893 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1894 case.
1895
10125099
SM
18962015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1897
1898 * gdb.base/break.exp: Remove dead code.
1899 * gdb.base/sepdebug.exp: Likewise.
1900
3ca22649
SM
19012015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1902
1903 * gdb.asm/asm-source.exp: Remove HP-UX references.
1904 * gdb.base/annota1.exp: Likewise.
1905 * gdb.base/annota3.exp: Likewise.
1906 * gdb.base/attach.exp: Likewise.
1907 * gdb.base/bigcore.exp: Likewise.
1908 * gdb.base/break.exp: Likewise.
1909 * gdb.base/call-ar-st.exp: Likewise.
1910 * gdb.base/callfuncs.exp: Likewise.
1911 * gdb.base/catch-fork-static.exp: Likewise.
1912 * gdb.base/display.exp: Likewise.
1913 * gdb.base/foll-exec-mode.exp: Likewise.
1914 * gdb.base/foll-exec.exp: Likewise.
1915 * gdb.base/foll-fork.exp: Likewise.
1916 * gdb.base/foll-vfork.exp: Likewise.
1917 * gdb.base/funcargs.exp: Likewise.
1918 * gdb.base/hbreak2.exp: Likewise.
1919 * gdb.base/inferior-died.exp: Likewise.
1920 * gdb.base/interrupt.exp: Likewise.
1921 * gdb.base/multi-forks.exp: Likewise.
1922 * gdb.base/nodebug.exp: Likewise.
1923 * gdb.base/sepdebug.exp: Likewise.
1924 * gdb.base/solib1.c: Likewise.
1925 * gdb.base/step-test.exp: Likewise.
1926 * gdb.mi/non-stop.c: Likewise.
1927 * gdb.mi/pthreads.c: Likewise.
1928 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1929 * gdb.threads/pthreads.c: Likewise.
1930 * gdb.threads/staticthreads.exp: Likewise.
1931 * lib/future.exp: Likewise.
1932 * lib/gdb.exp: Likewise.
1933 * gdb.base/so-indr-cl.c: Remove.
1934 * gdb.base/so-indr-cl.exp: Likewise.
1935 * gdb.base/solib.c: Likewise.
1936 * gdb.base/solib.exp: Likewise.
1937 * gdb.base/solib2.c: Likewise.
1938
b6304613
SM
19392015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1940
1941 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1942 * gdb.base/call-ar-st.exp: Likewise.
1943 * gdb.base/callfuncs.exp: Likewise.
1944 * gdb.base/condbreak.exp: Likewise.
1945 * gdb.base/constvars.exp: Likewise.
1946 * gdb.base/hbreak2.exp: Likewise.
1947 * gdb.base/langs.exp: Likewise.
1948 * gdb.base/list.exp: Likewise.
1949 * gdb.base/long_long.exp: Likewise.
1950 * gdb.base/ptype.exp: Likewise.
1951 * gdb.base/scope.exp: Likewise.
1952 * gdb.base/signals.exp: Likewise.
1953 * gdb.base/so-impl-ld.exp: Likewise.
1954 * gdb.base/varargs.exp: Likewise.
1955 * gdb.base/volatile.exp: Likewise.
1956 * gdb.base/whatis.exp: Likewise.
1957 * gdb.cp/cplusfuncs.exp: Likewise.
1958 * gdb.cp/inherit.exp: Likewise.
1959 * gdb.cp/local.exp: Likewise.
1960 * gdb.cp/member-ptr.exp: Likewise.
1961 * gdb.cp/method.exp: Likewise.
1962 * gdb.cp/overload.exp: Likewise.
1963 * gdb.cp/templates.exp: Likewise.
1964 * gdb.stabs/weird.exp: Likewise.
1965 * lib/compiler.c: Likewise.
1966 * lib/compiler.cc: Likewise.
1967 * lib/cp-support.exp: Likewise.
1968 * lib/gdb.exp: Likewise.
1969
bf401b07
SM
19702015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1971
1972 * configure.ac: Remove HP-UX case.
1973 * configure: Regenerate.
1974
aff9c0f8
SM
19752015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1976
1977 * lib/gdb.exp (gdb_compile): Add function doc.
1978
a6904d5a
PA
19792015-12-17 Pedro Alves <palves@redhat.com>
1980
1981 PR threads/19354
1982 * gdb.multi/info-threads.exp: New file.
1983
a22279dd
YQ
19842015-12-15 Yao Qi <yao.qi@linaro.org>
1985
1986 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1987 is aarch64*-*-*.
1988
0588c796
SL
19892015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1990
1991 * gdb.base/history-duplicates.exp: Skip if no readline support.
1992
5d978e17
SL
19932015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1994
1995 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1996
7e763b86
SL
19972015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1998
1999 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
2000
87a3a92c
SL
20012015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2002
2003 * gdb.base/completion.exp: Skip tests that interrupt GDB with
2004 ctrl-C if nointerrupts target property is set.
2005 * gdb.base/double-prompt-target-event-error.exp: Likewise.
2006 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
2007 * gdb.base/paginate-bg-execution.exp: Likewise.
2008 * gdb.base/paginate-execution-startup.exp: Likewise.
2009 * gdb.base/random-signal.exp: Likewise.
2010 * gdb.base/range-stepping.exp: Likewise.
2011 * gdb.cp/annota2.exp: Likewise.
2012 * gdb.cp/annota3.exp: Likewise.
2013 * gdb.gdb/selftest.exp: Likewise.
2014 * gdb.threads/continue-pending-status.exp: Likewise.
2015 * gdb.threads/leader-exit.exp: Likewise.
2016 * gdb.threads/manythreads.exp: Likewise.
2017 * gdb.threads/pthreads.exp: Likewise.
2018 * gdb.threads/schedlock.exp: Likewise.
2019 * gdb.threads/sigthread.exp: Likewise.
2020
a8f077dc
DB
20212015-12-11 Don Breazeal <donb@codesourcery.com>
2022
2023 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2024 remote.
2025 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2026 * gdb.base/foll-exec.exp (main): Enable for target remote.
2027 * gdb.base/foll-fork.exp (main): Likewise.
2028 * gdb.base/foll-vfork.exp (main): Likewise.
2029 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2030 (proc continue_to_exit_bp_loc): Use clean_restart.
2031 * gdb.base/pie-execl.exp (main): Disable for target remote.
2032 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2033 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2034 * gdb.threads/execl.exp (main): Likewise.
2035 * gdb.threads/fork-child-threads.exp (main): Likewise.
2036 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2037 remote.
2038 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2039 remote.
2040 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2041 pid.tid style ptids, instead of just tid.
2042 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2043 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2044 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2045 ptids, instead of just tid.
2046
3b2464a8
AB
20472015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2048
2049 * gdb.base/list.exp (test_list_forward): Add end of file error
2050 test.
2051 (test_repeat_list_command): Add end of file error test.
2052 (test_list_backwards): Add beginning of file error test.
2053
a0def019
AB
20542015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2055
2056 * gdb.base/list.exp (test_list_invalid_args): New function,
2057 defined, and called.
2058
5c000dff
AB
20592015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2060
2061 * gdb.base/list.exp (test_list): Make test names unique.
2062
f1637ebe
YQ
20632015-12-11 Yao Qi <yao.qi@linaro.org>
2064
2065 * gdb.base/coremaker2.c: Remove.
2066
36d6fc0a
PA
20672015-12-10 Pedro Alves <palves@redhat.com>
2068
2069 * gdb.multi/base.exp: Remove stale "spaces" references.
2070
762f7747
PA
20712015-12-10 Pedro Alves <palves@redhat.com>
2072
2073 * gdb.multi/base.exp: Don't use nowarnings.
2074 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2075 * gdb.multi/hangout.c: Include stdio.h.
2076 * gdb.multi/hello.c: Include stdlib.h.
2077 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2078 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2079 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2080
28d2bfb9
AB
20812015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2082
2083 * gdb.dwarf2/dw2-ranges-base.c: New file.
2084 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2085 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2086 support additional line table, and debug ranges generation.
2087 (Dwarf::ranges): New function, generate .debug_ranges.
2088 (Dwarf::lines): Support generating simple line table programs.
2089 (Dwarf::assemble): Initialise new namespace variables.
2090
5fc2beac
KB
20912015-12-09 Kevin Buettner <kevinb@redhat.com>
2092
2093 * gdb.base/async.exp (proc test_background): Add case for
2094 asynchronous execution not supported.
2095
1c35a88f
LM
20962015-12-09 Luis Machado <lgustavo@codesourcery.com>
2097
2098 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2099 format and change test names to make them unique.
2100
b593e3d9
RK
21012015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2102 Pedro Alves <pedro@redhat.com>
2103
2104 PR gdb/18702
2105 Add checking of floatformats setup on x86_64 hosts.
2106 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2107 (smallval, bigval): New labels/constants.
2108 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2109 float" after loading bigval and smallval.
2110
d72413e6
PMR
21112015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2112
2113 * gdb.ada/fun_overload_menu.exp: New testcase.
2114 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2115
ece66d65
JS
21162015-12-04 Josh Stone <jistone@redhat.com>
2117
2118 * gdb.base/catch-fork-static.exp: New.
2119
41d0efca
YQ
21202015-12-03 Yao Qi <yao.qi@linaro.org>
2121
2122 * gdb.base/sizeof.c: Don't include stdio.h and
2123 ../lib/unbuffer_output.c.
2124 (main): New variable 'size' and 'value'. Remove printf and
2125 gdb_unbuffer_output. Assign return value to size and value.
2126 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2127 at the beginning.
2128 (check_sizeof): Check the result by printing variable 'size'.
2129 (check_valueof): Check the result by printing variable 'value'.
2130
99fd02d9
YQ
21312015-12-01 Yao Qi <yao.qi@linaro.org>
2132
2133 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2134 for aarch64*-*-linux* target.
2135
f2faf941
PA
21362015-11-30 Pedro Alves <palves@redhat.com>
2137
2138 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2139
04bf20c5
PA
21402015-11-30 Pedro Alves <palves@redhat.com>
2141
2142 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2143 Handle non-stop mode vCont replies.
2144
09df4675
PA
21452015-11-30 Pedro Alves <palves@redhat.com>
2146
2147 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2148 prepare_for_testing. Start gdb with "set non-stop on" appended to
2149 GDBFLAGS. Lax expected stop output.
2150
58b584af
YQ
21512015-11-27 Yao Qi <yao.qi@linaro.org>
2152
2153 * gdb.arch/arm-neon.exp: New.
2154 * gdb.arch/arm-neon.c: New.
2155
dfcb77a8
YQ
21562015-11-27 Yao Qi <yao.qi@linaro.org>
2157
2158 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2159
88e8ec1b
YQ
21602015-11-27 Yao Qi <yao.qi@linaro.org>
2161
2162 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2163 frames-invalid annotation.
2164
bfde72c2
YQ
21652015-11-27 Yao Qi <yao.qi@linaro.org>
2166
2167 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2168
f6512a69
SM
21692015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2170
2171 * gdb.threads/names.exp: New file.
2172 * gdb.threads/names.c: New file.
2173 * README: Mention gdb,no_thread_names.
2174
46a3515b
MM
21752015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2176
2177 PR 19297
2178 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2179 support" error.
2180
62147a22
PA
21812015-11-24 Pedro Alves <palves@redhat.com>
2182
2183 PR 17539
2184 * gdb.base/display.exp: Expect displays to be sorted in ascending
2185 order. Use multi_line.
2186 * gdb.base/solib-display.exp: Likewise.
2187
2f341b6e
PA
21882015-11-24 Pedro Alves <palves@redhat.com>
2189
2190 PR 17539
25d49b86
PA
2191 * gdb.base/display.exp: Expect displays to be sorted in ascending
2192 order. Use multi_line.
2193 * gdb.base/solib-display.exp: Likewise.
2f341b6e 2194
7e0aa6aa
PA
21952015-11-24 Pedro Alves <palves@redhat.com>
2196
2197 PR 17539
2198 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2199 threads in ascending order.
2200 * gdb.base/foll-fork.exp: Likewise.
2201 * gdb.base/foll-vfork.exp: Likewise.
2202 * gdb.base/multi-forks.exp: Likewise.
2203 * gdb.mi/mi-nonstop.exp: Likewise.
2204 * gdb.mi/mi-nsintrall.exp: Likewise.
2205 * gdb.multi/base.exp: Likewise.
2206 * gdb.multi/multi-arch.exp: Likewise.
2207 * gdb.python/py-inferior.exp: Likewise.
2208 * gdb.threads/break-while-running.exp: Likewise.
2209 * gdb.threads/execl.exp: Likewise.
2210 * gdb.threads/gcore-thread.exp: Likewise.
2211 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2212 * gdb.threads/kill.exp: Likewise.
2213 * gdb.threads/linux-dp.exp: Likewise.
2214 * gdb.threads/multiple-step-overs.exp: Likewise.
2215 * gdb.threads/next-bp-other-thread.exp: Likewise.
2216 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2217 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2218 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2219 * gdb.threads/thread-find.exp: Likewise.
2220 * gdb.threads/tls.exp: Likewise.
2221 * lib/mi-support.exp (mi_reverse_list): Delete.
2222 (mi_check_thread_states): No longer reverse list.
2223
2cc57ad8
PA
22242015-11-24 Pedro Alves <palves@redhat.com>
2225
2226 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2227 use lowercase.
2228
c93e8391
SM
22292015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2230
2231 * gdb.trace/actions.c: Include trace-common.h.
2232 (main): Add a location for a fast tracepoint.
2233 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2234 the normal tracepoints.
2235 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2236
045ccf91
SM
22372015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2238
2239 * save-trace.exp: Factor out code to these...
2240 (gdb_save_tracepoints): New.
2241 (gdb_load_tracepoints): New.
2242 (do_save_load_test): New.
2243
5506f9f6
KB
22442015-11-23 Kevin Buettner <kevinb@redhat.com>
2245
2246 * gdb.base/asmlabel.exp: New test.
2247 * gdb.base/asmlabel.c: New test case.
2248
16c3b12f
JB
22492015-11-23 Joel Brobecker <brobecker@adacore.com>
2250
2251 * gdb.base/wrong_frame_bt_full-main.c: New file.
2252 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2253 * gdb.base/wrong_frame_bt_full.exp: New file.
2254
155bfbd3
JB
22552015-11-23 Joel Brobecker <brobecker@adacore.com>
2256
2257 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2258
bb097445
JM
22592015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2260
206853a0 2261 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
2262 pstate register when comparing registers values in
2263 sparc64-*-linux-gnu targets to avoid spurious differences.
2264
9c88ed8f
JM
22652015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2266
206853a0 2267 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 2268
96161e25
SL
22692015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2270
2271 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2272 as type argument to gdb_compile.
2273 * gdb.base/nested-subp2.exp: Likewise.
2274 * gdb.base/nested-subp3.exp: Likewise.
2275
340c2830
DV
22762015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2277
2278 * lib/dwarf.exp (_note): Fix left shift of negative value.
2279 * gdb.trace/trace-condition.exp: Likewise.
2280
c1862d0f
YQ
22812015-11-13 Yao Qi <yao.qi@linaro.org>
2282
2283 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2284 comments about d10v.
2285 (test_scalar_returns): Likewise.
2286 * gdb.base/d10v.ld: Remove.
2287 * gdb.base/overlays.exp: Remove the target triplet checking for
2288 d10v-*-*.
2289 * gdb.base/structs.exp (test_struct_returns): Remove the
2290 comments about d10v.
2291 (test_struct_calls): Likewise.
2292
77ae9c19
YQ
22932015-11-13 Yao Qi <yao.qi@linaro.org>
2294
2295 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2296 * gdb.base/gnu_vector.c: Don't include stdio.h.
2297 (main): Don't print res and call add_some_intvecs.
2298
430e004e
MK
22992015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2300
2301 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2302 macro.
2303 (func5): Removed.
2304 (func4): Use FAST_TRACEPOINT_LABEL.
2305 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2306 macro.
2307 (func): Removed.
2308 (thread_function): Use FAST_TRACEPOINT_LABEL.
2309 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2310 (func): Remove.
2311 (marker): Use FAST_TRACEPOINT_LABEL.
2312 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2313 (pendfunc1): Remove.
2314 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2315 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2316 (foo): Remove.
2317 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2318 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2319 macro.
2320 (func): Remove.
2321 (marker): Use FAST_TRACEPOINT_LABEL.
2322 * gdb.trace/trace-common.h: New header.
2323 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2324 macro.
2325 (func): Remove.
2326 (marker): Use FAST_TRACEPOINT_LABEL.
2327 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2328 (func): Remove.
2329 (thread_function): Use FAST_TRACEPOINT_LABEL.
2330
6e7675a7
MK
23312015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2332
2333 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2334 in front.
2335 * gdb.trace/change-loc.exp: Use global pcreg definition.
2336 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2337 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2338 in front.
2339 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2340 * gdb.trace/pending.exp: Likewise.
2341 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2342 * gdb.trace/trace-break.exp: Likewise.
2343 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2344 in front.
2345 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2346 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2347 in front.
2348 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2349
dddc0e16
JB
23502015-11-09 Joel Brobecker <brobecker@adacore.com>
2351
2352 * gdb.ada/fin_fun_out: New testcase.
2353
c6f0b406
KB
23542015-11-07 Kevin Buettner <kevinb@redhat.com>
2355
2356 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2357 value associated with DW_AT_byte_size.
2358 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2359 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2360 DW_AT_upper_bound.
2361
f01dcfd9
KB
23622015-11-07 Kevin Buettner <kevinb@redhat.com>
2363
2364 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2365 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2366 version.
2367 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2368 gdb.dwarf2/dw2-canonicalize-type.exp,
2369 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2370 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2371 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2372 provided by gdb_target_symbol_prefix_flags_asm.
2373 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2374 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2375 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2376 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2377 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2378 macros where needed). Use this macro for symbols which require
2379 the prefix provided by SYMBOL_PREFIX.
2380
2223449a
KB
23812015-11-05 Kevin Buettner <kevinb@redhat.com>
2382
2383 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2384 New procs.
2385 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2386 representing expressions, of more than one list element.
2387 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2388 to prepend linker symbol prefix to f.
2389 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2390 table_1 and table_2.
2391 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2392 Likewise, for f and g.
2393 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2394 for ptr.
2395 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2396 for main.
2397 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2398 table_1_ptr and table_2_ptr.
2399
6f2f1a3a
JK
24002015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2401 Joel Brobecker <brobecker@adacore.com>
2402
2403 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2404
566c56c9
MK
24052015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2406
2407 * gdb.reverse/s390-mvcle.c: New test.
2408 * gdb.reverse/s390-mvcle.exp: New file.
2409 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2410
d5f0636b
MK
24112015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2412
2413 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2414
7ad8b86c
MK
24152015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2416
2417 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2418 reaching marker2.
2419 * gdb.reverse/getresuid-reverse.exp: Likewise.
2420 * gdb.reverse/pipe-reverse.exp: Likewise.
2421 * gdb.reverse/readv-reverse.exp: Likewise.
2422 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2423 * gdb.reverse/time-reverse.exp: Likewise.
2424 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2425
4081c0f1
YQ
24262015-10-30 Yao Qi <yao.qi@linaro.org>
2427
2428 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2429 (empty_cycle): Remove.
2430 (main): Don't call empty_cycle. Don't use watch_count_done.
2431 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2432 empty_cycle. Rewrite the code counting HW watchpoints.
2433
452b4ba5
MK
24342015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2435
2436 * gdb.reverse/fstatat-reverse.c: New test.
2437 * gdb.reverse/fstatat-reverse.exp: New file.
2438 * gdb.reverse/getresuid-reverse.c: New test.
2439 * gdb.reverse/getresuid-reverse.exp: New file.
2440 * gdb.reverse/pipe-reverse.c: New test.
2441 * gdb.reverse/pipe-reverse.exp: New file.
2442 * gdb.reverse/readv-reverse.c: New test.
2443 * gdb.reverse/readv-reverse.exp: New file.
2444 * gdb.reverse/recvmsg-reverse.c: New test.
2445 * gdb.reverse/recvmsg-reverse.exp: New file.
2446 * gdb.reverse/time-reverse.c: New test.
2447 * gdb.reverse/time-reverse.exp: New file.
2448 * gdb.reverse/waitpid-reverse.c: New test.
2449 * gdb.reverse/waitpid-reverse.exp: New file.
2450
5e2e7507
JK
24512015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2452
2453 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2454
0fde2c53
DE
24552015-10-26 Doug Evans <dje@google.com>
2456
2457 PR symtab/17391
2458 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2459 * gdb.dwarf2/bad-regnum.c: New file.
2460 * gdb.dwarf2/bad-regnum.exp: New file.
2461
1a70ae97
DE
24622015-10-26 Doug Evans <dje@google.com>
2463
2464 PR python/18938
2465 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2466 file.
2467
27dc26ab
JK
24682015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2469
2470 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2471 for a change by "Mention language in compile error message".
2472
bed91f4d
SM
24732015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2474
2475 PR python/18073
2476 * gdb.python/py-type.c (C::a_method): New.
2477 (C::a_const_method): New.
2478 (C::a_static_method): New.
2479 (a_function): New.
2480 * gdb.python/py-type.exp (test_fields): Test getting fields
2481 from function and method.
2482
3f2f83dd
KB
24832015-10-21 Keven Boell <keven.boell@intel.com>
2484
2485 * gdb.fortran/vla-alloc-assoc.exp: New file.
2486 * gdb.fortran/vla-datatypes.exp: New file.
2487 * gdb.fortran/vla-datatypes.f90: New file.
2488 * gdb.fortran/vla-history.exp: New file.
2489 * gdb.fortran/vla-ptype-sub.exp: New file.
2490 * gdb.fortran/vla-ptype.exp: New file.
2491 * gdb.fortran/vla-sizeof.exp: New file.
2492 * gdb.fortran/vla-sub.f90: New file.
2493 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2494 * gdb.fortran/vla-value-sub-finish.exp: New file.
2495 * gdb.fortran/vla-value-sub.exp: New file.
2496 * gdb.fortran/vla-value.exp: New file.
2497 * gdb.fortran/vla-ptr-info.exp: New file.
2498 * gdb.mi/mi-vla-fortran.exp: New file.
2499 * gdb.mi/vla.f90: New file.
2500
27145d50
SL
25012015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2502
2503 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2504 of hardwired timeout value.
2505
5f3ff4f8
JK
25062015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2507 Pedro Alves <palves@redhat.com>
2508
2509 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2510 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2511
bfd09d20
JS
25122015-10-19 Josh Stone <jistone@redhat.com>
2513
2514 * gdb.base/catch-syscall.c: Include <sched.h>.
2515 (unknown_syscall): New variable.
2516 (main): Trigger a vfork and an unknown syscall.
2517 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2518 (unknown_syscall_number): Likewise.
2519 (check_call_to_syscall): Accept an optional syscall pattern.
2520 (check_return_from_syscall): Likewise.
2521 (check_continue): Likewise.
2522 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2523 (test_catch_syscall_skipping_return): New test toggling off 'catch
2524 syscall' to step over the syscall return, then toggling back on.
2525 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2526 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2527 (do_syscall_tests): Call test_catch_syscall_without_args and
2528 test_catch_syscall_mid_vfork.
2529 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2530 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2531
b32b93c6
AS
25322015-10-19 Andrew Stubbs <ams@codesourcery.com>
2533
2534 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2535 print g_vE): Add new pass patterns.
2536 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2537 print various symbol names for vptr fields.
2538
9d622bda
AB
25392015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2540
2541 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2542 results.
2543
0fd8ac1c
YQ
25442015-10-12 Yao Qi <yao.qi@linaro.org>
2545
2546 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2547
34240514
YQ
25482015-10-12 Yao Qi <yao.qi@linaro.org>
2549
2550 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2551 is aarch64*-*-linux*.
2552
8240f442
YQ
25532015-10-12 Yao Qi <yao.qi@linaro.org>
2554
2555 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2556 (can_relocate_bcond_true): ... it.
2557 (can_relocate_bcond_false): New function.
2558 (foo): Likewise.
2559 (can_relocate_bl): Likewise.
2560 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2561 can_relocate_bl.
2562
2520f728
PMR
25632015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2564
2565 * gdb.base/nested-addr.c: New file.
2566 * gdb.base/nested-addr.exp: New testcase.
2567
abcef95a
MM
25682015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2569
2570 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2571 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2572 its output. Ignore the output of "record goto begin" and instead
2573 check that GDB is replaying.
2574
145e3ddb
PA
25752015-10-09 Pedro Alves <palves@redhat.com>
2576
2577 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2578 (top level): Use it in the run with no args test.
2579
d5d8c4e1
IB
25802015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2581
2582 * gdb.dlang/properties.exp: New file.
2583
06e635ef
SL
25842015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2585
2586 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2587 whether or not address 0x1000 is mapped on the target.
2588
e019fd1d
SM
25892015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2590
2591 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2592 build.
2593
77ba2a67
MM
25942015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2595
2596 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2597 instruction-history test.
2598
c60eb31f
DE
25992015-09-28 Doug Evans <dje@google.com>
2600
2601 * gdb.base/gcore.c (array_func): Add reference to static_array.
2602
9a3c8263
SM
26032015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2604
2605 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2606 source line.
2607
9720e656
SL
26082015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2609
2610 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2611 short or char as base type.
2612
938d3bf2
SL
26132015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2614
2615 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2616 to allow any size enum.
2617
e6c2c623
PMR
26182015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2619
2620 * gdb.ada/array_ptr_renaming.exp: New testcase.
2621 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2622 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2623
06da0f77
PL
26242015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2625
2626 * gdb.trace/ftrace-lock.c: New file.
2627 * gdb.trace/ftrace-lock.exp: New file.
2628
4f51c22a
PL
26292015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2630
2631 * gdb.arch/insn-reloc.c: New file.
2632 * gdb.arch/ftrace-insn-reloc.exp: New file.
2633
7041adf4
PL
26342015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2635
2636 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2637 instruction.
2638 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2639 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2640 * gdb.trace/range-stepping.c: Likewise.
2641 * gdb.trace/trace-break.c: Likewise.
2642 * gdb.trace/trace-mt.c (thread_function): Likewise.
2643 * gdb.trace/ftrace.c (marker): Likewise.
2644 * gdb.trace/trace-condition.c (marker): Likewise.
2645 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2646 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2647 is_aarch64_target.
2648
015d2e7e
DE
26492015-09-18 Doug Evans <xdje42@gmail.com>
2650
2651 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2652 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2653
26b188a2
SL
26542015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2655
2656 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2657 the breakpoint.
2658
79dc332b
SL
26592015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2660
2661 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2662 the pending breakpoint. Remove timeout override for "Run till
2663 MI pending breakpoint on pendfunc3 on thread 2" test.
2664
f57929f2
SL
26652015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2666
2667 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2668 filename pattern.
2669
3f469b17
SL
26702015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2671
2672 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2673 in breakpoint filename pattern.
2674
515b89b3
SL
26752015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2676
7800dbe4
SL
2677 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2678
26792015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2680
515b89b3
SL
2681 * gdb.linespec/explicit.exp: Check for readline support for
2682 tab-completion tests. Fix obvious typo.
2683
d2939ba2
MM
26842015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2685
2686 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2687 and replay.
2688
cbb55fa7
MM
26892015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2690
2691 * gdb.btrace/non-stop.c: New.
2692 * gdb.btrace/non-stop.exp: New.
2693
43691ca1
PL
26942015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2695 Yao Qi <yao.qi@linaro.org>
2696
2697 * gdb.trace/trace-condition.c: New file.
2698 * gdb.trace/trace-condition.exp: New file.
2699
d78908cf
WW
27002015-09-16 Wei-cheng Wang <cole945@gmail.com>
2701
2702 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2703 for testing bytecode compilation.
2704
1ed415e2
PA
27052015-09-16 Pedro Alves <palves@redhat.com>
2706 Sandra Loosemore <sandra@codesourcery.com>
2707
2708 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2709 (SECONDS): Redefine.
2710 (main): Call pthread_kill and alarm early.
2711 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2712 support.
2713 (test): If the target can't hardware step and doesn't support
2714 displaced stepping, increase the timeout.
2715
d136eff5
PA
27162015-09-16 Pedro Alves <palves@redhat.com>
2717
2718 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2719 (enable_debug): New procedures.
2720 (test): Use them. Bail out if waiting for threads fails.
2721 (top level): Bail out if a test fails.
2722
991f019c
YQ
27232015-09-16 Yao Qi <yao.qi@linaro.org>
2724
2725 * gdb.asm/asm-source.exp: Set asm-arch for
2726 aarch64*-*-* target.
2727 * gdb.asm/aarch64.inc: New file.
2728
bfca584f
PMR
27292015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2730
2731 * gdb.ada/array_of_variable_length.exp: New testcase.
2732 * gdb.ada/array_of_variable_length/foo.adb: New file.
2733 * gdb.ada/array_of_variable_length/pck.adb: New file.
2734 * gdb.ada/array_of_variable_length/pck.ads: New file.
2735
b326e587
DE
27362015-09-15 Doug Evans <dje@google.com>
2737
2738 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2739 of function static local variable.
2740
5382cfab
PW
27412015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2742
2743 * gdb.threads/tls-so_extern.exp: New test file.
2744 * gdb.threads/tls-so_extern.c: New test file.
2745 * gdb.threads/tls-so_extern_main.c: New test file.
2746
141c5cc4
JK
27472015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2748
2749 * gdb.opt/solib-intra-step-lib.c: New file.
2750 * gdb.opt/solib-intra-step-main.c: New file.
2751 * gdb.opt/solib-intra-step.exp: New file.
2752
d15dcecd
PA
27532015-09-15 Pedro Alves <palves@redhat.com>
2754
2755 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2756 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2757
4c2f2a79
PA
27582015-09-14 Pedro Alves <palves@redhat.com>
2759
2760 * gdb.base/hook-stop-continue.c: Delete.
2761 * gdb.base/hook-stop-continue.exp: Delete.
2762 * gdb.base/hook-stop-frame.c: Delete.
2763 * gdb.base/hook-stop-frame.exp: Delete.
2764 * gdb.base/hook-stop.c: New file.
2765 * gdb.base/hook-stop.exp: New file.
2766
919e6dbe
PMR
27672015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2768
2769 * gdb.ada/access_to_packed_array.exp: New testcase.
2770 * gdb.ada/access_to_packed_array/foo.adb: New file.
2771 * gdb.ada/access_to_packed_array/pack.adb: New file.
2772 * gdb.ada/access_to_packed_array/pack.ads: New file.
2773
157280a4
MM
27742015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2775
2776 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2777 buffer size test.
2778
2fd33e94
DB
27792015-09-11 Don Breazeal <donb@codesourcery.com>
2780
2781 * gdb.base/foll-exec.c: Add copyright header. Fix
2782 formatting issues.
2783 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2784 (do_exec_tests): Use clean_restart in place of zap_session,
2785 and for test initialization. Fix formatting issues. Use
2786 fail in place of perror.
2787 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2788 an expect statement to match an expression with output from
2789 the program under debug.
2790 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2791 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2792 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2793 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2794 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2795
e70b6e8e
DE
27962015-09-09 Doug Evans <dje@google.com>
2797
2798 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2799
7a551a51
DE
28002015-09-09 Doug Evans <dje@google.com>
2801
2802 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2803
4c666f84
DE
28042015-09-09 Doug Evans <dje@google.com>
2805
2806 * gdb.base/savedregs.exp: Fix typo.
2807
243a9253
PA
28082015-09-09 Pedro Alves <palves@redhat.com>
2809
2810 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2811
c0fa8fbd
SL
28122015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2813
2814 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2815 command actually switches threads. Give up on remaining
2816 tests if target fails to stop at breakpoint.
2817
cd7c1778
PMR
28182015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2819
2820 * gdb.ada/funcall_char.exp: New testcase.
2821 * gdb.ada/funcall_char/foo.adb: New file.
2822
dc5c8746
PMR
28232015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2824
2825 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2826 expected outputs. Add two testcases for completing ambiguous
2827 functions.
2828 * gdb.ada/complete/aux_pck.adb: New file.
2829 * gdb.ada/complete/aux_pck.ads: New file.
2830 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2831 Ambiguous_Func functions.
2832 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2833 * gdb.ada/complete/pck.adb: Likewise.
2834
4e83a1e7
UW
28352015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2836
2837 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2838 failures to run the test program under GDB.
2839
8ce74153
LM
28402015-08-26 Luis Machado <lgustavo@codesourcery.com>
2841
2842 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2843 to C.
2844
e9756d52
PP
28452015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2846
2847 * gdb.base/run-after-attach.exp: New test file.
2848 * gdb.base/run-after-attach.c: New test file.
2849
8d37573b
DB
28502015-08-26 Don Breazeal <donb@codesourcery.com>
2851
2852 * gdb.base/foll-exec-2.c: New test program.
2853 * gdb.base/foll-exec-2.exp: New test.
2854
63e43d3a
PMR
28552015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2856
2857 * gdb.base/nested-subp1.exp: New file.
2858 * gdb.base/nested-subp1.c: New file.
2859 * gdb.base/nested-subp2.exp: New file.
2860 * gdb.base/nested-subp2.c: New file.
2861 * gdb.base/nested-subp3.exp: New file.
2862 * gdb.base/nested-subp3.c: New file.
2863
3d40fbb5
PA
28642015-08-24 Pedro Alves <palves@redhat.com>
2865
2866 * gdb.server/connect-without-multi-process.c: New file.
2867 * gdb.server/connect-without-multi-process.exp: New file.
2868
4422ac93
LM
28692015-08-24 Luis Machado <lgustavo@codesourcery.com>
2870
2871 * gdb.opt/inline-markers.c: Make z int.
2872
91dddb86
LM
28732015-08-24 Luis Machado <lgustavo@codesourcery.com>
2874
2875 * gdb.opt/inline-markers.c: Make z volatile.
2876
a48847ee
LM
28772015-08-24 Luis Machado <lgustavo@codesourcery.com>
2878
2879 * gdb.opt/inline-bt.c: New volatile global z.
2880 * gdb.opt/inline-cmds.c: Likewise.
2881 * gdb.opt/inline-locals.c: Likewise.
2882 * gdb.opt/inline-markers.c: New extern global z.
2883 (marker): Use z.
2884 (inline_fn): Likewise.
2885
0ebbc52b
PA
28862015-08-24 Pedro Alves <palves@redhat.com>
2887
2888 * config/m32r-stub.exp: Remove file.
2889 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2890 * gdb.base/call-rt-st.exp: Likewise.
2891 * gdb.base/call-strs.exp: Likewise.
2892 * gdb.base/default.exp: Remove references to h8300-*-hms and
2893 *-*-udi*.
2894 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2895
77c365df
AA
28962015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2897
2898 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2899 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2900 and "return" use KFAIL when GDB can not read/write the vector
2901 return value.
2902
4313b8c0
GB
29032015-08-21 Gary Benson <gbenson@redhat.com>
2904
2905 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2906
0e433b32
PA
29072015-08-20 Pedro Alves <palves@redhat.com>
2908
2909 * gdb.server/solib-list.exp: No longer expect an interior stop in
2910 non-stop mode.
2911
221e1a37
PA
29122015-08-20 Pedro Alves <palves@redhat.com>
2913
2914 * gdb.server/connect-stopped-target.c: New file.
2915 * gdb.server/connect-stopped-target.exp: New file.
2916
40e3ad0e
PA
29172015-08-20 Pedro Alves <palves@redhat.com>
2918
2919 * gdb.dwarf2/comp-unit-lang.exp: New file.
2920 * gdb.dwarf2/comp-unit-lang.c: New file.
2921
af39b327
PMR
29222015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2923
2924 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2925 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2926
7d45c7c3 29272015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 2928
7d45c7c3
KB
2929 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2930 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2931
4d6cceb4
DE
29322015-08-18 Doug Evans <dje@google.com>
2933 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2934
2935 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2936 skip_python_tests. New arg prompt_regexp.
2937 (skip_python_tests): New function.
2938 * lib/mi-support.exp (mi_skip_python_tests): New function.
2939 * gdb.python/py-mi-objfile-gdb.py: New file.
2940 * gdb.python/py-mi-objfile.c: New file.
2941 * gdb.python/py-mi-objfile.exp: New file.
2942
ad89c2aa
KS
29432015-08-17 Keith Seitz <keiths@redhat.com>
2944
2945 * gdb.linespec/explicit.exp: Move strace test from here ...
2946 * gdb.trace/strace.exp: ... to here.
2947
e3ae3c43
PP
29482015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2949
2950 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2951 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2952
604b2636
DE
29532015-08-14 Doug Evans <xdje42@gmail.com>
2954
2955 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2956 inferior before selecting a new file.
2957
6ff0ba5f
DE
29582015-08-14 Doug Evans <xdje42@gmail.com>
2959
2960 * gdb.mi/mi-disassemble.exp: Update.
2961 * gdb.base/disasm-optim.S: New file.
2962 * gdb.base/disasm-optim.c: New file.
2963 * gdb.base/disasm-optim.h: New file.
2964 * gdb.base/disasm-optim.exp: New file.
2965
9ca98f92
KS
29662015-08-14 Keith Seitz <keiths@redhat.com>
2967
2968 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2969 "evaluated-by".
2970
52bbc560
JB
29712015-08-13 Joel Brobecker <brobecker@adacore.com>
2972
2973 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2974
5d8c3ed3
PMR
29752015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2976
2977 * gdb.ada/fun_renaming.exp: New testcase.
2978 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2979 * gdb.ada/fun_renaming/pack.adb: New file.
2980 * gdb.ada/fun_renaming/pack.ads: New file.
2981
ea8812bc
KS
29822015-08-12 Keith Seitz <keiths@redhat.com>
2983
2984 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2985 gdb_get_line_number.
2986
4dafcdeb
JB
29872015-08-12 Joel Brobecker <brobecker@adacore.com>
2988
2989 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2990 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2991 gdb.base/dso2dso.exp: New files.
2992
5ba32597
SDJ
29932015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2994 Pedro Alves <palves@redhat.com>
2995 Keith Seitz <keiths@redhat.com>
2996
2997 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2998 GDBFLAGS.
2999
b6dafabf
PP
30002015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3001
3002 * gdb.base/gdbhistsize-history.exp
3003 (test_histsize_history_setting): Use save_vars.
3004 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3005 Use save_vars.
3006 (test_no_truncation_of_unlimited_history_file): Use save_vars.
3007 * gdb.base/readline.exp: Use save_vars.
3008
abe8e607
PP
30092015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3010
3011 * lib/gdb.exp (save_vars): New proc.
3012
629500fa
KS
30132015-08-11 Keith Seitz <keiths@redhat.com>
3014
3015 * gdb.base/help.exp: Update help_breakpoint_text.
3016
eb8c4e2e
KS
30172015-08-11 Keith Seitz <keiths@redhat.com>
3018
3019 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3020 (at toplevel): Call test_explicit_breakpoints.
3021 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3022 breakpoints.
3023 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3024 breakpoint conditions, "-cond".
3025
87f0e720
KS
30262015-08-11 Keith Seitz <keiths@redhat.com>
3027
3028 * gdb.linespec/3explicit.c: New file.
3029 * gdb.linespec/cpexplicit.cc: New file.
3030 * gdb.linespec/cpexplicit.exp: New file.
3031 * gdb.linespec/explicit.c: New file.
3032 * gdb.linespec/explicit.exp: New file.
3033 * gdb.linespec/explicit2.c: New file.
3034 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3035 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3036 before using in the matching pattern.
3037 Clarify that `prefix' is a regular expression.
3038
f00aae0f
KS
30392015-08-11 Keith Seitz <keiths@redhat.com>
3040
3041 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3042 test.
3043 Add tests for missing ",FMT" and ",".
3044
e27852be
DE
30452015-08-10 Doug Evans <dje@google.com>
3046 Keith Seitz <keiths@redhat.com>
3047
3048 PR gdb/17960
3049 * gdb.base/completion.exp: Add location completer tests.
3050
7f03bd92
PA
30512015-08-07 Pedro Alves <palves@redhat.com>
3052
3053 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3054 tests here.
3055 (top level): Run do_test with and without displaced stepping.
3056
3fc8eb30
PA
30572015-08-07 Pedro Alves <palves@redhat.com>
3058
3059 * gdb.base/valgrind-disp-step.c: New file.
3060 * gdb.base/valgrind-disp-step.exp: New file.
3061
d4569d7b
PA
30622015-08-07 Pedro Alves <palves@redhat.com>
3063
3064 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
3065 Delete function.
3066 (main): Add alarm. Run an infinite loop instead of calling
3067 wait_threads.
3068 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
3069 comment.
3070 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3071 Delete function.
3072 (main): Add alarm. Run an infinite loop instead of calling
3073 wait_threads.
3074 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3075 comment.
3076
e1316e60
PA
30772015-08-07 Pedro Alves <palves@redhat.com>
3078
3079 * gdb.base/checkpoint-ns.exp: New file.
3080 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3081 standard_testfile.
3082
da8c46d2
MM
30832015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3084
3085 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3086 * gdb.btrace/instruction_history.exp: Update.
3087 * gdb.btrace/tsx.exp: New.
3088 * gdb.btrace/tsx.c: New.
3089
de1c2c52
PA
30902015-08-06 Pedro Alves <palves@redhat.com>
3091
3092 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3093 increase timeout.
3094 * gdb.reverse/until-precsave.exp: Bump timeouts.
3095
782e0bf4
PA
30962015-08-06 Pedro Alves <palves@redhat.com>
3097
3098 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3099
83e97ed0
PA
31002015-08-06 Pedro Alves <palves@redhat.com>
3101
3102 PR gdb/18749
3103 * gdb.threads/process-dies-while-handling-bp.c: New file.
3104 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3105
863d01bd
PA
31062015-08-06 Pedro Alves <palves@redhat.com>
3107
3108 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3109 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3110
0a39bb32
PA
31112015-08-05 Pedro Alves <palves@redhat.com>
3112
3113 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3114 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3115
ee2d2b10
SL
31162015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3117
3118 * gdb.base/bp-permanent.exp: Report test as unsupported if
3119 the target cannot stop at the permanent breakpoint.
3120
4e1bdb00
DE
31212015-08-03 Doug Evans <dje@google.com>
3122
3123 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3124 10000.
3125
3d338901
DE
31262015-08-03 Doug Evans <dje@google.com>
3127
3128 * Makefile.in (workers/%.worker, build-perf): New rule.
3129 (GDB_PERFTEST_MODE): New variable.
3130 (check-perf): Use it.
3131 (clean): Clean up gdb.perf parallel build subdirs.
3132 * lib/build-piece.exp: New file.
3133 * lib/gdb.exp (make_gdb_parallel_path): New function
3134 (standard_output_file, standard_temp_file): Call it.
3135 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3136 of $GDB_PARALLEL.
3137 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3138
af061d3e
DE
31392015-08-03 Doug Evans <dje@google.com>
3140
8e1afc81 3141 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
3142 (LOG_FILE_NAME): New global.
3143 (TextReporter.__init__): Initialize self.txt_sum.
3144 (TextReporter.report): Add support for multiple data-points.
3145 Move report to perftest.sum, put raw data in perftest.log.
3146 (TextReporter.start): Open sum and log files.
3147 (TextReporter.end): Close sum and log files.
8e1afc81
DE
3148 * gdb.perf/lib/perftest/testresult.py
3149 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 3150
2c8c5d37
PA
31512015-07-31 Pedro Alves <palves@redhat.com>
3152
3153 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3154 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3155 kill_wait_spawned_process instead of explicit "kill -9".
3156 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3157 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3158 kill_wait_spawned_process.
3159 * gdb.base/attach-twice.exp: Likewise.
3160 * gdb.base/attach.exp: Likewise.
3161 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3162 gdb_test_multiple.
3163 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3164 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3165 kill_wait_spawned_process.
3166 * gdb.base/valgrind-infcall.exp: Likewise.
3167 * gdb.multi/multi-attach.exp: Likewise.
3168 * gdb.python/py-prompt.exp: Likewise.
3169 * gdb.python/py-sync-interp.exp: Likewise.
3170 * gdb.server/ext-attach.exp: Likewise.
3171 * gdb.threads/attach-into-signal.exp (corefunc): Use
3172 spawn_wait_for_attach, spawn_id_get_pid and
3173 kill_wait_spawned_process.
3174 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3175 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3176 spawn_id_get_pid and kill_wait_spawned_process.
3177 * gdb.threads/attach-stopped.exp (corefunc): Use
3178 spawn_wait_for_attach, spawn_id_get_pid and
3179 kill_wait_spawned_process.
3180 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3181 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3182 kill_wait_spawned_process instead of explicit "kill -9".
3183 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3184 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3185 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3186 processes. Don't map cygwin/windows pids here. Now returns a
3187 spawn id list.
3188
032a0fca
SL
31892015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3190
3191 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3192 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3193 correct patch.
3194
61a934ca
SL
31952015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3196
3197 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3198
4bc4d428
SL
31992015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3200
3201 Reapply:
3202 2014-05-21 Mark Wielaard <mjw@redhat.com>
3203
3204 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3205
998d452a
PA
32062015-07-30 Pedro Alves <palves@redhat.com>
3207
3208 * linux-low.c (handle_extended_wait): Set the child's last
3209 reported status to TARGET_WAITKIND_STOPPED.
3210
69dde7dc
PA
32112015-07-30 Pedro Alves <palves@redhat.com>
3212
3213 PR threads/18600
3214 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3215 only shows inferior 1.
3216
4dd63d48
PA
32172015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3218 Pedro Alves <palves@redhat.com>
3219
3220 PR threads/18600
3221 * gdb.threads/fork-plus-threads.c: New file.
3222 * gdb.threads/fork-plus-threads.exp: New file.
3223
d618e4c5
PP
32242015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3225
3226 * gdb.base/batch-preserve-term-settings.exp
3227 (test_terminal_settings_preserved_after_cli_exit): Use
3228 send_quit_command.
3229
1eef6428
PA
32302015-07-29 Pedro Alves <palves@redhat.com>
3231 Don Breazeal <donb@codesourcery.com>
3232
3233 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3234 output from both inferior_spawn_id and gdb_spawn_id.
3235
7da5b897
SDJ
32362015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3237
3238 * gdb.threads/attach-into-signal.exp (corefunc): Use
3239 with_test_prefix on nested loops, uniquefying the test messages.
3240
dac804df
SDJ
32412015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3242
3243 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3244 commit.
3245
06265e53
PP
32462015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3247
3248 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3249 New proc.
3250 (test_terminal_settings_preserved_after_sigterm): New test.
3251
18206ca3
PP
32522015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3253
3254 * gdb.base/batch-preserve-term-settings.exp
3255 (test_terminal_settings_preserved_after_cli_exit): New test.
3256
90074d11
PP
32572015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3258
3259 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3260 manipulation of saved_gdbflags.
3261 (test_terminal_settings_preserved): Remove global declaration of
3262 the unused variable pagination_prompt. Remove manipulation of
3263 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3264 GDBFLAGS.
3265
eb1a7902
PA
32662015-07-29 Pedro Alves <palves@redhat.com>
3267
3268 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3269
8b75dd3b
PA
32702015-07-29 Pedro Alves <palves@redhat.com>
3271
3272 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3273 at the top.
3274
dedad4e3
PA
32752015-07-29 Pedro Alves <palves@redhat.com>
3276
3277 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3278 (main): Call gdb_unbuffer_output.
3279 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3280 (main): Call gdb_unbuffer_output.
3281 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3282 (main): Call gdb_unbuffer_output.
3283 * gdb.base/call-strs.exp: Adjust to step over the
3284 gdb_unbuffer_output call.
3285 * gdb.base/catch-gdb-caused-signals.c: Include
3286 "../lib/unbuffer_output.c".
3287 (main): Call gdb_unbuffer_output.
3288 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3289 (main): Call gdb_unbuffer_output.
3290 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3291 (main): Call gdb_unbuffer_output.
3292 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3293 (main): Call gdb_unbuffer_output.
3294 * gdb.base/shlib-call.exp: Adjust to step over the
3295 gdb_unbuffer_output call.
3296 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3297 (main): Call gdb_unbuffer_output.
3298 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3299 (main): Call gdb_unbuffer_output.
3300 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3301 (main): Rename to ...
3302 (test): ... this.
3303 (main): Reimplement.
3304 * gdb.base/varargs.exp: Run to test instead of to main.
3305 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3306 (main): Call gdb_unbuffer_output.
3307
58789a91
PA
33082015-07-29 Pedro Alves <palves@redhat.com>
3309
3310 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3311 factore out from mi_continue_dprintf. For call-style dprintfs,
3312 expect dprintf output out of $inferior_spawn_id.
3313 (mi_continue_dprintf): Use mi_expect_dprintf.
3314 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3315 (main): Call gdb_unbuffer_output.
3316
e8376742
PA
33172015-07-29 Pedro Alves <palves@redhat.com>
3318
3319 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3320 (default_mi_gdb_start): Set inferior_spawn_id instead of
3321 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3322 gdb_spawn_id.
3323 (mi_gdb_test): Always expect inferior output from both
3324 $inferior_spawn_id and $gdb_spawn_id.
3325
08280010
PA
33262015-07-29 Pedro Alves <palves@redhat.com>
3327
3328 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3329 send_inferior and $inferior_spawn_id.
3330
4d30e432
PA
33312015-07-29 Pedro Alves <palves@redhat.com>
3332
3333 * gdb.gdb/complaints.exp (test_initial_complaints)
3334 (test_serial_complaints, test_short_complaints): Use
3335 gdb_test_stdio.
3336 (test_empty_complaint): Handle $inferior_spawn_id !=
3337 $gdb_spawn_id.
3338
0d30a335
PA
33392015-07-29 Pedro Alves <palves@redhat.com>
3340
3341 * gdb.base/varargs.exp: Use gdb_test_stdio.
3342
39413b29
PA
33432015-07-29 Pedro Alves <palves@redhat.com>
3344
3345 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3346
7cb000a9
PA
33472015-07-29 Pedro Alves <palves@redhat.com>
3348
3349 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3350
d7b8ac82
PA
33512015-07-29 Pedro Alves <palves@redhat.com>
3352
3353 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3354 parameter into two new parameters, "inf_result" and "gdb_result".
3355 Expect inferior output and gdb output from $inferior_spawn_id and
3356 $gdb_spawn_id, respectively. Adjust all callers.
3357
789c3a0c
PA
33582015-07-29 Pedro Alves <palves@redhat.com>
3359
3360 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3361 of gdb_test_sequence.
3362
77e760c3
PA
33632015-07-29 Pedro Alves <palves@redhat.com>
3364
3365 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3366 (saw_spurious_output): Expect inferior output from
3367 $inferior_spawn_id. Use gdb_test_stdio.
3368
8396d2cd
PA
33692015-07-29 Pedro Alves <palves@redhat.com>
3370
3371 * gdb.base/dprintf.exp: Use standard_testfile. Change
3372 prepare_for_testing call.
3373 (srcfile): Don't set.
3374 (restart): New procedure.
3375 (test_dprintf): New procecure, use to continue over dprintfs.
3376 (test_call, test_agent): New procedures, tests moved here.
3377 Restart gdb and recreate dprintfs. Adjust expected output.
3378
2051d61f
PA
33792015-07-29 Pedro Alves <palves@redhat.com>
3380
3381 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3382
452397af
PA
33832015-07-29 Pedro Alves <palves@redhat.com>
3384
3385 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3386
8aed9555
PA
33872015-07-29 Pedro Alves <palves@redhat.com>
3388
3389 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3390 gdb_test_stdio.
3391
188a61b4
PA
33922015-07-29 Pedro Alves <palves@redhat.com>
3393
3394 * lib/gdb.exp (gdb_test_stdio): New procedure.
3395
12264a45
PA
33962015-07-29 Pedro Alves <palves@redhat.com>
3397
3398 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3399
23ffc893
PA
34002015-07-29 Pedro Alves <palves@redhat.com>
3401
3402 * gdb.base/call-signal-resume.exp: Remove check for
3403 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3404 * gdb.base/unwindonsignal.exp: Likewise.
3405 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3406 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3407
65566918
PA
34082015-07-29 Pedro Alves <palves@redhat.com>
3409
3410 * gdb.base/siginfo-addr.c (pass): New function.
3411 (handler): Call it iff si_addr is correct.
3412 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3413 Set a breakpoint at "pass" and continue to it.
3414
d60a9221
SDJ
34152015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3416
3417 * gdb.python/py-objfile.exp: Make some tests have unique names.
3418 * gdb.python/py-pp-registration.exp: Likewise.
3419
bde40b8f
PA
34202015-07-28 Pedro Alves <palves@redhat.com>
3421
3422 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3423
13e1dec8
SM
34242015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3425
3426 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3427
da33c9a7
SM
34282015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3429
3430 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3431
077836f7
PP
34322015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3433
3434 * gdb.base/gdb-sigterm-2.exp: New test.
3435
b8cc7b2e
DE
34362015-07-25 Doug Evans <xdje42@gmail.com>
3437
3438 Revert:
3439 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3440 (workers/%.worker, build-perf): New rule.
3441 (GDB_PERFTEST_MODE): New variable.
3442 (check-perf): Use it.
3443 (clean): Clean up gdb.perf parallel build subdirs.
3444 * lib/build-piece.exp: New file.
3445 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3446 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3447 name.
3448 (standard_temp_file): Ditto.
3449 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3450 of $GDB_PARALLEL.
3451
c8bd4544
DE
34522015-07-24 Doug Evans <dje@google.com>
3453
3454 * gdb.perf/lib/perftest/utils.py: New file.
3455 * gdb.perf/gm-hello.cc: New file.
3456 * gdb.perf/gm-pervasive-typedef.cc: New file.
3457 * gdb.perf/gm-pervasive-typedef.h: New file.
3458 * gdb.perf/gm-std.cc: New file.
3459 * gdb.perf/gm-std.h: New file.
3460 * gdb.perf/gm-use-cerr.cc: New file.
3461 * gdb.perf/gm-utils.h: New file.
3462 * gdb.perf/gmonster-null-lookup.py: New file.
3463 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3464 * gdb.perf/gmonster-print-cerr.py: New file.
3465 * gdb.perf/gmonster-ptype-string.py: New file.
3466 * gdb.perf/gmonster-runto-main.py: New file.
3467 * gdb.perf/gmonster-select-file.py: New file.
3468 * gdb.perf/gmonster1-null-lookup.exp: New file.
3469 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3470 * gdb.perf/gmonster1-print-cerr.exp: New file.
3471 * gdb.perf/gmonster1-ptype-string.exp: New file.
3472 * gdb.perf/gmonster1-runto-main.exp: New file.
3473 * gdb.perf/gmonster1-select-file.exp: New file.
3474 * gdb.perf/gmonster1.cc: New file.
3475 * gdb.perf/gmonster1.exp: New file.
3476 * gdb.perf/gmonster2-null-lookup.exp: New file.
3477 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3478 * gdb.perf/gmonster2-print-cerr.exp: New file.
3479 * gdb.perf/gmonster2-ptype-string.exp: New file.
3480 * gdb.perf/gmonster2-runto-main.exp: New file.
3481 * gdb.perf/gmonster2-select-file.exp: New file.
3482 * gdb.perf/gmonster2.cc: New file.
3483 * gdb.perf/gmonster2.exp: New file.
3484
6eab34f3
DE
34852015-07-24 Doug Evans <dje@google.com>
3486
3487 * gdb.perf/README: New file.
3488 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3489 * lib/gen-perf-test.exp: New file.
3490
63738bfd
DE
34912015-07-24 Doug Evans <dje@google.com>
3492
3493 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3494 (PerfTest::startup): New function.
3495 (PerfTest::run): Return result of calling body.
3496 (PerfTest::assemble): Rewrite.
3497 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3498 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3499 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3500 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3501 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3502
7b606f95
DE
35032015-07-24 Doug Evans <dje@google.com>
3504
3505 * lib/gdb.exp (clean_restart): Make executable optional.
3506
a97b16b8
DE
35072015-07-24 Doug Evans <dje@google.com>
3508
3509 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3510 compiler_info references.
3511 * gdb.cp/temargs.exp: Ditto.
3512 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3513 (get_compiler_info): Early exit if already computed. Set compiler_info
3514 to "unknown" if there was a problem.
3515 (test_compiler_info): Add function comment. Call get_compiler_info.
3516
35baa57f
DE
35172015-07-24 Doug Evans <dje@google.com>
3518
3519 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3520 (workers/%.worker, build-perf): New rule.
3521 (GDB_PERFTEST_MODE): New variable.
3522 (check-perf): Use it.
3523 (clean): Clean up gdb.perf parallel build subdirs.
3524 * lib/build-piece.exp: New file.
3525 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3526 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3527 name.
3528 (standard_temp_file): Ditto.
3529 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3530 of $GDB_PARALLEL.
3531
6ebea266
DE
35322015-07-24 Doug Evans <dje@google.com>
3533
3534 * lib/future.exp (gdb_default_target_compile): New option
3535 "early_flags".
3536 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3537 --as-needed.
3538
1e76a7e9
SDJ
35392015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3540
3541 * gdb.base/catch-syscall.exp: Call gdb_exit before
3542 gdb_skip_xml_test.
3543
5068630a
PA
35442015-07-24 Pedro Alves <palves@redhat.com>
3545
3546 * gdb.python/py-events.exp: Accept output between the stop event
3547 and the prompt.
3548 * gdb.python/py-evsignal.exp: Likewise.
3549 * gdb.python/py-evthreads.exp: Likewise.
3550
77598427
PA
35512015-07-24 Pedro Alves <palves@redhat.com>
3552
3553 PR gdb/18717
3554 * gdb.threads/non-ldr-exit.c: New file.
3555 * gdb.threads/non-ldr-exit.exp: New file.
3556
11e6c98f
YQ
35572015-07-24 Yao Qi <yao.qi@linaro.org>
3558
3559 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3560 restarting process.
3561
51aee833
YQ
35622015-07-24 Yao Qi <yao.qi@linaro.org>
3563
3564 * gdb.server/ext-restart.exp: New file.
3565
8cfe207c
YQ
35662015-07-24 Yao Qi <yao.qi@linaro.org>
3567
3568 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3569 argument options.
3570 * gdb.server/ext-wrapper.exp: New file.
3571
cc12ce38
DE
35722015-07-23 Doug Evans <dje@google.com>
3573
3574 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3575 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3576
d0d84780
PMR
35772015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3578
3579 * gdb.ada/var_arr_typedef.exp: New testcase.
3580 * gdb.ada/var_arr_typedef/pack.adb: New file.
3581 * gdb.ada/var_arr_typedef/pack.ads: New file.
3582 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3583
8b558f79
JB
35842015-07-20 Joel Brobecker <brobecker@adacore.com>
3585
3586 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3587
775a3298
JK
35882015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3589
3590 * gdb.arch/i386-biarch-core.exp: Replace istarget
3591 by "complete set gnutarget". Remove expectation for the "core-file"
3592 command.
3593
db1ff28b
JK
35942015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3595
3596 Revert the previous commit:
3597 Tests for validate symbol file using build-id.
3598
0a94970d
JK
35992015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3600
3601 Tests for validate symbol file using build-id.
3602 * gdb.base/solib-mismatch-lib.c: New file.
3603 * gdb.base/solib-mismatch-libmod.c: New file.
3604 * gdb.base/solib-mismatch.c: New file.
3605 * gdb.base/solib-mismatch.exp: New file.
3606
03346981
SL
36072015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3608
3609 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3610 nios2-*-linux*.
3611 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3612 * gdb.base/siginfo.exp: Likewise.
3613 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3614
42422cc7
PL
36152015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3616
3617 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3618 Move it to ...
3619 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3620 ... here.
3621 * gdb.trace/range-stepping.exp: Check that the target supports
3622 range stepping.
3623
cfa68bae
JK
36242015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3625
3626 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3627
8ffdba26
PA
36282015-07-14 Pedro Alves <palves@redhat.com>
3629
3630 * gdb.base/killed-outside.exp: New file.
3631 * gdb.base/killed-outside.c: New file.
3632
218a5a11
JK
36332015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3634
3635 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3636 (n at main): New.
3637 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3638
e03ed3c6
AA
36392015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3640
3641 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3642 infcall tests instead of setting up for KFAIL.
3643
485668e5
MM
36442015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3645
3646 * gdb.btrace/record_goto-step.exp: New.
3647
08464196
JK
36482015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3649
3650 PR compile/18484
3651 * gdb.compile/compile.c (struct struct_type): Add volatile to
3652 selffield's type.
3653 * gdb.compile/compile.exp
3654 (compile code struct_object.selffield = &struct_object): Skip further
3655 struct_object tests if this one xfails.
3656
bcf5c1d9
RC
36572015-07-08 Robert O'Callahan <robert@ocallahan.org>
3658
3659 PR exp/18617
3660 * gdb.trace/ax.exp: Add test.
3661
4931af25
YQ
36622015-07-07 Yao Qi <yao.qi@linaro.org>
3663
3664 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3665 instead of istarget "aarch64*-*-*".
3666 * gdb.arch/aarch64-fp.exp: Likewise.
3667 * gdb.base/float.exp: Likewise.
3668 * gdb.reverse/aarch64.exp: Likewise.
3669 * lib/gdb.exp (is_aarch64_target): New proc.
3670
9fcf688e
YQ
36712015-07-07 Yao Qi <yao.qi@linaro.org>
3672
3673 * lib/gdb.exp (is_aarch32_target): New proc.
3674 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3675 instead of "istarget "arm*-*-*"".
3676 * gdb.arch/arm-disp-step.exp: Likewise.
3677 * gdb.arch/thumb-bx-pc.exp: Likewise.
3678 * gdb.arch/thumb-prologue.exp: Likewise.
3679 * gdb.arch/thumb-singlestep.exp: Likewise.
3680 * gdb.base/disp-step-syscall.exp: Likewise.
3681 * gdb.base/float.exp: Likewise.
3682
fbd8d50d
YQ
36832015-07-07 Yao Qi <yao.qi@linaro.org>
3684
3685 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3686 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3687
71be1fdc
YQ
36882015-07-07 Yao Qi <yao.qi@linaro.org>
3689
3690 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3691 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3692 if it exists.
3693 * gdb.multi/multi-arch.exp: Likewise.
3694
3e221d36
SM
36952015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3696
3697 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3698 print.
3699
d441430b
YQ
37002015-07-07 Yao Qi <yao.qi@linaro.org>
3701
3702 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3703
06f810bd
MG
37042015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3705
3706 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3707 '[' and ']' characters.
3708
5e61e7c0
IB
37092015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3710
3711 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3712
28bf096c
PA
37132015-06-29 Pedro Alves <palves@redhat.com>
3714
3715 PR threads/18127
3716 * gdb.threads/hand-call-new-thread.c: New file.
3717 * gdb.threads/hand-call-new-thread.c: New file.
3718
ee93cd5e
KS
37192015-06-26 Keith Seitz <keiths@redhat.com>
3720 Doug Evans <dje@google.com>
3721
3722 PR 16253
3723 * gdb.cp/var-tag-2.cc: New file.
3724 * gdb.cp/var-tag-3.cc: New file.
3725 * gdb.cp/var-tag-4.cc: New file.
3726 * gdb.cp/var-tag.cc: New file.
3727 * gdb.cp/var-tag.exp: New file.
3728
fc637f04
PP
37292015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3730
3731 * gdb.base/history-duplicates.exp: New test.
3732
2e52ae68
PP
37332015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3734
3735 * gdb.base/completion.exp: Test the completion of the "focus"
3736 command.
3737
6e22494e
JK
37382015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3739
3740 * gdb.arch/amd64-prologue-skip.S: New file.
3741 * gdb.arch/amd64-prologue-skip.exp: New file.
3742
bf7b9cd9
SM
37432015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3744
3745 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3746 is_address_zero_readable check.
3747
201e8dfd
PB
37482015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3749
3750 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3751 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3752
5cd867b4
YQ
37532015-06-24 Yao Qi <yao.qi@linaro.org>
3754
3755 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3756 linux targets.
3757
4d7be007
YQ
37582015-06-24 Yao Qi <yao.qi@linaro.org>
3759
3760 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3761 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3762 * gdb.base/siginfo-thread.exp: Likewise.
3763
07fcd301
YQ
37642015-06-22 Yao Qi <yao.qi@linaro.org>
3765
3766 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3767
52042a00
YQ
37682015-06-22 Yao Qi <yao.qi@linaro.org>
3769
3770 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3771 aarch64*-*-*.
3772 (skip_hw_watchpoint_tests): Likewise.
3773
74bd41ce
PP
37742015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3775
3776 * gdb.base/gdbinit-history.exp: Test the interaction between
3777 setting GDBHISTSIZE and setting the history size via .gdbinit.
3778
bc460514
PP
37792015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3780
3781 PR gdb/16999
3782 * gdb.base/gdbhistsize-history.exp: New test.
3783
b58c513b
PP
37842015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3785
3786 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3787 with GDBHISTSIZE.
3788 * gdb.base/readline.exp: Likewise.
3789
92046791
YQ
37902015-06-17 Yao Qi <yao.qi@linaro.org>
3791
3792 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3793 line.
3794
2093d2d3
PP
37952015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3796
3797 * gdb.base/gdbinit-history.exp: Add test case to check that
3798 an unlimited history file does not get truncated on exit.
3799
e6c693af
AA
38002015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3801
3802 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3803 (VECTOR): New macro. Use it...
3804 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3805 ...for these typedefs.
3806 (int8, char1, int1, double1): New typedefs.
3807 (struct just_int2, struct two_int2): New structures.
3808 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3809 (add_structvecs, add_singlevecs): New functions.
3810 (main): Call add_some_intvecs twice.
3811 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3812 the compile and exit upon failure. Try compiling for the "native"
3813 architecture. Test inferior function calls with vector arguments
3814 and vector return value handling with "finish" and "return".
3815
c74f7d1c
JT
38162015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3817
3818 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3819 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3820 PE file.
3821 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3822
98aa42ee
AT
38232015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3824
3825 PR breakpoints/16465
3826 * gdb.mi/mi-dprintf-pending.c: New file.
3827 * gdb.mi/mi-dprintf-pending.exp: New test.
3828 * gdb.mi/mi-dprintf-pendshr.c: New file.
3829
7d73c23c 38302015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 3831 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
3832
3833 * gdb.arch/i386-mpx-map.c: New file.
3834 * gdb.arch/i386-mpx-map.exp: New File.
3835
38362015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3837
3838 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3839 * gdb.arch/i386-mpx.exp: Indentation fixed.
3840
38412015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3842
3843 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3844 function and improved indentation.
3845 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3846 gdb_test_multiple. Added additional tests to skip the test.
3847
38482015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3849
3850 * gdb.arch/i386-avx512.c: Change path in include file.
3851 * gdb.arch/i386-avx512.exp: Change include dir path
3852 compilation flag.
3853 * gdb.arch/i386-mpx.c: Change path in include file.
3854 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3855 flag.
3856
d5eba19a
JK
38572015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3858
3859 * gdb.compile/compile-print.exp (compile print *vararray@3)
3860 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3861
7f361056
JK
38622015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3863
3864 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3865 (do not keep jit in memory): ... this.
3866 (expect 5): Change it to ...
3867 (expect no 5): ... this.
3868
3b462ec2
SM
38692015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3870
3871 PR gdb/15564
3872 * gdb.mi/mi-detach.exp: New file.
3873
e0619de6
JK
38742015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3875
3876 PR symtab/18392
3877 * gdb.arch/amd64-tailcall-self.S: New file.
3878 * gdb.arch/amd64-tailcall-self.c: New file.
3879 * gdb.arch/amd64-tailcall-self.exp: New file.
3880
e970cb34
DB
38812015-05-28 Don Breazeal <donb@codesourcery.com>
3882
3883 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3884 tests for remote targets by checking is_target_gdbserver.
3885
b2e2f908
DE
38862015-05-27 Doug Evans <dje@google.com>
3887
3888 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3889 * gdb.dwarf2/opaque-type-lookup.c: New file.
3890 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3891
82c7be31
DE
38922015-05-26 Doug Evans <dje@google.com>
3893
3894 * gdb.cp/iostream.cc: New file.
3895 * gdb.cp/iostream.exp: New file.
3896
b4f54984
DE
38972015-05-26 Doug Evans <dje@google.com>
3898
3899 * gdb.dwarf2/dw2-op-call.exp: Update.
3900 * gdb.dwarf2/dw4-sig-types.exp: Update.
3901 * gdb.dwarf2/implptr.exp: Update.
3902 * gdb.mi/mi-cmd-param-changed.exp: Update.
3903
4ea6efe9
DE
39042015-05-26 Doug Evans <dje@google.com>
3905
3906 * gdb.python/py-lazy-string.c: New file.
3907 * gdb.python/py-lazy-string.exp: New file.
3908 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3909 (main): Update. Add estring3.
3910 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3911 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3912
f6bb7db3
YQ
39132015-05-26 Omair Javaid <omair.javaid@linaro.org>
3914 Yao Qi <yao.qi@linaro.org>
3915
3916 * gdb.reverse/aarch64.c: New.
3917 * gdb.reverse/aarch64.exp: New.
3918
a81bfbd0
OJ
39192015-05-26 Omair Javaid <omair.javaid@linaro.org>
3920
25d49b86
PA
3921 * lib/gdb.exp (supports_process_record): Return true for
3922 aarch64*-linux*.
a81bfbd0
OJ
3923 (supports_reverse): Likewise.
3924
158bf1b4
PP
39252015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3926
3927 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3928 Use with_test_prefix.
3929
a0145030
AB
39302015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3931
3932 * gdb.base/completion.exp: Add test for completion of layout
3933 names.
3934
ebe3b578
AB
39352015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3936
3937 * lib/gdb.exp (skip_tui_tests): New proc.
3938 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3939
84204ed7
PA
39402015-05-19 Pedro Alves <palves@redhat.com>
3941
3942 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3943 Save the whole env array instead of just HOME. Unset HISTSIZE in
3944 the environment while testing. Restore whole environment
3945 afterwards.
3946
37442ce1
DE
39472015-05-16 Doug Evans <xdje42@gmail.com>
3948
3949 * gdb.guile/scm-ports.c: New file.
3950 * gdb.guile/scm-ports.exp: Add memory port tests.
3951
36de76f9
JK
39522015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3953
3954 * gdb.compile/compile-print.c: New file.
3955 * gdb.compile/compile-print.exp: New file.
3956
3a9558c4
JK
39572015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3958
3959 * gdb.compile/compile-ops.exp: Cast param to void.
3960 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3961 (compile code struct_object.selffield = &struct_object): Add xfail.
3962
aa715135
JG
39632015-05-15 Joel Brobecker <brobecker@adacore.com>
3964
3965 * gdb.ada/arr_enum_with_gap: New testcase.
3966
931e5bc3
JG
39672015-05-15 Joel Brobecker <brobecker@adacore.com>
3968
3969 * gdb.ada/byte_packed_arr: New testcase.
3970
9cd4d857
JB
39712015-05-15 Joel Brobecker <brobecker@adacore.com>
3972
3973 * gdb.ada/pckd_neg: New testcase.
3974
ebfd00d2
PP
39752015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3976
3977 PR gdb/17820
3978 * gdb.base/gdbinit-history.exp: New test.
3979 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3980 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3981
4c082a81
SC
39822015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3983
3984 * gdb.python/py-xmethods.cc: Enhance test case.
3985 * gdb.python/py-xmethods.exp: New tests.
3986 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3987 function.
3988 (B_indexoper): Likewise.
3989 (global_dm_list) : Add new xmethod worker functions.
3990
f7797074
SDJ
39912015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3992
3993 * gdb.base/coredump-filter.exp: Correctly unset
3994 "coredump_var_addr" array.
3995
a4674e4e
PA
39962015-05-08 Pedro Alves <palves@redhat.com>
3997
3998 * gdb.server/non-existing-program.exp: Unset spawn_id.
3999
df2eb078
SC
40002015-05-08 Siva Chandra Reddy <sivachandra@google.com>
4001
4002 PR python/18291
4003 * gdb.python/py-xmethods.exp: Add tests.
4004
422349a3
YQ
40052015-05-08 Yao Qi <yao.qi@linaro.org>
4006
4007 PR gdb/18208
4008 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
4009 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
4010 function set_coredump_filter, and remove remote_exec call.
4011 Remove argument ipid. Callers update.
4012 (top level): Don't get inferior's PID.
4013
63fc80ce
AA
40142015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4015
4016 * gdb.base/watch_thread_num.exp: Skip test on targets without
4017 access watchpoints.
4018
80ad801e
PA
40192015-05-06 Pedro Alves <palves@redhat.com>
4020
4021 PR server/18081
4022 * gdb.server/non-existing-program.exp: New file.
4023
0fa7fe50
JB
40242015-05-05 Joel Brobecker <brobecker@adacore.com>
4025
4026 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4027
3ea89b92
PMR
40282015-05-05 Joel Brobecker <brobecker@adacore.com>
4029
4030 * gdb.ada/out_of_line_in_inlined: New testcase.
4031
87b8eff0
JB
40322015-05-05 Joel Brobecker <brobecker@adacore.com>
4033
4034 * gdb.ada/var_rec_arr: New testcase.
4035
5fccc635
YQ
40362015-04-30 Yao Qi <yao.qi@linaro.org>
4037
4038 * gdb.base/break-idempotent.exp: If
4039 skip_hw_watchpoint_multi_tests returns true, skip the tests
4040 on "rwatch" and "awatch".
4041
42d38f42
YQ
40422015-04-30 Yao Qi <yao.qi@linaro.org>
4043
4044 * gdb.base/relativedebug.exp: Invoke gdb command
4045 "info sharedlibrary", and if libc.so doesn't have debug info,
4046 skip the test.
4047
2ce1cdbf
DE
40482015-04-29 Doug Evans <dje@google.com>
4049
4050 * gdb.python/py-xmethods.exp: Add ptype tests.
4051 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4052 get_result_type method.
4053
f24a38c5
LM
40542015-04-29 Luis Machado <lgustavo@codesourcery.com>
4055
4056 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4057 the target does not support hardware watchpoints.
4058
ecbf2b3c
LM
40592015-04-29 Luis Machado <lgustavo@codesourcery.com>
4060
4061 * gdb.base/break-always.exp: Abort testing if writing to memory
4062 causes an error.
4063
34f5f757
DE
40642015-04-28 Doug Evans <dje@google.com>
4065
4066 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4067 * gdb.python/py-pp-registration.exp: ... here. New file.
4068 * gdb.python/py-pp-registration.c: New file.
4069 * gdb.python/py-pp-registration.py: New file.
4070
69b4374a
DE
40712015-04-28 Doug Evans <dje@google.com>
4072
4073 * gdb.python/py-bad-printers.c: New file.
4074 * gdb.python/py-bad-printers.py: New file.
4075 * gdb.python/py-bad-printers.exp: New file.
4076
59fb7612
SS
40772015-04-28 Sasha Smundak <asmundak@google.com>
4078
4079 * gdb.python/py-type.exp: New test.
4080
2631b16a
AW
40812015-04-28 Andy Wingo <wingo@igalia.com>
4082
4083 * gdb.python/py-parameter.exp:
4084 * gdb.guile/scm-parameter.exp: Escape the path that we are
4085 matching against, as it might contain characters that are special
4086 to regular expressions.
4087
460efde1
JB
40882015-04-27 Joel Brobecker <brobecker@adacore.com>
4089
4090 * gdb.ada/rec_comp: New testcase.
4091
2d369d8e
SDJ
40922015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4093
4094 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4095 before using it.
4096
cf75d6c3
AB
40972015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4098
4099 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4100 new tests for verilog output.
4101
8dbe7ca5
YQ
41022015-04-24 Yao Qi <yao.qi@linaro.org>
4103
4104 * boards/remote-gdbserver-on-localhost.exp: New file.
4105
4ef9fb2f
PA
41062015-04-23 Pedro Alves <palves@redhat.com>
4107
4108 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4109 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4110 "end of file", remove $inferior_spawn_id from the indirect list.
4111
0a803169
PA
41122015-04-23 Pedro Alves <palves@redhat.com>
4113
4114 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4115
749ef8f8
PA
41162015-04-23 Pedro Alves <palves@redhat.com>
4117
4118 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4119 on $any_spawn_id instead of only on $gdb_spawn_id.
4120
8aae4344
PM
41212015-04-21 Pierre Muller <muller@sourceware.org>
4122
4123 PR pascal/17815
4124 * lib/pascal.exp (gpc_compile): Add new option "class".
4125 (fpc_compile): Likewise.
4126 * gdb.pascal/case-insensitive-symbols.pas: New file.
4127 * gdb.pascal/case-insensitive-symbols.exp: New file.
4128
1586c8fb
GB
41292015-04-20 Gary Benson <gbenson@redhat.com>
4130
4131 * gdb.base/attach.exp: Fix three extended remote failures.
4132
1b6e6f5c
GB
41332015-04-17 Gary Benson <gbenson@redhat.com>
4134
4135 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4136 the main executable over the remote protocol.
4137
e797481d
PA
41382015-04-16 Pedro Alves <palves@redhat.com>
4139
4140 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4141 a new gdbserver if gdbserver_reconnect_p is set.
4142
1ca99c42
PA
41432015-04-16 Pedro Alves <palves@redhat.com>
4144
4145 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4146 is set, don't exit gdbserver.
4147
af9fd6f8
AA
41482015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4149
4150 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4151 appropriate .insn, such that an older assembler can be used.
4152 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4153 the z/Architecture instruction set on 31-bit targets as well.
4154
04ff1e61
AA
41552015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4156
4157 * gdb.go/handcall.exp: Remove all logic related to the first
4158 breakpoint and rely on go_runto_main instead.
4159 * gdb.go/strings.exp: Likewise.
4160 * gdb.go/unsafe.exp: Likewise.
4161 * gdb.go/hello.exp: Likewise. Also rename the remaining
4162 breakpoint marker to "breakpoint 1".
4163 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4164 * gdb.go/strings.go: Likewise.
4165 * gdb.go/unsafe.go: Likewise.
4166 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4167 "set breakpoint 2 here" and rename the remaining breakpoint marker
4168 to "breakpoint 1".
4169
40d2f8d6
SM
41702015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4171
4172 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4173 if itertools.imap is not present.
4174 * gdb.python/py-objfile.exp: Add parentheses.
4175 * gdb.python/py-type.exp: Same.
4176 * gdb.python/py-unwind-maint.py: Same.
4177
8cbc97c6
YQ
41782015-04-15 Yao Qi <yao.qi@linaro.org>
4179
4180 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4181 of ":$ptr_size" and set its form explicitly.
4182
45fd756c
YQ
41832015-04-15 Pedro Alves <palves@redhat.com>
4184 Yao Qi <yao.qi@linaro.org>
4185
4186 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4187 timeout by factor of 4.
4188 (test_regular_watch): Likewise.
4189 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4190 * gdb.reverse/sigall-reverse.exp: Likewise.
4191 * gdb.reverse/until-precsave.exp: Likewise.
4192 * lib/gdb.exp (with_timeout_factor): New proc.
4193 (gdb_expect): Move some code to ...
4194 (get_largest_timeout): ... here. New procedure.
4195
9e811bc3
LM
41962015-04-14 Luis Machado <lgustavo@codesourcery.com>
4197
4198 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4199
0ff6fcb2
LM
42002015-04-13 Luis Machado <lgustavo@codesourcery.com>
4201
4202 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4203 to write to the .text section.
4204
7578d5f7
LM
42052015-04-13 Luis Machado <lgustavo@codesourcery.com>
4206
4207 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4208 Handle the case of targets that do not provide PID information.
4209
2efe15c4
YQ
42102015-04-13 Yao Qi <yao.qi@linaro.org>
4211
4212 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4213 and use expect instead of gdb_expect.
4214
8cd8f2f8
SDJ
42152015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4216
4217 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4218 "coredump_var_addr" to avoid naming conflict with other testcases.
4219
9ee41772
PA
42202015-04-10 Pedro Alves <palves@redhat.com>
4221
4222 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4223 gdb_test_sequence and gdb_assert.
4224
07473109
PA
42252015-04-10 Pedro Alves <palves@redhat.com>
4226
4227 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4228 test messages that don't include the breakpoint address.
4229
de3db44c
YQ
42302015-04-10 Yao Qi <yao.qi@linaro.org>
4231
4232 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4233 false for some offset and width combinations which aren't
4234 supported by linux kernel.
4235
c79d856c
PA
42362015-04-10 Pedro Alves <palves@redhat.com>
4237
4238 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4239 procedure, factored out from ...
4240 (top level): ... here. Add "set displaced-stepping" testing axis.
4241 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4242 parameter "displaced". Use it.
4243 (top level): Use foreach and add "set displaced-stepping" testing
4244 axis.
4245
ebc90b50
PA
42462015-04-10 Pedro Alves <palves@redhat.com>
4247
4248 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4249 Remove comment.
4250 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4251 both the address of the instruction that triggers the watchpoint
4252 and the address of the instruction immediately after, and use
4253 those addresses for the test. Fix comment.
4254
8f572e5c
PA
42552015-04-10 Pedro Alves <palves@redhat.com>
4256
4257 * gdb.base/sigstep.exp (breakpoint_to_handler)
4258 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4259 Test "backtrace" in handler.
4260 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4261 (top level): Add new "displaced" test axis to
4262 breakpoint_to_handler, breakpoint_to_handler_entry and
4263 breakpoint_over_handler.
4264
8d707a12
PA
42652015-04-10 Pedro Alves <palves@redhat.com>
4266
4267 PR gdb/18216
4268 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4269
ef713951
YQ
42702015-04-10 Yao Qi <yao.qi@linaro.org>
4271
4272 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4273 (test_add_rn_pc): New function.
4274 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4275 (top level): Invoke test_add_rn_pc.
4276
906d60cf
PA
42772015-04-10 Pedro Alves <palves@redhat.com>
4278
4279 PR gdb/13858
4280 * gdb.base/step-over-no-symbols.exp: New file.
4281
f2983cc3
AW
42822015-04-09 Andy Wingo <wingo@igalia.com>
4283
4284 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4285 after the Python tests.
4286
6d62641c
SDJ
42872015-04-08 Keith Seitz <keiths@redhat.com>
4288
4289 PR python/16699
4290 * gdb.python/py-completion.exp: New tests for completion.
4291 * gdb.python/py-completion.py (CompleteLimit1): New class.
4292 (CompleteLimit2): Likewise.
4293 (CompleteLimit3): Likewise.
4294 (CompleteLimit4): Likewise.
4295 (CompleteLimit5): Likewise.
4296 (CompleteLimit6): Likewise.
4297 (CompleteLimit7): Likewise.
4298
f3770638
PA
42992015-04-08 Pedro Alves <palves@redhat.com>
4300
4301 PR gdb/18214
4302 PR gdb/18216
4303 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4304 function.
4305 (main): Install it as SIGUSR1 handler.
4306 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4307 parameter. Always use "setup" as prefix. Toggle "set
4308 displaced-stepping" off/on depending on global. Don't switch to
4309 thread 1 here.
4310 (top level): Add displaced stepping "off/on" test axis. Update
4311 "setup" calls. Wrap each subtest with with_test_prefix. Test
4312 continuing with a queued signal in each thread.
4313
4496bed7
PA
43142015-04-08 Pedro Alves <palves@redhat.com>
4315
4316 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4317 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4318 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4319 Return early if running to main fails.
4320 * gdb.trace/while-stepping.exp: Likewise.
4321
b97fde92
PA
43222015-04-07 Pedro Alves <palves@redhat.com>
4323
4324 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4325 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4326 interact with inferior program.
4327
f71c18e7
PA
43282015-04-07 Pedro Alves <palves@redhat.com>
4329
4330 * lib/gdb.exp (inferior_spawn_id): New global.
4331 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4332 spawn id after processing the user code.
4333 (default_gdb_start): Set inferior_spawn_id.
4334 (send_inferior): New procedure.
4335 * lib/gdbserver-support.exp (gdbserver_start): Set
4336 inferior_spawn_id.
4337 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4338
6423214f
PA
43392015-04-07 Pedro Alves <palves@redhat.com>
4340
4341 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4342 * lib/gdbserver-support.exp (gdbserver_start): Make
4343 $server_spawn_id global.
4344 (gdbserver_start): Don't wait for gdbserver's spawn id with
4345 expect_background.
4346 (close_gdbserver): New procedure.
4347 (gdb_exit): Rename the default version and reimplement.
4348
71c0ee8c
PA
43492015-04-07 Pedro Alves <palves@redhat.com>
4350
72f4393d 4351 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
4352 append the substituted item, not the original item.
4353
203bc29b
PA
43542015-04-07 Pedro Alves <palves@redhat.com>
4355
4356 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4357 gdb_expect.
4358
508a3ddf
PA
43592015-04-07 Pedro Alves <palves@redhat.com>
4360
4361 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4362 output appearing once only.
4363
9f6dbe2b
PA
43642015-04-07 Pedro Alves <palves@redhat.com>
4365
4366 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4367 that doesn't expect anything. Return early if running to main
4368 fails.
4369
337532fa
YQ
43702015-04-07 Yao Qi <yao.qi@linaro.org>
4371
4372 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4373 (child_function): Call alarm.
4374 (main): Move call to alarm into the loop.
4375 * gdb.threads/non-stop-fair-events.exp: Build program with
4376 -DTIMEOUT=$timeout.
4377
01b622d4
DE
43782015-04-06 Doug Evans <xdje42@gmail.com>
4379
4380 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4381 Fix dest parameter to board_info.
4382 (fpc_compile): Ditto.
4383 (gdb_compile_pascal): Rename dest arg to destfile.
4384
961f4160
PMR
43852015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4386
4387 * gdb.ada/funcall_ref.exp: New file.
4388 * gdb.ada/funcall_ref/foo.adb: New file.
4389
cafda597
YQ
43902015-04-02 Yao Qi <yao.qi@linaro.org>
4391
4392 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4393 is remote.
4394
fed040c6
GB
43952015-04-02 Gary Benson <gbenson@redhat.com>
4396
4397 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4398
d11916aa
SS
43992015-04-01 Sasha Smundak <asmundak@google.com>
4400
4401 * gdb.python/py-unwind-maint.c: New file.
4402 * gdb.python/py-unwind-maint.exp: New test.
4403 * gdb.python/py-unwind-maint.py: New file.
4404 * gdb.python/py-unwind.c: New file.
4405 * gdb.python/py-unwind.exp: New test.
4406 * gdb.python/py-unwind.py: New test.
4407
a1471180
PA
44082015-04-01 Pedro Alves <palves@redhat.com>
4409
4410 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4411 to fail instead of non-existent $test.
4412
0bbeccb1
PA
44132015-04-01 Pedro Alves <palves@redhat.com>
4414
4415 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4416 GDBFLAGS if not empty.
4417
3c724c8c
PMR
44182015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4419
4420 * gdb.ada/complete.exp: Remove "multi_line".
4421 * gdb.ada/info_exc.exp: Remove "multi_line".
4422 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4423 * gdb.ada/ptype_field.exp: Remove "multi_line".
4424 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4425 * gdb.ada/tagged.exp: Remove "multi_line".
4426 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4427 [multi_line ...]
4428 * gdb.btrace/delta.exp: Likewise.
4429 * gdb.btrace/exception.exp: Likewise.
4430 * gdb.btrace/function_call_history.exp: Likewise.
4431 * gdb.btrace/instruction_history.exp: Likewise.
4432 * gdb.btrace/nohist.exp: Likewise.
4433 * gdb.btrace/record_goto.exp: Likewise.
4434 * gdb.btrace/segv.exp: Likewise.
4435 * gdb.btrace/stepi.exp: Likewise.
4436 * gdb.btrace/tailcall.exp: Likewise.
4437 * gdb.btrace/unknown_functions.exp: Likewise.
4438 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4439 * lib/gdb.exp: Add the "multi_line" helper.
4440
4eec2deb
PA
44412015-04-01 Pedro Alves <palves@redhat.com>
4442
4443 * gdb.threads/tid-reuse.c: New file.
4444 * gdb.threads/tid-reuse.exp: New file.
4445
df8411da
SDJ
44462015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4447
4448 PR corefiles/16092
4449 * gdb.base/coredump-filter.c: New file.
4450 * gdb.base/coredump-filter.exp: Likewise.
4451
6ef37366
PM
44522015-03-27 Petr Machata <pmachata@redhat.com>
4453
4454 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4455 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4456 (Dwarf::assemble): Initialize them.
4457 (Dwarf::lines): New function.
4458
7ec911b0
JT
44592015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4460
4461 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4462 SYMBOL_PREFIX for x86_64-*-cygwin.
4463
ff908ebf
AW
44642015-03-26 Andy Wingo <wingo@igalia.com>
4465
4466 PR symtab/18148
4467 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4468 const_value but not a location.
4469 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4470 location defined in non-main CUs are visible.
4471
6d5f0679
YQ
44722015-03-26 Yao Qi <yao.qi@linaro.org>
4473
4474 PR testsuite/18139
4475 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4476 Add a line number entry for the same line.
4477 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4478 Add a line number entry for the same line.
4479
2898689b
YQ
44802015-03-26 Yao Qi <yao.qi@linaro.org>
4481
4482 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4483 .int 0.
4484 (func): Likewise. Add .Lfunc_1 label.
4485 Use .Lfunc_1 label.
4486 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4487 .int 0.
4488 (func): Likewise.
4489 Use .Lfunc_1 label.
4490
85180498
YQ
44912015-03-26 Yao Qi <yao.qi@linaro.org>
4492
4493 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4494 Call gdb_compile instead to compile each .s files without debug
4495 information.
4496
8aa08a8d
YQ
44972015-03-26 Yao Qi <yao.qi@linaro.org>
4498
4499 * gdb.base/savedregs.exp (process_saved_regs): Make
4500 "Saved registers:" optional in the pattern.
4501
66849923
MM
45022015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4503
4504 * gdb.btrace/next.exp: Merged into step.exp.
4505 * gdb.btrace/finish.exp: Merged into step.exp.
4506 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4507 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4508 "record goto" and checking the exact replay position.
4509 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4510 check for "Recording format" in "info record" output.
4511 * gdb.btrace/record_goto.exp: Choose test file based on target.
4512 * gdb.btrace/x86-record_goto.S: Renamed into ...
4513 * gdb.btrace/x86_64-record_goto.S: ... this.
4514 * gdb.btrace/i686-record_goto.S: New.
4515 * gdb.btrace/x86-tailcall.S: Renamed into ...
4516 * gdb.btrace/x86_64-tailcall.S: ... this.
4517 * gdb.btrace/i686-tailcall.S: New.
4518 * gdb.btrace/x86-tailcall.c: Renamed into ...
4519 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4520 separate statements. Update test.
4521 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4522 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4523 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4524 * gdb.btrace/tailcall.exp: Choose test file based on target.
4525 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4526
11cc1b74
MM
45272015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4528
4529 * gdb.btrace/exception.exp: Increase BTS buffer size.
4530
a25d8bf9
PA
45312015-03-24 Pedro Alves <palves@redhat.com>
4532
4533 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4534
856e7dd6
PA
45352015-03-24 Pedro Alves <palves@redhat.com>
4536
4537 * gdb.threads/schedlock.exp (test_step): No longer expect that
4538 "set scheduler-locking step" with "next" over a function call runs
4539 threads unlocked.
4540
ad235a41
AT
45412015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4542
4543 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4544
15630549
AT
45452015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4546
4547 PR breakpoints/16466
4548 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4549 * gdb.mi/mi-pending.c (thread_func): New function.
4550 (int main): Add threading support required.
4551 * gdb.mi/mi-pending.exp: Add tests for this issue.
4552 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4553 (pendfunc2): Remove stdio dependency.
4554 * gdb.mi/mi-pendshr2.c: New file.
4555
693dca06
KS
45562015-03-23 Keith Seitz <keiths@redhat.com>
4557
4558 * gdb.linespec/keywords.c: New file.
4559 * gdb.linespec/keywords.exp: New file.
4560
7e993ebf
KS
45612015-03-23 Keith Seitz <keiths@redhat.com>
4562
4563 PR gdb/18021
4564 * gdb.dwarf2/staticvirtual.exp: New test.
4565
bc23328c
JK
45662015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4567
4568 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4569 * README: Remove HP-UX and gdb.hp.
4570 (configuration):
4571 * configure: Regenerate.
4572 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4573 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4574 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4575 gdb.hp/gdb.defects/Makefile.
4576 * gdb.hp/Makefile.in: File deleted.
4577 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4578 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4579 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4580 * gdb.hp/gdb.aCC/run.c: File deleted.
4581 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4582 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4583 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4584 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4585 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4586 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4587 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4588 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4589 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4590 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4591 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4592 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4593 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4594 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4595 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4596 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4597 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4598 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4599 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4600 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4601 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4602 * gdb.hp/gdb.compat/average.c: File deleted.
4603 * gdb.hp/gdb.compat/sum.c: File deleted.
4604 * gdb.hp/gdb.compat/xdb.c: File deleted.
4605 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4606 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4607 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4608 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4609 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4610 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4611 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4612 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4613 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4614 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4615 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4616 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4617 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4618 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4619 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4620 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4621 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4622 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4623 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4624 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4625 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4626 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4627 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4628 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4629 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4630 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4631 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4632 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4633 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4634 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4635 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4636 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4637 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4638 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4639 * gdb.hp/tools/odump: File deleted.
4640
8bf3b159
PA
46412015-03-19 Pedro Alves <palves@redhat.com>
4642
4643 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4644 (saw_thread_3): New globals.
4645 (top level): Increment them when an event for the corresponding
4646 thread is seen.
4647 (no thread starvation): New test.
4648
eb54c8bf
PA
46492015-03-19 Pedro Alves <palves@redhat.com>
4650
4651 * gdb.threads/continue-pending-status.c: New file.
4652 * gdb.threads/continue-pending-status.exp: New file.
4653
32d2e5d6
PA
46542015-03-18 Pedro Alves <palves@redhat.com>
4655
4656 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4657 Use gdb_is_target_remote instead of is_remote. Use
4658 gdb_test_multiple instead of gdb_expect. Exit early if
4659 gdb_test_multiple hits its internal matches. Tighten stepi tests
4660 expected output. Fail on exit with any signal, instead of just
4661 SIGILL.
4662
f68f11b7
YQ
46632015-03-18 Yao Qi <yao.qi@linaro.org>
4664
4665 PR tdep/18107
4666 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4667 variable.
4668 * gdb.base/catch-syscall.exp: Don't skip it on
4669 aarch64*-*-linux* target. Remove elements in all_syscalls.
4670 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4671 target.
4672 (setup_all_syscalls): New proc.
4673
ca5fd19b
YQ
46742015-03-16 Yao Qi <yao.qi@linaro.org>
4675
4676 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4677 (top level): Skip tests if valid_addr_p returns false for
4678 $cmd1 or $cmd2.
4679
85642ba0
AW
46802015-03-11 Andy Wingo <wingo@igalia.com>
4681
4682 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4683
e03f9645
YQ
46842015-03-11 Yao Qi <yao.qi@linaro.org>
4685
4686 * gdb.base/catch-syscall.exp: Fix typo in comments.
4687
5d0962b2
YQ
46882015-03-11 Yao Qi <yao.qi@linaro.org>
4689
4690 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4691
b2df3cef
PA
46922015-03-09 Pedro Alves <palves@redhat.com>
4693
4694 * dg-extract-results.py: Delete.
4695
ef878e53
PA
46962015-03-09 Pedro Alves <palves@redhat.com>
4697
4698 Merge dg-extract-results.sh from GCC upstream (r218843).
4699
4700 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4701 * dg-extract-results.sh: Use --text with grep to avoid issues with
4702 binary files. Fall back to cat -v, if that doesn't work.
4703
9494d219
PA
47042015-03-05 Pedro Alves <palves@redhat.com>
4705
4706 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4707
a8d9763a
SM
47082015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4709
4710 * lib/mi-support.exp (mi_expect_interrupt): Accept
4711 alternative event for when in all-stop mode.
4712
be9957b8
PA
47132015-03-04 Pedro Alves <palves@redhat.com>
4714
4715 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4716
d57be0f4 47172015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
4718
4719 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4720
c214c7cf
AA
47212015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4722
4723 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4724 regexps for GDB's current line display, accept a hex address
4725 preceding the line number.
4726
6d74a497
AA
47272015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4728
4729 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4730 the 'arch1' variable for "s390*-linux*" targets.
4731
511aee7c
PA
47322015-03-04 Pedro Alves <palves@redhat.com>
4733
4734 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4735 (main): Pass missing retval argument to pthread_join call.
4736
95e50b27
PA
47372015-03-02 Pedro Alves <palves@redhat.com>
4738
4739 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4740 (top level): Call do_test with non-stop as well.
4741
28054d69
PA
47422015-03-02 Pedro Alves <palves@redhat.com>
4743
4744 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4745 -1.
4746
4fa5d7b4
AA
47472015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4748
4749 * gdb.arch/s390-vregs.exp: New test.
4750 * gdb.arch/s390-vregs.S: New file.
4751
97c18565
PA
47522015-02-27 Pedro Alves <palves@redhat.com>
4753
4754 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4755 call to catch_command_errors.
4756 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4757 catch_command_errors.
4758
a37bfa30
PA
47592015-02-27 Pedro Alves <palves@redhat.com>
4760
4761 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4762 "true" for boolean result.
4763 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4764 prototype of main.
4765
6f98576f
PA
47662015-02-27 Pedro Alves <palves@redhat.com>
4767
4768 * lib/unbuffer_output.c: New file.
4769 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4770 (main): Call gdb_unbuffer_output.
4771
eba5ab56
YQ
47722015-02-27 Yao Qi <yao.qi@linaro.org>
4773
4774 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4775 target.
4776
0def5aaa
DE
47772015-02-26 Doug Evans <dje@google.com>
4778
4779 * gdb.cp/class2.cc (Dbase, D): New classes.
4780 (main): New local delta.
4781 * gdb.cp/class2.exp: Test printing delta.
4782 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4783 (dynbar): New global.
4784 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4785
081a1c2c
JK
47862015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4787
4788 * gdb.compile/compile-ifunc.c: New file.
4789 * gdb.compile/compile-ifunc.exp: New file.
4790
2f41223f
AT
47912015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4792
4793 * gdb.base/structs.exp: Check for correct struct on finish.
4794
03eddd80
YQ
47952015-02-26 Yao Qi <yao.qi@linaro.org>
4796
4797 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4798 is zero.
4799
80c57053
JK
48002015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4801
4802 * gdb.arch/cordic.ko.bz2: New file.
4803 * gdb.arch/cordic.ko.debug.bz2: New file.
4804 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4805
21613c12
YQ
48062015-02-25 Yao Qi <yao.qi@linaro.org>
4807
4808 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4809 aarch64*-*-* target.
4810
d8b901ed
PA
48112015-02-23 Pedro Alves <palves@redhat.com>
4812
4813 * lib/gdb.exp (delete_breakpoints): Rewrite using
4814 gdb_test_multiple.
4815
e5b85ead
PA
48162015-02-23 Pedro Alves <palves@redhat.com>
4817
4818 * gdb.base/info-os.c: Include stdlib.h.
4819
85c3a371
DE
48202015-02-22 Doug Evans <xdje42@gmail.com>
4821
4822 PR symtab/17855
4823 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4824 is read after symbols have been re-read.
4825 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4826 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4827
96553a0c
DE
48282015-02-21 Doug Evans <dje@google.com>
4829
4830 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4831
97a0c697
JK
48322015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4833
4834 PR corefiles/17808
4835 * gdb.arch/i386-biarch-core.core.bz2: New file.
4836 * gdb.arch/i386-biarch-core.exp: New file.
4837
a47cd6e9
PA
48382015-02-21 Pedro Alves <palves@redhat.com>
4839
4840 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4841 runto_main fails.
4842
c5facdc4
PA
48432015-02-20 Pedro Alves <palves@redhat.com>
4844
4845 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4846 info probes.
4847
2db9a427
PA
48482015-02-20 Pedro Alves <palves@redhat.com>
4849
4850 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4851
60fb7e9e
PA
48522015-02-20 Pedro Alves <palves@redhat.com>
4853
4854 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4855 clean_restart before gdb_target_supports_trace.
4856
5c5019c2
PA
48572015-02-20 Pedro Alves <palves@redhat.com>
4858
4859 PR threads/18006
4860 * gdb.threads/clone-thread_db.c: New file.
4861 * gdb.threads/clone-thread_db.exp: New file.
4862
c9587f88
AT
48632015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4864
4865 PR breakpoints/16812
4866 * gdb.base/catch-gdb-caused-signals.c: New file.
4867 * gdb.base/catch-gdb-caused-signals.exp: New file.
4868
f6a88844
JM
48692015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4870
4871 * configure: Regenerated.
4872 * configure.ac: Use GDB_AC_TRANSFORM.
4873 * aclocal.m4: sinclude ../transform.m4.
4874
497c491b
JM
48752015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4876
4877 * lib/dtrace.exp: New file.
4878 * gdb.base/dtrace-probe.exp: Likewise.
4879 * gdb.base/dtrace-probe.d: Likewise.
4880 * gdb.base/dtrace-probe.c: Likewise.
4881 * lib/pdtrace.in: Likewise.
4882 * configure.ac: Output variables with the transformed names of
4883 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4884 * configure: Regenerated.
4885
03e98035
JM
48862015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4887
4888 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4889 expected message when trying to access $_probe_* convenience
4890 variables while not on a probe.
4891
63cc30e9
JK
48922015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4893
4894 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4895
0703599a
PA
48962015-02-11 Pedro Alves <pedro@codesourcery.com>
4897
4898 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4899 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4900
7e60a48e
DE
49012015-02-10 Doug Evans <xdje42@gmail.com>
4902
4903 * lib/gdb.exp (gdb_load): Always return a result.
4904
01b088bc
PA
49052015-02-10 Pedro Alves <palves@redhat.com>
4906
4907 * gdb.threads/signal-sigtrap.c: New file.
4908 * gdb.threads/signal-sigtrap.exp: New file.
4909
b05ec7a5
AT
49102015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4911
4912 * gdb.trace/no-attach-trace.c: New file.
4913 * gdb.trace/no-attach-trace.exp: New file.
4914
a2c2acaf
MW
49152015-02-09 Mark Wielaard <mjw@redhat.com>
4916
4917 * gdb.dwarf2/atomic.c: New file.
4918 * gdb.dwarf2/atomic-type.exp: Likewise.
4919
31fd9caa
MM
49202015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4921
4922 * gdb.btrace/buffer-size.exp: Update "info record" output.
4923 * gdb.btrace/delta.exp: Update "info record" output.
4924 * gdb.btrace/enable.exp: Update "info record" output.
4925 * gdb.btrace/finish.exp: Update "info record" output.
4926 * gdb.btrace/instruction_history.exp: Update "info record" output.
4927 * gdb.btrace/next.exp: Update "info record" output.
4928 * gdb.btrace/nexti.exp: Update "info record" output.
4929 * gdb.btrace/step.exp: Update "info record" output.
4930 * gdb.btrace/stepi.exp: Update "info record" output.
4931 * gdb.btrace/nohist.exp: Update "info record" output.
4932
d33501a5
MM
49332015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4934
4935 * gdb.btrace/buffer-size: New.
4936
f4abbc16
MM
49372015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4938
4939 * gdb.btrace/delta.exp: Update "info record" output.
4940 * gdb.btrace/enable.exp: Update "info record" output.
4941 * gdb.btrace/finish.exp: Update "info record" output.
4942 * gdb.btrace/instruction_history.exp: Update "info record" output.
4943 * gdb.btrace/next.exp: Update "info record" output.
4944 * gdb.btrace/nexti.exp: Update "info record" output.
4945 * gdb.btrace/step.exp: Update "info record" output.
4946 * gdb.btrace/stepi.exp: Update "info record" output.
4947 * gdb.btrace/nohist.exp: Update "info record" output.
4948
b9d61307
SM
49492015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4950
4951 PR gdb/15678
4952 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4953
e584fdbc
PA
49542015-02-06 Pedro Alves <palves@redhat.com>
4955
4956 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4957 macro.
4958 (seconds_left, again): New globals.
4959 (main): Wait seconds_left in a 1-second sleep loop instead of
4960 sleeping 180 seconds. If 'again' is set, reset the seconds
4961 counter.
4962 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4963 'again' in the inferior before detaching. Print the seconds left.
4964 (options): New global.
4965 (top level): Build program with -DTIMEOUT=$timeout.
4966
77f41761
PA
49672015-02-06 Pedro Alves <palves@redhat.com>
4968
4969 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4970 determine how many seconds to pass to 'alarm'.
4971 * gdb.base/gdb-sigterm.exp (top level): Build program with
4972 -DTIMEOUT=$timeout.
4973 (do_test): Return success/failure indication. Add more verbose
4974 logging. Don't fail if 200 single steps are seen. Instead, fail
4975 when the test times out.
4976 (passes): New global.
4977 (top level): Break the testing loop if testing fails on any
4978 iteration. Use gdb_assert.
4979
b9394193
DB
49802015-02-04 Don Breazeal <donb@codesourcery.com>
4981
4982 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4983 and initialize them.
4984 (ipc_cleanup): New function.
4985 (main): Don't declare shmid, semid, and msqid. Add a call to
4986 atexit so that we call ipc_cleanup on exit.
4987
42d9e528
PA
49882015-02-04 Pedro Alves <palves@redhat.com>
4989
4990 * boards/native-extended-gdbserver.exp: Remove any target variant
4991 specifications from the board name before clearing the isremote
4992 flag from board_info.
4993
ae6ae975
DE
49942015-01-31 Doug Evans <xdje42@gmail.com>
4995
4996 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4997
cfb069a8
GB
49982015-01-31 Gary Benson <gbenson@redhat.com>
4999
5000 * gdb.base/completion.exp: Disable completion limiting for
5001 existing tests. Add new tests to check completion limiting.
5002 * gdb.linespec/ls-errs.exp: Disable completion limiting.
5003
5dd31d79
DE
50042015-01-31 Doug Evans <xdje42@gmail.com>
5005
5006 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
5007
9f050062
DE
50082015-01-31 Doug Evans <xdje42@gmail.com>
5009
5010 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
5011 entries. Duplicate file section script entries.
5012 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
5013 inlined entries. Add test for safe-path rejection.
5014 * gdb.python/py-section-script.c: Add duplicate inlined section script
5015 entries. Duplicate file section script entries.
5016 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5017 inlined entries. Add test for safe-path rejection.
5018
df25ebbd
JB
50192015-01-29 Joel Brobecker <brobecker@adacore.com>
5020
5021 * gdb.ada/disc_arr_bound: New testcase.
5022
4a0ca9ec
JB
50232015-01-29 Joel Brobecker <brobecker@adacore.com>
5024
5025 * gdb.ada/mi_var_array: New testcase.
5026
3a8b707a
DE
50272015-01-27 Doug Evans <dje@google.com>
5028
5029 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5030 Add test for objfile.filename, objfile.username after objfile
5031 has been unloaded.
5032
f8313f6e
JB
50332015-01-26 Joel Brobecker <brobecker@adacore.com>
5034
5035 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5036 the second test to print the name attribute of value
5037 returned by the call to gdb.lookup_type, and adjust
5038 the expected output accordingly.
5039
37bc665e
MW
50402015-01-25 Mark Wielaard <mjw@redhat.com>
5041
5042 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5043 * gdb.base/disp-step-fork.c: Include unistd.h.
5044 * gdb.base/siginfo-obj.c: Include stdio.h.
5045 * gdb.base/siginfo-thread.c: Likewise.
5046 * gdb.mi/non-stop.c: Include unistd.h.
5047 * gdb.mi/nsthrexec.c: Include stdio.h.
5048 * gdb.mi/pthreads.c: Include unistd.h.
5049 * gdb.modula2/unbounded1.c (main): Declare returns int.
5050 * gdb.reverse/consecutive-reverse.c: Likewise.
5051 * gdb.threads/create-fail.c: Include unistd.h.
5052 * gdb.threads/killed.c: Likewise.
5053 * gdb.threads/linux-dp.c: Likewise.
5054 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5055 * gdb.threads/non-ldr-exc-2.c: Likewise.
5056 * gdb.threads/non-ldr-exc-3.c: Likewise.
5057 * gdb.threads/non-ldr-exc-4.c: Likewise.
5058 * gdb.threads/pthreads.c: Include unistd.h.
5059 (main): Declare returns int.
5060 * gdb.threads/tls-main.c (foo): New declaration.
5061 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5062
f7e5394d
SM
50632015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5064
5065 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5066 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5067
743649fd
MW
50682015-01-15 Mark Wielaard <mjw@redhat.com>
5069
5070 * gdb.base/noreturn-return.c: New file.
5071 * gdb.base/noreturn-return.exp: New file.
5072 * gdb.base/noreturn-finish.c: New file.
5073 * gdb.base/noreturn-finish.exp: New file.
5074
198297aa
PA
50752015-01-23 Pedro Alves <palves@redhat.com>
5076
5077 * gdb.threads/continue-pending-after-query.c: New file.
5078 * gdb.threads/continue-pending-after-query.exp: New file.
5079
717cf30c
AG
50802015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5081 Simon Marchi <simon.marchi@ericsson.com>
5082
5083 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5084 * gdb.base/valgrind-db-attach.exp: Same.
5085 * gdb.base/valgrind-infcall.exp: Same.
5086 * lib/mi-support.exp (default_mi_gdb_start): Same.
5087 * lib/prompt.exp (default_prompt_gdb_start): Same.
5088 * lib/gdb.exp (default_gdb_spawn): Same.
5089 (gdb_interact): New.
5090
5091
4b62a76e
JK
50922015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5093
5094 * gdb.compile/compile.exp (pointer to jit function): New test.
5095
b4cdae6f
WW
50962015-01-17 Wei-cheng Wang <cole945@gmail.com>
5097
5098 * lib/gdb.exp (supports_process_record): Return true for
5099 powerpc*-*-linux*.
5100 (supports_reverse): Likewise.
5101
d221e7ef
DB
51022015-01-15 Don Breazeal <donb@codesourcery.com>
5103
5104 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5105 instead of checking whether the target board is remote and
5106 use spawn_wait_for_attach instead of exec/sleep.
5107 * gdb.base/attach-twice.exp: Likewise.
5108
bafffb51
JB
51092015-01-15 Joel Brobecker <brobecker@adacore.com>
5110
5111 * gdb.ada/var_arr_attrs: New testcase.
5112
5589af0e
PA
51132015-01-14 Pedro Alves <palves@redhat.com>
5114 Joel Brobecker <brobecker@adacore.com>
5115
5116 PR gdb/17525
5117 * gdb.base/bp-cmds-execution-x-script.c: New file.
5118 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5119 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5120
6c400b59
PA
51212015-01-14 Pedro Alves <palves@redhat.com>
5122
5123 PR cli/17828
5124 * gdb.base/batch-preserve-term-settings.c: New file.
5125 * gdb.base/batch-preserve-term-settings.exp: New file.
5126
e02c96a7
DE
51272015-01-13 Doug Evans <dje@google.com>
5128
5129 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5130 binary.
5131
576fd14c
JB
51322015-01-13 Joel Brobecker <brobecker@adacore.com>
5133
5134 * Makefile.in (clean mostlyclean): Do not delete *.py.
5135
04dccad0
JB
51362015-01-13 Joel Brobecker <brobecker@adacore.com>
5137
5138 * gdb.python/py-lookup-type.exp: New file.
5139
3d230f71
PA
51402015-01-12 Pedro Alves <palves@redhat.com>
5141
5142 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5143 restore GDBFLAGS before returning.
5144
7e67715d
JK
51452015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5146
5147 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5148 is_amd64_regs_target and is_x86_like_target.
5149
f2e0d4b4
DE
51502015-01-11 Doug Evans <xdje42@gmail.com>
5151
5152 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5153 is given without an explicit form.
5154 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5155 attributes.
5156 * gdb.dwarf/corrupt.exp: Ditto.
5157 * gdb.dwarf2/enum-type.exp: Ditto.
5158 * gdb.trace/entry-values.exp: Ditto.
5159 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5160
439250fb
DE
51612015-01-11 Doug Evans <xdje42@gmail.com>
5162
5163 PR gdb/15830
5164 * gdb.base/maint.exp: Remove references to "maint demangle".
5165 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5166 Add tests for explicitly specifying language to demangle.
5167 * gdb.dlang/demangle.exp: Ditto.
5168
ede9f622
PA
51692015-01-09 Pedro Alves <palves@redhat.com>
5170
5171 * gdb.threads/non-stop-fair-events.c: New file.
5172 * gdb.threads/non-stop-fair-events.exp: New file.
5173
a7b796db
PA
51742015-01-09 Pedro Alves <palves@redhat.com>
5175
5176 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5177 the global scope. Set a breakpoint after all threads are started
5178 rather than stepping over two source lines. Expect the prompt.
5179 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5180 global.
5181 (NUM): Now 15.
5182 (main): Use threads_started_barrier to wait for all threads to
5183 start. Main thread no longer calls thread_function. Exit after
5184 180 seconds.
5185 (loop): New function.
5186 (thread_function): Wait on threads_started_barrier barrier. Call
5187 'loop' at each iteration.
5188 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5189 threads have started, instead of hardcoding number of "next"
5190 steps. Use an access watchpoint instead of a write watchpoint.
5191
9665ffdd
PA
51922015-01-09 Pedro Alves <palves@redhat.com>
5193
5194 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5195 (thread_func): Wait on barrier.
5196 (main): Wait for all threads to start before stopping GDB.
5197 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5198 global.
5199 (thread1_func, thread2_func): Wait on barrier.
5200 (main): Wait for all threads to start before stopping GDB.
5201 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5202 New global.
5203 (thread1_func, thread2_func): Wait on barrier.
5204 (main): Wait for all threads to start before stopping GDB.
5205
c945a99f
PA
52062015-01-09 Pedro Alves <palves@redhat.com>
5207
5208 * gdb.threads/attach-many-short-lived-threads.c: New file.
5209 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5210
c1a747c1
PA
52112014-01-09 Pedro Alves <palves@redhat.com>
5212
5213 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5214 instead of to thread 2.
5215 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5216 Add barrier around each pthread_create call instead of around all
5217 calls.
5218 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5219 Set a break on thread_function and have the child threads hit it
5220 one at at a time.
5221
60b3033e
PA
52222015-01-09 Pedro Alves <palves@redhat.com>
5223
5224 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5225 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5226 false.
5227 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5228 checking whether the target board is remote.
5229 * gdb.multi/multi-attach.exp: Likewise.
5230 * gdb.python/py-sync-interp.exp: Likewise.
5231 * gdb.server/ext-attach.exp: Likewise.
5232 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5233 tests that need to attach, instead of checking whether the target
5234 board is remote at the top of the file.
5235
acc018ac
YQ
52362015-01-08 Yao Qi <yao@codesourcery.com>
5237
5238 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5239
50a18af8
JK
52402015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5241
5242 Fix testcase compilation.
5243 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5244
8503d6e1
JB
52452015-01-06 Joel Brobecker <brobecker@adacore.com>
5246
5247 * gdb.python/py-type.exp: Add a couple test about empty
5248 array creation, and negative-length array creation.
5249
cc73dbcc
DE
52502015-01-02 Doug Evans <xdje42@gmail.com>
5251
5252 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5253
0300bbc7
DE
52542015-01-02 Doug Evans <dje@google.com>
5255
5256 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5257
9d85a0ec
YQ
52582014-12-29 Yao Qi <yao@codesourcery.com>
5259
5260 * gdb.trace/entry-values.exp: Update comments. Rename variable
5261 bar_call_foo to returned_from_foo.
5262
87186c6a
MMN
52632014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5264
5265 PR gdb/17394
5266 * gdb.linespec/break-asm-file.c: New file.
5267 * gdb.linespec/break-asm-file.exp: New file.
5268 * gdb.linespec/break-asm-file0.s: New file.
5269 * gdb.linespec/break-asm-file1.s: New file.
5270
1bab7383
YQ
52712014-12-18 Nigel Stephens <nigel@mips.com>
5272 Maciej W. Rozycki <macro@codesourcery.com>
5273
5274 * gdb.base/float.exp: Handle the new output from "info float" on
5275 MIPS targets.
5276
1bc1068a
JK
52772014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5278
5279 Fix MinGW compilation.
5280 * gdb.compile/compile-ops.exp: Update untested message if
5281 !skip_compile_feature_tests.
5282 * gdb.compile/compile-setjmp.exp: Likewise.
5283 * gdb.compile/compile-tls.exp: Likewise.
5284 * gdb.compile/compile.exp: Likewise.
5285 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5286 supported on this host".
5287
b6615d10
DE
52882014-12-16 Doug Evans <xdje42@gmail.com>
5289
5290 * boards/stabs.exp: New file.
5291
25dda427
AA
52922014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5293
5294 * gdb.base/completion.exp: Adjust to format changes of "maint
5295 print user-registers".
5296
bf330350
CU
52972014-12-16 Catalin Udma <catalin.udma@freescale.com>
5298
5299 PR server/17457
5300 * gdb.arch/aarch64-fp.c: New file.
5301 * gdb.arch/aarch64-fp.exp: New file.
5302
395cf596
SDJ
53032014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5304
5305 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5306 r210637, r210913, r211666, r215400, r215817).
5307
5308 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5309 * dg-extract-results.py: New file.
5310 * dg-extract-results.sh: Use it if the environment seems
5311 suitable.
5312
5313 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5314
5315 * dg-extract-results.py (parse_run): Handle warnings that
5316 are printed before a test harness is run.
5317
5318 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5319
5320 * dg-extract-results.py (Named): Remove __cmp__ method.
5321 (output_variation): Use a key to sort variation.harnesses.
5322
5323 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5324
5325 * dg-extract-results.py: For Python 3, force sys.stdout to
5326 handle surrogate escape sequences.
5327 (safe_open): New function.
5328 (output_segment, main): Use it.
5329
5330 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5331
5332 * dg-extract-results.py (Prog.result_re): Include options
5333 in test name.
5334
5335 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5336
5337 * dg-extract-results.py (output_variation): Always sort if
5338 do_sum.
5339
e882ef3c
SM
53402014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5341
5342 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5343 as long as we get pagination notifications.
5344
4992aa20
JM
53452014-12-15 Jason Merrill <jason@redhat.com>
5346
5347 * Makefile.in (check-gdb.%): Restore.
5348 * README: Mention it.
5349
c1b5a1a6
JB
53502014-12-13 Joel Brobecker <brobecker@adacore.com>
5351
5352 * gdb.ada/str_uninit: New testcase.
5353
5537b577
JK
53542014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5355
5356 PR symtab/17642
5357 * gdb.base/vla-stub-define.c: New file.
5358 * gdb.base/vla-stub.c: New file.
5359 * gdb.base/vla-stub.exp: New file.
5360
bb2ec1b3
TT
53612014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5362 Jan Kratochvil <jan.kratochvil@redhat.com>
5363 Tom Tromey <tromey@redhat.com>
5364
5365 * configure.ac: Add gdb.compile/.
5366 * configure: Regenerate.
5367 * gdb.compile/Makefile.in: New file.
5368 * gdb.compile/compile-ops.exp: New file.
5369 * gdb.compile/compile-ops.c: New file.
5370 * gdb.compile/compile-tls.c: New file.
5371 * gdb.compile/compile-tls.exp: New file.
5372 * gdb.compile/compile-constvar.S: New file.
5373 * gdb.compile/compile-constvar.c: New file.
5374 * gdb.compile/compile-mod.c: New file.
5375 * gdb.compile/compile-nodebug.c: New file.
5376 * gdb.compile/compile-setjmp-mod.c: New file.
5377 * gdb.compile/compile-setjmp.c: New file.
5378 * gdb.compile/compile-setjmp.exp: New file.
5379 * gdb.compile/compile-shlib.c: New file.
5380 * gdb.compile/compile.c: New file.
5381 * gdb.compile/compile.exp: New file.
5382 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5383
4ff709eb
TT
53842014-12-12 Tom Tromey <tromey@redhat.com>
5385
5386 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5387 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5388
6dddd6a5
DE
53892014-12-12 Doug Evans <dje@google.com>
5390
5391 * lib/gdb-python.exp (get_python_valueof): New function.
5392 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5393
71c24708
AA
53942014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5395
5396 * gdb.base/completion.exp: Add test for completion of "info
5397 registers ".
5398
3e29f34a
MR
53992014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5400
5401 * gdb.base/func-ptrs.c: New file.
5402 * gdb.base/func-ptrs.exp: New file.
5403
fc126975
SM
54042014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5405
5406 PR breakpoints/17012
5407 * gdb.base/dprintf-detach.c: New file.
5408 * gdb.base/dprintf-detach.exp: New file.
5409
0a46d518
SM
54102014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5411
5412 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5413 * lib/gdb.exp (target_is_gdbserver): New procedure.
5414
a0be3e44
DE
54152014-12-08 Doug Evans <dje@google.com>
5416
5417 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5418
df1b803a
YQ
54192014-12-05 Yao Qi <yao@codesourcery.com>
5420
5421 * gdb.guile/scm-error.exp: Remove the third argument to
5422 gdb_remote_download.
5423 * gdb.guile/scm-frame-args.exp: Likewise.
5424 * gdb.guile/scm-section-script.exp: Likewise.
5425
ddb9f679
YQ
54262014-12-05 Yao Qi <yao@codesourcery.com>
5427
5428 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5429
86e4ed39
DE
54302014-12-04 Doug Evans <dje@google.com>
5431
5432 * gdb.python/py-objfile.exp: Add tests for
5433 objfile.add_separate_debug_file.
5434
7c50a931
DE
54352014-12-04 Doug Evans <dje@google.com>
5436
5437 * lib/gdb.exp (get_build_id): New function.
5438 (build_id_debug_filename_get): Rewrite to use it.
5439 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5440
621661e3
MR
54412014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5442
5443 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5444 `method(long)', not just 0x0.
5445 * gdb.cp/nsalias.exp: Align code labels to 4.
5446 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5447 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5448 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5449 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5450 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5451 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5452
29f0c3b7
DE
54532014-12-02 Doug Evans <dje@google.com>
5454
e1e061e7 5455 PR symtab/17602
29f0c3b7 5456 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 5457 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
5458 * gdb.cp/anon-ns.exp: Update.
5459
162078c8
NB
54602014-12-02 Nick Bull <nicholaspbull@gmail.com>
5461
5462 * gdb.python/py-events.py (inferior_call_handler): New.
5463 (register_changed_handler, memory_changed_handler): New.
5464 (test_events.invoke): Register new handlers.
5465 * gdb.python/py-events.exp: Add tests for inferior call,
5466 memory_changed and register_changed events.
5467
fdb09caf
AA
54682014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5469
5470 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5471 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5472 if the linker doesn't understand this.
5473
55cfb2c4
SM
54742014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5475
5476 * gdb.python/python.exp: Change expected reply to help().
5477
9e8cd6df
YQ
54782014-12-01 Yao Qi <yao@codesourcery.com>
5479
5480 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5481 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5482 * configure: Re-generated.
5483
6c659fc2
SC
54842014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5485
5486 * gdb.cp/chained-calls.cc: New file.
5487 * gdb.cp/chained-calls.exp: New file.
5488 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5489
d7fc3181
SM
54902014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5491
5492 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5493 * gdb.dwarf2/symtab-producer.exp: Same.
5494 * gdb.gdb/python-interrupts.exp: Same.
5495 * gdb.gdb/python-selftest.exp: Same.
5496 * gdb.python/py-linetable.exp: Same.
5497 * gdb.python/py-type.exp: Same.
5498 * gdb.python/py-value-cc.exp: Same.
5499 * gdb.python/py-value.exp: Same.
5500
10e79639
YQ
55012014-11-28 Yao Qi <yao@codesourcery.com>
5502
5503 * gdb.base/break-probes.exp: Match library name prefixed with
5504 sysroot.
5505
f28a0564
SM
55062014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5507
5508 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5509 test expected output. Add parentheses for the call to print.
5510 Remove L suffix from integers.
5511
3fe1ce1d
DE
55122014-11-26 Doug Evans <dje@google.com>
5513
5514 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5515
84429e27
YQ
55162014-11-22 Yao Qi <yao@codesourcery.com>
5517
5518 * gdb.trace/entry-values.c: Remove asms.
5519 (foo): Add foo_label.
5520 (bar): Add bar_label.
5521 * gdb.trace/entry-values.exp: Remove code computing foo's
5522 length and bar's length.
5523 (Dwarf::assemble): Invoke function_range for bar and use
5524 MACRO_AT_func for foo.
5525
26741859
YQ
55262014-11-22 Yao Qi <yao@codesourcery.com>
5527
5528 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5529 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5530 Use .Lgcc43_procstart instead of gcc43.
5531
45e44d27
JB
55322014-11-21 Joel Brobecker <brobecker@adacore.com>
5533
5534 * gdb.ada/n_arr_bound: New testcase.
5535
458c8db8
SDJ
55362014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5537
5538 PR breakpoints/10737
5539 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5540 test_catch_syscall_multi_arch.
5541 (test_catch_syscall_multi_arch): New function.
5542
43f3e411
DE
55432014-11-20 Doug Evans <xdje42@gmail.com>
5544
5545 * gdb.base/maint.exp: Update expected output.
5546
0d7b2549
AA
55472014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5548
5549 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5550 4-byte instruction on S390.
5551
8908fca5
JB
55522014-11-19 Joel Brobecker <brobecker@adacore.com>
5553
5554 * gdb.ada/arr_arr: New testcase.
5555
4a46959e
JB
55562014-11-19 Joel Brobecker <brobecker@adacore.com>
5557
5558 * gdb.ada/pkd_arr_elem: New Testcase.
5559
470e2f4e
LM
55602014-11-18 Luis Machado <lgustavo@codesourcery.com>
5561
5562 * gdb.reverse/break-precsave: Expect completion message for
5563 core file reads.
5564 * gdb.reverse/consecutive-precsave.exp: Likewise.
5565 * gdb.reverse/finish-precsave.exp: Likewise.
5566 * gdb.reverse/i386-precsave.exp: Likewise.
5567 * gdb.reverse/machinestate-precsave.exp: Likewise.
5568 * gdb.reverse/sigall-precsave.exp: Likewise.
5569 * gdb.reverse/solib-precsave.exp: Likewise.
5570 * gdb.reverse/step-precsave.exp: Likewise.
5571 * gdb.reverse/until-precsave.exp: Likewise.
5572 * gdb.reverse/watch-precsave.exp: Likewise.
5573
a267f3ad
AA
55742014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5575
5576 * gdb.base/bp-permanent.c: Include unistd.h.
5577 * gdb.python/py-framefilter-mi.c (main): Add return type.
5578 * gdb.python/py-framefilter.c (main): Likewise.
5579 * gdb.trace/actions-changed.c (main): Likewise.
5580
12084a9a
AA
55812014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5582
5583 * gdb.mi/until.c: Add eye-catchers.
5584 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5585 line numbers.
5586
dc7e1a77
AA
55872014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5588
5589 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5590 function header variants in break1.c.
5591 * gdb.base/ena-dis-br.exp: Likewise.
5592 * gdb.base/hbreak2.exp: Likewise.
5593 * gdb.reverse/until-precsave.exp: Drop references to removed
5594 non-prototype function header variants in ur1.c.
5595 * gdb.reverse/until-reverse.exp: Likewise.
5596
41c77605
PM
55972014-11-17 Petr Machata <pmachata@redhat.com>
5598
5599 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5600 ${_cu_offset_size} bytes abbrev offset.
5601
34248c3a
DE
56022014-11-15 Doug Evans <xdje42@gmail.com>
5603
5604 PR symtab/17559
5605 * gdb.base/line-symtabs.exp: New file.
5606 * gdb.base/line-symtabs.c: New file.
5607 * gdb.base/line-symtabs.h: New file.
5608
646da059
YQ
56092014-11-14 Yao Qi <yao@codesourcery.com>
5610
5611 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5612 (func): Add label func_label.
5613 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5614 Replace low_pc and high_pc with MACRO_AT_range.
5615 Replace name, low_pc and high_pc with MACRO_AT_func.
5616
9301ebe6
YQ
56172014-11-14 Yao Qi <yao@codesourcery.com>
5618
5619 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5620 Replace name, low_pc and high_pc with MACRO_AT_func.
5621
f166b542
YQ
56222014-11-14 Yao Qi <yao@codesourcery.com>
5623
5624 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5625 produce debug information.
5626 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5627
0f6e71e3
YQ
56282014-11-14 Yao Qi <yao@codesourcery.com>
5629
5630 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5631 object and get function length.
5632 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5633 with MACRO_AT_func.
5634 (top-level): Replace gdb_compile and clean_restart with
5635 prepare_for_testing.
5636 * gdb.dwarf2/main.c (main): Add label main_label.
5637
876c4df9
YQ
56382014-11-14 Yao Qi <yao@codesourcery.com>
5639
5640 * lib/dwarf.exp (function_range): New procedure.
5641 (Dwarf::_handle_macro_at_func): New procedure.
5642 (Dwarf::_handle_macro_at_range): New procedure.
5643 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5644
02ad9cf1
YQ
56452014-11-14 Yao Qi <yao@codesourcery.com>
5646
5647 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5648 (_handle_attribute): New procedure.
5649
a59add0c
AA
56502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5651
5652 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5653 * gdb.base/call-sc.c (zed): Likewise.
5654 * gdb.base/checkpoint.c (main): Likewise.
5655 * gdb.base/dump.c (main): Likewise.
5656 * gdb.base/gcore.c (main): Likewise.
5657 * gdb.base/huge.c (main): Likewise.
5658 * gdb.base/multi-forks.c (main): Likewise.
5659 * gdb.base/pr10179-a.c (main): Likewise.
5660 * gdb.base/savedregs.c (main): Likewise.
5661 * gdb.base/sigaltstack.c (main): Likewise.
5662 * gdb.base/siginfo.c (main): Likewise.
5663 * gdb.base/structs.c (zed): Likewise.
5664 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5665 * gdb.mi/mi-syn-frame.c (main): Likewise.
5666 * gdb.mi/until.c (foo, main): Likewise.
5667 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5668 * gdb.base/solib-weak.c (foo): Declare.
5669 * gdb.base/attach-twice.c: Include stdio.h.
5670 * gdb.base/weaklib1.c: Likewise.
5671 * gdb.base/weaklib2.c: Likewise.
5672 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5673 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5674 unistd.h.
5675 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5676 * gdb.mi/mi-exit-code.c: Likewise.
5677 * gdb.base/break-interp-lib.c: Include string.h.
5678 * gdb.base/coremaker.c: Likewise.
5679 * gdb.base/testenv.c: Likewise.
5680 * gdb.python/py-finish-breakpoint.c: Likewise.
5681 * gdb.base/inferior-died.c: Include sys/wait.h.
5682 * gdb.base/fileio.c: Include time.h.
5683 * gdb.base/async-shell.c: Include unistd.h.
5684 * gdb.base/dprintf-non-stop.c: Likewise.
5685 * gdb.base/info-os.c: Likewise.
5686 * gdb.mi/mi-console.c: Likewise.
5687 * gdb.mi/watch-nonstop.c: Likewise.
5688 * gdb.python/py-events.c: Likewise.
5689 * gdb.base/async.c (baz): Move up before its invocation.
5690 * gdb.base/code_elim2.c (my_global_func): Likewise.
5691 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5692 * gdb.base/advance.c (func2): Likewise.
5693
3b5d5997
AA
56942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5695
5696 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5697 variant.
5698 * gdb.base/annota3.c: Likewise.
5699 * gdb.base/async.c: Likewise.
5700 * gdb.base/average.c: Likewise.
5701 * gdb.base/call-ar-st.c: Likewise.
5702 * gdb.base/call-rt-st.c: Likewise.
5703 * gdb.base/call-sc.c: Likewise.
5704 * gdb.base/call-strs.c: Likewise.
5705 * gdb.base/ending-run.c: Likewise.
5706 * gdb.base/execd-prog.c: Likewise.
5707 * gdb.base/exprs.c: Likewise.
5708 * gdb.base/foll-exec.c: Likewise.
5709 * gdb.base/foll-fork.c: Likewise.
5710 * gdb.base/foll-vfork.c: Likewise.
5711 * gdb.base/funcargs.c: Likewise.
5712 * gdb.base/gcore.c: Likewise.
5713 * gdb.base/jump.c: Likewise.
5714 * gdb.base/langs0.c: Likewise.
5715 * gdb.base/langs1.c: Likewise.
5716 * gdb.base/langs2.c: Likewise.
5717 * gdb.base/mips_pro.c: Likewise.
5718 * gdb.base/nodebug.c: Likewise.
5719 * gdb.base/opaque0.c: Likewise.
5720 * gdb.base/opaque1.c: Likewise.
5721 * gdb.base/recurse.c: Likewise.
5722 * gdb.base/run.c: Likewise.
5723 * gdb.base/scope0.c: Likewise.
5724 * gdb.base/scope1.c: Likewise.
5725 * gdb.base/setshow.c: Likewise.
5726 * gdb.base/setvar.c: Likewise.
5727 * gdb.base/shmain.c: Likewise.
5728 * gdb.base/shr1.c: Likewise.
5729 * gdb.base/shr2.c: Likewise.
5730 * gdb.base/sigall.c: Likewise.
5731 * gdb.base/signals.c: Likewise.
5732 * gdb.base/so-indr-cl.c: Likewise.
5733 * gdb.base/solib2.c: Likewise.
5734 * gdb.base/structs.c: Likewise.
5735 * gdb.base/sum.c: Likewise.
5736 * gdb.base/vforked-prog.c: Likewise.
5737 * gdb.base/watchpoint.c: Likewise.
5738 * gdb.reverse/shr2.c: Likewise.
5739 * gdb.reverse/until-reverse.c: Likewise.
5740 * gdb.reverse/ur1.c: Likewise.
5741 * gdb.reverse/watch-reverse.c: Likewise.
5742
066a77c5
AA
57432014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5744
5745 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5746 variant.
5747 * gdb.base/sepdebug.exp: Drop references to removed code.
5748
4f204ea5
AA
57492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5750
5751 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5752 variant. Preserve original line numbering.
5753 * gdb.base/list1.c: Likewise.
5754
3b377a3a
AA
57552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5756
5757 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5758 variant.
5759 * gdb.base/break1.c: Likewise.
5760 * gdb.base/break.exp: Drop references to removed code.
5761
e444df73
AA
57622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5763
5764 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5765 variant.
5766
8008f2a7
AA
57672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5768
5769 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5770
a5a06887
AA
57712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5772
5773 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5774 logic into perform_all_tests() and invoke it with and without
5775 function header prototypes.
5776 (do_function_calls): Remove conditional XFAIL for PR 5318.
5777 (rerun_and_prepare): Remove duplicate code.
5778 (perform_all_tests): New. Main logic moved here.
5779
44dba9b9
AA
57802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5781
5782 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5783 code guarded by #ifdef NO_PROTOTYPES.
5784 (t_double_many_args): Likewise.
5785 (DEF_FUNC_MANY_ARGS_1): Likewise.
5786 (DEF_FUNC_VALUES_1): Likewise.
5787 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5788 guarded by #ifdef PROTOTYPES.
5789
d1fbcd56
AA
57902014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5791
5792 * gdb.mi/mi-console.c: Add eye-catcher.
5793 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5794 instead of literal line number.
5795
b0e59b8f
AA
57962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5797
5798 * gdb.base/shr2.c: Add eye-catcher.
5799 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5800 line number.
5801
78f98cca
AA
58022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5803
5804 * gdb.base/jump.c: Add eye-catchers.
5805 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5806 numbers.
5807
58fa2af0
AA
58082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5809
5810 * gdb.base/execd-prog.c: Add eye-catchers.
5811 * gdb.base/foll-exec.c: Likewise.
5812 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5813 line numbers.
5814
04e5059b
AA
58152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5816
5817 * gdb.base/ending-run.c: Add eye-catchers.
5818 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5819 literal line numbers.
5820
dbfdb174
AA
58212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5822
5823 * gdb.base/call-rt-st.c: Add eye-catchers.
5824 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5825 literal line numbers.
5826
888a2ade
AA
58272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5828
5829 * gdb.base/call-ar-st.c: Add eye-catchers.
5830 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5831 literal line numbers.
5832
6acc2dde
AA
58332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5834
5835 * gdb.base/average.c: Add eye-catchers.
5836 * gdb.base/sum.c: Likewise.
5837 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5838 regexps dynamically.
5839
9ecfcd1d
AA
58402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5841
5842 * gdb.base/solib1.c: Add eye-catchers.
5843 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5844 literal line numbers.
5845
78708b7c
PA
58462014-11-12 Pedro Alves <palves@redhat.com>
5847
5848 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5849 leader has exited.
5850
af48d08f
PA
58512014-11-12 Pedro Alves <palves@redhat.com>
5852
5853 * gdb.arch/i386-bp_permanent.c: New file.
5854 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5855 (srcfile): Set to i386-bp_permanent.c.
5856 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5857 that stepi does not execute the 'leave' instruction, instead of
5858 testing it does execute.
5859 * gdb.base/bp-permanent.c: New file.
5860 * gdb.base/bp-permanent.exp: New file.
5861
af3768e9
DE
58622014-11-10 Doug Evans <xdje42@gmail.com>
5863
5864 PR symtab/17564
5865 * gdb.base/symtab-search-order.exp: New file.
5866 * gdb.base/symtab-search-order.c: New file.
5867 * gdb.base/symtab-search-order-1.c: New file.
5868 * gdb.base/symtab-search-order-shlib-1.c: New file.
5869
9de00a4a
PA
58702014-11-07 Pedro Alves <palves@redhat.com>
5871
5872 PR gdb/17511
5873 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5874 i?86-*-linux*.
5875
e0f52461
SC
58762014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5877
5878 PR c++/17494
5879 * gdb.cp/pr17494.cc: New file.
5880 * gdb.cp/pr17494.exp: New file.
5881
6ce8c980
YQ
58822014-11-02 Yao Qi <yao@codesourcery.com>
5883
5884 * gdb.python/python.exp: Get working directory and match the
5885 output of "set extended-prompt \\w " with it.
5886
02be9a71
DE
58872014-10-30 Doug Evans <dje@google.com>
5888
5889 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5890 in objfiles.
5891 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5892 in progspaces.
5893
3bdff46b
LM
58942014-10-30 Janis Johnson <janisjo@codesourcery.com>
5895
5896 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5897 * gdb.base/realname-expand.exp: Likewise.
5898 * gdb.linespec/macro-relative.exp: Likewise.
5899
ab917dfb
PA
59002014-10-29 Pedro Alves <palves@redhat.com>
5901
5902 PR gdb/17408
5903 * gdb.threads/schedlock.c (some_function): New function.
5904 (call_function): New global.
5905 (MAYBE_CALL_SOME_FUNCTION): New macro.
5906 (thread_function): Call it.
5907 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5908 and use it instead of a global counter. Adjust all callers.
5909 (get_current_thread): Use "find current thread" for test message
5910 here rather than having all callers pass down the same string.
5911 (goto_loop): New procedure, factored out from ...
5912 (my_continue): ... this.
5913 (step_ten_loops): Change parameter from test message to command to
5914 use. Adjust.
5915 (list_count): Delete global.
5916 (check_result): New procedure, factored out from duplicate top
5917 level code.
5918 (continue tests): Wrap in with_test_prefix.
5919 (test_step): New procedure, factored out from duplicate top level
5920 code.
5921 (top level): Test "step" in combination with all scheduler-locking
5922 modes. Test "next" in combination with all scheduler-locking
5923 modes, and in combination with stepping over a function call or
5924 not.
5925 * gdb.threads/next-bp-other-thread.c: New file.
5926 * gdb.threads/next-bp-other-thread.exp: New file.
5927
d3d4baed
PA
59282014-10-29 Pedro Alves <palves@redhat.com>
5929
5930 PR python/17372
5931 * gdb.python/python.exp: Test a multi-line command that spawns
5932 interactive Python.
5933 * gdb.base/multi-line-starts-subshell.exp: New file.
5934
563e8d85
YQ
59352014-10-29 Yao Qi <yao@codesourcery.com>
5936
5937 * gdb.base/fileio.exp: Make directories on host.
5938
0ea4d52e
YQ
59392014-10-29 Yao Qi <yao@codesourcery.com>
5940
5941 * gdb.base/fileio.c (test_write): Close the file.
5942
7f5ef605
PA
59432014-10-28 Pedro Alves <palves@redhat.com>
5944
5945 PR gdb/12623
5946 * gdb.base/sigstep.c (no_handler): New global.
5947 (main): If 'no_handler is true, set the signal handlers to
5948 SIG_IGN.
5949 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5950 with_sw_watch and no_handler parameters. Handle them.
5951 (top level) <stepping over handler when stopped at a breakpoint
5952 test>: Add a test axis for testing with a software watchpoint, and
5953 another for testing with the signal handler set to SIG_IGN.
5954 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5955 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5956
abbdbd03
PA
59572014-10-28 Pedro Alves <palves@redhat.com>
5958
5959 PR gdb/17511
5960 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5961 * gdb.base/sigstep.exp (other_handler_location): New global.
5962 (advance): Support stepping into the signal handler, and running
5963 commands while in the handler.
5964 (in_handler_map): New global.
5965 (top level): In the advance test, add combinations for getting
5966 into the handler with stepping commands, and for running commands
5967 in the handler. Add comment descripting the advancei tests.
5968
1df4399f
PA
59692014-10-28 Pedro Alves <palves@redhat.com>
5970
5971 * gdb.base/sigstep.exp: Use build_executable instead of
5972 prepare_for_testing.
5973 (top level): Move code that starts GDB, runs to main and creates a
5974 display to ...
5975 (restart): ... this new procedure.
5976 (top level): Move backtrace from signal handler test to ...
5977 (validate_backtrace): ... this new procedure.
5978 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5979 with_test_prefix. Always restart GDB.
5980 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5981 with_test_prefix. Always restart GDB. No need to delete
5982 breakpoints after the test.
5983 (test_skip_handler): Remove prefix parameter.
5984 (skip_over_handler, breakpoint_to_handler)
5985 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5986 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5987 restart GDB. No need to delete breakpoints after the test.
5988 (top level): Use foreach to call the test procedures with
5989 different commands.
5990
a5b6e449
PA
59912014-10-28 Pedro Alves <palves@redhat.com>
5992
5993 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5994 instead of GNATS numbers.
5995 * gdb.base/sigbpt.exp: Likewise.
5996 * gdb.base/siginfo.exp: Likewise.
5997 * gdb.base/sigstep.exp: Likewise.
5998
e5f8a7cc
PA
59992014-10-27 Pedro Alves <palves@redhat.com>
6000
6001 * gdb.base/sigstep.c (dummy): New global.
6002 (main): Issue a couple writes to the new global.
6003 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
6004 procedures.
6005 (skip_over_handler): Use test_skip_handler.
6006 (top level): Call skip_over_handler for stepi and nexti too.
6007 (breakpoint_over_handler): Use test_skip_handler.
6008 (top level): Call breakpoint_over_handler for stepi and nexti too.
6009
763905a3
YQ
60102014-10-27 Yao Qi <yao@codesourcery.com>
6011
6012 * gdb.trace/tfile.c (adjust_function_address)
6013 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6014 function descriptor.
6015
6f259a23
DB
60162014-10-24 Don Breazeal <donb@codesourcery.com>
6017
6018 * gdb.base/foll-fork.exp (test_follow_fork,
6019 catch_fork_child_follow): Check for updated fork messages emitted
6020 from infrun.c.
6021 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6022 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6023 vfork_and_exec_child_follow_through_step): Check for updated vfork
6024 messages emitted from infrun.c.
6025
09dd9a69
PA
60262014-10-24 Pedro Alves <palves@redhat.com>
6027
6028 * gdb.base/corefile.exp: Remove references to ultrix.
6029 * gdb.base/interrupt.exp: Likewise.
6030 * gdb.base/whatis.exp: Likewise.
6031 * gdb.gdb/selftest.exp: Likewise.
6032 * gdb.threads/manythreads.exp: Likewise.
6033 * gdb.threads/print-threads.exp: Likewise.
6034 * gdb.threads/pthreads.exp:: Likewise.
6035 * gdb.threads/schedlock.exp: Likewise.
6036
3433cfa5
SC
60372014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6038
6039 * gdb.cp/non-trivial-retval.cc: Add a test case.
6040 * gdb.cp/non-trivial-retval.exp: Add a test.
6041
092f880b
YQ
60422014-10-20 Yao Qi <yao@codesourcery.com>
6043
6044 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6045 * gdb.python/py-objfile-script-gdb.py: New file.
6046 * gdb.python/py-objfile-script.exp: Update reference to
6047 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6048 of remote_download. Remove the dest file.
6049
acbdb7f3
YQ
60502014-10-20 Yao Qi <yao@codesourcery.com>
6051
6052 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6053 * gdb.base/step-line.exp: Likewise.
6054 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6055 * gdb.dwarf2/dw2-basic.exp: Likewise.
6056 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6057 * gdb.dwarf2/dw2-filename.exp: Likewise.
6058 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6059 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6060 * gdb.dwarf2/dw2-producer.exp: Likewise.
6061 * gdb.dwarf2/mac-fileno.exp: Likewise.
6062 * gdb.python/py-frame-args.exp: Likewise.
6063 * gdb.python/py-framefilter.exp: Likewise.
6064 * gdb.python/py-mi.exp: Likewise.
6065 * gdb.python/py-objfile-script.exp: Likewise
6066 * gdb.python/py-pp-integral.exp: Likewise.
6067 * gdb.python/py-pp-re-notag.exp: Likewise.
6068 * gdb.python/py-prettyprint.exp: Likewise.
6069 * gdb.python/py-section-script.exp: Likewise.
6070 * gdb.python/py-typeprint.exp: Likewise.
6071 * gdb.python/py-xmethods.exp: Likewise.
6072 * gdb.stabs/weird.exp: Likewise.
6073 * gdb.xml/tdesc-regs.exp: Likewise.
6074
bd286a29
KCY
60752014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6076
6077 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6078 (out_cu): Use addr_len for the size of addresses.
6079 (out_line): Likewise. Size DW_LNE_set_address instruction
6080 according to addr_len.
6081 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6082 (FUNC): Add START_INSNS to definition.
6083
673dc4a0
YQ
60842014-10-18 Yao Qi <yao@codesourcery.com>
6085
6086 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6087 gdb_has_argv0 return true.
6088 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6089 check [target_info exists noargs], check [gdb_has_argv0]
6090 instead.
6091 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6092 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6093 procedures.
6094
4ffbba72
DE
60952014-10-17 Doug Evans <dje@google.com>
6096
6097 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6098 event.
6099 * gdb.python/py-events.py: Add clear_objfiles event.
6100
d096d8c1
DE
61012014-10-17 Doug Evans <dje@google.com>
6102
6103 * gdb.python/py-objfile.exp: Test progspace attribute.
6104
a80db015
LM
61052014-10-17 Luis Machado <lgustavo@codesourcery.com>
6106
6107 * gdb.guile/scm-breakpoint.exp: Do not assume any
6108 directory separators when matching source file paths.
6109 * gdb.python/py-breakpoint.exp: Likewise.
6110 * gdb.reverse/break-precsave.exp: Likewise.
6111 * gdb.reverse/break-reverse.exp: Likewise.
6112 * gdb.reverse/consecutive-precsave.exp: Likewise.
6113 * gdb.reverse/finish-precsave.exp: Likewise.
6114 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6115 * gdb.reverse/finish-reverse.exp: Likewise.
6116 * gdb.reverse/i386-precsave.exp: Likewise.
6117 * gdb.reverse/i387-env-reverse.exp: Likewise.
6118 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6119 * gdb.reverse/machinestate-precsave.exp: Likewise.
6120 * gdb.reverse/machinestate.exp: Likewise.
6121 * gdb.reverse/sigall-precsave.exp: Likewise.
6122 * gdb.reverse/solib-precsave.exp: Likewise.
6123 * gdb.reverse/step-precsave.exp: Likewise.
6124 * gdb.reverse/until-precsave.exp: Likewise.
6125 * gdb.reverse/watch-precsave.exp: Likewise.
6126 * gdb.reverse/watch-reverse.exp: Likewise.
6127
b22089ab
YQ
61282014-10-17 Yao Qi <yao@codesourcery.com>
6129
6130 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6131 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6132
6c4486e6
PA
61332014-10-17 Pedro Alves <palves@redhat.com>
6134
6135 PR gdb/17471
6136 * gdb.base/bg-execution-repeat.c: New file.
6137 * gdb.base/bg-execution-repeat.exp: New file.
6138
0ff33695
PA
61392014-10-17 Pedro Alves <palves@redhat.com>
6140
6141 PR gdb/17300
6142 * gdb.base/continue-all-already-running.c: New file.
6143 * gdb.base/continue-all-already-running.exp: New file.
6144
6fdebc3d
PA
61452014-10-17 Pedro Alves <palves@redhat.com>
6146
6147 PR gdb/17472
6148 * gdb.base/annota-input-while-running.c: New file.
6149 * gdb.base/annota-input-while-running.exp: New file.
6150
32a8097b
PA
61512014-10-17 Pedro Alves <palves@redhat.com>
6152
6153 * gdb.base/callfuncs.exp: emove references to osf.
6154 * gdb.base/sigall.exp: Likewise.
6155 * gdb.gdb/selftest.exp: Likewise.
6156 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6157 * gdb.mi/non-stop.c: Likewise.
6158 * gdb.mi/pthreads.c: Likewise.
6159 * gdb.reverse/sigall-precsave.exp: Likewise.
6160 * gdb.reverse/sigall-reverse.exp: Likewise.
6161 * gdb.threads/pthreads.c: Likewise.
6162 * gdb.threads/pthreads.exp: Likewise.
6163
7a3517ff
YQ
61642014-10-17 Yao Qi <yao@codesourcery.com>
6165
6166 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6167 check 'target_info exists noargs'.
6168 (test_command_prompt_position): Likewise.
6169 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6170 Remove "set args".
6171 (progvar_simple_while_test): Likewise.
6172 (progvar_complex_if_while_test): Likewise.
6173 (if_while_breakpoint_command_test): Likewise.
6174 (infrun_breakpoint_command_test): Likewise.
6175 (breakpoint_command_test): Likewise.
6176 (watchpoint_command_test): Likewise.
6177 (bp_deleted_in_command_test): Likewise.
6178 (temporary_breakpoint_commands): Likewise.
6179
bb99c472
YQ
61802014-10-16 Yao Qi <yao@codesourcery.com>
6181
6182 * gdb.base/remotetimeout.exp: Remove noargs checking.
6183
7c16b83e
PA
61842014-10-15 Pedro Alves <palves@redhat.com>
6185
6186 PR breakpoints/9649
6187 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6188 * gdb.base/breakpoint-in-ro-region.exp
6189 (probe_target_hardware_step): New procedure.
6190 (top level): Probe hardware stepping and hardware breakpoint
6191 support. Test stepping through a read-only region, with both
6192 "breakpoint auto-hw" on and off and both "always-inserted" on and
6193 off.
6194
35a49624
IB
61952014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6196
6197 * gdb.dlang/demangle.exp: Update for demangling changes.
6198
2d1c107c
SC
61992014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6200
6201 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6202 * gdb.cp/non-trivial-retval.exp: Add new tests.
6203
778811d5
SC
62042014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6205
6206 PR c++/13403
6207 PR c++/15154
6208 * gdb.cp/non-trivial-retval.cc: New file.
6209 * gdb.cp/non-trivial-retval.exp: New file.
6210
10c5f0a8
YQ
62112014-10-15 Yao Qi <yao@codesourcery.com>
6212
6213 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6214 remote host.
6215
65d7b369
YQ
62162014-10-15 Yao Qi <yao@codesourcery.com>
6217
6218 * gdb.python/py-symbol.exp: Match file base name if host is
6219 remote, otherwise match file name with dir name.
6220 * gdb.python/py-symtab.exp: Likewise.
6221 * gdb.python/python.exp: Likewise.
6222
46dc1394
YQ
62232014-10-15 Yao Qi <yao@codesourcery.com>
6224
6225 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6226 pattern.
6227 * gdb.python/py-symtab.exp: Likewise.
6228 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6229 locationn.
6230
c40cc657
JB
62312014-10-14 Joel Brobecker <brobecker@adacore.com>
6232
6233 * gdb.ada/addr_arith: New testcase.
6234
2abf49e1
MR
62352014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6236
6237 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6238 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6239 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6240 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6241
f7088df3
SDJ
62422014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6243
6244 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6245 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6246 * gdb.arch/stap-eval-lang-ada.exp: New file.
6247
4dc06805
YQ
62482014-10-14 Yao Qi <yao@codesourcery.com>
6249
6250 * gdb.mi/mi-var-child.c (nothing1): New function.
6251 (nothing2): New function.
6252 (do_children_tests): Set function pointers by nothing1 and
6253 nothing2.
6254 * gdb.mi/mi-var-child.exp: Step over new added statements.
6255 Update test to match the new output.
6256 * gdb.mi/var-cmd.c (nothing1): New function.
6257 (nothing2): New function.
6258 (do_children_tests): Set function pointers by nothing1 and
6259 nothing2.
6260 * gdb.mi/mi-var-display.exp: Update test to match output.
6261 Step to the line specified by $line_dct_nothing.
6262 Increase the number of lines to step.
6263
46a93de2
YQ
62642014-10-14 Yao Qi <yao@codesourcery.com>
6265
6266 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6267 tests.
6268 * gdb.mi/mi2-var-child.exp: Likewise.
6269
14ea52ee
DE
62702014-10-13 Doug Evans <dje@google.com>
6271
6272 * gdb.python/py-objfile.exp: Change name of file name test.
6273
e5c6e92b
DE
62742014-10-13 Doug Evans <dje@google.com>
6275
6276 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6277 from the start of the CU.
6278
c780cc2f
JK
62792014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6280 Yao Qi <yao@codesourcery.com>
6281
6282 Fix "save breakpoints" for "catch" command.
6283 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6284 Remove -nonewline. Match also the added "main" line.
6285
99894e11
JK
62862014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6287
6288 Fix "save breakpoints" for "disable $bpnum" command.
6289 * gdb.base/save-bp.c (main): Add label.
6290 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6291
6e1ac5a3
JK
62922014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6293
6294 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6295
754dd2b0
YQ
62962014-10-11 Yao Qi <yao@codesourcery.com>
6297
6298 * gdb.server/server-kill.exp: Execute command
6299 "set remote trace-status-packet on" before "tstatus".
6300
f90183d7
YQ
63012014-10-11 Yao Qi <yao@codesourcery.com>
6302
6303 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6304 (main): Call getppid.
6305 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6306 and continue to it. Read variable "server_pid".
6307
bf40a607
YQ
63082014-10-11 Yao Qi <yao@codesourcery.com>
6309
6310 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6311
052ca370
YQ
63122014-10-11 Yao Qi <yao@codesourcery.com>
6313
6314 * gdb.threads/thread-find.exp: Don't execute command
6315 "info threads".
6316 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6317 * gdb.threads/linux-dp.exp: Don't check the condition
6318 $threads_created equals to zero.
6319
3831839c
PA
63202014-10-10 Pedro Alves <palves@redhat.com>
6321
6322 * gdb.base/bigcore.exp: Remove references to IRIX.
6323 * gdb.base/funcargs.exp: Likewise.
6324 * gdb.base/interrupt.exp: Likewise.
6325 * gdb.base/mips_pro.exp: Likewise.
6326 * gdb.base/nodebug.exp: Likewise.
6327 * gdb.base/setvar.exp: Likewise.
6328 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6329
8b9a549d
PA
63302014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6331 Pedro Alves <palves@redhat.com>
6332
6333 PR symtab/14466
6334 * gdb.base/vdso-warning.c: New file.
6335 * gdb.base/vdso-warning.exp: New file.
6336
d48ba5e8
DE
63372014-10-02 Doug Evans <dje@google.com>
6338
6339 * gdb.base/structs.c (main): Don't run forever.
6340
2278c276
PA
63412014-10-02 Pedro Alves <palves@redhat.com>
6342
6343 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6344 (top level) <stop threads 1, stop threads 2>: Use it.
6345
b57bacec
PA
63462014-10-02 Pedro Alves <palves@redhat.com>
6347
6348 * gdb.threads/break-while-running.exp (test): Add new
6349 'update_thread_list' argument. Skip "info threads" if false.
6350 (top level): Add new 'update_thread_list' axis.
6351
13fd3ff3
PA
63522014-10-02 Pedro Alves <palves@redhat.com>
6353
6354 PR breakpoints/17431
6355 * gdb.base/execl-update-breakpoints.c: New file.
6356 * gdb.base/execl-update-breakpoints.exp: New file.
6357
0fec99e8
PA
63582014-10-01 Pedro Alves <palves@redhat.com>
6359
6360 * gdb.base/breakpoint-in-ro-region.c: New file.
6361 * gdb.base/breakpoint-in-ro-region.exp: New file.
6362
2ddf4301
SM
63632014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6364
6365 * gdb.mi/mi-exit-code.exp: New file.
6366 * gdb.mi/mi-exit-code.c: New file.
6367
6a5f3f43
YQ
63682014-09-30 Yao Qi <yao@codesourcery.com>
6369
6370 * lib/prelink-support.exp (build_executable_own_libs): Error if
6371 the target isn't native.
6372
345bcc73
YQ
63732014-09-30 Yao Qi <yao@codesourcery.com>
6374
6375 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6376 false.
6377
a25a5a45
PA
63782014-09-22 Pedro Alves <palves@redhat.com>
6379
6380 * gdb.threads/break-while-running.exp: New file.
6381 * gdb.threads/break-while-running.c: New file.
6382
00ba3162
YQ
63832014-09-19 Yao Qi <yao@codesourcery.com>
6384
6385 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6386 Invoke test. Restart GDB with --readnow and invoke test again.
6387
c3b7b696
YQ
63882014-09-19 Yao Qi <yao@codesourcery.com>
6389
6390 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6391 proc set_breakpoint_on_gcd_function. Invoke
6392 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6393 invoke set_breakpoint_on_gcd_function again.
6394
2b4fd423
DE
63952014-09-18 Doug Evans <dje@google.com>
6396
6397 * gdb.dwarf2/symtab-producer.exp: New file.
6398
a5947601
SDJ
63992014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6400
6401 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6402 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6403 * gdb.base/global-var-nested-by-dso.c: Likewise.
6404 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6405
91c19059
SDJ
64062014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6407 Pedro Alves <palves@redhat.com>
6408
6409 * gdb.base/watch-bitfields.exp: Pass string other than test file
6410 name to prepare_for_testing.
6411 (watch): New procedure.
6412 (expect_watchpoint): Use with_test_prefix.
6413 (top level): Factor out tests to ...
6414 (test_watch_location, test_regular_watch): ... these new
6415 procedures, and use with_test_prefix and gdb_continue_to_end.
6416
bb9d5f81
PP
64172014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6418
6419 PR breakpoints/12526
6420 * gdb.base/watch-bitfields.exp: New file.
6421 * gdb.base/watch-bitfields.c: New file.
6422
635856f5
PA
64232014-09-16 Pedro Alves <palves@redhat.com>
6424
6425 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6426 software and hardware addresses, not software address against
6427 itself.
6428
7280ceea
PA
64292014-09-16 Pedro Alves <palves@redhat.com>
6430
6431 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6432 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6433
428b16bd
PA
64342014-09-16 Pedro Alves <palves@redhat.com>
6435
6436 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6437 files.
6438 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6439 "*-*-vxworks*" throughout.
6440 * gdb.base/break.exp: Likewise.
6441 * gdb.base/default.exp: Likewise.
6442 * gdb.base/scope.exp: Likewise.
6443 * gdb.base/sepdebug.exp: Likewise.
6444 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6445 throughout.
6446 * gdb.base/run.c: Likewise.
6447 * gdb.base/sepdebug.c: Likewise.
6448 * gdb.hp/gdb.aCC/run.c: Likewise.
6449 * gdb.reverse/until-reverse.c: Likewise.
6450 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6451
666d413c
YQ
64522014-09-16 Yao Qi <yao@codesourcery.com>
6453
6454 * boards/local-remote-host-native.exp: New file.
6455
57cbd724
DE
64562014-09-14 Doug Evans <xdje42@gmail.com>
6457
6458 * gdb.threads/queue-signal.c (thread_count): New variable.
6459 (thread_count_mutex, thread_count_condvar): New variables.
6460 (incr_thread_count, wait_all_threads_running): New functions.
6461 (main): Wait for all threads to be in their thread functions.
6462
81219e53
DE
64632014-09-13 Doug Evans <xdje42@gmail.com>
6464
6465 * gdb.threads/queue-signal.c: New file.
6466 * gdb.threads/queue-signal.exp: New file.
6467
3714cea7
DE
64682014-09-13 Doug Evans <xdje42@gmail.com>
6469
6470 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6471 be consistent with what default_gdb_init uses.
6472 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6473 the plain text of the prompt. Add some logging printfs.
6474 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6475
fa43b1d7
PA
64762014-09-12 Pedro Alves <palves@redhat.com>
6477
6478 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6479 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6480 * gdb.arch/i386-size-overlap.exp: Likewise.
6481 * gdb.arch/i386-size.exp: Likewise.
6482 * gdb.arch/i386-unwind.exp: Likewise.
6483 * gdb.base/a2-run.exp: Likewise.
6484 * gdb.base/break.exp: Likewise.
6485 * gdb.base/charset.exp: Likewise.
6486 * gdb.base/chng-syms.exp: Likewise.
6487 * gdb.base/commands.exp: Likewise.
6488 * gdb.base/dbx.exp: Likewise.
6489 * gdb.base/find.exp: Likewise.
6490 * gdb.base/funcargs.exp: Likewise.
6491 * gdb.base/jit-simple.exp: Likewise.
6492 * gdb.base/reread.exp: Likewise.
6493 * gdb.base/sepdebug.exp: Likewise.
6494 * gdb.base/step-bt.exp: Likewise.
6495 * gdb.cp/mb-inline.exp: Likewise.
6496 * gdb.cp/mb-templates.exp: Likewise.
6497 * gdb.objc/basicclass.exp: Likewise.
6498 * gdb.threads/killed.exp: Likewise.
6499
9d9bf2df
EBM
65002014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6501
6502 PR tdep/17379
6503 * gdb.arch/powerpc-stackless.S: New file.
6504 * gdb.arch/powerpc-stackless.exp: New file.
6505
1cf2f1b0
JK
65062014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6507
6508 * gdb.base/attach.c: Include unistd.h.
6509 (main): Call alarm. Add label postloop.
6510 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6511 gdb_breakpoint, gdb_continue_to_breakpoint.
6512 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6513
98880d46
PA
65142014-09-11 Pedro Alves <palves@redhat.com>
6515
6516 PR gdb/17347
6517 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6518 * gdb.base/attach.exp (test_command_line_attach_run): New
6519 procedure.
6520 (top level): Call it.
6521
4c92ff2c
PA
65222014-09-11 Pedro Alves <palves@redhat.com>
6523
6524 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6525 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6526 (do_command_attach_tests): Use spawn_wait_for_attach.
6527 * gdb.base/solib-overlap.exp: Likewise.
6528 * gdb.multi/multi-attach.exp: Likewise.
6529 * gdb.python/py-prompt.exp: Likewise.
6530 * gdb.python/py-sync-interp.exp: Likewise.
6531 * gdb.server/ext-attach.exp: Likewise.
6532
3adc1a7d
GKB
65332014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6534
6535 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6536 command in testcase. Simplify testcase.
6537
96334934
JB
65382014-09-10 Joel Brobecker <brobecker@adacore.com>
6539
6540 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6541
eb479039
JB
65422014-09-10 Joel Brobecker <brobecker@adacore.com>
6543
6544 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6545
deede10c
JB
65462014-09-10 Joel Brobecker <brobecker@adacore.com>
6547
6548 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6549
7828a5f5
JB
65502014-09-10 Joel Brobecker <brobecker@adacore.com>
6551
6552 * gdb.dwarf2/dynarr-ptr.c: New file.
6553 * gdb.dwarf2/dynarr-ptr.exp: New file.
6554
33aeebcf
MR
65552014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6556
6557 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6558 of 30 rather than hardcoding 120 for a slow test case. Take the
6559 `gdb,timeout' target setting into account for this calculation.
6560 Don't extend the timeout for the test cases that don't need it.
6561
7b415901
MR
65622014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6563
6564 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6565 a factor of 2 for a slow test case. Take the `gdb,timeout'
6566 target setting into account for this calculation.
6567 * gdb.reverse/until-precsave.exp: Increase the timeout by
6568 a factor of 15 and 3 respectively rather than adding 120
6569 for a pair of slow test cases. Take the `gdb,timeout'
6570 target setting into account for this calculation.
6571
4a40f85a
MR
65722014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6573
6574 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6575 timeout, don't pass one down to gdb_expect.
6576 (gdb_expect): Rework timeout selection.
6577
09635af7
MR
65782014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6579
6580 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6581 exception on timeout.
6582 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6583 (gdbserver_start_extended): Catch any `gdbserver_start' error
6584 exceptions.
6585 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6586 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6587 `gdbserver_gdb_load' error exceptions.
6588
2bdd10b7
MR
65892014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6590
6591 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6592 120 on waiting for the TCP socket to open.
6593
316935f0
DE
65942014-09-09 Doug Evans <xdje42@gmail.com>
6595
6596 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6597 _caller_matches, _any_caller_is, _any_caller_matches.
6598
83740597
DE
65992014-09-09 Doug Evans <xdje42@gmail.com>
6600
6601 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6602
4c122fc3
YQ
66032014-09-09 Yao Qi <yao@codesourcery.com>
6604
6605 * gdb.mi/mi-var-display.exp: Set print symbol off.
6606
a9f116cb
GKB
66072014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6608
6609 PR gdb/17035
6610 * gdb.base/commands.exp: Add tests to verify user-defined
6611 commands with empty bodies.
6612 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6613 python commands in `show user command`.
6614 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6615 scheme commands in `show user command`.
6616
c75bd3a2
JK
66172014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6618
6619 PR python/17355
6620 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6621 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6622 * gdb.python/py-framefilter-invalidarg.exp: New file.
6623 * gdb.python/py-framefilter-invalidarg.py: New file.
6624
faa42425
DE
66252014-09-06 Doug Evans <xdje42@gmail.com>
6626
6627 PR 15276
6628 * gdb.python/py-caller-is.c: New file.
6629 * gdb.python/py-caller-is.exp: New file.
6630
474ca4f6
SDJ
66312014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6632
6633 PR gdb/17235
6634 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6635 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6636
eb0b0463
SDJ
66372014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6638
6639 PR fortran/17237
6640 * gdb.fortran/print-formatted.exp: New file.
6641 * gdb.fortran/print-formatted.f90: Likewise.
6642
5f3b99cf
SS
66432014-09-03 Sasha Smundak <asmundak@google.com>
6644
6645 * gdb.python/py-frame.exp: Test Frame.read_register.
6646
7d793aa9
SDJ
66472014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6648
6649 PR python/16699
6650 * gdb.python/py-completion.exp: New file.
6651 * gdb.python/py-completion.py: Likewise.
6652
fb0576e9
DE
66532014-08-28 Doug Evans <dje@google.com>
6654
6655 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6656 eax,etc. are live with values set by gdb and thus the compiler can't
6657 use them.
6658 * gdb.arch/i386-pseudo.c (main): Ditto.
6659
ee92b0dd
DE
66602014-08-27 Doug Evans <dje@google.com>
6661
6662 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6663
6649db35
DE
66642014-08-25 Doug Evans <dje@google.com>
6665
6666 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6667 (main): Ditto.
6668
564b7600
DE
66692014-08-25 Doug Evans <dje@google.com>
6670
6671 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6672
3881fb67
YQ
66732014-08-24 Yao Qi <yao@codesourcery.com>
6674
6675 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6676 symbol off.
6677 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6678
a05a36a5
DE
66792014-08-22 Doug Evans <dje@google.com>
6680
6681 PR 17276
6682 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6683 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6684 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6685
7c343b48
YQ
66862014-08-22 Yao Qi <yao@codesourcery.com>
6687
6688 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6689 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6690 * gdb.python/python.exp: Likewise. Use .py file on the host
6691 instead of the build.
6692
22fd09ae
JK
66932014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6694
6695 * gdb.threads/gcore-stale-thread.c: New file.
6696 * gdb.threads/gcore-stale-thread.exp: New file.
6697
a8454a7c
PA
66982014-08-21 Pedro Alves <palves@redhat.com>
6699
6700 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6701 * gdb.base/gcore-relro-pie.exp: Likewise.
6702 * gdb.base/gcore-relro.exp: Likewise.
6703 * gdb.base/gcore.exp: Likewise.
6704 * gdb.base/print-symbol-loading.exp: Likewise.
6705 * gdb.threads/gcore-thread.exp: Likewise.
6706 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6707
2a31c623
PA
67082014-08-20 Pedro Alves <palves@redhat.com>
6709 Jan Kratochvil <jan.kratochvil@redhat.com>
6710
6711 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6712 configure.
6713 (EXPECT): Handle READ1 being set.
6714 (all): Depend on EXTRA_RULES.
6715 (check-read1, expect-read1, read1.so, read1): New rules.
6716 * README (Testsuite Parameters): Document the READ1 make variable.
6717 (Race detection): New section.
6718 * configure: Regenerate.
6719 * configure.ac: If build==host==target, and running under a
6720 GNU/glibc system, add read1 to the extra Makefile rules.
6721 (EXTRA_RULES): AC_SUBST it.
6722 * lib/read1.c: New file.
6723
d36430db
JB
67242014-08-20 Joel Brobecker <brobecker@adacore.com>
6725
6726 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6727 the handling of variables declared as a typedef to an array
6728 which a DW_AT_data_location attribute.
6729
9a0dc9e3
PA
67302014-08-19 Andrew Burgess <aburgess@broadcom.com>
6731 Pedro Alves <palves@redhat.com>
6732
6733 PR symtab/14604
6734 PR symtab/14605
6735 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6736 gdb_test.
6737
0718a8da
PA
67382014-08-19 Pedro Alves <palves@redhat.com>
6739
6740 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6741
13b448cd
YQ
67422014-08-19 Yao Qi <yao@codesourcery.com>
6743
6744 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6745 right line.
6746
1cbf5077
DB
67472014-08-18 David Blaikie <dblaikie@gmail.com>
6748
6749 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6750
bf0fae19
JB
67512014-08-18 Joel Brobecker <brobecker@adacore.com>
6752
6753 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6754 attribute in array range.
6755
3c8c5dcc
JB
67562014-08-18 Joel Brobecker <brobecker@adacore.com>
6757
6758 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6759
e66d4446
SC
67602014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6761
6762 PR c++/17132
6763 * gdb.cp/pr17132.cc: New file.
6764 * gdb.cp/pr17132.exp: New file.
6765
940df408
SC
67662014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6767
6768 * gdb.python/py-xmethods.py (A_getarrayind)
6769 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6770 Use 'print' with function call syntax.
6771 (E_method_matcher.match): Fix tab vs space indentation mixup.
6772
ebcc6c3a
YQ
67732014-08-15 Yao Qi <yao@codesourcery.com>
6774
6775 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6776 false.
6777
775e0f04
YQ
67782014-08-15 Yao Qi <yao@codesourcery.com>
6779
6780 * gdb.cp/casts.exp: Set print symbol off.
6781 * gdb.cp/class2.exp: Likewise.
6782 * gdb.cp/overload.exp: Likewise.
6783 * gdb.cp/templates.exp: Likewise.
6784
d769e349
DE
67852014-08-11 Doug Evans <dje@google.com>
6786
6787 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6788 (test_load_shlib): Update.
6789
20c6f1e1
YQ
67902014-08-09 Yao Qi <yao@codesourcery.com>
6791
6792 * gdb.base/display.exp: Invoke is_address_zero_readable.
6793 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6794 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6795 * gdb.base/hbreak-unmapped.exp: Return if
6796 is_address_zero_readable returns true.
6797 * gdb.base/signest.exp: Likewise.
6798 * gdb.base/signull.exp: Likewise.
6799 * gdb.base/sigbpt.exp: Likewise.
6800 * gdb.guile/scm-disasm.exp: Do the test if
6801 is_address_zero_readable returns false.
6802 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6803 * gdb.python/py-arch.exp: Likewise.
6804 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6805 * lib/gdb.exp (is_address_zero_readable): New proc.
6806
5792e8e3
YQ
68072014-08-09 Yao Qi <yao@codesourcery.com>
6808
6809 PR testsuite/13443
6810 * gdb.mi/mi-var-display.exp: Make test messages unique.
6811
3cecbbbe
TT
68122014-08-04 Tom Tromey <tromey@redhat.com>
6813
6814 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6815 target 0".
6816
00b51ff5
TT
68172014-08-04 Tom Tromey <tromey@redhat.com>
6818
6819 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6820 "target_resume".
6821
6908c509
JB
68222014-08-01 Joel Brobecker <brobecker@adacore.com>
6823
6824 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6825 inner_vla_struct_object_size.
6826 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6827 as xfail.
6828
cc6563d2
PA
68292014-07-30 Pedro Alves <palves@redhat.com>
6830
6831 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6832 comment.
6833
7e09a223
YQ
68342014-07-29 Yao Qi <yao@codesourcery.com>
6835
6836 PR gdb/17206
6837 * gdb.base/until-nodebug.exp: New.
6838
7ebdbe92
DE
68392014-07-28 Doug Evans <xdje42@gmail.com>
6840
6841 PR guile/17203
6842 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6843 previously existing parameter, and previously ambiguously spelled
6844 parameter.
6845
fdb1adc6
WN
68462014-07-28 Will Newton <will.newton@linaro.org>
6847
6848 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6849
186fcde0
DE
68502014-07-26 Ludovic Courtès <ludo@gnu.org>
6851 Doug Evans <xdje42@gmail.com>
6852
6853 PR guile/17146
6854 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6855
70509625
PA
68562014-07-25 Pedro Alves <palves@redhat.com>
6857
6858 * gdb.threads/signal-command-handle-nopass.c: New file.
6859 * gdb.threads/signal-command-handle-nopass.exp: New file.
6860 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6861 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6862 * gdb.threads/signal-delivered-right-thread.c: New file.
6863 * gdb.threads/signal-delivered-right-thread.exp: New file.
6864
c3f814a1
PA
68652014-07-25 Pedro Alves <palves@redhat.com>
6866
6867 * gdb.base/double-prompt-target-event-error.exp
6868 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6869 match.
6870 (cancel_pagination_in_target_event): Rework double prompt
6871 detection.
6872 * gdb.base/paginate-after-ctrl-c-running.exp
6873 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6874 <return>' match.
6875 * gdb.base/paginate-bg-execution.exp
6876 (test_bg_execution_pagination_return)
6877 (test_bg_execution_pagination_cancel): Remove '-notransfer
6878 <return>' matches.
6879 * gdb.base/paginate-execution-startup.exp
6880 (test_fg_execution_pagination_return)
6881 (test_fg_execution_pagination_cancel): Remove '-notransfer
6882 <return>' matches.
6883 * gdb.base/paginate-inferior-exit.exp
6884 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6885 match.
6886 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6887 * lib/gdb.exp (pagination_prompt): Run text through
6888 string_to_regexp.
6889 (gdb_test_multiple): Match $pagination_prompt instead of
6890 "<return>".
6891 (string_to_regexp): Move to lib/gdb-utils.exp.
6892
e214cf6c
JK
68932014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6894
6895 * gdb.arch/amd64-entry-value-paramref.S: New file.
6896 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6897 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6898 * gdb.arch/amd64-optimout-repeat.S: New file.
6899 * gdb.arch/amd64-optimout-repeat.c: New file.
6900 * gdb.arch/amd64-optimout-repeat.exp: New file.
6901
17d0c5c8
JK
69022014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6903
6904 PR gdb/17170
6905 * gdb.base/statistics.exp: New file.
6906
b8b8facf
DE
69072014-07-17 Doug Evans <dje@google.com>
6908
74b49205 6909 PR gdb/17170
b8b8facf
DE
6910 * gdb.base/maint.exp: Update testing of per-command stats.
6911
1b5d0ab3
PA
69122014-07-16 Pedro Alves <palves@redhat.com>
6913
6914 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6915 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6916 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6917 (tfile_write_buf): New functions.
6918 (add_memory_block): Rewrite using the above.
6919 (adjust_function_address): New function.
6920 (FUNCTION_ADDRESS): New macro.
6921 (write_basic_trace_file): Remove short_x local, and use
6922 tfile_write_16. Change type of func_addr local to unsigned long
6923 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6924 here. Cast argument of add_memory_block to char pointer.
6925 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6926 (main): Remove parameters.
6927 * gdb.trace/tfile.exp: Remove nowarnings.
6928
4d974e88
SM
69292014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6930
6931 * gdb.base/debug-expr.exp: Test string evaluation with
6932 "debug expression" on.
6933
41e99568
PA
69342014-07-15 Pedro Alves <palves@redhat.com>
6935
6936 * gdb.base/reread.exp: Use clean_restart.
6937
487d9753
PL
69382014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6939
6940 * gdb.arch/avr-flash-qualifer.c: New.
6941 * gdb.arch/avr-flash-qualifer.exp: New.
6942
cc1c52ad
PA
69432014-07-14 Pedro Alves <palves@redhat.com>
6944
6945 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6946 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6947
1e973570
PA
69482014-07-14 Pedro Alves <palves@redhat.com>
6949
6950 * gdb.base/double-prompt-target-event-error.c: New file.
6951 * gdb.base/double-prompt-target-event-error.exp: New file.
6952
93d6eb10
PA
69532014-07-14 Pedro Alves <palves@redhat.com>
6954
6955 PR gdb/17072
6956 * gdb.base/paginate-inferior-exit.c: New file.
6957 * gdb.base/paginate-inferior-exit.exp: New file.
6958
0017922d
PA
69592014-07-14 Pedro Alves <palves@redhat.com>
6960
6961 PR gdb/17072
6962 * gdb.base/paginate-bg-execution.c: New file.
6963 * gdb.base/paginate-bg-execution.exp: New file.
6964
94696ad3
PA
69652014-07-14 Pedro Alves <palves@redhat.com>
6966
6967 PR gdb/17072
6968 * gdb.base/paginate-execution-startup.c: New file.
6969 * gdb.base/paginate-execution-startup.exp: New file.
6970 * lib/gdb.exp (pagination_prompt): New global.
6971 (default_gdb_spawn): New procedure, factored out from
6972 default_gdb_spawn.
6973 (default_gdb_start): Adjust to call default_gdb_spawn.
6974 (gdb_spawn): New procedure.
6975
bd293940
PA
69762014-07-14 Pedro Alves <palves@redhat.com>
6977
6978 * lib/gdb.exp (gdb_assert): New procedure.
6979 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6980
c933f875
PA
69812014-07-14 Pedro Alves <palves@redhat.com>
6982
6983 * gdb.base/execution-termios.c: New file.
6984 * gdb.base/execution-termios.exp: New file.
6985
d98b7a16
TT
69862014-07-14 Tom Tromey <tromey@redhat.com>
6987
6988 * gdb.cp/vla-cxx.cc: New file.
6989 * gdb.cp/vla-cxx.exp: New file.
6990
548740d6
TT
69912014-07-14 Tom Tromey <tromey@redhat.com>
6992
6993 * gdb.reverse/rerun-prec.c: New file.
6994 * gdb.reverse/rerun-prec.exp: New file.
6995
a25eb028
MR
69962014-07-12 Maciej W. Rozycki <macro@mips.com>
6997 Maciej W. Rozycki <macro@codesourcery.com>
6998
6999 * lib/gdb-utils.exp: New file.
7000 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
7001 inline `gdb_init_command' processing.
7002 (gdb_start_cmd): Likewise.
7003 * lib/mi-support.exp (mi_run_cmd): Likewise.
7004 * README: Document `gdb_init_command' and `gdb_init_commands'.
7005
218c2655
JK
70062014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7007
7008 Fix false FAIL running under a very long directory name.
7009 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
7010 and "set print elements 10000". Twice.
7011
5401fde3
YQ
70122014-07-11 Yao Qi <yao@codesourcery.com>
7013
7014 * gdb.base/exprs.exp: "set print symbol off".
7015
e76126e8
PA
70162014-07-11 Pedro Alves <palves@redhat.com>
7017
7018 * gdb.threads/kill.c: New file.
7019 * gdb.threads/kill.exp: New file.
7020
2d6f0de6
YQ
70212014-07-10 Yao Qi <yao@codesourcery.com>
7022
7023 * gdb.trace/tfile.c (write_basic_trace_file)
7024 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7025 address written to trace file.
7026
7180e04a
PA
70272014-07-09 Pedro Alves <palves@redhat.com>
7028
7029 * gdb.base/attach-wait-input.exp: New file.
7030 * gdb.base/attach-wait-input.c: New file.
7031
9a9a7608
AB
70322014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7033
7034 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7035 setting up test structures.
7036 (main): Call new test function.
7037 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7038 test function, continue into test function and walk test
7039 structures.
7040
161ac41e
YQ
70412014-07-02 Yao Qi <yao@codesourcery.com>
7042
7043 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7044 'bar_start' at the beginning of functions 'foo' and 'bar'
7045 respectively.
7046 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7047 instead of 'foo' and 'bar'.
7048
1f267ae3
MM
70492014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7050
7051 * gdb.btrace/segv.exp: New.
7052 * gdb.btrace/segv.c: New.
7053
2b239efb
LM
70542014-07-02 Luis Machado <lgustavo@codesourcery.com>
7055
7056 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7057 instruction.
7058
cf363f18
MW
70592014-06-30 Mark Wielaard <mjw@redhat.com>
7060
7061 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7062 vulture, vilify, villar): New volatile array constants.
7063 (vindictive, vegetation): New const volatile array constants.
7064 * gdb.base/volatile.exp: Test volatile and const volatile array
7065 types.
7066
aebf9d24
AA
70672014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7068
7069 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7070 target lacks support for awatch, rwatch, or hbreak.
7071
b67a2c6f
YQ
70722014-06-27 Yao Qi <yao@codesourcery.com>
7073
7074 * gdb.multi/dummy-frame-restore.exp: New.
7075 * gdb.multi/dummy-frame-restore.c: New.
7076
aef92902
MM
70772014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7078
7079 * gdb.btrace/gcore.exp: New.
7080
8e9db26e
PA
70812014-06-23 Pedro Alves <palves@redhat.com>
7082
7083 * gdb.base/watchpoint-reuse-slot.c: New file.
7084 * gdb.base/watchpoint-reuse-slot.exp: New file.
7085
70afc5b7
SC
70862014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7087
7088 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7089 progspace's filename in 'info', 'enable' and 'disable' command
7090 tests.
7091
b972bd9c
JK
70922014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7093
7094 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7095 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7096 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7097
125f8a3d
GB
70982014-06-20 Gary Benson <gbenson@redhat.com>
7099
7100 * gdb.arch/i386-avx.exp: Fix include file location.
7101 * gdb.arch/i386-sse.exp: Likewise.
7102
3ed9baed
IB
71032014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7104
7105 * gdb.dlang/expression.exp: New file.
7106
034f788c
PA
71072014-06-19 Pedro Alves <palves@redhat.com>
7108
7109 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7110 out from ...
7111 (top level): ... here. Iterate running tests under different
7112 scheduler-locking settings.
7113
45371d0c
LM
71142014-06-18 Luis Machado <lgustavo@codesourcery.com>
7115
7116 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7117 to DW_FORM_addr and use non-zero addresses.
7118
5d376983
SC
71192014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7120
7121 PR gdb/17017
7122 * gdb.python/py-xmethods.cc: Add global function call counters and
7123 increment them in their respective functions. Remove "cout"
7124 statements.
7125 * gdb.python/py-xmethods.exp: Make tests check the global function
7126 call counters instead of depending on inferior IO.
7127
a1aa2221
LM
71282014-06-18 Don Breazeal <donb@codesourcery.com>
7129
7130 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7131 Deleted procedure.
7132 (explicit_fork_parent_follow): Deleted procedure.
7133 (explicit_fork_child_follow): Deleted procedure.
7134 (test_follow_fork): New procedure.
7135 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 7136 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
7137 procedure calls.
7138
0fc05997
YQ
71392014-06-17 Yao Qi <yao@codesourcery.com>
7140
7141 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7142 CP1252.
7143
70795c52
LM
71442014-06-17 Luis Machado <lgustavo@codesourcery.com>
7145
7146 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7147 Initialize ptr and S explicitly.
7148 (skip_type_update_when_not_use_rtti_test): Likewise.
7149
6be47f0c
KS
71502014-06-16 Keith Seitz <keiths@redhat.com>
7151
7152 PR mi/15863
7153 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7154 the inferior is started.
7155
d03de421
PA
71562014-06-16 Pedro Alves <palves@redhat.com>
7157
7158 * gdb.base/break-main-file-remove-fail.c: New file.
7159 * gdb.base/break-main-file-remove-fail.exp: New file.
7160 * gdb.base/break-unload-file.exp: Use build_executable instead of
7161 prepare_for_testing.
7162 (test_break): New parameter "initial_load". Handle it.
7163 (top level): Add initial_load cmdline/file axis.
7164
f9579b99
TT
71652014-06-12 Tom Tromey <tromey@redhat.com>
7166
7167 * gdb.base/completion.exp: Don't use directory name in test.
7168
3657956b
GB
71692014-06-09 Gary Benson <gbenson@redhat.com>
7170
7171 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7172 separate the always-available ANSI-standard signals from the
7173 signals that require checking.
7174 (main): Likewise.
7175 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7176 Likewise.
7177 (main): Likewise.
7178
4186eb54
KS
71792014-06-07 Keith Seitz <keiths@redhat.com>
7180
7181 Revert:
7182 PR c++/16253
7183 * gdb.cp/var-tag.cc: New file.
7184 * gdb.cp/var-tag.exp: New file.
7185 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7186 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7187 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7188 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7189
25326a28 71902014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
7191
7192 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7193
829155c9
PA
71942014-06-06 Pedro Alves <palves@redhat.com>
7195
7196 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7197 in target debug output instead of looking at RSP packets,
7198 disabling the test on any target that uses hardware stepping.
7199 Update comments.
7200
61c8d22e
PA
72012014-06-06 Pedro Alves <palves@redhat.com>
7202
7203 * gdb.base/break-unload-file.exp: Fix typo.
7204
d9a47287
YQ
72052014-06-06 Yao Qi <yao@codesourcery.com>
7206
7207 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7208 from "jit_function" to "^jit_function".
7209
e5e01dbf
YQ
72102014-06-06 Yao Qi <yao@codesourcery.com>
7211
7212 * gdb.base/async.c (foo): Add one statement.
7213 * gdb.base/async.exp: Get the next instruction address and
7214 match the output of "nexti" by instruction address. Match
7215 the hex address in the output of "finish".
7216
73ba372c
GB
72172014-06-06 Gary Benson <gbenson@redhat.com>
7218
7219 * gdb.base/call-signals.c: Remove preprocessor conditionals
7220 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7221 SIGSEGV and SIGTERM.
7222 * gdb.base/sigall.c: Likewise.
7223 * gdb.base/unwindonsignal.c: Likewise.
7224 * gdb.reverse/sigall-reverse.c: Likewise.
7225
831517df
YQ
72262014-06-06 Yao Qi <yao@codesourcery.com>
7227
7228 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7229 readable, skip the test.
7230
b8b91e98
YQ
72312014-06-06 Yao Qi <yao@codesourcery.com>
7232
7233 * gdb.threads/staticthreads.c (thread_function): Move the line
7234 setting breakpoint on forward.
7235 * gdb.threads/staticthreads.exp: Update comments.
7236
fb934770
LC
72372014-06-05 Ludovic Courtès <ludo@gnu.org>
7238
7239 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7240 "history-append! type error".
7241
6ef284bd
SM
72422014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7243
7244 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7245 erroneous dprintf expected input.
7246
a872e241
DE
72472014-06-04 Doug Evans <xdje42@gmail.com>
7248
7249 * gdb.guile/scm-generics.exp: Delete.
7250
16f691fb
DE
72512014-06-04 Doug Evans <xdje42@gmail.com>
7252
7253 * gdb.guile/scm-breakpoint.exp: Update.
7254 Add tests for breakpoint registration.
7255
012370f6
TT
72562014-06-04 Tom Tromey <tromey@redhat.com>
7257
7258 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7259 VLA-in-union.
7260 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7261 inner_vla_struct, vla_union types. Initialize objects of those
7262 types and compute their sizes.
7263
9f5a4cef
HZ
72642014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7265 Hui Zhu <hui@codesourcery.com>
7266
7267 * gdb.base/fileio.exp: Add test for shell not available as well as
7268 available.
7269 * gdb.base/fileio.c (test_system): Check for shell twice.
7270
90a45c4d
YQ
72712014-06-04 Yao Qi <yao@codesourcery.com>
7272
7273 * gdb.base/auto-connect-native-target.exp: Remove redundant
7274 space from the regexp pattern.
7275
70017e41
YQ
72762014-06-04 Yao Qi <yao@codesourcery.com>
7277
7278 * gdb.base/default.exp: Replace "child" with "native" in
7279 regexp pattern.
7280
883964a7
SC
72812014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7282
7283 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7284 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7285 * gdb.python/py-xmethods.py: Python script supporting the
7286 new testcase and tests.
7287
ef370185
JB
72882014-06-03 Joel Brobecker <brobecker@adacore.com>
7289 Pedro Alves <palves@redhat.com>
7290
7291 PR breakpoints/17000
7292 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7293 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7294
1e2ccb61
BM
72952014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7296
7297 * gdb.base/subst.exp: Add tests to verify partial path matching
7298 output.
7299
c6ec5ab2
PA
73002014-06-03 Pedro Alves <palves@redhat.com>
7301
7302 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7303 target that doesn't use software single-stepping.
7304
835c559f
PA
73052014-06-03 Pedro Alves <palves@redhat.com>
7306
7307 PR breakpoints/17000
7308 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7309 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7310
06eb1586
DE
73112014-06-02 Doug Evans <xdje42@gmail.com>
7312
7313 * gdb.guile/scm-parameter.exp: New file.
7314
e698b8c4
DE
73152014-06-02 Doug Evans <xdje42@gmail.com>
7316
7317 * gdb.guile/scm-cmd.c: New file.
7318 * gdb.guile/scm-cmd.exp: New file.
7319
ded03782
DE
73202014-06-02 Doug Evans <xdje42@gmail.com>
7321
7322 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7323 pretty-printer lookup.
7324 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7325 (make-pp_s-printer): Call it.
7326 (make-pretty-printer-from-dict): New function.
7327 (lookup-pretty-printer-maker-from-dict): New function.
7328 (*pretty-printer*): Simplify.
7329 (make-objfile-pp_s-printer): New function.
7330 (install-objfile-pretty-printers!): New function.
7331 (make-progspace-pp_s-printer): New function.
7332 (install-progspace-pretty-printers!): New function.
7333 * gdb.guile/scm-progspace.c: New file.
7334 * gdb.guile/scm-progspace.exp: New file.
7335
41fac0cf
PA
73362014-06-02 Pedro Alves <palves@redhat.com>
7337
7338 * gdb.base/dprintf-bp-same-addr.c: New file.
7339 * gdb.base/dprintf-bp-same-addr.exp: New file.
7340
96ae5695
EBM
73412014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7342
7343 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7344 * gdb.arch/powerpc-power.s: Likewise.
7345
da02b3a8
JB
73462014-06-02 Joel Brobecker <brobecker@adacore.com>
7347
7348 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7349
c72b2e7b
YQ
73502014-06-01 Yao Qi <yao@codesourcery.com>
7351
7352 * gdb.base/watchpoint.exp (test_watch_location): Check null
7353 pointer can be dereferenced. If not, do the test, otherwise
7354 skip it.
7355
53e8a631
AB
73562014-05-30 Andrew Burgess <aburgess@broadcom.com>
7357
7358 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7359 results.
7360 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7361
938f0e2f
AB
73622014-05-30 Andrew Burgess <aburgess@broadcom.com>
7363
7364 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7365 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7366 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7367 * gdb.arch/amd64-invalid-stack-top.c: New file.
7368 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7369
9ba6657a
PA
73702014-05-30 Pedro Alves <palves@redhat.com>
7371
7372 PR breakpoints/17000
7373 * gdb.base/sss-bp-on-user-bp.c: New file.
7374 * gdb.base/sss-bp-on-user-bp.exp: New file.
7375
522c09bf
DB
73762014-05-30 David Blaikie <dblaikie@gmail.com>
7377
7378 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7379 gnu_inline semantics via attribute.
7380 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7381 source explicitly specifies the required semantics.
7382
bf4ef81e
MR
73832014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7384
7385 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7386
329ea579
PA
73872014-05-29 Pedro Alves <palves@redhat.com>
7388 Tom Tromey <tromey@redhat.com>
7389
7390 * gdb.base/async-shell.exp: Don't enable target-async.
7391 * gdb.base/async.exp
7392 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7393 parameter. Adjust.
7394 (top level): Don't test with "target-async".
7395 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7396 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7397 * gdb.base/inferior-died.exp: Don't enable target-async.
7398 * gdb.base/interrupt-noterm.exp: Likewise.
7399 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7400 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7401 * gdb.mi/mi-nonstop.exp: Likewise.
7402 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7403 * gdb.mi/mi-nsintrall.exp: Likewise.
7404 * gdb.mi/mi-nsmoribund.exp: Likewise.
7405 * gdb.mi/mi-nsthrexec.exp: Likewise.
7406 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7407 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7408 * gdb.python/py-evsignal.exp: Don't enable target-async.
7409 * gdb.python/py-evthreads.exp: Likewise.
7410 * gdb.python/py-prompt.exp: Likewise.
7411 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7412 * gdb.server/solib-list.exp: Don't enable target-async.
7413 * gdb.threads/thread-specific-bp.exp: Likewise.
7414 * lib/mi-support.exp: Adjust to use mi-async.
7415
fd664c91
PA
74162014-05-29 Pedro Alves <palves@redhat.com>
7417
7418 PR gdb/13860
7419 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7420 reason, even in sync mode.
7421
251bde03
PA
74222014-05-29 Pedro Alves <palves@redhat.com>
7423 Hui Zhu <hui@codesourcery.com>
7424
7425 PR PR15693
7426 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7427 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7428 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7429 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7430
7f3c0343
JB
74312014-05-28 Joel Brobecker <brobecker@adacore.com>
7432
7433 * config/monitor.exp (gdb_target_monitor): Replace use of
7434 "set remotebaud" by "set serial baud".
7435
b2715b27
AW
74362014-05-26 Andy Wingo <wingo@igalia.com>
7437
7438 * gdb.guile/scm-breakpoint.exp:
7439 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7440 properties instead of gdb-object-properties.
7441
498a4489
YQ
74422014-05-26 Yao Qi <yao@codesourcery.com>
7443
7444 * gdb.server/no-thread-db.exp: Specify source file name
7445 explicitly when setting a breakpoint.
7446
589fdceb
MM
74472014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7448
7449 * gdb.btrace/vdso.c: New.
7450 * gdb.btrace/vdso.exp: New.
7451
e9089e05
MM
74522014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7453
7454 * gdb.base/gcore.exp (capture_command_output): Move ...
7455 * lib/gdb.exp (capture_command_output): ... here.
7456
67b5c0c1
MM
74572014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7458
7459 * gdb.btrace/data.exp: Test memory access during btrace replay.
7460
a2199296
SM
74612014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7462
7463 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7464
17b2616c
PA
74652014-05-21 Pedro Alves <palves@redhat.com>
7466
7467 PR gdb/13860
7468 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7469 (top level): Test that output related to execution commands is
7470 sent to the console with CLI commands, but not with MI commands.
7471 Test that breakpoint events are always mirrored to the console.
7472 Also expect the new source line to be output after a "next" in
7473 async mode too. Make it a pass/fail test.
7474 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7475 output.
7476 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7477
5166082f
PA
74782014-05-21 Pedro Alves <palves@redhat.com>
7479
7480 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7481 Use them to test variations of "list" after reaching a breakpoint.
7482 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7483 Test "list" with listsize 10 after reaching a breakpoint.
7484 * gdb.python/python.exp (decode_line current location line
7485 number): Adjust expected line number.
7486
2f25d70f
SM
74872014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7488
7489 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7490 behavior for $args, pass it directly to "run".
7491
ff604a67
MR
74922014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7493
7494 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7495 30000 to 65536.
7496
6a3cb8e8
PA
74972014-05-21 Pedro Alves <palves@redhat.com>
7498
7499 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7500 auto-connect-native-target off".
7501 * gdb.base/auto-connect-native-target.c: New file.
7502 * gdb.base/auto-connect-native-target.exp: New file.
7503
4ebfc96e
PA
75042014-05-21 Pedro Alves <palves@redhat.com>
7505
7506 * gdb.base/default.exp: Test "target native" instead of "target
7507 child".
7508
36d46afb
MW
75092014-05-21 Mark Wielaard <mjw@redhat.com>
7510
7511 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7512
5876f503
JK
75132014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7514
7515 Fix TLS access for -static -pthread.
7516 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7517 <HAVE_TLS> (thread_function, main): Initialize it.
7518 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7519 Add clean_restart.
7520 <$have_tls != "">: Check TLSVAR.
7521
0256a6ac
PA
75222014-05-21 Pedro Alves <palves@redhat.com>
7523
7524 * gdb.base/dcache-line-read-error.c: New.
7525 * gdb.base/dcache-line-read-error.exp: New.
7526
936d2992
PA
75272014-05-20 Pedro Alves <palves@redhat.com>
7528
7529 * gdb.base/compare-sections.c: New file.
7530 * gdb.base/compare-sections.exp: New file.
7531
802e8e6d
PA
75322014-05-20 Pedro Alves <palves@redhat.com>
7533
7534 * gdb.base/break-idempotent.c: New file.
7535 * gdb.base/break-idempotent.exp: New file.
7536
e59fa00f
MM
75372014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7538
7539 * gdb.btrace/nohist.exp: New.
7540
8b696e31
YQ
75412014-05-20 Yao Qi <yao@codesourcery.com>
7542
7543 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7544 gdb.reverse directory and gdb_reverse_timeout exists in board
7545 setting.
7546 * README: Document gdb_reverse_timeout.
7547
73c9764f
YQ
75482014-05-20 Yao Qi <yao@codesourcery.com>
7549
7550 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7551 'test_file_name'. Treat args as a string instead of a list.
7552 (gdb_init): Rename argument 'args' by 'test_file_name'.
7553
f1f4348a
JK
75542014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7555
7556 * gdb.arch/powerpc-power.exp: New file.
7557 * gdb.arch/powerpc-power.s: New file.
7558
0dbe70ce
DE
75592014-05-16 Doug Evans <dje@google.com>
7560
7561 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
7562 * gdb.base/completion.exp: Check that all expected files exist
7563 before doing file completion.
0dbe70ce 7564
8d551b02
DE
75652014-05-16 Doug Evans <dje@google.com>
7566
7567 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7568 Update.
7569 (do_syscall_tests_without_xml): Update.
7570
73eb7709
PA
75712014-05-16 Pedro Alves <palves@redhat.com>
7572
7573 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7574 instead of "unknown output after running".
7575
3fae92fc
YQ
75762014-05-16 Yao Qi <yao@codesourcery.com>
7577
7578 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7579 file1.txt from host at the end.
7580 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7581
c2b2ccc5
DE
75822014-05-15 Doug Evans <dje@google.com>
7583
7584 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7585 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7586 loading file. Add test for TU lookup.
7587
8c217a4b
SM
75882014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7589
7590 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7591 calling "-exec-arguments" or "set args" before running the
7592 inferior.
7593
3deb39c6
SM
75942014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7595
7596 * lib/mi-support.exp (mi_expect_stop): Expect message for
7597 inferiors that exit with non-zero exit code.
7598
71a79f8c
YQ
75992014-05-14 Yao Qi <yao@codesourcery.com>
7600
7601 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7602 match absolute path on remote host.
7603 (test_file_list_exec_source_files): Remove "/" from the
7604 pattern.
7605
f23fcd46
YQ
76062014-05-14 Yao Qi <yao@codesourcery.com>
7607
7608 * boards/local-remote-host-notty.exp (${board}_file): New
7609 proc.
7610
9404b58f
KM
76112014-05-07 Kyle McMartin <kyle@redhat.com>
7612
7613 Pushed by Joel Brobecker <brobecker@adacore.com>.
7614 * gdb.arch/aarch64-atomic-inst.c: New file.
7615 * gdb.arch/aarch64-atomic-inst.exp: New file.
7616
5e45f04c
YQ
76172014-05-07 Yao Qi <yao@codesourcery.com>
7618
7619 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7620 in current context" too.
7621
c888a17d
KS
76222014-05-05 Keith Seitz <keiths@redhat.com>
7623
7624 * gdb.linespec/ls-dollar.exp: Add test for linespec
7625 file:convenience_variable.
7626
290a839c
YQ
76272014-05-05 Yao Qi <yao@codesourcery.com>
7628
7629 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7630 traceframes into tfile and ctf trace files. Read data from
7631 trace file and test collected data.
7632 (gdb_collect_locals_test): Likewise.
7633 (gdb_unavailable_registers_test): Likewise.
7634 (gdb_unavailable_floats): Likewise.
7635 (gdb_collect_globals_test): Likewise.
7636 (top-level): Append "ctf" to trace_file_targets if GDB
7637 supports.
7638
b5262cd0
YQ
76392014-05-05 Yao Qi <yao@codesourcery.com>
7640
7641 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7642 code to ...
7643 (gdb_collect_args_test_1): ... it. New proc.
7644 (gdb_collect_locals_test): Move some code to ...
7645 (gdb_collect_locals_test_1): ... it. New proc.
7646 (gdb_unavailable_registers_test): Move some code to ...
7647 (gdb_unavailable_registers_test_1): ... it. New proc.
7648 (gdb_unavailable_floats): Move some code to ...
7649 (gdb_unavailable_floats_1): ... it. New proc.
7650
30a1e6cc
SDJ
76512014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7652
7653 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7654 probes to test for bitness recognition.
7655 * gdb.arch/amd64-stap-optional-prefix.exp
7656 (test_probe_value_without_reg): New procedure.
7657 Add code to test for different kinds of bitness.
7658
f33da99a
SDJ
76592014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7660
7661 PR breakpoints/16889
7662 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7663 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7664
5b80f00d
PA
76652014-05-01 Pedro Alves <palves@redhat.com>
7666
7667 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7668 gdb_file_cmd if no file is specified.
7669 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7670 last_loaded_file to set the remote exec-file.
7671
f8c2a73c
PA
76722014-05-01 Pedro Alves <palves@redhat.com>
7673
7674 * boards/local-remote-host.exp: New file.
7675
be6e8ac7
PA
76762014-05-01 Pedro Alves <palves@redhat.com>
7677
7678 * boards/local-remote-host.exp: Rename to ...
7679 * boards/local-remote-host-notty.exp: ... this.
7680
cac0dc8f
JB
76812014-04-28 Joel Brobecker <brobecker@adacore.com>
7682
7683 * gdb.ada/dyn_arrayidx: New testcase.
7684
9730e6cc
YQ
76852014-04-26 Yao Qi <yao@codesourcery.com>
7686
7687 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7688 and compute the length of function main. Save it in
7689 $main_length.
7690 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7691 (top-level): Use gdb_compile to compile objects into
7692 executable and restart GDB. Remove invocation to
7693 prepare_for_testing.
7694
7ae1a6a6
PA
76952014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7696 Pedro Alves <palves@redhat.com>
7697
7698 PR server/16255
7699 * gdb.multi/multi-attach.c: New file.
7700 * gdb.multi/multi-attach.exp: New file.
7701
4082afcc
PA
77022014-04-25 Pedro Alves <palves@redhat.com>
7703
7704 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7705 user.
7706 (top level): Test that "set remote conditional-breakpoints-packet
7707 off" works as intended.
7708 * gdb.base/dprintf.exp: Test that "set remote
7709 breakpoint-commands-packet off" works as intended.
7710 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7711 New function.
7712 (top level): Call it.
7713 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7714 remote fast-tracepoints-packet off" works as intended.
7715 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7716 * lib/gdb.exp (gdb_is_target_remote): ... here.
7717
2abc3f8d
DB
77182014-04-24 David Blaikie <dblaikie@gmail.com>
7719
7720 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7721 ensure clang would not discard them.
7722 * gdb.base/gdbvars.c: Ditto.
7723 * gdb.base/memattr.c: Ditto.
7724 * gdb.base/whatis.c: Ditto.
7725 * gdb.python/py-prettyprint.c: Ditto.
7726 * gdb.trace/actions.c: Ditto.
7727 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7728 ensure clang would not discard it.
7729
bfd39632
DB
77302014-04-24 David Blaikie <dblaikie@gmail.com>
7731
7732 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7733 clang to emit the full definition of type required by the test
7734 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7735
22842ff6
DB
77362014-04-24 David Blaikie <dblaikie@gmail.com>
7737
7738 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7739 coax Clang into emitting the definition of the type.
7740 * gdb.cp/pr10728-x.h (y): Ditto.
7741 * gdb.cp/pr10728-y.cc (y): Ditto.
7742
c2e827ad
DB
77432014-04-24 David Blaikie <dblaikie@gmail.com>
7744
7745 * gdb.base/label.exp: XFAIL label related tests under Clang.
7746 * gdb.cp/cplabel.exp: Ditto.
7747 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7748 under Clang those using labels.
7749
4c2d33e7
YQ
77502014-04-25 Yao Qi <yao@codesourcery.com>
7751
7752 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7753 double_label.
7754 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7755 partial_label and double_label.
7756
56083b99
DB
77572014-04-24 David Blaikie <dblaikie@gmail.com>
7758
7759 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7760
25d4e99d
DB
77612014-04-24 David Blaikie <dblaikie@gmail.com>
7762
7763 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7764 of the function to work across GCC and Clang.
7765 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7766 pointer types (const void ** const V void **).
7767
01f9f808
MS
77682014-04-24 Michael Sturm <michael.sturm@mintel.com>
7769 Walfred Tedeschi <walfred.tedeschi@intel.com>
7770
7771 * Makefile.in (EXECUTABLES): Added i386-avx512.
7772 * gdb.arch/i386-avx512.c: New file.
7773 * gdb.arch/i386-avx512.exp: Likewise.
7774
4b48d439
KS
77752014-04-23 Keith Seitz <keiths@redhat.com>
7776
7777 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7778 (mi_make_breakpoint_table): New procedure.
7779 (mi_create_breakpoint): Use mi_make_breakpoint
7780 and return the result.
7781 (mi_make_breakpoint): New procedure.
7782 (mi_build_kv_pairs): New procedure.
7783
7784 * gdb.mi/mi-break.exp: Remove unused globals,
7785 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7786 All callers updated.
7787 * gdb.mi/mi-dprintf.exp: Use variable to track command
7788 number.
7789 Update all callers of mi_create_breakpoint and use
7790 mi_make_breakpoint_table.
7791 Remove any unused global variables.
7792 * gdb.mi/mi-nonstop.exp: Likewise.
7793 * gdb.mi/mi-nsintrall.exp: Likewise.
7794 * gdb.mi/mi-nsmoribund.exp: Likewise.
7795 * gdb.mi/mi-nsthrexec.exp: Likewise.
7796 * gdb.mi/mi-reverse.exp: Likewise.
7797 * gdb.mi/mi-simplerun.exp: Likewise.
7798 * gdb.mi/mi-stepn.exp: Likewise.
7799 * gdb.mi/mi-syn-frame.exp: Likewise.
7800 * gdb.mi/mi-until.exp: Likewise.
7801 * gdb.mi/mi-var-cp.exp: Likewise.
7802 * gdb.mi/mi-var-display.exp: Likewise.
7803 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7804 * gdb.mi/mi2-var-child.exp: Likewise.
7805 * gdb.mi/mi-vla-c99.exp: Likewise.
7806 * lib/mi-support.exp: Likewise.
7807
7808 From Ian Lance Taylor <iant@cygnus.com>:
7809 * lib/gdb.exp (parse_args): New procedure.
7810
08351840
PA
78112014-04-23 Pedro Alves <palves@redhat.com>
7812
7813 * gdb.base/break-unload-file.c: New file.
7814 * gdb.base/break-unload-file.exp: New file.
7815 * gdb.base/sym-file-lib.c (baz): New function.
7816 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7817 field.
7818 (load): Store the segment's mapped size.
7819 (unload): New function.
7820 (unload_shlib): New function.
7821 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7822 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7823 set a breakpoint at baz, and call it.
7824 * gdb.base/sym-file.exp: New tests for stale breakpoint
7825 instructions.
7826
076855f9
PA
78272014-04-23 Pedro Alves <palves@redhat.com>
7828
7829 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7830 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7831 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7832 * gdb.base/hbreak-unmapped.c: New file.
7833 * gdb.base/hbreak-unmapped.exp: New file.
7834 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7835 * lib/gdb.exp (gdb_is_target_remote): ... here.
7836
483805cf
PA
78372014-04-22 Pedro Alves <palves@redhat.com>
7838
7839 * gdb.base/consecutive-step-over.c: New file.
7840 * gdb.base/consecutive-step-over.exp: New file.
7841
06d97543
PA
78422014-04-22 Pedro Alves <palves@redhat.com>
7843
7844 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7845 instead of send_gdb/gdb_expect.
7846
b4429ea2
YQ
78472014-04-22 Yao Qi <yao@codesourcery.com>
7848
7849 * lib/trace-support.exp (generate_tracefile): New procedure.
7850 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7851 return 0.
7852 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7853 if generate_tracefile returns 1.
7854
51d48146
PA
78552014-04-18 Tom Tromey <palves@redhat.com>
7856 Pedro alves <tromey@redhat.com>
7857
7858 PR backtrace/15558
7859 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7860 with a backtrace limit.
7861 * gdb.python/py-frame-inline.exp: Test running to an inline
7862 function with a backtrace limit, and printing the newest frame.
7863 * gdb.python/py-frame-inline.c (main): Call f.
7864
bd1dce5f
MS
78652014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7866
7867 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7868
40d1a503
MS
78692014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7870
7871 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7872 Drop prefix from unsupported source file path.
7873
389b98f7
YQ
78742014-04-17 Yao Qi <yao@codesourcery.com>
7875
7876 * lib/gdb.exp (with_target_charset): New proc.
7877 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7878 with_target_charset.
7879 (test_print_strings): Likewise.
7880 (test_repeat_bytes): Likewise.
7881 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7882 for some tests.
7883
22869d73
KS
78842014-04-16 Keith Seitz <keiths@redhat.com>
7885
7886 PR gdb/15827
7887 * gdb.dwarf2/corrupt.c: New file.
7888 * gdb.dwarf2/corrupt.exp: New file.
7889
c4f87ca6
KS
78902014-04-16 Keith Seitz <keiths@redhat.com>
7891
7892 PR c++/16597
7893 * gdb.cp/namelessclass.cc: New file.
7894 * gdb.cp/namelessclass.exp: New file.
7895 * gdb.cp/namelessclass.S: New file.
7896
ab19de87
DE
78972014-04-16 Doug Evans <dje@google.com>
7898
7899 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7900 Add comment.
7901 (gdbserver_default_get_comm_port): New function.
7902 (gdbserver_start): Check if board file provided
7903 "gdbserver,get_comm_port" and use it if so.
7904 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7905 (gdb,socketport): Set to "stdio".
7906 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7907 (stdio_gdbserver_template): Delete.
7908 (${board}_get_remote_address): Update.
7909 (${board}_build_remote_cmd): Delete.
7910 (${board}_get_comm_port): New function.
7911 (${board}_spawn): Update.
7912 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7913 Delete.
7914 (${board}_get_remote_address): Update.
7915 (${board}_get_comm_port): New function.
7916
fc98a809
AB
79172014-04-16 Andrew Burgess <aburgess@broadcom.com>
7918
7919 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7920 appearing in any order.
7921
87fd9e6e
DE
79222014-04-15 Doug Evans <dje@google.com>
7923
7924 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7925 uninitialized value of "description".
7926
099fc3ea
KS
79272014-04-15 Keith Seitz <keiths@redhat.com>
7928
7929 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7930 Remove unused globals.
7931 (test_running_the_program): Likewise.
7932 (test_controlled_execution): Likewise.
7933 (test_controlling_breakpoints): Likewise.
7934 (test_program_termination): Likewise.
7935
5da151d4
KS
79362014-04-15 Keith Seitz <keiths@redhat.com>
7937
7938 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7939 unused globals.
7940 (test_rbreak_creation_and_listing): Likewise.
7941 (test_ignore_count): Likewise.
7942 (test_error): Likewise.
7943
35e5d2f0
PA
79442014-04-15 Pedro Alves <palves@redhat.com>
7945
7946 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7947 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7948 sym-file-loader.c.
7949 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7950 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7951 to sym-file-loader.c.
7952 (struct library): Forward declare.
7953 (load_shlib, lookup_function): Change prototypes.
7954 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7955 (translate_offset): Remove declarations.
7956 (get_text_addr): New declaration.
7957 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7958 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7959 sym-file-loader.h.
7960 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7961 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7962 here from sym-file-loader.h.
7963 (struct library): New structure.
7964 (load_shlib, lookup_function): Change prototypes and adjust to
7965 work with a struct library.
7966 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7967 (translate_offset): Make static.
7968 (get_text_addr): New function.
7969 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7970
eb4c1710
PA
79712014-04-15 Pedro Alves <palves@redhat.com>
7972
7973 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7974
2d1baf52
PA
79752014-04-15 Pedro Alves <palves@redhat.com>
7976
7977 * gdb.base/sym-file-loader.c: Include <limits.h>.
7978 (SELF_LINK): New define.
7979 (get_origin): New function.
7980 (load_shlib): Use it.
7981 * gdb.base/sym-file.exp: Don't early return if the target is
7982 remote. Use runto_main, and issue fail is that fails. Use
7983 gdb_load_shlibs.
7984 (shlib_name): Delete.
7985 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7986
7dd6df01
PA
79872014-04-15 Pedro Alves <palves@redhat.com>
7988
7989 * gdb.base/sym-file.exp: Remove regex characters from test
7990 message. Don't refer to breakpoint numbers in test messages.
7991
b50c8614
KS
79922014-04-14 Keith Seitz <keiths@redhat.com>
7993
7994 PR c++/16253
7995 * gdb.cp/var-tag.cc: New file.
7996 * gdb.cp/var-tag.exp: New file.
7997 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7998 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7999 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8000 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8001
3d567982
TT
80022014-04-14 Tom Tromey <tromey@redhat.com>
8003
8004 * gdb.cp/classes.exp (test_enums): Handle underlying type.
8005 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
8006 type.
8007 * gdb.cp/enum-class.exp: New file.
8008 * gdb.cp/enum-class.cc: New file.
8009
0626fc76
TT
80102014-04-14 Tom Tromey <tromey@redhat.com>
8011
8012 * gdb.dwarf2/enum-type.exp: New file.
8013
dca325b3
SA
80142014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8015
8016 * gdb.mi/mi-vla-c99.exp: New file.
8017 * gdb.mi/vla.c: New file.
8018
5854b38a
SA
80192014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8020
8021 * gdb.base/vla-datatypes.c: New file.
8022 * gdb.base/vla-datatypes.exp: New file.
8023
463bb957
SA
80242014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8025
8026 * gdb.base/vla-ptr.c: New file.
8027 * gdb.base/vla-ptr.exp: New file.
8028
3dd170be
SA
80292014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8030
8031 * gdb.dwarf2/count.exp: New file.
8032
5ecaaa66
SA
80332014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8034
8035 * gdb.base/vla-sideeffect.c: New file.
8036 * gdb.base/vla-sideeffect.exp: New file.
8037
41f1ada5
DB
80382014-04-14 David Blaikie <dblaikie@gmail.com>
8039
8040 * gdb.mi/non-stop.c: Add return value for non-void function return
8041 statement.
8042 * gdb.threads/staticthreads.c: Ditto.
8043
0be03e84
DE
80442014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8045 Doug Evans <xdje42@gmail.com>
8046
8047 * gdb.guile/scm-value.c: Improve test case.
8048 * gdb.guile/scm-value.exp: Add new test.
8049
f180a1fb
DB
80502014-04-11 David Blaikie <dblaikie@gmail.com>
8051
8052 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8053 override Clang's default.
8054
6b662e19
JB
80552014-04-11 Joel Brobecker <brobecker@adacore.com>
8056
8057 Revert the following changes (regressions):
8058
8059 * gdb.base/vla-sideeffect.c: New file.
8060 * gdb.base/vla-sideeffect.exp: New file.
8061
8062 * gdb.dwarf2/count.exp: New file.
8063
8064 * gdb.base/vla-multi.c: New file.
8065 * gdb.base/vla-multi.exp: New file.
8066
8067 * gdb.base/vla-ptr.c: New file.
8068 * gdb.base/vla-ptr.exp: New file.
8069
8070 * gdb.base/vla-datatypes.c: New file.
8071 * gdb.base/vla-datatypes.exp: New file.
8072
8073 * gdb.mi/mi-vla-c99.exp: New file.
8074 * gdb.mi/vla.c: New file.
8075
245a5f0b
KS
80762014-04-11 Keith Seitz <keiths@redhat.com>
8077
8078 PR c++/16675
8079 * gdb.cp/cpsizeof.exp: New file.
8080 * gdb.cp/cpsizeof.cc: New file.
8081
58a84dcf
SA
80822014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8083
191a8a90
JB
8084 * gdb.mi/mi-vla-c99.exp: New file.
8085 * gdb.mi/vla.c: New file.
58a84dcf 8086
c8655f75
SA
80872014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8088
8089 * gdb.base/vla-datatypes.c: New file.
8090 * gdb.base/vla-datatypes.exp: New file.
8091
024e13b4
SA
80922014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8093
8094 * gdb.base/vla-ptr.c: New file.
8095 * gdb.base/vla-ptr.exp: New file.
8096
1a237e0e
SA
80972014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8098
8099 * gdb.base/vla-multi.c: New file.
8100 * gdb.base/vla-multi.exp: New file.
8101
504f3432
SA
81022014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8103
8104 * gdb.dwarf2/count.exp: New file.
8105
3bce8237
SA
81062014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8107
191a8a90
JB
8108 * gdb.base/vla-sideeffect.c: New file.
8109 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 8110
322f9c21
YQ
81112014-04-11 Yao Qi <yao@codesourcery.com>
8112
8113 * gdb.base/completion.exp: Check file exists before running tests
8114 on file completion.
8115
d708bcd1
PA
81162014-04-10 Pedro Alves <palves@redhat.com>
8117
8118 * gdb.base/cond-eval-mode.c: New file.
8119 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8120 prepare_for_testing to build the new file. Check result of
8121 runto_main.
8122 (test_break, test_watch): New procedures.
8123 (top level): Use them.
8124
ae1d2761
PM
81252014-04-08 Pierre Muller <muller@sourceware.org>
8126
8127 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8128 Ctrl-V use for mingw hosts.
8129
7af389b8
SC
81302014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8131
8132 * gdb.python/py-value.c: Improve test case.
8133 * gdb.python/py-value.exp: Add new test.
8134
5e703181
DE
81352014-04-07 David Blaikie <dblaikie@gmail.com>
8136
8137 * lib/compiler.c: Identify the clang compiler.
8138 * lib/compiler.cc: Ditto.
8139
9810b410
YQ
81402014-04-03 Yao Qi <yao@codesourcery.com>
8141
8142 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8143
98d1b8dc
AB
81442014-04-01 Anton Blanchard <anton@samba.org>
8145
8146 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8147 messages unique.
8148
3114cea1
AB
81492014-04-01 Anton Blanchard <anton@samba.org>
8150
8151 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8152 prepare_for_testing.
8153
62f7182c
AB
81542014-04-01 Anton Blanchard <anton@samba.org>
8155
8156 * gdb.arch/ppc64-atomic-inst.c: Remove.
8157 * gdb.arch/ppc64-atomic-inst.S: New file.
8158 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8159
770e7fc7
DE
81602014-03-31 Doug Evans <dje@google.com>
8161
8162 * gdb.base/print-symbol-loading-lib.c: New file.
8163 * gdb.base/print-symbol-loading-main.c: New file.
8164 * gdb.base/print-symbol-loading.exp: New file.
8165
46e2bafa
YQ
81662014-03-31 Yao Qi <yao@codesourcery.com>
8167
8168 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8169
8776cfe9
JB
81702014-03-28 Joel Brobecker <brobecker@adacore.com>
8171
8172 * gdb.ada/mi_dyn_arr: New testcase.
8173
5d1ef361
DE
81742014-03-27 Doug Evans <dje@google.com>
8175
8176 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8177
b5bee914
YQ
81782014-03-27 Yao Qi <yao@codesourcery.com>
8179
8180 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8181 if target is nios2-*-*.
8182
0d4d0e77
YQ
81832014-03-26 Yao Qi <yao@codesourcery.com>
8184
8185 * lib/gdb.exp (readline_is_used): New proc.
8186 * gdb.base/completion.exp: Move tests on command complete up.
8187 Skip the rest of tests if readline is not used.
8188 * gdb.ada/complete.exp: Skp the test if readline is not
8189 used.
8190 * gdb.base/filesym.exp: Likewise.
8191 * gdb.base/macscp.exp: Likewise.
8192 * gdb.base/readline-ask.exp: Likewise.
8193 * gdb.base/readline.exp: Likewise.
8194 * gdb.python/py-cmd.exp: Likewise.
8195 * gdb.trace/tfile.exp: Likewise.
8196
29361eee
YQ
81972014-03-26 Yao Qi <yao@codesourcery.com>
8198
8199 * gdb.base/macscp.exp: Fix code format issues.
8200
bc9a5525
UW
82012014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8202
8203 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8204 * gdb.asm/powerpc64le.inc: New file.
8205
d3839ede
PA
82062014-03-25 Pedro Alves <palves@redhat.com>
8207 Doug Evans <dje@google.com>
8208
8209 * gdb.base/source-execution.c: New file.
8210 * gdb.base/source-execution.exp: New file.
8211 * gdb.base/source-execution.gdb: New file.
8212
01672a57
DE
82132014-03-24 Doug Evans <dje@google.com>
8214
8215 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8216 using fission.
8217
88bbeca9
HZ
82182014-03-24 Hui Zhu <hui@codesourcery.com>
8219 Pedro Alves <palves@redhat.com>
8220
8221 PR breakpoints/16101
8222 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8223 test pass/fail messages. Detect missing support for dprintf when
8224 breakpoints are actually inserted.
8225 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8226 breakpoints are actually inserted.
8227 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8228 fails.
8229
d2348791
JK
82302014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8231
8232 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8233
feef67ab
DE
82342014-03-22 Doug Evans <xdje42@gmail.com>
8235
8236 * gdb.python/python.exp (python not supported): Verify multi-line
8237 python command issues an error.
25d743f9 8238 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 8239 guile command issues an error.
feef67ab 8240
ecebef6a
MR
82412014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8242
8243 * gdb.threads/thread-specific.exp: Handle the lack of usable
8244 $this_breakpoint and $this_thread.
8245
ccdd1909
HZ
82462014-03-21 Hui Zhu <hui@codesourcery.com>
8247
8248 * gdb.base/attach.exp (do_command_attach_tests): New.
8249
beb460e8
PA
82502014-03-20 Tom Tromey <tromey@redhat.com>
8251 Pedro Alves <palves@redhat.com>
8252
8253 PR cli/15718
8254 * gdb.base/condbreak-call-false.c: New file.
8255 * gdb.base/condbreak-call-false.exp: New file.
8256
40acf43a
PA
82572014-03-20 Pedro Alves <palves@redhat.com>
8258
8259 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8260 Delete.
8261 (block_signals, unblock_signals): Delete.
8262 (child_function_2, main): Remove references to deleted variable
8263 and functions.
8264
9f5e1e02
PA
82652014-03-20 Pedro Alves <palves@redhat.com>
8266
8267 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8268 Use pthread_kill to signal thread 2.
8269 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8270 Adjust to make the test send itself a signal rather than using the
8271 host's "kill" command.
8272
99619bea
PA
82732014-03-20 Pedro Alves <palves@redhat.com>
8274
8275 * gdb.threads/multiple-step-overs.c: New file.
8276 * gdb.threads/multiple-step-overs.exp: New file.
8277 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8278 Adjust expected infrun debug output.
8279
2adfaa28
PA
82802014-03-20 Pedro Alves <palves@redhat.com>
8281
8282 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8283 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8284
31e77af2
PA
82852014-03-20 Pedro Alves <palves@redhat.com>
8286
8287 PR breakpoints/7143
8288 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8289 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8290 of gdb_test_multiple.
8291 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8292 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8293
b9f437de
PA
82942014-03-20 Pedro Alves <palves@redhat.com>
8295
8296 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8297 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8298
05adc73e
PA
82992014-03-19 Pedro Alves <palves@redhat.com>
8300
8301 * gdb.base/async.exp: Remove early return.
8302
6048b950
PA
83032014-03-19 Pedro Alves <palves@redhat.com>
8304
8305 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8306
8bcfb00a
PA
83072014-03-19 Pedro Alves <palves@redhat.com>
8308
8309 * gdb.base/async.exp (test_background): Expect \r\n after
8310 "completed." in the fail pattern.
8311
884e37dc
PA
83122014-03-19 Pedro Alves <palves@redhat.com>
8313
8314 * gdb.base/async.exp (test_background): New procedure.
8315 Use it for all background execution command tests.
8316
148e57e2
PA
83172014-03-19 Pedro Alves <palves@redhat.com>
8318
8319 * gdb.base/async.exp: Use prepare_for_testing.
8320
f48088c7
PA
83212014-03-19 Pedro Alves <palves@redhat.com>
8322
8323 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8324 the same line.
8325
e2f6c966
PA
83262014-03-19 Pedro Alves <palves@redhat.com>
8327
8328 * gdb.base/async.c (main): Add "jump here" and "until here" line
8329 marker comments.
8330 * gdb.base/async.exp (jump_here): New global.
8331 (jump& test): Use it.
8332 (until_here): New global.
8333 (until& test): Use it.
8334
c30568d4
PA
83352014-03-19 Pedro Alves <palves@redhat.com>
8336
8337 * gdb.base/async.exp: Don't frob gdb_protocol.
8338
0172b6a7
DE
83392014-03-18 Doug Evans <xdje42@gmail.com>
8340
8341 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8342 Fix spelling of exec-done-display.
8343
06c868a8
JK
83442014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8345
8346 PR gdb/15358
8347 * gdb.base/gdb-sigterm.c: New file.
8348 * gdb.base/gdb-sigterm.exp: New file.
8349
0c7e1a46
PA
83502014-03-18 Pedro Alves <palves@redhat.com>
8351
8352 PR gdb/13860
8353 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8354 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8355 solib-event.
8356
f7c77d93
JB
83572014-03-17 Joel Brobecker <brobecker@adacore.com>
8358
8359 * gdb.ada/pckd_arr_ren: New testcase.
8360
5a1e8c7a
DE
83612014-03-13 Doug Evans <xdje42@gmail.com>
8362
8363 PR guile/16612
8364 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8365 collect after discarding symbols.
8366
350e1a76
DE
83672014-03-13 Ludovic Courtès <ludo@gnu.org>
8368 Doug Evans <xdje42@gmail.com>
8369
8370 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8371 to history survives a gc.
8372
a69900ae
PA
83732014-03-13 Pedro Alves <palves@redhat.com>
8374
8375 * gdb.base/default.exp: Don't test "target procfs".
8376
5db9f0bd
PA
83772014-03-13 Pedro Alves <palves@redhat.com>
8378
8379 * gdb.base/default.exp: Update "target child" and "target procfs"
8380 tests to not expect "Unix".
8381
b3ccfe11
TT
83822014-03-12 Tom Tromey <tromey@redhat.com>
8383
8384 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8385 New procs. Add target-async tests.
8386 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8387 Add target-async tests.
8388
646f4417
AA
83892014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8390
8391 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8392 'func_start' and 'func_end' for the beginning and end of the
8393 function code, respectively.
8394 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8395 'func_end' instead of 'func' and 'main'.
8396
288c211f
AA
83972014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8398
8399 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8400 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8401 generate the debug info assembler source.
8402
e0c0f156
AA
84032014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8404
8405 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8406 * gdb.dwarf2/arr-subrange.exp: Likewise.
8407 * gdb.dwarf2/dwz.exp: Likewise.
8408 * gdb.dwarf2/method-ptr.exp: Likewise.
8409 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8410 * gdb.dwarf2/subrange.exp: Likewise.
8411 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8412 * gdb.dwarf2/implptrpiece.exp: Likewise.
8413 * gdb.dwarf2/nostaticblock.exp: Likewise.
8414
0e5c4555
AA
84152014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8416
8417 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8418 directory to absolute path name arguments.
8419
5ec18f2b
JG
84202014-03-10 Joel Brobecker <brobecker@adacore.com>
8421
8422 * gdb.ada/tagged_access: New testcase.
8423
847fc4f2
MM
84242014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8425
8426 * gdb.btrace/data.exp: Update expected output.
8427
cc3da688
YQ
84282014-03-06 Yao Qi <yao@codesourcery.com>
8429
8430 * gdb.trace/pr16508.exp: New file.
8431
0f26cec1
PA
84322014-03-05 Pedro Alves <palves@redhat.com>
8433
8434 PR gdb/16575
8435 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8436 procedure.
8437 (top level): Adjust to use it. Add tests that exercise breakpoint
8438 interaction with the code-cache.
8439
7a5a839f
LC
84402014-02-26 Ludovic Courtès <ludo@gnu.org>
8441
8442 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8443 test for 'history-append!'.
8444
31aa7e4e
JB
84452014-02-26 Joel Brobecker <brobecker@adacore.com>
8446
8447 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8448 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8449 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8450 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8451 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8452 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8453
1b588015
JB
84542014-02-26 Joel Brobecker <brobecker@adacore.com>
8455
8456 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8457 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8458 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8459
55426c9d
JB
84602014-02-26 Joel Brobecker <brobecker@adacore.com>
8461
8462 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8463
dc53a7ad
JB
84642014-02-26 Joel Brobecker <brobecker@adacore.com>
8465
8466 * gdb.dwarf2/arr-stride.c: New file.
8467 * gdb.dwarf2/arr-stride.exp: New file.
8468
12ab52e9
PA
84692014-02-26 Pedro Alves <palves@redhat.com>
8470
8471 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8472 that won't ever trigger. Make sure that GDB reports the correct
8473 breakpoint that caused the stop.
8474
849c862e
JK
84752014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8476
8477 PR gdb/16626
8478 * gdb.base/auto-load-script: New file.
8479 * gdb.base/auto-load.c: New file.
8480 * gdb.base/auto-load.exp: New file.
8481
71b7d793
JK
8482 PR gdb/16626
8483 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8484
e2f0d509
JK
84852014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8486
8487 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8488 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8489
50cc37c8
DE
84902014-02-24 Doug Evans <dje@google.com>
8491
8492 * lib/gdb.exp (run_on_host): Log error output if program fails.
8493
ea4758f2
PA
84942014-02-21 Pedro Alves <palves@redhat.com>
8495
8496 * gdb.threads/step-after-sr-lock.c: Rename to ...
8497 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8498 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8499 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8500 ... this.
8501
d7b30f67
SDJ
85022014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8503
8504 PR tdep/16397
8505 * gdb.arch/amd64-stap-special-operands.exp: New file.
8506 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8507 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8508 * gdb.arch/amd64-stap-triplet.S: Likewise.
8509 * gdb.arch/amd64-stap-triplet.c: Likewise.
8510
83deb43f
JB
85112014-02-20 Joel Brobecker <brobecker@adacore.com>
8512
8513 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8514 in .section pseudo-op.
8515
adde2bff
DE
85162014-02-20 lin zuojian <manjian2006@gmail.com>
8517 Joel Brobecker <brobecker@adacore.com>
8518 Doug Evans <xdje42@gmail.com>
8519
8520 PR symtab/16581
8521 * gdb.dwarf2/dw2-icycle.S: New file.
8522 * gdb.dwarf2/dw2-icycle.c: New file.
8523 * gdb.dwarf2/dw2-icycle.exp: New file.
8524
f7bd0f78
SC
85252014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8526
8527 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8528 operations on gdb.Value objects.
8529 * gdb.python/py-value-cc.exp: Add new test to test operations on
8530 gdb.Value objects.
8531
c17ef0d5
DE
85322014-02-18 Doug Evans <dje@google.com>
8533
8534 * Makefile.in (TESTS): New variable.
8535 (expanded_tests, expanded_tests_or_none): New variables
8536 (check-single): Pass $(expanded_tests_or_none) to runtest.
8537 (check-parallel): Only run tests in $(TESTS) if non-empty.
8538 (check/no-matching-tests-found): New rule.
8539 * README: Document TESTS makefile variable.
8540
5dd3176f
DE
85412014-02-18 Doug Evans <dje@google.com>
8542
8543 * Makefile.in (check-parallel): rm -rf outputs temp.
8544
0b10be4f
JK
85452014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8546
8547 Fix "ERROR: no fileid for" in the testsuite.
8548 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8549
85f224e7
DE
85502014-02-12 Doug Evans <dje@google.com>
8551
8552 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8553 (MISCELLANEOUS): New variable.
8554 (clean): rm -rf $(MISCELLANEOUS).
8555 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8556 dwp live in the same directory as symlinks, with each symlink pointed
8557 to a differently named file in a different directory.
8558
149b30ff
DE
85592014-02-11 Doug Evans <dje@google.com>
8560
8561 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8562 of Tcl file commands.
8563
1dfdac32
MK
85642014-02-10 Mark Kettenis <kettenis@gnu.org>
8565
8566 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8567 "kill -SIGUSR1 -1".
8568
aa4fb036
JB
85692014-02-10 Joel Brobecker <brobecker@adacore.com>
8570
8571 * gdb.ada/tick_length_array_enum_idx: New testcase.
8572
ed3ef339
DE
85732014-02-10 Doug Evans <xdje42@gmail.com>
8574
8575 * configure.ac (AC_OUTPUT): Add gdb.guile.
8576 * configure: Regenerate.
8577 * lib/gdb-guile.exp: New file.
8578 * lib/gdb.exp (get_target_charset): New function.
8579 * gdb.base/help.exp: Update expected output from "apropos apropos".
8580 * gdb.guile/Makefile.in: New file.
8581 * gdb.guile/guile.exp: New file.
8582 * gdb.guile/scm-arch.c: New file.
8583 * gdb.guile/scm-arch.exp: New file.
8584 * gdb.guile/scm-block.c: New file.
8585 * gdb.guile/scm-block.exp: New file.
8586 * gdb.guile/scm-breakpoint.c: New file.
8587 * gdb.guile/scm-breakpoint.exp: New file.
8588 * gdb.guile/scm-disasm.c: New file.
8589 * gdb.guile/scm-disasm.exp: New file.
8590 * gdb.guile/scm-equal.c: New file.
8591 * gdb.guile/scm-equal.exp: New file.
8592 * gdb.guile/scm-error.exp: New file.
8593 * gdb.guile/scm-error.scm: New file.
8594 * gdb.guile/scm-frame-args.c: New file.
8595 * gdb.guile/scm-frame-args.exp: New file.
8596 * gdb.guile/scm-frame-args.scm: New file.
8597 * gdb.guile/scm-frame-inline.c: New file.
8598 * gdb.guile/scm-frame-inline.exp: New file.
8599 * gdb.guile/scm-frame.c: New file.
8600 * gdb.guile/scm-frame.exp: New file.
8601 * gdb.guile/scm-generics.exp: New file.
8602 * gdb.guile/scm-gsmob.exp: New file.
8603 * gdb.guile/scm-iterator.c: New file.
8604 * gdb.guile/scm-iterator.exp: New file.
8605 * gdb.guile/scm-math.c: New file.
8606 * gdb.guile/scm-math.exp: New file.
8607 * gdb.guile/scm-objfile-script-gdb.in: New file.
8608 * gdb.guile/scm-objfile-script.c: New file.
8609 * gdb.guile/scm-objfile-script.exp: New file.
8610 * gdb.guile/scm-objfile.c: New file.
8611 * gdb.guile/scm-objfile.exp: New file.
8612 * gdb.guile/scm-ports.exp: New file.
8613 * gdb.guile/scm-pretty-print.c: New file.
8614 * gdb.guile/scm-pretty-print.exp: New file.
8615 * gdb.guile/scm-pretty-print.scm: New file.
8616 * gdb.guile/scm-section-script.c: New file.
8617 * gdb.guile/scm-section-script.exp: New file.
8618 * gdb.guile/scm-section-script.scm: New file.
8619 * gdb.guile/scm-symbol.c: New file.
8620 * gdb.guile/scm-symbol.exp: New file.
8621 * gdb.guile/scm-symtab-2.c: New file.
8622 * gdb.guile/scm-symtab.c: New file.
8623 * gdb.guile/scm-symtab.exp: New file.
8624 * gdb.guile/scm-type.c: New file.
8625 * gdb.guile/scm-type.exp: New file.
8626 * gdb.guile/scm-value-cc.cc: New file.
8627 * gdb.guile/scm-value-cc.exp: New file.
8628 * gdb.guile/scm-value.c: New file.
8629 * gdb.guile/scm-value.exp: New file.
8630 * gdb.guile/source2.scm: New file.
8631 * gdb.guile/types-module.cc: New file.
8632 * gdb.guile/types-module.exp: New file.
8633
7026a7c1
YQ
86342014-02-10 Yao Qi <yao@codesourcery.com>
8635
8636 PR testsuite/16543
8637 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8638 * configure: Regenerated.
8639 * Makefile.in: New file.
8640
6c466447
AS
86412014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8642
8643 * gdb.python/py-framefilter.exp: Fix typo.
8644
6e854735
YQ
86452014-02-08 Yao Qi <yao@codesourcery.com>
8646
8647 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8648 that no =breakpoint-modified is emitted when breakpoints are
8649 modified through MI commands.
8650
d137e6dc
PA
86512014-02-07 Pedro Alves <pedro@codesourcery.com>
8652 Pedro Alves <palves@redhat.com>
8653
8654 * gdb.threads/step-after-sr-lock.c: New file.
8655 * gdb.threads/step-after-sr-lock.exp: New file.
8656
b5ee5a50
PA
86572014-02-07 Pedro Alves <palves@redhat.com>
8658
8659 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8660
3c77faf3
JK
86612014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8662
8663 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8664 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8665
6dddc817
DE
86662014-02-06 Doug Evans <xdje42@gmail.com>
8667
8668 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8669 output.
8670
8671 * gdb.gdb/python-interrupts.exp: New file.
8672
de7b2893
YQ
86732014-02-05 Yao Qi <yao@codesourcery.com>
8674
8675 * gdb.trace/report.exp (use_collected_data): Test the output
8676 of "info threads" and "info inferiors".
8677
66d032ac
YQ
86782014-02-05 Yao Qi <yao@codesourcery.com>
8679
8680 Revert this patch:
8681
8682 2013-05-24 Yao Qi <yao@codesourcery.com>
8683
8684 * gdb.trace/tfile.exp: Test inferior and thread.
8685
591a12a1
UW
86862014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8687
8688 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8689 on a function.
8690 * gdb.base/step-bt.c: Call hello via function pointer to make
8691 sure its first instruction is executed on powerpc64le-linux.
8692
0ff3e01f
UW
86932014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8694
8695 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8696
084ee545
UW
86972014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8698
8699 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8700 of the test patterns for use on little-endian systems.
8701
6ed14ff3
UW
87022014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8703
8704 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8705 (decimal_vector): Fix for little-endian.
8706
401e27fd
JM
87072014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8708
8709 * gdb.arch/sparc-sysstep.exp: New file.
8710 * gdb.arch/sparc-sysstep.c: Likewise.
8711
8712 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8713
8b924729
EBM
87142014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8715
8716 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8717
fb151210
JB
87182014-01-23 Tom Tromey <tromey@redhat.com>
8719
8720 * gdb.ada/array_char_idx: New testcase.
8721
0740f8d8
TT
87222014-01-23 Tom Tromey <tromey@redhat.com>
8723
8724 PR python/16487:
8725 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8726 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8727 classes.
8728
21909fa1
TT
87292014-01-23 Tom Tromey <tromey@redhat.com>
8730
8731 PR python/16491:
8732 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8733 string from an inferior frame.
8734 * gdb.python/py-framefilter-mi.exp: Update.
8735
87ce2a04
DE
87362014-01-22 Doug Evans <dje@google.com>
8737
8738 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8739
237b092b
AA
87402014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8741
8742 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8743
d674a709
AA
87442014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8745
8746 * gdb.trace/entry-values.exp: Remove excess space character from
8747 regex patterns. Handle s390 call instruction.
8748
20fa3390
AA
87492014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8750
8751 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8752 define "*_start" label. Make "name" static.
8753 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8754 ${name} by references to ${name}_start.
8755
78466714
AA
87562014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8757
8758 * gdb.base/info-macros.exp: Remove "debug" from the compile
8759 options.
8760
ec9f644a
IB
87612014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8762
8763 * gdb.dlang/demangle.exp: New file.
8764
94b1b47e
IB
87652014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8766
8767 * gdb.dlang/primitive-types.exp: New file.
8768
7f420862
IB
87692014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8770
8771 * configure.ac: Create gdb.dlang/Makefile.
8772 * configure: Regenerate.
8773 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8774 * gdb.dlang/Makefile.in: New file.
8775 * lib/d-support.exp: New file.
8776 * lib/gdb.exp (skip_d_tests): New proc.
8777
52834460
MM
87782014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8779
8780 * gdb.btrace/delta.exp: Check reverse stepi.
8781 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8782 * gdb.btrace/finish.exp: New.
8783 * gdb.btrace/next.exp: New.
8784 * gdb.btrace/nexti.exp: New.
8785 * gdb.btrace/record_goto.c: Add comments.
8786 * gdb.btrace/step.exp: New.
8787 * gdb.btrace/stepi.exp: New.
8788 * gdb.btrace/multi-thread-step.c: New.
8789 * gdb.btrace/multi-thread-step.exp: New.
8790 * gdb.btrace/rn-dl-bind.c: New.
8791 * gdb.btrace/rn-dl-bind.exp: New.
8792 * gdb.btrace/data.c: New.
8793 * gdb.btrace/data.exp: New.
8794 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8795
6e07b1d2
MM
87962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8797
8798 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8799 * gdb.btrace/exception.exp: Update.
8800 * gdb.btrace/instruction_history.exp: Update.
8801 * gdb.btrace/record_goto.exp: Update.
8802 * gdb.btrace/tailcall.exp: Update.
8803 * gdb.btrace/unknown_functions.exp: Update.
8804 * gdb.btrace/delta.exp: New.
8805
0b722aec
MM
88062014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8807
8808 * gdb.btrace/record_goto.exp: Add backtrace test.
8809 * gdb.btrace/tailcall.exp: Add backtrace test.
8810
066ce621
MM
88112014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8812
8813 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8814 * gdb.btrace/record_goto.c: New.
8815 * gdb.btrace/record_goto.exp: New.
8816 * gdb.btrace/x86-record_goto.S: New.
8817
0688d04e
MM
88182014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8819
8820 * gdb.btrace/function_call_history.exp: Update tests.
8821 * gdb.btrace/instruction_history.exp: Update tests.
8822
8710b709
MM
88232014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8824
8825 * gdb.btrace/function_call_history.exp: Fix expected field
8826 order for "record function-call-history".
8827 Add new tests for "record function-call-history /c".
8828 * gdb.btrace/exception.cc: New.
8829 * gdb.btrace/exception.exp: New.
8830 * gdb.btrace/tailcall.exp: New.
8831 * gdb.btrace/x86-tailcall.S: New.
8832 * gdb.btrace/x86-tailcall.c: New.
8833 * gdb.btrace/unknown_functions.c: New.
8834 * gdb.btrace/unknown_functions.exp: New.
8835 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8836
5de9129b
MM
88372014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8838
8839 * gdb.btrace/instruction_history.exp: Update.
8840 * gdb.btrace/function_call_history.exp: Update.
8841
23a7fe75
MM
88422014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8843
8844 * gdb.btrace/function_call_history.exp: Fix expected function
8845 trace.
8846 * gdb.btrace/instruction_history.exp: Initialize traced.
8847 Remove traced_functions.
8848
724c7dd8
MM
88492014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8850
8851 * gdb.btrace/function_call_history.exp: Update
8852 * gdb.btrace/instruction_history.exp: Update.
8853
6d78d93b
MM
88542014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8855
8856 * gdb.btrace/enable.exp: Update expected text.
8857
93a360cc
OJ
88582014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8859
8860 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8861 bytes.
8862
3772b53f
MR
88632014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8864
8865 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8866
596662fa
OJ
88672014-01-15 Omair Javaid <omair.javaid@linaro.org>
8868
8869 * lib/gdb.exp (supports_process_record): Return true for
8870 arm*-linux*. (supports_reverse): Likewise.
8871
b5b08fb4
SC
88722014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8873
8874 PR python/15464
8875 PR python/16113
8876 * gdb.python/py-type.c: Enhance test case.
8877 * gdb.python/py-value-cc.cc: Likewise
8878 * gdb.python/py-type.exp: Add new tests.
8879 * gdb.python/py-value-cc.exp: Likewise
8880
52d7fb13
AA
88812014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8882 Pedro Alves <palves@redhat.com>
8883
8884 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8885 Make "name" extern.
8886 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8887 references to ${name}_start by references to ${name}.
8888
a2cd8cfe
JB
88892014-01-10 Joel Brobecker <brobecker@adacore.com>
8890
8891 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8892
4e23fced
JB
88932014-01-10 Joel Brobecker <brobecker@adacore.com>
8894
8895 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8896
c6a9e42c
PA
88972014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8898 Pedro Alves <palves@redhat.com>
8899
8900 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 8901 mi_gdb_target_load.
c6a9e42c 8902
b7ea362b
PA
89032014-01-08 Pedro Alves <palves@redhat.com>
8904
8905 * gdb.threads/reconnect-signal.c: New file.
8906 * gdb.threads/reconnect-signal.exp: New file.
8907
5e3f4fab
EBM
89082014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8909
8910 * gdb.base/source-dir.exp: New file.
8911
79301218
JB
89122014-01-07 Joel Brobecker <brobecker@adacore.com>
8913
8914 * gdb.ada/mi_interface: New testcase.
8915
8e355c5d
JB
89162014-01-07 Joel Brobecker <brobecker@adacore.com>
8917
8918 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8919 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8920 gdb.ada/pp-rec-component/pck.ads: New files.
8921
c0d48811
JB
89222014-01-07 Joel Brobecker <brobecker@adacore.com>
8923
8924 * gdb.python/py-pp-integral.c: New file.
8925 * gdb.python/py-pp-integral.py: New file.
8926 * gdb.python/py-pp-integral.exp: New file.
8927
17b609c3 8928For older changes see ChangeLog-1993-2013.
c906108c 8929\f
8d8cb839
EZ
8930;; Local Variables:
8931;; mode: change-log
8932;; left-margin: 8
8933;; fill-column: 74
8934;; version-control: never
8935;; End:
902f2ccb 8936
618f726f 8937 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
8938 Copying and distribution of this file, with or without modification,
8939 are permitted provided the copyright notice and this notice are preserved.