testsuite: Fix gdb.gdb/selftest.exp for C++-O2-g-built GDB
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
027d97f8
JK
12016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
4 "step into captured_main (args)".
5
7674d381
JK
62016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7
8 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
9
72b5d099
JK
102016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11
12 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
13
1f960ced
PA
142016-07-19 Pedro Alves <palves@redhat.com>
15
16 * gdb.opt/inline-break.exp: Remove optimize=-O2.
17 * gdb.opt/inline-bt.exp: Likewise.
18 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
19 additional_flags=-Winline.
20 * gdb.opt/inline-locals.exp: Likewise.
21 * gdb.opt/inline-markers.c (ATTR): Define.
22 (inlined_fn): Use it.
23
f25827c1
YQ
242016-07-19 Yao Qi <yao.qi@linaro.org>
25
26 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
27 (test_with_self): Remove some code. Remove argument executable.
28 (top-level): Use do_self_tests.
29
37539ebe
DB
302016-07-15 Zachary Welch <zwelch@codesourcery.com>
31 Don Breazeal <donb@codesourcery.com>
32
33 * gdb.base/maint.exp: Escape paths used in regular expressions.
34 * gdb.stabs/weird.exp: Likewise.
35
dac790e1
TT
362016-07-13 Tom Tromey <tom@tromey.com>
37
38 PR python/15620, PR python/18620:
39 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
40 (test_bkpt_events): New procs.
41
93daf339
TT
422016-07-13 Tom Tromey <tom@tromey.com>
43
44 PR python/17698:
45 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
46 test.
47 (test_watchpoints): Likewise.
48 (test_bkpt_pending): New proc.
49
6571a381
TT
502016-07-13 Tom Tromey <tom@tromey.com>
51
52 PR cli/18053:
53 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
54 completion test.
55
e8732474
JK
562016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
57
58 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
59 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
60 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
61 f_label.
62 (g): Rename g_end_lbl to g_label.
63 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
64 low_pc and high_pc.
65 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
66
e0f3fd7c
TT
672016-07-12 Tom Tromey <tom@tromey.com>
68
69 PR python/19293:
70 * gdb.python/py-unwind-maint.exp: Update tests.
71
3cfe46b6
YQ
722016-07-12 Yao Qi <yao.qi@linaro.org>
73
74 * lib/selftest-support.exp (selftest_setup): Match the output
75 when captured_main is inlined.
76
4f19a0e6
WT
772016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
78
79 * gdb.fortran/derived-types.exp (result_line, result_line_2):
80 New variables.
81 (print this%a, print this%b, print this): New tests.
82 * gdb.fortran/derived-types.f90 (this): New object and
83 initialization.
84
986cf455
SM
852016-07-06 Simon Marchi <simon.marchi@ericsson.com>
86
87 * gdb.ada/arraydim.exp: Remove extra directory level in build
88 directory.
89
f0464b23
SM
902016-07-06 Simon Marchi <simon.marchi@ericsson.com>
91
92 * lib/ada.exp: Remove extra directory level in build directory.
93 * gdb.ada/cond_lang.exp: Likewise.
94 * gdb.ada/exec_changed.exp: Likewise.
95 * gdb.ada/lang_switch.exp: Likewise.
96
42d94011
MG
972016-07-06 Manish Goregaokar <manish@mozilla.com>
98
99 * simple.rs: Add test for raw pointer subscripting
100 * simple.exp: Add test expectations
101
647c264c
YQ
1022016-07-05 Yao Qi <yao.qi@linaro.org>
103
104 * gdb.mi/mi-reverse.exp: Match =record-started output.
105
20aa2c60
PA
1062016-07-01 Pedro Alves <palves@redhat.com>
107
108 * gdb.base/jit-reader.exp (info_registers_current_frame): New
109 procedure.
110 (jit_reader_test): Test the jit reader's unwinder.
111 * gdb.base/jithost.c (jit_function_00_code): New global.
112 (main): Use memcpy to fill in the mmapped code, instead of poking
113 bytes manually here.
114 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
115 value.
116 (read_debug_info): Save the function's range.
117 (read_sp): New function.
118 (unwind_frame): Use it. Also unwind RBP.
119 (get_frame_id): Use read_sp.
120 (gdb_init_reader): Use calloc instead of malloc.
121 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
122 parameter. Use gdb_test_multiple.
123
ced2dffb
PA
1242016-07-01 Pedro Alves <palves@redhat.com>
125 Antoine Tremblay <antoine.tremblay@ericsson.com>
126
127 * gdb.threads/process-dies-while-detaching.c: New file.
128 * gdb.threads/process-dies-while-detaching.exp: New file.
129
63000888
PA
1302016-07-01 Pedro Alves <palves@redhat.com>
131
132 * gdb.multi/watchpoint-multi-exit.c: New file.
133 * gdb.multi/watchpoint-multi-exit.exp: New file.
134
038d4868
PA
1352016-06-30 Pedro Alves <palves@redhat.com>
136
137 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
138 unset inferior_spawn_id.
139
994e9c83
PA
1402016-06-30 Pedro Alves <palves@redhat.com>
141
142 * lib/mi-support.exp (default_mi_gdb_start): Declare global
143 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
144
e5653468
YQ
1452016-06-29 Yao Qi <yao.qi@linaro.org>
146
147 * gdb.base/return.c: Add copyright header.
148
803b47e5
TT
1492016-06-29 Tom Tromey <tom@tromey.com>
150
151 PR python/20129:
152 * gdb.python/py-framefilter.exp: Add tests for setting priority
153 and disabling of non-existent frame filter.
154
28244707
YQ
1552016-06-29 Yao Qi <yao.qi@linaro.org>
156
157 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
158 0x0f07ff.
159
a31d2f06
YQ
1602016-06-28 Yao Qi <yao.qi@linaro.org>
161
162 * gdb.base/catch-syscall.exp: Remove check on isnative and target
163 triplets. Start gdb, execute catch syscall, and continue. Check
164 gdb's output to determine catch syscall is supported.
165
921d8f54
MG
1662016-06-27 Manish Goregaokar <manish@mozilla.com>
167
25d49b86
PA
168 * gdb.rust/simple.rs: Add test for returning unit in a function.
169 * gdb.rust/simple.exp: Add expectation for functions returning
170 unit.
921d8f54 171
f4952523
PMR
1722016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
173
174 * gdb.python/py-breakpoint-create-fail.c,
175 gdb.python/py-breakpoint-create-fail.exp,
176 gdb.python/py-breakpoint-create-fail.py: New testcase.
177
fccb08f8
MG
1782016-06-25 Manish Goregaokar <manish@mozilla.com>
179
180 PR gdb/20239
181 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
182 * gdb.rust/simple.exp: Add test expectations for new NonZero
183 tests.
fccb08f8 184
6b850546
DT
1852016-06-24 David Taylor <dtaylor@emc.com>
186
187 * gdb.base/offsets.exp: New file.
188 * gdb.base/offsets.c: New file.
189
17621150
TT
1902016-06-23 Tom Tromey <tom@tromey.com>
191
192 PR gdb/16483:
193 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
194 before any filters are loaded.
195
04d59df6
WT
1962016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
197
198 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
199 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
200 structs.
201 * gdb.fortran/derived-type-function.exp: New file.
202 * gdb.fortran/derived-type-function.f90: New file.
203
204
ac69f786
PA
2052016-06-21 Pedro Alves <palves@redhat.com>
206
207 * gdb.base/new-ui.exp: New file.
208 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
209 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
210 (with_spawn_id): New procedure.
211
49940788
PA
2122016-06-21 Pedro Alves <palves@redhat.com>
213
214 * gdb.mi/mi-exec-run.exp: New file.
215
ef274d26
PA
2162016-06-21 Pedro Alves <palves@redhat.com>
217
218 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
219 breakpoint command's output on the main UI.
220 (test_break): New procedure, factored out from calls in the top
221 level.
222 (top level): Use foreach_with_prefix to test MI as main UI and as
223 separate UI.
224
468afe6c
PA
2252016-06-21 Pedro Alves <palves@redhat.com>
226
227 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
228 (test_awatch_creation_and_listing)
229 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
230 Remove 'type' parameter.
231 (test_watchpoint_all): New parameter mi_mode. Remove
232 with_test_prefix.
233 (top level): Use foreach_with_prefix, and add main/separate UI MI
234 testing axis.
235
51f77c37
PA
2362016-06-21 Pedro Alves <palves@redhat.com>
237
238 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
239 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
240 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
241 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
242 (gdb_main_spawn_id, mi_spawn_id): Declare and
243 comment.
244 (mi_create_inferior_pty): New procedure,
245 factored out from default_mi_gdb_start.
246 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
247 procedures.
248 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
249 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
250 Use mi_create_inferior_pty.
251 (mi_gdb_start): Use eval to pass down args list.
252
8980e177
PA
2532016-06-21 Pedro Alves <palves@redhat.com>
254
255 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
256 * gdb.opt/inline-cmds.exp: Add MI tests.
257
f38d3ad1
PA
2582016-06-21 Pedro Alves <palves@redhat.com>
259
260 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
261
45db7c09
PA
2622016-06-21 Pedro Alves <palves@redhat.com>
263
264 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
265 (top level): Use it instead of mi_execute_to.
266
5a069ab3
PA
2672016-06-21 Pedro Alves <palves@redhat.com>
268
269 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
270 (cont_handler_str): New.
271 (signal_stop_handler): Set stop_handler_str instead of printing to
272 stdout.
273 (continue_handler): Set cont_handler_str instead of printing to
274 stdout.
275 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
276 mi_send_resuming_command. Print stop_handler_str and
277 cont_handler_str instead of expecting the python events print
278 directly.
279
2838cc1d
SD
2802016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
281
282 * gdb.base/jit-reader.exp: New file.
283 * gdb.base/jithost.c: New file.
284 * gdb.base/jithost.h: New file.
285 * gdb.base/jitreader.c : New file.
286 * gdb.base/jit-protocol.h: New file.
287
21a77091
YQ
2882016-06-17 Yao Qi <yao.qi@linaro.org>
289
290 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
291 parameters follow_fork and detach_on_fork. Set follow-fork-mode
292 and detach-on-fork. Adjust tests.
293 (top level): Invoke break_cond_on_syscall with combinations of
294 syscall, follow-fork-mode and detach-on-fork.
295
f50bf8e5
YQ
2962016-06-17 Yao Qi <yao.qi@linaro.org>
297
298 * gdb.base/step-over-exit.c: New.
299 * gdb.base/step-over-exit.exp: New.
300
a28d8e50
YTL
3012016-06-17 Yan-Ting Lin <currygt52@gmail.com>
302
303 * gdb.base/float.exp: Add target check for nds32*-*-*.
304 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
305
cad8e26d
AB
3062016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
307
308 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
309 for unsupported target features.
310 * gdb.base/call-rt-st.exp: Likewise.
311 * gdb.base/call-sc.exp: Likewise.
312 * gdb.base/call-signal-resume.exp: Likewise.
313 * gdb.base/call-strs.exp: Likewise.
314 * gdb.base/callexit.exp: Likewise.
315 * gdb.base/callfuncs.exp: Likewise.
316 * gdb.base/nodebug.exp: Likewise.
317 * gdb.base/printcmds.exp: Likewise.
318 * gdb.base/ptype.exp: Likewise.
319 * gdb.base/structs.exp: Likewise.
320 * gdb.base/unwindonsignal.exp: Likewise.
321 * gdb.cp/gdb2495.exp: Likewise.
322 * gdb.cp/templates.exp: Likewise.
323 * gdb.cp/virtfunc.exp: Likewise.
324 * gdb.threads/hand-call-in-threads.exp: Likewise.
325 * gdb.threads/interrupted-hand-call.exp: Likewise.
326 * gdb.threads/thread-unwindonsignal.exp: Likewise.
327
347dc102
TT
3282016-06-10 Tom Tromey <tom@tromey.com>
329
330 PR rust/20110:
331 * gdb.rust/expr.exp: Add test for integer constant larger than
332 i32.
333
5e13cf25
BH
3342016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
335
336 * gdb.fortran/nested-funcs.exp: New.
337 * gdb.fortran/nested-funcs.f90: New.
338
bb556f1f
TK
3392016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
340
341 * gdb.base/examine-backward.c: New file.
342 * gdb.base/examine-backward.exp: New file.
343
38b022b4
SM
3442016-06-06 Simon Marchi <simon.marchi@ericsson.com>
345
346 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
347 matching.
348
1b40ec05
TT
3492016-06-02 Tom Tromey <tom@tromey.com>
350
351 PR python/18984:
352 * gdb.python/py-shared.exp: Add solib_name test.
353
193bd378
SM
3542016-06-02 Simon Marchi <simon.marchi@ericsson.com>
355
356 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
357
3326303b
MG
3582016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
359
360 PR c++/19893
361 * gdb.dwarf2/implref.exp: Rename to...
362 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
363 * gdb.dwarf2/implref-array.c: New file.
364 * gdb.dwarf2/implref-array.exp: Likewise.
365 * gdb.dwarf2/implref-global.c: Likewise.
366 * gdb.dwarf2/implref-global.exp: Likewise.
367 * gdb.dwarf2/implref-struct.c: Likewise.
368 * gdb.dwarf2/implref-struct.exp: Likewise.
369
825c8ef2
AT
3702016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
371
372 * gdb.trace/trace-condition.exp: Add 64bit tests.
373
2320162a
AT
3742016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
375
376 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
377 bits types.
378 (main): Adapt to 8 to 64 bits types.
379 * gdb.trace/trace-condition.exp: Add new tests.
380
a7818233
AT
3812016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
382
383 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
384
0d336466
AT
3852016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
386
387 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
388 Move condition tests...
389 * gdb.trace/trace-condition.exp: Here.
390
7faeb45a
AT
3912016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
392
393 * gdb.trace/trace-condition.exp: Add counter-case tests.
394
e385593e
JK
3952016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
396
397 PR c++/15231
398 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
399 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
400
744608cc
PA
4012016-05-27 Pedro Alves <palves@redhat.com>
402
403 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
404 New procedure.
405 (top level): Call it, and bail out of DejaGnu is known to be bad.
406
ac775bf4
AB
4072016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
408
409 * gdb.base/whatis.c: Extend the test case.
410 * gdb.base/whatis.exp: Add additional tests.
411
2bbad2ea
BH
4122016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
413
414* gdb.fortran/type.f90: Add pointer variable.
415* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
416
8b70175d
BH
4172016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
418
419 * gdb.fortran/vla-type.exp: Fix testcase name.
420
86d8a848
BH
4212016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
422
423 * gdb.fortran/vla-type.exp: Access elements in nested structs.
424
e188eb36
BH
4252016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
426
427 * gdb.fortran/type.f90: Add nested structures.
428 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
429 * gdb.fortran/derived-type.exp: Adapt expected output.
430 * gdb.fortran/vla-type.exp: Adapt expected output.
431
9b2db1fd
BH
4322016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
433
434 * gdb.fortran/whatis_type.exp: Adapt expected output.
435
72b17055
BH
4362016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
437
438 * gdb.fortran/print_type.exp: Fix expected output.
439 * gdb.fortran/whatis_type.exp: Fix expected output.
440
3cd81d8d
BH
4412016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
442
443 * gdb.fortran/whatis_type.exp: Use multi_line.
444
ddae9462
TT
4452016-05-24 Tom Tromey <tom@tromey.com>
446
447 PR python/17386:
448 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
449 use value as an index.
450
1957f6b8
TT
4512016-05-23 Tom Tromey <tom@tromey.com>
452
453 PR python/17981:
454 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
455 no-breakpoint case.
456
026a9174
PA
4572016-05-24 Pedro Alves <palves@redhat.com>
458
459 PR gdb/19828
460 * gdb.threads/clone-attach-detach.c: New file.
461 * gdb.threads/clone-attach-detach.exp: New file.
462
e70a7231
FR
4632016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
464
465 * gdb.base/annota-input-while-running.exp: Fix syntax error.
466
0f6ed0e0
TT
4672016-05-23 Tom Tromey <tom@tromey.com>
468
469 PR python/19438, PR python/18393:
470 * gdb.python/py-progspace.exp: Add "dir" test.
471 * gdb.python/py-objfile.exp: Add "dir" test.
472
ffd19d61
YQ
4732016-05-23 Yao Qi <yao.qi@linaro.org>
474
475 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
476 * gdb.arch/thumb2-it.exp: Likewise.
477
9e8f9b05
SM
4782016-05-18 Simon Marchi <simon.marchi@ericsson.com>
479
480 * gdb.mi/mi-threads-interrupt.c: New file.
481 * gdb.mi/mi-threads-interrupt.exp: New file.
482
61c6156d
SM
4832016-05-17 Simon Marchi <simon.marchi@ericsson.com>
484
485 PR gdb/18077
486 * gdb.mi/mi-async-run.exp: New file.
487 * gdb.mi/mi-async-run.c: New file.
488
67218854
TT
4892016-05-17 Tom Tromey <tom@tromey.com>
490 Manish Goregaokar <manishsmail@gmail.com>
491
492 * lib/rust-support.exp: New file.
493 * lib/gdb.exp (skip_rust_tests): New proc.
494 (build_executable_from_specs): Handle rust.
495 * lib/future.exp (gdb_find_rustc): New proc.
496 (gdb_default_target_compile): Handle rust.
497 * gdb.rust/expr.exp: New file.
498 * gdb.rust/generics.exp: New file.
499 * gdb.rust/generics.rs: New file.
500 * gdb.rust/methods.exp: New file.
501 * gdb.rust/methods.rs: New file.
502 * gdb.rust/modules.exp: New file.
503 * gdb.rust/modules.rs: New file.
504 * gdb.rust/simple.exp: New file.
505 * gdb.rust/simple.rs: New file.
506
c44af4eb
TT
5072016-05-17 Tom Tromey <tom@tromey.com>
508
509 * gdb.base/default.exp (set language): Add rust.
510
dcd1f979
TT
5112016-05-17 Tom Tromey <tom@tromey.com>
512
513 * gdb.gdb/unittest.exp: New file.
514
155b7f57
YQ
5152016-05-16 Yao Qi <yao.qi@linaro.org>
516
517 * gdb.base/batch-preserve-term-settings.exp: Remove variable
518 shell_prompt. Update shell_prompt_re.
519
8ddd5a6c
DE
5202016-05-12 Doug Evans <dje@google.com>
521
522 PR symtab/19999
523 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
524 $options when building executable.
525 * gdb.dwarf2/fission-loclists-pie.S: New file.
526 * gdb.dwarf2/fission-loclists-pie.exp: New file.
527
02e370d9
SM
5282016-05-04 Simon Marchi <simon.marchi@ericsson.com>
529
530 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
531 of [is_remote target],
532
8929ad8b
SM
5332016-05-04 Simon Marchi <simon.marchi@ericsson.com>
534
535 * lib/gdb.exp (use_gdb_stub): New procedure.
536
6c447423
DE
5372016-05-03 Yunlian Jiang <yunlian@google.com>
538 Doug Evans <dje@google.com>
539
540 PR symtab/19914
541 * gdb.dwarf2/dwp-sepdebug.c: New file.
542 * gdb.dwarf2/dwp-sepdebug.exp: New file.
543
444e826c
SM
5442016-05-02 Simon Marchi <simon.marchi@ericsson.com>
545
546 * gdb.base/detach.exp: Remove is_remote check.
547
740feeaa
SM
5482016-05-02 Simon Marchi <simon.marchi@ericsson.com>
549
550 * gdb.base/annota-input-while-running.exp: Don't check for
551 [is_remote target]. Enable annotations after running to main.
552 Remove unused "set test..." line.
553
9080ac9d
SM
5542016-04-28 Simon Marchi <simon.marchi@ericsson.com>
555
556 * gdb.trace/trace-enable-disable.exp: New file.
557 * gdb.trace/trace-enable-disable.c: New file.
558
952ebca5
SM
5592016-04-28 Simon Marchi <simon.marchi@ericsson.com>
560
561 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
562 use it in info sharedlibrary test.
563 * gdb.trace/ftrace-lock.exp: Likewise.
564 * gdb.trace/ftrace.exp: Likewise.
565 * gdb.trace/range-stepping.exp: Likewise.
566 * gdb.trace/trace-break.exp: Likewise.
567 * gdb.trace/trace-condition.exp: Likewise.
568 * gdb.trace/trace-mt.exp: Likewise.
569
d9019901
SM
5702016-04-27 Simon Marchi <simon.marchi@ericsson.com>
571
572 * lib/gdb.exp (gdb_load_shlibs): Rename to...
573 (gdb_load_shlib): ... this.
574 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
575 gdb_load_shlib.
576 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
577 * gdb.base/ctxobj.exp: Likewise.
578 * gdb.base/dprintf-pending.exp: Likewise.
579 * gdb.base/dso2dso.exp: Likewise.
580 * gdb.base/fixsection.exp: Likewise.
581 * gdb.base/gcore-relro.exp: Likewise.
582 * gdb.base/gdb1555.exp: Likewise.
583 * gdb.base/global-var-nested-by-dso.exp: Likewise.
584 * gdb.base/gnu-ifunc.exp: Likewise.
585 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
586 * gdb.base/jit-so.exp (one_jit_test): Likewise.
587 * gdb.base/pending.exp: Likewise.
588 * gdb.base/print-file-var.exp: Likewise.
589 * gdb.base/print-symbol-loading.exp: Likewise.
590 * gdb.base/shlib-call.exp: Likewise.
591 * gdb.base/shreloc.exp: Likewise.
592 * gdb.base/so-impl-ld.exp: Likewise.
593 * gdb.base/solib-disc.exp: Likewise.
594 * gdb.base/solib-nodir.exp: Likewise.
595 * gdb.base/solib-overlap.exp: Likewise.
596 * gdb.base/solib-symbol.exp: Likewise.
597 * gdb.base/solib-weak.exp (do_test): Likewise.
598 * gdb.base/sym-file.exp: Likewise.
599 * gdb.base/symtab-search-order.exp: Likewise.
600 * gdb.base/type-opaque.exp: Likewise.
601 * gdb.base/unload.exp: Likewise.
602 * gdb.base/watchpoint-solib.exp: Likewise.
603 * gdb.compile/compile.exp: Likewise.
604 * gdb.cp/gdb2384.exp: Likewise.
605 * gdb.cp/infcall-dlopen.exp: Likewise.
606 * gdb.cp/re-set-overloaded.exp: Likewise.
607 * gdb.fortran/library-module.exp: Likewise.
608 * gdb.opt/solib-intra-step.exp: Likewise.
609 * gdb.python/py-finish-breakpoint.exp: Likewise.
610 * gdb.python/py-shared.exp: Likewise.
611 * gdb.reverse/solib-precsave.exp: Likewise.
612 * gdb.reverse/solib-reverse.exp: Likewise.
613 * gdb.server/solib-list.exp: Likewise.
614 * gdb.threads/dlopen-libpthread.exp: Likewise.
615 * gdb.threads/tls-shared.exp: Likewise.
616 * gdb.threads/tls-so_extern.exp: Likewise.
617 * gdb.trace/change-loc.exp: Likewise.
618 * gdb.trace/ftrace-lock.exp: Likewise.
619 * gdb.trace/ftrace.exp: Likewise.
620 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
621 * gdb.trace/pending.exp: Likewise.
622 * gdb.trace/range-stepping.exp: Likewise.
623 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
624 (strace_info_marker): Likewise.
625 (strace_probe_marker): Likewise.
626 (strace_trace_on_same_addr): Likewise.
627 (strace_trace_on_diff_addr): Likewise.
628 * gdb.trace/trace-break.exp: Likewise.
629 * gdb.trace/trace-condition.exp: Likewise.
630 * gdb.trace/trace-mt.exp: Likewise.
631
fca4cfd9
SM
6322016-04-27 Simon Marchi <simon.marchi@ericsson.com>
633
634 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
635 result of gdb_remote_download.
636 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
637 * gdb.base/dso2dso.exp: Likewise.
638 * gdb.base/global-var-nested-by-dso.exp: Likewise.
639 * gdb.base/print-file-var.exp: Likewise.
640 * gdb.base/shlib-call.exp: Likewise.
641 * gdb.base/shreloc.exp: Likewise.
642 * gdb.base/solib-overlap.exp: Likewise.
643 * gdb.base/solib-weak.exp (do_test): Likewise.
644 * gdb.base/unload.exp: Likewise.
645
11cf4ffb
YQ
6462016-04-27 Yao Qi <yao.qi@linaro.org>
647
648 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
649 exists.
650
3e2e34f8
KB
6512016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
652
653 * vla-type.exp: Print structure from toplevel.
654
8f07e298
BH
6552016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
656
657 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
658 of dynamic types.
659 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
660 of dynamic types.
661
9920b434
BH
6622016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
663
664 * gdb.fortran/vla-type.f90: New file.
665 * gdb.fortran/vla-type.exp: New file.
666
f3abeff5
YQ
6672016-04-25 Yao Qi <yao.qi@linaro.org>
668
669 * gdb.base/branch-to-self.c: New file.
670 * gdb.base/branch-to-self.exp: New file.
671
0a5d52f0
YQ
6722016-04-22 Yao Qi <yao.qi@linaro.org>
673
674 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
675 more after $hex.
676
495346f6
YQ
6772016-04-22 Yao Qi <yao.qi@linaro.org>
678
679 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
680 * gdb.base/annota3.exp: Likewise.
681
4a7e075c
YQ
6822016-04-22 Yao Qi <yao.qi@linaro.org>
683
684 * gdb.reverse/step-precsave.exp: Do one step and test program
685 stops in "callee" and do multiple steps until program goes out
686 of "callee".
687 * gdb.reverse/step-reverse.exp: Likewise.
688
5b061e98
YQ
6892016-04-22 Yao Qi <yao.qi@linaro.org>
690
691 * gdb.trace/signal.exp: Also pass if
692 $tracepoint_hits($i) > $iterations.
693
5c5dc57f
YQ
6942016-04-22 Yao Qi <yao.qi@linaro.org>
695
696 * gdb.trace/signal.c: New file.
697 * gdb.trace/signal.exp: New file.
698
a55411b9
DE
6992016-04-19 Doug Evans <xdje42@gmail.com>
700
701 * gdb.base/bad-file.exp: New file.
702
a22df60a
MG
7032016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
704
705 * gdb.dwarf2/implref.exp: New file.
706
0c13f7e5
BH
7072016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
708
709 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
710 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
711 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
712 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
713 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
714 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
715 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
716 * lib/fortran.exp (fortran_int4): New procedure.
717 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
718 (fortran_logical4): Likewise.
719
9b9b09e9
BH
7202016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
721
722 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
723
a14d1f4d
BH
7242016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
725
726 * lib/compiler.c: Add Intel specific preprocessor macros.
727 * lib/compiler.cc: Likewise.
25d49b86 728
7d49b1d0
LM
7292016-04-13 Luis Machado <lgustavo@codesourcery.com>
730
731 * gdb.server/connect-with-no-symbol-file.c: New file.
732 * gdb.server/connect-with-no-symbol-file.exp: New file.
733
8392fa22
SM
7342016-04-13 Simon Marchi <simon.marchi@ericsson.com>
735
736 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
737
8c4c4aeb
SM
7382016-04-13 Simon Marchi <simon.marchi@ericsson.com>
739
740 * boards/gdbserver-base.exp (${board}_download): Copy source file to
741 standard output directory.
742
45e3745e
AT
7432016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
744
745 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
746
e26b7e41
MM
7472016-04-13 Markus Metzger <markus.t.metzger@intel.com>
748
749 * gdb.btrace/instruction_history.c (loop): Add declaration.
750
8ce09462
AT
7512016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
752
753 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
754
2e88a1ea
SM
7552016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
756
757 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
758 parentheses to print.
759 (continue_handler): Likewise.
760
f48e22e3
SM
7612016-04-08 Simon Marchi <simon.marchi@ericsson.com>
762
763 * gdb.server/solib-list.exp: Remove is_remote check.
764 Pass shlib= to gdb_compile. Don't link shared library with
765 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
766 Run binary filename through "readlink -f" on the target.
767
096be756
PA
7682016-04-08 Pedro Alves <palves@redhat.com>
769
770 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
771 interpreter filename as argument to gdbserver_spawn.
772 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
773 Return empty if $last_loaded_file does not exist.
774
06500533
JK
7752016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
776
777 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
778 * gdb.base/jit-main.c: Use exit after usage.
779
2d35e871
JK
7802016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
781
782 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
783 GDBHISTSIZE prior to the tests.
784 * gdb.base/gdbinit-history.exp: Likewise.
785
7862016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
787
788 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
789 instead of build_executable. Use gdb_load_shlibs.
790
c8064e7e
YQ
7912016-04-07 Yao Qi <yao.qi@linaro.org>
792
793 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
794 Execute "si" command.
795
bde47561
YQ
7962016-04-07 Yao Qi <yao.qi@linaro.org>
797
798 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
799 number instead of the comments on some line.
800
b16f8a3b
DB
8012016-04-06 Don Breazeal <donb@codesourcery.com>
802
803 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
804 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
805
c2f901df
SM
8062016-04-06 Simon Marchi <simon.marchi@ericsson.com>
807
808 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
809 standard_output_file. Remove unused binfile variable.
810
ac17fda0
CU
8112016-04-05 Catalin Udma <catalin.udma@freescale.com>
812
813 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
814 * gdb.python/py-mi-objfile.exp: Match "list main" output
815 in console format.
816
03a8c4df
SM
8172016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
818
819 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
820 absolute.
821
6e774b13
SM
8222016-04-05 Simon Marchi <simon.marchi@ericsson.com>
823
824 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
825 absolute.
826 * gdb.trace/ftrace.exp: Likewise.
827 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
828 targets as well.
829 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
830 (gdb_load_shlibs): Copy libraries to test directory when testing
831 natively. Only set solib-search-path if testing remotely.
832 * lib/mi-support.exp (mi_load_shlibs): Likewise.
833
7817ea46
SM
8342016-04-05 Simon Marchi <simon.marchi@ericsson.com>
835
836 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
837 gdb_download. Use it even if the target is not remote.
838 * gdb.base/jit.exp (compile_jit_test): Likewise.
839 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
840 output directory if the destination board is local, otherwise use
841 the standard remote_download from DejaGnu.
842 (gdb_download): Remove.
843 (gdb_load_shlibs): Use gdb_remote_download instead of
844 gdb_download.
845 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
846 Use gdb_remote_download instead of gdb_download. Use it even if
847 the target is not remote.
848 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
849 instead of gdb_download.
850
7beb7f68
SM
8512016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
852
853 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
854 (test_insert_delete_modify): Call mi_load_shlibs before trying to
855 run.
856
cc63428a
AV
8572016-04-01 Artemiy Volkov <artemiyv@acm.org>
858
859 PR gdb/19820
860 * gdb.base/printcmds.exp: Add artificial arrays tests.
861
64cdf930
PA
8622016-03-31 Pedro Alves <palves@redhat.com>
863
864 PR gdb/19858
865 * gdb.base/jit-main.c: Include unistd.h.
866 (ATTACH): Define to 0 if not already defined.
867 (wait_for_gdb, mypid): New globals.
868 (WAIT_FOR_GDB): New macro.
869 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
870 some breakpoint locations.
871 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
872 New procedures.
873 (one_jit_test): Add REATTACH parameter, and handle it. Use
874 continue_to_test_location.
875 (top level): Test attach, and adjusts calls to one_jit_test.
876
40dea8cb
PA
8772016-03-31 Pedro Alves <palves@redhat.com>
878
879 PR gdb/19858
880 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
881 BINSUFFIX parameter, and handle it.
882 (top level): Adjust calls compile_jit_test.
883
e7ea3ec7
CU
8842016-03-31 Catalin Udma <catalin.udma@freescale.com>
885
886 PR python/19743
887 * gdb.python/py-mi-events-gdb.py: New file.
888 * gdb.python/py-mi-events.c: New file.
889 * gdb.python/py-mi-events.exp: New file.
890
e6359af3
YQ
8912016-03-30 Yao Qi <yao.qi@linaro.org>
892
893 * gdb.reverse/until-precsave.exp: Match function name only.
894 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
895 Move malloc to a condition block.
896 * gdb.reverse/until-reverse.exp: Match function name only.
897
a4105d04
MK
8982016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
899
900 * gdb.trace/ftrace.exp: Set arg0exp for s390.
901 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
902 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
903 variable for GPR 0 instead of assuming it is register 0.
904 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
905 * lib/trace-support.exp: Add s390 registers.
906
bfa6adb9
YQ
9072016-03-29 Yao Qi <yao.qi@linaro.org>
908
909 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
910
1e6697ea
YQ
9112016-03-24 Yao Qi <yao.qi@linaro.org>
912
913 * gdb.reverse/break-reverse.exp: Add quotation mark in the
914 test message.
915
64bcd522
AA
9162016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
917
918 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
919 maintaining separate logic for constructing the output path.
920
7868401b
DB
9212016-03-16 Don Breazeal <donb@codesourcery.com>
922
923 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
924 Retry fork and waitpid on interrupted system call errors.
925 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
926 Use with_timeout_factor to increase timeout by factor of 10.
927
1cafadb4
DB
9282016-03-15 Don Breazeal <donb@codesourcery.com>
929
930 * gdb.cp/scope-err.cc: New test program.
931 * gdb.cp/scope-err.exp: New test script.
932 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
933 lines and "set breakpoint here" comment.
934 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
935 Fixed some whitespace and format issues.
936 * gdb.mi/mi-linespec-err-cp.cc: New test program.
937 * gdb.mi/mi-linespec-err-cp.exp: New test script.
938
81516450
DE
9392016-03-15 Doug Evans <dje@google.com>
940
941 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
942 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
943 All callers updated. Add tests for enums, mixed flags register.
944
aa52b601
DE
9452016-03-15 Doug Evans <dje@google.com>
946
947 * gdb.base/skip.c (main): Call test_skip_file_and_function.
948 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
949
fa4ff313
SM
9502016-03-14 Simon Marchi <simon.marchi@ericsson.com>
951
952 * gdb.base/default.exp: Add $_as_string to the list of expected
953 convenience functions.
954
f2403c39
AB
9552016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
956
957 * gdb.base/maint.exp: New tests for 'maint info line-table'.
958
f2f3ccb9
SM
9592016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
960
961 * gdb.python/py-as-string.exp: New file.
962 * gdb.python/py-as-string.c: New file.
963
00dbd492
PA
9642016-03-09 Pedro Alves <palves@redhat.com>
965
966 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
967 signal" -> "Thread NN received signal" output change.
968 * gdb.threads/ia64-sigill.exp: Likewise.
969 * gdb.threads/linux-dp.exp: Likewise.
970 * gdb.threads/manythreads.exp: Likewise.
971 * gdb.threads/pending-step.exp: Likewise.
972 * gdb.threads/print-threads.exp: Likewise.
973 * gdb.threads/sigstep-threads.exp: Likewise.
974 * gdb.threads/staticthreads.exp: Likewise.
975 * gdb.threads/tls.exp: Likewise.
976
1e6697ea
YQ
9772016-03-09 Pedro Alves <palves@redhat.com>
978
979 * gdb.base/command-line-input.exp: New file.
980
b04fd3be
MK
9812016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
982
983 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
984 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
985 * gdb.trace/pending.exp: Accept leading dot before function name.
986 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
987 * lib/trace-support.exp: Set registers for ppc.
988
98fa59e9
MK
9892016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
990
991 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
992 use it for disassembly; accept .main in addition to main in backtrace.
993
f77198c8
MK
9942016-03-09 Wei-cheng Wang <cole945@gmail.com>
995 Marcin Kościelnicki <koriakin@0x04.net>
996
997 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
998 (gdb_recursion_test_ptr): New global variable.
999 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1000 gdb_recursion_test.
1001 (gdb_c_test): Ditto.
1002
ba84e0da
MK
10032016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1004
1005 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1006 ordering.
1007
4366d36e
MK
10082016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1009
1010 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1011 (bar): Add bar_start_lbl label.
1012 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1013 of foo/bar for emitting DWARF and tracing.
1014
5eb264df
SDJ
10152016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1016
1017 * analyze-racy-logs.py: Set executable bit.
1018
fb6a751f
SDJ
10192016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1020
1021 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1022 (CHECK_TARGET_TMP): Likewise.
1023 (check-single-racy): New rule.
1024 (check-parallel-racy): Likewise.
1025 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1026 (do-check-parallel-racy): New rule.
1027 (check-racy/%.exp): Likewise.
1028 * README (Racy testcases): New section.
1029 * analyze-racy-logs.py: New file.
1030
bdf7e230
DE
10312016-03-03 Doug Evans <dje@google.com>
1032
1033 * gdb.base/skip.exp: Use with_test_prefix.
1034
4719d415
YQ
10352016-03-03 Yao Qi <yao.qi@linaro.org>
1036
1037 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1038 Invoke step_over_syscall "clone" and break_cond_on_syscall
1039 "clone".
1040 * gdb.base/step-over-clone.c: New file.
1041
ea507862
YQ
10422016-03-03 Yao Qi <yao.qi@linaro.org>
1043
1044 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1045 code format.
1046
8fc8cbda
YQ
10472016-03-03 Yao Qi <yao.qi@linaro.org>
1048
1049 * gdb.base/disp-step-fork.c: Rename to ...
1050 * gdb.base/step-over-fork.c: ... it. New file.
1051 * gdb.base/disp-step-vfork.c: Rename to ...
1052 * gdb.base/step-over-vfork.c: ... it. New file.
1053 * gdb.base/disp-step-syscall.exp: Rename to ...
1054 * gdb.base/step-over-syscall.exp: ... it. New file.
1055 (disp_step_cross_syscall): Rename to ...
1056 (step_over_syscall): ... it.
1057
92fa70b0
YQ
10582016-03-03 Yao Qi <yao.qi@linaro.org>
1059
1060 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1061 If target supports condition evaluation on target, invoke
1062 break_cond_on_syscall for fork and vfork.
1063
e197ad3c
YQ
10642016-03-03 Yao Qi <yao.qi@linaro.org>
1065
1066 * gdb.base/disp-step-syscall.exp: Don't invoke
1067 support_displaced_stepping.
1068 (disp_step_cross_syscall): Test with displaced stepping off and
1069 on if supported.
1070
0b47da9f
YQ
10712016-03-03 Yao Qi <yao.qi@linaro.org>
1072
1073 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1074 proc.
1075 (setup): New proc.
1076 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1077 and setup.
1078
065ab6dc
BH
10792016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1080
1081 * gdb.fortran/vla-history.exp: Remove breakpoint.
1082
07e448ad 10832016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1084
25d49b86
PA
1085 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1086 exceeds timeout.
07e448ad 1087
9ac2d526 10882016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1089
25d49b86
PA
1090 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1091 breakpoint.
9ac2d526 1092
17807369
BH
10932016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1094
1095 * gdb.mi/vla.f90: Nullify pointer after declaration.
1096
86e501af
PA
10972016-03-01 Pedro Alves <palves@redhat.com>
1098
1099 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1100
1e903e32
PA
11012016-03-01 Pedro Alves <palves@redhat.com>
1102
1103 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1104 before anything else.
1105 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1106 _GNU_SOURCE here.
1107 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1108 before anything else.
1109 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1110
6ccb54e2
PA
11112016-03-01 Pedro Alves <palves@redhat.com>
1112
1113 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1114
30ca9da1
YQ
11152016-03-01 Yao Qi <yao.qi@linaro.org>
1116
1117 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1118 prepare_for_testing.
1119
dc856b38
YQ
11202016-03-01 Yao Qi <yao.qi@linaro.org>
1121
1122 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1123
4a932159
AA
11242016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1125
1126 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1127 manually constructing the output path.
1128
f2489477
AA
11292016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1130
1131 * gdb.arch/s390-stackless.S: New.
1132 * gdb.arch/s390-stackless.exp: New.
1133
38899f16
IB
11342016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1135
1136 * gdb.dlang/circular.c: New file.
1137 * gdb.dlang/circular.exp: New file.
1138
9fde51ed
YQ
11392016-02-26 Yao Qi <yao.qi@linaro.org>
1140
1141 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1142 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1143 (testcases): Update.
1144
ce90fefe
YQ
11452016-02-26 Yao Qi <yao.qi@linaro.org>
1146
1147 * gdb.reverse/aarch64.c: Rename to ...
1148 * gdb.reverse/insn-reverse.c: ... it.
1149 * gdb.reverse/aarch64.exp: Rename to ...
1150 * gdb.reverse/insn-reverse.exp: ... it.
1151
3263bceb
YQ
11522016-02-26 Yao Qi <yao.qi@linaro.org>
1153
1154 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1155 (testcase_ftype): New.
1156 (testcases): New array.
1157 (n_testcases): New.
1158 (main): Call each element in testcases.
1159 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1160 (read_testcase): New.
1161 Do the tests in a loop.
1162
6cb59ff1
YQ
11632016-02-25 Yao Qi <yao.qi@linaro.org>
1164
1165 * gdb.base/branches.c: Remove.
1166
ae91f625
MK
11672016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1168
1169 PR gdb/13808
1170 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1171
678b48b7
MK
11722016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1173
1174 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1175
7337a6f2
MK
11762016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1177
1178 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1179 change x86_64 call_insn to 'callq'.
1180
861ca91f
AT
11812016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1182
1183 * gdb.trace/tfile-avx.c: Move to...
1184 * gdb.trace/tracefile-pseudo-reg.c: Here.
1185 * gdb.trace/tfile-avx.exp: Move to...
1186 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1187
bf74e428
GB
11882016-02-24 Gary Benson <gbenson@redhat.com>
1189
1190 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1191 message on attach.
1192
cce0e923
DE
11932016-02-23 Doug Evans <dje@google.com>
1194
1195 * gdb.base/skip.c (test_skip): New function.
1196 (end_test_skip_file_and_function): New function.
1197 (test_skip_file_and_function): New function.
1198 * gdb.base/skip1.c (test_skip): New function.
1199 (skip1_test_skip_file_and_function): New function.
1200 * gdb.base/skip.exp: Add tests for new skip options.
1201 * gdb.base/skip-solib.exp: Update expected output.
1202 * gdb.perf/skip-command.cc: New file.
1203 * gdb.perf/skip-command.exp: New file.
1204 * gdb.perf/skip-command.py: New file.
1205
4000e47e
MK
12062016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1207
1208 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1209 info registers pattern.
1210
24f75ead
IB
12112016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1212
1213 * lib/future.exp: Add D support.
1214 (gdb_find_gdc): New proc.
1215 (gdb_default_target_compile): Add D support.
1216
fbb7bcbe
WW
12172016-02-18 Wei-cheng Wang <cole945@gmail.com>
1218
1219 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1220 user+system time.
1221 (trace_speed_test): Determine the iteration count for a time
1222 between 15..30 seconds.
1223
012b3a21
WT
12242016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1225
1226 * gdb.arch/i386-mpx-sigsegv.c: New file.
1227 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1228 * gdb.arch/i386-mpx-simple_segv.c: New file.
1229 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1230
2d5189bd
YQ
12312016-02-18 Yao Qi <yao.qi@linaro.org>
1232
1233 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1234 Don't call setup_kfail.
1235
40fb20d0
YQ
12362016-02-18 Yao Qi <yao.qi@linaro.org>
1237
1238 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1239 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1240
21b1f8d2
DE
12412016-02-16 Doug Evans <dje@google.com>
1242
1243 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1244 * gdb.base/skip1.c: Ditto.
1245 * gdb.base/skip.exp: Whitespace cleanup.
1246
4041ed77
DB
12472016-02-16 Don Breazeal <donb@codesourcery.com>
1248
1249 PR remote/19496
1250 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1251 Remove kfail for PR remote/19496.
1252
c4ef31bf
SM
12532016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1254
1255 * lib/gdb.exp (standard_temp_file): Return a path specific to
1256 the runtest invocation.
1257
266b65b3
SM
12582016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1259
1260 * gdb.trace/save-trace.exp: Change relative path to be in the
1261 standard output directory.
1262
a7a0a6a9
JK
12632016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1264
1265 * gdb.arch/i386-prologue.c: Add missing prototypes.
1266
c99dbb42
JK
12672016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1268
1269 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1270 * gdb.arch/i386-prologue.exp: Likewise.
1271 * gdb.arch/i386-size.exp: Likewise.
1272
aa480355
SM
12732016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1274
1275 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1276 define object file path.
1277 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1278 file path.
1279 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1280 standard_output_file to define binfile.
1281
ba881f50
JK
12822016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1283
1284 Fix compatibility with recent gfortran-5.3.1.
1285 * gdb.fortran/vla-history.exp (print vla1 allocated)
1286 (print vla2 allocated, print $2, print $3): Remove
1287 (print $4): Rename to ...
1288 (print $2): ... here.
1289 (print $9): Rename to ...
1290 (print $5): ... here.
1291 (print $10): Rename to ...
1292 (print $6): ... here.
1293 * gdb.fortran/vla.f90: Add pvla initialization.
1294
e9fb005c
JK
12952016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1296
1297 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1298 New test.
1299 * gdb.fortran/vla-value-sub.exp: Likewise.
1300
e44e00ff
MK
13012016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1302
1303 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1304
97e94151
SM
13052016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1306
1307 * i386-biarch-core.exp: Define corefile using
1308 standard_output_file.
1309
01113bc1
YQ
13102016-02-12 Yao Qi <yao.qi@linaro.org>
1311
1312 * gdb.arch/arm-single-step-kernel-helper.c: New.
1313 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1314
33b4777c
MM
13152016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1316
1317 * gdb.btrace/tailcall-only.exp: New.
1318 * gdb.btrace/tailcall-only.c: New.
1319 * gdb.btrace/x86_64-tailcall-only.S: New.
1320 * gdb.btrace/i686-tailcall-only.S: New.
1321
acc23c11
PA
13222016-02-11 Pedro Alves <palves@redhat.com>
1323
1324 * README (Parallel testing): Add missing double quotes.
1325
e352bf0a
PA
13262016-02-11 Pedro Alves <palves@redhat.com>
1327
1328 * README (Parallel testing): New section.
1329 (GDB_PARALLEL): Rewrite.
1330 (FORCE_PARALLEL): Document.
1331
9f5fed78
MK
13322016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1333
1334 * gdb.trace/tfile-avx.c: New test.
1335 * gdb.trace/tfile-avx.exp: New test.
1336
9ef9e6a6
KS
13372016-02-09 Keith Seitz <keiths@redhat.com>
1338
1339 PR breakpoints/19546
1340 * gdb.base/infcall-exec.c: New file.
1341 * gdb.base/infcall-exec2.c: New file.
1342 * gdb.base/infcall-exec.exp: New file.
1343
a96e36da
KS
13442016-02-09 Keith Seitz <keiths@redhat.com>
1345
1346 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1347 (toplevel): Call test_bkpt_address.
1348
9f61929f
KS
13492016-02-09 Keith Seitz <keiths@redhat.com>
1350
1351 PR python/19506
1352 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1353 (toplevel): Call test_bkpt_address.
1354
1e94266c
SM
13552016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1356
1357 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1358 to AC_OUTPUT.
1359 * configure: Regenerate.
1360
2a7f3dff
PA
13612016-02-09 Pedro Alves <palves@redhat.com>
1362
1363 PR breakpoints/19548
1364 * gdb.base/execl-update-breakpoints.c (some_function): New
1365 function.
1366 (main): Call it.
1367 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1368 Tighten expected GDB output.
1369
2151ccc5
SM
13702016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1371
1372 * Makefile.in (ALL_SUBDIRS): Remove.
1373 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1374 (distclean maintainer-clean realclean): Likewise.
1375 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1376 * configure: Regenerate.
1377 * gdb.ada/Makefile.in: Delete.
1378 * gdb.arch/Makefile.in: Likewise.
1379 * gdb.asm/Makefile.in: Likewise.
1380 * gdb.base/Makefile.in: Likewise.
1381 * gdb.btrace/Makefile.in: Likewise.
1382 * gdb.cell/Makefile.in: Likewise.
1383 * gdb.compile/Makefile.in: Likewise.
1384 * gdb.cp/Makefile.in: Likewise.
1385 * gdb.disasm/Makefile.in: Likewise.
1386 * gdb.dlang/Makefile.in: Likewise.
1387 * gdb.dwarf2/Makefile.in: Likewise.
1388 * gdb.fortran/Makefile.in: Likewise.
1389 * gdb.gdb/Makefile.in: Likewise.
1390 * gdb.go/Makefile.in: Likewise.
1391 * gdb.guile/Makefile.in: Likewise.
1392 * gdb.java/Makefile.in: Likewise.
1393 * gdb.linespec/Makefile.in: Likewise.
1394 * gdb.mi/Makefile.in: Likewise.
1395 * gdb.modula2/Makefile.in: Likewise.
1396 * gdb.multi/Makefile.in: Likewise.
1397 * gdb.objc/Makefile.in: Likewise.
1398 * gdb.opencl/Makefile.in: Likewise.
1399 * gdb.opt/Makefile.in: Likewise.
1400 * gdb.pascal/Makefile.in: Likewise.
1401 * gdb.perf/Makefile.in: Likewise.
1402 * gdb.python/Makefile.in: Likewise.
1403 * gdb.reverse/Makefile.in: Likewise.
1404 * gdb.server/Makefile.in: Likewise.
1405 * gdb.stabs/Makefile.in: Likewise.
1406 * gdb.threads/Makefile.in: Likewise.
1407 * gdb.trace/Makefile.in: Likewise.
1408 * gdb.xml/Makefile.in: Likewise.
1409 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1410 GDB_PARALLEL.
1411 (standard_output_file): Remove check for GDB_PARALLEL, always
1412 return path in outputs/$subdir/$testname.
1413
437277d4
SM
14142016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1415
1416 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1417 (site.exp): Assign abs_srcdir to tcl's srcdir.
1418
31d913c7
YQ
14192016-02-04 Yao Qi <yao.qi@linaro.org>
1420
1421 * gdb.base/foll-exec-mode.c: Include limits.h.
1422 (main): Add parameters argc and argv. Get directory from
1423 argv[0].
1424 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1425 compilation.
1426 * gdb.base/foll-exec.c: Include limits.h.
1427 (main): Add parameters argc and argv.
1428 Get directory from argv[0].
1429 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1430 Adjust tests on the number of lines as source code changed.
1431 * gdb.base/foll-vfork-exit.c: Include limits.h.
1432 (main): Add one line of statement before vfork.
1433 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1434 (main): Add parameters argc and argv. Get directory from
1435 argv[0].
1436 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1437 (setup_gdb): Set tbreak to skip some source lines.
1438 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1439 (main): Add parameters argc and argv. Get directory from
1440 argv[0].
1441 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1442 compilation.
1443 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1444 (main): Add parameters argc and argv. Get directory from
1445 argv[0].
1446 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1447 compilation.
1448
9482b9fb
DE
14492016-02-01 Doug Evans <dje@google.com>
1450
1451 * gdb.base/skip.exp: Clean up multiple references to same test name.
1452
6b2e4f10
PA
14532016-02-01 Pedro Alves <palves@redhat.com>
1454
ccb6afd6 1455 PR remote/19496
6b2e4f10
PA
1456 * gdb.threads/forking-threads-plus-breakpoint.exp
1457 (displaced_stepping_supported): New global.
1458 (probe_displaced_stepping_support): New procedure.
1459 (do_test): Add 'displaced' parameter, and use it.
1460 (top level): Check for displaced stepping support. Add displaced
1461 stepping on/off testing axis.
1462
37a8db1a
AB
14632016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1464
1465 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1466 pointer. Don't perform further tests on the unassociated pointer
1467 if the first test fails.
1468
5fdf6324
AB
14692016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1470
1471 * gdb.base/max-value-size.c: New file.
1472 * gdb.base/max-value-size.exp: New file.
1473 * gdb.base/huge.exp: Disable max-value-size for this test.
1474
935c6144
IB
14752016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1476
1477 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1478
7fe8399d
YQ
14792016-01-28 Yao Qi <yao.qi@linaro.org>
1480
1481 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1482
a2077e25
PA
14832016-01-25 Pedro Alves <palves@redhat.com>
1484
1485 PR threads/19461
1486 * gdb.base/fork-running-state.c: New file.
1487 * gdb.base/fork-running-state.exp: New file.
1488
1d2736d4
PA
14892016-01-25 Pedro Alves <palves@redhat.com>
1490
1491 PR gdb/19494
1492 * gdb.base/catch-fork-kill.c: New file.
1493 * gdb.base/catch-fork-kill.exp: New file.
1494
f1da4b11
PA
14952016-01-25 Pedro Alves <palves@redhat.com>
1496
1497 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1498 Delete, moved to lib/gdb.exp.
1499 * gdb.threads/forking-threads-plus-breakpoint.exp
1500 (foreach_with_prefix): Likewise.
1501 * gdb.threads/process-dies-while-handling-bp.exp
1502 (foreach_with_prefix): Likewise.
1503 * lib/gdb.exp (foreach_with_prefix): New procedure.
1504
45f38546
MK
15052016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1506
1507 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1508 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1509
dc29a1ce
MK
15102016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1511
1512 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1513 endian targets.
1514
092127d7
JK
15152016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1516 Pedro Alves <palves@redhat.com>
1517
1518 Fix testsuite compatibility with Guile.
1519 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1520 number.
1521
31d765d3
JK
15222016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1523
1524 Fix testsuite compatibility with Guile.
1525 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1526 (thread 1): New test for backtrace through signal handler.
1527
1ac78c04
YQ
15282016-01-22 Yao Qi <yao.qi@linaro.org>
1529
1530 PR testsuite/19491
1531 * gdb.base/multi-forks.c: Include
1532 ../lib/unbuffer_output.c
1533 (main): Call gdb_unbuffer_output.
1534
4f5946a8
DE
15352016-01-21 Doug Evans <dje@google.com>
1536
1537 * lib/ada.exp (gdb_compile_ada): Fix typo.
1538
305e13e6
JB
15392016-01-21 Joel Brobecker <brobecker@adacore.com>
1540
1541 * gdb.base/break-fun-addr.exp: New file.
1542 * gdb.base/break-fun-addr1.c: New file.
1543 * gdb.base/break-fun-addr2.c: New file.
1544
5f5dfff6
SM
15452016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1546
1547 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1548 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1549 enum flag values.
1550
fd356fa2
AA
15512016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1552
1553 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1554 when GDB can not set the vector return value. Add more comments
1555 for clarification.
1556
9df22175
AT
15572016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1558
1559 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1560 command.
1561
41d1845e
SM
15622016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1563
1564 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1565
01ac6840
SM
15662016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1567
1568 * Makefile.in (check-single): Pass --status to runtest.
1569 (check/%.exp): Likewise.
1570
15712016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1572
1573 * Makefile.in (check-parallel): Propagate return code from make
1574 do-check-parallel.
1575
bd0a71fa
MK
15762016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1577
1578 * gdb.trace/ftrace.exp: Fix expected message on continue.
1579 * gdb.trace/pending.exp: Fix expected message on continue.
1580 * gdb.trace/trace-break.exp: Fix expected message on continue.
1581
8bcbad33
SM
15822016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1583
1584 * lib/gdb.exp (gdb_test): Remove unused global references.
1585
f303dbd6
PA
15862016-01-18 Pedro Alves <palves@redhat.com>
1587
1588 * gdb.base/async-shell.exp: Adjust expected output.
1589 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1590 * gdb.base/siginfo-thread.exp: Adjust expected output.
1591 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1592 * gdb.java/jnpe.exp: Adjust expected output.
1593 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1594 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1595 * gdb.threads/leader-exit.exp: Adjust expected output.
1596 * gdb.threads/manythreads.exp: Adjust expected output.
1597 * gdb.threads/pthreads.exp: Adjust expected output.
1598 * gdb.threads/schedlock.exp: Adjust expected output.
1599 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1600 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1601 expected output.
1602 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1603 output.
1604 * gdb.threads/sigthread.exp: Adjust expected output.
1605 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1606
b2789696
YQ
16072016-01-18 Yao Qi <yao.qi@linaro.org>
1608
1609 * gdb.guile/scm-section-script.c: Replace @progbits with
1610 %progbits.
1611 * gdb.python/py-section-script.c: Likewise.
1612
71ef29a8
PA
16132016-01-15 Pedro Alves <palves@redhat.com>
1614
1615 * gdb.multi/tids.exp: Test star wildcard ranges.
1616
3f5b7598
PA
16172016-01-15 Pedro Alves <palves@redhat.com>
1618
1619 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1620 command from "thread apply" invocation.
1621 (thr_apply_info_thr_invalid): Default the expected output to the
1622 input tid list.
1623 (top level): Add tests that use convenience variables. Add tests
1624 for "thread apply" with a valid TID list, but missing the command.
1625
663f6d42
PA
16262016-01-13 Pedro Alves <palves@redhat.com>
1627
1628 * gdb.base/default.exp: Expect $_gthread as well.
1629 * gdb.multi/tids.exp: Test $_gthread.
1630 * gdb.threads/thread-specific.exp: Test $_gthread.
1631
c84f6bbf
PA
16322016-01-13 Pedro Alves <palves@redhat.com>
1633
1634 * gdb.multi/tids.exp: Test "info threads -gid".
1635
22a02324
PA
16362016-01-13 Pedro Alves <palves@redhat.com>
1637
1638 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1639 Breakpoint.thread.
1640 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1641
5d5658a1
PA
16422016-01-07 Pedro Alves <palves@redhat.com>
1643
1644 * gdb.base/break.exp: Adjust to output changes.
1645 * gdb.base/hbreak2.exp: Likewise.
1646 * gdb.base/sepdebug.exp: Likewise.
1647 * gdb.base/watch_thread_num.exp: Likewise.
1648 * gdb.linespec/keywords.exp: Likewise.
1649 * gdb.multi/info-threads.exp: Likewise.
1650 * gdb.threads/thread-find.exp: Likewise.
1651 * gdb.multi/tids.c: New file.
1652 * gdb.multi/tids.exp: New file.
1653
84654457
PA
16542016-01-13 Pedro Alves <palves@redhat.com>
1655
1656 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1657
e3940304
PA
16582016-01-13 Pedro Alves <palves@redhat.com>
1659
1660 * gdb.base/default.exp: Expect $_inferior as well.
1661 * gdb.multi/base.exp: Test $_inferior.
1662
a911d87a
PA
16632016-01-13 Pedro Alves <palves@redhat.com>
1664
1665 PR breakpoints/19388
1666 * gdb.base/catch-signal-siginfo-cond.c: New file.
1667 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1668
82075af2
JS
16692016-01-12 Josh Stone <jistone@redhat.com>
1670 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1671
1672 * gdb.base/catch-syscall.c (do_execve): New variable.
1673 (main): Conditionally trigger an execve.
1674 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1675 (test_catch_syscall_execve): New, check entry/return across execve.
1676 (do_syscall_tests): Call test_catch_syscall_execve.
1677
e46eeedd
PA
16782016-01-12 Pedro Alves <palves@redhat.com>
1679
1680 * gdb.base/random-signal.exp (do_test): New procedure, with body
1681 of testcase moved in.
1682
01d8c27e
JK
16832016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1684 Pedro Alves <palves@redhat.com>
1685
1686 * gdb.base/funcargs.exp (finish from indirectly called function):
1687 Reintroduce the case for 'First'.
1688
9a706302
JK
16892016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1690 Pedro Alves <palves@redhat.com>
1691
1692 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1693 (tcatch_vfork_then_child_follow_exec)
1694 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1695 identification.
1696
c0ecb95f
JK
16972016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1698
1699 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1700 and repeats to unlimited.
1701 * gdb.python/py-value.exp: Likewise.
1702 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1703 and repeats to unlimited.
1704
6cfc1fcb
JK
17052016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1706
1707 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1708 and reordering the functions.
1709 * gdb.multi/hangout.c: Likewise.
1710 * gdb.multi/hello.c: Likewise.
1711
582a1b00
SM
17122016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1713
1714 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1715 absolute.
1716 (SingleStatisticTestResult.report): Use dict.keys instead of
1717 dict.iterkeys.
1718
79bc59cb
PA
17192016-01-06 Pedro Alves <palves@redhat.com>
1720
1721 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1722
43368e1d
MM
17232016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1724
1725 * gdb.btrace/dlopen.exp: New.
1726 * gdb.btrace/dlopen.c: New.
1727 * gdb.btrace/dlopen-dso.c: New.
1728
79fad5b8
SL
17292015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1730
1731 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1732 PATTERN argument is optional.
1733
ab8314b3
JB
17342015-12-24 Joel Brobecker <brobecker@adacore.com>
1735
1736 * lib/ada.exp (target_compile_ada_from_dir): New function.
1737 (gdb_compile_ada): Reimplement avoiding the use of project files.
1738 * gdb.ada/gnat_ada.gpr: Delete.
1739 * gdb.ada/cond_lang.exp: Adjust test to make path before
1740 filename optional.
1741 * gdb.ada/small_reg_param.exp: Likewise.
1742
fe33faff
SM
17432015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1744
1745 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1746
6d265cb4
TP
17472015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1748
1749 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1750 case.
1751
10125099
SM
17522015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1753
1754 * gdb.base/break.exp: Remove dead code.
1755 * gdb.base/sepdebug.exp: Likewise.
1756
3ca22649
SM
17572015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1758
1759 * gdb.asm/asm-source.exp: Remove HP-UX references.
1760 * gdb.base/annota1.exp: Likewise.
1761 * gdb.base/annota3.exp: Likewise.
1762 * gdb.base/attach.exp: Likewise.
1763 * gdb.base/bigcore.exp: Likewise.
1764 * gdb.base/break.exp: Likewise.
1765 * gdb.base/call-ar-st.exp: Likewise.
1766 * gdb.base/callfuncs.exp: Likewise.
1767 * gdb.base/catch-fork-static.exp: Likewise.
1768 * gdb.base/display.exp: Likewise.
1769 * gdb.base/foll-exec-mode.exp: Likewise.
1770 * gdb.base/foll-exec.exp: Likewise.
1771 * gdb.base/foll-fork.exp: Likewise.
1772 * gdb.base/foll-vfork.exp: Likewise.
1773 * gdb.base/funcargs.exp: Likewise.
1774 * gdb.base/hbreak2.exp: Likewise.
1775 * gdb.base/inferior-died.exp: Likewise.
1776 * gdb.base/interrupt.exp: Likewise.
1777 * gdb.base/multi-forks.exp: Likewise.
1778 * gdb.base/nodebug.exp: Likewise.
1779 * gdb.base/sepdebug.exp: Likewise.
1780 * gdb.base/solib1.c: Likewise.
1781 * gdb.base/step-test.exp: Likewise.
1782 * gdb.mi/non-stop.c: Likewise.
1783 * gdb.mi/pthreads.c: Likewise.
1784 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1785 * gdb.threads/pthreads.c: Likewise.
1786 * gdb.threads/staticthreads.exp: Likewise.
1787 * lib/future.exp: Likewise.
1788 * lib/gdb.exp: Likewise.
1789 * gdb.base/so-indr-cl.c: Remove.
1790 * gdb.base/so-indr-cl.exp: Likewise.
1791 * gdb.base/solib.c: Likewise.
1792 * gdb.base/solib.exp: Likewise.
1793 * gdb.base/solib2.c: Likewise.
1794
b6304613
SM
17952015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1796
1797 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1798 * gdb.base/call-ar-st.exp: Likewise.
1799 * gdb.base/callfuncs.exp: Likewise.
1800 * gdb.base/condbreak.exp: Likewise.
1801 * gdb.base/constvars.exp: Likewise.
1802 * gdb.base/hbreak2.exp: Likewise.
1803 * gdb.base/langs.exp: Likewise.
1804 * gdb.base/list.exp: Likewise.
1805 * gdb.base/long_long.exp: Likewise.
1806 * gdb.base/ptype.exp: Likewise.
1807 * gdb.base/scope.exp: Likewise.
1808 * gdb.base/signals.exp: Likewise.
1809 * gdb.base/so-impl-ld.exp: Likewise.
1810 * gdb.base/varargs.exp: Likewise.
1811 * gdb.base/volatile.exp: Likewise.
1812 * gdb.base/whatis.exp: Likewise.
1813 * gdb.cp/cplusfuncs.exp: Likewise.
1814 * gdb.cp/inherit.exp: Likewise.
1815 * gdb.cp/local.exp: Likewise.
1816 * gdb.cp/member-ptr.exp: Likewise.
1817 * gdb.cp/method.exp: Likewise.
1818 * gdb.cp/overload.exp: Likewise.
1819 * gdb.cp/templates.exp: Likewise.
1820 * gdb.stabs/weird.exp: Likewise.
1821 * lib/compiler.c: Likewise.
1822 * lib/compiler.cc: Likewise.
1823 * lib/cp-support.exp: Likewise.
1824 * lib/gdb.exp: Likewise.
1825
bf401b07
SM
18262015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1827
1828 * configure.ac: Remove HP-UX case.
1829 * configure: Regenerate.
1830
aff9c0f8
SM
18312015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1832
1833 * lib/gdb.exp (gdb_compile): Add function doc.
1834
a6904d5a
PA
18352015-12-17 Pedro Alves <palves@redhat.com>
1836
1837 PR threads/19354
1838 * gdb.multi/info-threads.exp: New file.
1839
a22279dd
YQ
18402015-12-15 Yao Qi <yao.qi@linaro.org>
1841
1842 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1843 is aarch64*-*-*.
1844
0588c796
SL
18452015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1846
1847 * gdb.base/history-duplicates.exp: Skip if no readline support.
1848
5d978e17
SL
18492015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1850
1851 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1852
7e763b86
SL
18532015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1854
1855 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1856
87a3a92c
SL
18572015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1858
1859 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1860 ctrl-C if nointerrupts target property is set.
1861 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1862 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1863 * gdb.base/paginate-bg-execution.exp: Likewise.
1864 * gdb.base/paginate-execution-startup.exp: Likewise.
1865 * gdb.base/random-signal.exp: Likewise.
1866 * gdb.base/range-stepping.exp: Likewise.
1867 * gdb.cp/annota2.exp: Likewise.
1868 * gdb.cp/annota3.exp: Likewise.
1869 * gdb.gdb/selftest.exp: Likewise.
1870 * gdb.threads/continue-pending-status.exp: Likewise.
1871 * gdb.threads/leader-exit.exp: Likewise.
1872 * gdb.threads/manythreads.exp: Likewise.
1873 * gdb.threads/pthreads.exp: Likewise.
1874 * gdb.threads/schedlock.exp: Likewise.
1875 * gdb.threads/sigthread.exp: Likewise.
1876
a8f077dc
DB
18772015-12-11 Don Breazeal <donb@codesourcery.com>
1878
1879 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1880 remote.
1881 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1882 * gdb.base/foll-exec.exp (main): Enable for target remote.
1883 * gdb.base/foll-fork.exp (main): Likewise.
1884 * gdb.base/foll-vfork.exp (main): Likewise.
1885 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1886 (proc continue_to_exit_bp_loc): Use clean_restart.
1887 * gdb.base/pie-execl.exp (main): Disable for target remote.
1888 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1889 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1890 * gdb.threads/execl.exp (main): Likewise.
1891 * gdb.threads/fork-child-threads.exp (main): Likewise.
1892 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1893 remote.
1894 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1895 remote.
1896 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1897 pid.tid style ptids, instead of just tid.
1898 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1899 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1900 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1901 ptids, instead of just tid.
1902
3b2464a8
AB
19032015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1904
1905 * gdb.base/list.exp (test_list_forward): Add end of file error
1906 test.
1907 (test_repeat_list_command): Add end of file error test.
1908 (test_list_backwards): Add beginning of file error test.
1909
a0def019
AB
19102015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1911
1912 * gdb.base/list.exp (test_list_invalid_args): New function,
1913 defined, and called.
1914
5c000dff
AB
19152015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1916
1917 * gdb.base/list.exp (test_list): Make test names unique.
1918
f1637ebe
YQ
19192015-12-11 Yao Qi <yao.qi@linaro.org>
1920
1921 * gdb.base/coremaker2.c: Remove.
1922
36d6fc0a
PA
19232015-12-10 Pedro Alves <palves@redhat.com>
1924
1925 * gdb.multi/base.exp: Remove stale "spaces" references.
1926
762f7747
PA
19272015-12-10 Pedro Alves <palves@redhat.com>
1928
1929 * gdb.multi/base.exp: Don't use nowarnings.
1930 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1931 * gdb.multi/hangout.c: Include stdio.h.
1932 * gdb.multi/hello.c: Include stdlib.h.
1933 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1934 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1935 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1936
28d2bfb9
AB
19372015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1938
1939 * gdb.dwarf2/dw2-ranges-base.c: New file.
1940 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1941 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1942 support additional line table, and debug ranges generation.
1943 (Dwarf::ranges): New function, generate .debug_ranges.
1944 (Dwarf::lines): Support generating simple line table programs.
1945 (Dwarf::assemble): Initialise new namespace variables.
1946
5fc2beac
KB
19472015-12-09 Kevin Buettner <kevinb@redhat.com>
1948
1949 * gdb.base/async.exp (proc test_background): Add case for
1950 asynchronous execution not supported.
1951
1c35a88f
LM
19522015-12-09 Luis Machado <lgustavo@codesourcery.com>
1953
1954 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1955 format and change test names to make them unique.
1956
b593e3d9
RK
19572015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1958 Pedro Alves <pedro@redhat.com>
1959
1960 PR gdb/18702
1961 Add checking of floatformats setup on x86_64 hosts.
1962 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1963 (smallval, bigval): New labels/constants.
1964 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1965 float" after loading bigval and smallval.
1966
d72413e6
PMR
19672015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1968
1969 * gdb.ada/fun_overload_menu.exp: New testcase.
1970 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1971
ece66d65
JS
19722015-12-04 Josh Stone <jistone@redhat.com>
1973
1974 * gdb.base/catch-fork-static.exp: New.
1975
41d0efca
YQ
19762015-12-03 Yao Qi <yao.qi@linaro.org>
1977
1978 * gdb.base/sizeof.c: Don't include stdio.h and
1979 ../lib/unbuffer_output.c.
1980 (main): New variable 'size' and 'value'. Remove printf and
1981 gdb_unbuffer_output. Assign return value to size and value.
1982 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1983 at the beginning.
1984 (check_sizeof): Check the result by printing variable 'size'.
1985 (check_valueof): Check the result by printing variable 'value'.
1986
99fd02d9
YQ
19872015-12-01 Yao Qi <yao.qi@linaro.org>
1988
1989 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1990 for aarch64*-*-linux* target.
1991
f2faf941
PA
19922015-11-30 Pedro Alves <palves@redhat.com>
1993
1994 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1995
04bf20c5
PA
19962015-11-30 Pedro Alves <palves@redhat.com>
1997
1998 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1999 Handle non-stop mode vCont replies.
2000
09df4675
PA
20012015-11-30 Pedro Alves <palves@redhat.com>
2002
2003 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2004 prepare_for_testing. Start gdb with "set non-stop on" appended to
2005 GDBFLAGS. Lax expected stop output.
2006
58b584af
YQ
20072015-11-27 Yao Qi <yao.qi@linaro.org>
2008
2009 * gdb.arch/arm-neon.exp: New.
2010 * gdb.arch/arm-neon.c: New.
2011
dfcb77a8
YQ
20122015-11-27 Yao Qi <yao.qi@linaro.org>
2013
2014 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2015
88e8ec1b
YQ
20162015-11-27 Yao Qi <yao.qi@linaro.org>
2017
2018 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2019 frames-invalid annotation.
2020
bfde72c2
YQ
20212015-11-27 Yao Qi <yao.qi@linaro.org>
2022
2023 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2024
f6512a69
SM
20252015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2026
2027 * gdb.threads/names.exp: New file.
2028 * gdb.threads/names.c: New file.
2029 * README: Mention gdb,no_thread_names.
2030
46a3515b
MM
20312015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2032
2033 PR 19297
2034 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2035 support" error.
2036
62147a22
PA
20372015-11-24 Pedro Alves <palves@redhat.com>
2038
2039 PR 17539
2040 * gdb.base/display.exp: Expect displays to be sorted in ascending
2041 order. Use multi_line.
2042 * gdb.base/solib-display.exp: Likewise.
2043
2f341b6e
PA
20442015-11-24 Pedro Alves <palves@redhat.com>
2045
2046 PR 17539
25d49b86
PA
2047 * gdb.base/display.exp: Expect displays to be sorted in ascending
2048 order. Use multi_line.
2049 * gdb.base/solib-display.exp: Likewise.
2f341b6e 2050
7e0aa6aa
PA
20512015-11-24 Pedro Alves <palves@redhat.com>
2052
2053 PR 17539
2054 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2055 threads in ascending order.
2056 * gdb.base/foll-fork.exp: Likewise.
2057 * gdb.base/foll-vfork.exp: Likewise.
2058 * gdb.base/multi-forks.exp: Likewise.
2059 * gdb.mi/mi-nonstop.exp: Likewise.
2060 * gdb.mi/mi-nsintrall.exp: Likewise.
2061 * gdb.multi/base.exp: Likewise.
2062 * gdb.multi/multi-arch.exp: Likewise.
2063 * gdb.python/py-inferior.exp: Likewise.
2064 * gdb.threads/break-while-running.exp: Likewise.
2065 * gdb.threads/execl.exp: Likewise.
2066 * gdb.threads/gcore-thread.exp: Likewise.
2067 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2068 * gdb.threads/kill.exp: Likewise.
2069 * gdb.threads/linux-dp.exp: Likewise.
2070 * gdb.threads/multiple-step-overs.exp: Likewise.
2071 * gdb.threads/next-bp-other-thread.exp: Likewise.
2072 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2073 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2074 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2075 * gdb.threads/thread-find.exp: Likewise.
2076 * gdb.threads/tls.exp: Likewise.
2077 * lib/mi-support.exp (mi_reverse_list): Delete.
2078 (mi_check_thread_states): No longer reverse list.
2079
2cc57ad8
PA
20802015-11-24 Pedro Alves <palves@redhat.com>
2081
2082 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2083 use lowercase.
2084
c93e8391
SM
20852015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2086
2087 * gdb.trace/actions.c: Include trace-common.h.
2088 (main): Add a location for a fast tracepoint.
2089 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2090 the normal tracepoints.
2091 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2092
045ccf91
SM
20932015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2094
2095 * save-trace.exp: Factor out code to these...
2096 (gdb_save_tracepoints): New.
2097 (gdb_load_tracepoints): New.
2098 (do_save_load_test): New.
2099
5506f9f6
KB
21002015-11-23 Kevin Buettner <kevinb@redhat.com>
2101
2102 * gdb.base/asmlabel.exp: New test.
2103 * gdb.base/asmlabel.c: New test case.
2104
16c3b12f
JB
21052015-11-23 Joel Brobecker <brobecker@adacore.com>
2106
2107 * gdb.base/wrong_frame_bt_full-main.c: New file.
2108 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2109 * gdb.base/wrong_frame_bt_full.exp: New file.
2110
155bfbd3
JB
21112015-11-23 Joel Brobecker <brobecker@adacore.com>
2112
2113 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2114
bb097445
JM
21152015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2116
206853a0 2117 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
2118 pstate register when comparing registers values in
2119 sparc64-*-linux-gnu targets to avoid spurious differences.
2120
9c88ed8f
JM
21212015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2122
206853a0 2123 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 2124
96161e25
SL
21252015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2126
2127 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2128 as type argument to gdb_compile.
2129 * gdb.base/nested-subp2.exp: Likewise.
2130 * gdb.base/nested-subp3.exp: Likewise.
2131
340c2830
DV
21322015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2133
2134 * lib/dwarf.exp (_note): Fix left shift of negative value.
2135 * gdb.trace/trace-condition.exp: Likewise.
2136
c1862d0f
YQ
21372015-11-13 Yao Qi <yao.qi@linaro.org>
2138
2139 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2140 comments about d10v.
2141 (test_scalar_returns): Likewise.
2142 * gdb.base/d10v.ld: Remove.
2143 * gdb.base/overlays.exp: Remove the target triplet checking for
2144 d10v-*-*.
2145 * gdb.base/structs.exp (test_struct_returns): Remove the
2146 comments about d10v.
2147 (test_struct_calls): Likewise.
2148
77ae9c19
YQ
21492015-11-13 Yao Qi <yao.qi@linaro.org>
2150
2151 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2152 * gdb.base/gnu_vector.c: Don't include stdio.h.
2153 (main): Don't print res and call add_some_intvecs.
2154
430e004e
MK
21552015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2156
2157 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2158 macro.
2159 (func5): Removed.
2160 (func4): Use FAST_TRACEPOINT_LABEL.
2161 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2162 macro.
2163 (func): Removed.
2164 (thread_function): Use FAST_TRACEPOINT_LABEL.
2165 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2166 (func): Remove.
2167 (marker): Use FAST_TRACEPOINT_LABEL.
2168 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2169 (pendfunc1): Remove.
2170 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2171 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2172 (foo): Remove.
2173 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2174 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2175 macro.
2176 (func): Remove.
2177 (marker): Use FAST_TRACEPOINT_LABEL.
2178 * gdb.trace/trace-common.h: New header.
2179 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2180 macro.
2181 (func): Remove.
2182 (marker): Use FAST_TRACEPOINT_LABEL.
2183 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2184 (func): Remove.
2185 (thread_function): Use FAST_TRACEPOINT_LABEL.
2186
6e7675a7
MK
21872015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2188
2189 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2190 in front.
2191 * gdb.trace/change-loc.exp: Use global pcreg definition.
2192 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2193 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2194 in front.
2195 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2196 * gdb.trace/pending.exp: Likewise.
2197 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2198 * gdb.trace/trace-break.exp: Likewise.
2199 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2200 in front.
2201 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2202 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2203 in front.
2204 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2205
dddc0e16
JB
22062015-11-09 Joel Brobecker <brobecker@adacore.com>
2207
2208 * gdb.ada/fin_fun_out: New testcase.
2209
c6f0b406
KB
22102015-11-07 Kevin Buettner <kevinb@redhat.com>
2211
2212 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2213 value associated with DW_AT_byte_size.
2214 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2215 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2216 DW_AT_upper_bound.
2217
f01dcfd9
KB
22182015-11-07 Kevin Buettner <kevinb@redhat.com>
2219
2220 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2221 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2222 version.
2223 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2224 gdb.dwarf2/dw2-canonicalize-type.exp,
2225 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2226 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2227 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2228 provided by gdb_target_symbol_prefix_flags_asm.
2229 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2230 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2231 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2232 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2233 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2234 macros where needed). Use this macro for symbols which require
2235 the prefix provided by SYMBOL_PREFIX.
2236
2223449a
KB
22372015-11-05 Kevin Buettner <kevinb@redhat.com>
2238
2239 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2240 New procs.
2241 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2242 representing expressions, of more than one list element.
2243 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2244 to prepend linker symbol prefix to f.
2245 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2246 table_1 and table_2.
2247 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2248 Likewise, for f and g.
2249 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2250 for ptr.
2251 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2252 for main.
2253 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2254 table_1_ptr and table_2_ptr.
2255
6f2f1a3a
JK
22562015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2257 Joel Brobecker <brobecker@adacore.com>
2258
2259 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2260
566c56c9
MK
22612015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2262
2263 * gdb.reverse/s390-mvcle.c: New test.
2264 * gdb.reverse/s390-mvcle.exp: New file.
2265 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2266
d5f0636b
MK
22672015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2268
2269 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2270
7ad8b86c
MK
22712015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2272
2273 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2274 reaching marker2.
2275 * gdb.reverse/getresuid-reverse.exp: Likewise.
2276 * gdb.reverse/pipe-reverse.exp: Likewise.
2277 * gdb.reverse/readv-reverse.exp: Likewise.
2278 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2279 * gdb.reverse/time-reverse.exp: Likewise.
2280 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2281
4081c0f1
YQ
22822015-10-30 Yao Qi <yao.qi@linaro.org>
2283
2284 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2285 (empty_cycle): Remove.
2286 (main): Don't call empty_cycle. Don't use watch_count_done.
2287 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2288 empty_cycle. Rewrite the code counting HW watchpoints.
2289
452b4ba5
MK
22902015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2291
2292 * gdb.reverse/fstatat-reverse.c: New test.
2293 * gdb.reverse/fstatat-reverse.exp: New file.
2294 * gdb.reverse/getresuid-reverse.c: New test.
2295 * gdb.reverse/getresuid-reverse.exp: New file.
2296 * gdb.reverse/pipe-reverse.c: New test.
2297 * gdb.reverse/pipe-reverse.exp: New file.
2298 * gdb.reverse/readv-reverse.c: New test.
2299 * gdb.reverse/readv-reverse.exp: New file.
2300 * gdb.reverse/recvmsg-reverse.c: New test.
2301 * gdb.reverse/recvmsg-reverse.exp: New file.
2302 * gdb.reverse/time-reverse.c: New test.
2303 * gdb.reverse/time-reverse.exp: New file.
2304 * gdb.reverse/waitpid-reverse.c: New test.
2305 * gdb.reverse/waitpid-reverse.exp: New file.
2306
5e2e7507
JK
23072015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2308
2309 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2310
0fde2c53
DE
23112015-10-26 Doug Evans <dje@google.com>
2312
2313 PR symtab/17391
2314 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2315 * gdb.dwarf2/bad-regnum.c: New file.
2316 * gdb.dwarf2/bad-regnum.exp: New file.
2317
1a70ae97
DE
23182015-10-26 Doug Evans <dje@google.com>
2319
2320 PR python/18938
2321 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2322 file.
2323
27dc26ab
JK
23242015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2325
2326 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2327 for a change by "Mention language in compile error message".
2328
bed91f4d
SM
23292015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2330
2331 PR python/18073
2332 * gdb.python/py-type.c (C::a_method): New.
2333 (C::a_const_method): New.
2334 (C::a_static_method): New.
2335 (a_function): New.
2336 * gdb.python/py-type.exp (test_fields): Test getting fields
2337 from function and method.
2338
3f2f83dd
KB
23392015-10-21 Keven Boell <keven.boell@intel.com>
2340
2341 * gdb.fortran/vla-alloc-assoc.exp: New file.
2342 * gdb.fortran/vla-datatypes.exp: New file.
2343 * gdb.fortran/vla-datatypes.f90: New file.
2344 * gdb.fortran/vla-history.exp: New file.
2345 * gdb.fortran/vla-ptype-sub.exp: New file.
2346 * gdb.fortran/vla-ptype.exp: New file.
2347 * gdb.fortran/vla-sizeof.exp: New file.
2348 * gdb.fortran/vla-sub.f90: New file.
2349 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2350 * gdb.fortran/vla-value-sub-finish.exp: New file.
2351 * gdb.fortran/vla-value-sub.exp: New file.
2352 * gdb.fortran/vla-value.exp: New file.
2353 * gdb.fortran/vla-ptr-info.exp: New file.
2354 * gdb.mi/mi-vla-fortran.exp: New file.
2355 * gdb.mi/vla.f90: New file.
2356
27145d50
SL
23572015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2358
2359 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2360 of hardwired timeout value.
2361
5f3ff4f8
JK
23622015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2363 Pedro Alves <palves@redhat.com>
2364
2365 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2366 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2367
bfd09d20
JS
23682015-10-19 Josh Stone <jistone@redhat.com>
2369
2370 * gdb.base/catch-syscall.c: Include <sched.h>.
2371 (unknown_syscall): New variable.
2372 (main): Trigger a vfork and an unknown syscall.
2373 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2374 (unknown_syscall_number): Likewise.
2375 (check_call_to_syscall): Accept an optional syscall pattern.
2376 (check_return_from_syscall): Likewise.
2377 (check_continue): Likewise.
2378 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2379 (test_catch_syscall_skipping_return): New test toggling off 'catch
2380 syscall' to step over the syscall return, then toggling back on.
2381 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2382 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2383 (do_syscall_tests): Call test_catch_syscall_without_args and
2384 test_catch_syscall_mid_vfork.
2385 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2386 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2387
b32b93c6
AS
23882015-10-19 Andrew Stubbs <ams@codesourcery.com>
2389
2390 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2391 print g_vE): Add new pass patterns.
2392 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2393 print various symbol names for vptr fields.
2394
9d622bda
AB
23952015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2396
2397 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2398 results.
2399
0fd8ac1c
YQ
24002015-10-12 Yao Qi <yao.qi@linaro.org>
2401
2402 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2403
34240514
YQ
24042015-10-12 Yao Qi <yao.qi@linaro.org>
2405
2406 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2407 is aarch64*-*-linux*.
2408
8240f442
YQ
24092015-10-12 Yao Qi <yao.qi@linaro.org>
2410
2411 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2412 (can_relocate_bcond_true): ... it.
2413 (can_relocate_bcond_false): New function.
2414 (foo): Likewise.
2415 (can_relocate_bl): Likewise.
2416 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2417 can_relocate_bl.
2418
2520f728
PMR
24192015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2420
2421 * gdb.base/nested-addr.c: New file.
2422 * gdb.base/nested-addr.exp: New testcase.
2423
abcef95a
MM
24242015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2425
2426 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2427 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2428 its output. Ignore the output of "record goto begin" and instead
2429 check that GDB is replaying.
2430
145e3ddb
PA
24312015-10-09 Pedro Alves <palves@redhat.com>
2432
2433 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2434 (top level): Use it in the run with no args test.
2435
d5d8c4e1
IB
24362015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2437
2438 * gdb.dlang/properties.exp: New file.
2439
06e635ef
SL
24402015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2441
2442 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2443 whether or not address 0x1000 is mapped on the target.
2444
e019fd1d
SM
24452015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2446
2447 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2448 build.
2449
77ba2a67
MM
24502015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2451
2452 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2453 instruction-history test.
2454
c60eb31f
DE
24552015-09-28 Doug Evans <dje@google.com>
2456
2457 * gdb.base/gcore.c (array_func): Add reference to static_array.
2458
9a3c8263
SM
24592015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2460
2461 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2462 source line.
2463
9720e656
SL
24642015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2465
2466 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2467 short or char as base type.
2468
938d3bf2
SL
24692015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2470
2471 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2472 to allow any size enum.
2473
e6c2c623
PMR
24742015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2475
2476 * gdb.ada/array_ptr_renaming.exp: New testcase.
2477 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2478 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2479
06da0f77
PL
24802015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2481
2482 * gdb.trace/ftrace-lock.c: New file.
2483 * gdb.trace/ftrace-lock.exp: New file.
2484
4f51c22a
PL
24852015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2486
2487 * gdb.arch/insn-reloc.c: New file.
2488 * gdb.arch/ftrace-insn-reloc.exp: New file.
2489
7041adf4
PL
24902015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2491
2492 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2493 instruction.
2494 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2495 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2496 * gdb.trace/range-stepping.c: Likewise.
2497 * gdb.trace/trace-break.c: Likewise.
2498 * gdb.trace/trace-mt.c (thread_function): Likewise.
2499 * gdb.trace/ftrace.c (marker): Likewise.
2500 * gdb.trace/trace-condition.c (marker): Likewise.
2501 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2502 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2503 is_aarch64_target.
2504
015d2e7e
DE
25052015-09-18 Doug Evans <xdje42@gmail.com>
2506
2507 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2508 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2509
26b188a2
SL
25102015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2511
2512 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2513 the breakpoint.
2514
79dc332b
SL
25152015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2516
2517 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2518 the pending breakpoint. Remove timeout override for "Run till
2519 MI pending breakpoint on pendfunc3 on thread 2" test.
2520
f57929f2
SL
25212015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2522
2523 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2524 filename pattern.
2525
3f469b17
SL
25262015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2527
2528 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2529 in breakpoint filename pattern.
2530
515b89b3
SL
25312015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2532
7800dbe4
SL
2533 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2534
25352015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2536
515b89b3
SL
2537 * gdb.linespec/explicit.exp: Check for readline support for
2538 tab-completion tests. Fix obvious typo.
2539
d2939ba2
MM
25402015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2541
2542 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2543 and replay.
2544
cbb55fa7
MM
25452015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2546
2547 * gdb.btrace/non-stop.c: New.
2548 * gdb.btrace/non-stop.exp: New.
2549
43691ca1
PL
25502015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2551 Yao Qi <yao.qi@linaro.org>
2552
2553 * gdb.trace/trace-condition.c: New file.
2554 * gdb.trace/trace-condition.exp: New file.
2555
d78908cf
WW
25562015-09-16 Wei-cheng Wang <cole945@gmail.com>
2557
2558 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2559 for testing bytecode compilation.
2560
1ed415e2
PA
25612015-09-16 Pedro Alves <palves@redhat.com>
2562 Sandra Loosemore <sandra@codesourcery.com>
2563
2564 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2565 (SECONDS): Redefine.
2566 (main): Call pthread_kill and alarm early.
2567 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2568 support.
2569 (test): If the target can't hardware step and doesn't support
2570 displaced stepping, increase the timeout.
2571
d136eff5
PA
25722015-09-16 Pedro Alves <palves@redhat.com>
2573
2574 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2575 (enable_debug): New procedures.
2576 (test): Use them. Bail out if waiting for threads fails.
2577 (top level): Bail out if a test fails.
2578
991f019c
YQ
25792015-09-16 Yao Qi <yao.qi@linaro.org>
2580
2581 * gdb.asm/asm-source.exp: Set asm-arch for
2582 aarch64*-*-* target.
2583 * gdb.asm/aarch64.inc: New file.
2584
bfca584f
PMR
25852015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2586
2587 * gdb.ada/array_of_variable_length.exp: New testcase.
2588 * gdb.ada/array_of_variable_length/foo.adb: New file.
2589 * gdb.ada/array_of_variable_length/pck.adb: New file.
2590 * gdb.ada/array_of_variable_length/pck.ads: New file.
2591
b326e587
DE
25922015-09-15 Doug Evans <dje@google.com>
2593
2594 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2595 of function static local variable.
2596
5382cfab
PW
25972015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2598
2599 * gdb.threads/tls-so_extern.exp: New test file.
2600 * gdb.threads/tls-so_extern.c: New test file.
2601 * gdb.threads/tls-so_extern_main.c: New test file.
2602
141c5cc4
JK
26032015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2604
2605 * gdb.opt/solib-intra-step-lib.c: New file.
2606 * gdb.opt/solib-intra-step-main.c: New file.
2607 * gdb.opt/solib-intra-step.exp: New file.
2608
d15dcecd
PA
26092015-09-15 Pedro Alves <palves@redhat.com>
2610
2611 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2612 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2613
4c2f2a79
PA
26142015-09-14 Pedro Alves <palves@redhat.com>
2615
2616 * gdb.base/hook-stop-continue.c: Delete.
2617 * gdb.base/hook-stop-continue.exp: Delete.
2618 * gdb.base/hook-stop-frame.c: Delete.
2619 * gdb.base/hook-stop-frame.exp: Delete.
2620 * gdb.base/hook-stop.c: New file.
2621 * gdb.base/hook-stop.exp: New file.
2622
919e6dbe
PMR
26232015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2624
2625 * gdb.ada/access_to_packed_array.exp: New testcase.
2626 * gdb.ada/access_to_packed_array/foo.adb: New file.
2627 * gdb.ada/access_to_packed_array/pack.adb: New file.
2628 * gdb.ada/access_to_packed_array/pack.ads: New file.
2629
157280a4
MM
26302015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2631
2632 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2633 buffer size test.
2634
2fd33e94
DB
26352015-09-11 Don Breazeal <donb@codesourcery.com>
2636
2637 * gdb.base/foll-exec.c: Add copyright header. Fix
2638 formatting issues.
2639 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2640 (do_exec_tests): Use clean_restart in place of zap_session,
2641 and for test initialization. Fix formatting issues. Use
2642 fail in place of perror.
2643 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2644 an expect statement to match an expression with output from
2645 the program under debug.
2646 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2647 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2648 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2649 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2650 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2651
e70b6e8e
DE
26522015-09-09 Doug Evans <dje@google.com>
2653
2654 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2655
7a551a51
DE
26562015-09-09 Doug Evans <dje@google.com>
2657
2658 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2659
4c666f84
DE
26602015-09-09 Doug Evans <dje@google.com>
2661
2662 * gdb.base/savedregs.exp: Fix typo.
2663
243a9253
PA
26642015-09-09 Pedro Alves <palves@redhat.com>
2665
2666 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2667
c0fa8fbd
SL
26682015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2669
2670 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2671 command actually switches threads. Give up on remaining
2672 tests if target fails to stop at breakpoint.
2673
cd7c1778
PMR
26742015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2675
2676 * gdb.ada/funcall_char.exp: New testcase.
2677 * gdb.ada/funcall_char/foo.adb: New file.
2678
dc5c8746
PMR
26792015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2680
2681 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2682 expected outputs. Add two testcases for completing ambiguous
2683 functions.
2684 * gdb.ada/complete/aux_pck.adb: New file.
2685 * gdb.ada/complete/aux_pck.ads: New file.
2686 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2687 Ambiguous_Func functions.
2688 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2689 * gdb.ada/complete/pck.adb: Likewise.
2690
4e83a1e7
UW
26912015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2692
2693 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2694 failures to run the test program under GDB.
2695
8ce74153
LM
26962015-08-26 Luis Machado <lgustavo@codesourcery.com>
2697
2698 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2699 to C.
2700
e9756d52
PP
27012015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2702
2703 * gdb.base/run-after-attach.exp: New test file.
2704 * gdb.base/run-after-attach.c: New test file.
2705
8d37573b
DB
27062015-08-26 Don Breazeal <donb@codesourcery.com>
2707
2708 * gdb.base/foll-exec-2.c: New test program.
2709 * gdb.base/foll-exec-2.exp: New test.
2710
63e43d3a
PMR
27112015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2712
2713 * gdb.base/nested-subp1.exp: New file.
2714 * gdb.base/nested-subp1.c: New file.
2715 * gdb.base/nested-subp2.exp: New file.
2716 * gdb.base/nested-subp2.c: New file.
2717 * gdb.base/nested-subp3.exp: New file.
2718 * gdb.base/nested-subp3.c: New file.
2719
3d40fbb5
PA
27202015-08-24 Pedro Alves <palves@redhat.com>
2721
2722 * gdb.server/connect-without-multi-process.c: New file.
2723 * gdb.server/connect-without-multi-process.exp: New file.
2724
4422ac93
LM
27252015-08-24 Luis Machado <lgustavo@codesourcery.com>
2726
2727 * gdb.opt/inline-markers.c: Make z int.
2728
91dddb86
LM
27292015-08-24 Luis Machado <lgustavo@codesourcery.com>
2730
2731 * gdb.opt/inline-markers.c: Make z volatile.
2732
a48847ee
LM
27332015-08-24 Luis Machado <lgustavo@codesourcery.com>
2734
2735 * gdb.opt/inline-bt.c: New volatile global z.
2736 * gdb.opt/inline-cmds.c: Likewise.
2737 * gdb.opt/inline-locals.c: Likewise.
2738 * gdb.opt/inline-markers.c: New extern global z.
2739 (marker): Use z.
2740 (inline_fn): Likewise.
2741
0ebbc52b
PA
27422015-08-24 Pedro Alves <palves@redhat.com>
2743
2744 * config/m32r-stub.exp: Remove file.
2745 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2746 * gdb.base/call-rt-st.exp: Likewise.
2747 * gdb.base/call-strs.exp: Likewise.
2748 * gdb.base/default.exp: Remove references to h8300-*-hms and
2749 *-*-udi*.
2750 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2751
77c365df
AA
27522015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2753
2754 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2755 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2756 and "return" use KFAIL when GDB can not read/write the vector
2757 return value.
2758
4313b8c0
GB
27592015-08-21 Gary Benson <gbenson@redhat.com>
2760
2761 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2762
0e433b32
PA
27632015-08-20 Pedro Alves <palves@redhat.com>
2764
2765 * gdb.server/solib-list.exp: No longer expect an interior stop in
2766 non-stop mode.
2767
221e1a37
PA
27682015-08-20 Pedro Alves <palves@redhat.com>
2769
2770 * gdb.server/connect-stopped-target.c: New file.
2771 * gdb.server/connect-stopped-target.exp: New file.
2772
40e3ad0e
PA
27732015-08-20 Pedro Alves <palves@redhat.com>
2774
2775 * gdb.dwarf2/comp-unit-lang.exp: New file.
2776 * gdb.dwarf2/comp-unit-lang.c: New file.
2777
af39b327
PMR
27782015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2779
2780 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2781 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2782
7d45c7c3 27832015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 2784
7d45c7c3
KB
2785 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2786 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2787
4d6cceb4
DE
27882015-08-18 Doug Evans <dje@google.com>
2789 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2790
2791 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2792 skip_python_tests. New arg prompt_regexp.
2793 (skip_python_tests): New function.
2794 * lib/mi-support.exp (mi_skip_python_tests): New function.
2795 * gdb.python/py-mi-objfile-gdb.py: New file.
2796 * gdb.python/py-mi-objfile.c: New file.
2797 * gdb.python/py-mi-objfile.exp: New file.
2798
ad89c2aa
KS
27992015-08-17 Keith Seitz <keiths@redhat.com>
2800
2801 * gdb.linespec/explicit.exp: Move strace test from here ...
2802 * gdb.trace/strace.exp: ... to here.
2803
e3ae3c43
PP
28042015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2805
2806 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2807 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2808
604b2636
DE
28092015-08-14 Doug Evans <xdje42@gmail.com>
2810
2811 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2812 inferior before selecting a new file.
2813
6ff0ba5f
DE
28142015-08-14 Doug Evans <xdje42@gmail.com>
2815
2816 * gdb.mi/mi-disassemble.exp: Update.
2817 * gdb.base/disasm-optim.S: New file.
2818 * gdb.base/disasm-optim.c: New file.
2819 * gdb.base/disasm-optim.h: New file.
2820 * gdb.base/disasm-optim.exp: New file.
2821
9ca98f92
KS
28222015-08-14 Keith Seitz <keiths@redhat.com>
2823
2824 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2825 "evaluated-by".
2826
52bbc560
JB
28272015-08-13 Joel Brobecker <brobecker@adacore.com>
2828
2829 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2830
5d8c3ed3
PMR
28312015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2832
2833 * gdb.ada/fun_renaming.exp: New testcase.
2834 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2835 * gdb.ada/fun_renaming/pack.adb: New file.
2836 * gdb.ada/fun_renaming/pack.ads: New file.
2837
ea8812bc
KS
28382015-08-12 Keith Seitz <keiths@redhat.com>
2839
2840 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2841 gdb_get_line_number.
2842
4dafcdeb
JB
28432015-08-12 Joel Brobecker <brobecker@adacore.com>
2844
2845 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2846 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2847 gdb.base/dso2dso.exp: New files.
2848
5ba32597
SDJ
28492015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2850 Pedro Alves <palves@redhat.com>
2851 Keith Seitz <keiths@redhat.com>
2852
2853 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2854 GDBFLAGS.
2855
b6dafabf
PP
28562015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2857
2858 * gdb.base/gdbhistsize-history.exp
2859 (test_histsize_history_setting): Use save_vars.
2860 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2861 Use save_vars.
2862 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2863 * gdb.base/readline.exp: Use save_vars.
2864
abe8e607
PP
28652015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2866
2867 * lib/gdb.exp (save_vars): New proc.
2868
629500fa
KS
28692015-08-11 Keith Seitz <keiths@redhat.com>
2870
2871 * gdb.base/help.exp: Update help_breakpoint_text.
2872
eb8c4e2e
KS
28732015-08-11 Keith Seitz <keiths@redhat.com>
2874
2875 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2876 (at toplevel): Call test_explicit_breakpoints.
2877 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2878 breakpoints.
2879 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2880 breakpoint conditions, "-cond".
2881
87f0e720
KS
28822015-08-11 Keith Seitz <keiths@redhat.com>
2883
2884 * gdb.linespec/3explicit.c: New file.
2885 * gdb.linespec/cpexplicit.cc: New file.
2886 * gdb.linespec/cpexplicit.exp: New file.
2887 * gdb.linespec/explicit.c: New file.
2888 * gdb.linespec/explicit.exp: New file.
2889 * gdb.linespec/explicit2.c: New file.
2890 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2891 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2892 before using in the matching pattern.
2893 Clarify that `prefix' is a regular expression.
2894
f00aae0f
KS
28952015-08-11 Keith Seitz <keiths@redhat.com>
2896
2897 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2898 test.
2899 Add tests for missing ",FMT" and ",".
2900
e27852be
DE
29012015-08-10 Doug Evans <dje@google.com>
2902 Keith Seitz <keiths@redhat.com>
2903
2904 PR gdb/17960
2905 * gdb.base/completion.exp: Add location completer tests.
2906
7f03bd92
PA
29072015-08-07 Pedro Alves <palves@redhat.com>
2908
2909 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2910 tests here.
2911 (top level): Run do_test with and without displaced stepping.
2912
3fc8eb30
PA
29132015-08-07 Pedro Alves <palves@redhat.com>
2914
2915 * gdb.base/valgrind-disp-step.c: New file.
2916 * gdb.base/valgrind-disp-step.exp: New file.
2917
d4569d7b
PA
29182015-08-07 Pedro Alves <palves@redhat.com>
2919
2920 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2921 Delete function.
2922 (main): Add alarm. Run an infinite loop instead of calling
2923 wait_threads.
2924 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2925 comment.
2926 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2927 Delete function.
2928 (main): Add alarm. Run an infinite loop instead of calling
2929 wait_threads.
2930 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2931 comment.
2932
e1316e60
PA
29332015-08-07 Pedro Alves <palves@redhat.com>
2934
2935 * gdb.base/checkpoint-ns.exp: New file.
2936 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2937 standard_testfile.
2938
da8c46d2
MM
29392015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2940
2941 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2942 * gdb.btrace/instruction_history.exp: Update.
2943 * gdb.btrace/tsx.exp: New.
2944 * gdb.btrace/tsx.c: New.
2945
de1c2c52
PA
29462015-08-06 Pedro Alves <palves@redhat.com>
2947
2948 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2949 increase timeout.
2950 * gdb.reverse/until-precsave.exp: Bump timeouts.
2951
782e0bf4
PA
29522015-08-06 Pedro Alves <palves@redhat.com>
2953
2954 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2955
83e97ed0
PA
29562015-08-06 Pedro Alves <palves@redhat.com>
2957
2958 PR gdb/18749
2959 * gdb.threads/process-dies-while-handling-bp.c: New file.
2960 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2961
863d01bd
PA
29622015-08-06 Pedro Alves <palves@redhat.com>
2963
2964 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2965 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2966
0a39bb32
PA
29672015-08-05 Pedro Alves <palves@redhat.com>
2968
2969 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2970 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2971
ee2d2b10
SL
29722015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2973
2974 * gdb.base/bp-permanent.exp: Report test as unsupported if
2975 the target cannot stop at the permanent breakpoint.
2976
4e1bdb00
DE
29772015-08-03 Doug Evans <dje@google.com>
2978
2979 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2980 10000.
2981
3d338901
DE
29822015-08-03 Doug Evans <dje@google.com>
2983
2984 * Makefile.in (workers/%.worker, build-perf): New rule.
2985 (GDB_PERFTEST_MODE): New variable.
2986 (check-perf): Use it.
2987 (clean): Clean up gdb.perf parallel build subdirs.
2988 * lib/build-piece.exp: New file.
2989 * lib/gdb.exp (make_gdb_parallel_path): New function
2990 (standard_output_file, standard_temp_file): Call it.
2991 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2992 of $GDB_PARALLEL.
2993 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2994
af061d3e
DE
29952015-08-03 Doug Evans <dje@google.com>
2996
8e1afc81 2997 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
2998 (LOG_FILE_NAME): New global.
2999 (TextReporter.__init__): Initialize self.txt_sum.
3000 (TextReporter.report): Add support for multiple data-points.
3001 Move report to perftest.sum, put raw data in perftest.log.
3002 (TextReporter.start): Open sum and log files.
3003 (TextReporter.end): Close sum and log files.
8e1afc81
DE
3004 * gdb.perf/lib/perftest/testresult.py
3005 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 3006
2c8c5d37
PA
30072015-07-31 Pedro Alves <palves@redhat.com>
3008
3009 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3010 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3011 kill_wait_spawned_process instead of explicit "kill -9".
3012 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3013 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3014 kill_wait_spawned_process.
3015 * gdb.base/attach-twice.exp: Likewise.
3016 * gdb.base/attach.exp: Likewise.
3017 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3018 gdb_test_multiple.
3019 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3020 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3021 kill_wait_spawned_process.
3022 * gdb.base/valgrind-infcall.exp: Likewise.
3023 * gdb.multi/multi-attach.exp: Likewise.
3024 * gdb.python/py-prompt.exp: Likewise.
3025 * gdb.python/py-sync-interp.exp: Likewise.
3026 * gdb.server/ext-attach.exp: Likewise.
3027 * gdb.threads/attach-into-signal.exp (corefunc): Use
3028 spawn_wait_for_attach, spawn_id_get_pid and
3029 kill_wait_spawned_process.
3030 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3031 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3032 spawn_id_get_pid and kill_wait_spawned_process.
3033 * gdb.threads/attach-stopped.exp (corefunc): Use
3034 spawn_wait_for_attach, spawn_id_get_pid and
3035 kill_wait_spawned_process.
3036 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3037 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3038 kill_wait_spawned_process instead of explicit "kill -9".
3039 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3040 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3041 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3042 processes. Don't map cygwin/windows pids here. Now returns a
3043 spawn id list.
3044
032a0fca
SL
30452015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3046
3047 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3048 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3049 correct patch.
3050
61a934ca
SL
30512015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3052
3053 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3054
4bc4d428
SL
30552015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3056
3057 Reapply:
3058 2014-05-21 Mark Wielaard <mjw@redhat.com>
3059
3060 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3061
998d452a
PA
30622015-07-30 Pedro Alves <palves@redhat.com>
3063
3064 * linux-low.c (handle_extended_wait): Set the child's last
3065 reported status to TARGET_WAITKIND_STOPPED.
3066
69dde7dc
PA
30672015-07-30 Pedro Alves <palves@redhat.com>
3068
3069 PR threads/18600
3070 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3071 only shows inferior 1.
3072
4dd63d48
PA
30732015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3074 Pedro Alves <palves@redhat.com>
3075
3076 PR threads/18600
3077 * gdb.threads/fork-plus-threads.c: New file.
3078 * gdb.threads/fork-plus-threads.exp: New file.
3079
d618e4c5
PP
30802015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3081
3082 * gdb.base/batch-preserve-term-settings.exp
3083 (test_terminal_settings_preserved_after_cli_exit): Use
3084 send_quit_command.
3085
1eef6428
PA
30862015-07-29 Pedro Alves <palves@redhat.com>
3087 Don Breazeal <donb@codesourcery.com>
3088
3089 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3090 output from both inferior_spawn_id and gdb_spawn_id.
3091
7da5b897
SDJ
30922015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3093
3094 * gdb.threads/attach-into-signal.exp (corefunc): Use
3095 with_test_prefix on nested loops, uniquefying the test messages.
3096
dac804df
SDJ
30972015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3098
3099 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3100 commit.
3101
06265e53
PP
31022015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3103
3104 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3105 New proc.
3106 (test_terminal_settings_preserved_after_sigterm): New test.
3107
18206ca3
PP
31082015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3109
3110 * gdb.base/batch-preserve-term-settings.exp
3111 (test_terminal_settings_preserved_after_cli_exit): New test.
3112
90074d11
PP
31132015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3114
3115 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3116 manipulation of saved_gdbflags.
3117 (test_terminal_settings_preserved): Remove global declaration of
3118 the unused variable pagination_prompt. Remove manipulation of
3119 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3120 GDBFLAGS.
3121
eb1a7902
PA
31222015-07-29 Pedro Alves <palves@redhat.com>
3123
3124 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3125
8b75dd3b
PA
31262015-07-29 Pedro Alves <palves@redhat.com>
3127
3128 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3129 at the top.
3130
dedad4e3
PA
31312015-07-29 Pedro Alves <palves@redhat.com>
3132
3133 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3134 (main): Call gdb_unbuffer_output.
3135 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3136 (main): Call gdb_unbuffer_output.
3137 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3138 (main): Call gdb_unbuffer_output.
3139 * gdb.base/call-strs.exp: Adjust to step over the
3140 gdb_unbuffer_output call.
3141 * gdb.base/catch-gdb-caused-signals.c: Include
3142 "../lib/unbuffer_output.c".
3143 (main): Call gdb_unbuffer_output.
3144 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3145 (main): Call gdb_unbuffer_output.
3146 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3147 (main): Call gdb_unbuffer_output.
3148 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3149 (main): Call gdb_unbuffer_output.
3150 * gdb.base/shlib-call.exp: Adjust to step over the
3151 gdb_unbuffer_output call.
3152 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3153 (main): Call gdb_unbuffer_output.
3154 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3155 (main): Call gdb_unbuffer_output.
3156 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3157 (main): Rename to ...
3158 (test): ... this.
3159 (main): Reimplement.
3160 * gdb.base/varargs.exp: Run to test instead of to main.
3161 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3162 (main): Call gdb_unbuffer_output.
3163
58789a91
PA
31642015-07-29 Pedro Alves <palves@redhat.com>
3165
3166 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3167 factore out from mi_continue_dprintf. For call-style dprintfs,
3168 expect dprintf output out of $inferior_spawn_id.
3169 (mi_continue_dprintf): Use mi_expect_dprintf.
3170 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3171 (main): Call gdb_unbuffer_output.
3172
e8376742
PA
31732015-07-29 Pedro Alves <palves@redhat.com>
3174
3175 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3176 (default_mi_gdb_start): Set inferior_spawn_id instead of
3177 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3178 gdb_spawn_id.
3179 (mi_gdb_test): Always expect inferior output from both
3180 $inferior_spawn_id and $gdb_spawn_id.
3181
08280010
PA
31822015-07-29 Pedro Alves <palves@redhat.com>
3183
3184 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3185 send_inferior and $inferior_spawn_id.
3186
4d30e432
PA
31872015-07-29 Pedro Alves <palves@redhat.com>
3188
3189 * gdb.gdb/complaints.exp (test_initial_complaints)
3190 (test_serial_complaints, test_short_complaints): Use
3191 gdb_test_stdio.
3192 (test_empty_complaint): Handle $inferior_spawn_id !=
3193 $gdb_spawn_id.
3194
0d30a335
PA
31952015-07-29 Pedro Alves <palves@redhat.com>
3196
3197 * gdb.base/varargs.exp: Use gdb_test_stdio.
3198
39413b29
PA
31992015-07-29 Pedro Alves <palves@redhat.com>
3200
3201 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3202
7cb000a9
PA
32032015-07-29 Pedro Alves <palves@redhat.com>
3204
3205 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3206
d7b8ac82
PA
32072015-07-29 Pedro Alves <palves@redhat.com>
3208
3209 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3210 parameter into two new parameters, "inf_result" and "gdb_result".
3211 Expect inferior output and gdb output from $inferior_spawn_id and
3212 $gdb_spawn_id, respectively. Adjust all callers.
3213
789c3a0c
PA
32142015-07-29 Pedro Alves <palves@redhat.com>
3215
3216 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3217 of gdb_test_sequence.
3218
77e760c3
PA
32192015-07-29 Pedro Alves <palves@redhat.com>
3220
3221 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3222 (saw_spurious_output): Expect inferior output from
3223 $inferior_spawn_id. Use gdb_test_stdio.
3224
8396d2cd
PA
32252015-07-29 Pedro Alves <palves@redhat.com>
3226
3227 * gdb.base/dprintf.exp: Use standard_testfile. Change
3228 prepare_for_testing call.
3229 (srcfile): Don't set.
3230 (restart): New procedure.
3231 (test_dprintf): New procecure, use to continue over dprintfs.
3232 (test_call, test_agent): New procedures, tests moved here.
3233 Restart gdb and recreate dprintfs. Adjust expected output.
3234
2051d61f
PA
32352015-07-29 Pedro Alves <palves@redhat.com>
3236
3237 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3238
452397af
PA
32392015-07-29 Pedro Alves <palves@redhat.com>
3240
3241 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3242
8aed9555
PA
32432015-07-29 Pedro Alves <palves@redhat.com>
3244
3245 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3246 gdb_test_stdio.
3247
188a61b4
PA
32482015-07-29 Pedro Alves <palves@redhat.com>
3249
3250 * lib/gdb.exp (gdb_test_stdio): New procedure.
3251
12264a45
PA
32522015-07-29 Pedro Alves <palves@redhat.com>
3253
3254 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3255
23ffc893
PA
32562015-07-29 Pedro Alves <palves@redhat.com>
3257
3258 * gdb.base/call-signal-resume.exp: Remove check for
3259 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3260 * gdb.base/unwindonsignal.exp: Likewise.
3261 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3262 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3263
65566918
PA
32642015-07-29 Pedro Alves <palves@redhat.com>
3265
3266 * gdb.base/siginfo-addr.c (pass): New function.
3267 (handler): Call it iff si_addr is correct.
3268 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3269 Set a breakpoint at "pass" and continue to it.
3270
d60a9221
SDJ
32712015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3272
3273 * gdb.python/py-objfile.exp: Make some tests have unique names.
3274 * gdb.python/py-pp-registration.exp: Likewise.
3275
bde40b8f
PA
32762015-07-28 Pedro Alves <palves@redhat.com>
3277
3278 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3279
13e1dec8
SM
32802015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3281
3282 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3283
da33c9a7
SM
32842015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3285
3286 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3287
077836f7
PP
32882015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3289
3290 * gdb.base/gdb-sigterm-2.exp: New test.
3291
b8cc7b2e
DE
32922015-07-25 Doug Evans <xdje42@gmail.com>
3293
3294 Revert:
3295 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3296 (workers/%.worker, build-perf): New rule.
3297 (GDB_PERFTEST_MODE): New variable.
3298 (check-perf): Use it.
3299 (clean): Clean up gdb.perf parallel build subdirs.
3300 * lib/build-piece.exp: New file.
3301 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3302 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3303 name.
3304 (standard_temp_file): Ditto.
3305 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3306 of $GDB_PARALLEL.
3307
c8bd4544
DE
33082015-07-24 Doug Evans <dje@google.com>
3309
3310 * gdb.perf/lib/perftest/utils.py: New file.
3311 * gdb.perf/gm-hello.cc: New file.
3312 * gdb.perf/gm-pervasive-typedef.cc: New file.
3313 * gdb.perf/gm-pervasive-typedef.h: New file.
3314 * gdb.perf/gm-std.cc: New file.
3315 * gdb.perf/gm-std.h: New file.
3316 * gdb.perf/gm-use-cerr.cc: New file.
3317 * gdb.perf/gm-utils.h: New file.
3318 * gdb.perf/gmonster-null-lookup.py: New file.
3319 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3320 * gdb.perf/gmonster-print-cerr.py: New file.
3321 * gdb.perf/gmonster-ptype-string.py: New file.
3322 * gdb.perf/gmonster-runto-main.py: New file.
3323 * gdb.perf/gmonster-select-file.py: New file.
3324 * gdb.perf/gmonster1-null-lookup.exp: New file.
3325 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3326 * gdb.perf/gmonster1-print-cerr.exp: New file.
3327 * gdb.perf/gmonster1-ptype-string.exp: New file.
3328 * gdb.perf/gmonster1-runto-main.exp: New file.
3329 * gdb.perf/gmonster1-select-file.exp: New file.
3330 * gdb.perf/gmonster1.cc: New file.
3331 * gdb.perf/gmonster1.exp: New file.
3332 * gdb.perf/gmonster2-null-lookup.exp: New file.
3333 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3334 * gdb.perf/gmonster2-print-cerr.exp: New file.
3335 * gdb.perf/gmonster2-ptype-string.exp: New file.
3336 * gdb.perf/gmonster2-runto-main.exp: New file.
3337 * gdb.perf/gmonster2-select-file.exp: New file.
3338 * gdb.perf/gmonster2.cc: New file.
3339 * gdb.perf/gmonster2.exp: New file.
3340
6eab34f3
DE
33412015-07-24 Doug Evans <dje@google.com>
3342
3343 * gdb.perf/README: New file.
3344 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3345 * lib/gen-perf-test.exp: New file.
3346
63738bfd
DE
33472015-07-24 Doug Evans <dje@google.com>
3348
3349 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3350 (PerfTest::startup): New function.
3351 (PerfTest::run): Return result of calling body.
3352 (PerfTest::assemble): Rewrite.
3353 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3354 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3355 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3356 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3357 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3358
7b606f95
DE
33592015-07-24 Doug Evans <dje@google.com>
3360
3361 * lib/gdb.exp (clean_restart): Make executable optional.
3362
a97b16b8
DE
33632015-07-24 Doug Evans <dje@google.com>
3364
3365 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3366 compiler_info references.
3367 * gdb.cp/temargs.exp: Ditto.
3368 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3369 (get_compiler_info): Early exit if already computed. Set compiler_info
3370 to "unknown" if there was a problem.
3371 (test_compiler_info): Add function comment. Call get_compiler_info.
3372
35baa57f
DE
33732015-07-24 Doug Evans <dje@google.com>
3374
3375 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3376 (workers/%.worker, build-perf): New rule.
3377 (GDB_PERFTEST_MODE): New variable.
3378 (check-perf): Use it.
3379 (clean): Clean up gdb.perf parallel build subdirs.
3380 * lib/build-piece.exp: New file.
3381 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3382 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3383 name.
3384 (standard_temp_file): Ditto.
3385 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3386 of $GDB_PARALLEL.
3387
6ebea266
DE
33882015-07-24 Doug Evans <dje@google.com>
3389
3390 * lib/future.exp (gdb_default_target_compile): New option
3391 "early_flags".
3392 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3393 --as-needed.
3394
1e76a7e9
SDJ
33952015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3396
3397 * gdb.base/catch-syscall.exp: Call gdb_exit before
3398 gdb_skip_xml_test.
3399
5068630a
PA
34002015-07-24 Pedro Alves <palves@redhat.com>
3401
3402 * gdb.python/py-events.exp: Accept output between the stop event
3403 and the prompt.
3404 * gdb.python/py-evsignal.exp: Likewise.
3405 * gdb.python/py-evthreads.exp: Likewise.
3406
77598427
PA
34072015-07-24 Pedro Alves <palves@redhat.com>
3408
3409 PR gdb/18717
3410 * gdb.threads/non-ldr-exit.c: New file.
3411 * gdb.threads/non-ldr-exit.exp: New file.
3412
11e6c98f
YQ
34132015-07-24 Yao Qi <yao.qi@linaro.org>
3414
3415 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3416 restarting process.
3417
51aee833
YQ
34182015-07-24 Yao Qi <yao.qi@linaro.org>
3419
3420 * gdb.server/ext-restart.exp: New file.
3421
8cfe207c
YQ
34222015-07-24 Yao Qi <yao.qi@linaro.org>
3423
3424 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3425 argument options.
3426 * gdb.server/ext-wrapper.exp: New file.
3427
cc12ce38
DE
34282015-07-23 Doug Evans <dje@google.com>
3429
3430 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3431 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3432
d0d84780
PMR
34332015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3434
3435 * gdb.ada/var_arr_typedef.exp: New testcase.
3436 * gdb.ada/var_arr_typedef/pack.adb: New file.
3437 * gdb.ada/var_arr_typedef/pack.ads: New file.
3438 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3439
8b558f79
JB
34402015-07-20 Joel Brobecker <brobecker@adacore.com>
3441
3442 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3443
775a3298
JK
34442015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3445
3446 * gdb.arch/i386-biarch-core.exp: Replace istarget
3447 by "complete set gnutarget". Remove expectation for the "core-file"
3448 command.
3449
db1ff28b
JK
34502015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3451
3452 Revert the previous commit:
3453 Tests for validate symbol file using build-id.
3454
0a94970d
JK
34552015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3456
3457 Tests for validate symbol file using build-id.
3458 * gdb.base/solib-mismatch-lib.c: New file.
3459 * gdb.base/solib-mismatch-libmod.c: New file.
3460 * gdb.base/solib-mismatch.c: New file.
3461 * gdb.base/solib-mismatch.exp: New file.
3462
03346981
SL
34632015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3464
3465 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3466 nios2-*-linux*.
3467 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3468 * gdb.base/siginfo.exp: Likewise.
3469 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3470
42422cc7
PL
34712015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3472
3473 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3474 Move it to ...
3475 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3476 ... here.
3477 * gdb.trace/range-stepping.exp: Check that the target supports
3478 range stepping.
3479
cfa68bae
JK
34802015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3481
3482 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3483
8ffdba26
PA
34842015-07-14 Pedro Alves <palves@redhat.com>
3485
3486 * gdb.base/killed-outside.exp: New file.
3487 * gdb.base/killed-outside.c: New file.
3488
218a5a11
JK
34892015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3490
3491 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3492 (n at main): New.
3493 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3494
e03ed3c6
AA
34952015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3496
3497 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3498 infcall tests instead of setting up for KFAIL.
3499
485668e5
MM
35002015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3501
3502 * gdb.btrace/record_goto-step.exp: New.
3503
08464196
JK
35042015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3505
3506 PR compile/18484
3507 * gdb.compile/compile.c (struct struct_type): Add volatile to
3508 selffield's type.
3509 * gdb.compile/compile.exp
3510 (compile code struct_object.selffield = &struct_object): Skip further
3511 struct_object tests if this one xfails.
3512
bcf5c1d9
RC
35132015-07-08 Robert O'Callahan <robert@ocallahan.org>
3514
3515 PR exp/18617
3516 * gdb.trace/ax.exp: Add test.
3517
4931af25
YQ
35182015-07-07 Yao Qi <yao.qi@linaro.org>
3519
3520 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3521 instead of istarget "aarch64*-*-*".
3522 * gdb.arch/aarch64-fp.exp: Likewise.
3523 * gdb.base/float.exp: Likewise.
3524 * gdb.reverse/aarch64.exp: Likewise.
3525 * lib/gdb.exp (is_aarch64_target): New proc.
3526
9fcf688e
YQ
35272015-07-07 Yao Qi <yao.qi@linaro.org>
3528
3529 * lib/gdb.exp (is_aarch32_target): New proc.
3530 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3531 instead of "istarget "arm*-*-*"".
3532 * gdb.arch/arm-disp-step.exp: Likewise.
3533 * gdb.arch/thumb-bx-pc.exp: Likewise.
3534 * gdb.arch/thumb-prologue.exp: Likewise.
3535 * gdb.arch/thumb-singlestep.exp: Likewise.
3536 * gdb.base/disp-step-syscall.exp: Likewise.
3537 * gdb.base/float.exp: Likewise.
3538
fbd8d50d
YQ
35392015-07-07 Yao Qi <yao.qi@linaro.org>
3540
3541 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3542 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3543
71be1fdc
YQ
35442015-07-07 Yao Qi <yao.qi@linaro.org>
3545
3546 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3547 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3548 if it exists.
3549 * gdb.multi/multi-arch.exp: Likewise.
3550
3e221d36
SM
35512015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3552
3553 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3554 print.
3555
d441430b
YQ
35562015-07-07 Yao Qi <yao.qi@linaro.org>
3557
3558 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3559
06f810bd
MG
35602015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3561
3562 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3563 '[' and ']' characters.
3564
5e61e7c0
IB
35652015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3566
3567 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3568
28bf096c
PA
35692015-06-29 Pedro Alves <palves@redhat.com>
3570
3571 PR threads/18127
3572 * gdb.threads/hand-call-new-thread.c: New file.
3573 * gdb.threads/hand-call-new-thread.c: New file.
3574
ee93cd5e
KS
35752015-06-26 Keith Seitz <keiths@redhat.com>
3576 Doug Evans <dje@google.com>
3577
3578 PR 16253
3579 * gdb.cp/var-tag-2.cc: New file.
3580 * gdb.cp/var-tag-3.cc: New file.
3581 * gdb.cp/var-tag-4.cc: New file.
3582 * gdb.cp/var-tag.cc: New file.
3583 * gdb.cp/var-tag.exp: New file.
3584
fc637f04
PP
35852015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3586
3587 * gdb.base/history-duplicates.exp: New test.
3588
2e52ae68
PP
35892015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3590
3591 * gdb.base/completion.exp: Test the completion of the "focus"
3592 command.
3593
6e22494e
JK
35942015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3595
3596 * gdb.arch/amd64-prologue-skip.S: New file.
3597 * gdb.arch/amd64-prologue-skip.exp: New file.
3598
bf7b9cd9
SM
35992015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3600
3601 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3602 is_address_zero_readable check.
3603
201e8dfd
PB
36042015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3605
3606 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3607 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3608
5cd867b4
YQ
36092015-06-24 Yao Qi <yao.qi@linaro.org>
3610
3611 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3612 linux targets.
3613
4d7be007
YQ
36142015-06-24 Yao Qi <yao.qi@linaro.org>
3615
3616 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3617 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3618 * gdb.base/siginfo-thread.exp: Likewise.
3619
07fcd301
YQ
36202015-06-22 Yao Qi <yao.qi@linaro.org>
3621
3622 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3623
52042a00
YQ
36242015-06-22 Yao Qi <yao.qi@linaro.org>
3625
3626 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3627 aarch64*-*-*.
3628 (skip_hw_watchpoint_tests): Likewise.
3629
74bd41ce
PP
36302015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3631
3632 * gdb.base/gdbinit-history.exp: Test the interaction between
3633 setting GDBHISTSIZE and setting the history size via .gdbinit.
3634
bc460514
PP
36352015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3636
3637 PR gdb/16999
3638 * gdb.base/gdbhistsize-history.exp: New test.
3639
b58c513b
PP
36402015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3641
3642 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3643 with GDBHISTSIZE.
3644 * gdb.base/readline.exp: Likewise.
3645
92046791
YQ
36462015-06-17 Yao Qi <yao.qi@linaro.org>
3647
3648 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3649 line.
3650
2093d2d3
PP
36512015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3652
3653 * gdb.base/gdbinit-history.exp: Add test case to check that
3654 an unlimited history file does not get truncated on exit.
3655
e6c693af
AA
36562015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3657
3658 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3659 (VECTOR): New macro. Use it...
3660 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3661 ...for these typedefs.
3662 (int8, char1, int1, double1): New typedefs.
3663 (struct just_int2, struct two_int2): New structures.
3664 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3665 (add_structvecs, add_singlevecs): New functions.
3666 (main): Call add_some_intvecs twice.
3667 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3668 the compile and exit upon failure. Try compiling for the "native"
3669 architecture. Test inferior function calls with vector arguments
3670 and vector return value handling with "finish" and "return".
3671
c74f7d1c
JT
36722015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3673
3674 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3675 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3676 PE file.
3677 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3678
98aa42ee
AT
36792015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3680
3681 PR breakpoints/16465
3682 * gdb.mi/mi-dprintf-pending.c: New file.
3683 * gdb.mi/mi-dprintf-pending.exp: New test.
3684 * gdb.mi/mi-dprintf-pendshr.c: New file.
3685
7d73c23c 36862015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 3687 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
3688
3689 * gdb.arch/i386-mpx-map.c: New file.
3690 * gdb.arch/i386-mpx-map.exp: New File.
3691
36922015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3693
3694 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3695 * gdb.arch/i386-mpx.exp: Indentation fixed.
3696
36972015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3698
3699 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3700 function and improved indentation.
3701 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3702 gdb_test_multiple. Added additional tests to skip the test.
3703
37042015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3705
3706 * gdb.arch/i386-avx512.c: Change path in include file.
3707 * gdb.arch/i386-avx512.exp: Change include dir path
3708 compilation flag.
3709 * gdb.arch/i386-mpx.c: Change path in include file.
3710 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3711 flag.
3712
d5eba19a
JK
37132015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3714
3715 * gdb.compile/compile-print.exp (compile print *vararray@3)
3716 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3717
7f361056
JK
37182015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3719
3720 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3721 (do not keep jit in memory): ... this.
3722 (expect 5): Change it to ...
3723 (expect no 5): ... this.
3724
3b462ec2
SM
37252015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3726
3727 PR gdb/15564
3728 * gdb.mi/mi-detach.exp: New file.
3729
e0619de6
JK
37302015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3731
3732 PR symtab/18392
3733 * gdb.arch/amd64-tailcall-self.S: New file.
3734 * gdb.arch/amd64-tailcall-self.c: New file.
3735 * gdb.arch/amd64-tailcall-self.exp: New file.
3736
e970cb34
DB
37372015-05-28 Don Breazeal <donb@codesourcery.com>
3738
3739 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3740 tests for remote targets by checking is_target_gdbserver.
3741
b2e2f908
DE
37422015-05-27 Doug Evans <dje@google.com>
3743
3744 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3745 * gdb.dwarf2/opaque-type-lookup.c: New file.
3746 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3747
82c7be31
DE
37482015-05-26 Doug Evans <dje@google.com>
3749
3750 * gdb.cp/iostream.cc: New file.
3751 * gdb.cp/iostream.exp: New file.
3752
b4f54984
DE
37532015-05-26 Doug Evans <dje@google.com>
3754
3755 * gdb.dwarf2/dw2-op-call.exp: Update.
3756 * gdb.dwarf2/dw4-sig-types.exp: Update.
3757 * gdb.dwarf2/implptr.exp: Update.
3758 * gdb.mi/mi-cmd-param-changed.exp: Update.
3759
4ea6efe9
DE
37602015-05-26 Doug Evans <dje@google.com>
3761
3762 * gdb.python/py-lazy-string.c: New file.
3763 * gdb.python/py-lazy-string.exp: New file.
3764 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3765 (main): Update. Add estring3.
3766 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3767 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3768
f6bb7db3
YQ
37692015-05-26 Omair Javaid <omair.javaid@linaro.org>
3770 Yao Qi <yao.qi@linaro.org>
3771
3772 * gdb.reverse/aarch64.c: New.
3773 * gdb.reverse/aarch64.exp: New.
3774
a81bfbd0
OJ
37752015-05-26 Omair Javaid <omair.javaid@linaro.org>
3776
25d49b86
PA
3777 * lib/gdb.exp (supports_process_record): Return true for
3778 aarch64*-linux*.
a81bfbd0
OJ
3779 (supports_reverse): Likewise.
3780
158bf1b4
PP
37812015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3782
3783 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3784 Use with_test_prefix.
3785
a0145030
AB
37862015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3787
3788 * gdb.base/completion.exp: Add test for completion of layout
3789 names.
3790
ebe3b578
AB
37912015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3792
3793 * lib/gdb.exp (skip_tui_tests): New proc.
3794 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3795
84204ed7
PA
37962015-05-19 Pedro Alves <palves@redhat.com>
3797
3798 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3799 Save the whole env array instead of just HOME. Unset HISTSIZE in
3800 the environment while testing. Restore whole environment
3801 afterwards.
3802
37442ce1
DE
38032015-05-16 Doug Evans <xdje42@gmail.com>
3804
3805 * gdb.guile/scm-ports.c: New file.
3806 * gdb.guile/scm-ports.exp: Add memory port tests.
3807
36de76f9
JK
38082015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3809
3810 * gdb.compile/compile-print.c: New file.
3811 * gdb.compile/compile-print.exp: New file.
3812
3a9558c4
JK
38132015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3814
3815 * gdb.compile/compile-ops.exp: Cast param to void.
3816 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3817 (compile code struct_object.selffield = &struct_object): Add xfail.
3818
aa715135
JG
38192015-05-15 Joel Brobecker <brobecker@adacore.com>
3820
3821 * gdb.ada/arr_enum_with_gap: New testcase.
3822
931e5bc3
JG
38232015-05-15 Joel Brobecker <brobecker@adacore.com>
3824
3825 * gdb.ada/byte_packed_arr: New testcase.
3826
9cd4d857
JB
38272015-05-15 Joel Brobecker <brobecker@adacore.com>
3828
3829 * gdb.ada/pckd_neg: New testcase.
3830
ebfd00d2
PP
38312015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3832
3833 PR gdb/17820
3834 * gdb.base/gdbinit-history.exp: New test.
3835 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3836 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3837
4c082a81
SC
38382015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3839
3840 * gdb.python/py-xmethods.cc: Enhance test case.
3841 * gdb.python/py-xmethods.exp: New tests.
3842 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3843 function.
3844 (B_indexoper): Likewise.
3845 (global_dm_list) : Add new xmethod worker functions.
3846
f7797074
SDJ
38472015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3848
3849 * gdb.base/coredump-filter.exp: Correctly unset
3850 "coredump_var_addr" array.
3851
a4674e4e
PA
38522015-05-08 Pedro Alves <palves@redhat.com>
3853
3854 * gdb.server/non-existing-program.exp: Unset spawn_id.
3855
df2eb078
SC
38562015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3857
3858 PR python/18291
3859 * gdb.python/py-xmethods.exp: Add tests.
3860
422349a3
YQ
38612015-05-08 Yao Qi <yao.qi@linaro.org>
3862
3863 PR gdb/18208
3864 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3865 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3866 function set_coredump_filter, and remove remote_exec call.
3867 Remove argument ipid. Callers update.
3868 (top level): Don't get inferior's PID.
3869
63fc80ce
AA
38702015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3871
3872 * gdb.base/watch_thread_num.exp: Skip test on targets without
3873 access watchpoints.
3874
80ad801e
PA
38752015-05-06 Pedro Alves <palves@redhat.com>
3876
3877 PR server/18081
3878 * gdb.server/non-existing-program.exp: New file.
3879
0fa7fe50
JB
38802015-05-05 Joel Brobecker <brobecker@adacore.com>
3881
3882 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3883
3ea89b92
PMR
38842015-05-05 Joel Brobecker <brobecker@adacore.com>
3885
3886 * gdb.ada/out_of_line_in_inlined: New testcase.
3887
87b8eff0
JB
38882015-05-05 Joel Brobecker <brobecker@adacore.com>
3889
3890 * gdb.ada/var_rec_arr: New testcase.
3891
5fccc635
YQ
38922015-04-30 Yao Qi <yao.qi@linaro.org>
3893
3894 * gdb.base/break-idempotent.exp: If
3895 skip_hw_watchpoint_multi_tests returns true, skip the tests
3896 on "rwatch" and "awatch".
3897
42d38f42
YQ
38982015-04-30 Yao Qi <yao.qi@linaro.org>
3899
3900 * gdb.base/relativedebug.exp: Invoke gdb command
3901 "info sharedlibrary", and if libc.so doesn't have debug info,
3902 skip the test.
3903
2ce1cdbf
DE
39042015-04-29 Doug Evans <dje@google.com>
3905
3906 * gdb.python/py-xmethods.exp: Add ptype tests.
3907 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3908 get_result_type method.
3909
f24a38c5
LM
39102015-04-29 Luis Machado <lgustavo@codesourcery.com>
3911
3912 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3913 the target does not support hardware watchpoints.
3914
ecbf2b3c
LM
39152015-04-29 Luis Machado <lgustavo@codesourcery.com>
3916
3917 * gdb.base/break-always.exp: Abort testing if writing to memory
3918 causes an error.
3919
34f5f757
DE
39202015-04-28 Doug Evans <dje@google.com>
3921
3922 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3923 * gdb.python/py-pp-registration.exp: ... here. New file.
3924 * gdb.python/py-pp-registration.c: New file.
3925 * gdb.python/py-pp-registration.py: New file.
3926
69b4374a
DE
39272015-04-28 Doug Evans <dje@google.com>
3928
3929 * gdb.python/py-bad-printers.c: New file.
3930 * gdb.python/py-bad-printers.py: New file.
3931 * gdb.python/py-bad-printers.exp: New file.
3932
59fb7612
SS
39332015-04-28 Sasha Smundak <asmundak@google.com>
3934
3935 * gdb.python/py-type.exp: New test.
3936
2631b16a
AW
39372015-04-28 Andy Wingo <wingo@igalia.com>
3938
3939 * gdb.python/py-parameter.exp:
3940 * gdb.guile/scm-parameter.exp: Escape the path that we are
3941 matching against, as it might contain characters that are special
3942 to regular expressions.
3943
460efde1
JB
39442015-04-27 Joel Brobecker <brobecker@adacore.com>
3945
3946 * gdb.ada/rec_comp: New testcase.
3947
2d369d8e
SDJ
39482015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3949
3950 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3951 before using it.
3952
cf75d6c3
AB
39532015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3954
3955 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3956 new tests for verilog output.
3957
8dbe7ca5
YQ
39582015-04-24 Yao Qi <yao.qi@linaro.org>
3959
3960 * boards/remote-gdbserver-on-localhost.exp: New file.
3961
4ef9fb2f
PA
39622015-04-23 Pedro Alves <palves@redhat.com>
3963
3964 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3965 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3966 "end of file", remove $inferior_spawn_id from the indirect list.
3967
0a803169
PA
39682015-04-23 Pedro Alves <palves@redhat.com>
3969
3970 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3971
749ef8f8
PA
39722015-04-23 Pedro Alves <palves@redhat.com>
3973
3974 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3975 on $any_spawn_id instead of only on $gdb_spawn_id.
3976
8aae4344
PM
39772015-04-21 Pierre Muller <muller@sourceware.org>
3978
3979 PR pascal/17815
3980 * lib/pascal.exp (gpc_compile): Add new option "class".
3981 (fpc_compile): Likewise.
3982 * gdb.pascal/case-insensitive-symbols.pas: New file.
3983 * gdb.pascal/case-insensitive-symbols.exp: New file.
3984
1586c8fb
GB
39852015-04-20 Gary Benson <gbenson@redhat.com>
3986
3987 * gdb.base/attach.exp: Fix three extended remote failures.
3988
1b6e6f5c
GB
39892015-04-17 Gary Benson <gbenson@redhat.com>
3990
3991 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3992 the main executable over the remote protocol.
3993
e797481d
PA
39942015-04-16 Pedro Alves <palves@redhat.com>
3995
3996 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3997 a new gdbserver if gdbserver_reconnect_p is set.
3998
1ca99c42
PA
39992015-04-16 Pedro Alves <palves@redhat.com>
4000
4001 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4002 is set, don't exit gdbserver.
4003
af9fd6f8
AA
40042015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4005
4006 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4007 appropriate .insn, such that an older assembler can be used.
4008 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4009 the z/Architecture instruction set on 31-bit targets as well.
4010
04ff1e61
AA
40112015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4012
4013 * gdb.go/handcall.exp: Remove all logic related to the first
4014 breakpoint and rely on go_runto_main instead.
4015 * gdb.go/strings.exp: Likewise.
4016 * gdb.go/unsafe.exp: Likewise.
4017 * gdb.go/hello.exp: Likewise. Also rename the remaining
4018 breakpoint marker to "breakpoint 1".
4019 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4020 * gdb.go/strings.go: Likewise.
4021 * gdb.go/unsafe.go: Likewise.
4022 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4023 "set breakpoint 2 here" and rename the remaining breakpoint marker
4024 to "breakpoint 1".
4025
40d2f8d6
SM
40262015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4027
4028 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4029 if itertools.imap is not present.
4030 * gdb.python/py-objfile.exp: Add parentheses.
4031 * gdb.python/py-type.exp: Same.
4032 * gdb.python/py-unwind-maint.py: Same.
4033
8cbc97c6
YQ
40342015-04-15 Yao Qi <yao.qi@linaro.org>
4035
4036 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4037 of ":$ptr_size" and set its form explicitly.
4038
45fd756c
YQ
40392015-04-15 Pedro Alves <palves@redhat.com>
4040 Yao Qi <yao.qi@linaro.org>
4041
4042 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4043 timeout by factor of 4.
4044 (test_regular_watch): Likewise.
4045 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4046 * gdb.reverse/sigall-reverse.exp: Likewise.
4047 * gdb.reverse/until-precsave.exp: Likewise.
4048 * lib/gdb.exp (with_timeout_factor): New proc.
4049 (gdb_expect): Move some code to ...
4050 (get_largest_timeout): ... here. New procedure.
4051
9e811bc3
LM
40522015-04-14 Luis Machado <lgustavo@codesourcery.com>
4053
4054 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4055
0ff6fcb2
LM
40562015-04-13 Luis Machado <lgustavo@codesourcery.com>
4057
4058 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4059 to write to the .text section.
4060
7578d5f7
LM
40612015-04-13 Luis Machado <lgustavo@codesourcery.com>
4062
4063 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4064 Handle the case of targets that do not provide PID information.
4065
2efe15c4
YQ
40662015-04-13 Yao Qi <yao.qi@linaro.org>
4067
4068 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4069 and use expect instead of gdb_expect.
4070
8cd8f2f8
SDJ
40712015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4072
4073 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4074 "coredump_var_addr" to avoid naming conflict with other testcases.
4075
9ee41772
PA
40762015-04-10 Pedro Alves <palves@redhat.com>
4077
4078 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4079 gdb_test_sequence and gdb_assert.
4080
07473109
PA
40812015-04-10 Pedro Alves <palves@redhat.com>
4082
4083 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4084 test messages that don't include the breakpoint address.
4085
de3db44c
YQ
40862015-04-10 Yao Qi <yao.qi@linaro.org>
4087
4088 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4089 false for some offset and width combinations which aren't
4090 supported by linux kernel.
4091
c79d856c
PA
40922015-04-10 Pedro Alves <palves@redhat.com>
4093
4094 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4095 procedure, factored out from ...
4096 (top level): ... here. Add "set displaced-stepping" testing axis.
4097 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4098 parameter "displaced". Use it.
4099 (top level): Use foreach and add "set displaced-stepping" testing
4100 axis.
4101
ebc90b50
PA
41022015-04-10 Pedro Alves <palves@redhat.com>
4103
4104 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4105 Remove comment.
4106 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4107 both the address of the instruction that triggers the watchpoint
4108 and the address of the instruction immediately after, and use
4109 those addresses for the test. Fix comment.
4110
8f572e5c
PA
41112015-04-10 Pedro Alves <palves@redhat.com>
4112
4113 * gdb.base/sigstep.exp (breakpoint_to_handler)
4114 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4115 Test "backtrace" in handler.
4116 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4117 (top level): Add new "displaced" test axis to
4118 breakpoint_to_handler, breakpoint_to_handler_entry and
4119 breakpoint_over_handler.
4120
8d707a12
PA
41212015-04-10 Pedro Alves <palves@redhat.com>
4122
4123 PR gdb/18216
4124 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4125
ef713951
YQ
41262015-04-10 Yao Qi <yao.qi@linaro.org>
4127
4128 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4129 (test_add_rn_pc): New function.
4130 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4131 (top level): Invoke test_add_rn_pc.
4132
906d60cf
PA
41332015-04-10 Pedro Alves <palves@redhat.com>
4134
4135 PR gdb/13858
4136 * gdb.base/step-over-no-symbols.exp: New file.
4137
f2983cc3
AW
41382015-04-09 Andy Wingo <wingo@igalia.com>
4139
4140 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4141 after the Python tests.
4142
6d62641c
SDJ
41432015-04-08 Keith Seitz <keiths@redhat.com>
4144
4145 PR python/16699
4146 * gdb.python/py-completion.exp: New tests for completion.
4147 * gdb.python/py-completion.py (CompleteLimit1): New class.
4148 (CompleteLimit2): Likewise.
4149 (CompleteLimit3): Likewise.
4150 (CompleteLimit4): Likewise.
4151 (CompleteLimit5): Likewise.
4152 (CompleteLimit6): Likewise.
4153 (CompleteLimit7): Likewise.
4154
f3770638
PA
41552015-04-08 Pedro Alves <palves@redhat.com>
4156
4157 PR gdb/18214
4158 PR gdb/18216
4159 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4160 function.
4161 (main): Install it as SIGUSR1 handler.
4162 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4163 parameter. Always use "setup" as prefix. Toggle "set
4164 displaced-stepping" off/on depending on global. Don't switch to
4165 thread 1 here.
4166 (top level): Add displaced stepping "off/on" test axis. Update
4167 "setup" calls. Wrap each subtest with with_test_prefix. Test
4168 continuing with a queued signal in each thread.
4169
4496bed7
PA
41702015-04-08 Pedro Alves <palves@redhat.com>
4171
4172 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4173 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4174 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4175 Return early if running to main fails.
4176 * gdb.trace/while-stepping.exp: Likewise.
4177
b97fde92
PA
41782015-04-07 Pedro Alves <palves@redhat.com>
4179
4180 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4181 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4182 interact with inferior program.
4183
f71c18e7
PA
41842015-04-07 Pedro Alves <palves@redhat.com>
4185
4186 * lib/gdb.exp (inferior_spawn_id): New global.
4187 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4188 spawn id after processing the user code.
4189 (default_gdb_start): Set inferior_spawn_id.
4190 (send_inferior): New procedure.
4191 * lib/gdbserver-support.exp (gdbserver_start): Set
4192 inferior_spawn_id.
4193 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4194
6423214f
PA
41952015-04-07 Pedro Alves <palves@redhat.com>
4196
4197 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4198 * lib/gdbserver-support.exp (gdbserver_start): Make
4199 $server_spawn_id global.
4200 (gdbserver_start): Don't wait for gdbserver's spawn id with
4201 expect_background.
4202 (close_gdbserver): New procedure.
4203 (gdb_exit): Rename the default version and reimplement.
4204
71c0ee8c
PA
42052015-04-07 Pedro Alves <palves@redhat.com>
4206
72f4393d 4207 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
4208 append the substituted item, not the original item.
4209
203bc29b
PA
42102015-04-07 Pedro Alves <palves@redhat.com>
4211
4212 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4213 gdb_expect.
4214
508a3ddf
PA
42152015-04-07 Pedro Alves <palves@redhat.com>
4216
4217 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4218 output appearing once only.
4219
9f6dbe2b
PA
42202015-04-07 Pedro Alves <palves@redhat.com>
4221
4222 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4223 that doesn't expect anything. Return early if running to main
4224 fails.
4225
337532fa
YQ
42262015-04-07 Yao Qi <yao.qi@linaro.org>
4227
4228 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4229 (child_function): Call alarm.
4230 (main): Move call to alarm into the loop.
4231 * gdb.threads/non-stop-fair-events.exp: Build program with
4232 -DTIMEOUT=$timeout.
4233
01b622d4
DE
42342015-04-06 Doug Evans <xdje42@gmail.com>
4235
4236 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4237 Fix dest parameter to board_info.
4238 (fpc_compile): Ditto.
4239 (gdb_compile_pascal): Rename dest arg to destfile.
4240
961f4160
PMR
42412015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4242
4243 * gdb.ada/funcall_ref.exp: New file.
4244 * gdb.ada/funcall_ref/foo.adb: New file.
4245
cafda597
YQ
42462015-04-02 Yao Qi <yao.qi@linaro.org>
4247
4248 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4249 is remote.
4250
fed040c6
GB
42512015-04-02 Gary Benson <gbenson@redhat.com>
4252
4253 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4254
d11916aa
SS
42552015-04-01 Sasha Smundak <asmundak@google.com>
4256
4257 * gdb.python/py-unwind-maint.c: New file.
4258 * gdb.python/py-unwind-maint.exp: New test.
4259 * gdb.python/py-unwind-maint.py: New file.
4260 * gdb.python/py-unwind.c: New file.
4261 * gdb.python/py-unwind.exp: New test.
4262 * gdb.python/py-unwind.py: New test.
4263
a1471180
PA
42642015-04-01 Pedro Alves <palves@redhat.com>
4265
4266 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4267 to fail instead of non-existent $test.
4268
0bbeccb1
PA
42692015-04-01 Pedro Alves <palves@redhat.com>
4270
4271 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4272 GDBFLAGS if not empty.
4273
3c724c8c
PMR
42742015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4275
4276 * gdb.ada/complete.exp: Remove "multi_line".
4277 * gdb.ada/info_exc.exp: Remove "multi_line".
4278 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4279 * gdb.ada/ptype_field.exp: Remove "multi_line".
4280 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4281 * gdb.ada/tagged.exp: Remove "multi_line".
4282 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4283 [multi_line ...]
4284 * gdb.btrace/delta.exp: Likewise.
4285 * gdb.btrace/exception.exp: Likewise.
4286 * gdb.btrace/function_call_history.exp: Likewise.
4287 * gdb.btrace/instruction_history.exp: Likewise.
4288 * gdb.btrace/nohist.exp: Likewise.
4289 * gdb.btrace/record_goto.exp: Likewise.
4290 * gdb.btrace/segv.exp: Likewise.
4291 * gdb.btrace/stepi.exp: Likewise.
4292 * gdb.btrace/tailcall.exp: Likewise.
4293 * gdb.btrace/unknown_functions.exp: Likewise.
4294 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4295 * lib/gdb.exp: Add the "multi_line" helper.
4296
4eec2deb
PA
42972015-04-01 Pedro Alves <palves@redhat.com>
4298
4299 * gdb.threads/tid-reuse.c: New file.
4300 * gdb.threads/tid-reuse.exp: New file.
4301
df8411da
SDJ
43022015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4303
4304 PR corefiles/16092
4305 * gdb.base/coredump-filter.c: New file.
4306 * gdb.base/coredump-filter.exp: Likewise.
4307
6ef37366
PM
43082015-03-27 Petr Machata <pmachata@redhat.com>
4309
4310 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4311 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4312 (Dwarf::assemble): Initialize them.
4313 (Dwarf::lines): New function.
4314
7ec911b0
JT
43152015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4316
4317 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4318 SYMBOL_PREFIX for x86_64-*-cygwin.
4319
ff908ebf
AW
43202015-03-26 Andy Wingo <wingo@igalia.com>
4321
4322 PR symtab/18148
4323 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4324 const_value but not a location.
4325 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4326 location defined in non-main CUs are visible.
4327
6d5f0679
YQ
43282015-03-26 Yao Qi <yao.qi@linaro.org>
4329
4330 PR testsuite/18139
4331 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4332 Add a line number entry for the same line.
4333 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4334 Add a line number entry for the same line.
4335
2898689b
YQ
43362015-03-26 Yao Qi <yao.qi@linaro.org>
4337
4338 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4339 .int 0.
4340 (func): Likewise. Add .Lfunc_1 label.
4341 Use .Lfunc_1 label.
4342 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4343 .int 0.
4344 (func): Likewise.
4345 Use .Lfunc_1 label.
4346
85180498
YQ
43472015-03-26 Yao Qi <yao.qi@linaro.org>
4348
4349 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4350 Call gdb_compile instead to compile each .s files without debug
4351 information.
4352
8aa08a8d
YQ
43532015-03-26 Yao Qi <yao.qi@linaro.org>
4354
4355 * gdb.base/savedregs.exp (process_saved_regs): Make
4356 "Saved registers:" optional in the pattern.
4357
66849923
MM
43582015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4359
4360 * gdb.btrace/next.exp: Merged into step.exp.
4361 * gdb.btrace/finish.exp: Merged into step.exp.
4362 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4363 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4364 "record goto" and checking the exact replay position.
4365 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4366 check for "Recording format" in "info record" output.
4367 * gdb.btrace/record_goto.exp: Choose test file based on target.
4368 * gdb.btrace/x86-record_goto.S: Renamed into ...
4369 * gdb.btrace/x86_64-record_goto.S: ... this.
4370 * gdb.btrace/i686-record_goto.S: New.
4371 * gdb.btrace/x86-tailcall.S: Renamed into ...
4372 * gdb.btrace/x86_64-tailcall.S: ... this.
4373 * gdb.btrace/i686-tailcall.S: New.
4374 * gdb.btrace/x86-tailcall.c: Renamed into ...
4375 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4376 separate statements. Update test.
4377 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4378 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4379 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4380 * gdb.btrace/tailcall.exp: Choose test file based on target.
4381 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4382
11cc1b74
MM
43832015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4384
4385 * gdb.btrace/exception.exp: Increase BTS buffer size.
4386
a25d8bf9
PA
43872015-03-24 Pedro Alves <palves@redhat.com>
4388
4389 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4390
856e7dd6
PA
43912015-03-24 Pedro Alves <palves@redhat.com>
4392
4393 * gdb.threads/schedlock.exp (test_step): No longer expect that
4394 "set scheduler-locking step" with "next" over a function call runs
4395 threads unlocked.
4396
ad235a41
AT
43972015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4398
4399 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4400
15630549
AT
44012015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4402
4403 PR breakpoints/16466
4404 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4405 * gdb.mi/mi-pending.c (thread_func): New function.
4406 (int main): Add threading support required.
4407 * gdb.mi/mi-pending.exp: Add tests for this issue.
4408 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4409 (pendfunc2): Remove stdio dependency.
4410 * gdb.mi/mi-pendshr2.c: New file.
4411
693dca06
KS
44122015-03-23 Keith Seitz <keiths@redhat.com>
4413
4414 * gdb.linespec/keywords.c: New file.
4415 * gdb.linespec/keywords.exp: New file.
4416
7e993ebf
KS
44172015-03-23 Keith Seitz <keiths@redhat.com>
4418
4419 PR gdb/18021
4420 * gdb.dwarf2/staticvirtual.exp: New test.
4421
bc23328c
JK
44222015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4423
4424 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4425 * README: Remove HP-UX and gdb.hp.
4426 (configuration):
4427 * configure: Regenerate.
4428 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4429 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4430 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4431 gdb.hp/gdb.defects/Makefile.
4432 * gdb.hp/Makefile.in: File deleted.
4433 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4434 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4435 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4436 * gdb.hp/gdb.aCC/run.c: File deleted.
4437 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4438 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4439 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4440 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4441 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4442 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4443 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4444 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4445 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4446 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4447 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4448 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4449 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4450 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4451 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4452 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4453 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4454 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4455 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4456 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4457 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4458 * gdb.hp/gdb.compat/average.c: File deleted.
4459 * gdb.hp/gdb.compat/sum.c: File deleted.
4460 * gdb.hp/gdb.compat/xdb.c: File deleted.
4461 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4462 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4463 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4464 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4465 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4466 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4467 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4468 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4469 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4470 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4471 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4472 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4473 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4474 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4475 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4476 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4477 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4478 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4479 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4480 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4481 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4482 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4483 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4484 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4485 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4486 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4487 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4488 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4489 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4490 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4491 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4492 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4493 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4494 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4495 * gdb.hp/tools/odump: File deleted.
4496
8bf3b159
PA
44972015-03-19 Pedro Alves <palves@redhat.com>
4498
4499 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4500 (saw_thread_3): New globals.
4501 (top level): Increment them when an event for the corresponding
4502 thread is seen.
4503 (no thread starvation): New test.
4504
eb54c8bf
PA
45052015-03-19 Pedro Alves <palves@redhat.com>
4506
4507 * gdb.threads/continue-pending-status.c: New file.
4508 * gdb.threads/continue-pending-status.exp: New file.
4509
32d2e5d6
PA
45102015-03-18 Pedro Alves <palves@redhat.com>
4511
4512 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4513 Use gdb_is_target_remote instead of is_remote. Use
4514 gdb_test_multiple instead of gdb_expect. Exit early if
4515 gdb_test_multiple hits its internal matches. Tighten stepi tests
4516 expected output. Fail on exit with any signal, instead of just
4517 SIGILL.
4518
f68f11b7
YQ
45192015-03-18 Yao Qi <yao.qi@linaro.org>
4520
4521 PR tdep/18107
4522 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4523 variable.
4524 * gdb.base/catch-syscall.exp: Don't skip it on
4525 aarch64*-*-linux* target. Remove elements in all_syscalls.
4526 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4527 target.
4528 (setup_all_syscalls): New proc.
4529
ca5fd19b
YQ
45302015-03-16 Yao Qi <yao.qi@linaro.org>
4531
4532 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4533 (top level): Skip tests if valid_addr_p returns false for
4534 $cmd1 or $cmd2.
4535
85642ba0
AW
45362015-03-11 Andy Wingo <wingo@igalia.com>
4537
4538 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4539
e03f9645
YQ
45402015-03-11 Yao Qi <yao.qi@linaro.org>
4541
4542 * gdb.base/catch-syscall.exp: Fix typo in comments.
4543
5d0962b2
YQ
45442015-03-11 Yao Qi <yao.qi@linaro.org>
4545
4546 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4547
b2df3cef
PA
45482015-03-09 Pedro Alves <palves@redhat.com>
4549
4550 * dg-extract-results.py: Delete.
4551
ef878e53
PA
45522015-03-09 Pedro Alves <palves@redhat.com>
4553
4554 Merge dg-extract-results.sh from GCC upstream (r218843).
4555
4556 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4557 * dg-extract-results.sh: Use --text with grep to avoid issues with
4558 binary files. Fall back to cat -v, if that doesn't work.
4559
9494d219
PA
45602015-03-05 Pedro Alves <palves@redhat.com>
4561
4562 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4563
a8d9763a
SM
45642015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4565
4566 * lib/mi-support.exp (mi_expect_interrupt): Accept
4567 alternative event for when in all-stop mode.
4568
be9957b8
PA
45692015-03-04 Pedro Alves <palves@redhat.com>
4570
4571 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4572
d57be0f4 45732015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
4574
4575 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4576
c214c7cf
AA
45772015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4578
4579 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4580 regexps for GDB's current line display, accept a hex address
4581 preceding the line number.
4582
6d74a497
AA
45832015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4584
4585 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4586 the 'arch1' variable for "s390*-linux*" targets.
4587
511aee7c
PA
45882015-03-04 Pedro Alves <palves@redhat.com>
4589
4590 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4591 (main): Pass missing retval argument to pthread_join call.
4592
95e50b27
PA
45932015-03-02 Pedro Alves <palves@redhat.com>
4594
4595 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4596 (top level): Call do_test with non-stop as well.
4597
28054d69
PA
45982015-03-02 Pedro Alves <palves@redhat.com>
4599
4600 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4601 -1.
4602
4fa5d7b4
AA
46032015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4604
4605 * gdb.arch/s390-vregs.exp: New test.
4606 * gdb.arch/s390-vregs.S: New file.
4607
97c18565
PA
46082015-02-27 Pedro Alves <palves@redhat.com>
4609
4610 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4611 call to catch_command_errors.
4612 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4613 catch_command_errors.
4614
a37bfa30
PA
46152015-02-27 Pedro Alves <palves@redhat.com>
4616
4617 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4618 "true" for boolean result.
4619 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4620 prototype of main.
4621
6f98576f
PA
46222015-02-27 Pedro Alves <palves@redhat.com>
4623
4624 * lib/unbuffer_output.c: New file.
4625 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4626 (main): Call gdb_unbuffer_output.
4627
eba5ab56
YQ
46282015-02-27 Yao Qi <yao.qi@linaro.org>
4629
4630 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4631 target.
4632
0def5aaa
DE
46332015-02-26 Doug Evans <dje@google.com>
4634
4635 * gdb.cp/class2.cc (Dbase, D): New classes.
4636 (main): New local delta.
4637 * gdb.cp/class2.exp: Test printing delta.
4638 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4639 (dynbar): New global.
4640 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4641
081a1c2c
JK
46422015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4643
4644 * gdb.compile/compile-ifunc.c: New file.
4645 * gdb.compile/compile-ifunc.exp: New file.
4646
2f41223f
AT
46472015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4648
4649 * gdb.base/structs.exp: Check for correct struct on finish.
4650
03eddd80
YQ
46512015-02-26 Yao Qi <yao.qi@linaro.org>
4652
4653 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4654 is zero.
4655
80c57053
JK
46562015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4657
4658 * gdb.arch/cordic.ko.bz2: New file.
4659 * gdb.arch/cordic.ko.debug.bz2: New file.
4660 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4661
21613c12
YQ
46622015-02-25 Yao Qi <yao.qi@linaro.org>
4663
4664 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4665 aarch64*-*-* target.
4666
d8b901ed
PA
46672015-02-23 Pedro Alves <palves@redhat.com>
4668
4669 * lib/gdb.exp (delete_breakpoints): Rewrite using
4670 gdb_test_multiple.
4671
e5b85ead
PA
46722015-02-23 Pedro Alves <palves@redhat.com>
4673
4674 * gdb.base/info-os.c: Include stdlib.h.
4675
85c3a371
DE
46762015-02-22 Doug Evans <xdje42@gmail.com>
4677
4678 PR symtab/17855
4679 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4680 is read after symbols have been re-read.
4681 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4682 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4683
96553a0c
DE
46842015-02-21 Doug Evans <dje@google.com>
4685
4686 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4687
97a0c697
JK
46882015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4689
4690 PR corefiles/17808
4691 * gdb.arch/i386-biarch-core.core.bz2: New file.
4692 * gdb.arch/i386-biarch-core.exp: New file.
4693
a47cd6e9
PA
46942015-02-21 Pedro Alves <palves@redhat.com>
4695
4696 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4697 runto_main fails.
4698
c5facdc4
PA
46992015-02-20 Pedro Alves <palves@redhat.com>
4700
4701 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4702 info probes.
4703
2db9a427
PA
47042015-02-20 Pedro Alves <palves@redhat.com>
4705
4706 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4707
60fb7e9e
PA
47082015-02-20 Pedro Alves <palves@redhat.com>
4709
4710 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4711 clean_restart before gdb_target_supports_trace.
4712
5c5019c2
PA
47132015-02-20 Pedro Alves <palves@redhat.com>
4714
4715 PR threads/18006
4716 * gdb.threads/clone-thread_db.c: New file.
4717 * gdb.threads/clone-thread_db.exp: New file.
4718
c9587f88
AT
47192015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4720
4721 PR breakpoints/16812
4722 * gdb.base/catch-gdb-caused-signals.c: New file.
4723 * gdb.base/catch-gdb-caused-signals.exp: New file.
4724
f6a88844
JM
47252015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4726
4727 * configure: Regenerated.
4728 * configure.ac: Use GDB_AC_TRANSFORM.
4729 * aclocal.m4: sinclude ../transform.m4.
4730
497c491b
JM
47312015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4732
4733 * lib/dtrace.exp: New file.
4734 * gdb.base/dtrace-probe.exp: Likewise.
4735 * gdb.base/dtrace-probe.d: Likewise.
4736 * gdb.base/dtrace-probe.c: Likewise.
4737 * lib/pdtrace.in: Likewise.
4738 * configure.ac: Output variables with the transformed names of
4739 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4740 * configure: Regenerated.
4741
03e98035
JM
47422015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4743
4744 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4745 expected message when trying to access $_probe_* convenience
4746 variables while not on a probe.
4747
63cc30e9
JK
47482015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4749
4750 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4751
0703599a
PA
47522015-02-11 Pedro Alves <pedro@codesourcery.com>
4753
4754 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4755 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4756
7e60a48e
DE
47572015-02-10 Doug Evans <xdje42@gmail.com>
4758
4759 * lib/gdb.exp (gdb_load): Always return a result.
4760
01b088bc
PA
47612015-02-10 Pedro Alves <palves@redhat.com>
4762
4763 * gdb.threads/signal-sigtrap.c: New file.
4764 * gdb.threads/signal-sigtrap.exp: New file.
4765
b05ec7a5
AT
47662015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4767
4768 * gdb.trace/no-attach-trace.c: New file.
4769 * gdb.trace/no-attach-trace.exp: New file.
4770
a2c2acaf
MW
47712015-02-09 Mark Wielaard <mjw@redhat.com>
4772
4773 * gdb.dwarf2/atomic.c: New file.
4774 * gdb.dwarf2/atomic-type.exp: Likewise.
4775
31fd9caa
MM
47762015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4777
4778 * gdb.btrace/buffer-size.exp: Update "info record" output.
4779 * gdb.btrace/delta.exp: Update "info record" output.
4780 * gdb.btrace/enable.exp: Update "info record" output.
4781 * gdb.btrace/finish.exp: Update "info record" output.
4782 * gdb.btrace/instruction_history.exp: Update "info record" output.
4783 * gdb.btrace/next.exp: Update "info record" output.
4784 * gdb.btrace/nexti.exp: Update "info record" output.
4785 * gdb.btrace/step.exp: Update "info record" output.
4786 * gdb.btrace/stepi.exp: Update "info record" output.
4787 * gdb.btrace/nohist.exp: Update "info record" output.
4788
d33501a5
MM
47892015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4790
4791 * gdb.btrace/buffer-size: New.
4792
f4abbc16
MM
47932015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4794
4795 * gdb.btrace/delta.exp: Update "info record" output.
4796 * gdb.btrace/enable.exp: Update "info record" output.
4797 * gdb.btrace/finish.exp: Update "info record" output.
4798 * gdb.btrace/instruction_history.exp: Update "info record" output.
4799 * gdb.btrace/next.exp: Update "info record" output.
4800 * gdb.btrace/nexti.exp: Update "info record" output.
4801 * gdb.btrace/step.exp: Update "info record" output.
4802 * gdb.btrace/stepi.exp: Update "info record" output.
4803 * gdb.btrace/nohist.exp: Update "info record" output.
4804
b9d61307
SM
48052015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4806
4807 PR gdb/15678
4808 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4809
e584fdbc
PA
48102015-02-06 Pedro Alves <palves@redhat.com>
4811
4812 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4813 macro.
4814 (seconds_left, again): New globals.
4815 (main): Wait seconds_left in a 1-second sleep loop instead of
4816 sleeping 180 seconds. If 'again' is set, reset the seconds
4817 counter.
4818 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4819 'again' in the inferior before detaching. Print the seconds left.
4820 (options): New global.
4821 (top level): Build program with -DTIMEOUT=$timeout.
4822
77f41761
PA
48232015-02-06 Pedro Alves <palves@redhat.com>
4824
4825 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4826 determine how many seconds to pass to 'alarm'.
4827 * gdb.base/gdb-sigterm.exp (top level): Build program with
4828 -DTIMEOUT=$timeout.
4829 (do_test): Return success/failure indication. Add more verbose
4830 logging. Don't fail if 200 single steps are seen. Instead, fail
4831 when the test times out.
4832 (passes): New global.
4833 (top level): Break the testing loop if testing fails on any
4834 iteration. Use gdb_assert.
4835
b9394193
DB
48362015-02-04 Don Breazeal <donb@codesourcery.com>
4837
4838 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4839 and initialize them.
4840 (ipc_cleanup): New function.
4841 (main): Don't declare shmid, semid, and msqid. Add a call to
4842 atexit so that we call ipc_cleanup on exit.
4843
42d9e528
PA
48442015-02-04 Pedro Alves <palves@redhat.com>
4845
4846 * boards/native-extended-gdbserver.exp: Remove any target variant
4847 specifications from the board name before clearing the isremote
4848 flag from board_info.
4849
ae6ae975
DE
48502015-01-31 Doug Evans <xdje42@gmail.com>
4851
4852 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4853
cfb069a8
GB
48542015-01-31 Gary Benson <gbenson@redhat.com>
4855
4856 * gdb.base/completion.exp: Disable completion limiting for
4857 existing tests. Add new tests to check completion limiting.
4858 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4859
5dd31d79
DE
48602015-01-31 Doug Evans <xdje42@gmail.com>
4861
4862 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4863
9f050062
DE
48642015-01-31 Doug Evans <xdje42@gmail.com>
4865
4866 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4867 entries. Duplicate file section script entries.
4868 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4869 inlined entries. Add test for safe-path rejection.
4870 * gdb.python/py-section-script.c: Add duplicate inlined section script
4871 entries. Duplicate file section script entries.
4872 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4873 inlined entries. Add test for safe-path rejection.
4874
df25ebbd
JB
48752015-01-29 Joel Brobecker <brobecker@adacore.com>
4876
4877 * gdb.ada/disc_arr_bound: New testcase.
4878
4a0ca9ec
JB
48792015-01-29 Joel Brobecker <brobecker@adacore.com>
4880
4881 * gdb.ada/mi_var_array: New testcase.
4882
3a8b707a
DE
48832015-01-27 Doug Evans <dje@google.com>
4884
4885 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4886 Add test for objfile.filename, objfile.username after objfile
4887 has been unloaded.
4888
f8313f6e
JB
48892015-01-26 Joel Brobecker <brobecker@adacore.com>
4890
4891 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4892 the second test to print the name attribute of value
4893 returned by the call to gdb.lookup_type, and adjust
4894 the expected output accordingly.
4895
37bc665e
MW
48962015-01-25 Mark Wielaard <mjw@redhat.com>
4897
4898 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4899 * gdb.base/disp-step-fork.c: Include unistd.h.
4900 * gdb.base/siginfo-obj.c: Include stdio.h.
4901 * gdb.base/siginfo-thread.c: Likewise.
4902 * gdb.mi/non-stop.c: Include unistd.h.
4903 * gdb.mi/nsthrexec.c: Include stdio.h.
4904 * gdb.mi/pthreads.c: Include unistd.h.
4905 * gdb.modula2/unbounded1.c (main): Declare returns int.
4906 * gdb.reverse/consecutive-reverse.c: Likewise.
4907 * gdb.threads/create-fail.c: Include unistd.h.
4908 * gdb.threads/killed.c: Likewise.
4909 * gdb.threads/linux-dp.c: Likewise.
4910 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4911 * gdb.threads/non-ldr-exc-2.c: Likewise.
4912 * gdb.threads/non-ldr-exc-3.c: Likewise.
4913 * gdb.threads/non-ldr-exc-4.c: Likewise.
4914 * gdb.threads/pthreads.c: Include unistd.h.
4915 (main): Declare returns int.
4916 * gdb.threads/tls-main.c (foo): New declaration.
4917 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4918
f7e5394d
SM
49192015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4920
4921 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4922 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4923
743649fd
MW
49242015-01-15 Mark Wielaard <mjw@redhat.com>
4925
4926 * gdb.base/noreturn-return.c: New file.
4927 * gdb.base/noreturn-return.exp: New file.
4928 * gdb.base/noreturn-finish.c: New file.
4929 * gdb.base/noreturn-finish.exp: New file.
4930
198297aa
PA
49312015-01-23 Pedro Alves <palves@redhat.com>
4932
4933 * gdb.threads/continue-pending-after-query.c: New file.
4934 * gdb.threads/continue-pending-after-query.exp: New file.
4935
717cf30c
AG
49362015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4937 Simon Marchi <simon.marchi@ericsson.com>
4938
4939 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4940 * gdb.base/valgrind-db-attach.exp: Same.
4941 * gdb.base/valgrind-infcall.exp: Same.
4942 * lib/mi-support.exp (default_mi_gdb_start): Same.
4943 * lib/prompt.exp (default_prompt_gdb_start): Same.
4944 * lib/gdb.exp (default_gdb_spawn): Same.
4945 (gdb_interact): New.
4946
4947
4b62a76e
JK
49482015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4949
4950 * gdb.compile/compile.exp (pointer to jit function): New test.
4951
b4cdae6f
WW
49522015-01-17 Wei-cheng Wang <cole945@gmail.com>
4953
4954 * lib/gdb.exp (supports_process_record): Return true for
4955 powerpc*-*-linux*.
4956 (supports_reverse): Likewise.
4957
d221e7ef
DB
49582015-01-15 Don Breazeal <donb@codesourcery.com>
4959
4960 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4961 instead of checking whether the target board is remote and
4962 use spawn_wait_for_attach instead of exec/sleep.
4963 * gdb.base/attach-twice.exp: Likewise.
4964
bafffb51
JB
49652015-01-15 Joel Brobecker <brobecker@adacore.com>
4966
4967 * gdb.ada/var_arr_attrs: New testcase.
4968
5589af0e
PA
49692015-01-14 Pedro Alves <palves@redhat.com>
4970 Joel Brobecker <brobecker@adacore.com>
4971
4972 PR gdb/17525
4973 * gdb.base/bp-cmds-execution-x-script.c: New file.
4974 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4975 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4976
6c400b59
PA
49772015-01-14 Pedro Alves <palves@redhat.com>
4978
4979 PR cli/17828
4980 * gdb.base/batch-preserve-term-settings.c: New file.
4981 * gdb.base/batch-preserve-term-settings.exp: New file.
4982
e02c96a7
DE
49832015-01-13 Doug Evans <dje@google.com>
4984
4985 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4986 binary.
4987
576fd14c
JB
49882015-01-13 Joel Brobecker <brobecker@adacore.com>
4989
4990 * Makefile.in (clean mostlyclean): Do not delete *.py.
4991
04dccad0
JB
49922015-01-13 Joel Brobecker <brobecker@adacore.com>
4993
4994 * gdb.python/py-lookup-type.exp: New file.
4995
3d230f71
PA
49962015-01-12 Pedro Alves <palves@redhat.com>
4997
4998 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4999 restore GDBFLAGS before returning.
5000
7e67715d
JK
50012015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5002
5003 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5004 is_amd64_regs_target and is_x86_like_target.
5005
f2e0d4b4
DE
50062015-01-11 Doug Evans <xdje42@gmail.com>
5007
5008 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5009 is given without an explicit form.
5010 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5011 attributes.
5012 * gdb.dwarf/corrupt.exp: Ditto.
5013 * gdb.dwarf2/enum-type.exp: Ditto.
5014 * gdb.trace/entry-values.exp: Ditto.
5015 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5016
439250fb
DE
50172015-01-11 Doug Evans <xdje42@gmail.com>
5018
5019 PR gdb/15830
5020 * gdb.base/maint.exp: Remove references to "maint demangle".
5021 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5022 Add tests for explicitly specifying language to demangle.
5023 * gdb.dlang/demangle.exp: Ditto.
5024
ede9f622
PA
50252015-01-09 Pedro Alves <palves@redhat.com>
5026
5027 * gdb.threads/non-stop-fair-events.c: New file.
5028 * gdb.threads/non-stop-fair-events.exp: New file.
5029
a7b796db
PA
50302015-01-09 Pedro Alves <palves@redhat.com>
5031
5032 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5033 the global scope. Set a breakpoint after all threads are started
5034 rather than stepping over two source lines. Expect the prompt.
5035 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5036 global.
5037 (NUM): Now 15.
5038 (main): Use threads_started_barrier to wait for all threads to
5039 start. Main thread no longer calls thread_function. Exit after
5040 180 seconds.
5041 (loop): New function.
5042 (thread_function): Wait on threads_started_barrier barrier. Call
5043 'loop' at each iteration.
5044 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5045 threads have started, instead of hardcoding number of "next"
5046 steps. Use an access watchpoint instead of a write watchpoint.
5047
9665ffdd
PA
50482015-01-09 Pedro Alves <palves@redhat.com>
5049
5050 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5051 (thread_func): Wait on barrier.
5052 (main): Wait for all threads to start before stopping GDB.
5053 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5054 global.
5055 (thread1_func, thread2_func): Wait on barrier.
5056 (main): Wait for all threads to start before stopping GDB.
5057 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5058 New global.
5059 (thread1_func, thread2_func): Wait on barrier.
5060 (main): Wait for all threads to start before stopping GDB.
5061
c945a99f
PA
50622015-01-09 Pedro Alves <palves@redhat.com>
5063
5064 * gdb.threads/attach-many-short-lived-threads.c: New file.
5065 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5066
c1a747c1
PA
50672014-01-09 Pedro Alves <palves@redhat.com>
5068
5069 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5070 instead of to thread 2.
5071 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5072 Add barrier around each pthread_create call instead of around all
5073 calls.
5074 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5075 Set a break on thread_function and have the child threads hit it
5076 one at at a time.
5077
60b3033e
PA
50782015-01-09 Pedro Alves <palves@redhat.com>
5079
5080 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5081 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5082 false.
5083 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5084 checking whether the target board is remote.
5085 * gdb.multi/multi-attach.exp: Likewise.
5086 * gdb.python/py-sync-interp.exp: Likewise.
5087 * gdb.server/ext-attach.exp: Likewise.
5088 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5089 tests that need to attach, instead of checking whether the target
5090 board is remote at the top of the file.
5091
acc018ac
YQ
50922015-01-08 Yao Qi <yao@codesourcery.com>
5093
5094 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5095
50a18af8
JK
50962015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5097
5098 Fix testcase compilation.
5099 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5100
8503d6e1
JB
51012015-01-06 Joel Brobecker <brobecker@adacore.com>
5102
5103 * gdb.python/py-type.exp: Add a couple test about empty
5104 array creation, and negative-length array creation.
5105
cc73dbcc
DE
51062015-01-02 Doug Evans <xdje42@gmail.com>
5107
5108 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5109
0300bbc7
DE
51102015-01-02 Doug Evans <dje@google.com>
5111
5112 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5113
9d85a0ec
YQ
51142014-12-29 Yao Qi <yao@codesourcery.com>
5115
5116 * gdb.trace/entry-values.exp: Update comments. Rename variable
5117 bar_call_foo to returned_from_foo.
5118
87186c6a
MMN
51192014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5120
5121 PR gdb/17394
5122 * gdb.linespec/break-asm-file.c: New file.
5123 * gdb.linespec/break-asm-file.exp: New file.
5124 * gdb.linespec/break-asm-file0.s: New file.
5125 * gdb.linespec/break-asm-file1.s: New file.
5126
1bab7383
YQ
51272014-12-18 Nigel Stephens <nigel@mips.com>
5128 Maciej W. Rozycki <macro@codesourcery.com>
5129
5130 * gdb.base/float.exp: Handle the new output from "info float" on
5131 MIPS targets.
5132
1bc1068a
JK
51332014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5134
5135 Fix MinGW compilation.
5136 * gdb.compile/compile-ops.exp: Update untested message if
5137 !skip_compile_feature_tests.
5138 * gdb.compile/compile-setjmp.exp: Likewise.
5139 * gdb.compile/compile-tls.exp: Likewise.
5140 * gdb.compile/compile.exp: Likewise.
5141 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5142 supported on this host".
5143
b6615d10
DE
51442014-12-16 Doug Evans <xdje42@gmail.com>
5145
5146 * boards/stabs.exp: New file.
5147
25dda427
AA
51482014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5149
5150 * gdb.base/completion.exp: Adjust to format changes of "maint
5151 print user-registers".
5152
bf330350
CU
51532014-12-16 Catalin Udma <catalin.udma@freescale.com>
5154
5155 PR server/17457
5156 * gdb.arch/aarch64-fp.c: New file.
5157 * gdb.arch/aarch64-fp.exp: New file.
5158
395cf596
SDJ
51592014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5160
5161 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5162 r210637, r210913, r211666, r215400, r215817).
5163
5164 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5165 * dg-extract-results.py: New file.
5166 * dg-extract-results.sh: Use it if the environment seems
5167 suitable.
5168
5169 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5170
5171 * dg-extract-results.py (parse_run): Handle warnings that
5172 are printed before a test harness is run.
5173
5174 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5175
5176 * dg-extract-results.py (Named): Remove __cmp__ method.
5177 (output_variation): Use a key to sort variation.harnesses.
5178
5179 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5180
5181 * dg-extract-results.py: For Python 3, force sys.stdout to
5182 handle surrogate escape sequences.
5183 (safe_open): New function.
5184 (output_segment, main): Use it.
5185
5186 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5187
5188 * dg-extract-results.py (Prog.result_re): Include options
5189 in test name.
5190
5191 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5192
5193 * dg-extract-results.py (output_variation): Always sort if
5194 do_sum.
5195
e882ef3c
SM
51962014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5197
5198 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5199 as long as we get pagination notifications.
5200
4992aa20
JM
52012014-12-15 Jason Merrill <jason@redhat.com>
5202
5203 * Makefile.in (check-gdb.%): Restore.
5204 * README: Mention it.
5205
c1b5a1a6
JB
52062014-12-13 Joel Brobecker <brobecker@adacore.com>
5207
5208 * gdb.ada/str_uninit: New testcase.
5209
5537b577
JK
52102014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5211
5212 PR symtab/17642
5213 * gdb.base/vla-stub-define.c: New file.
5214 * gdb.base/vla-stub.c: New file.
5215 * gdb.base/vla-stub.exp: New file.
5216
bb2ec1b3
TT
52172014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5218 Jan Kratochvil <jan.kratochvil@redhat.com>
5219 Tom Tromey <tromey@redhat.com>
5220
5221 * configure.ac: Add gdb.compile/.
5222 * configure: Regenerate.
5223 * gdb.compile/Makefile.in: New file.
5224 * gdb.compile/compile-ops.exp: New file.
5225 * gdb.compile/compile-ops.c: New file.
5226 * gdb.compile/compile-tls.c: New file.
5227 * gdb.compile/compile-tls.exp: New file.
5228 * gdb.compile/compile-constvar.S: New file.
5229 * gdb.compile/compile-constvar.c: New file.
5230 * gdb.compile/compile-mod.c: New file.
5231 * gdb.compile/compile-nodebug.c: New file.
5232 * gdb.compile/compile-setjmp-mod.c: New file.
5233 * gdb.compile/compile-setjmp.c: New file.
5234 * gdb.compile/compile-setjmp.exp: New file.
5235 * gdb.compile/compile-shlib.c: New file.
5236 * gdb.compile/compile.c: New file.
5237 * gdb.compile/compile.exp: New file.
5238 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5239
4ff709eb
TT
52402014-12-12 Tom Tromey <tromey@redhat.com>
5241
5242 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5243 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5244
6dddd6a5
DE
52452014-12-12 Doug Evans <dje@google.com>
5246
5247 * lib/gdb-python.exp (get_python_valueof): New function.
5248 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5249
71c24708
AA
52502014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5251
5252 * gdb.base/completion.exp: Add test for completion of "info
5253 registers ".
5254
3e29f34a
MR
52552014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5256
5257 * gdb.base/func-ptrs.c: New file.
5258 * gdb.base/func-ptrs.exp: New file.
5259
fc126975
SM
52602014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5261
5262 PR breakpoints/17012
5263 * gdb.base/dprintf-detach.c: New file.
5264 * gdb.base/dprintf-detach.exp: New file.
5265
0a46d518
SM
52662014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5267
5268 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5269 * lib/gdb.exp (target_is_gdbserver): New procedure.
5270
a0be3e44
DE
52712014-12-08 Doug Evans <dje@google.com>
5272
5273 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5274
df1b803a
YQ
52752014-12-05 Yao Qi <yao@codesourcery.com>
5276
5277 * gdb.guile/scm-error.exp: Remove the third argument to
5278 gdb_remote_download.
5279 * gdb.guile/scm-frame-args.exp: Likewise.
5280 * gdb.guile/scm-section-script.exp: Likewise.
5281
ddb9f679
YQ
52822014-12-05 Yao Qi <yao@codesourcery.com>
5283
5284 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5285
86e4ed39
DE
52862014-12-04 Doug Evans <dje@google.com>
5287
5288 * gdb.python/py-objfile.exp: Add tests for
5289 objfile.add_separate_debug_file.
5290
7c50a931
DE
52912014-12-04 Doug Evans <dje@google.com>
5292
5293 * lib/gdb.exp (get_build_id): New function.
5294 (build_id_debug_filename_get): Rewrite to use it.
5295 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5296
621661e3
MR
52972014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5298
5299 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5300 `method(long)', not just 0x0.
5301 * gdb.cp/nsalias.exp: Align code labels to 4.
5302 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5303 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5304 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5305 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5306 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5307 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5308
29f0c3b7
DE
53092014-12-02 Doug Evans <dje@google.com>
5310
e1e061e7 5311 PR symtab/17602
29f0c3b7 5312 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 5313 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
5314 * gdb.cp/anon-ns.exp: Update.
5315
162078c8
NB
53162014-12-02 Nick Bull <nicholaspbull@gmail.com>
5317
5318 * gdb.python/py-events.py (inferior_call_handler): New.
5319 (register_changed_handler, memory_changed_handler): New.
5320 (test_events.invoke): Register new handlers.
5321 * gdb.python/py-events.exp: Add tests for inferior call,
5322 memory_changed and register_changed events.
5323
fdb09caf
AA
53242014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5325
5326 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5327 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5328 if the linker doesn't understand this.
5329
55cfb2c4
SM
53302014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5331
5332 * gdb.python/python.exp: Change expected reply to help().
5333
9e8cd6df
YQ
53342014-12-01 Yao Qi <yao@codesourcery.com>
5335
5336 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5337 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5338 * configure: Re-generated.
5339
6c659fc2
SC
53402014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5341
5342 * gdb.cp/chained-calls.cc: New file.
5343 * gdb.cp/chained-calls.exp: New file.
5344 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5345
d7fc3181
SM
53462014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5347
5348 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5349 * gdb.dwarf2/symtab-producer.exp: Same.
5350 * gdb.gdb/python-interrupts.exp: Same.
5351 * gdb.gdb/python-selftest.exp: Same.
5352 * gdb.python/py-linetable.exp: Same.
5353 * gdb.python/py-type.exp: Same.
5354 * gdb.python/py-value-cc.exp: Same.
5355 * gdb.python/py-value.exp: Same.
5356
10e79639
YQ
53572014-11-28 Yao Qi <yao@codesourcery.com>
5358
5359 * gdb.base/break-probes.exp: Match library name prefixed with
5360 sysroot.
5361
f28a0564
SM
53622014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5363
5364 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5365 test expected output. Add parentheses for the call to print.
5366 Remove L suffix from integers.
5367
3fe1ce1d
DE
53682014-11-26 Doug Evans <dje@google.com>
5369
5370 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5371
84429e27
YQ
53722014-11-22 Yao Qi <yao@codesourcery.com>
5373
5374 * gdb.trace/entry-values.c: Remove asms.
5375 (foo): Add foo_label.
5376 (bar): Add bar_label.
5377 * gdb.trace/entry-values.exp: Remove code computing foo's
5378 length and bar's length.
5379 (Dwarf::assemble): Invoke function_range for bar and use
5380 MACRO_AT_func for foo.
5381
26741859
YQ
53822014-11-22 Yao Qi <yao@codesourcery.com>
5383
5384 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5385 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5386 Use .Lgcc43_procstart instead of gcc43.
5387
45e44d27
JB
53882014-11-21 Joel Brobecker <brobecker@adacore.com>
5389
5390 * gdb.ada/n_arr_bound: New testcase.
5391
458c8db8
SDJ
53922014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5393
5394 PR breakpoints/10737
5395 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5396 test_catch_syscall_multi_arch.
5397 (test_catch_syscall_multi_arch): New function.
5398
43f3e411
DE
53992014-11-20 Doug Evans <xdje42@gmail.com>
5400
5401 * gdb.base/maint.exp: Update expected output.
5402
0d7b2549
AA
54032014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5404
5405 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5406 4-byte instruction on S390.
5407
8908fca5
JB
54082014-11-19 Joel Brobecker <brobecker@adacore.com>
5409
5410 * gdb.ada/arr_arr: New testcase.
5411
4a46959e
JB
54122014-11-19 Joel Brobecker <brobecker@adacore.com>
5413
5414 * gdb.ada/pkd_arr_elem: New Testcase.
5415
470e2f4e
LM
54162014-11-18 Luis Machado <lgustavo@codesourcery.com>
5417
5418 * gdb.reverse/break-precsave: Expect completion message for
5419 core file reads.
5420 * gdb.reverse/consecutive-precsave.exp: Likewise.
5421 * gdb.reverse/finish-precsave.exp: Likewise.
5422 * gdb.reverse/i386-precsave.exp: Likewise.
5423 * gdb.reverse/machinestate-precsave.exp: Likewise.
5424 * gdb.reverse/sigall-precsave.exp: Likewise.
5425 * gdb.reverse/solib-precsave.exp: Likewise.
5426 * gdb.reverse/step-precsave.exp: Likewise.
5427 * gdb.reverse/until-precsave.exp: Likewise.
5428 * gdb.reverse/watch-precsave.exp: Likewise.
5429
a267f3ad
AA
54302014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5431
5432 * gdb.base/bp-permanent.c: Include unistd.h.
5433 * gdb.python/py-framefilter-mi.c (main): Add return type.
5434 * gdb.python/py-framefilter.c (main): Likewise.
5435 * gdb.trace/actions-changed.c (main): Likewise.
5436
12084a9a
AA
54372014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5438
5439 * gdb.mi/until.c: Add eye-catchers.
5440 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5441 line numbers.
5442
dc7e1a77
AA
54432014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5444
5445 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5446 function header variants in break1.c.
5447 * gdb.base/ena-dis-br.exp: Likewise.
5448 * gdb.base/hbreak2.exp: Likewise.
5449 * gdb.reverse/until-precsave.exp: Drop references to removed
5450 non-prototype function header variants in ur1.c.
5451 * gdb.reverse/until-reverse.exp: Likewise.
5452
41c77605
PM
54532014-11-17 Petr Machata <pmachata@redhat.com>
5454
5455 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5456 ${_cu_offset_size} bytes abbrev offset.
5457
34248c3a
DE
54582014-11-15 Doug Evans <xdje42@gmail.com>
5459
5460 PR symtab/17559
5461 * gdb.base/line-symtabs.exp: New file.
5462 * gdb.base/line-symtabs.c: New file.
5463 * gdb.base/line-symtabs.h: New file.
5464
646da059
YQ
54652014-11-14 Yao Qi <yao@codesourcery.com>
5466
5467 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5468 (func): Add label func_label.
5469 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5470 Replace low_pc and high_pc with MACRO_AT_range.
5471 Replace name, low_pc and high_pc with MACRO_AT_func.
5472
9301ebe6
YQ
54732014-11-14 Yao Qi <yao@codesourcery.com>
5474
5475 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5476 Replace name, low_pc and high_pc with MACRO_AT_func.
5477
f166b542
YQ
54782014-11-14 Yao Qi <yao@codesourcery.com>
5479
5480 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5481 produce debug information.
5482 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5483
0f6e71e3
YQ
54842014-11-14 Yao Qi <yao@codesourcery.com>
5485
5486 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5487 object and get function length.
5488 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5489 with MACRO_AT_func.
5490 (top-level): Replace gdb_compile and clean_restart with
5491 prepare_for_testing.
5492 * gdb.dwarf2/main.c (main): Add label main_label.
5493
876c4df9
YQ
54942014-11-14 Yao Qi <yao@codesourcery.com>
5495
5496 * lib/dwarf.exp (function_range): New procedure.
5497 (Dwarf::_handle_macro_at_func): New procedure.
5498 (Dwarf::_handle_macro_at_range): New procedure.
5499 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5500
02ad9cf1
YQ
55012014-11-14 Yao Qi <yao@codesourcery.com>
5502
5503 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5504 (_handle_attribute): New procedure.
5505
a59add0c
AA
55062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5507
5508 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5509 * gdb.base/call-sc.c (zed): Likewise.
5510 * gdb.base/checkpoint.c (main): Likewise.
5511 * gdb.base/dump.c (main): Likewise.
5512 * gdb.base/gcore.c (main): Likewise.
5513 * gdb.base/huge.c (main): Likewise.
5514 * gdb.base/multi-forks.c (main): Likewise.
5515 * gdb.base/pr10179-a.c (main): Likewise.
5516 * gdb.base/savedregs.c (main): Likewise.
5517 * gdb.base/sigaltstack.c (main): Likewise.
5518 * gdb.base/siginfo.c (main): Likewise.
5519 * gdb.base/structs.c (zed): Likewise.
5520 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5521 * gdb.mi/mi-syn-frame.c (main): Likewise.
5522 * gdb.mi/until.c (foo, main): Likewise.
5523 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5524 * gdb.base/solib-weak.c (foo): Declare.
5525 * gdb.base/attach-twice.c: Include stdio.h.
5526 * gdb.base/weaklib1.c: Likewise.
5527 * gdb.base/weaklib2.c: Likewise.
5528 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5529 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5530 unistd.h.
5531 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5532 * gdb.mi/mi-exit-code.c: Likewise.
5533 * gdb.base/break-interp-lib.c: Include string.h.
5534 * gdb.base/coremaker.c: Likewise.
5535 * gdb.base/testenv.c: Likewise.
5536 * gdb.python/py-finish-breakpoint.c: Likewise.
5537 * gdb.base/inferior-died.c: Include sys/wait.h.
5538 * gdb.base/fileio.c: Include time.h.
5539 * gdb.base/async-shell.c: Include unistd.h.
5540 * gdb.base/dprintf-non-stop.c: Likewise.
5541 * gdb.base/info-os.c: Likewise.
5542 * gdb.mi/mi-console.c: Likewise.
5543 * gdb.mi/watch-nonstop.c: Likewise.
5544 * gdb.python/py-events.c: Likewise.
5545 * gdb.base/async.c (baz): Move up before its invocation.
5546 * gdb.base/code_elim2.c (my_global_func): Likewise.
5547 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5548 * gdb.base/advance.c (func2): Likewise.
5549
3b5d5997
AA
55502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5551
5552 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5553 variant.
5554 * gdb.base/annota3.c: Likewise.
5555 * gdb.base/async.c: Likewise.
5556 * gdb.base/average.c: Likewise.
5557 * gdb.base/call-ar-st.c: Likewise.
5558 * gdb.base/call-rt-st.c: Likewise.
5559 * gdb.base/call-sc.c: Likewise.
5560 * gdb.base/call-strs.c: Likewise.
5561 * gdb.base/ending-run.c: Likewise.
5562 * gdb.base/execd-prog.c: Likewise.
5563 * gdb.base/exprs.c: Likewise.
5564 * gdb.base/foll-exec.c: Likewise.
5565 * gdb.base/foll-fork.c: Likewise.
5566 * gdb.base/foll-vfork.c: Likewise.
5567 * gdb.base/funcargs.c: Likewise.
5568 * gdb.base/gcore.c: Likewise.
5569 * gdb.base/jump.c: Likewise.
5570 * gdb.base/langs0.c: Likewise.
5571 * gdb.base/langs1.c: Likewise.
5572 * gdb.base/langs2.c: Likewise.
5573 * gdb.base/mips_pro.c: Likewise.
5574 * gdb.base/nodebug.c: Likewise.
5575 * gdb.base/opaque0.c: Likewise.
5576 * gdb.base/opaque1.c: Likewise.
5577 * gdb.base/recurse.c: Likewise.
5578 * gdb.base/run.c: Likewise.
5579 * gdb.base/scope0.c: Likewise.
5580 * gdb.base/scope1.c: Likewise.
5581 * gdb.base/setshow.c: Likewise.
5582 * gdb.base/setvar.c: Likewise.
5583 * gdb.base/shmain.c: Likewise.
5584 * gdb.base/shr1.c: Likewise.
5585 * gdb.base/shr2.c: Likewise.
5586 * gdb.base/sigall.c: Likewise.
5587 * gdb.base/signals.c: Likewise.
5588 * gdb.base/so-indr-cl.c: Likewise.
5589 * gdb.base/solib2.c: Likewise.
5590 * gdb.base/structs.c: Likewise.
5591 * gdb.base/sum.c: Likewise.
5592 * gdb.base/vforked-prog.c: Likewise.
5593 * gdb.base/watchpoint.c: Likewise.
5594 * gdb.reverse/shr2.c: Likewise.
5595 * gdb.reverse/until-reverse.c: Likewise.
5596 * gdb.reverse/ur1.c: Likewise.
5597 * gdb.reverse/watch-reverse.c: Likewise.
5598
066a77c5
AA
55992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5600
5601 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5602 variant.
5603 * gdb.base/sepdebug.exp: Drop references to removed code.
5604
4f204ea5
AA
56052014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5606
5607 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5608 variant. Preserve original line numbering.
5609 * gdb.base/list1.c: Likewise.
5610
3b377a3a
AA
56112014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5612
5613 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5614 variant.
5615 * gdb.base/break1.c: Likewise.
5616 * gdb.base/break.exp: Drop references to removed code.
5617
e444df73
AA
56182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5619
5620 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5621 variant.
5622
8008f2a7
AA
56232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5624
5625 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5626
a5a06887
AA
56272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5628
5629 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5630 logic into perform_all_tests() and invoke it with and without
5631 function header prototypes.
5632 (do_function_calls): Remove conditional XFAIL for PR 5318.
5633 (rerun_and_prepare): Remove duplicate code.
5634 (perform_all_tests): New. Main logic moved here.
5635
44dba9b9
AA
56362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5637
5638 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5639 code guarded by #ifdef NO_PROTOTYPES.
5640 (t_double_many_args): Likewise.
5641 (DEF_FUNC_MANY_ARGS_1): Likewise.
5642 (DEF_FUNC_VALUES_1): Likewise.
5643 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5644 guarded by #ifdef PROTOTYPES.
5645
d1fbcd56
AA
56462014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5647
5648 * gdb.mi/mi-console.c: Add eye-catcher.
5649 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5650 instead of literal line number.
5651
b0e59b8f
AA
56522014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5653
5654 * gdb.base/shr2.c: Add eye-catcher.
5655 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5656 line number.
5657
78f98cca
AA
56582014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5659
5660 * gdb.base/jump.c: Add eye-catchers.
5661 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5662 numbers.
5663
58fa2af0
AA
56642014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5665
5666 * gdb.base/execd-prog.c: Add eye-catchers.
5667 * gdb.base/foll-exec.c: Likewise.
5668 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5669 line numbers.
5670
04e5059b
AA
56712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5672
5673 * gdb.base/ending-run.c: Add eye-catchers.
5674 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5675 literal line numbers.
5676
dbfdb174
AA
56772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5678
5679 * gdb.base/call-rt-st.c: Add eye-catchers.
5680 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5681 literal line numbers.
5682
888a2ade
AA
56832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5684
5685 * gdb.base/call-ar-st.c: Add eye-catchers.
5686 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5687 literal line numbers.
5688
6acc2dde
AA
56892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5690
5691 * gdb.base/average.c: Add eye-catchers.
5692 * gdb.base/sum.c: Likewise.
5693 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5694 regexps dynamically.
5695
9ecfcd1d
AA
56962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5697
5698 * gdb.base/solib1.c: Add eye-catchers.
5699 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5700 literal line numbers.
5701
78708b7c
PA
57022014-11-12 Pedro Alves <palves@redhat.com>
5703
5704 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5705 leader has exited.
5706
af48d08f
PA
57072014-11-12 Pedro Alves <palves@redhat.com>
5708
5709 * gdb.arch/i386-bp_permanent.c: New file.
5710 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5711 (srcfile): Set to i386-bp_permanent.c.
5712 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5713 that stepi does not execute the 'leave' instruction, instead of
5714 testing it does execute.
5715 * gdb.base/bp-permanent.c: New file.
5716 * gdb.base/bp-permanent.exp: New file.
5717
af3768e9
DE
57182014-11-10 Doug Evans <xdje42@gmail.com>
5719
5720 PR symtab/17564
5721 * gdb.base/symtab-search-order.exp: New file.
5722 * gdb.base/symtab-search-order.c: New file.
5723 * gdb.base/symtab-search-order-1.c: New file.
5724 * gdb.base/symtab-search-order-shlib-1.c: New file.
5725
9de00a4a
PA
57262014-11-07 Pedro Alves <palves@redhat.com>
5727
5728 PR gdb/17511
5729 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5730 i?86-*-linux*.
5731
e0f52461
SC
57322014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5733
5734 PR c++/17494
5735 * gdb.cp/pr17494.cc: New file.
5736 * gdb.cp/pr17494.exp: New file.
5737
6ce8c980
YQ
57382014-11-02 Yao Qi <yao@codesourcery.com>
5739
5740 * gdb.python/python.exp: Get working directory and match the
5741 output of "set extended-prompt \\w " with it.
5742
02be9a71
DE
57432014-10-30 Doug Evans <dje@google.com>
5744
5745 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5746 in objfiles.
5747 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5748 in progspaces.
5749
3bdff46b
LM
57502014-10-30 Janis Johnson <janisjo@codesourcery.com>
5751
5752 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5753 * gdb.base/realname-expand.exp: Likewise.
5754 * gdb.linespec/macro-relative.exp: Likewise.
5755
ab917dfb
PA
57562014-10-29 Pedro Alves <palves@redhat.com>
5757
5758 PR gdb/17408
5759 * gdb.threads/schedlock.c (some_function): New function.
5760 (call_function): New global.
5761 (MAYBE_CALL_SOME_FUNCTION): New macro.
5762 (thread_function): Call it.
5763 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5764 and use it instead of a global counter. Adjust all callers.
5765 (get_current_thread): Use "find current thread" for test message
5766 here rather than having all callers pass down the same string.
5767 (goto_loop): New procedure, factored out from ...
5768 (my_continue): ... this.
5769 (step_ten_loops): Change parameter from test message to command to
5770 use. Adjust.
5771 (list_count): Delete global.
5772 (check_result): New procedure, factored out from duplicate top
5773 level code.
5774 (continue tests): Wrap in with_test_prefix.
5775 (test_step): New procedure, factored out from duplicate top level
5776 code.
5777 (top level): Test "step" in combination with all scheduler-locking
5778 modes. Test "next" in combination with all scheduler-locking
5779 modes, and in combination with stepping over a function call or
5780 not.
5781 * gdb.threads/next-bp-other-thread.c: New file.
5782 * gdb.threads/next-bp-other-thread.exp: New file.
5783
d3d4baed
PA
57842014-10-29 Pedro Alves <palves@redhat.com>
5785
5786 PR python/17372
5787 * gdb.python/python.exp: Test a multi-line command that spawns
5788 interactive Python.
5789 * gdb.base/multi-line-starts-subshell.exp: New file.
5790
563e8d85
YQ
57912014-10-29 Yao Qi <yao@codesourcery.com>
5792
5793 * gdb.base/fileio.exp: Make directories on host.
5794
0ea4d52e
YQ
57952014-10-29 Yao Qi <yao@codesourcery.com>
5796
5797 * gdb.base/fileio.c (test_write): Close the file.
5798
7f5ef605
PA
57992014-10-28 Pedro Alves <palves@redhat.com>
5800
5801 PR gdb/12623
5802 * gdb.base/sigstep.c (no_handler): New global.
5803 (main): If 'no_handler is true, set the signal handlers to
5804 SIG_IGN.
5805 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5806 with_sw_watch and no_handler parameters. Handle them.
5807 (top level) <stepping over handler when stopped at a breakpoint
5808 test>: Add a test axis for testing with a software watchpoint, and
5809 another for testing with the signal handler set to SIG_IGN.
5810 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5811 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5812
abbdbd03
PA
58132014-10-28 Pedro Alves <palves@redhat.com>
5814
5815 PR gdb/17511
5816 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5817 * gdb.base/sigstep.exp (other_handler_location): New global.
5818 (advance): Support stepping into the signal handler, and running
5819 commands while in the handler.
5820 (in_handler_map): New global.
5821 (top level): In the advance test, add combinations for getting
5822 into the handler with stepping commands, and for running commands
5823 in the handler. Add comment descripting the advancei tests.
5824
1df4399f
PA
58252014-10-28 Pedro Alves <palves@redhat.com>
5826
5827 * gdb.base/sigstep.exp: Use build_executable instead of
5828 prepare_for_testing.
5829 (top level): Move code that starts GDB, runs to main and creates a
5830 display to ...
5831 (restart): ... this new procedure.
5832 (top level): Move backtrace from signal handler test to ...
5833 (validate_backtrace): ... this new procedure.
5834 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5835 with_test_prefix. Always restart GDB.
5836 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5837 with_test_prefix. Always restart GDB. No need to delete
5838 breakpoints after the test.
5839 (test_skip_handler): Remove prefix parameter.
5840 (skip_over_handler, breakpoint_to_handler)
5841 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5842 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5843 restart GDB. No need to delete breakpoints after the test.
5844 (top level): Use foreach to call the test procedures with
5845 different commands.
5846
a5b6e449
PA
58472014-10-28 Pedro Alves <palves@redhat.com>
5848
5849 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5850 instead of GNATS numbers.
5851 * gdb.base/sigbpt.exp: Likewise.
5852 * gdb.base/siginfo.exp: Likewise.
5853 * gdb.base/sigstep.exp: Likewise.
5854
e5f8a7cc
PA
58552014-10-27 Pedro Alves <palves@redhat.com>
5856
5857 * gdb.base/sigstep.c (dummy): New global.
5858 (main): Issue a couple writes to the new global.
5859 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5860 procedures.
5861 (skip_over_handler): Use test_skip_handler.
5862 (top level): Call skip_over_handler for stepi and nexti too.
5863 (breakpoint_over_handler): Use test_skip_handler.
5864 (top level): Call breakpoint_over_handler for stepi and nexti too.
5865
763905a3
YQ
58662014-10-27 Yao Qi <yao@codesourcery.com>
5867
5868 * gdb.trace/tfile.c (adjust_function_address)
5869 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5870 function descriptor.
5871
6f259a23
DB
58722014-10-24 Don Breazeal <donb@codesourcery.com>
5873
5874 * gdb.base/foll-fork.exp (test_follow_fork,
5875 catch_fork_child_follow): Check for updated fork messages emitted
5876 from infrun.c.
5877 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5878 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5879 vfork_and_exec_child_follow_through_step): Check for updated vfork
5880 messages emitted from infrun.c.
5881
09dd9a69
PA
58822014-10-24 Pedro Alves <palves@redhat.com>
5883
5884 * gdb.base/corefile.exp: Remove references to ultrix.
5885 * gdb.base/interrupt.exp: Likewise.
5886 * gdb.base/whatis.exp: Likewise.
5887 * gdb.gdb/selftest.exp: Likewise.
5888 * gdb.threads/manythreads.exp: Likewise.
5889 * gdb.threads/print-threads.exp: Likewise.
5890 * gdb.threads/pthreads.exp:: Likewise.
5891 * gdb.threads/schedlock.exp: Likewise.
5892
3433cfa5
SC
58932014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5894
5895 * gdb.cp/non-trivial-retval.cc: Add a test case.
5896 * gdb.cp/non-trivial-retval.exp: Add a test.
5897
092f880b
YQ
58982014-10-20 Yao Qi <yao@codesourcery.com>
5899
5900 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5901 * gdb.python/py-objfile-script-gdb.py: New file.
5902 * gdb.python/py-objfile-script.exp: Update reference to
5903 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5904 of remote_download. Remove the dest file.
5905
acbdb7f3
YQ
59062014-10-20 Yao Qi <yao@codesourcery.com>
5907
5908 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5909 * gdb.base/step-line.exp: Likewise.
5910 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5911 * gdb.dwarf2/dw2-basic.exp: Likewise.
5912 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5913 * gdb.dwarf2/dw2-filename.exp: Likewise.
5914 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5915 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5916 * gdb.dwarf2/dw2-producer.exp: Likewise.
5917 * gdb.dwarf2/mac-fileno.exp: Likewise.
5918 * gdb.python/py-frame-args.exp: Likewise.
5919 * gdb.python/py-framefilter.exp: Likewise.
5920 * gdb.python/py-mi.exp: Likewise.
5921 * gdb.python/py-objfile-script.exp: Likewise
5922 * gdb.python/py-pp-integral.exp: Likewise.
5923 * gdb.python/py-pp-re-notag.exp: Likewise.
5924 * gdb.python/py-prettyprint.exp: Likewise.
5925 * gdb.python/py-section-script.exp: Likewise.
5926 * gdb.python/py-typeprint.exp: Likewise.
5927 * gdb.python/py-xmethods.exp: Likewise.
5928 * gdb.stabs/weird.exp: Likewise.
5929 * gdb.xml/tdesc-regs.exp: Likewise.
5930
bd286a29
KCY
59312014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5932
5933 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5934 (out_cu): Use addr_len for the size of addresses.
5935 (out_line): Likewise. Size DW_LNE_set_address instruction
5936 according to addr_len.
5937 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5938 (FUNC): Add START_INSNS to definition.
5939
673dc4a0
YQ
59402014-10-18 Yao Qi <yao@codesourcery.com>
5941
5942 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5943 gdb_has_argv0 return true.
5944 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5945 check [target_info exists noargs], check [gdb_has_argv0]
5946 instead.
5947 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5948 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5949 procedures.
5950
4ffbba72
DE
59512014-10-17 Doug Evans <dje@google.com>
5952
5953 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5954 event.
5955 * gdb.python/py-events.py: Add clear_objfiles event.
5956
d096d8c1
DE
59572014-10-17 Doug Evans <dje@google.com>
5958
5959 * gdb.python/py-objfile.exp: Test progspace attribute.
5960
a80db015
LM
59612014-10-17 Luis Machado <lgustavo@codesourcery.com>
5962
5963 * gdb.guile/scm-breakpoint.exp: Do not assume any
5964 directory separators when matching source file paths.
5965 * gdb.python/py-breakpoint.exp: Likewise.
5966 * gdb.reverse/break-precsave.exp: Likewise.
5967 * gdb.reverse/break-reverse.exp: Likewise.
5968 * gdb.reverse/consecutive-precsave.exp: Likewise.
5969 * gdb.reverse/finish-precsave.exp: Likewise.
5970 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5971 * gdb.reverse/finish-reverse.exp: Likewise.
5972 * gdb.reverse/i386-precsave.exp: Likewise.
5973 * gdb.reverse/i387-env-reverse.exp: Likewise.
5974 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5975 * gdb.reverse/machinestate-precsave.exp: Likewise.
5976 * gdb.reverse/machinestate.exp: Likewise.
5977 * gdb.reverse/sigall-precsave.exp: Likewise.
5978 * gdb.reverse/solib-precsave.exp: Likewise.
5979 * gdb.reverse/step-precsave.exp: Likewise.
5980 * gdb.reverse/until-precsave.exp: Likewise.
5981 * gdb.reverse/watch-precsave.exp: Likewise.
5982 * gdb.reverse/watch-reverse.exp: Likewise.
5983
b22089ab
YQ
59842014-10-17 Yao Qi <yao@codesourcery.com>
5985
5986 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5987 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5988
6c4486e6
PA
59892014-10-17 Pedro Alves <palves@redhat.com>
5990
5991 PR gdb/17471
5992 * gdb.base/bg-execution-repeat.c: New file.
5993 * gdb.base/bg-execution-repeat.exp: New file.
5994
0ff33695
PA
59952014-10-17 Pedro Alves <palves@redhat.com>
5996
5997 PR gdb/17300
5998 * gdb.base/continue-all-already-running.c: New file.
5999 * gdb.base/continue-all-already-running.exp: New file.
6000
6fdebc3d
PA
60012014-10-17 Pedro Alves <palves@redhat.com>
6002
6003 PR gdb/17472
6004 * gdb.base/annota-input-while-running.c: New file.
6005 * gdb.base/annota-input-while-running.exp: New file.
6006
32a8097b
PA
60072014-10-17 Pedro Alves <palves@redhat.com>
6008
6009 * gdb.base/callfuncs.exp: emove references to osf.
6010 * gdb.base/sigall.exp: Likewise.
6011 * gdb.gdb/selftest.exp: Likewise.
6012 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6013 * gdb.mi/non-stop.c: Likewise.
6014 * gdb.mi/pthreads.c: Likewise.
6015 * gdb.reverse/sigall-precsave.exp: Likewise.
6016 * gdb.reverse/sigall-reverse.exp: Likewise.
6017 * gdb.threads/pthreads.c: Likewise.
6018 * gdb.threads/pthreads.exp: Likewise.
6019
7a3517ff
YQ
60202014-10-17 Yao Qi <yao@codesourcery.com>
6021
6022 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6023 check 'target_info exists noargs'.
6024 (test_command_prompt_position): Likewise.
6025 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6026 Remove "set args".
6027 (progvar_simple_while_test): Likewise.
6028 (progvar_complex_if_while_test): Likewise.
6029 (if_while_breakpoint_command_test): Likewise.
6030 (infrun_breakpoint_command_test): Likewise.
6031 (breakpoint_command_test): Likewise.
6032 (watchpoint_command_test): Likewise.
6033 (bp_deleted_in_command_test): Likewise.
6034 (temporary_breakpoint_commands): Likewise.
6035
bb99c472
YQ
60362014-10-16 Yao Qi <yao@codesourcery.com>
6037
6038 * gdb.base/remotetimeout.exp: Remove noargs checking.
6039
7c16b83e
PA
60402014-10-15 Pedro Alves <palves@redhat.com>
6041
6042 PR breakpoints/9649
6043 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6044 * gdb.base/breakpoint-in-ro-region.exp
6045 (probe_target_hardware_step): New procedure.
6046 (top level): Probe hardware stepping and hardware breakpoint
6047 support. Test stepping through a read-only region, with both
6048 "breakpoint auto-hw" on and off and both "always-inserted" on and
6049 off.
6050
35a49624
IB
60512014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6052
6053 * gdb.dlang/demangle.exp: Update for demangling changes.
6054
2d1c107c
SC
60552014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6056
6057 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6058 * gdb.cp/non-trivial-retval.exp: Add new tests.
6059
778811d5
SC
60602014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6061
6062 PR c++/13403
6063 PR c++/15154
6064 * gdb.cp/non-trivial-retval.cc: New file.
6065 * gdb.cp/non-trivial-retval.exp: New file.
6066
10c5f0a8
YQ
60672014-10-15 Yao Qi <yao@codesourcery.com>
6068
6069 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6070 remote host.
6071
65d7b369
YQ
60722014-10-15 Yao Qi <yao@codesourcery.com>
6073
6074 * gdb.python/py-symbol.exp: Match file base name if host is
6075 remote, otherwise match file name with dir name.
6076 * gdb.python/py-symtab.exp: Likewise.
6077 * gdb.python/python.exp: Likewise.
6078
46dc1394
YQ
60792014-10-15 Yao Qi <yao@codesourcery.com>
6080
6081 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6082 pattern.
6083 * gdb.python/py-symtab.exp: Likewise.
6084 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6085 locationn.
6086
c40cc657
JB
60872014-10-14 Joel Brobecker <brobecker@adacore.com>
6088
6089 * gdb.ada/addr_arith: New testcase.
6090
2abf49e1
MR
60912014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6092
6093 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6094 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6095 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6096 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6097
f7088df3
SDJ
60982014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6099
6100 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6101 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6102 * gdb.arch/stap-eval-lang-ada.exp: New file.
6103
4dc06805
YQ
61042014-10-14 Yao Qi <yao@codesourcery.com>
6105
6106 * gdb.mi/mi-var-child.c (nothing1): New function.
6107 (nothing2): New function.
6108 (do_children_tests): Set function pointers by nothing1 and
6109 nothing2.
6110 * gdb.mi/mi-var-child.exp: Step over new added statements.
6111 Update test to match the new output.
6112 * gdb.mi/var-cmd.c (nothing1): New function.
6113 (nothing2): New function.
6114 (do_children_tests): Set function pointers by nothing1 and
6115 nothing2.
6116 * gdb.mi/mi-var-display.exp: Update test to match output.
6117 Step to the line specified by $line_dct_nothing.
6118 Increase the number of lines to step.
6119
46a93de2
YQ
61202014-10-14 Yao Qi <yao@codesourcery.com>
6121
6122 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6123 tests.
6124 * gdb.mi/mi2-var-child.exp: Likewise.
6125
14ea52ee
DE
61262014-10-13 Doug Evans <dje@google.com>
6127
6128 * gdb.python/py-objfile.exp: Change name of file name test.
6129
e5c6e92b
DE
61302014-10-13 Doug Evans <dje@google.com>
6131
6132 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6133 from the start of the CU.
6134
c780cc2f
JK
61352014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6136 Yao Qi <yao@codesourcery.com>
6137
6138 Fix "save breakpoints" for "catch" command.
6139 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6140 Remove -nonewline. Match also the added "main" line.
6141
99894e11
JK
61422014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6143
6144 Fix "save breakpoints" for "disable $bpnum" command.
6145 * gdb.base/save-bp.c (main): Add label.
6146 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6147
6e1ac5a3
JK
61482014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6149
6150 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6151
754dd2b0
YQ
61522014-10-11 Yao Qi <yao@codesourcery.com>
6153
6154 * gdb.server/server-kill.exp: Execute command
6155 "set remote trace-status-packet on" before "tstatus".
6156
f90183d7
YQ
61572014-10-11 Yao Qi <yao@codesourcery.com>
6158
6159 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6160 (main): Call getppid.
6161 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6162 and continue to it. Read variable "server_pid".
6163
bf40a607
YQ
61642014-10-11 Yao Qi <yao@codesourcery.com>
6165
6166 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6167
052ca370
YQ
61682014-10-11 Yao Qi <yao@codesourcery.com>
6169
6170 * gdb.threads/thread-find.exp: Don't execute command
6171 "info threads".
6172 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6173 * gdb.threads/linux-dp.exp: Don't check the condition
6174 $threads_created equals to zero.
6175
3831839c
PA
61762014-10-10 Pedro Alves <palves@redhat.com>
6177
6178 * gdb.base/bigcore.exp: Remove references to IRIX.
6179 * gdb.base/funcargs.exp: Likewise.
6180 * gdb.base/interrupt.exp: Likewise.
6181 * gdb.base/mips_pro.exp: Likewise.
6182 * gdb.base/nodebug.exp: Likewise.
6183 * gdb.base/setvar.exp: Likewise.
6184 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6185
8b9a549d
PA
61862014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6187 Pedro Alves <palves@redhat.com>
6188
6189 PR symtab/14466
6190 * gdb.base/vdso-warning.c: New file.
6191 * gdb.base/vdso-warning.exp: New file.
6192
d48ba5e8
DE
61932014-10-02 Doug Evans <dje@google.com>
6194
6195 * gdb.base/structs.c (main): Don't run forever.
6196
2278c276
PA
61972014-10-02 Pedro Alves <palves@redhat.com>
6198
6199 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6200 (top level) <stop threads 1, stop threads 2>: Use it.
6201
b57bacec
PA
62022014-10-02 Pedro Alves <palves@redhat.com>
6203
6204 * gdb.threads/break-while-running.exp (test): Add new
6205 'update_thread_list' argument. Skip "info threads" if false.
6206 (top level): Add new 'update_thread_list' axis.
6207
13fd3ff3
PA
62082014-10-02 Pedro Alves <palves@redhat.com>
6209
6210 PR breakpoints/17431
6211 * gdb.base/execl-update-breakpoints.c: New file.
6212 * gdb.base/execl-update-breakpoints.exp: New file.
6213
0fec99e8
PA
62142014-10-01 Pedro Alves <palves@redhat.com>
6215
6216 * gdb.base/breakpoint-in-ro-region.c: New file.
6217 * gdb.base/breakpoint-in-ro-region.exp: New file.
6218
2ddf4301
SM
62192014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6220
6221 * gdb.mi/mi-exit-code.exp: New file.
6222 * gdb.mi/mi-exit-code.c: New file.
6223
6a5f3f43
YQ
62242014-09-30 Yao Qi <yao@codesourcery.com>
6225
6226 * lib/prelink-support.exp (build_executable_own_libs): Error if
6227 the target isn't native.
6228
345bcc73
YQ
62292014-09-30 Yao Qi <yao@codesourcery.com>
6230
6231 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6232 false.
6233
a25a5a45
PA
62342014-09-22 Pedro Alves <palves@redhat.com>
6235
6236 * gdb.threads/break-while-running.exp: New file.
6237 * gdb.threads/break-while-running.c: New file.
6238
00ba3162
YQ
62392014-09-19 Yao Qi <yao@codesourcery.com>
6240
6241 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6242 Invoke test. Restart GDB with --readnow and invoke test again.
6243
c3b7b696
YQ
62442014-09-19 Yao Qi <yao@codesourcery.com>
6245
6246 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6247 proc set_breakpoint_on_gcd_function. Invoke
6248 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6249 invoke set_breakpoint_on_gcd_function again.
6250
2b4fd423
DE
62512014-09-18 Doug Evans <dje@google.com>
6252
6253 * gdb.dwarf2/symtab-producer.exp: New file.
6254
a5947601
SDJ
62552014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6256
6257 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6258 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6259 * gdb.base/global-var-nested-by-dso.c: Likewise.
6260 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6261
91c19059
SDJ
62622014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6263 Pedro Alves <palves@redhat.com>
6264
6265 * gdb.base/watch-bitfields.exp: Pass string other than test file
6266 name to prepare_for_testing.
6267 (watch): New procedure.
6268 (expect_watchpoint): Use with_test_prefix.
6269 (top level): Factor out tests to ...
6270 (test_watch_location, test_regular_watch): ... these new
6271 procedures, and use with_test_prefix and gdb_continue_to_end.
6272
bb9d5f81
PP
62732014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6274
6275 PR breakpoints/12526
6276 * gdb.base/watch-bitfields.exp: New file.
6277 * gdb.base/watch-bitfields.c: New file.
6278
635856f5
PA
62792014-09-16 Pedro Alves <palves@redhat.com>
6280
6281 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6282 software and hardware addresses, not software address against
6283 itself.
6284
7280ceea
PA
62852014-09-16 Pedro Alves <palves@redhat.com>
6286
6287 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6288 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6289
428b16bd
PA
62902014-09-16 Pedro Alves <palves@redhat.com>
6291
6292 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6293 files.
6294 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6295 "*-*-vxworks*" throughout.
6296 * gdb.base/break.exp: Likewise.
6297 * gdb.base/default.exp: Likewise.
6298 * gdb.base/scope.exp: Likewise.
6299 * gdb.base/sepdebug.exp: Likewise.
6300 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6301 throughout.
6302 * gdb.base/run.c: Likewise.
6303 * gdb.base/sepdebug.c: Likewise.
6304 * gdb.hp/gdb.aCC/run.c: Likewise.
6305 * gdb.reverse/until-reverse.c: Likewise.
6306 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6307
666d413c
YQ
63082014-09-16 Yao Qi <yao@codesourcery.com>
6309
6310 * boards/local-remote-host-native.exp: New file.
6311
57cbd724
DE
63122014-09-14 Doug Evans <xdje42@gmail.com>
6313
6314 * gdb.threads/queue-signal.c (thread_count): New variable.
6315 (thread_count_mutex, thread_count_condvar): New variables.
6316 (incr_thread_count, wait_all_threads_running): New functions.
6317 (main): Wait for all threads to be in their thread functions.
6318
81219e53
DE
63192014-09-13 Doug Evans <xdje42@gmail.com>
6320
6321 * gdb.threads/queue-signal.c: New file.
6322 * gdb.threads/queue-signal.exp: New file.
6323
3714cea7
DE
63242014-09-13 Doug Evans <xdje42@gmail.com>
6325
6326 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6327 be consistent with what default_gdb_init uses.
6328 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6329 the plain text of the prompt. Add some logging printfs.
6330 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6331
fa43b1d7
PA
63322014-09-12 Pedro Alves <palves@redhat.com>
6333
6334 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6335 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6336 * gdb.arch/i386-size-overlap.exp: Likewise.
6337 * gdb.arch/i386-size.exp: Likewise.
6338 * gdb.arch/i386-unwind.exp: Likewise.
6339 * gdb.base/a2-run.exp: Likewise.
6340 * gdb.base/break.exp: Likewise.
6341 * gdb.base/charset.exp: Likewise.
6342 * gdb.base/chng-syms.exp: Likewise.
6343 * gdb.base/commands.exp: Likewise.
6344 * gdb.base/dbx.exp: Likewise.
6345 * gdb.base/find.exp: Likewise.
6346 * gdb.base/funcargs.exp: Likewise.
6347 * gdb.base/jit-simple.exp: Likewise.
6348 * gdb.base/reread.exp: Likewise.
6349 * gdb.base/sepdebug.exp: Likewise.
6350 * gdb.base/step-bt.exp: Likewise.
6351 * gdb.cp/mb-inline.exp: Likewise.
6352 * gdb.cp/mb-templates.exp: Likewise.
6353 * gdb.objc/basicclass.exp: Likewise.
6354 * gdb.threads/killed.exp: Likewise.
6355
9d9bf2df
EBM
63562014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6357
6358 PR tdep/17379
6359 * gdb.arch/powerpc-stackless.S: New file.
6360 * gdb.arch/powerpc-stackless.exp: New file.
6361
1cf2f1b0
JK
63622014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6363
6364 * gdb.base/attach.c: Include unistd.h.
6365 (main): Call alarm. Add label postloop.
6366 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6367 gdb_breakpoint, gdb_continue_to_breakpoint.
6368 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6369
98880d46
PA
63702014-09-11 Pedro Alves <palves@redhat.com>
6371
6372 PR gdb/17347
6373 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6374 * gdb.base/attach.exp (test_command_line_attach_run): New
6375 procedure.
6376 (top level): Call it.
6377
4c92ff2c
PA
63782014-09-11 Pedro Alves <palves@redhat.com>
6379
6380 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6381 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6382 (do_command_attach_tests): Use spawn_wait_for_attach.
6383 * gdb.base/solib-overlap.exp: Likewise.
6384 * gdb.multi/multi-attach.exp: Likewise.
6385 * gdb.python/py-prompt.exp: Likewise.
6386 * gdb.python/py-sync-interp.exp: Likewise.
6387 * gdb.server/ext-attach.exp: Likewise.
6388
3adc1a7d
GKB
63892014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6390
6391 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6392 command in testcase. Simplify testcase.
6393
96334934
JB
63942014-09-10 Joel Brobecker <brobecker@adacore.com>
6395
6396 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6397
eb479039
JB
63982014-09-10 Joel Brobecker <brobecker@adacore.com>
6399
6400 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6401
deede10c
JB
64022014-09-10 Joel Brobecker <brobecker@adacore.com>
6403
6404 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6405
7828a5f5
JB
64062014-09-10 Joel Brobecker <brobecker@adacore.com>
6407
6408 * gdb.dwarf2/dynarr-ptr.c: New file.
6409 * gdb.dwarf2/dynarr-ptr.exp: New file.
6410
33aeebcf
MR
64112014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6412
6413 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6414 of 30 rather than hardcoding 120 for a slow test case. Take the
6415 `gdb,timeout' target setting into account for this calculation.
6416 Don't extend the timeout for the test cases that don't need it.
6417
7b415901
MR
64182014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6419
6420 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6421 a factor of 2 for a slow test case. Take the `gdb,timeout'
6422 target setting into account for this calculation.
6423 * gdb.reverse/until-precsave.exp: Increase the timeout by
6424 a factor of 15 and 3 respectively rather than adding 120
6425 for a pair of slow test cases. Take the `gdb,timeout'
6426 target setting into account for this calculation.
6427
4a40f85a
MR
64282014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6429
6430 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6431 timeout, don't pass one down to gdb_expect.
6432 (gdb_expect): Rework timeout selection.
6433
09635af7
MR
64342014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6435
6436 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6437 exception on timeout.
6438 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6439 (gdbserver_start_extended): Catch any `gdbserver_start' error
6440 exceptions.
6441 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6442 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6443 `gdbserver_gdb_load' error exceptions.
6444
2bdd10b7
MR
64452014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6446
6447 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6448 120 on waiting for the TCP socket to open.
6449
316935f0
DE
64502014-09-09 Doug Evans <xdje42@gmail.com>
6451
6452 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6453 _caller_matches, _any_caller_is, _any_caller_matches.
6454
83740597
DE
64552014-09-09 Doug Evans <xdje42@gmail.com>
6456
6457 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6458
4c122fc3
YQ
64592014-09-09 Yao Qi <yao@codesourcery.com>
6460
6461 * gdb.mi/mi-var-display.exp: Set print symbol off.
6462
a9f116cb
GKB
64632014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6464
6465 PR gdb/17035
6466 * gdb.base/commands.exp: Add tests to verify user-defined
6467 commands with empty bodies.
6468 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6469 python commands in `show user command`.
6470 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6471 scheme commands in `show user command`.
6472
c75bd3a2
JK
64732014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6474
6475 PR python/17355
6476 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6477 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6478 * gdb.python/py-framefilter-invalidarg.exp: New file.
6479 * gdb.python/py-framefilter-invalidarg.py: New file.
6480
faa42425
DE
64812014-09-06 Doug Evans <xdje42@gmail.com>
6482
6483 PR 15276
6484 * gdb.python/py-caller-is.c: New file.
6485 * gdb.python/py-caller-is.exp: New file.
6486
474ca4f6
SDJ
64872014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6488
6489 PR gdb/17235
6490 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6491 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6492
eb0b0463
SDJ
64932014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6494
6495 PR fortran/17237
6496 * gdb.fortran/print-formatted.exp: New file.
6497 * gdb.fortran/print-formatted.f90: Likewise.
6498
5f3b99cf
SS
64992014-09-03 Sasha Smundak <asmundak@google.com>
6500
6501 * gdb.python/py-frame.exp: Test Frame.read_register.
6502
7d793aa9
SDJ
65032014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6504
6505 PR python/16699
6506 * gdb.python/py-completion.exp: New file.
6507 * gdb.python/py-completion.py: Likewise.
6508
fb0576e9
DE
65092014-08-28 Doug Evans <dje@google.com>
6510
6511 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6512 eax,etc. are live with values set by gdb and thus the compiler can't
6513 use them.
6514 * gdb.arch/i386-pseudo.c (main): Ditto.
6515
ee92b0dd
DE
65162014-08-27 Doug Evans <dje@google.com>
6517
6518 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6519
6649db35
DE
65202014-08-25 Doug Evans <dje@google.com>
6521
6522 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6523 (main): Ditto.
6524
564b7600
DE
65252014-08-25 Doug Evans <dje@google.com>
6526
6527 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6528
3881fb67
YQ
65292014-08-24 Yao Qi <yao@codesourcery.com>
6530
6531 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6532 symbol off.
6533 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6534
a05a36a5
DE
65352014-08-22 Doug Evans <dje@google.com>
6536
6537 PR 17276
6538 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6539 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6540 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6541
7c343b48
YQ
65422014-08-22 Yao Qi <yao@codesourcery.com>
6543
6544 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6545 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6546 * gdb.python/python.exp: Likewise. Use .py file on the host
6547 instead of the build.
6548
22fd09ae
JK
65492014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6550
6551 * gdb.threads/gcore-stale-thread.c: New file.
6552 * gdb.threads/gcore-stale-thread.exp: New file.
6553
a8454a7c
PA
65542014-08-21 Pedro Alves <palves@redhat.com>
6555
6556 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6557 * gdb.base/gcore-relro-pie.exp: Likewise.
6558 * gdb.base/gcore-relro.exp: Likewise.
6559 * gdb.base/gcore.exp: Likewise.
6560 * gdb.base/print-symbol-loading.exp: Likewise.
6561 * gdb.threads/gcore-thread.exp: Likewise.
6562 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6563
2a31c623
PA
65642014-08-20 Pedro Alves <palves@redhat.com>
6565 Jan Kratochvil <jan.kratochvil@redhat.com>
6566
6567 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6568 configure.
6569 (EXPECT): Handle READ1 being set.
6570 (all): Depend on EXTRA_RULES.
6571 (check-read1, expect-read1, read1.so, read1): New rules.
6572 * README (Testsuite Parameters): Document the READ1 make variable.
6573 (Race detection): New section.
6574 * configure: Regenerate.
6575 * configure.ac: If build==host==target, and running under a
6576 GNU/glibc system, add read1 to the extra Makefile rules.
6577 (EXTRA_RULES): AC_SUBST it.
6578 * lib/read1.c: New file.
6579
d36430db
JB
65802014-08-20 Joel Brobecker <brobecker@adacore.com>
6581
6582 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6583 the handling of variables declared as a typedef to an array
6584 which a DW_AT_data_location attribute.
6585
9a0dc9e3
PA
65862014-08-19 Andrew Burgess <aburgess@broadcom.com>
6587 Pedro Alves <palves@redhat.com>
6588
6589 PR symtab/14604
6590 PR symtab/14605
6591 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6592 gdb_test.
6593
0718a8da
PA
65942014-08-19 Pedro Alves <palves@redhat.com>
6595
6596 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6597
13b448cd
YQ
65982014-08-19 Yao Qi <yao@codesourcery.com>
6599
6600 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6601 right line.
6602
1cbf5077
DB
66032014-08-18 David Blaikie <dblaikie@gmail.com>
6604
6605 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6606
bf0fae19
JB
66072014-08-18 Joel Brobecker <brobecker@adacore.com>
6608
6609 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6610 attribute in array range.
6611
3c8c5dcc
JB
66122014-08-18 Joel Brobecker <brobecker@adacore.com>
6613
6614 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6615
e66d4446
SC
66162014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6617
6618 PR c++/17132
6619 * gdb.cp/pr17132.cc: New file.
6620 * gdb.cp/pr17132.exp: New file.
6621
940df408
SC
66222014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6623
6624 * gdb.python/py-xmethods.py (A_getarrayind)
6625 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6626 Use 'print' with function call syntax.
6627 (E_method_matcher.match): Fix tab vs space indentation mixup.
6628
ebcc6c3a
YQ
66292014-08-15 Yao Qi <yao@codesourcery.com>
6630
6631 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6632 false.
6633
775e0f04
YQ
66342014-08-15 Yao Qi <yao@codesourcery.com>
6635
6636 * gdb.cp/casts.exp: Set print symbol off.
6637 * gdb.cp/class2.exp: Likewise.
6638 * gdb.cp/overload.exp: Likewise.
6639 * gdb.cp/templates.exp: Likewise.
6640
d769e349
DE
66412014-08-11 Doug Evans <dje@google.com>
6642
6643 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6644 (test_load_shlib): Update.
6645
20c6f1e1
YQ
66462014-08-09 Yao Qi <yao@codesourcery.com>
6647
6648 * gdb.base/display.exp: Invoke is_address_zero_readable.
6649 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6650 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6651 * gdb.base/hbreak-unmapped.exp: Return if
6652 is_address_zero_readable returns true.
6653 * gdb.base/signest.exp: Likewise.
6654 * gdb.base/signull.exp: Likewise.
6655 * gdb.base/sigbpt.exp: Likewise.
6656 * gdb.guile/scm-disasm.exp: Do the test if
6657 is_address_zero_readable returns false.
6658 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6659 * gdb.python/py-arch.exp: Likewise.
6660 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6661 * lib/gdb.exp (is_address_zero_readable): New proc.
6662
5792e8e3
YQ
66632014-08-09 Yao Qi <yao@codesourcery.com>
6664
6665 PR testsuite/13443
6666 * gdb.mi/mi-var-display.exp: Make test messages unique.
6667
3cecbbbe
TT
66682014-08-04 Tom Tromey <tromey@redhat.com>
6669
6670 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6671 target 0".
6672
00b51ff5
TT
66732014-08-04 Tom Tromey <tromey@redhat.com>
6674
6675 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6676 "target_resume".
6677
6908c509
JB
66782014-08-01 Joel Brobecker <brobecker@adacore.com>
6679
6680 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6681 inner_vla_struct_object_size.
6682 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6683 as xfail.
6684
cc6563d2
PA
66852014-07-30 Pedro Alves <palves@redhat.com>
6686
6687 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6688 comment.
6689
7e09a223
YQ
66902014-07-29 Yao Qi <yao@codesourcery.com>
6691
6692 PR gdb/17206
6693 * gdb.base/until-nodebug.exp: New.
6694
7ebdbe92
DE
66952014-07-28 Doug Evans <xdje42@gmail.com>
6696
6697 PR guile/17203
6698 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6699 previously existing parameter, and previously ambiguously spelled
6700 parameter.
6701
fdb1adc6
WN
67022014-07-28 Will Newton <will.newton@linaro.org>
6703
6704 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6705
186fcde0
DE
67062014-07-26 Ludovic Courtès <ludo@gnu.org>
6707 Doug Evans <xdje42@gmail.com>
6708
6709 PR guile/17146
6710 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6711
70509625
PA
67122014-07-25 Pedro Alves <palves@redhat.com>
6713
6714 * gdb.threads/signal-command-handle-nopass.c: New file.
6715 * gdb.threads/signal-command-handle-nopass.exp: New file.
6716 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6717 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6718 * gdb.threads/signal-delivered-right-thread.c: New file.
6719 * gdb.threads/signal-delivered-right-thread.exp: New file.
6720
c3f814a1
PA
67212014-07-25 Pedro Alves <palves@redhat.com>
6722
6723 * gdb.base/double-prompt-target-event-error.exp
6724 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6725 match.
6726 (cancel_pagination_in_target_event): Rework double prompt
6727 detection.
6728 * gdb.base/paginate-after-ctrl-c-running.exp
6729 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6730 <return>' match.
6731 * gdb.base/paginate-bg-execution.exp
6732 (test_bg_execution_pagination_return)
6733 (test_bg_execution_pagination_cancel): Remove '-notransfer
6734 <return>' matches.
6735 * gdb.base/paginate-execution-startup.exp
6736 (test_fg_execution_pagination_return)
6737 (test_fg_execution_pagination_cancel): Remove '-notransfer
6738 <return>' matches.
6739 * gdb.base/paginate-inferior-exit.exp
6740 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6741 match.
6742 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6743 * lib/gdb.exp (pagination_prompt): Run text through
6744 string_to_regexp.
6745 (gdb_test_multiple): Match $pagination_prompt instead of
6746 "<return>".
6747 (string_to_regexp): Move to lib/gdb-utils.exp.
6748
e214cf6c
JK
67492014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6750
6751 * gdb.arch/amd64-entry-value-paramref.S: New file.
6752 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6753 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6754 * gdb.arch/amd64-optimout-repeat.S: New file.
6755 * gdb.arch/amd64-optimout-repeat.c: New file.
6756 * gdb.arch/amd64-optimout-repeat.exp: New file.
6757
17d0c5c8
JK
67582014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6759
6760 PR gdb/17170
6761 * gdb.base/statistics.exp: New file.
6762
b8b8facf
DE
67632014-07-17 Doug Evans <dje@google.com>
6764
74b49205 6765 PR gdb/17170
b8b8facf
DE
6766 * gdb.base/maint.exp: Update testing of per-command stats.
6767
1b5d0ab3
PA
67682014-07-16 Pedro Alves <palves@redhat.com>
6769
6770 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6771 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6772 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6773 (tfile_write_buf): New functions.
6774 (add_memory_block): Rewrite using the above.
6775 (adjust_function_address): New function.
6776 (FUNCTION_ADDRESS): New macro.
6777 (write_basic_trace_file): Remove short_x local, and use
6778 tfile_write_16. Change type of func_addr local to unsigned long
6779 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6780 here. Cast argument of add_memory_block to char pointer.
6781 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6782 (main): Remove parameters.
6783 * gdb.trace/tfile.exp: Remove nowarnings.
6784
4d974e88
SM
67852014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6786
6787 * gdb.base/debug-expr.exp: Test string evaluation with
6788 "debug expression" on.
6789
41e99568
PA
67902014-07-15 Pedro Alves <palves@redhat.com>
6791
6792 * gdb.base/reread.exp: Use clean_restart.
6793
487d9753
PL
67942014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6795
6796 * gdb.arch/avr-flash-qualifer.c: New.
6797 * gdb.arch/avr-flash-qualifer.exp: New.
6798
cc1c52ad
PA
67992014-07-14 Pedro Alves <palves@redhat.com>
6800
6801 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6802 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6803
1e973570
PA
68042014-07-14 Pedro Alves <palves@redhat.com>
6805
6806 * gdb.base/double-prompt-target-event-error.c: New file.
6807 * gdb.base/double-prompt-target-event-error.exp: New file.
6808
93d6eb10
PA
68092014-07-14 Pedro Alves <palves@redhat.com>
6810
6811 PR gdb/17072
6812 * gdb.base/paginate-inferior-exit.c: New file.
6813 * gdb.base/paginate-inferior-exit.exp: New file.
6814
0017922d
PA
68152014-07-14 Pedro Alves <palves@redhat.com>
6816
6817 PR gdb/17072
6818 * gdb.base/paginate-bg-execution.c: New file.
6819 * gdb.base/paginate-bg-execution.exp: New file.
6820
94696ad3
PA
68212014-07-14 Pedro Alves <palves@redhat.com>
6822
6823 PR gdb/17072
6824 * gdb.base/paginate-execution-startup.c: New file.
6825 * gdb.base/paginate-execution-startup.exp: New file.
6826 * lib/gdb.exp (pagination_prompt): New global.
6827 (default_gdb_spawn): New procedure, factored out from
6828 default_gdb_spawn.
6829 (default_gdb_start): Adjust to call default_gdb_spawn.
6830 (gdb_spawn): New procedure.
6831
bd293940
PA
68322014-07-14 Pedro Alves <palves@redhat.com>
6833
6834 * lib/gdb.exp (gdb_assert): New procedure.
6835 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6836
c933f875
PA
68372014-07-14 Pedro Alves <palves@redhat.com>
6838
6839 * gdb.base/execution-termios.c: New file.
6840 * gdb.base/execution-termios.exp: New file.
6841
d98b7a16
TT
68422014-07-14 Tom Tromey <tromey@redhat.com>
6843
6844 * gdb.cp/vla-cxx.cc: New file.
6845 * gdb.cp/vla-cxx.exp: New file.
6846
548740d6
TT
68472014-07-14 Tom Tromey <tromey@redhat.com>
6848
6849 * gdb.reverse/rerun-prec.c: New file.
6850 * gdb.reverse/rerun-prec.exp: New file.
6851
a25eb028
MR
68522014-07-12 Maciej W. Rozycki <macro@mips.com>
6853 Maciej W. Rozycki <macro@codesourcery.com>
6854
6855 * lib/gdb-utils.exp: New file.
6856 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6857 inline `gdb_init_command' processing.
6858 (gdb_start_cmd): Likewise.
6859 * lib/mi-support.exp (mi_run_cmd): Likewise.
6860 * README: Document `gdb_init_command' and `gdb_init_commands'.
6861
218c2655
JK
68622014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6863
6864 Fix false FAIL running under a very long directory name.
6865 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6866 and "set print elements 10000". Twice.
6867
5401fde3
YQ
68682014-07-11 Yao Qi <yao@codesourcery.com>
6869
6870 * gdb.base/exprs.exp: "set print symbol off".
6871
e76126e8
PA
68722014-07-11 Pedro Alves <palves@redhat.com>
6873
6874 * gdb.threads/kill.c: New file.
6875 * gdb.threads/kill.exp: New file.
6876
2d6f0de6
YQ
68772014-07-10 Yao Qi <yao@codesourcery.com>
6878
6879 * gdb.trace/tfile.c (write_basic_trace_file)
6880 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6881 address written to trace file.
6882
7180e04a
PA
68832014-07-09 Pedro Alves <palves@redhat.com>
6884
6885 * gdb.base/attach-wait-input.exp: New file.
6886 * gdb.base/attach-wait-input.c: New file.
6887
9a9a7608
AB
68882014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6889
6890 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6891 setting up test structures.
6892 (main): Call new test function.
6893 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6894 test function, continue into test function and walk test
6895 structures.
6896
161ac41e
YQ
68972014-07-02 Yao Qi <yao@codesourcery.com>
6898
6899 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6900 'bar_start' at the beginning of functions 'foo' and 'bar'
6901 respectively.
6902 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6903 instead of 'foo' and 'bar'.
6904
1f267ae3
MM
69052014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6906
6907 * gdb.btrace/segv.exp: New.
6908 * gdb.btrace/segv.c: New.
6909
2b239efb
LM
69102014-07-02 Luis Machado <lgustavo@codesourcery.com>
6911
6912 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6913 instruction.
6914
cf363f18
MW
69152014-06-30 Mark Wielaard <mjw@redhat.com>
6916
6917 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6918 vulture, vilify, villar): New volatile array constants.
6919 (vindictive, vegetation): New const volatile array constants.
6920 * gdb.base/volatile.exp: Test volatile and const volatile array
6921 types.
6922
aebf9d24
AA
69232014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6924
6925 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6926 target lacks support for awatch, rwatch, or hbreak.
6927
b67a2c6f
YQ
69282014-06-27 Yao Qi <yao@codesourcery.com>
6929
6930 * gdb.multi/dummy-frame-restore.exp: New.
6931 * gdb.multi/dummy-frame-restore.c: New.
6932
aef92902
MM
69332014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6934
6935 * gdb.btrace/gcore.exp: New.
6936
8e9db26e
PA
69372014-06-23 Pedro Alves <palves@redhat.com>
6938
6939 * gdb.base/watchpoint-reuse-slot.c: New file.
6940 * gdb.base/watchpoint-reuse-slot.exp: New file.
6941
70afc5b7
SC
69422014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6943
6944 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6945 progspace's filename in 'info', 'enable' and 'disable' command
6946 tests.
6947
b972bd9c
JK
69482014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6949
6950 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6951 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6952 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6953
125f8a3d
GB
69542014-06-20 Gary Benson <gbenson@redhat.com>
6955
6956 * gdb.arch/i386-avx.exp: Fix include file location.
6957 * gdb.arch/i386-sse.exp: Likewise.
6958
3ed9baed
IB
69592014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6960
6961 * gdb.dlang/expression.exp: New file.
6962
034f788c
PA
69632014-06-19 Pedro Alves <palves@redhat.com>
6964
6965 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6966 out from ...
6967 (top level): ... here. Iterate running tests under different
6968 scheduler-locking settings.
6969
45371d0c
LM
69702014-06-18 Luis Machado <lgustavo@codesourcery.com>
6971
6972 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6973 to DW_FORM_addr and use non-zero addresses.
6974
5d376983
SC
69752014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6976
6977 PR gdb/17017
6978 * gdb.python/py-xmethods.cc: Add global function call counters and
6979 increment them in their respective functions. Remove "cout"
6980 statements.
6981 * gdb.python/py-xmethods.exp: Make tests check the global function
6982 call counters instead of depending on inferior IO.
6983
a1aa2221
LM
69842014-06-18 Don Breazeal <donb@codesourcery.com>
6985
6986 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6987 Deleted procedure.
6988 (explicit_fork_parent_follow): Deleted procedure.
6989 (explicit_fork_child_follow): Deleted procedure.
6990 (test_follow_fork): New procedure.
6991 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 6992 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
6993 procedure calls.
6994
0fc05997
YQ
69952014-06-17 Yao Qi <yao@codesourcery.com>
6996
6997 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6998 CP1252.
6999
70795c52
LM
70002014-06-17 Luis Machado <lgustavo@codesourcery.com>
7001
7002 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7003 Initialize ptr and S explicitly.
7004 (skip_type_update_when_not_use_rtti_test): Likewise.
7005
6be47f0c
KS
70062014-06-16 Keith Seitz <keiths@redhat.com>
7007
7008 PR mi/15863
7009 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7010 the inferior is started.
7011
d03de421
PA
70122014-06-16 Pedro Alves <palves@redhat.com>
7013
7014 * gdb.base/break-main-file-remove-fail.c: New file.
7015 * gdb.base/break-main-file-remove-fail.exp: New file.
7016 * gdb.base/break-unload-file.exp: Use build_executable instead of
7017 prepare_for_testing.
7018 (test_break): New parameter "initial_load". Handle it.
7019 (top level): Add initial_load cmdline/file axis.
7020
f9579b99
TT
70212014-06-12 Tom Tromey <tromey@redhat.com>
7022
7023 * gdb.base/completion.exp: Don't use directory name in test.
7024
3657956b
GB
70252014-06-09 Gary Benson <gbenson@redhat.com>
7026
7027 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7028 separate the always-available ANSI-standard signals from the
7029 signals that require checking.
7030 (main): Likewise.
7031 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7032 Likewise.
7033 (main): Likewise.
7034
4186eb54
KS
70352014-06-07 Keith Seitz <keiths@redhat.com>
7036
7037 Revert:
7038 PR c++/16253
7039 * gdb.cp/var-tag.cc: New file.
7040 * gdb.cp/var-tag.exp: New file.
7041 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7042 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7043 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7044 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7045
25326a28 70462014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
7047
7048 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7049
829155c9
PA
70502014-06-06 Pedro Alves <palves@redhat.com>
7051
7052 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7053 in target debug output instead of looking at RSP packets,
7054 disabling the test on any target that uses hardware stepping.
7055 Update comments.
7056
61c8d22e
PA
70572014-06-06 Pedro Alves <palves@redhat.com>
7058
7059 * gdb.base/break-unload-file.exp: Fix typo.
7060
d9a47287
YQ
70612014-06-06 Yao Qi <yao@codesourcery.com>
7062
7063 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7064 from "jit_function" to "^jit_function".
7065
e5e01dbf
YQ
70662014-06-06 Yao Qi <yao@codesourcery.com>
7067
7068 * gdb.base/async.c (foo): Add one statement.
7069 * gdb.base/async.exp: Get the next instruction address and
7070 match the output of "nexti" by instruction address. Match
7071 the hex address in the output of "finish".
7072
73ba372c
GB
70732014-06-06 Gary Benson <gbenson@redhat.com>
7074
7075 * gdb.base/call-signals.c: Remove preprocessor conditionals
7076 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7077 SIGSEGV and SIGTERM.
7078 * gdb.base/sigall.c: Likewise.
7079 * gdb.base/unwindonsignal.c: Likewise.
7080 * gdb.reverse/sigall-reverse.c: Likewise.
7081
831517df
YQ
70822014-06-06 Yao Qi <yao@codesourcery.com>
7083
7084 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7085 readable, skip the test.
7086
b8b91e98
YQ
70872014-06-06 Yao Qi <yao@codesourcery.com>
7088
7089 * gdb.threads/staticthreads.c (thread_function): Move the line
7090 setting breakpoint on forward.
7091 * gdb.threads/staticthreads.exp: Update comments.
7092
fb934770
LC
70932014-06-05 Ludovic Courtès <ludo@gnu.org>
7094
7095 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7096 "history-append! type error".
7097
6ef284bd
SM
70982014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7099
7100 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7101 erroneous dprintf expected input.
7102
a872e241
DE
71032014-06-04 Doug Evans <xdje42@gmail.com>
7104
7105 * gdb.guile/scm-generics.exp: Delete.
7106
16f691fb
DE
71072014-06-04 Doug Evans <xdje42@gmail.com>
7108
7109 * gdb.guile/scm-breakpoint.exp: Update.
7110 Add tests for breakpoint registration.
7111
012370f6
TT
71122014-06-04 Tom Tromey <tromey@redhat.com>
7113
7114 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7115 VLA-in-union.
7116 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7117 inner_vla_struct, vla_union types. Initialize objects of those
7118 types and compute their sizes.
7119
9f5a4cef
HZ
71202014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7121 Hui Zhu <hui@codesourcery.com>
7122
7123 * gdb.base/fileio.exp: Add test for shell not available as well as
7124 available.
7125 * gdb.base/fileio.c (test_system): Check for shell twice.
7126
90a45c4d
YQ
71272014-06-04 Yao Qi <yao@codesourcery.com>
7128
7129 * gdb.base/auto-connect-native-target.exp: Remove redundant
7130 space from the regexp pattern.
7131
70017e41
YQ
71322014-06-04 Yao Qi <yao@codesourcery.com>
7133
7134 * gdb.base/default.exp: Replace "child" with "native" in
7135 regexp pattern.
7136
883964a7
SC
71372014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7138
7139 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7140 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7141 * gdb.python/py-xmethods.py: Python script supporting the
7142 new testcase and tests.
7143
ef370185
JB
71442014-06-03 Joel Brobecker <brobecker@adacore.com>
7145 Pedro Alves <palves@redhat.com>
7146
7147 PR breakpoints/17000
7148 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7149 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7150
1e2ccb61
BM
71512014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7152
7153 * gdb.base/subst.exp: Add tests to verify partial path matching
7154 output.
7155
c6ec5ab2
PA
71562014-06-03 Pedro Alves <palves@redhat.com>
7157
7158 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7159 target that doesn't use software single-stepping.
7160
835c559f
PA
71612014-06-03 Pedro Alves <palves@redhat.com>
7162
7163 PR breakpoints/17000
7164 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7165 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7166
06eb1586
DE
71672014-06-02 Doug Evans <xdje42@gmail.com>
7168
7169 * gdb.guile/scm-parameter.exp: New file.
7170
e698b8c4
DE
71712014-06-02 Doug Evans <xdje42@gmail.com>
7172
7173 * gdb.guile/scm-cmd.c: New file.
7174 * gdb.guile/scm-cmd.exp: New file.
7175
ded03782
DE
71762014-06-02 Doug Evans <xdje42@gmail.com>
7177
7178 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7179 pretty-printer lookup.
7180 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7181 (make-pp_s-printer): Call it.
7182 (make-pretty-printer-from-dict): New function.
7183 (lookup-pretty-printer-maker-from-dict): New function.
7184 (*pretty-printer*): Simplify.
7185 (make-objfile-pp_s-printer): New function.
7186 (install-objfile-pretty-printers!): New function.
7187 (make-progspace-pp_s-printer): New function.
7188 (install-progspace-pretty-printers!): New function.
7189 * gdb.guile/scm-progspace.c: New file.
7190 * gdb.guile/scm-progspace.exp: New file.
7191
41fac0cf
PA
71922014-06-02 Pedro Alves <palves@redhat.com>
7193
7194 * gdb.base/dprintf-bp-same-addr.c: New file.
7195 * gdb.base/dprintf-bp-same-addr.exp: New file.
7196
96ae5695
EBM
71972014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7198
7199 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7200 * gdb.arch/powerpc-power.s: Likewise.
7201
da02b3a8
JB
72022014-06-02 Joel Brobecker <brobecker@adacore.com>
7203
7204 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7205
c72b2e7b
YQ
72062014-06-01 Yao Qi <yao@codesourcery.com>
7207
7208 * gdb.base/watchpoint.exp (test_watch_location): Check null
7209 pointer can be dereferenced. If not, do the test, otherwise
7210 skip it.
7211
53e8a631
AB
72122014-05-30 Andrew Burgess <aburgess@broadcom.com>
7213
7214 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7215 results.
7216 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7217
938f0e2f
AB
72182014-05-30 Andrew Burgess <aburgess@broadcom.com>
7219
7220 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7221 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7222 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7223 * gdb.arch/amd64-invalid-stack-top.c: New file.
7224 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7225
9ba6657a
PA
72262014-05-30 Pedro Alves <palves@redhat.com>
7227
7228 PR breakpoints/17000
7229 * gdb.base/sss-bp-on-user-bp.c: New file.
7230 * gdb.base/sss-bp-on-user-bp.exp: New file.
7231
522c09bf
DB
72322014-05-30 David Blaikie <dblaikie@gmail.com>
7233
7234 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7235 gnu_inline semantics via attribute.
7236 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7237 source explicitly specifies the required semantics.
7238
bf4ef81e
MR
72392014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7240
7241 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7242
329ea579
PA
72432014-05-29 Pedro Alves <palves@redhat.com>
7244 Tom Tromey <tromey@redhat.com>
7245
7246 * gdb.base/async-shell.exp: Don't enable target-async.
7247 * gdb.base/async.exp
7248 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7249 parameter. Adjust.
7250 (top level): Don't test with "target-async".
7251 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7252 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7253 * gdb.base/inferior-died.exp: Don't enable target-async.
7254 * gdb.base/interrupt-noterm.exp: Likewise.
7255 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7256 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7257 * gdb.mi/mi-nonstop.exp: Likewise.
7258 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7259 * gdb.mi/mi-nsintrall.exp: Likewise.
7260 * gdb.mi/mi-nsmoribund.exp: Likewise.
7261 * gdb.mi/mi-nsthrexec.exp: Likewise.
7262 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7263 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7264 * gdb.python/py-evsignal.exp: Don't enable target-async.
7265 * gdb.python/py-evthreads.exp: Likewise.
7266 * gdb.python/py-prompt.exp: Likewise.
7267 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7268 * gdb.server/solib-list.exp: Don't enable target-async.
7269 * gdb.threads/thread-specific-bp.exp: Likewise.
7270 * lib/mi-support.exp: Adjust to use mi-async.
7271
fd664c91
PA
72722014-05-29 Pedro Alves <palves@redhat.com>
7273
7274 PR gdb/13860
7275 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7276 reason, even in sync mode.
7277
251bde03
PA
72782014-05-29 Pedro Alves <palves@redhat.com>
7279 Hui Zhu <hui@codesourcery.com>
7280
7281 PR PR15693
7282 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7283 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7284 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7285 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7286
7f3c0343
JB
72872014-05-28 Joel Brobecker <brobecker@adacore.com>
7288
7289 * config/monitor.exp (gdb_target_monitor): Replace use of
7290 "set remotebaud" by "set serial baud".
7291
b2715b27
AW
72922014-05-26 Andy Wingo <wingo@igalia.com>
7293
7294 * gdb.guile/scm-breakpoint.exp:
7295 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7296 properties instead of gdb-object-properties.
7297
498a4489
YQ
72982014-05-26 Yao Qi <yao@codesourcery.com>
7299
7300 * gdb.server/no-thread-db.exp: Specify source file name
7301 explicitly when setting a breakpoint.
7302
589fdceb
MM
73032014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7304
7305 * gdb.btrace/vdso.c: New.
7306 * gdb.btrace/vdso.exp: New.
7307
e9089e05
MM
73082014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7309
7310 * gdb.base/gcore.exp (capture_command_output): Move ...
7311 * lib/gdb.exp (capture_command_output): ... here.
7312
67b5c0c1
MM
73132014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7314
7315 * gdb.btrace/data.exp: Test memory access during btrace replay.
7316
a2199296
SM
73172014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7318
7319 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7320
17b2616c
PA
73212014-05-21 Pedro Alves <palves@redhat.com>
7322
7323 PR gdb/13860
7324 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7325 (top level): Test that output related to execution commands is
7326 sent to the console with CLI commands, but not with MI commands.
7327 Test that breakpoint events are always mirrored to the console.
7328 Also expect the new source line to be output after a "next" in
7329 async mode too. Make it a pass/fail test.
7330 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7331 output.
7332 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7333
5166082f
PA
73342014-05-21 Pedro Alves <palves@redhat.com>
7335
7336 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7337 Use them to test variations of "list" after reaching a breakpoint.
7338 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7339 Test "list" with listsize 10 after reaching a breakpoint.
7340 * gdb.python/python.exp (decode_line current location line
7341 number): Adjust expected line number.
7342
2f25d70f
SM
73432014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7344
7345 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7346 behavior for $args, pass it directly to "run".
7347
ff604a67
MR
73482014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7349
7350 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7351 30000 to 65536.
7352
6a3cb8e8
PA
73532014-05-21 Pedro Alves <palves@redhat.com>
7354
7355 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7356 auto-connect-native-target off".
7357 * gdb.base/auto-connect-native-target.c: New file.
7358 * gdb.base/auto-connect-native-target.exp: New file.
7359
4ebfc96e
PA
73602014-05-21 Pedro Alves <palves@redhat.com>
7361
7362 * gdb.base/default.exp: Test "target native" instead of "target
7363 child".
7364
36d46afb
MW
73652014-05-21 Mark Wielaard <mjw@redhat.com>
7366
7367 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7368
5876f503
JK
73692014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7370
7371 Fix TLS access for -static -pthread.
7372 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7373 <HAVE_TLS> (thread_function, main): Initialize it.
7374 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7375 Add clean_restart.
7376 <$have_tls != "">: Check TLSVAR.
7377
0256a6ac
PA
73782014-05-21 Pedro Alves <palves@redhat.com>
7379
7380 * gdb.base/dcache-line-read-error.c: New.
7381 * gdb.base/dcache-line-read-error.exp: New.
7382
936d2992
PA
73832014-05-20 Pedro Alves <palves@redhat.com>
7384
7385 * gdb.base/compare-sections.c: New file.
7386 * gdb.base/compare-sections.exp: New file.
7387
802e8e6d
PA
73882014-05-20 Pedro Alves <palves@redhat.com>
7389
7390 * gdb.base/break-idempotent.c: New file.
7391 * gdb.base/break-idempotent.exp: New file.
7392
e59fa00f
MM
73932014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7394
7395 * gdb.btrace/nohist.exp: New.
7396
8b696e31
YQ
73972014-05-20 Yao Qi <yao@codesourcery.com>
7398
7399 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7400 gdb.reverse directory and gdb_reverse_timeout exists in board
7401 setting.
7402 * README: Document gdb_reverse_timeout.
7403
73c9764f
YQ
74042014-05-20 Yao Qi <yao@codesourcery.com>
7405
7406 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7407 'test_file_name'. Treat args as a string instead of a list.
7408 (gdb_init): Rename argument 'args' by 'test_file_name'.
7409
f1f4348a
JK
74102014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7411
7412 * gdb.arch/powerpc-power.exp: New file.
7413 * gdb.arch/powerpc-power.s: New file.
7414
0dbe70ce
DE
74152014-05-16 Doug Evans <dje@google.com>
7416
7417 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
7418 * gdb.base/completion.exp: Check that all expected files exist
7419 before doing file completion.
0dbe70ce 7420
8d551b02
DE
74212014-05-16 Doug Evans <dje@google.com>
7422
7423 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7424 Update.
7425 (do_syscall_tests_without_xml): Update.
7426
73eb7709
PA
74272014-05-16 Pedro Alves <palves@redhat.com>
7428
7429 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7430 instead of "unknown output after running".
7431
3fae92fc
YQ
74322014-05-16 Yao Qi <yao@codesourcery.com>
7433
7434 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7435 file1.txt from host at the end.
7436 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7437
c2b2ccc5
DE
74382014-05-15 Doug Evans <dje@google.com>
7439
7440 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7441 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7442 loading file. Add test for TU lookup.
7443
8c217a4b
SM
74442014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7445
7446 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7447 calling "-exec-arguments" or "set args" before running the
7448 inferior.
7449
3deb39c6
SM
74502014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7451
7452 * lib/mi-support.exp (mi_expect_stop): Expect message for
7453 inferiors that exit with non-zero exit code.
7454
71a79f8c
YQ
74552014-05-14 Yao Qi <yao@codesourcery.com>
7456
7457 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7458 match absolute path on remote host.
7459 (test_file_list_exec_source_files): Remove "/" from the
7460 pattern.
7461
f23fcd46
YQ
74622014-05-14 Yao Qi <yao@codesourcery.com>
7463
7464 * boards/local-remote-host-notty.exp (${board}_file): New
7465 proc.
7466
9404b58f
KM
74672014-05-07 Kyle McMartin <kyle@redhat.com>
7468
7469 Pushed by Joel Brobecker <brobecker@adacore.com>.
7470 * gdb.arch/aarch64-atomic-inst.c: New file.
7471 * gdb.arch/aarch64-atomic-inst.exp: New file.
7472
5e45f04c
YQ
74732014-05-07 Yao Qi <yao@codesourcery.com>
7474
7475 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7476 in current context" too.
7477
c888a17d
KS
74782014-05-05 Keith Seitz <keiths@redhat.com>
7479
7480 * gdb.linespec/ls-dollar.exp: Add test for linespec
7481 file:convenience_variable.
7482
290a839c
YQ
74832014-05-05 Yao Qi <yao@codesourcery.com>
7484
7485 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7486 traceframes into tfile and ctf trace files. Read data from
7487 trace file and test collected data.
7488 (gdb_collect_locals_test): Likewise.
7489 (gdb_unavailable_registers_test): Likewise.
7490 (gdb_unavailable_floats): Likewise.
7491 (gdb_collect_globals_test): Likewise.
7492 (top-level): Append "ctf" to trace_file_targets if GDB
7493 supports.
7494
b5262cd0
YQ
74952014-05-05 Yao Qi <yao@codesourcery.com>
7496
7497 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7498 code to ...
7499 (gdb_collect_args_test_1): ... it. New proc.
7500 (gdb_collect_locals_test): Move some code to ...
7501 (gdb_collect_locals_test_1): ... it. New proc.
7502 (gdb_unavailable_registers_test): Move some code to ...
7503 (gdb_unavailable_registers_test_1): ... it. New proc.
7504 (gdb_unavailable_floats): Move some code to ...
7505 (gdb_unavailable_floats_1): ... it. New proc.
7506
30a1e6cc
SDJ
75072014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7508
7509 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7510 probes to test for bitness recognition.
7511 * gdb.arch/amd64-stap-optional-prefix.exp
7512 (test_probe_value_without_reg): New procedure.
7513 Add code to test for different kinds of bitness.
7514
f33da99a
SDJ
75152014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7516
7517 PR breakpoints/16889
7518 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7519 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7520
5b80f00d
PA
75212014-05-01 Pedro Alves <palves@redhat.com>
7522
7523 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7524 gdb_file_cmd if no file is specified.
7525 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7526 last_loaded_file to set the remote exec-file.
7527
f8c2a73c
PA
75282014-05-01 Pedro Alves <palves@redhat.com>
7529
7530 * boards/local-remote-host.exp: New file.
7531
be6e8ac7
PA
75322014-05-01 Pedro Alves <palves@redhat.com>
7533
7534 * boards/local-remote-host.exp: Rename to ...
7535 * boards/local-remote-host-notty.exp: ... this.
7536
cac0dc8f
JB
75372014-04-28 Joel Brobecker <brobecker@adacore.com>
7538
7539 * gdb.ada/dyn_arrayidx: New testcase.
7540
9730e6cc
YQ
75412014-04-26 Yao Qi <yao@codesourcery.com>
7542
7543 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7544 and compute the length of function main. Save it in
7545 $main_length.
7546 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7547 (top-level): Use gdb_compile to compile objects into
7548 executable and restart GDB. Remove invocation to
7549 prepare_for_testing.
7550
7ae1a6a6
PA
75512014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7552 Pedro Alves <palves@redhat.com>
7553
7554 PR server/16255
7555 * gdb.multi/multi-attach.c: New file.
7556 * gdb.multi/multi-attach.exp: New file.
7557
4082afcc
PA
75582014-04-25 Pedro Alves <palves@redhat.com>
7559
7560 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7561 user.
7562 (top level): Test that "set remote conditional-breakpoints-packet
7563 off" works as intended.
7564 * gdb.base/dprintf.exp: Test that "set remote
7565 breakpoint-commands-packet off" works as intended.
7566 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7567 New function.
7568 (top level): Call it.
7569 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7570 remote fast-tracepoints-packet off" works as intended.
7571 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7572 * lib/gdb.exp (gdb_is_target_remote): ... here.
7573
2abc3f8d
DB
75742014-04-24 David Blaikie <dblaikie@gmail.com>
7575
7576 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7577 ensure clang would not discard them.
7578 * gdb.base/gdbvars.c: Ditto.
7579 * gdb.base/memattr.c: Ditto.
7580 * gdb.base/whatis.c: Ditto.
7581 * gdb.python/py-prettyprint.c: Ditto.
7582 * gdb.trace/actions.c: Ditto.
7583 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7584 ensure clang would not discard it.
7585
bfd39632
DB
75862014-04-24 David Blaikie <dblaikie@gmail.com>
7587
7588 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7589 clang to emit the full definition of type required by the test
7590 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7591
22842ff6
DB
75922014-04-24 David Blaikie <dblaikie@gmail.com>
7593
7594 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7595 coax Clang into emitting the definition of the type.
7596 * gdb.cp/pr10728-x.h (y): Ditto.
7597 * gdb.cp/pr10728-y.cc (y): Ditto.
7598
c2e827ad
DB
75992014-04-24 David Blaikie <dblaikie@gmail.com>
7600
7601 * gdb.base/label.exp: XFAIL label related tests under Clang.
7602 * gdb.cp/cplabel.exp: Ditto.
7603 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7604 under Clang those using labels.
7605
4c2d33e7
YQ
76062014-04-25 Yao Qi <yao@codesourcery.com>
7607
7608 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7609 double_label.
7610 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7611 partial_label and double_label.
7612
56083b99
DB
76132014-04-24 David Blaikie <dblaikie@gmail.com>
7614
7615 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7616
25d4e99d
DB
76172014-04-24 David Blaikie <dblaikie@gmail.com>
7618
7619 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7620 of the function to work across GCC and Clang.
7621 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7622 pointer types (const void ** const V void **).
7623
01f9f808
MS
76242014-04-24 Michael Sturm <michael.sturm@mintel.com>
7625 Walfred Tedeschi <walfred.tedeschi@intel.com>
7626
7627 * Makefile.in (EXECUTABLES): Added i386-avx512.
7628 * gdb.arch/i386-avx512.c: New file.
7629 * gdb.arch/i386-avx512.exp: Likewise.
7630
4b48d439
KS
76312014-04-23 Keith Seitz <keiths@redhat.com>
7632
7633 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7634 (mi_make_breakpoint_table): New procedure.
7635 (mi_create_breakpoint): Use mi_make_breakpoint
7636 and return the result.
7637 (mi_make_breakpoint): New procedure.
7638 (mi_build_kv_pairs): New procedure.
7639
7640 * gdb.mi/mi-break.exp: Remove unused globals,
7641 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7642 All callers updated.
7643 * gdb.mi/mi-dprintf.exp: Use variable to track command
7644 number.
7645 Update all callers of mi_create_breakpoint and use
7646 mi_make_breakpoint_table.
7647 Remove any unused global variables.
7648 * gdb.mi/mi-nonstop.exp: Likewise.
7649 * gdb.mi/mi-nsintrall.exp: Likewise.
7650 * gdb.mi/mi-nsmoribund.exp: Likewise.
7651 * gdb.mi/mi-nsthrexec.exp: Likewise.
7652 * gdb.mi/mi-reverse.exp: Likewise.
7653 * gdb.mi/mi-simplerun.exp: Likewise.
7654 * gdb.mi/mi-stepn.exp: Likewise.
7655 * gdb.mi/mi-syn-frame.exp: Likewise.
7656 * gdb.mi/mi-until.exp: Likewise.
7657 * gdb.mi/mi-var-cp.exp: Likewise.
7658 * gdb.mi/mi-var-display.exp: Likewise.
7659 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7660 * gdb.mi/mi2-var-child.exp: Likewise.
7661 * gdb.mi/mi-vla-c99.exp: Likewise.
7662 * lib/mi-support.exp: Likewise.
7663
7664 From Ian Lance Taylor <iant@cygnus.com>:
7665 * lib/gdb.exp (parse_args): New procedure.
7666
08351840
PA
76672014-04-23 Pedro Alves <palves@redhat.com>
7668
7669 * gdb.base/break-unload-file.c: New file.
7670 * gdb.base/break-unload-file.exp: New file.
7671 * gdb.base/sym-file-lib.c (baz): New function.
7672 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7673 field.
7674 (load): Store the segment's mapped size.
7675 (unload): New function.
7676 (unload_shlib): New function.
7677 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7678 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7679 set a breakpoint at baz, and call it.
7680 * gdb.base/sym-file.exp: New tests for stale breakpoint
7681 instructions.
7682
076855f9
PA
76832014-04-23 Pedro Alves <palves@redhat.com>
7684
7685 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7686 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7687 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7688 * gdb.base/hbreak-unmapped.c: New file.
7689 * gdb.base/hbreak-unmapped.exp: New file.
7690 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7691 * lib/gdb.exp (gdb_is_target_remote): ... here.
7692
483805cf
PA
76932014-04-22 Pedro Alves <palves@redhat.com>
7694
7695 * gdb.base/consecutive-step-over.c: New file.
7696 * gdb.base/consecutive-step-over.exp: New file.
7697
06d97543
PA
76982014-04-22 Pedro Alves <palves@redhat.com>
7699
7700 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7701 instead of send_gdb/gdb_expect.
7702
b4429ea2
YQ
77032014-04-22 Yao Qi <yao@codesourcery.com>
7704
7705 * lib/trace-support.exp (generate_tracefile): New procedure.
7706 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7707 return 0.
7708 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7709 if generate_tracefile returns 1.
7710
51d48146
PA
77112014-04-18 Tom Tromey <palves@redhat.com>
7712 Pedro alves <tromey@redhat.com>
7713
7714 PR backtrace/15558
7715 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7716 with a backtrace limit.
7717 * gdb.python/py-frame-inline.exp: Test running to an inline
7718 function with a backtrace limit, and printing the newest frame.
7719 * gdb.python/py-frame-inline.c (main): Call f.
7720
bd1dce5f
MS
77212014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7722
7723 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7724
40d1a503
MS
77252014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7726
7727 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7728 Drop prefix from unsupported source file path.
7729
389b98f7
YQ
77302014-04-17 Yao Qi <yao@codesourcery.com>
7731
7732 * lib/gdb.exp (with_target_charset): New proc.
7733 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7734 with_target_charset.
7735 (test_print_strings): Likewise.
7736 (test_repeat_bytes): Likewise.
7737 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7738 for some tests.
7739
22869d73
KS
77402014-04-16 Keith Seitz <keiths@redhat.com>
7741
7742 PR gdb/15827
7743 * gdb.dwarf2/corrupt.c: New file.
7744 * gdb.dwarf2/corrupt.exp: New file.
7745
c4f87ca6
KS
77462014-04-16 Keith Seitz <keiths@redhat.com>
7747
7748 PR c++/16597
7749 * gdb.cp/namelessclass.cc: New file.
7750 * gdb.cp/namelessclass.exp: New file.
7751 * gdb.cp/namelessclass.S: New file.
7752
ab19de87
DE
77532014-04-16 Doug Evans <dje@google.com>
7754
7755 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7756 Add comment.
7757 (gdbserver_default_get_comm_port): New function.
7758 (gdbserver_start): Check if board file provided
7759 "gdbserver,get_comm_port" and use it if so.
7760 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7761 (gdb,socketport): Set to "stdio".
7762 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7763 (stdio_gdbserver_template): Delete.
7764 (${board}_get_remote_address): Update.
7765 (${board}_build_remote_cmd): Delete.
7766 (${board}_get_comm_port): New function.
7767 (${board}_spawn): Update.
7768 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7769 Delete.
7770 (${board}_get_remote_address): Update.
7771 (${board}_get_comm_port): New function.
7772
fc98a809
AB
77732014-04-16 Andrew Burgess <aburgess@broadcom.com>
7774
7775 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7776 appearing in any order.
7777
87fd9e6e
DE
77782014-04-15 Doug Evans <dje@google.com>
7779
7780 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7781 uninitialized value of "description".
7782
099fc3ea
KS
77832014-04-15 Keith Seitz <keiths@redhat.com>
7784
7785 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7786 Remove unused globals.
7787 (test_running_the_program): Likewise.
7788 (test_controlled_execution): Likewise.
7789 (test_controlling_breakpoints): Likewise.
7790 (test_program_termination): Likewise.
7791
5da151d4
KS
77922014-04-15 Keith Seitz <keiths@redhat.com>
7793
7794 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7795 unused globals.
7796 (test_rbreak_creation_and_listing): Likewise.
7797 (test_ignore_count): Likewise.
7798 (test_error): Likewise.
7799
35e5d2f0
PA
78002014-04-15 Pedro Alves <palves@redhat.com>
7801
7802 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7803 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7804 sym-file-loader.c.
7805 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7806 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7807 to sym-file-loader.c.
7808 (struct library): Forward declare.
7809 (load_shlib, lookup_function): Change prototypes.
7810 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7811 (translate_offset): Remove declarations.
7812 (get_text_addr): New declaration.
7813 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7814 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7815 sym-file-loader.h.
7816 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7817 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7818 here from sym-file-loader.h.
7819 (struct library): New structure.
7820 (load_shlib, lookup_function): Change prototypes and adjust to
7821 work with a struct library.
7822 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7823 (translate_offset): Make static.
7824 (get_text_addr): New function.
7825 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7826
eb4c1710
PA
78272014-04-15 Pedro Alves <palves@redhat.com>
7828
7829 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7830
2d1baf52
PA
78312014-04-15 Pedro Alves <palves@redhat.com>
7832
7833 * gdb.base/sym-file-loader.c: Include <limits.h>.
7834 (SELF_LINK): New define.
7835 (get_origin): New function.
7836 (load_shlib): Use it.
7837 * gdb.base/sym-file.exp: Don't early return if the target is
7838 remote. Use runto_main, and issue fail is that fails. Use
7839 gdb_load_shlibs.
7840 (shlib_name): Delete.
7841 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7842
7dd6df01
PA
78432014-04-15 Pedro Alves <palves@redhat.com>
7844
7845 * gdb.base/sym-file.exp: Remove regex characters from test
7846 message. Don't refer to breakpoint numbers in test messages.
7847
b50c8614
KS
78482014-04-14 Keith Seitz <keiths@redhat.com>
7849
7850 PR c++/16253
7851 * gdb.cp/var-tag.cc: New file.
7852 * gdb.cp/var-tag.exp: New file.
7853 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7854 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7855 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7856 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7857
3d567982
TT
78582014-04-14 Tom Tromey <tromey@redhat.com>
7859
7860 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7861 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7862 type.
7863 * gdb.cp/enum-class.exp: New file.
7864 * gdb.cp/enum-class.cc: New file.
7865
0626fc76
TT
78662014-04-14 Tom Tromey <tromey@redhat.com>
7867
7868 * gdb.dwarf2/enum-type.exp: New file.
7869
dca325b3
SA
78702014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7871
7872 * gdb.mi/mi-vla-c99.exp: New file.
7873 * gdb.mi/vla.c: New file.
7874
5854b38a
SA
78752014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7876
7877 * gdb.base/vla-datatypes.c: New file.
7878 * gdb.base/vla-datatypes.exp: New file.
7879
463bb957
SA
78802014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7881
7882 * gdb.base/vla-ptr.c: New file.
7883 * gdb.base/vla-ptr.exp: New file.
7884
3dd170be
SA
78852014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7886
7887 * gdb.dwarf2/count.exp: New file.
7888
5ecaaa66
SA
78892014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7890
7891 * gdb.base/vla-sideeffect.c: New file.
7892 * gdb.base/vla-sideeffect.exp: New file.
7893
41f1ada5
DB
78942014-04-14 David Blaikie <dblaikie@gmail.com>
7895
7896 * gdb.mi/non-stop.c: Add return value for non-void function return
7897 statement.
7898 * gdb.threads/staticthreads.c: Ditto.
7899
0be03e84
DE
79002014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7901 Doug Evans <xdje42@gmail.com>
7902
7903 * gdb.guile/scm-value.c: Improve test case.
7904 * gdb.guile/scm-value.exp: Add new test.
7905
f180a1fb
DB
79062014-04-11 David Blaikie <dblaikie@gmail.com>
7907
7908 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7909 override Clang's default.
7910
6b662e19
JB
79112014-04-11 Joel Brobecker <brobecker@adacore.com>
7912
7913 Revert the following changes (regressions):
7914
7915 * gdb.base/vla-sideeffect.c: New file.
7916 * gdb.base/vla-sideeffect.exp: New file.
7917
7918 * gdb.dwarf2/count.exp: New file.
7919
7920 * gdb.base/vla-multi.c: New file.
7921 * gdb.base/vla-multi.exp: New file.
7922
7923 * gdb.base/vla-ptr.c: New file.
7924 * gdb.base/vla-ptr.exp: New file.
7925
7926 * gdb.base/vla-datatypes.c: New file.
7927 * gdb.base/vla-datatypes.exp: New file.
7928
7929 * gdb.mi/mi-vla-c99.exp: New file.
7930 * gdb.mi/vla.c: New file.
7931
245a5f0b
KS
79322014-04-11 Keith Seitz <keiths@redhat.com>
7933
7934 PR c++/16675
7935 * gdb.cp/cpsizeof.exp: New file.
7936 * gdb.cp/cpsizeof.cc: New file.
7937
58a84dcf
SA
79382014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7939
191a8a90
JB
7940 * gdb.mi/mi-vla-c99.exp: New file.
7941 * gdb.mi/vla.c: New file.
58a84dcf 7942
c8655f75
SA
79432014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7944
7945 * gdb.base/vla-datatypes.c: New file.
7946 * gdb.base/vla-datatypes.exp: New file.
7947
024e13b4
SA
79482014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7949
7950 * gdb.base/vla-ptr.c: New file.
7951 * gdb.base/vla-ptr.exp: New file.
7952
1a237e0e
SA
79532014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7954
7955 * gdb.base/vla-multi.c: New file.
7956 * gdb.base/vla-multi.exp: New file.
7957
504f3432
SA
79582014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7959
7960 * gdb.dwarf2/count.exp: New file.
7961
3bce8237
SA
79622014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7963
191a8a90
JB
7964 * gdb.base/vla-sideeffect.c: New file.
7965 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 7966
322f9c21
YQ
79672014-04-11 Yao Qi <yao@codesourcery.com>
7968
7969 * gdb.base/completion.exp: Check file exists before running tests
7970 on file completion.
7971
d708bcd1
PA
79722014-04-10 Pedro Alves <palves@redhat.com>
7973
7974 * gdb.base/cond-eval-mode.c: New file.
7975 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7976 prepare_for_testing to build the new file. Check result of
7977 runto_main.
7978 (test_break, test_watch): New procedures.
7979 (top level): Use them.
7980
ae1d2761
PM
79812014-04-08 Pierre Muller <muller@sourceware.org>
7982
7983 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7984 Ctrl-V use for mingw hosts.
7985
7af389b8
SC
79862014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7987
7988 * gdb.python/py-value.c: Improve test case.
7989 * gdb.python/py-value.exp: Add new test.
7990
5e703181
DE
79912014-04-07 David Blaikie <dblaikie@gmail.com>
7992
7993 * lib/compiler.c: Identify the clang compiler.
7994 * lib/compiler.cc: Ditto.
7995
9810b410
YQ
79962014-04-03 Yao Qi <yao@codesourcery.com>
7997
7998 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7999
98d1b8dc
AB
80002014-04-01 Anton Blanchard <anton@samba.org>
8001
8002 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8003 messages unique.
8004
3114cea1
AB
80052014-04-01 Anton Blanchard <anton@samba.org>
8006
8007 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8008 prepare_for_testing.
8009
62f7182c
AB
80102014-04-01 Anton Blanchard <anton@samba.org>
8011
8012 * gdb.arch/ppc64-atomic-inst.c: Remove.
8013 * gdb.arch/ppc64-atomic-inst.S: New file.
8014 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8015
770e7fc7
DE
80162014-03-31 Doug Evans <dje@google.com>
8017
8018 * gdb.base/print-symbol-loading-lib.c: New file.
8019 * gdb.base/print-symbol-loading-main.c: New file.
8020 * gdb.base/print-symbol-loading.exp: New file.
8021
46e2bafa
YQ
80222014-03-31 Yao Qi <yao@codesourcery.com>
8023
8024 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8025
8776cfe9
JB
80262014-03-28 Joel Brobecker <brobecker@adacore.com>
8027
8028 * gdb.ada/mi_dyn_arr: New testcase.
8029
5d1ef361
DE
80302014-03-27 Doug Evans <dje@google.com>
8031
8032 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8033
b5bee914
YQ
80342014-03-27 Yao Qi <yao@codesourcery.com>
8035
8036 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8037 if target is nios2-*-*.
8038
0d4d0e77
YQ
80392014-03-26 Yao Qi <yao@codesourcery.com>
8040
8041 * lib/gdb.exp (readline_is_used): New proc.
8042 * gdb.base/completion.exp: Move tests on command complete up.
8043 Skip the rest of tests if readline is not used.
8044 * gdb.ada/complete.exp: Skp the test if readline is not
8045 used.
8046 * gdb.base/filesym.exp: Likewise.
8047 * gdb.base/macscp.exp: Likewise.
8048 * gdb.base/readline-ask.exp: Likewise.
8049 * gdb.base/readline.exp: Likewise.
8050 * gdb.python/py-cmd.exp: Likewise.
8051 * gdb.trace/tfile.exp: Likewise.
8052
29361eee
YQ
80532014-03-26 Yao Qi <yao@codesourcery.com>
8054
8055 * gdb.base/macscp.exp: Fix code format issues.
8056
bc9a5525
UW
80572014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8058
8059 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8060 * gdb.asm/powerpc64le.inc: New file.
8061
d3839ede
PA
80622014-03-25 Pedro Alves <palves@redhat.com>
8063 Doug Evans <dje@google.com>
8064
8065 * gdb.base/source-execution.c: New file.
8066 * gdb.base/source-execution.exp: New file.
8067 * gdb.base/source-execution.gdb: New file.
8068
01672a57
DE
80692014-03-24 Doug Evans <dje@google.com>
8070
8071 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8072 using fission.
8073
88bbeca9
HZ
80742014-03-24 Hui Zhu <hui@codesourcery.com>
8075 Pedro Alves <palves@redhat.com>
8076
8077 PR breakpoints/16101
8078 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8079 test pass/fail messages. Detect missing support for dprintf when
8080 breakpoints are actually inserted.
8081 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8082 breakpoints are actually inserted.
8083 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8084 fails.
8085
d2348791
JK
80862014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8087
8088 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8089
feef67ab
DE
80902014-03-22 Doug Evans <xdje42@gmail.com>
8091
8092 * gdb.python/python.exp (python not supported): Verify multi-line
8093 python command issues an error.
25d743f9 8094 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 8095 guile command issues an error.
feef67ab 8096
ecebef6a
MR
80972014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8098
8099 * gdb.threads/thread-specific.exp: Handle the lack of usable
8100 $this_breakpoint and $this_thread.
8101
ccdd1909
HZ
81022014-03-21 Hui Zhu <hui@codesourcery.com>
8103
8104 * gdb.base/attach.exp (do_command_attach_tests): New.
8105
beb460e8
PA
81062014-03-20 Tom Tromey <tromey@redhat.com>
8107 Pedro Alves <palves@redhat.com>
8108
8109 PR cli/15718
8110 * gdb.base/condbreak-call-false.c: New file.
8111 * gdb.base/condbreak-call-false.exp: New file.
8112
40acf43a
PA
81132014-03-20 Pedro Alves <palves@redhat.com>
8114
8115 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8116 Delete.
8117 (block_signals, unblock_signals): Delete.
8118 (child_function_2, main): Remove references to deleted variable
8119 and functions.
8120
9f5e1e02
PA
81212014-03-20 Pedro Alves <palves@redhat.com>
8122
8123 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8124 Use pthread_kill to signal thread 2.
8125 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8126 Adjust to make the test send itself a signal rather than using the
8127 host's "kill" command.
8128
99619bea
PA
81292014-03-20 Pedro Alves <palves@redhat.com>
8130
8131 * gdb.threads/multiple-step-overs.c: New file.
8132 * gdb.threads/multiple-step-overs.exp: New file.
8133 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8134 Adjust expected infrun debug output.
8135
2adfaa28
PA
81362014-03-20 Pedro Alves <palves@redhat.com>
8137
8138 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8139 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8140
31e77af2
PA
81412014-03-20 Pedro Alves <palves@redhat.com>
8142
8143 PR breakpoints/7143
8144 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8145 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8146 of gdb_test_multiple.
8147 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8148 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8149
b9f437de
PA
81502014-03-20 Pedro Alves <palves@redhat.com>
8151
8152 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8153 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8154
05adc73e
PA
81552014-03-19 Pedro Alves <palves@redhat.com>
8156
8157 * gdb.base/async.exp: Remove early return.
8158
6048b950
PA
81592014-03-19 Pedro Alves <palves@redhat.com>
8160
8161 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8162
8bcfb00a
PA
81632014-03-19 Pedro Alves <palves@redhat.com>
8164
8165 * gdb.base/async.exp (test_background): Expect \r\n after
8166 "completed." in the fail pattern.
8167
884e37dc
PA
81682014-03-19 Pedro Alves <palves@redhat.com>
8169
8170 * gdb.base/async.exp (test_background): New procedure.
8171 Use it for all background execution command tests.
8172
148e57e2
PA
81732014-03-19 Pedro Alves <palves@redhat.com>
8174
8175 * gdb.base/async.exp: Use prepare_for_testing.
8176
f48088c7
PA
81772014-03-19 Pedro Alves <palves@redhat.com>
8178
8179 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8180 the same line.
8181
e2f6c966
PA
81822014-03-19 Pedro Alves <palves@redhat.com>
8183
8184 * gdb.base/async.c (main): Add "jump here" and "until here" line
8185 marker comments.
8186 * gdb.base/async.exp (jump_here): New global.
8187 (jump& test): Use it.
8188 (until_here): New global.
8189 (until& test): Use it.
8190
c30568d4
PA
81912014-03-19 Pedro Alves <palves@redhat.com>
8192
8193 * gdb.base/async.exp: Don't frob gdb_protocol.
8194
0172b6a7
DE
81952014-03-18 Doug Evans <xdje42@gmail.com>
8196
8197 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8198 Fix spelling of exec-done-display.
8199
06c868a8
JK
82002014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8201
8202 PR gdb/15358
8203 * gdb.base/gdb-sigterm.c: New file.
8204 * gdb.base/gdb-sigterm.exp: New file.
8205
0c7e1a46
PA
82062014-03-18 Pedro Alves <palves@redhat.com>
8207
8208 PR gdb/13860
8209 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8210 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8211 solib-event.
8212
f7c77d93
JB
82132014-03-17 Joel Brobecker <brobecker@adacore.com>
8214
8215 * gdb.ada/pckd_arr_ren: New testcase.
8216
5a1e8c7a
DE
82172014-03-13 Doug Evans <xdje42@gmail.com>
8218
8219 PR guile/16612
8220 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8221 collect after discarding symbols.
8222
350e1a76
DE
82232014-03-13 Ludovic Courtès <ludo@gnu.org>
8224 Doug Evans <xdje42@gmail.com>
8225
8226 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8227 to history survives a gc.
8228
a69900ae
PA
82292014-03-13 Pedro Alves <palves@redhat.com>
8230
8231 * gdb.base/default.exp: Don't test "target procfs".
8232
5db9f0bd
PA
82332014-03-13 Pedro Alves <palves@redhat.com>
8234
8235 * gdb.base/default.exp: Update "target child" and "target procfs"
8236 tests to not expect "Unix".
8237
b3ccfe11
TT
82382014-03-12 Tom Tromey <tromey@redhat.com>
8239
8240 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8241 New procs. Add target-async tests.
8242 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8243 Add target-async tests.
8244
646f4417
AA
82452014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8246
8247 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8248 'func_start' and 'func_end' for the beginning and end of the
8249 function code, respectively.
8250 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8251 'func_end' instead of 'func' and 'main'.
8252
288c211f
AA
82532014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8254
8255 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8256 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8257 generate the debug info assembler source.
8258
e0c0f156
AA
82592014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8260
8261 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8262 * gdb.dwarf2/arr-subrange.exp: Likewise.
8263 * gdb.dwarf2/dwz.exp: Likewise.
8264 * gdb.dwarf2/method-ptr.exp: Likewise.
8265 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8266 * gdb.dwarf2/subrange.exp: Likewise.
8267 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8268 * gdb.dwarf2/implptrpiece.exp: Likewise.
8269 * gdb.dwarf2/nostaticblock.exp: Likewise.
8270
0e5c4555
AA
82712014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8272
8273 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8274 directory to absolute path name arguments.
8275
5ec18f2b
JG
82762014-03-10 Joel Brobecker <brobecker@adacore.com>
8277
8278 * gdb.ada/tagged_access: New testcase.
8279
847fc4f2
MM
82802014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8281
8282 * gdb.btrace/data.exp: Update expected output.
8283
cc3da688
YQ
82842014-03-06 Yao Qi <yao@codesourcery.com>
8285
8286 * gdb.trace/pr16508.exp: New file.
8287
0f26cec1
PA
82882014-03-05 Pedro Alves <palves@redhat.com>
8289
8290 PR gdb/16575
8291 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8292 procedure.
8293 (top level): Adjust to use it. Add tests that exercise breakpoint
8294 interaction with the code-cache.
8295
7a5a839f
LC
82962014-02-26 Ludovic Courtès <ludo@gnu.org>
8297
8298 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8299 test for 'history-append!'.
8300
31aa7e4e
JB
83012014-02-26 Joel Brobecker <brobecker@adacore.com>
8302
8303 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8304 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8305 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8306 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8307 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8308 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8309
1b588015
JB
83102014-02-26 Joel Brobecker <brobecker@adacore.com>
8311
8312 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8313 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8314 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8315
55426c9d
JB
83162014-02-26 Joel Brobecker <brobecker@adacore.com>
8317
8318 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8319
dc53a7ad
JB
83202014-02-26 Joel Brobecker <brobecker@adacore.com>
8321
8322 * gdb.dwarf2/arr-stride.c: New file.
8323 * gdb.dwarf2/arr-stride.exp: New file.
8324
12ab52e9
PA
83252014-02-26 Pedro Alves <palves@redhat.com>
8326
8327 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8328 that won't ever trigger. Make sure that GDB reports the correct
8329 breakpoint that caused the stop.
8330
849c862e
JK
83312014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8332
8333 PR gdb/16626
8334 * gdb.base/auto-load-script: New file.
8335 * gdb.base/auto-load.c: New file.
8336 * gdb.base/auto-load.exp: New file.
8337
71b7d793
JK
8338 PR gdb/16626
8339 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8340
e2f0d509
JK
83412014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8342
8343 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8344 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8345
50cc37c8
DE
83462014-02-24 Doug Evans <dje@google.com>
8347
8348 * lib/gdb.exp (run_on_host): Log error output if program fails.
8349
ea4758f2
PA
83502014-02-21 Pedro Alves <palves@redhat.com>
8351
8352 * gdb.threads/step-after-sr-lock.c: Rename to ...
8353 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8354 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8355 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8356 ... this.
8357
d7b30f67
SDJ
83582014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8359
8360 PR tdep/16397
8361 * gdb.arch/amd64-stap-special-operands.exp: New file.
8362 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8363 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8364 * gdb.arch/amd64-stap-triplet.S: Likewise.
8365 * gdb.arch/amd64-stap-triplet.c: Likewise.
8366
83deb43f
JB
83672014-02-20 Joel Brobecker <brobecker@adacore.com>
8368
8369 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8370 in .section pseudo-op.
8371
adde2bff
DE
83722014-02-20 lin zuojian <manjian2006@gmail.com>
8373 Joel Brobecker <brobecker@adacore.com>
8374 Doug Evans <xdje42@gmail.com>
8375
8376 PR symtab/16581
8377 * gdb.dwarf2/dw2-icycle.S: New file.
8378 * gdb.dwarf2/dw2-icycle.c: New file.
8379 * gdb.dwarf2/dw2-icycle.exp: New file.
8380
f7bd0f78
SC
83812014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8382
8383 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8384 operations on gdb.Value objects.
8385 * gdb.python/py-value-cc.exp: Add new test to test operations on
8386 gdb.Value objects.
8387
c17ef0d5
DE
83882014-02-18 Doug Evans <dje@google.com>
8389
8390 * Makefile.in (TESTS): New variable.
8391 (expanded_tests, expanded_tests_or_none): New variables
8392 (check-single): Pass $(expanded_tests_or_none) to runtest.
8393 (check-parallel): Only run tests in $(TESTS) if non-empty.
8394 (check/no-matching-tests-found): New rule.
8395 * README: Document TESTS makefile variable.
8396
5dd3176f
DE
83972014-02-18 Doug Evans <dje@google.com>
8398
8399 * Makefile.in (check-parallel): rm -rf outputs temp.
8400
0b10be4f
JK
84012014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8402
8403 Fix "ERROR: no fileid for" in the testsuite.
8404 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8405
85f224e7
DE
84062014-02-12 Doug Evans <dje@google.com>
8407
8408 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8409 (MISCELLANEOUS): New variable.
8410 (clean): rm -rf $(MISCELLANEOUS).
8411 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8412 dwp live in the same directory as symlinks, with each symlink pointed
8413 to a differently named file in a different directory.
8414
149b30ff
DE
84152014-02-11 Doug Evans <dje@google.com>
8416
8417 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8418 of Tcl file commands.
8419
1dfdac32
MK
84202014-02-10 Mark Kettenis <kettenis@gnu.org>
8421
8422 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8423 "kill -SIGUSR1 -1".
8424
aa4fb036
JB
84252014-02-10 Joel Brobecker <brobecker@adacore.com>
8426
8427 * gdb.ada/tick_length_array_enum_idx: New testcase.
8428
ed3ef339
DE
84292014-02-10 Doug Evans <xdje42@gmail.com>
8430
8431 * configure.ac (AC_OUTPUT): Add gdb.guile.
8432 * configure: Regenerate.
8433 * lib/gdb-guile.exp: New file.
8434 * lib/gdb.exp (get_target_charset): New function.
8435 * gdb.base/help.exp: Update expected output from "apropos apropos".
8436 * gdb.guile/Makefile.in: New file.
8437 * gdb.guile/guile.exp: New file.
8438 * gdb.guile/scm-arch.c: New file.
8439 * gdb.guile/scm-arch.exp: New file.
8440 * gdb.guile/scm-block.c: New file.
8441 * gdb.guile/scm-block.exp: New file.
8442 * gdb.guile/scm-breakpoint.c: New file.
8443 * gdb.guile/scm-breakpoint.exp: New file.
8444 * gdb.guile/scm-disasm.c: New file.
8445 * gdb.guile/scm-disasm.exp: New file.
8446 * gdb.guile/scm-equal.c: New file.
8447 * gdb.guile/scm-equal.exp: New file.
8448 * gdb.guile/scm-error.exp: New file.
8449 * gdb.guile/scm-error.scm: New file.
8450 * gdb.guile/scm-frame-args.c: New file.
8451 * gdb.guile/scm-frame-args.exp: New file.
8452 * gdb.guile/scm-frame-args.scm: New file.
8453 * gdb.guile/scm-frame-inline.c: New file.
8454 * gdb.guile/scm-frame-inline.exp: New file.
8455 * gdb.guile/scm-frame.c: New file.
8456 * gdb.guile/scm-frame.exp: New file.
8457 * gdb.guile/scm-generics.exp: New file.
8458 * gdb.guile/scm-gsmob.exp: New file.
8459 * gdb.guile/scm-iterator.c: New file.
8460 * gdb.guile/scm-iterator.exp: New file.
8461 * gdb.guile/scm-math.c: New file.
8462 * gdb.guile/scm-math.exp: New file.
8463 * gdb.guile/scm-objfile-script-gdb.in: New file.
8464 * gdb.guile/scm-objfile-script.c: New file.
8465 * gdb.guile/scm-objfile-script.exp: New file.
8466 * gdb.guile/scm-objfile.c: New file.
8467 * gdb.guile/scm-objfile.exp: New file.
8468 * gdb.guile/scm-ports.exp: New file.
8469 * gdb.guile/scm-pretty-print.c: New file.
8470 * gdb.guile/scm-pretty-print.exp: New file.
8471 * gdb.guile/scm-pretty-print.scm: New file.
8472 * gdb.guile/scm-section-script.c: New file.
8473 * gdb.guile/scm-section-script.exp: New file.
8474 * gdb.guile/scm-section-script.scm: New file.
8475 * gdb.guile/scm-symbol.c: New file.
8476 * gdb.guile/scm-symbol.exp: New file.
8477 * gdb.guile/scm-symtab-2.c: New file.
8478 * gdb.guile/scm-symtab.c: New file.
8479 * gdb.guile/scm-symtab.exp: New file.
8480 * gdb.guile/scm-type.c: New file.
8481 * gdb.guile/scm-type.exp: New file.
8482 * gdb.guile/scm-value-cc.cc: New file.
8483 * gdb.guile/scm-value-cc.exp: New file.
8484 * gdb.guile/scm-value.c: New file.
8485 * gdb.guile/scm-value.exp: New file.
8486 * gdb.guile/source2.scm: New file.
8487 * gdb.guile/types-module.cc: New file.
8488 * gdb.guile/types-module.exp: New file.
8489
7026a7c1
YQ
84902014-02-10 Yao Qi <yao@codesourcery.com>
8491
8492 PR testsuite/16543
8493 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8494 * configure: Regenerated.
8495 * Makefile.in: New file.
8496
6c466447
AS
84972014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8498
8499 * gdb.python/py-framefilter.exp: Fix typo.
8500
6e854735
YQ
85012014-02-08 Yao Qi <yao@codesourcery.com>
8502
8503 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8504 that no =breakpoint-modified is emitted when breakpoints are
8505 modified through MI commands.
8506
d137e6dc
PA
85072014-02-07 Pedro Alves <pedro@codesourcery.com>
8508 Pedro Alves <palves@redhat.com>
8509
8510 * gdb.threads/step-after-sr-lock.c: New file.
8511 * gdb.threads/step-after-sr-lock.exp: New file.
8512
b5ee5a50
PA
85132014-02-07 Pedro Alves <palves@redhat.com>
8514
8515 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8516
3c77faf3
JK
85172014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8518
8519 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8520 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8521
6dddc817
DE
85222014-02-06 Doug Evans <xdje42@gmail.com>
8523
8524 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8525 output.
8526
8527 * gdb.gdb/python-interrupts.exp: New file.
8528
de7b2893
YQ
85292014-02-05 Yao Qi <yao@codesourcery.com>
8530
8531 * gdb.trace/report.exp (use_collected_data): Test the output
8532 of "info threads" and "info inferiors".
8533
66d032ac
YQ
85342014-02-05 Yao Qi <yao@codesourcery.com>
8535
8536 Revert this patch:
8537
8538 2013-05-24 Yao Qi <yao@codesourcery.com>
8539
8540 * gdb.trace/tfile.exp: Test inferior and thread.
8541
591a12a1
UW
85422014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8543
8544 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8545 on a function.
8546 * gdb.base/step-bt.c: Call hello via function pointer to make
8547 sure its first instruction is executed on powerpc64le-linux.
8548
0ff3e01f
UW
85492014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8550
8551 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8552
084ee545
UW
85532014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8554
8555 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8556 of the test patterns for use on little-endian systems.
8557
6ed14ff3
UW
85582014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8559
8560 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8561 (decimal_vector): Fix for little-endian.
8562
401e27fd
JM
85632014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8564
8565 * gdb.arch/sparc-sysstep.exp: New file.
8566 * gdb.arch/sparc-sysstep.c: Likewise.
8567
8568 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8569
8b924729
EBM
85702014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8571
8572 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8573
fb151210
JB
85742014-01-23 Tom Tromey <tromey@redhat.com>
8575
8576 * gdb.ada/array_char_idx: New testcase.
8577
0740f8d8
TT
85782014-01-23 Tom Tromey <tromey@redhat.com>
8579
8580 PR python/16487:
8581 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8582 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8583 classes.
8584
21909fa1
TT
85852014-01-23 Tom Tromey <tromey@redhat.com>
8586
8587 PR python/16491:
8588 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8589 string from an inferior frame.
8590 * gdb.python/py-framefilter-mi.exp: Update.
8591
87ce2a04
DE
85922014-01-22 Doug Evans <dje@google.com>
8593
8594 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8595
237b092b
AA
85962014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8597
8598 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8599
d674a709
AA
86002014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8601
8602 * gdb.trace/entry-values.exp: Remove excess space character from
8603 regex patterns. Handle s390 call instruction.
8604
20fa3390
AA
86052014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8606
8607 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8608 define "*_start" label. Make "name" static.
8609 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8610 ${name} by references to ${name}_start.
8611
78466714
AA
86122014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8613
8614 * gdb.base/info-macros.exp: Remove "debug" from the compile
8615 options.
8616
ec9f644a
IB
86172014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8618
8619 * gdb.dlang/demangle.exp: New file.
8620
94b1b47e
IB
86212014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8622
8623 * gdb.dlang/primitive-types.exp: New file.
8624
7f420862
IB
86252014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8626
8627 * configure.ac: Create gdb.dlang/Makefile.
8628 * configure: Regenerate.
8629 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8630 * gdb.dlang/Makefile.in: New file.
8631 * lib/d-support.exp: New file.
8632 * lib/gdb.exp (skip_d_tests): New proc.
8633
52834460
MM
86342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8635
8636 * gdb.btrace/delta.exp: Check reverse stepi.
8637 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8638 * gdb.btrace/finish.exp: New.
8639 * gdb.btrace/next.exp: New.
8640 * gdb.btrace/nexti.exp: New.
8641 * gdb.btrace/record_goto.c: Add comments.
8642 * gdb.btrace/step.exp: New.
8643 * gdb.btrace/stepi.exp: New.
8644 * gdb.btrace/multi-thread-step.c: New.
8645 * gdb.btrace/multi-thread-step.exp: New.
8646 * gdb.btrace/rn-dl-bind.c: New.
8647 * gdb.btrace/rn-dl-bind.exp: New.
8648 * gdb.btrace/data.c: New.
8649 * gdb.btrace/data.exp: New.
8650 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8651
6e07b1d2
MM
86522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8653
8654 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8655 * gdb.btrace/exception.exp: Update.
8656 * gdb.btrace/instruction_history.exp: Update.
8657 * gdb.btrace/record_goto.exp: Update.
8658 * gdb.btrace/tailcall.exp: Update.
8659 * gdb.btrace/unknown_functions.exp: Update.
8660 * gdb.btrace/delta.exp: New.
8661
0b722aec
MM
86622014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8663
8664 * gdb.btrace/record_goto.exp: Add backtrace test.
8665 * gdb.btrace/tailcall.exp: Add backtrace test.
8666
066ce621
MM
86672014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8668
8669 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8670 * gdb.btrace/record_goto.c: New.
8671 * gdb.btrace/record_goto.exp: New.
8672 * gdb.btrace/x86-record_goto.S: New.
8673
0688d04e
MM
86742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8675
8676 * gdb.btrace/function_call_history.exp: Update tests.
8677 * gdb.btrace/instruction_history.exp: Update tests.
8678
8710b709
MM
86792014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8680
8681 * gdb.btrace/function_call_history.exp: Fix expected field
8682 order for "record function-call-history".
8683 Add new tests for "record function-call-history /c".
8684 * gdb.btrace/exception.cc: New.
8685 * gdb.btrace/exception.exp: New.
8686 * gdb.btrace/tailcall.exp: New.
8687 * gdb.btrace/x86-tailcall.S: New.
8688 * gdb.btrace/x86-tailcall.c: New.
8689 * gdb.btrace/unknown_functions.c: New.
8690 * gdb.btrace/unknown_functions.exp: New.
8691 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8692
5de9129b
MM
86932014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8694
8695 * gdb.btrace/instruction_history.exp: Update.
8696 * gdb.btrace/function_call_history.exp: Update.
8697
23a7fe75
MM
86982014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8699
8700 * gdb.btrace/function_call_history.exp: Fix expected function
8701 trace.
8702 * gdb.btrace/instruction_history.exp: Initialize traced.
8703 Remove traced_functions.
8704
724c7dd8
MM
87052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8706
8707 * gdb.btrace/function_call_history.exp: Update
8708 * gdb.btrace/instruction_history.exp: Update.
8709
6d78d93b
MM
87102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8711
8712 * gdb.btrace/enable.exp: Update expected text.
8713
93a360cc
OJ
87142014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8715
8716 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8717 bytes.
8718
3772b53f
MR
87192014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8720
8721 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8722
596662fa
OJ
87232014-01-15 Omair Javaid <omair.javaid@linaro.org>
8724
8725 * lib/gdb.exp (supports_process_record): Return true for
8726 arm*-linux*. (supports_reverse): Likewise.
8727
b5b08fb4
SC
87282014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8729
8730 PR python/15464
8731 PR python/16113
8732 * gdb.python/py-type.c: Enhance test case.
8733 * gdb.python/py-value-cc.cc: Likewise
8734 * gdb.python/py-type.exp: Add new tests.
8735 * gdb.python/py-value-cc.exp: Likewise
8736
52d7fb13
AA
87372014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8738 Pedro Alves <palves@redhat.com>
8739
8740 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8741 Make "name" extern.
8742 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8743 references to ${name}_start by references to ${name}.
8744
a2cd8cfe
JB
87452014-01-10 Joel Brobecker <brobecker@adacore.com>
8746
8747 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8748
4e23fced
JB
87492014-01-10 Joel Brobecker <brobecker@adacore.com>
8750
8751 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8752
c6a9e42c
PA
87532014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8754 Pedro Alves <palves@redhat.com>
8755
8756 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 8757 mi_gdb_target_load.
c6a9e42c 8758
b7ea362b
PA
87592014-01-08 Pedro Alves <palves@redhat.com>
8760
8761 * gdb.threads/reconnect-signal.c: New file.
8762 * gdb.threads/reconnect-signal.exp: New file.
8763
5e3f4fab
EBM
87642014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8765
8766 * gdb.base/source-dir.exp: New file.
8767
79301218
JB
87682014-01-07 Joel Brobecker <brobecker@adacore.com>
8769
8770 * gdb.ada/mi_interface: New testcase.
8771
8e355c5d
JB
87722014-01-07 Joel Brobecker <brobecker@adacore.com>
8773
8774 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8775 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8776 gdb.ada/pp-rec-component/pck.ads: New files.
8777
c0d48811
JB
87782014-01-07 Joel Brobecker <brobecker@adacore.com>
8779
8780 * gdb.python/py-pp-integral.c: New file.
8781 * gdb.python/py-pp-integral.py: New file.
8782 * gdb.python/py-pp-integral.exp: New file.
8783
17b609c3 8784For older changes see ChangeLog-1993-2013.
c906108c 8785\f
8d8cb839
EZ
8786;; Local Variables:
8787;; mode: change-log
8788;; left-margin: 8
8789;; fill-column: 74
8790;; version-control: never
8791;; End:
902f2ccb 8792
618f726f 8793 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
8794 Copying and distribution of this file, with or without modification,
8795 are permitted provided the copyright notice and this notice are preserved.
This page took 2.576242 seconds and 4 git commands to generate.