Skip gdb.server/ tests if lack of XML support
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
bae62ee2
YQ
12016-07-21 Yao Qi <yao.qi@linaro.org>
2
3 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
4 if gdb_skip_xml_test is true on some targets.
5
b1b53fb3
YQ
62016-07-21 Yao Qi <yao.qi@linaro.org>
7
8 * gdb.server/solib-list.exp: Unset last_loaded_file.
9
027d97f8
JK
102016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11
12 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
13 "step into captured_main (args)".
14
7674d381
JK
152016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16
17 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
18
72b5d099
JK
192016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
20
21 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
22
1f960ced
PA
232016-07-19 Pedro Alves <palves@redhat.com>
24
25 * gdb.opt/inline-break.exp: Remove optimize=-O2.
26 * gdb.opt/inline-bt.exp: Likewise.
27 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
28 additional_flags=-Winline.
29 * gdb.opt/inline-locals.exp: Likewise.
30 * gdb.opt/inline-markers.c (ATTR): Define.
31 (inlined_fn): Use it.
32
f25827c1
YQ
332016-07-19 Yao Qi <yao.qi@linaro.org>
34
35 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
36 (test_with_self): Remove some code. Remove argument executable.
37 (top-level): Use do_self_tests.
38
37539ebe
DB
392016-07-15 Zachary Welch <zwelch@codesourcery.com>
40 Don Breazeal <donb@codesourcery.com>
41
42 * gdb.base/maint.exp: Escape paths used in regular expressions.
43 * gdb.stabs/weird.exp: Likewise.
44
dac790e1
TT
452016-07-13 Tom Tromey <tom@tromey.com>
46
47 PR python/15620, PR python/18620:
48 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
49 (test_bkpt_events): New procs.
50
93daf339
TT
512016-07-13 Tom Tromey <tom@tromey.com>
52
53 PR python/17698:
54 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
55 test.
56 (test_watchpoints): Likewise.
57 (test_bkpt_pending): New proc.
58
6571a381
TT
592016-07-13 Tom Tromey <tom@tromey.com>
60
61 PR cli/18053:
62 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
63 completion test.
64
e8732474
JK
652016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
66
67 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
68 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
69 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
70 f_label.
71 (g): Rename g_end_lbl to g_label.
72 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
73 low_pc and high_pc.
74 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
75
e0f3fd7c
TT
762016-07-12 Tom Tromey <tom@tromey.com>
77
78 PR python/19293:
79 * gdb.python/py-unwind-maint.exp: Update tests.
80
3cfe46b6
YQ
812016-07-12 Yao Qi <yao.qi@linaro.org>
82
83 * lib/selftest-support.exp (selftest_setup): Match the output
84 when captured_main is inlined.
85
4f19a0e6
WT
862016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
87
88 * gdb.fortran/derived-types.exp (result_line, result_line_2):
89 New variables.
90 (print this%a, print this%b, print this): New tests.
91 * gdb.fortran/derived-types.f90 (this): New object and
92 initialization.
93
986cf455
SM
942016-07-06 Simon Marchi <simon.marchi@ericsson.com>
95
96 * gdb.ada/arraydim.exp: Remove extra directory level in build
97 directory.
98
f0464b23
SM
992016-07-06 Simon Marchi <simon.marchi@ericsson.com>
100
101 * lib/ada.exp: Remove extra directory level in build directory.
102 * gdb.ada/cond_lang.exp: Likewise.
103 * gdb.ada/exec_changed.exp: Likewise.
104 * gdb.ada/lang_switch.exp: Likewise.
105
42d94011
MG
1062016-07-06 Manish Goregaokar <manish@mozilla.com>
107
108 * simple.rs: Add test for raw pointer subscripting
109 * simple.exp: Add test expectations
110
647c264c
YQ
1112016-07-05 Yao Qi <yao.qi@linaro.org>
112
113 * gdb.mi/mi-reverse.exp: Match =record-started output.
114
20aa2c60
PA
1152016-07-01 Pedro Alves <palves@redhat.com>
116
117 * gdb.base/jit-reader.exp (info_registers_current_frame): New
118 procedure.
119 (jit_reader_test): Test the jit reader's unwinder.
120 * gdb.base/jithost.c (jit_function_00_code): New global.
121 (main): Use memcpy to fill in the mmapped code, instead of poking
122 bytes manually here.
123 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
124 value.
125 (read_debug_info): Save the function's range.
126 (read_sp): New function.
127 (unwind_frame): Use it. Also unwind RBP.
128 (get_frame_id): Use read_sp.
129 (gdb_init_reader): Use calloc instead of malloc.
130 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
131 parameter. Use gdb_test_multiple.
132
ced2dffb
PA
1332016-07-01 Pedro Alves <palves@redhat.com>
134 Antoine Tremblay <antoine.tremblay@ericsson.com>
135
136 * gdb.threads/process-dies-while-detaching.c: New file.
137 * gdb.threads/process-dies-while-detaching.exp: New file.
138
63000888
PA
1392016-07-01 Pedro Alves <palves@redhat.com>
140
141 * gdb.multi/watchpoint-multi-exit.c: New file.
142 * gdb.multi/watchpoint-multi-exit.exp: New file.
143
038d4868
PA
1442016-06-30 Pedro Alves <palves@redhat.com>
145
146 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
147 unset inferior_spawn_id.
148
994e9c83
PA
1492016-06-30 Pedro Alves <palves@redhat.com>
150
151 * lib/mi-support.exp (default_mi_gdb_start): Declare global
152 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
153
e5653468
YQ
1542016-06-29 Yao Qi <yao.qi@linaro.org>
155
156 * gdb.base/return.c: Add copyright header.
157
803b47e5
TT
1582016-06-29 Tom Tromey <tom@tromey.com>
159
160 PR python/20129:
161 * gdb.python/py-framefilter.exp: Add tests for setting priority
162 and disabling of non-existent frame filter.
163
28244707
YQ
1642016-06-29 Yao Qi <yao.qi@linaro.org>
165
166 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
167 0x0f07ff.
168
a31d2f06
YQ
1692016-06-28 Yao Qi <yao.qi@linaro.org>
170
171 * gdb.base/catch-syscall.exp: Remove check on isnative and target
172 triplets. Start gdb, execute catch syscall, and continue. Check
173 gdb's output to determine catch syscall is supported.
174
921d8f54
MG
1752016-06-27 Manish Goregaokar <manish@mozilla.com>
176
25d49b86
PA
177 * gdb.rust/simple.rs: Add test for returning unit in a function.
178 * gdb.rust/simple.exp: Add expectation for functions returning
179 unit.
921d8f54 180
f4952523
PMR
1812016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
182
183 * gdb.python/py-breakpoint-create-fail.c,
184 gdb.python/py-breakpoint-create-fail.exp,
185 gdb.python/py-breakpoint-create-fail.py: New testcase.
186
fccb08f8
MG
1872016-06-25 Manish Goregaokar <manish@mozilla.com>
188
189 PR gdb/20239
190 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
191 * gdb.rust/simple.exp: Add test expectations for new NonZero
192 tests.
fccb08f8 193
6b850546
DT
1942016-06-24 David Taylor <dtaylor@emc.com>
195
196 * gdb.base/offsets.exp: New file.
197 * gdb.base/offsets.c: New file.
198
17621150
TT
1992016-06-23 Tom Tromey <tom@tromey.com>
200
201 PR gdb/16483:
202 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
203 before any filters are loaded.
204
04d59df6
WT
2052016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
206
207 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
208 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
209 structs.
210 * gdb.fortran/derived-type-function.exp: New file.
211 * gdb.fortran/derived-type-function.f90: New file.
212
213
ac69f786
PA
2142016-06-21 Pedro Alves <palves@redhat.com>
215
216 * gdb.base/new-ui.exp: New file.
217 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
218 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
219 (with_spawn_id): New procedure.
220
49940788
PA
2212016-06-21 Pedro Alves <palves@redhat.com>
222
223 * gdb.mi/mi-exec-run.exp: New file.
224
ef274d26
PA
2252016-06-21 Pedro Alves <palves@redhat.com>
226
227 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
228 breakpoint command's output on the main UI.
229 (test_break): New procedure, factored out from calls in the top
230 level.
231 (top level): Use foreach_with_prefix to test MI as main UI and as
232 separate UI.
233
468afe6c
PA
2342016-06-21 Pedro Alves <palves@redhat.com>
235
236 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
237 (test_awatch_creation_and_listing)
238 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
239 Remove 'type' parameter.
240 (test_watchpoint_all): New parameter mi_mode. Remove
241 with_test_prefix.
242 (top level): Use foreach_with_prefix, and add main/separate UI MI
243 testing axis.
244
51f77c37
PA
2452016-06-21 Pedro Alves <palves@redhat.com>
246
247 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
248 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
249 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
250 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
251 (gdb_main_spawn_id, mi_spawn_id): Declare and
252 comment.
253 (mi_create_inferior_pty): New procedure,
254 factored out from default_mi_gdb_start.
255 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
256 procedures.
257 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
258 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
259 Use mi_create_inferior_pty.
260 (mi_gdb_start): Use eval to pass down args list.
261
8980e177
PA
2622016-06-21 Pedro Alves <palves@redhat.com>
263
264 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
265 * gdb.opt/inline-cmds.exp: Add MI tests.
266
f38d3ad1
PA
2672016-06-21 Pedro Alves <palves@redhat.com>
268
269 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
270
45db7c09
PA
2712016-06-21 Pedro Alves <palves@redhat.com>
272
273 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
274 (top level): Use it instead of mi_execute_to.
275
5a069ab3
PA
2762016-06-21 Pedro Alves <palves@redhat.com>
277
278 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
279 (cont_handler_str): New.
280 (signal_stop_handler): Set stop_handler_str instead of printing to
281 stdout.
282 (continue_handler): Set cont_handler_str instead of printing to
283 stdout.
284 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
285 mi_send_resuming_command. Print stop_handler_str and
286 cont_handler_str instead of expecting the python events print
287 directly.
288
2838cc1d
SD
2892016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
290
291 * gdb.base/jit-reader.exp: New file.
292 * gdb.base/jithost.c: New file.
293 * gdb.base/jithost.h: New file.
294 * gdb.base/jitreader.c : New file.
295 * gdb.base/jit-protocol.h: New file.
296
21a77091
YQ
2972016-06-17 Yao Qi <yao.qi@linaro.org>
298
299 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
300 parameters follow_fork and detach_on_fork. Set follow-fork-mode
301 and detach-on-fork. Adjust tests.
302 (top level): Invoke break_cond_on_syscall with combinations of
303 syscall, follow-fork-mode and detach-on-fork.
304
f50bf8e5
YQ
3052016-06-17 Yao Qi <yao.qi@linaro.org>
306
307 * gdb.base/step-over-exit.c: New.
308 * gdb.base/step-over-exit.exp: New.
309
a28d8e50
YTL
3102016-06-17 Yan-Ting Lin <currygt52@gmail.com>
311
312 * gdb.base/float.exp: Add target check for nds32*-*-*.
313 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
314
cad8e26d
AB
3152016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
316
317 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
318 for unsupported target features.
319 * gdb.base/call-rt-st.exp: Likewise.
320 * gdb.base/call-sc.exp: Likewise.
321 * gdb.base/call-signal-resume.exp: Likewise.
322 * gdb.base/call-strs.exp: Likewise.
323 * gdb.base/callexit.exp: Likewise.
324 * gdb.base/callfuncs.exp: Likewise.
325 * gdb.base/nodebug.exp: Likewise.
326 * gdb.base/printcmds.exp: Likewise.
327 * gdb.base/ptype.exp: Likewise.
328 * gdb.base/structs.exp: Likewise.
329 * gdb.base/unwindonsignal.exp: Likewise.
330 * gdb.cp/gdb2495.exp: Likewise.
331 * gdb.cp/templates.exp: Likewise.
332 * gdb.cp/virtfunc.exp: Likewise.
333 * gdb.threads/hand-call-in-threads.exp: Likewise.
334 * gdb.threads/interrupted-hand-call.exp: Likewise.
335 * gdb.threads/thread-unwindonsignal.exp: Likewise.
336
347dc102
TT
3372016-06-10 Tom Tromey <tom@tromey.com>
338
339 PR rust/20110:
340 * gdb.rust/expr.exp: Add test for integer constant larger than
341 i32.
342
5e13cf25
BH
3432016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
344
345 * gdb.fortran/nested-funcs.exp: New.
346 * gdb.fortran/nested-funcs.f90: New.
347
bb556f1f
TK
3482016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
349
350 * gdb.base/examine-backward.c: New file.
351 * gdb.base/examine-backward.exp: New file.
352
38b022b4
SM
3532016-06-06 Simon Marchi <simon.marchi@ericsson.com>
354
355 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
356 matching.
357
1b40ec05
TT
3582016-06-02 Tom Tromey <tom@tromey.com>
359
360 PR python/18984:
361 * gdb.python/py-shared.exp: Add solib_name test.
362
193bd378
SM
3632016-06-02 Simon Marchi <simon.marchi@ericsson.com>
364
365 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
366
3326303b
MG
3672016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
368
369 PR c++/19893
370 * gdb.dwarf2/implref.exp: Rename to...
371 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
372 * gdb.dwarf2/implref-array.c: New file.
373 * gdb.dwarf2/implref-array.exp: Likewise.
374 * gdb.dwarf2/implref-global.c: Likewise.
375 * gdb.dwarf2/implref-global.exp: Likewise.
376 * gdb.dwarf2/implref-struct.c: Likewise.
377 * gdb.dwarf2/implref-struct.exp: Likewise.
378
825c8ef2
AT
3792016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
380
381 * gdb.trace/trace-condition.exp: Add 64bit tests.
382
2320162a
AT
3832016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
384
385 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
386 bits types.
387 (main): Adapt to 8 to 64 bits types.
388 * gdb.trace/trace-condition.exp: Add new tests.
389
a7818233
AT
3902016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
391
392 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
393
0d336466
AT
3942016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
395
396 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
397 Move condition tests...
398 * gdb.trace/trace-condition.exp: Here.
399
7faeb45a
AT
4002016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
401
402 * gdb.trace/trace-condition.exp: Add counter-case tests.
403
e385593e
JK
4042016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
405
406 PR c++/15231
407 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
408 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
409
744608cc
PA
4102016-05-27 Pedro Alves <palves@redhat.com>
411
412 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
413 New procedure.
414 (top level): Call it, and bail out of DejaGnu is known to be bad.
415
ac775bf4
AB
4162016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
417
418 * gdb.base/whatis.c: Extend the test case.
419 * gdb.base/whatis.exp: Add additional tests.
420
2bbad2ea
BH
4212016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
422
423* gdb.fortran/type.f90: Add pointer variable.
424* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
425
8b70175d
BH
4262016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
427
428 * gdb.fortran/vla-type.exp: Fix testcase name.
429
86d8a848
BH
4302016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
431
432 * gdb.fortran/vla-type.exp: Access elements in nested structs.
433
e188eb36
BH
4342016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
435
436 * gdb.fortran/type.f90: Add nested structures.
437 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
438 * gdb.fortran/derived-type.exp: Adapt expected output.
439 * gdb.fortran/vla-type.exp: Adapt expected output.
440
9b2db1fd
BH
4412016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
442
443 * gdb.fortran/whatis_type.exp: Adapt expected output.
444
72b17055
BH
4452016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
446
447 * gdb.fortran/print_type.exp: Fix expected output.
448 * gdb.fortran/whatis_type.exp: Fix expected output.
449
3cd81d8d
BH
4502016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
451
452 * gdb.fortran/whatis_type.exp: Use multi_line.
453
ddae9462
TT
4542016-05-24 Tom Tromey <tom@tromey.com>
455
456 PR python/17386:
457 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
458 use value as an index.
459
1957f6b8
TT
4602016-05-23 Tom Tromey <tom@tromey.com>
461
462 PR python/17981:
463 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
464 no-breakpoint case.
465
026a9174
PA
4662016-05-24 Pedro Alves <palves@redhat.com>
467
468 PR gdb/19828
469 * gdb.threads/clone-attach-detach.c: New file.
470 * gdb.threads/clone-attach-detach.exp: New file.
471
e70a7231
FR
4722016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
473
474 * gdb.base/annota-input-while-running.exp: Fix syntax error.
475
0f6ed0e0
TT
4762016-05-23 Tom Tromey <tom@tromey.com>
477
478 PR python/19438, PR python/18393:
479 * gdb.python/py-progspace.exp: Add "dir" test.
480 * gdb.python/py-objfile.exp: Add "dir" test.
481
ffd19d61
YQ
4822016-05-23 Yao Qi <yao.qi@linaro.org>
483
484 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
485 * gdb.arch/thumb2-it.exp: Likewise.
486
9e8f9b05
SM
4872016-05-18 Simon Marchi <simon.marchi@ericsson.com>
488
489 * gdb.mi/mi-threads-interrupt.c: New file.
490 * gdb.mi/mi-threads-interrupt.exp: New file.
491
61c6156d
SM
4922016-05-17 Simon Marchi <simon.marchi@ericsson.com>
493
494 PR gdb/18077
495 * gdb.mi/mi-async-run.exp: New file.
496 * gdb.mi/mi-async-run.c: New file.
497
67218854
TT
4982016-05-17 Tom Tromey <tom@tromey.com>
499 Manish Goregaokar <manishsmail@gmail.com>
500
501 * lib/rust-support.exp: New file.
502 * lib/gdb.exp (skip_rust_tests): New proc.
503 (build_executable_from_specs): Handle rust.
504 * lib/future.exp (gdb_find_rustc): New proc.
505 (gdb_default_target_compile): Handle rust.
506 * gdb.rust/expr.exp: New file.
507 * gdb.rust/generics.exp: New file.
508 * gdb.rust/generics.rs: New file.
509 * gdb.rust/methods.exp: New file.
510 * gdb.rust/methods.rs: New file.
511 * gdb.rust/modules.exp: New file.
512 * gdb.rust/modules.rs: New file.
513 * gdb.rust/simple.exp: New file.
514 * gdb.rust/simple.rs: New file.
515
c44af4eb
TT
5162016-05-17 Tom Tromey <tom@tromey.com>
517
518 * gdb.base/default.exp (set language): Add rust.
519
dcd1f979
TT
5202016-05-17 Tom Tromey <tom@tromey.com>
521
522 * gdb.gdb/unittest.exp: New file.
523
155b7f57
YQ
5242016-05-16 Yao Qi <yao.qi@linaro.org>
525
526 * gdb.base/batch-preserve-term-settings.exp: Remove variable
527 shell_prompt. Update shell_prompt_re.
528
8ddd5a6c
DE
5292016-05-12 Doug Evans <dje@google.com>
530
531 PR symtab/19999
532 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
533 $options when building executable.
534 * gdb.dwarf2/fission-loclists-pie.S: New file.
535 * gdb.dwarf2/fission-loclists-pie.exp: New file.
536
02e370d9
SM
5372016-05-04 Simon Marchi <simon.marchi@ericsson.com>
538
539 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
540 of [is_remote target],
541
8929ad8b
SM
5422016-05-04 Simon Marchi <simon.marchi@ericsson.com>
543
544 * lib/gdb.exp (use_gdb_stub): New procedure.
545
6c447423
DE
5462016-05-03 Yunlian Jiang <yunlian@google.com>
547 Doug Evans <dje@google.com>
548
549 PR symtab/19914
550 * gdb.dwarf2/dwp-sepdebug.c: New file.
551 * gdb.dwarf2/dwp-sepdebug.exp: New file.
552
444e826c
SM
5532016-05-02 Simon Marchi <simon.marchi@ericsson.com>
554
555 * gdb.base/detach.exp: Remove is_remote check.
556
740feeaa
SM
5572016-05-02 Simon Marchi <simon.marchi@ericsson.com>
558
559 * gdb.base/annota-input-while-running.exp: Don't check for
560 [is_remote target]. Enable annotations after running to main.
561 Remove unused "set test..." line.
562
9080ac9d
SM
5632016-04-28 Simon Marchi <simon.marchi@ericsson.com>
564
565 * gdb.trace/trace-enable-disable.exp: New file.
566 * gdb.trace/trace-enable-disable.c: New file.
567
952ebca5
SM
5682016-04-28 Simon Marchi <simon.marchi@ericsson.com>
569
570 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
571 use it in info sharedlibrary test.
572 * gdb.trace/ftrace-lock.exp: Likewise.
573 * gdb.trace/ftrace.exp: Likewise.
574 * gdb.trace/range-stepping.exp: Likewise.
575 * gdb.trace/trace-break.exp: Likewise.
576 * gdb.trace/trace-condition.exp: Likewise.
577 * gdb.trace/trace-mt.exp: Likewise.
578
d9019901
SM
5792016-04-27 Simon Marchi <simon.marchi@ericsson.com>
580
581 * lib/gdb.exp (gdb_load_shlibs): Rename to...
582 (gdb_load_shlib): ... this.
583 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
584 gdb_load_shlib.
585 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
586 * gdb.base/ctxobj.exp: Likewise.
587 * gdb.base/dprintf-pending.exp: Likewise.
588 * gdb.base/dso2dso.exp: Likewise.
589 * gdb.base/fixsection.exp: Likewise.
590 * gdb.base/gcore-relro.exp: Likewise.
591 * gdb.base/gdb1555.exp: Likewise.
592 * gdb.base/global-var-nested-by-dso.exp: Likewise.
593 * gdb.base/gnu-ifunc.exp: Likewise.
594 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
595 * gdb.base/jit-so.exp (one_jit_test): Likewise.
596 * gdb.base/pending.exp: Likewise.
597 * gdb.base/print-file-var.exp: Likewise.
598 * gdb.base/print-symbol-loading.exp: Likewise.
599 * gdb.base/shlib-call.exp: Likewise.
600 * gdb.base/shreloc.exp: Likewise.
601 * gdb.base/so-impl-ld.exp: Likewise.
602 * gdb.base/solib-disc.exp: Likewise.
603 * gdb.base/solib-nodir.exp: Likewise.
604 * gdb.base/solib-overlap.exp: Likewise.
605 * gdb.base/solib-symbol.exp: Likewise.
606 * gdb.base/solib-weak.exp (do_test): Likewise.
607 * gdb.base/sym-file.exp: Likewise.
608 * gdb.base/symtab-search-order.exp: Likewise.
609 * gdb.base/type-opaque.exp: Likewise.
610 * gdb.base/unload.exp: Likewise.
611 * gdb.base/watchpoint-solib.exp: Likewise.
612 * gdb.compile/compile.exp: Likewise.
613 * gdb.cp/gdb2384.exp: Likewise.
614 * gdb.cp/infcall-dlopen.exp: Likewise.
615 * gdb.cp/re-set-overloaded.exp: Likewise.
616 * gdb.fortran/library-module.exp: Likewise.
617 * gdb.opt/solib-intra-step.exp: Likewise.
618 * gdb.python/py-finish-breakpoint.exp: Likewise.
619 * gdb.python/py-shared.exp: Likewise.
620 * gdb.reverse/solib-precsave.exp: Likewise.
621 * gdb.reverse/solib-reverse.exp: Likewise.
622 * gdb.server/solib-list.exp: Likewise.
623 * gdb.threads/dlopen-libpthread.exp: Likewise.
624 * gdb.threads/tls-shared.exp: Likewise.
625 * gdb.threads/tls-so_extern.exp: Likewise.
626 * gdb.trace/change-loc.exp: Likewise.
627 * gdb.trace/ftrace-lock.exp: Likewise.
628 * gdb.trace/ftrace.exp: Likewise.
629 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
630 * gdb.trace/pending.exp: Likewise.
631 * gdb.trace/range-stepping.exp: Likewise.
632 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
633 (strace_info_marker): Likewise.
634 (strace_probe_marker): Likewise.
635 (strace_trace_on_same_addr): Likewise.
636 (strace_trace_on_diff_addr): Likewise.
637 * gdb.trace/trace-break.exp: Likewise.
638 * gdb.trace/trace-condition.exp: Likewise.
639 * gdb.trace/trace-mt.exp: Likewise.
640
fca4cfd9
SM
6412016-04-27 Simon Marchi <simon.marchi@ericsson.com>
642
643 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
644 result of gdb_remote_download.
645 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
646 * gdb.base/dso2dso.exp: Likewise.
647 * gdb.base/global-var-nested-by-dso.exp: Likewise.
648 * gdb.base/print-file-var.exp: Likewise.
649 * gdb.base/shlib-call.exp: Likewise.
650 * gdb.base/shreloc.exp: Likewise.
651 * gdb.base/solib-overlap.exp: Likewise.
652 * gdb.base/solib-weak.exp (do_test): Likewise.
653 * gdb.base/unload.exp: Likewise.
654
11cf4ffb
YQ
6552016-04-27 Yao Qi <yao.qi@linaro.org>
656
657 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
658 exists.
659
3e2e34f8
KB
6602016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
661
662 * vla-type.exp: Print structure from toplevel.
663
8f07e298
BH
6642016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
665
666 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
667 of dynamic types.
668 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
669 of dynamic types.
670
9920b434
BH
6712016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
672
673 * gdb.fortran/vla-type.f90: New file.
674 * gdb.fortran/vla-type.exp: New file.
675
f3abeff5
YQ
6762016-04-25 Yao Qi <yao.qi@linaro.org>
677
678 * gdb.base/branch-to-self.c: New file.
679 * gdb.base/branch-to-self.exp: New file.
680
0a5d52f0
YQ
6812016-04-22 Yao Qi <yao.qi@linaro.org>
682
683 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
684 more after $hex.
685
495346f6
YQ
6862016-04-22 Yao Qi <yao.qi@linaro.org>
687
688 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
689 * gdb.base/annota3.exp: Likewise.
690
4a7e075c
YQ
6912016-04-22 Yao Qi <yao.qi@linaro.org>
692
693 * gdb.reverse/step-precsave.exp: Do one step and test program
694 stops in "callee" and do multiple steps until program goes out
695 of "callee".
696 * gdb.reverse/step-reverse.exp: Likewise.
697
5b061e98
YQ
6982016-04-22 Yao Qi <yao.qi@linaro.org>
699
700 * gdb.trace/signal.exp: Also pass if
701 $tracepoint_hits($i) > $iterations.
702
5c5dc57f
YQ
7032016-04-22 Yao Qi <yao.qi@linaro.org>
704
705 * gdb.trace/signal.c: New file.
706 * gdb.trace/signal.exp: New file.
707
a55411b9
DE
7082016-04-19 Doug Evans <xdje42@gmail.com>
709
710 * gdb.base/bad-file.exp: New file.
711
a22df60a
MG
7122016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
713
714 * gdb.dwarf2/implref.exp: New file.
715
0c13f7e5
BH
7162016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
717
718 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
719 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
720 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
721 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
722 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
723 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
724 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
725 * lib/fortran.exp (fortran_int4): New procedure.
726 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
727 (fortran_logical4): Likewise.
728
9b9b09e9
BH
7292016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
730
731 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
732
a14d1f4d
BH
7332016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
734
735 * lib/compiler.c: Add Intel specific preprocessor macros.
736 * lib/compiler.cc: Likewise.
25d49b86 737
7d49b1d0
LM
7382016-04-13 Luis Machado <lgustavo@codesourcery.com>
739
740 * gdb.server/connect-with-no-symbol-file.c: New file.
741 * gdb.server/connect-with-no-symbol-file.exp: New file.
742
8392fa22
SM
7432016-04-13 Simon Marchi <simon.marchi@ericsson.com>
744
745 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
746
8c4c4aeb
SM
7472016-04-13 Simon Marchi <simon.marchi@ericsson.com>
748
749 * boards/gdbserver-base.exp (${board}_download): Copy source file to
750 standard output directory.
751
45e3745e
AT
7522016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
753
754 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
755
e26b7e41
MM
7562016-04-13 Markus Metzger <markus.t.metzger@intel.com>
757
758 * gdb.btrace/instruction_history.c (loop): Add declaration.
759
8ce09462
AT
7602016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
761
762 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
763
2e88a1ea
SM
7642016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
765
766 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
767 parentheses to print.
768 (continue_handler): Likewise.
769
f48e22e3
SM
7702016-04-08 Simon Marchi <simon.marchi@ericsson.com>
771
772 * gdb.server/solib-list.exp: Remove is_remote check.
773 Pass shlib= to gdb_compile. Don't link shared library with
774 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
775 Run binary filename through "readlink -f" on the target.
776
096be756
PA
7772016-04-08 Pedro Alves <palves@redhat.com>
778
779 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
780 interpreter filename as argument to gdbserver_spawn.
781 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
782 Return empty if $last_loaded_file does not exist.
783
06500533
JK
7842016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
785
786 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
787 * gdb.base/jit-main.c: Use exit after usage.
788
2d35e871
JK
7892016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
790
791 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
792 GDBHISTSIZE prior to the tests.
793 * gdb.base/gdbinit-history.exp: Likewise.
794
7952016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
796
797 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
798 instead of build_executable. Use gdb_load_shlibs.
799
c8064e7e
YQ
8002016-04-07 Yao Qi <yao.qi@linaro.org>
801
802 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
803 Execute "si" command.
804
bde47561
YQ
8052016-04-07 Yao Qi <yao.qi@linaro.org>
806
807 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
808 number instead of the comments on some line.
809
b16f8a3b
DB
8102016-04-06 Don Breazeal <donb@codesourcery.com>
811
812 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
813 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
814
c2f901df
SM
8152016-04-06 Simon Marchi <simon.marchi@ericsson.com>
816
817 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
818 standard_output_file. Remove unused binfile variable.
819
ac17fda0
CU
8202016-04-05 Catalin Udma <catalin.udma@freescale.com>
821
822 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
823 * gdb.python/py-mi-objfile.exp: Match "list main" output
824 in console format.
825
03a8c4df
SM
8262016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
827
828 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
829 absolute.
830
6e774b13
SM
8312016-04-05 Simon Marchi <simon.marchi@ericsson.com>
832
833 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
834 absolute.
835 * gdb.trace/ftrace.exp: Likewise.
836 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
837 targets as well.
838 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
839 (gdb_load_shlibs): Copy libraries to test directory when testing
840 natively. Only set solib-search-path if testing remotely.
841 * lib/mi-support.exp (mi_load_shlibs): Likewise.
842
7817ea46
SM
8432016-04-05 Simon Marchi <simon.marchi@ericsson.com>
844
845 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
846 gdb_download. Use it even if the target is not remote.
847 * gdb.base/jit.exp (compile_jit_test): Likewise.
848 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
849 output directory if the destination board is local, otherwise use
850 the standard remote_download from DejaGnu.
851 (gdb_download): Remove.
852 (gdb_load_shlibs): Use gdb_remote_download instead of
853 gdb_download.
854 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
855 Use gdb_remote_download instead of gdb_download. Use it even if
856 the target is not remote.
857 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
858 instead of gdb_download.
859
7beb7f68
SM
8602016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
861
862 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
863 (test_insert_delete_modify): Call mi_load_shlibs before trying to
864 run.
865
cc63428a
AV
8662016-04-01 Artemiy Volkov <artemiyv@acm.org>
867
868 PR gdb/19820
869 * gdb.base/printcmds.exp: Add artificial arrays tests.
870
64cdf930
PA
8712016-03-31 Pedro Alves <palves@redhat.com>
872
873 PR gdb/19858
874 * gdb.base/jit-main.c: Include unistd.h.
875 (ATTACH): Define to 0 if not already defined.
876 (wait_for_gdb, mypid): New globals.
877 (WAIT_FOR_GDB): New macro.
878 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
879 some breakpoint locations.
880 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
881 New procedures.
882 (one_jit_test): Add REATTACH parameter, and handle it. Use
883 continue_to_test_location.
884 (top level): Test attach, and adjusts calls to one_jit_test.
885
40dea8cb
PA
8862016-03-31 Pedro Alves <palves@redhat.com>
887
888 PR gdb/19858
889 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
890 BINSUFFIX parameter, and handle it.
891 (top level): Adjust calls compile_jit_test.
892
e7ea3ec7
CU
8932016-03-31 Catalin Udma <catalin.udma@freescale.com>
894
895 PR python/19743
896 * gdb.python/py-mi-events-gdb.py: New file.
897 * gdb.python/py-mi-events.c: New file.
898 * gdb.python/py-mi-events.exp: New file.
899
e6359af3
YQ
9002016-03-30 Yao Qi <yao.qi@linaro.org>
901
902 * gdb.reverse/until-precsave.exp: Match function name only.
903 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
904 Move malloc to a condition block.
905 * gdb.reverse/until-reverse.exp: Match function name only.
906
a4105d04
MK
9072016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
908
909 * gdb.trace/ftrace.exp: Set arg0exp for s390.
910 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
911 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
912 variable for GPR 0 instead of assuming it is register 0.
913 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
914 * lib/trace-support.exp: Add s390 registers.
915
bfa6adb9
YQ
9162016-03-29 Yao Qi <yao.qi@linaro.org>
917
918 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
919
1e6697ea
YQ
9202016-03-24 Yao Qi <yao.qi@linaro.org>
921
922 * gdb.reverse/break-reverse.exp: Add quotation mark in the
923 test message.
924
64bcd522
AA
9252016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
926
927 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
928 maintaining separate logic for constructing the output path.
929
7868401b
DB
9302016-03-16 Don Breazeal <donb@codesourcery.com>
931
932 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
933 Retry fork and waitpid on interrupted system call errors.
934 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
935 Use with_timeout_factor to increase timeout by factor of 10.
936
1cafadb4
DB
9372016-03-15 Don Breazeal <donb@codesourcery.com>
938
939 * gdb.cp/scope-err.cc: New test program.
940 * gdb.cp/scope-err.exp: New test script.
941 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
942 lines and "set breakpoint here" comment.
943 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
944 Fixed some whitespace and format issues.
945 * gdb.mi/mi-linespec-err-cp.cc: New test program.
946 * gdb.mi/mi-linespec-err-cp.exp: New test script.
947
81516450
DE
9482016-03-15 Doug Evans <dje@google.com>
949
950 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
951 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
952 All callers updated. Add tests for enums, mixed flags register.
953
aa52b601
DE
9542016-03-15 Doug Evans <dje@google.com>
955
956 * gdb.base/skip.c (main): Call test_skip_file_and_function.
957 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
958
fa4ff313
SM
9592016-03-14 Simon Marchi <simon.marchi@ericsson.com>
960
961 * gdb.base/default.exp: Add $_as_string to the list of expected
962 convenience functions.
963
f2403c39
AB
9642016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
965
966 * gdb.base/maint.exp: New tests for 'maint info line-table'.
967
f2f3ccb9
SM
9682016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
969
970 * gdb.python/py-as-string.exp: New file.
971 * gdb.python/py-as-string.c: New file.
972
00dbd492
PA
9732016-03-09 Pedro Alves <palves@redhat.com>
974
975 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
976 signal" -> "Thread NN received signal" output change.
977 * gdb.threads/ia64-sigill.exp: Likewise.
978 * gdb.threads/linux-dp.exp: Likewise.
979 * gdb.threads/manythreads.exp: Likewise.
980 * gdb.threads/pending-step.exp: Likewise.
981 * gdb.threads/print-threads.exp: Likewise.
982 * gdb.threads/sigstep-threads.exp: Likewise.
983 * gdb.threads/staticthreads.exp: Likewise.
984 * gdb.threads/tls.exp: Likewise.
985
1e6697ea
YQ
9862016-03-09 Pedro Alves <palves@redhat.com>
987
988 * gdb.base/command-line-input.exp: New file.
989
b04fd3be
MK
9902016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
991
992 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
993 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
994 * gdb.trace/pending.exp: Accept leading dot before function name.
995 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
996 * lib/trace-support.exp: Set registers for ppc.
997
98fa59e9
MK
9982016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
999
1000 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1001 use it for disassembly; accept .main in addition to main in backtrace.
1002
f77198c8
MK
10032016-03-09 Wei-cheng Wang <cole945@gmail.com>
1004 Marcin Kościelnicki <koriakin@0x04.net>
1005
1006 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1007 (gdb_recursion_test_ptr): New global variable.
1008 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1009 gdb_recursion_test.
1010 (gdb_c_test): Ditto.
1011
ba84e0da
MK
10122016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1013
1014 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1015 ordering.
1016
4366d36e
MK
10172016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1018
1019 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1020 (bar): Add bar_start_lbl label.
1021 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1022 of foo/bar for emitting DWARF and tracing.
1023
5eb264df
SDJ
10242016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1025
1026 * analyze-racy-logs.py: Set executable bit.
1027
fb6a751f
SDJ
10282016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1029
1030 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1031 (CHECK_TARGET_TMP): Likewise.
1032 (check-single-racy): New rule.
1033 (check-parallel-racy): Likewise.
1034 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1035 (do-check-parallel-racy): New rule.
1036 (check-racy/%.exp): Likewise.
1037 * README (Racy testcases): New section.
1038 * analyze-racy-logs.py: New file.
1039
bdf7e230
DE
10402016-03-03 Doug Evans <dje@google.com>
1041
1042 * gdb.base/skip.exp: Use with_test_prefix.
1043
4719d415
YQ
10442016-03-03 Yao Qi <yao.qi@linaro.org>
1045
1046 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1047 Invoke step_over_syscall "clone" and break_cond_on_syscall
1048 "clone".
1049 * gdb.base/step-over-clone.c: New file.
1050
ea507862
YQ
10512016-03-03 Yao Qi <yao.qi@linaro.org>
1052
1053 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1054 code format.
1055
8fc8cbda
YQ
10562016-03-03 Yao Qi <yao.qi@linaro.org>
1057
1058 * gdb.base/disp-step-fork.c: Rename to ...
1059 * gdb.base/step-over-fork.c: ... it. New file.
1060 * gdb.base/disp-step-vfork.c: Rename to ...
1061 * gdb.base/step-over-vfork.c: ... it. New file.
1062 * gdb.base/disp-step-syscall.exp: Rename to ...
1063 * gdb.base/step-over-syscall.exp: ... it. New file.
1064 (disp_step_cross_syscall): Rename to ...
1065 (step_over_syscall): ... it.
1066
92fa70b0
YQ
10672016-03-03 Yao Qi <yao.qi@linaro.org>
1068
1069 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1070 If target supports condition evaluation on target, invoke
1071 break_cond_on_syscall for fork and vfork.
1072
e197ad3c
YQ
10732016-03-03 Yao Qi <yao.qi@linaro.org>
1074
1075 * gdb.base/disp-step-syscall.exp: Don't invoke
1076 support_displaced_stepping.
1077 (disp_step_cross_syscall): Test with displaced stepping off and
1078 on if supported.
1079
0b47da9f
YQ
10802016-03-03 Yao Qi <yao.qi@linaro.org>
1081
1082 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1083 proc.
1084 (setup): New proc.
1085 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1086 and setup.
1087
065ab6dc
BH
10882016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1089
1090 * gdb.fortran/vla-history.exp: Remove breakpoint.
1091
07e448ad 10922016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1093
25d49b86
PA
1094 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1095 exceeds timeout.
07e448ad 1096
9ac2d526 10972016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1098
25d49b86
PA
1099 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1100 breakpoint.
9ac2d526 1101
17807369
BH
11022016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1103
1104 * gdb.mi/vla.f90: Nullify pointer after declaration.
1105
86e501af
PA
11062016-03-01 Pedro Alves <palves@redhat.com>
1107
1108 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1109
1e903e32
PA
11102016-03-01 Pedro Alves <palves@redhat.com>
1111
1112 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1113 before anything else.
1114 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1115 _GNU_SOURCE here.
1116 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1117 before anything else.
1118 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1119
6ccb54e2
PA
11202016-03-01 Pedro Alves <palves@redhat.com>
1121
1122 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1123
30ca9da1
YQ
11242016-03-01 Yao Qi <yao.qi@linaro.org>
1125
1126 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1127 prepare_for_testing.
1128
dc856b38
YQ
11292016-03-01 Yao Qi <yao.qi@linaro.org>
1130
1131 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1132
4a932159
AA
11332016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1134
1135 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1136 manually constructing the output path.
1137
f2489477
AA
11382016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1139
1140 * gdb.arch/s390-stackless.S: New.
1141 * gdb.arch/s390-stackless.exp: New.
1142
38899f16
IB
11432016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1144
1145 * gdb.dlang/circular.c: New file.
1146 * gdb.dlang/circular.exp: New file.
1147
9fde51ed
YQ
11482016-02-26 Yao Qi <yao.qi@linaro.org>
1149
1150 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1151 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1152 (testcases): Update.
1153
ce90fefe
YQ
11542016-02-26 Yao Qi <yao.qi@linaro.org>
1155
1156 * gdb.reverse/aarch64.c: Rename to ...
1157 * gdb.reverse/insn-reverse.c: ... it.
1158 * gdb.reverse/aarch64.exp: Rename to ...
1159 * gdb.reverse/insn-reverse.exp: ... it.
1160
3263bceb
YQ
11612016-02-26 Yao Qi <yao.qi@linaro.org>
1162
1163 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1164 (testcase_ftype): New.
1165 (testcases): New array.
1166 (n_testcases): New.
1167 (main): Call each element in testcases.
1168 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1169 (read_testcase): New.
1170 Do the tests in a loop.
1171
6cb59ff1
YQ
11722016-02-25 Yao Qi <yao.qi@linaro.org>
1173
1174 * gdb.base/branches.c: Remove.
1175
ae91f625
MK
11762016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1177
1178 PR gdb/13808
1179 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1180
678b48b7
MK
11812016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1182
1183 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1184
7337a6f2
MK
11852016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1186
1187 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1188 change x86_64 call_insn to 'callq'.
1189
861ca91f
AT
11902016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1191
1192 * gdb.trace/tfile-avx.c: Move to...
1193 * gdb.trace/tracefile-pseudo-reg.c: Here.
1194 * gdb.trace/tfile-avx.exp: Move to...
1195 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1196
bf74e428
GB
11972016-02-24 Gary Benson <gbenson@redhat.com>
1198
1199 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1200 message on attach.
1201
cce0e923
DE
12022016-02-23 Doug Evans <dje@google.com>
1203
1204 * gdb.base/skip.c (test_skip): New function.
1205 (end_test_skip_file_and_function): New function.
1206 (test_skip_file_and_function): New function.
1207 * gdb.base/skip1.c (test_skip): New function.
1208 (skip1_test_skip_file_and_function): New function.
1209 * gdb.base/skip.exp: Add tests for new skip options.
1210 * gdb.base/skip-solib.exp: Update expected output.
1211 * gdb.perf/skip-command.cc: New file.
1212 * gdb.perf/skip-command.exp: New file.
1213 * gdb.perf/skip-command.py: New file.
1214
4000e47e
MK
12152016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1216
1217 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1218 info registers pattern.
1219
24f75ead
IB
12202016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1221
1222 * lib/future.exp: Add D support.
1223 (gdb_find_gdc): New proc.
1224 (gdb_default_target_compile): Add D support.
1225
fbb7bcbe
WW
12262016-02-18 Wei-cheng Wang <cole945@gmail.com>
1227
1228 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1229 user+system time.
1230 (trace_speed_test): Determine the iteration count for a time
1231 between 15..30 seconds.
1232
012b3a21
WT
12332016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1234
1235 * gdb.arch/i386-mpx-sigsegv.c: New file.
1236 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1237 * gdb.arch/i386-mpx-simple_segv.c: New file.
1238 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1239
2d5189bd
YQ
12402016-02-18 Yao Qi <yao.qi@linaro.org>
1241
1242 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1243 Don't call setup_kfail.
1244
40fb20d0
YQ
12452016-02-18 Yao Qi <yao.qi@linaro.org>
1246
1247 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1248 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1249
21b1f8d2
DE
12502016-02-16 Doug Evans <dje@google.com>
1251
1252 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1253 * gdb.base/skip1.c: Ditto.
1254 * gdb.base/skip.exp: Whitespace cleanup.
1255
4041ed77
DB
12562016-02-16 Don Breazeal <donb@codesourcery.com>
1257
1258 PR remote/19496
1259 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1260 Remove kfail for PR remote/19496.
1261
c4ef31bf
SM
12622016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1263
1264 * lib/gdb.exp (standard_temp_file): Return a path specific to
1265 the runtest invocation.
1266
266b65b3
SM
12672016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1268
1269 * gdb.trace/save-trace.exp: Change relative path to be in the
1270 standard output directory.
1271
a7a0a6a9
JK
12722016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1273
1274 * gdb.arch/i386-prologue.c: Add missing prototypes.
1275
c99dbb42
JK
12762016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1277
1278 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1279 * gdb.arch/i386-prologue.exp: Likewise.
1280 * gdb.arch/i386-size.exp: Likewise.
1281
aa480355
SM
12822016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1283
1284 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1285 define object file path.
1286 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1287 file path.
1288 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1289 standard_output_file to define binfile.
1290
ba881f50
JK
12912016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1292
1293 Fix compatibility with recent gfortran-5.3.1.
1294 * gdb.fortran/vla-history.exp (print vla1 allocated)
1295 (print vla2 allocated, print $2, print $3): Remove
1296 (print $4): Rename to ...
1297 (print $2): ... here.
1298 (print $9): Rename to ...
1299 (print $5): ... here.
1300 (print $10): Rename to ...
1301 (print $6): ... here.
1302 * gdb.fortran/vla.f90: Add pvla initialization.
1303
e9fb005c
JK
13042016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1305
1306 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1307 New test.
1308 * gdb.fortran/vla-value-sub.exp: Likewise.
1309
e44e00ff
MK
13102016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1311
1312 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1313
97e94151
SM
13142016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1315
1316 * i386-biarch-core.exp: Define corefile using
1317 standard_output_file.
1318
01113bc1
YQ
13192016-02-12 Yao Qi <yao.qi@linaro.org>
1320
1321 * gdb.arch/arm-single-step-kernel-helper.c: New.
1322 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1323
33b4777c
MM
13242016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1325
1326 * gdb.btrace/tailcall-only.exp: New.
1327 * gdb.btrace/tailcall-only.c: New.
1328 * gdb.btrace/x86_64-tailcall-only.S: New.
1329 * gdb.btrace/i686-tailcall-only.S: New.
1330
acc23c11
PA
13312016-02-11 Pedro Alves <palves@redhat.com>
1332
1333 * README (Parallel testing): Add missing double quotes.
1334
e352bf0a
PA
13352016-02-11 Pedro Alves <palves@redhat.com>
1336
1337 * README (Parallel testing): New section.
1338 (GDB_PARALLEL): Rewrite.
1339 (FORCE_PARALLEL): Document.
1340
9f5fed78
MK
13412016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1342
1343 * gdb.trace/tfile-avx.c: New test.
1344 * gdb.trace/tfile-avx.exp: New test.
1345
9ef9e6a6
KS
13462016-02-09 Keith Seitz <keiths@redhat.com>
1347
1348 PR breakpoints/19546
1349 * gdb.base/infcall-exec.c: New file.
1350 * gdb.base/infcall-exec2.c: New file.
1351 * gdb.base/infcall-exec.exp: New file.
1352
a96e36da
KS
13532016-02-09 Keith Seitz <keiths@redhat.com>
1354
1355 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1356 (toplevel): Call test_bkpt_address.
1357
9f61929f
KS
13582016-02-09 Keith Seitz <keiths@redhat.com>
1359
1360 PR python/19506
1361 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1362 (toplevel): Call test_bkpt_address.
1363
1e94266c
SM
13642016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1365
1366 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1367 to AC_OUTPUT.
1368 * configure: Regenerate.
1369
2a7f3dff
PA
13702016-02-09 Pedro Alves <palves@redhat.com>
1371
1372 PR breakpoints/19548
1373 * gdb.base/execl-update-breakpoints.c (some_function): New
1374 function.
1375 (main): Call it.
1376 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1377 Tighten expected GDB output.
1378
2151ccc5
SM
13792016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1380
1381 * Makefile.in (ALL_SUBDIRS): Remove.
1382 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1383 (distclean maintainer-clean realclean): Likewise.
1384 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1385 * configure: Regenerate.
1386 * gdb.ada/Makefile.in: Delete.
1387 * gdb.arch/Makefile.in: Likewise.
1388 * gdb.asm/Makefile.in: Likewise.
1389 * gdb.base/Makefile.in: Likewise.
1390 * gdb.btrace/Makefile.in: Likewise.
1391 * gdb.cell/Makefile.in: Likewise.
1392 * gdb.compile/Makefile.in: Likewise.
1393 * gdb.cp/Makefile.in: Likewise.
1394 * gdb.disasm/Makefile.in: Likewise.
1395 * gdb.dlang/Makefile.in: Likewise.
1396 * gdb.dwarf2/Makefile.in: Likewise.
1397 * gdb.fortran/Makefile.in: Likewise.
1398 * gdb.gdb/Makefile.in: Likewise.
1399 * gdb.go/Makefile.in: Likewise.
1400 * gdb.guile/Makefile.in: Likewise.
1401 * gdb.java/Makefile.in: Likewise.
1402 * gdb.linespec/Makefile.in: Likewise.
1403 * gdb.mi/Makefile.in: Likewise.
1404 * gdb.modula2/Makefile.in: Likewise.
1405 * gdb.multi/Makefile.in: Likewise.
1406 * gdb.objc/Makefile.in: Likewise.
1407 * gdb.opencl/Makefile.in: Likewise.
1408 * gdb.opt/Makefile.in: Likewise.
1409 * gdb.pascal/Makefile.in: Likewise.
1410 * gdb.perf/Makefile.in: Likewise.
1411 * gdb.python/Makefile.in: Likewise.
1412 * gdb.reverse/Makefile.in: Likewise.
1413 * gdb.server/Makefile.in: Likewise.
1414 * gdb.stabs/Makefile.in: Likewise.
1415 * gdb.threads/Makefile.in: Likewise.
1416 * gdb.trace/Makefile.in: Likewise.
1417 * gdb.xml/Makefile.in: Likewise.
1418 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1419 GDB_PARALLEL.
1420 (standard_output_file): Remove check for GDB_PARALLEL, always
1421 return path in outputs/$subdir/$testname.
1422
437277d4
SM
14232016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1424
1425 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1426 (site.exp): Assign abs_srcdir to tcl's srcdir.
1427
31d913c7
YQ
14282016-02-04 Yao Qi <yao.qi@linaro.org>
1429
1430 * gdb.base/foll-exec-mode.c: Include limits.h.
1431 (main): Add parameters argc and argv. Get directory from
1432 argv[0].
1433 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1434 compilation.
1435 * gdb.base/foll-exec.c: Include limits.h.
1436 (main): Add parameters argc and argv.
1437 Get directory from argv[0].
1438 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1439 Adjust tests on the number of lines as source code changed.
1440 * gdb.base/foll-vfork-exit.c: Include limits.h.
1441 (main): Add one line of statement before vfork.
1442 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1443 (main): Add parameters argc and argv. Get directory from
1444 argv[0].
1445 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1446 (setup_gdb): Set tbreak to skip some source lines.
1447 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1448 (main): Add parameters argc and argv. Get directory from
1449 argv[0].
1450 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1451 compilation.
1452 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1453 (main): Add parameters argc and argv. Get directory from
1454 argv[0].
1455 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1456 compilation.
1457
9482b9fb
DE
14582016-02-01 Doug Evans <dje@google.com>
1459
1460 * gdb.base/skip.exp: Clean up multiple references to same test name.
1461
6b2e4f10
PA
14622016-02-01 Pedro Alves <palves@redhat.com>
1463
ccb6afd6 1464 PR remote/19496
6b2e4f10
PA
1465 * gdb.threads/forking-threads-plus-breakpoint.exp
1466 (displaced_stepping_supported): New global.
1467 (probe_displaced_stepping_support): New procedure.
1468 (do_test): Add 'displaced' parameter, and use it.
1469 (top level): Check for displaced stepping support. Add displaced
1470 stepping on/off testing axis.
1471
37a8db1a
AB
14722016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1473
1474 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1475 pointer. Don't perform further tests on the unassociated pointer
1476 if the first test fails.
1477
5fdf6324
AB
14782016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1479
1480 * gdb.base/max-value-size.c: New file.
1481 * gdb.base/max-value-size.exp: New file.
1482 * gdb.base/huge.exp: Disable max-value-size for this test.
1483
935c6144
IB
14842016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1485
1486 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1487
7fe8399d
YQ
14882016-01-28 Yao Qi <yao.qi@linaro.org>
1489
1490 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1491
a2077e25
PA
14922016-01-25 Pedro Alves <palves@redhat.com>
1493
1494 PR threads/19461
1495 * gdb.base/fork-running-state.c: New file.
1496 * gdb.base/fork-running-state.exp: New file.
1497
1d2736d4
PA
14982016-01-25 Pedro Alves <palves@redhat.com>
1499
1500 PR gdb/19494
1501 * gdb.base/catch-fork-kill.c: New file.
1502 * gdb.base/catch-fork-kill.exp: New file.
1503
f1da4b11
PA
15042016-01-25 Pedro Alves <palves@redhat.com>
1505
1506 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1507 Delete, moved to lib/gdb.exp.
1508 * gdb.threads/forking-threads-plus-breakpoint.exp
1509 (foreach_with_prefix): Likewise.
1510 * gdb.threads/process-dies-while-handling-bp.exp
1511 (foreach_with_prefix): Likewise.
1512 * lib/gdb.exp (foreach_with_prefix): New procedure.
1513
45f38546
MK
15142016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1515
1516 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1517 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1518
dc29a1ce
MK
15192016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1520
1521 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1522 endian targets.
1523
092127d7
JK
15242016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1525 Pedro Alves <palves@redhat.com>
1526
1527 Fix testsuite compatibility with Guile.
1528 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1529 number.
1530
31d765d3
JK
15312016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1532
1533 Fix testsuite compatibility with Guile.
1534 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1535 (thread 1): New test for backtrace through signal handler.
1536
1ac78c04
YQ
15372016-01-22 Yao Qi <yao.qi@linaro.org>
1538
1539 PR testsuite/19491
1540 * gdb.base/multi-forks.c: Include
1541 ../lib/unbuffer_output.c
1542 (main): Call gdb_unbuffer_output.
1543
4f5946a8
DE
15442016-01-21 Doug Evans <dje@google.com>
1545
1546 * lib/ada.exp (gdb_compile_ada): Fix typo.
1547
305e13e6
JB
15482016-01-21 Joel Brobecker <brobecker@adacore.com>
1549
1550 * gdb.base/break-fun-addr.exp: New file.
1551 * gdb.base/break-fun-addr1.c: New file.
1552 * gdb.base/break-fun-addr2.c: New file.
1553
5f5dfff6
SM
15542016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1555
1556 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1557 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1558 enum flag values.
1559
fd356fa2
AA
15602016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1561
1562 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1563 when GDB can not set the vector return value. Add more comments
1564 for clarification.
1565
9df22175
AT
15662016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1567
1568 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1569 command.
1570
41d1845e
SM
15712016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1572
1573 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1574
01ac6840
SM
15752016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1576
1577 * Makefile.in (check-single): Pass --status to runtest.
1578 (check/%.exp): Likewise.
1579
15802016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1581
1582 * Makefile.in (check-parallel): Propagate return code from make
1583 do-check-parallel.
1584
bd0a71fa
MK
15852016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1586
1587 * gdb.trace/ftrace.exp: Fix expected message on continue.
1588 * gdb.trace/pending.exp: Fix expected message on continue.
1589 * gdb.trace/trace-break.exp: Fix expected message on continue.
1590
8bcbad33
SM
15912016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1592
1593 * lib/gdb.exp (gdb_test): Remove unused global references.
1594
f303dbd6
PA
15952016-01-18 Pedro Alves <palves@redhat.com>
1596
1597 * gdb.base/async-shell.exp: Adjust expected output.
1598 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1599 * gdb.base/siginfo-thread.exp: Adjust expected output.
1600 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1601 * gdb.java/jnpe.exp: Adjust expected output.
1602 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1603 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1604 * gdb.threads/leader-exit.exp: Adjust expected output.
1605 * gdb.threads/manythreads.exp: Adjust expected output.
1606 * gdb.threads/pthreads.exp: Adjust expected output.
1607 * gdb.threads/schedlock.exp: Adjust expected output.
1608 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1609 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1610 expected output.
1611 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1612 output.
1613 * gdb.threads/sigthread.exp: Adjust expected output.
1614 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1615
b2789696
YQ
16162016-01-18 Yao Qi <yao.qi@linaro.org>
1617
1618 * gdb.guile/scm-section-script.c: Replace @progbits with
1619 %progbits.
1620 * gdb.python/py-section-script.c: Likewise.
1621
71ef29a8
PA
16222016-01-15 Pedro Alves <palves@redhat.com>
1623
1624 * gdb.multi/tids.exp: Test star wildcard ranges.
1625
3f5b7598
PA
16262016-01-15 Pedro Alves <palves@redhat.com>
1627
1628 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1629 command from "thread apply" invocation.
1630 (thr_apply_info_thr_invalid): Default the expected output to the
1631 input tid list.
1632 (top level): Add tests that use convenience variables. Add tests
1633 for "thread apply" with a valid TID list, but missing the command.
1634
663f6d42
PA
16352016-01-13 Pedro Alves <palves@redhat.com>
1636
1637 * gdb.base/default.exp: Expect $_gthread as well.
1638 * gdb.multi/tids.exp: Test $_gthread.
1639 * gdb.threads/thread-specific.exp: Test $_gthread.
1640
c84f6bbf
PA
16412016-01-13 Pedro Alves <palves@redhat.com>
1642
1643 * gdb.multi/tids.exp: Test "info threads -gid".
1644
22a02324
PA
16452016-01-13 Pedro Alves <palves@redhat.com>
1646
1647 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1648 Breakpoint.thread.
1649 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1650
5d5658a1
PA
16512016-01-07 Pedro Alves <palves@redhat.com>
1652
1653 * gdb.base/break.exp: Adjust to output changes.
1654 * gdb.base/hbreak2.exp: Likewise.
1655 * gdb.base/sepdebug.exp: Likewise.
1656 * gdb.base/watch_thread_num.exp: Likewise.
1657 * gdb.linespec/keywords.exp: Likewise.
1658 * gdb.multi/info-threads.exp: Likewise.
1659 * gdb.threads/thread-find.exp: Likewise.
1660 * gdb.multi/tids.c: New file.
1661 * gdb.multi/tids.exp: New file.
1662
84654457
PA
16632016-01-13 Pedro Alves <palves@redhat.com>
1664
1665 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1666
e3940304
PA
16672016-01-13 Pedro Alves <palves@redhat.com>
1668
1669 * gdb.base/default.exp: Expect $_inferior as well.
1670 * gdb.multi/base.exp: Test $_inferior.
1671
a911d87a
PA
16722016-01-13 Pedro Alves <palves@redhat.com>
1673
1674 PR breakpoints/19388
1675 * gdb.base/catch-signal-siginfo-cond.c: New file.
1676 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1677
82075af2
JS
16782016-01-12 Josh Stone <jistone@redhat.com>
1679 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1680
1681 * gdb.base/catch-syscall.c (do_execve): New variable.
1682 (main): Conditionally trigger an execve.
1683 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1684 (test_catch_syscall_execve): New, check entry/return across execve.
1685 (do_syscall_tests): Call test_catch_syscall_execve.
1686
e46eeedd
PA
16872016-01-12 Pedro Alves <palves@redhat.com>
1688
1689 * gdb.base/random-signal.exp (do_test): New procedure, with body
1690 of testcase moved in.
1691
01d8c27e
JK
16922016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1693 Pedro Alves <palves@redhat.com>
1694
1695 * gdb.base/funcargs.exp (finish from indirectly called function):
1696 Reintroduce the case for 'First'.
1697
9a706302
JK
16982016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1699 Pedro Alves <palves@redhat.com>
1700
1701 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1702 (tcatch_vfork_then_child_follow_exec)
1703 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1704 identification.
1705
c0ecb95f
JK
17062016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1707
1708 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1709 and repeats to unlimited.
1710 * gdb.python/py-value.exp: Likewise.
1711 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1712 and repeats to unlimited.
1713
6cfc1fcb
JK
17142016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1715
1716 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1717 and reordering the functions.
1718 * gdb.multi/hangout.c: Likewise.
1719 * gdb.multi/hello.c: Likewise.
1720
582a1b00
SM
17212016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1722
1723 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1724 absolute.
1725 (SingleStatisticTestResult.report): Use dict.keys instead of
1726 dict.iterkeys.
1727
79bc59cb
PA
17282016-01-06 Pedro Alves <palves@redhat.com>
1729
1730 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1731
43368e1d
MM
17322016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1733
1734 * gdb.btrace/dlopen.exp: New.
1735 * gdb.btrace/dlopen.c: New.
1736 * gdb.btrace/dlopen-dso.c: New.
1737
79fad5b8
SL
17382015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1739
1740 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1741 PATTERN argument is optional.
1742
ab8314b3
JB
17432015-12-24 Joel Brobecker <brobecker@adacore.com>
1744
1745 * lib/ada.exp (target_compile_ada_from_dir): New function.
1746 (gdb_compile_ada): Reimplement avoiding the use of project files.
1747 * gdb.ada/gnat_ada.gpr: Delete.
1748 * gdb.ada/cond_lang.exp: Adjust test to make path before
1749 filename optional.
1750 * gdb.ada/small_reg_param.exp: Likewise.
1751
fe33faff
SM
17522015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1753
1754 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1755
6d265cb4
TP
17562015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1757
1758 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1759 case.
1760
10125099
SM
17612015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1762
1763 * gdb.base/break.exp: Remove dead code.
1764 * gdb.base/sepdebug.exp: Likewise.
1765
3ca22649
SM
17662015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1767
1768 * gdb.asm/asm-source.exp: Remove HP-UX references.
1769 * gdb.base/annota1.exp: Likewise.
1770 * gdb.base/annota3.exp: Likewise.
1771 * gdb.base/attach.exp: Likewise.
1772 * gdb.base/bigcore.exp: Likewise.
1773 * gdb.base/break.exp: Likewise.
1774 * gdb.base/call-ar-st.exp: Likewise.
1775 * gdb.base/callfuncs.exp: Likewise.
1776 * gdb.base/catch-fork-static.exp: Likewise.
1777 * gdb.base/display.exp: Likewise.
1778 * gdb.base/foll-exec-mode.exp: Likewise.
1779 * gdb.base/foll-exec.exp: Likewise.
1780 * gdb.base/foll-fork.exp: Likewise.
1781 * gdb.base/foll-vfork.exp: Likewise.
1782 * gdb.base/funcargs.exp: Likewise.
1783 * gdb.base/hbreak2.exp: Likewise.
1784 * gdb.base/inferior-died.exp: Likewise.
1785 * gdb.base/interrupt.exp: Likewise.
1786 * gdb.base/multi-forks.exp: Likewise.
1787 * gdb.base/nodebug.exp: Likewise.
1788 * gdb.base/sepdebug.exp: Likewise.
1789 * gdb.base/solib1.c: Likewise.
1790 * gdb.base/step-test.exp: Likewise.
1791 * gdb.mi/non-stop.c: Likewise.
1792 * gdb.mi/pthreads.c: Likewise.
1793 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1794 * gdb.threads/pthreads.c: Likewise.
1795 * gdb.threads/staticthreads.exp: Likewise.
1796 * lib/future.exp: Likewise.
1797 * lib/gdb.exp: Likewise.
1798 * gdb.base/so-indr-cl.c: Remove.
1799 * gdb.base/so-indr-cl.exp: Likewise.
1800 * gdb.base/solib.c: Likewise.
1801 * gdb.base/solib.exp: Likewise.
1802 * gdb.base/solib2.c: Likewise.
1803
b6304613
SM
18042015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1805
1806 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1807 * gdb.base/call-ar-st.exp: Likewise.
1808 * gdb.base/callfuncs.exp: Likewise.
1809 * gdb.base/condbreak.exp: Likewise.
1810 * gdb.base/constvars.exp: Likewise.
1811 * gdb.base/hbreak2.exp: Likewise.
1812 * gdb.base/langs.exp: Likewise.
1813 * gdb.base/list.exp: Likewise.
1814 * gdb.base/long_long.exp: Likewise.
1815 * gdb.base/ptype.exp: Likewise.
1816 * gdb.base/scope.exp: Likewise.
1817 * gdb.base/signals.exp: Likewise.
1818 * gdb.base/so-impl-ld.exp: Likewise.
1819 * gdb.base/varargs.exp: Likewise.
1820 * gdb.base/volatile.exp: Likewise.
1821 * gdb.base/whatis.exp: Likewise.
1822 * gdb.cp/cplusfuncs.exp: Likewise.
1823 * gdb.cp/inherit.exp: Likewise.
1824 * gdb.cp/local.exp: Likewise.
1825 * gdb.cp/member-ptr.exp: Likewise.
1826 * gdb.cp/method.exp: Likewise.
1827 * gdb.cp/overload.exp: Likewise.
1828 * gdb.cp/templates.exp: Likewise.
1829 * gdb.stabs/weird.exp: Likewise.
1830 * lib/compiler.c: Likewise.
1831 * lib/compiler.cc: Likewise.
1832 * lib/cp-support.exp: Likewise.
1833 * lib/gdb.exp: Likewise.
1834
bf401b07
SM
18352015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1836
1837 * configure.ac: Remove HP-UX case.
1838 * configure: Regenerate.
1839
aff9c0f8
SM
18402015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1841
1842 * lib/gdb.exp (gdb_compile): Add function doc.
1843
a6904d5a
PA
18442015-12-17 Pedro Alves <palves@redhat.com>
1845
1846 PR threads/19354
1847 * gdb.multi/info-threads.exp: New file.
1848
a22279dd
YQ
18492015-12-15 Yao Qi <yao.qi@linaro.org>
1850
1851 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1852 is aarch64*-*-*.
1853
0588c796
SL
18542015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1855
1856 * gdb.base/history-duplicates.exp: Skip if no readline support.
1857
5d978e17
SL
18582015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1859
1860 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1861
7e763b86
SL
18622015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1863
1864 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1865
87a3a92c
SL
18662015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1867
1868 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1869 ctrl-C if nointerrupts target property is set.
1870 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1871 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1872 * gdb.base/paginate-bg-execution.exp: Likewise.
1873 * gdb.base/paginate-execution-startup.exp: Likewise.
1874 * gdb.base/random-signal.exp: Likewise.
1875 * gdb.base/range-stepping.exp: Likewise.
1876 * gdb.cp/annota2.exp: Likewise.
1877 * gdb.cp/annota3.exp: Likewise.
1878 * gdb.gdb/selftest.exp: Likewise.
1879 * gdb.threads/continue-pending-status.exp: Likewise.
1880 * gdb.threads/leader-exit.exp: Likewise.
1881 * gdb.threads/manythreads.exp: Likewise.
1882 * gdb.threads/pthreads.exp: Likewise.
1883 * gdb.threads/schedlock.exp: Likewise.
1884 * gdb.threads/sigthread.exp: Likewise.
1885
a8f077dc
DB
18862015-12-11 Don Breazeal <donb@codesourcery.com>
1887
1888 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1889 remote.
1890 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1891 * gdb.base/foll-exec.exp (main): Enable for target remote.
1892 * gdb.base/foll-fork.exp (main): Likewise.
1893 * gdb.base/foll-vfork.exp (main): Likewise.
1894 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1895 (proc continue_to_exit_bp_loc): Use clean_restart.
1896 * gdb.base/pie-execl.exp (main): Disable for target remote.
1897 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1898 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1899 * gdb.threads/execl.exp (main): Likewise.
1900 * gdb.threads/fork-child-threads.exp (main): Likewise.
1901 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1902 remote.
1903 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1904 remote.
1905 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1906 pid.tid style ptids, instead of just tid.
1907 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1908 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1909 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1910 ptids, instead of just tid.
1911
3b2464a8
AB
19122015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1913
1914 * gdb.base/list.exp (test_list_forward): Add end of file error
1915 test.
1916 (test_repeat_list_command): Add end of file error test.
1917 (test_list_backwards): Add beginning of file error test.
1918
a0def019
AB
19192015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1920
1921 * gdb.base/list.exp (test_list_invalid_args): New function,
1922 defined, and called.
1923
5c000dff
AB
19242015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1925
1926 * gdb.base/list.exp (test_list): Make test names unique.
1927
f1637ebe
YQ
19282015-12-11 Yao Qi <yao.qi@linaro.org>
1929
1930 * gdb.base/coremaker2.c: Remove.
1931
36d6fc0a
PA
19322015-12-10 Pedro Alves <palves@redhat.com>
1933
1934 * gdb.multi/base.exp: Remove stale "spaces" references.
1935
762f7747
PA
19362015-12-10 Pedro Alves <palves@redhat.com>
1937
1938 * gdb.multi/base.exp: Don't use nowarnings.
1939 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1940 * gdb.multi/hangout.c: Include stdio.h.
1941 * gdb.multi/hello.c: Include stdlib.h.
1942 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1943 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1944 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1945
28d2bfb9
AB
19462015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1947
1948 * gdb.dwarf2/dw2-ranges-base.c: New file.
1949 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1950 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1951 support additional line table, and debug ranges generation.
1952 (Dwarf::ranges): New function, generate .debug_ranges.
1953 (Dwarf::lines): Support generating simple line table programs.
1954 (Dwarf::assemble): Initialise new namespace variables.
1955
5fc2beac
KB
19562015-12-09 Kevin Buettner <kevinb@redhat.com>
1957
1958 * gdb.base/async.exp (proc test_background): Add case for
1959 asynchronous execution not supported.
1960
1c35a88f
LM
19612015-12-09 Luis Machado <lgustavo@codesourcery.com>
1962
1963 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1964 format and change test names to make them unique.
1965
b593e3d9
RK
19662015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1967 Pedro Alves <pedro@redhat.com>
1968
1969 PR gdb/18702
1970 Add checking of floatformats setup on x86_64 hosts.
1971 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1972 (smallval, bigval): New labels/constants.
1973 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1974 float" after loading bigval and smallval.
1975
d72413e6
PMR
19762015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1977
1978 * gdb.ada/fun_overload_menu.exp: New testcase.
1979 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1980
ece66d65
JS
19812015-12-04 Josh Stone <jistone@redhat.com>
1982
1983 * gdb.base/catch-fork-static.exp: New.
1984
41d0efca
YQ
19852015-12-03 Yao Qi <yao.qi@linaro.org>
1986
1987 * gdb.base/sizeof.c: Don't include stdio.h and
1988 ../lib/unbuffer_output.c.
1989 (main): New variable 'size' and 'value'. Remove printf and
1990 gdb_unbuffer_output. Assign return value to size and value.
1991 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1992 at the beginning.
1993 (check_sizeof): Check the result by printing variable 'size'.
1994 (check_valueof): Check the result by printing variable 'value'.
1995
99fd02d9
YQ
19962015-12-01 Yao Qi <yao.qi@linaro.org>
1997
1998 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1999 for aarch64*-*-linux* target.
2000
f2faf941
PA
20012015-11-30 Pedro Alves <palves@redhat.com>
2002
2003 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2004
04bf20c5
PA
20052015-11-30 Pedro Alves <palves@redhat.com>
2006
2007 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2008 Handle non-stop mode vCont replies.
2009
09df4675
PA
20102015-11-30 Pedro Alves <palves@redhat.com>
2011
2012 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2013 prepare_for_testing. Start gdb with "set non-stop on" appended to
2014 GDBFLAGS. Lax expected stop output.
2015
58b584af
YQ
20162015-11-27 Yao Qi <yao.qi@linaro.org>
2017
2018 * gdb.arch/arm-neon.exp: New.
2019 * gdb.arch/arm-neon.c: New.
2020
dfcb77a8
YQ
20212015-11-27 Yao Qi <yao.qi@linaro.org>
2022
2023 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2024
88e8ec1b
YQ
20252015-11-27 Yao Qi <yao.qi@linaro.org>
2026
2027 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2028 frames-invalid annotation.
2029
bfde72c2
YQ
20302015-11-27 Yao Qi <yao.qi@linaro.org>
2031
2032 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2033
f6512a69
SM
20342015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2035
2036 * gdb.threads/names.exp: New file.
2037 * gdb.threads/names.c: New file.
2038 * README: Mention gdb,no_thread_names.
2039
46a3515b
MM
20402015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2041
2042 PR 19297
2043 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2044 support" error.
2045
62147a22
PA
20462015-11-24 Pedro Alves <palves@redhat.com>
2047
2048 PR 17539
2049 * gdb.base/display.exp: Expect displays to be sorted in ascending
2050 order. Use multi_line.
2051 * gdb.base/solib-display.exp: Likewise.
2052
2f341b6e
PA
20532015-11-24 Pedro Alves <palves@redhat.com>
2054
2055 PR 17539
25d49b86
PA
2056 * gdb.base/display.exp: Expect displays to be sorted in ascending
2057 order. Use multi_line.
2058 * gdb.base/solib-display.exp: Likewise.
2f341b6e 2059
7e0aa6aa
PA
20602015-11-24 Pedro Alves <palves@redhat.com>
2061
2062 PR 17539
2063 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2064 threads in ascending order.
2065 * gdb.base/foll-fork.exp: Likewise.
2066 * gdb.base/foll-vfork.exp: Likewise.
2067 * gdb.base/multi-forks.exp: Likewise.
2068 * gdb.mi/mi-nonstop.exp: Likewise.
2069 * gdb.mi/mi-nsintrall.exp: Likewise.
2070 * gdb.multi/base.exp: Likewise.
2071 * gdb.multi/multi-arch.exp: Likewise.
2072 * gdb.python/py-inferior.exp: Likewise.
2073 * gdb.threads/break-while-running.exp: Likewise.
2074 * gdb.threads/execl.exp: Likewise.
2075 * gdb.threads/gcore-thread.exp: Likewise.
2076 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2077 * gdb.threads/kill.exp: Likewise.
2078 * gdb.threads/linux-dp.exp: Likewise.
2079 * gdb.threads/multiple-step-overs.exp: Likewise.
2080 * gdb.threads/next-bp-other-thread.exp: Likewise.
2081 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2082 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2083 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2084 * gdb.threads/thread-find.exp: Likewise.
2085 * gdb.threads/tls.exp: Likewise.
2086 * lib/mi-support.exp (mi_reverse_list): Delete.
2087 (mi_check_thread_states): No longer reverse list.
2088
2cc57ad8
PA
20892015-11-24 Pedro Alves <palves@redhat.com>
2090
2091 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2092 use lowercase.
2093
c93e8391
SM
20942015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2095
2096 * gdb.trace/actions.c: Include trace-common.h.
2097 (main): Add a location for a fast tracepoint.
2098 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2099 the normal tracepoints.
2100 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2101
045ccf91
SM
21022015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2103
2104 * save-trace.exp: Factor out code to these...
2105 (gdb_save_tracepoints): New.
2106 (gdb_load_tracepoints): New.
2107 (do_save_load_test): New.
2108
5506f9f6
KB
21092015-11-23 Kevin Buettner <kevinb@redhat.com>
2110
2111 * gdb.base/asmlabel.exp: New test.
2112 * gdb.base/asmlabel.c: New test case.
2113
16c3b12f
JB
21142015-11-23 Joel Brobecker <brobecker@adacore.com>
2115
2116 * gdb.base/wrong_frame_bt_full-main.c: New file.
2117 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2118 * gdb.base/wrong_frame_bt_full.exp: New file.
2119
155bfbd3
JB
21202015-11-23 Joel Brobecker <brobecker@adacore.com>
2121
2122 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2123
bb097445
JM
21242015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2125
206853a0 2126 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
2127 pstate register when comparing registers values in
2128 sparc64-*-linux-gnu targets to avoid spurious differences.
2129
9c88ed8f
JM
21302015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2131
206853a0 2132 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 2133
96161e25
SL
21342015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2135
2136 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2137 as type argument to gdb_compile.
2138 * gdb.base/nested-subp2.exp: Likewise.
2139 * gdb.base/nested-subp3.exp: Likewise.
2140
340c2830
DV
21412015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2142
2143 * lib/dwarf.exp (_note): Fix left shift of negative value.
2144 * gdb.trace/trace-condition.exp: Likewise.
2145
c1862d0f
YQ
21462015-11-13 Yao Qi <yao.qi@linaro.org>
2147
2148 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2149 comments about d10v.
2150 (test_scalar_returns): Likewise.
2151 * gdb.base/d10v.ld: Remove.
2152 * gdb.base/overlays.exp: Remove the target triplet checking for
2153 d10v-*-*.
2154 * gdb.base/structs.exp (test_struct_returns): Remove the
2155 comments about d10v.
2156 (test_struct_calls): Likewise.
2157
77ae9c19
YQ
21582015-11-13 Yao Qi <yao.qi@linaro.org>
2159
2160 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2161 * gdb.base/gnu_vector.c: Don't include stdio.h.
2162 (main): Don't print res and call add_some_intvecs.
2163
430e004e
MK
21642015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2165
2166 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2167 macro.
2168 (func5): Removed.
2169 (func4): Use FAST_TRACEPOINT_LABEL.
2170 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2171 macro.
2172 (func): Removed.
2173 (thread_function): Use FAST_TRACEPOINT_LABEL.
2174 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2175 (func): Remove.
2176 (marker): Use FAST_TRACEPOINT_LABEL.
2177 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2178 (pendfunc1): Remove.
2179 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2180 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2181 (foo): Remove.
2182 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2183 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2184 macro.
2185 (func): Remove.
2186 (marker): Use FAST_TRACEPOINT_LABEL.
2187 * gdb.trace/trace-common.h: New header.
2188 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2189 macro.
2190 (func): Remove.
2191 (marker): Use FAST_TRACEPOINT_LABEL.
2192 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2193 (func): Remove.
2194 (thread_function): Use FAST_TRACEPOINT_LABEL.
2195
6e7675a7
MK
21962015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2197
2198 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2199 in front.
2200 * gdb.trace/change-loc.exp: Use global pcreg definition.
2201 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2202 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2203 in front.
2204 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2205 * gdb.trace/pending.exp: Likewise.
2206 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2207 * gdb.trace/trace-break.exp: Likewise.
2208 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2209 in front.
2210 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2211 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2212 in front.
2213 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2214
dddc0e16
JB
22152015-11-09 Joel Brobecker <brobecker@adacore.com>
2216
2217 * gdb.ada/fin_fun_out: New testcase.
2218
c6f0b406
KB
22192015-11-07 Kevin Buettner <kevinb@redhat.com>
2220
2221 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2222 value associated with DW_AT_byte_size.
2223 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2224 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2225 DW_AT_upper_bound.
2226
f01dcfd9
KB
22272015-11-07 Kevin Buettner <kevinb@redhat.com>
2228
2229 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2230 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2231 version.
2232 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2233 gdb.dwarf2/dw2-canonicalize-type.exp,
2234 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2235 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2236 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2237 provided by gdb_target_symbol_prefix_flags_asm.
2238 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2239 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2240 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2241 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2242 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2243 macros where needed). Use this macro for symbols which require
2244 the prefix provided by SYMBOL_PREFIX.
2245
2223449a
KB
22462015-11-05 Kevin Buettner <kevinb@redhat.com>
2247
2248 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2249 New procs.
2250 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2251 representing expressions, of more than one list element.
2252 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2253 to prepend linker symbol prefix to f.
2254 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2255 table_1 and table_2.
2256 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2257 Likewise, for f and g.
2258 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2259 for ptr.
2260 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2261 for main.
2262 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2263 table_1_ptr and table_2_ptr.
2264
6f2f1a3a
JK
22652015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2266 Joel Brobecker <brobecker@adacore.com>
2267
2268 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2269
566c56c9
MK
22702015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2271
2272 * gdb.reverse/s390-mvcle.c: New test.
2273 * gdb.reverse/s390-mvcle.exp: New file.
2274 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2275
d5f0636b
MK
22762015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2277
2278 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2279
7ad8b86c
MK
22802015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2281
2282 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2283 reaching marker2.
2284 * gdb.reverse/getresuid-reverse.exp: Likewise.
2285 * gdb.reverse/pipe-reverse.exp: Likewise.
2286 * gdb.reverse/readv-reverse.exp: Likewise.
2287 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2288 * gdb.reverse/time-reverse.exp: Likewise.
2289 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2290
4081c0f1
YQ
22912015-10-30 Yao Qi <yao.qi@linaro.org>
2292
2293 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2294 (empty_cycle): Remove.
2295 (main): Don't call empty_cycle. Don't use watch_count_done.
2296 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2297 empty_cycle. Rewrite the code counting HW watchpoints.
2298
452b4ba5
MK
22992015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2300
2301 * gdb.reverse/fstatat-reverse.c: New test.
2302 * gdb.reverse/fstatat-reverse.exp: New file.
2303 * gdb.reverse/getresuid-reverse.c: New test.
2304 * gdb.reverse/getresuid-reverse.exp: New file.
2305 * gdb.reverse/pipe-reverse.c: New test.
2306 * gdb.reverse/pipe-reverse.exp: New file.
2307 * gdb.reverse/readv-reverse.c: New test.
2308 * gdb.reverse/readv-reverse.exp: New file.
2309 * gdb.reverse/recvmsg-reverse.c: New test.
2310 * gdb.reverse/recvmsg-reverse.exp: New file.
2311 * gdb.reverse/time-reverse.c: New test.
2312 * gdb.reverse/time-reverse.exp: New file.
2313 * gdb.reverse/waitpid-reverse.c: New test.
2314 * gdb.reverse/waitpid-reverse.exp: New file.
2315
5e2e7507
JK
23162015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2317
2318 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2319
0fde2c53
DE
23202015-10-26 Doug Evans <dje@google.com>
2321
2322 PR symtab/17391
2323 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2324 * gdb.dwarf2/bad-regnum.c: New file.
2325 * gdb.dwarf2/bad-regnum.exp: New file.
2326
1a70ae97
DE
23272015-10-26 Doug Evans <dje@google.com>
2328
2329 PR python/18938
2330 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2331 file.
2332
27dc26ab
JK
23332015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2334
2335 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2336 for a change by "Mention language in compile error message".
2337
bed91f4d
SM
23382015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2339
2340 PR python/18073
2341 * gdb.python/py-type.c (C::a_method): New.
2342 (C::a_const_method): New.
2343 (C::a_static_method): New.
2344 (a_function): New.
2345 * gdb.python/py-type.exp (test_fields): Test getting fields
2346 from function and method.
2347
3f2f83dd
KB
23482015-10-21 Keven Boell <keven.boell@intel.com>
2349
2350 * gdb.fortran/vla-alloc-assoc.exp: New file.
2351 * gdb.fortran/vla-datatypes.exp: New file.
2352 * gdb.fortran/vla-datatypes.f90: New file.
2353 * gdb.fortran/vla-history.exp: New file.
2354 * gdb.fortran/vla-ptype-sub.exp: New file.
2355 * gdb.fortran/vla-ptype.exp: New file.
2356 * gdb.fortran/vla-sizeof.exp: New file.
2357 * gdb.fortran/vla-sub.f90: New file.
2358 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2359 * gdb.fortran/vla-value-sub-finish.exp: New file.
2360 * gdb.fortran/vla-value-sub.exp: New file.
2361 * gdb.fortran/vla-value.exp: New file.
2362 * gdb.fortran/vla-ptr-info.exp: New file.
2363 * gdb.mi/mi-vla-fortran.exp: New file.
2364 * gdb.mi/vla.f90: New file.
2365
27145d50
SL
23662015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2367
2368 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2369 of hardwired timeout value.
2370
5f3ff4f8
JK
23712015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2372 Pedro Alves <palves@redhat.com>
2373
2374 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2375 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2376
bfd09d20
JS
23772015-10-19 Josh Stone <jistone@redhat.com>
2378
2379 * gdb.base/catch-syscall.c: Include <sched.h>.
2380 (unknown_syscall): New variable.
2381 (main): Trigger a vfork and an unknown syscall.
2382 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2383 (unknown_syscall_number): Likewise.
2384 (check_call_to_syscall): Accept an optional syscall pattern.
2385 (check_return_from_syscall): Likewise.
2386 (check_continue): Likewise.
2387 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2388 (test_catch_syscall_skipping_return): New test toggling off 'catch
2389 syscall' to step over the syscall return, then toggling back on.
2390 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2391 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2392 (do_syscall_tests): Call test_catch_syscall_without_args and
2393 test_catch_syscall_mid_vfork.
2394 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2395 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2396
b32b93c6
AS
23972015-10-19 Andrew Stubbs <ams@codesourcery.com>
2398
2399 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2400 print g_vE): Add new pass patterns.
2401 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2402 print various symbol names for vptr fields.
2403
9d622bda
AB
24042015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2405
2406 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2407 results.
2408
0fd8ac1c
YQ
24092015-10-12 Yao Qi <yao.qi@linaro.org>
2410
2411 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2412
34240514
YQ
24132015-10-12 Yao Qi <yao.qi@linaro.org>
2414
2415 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2416 is aarch64*-*-linux*.
2417
8240f442
YQ
24182015-10-12 Yao Qi <yao.qi@linaro.org>
2419
2420 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2421 (can_relocate_bcond_true): ... it.
2422 (can_relocate_bcond_false): New function.
2423 (foo): Likewise.
2424 (can_relocate_bl): Likewise.
2425 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2426 can_relocate_bl.
2427
2520f728
PMR
24282015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2429
2430 * gdb.base/nested-addr.c: New file.
2431 * gdb.base/nested-addr.exp: New testcase.
2432
abcef95a
MM
24332015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2434
2435 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2436 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2437 its output. Ignore the output of "record goto begin" and instead
2438 check that GDB is replaying.
2439
145e3ddb
PA
24402015-10-09 Pedro Alves <palves@redhat.com>
2441
2442 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2443 (top level): Use it in the run with no args test.
2444
d5d8c4e1
IB
24452015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2446
2447 * gdb.dlang/properties.exp: New file.
2448
06e635ef
SL
24492015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2450
2451 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2452 whether or not address 0x1000 is mapped on the target.
2453
e019fd1d
SM
24542015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2455
2456 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2457 build.
2458
77ba2a67
MM
24592015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2460
2461 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2462 instruction-history test.
2463
c60eb31f
DE
24642015-09-28 Doug Evans <dje@google.com>
2465
2466 * gdb.base/gcore.c (array_func): Add reference to static_array.
2467
9a3c8263
SM
24682015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2469
2470 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2471 source line.
2472
9720e656
SL
24732015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2474
2475 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2476 short or char as base type.
2477
938d3bf2
SL
24782015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2479
2480 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2481 to allow any size enum.
2482
e6c2c623
PMR
24832015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2484
2485 * gdb.ada/array_ptr_renaming.exp: New testcase.
2486 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2487 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2488
06da0f77
PL
24892015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2490
2491 * gdb.trace/ftrace-lock.c: New file.
2492 * gdb.trace/ftrace-lock.exp: New file.
2493
4f51c22a
PL
24942015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2495
2496 * gdb.arch/insn-reloc.c: New file.
2497 * gdb.arch/ftrace-insn-reloc.exp: New file.
2498
7041adf4
PL
24992015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2500
2501 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2502 instruction.
2503 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2504 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2505 * gdb.trace/range-stepping.c: Likewise.
2506 * gdb.trace/trace-break.c: Likewise.
2507 * gdb.trace/trace-mt.c (thread_function): Likewise.
2508 * gdb.trace/ftrace.c (marker): Likewise.
2509 * gdb.trace/trace-condition.c (marker): Likewise.
2510 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2511 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2512 is_aarch64_target.
2513
015d2e7e
DE
25142015-09-18 Doug Evans <xdje42@gmail.com>
2515
2516 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2517 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2518
26b188a2
SL
25192015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2520
2521 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2522 the breakpoint.
2523
79dc332b
SL
25242015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2525
2526 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2527 the pending breakpoint. Remove timeout override for "Run till
2528 MI pending breakpoint on pendfunc3 on thread 2" test.
2529
f57929f2
SL
25302015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2531
2532 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2533 filename pattern.
2534
3f469b17
SL
25352015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2536
2537 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2538 in breakpoint filename pattern.
2539
515b89b3
SL
25402015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2541
7800dbe4
SL
2542 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2543
25442015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2545
515b89b3
SL
2546 * gdb.linespec/explicit.exp: Check for readline support for
2547 tab-completion tests. Fix obvious typo.
2548
d2939ba2
MM
25492015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2550
2551 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2552 and replay.
2553
cbb55fa7
MM
25542015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2555
2556 * gdb.btrace/non-stop.c: New.
2557 * gdb.btrace/non-stop.exp: New.
2558
43691ca1
PL
25592015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2560 Yao Qi <yao.qi@linaro.org>
2561
2562 * gdb.trace/trace-condition.c: New file.
2563 * gdb.trace/trace-condition.exp: New file.
2564
d78908cf
WW
25652015-09-16 Wei-cheng Wang <cole945@gmail.com>
2566
2567 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2568 for testing bytecode compilation.
2569
1ed415e2
PA
25702015-09-16 Pedro Alves <palves@redhat.com>
2571 Sandra Loosemore <sandra@codesourcery.com>
2572
2573 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2574 (SECONDS): Redefine.
2575 (main): Call pthread_kill and alarm early.
2576 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2577 support.
2578 (test): If the target can't hardware step and doesn't support
2579 displaced stepping, increase the timeout.
2580
d136eff5
PA
25812015-09-16 Pedro Alves <palves@redhat.com>
2582
2583 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2584 (enable_debug): New procedures.
2585 (test): Use them. Bail out if waiting for threads fails.
2586 (top level): Bail out if a test fails.
2587
991f019c
YQ
25882015-09-16 Yao Qi <yao.qi@linaro.org>
2589
2590 * gdb.asm/asm-source.exp: Set asm-arch for
2591 aarch64*-*-* target.
2592 * gdb.asm/aarch64.inc: New file.
2593
bfca584f
PMR
25942015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2595
2596 * gdb.ada/array_of_variable_length.exp: New testcase.
2597 * gdb.ada/array_of_variable_length/foo.adb: New file.
2598 * gdb.ada/array_of_variable_length/pck.adb: New file.
2599 * gdb.ada/array_of_variable_length/pck.ads: New file.
2600
b326e587
DE
26012015-09-15 Doug Evans <dje@google.com>
2602
2603 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2604 of function static local variable.
2605
5382cfab
PW
26062015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2607
2608 * gdb.threads/tls-so_extern.exp: New test file.
2609 * gdb.threads/tls-so_extern.c: New test file.
2610 * gdb.threads/tls-so_extern_main.c: New test file.
2611
141c5cc4
JK
26122015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2613
2614 * gdb.opt/solib-intra-step-lib.c: New file.
2615 * gdb.opt/solib-intra-step-main.c: New file.
2616 * gdb.opt/solib-intra-step.exp: New file.
2617
d15dcecd
PA
26182015-09-15 Pedro Alves <palves@redhat.com>
2619
2620 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2621 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2622
4c2f2a79
PA
26232015-09-14 Pedro Alves <palves@redhat.com>
2624
2625 * gdb.base/hook-stop-continue.c: Delete.
2626 * gdb.base/hook-stop-continue.exp: Delete.
2627 * gdb.base/hook-stop-frame.c: Delete.
2628 * gdb.base/hook-stop-frame.exp: Delete.
2629 * gdb.base/hook-stop.c: New file.
2630 * gdb.base/hook-stop.exp: New file.
2631
919e6dbe
PMR
26322015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2633
2634 * gdb.ada/access_to_packed_array.exp: New testcase.
2635 * gdb.ada/access_to_packed_array/foo.adb: New file.
2636 * gdb.ada/access_to_packed_array/pack.adb: New file.
2637 * gdb.ada/access_to_packed_array/pack.ads: New file.
2638
157280a4
MM
26392015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2640
2641 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2642 buffer size test.
2643
2fd33e94
DB
26442015-09-11 Don Breazeal <donb@codesourcery.com>
2645
2646 * gdb.base/foll-exec.c: Add copyright header. Fix
2647 formatting issues.
2648 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2649 (do_exec_tests): Use clean_restart in place of zap_session,
2650 and for test initialization. Fix formatting issues. Use
2651 fail in place of perror.
2652 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2653 an expect statement to match an expression with output from
2654 the program under debug.
2655 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2656 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2657 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2658 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2659 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2660
e70b6e8e
DE
26612015-09-09 Doug Evans <dje@google.com>
2662
2663 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2664
7a551a51
DE
26652015-09-09 Doug Evans <dje@google.com>
2666
2667 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2668
4c666f84
DE
26692015-09-09 Doug Evans <dje@google.com>
2670
2671 * gdb.base/savedregs.exp: Fix typo.
2672
243a9253
PA
26732015-09-09 Pedro Alves <palves@redhat.com>
2674
2675 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2676
c0fa8fbd
SL
26772015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2678
2679 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2680 command actually switches threads. Give up on remaining
2681 tests if target fails to stop at breakpoint.
2682
cd7c1778
PMR
26832015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2684
2685 * gdb.ada/funcall_char.exp: New testcase.
2686 * gdb.ada/funcall_char/foo.adb: New file.
2687
dc5c8746
PMR
26882015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2689
2690 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2691 expected outputs. Add two testcases for completing ambiguous
2692 functions.
2693 * gdb.ada/complete/aux_pck.adb: New file.
2694 * gdb.ada/complete/aux_pck.ads: New file.
2695 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2696 Ambiguous_Func functions.
2697 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2698 * gdb.ada/complete/pck.adb: Likewise.
2699
4e83a1e7
UW
27002015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2701
2702 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2703 failures to run the test program under GDB.
2704
8ce74153
LM
27052015-08-26 Luis Machado <lgustavo@codesourcery.com>
2706
2707 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2708 to C.
2709
e9756d52
PP
27102015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2711
2712 * gdb.base/run-after-attach.exp: New test file.
2713 * gdb.base/run-after-attach.c: New test file.
2714
8d37573b
DB
27152015-08-26 Don Breazeal <donb@codesourcery.com>
2716
2717 * gdb.base/foll-exec-2.c: New test program.
2718 * gdb.base/foll-exec-2.exp: New test.
2719
63e43d3a
PMR
27202015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2721
2722 * gdb.base/nested-subp1.exp: New file.
2723 * gdb.base/nested-subp1.c: New file.
2724 * gdb.base/nested-subp2.exp: New file.
2725 * gdb.base/nested-subp2.c: New file.
2726 * gdb.base/nested-subp3.exp: New file.
2727 * gdb.base/nested-subp3.c: New file.
2728
3d40fbb5
PA
27292015-08-24 Pedro Alves <palves@redhat.com>
2730
2731 * gdb.server/connect-without-multi-process.c: New file.
2732 * gdb.server/connect-without-multi-process.exp: New file.
2733
4422ac93
LM
27342015-08-24 Luis Machado <lgustavo@codesourcery.com>
2735
2736 * gdb.opt/inline-markers.c: Make z int.
2737
91dddb86
LM
27382015-08-24 Luis Machado <lgustavo@codesourcery.com>
2739
2740 * gdb.opt/inline-markers.c: Make z volatile.
2741
a48847ee
LM
27422015-08-24 Luis Machado <lgustavo@codesourcery.com>
2743
2744 * gdb.opt/inline-bt.c: New volatile global z.
2745 * gdb.opt/inline-cmds.c: Likewise.
2746 * gdb.opt/inline-locals.c: Likewise.
2747 * gdb.opt/inline-markers.c: New extern global z.
2748 (marker): Use z.
2749 (inline_fn): Likewise.
2750
0ebbc52b
PA
27512015-08-24 Pedro Alves <palves@redhat.com>
2752
2753 * config/m32r-stub.exp: Remove file.
2754 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2755 * gdb.base/call-rt-st.exp: Likewise.
2756 * gdb.base/call-strs.exp: Likewise.
2757 * gdb.base/default.exp: Remove references to h8300-*-hms and
2758 *-*-udi*.
2759 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2760
77c365df
AA
27612015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2762
2763 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2764 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2765 and "return" use KFAIL when GDB can not read/write the vector
2766 return value.
2767
4313b8c0
GB
27682015-08-21 Gary Benson <gbenson@redhat.com>
2769
2770 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2771
0e433b32
PA
27722015-08-20 Pedro Alves <palves@redhat.com>
2773
2774 * gdb.server/solib-list.exp: No longer expect an interior stop in
2775 non-stop mode.
2776
221e1a37
PA
27772015-08-20 Pedro Alves <palves@redhat.com>
2778
2779 * gdb.server/connect-stopped-target.c: New file.
2780 * gdb.server/connect-stopped-target.exp: New file.
2781
40e3ad0e
PA
27822015-08-20 Pedro Alves <palves@redhat.com>
2783
2784 * gdb.dwarf2/comp-unit-lang.exp: New file.
2785 * gdb.dwarf2/comp-unit-lang.c: New file.
2786
af39b327
PMR
27872015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2788
2789 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2790 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2791
7d45c7c3 27922015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 2793
7d45c7c3
KB
2794 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2795 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2796
4d6cceb4
DE
27972015-08-18 Doug Evans <dje@google.com>
2798 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2799
2800 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2801 skip_python_tests. New arg prompt_regexp.
2802 (skip_python_tests): New function.
2803 * lib/mi-support.exp (mi_skip_python_tests): New function.
2804 * gdb.python/py-mi-objfile-gdb.py: New file.
2805 * gdb.python/py-mi-objfile.c: New file.
2806 * gdb.python/py-mi-objfile.exp: New file.
2807
ad89c2aa
KS
28082015-08-17 Keith Seitz <keiths@redhat.com>
2809
2810 * gdb.linespec/explicit.exp: Move strace test from here ...
2811 * gdb.trace/strace.exp: ... to here.
2812
e3ae3c43
PP
28132015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2814
2815 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2816 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2817
604b2636
DE
28182015-08-14 Doug Evans <xdje42@gmail.com>
2819
2820 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2821 inferior before selecting a new file.
2822
6ff0ba5f
DE
28232015-08-14 Doug Evans <xdje42@gmail.com>
2824
2825 * gdb.mi/mi-disassemble.exp: Update.
2826 * gdb.base/disasm-optim.S: New file.
2827 * gdb.base/disasm-optim.c: New file.
2828 * gdb.base/disasm-optim.h: New file.
2829 * gdb.base/disasm-optim.exp: New file.
2830
9ca98f92
KS
28312015-08-14 Keith Seitz <keiths@redhat.com>
2832
2833 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2834 "evaluated-by".
2835
52bbc560
JB
28362015-08-13 Joel Brobecker <brobecker@adacore.com>
2837
2838 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2839
5d8c3ed3
PMR
28402015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2841
2842 * gdb.ada/fun_renaming.exp: New testcase.
2843 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2844 * gdb.ada/fun_renaming/pack.adb: New file.
2845 * gdb.ada/fun_renaming/pack.ads: New file.
2846
ea8812bc
KS
28472015-08-12 Keith Seitz <keiths@redhat.com>
2848
2849 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2850 gdb_get_line_number.
2851
4dafcdeb
JB
28522015-08-12 Joel Brobecker <brobecker@adacore.com>
2853
2854 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2855 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2856 gdb.base/dso2dso.exp: New files.
2857
5ba32597
SDJ
28582015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2859 Pedro Alves <palves@redhat.com>
2860 Keith Seitz <keiths@redhat.com>
2861
2862 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2863 GDBFLAGS.
2864
b6dafabf
PP
28652015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2866
2867 * gdb.base/gdbhistsize-history.exp
2868 (test_histsize_history_setting): Use save_vars.
2869 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2870 Use save_vars.
2871 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2872 * gdb.base/readline.exp: Use save_vars.
2873
abe8e607
PP
28742015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2875
2876 * lib/gdb.exp (save_vars): New proc.
2877
629500fa
KS
28782015-08-11 Keith Seitz <keiths@redhat.com>
2879
2880 * gdb.base/help.exp: Update help_breakpoint_text.
2881
eb8c4e2e
KS
28822015-08-11 Keith Seitz <keiths@redhat.com>
2883
2884 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2885 (at toplevel): Call test_explicit_breakpoints.
2886 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2887 breakpoints.
2888 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2889 breakpoint conditions, "-cond".
2890
87f0e720
KS
28912015-08-11 Keith Seitz <keiths@redhat.com>
2892
2893 * gdb.linespec/3explicit.c: New file.
2894 * gdb.linespec/cpexplicit.cc: New file.
2895 * gdb.linespec/cpexplicit.exp: New file.
2896 * gdb.linespec/explicit.c: New file.
2897 * gdb.linespec/explicit.exp: New file.
2898 * gdb.linespec/explicit2.c: New file.
2899 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2900 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2901 before using in the matching pattern.
2902 Clarify that `prefix' is a regular expression.
2903
f00aae0f
KS
29042015-08-11 Keith Seitz <keiths@redhat.com>
2905
2906 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2907 test.
2908 Add tests for missing ",FMT" and ",".
2909
e27852be
DE
29102015-08-10 Doug Evans <dje@google.com>
2911 Keith Seitz <keiths@redhat.com>
2912
2913 PR gdb/17960
2914 * gdb.base/completion.exp: Add location completer tests.
2915
7f03bd92
PA
29162015-08-07 Pedro Alves <palves@redhat.com>
2917
2918 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2919 tests here.
2920 (top level): Run do_test with and without displaced stepping.
2921
3fc8eb30
PA
29222015-08-07 Pedro Alves <palves@redhat.com>
2923
2924 * gdb.base/valgrind-disp-step.c: New file.
2925 * gdb.base/valgrind-disp-step.exp: New file.
2926
d4569d7b
PA
29272015-08-07 Pedro Alves <palves@redhat.com>
2928
2929 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2930 Delete function.
2931 (main): Add alarm. Run an infinite loop instead of calling
2932 wait_threads.
2933 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2934 comment.
2935 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2936 Delete function.
2937 (main): Add alarm. Run an infinite loop instead of calling
2938 wait_threads.
2939 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2940 comment.
2941
e1316e60
PA
29422015-08-07 Pedro Alves <palves@redhat.com>
2943
2944 * gdb.base/checkpoint-ns.exp: New file.
2945 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2946 standard_testfile.
2947
da8c46d2
MM
29482015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2949
2950 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2951 * gdb.btrace/instruction_history.exp: Update.
2952 * gdb.btrace/tsx.exp: New.
2953 * gdb.btrace/tsx.c: New.
2954
de1c2c52
PA
29552015-08-06 Pedro Alves <palves@redhat.com>
2956
2957 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2958 increase timeout.
2959 * gdb.reverse/until-precsave.exp: Bump timeouts.
2960
782e0bf4
PA
29612015-08-06 Pedro Alves <palves@redhat.com>
2962
2963 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2964
83e97ed0
PA
29652015-08-06 Pedro Alves <palves@redhat.com>
2966
2967 PR gdb/18749
2968 * gdb.threads/process-dies-while-handling-bp.c: New file.
2969 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2970
863d01bd
PA
29712015-08-06 Pedro Alves <palves@redhat.com>
2972
2973 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2974 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2975
0a39bb32
PA
29762015-08-05 Pedro Alves <palves@redhat.com>
2977
2978 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2979 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2980
ee2d2b10
SL
29812015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2982
2983 * gdb.base/bp-permanent.exp: Report test as unsupported if
2984 the target cannot stop at the permanent breakpoint.
2985
4e1bdb00
DE
29862015-08-03 Doug Evans <dje@google.com>
2987
2988 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2989 10000.
2990
3d338901
DE
29912015-08-03 Doug Evans <dje@google.com>
2992
2993 * Makefile.in (workers/%.worker, build-perf): New rule.
2994 (GDB_PERFTEST_MODE): New variable.
2995 (check-perf): Use it.
2996 (clean): Clean up gdb.perf parallel build subdirs.
2997 * lib/build-piece.exp: New file.
2998 * lib/gdb.exp (make_gdb_parallel_path): New function
2999 (standard_output_file, standard_temp_file): Call it.
3000 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3001 of $GDB_PARALLEL.
3002 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3003
af061d3e
DE
30042015-08-03 Doug Evans <dje@google.com>
3005
8e1afc81 3006 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
3007 (LOG_FILE_NAME): New global.
3008 (TextReporter.__init__): Initialize self.txt_sum.
3009 (TextReporter.report): Add support for multiple data-points.
3010 Move report to perftest.sum, put raw data in perftest.log.
3011 (TextReporter.start): Open sum and log files.
3012 (TextReporter.end): Close sum and log files.
8e1afc81
DE
3013 * gdb.perf/lib/perftest/testresult.py
3014 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 3015
2c8c5d37
PA
30162015-07-31 Pedro Alves <palves@redhat.com>
3017
3018 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3019 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3020 kill_wait_spawned_process instead of explicit "kill -9".
3021 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3022 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3023 kill_wait_spawned_process.
3024 * gdb.base/attach-twice.exp: Likewise.
3025 * gdb.base/attach.exp: Likewise.
3026 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3027 gdb_test_multiple.
3028 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3029 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3030 kill_wait_spawned_process.
3031 * gdb.base/valgrind-infcall.exp: Likewise.
3032 * gdb.multi/multi-attach.exp: Likewise.
3033 * gdb.python/py-prompt.exp: Likewise.
3034 * gdb.python/py-sync-interp.exp: Likewise.
3035 * gdb.server/ext-attach.exp: Likewise.
3036 * gdb.threads/attach-into-signal.exp (corefunc): Use
3037 spawn_wait_for_attach, spawn_id_get_pid and
3038 kill_wait_spawned_process.
3039 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3040 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3041 spawn_id_get_pid and kill_wait_spawned_process.
3042 * gdb.threads/attach-stopped.exp (corefunc): Use
3043 spawn_wait_for_attach, spawn_id_get_pid and
3044 kill_wait_spawned_process.
3045 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3046 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3047 kill_wait_spawned_process instead of explicit "kill -9".
3048 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3049 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3050 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3051 processes. Don't map cygwin/windows pids here. Now returns a
3052 spawn id list.
3053
032a0fca
SL
30542015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3055
3056 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3057 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3058 correct patch.
3059
61a934ca
SL
30602015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3061
3062 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3063
4bc4d428
SL
30642015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3065
3066 Reapply:
3067 2014-05-21 Mark Wielaard <mjw@redhat.com>
3068
3069 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3070
998d452a
PA
30712015-07-30 Pedro Alves <palves@redhat.com>
3072
3073 * linux-low.c (handle_extended_wait): Set the child's last
3074 reported status to TARGET_WAITKIND_STOPPED.
3075
69dde7dc
PA
30762015-07-30 Pedro Alves <palves@redhat.com>
3077
3078 PR threads/18600
3079 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3080 only shows inferior 1.
3081
4dd63d48
PA
30822015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3083 Pedro Alves <palves@redhat.com>
3084
3085 PR threads/18600
3086 * gdb.threads/fork-plus-threads.c: New file.
3087 * gdb.threads/fork-plus-threads.exp: New file.
3088
d618e4c5
PP
30892015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3090
3091 * gdb.base/batch-preserve-term-settings.exp
3092 (test_terminal_settings_preserved_after_cli_exit): Use
3093 send_quit_command.
3094
1eef6428
PA
30952015-07-29 Pedro Alves <palves@redhat.com>
3096 Don Breazeal <donb@codesourcery.com>
3097
3098 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3099 output from both inferior_spawn_id and gdb_spawn_id.
3100
7da5b897
SDJ
31012015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3102
3103 * gdb.threads/attach-into-signal.exp (corefunc): Use
3104 with_test_prefix on nested loops, uniquefying the test messages.
3105
dac804df
SDJ
31062015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3107
3108 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3109 commit.
3110
06265e53
PP
31112015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3112
3113 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3114 New proc.
3115 (test_terminal_settings_preserved_after_sigterm): New test.
3116
18206ca3
PP
31172015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3118
3119 * gdb.base/batch-preserve-term-settings.exp
3120 (test_terminal_settings_preserved_after_cli_exit): New test.
3121
90074d11
PP
31222015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3123
3124 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3125 manipulation of saved_gdbflags.
3126 (test_terminal_settings_preserved): Remove global declaration of
3127 the unused variable pagination_prompt. Remove manipulation of
3128 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3129 GDBFLAGS.
3130
eb1a7902
PA
31312015-07-29 Pedro Alves <palves@redhat.com>
3132
3133 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3134
8b75dd3b
PA
31352015-07-29 Pedro Alves <palves@redhat.com>
3136
3137 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3138 at the top.
3139
dedad4e3
PA
31402015-07-29 Pedro Alves <palves@redhat.com>
3141
3142 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3143 (main): Call gdb_unbuffer_output.
3144 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3145 (main): Call gdb_unbuffer_output.
3146 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3147 (main): Call gdb_unbuffer_output.
3148 * gdb.base/call-strs.exp: Adjust to step over the
3149 gdb_unbuffer_output call.
3150 * gdb.base/catch-gdb-caused-signals.c: Include
3151 "../lib/unbuffer_output.c".
3152 (main): Call gdb_unbuffer_output.
3153 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3154 (main): Call gdb_unbuffer_output.
3155 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3156 (main): Call gdb_unbuffer_output.
3157 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3158 (main): Call gdb_unbuffer_output.
3159 * gdb.base/shlib-call.exp: Adjust to step over the
3160 gdb_unbuffer_output call.
3161 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3162 (main): Call gdb_unbuffer_output.
3163 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3164 (main): Call gdb_unbuffer_output.
3165 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3166 (main): Rename to ...
3167 (test): ... this.
3168 (main): Reimplement.
3169 * gdb.base/varargs.exp: Run to test instead of to main.
3170 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3171 (main): Call gdb_unbuffer_output.
3172
58789a91
PA
31732015-07-29 Pedro Alves <palves@redhat.com>
3174
3175 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3176 factore out from mi_continue_dprintf. For call-style dprintfs,
3177 expect dprintf output out of $inferior_spawn_id.
3178 (mi_continue_dprintf): Use mi_expect_dprintf.
3179 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3180 (main): Call gdb_unbuffer_output.
3181
e8376742
PA
31822015-07-29 Pedro Alves <palves@redhat.com>
3183
3184 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3185 (default_mi_gdb_start): Set inferior_spawn_id instead of
3186 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3187 gdb_spawn_id.
3188 (mi_gdb_test): Always expect inferior output from both
3189 $inferior_spawn_id and $gdb_spawn_id.
3190
08280010
PA
31912015-07-29 Pedro Alves <palves@redhat.com>
3192
3193 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3194 send_inferior and $inferior_spawn_id.
3195
4d30e432
PA
31962015-07-29 Pedro Alves <palves@redhat.com>
3197
3198 * gdb.gdb/complaints.exp (test_initial_complaints)
3199 (test_serial_complaints, test_short_complaints): Use
3200 gdb_test_stdio.
3201 (test_empty_complaint): Handle $inferior_spawn_id !=
3202 $gdb_spawn_id.
3203
0d30a335
PA
32042015-07-29 Pedro Alves <palves@redhat.com>
3205
3206 * gdb.base/varargs.exp: Use gdb_test_stdio.
3207
39413b29
PA
32082015-07-29 Pedro Alves <palves@redhat.com>
3209
3210 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3211
7cb000a9
PA
32122015-07-29 Pedro Alves <palves@redhat.com>
3213
3214 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3215
d7b8ac82
PA
32162015-07-29 Pedro Alves <palves@redhat.com>
3217
3218 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3219 parameter into two new parameters, "inf_result" and "gdb_result".
3220 Expect inferior output and gdb output from $inferior_spawn_id and
3221 $gdb_spawn_id, respectively. Adjust all callers.
3222
789c3a0c
PA
32232015-07-29 Pedro Alves <palves@redhat.com>
3224
3225 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3226 of gdb_test_sequence.
3227
77e760c3
PA
32282015-07-29 Pedro Alves <palves@redhat.com>
3229
3230 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3231 (saw_spurious_output): Expect inferior output from
3232 $inferior_spawn_id. Use gdb_test_stdio.
3233
8396d2cd
PA
32342015-07-29 Pedro Alves <palves@redhat.com>
3235
3236 * gdb.base/dprintf.exp: Use standard_testfile. Change
3237 prepare_for_testing call.
3238 (srcfile): Don't set.
3239 (restart): New procedure.
3240 (test_dprintf): New procecure, use to continue over dprintfs.
3241 (test_call, test_agent): New procedures, tests moved here.
3242 Restart gdb and recreate dprintfs. Adjust expected output.
3243
2051d61f
PA
32442015-07-29 Pedro Alves <palves@redhat.com>
3245
3246 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3247
452397af
PA
32482015-07-29 Pedro Alves <palves@redhat.com>
3249
3250 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3251
8aed9555
PA
32522015-07-29 Pedro Alves <palves@redhat.com>
3253
3254 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3255 gdb_test_stdio.
3256
188a61b4
PA
32572015-07-29 Pedro Alves <palves@redhat.com>
3258
3259 * lib/gdb.exp (gdb_test_stdio): New procedure.
3260
12264a45
PA
32612015-07-29 Pedro Alves <palves@redhat.com>
3262
3263 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3264
23ffc893
PA
32652015-07-29 Pedro Alves <palves@redhat.com>
3266
3267 * gdb.base/call-signal-resume.exp: Remove check for
3268 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3269 * gdb.base/unwindonsignal.exp: Likewise.
3270 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3271 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3272
65566918
PA
32732015-07-29 Pedro Alves <palves@redhat.com>
3274
3275 * gdb.base/siginfo-addr.c (pass): New function.
3276 (handler): Call it iff si_addr is correct.
3277 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3278 Set a breakpoint at "pass" and continue to it.
3279
d60a9221
SDJ
32802015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3281
3282 * gdb.python/py-objfile.exp: Make some tests have unique names.
3283 * gdb.python/py-pp-registration.exp: Likewise.
3284
bde40b8f
PA
32852015-07-28 Pedro Alves <palves@redhat.com>
3286
3287 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3288
13e1dec8
SM
32892015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3290
3291 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3292
da33c9a7
SM
32932015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3294
3295 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3296
077836f7
PP
32972015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3298
3299 * gdb.base/gdb-sigterm-2.exp: New test.
3300
b8cc7b2e
DE
33012015-07-25 Doug Evans <xdje42@gmail.com>
3302
3303 Revert:
3304 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3305 (workers/%.worker, build-perf): New rule.
3306 (GDB_PERFTEST_MODE): New variable.
3307 (check-perf): Use it.
3308 (clean): Clean up gdb.perf parallel build subdirs.
3309 * lib/build-piece.exp: New file.
3310 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3311 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3312 name.
3313 (standard_temp_file): Ditto.
3314 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3315 of $GDB_PARALLEL.
3316
c8bd4544
DE
33172015-07-24 Doug Evans <dje@google.com>
3318
3319 * gdb.perf/lib/perftest/utils.py: New file.
3320 * gdb.perf/gm-hello.cc: New file.
3321 * gdb.perf/gm-pervasive-typedef.cc: New file.
3322 * gdb.perf/gm-pervasive-typedef.h: New file.
3323 * gdb.perf/gm-std.cc: New file.
3324 * gdb.perf/gm-std.h: New file.
3325 * gdb.perf/gm-use-cerr.cc: New file.
3326 * gdb.perf/gm-utils.h: New file.
3327 * gdb.perf/gmonster-null-lookup.py: New file.
3328 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3329 * gdb.perf/gmonster-print-cerr.py: New file.
3330 * gdb.perf/gmonster-ptype-string.py: New file.
3331 * gdb.perf/gmonster-runto-main.py: New file.
3332 * gdb.perf/gmonster-select-file.py: New file.
3333 * gdb.perf/gmonster1-null-lookup.exp: New file.
3334 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3335 * gdb.perf/gmonster1-print-cerr.exp: New file.
3336 * gdb.perf/gmonster1-ptype-string.exp: New file.
3337 * gdb.perf/gmonster1-runto-main.exp: New file.
3338 * gdb.perf/gmonster1-select-file.exp: New file.
3339 * gdb.perf/gmonster1.cc: New file.
3340 * gdb.perf/gmonster1.exp: New file.
3341 * gdb.perf/gmonster2-null-lookup.exp: New file.
3342 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3343 * gdb.perf/gmonster2-print-cerr.exp: New file.
3344 * gdb.perf/gmonster2-ptype-string.exp: New file.
3345 * gdb.perf/gmonster2-runto-main.exp: New file.
3346 * gdb.perf/gmonster2-select-file.exp: New file.
3347 * gdb.perf/gmonster2.cc: New file.
3348 * gdb.perf/gmonster2.exp: New file.
3349
6eab34f3
DE
33502015-07-24 Doug Evans <dje@google.com>
3351
3352 * gdb.perf/README: New file.
3353 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3354 * lib/gen-perf-test.exp: New file.
3355
63738bfd
DE
33562015-07-24 Doug Evans <dje@google.com>
3357
3358 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3359 (PerfTest::startup): New function.
3360 (PerfTest::run): Return result of calling body.
3361 (PerfTest::assemble): Rewrite.
3362 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3363 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3364 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3365 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3366 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3367
7b606f95
DE
33682015-07-24 Doug Evans <dje@google.com>
3369
3370 * lib/gdb.exp (clean_restart): Make executable optional.
3371
a97b16b8
DE
33722015-07-24 Doug Evans <dje@google.com>
3373
3374 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3375 compiler_info references.
3376 * gdb.cp/temargs.exp: Ditto.
3377 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3378 (get_compiler_info): Early exit if already computed. Set compiler_info
3379 to "unknown" if there was a problem.
3380 (test_compiler_info): Add function comment. Call get_compiler_info.
3381
35baa57f
DE
33822015-07-24 Doug Evans <dje@google.com>
3383
3384 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3385 (workers/%.worker, build-perf): New rule.
3386 (GDB_PERFTEST_MODE): New variable.
3387 (check-perf): Use it.
3388 (clean): Clean up gdb.perf parallel build subdirs.
3389 * lib/build-piece.exp: New file.
3390 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3391 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3392 name.
3393 (standard_temp_file): Ditto.
3394 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3395 of $GDB_PARALLEL.
3396
6ebea266
DE
33972015-07-24 Doug Evans <dje@google.com>
3398
3399 * lib/future.exp (gdb_default_target_compile): New option
3400 "early_flags".
3401 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3402 --as-needed.
3403
1e76a7e9
SDJ
34042015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3405
3406 * gdb.base/catch-syscall.exp: Call gdb_exit before
3407 gdb_skip_xml_test.
3408
5068630a
PA
34092015-07-24 Pedro Alves <palves@redhat.com>
3410
3411 * gdb.python/py-events.exp: Accept output between the stop event
3412 and the prompt.
3413 * gdb.python/py-evsignal.exp: Likewise.
3414 * gdb.python/py-evthreads.exp: Likewise.
3415
77598427
PA
34162015-07-24 Pedro Alves <palves@redhat.com>
3417
3418 PR gdb/18717
3419 * gdb.threads/non-ldr-exit.c: New file.
3420 * gdb.threads/non-ldr-exit.exp: New file.
3421
11e6c98f
YQ
34222015-07-24 Yao Qi <yao.qi@linaro.org>
3423
3424 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3425 restarting process.
3426
51aee833
YQ
34272015-07-24 Yao Qi <yao.qi@linaro.org>
3428
3429 * gdb.server/ext-restart.exp: New file.
3430
8cfe207c
YQ
34312015-07-24 Yao Qi <yao.qi@linaro.org>
3432
3433 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3434 argument options.
3435 * gdb.server/ext-wrapper.exp: New file.
3436
cc12ce38
DE
34372015-07-23 Doug Evans <dje@google.com>
3438
3439 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3440 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3441
d0d84780
PMR
34422015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3443
3444 * gdb.ada/var_arr_typedef.exp: New testcase.
3445 * gdb.ada/var_arr_typedef/pack.adb: New file.
3446 * gdb.ada/var_arr_typedef/pack.ads: New file.
3447 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3448
8b558f79
JB
34492015-07-20 Joel Brobecker <brobecker@adacore.com>
3450
3451 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3452
775a3298
JK
34532015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3454
3455 * gdb.arch/i386-biarch-core.exp: Replace istarget
3456 by "complete set gnutarget". Remove expectation for the "core-file"
3457 command.
3458
db1ff28b
JK
34592015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3460
3461 Revert the previous commit:
3462 Tests for validate symbol file using build-id.
3463
0a94970d
JK
34642015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3465
3466 Tests for validate symbol file using build-id.
3467 * gdb.base/solib-mismatch-lib.c: New file.
3468 * gdb.base/solib-mismatch-libmod.c: New file.
3469 * gdb.base/solib-mismatch.c: New file.
3470 * gdb.base/solib-mismatch.exp: New file.
3471
03346981
SL
34722015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3473
3474 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3475 nios2-*-linux*.
3476 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3477 * gdb.base/siginfo.exp: Likewise.
3478 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3479
42422cc7
PL
34802015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3481
3482 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3483 Move it to ...
3484 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3485 ... here.
3486 * gdb.trace/range-stepping.exp: Check that the target supports
3487 range stepping.
3488
cfa68bae
JK
34892015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3490
3491 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3492
8ffdba26
PA
34932015-07-14 Pedro Alves <palves@redhat.com>
3494
3495 * gdb.base/killed-outside.exp: New file.
3496 * gdb.base/killed-outside.c: New file.
3497
218a5a11
JK
34982015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3499
3500 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3501 (n at main): New.
3502 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3503
e03ed3c6
AA
35042015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3505
3506 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3507 infcall tests instead of setting up for KFAIL.
3508
485668e5
MM
35092015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3510
3511 * gdb.btrace/record_goto-step.exp: New.
3512
08464196
JK
35132015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3514
3515 PR compile/18484
3516 * gdb.compile/compile.c (struct struct_type): Add volatile to
3517 selffield's type.
3518 * gdb.compile/compile.exp
3519 (compile code struct_object.selffield = &struct_object): Skip further
3520 struct_object tests if this one xfails.
3521
bcf5c1d9
RC
35222015-07-08 Robert O'Callahan <robert@ocallahan.org>
3523
3524 PR exp/18617
3525 * gdb.trace/ax.exp: Add test.
3526
4931af25
YQ
35272015-07-07 Yao Qi <yao.qi@linaro.org>
3528
3529 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3530 instead of istarget "aarch64*-*-*".
3531 * gdb.arch/aarch64-fp.exp: Likewise.
3532 * gdb.base/float.exp: Likewise.
3533 * gdb.reverse/aarch64.exp: Likewise.
3534 * lib/gdb.exp (is_aarch64_target): New proc.
3535
9fcf688e
YQ
35362015-07-07 Yao Qi <yao.qi@linaro.org>
3537
3538 * lib/gdb.exp (is_aarch32_target): New proc.
3539 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3540 instead of "istarget "arm*-*-*"".
3541 * gdb.arch/arm-disp-step.exp: Likewise.
3542 * gdb.arch/thumb-bx-pc.exp: Likewise.
3543 * gdb.arch/thumb-prologue.exp: Likewise.
3544 * gdb.arch/thumb-singlestep.exp: Likewise.
3545 * gdb.base/disp-step-syscall.exp: Likewise.
3546 * gdb.base/float.exp: Likewise.
3547
fbd8d50d
YQ
35482015-07-07 Yao Qi <yao.qi@linaro.org>
3549
3550 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3551 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3552
71be1fdc
YQ
35532015-07-07 Yao Qi <yao.qi@linaro.org>
3554
3555 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3556 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3557 if it exists.
3558 * gdb.multi/multi-arch.exp: Likewise.
3559
3e221d36
SM
35602015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3561
3562 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3563 print.
3564
d441430b
YQ
35652015-07-07 Yao Qi <yao.qi@linaro.org>
3566
3567 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3568
06f810bd
MG
35692015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3570
3571 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3572 '[' and ']' characters.
3573
5e61e7c0
IB
35742015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3575
3576 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3577
28bf096c
PA
35782015-06-29 Pedro Alves <palves@redhat.com>
3579
3580 PR threads/18127
3581 * gdb.threads/hand-call-new-thread.c: New file.
3582 * gdb.threads/hand-call-new-thread.c: New file.
3583
ee93cd5e
KS
35842015-06-26 Keith Seitz <keiths@redhat.com>
3585 Doug Evans <dje@google.com>
3586
3587 PR 16253
3588 * gdb.cp/var-tag-2.cc: New file.
3589 * gdb.cp/var-tag-3.cc: New file.
3590 * gdb.cp/var-tag-4.cc: New file.
3591 * gdb.cp/var-tag.cc: New file.
3592 * gdb.cp/var-tag.exp: New file.
3593
fc637f04
PP
35942015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3595
3596 * gdb.base/history-duplicates.exp: New test.
3597
2e52ae68
PP
35982015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3599
3600 * gdb.base/completion.exp: Test the completion of the "focus"
3601 command.
3602
6e22494e
JK
36032015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3604
3605 * gdb.arch/amd64-prologue-skip.S: New file.
3606 * gdb.arch/amd64-prologue-skip.exp: New file.
3607
bf7b9cd9
SM
36082015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3609
3610 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3611 is_address_zero_readable check.
3612
201e8dfd
PB
36132015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3614
3615 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3616 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3617
5cd867b4
YQ
36182015-06-24 Yao Qi <yao.qi@linaro.org>
3619
3620 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3621 linux targets.
3622
4d7be007
YQ
36232015-06-24 Yao Qi <yao.qi@linaro.org>
3624
3625 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3626 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3627 * gdb.base/siginfo-thread.exp: Likewise.
3628
07fcd301
YQ
36292015-06-22 Yao Qi <yao.qi@linaro.org>
3630
3631 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3632
52042a00
YQ
36332015-06-22 Yao Qi <yao.qi@linaro.org>
3634
3635 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3636 aarch64*-*-*.
3637 (skip_hw_watchpoint_tests): Likewise.
3638
74bd41ce
PP
36392015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3640
3641 * gdb.base/gdbinit-history.exp: Test the interaction between
3642 setting GDBHISTSIZE and setting the history size via .gdbinit.
3643
bc460514
PP
36442015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3645
3646 PR gdb/16999
3647 * gdb.base/gdbhistsize-history.exp: New test.
3648
b58c513b
PP
36492015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3650
3651 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3652 with GDBHISTSIZE.
3653 * gdb.base/readline.exp: Likewise.
3654
92046791
YQ
36552015-06-17 Yao Qi <yao.qi@linaro.org>
3656
3657 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3658 line.
3659
2093d2d3
PP
36602015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3661
3662 * gdb.base/gdbinit-history.exp: Add test case to check that
3663 an unlimited history file does not get truncated on exit.
3664
e6c693af
AA
36652015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3666
3667 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3668 (VECTOR): New macro. Use it...
3669 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3670 ...for these typedefs.
3671 (int8, char1, int1, double1): New typedefs.
3672 (struct just_int2, struct two_int2): New structures.
3673 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3674 (add_structvecs, add_singlevecs): New functions.
3675 (main): Call add_some_intvecs twice.
3676 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3677 the compile and exit upon failure. Try compiling for the "native"
3678 architecture. Test inferior function calls with vector arguments
3679 and vector return value handling with "finish" and "return".
3680
c74f7d1c
JT
36812015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3682
3683 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3684 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3685 PE file.
3686 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3687
98aa42ee
AT
36882015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3689
3690 PR breakpoints/16465
3691 * gdb.mi/mi-dprintf-pending.c: New file.
3692 * gdb.mi/mi-dprintf-pending.exp: New test.
3693 * gdb.mi/mi-dprintf-pendshr.c: New file.
3694
7d73c23c 36952015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 3696 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
3697
3698 * gdb.arch/i386-mpx-map.c: New file.
3699 * gdb.arch/i386-mpx-map.exp: New File.
3700
37012015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3702
3703 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3704 * gdb.arch/i386-mpx.exp: Indentation fixed.
3705
37062015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3707
3708 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3709 function and improved indentation.
3710 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3711 gdb_test_multiple. Added additional tests to skip the test.
3712
37132015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3714
3715 * gdb.arch/i386-avx512.c: Change path in include file.
3716 * gdb.arch/i386-avx512.exp: Change include dir path
3717 compilation flag.
3718 * gdb.arch/i386-mpx.c: Change path in include file.
3719 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3720 flag.
3721
d5eba19a
JK
37222015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3723
3724 * gdb.compile/compile-print.exp (compile print *vararray@3)
3725 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3726
7f361056
JK
37272015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3728
3729 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3730 (do not keep jit in memory): ... this.
3731 (expect 5): Change it to ...
3732 (expect no 5): ... this.
3733
3b462ec2
SM
37342015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3735
3736 PR gdb/15564
3737 * gdb.mi/mi-detach.exp: New file.
3738
e0619de6
JK
37392015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3740
3741 PR symtab/18392
3742 * gdb.arch/amd64-tailcall-self.S: New file.
3743 * gdb.arch/amd64-tailcall-self.c: New file.
3744 * gdb.arch/amd64-tailcall-self.exp: New file.
3745
e970cb34
DB
37462015-05-28 Don Breazeal <donb@codesourcery.com>
3747
3748 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3749 tests for remote targets by checking is_target_gdbserver.
3750
b2e2f908
DE
37512015-05-27 Doug Evans <dje@google.com>
3752
3753 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3754 * gdb.dwarf2/opaque-type-lookup.c: New file.
3755 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3756
82c7be31
DE
37572015-05-26 Doug Evans <dje@google.com>
3758
3759 * gdb.cp/iostream.cc: New file.
3760 * gdb.cp/iostream.exp: New file.
3761
b4f54984
DE
37622015-05-26 Doug Evans <dje@google.com>
3763
3764 * gdb.dwarf2/dw2-op-call.exp: Update.
3765 * gdb.dwarf2/dw4-sig-types.exp: Update.
3766 * gdb.dwarf2/implptr.exp: Update.
3767 * gdb.mi/mi-cmd-param-changed.exp: Update.
3768
4ea6efe9
DE
37692015-05-26 Doug Evans <dje@google.com>
3770
3771 * gdb.python/py-lazy-string.c: New file.
3772 * gdb.python/py-lazy-string.exp: New file.
3773 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3774 (main): Update. Add estring3.
3775 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3776 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3777
f6bb7db3
YQ
37782015-05-26 Omair Javaid <omair.javaid@linaro.org>
3779 Yao Qi <yao.qi@linaro.org>
3780
3781 * gdb.reverse/aarch64.c: New.
3782 * gdb.reverse/aarch64.exp: New.
3783
a81bfbd0
OJ
37842015-05-26 Omair Javaid <omair.javaid@linaro.org>
3785
25d49b86
PA
3786 * lib/gdb.exp (supports_process_record): Return true for
3787 aarch64*-linux*.
a81bfbd0
OJ
3788 (supports_reverse): Likewise.
3789
158bf1b4
PP
37902015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3791
3792 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3793 Use with_test_prefix.
3794
a0145030
AB
37952015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3796
3797 * gdb.base/completion.exp: Add test for completion of layout
3798 names.
3799
ebe3b578
AB
38002015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3801
3802 * lib/gdb.exp (skip_tui_tests): New proc.
3803 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3804
84204ed7
PA
38052015-05-19 Pedro Alves <palves@redhat.com>
3806
3807 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3808 Save the whole env array instead of just HOME. Unset HISTSIZE in
3809 the environment while testing. Restore whole environment
3810 afterwards.
3811
37442ce1
DE
38122015-05-16 Doug Evans <xdje42@gmail.com>
3813
3814 * gdb.guile/scm-ports.c: New file.
3815 * gdb.guile/scm-ports.exp: Add memory port tests.
3816
36de76f9
JK
38172015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3818
3819 * gdb.compile/compile-print.c: New file.
3820 * gdb.compile/compile-print.exp: New file.
3821
3a9558c4
JK
38222015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3823
3824 * gdb.compile/compile-ops.exp: Cast param to void.
3825 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3826 (compile code struct_object.selffield = &struct_object): Add xfail.
3827
aa715135
JG
38282015-05-15 Joel Brobecker <brobecker@adacore.com>
3829
3830 * gdb.ada/arr_enum_with_gap: New testcase.
3831
931e5bc3
JG
38322015-05-15 Joel Brobecker <brobecker@adacore.com>
3833
3834 * gdb.ada/byte_packed_arr: New testcase.
3835
9cd4d857
JB
38362015-05-15 Joel Brobecker <brobecker@adacore.com>
3837
3838 * gdb.ada/pckd_neg: New testcase.
3839
ebfd00d2
PP
38402015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3841
3842 PR gdb/17820
3843 * gdb.base/gdbinit-history.exp: New test.
3844 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3845 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3846
4c082a81
SC
38472015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3848
3849 * gdb.python/py-xmethods.cc: Enhance test case.
3850 * gdb.python/py-xmethods.exp: New tests.
3851 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3852 function.
3853 (B_indexoper): Likewise.
3854 (global_dm_list) : Add new xmethod worker functions.
3855
f7797074
SDJ
38562015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3857
3858 * gdb.base/coredump-filter.exp: Correctly unset
3859 "coredump_var_addr" array.
3860
a4674e4e
PA
38612015-05-08 Pedro Alves <palves@redhat.com>
3862
3863 * gdb.server/non-existing-program.exp: Unset spawn_id.
3864
df2eb078
SC
38652015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3866
3867 PR python/18291
3868 * gdb.python/py-xmethods.exp: Add tests.
3869
422349a3
YQ
38702015-05-08 Yao Qi <yao.qi@linaro.org>
3871
3872 PR gdb/18208
3873 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3874 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3875 function set_coredump_filter, and remove remote_exec call.
3876 Remove argument ipid. Callers update.
3877 (top level): Don't get inferior's PID.
3878
63fc80ce
AA
38792015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3880
3881 * gdb.base/watch_thread_num.exp: Skip test on targets without
3882 access watchpoints.
3883
80ad801e
PA
38842015-05-06 Pedro Alves <palves@redhat.com>
3885
3886 PR server/18081
3887 * gdb.server/non-existing-program.exp: New file.
3888
0fa7fe50
JB
38892015-05-05 Joel Brobecker <brobecker@adacore.com>
3890
3891 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3892
3ea89b92
PMR
38932015-05-05 Joel Brobecker <brobecker@adacore.com>
3894
3895 * gdb.ada/out_of_line_in_inlined: New testcase.
3896
87b8eff0
JB
38972015-05-05 Joel Brobecker <brobecker@adacore.com>
3898
3899 * gdb.ada/var_rec_arr: New testcase.
3900
5fccc635
YQ
39012015-04-30 Yao Qi <yao.qi@linaro.org>
3902
3903 * gdb.base/break-idempotent.exp: If
3904 skip_hw_watchpoint_multi_tests returns true, skip the tests
3905 on "rwatch" and "awatch".
3906
42d38f42
YQ
39072015-04-30 Yao Qi <yao.qi@linaro.org>
3908
3909 * gdb.base/relativedebug.exp: Invoke gdb command
3910 "info sharedlibrary", and if libc.so doesn't have debug info,
3911 skip the test.
3912
2ce1cdbf
DE
39132015-04-29 Doug Evans <dje@google.com>
3914
3915 * gdb.python/py-xmethods.exp: Add ptype tests.
3916 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3917 get_result_type method.
3918
f24a38c5
LM
39192015-04-29 Luis Machado <lgustavo@codesourcery.com>
3920
3921 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3922 the target does not support hardware watchpoints.
3923
ecbf2b3c
LM
39242015-04-29 Luis Machado <lgustavo@codesourcery.com>
3925
3926 * gdb.base/break-always.exp: Abort testing if writing to memory
3927 causes an error.
3928
34f5f757
DE
39292015-04-28 Doug Evans <dje@google.com>
3930
3931 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3932 * gdb.python/py-pp-registration.exp: ... here. New file.
3933 * gdb.python/py-pp-registration.c: New file.
3934 * gdb.python/py-pp-registration.py: New file.
3935
69b4374a
DE
39362015-04-28 Doug Evans <dje@google.com>
3937
3938 * gdb.python/py-bad-printers.c: New file.
3939 * gdb.python/py-bad-printers.py: New file.
3940 * gdb.python/py-bad-printers.exp: New file.
3941
59fb7612
SS
39422015-04-28 Sasha Smundak <asmundak@google.com>
3943
3944 * gdb.python/py-type.exp: New test.
3945
2631b16a
AW
39462015-04-28 Andy Wingo <wingo@igalia.com>
3947
3948 * gdb.python/py-parameter.exp:
3949 * gdb.guile/scm-parameter.exp: Escape the path that we are
3950 matching against, as it might contain characters that are special
3951 to regular expressions.
3952
460efde1
JB
39532015-04-27 Joel Brobecker <brobecker@adacore.com>
3954
3955 * gdb.ada/rec_comp: New testcase.
3956
2d369d8e
SDJ
39572015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3958
3959 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3960 before using it.
3961
cf75d6c3
AB
39622015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3963
3964 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3965 new tests for verilog output.
3966
8dbe7ca5
YQ
39672015-04-24 Yao Qi <yao.qi@linaro.org>
3968
3969 * boards/remote-gdbserver-on-localhost.exp: New file.
3970
4ef9fb2f
PA
39712015-04-23 Pedro Alves <palves@redhat.com>
3972
3973 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3974 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3975 "end of file", remove $inferior_spawn_id from the indirect list.
3976
0a803169
PA
39772015-04-23 Pedro Alves <palves@redhat.com>
3978
3979 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3980
749ef8f8
PA
39812015-04-23 Pedro Alves <palves@redhat.com>
3982
3983 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3984 on $any_spawn_id instead of only on $gdb_spawn_id.
3985
8aae4344
PM
39862015-04-21 Pierre Muller <muller@sourceware.org>
3987
3988 PR pascal/17815
3989 * lib/pascal.exp (gpc_compile): Add new option "class".
3990 (fpc_compile): Likewise.
3991 * gdb.pascal/case-insensitive-symbols.pas: New file.
3992 * gdb.pascal/case-insensitive-symbols.exp: New file.
3993
1586c8fb
GB
39942015-04-20 Gary Benson <gbenson@redhat.com>
3995
3996 * gdb.base/attach.exp: Fix three extended remote failures.
3997
1b6e6f5c
GB
39982015-04-17 Gary Benson <gbenson@redhat.com>
3999
4000 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4001 the main executable over the remote protocol.
4002
e797481d
PA
40032015-04-16 Pedro Alves <palves@redhat.com>
4004
4005 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4006 a new gdbserver if gdbserver_reconnect_p is set.
4007
1ca99c42
PA
40082015-04-16 Pedro Alves <palves@redhat.com>
4009
4010 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4011 is set, don't exit gdbserver.
4012
af9fd6f8
AA
40132015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4014
4015 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4016 appropriate .insn, such that an older assembler can be used.
4017 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4018 the z/Architecture instruction set on 31-bit targets as well.
4019
04ff1e61
AA
40202015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4021
4022 * gdb.go/handcall.exp: Remove all logic related to the first
4023 breakpoint and rely on go_runto_main instead.
4024 * gdb.go/strings.exp: Likewise.
4025 * gdb.go/unsafe.exp: Likewise.
4026 * gdb.go/hello.exp: Likewise. Also rename the remaining
4027 breakpoint marker to "breakpoint 1".
4028 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4029 * gdb.go/strings.go: Likewise.
4030 * gdb.go/unsafe.go: Likewise.
4031 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4032 "set breakpoint 2 here" and rename the remaining breakpoint marker
4033 to "breakpoint 1".
4034
40d2f8d6
SM
40352015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4036
4037 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4038 if itertools.imap is not present.
4039 * gdb.python/py-objfile.exp: Add parentheses.
4040 * gdb.python/py-type.exp: Same.
4041 * gdb.python/py-unwind-maint.py: Same.
4042
8cbc97c6
YQ
40432015-04-15 Yao Qi <yao.qi@linaro.org>
4044
4045 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4046 of ":$ptr_size" and set its form explicitly.
4047
45fd756c
YQ
40482015-04-15 Pedro Alves <palves@redhat.com>
4049 Yao Qi <yao.qi@linaro.org>
4050
4051 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4052 timeout by factor of 4.
4053 (test_regular_watch): Likewise.
4054 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4055 * gdb.reverse/sigall-reverse.exp: Likewise.
4056 * gdb.reverse/until-precsave.exp: Likewise.
4057 * lib/gdb.exp (with_timeout_factor): New proc.
4058 (gdb_expect): Move some code to ...
4059 (get_largest_timeout): ... here. New procedure.
4060
9e811bc3
LM
40612015-04-14 Luis Machado <lgustavo@codesourcery.com>
4062
4063 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4064
0ff6fcb2
LM
40652015-04-13 Luis Machado <lgustavo@codesourcery.com>
4066
4067 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4068 to write to the .text section.
4069
7578d5f7
LM
40702015-04-13 Luis Machado <lgustavo@codesourcery.com>
4071
4072 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4073 Handle the case of targets that do not provide PID information.
4074
2efe15c4
YQ
40752015-04-13 Yao Qi <yao.qi@linaro.org>
4076
4077 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4078 and use expect instead of gdb_expect.
4079
8cd8f2f8
SDJ
40802015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4081
4082 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4083 "coredump_var_addr" to avoid naming conflict with other testcases.
4084
9ee41772
PA
40852015-04-10 Pedro Alves <palves@redhat.com>
4086
4087 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4088 gdb_test_sequence and gdb_assert.
4089
07473109
PA
40902015-04-10 Pedro Alves <palves@redhat.com>
4091
4092 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4093 test messages that don't include the breakpoint address.
4094
de3db44c
YQ
40952015-04-10 Yao Qi <yao.qi@linaro.org>
4096
4097 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4098 false for some offset and width combinations which aren't
4099 supported by linux kernel.
4100
c79d856c
PA
41012015-04-10 Pedro Alves <palves@redhat.com>
4102
4103 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4104 procedure, factored out from ...
4105 (top level): ... here. Add "set displaced-stepping" testing axis.
4106 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4107 parameter "displaced". Use it.
4108 (top level): Use foreach and add "set displaced-stepping" testing
4109 axis.
4110
ebc90b50
PA
41112015-04-10 Pedro Alves <palves@redhat.com>
4112
4113 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4114 Remove comment.
4115 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4116 both the address of the instruction that triggers the watchpoint
4117 and the address of the instruction immediately after, and use
4118 those addresses for the test. Fix comment.
4119
8f572e5c
PA
41202015-04-10 Pedro Alves <palves@redhat.com>
4121
4122 * gdb.base/sigstep.exp (breakpoint_to_handler)
4123 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4124 Test "backtrace" in handler.
4125 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4126 (top level): Add new "displaced" test axis to
4127 breakpoint_to_handler, breakpoint_to_handler_entry and
4128 breakpoint_over_handler.
4129
8d707a12
PA
41302015-04-10 Pedro Alves <palves@redhat.com>
4131
4132 PR gdb/18216
4133 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4134
ef713951
YQ
41352015-04-10 Yao Qi <yao.qi@linaro.org>
4136
4137 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4138 (test_add_rn_pc): New function.
4139 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4140 (top level): Invoke test_add_rn_pc.
4141
906d60cf
PA
41422015-04-10 Pedro Alves <palves@redhat.com>
4143
4144 PR gdb/13858
4145 * gdb.base/step-over-no-symbols.exp: New file.
4146
f2983cc3
AW
41472015-04-09 Andy Wingo <wingo@igalia.com>
4148
4149 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4150 after the Python tests.
4151
6d62641c
SDJ
41522015-04-08 Keith Seitz <keiths@redhat.com>
4153
4154 PR python/16699
4155 * gdb.python/py-completion.exp: New tests for completion.
4156 * gdb.python/py-completion.py (CompleteLimit1): New class.
4157 (CompleteLimit2): Likewise.
4158 (CompleteLimit3): Likewise.
4159 (CompleteLimit4): Likewise.
4160 (CompleteLimit5): Likewise.
4161 (CompleteLimit6): Likewise.
4162 (CompleteLimit7): Likewise.
4163
f3770638
PA
41642015-04-08 Pedro Alves <palves@redhat.com>
4165
4166 PR gdb/18214
4167 PR gdb/18216
4168 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4169 function.
4170 (main): Install it as SIGUSR1 handler.
4171 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4172 parameter. Always use "setup" as prefix. Toggle "set
4173 displaced-stepping" off/on depending on global. Don't switch to
4174 thread 1 here.
4175 (top level): Add displaced stepping "off/on" test axis. Update
4176 "setup" calls. Wrap each subtest with with_test_prefix. Test
4177 continuing with a queued signal in each thread.
4178
4496bed7
PA
41792015-04-08 Pedro Alves <palves@redhat.com>
4180
4181 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4182 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4183 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4184 Return early if running to main fails.
4185 * gdb.trace/while-stepping.exp: Likewise.
4186
b97fde92
PA
41872015-04-07 Pedro Alves <palves@redhat.com>
4188
4189 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4190 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4191 interact with inferior program.
4192
f71c18e7
PA
41932015-04-07 Pedro Alves <palves@redhat.com>
4194
4195 * lib/gdb.exp (inferior_spawn_id): New global.
4196 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4197 spawn id after processing the user code.
4198 (default_gdb_start): Set inferior_spawn_id.
4199 (send_inferior): New procedure.
4200 * lib/gdbserver-support.exp (gdbserver_start): Set
4201 inferior_spawn_id.
4202 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4203
6423214f
PA
42042015-04-07 Pedro Alves <palves@redhat.com>
4205
4206 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4207 * lib/gdbserver-support.exp (gdbserver_start): Make
4208 $server_spawn_id global.
4209 (gdbserver_start): Don't wait for gdbserver's spawn id with
4210 expect_background.
4211 (close_gdbserver): New procedure.
4212 (gdb_exit): Rename the default version and reimplement.
4213
71c0ee8c
PA
42142015-04-07 Pedro Alves <palves@redhat.com>
4215
72f4393d 4216 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
4217 append the substituted item, not the original item.
4218
203bc29b
PA
42192015-04-07 Pedro Alves <palves@redhat.com>
4220
4221 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4222 gdb_expect.
4223
508a3ddf
PA
42242015-04-07 Pedro Alves <palves@redhat.com>
4225
4226 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4227 output appearing once only.
4228
9f6dbe2b
PA
42292015-04-07 Pedro Alves <palves@redhat.com>
4230
4231 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4232 that doesn't expect anything. Return early if running to main
4233 fails.
4234
337532fa
YQ
42352015-04-07 Yao Qi <yao.qi@linaro.org>
4236
4237 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4238 (child_function): Call alarm.
4239 (main): Move call to alarm into the loop.
4240 * gdb.threads/non-stop-fair-events.exp: Build program with
4241 -DTIMEOUT=$timeout.
4242
01b622d4
DE
42432015-04-06 Doug Evans <xdje42@gmail.com>
4244
4245 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4246 Fix dest parameter to board_info.
4247 (fpc_compile): Ditto.
4248 (gdb_compile_pascal): Rename dest arg to destfile.
4249
961f4160
PMR
42502015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4251
4252 * gdb.ada/funcall_ref.exp: New file.
4253 * gdb.ada/funcall_ref/foo.adb: New file.
4254
cafda597
YQ
42552015-04-02 Yao Qi <yao.qi@linaro.org>
4256
4257 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4258 is remote.
4259
fed040c6
GB
42602015-04-02 Gary Benson <gbenson@redhat.com>
4261
4262 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4263
d11916aa
SS
42642015-04-01 Sasha Smundak <asmundak@google.com>
4265
4266 * gdb.python/py-unwind-maint.c: New file.
4267 * gdb.python/py-unwind-maint.exp: New test.
4268 * gdb.python/py-unwind-maint.py: New file.
4269 * gdb.python/py-unwind.c: New file.
4270 * gdb.python/py-unwind.exp: New test.
4271 * gdb.python/py-unwind.py: New test.
4272
a1471180
PA
42732015-04-01 Pedro Alves <palves@redhat.com>
4274
4275 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4276 to fail instead of non-existent $test.
4277
0bbeccb1
PA
42782015-04-01 Pedro Alves <palves@redhat.com>
4279
4280 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4281 GDBFLAGS if not empty.
4282
3c724c8c
PMR
42832015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4284
4285 * gdb.ada/complete.exp: Remove "multi_line".
4286 * gdb.ada/info_exc.exp: Remove "multi_line".
4287 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4288 * gdb.ada/ptype_field.exp: Remove "multi_line".
4289 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4290 * gdb.ada/tagged.exp: Remove "multi_line".
4291 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4292 [multi_line ...]
4293 * gdb.btrace/delta.exp: Likewise.
4294 * gdb.btrace/exception.exp: Likewise.
4295 * gdb.btrace/function_call_history.exp: Likewise.
4296 * gdb.btrace/instruction_history.exp: Likewise.
4297 * gdb.btrace/nohist.exp: Likewise.
4298 * gdb.btrace/record_goto.exp: Likewise.
4299 * gdb.btrace/segv.exp: Likewise.
4300 * gdb.btrace/stepi.exp: Likewise.
4301 * gdb.btrace/tailcall.exp: Likewise.
4302 * gdb.btrace/unknown_functions.exp: Likewise.
4303 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4304 * lib/gdb.exp: Add the "multi_line" helper.
4305
4eec2deb
PA
43062015-04-01 Pedro Alves <palves@redhat.com>
4307
4308 * gdb.threads/tid-reuse.c: New file.
4309 * gdb.threads/tid-reuse.exp: New file.
4310
df8411da
SDJ
43112015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4312
4313 PR corefiles/16092
4314 * gdb.base/coredump-filter.c: New file.
4315 * gdb.base/coredump-filter.exp: Likewise.
4316
6ef37366
PM
43172015-03-27 Petr Machata <pmachata@redhat.com>
4318
4319 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4320 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4321 (Dwarf::assemble): Initialize them.
4322 (Dwarf::lines): New function.
4323
7ec911b0
JT
43242015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4325
4326 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4327 SYMBOL_PREFIX for x86_64-*-cygwin.
4328
ff908ebf
AW
43292015-03-26 Andy Wingo <wingo@igalia.com>
4330
4331 PR symtab/18148
4332 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4333 const_value but not a location.
4334 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4335 location defined in non-main CUs are visible.
4336
6d5f0679
YQ
43372015-03-26 Yao Qi <yao.qi@linaro.org>
4338
4339 PR testsuite/18139
4340 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4341 Add a line number entry for the same line.
4342 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4343 Add a line number entry for the same line.
4344
2898689b
YQ
43452015-03-26 Yao Qi <yao.qi@linaro.org>
4346
4347 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4348 .int 0.
4349 (func): Likewise. Add .Lfunc_1 label.
4350 Use .Lfunc_1 label.
4351 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4352 .int 0.
4353 (func): Likewise.
4354 Use .Lfunc_1 label.
4355
85180498
YQ
43562015-03-26 Yao Qi <yao.qi@linaro.org>
4357
4358 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4359 Call gdb_compile instead to compile each .s files without debug
4360 information.
4361
8aa08a8d
YQ
43622015-03-26 Yao Qi <yao.qi@linaro.org>
4363
4364 * gdb.base/savedregs.exp (process_saved_regs): Make
4365 "Saved registers:" optional in the pattern.
4366
66849923
MM
43672015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4368
4369 * gdb.btrace/next.exp: Merged into step.exp.
4370 * gdb.btrace/finish.exp: Merged into step.exp.
4371 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4372 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4373 "record goto" and checking the exact replay position.
4374 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4375 check for "Recording format" in "info record" output.
4376 * gdb.btrace/record_goto.exp: Choose test file based on target.
4377 * gdb.btrace/x86-record_goto.S: Renamed into ...
4378 * gdb.btrace/x86_64-record_goto.S: ... this.
4379 * gdb.btrace/i686-record_goto.S: New.
4380 * gdb.btrace/x86-tailcall.S: Renamed into ...
4381 * gdb.btrace/x86_64-tailcall.S: ... this.
4382 * gdb.btrace/i686-tailcall.S: New.
4383 * gdb.btrace/x86-tailcall.c: Renamed into ...
4384 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4385 separate statements. Update test.
4386 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4387 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4388 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4389 * gdb.btrace/tailcall.exp: Choose test file based on target.
4390 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4391
11cc1b74
MM
43922015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4393
4394 * gdb.btrace/exception.exp: Increase BTS buffer size.
4395
a25d8bf9
PA
43962015-03-24 Pedro Alves <palves@redhat.com>
4397
4398 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4399
856e7dd6
PA
44002015-03-24 Pedro Alves <palves@redhat.com>
4401
4402 * gdb.threads/schedlock.exp (test_step): No longer expect that
4403 "set scheduler-locking step" with "next" over a function call runs
4404 threads unlocked.
4405
ad235a41
AT
44062015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4407
4408 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4409
15630549
AT
44102015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4411
4412 PR breakpoints/16466
4413 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4414 * gdb.mi/mi-pending.c (thread_func): New function.
4415 (int main): Add threading support required.
4416 * gdb.mi/mi-pending.exp: Add tests for this issue.
4417 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4418 (pendfunc2): Remove stdio dependency.
4419 * gdb.mi/mi-pendshr2.c: New file.
4420
693dca06
KS
44212015-03-23 Keith Seitz <keiths@redhat.com>
4422
4423 * gdb.linespec/keywords.c: New file.
4424 * gdb.linespec/keywords.exp: New file.
4425
7e993ebf
KS
44262015-03-23 Keith Seitz <keiths@redhat.com>
4427
4428 PR gdb/18021
4429 * gdb.dwarf2/staticvirtual.exp: New test.
4430
bc23328c
JK
44312015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4432
4433 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4434 * README: Remove HP-UX and gdb.hp.
4435 (configuration):
4436 * configure: Regenerate.
4437 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4438 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4439 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4440 gdb.hp/gdb.defects/Makefile.
4441 * gdb.hp/Makefile.in: File deleted.
4442 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4443 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4444 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4445 * gdb.hp/gdb.aCC/run.c: File deleted.
4446 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4447 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4448 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4449 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4450 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4451 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4452 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4453 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4454 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4455 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4456 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4457 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4458 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4459 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4460 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4461 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4462 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4463 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4464 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4465 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4466 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4467 * gdb.hp/gdb.compat/average.c: File deleted.
4468 * gdb.hp/gdb.compat/sum.c: File deleted.
4469 * gdb.hp/gdb.compat/xdb.c: File deleted.
4470 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4471 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4472 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4473 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4474 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4475 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4476 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4477 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4478 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4479 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4480 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4481 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4482 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4483 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4484 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4485 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4486 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4487 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4488 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4489 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4490 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4491 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4492 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4493 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4494 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4495 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4496 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4497 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4498 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4499 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4500 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4501 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4502 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4503 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4504 * gdb.hp/tools/odump: File deleted.
4505
8bf3b159
PA
45062015-03-19 Pedro Alves <palves@redhat.com>
4507
4508 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4509 (saw_thread_3): New globals.
4510 (top level): Increment them when an event for the corresponding
4511 thread is seen.
4512 (no thread starvation): New test.
4513
eb54c8bf
PA
45142015-03-19 Pedro Alves <palves@redhat.com>
4515
4516 * gdb.threads/continue-pending-status.c: New file.
4517 * gdb.threads/continue-pending-status.exp: New file.
4518
32d2e5d6
PA
45192015-03-18 Pedro Alves <palves@redhat.com>
4520
4521 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4522 Use gdb_is_target_remote instead of is_remote. Use
4523 gdb_test_multiple instead of gdb_expect. Exit early if
4524 gdb_test_multiple hits its internal matches. Tighten stepi tests
4525 expected output. Fail on exit with any signal, instead of just
4526 SIGILL.
4527
f68f11b7
YQ
45282015-03-18 Yao Qi <yao.qi@linaro.org>
4529
4530 PR tdep/18107
4531 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4532 variable.
4533 * gdb.base/catch-syscall.exp: Don't skip it on
4534 aarch64*-*-linux* target. Remove elements in all_syscalls.
4535 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4536 target.
4537 (setup_all_syscalls): New proc.
4538
ca5fd19b
YQ
45392015-03-16 Yao Qi <yao.qi@linaro.org>
4540
4541 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4542 (top level): Skip tests if valid_addr_p returns false for
4543 $cmd1 or $cmd2.
4544
85642ba0
AW
45452015-03-11 Andy Wingo <wingo@igalia.com>
4546
4547 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4548
e03f9645
YQ
45492015-03-11 Yao Qi <yao.qi@linaro.org>
4550
4551 * gdb.base/catch-syscall.exp: Fix typo in comments.
4552
5d0962b2
YQ
45532015-03-11 Yao Qi <yao.qi@linaro.org>
4554
4555 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4556
b2df3cef
PA
45572015-03-09 Pedro Alves <palves@redhat.com>
4558
4559 * dg-extract-results.py: Delete.
4560
ef878e53
PA
45612015-03-09 Pedro Alves <palves@redhat.com>
4562
4563 Merge dg-extract-results.sh from GCC upstream (r218843).
4564
4565 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4566 * dg-extract-results.sh: Use --text with grep to avoid issues with
4567 binary files. Fall back to cat -v, if that doesn't work.
4568
9494d219
PA
45692015-03-05 Pedro Alves <palves@redhat.com>
4570
4571 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4572
a8d9763a
SM
45732015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4574
4575 * lib/mi-support.exp (mi_expect_interrupt): Accept
4576 alternative event for when in all-stop mode.
4577
be9957b8
PA
45782015-03-04 Pedro Alves <palves@redhat.com>
4579
4580 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4581
d57be0f4 45822015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
4583
4584 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4585
c214c7cf
AA
45862015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4587
4588 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4589 regexps for GDB's current line display, accept a hex address
4590 preceding the line number.
4591
6d74a497
AA
45922015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4593
4594 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4595 the 'arch1' variable for "s390*-linux*" targets.
4596
511aee7c
PA
45972015-03-04 Pedro Alves <palves@redhat.com>
4598
4599 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4600 (main): Pass missing retval argument to pthread_join call.
4601
95e50b27
PA
46022015-03-02 Pedro Alves <palves@redhat.com>
4603
4604 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4605 (top level): Call do_test with non-stop as well.
4606
28054d69
PA
46072015-03-02 Pedro Alves <palves@redhat.com>
4608
4609 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4610 -1.
4611
4fa5d7b4
AA
46122015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4613
4614 * gdb.arch/s390-vregs.exp: New test.
4615 * gdb.arch/s390-vregs.S: New file.
4616
97c18565
PA
46172015-02-27 Pedro Alves <palves@redhat.com>
4618
4619 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4620 call to catch_command_errors.
4621 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4622 catch_command_errors.
4623
a37bfa30
PA
46242015-02-27 Pedro Alves <palves@redhat.com>
4625
4626 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4627 "true" for boolean result.
4628 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4629 prototype of main.
4630
6f98576f
PA
46312015-02-27 Pedro Alves <palves@redhat.com>
4632
4633 * lib/unbuffer_output.c: New file.
4634 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4635 (main): Call gdb_unbuffer_output.
4636
eba5ab56
YQ
46372015-02-27 Yao Qi <yao.qi@linaro.org>
4638
4639 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4640 target.
4641
0def5aaa
DE
46422015-02-26 Doug Evans <dje@google.com>
4643
4644 * gdb.cp/class2.cc (Dbase, D): New classes.
4645 (main): New local delta.
4646 * gdb.cp/class2.exp: Test printing delta.
4647 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4648 (dynbar): New global.
4649 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4650
081a1c2c
JK
46512015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4652
4653 * gdb.compile/compile-ifunc.c: New file.
4654 * gdb.compile/compile-ifunc.exp: New file.
4655
2f41223f
AT
46562015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4657
4658 * gdb.base/structs.exp: Check for correct struct on finish.
4659
03eddd80
YQ
46602015-02-26 Yao Qi <yao.qi@linaro.org>
4661
4662 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4663 is zero.
4664
80c57053
JK
46652015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4666
4667 * gdb.arch/cordic.ko.bz2: New file.
4668 * gdb.arch/cordic.ko.debug.bz2: New file.
4669 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4670
21613c12
YQ
46712015-02-25 Yao Qi <yao.qi@linaro.org>
4672
4673 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4674 aarch64*-*-* target.
4675
d8b901ed
PA
46762015-02-23 Pedro Alves <palves@redhat.com>
4677
4678 * lib/gdb.exp (delete_breakpoints): Rewrite using
4679 gdb_test_multiple.
4680
e5b85ead
PA
46812015-02-23 Pedro Alves <palves@redhat.com>
4682
4683 * gdb.base/info-os.c: Include stdlib.h.
4684
85c3a371
DE
46852015-02-22 Doug Evans <xdje42@gmail.com>
4686
4687 PR symtab/17855
4688 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4689 is read after symbols have been re-read.
4690 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4691 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4692
96553a0c
DE
46932015-02-21 Doug Evans <dje@google.com>
4694
4695 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4696
97a0c697
JK
46972015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4698
4699 PR corefiles/17808
4700 * gdb.arch/i386-biarch-core.core.bz2: New file.
4701 * gdb.arch/i386-biarch-core.exp: New file.
4702
a47cd6e9
PA
47032015-02-21 Pedro Alves <palves@redhat.com>
4704
4705 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4706 runto_main fails.
4707
c5facdc4
PA
47082015-02-20 Pedro Alves <palves@redhat.com>
4709
4710 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4711 info probes.
4712
2db9a427
PA
47132015-02-20 Pedro Alves <palves@redhat.com>
4714
4715 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4716
60fb7e9e
PA
47172015-02-20 Pedro Alves <palves@redhat.com>
4718
4719 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4720 clean_restart before gdb_target_supports_trace.
4721
5c5019c2
PA
47222015-02-20 Pedro Alves <palves@redhat.com>
4723
4724 PR threads/18006
4725 * gdb.threads/clone-thread_db.c: New file.
4726 * gdb.threads/clone-thread_db.exp: New file.
4727
c9587f88
AT
47282015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4729
4730 PR breakpoints/16812
4731 * gdb.base/catch-gdb-caused-signals.c: New file.
4732 * gdb.base/catch-gdb-caused-signals.exp: New file.
4733
f6a88844
JM
47342015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4735
4736 * configure: Regenerated.
4737 * configure.ac: Use GDB_AC_TRANSFORM.
4738 * aclocal.m4: sinclude ../transform.m4.
4739
497c491b
JM
47402015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4741
4742 * lib/dtrace.exp: New file.
4743 * gdb.base/dtrace-probe.exp: Likewise.
4744 * gdb.base/dtrace-probe.d: Likewise.
4745 * gdb.base/dtrace-probe.c: Likewise.
4746 * lib/pdtrace.in: Likewise.
4747 * configure.ac: Output variables with the transformed names of
4748 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4749 * configure: Regenerated.
4750
03e98035
JM
47512015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4752
4753 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4754 expected message when trying to access $_probe_* convenience
4755 variables while not on a probe.
4756
63cc30e9
JK
47572015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4758
4759 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4760
0703599a
PA
47612015-02-11 Pedro Alves <pedro@codesourcery.com>
4762
4763 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4764 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4765
7e60a48e
DE
47662015-02-10 Doug Evans <xdje42@gmail.com>
4767
4768 * lib/gdb.exp (gdb_load): Always return a result.
4769
01b088bc
PA
47702015-02-10 Pedro Alves <palves@redhat.com>
4771
4772 * gdb.threads/signal-sigtrap.c: New file.
4773 * gdb.threads/signal-sigtrap.exp: New file.
4774
b05ec7a5
AT
47752015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4776
4777 * gdb.trace/no-attach-trace.c: New file.
4778 * gdb.trace/no-attach-trace.exp: New file.
4779
a2c2acaf
MW
47802015-02-09 Mark Wielaard <mjw@redhat.com>
4781
4782 * gdb.dwarf2/atomic.c: New file.
4783 * gdb.dwarf2/atomic-type.exp: Likewise.
4784
31fd9caa
MM
47852015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4786
4787 * gdb.btrace/buffer-size.exp: Update "info record" output.
4788 * gdb.btrace/delta.exp: Update "info record" output.
4789 * gdb.btrace/enable.exp: Update "info record" output.
4790 * gdb.btrace/finish.exp: Update "info record" output.
4791 * gdb.btrace/instruction_history.exp: Update "info record" output.
4792 * gdb.btrace/next.exp: Update "info record" output.
4793 * gdb.btrace/nexti.exp: Update "info record" output.
4794 * gdb.btrace/step.exp: Update "info record" output.
4795 * gdb.btrace/stepi.exp: Update "info record" output.
4796 * gdb.btrace/nohist.exp: Update "info record" output.
4797
d33501a5
MM
47982015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4799
4800 * gdb.btrace/buffer-size: New.
4801
f4abbc16
MM
48022015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4803
4804 * gdb.btrace/delta.exp: Update "info record" output.
4805 * gdb.btrace/enable.exp: Update "info record" output.
4806 * gdb.btrace/finish.exp: Update "info record" output.
4807 * gdb.btrace/instruction_history.exp: Update "info record" output.
4808 * gdb.btrace/next.exp: Update "info record" output.
4809 * gdb.btrace/nexti.exp: Update "info record" output.
4810 * gdb.btrace/step.exp: Update "info record" output.
4811 * gdb.btrace/stepi.exp: Update "info record" output.
4812 * gdb.btrace/nohist.exp: Update "info record" output.
4813
b9d61307
SM
48142015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4815
4816 PR gdb/15678
4817 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4818
e584fdbc
PA
48192015-02-06 Pedro Alves <palves@redhat.com>
4820
4821 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4822 macro.
4823 (seconds_left, again): New globals.
4824 (main): Wait seconds_left in a 1-second sleep loop instead of
4825 sleeping 180 seconds. If 'again' is set, reset the seconds
4826 counter.
4827 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4828 'again' in the inferior before detaching. Print the seconds left.
4829 (options): New global.
4830 (top level): Build program with -DTIMEOUT=$timeout.
4831
77f41761
PA
48322015-02-06 Pedro Alves <palves@redhat.com>
4833
4834 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4835 determine how many seconds to pass to 'alarm'.
4836 * gdb.base/gdb-sigterm.exp (top level): Build program with
4837 -DTIMEOUT=$timeout.
4838 (do_test): Return success/failure indication. Add more verbose
4839 logging. Don't fail if 200 single steps are seen. Instead, fail
4840 when the test times out.
4841 (passes): New global.
4842 (top level): Break the testing loop if testing fails on any
4843 iteration. Use gdb_assert.
4844
b9394193
DB
48452015-02-04 Don Breazeal <donb@codesourcery.com>
4846
4847 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4848 and initialize them.
4849 (ipc_cleanup): New function.
4850 (main): Don't declare shmid, semid, and msqid. Add a call to
4851 atexit so that we call ipc_cleanup on exit.
4852
42d9e528
PA
48532015-02-04 Pedro Alves <palves@redhat.com>
4854
4855 * boards/native-extended-gdbserver.exp: Remove any target variant
4856 specifications from the board name before clearing the isremote
4857 flag from board_info.
4858
ae6ae975
DE
48592015-01-31 Doug Evans <xdje42@gmail.com>
4860
4861 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4862
cfb069a8
GB
48632015-01-31 Gary Benson <gbenson@redhat.com>
4864
4865 * gdb.base/completion.exp: Disable completion limiting for
4866 existing tests. Add new tests to check completion limiting.
4867 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4868
5dd31d79
DE
48692015-01-31 Doug Evans <xdje42@gmail.com>
4870
4871 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4872
9f050062
DE
48732015-01-31 Doug Evans <xdje42@gmail.com>
4874
4875 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4876 entries. Duplicate file section script entries.
4877 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4878 inlined entries. Add test for safe-path rejection.
4879 * gdb.python/py-section-script.c: Add duplicate inlined section script
4880 entries. Duplicate file section script entries.
4881 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4882 inlined entries. Add test for safe-path rejection.
4883
df25ebbd
JB
48842015-01-29 Joel Brobecker <brobecker@adacore.com>
4885
4886 * gdb.ada/disc_arr_bound: New testcase.
4887
4a0ca9ec
JB
48882015-01-29 Joel Brobecker <brobecker@adacore.com>
4889
4890 * gdb.ada/mi_var_array: New testcase.
4891
3a8b707a
DE
48922015-01-27 Doug Evans <dje@google.com>
4893
4894 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4895 Add test for objfile.filename, objfile.username after objfile
4896 has been unloaded.
4897
f8313f6e
JB
48982015-01-26 Joel Brobecker <brobecker@adacore.com>
4899
4900 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4901 the second test to print the name attribute of value
4902 returned by the call to gdb.lookup_type, and adjust
4903 the expected output accordingly.
4904
37bc665e
MW
49052015-01-25 Mark Wielaard <mjw@redhat.com>
4906
4907 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4908 * gdb.base/disp-step-fork.c: Include unistd.h.
4909 * gdb.base/siginfo-obj.c: Include stdio.h.
4910 * gdb.base/siginfo-thread.c: Likewise.
4911 * gdb.mi/non-stop.c: Include unistd.h.
4912 * gdb.mi/nsthrexec.c: Include stdio.h.
4913 * gdb.mi/pthreads.c: Include unistd.h.
4914 * gdb.modula2/unbounded1.c (main): Declare returns int.
4915 * gdb.reverse/consecutive-reverse.c: Likewise.
4916 * gdb.threads/create-fail.c: Include unistd.h.
4917 * gdb.threads/killed.c: Likewise.
4918 * gdb.threads/linux-dp.c: Likewise.
4919 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4920 * gdb.threads/non-ldr-exc-2.c: Likewise.
4921 * gdb.threads/non-ldr-exc-3.c: Likewise.
4922 * gdb.threads/non-ldr-exc-4.c: Likewise.
4923 * gdb.threads/pthreads.c: Include unistd.h.
4924 (main): Declare returns int.
4925 * gdb.threads/tls-main.c (foo): New declaration.
4926 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4927
f7e5394d
SM
49282015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4929
4930 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4931 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4932
743649fd
MW
49332015-01-15 Mark Wielaard <mjw@redhat.com>
4934
4935 * gdb.base/noreturn-return.c: New file.
4936 * gdb.base/noreturn-return.exp: New file.
4937 * gdb.base/noreturn-finish.c: New file.
4938 * gdb.base/noreturn-finish.exp: New file.
4939
198297aa
PA
49402015-01-23 Pedro Alves <palves@redhat.com>
4941
4942 * gdb.threads/continue-pending-after-query.c: New file.
4943 * gdb.threads/continue-pending-after-query.exp: New file.
4944
717cf30c
AG
49452015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4946 Simon Marchi <simon.marchi@ericsson.com>
4947
4948 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4949 * gdb.base/valgrind-db-attach.exp: Same.
4950 * gdb.base/valgrind-infcall.exp: Same.
4951 * lib/mi-support.exp (default_mi_gdb_start): Same.
4952 * lib/prompt.exp (default_prompt_gdb_start): Same.
4953 * lib/gdb.exp (default_gdb_spawn): Same.
4954 (gdb_interact): New.
4955
4956
4b62a76e
JK
49572015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4958
4959 * gdb.compile/compile.exp (pointer to jit function): New test.
4960
b4cdae6f
WW
49612015-01-17 Wei-cheng Wang <cole945@gmail.com>
4962
4963 * lib/gdb.exp (supports_process_record): Return true for
4964 powerpc*-*-linux*.
4965 (supports_reverse): Likewise.
4966
d221e7ef
DB
49672015-01-15 Don Breazeal <donb@codesourcery.com>
4968
4969 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4970 instead of checking whether the target board is remote and
4971 use spawn_wait_for_attach instead of exec/sleep.
4972 * gdb.base/attach-twice.exp: Likewise.
4973
bafffb51
JB
49742015-01-15 Joel Brobecker <brobecker@adacore.com>
4975
4976 * gdb.ada/var_arr_attrs: New testcase.
4977
5589af0e
PA
49782015-01-14 Pedro Alves <palves@redhat.com>
4979 Joel Brobecker <brobecker@adacore.com>
4980
4981 PR gdb/17525
4982 * gdb.base/bp-cmds-execution-x-script.c: New file.
4983 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4984 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4985
6c400b59
PA
49862015-01-14 Pedro Alves <palves@redhat.com>
4987
4988 PR cli/17828
4989 * gdb.base/batch-preserve-term-settings.c: New file.
4990 * gdb.base/batch-preserve-term-settings.exp: New file.
4991
e02c96a7
DE
49922015-01-13 Doug Evans <dje@google.com>
4993
4994 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4995 binary.
4996
576fd14c
JB
49972015-01-13 Joel Brobecker <brobecker@adacore.com>
4998
4999 * Makefile.in (clean mostlyclean): Do not delete *.py.
5000
04dccad0
JB
50012015-01-13 Joel Brobecker <brobecker@adacore.com>
5002
5003 * gdb.python/py-lookup-type.exp: New file.
5004
3d230f71
PA
50052015-01-12 Pedro Alves <palves@redhat.com>
5006
5007 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5008 restore GDBFLAGS before returning.
5009
7e67715d
JK
50102015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5011
5012 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5013 is_amd64_regs_target and is_x86_like_target.
5014
f2e0d4b4
DE
50152015-01-11 Doug Evans <xdje42@gmail.com>
5016
5017 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5018 is given without an explicit form.
5019 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5020 attributes.
5021 * gdb.dwarf/corrupt.exp: Ditto.
5022 * gdb.dwarf2/enum-type.exp: Ditto.
5023 * gdb.trace/entry-values.exp: Ditto.
5024 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5025
439250fb
DE
50262015-01-11 Doug Evans <xdje42@gmail.com>
5027
5028 PR gdb/15830
5029 * gdb.base/maint.exp: Remove references to "maint demangle".
5030 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5031 Add tests for explicitly specifying language to demangle.
5032 * gdb.dlang/demangle.exp: Ditto.
5033
ede9f622
PA
50342015-01-09 Pedro Alves <palves@redhat.com>
5035
5036 * gdb.threads/non-stop-fair-events.c: New file.
5037 * gdb.threads/non-stop-fair-events.exp: New file.
5038
a7b796db
PA
50392015-01-09 Pedro Alves <palves@redhat.com>
5040
5041 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5042 the global scope. Set a breakpoint after all threads are started
5043 rather than stepping over two source lines. Expect the prompt.
5044 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5045 global.
5046 (NUM): Now 15.
5047 (main): Use threads_started_barrier to wait for all threads to
5048 start. Main thread no longer calls thread_function. Exit after
5049 180 seconds.
5050 (loop): New function.
5051 (thread_function): Wait on threads_started_barrier barrier. Call
5052 'loop' at each iteration.
5053 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5054 threads have started, instead of hardcoding number of "next"
5055 steps. Use an access watchpoint instead of a write watchpoint.
5056
9665ffdd
PA
50572015-01-09 Pedro Alves <palves@redhat.com>
5058
5059 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5060 (thread_func): Wait on barrier.
5061 (main): Wait for all threads to start before stopping GDB.
5062 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5063 global.
5064 (thread1_func, thread2_func): Wait on barrier.
5065 (main): Wait for all threads to start before stopping GDB.
5066 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5067 New global.
5068 (thread1_func, thread2_func): Wait on barrier.
5069 (main): Wait for all threads to start before stopping GDB.
5070
c945a99f
PA
50712015-01-09 Pedro Alves <palves@redhat.com>
5072
5073 * gdb.threads/attach-many-short-lived-threads.c: New file.
5074 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5075
c1a747c1
PA
50762014-01-09 Pedro Alves <palves@redhat.com>
5077
5078 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5079 instead of to thread 2.
5080 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5081 Add barrier around each pthread_create call instead of around all
5082 calls.
5083 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5084 Set a break on thread_function and have the child threads hit it
5085 one at at a time.
5086
60b3033e
PA
50872015-01-09 Pedro Alves <palves@redhat.com>
5088
5089 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5090 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5091 false.
5092 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5093 checking whether the target board is remote.
5094 * gdb.multi/multi-attach.exp: Likewise.
5095 * gdb.python/py-sync-interp.exp: Likewise.
5096 * gdb.server/ext-attach.exp: Likewise.
5097 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5098 tests that need to attach, instead of checking whether the target
5099 board is remote at the top of the file.
5100
acc018ac
YQ
51012015-01-08 Yao Qi <yao@codesourcery.com>
5102
5103 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5104
50a18af8
JK
51052015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5106
5107 Fix testcase compilation.
5108 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5109
8503d6e1
JB
51102015-01-06 Joel Brobecker <brobecker@adacore.com>
5111
5112 * gdb.python/py-type.exp: Add a couple test about empty
5113 array creation, and negative-length array creation.
5114
cc73dbcc
DE
51152015-01-02 Doug Evans <xdje42@gmail.com>
5116
5117 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5118
0300bbc7
DE
51192015-01-02 Doug Evans <dje@google.com>
5120
5121 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5122
9d85a0ec
YQ
51232014-12-29 Yao Qi <yao@codesourcery.com>
5124
5125 * gdb.trace/entry-values.exp: Update comments. Rename variable
5126 bar_call_foo to returned_from_foo.
5127
87186c6a
MMN
51282014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5129
5130 PR gdb/17394
5131 * gdb.linespec/break-asm-file.c: New file.
5132 * gdb.linespec/break-asm-file.exp: New file.
5133 * gdb.linespec/break-asm-file0.s: New file.
5134 * gdb.linespec/break-asm-file1.s: New file.
5135
1bab7383
YQ
51362014-12-18 Nigel Stephens <nigel@mips.com>
5137 Maciej W. Rozycki <macro@codesourcery.com>
5138
5139 * gdb.base/float.exp: Handle the new output from "info float" on
5140 MIPS targets.
5141
1bc1068a
JK
51422014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5143
5144 Fix MinGW compilation.
5145 * gdb.compile/compile-ops.exp: Update untested message if
5146 !skip_compile_feature_tests.
5147 * gdb.compile/compile-setjmp.exp: Likewise.
5148 * gdb.compile/compile-tls.exp: Likewise.
5149 * gdb.compile/compile.exp: Likewise.
5150 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5151 supported on this host".
5152
b6615d10
DE
51532014-12-16 Doug Evans <xdje42@gmail.com>
5154
5155 * boards/stabs.exp: New file.
5156
25dda427
AA
51572014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5158
5159 * gdb.base/completion.exp: Adjust to format changes of "maint
5160 print user-registers".
5161
bf330350
CU
51622014-12-16 Catalin Udma <catalin.udma@freescale.com>
5163
5164 PR server/17457
5165 * gdb.arch/aarch64-fp.c: New file.
5166 * gdb.arch/aarch64-fp.exp: New file.
5167
395cf596
SDJ
51682014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5169
5170 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5171 r210637, r210913, r211666, r215400, r215817).
5172
5173 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5174 * dg-extract-results.py: New file.
5175 * dg-extract-results.sh: Use it if the environment seems
5176 suitable.
5177
5178 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5179
5180 * dg-extract-results.py (parse_run): Handle warnings that
5181 are printed before a test harness is run.
5182
5183 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5184
5185 * dg-extract-results.py (Named): Remove __cmp__ method.
5186 (output_variation): Use a key to sort variation.harnesses.
5187
5188 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5189
5190 * dg-extract-results.py: For Python 3, force sys.stdout to
5191 handle surrogate escape sequences.
5192 (safe_open): New function.
5193 (output_segment, main): Use it.
5194
5195 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5196
5197 * dg-extract-results.py (Prog.result_re): Include options
5198 in test name.
5199
5200 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5201
5202 * dg-extract-results.py (output_variation): Always sort if
5203 do_sum.
5204
e882ef3c
SM
52052014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5206
5207 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5208 as long as we get pagination notifications.
5209
4992aa20
JM
52102014-12-15 Jason Merrill <jason@redhat.com>
5211
5212 * Makefile.in (check-gdb.%): Restore.
5213 * README: Mention it.
5214
c1b5a1a6
JB
52152014-12-13 Joel Brobecker <brobecker@adacore.com>
5216
5217 * gdb.ada/str_uninit: New testcase.
5218
5537b577
JK
52192014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5220
5221 PR symtab/17642
5222 * gdb.base/vla-stub-define.c: New file.
5223 * gdb.base/vla-stub.c: New file.
5224 * gdb.base/vla-stub.exp: New file.
5225
bb2ec1b3
TT
52262014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5227 Jan Kratochvil <jan.kratochvil@redhat.com>
5228 Tom Tromey <tromey@redhat.com>
5229
5230 * configure.ac: Add gdb.compile/.
5231 * configure: Regenerate.
5232 * gdb.compile/Makefile.in: New file.
5233 * gdb.compile/compile-ops.exp: New file.
5234 * gdb.compile/compile-ops.c: New file.
5235 * gdb.compile/compile-tls.c: New file.
5236 * gdb.compile/compile-tls.exp: New file.
5237 * gdb.compile/compile-constvar.S: New file.
5238 * gdb.compile/compile-constvar.c: New file.
5239 * gdb.compile/compile-mod.c: New file.
5240 * gdb.compile/compile-nodebug.c: New file.
5241 * gdb.compile/compile-setjmp-mod.c: New file.
5242 * gdb.compile/compile-setjmp.c: New file.
5243 * gdb.compile/compile-setjmp.exp: New file.
5244 * gdb.compile/compile-shlib.c: New file.
5245 * gdb.compile/compile.c: New file.
5246 * gdb.compile/compile.exp: New file.
5247 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5248
4ff709eb
TT
52492014-12-12 Tom Tromey <tromey@redhat.com>
5250
5251 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5252 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5253
6dddd6a5
DE
52542014-12-12 Doug Evans <dje@google.com>
5255
5256 * lib/gdb-python.exp (get_python_valueof): New function.
5257 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5258
71c24708
AA
52592014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5260
5261 * gdb.base/completion.exp: Add test for completion of "info
5262 registers ".
5263
3e29f34a
MR
52642014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5265
5266 * gdb.base/func-ptrs.c: New file.
5267 * gdb.base/func-ptrs.exp: New file.
5268
fc126975
SM
52692014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5270
5271 PR breakpoints/17012
5272 * gdb.base/dprintf-detach.c: New file.
5273 * gdb.base/dprintf-detach.exp: New file.
5274
0a46d518
SM
52752014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5276
5277 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5278 * lib/gdb.exp (target_is_gdbserver): New procedure.
5279
a0be3e44
DE
52802014-12-08 Doug Evans <dje@google.com>
5281
5282 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5283
df1b803a
YQ
52842014-12-05 Yao Qi <yao@codesourcery.com>
5285
5286 * gdb.guile/scm-error.exp: Remove the third argument to
5287 gdb_remote_download.
5288 * gdb.guile/scm-frame-args.exp: Likewise.
5289 * gdb.guile/scm-section-script.exp: Likewise.
5290
ddb9f679
YQ
52912014-12-05 Yao Qi <yao@codesourcery.com>
5292
5293 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5294
86e4ed39
DE
52952014-12-04 Doug Evans <dje@google.com>
5296
5297 * gdb.python/py-objfile.exp: Add tests for
5298 objfile.add_separate_debug_file.
5299
7c50a931
DE
53002014-12-04 Doug Evans <dje@google.com>
5301
5302 * lib/gdb.exp (get_build_id): New function.
5303 (build_id_debug_filename_get): Rewrite to use it.
5304 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5305
621661e3
MR
53062014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5307
5308 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5309 `method(long)', not just 0x0.
5310 * gdb.cp/nsalias.exp: Align code labels to 4.
5311 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5312 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5313 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5314 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5315 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5316 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5317
29f0c3b7
DE
53182014-12-02 Doug Evans <dje@google.com>
5319
e1e061e7 5320 PR symtab/17602
29f0c3b7 5321 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 5322 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
5323 * gdb.cp/anon-ns.exp: Update.
5324
162078c8
NB
53252014-12-02 Nick Bull <nicholaspbull@gmail.com>
5326
5327 * gdb.python/py-events.py (inferior_call_handler): New.
5328 (register_changed_handler, memory_changed_handler): New.
5329 (test_events.invoke): Register new handlers.
5330 * gdb.python/py-events.exp: Add tests for inferior call,
5331 memory_changed and register_changed events.
5332
fdb09caf
AA
53332014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5334
5335 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5336 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5337 if the linker doesn't understand this.
5338
55cfb2c4
SM
53392014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5340
5341 * gdb.python/python.exp: Change expected reply to help().
5342
9e8cd6df
YQ
53432014-12-01 Yao Qi <yao@codesourcery.com>
5344
5345 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5346 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5347 * configure: Re-generated.
5348
6c659fc2
SC
53492014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5350
5351 * gdb.cp/chained-calls.cc: New file.
5352 * gdb.cp/chained-calls.exp: New file.
5353 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5354
d7fc3181
SM
53552014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5356
5357 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5358 * gdb.dwarf2/symtab-producer.exp: Same.
5359 * gdb.gdb/python-interrupts.exp: Same.
5360 * gdb.gdb/python-selftest.exp: Same.
5361 * gdb.python/py-linetable.exp: Same.
5362 * gdb.python/py-type.exp: Same.
5363 * gdb.python/py-value-cc.exp: Same.
5364 * gdb.python/py-value.exp: Same.
5365
10e79639
YQ
53662014-11-28 Yao Qi <yao@codesourcery.com>
5367
5368 * gdb.base/break-probes.exp: Match library name prefixed with
5369 sysroot.
5370
f28a0564
SM
53712014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5372
5373 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5374 test expected output. Add parentheses for the call to print.
5375 Remove L suffix from integers.
5376
3fe1ce1d
DE
53772014-11-26 Doug Evans <dje@google.com>
5378
5379 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5380
84429e27
YQ
53812014-11-22 Yao Qi <yao@codesourcery.com>
5382
5383 * gdb.trace/entry-values.c: Remove asms.
5384 (foo): Add foo_label.
5385 (bar): Add bar_label.
5386 * gdb.trace/entry-values.exp: Remove code computing foo's
5387 length and bar's length.
5388 (Dwarf::assemble): Invoke function_range for bar and use
5389 MACRO_AT_func for foo.
5390
26741859
YQ
53912014-11-22 Yao Qi <yao@codesourcery.com>
5392
5393 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5394 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5395 Use .Lgcc43_procstart instead of gcc43.
5396
45e44d27
JB
53972014-11-21 Joel Brobecker <brobecker@adacore.com>
5398
5399 * gdb.ada/n_arr_bound: New testcase.
5400
458c8db8
SDJ
54012014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5402
5403 PR breakpoints/10737
5404 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5405 test_catch_syscall_multi_arch.
5406 (test_catch_syscall_multi_arch): New function.
5407
43f3e411
DE
54082014-11-20 Doug Evans <xdje42@gmail.com>
5409
5410 * gdb.base/maint.exp: Update expected output.
5411
0d7b2549
AA
54122014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5413
5414 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5415 4-byte instruction on S390.
5416
8908fca5
JB
54172014-11-19 Joel Brobecker <brobecker@adacore.com>
5418
5419 * gdb.ada/arr_arr: New testcase.
5420
4a46959e
JB
54212014-11-19 Joel Brobecker <brobecker@adacore.com>
5422
5423 * gdb.ada/pkd_arr_elem: New Testcase.
5424
470e2f4e
LM
54252014-11-18 Luis Machado <lgustavo@codesourcery.com>
5426
5427 * gdb.reverse/break-precsave: Expect completion message for
5428 core file reads.
5429 * gdb.reverse/consecutive-precsave.exp: Likewise.
5430 * gdb.reverse/finish-precsave.exp: Likewise.
5431 * gdb.reverse/i386-precsave.exp: Likewise.
5432 * gdb.reverse/machinestate-precsave.exp: Likewise.
5433 * gdb.reverse/sigall-precsave.exp: Likewise.
5434 * gdb.reverse/solib-precsave.exp: Likewise.
5435 * gdb.reverse/step-precsave.exp: Likewise.
5436 * gdb.reverse/until-precsave.exp: Likewise.
5437 * gdb.reverse/watch-precsave.exp: Likewise.
5438
a267f3ad
AA
54392014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5440
5441 * gdb.base/bp-permanent.c: Include unistd.h.
5442 * gdb.python/py-framefilter-mi.c (main): Add return type.
5443 * gdb.python/py-framefilter.c (main): Likewise.
5444 * gdb.trace/actions-changed.c (main): Likewise.
5445
12084a9a
AA
54462014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5447
5448 * gdb.mi/until.c: Add eye-catchers.
5449 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5450 line numbers.
5451
dc7e1a77
AA
54522014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5453
5454 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5455 function header variants in break1.c.
5456 * gdb.base/ena-dis-br.exp: Likewise.
5457 * gdb.base/hbreak2.exp: Likewise.
5458 * gdb.reverse/until-precsave.exp: Drop references to removed
5459 non-prototype function header variants in ur1.c.
5460 * gdb.reverse/until-reverse.exp: Likewise.
5461
41c77605
PM
54622014-11-17 Petr Machata <pmachata@redhat.com>
5463
5464 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5465 ${_cu_offset_size} bytes abbrev offset.
5466
34248c3a
DE
54672014-11-15 Doug Evans <xdje42@gmail.com>
5468
5469 PR symtab/17559
5470 * gdb.base/line-symtabs.exp: New file.
5471 * gdb.base/line-symtabs.c: New file.
5472 * gdb.base/line-symtabs.h: New file.
5473
646da059
YQ
54742014-11-14 Yao Qi <yao@codesourcery.com>
5475
5476 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5477 (func): Add label func_label.
5478 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5479 Replace low_pc and high_pc with MACRO_AT_range.
5480 Replace name, low_pc and high_pc with MACRO_AT_func.
5481
9301ebe6
YQ
54822014-11-14 Yao Qi <yao@codesourcery.com>
5483
5484 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5485 Replace name, low_pc and high_pc with MACRO_AT_func.
5486
f166b542
YQ
54872014-11-14 Yao Qi <yao@codesourcery.com>
5488
5489 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5490 produce debug information.
5491 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5492
0f6e71e3
YQ
54932014-11-14 Yao Qi <yao@codesourcery.com>
5494
5495 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5496 object and get function length.
5497 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5498 with MACRO_AT_func.
5499 (top-level): Replace gdb_compile and clean_restart with
5500 prepare_for_testing.
5501 * gdb.dwarf2/main.c (main): Add label main_label.
5502
876c4df9
YQ
55032014-11-14 Yao Qi <yao@codesourcery.com>
5504
5505 * lib/dwarf.exp (function_range): New procedure.
5506 (Dwarf::_handle_macro_at_func): New procedure.
5507 (Dwarf::_handle_macro_at_range): New procedure.
5508 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5509
02ad9cf1
YQ
55102014-11-14 Yao Qi <yao@codesourcery.com>
5511
5512 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5513 (_handle_attribute): New procedure.
5514
a59add0c
AA
55152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5516
5517 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5518 * gdb.base/call-sc.c (zed): Likewise.
5519 * gdb.base/checkpoint.c (main): Likewise.
5520 * gdb.base/dump.c (main): Likewise.
5521 * gdb.base/gcore.c (main): Likewise.
5522 * gdb.base/huge.c (main): Likewise.
5523 * gdb.base/multi-forks.c (main): Likewise.
5524 * gdb.base/pr10179-a.c (main): Likewise.
5525 * gdb.base/savedregs.c (main): Likewise.
5526 * gdb.base/sigaltstack.c (main): Likewise.
5527 * gdb.base/siginfo.c (main): Likewise.
5528 * gdb.base/structs.c (zed): Likewise.
5529 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5530 * gdb.mi/mi-syn-frame.c (main): Likewise.
5531 * gdb.mi/until.c (foo, main): Likewise.
5532 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5533 * gdb.base/solib-weak.c (foo): Declare.
5534 * gdb.base/attach-twice.c: Include stdio.h.
5535 * gdb.base/weaklib1.c: Likewise.
5536 * gdb.base/weaklib2.c: Likewise.
5537 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5538 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5539 unistd.h.
5540 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5541 * gdb.mi/mi-exit-code.c: Likewise.
5542 * gdb.base/break-interp-lib.c: Include string.h.
5543 * gdb.base/coremaker.c: Likewise.
5544 * gdb.base/testenv.c: Likewise.
5545 * gdb.python/py-finish-breakpoint.c: Likewise.
5546 * gdb.base/inferior-died.c: Include sys/wait.h.
5547 * gdb.base/fileio.c: Include time.h.
5548 * gdb.base/async-shell.c: Include unistd.h.
5549 * gdb.base/dprintf-non-stop.c: Likewise.
5550 * gdb.base/info-os.c: Likewise.
5551 * gdb.mi/mi-console.c: Likewise.
5552 * gdb.mi/watch-nonstop.c: Likewise.
5553 * gdb.python/py-events.c: Likewise.
5554 * gdb.base/async.c (baz): Move up before its invocation.
5555 * gdb.base/code_elim2.c (my_global_func): Likewise.
5556 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5557 * gdb.base/advance.c (func2): Likewise.
5558
3b5d5997
AA
55592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5560
5561 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5562 variant.
5563 * gdb.base/annota3.c: Likewise.
5564 * gdb.base/async.c: Likewise.
5565 * gdb.base/average.c: Likewise.
5566 * gdb.base/call-ar-st.c: Likewise.
5567 * gdb.base/call-rt-st.c: Likewise.
5568 * gdb.base/call-sc.c: Likewise.
5569 * gdb.base/call-strs.c: Likewise.
5570 * gdb.base/ending-run.c: Likewise.
5571 * gdb.base/execd-prog.c: Likewise.
5572 * gdb.base/exprs.c: Likewise.
5573 * gdb.base/foll-exec.c: Likewise.
5574 * gdb.base/foll-fork.c: Likewise.
5575 * gdb.base/foll-vfork.c: Likewise.
5576 * gdb.base/funcargs.c: Likewise.
5577 * gdb.base/gcore.c: Likewise.
5578 * gdb.base/jump.c: Likewise.
5579 * gdb.base/langs0.c: Likewise.
5580 * gdb.base/langs1.c: Likewise.
5581 * gdb.base/langs2.c: Likewise.
5582 * gdb.base/mips_pro.c: Likewise.
5583 * gdb.base/nodebug.c: Likewise.
5584 * gdb.base/opaque0.c: Likewise.
5585 * gdb.base/opaque1.c: Likewise.
5586 * gdb.base/recurse.c: Likewise.
5587 * gdb.base/run.c: Likewise.
5588 * gdb.base/scope0.c: Likewise.
5589 * gdb.base/scope1.c: Likewise.
5590 * gdb.base/setshow.c: Likewise.
5591 * gdb.base/setvar.c: Likewise.
5592 * gdb.base/shmain.c: Likewise.
5593 * gdb.base/shr1.c: Likewise.
5594 * gdb.base/shr2.c: Likewise.
5595 * gdb.base/sigall.c: Likewise.
5596 * gdb.base/signals.c: Likewise.
5597 * gdb.base/so-indr-cl.c: Likewise.
5598 * gdb.base/solib2.c: Likewise.
5599 * gdb.base/structs.c: Likewise.
5600 * gdb.base/sum.c: Likewise.
5601 * gdb.base/vforked-prog.c: Likewise.
5602 * gdb.base/watchpoint.c: Likewise.
5603 * gdb.reverse/shr2.c: Likewise.
5604 * gdb.reverse/until-reverse.c: Likewise.
5605 * gdb.reverse/ur1.c: Likewise.
5606 * gdb.reverse/watch-reverse.c: Likewise.
5607
066a77c5
AA
56082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5609
5610 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5611 variant.
5612 * gdb.base/sepdebug.exp: Drop references to removed code.
5613
4f204ea5
AA
56142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5615
5616 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5617 variant. Preserve original line numbering.
5618 * gdb.base/list1.c: Likewise.
5619
3b377a3a
AA
56202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5621
5622 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5623 variant.
5624 * gdb.base/break1.c: Likewise.
5625 * gdb.base/break.exp: Drop references to removed code.
5626
e444df73
AA
56272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5628
5629 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5630 variant.
5631
8008f2a7
AA
56322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5633
5634 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5635
a5a06887
AA
56362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5637
5638 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5639 logic into perform_all_tests() and invoke it with and without
5640 function header prototypes.
5641 (do_function_calls): Remove conditional XFAIL for PR 5318.
5642 (rerun_and_prepare): Remove duplicate code.
5643 (perform_all_tests): New. Main logic moved here.
5644
44dba9b9
AA
56452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5646
5647 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5648 code guarded by #ifdef NO_PROTOTYPES.
5649 (t_double_many_args): Likewise.
5650 (DEF_FUNC_MANY_ARGS_1): Likewise.
5651 (DEF_FUNC_VALUES_1): Likewise.
5652 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5653 guarded by #ifdef PROTOTYPES.
5654
d1fbcd56
AA
56552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5656
5657 * gdb.mi/mi-console.c: Add eye-catcher.
5658 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5659 instead of literal line number.
5660
b0e59b8f
AA
56612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5662
5663 * gdb.base/shr2.c: Add eye-catcher.
5664 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5665 line number.
5666
78f98cca
AA
56672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5668
5669 * gdb.base/jump.c: Add eye-catchers.
5670 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5671 numbers.
5672
58fa2af0
AA
56732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5674
5675 * gdb.base/execd-prog.c: Add eye-catchers.
5676 * gdb.base/foll-exec.c: Likewise.
5677 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5678 line numbers.
5679
04e5059b
AA
56802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5681
5682 * gdb.base/ending-run.c: Add eye-catchers.
5683 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5684 literal line numbers.
5685
dbfdb174
AA
56862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5687
5688 * gdb.base/call-rt-st.c: Add eye-catchers.
5689 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5690 literal line numbers.
5691
888a2ade
AA
56922014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5693
5694 * gdb.base/call-ar-st.c: Add eye-catchers.
5695 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5696 literal line numbers.
5697
6acc2dde
AA
56982014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5699
5700 * gdb.base/average.c: Add eye-catchers.
5701 * gdb.base/sum.c: Likewise.
5702 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5703 regexps dynamically.
5704
9ecfcd1d
AA
57052014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5706
5707 * gdb.base/solib1.c: Add eye-catchers.
5708 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5709 literal line numbers.
5710
78708b7c
PA
57112014-11-12 Pedro Alves <palves@redhat.com>
5712
5713 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5714 leader has exited.
5715
af48d08f
PA
57162014-11-12 Pedro Alves <palves@redhat.com>
5717
5718 * gdb.arch/i386-bp_permanent.c: New file.
5719 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5720 (srcfile): Set to i386-bp_permanent.c.
5721 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5722 that stepi does not execute the 'leave' instruction, instead of
5723 testing it does execute.
5724 * gdb.base/bp-permanent.c: New file.
5725 * gdb.base/bp-permanent.exp: New file.
5726
af3768e9
DE
57272014-11-10 Doug Evans <xdje42@gmail.com>
5728
5729 PR symtab/17564
5730 * gdb.base/symtab-search-order.exp: New file.
5731 * gdb.base/symtab-search-order.c: New file.
5732 * gdb.base/symtab-search-order-1.c: New file.
5733 * gdb.base/symtab-search-order-shlib-1.c: New file.
5734
9de00a4a
PA
57352014-11-07 Pedro Alves <palves@redhat.com>
5736
5737 PR gdb/17511
5738 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5739 i?86-*-linux*.
5740
e0f52461
SC
57412014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5742
5743 PR c++/17494
5744 * gdb.cp/pr17494.cc: New file.
5745 * gdb.cp/pr17494.exp: New file.
5746
6ce8c980
YQ
57472014-11-02 Yao Qi <yao@codesourcery.com>
5748
5749 * gdb.python/python.exp: Get working directory and match the
5750 output of "set extended-prompt \\w " with it.
5751
02be9a71
DE
57522014-10-30 Doug Evans <dje@google.com>
5753
5754 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5755 in objfiles.
5756 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5757 in progspaces.
5758
3bdff46b
LM
57592014-10-30 Janis Johnson <janisjo@codesourcery.com>
5760
5761 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5762 * gdb.base/realname-expand.exp: Likewise.
5763 * gdb.linespec/macro-relative.exp: Likewise.
5764
ab917dfb
PA
57652014-10-29 Pedro Alves <palves@redhat.com>
5766
5767 PR gdb/17408
5768 * gdb.threads/schedlock.c (some_function): New function.
5769 (call_function): New global.
5770 (MAYBE_CALL_SOME_FUNCTION): New macro.
5771 (thread_function): Call it.
5772 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5773 and use it instead of a global counter. Adjust all callers.
5774 (get_current_thread): Use "find current thread" for test message
5775 here rather than having all callers pass down the same string.
5776 (goto_loop): New procedure, factored out from ...
5777 (my_continue): ... this.
5778 (step_ten_loops): Change parameter from test message to command to
5779 use. Adjust.
5780 (list_count): Delete global.
5781 (check_result): New procedure, factored out from duplicate top
5782 level code.
5783 (continue tests): Wrap in with_test_prefix.
5784 (test_step): New procedure, factored out from duplicate top level
5785 code.
5786 (top level): Test "step" in combination with all scheduler-locking
5787 modes. Test "next" in combination with all scheduler-locking
5788 modes, and in combination with stepping over a function call or
5789 not.
5790 * gdb.threads/next-bp-other-thread.c: New file.
5791 * gdb.threads/next-bp-other-thread.exp: New file.
5792
d3d4baed
PA
57932014-10-29 Pedro Alves <palves@redhat.com>
5794
5795 PR python/17372
5796 * gdb.python/python.exp: Test a multi-line command that spawns
5797 interactive Python.
5798 * gdb.base/multi-line-starts-subshell.exp: New file.
5799
563e8d85
YQ
58002014-10-29 Yao Qi <yao@codesourcery.com>
5801
5802 * gdb.base/fileio.exp: Make directories on host.
5803
0ea4d52e
YQ
58042014-10-29 Yao Qi <yao@codesourcery.com>
5805
5806 * gdb.base/fileio.c (test_write): Close the file.
5807
7f5ef605
PA
58082014-10-28 Pedro Alves <palves@redhat.com>
5809
5810 PR gdb/12623
5811 * gdb.base/sigstep.c (no_handler): New global.
5812 (main): If 'no_handler is true, set the signal handlers to
5813 SIG_IGN.
5814 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5815 with_sw_watch and no_handler parameters. Handle them.
5816 (top level) <stepping over handler when stopped at a breakpoint
5817 test>: Add a test axis for testing with a software watchpoint, and
5818 another for testing with the signal handler set to SIG_IGN.
5819 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5820 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5821
abbdbd03
PA
58222014-10-28 Pedro Alves <palves@redhat.com>
5823
5824 PR gdb/17511
5825 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5826 * gdb.base/sigstep.exp (other_handler_location): New global.
5827 (advance): Support stepping into the signal handler, and running
5828 commands while in the handler.
5829 (in_handler_map): New global.
5830 (top level): In the advance test, add combinations for getting
5831 into the handler with stepping commands, and for running commands
5832 in the handler. Add comment descripting the advancei tests.
5833
1df4399f
PA
58342014-10-28 Pedro Alves <palves@redhat.com>
5835
5836 * gdb.base/sigstep.exp: Use build_executable instead of
5837 prepare_for_testing.
5838 (top level): Move code that starts GDB, runs to main and creates a
5839 display to ...
5840 (restart): ... this new procedure.
5841 (top level): Move backtrace from signal handler test to ...
5842 (validate_backtrace): ... this new procedure.
5843 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5844 with_test_prefix. Always restart GDB.
5845 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5846 with_test_prefix. Always restart GDB. No need to delete
5847 breakpoints after the test.
5848 (test_skip_handler): Remove prefix parameter.
5849 (skip_over_handler, breakpoint_to_handler)
5850 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5851 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5852 restart GDB. No need to delete breakpoints after the test.
5853 (top level): Use foreach to call the test procedures with
5854 different commands.
5855
a5b6e449
PA
58562014-10-28 Pedro Alves <palves@redhat.com>
5857
5858 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5859 instead of GNATS numbers.
5860 * gdb.base/sigbpt.exp: Likewise.
5861 * gdb.base/siginfo.exp: Likewise.
5862 * gdb.base/sigstep.exp: Likewise.
5863
e5f8a7cc
PA
58642014-10-27 Pedro Alves <palves@redhat.com>
5865
5866 * gdb.base/sigstep.c (dummy): New global.
5867 (main): Issue a couple writes to the new global.
5868 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5869 procedures.
5870 (skip_over_handler): Use test_skip_handler.
5871 (top level): Call skip_over_handler for stepi and nexti too.
5872 (breakpoint_over_handler): Use test_skip_handler.
5873 (top level): Call breakpoint_over_handler for stepi and nexti too.
5874
763905a3
YQ
58752014-10-27 Yao Qi <yao@codesourcery.com>
5876
5877 * gdb.trace/tfile.c (adjust_function_address)
5878 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5879 function descriptor.
5880
6f259a23
DB
58812014-10-24 Don Breazeal <donb@codesourcery.com>
5882
5883 * gdb.base/foll-fork.exp (test_follow_fork,
5884 catch_fork_child_follow): Check for updated fork messages emitted
5885 from infrun.c.
5886 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5887 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5888 vfork_and_exec_child_follow_through_step): Check for updated vfork
5889 messages emitted from infrun.c.
5890
09dd9a69
PA
58912014-10-24 Pedro Alves <palves@redhat.com>
5892
5893 * gdb.base/corefile.exp: Remove references to ultrix.
5894 * gdb.base/interrupt.exp: Likewise.
5895 * gdb.base/whatis.exp: Likewise.
5896 * gdb.gdb/selftest.exp: Likewise.
5897 * gdb.threads/manythreads.exp: Likewise.
5898 * gdb.threads/print-threads.exp: Likewise.
5899 * gdb.threads/pthreads.exp:: Likewise.
5900 * gdb.threads/schedlock.exp: Likewise.
5901
3433cfa5
SC
59022014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5903
5904 * gdb.cp/non-trivial-retval.cc: Add a test case.
5905 * gdb.cp/non-trivial-retval.exp: Add a test.
5906
092f880b
YQ
59072014-10-20 Yao Qi <yao@codesourcery.com>
5908
5909 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5910 * gdb.python/py-objfile-script-gdb.py: New file.
5911 * gdb.python/py-objfile-script.exp: Update reference to
5912 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5913 of remote_download. Remove the dest file.
5914
acbdb7f3
YQ
59152014-10-20 Yao Qi <yao@codesourcery.com>
5916
5917 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5918 * gdb.base/step-line.exp: Likewise.
5919 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5920 * gdb.dwarf2/dw2-basic.exp: Likewise.
5921 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5922 * gdb.dwarf2/dw2-filename.exp: Likewise.
5923 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5924 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5925 * gdb.dwarf2/dw2-producer.exp: Likewise.
5926 * gdb.dwarf2/mac-fileno.exp: Likewise.
5927 * gdb.python/py-frame-args.exp: Likewise.
5928 * gdb.python/py-framefilter.exp: Likewise.
5929 * gdb.python/py-mi.exp: Likewise.
5930 * gdb.python/py-objfile-script.exp: Likewise
5931 * gdb.python/py-pp-integral.exp: Likewise.
5932 * gdb.python/py-pp-re-notag.exp: Likewise.
5933 * gdb.python/py-prettyprint.exp: Likewise.
5934 * gdb.python/py-section-script.exp: Likewise.
5935 * gdb.python/py-typeprint.exp: Likewise.
5936 * gdb.python/py-xmethods.exp: Likewise.
5937 * gdb.stabs/weird.exp: Likewise.
5938 * gdb.xml/tdesc-regs.exp: Likewise.
5939
bd286a29
KCY
59402014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5941
5942 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5943 (out_cu): Use addr_len for the size of addresses.
5944 (out_line): Likewise. Size DW_LNE_set_address instruction
5945 according to addr_len.
5946 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5947 (FUNC): Add START_INSNS to definition.
5948
673dc4a0
YQ
59492014-10-18 Yao Qi <yao@codesourcery.com>
5950
5951 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5952 gdb_has_argv0 return true.
5953 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5954 check [target_info exists noargs], check [gdb_has_argv0]
5955 instead.
5956 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5957 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5958 procedures.
5959
4ffbba72
DE
59602014-10-17 Doug Evans <dje@google.com>
5961
5962 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5963 event.
5964 * gdb.python/py-events.py: Add clear_objfiles event.
5965
d096d8c1
DE
59662014-10-17 Doug Evans <dje@google.com>
5967
5968 * gdb.python/py-objfile.exp: Test progspace attribute.
5969
a80db015
LM
59702014-10-17 Luis Machado <lgustavo@codesourcery.com>
5971
5972 * gdb.guile/scm-breakpoint.exp: Do not assume any
5973 directory separators when matching source file paths.
5974 * gdb.python/py-breakpoint.exp: Likewise.
5975 * gdb.reverse/break-precsave.exp: Likewise.
5976 * gdb.reverse/break-reverse.exp: Likewise.
5977 * gdb.reverse/consecutive-precsave.exp: Likewise.
5978 * gdb.reverse/finish-precsave.exp: Likewise.
5979 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5980 * gdb.reverse/finish-reverse.exp: Likewise.
5981 * gdb.reverse/i386-precsave.exp: Likewise.
5982 * gdb.reverse/i387-env-reverse.exp: Likewise.
5983 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5984 * gdb.reverse/machinestate-precsave.exp: Likewise.
5985 * gdb.reverse/machinestate.exp: Likewise.
5986 * gdb.reverse/sigall-precsave.exp: Likewise.
5987 * gdb.reverse/solib-precsave.exp: Likewise.
5988 * gdb.reverse/step-precsave.exp: Likewise.
5989 * gdb.reverse/until-precsave.exp: Likewise.
5990 * gdb.reverse/watch-precsave.exp: Likewise.
5991 * gdb.reverse/watch-reverse.exp: Likewise.
5992
b22089ab
YQ
59932014-10-17 Yao Qi <yao@codesourcery.com>
5994
5995 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5996 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5997
6c4486e6
PA
59982014-10-17 Pedro Alves <palves@redhat.com>
5999
6000 PR gdb/17471
6001 * gdb.base/bg-execution-repeat.c: New file.
6002 * gdb.base/bg-execution-repeat.exp: New file.
6003
0ff33695
PA
60042014-10-17 Pedro Alves <palves@redhat.com>
6005
6006 PR gdb/17300
6007 * gdb.base/continue-all-already-running.c: New file.
6008 * gdb.base/continue-all-already-running.exp: New file.
6009
6fdebc3d
PA
60102014-10-17 Pedro Alves <palves@redhat.com>
6011
6012 PR gdb/17472
6013 * gdb.base/annota-input-while-running.c: New file.
6014 * gdb.base/annota-input-while-running.exp: New file.
6015
32a8097b
PA
60162014-10-17 Pedro Alves <palves@redhat.com>
6017
6018 * gdb.base/callfuncs.exp: emove references to osf.
6019 * gdb.base/sigall.exp: Likewise.
6020 * gdb.gdb/selftest.exp: Likewise.
6021 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6022 * gdb.mi/non-stop.c: Likewise.
6023 * gdb.mi/pthreads.c: Likewise.
6024 * gdb.reverse/sigall-precsave.exp: Likewise.
6025 * gdb.reverse/sigall-reverse.exp: Likewise.
6026 * gdb.threads/pthreads.c: Likewise.
6027 * gdb.threads/pthreads.exp: Likewise.
6028
7a3517ff
YQ
60292014-10-17 Yao Qi <yao@codesourcery.com>
6030
6031 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6032 check 'target_info exists noargs'.
6033 (test_command_prompt_position): Likewise.
6034 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6035 Remove "set args".
6036 (progvar_simple_while_test): Likewise.
6037 (progvar_complex_if_while_test): Likewise.
6038 (if_while_breakpoint_command_test): Likewise.
6039 (infrun_breakpoint_command_test): Likewise.
6040 (breakpoint_command_test): Likewise.
6041 (watchpoint_command_test): Likewise.
6042 (bp_deleted_in_command_test): Likewise.
6043 (temporary_breakpoint_commands): Likewise.
6044
bb99c472
YQ
60452014-10-16 Yao Qi <yao@codesourcery.com>
6046
6047 * gdb.base/remotetimeout.exp: Remove noargs checking.
6048
7c16b83e
PA
60492014-10-15 Pedro Alves <palves@redhat.com>
6050
6051 PR breakpoints/9649
6052 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6053 * gdb.base/breakpoint-in-ro-region.exp
6054 (probe_target_hardware_step): New procedure.
6055 (top level): Probe hardware stepping and hardware breakpoint
6056 support. Test stepping through a read-only region, with both
6057 "breakpoint auto-hw" on and off and both "always-inserted" on and
6058 off.
6059
35a49624
IB
60602014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6061
6062 * gdb.dlang/demangle.exp: Update for demangling changes.
6063
2d1c107c
SC
60642014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6065
6066 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6067 * gdb.cp/non-trivial-retval.exp: Add new tests.
6068
778811d5
SC
60692014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6070
6071 PR c++/13403
6072 PR c++/15154
6073 * gdb.cp/non-trivial-retval.cc: New file.
6074 * gdb.cp/non-trivial-retval.exp: New file.
6075
10c5f0a8
YQ
60762014-10-15 Yao Qi <yao@codesourcery.com>
6077
6078 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6079 remote host.
6080
65d7b369
YQ
60812014-10-15 Yao Qi <yao@codesourcery.com>
6082
6083 * gdb.python/py-symbol.exp: Match file base name if host is
6084 remote, otherwise match file name with dir name.
6085 * gdb.python/py-symtab.exp: Likewise.
6086 * gdb.python/python.exp: Likewise.
6087
46dc1394
YQ
60882014-10-15 Yao Qi <yao@codesourcery.com>
6089
6090 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6091 pattern.
6092 * gdb.python/py-symtab.exp: Likewise.
6093 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6094 locationn.
6095
c40cc657
JB
60962014-10-14 Joel Brobecker <brobecker@adacore.com>
6097
6098 * gdb.ada/addr_arith: New testcase.
6099
2abf49e1
MR
61002014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6101
6102 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6103 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6104 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6105 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6106
f7088df3
SDJ
61072014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6108
6109 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6110 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6111 * gdb.arch/stap-eval-lang-ada.exp: New file.
6112
4dc06805
YQ
61132014-10-14 Yao Qi <yao@codesourcery.com>
6114
6115 * gdb.mi/mi-var-child.c (nothing1): New function.
6116 (nothing2): New function.
6117 (do_children_tests): Set function pointers by nothing1 and
6118 nothing2.
6119 * gdb.mi/mi-var-child.exp: Step over new added statements.
6120 Update test to match the new output.
6121 * gdb.mi/var-cmd.c (nothing1): New function.
6122 (nothing2): New function.
6123 (do_children_tests): Set function pointers by nothing1 and
6124 nothing2.
6125 * gdb.mi/mi-var-display.exp: Update test to match output.
6126 Step to the line specified by $line_dct_nothing.
6127 Increase the number of lines to step.
6128
46a93de2
YQ
61292014-10-14 Yao Qi <yao@codesourcery.com>
6130
6131 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6132 tests.
6133 * gdb.mi/mi2-var-child.exp: Likewise.
6134
14ea52ee
DE
61352014-10-13 Doug Evans <dje@google.com>
6136
6137 * gdb.python/py-objfile.exp: Change name of file name test.
6138
e5c6e92b
DE
61392014-10-13 Doug Evans <dje@google.com>
6140
6141 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6142 from the start of the CU.
6143
c780cc2f
JK
61442014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6145 Yao Qi <yao@codesourcery.com>
6146
6147 Fix "save breakpoints" for "catch" command.
6148 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6149 Remove -nonewline. Match also the added "main" line.
6150
99894e11
JK
61512014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6152
6153 Fix "save breakpoints" for "disable $bpnum" command.
6154 * gdb.base/save-bp.c (main): Add label.
6155 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6156
6e1ac5a3
JK
61572014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6158
6159 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6160
754dd2b0
YQ
61612014-10-11 Yao Qi <yao@codesourcery.com>
6162
6163 * gdb.server/server-kill.exp: Execute command
6164 "set remote trace-status-packet on" before "tstatus".
6165
f90183d7
YQ
61662014-10-11 Yao Qi <yao@codesourcery.com>
6167
6168 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6169 (main): Call getppid.
6170 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6171 and continue to it. Read variable "server_pid".
6172
bf40a607
YQ
61732014-10-11 Yao Qi <yao@codesourcery.com>
6174
6175 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6176
052ca370
YQ
61772014-10-11 Yao Qi <yao@codesourcery.com>
6178
6179 * gdb.threads/thread-find.exp: Don't execute command
6180 "info threads".
6181 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6182 * gdb.threads/linux-dp.exp: Don't check the condition
6183 $threads_created equals to zero.
6184
3831839c
PA
61852014-10-10 Pedro Alves <palves@redhat.com>
6186
6187 * gdb.base/bigcore.exp: Remove references to IRIX.
6188 * gdb.base/funcargs.exp: Likewise.
6189 * gdb.base/interrupt.exp: Likewise.
6190 * gdb.base/mips_pro.exp: Likewise.
6191 * gdb.base/nodebug.exp: Likewise.
6192 * gdb.base/setvar.exp: Likewise.
6193 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6194
8b9a549d
PA
61952014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6196 Pedro Alves <palves@redhat.com>
6197
6198 PR symtab/14466
6199 * gdb.base/vdso-warning.c: New file.
6200 * gdb.base/vdso-warning.exp: New file.
6201
d48ba5e8
DE
62022014-10-02 Doug Evans <dje@google.com>
6203
6204 * gdb.base/structs.c (main): Don't run forever.
6205
2278c276
PA
62062014-10-02 Pedro Alves <palves@redhat.com>
6207
6208 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6209 (top level) <stop threads 1, stop threads 2>: Use it.
6210
b57bacec
PA
62112014-10-02 Pedro Alves <palves@redhat.com>
6212
6213 * gdb.threads/break-while-running.exp (test): Add new
6214 'update_thread_list' argument. Skip "info threads" if false.
6215 (top level): Add new 'update_thread_list' axis.
6216
13fd3ff3
PA
62172014-10-02 Pedro Alves <palves@redhat.com>
6218
6219 PR breakpoints/17431
6220 * gdb.base/execl-update-breakpoints.c: New file.
6221 * gdb.base/execl-update-breakpoints.exp: New file.
6222
0fec99e8
PA
62232014-10-01 Pedro Alves <palves@redhat.com>
6224
6225 * gdb.base/breakpoint-in-ro-region.c: New file.
6226 * gdb.base/breakpoint-in-ro-region.exp: New file.
6227
2ddf4301
SM
62282014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6229
6230 * gdb.mi/mi-exit-code.exp: New file.
6231 * gdb.mi/mi-exit-code.c: New file.
6232
6a5f3f43
YQ
62332014-09-30 Yao Qi <yao@codesourcery.com>
6234
6235 * lib/prelink-support.exp (build_executable_own_libs): Error if
6236 the target isn't native.
6237
345bcc73
YQ
62382014-09-30 Yao Qi <yao@codesourcery.com>
6239
6240 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6241 false.
6242
a25a5a45
PA
62432014-09-22 Pedro Alves <palves@redhat.com>
6244
6245 * gdb.threads/break-while-running.exp: New file.
6246 * gdb.threads/break-while-running.c: New file.
6247
00ba3162
YQ
62482014-09-19 Yao Qi <yao@codesourcery.com>
6249
6250 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6251 Invoke test. Restart GDB with --readnow and invoke test again.
6252
c3b7b696
YQ
62532014-09-19 Yao Qi <yao@codesourcery.com>
6254
6255 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6256 proc set_breakpoint_on_gcd_function. Invoke
6257 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6258 invoke set_breakpoint_on_gcd_function again.
6259
2b4fd423
DE
62602014-09-18 Doug Evans <dje@google.com>
6261
6262 * gdb.dwarf2/symtab-producer.exp: New file.
6263
a5947601
SDJ
62642014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6265
6266 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6267 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6268 * gdb.base/global-var-nested-by-dso.c: Likewise.
6269 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6270
91c19059
SDJ
62712014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6272 Pedro Alves <palves@redhat.com>
6273
6274 * gdb.base/watch-bitfields.exp: Pass string other than test file
6275 name to prepare_for_testing.
6276 (watch): New procedure.
6277 (expect_watchpoint): Use with_test_prefix.
6278 (top level): Factor out tests to ...
6279 (test_watch_location, test_regular_watch): ... these new
6280 procedures, and use with_test_prefix and gdb_continue_to_end.
6281
bb9d5f81
PP
62822014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6283
6284 PR breakpoints/12526
6285 * gdb.base/watch-bitfields.exp: New file.
6286 * gdb.base/watch-bitfields.c: New file.
6287
635856f5
PA
62882014-09-16 Pedro Alves <palves@redhat.com>
6289
6290 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6291 software and hardware addresses, not software address against
6292 itself.
6293
7280ceea
PA
62942014-09-16 Pedro Alves <palves@redhat.com>
6295
6296 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6297 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6298
428b16bd
PA
62992014-09-16 Pedro Alves <palves@redhat.com>
6300
6301 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6302 files.
6303 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6304 "*-*-vxworks*" throughout.
6305 * gdb.base/break.exp: Likewise.
6306 * gdb.base/default.exp: Likewise.
6307 * gdb.base/scope.exp: Likewise.
6308 * gdb.base/sepdebug.exp: Likewise.
6309 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6310 throughout.
6311 * gdb.base/run.c: Likewise.
6312 * gdb.base/sepdebug.c: Likewise.
6313 * gdb.hp/gdb.aCC/run.c: Likewise.
6314 * gdb.reverse/until-reverse.c: Likewise.
6315 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6316
666d413c
YQ
63172014-09-16 Yao Qi <yao@codesourcery.com>
6318
6319 * boards/local-remote-host-native.exp: New file.
6320
57cbd724
DE
63212014-09-14 Doug Evans <xdje42@gmail.com>
6322
6323 * gdb.threads/queue-signal.c (thread_count): New variable.
6324 (thread_count_mutex, thread_count_condvar): New variables.
6325 (incr_thread_count, wait_all_threads_running): New functions.
6326 (main): Wait for all threads to be in their thread functions.
6327
81219e53
DE
63282014-09-13 Doug Evans <xdje42@gmail.com>
6329
6330 * gdb.threads/queue-signal.c: New file.
6331 * gdb.threads/queue-signal.exp: New file.
6332
3714cea7
DE
63332014-09-13 Doug Evans <xdje42@gmail.com>
6334
6335 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6336 be consistent with what default_gdb_init uses.
6337 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6338 the plain text of the prompt. Add some logging printfs.
6339 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6340
fa43b1d7
PA
63412014-09-12 Pedro Alves <palves@redhat.com>
6342
6343 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6344 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6345 * gdb.arch/i386-size-overlap.exp: Likewise.
6346 * gdb.arch/i386-size.exp: Likewise.
6347 * gdb.arch/i386-unwind.exp: Likewise.
6348 * gdb.base/a2-run.exp: Likewise.
6349 * gdb.base/break.exp: Likewise.
6350 * gdb.base/charset.exp: Likewise.
6351 * gdb.base/chng-syms.exp: Likewise.
6352 * gdb.base/commands.exp: Likewise.
6353 * gdb.base/dbx.exp: Likewise.
6354 * gdb.base/find.exp: Likewise.
6355 * gdb.base/funcargs.exp: Likewise.
6356 * gdb.base/jit-simple.exp: Likewise.
6357 * gdb.base/reread.exp: Likewise.
6358 * gdb.base/sepdebug.exp: Likewise.
6359 * gdb.base/step-bt.exp: Likewise.
6360 * gdb.cp/mb-inline.exp: Likewise.
6361 * gdb.cp/mb-templates.exp: Likewise.
6362 * gdb.objc/basicclass.exp: Likewise.
6363 * gdb.threads/killed.exp: Likewise.
6364
9d9bf2df
EBM
63652014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6366
6367 PR tdep/17379
6368 * gdb.arch/powerpc-stackless.S: New file.
6369 * gdb.arch/powerpc-stackless.exp: New file.
6370
1cf2f1b0
JK
63712014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6372
6373 * gdb.base/attach.c: Include unistd.h.
6374 (main): Call alarm. Add label postloop.
6375 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6376 gdb_breakpoint, gdb_continue_to_breakpoint.
6377 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6378
98880d46
PA
63792014-09-11 Pedro Alves <palves@redhat.com>
6380
6381 PR gdb/17347
6382 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6383 * gdb.base/attach.exp (test_command_line_attach_run): New
6384 procedure.
6385 (top level): Call it.
6386
4c92ff2c
PA
63872014-09-11 Pedro Alves <palves@redhat.com>
6388
6389 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6390 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6391 (do_command_attach_tests): Use spawn_wait_for_attach.
6392 * gdb.base/solib-overlap.exp: Likewise.
6393 * gdb.multi/multi-attach.exp: Likewise.
6394 * gdb.python/py-prompt.exp: Likewise.
6395 * gdb.python/py-sync-interp.exp: Likewise.
6396 * gdb.server/ext-attach.exp: Likewise.
6397
3adc1a7d
GKB
63982014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6399
6400 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6401 command in testcase. Simplify testcase.
6402
96334934
JB
64032014-09-10 Joel Brobecker <brobecker@adacore.com>
6404
6405 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6406
eb479039
JB
64072014-09-10 Joel Brobecker <brobecker@adacore.com>
6408
6409 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6410
deede10c
JB
64112014-09-10 Joel Brobecker <brobecker@adacore.com>
6412
6413 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6414
7828a5f5
JB
64152014-09-10 Joel Brobecker <brobecker@adacore.com>
6416
6417 * gdb.dwarf2/dynarr-ptr.c: New file.
6418 * gdb.dwarf2/dynarr-ptr.exp: New file.
6419
33aeebcf
MR
64202014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6421
6422 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6423 of 30 rather than hardcoding 120 for a slow test case. Take the
6424 `gdb,timeout' target setting into account for this calculation.
6425 Don't extend the timeout for the test cases that don't need it.
6426
7b415901
MR
64272014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6428
6429 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6430 a factor of 2 for a slow test case. Take the `gdb,timeout'
6431 target setting into account for this calculation.
6432 * gdb.reverse/until-precsave.exp: Increase the timeout by
6433 a factor of 15 and 3 respectively rather than adding 120
6434 for a pair of slow test cases. Take the `gdb,timeout'
6435 target setting into account for this calculation.
6436
4a40f85a
MR
64372014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6438
6439 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6440 timeout, don't pass one down to gdb_expect.
6441 (gdb_expect): Rework timeout selection.
6442
09635af7
MR
64432014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6444
6445 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6446 exception on timeout.
6447 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6448 (gdbserver_start_extended): Catch any `gdbserver_start' error
6449 exceptions.
6450 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6451 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6452 `gdbserver_gdb_load' error exceptions.
6453
2bdd10b7
MR
64542014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6455
6456 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6457 120 on waiting for the TCP socket to open.
6458
316935f0
DE
64592014-09-09 Doug Evans <xdje42@gmail.com>
6460
6461 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6462 _caller_matches, _any_caller_is, _any_caller_matches.
6463
83740597
DE
64642014-09-09 Doug Evans <xdje42@gmail.com>
6465
6466 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6467
4c122fc3
YQ
64682014-09-09 Yao Qi <yao@codesourcery.com>
6469
6470 * gdb.mi/mi-var-display.exp: Set print symbol off.
6471
a9f116cb
GKB
64722014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6473
6474 PR gdb/17035
6475 * gdb.base/commands.exp: Add tests to verify user-defined
6476 commands with empty bodies.
6477 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6478 python commands in `show user command`.
6479 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6480 scheme commands in `show user command`.
6481
c75bd3a2
JK
64822014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6483
6484 PR python/17355
6485 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6486 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6487 * gdb.python/py-framefilter-invalidarg.exp: New file.
6488 * gdb.python/py-framefilter-invalidarg.py: New file.
6489
faa42425
DE
64902014-09-06 Doug Evans <xdje42@gmail.com>
6491
6492 PR 15276
6493 * gdb.python/py-caller-is.c: New file.
6494 * gdb.python/py-caller-is.exp: New file.
6495
474ca4f6
SDJ
64962014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6497
6498 PR gdb/17235
6499 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6500 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6501
eb0b0463
SDJ
65022014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6503
6504 PR fortran/17237
6505 * gdb.fortran/print-formatted.exp: New file.
6506 * gdb.fortran/print-formatted.f90: Likewise.
6507
5f3b99cf
SS
65082014-09-03 Sasha Smundak <asmundak@google.com>
6509
6510 * gdb.python/py-frame.exp: Test Frame.read_register.
6511
7d793aa9
SDJ
65122014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6513
6514 PR python/16699
6515 * gdb.python/py-completion.exp: New file.
6516 * gdb.python/py-completion.py: Likewise.
6517
fb0576e9
DE
65182014-08-28 Doug Evans <dje@google.com>
6519
6520 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6521 eax,etc. are live with values set by gdb and thus the compiler can't
6522 use them.
6523 * gdb.arch/i386-pseudo.c (main): Ditto.
6524
ee92b0dd
DE
65252014-08-27 Doug Evans <dje@google.com>
6526
6527 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6528
6649db35
DE
65292014-08-25 Doug Evans <dje@google.com>
6530
6531 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6532 (main): Ditto.
6533
564b7600
DE
65342014-08-25 Doug Evans <dje@google.com>
6535
6536 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6537
3881fb67
YQ
65382014-08-24 Yao Qi <yao@codesourcery.com>
6539
6540 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6541 symbol off.
6542 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6543
a05a36a5
DE
65442014-08-22 Doug Evans <dje@google.com>
6545
6546 PR 17276
6547 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6548 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6549 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6550
7c343b48
YQ
65512014-08-22 Yao Qi <yao@codesourcery.com>
6552
6553 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6554 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6555 * gdb.python/python.exp: Likewise. Use .py file on the host
6556 instead of the build.
6557
22fd09ae
JK
65582014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6559
6560 * gdb.threads/gcore-stale-thread.c: New file.
6561 * gdb.threads/gcore-stale-thread.exp: New file.
6562
a8454a7c
PA
65632014-08-21 Pedro Alves <palves@redhat.com>
6564
6565 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6566 * gdb.base/gcore-relro-pie.exp: Likewise.
6567 * gdb.base/gcore-relro.exp: Likewise.
6568 * gdb.base/gcore.exp: Likewise.
6569 * gdb.base/print-symbol-loading.exp: Likewise.
6570 * gdb.threads/gcore-thread.exp: Likewise.
6571 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6572
2a31c623
PA
65732014-08-20 Pedro Alves <palves@redhat.com>
6574 Jan Kratochvil <jan.kratochvil@redhat.com>
6575
6576 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6577 configure.
6578 (EXPECT): Handle READ1 being set.
6579 (all): Depend on EXTRA_RULES.
6580 (check-read1, expect-read1, read1.so, read1): New rules.
6581 * README (Testsuite Parameters): Document the READ1 make variable.
6582 (Race detection): New section.
6583 * configure: Regenerate.
6584 * configure.ac: If build==host==target, and running under a
6585 GNU/glibc system, add read1 to the extra Makefile rules.
6586 (EXTRA_RULES): AC_SUBST it.
6587 * lib/read1.c: New file.
6588
d36430db
JB
65892014-08-20 Joel Brobecker <brobecker@adacore.com>
6590
6591 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6592 the handling of variables declared as a typedef to an array
6593 which a DW_AT_data_location attribute.
6594
9a0dc9e3
PA
65952014-08-19 Andrew Burgess <aburgess@broadcom.com>
6596 Pedro Alves <palves@redhat.com>
6597
6598 PR symtab/14604
6599 PR symtab/14605
6600 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6601 gdb_test.
6602
0718a8da
PA
66032014-08-19 Pedro Alves <palves@redhat.com>
6604
6605 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6606
13b448cd
YQ
66072014-08-19 Yao Qi <yao@codesourcery.com>
6608
6609 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6610 right line.
6611
1cbf5077
DB
66122014-08-18 David Blaikie <dblaikie@gmail.com>
6613
6614 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6615
bf0fae19
JB
66162014-08-18 Joel Brobecker <brobecker@adacore.com>
6617
6618 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6619 attribute in array range.
6620
3c8c5dcc
JB
66212014-08-18 Joel Brobecker <brobecker@adacore.com>
6622
6623 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6624
e66d4446
SC
66252014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6626
6627 PR c++/17132
6628 * gdb.cp/pr17132.cc: New file.
6629 * gdb.cp/pr17132.exp: New file.
6630
940df408
SC
66312014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6632
6633 * gdb.python/py-xmethods.py (A_getarrayind)
6634 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6635 Use 'print' with function call syntax.
6636 (E_method_matcher.match): Fix tab vs space indentation mixup.
6637
ebcc6c3a
YQ
66382014-08-15 Yao Qi <yao@codesourcery.com>
6639
6640 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6641 false.
6642
775e0f04
YQ
66432014-08-15 Yao Qi <yao@codesourcery.com>
6644
6645 * gdb.cp/casts.exp: Set print symbol off.
6646 * gdb.cp/class2.exp: Likewise.
6647 * gdb.cp/overload.exp: Likewise.
6648 * gdb.cp/templates.exp: Likewise.
6649
d769e349
DE
66502014-08-11 Doug Evans <dje@google.com>
6651
6652 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6653 (test_load_shlib): Update.
6654
20c6f1e1
YQ
66552014-08-09 Yao Qi <yao@codesourcery.com>
6656
6657 * gdb.base/display.exp: Invoke is_address_zero_readable.
6658 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6659 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6660 * gdb.base/hbreak-unmapped.exp: Return if
6661 is_address_zero_readable returns true.
6662 * gdb.base/signest.exp: Likewise.
6663 * gdb.base/signull.exp: Likewise.
6664 * gdb.base/sigbpt.exp: Likewise.
6665 * gdb.guile/scm-disasm.exp: Do the test if
6666 is_address_zero_readable returns false.
6667 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6668 * gdb.python/py-arch.exp: Likewise.
6669 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6670 * lib/gdb.exp (is_address_zero_readable): New proc.
6671
5792e8e3
YQ
66722014-08-09 Yao Qi <yao@codesourcery.com>
6673
6674 PR testsuite/13443
6675 * gdb.mi/mi-var-display.exp: Make test messages unique.
6676
3cecbbbe
TT
66772014-08-04 Tom Tromey <tromey@redhat.com>
6678
6679 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6680 target 0".
6681
00b51ff5
TT
66822014-08-04 Tom Tromey <tromey@redhat.com>
6683
6684 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6685 "target_resume".
6686
6908c509
JB
66872014-08-01 Joel Brobecker <brobecker@adacore.com>
6688
6689 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6690 inner_vla_struct_object_size.
6691 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6692 as xfail.
6693
cc6563d2
PA
66942014-07-30 Pedro Alves <palves@redhat.com>
6695
6696 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6697 comment.
6698
7e09a223
YQ
66992014-07-29 Yao Qi <yao@codesourcery.com>
6700
6701 PR gdb/17206
6702 * gdb.base/until-nodebug.exp: New.
6703
7ebdbe92
DE
67042014-07-28 Doug Evans <xdje42@gmail.com>
6705
6706 PR guile/17203
6707 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6708 previously existing parameter, and previously ambiguously spelled
6709 parameter.
6710
fdb1adc6
WN
67112014-07-28 Will Newton <will.newton@linaro.org>
6712
6713 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6714
186fcde0
DE
67152014-07-26 Ludovic Courtès <ludo@gnu.org>
6716 Doug Evans <xdje42@gmail.com>
6717
6718 PR guile/17146
6719 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6720
70509625
PA
67212014-07-25 Pedro Alves <palves@redhat.com>
6722
6723 * gdb.threads/signal-command-handle-nopass.c: New file.
6724 * gdb.threads/signal-command-handle-nopass.exp: New file.
6725 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6726 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6727 * gdb.threads/signal-delivered-right-thread.c: New file.
6728 * gdb.threads/signal-delivered-right-thread.exp: New file.
6729
c3f814a1
PA
67302014-07-25 Pedro Alves <palves@redhat.com>
6731
6732 * gdb.base/double-prompt-target-event-error.exp
6733 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6734 match.
6735 (cancel_pagination_in_target_event): Rework double prompt
6736 detection.
6737 * gdb.base/paginate-after-ctrl-c-running.exp
6738 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6739 <return>' match.
6740 * gdb.base/paginate-bg-execution.exp
6741 (test_bg_execution_pagination_return)
6742 (test_bg_execution_pagination_cancel): Remove '-notransfer
6743 <return>' matches.
6744 * gdb.base/paginate-execution-startup.exp
6745 (test_fg_execution_pagination_return)
6746 (test_fg_execution_pagination_cancel): Remove '-notransfer
6747 <return>' matches.
6748 * gdb.base/paginate-inferior-exit.exp
6749 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6750 match.
6751 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6752 * lib/gdb.exp (pagination_prompt): Run text through
6753 string_to_regexp.
6754 (gdb_test_multiple): Match $pagination_prompt instead of
6755 "<return>".
6756 (string_to_regexp): Move to lib/gdb-utils.exp.
6757
e214cf6c
JK
67582014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6759
6760 * gdb.arch/amd64-entry-value-paramref.S: New file.
6761 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6762 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6763 * gdb.arch/amd64-optimout-repeat.S: New file.
6764 * gdb.arch/amd64-optimout-repeat.c: New file.
6765 * gdb.arch/amd64-optimout-repeat.exp: New file.
6766
17d0c5c8
JK
67672014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6768
6769 PR gdb/17170
6770 * gdb.base/statistics.exp: New file.
6771
b8b8facf
DE
67722014-07-17 Doug Evans <dje@google.com>
6773
74b49205 6774 PR gdb/17170
b8b8facf
DE
6775 * gdb.base/maint.exp: Update testing of per-command stats.
6776
1b5d0ab3
PA
67772014-07-16 Pedro Alves <palves@redhat.com>
6778
6779 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6780 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6781 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6782 (tfile_write_buf): New functions.
6783 (add_memory_block): Rewrite using the above.
6784 (adjust_function_address): New function.
6785 (FUNCTION_ADDRESS): New macro.
6786 (write_basic_trace_file): Remove short_x local, and use
6787 tfile_write_16. Change type of func_addr local to unsigned long
6788 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6789 here. Cast argument of add_memory_block to char pointer.
6790 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6791 (main): Remove parameters.
6792 * gdb.trace/tfile.exp: Remove nowarnings.
6793
4d974e88
SM
67942014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6795
6796 * gdb.base/debug-expr.exp: Test string evaluation with
6797 "debug expression" on.
6798
41e99568
PA
67992014-07-15 Pedro Alves <palves@redhat.com>
6800
6801 * gdb.base/reread.exp: Use clean_restart.
6802
487d9753
PL
68032014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6804
6805 * gdb.arch/avr-flash-qualifer.c: New.
6806 * gdb.arch/avr-flash-qualifer.exp: New.
6807
cc1c52ad
PA
68082014-07-14 Pedro Alves <palves@redhat.com>
6809
6810 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6811 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6812
1e973570
PA
68132014-07-14 Pedro Alves <palves@redhat.com>
6814
6815 * gdb.base/double-prompt-target-event-error.c: New file.
6816 * gdb.base/double-prompt-target-event-error.exp: New file.
6817
93d6eb10
PA
68182014-07-14 Pedro Alves <palves@redhat.com>
6819
6820 PR gdb/17072
6821 * gdb.base/paginate-inferior-exit.c: New file.
6822 * gdb.base/paginate-inferior-exit.exp: New file.
6823
0017922d
PA
68242014-07-14 Pedro Alves <palves@redhat.com>
6825
6826 PR gdb/17072
6827 * gdb.base/paginate-bg-execution.c: New file.
6828 * gdb.base/paginate-bg-execution.exp: New file.
6829
94696ad3
PA
68302014-07-14 Pedro Alves <palves@redhat.com>
6831
6832 PR gdb/17072
6833 * gdb.base/paginate-execution-startup.c: New file.
6834 * gdb.base/paginate-execution-startup.exp: New file.
6835 * lib/gdb.exp (pagination_prompt): New global.
6836 (default_gdb_spawn): New procedure, factored out from
6837 default_gdb_spawn.
6838 (default_gdb_start): Adjust to call default_gdb_spawn.
6839 (gdb_spawn): New procedure.
6840
bd293940
PA
68412014-07-14 Pedro Alves <palves@redhat.com>
6842
6843 * lib/gdb.exp (gdb_assert): New procedure.
6844 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6845
c933f875
PA
68462014-07-14 Pedro Alves <palves@redhat.com>
6847
6848 * gdb.base/execution-termios.c: New file.
6849 * gdb.base/execution-termios.exp: New file.
6850
d98b7a16
TT
68512014-07-14 Tom Tromey <tromey@redhat.com>
6852
6853 * gdb.cp/vla-cxx.cc: New file.
6854 * gdb.cp/vla-cxx.exp: New file.
6855
548740d6
TT
68562014-07-14 Tom Tromey <tromey@redhat.com>
6857
6858 * gdb.reverse/rerun-prec.c: New file.
6859 * gdb.reverse/rerun-prec.exp: New file.
6860
a25eb028
MR
68612014-07-12 Maciej W. Rozycki <macro@mips.com>
6862 Maciej W. Rozycki <macro@codesourcery.com>
6863
6864 * lib/gdb-utils.exp: New file.
6865 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6866 inline `gdb_init_command' processing.
6867 (gdb_start_cmd): Likewise.
6868 * lib/mi-support.exp (mi_run_cmd): Likewise.
6869 * README: Document `gdb_init_command' and `gdb_init_commands'.
6870
218c2655
JK
68712014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6872
6873 Fix false FAIL running under a very long directory name.
6874 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6875 and "set print elements 10000". Twice.
6876
5401fde3
YQ
68772014-07-11 Yao Qi <yao@codesourcery.com>
6878
6879 * gdb.base/exprs.exp: "set print symbol off".
6880
e76126e8
PA
68812014-07-11 Pedro Alves <palves@redhat.com>
6882
6883 * gdb.threads/kill.c: New file.
6884 * gdb.threads/kill.exp: New file.
6885
2d6f0de6
YQ
68862014-07-10 Yao Qi <yao@codesourcery.com>
6887
6888 * gdb.trace/tfile.c (write_basic_trace_file)
6889 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6890 address written to trace file.
6891
7180e04a
PA
68922014-07-09 Pedro Alves <palves@redhat.com>
6893
6894 * gdb.base/attach-wait-input.exp: New file.
6895 * gdb.base/attach-wait-input.c: New file.
6896
9a9a7608
AB
68972014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6898
6899 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6900 setting up test structures.
6901 (main): Call new test function.
6902 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6903 test function, continue into test function and walk test
6904 structures.
6905
161ac41e
YQ
69062014-07-02 Yao Qi <yao@codesourcery.com>
6907
6908 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6909 'bar_start' at the beginning of functions 'foo' and 'bar'
6910 respectively.
6911 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6912 instead of 'foo' and 'bar'.
6913
1f267ae3
MM
69142014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6915
6916 * gdb.btrace/segv.exp: New.
6917 * gdb.btrace/segv.c: New.
6918
2b239efb
LM
69192014-07-02 Luis Machado <lgustavo@codesourcery.com>
6920
6921 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6922 instruction.
6923
cf363f18
MW
69242014-06-30 Mark Wielaard <mjw@redhat.com>
6925
6926 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6927 vulture, vilify, villar): New volatile array constants.
6928 (vindictive, vegetation): New const volatile array constants.
6929 * gdb.base/volatile.exp: Test volatile and const volatile array
6930 types.
6931
aebf9d24
AA
69322014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6933
6934 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6935 target lacks support for awatch, rwatch, or hbreak.
6936
b67a2c6f
YQ
69372014-06-27 Yao Qi <yao@codesourcery.com>
6938
6939 * gdb.multi/dummy-frame-restore.exp: New.
6940 * gdb.multi/dummy-frame-restore.c: New.
6941
aef92902
MM
69422014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6943
6944 * gdb.btrace/gcore.exp: New.
6945
8e9db26e
PA
69462014-06-23 Pedro Alves <palves@redhat.com>
6947
6948 * gdb.base/watchpoint-reuse-slot.c: New file.
6949 * gdb.base/watchpoint-reuse-slot.exp: New file.
6950
70afc5b7
SC
69512014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6952
6953 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6954 progspace's filename in 'info', 'enable' and 'disable' command
6955 tests.
6956
b972bd9c
JK
69572014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6958
6959 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6960 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6961 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6962
125f8a3d
GB
69632014-06-20 Gary Benson <gbenson@redhat.com>
6964
6965 * gdb.arch/i386-avx.exp: Fix include file location.
6966 * gdb.arch/i386-sse.exp: Likewise.
6967
3ed9baed
IB
69682014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6969
6970 * gdb.dlang/expression.exp: New file.
6971
034f788c
PA
69722014-06-19 Pedro Alves <palves@redhat.com>
6973
6974 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6975 out from ...
6976 (top level): ... here. Iterate running tests under different
6977 scheduler-locking settings.
6978
45371d0c
LM
69792014-06-18 Luis Machado <lgustavo@codesourcery.com>
6980
6981 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6982 to DW_FORM_addr and use non-zero addresses.
6983
5d376983
SC
69842014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6985
6986 PR gdb/17017
6987 * gdb.python/py-xmethods.cc: Add global function call counters and
6988 increment them in their respective functions. Remove "cout"
6989 statements.
6990 * gdb.python/py-xmethods.exp: Make tests check the global function
6991 call counters instead of depending on inferior IO.
6992
a1aa2221
LM
69932014-06-18 Don Breazeal <donb@codesourcery.com>
6994
6995 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6996 Deleted procedure.
6997 (explicit_fork_parent_follow): Deleted procedure.
6998 (explicit_fork_child_follow): Deleted procedure.
6999 (test_follow_fork): New procedure.
7000 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 7001 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
7002 procedure calls.
7003
0fc05997
YQ
70042014-06-17 Yao Qi <yao@codesourcery.com>
7005
7006 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7007 CP1252.
7008
70795c52
LM
70092014-06-17 Luis Machado <lgustavo@codesourcery.com>
7010
7011 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7012 Initialize ptr and S explicitly.
7013 (skip_type_update_when_not_use_rtti_test): Likewise.
7014
6be47f0c
KS
70152014-06-16 Keith Seitz <keiths@redhat.com>
7016
7017 PR mi/15863
7018 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7019 the inferior is started.
7020
d03de421
PA
70212014-06-16 Pedro Alves <palves@redhat.com>
7022
7023 * gdb.base/break-main-file-remove-fail.c: New file.
7024 * gdb.base/break-main-file-remove-fail.exp: New file.
7025 * gdb.base/break-unload-file.exp: Use build_executable instead of
7026 prepare_for_testing.
7027 (test_break): New parameter "initial_load". Handle it.
7028 (top level): Add initial_load cmdline/file axis.
7029
f9579b99
TT
70302014-06-12 Tom Tromey <tromey@redhat.com>
7031
7032 * gdb.base/completion.exp: Don't use directory name in test.
7033
3657956b
GB
70342014-06-09 Gary Benson <gbenson@redhat.com>
7035
7036 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7037 separate the always-available ANSI-standard signals from the
7038 signals that require checking.
7039 (main): Likewise.
7040 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7041 Likewise.
7042 (main): Likewise.
7043
4186eb54
KS
70442014-06-07 Keith Seitz <keiths@redhat.com>
7045
7046 Revert:
7047 PR c++/16253
7048 * gdb.cp/var-tag.cc: New file.
7049 * gdb.cp/var-tag.exp: New file.
7050 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7051 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7052 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7053 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7054
25326a28 70552014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
7056
7057 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7058
829155c9
PA
70592014-06-06 Pedro Alves <palves@redhat.com>
7060
7061 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7062 in target debug output instead of looking at RSP packets,
7063 disabling the test on any target that uses hardware stepping.
7064 Update comments.
7065
61c8d22e
PA
70662014-06-06 Pedro Alves <palves@redhat.com>
7067
7068 * gdb.base/break-unload-file.exp: Fix typo.
7069
d9a47287
YQ
70702014-06-06 Yao Qi <yao@codesourcery.com>
7071
7072 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7073 from "jit_function" to "^jit_function".
7074
e5e01dbf
YQ
70752014-06-06 Yao Qi <yao@codesourcery.com>
7076
7077 * gdb.base/async.c (foo): Add one statement.
7078 * gdb.base/async.exp: Get the next instruction address and
7079 match the output of "nexti" by instruction address. Match
7080 the hex address in the output of "finish".
7081
73ba372c
GB
70822014-06-06 Gary Benson <gbenson@redhat.com>
7083
7084 * gdb.base/call-signals.c: Remove preprocessor conditionals
7085 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7086 SIGSEGV and SIGTERM.
7087 * gdb.base/sigall.c: Likewise.
7088 * gdb.base/unwindonsignal.c: Likewise.
7089 * gdb.reverse/sigall-reverse.c: Likewise.
7090
831517df
YQ
70912014-06-06 Yao Qi <yao@codesourcery.com>
7092
7093 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7094 readable, skip the test.
7095
b8b91e98
YQ
70962014-06-06 Yao Qi <yao@codesourcery.com>
7097
7098 * gdb.threads/staticthreads.c (thread_function): Move the line
7099 setting breakpoint on forward.
7100 * gdb.threads/staticthreads.exp: Update comments.
7101
fb934770
LC
71022014-06-05 Ludovic Courtès <ludo@gnu.org>
7103
7104 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7105 "history-append! type error".
7106
6ef284bd
SM
71072014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7108
7109 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7110 erroneous dprintf expected input.
7111
a872e241
DE
71122014-06-04 Doug Evans <xdje42@gmail.com>
7113
7114 * gdb.guile/scm-generics.exp: Delete.
7115
16f691fb
DE
71162014-06-04 Doug Evans <xdje42@gmail.com>
7117
7118 * gdb.guile/scm-breakpoint.exp: Update.
7119 Add tests for breakpoint registration.
7120
012370f6
TT
71212014-06-04 Tom Tromey <tromey@redhat.com>
7122
7123 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7124 VLA-in-union.
7125 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7126 inner_vla_struct, vla_union types. Initialize objects of those
7127 types and compute their sizes.
7128
9f5a4cef
HZ
71292014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7130 Hui Zhu <hui@codesourcery.com>
7131
7132 * gdb.base/fileio.exp: Add test for shell not available as well as
7133 available.
7134 * gdb.base/fileio.c (test_system): Check for shell twice.
7135
90a45c4d
YQ
71362014-06-04 Yao Qi <yao@codesourcery.com>
7137
7138 * gdb.base/auto-connect-native-target.exp: Remove redundant
7139 space from the regexp pattern.
7140
70017e41
YQ
71412014-06-04 Yao Qi <yao@codesourcery.com>
7142
7143 * gdb.base/default.exp: Replace "child" with "native" in
7144 regexp pattern.
7145
883964a7
SC
71462014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7147
7148 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7149 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7150 * gdb.python/py-xmethods.py: Python script supporting the
7151 new testcase and tests.
7152
ef370185
JB
71532014-06-03 Joel Brobecker <brobecker@adacore.com>
7154 Pedro Alves <palves@redhat.com>
7155
7156 PR breakpoints/17000
7157 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7158 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7159
1e2ccb61
BM
71602014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7161
7162 * gdb.base/subst.exp: Add tests to verify partial path matching
7163 output.
7164
c6ec5ab2
PA
71652014-06-03 Pedro Alves <palves@redhat.com>
7166
7167 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7168 target that doesn't use software single-stepping.
7169
835c559f
PA
71702014-06-03 Pedro Alves <palves@redhat.com>
7171
7172 PR breakpoints/17000
7173 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7174 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7175
06eb1586
DE
71762014-06-02 Doug Evans <xdje42@gmail.com>
7177
7178 * gdb.guile/scm-parameter.exp: New file.
7179
e698b8c4
DE
71802014-06-02 Doug Evans <xdje42@gmail.com>
7181
7182 * gdb.guile/scm-cmd.c: New file.
7183 * gdb.guile/scm-cmd.exp: New file.
7184
ded03782
DE
71852014-06-02 Doug Evans <xdje42@gmail.com>
7186
7187 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7188 pretty-printer lookup.
7189 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7190 (make-pp_s-printer): Call it.
7191 (make-pretty-printer-from-dict): New function.
7192 (lookup-pretty-printer-maker-from-dict): New function.
7193 (*pretty-printer*): Simplify.
7194 (make-objfile-pp_s-printer): New function.
7195 (install-objfile-pretty-printers!): New function.
7196 (make-progspace-pp_s-printer): New function.
7197 (install-progspace-pretty-printers!): New function.
7198 * gdb.guile/scm-progspace.c: New file.
7199 * gdb.guile/scm-progspace.exp: New file.
7200
41fac0cf
PA
72012014-06-02 Pedro Alves <palves@redhat.com>
7202
7203 * gdb.base/dprintf-bp-same-addr.c: New file.
7204 * gdb.base/dprintf-bp-same-addr.exp: New file.
7205
96ae5695
EBM
72062014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7207
7208 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7209 * gdb.arch/powerpc-power.s: Likewise.
7210
da02b3a8
JB
72112014-06-02 Joel Brobecker <brobecker@adacore.com>
7212
7213 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7214
c72b2e7b
YQ
72152014-06-01 Yao Qi <yao@codesourcery.com>
7216
7217 * gdb.base/watchpoint.exp (test_watch_location): Check null
7218 pointer can be dereferenced. If not, do the test, otherwise
7219 skip it.
7220
53e8a631
AB
72212014-05-30 Andrew Burgess <aburgess@broadcom.com>
7222
7223 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7224 results.
7225 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7226
938f0e2f
AB
72272014-05-30 Andrew Burgess <aburgess@broadcom.com>
7228
7229 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7230 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7231 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7232 * gdb.arch/amd64-invalid-stack-top.c: New file.
7233 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7234
9ba6657a
PA
72352014-05-30 Pedro Alves <palves@redhat.com>
7236
7237 PR breakpoints/17000
7238 * gdb.base/sss-bp-on-user-bp.c: New file.
7239 * gdb.base/sss-bp-on-user-bp.exp: New file.
7240
522c09bf
DB
72412014-05-30 David Blaikie <dblaikie@gmail.com>
7242
7243 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7244 gnu_inline semantics via attribute.
7245 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7246 source explicitly specifies the required semantics.
7247
bf4ef81e
MR
72482014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7249
7250 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7251
329ea579
PA
72522014-05-29 Pedro Alves <palves@redhat.com>
7253 Tom Tromey <tromey@redhat.com>
7254
7255 * gdb.base/async-shell.exp: Don't enable target-async.
7256 * gdb.base/async.exp
7257 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7258 parameter. Adjust.
7259 (top level): Don't test with "target-async".
7260 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7261 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7262 * gdb.base/inferior-died.exp: Don't enable target-async.
7263 * gdb.base/interrupt-noterm.exp: Likewise.
7264 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7265 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7266 * gdb.mi/mi-nonstop.exp: Likewise.
7267 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7268 * gdb.mi/mi-nsintrall.exp: Likewise.
7269 * gdb.mi/mi-nsmoribund.exp: Likewise.
7270 * gdb.mi/mi-nsthrexec.exp: Likewise.
7271 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7272 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7273 * gdb.python/py-evsignal.exp: Don't enable target-async.
7274 * gdb.python/py-evthreads.exp: Likewise.
7275 * gdb.python/py-prompt.exp: Likewise.
7276 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7277 * gdb.server/solib-list.exp: Don't enable target-async.
7278 * gdb.threads/thread-specific-bp.exp: Likewise.
7279 * lib/mi-support.exp: Adjust to use mi-async.
7280
fd664c91
PA
72812014-05-29 Pedro Alves <palves@redhat.com>
7282
7283 PR gdb/13860
7284 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7285 reason, even in sync mode.
7286
251bde03
PA
72872014-05-29 Pedro Alves <palves@redhat.com>
7288 Hui Zhu <hui@codesourcery.com>
7289
7290 PR PR15693
7291 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7292 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7293 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7294 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7295
7f3c0343
JB
72962014-05-28 Joel Brobecker <brobecker@adacore.com>
7297
7298 * config/monitor.exp (gdb_target_monitor): Replace use of
7299 "set remotebaud" by "set serial baud".
7300
b2715b27
AW
73012014-05-26 Andy Wingo <wingo@igalia.com>
7302
7303 * gdb.guile/scm-breakpoint.exp:
7304 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7305 properties instead of gdb-object-properties.
7306
498a4489
YQ
73072014-05-26 Yao Qi <yao@codesourcery.com>
7308
7309 * gdb.server/no-thread-db.exp: Specify source file name
7310 explicitly when setting a breakpoint.
7311
589fdceb
MM
73122014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7313
7314 * gdb.btrace/vdso.c: New.
7315 * gdb.btrace/vdso.exp: New.
7316
e9089e05
MM
73172014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7318
7319 * gdb.base/gcore.exp (capture_command_output): Move ...
7320 * lib/gdb.exp (capture_command_output): ... here.
7321
67b5c0c1
MM
73222014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7323
7324 * gdb.btrace/data.exp: Test memory access during btrace replay.
7325
a2199296
SM
73262014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7327
7328 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7329
17b2616c
PA
73302014-05-21 Pedro Alves <palves@redhat.com>
7331
7332 PR gdb/13860
7333 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7334 (top level): Test that output related to execution commands is
7335 sent to the console with CLI commands, but not with MI commands.
7336 Test that breakpoint events are always mirrored to the console.
7337 Also expect the new source line to be output after a "next" in
7338 async mode too. Make it a pass/fail test.
7339 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7340 output.
7341 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7342
5166082f
PA
73432014-05-21 Pedro Alves <palves@redhat.com>
7344
7345 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7346 Use them to test variations of "list" after reaching a breakpoint.
7347 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7348 Test "list" with listsize 10 after reaching a breakpoint.
7349 * gdb.python/python.exp (decode_line current location line
7350 number): Adjust expected line number.
7351
2f25d70f
SM
73522014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7353
7354 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7355 behavior for $args, pass it directly to "run".
7356
ff604a67
MR
73572014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7358
7359 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7360 30000 to 65536.
7361
6a3cb8e8
PA
73622014-05-21 Pedro Alves <palves@redhat.com>
7363
7364 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7365 auto-connect-native-target off".
7366 * gdb.base/auto-connect-native-target.c: New file.
7367 * gdb.base/auto-connect-native-target.exp: New file.
7368
4ebfc96e
PA
73692014-05-21 Pedro Alves <palves@redhat.com>
7370
7371 * gdb.base/default.exp: Test "target native" instead of "target
7372 child".
7373
36d46afb
MW
73742014-05-21 Mark Wielaard <mjw@redhat.com>
7375
7376 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7377
5876f503
JK
73782014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7379
7380 Fix TLS access for -static -pthread.
7381 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7382 <HAVE_TLS> (thread_function, main): Initialize it.
7383 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7384 Add clean_restart.
7385 <$have_tls != "">: Check TLSVAR.
7386
0256a6ac
PA
73872014-05-21 Pedro Alves <palves@redhat.com>
7388
7389 * gdb.base/dcache-line-read-error.c: New.
7390 * gdb.base/dcache-line-read-error.exp: New.
7391
936d2992
PA
73922014-05-20 Pedro Alves <palves@redhat.com>
7393
7394 * gdb.base/compare-sections.c: New file.
7395 * gdb.base/compare-sections.exp: New file.
7396
802e8e6d
PA
73972014-05-20 Pedro Alves <palves@redhat.com>
7398
7399 * gdb.base/break-idempotent.c: New file.
7400 * gdb.base/break-idempotent.exp: New file.
7401
e59fa00f
MM
74022014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7403
7404 * gdb.btrace/nohist.exp: New.
7405
8b696e31
YQ
74062014-05-20 Yao Qi <yao@codesourcery.com>
7407
7408 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7409 gdb.reverse directory and gdb_reverse_timeout exists in board
7410 setting.
7411 * README: Document gdb_reverse_timeout.
7412
73c9764f
YQ
74132014-05-20 Yao Qi <yao@codesourcery.com>
7414
7415 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7416 'test_file_name'. Treat args as a string instead of a list.
7417 (gdb_init): Rename argument 'args' by 'test_file_name'.
7418
f1f4348a
JK
74192014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7420
7421 * gdb.arch/powerpc-power.exp: New file.
7422 * gdb.arch/powerpc-power.s: New file.
7423
0dbe70ce
DE
74242014-05-16 Doug Evans <dje@google.com>
7425
7426 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
7427 * gdb.base/completion.exp: Check that all expected files exist
7428 before doing file completion.
0dbe70ce 7429
8d551b02
DE
74302014-05-16 Doug Evans <dje@google.com>
7431
7432 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7433 Update.
7434 (do_syscall_tests_without_xml): Update.
7435
73eb7709
PA
74362014-05-16 Pedro Alves <palves@redhat.com>
7437
7438 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7439 instead of "unknown output after running".
7440
3fae92fc
YQ
74412014-05-16 Yao Qi <yao@codesourcery.com>
7442
7443 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7444 file1.txt from host at the end.
7445 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7446
c2b2ccc5
DE
74472014-05-15 Doug Evans <dje@google.com>
7448
7449 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7450 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7451 loading file. Add test for TU lookup.
7452
8c217a4b
SM
74532014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7454
7455 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7456 calling "-exec-arguments" or "set args" before running the
7457 inferior.
7458
3deb39c6
SM
74592014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7460
7461 * lib/mi-support.exp (mi_expect_stop): Expect message for
7462 inferiors that exit with non-zero exit code.
7463
71a79f8c
YQ
74642014-05-14 Yao Qi <yao@codesourcery.com>
7465
7466 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7467 match absolute path on remote host.
7468 (test_file_list_exec_source_files): Remove "/" from the
7469 pattern.
7470
f23fcd46
YQ
74712014-05-14 Yao Qi <yao@codesourcery.com>
7472
7473 * boards/local-remote-host-notty.exp (${board}_file): New
7474 proc.
7475
9404b58f
KM
74762014-05-07 Kyle McMartin <kyle@redhat.com>
7477
7478 Pushed by Joel Brobecker <brobecker@adacore.com>.
7479 * gdb.arch/aarch64-atomic-inst.c: New file.
7480 * gdb.arch/aarch64-atomic-inst.exp: New file.
7481
5e45f04c
YQ
74822014-05-07 Yao Qi <yao@codesourcery.com>
7483
7484 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7485 in current context" too.
7486
c888a17d
KS
74872014-05-05 Keith Seitz <keiths@redhat.com>
7488
7489 * gdb.linespec/ls-dollar.exp: Add test for linespec
7490 file:convenience_variable.
7491
290a839c
YQ
74922014-05-05 Yao Qi <yao@codesourcery.com>
7493
7494 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7495 traceframes into tfile and ctf trace files. Read data from
7496 trace file and test collected data.
7497 (gdb_collect_locals_test): Likewise.
7498 (gdb_unavailable_registers_test): Likewise.
7499 (gdb_unavailable_floats): Likewise.
7500 (gdb_collect_globals_test): Likewise.
7501 (top-level): Append "ctf" to trace_file_targets if GDB
7502 supports.
7503
b5262cd0
YQ
75042014-05-05 Yao Qi <yao@codesourcery.com>
7505
7506 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7507 code to ...
7508 (gdb_collect_args_test_1): ... it. New proc.
7509 (gdb_collect_locals_test): Move some code to ...
7510 (gdb_collect_locals_test_1): ... it. New proc.
7511 (gdb_unavailable_registers_test): Move some code to ...
7512 (gdb_unavailable_registers_test_1): ... it. New proc.
7513 (gdb_unavailable_floats): Move some code to ...
7514 (gdb_unavailable_floats_1): ... it. New proc.
7515
30a1e6cc
SDJ
75162014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7517
7518 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7519 probes to test for bitness recognition.
7520 * gdb.arch/amd64-stap-optional-prefix.exp
7521 (test_probe_value_without_reg): New procedure.
7522 Add code to test for different kinds of bitness.
7523
f33da99a
SDJ
75242014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7525
7526 PR breakpoints/16889
7527 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7528 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7529
5b80f00d
PA
75302014-05-01 Pedro Alves <palves@redhat.com>
7531
7532 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7533 gdb_file_cmd if no file is specified.
7534 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7535 last_loaded_file to set the remote exec-file.
7536
f8c2a73c
PA
75372014-05-01 Pedro Alves <palves@redhat.com>
7538
7539 * boards/local-remote-host.exp: New file.
7540
be6e8ac7
PA
75412014-05-01 Pedro Alves <palves@redhat.com>
7542
7543 * boards/local-remote-host.exp: Rename to ...
7544 * boards/local-remote-host-notty.exp: ... this.
7545
cac0dc8f
JB
75462014-04-28 Joel Brobecker <brobecker@adacore.com>
7547
7548 * gdb.ada/dyn_arrayidx: New testcase.
7549
9730e6cc
YQ
75502014-04-26 Yao Qi <yao@codesourcery.com>
7551
7552 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7553 and compute the length of function main. Save it in
7554 $main_length.
7555 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7556 (top-level): Use gdb_compile to compile objects into
7557 executable and restart GDB. Remove invocation to
7558 prepare_for_testing.
7559
7ae1a6a6
PA
75602014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7561 Pedro Alves <palves@redhat.com>
7562
7563 PR server/16255
7564 * gdb.multi/multi-attach.c: New file.
7565 * gdb.multi/multi-attach.exp: New file.
7566
4082afcc
PA
75672014-04-25 Pedro Alves <palves@redhat.com>
7568
7569 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7570 user.
7571 (top level): Test that "set remote conditional-breakpoints-packet
7572 off" works as intended.
7573 * gdb.base/dprintf.exp: Test that "set remote
7574 breakpoint-commands-packet off" works as intended.
7575 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7576 New function.
7577 (top level): Call it.
7578 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7579 remote fast-tracepoints-packet off" works as intended.
7580 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7581 * lib/gdb.exp (gdb_is_target_remote): ... here.
7582
2abc3f8d
DB
75832014-04-24 David Blaikie <dblaikie@gmail.com>
7584
7585 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7586 ensure clang would not discard them.
7587 * gdb.base/gdbvars.c: Ditto.
7588 * gdb.base/memattr.c: Ditto.
7589 * gdb.base/whatis.c: Ditto.
7590 * gdb.python/py-prettyprint.c: Ditto.
7591 * gdb.trace/actions.c: Ditto.
7592 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7593 ensure clang would not discard it.
7594
bfd39632
DB
75952014-04-24 David Blaikie <dblaikie@gmail.com>
7596
7597 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7598 clang to emit the full definition of type required by the test
7599 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7600
22842ff6
DB
76012014-04-24 David Blaikie <dblaikie@gmail.com>
7602
7603 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7604 coax Clang into emitting the definition of the type.
7605 * gdb.cp/pr10728-x.h (y): Ditto.
7606 * gdb.cp/pr10728-y.cc (y): Ditto.
7607
c2e827ad
DB
76082014-04-24 David Blaikie <dblaikie@gmail.com>
7609
7610 * gdb.base/label.exp: XFAIL label related tests under Clang.
7611 * gdb.cp/cplabel.exp: Ditto.
7612 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7613 under Clang those using labels.
7614
4c2d33e7
YQ
76152014-04-25 Yao Qi <yao@codesourcery.com>
7616
7617 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7618 double_label.
7619 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7620 partial_label and double_label.
7621
56083b99
DB
76222014-04-24 David Blaikie <dblaikie@gmail.com>
7623
7624 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7625
25d4e99d
DB
76262014-04-24 David Blaikie <dblaikie@gmail.com>
7627
7628 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7629 of the function to work across GCC and Clang.
7630 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7631 pointer types (const void ** const V void **).
7632
01f9f808
MS
76332014-04-24 Michael Sturm <michael.sturm@mintel.com>
7634 Walfred Tedeschi <walfred.tedeschi@intel.com>
7635
7636 * Makefile.in (EXECUTABLES): Added i386-avx512.
7637 * gdb.arch/i386-avx512.c: New file.
7638 * gdb.arch/i386-avx512.exp: Likewise.
7639
4b48d439
KS
76402014-04-23 Keith Seitz <keiths@redhat.com>
7641
7642 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7643 (mi_make_breakpoint_table): New procedure.
7644 (mi_create_breakpoint): Use mi_make_breakpoint
7645 and return the result.
7646 (mi_make_breakpoint): New procedure.
7647 (mi_build_kv_pairs): New procedure.
7648
7649 * gdb.mi/mi-break.exp: Remove unused globals,
7650 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7651 All callers updated.
7652 * gdb.mi/mi-dprintf.exp: Use variable to track command
7653 number.
7654 Update all callers of mi_create_breakpoint and use
7655 mi_make_breakpoint_table.
7656 Remove any unused global variables.
7657 * gdb.mi/mi-nonstop.exp: Likewise.
7658 * gdb.mi/mi-nsintrall.exp: Likewise.
7659 * gdb.mi/mi-nsmoribund.exp: Likewise.
7660 * gdb.mi/mi-nsthrexec.exp: Likewise.
7661 * gdb.mi/mi-reverse.exp: Likewise.
7662 * gdb.mi/mi-simplerun.exp: Likewise.
7663 * gdb.mi/mi-stepn.exp: Likewise.
7664 * gdb.mi/mi-syn-frame.exp: Likewise.
7665 * gdb.mi/mi-until.exp: Likewise.
7666 * gdb.mi/mi-var-cp.exp: Likewise.
7667 * gdb.mi/mi-var-display.exp: Likewise.
7668 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7669 * gdb.mi/mi2-var-child.exp: Likewise.
7670 * gdb.mi/mi-vla-c99.exp: Likewise.
7671 * lib/mi-support.exp: Likewise.
7672
7673 From Ian Lance Taylor <iant@cygnus.com>:
7674 * lib/gdb.exp (parse_args): New procedure.
7675
08351840
PA
76762014-04-23 Pedro Alves <palves@redhat.com>
7677
7678 * gdb.base/break-unload-file.c: New file.
7679 * gdb.base/break-unload-file.exp: New file.
7680 * gdb.base/sym-file-lib.c (baz): New function.
7681 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7682 field.
7683 (load): Store the segment's mapped size.
7684 (unload): New function.
7685 (unload_shlib): New function.
7686 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7687 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7688 set a breakpoint at baz, and call it.
7689 * gdb.base/sym-file.exp: New tests for stale breakpoint
7690 instructions.
7691
076855f9
PA
76922014-04-23 Pedro Alves <palves@redhat.com>
7693
7694 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7695 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7696 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7697 * gdb.base/hbreak-unmapped.c: New file.
7698 * gdb.base/hbreak-unmapped.exp: New file.
7699 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7700 * lib/gdb.exp (gdb_is_target_remote): ... here.
7701
483805cf
PA
77022014-04-22 Pedro Alves <palves@redhat.com>
7703
7704 * gdb.base/consecutive-step-over.c: New file.
7705 * gdb.base/consecutive-step-over.exp: New file.
7706
06d97543
PA
77072014-04-22 Pedro Alves <palves@redhat.com>
7708
7709 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7710 instead of send_gdb/gdb_expect.
7711
b4429ea2
YQ
77122014-04-22 Yao Qi <yao@codesourcery.com>
7713
7714 * lib/trace-support.exp (generate_tracefile): New procedure.
7715 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7716 return 0.
7717 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7718 if generate_tracefile returns 1.
7719
51d48146
PA
77202014-04-18 Tom Tromey <palves@redhat.com>
7721 Pedro alves <tromey@redhat.com>
7722
7723 PR backtrace/15558
7724 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7725 with a backtrace limit.
7726 * gdb.python/py-frame-inline.exp: Test running to an inline
7727 function with a backtrace limit, and printing the newest frame.
7728 * gdb.python/py-frame-inline.c (main): Call f.
7729
bd1dce5f
MS
77302014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7731
7732 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7733
40d1a503
MS
77342014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7735
7736 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7737 Drop prefix from unsupported source file path.
7738
389b98f7
YQ
77392014-04-17 Yao Qi <yao@codesourcery.com>
7740
7741 * lib/gdb.exp (with_target_charset): New proc.
7742 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7743 with_target_charset.
7744 (test_print_strings): Likewise.
7745 (test_repeat_bytes): Likewise.
7746 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7747 for some tests.
7748
22869d73
KS
77492014-04-16 Keith Seitz <keiths@redhat.com>
7750
7751 PR gdb/15827
7752 * gdb.dwarf2/corrupt.c: New file.
7753 * gdb.dwarf2/corrupt.exp: New file.
7754
c4f87ca6
KS
77552014-04-16 Keith Seitz <keiths@redhat.com>
7756
7757 PR c++/16597
7758 * gdb.cp/namelessclass.cc: New file.
7759 * gdb.cp/namelessclass.exp: New file.
7760 * gdb.cp/namelessclass.S: New file.
7761
ab19de87
DE
77622014-04-16 Doug Evans <dje@google.com>
7763
7764 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7765 Add comment.
7766 (gdbserver_default_get_comm_port): New function.
7767 (gdbserver_start): Check if board file provided
7768 "gdbserver,get_comm_port" and use it if so.
7769 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7770 (gdb,socketport): Set to "stdio".
7771 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7772 (stdio_gdbserver_template): Delete.
7773 (${board}_get_remote_address): Update.
7774 (${board}_build_remote_cmd): Delete.
7775 (${board}_get_comm_port): New function.
7776 (${board}_spawn): Update.
7777 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7778 Delete.
7779 (${board}_get_remote_address): Update.
7780 (${board}_get_comm_port): New function.
7781
fc98a809
AB
77822014-04-16 Andrew Burgess <aburgess@broadcom.com>
7783
7784 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7785 appearing in any order.
7786
87fd9e6e
DE
77872014-04-15 Doug Evans <dje@google.com>
7788
7789 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7790 uninitialized value of "description".
7791
099fc3ea
KS
77922014-04-15 Keith Seitz <keiths@redhat.com>
7793
7794 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7795 Remove unused globals.
7796 (test_running_the_program): Likewise.
7797 (test_controlled_execution): Likewise.
7798 (test_controlling_breakpoints): Likewise.
7799 (test_program_termination): Likewise.
7800
5da151d4
KS
78012014-04-15 Keith Seitz <keiths@redhat.com>
7802
7803 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7804 unused globals.
7805 (test_rbreak_creation_and_listing): Likewise.
7806 (test_ignore_count): Likewise.
7807 (test_error): Likewise.
7808
35e5d2f0
PA
78092014-04-15 Pedro Alves <palves@redhat.com>
7810
7811 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7812 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7813 sym-file-loader.c.
7814 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7815 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7816 to sym-file-loader.c.
7817 (struct library): Forward declare.
7818 (load_shlib, lookup_function): Change prototypes.
7819 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7820 (translate_offset): Remove declarations.
7821 (get_text_addr): New declaration.
7822 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7823 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7824 sym-file-loader.h.
7825 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7826 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7827 here from sym-file-loader.h.
7828 (struct library): New structure.
7829 (load_shlib, lookup_function): Change prototypes and adjust to
7830 work with a struct library.
7831 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7832 (translate_offset): Make static.
7833 (get_text_addr): New function.
7834 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7835
eb4c1710
PA
78362014-04-15 Pedro Alves <palves@redhat.com>
7837
7838 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7839
2d1baf52
PA
78402014-04-15 Pedro Alves <palves@redhat.com>
7841
7842 * gdb.base/sym-file-loader.c: Include <limits.h>.
7843 (SELF_LINK): New define.
7844 (get_origin): New function.
7845 (load_shlib): Use it.
7846 * gdb.base/sym-file.exp: Don't early return if the target is
7847 remote. Use runto_main, and issue fail is that fails. Use
7848 gdb_load_shlibs.
7849 (shlib_name): Delete.
7850 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7851
7dd6df01
PA
78522014-04-15 Pedro Alves <palves@redhat.com>
7853
7854 * gdb.base/sym-file.exp: Remove regex characters from test
7855 message. Don't refer to breakpoint numbers in test messages.
7856
b50c8614
KS
78572014-04-14 Keith Seitz <keiths@redhat.com>
7858
7859 PR c++/16253
7860 * gdb.cp/var-tag.cc: New file.
7861 * gdb.cp/var-tag.exp: New file.
7862 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7863 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7864 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7865 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7866
3d567982
TT
78672014-04-14 Tom Tromey <tromey@redhat.com>
7868
7869 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7870 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7871 type.
7872 * gdb.cp/enum-class.exp: New file.
7873 * gdb.cp/enum-class.cc: New file.
7874
0626fc76
TT
78752014-04-14 Tom Tromey <tromey@redhat.com>
7876
7877 * gdb.dwarf2/enum-type.exp: New file.
7878
dca325b3
SA
78792014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7880
7881 * gdb.mi/mi-vla-c99.exp: New file.
7882 * gdb.mi/vla.c: New file.
7883
5854b38a
SA
78842014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7885
7886 * gdb.base/vla-datatypes.c: New file.
7887 * gdb.base/vla-datatypes.exp: New file.
7888
463bb957
SA
78892014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7890
7891 * gdb.base/vla-ptr.c: New file.
7892 * gdb.base/vla-ptr.exp: New file.
7893
3dd170be
SA
78942014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7895
7896 * gdb.dwarf2/count.exp: New file.
7897
5ecaaa66
SA
78982014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7899
7900 * gdb.base/vla-sideeffect.c: New file.
7901 * gdb.base/vla-sideeffect.exp: New file.
7902
41f1ada5
DB
79032014-04-14 David Blaikie <dblaikie@gmail.com>
7904
7905 * gdb.mi/non-stop.c: Add return value for non-void function return
7906 statement.
7907 * gdb.threads/staticthreads.c: Ditto.
7908
0be03e84
DE
79092014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7910 Doug Evans <xdje42@gmail.com>
7911
7912 * gdb.guile/scm-value.c: Improve test case.
7913 * gdb.guile/scm-value.exp: Add new test.
7914
f180a1fb
DB
79152014-04-11 David Blaikie <dblaikie@gmail.com>
7916
7917 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7918 override Clang's default.
7919
6b662e19
JB
79202014-04-11 Joel Brobecker <brobecker@adacore.com>
7921
7922 Revert the following changes (regressions):
7923
7924 * gdb.base/vla-sideeffect.c: New file.
7925 * gdb.base/vla-sideeffect.exp: New file.
7926
7927 * gdb.dwarf2/count.exp: New file.
7928
7929 * gdb.base/vla-multi.c: New file.
7930 * gdb.base/vla-multi.exp: New file.
7931
7932 * gdb.base/vla-ptr.c: New file.
7933 * gdb.base/vla-ptr.exp: New file.
7934
7935 * gdb.base/vla-datatypes.c: New file.
7936 * gdb.base/vla-datatypes.exp: New file.
7937
7938 * gdb.mi/mi-vla-c99.exp: New file.
7939 * gdb.mi/vla.c: New file.
7940
245a5f0b
KS
79412014-04-11 Keith Seitz <keiths@redhat.com>
7942
7943 PR c++/16675
7944 * gdb.cp/cpsizeof.exp: New file.
7945 * gdb.cp/cpsizeof.cc: New file.
7946
58a84dcf
SA
79472014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7948
191a8a90
JB
7949 * gdb.mi/mi-vla-c99.exp: New file.
7950 * gdb.mi/vla.c: New file.
58a84dcf 7951
c8655f75
SA
79522014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7953
7954 * gdb.base/vla-datatypes.c: New file.
7955 * gdb.base/vla-datatypes.exp: New file.
7956
024e13b4
SA
79572014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7958
7959 * gdb.base/vla-ptr.c: New file.
7960 * gdb.base/vla-ptr.exp: New file.
7961
1a237e0e
SA
79622014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7963
7964 * gdb.base/vla-multi.c: New file.
7965 * gdb.base/vla-multi.exp: New file.
7966
504f3432
SA
79672014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7968
7969 * gdb.dwarf2/count.exp: New file.
7970
3bce8237
SA
79712014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7972
191a8a90
JB
7973 * gdb.base/vla-sideeffect.c: New file.
7974 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 7975
322f9c21
YQ
79762014-04-11 Yao Qi <yao@codesourcery.com>
7977
7978 * gdb.base/completion.exp: Check file exists before running tests
7979 on file completion.
7980
d708bcd1
PA
79812014-04-10 Pedro Alves <palves@redhat.com>
7982
7983 * gdb.base/cond-eval-mode.c: New file.
7984 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7985 prepare_for_testing to build the new file. Check result of
7986 runto_main.
7987 (test_break, test_watch): New procedures.
7988 (top level): Use them.
7989
ae1d2761
PM
79902014-04-08 Pierre Muller <muller@sourceware.org>
7991
7992 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7993 Ctrl-V use for mingw hosts.
7994
7af389b8
SC
79952014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7996
7997 * gdb.python/py-value.c: Improve test case.
7998 * gdb.python/py-value.exp: Add new test.
7999
5e703181
DE
80002014-04-07 David Blaikie <dblaikie@gmail.com>
8001
8002 * lib/compiler.c: Identify the clang compiler.
8003 * lib/compiler.cc: Ditto.
8004
9810b410
YQ
80052014-04-03 Yao Qi <yao@codesourcery.com>
8006
8007 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8008
98d1b8dc
AB
80092014-04-01 Anton Blanchard <anton@samba.org>
8010
8011 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8012 messages unique.
8013
3114cea1
AB
80142014-04-01 Anton Blanchard <anton@samba.org>
8015
8016 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8017 prepare_for_testing.
8018
62f7182c
AB
80192014-04-01 Anton Blanchard <anton@samba.org>
8020
8021 * gdb.arch/ppc64-atomic-inst.c: Remove.
8022 * gdb.arch/ppc64-atomic-inst.S: New file.
8023 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8024
770e7fc7
DE
80252014-03-31 Doug Evans <dje@google.com>
8026
8027 * gdb.base/print-symbol-loading-lib.c: New file.
8028 * gdb.base/print-symbol-loading-main.c: New file.
8029 * gdb.base/print-symbol-loading.exp: New file.
8030
46e2bafa
YQ
80312014-03-31 Yao Qi <yao@codesourcery.com>
8032
8033 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8034
8776cfe9
JB
80352014-03-28 Joel Brobecker <brobecker@adacore.com>
8036
8037 * gdb.ada/mi_dyn_arr: New testcase.
8038
5d1ef361
DE
80392014-03-27 Doug Evans <dje@google.com>
8040
8041 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8042
b5bee914
YQ
80432014-03-27 Yao Qi <yao@codesourcery.com>
8044
8045 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8046 if target is nios2-*-*.
8047
0d4d0e77
YQ
80482014-03-26 Yao Qi <yao@codesourcery.com>
8049
8050 * lib/gdb.exp (readline_is_used): New proc.
8051 * gdb.base/completion.exp: Move tests on command complete up.
8052 Skip the rest of tests if readline is not used.
8053 * gdb.ada/complete.exp: Skp the test if readline is not
8054 used.
8055 * gdb.base/filesym.exp: Likewise.
8056 * gdb.base/macscp.exp: Likewise.
8057 * gdb.base/readline-ask.exp: Likewise.
8058 * gdb.base/readline.exp: Likewise.
8059 * gdb.python/py-cmd.exp: Likewise.
8060 * gdb.trace/tfile.exp: Likewise.
8061
29361eee
YQ
80622014-03-26 Yao Qi <yao@codesourcery.com>
8063
8064 * gdb.base/macscp.exp: Fix code format issues.
8065
bc9a5525
UW
80662014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8067
8068 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8069 * gdb.asm/powerpc64le.inc: New file.
8070
d3839ede
PA
80712014-03-25 Pedro Alves <palves@redhat.com>
8072 Doug Evans <dje@google.com>
8073
8074 * gdb.base/source-execution.c: New file.
8075 * gdb.base/source-execution.exp: New file.
8076 * gdb.base/source-execution.gdb: New file.
8077
01672a57
DE
80782014-03-24 Doug Evans <dje@google.com>
8079
8080 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8081 using fission.
8082
88bbeca9
HZ
80832014-03-24 Hui Zhu <hui@codesourcery.com>
8084 Pedro Alves <palves@redhat.com>
8085
8086 PR breakpoints/16101
8087 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8088 test pass/fail messages. Detect missing support for dprintf when
8089 breakpoints are actually inserted.
8090 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8091 breakpoints are actually inserted.
8092 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8093 fails.
8094
d2348791
JK
80952014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8096
8097 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8098
feef67ab
DE
80992014-03-22 Doug Evans <xdje42@gmail.com>
8100
8101 * gdb.python/python.exp (python not supported): Verify multi-line
8102 python command issues an error.
25d743f9 8103 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 8104 guile command issues an error.
feef67ab 8105
ecebef6a
MR
81062014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8107
8108 * gdb.threads/thread-specific.exp: Handle the lack of usable
8109 $this_breakpoint and $this_thread.
8110
ccdd1909
HZ
81112014-03-21 Hui Zhu <hui@codesourcery.com>
8112
8113 * gdb.base/attach.exp (do_command_attach_tests): New.
8114
beb460e8
PA
81152014-03-20 Tom Tromey <tromey@redhat.com>
8116 Pedro Alves <palves@redhat.com>
8117
8118 PR cli/15718
8119 * gdb.base/condbreak-call-false.c: New file.
8120 * gdb.base/condbreak-call-false.exp: New file.
8121
40acf43a
PA
81222014-03-20 Pedro Alves <palves@redhat.com>
8123
8124 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8125 Delete.
8126 (block_signals, unblock_signals): Delete.
8127 (child_function_2, main): Remove references to deleted variable
8128 and functions.
8129
9f5e1e02
PA
81302014-03-20 Pedro Alves <palves@redhat.com>
8131
8132 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8133 Use pthread_kill to signal thread 2.
8134 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8135 Adjust to make the test send itself a signal rather than using the
8136 host's "kill" command.
8137
99619bea
PA
81382014-03-20 Pedro Alves <palves@redhat.com>
8139
8140 * gdb.threads/multiple-step-overs.c: New file.
8141 * gdb.threads/multiple-step-overs.exp: New file.
8142 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8143 Adjust expected infrun debug output.
8144
2adfaa28
PA
81452014-03-20 Pedro Alves <palves@redhat.com>
8146
8147 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8148 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8149
31e77af2
PA
81502014-03-20 Pedro Alves <palves@redhat.com>
8151
8152 PR breakpoints/7143
8153 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8154 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8155 of gdb_test_multiple.
8156 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8157 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8158
b9f437de
PA
81592014-03-20 Pedro Alves <palves@redhat.com>
8160
8161 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8162 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8163
05adc73e
PA
81642014-03-19 Pedro Alves <palves@redhat.com>
8165
8166 * gdb.base/async.exp: Remove early return.
8167
6048b950
PA
81682014-03-19 Pedro Alves <palves@redhat.com>
8169
8170 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8171
8bcfb00a
PA
81722014-03-19 Pedro Alves <palves@redhat.com>
8173
8174 * gdb.base/async.exp (test_background): Expect \r\n after
8175 "completed." in the fail pattern.
8176
884e37dc
PA
81772014-03-19 Pedro Alves <palves@redhat.com>
8178
8179 * gdb.base/async.exp (test_background): New procedure.
8180 Use it for all background execution command tests.
8181
148e57e2
PA
81822014-03-19 Pedro Alves <palves@redhat.com>
8183
8184 * gdb.base/async.exp: Use prepare_for_testing.
8185
f48088c7
PA
81862014-03-19 Pedro Alves <palves@redhat.com>
8187
8188 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8189 the same line.
8190
e2f6c966
PA
81912014-03-19 Pedro Alves <palves@redhat.com>
8192
8193 * gdb.base/async.c (main): Add "jump here" and "until here" line
8194 marker comments.
8195 * gdb.base/async.exp (jump_here): New global.
8196 (jump& test): Use it.
8197 (until_here): New global.
8198 (until& test): Use it.
8199
c30568d4
PA
82002014-03-19 Pedro Alves <palves@redhat.com>
8201
8202 * gdb.base/async.exp: Don't frob gdb_protocol.
8203
0172b6a7
DE
82042014-03-18 Doug Evans <xdje42@gmail.com>
8205
8206 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8207 Fix spelling of exec-done-display.
8208
06c868a8
JK
82092014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8210
8211 PR gdb/15358
8212 * gdb.base/gdb-sigterm.c: New file.
8213 * gdb.base/gdb-sigterm.exp: New file.
8214
0c7e1a46
PA
82152014-03-18 Pedro Alves <palves@redhat.com>
8216
8217 PR gdb/13860
8218 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8219 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8220 solib-event.
8221
f7c77d93
JB
82222014-03-17 Joel Brobecker <brobecker@adacore.com>
8223
8224 * gdb.ada/pckd_arr_ren: New testcase.
8225
5a1e8c7a
DE
82262014-03-13 Doug Evans <xdje42@gmail.com>
8227
8228 PR guile/16612
8229 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8230 collect after discarding symbols.
8231
350e1a76
DE
82322014-03-13 Ludovic Courtès <ludo@gnu.org>
8233 Doug Evans <xdje42@gmail.com>
8234
8235 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8236 to history survives a gc.
8237
a69900ae
PA
82382014-03-13 Pedro Alves <palves@redhat.com>
8239
8240 * gdb.base/default.exp: Don't test "target procfs".
8241
5db9f0bd
PA
82422014-03-13 Pedro Alves <palves@redhat.com>
8243
8244 * gdb.base/default.exp: Update "target child" and "target procfs"
8245 tests to not expect "Unix".
8246
b3ccfe11
TT
82472014-03-12 Tom Tromey <tromey@redhat.com>
8248
8249 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8250 New procs. Add target-async tests.
8251 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8252 Add target-async tests.
8253
646f4417
AA
82542014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8255
8256 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8257 'func_start' and 'func_end' for the beginning and end of the
8258 function code, respectively.
8259 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8260 'func_end' instead of 'func' and 'main'.
8261
288c211f
AA
82622014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8263
8264 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8265 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8266 generate the debug info assembler source.
8267
e0c0f156
AA
82682014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8269
8270 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8271 * gdb.dwarf2/arr-subrange.exp: Likewise.
8272 * gdb.dwarf2/dwz.exp: Likewise.
8273 * gdb.dwarf2/method-ptr.exp: Likewise.
8274 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8275 * gdb.dwarf2/subrange.exp: Likewise.
8276 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8277 * gdb.dwarf2/implptrpiece.exp: Likewise.
8278 * gdb.dwarf2/nostaticblock.exp: Likewise.
8279
0e5c4555
AA
82802014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8281
8282 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8283 directory to absolute path name arguments.
8284
5ec18f2b
JG
82852014-03-10 Joel Brobecker <brobecker@adacore.com>
8286
8287 * gdb.ada/tagged_access: New testcase.
8288
847fc4f2
MM
82892014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8290
8291 * gdb.btrace/data.exp: Update expected output.
8292
cc3da688
YQ
82932014-03-06 Yao Qi <yao@codesourcery.com>
8294
8295 * gdb.trace/pr16508.exp: New file.
8296
0f26cec1
PA
82972014-03-05 Pedro Alves <palves@redhat.com>
8298
8299 PR gdb/16575
8300 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8301 procedure.
8302 (top level): Adjust to use it. Add tests that exercise breakpoint
8303 interaction with the code-cache.
8304
7a5a839f
LC
83052014-02-26 Ludovic Courtès <ludo@gnu.org>
8306
8307 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8308 test for 'history-append!'.
8309
31aa7e4e
JB
83102014-02-26 Joel Brobecker <brobecker@adacore.com>
8311
8312 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8313 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8314 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8315 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8316 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8317 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8318
1b588015
JB
83192014-02-26 Joel Brobecker <brobecker@adacore.com>
8320
8321 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8322 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8323 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8324
55426c9d
JB
83252014-02-26 Joel Brobecker <brobecker@adacore.com>
8326
8327 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8328
dc53a7ad
JB
83292014-02-26 Joel Brobecker <brobecker@adacore.com>
8330
8331 * gdb.dwarf2/arr-stride.c: New file.
8332 * gdb.dwarf2/arr-stride.exp: New file.
8333
12ab52e9
PA
83342014-02-26 Pedro Alves <palves@redhat.com>
8335
8336 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8337 that won't ever trigger. Make sure that GDB reports the correct
8338 breakpoint that caused the stop.
8339
849c862e
JK
83402014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8341
8342 PR gdb/16626
8343 * gdb.base/auto-load-script: New file.
8344 * gdb.base/auto-load.c: New file.
8345 * gdb.base/auto-load.exp: New file.
8346
71b7d793
JK
8347 PR gdb/16626
8348 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8349
e2f0d509
JK
83502014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8351
8352 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8353 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8354
50cc37c8
DE
83552014-02-24 Doug Evans <dje@google.com>
8356
8357 * lib/gdb.exp (run_on_host): Log error output if program fails.
8358
ea4758f2
PA
83592014-02-21 Pedro Alves <palves@redhat.com>
8360
8361 * gdb.threads/step-after-sr-lock.c: Rename to ...
8362 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8363 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8364 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8365 ... this.
8366
d7b30f67
SDJ
83672014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8368
8369 PR tdep/16397
8370 * gdb.arch/amd64-stap-special-operands.exp: New file.
8371 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8372 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8373 * gdb.arch/amd64-stap-triplet.S: Likewise.
8374 * gdb.arch/amd64-stap-triplet.c: Likewise.
8375
83deb43f
JB
83762014-02-20 Joel Brobecker <brobecker@adacore.com>
8377
8378 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8379 in .section pseudo-op.
8380
adde2bff
DE
83812014-02-20 lin zuojian <manjian2006@gmail.com>
8382 Joel Brobecker <brobecker@adacore.com>
8383 Doug Evans <xdje42@gmail.com>
8384
8385 PR symtab/16581
8386 * gdb.dwarf2/dw2-icycle.S: New file.
8387 * gdb.dwarf2/dw2-icycle.c: New file.
8388 * gdb.dwarf2/dw2-icycle.exp: New file.
8389
f7bd0f78
SC
83902014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8391
8392 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8393 operations on gdb.Value objects.
8394 * gdb.python/py-value-cc.exp: Add new test to test operations on
8395 gdb.Value objects.
8396
c17ef0d5
DE
83972014-02-18 Doug Evans <dje@google.com>
8398
8399 * Makefile.in (TESTS): New variable.
8400 (expanded_tests, expanded_tests_or_none): New variables
8401 (check-single): Pass $(expanded_tests_or_none) to runtest.
8402 (check-parallel): Only run tests in $(TESTS) if non-empty.
8403 (check/no-matching-tests-found): New rule.
8404 * README: Document TESTS makefile variable.
8405
5dd3176f
DE
84062014-02-18 Doug Evans <dje@google.com>
8407
8408 * Makefile.in (check-parallel): rm -rf outputs temp.
8409
0b10be4f
JK
84102014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8411
8412 Fix "ERROR: no fileid for" in the testsuite.
8413 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8414
85f224e7
DE
84152014-02-12 Doug Evans <dje@google.com>
8416
8417 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8418 (MISCELLANEOUS): New variable.
8419 (clean): rm -rf $(MISCELLANEOUS).
8420 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8421 dwp live in the same directory as symlinks, with each symlink pointed
8422 to a differently named file in a different directory.
8423
149b30ff
DE
84242014-02-11 Doug Evans <dje@google.com>
8425
8426 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8427 of Tcl file commands.
8428
1dfdac32
MK
84292014-02-10 Mark Kettenis <kettenis@gnu.org>
8430
8431 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8432 "kill -SIGUSR1 -1".
8433
aa4fb036
JB
84342014-02-10 Joel Brobecker <brobecker@adacore.com>
8435
8436 * gdb.ada/tick_length_array_enum_idx: New testcase.
8437
ed3ef339
DE
84382014-02-10 Doug Evans <xdje42@gmail.com>
8439
8440 * configure.ac (AC_OUTPUT): Add gdb.guile.
8441 * configure: Regenerate.
8442 * lib/gdb-guile.exp: New file.
8443 * lib/gdb.exp (get_target_charset): New function.
8444 * gdb.base/help.exp: Update expected output from "apropos apropos".
8445 * gdb.guile/Makefile.in: New file.
8446 * gdb.guile/guile.exp: New file.
8447 * gdb.guile/scm-arch.c: New file.
8448 * gdb.guile/scm-arch.exp: New file.
8449 * gdb.guile/scm-block.c: New file.
8450 * gdb.guile/scm-block.exp: New file.
8451 * gdb.guile/scm-breakpoint.c: New file.
8452 * gdb.guile/scm-breakpoint.exp: New file.
8453 * gdb.guile/scm-disasm.c: New file.
8454 * gdb.guile/scm-disasm.exp: New file.
8455 * gdb.guile/scm-equal.c: New file.
8456 * gdb.guile/scm-equal.exp: New file.
8457 * gdb.guile/scm-error.exp: New file.
8458 * gdb.guile/scm-error.scm: New file.
8459 * gdb.guile/scm-frame-args.c: New file.
8460 * gdb.guile/scm-frame-args.exp: New file.
8461 * gdb.guile/scm-frame-args.scm: New file.
8462 * gdb.guile/scm-frame-inline.c: New file.
8463 * gdb.guile/scm-frame-inline.exp: New file.
8464 * gdb.guile/scm-frame.c: New file.
8465 * gdb.guile/scm-frame.exp: New file.
8466 * gdb.guile/scm-generics.exp: New file.
8467 * gdb.guile/scm-gsmob.exp: New file.
8468 * gdb.guile/scm-iterator.c: New file.
8469 * gdb.guile/scm-iterator.exp: New file.
8470 * gdb.guile/scm-math.c: New file.
8471 * gdb.guile/scm-math.exp: New file.
8472 * gdb.guile/scm-objfile-script-gdb.in: New file.
8473 * gdb.guile/scm-objfile-script.c: New file.
8474 * gdb.guile/scm-objfile-script.exp: New file.
8475 * gdb.guile/scm-objfile.c: New file.
8476 * gdb.guile/scm-objfile.exp: New file.
8477 * gdb.guile/scm-ports.exp: New file.
8478 * gdb.guile/scm-pretty-print.c: New file.
8479 * gdb.guile/scm-pretty-print.exp: New file.
8480 * gdb.guile/scm-pretty-print.scm: New file.
8481 * gdb.guile/scm-section-script.c: New file.
8482 * gdb.guile/scm-section-script.exp: New file.
8483 * gdb.guile/scm-section-script.scm: New file.
8484 * gdb.guile/scm-symbol.c: New file.
8485 * gdb.guile/scm-symbol.exp: New file.
8486 * gdb.guile/scm-symtab-2.c: New file.
8487 * gdb.guile/scm-symtab.c: New file.
8488 * gdb.guile/scm-symtab.exp: New file.
8489 * gdb.guile/scm-type.c: New file.
8490 * gdb.guile/scm-type.exp: New file.
8491 * gdb.guile/scm-value-cc.cc: New file.
8492 * gdb.guile/scm-value-cc.exp: New file.
8493 * gdb.guile/scm-value.c: New file.
8494 * gdb.guile/scm-value.exp: New file.
8495 * gdb.guile/source2.scm: New file.
8496 * gdb.guile/types-module.cc: New file.
8497 * gdb.guile/types-module.exp: New file.
8498
7026a7c1
YQ
84992014-02-10 Yao Qi <yao@codesourcery.com>
8500
8501 PR testsuite/16543
8502 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8503 * configure: Regenerated.
8504 * Makefile.in: New file.
8505
6c466447
AS
85062014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8507
8508 * gdb.python/py-framefilter.exp: Fix typo.
8509
6e854735
YQ
85102014-02-08 Yao Qi <yao@codesourcery.com>
8511
8512 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8513 that no =breakpoint-modified is emitted when breakpoints are
8514 modified through MI commands.
8515
d137e6dc
PA
85162014-02-07 Pedro Alves <pedro@codesourcery.com>
8517 Pedro Alves <palves@redhat.com>
8518
8519 * gdb.threads/step-after-sr-lock.c: New file.
8520 * gdb.threads/step-after-sr-lock.exp: New file.
8521
b5ee5a50
PA
85222014-02-07 Pedro Alves <palves@redhat.com>
8523
8524 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8525
3c77faf3
JK
85262014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8527
8528 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8529 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8530
6dddc817
DE
85312014-02-06 Doug Evans <xdje42@gmail.com>
8532
8533 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8534 output.
8535
8536 * gdb.gdb/python-interrupts.exp: New file.
8537
de7b2893
YQ
85382014-02-05 Yao Qi <yao@codesourcery.com>
8539
8540 * gdb.trace/report.exp (use_collected_data): Test the output
8541 of "info threads" and "info inferiors".
8542
66d032ac
YQ
85432014-02-05 Yao Qi <yao@codesourcery.com>
8544
8545 Revert this patch:
8546
8547 2013-05-24 Yao Qi <yao@codesourcery.com>
8548
8549 * gdb.trace/tfile.exp: Test inferior and thread.
8550
591a12a1
UW
85512014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8552
8553 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8554 on a function.
8555 * gdb.base/step-bt.c: Call hello via function pointer to make
8556 sure its first instruction is executed on powerpc64le-linux.
8557
0ff3e01f
UW
85582014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8559
8560 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8561
084ee545
UW
85622014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8563
8564 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8565 of the test patterns for use on little-endian systems.
8566
6ed14ff3
UW
85672014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8568
8569 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8570 (decimal_vector): Fix for little-endian.
8571
401e27fd
JM
85722014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8573
8574 * gdb.arch/sparc-sysstep.exp: New file.
8575 * gdb.arch/sparc-sysstep.c: Likewise.
8576
8577 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8578
8b924729
EBM
85792014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8580
8581 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8582
fb151210
JB
85832014-01-23 Tom Tromey <tromey@redhat.com>
8584
8585 * gdb.ada/array_char_idx: New testcase.
8586
0740f8d8
TT
85872014-01-23 Tom Tromey <tromey@redhat.com>
8588
8589 PR python/16487:
8590 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8591 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8592 classes.
8593
21909fa1
TT
85942014-01-23 Tom Tromey <tromey@redhat.com>
8595
8596 PR python/16491:
8597 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8598 string from an inferior frame.
8599 * gdb.python/py-framefilter-mi.exp: Update.
8600
87ce2a04
DE
86012014-01-22 Doug Evans <dje@google.com>
8602
8603 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8604
237b092b
AA
86052014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8606
8607 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8608
d674a709
AA
86092014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8610
8611 * gdb.trace/entry-values.exp: Remove excess space character from
8612 regex patterns. Handle s390 call instruction.
8613
20fa3390
AA
86142014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8615
8616 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8617 define "*_start" label. Make "name" static.
8618 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8619 ${name} by references to ${name}_start.
8620
78466714
AA
86212014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8622
8623 * gdb.base/info-macros.exp: Remove "debug" from the compile
8624 options.
8625
ec9f644a
IB
86262014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8627
8628 * gdb.dlang/demangle.exp: New file.
8629
94b1b47e
IB
86302014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8631
8632 * gdb.dlang/primitive-types.exp: New file.
8633
7f420862
IB
86342014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8635
8636 * configure.ac: Create gdb.dlang/Makefile.
8637 * configure: Regenerate.
8638 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8639 * gdb.dlang/Makefile.in: New file.
8640 * lib/d-support.exp: New file.
8641 * lib/gdb.exp (skip_d_tests): New proc.
8642
52834460
MM
86432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8644
8645 * gdb.btrace/delta.exp: Check reverse stepi.
8646 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8647 * gdb.btrace/finish.exp: New.
8648 * gdb.btrace/next.exp: New.
8649 * gdb.btrace/nexti.exp: New.
8650 * gdb.btrace/record_goto.c: Add comments.
8651 * gdb.btrace/step.exp: New.
8652 * gdb.btrace/stepi.exp: New.
8653 * gdb.btrace/multi-thread-step.c: New.
8654 * gdb.btrace/multi-thread-step.exp: New.
8655 * gdb.btrace/rn-dl-bind.c: New.
8656 * gdb.btrace/rn-dl-bind.exp: New.
8657 * gdb.btrace/data.c: New.
8658 * gdb.btrace/data.exp: New.
8659 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8660
6e07b1d2
MM
86612014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8662
8663 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8664 * gdb.btrace/exception.exp: Update.
8665 * gdb.btrace/instruction_history.exp: Update.
8666 * gdb.btrace/record_goto.exp: Update.
8667 * gdb.btrace/tailcall.exp: Update.
8668 * gdb.btrace/unknown_functions.exp: Update.
8669 * gdb.btrace/delta.exp: New.
8670
0b722aec
MM
86712014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8672
8673 * gdb.btrace/record_goto.exp: Add backtrace test.
8674 * gdb.btrace/tailcall.exp: Add backtrace test.
8675
066ce621
MM
86762014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8677
8678 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8679 * gdb.btrace/record_goto.c: New.
8680 * gdb.btrace/record_goto.exp: New.
8681 * gdb.btrace/x86-record_goto.S: New.
8682
0688d04e
MM
86832014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8684
8685 * gdb.btrace/function_call_history.exp: Update tests.
8686 * gdb.btrace/instruction_history.exp: Update tests.
8687
8710b709
MM
86882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8689
8690 * gdb.btrace/function_call_history.exp: Fix expected field
8691 order for "record function-call-history".
8692 Add new tests for "record function-call-history /c".
8693 * gdb.btrace/exception.cc: New.
8694 * gdb.btrace/exception.exp: New.
8695 * gdb.btrace/tailcall.exp: New.
8696 * gdb.btrace/x86-tailcall.S: New.
8697 * gdb.btrace/x86-tailcall.c: New.
8698 * gdb.btrace/unknown_functions.c: New.
8699 * gdb.btrace/unknown_functions.exp: New.
8700 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8701
5de9129b
MM
87022014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8703
8704 * gdb.btrace/instruction_history.exp: Update.
8705 * gdb.btrace/function_call_history.exp: Update.
8706
23a7fe75
MM
87072014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8708
8709 * gdb.btrace/function_call_history.exp: Fix expected function
8710 trace.
8711 * gdb.btrace/instruction_history.exp: Initialize traced.
8712 Remove traced_functions.
8713
724c7dd8
MM
87142014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8715
8716 * gdb.btrace/function_call_history.exp: Update
8717 * gdb.btrace/instruction_history.exp: Update.
8718
6d78d93b
MM
87192014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8720
8721 * gdb.btrace/enable.exp: Update expected text.
8722
93a360cc
OJ
87232014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8724
8725 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8726 bytes.
8727
3772b53f
MR
87282014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8729
8730 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8731
596662fa
OJ
87322014-01-15 Omair Javaid <omair.javaid@linaro.org>
8733
8734 * lib/gdb.exp (supports_process_record): Return true for
8735 arm*-linux*. (supports_reverse): Likewise.
8736
b5b08fb4
SC
87372014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8738
8739 PR python/15464
8740 PR python/16113
8741 * gdb.python/py-type.c: Enhance test case.
8742 * gdb.python/py-value-cc.cc: Likewise
8743 * gdb.python/py-type.exp: Add new tests.
8744 * gdb.python/py-value-cc.exp: Likewise
8745
52d7fb13
AA
87462014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8747 Pedro Alves <palves@redhat.com>
8748
8749 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8750 Make "name" extern.
8751 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8752 references to ${name}_start by references to ${name}.
8753
a2cd8cfe
JB
87542014-01-10 Joel Brobecker <brobecker@adacore.com>
8755
8756 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8757
4e23fced
JB
87582014-01-10 Joel Brobecker <brobecker@adacore.com>
8759
8760 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8761
c6a9e42c
PA
87622014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8763 Pedro Alves <palves@redhat.com>
8764
8765 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 8766 mi_gdb_target_load.
c6a9e42c 8767
b7ea362b
PA
87682014-01-08 Pedro Alves <palves@redhat.com>
8769
8770 * gdb.threads/reconnect-signal.c: New file.
8771 * gdb.threads/reconnect-signal.exp: New file.
8772
5e3f4fab
EBM
87732014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8774
8775 * gdb.base/source-dir.exp: New file.
8776
79301218
JB
87772014-01-07 Joel Brobecker <brobecker@adacore.com>
8778
8779 * gdb.ada/mi_interface: New testcase.
8780
8e355c5d
JB
87812014-01-07 Joel Brobecker <brobecker@adacore.com>
8782
8783 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8784 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8785 gdb.ada/pp-rec-component/pck.ads: New files.
8786
c0d48811
JB
87872014-01-07 Joel Brobecker <brobecker@adacore.com>
8788
8789 * gdb.python/py-pp-integral.c: New file.
8790 * gdb.python/py-pp-integral.py: New file.
8791 * gdb.python/py-pp-integral.exp: New file.
8792
17b609c3 8793For older changes see ChangeLog-1993-2013.
c906108c 8794\f
8d8cb839
EZ
8795;; Local Variables:
8796;; mode: change-log
8797;; left-margin: 8
8798;; fill-column: 74
8799;; version-control: never
8800;; End:
902f2ccb 8801
618f726f 8802 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
8803 Copying and distribution of this file, with or without modification,
8804 are permitted provided the copyright notice and this notice are preserved.
This page took 2.618853 seconds and 4 git commands to generate.