MIPS/GAS: Respect the `insn32' mode in branch relaxation
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
e0461dbb
MM
12016-07-26 Markus Metzger <markus.t.metzger@intel.com>
2
3 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
4 selecting assembly source files.
5 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
6 assembly source files.
7 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
8 assembly source files.
9 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
10 selecting assembly source files.
11
8194e927
SM
122016-07-25 Simon Marchi <simon.marchi@ericsson.com>
13
14 * gdb.base/new-ui.exp (do_test_invalid_args): New
15 procedure.
16
c0272db5
TW
172016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
18
19 * gdb.btrace/reconnect.c: New file.
20 * gdb.btrace/reconnect.exp: New file.
21
e3487908
GKB
222016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
23
24 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
25 to test_catch_syscall_group.
26 (test_catch_syscall_group): New.
27
12df5c00
TT
282016-07-21 Tom Tromey <tom@tromey.com>
29
30 * gdb.rust/simple.rs (main): Use empty struct expression.
31 * gdb.rust/simple.exp: Add tests for empty struct expression.
32
bae62ee2
YQ
332016-07-21 Yao Qi <yao.qi@linaro.org>
34
35 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
36 if gdb_skip_xml_test is true on some targets.
37
b1b53fb3
YQ
382016-07-21 Yao Qi <yao.qi@linaro.org>
39
40 * gdb.server/solib-list.exp: Unset last_loaded_file.
41
027d97f8
JK
422016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
43
44 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
45 "step into captured_main (args)".
46
7674d381
JK
472016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
48
49 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
50
72b5d099
JK
512016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
52
53 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
54
1f960ced
PA
552016-07-19 Pedro Alves <palves@redhat.com>
56
57 * gdb.opt/inline-break.exp: Remove optimize=-O2.
58 * gdb.opt/inline-bt.exp: Likewise.
59 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
60 additional_flags=-Winline.
61 * gdb.opt/inline-locals.exp: Likewise.
62 * gdb.opt/inline-markers.c (ATTR): Define.
63 (inlined_fn): Use it.
64
f25827c1
YQ
652016-07-19 Yao Qi <yao.qi@linaro.org>
66
67 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
68 (test_with_self): Remove some code. Remove argument executable.
69 (top-level): Use do_self_tests.
70
37539ebe
DB
712016-07-15 Zachary Welch <zwelch@codesourcery.com>
72 Don Breazeal <donb@codesourcery.com>
73
74 * gdb.base/maint.exp: Escape paths used in regular expressions.
75 * gdb.stabs/weird.exp: Likewise.
76
dac790e1
TT
772016-07-13 Tom Tromey <tom@tromey.com>
78
79 PR python/15620, PR python/18620:
80 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
81 (test_bkpt_events): New procs.
82
93daf339
TT
832016-07-13 Tom Tromey <tom@tromey.com>
84
85 PR python/17698:
86 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
87 test.
88 (test_watchpoints): Likewise.
89 (test_bkpt_pending): New proc.
90
6571a381
TT
912016-07-13 Tom Tromey <tom@tromey.com>
92
93 PR cli/18053:
94 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
95 completion test.
96
e8732474
JK
972016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
98
99 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
100 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
101 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
102 f_label.
103 (g): Rename g_end_lbl to g_label.
104 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
105 low_pc and high_pc.
106 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
107
e0f3fd7c
TT
1082016-07-12 Tom Tromey <tom@tromey.com>
109
110 PR python/19293:
111 * gdb.python/py-unwind-maint.exp: Update tests.
112
3cfe46b6
YQ
1132016-07-12 Yao Qi <yao.qi@linaro.org>
114
115 * lib/selftest-support.exp (selftest_setup): Match the output
116 when captured_main is inlined.
117
4f19a0e6
WT
1182016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
119
120 * gdb.fortran/derived-types.exp (result_line, result_line_2):
121 New variables.
122 (print this%a, print this%b, print this): New tests.
123 * gdb.fortran/derived-types.f90 (this): New object and
124 initialization.
125
986cf455
SM
1262016-07-06 Simon Marchi <simon.marchi@ericsson.com>
127
128 * gdb.ada/arraydim.exp: Remove extra directory level in build
129 directory.
130
f0464b23
SM
1312016-07-06 Simon Marchi <simon.marchi@ericsson.com>
132
133 * lib/ada.exp: Remove extra directory level in build directory.
134 * gdb.ada/cond_lang.exp: Likewise.
135 * gdb.ada/exec_changed.exp: Likewise.
136 * gdb.ada/lang_switch.exp: Likewise.
137
42d94011
MG
1382016-07-06 Manish Goregaokar <manish@mozilla.com>
139
140 * simple.rs: Add test for raw pointer subscripting
141 * simple.exp: Add test expectations
142
647c264c
YQ
1432016-07-05 Yao Qi <yao.qi@linaro.org>
144
145 * gdb.mi/mi-reverse.exp: Match =record-started output.
146
20aa2c60
PA
1472016-07-01 Pedro Alves <palves@redhat.com>
148
149 * gdb.base/jit-reader.exp (info_registers_current_frame): New
150 procedure.
151 (jit_reader_test): Test the jit reader's unwinder.
152 * gdb.base/jithost.c (jit_function_00_code): New global.
153 (main): Use memcpy to fill in the mmapped code, instead of poking
154 bytes manually here.
155 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
156 value.
157 (read_debug_info): Save the function's range.
158 (read_sp): New function.
159 (unwind_frame): Use it. Also unwind RBP.
160 (get_frame_id): Use read_sp.
161 (gdb_init_reader): Use calloc instead of malloc.
162 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
163 parameter. Use gdb_test_multiple.
164
ced2dffb
PA
1652016-07-01 Pedro Alves <palves@redhat.com>
166 Antoine Tremblay <antoine.tremblay@ericsson.com>
167
168 * gdb.threads/process-dies-while-detaching.c: New file.
169 * gdb.threads/process-dies-while-detaching.exp: New file.
170
63000888
PA
1712016-07-01 Pedro Alves <palves@redhat.com>
172
173 * gdb.multi/watchpoint-multi-exit.c: New file.
174 * gdb.multi/watchpoint-multi-exit.exp: New file.
175
038d4868
PA
1762016-06-30 Pedro Alves <palves@redhat.com>
177
178 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
179 unset inferior_spawn_id.
180
994e9c83
PA
1812016-06-30 Pedro Alves <palves@redhat.com>
182
183 * lib/mi-support.exp (default_mi_gdb_start): Declare global
184 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
185
e5653468
YQ
1862016-06-29 Yao Qi <yao.qi@linaro.org>
187
188 * gdb.base/return.c: Add copyright header.
189
803b47e5
TT
1902016-06-29 Tom Tromey <tom@tromey.com>
191
192 PR python/20129:
193 * gdb.python/py-framefilter.exp: Add tests for setting priority
194 and disabling of non-existent frame filter.
195
28244707
YQ
1962016-06-29 Yao Qi <yao.qi@linaro.org>
197
198 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
199 0x0f07ff.
200
a31d2f06
YQ
2012016-06-28 Yao Qi <yao.qi@linaro.org>
202
203 * gdb.base/catch-syscall.exp: Remove check on isnative and target
204 triplets. Start gdb, execute catch syscall, and continue. Check
205 gdb's output to determine catch syscall is supported.
206
921d8f54
MG
2072016-06-27 Manish Goregaokar <manish@mozilla.com>
208
25d49b86
PA
209 * gdb.rust/simple.rs: Add test for returning unit in a function.
210 * gdb.rust/simple.exp: Add expectation for functions returning
211 unit.
921d8f54 212
f4952523
PMR
2132016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
214
215 * gdb.python/py-breakpoint-create-fail.c,
216 gdb.python/py-breakpoint-create-fail.exp,
217 gdb.python/py-breakpoint-create-fail.py: New testcase.
218
fccb08f8
MG
2192016-06-25 Manish Goregaokar <manish@mozilla.com>
220
221 PR gdb/20239
222 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
223 * gdb.rust/simple.exp: Add test expectations for new NonZero
224 tests.
fccb08f8 225
6b850546
DT
2262016-06-24 David Taylor <dtaylor@emc.com>
227
228 * gdb.base/offsets.exp: New file.
229 * gdb.base/offsets.c: New file.
230
17621150
TT
2312016-06-23 Tom Tromey <tom@tromey.com>
232
233 PR gdb/16483:
234 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
235 before any filters are loaded.
236
04d59df6
WT
2372016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
238
239 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
240 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
241 structs.
242 * gdb.fortran/derived-type-function.exp: New file.
243 * gdb.fortran/derived-type-function.f90: New file.
244
245
ac69f786
PA
2462016-06-21 Pedro Alves <palves@redhat.com>
247
248 * gdb.base/new-ui.exp: New file.
249 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
250 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
251 (with_spawn_id): New procedure.
252
49940788
PA
2532016-06-21 Pedro Alves <palves@redhat.com>
254
255 * gdb.mi/mi-exec-run.exp: New file.
256
ef274d26
PA
2572016-06-21 Pedro Alves <palves@redhat.com>
258
259 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
260 breakpoint command's output on the main UI.
261 (test_break): New procedure, factored out from calls in the top
262 level.
263 (top level): Use foreach_with_prefix to test MI as main UI and as
264 separate UI.
265
468afe6c
PA
2662016-06-21 Pedro Alves <palves@redhat.com>
267
268 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
269 (test_awatch_creation_and_listing)
270 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
271 Remove 'type' parameter.
272 (test_watchpoint_all): New parameter mi_mode. Remove
273 with_test_prefix.
274 (top level): Use foreach_with_prefix, and add main/separate UI MI
275 testing axis.
276
51f77c37
PA
2772016-06-21 Pedro Alves <palves@redhat.com>
278
279 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
280 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
281 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
282 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
283 (gdb_main_spawn_id, mi_spawn_id): Declare and
284 comment.
285 (mi_create_inferior_pty): New procedure,
286 factored out from default_mi_gdb_start.
287 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
288 procedures.
289 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
290 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
291 Use mi_create_inferior_pty.
292 (mi_gdb_start): Use eval to pass down args list.
293
8980e177
PA
2942016-06-21 Pedro Alves <palves@redhat.com>
295
296 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
297 * gdb.opt/inline-cmds.exp: Add MI tests.
298
f38d3ad1
PA
2992016-06-21 Pedro Alves <palves@redhat.com>
300
301 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
302
45db7c09
PA
3032016-06-21 Pedro Alves <palves@redhat.com>
304
305 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
306 (top level): Use it instead of mi_execute_to.
307
5a069ab3
PA
3082016-06-21 Pedro Alves <palves@redhat.com>
309
310 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
311 (cont_handler_str): New.
312 (signal_stop_handler): Set stop_handler_str instead of printing to
313 stdout.
314 (continue_handler): Set cont_handler_str instead of printing to
315 stdout.
316 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
317 mi_send_resuming_command. Print stop_handler_str and
318 cont_handler_str instead of expecting the python events print
319 directly.
320
2838cc1d
SD
3212016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
322
323 * gdb.base/jit-reader.exp: New file.
324 * gdb.base/jithost.c: New file.
325 * gdb.base/jithost.h: New file.
326 * gdb.base/jitreader.c : New file.
327 * gdb.base/jit-protocol.h: New file.
328
21a77091
YQ
3292016-06-17 Yao Qi <yao.qi@linaro.org>
330
331 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
332 parameters follow_fork and detach_on_fork. Set follow-fork-mode
333 and detach-on-fork. Adjust tests.
334 (top level): Invoke break_cond_on_syscall with combinations of
335 syscall, follow-fork-mode and detach-on-fork.
336
f50bf8e5
YQ
3372016-06-17 Yao Qi <yao.qi@linaro.org>
338
339 * gdb.base/step-over-exit.c: New.
340 * gdb.base/step-over-exit.exp: New.
341
a28d8e50
YTL
3422016-06-17 Yan-Ting Lin <currygt52@gmail.com>
343
344 * gdb.base/float.exp: Add target check for nds32*-*-*.
345 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
346
cad8e26d
AB
3472016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
348
349 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
350 for unsupported target features.
351 * gdb.base/call-rt-st.exp: Likewise.
352 * gdb.base/call-sc.exp: Likewise.
353 * gdb.base/call-signal-resume.exp: Likewise.
354 * gdb.base/call-strs.exp: Likewise.
355 * gdb.base/callexit.exp: Likewise.
356 * gdb.base/callfuncs.exp: Likewise.
357 * gdb.base/nodebug.exp: Likewise.
358 * gdb.base/printcmds.exp: Likewise.
359 * gdb.base/ptype.exp: Likewise.
360 * gdb.base/structs.exp: Likewise.
361 * gdb.base/unwindonsignal.exp: Likewise.
362 * gdb.cp/gdb2495.exp: Likewise.
363 * gdb.cp/templates.exp: Likewise.
364 * gdb.cp/virtfunc.exp: Likewise.
365 * gdb.threads/hand-call-in-threads.exp: Likewise.
366 * gdb.threads/interrupted-hand-call.exp: Likewise.
367 * gdb.threads/thread-unwindonsignal.exp: Likewise.
368
347dc102
TT
3692016-06-10 Tom Tromey <tom@tromey.com>
370
371 PR rust/20110:
372 * gdb.rust/expr.exp: Add test for integer constant larger than
373 i32.
374
5e13cf25
BH
3752016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
376
377 * gdb.fortran/nested-funcs.exp: New.
378 * gdb.fortran/nested-funcs.f90: New.
379
bb556f1f
TK
3802016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
381
382 * gdb.base/examine-backward.c: New file.
383 * gdb.base/examine-backward.exp: New file.
384
38b022b4
SM
3852016-06-06 Simon Marchi <simon.marchi@ericsson.com>
386
387 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
388 matching.
389
1b40ec05
TT
3902016-06-02 Tom Tromey <tom@tromey.com>
391
392 PR python/18984:
393 * gdb.python/py-shared.exp: Add solib_name test.
394
193bd378
SM
3952016-06-02 Simon Marchi <simon.marchi@ericsson.com>
396
397 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
398
3326303b
MG
3992016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
400
401 PR c++/19893
402 * gdb.dwarf2/implref.exp: Rename to...
403 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
404 * gdb.dwarf2/implref-array.c: New file.
405 * gdb.dwarf2/implref-array.exp: Likewise.
406 * gdb.dwarf2/implref-global.c: Likewise.
407 * gdb.dwarf2/implref-global.exp: Likewise.
408 * gdb.dwarf2/implref-struct.c: Likewise.
409 * gdb.dwarf2/implref-struct.exp: Likewise.
410
825c8ef2
AT
4112016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
412
413 * gdb.trace/trace-condition.exp: Add 64bit tests.
414
2320162a
AT
4152016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
416
417 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
418 bits types.
419 (main): Adapt to 8 to 64 bits types.
420 * gdb.trace/trace-condition.exp: Add new tests.
421
a7818233
AT
4222016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
423
424 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
425
0d336466
AT
4262016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
427
428 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
429 Move condition tests...
430 * gdb.trace/trace-condition.exp: Here.
431
7faeb45a
AT
4322016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
433
434 * gdb.trace/trace-condition.exp: Add counter-case tests.
435
e385593e
JK
4362016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
437
438 PR c++/15231
439 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
440 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
441
744608cc
PA
4422016-05-27 Pedro Alves <palves@redhat.com>
443
444 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
445 New procedure.
446 (top level): Call it, and bail out of DejaGnu is known to be bad.
447
ac775bf4
AB
4482016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
449
450 * gdb.base/whatis.c: Extend the test case.
451 * gdb.base/whatis.exp: Add additional tests.
452
2bbad2ea
BH
4532016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
454
455* gdb.fortran/type.f90: Add pointer variable.
456* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
457
8b70175d
BH
4582016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
459
460 * gdb.fortran/vla-type.exp: Fix testcase name.
461
86d8a848
BH
4622016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
463
464 * gdb.fortran/vla-type.exp: Access elements in nested structs.
465
e188eb36
BH
4662016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
467
468 * gdb.fortran/type.f90: Add nested structures.
469 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
470 * gdb.fortran/derived-type.exp: Adapt expected output.
471 * gdb.fortran/vla-type.exp: Adapt expected output.
472
9b2db1fd
BH
4732016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
474
475 * gdb.fortran/whatis_type.exp: Adapt expected output.
476
72b17055
BH
4772016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
478
479 * gdb.fortran/print_type.exp: Fix expected output.
480 * gdb.fortran/whatis_type.exp: Fix expected output.
481
3cd81d8d
BH
4822016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
483
484 * gdb.fortran/whatis_type.exp: Use multi_line.
485
ddae9462
TT
4862016-05-24 Tom Tromey <tom@tromey.com>
487
488 PR python/17386:
489 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
490 use value as an index.
491
1957f6b8
TT
4922016-05-23 Tom Tromey <tom@tromey.com>
493
494 PR python/17981:
495 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
496 no-breakpoint case.
497
026a9174
PA
4982016-05-24 Pedro Alves <palves@redhat.com>
499
500 PR gdb/19828
501 * gdb.threads/clone-attach-detach.c: New file.
502 * gdb.threads/clone-attach-detach.exp: New file.
503
e70a7231
FR
5042016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
505
506 * gdb.base/annota-input-while-running.exp: Fix syntax error.
507
0f6ed0e0
TT
5082016-05-23 Tom Tromey <tom@tromey.com>
509
510 PR python/19438, PR python/18393:
511 * gdb.python/py-progspace.exp: Add "dir" test.
512 * gdb.python/py-objfile.exp: Add "dir" test.
513
ffd19d61
YQ
5142016-05-23 Yao Qi <yao.qi@linaro.org>
515
516 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
517 * gdb.arch/thumb2-it.exp: Likewise.
518
9e8f9b05
SM
5192016-05-18 Simon Marchi <simon.marchi@ericsson.com>
520
521 * gdb.mi/mi-threads-interrupt.c: New file.
522 * gdb.mi/mi-threads-interrupt.exp: New file.
523
61c6156d
SM
5242016-05-17 Simon Marchi <simon.marchi@ericsson.com>
525
526 PR gdb/18077
527 * gdb.mi/mi-async-run.exp: New file.
528 * gdb.mi/mi-async-run.c: New file.
529
67218854
TT
5302016-05-17 Tom Tromey <tom@tromey.com>
531 Manish Goregaokar <manishsmail@gmail.com>
532
533 * lib/rust-support.exp: New file.
534 * lib/gdb.exp (skip_rust_tests): New proc.
535 (build_executable_from_specs): Handle rust.
536 * lib/future.exp (gdb_find_rustc): New proc.
537 (gdb_default_target_compile): Handle rust.
538 * gdb.rust/expr.exp: New file.
539 * gdb.rust/generics.exp: New file.
540 * gdb.rust/generics.rs: New file.
541 * gdb.rust/methods.exp: New file.
542 * gdb.rust/methods.rs: New file.
543 * gdb.rust/modules.exp: New file.
544 * gdb.rust/modules.rs: New file.
545 * gdb.rust/simple.exp: New file.
546 * gdb.rust/simple.rs: New file.
547
c44af4eb
TT
5482016-05-17 Tom Tromey <tom@tromey.com>
549
550 * gdb.base/default.exp (set language): Add rust.
551
dcd1f979
TT
5522016-05-17 Tom Tromey <tom@tromey.com>
553
554 * gdb.gdb/unittest.exp: New file.
555
155b7f57
YQ
5562016-05-16 Yao Qi <yao.qi@linaro.org>
557
558 * gdb.base/batch-preserve-term-settings.exp: Remove variable
559 shell_prompt. Update shell_prompt_re.
560
8ddd5a6c
DE
5612016-05-12 Doug Evans <dje@google.com>
562
563 PR symtab/19999
564 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
565 $options when building executable.
566 * gdb.dwarf2/fission-loclists-pie.S: New file.
567 * gdb.dwarf2/fission-loclists-pie.exp: New file.
568
02e370d9
SM
5692016-05-04 Simon Marchi <simon.marchi@ericsson.com>
570
571 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
572 of [is_remote target],
573
8929ad8b
SM
5742016-05-04 Simon Marchi <simon.marchi@ericsson.com>
575
576 * lib/gdb.exp (use_gdb_stub): New procedure.
577
6c447423
DE
5782016-05-03 Yunlian Jiang <yunlian@google.com>
579 Doug Evans <dje@google.com>
580
581 PR symtab/19914
582 * gdb.dwarf2/dwp-sepdebug.c: New file.
583 * gdb.dwarf2/dwp-sepdebug.exp: New file.
584
444e826c
SM
5852016-05-02 Simon Marchi <simon.marchi@ericsson.com>
586
587 * gdb.base/detach.exp: Remove is_remote check.
588
740feeaa
SM
5892016-05-02 Simon Marchi <simon.marchi@ericsson.com>
590
591 * gdb.base/annota-input-while-running.exp: Don't check for
592 [is_remote target]. Enable annotations after running to main.
593 Remove unused "set test..." line.
594
9080ac9d
SM
5952016-04-28 Simon Marchi <simon.marchi@ericsson.com>
596
597 * gdb.trace/trace-enable-disable.exp: New file.
598 * gdb.trace/trace-enable-disable.c: New file.
599
952ebca5
SM
6002016-04-28 Simon Marchi <simon.marchi@ericsson.com>
601
602 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
603 use it in info sharedlibrary test.
604 * gdb.trace/ftrace-lock.exp: Likewise.
605 * gdb.trace/ftrace.exp: Likewise.
606 * gdb.trace/range-stepping.exp: Likewise.
607 * gdb.trace/trace-break.exp: Likewise.
608 * gdb.trace/trace-condition.exp: Likewise.
609 * gdb.trace/trace-mt.exp: Likewise.
610
d9019901
SM
6112016-04-27 Simon Marchi <simon.marchi@ericsson.com>
612
613 * lib/gdb.exp (gdb_load_shlibs): Rename to...
614 (gdb_load_shlib): ... this.
615 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
616 gdb_load_shlib.
617 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
618 * gdb.base/ctxobj.exp: Likewise.
619 * gdb.base/dprintf-pending.exp: Likewise.
620 * gdb.base/dso2dso.exp: Likewise.
621 * gdb.base/fixsection.exp: Likewise.
622 * gdb.base/gcore-relro.exp: Likewise.
623 * gdb.base/gdb1555.exp: Likewise.
624 * gdb.base/global-var-nested-by-dso.exp: Likewise.
625 * gdb.base/gnu-ifunc.exp: Likewise.
626 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
627 * gdb.base/jit-so.exp (one_jit_test): Likewise.
628 * gdb.base/pending.exp: Likewise.
629 * gdb.base/print-file-var.exp: Likewise.
630 * gdb.base/print-symbol-loading.exp: Likewise.
631 * gdb.base/shlib-call.exp: Likewise.
632 * gdb.base/shreloc.exp: Likewise.
633 * gdb.base/so-impl-ld.exp: Likewise.
634 * gdb.base/solib-disc.exp: Likewise.
635 * gdb.base/solib-nodir.exp: Likewise.
636 * gdb.base/solib-overlap.exp: Likewise.
637 * gdb.base/solib-symbol.exp: Likewise.
638 * gdb.base/solib-weak.exp (do_test): Likewise.
639 * gdb.base/sym-file.exp: Likewise.
640 * gdb.base/symtab-search-order.exp: Likewise.
641 * gdb.base/type-opaque.exp: Likewise.
642 * gdb.base/unload.exp: Likewise.
643 * gdb.base/watchpoint-solib.exp: Likewise.
644 * gdb.compile/compile.exp: Likewise.
645 * gdb.cp/gdb2384.exp: Likewise.
646 * gdb.cp/infcall-dlopen.exp: Likewise.
647 * gdb.cp/re-set-overloaded.exp: Likewise.
648 * gdb.fortran/library-module.exp: Likewise.
649 * gdb.opt/solib-intra-step.exp: Likewise.
650 * gdb.python/py-finish-breakpoint.exp: Likewise.
651 * gdb.python/py-shared.exp: Likewise.
652 * gdb.reverse/solib-precsave.exp: Likewise.
653 * gdb.reverse/solib-reverse.exp: Likewise.
654 * gdb.server/solib-list.exp: Likewise.
655 * gdb.threads/dlopen-libpthread.exp: Likewise.
656 * gdb.threads/tls-shared.exp: Likewise.
657 * gdb.threads/tls-so_extern.exp: Likewise.
658 * gdb.trace/change-loc.exp: Likewise.
659 * gdb.trace/ftrace-lock.exp: Likewise.
660 * gdb.trace/ftrace.exp: Likewise.
661 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
662 * gdb.trace/pending.exp: Likewise.
663 * gdb.trace/range-stepping.exp: Likewise.
664 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
665 (strace_info_marker): Likewise.
666 (strace_probe_marker): Likewise.
667 (strace_trace_on_same_addr): Likewise.
668 (strace_trace_on_diff_addr): Likewise.
669 * gdb.trace/trace-break.exp: Likewise.
670 * gdb.trace/trace-condition.exp: Likewise.
671 * gdb.trace/trace-mt.exp: Likewise.
672
fca4cfd9
SM
6732016-04-27 Simon Marchi <simon.marchi@ericsson.com>
674
675 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
676 result of gdb_remote_download.
677 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
678 * gdb.base/dso2dso.exp: Likewise.
679 * gdb.base/global-var-nested-by-dso.exp: Likewise.
680 * gdb.base/print-file-var.exp: Likewise.
681 * gdb.base/shlib-call.exp: Likewise.
682 * gdb.base/shreloc.exp: Likewise.
683 * gdb.base/solib-overlap.exp: Likewise.
684 * gdb.base/solib-weak.exp (do_test): Likewise.
685 * gdb.base/unload.exp: Likewise.
686
11cf4ffb
YQ
6872016-04-27 Yao Qi <yao.qi@linaro.org>
688
689 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
690 exists.
691
3e2e34f8
KB
6922016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
693
694 * vla-type.exp: Print structure from toplevel.
695
8f07e298
BH
6962016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
697
698 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
699 of dynamic types.
700 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
701 of dynamic types.
702
9920b434
BH
7032016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
704
705 * gdb.fortran/vla-type.f90: New file.
706 * gdb.fortran/vla-type.exp: New file.
707
f3abeff5
YQ
7082016-04-25 Yao Qi <yao.qi@linaro.org>
709
710 * gdb.base/branch-to-self.c: New file.
711 * gdb.base/branch-to-self.exp: New file.
712
0a5d52f0
YQ
7132016-04-22 Yao Qi <yao.qi@linaro.org>
714
715 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
716 more after $hex.
717
495346f6
YQ
7182016-04-22 Yao Qi <yao.qi@linaro.org>
719
720 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
721 * gdb.base/annota3.exp: Likewise.
722
4a7e075c
YQ
7232016-04-22 Yao Qi <yao.qi@linaro.org>
724
725 * gdb.reverse/step-precsave.exp: Do one step and test program
726 stops in "callee" and do multiple steps until program goes out
727 of "callee".
728 * gdb.reverse/step-reverse.exp: Likewise.
729
5b061e98
YQ
7302016-04-22 Yao Qi <yao.qi@linaro.org>
731
732 * gdb.trace/signal.exp: Also pass if
733 $tracepoint_hits($i) > $iterations.
734
5c5dc57f
YQ
7352016-04-22 Yao Qi <yao.qi@linaro.org>
736
737 * gdb.trace/signal.c: New file.
738 * gdb.trace/signal.exp: New file.
739
a55411b9
DE
7402016-04-19 Doug Evans <xdje42@gmail.com>
741
742 * gdb.base/bad-file.exp: New file.
743
a22df60a
MG
7442016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
745
746 * gdb.dwarf2/implref.exp: New file.
747
0c13f7e5
BH
7482016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
749
750 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
751 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
752 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
753 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
754 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
755 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
756 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
757 * lib/fortran.exp (fortran_int4): New procedure.
758 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
759 (fortran_logical4): Likewise.
760
9b9b09e9
BH
7612016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
762
763 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
764
a14d1f4d
BH
7652016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
766
767 * lib/compiler.c: Add Intel specific preprocessor macros.
768 * lib/compiler.cc: Likewise.
25d49b86 769
7d49b1d0
LM
7702016-04-13 Luis Machado <lgustavo@codesourcery.com>
771
772 * gdb.server/connect-with-no-symbol-file.c: New file.
773 * gdb.server/connect-with-no-symbol-file.exp: New file.
774
8392fa22
SM
7752016-04-13 Simon Marchi <simon.marchi@ericsson.com>
776
777 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
778
8c4c4aeb
SM
7792016-04-13 Simon Marchi <simon.marchi@ericsson.com>
780
781 * boards/gdbserver-base.exp (${board}_download): Copy source file to
782 standard output directory.
783
45e3745e
AT
7842016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
785
786 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
787
e26b7e41
MM
7882016-04-13 Markus Metzger <markus.t.metzger@intel.com>
789
790 * gdb.btrace/instruction_history.c (loop): Add declaration.
791
8ce09462
AT
7922016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
793
794 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
795
2e88a1ea
SM
7962016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
797
798 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
799 parentheses to print.
800 (continue_handler): Likewise.
801
f48e22e3
SM
8022016-04-08 Simon Marchi <simon.marchi@ericsson.com>
803
804 * gdb.server/solib-list.exp: Remove is_remote check.
805 Pass shlib= to gdb_compile. Don't link shared library with
806 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
807 Run binary filename through "readlink -f" on the target.
808
096be756
PA
8092016-04-08 Pedro Alves <palves@redhat.com>
810
811 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
812 interpreter filename as argument to gdbserver_spawn.
813 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
814 Return empty if $last_loaded_file does not exist.
815
06500533
JK
8162016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
817
818 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
819 * gdb.base/jit-main.c: Use exit after usage.
820
2d35e871
JK
8212016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
822
823 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
824 GDBHISTSIZE prior to the tests.
825 * gdb.base/gdbinit-history.exp: Likewise.
826
8272016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
828
829 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
830 instead of build_executable. Use gdb_load_shlibs.
831
c8064e7e
YQ
8322016-04-07 Yao Qi <yao.qi@linaro.org>
833
834 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
835 Execute "si" command.
836
bde47561
YQ
8372016-04-07 Yao Qi <yao.qi@linaro.org>
838
839 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
840 number instead of the comments on some line.
841
b16f8a3b
DB
8422016-04-06 Don Breazeal <donb@codesourcery.com>
843
844 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
845 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
846
c2f901df
SM
8472016-04-06 Simon Marchi <simon.marchi@ericsson.com>
848
849 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
850 standard_output_file. Remove unused binfile variable.
851
ac17fda0
CU
8522016-04-05 Catalin Udma <catalin.udma@freescale.com>
853
854 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
855 * gdb.python/py-mi-objfile.exp: Match "list main" output
856 in console format.
857
03a8c4df
SM
8582016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
859
860 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
861 absolute.
862
6e774b13
SM
8632016-04-05 Simon Marchi <simon.marchi@ericsson.com>
864
865 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
866 absolute.
867 * gdb.trace/ftrace.exp: Likewise.
868 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
869 targets as well.
870 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
871 (gdb_load_shlibs): Copy libraries to test directory when testing
872 natively. Only set solib-search-path if testing remotely.
873 * lib/mi-support.exp (mi_load_shlibs): Likewise.
874
7817ea46
SM
8752016-04-05 Simon Marchi <simon.marchi@ericsson.com>
876
877 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
878 gdb_download. Use it even if the target is not remote.
879 * gdb.base/jit.exp (compile_jit_test): Likewise.
880 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
881 output directory if the destination board is local, otherwise use
882 the standard remote_download from DejaGnu.
883 (gdb_download): Remove.
884 (gdb_load_shlibs): Use gdb_remote_download instead of
885 gdb_download.
886 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
887 Use gdb_remote_download instead of gdb_download. Use it even if
888 the target is not remote.
889 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
890 instead of gdb_download.
891
7beb7f68
SM
8922016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
893
894 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
895 (test_insert_delete_modify): Call mi_load_shlibs before trying to
896 run.
897
cc63428a
AV
8982016-04-01 Artemiy Volkov <artemiyv@acm.org>
899
900 PR gdb/19820
901 * gdb.base/printcmds.exp: Add artificial arrays tests.
902
64cdf930
PA
9032016-03-31 Pedro Alves <palves@redhat.com>
904
905 PR gdb/19858
906 * gdb.base/jit-main.c: Include unistd.h.
907 (ATTACH): Define to 0 if not already defined.
908 (wait_for_gdb, mypid): New globals.
909 (WAIT_FOR_GDB): New macro.
910 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
911 some breakpoint locations.
912 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
913 New procedures.
914 (one_jit_test): Add REATTACH parameter, and handle it. Use
915 continue_to_test_location.
916 (top level): Test attach, and adjusts calls to one_jit_test.
917
40dea8cb
PA
9182016-03-31 Pedro Alves <palves@redhat.com>
919
920 PR gdb/19858
921 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
922 BINSUFFIX parameter, and handle it.
923 (top level): Adjust calls compile_jit_test.
924
e7ea3ec7
CU
9252016-03-31 Catalin Udma <catalin.udma@freescale.com>
926
927 PR python/19743
928 * gdb.python/py-mi-events-gdb.py: New file.
929 * gdb.python/py-mi-events.c: New file.
930 * gdb.python/py-mi-events.exp: New file.
931
e6359af3
YQ
9322016-03-30 Yao Qi <yao.qi@linaro.org>
933
934 * gdb.reverse/until-precsave.exp: Match function name only.
935 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
936 Move malloc to a condition block.
937 * gdb.reverse/until-reverse.exp: Match function name only.
938
a4105d04
MK
9392016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
940
941 * gdb.trace/ftrace.exp: Set arg0exp for s390.
942 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
943 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
944 variable for GPR 0 instead of assuming it is register 0.
945 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
946 * lib/trace-support.exp: Add s390 registers.
947
bfa6adb9
YQ
9482016-03-29 Yao Qi <yao.qi@linaro.org>
949
950 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
951
1e6697ea
YQ
9522016-03-24 Yao Qi <yao.qi@linaro.org>
953
954 * gdb.reverse/break-reverse.exp: Add quotation mark in the
955 test message.
956
64bcd522
AA
9572016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
958
959 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
960 maintaining separate logic for constructing the output path.
961
7868401b
DB
9622016-03-16 Don Breazeal <donb@codesourcery.com>
963
964 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
965 Retry fork and waitpid on interrupted system call errors.
966 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
967 Use with_timeout_factor to increase timeout by factor of 10.
968
1cafadb4
DB
9692016-03-15 Don Breazeal <donb@codesourcery.com>
970
971 * gdb.cp/scope-err.cc: New test program.
972 * gdb.cp/scope-err.exp: New test script.
973 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
974 lines and "set breakpoint here" comment.
975 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
976 Fixed some whitespace and format issues.
977 * gdb.mi/mi-linespec-err-cp.cc: New test program.
978 * gdb.mi/mi-linespec-err-cp.exp: New test script.
979
81516450
DE
9802016-03-15 Doug Evans <dje@google.com>
981
982 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
983 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
984 All callers updated. Add tests for enums, mixed flags register.
985
aa52b601
DE
9862016-03-15 Doug Evans <dje@google.com>
987
988 * gdb.base/skip.c (main): Call test_skip_file_and_function.
989 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
990
fa4ff313
SM
9912016-03-14 Simon Marchi <simon.marchi@ericsson.com>
992
993 * gdb.base/default.exp: Add $_as_string to the list of expected
994 convenience functions.
995
f2403c39
AB
9962016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
997
998 * gdb.base/maint.exp: New tests for 'maint info line-table'.
999
f2f3ccb9
SM
10002016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1001
1002 * gdb.python/py-as-string.exp: New file.
1003 * gdb.python/py-as-string.c: New file.
1004
00dbd492
PA
10052016-03-09 Pedro Alves <palves@redhat.com>
1006
1007 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1008 signal" -> "Thread NN received signal" output change.
1009 * gdb.threads/ia64-sigill.exp: Likewise.
1010 * gdb.threads/linux-dp.exp: Likewise.
1011 * gdb.threads/manythreads.exp: Likewise.
1012 * gdb.threads/pending-step.exp: Likewise.
1013 * gdb.threads/print-threads.exp: Likewise.
1014 * gdb.threads/sigstep-threads.exp: Likewise.
1015 * gdb.threads/staticthreads.exp: Likewise.
1016 * gdb.threads/tls.exp: Likewise.
1017
1e6697ea
YQ
10182016-03-09 Pedro Alves <palves@redhat.com>
1019
1020 * gdb.base/command-line-input.exp: New file.
1021
b04fd3be
MK
10222016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1023
1024 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1025 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1026 * gdb.trace/pending.exp: Accept leading dot before function name.
1027 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1028 * lib/trace-support.exp: Set registers for ppc.
1029
98fa59e9
MK
10302016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1031
1032 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1033 use it for disassembly; accept .main in addition to main in backtrace.
1034
f77198c8
MK
10352016-03-09 Wei-cheng Wang <cole945@gmail.com>
1036 Marcin Kościelnicki <koriakin@0x04.net>
1037
1038 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1039 (gdb_recursion_test_ptr): New global variable.
1040 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1041 gdb_recursion_test.
1042 (gdb_c_test): Ditto.
1043
ba84e0da
MK
10442016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1045
1046 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1047 ordering.
1048
4366d36e
MK
10492016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1050
1051 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1052 (bar): Add bar_start_lbl label.
1053 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1054 of foo/bar for emitting DWARF and tracing.
1055
5eb264df
SDJ
10562016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1057
1058 * analyze-racy-logs.py: Set executable bit.
1059
fb6a751f
SDJ
10602016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1061
1062 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1063 (CHECK_TARGET_TMP): Likewise.
1064 (check-single-racy): New rule.
1065 (check-parallel-racy): Likewise.
1066 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1067 (do-check-parallel-racy): New rule.
1068 (check-racy/%.exp): Likewise.
1069 * README (Racy testcases): New section.
1070 * analyze-racy-logs.py: New file.
1071
bdf7e230
DE
10722016-03-03 Doug Evans <dje@google.com>
1073
1074 * gdb.base/skip.exp: Use with_test_prefix.
1075
4719d415
YQ
10762016-03-03 Yao Qi <yao.qi@linaro.org>
1077
1078 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1079 Invoke step_over_syscall "clone" and break_cond_on_syscall
1080 "clone".
1081 * gdb.base/step-over-clone.c: New file.
1082
ea507862
YQ
10832016-03-03 Yao Qi <yao.qi@linaro.org>
1084
1085 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1086 code format.
1087
8fc8cbda
YQ
10882016-03-03 Yao Qi <yao.qi@linaro.org>
1089
1090 * gdb.base/disp-step-fork.c: Rename to ...
1091 * gdb.base/step-over-fork.c: ... it. New file.
1092 * gdb.base/disp-step-vfork.c: Rename to ...
1093 * gdb.base/step-over-vfork.c: ... it. New file.
1094 * gdb.base/disp-step-syscall.exp: Rename to ...
1095 * gdb.base/step-over-syscall.exp: ... it. New file.
1096 (disp_step_cross_syscall): Rename to ...
1097 (step_over_syscall): ... it.
1098
92fa70b0
YQ
10992016-03-03 Yao Qi <yao.qi@linaro.org>
1100
1101 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1102 If target supports condition evaluation on target, invoke
1103 break_cond_on_syscall for fork and vfork.
1104
e197ad3c
YQ
11052016-03-03 Yao Qi <yao.qi@linaro.org>
1106
1107 * gdb.base/disp-step-syscall.exp: Don't invoke
1108 support_displaced_stepping.
1109 (disp_step_cross_syscall): Test with displaced stepping off and
1110 on if supported.
1111
0b47da9f
YQ
11122016-03-03 Yao Qi <yao.qi@linaro.org>
1113
1114 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1115 proc.
1116 (setup): New proc.
1117 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1118 and setup.
1119
065ab6dc
BH
11202016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1121
1122 * gdb.fortran/vla-history.exp: Remove breakpoint.
1123
07e448ad 11242016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1125
25d49b86
PA
1126 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1127 exceeds timeout.
07e448ad 1128
9ac2d526 11292016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1130
25d49b86
PA
1131 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1132 breakpoint.
9ac2d526 1133
17807369
BH
11342016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1135
1136 * gdb.mi/vla.f90: Nullify pointer after declaration.
1137
86e501af
PA
11382016-03-01 Pedro Alves <palves@redhat.com>
1139
1140 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1141
1e903e32
PA
11422016-03-01 Pedro Alves <palves@redhat.com>
1143
1144 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1145 before anything else.
1146 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1147 _GNU_SOURCE here.
1148 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1149 before anything else.
1150 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1151
6ccb54e2
PA
11522016-03-01 Pedro Alves <palves@redhat.com>
1153
1154 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1155
30ca9da1
YQ
11562016-03-01 Yao Qi <yao.qi@linaro.org>
1157
1158 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1159 prepare_for_testing.
1160
dc856b38
YQ
11612016-03-01 Yao Qi <yao.qi@linaro.org>
1162
1163 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1164
4a932159
AA
11652016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1166
1167 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1168 manually constructing the output path.
1169
f2489477
AA
11702016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1171
1172 * gdb.arch/s390-stackless.S: New.
1173 * gdb.arch/s390-stackless.exp: New.
1174
38899f16
IB
11752016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1176
1177 * gdb.dlang/circular.c: New file.
1178 * gdb.dlang/circular.exp: New file.
1179
9fde51ed
YQ
11802016-02-26 Yao Qi <yao.qi@linaro.org>
1181
1182 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1183 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1184 (testcases): Update.
1185
ce90fefe
YQ
11862016-02-26 Yao Qi <yao.qi@linaro.org>
1187
1188 * gdb.reverse/aarch64.c: Rename to ...
1189 * gdb.reverse/insn-reverse.c: ... it.
1190 * gdb.reverse/aarch64.exp: Rename to ...
1191 * gdb.reverse/insn-reverse.exp: ... it.
1192
3263bceb
YQ
11932016-02-26 Yao Qi <yao.qi@linaro.org>
1194
1195 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1196 (testcase_ftype): New.
1197 (testcases): New array.
1198 (n_testcases): New.
1199 (main): Call each element in testcases.
1200 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1201 (read_testcase): New.
1202 Do the tests in a loop.
1203
6cb59ff1
YQ
12042016-02-25 Yao Qi <yao.qi@linaro.org>
1205
1206 * gdb.base/branches.c: Remove.
1207
ae91f625
MK
12082016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1209
1210 PR gdb/13808
1211 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1212
678b48b7
MK
12132016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1214
1215 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1216
7337a6f2
MK
12172016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1218
1219 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1220 change x86_64 call_insn to 'callq'.
1221
861ca91f
AT
12222016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1223
1224 * gdb.trace/tfile-avx.c: Move to...
1225 * gdb.trace/tracefile-pseudo-reg.c: Here.
1226 * gdb.trace/tfile-avx.exp: Move to...
1227 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1228
bf74e428
GB
12292016-02-24 Gary Benson <gbenson@redhat.com>
1230
1231 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1232 message on attach.
1233
cce0e923
DE
12342016-02-23 Doug Evans <dje@google.com>
1235
1236 * gdb.base/skip.c (test_skip): New function.
1237 (end_test_skip_file_and_function): New function.
1238 (test_skip_file_and_function): New function.
1239 * gdb.base/skip1.c (test_skip): New function.
1240 (skip1_test_skip_file_and_function): New function.
1241 * gdb.base/skip.exp: Add tests for new skip options.
1242 * gdb.base/skip-solib.exp: Update expected output.
1243 * gdb.perf/skip-command.cc: New file.
1244 * gdb.perf/skip-command.exp: New file.
1245 * gdb.perf/skip-command.py: New file.
1246
4000e47e
MK
12472016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1248
1249 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1250 info registers pattern.
1251
24f75ead
IB
12522016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1253
1254 * lib/future.exp: Add D support.
1255 (gdb_find_gdc): New proc.
1256 (gdb_default_target_compile): Add D support.
1257
fbb7bcbe
WW
12582016-02-18 Wei-cheng Wang <cole945@gmail.com>
1259
1260 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1261 user+system time.
1262 (trace_speed_test): Determine the iteration count for a time
1263 between 15..30 seconds.
1264
012b3a21
WT
12652016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1266
1267 * gdb.arch/i386-mpx-sigsegv.c: New file.
1268 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1269 * gdb.arch/i386-mpx-simple_segv.c: New file.
1270 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1271
2d5189bd
YQ
12722016-02-18 Yao Qi <yao.qi@linaro.org>
1273
1274 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1275 Don't call setup_kfail.
1276
40fb20d0
YQ
12772016-02-18 Yao Qi <yao.qi@linaro.org>
1278
1279 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1280 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1281
21b1f8d2
DE
12822016-02-16 Doug Evans <dje@google.com>
1283
1284 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1285 * gdb.base/skip1.c: Ditto.
1286 * gdb.base/skip.exp: Whitespace cleanup.
1287
4041ed77
DB
12882016-02-16 Don Breazeal <donb@codesourcery.com>
1289
1290 PR remote/19496
1291 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1292 Remove kfail for PR remote/19496.
1293
c4ef31bf
SM
12942016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1295
1296 * lib/gdb.exp (standard_temp_file): Return a path specific to
1297 the runtest invocation.
1298
266b65b3
SM
12992016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1300
1301 * gdb.trace/save-trace.exp: Change relative path to be in the
1302 standard output directory.
1303
a7a0a6a9
JK
13042016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1305
1306 * gdb.arch/i386-prologue.c: Add missing prototypes.
1307
c99dbb42
JK
13082016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1309
1310 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1311 * gdb.arch/i386-prologue.exp: Likewise.
1312 * gdb.arch/i386-size.exp: Likewise.
1313
aa480355
SM
13142016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1315
1316 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1317 define object file path.
1318 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1319 file path.
1320 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1321 standard_output_file to define binfile.
1322
ba881f50
JK
13232016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1324
1325 Fix compatibility with recent gfortran-5.3.1.
1326 * gdb.fortran/vla-history.exp (print vla1 allocated)
1327 (print vla2 allocated, print $2, print $3): Remove
1328 (print $4): Rename to ...
1329 (print $2): ... here.
1330 (print $9): Rename to ...
1331 (print $5): ... here.
1332 (print $10): Rename to ...
1333 (print $6): ... here.
1334 * gdb.fortran/vla.f90: Add pvla initialization.
1335
e9fb005c
JK
13362016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1337
1338 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1339 New test.
1340 * gdb.fortran/vla-value-sub.exp: Likewise.
1341
e44e00ff
MK
13422016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1343
1344 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1345
97e94151
SM
13462016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1347
1348 * i386-biarch-core.exp: Define corefile using
1349 standard_output_file.
1350
01113bc1
YQ
13512016-02-12 Yao Qi <yao.qi@linaro.org>
1352
1353 * gdb.arch/arm-single-step-kernel-helper.c: New.
1354 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1355
33b4777c
MM
13562016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1357
1358 * gdb.btrace/tailcall-only.exp: New.
1359 * gdb.btrace/tailcall-only.c: New.
1360 * gdb.btrace/x86_64-tailcall-only.S: New.
1361 * gdb.btrace/i686-tailcall-only.S: New.
1362
acc23c11
PA
13632016-02-11 Pedro Alves <palves@redhat.com>
1364
1365 * README (Parallel testing): Add missing double quotes.
1366
e352bf0a
PA
13672016-02-11 Pedro Alves <palves@redhat.com>
1368
1369 * README (Parallel testing): New section.
1370 (GDB_PARALLEL): Rewrite.
1371 (FORCE_PARALLEL): Document.
1372
9f5fed78
MK
13732016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1374
1375 * gdb.trace/tfile-avx.c: New test.
1376 * gdb.trace/tfile-avx.exp: New test.
1377
9ef9e6a6
KS
13782016-02-09 Keith Seitz <keiths@redhat.com>
1379
1380 PR breakpoints/19546
1381 * gdb.base/infcall-exec.c: New file.
1382 * gdb.base/infcall-exec2.c: New file.
1383 * gdb.base/infcall-exec.exp: New file.
1384
a96e36da
KS
13852016-02-09 Keith Seitz <keiths@redhat.com>
1386
1387 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1388 (toplevel): Call test_bkpt_address.
1389
9f61929f
KS
13902016-02-09 Keith Seitz <keiths@redhat.com>
1391
1392 PR python/19506
1393 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1394 (toplevel): Call test_bkpt_address.
1395
1e94266c
SM
13962016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1397
1398 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1399 to AC_OUTPUT.
1400 * configure: Regenerate.
1401
2a7f3dff
PA
14022016-02-09 Pedro Alves <palves@redhat.com>
1403
1404 PR breakpoints/19548
1405 * gdb.base/execl-update-breakpoints.c (some_function): New
1406 function.
1407 (main): Call it.
1408 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1409 Tighten expected GDB output.
1410
2151ccc5
SM
14112016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1412
1413 * Makefile.in (ALL_SUBDIRS): Remove.
1414 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1415 (distclean maintainer-clean realclean): Likewise.
1416 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1417 * configure: Regenerate.
1418 * gdb.ada/Makefile.in: Delete.
1419 * gdb.arch/Makefile.in: Likewise.
1420 * gdb.asm/Makefile.in: Likewise.
1421 * gdb.base/Makefile.in: Likewise.
1422 * gdb.btrace/Makefile.in: Likewise.
1423 * gdb.cell/Makefile.in: Likewise.
1424 * gdb.compile/Makefile.in: Likewise.
1425 * gdb.cp/Makefile.in: Likewise.
1426 * gdb.disasm/Makefile.in: Likewise.
1427 * gdb.dlang/Makefile.in: Likewise.
1428 * gdb.dwarf2/Makefile.in: Likewise.
1429 * gdb.fortran/Makefile.in: Likewise.
1430 * gdb.gdb/Makefile.in: Likewise.
1431 * gdb.go/Makefile.in: Likewise.
1432 * gdb.guile/Makefile.in: Likewise.
1433 * gdb.java/Makefile.in: Likewise.
1434 * gdb.linespec/Makefile.in: Likewise.
1435 * gdb.mi/Makefile.in: Likewise.
1436 * gdb.modula2/Makefile.in: Likewise.
1437 * gdb.multi/Makefile.in: Likewise.
1438 * gdb.objc/Makefile.in: Likewise.
1439 * gdb.opencl/Makefile.in: Likewise.
1440 * gdb.opt/Makefile.in: Likewise.
1441 * gdb.pascal/Makefile.in: Likewise.
1442 * gdb.perf/Makefile.in: Likewise.
1443 * gdb.python/Makefile.in: Likewise.
1444 * gdb.reverse/Makefile.in: Likewise.
1445 * gdb.server/Makefile.in: Likewise.
1446 * gdb.stabs/Makefile.in: Likewise.
1447 * gdb.threads/Makefile.in: Likewise.
1448 * gdb.trace/Makefile.in: Likewise.
1449 * gdb.xml/Makefile.in: Likewise.
1450 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1451 GDB_PARALLEL.
1452 (standard_output_file): Remove check for GDB_PARALLEL, always
1453 return path in outputs/$subdir/$testname.
1454
437277d4
SM
14552016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1456
1457 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1458 (site.exp): Assign abs_srcdir to tcl's srcdir.
1459
31d913c7
YQ
14602016-02-04 Yao Qi <yao.qi@linaro.org>
1461
1462 * gdb.base/foll-exec-mode.c: Include limits.h.
1463 (main): Add parameters argc and argv. Get directory from
1464 argv[0].
1465 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1466 compilation.
1467 * gdb.base/foll-exec.c: Include limits.h.
1468 (main): Add parameters argc and argv.
1469 Get directory from argv[0].
1470 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1471 Adjust tests on the number of lines as source code changed.
1472 * gdb.base/foll-vfork-exit.c: Include limits.h.
1473 (main): Add one line of statement before vfork.
1474 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1475 (main): Add parameters argc and argv. Get directory from
1476 argv[0].
1477 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1478 (setup_gdb): Set tbreak to skip some source lines.
1479 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1480 (main): Add parameters argc and argv. Get directory from
1481 argv[0].
1482 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1483 compilation.
1484 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1485 (main): Add parameters argc and argv. Get directory from
1486 argv[0].
1487 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1488 compilation.
1489
9482b9fb
DE
14902016-02-01 Doug Evans <dje@google.com>
1491
1492 * gdb.base/skip.exp: Clean up multiple references to same test name.
1493
6b2e4f10
PA
14942016-02-01 Pedro Alves <palves@redhat.com>
1495
ccb6afd6 1496 PR remote/19496
6b2e4f10
PA
1497 * gdb.threads/forking-threads-plus-breakpoint.exp
1498 (displaced_stepping_supported): New global.
1499 (probe_displaced_stepping_support): New procedure.
1500 (do_test): Add 'displaced' parameter, and use it.
1501 (top level): Check for displaced stepping support. Add displaced
1502 stepping on/off testing axis.
1503
37a8db1a
AB
15042016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1505
1506 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1507 pointer. Don't perform further tests on the unassociated pointer
1508 if the first test fails.
1509
5fdf6324
AB
15102016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1511
1512 * gdb.base/max-value-size.c: New file.
1513 * gdb.base/max-value-size.exp: New file.
1514 * gdb.base/huge.exp: Disable max-value-size for this test.
1515
935c6144
IB
15162016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1517
1518 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1519
7fe8399d
YQ
15202016-01-28 Yao Qi <yao.qi@linaro.org>
1521
1522 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1523
a2077e25
PA
15242016-01-25 Pedro Alves <palves@redhat.com>
1525
1526 PR threads/19461
1527 * gdb.base/fork-running-state.c: New file.
1528 * gdb.base/fork-running-state.exp: New file.
1529
1d2736d4
PA
15302016-01-25 Pedro Alves <palves@redhat.com>
1531
1532 PR gdb/19494
1533 * gdb.base/catch-fork-kill.c: New file.
1534 * gdb.base/catch-fork-kill.exp: New file.
1535
f1da4b11
PA
15362016-01-25 Pedro Alves <palves@redhat.com>
1537
1538 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1539 Delete, moved to lib/gdb.exp.
1540 * gdb.threads/forking-threads-plus-breakpoint.exp
1541 (foreach_with_prefix): Likewise.
1542 * gdb.threads/process-dies-while-handling-bp.exp
1543 (foreach_with_prefix): Likewise.
1544 * lib/gdb.exp (foreach_with_prefix): New procedure.
1545
45f38546
MK
15462016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1547
1548 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1549 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1550
dc29a1ce
MK
15512016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1552
1553 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1554 endian targets.
1555
092127d7
JK
15562016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1557 Pedro Alves <palves@redhat.com>
1558
1559 Fix testsuite compatibility with Guile.
1560 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1561 number.
1562
31d765d3
JK
15632016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1564
1565 Fix testsuite compatibility with Guile.
1566 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1567 (thread 1): New test for backtrace through signal handler.
1568
1ac78c04
YQ
15692016-01-22 Yao Qi <yao.qi@linaro.org>
1570
1571 PR testsuite/19491
1572 * gdb.base/multi-forks.c: Include
1573 ../lib/unbuffer_output.c
1574 (main): Call gdb_unbuffer_output.
1575
4f5946a8
DE
15762016-01-21 Doug Evans <dje@google.com>
1577
1578 * lib/ada.exp (gdb_compile_ada): Fix typo.
1579
305e13e6
JB
15802016-01-21 Joel Brobecker <brobecker@adacore.com>
1581
1582 * gdb.base/break-fun-addr.exp: New file.
1583 * gdb.base/break-fun-addr1.c: New file.
1584 * gdb.base/break-fun-addr2.c: New file.
1585
5f5dfff6
SM
15862016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1587
1588 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1589 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1590 enum flag values.
1591
fd356fa2
AA
15922016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1593
1594 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1595 when GDB can not set the vector return value. Add more comments
1596 for clarification.
1597
9df22175
AT
15982016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1599
1600 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1601 command.
1602
41d1845e
SM
16032016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1604
1605 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1606
01ac6840
SM
16072016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1608
1609 * Makefile.in (check-single): Pass --status to runtest.
1610 (check/%.exp): Likewise.
1611
16122016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1613
1614 * Makefile.in (check-parallel): Propagate return code from make
1615 do-check-parallel.
1616
bd0a71fa
MK
16172016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1618
1619 * gdb.trace/ftrace.exp: Fix expected message on continue.
1620 * gdb.trace/pending.exp: Fix expected message on continue.
1621 * gdb.trace/trace-break.exp: Fix expected message on continue.
1622
8bcbad33
SM
16232016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1624
1625 * lib/gdb.exp (gdb_test): Remove unused global references.
1626
f303dbd6
PA
16272016-01-18 Pedro Alves <palves@redhat.com>
1628
1629 * gdb.base/async-shell.exp: Adjust expected output.
1630 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1631 * gdb.base/siginfo-thread.exp: Adjust expected output.
1632 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1633 * gdb.java/jnpe.exp: Adjust expected output.
1634 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1635 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1636 * gdb.threads/leader-exit.exp: Adjust expected output.
1637 * gdb.threads/manythreads.exp: Adjust expected output.
1638 * gdb.threads/pthreads.exp: Adjust expected output.
1639 * gdb.threads/schedlock.exp: Adjust expected output.
1640 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1641 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1642 expected output.
1643 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1644 output.
1645 * gdb.threads/sigthread.exp: Adjust expected output.
1646 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1647
b2789696
YQ
16482016-01-18 Yao Qi <yao.qi@linaro.org>
1649
1650 * gdb.guile/scm-section-script.c: Replace @progbits with
1651 %progbits.
1652 * gdb.python/py-section-script.c: Likewise.
1653
71ef29a8
PA
16542016-01-15 Pedro Alves <palves@redhat.com>
1655
1656 * gdb.multi/tids.exp: Test star wildcard ranges.
1657
3f5b7598
PA
16582016-01-15 Pedro Alves <palves@redhat.com>
1659
1660 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1661 command from "thread apply" invocation.
1662 (thr_apply_info_thr_invalid): Default the expected output to the
1663 input tid list.
1664 (top level): Add tests that use convenience variables. Add tests
1665 for "thread apply" with a valid TID list, but missing the command.
1666
663f6d42
PA
16672016-01-13 Pedro Alves <palves@redhat.com>
1668
1669 * gdb.base/default.exp: Expect $_gthread as well.
1670 * gdb.multi/tids.exp: Test $_gthread.
1671 * gdb.threads/thread-specific.exp: Test $_gthread.
1672
c84f6bbf
PA
16732016-01-13 Pedro Alves <palves@redhat.com>
1674
1675 * gdb.multi/tids.exp: Test "info threads -gid".
1676
22a02324
PA
16772016-01-13 Pedro Alves <palves@redhat.com>
1678
1679 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1680 Breakpoint.thread.
1681 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1682
5d5658a1
PA
16832016-01-07 Pedro Alves <palves@redhat.com>
1684
1685 * gdb.base/break.exp: Adjust to output changes.
1686 * gdb.base/hbreak2.exp: Likewise.
1687 * gdb.base/sepdebug.exp: Likewise.
1688 * gdb.base/watch_thread_num.exp: Likewise.
1689 * gdb.linespec/keywords.exp: Likewise.
1690 * gdb.multi/info-threads.exp: Likewise.
1691 * gdb.threads/thread-find.exp: Likewise.
1692 * gdb.multi/tids.c: New file.
1693 * gdb.multi/tids.exp: New file.
1694
84654457
PA
16952016-01-13 Pedro Alves <palves@redhat.com>
1696
1697 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1698
e3940304
PA
16992016-01-13 Pedro Alves <palves@redhat.com>
1700
1701 * gdb.base/default.exp: Expect $_inferior as well.
1702 * gdb.multi/base.exp: Test $_inferior.
1703
a911d87a
PA
17042016-01-13 Pedro Alves <palves@redhat.com>
1705
1706 PR breakpoints/19388
1707 * gdb.base/catch-signal-siginfo-cond.c: New file.
1708 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1709
82075af2
JS
17102016-01-12 Josh Stone <jistone@redhat.com>
1711 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1712
1713 * gdb.base/catch-syscall.c (do_execve): New variable.
1714 (main): Conditionally trigger an execve.
1715 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1716 (test_catch_syscall_execve): New, check entry/return across execve.
1717 (do_syscall_tests): Call test_catch_syscall_execve.
1718
e46eeedd
PA
17192016-01-12 Pedro Alves <palves@redhat.com>
1720
1721 * gdb.base/random-signal.exp (do_test): New procedure, with body
1722 of testcase moved in.
1723
01d8c27e
JK
17242016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1725 Pedro Alves <palves@redhat.com>
1726
1727 * gdb.base/funcargs.exp (finish from indirectly called function):
1728 Reintroduce the case for 'First'.
1729
9a706302
JK
17302016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1731 Pedro Alves <palves@redhat.com>
1732
1733 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1734 (tcatch_vfork_then_child_follow_exec)
1735 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1736 identification.
1737
c0ecb95f
JK
17382016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1739
1740 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1741 and repeats to unlimited.
1742 * gdb.python/py-value.exp: Likewise.
1743 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1744 and repeats to unlimited.
1745
6cfc1fcb
JK
17462016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1747
1748 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1749 and reordering the functions.
1750 * gdb.multi/hangout.c: Likewise.
1751 * gdb.multi/hello.c: Likewise.
1752
582a1b00
SM
17532016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1754
1755 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1756 absolute.
1757 (SingleStatisticTestResult.report): Use dict.keys instead of
1758 dict.iterkeys.
1759
79bc59cb
PA
17602016-01-06 Pedro Alves <palves@redhat.com>
1761
1762 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1763
43368e1d
MM
17642016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1765
1766 * gdb.btrace/dlopen.exp: New.
1767 * gdb.btrace/dlopen.c: New.
1768 * gdb.btrace/dlopen-dso.c: New.
1769
79fad5b8
SL
17702015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1771
1772 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1773 PATTERN argument is optional.
1774
ab8314b3
JB
17752015-12-24 Joel Brobecker <brobecker@adacore.com>
1776
1777 * lib/ada.exp (target_compile_ada_from_dir): New function.
1778 (gdb_compile_ada): Reimplement avoiding the use of project files.
1779 * gdb.ada/gnat_ada.gpr: Delete.
1780 * gdb.ada/cond_lang.exp: Adjust test to make path before
1781 filename optional.
1782 * gdb.ada/small_reg_param.exp: Likewise.
1783
fe33faff
SM
17842015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1785
1786 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1787
6d265cb4
TP
17882015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1789
1790 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1791 case.
1792
10125099
SM
17932015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1794
1795 * gdb.base/break.exp: Remove dead code.
1796 * gdb.base/sepdebug.exp: Likewise.
1797
3ca22649
SM
17982015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1799
1800 * gdb.asm/asm-source.exp: Remove HP-UX references.
1801 * gdb.base/annota1.exp: Likewise.
1802 * gdb.base/annota3.exp: Likewise.
1803 * gdb.base/attach.exp: Likewise.
1804 * gdb.base/bigcore.exp: Likewise.
1805 * gdb.base/break.exp: Likewise.
1806 * gdb.base/call-ar-st.exp: Likewise.
1807 * gdb.base/callfuncs.exp: Likewise.
1808 * gdb.base/catch-fork-static.exp: Likewise.
1809 * gdb.base/display.exp: Likewise.
1810 * gdb.base/foll-exec-mode.exp: Likewise.
1811 * gdb.base/foll-exec.exp: Likewise.
1812 * gdb.base/foll-fork.exp: Likewise.
1813 * gdb.base/foll-vfork.exp: Likewise.
1814 * gdb.base/funcargs.exp: Likewise.
1815 * gdb.base/hbreak2.exp: Likewise.
1816 * gdb.base/inferior-died.exp: Likewise.
1817 * gdb.base/interrupt.exp: Likewise.
1818 * gdb.base/multi-forks.exp: Likewise.
1819 * gdb.base/nodebug.exp: Likewise.
1820 * gdb.base/sepdebug.exp: Likewise.
1821 * gdb.base/solib1.c: Likewise.
1822 * gdb.base/step-test.exp: Likewise.
1823 * gdb.mi/non-stop.c: Likewise.
1824 * gdb.mi/pthreads.c: Likewise.
1825 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1826 * gdb.threads/pthreads.c: Likewise.
1827 * gdb.threads/staticthreads.exp: Likewise.
1828 * lib/future.exp: Likewise.
1829 * lib/gdb.exp: Likewise.
1830 * gdb.base/so-indr-cl.c: Remove.
1831 * gdb.base/so-indr-cl.exp: Likewise.
1832 * gdb.base/solib.c: Likewise.
1833 * gdb.base/solib.exp: Likewise.
1834 * gdb.base/solib2.c: Likewise.
1835
b6304613
SM
18362015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1837
1838 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1839 * gdb.base/call-ar-st.exp: Likewise.
1840 * gdb.base/callfuncs.exp: Likewise.
1841 * gdb.base/condbreak.exp: Likewise.
1842 * gdb.base/constvars.exp: Likewise.
1843 * gdb.base/hbreak2.exp: Likewise.
1844 * gdb.base/langs.exp: Likewise.
1845 * gdb.base/list.exp: Likewise.
1846 * gdb.base/long_long.exp: Likewise.
1847 * gdb.base/ptype.exp: Likewise.
1848 * gdb.base/scope.exp: Likewise.
1849 * gdb.base/signals.exp: Likewise.
1850 * gdb.base/so-impl-ld.exp: Likewise.
1851 * gdb.base/varargs.exp: Likewise.
1852 * gdb.base/volatile.exp: Likewise.
1853 * gdb.base/whatis.exp: Likewise.
1854 * gdb.cp/cplusfuncs.exp: Likewise.
1855 * gdb.cp/inherit.exp: Likewise.
1856 * gdb.cp/local.exp: Likewise.
1857 * gdb.cp/member-ptr.exp: Likewise.
1858 * gdb.cp/method.exp: Likewise.
1859 * gdb.cp/overload.exp: Likewise.
1860 * gdb.cp/templates.exp: Likewise.
1861 * gdb.stabs/weird.exp: Likewise.
1862 * lib/compiler.c: Likewise.
1863 * lib/compiler.cc: Likewise.
1864 * lib/cp-support.exp: Likewise.
1865 * lib/gdb.exp: Likewise.
1866
bf401b07
SM
18672015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1868
1869 * configure.ac: Remove HP-UX case.
1870 * configure: Regenerate.
1871
aff9c0f8
SM
18722015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1873
1874 * lib/gdb.exp (gdb_compile): Add function doc.
1875
a6904d5a
PA
18762015-12-17 Pedro Alves <palves@redhat.com>
1877
1878 PR threads/19354
1879 * gdb.multi/info-threads.exp: New file.
1880
a22279dd
YQ
18812015-12-15 Yao Qi <yao.qi@linaro.org>
1882
1883 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1884 is aarch64*-*-*.
1885
0588c796
SL
18862015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1887
1888 * gdb.base/history-duplicates.exp: Skip if no readline support.
1889
5d978e17
SL
18902015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1891
1892 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1893
7e763b86
SL
18942015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1895
1896 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1897
87a3a92c
SL
18982015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1899
1900 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1901 ctrl-C if nointerrupts target property is set.
1902 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1903 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1904 * gdb.base/paginate-bg-execution.exp: Likewise.
1905 * gdb.base/paginate-execution-startup.exp: Likewise.
1906 * gdb.base/random-signal.exp: Likewise.
1907 * gdb.base/range-stepping.exp: Likewise.
1908 * gdb.cp/annota2.exp: Likewise.
1909 * gdb.cp/annota3.exp: Likewise.
1910 * gdb.gdb/selftest.exp: Likewise.
1911 * gdb.threads/continue-pending-status.exp: Likewise.
1912 * gdb.threads/leader-exit.exp: Likewise.
1913 * gdb.threads/manythreads.exp: Likewise.
1914 * gdb.threads/pthreads.exp: Likewise.
1915 * gdb.threads/schedlock.exp: Likewise.
1916 * gdb.threads/sigthread.exp: Likewise.
1917
a8f077dc
DB
19182015-12-11 Don Breazeal <donb@codesourcery.com>
1919
1920 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1921 remote.
1922 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1923 * gdb.base/foll-exec.exp (main): Enable for target remote.
1924 * gdb.base/foll-fork.exp (main): Likewise.
1925 * gdb.base/foll-vfork.exp (main): Likewise.
1926 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1927 (proc continue_to_exit_bp_loc): Use clean_restart.
1928 * gdb.base/pie-execl.exp (main): Disable for target remote.
1929 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1930 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1931 * gdb.threads/execl.exp (main): Likewise.
1932 * gdb.threads/fork-child-threads.exp (main): Likewise.
1933 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1934 remote.
1935 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1936 remote.
1937 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1938 pid.tid style ptids, instead of just tid.
1939 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1940 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1941 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1942 ptids, instead of just tid.
1943
3b2464a8
AB
19442015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1945
1946 * gdb.base/list.exp (test_list_forward): Add end of file error
1947 test.
1948 (test_repeat_list_command): Add end of file error test.
1949 (test_list_backwards): Add beginning of file error test.
1950
a0def019
AB
19512015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1952
1953 * gdb.base/list.exp (test_list_invalid_args): New function,
1954 defined, and called.
1955
5c000dff
AB
19562015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1957
1958 * gdb.base/list.exp (test_list): Make test names unique.
1959
f1637ebe
YQ
19602015-12-11 Yao Qi <yao.qi@linaro.org>
1961
1962 * gdb.base/coremaker2.c: Remove.
1963
36d6fc0a
PA
19642015-12-10 Pedro Alves <palves@redhat.com>
1965
1966 * gdb.multi/base.exp: Remove stale "spaces" references.
1967
762f7747
PA
19682015-12-10 Pedro Alves <palves@redhat.com>
1969
1970 * gdb.multi/base.exp: Don't use nowarnings.
1971 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1972 * gdb.multi/hangout.c: Include stdio.h.
1973 * gdb.multi/hello.c: Include stdlib.h.
1974 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1975 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1976 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1977
28d2bfb9
AB
19782015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1979
1980 * gdb.dwarf2/dw2-ranges-base.c: New file.
1981 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1982 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1983 support additional line table, and debug ranges generation.
1984 (Dwarf::ranges): New function, generate .debug_ranges.
1985 (Dwarf::lines): Support generating simple line table programs.
1986 (Dwarf::assemble): Initialise new namespace variables.
1987
5fc2beac
KB
19882015-12-09 Kevin Buettner <kevinb@redhat.com>
1989
1990 * gdb.base/async.exp (proc test_background): Add case for
1991 asynchronous execution not supported.
1992
1c35a88f
LM
19932015-12-09 Luis Machado <lgustavo@codesourcery.com>
1994
1995 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1996 format and change test names to make them unique.
1997
b593e3d9
RK
19982015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1999 Pedro Alves <pedro@redhat.com>
2000
2001 PR gdb/18702
2002 Add checking of floatformats setup on x86_64 hosts.
2003 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2004 (smallval, bigval): New labels/constants.
2005 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2006 float" after loading bigval and smallval.
2007
d72413e6
PMR
20082015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2009
2010 * gdb.ada/fun_overload_menu.exp: New testcase.
2011 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2012
ece66d65
JS
20132015-12-04 Josh Stone <jistone@redhat.com>
2014
2015 * gdb.base/catch-fork-static.exp: New.
2016
41d0efca
YQ
20172015-12-03 Yao Qi <yao.qi@linaro.org>
2018
2019 * gdb.base/sizeof.c: Don't include stdio.h and
2020 ../lib/unbuffer_output.c.
2021 (main): New variable 'size' and 'value'. Remove printf and
2022 gdb_unbuffer_output. Assign return value to size and value.
2023 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2024 at the beginning.
2025 (check_sizeof): Check the result by printing variable 'size'.
2026 (check_valueof): Check the result by printing variable 'value'.
2027
99fd02d9
YQ
20282015-12-01 Yao Qi <yao.qi@linaro.org>
2029
2030 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2031 for aarch64*-*-linux* target.
2032
f2faf941
PA
20332015-11-30 Pedro Alves <palves@redhat.com>
2034
2035 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2036
04bf20c5
PA
20372015-11-30 Pedro Alves <palves@redhat.com>
2038
2039 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2040 Handle non-stop mode vCont replies.
2041
09df4675
PA
20422015-11-30 Pedro Alves <palves@redhat.com>
2043
2044 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2045 prepare_for_testing. Start gdb with "set non-stop on" appended to
2046 GDBFLAGS. Lax expected stop output.
2047
58b584af
YQ
20482015-11-27 Yao Qi <yao.qi@linaro.org>
2049
2050 * gdb.arch/arm-neon.exp: New.
2051 * gdb.arch/arm-neon.c: New.
2052
dfcb77a8
YQ
20532015-11-27 Yao Qi <yao.qi@linaro.org>
2054
2055 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2056
88e8ec1b
YQ
20572015-11-27 Yao Qi <yao.qi@linaro.org>
2058
2059 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2060 frames-invalid annotation.
2061
bfde72c2
YQ
20622015-11-27 Yao Qi <yao.qi@linaro.org>
2063
2064 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2065
f6512a69
SM
20662015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2067
2068 * gdb.threads/names.exp: New file.
2069 * gdb.threads/names.c: New file.
2070 * README: Mention gdb,no_thread_names.
2071
46a3515b
MM
20722015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2073
2074 PR 19297
2075 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2076 support" error.
2077
62147a22
PA
20782015-11-24 Pedro Alves <palves@redhat.com>
2079
2080 PR 17539
2081 * gdb.base/display.exp: Expect displays to be sorted in ascending
2082 order. Use multi_line.
2083 * gdb.base/solib-display.exp: Likewise.
2084
2f341b6e
PA
20852015-11-24 Pedro Alves <palves@redhat.com>
2086
2087 PR 17539
25d49b86
PA
2088 * gdb.base/display.exp: Expect displays to be sorted in ascending
2089 order. Use multi_line.
2090 * gdb.base/solib-display.exp: Likewise.
2f341b6e 2091
7e0aa6aa
PA
20922015-11-24 Pedro Alves <palves@redhat.com>
2093
2094 PR 17539
2095 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2096 threads in ascending order.
2097 * gdb.base/foll-fork.exp: Likewise.
2098 * gdb.base/foll-vfork.exp: Likewise.
2099 * gdb.base/multi-forks.exp: Likewise.
2100 * gdb.mi/mi-nonstop.exp: Likewise.
2101 * gdb.mi/mi-nsintrall.exp: Likewise.
2102 * gdb.multi/base.exp: Likewise.
2103 * gdb.multi/multi-arch.exp: Likewise.
2104 * gdb.python/py-inferior.exp: Likewise.
2105 * gdb.threads/break-while-running.exp: Likewise.
2106 * gdb.threads/execl.exp: Likewise.
2107 * gdb.threads/gcore-thread.exp: Likewise.
2108 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2109 * gdb.threads/kill.exp: Likewise.
2110 * gdb.threads/linux-dp.exp: Likewise.
2111 * gdb.threads/multiple-step-overs.exp: Likewise.
2112 * gdb.threads/next-bp-other-thread.exp: Likewise.
2113 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2114 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2115 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2116 * gdb.threads/thread-find.exp: Likewise.
2117 * gdb.threads/tls.exp: Likewise.
2118 * lib/mi-support.exp (mi_reverse_list): Delete.
2119 (mi_check_thread_states): No longer reverse list.
2120
2cc57ad8
PA
21212015-11-24 Pedro Alves <palves@redhat.com>
2122
2123 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2124 use lowercase.
2125
c93e8391
SM
21262015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2127
2128 * gdb.trace/actions.c: Include trace-common.h.
2129 (main): Add a location for a fast tracepoint.
2130 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2131 the normal tracepoints.
2132 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2133
045ccf91
SM
21342015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2135
2136 * save-trace.exp: Factor out code to these...
2137 (gdb_save_tracepoints): New.
2138 (gdb_load_tracepoints): New.
2139 (do_save_load_test): New.
2140
5506f9f6
KB
21412015-11-23 Kevin Buettner <kevinb@redhat.com>
2142
2143 * gdb.base/asmlabel.exp: New test.
2144 * gdb.base/asmlabel.c: New test case.
2145
16c3b12f
JB
21462015-11-23 Joel Brobecker <brobecker@adacore.com>
2147
2148 * gdb.base/wrong_frame_bt_full-main.c: New file.
2149 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2150 * gdb.base/wrong_frame_bt_full.exp: New file.
2151
155bfbd3
JB
21522015-11-23 Joel Brobecker <brobecker@adacore.com>
2153
2154 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2155
bb097445
JM
21562015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2157
206853a0 2158 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
2159 pstate register when comparing registers values in
2160 sparc64-*-linux-gnu targets to avoid spurious differences.
2161
9c88ed8f
JM
21622015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2163
206853a0 2164 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 2165
96161e25
SL
21662015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2167
2168 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2169 as type argument to gdb_compile.
2170 * gdb.base/nested-subp2.exp: Likewise.
2171 * gdb.base/nested-subp3.exp: Likewise.
2172
340c2830
DV
21732015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2174
2175 * lib/dwarf.exp (_note): Fix left shift of negative value.
2176 * gdb.trace/trace-condition.exp: Likewise.
2177
c1862d0f
YQ
21782015-11-13 Yao Qi <yao.qi@linaro.org>
2179
2180 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2181 comments about d10v.
2182 (test_scalar_returns): Likewise.
2183 * gdb.base/d10v.ld: Remove.
2184 * gdb.base/overlays.exp: Remove the target triplet checking for
2185 d10v-*-*.
2186 * gdb.base/structs.exp (test_struct_returns): Remove the
2187 comments about d10v.
2188 (test_struct_calls): Likewise.
2189
77ae9c19
YQ
21902015-11-13 Yao Qi <yao.qi@linaro.org>
2191
2192 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2193 * gdb.base/gnu_vector.c: Don't include stdio.h.
2194 (main): Don't print res and call add_some_intvecs.
2195
430e004e
MK
21962015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2197
2198 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2199 macro.
2200 (func5): Removed.
2201 (func4): Use FAST_TRACEPOINT_LABEL.
2202 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2203 macro.
2204 (func): Removed.
2205 (thread_function): Use FAST_TRACEPOINT_LABEL.
2206 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2207 (func): Remove.
2208 (marker): Use FAST_TRACEPOINT_LABEL.
2209 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2210 (pendfunc1): Remove.
2211 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2212 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2213 (foo): Remove.
2214 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2215 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2216 macro.
2217 (func): Remove.
2218 (marker): Use FAST_TRACEPOINT_LABEL.
2219 * gdb.trace/trace-common.h: New header.
2220 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2221 macro.
2222 (func): Remove.
2223 (marker): Use FAST_TRACEPOINT_LABEL.
2224 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2225 (func): Remove.
2226 (thread_function): Use FAST_TRACEPOINT_LABEL.
2227
6e7675a7
MK
22282015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2229
2230 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2231 in front.
2232 * gdb.trace/change-loc.exp: Use global pcreg definition.
2233 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2234 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2235 in front.
2236 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2237 * gdb.trace/pending.exp: Likewise.
2238 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2239 * gdb.trace/trace-break.exp: Likewise.
2240 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2241 in front.
2242 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2243 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2244 in front.
2245 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2246
dddc0e16
JB
22472015-11-09 Joel Brobecker <brobecker@adacore.com>
2248
2249 * gdb.ada/fin_fun_out: New testcase.
2250
c6f0b406
KB
22512015-11-07 Kevin Buettner <kevinb@redhat.com>
2252
2253 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2254 value associated with DW_AT_byte_size.
2255 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2256 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2257 DW_AT_upper_bound.
2258
f01dcfd9
KB
22592015-11-07 Kevin Buettner <kevinb@redhat.com>
2260
2261 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2262 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2263 version.
2264 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2265 gdb.dwarf2/dw2-canonicalize-type.exp,
2266 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2267 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2268 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2269 provided by gdb_target_symbol_prefix_flags_asm.
2270 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2271 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2272 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2273 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2274 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2275 macros where needed). Use this macro for symbols which require
2276 the prefix provided by SYMBOL_PREFIX.
2277
2223449a
KB
22782015-11-05 Kevin Buettner <kevinb@redhat.com>
2279
2280 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2281 New procs.
2282 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2283 representing expressions, of more than one list element.
2284 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2285 to prepend linker symbol prefix to f.
2286 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2287 table_1 and table_2.
2288 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2289 Likewise, for f and g.
2290 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2291 for ptr.
2292 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2293 for main.
2294 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2295 table_1_ptr and table_2_ptr.
2296
6f2f1a3a
JK
22972015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2298 Joel Brobecker <brobecker@adacore.com>
2299
2300 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2301
566c56c9
MK
23022015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2303
2304 * gdb.reverse/s390-mvcle.c: New test.
2305 * gdb.reverse/s390-mvcle.exp: New file.
2306 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2307
d5f0636b
MK
23082015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2309
2310 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2311
7ad8b86c
MK
23122015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2313
2314 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2315 reaching marker2.
2316 * gdb.reverse/getresuid-reverse.exp: Likewise.
2317 * gdb.reverse/pipe-reverse.exp: Likewise.
2318 * gdb.reverse/readv-reverse.exp: Likewise.
2319 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2320 * gdb.reverse/time-reverse.exp: Likewise.
2321 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2322
4081c0f1
YQ
23232015-10-30 Yao Qi <yao.qi@linaro.org>
2324
2325 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2326 (empty_cycle): Remove.
2327 (main): Don't call empty_cycle. Don't use watch_count_done.
2328 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2329 empty_cycle. Rewrite the code counting HW watchpoints.
2330
452b4ba5
MK
23312015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2332
2333 * gdb.reverse/fstatat-reverse.c: New test.
2334 * gdb.reverse/fstatat-reverse.exp: New file.
2335 * gdb.reverse/getresuid-reverse.c: New test.
2336 * gdb.reverse/getresuid-reverse.exp: New file.
2337 * gdb.reverse/pipe-reverse.c: New test.
2338 * gdb.reverse/pipe-reverse.exp: New file.
2339 * gdb.reverse/readv-reverse.c: New test.
2340 * gdb.reverse/readv-reverse.exp: New file.
2341 * gdb.reverse/recvmsg-reverse.c: New test.
2342 * gdb.reverse/recvmsg-reverse.exp: New file.
2343 * gdb.reverse/time-reverse.c: New test.
2344 * gdb.reverse/time-reverse.exp: New file.
2345 * gdb.reverse/waitpid-reverse.c: New test.
2346 * gdb.reverse/waitpid-reverse.exp: New file.
2347
5e2e7507
JK
23482015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2349
2350 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2351
0fde2c53
DE
23522015-10-26 Doug Evans <dje@google.com>
2353
2354 PR symtab/17391
2355 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2356 * gdb.dwarf2/bad-regnum.c: New file.
2357 * gdb.dwarf2/bad-regnum.exp: New file.
2358
1a70ae97
DE
23592015-10-26 Doug Evans <dje@google.com>
2360
2361 PR python/18938
2362 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2363 file.
2364
27dc26ab
JK
23652015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2366
2367 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2368 for a change by "Mention language in compile error message".
2369
bed91f4d
SM
23702015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2371
2372 PR python/18073
2373 * gdb.python/py-type.c (C::a_method): New.
2374 (C::a_const_method): New.
2375 (C::a_static_method): New.
2376 (a_function): New.
2377 * gdb.python/py-type.exp (test_fields): Test getting fields
2378 from function and method.
2379
3f2f83dd
KB
23802015-10-21 Keven Boell <keven.boell@intel.com>
2381
2382 * gdb.fortran/vla-alloc-assoc.exp: New file.
2383 * gdb.fortran/vla-datatypes.exp: New file.
2384 * gdb.fortran/vla-datatypes.f90: New file.
2385 * gdb.fortran/vla-history.exp: New file.
2386 * gdb.fortran/vla-ptype-sub.exp: New file.
2387 * gdb.fortran/vla-ptype.exp: New file.
2388 * gdb.fortran/vla-sizeof.exp: New file.
2389 * gdb.fortran/vla-sub.f90: New file.
2390 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2391 * gdb.fortran/vla-value-sub-finish.exp: New file.
2392 * gdb.fortran/vla-value-sub.exp: New file.
2393 * gdb.fortran/vla-value.exp: New file.
2394 * gdb.fortran/vla-ptr-info.exp: New file.
2395 * gdb.mi/mi-vla-fortran.exp: New file.
2396 * gdb.mi/vla.f90: New file.
2397
27145d50
SL
23982015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2399
2400 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2401 of hardwired timeout value.
2402
5f3ff4f8
JK
24032015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2404 Pedro Alves <palves@redhat.com>
2405
2406 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2407 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2408
bfd09d20
JS
24092015-10-19 Josh Stone <jistone@redhat.com>
2410
2411 * gdb.base/catch-syscall.c: Include <sched.h>.
2412 (unknown_syscall): New variable.
2413 (main): Trigger a vfork and an unknown syscall.
2414 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2415 (unknown_syscall_number): Likewise.
2416 (check_call_to_syscall): Accept an optional syscall pattern.
2417 (check_return_from_syscall): Likewise.
2418 (check_continue): Likewise.
2419 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2420 (test_catch_syscall_skipping_return): New test toggling off 'catch
2421 syscall' to step over the syscall return, then toggling back on.
2422 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2423 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2424 (do_syscall_tests): Call test_catch_syscall_without_args and
2425 test_catch_syscall_mid_vfork.
2426 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2427 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2428
b32b93c6
AS
24292015-10-19 Andrew Stubbs <ams@codesourcery.com>
2430
2431 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2432 print g_vE): Add new pass patterns.
2433 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2434 print various symbol names for vptr fields.
2435
9d622bda
AB
24362015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2437
2438 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2439 results.
2440
0fd8ac1c
YQ
24412015-10-12 Yao Qi <yao.qi@linaro.org>
2442
2443 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2444
34240514
YQ
24452015-10-12 Yao Qi <yao.qi@linaro.org>
2446
2447 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2448 is aarch64*-*-linux*.
2449
8240f442
YQ
24502015-10-12 Yao Qi <yao.qi@linaro.org>
2451
2452 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2453 (can_relocate_bcond_true): ... it.
2454 (can_relocate_bcond_false): New function.
2455 (foo): Likewise.
2456 (can_relocate_bl): Likewise.
2457 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2458 can_relocate_bl.
2459
2520f728
PMR
24602015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2461
2462 * gdb.base/nested-addr.c: New file.
2463 * gdb.base/nested-addr.exp: New testcase.
2464
abcef95a
MM
24652015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2466
2467 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2468 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2469 its output. Ignore the output of "record goto begin" and instead
2470 check that GDB is replaying.
2471
145e3ddb
PA
24722015-10-09 Pedro Alves <palves@redhat.com>
2473
2474 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2475 (top level): Use it in the run with no args test.
2476
d5d8c4e1
IB
24772015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2478
2479 * gdb.dlang/properties.exp: New file.
2480
06e635ef
SL
24812015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2482
2483 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2484 whether or not address 0x1000 is mapped on the target.
2485
e019fd1d
SM
24862015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2487
2488 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2489 build.
2490
77ba2a67
MM
24912015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2492
2493 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2494 instruction-history test.
2495
c60eb31f
DE
24962015-09-28 Doug Evans <dje@google.com>
2497
2498 * gdb.base/gcore.c (array_func): Add reference to static_array.
2499
9a3c8263
SM
25002015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2501
2502 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2503 source line.
2504
9720e656
SL
25052015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2506
2507 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2508 short or char as base type.
2509
938d3bf2
SL
25102015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2511
2512 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2513 to allow any size enum.
2514
e6c2c623
PMR
25152015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2516
2517 * gdb.ada/array_ptr_renaming.exp: New testcase.
2518 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2519 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2520
06da0f77
PL
25212015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2522
2523 * gdb.trace/ftrace-lock.c: New file.
2524 * gdb.trace/ftrace-lock.exp: New file.
2525
4f51c22a
PL
25262015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2527
2528 * gdb.arch/insn-reloc.c: New file.
2529 * gdb.arch/ftrace-insn-reloc.exp: New file.
2530
7041adf4
PL
25312015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2532
2533 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2534 instruction.
2535 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2536 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2537 * gdb.trace/range-stepping.c: Likewise.
2538 * gdb.trace/trace-break.c: Likewise.
2539 * gdb.trace/trace-mt.c (thread_function): Likewise.
2540 * gdb.trace/ftrace.c (marker): Likewise.
2541 * gdb.trace/trace-condition.c (marker): Likewise.
2542 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2543 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2544 is_aarch64_target.
2545
015d2e7e
DE
25462015-09-18 Doug Evans <xdje42@gmail.com>
2547
2548 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2549 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2550
26b188a2
SL
25512015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2552
2553 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2554 the breakpoint.
2555
79dc332b
SL
25562015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2557
2558 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2559 the pending breakpoint. Remove timeout override for "Run till
2560 MI pending breakpoint on pendfunc3 on thread 2" test.
2561
f57929f2
SL
25622015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2563
2564 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2565 filename pattern.
2566
3f469b17
SL
25672015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2568
2569 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2570 in breakpoint filename pattern.
2571
515b89b3
SL
25722015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2573
7800dbe4
SL
2574 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2575
25762015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2577
515b89b3
SL
2578 * gdb.linespec/explicit.exp: Check for readline support for
2579 tab-completion tests. Fix obvious typo.
2580
d2939ba2
MM
25812015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2582
2583 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2584 and replay.
2585
cbb55fa7
MM
25862015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2587
2588 * gdb.btrace/non-stop.c: New.
2589 * gdb.btrace/non-stop.exp: New.
2590
43691ca1
PL
25912015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2592 Yao Qi <yao.qi@linaro.org>
2593
2594 * gdb.trace/trace-condition.c: New file.
2595 * gdb.trace/trace-condition.exp: New file.
2596
d78908cf
WW
25972015-09-16 Wei-cheng Wang <cole945@gmail.com>
2598
2599 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2600 for testing bytecode compilation.
2601
1ed415e2
PA
26022015-09-16 Pedro Alves <palves@redhat.com>
2603 Sandra Loosemore <sandra@codesourcery.com>
2604
2605 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2606 (SECONDS): Redefine.
2607 (main): Call pthread_kill and alarm early.
2608 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2609 support.
2610 (test): If the target can't hardware step and doesn't support
2611 displaced stepping, increase the timeout.
2612
d136eff5
PA
26132015-09-16 Pedro Alves <palves@redhat.com>
2614
2615 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2616 (enable_debug): New procedures.
2617 (test): Use them. Bail out if waiting for threads fails.
2618 (top level): Bail out if a test fails.
2619
991f019c
YQ
26202015-09-16 Yao Qi <yao.qi@linaro.org>
2621
2622 * gdb.asm/asm-source.exp: Set asm-arch for
2623 aarch64*-*-* target.
2624 * gdb.asm/aarch64.inc: New file.
2625
bfca584f
PMR
26262015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2627
2628 * gdb.ada/array_of_variable_length.exp: New testcase.
2629 * gdb.ada/array_of_variable_length/foo.adb: New file.
2630 * gdb.ada/array_of_variable_length/pck.adb: New file.
2631 * gdb.ada/array_of_variable_length/pck.ads: New file.
2632
b326e587
DE
26332015-09-15 Doug Evans <dje@google.com>
2634
2635 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2636 of function static local variable.
2637
5382cfab
PW
26382015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2639
2640 * gdb.threads/tls-so_extern.exp: New test file.
2641 * gdb.threads/tls-so_extern.c: New test file.
2642 * gdb.threads/tls-so_extern_main.c: New test file.
2643
141c5cc4
JK
26442015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2645
2646 * gdb.opt/solib-intra-step-lib.c: New file.
2647 * gdb.opt/solib-intra-step-main.c: New file.
2648 * gdb.opt/solib-intra-step.exp: New file.
2649
d15dcecd
PA
26502015-09-15 Pedro Alves <palves@redhat.com>
2651
2652 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2653 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2654
4c2f2a79
PA
26552015-09-14 Pedro Alves <palves@redhat.com>
2656
2657 * gdb.base/hook-stop-continue.c: Delete.
2658 * gdb.base/hook-stop-continue.exp: Delete.
2659 * gdb.base/hook-stop-frame.c: Delete.
2660 * gdb.base/hook-stop-frame.exp: Delete.
2661 * gdb.base/hook-stop.c: New file.
2662 * gdb.base/hook-stop.exp: New file.
2663
919e6dbe
PMR
26642015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2665
2666 * gdb.ada/access_to_packed_array.exp: New testcase.
2667 * gdb.ada/access_to_packed_array/foo.adb: New file.
2668 * gdb.ada/access_to_packed_array/pack.adb: New file.
2669 * gdb.ada/access_to_packed_array/pack.ads: New file.
2670
157280a4
MM
26712015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2672
2673 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2674 buffer size test.
2675
2fd33e94
DB
26762015-09-11 Don Breazeal <donb@codesourcery.com>
2677
2678 * gdb.base/foll-exec.c: Add copyright header. Fix
2679 formatting issues.
2680 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2681 (do_exec_tests): Use clean_restart in place of zap_session,
2682 and for test initialization. Fix formatting issues. Use
2683 fail in place of perror.
2684 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2685 an expect statement to match an expression with output from
2686 the program under debug.
2687 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2688 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2689 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2690 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2691 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2692
e70b6e8e
DE
26932015-09-09 Doug Evans <dje@google.com>
2694
2695 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2696
7a551a51
DE
26972015-09-09 Doug Evans <dje@google.com>
2698
2699 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2700
4c666f84
DE
27012015-09-09 Doug Evans <dje@google.com>
2702
2703 * gdb.base/savedregs.exp: Fix typo.
2704
243a9253
PA
27052015-09-09 Pedro Alves <palves@redhat.com>
2706
2707 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2708
c0fa8fbd
SL
27092015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2710
2711 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2712 command actually switches threads. Give up on remaining
2713 tests if target fails to stop at breakpoint.
2714
cd7c1778
PMR
27152015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2716
2717 * gdb.ada/funcall_char.exp: New testcase.
2718 * gdb.ada/funcall_char/foo.adb: New file.
2719
dc5c8746
PMR
27202015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2721
2722 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2723 expected outputs. Add two testcases for completing ambiguous
2724 functions.
2725 * gdb.ada/complete/aux_pck.adb: New file.
2726 * gdb.ada/complete/aux_pck.ads: New file.
2727 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2728 Ambiguous_Func functions.
2729 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2730 * gdb.ada/complete/pck.adb: Likewise.
2731
4e83a1e7
UW
27322015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2733
2734 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2735 failures to run the test program under GDB.
2736
8ce74153
LM
27372015-08-26 Luis Machado <lgustavo@codesourcery.com>
2738
2739 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2740 to C.
2741
e9756d52
PP
27422015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2743
2744 * gdb.base/run-after-attach.exp: New test file.
2745 * gdb.base/run-after-attach.c: New test file.
2746
8d37573b
DB
27472015-08-26 Don Breazeal <donb@codesourcery.com>
2748
2749 * gdb.base/foll-exec-2.c: New test program.
2750 * gdb.base/foll-exec-2.exp: New test.
2751
63e43d3a
PMR
27522015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2753
2754 * gdb.base/nested-subp1.exp: New file.
2755 * gdb.base/nested-subp1.c: New file.
2756 * gdb.base/nested-subp2.exp: New file.
2757 * gdb.base/nested-subp2.c: New file.
2758 * gdb.base/nested-subp3.exp: New file.
2759 * gdb.base/nested-subp3.c: New file.
2760
3d40fbb5
PA
27612015-08-24 Pedro Alves <palves@redhat.com>
2762
2763 * gdb.server/connect-without-multi-process.c: New file.
2764 * gdb.server/connect-without-multi-process.exp: New file.
2765
4422ac93
LM
27662015-08-24 Luis Machado <lgustavo@codesourcery.com>
2767
2768 * gdb.opt/inline-markers.c: Make z int.
2769
91dddb86
LM
27702015-08-24 Luis Machado <lgustavo@codesourcery.com>
2771
2772 * gdb.opt/inline-markers.c: Make z volatile.
2773
a48847ee
LM
27742015-08-24 Luis Machado <lgustavo@codesourcery.com>
2775
2776 * gdb.opt/inline-bt.c: New volatile global z.
2777 * gdb.opt/inline-cmds.c: Likewise.
2778 * gdb.opt/inline-locals.c: Likewise.
2779 * gdb.opt/inline-markers.c: New extern global z.
2780 (marker): Use z.
2781 (inline_fn): Likewise.
2782
0ebbc52b
PA
27832015-08-24 Pedro Alves <palves@redhat.com>
2784
2785 * config/m32r-stub.exp: Remove file.
2786 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2787 * gdb.base/call-rt-st.exp: Likewise.
2788 * gdb.base/call-strs.exp: Likewise.
2789 * gdb.base/default.exp: Remove references to h8300-*-hms and
2790 *-*-udi*.
2791 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2792
77c365df
AA
27932015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2794
2795 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2796 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2797 and "return" use KFAIL when GDB can not read/write the vector
2798 return value.
2799
4313b8c0
GB
28002015-08-21 Gary Benson <gbenson@redhat.com>
2801
2802 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2803
0e433b32
PA
28042015-08-20 Pedro Alves <palves@redhat.com>
2805
2806 * gdb.server/solib-list.exp: No longer expect an interior stop in
2807 non-stop mode.
2808
221e1a37
PA
28092015-08-20 Pedro Alves <palves@redhat.com>
2810
2811 * gdb.server/connect-stopped-target.c: New file.
2812 * gdb.server/connect-stopped-target.exp: New file.
2813
40e3ad0e
PA
28142015-08-20 Pedro Alves <palves@redhat.com>
2815
2816 * gdb.dwarf2/comp-unit-lang.exp: New file.
2817 * gdb.dwarf2/comp-unit-lang.c: New file.
2818
af39b327
PMR
28192015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2820
2821 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2822 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2823
7d45c7c3 28242015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 2825
7d45c7c3
KB
2826 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2827 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2828
4d6cceb4
DE
28292015-08-18 Doug Evans <dje@google.com>
2830 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2831
2832 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2833 skip_python_tests. New arg prompt_regexp.
2834 (skip_python_tests): New function.
2835 * lib/mi-support.exp (mi_skip_python_tests): New function.
2836 * gdb.python/py-mi-objfile-gdb.py: New file.
2837 * gdb.python/py-mi-objfile.c: New file.
2838 * gdb.python/py-mi-objfile.exp: New file.
2839
ad89c2aa
KS
28402015-08-17 Keith Seitz <keiths@redhat.com>
2841
2842 * gdb.linespec/explicit.exp: Move strace test from here ...
2843 * gdb.trace/strace.exp: ... to here.
2844
e3ae3c43
PP
28452015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2846
2847 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2848 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2849
604b2636
DE
28502015-08-14 Doug Evans <xdje42@gmail.com>
2851
2852 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2853 inferior before selecting a new file.
2854
6ff0ba5f
DE
28552015-08-14 Doug Evans <xdje42@gmail.com>
2856
2857 * gdb.mi/mi-disassemble.exp: Update.
2858 * gdb.base/disasm-optim.S: New file.
2859 * gdb.base/disasm-optim.c: New file.
2860 * gdb.base/disasm-optim.h: New file.
2861 * gdb.base/disasm-optim.exp: New file.
2862
9ca98f92
KS
28632015-08-14 Keith Seitz <keiths@redhat.com>
2864
2865 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2866 "evaluated-by".
2867
52bbc560
JB
28682015-08-13 Joel Brobecker <brobecker@adacore.com>
2869
2870 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2871
5d8c3ed3
PMR
28722015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2873
2874 * gdb.ada/fun_renaming.exp: New testcase.
2875 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2876 * gdb.ada/fun_renaming/pack.adb: New file.
2877 * gdb.ada/fun_renaming/pack.ads: New file.
2878
ea8812bc
KS
28792015-08-12 Keith Seitz <keiths@redhat.com>
2880
2881 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2882 gdb_get_line_number.
2883
4dafcdeb
JB
28842015-08-12 Joel Brobecker <brobecker@adacore.com>
2885
2886 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2887 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2888 gdb.base/dso2dso.exp: New files.
2889
5ba32597
SDJ
28902015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2891 Pedro Alves <palves@redhat.com>
2892 Keith Seitz <keiths@redhat.com>
2893
2894 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2895 GDBFLAGS.
2896
b6dafabf
PP
28972015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2898
2899 * gdb.base/gdbhistsize-history.exp
2900 (test_histsize_history_setting): Use save_vars.
2901 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2902 Use save_vars.
2903 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2904 * gdb.base/readline.exp: Use save_vars.
2905
abe8e607
PP
29062015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2907
2908 * lib/gdb.exp (save_vars): New proc.
2909
629500fa
KS
29102015-08-11 Keith Seitz <keiths@redhat.com>
2911
2912 * gdb.base/help.exp: Update help_breakpoint_text.
2913
eb8c4e2e
KS
29142015-08-11 Keith Seitz <keiths@redhat.com>
2915
2916 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2917 (at toplevel): Call test_explicit_breakpoints.
2918 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2919 breakpoints.
2920 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2921 breakpoint conditions, "-cond".
2922
87f0e720
KS
29232015-08-11 Keith Seitz <keiths@redhat.com>
2924
2925 * gdb.linespec/3explicit.c: New file.
2926 * gdb.linespec/cpexplicit.cc: New file.
2927 * gdb.linespec/cpexplicit.exp: New file.
2928 * gdb.linespec/explicit.c: New file.
2929 * gdb.linespec/explicit.exp: New file.
2930 * gdb.linespec/explicit2.c: New file.
2931 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2932 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2933 before using in the matching pattern.
2934 Clarify that `prefix' is a regular expression.
2935
f00aae0f
KS
29362015-08-11 Keith Seitz <keiths@redhat.com>
2937
2938 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2939 test.
2940 Add tests for missing ",FMT" and ",".
2941
e27852be
DE
29422015-08-10 Doug Evans <dje@google.com>
2943 Keith Seitz <keiths@redhat.com>
2944
2945 PR gdb/17960
2946 * gdb.base/completion.exp: Add location completer tests.
2947
7f03bd92
PA
29482015-08-07 Pedro Alves <palves@redhat.com>
2949
2950 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2951 tests here.
2952 (top level): Run do_test with and without displaced stepping.
2953
3fc8eb30
PA
29542015-08-07 Pedro Alves <palves@redhat.com>
2955
2956 * gdb.base/valgrind-disp-step.c: New file.
2957 * gdb.base/valgrind-disp-step.exp: New file.
2958
d4569d7b
PA
29592015-08-07 Pedro Alves <palves@redhat.com>
2960
2961 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2962 Delete function.
2963 (main): Add alarm. Run an infinite loop instead of calling
2964 wait_threads.
2965 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2966 comment.
2967 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2968 Delete function.
2969 (main): Add alarm. Run an infinite loop instead of calling
2970 wait_threads.
2971 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2972 comment.
2973
e1316e60
PA
29742015-08-07 Pedro Alves <palves@redhat.com>
2975
2976 * gdb.base/checkpoint-ns.exp: New file.
2977 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2978 standard_testfile.
2979
da8c46d2
MM
29802015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2981
2982 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2983 * gdb.btrace/instruction_history.exp: Update.
2984 * gdb.btrace/tsx.exp: New.
2985 * gdb.btrace/tsx.c: New.
2986
de1c2c52
PA
29872015-08-06 Pedro Alves <palves@redhat.com>
2988
2989 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2990 increase timeout.
2991 * gdb.reverse/until-precsave.exp: Bump timeouts.
2992
782e0bf4
PA
29932015-08-06 Pedro Alves <palves@redhat.com>
2994
2995 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2996
83e97ed0
PA
29972015-08-06 Pedro Alves <palves@redhat.com>
2998
2999 PR gdb/18749
3000 * gdb.threads/process-dies-while-handling-bp.c: New file.
3001 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3002
863d01bd
PA
30032015-08-06 Pedro Alves <palves@redhat.com>
3004
3005 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3006 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3007
0a39bb32
PA
30082015-08-05 Pedro Alves <palves@redhat.com>
3009
3010 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3011 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3012
ee2d2b10
SL
30132015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3014
3015 * gdb.base/bp-permanent.exp: Report test as unsupported if
3016 the target cannot stop at the permanent breakpoint.
3017
4e1bdb00
DE
30182015-08-03 Doug Evans <dje@google.com>
3019
3020 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3021 10000.
3022
3d338901
DE
30232015-08-03 Doug Evans <dje@google.com>
3024
3025 * Makefile.in (workers/%.worker, build-perf): New rule.
3026 (GDB_PERFTEST_MODE): New variable.
3027 (check-perf): Use it.
3028 (clean): Clean up gdb.perf parallel build subdirs.
3029 * lib/build-piece.exp: New file.
3030 * lib/gdb.exp (make_gdb_parallel_path): New function
3031 (standard_output_file, standard_temp_file): Call it.
3032 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3033 of $GDB_PARALLEL.
3034 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3035
af061d3e
DE
30362015-08-03 Doug Evans <dje@google.com>
3037
8e1afc81 3038 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
3039 (LOG_FILE_NAME): New global.
3040 (TextReporter.__init__): Initialize self.txt_sum.
3041 (TextReporter.report): Add support for multiple data-points.
3042 Move report to perftest.sum, put raw data in perftest.log.
3043 (TextReporter.start): Open sum and log files.
3044 (TextReporter.end): Close sum and log files.
8e1afc81
DE
3045 * gdb.perf/lib/perftest/testresult.py
3046 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 3047
2c8c5d37
PA
30482015-07-31 Pedro Alves <palves@redhat.com>
3049
3050 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3051 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3052 kill_wait_spawned_process instead of explicit "kill -9".
3053 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3054 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3055 kill_wait_spawned_process.
3056 * gdb.base/attach-twice.exp: Likewise.
3057 * gdb.base/attach.exp: Likewise.
3058 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3059 gdb_test_multiple.
3060 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3061 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3062 kill_wait_spawned_process.
3063 * gdb.base/valgrind-infcall.exp: Likewise.
3064 * gdb.multi/multi-attach.exp: Likewise.
3065 * gdb.python/py-prompt.exp: Likewise.
3066 * gdb.python/py-sync-interp.exp: Likewise.
3067 * gdb.server/ext-attach.exp: Likewise.
3068 * gdb.threads/attach-into-signal.exp (corefunc): Use
3069 spawn_wait_for_attach, spawn_id_get_pid and
3070 kill_wait_spawned_process.
3071 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3072 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3073 spawn_id_get_pid and kill_wait_spawned_process.
3074 * gdb.threads/attach-stopped.exp (corefunc): Use
3075 spawn_wait_for_attach, spawn_id_get_pid and
3076 kill_wait_spawned_process.
3077 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3078 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3079 kill_wait_spawned_process instead of explicit "kill -9".
3080 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3081 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3082 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3083 processes. Don't map cygwin/windows pids here. Now returns a
3084 spawn id list.
3085
032a0fca
SL
30862015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3087
3088 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3089 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3090 correct patch.
3091
61a934ca
SL
30922015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3093
3094 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3095
4bc4d428
SL
30962015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3097
3098 Reapply:
3099 2014-05-21 Mark Wielaard <mjw@redhat.com>
3100
3101 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3102
998d452a
PA
31032015-07-30 Pedro Alves <palves@redhat.com>
3104
3105 * linux-low.c (handle_extended_wait): Set the child's last
3106 reported status to TARGET_WAITKIND_STOPPED.
3107
69dde7dc
PA
31082015-07-30 Pedro Alves <palves@redhat.com>
3109
3110 PR threads/18600
3111 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3112 only shows inferior 1.
3113
4dd63d48
PA
31142015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3115 Pedro Alves <palves@redhat.com>
3116
3117 PR threads/18600
3118 * gdb.threads/fork-plus-threads.c: New file.
3119 * gdb.threads/fork-plus-threads.exp: New file.
3120
d618e4c5
PP
31212015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3122
3123 * gdb.base/batch-preserve-term-settings.exp
3124 (test_terminal_settings_preserved_after_cli_exit): Use
3125 send_quit_command.
3126
1eef6428
PA
31272015-07-29 Pedro Alves <palves@redhat.com>
3128 Don Breazeal <donb@codesourcery.com>
3129
3130 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3131 output from both inferior_spawn_id and gdb_spawn_id.
3132
7da5b897
SDJ
31332015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3134
3135 * gdb.threads/attach-into-signal.exp (corefunc): Use
3136 with_test_prefix on nested loops, uniquefying the test messages.
3137
dac804df
SDJ
31382015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3139
3140 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3141 commit.
3142
06265e53
PP
31432015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3144
3145 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3146 New proc.
3147 (test_terminal_settings_preserved_after_sigterm): New test.
3148
18206ca3
PP
31492015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3150
3151 * gdb.base/batch-preserve-term-settings.exp
3152 (test_terminal_settings_preserved_after_cli_exit): New test.
3153
90074d11
PP
31542015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3155
3156 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3157 manipulation of saved_gdbflags.
3158 (test_terminal_settings_preserved): Remove global declaration of
3159 the unused variable pagination_prompt. Remove manipulation of
3160 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3161 GDBFLAGS.
3162
eb1a7902
PA
31632015-07-29 Pedro Alves <palves@redhat.com>
3164
3165 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3166
8b75dd3b
PA
31672015-07-29 Pedro Alves <palves@redhat.com>
3168
3169 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3170 at the top.
3171
dedad4e3
PA
31722015-07-29 Pedro Alves <palves@redhat.com>
3173
3174 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3175 (main): Call gdb_unbuffer_output.
3176 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3177 (main): Call gdb_unbuffer_output.
3178 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3179 (main): Call gdb_unbuffer_output.
3180 * gdb.base/call-strs.exp: Adjust to step over the
3181 gdb_unbuffer_output call.
3182 * gdb.base/catch-gdb-caused-signals.c: Include
3183 "../lib/unbuffer_output.c".
3184 (main): Call gdb_unbuffer_output.
3185 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3186 (main): Call gdb_unbuffer_output.
3187 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3188 (main): Call gdb_unbuffer_output.
3189 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3190 (main): Call gdb_unbuffer_output.
3191 * gdb.base/shlib-call.exp: Adjust to step over the
3192 gdb_unbuffer_output call.
3193 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3194 (main): Call gdb_unbuffer_output.
3195 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3196 (main): Call gdb_unbuffer_output.
3197 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3198 (main): Rename to ...
3199 (test): ... this.
3200 (main): Reimplement.
3201 * gdb.base/varargs.exp: Run to test instead of to main.
3202 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3203 (main): Call gdb_unbuffer_output.
3204
58789a91
PA
32052015-07-29 Pedro Alves <palves@redhat.com>
3206
3207 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3208 factore out from mi_continue_dprintf. For call-style dprintfs,
3209 expect dprintf output out of $inferior_spawn_id.
3210 (mi_continue_dprintf): Use mi_expect_dprintf.
3211 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3212 (main): Call gdb_unbuffer_output.
3213
e8376742
PA
32142015-07-29 Pedro Alves <palves@redhat.com>
3215
3216 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3217 (default_mi_gdb_start): Set inferior_spawn_id instead of
3218 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3219 gdb_spawn_id.
3220 (mi_gdb_test): Always expect inferior output from both
3221 $inferior_spawn_id and $gdb_spawn_id.
3222
08280010
PA
32232015-07-29 Pedro Alves <palves@redhat.com>
3224
3225 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3226 send_inferior and $inferior_spawn_id.
3227
4d30e432
PA
32282015-07-29 Pedro Alves <palves@redhat.com>
3229
3230 * gdb.gdb/complaints.exp (test_initial_complaints)
3231 (test_serial_complaints, test_short_complaints): Use
3232 gdb_test_stdio.
3233 (test_empty_complaint): Handle $inferior_spawn_id !=
3234 $gdb_spawn_id.
3235
0d30a335
PA
32362015-07-29 Pedro Alves <palves@redhat.com>
3237
3238 * gdb.base/varargs.exp: Use gdb_test_stdio.
3239
39413b29
PA
32402015-07-29 Pedro Alves <palves@redhat.com>
3241
3242 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3243
7cb000a9
PA
32442015-07-29 Pedro Alves <palves@redhat.com>
3245
3246 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3247
d7b8ac82
PA
32482015-07-29 Pedro Alves <palves@redhat.com>
3249
3250 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3251 parameter into two new parameters, "inf_result" and "gdb_result".
3252 Expect inferior output and gdb output from $inferior_spawn_id and
3253 $gdb_spawn_id, respectively. Adjust all callers.
3254
789c3a0c
PA
32552015-07-29 Pedro Alves <palves@redhat.com>
3256
3257 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3258 of gdb_test_sequence.
3259
77e760c3
PA
32602015-07-29 Pedro Alves <palves@redhat.com>
3261
3262 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3263 (saw_spurious_output): Expect inferior output from
3264 $inferior_spawn_id. Use gdb_test_stdio.
3265
8396d2cd
PA
32662015-07-29 Pedro Alves <palves@redhat.com>
3267
3268 * gdb.base/dprintf.exp: Use standard_testfile. Change
3269 prepare_for_testing call.
3270 (srcfile): Don't set.
3271 (restart): New procedure.
3272 (test_dprintf): New procecure, use to continue over dprintfs.
3273 (test_call, test_agent): New procedures, tests moved here.
3274 Restart gdb and recreate dprintfs. Adjust expected output.
3275
2051d61f
PA
32762015-07-29 Pedro Alves <palves@redhat.com>
3277
3278 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3279
452397af
PA
32802015-07-29 Pedro Alves <palves@redhat.com>
3281
3282 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3283
8aed9555
PA
32842015-07-29 Pedro Alves <palves@redhat.com>
3285
3286 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3287 gdb_test_stdio.
3288
188a61b4
PA
32892015-07-29 Pedro Alves <palves@redhat.com>
3290
3291 * lib/gdb.exp (gdb_test_stdio): New procedure.
3292
12264a45
PA
32932015-07-29 Pedro Alves <palves@redhat.com>
3294
3295 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3296
23ffc893
PA
32972015-07-29 Pedro Alves <palves@redhat.com>
3298
3299 * gdb.base/call-signal-resume.exp: Remove check for
3300 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3301 * gdb.base/unwindonsignal.exp: Likewise.
3302 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3303 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3304
65566918
PA
33052015-07-29 Pedro Alves <palves@redhat.com>
3306
3307 * gdb.base/siginfo-addr.c (pass): New function.
3308 (handler): Call it iff si_addr is correct.
3309 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3310 Set a breakpoint at "pass" and continue to it.
3311
d60a9221
SDJ
33122015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3313
3314 * gdb.python/py-objfile.exp: Make some tests have unique names.
3315 * gdb.python/py-pp-registration.exp: Likewise.
3316
bde40b8f
PA
33172015-07-28 Pedro Alves <palves@redhat.com>
3318
3319 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3320
13e1dec8
SM
33212015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3322
3323 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3324
da33c9a7
SM
33252015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3326
3327 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3328
077836f7
PP
33292015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3330
3331 * gdb.base/gdb-sigterm-2.exp: New test.
3332
b8cc7b2e
DE
33332015-07-25 Doug Evans <xdje42@gmail.com>
3334
3335 Revert:
3336 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3337 (workers/%.worker, build-perf): New rule.
3338 (GDB_PERFTEST_MODE): New variable.
3339 (check-perf): Use it.
3340 (clean): Clean up gdb.perf parallel build subdirs.
3341 * lib/build-piece.exp: New file.
3342 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3343 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3344 name.
3345 (standard_temp_file): Ditto.
3346 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3347 of $GDB_PARALLEL.
3348
c8bd4544
DE
33492015-07-24 Doug Evans <dje@google.com>
3350
3351 * gdb.perf/lib/perftest/utils.py: New file.
3352 * gdb.perf/gm-hello.cc: New file.
3353 * gdb.perf/gm-pervasive-typedef.cc: New file.
3354 * gdb.perf/gm-pervasive-typedef.h: New file.
3355 * gdb.perf/gm-std.cc: New file.
3356 * gdb.perf/gm-std.h: New file.
3357 * gdb.perf/gm-use-cerr.cc: New file.
3358 * gdb.perf/gm-utils.h: New file.
3359 * gdb.perf/gmonster-null-lookup.py: New file.
3360 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3361 * gdb.perf/gmonster-print-cerr.py: New file.
3362 * gdb.perf/gmonster-ptype-string.py: New file.
3363 * gdb.perf/gmonster-runto-main.py: New file.
3364 * gdb.perf/gmonster-select-file.py: New file.
3365 * gdb.perf/gmonster1-null-lookup.exp: New file.
3366 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3367 * gdb.perf/gmonster1-print-cerr.exp: New file.
3368 * gdb.perf/gmonster1-ptype-string.exp: New file.
3369 * gdb.perf/gmonster1-runto-main.exp: New file.
3370 * gdb.perf/gmonster1-select-file.exp: New file.
3371 * gdb.perf/gmonster1.cc: New file.
3372 * gdb.perf/gmonster1.exp: New file.
3373 * gdb.perf/gmonster2-null-lookup.exp: New file.
3374 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3375 * gdb.perf/gmonster2-print-cerr.exp: New file.
3376 * gdb.perf/gmonster2-ptype-string.exp: New file.
3377 * gdb.perf/gmonster2-runto-main.exp: New file.
3378 * gdb.perf/gmonster2-select-file.exp: New file.
3379 * gdb.perf/gmonster2.cc: New file.
3380 * gdb.perf/gmonster2.exp: New file.
3381
6eab34f3
DE
33822015-07-24 Doug Evans <dje@google.com>
3383
3384 * gdb.perf/README: New file.
3385 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3386 * lib/gen-perf-test.exp: New file.
3387
63738bfd
DE
33882015-07-24 Doug Evans <dje@google.com>
3389
3390 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3391 (PerfTest::startup): New function.
3392 (PerfTest::run): Return result of calling body.
3393 (PerfTest::assemble): Rewrite.
3394 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3395 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3396 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3397 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3398 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3399
7b606f95
DE
34002015-07-24 Doug Evans <dje@google.com>
3401
3402 * lib/gdb.exp (clean_restart): Make executable optional.
3403
a97b16b8
DE
34042015-07-24 Doug Evans <dje@google.com>
3405
3406 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3407 compiler_info references.
3408 * gdb.cp/temargs.exp: Ditto.
3409 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3410 (get_compiler_info): Early exit if already computed. Set compiler_info
3411 to "unknown" if there was a problem.
3412 (test_compiler_info): Add function comment. Call get_compiler_info.
3413
35baa57f
DE
34142015-07-24 Doug Evans <dje@google.com>
3415
3416 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3417 (workers/%.worker, build-perf): New rule.
3418 (GDB_PERFTEST_MODE): New variable.
3419 (check-perf): Use it.
3420 (clean): Clean up gdb.perf parallel build subdirs.
3421 * lib/build-piece.exp: New file.
3422 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3423 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3424 name.
3425 (standard_temp_file): Ditto.
3426 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3427 of $GDB_PARALLEL.
3428
6ebea266
DE
34292015-07-24 Doug Evans <dje@google.com>
3430
3431 * lib/future.exp (gdb_default_target_compile): New option
3432 "early_flags".
3433 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3434 --as-needed.
3435
1e76a7e9
SDJ
34362015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3437
3438 * gdb.base/catch-syscall.exp: Call gdb_exit before
3439 gdb_skip_xml_test.
3440
5068630a
PA
34412015-07-24 Pedro Alves <palves@redhat.com>
3442
3443 * gdb.python/py-events.exp: Accept output between the stop event
3444 and the prompt.
3445 * gdb.python/py-evsignal.exp: Likewise.
3446 * gdb.python/py-evthreads.exp: Likewise.
3447
77598427
PA
34482015-07-24 Pedro Alves <palves@redhat.com>
3449
3450 PR gdb/18717
3451 * gdb.threads/non-ldr-exit.c: New file.
3452 * gdb.threads/non-ldr-exit.exp: New file.
3453
11e6c98f
YQ
34542015-07-24 Yao Qi <yao.qi@linaro.org>
3455
3456 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3457 restarting process.
3458
51aee833
YQ
34592015-07-24 Yao Qi <yao.qi@linaro.org>
3460
3461 * gdb.server/ext-restart.exp: New file.
3462
8cfe207c
YQ
34632015-07-24 Yao Qi <yao.qi@linaro.org>
3464
3465 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3466 argument options.
3467 * gdb.server/ext-wrapper.exp: New file.
3468
cc12ce38
DE
34692015-07-23 Doug Evans <dje@google.com>
3470
3471 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3472 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3473
d0d84780
PMR
34742015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3475
3476 * gdb.ada/var_arr_typedef.exp: New testcase.
3477 * gdb.ada/var_arr_typedef/pack.adb: New file.
3478 * gdb.ada/var_arr_typedef/pack.ads: New file.
3479 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3480
8b558f79
JB
34812015-07-20 Joel Brobecker <brobecker@adacore.com>
3482
3483 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3484
775a3298
JK
34852015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3486
3487 * gdb.arch/i386-biarch-core.exp: Replace istarget
3488 by "complete set gnutarget". Remove expectation for the "core-file"
3489 command.
3490
db1ff28b
JK
34912015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3492
3493 Revert the previous commit:
3494 Tests for validate symbol file using build-id.
3495
0a94970d
JK
34962015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3497
3498 Tests for validate symbol file using build-id.
3499 * gdb.base/solib-mismatch-lib.c: New file.
3500 * gdb.base/solib-mismatch-libmod.c: New file.
3501 * gdb.base/solib-mismatch.c: New file.
3502 * gdb.base/solib-mismatch.exp: New file.
3503
03346981
SL
35042015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3505
3506 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3507 nios2-*-linux*.
3508 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3509 * gdb.base/siginfo.exp: Likewise.
3510 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3511
42422cc7
PL
35122015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3513
3514 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3515 Move it to ...
3516 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3517 ... here.
3518 * gdb.trace/range-stepping.exp: Check that the target supports
3519 range stepping.
3520
cfa68bae
JK
35212015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3522
3523 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3524
8ffdba26
PA
35252015-07-14 Pedro Alves <palves@redhat.com>
3526
3527 * gdb.base/killed-outside.exp: New file.
3528 * gdb.base/killed-outside.c: New file.
3529
218a5a11
JK
35302015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3531
3532 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3533 (n at main): New.
3534 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3535
e03ed3c6
AA
35362015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3537
3538 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3539 infcall tests instead of setting up for KFAIL.
3540
485668e5
MM
35412015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3542
3543 * gdb.btrace/record_goto-step.exp: New.
3544
08464196
JK
35452015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3546
3547 PR compile/18484
3548 * gdb.compile/compile.c (struct struct_type): Add volatile to
3549 selffield's type.
3550 * gdb.compile/compile.exp
3551 (compile code struct_object.selffield = &struct_object): Skip further
3552 struct_object tests if this one xfails.
3553
bcf5c1d9
RC
35542015-07-08 Robert O'Callahan <robert@ocallahan.org>
3555
3556 PR exp/18617
3557 * gdb.trace/ax.exp: Add test.
3558
4931af25
YQ
35592015-07-07 Yao Qi <yao.qi@linaro.org>
3560
3561 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3562 instead of istarget "aarch64*-*-*".
3563 * gdb.arch/aarch64-fp.exp: Likewise.
3564 * gdb.base/float.exp: Likewise.
3565 * gdb.reverse/aarch64.exp: Likewise.
3566 * lib/gdb.exp (is_aarch64_target): New proc.
3567
9fcf688e
YQ
35682015-07-07 Yao Qi <yao.qi@linaro.org>
3569
3570 * lib/gdb.exp (is_aarch32_target): New proc.
3571 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3572 instead of "istarget "arm*-*-*"".
3573 * gdb.arch/arm-disp-step.exp: Likewise.
3574 * gdb.arch/thumb-bx-pc.exp: Likewise.
3575 * gdb.arch/thumb-prologue.exp: Likewise.
3576 * gdb.arch/thumb-singlestep.exp: Likewise.
3577 * gdb.base/disp-step-syscall.exp: Likewise.
3578 * gdb.base/float.exp: Likewise.
3579
fbd8d50d
YQ
35802015-07-07 Yao Qi <yao.qi@linaro.org>
3581
3582 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3583 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3584
71be1fdc
YQ
35852015-07-07 Yao Qi <yao.qi@linaro.org>
3586
3587 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3588 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3589 if it exists.
3590 * gdb.multi/multi-arch.exp: Likewise.
3591
3e221d36
SM
35922015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3593
3594 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3595 print.
3596
d441430b
YQ
35972015-07-07 Yao Qi <yao.qi@linaro.org>
3598
3599 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3600
06f810bd
MG
36012015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3602
3603 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3604 '[' and ']' characters.
3605
5e61e7c0
IB
36062015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3607
3608 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3609
28bf096c
PA
36102015-06-29 Pedro Alves <palves@redhat.com>
3611
3612 PR threads/18127
3613 * gdb.threads/hand-call-new-thread.c: New file.
3614 * gdb.threads/hand-call-new-thread.c: New file.
3615
ee93cd5e
KS
36162015-06-26 Keith Seitz <keiths@redhat.com>
3617 Doug Evans <dje@google.com>
3618
3619 PR 16253
3620 * gdb.cp/var-tag-2.cc: New file.
3621 * gdb.cp/var-tag-3.cc: New file.
3622 * gdb.cp/var-tag-4.cc: New file.
3623 * gdb.cp/var-tag.cc: New file.
3624 * gdb.cp/var-tag.exp: New file.
3625
fc637f04
PP
36262015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3627
3628 * gdb.base/history-duplicates.exp: New test.
3629
2e52ae68
PP
36302015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3631
3632 * gdb.base/completion.exp: Test the completion of the "focus"
3633 command.
3634
6e22494e
JK
36352015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3636
3637 * gdb.arch/amd64-prologue-skip.S: New file.
3638 * gdb.arch/amd64-prologue-skip.exp: New file.
3639
bf7b9cd9
SM
36402015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3641
3642 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3643 is_address_zero_readable check.
3644
201e8dfd
PB
36452015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3646
3647 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3648 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3649
5cd867b4
YQ
36502015-06-24 Yao Qi <yao.qi@linaro.org>
3651
3652 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3653 linux targets.
3654
4d7be007
YQ
36552015-06-24 Yao Qi <yao.qi@linaro.org>
3656
3657 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3658 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3659 * gdb.base/siginfo-thread.exp: Likewise.
3660
07fcd301
YQ
36612015-06-22 Yao Qi <yao.qi@linaro.org>
3662
3663 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3664
52042a00
YQ
36652015-06-22 Yao Qi <yao.qi@linaro.org>
3666
3667 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3668 aarch64*-*-*.
3669 (skip_hw_watchpoint_tests): Likewise.
3670
74bd41ce
PP
36712015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3672
3673 * gdb.base/gdbinit-history.exp: Test the interaction between
3674 setting GDBHISTSIZE and setting the history size via .gdbinit.
3675
bc460514
PP
36762015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3677
3678 PR gdb/16999
3679 * gdb.base/gdbhistsize-history.exp: New test.
3680
b58c513b
PP
36812015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3682
3683 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3684 with GDBHISTSIZE.
3685 * gdb.base/readline.exp: Likewise.
3686
92046791
YQ
36872015-06-17 Yao Qi <yao.qi@linaro.org>
3688
3689 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3690 line.
3691
2093d2d3
PP
36922015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3693
3694 * gdb.base/gdbinit-history.exp: Add test case to check that
3695 an unlimited history file does not get truncated on exit.
3696
e6c693af
AA
36972015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3698
3699 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3700 (VECTOR): New macro. Use it...
3701 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3702 ...for these typedefs.
3703 (int8, char1, int1, double1): New typedefs.
3704 (struct just_int2, struct two_int2): New structures.
3705 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3706 (add_structvecs, add_singlevecs): New functions.
3707 (main): Call add_some_intvecs twice.
3708 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3709 the compile and exit upon failure. Try compiling for the "native"
3710 architecture. Test inferior function calls with vector arguments
3711 and vector return value handling with "finish" and "return".
3712
c74f7d1c
JT
37132015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3714
3715 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3716 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3717 PE file.
3718 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3719
98aa42ee
AT
37202015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3721
3722 PR breakpoints/16465
3723 * gdb.mi/mi-dprintf-pending.c: New file.
3724 * gdb.mi/mi-dprintf-pending.exp: New test.
3725 * gdb.mi/mi-dprintf-pendshr.c: New file.
3726
7d73c23c 37272015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 3728 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
3729
3730 * gdb.arch/i386-mpx-map.c: New file.
3731 * gdb.arch/i386-mpx-map.exp: New File.
3732
37332015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3734
3735 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3736 * gdb.arch/i386-mpx.exp: Indentation fixed.
3737
37382015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3739
3740 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3741 function and improved indentation.
3742 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3743 gdb_test_multiple. Added additional tests to skip the test.
3744
37452015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3746
3747 * gdb.arch/i386-avx512.c: Change path in include file.
3748 * gdb.arch/i386-avx512.exp: Change include dir path
3749 compilation flag.
3750 * gdb.arch/i386-mpx.c: Change path in include file.
3751 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3752 flag.
3753
d5eba19a
JK
37542015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3755
3756 * gdb.compile/compile-print.exp (compile print *vararray@3)
3757 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3758
7f361056
JK
37592015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3760
3761 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3762 (do not keep jit in memory): ... this.
3763 (expect 5): Change it to ...
3764 (expect no 5): ... this.
3765
3b462ec2
SM
37662015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3767
3768 PR gdb/15564
3769 * gdb.mi/mi-detach.exp: New file.
3770
e0619de6
JK
37712015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3772
3773 PR symtab/18392
3774 * gdb.arch/amd64-tailcall-self.S: New file.
3775 * gdb.arch/amd64-tailcall-self.c: New file.
3776 * gdb.arch/amd64-tailcall-self.exp: New file.
3777
e970cb34
DB
37782015-05-28 Don Breazeal <donb@codesourcery.com>
3779
3780 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3781 tests for remote targets by checking is_target_gdbserver.
3782
b2e2f908
DE
37832015-05-27 Doug Evans <dje@google.com>
3784
3785 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3786 * gdb.dwarf2/opaque-type-lookup.c: New file.
3787 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3788
82c7be31
DE
37892015-05-26 Doug Evans <dje@google.com>
3790
3791 * gdb.cp/iostream.cc: New file.
3792 * gdb.cp/iostream.exp: New file.
3793
b4f54984
DE
37942015-05-26 Doug Evans <dje@google.com>
3795
3796 * gdb.dwarf2/dw2-op-call.exp: Update.
3797 * gdb.dwarf2/dw4-sig-types.exp: Update.
3798 * gdb.dwarf2/implptr.exp: Update.
3799 * gdb.mi/mi-cmd-param-changed.exp: Update.
3800
4ea6efe9
DE
38012015-05-26 Doug Evans <dje@google.com>
3802
3803 * gdb.python/py-lazy-string.c: New file.
3804 * gdb.python/py-lazy-string.exp: New file.
3805 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3806 (main): Update. Add estring3.
3807 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3808 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3809
f6bb7db3
YQ
38102015-05-26 Omair Javaid <omair.javaid@linaro.org>
3811 Yao Qi <yao.qi@linaro.org>
3812
3813 * gdb.reverse/aarch64.c: New.
3814 * gdb.reverse/aarch64.exp: New.
3815
a81bfbd0
OJ
38162015-05-26 Omair Javaid <omair.javaid@linaro.org>
3817
25d49b86
PA
3818 * lib/gdb.exp (supports_process_record): Return true for
3819 aarch64*-linux*.
a81bfbd0
OJ
3820 (supports_reverse): Likewise.
3821
158bf1b4
PP
38222015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3823
3824 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3825 Use with_test_prefix.
3826
a0145030
AB
38272015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3828
3829 * gdb.base/completion.exp: Add test for completion of layout
3830 names.
3831
ebe3b578
AB
38322015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3833
3834 * lib/gdb.exp (skip_tui_tests): New proc.
3835 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3836
84204ed7
PA
38372015-05-19 Pedro Alves <palves@redhat.com>
3838
3839 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3840 Save the whole env array instead of just HOME. Unset HISTSIZE in
3841 the environment while testing. Restore whole environment
3842 afterwards.
3843
37442ce1
DE
38442015-05-16 Doug Evans <xdje42@gmail.com>
3845
3846 * gdb.guile/scm-ports.c: New file.
3847 * gdb.guile/scm-ports.exp: Add memory port tests.
3848
36de76f9
JK
38492015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3850
3851 * gdb.compile/compile-print.c: New file.
3852 * gdb.compile/compile-print.exp: New file.
3853
3a9558c4
JK
38542015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3855
3856 * gdb.compile/compile-ops.exp: Cast param to void.
3857 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3858 (compile code struct_object.selffield = &struct_object): Add xfail.
3859
aa715135
JG
38602015-05-15 Joel Brobecker <brobecker@adacore.com>
3861
3862 * gdb.ada/arr_enum_with_gap: New testcase.
3863
931e5bc3
JG
38642015-05-15 Joel Brobecker <brobecker@adacore.com>
3865
3866 * gdb.ada/byte_packed_arr: New testcase.
3867
9cd4d857
JB
38682015-05-15 Joel Brobecker <brobecker@adacore.com>
3869
3870 * gdb.ada/pckd_neg: New testcase.
3871
ebfd00d2
PP
38722015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3873
3874 PR gdb/17820
3875 * gdb.base/gdbinit-history.exp: New test.
3876 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3877 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3878
4c082a81
SC
38792015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3880
3881 * gdb.python/py-xmethods.cc: Enhance test case.
3882 * gdb.python/py-xmethods.exp: New tests.
3883 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3884 function.
3885 (B_indexoper): Likewise.
3886 (global_dm_list) : Add new xmethod worker functions.
3887
f7797074
SDJ
38882015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3889
3890 * gdb.base/coredump-filter.exp: Correctly unset
3891 "coredump_var_addr" array.
3892
a4674e4e
PA
38932015-05-08 Pedro Alves <palves@redhat.com>
3894
3895 * gdb.server/non-existing-program.exp: Unset spawn_id.
3896
df2eb078
SC
38972015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3898
3899 PR python/18291
3900 * gdb.python/py-xmethods.exp: Add tests.
3901
422349a3
YQ
39022015-05-08 Yao Qi <yao.qi@linaro.org>
3903
3904 PR gdb/18208
3905 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3906 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3907 function set_coredump_filter, and remove remote_exec call.
3908 Remove argument ipid. Callers update.
3909 (top level): Don't get inferior's PID.
3910
63fc80ce
AA
39112015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3912
3913 * gdb.base/watch_thread_num.exp: Skip test on targets without
3914 access watchpoints.
3915
80ad801e
PA
39162015-05-06 Pedro Alves <palves@redhat.com>
3917
3918 PR server/18081
3919 * gdb.server/non-existing-program.exp: New file.
3920
0fa7fe50
JB
39212015-05-05 Joel Brobecker <brobecker@adacore.com>
3922
3923 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3924
3ea89b92
PMR
39252015-05-05 Joel Brobecker <brobecker@adacore.com>
3926
3927 * gdb.ada/out_of_line_in_inlined: New testcase.
3928
87b8eff0
JB
39292015-05-05 Joel Brobecker <brobecker@adacore.com>
3930
3931 * gdb.ada/var_rec_arr: New testcase.
3932
5fccc635
YQ
39332015-04-30 Yao Qi <yao.qi@linaro.org>
3934
3935 * gdb.base/break-idempotent.exp: If
3936 skip_hw_watchpoint_multi_tests returns true, skip the tests
3937 on "rwatch" and "awatch".
3938
42d38f42
YQ
39392015-04-30 Yao Qi <yao.qi@linaro.org>
3940
3941 * gdb.base/relativedebug.exp: Invoke gdb command
3942 "info sharedlibrary", and if libc.so doesn't have debug info,
3943 skip the test.
3944
2ce1cdbf
DE
39452015-04-29 Doug Evans <dje@google.com>
3946
3947 * gdb.python/py-xmethods.exp: Add ptype tests.
3948 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3949 get_result_type method.
3950
f24a38c5
LM
39512015-04-29 Luis Machado <lgustavo@codesourcery.com>
3952
3953 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3954 the target does not support hardware watchpoints.
3955
ecbf2b3c
LM
39562015-04-29 Luis Machado <lgustavo@codesourcery.com>
3957
3958 * gdb.base/break-always.exp: Abort testing if writing to memory
3959 causes an error.
3960
34f5f757
DE
39612015-04-28 Doug Evans <dje@google.com>
3962
3963 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3964 * gdb.python/py-pp-registration.exp: ... here. New file.
3965 * gdb.python/py-pp-registration.c: New file.
3966 * gdb.python/py-pp-registration.py: New file.
3967
69b4374a
DE
39682015-04-28 Doug Evans <dje@google.com>
3969
3970 * gdb.python/py-bad-printers.c: New file.
3971 * gdb.python/py-bad-printers.py: New file.
3972 * gdb.python/py-bad-printers.exp: New file.
3973
59fb7612
SS
39742015-04-28 Sasha Smundak <asmundak@google.com>
3975
3976 * gdb.python/py-type.exp: New test.
3977
2631b16a
AW
39782015-04-28 Andy Wingo <wingo@igalia.com>
3979
3980 * gdb.python/py-parameter.exp:
3981 * gdb.guile/scm-parameter.exp: Escape the path that we are
3982 matching against, as it might contain characters that are special
3983 to regular expressions.
3984
460efde1
JB
39852015-04-27 Joel Brobecker <brobecker@adacore.com>
3986
3987 * gdb.ada/rec_comp: New testcase.
3988
2d369d8e
SDJ
39892015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3990
3991 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3992 before using it.
3993
cf75d6c3
AB
39942015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3995
3996 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3997 new tests for verilog output.
3998
8dbe7ca5
YQ
39992015-04-24 Yao Qi <yao.qi@linaro.org>
4000
4001 * boards/remote-gdbserver-on-localhost.exp: New file.
4002
4ef9fb2f
PA
40032015-04-23 Pedro Alves <palves@redhat.com>
4004
4005 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4006 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4007 "end of file", remove $inferior_spawn_id from the indirect list.
4008
0a803169
PA
40092015-04-23 Pedro Alves <palves@redhat.com>
4010
4011 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4012
749ef8f8
PA
40132015-04-23 Pedro Alves <palves@redhat.com>
4014
4015 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4016 on $any_spawn_id instead of only on $gdb_spawn_id.
4017
8aae4344
PM
40182015-04-21 Pierre Muller <muller@sourceware.org>
4019
4020 PR pascal/17815
4021 * lib/pascal.exp (gpc_compile): Add new option "class".
4022 (fpc_compile): Likewise.
4023 * gdb.pascal/case-insensitive-symbols.pas: New file.
4024 * gdb.pascal/case-insensitive-symbols.exp: New file.
4025
1586c8fb
GB
40262015-04-20 Gary Benson <gbenson@redhat.com>
4027
4028 * gdb.base/attach.exp: Fix three extended remote failures.
4029
1b6e6f5c
GB
40302015-04-17 Gary Benson <gbenson@redhat.com>
4031
4032 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4033 the main executable over the remote protocol.
4034
e797481d
PA
40352015-04-16 Pedro Alves <palves@redhat.com>
4036
4037 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4038 a new gdbserver if gdbserver_reconnect_p is set.
4039
1ca99c42
PA
40402015-04-16 Pedro Alves <palves@redhat.com>
4041
4042 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4043 is set, don't exit gdbserver.
4044
af9fd6f8
AA
40452015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4046
4047 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4048 appropriate .insn, such that an older assembler can be used.
4049 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4050 the z/Architecture instruction set on 31-bit targets as well.
4051
04ff1e61
AA
40522015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4053
4054 * gdb.go/handcall.exp: Remove all logic related to the first
4055 breakpoint and rely on go_runto_main instead.
4056 * gdb.go/strings.exp: Likewise.
4057 * gdb.go/unsafe.exp: Likewise.
4058 * gdb.go/hello.exp: Likewise. Also rename the remaining
4059 breakpoint marker to "breakpoint 1".
4060 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4061 * gdb.go/strings.go: Likewise.
4062 * gdb.go/unsafe.go: Likewise.
4063 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4064 "set breakpoint 2 here" and rename the remaining breakpoint marker
4065 to "breakpoint 1".
4066
40d2f8d6
SM
40672015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4068
4069 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4070 if itertools.imap is not present.
4071 * gdb.python/py-objfile.exp: Add parentheses.
4072 * gdb.python/py-type.exp: Same.
4073 * gdb.python/py-unwind-maint.py: Same.
4074
8cbc97c6
YQ
40752015-04-15 Yao Qi <yao.qi@linaro.org>
4076
4077 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4078 of ":$ptr_size" and set its form explicitly.
4079
45fd756c
YQ
40802015-04-15 Pedro Alves <palves@redhat.com>
4081 Yao Qi <yao.qi@linaro.org>
4082
4083 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4084 timeout by factor of 4.
4085 (test_regular_watch): Likewise.
4086 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4087 * gdb.reverse/sigall-reverse.exp: Likewise.
4088 * gdb.reverse/until-precsave.exp: Likewise.
4089 * lib/gdb.exp (with_timeout_factor): New proc.
4090 (gdb_expect): Move some code to ...
4091 (get_largest_timeout): ... here. New procedure.
4092
9e811bc3
LM
40932015-04-14 Luis Machado <lgustavo@codesourcery.com>
4094
4095 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4096
0ff6fcb2
LM
40972015-04-13 Luis Machado <lgustavo@codesourcery.com>
4098
4099 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4100 to write to the .text section.
4101
7578d5f7
LM
41022015-04-13 Luis Machado <lgustavo@codesourcery.com>
4103
4104 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4105 Handle the case of targets that do not provide PID information.
4106
2efe15c4
YQ
41072015-04-13 Yao Qi <yao.qi@linaro.org>
4108
4109 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4110 and use expect instead of gdb_expect.
4111
8cd8f2f8
SDJ
41122015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4113
4114 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4115 "coredump_var_addr" to avoid naming conflict with other testcases.
4116
9ee41772
PA
41172015-04-10 Pedro Alves <palves@redhat.com>
4118
4119 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4120 gdb_test_sequence and gdb_assert.
4121
07473109
PA
41222015-04-10 Pedro Alves <palves@redhat.com>
4123
4124 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4125 test messages that don't include the breakpoint address.
4126
de3db44c
YQ
41272015-04-10 Yao Qi <yao.qi@linaro.org>
4128
4129 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4130 false for some offset and width combinations which aren't
4131 supported by linux kernel.
4132
c79d856c
PA
41332015-04-10 Pedro Alves <palves@redhat.com>
4134
4135 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4136 procedure, factored out from ...
4137 (top level): ... here. Add "set displaced-stepping" testing axis.
4138 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4139 parameter "displaced". Use it.
4140 (top level): Use foreach and add "set displaced-stepping" testing
4141 axis.
4142
ebc90b50
PA
41432015-04-10 Pedro Alves <palves@redhat.com>
4144
4145 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4146 Remove comment.
4147 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4148 both the address of the instruction that triggers the watchpoint
4149 and the address of the instruction immediately after, and use
4150 those addresses for the test. Fix comment.
4151
8f572e5c
PA
41522015-04-10 Pedro Alves <palves@redhat.com>
4153
4154 * gdb.base/sigstep.exp (breakpoint_to_handler)
4155 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4156 Test "backtrace" in handler.
4157 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4158 (top level): Add new "displaced" test axis to
4159 breakpoint_to_handler, breakpoint_to_handler_entry and
4160 breakpoint_over_handler.
4161
8d707a12
PA
41622015-04-10 Pedro Alves <palves@redhat.com>
4163
4164 PR gdb/18216
4165 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4166
ef713951
YQ
41672015-04-10 Yao Qi <yao.qi@linaro.org>
4168
4169 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4170 (test_add_rn_pc): New function.
4171 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4172 (top level): Invoke test_add_rn_pc.
4173
906d60cf
PA
41742015-04-10 Pedro Alves <palves@redhat.com>
4175
4176 PR gdb/13858
4177 * gdb.base/step-over-no-symbols.exp: New file.
4178
f2983cc3
AW
41792015-04-09 Andy Wingo <wingo@igalia.com>
4180
4181 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4182 after the Python tests.
4183
6d62641c
SDJ
41842015-04-08 Keith Seitz <keiths@redhat.com>
4185
4186 PR python/16699
4187 * gdb.python/py-completion.exp: New tests for completion.
4188 * gdb.python/py-completion.py (CompleteLimit1): New class.
4189 (CompleteLimit2): Likewise.
4190 (CompleteLimit3): Likewise.
4191 (CompleteLimit4): Likewise.
4192 (CompleteLimit5): Likewise.
4193 (CompleteLimit6): Likewise.
4194 (CompleteLimit7): Likewise.
4195
f3770638
PA
41962015-04-08 Pedro Alves <palves@redhat.com>
4197
4198 PR gdb/18214
4199 PR gdb/18216
4200 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4201 function.
4202 (main): Install it as SIGUSR1 handler.
4203 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4204 parameter. Always use "setup" as prefix. Toggle "set
4205 displaced-stepping" off/on depending on global. Don't switch to
4206 thread 1 here.
4207 (top level): Add displaced stepping "off/on" test axis. Update
4208 "setup" calls. Wrap each subtest with with_test_prefix. Test
4209 continuing with a queued signal in each thread.
4210
4496bed7
PA
42112015-04-08 Pedro Alves <palves@redhat.com>
4212
4213 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4214 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4215 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4216 Return early if running to main fails.
4217 * gdb.trace/while-stepping.exp: Likewise.
4218
b97fde92
PA
42192015-04-07 Pedro Alves <palves@redhat.com>
4220
4221 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4222 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4223 interact with inferior program.
4224
f71c18e7
PA
42252015-04-07 Pedro Alves <palves@redhat.com>
4226
4227 * lib/gdb.exp (inferior_spawn_id): New global.
4228 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4229 spawn id after processing the user code.
4230 (default_gdb_start): Set inferior_spawn_id.
4231 (send_inferior): New procedure.
4232 * lib/gdbserver-support.exp (gdbserver_start): Set
4233 inferior_spawn_id.
4234 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4235
6423214f
PA
42362015-04-07 Pedro Alves <palves@redhat.com>
4237
4238 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4239 * lib/gdbserver-support.exp (gdbserver_start): Make
4240 $server_spawn_id global.
4241 (gdbserver_start): Don't wait for gdbserver's spawn id with
4242 expect_background.
4243 (close_gdbserver): New procedure.
4244 (gdb_exit): Rename the default version and reimplement.
4245
71c0ee8c
PA
42462015-04-07 Pedro Alves <palves@redhat.com>
4247
72f4393d 4248 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
4249 append the substituted item, not the original item.
4250
203bc29b
PA
42512015-04-07 Pedro Alves <palves@redhat.com>
4252
4253 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4254 gdb_expect.
4255
508a3ddf
PA
42562015-04-07 Pedro Alves <palves@redhat.com>
4257
4258 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4259 output appearing once only.
4260
9f6dbe2b
PA
42612015-04-07 Pedro Alves <palves@redhat.com>
4262
4263 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4264 that doesn't expect anything. Return early if running to main
4265 fails.
4266
337532fa
YQ
42672015-04-07 Yao Qi <yao.qi@linaro.org>
4268
4269 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4270 (child_function): Call alarm.
4271 (main): Move call to alarm into the loop.
4272 * gdb.threads/non-stop-fair-events.exp: Build program with
4273 -DTIMEOUT=$timeout.
4274
01b622d4
DE
42752015-04-06 Doug Evans <xdje42@gmail.com>
4276
4277 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4278 Fix dest parameter to board_info.
4279 (fpc_compile): Ditto.
4280 (gdb_compile_pascal): Rename dest arg to destfile.
4281
961f4160
PMR
42822015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4283
4284 * gdb.ada/funcall_ref.exp: New file.
4285 * gdb.ada/funcall_ref/foo.adb: New file.
4286
cafda597
YQ
42872015-04-02 Yao Qi <yao.qi@linaro.org>
4288
4289 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4290 is remote.
4291
fed040c6
GB
42922015-04-02 Gary Benson <gbenson@redhat.com>
4293
4294 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4295
d11916aa
SS
42962015-04-01 Sasha Smundak <asmundak@google.com>
4297
4298 * gdb.python/py-unwind-maint.c: New file.
4299 * gdb.python/py-unwind-maint.exp: New test.
4300 * gdb.python/py-unwind-maint.py: New file.
4301 * gdb.python/py-unwind.c: New file.
4302 * gdb.python/py-unwind.exp: New test.
4303 * gdb.python/py-unwind.py: New test.
4304
a1471180
PA
43052015-04-01 Pedro Alves <palves@redhat.com>
4306
4307 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4308 to fail instead of non-existent $test.
4309
0bbeccb1
PA
43102015-04-01 Pedro Alves <palves@redhat.com>
4311
4312 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4313 GDBFLAGS if not empty.
4314
3c724c8c
PMR
43152015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4316
4317 * gdb.ada/complete.exp: Remove "multi_line".
4318 * gdb.ada/info_exc.exp: Remove "multi_line".
4319 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4320 * gdb.ada/ptype_field.exp: Remove "multi_line".
4321 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4322 * gdb.ada/tagged.exp: Remove "multi_line".
4323 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4324 [multi_line ...]
4325 * gdb.btrace/delta.exp: Likewise.
4326 * gdb.btrace/exception.exp: Likewise.
4327 * gdb.btrace/function_call_history.exp: Likewise.
4328 * gdb.btrace/instruction_history.exp: Likewise.
4329 * gdb.btrace/nohist.exp: Likewise.
4330 * gdb.btrace/record_goto.exp: Likewise.
4331 * gdb.btrace/segv.exp: Likewise.
4332 * gdb.btrace/stepi.exp: Likewise.
4333 * gdb.btrace/tailcall.exp: Likewise.
4334 * gdb.btrace/unknown_functions.exp: Likewise.
4335 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4336 * lib/gdb.exp: Add the "multi_line" helper.
4337
4eec2deb
PA
43382015-04-01 Pedro Alves <palves@redhat.com>
4339
4340 * gdb.threads/tid-reuse.c: New file.
4341 * gdb.threads/tid-reuse.exp: New file.
4342
df8411da
SDJ
43432015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4344
4345 PR corefiles/16092
4346 * gdb.base/coredump-filter.c: New file.
4347 * gdb.base/coredump-filter.exp: Likewise.
4348
6ef37366
PM
43492015-03-27 Petr Machata <pmachata@redhat.com>
4350
4351 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4352 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4353 (Dwarf::assemble): Initialize them.
4354 (Dwarf::lines): New function.
4355
7ec911b0
JT
43562015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4357
4358 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4359 SYMBOL_PREFIX for x86_64-*-cygwin.
4360
ff908ebf
AW
43612015-03-26 Andy Wingo <wingo@igalia.com>
4362
4363 PR symtab/18148
4364 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4365 const_value but not a location.
4366 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4367 location defined in non-main CUs are visible.
4368
6d5f0679
YQ
43692015-03-26 Yao Qi <yao.qi@linaro.org>
4370
4371 PR testsuite/18139
4372 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4373 Add a line number entry for the same line.
4374 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4375 Add a line number entry for the same line.
4376
2898689b
YQ
43772015-03-26 Yao Qi <yao.qi@linaro.org>
4378
4379 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4380 .int 0.
4381 (func): Likewise. Add .Lfunc_1 label.
4382 Use .Lfunc_1 label.
4383 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4384 .int 0.
4385 (func): Likewise.
4386 Use .Lfunc_1 label.
4387
85180498
YQ
43882015-03-26 Yao Qi <yao.qi@linaro.org>
4389
4390 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4391 Call gdb_compile instead to compile each .s files without debug
4392 information.
4393
8aa08a8d
YQ
43942015-03-26 Yao Qi <yao.qi@linaro.org>
4395
4396 * gdb.base/savedregs.exp (process_saved_regs): Make
4397 "Saved registers:" optional in the pattern.
4398
66849923
MM
43992015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4400
4401 * gdb.btrace/next.exp: Merged into step.exp.
4402 * gdb.btrace/finish.exp: Merged into step.exp.
4403 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4404 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4405 "record goto" and checking the exact replay position.
4406 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4407 check for "Recording format" in "info record" output.
4408 * gdb.btrace/record_goto.exp: Choose test file based on target.
4409 * gdb.btrace/x86-record_goto.S: Renamed into ...
4410 * gdb.btrace/x86_64-record_goto.S: ... this.
4411 * gdb.btrace/i686-record_goto.S: New.
4412 * gdb.btrace/x86-tailcall.S: Renamed into ...
4413 * gdb.btrace/x86_64-tailcall.S: ... this.
4414 * gdb.btrace/i686-tailcall.S: New.
4415 * gdb.btrace/x86-tailcall.c: Renamed into ...
4416 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4417 separate statements. Update test.
4418 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4419 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4420 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4421 * gdb.btrace/tailcall.exp: Choose test file based on target.
4422 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4423
11cc1b74
MM
44242015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4425
4426 * gdb.btrace/exception.exp: Increase BTS buffer size.
4427
a25d8bf9
PA
44282015-03-24 Pedro Alves <palves@redhat.com>
4429
4430 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4431
856e7dd6
PA
44322015-03-24 Pedro Alves <palves@redhat.com>
4433
4434 * gdb.threads/schedlock.exp (test_step): No longer expect that
4435 "set scheduler-locking step" with "next" over a function call runs
4436 threads unlocked.
4437
ad235a41
AT
44382015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4439
4440 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4441
15630549
AT
44422015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4443
4444 PR breakpoints/16466
4445 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4446 * gdb.mi/mi-pending.c (thread_func): New function.
4447 (int main): Add threading support required.
4448 * gdb.mi/mi-pending.exp: Add tests for this issue.
4449 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4450 (pendfunc2): Remove stdio dependency.
4451 * gdb.mi/mi-pendshr2.c: New file.
4452
693dca06
KS
44532015-03-23 Keith Seitz <keiths@redhat.com>
4454
4455 * gdb.linespec/keywords.c: New file.
4456 * gdb.linespec/keywords.exp: New file.
4457
7e993ebf
KS
44582015-03-23 Keith Seitz <keiths@redhat.com>
4459
4460 PR gdb/18021
4461 * gdb.dwarf2/staticvirtual.exp: New test.
4462
bc23328c
JK
44632015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4464
4465 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4466 * README: Remove HP-UX and gdb.hp.
4467 (configuration):
4468 * configure: Regenerate.
4469 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4470 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4471 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4472 gdb.hp/gdb.defects/Makefile.
4473 * gdb.hp/Makefile.in: File deleted.
4474 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4475 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4476 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4477 * gdb.hp/gdb.aCC/run.c: File deleted.
4478 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4479 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4480 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4481 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4482 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4483 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4484 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4485 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4486 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4487 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4488 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4489 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4490 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4491 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4492 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4493 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4494 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4495 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4496 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4497 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4498 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4499 * gdb.hp/gdb.compat/average.c: File deleted.
4500 * gdb.hp/gdb.compat/sum.c: File deleted.
4501 * gdb.hp/gdb.compat/xdb.c: File deleted.
4502 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4503 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4504 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4505 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4506 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4507 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4508 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4509 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4510 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4511 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4512 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4513 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4514 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4515 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4516 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4517 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4518 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4519 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4520 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4521 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4522 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4523 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4524 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4525 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4526 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4527 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4528 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4529 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4530 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4531 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4532 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4533 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4534 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4535 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4536 * gdb.hp/tools/odump: File deleted.
4537
8bf3b159
PA
45382015-03-19 Pedro Alves <palves@redhat.com>
4539
4540 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4541 (saw_thread_3): New globals.
4542 (top level): Increment them when an event for the corresponding
4543 thread is seen.
4544 (no thread starvation): New test.
4545
eb54c8bf
PA
45462015-03-19 Pedro Alves <palves@redhat.com>
4547
4548 * gdb.threads/continue-pending-status.c: New file.
4549 * gdb.threads/continue-pending-status.exp: New file.
4550
32d2e5d6
PA
45512015-03-18 Pedro Alves <palves@redhat.com>
4552
4553 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4554 Use gdb_is_target_remote instead of is_remote. Use
4555 gdb_test_multiple instead of gdb_expect. Exit early if
4556 gdb_test_multiple hits its internal matches. Tighten stepi tests
4557 expected output. Fail on exit with any signal, instead of just
4558 SIGILL.
4559
f68f11b7
YQ
45602015-03-18 Yao Qi <yao.qi@linaro.org>
4561
4562 PR tdep/18107
4563 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4564 variable.
4565 * gdb.base/catch-syscall.exp: Don't skip it on
4566 aarch64*-*-linux* target. Remove elements in all_syscalls.
4567 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4568 target.
4569 (setup_all_syscalls): New proc.
4570
ca5fd19b
YQ
45712015-03-16 Yao Qi <yao.qi@linaro.org>
4572
4573 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4574 (top level): Skip tests if valid_addr_p returns false for
4575 $cmd1 or $cmd2.
4576
85642ba0
AW
45772015-03-11 Andy Wingo <wingo@igalia.com>
4578
4579 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4580
e03f9645
YQ
45812015-03-11 Yao Qi <yao.qi@linaro.org>
4582
4583 * gdb.base/catch-syscall.exp: Fix typo in comments.
4584
5d0962b2
YQ
45852015-03-11 Yao Qi <yao.qi@linaro.org>
4586
4587 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4588
b2df3cef
PA
45892015-03-09 Pedro Alves <palves@redhat.com>
4590
4591 * dg-extract-results.py: Delete.
4592
ef878e53
PA
45932015-03-09 Pedro Alves <palves@redhat.com>
4594
4595 Merge dg-extract-results.sh from GCC upstream (r218843).
4596
4597 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4598 * dg-extract-results.sh: Use --text with grep to avoid issues with
4599 binary files. Fall back to cat -v, if that doesn't work.
4600
9494d219
PA
46012015-03-05 Pedro Alves <palves@redhat.com>
4602
4603 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4604
a8d9763a
SM
46052015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4606
4607 * lib/mi-support.exp (mi_expect_interrupt): Accept
4608 alternative event for when in all-stop mode.
4609
be9957b8
PA
46102015-03-04 Pedro Alves <palves@redhat.com>
4611
4612 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4613
d57be0f4 46142015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
4615
4616 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4617
c214c7cf
AA
46182015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4619
4620 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4621 regexps for GDB's current line display, accept a hex address
4622 preceding the line number.
4623
6d74a497
AA
46242015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4625
4626 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4627 the 'arch1' variable for "s390*-linux*" targets.
4628
511aee7c
PA
46292015-03-04 Pedro Alves <palves@redhat.com>
4630
4631 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4632 (main): Pass missing retval argument to pthread_join call.
4633
95e50b27
PA
46342015-03-02 Pedro Alves <palves@redhat.com>
4635
4636 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4637 (top level): Call do_test with non-stop as well.
4638
28054d69
PA
46392015-03-02 Pedro Alves <palves@redhat.com>
4640
4641 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4642 -1.
4643
4fa5d7b4
AA
46442015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4645
4646 * gdb.arch/s390-vregs.exp: New test.
4647 * gdb.arch/s390-vregs.S: New file.
4648
97c18565
PA
46492015-02-27 Pedro Alves <palves@redhat.com>
4650
4651 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4652 call to catch_command_errors.
4653 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4654 catch_command_errors.
4655
a37bfa30
PA
46562015-02-27 Pedro Alves <palves@redhat.com>
4657
4658 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4659 "true" for boolean result.
4660 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4661 prototype of main.
4662
6f98576f
PA
46632015-02-27 Pedro Alves <palves@redhat.com>
4664
4665 * lib/unbuffer_output.c: New file.
4666 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4667 (main): Call gdb_unbuffer_output.
4668
eba5ab56
YQ
46692015-02-27 Yao Qi <yao.qi@linaro.org>
4670
4671 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4672 target.
4673
0def5aaa
DE
46742015-02-26 Doug Evans <dje@google.com>
4675
4676 * gdb.cp/class2.cc (Dbase, D): New classes.
4677 (main): New local delta.
4678 * gdb.cp/class2.exp: Test printing delta.
4679 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4680 (dynbar): New global.
4681 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4682
081a1c2c
JK
46832015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4684
4685 * gdb.compile/compile-ifunc.c: New file.
4686 * gdb.compile/compile-ifunc.exp: New file.
4687
2f41223f
AT
46882015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4689
4690 * gdb.base/structs.exp: Check for correct struct on finish.
4691
03eddd80
YQ
46922015-02-26 Yao Qi <yao.qi@linaro.org>
4693
4694 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4695 is zero.
4696
80c57053
JK
46972015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4698
4699 * gdb.arch/cordic.ko.bz2: New file.
4700 * gdb.arch/cordic.ko.debug.bz2: New file.
4701 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4702
21613c12
YQ
47032015-02-25 Yao Qi <yao.qi@linaro.org>
4704
4705 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4706 aarch64*-*-* target.
4707
d8b901ed
PA
47082015-02-23 Pedro Alves <palves@redhat.com>
4709
4710 * lib/gdb.exp (delete_breakpoints): Rewrite using
4711 gdb_test_multiple.
4712
e5b85ead
PA
47132015-02-23 Pedro Alves <palves@redhat.com>
4714
4715 * gdb.base/info-os.c: Include stdlib.h.
4716
85c3a371
DE
47172015-02-22 Doug Evans <xdje42@gmail.com>
4718
4719 PR symtab/17855
4720 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4721 is read after symbols have been re-read.
4722 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4723 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4724
96553a0c
DE
47252015-02-21 Doug Evans <dje@google.com>
4726
4727 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4728
97a0c697
JK
47292015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4730
4731 PR corefiles/17808
4732 * gdb.arch/i386-biarch-core.core.bz2: New file.
4733 * gdb.arch/i386-biarch-core.exp: New file.
4734
a47cd6e9
PA
47352015-02-21 Pedro Alves <palves@redhat.com>
4736
4737 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4738 runto_main fails.
4739
c5facdc4
PA
47402015-02-20 Pedro Alves <palves@redhat.com>
4741
4742 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4743 info probes.
4744
2db9a427
PA
47452015-02-20 Pedro Alves <palves@redhat.com>
4746
4747 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4748
60fb7e9e
PA
47492015-02-20 Pedro Alves <palves@redhat.com>
4750
4751 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4752 clean_restart before gdb_target_supports_trace.
4753
5c5019c2
PA
47542015-02-20 Pedro Alves <palves@redhat.com>
4755
4756 PR threads/18006
4757 * gdb.threads/clone-thread_db.c: New file.
4758 * gdb.threads/clone-thread_db.exp: New file.
4759
c9587f88
AT
47602015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4761
4762 PR breakpoints/16812
4763 * gdb.base/catch-gdb-caused-signals.c: New file.
4764 * gdb.base/catch-gdb-caused-signals.exp: New file.
4765
f6a88844
JM
47662015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4767
4768 * configure: Regenerated.
4769 * configure.ac: Use GDB_AC_TRANSFORM.
4770 * aclocal.m4: sinclude ../transform.m4.
4771
497c491b
JM
47722015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4773
4774 * lib/dtrace.exp: New file.
4775 * gdb.base/dtrace-probe.exp: Likewise.
4776 * gdb.base/dtrace-probe.d: Likewise.
4777 * gdb.base/dtrace-probe.c: Likewise.
4778 * lib/pdtrace.in: Likewise.
4779 * configure.ac: Output variables with the transformed names of
4780 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4781 * configure: Regenerated.
4782
03e98035
JM
47832015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4784
4785 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4786 expected message when trying to access $_probe_* convenience
4787 variables while not on a probe.
4788
63cc30e9
JK
47892015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4790
4791 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4792
0703599a
PA
47932015-02-11 Pedro Alves <pedro@codesourcery.com>
4794
4795 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4796 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4797
7e60a48e
DE
47982015-02-10 Doug Evans <xdje42@gmail.com>
4799
4800 * lib/gdb.exp (gdb_load): Always return a result.
4801
01b088bc
PA
48022015-02-10 Pedro Alves <palves@redhat.com>
4803
4804 * gdb.threads/signal-sigtrap.c: New file.
4805 * gdb.threads/signal-sigtrap.exp: New file.
4806
b05ec7a5
AT
48072015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4808
4809 * gdb.trace/no-attach-trace.c: New file.
4810 * gdb.trace/no-attach-trace.exp: New file.
4811
a2c2acaf
MW
48122015-02-09 Mark Wielaard <mjw@redhat.com>
4813
4814 * gdb.dwarf2/atomic.c: New file.
4815 * gdb.dwarf2/atomic-type.exp: Likewise.
4816
31fd9caa
MM
48172015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4818
4819 * gdb.btrace/buffer-size.exp: Update "info record" output.
4820 * gdb.btrace/delta.exp: Update "info record" output.
4821 * gdb.btrace/enable.exp: Update "info record" output.
4822 * gdb.btrace/finish.exp: Update "info record" output.
4823 * gdb.btrace/instruction_history.exp: Update "info record" output.
4824 * gdb.btrace/next.exp: Update "info record" output.
4825 * gdb.btrace/nexti.exp: Update "info record" output.
4826 * gdb.btrace/step.exp: Update "info record" output.
4827 * gdb.btrace/stepi.exp: Update "info record" output.
4828 * gdb.btrace/nohist.exp: Update "info record" output.
4829
d33501a5
MM
48302015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4831
4832 * gdb.btrace/buffer-size: New.
4833
f4abbc16
MM
48342015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4835
4836 * gdb.btrace/delta.exp: Update "info record" output.
4837 * gdb.btrace/enable.exp: Update "info record" output.
4838 * gdb.btrace/finish.exp: Update "info record" output.
4839 * gdb.btrace/instruction_history.exp: Update "info record" output.
4840 * gdb.btrace/next.exp: Update "info record" output.
4841 * gdb.btrace/nexti.exp: Update "info record" output.
4842 * gdb.btrace/step.exp: Update "info record" output.
4843 * gdb.btrace/stepi.exp: Update "info record" output.
4844 * gdb.btrace/nohist.exp: Update "info record" output.
4845
b9d61307
SM
48462015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4847
4848 PR gdb/15678
4849 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4850
e584fdbc
PA
48512015-02-06 Pedro Alves <palves@redhat.com>
4852
4853 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4854 macro.
4855 (seconds_left, again): New globals.
4856 (main): Wait seconds_left in a 1-second sleep loop instead of
4857 sleeping 180 seconds. If 'again' is set, reset the seconds
4858 counter.
4859 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4860 'again' in the inferior before detaching. Print the seconds left.
4861 (options): New global.
4862 (top level): Build program with -DTIMEOUT=$timeout.
4863
77f41761
PA
48642015-02-06 Pedro Alves <palves@redhat.com>
4865
4866 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4867 determine how many seconds to pass to 'alarm'.
4868 * gdb.base/gdb-sigterm.exp (top level): Build program with
4869 -DTIMEOUT=$timeout.
4870 (do_test): Return success/failure indication. Add more verbose
4871 logging. Don't fail if 200 single steps are seen. Instead, fail
4872 when the test times out.
4873 (passes): New global.
4874 (top level): Break the testing loop if testing fails on any
4875 iteration. Use gdb_assert.
4876
b9394193
DB
48772015-02-04 Don Breazeal <donb@codesourcery.com>
4878
4879 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4880 and initialize them.
4881 (ipc_cleanup): New function.
4882 (main): Don't declare shmid, semid, and msqid. Add a call to
4883 atexit so that we call ipc_cleanup on exit.
4884
42d9e528
PA
48852015-02-04 Pedro Alves <palves@redhat.com>
4886
4887 * boards/native-extended-gdbserver.exp: Remove any target variant
4888 specifications from the board name before clearing the isremote
4889 flag from board_info.
4890
ae6ae975
DE
48912015-01-31 Doug Evans <xdje42@gmail.com>
4892
4893 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4894
cfb069a8
GB
48952015-01-31 Gary Benson <gbenson@redhat.com>
4896
4897 * gdb.base/completion.exp: Disable completion limiting for
4898 existing tests. Add new tests to check completion limiting.
4899 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4900
5dd31d79
DE
49012015-01-31 Doug Evans <xdje42@gmail.com>
4902
4903 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4904
9f050062
DE
49052015-01-31 Doug Evans <xdje42@gmail.com>
4906
4907 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4908 entries. Duplicate file section script entries.
4909 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4910 inlined entries. Add test for safe-path rejection.
4911 * gdb.python/py-section-script.c: Add duplicate inlined section script
4912 entries. Duplicate file section script entries.
4913 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4914 inlined entries. Add test for safe-path rejection.
4915
df25ebbd
JB
49162015-01-29 Joel Brobecker <brobecker@adacore.com>
4917
4918 * gdb.ada/disc_arr_bound: New testcase.
4919
4a0ca9ec
JB
49202015-01-29 Joel Brobecker <brobecker@adacore.com>
4921
4922 * gdb.ada/mi_var_array: New testcase.
4923
3a8b707a
DE
49242015-01-27 Doug Evans <dje@google.com>
4925
4926 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4927 Add test for objfile.filename, objfile.username after objfile
4928 has been unloaded.
4929
f8313f6e
JB
49302015-01-26 Joel Brobecker <brobecker@adacore.com>
4931
4932 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4933 the second test to print the name attribute of value
4934 returned by the call to gdb.lookup_type, and adjust
4935 the expected output accordingly.
4936
37bc665e
MW
49372015-01-25 Mark Wielaard <mjw@redhat.com>
4938
4939 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4940 * gdb.base/disp-step-fork.c: Include unistd.h.
4941 * gdb.base/siginfo-obj.c: Include stdio.h.
4942 * gdb.base/siginfo-thread.c: Likewise.
4943 * gdb.mi/non-stop.c: Include unistd.h.
4944 * gdb.mi/nsthrexec.c: Include stdio.h.
4945 * gdb.mi/pthreads.c: Include unistd.h.
4946 * gdb.modula2/unbounded1.c (main): Declare returns int.
4947 * gdb.reverse/consecutive-reverse.c: Likewise.
4948 * gdb.threads/create-fail.c: Include unistd.h.
4949 * gdb.threads/killed.c: Likewise.
4950 * gdb.threads/linux-dp.c: Likewise.
4951 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4952 * gdb.threads/non-ldr-exc-2.c: Likewise.
4953 * gdb.threads/non-ldr-exc-3.c: Likewise.
4954 * gdb.threads/non-ldr-exc-4.c: Likewise.
4955 * gdb.threads/pthreads.c: Include unistd.h.
4956 (main): Declare returns int.
4957 * gdb.threads/tls-main.c (foo): New declaration.
4958 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4959
f7e5394d
SM
49602015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4961
4962 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4963 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4964
743649fd
MW
49652015-01-15 Mark Wielaard <mjw@redhat.com>
4966
4967 * gdb.base/noreturn-return.c: New file.
4968 * gdb.base/noreturn-return.exp: New file.
4969 * gdb.base/noreturn-finish.c: New file.
4970 * gdb.base/noreturn-finish.exp: New file.
4971
198297aa
PA
49722015-01-23 Pedro Alves <palves@redhat.com>
4973
4974 * gdb.threads/continue-pending-after-query.c: New file.
4975 * gdb.threads/continue-pending-after-query.exp: New file.
4976
717cf30c
AG
49772015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4978 Simon Marchi <simon.marchi@ericsson.com>
4979
4980 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4981 * gdb.base/valgrind-db-attach.exp: Same.
4982 * gdb.base/valgrind-infcall.exp: Same.
4983 * lib/mi-support.exp (default_mi_gdb_start): Same.
4984 * lib/prompt.exp (default_prompt_gdb_start): Same.
4985 * lib/gdb.exp (default_gdb_spawn): Same.
4986 (gdb_interact): New.
4987
4988
4b62a76e
JK
49892015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4990
4991 * gdb.compile/compile.exp (pointer to jit function): New test.
4992
b4cdae6f
WW
49932015-01-17 Wei-cheng Wang <cole945@gmail.com>
4994
4995 * lib/gdb.exp (supports_process_record): Return true for
4996 powerpc*-*-linux*.
4997 (supports_reverse): Likewise.
4998
d221e7ef
DB
49992015-01-15 Don Breazeal <donb@codesourcery.com>
5000
5001 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5002 instead of checking whether the target board is remote and
5003 use spawn_wait_for_attach instead of exec/sleep.
5004 * gdb.base/attach-twice.exp: Likewise.
5005
bafffb51
JB
50062015-01-15 Joel Brobecker <brobecker@adacore.com>
5007
5008 * gdb.ada/var_arr_attrs: New testcase.
5009
5589af0e
PA
50102015-01-14 Pedro Alves <palves@redhat.com>
5011 Joel Brobecker <brobecker@adacore.com>
5012
5013 PR gdb/17525
5014 * gdb.base/bp-cmds-execution-x-script.c: New file.
5015 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5016 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5017
6c400b59
PA
50182015-01-14 Pedro Alves <palves@redhat.com>
5019
5020 PR cli/17828
5021 * gdb.base/batch-preserve-term-settings.c: New file.
5022 * gdb.base/batch-preserve-term-settings.exp: New file.
5023
e02c96a7
DE
50242015-01-13 Doug Evans <dje@google.com>
5025
5026 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5027 binary.
5028
576fd14c
JB
50292015-01-13 Joel Brobecker <brobecker@adacore.com>
5030
5031 * Makefile.in (clean mostlyclean): Do not delete *.py.
5032
04dccad0
JB
50332015-01-13 Joel Brobecker <brobecker@adacore.com>
5034
5035 * gdb.python/py-lookup-type.exp: New file.
5036
3d230f71
PA
50372015-01-12 Pedro Alves <palves@redhat.com>
5038
5039 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5040 restore GDBFLAGS before returning.
5041
7e67715d
JK
50422015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5043
5044 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5045 is_amd64_regs_target and is_x86_like_target.
5046
f2e0d4b4
DE
50472015-01-11 Doug Evans <xdje42@gmail.com>
5048
5049 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5050 is given without an explicit form.
5051 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5052 attributes.
5053 * gdb.dwarf/corrupt.exp: Ditto.
5054 * gdb.dwarf2/enum-type.exp: Ditto.
5055 * gdb.trace/entry-values.exp: Ditto.
5056 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5057
439250fb
DE
50582015-01-11 Doug Evans <xdje42@gmail.com>
5059
5060 PR gdb/15830
5061 * gdb.base/maint.exp: Remove references to "maint demangle".
5062 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5063 Add tests for explicitly specifying language to demangle.
5064 * gdb.dlang/demangle.exp: Ditto.
5065
ede9f622
PA
50662015-01-09 Pedro Alves <palves@redhat.com>
5067
5068 * gdb.threads/non-stop-fair-events.c: New file.
5069 * gdb.threads/non-stop-fair-events.exp: New file.
5070
a7b796db
PA
50712015-01-09 Pedro Alves <palves@redhat.com>
5072
5073 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5074 the global scope. Set a breakpoint after all threads are started
5075 rather than stepping over two source lines. Expect the prompt.
5076 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5077 global.
5078 (NUM): Now 15.
5079 (main): Use threads_started_barrier to wait for all threads to
5080 start. Main thread no longer calls thread_function. Exit after
5081 180 seconds.
5082 (loop): New function.
5083 (thread_function): Wait on threads_started_barrier barrier. Call
5084 'loop' at each iteration.
5085 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5086 threads have started, instead of hardcoding number of "next"
5087 steps. Use an access watchpoint instead of a write watchpoint.
5088
9665ffdd
PA
50892015-01-09 Pedro Alves <palves@redhat.com>
5090
5091 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5092 (thread_func): Wait on barrier.
5093 (main): Wait for all threads to start before stopping GDB.
5094 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5095 global.
5096 (thread1_func, thread2_func): Wait on barrier.
5097 (main): Wait for all threads to start before stopping GDB.
5098 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5099 New global.
5100 (thread1_func, thread2_func): Wait on barrier.
5101 (main): Wait for all threads to start before stopping GDB.
5102
c945a99f
PA
51032015-01-09 Pedro Alves <palves@redhat.com>
5104
5105 * gdb.threads/attach-many-short-lived-threads.c: New file.
5106 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5107
c1a747c1
PA
51082014-01-09 Pedro Alves <palves@redhat.com>
5109
5110 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5111 instead of to thread 2.
5112 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5113 Add barrier around each pthread_create call instead of around all
5114 calls.
5115 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5116 Set a break on thread_function and have the child threads hit it
5117 one at at a time.
5118
60b3033e
PA
51192015-01-09 Pedro Alves <palves@redhat.com>
5120
5121 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5122 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5123 false.
5124 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5125 checking whether the target board is remote.
5126 * gdb.multi/multi-attach.exp: Likewise.
5127 * gdb.python/py-sync-interp.exp: Likewise.
5128 * gdb.server/ext-attach.exp: Likewise.
5129 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5130 tests that need to attach, instead of checking whether the target
5131 board is remote at the top of the file.
5132
acc018ac
YQ
51332015-01-08 Yao Qi <yao@codesourcery.com>
5134
5135 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5136
50a18af8
JK
51372015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5138
5139 Fix testcase compilation.
5140 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5141
8503d6e1
JB
51422015-01-06 Joel Brobecker <brobecker@adacore.com>
5143
5144 * gdb.python/py-type.exp: Add a couple test about empty
5145 array creation, and negative-length array creation.
5146
cc73dbcc
DE
51472015-01-02 Doug Evans <xdje42@gmail.com>
5148
5149 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5150
0300bbc7
DE
51512015-01-02 Doug Evans <dje@google.com>
5152
5153 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5154
9d85a0ec
YQ
51552014-12-29 Yao Qi <yao@codesourcery.com>
5156
5157 * gdb.trace/entry-values.exp: Update comments. Rename variable
5158 bar_call_foo to returned_from_foo.
5159
87186c6a
MMN
51602014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5161
5162 PR gdb/17394
5163 * gdb.linespec/break-asm-file.c: New file.
5164 * gdb.linespec/break-asm-file.exp: New file.
5165 * gdb.linespec/break-asm-file0.s: New file.
5166 * gdb.linespec/break-asm-file1.s: New file.
5167
1bab7383
YQ
51682014-12-18 Nigel Stephens <nigel@mips.com>
5169 Maciej W. Rozycki <macro@codesourcery.com>
5170
5171 * gdb.base/float.exp: Handle the new output from "info float" on
5172 MIPS targets.
5173
1bc1068a
JK
51742014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5175
5176 Fix MinGW compilation.
5177 * gdb.compile/compile-ops.exp: Update untested message if
5178 !skip_compile_feature_tests.
5179 * gdb.compile/compile-setjmp.exp: Likewise.
5180 * gdb.compile/compile-tls.exp: Likewise.
5181 * gdb.compile/compile.exp: Likewise.
5182 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5183 supported on this host".
5184
b6615d10
DE
51852014-12-16 Doug Evans <xdje42@gmail.com>
5186
5187 * boards/stabs.exp: New file.
5188
25dda427
AA
51892014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5190
5191 * gdb.base/completion.exp: Adjust to format changes of "maint
5192 print user-registers".
5193
bf330350
CU
51942014-12-16 Catalin Udma <catalin.udma@freescale.com>
5195
5196 PR server/17457
5197 * gdb.arch/aarch64-fp.c: New file.
5198 * gdb.arch/aarch64-fp.exp: New file.
5199
395cf596
SDJ
52002014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5201
5202 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5203 r210637, r210913, r211666, r215400, r215817).
5204
5205 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5206 * dg-extract-results.py: New file.
5207 * dg-extract-results.sh: Use it if the environment seems
5208 suitable.
5209
5210 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5211
5212 * dg-extract-results.py (parse_run): Handle warnings that
5213 are printed before a test harness is run.
5214
5215 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5216
5217 * dg-extract-results.py (Named): Remove __cmp__ method.
5218 (output_variation): Use a key to sort variation.harnesses.
5219
5220 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5221
5222 * dg-extract-results.py: For Python 3, force sys.stdout to
5223 handle surrogate escape sequences.
5224 (safe_open): New function.
5225 (output_segment, main): Use it.
5226
5227 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5228
5229 * dg-extract-results.py (Prog.result_re): Include options
5230 in test name.
5231
5232 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5233
5234 * dg-extract-results.py (output_variation): Always sort if
5235 do_sum.
5236
e882ef3c
SM
52372014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5238
5239 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5240 as long as we get pagination notifications.
5241
4992aa20
JM
52422014-12-15 Jason Merrill <jason@redhat.com>
5243
5244 * Makefile.in (check-gdb.%): Restore.
5245 * README: Mention it.
5246
c1b5a1a6
JB
52472014-12-13 Joel Brobecker <brobecker@adacore.com>
5248
5249 * gdb.ada/str_uninit: New testcase.
5250
5537b577
JK
52512014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5252
5253 PR symtab/17642
5254 * gdb.base/vla-stub-define.c: New file.
5255 * gdb.base/vla-stub.c: New file.
5256 * gdb.base/vla-stub.exp: New file.
5257
bb2ec1b3
TT
52582014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5259 Jan Kratochvil <jan.kratochvil@redhat.com>
5260 Tom Tromey <tromey@redhat.com>
5261
5262 * configure.ac: Add gdb.compile/.
5263 * configure: Regenerate.
5264 * gdb.compile/Makefile.in: New file.
5265 * gdb.compile/compile-ops.exp: New file.
5266 * gdb.compile/compile-ops.c: New file.
5267 * gdb.compile/compile-tls.c: New file.
5268 * gdb.compile/compile-tls.exp: New file.
5269 * gdb.compile/compile-constvar.S: New file.
5270 * gdb.compile/compile-constvar.c: New file.
5271 * gdb.compile/compile-mod.c: New file.
5272 * gdb.compile/compile-nodebug.c: New file.
5273 * gdb.compile/compile-setjmp-mod.c: New file.
5274 * gdb.compile/compile-setjmp.c: New file.
5275 * gdb.compile/compile-setjmp.exp: New file.
5276 * gdb.compile/compile-shlib.c: New file.
5277 * gdb.compile/compile.c: New file.
5278 * gdb.compile/compile.exp: New file.
5279 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5280
4ff709eb
TT
52812014-12-12 Tom Tromey <tromey@redhat.com>
5282
5283 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5284 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5285
6dddd6a5
DE
52862014-12-12 Doug Evans <dje@google.com>
5287
5288 * lib/gdb-python.exp (get_python_valueof): New function.
5289 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5290
71c24708
AA
52912014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5292
5293 * gdb.base/completion.exp: Add test for completion of "info
5294 registers ".
5295
3e29f34a
MR
52962014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5297
5298 * gdb.base/func-ptrs.c: New file.
5299 * gdb.base/func-ptrs.exp: New file.
5300
fc126975
SM
53012014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5302
5303 PR breakpoints/17012
5304 * gdb.base/dprintf-detach.c: New file.
5305 * gdb.base/dprintf-detach.exp: New file.
5306
0a46d518
SM
53072014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5308
5309 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5310 * lib/gdb.exp (target_is_gdbserver): New procedure.
5311
a0be3e44
DE
53122014-12-08 Doug Evans <dje@google.com>
5313
5314 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5315
df1b803a
YQ
53162014-12-05 Yao Qi <yao@codesourcery.com>
5317
5318 * gdb.guile/scm-error.exp: Remove the third argument to
5319 gdb_remote_download.
5320 * gdb.guile/scm-frame-args.exp: Likewise.
5321 * gdb.guile/scm-section-script.exp: Likewise.
5322
ddb9f679
YQ
53232014-12-05 Yao Qi <yao@codesourcery.com>
5324
5325 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5326
86e4ed39
DE
53272014-12-04 Doug Evans <dje@google.com>
5328
5329 * gdb.python/py-objfile.exp: Add tests for
5330 objfile.add_separate_debug_file.
5331
7c50a931
DE
53322014-12-04 Doug Evans <dje@google.com>
5333
5334 * lib/gdb.exp (get_build_id): New function.
5335 (build_id_debug_filename_get): Rewrite to use it.
5336 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5337
621661e3
MR
53382014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5339
5340 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5341 `method(long)', not just 0x0.
5342 * gdb.cp/nsalias.exp: Align code labels to 4.
5343 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5344 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5345 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5346 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5347 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5348 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5349
29f0c3b7
DE
53502014-12-02 Doug Evans <dje@google.com>
5351
e1e061e7 5352 PR symtab/17602
29f0c3b7 5353 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 5354 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
5355 * gdb.cp/anon-ns.exp: Update.
5356
162078c8
NB
53572014-12-02 Nick Bull <nicholaspbull@gmail.com>
5358
5359 * gdb.python/py-events.py (inferior_call_handler): New.
5360 (register_changed_handler, memory_changed_handler): New.
5361 (test_events.invoke): Register new handlers.
5362 * gdb.python/py-events.exp: Add tests for inferior call,
5363 memory_changed and register_changed events.
5364
fdb09caf
AA
53652014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5366
5367 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5368 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5369 if the linker doesn't understand this.
5370
55cfb2c4
SM
53712014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5372
5373 * gdb.python/python.exp: Change expected reply to help().
5374
9e8cd6df
YQ
53752014-12-01 Yao Qi <yao@codesourcery.com>
5376
5377 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5378 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5379 * configure: Re-generated.
5380
6c659fc2
SC
53812014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5382
5383 * gdb.cp/chained-calls.cc: New file.
5384 * gdb.cp/chained-calls.exp: New file.
5385 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5386
d7fc3181
SM
53872014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5388
5389 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5390 * gdb.dwarf2/symtab-producer.exp: Same.
5391 * gdb.gdb/python-interrupts.exp: Same.
5392 * gdb.gdb/python-selftest.exp: Same.
5393 * gdb.python/py-linetable.exp: Same.
5394 * gdb.python/py-type.exp: Same.
5395 * gdb.python/py-value-cc.exp: Same.
5396 * gdb.python/py-value.exp: Same.
5397
10e79639
YQ
53982014-11-28 Yao Qi <yao@codesourcery.com>
5399
5400 * gdb.base/break-probes.exp: Match library name prefixed with
5401 sysroot.
5402
f28a0564
SM
54032014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5404
5405 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5406 test expected output. Add parentheses for the call to print.
5407 Remove L suffix from integers.
5408
3fe1ce1d
DE
54092014-11-26 Doug Evans <dje@google.com>
5410
5411 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5412
84429e27
YQ
54132014-11-22 Yao Qi <yao@codesourcery.com>
5414
5415 * gdb.trace/entry-values.c: Remove asms.
5416 (foo): Add foo_label.
5417 (bar): Add bar_label.
5418 * gdb.trace/entry-values.exp: Remove code computing foo's
5419 length and bar's length.
5420 (Dwarf::assemble): Invoke function_range for bar and use
5421 MACRO_AT_func for foo.
5422
26741859
YQ
54232014-11-22 Yao Qi <yao@codesourcery.com>
5424
5425 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5426 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5427 Use .Lgcc43_procstart instead of gcc43.
5428
45e44d27
JB
54292014-11-21 Joel Brobecker <brobecker@adacore.com>
5430
5431 * gdb.ada/n_arr_bound: New testcase.
5432
458c8db8
SDJ
54332014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5434
5435 PR breakpoints/10737
5436 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5437 test_catch_syscall_multi_arch.
5438 (test_catch_syscall_multi_arch): New function.
5439
43f3e411
DE
54402014-11-20 Doug Evans <xdje42@gmail.com>
5441
5442 * gdb.base/maint.exp: Update expected output.
5443
0d7b2549
AA
54442014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5445
5446 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5447 4-byte instruction on S390.
5448
8908fca5
JB
54492014-11-19 Joel Brobecker <brobecker@adacore.com>
5450
5451 * gdb.ada/arr_arr: New testcase.
5452
4a46959e
JB
54532014-11-19 Joel Brobecker <brobecker@adacore.com>
5454
5455 * gdb.ada/pkd_arr_elem: New Testcase.
5456
470e2f4e
LM
54572014-11-18 Luis Machado <lgustavo@codesourcery.com>
5458
5459 * gdb.reverse/break-precsave: Expect completion message for
5460 core file reads.
5461 * gdb.reverse/consecutive-precsave.exp: Likewise.
5462 * gdb.reverse/finish-precsave.exp: Likewise.
5463 * gdb.reverse/i386-precsave.exp: Likewise.
5464 * gdb.reverse/machinestate-precsave.exp: Likewise.
5465 * gdb.reverse/sigall-precsave.exp: Likewise.
5466 * gdb.reverse/solib-precsave.exp: Likewise.
5467 * gdb.reverse/step-precsave.exp: Likewise.
5468 * gdb.reverse/until-precsave.exp: Likewise.
5469 * gdb.reverse/watch-precsave.exp: Likewise.
5470
a267f3ad
AA
54712014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5472
5473 * gdb.base/bp-permanent.c: Include unistd.h.
5474 * gdb.python/py-framefilter-mi.c (main): Add return type.
5475 * gdb.python/py-framefilter.c (main): Likewise.
5476 * gdb.trace/actions-changed.c (main): Likewise.
5477
12084a9a
AA
54782014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5479
5480 * gdb.mi/until.c: Add eye-catchers.
5481 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5482 line numbers.
5483
dc7e1a77
AA
54842014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5485
5486 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5487 function header variants in break1.c.
5488 * gdb.base/ena-dis-br.exp: Likewise.
5489 * gdb.base/hbreak2.exp: Likewise.
5490 * gdb.reverse/until-precsave.exp: Drop references to removed
5491 non-prototype function header variants in ur1.c.
5492 * gdb.reverse/until-reverse.exp: Likewise.
5493
41c77605
PM
54942014-11-17 Petr Machata <pmachata@redhat.com>
5495
5496 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5497 ${_cu_offset_size} bytes abbrev offset.
5498
34248c3a
DE
54992014-11-15 Doug Evans <xdje42@gmail.com>
5500
5501 PR symtab/17559
5502 * gdb.base/line-symtabs.exp: New file.
5503 * gdb.base/line-symtabs.c: New file.
5504 * gdb.base/line-symtabs.h: New file.
5505
646da059
YQ
55062014-11-14 Yao Qi <yao@codesourcery.com>
5507
5508 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5509 (func): Add label func_label.
5510 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5511 Replace low_pc and high_pc with MACRO_AT_range.
5512 Replace name, low_pc and high_pc with MACRO_AT_func.
5513
9301ebe6
YQ
55142014-11-14 Yao Qi <yao@codesourcery.com>
5515
5516 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5517 Replace name, low_pc and high_pc with MACRO_AT_func.
5518
f166b542
YQ
55192014-11-14 Yao Qi <yao@codesourcery.com>
5520
5521 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5522 produce debug information.
5523 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5524
0f6e71e3
YQ
55252014-11-14 Yao Qi <yao@codesourcery.com>
5526
5527 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5528 object and get function length.
5529 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5530 with MACRO_AT_func.
5531 (top-level): Replace gdb_compile and clean_restart with
5532 prepare_for_testing.
5533 * gdb.dwarf2/main.c (main): Add label main_label.
5534
876c4df9
YQ
55352014-11-14 Yao Qi <yao@codesourcery.com>
5536
5537 * lib/dwarf.exp (function_range): New procedure.
5538 (Dwarf::_handle_macro_at_func): New procedure.
5539 (Dwarf::_handle_macro_at_range): New procedure.
5540 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5541
02ad9cf1
YQ
55422014-11-14 Yao Qi <yao@codesourcery.com>
5543
5544 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5545 (_handle_attribute): New procedure.
5546
a59add0c
AA
55472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5548
5549 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5550 * gdb.base/call-sc.c (zed): Likewise.
5551 * gdb.base/checkpoint.c (main): Likewise.
5552 * gdb.base/dump.c (main): Likewise.
5553 * gdb.base/gcore.c (main): Likewise.
5554 * gdb.base/huge.c (main): Likewise.
5555 * gdb.base/multi-forks.c (main): Likewise.
5556 * gdb.base/pr10179-a.c (main): Likewise.
5557 * gdb.base/savedregs.c (main): Likewise.
5558 * gdb.base/sigaltstack.c (main): Likewise.
5559 * gdb.base/siginfo.c (main): Likewise.
5560 * gdb.base/structs.c (zed): Likewise.
5561 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5562 * gdb.mi/mi-syn-frame.c (main): Likewise.
5563 * gdb.mi/until.c (foo, main): Likewise.
5564 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5565 * gdb.base/solib-weak.c (foo): Declare.
5566 * gdb.base/attach-twice.c: Include stdio.h.
5567 * gdb.base/weaklib1.c: Likewise.
5568 * gdb.base/weaklib2.c: Likewise.
5569 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5570 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5571 unistd.h.
5572 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5573 * gdb.mi/mi-exit-code.c: Likewise.
5574 * gdb.base/break-interp-lib.c: Include string.h.
5575 * gdb.base/coremaker.c: Likewise.
5576 * gdb.base/testenv.c: Likewise.
5577 * gdb.python/py-finish-breakpoint.c: Likewise.
5578 * gdb.base/inferior-died.c: Include sys/wait.h.
5579 * gdb.base/fileio.c: Include time.h.
5580 * gdb.base/async-shell.c: Include unistd.h.
5581 * gdb.base/dprintf-non-stop.c: Likewise.
5582 * gdb.base/info-os.c: Likewise.
5583 * gdb.mi/mi-console.c: Likewise.
5584 * gdb.mi/watch-nonstop.c: Likewise.
5585 * gdb.python/py-events.c: Likewise.
5586 * gdb.base/async.c (baz): Move up before its invocation.
5587 * gdb.base/code_elim2.c (my_global_func): Likewise.
5588 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5589 * gdb.base/advance.c (func2): Likewise.
5590
3b5d5997
AA
55912014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5592
5593 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5594 variant.
5595 * gdb.base/annota3.c: Likewise.
5596 * gdb.base/async.c: Likewise.
5597 * gdb.base/average.c: Likewise.
5598 * gdb.base/call-ar-st.c: Likewise.
5599 * gdb.base/call-rt-st.c: Likewise.
5600 * gdb.base/call-sc.c: Likewise.
5601 * gdb.base/call-strs.c: Likewise.
5602 * gdb.base/ending-run.c: Likewise.
5603 * gdb.base/execd-prog.c: Likewise.
5604 * gdb.base/exprs.c: Likewise.
5605 * gdb.base/foll-exec.c: Likewise.
5606 * gdb.base/foll-fork.c: Likewise.
5607 * gdb.base/foll-vfork.c: Likewise.
5608 * gdb.base/funcargs.c: Likewise.
5609 * gdb.base/gcore.c: Likewise.
5610 * gdb.base/jump.c: Likewise.
5611 * gdb.base/langs0.c: Likewise.
5612 * gdb.base/langs1.c: Likewise.
5613 * gdb.base/langs2.c: Likewise.
5614 * gdb.base/mips_pro.c: Likewise.
5615 * gdb.base/nodebug.c: Likewise.
5616 * gdb.base/opaque0.c: Likewise.
5617 * gdb.base/opaque1.c: Likewise.
5618 * gdb.base/recurse.c: Likewise.
5619 * gdb.base/run.c: Likewise.
5620 * gdb.base/scope0.c: Likewise.
5621 * gdb.base/scope1.c: Likewise.
5622 * gdb.base/setshow.c: Likewise.
5623 * gdb.base/setvar.c: Likewise.
5624 * gdb.base/shmain.c: Likewise.
5625 * gdb.base/shr1.c: Likewise.
5626 * gdb.base/shr2.c: Likewise.
5627 * gdb.base/sigall.c: Likewise.
5628 * gdb.base/signals.c: Likewise.
5629 * gdb.base/so-indr-cl.c: Likewise.
5630 * gdb.base/solib2.c: Likewise.
5631 * gdb.base/structs.c: Likewise.
5632 * gdb.base/sum.c: Likewise.
5633 * gdb.base/vforked-prog.c: Likewise.
5634 * gdb.base/watchpoint.c: Likewise.
5635 * gdb.reverse/shr2.c: Likewise.
5636 * gdb.reverse/until-reverse.c: Likewise.
5637 * gdb.reverse/ur1.c: Likewise.
5638 * gdb.reverse/watch-reverse.c: Likewise.
5639
066a77c5
AA
56402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5641
5642 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5643 variant.
5644 * gdb.base/sepdebug.exp: Drop references to removed code.
5645
4f204ea5
AA
56462014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5647
5648 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5649 variant. Preserve original line numbering.
5650 * gdb.base/list1.c: Likewise.
5651
3b377a3a
AA
56522014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5653
5654 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5655 variant.
5656 * gdb.base/break1.c: Likewise.
5657 * gdb.base/break.exp: Drop references to removed code.
5658
e444df73
AA
56592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5660
5661 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5662 variant.
5663
8008f2a7
AA
56642014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5665
5666 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5667
a5a06887
AA
56682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5669
5670 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5671 logic into perform_all_tests() and invoke it with and without
5672 function header prototypes.
5673 (do_function_calls): Remove conditional XFAIL for PR 5318.
5674 (rerun_and_prepare): Remove duplicate code.
5675 (perform_all_tests): New. Main logic moved here.
5676
44dba9b9
AA
56772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5678
5679 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5680 code guarded by #ifdef NO_PROTOTYPES.
5681 (t_double_many_args): Likewise.
5682 (DEF_FUNC_MANY_ARGS_1): Likewise.
5683 (DEF_FUNC_VALUES_1): Likewise.
5684 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5685 guarded by #ifdef PROTOTYPES.
5686
d1fbcd56
AA
56872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5688
5689 * gdb.mi/mi-console.c: Add eye-catcher.
5690 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5691 instead of literal line number.
5692
b0e59b8f
AA
56932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5694
5695 * gdb.base/shr2.c: Add eye-catcher.
5696 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5697 line number.
5698
78f98cca
AA
56992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5700
5701 * gdb.base/jump.c: Add eye-catchers.
5702 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5703 numbers.
5704
58fa2af0
AA
57052014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5706
5707 * gdb.base/execd-prog.c: Add eye-catchers.
5708 * gdb.base/foll-exec.c: Likewise.
5709 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5710 line numbers.
5711
04e5059b
AA
57122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5713
5714 * gdb.base/ending-run.c: Add eye-catchers.
5715 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5716 literal line numbers.
5717
dbfdb174
AA
57182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5719
5720 * gdb.base/call-rt-st.c: Add eye-catchers.
5721 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5722 literal line numbers.
5723
888a2ade
AA
57242014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5725
5726 * gdb.base/call-ar-st.c: Add eye-catchers.
5727 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5728 literal line numbers.
5729
6acc2dde
AA
57302014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5731
5732 * gdb.base/average.c: Add eye-catchers.
5733 * gdb.base/sum.c: Likewise.
5734 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5735 regexps dynamically.
5736
9ecfcd1d
AA
57372014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5738
5739 * gdb.base/solib1.c: Add eye-catchers.
5740 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5741 literal line numbers.
5742
78708b7c
PA
57432014-11-12 Pedro Alves <palves@redhat.com>
5744
5745 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5746 leader has exited.
5747
af48d08f
PA
57482014-11-12 Pedro Alves <palves@redhat.com>
5749
5750 * gdb.arch/i386-bp_permanent.c: New file.
5751 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5752 (srcfile): Set to i386-bp_permanent.c.
5753 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5754 that stepi does not execute the 'leave' instruction, instead of
5755 testing it does execute.
5756 * gdb.base/bp-permanent.c: New file.
5757 * gdb.base/bp-permanent.exp: New file.
5758
af3768e9
DE
57592014-11-10 Doug Evans <xdje42@gmail.com>
5760
5761 PR symtab/17564
5762 * gdb.base/symtab-search-order.exp: New file.
5763 * gdb.base/symtab-search-order.c: New file.
5764 * gdb.base/symtab-search-order-1.c: New file.
5765 * gdb.base/symtab-search-order-shlib-1.c: New file.
5766
9de00a4a
PA
57672014-11-07 Pedro Alves <palves@redhat.com>
5768
5769 PR gdb/17511
5770 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5771 i?86-*-linux*.
5772
e0f52461
SC
57732014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5774
5775 PR c++/17494
5776 * gdb.cp/pr17494.cc: New file.
5777 * gdb.cp/pr17494.exp: New file.
5778
6ce8c980
YQ
57792014-11-02 Yao Qi <yao@codesourcery.com>
5780
5781 * gdb.python/python.exp: Get working directory and match the
5782 output of "set extended-prompt \\w " with it.
5783
02be9a71
DE
57842014-10-30 Doug Evans <dje@google.com>
5785
5786 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5787 in objfiles.
5788 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5789 in progspaces.
5790
3bdff46b
LM
57912014-10-30 Janis Johnson <janisjo@codesourcery.com>
5792
5793 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5794 * gdb.base/realname-expand.exp: Likewise.
5795 * gdb.linespec/macro-relative.exp: Likewise.
5796
ab917dfb
PA
57972014-10-29 Pedro Alves <palves@redhat.com>
5798
5799 PR gdb/17408
5800 * gdb.threads/schedlock.c (some_function): New function.
5801 (call_function): New global.
5802 (MAYBE_CALL_SOME_FUNCTION): New macro.
5803 (thread_function): Call it.
5804 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5805 and use it instead of a global counter. Adjust all callers.
5806 (get_current_thread): Use "find current thread" for test message
5807 here rather than having all callers pass down the same string.
5808 (goto_loop): New procedure, factored out from ...
5809 (my_continue): ... this.
5810 (step_ten_loops): Change parameter from test message to command to
5811 use. Adjust.
5812 (list_count): Delete global.
5813 (check_result): New procedure, factored out from duplicate top
5814 level code.
5815 (continue tests): Wrap in with_test_prefix.
5816 (test_step): New procedure, factored out from duplicate top level
5817 code.
5818 (top level): Test "step" in combination with all scheduler-locking
5819 modes. Test "next" in combination with all scheduler-locking
5820 modes, and in combination with stepping over a function call or
5821 not.
5822 * gdb.threads/next-bp-other-thread.c: New file.
5823 * gdb.threads/next-bp-other-thread.exp: New file.
5824
d3d4baed
PA
58252014-10-29 Pedro Alves <palves@redhat.com>
5826
5827 PR python/17372
5828 * gdb.python/python.exp: Test a multi-line command that spawns
5829 interactive Python.
5830 * gdb.base/multi-line-starts-subshell.exp: New file.
5831
563e8d85
YQ
58322014-10-29 Yao Qi <yao@codesourcery.com>
5833
5834 * gdb.base/fileio.exp: Make directories on host.
5835
0ea4d52e
YQ
58362014-10-29 Yao Qi <yao@codesourcery.com>
5837
5838 * gdb.base/fileio.c (test_write): Close the file.
5839
7f5ef605
PA
58402014-10-28 Pedro Alves <palves@redhat.com>
5841
5842 PR gdb/12623
5843 * gdb.base/sigstep.c (no_handler): New global.
5844 (main): If 'no_handler is true, set the signal handlers to
5845 SIG_IGN.
5846 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5847 with_sw_watch and no_handler parameters. Handle them.
5848 (top level) <stepping over handler when stopped at a breakpoint
5849 test>: Add a test axis for testing with a software watchpoint, and
5850 another for testing with the signal handler set to SIG_IGN.
5851 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5852 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5853
abbdbd03
PA
58542014-10-28 Pedro Alves <palves@redhat.com>
5855
5856 PR gdb/17511
5857 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5858 * gdb.base/sigstep.exp (other_handler_location): New global.
5859 (advance): Support stepping into the signal handler, and running
5860 commands while in the handler.
5861 (in_handler_map): New global.
5862 (top level): In the advance test, add combinations for getting
5863 into the handler with stepping commands, and for running commands
5864 in the handler. Add comment descripting the advancei tests.
5865
1df4399f
PA
58662014-10-28 Pedro Alves <palves@redhat.com>
5867
5868 * gdb.base/sigstep.exp: Use build_executable instead of
5869 prepare_for_testing.
5870 (top level): Move code that starts GDB, runs to main and creates a
5871 display to ...
5872 (restart): ... this new procedure.
5873 (top level): Move backtrace from signal handler test to ...
5874 (validate_backtrace): ... this new procedure.
5875 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5876 with_test_prefix. Always restart GDB.
5877 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5878 with_test_prefix. Always restart GDB. No need to delete
5879 breakpoints after the test.
5880 (test_skip_handler): Remove prefix parameter.
5881 (skip_over_handler, breakpoint_to_handler)
5882 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5883 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5884 restart GDB. No need to delete breakpoints after the test.
5885 (top level): Use foreach to call the test procedures with
5886 different commands.
5887
a5b6e449
PA
58882014-10-28 Pedro Alves <palves@redhat.com>
5889
5890 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5891 instead of GNATS numbers.
5892 * gdb.base/sigbpt.exp: Likewise.
5893 * gdb.base/siginfo.exp: Likewise.
5894 * gdb.base/sigstep.exp: Likewise.
5895
e5f8a7cc
PA
58962014-10-27 Pedro Alves <palves@redhat.com>
5897
5898 * gdb.base/sigstep.c (dummy): New global.
5899 (main): Issue a couple writes to the new global.
5900 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5901 procedures.
5902 (skip_over_handler): Use test_skip_handler.
5903 (top level): Call skip_over_handler for stepi and nexti too.
5904 (breakpoint_over_handler): Use test_skip_handler.
5905 (top level): Call breakpoint_over_handler for stepi and nexti too.
5906
763905a3
YQ
59072014-10-27 Yao Qi <yao@codesourcery.com>
5908
5909 * gdb.trace/tfile.c (adjust_function_address)
5910 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5911 function descriptor.
5912
6f259a23
DB
59132014-10-24 Don Breazeal <donb@codesourcery.com>
5914
5915 * gdb.base/foll-fork.exp (test_follow_fork,
5916 catch_fork_child_follow): Check for updated fork messages emitted
5917 from infrun.c.
5918 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5919 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5920 vfork_and_exec_child_follow_through_step): Check for updated vfork
5921 messages emitted from infrun.c.
5922
09dd9a69
PA
59232014-10-24 Pedro Alves <palves@redhat.com>
5924
5925 * gdb.base/corefile.exp: Remove references to ultrix.
5926 * gdb.base/interrupt.exp: Likewise.
5927 * gdb.base/whatis.exp: Likewise.
5928 * gdb.gdb/selftest.exp: Likewise.
5929 * gdb.threads/manythreads.exp: Likewise.
5930 * gdb.threads/print-threads.exp: Likewise.
5931 * gdb.threads/pthreads.exp:: Likewise.
5932 * gdb.threads/schedlock.exp: Likewise.
5933
3433cfa5
SC
59342014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5935
5936 * gdb.cp/non-trivial-retval.cc: Add a test case.
5937 * gdb.cp/non-trivial-retval.exp: Add a test.
5938
092f880b
YQ
59392014-10-20 Yao Qi <yao@codesourcery.com>
5940
5941 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5942 * gdb.python/py-objfile-script-gdb.py: New file.
5943 * gdb.python/py-objfile-script.exp: Update reference to
5944 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5945 of remote_download. Remove the dest file.
5946
acbdb7f3
YQ
59472014-10-20 Yao Qi <yao@codesourcery.com>
5948
5949 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5950 * gdb.base/step-line.exp: Likewise.
5951 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5952 * gdb.dwarf2/dw2-basic.exp: Likewise.
5953 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5954 * gdb.dwarf2/dw2-filename.exp: Likewise.
5955 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5956 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5957 * gdb.dwarf2/dw2-producer.exp: Likewise.
5958 * gdb.dwarf2/mac-fileno.exp: Likewise.
5959 * gdb.python/py-frame-args.exp: Likewise.
5960 * gdb.python/py-framefilter.exp: Likewise.
5961 * gdb.python/py-mi.exp: Likewise.
5962 * gdb.python/py-objfile-script.exp: Likewise
5963 * gdb.python/py-pp-integral.exp: Likewise.
5964 * gdb.python/py-pp-re-notag.exp: Likewise.
5965 * gdb.python/py-prettyprint.exp: Likewise.
5966 * gdb.python/py-section-script.exp: Likewise.
5967 * gdb.python/py-typeprint.exp: Likewise.
5968 * gdb.python/py-xmethods.exp: Likewise.
5969 * gdb.stabs/weird.exp: Likewise.
5970 * gdb.xml/tdesc-regs.exp: Likewise.
5971
bd286a29
KCY
59722014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5973
5974 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5975 (out_cu): Use addr_len for the size of addresses.
5976 (out_line): Likewise. Size DW_LNE_set_address instruction
5977 according to addr_len.
5978 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5979 (FUNC): Add START_INSNS to definition.
5980
673dc4a0
YQ
59812014-10-18 Yao Qi <yao@codesourcery.com>
5982
5983 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5984 gdb_has_argv0 return true.
5985 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5986 check [target_info exists noargs], check [gdb_has_argv0]
5987 instead.
5988 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5989 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5990 procedures.
5991
4ffbba72
DE
59922014-10-17 Doug Evans <dje@google.com>
5993
5994 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5995 event.
5996 * gdb.python/py-events.py: Add clear_objfiles event.
5997
d096d8c1
DE
59982014-10-17 Doug Evans <dje@google.com>
5999
6000 * gdb.python/py-objfile.exp: Test progspace attribute.
6001
a80db015
LM
60022014-10-17 Luis Machado <lgustavo@codesourcery.com>
6003
6004 * gdb.guile/scm-breakpoint.exp: Do not assume any
6005 directory separators when matching source file paths.
6006 * gdb.python/py-breakpoint.exp: Likewise.
6007 * gdb.reverse/break-precsave.exp: Likewise.
6008 * gdb.reverse/break-reverse.exp: Likewise.
6009 * gdb.reverse/consecutive-precsave.exp: Likewise.
6010 * gdb.reverse/finish-precsave.exp: Likewise.
6011 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6012 * gdb.reverse/finish-reverse.exp: Likewise.
6013 * gdb.reverse/i386-precsave.exp: Likewise.
6014 * gdb.reverse/i387-env-reverse.exp: Likewise.
6015 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6016 * gdb.reverse/machinestate-precsave.exp: Likewise.
6017 * gdb.reverse/machinestate.exp: Likewise.
6018 * gdb.reverse/sigall-precsave.exp: Likewise.
6019 * gdb.reverse/solib-precsave.exp: Likewise.
6020 * gdb.reverse/step-precsave.exp: Likewise.
6021 * gdb.reverse/until-precsave.exp: Likewise.
6022 * gdb.reverse/watch-precsave.exp: Likewise.
6023 * gdb.reverse/watch-reverse.exp: Likewise.
6024
b22089ab
YQ
60252014-10-17 Yao Qi <yao@codesourcery.com>
6026
6027 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6028 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6029
6c4486e6
PA
60302014-10-17 Pedro Alves <palves@redhat.com>
6031
6032 PR gdb/17471
6033 * gdb.base/bg-execution-repeat.c: New file.
6034 * gdb.base/bg-execution-repeat.exp: New file.
6035
0ff33695
PA
60362014-10-17 Pedro Alves <palves@redhat.com>
6037
6038 PR gdb/17300
6039 * gdb.base/continue-all-already-running.c: New file.
6040 * gdb.base/continue-all-already-running.exp: New file.
6041
6fdebc3d
PA
60422014-10-17 Pedro Alves <palves@redhat.com>
6043
6044 PR gdb/17472
6045 * gdb.base/annota-input-while-running.c: New file.
6046 * gdb.base/annota-input-while-running.exp: New file.
6047
32a8097b
PA
60482014-10-17 Pedro Alves <palves@redhat.com>
6049
6050 * gdb.base/callfuncs.exp: emove references to osf.
6051 * gdb.base/sigall.exp: Likewise.
6052 * gdb.gdb/selftest.exp: Likewise.
6053 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6054 * gdb.mi/non-stop.c: Likewise.
6055 * gdb.mi/pthreads.c: Likewise.
6056 * gdb.reverse/sigall-precsave.exp: Likewise.
6057 * gdb.reverse/sigall-reverse.exp: Likewise.
6058 * gdb.threads/pthreads.c: Likewise.
6059 * gdb.threads/pthreads.exp: Likewise.
6060
7a3517ff
YQ
60612014-10-17 Yao Qi <yao@codesourcery.com>
6062
6063 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6064 check 'target_info exists noargs'.
6065 (test_command_prompt_position): Likewise.
6066 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6067 Remove "set args".
6068 (progvar_simple_while_test): Likewise.
6069 (progvar_complex_if_while_test): Likewise.
6070 (if_while_breakpoint_command_test): Likewise.
6071 (infrun_breakpoint_command_test): Likewise.
6072 (breakpoint_command_test): Likewise.
6073 (watchpoint_command_test): Likewise.
6074 (bp_deleted_in_command_test): Likewise.
6075 (temporary_breakpoint_commands): Likewise.
6076
bb99c472
YQ
60772014-10-16 Yao Qi <yao@codesourcery.com>
6078
6079 * gdb.base/remotetimeout.exp: Remove noargs checking.
6080
7c16b83e
PA
60812014-10-15 Pedro Alves <palves@redhat.com>
6082
6083 PR breakpoints/9649
6084 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6085 * gdb.base/breakpoint-in-ro-region.exp
6086 (probe_target_hardware_step): New procedure.
6087 (top level): Probe hardware stepping and hardware breakpoint
6088 support. Test stepping through a read-only region, with both
6089 "breakpoint auto-hw" on and off and both "always-inserted" on and
6090 off.
6091
35a49624
IB
60922014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6093
6094 * gdb.dlang/demangle.exp: Update for demangling changes.
6095
2d1c107c
SC
60962014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6097
6098 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6099 * gdb.cp/non-trivial-retval.exp: Add new tests.
6100
778811d5
SC
61012014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6102
6103 PR c++/13403
6104 PR c++/15154
6105 * gdb.cp/non-trivial-retval.cc: New file.
6106 * gdb.cp/non-trivial-retval.exp: New file.
6107
10c5f0a8
YQ
61082014-10-15 Yao Qi <yao@codesourcery.com>
6109
6110 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6111 remote host.
6112
65d7b369
YQ
61132014-10-15 Yao Qi <yao@codesourcery.com>
6114
6115 * gdb.python/py-symbol.exp: Match file base name if host is
6116 remote, otherwise match file name with dir name.
6117 * gdb.python/py-symtab.exp: Likewise.
6118 * gdb.python/python.exp: Likewise.
6119
46dc1394
YQ
61202014-10-15 Yao Qi <yao@codesourcery.com>
6121
6122 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6123 pattern.
6124 * gdb.python/py-symtab.exp: Likewise.
6125 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6126 locationn.
6127
c40cc657
JB
61282014-10-14 Joel Brobecker <brobecker@adacore.com>
6129
6130 * gdb.ada/addr_arith: New testcase.
6131
2abf49e1
MR
61322014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6133
6134 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6135 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6136 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6137 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6138
f7088df3
SDJ
61392014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6140
6141 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6142 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6143 * gdb.arch/stap-eval-lang-ada.exp: New file.
6144
4dc06805
YQ
61452014-10-14 Yao Qi <yao@codesourcery.com>
6146
6147 * gdb.mi/mi-var-child.c (nothing1): New function.
6148 (nothing2): New function.
6149 (do_children_tests): Set function pointers by nothing1 and
6150 nothing2.
6151 * gdb.mi/mi-var-child.exp: Step over new added statements.
6152 Update test to match the new output.
6153 * gdb.mi/var-cmd.c (nothing1): New function.
6154 (nothing2): New function.
6155 (do_children_tests): Set function pointers by nothing1 and
6156 nothing2.
6157 * gdb.mi/mi-var-display.exp: Update test to match output.
6158 Step to the line specified by $line_dct_nothing.
6159 Increase the number of lines to step.
6160
46a93de2
YQ
61612014-10-14 Yao Qi <yao@codesourcery.com>
6162
6163 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6164 tests.
6165 * gdb.mi/mi2-var-child.exp: Likewise.
6166
14ea52ee
DE
61672014-10-13 Doug Evans <dje@google.com>
6168
6169 * gdb.python/py-objfile.exp: Change name of file name test.
6170
e5c6e92b
DE
61712014-10-13 Doug Evans <dje@google.com>
6172
6173 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6174 from the start of the CU.
6175
c780cc2f
JK
61762014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6177 Yao Qi <yao@codesourcery.com>
6178
6179 Fix "save breakpoints" for "catch" command.
6180 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6181 Remove -nonewline. Match also the added "main" line.
6182
99894e11
JK
61832014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6184
6185 Fix "save breakpoints" for "disable $bpnum" command.
6186 * gdb.base/save-bp.c (main): Add label.
6187 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6188
6e1ac5a3
JK
61892014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6190
6191 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6192
754dd2b0
YQ
61932014-10-11 Yao Qi <yao@codesourcery.com>
6194
6195 * gdb.server/server-kill.exp: Execute command
6196 "set remote trace-status-packet on" before "tstatus".
6197
f90183d7
YQ
61982014-10-11 Yao Qi <yao@codesourcery.com>
6199
6200 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6201 (main): Call getppid.
6202 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6203 and continue to it. Read variable "server_pid".
6204
bf40a607
YQ
62052014-10-11 Yao Qi <yao@codesourcery.com>
6206
6207 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6208
052ca370
YQ
62092014-10-11 Yao Qi <yao@codesourcery.com>
6210
6211 * gdb.threads/thread-find.exp: Don't execute command
6212 "info threads".
6213 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6214 * gdb.threads/linux-dp.exp: Don't check the condition
6215 $threads_created equals to zero.
6216
3831839c
PA
62172014-10-10 Pedro Alves <palves@redhat.com>
6218
6219 * gdb.base/bigcore.exp: Remove references to IRIX.
6220 * gdb.base/funcargs.exp: Likewise.
6221 * gdb.base/interrupt.exp: Likewise.
6222 * gdb.base/mips_pro.exp: Likewise.
6223 * gdb.base/nodebug.exp: Likewise.
6224 * gdb.base/setvar.exp: Likewise.
6225 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6226
8b9a549d
PA
62272014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6228 Pedro Alves <palves@redhat.com>
6229
6230 PR symtab/14466
6231 * gdb.base/vdso-warning.c: New file.
6232 * gdb.base/vdso-warning.exp: New file.
6233
d48ba5e8
DE
62342014-10-02 Doug Evans <dje@google.com>
6235
6236 * gdb.base/structs.c (main): Don't run forever.
6237
2278c276
PA
62382014-10-02 Pedro Alves <palves@redhat.com>
6239
6240 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6241 (top level) <stop threads 1, stop threads 2>: Use it.
6242
b57bacec
PA
62432014-10-02 Pedro Alves <palves@redhat.com>
6244
6245 * gdb.threads/break-while-running.exp (test): Add new
6246 'update_thread_list' argument. Skip "info threads" if false.
6247 (top level): Add new 'update_thread_list' axis.
6248
13fd3ff3
PA
62492014-10-02 Pedro Alves <palves@redhat.com>
6250
6251 PR breakpoints/17431
6252 * gdb.base/execl-update-breakpoints.c: New file.
6253 * gdb.base/execl-update-breakpoints.exp: New file.
6254
0fec99e8
PA
62552014-10-01 Pedro Alves <palves@redhat.com>
6256
6257 * gdb.base/breakpoint-in-ro-region.c: New file.
6258 * gdb.base/breakpoint-in-ro-region.exp: New file.
6259
2ddf4301
SM
62602014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6261
6262 * gdb.mi/mi-exit-code.exp: New file.
6263 * gdb.mi/mi-exit-code.c: New file.
6264
6a5f3f43
YQ
62652014-09-30 Yao Qi <yao@codesourcery.com>
6266
6267 * lib/prelink-support.exp (build_executable_own_libs): Error if
6268 the target isn't native.
6269
345bcc73
YQ
62702014-09-30 Yao Qi <yao@codesourcery.com>
6271
6272 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6273 false.
6274
a25a5a45
PA
62752014-09-22 Pedro Alves <palves@redhat.com>
6276
6277 * gdb.threads/break-while-running.exp: New file.
6278 * gdb.threads/break-while-running.c: New file.
6279
00ba3162
YQ
62802014-09-19 Yao Qi <yao@codesourcery.com>
6281
6282 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6283 Invoke test. Restart GDB with --readnow and invoke test again.
6284
c3b7b696
YQ
62852014-09-19 Yao Qi <yao@codesourcery.com>
6286
6287 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6288 proc set_breakpoint_on_gcd_function. Invoke
6289 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6290 invoke set_breakpoint_on_gcd_function again.
6291
2b4fd423
DE
62922014-09-18 Doug Evans <dje@google.com>
6293
6294 * gdb.dwarf2/symtab-producer.exp: New file.
6295
a5947601
SDJ
62962014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6297
6298 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6299 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6300 * gdb.base/global-var-nested-by-dso.c: Likewise.
6301 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6302
91c19059
SDJ
63032014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6304 Pedro Alves <palves@redhat.com>
6305
6306 * gdb.base/watch-bitfields.exp: Pass string other than test file
6307 name to prepare_for_testing.
6308 (watch): New procedure.
6309 (expect_watchpoint): Use with_test_prefix.
6310 (top level): Factor out tests to ...
6311 (test_watch_location, test_regular_watch): ... these new
6312 procedures, and use with_test_prefix and gdb_continue_to_end.
6313
bb9d5f81
PP
63142014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6315
6316 PR breakpoints/12526
6317 * gdb.base/watch-bitfields.exp: New file.
6318 * gdb.base/watch-bitfields.c: New file.
6319
635856f5
PA
63202014-09-16 Pedro Alves <palves@redhat.com>
6321
6322 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6323 software and hardware addresses, not software address against
6324 itself.
6325
7280ceea
PA
63262014-09-16 Pedro Alves <palves@redhat.com>
6327
6328 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6329 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6330
428b16bd
PA
63312014-09-16 Pedro Alves <palves@redhat.com>
6332
6333 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6334 files.
6335 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6336 "*-*-vxworks*" throughout.
6337 * gdb.base/break.exp: Likewise.
6338 * gdb.base/default.exp: Likewise.
6339 * gdb.base/scope.exp: Likewise.
6340 * gdb.base/sepdebug.exp: Likewise.
6341 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6342 throughout.
6343 * gdb.base/run.c: Likewise.
6344 * gdb.base/sepdebug.c: Likewise.
6345 * gdb.hp/gdb.aCC/run.c: Likewise.
6346 * gdb.reverse/until-reverse.c: Likewise.
6347 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6348
666d413c
YQ
63492014-09-16 Yao Qi <yao@codesourcery.com>
6350
6351 * boards/local-remote-host-native.exp: New file.
6352
57cbd724
DE
63532014-09-14 Doug Evans <xdje42@gmail.com>
6354
6355 * gdb.threads/queue-signal.c (thread_count): New variable.
6356 (thread_count_mutex, thread_count_condvar): New variables.
6357 (incr_thread_count, wait_all_threads_running): New functions.
6358 (main): Wait for all threads to be in their thread functions.
6359
81219e53
DE
63602014-09-13 Doug Evans <xdje42@gmail.com>
6361
6362 * gdb.threads/queue-signal.c: New file.
6363 * gdb.threads/queue-signal.exp: New file.
6364
3714cea7
DE
63652014-09-13 Doug Evans <xdje42@gmail.com>
6366
6367 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6368 be consistent with what default_gdb_init uses.
6369 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6370 the plain text of the prompt. Add some logging printfs.
6371 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6372
fa43b1d7
PA
63732014-09-12 Pedro Alves <palves@redhat.com>
6374
6375 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6376 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6377 * gdb.arch/i386-size-overlap.exp: Likewise.
6378 * gdb.arch/i386-size.exp: Likewise.
6379 * gdb.arch/i386-unwind.exp: Likewise.
6380 * gdb.base/a2-run.exp: Likewise.
6381 * gdb.base/break.exp: Likewise.
6382 * gdb.base/charset.exp: Likewise.
6383 * gdb.base/chng-syms.exp: Likewise.
6384 * gdb.base/commands.exp: Likewise.
6385 * gdb.base/dbx.exp: Likewise.
6386 * gdb.base/find.exp: Likewise.
6387 * gdb.base/funcargs.exp: Likewise.
6388 * gdb.base/jit-simple.exp: Likewise.
6389 * gdb.base/reread.exp: Likewise.
6390 * gdb.base/sepdebug.exp: Likewise.
6391 * gdb.base/step-bt.exp: Likewise.
6392 * gdb.cp/mb-inline.exp: Likewise.
6393 * gdb.cp/mb-templates.exp: Likewise.
6394 * gdb.objc/basicclass.exp: Likewise.
6395 * gdb.threads/killed.exp: Likewise.
6396
9d9bf2df
EBM
63972014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6398
6399 PR tdep/17379
6400 * gdb.arch/powerpc-stackless.S: New file.
6401 * gdb.arch/powerpc-stackless.exp: New file.
6402
1cf2f1b0
JK
64032014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6404
6405 * gdb.base/attach.c: Include unistd.h.
6406 (main): Call alarm. Add label postloop.
6407 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6408 gdb_breakpoint, gdb_continue_to_breakpoint.
6409 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6410
98880d46
PA
64112014-09-11 Pedro Alves <palves@redhat.com>
6412
6413 PR gdb/17347
6414 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6415 * gdb.base/attach.exp (test_command_line_attach_run): New
6416 procedure.
6417 (top level): Call it.
6418
4c92ff2c
PA
64192014-09-11 Pedro Alves <palves@redhat.com>
6420
6421 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6422 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6423 (do_command_attach_tests): Use spawn_wait_for_attach.
6424 * gdb.base/solib-overlap.exp: Likewise.
6425 * gdb.multi/multi-attach.exp: Likewise.
6426 * gdb.python/py-prompt.exp: Likewise.
6427 * gdb.python/py-sync-interp.exp: Likewise.
6428 * gdb.server/ext-attach.exp: Likewise.
6429
3adc1a7d
GKB
64302014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6431
6432 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6433 command in testcase. Simplify testcase.
6434
96334934
JB
64352014-09-10 Joel Brobecker <brobecker@adacore.com>
6436
6437 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6438
eb479039
JB
64392014-09-10 Joel Brobecker <brobecker@adacore.com>
6440
6441 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6442
deede10c
JB
64432014-09-10 Joel Brobecker <brobecker@adacore.com>
6444
6445 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6446
7828a5f5
JB
64472014-09-10 Joel Brobecker <brobecker@adacore.com>
6448
6449 * gdb.dwarf2/dynarr-ptr.c: New file.
6450 * gdb.dwarf2/dynarr-ptr.exp: New file.
6451
33aeebcf
MR
64522014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6453
6454 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6455 of 30 rather than hardcoding 120 for a slow test case. Take the
6456 `gdb,timeout' target setting into account for this calculation.
6457 Don't extend the timeout for the test cases that don't need it.
6458
7b415901
MR
64592014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6460
6461 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6462 a factor of 2 for a slow test case. Take the `gdb,timeout'
6463 target setting into account for this calculation.
6464 * gdb.reverse/until-precsave.exp: Increase the timeout by
6465 a factor of 15 and 3 respectively rather than adding 120
6466 for a pair of slow test cases. Take the `gdb,timeout'
6467 target setting into account for this calculation.
6468
4a40f85a
MR
64692014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6470
6471 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6472 timeout, don't pass one down to gdb_expect.
6473 (gdb_expect): Rework timeout selection.
6474
09635af7
MR
64752014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6476
6477 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6478 exception on timeout.
6479 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6480 (gdbserver_start_extended): Catch any `gdbserver_start' error
6481 exceptions.
6482 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6483 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6484 `gdbserver_gdb_load' error exceptions.
6485
2bdd10b7
MR
64862014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6487
6488 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6489 120 on waiting for the TCP socket to open.
6490
316935f0
DE
64912014-09-09 Doug Evans <xdje42@gmail.com>
6492
6493 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6494 _caller_matches, _any_caller_is, _any_caller_matches.
6495
83740597
DE
64962014-09-09 Doug Evans <xdje42@gmail.com>
6497
6498 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6499
4c122fc3
YQ
65002014-09-09 Yao Qi <yao@codesourcery.com>
6501
6502 * gdb.mi/mi-var-display.exp: Set print symbol off.
6503
a9f116cb
GKB
65042014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6505
6506 PR gdb/17035
6507 * gdb.base/commands.exp: Add tests to verify user-defined
6508 commands with empty bodies.
6509 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6510 python commands in `show user command`.
6511 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6512 scheme commands in `show user command`.
6513
c75bd3a2
JK
65142014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6515
6516 PR python/17355
6517 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6518 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6519 * gdb.python/py-framefilter-invalidarg.exp: New file.
6520 * gdb.python/py-framefilter-invalidarg.py: New file.
6521
faa42425
DE
65222014-09-06 Doug Evans <xdje42@gmail.com>
6523
6524 PR 15276
6525 * gdb.python/py-caller-is.c: New file.
6526 * gdb.python/py-caller-is.exp: New file.
6527
474ca4f6
SDJ
65282014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6529
6530 PR gdb/17235
6531 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6532 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6533
eb0b0463
SDJ
65342014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6535
6536 PR fortran/17237
6537 * gdb.fortran/print-formatted.exp: New file.
6538 * gdb.fortran/print-formatted.f90: Likewise.
6539
5f3b99cf
SS
65402014-09-03 Sasha Smundak <asmundak@google.com>
6541
6542 * gdb.python/py-frame.exp: Test Frame.read_register.
6543
7d793aa9
SDJ
65442014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6545
6546 PR python/16699
6547 * gdb.python/py-completion.exp: New file.
6548 * gdb.python/py-completion.py: Likewise.
6549
fb0576e9
DE
65502014-08-28 Doug Evans <dje@google.com>
6551
6552 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6553 eax,etc. are live with values set by gdb and thus the compiler can't
6554 use them.
6555 * gdb.arch/i386-pseudo.c (main): Ditto.
6556
ee92b0dd
DE
65572014-08-27 Doug Evans <dje@google.com>
6558
6559 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6560
6649db35
DE
65612014-08-25 Doug Evans <dje@google.com>
6562
6563 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6564 (main): Ditto.
6565
564b7600
DE
65662014-08-25 Doug Evans <dje@google.com>
6567
6568 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6569
3881fb67
YQ
65702014-08-24 Yao Qi <yao@codesourcery.com>
6571
6572 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6573 symbol off.
6574 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6575
a05a36a5
DE
65762014-08-22 Doug Evans <dje@google.com>
6577
6578 PR 17276
6579 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6580 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6581 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6582
7c343b48
YQ
65832014-08-22 Yao Qi <yao@codesourcery.com>
6584
6585 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6586 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6587 * gdb.python/python.exp: Likewise. Use .py file on the host
6588 instead of the build.
6589
22fd09ae
JK
65902014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6591
6592 * gdb.threads/gcore-stale-thread.c: New file.
6593 * gdb.threads/gcore-stale-thread.exp: New file.
6594
a8454a7c
PA
65952014-08-21 Pedro Alves <palves@redhat.com>
6596
6597 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6598 * gdb.base/gcore-relro-pie.exp: Likewise.
6599 * gdb.base/gcore-relro.exp: Likewise.
6600 * gdb.base/gcore.exp: Likewise.
6601 * gdb.base/print-symbol-loading.exp: Likewise.
6602 * gdb.threads/gcore-thread.exp: Likewise.
6603 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6604
2a31c623
PA
66052014-08-20 Pedro Alves <palves@redhat.com>
6606 Jan Kratochvil <jan.kratochvil@redhat.com>
6607
6608 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6609 configure.
6610 (EXPECT): Handle READ1 being set.
6611 (all): Depend on EXTRA_RULES.
6612 (check-read1, expect-read1, read1.so, read1): New rules.
6613 * README (Testsuite Parameters): Document the READ1 make variable.
6614 (Race detection): New section.
6615 * configure: Regenerate.
6616 * configure.ac: If build==host==target, and running under a
6617 GNU/glibc system, add read1 to the extra Makefile rules.
6618 (EXTRA_RULES): AC_SUBST it.
6619 * lib/read1.c: New file.
6620
d36430db
JB
66212014-08-20 Joel Brobecker <brobecker@adacore.com>
6622
6623 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6624 the handling of variables declared as a typedef to an array
6625 which a DW_AT_data_location attribute.
6626
9a0dc9e3
PA
66272014-08-19 Andrew Burgess <aburgess@broadcom.com>
6628 Pedro Alves <palves@redhat.com>
6629
6630 PR symtab/14604
6631 PR symtab/14605
6632 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6633 gdb_test.
6634
0718a8da
PA
66352014-08-19 Pedro Alves <palves@redhat.com>
6636
6637 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6638
13b448cd
YQ
66392014-08-19 Yao Qi <yao@codesourcery.com>
6640
6641 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6642 right line.
6643
1cbf5077
DB
66442014-08-18 David Blaikie <dblaikie@gmail.com>
6645
6646 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6647
bf0fae19
JB
66482014-08-18 Joel Brobecker <brobecker@adacore.com>
6649
6650 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6651 attribute in array range.
6652
3c8c5dcc
JB
66532014-08-18 Joel Brobecker <brobecker@adacore.com>
6654
6655 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6656
e66d4446
SC
66572014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6658
6659 PR c++/17132
6660 * gdb.cp/pr17132.cc: New file.
6661 * gdb.cp/pr17132.exp: New file.
6662
940df408
SC
66632014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6664
6665 * gdb.python/py-xmethods.py (A_getarrayind)
6666 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6667 Use 'print' with function call syntax.
6668 (E_method_matcher.match): Fix tab vs space indentation mixup.
6669
ebcc6c3a
YQ
66702014-08-15 Yao Qi <yao@codesourcery.com>
6671
6672 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6673 false.
6674
775e0f04
YQ
66752014-08-15 Yao Qi <yao@codesourcery.com>
6676
6677 * gdb.cp/casts.exp: Set print symbol off.
6678 * gdb.cp/class2.exp: Likewise.
6679 * gdb.cp/overload.exp: Likewise.
6680 * gdb.cp/templates.exp: Likewise.
6681
d769e349
DE
66822014-08-11 Doug Evans <dje@google.com>
6683
6684 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6685 (test_load_shlib): Update.
6686
20c6f1e1
YQ
66872014-08-09 Yao Qi <yao@codesourcery.com>
6688
6689 * gdb.base/display.exp: Invoke is_address_zero_readable.
6690 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6691 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6692 * gdb.base/hbreak-unmapped.exp: Return if
6693 is_address_zero_readable returns true.
6694 * gdb.base/signest.exp: Likewise.
6695 * gdb.base/signull.exp: Likewise.
6696 * gdb.base/sigbpt.exp: Likewise.
6697 * gdb.guile/scm-disasm.exp: Do the test if
6698 is_address_zero_readable returns false.
6699 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6700 * gdb.python/py-arch.exp: Likewise.
6701 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6702 * lib/gdb.exp (is_address_zero_readable): New proc.
6703
5792e8e3
YQ
67042014-08-09 Yao Qi <yao@codesourcery.com>
6705
6706 PR testsuite/13443
6707 * gdb.mi/mi-var-display.exp: Make test messages unique.
6708
3cecbbbe
TT
67092014-08-04 Tom Tromey <tromey@redhat.com>
6710
6711 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6712 target 0".
6713
00b51ff5
TT
67142014-08-04 Tom Tromey <tromey@redhat.com>
6715
6716 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6717 "target_resume".
6718
6908c509
JB
67192014-08-01 Joel Brobecker <brobecker@adacore.com>
6720
6721 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6722 inner_vla_struct_object_size.
6723 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6724 as xfail.
6725
cc6563d2
PA
67262014-07-30 Pedro Alves <palves@redhat.com>
6727
6728 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6729 comment.
6730
7e09a223
YQ
67312014-07-29 Yao Qi <yao@codesourcery.com>
6732
6733 PR gdb/17206
6734 * gdb.base/until-nodebug.exp: New.
6735
7ebdbe92
DE
67362014-07-28 Doug Evans <xdje42@gmail.com>
6737
6738 PR guile/17203
6739 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6740 previously existing parameter, and previously ambiguously spelled
6741 parameter.
6742
fdb1adc6
WN
67432014-07-28 Will Newton <will.newton@linaro.org>
6744
6745 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6746
186fcde0
DE
67472014-07-26 Ludovic Courtès <ludo@gnu.org>
6748 Doug Evans <xdje42@gmail.com>
6749
6750 PR guile/17146
6751 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6752
70509625
PA
67532014-07-25 Pedro Alves <palves@redhat.com>
6754
6755 * gdb.threads/signal-command-handle-nopass.c: New file.
6756 * gdb.threads/signal-command-handle-nopass.exp: New file.
6757 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6758 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6759 * gdb.threads/signal-delivered-right-thread.c: New file.
6760 * gdb.threads/signal-delivered-right-thread.exp: New file.
6761
c3f814a1
PA
67622014-07-25 Pedro Alves <palves@redhat.com>
6763
6764 * gdb.base/double-prompt-target-event-error.exp
6765 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6766 match.
6767 (cancel_pagination_in_target_event): Rework double prompt
6768 detection.
6769 * gdb.base/paginate-after-ctrl-c-running.exp
6770 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6771 <return>' match.
6772 * gdb.base/paginate-bg-execution.exp
6773 (test_bg_execution_pagination_return)
6774 (test_bg_execution_pagination_cancel): Remove '-notransfer
6775 <return>' matches.
6776 * gdb.base/paginate-execution-startup.exp
6777 (test_fg_execution_pagination_return)
6778 (test_fg_execution_pagination_cancel): Remove '-notransfer
6779 <return>' matches.
6780 * gdb.base/paginate-inferior-exit.exp
6781 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6782 match.
6783 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6784 * lib/gdb.exp (pagination_prompt): Run text through
6785 string_to_regexp.
6786 (gdb_test_multiple): Match $pagination_prompt instead of
6787 "<return>".
6788 (string_to_regexp): Move to lib/gdb-utils.exp.
6789
e214cf6c
JK
67902014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6791
6792 * gdb.arch/amd64-entry-value-paramref.S: New file.
6793 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6794 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6795 * gdb.arch/amd64-optimout-repeat.S: New file.
6796 * gdb.arch/amd64-optimout-repeat.c: New file.
6797 * gdb.arch/amd64-optimout-repeat.exp: New file.
6798
17d0c5c8
JK
67992014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6800
6801 PR gdb/17170
6802 * gdb.base/statistics.exp: New file.
6803
b8b8facf
DE
68042014-07-17 Doug Evans <dje@google.com>
6805
74b49205 6806 PR gdb/17170
b8b8facf
DE
6807 * gdb.base/maint.exp: Update testing of per-command stats.
6808
1b5d0ab3
PA
68092014-07-16 Pedro Alves <palves@redhat.com>
6810
6811 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6812 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6813 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6814 (tfile_write_buf): New functions.
6815 (add_memory_block): Rewrite using the above.
6816 (adjust_function_address): New function.
6817 (FUNCTION_ADDRESS): New macro.
6818 (write_basic_trace_file): Remove short_x local, and use
6819 tfile_write_16. Change type of func_addr local to unsigned long
6820 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6821 here. Cast argument of add_memory_block to char pointer.
6822 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6823 (main): Remove parameters.
6824 * gdb.trace/tfile.exp: Remove nowarnings.
6825
4d974e88
SM
68262014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6827
6828 * gdb.base/debug-expr.exp: Test string evaluation with
6829 "debug expression" on.
6830
41e99568
PA
68312014-07-15 Pedro Alves <palves@redhat.com>
6832
6833 * gdb.base/reread.exp: Use clean_restart.
6834
487d9753
PL
68352014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6836
6837 * gdb.arch/avr-flash-qualifer.c: New.
6838 * gdb.arch/avr-flash-qualifer.exp: New.
6839
cc1c52ad
PA
68402014-07-14 Pedro Alves <palves@redhat.com>
6841
6842 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6843 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6844
1e973570
PA
68452014-07-14 Pedro Alves <palves@redhat.com>
6846
6847 * gdb.base/double-prompt-target-event-error.c: New file.
6848 * gdb.base/double-prompt-target-event-error.exp: New file.
6849
93d6eb10
PA
68502014-07-14 Pedro Alves <palves@redhat.com>
6851
6852 PR gdb/17072
6853 * gdb.base/paginate-inferior-exit.c: New file.
6854 * gdb.base/paginate-inferior-exit.exp: New file.
6855
0017922d
PA
68562014-07-14 Pedro Alves <palves@redhat.com>
6857
6858 PR gdb/17072
6859 * gdb.base/paginate-bg-execution.c: New file.
6860 * gdb.base/paginate-bg-execution.exp: New file.
6861
94696ad3
PA
68622014-07-14 Pedro Alves <palves@redhat.com>
6863
6864 PR gdb/17072
6865 * gdb.base/paginate-execution-startup.c: New file.
6866 * gdb.base/paginate-execution-startup.exp: New file.
6867 * lib/gdb.exp (pagination_prompt): New global.
6868 (default_gdb_spawn): New procedure, factored out from
6869 default_gdb_spawn.
6870 (default_gdb_start): Adjust to call default_gdb_spawn.
6871 (gdb_spawn): New procedure.
6872
bd293940
PA
68732014-07-14 Pedro Alves <palves@redhat.com>
6874
6875 * lib/gdb.exp (gdb_assert): New procedure.
6876 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6877
c933f875
PA
68782014-07-14 Pedro Alves <palves@redhat.com>
6879
6880 * gdb.base/execution-termios.c: New file.
6881 * gdb.base/execution-termios.exp: New file.
6882
d98b7a16
TT
68832014-07-14 Tom Tromey <tromey@redhat.com>
6884
6885 * gdb.cp/vla-cxx.cc: New file.
6886 * gdb.cp/vla-cxx.exp: New file.
6887
548740d6
TT
68882014-07-14 Tom Tromey <tromey@redhat.com>
6889
6890 * gdb.reverse/rerun-prec.c: New file.
6891 * gdb.reverse/rerun-prec.exp: New file.
6892
a25eb028
MR
68932014-07-12 Maciej W. Rozycki <macro@mips.com>
6894 Maciej W. Rozycki <macro@codesourcery.com>
6895
6896 * lib/gdb-utils.exp: New file.
6897 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6898 inline `gdb_init_command' processing.
6899 (gdb_start_cmd): Likewise.
6900 * lib/mi-support.exp (mi_run_cmd): Likewise.
6901 * README: Document `gdb_init_command' and `gdb_init_commands'.
6902
218c2655
JK
69032014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6904
6905 Fix false FAIL running under a very long directory name.
6906 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6907 and "set print elements 10000". Twice.
6908
5401fde3
YQ
69092014-07-11 Yao Qi <yao@codesourcery.com>
6910
6911 * gdb.base/exprs.exp: "set print symbol off".
6912
e76126e8
PA
69132014-07-11 Pedro Alves <palves@redhat.com>
6914
6915 * gdb.threads/kill.c: New file.
6916 * gdb.threads/kill.exp: New file.
6917
2d6f0de6
YQ
69182014-07-10 Yao Qi <yao@codesourcery.com>
6919
6920 * gdb.trace/tfile.c (write_basic_trace_file)
6921 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6922 address written to trace file.
6923
7180e04a
PA
69242014-07-09 Pedro Alves <palves@redhat.com>
6925
6926 * gdb.base/attach-wait-input.exp: New file.
6927 * gdb.base/attach-wait-input.c: New file.
6928
9a9a7608
AB
69292014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6930
6931 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6932 setting up test structures.
6933 (main): Call new test function.
6934 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6935 test function, continue into test function and walk test
6936 structures.
6937
161ac41e
YQ
69382014-07-02 Yao Qi <yao@codesourcery.com>
6939
6940 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6941 'bar_start' at the beginning of functions 'foo' and 'bar'
6942 respectively.
6943 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6944 instead of 'foo' and 'bar'.
6945
1f267ae3
MM
69462014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6947
6948 * gdb.btrace/segv.exp: New.
6949 * gdb.btrace/segv.c: New.
6950
2b239efb
LM
69512014-07-02 Luis Machado <lgustavo@codesourcery.com>
6952
6953 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6954 instruction.
6955
cf363f18
MW
69562014-06-30 Mark Wielaard <mjw@redhat.com>
6957
6958 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6959 vulture, vilify, villar): New volatile array constants.
6960 (vindictive, vegetation): New const volatile array constants.
6961 * gdb.base/volatile.exp: Test volatile and const volatile array
6962 types.
6963
aebf9d24
AA
69642014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6965
6966 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6967 target lacks support for awatch, rwatch, or hbreak.
6968
b67a2c6f
YQ
69692014-06-27 Yao Qi <yao@codesourcery.com>
6970
6971 * gdb.multi/dummy-frame-restore.exp: New.
6972 * gdb.multi/dummy-frame-restore.c: New.
6973
aef92902
MM
69742014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6975
6976 * gdb.btrace/gcore.exp: New.
6977
8e9db26e
PA
69782014-06-23 Pedro Alves <palves@redhat.com>
6979
6980 * gdb.base/watchpoint-reuse-slot.c: New file.
6981 * gdb.base/watchpoint-reuse-slot.exp: New file.
6982
70afc5b7
SC
69832014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6984
6985 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6986 progspace's filename in 'info', 'enable' and 'disable' command
6987 tests.
6988
b972bd9c
JK
69892014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6990
6991 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6992 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6993 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6994
125f8a3d
GB
69952014-06-20 Gary Benson <gbenson@redhat.com>
6996
6997 * gdb.arch/i386-avx.exp: Fix include file location.
6998 * gdb.arch/i386-sse.exp: Likewise.
6999
3ed9baed
IB
70002014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7001
7002 * gdb.dlang/expression.exp: New file.
7003
034f788c
PA
70042014-06-19 Pedro Alves <palves@redhat.com>
7005
7006 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7007 out from ...
7008 (top level): ... here. Iterate running tests under different
7009 scheduler-locking settings.
7010
45371d0c
LM
70112014-06-18 Luis Machado <lgustavo@codesourcery.com>
7012
7013 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7014 to DW_FORM_addr and use non-zero addresses.
7015
5d376983
SC
70162014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7017
7018 PR gdb/17017
7019 * gdb.python/py-xmethods.cc: Add global function call counters and
7020 increment them in their respective functions. Remove "cout"
7021 statements.
7022 * gdb.python/py-xmethods.exp: Make tests check the global function
7023 call counters instead of depending on inferior IO.
7024
a1aa2221
LM
70252014-06-18 Don Breazeal <donb@codesourcery.com>
7026
7027 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7028 Deleted procedure.
7029 (explicit_fork_parent_follow): Deleted procedure.
7030 (explicit_fork_child_follow): Deleted procedure.
7031 (test_follow_fork): New procedure.
7032 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 7033 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
7034 procedure calls.
7035
0fc05997
YQ
70362014-06-17 Yao Qi <yao@codesourcery.com>
7037
7038 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7039 CP1252.
7040
70795c52
LM
70412014-06-17 Luis Machado <lgustavo@codesourcery.com>
7042
7043 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7044 Initialize ptr and S explicitly.
7045 (skip_type_update_when_not_use_rtti_test): Likewise.
7046
6be47f0c
KS
70472014-06-16 Keith Seitz <keiths@redhat.com>
7048
7049 PR mi/15863
7050 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7051 the inferior is started.
7052
d03de421
PA
70532014-06-16 Pedro Alves <palves@redhat.com>
7054
7055 * gdb.base/break-main-file-remove-fail.c: New file.
7056 * gdb.base/break-main-file-remove-fail.exp: New file.
7057 * gdb.base/break-unload-file.exp: Use build_executable instead of
7058 prepare_for_testing.
7059 (test_break): New parameter "initial_load". Handle it.
7060 (top level): Add initial_load cmdline/file axis.
7061
f9579b99
TT
70622014-06-12 Tom Tromey <tromey@redhat.com>
7063
7064 * gdb.base/completion.exp: Don't use directory name in test.
7065
3657956b
GB
70662014-06-09 Gary Benson <gbenson@redhat.com>
7067
7068 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7069 separate the always-available ANSI-standard signals from the
7070 signals that require checking.
7071 (main): Likewise.
7072 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7073 Likewise.
7074 (main): Likewise.
7075
4186eb54
KS
70762014-06-07 Keith Seitz <keiths@redhat.com>
7077
7078 Revert:
7079 PR c++/16253
7080 * gdb.cp/var-tag.cc: New file.
7081 * gdb.cp/var-tag.exp: New file.
7082 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7083 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7084 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7085 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7086
25326a28 70872014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
7088
7089 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7090
829155c9
PA
70912014-06-06 Pedro Alves <palves@redhat.com>
7092
7093 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7094 in target debug output instead of looking at RSP packets,
7095 disabling the test on any target that uses hardware stepping.
7096 Update comments.
7097
61c8d22e
PA
70982014-06-06 Pedro Alves <palves@redhat.com>
7099
7100 * gdb.base/break-unload-file.exp: Fix typo.
7101
d9a47287
YQ
71022014-06-06 Yao Qi <yao@codesourcery.com>
7103
7104 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7105 from "jit_function" to "^jit_function".
7106
e5e01dbf
YQ
71072014-06-06 Yao Qi <yao@codesourcery.com>
7108
7109 * gdb.base/async.c (foo): Add one statement.
7110 * gdb.base/async.exp: Get the next instruction address and
7111 match the output of "nexti" by instruction address. Match
7112 the hex address in the output of "finish".
7113
73ba372c
GB
71142014-06-06 Gary Benson <gbenson@redhat.com>
7115
7116 * gdb.base/call-signals.c: Remove preprocessor conditionals
7117 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7118 SIGSEGV and SIGTERM.
7119 * gdb.base/sigall.c: Likewise.
7120 * gdb.base/unwindonsignal.c: Likewise.
7121 * gdb.reverse/sigall-reverse.c: Likewise.
7122
831517df
YQ
71232014-06-06 Yao Qi <yao@codesourcery.com>
7124
7125 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7126 readable, skip the test.
7127
b8b91e98
YQ
71282014-06-06 Yao Qi <yao@codesourcery.com>
7129
7130 * gdb.threads/staticthreads.c (thread_function): Move the line
7131 setting breakpoint on forward.
7132 * gdb.threads/staticthreads.exp: Update comments.
7133
fb934770
LC
71342014-06-05 Ludovic Courtès <ludo@gnu.org>
7135
7136 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7137 "history-append! type error".
7138
6ef284bd
SM
71392014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7140
7141 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7142 erroneous dprintf expected input.
7143
a872e241
DE
71442014-06-04 Doug Evans <xdje42@gmail.com>
7145
7146 * gdb.guile/scm-generics.exp: Delete.
7147
16f691fb
DE
71482014-06-04 Doug Evans <xdje42@gmail.com>
7149
7150 * gdb.guile/scm-breakpoint.exp: Update.
7151 Add tests for breakpoint registration.
7152
012370f6
TT
71532014-06-04 Tom Tromey <tromey@redhat.com>
7154
7155 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7156 VLA-in-union.
7157 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7158 inner_vla_struct, vla_union types. Initialize objects of those
7159 types and compute their sizes.
7160
9f5a4cef
HZ
71612014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7162 Hui Zhu <hui@codesourcery.com>
7163
7164 * gdb.base/fileio.exp: Add test for shell not available as well as
7165 available.
7166 * gdb.base/fileio.c (test_system): Check for shell twice.
7167
90a45c4d
YQ
71682014-06-04 Yao Qi <yao@codesourcery.com>
7169
7170 * gdb.base/auto-connect-native-target.exp: Remove redundant
7171 space from the regexp pattern.
7172
70017e41
YQ
71732014-06-04 Yao Qi <yao@codesourcery.com>
7174
7175 * gdb.base/default.exp: Replace "child" with "native" in
7176 regexp pattern.
7177
883964a7
SC
71782014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7179
7180 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7181 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7182 * gdb.python/py-xmethods.py: Python script supporting the
7183 new testcase and tests.
7184
ef370185
JB
71852014-06-03 Joel Brobecker <brobecker@adacore.com>
7186 Pedro Alves <palves@redhat.com>
7187
7188 PR breakpoints/17000
7189 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7190 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7191
1e2ccb61
BM
71922014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7193
7194 * gdb.base/subst.exp: Add tests to verify partial path matching
7195 output.
7196
c6ec5ab2
PA
71972014-06-03 Pedro Alves <palves@redhat.com>
7198
7199 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7200 target that doesn't use software single-stepping.
7201
835c559f
PA
72022014-06-03 Pedro Alves <palves@redhat.com>
7203
7204 PR breakpoints/17000
7205 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7206 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7207
06eb1586
DE
72082014-06-02 Doug Evans <xdje42@gmail.com>
7209
7210 * gdb.guile/scm-parameter.exp: New file.
7211
e698b8c4
DE
72122014-06-02 Doug Evans <xdje42@gmail.com>
7213
7214 * gdb.guile/scm-cmd.c: New file.
7215 * gdb.guile/scm-cmd.exp: New file.
7216
ded03782
DE
72172014-06-02 Doug Evans <xdje42@gmail.com>
7218
7219 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7220 pretty-printer lookup.
7221 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7222 (make-pp_s-printer): Call it.
7223 (make-pretty-printer-from-dict): New function.
7224 (lookup-pretty-printer-maker-from-dict): New function.
7225 (*pretty-printer*): Simplify.
7226 (make-objfile-pp_s-printer): New function.
7227 (install-objfile-pretty-printers!): New function.
7228 (make-progspace-pp_s-printer): New function.
7229 (install-progspace-pretty-printers!): New function.
7230 * gdb.guile/scm-progspace.c: New file.
7231 * gdb.guile/scm-progspace.exp: New file.
7232
41fac0cf
PA
72332014-06-02 Pedro Alves <palves@redhat.com>
7234
7235 * gdb.base/dprintf-bp-same-addr.c: New file.
7236 * gdb.base/dprintf-bp-same-addr.exp: New file.
7237
96ae5695
EBM
72382014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7239
7240 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7241 * gdb.arch/powerpc-power.s: Likewise.
7242
da02b3a8
JB
72432014-06-02 Joel Brobecker <brobecker@adacore.com>
7244
7245 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7246
c72b2e7b
YQ
72472014-06-01 Yao Qi <yao@codesourcery.com>
7248
7249 * gdb.base/watchpoint.exp (test_watch_location): Check null
7250 pointer can be dereferenced. If not, do the test, otherwise
7251 skip it.
7252
53e8a631
AB
72532014-05-30 Andrew Burgess <aburgess@broadcom.com>
7254
7255 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7256 results.
7257 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7258
938f0e2f
AB
72592014-05-30 Andrew Burgess <aburgess@broadcom.com>
7260
7261 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7262 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7263 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7264 * gdb.arch/amd64-invalid-stack-top.c: New file.
7265 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7266
9ba6657a
PA
72672014-05-30 Pedro Alves <palves@redhat.com>
7268
7269 PR breakpoints/17000
7270 * gdb.base/sss-bp-on-user-bp.c: New file.
7271 * gdb.base/sss-bp-on-user-bp.exp: New file.
7272
522c09bf
DB
72732014-05-30 David Blaikie <dblaikie@gmail.com>
7274
7275 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7276 gnu_inline semantics via attribute.
7277 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7278 source explicitly specifies the required semantics.
7279
bf4ef81e
MR
72802014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7281
7282 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7283
329ea579
PA
72842014-05-29 Pedro Alves <palves@redhat.com>
7285 Tom Tromey <tromey@redhat.com>
7286
7287 * gdb.base/async-shell.exp: Don't enable target-async.
7288 * gdb.base/async.exp
7289 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7290 parameter. Adjust.
7291 (top level): Don't test with "target-async".
7292 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7293 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7294 * gdb.base/inferior-died.exp: Don't enable target-async.
7295 * gdb.base/interrupt-noterm.exp: Likewise.
7296 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7297 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7298 * gdb.mi/mi-nonstop.exp: Likewise.
7299 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7300 * gdb.mi/mi-nsintrall.exp: Likewise.
7301 * gdb.mi/mi-nsmoribund.exp: Likewise.
7302 * gdb.mi/mi-nsthrexec.exp: Likewise.
7303 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7304 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7305 * gdb.python/py-evsignal.exp: Don't enable target-async.
7306 * gdb.python/py-evthreads.exp: Likewise.
7307 * gdb.python/py-prompt.exp: Likewise.
7308 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7309 * gdb.server/solib-list.exp: Don't enable target-async.
7310 * gdb.threads/thread-specific-bp.exp: Likewise.
7311 * lib/mi-support.exp: Adjust to use mi-async.
7312
fd664c91
PA
73132014-05-29 Pedro Alves <palves@redhat.com>
7314
7315 PR gdb/13860
7316 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7317 reason, even in sync mode.
7318
251bde03
PA
73192014-05-29 Pedro Alves <palves@redhat.com>
7320 Hui Zhu <hui@codesourcery.com>
7321
7322 PR PR15693
7323 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7324 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7325 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7326 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7327
7f3c0343
JB
73282014-05-28 Joel Brobecker <brobecker@adacore.com>
7329
7330 * config/monitor.exp (gdb_target_monitor): Replace use of
7331 "set remotebaud" by "set serial baud".
7332
b2715b27
AW
73332014-05-26 Andy Wingo <wingo@igalia.com>
7334
7335 * gdb.guile/scm-breakpoint.exp:
7336 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7337 properties instead of gdb-object-properties.
7338
498a4489
YQ
73392014-05-26 Yao Qi <yao@codesourcery.com>
7340
7341 * gdb.server/no-thread-db.exp: Specify source file name
7342 explicitly when setting a breakpoint.
7343
589fdceb
MM
73442014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7345
7346 * gdb.btrace/vdso.c: New.
7347 * gdb.btrace/vdso.exp: New.
7348
e9089e05
MM
73492014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7350
7351 * gdb.base/gcore.exp (capture_command_output): Move ...
7352 * lib/gdb.exp (capture_command_output): ... here.
7353
67b5c0c1
MM
73542014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7355
7356 * gdb.btrace/data.exp: Test memory access during btrace replay.
7357
a2199296
SM
73582014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7359
7360 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7361
17b2616c
PA
73622014-05-21 Pedro Alves <palves@redhat.com>
7363
7364 PR gdb/13860
7365 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7366 (top level): Test that output related to execution commands is
7367 sent to the console with CLI commands, but not with MI commands.
7368 Test that breakpoint events are always mirrored to the console.
7369 Also expect the new source line to be output after a "next" in
7370 async mode too. Make it a pass/fail test.
7371 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7372 output.
7373 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7374
5166082f
PA
73752014-05-21 Pedro Alves <palves@redhat.com>
7376
7377 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7378 Use them to test variations of "list" after reaching a breakpoint.
7379 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7380 Test "list" with listsize 10 after reaching a breakpoint.
7381 * gdb.python/python.exp (decode_line current location line
7382 number): Adjust expected line number.
7383
2f25d70f
SM
73842014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7385
7386 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7387 behavior for $args, pass it directly to "run".
7388
ff604a67
MR
73892014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7390
7391 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7392 30000 to 65536.
7393
6a3cb8e8
PA
73942014-05-21 Pedro Alves <palves@redhat.com>
7395
7396 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7397 auto-connect-native-target off".
7398 * gdb.base/auto-connect-native-target.c: New file.
7399 * gdb.base/auto-connect-native-target.exp: New file.
7400
4ebfc96e
PA
74012014-05-21 Pedro Alves <palves@redhat.com>
7402
7403 * gdb.base/default.exp: Test "target native" instead of "target
7404 child".
7405
36d46afb
MW
74062014-05-21 Mark Wielaard <mjw@redhat.com>
7407
7408 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7409
5876f503
JK
74102014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7411
7412 Fix TLS access for -static -pthread.
7413 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7414 <HAVE_TLS> (thread_function, main): Initialize it.
7415 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7416 Add clean_restart.
7417 <$have_tls != "">: Check TLSVAR.
7418
0256a6ac
PA
74192014-05-21 Pedro Alves <palves@redhat.com>
7420
7421 * gdb.base/dcache-line-read-error.c: New.
7422 * gdb.base/dcache-line-read-error.exp: New.
7423
936d2992
PA
74242014-05-20 Pedro Alves <palves@redhat.com>
7425
7426 * gdb.base/compare-sections.c: New file.
7427 * gdb.base/compare-sections.exp: New file.
7428
802e8e6d
PA
74292014-05-20 Pedro Alves <palves@redhat.com>
7430
7431 * gdb.base/break-idempotent.c: New file.
7432 * gdb.base/break-idempotent.exp: New file.
7433
e59fa00f
MM
74342014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7435
7436 * gdb.btrace/nohist.exp: New.
7437
8b696e31
YQ
74382014-05-20 Yao Qi <yao@codesourcery.com>
7439
7440 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7441 gdb.reverse directory and gdb_reverse_timeout exists in board
7442 setting.
7443 * README: Document gdb_reverse_timeout.
7444
73c9764f
YQ
74452014-05-20 Yao Qi <yao@codesourcery.com>
7446
7447 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7448 'test_file_name'. Treat args as a string instead of a list.
7449 (gdb_init): Rename argument 'args' by 'test_file_name'.
7450
f1f4348a
JK
74512014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7452
7453 * gdb.arch/powerpc-power.exp: New file.
7454 * gdb.arch/powerpc-power.s: New file.
7455
0dbe70ce
DE
74562014-05-16 Doug Evans <dje@google.com>
7457
7458 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
7459 * gdb.base/completion.exp: Check that all expected files exist
7460 before doing file completion.
0dbe70ce 7461
8d551b02
DE
74622014-05-16 Doug Evans <dje@google.com>
7463
7464 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7465 Update.
7466 (do_syscall_tests_without_xml): Update.
7467
73eb7709
PA
74682014-05-16 Pedro Alves <palves@redhat.com>
7469
7470 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7471 instead of "unknown output after running".
7472
3fae92fc
YQ
74732014-05-16 Yao Qi <yao@codesourcery.com>
7474
7475 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7476 file1.txt from host at the end.
7477 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7478
c2b2ccc5
DE
74792014-05-15 Doug Evans <dje@google.com>
7480
7481 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7482 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7483 loading file. Add test for TU lookup.
7484
8c217a4b
SM
74852014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7486
7487 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7488 calling "-exec-arguments" or "set args" before running the
7489 inferior.
7490
3deb39c6
SM
74912014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7492
7493 * lib/mi-support.exp (mi_expect_stop): Expect message for
7494 inferiors that exit with non-zero exit code.
7495
71a79f8c
YQ
74962014-05-14 Yao Qi <yao@codesourcery.com>
7497
7498 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7499 match absolute path on remote host.
7500 (test_file_list_exec_source_files): Remove "/" from the
7501 pattern.
7502
f23fcd46
YQ
75032014-05-14 Yao Qi <yao@codesourcery.com>
7504
7505 * boards/local-remote-host-notty.exp (${board}_file): New
7506 proc.
7507
9404b58f
KM
75082014-05-07 Kyle McMartin <kyle@redhat.com>
7509
7510 Pushed by Joel Brobecker <brobecker@adacore.com>.
7511 * gdb.arch/aarch64-atomic-inst.c: New file.
7512 * gdb.arch/aarch64-atomic-inst.exp: New file.
7513
5e45f04c
YQ
75142014-05-07 Yao Qi <yao@codesourcery.com>
7515
7516 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7517 in current context" too.
7518
c888a17d
KS
75192014-05-05 Keith Seitz <keiths@redhat.com>
7520
7521 * gdb.linespec/ls-dollar.exp: Add test for linespec
7522 file:convenience_variable.
7523
290a839c
YQ
75242014-05-05 Yao Qi <yao@codesourcery.com>
7525
7526 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7527 traceframes into tfile and ctf trace files. Read data from
7528 trace file and test collected data.
7529 (gdb_collect_locals_test): Likewise.
7530 (gdb_unavailable_registers_test): Likewise.
7531 (gdb_unavailable_floats): Likewise.
7532 (gdb_collect_globals_test): Likewise.
7533 (top-level): Append "ctf" to trace_file_targets if GDB
7534 supports.
7535
b5262cd0
YQ
75362014-05-05 Yao Qi <yao@codesourcery.com>
7537
7538 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7539 code to ...
7540 (gdb_collect_args_test_1): ... it. New proc.
7541 (gdb_collect_locals_test): Move some code to ...
7542 (gdb_collect_locals_test_1): ... it. New proc.
7543 (gdb_unavailable_registers_test): Move some code to ...
7544 (gdb_unavailable_registers_test_1): ... it. New proc.
7545 (gdb_unavailable_floats): Move some code to ...
7546 (gdb_unavailable_floats_1): ... it. New proc.
7547
30a1e6cc
SDJ
75482014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7549
7550 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7551 probes to test for bitness recognition.
7552 * gdb.arch/amd64-stap-optional-prefix.exp
7553 (test_probe_value_without_reg): New procedure.
7554 Add code to test for different kinds of bitness.
7555
f33da99a
SDJ
75562014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7557
7558 PR breakpoints/16889
7559 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7560 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7561
5b80f00d
PA
75622014-05-01 Pedro Alves <palves@redhat.com>
7563
7564 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7565 gdb_file_cmd if no file is specified.
7566 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7567 last_loaded_file to set the remote exec-file.
7568
f8c2a73c
PA
75692014-05-01 Pedro Alves <palves@redhat.com>
7570
7571 * boards/local-remote-host.exp: New file.
7572
be6e8ac7
PA
75732014-05-01 Pedro Alves <palves@redhat.com>
7574
7575 * boards/local-remote-host.exp: Rename to ...
7576 * boards/local-remote-host-notty.exp: ... this.
7577
cac0dc8f
JB
75782014-04-28 Joel Brobecker <brobecker@adacore.com>
7579
7580 * gdb.ada/dyn_arrayidx: New testcase.
7581
9730e6cc
YQ
75822014-04-26 Yao Qi <yao@codesourcery.com>
7583
7584 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7585 and compute the length of function main. Save it in
7586 $main_length.
7587 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7588 (top-level): Use gdb_compile to compile objects into
7589 executable and restart GDB. Remove invocation to
7590 prepare_for_testing.
7591
7ae1a6a6
PA
75922014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7593 Pedro Alves <palves@redhat.com>
7594
7595 PR server/16255
7596 * gdb.multi/multi-attach.c: New file.
7597 * gdb.multi/multi-attach.exp: New file.
7598
4082afcc
PA
75992014-04-25 Pedro Alves <palves@redhat.com>
7600
7601 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7602 user.
7603 (top level): Test that "set remote conditional-breakpoints-packet
7604 off" works as intended.
7605 * gdb.base/dprintf.exp: Test that "set remote
7606 breakpoint-commands-packet off" works as intended.
7607 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7608 New function.
7609 (top level): Call it.
7610 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7611 remote fast-tracepoints-packet off" works as intended.
7612 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7613 * lib/gdb.exp (gdb_is_target_remote): ... here.
7614
2abc3f8d
DB
76152014-04-24 David Blaikie <dblaikie@gmail.com>
7616
7617 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7618 ensure clang would not discard them.
7619 * gdb.base/gdbvars.c: Ditto.
7620 * gdb.base/memattr.c: Ditto.
7621 * gdb.base/whatis.c: Ditto.
7622 * gdb.python/py-prettyprint.c: Ditto.
7623 * gdb.trace/actions.c: Ditto.
7624 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7625 ensure clang would not discard it.
7626
bfd39632
DB
76272014-04-24 David Blaikie <dblaikie@gmail.com>
7628
7629 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7630 clang to emit the full definition of type required by the test
7631 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7632
22842ff6
DB
76332014-04-24 David Blaikie <dblaikie@gmail.com>
7634
7635 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7636 coax Clang into emitting the definition of the type.
7637 * gdb.cp/pr10728-x.h (y): Ditto.
7638 * gdb.cp/pr10728-y.cc (y): Ditto.
7639
c2e827ad
DB
76402014-04-24 David Blaikie <dblaikie@gmail.com>
7641
7642 * gdb.base/label.exp: XFAIL label related tests under Clang.
7643 * gdb.cp/cplabel.exp: Ditto.
7644 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7645 under Clang those using labels.
7646
4c2d33e7
YQ
76472014-04-25 Yao Qi <yao@codesourcery.com>
7648
7649 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7650 double_label.
7651 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7652 partial_label and double_label.
7653
56083b99
DB
76542014-04-24 David Blaikie <dblaikie@gmail.com>
7655
7656 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7657
25d4e99d
DB
76582014-04-24 David Blaikie <dblaikie@gmail.com>
7659
7660 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7661 of the function to work across GCC and Clang.
7662 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7663 pointer types (const void ** const V void **).
7664
01f9f808
MS
76652014-04-24 Michael Sturm <michael.sturm@mintel.com>
7666 Walfred Tedeschi <walfred.tedeschi@intel.com>
7667
7668 * Makefile.in (EXECUTABLES): Added i386-avx512.
7669 * gdb.arch/i386-avx512.c: New file.
7670 * gdb.arch/i386-avx512.exp: Likewise.
7671
4b48d439
KS
76722014-04-23 Keith Seitz <keiths@redhat.com>
7673
7674 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7675 (mi_make_breakpoint_table): New procedure.
7676 (mi_create_breakpoint): Use mi_make_breakpoint
7677 and return the result.
7678 (mi_make_breakpoint): New procedure.
7679 (mi_build_kv_pairs): New procedure.
7680
7681 * gdb.mi/mi-break.exp: Remove unused globals,
7682 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7683 All callers updated.
7684 * gdb.mi/mi-dprintf.exp: Use variable to track command
7685 number.
7686 Update all callers of mi_create_breakpoint and use
7687 mi_make_breakpoint_table.
7688 Remove any unused global variables.
7689 * gdb.mi/mi-nonstop.exp: Likewise.
7690 * gdb.mi/mi-nsintrall.exp: Likewise.
7691 * gdb.mi/mi-nsmoribund.exp: Likewise.
7692 * gdb.mi/mi-nsthrexec.exp: Likewise.
7693 * gdb.mi/mi-reverse.exp: Likewise.
7694 * gdb.mi/mi-simplerun.exp: Likewise.
7695 * gdb.mi/mi-stepn.exp: Likewise.
7696 * gdb.mi/mi-syn-frame.exp: Likewise.
7697 * gdb.mi/mi-until.exp: Likewise.
7698 * gdb.mi/mi-var-cp.exp: Likewise.
7699 * gdb.mi/mi-var-display.exp: Likewise.
7700 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7701 * gdb.mi/mi2-var-child.exp: Likewise.
7702 * gdb.mi/mi-vla-c99.exp: Likewise.
7703 * lib/mi-support.exp: Likewise.
7704
7705 From Ian Lance Taylor <iant@cygnus.com>:
7706 * lib/gdb.exp (parse_args): New procedure.
7707
08351840
PA
77082014-04-23 Pedro Alves <palves@redhat.com>
7709
7710 * gdb.base/break-unload-file.c: New file.
7711 * gdb.base/break-unload-file.exp: New file.
7712 * gdb.base/sym-file-lib.c (baz): New function.
7713 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7714 field.
7715 (load): Store the segment's mapped size.
7716 (unload): New function.
7717 (unload_shlib): New function.
7718 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7719 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7720 set a breakpoint at baz, and call it.
7721 * gdb.base/sym-file.exp: New tests for stale breakpoint
7722 instructions.
7723
076855f9
PA
77242014-04-23 Pedro Alves <palves@redhat.com>
7725
7726 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7727 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7728 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7729 * gdb.base/hbreak-unmapped.c: New file.
7730 * gdb.base/hbreak-unmapped.exp: New file.
7731 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7732 * lib/gdb.exp (gdb_is_target_remote): ... here.
7733
483805cf
PA
77342014-04-22 Pedro Alves <palves@redhat.com>
7735
7736 * gdb.base/consecutive-step-over.c: New file.
7737 * gdb.base/consecutive-step-over.exp: New file.
7738
06d97543
PA
77392014-04-22 Pedro Alves <palves@redhat.com>
7740
7741 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7742 instead of send_gdb/gdb_expect.
7743
b4429ea2
YQ
77442014-04-22 Yao Qi <yao@codesourcery.com>
7745
7746 * lib/trace-support.exp (generate_tracefile): New procedure.
7747 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7748 return 0.
7749 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7750 if generate_tracefile returns 1.
7751
51d48146
PA
77522014-04-18 Tom Tromey <palves@redhat.com>
7753 Pedro alves <tromey@redhat.com>
7754
7755 PR backtrace/15558
7756 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7757 with a backtrace limit.
7758 * gdb.python/py-frame-inline.exp: Test running to an inline
7759 function with a backtrace limit, and printing the newest frame.
7760 * gdb.python/py-frame-inline.c (main): Call f.
7761
bd1dce5f
MS
77622014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7763
7764 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7765
40d1a503
MS
77662014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7767
7768 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7769 Drop prefix from unsupported source file path.
7770
389b98f7
YQ
77712014-04-17 Yao Qi <yao@codesourcery.com>
7772
7773 * lib/gdb.exp (with_target_charset): New proc.
7774 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7775 with_target_charset.
7776 (test_print_strings): Likewise.
7777 (test_repeat_bytes): Likewise.
7778 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7779 for some tests.
7780
22869d73
KS
77812014-04-16 Keith Seitz <keiths@redhat.com>
7782
7783 PR gdb/15827
7784 * gdb.dwarf2/corrupt.c: New file.
7785 * gdb.dwarf2/corrupt.exp: New file.
7786
c4f87ca6
KS
77872014-04-16 Keith Seitz <keiths@redhat.com>
7788
7789 PR c++/16597
7790 * gdb.cp/namelessclass.cc: New file.
7791 * gdb.cp/namelessclass.exp: New file.
7792 * gdb.cp/namelessclass.S: New file.
7793
ab19de87
DE
77942014-04-16 Doug Evans <dje@google.com>
7795
7796 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7797 Add comment.
7798 (gdbserver_default_get_comm_port): New function.
7799 (gdbserver_start): Check if board file provided
7800 "gdbserver,get_comm_port" and use it if so.
7801 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7802 (gdb,socketport): Set to "stdio".
7803 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7804 (stdio_gdbserver_template): Delete.
7805 (${board}_get_remote_address): Update.
7806 (${board}_build_remote_cmd): Delete.
7807 (${board}_get_comm_port): New function.
7808 (${board}_spawn): Update.
7809 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7810 Delete.
7811 (${board}_get_remote_address): Update.
7812 (${board}_get_comm_port): New function.
7813
fc98a809
AB
78142014-04-16 Andrew Burgess <aburgess@broadcom.com>
7815
7816 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7817 appearing in any order.
7818
87fd9e6e
DE
78192014-04-15 Doug Evans <dje@google.com>
7820
7821 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7822 uninitialized value of "description".
7823
099fc3ea
KS
78242014-04-15 Keith Seitz <keiths@redhat.com>
7825
7826 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7827 Remove unused globals.
7828 (test_running_the_program): Likewise.
7829 (test_controlled_execution): Likewise.
7830 (test_controlling_breakpoints): Likewise.
7831 (test_program_termination): Likewise.
7832
5da151d4
KS
78332014-04-15 Keith Seitz <keiths@redhat.com>
7834
7835 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7836 unused globals.
7837 (test_rbreak_creation_and_listing): Likewise.
7838 (test_ignore_count): Likewise.
7839 (test_error): Likewise.
7840
35e5d2f0
PA
78412014-04-15 Pedro Alves <palves@redhat.com>
7842
7843 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7844 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7845 sym-file-loader.c.
7846 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7847 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7848 to sym-file-loader.c.
7849 (struct library): Forward declare.
7850 (load_shlib, lookup_function): Change prototypes.
7851 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7852 (translate_offset): Remove declarations.
7853 (get_text_addr): New declaration.
7854 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7855 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7856 sym-file-loader.h.
7857 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7858 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7859 here from sym-file-loader.h.
7860 (struct library): New structure.
7861 (load_shlib, lookup_function): Change prototypes and adjust to
7862 work with a struct library.
7863 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7864 (translate_offset): Make static.
7865 (get_text_addr): New function.
7866 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7867
eb4c1710
PA
78682014-04-15 Pedro Alves <palves@redhat.com>
7869
7870 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7871
2d1baf52
PA
78722014-04-15 Pedro Alves <palves@redhat.com>
7873
7874 * gdb.base/sym-file-loader.c: Include <limits.h>.
7875 (SELF_LINK): New define.
7876 (get_origin): New function.
7877 (load_shlib): Use it.
7878 * gdb.base/sym-file.exp: Don't early return if the target is
7879 remote. Use runto_main, and issue fail is that fails. Use
7880 gdb_load_shlibs.
7881 (shlib_name): Delete.
7882 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7883
7dd6df01
PA
78842014-04-15 Pedro Alves <palves@redhat.com>
7885
7886 * gdb.base/sym-file.exp: Remove regex characters from test
7887 message. Don't refer to breakpoint numbers in test messages.
7888
b50c8614
KS
78892014-04-14 Keith Seitz <keiths@redhat.com>
7890
7891 PR c++/16253
7892 * gdb.cp/var-tag.cc: New file.
7893 * gdb.cp/var-tag.exp: New file.
7894 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7895 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7896 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7897 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7898
3d567982
TT
78992014-04-14 Tom Tromey <tromey@redhat.com>
7900
7901 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7902 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7903 type.
7904 * gdb.cp/enum-class.exp: New file.
7905 * gdb.cp/enum-class.cc: New file.
7906
0626fc76
TT
79072014-04-14 Tom Tromey <tromey@redhat.com>
7908
7909 * gdb.dwarf2/enum-type.exp: New file.
7910
dca325b3
SA
79112014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7912
7913 * gdb.mi/mi-vla-c99.exp: New file.
7914 * gdb.mi/vla.c: New file.
7915
5854b38a
SA
79162014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7917
7918 * gdb.base/vla-datatypes.c: New file.
7919 * gdb.base/vla-datatypes.exp: New file.
7920
463bb957
SA
79212014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7922
7923 * gdb.base/vla-ptr.c: New file.
7924 * gdb.base/vla-ptr.exp: New file.
7925
3dd170be
SA
79262014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7927
7928 * gdb.dwarf2/count.exp: New file.
7929
5ecaaa66
SA
79302014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7931
7932 * gdb.base/vla-sideeffect.c: New file.
7933 * gdb.base/vla-sideeffect.exp: New file.
7934
41f1ada5
DB
79352014-04-14 David Blaikie <dblaikie@gmail.com>
7936
7937 * gdb.mi/non-stop.c: Add return value for non-void function return
7938 statement.
7939 * gdb.threads/staticthreads.c: Ditto.
7940
0be03e84
DE
79412014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7942 Doug Evans <xdje42@gmail.com>
7943
7944 * gdb.guile/scm-value.c: Improve test case.
7945 * gdb.guile/scm-value.exp: Add new test.
7946
f180a1fb
DB
79472014-04-11 David Blaikie <dblaikie@gmail.com>
7948
7949 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7950 override Clang's default.
7951
6b662e19
JB
79522014-04-11 Joel Brobecker <brobecker@adacore.com>
7953
7954 Revert the following changes (regressions):
7955
7956 * gdb.base/vla-sideeffect.c: New file.
7957 * gdb.base/vla-sideeffect.exp: New file.
7958
7959 * gdb.dwarf2/count.exp: New file.
7960
7961 * gdb.base/vla-multi.c: New file.
7962 * gdb.base/vla-multi.exp: New file.
7963
7964 * gdb.base/vla-ptr.c: New file.
7965 * gdb.base/vla-ptr.exp: New file.
7966
7967 * gdb.base/vla-datatypes.c: New file.
7968 * gdb.base/vla-datatypes.exp: New file.
7969
7970 * gdb.mi/mi-vla-c99.exp: New file.
7971 * gdb.mi/vla.c: New file.
7972
245a5f0b
KS
79732014-04-11 Keith Seitz <keiths@redhat.com>
7974
7975 PR c++/16675
7976 * gdb.cp/cpsizeof.exp: New file.
7977 * gdb.cp/cpsizeof.cc: New file.
7978
58a84dcf
SA
79792014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7980
191a8a90
JB
7981 * gdb.mi/mi-vla-c99.exp: New file.
7982 * gdb.mi/vla.c: New file.
58a84dcf 7983
c8655f75
SA
79842014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7985
7986 * gdb.base/vla-datatypes.c: New file.
7987 * gdb.base/vla-datatypes.exp: New file.
7988
024e13b4
SA
79892014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7990
7991 * gdb.base/vla-ptr.c: New file.
7992 * gdb.base/vla-ptr.exp: New file.
7993
1a237e0e
SA
79942014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7995
7996 * gdb.base/vla-multi.c: New file.
7997 * gdb.base/vla-multi.exp: New file.
7998
504f3432
SA
79992014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8000
8001 * gdb.dwarf2/count.exp: New file.
8002
3bce8237
SA
80032014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8004
191a8a90
JB
8005 * gdb.base/vla-sideeffect.c: New file.
8006 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 8007
322f9c21
YQ
80082014-04-11 Yao Qi <yao@codesourcery.com>
8009
8010 * gdb.base/completion.exp: Check file exists before running tests
8011 on file completion.
8012
d708bcd1
PA
80132014-04-10 Pedro Alves <palves@redhat.com>
8014
8015 * gdb.base/cond-eval-mode.c: New file.
8016 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8017 prepare_for_testing to build the new file. Check result of
8018 runto_main.
8019 (test_break, test_watch): New procedures.
8020 (top level): Use them.
8021
ae1d2761
PM
80222014-04-08 Pierre Muller <muller@sourceware.org>
8023
8024 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8025 Ctrl-V use for mingw hosts.
8026
7af389b8
SC
80272014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8028
8029 * gdb.python/py-value.c: Improve test case.
8030 * gdb.python/py-value.exp: Add new test.
8031
5e703181
DE
80322014-04-07 David Blaikie <dblaikie@gmail.com>
8033
8034 * lib/compiler.c: Identify the clang compiler.
8035 * lib/compiler.cc: Ditto.
8036
9810b410
YQ
80372014-04-03 Yao Qi <yao@codesourcery.com>
8038
8039 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8040
98d1b8dc
AB
80412014-04-01 Anton Blanchard <anton@samba.org>
8042
8043 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8044 messages unique.
8045
3114cea1
AB
80462014-04-01 Anton Blanchard <anton@samba.org>
8047
8048 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8049 prepare_for_testing.
8050
62f7182c
AB
80512014-04-01 Anton Blanchard <anton@samba.org>
8052
8053 * gdb.arch/ppc64-atomic-inst.c: Remove.
8054 * gdb.arch/ppc64-atomic-inst.S: New file.
8055 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8056
770e7fc7
DE
80572014-03-31 Doug Evans <dje@google.com>
8058
8059 * gdb.base/print-symbol-loading-lib.c: New file.
8060 * gdb.base/print-symbol-loading-main.c: New file.
8061 * gdb.base/print-symbol-loading.exp: New file.
8062
46e2bafa
YQ
80632014-03-31 Yao Qi <yao@codesourcery.com>
8064
8065 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8066
8776cfe9
JB
80672014-03-28 Joel Brobecker <brobecker@adacore.com>
8068
8069 * gdb.ada/mi_dyn_arr: New testcase.
8070
5d1ef361
DE
80712014-03-27 Doug Evans <dje@google.com>
8072
8073 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8074
b5bee914
YQ
80752014-03-27 Yao Qi <yao@codesourcery.com>
8076
8077 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8078 if target is nios2-*-*.
8079
0d4d0e77
YQ
80802014-03-26 Yao Qi <yao@codesourcery.com>
8081
8082 * lib/gdb.exp (readline_is_used): New proc.
8083 * gdb.base/completion.exp: Move tests on command complete up.
8084 Skip the rest of tests if readline is not used.
8085 * gdb.ada/complete.exp: Skp the test if readline is not
8086 used.
8087 * gdb.base/filesym.exp: Likewise.
8088 * gdb.base/macscp.exp: Likewise.
8089 * gdb.base/readline-ask.exp: Likewise.
8090 * gdb.base/readline.exp: Likewise.
8091 * gdb.python/py-cmd.exp: Likewise.
8092 * gdb.trace/tfile.exp: Likewise.
8093
29361eee
YQ
80942014-03-26 Yao Qi <yao@codesourcery.com>
8095
8096 * gdb.base/macscp.exp: Fix code format issues.
8097
bc9a5525
UW
80982014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8099
8100 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8101 * gdb.asm/powerpc64le.inc: New file.
8102
d3839ede
PA
81032014-03-25 Pedro Alves <palves@redhat.com>
8104 Doug Evans <dje@google.com>
8105
8106 * gdb.base/source-execution.c: New file.
8107 * gdb.base/source-execution.exp: New file.
8108 * gdb.base/source-execution.gdb: New file.
8109
01672a57
DE
81102014-03-24 Doug Evans <dje@google.com>
8111
8112 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8113 using fission.
8114
88bbeca9
HZ
81152014-03-24 Hui Zhu <hui@codesourcery.com>
8116 Pedro Alves <palves@redhat.com>
8117
8118 PR breakpoints/16101
8119 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8120 test pass/fail messages. Detect missing support for dprintf when
8121 breakpoints are actually inserted.
8122 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8123 breakpoints are actually inserted.
8124 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8125 fails.
8126
d2348791
JK
81272014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8128
8129 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8130
feef67ab
DE
81312014-03-22 Doug Evans <xdje42@gmail.com>
8132
8133 * gdb.python/python.exp (python not supported): Verify multi-line
8134 python command issues an error.
25d743f9 8135 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 8136 guile command issues an error.
feef67ab 8137
ecebef6a
MR
81382014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8139
8140 * gdb.threads/thread-specific.exp: Handle the lack of usable
8141 $this_breakpoint and $this_thread.
8142
ccdd1909
HZ
81432014-03-21 Hui Zhu <hui@codesourcery.com>
8144
8145 * gdb.base/attach.exp (do_command_attach_tests): New.
8146
beb460e8
PA
81472014-03-20 Tom Tromey <tromey@redhat.com>
8148 Pedro Alves <palves@redhat.com>
8149
8150 PR cli/15718
8151 * gdb.base/condbreak-call-false.c: New file.
8152 * gdb.base/condbreak-call-false.exp: New file.
8153
40acf43a
PA
81542014-03-20 Pedro Alves <palves@redhat.com>
8155
8156 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8157 Delete.
8158 (block_signals, unblock_signals): Delete.
8159 (child_function_2, main): Remove references to deleted variable
8160 and functions.
8161
9f5e1e02
PA
81622014-03-20 Pedro Alves <palves@redhat.com>
8163
8164 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8165 Use pthread_kill to signal thread 2.
8166 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8167 Adjust to make the test send itself a signal rather than using the
8168 host's "kill" command.
8169
99619bea
PA
81702014-03-20 Pedro Alves <palves@redhat.com>
8171
8172 * gdb.threads/multiple-step-overs.c: New file.
8173 * gdb.threads/multiple-step-overs.exp: New file.
8174 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8175 Adjust expected infrun debug output.
8176
2adfaa28
PA
81772014-03-20 Pedro Alves <palves@redhat.com>
8178
8179 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8180 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8181
31e77af2
PA
81822014-03-20 Pedro Alves <palves@redhat.com>
8183
8184 PR breakpoints/7143
8185 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8186 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8187 of gdb_test_multiple.
8188 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8189 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8190
b9f437de
PA
81912014-03-20 Pedro Alves <palves@redhat.com>
8192
8193 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8194 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8195
05adc73e
PA
81962014-03-19 Pedro Alves <palves@redhat.com>
8197
8198 * gdb.base/async.exp: Remove early return.
8199
6048b950
PA
82002014-03-19 Pedro Alves <palves@redhat.com>
8201
8202 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8203
8bcfb00a
PA
82042014-03-19 Pedro Alves <palves@redhat.com>
8205
8206 * gdb.base/async.exp (test_background): Expect \r\n after
8207 "completed." in the fail pattern.
8208
884e37dc
PA
82092014-03-19 Pedro Alves <palves@redhat.com>
8210
8211 * gdb.base/async.exp (test_background): New procedure.
8212 Use it for all background execution command tests.
8213
148e57e2
PA
82142014-03-19 Pedro Alves <palves@redhat.com>
8215
8216 * gdb.base/async.exp: Use prepare_for_testing.
8217
f48088c7
PA
82182014-03-19 Pedro Alves <palves@redhat.com>
8219
8220 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8221 the same line.
8222
e2f6c966
PA
82232014-03-19 Pedro Alves <palves@redhat.com>
8224
8225 * gdb.base/async.c (main): Add "jump here" and "until here" line
8226 marker comments.
8227 * gdb.base/async.exp (jump_here): New global.
8228 (jump& test): Use it.
8229 (until_here): New global.
8230 (until& test): Use it.
8231
c30568d4
PA
82322014-03-19 Pedro Alves <palves@redhat.com>
8233
8234 * gdb.base/async.exp: Don't frob gdb_protocol.
8235
0172b6a7
DE
82362014-03-18 Doug Evans <xdje42@gmail.com>
8237
8238 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8239 Fix spelling of exec-done-display.
8240
06c868a8
JK
82412014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8242
8243 PR gdb/15358
8244 * gdb.base/gdb-sigterm.c: New file.
8245 * gdb.base/gdb-sigterm.exp: New file.
8246
0c7e1a46
PA
82472014-03-18 Pedro Alves <palves@redhat.com>
8248
8249 PR gdb/13860
8250 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8251 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8252 solib-event.
8253
f7c77d93
JB
82542014-03-17 Joel Brobecker <brobecker@adacore.com>
8255
8256 * gdb.ada/pckd_arr_ren: New testcase.
8257
5a1e8c7a
DE
82582014-03-13 Doug Evans <xdje42@gmail.com>
8259
8260 PR guile/16612
8261 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8262 collect after discarding symbols.
8263
350e1a76
DE
82642014-03-13 Ludovic Courtès <ludo@gnu.org>
8265 Doug Evans <xdje42@gmail.com>
8266
8267 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8268 to history survives a gc.
8269
a69900ae
PA
82702014-03-13 Pedro Alves <palves@redhat.com>
8271
8272 * gdb.base/default.exp: Don't test "target procfs".
8273
5db9f0bd
PA
82742014-03-13 Pedro Alves <palves@redhat.com>
8275
8276 * gdb.base/default.exp: Update "target child" and "target procfs"
8277 tests to not expect "Unix".
8278
b3ccfe11
TT
82792014-03-12 Tom Tromey <tromey@redhat.com>
8280
8281 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8282 New procs. Add target-async tests.
8283 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8284 Add target-async tests.
8285
646f4417
AA
82862014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8287
8288 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8289 'func_start' and 'func_end' for the beginning and end of the
8290 function code, respectively.
8291 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8292 'func_end' instead of 'func' and 'main'.
8293
288c211f
AA
82942014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8295
8296 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8297 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8298 generate the debug info assembler source.
8299
e0c0f156
AA
83002014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8301
8302 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8303 * gdb.dwarf2/arr-subrange.exp: Likewise.
8304 * gdb.dwarf2/dwz.exp: Likewise.
8305 * gdb.dwarf2/method-ptr.exp: Likewise.
8306 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8307 * gdb.dwarf2/subrange.exp: Likewise.
8308 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8309 * gdb.dwarf2/implptrpiece.exp: Likewise.
8310 * gdb.dwarf2/nostaticblock.exp: Likewise.
8311
0e5c4555
AA
83122014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8313
8314 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8315 directory to absolute path name arguments.
8316
5ec18f2b
JG
83172014-03-10 Joel Brobecker <brobecker@adacore.com>
8318
8319 * gdb.ada/tagged_access: New testcase.
8320
847fc4f2
MM
83212014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8322
8323 * gdb.btrace/data.exp: Update expected output.
8324
cc3da688
YQ
83252014-03-06 Yao Qi <yao@codesourcery.com>
8326
8327 * gdb.trace/pr16508.exp: New file.
8328
0f26cec1
PA
83292014-03-05 Pedro Alves <palves@redhat.com>
8330
8331 PR gdb/16575
8332 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8333 procedure.
8334 (top level): Adjust to use it. Add tests that exercise breakpoint
8335 interaction with the code-cache.
8336
7a5a839f
LC
83372014-02-26 Ludovic Courtès <ludo@gnu.org>
8338
8339 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8340 test for 'history-append!'.
8341
31aa7e4e
JB
83422014-02-26 Joel Brobecker <brobecker@adacore.com>
8343
8344 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8345 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8346 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8347 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8348 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8349 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8350
1b588015
JB
83512014-02-26 Joel Brobecker <brobecker@adacore.com>
8352
8353 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8354 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8355 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8356
55426c9d
JB
83572014-02-26 Joel Brobecker <brobecker@adacore.com>
8358
8359 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8360
dc53a7ad
JB
83612014-02-26 Joel Brobecker <brobecker@adacore.com>
8362
8363 * gdb.dwarf2/arr-stride.c: New file.
8364 * gdb.dwarf2/arr-stride.exp: New file.
8365
12ab52e9
PA
83662014-02-26 Pedro Alves <palves@redhat.com>
8367
8368 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8369 that won't ever trigger. Make sure that GDB reports the correct
8370 breakpoint that caused the stop.
8371
849c862e
JK
83722014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8373
8374 PR gdb/16626
8375 * gdb.base/auto-load-script: New file.
8376 * gdb.base/auto-load.c: New file.
8377 * gdb.base/auto-load.exp: New file.
8378
71b7d793
JK
8379 PR gdb/16626
8380 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8381
e2f0d509
JK
83822014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8383
8384 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8385 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8386
50cc37c8
DE
83872014-02-24 Doug Evans <dje@google.com>
8388
8389 * lib/gdb.exp (run_on_host): Log error output if program fails.
8390
ea4758f2
PA
83912014-02-21 Pedro Alves <palves@redhat.com>
8392
8393 * gdb.threads/step-after-sr-lock.c: Rename to ...
8394 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8395 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8396 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8397 ... this.
8398
d7b30f67
SDJ
83992014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8400
8401 PR tdep/16397
8402 * gdb.arch/amd64-stap-special-operands.exp: New file.
8403 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8404 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8405 * gdb.arch/amd64-stap-triplet.S: Likewise.
8406 * gdb.arch/amd64-stap-triplet.c: Likewise.
8407
83deb43f
JB
84082014-02-20 Joel Brobecker <brobecker@adacore.com>
8409
8410 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8411 in .section pseudo-op.
8412
adde2bff
DE
84132014-02-20 lin zuojian <manjian2006@gmail.com>
8414 Joel Brobecker <brobecker@adacore.com>
8415 Doug Evans <xdje42@gmail.com>
8416
8417 PR symtab/16581
8418 * gdb.dwarf2/dw2-icycle.S: New file.
8419 * gdb.dwarf2/dw2-icycle.c: New file.
8420 * gdb.dwarf2/dw2-icycle.exp: New file.
8421
f7bd0f78
SC
84222014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8423
8424 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8425 operations on gdb.Value objects.
8426 * gdb.python/py-value-cc.exp: Add new test to test operations on
8427 gdb.Value objects.
8428
c17ef0d5
DE
84292014-02-18 Doug Evans <dje@google.com>
8430
8431 * Makefile.in (TESTS): New variable.
8432 (expanded_tests, expanded_tests_or_none): New variables
8433 (check-single): Pass $(expanded_tests_or_none) to runtest.
8434 (check-parallel): Only run tests in $(TESTS) if non-empty.
8435 (check/no-matching-tests-found): New rule.
8436 * README: Document TESTS makefile variable.
8437
5dd3176f
DE
84382014-02-18 Doug Evans <dje@google.com>
8439
8440 * Makefile.in (check-parallel): rm -rf outputs temp.
8441
0b10be4f
JK
84422014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8443
8444 Fix "ERROR: no fileid for" in the testsuite.
8445 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8446
85f224e7
DE
84472014-02-12 Doug Evans <dje@google.com>
8448
8449 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8450 (MISCELLANEOUS): New variable.
8451 (clean): rm -rf $(MISCELLANEOUS).
8452 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8453 dwp live in the same directory as symlinks, with each symlink pointed
8454 to a differently named file in a different directory.
8455
149b30ff
DE
84562014-02-11 Doug Evans <dje@google.com>
8457
8458 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8459 of Tcl file commands.
8460
1dfdac32
MK
84612014-02-10 Mark Kettenis <kettenis@gnu.org>
8462
8463 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8464 "kill -SIGUSR1 -1".
8465
aa4fb036
JB
84662014-02-10 Joel Brobecker <brobecker@adacore.com>
8467
8468 * gdb.ada/tick_length_array_enum_idx: New testcase.
8469
ed3ef339
DE
84702014-02-10 Doug Evans <xdje42@gmail.com>
8471
8472 * configure.ac (AC_OUTPUT): Add gdb.guile.
8473 * configure: Regenerate.
8474 * lib/gdb-guile.exp: New file.
8475 * lib/gdb.exp (get_target_charset): New function.
8476 * gdb.base/help.exp: Update expected output from "apropos apropos".
8477 * gdb.guile/Makefile.in: New file.
8478 * gdb.guile/guile.exp: New file.
8479 * gdb.guile/scm-arch.c: New file.
8480 * gdb.guile/scm-arch.exp: New file.
8481 * gdb.guile/scm-block.c: New file.
8482 * gdb.guile/scm-block.exp: New file.
8483 * gdb.guile/scm-breakpoint.c: New file.
8484 * gdb.guile/scm-breakpoint.exp: New file.
8485 * gdb.guile/scm-disasm.c: New file.
8486 * gdb.guile/scm-disasm.exp: New file.
8487 * gdb.guile/scm-equal.c: New file.
8488 * gdb.guile/scm-equal.exp: New file.
8489 * gdb.guile/scm-error.exp: New file.
8490 * gdb.guile/scm-error.scm: New file.
8491 * gdb.guile/scm-frame-args.c: New file.
8492 * gdb.guile/scm-frame-args.exp: New file.
8493 * gdb.guile/scm-frame-args.scm: New file.
8494 * gdb.guile/scm-frame-inline.c: New file.
8495 * gdb.guile/scm-frame-inline.exp: New file.
8496 * gdb.guile/scm-frame.c: New file.
8497 * gdb.guile/scm-frame.exp: New file.
8498 * gdb.guile/scm-generics.exp: New file.
8499 * gdb.guile/scm-gsmob.exp: New file.
8500 * gdb.guile/scm-iterator.c: New file.
8501 * gdb.guile/scm-iterator.exp: New file.
8502 * gdb.guile/scm-math.c: New file.
8503 * gdb.guile/scm-math.exp: New file.
8504 * gdb.guile/scm-objfile-script-gdb.in: New file.
8505 * gdb.guile/scm-objfile-script.c: New file.
8506 * gdb.guile/scm-objfile-script.exp: New file.
8507 * gdb.guile/scm-objfile.c: New file.
8508 * gdb.guile/scm-objfile.exp: New file.
8509 * gdb.guile/scm-ports.exp: New file.
8510 * gdb.guile/scm-pretty-print.c: New file.
8511 * gdb.guile/scm-pretty-print.exp: New file.
8512 * gdb.guile/scm-pretty-print.scm: New file.
8513 * gdb.guile/scm-section-script.c: New file.
8514 * gdb.guile/scm-section-script.exp: New file.
8515 * gdb.guile/scm-section-script.scm: New file.
8516 * gdb.guile/scm-symbol.c: New file.
8517 * gdb.guile/scm-symbol.exp: New file.
8518 * gdb.guile/scm-symtab-2.c: New file.
8519 * gdb.guile/scm-symtab.c: New file.
8520 * gdb.guile/scm-symtab.exp: New file.
8521 * gdb.guile/scm-type.c: New file.
8522 * gdb.guile/scm-type.exp: New file.
8523 * gdb.guile/scm-value-cc.cc: New file.
8524 * gdb.guile/scm-value-cc.exp: New file.
8525 * gdb.guile/scm-value.c: New file.
8526 * gdb.guile/scm-value.exp: New file.
8527 * gdb.guile/source2.scm: New file.
8528 * gdb.guile/types-module.cc: New file.
8529 * gdb.guile/types-module.exp: New file.
8530
7026a7c1
YQ
85312014-02-10 Yao Qi <yao@codesourcery.com>
8532
8533 PR testsuite/16543
8534 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8535 * configure: Regenerated.
8536 * Makefile.in: New file.
8537
6c466447
AS
85382014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8539
8540 * gdb.python/py-framefilter.exp: Fix typo.
8541
6e854735
YQ
85422014-02-08 Yao Qi <yao@codesourcery.com>
8543
8544 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8545 that no =breakpoint-modified is emitted when breakpoints are
8546 modified through MI commands.
8547
d137e6dc
PA
85482014-02-07 Pedro Alves <pedro@codesourcery.com>
8549 Pedro Alves <palves@redhat.com>
8550
8551 * gdb.threads/step-after-sr-lock.c: New file.
8552 * gdb.threads/step-after-sr-lock.exp: New file.
8553
b5ee5a50
PA
85542014-02-07 Pedro Alves <palves@redhat.com>
8555
8556 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8557
3c77faf3
JK
85582014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8559
8560 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8561 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8562
6dddc817
DE
85632014-02-06 Doug Evans <xdje42@gmail.com>
8564
8565 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8566 output.
8567
8568 * gdb.gdb/python-interrupts.exp: New file.
8569
de7b2893
YQ
85702014-02-05 Yao Qi <yao@codesourcery.com>
8571
8572 * gdb.trace/report.exp (use_collected_data): Test the output
8573 of "info threads" and "info inferiors".
8574
66d032ac
YQ
85752014-02-05 Yao Qi <yao@codesourcery.com>
8576
8577 Revert this patch:
8578
8579 2013-05-24 Yao Qi <yao@codesourcery.com>
8580
8581 * gdb.trace/tfile.exp: Test inferior and thread.
8582
591a12a1
UW
85832014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8584
8585 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8586 on a function.
8587 * gdb.base/step-bt.c: Call hello via function pointer to make
8588 sure its first instruction is executed on powerpc64le-linux.
8589
0ff3e01f
UW
85902014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8591
8592 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8593
084ee545
UW
85942014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8595
8596 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8597 of the test patterns for use on little-endian systems.
8598
6ed14ff3
UW
85992014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8600
8601 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8602 (decimal_vector): Fix for little-endian.
8603
401e27fd
JM
86042014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8605
8606 * gdb.arch/sparc-sysstep.exp: New file.
8607 * gdb.arch/sparc-sysstep.c: Likewise.
8608
8609 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8610
8b924729
EBM
86112014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8612
8613 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8614
fb151210
JB
86152014-01-23 Tom Tromey <tromey@redhat.com>
8616
8617 * gdb.ada/array_char_idx: New testcase.
8618
0740f8d8
TT
86192014-01-23 Tom Tromey <tromey@redhat.com>
8620
8621 PR python/16487:
8622 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8623 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8624 classes.
8625
21909fa1
TT
86262014-01-23 Tom Tromey <tromey@redhat.com>
8627
8628 PR python/16491:
8629 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8630 string from an inferior frame.
8631 * gdb.python/py-framefilter-mi.exp: Update.
8632
87ce2a04
DE
86332014-01-22 Doug Evans <dje@google.com>
8634
8635 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8636
237b092b
AA
86372014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8638
8639 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8640
d674a709
AA
86412014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8642
8643 * gdb.trace/entry-values.exp: Remove excess space character from
8644 regex patterns. Handle s390 call instruction.
8645
20fa3390
AA
86462014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8647
8648 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8649 define "*_start" label. Make "name" static.
8650 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8651 ${name} by references to ${name}_start.
8652
78466714
AA
86532014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8654
8655 * gdb.base/info-macros.exp: Remove "debug" from the compile
8656 options.
8657
ec9f644a
IB
86582014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8659
8660 * gdb.dlang/demangle.exp: New file.
8661
94b1b47e
IB
86622014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8663
8664 * gdb.dlang/primitive-types.exp: New file.
8665
7f420862
IB
86662014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8667
8668 * configure.ac: Create gdb.dlang/Makefile.
8669 * configure: Regenerate.
8670 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8671 * gdb.dlang/Makefile.in: New file.
8672 * lib/d-support.exp: New file.
8673 * lib/gdb.exp (skip_d_tests): New proc.
8674
52834460
MM
86752014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8676
8677 * gdb.btrace/delta.exp: Check reverse stepi.
8678 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8679 * gdb.btrace/finish.exp: New.
8680 * gdb.btrace/next.exp: New.
8681 * gdb.btrace/nexti.exp: New.
8682 * gdb.btrace/record_goto.c: Add comments.
8683 * gdb.btrace/step.exp: New.
8684 * gdb.btrace/stepi.exp: New.
8685 * gdb.btrace/multi-thread-step.c: New.
8686 * gdb.btrace/multi-thread-step.exp: New.
8687 * gdb.btrace/rn-dl-bind.c: New.
8688 * gdb.btrace/rn-dl-bind.exp: New.
8689 * gdb.btrace/data.c: New.
8690 * gdb.btrace/data.exp: New.
8691 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8692
6e07b1d2
MM
86932014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8694
8695 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8696 * gdb.btrace/exception.exp: Update.
8697 * gdb.btrace/instruction_history.exp: Update.
8698 * gdb.btrace/record_goto.exp: Update.
8699 * gdb.btrace/tailcall.exp: Update.
8700 * gdb.btrace/unknown_functions.exp: Update.
8701 * gdb.btrace/delta.exp: New.
8702
0b722aec
MM
87032014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8704
8705 * gdb.btrace/record_goto.exp: Add backtrace test.
8706 * gdb.btrace/tailcall.exp: Add backtrace test.
8707
066ce621
MM
87082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8709
8710 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8711 * gdb.btrace/record_goto.c: New.
8712 * gdb.btrace/record_goto.exp: New.
8713 * gdb.btrace/x86-record_goto.S: New.
8714
0688d04e
MM
87152014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8716
8717 * gdb.btrace/function_call_history.exp: Update tests.
8718 * gdb.btrace/instruction_history.exp: Update tests.
8719
8710b709
MM
87202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8721
8722 * gdb.btrace/function_call_history.exp: Fix expected field
8723 order for "record function-call-history".
8724 Add new tests for "record function-call-history /c".
8725 * gdb.btrace/exception.cc: New.
8726 * gdb.btrace/exception.exp: New.
8727 * gdb.btrace/tailcall.exp: New.
8728 * gdb.btrace/x86-tailcall.S: New.
8729 * gdb.btrace/x86-tailcall.c: New.
8730 * gdb.btrace/unknown_functions.c: New.
8731 * gdb.btrace/unknown_functions.exp: New.
8732 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8733
5de9129b
MM
87342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8735
8736 * gdb.btrace/instruction_history.exp: Update.
8737 * gdb.btrace/function_call_history.exp: Update.
8738
23a7fe75
MM
87392014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8740
8741 * gdb.btrace/function_call_history.exp: Fix expected function
8742 trace.
8743 * gdb.btrace/instruction_history.exp: Initialize traced.
8744 Remove traced_functions.
8745
724c7dd8
MM
87462014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8747
8748 * gdb.btrace/function_call_history.exp: Update
8749 * gdb.btrace/instruction_history.exp: Update.
8750
6d78d93b
MM
87512014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8752
8753 * gdb.btrace/enable.exp: Update expected text.
8754
93a360cc
OJ
87552014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8756
8757 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8758 bytes.
8759
3772b53f
MR
87602014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8761
8762 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8763
596662fa
OJ
87642014-01-15 Omair Javaid <omair.javaid@linaro.org>
8765
8766 * lib/gdb.exp (supports_process_record): Return true for
8767 arm*-linux*. (supports_reverse): Likewise.
8768
b5b08fb4
SC
87692014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8770
8771 PR python/15464
8772 PR python/16113
8773 * gdb.python/py-type.c: Enhance test case.
8774 * gdb.python/py-value-cc.cc: Likewise
8775 * gdb.python/py-type.exp: Add new tests.
8776 * gdb.python/py-value-cc.exp: Likewise
8777
52d7fb13
AA
87782014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8779 Pedro Alves <palves@redhat.com>
8780
8781 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8782 Make "name" extern.
8783 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8784 references to ${name}_start by references to ${name}.
8785
a2cd8cfe
JB
87862014-01-10 Joel Brobecker <brobecker@adacore.com>
8787
8788 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8789
4e23fced
JB
87902014-01-10 Joel Brobecker <brobecker@adacore.com>
8791
8792 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8793
c6a9e42c
PA
87942014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8795 Pedro Alves <palves@redhat.com>
8796
8797 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 8798 mi_gdb_target_load.
c6a9e42c 8799
b7ea362b
PA
88002014-01-08 Pedro Alves <palves@redhat.com>
8801
8802 * gdb.threads/reconnect-signal.c: New file.
8803 * gdb.threads/reconnect-signal.exp: New file.
8804
5e3f4fab
EBM
88052014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8806
8807 * gdb.base/source-dir.exp: New file.
8808
79301218
JB
88092014-01-07 Joel Brobecker <brobecker@adacore.com>
8810
8811 * gdb.ada/mi_interface: New testcase.
8812
8e355c5d
JB
88132014-01-07 Joel Brobecker <brobecker@adacore.com>
8814
8815 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8816 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8817 gdb.ada/pp-rec-component/pck.ads: New files.
8818
c0d48811
JB
88192014-01-07 Joel Brobecker <brobecker@adacore.com>
8820
8821 * gdb.python/py-pp-integral.c: New file.
8822 * gdb.python/py-pp-integral.py: New file.
8823 * gdb.python/py-pp-integral.exp: New file.
8824
17b609c3 8825For older changes see ChangeLog-1993-2013.
c906108c 8826\f
8d8cb839
EZ
8827;; Local Variables:
8828;; mode: change-log
8829;; left-margin: 8
8830;; fill-column: 74
8831;; version-control: never
8832;; End:
902f2ccb 8833
618f726f 8834 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
8835 Copying and distribution of this file, with or without modification,
8836 are permitted provided the copyright notice and this notice are preserved.
This page took 3.516432 seconds and 4 git commands to generate.