]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Revise targets able to run ELF 64k section test
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
e3487908
GKB
12016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
2
3 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
4 to test_catch_syscall_group.
5 (test_catch_syscall_group): New.
6
12df5c00
TT
72016-07-21 Tom Tromey <tom@tromey.com>
8
9 * gdb.rust/simple.rs (main): Use empty struct expression.
10 * gdb.rust/simple.exp: Add tests for empty struct expression.
11
bae62ee2
YQ
122016-07-21 Yao Qi <yao.qi@linaro.org>
13
14 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
15 if gdb_skip_xml_test is true on some targets.
16
b1b53fb3
YQ
172016-07-21 Yao Qi <yao.qi@linaro.org>
18
19 * gdb.server/solib-list.exp: Unset last_loaded_file.
20
027d97f8
JK
212016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
22
23 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
24 "step into captured_main (args)".
25
7674d381
JK
262016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
27
28 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
29
72b5d099
JK
302016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
31
32 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
33
1f960ced
PA
342016-07-19 Pedro Alves <palves@redhat.com>
35
36 * gdb.opt/inline-break.exp: Remove optimize=-O2.
37 * gdb.opt/inline-bt.exp: Likewise.
38 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
39 additional_flags=-Winline.
40 * gdb.opt/inline-locals.exp: Likewise.
41 * gdb.opt/inline-markers.c (ATTR): Define.
42 (inlined_fn): Use it.
43
f25827c1
YQ
442016-07-19 Yao Qi <yao.qi@linaro.org>
45
46 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
47 (test_with_self): Remove some code. Remove argument executable.
48 (top-level): Use do_self_tests.
49
37539ebe
DB
502016-07-15 Zachary Welch <zwelch@codesourcery.com>
51 Don Breazeal <donb@codesourcery.com>
52
53 * gdb.base/maint.exp: Escape paths used in regular expressions.
54 * gdb.stabs/weird.exp: Likewise.
55
dac790e1
TT
562016-07-13 Tom Tromey <tom@tromey.com>
57
58 PR python/15620, PR python/18620:
59 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
60 (test_bkpt_events): New procs.
61
93daf339
TT
622016-07-13 Tom Tromey <tom@tromey.com>
63
64 PR python/17698:
65 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
66 test.
67 (test_watchpoints): Likewise.
68 (test_bkpt_pending): New proc.
69
6571a381
TT
702016-07-13 Tom Tromey <tom@tromey.com>
71
72 PR cli/18053:
73 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
74 completion test.
75
e8732474
JK
762016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
77
78 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
79 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
80 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
81 f_label.
82 (g): Rename g_end_lbl to g_label.
83 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
84 low_pc and high_pc.
85 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
86
e0f3fd7c
TT
872016-07-12 Tom Tromey <tom@tromey.com>
88
89 PR python/19293:
90 * gdb.python/py-unwind-maint.exp: Update tests.
91
3cfe46b6
YQ
922016-07-12 Yao Qi <yao.qi@linaro.org>
93
94 * lib/selftest-support.exp (selftest_setup): Match the output
95 when captured_main is inlined.
96
4f19a0e6
WT
972016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
98
99 * gdb.fortran/derived-types.exp (result_line, result_line_2):
100 New variables.
101 (print this%a, print this%b, print this): New tests.
102 * gdb.fortran/derived-types.f90 (this): New object and
103 initialization.
104
986cf455
SM
1052016-07-06 Simon Marchi <simon.marchi@ericsson.com>
106
107 * gdb.ada/arraydim.exp: Remove extra directory level in build
108 directory.
109
f0464b23
SM
1102016-07-06 Simon Marchi <simon.marchi@ericsson.com>
111
112 * lib/ada.exp: Remove extra directory level in build directory.
113 * gdb.ada/cond_lang.exp: Likewise.
114 * gdb.ada/exec_changed.exp: Likewise.
115 * gdb.ada/lang_switch.exp: Likewise.
116
42d94011
MG
1172016-07-06 Manish Goregaokar <manish@mozilla.com>
118
119 * simple.rs: Add test for raw pointer subscripting
120 * simple.exp: Add test expectations
121
647c264c
YQ
1222016-07-05 Yao Qi <yao.qi@linaro.org>
123
124 * gdb.mi/mi-reverse.exp: Match =record-started output.
125
20aa2c60
PA
1262016-07-01 Pedro Alves <palves@redhat.com>
127
128 * gdb.base/jit-reader.exp (info_registers_current_frame): New
129 procedure.
130 (jit_reader_test): Test the jit reader's unwinder.
131 * gdb.base/jithost.c (jit_function_00_code): New global.
132 (main): Use memcpy to fill in the mmapped code, instead of poking
133 bytes manually here.
134 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
135 value.
136 (read_debug_info): Save the function's range.
137 (read_sp): New function.
138 (unwind_frame): Use it. Also unwind RBP.
139 (get_frame_id): Use read_sp.
140 (gdb_init_reader): Use calloc instead of malloc.
141 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
142 parameter. Use gdb_test_multiple.
143
ced2dffb
PA
1442016-07-01 Pedro Alves <palves@redhat.com>
145 Antoine Tremblay <antoine.tremblay@ericsson.com>
146
147 * gdb.threads/process-dies-while-detaching.c: New file.
148 * gdb.threads/process-dies-while-detaching.exp: New file.
149
63000888
PA
1502016-07-01 Pedro Alves <palves@redhat.com>
151
152 * gdb.multi/watchpoint-multi-exit.c: New file.
153 * gdb.multi/watchpoint-multi-exit.exp: New file.
154
038d4868
PA
1552016-06-30 Pedro Alves <palves@redhat.com>
156
157 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
158 unset inferior_spawn_id.
159
994e9c83
PA
1602016-06-30 Pedro Alves <palves@redhat.com>
161
162 * lib/mi-support.exp (default_mi_gdb_start): Declare global
163 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
164
e5653468
YQ
1652016-06-29 Yao Qi <yao.qi@linaro.org>
166
167 * gdb.base/return.c: Add copyright header.
168
803b47e5
TT
1692016-06-29 Tom Tromey <tom@tromey.com>
170
171 PR python/20129:
172 * gdb.python/py-framefilter.exp: Add tests for setting priority
173 and disabling of non-existent frame filter.
174
28244707
YQ
1752016-06-29 Yao Qi <yao.qi@linaro.org>
176
177 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
178 0x0f07ff.
179
a31d2f06
YQ
1802016-06-28 Yao Qi <yao.qi@linaro.org>
181
182 * gdb.base/catch-syscall.exp: Remove check on isnative and target
183 triplets. Start gdb, execute catch syscall, and continue. Check
184 gdb's output to determine catch syscall is supported.
185
921d8f54
MG
1862016-06-27 Manish Goregaokar <manish@mozilla.com>
187
25d49b86
PA
188 * gdb.rust/simple.rs: Add test for returning unit in a function.
189 * gdb.rust/simple.exp: Add expectation for functions returning
190 unit.
921d8f54 191
f4952523
PMR
1922016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
193
194 * gdb.python/py-breakpoint-create-fail.c,
195 gdb.python/py-breakpoint-create-fail.exp,
196 gdb.python/py-breakpoint-create-fail.py: New testcase.
197
fccb08f8
MG
1982016-06-25 Manish Goregaokar <manish@mozilla.com>
199
200 PR gdb/20239
201 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
202 * gdb.rust/simple.exp: Add test expectations for new NonZero
203 tests.
fccb08f8 204
6b850546
DT
2052016-06-24 David Taylor <dtaylor@emc.com>
206
207 * gdb.base/offsets.exp: New file.
208 * gdb.base/offsets.c: New file.
209
17621150
TT
2102016-06-23 Tom Tromey <tom@tromey.com>
211
212 PR gdb/16483:
213 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
214 before any filters are loaded.
215
04d59df6
WT
2162016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
217
218 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
219 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
220 structs.
221 * gdb.fortran/derived-type-function.exp: New file.
222 * gdb.fortran/derived-type-function.f90: New file.
223
224
ac69f786
PA
2252016-06-21 Pedro Alves <palves@redhat.com>
226
227 * gdb.base/new-ui.exp: New file.
228 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
229 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
230 (with_spawn_id): New procedure.
231
49940788
PA
2322016-06-21 Pedro Alves <palves@redhat.com>
233
234 * gdb.mi/mi-exec-run.exp: New file.
235
ef274d26
PA
2362016-06-21 Pedro Alves <palves@redhat.com>
237
238 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
239 breakpoint command's output on the main UI.
240 (test_break): New procedure, factored out from calls in the top
241 level.
242 (top level): Use foreach_with_prefix to test MI as main UI and as
243 separate UI.
244
468afe6c
PA
2452016-06-21 Pedro Alves <palves@redhat.com>
246
247 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
248 (test_awatch_creation_and_listing)
249 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
250 Remove 'type' parameter.
251 (test_watchpoint_all): New parameter mi_mode. Remove
252 with_test_prefix.
253 (top level): Use foreach_with_prefix, and add main/separate UI MI
254 testing axis.
255
51f77c37
PA
2562016-06-21 Pedro Alves <palves@redhat.com>
257
258 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
259 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
260 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
261 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
262 (gdb_main_spawn_id, mi_spawn_id): Declare and
263 comment.
264 (mi_create_inferior_pty): New procedure,
265 factored out from default_mi_gdb_start.
266 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
267 procedures.
268 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
269 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
270 Use mi_create_inferior_pty.
271 (mi_gdb_start): Use eval to pass down args list.
272
8980e177
PA
2732016-06-21 Pedro Alves <palves@redhat.com>
274
275 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
276 * gdb.opt/inline-cmds.exp: Add MI tests.
277
f38d3ad1
PA
2782016-06-21 Pedro Alves <palves@redhat.com>
279
280 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
281
45db7c09
PA
2822016-06-21 Pedro Alves <palves@redhat.com>
283
284 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
285 (top level): Use it instead of mi_execute_to.
286
5a069ab3
PA
2872016-06-21 Pedro Alves <palves@redhat.com>
288
289 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
290 (cont_handler_str): New.
291 (signal_stop_handler): Set stop_handler_str instead of printing to
292 stdout.
293 (continue_handler): Set cont_handler_str instead of printing to
294 stdout.
295 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
296 mi_send_resuming_command. Print stop_handler_str and
297 cont_handler_str instead of expecting the python events print
298 directly.
299
2838cc1d
SD
3002016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
301
302 * gdb.base/jit-reader.exp: New file.
303 * gdb.base/jithost.c: New file.
304 * gdb.base/jithost.h: New file.
305 * gdb.base/jitreader.c : New file.
306 * gdb.base/jit-protocol.h: New file.
307
21a77091
YQ
3082016-06-17 Yao Qi <yao.qi@linaro.org>
309
310 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
311 parameters follow_fork and detach_on_fork. Set follow-fork-mode
312 and detach-on-fork. Adjust tests.
313 (top level): Invoke break_cond_on_syscall with combinations of
314 syscall, follow-fork-mode and detach-on-fork.
315
f50bf8e5
YQ
3162016-06-17 Yao Qi <yao.qi@linaro.org>
317
318 * gdb.base/step-over-exit.c: New.
319 * gdb.base/step-over-exit.exp: New.
320
a28d8e50
YTL
3212016-06-17 Yan-Ting Lin <currygt52@gmail.com>
322
323 * gdb.base/float.exp: Add target check for nds32*-*-*.
324 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
325
cad8e26d
AB
3262016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
327
328 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
329 for unsupported target features.
330 * gdb.base/call-rt-st.exp: Likewise.
331 * gdb.base/call-sc.exp: Likewise.
332 * gdb.base/call-signal-resume.exp: Likewise.
333 * gdb.base/call-strs.exp: Likewise.
334 * gdb.base/callexit.exp: Likewise.
335 * gdb.base/callfuncs.exp: Likewise.
336 * gdb.base/nodebug.exp: Likewise.
337 * gdb.base/printcmds.exp: Likewise.
338 * gdb.base/ptype.exp: Likewise.
339 * gdb.base/structs.exp: Likewise.
340 * gdb.base/unwindonsignal.exp: Likewise.
341 * gdb.cp/gdb2495.exp: Likewise.
342 * gdb.cp/templates.exp: Likewise.
343 * gdb.cp/virtfunc.exp: Likewise.
344 * gdb.threads/hand-call-in-threads.exp: Likewise.
345 * gdb.threads/interrupted-hand-call.exp: Likewise.
346 * gdb.threads/thread-unwindonsignal.exp: Likewise.
347
347dc102
TT
3482016-06-10 Tom Tromey <tom@tromey.com>
349
350 PR rust/20110:
351 * gdb.rust/expr.exp: Add test for integer constant larger than
352 i32.
353
5e13cf25
BH
3542016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
355
356 * gdb.fortran/nested-funcs.exp: New.
357 * gdb.fortran/nested-funcs.f90: New.
358
bb556f1f
TK
3592016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
360
361 * gdb.base/examine-backward.c: New file.
362 * gdb.base/examine-backward.exp: New file.
363
38b022b4
SM
3642016-06-06 Simon Marchi <simon.marchi@ericsson.com>
365
366 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
367 matching.
368
1b40ec05
TT
3692016-06-02 Tom Tromey <tom@tromey.com>
370
371 PR python/18984:
372 * gdb.python/py-shared.exp: Add solib_name test.
373
193bd378
SM
3742016-06-02 Simon Marchi <simon.marchi@ericsson.com>
375
376 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
377
3326303b
MG
3782016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
379
380 PR c++/19893
381 * gdb.dwarf2/implref.exp: Rename to...
382 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
383 * gdb.dwarf2/implref-array.c: New file.
384 * gdb.dwarf2/implref-array.exp: Likewise.
385 * gdb.dwarf2/implref-global.c: Likewise.
386 * gdb.dwarf2/implref-global.exp: Likewise.
387 * gdb.dwarf2/implref-struct.c: Likewise.
388 * gdb.dwarf2/implref-struct.exp: Likewise.
389
825c8ef2
AT
3902016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
391
392 * gdb.trace/trace-condition.exp: Add 64bit tests.
393
2320162a
AT
3942016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
395
396 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
397 bits types.
398 (main): Adapt to 8 to 64 bits types.
399 * gdb.trace/trace-condition.exp: Add new tests.
400
a7818233
AT
4012016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
402
403 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
404
0d336466
AT
4052016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
406
407 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
408 Move condition tests...
409 * gdb.trace/trace-condition.exp: Here.
410
7faeb45a
AT
4112016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
412
413 * gdb.trace/trace-condition.exp: Add counter-case tests.
414
e385593e
JK
4152016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
416
417 PR c++/15231
418 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
419 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
420
744608cc
PA
4212016-05-27 Pedro Alves <palves@redhat.com>
422
423 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
424 New procedure.
425 (top level): Call it, and bail out of DejaGnu is known to be bad.
426
ac775bf4
AB
4272016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
428
429 * gdb.base/whatis.c: Extend the test case.
430 * gdb.base/whatis.exp: Add additional tests.
431
2bbad2ea
BH
4322016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
433
434* gdb.fortran/type.f90: Add pointer variable.
435* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
436
8b70175d
BH
4372016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
438
439 * gdb.fortran/vla-type.exp: Fix testcase name.
440
86d8a848
BH
4412016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
442
443 * gdb.fortran/vla-type.exp: Access elements in nested structs.
444
e188eb36
BH
4452016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
446
447 * gdb.fortran/type.f90: Add nested structures.
448 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
449 * gdb.fortran/derived-type.exp: Adapt expected output.
450 * gdb.fortran/vla-type.exp: Adapt expected output.
451
9b2db1fd
BH
4522016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
453
454 * gdb.fortran/whatis_type.exp: Adapt expected output.
455
72b17055
BH
4562016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
457
458 * gdb.fortran/print_type.exp: Fix expected output.
459 * gdb.fortran/whatis_type.exp: Fix expected output.
460
3cd81d8d
BH
4612016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
462
463 * gdb.fortran/whatis_type.exp: Use multi_line.
464
ddae9462
TT
4652016-05-24 Tom Tromey <tom@tromey.com>
466
467 PR python/17386:
468 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
469 use value as an index.
470
1957f6b8
TT
4712016-05-23 Tom Tromey <tom@tromey.com>
472
473 PR python/17981:
474 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
475 no-breakpoint case.
476
026a9174
PA
4772016-05-24 Pedro Alves <palves@redhat.com>
478
479 PR gdb/19828
480 * gdb.threads/clone-attach-detach.c: New file.
481 * gdb.threads/clone-attach-detach.exp: New file.
482
e70a7231
FR
4832016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
484
485 * gdb.base/annota-input-while-running.exp: Fix syntax error.
486
0f6ed0e0
TT
4872016-05-23 Tom Tromey <tom@tromey.com>
488
489 PR python/19438, PR python/18393:
490 * gdb.python/py-progspace.exp: Add "dir" test.
491 * gdb.python/py-objfile.exp: Add "dir" test.
492
ffd19d61
YQ
4932016-05-23 Yao Qi <yao.qi@linaro.org>
494
495 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
496 * gdb.arch/thumb2-it.exp: Likewise.
497
9e8f9b05
SM
4982016-05-18 Simon Marchi <simon.marchi@ericsson.com>
499
500 * gdb.mi/mi-threads-interrupt.c: New file.
501 * gdb.mi/mi-threads-interrupt.exp: New file.
502
61c6156d
SM
5032016-05-17 Simon Marchi <simon.marchi@ericsson.com>
504
505 PR gdb/18077
506 * gdb.mi/mi-async-run.exp: New file.
507 * gdb.mi/mi-async-run.c: New file.
508
67218854
TT
5092016-05-17 Tom Tromey <tom@tromey.com>
510 Manish Goregaokar <manishsmail@gmail.com>
511
512 * lib/rust-support.exp: New file.
513 * lib/gdb.exp (skip_rust_tests): New proc.
514 (build_executable_from_specs): Handle rust.
515 * lib/future.exp (gdb_find_rustc): New proc.
516 (gdb_default_target_compile): Handle rust.
517 * gdb.rust/expr.exp: New file.
518 * gdb.rust/generics.exp: New file.
519 * gdb.rust/generics.rs: New file.
520 * gdb.rust/methods.exp: New file.
521 * gdb.rust/methods.rs: New file.
522 * gdb.rust/modules.exp: New file.
523 * gdb.rust/modules.rs: New file.
524 * gdb.rust/simple.exp: New file.
525 * gdb.rust/simple.rs: New file.
526
c44af4eb
TT
5272016-05-17 Tom Tromey <tom@tromey.com>
528
529 * gdb.base/default.exp (set language): Add rust.
530
dcd1f979
TT
5312016-05-17 Tom Tromey <tom@tromey.com>
532
533 * gdb.gdb/unittest.exp: New file.
534
155b7f57
YQ
5352016-05-16 Yao Qi <yao.qi@linaro.org>
536
537 * gdb.base/batch-preserve-term-settings.exp: Remove variable
538 shell_prompt. Update shell_prompt_re.
539
8ddd5a6c
DE
5402016-05-12 Doug Evans <dje@google.com>
541
542 PR symtab/19999
543 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
544 $options when building executable.
545 * gdb.dwarf2/fission-loclists-pie.S: New file.
546 * gdb.dwarf2/fission-loclists-pie.exp: New file.
547
02e370d9
SM
5482016-05-04 Simon Marchi <simon.marchi@ericsson.com>
549
550 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
551 of [is_remote target],
552
8929ad8b
SM
5532016-05-04 Simon Marchi <simon.marchi@ericsson.com>
554
555 * lib/gdb.exp (use_gdb_stub): New procedure.
556
6c447423
DE
5572016-05-03 Yunlian Jiang <yunlian@google.com>
558 Doug Evans <dje@google.com>
559
560 PR symtab/19914
561 * gdb.dwarf2/dwp-sepdebug.c: New file.
562 * gdb.dwarf2/dwp-sepdebug.exp: New file.
563
444e826c
SM
5642016-05-02 Simon Marchi <simon.marchi@ericsson.com>
565
566 * gdb.base/detach.exp: Remove is_remote check.
567
740feeaa
SM
5682016-05-02 Simon Marchi <simon.marchi@ericsson.com>
569
570 * gdb.base/annota-input-while-running.exp: Don't check for
571 [is_remote target]. Enable annotations after running to main.
572 Remove unused "set test..." line.
573
9080ac9d
SM
5742016-04-28 Simon Marchi <simon.marchi@ericsson.com>
575
576 * gdb.trace/trace-enable-disable.exp: New file.
577 * gdb.trace/trace-enable-disable.c: New file.
578
952ebca5
SM
5792016-04-28 Simon Marchi <simon.marchi@ericsson.com>
580
581 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
582 use it in info sharedlibrary test.
583 * gdb.trace/ftrace-lock.exp: Likewise.
584 * gdb.trace/ftrace.exp: Likewise.
585 * gdb.trace/range-stepping.exp: Likewise.
586 * gdb.trace/trace-break.exp: Likewise.
587 * gdb.trace/trace-condition.exp: Likewise.
588 * gdb.trace/trace-mt.exp: Likewise.
589
d9019901
SM
5902016-04-27 Simon Marchi <simon.marchi@ericsson.com>
591
592 * lib/gdb.exp (gdb_load_shlibs): Rename to...
593 (gdb_load_shlib): ... this.
594 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
595 gdb_load_shlib.
596 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
597 * gdb.base/ctxobj.exp: Likewise.
598 * gdb.base/dprintf-pending.exp: Likewise.
599 * gdb.base/dso2dso.exp: Likewise.
600 * gdb.base/fixsection.exp: Likewise.
601 * gdb.base/gcore-relro.exp: Likewise.
602 * gdb.base/gdb1555.exp: Likewise.
603 * gdb.base/global-var-nested-by-dso.exp: Likewise.
604 * gdb.base/gnu-ifunc.exp: Likewise.
605 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
606 * gdb.base/jit-so.exp (one_jit_test): Likewise.
607 * gdb.base/pending.exp: Likewise.
608 * gdb.base/print-file-var.exp: Likewise.
609 * gdb.base/print-symbol-loading.exp: Likewise.
610 * gdb.base/shlib-call.exp: Likewise.
611 * gdb.base/shreloc.exp: Likewise.
612 * gdb.base/so-impl-ld.exp: Likewise.
613 * gdb.base/solib-disc.exp: Likewise.
614 * gdb.base/solib-nodir.exp: Likewise.
615 * gdb.base/solib-overlap.exp: Likewise.
616 * gdb.base/solib-symbol.exp: Likewise.
617 * gdb.base/solib-weak.exp (do_test): Likewise.
618 * gdb.base/sym-file.exp: Likewise.
619 * gdb.base/symtab-search-order.exp: Likewise.
620 * gdb.base/type-opaque.exp: Likewise.
621 * gdb.base/unload.exp: Likewise.
622 * gdb.base/watchpoint-solib.exp: Likewise.
623 * gdb.compile/compile.exp: Likewise.
624 * gdb.cp/gdb2384.exp: Likewise.
625 * gdb.cp/infcall-dlopen.exp: Likewise.
626 * gdb.cp/re-set-overloaded.exp: Likewise.
627 * gdb.fortran/library-module.exp: Likewise.
628 * gdb.opt/solib-intra-step.exp: Likewise.
629 * gdb.python/py-finish-breakpoint.exp: Likewise.
630 * gdb.python/py-shared.exp: Likewise.
631 * gdb.reverse/solib-precsave.exp: Likewise.
632 * gdb.reverse/solib-reverse.exp: Likewise.
633 * gdb.server/solib-list.exp: Likewise.
634 * gdb.threads/dlopen-libpthread.exp: Likewise.
635 * gdb.threads/tls-shared.exp: Likewise.
636 * gdb.threads/tls-so_extern.exp: Likewise.
637 * gdb.trace/change-loc.exp: Likewise.
638 * gdb.trace/ftrace-lock.exp: Likewise.
639 * gdb.trace/ftrace.exp: Likewise.
640 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
641 * gdb.trace/pending.exp: Likewise.
642 * gdb.trace/range-stepping.exp: Likewise.
643 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
644 (strace_info_marker): Likewise.
645 (strace_probe_marker): Likewise.
646 (strace_trace_on_same_addr): Likewise.
647 (strace_trace_on_diff_addr): Likewise.
648 * gdb.trace/trace-break.exp: Likewise.
649 * gdb.trace/trace-condition.exp: Likewise.
650 * gdb.trace/trace-mt.exp: Likewise.
651
fca4cfd9
SM
6522016-04-27 Simon Marchi <simon.marchi@ericsson.com>
653
654 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
655 result of gdb_remote_download.
656 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
657 * gdb.base/dso2dso.exp: Likewise.
658 * gdb.base/global-var-nested-by-dso.exp: Likewise.
659 * gdb.base/print-file-var.exp: Likewise.
660 * gdb.base/shlib-call.exp: Likewise.
661 * gdb.base/shreloc.exp: Likewise.
662 * gdb.base/solib-overlap.exp: Likewise.
663 * gdb.base/solib-weak.exp (do_test): Likewise.
664 * gdb.base/unload.exp: Likewise.
665
11cf4ffb
YQ
6662016-04-27 Yao Qi <yao.qi@linaro.org>
667
668 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
669 exists.
670
3e2e34f8
KB
6712016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
672
673 * vla-type.exp: Print structure from toplevel.
674
8f07e298
BH
6752016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
676
677 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
678 of dynamic types.
679 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
680 of dynamic types.
681
9920b434
BH
6822016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
683
684 * gdb.fortran/vla-type.f90: New file.
685 * gdb.fortran/vla-type.exp: New file.
686
f3abeff5
YQ
6872016-04-25 Yao Qi <yao.qi@linaro.org>
688
689 * gdb.base/branch-to-self.c: New file.
690 * gdb.base/branch-to-self.exp: New file.
691
0a5d52f0
YQ
6922016-04-22 Yao Qi <yao.qi@linaro.org>
693
694 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
695 more after $hex.
696
495346f6
YQ
6972016-04-22 Yao Qi <yao.qi@linaro.org>
698
699 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
700 * gdb.base/annota3.exp: Likewise.
701
4a7e075c
YQ
7022016-04-22 Yao Qi <yao.qi@linaro.org>
703
704 * gdb.reverse/step-precsave.exp: Do one step and test program
705 stops in "callee" and do multiple steps until program goes out
706 of "callee".
707 * gdb.reverse/step-reverse.exp: Likewise.
708
5b061e98
YQ
7092016-04-22 Yao Qi <yao.qi@linaro.org>
710
711 * gdb.trace/signal.exp: Also pass if
712 $tracepoint_hits($i) > $iterations.
713
5c5dc57f
YQ
7142016-04-22 Yao Qi <yao.qi@linaro.org>
715
716 * gdb.trace/signal.c: New file.
717 * gdb.trace/signal.exp: New file.
718
a55411b9
DE
7192016-04-19 Doug Evans <xdje42@gmail.com>
720
721 * gdb.base/bad-file.exp: New file.
722
a22df60a
MG
7232016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
724
725 * gdb.dwarf2/implref.exp: New file.
726
0c13f7e5
BH
7272016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
728
729 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
730 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
731 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
732 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
733 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
734 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
735 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
736 * lib/fortran.exp (fortran_int4): New procedure.
737 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
738 (fortran_logical4): Likewise.
739
9b9b09e9
BH
7402016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
741
742 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
743
a14d1f4d
BH
7442016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
745
746 * lib/compiler.c: Add Intel specific preprocessor macros.
747 * lib/compiler.cc: Likewise.
25d49b86 748
7d49b1d0
LM
7492016-04-13 Luis Machado <lgustavo@codesourcery.com>
750
751 * gdb.server/connect-with-no-symbol-file.c: New file.
752 * gdb.server/connect-with-no-symbol-file.exp: New file.
753
8392fa22
SM
7542016-04-13 Simon Marchi <simon.marchi@ericsson.com>
755
756 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
757
8c4c4aeb
SM
7582016-04-13 Simon Marchi <simon.marchi@ericsson.com>
759
760 * boards/gdbserver-base.exp (${board}_download): Copy source file to
761 standard output directory.
762
45e3745e
AT
7632016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
764
765 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
766
e26b7e41
MM
7672016-04-13 Markus Metzger <markus.t.metzger@intel.com>
768
769 * gdb.btrace/instruction_history.c (loop): Add declaration.
770
8ce09462
AT
7712016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
772
773 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
774
2e88a1ea
SM
7752016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
776
777 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
778 parentheses to print.
779 (continue_handler): Likewise.
780
f48e22e3
SM
7812016-04-08 Simon Marchi <simon.marchi@ericsson.com>
782
783 * gdb.server/solib-list.exp: Remove is_remote check.
784 Pass shlib= to gdb_compile. Don't link shared library with
785 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
786 Run binary filename through "readlink -f" on the target.
787
096be756
PA
7882016-04-08 Pedro Alves <palves@redhat.com>
789
790 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
791 interpreter filename as argument to gdbserver_spawn.
792 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
793 Return empty if $last_loaded_file does not exist.
794
06500533
JK
7952016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
796
797 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
798 * gdb.base/jit-main.c: Use exit after usage.
799
2d35e871
JK
8002016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
801
802 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
803 GDBHISTSIZE prior to the tests.
804 * gdb.base/gdbinit-history.exp: Likewise.
805
8062016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
807
808 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
809 instead of build_executable. Use gdb_load_shlibs.
810
c8064e7e
YQ
8112016-04-07 Yao Qi <yao.qi@linaro.org>
812
813 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
814 Execute "si" command.
815
bde47561
YQ
8162016-04-07 Yao Qi <yao.qi@linaro.org>
817
818 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
819 number instead of the comments on some line.
820
b16f8a3b
DB
8212016-04-06 Don Breazeal <donb@codesourcery.com>
822
823 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
824 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
825
c2f901df
SM
8262016-04-06 Simon Marchi <simon.marchi@ericsson.com>
827
828 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
829 standard_output_file. Remove unused binfile variable.
830
ac17fda0
CU
8312016-04-05 Catalin Udma <catalin.udma@freescale.com>
832
833 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
834 * gdb.python/py-mi-objfile.exp: Match "list main" output
835 in console format.
836
03a8c4df
SM
8372016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
838
839 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
840 absolute.
841
6e774b13
SM
8422016-04-05 Simon Marchi <simon.marchi@ericsson.com>
843
844 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
845 absolute.
846 * gdb.trace/ftrace.exp: Likewise.
847 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
848 targets as well.
849 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
850 (gdb_load_shlibs): Copy libraries to test directory when testing
851 natively. Only set solib-search-path if testing remotely.
852 * lib/mi-support.exp (mi_load_shlibs): Likewise.
853
7817ea46
SM
8542016-04-05 Simon Marchi <simon.marchi@ericsson.com>
855
856 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
857 gdb_download. Use it even if the target is not remote.
858 * gdb.base/jit.exp (compile_jit_test): Likewise.
859 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
860 output directory if the destination board is local, otherwise use
861 the standard remote_download from DejaGnu.
862 (gdb_download): Remove.
863 (gdb_load_shlibs): Use gdb_remote_download instead of
864 gdb_download.
865 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
866 Use gdb_remote_download instead of gdb_download. Use it even if
867 the target is not remote.
868 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
869 instead of gdb_download.
870
7beb7f68
SM
8712016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
872
873 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
874 (test_insert_delete_modify): Call mi_load_shlibs before trying to
875 run.
876
cc63428a
AV
8772016-04-01 Artemiy Volkov <artemiyv@acm.org>
878
879 PR gdb/19820
880 * gdb.base/printcmds.exp: Add artificial arrays tests.
881
64cdf930
PA
8822016-03-31 Pedro Alves <palves@redhat.com>
883
884 PR gdb/19858
885 * gdb.base/jit-main.c: Include unistd.h.
886 (ATTACH): Define to 0 if not already defined.
887 (wait_for_gdb, mypid): New globals.
888 (WAIT_FOR_GDB): New macro.
889 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
890 some breakpoint locations.
891 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
892 New procedures.
893 (one_jit_test): Add REATTACH parameter, and handle it. Use
894 continue_to_test_location.
895 (top level): Test attach, and adjusts calls to one_jit_test.
896
40dea8cb
PA
8972016-03-31 Pedro Alves <palves@redhat.com>
898
899 PR gdb/19858
900 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
901 BINSUFFIX parameter, and handle it.
902 (top level): Adjust calls compile_jit_test.
903
e7ea3ec7
CU
9042016-03-31 Catalin Udma <catalin.udma@freescale.com>
905
906 PR python/19743
907 * gdb.python/py-mi-events-gdb.py: New file.
908 * gdb.python/py-mi-events.c: New file.
909 * gdb.python/py-mi-events.exp: New file.
910
e6359af3
YQ
9112016-03-30 Yao Qi <yao.qi@linaro.org>
912
913 * gdb.reverse/until-precsave.exp: Match function name only.
914 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
915 Move malloc to a condition block.
916 * gdb.reverse/until-reverse.exp: Match function name only.
917
a4105d04
MK
9182016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
919
920 * gdb.trace/ftrace.exp: Set arg0exp for s390.
921 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
922 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
923 variable for GPR 0 instead of assuming it is register 0.
924 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
925 * lib/trace-support.exp: Add s390 registers.
926
bfa6adb9
YQ
9272016-03-29 Yao Qi <yao.qi@linaro.org>
928
929 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
930
1e6697ea
YQ
9312016-03-24 Yao Qi <yao.qi@linaro.org>
932
933 * gdb.reverse/break-reverse.exp: Add quotation mark in the
934 test message.
935
64bcd522
AA
9362016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
937
938 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
939 maintaining separate logic for constructing the output path.
940
7868401b
DB
9412016-03-16 Don Breazeal <donb@codesourcery.com>
942
943 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
944 Retry fork and waitpid on interrupted system call errors.
945 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
946 Use with_timeout_factor to increase timeout by factor of 10.
947
1cafadb4
DB
9482016-03-15 Don Breazeal <donb@codesourcery.com>
949
950 * gdb.cp/scope-err.cc: New test program.
951 * gdb.cp/scope-err.exp: New test script.
952 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
953 lines and "set breakpoint here" comment.
954 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
955 Fixed some whitespace and format issues.
956 * gdb.mi/mi-linespec-err-cp.cc: New test program.
957 * gdb.mi/mi-linespec-err-cp.exp: New test script.
958
81516450
DE
9592016-03-15 Doug Evans <dje@google.com>
960
961 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
962 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
963 All callers updated. Add tests for enums, mixed flags register.
964
aa52b601
DE
9652016-03-15 Doug Evans <dje@google.com>
966
967 * gdb.base/skip.c (main): Call test_skip_file_and_function.
968 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
969
fa4ff313
SM
9702016-03-14 Simon Marchi <simon.marchi@ericsson.com>
971
972 * gdb.base/default.exp: Add $_as_string to the list of expected
973 convenience functions.
974
f2403c39
AB
9752016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
976
977 * gdb.base/maint.exp: New tests for 'maint info line-table'.
978
f2f3ccb9
SM
9792016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
980
981 * gdb.python/py-as-string.exp: New file.
982 * gdb.python/py-as-string.c: New file.
983
00dbd492
PA
9842016-03-09 Pedro Alves <palves@redhat.com>
985
986 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
987 signal" -> "Thread NN received signal" output change.
988 * gdb.threads/ia64-sigill.exp: Likewise.
989 * gdb.threads/linux-dp.exp: Likewise.
990 * gdb.threads/manythreads.exp: Likewise.
991 * gdb.threads/pending-step.exp: Likewise.
992 * gdb.threads/print-threads.exp: Likewise.
993 * gdb.threads/sigstep-threads.exp: Likewise.
994 * gdb.threads/staticthreads.exp: Likewise.
995 * gdb.threads/tls.exp: Likewise.
996
1e6697ea
YQ
9972016-03-09 Pedro Alves <palves@redhat.com>
998
999 * gdb.base/command-line-input.exp: New file.
1000
b04fd3be
MK
10012016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1002
1003 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1004 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1005 * gdb.trace/pending.exp: Accept leading dot before function name.
1006 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1007 * lib/trace-support.exp: Set registers for ppc.
1008
98fa59e9
MK
10092016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1010
1011 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1012 use it for disassembly; accept .main in addition to main in backtrace.
1013
f77198c8
MK
10142016-03-09 Wei-cheng Wang <cole945@gmail.com>
1015 Marcin Kościelnicki <koriakin@0x04.net>
1016
1017 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1018 (gdb_recursion_test_ptr): New global variable.
1019 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1020 gdb_recursion_test.
1021 (gdb_c_test): Ditto.
1022
ba84e0da
MK
10232016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1024
1025 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1026 ordering.
1027
4366d36e
MK
10282016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1029
1030 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1031 (bar): Add bar_start_lbl label.
1032 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1033 of foo/bar for emitting DWARF and tracing.
1034
5eb264df
SDJ
10352016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1036
1037 * analyze-racy-logs.py: Set executable bit.
1038
fb6a751f
SDJ
10392016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1040
1041 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1042 (CHECK_TARGET_TMP): Likewise.
1043 (check-single-racy): New rule.
1044 (check-parallel-racy): Likewise.
1045 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1046 (do-check-parallel-racy): New rule.
1047 (check-racy/%.exp): Likewise.
1048 * README (Racy testcases): New section.
1049 * analyze-racy-logs.py: New file.
1050
bdf7e230
DE
10512016-03-03 Doug Evans <dje@google.com>
1052
1053 * gdb.base/skip.exp: Use with_test_prefix.
1054
4719d415
YQ
10552016-03-03 Yao Qi <yao.qi@linaro.org>
1056
1057 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1058 Invoke step_over_syscall "clone" and break_cond_on_syscall
1059 "clone".
1060 * gdb.base/step-over-clone.c: New file.
1061
ea507862
YQ
10622016-03-03 Yao Qi <yao.qi@linaro.org>
1063
1064 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1065 code format.
1066
8fc8cbda
YQ
10672016-03-03 Yao Qi <yao.qi@linaro.org>
1068
1069 * gdb.base/disp-step-fork.c: Rename to ...
1070 * gdb.base/step-over-fork.c: ... it. New file.
1071 * gdb.base/disp-step-vfork.c: Rename to ...
1072 * gdb.base/step-over-vfork.c: ... it. New file.
1073 * gdb.base/disp-step-syscall.exp: Rename to ...
1074 * gdb.base/step-over-syscall.exp: ... it. New file.
1075 (disp_step_cross_syscall): Rename to ...
1076 (step_over_syscall): ... it.
1077
92fa70b0
YQ
10782016-03-03 Yao Qi <yao.qi@linaro.org>
1079
1080 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1081 If target supports condition evaluation on target, invoke
1082 break_cond_on_syscall for fork and vfork.
1083
e197ad3c
YQ
10842016-03-03 Yao Qi <yao.qi@linaro.org>
1085
1086 * gdb.base/disp-step-syscall.exp: Don't invoke
1087 support_displaced_stepping.
1088 (disp_step_cross_syscall): Test with displaced stepping off and
1089 on if supported.
1090
0b47da9f
YQ
10912016-03-03 Yao Qi <yao.qi@linaro.org>
1092
1093 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1094 proc.
1095 (setup): New proc.
1096 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1097 and setup.
1098
065ab6dc
BH
10992016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1100
1101 * gdb.fortran/vla-history.exp: Remove breakpoint.
1102
07e448ad 11032016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1104
25d49b86
PA
1105 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1106 exceeds timeout.
07e448ad 1107
9ac2d526 11082016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1109
25d49b86
PA
1110 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1111 breakpoint.
9ac2d526 1112
17807369
BH
11132016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1114
1115 * gdb.mi/vla.f90: Nullify pointer after declaration.
1116
86e501af
PA
11172016-03-01 Pedro Alves <palves@redhat.com>
1118
1119 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1120
1e903e32
PA
11212016-03-01 Pedro Alves <palves@redhat.com>
1122
1123 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1124 before anything else.
1125 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1126 _GNU_SOURCE here.
1127 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1128 before anything else.
1129 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1130
6ccb54e2
PA
11312016-03-01 Pedro Alves <palves@redhat.com>
1132
1133 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1134
30ca9da1
YQ
11352016-03-01 Yao Qi <yao.qi@linaro.org>
1136
1137 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1138 prepare_for_testing.
1139
dc856b38
YQ
11402016-03-01 Yao Qi <yao.qi@linaro.org>
1141
1142 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1143
4a932159
AA
11442016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1145
1146 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1147 manually constructing the output path.
1148
f2489477
AA
11492016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1150
1151 * gdb.arch/s390-stackless.S: New.
1152 * gdb.arch/s390-stackless.exp: New.
1153
38899f16
IB
11542016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1155
1156 * gdb.dlang/circular.c: New file.
1157 * gdb.dlang/circular.exp: New file.
1158
9fde51ed
YQ
11592016-02-26 Yao Qi <yao.qi@linaro.org>
1160
1161 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1162 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1163 (testcases): Update.
1164
ce90fefe
YQ
11652016-02-26 Yao Qi <yao.qi@linaro.org>
1166
1167 * gdb.reverse/aarch64.c: Rename to ...
1168 * gdb.reverse/insn-reverse.c: ... it.
1169 * gdb.reverse/aarch64.exp: Rename to ...
1170 * gdb.reverse/insn-reverse.exp: ... it.
1171
3263bceb
YQ
11722016-02-26 Yao Qi <yao.qi@linaro.org>
1173
1174 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1175 (testcase_ftype): New.
1176 (testcases): New array.
1177 (n_testcases): New.
1178 (main): Call each element in testcases.
1179 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1180 (read_testcase): New.
1181 Do the tests in a loop.
1182
6cb59ff1
YQ
11832016-02-25 Yao Qi <yao.qi@linaro.org>
1184
1185 * gdb.base/branches.c: Remove.
1186
ae91f625
MK
11872016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1188
1189 PR gdb/13808
1190 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1191
678b48b7
MK
11922016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1193
1194 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1195
7337a6f2
MK
11962016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1197
1198 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1199 change x86_64 call_insn to 'callq'.
1200
861ca91f
AT
12012016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1202
1203 * gdb.trace/tfile-avx.c: Move to...
1204 * gdb.trace/tracefile-pseudo-reg.c: Here.
1205 * gdb.trace/tfile-avx.exp: Move to...
1206 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1207
bf74e428
GB
12082016-02-24 Gary Benson <gbenson@redhat.com>
1209
1210 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1211 message on attach.
1212
cce0e923
DE
12132016-02-23 Doug Evans <dje@google.com>
1214
1215 * gdb.base/skip.c (test_skip): New function.
1216 (end_test_skip_file_and_function): New function.
1217 (test_skip_file_and_function): New function.
1218 * gdb.base/skip1.c (test_skip): New function.
1219 (skip1_test_skip_file_and_function): New function.
1220 * gdb.base/skip.exp: Add tests for new skip options.
1221 * gdb.base/skip-solib.exp: Update expected output.
1222 * gdb.perf/skip-command.cc: New file.
1223 * gdb.perf/skip-command.exp: New file.
1224 * gdb.perf/skip-command.py: New file.
1225
4000e47e
MK
12262016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1227
1228 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1229 info registers pattern.
1230
24f75ead
IB
12312016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1232
1233 * lib/future.exp: Add D support.
1234 (gdb_find_gdc): New proc.
1235 (gdb_default_target_compile): Add D support.
1236
fbb7bcbe
WW
12372016-02-18 Wei-cheng Wang <cole945@gmail.com>
1238
1239 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1240 user+system time.
1241 (trace_speed_test): Determine the iteration count for a time
1242 between 15..30 seconds.
1243
012b3a21
WT
12442016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1245
1246 * gdb.arch/i386-mpx-sigsegv.c: New file.
1247 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1248 * gdb.arch/i386-mpx-simple_segv.c: New file.
1249 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1250
2d5189bd
YQ
12512016-02-18 Yao Qi <yao.qi@linaro.org>
1252
1253 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1254 Don't call setup_kfail.
1255
40fb20d0
YQ
12562016-02-18 Yao Qi <yao.qi@linaro.org>
1257
1258 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1259 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1260
21b1f8d2
DE
12612016-02-16 Doug Evans <dje@google.com>
1262
1263 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1264 * gdb.base/skip1.c: Ditto.
1265 * gdb.base/skip.exp: Whitespace cleanup.
1266
4041ed77
DB
12672016-02-16 Don Breazeal <donb@codesourcery.com>
1268
1269 PR remote/19496
1270 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1271 Remove kfail for PR remote/19496.
1272
c4ef31bf
SM
12732016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1274
1275 * lib/gdb.exp (standard_temp_file): Return a path specific to
1276 the runtest invocation.
1277
266b65b3
SM
12782016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1279
1280 * gdb.trace/save-trace.exp: Change relative path to be in the
1281 standard output directory.
1282
a7a0a6a9
JK
12832016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1284
1285 * gdb.arch/i386-prologue.c: Add missing prototypes.
1286
c99dbb42
JK
12872016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1288
1289 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1290 * gdb.arch/i386-prologue.exp: Likewise.
1291 * gdb.arch/i386-size.exp: Likewise.
1292
aa480355
SM
12932016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1294
1295 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1296 define object file path.
1297 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1298 file path.
1299 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1300 standard_output_file to define binfile.
1301
ba881f50
JK
13022016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1303
1304 Fix compatibility with recent gfortran-5.3.1.
1305 * gdb.fortran/vla-history.exp (print vla1 allocated)
1306 (print vla2 allocated, print $2, print $3): Remove
1307 (print $4): Rename to ...
1308 (print $2): ... here.
1309 (print $9): Rename to ...
1310 (print $5): ... here.
1311 (print $10): Rename to ...
1312 (print $6): ... here.
1313 * gdb.fortran/vla.f90: Add pvla initialization.
1314
e9fb005c
JK
13152016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1316
1317 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1318 New test.
1319 * gdb.fortran/vla-value-sub.exp: Likewise.
1320
e44e00ff
MK
13212016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1322
1323 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1324
97e94151
SM
13252016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1326
1327 * i386-biarch-core.exp: Define corefile using
1328 standard_output_file.
1329
01113bc1
YQ
13302016-02-12 Yao Qi <yao.qi@linaro.org>
1331
1332 * gdb.arch/arm-single-step-kernel-helper.c: New.
1333 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1334
33b4777c
MM
13352016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1336
1337 * gdb.btrace/tailcall-only.exp: New.
1338 * gdb.btrace/tailcall-only.c: New.
1339 * gdb.btrace/x86_64-tailcall-only.S: New.
1340 * gdb.btrace/i686-tailcall-only.S: New.
1341
acc23c11
PA
13422016-02-11 Pedro Alves <palves@redhat.com>
1343
1344 * README (Parallel testing): Add missing double quotes.
1345
e352bf0a
PA
13462016-02-11 Pedro Alves <palves@redhat.com>
1347
1348 * README (Parallel testing): New section.
1349 (GDB_PARALLEL): Rewrite.
1350 (FORCE_PARALLEL): Document.
1351
9f5fed78
MK
13522016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1353
1354 * gdb.trace/tfile-avx.c: New test.
1355 * gdb.trace/tfile-avx.exp: New test.
1356
9ef9e6a6
KS
13572016-02-09 Keith Seitz <keiths@redhat.com>
1358
1359 PR breakpoints/19546
1360 * gdb.base/infcall-exec.c: New file.
1361 * gdb.base/infcall-exec2.c: New file.
1362 * gdb.base/infcall-exec.exp: New file.
1363
a96e36da
KS
13642016-02-09 Keith Seitz <keiths@redhat.com>
1365
1366 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1367 (toplevel): Call test_bkpt_address.
1368
9f61929f
KS
13692016-02-09 Keith Seitz <keiths@redhat.com>
1370
1371 PR python/19506
1372 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1373 (toplevel): Call test_bkpt_address.
1374
1e94266c
SM
13752016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1376
1377 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1378 to AC_OUTPUT.
1379 * configure: Regenerate.
1380
2a7f3dff
PA
13812016-02-09 Pedro Alves <palves@redhat.com>
1382
1383 PR breakpoints/19548
1384 * gdb.base/execl-update-breakpoints.c (some_function): New
1385 function.
1386 (main): Call it.
1387 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1388 Tighten expected GDB output.
1389
2151ccc5
SM
13902016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1391
1392 * Makefile.in (ALL_SUBDIRS): Remove.
1393 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1394 (distclean maintainer-clean realclean): Likewise.
1395 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1396 * configure: Regenerate.
1397 * gdb.ada/Makefile.in: Delete.
1398 * gdb.arch/Makefile.in: Likewise.
1399 * gdb.asm/Makefile.in: Likewise.
1400 * gdb.base/Makefile.in: Likewise.
1401 * gdb.btrace/Makefile.in: Likewise.
1402 * gdb.cell/Makefile.in: Likewise.
1403 * gdb.compile/Makefile.in: Likewise.
1404 * gdb.cp/Makefile.in: Likewise.
1405 * gdb.disasm/Makefile.in: Likewise.
1406 * gdb.dlang/Makefile.in: Likewise.
1407 * gdb.dwarf2/Makefile.in: Likewise.
1408 * gdb.fortran/Makefile.in: Likewise.
1409 * gdb.gdb/Makefile.in: Likewise.
1410 * gdb.go/Makefile.in: Likewise.
1411 * gdb.guile/Makefile.in: Likewise.
1412 * gdb.java/Makefile.in: Likewise.
1413 * gdb.linespec/Makefile.in: Likewise.
1414 * gdb.mi/Makefile.in: Likewise.
1415 * gdb.modula2/Makefile.in: Likewise.
1416 * gdb.multi/Makefile.in: Likewise.
1417 * gdb.objc/Makefile.in: Likewise.
1418 * gdb.opencl/Makefile.in: Likewise.
1419 * gdb.opt/Makefile.in: Likewise.
1420 * gdb.pascal/Makefile.in: Likewise.
1421 * gdb.perf/Makefile.in: Likewise.
1422 * gdb.python/Makefile.in: Likewise.
1423 * gdb.reverse/Makefile.in: Likewise.
1424 * gdb.server/Makefile.in: Likewise.
1425 * gdb.stabs/Makefile.in: Likewise.
1426 * gdb.threads/Makefile.in: Likewise.
1427 * gdb.trace/Makefile.in: Likewise.
1428 * gdb.xml/Makefile.in: Likewise.
1429 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1430 GDB_PARALLEL.
1431 (standard_output_file): Remove check for GDB_PARALLEL, always
1432 return path in outputs/$subdir/$testname.
1433
437277d4
SM
14342016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1435
1436 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1437 (site.exp): Assign abs_srcdir to tcl's srcdir.
1438
31d913c7
YQ
14392016-02-04 Yao Qi <yao.qi@linaro.org>
1440
1441 * gdb.base/foll-exec-mode.c: Include limits.h.
1442 (main): Add parameters argc and argv. Get directory from
1443 argv[0].
1444 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1445 compilation.
1446 * gdb.base/foll-exec.c: Include limits.h.
1447 (main): Add parameters argc and argv.
1448 Get directory from argv[0].
1449 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1450 Adjust tests on the number of lines as source code changed.
1451 * gdb.base/foll-vfork-exit.c: Include limits.h.
1452 (main): Add one line of statement before vfork.
1453 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1454 (main): Add parameters argc and argv. Get directory from
1455 argv[0].
1456 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1457 (setup_gdb): Set tbreak to skip some source lines.
1458 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1459 (main): Add parameters argc and argv. Get directory from
1460 argv[0].
1461 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1462 compilation.
1463 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1464 (main): Add parameters argc and argv. Get directory from
1465 argv[0].
1466 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1467 compilation.
1468
9482b9fb
DE
14692016-02-01 Doug Evans <dje@google.com>
1470
1471 * gdb.base/skip.exp: Clean up multiple references to same test name.
1472
6b2e4f10
PA
14732016-02-01 Pedro Alves <palves@redhat.com>
1474
ccb6afd6 1475 PR remote/19496
6b2e4f10
PA
1476 * gdb.threads/forking-threads-plus-breakpoint.exp
1477 (displaced_stepping_supported): New global.
1478 (probe_displaced_stepping_support): New procedure.
1479 (do_test): Add 'displaced' parameter, and use it.
1480 (top level): Check for displaced stepping support. Add displaced
1481 stepping on/off testing axis.
1482
37a8db1a
AB
14832016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1484
1485 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1486 pointer. Don't perform further tests on the unassociated pointer
1487 if the first test fails.
1488
5fdf6324
AB
14892016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1490
1491 * gdb.base/max-value-size.c: New file.
1492 * gdb.base/max-value-size.exp: New file.
1493 * gdb.base/huge.exp: Disable max-value-size for this test.
1494
935c6144
IB
14952016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1496
1497 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1498
7fe8399d
YQ
14992016-01-28 Yao Qi <yao.qi@linaro.org>
1500
1501 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1502
a2077e25
PA
15032016-01-25 Pedro Alves <palves@redhat.com>
1504
1505 PR threads/19461
1506 * gdb.base/fork-running-state.c: New file.
1507 * gdb.base/fork-running-state.exp: New file.
1508
1d2736d4
PA
15092016-01-25 Pedro Alves <palves@redhat.com>
1510
1511 PR gdb/19494
1512 * gdb.base/catch-fork-kill.c: New file.
1513 * gdb.base/catch-fork-kill.exp: New file.
1514
f1da4b11
PA
15152016-01-25 Pedro Alves <palves@redhat.com>
1516
1517 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1518 Delete, moved to lib/gdb.exp.
1519 * gdb.threads/forking-threads-plus-breakpoint.exp
1520 (foreach_with_prefix): Likewise.
1521 * gdb.threads/process-dies-while-handling-bp.exp
1522 (foreach_with_prefix): Likewise.
1523 * lib/gdb.exp (foreach_with_prefix): New procedure.
1524
45f38546
MK
15252016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1526
1527 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1528 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1529
dc29a1ce
MK
15302016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1531
1532 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1533 endian targets.
1534
092127d7
JK
15352016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1536 Pedro Alves <palves@redhat.com>
1537
1538 Fix testsuite compatibility with Guile.
1539 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1540 number.
1541
31d765d3
JK
15422016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1543
1544 Fix testsuite compatibility with Guile.
1545 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1546 (thread 1): New test for backtrace through signal handler.
1547
1ac78c04
YQ
15482016-01-22 Yao Qi <yao.qi@linaro.org>
1549
1550 PR testsuite/19491
1551 * gdb.base/multi-forks.c: Include
1552 ../lib/unbuffer_output.c
1553 (main): Call gdb_unbuffer_output.
1554
4f5946a8
DE
15552016-01-21 Doug Evans <dje@google.com>
1556
1557 * lib/ada.exp (gdb_compile_ada): Fix typo.
1558
305e13e6
JB
15592016-01-21 Joel Brobecker <brobecker@adacore.com>
1560
1561 * gdb.base/break-fun-addr.exp: New file.
1562 * gdb.base/break-fun-addr1.c: New file.
1563 * gdb.base/break-fun-addr2.c: New file.
1564
5f5dfff6
SM
15652016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1566
1567 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1568 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1569 enum flag values.
1570
fd356fa2
AA
15712016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1572
1573 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1574 when GDB can not set the vector return value. Add more comments
1575 for clarification.
1576
9df22175
AT
15772016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1578
1579 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1580 command.
1581
41d1845e
SM
15822016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1583
1584 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1585
01ac6840
SM
15862016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1587
1588 * Makefile.in (check-single): Pass --status to runtest.
1589 (check/%.exp): Likewise.
1590
15912016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1592
1593 * Makefile.in (check-parallel): Propagate return code from make
1594 do-check-parallel.
1595
bd0a71fa
MK
15962016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1597
1598 * gdb.trace/ftrace.exp: Fix expected message on continue.
1599 * gdb.trace/pending.exp: Fix expected message on continue.
1600 * gdb.trace/trace-break.exp: Fix expected message on continue.
1601
8bcbad33
SM
16022016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1603
1604 * lib/gdb.exp (gdb_test): Remove unused global references.
1605
f303dbd6
PA
16062016-01-18 Pedro Alves <palves@redhat.com>
1607
1608 * gdb.base/async-shell.exp: Adjust expected output.
1609 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1610 * gdb.base/siginfo-thread.exp: Adjust expected output.
1611 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1612 * gdb.java/jnpe.exp: Adjust expected output.
1613 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1614 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1615 * gdb.threads/leader-exit.exp: Adjust expected output.
1616 * gdb.threads/manythreads.exp: Adjust expected output.
1617 * gdb.threads/pthreads.exp: Adjust expected output.
1618 * gdb.threads/schedlock.exp: Adjust expected output.
1619 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1620 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1621 expected output.
1622 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1623 output.
1624 * gdb.threads/sigthread.exp: Adjust expected output.
1625 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1626
b2789696
YQ
16272016-01-18 Yao Qi <yao.qi@linaro.org>
1628
1629 * gdb.guile/scm-section-script.c: Replace @progbits with
1630 %progbits.
1631 * gdb.python/py-section-script.c: Likewise.
1632
71ef29a8
PA
16332016-01-15 Pedro Alves <palves@redhat.com>
1634
1635 * gdb.multi/tids.exp: Test star wildcard ranges.
1636
3f5b7598
PA
16372016-01-15 Pedro Alves <palves@redhat.com>
1638
1639 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1640 command from "thread apply" invocation.
1641 (thr_apply_info_thr_invalid): Default the expected output to the
1642 input tid list.
1643 (top level): Add tests that use convenience variables. Add tests
1644 for "thread apply" with a valid TID list, but missing the command.
1645
663f6d42
PA
16462016-01-13 Pedro Alves <palves@redhat.com>
1647
1648 * gdb.base/default.exp: Expect $_gthread as well.
1649 * gdb.multi/tids.exp: Test $_gthread.
1650 * gdb.threads/thread-specific.exp: Test $_gthread.
1651
c84f6bbf
PA
16522016-01-13 Pedro Alves <palves@redhat.com>
1653
1654 * gdb.multi/tids.exp: Test "info threads -gid".
1655
22a02324
PA
16562016-01-13 Pedro Alves <palves@redhat.com>
1657
1658 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1659 Breakpoint.thread.
1660 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1661
5d5658a1
PA
16622016-01-07 Pedro Alves <palves@redhat.com>
1663
1664 * gdb.base/break.exp: Adjust to output changes.
1665 * gdb.base/hbreak2.exp: Likewise.
1666 * gdb.base/sepdebug.exp: Likewise.
1667 * gdb.base/watch_thread_num.exp: Likewise.
1668 * gdb.linespec/keywords.exp: Likewise.
1669 * gdb.multi/info-threads.exp: Likewise.
1670 * gdb.threads/thread-find.exp: Likewise.
1671 * gdb.multi/tids.c: New file.
1672 * gdb.multi/tids.exp: New file.
1673
84654457
PA
16742016-01-13 Pedro Alves <palves@redhat.com>
1675
1676 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1677
e3940304
PA
16782016-01-13 Pedro Alves <palves@redhat.com>
1679
1680 * gdb.base/default.exp: Expect $_inferior as well.
1681 * gdb.multi/base.exp: Test $_inferior.
1682
a911d87a
PA
16832016-01-13 Pedro Alves <palves@redhat.com>
1684
1685 PR breakpoints/19388
1686 * gdb.base/catch-signal-siginfo-cond.c: New file.
1687 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1688
82075af2
JS
16892016-01-12 Josh Stone <jistone@redhat.com>
1690 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1691
1692 * gdb.base/catch-syscall.c (do_execve): New variable.
1693 (main): Conditionally trigger an execve.
1694 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1695 (test_catch_syscall_execve): New, check entry/return across execve.
1696 (do_syscall_tests): Call test_catch_syscall_execve.
1697
e46eeedd
PA
16982016-01-12 Pedro Alves <palves@redhat.com>
1699
1700 * gdb.base/random-signal.exp (do_test): New procedure, with body
1701 of testcase moved in.
1702
01d8c27e
JK
17032016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1704 Pedro Alves <palves@redhat.com>
1705
1706 * gdb.base/funcargs.exp (finish from indirectly called function):
1707 Reintroduce the case for 'First'.
1708
9a706302
JK
17092016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1710 Pedro Alves <palves@redhat.com>
1711
1712 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1713 (tcatch_vfork_then_child_follow_exec)
1714 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1715 identification.
1716
c0ecb95f
JK
17172016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1718
1719 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1720 and repeats to unlimited.
1721 * gdb.python/py-value.exp: Likewise.
1722 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1723 and repeats to unlimited.
1724
6cfc1fcb
JK
17252016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1726
1727 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1728 and reordering the functions.
1729 * gdb.multi/hangout.c: Likewise.
1730 * gdb.multi/hello.c: Likewise.
1731
582a1b00
SM
17322016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1733
1734 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1735 absolute.
1736 (SingleStatisticTestResult.report): Use dict.keys instead of
1737 dict.iterkeys.
1738
79bc59cb
PA
17392016-01-06 Pedro Alves <palves@redhat.com>
1740
1741 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1742
43368e1d
MM
17432016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1744
1745 * gdb.btrace/dlopen.exp: New.
1746 * gdb.btrace/dlopen.c: New.
1747 * gdb.btrace/dlopen-dso.c: New.
1748
79fad5b8
SL
17492015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1750
1751 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1752 PATTERN argument is optional.
1753
ab8314b3
JB
17542015-12-24 Joel Brobecker <brobecker@adacore.com>
1755
1756 * lib/ada.exp (target_compile_ada_from_dir): New function.
1757 (gdb_compile_ada): Reimplement avoiding the use of project files.
1758 * gdb.ada/gnat_ada.gpr: Delete.
1759 * gdb.ada/cond_lang.exp: Adjust test to make path before
1760 filename optional.
1761 * gdb.ada/small_reg_param.exp: Likewise.
1762
fe33faff
SM
17632015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1764
1765 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1766
6d265cb4
TP
17672015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1768
1769 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1770 case.
1771
10125099
SM
17722015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1773
1774 * gdb.base/break.exp: Remove dead code.
1775 * gdb.base/sepdebug.exp: Likewise.
1776
3ca22649
SM
17772015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1778
1779 * gdb.asm/asm-source.exp: Remove HP-UX references.
1780 * gdb.base/annota1.exp: Likewise.
1781 * gdb.base/annota3.exp: Likewise.
1782 * gdb.base/attach.exp: Likewise.
1783 * gdb.base/bigcore.exp: Likewise.
1784 * gdb.base/break.exp: Likewise.
1785 * gdb.base/call-ar-st.exp: Likewise.
1786 * gdb.base/callfuncs.exp: Likewise.
1787 * gdb.base/catch-fork-static.exp: Likewise.
1788 * gdb.base/display.exp: Likewise.
1789 * gdb.base/foll-exec-mode.exp: Likewise.
1790 * gdb.base/foll-exec.exp: Likewise.
1791 * gdb.base/foll-fork.exp: Likewise.
1792 * gdb.base/foll-vfork.exp: Likewise.
1793 * gdb.base/funcargs.exp: Likewise.
1794 * gdb.base/hbreak2.exp: Likewise.
1795 * gdb.base/inferior-died.exp: Likewise.
1796 * gdb.base/interrupt.exp: Likewise.
1797 * gdb.base/multi-forks.exp: Likewise.
1798 * gdb.base/nodebug.exp: Likewise.
1799 * gdb.base/sepdebug.exp: Likewise.
1800 * gdb.base/solib1.c: Likewise.
1801 * gdb.base/step-test.exp: Likewise.
1802 * gdb.mi/non-stop.c: Likewise.
1803 * gdb.mi/pthreads.c: Likewise.
1804 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1805 * gdb.threads/pthreads.c: Likewise.
1806 * gdb.threads/staticthreads.exp: Likewise.
1807 * lib/future.exp: Likewise.
1808 * lib/gdb.exp: Likewise.
1809 * gdb.base/so-indr-cl.c: Remove.
1810 * gdb.base/so-indr-cl.exp: Likewise.
1811 * gdb.base/solib.c: Likewise.
1812 * gdb.base/solib.exp: Likewise.
1813 * gdb.base/solib2.c: Likewise.
1814
b6304613
SM
18152015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1816
1817 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1818 * gdb.base/call-ar-st.exp: Likewise.
1819 * gdb.base/callfuncs.exp: Likewise.
1820 * gdb.base/condbreak.exp: Likewise.
1821 * gdb.base/constvars.exp: Likewise.
1822 * gdb.base/hbreak2.exp: Likewise.
1823 * gdb.base/langs.exp: Likewise.
1824 * gdb.base/list.exp: Likewise.
1825 * gdb.base/long_long.exp: Likewise.
1826 * gdb.base/ptype.exp: Likewise.
1827 * gdb.base/scope.exp: Likewise.
1828 * gdb.base/signals.exp: Likewise.
1829 * gdb.base/so-impl-ld.exp: Likewise.
1830 * gdb.base/varargs.exp: Likewise.
1831 * gdb.base/volatile.exp: Likewise.
1832 * gdb.base/whatis.exp: Likewise.
1833 * gdb.cp/cplusfuncs.exp: Likewise.
1834 * gdb.cp/inherit.exp: Likewise.
1835 * gdb.cp/local.exp: Likewise.
1836 * gdb.cp/member-ptr.exp: Likewise.
1837 * gdb.cp/method.exp: Likewise.
1838 * gdb.cp/overload.exp: Likewise.
1839 * gdb.cp/templates.exp: Likewise.
1840 * gdb.stabs/weird.exp: Likewise.
1841 * lib/compiler.c: Likewise.
1842 * lib/compiler.cc: Likewise.
1843 * lib/cp-support.exp: Likewise.
1844 * lib/gdb.exp: Likewise.
1845
bf401b07
SM
18462015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1847
1848 * configure.ac: Remove HP-UX case.
1849 * configure: Regenerate.
1850
aff9c0f8
SM
18512015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1852
1853 * lib/gdb.exp (gdb_compile): Add function doc.
1854
a6904d5a
PA
18552015-12-17 Pedro Alves <palves@redhat.com>
1856
1857 PR threads/19354
1858 * gdb.multi/info-threads.exp: New file.
1859
a22279dd
YQ
18602015-12-15 Yao Qi <yao.qi@linaro.org>
1861
1862 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1863 is aarch64*-*-*.
1864
0588c796
SL
18652015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1866
1867 * gdb.base/history-duplicates.exp: Skip if no readline support.
1868
5d978e17
SL
18692015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1870
1871 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1872
7e763b86
SL
18732015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1874
1875 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1876
87a3a92c
SL
18772015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1878
1879 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1880 ctrl-C if nointerrupts target property is set.
1881 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1882 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1883 * gdb.base/paginate-bg-execution.exp: Likewise.
1884 * gdb.base/paginate-execution-startup.exp: Likewise.
1885 * gdb.base/random-signal.exp: Likewise.
1886 * gdb.base/range-stepping.exp: Likewise.
1887 * gdb.cp/annota2.exp: Likewise.
1888 * gdb.cp/annota3.exp: Likewise.
1889 * gdb.gdb/selftest.exp: Likewise.
1890 * gdb.threads/continue-pending-status.exp: Likewise.
1891 * gdb.threads/leader-exit.exp: Likewise.
1892 * gdb.threads/manythreads.exp: Likewise.
1893 * gdb.threads/pthreads.exp: Likewise.
1894 * gdb.threads/schedlock.exp: Likewise.
1895 * gdb.threads/sigthread.exp: Likewise.
1896
a8f077dc
DB
18972015-12-11 Don Breazeal <donb@codesourcery.com>
1898
1899 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1900 remote.
1901 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1902 * gdb.base/foll-exec.exp (main): Enable for target remote.
1903 * gdb.base/foll-fork.exp (main): Likewise.
1904 * gdb.base/foll-vfork.exp (main): Likewise.
1905 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1906 (proc continue_to_exit_bp_loc): Use clean_restart.
1907 * gdb.base/pie-execl.exp (main): Disable for target remote.
1908 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1909 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1910 * gdb.threads/execl.exp (main): Likewise.
1911 * gdb.threads/fork-child-threads.exp (main): Likewise.
1912 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1913 remote.
1914 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1915 remote.
1916 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1917 pid.tid style ptids, instead of just tid.
1918 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1919 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1920 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1921 ptids, instead of just tid.
1922
3b2464a8
AB
19232015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1924
1925 * gdb.base/list.exp (test_list_forward): Add end of file error
1926 test.
1927 (test_repeat_list_command): Add end of file error test.
1928 (test_list_backwards): Add beginning of file error test.
1929
a0def019
AB
19302015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1931
1932 * gdb.base/list.exp (test_list_invalid_args): New function,
1933 defined, and called.
1934
5c000dff
AB
19352015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1936
1937 * gdb.base/list.exp (test_list): Make test names unique.
1938
f1637ebe
YQ
19392015-12-11 Yao Qi <yao.qi@linaro.org>
1940
1941 * gdb.base/coremaker2.c: Remove.
1942
36d6fc0a
PA
19432015-12-10 Pedro Alves <palves@redhat.com>
1944
1945 * gdb.multi/base.exp: Remove stale "spaces" references.
1946
762f7747
PA
19472015-12-10 Pedro Alves <palves@redhat.com>
1948
1949 * gdb.multi/base.exp: Don't use nowarnings.
1950 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1951 * gdb.multi/hangout.c: Include stdio.h.
1952 * gdb.multi/hello.c: Include stdlib.h.
1953 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1954 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1955 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1956
28d2bfb9
AB
19572015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1958
1959 * gdb.dwarf2/dw2-ranges-base.c: New file.
1960 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1961 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1962 support additional line table, and debug ranges generation.
1963 (Dwarf::ranges): New function, generate .debug_ranges.
1964 (Dwarf::lines): Support generating simple line table programs.
1965 (Dwarf::assemble): Initialise new namespace variables.
1966
5fc2beac
KB
19672015-12-09 Kevin Buettner <kevinb@redhat.com>
1968
1969 * gdb.base/async.exp (proc test_background): Add case for
1970 asynchronous execution not supported.
1971
1c35a88f
LM
19722015-12-09 Luis Machado <lgustavo@codesourcery.com>
1973
1974 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1975 format and change test names to make them unique.
1976
b593e3d9
RK
19772015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1978 Pedro Alves <pedro@redhat.com>
1979
1980 PR gdb/18702
1981 Add checking of floatformats setup on x86_64 hosts.
1982 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1983 (smallval, bigval): New labels/constants.
1984 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1985 float" after loading bigval and smallval.
1986
d72413e6
PMR
19872015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1988
1989 * gdb.ada/fun_overload_menu.exp: New testcase.
1990 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1991
ece66d65
JS
19922015-12-04 Josh Stone <jistone@redhat.com>
1993
1994 * gdb.base/catch-fork-static.exp: New.
1995
41d0efca
YQ
19962015-12-03 Yao Qi <yao.qi@linaro.org>
1997
1998 * gdb.base/sizeof.c: Don't include stdio.h and
1999 ../lib/unbuffer_output.c.
2000 (main): New variable 'size' and 'value'. Remove printf and
2001 gdb_unbuffer_output. Assign return value to size and value.
2002 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2003 at the beginning.
2004 (check_sizeof): Check the result by printing variable 'size'.
2005 (check_valueof): Check the result by printing variable 'value'.
2006
99fd02d9
YQ
20072015-12-01 Yao Qi <yao.qi@linaro.org>
2008
2009 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2010 for aarch64*-*-linux* target.
2011
f2faf941
PA
20122015-11-30 Pedro Alves <palves@redhat.com>
2013
2014 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2015
04bf20c5
PA
20162015-11-30 Pedro Alves <palves@redhat.com>
2017
2018 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2019 Handle non-stop mode vCont replies.
2020
09df4675
PA
20212015-11-30 Pedro Alves <palves@redhat.com>
2022
2023 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2024 prepare_for_testing. Start gdb with "set non-stop on" appended to
2025 GDBFLAGS. Lax expected stop output.
2026
58b584af
YQ
20272015-11-27 Yao Qi <yao.qi@linaro.org>
2028
2029 * gdb.arch/arm-neon.exp: New.
2030 * gdb.arch/arm-neon.c: New.
2031
dfcb77a8
YQ
20322015-11-27 Yao Qi <yao.qi@linaro.org>
2033
2034 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2035
88e8ec1b
YQ
20362015-11-27 Yao Qi <yao.qi@linaro.org>
2037
2038 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2039 frames-invalid annotation.
2040
bfde72c2
YQ
20412015-11-27 Yao Qi <yao.qi@linaro.org>
2042
2043 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2044
f6512a69
SM
20452015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2046
2047 * gdb.threads/names.exp: New file.
2048 * gdb.threads/names.c: New file.
2049 * README: Mention gdb,no_thread_names.
2050
46a3515b
MM
20512015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2052
2053 PR 19297
2054 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2055 support" error.
2056
62147a22
PA
20572015-11-24 Pedro Alves <palves@redhat.com>
2058
2059 PR 17539
2060 * gdb.base/display.exp: Expect displays to be sorted in ascending
2061 order. Use multi_line.
2062 * gdb.base/solib-display.exp: Likewise.
2063
2f341b6e
PA
20642015-11-24 Pedro Alves <palves@redhat.com>
2065
2066 PR 17539
25d49b86
PA
2067 * gdb.base/display.exp: Expect displays to be sorted in ascending
2068 order. Use multi_line.
2069 * gdb.base/solib-display.exp: Likewise.
2f341b6e 2070
7e0aa6aa
PA
20712015-11-24 Pedro Alves <palves@redhat.com>
2072
2073 PR 17539
2074 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2075 threads in ascending order.
2076 * gdb.base/foll-fork.exp: Likewise.
2077 * gdb.base/foll-vfork.exp: Likewise.
2078 * gdb.base/multi-forks.exp: Likewise.
2079 * gdb.mi/mi-nonstop.exp: Likewise.
2080 * gdb.mi/mi-nsintrall.exp: Likewise.
2081 * gdb.multi/base.exp: Likewise.
2082 * gdb.multi/multi-arch.exp: Likewise.
2083 * gdb.python/py-inferior.exp: Likewise.
2084 * gdb.threads/break-while-running.exp: Likewise.
2085 * gdb.threads/execl.exp: Likewise.
2086 * gdb.threads/gcore-thread.exp: Likewise.
2087 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2088 * gdb.threads/kill.exp: Likewise.
2089 * gdb.threads/linux-dp.exp: Likewise.
2090 * gdb.threads/multiple-step-overs.exp: Likewise.
2091 * gdb.threads/next-bp-other-thread.exp: Likewise.
2092 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2093 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2094 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2095 * gdb.threads/thread-find.exp: Likewise.
2096 * gdb.threads/tls.exp: Likewise.
2097 * lib/mi-support.exp (mi_reverse_list): Delete.
2098 (mi_check_thread_states): No longer reverse list.
2099
2cc57ad8
PA
21002015-11-24 Pedro Alves <palves@redhat.com>
2101
2102 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2103 use lowercase.
2104
c93e8391
SM
21052015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2106
2107 * gdb.trace/actions.c: Include trace-common.h.
2108 (main): Add a location for a fast tracepoint.
2109 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2110 the normal tracepoints.
2111 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2112
045ccf91
SM
21132015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2114
2115 * save-trace.exp: Factor out code to these...
2116 (gdb_save_tracepoints): New.
2117 (gdb_load_tracepoints): New.
2118 (do_save_load_test): New.
2119
5506f9f6
KB
21202015-11-23 Kevin Buettner <kevinb@redhat.com>
2121
2122 * gdb.base/asmlabel.exp: New test.
2123 * gdb.base/asmlabel.c: New test case.
2124
16c3b12f
JB
21252015-11-23 Joel Brobecker <brobecker@adacore.com>
2126
2127 * gdb.base/wrong_frame_bt_full-main.c: New file.
2128 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2129 * gdb.base/wrong_frame_bt_full.exp: New file.
2130
155bfbd3
JB
21312015-11-23 Joel Brobecker <brobecker@adacore.com>
2132
2133 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2134
bb097445
JM
21352015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2136
206853a0 2137 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
2138 pstate register when comparing registers values in
2139 sparc64-*-linux-gnu targets to avoid spurious differences.
2140
9c88ed8f
JM
21412015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2142
206853a0 2143 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 2144
96161e25
SL
21452015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2146
2147 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2148 as type argument to gdb_compile.
2149 * gdb.base/nested-subp2.exp: Likewise.
2150 * gdb.base/nested-subp3.exp: Likewise.
2151
340c2830
DV
21522015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2153
2154 * lib/dwarf.exp (_note): Fix left shift of negative value.
2155 * gdb.trace/trace-condition.exp: Likewise.
2156
c1862d0f
YQ
21572015-11-13 Yao Qi <yao.qi@linaro.org>
2158
2159 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2160 comments about d10v.
2161 (test_scalar_returns): Likewise.
2162 * gdb.base/d10v.ld: Remove.
2163 * gdb.base/overlays.exp: Remove the target triplet checking for
2164 d10v-*-*.
2165 * gdb.base/structs.exp (test_struct_returns): Remove the
2166 comments about d10v.
2167 (test_struct_calls): Likewise.
2168
77ae9c19
YQ
21692015-11-13 Yao Qi <yao.qi@linaro.org>
2170
2171 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2172 * gdb.base/gnu_vector.c: Don't include stdio.h.
2173 (main): Don't print res and call add_some_intvecs.
2174
430e004e
MK
21752015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2176
2177 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2178 macro.
2179 (func5): Removed.
2180 (func4): Use FAST_TRACEPOINT_LABEL.
2181 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2182 macro.
2183 (func): Removed.
2184 (thread_function): Use FAST_TRACEPOINT_LABEL.
2185 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2186 (func): Remove.
2187 (marker): Use FAST_TRACEPOINT_LABEL.
2188 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2189 (pendfunc1): Remove.
2190 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2191 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2192 (foo): Remove.
2193 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2194 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2195 macro.
2196 (func): Remove.
2197 (marker): Use FAST_TRACEPOINT_LABEL.
2198 * gdb.trace/trace-common.h: New header.
2199 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2200 macro.
2201 (func): Remove.
2202 (marker): Use FAST_TRACEPOINT_LABEL.
2203 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2204 (func): Remove.
2205 (thread_function): Use FAST_TRACEPOINT_LABEL.
2206
6e7675a7
MK
22072015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2208
2209 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2210 in front.
2211 * gdb.trace/change-loc.exp: Use global pcreg definition.
2212 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2213 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2214 in front.
2215 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2216 * gdb.trace/pending.exp: Likewise.
2217 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2218 * gdb.trace/trace-break.exp: Likewise.
2219 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2220 in front.
2221 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2222 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2223 in front.
2224 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2225
dddc0e16
JB
22262015-11-09 Joel Brobecker <brobecker@adacore.com>
2227
2228 * gdb.ada/fin_fun_out: New testcase.
2229
c6f0b406
KB
22302015-11-07 Kevin Buettner <kevinb@redhat.com>
2231
2232 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2233 value associated with DW_AT_byte_size.
2234 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2235 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2236 DW_AT_upper_bound.
2237
f01dcfd9
KB
22382015-11-07 Kevin Buettner <kevinb@redhat.com>
2239
2240 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2241 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2242 version.
2243 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2244 gdb.dwarf2/dw2-canonicalize-type.exp,
2245 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2246 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2247 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2248 provided by gdb_target_symbol_prefix_flags_asm.
2249 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2250 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2251 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2252 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2253 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2254 macros where needed). Use this macro for symbols which require
2255 the prefix provided by SYMBOL_PREFIX.
2256
2223449a
KB
22572015-11-05 Kevin Buettner <kevinb@redhat.com>
2258
2259 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2260 New procs.
2261 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2262 representing expressions, of more than one list element.
2263 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2264 to prepend linker symbol prefix to f.
2265 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2266 table_1 and table_2.
2267 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2268 Likewise, for f and g.
2269 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2270 for ptr.
2271 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2272 for main.
2273 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2274 table_1_ptr and table_2_ptr.
2275
6f2f1a3a
JK
22762015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2277 Joel Brobecker <brobecker@adacore.com>
2278
2279 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2280
566c56c9
MK
22812015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2282
2283 * gdb.reverse/s390-mvcle.c: New test.
2284 * gdb.reverse/s390-mvcle.exp: New file.
2285 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2286
d5f0636b
MK
22872015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2288
2289 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2290
7ad8b86c
MK
22912015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2292
2293 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2294 reaching marker2.
2295 * gdb.reverse/getresuid-reverse.exp: Likewise.
2296 * gdb.reverse/pipe-reverse.exp: Likewise.
2297 * gdb.reverse/readv-reverse.exp: Likewise.
2298 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2299 * gdb.reverse/time-reverse.exp: Likewise.
2300 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2301
4081c0f1
YQ
23022015-10-30 Yao Qi <yao.qi@linaro.org>
2303
2304 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2305 (empty_cycle): Remove.
2306 (main): Don't call empty_cycle. Don't use watch_count_done.
2307 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2308 empty_cycle. Rewrite the code counting HW watchpoints.
2309
452b4ba5
MK
23102015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2311
2312 * gdb.reverse/fstatat-reverse.c: New test.
2313 * gdb.reverse/fstatat-reverse.exp: New file.
2314 * gdb.reverse/getresuid-reverse.c: New test.
2315 * gdb.reverse/getresuid-reverse.exp: New file.
2316 * gdb.reverse/pipe-reverse.c: New test.
2317 * gdb.reverse/pipe-reverse.exp: New file.
2318 * gdb.reverse/readv-reverse.c: New test.
2319 * gdb.reverse/readv-reverse.exp: New file.
2320 * gdb.reverse/recvmsg-reverse.c: New test.
2321 * gdb.reverse/recvmsg-reverse.exp: New file.
2322 * gdb.reverse/time-reverse.c: New test.
2323 * gdb.reverse/time-reverse.exp: New file.
2324 * gdb.reverse/waitpid-reverse.c: New test.
2325 * gdb.reverse/waitpid-reverse.exp: New file.
2326
5e2e7507
JK
23272015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2328
2329 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2330
0fde2c53
DE
23312015-10-26 Doug Evans <dje@google.com>
2332
2333 PR symtab/17391
2334 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2335 * gdb.dwarf2/bad-regnum.c: New file.
2336 * gdb.dwarf2/bad-regnum.exp: New file.
2337
1a70ae97
DE
23382015-10-26 Doug Evans <dje@google.com>
2339
2340 PR python/18938
2341 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2342 file.
2343
27dc26ab
JK
23442015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2345
2346 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2347 for a change by "Mention language in compile error message".
2348
bed91f4d
SM
23492015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2350
2351 PR python/18073
2352 * gdb.python/py-type.c (C::a_method): New.
2353 (C::a_const_method): New.
2354 (C::a_static_method): New.
2355 (a_function): New.
2356 * gdb.python/py-type.exp (test_fields): Test getting fields
2357 from function and method.
2358
3f2f83dd
KB
23592015-10-21 Keven Boell <keven.boell@intel.com>
2360
2361 * gdb.fortran/vla-alloc-assoc.exp: New file.
2362 * gdb.fortran/vla-datatypes.exp: New file.
2363 * gdb.fortran/vla-datatypes.f90: New file.
2364 * gdb.fortran/vla-history.exp: New file.
2365 * gdb.fortran/vla-ptype-sub.exp: New file.
2366 * gdb.fortran/vla-ptype.exp: New file.
2367 * gdb.fortran/vla-sizeof.exp: New file.
2368 * gdb.fortran/vla-sub.f90: New file.
2369 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2370 * gdb.fortran/vla-value-sub-finish.exp: New file.
2371 * gdb.fortran/vla-value-sub.exp: New file.
2372 * gdb.fortran/vla-value.exp: New file.
2373 * gdb.fortran/vla-ptr-info.exp: New file.
2374 * gdb.mi/mi-vla-fortran.exp: New file.
2375 * gdb.mi/vla.f90: New file.
2376
27145d50
SL
23772015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2378
2379 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2380 of hardwired timeout value.
2381
5f3ff4f8
JK
23822015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2383 Pedro Alves <palves@redhat.com>
2384
2385 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2386 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2387
bfd09d20
JS
23882015-10-19 Josh Stone <jistone@redhat.com>
2389
2390 * gdb.base/catch-syscall.c: Include <sched.h>.
2391 (unknown_syscall): New variable.
2392 (main): Trigger a vfork and an unknown syscall.
2393 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2394 (unknown_syscall_number): Likewise.
2395 (check_call_to_syscall): Accept an optional syscall pattern.
2396 (check_return_from_syscall): Likewise.
2397 (check_continue): Likewise.
2398 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2399 (test_catch_syscall_skipping_return): New test toggling off 'catch
2400 syscall' to step over the syscall return, then toggling back on.
2401 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2402 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2403 (do_syscall_tests): Call test_catch_syscall_without_args and
2404 test_catch_syscall_mid_vfork.
2405 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2406 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2407
b32b93c6
AS
24082015-10-19 Andrew Stubbs <ams@codesourcery.com>
2409
2410 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2411 print g_vE): Add new pass patterns.
2412 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2413 print various symbol names for vptr fields.
2414
9d622bda
AB
24152015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2416
2417 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2418 results.
2419
0fd8ac1c
YQ
24202015-10-12 Yao Qi <yao.qi@linaro.org>
2421
2422 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2423
34240514
YQ
24242015-10-12 Yao Qi <yao.qi@linaro.org>
2425
2426 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2427 is aarch64*-*-linux*.
2428
8240f442
YQ
24292015-10-12 Yao Qi <yao.qi@linaro.org>
2430
2431 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2432 (can_relocate_bcond_true): ... it.
2433 (can_relocate_bcond_false): New function.
2434 (foo): Likewise.
2435 (can_relocate_bl): Likewise.
2436 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2437 can_relocate_bl.
2438
2520f728
PMR
24392015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2440
2441 * gdb.base/nested-addr.c: New file.
2442 * gdb.base/nested-addr.exp: New testcase.
2443
abcef95a
MM
24442015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2445
2446 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2447 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2448 its output. Ignore the output of "record goto begin" and instead
2449 check that GDB is replaying.
2450
145e3ddb
PA
24512015-10-09 Pedro Alves <palves@redhat.com>
2452
2453 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2454 (top level): Use it in the run with no args test.
2455
d5d8c4e1
IB
24562015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2457
2458 * gdb.dlang/properties.exp: New file.
2459
06e635ef
SL
24602015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2461
2462 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2463 whether or not address 0x1000 is mapped on the target.
2464
e019fd1d
SM
24652015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2466
2467 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2468 build.
2469
77ba2a67
MM
24702015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2471
2472 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2473 instruction-history test.
2474
c60eb31f
DE
24752015-09-28 Doug Evans <dje@google.com>
2476
2477 * gdb.base/gcore.c (array_func): Add reference to static_array.
2478
9a3c8263
SM
24792015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2480
2481 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2482 source line.
2483
9720e656
SL
24842015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2485
2486 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2487 short or char as base type.
2488
938d3bf2
SL
24892015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2490
2491 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2492 to allow any size enum.
2493
e6c2c623
PMR
24942015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2495
2496 * gdb.ada/array_ptr_renaming.exp: New testcase.
2497 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2498 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2499
06da0f77
PL
25002015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2501
2502 * gdb.trace/ftrace-lock.c: New file.
2503 * gdb.trace/ftrace-lock.exp: New file.
2504
4f51c22a
PL
25052015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2506
2507 * gdb.arch/insn-reloc.c: New file.
2508 * gdb.arch/ftrace-insn-reloc.exp: New file.
2509
7041adf4
PL
25102015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2511
2512 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2513 instruction.
2514 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2515 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2516 * gdb.trace/range-stepping.c: Likewise.
2517 * gdb.trace/trace-break.c: Likewise.
2518 * gdb.trace/trace-mt.c (thread_function): Likewise.
2519 * gdb.trace/ftrace.c (marker): Likewise.
2520 * gdb.trace/trace-condition.c (marker): Likewise.
2521 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2522 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2523 is_aarch64_target.
2524
015d2e7e
DE
25252015-09-18 Doug Evans <xdje42@gmail.com>
2526
2527 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2528 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2529
26b188a2
SL
25302015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2531
2532 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2533 the breakpoint.
2534
79dc332b
SL
25352015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2536
2537 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2538 the pending breakpoint. Remove timeout override for "Run till
2539 MI pending breakpoint on pendfunc3 on thread 2" test.
2540
f57929f2
SL
25412015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2542
2543 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2544 filename pattern.
2545
3f469b17
SL
25462015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2547
2548 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2549 in breakpoint filename pattern.
2550
515b89b3
SL
25512015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2552
7800dbe4
SL
2553 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2554
25552015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2556
515b89b3
SL
2557 * gdb.linespec/explicit.exp: Check for readline support for
2558 tab-completion tests. Fix obvious typo.
2559
d2939ba2
MM
25602015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2561
2562 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2563 and replay.
2564
cbb55fa7
MM
25652015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2566
2567 * gdb.btrace/non-stop.c: New.
2568 * gdb.btrace/non-stop.exp: New.
2569
43691ca1
PL
25702015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2571 Yao Qi <yao.qi@linaro.org>
2572
2573 * gdb.trace/trace-condition.c: New file.
2574 * gdb.trace/trace-condition.exp: New file.
2575
d78908cf
WW
25762015-09-16 Wei-cheng Wang <cole945@gmail.com>
2577
2578 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2579 for testing bytecode compilation.
2580
1ed415e2
PA
25812015-09-16 Pedro Alves <palves@redhat.com>
2582 Sandra Loosemore <sandra@codesourcery.com>
2583
2584 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2585 (SECONDS): Redefine.
2586 (main): Call pthread_kill and alarm early.
2587 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2588 support.
2589 (test): If the target can't hardware step and doesn't support
2590 displaced stepping, increase the timeout.
2591
d136eff5
PA
25922015-09-16 Pedro Alves <palves@redhat.com>
2593
2594 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2595 (enable_debug): New procedures.
2596 (test): Use them. Bail out if waiting for threads fails.
2597 (top level): Bail out if a test fails.
2598
991f019c
YQ
25992015-09-16 Yao Qi <yao.qi@linaro.org>
2600
2601 * gdb.asm/asm-source.exp: Set asm-arch for
2602 aarch64*-*-* target.
2603 * gdb.asm/aarch64.inc: New file.
2604
bfca584f
PMR
26052015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2606
2607 * gdb.ada/array_of_variable_length.exp: New testcase.
2608 * gdb.ada/array_of_variable_length/foo.adb: New file.
2609 * gdb.ada/array_of_variable_length/pck.adb: New file.
2610 * gdb.ada/array_of_variable_length/pck.ads: New file.
2611
b326e587
DE
26122015-09-15 Doug Evans <dje@google.com>
2613
2614 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2615 of function static local variable.
2616
5382cfab
PW
26172015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2618
2619 * gdb.threads/tls-so_extern.exp: New test file.
2620 * gdb.threads/tls-so_extern.c: New test file.
2621 * gdb.threads/tls-so_extern_main.c: New test file.
2622
141c5cc4
JK
26232015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2624
2625 * gdb.opt/solib-intra-step-lib.c: New file.
2626 * gdb.opt/solib-intra-step-main.c: New file.
2627 * gdb.opt/solib-intra-step.exp: New file.
2628
d15dcecd
PA
26292015-09-15 Pedro Alves <palves@redhat.com>
2630
2631 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2632 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2633
4c2f2a79
PA
26342015-09-14 Pedro Alves <palves@redhat.com>
2635
2636 * gdb.base/hook-stop-continue.c: Delete.
2637 * gdb.base/hook-stop-continue.exp: Delete.
2638 * gdb.base/hook-stop-frame.c: Delete.
2639 * gdb.base/hook-stop-frame.exp: Delete.
2640 * gdb.base/hook-stop.c: New file.
2641 * gdb.base/hook-stop.exp: New file.
2642
919e6dbe
PMR
26432015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2644
2645 * gdb.ada/access_to_packed_array.exp: New testcase.
2646 * gdb.ada/access_to_packed_array/foo.adb: New file.
2647 * gdb.ada/access_to_packed_array/pack.adb: New file.
2648 * gdb.ada/access_to_packed_array/pack.ads: New file.
2649
157280a4
MM
26502015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2651
2652 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2653 buffer size test.
2654
2fd33e94
DB
26552015-09-11 Don Breazeal <donb@codesourcery.com>
2656
2657 * gdb.base/foll-exec.c: Add copyright header. Fix
2658 formatting issues.
2659 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2660 (do_exec_tests): Use clean_restart in place of zap_session,
2661 and for test initialization. Fix formatting issues. Use
2662 fail in place of perror.
2663 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2664 an expect statement to match an expression with output from
2665 the program under debug.
2666 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2667 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2668 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2669 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2670 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2671
e70b6e8e
DE
26722015-09-09 Doug Evans <dje@google.com>
2673
2674 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2675
7a551a51
DE
26762015-09-09 Doug Evans <dje@google.com>
2677
2678 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2679
4c666f84
DE
26802015-09-09 Doug Evans <dje@google.com>
2681
2682 * gdb.base/savedregs.exp: Fix typo.
2683
243a9253
PA
26842015-09-09 Pedro Alves <palves@redhat.com>
2685
2686 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2687
c0fa8fbd
SL
26882015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2689
2690 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2691 command actually switches threads. Give up on remaining
2692 tests if target fails to stop at breakpoint.
2693
cd7c1778
PMR
26942015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2695
2696 * gdb.ada/funcall_char.exp: New testcase.
2697 * gdb.ada/funcall_char/foo.adb: New file.
2698
dc5c8746
PMR
26992015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2700
2701 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2702 expected outputs. Add two testcases for completing ambiguous
2703 functions.
2704 * gdb.ada/complete/aux_pck.adb: New file.
2705 * gdb.ada/complete/aux_pck.ads: New file.
2706 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2707 Ambiguous_Func functions.
2708 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2709 * gdb.ada/complete/pck.adb: Likewise.
2710
4e83a1e7
UW
27112015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2712
2713 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2714 failures to run the test program under GDB.
2715
8ce74153
LM
27162015-08-26 Luis Machado <lgustavo@codesourcery.com>
2717
2718 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2719 to C.
2720
e9756d52
PP
27212015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2722
2723 * gdb.base/run-after-attach.exp: New test file.
2724 * gdb.base/run-after-attach.c: New test file.
2725
8d37573b
DB
27262015-08-26 Don Breazeal <donb@codesourcery.com>
2727
2728 * gdb.base/foll-exec-2.c: New test program.
2729 * gdb.base/foll-exec-2.exp: New test.
2730
63e43d3a
PMR
27312015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2732
2733 * gdb.base/nested-subp1.exp: New file.
2734 * gdb.base/nested-subp1.c: New file.
2735 * gdb.base/nested-subp2.exp: New file.
2736 * gdb.base/nested-subp2.c: New file.
2737 * gdb.base/nested-subp3.exp: New file.
2738 * gdb.base/nested-subp3.c: New file.
2739
3d40fbb5
PA
27402015-08-24 Pedro Alves <palves@redhat.com>
2741
2742 * gdb.server/connect-without-multi-process.c: New file.
2743 * gdb.server/connect-without-multi-process.exp: New file.
2744
4422ac93
LM
27452015-08-24 Luis Machado <lgustavo@codesourcery.com>
2746
2747 * gdb.opt/inline-markers.c: Make z int.
2748
91dddb86
LM
27492015-08-24 Luis Machado <lgustavo@codesourcery.com>
2750
2751 * gdb.opt/inline-markers.c: Make z volatile.
2752
a48847ee
LM
27532015-08-24 Luis Machado <lgustavo@codesourcery.com>
2754
2755 * gdb.opt/inline-bt.c: New volatile global z.
2756 * gdb.opt/inline-cmds.c: Likewise.
2757 * gdb.opt/inline-locals.c: Likewise.
2758 * gdb.opt/inline-markers.c: New extern global z.
2759 (marker): Use z.
2760 (inline_fn): Likewise.
2761
0ebbc52b
PA
27622015-08-24 Pedro Alves <palves@redhat.com>
2763
2764 * config/m32r-stub.exp: Remove file.
2765 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2766 * gdb.base/call-rt-st.exp: Likewise.
2767 * gdb.base/call-strs.exp: Likewise.
2768 * gdb.base/default.exp: Remove references to h8300-*-hms and
2769 *-*-udi*.
2770 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2771
77c365df
AA
27722015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2773
2774 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2775 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2776 and "return" use KFAIL when GDB can not read/write the vector
2777 return value.
2778
4313b8c0
GB
27792015-08-21 Gary Benson <gbenson@redhat.com>
2780
2781 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2782
0e433b32
PA
27832015-08-20 Pedro Alves <palves@redhat.com>
2784
2785 * gdb.server/solib-list.exp: No longer expect an interior stop in
2786 non-stop mode.
2787
221e1a37
PA
27882015-08-20 Pedro Alves <palves@redhat.com>
2789
2790 * gdb.server/connect-stopped-target.c: New file.
2791 * gdb.server/connect-stopped-target.exp: New file.
2792
40e3ad0e
PA
27932015-08-20 Pedro Alves <palves@redhat.com>
2794
2795 * gdb.dwarf2/comp-unit-lang.exp: New file.
2796 * gdb.dwarf2/comp-unit-lang.c: New file.
2797
af39b327
PMR
27982015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2799
2800 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2801 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2802
7d45c7c3 28032015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 2804
7d45c7c3
KB
2805 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2806 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2807
4d6cceb4
DE
28082015-08-18 Doug Evans <dje@google.com>
2809 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2810
2811 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2812 skip_python_tests. New arg prompt_regexp.
2813 (skip_python_tests): New function.
2814 * lib/mi-support.exp (mi_skip_python_tests): New function.
2815 * gdb.python/py-mi-objfile-gdb.py: New file.
2816 * gdb.python/py-mi-objfile.c: New file.
2817 * gdb.python/py-mi-objfile.exp: New file.
2818
ad89c2aa
KS
28192015-08-17 Keith Seitz <keiths@redhat.com>
2820
2821 * gdb.linespec/explicit.exp: Move strace test from here ...
2822 * gdb.trace/strace.exp: ... to here.
2823
e3ae3c43
PP
28242015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2825
2826 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2827 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2828
604b2636
DE
28292015-08-14 Doug Evans <xdje42@gmail.com>
2830
2831 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2832 inferior before selecting a new file.
2833
6ff0ba5f
DE
28342015-08-14 Doug Evans <xdje42@gmail.com>
2835
2836 * gdb.mi/mi-disassemble.exp: Update.
2837 * gdb.base/disasm-optim.S: New file.
2838 * gdb.base/disasm-optim.c: New file.
2839 * gdb.base/disasm-optim.h: New file.
2840 * gdb.base/disasm-optim.exp: New file.
2841
9ca98f92
KS
28422015-08-14 Keith Seitz <keiths@redhat.com>
2843
2844 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2845 "evaluated-by".
2846
52bbc560
JB
28472015-08-13 Joel Brobecker <brobecker@adacore.com>
2848
2849 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2850
5d8c3ed3
PMR
28512015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2852
2853 * gdb.ada/fun_renaming.exp: New testcase.
2854 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2855 * gdb.ada/fun_renaming/pack.adb: New file.
2856 * gdb.ada/fun_renaming/pack.ads: New file.
2857
ea8812bc
KS
28582015-08-12 Keith Seitz <keiths@redhat.com>
2859
2860 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2861 gdb_get_line_number.
2862
4dafcdeb
JB
28632015-08-12 Joel Brobecker <brobecker@adacore.com>
2864
2865 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2866 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2867 gdb.base/dso2dso.exp: New files.
2868
5ba32597
SDJ
28692015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2870 Pedro Alves <palves@redhat.com>
2871 Keith Seitz <keiths@redhat.com>
2872
2873 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2874 GDBFLAGS.
2875
b6dafabf
PP
28762015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2877
2878 * gdb.base/gdbhistsize-history.exp
2879 (test_histsize_history_setting): Use save_vars.
2880 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2881 Use save_vars.
2882 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2883 * gdb.base/readline.exp: Use save_vars.
2884
abe8e607
PP
28852015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2886
2887 * lib/gdb.exp (save_vars): New proc.
2888
629500fa
KS
28892015-08-11 Keith Seitz <keiths@redhat.com>
2890
2891 * gdb.base/help.exp: Update help_breakpoint_text.
2892
eb8c4e2e
KS
28932015-08-11 Keith Seitz <keiths@redhat.com>
2894
2895 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2896 (at toplevel): Call test_explicit_breakpoints.
2897 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2898 breakpoints.
2899 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2900 breakpoint conditions, "-cond".
2901
87f0e720
KS
29022015-08-11 Keith Seitz <keiths@redhat.com>
2903
2904 * gdb.linespec/3explicit.c: New file.
2905 * gdb.linespec/cpexplicit.cc: New file.
2906 * gdb.linespec/cpexplicit.exp: New file.
2907 * gdb.linespec/explicit.c: New file.
2908 * gdb.linespec/explicit.exp: New file.
2909 * gdb.linespec/explicit2.c: New file.
2910 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2911 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2912 before using in the matching pattern.
2913 Clarify that `prefix' is a regular expression.
2914
f00aae0f
KS
29152015-08-11 Keith Seitz <keiths@redhat.com>
2916
2917 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2918 test.
2919 Add tests for missing ",FMT" and ",".
2920
e27852be
DE
29212015-08-10 Doug Evans <dje@google.com>
2922 Keith Seitz <keiths@redhat.com>
2923
2924 PR gdb/17960
2925 * gdb.base/completion.exp: Add location completer tests.
2926
7f03bd92
PA
29272015-08-07 Pedro Alves <palves@redhat.com>
2928
2929 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2930 tests here.
2931 (top level): Run do_test with and without displaced stepping.
2932
3fc8eb30
PA
29332015-08-07 Pedro Alves <palves@redhat.com>
2934
2935 * gdb.base/valgrind-disp-step.c: New file.
2936 * gdb.base/valgrind-disp-step.exp: New file.
2937
d4569d7b
PA
29382015-08-07 Pedro Alves <palves@redhat.com>
2939
2940 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2941 Delete function.
2942 (main): Add alarm. Run an infinite loop instead of calling
2943 wait_threads.
2944 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2945 comment.
2946 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2947 Delete function.
2948 (main): Add alarm. Run an infinite loop instead of calling
2949 wait_threads.
2950 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2951 comment.
2952
e1316e60
PA
29532015-08-07 Pedro Alves <palves@redhat.com>
2954
2955 * gdb.base/checkpoint-ns.exp: New file.
2956 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2957 standard_testfile.
2958
da8c46d2
MM
29592015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2960
2961 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2962 * gdb.btrace/instruction_history.exp: Update.
2963 * gdb.btrace/tsx.exp: New.
2964 * gdb.btrace/tsx.c: New.
2965
de1c2c52
PA
29662015-08-06 Pedro Alves <palves@redhat.com>
2967
2968 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2969 increase timeout.
2970 * gdb.reverse/until-precsave.exp: Bump timeouts.
2971
782e0bf4
PA
29722015-08-06 Pedro Alves <palves@redhat.com>
2973
2974 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2975
83e97ed0
PA
29762015-08-06 Pedro Alves <palves@redhat.com>
2977
2978 PR gdb/18749
2979 * gdb.threads/process-dies-while-handling-bp.c: New file.
2980 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2981
863d01bd
PA
29822015-08-06 Pedro Alves <palves@redhat.com>
2983
2984 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2985 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2986
0a39bb32
PA
29872015-08-05 Pedro Alves <palves@redhat.com>
2988
2989 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2990 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2991
ee2d2b10
SL
29922015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2993
2994 * gdb.base/bp-permanent.exp: Report test as unsupported if
2995 the target cannot stop at the permanent breakpoint.
2996
4e1bdb00
DE
29972015-08-03 Doug Evans <dje@google.com>
2998
2999 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3000 10000.
3001
3d338901
DE
30022015-08-03 Doug Evans <dje@google.com>
3003
3004 * Makefile.in (workers/%.worker, build-perf): New rule.
3005 (GDB_PERFTEST_MODE): New variable.
3006 (check-perf): Use it.
3007 (clean): Clean up gdb.perf parallel build subdirs.
3008 * lib/build-piece.exp: New file.
3009 * lib/gdb.exp (make_gdb_parallel_path): New function
3010 (standard_output_file, standard_temp_file): Call it.
3011 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3012 of $GDB_PARALLEL.
3013 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3014
af061d3e
DE
30152015-08-03 Doug Evans <dje@google.com>
3016
8e1afc81 3017 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
3018 (LOG_FILE_NAME): New global.
3019 (TextReporter.__init__): Initialize self.txt_sum.
3020 (TextReporter.report): Add support for multiple data-points.
3021 Move report to perftest.sum, put raw data in perftest.log.
3022 (TextReporter.start): Open sum and log files.
3023 (TextReporter.end): Close sum and log files.
8e1afc81
DE
3024 * gdb.perf/lib/perftest/testresult.py
3025 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 3026
2c8c5d37
PA
30272015-07-31 Pedro Alves <palves@redhat.com>
3028
3029 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3030 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3031 kill_wait_spawned_process instead of explicit "kill -9".
3032 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3033 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3034 kill_wait_spawned_process.
3035 * gdb.base/attach-twice.exp: Likewise.
3036 * gdb.base/attach.exp: Likewise.
3037 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3038 gdb_test_multiple.
3039 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3040 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3041 kill_wait_spawned_process.
3042 * gdb.base/valgrind-infcall.exp: Likewise.
3043 * gdb.multi/multi-attach.exp: Likewise.
3044 * gdb.python/py-prompt.exp: Likewise.
3045 * gdb.python/py-sync-interp.exp: Likewise.
3046 * gdb.server/ext-attach.exp: Likewise.
3047 * gdb.threads/attach-into-signal.exp (corefunc): Use
3048 spawn_wait_for_attach, spawn_id_get_pid and
3049 kill_wait_spawned_process.
3050 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3051 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3052 spawn_id_get_pid and kill_wait_spawned_process.
3053 * gdb.threads/attach-stopped.exp (corefunc): Use
3054 spawn_wait_for_attach, spawn_id_get_pid and
3055 kill_wait_spawned_process.
3056 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3057 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3058 kill_wait_spawned_process instead of explicit "kill -9".
3059 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3060 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3061 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3062 processes. Don't map cygwin/windows pids here. Now returns a
3063 spawn id list.
3064
032a0fca
SL
30652015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3066
3067 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3068 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3069 correct patch.
3070
61a934ca
SL
30712015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3072
3073 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3074
4bc4d428
SL
30752015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3076
3077 Reapply:
3078 2014-05-21 Mark Wielaard <mjw@redhat.com>
3079
3080 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3081
998d452a
PA
30822015-07-30 Pedro Alves <palves@redhat.com>
3083
3084 * linux-low.c (handle_extended_wait): Set the child's last
3085 reported status to TARGET_WAITKIND_STOPPED.
3086
69dde7dc
PA
30872015-07-30 Pedro Alves <palves@redhat.com>
3088
3089 PR threads/18600
3090 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3091 only shows inferior 1.
3092
4dd63d48
PA
30932015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3094 Pedro Alves <palves@redhat.com>
3095
3096 PR threads/18600
3097 * gdb.threads/fork-plus-threads.c: New file.
3098 * gdb.threads/fork-plus-threads.exp: New file.
3099
d618e4c5
PP
31002015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3101
3102 * gdb.base/batch-preserve-term-settings.exp
3103 (test_terminal_settings_preserved_after_cli_exit): Use
3104 send_quit_command.
3105
1eef6428
PA
31062015-07-29 Pedro Alves <palves@redhat.com>
3107 Don Breazeal <donb@codesourcery.com>
3108
3109 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3110 output from both inferior_spawn_id and gdb_spawn_id.
3111
7da5b897
SDJ
31122015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3113
3114 * gdb.threads/attach-into-signal.exp (corefunc): Use
3115 with_test_prefix on nested loops, uniquefying the test messages.
3116
dac804df
SDJ
31172015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3118
3119 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3120 commit.
3121
06265e53
PP
31222015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3123
3124 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3125 New proc.
3126 (test_terminal_settings_preserved_after_sigterm): New test.
3127
18206ca3
PP
31282015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3129
3130 * gdb.base/batch-preserve-term-settings.exp
3131 (test_terminal_settings_preserved_after_cli_exit): New test.
3132
90074d11
PP
31332015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3134
3135 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3136 manipulation of saved_gdbflags.
3137 (test_terminal_settings_preserved): Remove global declaration of
3138 the unused variable pagination_prompt. Remove manipulation of
3139 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3140 GDBFLAGS.
3141
eb1a7902
PA
31422015-07-29 Pedro Alves <palves@redhat.com>
3143
3144 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3145
8b75dd3b
PA
31462015-07-29 Pedro Alves <palves@redhat.com>
3147
3148 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3149 at the top.
3150
dedad4e3
PA
31512015-07-29 Pedro Alves <palves@redhat.com>
3152
3153 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3154 (main): Call gdb_unbuffer_output.
3155 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3156 (main): Call gdb_unbuffer_output.
3157 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3158 (main): Call gdb_unbuffer_output.
3159 * gdb.base/call-strs.exp: Adjust to step over the
3160 gdb_unbuffer_output call.
3161 * gdb.base/catch-gdb-caused-signals.c: Include
3162 "../lib/unbuffer_output.c".
3163 (main): Call gdb_unbuffer_output.
3164 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3165 (main): Call gdb_unbuffer_output.
3166 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3167 (main): Call gdb_unbuffer_output.
3168 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3169 (main): Call gdb_unbuffer_output.
3170 * gdb.base/shlib-call.exp: Adjust to step over the
3171 gdb_unbuffer_output call.
3172 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3173 (main): Call gdb_unbuffer_output.
3174 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3175 (main): Call gdb_unbuffer_output.
3176 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3177 (main): Rename to ...
3178 (test): ... this.
3179 (main): Reimplement.
3180 * gdb.base/varargs.exp: Run to test instead of to main.
3181 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3182 (main): Call gdb_unbuffer_output.
3183
58789a91
PA
31842015-07-29 Pedro Alves <palves@redhat.com>
3185
3186 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3187 factore out from mi_continue_dprintf. For call-style dprintfs,
3188 expect dprintf output out of $inferior_spawn_id.
3189 (mi_continue_dprintf): Use mi_expect_dprintf.
3190 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3191 (main): Call gdb_unbuffer_output.
3192
e8376742
PA
31932015-07-29 Pedro Alves <palves@redhat.com>
3194
3195 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3196 (default_mi_gdb_start): Set inferior_spawn_id instead of
3197 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3198 gdb_spawn_id.
3199 (mi_gdb_test): Always expect inferior output from both
3200 $inferior_spawn_id and $gdb_spawn_id.
3201
08280010
PA
32022015-07-29 Pedro Alves <palves@redhat.com>
3203
3204 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3205 send_inferior and $inferior_spawn_id.
3206
4d30e432
PA
32072015-07-29 Pedro Alves <palves@redhat.com>
3208
3209 * gdb.gdb/complaints.exp (test_initial_complaints)
3210 (test_serial_complaints, test_short_complaints): Use
3211 gdb_test_stdio.
3212 (test_empty_complaint): Handle $inferior_spawn_id !=
3213 $gdb_spawn_id.
3214
0d30a335
PA
32152015-07-29 Pedro Alves <palves@redhat.com>
3216
3217 * gdb.base/varargs.exp: Use gdb_test_stdio.
3218
39413b29
PA
32192015-07-29 Pedro Alves <palves@redhat.com>
3220
3221 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3222
7cb000a9
PA
32232015-07-29 Pedro Alves <palves@redhat.com>
3224
3225 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3226
d7b8ac82
PA
32272015-07-29 Pedro Alves <palves@redhat.com>
3228
3229 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3230 parameter into two new parameters, "inf_result" and "gdb_result".
3231 Expect inferior output and gdb output from $inferior_spawn_id and
3232 $gdb_spawn_id, respectively. Adjust all callers.
3233
789c3a0c
PA
32342015-07-29 Pedro Alves <palves@redhat.com>
3235
3236 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3237 of gdb_test_sequence.
3238
77e760c3
PA
32392015-07-29 Pedro Alves <palves@redhat.com>
3240
3241 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3242 (saw_spurious_output): Expect inferior output from
3243 $inferior_spawn_id. Use gdb_test_stdio.
3244
8396d2cd
PA
32452015-07-29 Pedro Alves <palves@redhat.com>
3246
3247 * gdb.base/dprintf.exp: Use standard_testfile. Change
3248 prepare_for_testing call.
3249 (srcfile): Don't set.
3250 (restart): New procedure.
3251 (test_dprintf): New procecure, use to continue over dprintfs.
3252 (test_call, test_agent): New procedures, tests moved here.
3253 Restart gdb and recreate dprintfs. Adjust expected output.
3254
2051d61f
PA
32552015-07-29 Pedro Alves <palves@redhat.com>
3256
3257 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3258
452397af
PA
32592015-07-29 Pedro Alves <palves@redhat.com>
3260
3261 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3262
8aed9555
PA
32632015-07-29 Pedro Alves <palves@redhat.com>
3264
3265 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3266 gdb_test_stdio.
3267
188a61b4
PA
32682015-07-29 Pedro Alves <palves@redhat.com>
3269
3270 * lib/gdb.exp (gdb_test_stdio): New procedure.
3271
12264a45
PA
32722015-07-29 Pedro Alves <palves@redhat.com>
3273
3274 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3275
23ffc893
PA
32762015-07-29 Pedro Alves <palves@redhat.com>
3277
3278 * gdb.base/call-signal-resume.exp: Remove check for
3279 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3280 * gdb.base/unwindonsignal.exp: Likewise.
3281 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3282 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3283
65566918
PA
32842015-07-29 Pedro Alves <palves@redhat.com>
3285
3286 * gdb.base/siginfo-addr.c (pass): New function.
3287 (handler): Call it iff si_addr is correct.
3288 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3289 Set a breakpoint at "pass" and continue to it.
3290
d60a9221
SDJ
32912015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3292
3293 * gdb.python/py-objfile.exp: Make some tests have unique names.
3294 * gdb.python/py-pp-registration.exp: Likewise.
3295
bde40b8f
PA
32962015-07-28 Pedro Alves <palves@redhat.com>
3297
3298 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3299
13e1dec8
SM
33002015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3301
3302 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3303
da33c9a7
SM
33042015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3305
3306 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3307
077836f7
PP
33082015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3309
3310 * gdb.base/gdb-sigterm-2.exp: New test.
3311
b8cc7b2e
DE
33122015-07-25 Doug Evans <xdje42@gmail.com>
3313
3314 Revert:
3315 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3316 (workers/%.worker, build-perf): New rule.
3317 (GDB_PERFTEST_MODE): New variable.
3318 (check-perf): Use it.
3319 (clean): Clean up gdb.perf parallel build subdirs.
3320 * lib/build-piece.exp: New file.
3321 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3322 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3323 name.
3324 (standard_temp_file): Ditto.
3325 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3326 of $GDB_PARALLEL.
3327
c8bd4544
DE
33282015-07-24 Doug Evans <dje@google.com>
3329
3330 * gdb.perf/lib/perftest/utils.py: New file.
3331 * gdb.perf/gm-hello.cc: New file.
3332 * gdb.perf/gm-pervasive-typedef.cc: New file.
3333 * gdb.perf/gm-pervasive-typedef.h: New file.
3334 * gdb.perf/gm-std.cc: New file.
3335 * gdb.perf/gm-std.h: New file.
3336 * gdb.perf/gm-use-cerr.cc: New file.
3337 * gdb.perf/gm-utils.h: New file.
3338 * gdb.perf/gmonster-null-lookup.py: New file.
3339 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3340 * gdb.perf/gmonster-print-cerr.py: New file.
3341 * gdb.perf/gmonster-ptype-string.py: New file.
3342 * gdb.perf/gmonster-runto-main.py: New file.
3343 * gdb.perf/gmonster-select-file.py: New file.
3344 * gdb.perf/gmonster1-null-lookup.exp: New file.
3345 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3346 * gdb.perf/gmonster1-print-cerr.exp: New file.
3347 * gdb.perf/gmonster1-ptype-string.exp: New file.
3348 * gdb.perf/gmonster1-runto-main.exp: New file.
3349 * gdb.perf/gmonster1-select-file.exp: New file.
3350 * gdb.perf/gmonster1.cc: New file.
3351 * gdb.perf/gmonster1.exp: New file.
3352 * gdb.perf/gmonster2-null-lookup.exp: New file.
3353 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3354 * gdb.perf/gmonster2-print-cerr.exp: New file.
3355 * gdb.perf/gmonster2-ptype-string.exp: New file.
3356 * gdb.perf/gmonster2-runto-main.exp: New file.
3357 * gdb.perf/gmonster2-select-file.exp: New file.
3358 * gdb.perf/gmonster2.cc: New file.
3359 * gdb.perf/gmonster2.exp: New file.
3360
6eab34f3
DE
33612015-07-24 Doug Evans <dje@google.com>
3362
3363 * gdb.perf/README: New file.
3364 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3365 * lib/gen-perf-test.exp: New file.
3366
63738bfd
DE
33672015-07-24 Doug Evans <dje@google.com>
3368
3369 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3370 (PerfTest::startup): New function.
3371 (PerfTest::run): Return result of calling body.
3372 (PerfTest::assemble): Rewrite.
3373 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3374 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3375 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3376 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3377 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3378
7b606f95
DE
33792015-07-24 Doug Evans <dje@google.com>
3380
3381 * lib/gdb.exp (clean_restart): Make executable optional.
3382
a97b16b8
DE
33832015-07-24 Doug Evans <dje@google.com>
3384
3385 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3386 compiler_info references.
3387 * gdb.cp/temargs.exp: Ditto.
3388 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3389 (get_compiler_info): Early exit if already computed. Set compiler_info
3390 to "unknown" if there was a problem.
3391 (test_compiler_info): Add function comment. Call get_compiler_info.
3392
35baa57f
DE
33932015-07-24 Doug Evans <dje@google.com>
3394
3395 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3396 (workers/%.worker, build-perf): New rule.
3397 (GDB_PERFTEST_MODE): New variable.
3398 (check-perf): Use it.
3399 (clean): Clean up gdb.perf parallel build subdirs.
3400 * lib/build-piece.exp: New file.
3401 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3402 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3403 name.
3404 (standard_temp_file): Ditto.
3405 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3406 of $GDB_PARALLEL.
3407
6ebea266
DE
34082015-07-24 Doug Evans <dje@google.com>
3409
3410 * lib/future.exp (gdb_default_target_compile): New option
3411 "early_flags".
3412 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3413 --as-needed.
3414
1e76a7e9
SDJ
34152015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3416
3417 * gdb.base/catch-syscall.exp: Call gdb_exit before
3418 gdb_skip_xml_test.
3419
5068630a
PA
34202015-07-24 Pedro Alves <palves@redhat.com>
3421
3422 * gdb.python/py-events.exp: Accept output between the stop event
3423 and the prompt.
3424 * gdb.python/py-evsignal.exp: Likewise.
3425 * gdb.python/py-evthreads.exp: Likewise.
3426
77598427
PA
34272015-07-24 Pedro Alves <palves@redhat.com>
3428
3429 PR gdb/18717
3430 * gdb.threads/non-ldr-exit.c: New file.
3431 * gdb.threads/non-ldr-exit.exp: New file.
3432
11e6c98f
YQ
34332015-07-24 Yao Qi <yao.qi@linaro.org>
3434
3435 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3436 restarting process.
3437
51aee833
YQ
34382015-07-24 Yao Qi <yao.qi@linaro.org>
3439
3440 * gdb.server/ext-restart.exp: New file.
3441
8cfe207c
YQ
34422015-07-24 Yao Qi <yao.qi@linaro.org>
3443
3444 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3445 argument options.
3446 * gdb.server/ext-wrapper.exp: New file.
3447
cc12ce38
DE
34482015-07-23 Doug Evans <dje@google.com>
3449
3450 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3451 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3452
d0d84780
PMR
34532015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3454
3455 * gdb.ada/var_arr_typedef.exp: New testcase.
3456 * gdb.ada/var_arr_typedef/pack.adb: New file.
3457 * gdb.ada/var_arr_typedef/pack.ads: New file.
3458 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3459
8b558f79
JB
34602015-07-20 Joel Brobecker <brobecker@adacore.com>
3461
3462 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3463
775a3298
JK
34642015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3465
3466 * gdb.arch/i386-biarch-core.exp: Replace istarget
3467 by "complete set gnutarget". Remove expectation for the "core-file"
3468 command.
3469
db1ff28b
JK
34702015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3471
3472 Revert the previous commit:
3473 Tests for validate symbol file using build-id.
3474
0a94970d
JK
34752015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3476
3477 Tests for validate symbol file using build-id.
3478 * gdb.base/solib-mismatch-lib.c: New file.
3479 * gdb.base/solib-mismatch-libmod.c: New file.
3480 * gdb.base/solib-mismatch.c: New file.
3481 * gdb.base/solib-mismatch.exp: New file.
3482
03346981
SL
34832015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3484
3485 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3486 nios2-*-linux*.
3487 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3488 * gdb.base/siginfo.exp: Likewise.
3489 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3490
42422cc7
PL
34912015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3492
3493 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3494 Move it to ...
3495 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3496 ... here.
3497 * gdb.trace/range-stepping.exp: Check that the target supports
3498 range stepping.
3499
cfa68bae
JK
35002015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3501
3502 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3503
8ffdba26
PA
35042015-07-14 Pedro Alves <palves@redhat.com>
3505
3506 * gdb.base/killed-outside.exp: New file.
3507 * gdb.base/killed-outside.c: New file.
3508
218a5a11
JK
35092015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3510
3511 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3512 (n at main): New.
3513 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3514
e03ed3c6
AA
35152015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3516
3517 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3518 infcall tests instead of setting up for KFAIL.
3519
485668e5
MM
35202015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3521
3522 * gdb.btrace/record_goto-step.exp: New.
3523
08464196
JK
35242015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3525
3526 PR compile/18484
3527 * gdb.compile/compile.c (struct struct_type): Add volatile to
3528 selffield's type.
3529 * gdb.compile/compile.exp
3530 (compile code struct_object.selffield = &struct_object): Skip further
3531 struct_object tests if this one xfails.
3532
bcf5c1d9
RC
35332015-07-08 Robert O'Callahan <robert@ocallahan.org>
3534
3535 PR exp/18617
3536 * gdb.trace/ax.exp: Add test.
3537
4931af25
YQ
35382015-07-07 Yao Qi <yao.qi@linaro.org>
3539
3540 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3541 instead of istarget "aarch64*-*-*".
3542 * gdb.arch/aarch64-fp.exp: Likewise.
3543 * gdb.base/float.exp: Likewise.
3544 * gdb.reverse/aarch64.exp: Likewise.
3545 * lib/gdb.exp (is_aarch64_target): New proc.
3546
9fcf688e
YQ
35472015-07-07 Yao Qi <yao.qi@linaro.org>
3548
3549 * lib/gdb.exp (is_aarch32_target): New proc.
3550 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3551 instead of "istarget "arm*-*-*"".
3552 * gdb.arch/arm-disp-step.exp: Likewise.
3553 * gdb.arch/thumb-bx-pc.exp: Likewise.
3554 * gdb.arch/thumb-prologue.exp: Likewise.
3555 * gdb.arch/thumb-singlestep.exp: Likewise.
3556 * gdb.base/disp-step-syscall.exp: Likewise.
3557 * gdb.base/float.exp: Likewise.
3558
fbd8d50d
YQ
35592015-07-07 Yao Qi <yao.qi@linaro.org>
3560
3561 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3562 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3563
71be1fdc
YQ
35642015-07-07 Yao Qi <yao.qi@linaro.org>
3565
3566 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3567 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3568 if it exists.
3569 * gdb.multi/multi-arch.exp: Likewise.
3570
3e221d36
SM
35712015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3572
3573 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3574 print.
3575
d441430b
YQ
35762015-07-07 Yao Qi <yao.qi@linaro.org>
3577
3578 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3579
06f810bd
MG
35802015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3581
3582 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3583 '[' and ']' characters.
3584
5e61e7c0
IB
35852015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3586
3587 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3588
28bf096c
PA
35892015-06-29 Pedro Alves <palves@redhat.com>
3590
3591 PR threads/18127
3592 * gdb.threads/hand-call-new-thread.c: New file.
3593 * gdb.threads/hand-call-new-thread.c: New file.
3594
ee93cd5e
KS
35952015-06-26 Keith Seitz <keiths@redhat.com>
3596 Doug Evans <dje@google.com>
3597
3598 PR 16253
3599 * gdb.cp/var-tag-2.cc: New file.
3600 * gdb.cp/var-tag-3.cc: New file.
3601 * gdb.cp/var-tag-4.cc: New file.
3602 * gdb.cp/var-tag.cc: New file.
3603 * gdb.cp/var-tag.exp: New file.
3604
fc637f04
PP
36052015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3606
3607 * gdb.base/history-duplicates.exp: New test.
3608
2e52ae68
PP
36092015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3610
3611 * gdb.base/completion.exp: Test the completion of the "focus"
3612 command.
3613
6e22494e
JK
36142015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3615
3616 * gdb.arch/amd64-prologue-skip.S: New file.
3617 * gdb.arch/amd64-prologue-skip.exp: New file.
3618
bf7b9cd9
SM
36192015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3620
3621 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3622 is_address_zero_readable check.
3623
201e8dfd
PB
36242015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3625
3626 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3627 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3628
5cd867b4
YQ
36292015-06-24 Yao Qi <yao.qi@linaro.org>
3630
3631 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3632 linux targets.
3633
4d7be007
YQ
36342015-06-24 Yao Qi <yao.qi@linaro.org>
3635
3636 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3637 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3638 * gdb.base/siginfo-thread.exp: Likewise.
3639
07fcd301
YQ
36402015-06-22 Yao Qi <yao.qi@linaro.org>
3641
3642 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3643
52042a00
YQ
36442015-06-22 Yao Qi <yao.qi@linaro.org>
3645
3646 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3647 aarch64*-*-*.
3648 (skip_hw_watchpoint_tests): Likewise.
3649
74bd41ce
PP
36502015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3651
3652 * gdb.base/gdbinit-history.exp: Test the interaction between
3653 setting GDBHISTSIZE and setting the history size via .gdbinit.
3654
bc460514
PP
36552015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3656
3657 PR gdb/16999
3658 * gdb.base/gdbhistsize-history.exp: New test.
3659
b58c513b
PP
36602015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3661
3662 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3663 with GDBHISTSIZE.
3664 * gdb.base/readline.exp: Likewise.
3665
92046791
YQ
36662015-06-17 Yao Qi <yao.qi@linaro.org>
3667
3668 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3669 line.
3670
2093d2d3
PP
36712015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3672
3673 * gdb.base/gdbinit-history.exp: Add test case to check that
3674 an unlimited history file does not get truncated on exit.
3675
e6c693af
AA
36762015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3677
3678 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3679 (VECTOR): New macro. Use it...
3680 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3681 ...for these typedefs.
3682 (int8, char1, int1, double1): New typedefs.
3683 (struct just_int2, struct two_int2): New structures.
3684 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3685 (add_structvecs, add_singlevecs): New functions.
3686 (main): Call add_some_intvecs twice.
3687 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3688 the compile and exit upon failure. Try compiling for the "native"
3689 architecture. Test inferior function calls with vector arguments
3690 and vector return value handling with "finish" and "return".
3691
c74f7d1c
JT
36922015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3693
3694 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3695 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3696 PE file.
3697 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3698
98aa42ee
AT
36992015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3700
3701 PR breakpoints/16465
3702 * gdb.mi/mi-dprintf-pending.c: New file.
3703 * gdb.mi/mi-dprintf-pending.exp: New test.
3704 * gdb.mi/mi-dprintf-pendshr.c: New file.
3705
7d73c23c 37062015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 3707 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
3708
3709 * gdb.arch/i386-mpx-map.c: New file.
3710 * gdb.arch/i386-mpx-map.exp: New File.
3711
37122015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3713
3714 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3715 * gdb.arch/i386-mpx.exp: Indentation fixed.
3716
37172015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3718
3719 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3720 function and improved indentation.
3721 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3722 gdb_test_multiple. Added additional tests to skip the test.
3723
37242015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3725
3726 * gdb.arch/i386-avx512.c: Change path in include file.
3727 * gdb.arch/i386-avx512.exp: Change include dir path
3728 compilation flag.
3729 * gdb.arch/i386-mpx.c: Change path in include file.
3730 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3731 flag.
3732
d5eba19a
JK
37332015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3734
3735 * gdb.compile/compile-print.exp (compile print *vararray@3)
3736 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3737
7f361056
JK
37382015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3739
3740 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3741 (do not keep jit in memory): ... this.
3742 (expect 5): Change it to ...
3743 (expect no 5): ... this.
3744
3b462ec2
SM
37452015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3746
3747 PR gdb/15564
3748 * gdb.mi/mi-detach.exp: New file.
3749
e0619de6
JK
37502015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3751
3752 PR symtab/18392
3753 * gdb.arch/amd64-tailcall-self.S: New file.
3754 * gdb.arch/amd64-tailcall-self.c: New file.
3755 * gdb.arch/amd64-tailcall-self.exp: New file.
3756
e970cb34
DB
37572015-05-28 Don Breazeal <donb@codesourcery.com>
3758
3759 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3760 tests for remote targets by checking is_target_gdbserver.
3761
b2e2f908
DE
37622015-05-27 Doug Evans <dje@google.com>
3763
3764 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3765 * gdb.dwarf2/opaque-type-lookup.c: New file.
3766 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3767
82c7be31
DE
37682015-05-26 Doug Evans <dje@google.com>
3769
3770 * gdb.cp/iostream.cc: New file.
3771 * gdb.cp/iostream.exp: New file.
3772
b4f54984
DE
37732015-05-26 Doug Evans <dje@google.com>
3774
3775 * gdb.dwarf2/dw2-op-call.exp: Update.
3776 * gdb.dwarf2/dw4-sig-types.exp: Update.
3777 * gdb.dwarf2/implptr.exp: Update.
3778 * gdb.mi/mi-cmd-param-changed.exp: Update.
3779
4ea6efe9
DE
37802015-05-26 Doug Evans <dje@google.com>
3781
3782 * gdb.python/py-lazy-string.c: New file.
3783 * gdb.python/py-lazy-string.exp: New file.
3784 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3785 (main): Update. Add estring3.
3786 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3787 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3788
f6bb7db3
YQ
37892015-05-26 Omair Javaid <omair.javaid@linaro.org>
3790 Yao Qi <yao.qi@linaro.org>
3791
3792 * gdb.reverse/aarch64.c: New.
3793 * gdb.reverse/aarch64.exp: New.
3794
a81bfbd0
OJ
37952015-05-26 Omair Javaid <omair.javaid@linaro.org>
3796
25d49b86
PA
3797 * lib/gdb.exp (supports_process_record): Return true for
3798 aarch64*-linux*.
a81bfbd0
OJ
3799 (supports_reverse): Likewise.
3800
158bf1b4
PP
38012015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3802
3803 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3804 Use with_test_prefix.
3805
a0145030
AB
38062015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3807
3808 * gdb.base/completion.exp: Add test for completion of layout
3809 names.
3810
ebe3b578
AB
38112015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3812
3813 * lib/gdb.exp (skip_tui_tests): New proc.
3814 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3815
84204ed7
PA
38162015-05-19 Pedro Alves <palves@redhat.com>
3817
3818 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3819 Save the whole env array instead of just HOME. Unset HISTSIZE in
3820 the environment while testing. Restore whole environment
3821 afterwards.
3822
37442ce1
DE
38232015-05-16 Doug Evans <xdje42@gmail.com>
3824
3825 * gdb.guile/scm-ports.c: New file.
3826 * gdb.guile/scm-ports.exp: Add memory port tests.
3827
36de76f9
JK
38282015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3829
3830 * gdb.compile/compile-print.c: New file.
3831 * gdb.compile/compile-print.exp: New file.
3832
3a9558c4
JK
38332015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3834
3835 * gdb.compile/compile-ops.exp: Cast param to void.
3836 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3837 (compile code struct_object.selffield = &struct_object): Add xfail.
3838
aa715135
JG
38392015-05-15 Joel Brobecker <brobecker@adacore.com>
3840
3841 * gdb.ada/arr_enum_with_gap: New testcase.
3842
931e5bc3
JG
38432015-05-15 Joel Brobecker <brobecker@adacore.com>
3844
3845 * gdb.ada/byte_packed_arr: New testcase.
3846
9cd4d857
JB
38472015-05-15 Joel Brobecker <brobecker@adacore.com>
3848
3849 * gdb.ada/pckd_neg: New testcase.
3850
ebfd00d2
PP
38512015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3852
3853 PR gdb/17820
3854 * gdb.base/gdbinit-history.exp: New test.
3855 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3856 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3857
4c082a81
SC
38582015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3859
3860 * gdb.python/py-xmethods.cc: Enhance test case.
3861 * gdb.python/py-xmethods.exp: New tests.
3862 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3863 function.
3864 (B_indexoper): Likewise.
3865 (global_dm_list) : Add new xmethod worker functions.
3866
f7797074
SDJ
38672015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3868
3869 * gdb.base/coredump-filter.exp: Correctly unset
3870 "coredump_var_addr" array.
3871
a4674e4e
PA
38722015-05-08 Pedro Alves <palves@redhat.com>
3873
3874 * gdb.server/non-existing-program.exp: Unset spawn_id.
3875
df2eb078
SC
38762015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3877
3878 PR python/18291
3879 * gdb.python/py-xmethods.exp: Add tests.
3880
422349a3
YQ
38812015-05-08 Yao Qi <yao.qi@linaro.org>
3882
3883 PR gdb/18208
3884 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3885 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3886 function set_coredump_filter, and remove remote_exec call.
3887 Remove argument ipid. Callers update.
3888 (top level): Don't get inferior's PID.
3889
63fc80ce
AA
38902015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3891
3892 * gdb.base/watch_thread_num.exp: Skip test on targets without
3893 access watchpoints.
3894
80ad801e
PA
38952015-05-06 Pedro Alves <palves@redhat.com>
3896
3897 PR server/18081
3898 * gdb.server/non-existing-program.exp: New file.
3899
0fa7fe50
JB
39002015-05-05 Joel Brobecker <brobecker@adacore.com>
3901
3902 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3903
3ea89b92
PMR
39042015-05-05 Joel Brobecker <brobecker@adacore.com>
3905
3906 * gdb.ada/out_of_line_in_inlined: New testcase.
3907
87b8eff0
JB
39082015-05-05 Joel Brobecker <brobecker@adacore.com>
3909
3910 * gdb.ada/var_rec_arr: New testcase.
3911
5fccc635
YQ
39122015-04-30 Yao Qi <yao.qi@linaro.org>
3913
3914 * gdb.base/break-idempotent.exp: If
3915 skip_hw_watchpoint_multi_tests returns true, skip the tests
3916 on "rwatch" and "awatch".
3917
42d38f42
YQ
39182015-04-30 Yao Qi <yao.qi@linaro.org>
3919
3920 * gdb.base/relativedebug.exp: Invoke gdb command
3921 "info sharedlibrary", and if libc.so doesn't have debug info,
3922 skip the test.
3923
2ce1cdbf
DE
39242015-04-29 Doug Evans <dje@google.com>
3925
3926 * gdb.python/py-xmethods.exp: Add ptype tests.
3927 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3928 get_result_type method.
3929
f24a38c5
LM
39302015-04-29 Luis Machado <lgustavo@codesourcery.com>
3931
3932 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3933 the target does not support hardware watchpoints.
3934
ecbf2b3c
LM
39352015-04-29 Luis Machado <lgustavo@codesourcery.com>
3936
3937 * gdb.base/break-always.exp: Abort testing if writing to memory
3938 causes an error.
3939
34f5f757
DE
39402015-04-28 Doug Evans <dje@google.com>
3941
3942 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3943 * gdb.python/py-pp-registration.exp: ... here. New file.
3944 * gdb.python/py-pp-registration.c: New file.
3945 * gdb.python/py-pp-registration.py: New file.
3946
69b4374a
DE
39472015-04-28 Doug Evans <dje@google.com>
3948
3949 * gdb.python/py-bad-printers.c: New file.
3950 * gdb.python/py-bad-printers.py: New file.
3951 * gdb.python/py-bad-printers.exp: New file.
3952
59fb7612
SS
39532015-04-28 Sasha Smundak <asmundak@google.com>
3954
3955 * gdb.python/py-type.exp: New test.
3956
2631b16a
AW
39572015-04-28 Andy Wingo <wingo@igalia.com>
3958
3959 * gdb.python/py-parameter.exp:
3960 * gdb.guile/scm-parameter.exp: Escape the path that we are
3961 matching against, as it might contain characters that are special
3962 to regular expressions.
3963
460efde1
JB
39642015-04-27 Joel Brobecker <brobecker@adacore.com>
3965
3966 * gdb.ada/rec_comp: New testcase.
3967
2d369d8e
SDJ
39682015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3969
3970 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3971 before using it.
3972
cf75d6c3
AB
39732015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3974
3975 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3976 new tests for verilog output.
3977
8dbe7ca5
YQ
39782015-04-24 Yao Qi <yao.qi@linaro.org>
3979
3980 * boards/remote-gdbserver-on-localhost.exp: New file.
3981
4ef9fb2f
PA
39822015-04-23 Pedro Alves <palves@redhat.com>
3983
3984 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3985 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3986 "end of file", remove $inferior_spawn_id from the indirect list.
3987
0a803169
PA
39882015-04-23 Pedro Alves <palves@redhat.com>
3989
3990 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3991
749ef8f8
PA
39922015-04-23 Pedro Alves <palves@redhat.com>
3993
3994 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3995 on $any_spawn_id instead of only on $gdb_spawn_id.
3996
8aae4344
PM
39972015-04-21 Pierre Muller <muller@sourceware.org>
3998
3999 PR pascal/17815
4000 * lib/pascal.exp (gpc_compile): Add new option "class".
4001 (fpc_compile): Likewise.
4002 * gdb.pascal/case-insensitive-symbols.pas: New file.
4003 * gdb.pascal/case-insensitive-symbols.exp: New file.
4004
1586c8fb
GB
40052015-04-20 Gary Benson <gbenson@redhat.com>
4006
4007 * gdb.base/attach.exp: Fix three extended remote failures.
4008
1b6e6f5c
GB
40092015-04-17 Gary Benson <gbenson@redhat.com>
4010
4011 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4012 the main executable over the remote protocol.
4013
e797481d
PA
40142015-04-16 Pedro Alves <palves@redhat.com>
4015
4016 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4017 a new gdbserver if gdbserver_reconnect_p is set.
4018
1ca99c42
PA
40192015-04-16 Pedro Alves <palves@redhat.com>
4020
4021 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4022 is set, don't exit gdbserver.
4023
af9fd6f8
AA
40242015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4025
4026 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4027 appropriate .insn, such that an older assembler can be used.
4028 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4029 the z/Architecture instruction set on 31-bit targets as well.
4030
04ff1e61
AA
40312015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4032
4033 * gdb.go/handcall.exp: Remove all logic related to the first
4034 breakpoint and rely on go_runto_main instead.
4035 * gdb.go/strings.exp: Likewise.
4036 * gdb.go/unsafe.exp: Likewise.
4037 * gdb.go/hello.exp: Likewise. Also rename the remaining
4038 breakpoint marker to "breakpoint 1".
4039 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4040 * gdb.go/strings.go: Likewise.
4041 * gdb.go/unsafe.go: Likewise.
4042 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4043 "set breakpoint 2 here" and rename the remaining breakpoint marker
4044 to "breakpoint 1".
4045
40d2f8d6
SM
40462015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4047
4048 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4049 if itertools.imap is not present.
4050 * gdb.python/py-objfile.exp: Add parentheses.
4051 * gdb.python/py-type.exp: Same.
4052 * gdb.python/py-unwind-maint.py: Same.
4053
8cbc97c6
YQ
40542015-04-15 Yao Qi <yao.qi@linaro.org>
4055
4056 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4057 of ":$ptr_size" and set its form explicitly.
4058
45fd756c
YQ
40592015-04-15 Pedro Alves <palves@redhat.com>
4060 Yao Qi <yao.qi@linaro.org>
4061
4062 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4063 timeout by factor of 4.
4064 (test_regular_watch): Likewise.
4065 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4066 * gdb.reverse/sigall-reverse.exp: Likewise.
4067 * gdb.reverse/until-precsave.exp: Likewise.
4068 * lib/gdb.exp (with_timeout_factor): New proc.
4069 (gdb_expect): Move some code to ...
4070 (get_largest_timeout): ... here. New procedure.
4071
9e811bc3
LM
40722015-04-14 Luis Machado <lgustavo@codesourcery.com>
4073
4074 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4075
0ff6fcb2
LM
40762015-04-13 Luis Machado <lgustavo@codesourcery.com>
4077
4078 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4079 to write to the .text section.
4080
7578d5f7
LM
40812015-04-13 Luis Machado <lgustavo@codesourcery.com>
4082
4083 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4084 Handle the case of targets that do not provide PID information.
4085
2efe15c4
YQ
40862015-04-13 Yao Qi <yao.qi@linaro.org>
4087
4088 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4089 and use expect instead of gdb_expect.
4090
8cd8f2f8
SDJ
40912015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4092
4093 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4094 "coredump_var_addr" to avoid naming conflict with other testcases.
4095
9ee41772
PA
40962015-04-10 Pedro Alves <palves@redhat.com>
4097
4098 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4099 gdb_test_sequence and gdb_assert.
4100
07473109
PA
41012015-04-10 Pedro Alves <palves@redhat.com>
4102
4103 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4104 test messages that don't include the breakpoint address.
4105
de3db44c
YQ
41062015-04-10 Yao Qi <yao.qi@linaro.org>
4107
4108 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4109 false for some offset and width combinations which aren't
4110 supported by linux kernel.
4111
c79d856c
PA
41122015-04-10 Pedro Alves <palves@redhat.com>
4113
4114 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4115 procedure, factored out from ...
4116 (top level): ... here. Add "set displaced-stepping" testing axis.
4117 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4118 parameter "displaced". Use it.
4119 (top level): Use foreach and add "set displaced-stepping" testing
4120 axis.
4121
ebc90b50
PA
41222015-04-10 Pedro Alves <palves@redhat.com>
4123
4124 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4125 Remove comment.
4126 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4127 both the address of the instruction that triggers the watchpoint
4128 and the address of the instruction immediately after, and use
4129 those addresses for the test. Fix comment.
4130
8f572e5c
PA
41312015-04-10 Pedro Alves <palves@redhat.com>
4132
4133 * gdb.base/sigstep.exp (breakpoint_to_handler)
4134 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4135 Test "backtrace" in handler.
4136 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4137 (top level): Add new "displaced" test axis to
4138 breakpoint_to_handler, breakpoint_to_handler_entry and
4139 breakpoint_over_handler.
4140
8d707a12
PA
41412015-04-10 Pedro Alves <palves@redhat.com>
4142
4143 PR gdb/18216
4144 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4145
ef713951
YQ
41462015-04-10 Yao Qi <yao.qi@linaro.org>
4147
4148 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4149 (test_add_rn_pc): New function.
4150 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4151 (top level): Invoke test_add_rn_pc.
4152
906d60cf
PA
41532015-04-10 Pedro Alves <palves@redhat.com>
4154
4155 PR gdb/13858
4156 * gdb.base/step-over-no-symbols.exp: New file.
4157
f2983cc3
AW
41582015-04-09 Andy Wingo <wingo@igalia.com>
4159
4160 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4161 after the Python tests.
4162
6d62641c
SDJ
41632015-04-08 Keith Seitz <keiths@redhat.com>
4164
4165 PR python/16699
4166 * gdb.python/py-completion.exp: New tests for completion.
4167 * gdb.python/py-completion.py (CompleteLimit1): New class.
4168 (CompleteLimit2): Likewise.
4169 (CompleteLimit3): Likewise.
4170 (CompleteLimit4): Likewise.
4171 (CompleteLimit5): Likewise.
4172 (CompleteLimit6): Likewise.
4173 (CompleteLimit7): Likewise.
4174
f3770638
PA
41752015-04-08 Pedro Alves <palves@redhat.com>
4176
4177 PR gdb/18214
4178 PR gdb/18216
4179 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4180 function.
4181 (main): Install it as SIGUSR1 handler.
4182 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4183 parameter. Always use "setup" as prefix. Toggle "set
4184 displaced-stepping" off/on depending on global. Don't switch to
4185 thread 1 here.
4186 (top level): Add displaced stepping "off/on" test axis. Update
4187 "setup" calls. Wrap each subtest with with_test_prefix. Test
4188 continuing with a queued signal in each thread.
4189
4496bed7
PA
41902015-04-08 Pedro Alves <palves@redhat.com>
4191
4192 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4193 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4194 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4195 Return early if running to main fails.
4196 * gdb.trace/while-stepping.exp: Likewise.
4197
b97fde92
PA
41982015-04-07 Pedro Alves <palves@redhat.com>
4199
4200 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4201 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4202 interact with inferior program.
4203
f71c18e7
PA
42042015-04-07 Pedro Alves <palves@redhat.com>
4205
4206 * lib/gdb.exp (inferior_spawn_id): New global.
4207 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4208 spawn id after processing the user code.
4209 (default_gdb_start): Set inferior_spawn_id.
4210 (send_inferior): New procedure.
4211 * lib/gdbserver-support.exp (gdbserver_start): Set
4212 inferior_spawn_id.
4213 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4214
6423214f
PA
42152015-04-07 Pedro Alves <palves@redhat.com>
4216
4217 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4218 * lib/gdbserver-support.exp (gdbserver_start): Make
4219 $server_spawn_id global.
4220 (gdbserver_start): Don't wait for gdbserver's spawn id with
4221 expect_background.
4222 (close_gdbserver): New procedure.
4223 (gdb_exit): Rename the default version and reimplement.
4224
71c0ee8c
PA
42252015-04-07 Pedro Alves <palves@redhat.com>
4226
72f4393d 4227 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
4228 append the substituted item, not the original item.
4229
203bc29b
PA
42302015-04-07 Pedro Alves <palves@redhat.com>
4231
4232 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4233 gdb_expect.
4234
508a3ddf
PA
42352015-04-07 Pedro Alves <palves@redhat.com>
4236
4237 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4238 output appearing once only.
4239
9f6dbe2b
PA
42402015-04-07 Pedro Alves <palves@redhat.com>
4241
4242 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4243 that doesn't expect anything. Return early if running to main
4244 fails.
4245
337532fa
YQ
42462015-04-07 Yao Qi <yao.qi@linaro.org>
4247
4248 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4249 (child_function): Call alarm.
4250 (main): Move call to alarm into the loop.
4251 * gdb.threads/non-stop-fair-events.exp: Build program with
4252 -DTIMEOUT=$timeout.
4253
01b622d4
DE
42542015-04-06 Doug Evans <xdje42@gmail.com>
4255
4256 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4257 Fix dest parameter to board_info.
4258 (fpc_compile): Ditto.
4259 (gdb_compile_pascal): Rename dest arg to destfile.
4260
961f4160
PMR
42612015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4262
4263 * gdb.ada/funcall_ref.exp: New file.
4264 * gdb.ada/funcall_ref/foo.adb: New file.
4265
cafda597
YQ
42662015-04-02 Yao Qi <yao.qi@linaro.org>
4267
4268 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4269 is remote.
4270
fed040c6
GB
42712015-04-02 Gary Benson <gbenson@redhat.com>
4272
4273 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4274
d11916aa
SS
42752015-04-01 Sasha Smundak <asmundak@google.com>
4276
4277 * gdb.python/py-unwind-maint.c: New file.
4278 * gdb.python/py-unwind-maint.exp: New test.
4279 * gdb.python/py-unwind-maint.py: New file.
4280 * gdb.python/py-unwind.c: New file.
4281 * gdb.python/py-unwind.exp: New test.
4282 * gdb.python/py-unwind.py: New test.
4283
a1471180
PA
42842015-04-01 Pedro Alves <palves@redhat.com>
4285
4286 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4287 to fail instead of non-existent $test.
4288
0bbeccb1
PA
42892015-04-01 Pedro Alves <palves@redhat.com>
4290
4291 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4292 GDBFLAGS if not empty.
4293
3c724c8c
PMR
42942015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4295
4296 * gdb.ada/complete.exp: Remove "multi_line".
4297 * gdb.ada/info_exc.exp: Remove "multi_line".
4298 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4299 * gdb.ada/ptype_field.exp: Remove "multi_line".
4300 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4301 * gdb.ada/tagged.exp: Remove "multi_line".
4302 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4303 [multi_line ...]
4304 * gdb.btrace/delta.exp: Likewise.
4305 * gdb.btrace/exception.exp: Likewise.
4306 * gdb.btrace/function_call_history.exp: Likewise.
4307 * gdb.btrace/instruction_history.exp: Likewise.
4308 * gdb.btrace/nohist.exp: Likewise.
4309 * gdb.btrace/record_goto.exp: Likewise.
4310 * gdb.btrace/segv.exp: Likewise.
4311 * gdb.btrace/stepi.exp: Likewise.
4312 * gdb.btrace/tailcall.exp: Likewise.
4313 * gdb.btrace/unknown_functions.exp: Likewise.
4314 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4315 * lib/gdb.exp: Add the "multi_line" helper.
4316
4eec2deb
PA
43172015-04-01 Pedro Alves <palves@redhat.com>
4318
4319 * gdb.threads/tid-reuse.c: New file.
4320 * gdb.threads/tid-reuse.exp: New file.
4321
df8411da
SDJ
43222015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4323
4324 PR corefiles/16092
4325 * gdb.base/coredump-filter.c: New file.
4326 * gdb.base/coredump-filter.exp: Likewise.
4327
6ef37366
PM
43282015-03-27 Petr Machata <pmachata@redhat.com>
4329
4330 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4331 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4332 (Dwarf::assemble): Initialize them.
4333 (Dwarf::lines): New function.
4334
7ec911b0
JT
43352015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4336
4337 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4338 SYMBOL_PREFIX for x86_64-*-cygwin.
4339
ff908ebf
AW
43402015-03-26 Andy Wingo <wingo@igalia.com>
4341
4342 PR symtab/18148
4343 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4344 const_value but not a location.
4345 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4346 location defined in non-main CUs are visible.
4347
6d5f0679
YQ
43482015-03-26 Yao Qi <yao.qi@linaro.org>
4349
4350 PR testsuite/18139
4351 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4352 Add a line number entry for the same line.
4353 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4354 Add a line number entry for the same line.
4355
2898689b
YQ
43562015-03-26 Yao Qi <yao.qi@linaro.org>
4357
4358 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4359 .int 0.
4360 (func): Likewise. Add .Lfunc_1 label.
4361 Use .Lfunc_1 label.
4362 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4363 .int 0.
4364 (func): Likewise.
4365 Use .Lfunc_1 label.
4366
85180498
YQ
43672015-03-26 Yao Qi <yao.qi@linaro.org>
4368
4369 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4370 Call gdb_compile instead to compile each .s files without debug
4371 information.
4372
8aa08a8d
YQ
43732015-03-26 Yao Qi <yao.qi@linaro.org>
4374
4375 * gdb.base/savedregs.exp (process_saved_regs): Make
4376 "Saved registers:" optional in the pattern.
4377
66849923
MM
43782015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4379
4380 * gdb.btrace/next.exp: Merged into step.exp.
4381 * gdb.btrace/finish.exp: Merged into step.exp.
4382 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4383 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4384 "record goto" and checking the exact replay position.
4385 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4386 check for "Recording format" in "info record" output.
4387 * gdb.btrace/record_goto.exp: Choose test file based on target.
4388 * gdb.btrace/x86-record_goto.S: Renamed into ...
4389 * gdb.btrace/x86_64-record_goto.S: ... this.
4390 * gdb.btrace/i686-record_goto.S: New.
4391 * gdb.btrace/x86-tailcall.S: Renamed into ...
4392 * gdb.btrace/x86_64-tailcall.S: ... this.
4393 * gdb.btrace/i686-tailcall.S: New.
4394 * gdb.btrace/x86-tailcall.c: Renamed into ...
4395 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4396 separate statements. Update test.
4397 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4398 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4399 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4400 * gdb.btrace/tailcall.exp: Choose test file based on target.
4401 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4402
11cc1b74
MM
44032015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4404
4405 * gdb.btrace/exception.exp: Increase BTS buffer size.
4406
a25d8bf9
PA
44072015-03-24 Pedro Alves <palves@redhat.com>
4408
4409 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4410
856e7dd6
PA
44112015-03-24 Pedro Alves <palves@redhat.com>
4412
4413 * gdb.threads/schedlock.exp (test_step): No longer expect that
4414 "set scheduler-locking step" with "next" over a function call runs
4415 threads unlocked.
4416
ad235a41
AT
44172015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4418
4419 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4420
15630549
AT
44212015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4422
4423 PR breakpoints/16466
4424 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4425 * gdb.mi/mi-pending.c (thread_func): New function.
4426 (int main): Add threading support required.
4427 * gdb.mi/mi-pending.exp: Add tests for this issue.
4428 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4429 (pendfunc2): Remove stdio dependency.
4430 * gdb.mi/mi-pendshr2.c: New file.
4431
693dca06
KS
44322015-03-23 Keith Seitz <keiths@redhat.com>
4433
4434 * gdb.linespec/keywords.c: New file.
4435 * gdb.linespec/keywords.exp: New file.
4436
7e993ebf
KS
44372015-03-23 Keith Seitz <keiths@redhat.com>
4438
4439 PR gdb/18021
4440 * gdb.dwarf2/staticvirtual.exp: New test.
4441
bc23328c
JK
44422015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4443
4444 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4445 * README: Remove HP-UX and gdb.hp.
4446 (configuration):
4447 * configure: Regenerate.
4448 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4449 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4450 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4451 gdb.hp/gdb.defects/Makefile.
4452 * gdb.hp/Makefile.in: File deleted.
4453 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4454 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4455 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4456 * gdb.hp/gdb.aCC/run.c: File deleted.
4457 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4458 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4459 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4460 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4461 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4462 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4463 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4464 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4465 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4466 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4467 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4468 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4469 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4470 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4471 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4472 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4473 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4474 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4475 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4476 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4477 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4478 * gdb.hp/gdb.compat/average.c: File deleted.
4479 * gdb.hp/gdb.compat/sum.c: File deleted.
4480 * gdb.hp/gdb.compat/xdb.c: File deleted.
4481 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4482 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4483 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4484 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4485 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4486 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4487 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4488 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4489 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4490 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4491 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4492 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4493 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4494 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4495 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4496 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4497 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4498 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4499 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4500 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4501 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4502 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4503 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4504 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4505 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4506 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4507 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4508 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4509 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4510 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4511 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4512 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4513 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4514 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4515 * gdb.hp/tools/odump: File deleted.
4516
8bf3b159
PA
45172015-03-19 Pedro Alves <palves@redhat.com>
4518
4519 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4520 (saw_thread_3): New globals.
4521 (top level): Increment them when an event for the corresponding
4522 thread is seen.
4523 (no thread starvation): New test.
4524
eb54c8bf
PA
45252015-03-19 Pedro Alves <palves@redhat.com>
4526
4527 * gdb.threads/continue-pending-status.c: New file.
4528 * gdb.threads/continue-pending-status.exp: New file.
4529
32d2e5d6
PA
45302015-03-18 Pedro Alves <palves@redhat.com>
4531
4532 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4533 Use gdb_is_target_remote instead of is_remote. Use
4534 gdb_test_multiple instead of gdb_expect. Exit early if
4535 gdb_test_multiple hits its internal matches. Tighten stepi tests
4536 expected output. Fail on exit with any signal, instead of just
4537 SIGILL.
4538
f68f11b7
YQ
45392015-03-18 Yao Qi <yao.qi@linaro.org>
4540
4541 PR tdep/18107
4542 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4543 variable.
4544 * gdb.base/catch-syscall.exp: Don't skip it on
4545 aarch64*-*-linux* target. Remove elements in all_syscalls.
4546 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4547 target.
4548 (setup_all_syscalls): New proc.
4549
ca5fd19b
YQ
45502015-03-16 Yao Qi <yao.qi@linaro.org>
4551
4552 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4553 (top level): Skip tests if valid_addr_p returns false for
4554 $cmd1 or $cmd2.
4555
85642ba0
AW
45562015-03-11 Andy Wingo <wingo@igalia.com>
4557
4558 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4559
e03f9645
YQ
45602015-03-11 Yao Qi <yao.qi@linaro.org>
4561
4562 * gdb.base/catch-syscall.exp: Fix typo in comments.
4563
5d0962b2
YQ
45642015-03-11 Yao Qi <yao.qi@linaro.org>
4565
4566 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4567
b2df3cef
PA
45682015-03-09 Pedro Alves <palves@redhat.com>
4569
4570 * dg-extract-results.py: Delete.
4571
ef878e53
PA
45722015-03-09 Pedro Alves <palves@redhat.com>
4573
4574 Merge dg-extract-results.sh from GCC upstream (r218843).
4575
4576 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4577 * dg-extract-results.sh: Use --text with grep to avoid issues with
4578 binary files. Fall back to cat -v, if that doesn't work.
4579
9494d219
PA
45802015-03-05 Pedro Alves <palves@redhat.com>
4581
4582 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4583
a8d9763a
SM
45842015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4585
4586 * lib/mi-support.exp (mi_expect_interrupt): Accept
4587 alternative event for when in all-stop mode.
4588
be9957b8
PA
45892015-03-04 Pedro Alves <palves@redhat.com>
4590
4591 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4592
d57be0f4 45932015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
4594
4595 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4596
c214c7cf
AA
45972015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4598
4599 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4600 regexps for GDB's current line display, accept a hex address
4601 preceding the line number.
4602
6d74a497
AA
46032015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4604
4605 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4606 the 'arch1' variable for "s390*-linux*" targets.
4607
511aee7c
PA
46082015-03-04 Pedro Alves <palves@redhat.com>
4609
4610 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4611 (main): Pass missing retval argument to pthread_join call.
4612
95e50b27
PA
46132015-03-02 Pedro Alves <palves@redhat.com>
4614
4615 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4616 (top level): Call do_test with non-stop as well.
4617
28054d69
PA
46182015-03-02 Pedro Alves <palves@redhat.com>
4619
4620 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4621 -1.
4622
4fa5d7b4
AA
46232015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4624
4625 * gdb.arch/s390-vregs.exp: New test.
4626 * gdb.arch/s390-vregs.S: New file.
4627
97c18565
PA
46282015-02-27 Pedro Alves <palves@redhat.com>
4629
4630 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4631 call to catch_command_errors.
4632 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4633 catch_command_errors.
4634
a37bfa30
PA
46352015-02-27 Pedro Alves <palves@redhat.com>
4636
4637 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4638 "true" for boolean result.
4639 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4640 prototype of main.
4641
6f98576f
PA
46422015-02-27 Pedro Alves <palves@redhat.com>
4643
4644 * lib/unbuffer_output.c: New file.
4645 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4646 (main): Call gdb_unbuffer_output.
4647
eba5ab56
YQ
46482015-02-27 Yao Qi <yao.qi@linaro.org>
4649
4650 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4651 target.
4652
0def5aaa
DE
46532015-02-26 Doug Evans <dje@google.com>
4654
4655 * gdb.cp/class2.cc (Dbase, D): New classes.
4656 (main): New local delta.
4657 * gdb.cp/class2.exp: Test printing delta.
4658 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4659 (dynbar): New global.
4660 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4661
081a1c2c
JK
46622015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4663
4664 * gdb.compile/compile-ifunc.c: New file.
4665 * gdb.compile/compile-ifunc.exp: New file.
4666
2f41223f
AT
46672015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4668
4669 * gdb.base/structs.exp: Check for correct struct on finish.
4670
03eddd80
YQ
46712015-02-26 Yao Qi <yao.qi@linaro.org>
4672
4673 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4674 is zero.
4675
80c57053
JK
46762015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4677
4678 * gdb.arch/cordic.ko.bz2: New file.
4679 * gdb.arch/cordic.ko.debug.bz2: New file.
4680 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4681
21613c12
YQ
46822015-02-25 Yao Qi <yao.qi@linaro.org>
4683
4684 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4685 aarch64*-*-* target.
4686
d8b901ed
PA
46872015-02-23 Pedro Alves <palves@redhat.com>
4688
4689 * lib/gdb.exp (delete_breakpoints): Rewrite using
4690 gdb_test_multiple.
4691
e5b85ead
PA
46922015-02-23 Pedro Alves <palves@redhat.com>
4693
4694 * gdb.base/info-os.c: Include stdlib.h.
4695
85c3a371
DE
46962015-02-22 Doug Evans <xdje42@gmail.com>
4697
4698 PR symtab/17855
4699 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4700 is read after symbols have been re-read.
4701 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4702 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4703
96553a0c
DE
47042015-02-21 Doug Evans <dje@google.com>
4705
4706 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4707
97a0c697
JK
47082015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4709
4710 PR corefiles/17808
4711 * gdb.arch/i386-biarch-core.core.bz2: New file.
4712 * gdb.arch/i386-biarch-core.exp: New file.
4713
a47cd6e9
PA
47142015-02-21 Pedro Alves <palves@redhat.com>
4715
4716 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4717 runto_main fails.
4718
c5facdc4
PA
47192015-02-20 Pedro Alves <palves@redhat.com>
4720
4721 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4722 info probes.
4723
2db9a427
PA
47242015-02-20 Pedro Alves <palves@redhat.com>
4725
4726 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4727
60fb7e9e
PA
47282015-02-20 Pedro Alves <palves@redhat.com>
4729
4730 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4731 clean_restart before gdb_target_supports_trace.
4732
5c5019c2
PA
47332015-02-20 Pedro Alves <palves@redhat.com>
4734
4735 PR threads/18006
4736 * gdb.threads/clone-thread_db.c: New file.
4737 * gdb.threads/clone-thread_db.exp: New file.
4738
c9587f88
AT
47392015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4740
4741 PR breakpoints/16812
4742 * gdb.base/catch-gdb-caused-signals.c: New file.
4743 * gdb.base/catch-gdb-caused-signals.exp: New file.
4744
f6a88844
JM
47452015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4746
4747 * configure: Regenerated.
4748 * configure.ac: Use GDB_AC_TRANSFORM.
4749 * aclocal.m4: sinclude ../transform.m4.
4750
497c491b
JM
47512015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4752
4753 * lib/dtrace.exp: New file.
4754 * gdb.base/dtrace-probe.exp: Likewise.
4755 * gdb.base/dtrace-probe.d: Likewise.
4756 * gdb.base/dtrace-probe.c: Likewise.
4757 * lib/pdtrace.in: Likewise.
4758 * configure.ac: Output variables with the transformed names of
4759 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4760 * configure: Regenerated.
4761
03e98035
JM
47622015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4763
4764 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4765 expected message when trying to access $_probe_* convenience
4766 variables while not on a probe.
4767
63cc30e9
JK
47682015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4769
4770 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4771
0703599a
PA
47722015-02-11 Pedro Alves <pedro@codesourcery.com>
4773
4774 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4775 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4776
7e60a48e
DE
47772015-02-10 Doug Evans <xdje42@gmail.com>
4778
4779 * lib/gdb.exp (gdb_load): Always return a result.
4780
01b088bc
PA
47812015-02-10 Pedro Alves <palves@redhat.com>
4782
4783 * gdb.threads/signal-sigtrap.c: New file.
4784 * gdb.threads/signal-sigtrap.exp: New file.
4785
b05ec7a5
AT
47862015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4787
4788 * gdb.trace/no-attach-trace.c: New file.
4789 * gdb.trace/no-attach-trace.exp: New file.
4790
a2c2acaf
MW
47912015-02-09 Mark Wielaard <mjw@redhat.com>
4792
4793 * gdb.dwarf2/atomic.c: New file.
4794 * gdb.dwarf2/atomic-type.exp: Likewise.
4795
31fd9caa
MM
47962015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4797
4798 * gdb.btrace/buffer-size.exp: Update "info record" output.
4799 * gdb.btrace/delta.exp: Update "info record" output.
4800 * gdb.btrace/enable.exp: Update "info record" output.
4801 * gdb.btrace/finish.exp: Update "info record" output.
4802 * gdb.btrace/instruction_history.exp: Update "info record" output.
4803 * gdb.btrace/next.exp: Update "info record" output.
4804 * gdb.btrace/nexti.exp: Update "info record" output.
4805 * gdb.btrace/step.exp: Update "info record" output.
4806 * gdb.btrace/stepi.exp: Update "info record" output.
4807 * gdb.btrace/nohist.exp: Update "info record" output.
4808
d33501a5
MM
48092015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4810
4811 * gdb.btrace/buffer-size: New.
4812
f4abbc16
MM
48132015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4814
4815 * gdb.btrace/delta.exp: Update "info record" output.
4816 * gdb.btrace/enable.exp: Update "info record" output.
4817 * gdb.btrace/finish.exp: Update "info record" output.
4818 * gdb.btrace/instruction_history.exp: Update "info record" output.
4819 * gdb.btrace/next.exp: Update "info record" output.
4820 * gdb.btrace/nexti.exp: Update "info record" output.
4821 * gdb.btrace/step.exp: Update "info record" output.
4822 * gdb.btrace/stepi.exp: Update "info record" output.
4823 * gdb.btrace/nohist.exp: Update "info record" output.
4824
b9d61307
SM
48252015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4826
4827 PR gdb/15678
4828 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4829
e584fdbc
PA
48302015-02-06 Pedro Alves <palves@redhat.com>
4831
4832 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4833 macro.
4834 (seconds_left, again): New globals.
4835 (main): Wait seconds_left in a 1-second sleep loop instead of
4836 sleeping 180 seconds. If 'again' is set, reset the seconds
4837 counter.
4838 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4839 'again' in the inferior before detaching. Print the seconds left.
4840 (options): New global.
4841 (top level): Build program with -DTIMEOUT=$timeout.
4842
77f41761
PA
48432015-02-06 Pedro Alves <palves@redhat.com>
4844
4845 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4846 determine how many seconds to pass to 'alarm'.
4847 * gdb.base/gdb-sigterm.exp (top level): Build program with
4848 -DTIMEOUT=$timeout.
4849 (do_test): Return success/failure indication. Add more verbose
4850 logging. Don't fail if 200 single steps are seen. Instead, fail
4851 when the test times out.
4852 (passes): New global.
4853 (top level): Break the testing loop if testing fails on any
4854 iteration. Use gdb_assert.
4855
b9394193
DB
48562015-02-04 Don Breazeal <donb@codesourcery.com>
4857
4858 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4859 and initialize them.
4860 (ipc_cleanup): New function.
4861 (main): Don't declare shmid, semid, and msqid. Add a call to
4862 atexit so that we call ipc_cleanup on exit.
4863
42d9e528
PA
48642015-02-04 Pedro Alves <palves@redhat.com>
4865
4866 * boards/native-extended-gdbserver.exp: Remove any target variant
4867 specifications from the board name before clearing the isremote
4868 flag from board_info.
4869
ae6ae975
DE
48702015-01-31 Doug Evans <xdje42@gmail.com>
4871
4872 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4873
cfb069a8
GB
48742015-01-31 Gary Benson <gbenson@redhat.com>
4875
4876 * gdb.base/completion.exp: Disable completion limiting for
4877 existing tests. Add new tests to check completion limiting.
4878 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4879
5dd31d79
DE
48802015-01-31 Doug Evans <xdje42@gmail.com>
4881
4882 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4883
9f050062
DE
48842015-01-31 Doug Evans <xdje42@gmail.com>
4885
4886 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4887 entries. Duplicate file section script entries.
4888 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4889 inlined entries. Add test for safe-path rejection.
4890 * gdb.python/py-section-script.c: Add duplicate inlined section script
4891 entries. Duplicate file section script entries.
4892 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4893 inlined entries. Add test for safe-path rejection.
4894
df25ebbd
JB
48952015-01-29 Joel Brobecker <brobecker@adacore.com>
4896
4897 * gdb.ada/disc_arr_bound: New testcase.
4898
4a0ca9ec
JB
48992015-01-29 Joel Brobecker <brobecker@adacore.com>
4900
4901 * gdb.ada/mi_var_array: New testcase.
4902
3a8b707a
DE
49032015-01-27 Doug Evans <dje@google.com>
4904
4905 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4906 Add test for objfile.filename, objfile.username after objfile
4907 has been unloaded.
4908
f8313f6e
JB
49092015-01-26 Joel Brobecker <brobecker@adacore.com>
4910
4911 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4912 the second test to print the name attribute of value
4913 returned by the call to gdb.lookup_type, and adjust
4914 the expected output accordingly.
4915
37bc665e
MW
49162015-01-25 Mark Wielaard <mjw@redhat.com>
4917
4918 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4919 * gdb.base/disp-step-fork.c: Include unistd.h.
4920 * gdb.base/siginfo-obj.c: Include stdio.h.
4921 * gdb.base/siginfo-thread.c: Likewise.
4922 * gdb.mi/non-stop.c: Include unistd.h.
4923 * gdb.mi/nsthrexec.c: Include stdio.h.
4924 * gdb.mi/pthreads.c: Include unistd.h.
4925 * gdb.modula2/unbounded1.c (main): Declare returns int.
4926 * gdb.reverse/consecutive-reverse.c: Likewise.
4927 * gdb.threads/create-fail.c: Include unistd.h.
4928 * gdb.threads/killed.c: Likewise.
4929 * gdb.threads/linux-dp.c: Likewise.
4930 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4931 * gdb.threads/non-ldr-exc-2.c: Likewise.
4932 * gdb.threads/non-ldr-exc-3.c: Likewise.
4933 * gdb.threads/non-ldr-exc-4.c: Likewise.
4934 * gdb.threads/pthreads.c: Include unistd.h.
4935 (main): Declare returns int.
4936 * gdb.threads/tls-main.c (foo): New declaration.
4937 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4938
f7e5394d
SM
49392015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4940
4941 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4942 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4943
743649fd
MW
49442015-01-15 Mark Wielaard <mjw@redhat.com>
4945
4946 * gdb.base/noreturn-return.c: New file.
4947 * gdb.base/noreturn-return.exp: New file.
4948 * gdb.base/noreturn-finish.c: New file.
4949 * gdb.base/noreturn-finish.exp: New file.
4950
198297aa
PA
49512015-01-23 Pedro Alves <palves@redhat.com>
4952
4953 * gdb.threads/continue-pending-after-query.c: New file.
4954 * gdb.threads/continue-pending-after-query.exp: New file.
4955
717cf30c
AG
49562015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4957 Simon Marchi <simon.marchi@ericsson.com>
4958
4959 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4960 * gdb.base/valgrind-db-attach.exp: Same.
4961 * gdb.base/valgrind-infcall.exp: Same.
4962 * lib/mi-support.exp (default_mi_gdb_start): Same.
4963 * lib/prompt.exp (default_prompt_gdb_start): Same.
4964 * lib/gdb.exp (default_gdb_spawn): Same.
4965 (gdb_interact): New.
4966
4967
4b62a76e
JK
49682015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4969
4970 * gdb.compile/compile.exp (pointer to jit function): New test.
4971
b4cdae6f
WW
49722015-01-17 Wei-cheng Wang <cole945@gmail.com>
4973
4974 * lib/gdb.exp (supports_process_record): Return true for
4975 powerpc*-*-linux*.
4976 (supports_reverse): Likewise.
4977
d221e7ef
DB
49782015-01-15 Don Breazeal <donb@codesourcery.com>
4979
4980 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4981 instead of checking whether the target board is remote and
4982 use spawn_wait_for_attach instead of exec/sleep.
4983 * gdb.base/attach-twice.exp: Likewise.
4984
bafffb51
JB
49852015-01-15 Joel Brobecker <brobecker@adacore.com>
4986
4987 * gdb.ada/var_arr_attrs: New testcase.
4988
5589af0e
PA
49892015-01-14 Pedro Alves <palves@redhat.com>
4990 Joel Brobecker <brobecker@adacore.com>
4991
4992 PR gdb/17525
4993 * gdb.base/bp-cmds-execution-x-script.c: New file.
4994 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4995 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4996
6c400b59
PA
49972015-01-14 Pedro Alves <palves@redhat.com>
4998
4999 PR cli/17828
5000 * gdb.base/batch-preserve-term-settings.c: New file.
5001 * gdb.base/batch-preserve-term-settings.exp: New file.
5002
e02c96a7
DE
50032015-01-13 Doug Evans <dje@google.com>
5004
5005 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5006 binary.
5007
576fd14c
JB
50082015-01-13 Joel Brobecker <brobecker@adacore.com>
5009
5010 * Makefile.in (clean mostlyclean): Do not delete *.py.
5011
04dccad0
JB
50122015-01-13 Joel Brobecker <brobecker@adacore.com>
5013
5014 * gdb.python/py-lookup-type.exp: New file.
5015
3d230f71
PA
50162015-01-12 Pedro Alves <palves@redhat.com>
5017
5018 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5019 restore GDBFLAGS before returning.
5020
7e67715d
JK
50212015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5022
5023 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5024 is_amd64_regs_target and is_x86_like_target.
5025
f2e0d4b4
DE
50262015-01-11 Doug Evans <xdje42@gmail.com>
5027
5028 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5029 is given without an explicit form.
5030 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5031 attributes.
5032 * gdb.dwarf/corrupt.exp: Ditto.
5033 * gdb.dwarf2/enum-type.exp: Ditto.
5034 * gdb.trace/entry-values.exp: Ditto.
5035 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5036
439250fb
DE
50372015-01-11 Doug Evans <xdje42@gmail.com>
5038
5039 PR gdb/15830
5040 * gdb.base/maint.exp: Remove references to "maint demangle".
5041 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5042 Add tests for explicitly specifying language to demangle.
5043 * gdb.dlang/demangle.exp: Ditto.
5044
ede9f622
PA
50452015-01-09 Pedro Alves <palves@redhat.com>
5046
5047 * gdb.threads/non-stop-fair-events.c: New file.
5048 * gdb.threads/non-stop-fair-events.exp: New file.
5049
a7b796db
PA
50502015-01-09 Pedro Alves <palves@redhat.com>
5051
5052 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5053 the global scope. Set a breakpoint after all threads are started
5054 rather than stepping over two source lines. Expect the prompt.
5055 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5056 global.
5057 (NUM): Now 15.
5058 (main): Use threads_started_barrier to wait for all threads to
5059 start. Main thread no longer calls thread_function. Exit after
5060 180 seconds.
5061 (loop): New function.
5062 (thread_function): Wait on threads_started_barrier barrier. Call
5063 'loop' at each iteration.
5064 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5065 threads have started, instead of hardcoding number of "next"
5066 steps. Use an access watchpoint instead of a write watchpoint.
5067
9665ffdd
PA
50682015-01-09 Pedro Alves <palves@redhat.com>
5069
5070 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5071 (thread_func): Wait on barrier.
5072 (main): Wait for all threads to start before stopping GDB.
5073 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5074 global.
5075 (thread1_func, thread2_func): Wait on barrier.
5076 (main): Wait for all threads to start before stopping GDB.
5077 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5078 New global.
5079 (thread1_func, thread2_func): Wait on barrier.
5080 (main): Wait for all threads to start before stopping GDB.
5081
c945a99f
PA
50822015-01-09 Pedro Alves <palves@redhat.com>
5083
5084 * gdb.threads/attach-many-short-lived-threads.c: New file.
5085 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5086
c1a747c1
PA
50872014-01-09 Pedro Alves <palves@redhat.com>
5088
5089 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5090 instead of to thread 2.
5091 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5092 Add barrier around each pthread_create call instead of around all
5093 calls.
5094 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5095 Set a break on thread_function and have the child threads hit it
5096 one at at a time.
5097
60b3033e
PA
50982015-01-09 Pedro Alves <palves@redhat.com>
5099
5100 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5101 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5102 false.
5103 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5104 checking whether the target board is remote.
5105 * gdb.multi/multi-attach.exp: Likewise.
5106 * gdb.python/py-sync-interp.exp: Likewise.
5107 * gdb.server/ext-attach.exp: Likewise.
5108 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5109 tests that need to attach, instead of checking whether the target
5110 board is remote at the top of the file.
5111
acc018ac
YQ
51122015-01-08 Yao Qi <yao@codesourcery.com>
5113
5114 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5115
50a18af8
JK
51162015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5117
5118 Fix testcase compilation.
5119 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5120
8503d6e1
JB
51212015-01-06 Joel Brobecker <brobecker@adacore.com>
5122
5123 * gdb.python/py-type.exp: Add a couple test about empty
5124 array creation, and negative-length array creation.
5125
cc73dbcc
DE
51262015-01-02 Doug Evans <xdje42@gmail.com>
5127
5128 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5129
0300bbc7
DE
51302015-01-02 Doug Evans <dje@google.com>
5131
5132 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5133
9d85a0ec
YQ
51342014-12-29 Yao Qi <yao@codesourcery.com>
5135
5136 * gdb.trace/entry-values.exp: Update comments. Rename variable
5137 bar_call_foo to returned_from_foo.
5138
87186c6a
MMN
51392014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5140
5141 PR gdb/17394
5142 * gdb.linespec/break-asm-file.c: New file.
5143 * gdb.linespec/break-asm-file.exp: New file.
5144 * gdb.linespec/break-asm-file0.s: New file.
5145 * gdb.linespec/break-asm-file1.s: New file.
5146
1bab7383
YQ
51472014-12-18 Nigel Stephens <nigel@mips.com>
5148 Maciej W. Rozycki <macro@codesourcery.com>
5149
5150 * gdb.base/float.exp: Handle the new output from "info float" on
5151 MIPS targets.
5152
1bc1068a
JK
51532014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5154
5155 Fix MinGW compilation.
5156 * gdb.compile/compile-ops.exp: Update untested message if
5157 !skip_compile_feature_tests.
5158 * gdb.compile/compile-setjmp.exp: Likewise.
5159 * gdb.compile/compile-tls.exp: Likewise.
5160 * gdb.compile/compile.exp: Likewise.
5161 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5162 supported on this host".
5163
b6615d10
DE
51642014-12-16 Doug Evans <xdje42@gmail.com>
5165
5166 * boards/stabs.exp: New file.
5167
25dda427
AA
51682014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5169
5170 * gdb.base/completion.exp: Adjust to format changes of "maint
5171 print user-registers".
5172
bf330350
CU
51732014-12-16 Catalin Udma <catalin.udma@freescale.com>
5174
5175 PR server/17457
5176 * gdb.arch/aarch64-fp.c: New file.
5177 * gdb.arch/aarch64-fp.exp: New file.
5178
395cf596
SDJ
51792014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5180
5181 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5182 r210637, r210913, r211666, r215400, r215817).
5183
5184 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5185 * dg-extract-results.py: New file.
5186 * dg-extract-results.sh: Use it if the environment seems
5187 suitable.
5188
5189 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5190
5191 * dg-extract-results.py (parse_run): Handle warnings that
5192 are printed before a test harness is run.
5193
5194 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5195
5196 * dg-extract-results.py (Named): Remove __cmp__ method.
5197 (output_variation): Use a key to sort variation.harnesses.
5198
5199 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5200
5201 * dg-extract-results.py: For Python 3, force sys.stdout to
5202 handle surrogate escape sequences.
5203 (safe_open): New function.
5204 (output_segment, main): Use it.
5205
5206 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5207
5208 * dg-extract-results.py (Prog.result_re): Include options
5209 in test name.
5210
5211 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5212
5213 * dg-extract-results.py (output_variation): Always sort if
5214 do_sum.
5215
e882ef3c
SM
52162014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5217
5218 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5219 as long as we get pagination notifications.
5220
4992aa20
JM
52212014-12-15 Jason Merrill <jason@redhat.com>
5222
5223 * Makefile.in (check-gdb.%): Restore.
5224 * README: Mention it.
5225
c1b5a1a6
JB
52262014-12-13 Joel Brobecker <brobecker@adacore.com>
5227
5228 * gdb.ada/str_uninit: New testcase.
5229
5537b577
JK
52302014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5231
5232 PR symtab/17642
5233 * gdb.base/vla-stub-define.c: New file.
5234 * gdb.base/vla-stub.c: New file.
5235 * gdb.base/vla-stub.exp: New file.
5236
bb2ec1b3
TT
52372014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5238 Jan Kratochvil <jan.kratochvil@redhat.com>
5239 Tom Tromey <tromey@redhat.com>
5240
5241 * configure.ac: Add gdb.compile/.
5242 * configure: Regenerate.
5243 * gdb.compile/Makefile.in: New file.
5244 * gdb.compile/compile-ops.exp: New file.
5245 * gdb.compile/compile-ops.c: New file.
5246 * gdb.compile/compile-tls.c: New file.
5247 * gdb.compile/compile-tls.exp: New file.
5248 * gdb.compile/compile-constvar.S: New file.
5249 * gdb.compile/compile-constvar.c: New file.
5250 * gdb.compile/compile-mod.c: New file.
5251 * gdb.compile/compile-nodebug.c: New file.
5252 * gdb.compile/compile-setjmp-mod.c: New file.
5253 * gdb.compile/compile-setjmp.c: New file.
5254 * gdb.compile/compile-setjmp.exp: New file.
5255 * gdb.compile/compile-shlib.c: New file.
5256 * gdb.compile/compile.c: New file.
5257 * gdb.compile/compile.exp: New file.
5258 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5259
4ff709eb
TT
52602014-12-12 Tom Tromey <tromey@redhat.com>
5261
5262 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5263 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5264
6dddd6a5
DE
52652014-12-12 Doug Evans <dje@google.com>
5266
5267 * lib/gdb-python.exp (get_python_valueof): New function.
5268 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5269
71c24708
AA
52702014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5271
5272 * gdb.base/completion.exp: Add test for completion of "info
5273 registers ".
5274
3e29f34a
MR
52752014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5276
5277 * gdb.base/func-ptrs.c: New file.
5278 * gdb.base/func-ptrs.exp: New file.
5279
fc126975
SM
52802014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5281
5282 PR breakpoints/17012
5283 * gdb.base/dprintf-detach.c: New file.
5284 * gdb.base/dprintf-detach.exp: New file.
5285
0a46d518
SM
52862014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5287
5288 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5289 * lib/gdb.exp (target_is_gdbserver): New procedure.
5290
a0be3e44
DE
52912014-12-08 Doug Evans <dje@google.com>
5292
5293 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5294
df1b803a
YQ
52952014-12-05 Yao Qi <yao@codesourcery.com>
5296
5297 * gdb.guile/scm-error.exp: Remove the third argument to
5298 gdb_remote_download.
5299 * gdb.guile/scm-frame-args.exp: Likewise.
5300 * gdb.guile/scm-section-script.exp: Likewise.
5301
ddb9f679
YQ
53022014-12-05 Yao Qi <yao@codesourcery.com>
5303
5304 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5305
86e4ed39
DE
53062014-12-04 Doug Evans <dje@google.com>
5307
5308 * gdb.python/py-objfile.exp: Add tests for
5309 objfile.add_separate_debug_file.
5310
7c50a931
DE
53112014-12-04 Doug Evans <dje@google.com>
5312
5313 * lib/gdb.exp (get_build_id): New function.
5314 (build_id_debug_filename_get): Rewrite to use it.
5315 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5316
621661e3
MR
53172014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5318
5319 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5320 `method(long)', not just 0x0.
5321 * gdb.cp/nsalias.exp: Align code labels to 4.
5322 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5323 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5324 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5325 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5326 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5327 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5328
29f0c3b7
DE
53292014-12-02 Doug Evans <dje@google.com>
5330
e1e061e7 5331 PR symtab/17602
29f0c3b7 5332 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 5333 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
5334 * gdb.cp/anon-ns.exp: Update.
5335
162078c8
NB
53362014-12-02 Nick Bull <nicholaspbull@gmail.com>
5337
5338 * gdb.python/py-events.py (inferior_call_handler): New.
5339 (register_changed_handler, memory_changed_handler): New.
5340 (test_events.invoke): Register new handlers.
5341 * gdb.python/py-events.exp: Add tests for inferior call,
5342 memory_changed and register_changed events.
5343
fdb09caf
AA
53442014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5345
5346 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5347 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5348 if the linker doesn't understand this.
5349
55cfb2c4
SM
53502014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5351
5352 * gdb.python/python.exp: Change expected reply to help().
5353
9e8cd6df
YQ
53542014-12-01 Yao Qi <yao@codesourcery.com>
5355
5356 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5357 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5358 * configure: Re-generated.
5359
6c659fc2
SC
53602014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5361
5362 * gdb.cp/chained-calls.cc: New file.
5363 * gdb.cp/chained-calls.exp: New file.
5364 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5365
d7fc3181
SM
53662014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5367
5368 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5369 * gdb.dwarf2/symtab-producer.exp: Same.
5370 * gdb.gdb/python-interrupts.exp: Same.
5371 * gdb.gdb/python-selftest.exp: Same.
5372 * gdb.python/py-linetable.exp: Same.
5373 * gdb.python/py-type.exp: Same.
5374 * gdb.python/py-value-cc.exp: Same.
5375 * gdb.python/py-value.exp: Same.
5376
10e79639
YQ
53772014-11-28 Yao Qi <yao@codesourcery.com>
5378
5379 * gdb.base/break-probes.exp: Match library name prefixed with
5380 sysroot.
5381
f28a0564
SM
53822014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5383
5384 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5385 test expected output. Add parentheses for the call to print.
5386 Remove L suffix from integers.
5387
3fe1ce1d
DE
53882014-11-26 Doug Evans <dje@google.com>
5389
5390 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5391
84429e27
YQ
53922014-11-22 Yao Qi <yao@codesourcery.com>
5393
5394 * gdb.trace/entry-values.c: Remove asms.
5395 (foo): Add foo_label.
5396 (bar): Add bar_label.
5397 * gdb.trace/entry-values.exp: Remove code computing foo's
5398 length and bar's length.
5399 (Dwarf::assemble): Invoke function_range for bar and use
5400 MACRO_AT_func for foo.
5401
26741859
YQ
54022014-11-22 Yao Qi <yao@codesourcery.com>
5403
5404 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5405 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5406 Use .Lgcc43_procstart instead of gcc43.
5407
45e44d27
JB
54082014-11-21 Joel Brobecker <brobecker@adacore.com>
5409
5410 * gdb.ada/n_arr_bound: New testcase.
5411
458c8db8
SDJ
54122014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5413
5414 PR breakpoints/10737
5415 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5416 test_catch_syscall_multi_arch.
5417 (test_catch_syscall_multi_arch): New function.
5418
43f3e411
DE
54192014-11-20 Doug Evans <xdje42@gmail.com>
5420
5421 * gdb.base/maint.exp: Update expected output.
5422
0d7b2549
AA
54232014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5424
5425 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5426 4-byte instruction on S390.
5427
8908fca5
JB
54282014-11-19 Joel Brobecker <brobecker@adacore.com>
5429
5430 * gdb.ada/arr_arr: New testcase.
5431
4a46959e
JB
54322014-11-19 Joel Brobecker <brobecker@adacore.com>
5433
5434 * gdb.ada/pkd_arr_elem: New Testcase.
5435
470e2f4e
LM
54362014-11-18 Luis Machado <lgustavo@codesourcery.com>
5437
5438 * gdb.reverse/break-precsave: Expect completion message for
5439 core file reads.
5440 * gdb.reverse/consecutive-precsave.exp: Likewise.
5441 * gdb.reverse/finish-precsave.exp: Likewise.
5442 * gdb.reverse/i386-precsave.exp: Likewise.
5443 * gdb.reverse/machinestate-precsave.exp: Likewise.
5444 * gdb.reverse/sigall-precsave.exp: Likewise.
5445 * gdb.reverse/solib-precsave.exp: Likewise.
5446 * gdb.reverse/step-precsave.exp: Likewise.
5447 * gdb.reverse/until-precsave.exp: Likewise.
5448 * gdb.reverse/watch-precsave.exp: Likewise.
5449
a267f3ad
AA
54502014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5451
5452 * gdb.base/bp-permanent.c: Include unistd.h.
5453 * gdb.python/py-framefilter-mi.c (main): Add return type.
5454 * gdb.python/py-framefilter.c (main): Likewise.
5455 * gdb.trace/actions-changed.c (main): Likewise.
5456
12084a9a
AA
54572014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5458
5459 * gdb.mi/until.c: Add eye-catchers.
5460 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5461 line numbers.
5462
dc7e1a77
AA
54632014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5464
5465 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5466 function header variants in break1.c.
5467 * gdb.base/ena-dis-br.exp: Likewise.
5468 * gdb.base/hbreak2.exp: Likewise.
5469 * gdb.reverse/until-precsave.exp: Drop references to removed
5470 non-prototype function header variants in ur1.c.
5471 * gdb.reverse/until-reverse.exp: Likewise.
5472
41c77605
PM
54732014-11-17 Petr Machata <pmachata@redhat.com>
5474
5475 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5476 ${_cu_offset_size} bytes abbrev offset.
5477
34248c3a
DE
54782014-11-15 Doug Evans <xdje42@gmail.com>
5479
5480 PR symtab/17559
5481 * gdb.base/line-symtabs.exp: New file.
5482 * gdb.base/line-symtabs.c: New file.
5483 * gdb.base/line-symtabs.h: New file.
5484
646da059
YQ
54852014-11-14 Yao Qi <yao@codesourcery.com>
5486
5487 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5488 (func): Add label func_label.
5489 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5490 Replace low_pc and high_pc with MACRO_AT_range.
5491 Replace name, low_pc and high_pc with MACRO_AT_func.
5492
9301ebe6
YQ
54932014-11-14 Yao Qi <yao@codesourcery.com>
5494
5495 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5496 Replace name, low_pc and high_pc with MACRO_AT_func.
5497
f166b542
YQ
54982014-11-14 Yao Qi <yao@codesourcery.com>
5499
5500 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5501 produce debug information.
5502 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5503
0f6e71e3
YQ
55042014-11-14 Yao Qi <yao@codesourcery.com>
5505
5506 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5507 object and get function length.
5508 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5509 with MACRO_AT_func.
5510 (top-level): Replace gdb_compile and clean_restart with
5511 prepare_for_testing.
5512 * gdb.dwarf2/main.c (main): Add label main_label.
5513
876c4df9
YQ
55142014-11-14 Yao Qi <yao@codesourcery.com>
5515
5516 * lib/dwarf.exp (function_range): New procedure.
5517 (Dwarf::_handle_macro_at_func): New procedure.
5518 (Dwarf::_handle_macro_at_range): New procedure.
5519 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5520
02ad9cf1
YQ
55212014-11-14 Yao Qi <yao@codesourcery.com>
5522
5523 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5524 (_handle_attribute): New procedure.
5525
a59add0c
AA
55262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5527
5528 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5529 * gdb.base/call-sc.c (zed): Likewise.
5530 * gdb.base/checkpoint.c (main): Likewise.
5531 * gdb.base/dump.c (main): Likewise.
5532 * gdb.base/gcore.c (main): Likewise.
5533 * gdb.base/huge.c (main): Likewise.
5534 * gdb.base/multi-forks.c (main): Likewise.
5535 * gdb.base/pr10179-a.c (main): Likewise.
5536 * gdb.base/savedregs.c (main): Likewise.
5537 * gdb.base/sigaltstack.c (main): Likewise.
5538 * gdb.base/siginfo.c (main): Likewise.
5539 * gdb.base/structs.c (zed): Likewise.
5540 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5541 * gdb.mi/mi-syn-frame.c (main): Likewise.
5542 * gdb.mi/until.c (foo, main): Likewise.
5543 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5544 * gdb.base/solib-weak.c (foo): Declare.
5545 * gdb.base/attach-twice.c: Include stdio.h.
5546 * gdb.base/weaklib1.c: Likewise.
5547 * gdb.base/weaklib2.c: Likewise.
5548 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5549 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5550 unistd.h.
5551 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5552 * gdb.mi/mi-exit-code.c: Likewise.
5553 * gdb.base/break-interp-lib.c: Include string.h.
5554 * gdb.base/coremaker.c: Likewise.
5555 * gdb.base/testenv.c: Likewise.
5556 * gdb.python/py-finish-breakpoint.c: Likewise.
5557 * gdb.base/inferior-died.c: Include sys/wait.h.
5558 * gdb.base/fileio.c: Include time.h.
5559 * gdb.base/async-shell.c: Include unistd.h.
5560 * gdb.base/dprintf-non-stop.c: Likewise.
5561 * gdb.base/info-os.c: Likewise.
5562 * gdb.mi/mi-console.c: Likewise.
5563 * gdb.mi/watch-nonstop.c: Likewise.
5564 * gdb.python/py-events.c: Likewise.
5565 * gdb.base/async.c (baz): Move up before its invocation.
5566 * gdb.base/code_elim2.c (my_global_func): Likewise.
5567 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5568 * gdb.base/advance.c (func2): Likewise.
5569
3b5d5997
AA
55702014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5571
5572 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5573 variant.
5574 * gdb.base/annota3.c: Likewise.
5575 * gdb.base/async.c: Likewise.
5576 * gdb.base/average.c: Likewise.
5577 * gdb.base/call-ar-st.c: Likewise.
5578 * gdb.base/call-rt-st.c: Likewise.
5579 * gdb.base/call-sc.c: Likewise.
5580 * gdb.base/call-strs.c: Likewise.
5581 * gdb.base/ending-run.c: Likewise.
5582 * gdb.base/execd-prog.c: Likewise.
5583 * gdb.base/exprs.c: Likewise.
5584 * gdb.base/foll-exec.c: Likewise.
5585 * gdb.base/foll-fork.c: Likewise.
5586 * gdb.base/foll-vfork.c: Likewise.
5587 * gdb.base/funcargs.c: Likewise.
5588 * gdb.base/gcore.c: Likewise.
5589 * gdb.base/jump.c: Likewise.
5590 * gdb.base/langs0.c: Likewise.
5591 * gdb.base/langs1.c: Likewise.
5592 * gdb.base/langs2.c: Likewise.
5593 * gdb.base/mips_pro.c: Likewise.
5594 * gdb.base/nodebug.c: Likewise.
5595 * gdb.base/opaque0.c: Likewise.
5596 * gdb.base/opaque1.c: Likewise.
5597 * gdb.base/recurse.c: Likewise.
5598 * gdb.base/run.c: Likewise.
5599 * gdb.base/scope0.c: Likewise.
5600 * gdb.base/scope1.c: Likewise.
5601 * gdb.base/setshow.c: Likewise.
5602 * gdb.base/setvar.c: Likewise.
5603 * gdb.base/shmain.c: Likewise.
5604 * gdb.base/shr1.c: Likewise.
5605 * gdb.base/shr2.c: Likewise.
5606 * gdb.base/sigall.c: Likewise.
5607 * gdb.base/signals.c: Likewise.
5608 * gdb.base/so-indr-cl.c: Likewise.
5609 * gdb.base/solib2.c: Likewise.
5610 * gdb.base/structs.c: Likewise.
5611 * gdb.base/sum.c: Likewise.
5612 * gdb.base/vforked-prog.c: Likewise.
5613 * gdb.base/watchpoint.c: Likewise.
5614 * gdb.reverse/shr2.c: Likewise.
5615 * gdb.reverse/until-reverse.c: Likewise.
5616 * gdb.reverse/ur1.c: Likewise.
5617 * gdb.reverse/watch-reverse.c: Likewise.
5618
066a77c5
AA
56192014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5620
5621 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5622 variant.
5623 * gdb.base/sepdebug.exp: Drop references to removed code.
5624
4f204ea5
AA
56252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5626
5627 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5628 variant. Preserve original line numbering.
5629 * gdb.base/list1.c: Likewise.
5630
3b377a3a
AA
56312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5632
5633 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5634 variant.
5635 * gdb.base/break1.c: Likewise.
5636 * gdb.base/break.exp: Drop references to removed code.
5637
e444df73
AA
56382014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5639
5640 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5641 variant.
5642
8008f2a7
AA
56432014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5644
5645 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5646
a5a06887
AA
56472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5648
5649 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5650 logic into perform_all_tests() and invoke it with and without
5651 function header prototypes.
5652 (do_function_calls): Remove conditional XFAIL for PR 5318.
5653 (rerun_and_prepare): Remove duplicate code.
5654 (perform_all_tests): New. Main logic moved here.
5655
44dba9b9
AA
56562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5657
5658 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5659 code guarded by #ifdef NO_PROTOTYPES.
5660 (t_double_many_args): Likewise.
5661 (DEF_FUNC_MANY_ARGS_1): Likewise.
5662 (DEF_FUNC_VALUES_1): Likewise.
5663 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5664 guarded by #ifdef PROTOTYPES.
5665
d1fbcd56
AA
56662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5667
5668 * gdb.mi/mi-console.c: Add eye-catcher.
5669 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5670 instead of literal line number.
5671
b0e59b8f
AA
56722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5673
5674 * gdb.base/shr2.c: Add eye-catcher.
5675 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5676 line number.
5677
78f98cca
AA
56782014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5679
5680 * gdb.base/jump.c: Add eye-catchers.
5681 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5682 numbers.
5683
58fa2af0
AA
56842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5685
5686 * gdb.base/execd-prog.c: Add eye-catchers.
5687 * gdb.base/foll-exec.c: Likewise.
5688 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5689 line numbers.
5690
04e5059b
AA
56912014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5692
5693 * gdb.base/ending-run.c: Add eye-catchers.
5694 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5695 literal line numbers.
5696
dbfdb174
AA
56972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5698
5699 * gdb.base/call-rt-st.c: Add eye-catchers.
5700 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5701 literal line numbers.
5702
888a2ade
AA
57032014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5704
5705 * gdb.base/call-ar-st.c: Add eye-catchers.
5706 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5707 literal line numbers.
5708
6acc2dde
AA
57092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5710
5711 * gdb.base/average.c: Add eye-catchers.
5712 * gdb.base/sum.c: Likewise.
5713 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5714 regexps dynamically.
5715
9ecfcd1d
AA
57162014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5717
5718 * gdb.base/solib1.c: Add eye-catchers.
5719 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5720 literal line numbers.
5721
78708b7c
PA
57222014-11-12 Pedro Alves <palves@redhat.com>
5723
5724 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5725 leader has exited.
5726
af48d08f
PA
57272014-11-12 Pedro Alves <palves@redhat.com>
5728
5729 * gdb.arch/i386-bp_permanent.c: New file.
5730 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5731 (srcfile): Set to i386-bp_permanent.c.
5732 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5733 that stepi does not execute the 'leave' instruction, instead of
5734 testing it does execute.
5735 * gdb.base/bp-permanent.c: New file.
5736 * gdb.base/bp-permanent.exp: New file.
5737
af3768e9
DE
57382014-11-10 Doug Evans <xdje42@gmail.com>
5739
5740 PR symtab/17564
5741 * gdb.base/symtab-search-order.exp: New file.
5742 * gdb.base/symtab-search-order.c: New file.
5743 * gdb.base/symtab-search-order-1.c: New file.
5744 * gdb.base/symtab-search-order-shlib-1.c: New file.
5745
9de00a4a
PA
57462014-11-07 Pedro Alves <palves@redhat.com>
5747
5748 PR gdb/17511
5749 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5750 i?86-*-linux*.
5751
e0f52461
SC
57522014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5753
5754 PR c++/17494
5755 * gdb.cp/pr17494.cc: New file.
5756 * gdb.cp/pr17494.exp: New file.
5757
6ce8c980
YQ
57582014-11-02 Yao Qi <yao@codesourcery.com>
5759
5760 * gdb.python/python.exp: Get working directory and match the
5761 output of "set extended-prompt \\w " with it.
5762
02be9a71
DE
57632014-10-30 Doug Evans <dje@google.com>
5764
5765 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5766 in objfiles.
5767 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5768 in progspaces.
5769
3bdff46b
LM
57702014-10-30 Janis Johnson <janisjo@codesourcery.com>
5771
5772 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5773 * gdb.base/realname-expand.exp: Likewise.
5774 * gdb.linespec/macro-relative.exp: Likewise.
5775
ab917dfb
PA
57762014-10-29 Pedro Alves <palves@redhat.com>
5777
5778 PR gdb/17408
5779 * gdb.threads/schedlock.c (some_function): New function.
5780 (call_function): New global.
5781 (MAYBE_CALL_SOME_FUNCTION): New macro.
5782 (thread_function): Call it.
5783 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5784 and use it instead of a global counter. Adjust all callers.
5785 (get_current_thread): Use "find current thread" for test message
5786 here rather than having all callers pass down the same string.
5787 (goto_loop): New procedure, factored out from ...
5788 (my_continue): ... this.
5789 (step_ten_loops): Change parameter from test message to command to
5790 use. Adjust.
5791 (list_count): Delete global.
5792 (check_result): New procedure, factored out from duplicate top
5793 level code.
5794 (continue tests): Wrap in with_test_prefix.
5795 (test_step): New procedure, factored out from duplicate top level
5796 code.
5797 (top level): Test "step" in combination with all scheduler-locking
5798 modes. Test "next" in combination with all scheduler-locking
5799 modes, and in combination with stepping over a function call or
5800 not.
5801 * gdb.threads/next-bp-other-thread.c: New file.
5802 * gdb.threads/next-bp-other-thread.exp: New file.
5803
d3d4baed
PA
58042014-10-29 Pedro Alves <palves@redhat.com>
5805
5806 PR python/17372
5807 * gdb.python/python.exp: Test a multi-line command that spawns
5808 interactive Python.
5809 * gdb.base/multi-line-starts-subshell.exp: New file.
5810
563e8d85
YQ
58112014-10-29 Yao Qi <yao@codesourcery.com>
5812
5813 * gdb.base/fileio.exp: Make directories on host.
5814
0ea4d52e
YQ
58152014-10-29 Yao Qi <yao@codesourcery.com>
5816
5817 * gdb.base/fileio.c (test_write): Close the file.
5818
7f5ef605
PA
58192014-10-28 Pedro Alves <palves@redhat.com>
5820
5821 PR gdb/12623
5822 * gdb.base/sigstep.c (no_handler): New global.
5823 (main): If 'no_handler is true, set the signal handlers to
5824 SIG_IGN.
5825 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5826 with_sw_watch and no_handler parameters. Handle them.
5827 (top level) <stepping over handler when stopped at a breakpoint
5828 test>: Add a test axis for testing with a software watchpoint, and
5829 another for testing with the signal handler set to SIG_IGN.
5830 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5831 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5832
abbdbd03
PA
58332014-10-28 Pedro Alves <palves@redhat.com>
5834
5835 PR gdb/17511
5836 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5837 * gdb.base/sigstep.exp (other_handler_location): New global.
5838 (advance): Support stepping into the signal handler, and running
5839 commands while in the handler.
5840 (in_handler_map): New global.
5841 (top level): In the advance test, add combinations for getting
5842 into the handler with stepping commands, and for running commands
5843 in the handler. Add comment descripting the advancei tests.
5844
1df4399f
PA
58452014-10-28 Pedro Alves <palves@redhat.com>
5846
5847 * gdb.base/sigstep.exp: Use build_executable instead of
5848 prepare_for_testing.
5849 (top level): Move code that starts GDB, runs to main and creates a
5850 display to ...
5851 (restart): ... this new procedure.
5852 (top level): Move backtrace from signal handler test to ...
5853 (validate_backtrace): ... this new procedure.
5854 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5855 with_test_prefix. Always restart GDB.
5856 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5857 with_test_prefix. Always restart GDB. No need to delete
5858 breakpoints after the test.
5859 (test_skip_handler): Remove prefix parameter.
5860 (skip_over_handler, breakpoint_to_handler)
5861 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5862 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5863 restart GDB. No need to delete breakpoints after the test.
5864 (top level): Use foreach to call the test procedures with
5865 different commands.
5866
a5b6e449
PA
58672014-10-28 Pedro Alves <palves@redhat.com>
5868
5869 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5870 instead of GNATS numbers.
5871 * gdb.base/sigbpt.exp: Likewise.
5872 * gdb.base/siginfo.exp: Likewise.
5873 * gdb.base/sigstep.exp: Likewise.
5874
e5f8a7cc
PA
58752014-10-27 Pedro Alves <palves@redhat.com>
5876
5877 * gdb.base/sigstep.c (dummy): New global.
5878 (main): Issue a couple writes to the new global.
5879 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5880 procedures.
5881 (skip_over_handler): Use test_skip_handler.
5882 (top level): Call skip_over_handler for stepi and nexti too.
5883 (breakpoint_over_handler): Use test_skip_handler.
5884 (top level): Call breakpoint_over_handler for stepi and nexti too.
5885
763905a3
YQ
58862014-10-27 Yao Qi <yao@codesourcery.com>
5887
5888 * gdb.trace/tfile.c (adjust_function_address)
5889 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5890 function descriptor.
5891
6f259a23
DB
58922014-10-24 Don Breazeal <donb@codesourcery.com>
5893
5894 * gdb.base/foll-fork.exp (test_follow_fork,
5895 catch_fork_child_follow): Check for updated fork messages emitted
5896 from infrun.c.
5897 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5898 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5899 vfork_and_exec_child_follow_through_step): Check for updated vfork
5900 messages emitted from infrun.c.
5901
09dd9a69
PA
59022014-10-24 Pedro Alves <palves@redhat.com>
5903
5904 * gdb.base/corefile.exp: Remove references to ultrix.
5905 * gdb.base/interrupt.exp: Likewise.
5906 * gdb.base/whatis.exp: Likewise.
5907 * gdb.gdb/selftest.exp: Likewise.
5908 * gdb.threads/manythreads.exp: Likewise.
5909 * gdb.threads/print-threads.exp: Likewise.
5910 * gdb.threads/pthreads.exp:: Likewise.
5911 * gdb.threads/schedlock.exp: Likewise.
5912
3433cfa5
SC
59132014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5914
5915 * gdb.cp/non-trivial-retval.cc: Add a test case.
5916 * gdb.cp/non-trivial-retval.exp: Add a test.
5917
092f880b
YQ
59182014-10-20 Yao Qi <yao@codesourcery.com>
5919
5920 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5921 * gdb.python/py-objfile-script-gdb.py: New file.
5922 * gdb.python/py-objfile-script.exp: Update reference to
5923 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5924 of remote_download. Remove the dest file.
5925
acbdb7f3
YQ
59262014-10-20 Yao Qi <yao@codesourcery.com>
5927
5928 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5929 * gdb.base/step-line.exp: Likewise.
5930 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5931 * gdb.dwarf2/dw2-basic.exp: Likewise.
5932 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5933 * gdb.dwarf2/dw2-filename.exp: Likewise.
5934 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5935 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5936 * gdb.dwarf2/dw2-producer.exp: Likewise.
5937 * gdb.dwarf2/mac-fileno.exp: Likewise.
5938 * gdb.python/py-frame-args.exp: Likewise.
5939 * gdb.python/py-framefilter.exp: Likewise.
5940 * gdb.python/py-mi.exp: Likewise.
5941 * gdb.python/py-objfile-script.exp: Likewise
5942 * gdb.python/py-pp-integral.exp: Likewise.
5943 * gdb.python/py-pp-re-notag.exp: Likewise.
5944 * gdb.python/py-prettyprint.exp: Likewise.
5945 * gdb.python/py-section-script.exp: Likewise.
5946 * gdb.python/py-typeprint.exp: Likewise.
5947 * gdb.python/py-xmethods.exp: Likewise.
5948 * gdb.stabs/weird.exp: Likewise.
5949 * gdb.xml/tdesc-regs.exp: Likewise.
5950
bd286a29
KCY
59512014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5952
5953 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5954 (out_cu): Use addr_len for the size of addresses.
5955 (out_line): Likewise. Size DW_LNE_set_address instruction
5956 according to addr_len.
5957 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5958 (FUNC): Add START_INSNS to definition.
5959
673dc4a0
YQ
59602014-10-18 Yao Qi <yao@codesourcery.com>
5961
5962 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5963 gdb_has_argv0 return true.
5964 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5965 check [target_info exists noargs], check [gdb_has_argv0]
5966 instead.
5967 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5968 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5969 procedures.
5970
4ffbba72
DE
59712014-10-17 Doug Evans <dje@google.com>
5972
5973 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5974 event.
5975 * gdb.python/py-events.py: Add clear_objfiles event.
5976
d096d8c1
DE
59772014-10-17 Doug Evans <dje@google.com>
5978
5979 * gdb.python/py-objfile.exp: Test progspace attribute.
5980
a80db015
LM
59812014-10-17 Luis Machado <lgustavo@codesourcery.com>
5982
5983 * gdb.guile/scm-breakpoint.exp: Do not assume any
5984 directory separators when matching source file paths.
5985 * gdb.python/py-breakpoint.exp: Likewise.
5986 * gdb.reverse/break-precsave.exp: Likewise.
5987 * gdb.reverse/break-reverse.exp: Likewise.
5988 * gdb.reverse/consecutive-precsave.exp: Likewise.
5989 * gdb.reverse/finish-precsave.exp: Likewise.
5990 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5991 * gdb.reverse/finish-reverse.exp: Likewise.
5992 * gdb.reverse/i386-precsave.exp: Likewise.
5993 * gdb.reverse/i387-env-reverse.exp: Likewise.
5994 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5995 * gdb.reverse/machinestate-precsave.exp: Likewise.
5996 * gdb.reverse/machinestate.exp: Likewise.
5997 * gdb.reverse/sigall-precsave.exp: Likewise.
5998 * gdb.reverse/solib-precsave.exp: Likewise.
5999 * gdb.reverse/step-precsave.exp: Likewise.
6000 * gdb.reverse/until-precsave.exp: Likewise.
6001 * gdb.reverse/watch-precsave.exp: Likewise.
6002 * gdb.reverse/watch-reverse.exp: Likewise.
6003
b22089ab
YQ
60042014-10-17 Yao Qi <yao@codesourcery.com>
6005
6006 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6007 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6008
6c4486e6
PA
60092014-10-17 Pedro Alves <palves@redhat.com>
6010
6011 PR gdb/17471
6012 * gdb.base/bg-execution-repeat.c: New file.
6013 * gdb.base/bg-execution-repeat.exp: New file.
6014
0ff33695
PA
60152014-10-17 Pedro Alves <palves@redhat.com>
6016
6017 PR gdb/17300
6018 * gdb.base/continue-all-already-running.c: New file.
6019 * gdb.base/continue-all-already-running.exp: New file.
6020
6fdebc3d
PA
60212014-10-17 Pedro Alves <palves@redhat.com>
6022
6023 PR gdb/17472
6024 * gdb.base/annota-input-while-running.c: New file.
6025 * gdb.base/annota-input-while-running.exp: New file.
6026
32a8097b
PA
60272014-10-17 Pedro Alves <palves@redhat.com>
6028
6029 * gdb.base/callfuncs.exp: emove references to osf.
6030 * gdb.base/sigall.exp: Likewise.
6031 * gdb.gdb/selftest.exp: Likewise.
6032 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6033 * gdb.mi/non-stop.c: Likewise.
6034 * gdb.mi/pthreads.c: Likewise.
6035 * gdb.reverse/sigall-precsave.exp: Likewise.
6036 * gdb.reverse/sigall-reverse.exp: Likewise.
6037 * gdb.threads/pthreads.c: Likewise.
6038 * gdb.threads/pthreads.exp: Likewise.
6039
7a3517ff
YQ
60402014-10-17 Yao Qi <yao@codesourcery.com>
6041
6042 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6043 check 'target_info exists noargs'.
6044 (test_command_prompt_position): Likewise.
6045 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6046 Remove "set args".
6047 (progvar_simple_while_test): Likewise.
6048 (progvar_complex_if_while_test): Likewise.
6049 (if_while_breakpoint_command_test): Likewise.
6050 (infrun_breakpoint_command_test): Likewise.
6051 (breakpoint_command_test): Likewise.
6052 (watchpoint_command_test): Likewise.
6053 (bp_deleted_in_command_test): Likewise.
6054 (temporary_breakpoint_commands): Likewise.
6055
bb99c472
YQ
60562014-10-16 Yao Qi <yao@codesourcery.com>
6057
6058 * gdb.base/remotetimeout.exp: Remove noargs checking.
6059
7c16b83e
PA
60602014-10-15 Pedro Alves <palves@redhat.com>
6061
6062 PR breakpoints/9649
6063 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6064 * gdb.base/breakpoint-in-ro-region.exp
6065 (probe_target_hardware_step): New procedure.
6066 (top level): Probe hardware stepping and hardware breakpoint
6067 support. Test stepping through a read-only region, with both
6068 "breakpoint auto-hw" on and off and both "always-inserted" on and
6069 off.
6070
35a49624
IB
60712014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6072
6073 * gdb.dlang/demangle.exp: Update for demangling changes.
6074
2d1c107c
SC
60752014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6076
6077 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6078 * gdb.cp/non-trivial-retval.exp: Add new tests.
6079
778811d5
SC
60802014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6081
6082 PR c++/13403
6083 PR c++/15154
6084 * gdb.cp/non-trivial-retval.cc: New file.
6085 * gdb.cp/non-trivial-retval.exp: New file.
6086
10c5f0a8
YQ
60872014-10-15 Yao Qi <yao@codesourcery.com>
6088
6089 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6090 remote host.
6091
65d7b369
YQ
60922014-10-15 Yao Qi <yao@codesourcery.com>
6093
6094 * gdb.python/py-symbol.exp: Match file base name if host is
6095 remote, otherwise match file name with dir name.
6096 * gdb.python/py-symtab.exp: Likewise.
6097 * gdb.python/python.exp: Likewise.
6098
46dc1394
YQ
60992014-10-15 Yao Qi <yao@codesourcery.com>
6100
6101 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6102 pattern.
6103 * gdb.python/py-symtab.exp: Likewise.
6104 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6105 locationn.
6106
c40cc657
JB
61072014-10-14 Joel Brobecker <brobecker@adacore.com>
6108
6109 * gdb.ada/addr_arith: New testcase.
6110
2abf49e1
MR
61112014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6112
6113 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6114 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6115 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6116 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6117
f7088df3
SDJ
61182014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6119
6120 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6121 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6122 * gdb.arch/stap-eval-lang-ada.exp: New file.
6123
4dc06805
YQ
61242014-10-14 Yao Qi <yao@codesourcery.com>
6125
6126 * gdb.mi/mi-var-child.c (nothing1): New function.
6127 (nothing2): New function.
6128 (do_children_tests): Set function pointers by nothing1 and
6129 nothing2.
6130 * gdb.mi/mi-var-child.exp: Step over new added statements.
6131 Update test to match the new output.
6132 * gdb.mi/var-cmd.c (nothing1): New function.
6133 (nothing2): New function.
6134 (do_children_tests): Set function pointers by nothing1 and
6135 nothing2.
6136 * gdb.mi/mi-var-display.exp: Update test to match output.
6137 Step to the line specified by $line_dct_nothing.
6138 Increase the number of lines to step.
6139
46a93de2
YQ
61402014-10-14 Yao Qi <yao@codesourcery.com>
6141
6142 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6143 tests.
6144 * gdb.mi/mi2-var-child.exp: Likewise.
6145
14ea52ee
DE
61462014-10-13 Doug Evans <dje@google.com>
6147
6148 * gdb.python/py-objfile.exp: Change name of file name test.
6149
e5c6e92b
DE
61502014-10-13 Doug Evans <dje@google.com>
6151
6152 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6153 from the start of the CU.
6154
c780cc2f
JK
61552014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6156 Yao Qi <yao@codesourcery.com>
6157
6158 Fix "save breakpoints" for "catch" command.
6159 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6160 Remove -nonewline. Match also the added "main" line.
6161
99894e11
JK
61622014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6163
6164 Fix "save breakpoints" for "disable $bpnum" command.
6165 * gdb.base/save-bp.c (main): Add label.
6166 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6167
6e1ac5a3
JK
61682014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6169
6170 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6171
754dd2b0
YQ
61722014-10-11 Yao Qi <yao@codesourcery.com>
6173
6174 * gdb.server/server-kill.exp: Execute command
6175 "set remote trace-status-packet on" before "tstatus".
6176
f90183d7
YQ
61772014-10-11 Yao Qi <yao@codesourcery.com>
6178
6179 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6180 (main): Call getppid.
6181 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6182 and continue to it. Read variable "server_pid".
6183
bf40a607
YQ
61842014-10-11 Yao Qi <yao@codesourcery.com>
6185
6186 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6187
052ca370
YQ
61882014-10-11 Yao Qi <yao@codesourcery.com>
6189
6190 * gdb.threads/thread-find.exp: Don't execute command
6191 "info threads".
6192 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6193 * gdb.threads/linux-dp.exp: Don't check the condition
6194 $threads_created equals to zero.
6195
3831839c
PA
61962014-10-10 Pedro Alves <palves@redhat.com>
6197
6198 * gdb.base/bigcore.exp: Remove references to IRIX.
6199 * gdb.base/funcargs.exp: Likewise.
6200 * gdb.base/interrupt.exp: Likewise.
6201 * gdb.base/mips_pro.exp: Likewise.
6202 * gdb.base/nodebug.exp: Likewise.
6203 * gdb.base/setvar.exp: Likewise.
6204 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6205
8b9a549d
PA
62062014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6207 Pedro Alves <palves@redhat.com>
6208
6209 PR symtab/14466
6210 * gdb.base/vdso-warning.c: New file.
6211 * gdb.base/vdso-warning.exp: New file.
6212
d48ba5e8
DE
62132014-10-02 Doug Evans <dje@google.com>
6214
6215 * gdb.base/structs.c (main): Don't run forever.
6216
2278c276
PA
62172014-10-02 Pedro Alves <palves@redhat.com>
6218
6219 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6220 (top level) <stop threads 1, stop threads 2>: Use it.
6221
b57bacec
PA
62222014-10-02 Pedro Alves <palves@redhat.com>
6223
6224 * gdb.threads/break-while-running.exp (test): Add new
6225 'update_thread_list' argument. Skip "info threads" if false.
6226 (top level): Add new 'update_thread_list' axis.
6227
13fd3ff3
PA
62282014-10-02 Pedro Alves <palves@redhat.com>
6229
6230 PR breakpoints/17431
6231 * gdb.base/execl-update-breakpoints.c: New file.
6232 * gdb.base/execl-update-breakpoints.exp: New file.
6233
0fec99e8
PA
62342014-10-01 Pedro Alves <palves@redhat.com>
6235
6236 * gdb.base/breakpoint-in-ro-region.c: New file.
6237 * gdb.base/breakpoint-in-ro-region.exp: New file.
6238
2ddf4301
SM
62392014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6240
6241 * gdb.mi/mi-exit-code.exp: New file.
6242 * gdb.mi/mi-exit-code.c: New file.
6243
6a5f3f43
YQ
62442014-09-30 Yao Qi <yao@codesourcery.com>
6245
6246 * lib/prelink-support.exp (build_executable_own_libs): Error if
6247 the target isn't native.
6248
345bcc73
YQ
62492014-09-30 Yao Qi <yao@codesourcery.com>
6250
6251 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6252 false.
6253
a25a5a45
PA
62542014-09-22 Pedro Alves <palves@redhat.com>
6255
6256 * gdb.threads/break-while-running.exp: New file.
6257 * gdb.threads/break-while-running.c: New file.
6258
00ba3162
YQ
62592014-09-19 Yao Qi <yao@codesourcery.com>
6260
6261 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6262 Invoke test. Restart GDB with --readnow and invoke test again.
6263
c3b7b696
YQ
62642014-09-19 Yao Qi <yao@codesourcery.com>
6265
6266 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6267 proc set_breakpoint_on_gcd_function. Invoke
6268 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6269 invoke set_breakpoint_on_gcd_function again.
6270
2b4fd423
DE
62712014-09-18 Doug Evans <dje@google.com>
6272
6273 * gdb.dwarf2/symtab-producer.exp: New file.
6274
a5947601
SDJ
62752014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6276
6277 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6278 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6279 * gdb.base/global-var-nested-by-dso.c: Likewise.
6280 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6281
91c19059
SDJ
62822014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6283 Pedro Alves <palves@redhat.com>
6284
6285 * gdb.base/watch-bitfields.exp: Pass string other than test file
6286 name to prepare_for_testing.
6287 (watch): New procedure.
6288 (expect_watchpoint): Use with_test_prefix.
6289 (top level): Factor out tests to ...
6290 (test_watch_location, test_regular_watch): ... these new
6291 procedures, and use with_test_prefix and gdb_continue_to_end.
6292
bb9d5f81
PP
62932014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6294
6295 PR breakpoints/12526
6296 * gdb.base/watch-bitfields.exp: New file.
6297 * gdb.base/watch-bitfields.c: New file.
6298
635856f5
PA
62992014-09-16 Pedro Alves <palves@redhat.com>
6300
6301 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6302 software and hardware addresses, not software address against
6303 itself.
6304
7280ceea
PA
63052014-09-16 Pedro Alves <palves@redhat.com>
6306
6307 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6308 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6309
428b16bd
PA
63102014-09-16 Pedro Alves <palves@redhat.com>
6311
6312 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6313 files.
6314 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6315 "*-*-vxworks*" throughout.
6316 * gdb.base/break.exp: Likewise.
6317 * gdb.base/default.exp: Likewise.
6318 * gdb.base/scope.exp: Likewise.
6319 * gdb.base/sepdebug.exp: Likewise.
6320 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6321 throughout.
6322 * gdb.base/run.c: Likewise.
6323 * gdb.base/sepdebug.c: Likewise.
6324 * gdb.hp/gdb.aCC/run.c: Likewise.
6325 * gdb.reverse/until-reverse.c: Likewise.
6326 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6327
666d413c
YQ
63282014-09-16 Yao Qi <yao@codesourcery.com>
6329
6330 * boards/local-remote-host-native.exp: New file.
6331
57cbd724
DE
63322014-09-14 Doug Evans <xdje42@gmail.com>
6333
6334 * gdb.threads/queue-signal.c (thread_count): New variable.
6335 (thread_count_mutex, thread_count_condvar): New variables.
6336 (incr_thread_count, wait_all_threads_running): New functions.
6337 (main): Wait for all threads to be in their thread functions.
6338
81219e53
DE
63392014-09-13 Doug Evans <xdje42@gmail.com>
6340
6341 * gdb.threads/queue-signal.c: New file.
6342 * gdb.threads/queue-signal.exp: New file.
6343
3714cea7
DE
63442014-09-13 Doug Evans <xdje42@gmail.com>
6345
6346 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6347 be consistent with what default_gdb_init uses.
6348 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6349 the plain text of the prompt. Add some logging printfs.
6350 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6351
fa43b1d7
PA
63522014-09-12 Pedro Alves <palves@redhat.com>
6353
6354 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6355 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6356 * gdb.arch/i386-size-overlap.exp: Likewise.
6357 * gdb.arch/i386-size.exp: Likewise.
6358 * gdb.arch/i386-unwind.exp: Likewise.
6359 * gdb.base/a2-run.exp: Likewise.
6360 * gdb.base/break.exp: Likewise.
6361 * gdb.base/charset.exp: Likewise.
6362 * gdb.base/chng-syms.exp: Likewise.
6363 * gdb.base/commands.exp: Likewise.
6364 * gdb.base/dbx.exp: Likewise.
6365 * gdb.base/find.exp: Likewise.
6366 * gdb.base/funcargs.exp: Likewise.
6367 * gdb.base/jit-simple.exp: Likewise.
6368 * gdb.base/reread.exp: Likewise.
6369 * gdb.base/sepdebug.exp: Likewise.
6370 * gdb.base/step-bt.exp: Likewise.
6371 * gdb.cp/mb-inline.exp: Likewise.
6372 * gdb.cp/mb-templates.exp: Likewise.
6373 * gdb.objc/basicclass.exp: Likewise.
6374 * gdb.threads/killed.exp: Likewise.
6375
9d9bf2df
EBM
63762014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6377
6378 PR tdep/17379
6379 * gdb.arch/powerpc-stackless.S: New file.
6380 * gdb.arch/powerpc-stackless.exp: New file.
6381
1cf2f1b0
JK
63822014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6383
6384 * gdb.base/attach.c: Include unistd.h.
6385 (main): Call alarm. Add label postloop.
6386 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6387 gdb_breakpoint, gdb_continue_to_breakpoint.
6388 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6389
98880d46
PA
63902014-09-11 Pedro Alves <palves@redhat.com>
6391
6392 PR gdb/17347
6393 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6394 * gdb.base/attach.exp (test_command_line_attach_run): New
6395 procedure.
6396 (top level): Call it.
6397
4c92ff2c
PA
63982014-09-11 Pedro Alves <palves@redhat.com>
6399
6400 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6401 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6402 (do_command_attach_tests): Use spawn_wait_for_attach.
6403 * gdb.base/solib-overlap.exp: Likewise.
6404 * gdb.multi/multi-attach.exp: Likewise.
6405 * gdb.python/py-prompt.exp: Likewise.
6406 * gdb.python/py-sync-interp.exp: Likewise.
6407 * gdb.server/ext-attach.exp: Likewise.
6408
3adc1a7d
GKB
64092014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6410
6411 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6412 command in testcase. Simplify testcase.
6413
96334934
JB
64142014-09-10 Joel Brobecker <brobecker@adacore.com>
6415
6416 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6417
eb479039
JB
64182014-09-10 Joel Brobecker <brobecker@adacore.com>
6419
6420 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6421
deede10c
JB
64222014-09-10 Joel Brobecker <brobecker@adacore.com>
6423
6424 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6425
7828a5f5
JB
64262014-09-10 Joel Brobecker <brobecker@adacore.com>
6427
6428 * gdb.dwarf2/dynarr-ptr.c: New file.
6429 * gdb.dwarf2/dynarr-ptr.exp: New file.
6430
33aeebcf
MR
64312014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6432
6433 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6434 of 30 rather than hardcoding 120 for a slow test case. Take the
6435 `gdb,timeout' target setting into account for this calculation.
6436 Don't extend the timeout for the test cases that don't need it.
6437
7b415901
MR
64382014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6439
6440 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6441 a factor of 2 for a slow test case. Take the `gdb,timeout'
6442 target setting into account for this calculation.
6443 * gdb.reverse/until-precsave.exp: Increase the timeout by
6444 a factor of 15 and 3 respectively rather than adding 120
6445 for a pair of slow test cases. Take the `gdb,timeout'
6446 target setting into account for this calculation.
6447
4a40f85a
MR
64482014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6449
6450 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6451 timeout, don't pass one down to gdb_expect.
6452 (gdb_expect): Rework timeout selection.
6453
09635af7
MR
64542014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6455
6456 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6457 exception on timeout.
6458 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6459 (gdbserver_start_extended): Catch any `gdbserver_start' error
6460 exceptions.
6461 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6462 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6463 `gdbserver_gdb_load' error exceptions.
6464
2bdd10b7
MR
64652014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6466
6467 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6468 120 on waiting for the TCP socket to open.
6469
316935f0
DE
64702014-09-09 Doug Evans <xdje42@gmail.com>
6471
6472 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6473 _caller_matches, _any_caller_is, _any_caller_matches.
6474
83740597
DE
64752014-09-09 Doug Evans <xdje42@gmail.com>
6476
6477 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6478
4c122fc3
YQ
64792014-09-09 Yao Qi <yao@codesourcery.com>
6480
6481 * gdb.mi/mi-var-display.exp: Set print symbol off.
6482
a9f116cb
GKB
64832014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6484
6485 PR gdb/17035
6486 * gdb.base/commands.exp: Add tests to verify user-defined
6487 commands with empty bodies.
6488 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6489 python commands in `show user command`.
6490 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6491 scheme commands in `show user command`.
6492
c75bd3a2
JK
64932014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6494
6495 PR python/17355
6496 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6497 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6498 * gdb.python/py-framefilter-invalidarg.exp: New file.
6499 * gdb.python/py-framefilter-invalidarg.py: New file.
6500
faa42425
DE
65012014-09-06 Doug Evans <xdje42@gmail.com>
6502
6503 PR 15276
6504 * gdb.python/py-caller-is.c: New file.
6505 * gdb.python/py-caller-is.exp: New file.
6506
474ca4f6
SDJ
65072014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6508
6509 PR gdb/17235
6510 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6511 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6512
eb0b0463
SDJ
65132014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6514
6515 PR fortran/17237
6516 * gdb.fortran/print-formatted.exp: New file.
6517 * gdb.fortran/print-formatted.f90: Likewise.
6518
5f3b99cf
SS
65192014-09-03 Sasha Smundak <asmundak@google.com>
6520
6521 * gdb.python/py-frame.exp: Test Frame.read_register.
6522
7d793aa9
SDJ
65232014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6524
6525 PR python/16699
6526 * gdb.python/py-completion.exp: New file.
6527 * gdb.python/py-completion.py: Likewise.
6528
fb0576e9
DE
65292014-08-28 Doug Evans <dje@google.com>
6530
6531 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6532 eax,etc. are live with values set by gdb and thus the compiler can't
6533 use them.
6534 * gdb.arch/i386-pseudo.c (main): Ditto.
6535
ee92b0dd
DE
65362014-08-27 Doug Evans <dje@google.com>
6537
6538 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6539
6649db35
DE
65402014-08-25 Doug Evans <dje@google.com>
6541
6542 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6543 (main): Ditto.
6544
564b7600
DE
65452014-08-25 Doug Evans <dje@google.com>
6546
6547 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6548
3881fb67
YQ
65492014-08-24 Yao Qi <yao@codesourcery.com>
6550
6551 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6552 symbol off.
6553 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6554
a05a36a5
DE
65552014-08-22 Doug Evans <dje@google.com>
6556
6557 PR 17276
6558 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6559 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6560 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6561
7c343b48
YQ
65622014-08-22 Yao Qi <yao@codesourcery.com>
6563
6564 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6565 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6566 * gdb.python/python.exp: Likewise. Use .py file on the host
6567 instead of the build.
6568
22fd09ae
JK
65692014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6570
6571 * gdb.threads/gcore-stale-thread.c: New file.
6572 * gdb.threads/gcore-stale-thread.exp: New file.
6573
a8454a7c
PA
65742014-08-21 Pedro Alves <palves@redhat.com>
6575
6576 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6577 * gdb.base/gcore-relro-pie.exp: Likewise.
6578 * gdb.base/gcore-relro.exp: Likewise.
6579 * gdb.base/gcore.exp: Likewise.
6580 * gdb.base/print-symbol-loading.exp: Likewise.
6581 * gdb.threads/gcore-thread.exp: Likewise.
6582 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6583
2a31c623
PA
65842014-08-20 Pedro Alves <palves@redhat.com>
6585 Jan Kratochvil <jan.kratochvil@redhat.com>
6586
6587 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6588 configure.
6589 (EXPECT): Handle READ1 being set.
6590 (all): Depend on EXTRA_RULES.
6591 (check-read1, expect-read1, read1.so, read1): New rules.
6592 * README (Testsuite Parameters): Document the READ1 make variable.
6593 (Race detection): New section.
6594 * configure: Regenerate.
6595 * configure.ac: If build==host==target, and running under a
6596 GNU/glibc system, add read1 to the extra Makefile rules.
6597 (EXTRA_RULES): AC_SUBST it.
6598 * lib/read1.c: New file.
6599
d36430db
JB
66002014-08-20 Joel Brobecker <brobecker@adacore.com>
6601
6602 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6603 the handling of variables declared as a typedef to an array
6604 which a DW_AT_data_location attribute.
6605
9a0dc9e3
PA
66062014-08-19 Andrew Burgess <aburgess@broadcom.com>
6607 Pedro Alves <palves@redhat.com>
6608
6609 PR symtab/14604
6610 PR symtab/14605
6611 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6612 gdb_test.
6613
0718a8da
PA
66142014-08-19 Pedro Alves <palves@redhat.com>
6615
6616 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6617
13b448cd
YQ
66182014-08-19 Yao Qi <yao@codesourcery.com>
6619
6620 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6621 right line.
6622
1cbf5077
DB
66232014-08-18 David Blaikie <dblaikie@gmail.com>
6624
6625 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6626
bf0fae19
JB
66272014-08-18 Joel Brobecker <brobecker@adacore.com>
6628
6629 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6630 attribute in array range.
6631
3c8c5dcc
JB
66322014-08-18 Joel Brobecker <brobecker@adacore.com>
6633
6634 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6635
e66d4446
SC
66362014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6637
6638 PR c++/17132
6639 * gdb.cp/pr17132.cc: New file.
6640 * gdb.cp/pr17132.exp: New file.
6641
940df408
SC
66422014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6643
6644 * gdb.python/py-xmethods.py (A_getarrayind)
6645 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6646 Use 'print' with function call syntax.
6647 (E_method_matcher.match): Fix tab vs space indentation mixup.
6648
ebcc6c3a
YQ
66492014-08-15 Yao Qi <yao@codesourcery.com>
6650
6651 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6652 false.
6653
775e0f04
YQ
66542014-08-15 Yao Qi <yao@codesourcery.com>
6655
6656 * gdb.cp/casts.exp: Set print symbol off.
6657 * gdb.cp/class2.exp: Likewise.
6658 * gdb.cp/overload.exp: Likewise.
6659 * gdb.cp/templates.exp: Likewise.
6660
d769e349
DE
66612014-08-11 Doug Evans <dje@google.com>
6662
6663 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6664 (test_load_shlib): Update.
6665
20c6f1e1
YQ
66662014-08-09 Yao Qi <yao@codesourcery.com>
6667
6668 * gdb.base/display.exp: Invoke is_address_zero_readable.
6669 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6670 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6671 * gdb.base/hbreak-unmapped.exp: Return if
6672 is_address_zero_readable returns true.
6673 * gdb.base/signest.exp: Likewise.
6674 * gdb.base/signull.exp: Likewise.
6675 * gdb.base/sigbpt.exp: Likewise.
6676 * gdb.guile/scm-disasm.exp: Do the test if
6677 is_address_zero_readable returns false.
6678 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6679 * gdb.python/py-arch.exp: Likewise.
6680 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6681 * lib/gdb.exp (is_address_zero_readable): New proc.
6682
5792e8e3
YQ
66832014-08-09 Yao Qi <yao@codesourcery.com>
6684
6685 PR testsuite/13443
6686 * gdb.mi/mi-var-display.exp: Make test messages unique.
6687
3cecbbbe
TT
66882014-08-04 Tom Tromey <tromey@redhat.com>
6689
6690 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6691 target 0".
6692
00b51ff5
TT
66932014-08-04 Tom Tromey <tromey@redhat.com>
6694
6695 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6696 "target_resume".
6697
6908c509
JB
66982014-08-01 Joel Brobecker <brobecker@adacore.com>
6699
6700 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6701 inner_vla_struct_object_size.
6702 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6703 as xfail.
6704
cc6563d2
PA
67052014-07-30 Pedro Alves <palves@redhat.com>
6706
6707 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6708 comment.
6709
7e09a223
YQ
67102014-07-29 Yao Qi <yao@codesourcery.com>
6711
6712 PR gdb/17206
6713 * gdb.base/until-nodebug.exp: New.
6714
7ebdbe92
DE
67152014-07-28 Doug Evans <xdje42@gmail.com>
6716
6717 PR guile/17203
6718 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6719 previously existing parameter, and previously ambiguously spelled
6720 parameter.
6721
fdb1adc6
WN
67222014-07-28 Will Newton <will.newton@linaro.org>
6723
6724 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6725
186fcde0
DE
67262014-07-26 Ludovic Courtès <ludo@gnu.org>
6727 Doug Evans <xdje42@gmail.com>
6728
6729 PR guile/17146
6730 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6731
70509625
PA
67322014-07-25 Pedro Alves <palves@redhat.com>
6733
6734 * gdb.threads/signal-command-handle-nopass.c: New file.
6735 * gdb.threads/signal-command-handle-nopass.exp: New file.
6736 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6737 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6738 * gdb.threads/signal-delivered-right-thread.c: New file.
6739 * gdb.threads/signal-delivered-right-thread.exp: New file.
6740
c3f814a1
PA
67412014-07-25 Pedro Alves <palves@redhat.com>
6742
6743 * gdb.base/double-prompt-target-event-error.exp
6744 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6745 match.
6746 (cancel_pagination_in_target_event): Rework double prompt
6747 detection.
6748 * gdb.base/paginate-after-ctrl-c-running.exp
6749 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6750 <return>' match.
6751 * gdb.base/paginate-bg-execution.exp
6752 (test_bg_execution_pagination_return)
6753 (test_bg_execution_pagination_cancel): Remove '-notransfer
6754 <return>' matches.
6755 * gdb.base/paginate-execution-startup.exp
6756 (test_fg_execution_pagination_return)
6757 (test_fg_execution_pagination_cancel): Remove '-notransfer
6758 <return>' matches.
6759 * gdb.base/paginate-inferior-exit.exp
6760 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6761 match.
6762 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6763 * lib/gdb.exp (pagination_prompt): Run text through
6764 string_to_regexp.
6765 (gdb_test_multiple): Match $pagination_prompt instead of
6766 "<return>".
6767 (string_to_regexp): Move to lib/gdb-utils.exp.
6768
e214cf6c
JK
67692014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6770
6771 * gdb.arch/amd64-entry-value-paramref.S: New file.
6772 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6773 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6774 * gdb.arch/amd64-optimout-repeat.S: New file.
6775 * gdb.arch/amd64-optimout-repeat.c: New file.
6776 * gdb.arch/amd64-optimout-repeat.exp: New file.
6777
17d0c5c8
JK
67782014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6779
6780 PR gdb/17170
6781 * gdb.base/statistics.exp: New file.
6782
b8b8facf
DE
67832014-07-17 Doug Evans <dje@google.com>
6784
74b49205 6785 PR gdb/17170
b8b8facf
DE
6786 * gdb.base/maint.exp: Update testing of per-command stats.
6787
1b5d0ab3
PA
67882014-07-16 Pedro Alves <palves@redhat.com>
6789
6790 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6791 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6792 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6793 (tfile_write_buf): New functions.
6794 (add_memory_block): Rewrite using the above.
6795 (adjust_function_address): New function.
6796 (FUNCTION_ADDRESS): New macro.
6797 (write_basic_trace_file): Remove short_x local, and use
6798 tfile_write_16. Change type of func_addr local to unsigned long
6799 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6800 here. Cast argument of add_memory_block to char pointer.
6801 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6802 (main): Remove parameters.
6803 * gdb.trace/tfile.exp: Remove nowarnings.
6804
4d974e88
SM
68052014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6806
6807 * gdb.base/debug-expr.exp: Test string evaluation with
6808 "debug expression" on.
6809
41e99568
PA
68102014-07-15 Pedro Alves <palves@redhat.com>
6811
6812 * gdb.base/reread.exp: Use clean_restart.
6813
487d9753
PL
68142014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6815
6816 * gdb.arch/avr-flash-qualifer.c: New.
6817 * gdb.arch/avr-flash-qualifer.exp: New.
6818
cc1c52ad
PA
68192014-07-14 Pedro Alves <palves@redhat.com>
6820
6821 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6822 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6823
1e973570
PA
68242014-07-14 Pedro Alves <palves@redhat.com>
6825
6826 * gdb.base/double-prompt-target-event-error.c: New file.
6827 * gdb.base/double-prompt-target-event-error.exp: New file.
6828
93d6eb10
PA
68292014-07-14 Pedro Alves <palves@redhat.com>
6830
6831 PR gdb/17072
6832 * gdb.base/paginate-inferior-exit.c: New file.
6833 * gdb.base/paginate-inferior-exit.exp: New file.
6834
0017922d
PA
68352014-07-14 Pedro Alves <palves@redhat.com>
6836
6837 PR gdb/17072
6838 * gdb.base/paginate-bg-execution.c: New file.
6839 * gdb.base/paginate-bg-execution.exp: New file.
6840
94696ad3
PA
68412014-07-14 Pedro Alves <palves@redhat.com>
6842
6843 PR gdb/17072
6844 * gdb.base/paginate-execution-startup.c: New file.
6845 * gdb.base/paginate-execution-startup.exp: New file.
6846 * lib/gdb.exp (pagination_prompt): New global.
6847 (default_gdb_spawn): New procedure, factored out from
6848 default_gdb_spawn.
6849 (default_gdb_start): Adjust to call default_gdb_spawn.
6850 (gdb_spawn): New procedure.
6851
bd293940
PA
68522014-07-14 Pedro Alves <palves@redhat.com>
6853
6854 * lib/gdb.exp (gdb_assert): New procedure.
6855 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6856
c933f875
PA
68572014-07-14 Pedro Alves <palves@redhat.com>
6858
6859 * gdb.base/execution-termios.c: New file.
6860 * gdb.base/execution-termios.exp: New file.
6861
d98b7a16
TT
68622014-07-14 Tom Tromey <tromey@redhat.com>
6863
6864 * gdb.cp/vla-cxx.cc: New file.
6865 * gdb.cp/vla-cxx.exp: New file.
6866
548740d6
TT
68672014-07-14 Tom Tromey <tromey@redhat.com>
6868
6869 * gdb.reverse/rerun-prec.c: New file.
6870 * gdb.reverse/rerun-prec.exp: New file.
6871
a25eb028
MR
68722014-07-12 Maciej W. Rozycki <macro@mips.com>
6873 Maciej W. Rozycki <macro@codesourcery.com>
6874
6875 * lib/gdb-utils.exp: New file.
6876 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6877 inline `gdb_init_command' processing.
6878 (gdb_start_cmd): Likewise.
6879 * lib/mi-support.exp (mi_run_cmd): Likewise.
6880 * README: Document `gdb_init_command' and `gdb_init_commands'.
6881
218c2655
JK
68822014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6883
6884 Fix false FAIL running under a very long directory name.
6885 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6886 and "set print elements 10000". Twice.
6887
5401fde3
YQ
68882014-07-11 Yao Qi <yao@codesourcery.com>
6889
6890 * gdb.base/exprs.exp: "set print symbol off".
6891
e76126e8
PA
68922014-07-11 Pedro Alves <palves@redhat.com>
6893
6894 * gdb.threads/kill.c: New file.
6895 * gdb.threads/kill.exp: New file.
6896
2d6f0de6
YQ
68972014-07-10 Yao Qi <yao@codesourcery.com>
6898
6899 * gdb.trace/tfile.c (write_basic_trace_file)
6900 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6901 address written to trace file.
6902
7180e04a
PA
69032014-07-09 Pedro Alves <palves@redhat.com>
6904
6905 * gdb.base/attach-wait-input.exp: New file.
6906 * gdb.base/attach-wait-input.c: New file.
6907
9a9a7608
AB
69082014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6909
6910 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6911 setting up test structures.
6912 (main): Call new test function.
6913 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6914 test function, continue into test function and walk test
6915 structures.
6916
161ac41e
YQ
69172014-07-02 Yao Qi <yao@codesourcery.com>
6918
6919 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6920 'bar_start' at the beginning of functions 'foo' and 'bar'
6921 respectively.
6922 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6923 instead of 'foo' and 'bar'.
6924
1f267ae3
MM
69252014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6926
6927 * gdb.btrace/segv.exp: New.
6928 * gdb.btrace/segv.c: New.
6929
2b239efb
LM
69302014-07-02 Luis Machado <lgustavo@codesourcery.com>
6931
6932 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6933 instruction.
6934
cf363f18
MW
69352014-06-30 Mark Wielaard <mjw@redhat.com>
6936
6937 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6938 vulture, vilify, villar): New volatile array constants.
6939 (vindictive, vegetation): New const volatile array constants.
6940 * gdb.base/volatile.exp: Test volatile and const volatile array
6941 types.
6942
aebf9d24
AA
69432014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6944
6945 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6946 target lacks support for awatch, rwatch, or hbreak.
6947
b67a2c6f
YQ
69482014-06-27 Yao Qi <yao@codesourcery.com>
6949
6950 * gdb.multi/dummy-frame-restore.exp: New.
6951 * gdb.multi/dummy-frame-restore.c: New.
6952
aef92902
MM
69532014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6954
6955 * gdb.btrace/gcore.exp: New.
6956
8e9db26e
PA
69572014-06-23 Pedro Alves <palves@redhat.com>
6958
6959 * gdb.base/watchpoint-reuse-slot.c: New file.
6960 * gdb.base/watchpoint-reuse-slot.exp: New file.
6961
70afc5b7
SC
69622014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6963
6964 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6965 progspace's filename in 'info', 'enable' and 'disable' command
6966 tests.
6967
b972bd9c
JK
69682014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6969
6970 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6971 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6972 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6973
125f8a3d
GB
69742014-06-20 Gary Benson <gbenson@redhat.com>
6975
6976 * gdb.arch/i386-avx.exp: Fix include file location.
6977 * gdb.arch/i386-sse.exp: Likewise.
6978
3ed9baed
IB
69792014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6980
6981 * gdb.dlang/expression.exp: New file.
6982
034f788c
PA
69832014-06-19 Pedro Alves <palves@redhat.com>
6984
6985 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6986 out from ...
6987 (top level): ... here. Iterate running tests under different
6988 scheduler-locking settings.
6989
45371d0c
LM
69902014-06-18 Luis Machado <lgustavo@codesourcery.com>
6991
6992 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6993 to DW_FORM_addr and use non-zero addresses.
6994
5d376983
SC
69952014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6996
6997 PR gdb/17017
6998 * gdb.python/py-xmethods.cc: Add global function call counters and
6999 increment them in their respective functions. Remove "cout"
7000 statements.
7001 * gdb.python/py-xmethods.exp: Make tests check the global function
7002 call counters instead of depending on inferior IO.
7003
a1aa2221
LM
70042014-06-18 Don Breazeal <donb@codesourcery.com>
7005
7006 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7007 Deleted procedure.
7008 (explicit_fork_parent_follow): Deleted procedure.
7009 (explicit_fork_child_follow): Deleted procedure.
7010 (test_follow_fork): New procedure.
7011 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 7012 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
7013 procedure calls.
7014
0fc05997
YQ
70152014-06-17 Yao Qi <yao@codesourcery.com>
7016
7017 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7018 CP1252.
7019
70795c52
LM
70202014-06-17 Luis Machado <lgustavo@codesourcery.com>
7021
7022 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7023 Initialize ptr and S explicitly.
7024 (skip_type_update_when_not_use_rtti_test): Likewise.
7025
6be47f0c
KS
70262014-06-16 Keith Seitz <keiths@redhat.com>
7027
7028 PR mi/15863
7029 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7030 the inferior is started.
7031
d03de421
PA
70322014-06-16 Pedro Alves <palves@redhat.com>
7033
7034 * gdb.base/break-main-file-remove-fail.c: New file.
7035 * gdb.base/break-main-file-remove-fail.exp: New file.
7036 * gdb.base/break-unload-file.exp: Use build_executable instead of
7037 prepare_for_testing.
7038 (test_break): New parameter "initial_load". Handle it.
7039 (top level): Add initial_load cmdline/file axis.
7040
f9579b99
TT
70412014-06-12 Tom Tromey <tromey@redhat.com>
7042
7043 * gdb.base/completion.exp: Don't use directory name in test.
7044
3657956b
GB
70452014-06-09 Gary Benson <gbenson@redhat.com>
7046
7047 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7048 separate the always-available ANSI-standard signals from the
7049 signals that require checking.
7050 (main): Likewise.
7051 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7052 Likewise.
7053 (main): Likewise.
7054
4186eb54
KS
70552014-06-07 Keith Seitz <keiths@redhat.com>
7056
7057 Revert:
7058 PR c++/16253
7059 * gdb.cp/var-tag.cc: New file.
7060 * gdb.cp/var-tag.exp: New file.
7061 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7062 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7063 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7064 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7065
25326a28 70662014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
7067
7068 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7069
829155c9
PA
70702014-06-06 Pedro Alves <palves@redhat.com>
7071
7072 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7073 in target debug output instead of looking at RSP packets,
7074 disabling the test on any target that uses hardware stepping.
7075 Update comments.
7076
61c8d22e
PA
70772014-06-06 Pedro Alves <palves@redhat.com>
7078
7079 * gdb.base/break-unload-file.exp: Fix typo.
7080
d9a47287
YQ
70812014-06-06 Yao Qi <yao@codesourcery.com>
7082
7083 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7084 from "jit_function" to "^jit_function".
7085
e5e01dbf
YQ
70862014-06-06 Yao Qi <yao@codesourcery.com>
7087
7088 * gdb.base/async.c (foo): Add one statement.
7089 * gdb.base/async.exp: Get the next instruction address and
7090 match the output of "nexti" by instruction address. Match
7091 the hex address in the output of "finish".
7092
73ba372c
GB
70932014-06-06 Gary Benson <gbenson@redhat.com>
7094
7095 * gdb.base/call-signals.c: Remove preprocessor conditionals
7096 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7097 SIGSEGV and SIGTERM.
7098 * gdb.base/sigall.c: Likewise.
7099 * gdb.base/unwindonsignal.c: Likewise.
7100 * gdb.reverse/sigall-reverse.c: Likewise.
7101
831517df
YQ
71022014-06-06 Yao Qi <yao@codesourcery.com>
7103
7104 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7105 readable, skip the test.
7106
b8b91e98
YQ
71072014-06-06 Yao Qi <yao@codesourcery.com>
7108
7109 * gdb.threads/staticthreads.c (thread_function): Move the line
7110 setting breakpoint on forward.
7111 * gdb.threads/staticthreads.exp: Update comments.
7112
fb934770
LC
71132014-06-05 Ludovic Courtès <ludo@gnu.org>
7114
7115 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7116 "history-append! type error".
7117
6ef284bd
SM
71182014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7119
7120 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7121 erroneous dprintf expected input.
7122
a872e241
DE
71232014-06-04 Doug Evans <xdje42@gmail.com>
7124
7125 * gdb.guile/scm-generics.exp: Delete.
7126
16f691fb
DE
71272014-06-04 Doug Evans <xdje42@gmail.com>
7128
7129 * gdb.guile/scm-breakpoint.exp: Update.
7130 Add tests for breakpoint registration.
7131
012370f6
TT
71322014-06-04 Tom Tromey <tromey@redhat.com>
7133
7134 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7135 VLA-in-union.
7136 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7137 inner_vla_struct, vla_union types. Initialize objects of those
7138 types and compute their sizes.
7139
9f5a4cef
HZ
71402014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7141 Hui Zhu <hui@codesourcery.com>
7142
7143 * gdb.base/fileio.exp: Add test for shell not available as well as
7144 available.
7145 * gdb.base/fileio.c (test_system): Check for shell twice.
7146
90a45c4d
YQ
71472014-06-04 Yao Qi <yao@codesourcery.com>
7148
7149 * gdb.base/auto-connect-native-target.exp: Remove redundant
7150 space from the regexp pattern.
7151
70017e41
YQ
71522014-06-04 Yao Qi <yao@codesourcery.com>
7153
7154 * gdb.base/default.exp: Replace "child" with "native" in
7155 regexp pattern.
7156
883964a7
SC
71572014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7158
7159 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7160 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7161 * gdb.python/py-xmethods.py: Python script supporting the
7162 new testcase and tests.
7163
ef370185
JB
71642014-06-03 Joel Brobecker <brobecker@adacore.com>
7165 Pedro Alves <palves@redhat.com>
7166
7167 PR breakpoints/17000
7168 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7169 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7170
1e2ccb61
BM
71712014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7172
7173 * gdb.base/subst.exp: Add tests to verify partial path matching
7174 output.
7175
c6ec5ab2
PA
71762014-06-03 Pedro Alves <palves@redhat.com>
7177
7178 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7179 target that doesn't use software single-stepping.
7180
835c559f
PA
71812014-06-03 Pedro Alves <palves@redhat.com>
7182
7183 PR breakpoints/17000
7184 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7185 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7186
06eb1586
DE
71872014-06-02 Doug Evans <xdje42@gmail.com>
7188
7189 * gdb.guile/scm-parameter.exp: New file.
7190
e698b8c4
DE
71912014-06-02 Doug Evans <xdje42@gmail.com>
7192
7193 * gdb.guile/scm-cmd.c: New file.
7194 * gdb.guile/scm-cmd.exp: New file.
7195
ded03782
DE
71962014-06-02 Doug Evans <xdje42@gmail.com>
7197
7198 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7199 pretty-printer lookup.
7200 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7201 (make-pp_s-printer): Call it.
7202 (make-pretty-printer-from-dict): New function.
7203 (lookup-pretty-printer-maker-from-dict): New function.
7204 (*pretty-printer*): Simplify.
7205 (make-objfile-pp_s-printer): New function.
7206 (install-objfile-pretty-printers!): New function.
7207 (make-progspace-pp_s-printer): New function.
7208 (install-progspace-pretty-printers!): New function.
7209 * gdb.guile/scm-progspace.c: New file.
7210 * gdb.guile/scm-progspace.exp: New file.
7211
41fac0cf
PA
72122014-06-02 Pedro Alves <palves@redhat.com>
7213
7214 * gdb.base/dprintf-bp-same-addr.c: New file.
7215 * gdb.base/dprintf-bp-same-addr.exp: New file.
7216
96ae5695
EBM
72172014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7218
7219 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7220 * gdb.arch/powerpc-power.s: Likewise.
7221
da02b3a8
JB
72222014-06-02 Joel Brobecker <brobecker@adacore.com>
7223
7224 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7225
c72b2e7b
YQ
72262014-06-01 Yao Qi <yao@codesourcery.com>
7227
7228 * gdb.base/watchpoint.exp (test_watch_location): Check null
7229 pointer can be dereferenced. If not, do the test, otherwise
7230 skip it.
7231
53e8a631
AB
72322014-05-30 Andrew Burgess <aburgess@broadcom.com>
7233
7234 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7235 results.
7236 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7237
938f0e2f
AB
72382014-05-30 Andrew Burgess <aburgess@broadcom.com>
7239
7240 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7241 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7242 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7243 * gdb.arch/amd64-invalid-stack-top.c: New file.
7244 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7245
9ba6657a
PA
72462014-05-30 Pedro Alves <palves@redhat.com>
7247
7248 PR breakpoints/17000
7249 * gdb.base/sss-bp-on-user-bp.c: New file.
7250 * gdb.base/sss-bp-on-user-bp.exp: New file.
7251
522c09bf
DB
72522014-05-30 David Blaikie <dblaikie@gmail.com>
7253
7254 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7255 gnu_inline semantics via attribute.
7256 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7257 source explicitly specifies the required semantics.
7258
bf4ef81e
MR
72592014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7260
7261 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7262
329ea579
PA
72632014-05-29 Pedro Alves <palves@redhat.com>
7264 Tom Tromey <tromey@redhat.com>
7265
7266 * gdb.base/async-shell.exp: Don't enable target-async.
7267 * gdb.base/async.exp
7268 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7269 parameter. Adjust.
7270 (top level): Don't test with "target-async".
7271 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7272 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7273 * gdb.base/inferior-died.exp: Don't enable target-async.
7274 * gdb.base/interrupt-noterm.exp: Likewise.
7275 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7276 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7277 * gdb.mi/mi-nonstop.exp: Likewise.
7278 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7279 * gdb.mi/mi-nsintrall.exp: Likewise.
7280 * gdb.mi/mi-nsmoribund.exp: Likewise.
7281 * gdb.mi/mi-nsthrexec.exp: Likewise.
7282 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7283 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7284 * gdb.python/py-evsignal.exp: Don't enable target-async.
7285 * gdb.python/py-evthreads.exp: Likewise.
7286 * gdb.python/py-prompt.exp: Likewise.
7287 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7288 * gdb.server/solib-list.exp: Don't enable target-async.
7289 * gdb.threads/thread-specific-bp.exp: Likewise.
7290 * lib/mi-support.exp: Adjust to use mi-async.
7291
fd664c91
PA
72922014-05-29 Pedro Alves <palves@redhat.com>
7293
7294 PR gdb/13860
7295 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7296 reason, even in sync mode.
7297
251bde03
PA
72982014-05-29 Pedro Alves <palves@redhat.com>
7299 Hui Zhu <hui@codesourcery.com>
7300
7301 PR PR15693
7302 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7303 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7304 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7305 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7306
7f3c0343
JB
73072014-05-28 Joel Brobecker <brobecker@adacore.com>
7308
7309 * config/monitor.exp (gdb_target_monitor): Replace use of
7310 "set remotebaud" by "set serial baud".
7311
b2715b27
AW
73122014-05-26 Andy Wingo <wingo@igalia.com>
7313
7314 * gdb.guile/scm-breakpoint.exp:
7315 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7316 properties instead of gdb-object-properties.
7317
498a4489
YQ
73182014-05-26 Yao Qi <yao@codesourcery.com>
7319
7320 * gdb.server/no-thread-db.exp: Specify source file name
7321 explicitly when setting a breakpoint.
7322
589fdceb
MM
73232014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7324
7325 * gdb.btrace/vdso.c: New.
7326 * gdb.btrace/vdso.exp: New.
7327
e9089e05
MM
73282014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7329
7330 * gdb.base/gcore.exp (capture_command_output): Move ...
7331 * lib/gdb.exp (capture_command_output): ... here.
7332
67b5c0c1
MM
73332014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7334
7335 * gdb.btrace/data.exp: Test memory access during btrace replay.
7336
a2199296
SM
73372014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7338
7339 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7340
17b2616c
PA
73412014-05-21 Pedro Alves <palves@redhat.com>
7342
7343 PR gdb/13860
7344 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7345 (top level): Test that output related to execution commands is
7346 sent to the console with CLI commands, but not with MI commands.
7347 Test that breakpoint events are always mirrored to the console.
7348 Also expect the new source line to be output after a "next" in
7349 async mode too. Make it a pass/fail test.
7350 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7351 output.
7352 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7353
5166082f
PA
73542014-05-21 Pedro Alves <palves@redhat.com>
7355
7356 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7357 Use them to test variations of "list" after reaching a breakpoint.
7358 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7359 Test "list" with listsize 10 after reaching a breakpoint.
7360 * gdb.python/python.exp (decode_line current location line
7361 number): Adjust expected line number.
7362
2f25d70f
SM
73632014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7364
7365 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7366 behavior for $args, pass it directly to "run".
7367
ff604a67
MR
73682014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7369
7370 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7371 30000 to 65536.
7372
6a3cb8e8
PA
73732014-05-21 Pedro Alves <palves@redhat.com>
7374
7375 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7376 auto-connect-native-target off".
7377 * gdb.base/auto-connect-native-target.c: New file.
7378 * gdb.base/auto-connect-native-target.exp: New file.
7379
4ebfc96e
PA
73802014-05-21 Pedro Alves <palves@redhat.com>
7381
7382 * gdb.base/default.exp: Test "target native" instead of "target
7383 child".
7384
36d46afb
MW
73852014-05-21 Mark Wielaard <mjw@redhat.com>
7386
7387 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7388
5876f503
JK
73892014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7390
7391 Fix TLS access for -static -pthread.
7392 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7393 <HAVE_TLS> (thread_function, main): Initialize it.
7394 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7395 Add clean_restart.
7396 <$have_tls != "">: Check TLSVAR.
7397
0256a6ac
PA
73982014-05-21 Pedro Alves <palves@redhat.com>
7399
7400 * gdb.base/dcache-line-read-error.c: New.
7401 * gdb.base/dcache-line-read-error.exp: New.
7402
936d2992
PA
74032014-05-20 Pedro Alves <palves@redhat.com>
7404
7405 * gdb.base/compare-sections.c: New file.
7406 * gdb.base/compare-sections.exp: New file.
7407
802e8e6d
PA
74082014-05-20 Pedro Alves <palves@redhat.com>
7409
7410 * gdb.base/break-idempotent.c: New file.
7411 * gdb.base/break-idempotent.exp: New file.
7412
e59fa00f
MM
74132014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7414
7415 * gdb.btrace/nohist.exp: New.
7416
8b696e31
YQ
74172014-05-20 Yao Qi <yao@codesourcery.com>
7418
7419 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7420 gdb.reverse directory and gdb_reverse_timeout exists in board
7421 setting.
7422 * README: Document gdb_reverse_timeout.
7423
73c9764f
YQ
74242014-05-20 Yao Qi <yao@codesourcery.com>
7425
7426 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7427 'test_file_name'. Treat args as a string instead of a list.
7428 (gdb_init): Rename argument 'args' by 'test_file_name'.
7429
f1f4348a
JK
74302014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7431
7432 * gdb.arch/powerpc-power.exp: New file.
7433 * gdb.arch/powerpc-power.s: New file.
7434
0dbe70ce
DE
74352014-05-16 Doug Evans <dje@google.com>
7436
7437 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
7438 * gdb.base/completion.exp: Check that all expected files exist
7439 before doing file completion.
0dbe70ce 7440
8d551b02
DE
74412014-05-16 Doug Evans <dje@google.com>
7442
7443 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7444 Update.
7445 (do_syscall_tests_without_xml): Update.
7446
73eb7709
PA
74472014-05-16 Pedro Alves <palves@redhat.com>
7448
7449 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7450 instead of "unknown output after running".
7451
3fae92fc
YQ
74522014-05-16 Yao Qi <yao@codesourcery.com>
7453
7454 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7455 file1.txt from host at the end.
7456 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7457
c2b2ccc5
DE
74582014-05-15 Doug Evans <dje@google.com>
7459
7460 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7461 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7462 loading file. Add test for TU lookup.
7463
8c217a4b
SM
74642014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7465
7466 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7467 calling "-exec-arguments" or "set args" before running the
7468 inferior.
7469
3deb39c6
SM
74702014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7471
7472 * lib/mi-support.exp (mi_expect_stop): Expect message for
7473 inferiors that exit with non-zero exit code.
7474
71a79f8c
YQ
74752014-05-14 Yao Qi <yao@codesourcery.com>
7476
7477 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7478 match absolute path on remote host.
7479 (test_file_list_exec_source_files): Remove "/" from the
7480 pattern.
7481
f23fcd46
YQ
74822014-05-14 Yao Qi <yao@codesourcery.com>
7483
7484 * boards/local-remote-host-notty.exp (${board}_file): New
7485 proc.
7486
9404b58f
KM
74872014-05-07 Kyle McMartin <kyle@redhat.com>
7488
7489 Pushed by Joel Brobecker <brobecker@adacore.com>.
7490 * gdb.arch/aarch64-atomic-inst.c: New file.
7491 * gdb.arch/aarch64-atomic-inst.exp: New file.
7492
5e45f04c
YQ
74932014-05-07 Yao Qi <yao@codesourcery.com>
7494
7495 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7496 in current context" too.
7497
c888a17d
KS
74982014-05-05 Keith Seitz <keiths@redhat.com>
7499
7500 * gdb.linespec/ls-dollar.exp: Add test for linespec
7501 file:convenience_variable.
7502
290a839c
YQ
75032014-05-05 Yao Qi <yao@codesourcery.com>
7504
7505 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7506 traceframes into tfile and ctf trace files. Read data from
7507 trace file and test collected data.
7508 (gdb_collect_locals_test): Likewise.
7509 (gdb_unavailable_registers_test): Likewise.
7510 (gdb_unavailable_floats): Likewise.
7511 (gdb_collect_globals_test): Likewise.
7512 (top-level): Append "ctf" to trace_file_targets if GDB
7513 supports.
7514
b5262cd0
YQ
75152014-05-05 Yao Qi <yao@codesourcery.com>
7516
7517 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7518 code to ...
7519 (gdb_collect_args_test_1): ... it. New proc.
7520 (gdb_collect_locals_test): Move some code to ...
7521 (gdb_collect_locals_test_1): ... it. New proc.
7522 (gdb_unavailable_registers_test): Move some code to ...
7523 (gdb_unavailable_registers_test_1): ... it. New proc.
7524 (gdb_unavailable_floats): Move some code to ...
7525 (gdb_unavailable_floats_1): ... it. New proc.
7526
30a1e6cc
SDJ
75272014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7528
7529 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7530 probes to test for bitness recognition.
7531 * gdb.arch/amd64-stap-optional-prefix.exp
7532 (test_probe_value_without_reg): New procedure.
7533 Add code to test for different kinds of bitness.
7534
f33da99a
SDJ
75352014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7536
7537 PR breakpoints/16889
7538 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7539 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7540
5b80f00d
PA
75412014-05-01 Pedro Alves <palves@redhat.com>
7542
7543 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7544 gdb_file_cmd if no file is specified.
7545 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7546 last_loaded_file to set the remote exec-file.
7547
f8c2a73c
PA
75482014-05-01 Pedro Alves <palves@redhat.com>
7549
7550 * boards/local-remote-host.exp: New file.
7551
be6e8ac7
PA
75522014-05-01 Pedro Alves <palves@redhat.com>
7553
7554 * boards/local-remote-host.exp: Rename to ...
7555 * boards/local-remote-host-notty.exp: ... this.
7556
cac0dc8f
JB
75572014-04-28 Joel Brobecker <brobecker@adacore.com>
7558
7559 * gdb.ada/dyn_arrayidx: New testcase.
7560
9730e6cc
YQ
75612014-04-26 Yao Qi <yao@codesourcery.com>
7562
7563 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7564 and compute the length of function main. Save it in
7565 $main_length.
7566 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7567 (top-level): Use gdb_compile to compile objects into
7568 executable and restart GDB. Remove invocation to
7569 prepare_for_testing.
7570
7ae1a6a6
PA
75712014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7572 Pedro Alves <palves@redhat.com>
7573
7574 PR server/16255
7575 * gdb.multi/multi-attach.c: New file.
7576 * gdb.multi/multi-attach.exp: New file.
7577
4082afcc
PA
75782014-04-25 Pedro Alves <palves@redhat.com>
7579
7580 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7581 user.
7582 (top level): Test that "set remote conditional-breakpoints-packet
7583 off" works as intended.
7584 * gdb.base/dprintf.exp: Test that "set remote
7585 breakpoint-commands-packet off" works as intended.
7586 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7587 New function.
7588 (top level): Call it.
7589 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7590 remote fast-tracepoints-packet off" works as intended.
7591 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7592 * lib/gdb.exp (gdb_is_target_remote): ... here.
7593
2abc3f8d
DB
75942014-04-24 David Blaikie <dblaikie@gmail.com>
7595
7596 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7597 ensure clang would not discard them.
7598 * gdb.base/gdbvars.c: Ditto.
7599 * gdb.base/memattr.c: Ditto.
7600 * gdb.base/whatis.c: Ditto.
7601 * gdb.python/py-prettyprint.c: Ditto.
7602 * gdb.trace/actions.c: Ditto.
7603 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7604 ensure clang would not discard it.
7605
bfd39632
DB
76062014-04-24 David Blaikie <dblaikie@gmail.com>
7607
7608 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7609 clang to emit the full definition of type required by the test
7610 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7611
22842ff6
DB
76122014-04-24 David Blaikie <dblaikie@gmail.com>
7613
7614 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7615 coax Clang into emitting the definition of the type.
7616 * gdb.cp/pr10728-x.h (y): Ditto.
7617 * gdb.cp/pr10728-y.cc (y): Ditto.
7618
c2e827ad
DB
76192014-04-24 David Blaikie <dblaikie@gmail.com>
7620
7621 * gdb.base/label.exp: XFAIL label related tests under Clang.
7622 * gdb.cp/cplabel.exp: Ditto.
7623 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7624 under Clang those using labels.
7625
4c2d33e7
YQ
76262014-04-25 Yao Qi <yao@codesourcery.com>
7627
7628 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7629 double_label.
7630 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7631 partial_label and double_label.
7632
56083b99
DB
76332014-04-24 David Blaikie <dblaikie@gmail.com>
7634
7635 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7636
25d4e99d
DB
76372014-04-24 David Blaikie <dblaikie@gmail.com>
7638
7639 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7640 of the function to work across GCC and Clang.
7641 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7642 pointer types (const void ** const V void **).
7643
01f9f808
MS
76442014-04-24 Michael Sturm <michael.sturm@mintel.com>
7645 Walfred Tedeschi <walfred.tedeschi@intel.com>
7646
7647 * Makefile.in (EXECUTABLES): Added i386-avx512.
7648 * gdb.arch/i386-avx512.c: New file.
7649 * gdb.arch/i386-avx512.exp: Likewise.
7650
4b48d439
KS
76512014-04-23 Keith Seitz <keiths@redhat.com>
7652
7653 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7654 (mi_make_breakpoint_table): New procedure.
7655 (mi_create_breakpoint): Use mi_make_breakpoint
7656 and return the result.
7657 (mi_make_breakpoint): New procedure.
7658 (mi_build_kv_pairs): New procedure.
7659
7660 * gdb.mi/mi-break.exp: Remove unused globals,
7661 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7662 All callers updated.
7663 * gdb.mi/mi-dprintf.exp: Use variable to track command
7664 number.
7665 Update all callers of mi_create_breakpoint and use
7666 mi_make_breakpoint_table.
7667 Remove any unused global variables.
7668 * gdb.mi/mi-nonstop.exp: Likewise.
7669 * gdb.mi/mi-nsintrall.exp: Likewise.
7670 * gdb.mi/mi-nsmoribund.exp: Likewise.
7671 * gdb.mi/mi-nsthrexec.exp: Likewise.
7672 * gdb.mi/mi-reverse.exp: Likewise.
7673 * gdb.mi/mi-simplerun.exp: Likewise.
7674 * gdb.mi/mi-stepn.exp: Likewise.
7675 * gdb.mi/mi-syn-frame.exp: Likewise.
7676 * gdb.mi/mi-until.exp: Likewise.
7677 * gdb.mi/mi-var-cp.exp: Likewise.
7678 * gdb.mi/mi-var-display.exp: Likewise.
7679 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7680 * gdb.mi/mi2-var-child.exp: Likewise.
7681 * gdb.mi/mi-vla-c99.exp: Likewise.
7682 * lib/mi-support.exp: Likewise.
7683
7684 From Ian Lance Taylor <iant@cygnus.com>:
7685 * lib/gdb.exp (parse_args): New procedure.
7686
08351840
PA
76872014-04-23 Pedro Alves <palves@redhat.com>
7688
7689 * gdb.base/break-unload-file.c: New file.
7690 * gdb.base/break-unload-file.exp: New file.
7691 * gdb.base/sym-file-lib.c (baz): New function.
7692 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7693 field.
7694 (load): Store the segment's mapped size.
7695 (unload): New function.
7696 (unload_shlib): New function.
7697 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7698 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7699 set a breakpoint at baz, and call it.
7700 * gdb.base/sym-file.exp: New tests for stale breakpoint
7701 instructions.
7702
076855f9
PA
77032014-04-23 Pedro Alves <palves@redhat.com>
7704
7705 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7706 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7707 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7708 * gdb.base/hbreak-unmapped.c: New file.
7709 * gdb.base/hbreak-unmapped.exp: New file.
7710 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7711 * lib/gdb.exp (gdb_is_target_remote): ... here.
7712
483805cf
PA
77132014-04-22 Pedro Alves <palves@redhat.com>
7714
7715 * gdb.base/consecutive-step-over.c: New file.
7716 * gdb.base/consecutive-step-over.exp: New file.
7717
06d97543
PA
77182014-04-22 Pedro Alves <palves@redhat.com>
7719
7720 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7721 instead of send_gdb/gdb_expect.
7722
b4429ea2
YQ
77232014-04-22 Yao Qi <yao@codesourcery.com>
7724
7725 * lib/trace-support.exp (generate_tracefile): New procedure.
7726 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7727 return 0.
7728 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7729 if generate_tracefile returns 1.
7730
51d48146
PA
77312014-04-18 Tom Tromey <palves@redhat.com>
7732 Pedro alves <tromey@redhat.com>
7733
7734 PR backtrace/15558
7735 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7736 with a backtrace limit.
7737 * gdb.python/py-frame-inline.exp: Test running to an inline
7738 function with a backtrace limit, and printing the newest frame.
7739 * gdb.python/py-frame-inline.c (main): Call f.
7740
bd1dce5f
MS
77412014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7742
7743 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7744
40d1a503
MS
77452014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7746
7747 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7748 Drop prefix from unsupported source file path.
7749
389b98f7
YQ
77502014-04-17 Yao Qi <yao@codesourcery.com>
7751
7752 * lib/gdb.exp (with_target_charset): New proc.
7753 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7754 with_target_charset.
7755 (test_print_strings): Likewise.
7756 (test_repeat_bytes): Likewise.
7757 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7758 for some tests.
7759
22869d73
KS
77602014-04-16 Keith Seitz <keiths@redhat.com>
7761
7762 PR gdb/15827
7763 * gdb.dwarf2/corrupt.c: New file.
7764 * gdb.dwarf2/corrupt.exp: New file.
7765
c4f87ca6
KS
77662014-04-16 Keith Seitz <keiths@redhat.com>
7767
7768 PR c++/16597
7769 * gdb.cp/namelessclass.cc: New file.
7770 * gdb.cp/namelessclass.exp: New file.
7771 * gdb.cp/namelessclass.S: New file.
7772
ab19de87
DE
77732014-04-16 Doug Evans <dje@google.com>
7774
7775 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7776 Add comment.
7777 (gdbserver_default_get_comm_port): New function.
7778 (gdbserver_start): Check if board file provided
7779 "gdbserver,get_comm_port" and use it if so.
7780 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7781 (gdb,socketport): Set to "stdio".
7782 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7783 (stdio_gdbserver_template): Delete.
7784 (${board}_get_remote_address): Update.
7785 (${board}_build_remote_cmd): Delete.
7786 (${board}_get_comm_port): New function.
7787 (${board}_spawn): Update.
7788 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7789 Delete.
7790 (${board}_get_remote_address): Update.
7791 (${board}_get_comm_port): New function.
7792
fc98a809
AB
77932014-04-16 Andrew Burgess <aburgess@broadcom.com>
7794
7795 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7796 appearing in any order.
7797
87fd9e6e
DE
77982014-04-15 Doug Evans <dje@google.com>
7799
7800 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7801 uninitialized value of "description".
7802
099fc3ea
KS
78032014-04-15 Keith Seitz <keiths@redhat.com>
7804
7805 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7806 Remove unused globals.
7807 (test_running_the_program): Likewise.
7808 (test_controlled_execution): Likewise.
7809 (test_controlling_breakpoints): Likewise.
7810 (test_program_termination): Likewise.
7811
5da151d4
KS
78122014-04-15 Keith Seitz <keiths@redhat.com>
7813
7814 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7815 unused globals.
7816 (test_rbreak_creation_and_listing): Likewise.
7817 (test_ignore_count): Likewise.
7818 (test_error): Likewise.
7819
35e5d2f0
PA
78202014-04-15 Pedro Alves <palves@redhat.com>
7821
7822 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7823 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7824 sym-file-loader.c.
7825 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7826 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7827 to sym-file-loader.c.
7828 (struct library): Forward declare.
7829 (load_shlib, lookup_function): Change prototypes.
7830 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7831 (translate_offset): Remove declarations.
7832 (get_text_addr): New declaration.
7833 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7834 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7835 sym-file-loader.h.
7836 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7837 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7838 here from sym-file-loader.h.
7839 (struct library): New structure.
7840 (load_shlib, lookup_function): Change prototypes and adjust to
7841 work with a struct library.
7842 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7843 (translate_offset): Make static.
7844 (get_text_addr): New function.
7845 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7846
eb4c1710
PA
78472014-04-15 Pedro Alves <palves@redhat.com>
7848
7849 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7850
2d1baf52
PA
78512014-04-15 Pedro Alves <palves@redhat.com>
7852
7853 * gdb.base/sym-file-loader.c: Include <limits.h>.
7854 (SELF_LINK): New define.
7855 (get_origin): New function.
7856 (load_shlib): Use it.
7857 * gdb.base/sym-file.exp: Don't early return if the target is
7858 remote. Use runto_main, and issue fail is that fails. Use
7859 gdb_load_shlibs.
7860 (shlib_name): Delete.
7861 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7862
7dd6df01
PA
78632014-04-15 Pedro Alves <palves@redhat.com>
7864
7865 * gdb.base/sym-file.exp: Remove regex characters from test
7866 message. Don't refer to breakpoint numbers in test messages.
7867
b50c8614
KS
78682014-04-14 Keith Seitz <keiths@redhat.com>
7869
7870 PR c++/16253
7871 * gdb.cp/var-tag.cc: New file.
7872 * gdb.cp/var-tag.exp: New file.
7873 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7874 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7875 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7876 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7877
3d567982
TT
78782014-04-14 Tom Tromey <tromey@redhat.com>
7879
7880 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7881 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7882 type.
7883 * gdb.cp/enum-class.exp: New file.
7884 * gdb.cp/enum-class.cc: New file.
7885
0626fc76
TT
78862014-04-14 Tom Tromey <tromey@redhat.com>
7887
7888 * gdb.dwarf2/enum-type.exp: New file.
7889
dca325b3
SA
78902014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7891
7892 * gdb.mi/mi-vla-c99.exp: New file.
7893 * gdb.mi/vla.c: New file.
7894
5854b38a
SA
78952014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7896
7897 * gdb.base/vla-datatypes.c: New file.
7898 * gdb.base/vla-datatypes.exp: New file.
7899
463bb957
SA
79002014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7901
7902 * gdb.base/vla-ptr.c: New file.
7903 * gdb.base/vla-ptr.exp: New file.
7904
3dd170be
SA
79052014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7906
7907 * gdb.dwarf2/count.exp: New file.
7908
5ecaaa66
SA
79092014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7910
7911 * gdb.base/vla-sideeffect.c: New file.
7912 * gdb.base/vla-sideeffect.exp: New file.
7913
41f1ada5
DB
79142014-04-14 David Blaikie <dblaikie@gmail.com>
7915
7916 * gdb.mi/non-stop.c: Add return value for non-void function return
7917 statement.
7918 * gdb.threads/staticthreads.c: Ditto.
7919
0be03e84
DE
79202014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7921 Doug Evans <xdje42@gmail.com>
7922
7923 * gdb.guile/scm-value.c: Improve test case.
7924 * gdb.guile/scm-value.exp: Add new test.
7925
f180a1fb
DB
79262014-04-11 David Blaikie <dblaikie@gmail.com>
7927
7928 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7929 override Clang's default.
7930
6b662e19
JB
79312014-04-11 Joel Brobecker <brobecker@adacore.com>
7932
7933 Revert the following changes (regressions):
7934
7935 * gdb.base/vla-sideeffect.c: New file.
7936 * gdb.base/vla-sideeffect.exp: New file.
7937
7938 * gdb.dwarf2/count.exp: New file.
7939
7940 * gdb.base/vla-multi.c: New file.
7941 * gdb.base/vla-multi.exp: New file.
7942
7943 * gdb.base/vla-ptr.c: New file.
7944 * gdb.base/vla-ptr.exp: New file.
7945
7946 * gdb.base/vla-datatypes.c: New file.
7947 * gdb.base/vla-datatypes.exp: New file.
7948
7949 * gdb.mi/mi-vla-c99.exp: New file.
7950 * gdb.mi/vla.c: New file.
7951
245a5f0b
KS
79522014-04-11 Keith Seitz <keiths@redhat.com>
7953
7954 PR c++/16675
7955 * gdb.cp/cpsizeof.exp: New file.
7956 * gdb.cp/cpsizeof.cc: New file.
7957
58a84dcf
SA
79582014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7959
191a8a90
JB
7960 * gdb.mi/mi-vla-c99.exp: New file.
7961 * gdb.mi/vla.c: New file.
58a84dcf 7962
c8655f75
SA
79632014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7964
7965 * gdb.base/vla-datatypes.c: New file.
7966 * gdb.base/vla-datatypes.exp: New file.
7967
024e13b4
SA
79682014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7969
7970 * gdb.base/vla-ptr.c: New file.
7971 * gdb.base/vla-ptr.exp: New file.
7972
1a237e0e
SA
79732014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7974
7975 * gdb.base/vla-multi.c: New file.
7976 * gdb.base/vla-multi.exp: New file.
7977
504f3432
SA
79782014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7979
7980 * gdb.dwarf2/count.exp: New file.
7981
3bce8237
SA
79822014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7983
191a8a90
JB
7984 * gdb.base/vla-sideeffect.c: New file.
7985 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 7986
322f9c21
YQ
79872014-04-11 Yao Qi <yao@codesourcery.com>
7988
7989 * gdb.base/completion.exp: Check file exists before running tests
7990 on file completion.
7991
d708bcd1
PA
79922014-04-10 Pedro Alves <palves@redhat.com>
7993
7994 * gdb.base/cond-eval-mode.c: New file.
7995 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7996 prepare_for_testing to build the new file. Check result of
7997 runto_main.
7998 (test_break, test_watch): New procedures.
7999 (top level): Use them.
8000
ae1d2761
PM
80012014-04-08 Pierre Muller <muller@sourceware.org>
8002
8003 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8004 Ctrl-V use for mingw hosts.
8005
7af389b8
SC
80062014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8007
8008 * gdb.python/py-value.c: Improve test case.
8009 * gdb.python/py-value.exp: Add new test.
8010
5e703181
DE
80112014-04-07 David Blaikie <dblaikie@gmail.com>
8012
8013 * lib/compiler.c: Identify the clang compiler.
8014 * lib/compiler.cc: Ditto.
8015
9810b410
YQ
80162014-04-03 Yao Qi <yao@codesourcery.com>
8017
8018 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8019
98d1b8dc
AB
80202014-04-01 Anton Blanchard <anton@samba.org>
8021
8022 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8023 messages unique.
8024
3114cea1
AB
80252014-04-01 Anton Blanchard <anton@samba.org>
8026
8027 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8028 prepare_for_testing.
8029
62f7182c
AB
80302014-04-01 Anton Blanchard <anton@samba.org>
8031
8032 * gdb.arch/ppc64-atomic-inst.c: Remove.
8033 * gdb.arch/ppc64-atomic-inst.S: New file.
8034 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8035
770e7fc7
DE
80362014-03-31 Doug Evans <dje@google.com>
8037
8038 * gdb.base/print-symbol-loading-lib.c: New file.
8039 * gdb.base/print-symbol-loading-main.c: New file.
8040 * gdb.base/print-symbol-loading.exp: New file.
8041
46e2bafa
YQ
80422014-03-31 Yao Qi <yao@codesourcery.com>
8043
8044 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8045
8776cfe9
JB
80462014-03-28 Joel Brobecker <brobecker@adacore.com>
8047
8048 * gdb.ada/mi_dyn_arr: New testcase.
8049
5d1ef361
DE
80502014-03-27 Doug Evans <dje@google.com>
8051
8052 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8053
b5bee914
YQ
80542014-03-27 Yao Qi <yao@codesourcery.com>
8055
8056 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8057 if target is nios2-*-*.
8058
0d4d0e77
YQ
80592014-03-26 Yao Qi <yao@codesourcery.com>
8060
8061 * lib/gdb.exp (readline_is_used): New proc.
8062 * gdb.base/completion.exp: Move tests on command complete up.
8063 Skip the rest of tests if readline is not used.
8064 * gdb.ada/complete.exp: Skp the test if readline is not
8065 used.
8066 * gdb.base/filesym.exp: Likewise.
8067 * gdb.base/macscp.exp: Likewise.
8068 * gdb.base/readline-ask.exp: Likewise.
8069 * gdb.base/readline.exp: Likewise.
8070 * gdb.python/py-cmd.exp: Likewise.
8071 * gdb.trace/tfile.exp: Likewise.
8072
29361eee
YQ
80732014-03-26 Yao Qi <yao@codesourcery.com>
8074
8075 * gdb.base/macscp.exp: Fix code format issues.
8076
bc9a5525
UW
80772014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8078
8079 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8080 * gdb.asm/powerpc64le.inc: New file.
8081
d3839ede
PA
80822014-03-25 Pedro Alves <palves@redhat.com>
8083 Doug Evans <dje@google.com>
8084
8085 * gdb.base/source-execution.c: New file.
8086 * gdb.base/source-execution.exp: New file.
8087 * gdb.base/source-execution.gdb: New file.
8088
01672a57
DE
80892014-03-24 Doug Evans <dje@google.com>
8090
8091 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8092 using fission.
8093
88bbeca9
HZ
80942014-03-24 Hui Zhu <hui@codesourcery.com>
8095 Pedro Alves <palves@redhat.com>
8096
8097 PR breakpoints/16101
8098 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8099 test pass/fail messages. Detect missing support for dprintf when
8100 breakpoints are actually inserted.
8101 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8102 breakpoints are actually inserted.
8103 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8104 fails.
8105
d2348791
JK
81062014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8107
8108 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8109
feef67ab
DE
81102014-03-22 Doug Evans <xdje42@gmail.com>
8111
8112 * gdb.python/python.exp (python not supported): Verify multi-line
8113 python command issues an error.
25d743f9 8114 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 8115 guile command issues an error.
feef67ab 8116
ecebef6a
MR
81172014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8118
8119 * gdb.threads/thread-specific.exp: Handle the lack of usable
8120 $this_breakpoint and $this_thread.
8121
ccdd1909
HZ
81222014-03-21 Hui Zhu <hui@codesourcery.com>
8123
8124 * gdb.base/attach.exp (do_command_attach_tests): New.
8125
beb460e8
PA
81262014-03-20 Tom Tromey <tromey@redhat.com>
8127 Pedro Alves <palves@redhat.com>
8128
8129 PR cli/15718
8130 * gdb.base/condbreak-call-false.c: New file.
8131 * gdb.base/condbreak-call-false.exp: New file.
8132
40acf43a
PA
81332014-03-20 Pedro Alves <palves@redhat.com>
8134
8135 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8136 Delete.
8137 (block_signals, unblock_signals): Delete.
8138 (child_function_2, main): Remove references to deleted variable
8139 and functions.
8140
9f5e1e02
PA
81412014-03-20 Pedro Alves <palves@redhat.com>
8142
8143 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8144 Use pthread_kill to signal thread 2.
8145 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8146 Adjust to make the test send itself a signal rather than using the
8147 host's "kill" command.
8148
99619bea
PA
81492014-03-20 Pedro Alves <palves@redhat.com>
8150
8151 * gdb.threads/multiple-step-overs.c: New file.
8152 * gdb.threads/multiple-step-overs.exp: New file.
8153 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8154 Adjust expected infrun debug output.
8155
2adfaa28
PA
81562014-03-20 Pedro Alves <palves@redhat.com>
8157
8158 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8159 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8160
31e77af2
PA
81612014-03-20 Pedro Alves <palves@redhat.com>
8162
8163 PR breakpoints/7143
8164 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8165 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8166 of gdb_test_multiple.
8167 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8168 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8169
b9f437de
PA
81702014-03-20 Pedro Alves <palves@redhat.com>
8171
8172 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8173 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8174
05adc73e
PA
81752014-03-19 Pedro Alves <palves@redhat.com>
8176
8177 * gdb.base/async.exp: Remove early return.
8178
6048b950
PA
81792014-03-19 Pedro Alves <palves@redhat.com>
8180
8181 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8182
8bcfb00a
PA
81832014-03-19 Pedro Alves <palves@redhat.com>
8184
8185 * gdb.base/async.exp (test_background): Expect \r\n after
8186 "completed." in the fail pattern.
8187
884e37dc
PA
81882014-03-19 Pedro Alves <palves@redhat.com>
8189
8190 * gdb.base/async.exp (test_background): New procedure.
8191 Use it for all background execution command tests.
8192
148e57e2
PA
81932014-03-19 Pedro Alves <palves@redhat.com>
8194
8195 * gdb.base/async.exp: Use prepare_for_testing.
8196
f48088c7
PA
81972014-03-19 Pedro Alves <palves@redhat.com>
8198
8199 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8200 the same line.
8201
e2f6c966
PA
82022014-03-19 Pedro Alves <palves@redhat.com>
8203
8204 * gdb.base/async.c (main): Add "jump here" and "until here" line
8205 marker comments.
8206 * gdb.base/async.exp (jump_here): New global.
8207 (jump& test): Use it.
8208 (until_here): New global.
8209 (until& test): Use it.
8210
c30568d4
PA
82112014-03-19 Pedro Alves <palves@redhat.com>
8212
8213 * gdb.base/async.exp: Don't frob gdb_protocol.
8214
0172b6a7
DE
82152014-03-18 Doug Evans <xdje42@gmail.com>
8216
8217 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8218 Fix spelling of exec-done-display.
8219
06c868a8
JK
82202014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8221
8222 PR gdb/15358
8223 * gdb.base/gdb-sigterm.c: New file.
8224 * gdb.base/gdb-sigterm.exp: New file.
8225
0c7e1a46
PA
82262014-03-18 Pedro Alves <palves@redhat.com>
8227
8228 PR gdb/13860
8229 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8230 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8231 solib-event.
8232
f7c77d93
JB
82332014-03-17 Joel Brobecker <brobecker@adacore.com>
8234
8235 * gdb.ada/pckd_arr_ren: New testcase.
8236
5a1e8c7a
DE
82372014-03-13 Doug Evans <xdje42@gmail.com>
8238
8239 PR guile/16612
8240 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8241 collect after discarding symbols.
8242
350e1a76
DE
82432014-03-13 Ludovic Courtès <ludo@gnu.org>
8244 Doug Evans <xdje42@gmail.com>
8245
8246 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8247 to history survives a gc.
8248
a69900ae
PA
82492014-03-13 Pedro Alves <palves@redhat.com>
8250
8251 * gdb.base/default.exp: Don't test "target procfs".
8252
5db9f0bd
PA
82532014-03-13 Pedro Alves <palves@redhat.com>
8254
8255 * gdb.base/default.exp: Update "target child" and "target procfs"
8256 tests to not expect "Unix".
8257
b3ccfe11
TT
82582014-03-12 Tom Tromey <tromey@redhat.com>
8259
8260 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8261 New procs. Add target-async tests.
8262 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8263 Add target-async tests.
8264
646f4417
AA
82652014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8266
8267 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8268 'func_start' and 'func_end' for the beginning and end of the
8269 function code, respectively.
8270 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8271 'func_end' instead of 'func' and 'main'.
8272
288c211f
AA
82732014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8274
8275 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8276 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8277 generate the debug info assembler source.
8278
e0c0f156
AA
82792014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8280
8281 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8282 * gdb.dwarf2/arr-subrange.exp: Likewise.
8283 * gdb.dwarf2/dwz.exp: Likewise.
8284 * gdb.dwarf2/method-ptr.exp: Likewise.
8285 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8286 * gdb.dwarf2/subrange.exp: Likewise.
8287 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8288 * gdb.dwarf2/implptrpiece.exp: Likewise.
8289 * gdb.dwarf2/nostaticblock.exp: Likewise.
8290
0e5c4555
AA
82912014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8292
8293 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8294 directory to absolute path name arguments.
8295
5ec18f2b
JG
82962014-03-10 Joel Brobecker <brobecker@adacore.com>
8297
8298 * gdb.ada/tagged_access: New testcase.
8299
847fc4f2
MM
83002014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8301
8302 * gdb.btrace/data.exp: Update expected output.
8303
cc3da688
YQ
83042014-03-06 Yao Qi <yao@codesourcery.com>
8305
8306 * gdb.trace/pr16508.exp: New file.
8307
0f26cec1
PA
83082014-03-05 Pedro Alves <palves@redhat.com>
8309
8310 PR gdb/16575
8311 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8312 procedure.
8313 (top level): Adjust to use it. Add tests that exercise breakpoint
8314 interaction with the code-cache.
8315
7a5a839f
LC
83162014-02-26 Ludovic Courtès <ludo@gnu.org>
8317
8318 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8319 test for 'history-append!'.
8320
31aa7e4e
JB
83212014-02-26 Joel Brobecker <brobecker@adacore.com>
8322
8323 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8324 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8325 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8326 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8327 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8328 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8329
1b588015
JB
83302014-02-26 Joel Brobecker <brobecker@adacore.com>
8331
8332 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8333 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8334 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8335
55426c9d
JB
83362014-02-26 Joel Brobecker <brobecker@adacore.com>
8337
8338 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8339
dc53a7ad
JB
83402014-02-26 Joel Brobecker <brobecker@adacore.com>
8341
8342 * gdb.dwarf2/arr-stride.c: New file.
8343 * gdb.dwarf2/arr-stride.exp: New file.
8344
12ab52e9
PA
83452014-02-26 Pedro Alves <palves@redhat.com>
8346
8347 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8348 that won't ever trigger. Make sure that GDB reports the correct
8349 breakpoint that caused the stop.
8350
849c862e
JK
83512014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8352
8353 PR gdb/16626
8354 * gdb.base/auto-load-script: New file.
8355 * gdb.base/auto-load.c: New file.
8356 * gdb.base/auto-load.exp: New file.
8357
71b7d793
JK
8358 PR gdb/16626
8359 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8360
e2f0d509
JK
83612014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8362
8363 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8364 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8365
50cc37c8
DE
83662014-02-24 Doug Evans <dje@google.com>
8367
8368 * lib/gdb.exp (run_on_host): Log error output if program fails.
8369
ea4758f2
PA
83702014-02-21 Pedro Alves <palves@redhat.com>
8371
8372 * gdb.threads/step-after-sr-lock.c: Rename to ...
8373 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8374 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8375 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8376 ... this.
8377
d7b30f67
SDJ
83782014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8379
8380 PR tdep/16397
8381 * gdb.arch/amd64-stap-special-operands.exp: New file.
8382 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8383 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8384 * gdb.arch/amd64-stap-triplet.S: Likewise.
8385 * gdb.arch/amd64-stap-triplet.c: Likewise.
8386
83deb43f
JB
83872014-02-20 Joel Brobecker <brobecker@adacore.com>
8388
8389 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8390 in .section pseudo-op.
8391
adde2bff
DE
83922014-02-20 lin zuojian <manjian2006@gmail.com>
8393 Joel Brobecker <brobecker@adacore.com>
8394 Doug Evans <xdje42@gmail.com>
8395
8396 PR symtab/16581
8397 * gdb.dwarf2/dw2-icycle.S: New file.
8398 * gdb.dwarf2/dw2-icycle.c: New file.
8399 * gdb.dwarf2/dw2-icycle.exp: New file.
8400
f7bd0f78
SC
84012014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8402
8403 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8404 operations on gdb.Value objects.
8405 * gdb.python/py-value-cc.exp: Add new test to test operations on
8406 gdb.Value objects.
8407
c17ef0d5
DE
84082014-02-18 Doug Evans <dje@google.com>
8409
8410 * Makefile.in (TESTS): New variable.
8411 (expanded_tests, expanded_tests_or_none): New variables
8412 (check-single): Pass $(expanded_tests_or_none) to runtest.
8413 (check-parallel): Only run tests in $(TESTS) if non-empty.
8414 (check/no-matching-tests-found): New rule.
8415 * README: Document TESTS makefile variable.
8416
5dd3176f
DE
84172014-02-18 Doug Evans <dje@google.com>
8418
8419 * Makefile.in (check-parallel): rm -rf outputs temp.
8420
0b10be4f
JK
84212014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8422
8423 Fix "ERROR: no fileid for" in the testsuite.
8424 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8425
85f224e7
DE
84262014-02-12 Doug Evans <dje@google.com>
8427
8428 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8429 (MISCELLANEOUS): New variable.
8430 (clean): rm -rf $(MISCELLANEOUS).
8431 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8432 dwp live in the same directory as symlinks, with each symlink pointed
8433 to a differently named file in a different directory.
8434
149b30ff
DE
84352014-02-11 Doug Evans <dje@google.com>
8436
8437 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8438 of Tcl file commands.
8439
1dfdac32
MK
84402014-02-10 Mark Kettenis <kettenis@gnu.org>
8441
8442 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8443 "kill -SIGUSR1 -1".
8444
aa4fb036
JB
84452014-02-10 Joel Brobecker <brobecker@adacore.com>
8446
8447 * gdb.ada/tick_length_array_enum_idx: New testcase.
8448
ed3ef339
DE
84492014-02-10 Doug Evans <xdje42@gmail.com>
8450
8451 * configure.ac (AC_OUTPUT): Add gdb.guile.
8452 * configure: Regenerate.
8453 * lib/gdb-guile.exp: New file.
8454 * lib/gdb.exp (get_target_charset): New function.
8455 * gdb.base/help.exp: Update expected output from "apropos apropos".
8456 * gdb.guile/Makefile.in: New file.
8457 * gdb.guile/guile.exp: New file.
8458 * gdb.guile/scm-arch.c: New file.
8459 * gdb.guile/scm-arch.exp: New file.
8460 * gdb.guile/scm-block.c: New file.
8461 * gdb.guile/scm-block.exp: New file.
8462 * gdb.guile/scm-breakpoint.c: New file.
8463 * gdb.guile/scm-breakpoint.exp: New file.
8464 * gdb.guile/scm-disasm.c: New file.
8465 * gdb.guile/scm-disasm.exp: New file.
8466 * gdb.guile/scm-equal.c: New file.
8467 * gdb.guile/scm-equal.exp: New file.
8468 * gdb.guile/scm-error.exp: New file.
8469 * gdb.guile/scm-error.scm: New file.
8470 * gdb.guile/scm-frame-args.c: New file.
8471 * gdb.guile/scm-frame-args.exp: New file.
8472 * gdb.guile/scm-frame-args.scm: New file.
8473 * gdb.guile/scm-frame-inline.c: New file.
8474 * gdb.guile/scm-frame-inline.exp: New file.
8475 * gdb.guile/scm-frame.c: New file.
8476 * gdb.guile/scm-frame.exp: New file.
8477 * gdb.guile/scm-generics.exp: New file.
8478 * gdb.guile/scm-gsmob.exp: New file.
8479 * gdb.guile/scm-iterator.c: New file.
8480 * gdb.guile/scm-iterator.exp: New file.
8481 * gdb.guile/scm-math.c: New file.
8482 * gdb.guile/scm-math.exp: New file.
8483 * gdb.guile/scm-objfile-script-gdb.in: New file.
8484 * gdb.guile/scm-objfile-script.c: New file.
8485 * gdb.guile/scm-objfile-script.exp: New file.
8486 * gdb.guile/scm-objfile.c: New file.
8487 * gdb.guile/scm-objfile.exp: New file.
8488 * gdb.guile/scm-ports.exp: New file.
8489 * gdb.guile/scm-pretty-print.c: New file.
8490 * gdb.guile/scm-pretty-print.exp: New file.
8491 * gdb.guile/scm-pretty-print.scm: New file.
8492 * gdb.guile/scm-section-script.c: New file.
8493 * gdb.guile/scm-section-script.exp: New file.
8494 * gdb.guile/scm-section-script.scm: New file.
8495 * gdb.guile/scm-symbol.c: New file.
8496 * gdb.guile/scm-symbol.exp: New file.
8497 * gdb.guile/scm-symtab-2.c: New file.
8498 * gdb.guile/scm-symtab.c: New file.
8499 * gdb.guile/scm-symtab.exp: New file.
8500 * gdb.guile/scm-type.c: New file.
8501 * gdb.guile/scm-type.exp: New file.
8502 * gdb.guile/scm-value-cc.cc: New file.
8503 * gdb.guile/scm-value-cc.exp: New file.
8504 * gdb.guile/scm-value.c: New file.
8505 * gdb.guile/scm-value.exp: New file.
8506 * gdb.guile/source2.scm: New file.
8507 * gdb.guile/types-module.cc: New file.
8508 * gdb.guile/types-module.exp: New file.
8509
7026a7c1
YQ
85102014-02-10 Yao Qi <yao@codesourcery.com>
8511
8512 PR testsuite/16543
8513 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8514 * configure: Regenerated.
8515 * Makefile.in: New file.
8516
6c466447
AS
85172014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8518
8519 * gdb.python/py-framefilter.exp: Fix typo.
8520
6e854735
YQ
85212014-02-08 Yao Qi <yao@codesourcery.com>
8522
8523 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8524 that no =breakpoint-modified is emitted when breakpoints are
8525 modified through MI commands.
8526
d137e6dc
PA
85272014-02-07 Pedro Alves <pedro@codesourcery.com>
8528 Pedro Alves <palves@redhat.com>
8529
8530 * gdb.threads/step-after-sr-lock.c: New file.
8531 * gdb.threads/step-after-sr-lock.exp: New file.
8532
b5ee5a50
PA
85332014-02-07 Pedro Alves <palves@redhat.com>
8534
8535 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8536
3c77faf3
JK
85372014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8538
8539 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8540 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8541
6dddc817
DE
85422014-02-06 Doug Evans <xdje42@gmail.com>
8543
8544 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8545 output.
8546
8547 * gdb.gdb/python-interrupts.exp: New file.
8548
de7b2893
YQ
85492014-02-05 Yao Qi <yao@codesourcery.com>
8550
8551 * gdb.trace/report.exp (use_collected_data): Test the output
8552 of "info threads" and "info inferiors".
8553
66d032ac
YQ
85542014-02-05 Yao Qi <yao@codesourcery.com>
8555
8556 Revert this patch:
8557
8558 2013-05-24 Yao Qi <yao@codesourcery.com>
8559
8560 * gdb.trace/tfile.exp: Test inferior and thread.
8561
591a12a1
UW
85622014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8563
8564 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8565 on a function.
8566 * gdb.base/step-bt.c: Call hello via function pointer to make
8567 sure its first instruction is executed on powerpc64le-linux.
8568
0ff3e01f
UW
85692014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8570
8571 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8572
084ee545
UW
85732014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8574
8575 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8576 of the test patterns for use on little-endian systems.
8577
6ed14ff3
UW
85782014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8579
8580 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8581 (decimal_vector): Fix for little-endian.
8582
401e27fd
JM
85832014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8584
8585 * gdb.arch/sparc-sysstep.exp: New file.
8586 * gdb.arch/sparc-sysstep.c: Likewise.
8587
8588 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8589
8b924729
EBM
85902014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8591
8592 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8593
fb151210
JB
85942014-01-23 Tom Tromey <tromey@redhat.com>
8595
8596 * gdb.ada/array_char_idx: New testcase.
8597
0740f8d8
TT
85982014-01-23 Tom Tromey <tromey@redhat.com>
8599
8600 PR python/16487:
8601 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8602 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8603 classes.
8604
21909fa1
TT
86052014-01-23 Tom Tromey <tromey@redhat.com>
8606
8607 PR python/16491:
8608 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8609 string from an inferior frame.
8610 * gdb.python/py-framefilter-mi.exp: Update.
8611
87ce2a04
DE
86122014-01-22 Doug Evans <dje@google.com>
8613
8614 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8615
237b092b
AA
86162014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8617
8618 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8619
d674a709
AA
86202014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8621
8622 * gdb.trace/entry-values.exp: Remove excess space character from
8623 regex patterns. Handle s390 call instruction.
8624
20fa3390
AA
86252014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8626
8627 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8628 define "*_start" label. Make "name" static.
8629 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8630 ${name} by references to ${name}_start.
8631
78466714
AA
86322014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8633
8634 * gdb.base/info-macros.exp: Remove "debug" from the compile
8635 options.
8636
ec9f644a
IB
86372014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8638
8639 * gdb.dlang/demangle.exp: New file.
8640
94b1b47e
IB
86412014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8642
8643 * gdb.dlang/primitive-types.exp: New file.
8644
7f420862
IB
86452014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8646
8647 * configure.ac: Create gdb.dlang/Makefile.
8648 * configure: Regenerate.
8649 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8650 * gdb.dlang/Makefile.in: New file.
8651 * lib/d-support.exp: New file.
8652 * lib/gdb.exp (skip_d_tests): New proc.
8653
52834460
MM
86542014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8655
8656 * gdb.btrace/delta.exp: Check reverse stepi.
8657 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8658 * gdb.btrace/finish.exp: New.
8659 * gdb.btrace/next.exp: New.
8660 * gdb.btrace/nexti.exp: New.
8661 * gdb.btrace/record_goto.c: Add comments.
8662 * gdb.btrace/step.exp: New.
8663 * gdb.btrace/stepi.exp: New.
8664 * gdb.btrace/multi-thread-step.c: New.
8665 * gdb.btrace/multi-thread-step.exp: New.
8666 * gdb.btrace/rn-dl-bind.c: New.
8667 * gdb.btrace/rn-dl-bind.exp: New.
8668 * gdb.btrace/data.c: New.
8669 * gdb.btrace/data.exp: New.
8670 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8671
6e07b1d2
MM
86722014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8673
8674 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8675 * gdb.btrace/exception.exp: Update.
8676 * gdb.btrace/instruction_history.exp: Update.
8677 * gdb.btrace/record_goto.exp: Update.
8678 * gdb.btrace/tailcall.exp: Update.
8679 * gdb.btrace/unknown_functions.exp: Update.
8680 * gdb.btrace/delta.exp: New.
8681
0b722aec
MM
86822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8683
8684 * gdb.btrace/record_goto.exp: Add backtrace test.
8685 * gdb.btrace/tailcall.exp: Add backtrace test.
8686
066ce621
MM
86872014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8688
8689 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8690 * gdb.btrace/record_goto.c: New.
8691 * gdb.btrace/record_goto.exp: New.
8692 * gdb.btrace/x86-record_goto.S: New.
8693
0688d04e
MM
86942014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8695
8696 * gdb.btrace/function_call_history.exp: Update tests.
8697 * gdb.btrace/instruction_history.exp: Update tests.
8698
8710b709
MM
86992014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8700
8701 * gdb.btrace/function_call_history.exp: Fix expected field
8702 order for "record function-call-history".
8703 Add new tests for "record function-call-history /c".
8704 * gdb.btrace/exception.cc: New.
8705 * gdb.btrace/exception.exp: New.
8706 * gdb.btrace/tailcall.exp: New.
8707 * gdb.btrace/x86-tailcall.S: New.
8708 * gdb.btrace/x86-tailcall.c: New.
8709 * gdb.btrace/unknown_functions.c: New.
8710 * gdb.btrace/unknown_functions.exp: New.
8711 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8712
5de9129b
MM
87132014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8714
8715 * gdb.btrace/instruction_history.exp: Update.
8716 * gdb.btrace/function_call_history.exp: Update.
8717
23a7fe75
MM
87182014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8719
8720 * gdb.btrace/function_call_history.exp: Fix expected function
8721 trace.
8722 * gdb.btrace/instruction_history.exp: Initialize traced.
8723 Remove traced_functions.
8724
724c7dd8
MM
87252014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8726
8727 * gdb.btrace/function_call_history.exp: Update
8728 * gdb.btrace/instruction_history.exp: Update.
8729
6d78d93b
MM
87302014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8731
8732 * gdb.btrace/enable.exp: Update expected text.
8733
93a360cc
OJ
87342014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8735
8736 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8737 bytes.
8738
3772b53f
MR
87392014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8740
8741 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8742
596662fa
OJ
87432014-01-15 Omair Javaid <omair.javaid@linaro.org>
8744
8745 * lib/gdb.exp (supports_process_record): Return true for
8746 arm*-linux*. (supports_reverse): Likewise.
8747
b5b08fb4
SC
87482014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8749
8750 PR python/15464
8751 PR python/16113
8752 * gdb.python/py-type.c: Enhance test case.
8753 * gdb.python/py-value-cc.cc: Likewise
8754 * gdb.python/py-type.exp: Add new tests.
8755 * gdb.python/py-value-cc.exp: Likewise
8756
52d7fb13
AA
87572014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8758 Pedro Alves <palves@redhat.com>
8759
8760 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8761 Make "name" extern.
8762 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8763 references to ${name}_start by references to ${name}.
8764
a2cd8cfe
JB
87652014-01-10 Joel Brobecker <brobecker@adacore.com>
8766
8767 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8768
4e23fced
JB
87692014-01-10 Joel Brobecker <brobecker@adacore.com>
8770
8771 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8772
c6a9e42c
PA
87732014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8774 Pedro Alves <palves@redhat.com>
8775
8776 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 8777 mi_gdb_target_load.
c6a9e42c 8778
b7ea362b
PA
87792014-01-08 Pedro Alves <palves@redhat.com>
8780
8781 * gdb.threads/reconnect-signal.c: New file.
8782 * gdb.threads/reconnect-signal.exp: New file.
8783
5e3f4fab
EBM
87842014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8785
8786 * gdb.base/source-dir.exp: New file.
8787
79301218
JB
87882014-01-07 Joel Brobecker <brobecker@adacore.com>
8789
8790 * gdb.ada/mi_interface: New testcase.
8791
8e355c5d
JB
87922014-01-07 Joel Brobecker <brobecker@adacore.com>
8793
8794 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8795 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8796 gdb.ada/pp-rec-component/pck.ads: New files.
8797
c0d48811
JB
87982014-01-07 Joel Brobecker <brobecker@adacore.com>
8799
8800 * gdb.python/py-pp-integral.c: New file.
8801 * gdb.python/py-pp-integral.py: New file.
8802 * gdb.python/py-pp-integral.exp: New file.
8803
17b609c3 8804For older changes see ChangeLog-1993-2013.
c906108c 8805\f
8d8cb839
EZ
8806;; Local Variables:
8807;; mode: change-log
8808;; left-margin: 8
8809;; fill-column: 74
8810;; version-control: never
8811;; End:
902f2ccb 8812
618f726f 8813 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
8814 Copying and distribution of this file, with or without modification,
8815 are permitted provided the copyright notice and this notice are preserved.