Automatic date update in version.in
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
282a0691
TT
12016-08-03 Tom Tromey <tom@tromey.com>
2
3 PR python/18565:
4 * gdb.python/py-frame-inline.exp: Add Frame.function test.
5
41bfcd63
YQ
62016-08-01 Yao Qi <yao.qi@linaro.org>
7
8 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9 variable mode to "multi-process" if $multi_process is 1, otherwise
10 set it to "single-process".
11
e3465b24
YQ
122016-08-01 Yao Qi <yao.qi@linaro.org>
13
14 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
15 * gdb.cp/cpexprs.exp: Likewise.
16 * gdb.cp/m-static.exp: Likewise.
17
0b31a4bc
TT
182016-07-26 Tom Tromey <tom@tromey.com>
19
20 PR python/20190:
21 * gdb.threads/tls.exp (check_thread_local): Add python symbol
22 test.
23
e0461dbb
MM
242016-07-26 Markus Metzger <markus.t.metzger@intel.com>
25
26 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
27 selecting assembly source files.
28 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
29 assembly source files.
30 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
31 assembly source files.
32 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
33 selecting assembly source files.
34
8194e927
SM
352016-07-25 Simon Marchi <simon.marchi@ericsson.com>
36
37 * gdb.base/new-ui.exp (do_test_invalid_args): New
38 procedure.
39
c0272db5
TW
402016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
41
42 * gdb.btrace/reconnect.c: New file.
43 * gdb.btrace/reconnect.exp: New file.
44
e3487908
GKB
452016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
46
47 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
48 to test_catch_syscall_group.
49 (test_catch_syscall_group): New.
50
12df5c00
TT
512016-07-21 Tom Tromey <tom@tromey.com>
52
53 * gdb.rust/simple.rs (main): Use empty struct expression.
54 * gdb.rust/simple.exp: Add tests for empty struct expression.
55
bae62ee2
YQ
562016-07-21 Yao Qi <yao.qi@linaro.org>
57
58 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
59 if gdb_skip_xml_test is true on some targets.
60
b1b53fb3
YQ
612016-07-21 Yao Qi <yao.qi@linaro.org>
62
63 * gdb.server/solib-list.exp: Unset last_loaded_file.
64
027d97f8
JK
652016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
66
67 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
68 "step into captured_main (args)".
69
7674d381
JK
702016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
71
72 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
73
72b5d099
JK
742016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
75
76 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
77
1f960ced
PA
782016-07-19 Pedro Alves <palves@redhat.com>
79
80 * gdb.opt/inline-break.exp: Remove optimize=-O2.
81 * gdb.opt/inline-bt.exp: Likewise.
82 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
83 additional_flags=-Winline.
84 * gdb.opt/inline-locals.exp: Likewise.
85 * gdb.opt/inline-markers.c (ATTR): Define.
86 (inlined_fn): Use it.
87
f25827c1
YQ
882016-07-19 Yao Qi <yao.qi@linaro.org>
89
90 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
91 (test_with_self): Remove some code. Remove argument executable.
92 (top-level): Use do_self_tests.
93
37539ebe
DB
942016-07-15 Zachary Welch <zwelch@codesourcery.com>
95 Don Breazeal <donb@codesourcery.com>
96
97 * gdb.base/maint.exp: Escape paths used in regular expressions.
98 * gdb.stabs/weird.exp: Likewise.
99
dac790e1
TT
1002016-07-13 Tom Tromey <tom@tromey.com>
101
102 PR python/15620, PR python/18620:
103 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
104 (test_bkpt_events): New procs.
105
93daf339
TT
1062016-07-13 Tom Tromey <tom@tromey.com>
107
108 PR python/17698:
109 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
110 test.
111 (test_watchpoints): Likewise.
112 (test_bkpt_pending): New proc.
113
6571a381
TT
1142016-07-13 Tom Tromey <tom@tromey.com>
115
116 PR cli/18053:
117 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
118 completion test.
119
e8732474
JK
1202016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
121
122 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
123 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
124 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
125 f_label.
126 (g): Rename g_end_lbl to g_label.
127 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
128 low_pc and high_pc.
129 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
130
e0f3fd7c
TT
1312016-07-12 Tom Tromey <tom@tromey.com>
132
133 PR python/19293:
134 * gdb.python/py-unwind-maint.exp: Update tests.
135
3cfe46b6
YQ
1362016-07-12 Yao Qi <yao.qi@linaro.org>
137
138 * lib/selftest-support.exp (selftest_setup): Match the output
139 when captured_main is inlined.
140
4f19a0e6
WT
1412016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
142
143 * gdb.fortran/derived-types.exp (result_line, result_line_2):
144 New variables.
145 (print this%a, print this%b, print this): New tests.
146 * gdb.fortran/derived-types.f90 (this): New object and
147 initialization.
148
986cf455
SM
1492016-07-06 Simon Marchi <simon.marchi@ericsson.com>
150
151 * gdb.ada/arraydim.exp: Remove extra directory level in build
152 directory.
153
f0464b23
SM
1542016-07-06 Simon Marchi <simon.marchi@ericsson.com>
155
156 * lib/ada.exp: Remove extra directory level in build directory.
157 * gdb.ada/cond_lang.exp: Likewise.
158 * gdb.ada/exec_changed.exp: Likewise.
159 * gdb.ada/lang_switch.exp: Likewise.
160
42d94011
MG
1612016-07-06 Manish Goregaokar <manish@mozilla.com>
162
163 * simple.rs: Add test for raw pointer subscripting
164 * simple.exp: Add test expectations
165
647c264c
YQ
1662016-07-05 Yao Qi <yao.qi@linaro.org>
167
168 * gdb.mi/mi-reverse.exp: Match =record-started output.
169
20aa2c60
PA
1702016-07-01 Pedro Alves <palves@redhat.com>
171
172 * gdb.base/jit-reader.exp (info_registers_current_frame): New
173 procedure.
174 (jit_reader_test): Test the jit reader's unwinder.
175 * gdb.base/jithost.c (jit_function_00_code): New global.
176 (main): Use memcpy to fill in the mmapped code, instead of poking
177 bytes manually here.
178 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
179 value.
180 (read_debug_info): Save the function's range.
181 (read_sp): New function.
182 (unwind_frame): Use it. Also unwind RBP.
183 (get_frame_id): Use read_sp.
184 (gdb_init_reader): Use calloc instead of malloc.
185 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
186 parameter. Use gdb_test_multiple.
187
ced2dffb
PA
1882016-07-01 Pedro Alves <palves@redhat.com>
189 Antoine Tremblay <antoine.tremblay@ericsson.com>
190
191 * gdb.threads/process-dies-while-detaching.c: New file.
192 * gdb.threads/process-dies-while-detaching.exp: New file.
193
63000888
PA
1942016-07-01 Pedro Alves <palves@redhat.com>
195
196 * gdb.multi/watchpoint-multi-exit.c: New file.
197 * gdb.multi/watchpoint-multi-exit.exp: New file.
198
038d4868
PA
1992016-06-30 Pedro Alves <palves@redhat.com>
200
201 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
202 unset inferior_spawn_id.
203
994e9c83
PA
2042016-06-30 Pedro Alves <palves@redhat.com>
205
206 * lib/mi-support.exp (default_mi_gdb_start): Declare global
207 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
208
e5653468
YQ
2092016-06-29 Yao Qi <yao.qi@linaro.org>
210
211 * gdb.base/return.c: Add copyright header.
212
803b47e5
TT
2132016-06-29 Tom Tromey <tom@tromey.com>
214
215 PR python/20129:
216 * gdb.python/py-framefilter.exp: Add tests for setting priority
217 and disabling of non-existent frame filter.
218
28244707
YQ
2192016-06-29 Yao Qi <yao.qi@linaro.org>
220
221 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
222 0x0f07ff.
223
a31d2f06
YQ
2242016-06-28 Yao Qi <yao.qi@linaro.org>
225
226 * gdb.base/catch-syscall.exp: Remove check on isnative and target
227 triplets. Start gdb, execute catch syscall, and continue. Check
228 gdb's output to determine catch syscall is supported.
229
921d8f54
MG
2302016-06-27 Manish Goregaokar <manish@mozilla.com>
231
25d49b86
PA
232 * gdb.rust/simple.rs: Add test for returning unit in a function.
233 * gdb.rust/simple.exp: Add expectation for functions returning
234 unit.
921d8f54 235
f4952523
PMR
2362016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
237
238 * gdb.python/py-breakpoint-create-fail.c,
239 gdb.python/py-breakpoint-create-fail.exp,
240 gdb.python/py-breakpoint-create-fail.py: New testcase.
241
fccb08f8
MG
2422016-06-25 Manish Goregaokar <manish@mozilla.com>
243
244 PR gdb/20239
245 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
246 * gdb.rust/simple.exp: Add test expectations for new NonZero
247 tests.
fccb08f8 248
6b850546
DT
2492016-06-24 David Taylor <dtaylor@emc.com>
250
251 * gdb.base/offsets.exp: New file.
252 * gdb.base/offsets.c: New file.
253
17621150
TT
2542016-06-23 Tom Tromey <tom@tromey.com>
255
256 PR gdb/16483:
257 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
258 before any filters are loaded.
259
04d59df6
WT
2602016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
261
262 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
263 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
264 structs.
265 * gdb.fortran/derived-type-function.exp: New file.
266 * gdb.fortran/derived-type-function.f90: New file.
267
268
ac69f786
PA
2692016-06-21 Pedro Alves <palves@redhat.com>
270
271 * gdb.base/new-ui.exp: New file.
272 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
273 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
274 (with_spawn_id): New procedure.
275
49940788
PA
2762016-06-21 Pedro Alves <palves@redhat.com>
277
278 * gdb.mi/mi-exec-run.exp: New file.
279
ef274d26
PA
2802016-06-21 Pedro Alves <palves@redhat.com>
281
282 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
283 breakpoint command's output on the main UI.
284 (test_break): New procedure, factored out from calls in the top
285 level.
286 (top level): Use foreach_with_prefix to test MI as main UI and as
287 separate UI.
288
468afe6c
PA
2892016-06-21 Pedro Alves <palves@redhat.com>
290
291 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
292 (test_awatch_creation_and_listing)
293 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
294 Remove 'type' parameter.
295 (test_watchpoint_all): New parameter mi_mode. Remove
296 with_test_prefix.
297 (top level): Use foreach_with_prefix, and add main/separate UI MI
298 testing axis.
299
51f77c37
PA
3002016-06-21 Pedro Alves <palves@redhat.com>
301
302 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
303 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
304 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
305 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
306 (gdb_main_spawn_id, mi_spawn_id): Declare and
307 comment.
308 (mi_create_inferior_pty): New procedure,
309 factored out from default_mi_gdb_start.
310 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
311 procedures.
312 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
313 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
314 Use mi_create_inferior_pty.
315 (mi_gdb_start): Use eval to pass down args list.
316
8980e177
PA
3172016-06-21 Pedro Alves <palves@redhat.com>
318
319 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
320 * gdb.opt/inline-cmds.exp: Add MI tests.
321
f38d3ad1
PA
3222016-06-21 Pedro Alves <palves@redhat.com>
323
324 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
325
45db7c09
PA
3262016-06-21 Pedro Alves <palves@redhat.com>
327
328 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
329 (top level): Use it instead of mi_execute_to.
330
5a069ab3
PA
3312016-06-21 Pedro Alves <palves@redhat.com>
332
333 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
334 (cont_handler_str): New.
335 (signal_stop_handler): Set stop_handler_str instead of printing to
336 stdout.
337 (continue_handler): Set cont_handler_str instead of printing to
338 stdout.
339 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
340 mi_send_resuming_command. Print stop_handler_str and
341 cont_handler_str instead of expecting the python events print
342 directly.
343
2838cc1d
SD
3442016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
345
346 * gdb.base/jit-reader.exp: New file.
347 * gdb.base/jithost.c: New file.
348 * gdb.base/jithost.h: New file.
349 * gdb.base/jitreader.c : New file.
350 * gdb.base/jit-protocol.h: New file.
351
21a77091
YQ
3522016-06-17 Yao Qi <yao.qi@linaro.org>
353
354 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
355 parameters follow_fork and detach_on_fork. Set follow-fork-mode
356 and detach-on-fork. Adjust tests.
357 (top level): Invoke break_cond_on_syscall with combinations of
358 syscall, follow-fork-mode and detach-on-fork.
359
f50bf8e5
YQ
3602016-06-17 Yao Qi <yao.qi@linaro.org>
361
362 * gdb.base/step-over-exit.c: New.
363 * gdb.base/step-over-exit.exp: New.
364
a28d8e50
YTL
3652016-06-17 Yan-Ting Lin <currygt52@gmail.com>
366
367 * gdb.base/float.exp: Add target check for nds32*-*-*.
368 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
369
cad8e26d
AB
3702016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
371
372 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
373 for unsupported target features.
374 * gdb.base/call-rt-st.exp: Likewise.
375 * gdb.base/call-sc.exp: Likewise.
376 * gdb.base/call-signal-resume.exp: Likewise.
377 * gdb.base/call-strs.exp: Likewise.
378 * gdb.base/callexit.exp: Likewise.
379 * gdb.base/callfuncs.exp: Likewise.
380 * gdb.base/nodebug.exp: Likewise.
381 * gdb.base/printcmds.exp: Likewise.
382 * gdb.base/ptype.exp: Likewise.
383 * gdb.base/structs.exp: Likewise.
384 * gdb.base/unwindonsignal.exp: Likewise.
385 * gdb.cp/gdb2495.exp: Likewise.
386 * gdb.cp/templates.exp: Likewise.
387 * gdb.cp/virtfunc.exp: Likewise.
388 * gdb.threads/hand-call-in-threads.exp: Likewise.
389 * gdb.threads/interrupted-hand-call.exp: Likewise.
390 * gdb.threads/thread-unwindonsignal.exp: Likewise.
391
347dc102
TT
3922016-06-10 Tom Tromey <tom@tromey.com>
393
394 PR rust/20110:
395 * gdb.rust/expr.exp: Add test for integer constant larger than
396 i32.
397
5e13cf25
BH
3982016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
399
400 * gdb.fortran/nested-funcs.exp: New.
401 * gdb.fortran/nested-funcs.f90: New.
402
bb556f1f
TK
4032016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
404
405 * gdb.base/examine-backward.c: New file.
406 * gdb.base/examine-backward.exp: New file.
407
38b022b4
SM
4082016-06-06 Simon Marchi <simon.marchi@ericsson.com>
409
410 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
411 matching.
412
1b40ec05
TT
4132016-06-02 Tom Tromey <tom@tromey.com>
414
415 PR python/18984:
416 * gdb.python/py-shared.exp: Add solib_name test.
417
193bd378
SM
4182016-06-02 Simon Marchi <simon.marchi@ericsson.com>
419
420 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
421
3326303b
MG
4222016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
423
424 PR c++/19893
425 * gdb.dwarf2/implref.exp: Rename to...
426 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
427 * gdb.dwarf2/implref-array.c: New file.
428 * gdb.dwarf2/implref-array.exp: Likewise.
429 * gdb.dwarf2/implref-global.c: Likewise.
430 * gdb.dwarf2/implref-global.exp: Likewise.
431 * gdb.dwarf2/implref-struct.c: Likewise.
432 * gdb.dwarf2/implref-struct.exp: Likewise.
433
825c8ef2
AT
4342016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
435
436 * gdb.trace/trace-condition.exp: Add 64bit tests.
437
2320162a
AT
4382016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
439
440 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
441 bits types.
442 (main): Adapt to 8 to 64 bits types.
443 * gdb.trace/trace-condition.exp: Add new tests.
444
a7818233
AT
4452016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
446
447 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
448
0d336466
AT
4492016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
450
451 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
452 Move condition tests...
453 * gdb.trace/trace-condition.exp: Here.
454
7faeb45a
AT
4552016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
456
457 * gdb.trace/trace-condition.exp: Add counter-case tests.
458
e385593e
JK
4592016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
460
461 PR c++/15231
462 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
463 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
464
744608cc
PA
4652016-05-27 Pedro Alves <palves@redhat.com>
466
467 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
468 New procedure.
469 (top level): Call it, and bail out of DejaGnu is known to be bad.
470
ac775bf4
AB
4712016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
472
473 * gdb.base/whatis.c: Extend the test case.
474 * gdb.base/whatis.exp: Add additional tests.
475
2bbad2ea
BH
4762016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
477
478* gdb.fortran/type.f90: Add pointer variable.
479* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
480
8b70175d
BH
4812016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
482
483 * gdb.fortran/vla-type.exp: Fix testcase name.
484
86d8a848
BH
4852016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
486
487 * gdb.fortran/vla-type.exp: Access elements in nested structs.
488
e188eb36
BH
4892016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
490
491 * gdb.fortran/type.f90: Add nested structures.
492 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
493 * gdb.fortran/derived-type.exp: Adapt expected output.
494 * gdb.fortran/vla-type.exp: Adapt expected output.
495
9b2db1fd
BH
4962016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
497
498 * gdb.fortran/whatis_type.exp: Adapt expected output.
499
72b17055
BH
5002016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
501
502 * gdb.fortran/print_type.exp: Fix expected output.
503 * gdb.fortran/whatis_type.exp: Fix expected output.
504
3cd81d8d
BH
5052016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
506
507 * gdb.fortran/whatis_type.exp: Use multi_line.
508
ddae9462
TT
5092016-05-24 Tom Tromey <tom@tromey.com>
510
511 PR python/17386:
512 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
513 use value as an index.
514
1957f6b8
TT
5152016-05-23 Tom Tromey <tom@tromey.com>
516
517 PR python/17981:
518 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
519 no-breakpoint case.
520
026a9174
PA
5212016-05-24 Pedro Alves <palves@redhat.com>
522
523 PR gdb/19828
524 * gdb.threads/clone-attach-detach.c: New file.
525 * gdb.threads/clone-attach-detach.exp: New file.
526
e70a7231
FR
5272016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
528
529 * gdb.base/annota-input-while-running.exp: Fix syntax error.
530
0f6ed0e0
TT
5312016-05-23 Tom Tromey <tom@tromey.com>
532
533 PR python/19438, PR python/18393:
534 * gdb.python/py-progspace.exp: Add "dir" test.
535 * gdb.python/py-objfile.exp: Add "dir" test.
536
ffd19d61
YQ
5372016-05-23 Yao Qi <yao.qi@linaro.org>
538
539 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
540 * gdb.arch/thumb2-it.exp: Likewise.
541
9e8f9b05
SM
5422016-05-18 Simon Marchi <simon.marchi@ericsson.com>
543
544 * gdb.mi/mi-threads-interrupt.c: New file.
545 * gdb.mi/mi-threads-interrupt.exp: New file.
546
61c6156d
SM
5472016-05-17 Simon Marchi <simon.marchi@ericsson.com>
548
549 PR gdb/18077
550 * gdb.mi/mi-async-run.exp: New file.
551 * gdb.mi/mi-async-run.c: New file.
552
67218854
TT
5532016-05-17 Tom Tromey <tom@tromey.com>
554 Manish Goregaokar <manishsmail@gmail.com>
555
556 * lib/rust-support.exp: New file.
557 * lib/gdb.exp (skip_rust_tests): New proc.
558 (build_executable_from_specs): Handle rust.
559 * lib/future.exp (gdb_find_rustc): New proc.
560 (gdb_default_target_compile): Handle rust.
561 * gdb.rust/expr.exp: New file.
562 * gdb.rust/generics.exp: New file.
563 * gdb.rust/generics.rs: New file.
564 * gdb.rust/methods.exp: New file.
565 * gdb.rust/methods.rs: New file.
566 * gdb.rust/modules.exp: New file.
567 * gdb.rust/modules.rs: New file.
568 * gdb.rust/simple.exp: New file.
569 * gdb.rust/simple.rs: New file.
570
c44af4eb
TT
5712016-05-17 Tom Tromey <tom@tromey.com>
572
573 * gdb.base/default.exp (set language): Add rust.
574
dcd1f979
TT
5752016-05-17 Tom Tromey <tom@tromey.com>
576
577 * gdb.gdb/unittest.exp: New file.
578
155b7f57
YQ
5792016-05-16 Yao Qi <yao.qi@linaro.org>
580
581 * gdb.base/batch-preserve-term-settings.exp: Remove variable
582 shell_prompt. Update shell_prompt_re.
583
8ddd5a6c
DE
5842016-05-12 Doug Evans <dje@google.com>
585
586 PR symtab/19999
587 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
588 $options when building executable.
589 * gdb.dwarf2/fission-loclists-pie.S: New file.
590 * gdb.dwarf2/fission-loclists-pie.exp: New file.
591
02e370d9
SM
5922016-05-04 Simon Marchi <simon.marchi@ericsson.com>
593
594 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
595 of [is_remote target],
596
8929ad8b
SM
5972016-05-04 Simon Marchi <simon.marchi@ericsson.com>
598
599 * lib/gdb.exp (use_gdb_stub): New procedure.
600
6c447423
DE
6012016-05-03 Yunlian Jiang <yunlian@google.com>
602 Doug Evans <dje@google.com>
603
604 PR symtab/19914
605 * gdb.dwarf2/dwp-sepdebug.c: New file.
606 * gdb.dwarf2/dwp-sepdebug.exp: New file.
607
444e826c
SM
6082016-05-02 Simon Marchi <simon.marchi@ericsson.com>
609
610 * gdb.base/detach.exp: Remove is_remote check.
611
740feeaa
SM
6122016-05-02 Simon Marchi <simon.marchi@ericsson.com>
613
614 * gdb.base/annota-input-while-running.exp: Don't check for
615 [is_remote target]. Enable annotations after running to main.
616 Remove unused "set test..." line.
617
9080ac9d
SM
6182016-04-28 Simon Marchi <simon.marchi@ericsson.com>
619
620 * gdb.trace/trace-enable-disable.exp: New file.
621 * gdb.trace/trace-enable-disable.c: New file.
622
952ebca5
SM
6232016-04-28 Simon Marchi <simon.marchi@ericsson.com>
624
625 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
626 use it in info sharedlibrary test.
627 * gdb.trace/ftrace-lock.exp: Likewise.
628 * gdb.trace/ftrace.exp: Likewise.
629 * gdb.trace/range-stepping.exp: Likewise.
630 * gdb.trace/trace-break.exp: Likewise.
631 * gdb.trace/trace-condition.exp: Likewise.
632 * gdb.trace/trace-mt.exp: Likewise.
633
d9019901
SM
6342016-04-27 Simon Marchi <simon.marchi@ericsson.com>
635
636 * lib/gdb.exp (gdb_load_shlibs): Rename to...
637 (gdb_load_shlib): ... this.
638 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
639 gdb_load_shlib.
640 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
641 * gdb.base/ctxobj.exp: Likewise.
642 * gdb.base/dprintf-pending.exp: Likewise.
643 * gdb.base/dso2dso.exp: Likewise.
644 * gdb.base/fixsection.exp: Likewise.
645 * gdb.base/gcore-relro.exp: Likewise.
646 * gdb.base/gdb1555.exp: Likewise.
647 * gdb.base/global-var-nested-by-dso.exp: Likewise.
648 * gdb.base/gnu-ifunc.exp: Likewise.
649 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
650 * gdb.base/jit-so.exp (one_jit_test): Likewise.
651 * gdb.base/pending.exp: Likewise.
652 * gdb.base/print-file-var.exp: Likewise.
653 * gdb.base/print-symbol-loading.exp: Likewise.
654 * gdb.base/shlib-call.exp: Likewise.
655 * gdb.base/shreloc.exp: Likewise.
656 * gdb.base/so-impl-ld.exp: Likewise.
657 * gdb.base/solib-disc.exp: Likewise.
658 * gdb.base/solib-nodir.exp: Likewise.
659 * gdb.base/solib-overlap.exp: Likewise.
660 * gdb.base/solib-symbol.exp: Likewise.
661 * gdb.base/solib-weak.exp (do_test): Likewise.
662 * gdb.base/sym-file.exp: Likewise.
663 * gdb.base/symtab-search-order.exp: Likewise.
664 * gdb.base/type-opaque.exp: Likewise.
665 * gdb.base/unload.exp: Likewise.
666 * gdb.base/watchpoint-solib.exp: Likewise.
667 * gdb.compile/compile.exp: Likewise.
668 * gdb.cp/gdb2384.exp: Likewise.
669 * gdb.cp/infcall-dlopen.exp: Likewise.
670 * gdb.cp/re-set-overloaded.exp: Likewise.
671 * gdb.fortran/library-module.exp: Likewise.
672 * gdb.opt/solib-intra-step.exp: Likewise.
673 * gdb.python/py-finish-breakpoint.exp: Likewise.
674 * gdb.python/py-shared.exp: Likewise.
675 * gdb.reverse/solib-precsave.exp: Likewise.
676 * gdb.reverse/solib-reverse.exp: Likewise.
677 * gdb.server/solib-list.exp: Likewise.
678 * gdb.threads/dlopen-libpthread.exp: Likewise.
679 * gdb.threads/tls-shared.exp: Likewise.
680 * gdb.threads/tls-so_extern.exp: Likewise.
681 * gdb.trace/change-loc.exp: Likewise.
682 * gdb.trace/ftrace-lock.exp: Likewise.
683 * gdb.trace/ftrace.exp: Likewise.
684 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
685 * gdb.trace/pending.exp: Likewise.
686 * gdb.trace/range-stepping.exp: Likewise.
687 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
688 (strace_info_marker): Likewise.
689 (strace_probe_marker): Likewise.
690 (strace_trace_on_same_addr): Likewise.
691 (strace_trace_on_diff_addr): Likewise.
692 * gdb.trace/trace-break.exp: Likewise.
693 * gdb.trace/trace-condition.exp: Likewise.
694 * gdb.trace/trace-mt.exp: Likewise.
695
fca4cfd9
SM
6962016-04-27 Simon Marchi <simon.marchi@ericsson.com>
697
698 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
699 result of gdb_remote_download.
700 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
701 * gdb.base/dso2dso.exp: Likewise.
702 * gdb.base/global-var-nested-by-dso.exp: Likewise.
703 * gdb.base/print-file-var.exp: Likewise.
704 * gdb.base/shlib-call.exp: Likewise.
705 * gdb.base/shreloc.exp: Likewise.
706 * gdb.base/solib-overlap.exp: Likewise.
707 * gdb.base/solib-weak.exp (do_test): Likewise.
708 * gdb.base/unload.exp: Likewise.
709
11cf4ffb
YQ
7102016-04-27 Yao Qi <yao.qi@linaro.org>
711
712 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
713 exists.
714
3e2e34f8
KB
7152016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
716
717 * vla-type.exp: Print structure from toplevel.
718
8f07e298
BH
7192016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
720
721 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
722 of dynamic types.
723 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
724 of dynamic types.
725
9920b434
BH
7262016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
727
728 * gdb.fortran/vla-type.f90: New file.
729 * gdb.fortran/vla-type.exp: New file.
730
f3abeff5
YQ
7312016-04-25 Yao Qi <yao.qi@linaro.org>
732
733 * gdb.base/branch-to-self.c: New file.
734 * gdb.base/branch-to-self.exp: New file.
735
0a5d52f0
YQ
7362016-04-22 Yao Qi <yao.qi@linaro.org>
737
738 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
739 more after $hex.
740
495346f6
YQ
7412016-04-22 Yao Qi <yao.qi@linaro.org>
742
743 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
744 * gdb.base/annota3.exp: Likewise.
745
4a7e075c
YQ
7462016-04-22 Yao Qi <yao.qi@linaro.org>
747
748 * gdb.reverse/step-precsave.exp: Do one step and test program
749 stops in "callee" and do multiple steps until program goes out
750 of "callee".
751 * gdb.reverse/step-reverse.exp: Likewise.
752
5b061e98
YQ
7532016-04-22 Yao Qi <yao.qi@linaro.org>
754
755 * gdb.trace/signal.exp: Also pass if
756 $tracepoint_hits($i) > $iterations.
757
5c5dc57f
YQ
7582016-04-22 Yao Qi <yao.qi@linaro.org>
759
760 * gdb.trace/signal.c: New file.
761 * gdb.trace/signal.exp: New file.
762
a55411b9
DE
7632016-04-19 Doug Evans <xdje42@gmail.com>
764
765 * gdb.base/bad-file.exp: New file.
766
a22df60a
MG
7672016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
768
769 * gdb.dwarf2/implref.exp: New file.
770
0c13f7e5
BH
7712016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
772
773 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
774 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
775 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
776 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
777 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
778 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
779 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
780 * lib/fortran.exp (fortran_int4): New procedure.
781 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
782 (fortran_logical4): Likewise.
783
9b9b09e9
BH
7842016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
785
786 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
787
a14d1f4d
BH
7882016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
789
790 * lib/compiler.c: Add Intel specific preprocessor macros.
791 * lib/compiler.cc: Likewise.
25d49b86 792
7d49b1d0
LM
7932016-04-13 Luis Machado <lgustavo@codesourcery.com>
794
795 * gdb.server/connect-with-no-symbol-file.c: New file.
796 * gdb.server/connect-with-no-symbol-file.exp: New file.
797
8392fa22
SM
7982016-04-13 Simon Marchi <simon.marchi@ericsson.com>
799
800 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
801
8c4c4aeb
SM
8022016-04-13 Simon Marchi <simon.marchi@ericsson.com>
803
804 * boards/gdbserver-base.exp (${board}_download): Copy source file to
805 standard output directory.
806
45e3745e
AT
8072016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
808
809 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
810
e26b7e41
MM
8112016-04-13 Markus Metzger <markus.t.metzger@intel.com>
812
813 * gdb.btrace/instruction_history.c (loop): Add declaration.
814
8ce09462
AT
8152016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
816
817 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
818
2e88a1ea
SM
8192016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
820
821 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
822 parentheses to print.
823 (continue_handler): Likewise.
824
f48e22e3
SM
8252016-04-08 Simon Marchi <simon.marchi@ericsson.com>
826
827 * gdb.server/solib-list.exp: Remove is_remote check.
828 Pass shlib= to gdb_compile. Don't link shared library with
829 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
830 Run binary filename through "readlink -f" on the target.
831
096be756
PA
8322016-04-08 Pedro Alves <palves@redhat.com>
833
834 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
835 interpreter filename as argument to gdbserver_spawn.
836 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
837 Return empty if $last_loaded_file does not exist.
838
06500533
JK
8392016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
840
841 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
842 * gdb.base/jit-main.c: Use exit after usage.
843
2d35e871
JK
8442016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
845
846 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
847 GDBHISTSIZE prior to the tests.
848 * gdb.base/gdbinit-history.exp: Likewise.
849
8502016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
851
852 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
853 instead of build_executable. Use gdb_load_shlibs.
854
c8064e7e
YQ
8552016-04-07 Yao Qi <yao.qi@linaro.org>
856
857 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
858 Execute "si" command.
859
bde47561
YQ
8602016-04-07 Yao Qi <yao.qi@linaro.org>
861
862 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
863 number instead of the comments on some line.
864
b16f8a3b
DB
8652016-04-06 Don Breazeal <donb@codesourcery.com>
866
867 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
868 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
869
c2f901df
SM
8702016-04-06 Simon Marchi <simon.marchi@ericsson.com>
871
872 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
873 standard_output_file. Remove unused binfile variable.
874
ac17fda0
CU
8752016-04-05 Catalin Udma <catalin.udma@freescale.com>
876
877 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
878 * gdb.python/py-mi-objfile.exp: Match "list main" output
879 in console format.
880
03a8c4df
SM
8812016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
882
883 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
884 absolute.
885
6e774b13
SM
8862016-04-05 Simon Marchi <simon.marchi@ericsson.com>
887
888 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
889 absolute.
890 * gdb.trace/ftrace.exp: Likewise.
891 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
892 targets as well.
893 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
894 (gdb_load_shlibs): Copy libraries to test directory when testing
895 natively. Only set solib-search-path if testing remotely.
896 * lib/mi-support.exp (mi_load_shlibs): Likewise.
897
7817ea46
SM
8982016-04-05 Simon Marchi <simon.marchi@ericsson.com>
899
900 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
901 gdb_download. Use it even if the target is not remote.
902 * gdb.base/jit.exp (compile_jit_test): Likewise.
903 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
904 output directory if the destination board is local, otherwise use
905 the standard remote_download from DejaGnu.
906 (gdb_download): Remove.
907 (gdb_load_shlibs): Use gdb_remote_download instead of
908 gdb_download.
909 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
910 Use gdb_remote_download instead of gdb_download. Use it even if
911 the target is not remote.
912 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
913 instead of gdb_download.
914
7beb7f68
SM
9152016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
916
917 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
918 (test_insert_delete_modify): Call mi_load_shlibs before trying to
919 run.
920
cc63428a
AV
9212016-04-01 Artemiy Volkov <artemiyv@acm.org>
922
923 PR gdb/19820
924 * gdb.base/printcmds.exp: Add artificial arrays tests.
925
64cdf930
PA
9262016-03-31 Pedro Alves <palves@redhat.com>
927
928 PR gdb/19858
929 * gdb.base/jit-main.c: Include unistd.h.
930 (ATTACH): Define to 0 if not already defined.
931 (wait_for_gdb, mypid): New globals.
932 (WAIT_FOR_GDB): New macro.
933 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
934 some breakpoint locations.
935 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
936 New procedures.
937 (one_jit_test): Add REATTACH parameter, and handle it. Use
938 continue_to_test_location.
939 (top level): Test attach, and adjusts calls to one_jit_test.
940
40dea8cb
PA
9412016-03-31 Pedro Alves <palves@redhat.com>
942
943 PR gdb/19858
944 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
945 BINSUFFIX parameter, and handle it.
946 (top level): Adjust calls compile_jit_test.
947
e7ea3ec7
CU
9482016-03-31 Catalin Udma <catalin.udma@freescale.com>
949
950 PR python/19743
951 * gdb.python/py-mi-events-gdb.py: New file.
952 * gdb.python/py-mi-events.c: New file.
953 * gdb.python/py-mi-events.exp: New file.
954
e6359af3
YQ
9552016-03-30 Yao Qi <yao.qi@linaro.org>
956
957 * gdb.reverse/until-precsave.exp: Match function name only.
958 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
959 Move malloc to a condition block.
960 * gdb.reverse/until-reverse.exp: Match function name only.
961
a4105d04
MK
9622016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
963
964 * gdb.trace/ftrace.exp: Set arg0exp for s390.
965 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
966 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
967 variable for GPR 0 instead of assuming it is register 0.
968 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
969 * lib/trace-support.exp: Add s390 registers.
970
bfa6adb9
YQ
9712016-03-29 Yao Qi <yao.qi@linaro.org>
972
973 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
974
1e6697ea
YQ
9752016-03-24 Yao Qi <yao.qi@linaro.org>
976
977 * gdb.reverse/break-reverse.exp: Add quotation mark in the
978 test message.
979
64bcd522
AA
9802016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
981
982 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
983 maintaining separate logic for constructing the output path.
984
7868401b
DB
9852016-03-16 Don Breazeal <donb@codesourcery.com>
986
987 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
988 Retry fork and waitpid on interrupted system call errors.
989 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
990 Use with_timeout_factor to increase timeout by factor of 10.
991
1cafadb4
DB
9922016-03-15 Don Breazeal <donb@codesourcery.com>
993
994 * gdb.cp/scope-err.cc: New test program.
995 * gdb.cp/scope-err.exp: New test script.
996 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
997 lines and "set breakpoint here" comment.
998 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
999 Fixed some whitespace and format issues.
1000 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1001 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1002
81516450
DE
10032016-03-15 Doug Evans <dje@google.com>
1004
1005 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1006 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1007 All callers updated. Add tests for enums, mixed flags register.
1008
aa52b601
DE
10092016-03-15 Doug Evans <dje@google.com>
1010
1011 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1012 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1013
fa4ff313
SM
10142016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1015
1016 * gdb.base/default.exp: Add $_as_string to the list of expected
1017 convenience functions.
1018
f2403c39
AB
10192016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1020
1021 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1022
f2f3ccb9
SM
10232016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1024
1025 * gdb.python/py-as-string.exp: New file.
1026 * gdb.python/py-as-string.c: New file.
1027
00dbd492
PA
10282016-03-09 Pedro Alves <palves@redhat.com>
1029
1030 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1031 signal" -> "Thread NN received signal" output change.
1032 * gdb.threads/ia64-sigill.exp: Likewise.
1033 * gdb.threads/linux-dp.exp: Likewise.
1034 * gdb.threads/manythreads.exp: Likewise.
1035 * gdb.threads/pending-step.exp: Likewise.
1036 * gdb.threads/print-threads.exp: Likewise.
1037 * gdb.threads/sigstep-threads.exp: Likewise.
1038 * gdb.threads/staticthreads.exp: Likewise.
1039 * gdb.threads/tls.exp: Likewise.
1040
1e6697ea
YQ
10412016-03-09 Pedro Alves <palves@redhat.com>
1042
1043 * gdb.base/command-line-input.exp: New file.
1044
b04fd3be
MK
10452016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1046
1047 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1048 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1049 * gdb.trace/pending.exp: Accept leading dot before function name.
1050 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1051 * lib/trace-support.exp: Set registers for ppc.
1052
98fa59e9
MK
10532016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1054
1055 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1056 use it for disassembly; accept .main in addition to main in backtrace.
1057
f77198c8
MK
10582016-03-09 Wei-cheng Wang <cole945@gmail.com>
1059 Marcin Kościelnicki <koriakin@0x04.net>
1060
1061 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1062 (gdb_recursion_test_ptr): New global variable.
1063 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1064 gdb_recursion_test.
1065 (gdb_c_test): Ditto.
1066
ba84e0da
MK
10672016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1068
1069 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1070 ordering.
1071
4366d36e
MK
10722016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1073
1074 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1075 (bar): Add bar_start_lbl label.
1076 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1077 of foo/bar for emitting DWARF and tracing.
1078
5eb264df
SDJ
10792016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1080
1081 * analyze-racy-logs.py: Set executable bit.
1082
fb6a751f
SDJ
10832016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1084
1085 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1086 (CHECK_TARGET_TMP): Likewise.
1087 (check-single-racy): New rule.
1088 (check-parallel-racy): Likewise.
1089 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1090 (do-check-parallel-racy): New rule.
1091 (check-racy/%.exp): Likewise.
1092 * README (Racy testcases): New section.
1093 * analyze-racy-logs.py: New file.
1094
bdf7e230
DE
10952016-03-03 Doug Evans <dje@google.com>
1096
1097 * gdb.base/skip.exp: Use with_test_prefix.
1098
4719d415
YQ
10992016-03-03 Yao Qi <yao.qi@linaro.org>
1100
1101 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1102 Invoke step_over_syscall "clone" and break_cond_on_syscall
1103 "clone".
1104 * gdb.base/step-over-clone.c: New file.
1105
ea507862
YQ
11062016-03-03 Yao Qi <yao.qi@linaro.org>
1107
1108 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1109 code format.
1110
8fc8cbda
YQ
11112016-03-03 Yao Qi <yao.qi@linaro.org>
1112
1113 * gdb.base/disp-step-fork.c: Rename to ...
1114 * gdb.base/step-over-fork.c: ... it. New file.
1115 * gdb.base/disp-step-vfork.c: Rename to ...
1116 * gdb.base/step-over-vfork.c: ... it. New file.
1117 * gdb.base/disp-step-syscall.exp: Rename to ...
1118 * gdb.base/step-over-syscall.exp: ... it. New file.
1119 (disp_step_cross_syscall): Rename to ...
1120 (step_over_syscall): ... it.
1121
92fa70b0
YQ
11222016-03-03 Yao Qi <yao.qi@linaro.org>
1123
1124 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1125 If target supports condition evaluation on target, invoke
1126 break_cond_on_syscall for fork and vfork.
1127
e197ad3c
YQ
11282016-03-03 Yao Qi <yao.qi@linaro.org>
1129
1130 * gdb.base/disp-step-syscall.exp: Don't invoke
1131 support_displaced_stepping.
1132 (disp_step_cross_syscall): Test with displaced stepping off and
1133 on if supported.
1134
0b47da9f
YQ
11352016-03-03 Yao Qi <yao.qi@linaro.org>
1136
1137 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1138 proc.
1139 (setup): New proc.
1140 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1141 and setup.
1142
065ab6dc
BH
11432016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1144
1145 * gdb.fortran/vla-history.exp: Remove breakpoint.
1146
07e448ad 11472016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1148
25d49b86
PA
1149 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1150 exceeds timeout.
07e448ad 1151
9ac2d526 11522016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1153
25d49b86
PA
1154 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1155 breakpoint.
9ac2d526 1156
17807369
BH
11572016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1158
1159 * gdb.mi/vla.f90: Nullify pointer after declaration.
1160
86e501af
PA
11612016-03-01 Pedro Alves <palves@redhat.com>
1162
1163 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1164
1e903e32
PA
11652016-03-01 Pedro Alves <palves@redhat.com>
1166
1167 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1168 before anything else.
1169 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1170 _GNU_SOURCE here.
1171 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1172 before anything else.
1173 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1174
6ccb54e2
PA
11752016-03-01 Pedro Alves <palves@redhat.com>
1176
1177 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1178
30ca9da1
YQ
11792016-03-01 Yao Qi <yao.qi@linaro.org>
1180
1181 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1182 prepare_for_testing.
1183
dc856b38
YQ
11842016-03-01 Yao Qi <yao.qi@linaro.org>
1185
1186 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1187
4a932159
AA
11882016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1189
1190 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1191 manually constructing the output path.
1192
f2489477
AA
11932016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1194
1195 * gdb.arch/s390-stackless.S: New.
1196 * gdb.arch/s390-stackless.exp: New.
1197
38899f16
IB
11982016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1199
1200 * gdb.dlang/circular.c: New file.
1201 * gdb.dlang/circular.exp: New file.
1202
9fde51ed
YQ
12032016-02-26 Yao Qi <yao.qi@linaro.org>
1204
1205 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1206 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1207 (testcases): Update.
1208
ce90fefe
YQ
12092016-02-26 Yao Qi <yao.qi@linaro.org>
1210
1211 * gdb.reverse/aarch64.c: Rename to ...
1212 * gdb.reverse/insn-reverse.c: ... it.
1213 * gdb.reverse/aarch64.exp: Rename to ...
1214 * gdb.reverse/insn-reverse.exp: ... it.
1215
3263bceb
YQ
12162016-02-26 Yao Qi <yao.qi@linaro.org>
1217
1218 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1219 (testcase_ftype): New.
1220 (testcases): New array.
1221 (n_testcases): New.
1222 (main): Call each element in testcases.
1223 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1224 (read_testcase): New.
1225 Do the tests in a loop.
1226
6cb59ff1
YQ
12272016-02-25 Yao Qi <yao.qi@linaro.org>
1228
1229 * gdb.base/branches.c: Remove.
1230
ae91f625
MK
12312016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1232
1233 PR gdb/13808
1234 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1235
678b48b7
MK
12362016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1237
1238 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1239
7337a6f2
MK
12402016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1241
1242 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1243 change x86_64 call_insn to 'callq'.
1244
861ca91f
AT
12452016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1246
1247 * gdb.trace/tfile-avx.c: Move to...
1248 * gdb.trace/tracefile-pseudo-reg.c: Here.
1249 * gdb.trace/tfile-avx.exp: Move to...
1250 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1251
bf74e428
GB
12522016-02-24 Gary Benson <gbenson@redhat.com>
1253
1254 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1255 message on attach.
1256
cce0e923
DE
12572016-02-23 Doug Evans <dje@google.com>
1258
1259 * gdb.base/skip.c (test_skip): New function.
1260 (end_test_skip_file_and_function): New function.
1261 (test_skip_file_and_function): New function.
1262 * gdb.base/skip1.c (test_skip): New function.
1263 (skip1_test_skip_file_and_function): New function.
1264 * gdb.base/skip.exp: Add tests for new skip options.
1265 * gdb.base/skip-solib.exp: Update expected output.
1266 * gdb.perf/skip-command.cc: New file.
1267 * gdb.perf/skip-command.exp: New file.
1268 * gdb.perf/skip-command.py: New file.
1269
4000e47e
MK
12702016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1271
1272 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1273 info registers pattern.
1274
24f75ead
IB
12752016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1276
1277 * lib/future.exp: Add D support.
1278 (gdb_find_gdc): New proc.
1279 (gdb_default_target_compile): Add D support.
1280
fbb7bcbe
WW
12812016-02-18 Wei-cheng Wang <cole945@gmail.com>
1282
1283 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1284 user+system time.
1285 (trace_speed_test): Determine the iteration count for a time
1286 between 15..30 seconds.
1287
012b3a21
WT
12882016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1289
1290 * gdb.arch/i386-mpx-sigsegv.c: New file.
1291 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1292 * gdb.arch/i386-mpx-simple_segv.c: New file.
1293 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1294
2d5189bd
YQ
12952016-02-18 Yao Qi <yao.qi@linaro.org>
1296
1297 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1298 Don't call setup_kfail.
1299
40fb20d0
YQ
13002016-02-18 Yao Qi <yao.qi@linaro.org>
1301
1302 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1303 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1304
21b1f8d2
DE
13052016-02-16 Doug Evans <dje@google.com>
1306
1307 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1308 * gdb.base/skip1.c: Ditto.
1309 * gdb.base/skip.exp: Whitespace cleanup.
1310
4041ed77
DB
13112016-02-16 Don Breazeal <donb@codesourcery.com>
1312
1313 PR remote/19496
1314 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1315 Remove kfail for PR remote/19496.
1316
c4ef31bf
SM
13172016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1318
1319 * lib/gdb.exp (standard_temp_file): Return a path specific to
1320 the runtest invocation.
1321
266b65b3
SM
13222016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1323
1324 * gdb.trace/save-trace.exp: Change relative path to be in the
1325 standard output directory.
1326
a7a0a6a9
JK
13272016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1328
1329 * gdb.arch/i386-prologue.c: Add missing prototypes.
1330
c99dbb42
JK
13312016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1332
1333 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1334 * gdb.arch/i386-prologue.exp: Likewise.
1335 * gdb.arch/i386-size.exp: Likewise.
1336
aa480355
SM
13372016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1338
1339 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1340 define object file path.
1341 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1342 file path.
1343 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1344 standard_output_file to define binfile.
1345
ba881f50
JK
13462016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1347
1348 Fix compatibility with recent gfortran-5.3.1.
1349 * gdb.fortran/vla-history.exp (print vla1 allocated)
1350 (print vla2 allocated, print $2, print $3): Remove
1351 (print $4): Rename to ...
1352 (print $2): ... here.
1353 (print $9): Rename to ...
1354 (print $5): ... here.
1355 (print $10): Rename to ...
1356 (print $6): ... here.
1357 * gdb.fortran/vla.f90: Add pvla initialization.
1358
e9fb005c
JK
13592016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1360
1361 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1362 New test.
1363 * gdb.fortran/vla-value-sub.exp: Likewise.
1364
e44e00ff
MK
13652016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1366
1367 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1368
97e94151
SM
13692016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1370
1371 * i386-biarch-core.exp: Define corefile using
1372 standard_output_file.
1373
01113bc1
YQ
13742016-02-12 Yao Qi <yao.qi@linaro.org>
1375
1376 * gdb.arch/arm-single-step-kernel-helper.c: New.
1377 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1378
33b4777c
MM
13792016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1380
1381 * gdb.btrace/tailcall-only.exp: New.
1382 * gdb.btrace/tailcall-only.c: New.
1383 * gdb.btrace/x86_64-tailcall-only.S: New.
1384 * gdb.btrace/i686-tailcall-only.S: New.
1385
acc23c11
PA
13862016-02-11 Pedro Alves <palves@redhat.com>
1387
1388 * README (Parallel testing): Add missing double quotes.
1389
e352bf0a
PA
13902016-02-11 Pedro Alves <palves@redhat.com>
1391
1392 * README (Parallel testing): New section.
1393 (GDB_PARALLEL): Rewrite.
1394 (FORCE_PARALLEL): Document.
1395
9f5fed78
MK
13962016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1397
1398 * gdb.trace/tfile-avx.c: New test.
1399 * gdb.trace/tfile-avx.exp: New test.
1400
9ef9e6a6
KS
14012016-02-09 Keith Seitz <keiths@redhat.com>
1402
1403 PR breakpoints/19546
1404 * gdb.base/infcall-exec.c: New file.
1405 * gdb.base/infcall-exec2.c: New file.
1406 * gdb.base/infcall-exec.exp: New file.
1407
a96e36da
KS
14082016-02-09 Keith Seitz <keiths@redhat.com>
1409
1410 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1411 (toplevel): Call test_bkpt_address.
1412
9f61929f
KS
14132016-02-09 Keith Seitz <keiths@redhat.com>
1414
1415 PR python/19506
1416 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1417 (toplevel): Call test_bkpt_address.
1418
1e94266c
SM
14192016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1420
1421 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1422 to AC_OUTPUT.
1423 * configure: Regenerate.
1424
2a7f3dff
PA
14252016-02-09 Pedro Alves <palves@redhat.com>
1426
1427 PR breakpoints/19548
1428 * gdb.base/execl-update-breakpoints.c (some_function): New
1429 function.
1430 (main): Call it.
1431 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1432 Tighten expected GDB output.
1433
2151ccc5
SM
14342016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1435
1436 * Makefile.in (ALL_SUBDIRS): Remove.
1437 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1438 (distclean maintainer-clean realclean): Likewise.
1439 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1440 * configure: Regenerate.
1441 * gdb.ada/Makefile.in: Delete.
1442 * gdb.arch/Makefile.in: Likewise.
1443 * gdb.asm/Makefile.in: Likewise.
1444 * gdb.base/Makefile.in: Likewise.
1445 * gdb.btrace/Makefile.in: Likewise.
1446 * gdb.cell/Makefile.in: Likewise.
1447 * gdb.compile/Makefile.in: Likewise.
1448 * gdb.cp/Makefile.in: Likewise.
1449 * gdb.disasm/Makefile.in: Likewise.
1450 * gdb.dlang/Makefile.in: Likewise.
1451 * gdb.dwarf2/Makefile.in: Likewise.
1452 * gdb.fortran/Makefile.in: Likewise.
1453 * gdb.gdb/Makefile.in: Likewise.
1454 * gdb.go/Makefile.in: Likewise.
1455 * gdb.guile/Makefile.in: Likewise.
1456 * gdb.java/Makefile.in: Likewise.
1457 * gdb.linespec/Makefile.in: Likewise.
1458 * gdb.mi/Makefile.in: Likewise.
1459 * gdb.modula2/Makefile.in: Likewise.
1460 * gdb.multi/Makefile.in: Likewise.
1461 * gdb.objc/Makefile.in: Likewise.
1462 * gdb.opencl/Makefile.in: Likewise.
1463 * gdb.opt/Makefile.in: Likewise.
1464 * gdb.pascal/Makefile.in: Likewise.
1465 * gdb.perf/Makefile.in: Likewise.
1466 * gdb.python/Makefile.in: Likewise.
1467 * gdb.reverse/Makefile.in: Likewise.
1468 * gdb.server/Makefile.in: Likewise.
1469 * gdb.stabs/Makefile.in: Likewise.
1470 * gdb.threads/Makefile.in: Likewise.
1471 * gdb.trace/Makefile.in: Likewise.
1472 * gdb.xml/Makefile.in: Likewise.
1473 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1474 GDB_PARALLEL.
1475 (standard_output_file): Remove check for GDB_PARALLEL, always
1476 return path in outputs/$subdir/$testname.
1477
437277d4
SM
14782016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1479
1480 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1481 (site.exp): Assign abs_srcdir to tcl's srcdir.
1482
31d913c7
YQ
14832016-02-04 Yao Qi <yao.qi@linaro.org>
1484
1485 * gdb.base/foll-exec-mode.c: Include limits.h.
1486 (main): Add parameters argc and argv. Get directory from
1487 argv[0].
1488 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1489 compilation.
1490 * gdb.base/foll-exec.c: Include limits.h.
1491 (main): Add parameters argc and argv.
1492 Get directory from argv[0].
1493 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1494 Adjust tests on the number of lines as source code changed.
1495 * gdb.base/foll-vfork-exit.c: Include limits.h.
1496 (main): Add one line of statement before vfork.
1497 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1498 (main): Add parameters argc and argv. Get directory from
1499 argv[0].
1500 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1501 (setup_gdb): Set tbreak to skip some source lines.
1502 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1503 (main): Add parameters argc and argv. Get directory from
1504 argv[0].
1505 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1506 compilation.
1507 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1508 (main): Add parameters argc and argv. Get directory from
1509 argv[0].
1510 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1511 compilation.
1512
9482b9fb
DE
15132016-02-01 Doug Evans <dje@google.com>
1514
1515 * gdb.base/skip.exp: Clean up multiple references to same test name.
1516
6b2e4f10
PA
15172016-02-01 Pedro Alves <palves@redhat.com>
1518
ccb6afd6 1519 PR remote/19496
6b2e4f10
PA
1520 * gdb.threads/forking-threads-plus-breakpoint.exp
1521 (displaced_stepping_supported): New global.
1522 (probe_displaced_stepping_support): New procedure.
1523 (do_test): Add 'displaced' parameter, and use it.
1524 (top level): Check for displaced stepping support. Add displaced
1525 stepping on/off testing axis.
1526
37a8db1a
AB
15272016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1528
1529 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1530 pointer. Don't perform further tests on the unassociated pointer
1531 if the first test fails.
1532
5fdf6324
AB
15332016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1534
1535 * gdb.base/max-value-size.c: New file.
1536 * gdb.base/max-value-size.exp: New file.
1537 * gdb.base/huge.exp: Disable max-value-size for this test.
1538
935c6144
IB
15392016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1540
1541 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1542
7fe8399d
YQ
15432016-01-28 Yao Qi <yao.qi@linaro.org>
1544
1545 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1546
a2077e25
PA
15472016-01-25 Pedro Alves <palves@redhat.com>
1548
1549 PR threads/19461
1550 * gdb.base/fork-running-state.c: New file.
1551 * gdb.base/fork-running-state.exp: New file.
1552
1d2736d4
PA
15532016-01-25 Pedro Alves <palves@redhat.com>
1554
1555 PR gdb/19494
1556 * gdb.base/catch-fork-kill.c: New file.
1557 * gdb.base/catch-fork-kill.exp: New file.
1558
f1da4b11
PA
15592016-01-25 Pedro Alves <palves@redhat.com>
1560
1561 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1562 Delete, moved to lib/gdb.exp.
1563 * gdb.threads/forking-threads-plus-breakpoint.exp
1564 (foreach_with_prefix): Likewise.
1565 * gdb.threads/process-dies-while-handling-bp.exp
1566 (foreach_with_prefix): Likewise.
1567 * lib/gdb.exp (foreach_with_prefix): New procedure.
1568
45f38546
MK
15692016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1570
1571 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1572 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1573
dc29a1ce
MK
15742016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1575
1576 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1577 endian targets.
1578
092127d7
JK
15792016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1580 Pedro Alves <palves@redhat.com>
1581
1582 Fix testsuite compatibility with Guile.
1583 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1584 number.
1585
31d765d3
JK
15862016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1587
1588 Fix testsuite compatibility with Guile.
1589 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1590 (thread 1): New test for backtrace through signal handler.
1591
1ac78c04
YQ
15922016-01-22 Yao Qi <yao.qi@linaro.org>
1593
1594 PR testsuite/19491
1595 * gdb.base/multi-forks.c: Include
1596 ../lib/unbuffer_output.c
1597 (main): Call gdb_unbuffer_output.
1598
4f5946a8
DE
15992016-01-21 Doug Evans <dje@google.com>
1600
1601 * lib/ada.exp (gdb_compile_ada): Fix typo.
1602
305e13e6
JB
16032016-01-21 Joel Brobecker <brobecker@adacore.com>
1604
1605 * gdb.base/break-fun-addr.exp: New file.
1606 * gdb.base/break-fun-addr1.c: New file.
1607 * gdb.base/break-fun-addr2.c: New file.
1608
5f5dfff6
SM
16092016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1610
1611 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1612 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1613 enum flag values.
1614
fd356fa2
AA
16152016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1616
1617 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1618 when GDB can not set the vector return value. Add more comments
1619 for clarification.
1620
9df22175
AT
16212016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1622
1623 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1624 command.
1625
41d1845e
SM
16262016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1627
1628 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1629
01ac6840
SM
16302016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1631
1632 * Makefile.in (check-single): Pass --status to runtest.
1633 (check/%.exp): Likewise.
1634
16352016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1636
1637 * Makefile.in (check-parallel): Propagate return code from make
1638 do-check-parallel.
1639
bd0a71fa
MK
16402016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1641
1642 * gdb.trace/ftrace.exp: Fix expected message on continue.
1643 * gdb.trace/pending.exp: Fix expected message on continue.
1644 * gdb.trace/trace-break.exp: Fix expected message on continue.
1645
8bcbad33
SM
16462016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1647
1648 * lib/gdb.exp (gdb_test): Remove unused global references.
1649
f303dbd6
PA
16502016-01-18 Pedro Alves <palves@redhat.com>
1651
1652 * gdb.base/async-shell.exp: Adjust expected output.
1653 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1654 * gdb.base/siginfo-thread.exp: Adjust expected output.
1655 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1656 * gdb.java/jnpe.exp: Adjust expected output.
1657 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1658 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1659 * gdb.threads/leader-exit.exp: Adjust expected output.
1660 * gdb.threads/manythreads.exp: Adjust expected output.
1661 * gdb.threads/pthreads.exp: Adjust expected output.
1662 * gdb.threads/schedlock.exp: Adjust expected output.
1663 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1664 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1665 expected output.
1666 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1667 output.
1668 * gdb.threads/sigthread.exp: Adjust expected output.
1669 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1670
b2789696
YQ
16712016-01-18 Yao Qi <yao.qi@linaro.org>
1672
1673 * gdb.guile/scm-section-script.c: Replace @progbits with
1674 %progbits.
1675 * gdb.python/py-section-script.c: Likewise.
1676
71ef29a8
PA
16772016-01-15 Pedro Alves <palves@redhat.com>
1678
1679 * gdb.multi/tids.exp: Test star wildcard ranges.
1680
3f5b7598
PA
16812016-01-15 Pedro Alves <palves@redhat.com>
1682
1683 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1684 command from "thread apply" invocation.
1685 (thr_apply_info_thr_invalid): Default the expected output to the
1686 input tid list.
1687 (top level): Add tests that use convenience variables. Add tests
1688 for "thread apply" with a valid TID list, but missing the command.
1689
663f6d42
PA
16902016-01-13 Pedro Alves <palves@redhat.com>
1691
1692 * gdb.base/default.exp: Expect $_gthread as well.
1693 * gdb.multi/tids.exp: Test $_gthread.
1694 * gdb.threads/thread-specific.exp: Test $_gthread.
1695
c84f6bbf
PA
16962016-01-13 Pedro Alves <palves@redhat.com>
1697
1698 * gdb.multi/tids.exp: Test "info threads -gid".
1699
22a02324
PA
17002016-01-13 Pedro Alves <palves@redhat.com>
1701
1702 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1703 Breakpoint.thread.
1704 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1705
5d5658a1
PA
17062016-01-07 Pedro Alves <palves@redhat.com>
1707
1708 * gdb.base/break.exp: Adjust to output changes.
1709 * gdb.base/hbreak2.exp: Likewise.
1710 * gdb.base/sepdebug.exp: Likewise.
1711 * gdb.base/watch_thread_num.exp: Likewise.
1712 * gdb.linespec/keywords.exp: Likewise.
1713 * gdb.multi/info-threads.exp: Likewise.
1714 * gdb.threads/thread-find.exp: Likewise.
1715 * gdb.multi/tids.c: New file.
1716 * gdb.multi/tids.exp: New file.
1717
84654457
PA
17182016-01-13 Pedro Alves <palves@redhat.com>
1719
1720 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1721
e3940304
PA
17222016-01-13 Pedro Alves <palves@redhat.com>
1723
1724 * gdb.base/default.exp: Expect $_inferior as well.
1725 * gdb.multi/base.exp: Test $_inferior.
1726
a911d87a
PA
17272016-01-13 Pedro Alves <palves@redhat.com>
1728
1729 PR breakpoints/19388
1730 * gdb.base/catch-signal-siginfo-cond.c: New file.
1731 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1732
82075af2
JS
17332016-01-12 Josh Stone <jistone@redhat.com>
1734 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1735
1736 * gdb.base/catch-syscall.c (do_execve): New variable.
1737 (main): Conditionally trigger an execve.
1738 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1739 (test_catch_syscall_execve): New, check entry/return across execve.
1740 (do_syscall_tests): Call test_catch_syscall_execve.
1741
e46eeedd
PA
17422016-01-12 Pedro Alves <palves@redhat.com>
1743
1744 * gdb.base/random-signal.exp (do_test): New procedure, with body
1745 of testcase moved in.
1746
01d8c27e
JK
17472016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1748 Pedro Alves <palves@redhat.com>
1749
1750 * gdb.base/funcargs.exp (finish from indirectly called function):
1751 Reintroduce the case for 'First'.
1752
9a706302
JK
17532016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1754 Pedro Alves <palves@redhat.com>
1755
1756 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1757 (tcatch_vfork_then_child_follow_exec)
1758 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1759 identification.
1760
c0ecb95f
JK
17612016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1762
1763 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1764 and repeats to unlimited.
1765 * gdb.python/py-value.exp: Likewise.
1766 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1767 and repeats to unlimited.
1768
6cfc1fcb
JK
17692016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1770
1771 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1772 and reordering the functions.
1773 * gdb.multi/hangout.c: Likewise.
1774 * gdb.multi/hello.c: Likewise.
1775
582a1b00
SM
17762016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1777
1778 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1779 absolute.
1780 (SingleStatisticTestResult.report): Use dict.keys instead of
1781 dict.iterkeys.
1782
79bc59cb
PA
17832016-01-06 Pedro Alves <palves@redhat.com>
1784
1785 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1786
43368e1d
MM
17872016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1788
1789 * gdb.btrace/dlopen.exp: New.
1790 * gdb.btrace/dlopen.c: New.
1791 * gdb.btrace/dlopen-dso.c: New.
1792
79fad5b8
SL
17932015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1794
1795 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1796 PATTERN argument is optional.
1797
ab8314b3
JB
17982015-12-24 Joel Brobecker <brobecker@adacore.com>
1799
1800 * lib/ada.exp (target_compile_ada_from_dir): New function.
1801 (gdb_compile_ada): Reimplement avoiding the use of project files.
1802 * gdb.ada/gnat_ada.gpr: Delete.
1803 * gdb.ada/cond_lang.exp: Adjust test to make path before
1804 filename optional.
1805 * gdb.ada/small_reg_param.exp: Likewise.
1806
fe33faff
SM
18072015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1808
1809 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1810
6d265cb4
TP
18112015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1812
1813 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1814 case.
1815
10125099
SM
18162015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1817
1818 * gdb.base/break.exp: Remove dead code.
1819 * gdb.base/sepdebug.exp: Likewise.
1820
3ca22649
SM
18212015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1822
1823 * gdb.asm/asm-source.exp: Remove HP-UX references.
1824 * gdb.base/annota1.exp: Likewise.
1825 * gdb.base/annota3.exp: Likewise.
1826 * gdb.base/attach.exp: Likewise.
1827 * gdb.base/bigcore.exp: Likewise.
1828 * gdb.base/break.exp: Likewise.
1829 * gdb.base/call-ar-st.exp: Likewise.
1830 * gdb.base/callfuncs.exp: Likewise.
1831 * gdb.base/catch-fork-static.exp: Likewise.
1832 * gdb.base/display.exp: Likewise.
1833 * gdb.base/foll-exec-mode.exp: Likewise.
1834 * gdb.base/foll-exec.exp: Likewise.
1835 * gdb.base/foll-fork.exp: Likewise.
1836 * gdb.base/foll-vfork.exp: Likewise.
1837 * gdb.base/funcargs.exp: Likewise.
1838 * gdb.base/hbreak2.exp: Likewise.
1839 * gdb.base/inferior-died.exp: Likewise.
1840 * gdb.base/interrupt.exp: Likewise.
1841 * gdb.base/multi-forks.exp: Likewise.
1842 * gdb.base/nodebug.exp: Likewise.
1843 * gdb.base/sepdebug.exp: Likewise.
1844 * gdb.base/solib1.c: Likewise.
1845 * gdb.base/step-test.exp: Likewise.
1846 * gdb.mi/non-stop.c: Likewise.
1847 * gdb.mi/pthreads.c: Likewise.
1848 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1849 * gdb.threads/pthreads.c: Likewise.
1850 * gdb.threads/staticthreads.exp: Likewise.
1851 * lib/future.exp: Likewise.
1852 * lib/gdb.exp: Likewise.
1853 * gdb.base/so-indr-cl.c: Remove.
1854 * gdb.base/so-indr-cl.exp: Likewise.
1855 * gdb.base/solib.c: Likewise.
1856 * gdb.base/solib.exp: Likewise.
1857 * gdb.base/solib2.c: Likewise.
1858
b6304613
SM
18592015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1860
1861 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1862 * gdb.base/call-ar-st.exp: Likewise.
1863 * gdb.base/callfuncs.exp: Likewise.
1864 * gdb.base/condbreak.exp: Likewise.
1865 * gdb.base/constvars.exp: Likewise.
1866 * gdb.base/hbreak2.exp: Likewise.
1867 * gdb.base/langs.exp: Likewise.
1868 * gdb.base/list.exp: Likewise.
1869 * gdb.base/long_long.exp: Likewise.
1870 * gdb.base/ptype.exp: Likewise.
1871 * gdb.base/scope.exp: Likewise.
1872 * gdb.base/signals.exp: Likewise.
1873 * gdb.base/so-impl-ld.exp: Likewise.
1874 * gdb.base/varargs.exp: Likewise.
1875 * gdb.base/volatile.exp: Likewise.
1876 * gdb.base/whatis.exp: Likewise.
1877 * gdb.cp/cplusfuncs.exp: Likewise.
1878 * gdb.cp/inherit.exp: Likewise.
1879 * gdb.cp/local.exp: Likewise.
1880 * gdb.cp/member-ptr.exp: Likewise.
1881 * gdb.cp/method.exp: Likewise.
1882 * gdb.cp/overload.exp: Likewise.
1883 * gdb.cp/templates.exp: Likewise.
1884 * gdb.stabs/weird.exp: Likewise.
1885 * lib/compiler.c: Likewise.
1886 * lib/compiler.cc: Likewise.
1887 * lib/cp-support.exp: Likewise.
1888 * lib/gdb.exp: Likewise.
1889
bf401b07
SM
18902015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1891
1892 * configure.ac: Remove HP-UX case.
1893 * configure: Regenerate.
1894
aff9c0f8
SM
18952015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1896
1897 * lib/gdb.exp (gdb_compile): Add function doc.
1898
a6904d5a
PA
18992015-12-17 Pedro Alves <palves@redhat.com>
1900
1901 PR threads/19354
1902 * gdb.multi/info-threads.exp: New file.
1903
a22279dd
YQ
19042015-12-15 Yao Qi <yao.qi@linaro.org>
1905
1906 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1907 is aarch64*-*-*.
1908
0588c796
SL
19092015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1910
1911 * gdb.base/history-duplicates.exp: Skip if no readline support.
1912
5d978e17
SL
19132015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1914
1915 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1916
7e763b86
SL
19172015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1918
1919 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1920
87a3a92c
SL
19212015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1922
1923 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1924 ctrl-C if nointerrupts target property is set.
1925 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1926 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1927 * gdb.base/paginate-bg-execution.exp: Likewise.
1928 * gdb.base/paginate-execution-startup.exp: Likewise.
1929 * gdb.base/random-signal.exp: Likewise.
1930 * gdb.base/range-stepping.exp: Likewise.
1931 * gdb.cp/annota2.exp: Likewise.
1932 * gdb.cp/annota3.exp: Likewise.
1933 * gdb.gdb/selftest.exp: Likewise.
1934 * gdb.threads/continue-pending-status.exp: Likewise.
1935 * gdb.threads/leader-exit.exp: Likewise.
1936 * gdb.threads/manythreads.exp: Likewise.
1937 * gdb.threads/pthreads.exp: Likewise.
1938 * gdb.threads/schedlock.exp: Likewise.
1939 * gdb.threads/sigthread.exp: Likewise.
1940
a8f077dc
DB
19412015-12-11 Don Breazeal <donb@codesourcery.com>
1942
1943 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1944 remote.
1945 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1946 * gdb.base/foll-exec.exp (main): Enable for target remote.
1947 * gdb.base/foll-fork.exp (main): Likewise.
1948 * gdb.base/foll-vfork.exp (main): Likewise.
1949 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1950 (proc continue_to_exit_bp_loc): Use clean_restart.
1951 * gdb.base/pie-execl.exp (main): Disable for target remote.
1952 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1953 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1954 * gdb.threads/execl.exp (main): Likewise.
1955 * gdb.threads/fork-child-threads.exp (main): Likewise.
1956 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1957 remote.
1958 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1959 remote.
1960 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1961 pid.tid style ptids, instead of just tid.
1962 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1963 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1964 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1965 ptids, instead of just tid.
1966
3b2464a8
AB
19672015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1968
1969 * gdb.base/list.exp (test_list_forward): Add end of file error
1970 test.
1971 (test_repeat_list_command): Add end of file error test.
1972 (test_list_backwards): Add beginning of file error test.
1973
a0def019
AB
19742015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1975
1976 * gdb.base/list.exp (test_list_invalid_args): New function,
1977 defined, and called.
1978
5c000dff
AB
19792015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1980
1981 * gdb.base/list.exp (test_list): Make test names unique.
1982
f1637ebe
YQ
19832015-12-11 Yao Qi <yao.qi@linaro.org>
1984
1985 * gdb.base/coremaker2.c: Remove.
1986
36d6fc0a
PA
19872015-12-10 Pedro Alves <palves@redhat.com>
1988
1989 * gdb.multi/base.exp: Remove stale "spaces" references.
1990
762f7747
PA
19912015-12-10 Pedro Alves <palves@redhat.com>
1992
1993 * gdb.multi/base.exp: Don't use nowarnings.
1994 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1995 * gdb.multi/hangout.c: Include stdio.h.
1996 * gdb.multi/hello.c: Include stdlib.h.
1997 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1998 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1999 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2000
28d2bfb9
AB
20012015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2002
2003 * gdb.dwarf2/dw2-ranges-base.c: New file.
2004 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2005 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2006 support additional line table, and debug ranges generation.
2007 (Dwarf::ranges): New function, generate .debug_ranges.
2008 (Dwarf::lines): Support generating simple line table programs.
2009 (Dwarf::assemble): Initialise new namespace variables.
2010
5fc2beac
KB
20112015-12-09 Kevin Buettner <kevinb@redhat.com>
2012
2013 * gdb.base/async.exp (proc test_background): Add case for
2014 asynchronous execution not supported.
2015
1c35a88f
LM
20162015-12-09 Luis Machado <lgustavo@codesourcery.com>
2017
2018 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2019 format and change test names to make them unique.
2020
b593e3d9
RK
20212015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2022 Pedro Alves <pedro@redhat.com>
2023
2024 PR gdb/18702
2025 Add checking of floatformats setup on x86_64 hosts.
2026 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2027 (smallval, bigval): New labels/constants.
2028 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2029 float" after loading bigval and smallval.
2030
d72413e6
PMR
20312015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2032
2033 * gdb.ada/fun_overload_menu.exp: New testcase.
2034 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2035
ece66d65
JS
20362015-12-04 Josh Stone <jistone@redhat.com>
2037
2038 * gdb.base/catch-fork-static.exp: New.
2039
41d0efca
YQ
20402015-12-03 Yao Qi <yao.qi@linaro.org>
2041
2042 * gdb.base/sizeof.c: Don't include stdio.h and
2043 ../lib/unbuffer_output.c.
2044 (main): New variable 'size' and 'value'. Remove printf and
2045 gdb_unbuffer_output. Assign return value to size and value.
2046 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2047 at the beginning.
2048 (check_sizeof): Check the result by printing variable 'size'.
2049 (check_valueof): Check the result by printing variable 'value'.
2050
99fd02d9
YQ
20512015-12-01 Yao Qi <yao.qi@linaro.org>
2052
2053 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2054 for aarch64*-*-linux* target.
2055
f2faf941
PA
20562015-11-30 Pedro Alves <palves@redhat.com>
2057
2058 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2059
04bf20c5
PA
20602015-11-30 Pedro Alves <palves@redhat.com>
2061
2062 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2063 Handle non-stop mode vCont replies.
2064
09df4675
PA
20652015-11-30 Pedro Alves <palves@redhat.com>
2066
2067 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2068 prepare_for_testing. Start gdb with "set non-stop on" appended to
2069 GDBFLAGS. Lax expected stop output.
2070
58b584af
YQ
20712015-11-27 Yao Qi <yao.qi@linaro.org>
2072
2073 * gdb.arch/arm-neon.exp: New.
2074 * gdb.arch/arm-neon.c: New.
2075
dfcb77a8
YQ
20762015-11-27 Yao Qi <yao.qi@linaro.org>
2077
2078 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2079
88e8ec1b
YQ
20802015-11-27 Yao Qi <yao.qi@linaro.org>
2081
2082 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2083 frames-invalid annotation.
2084
bfde72c2
YQ
20852015-11-27 Yao Qi <yao.qi@linaro.org>
2086
2087 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2088
f6512a69
SM
20892015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2090
2091 * gdb.threads/names.exp: New file.
2092 * gdb.threads/names.c: New file.
2093 * README: Mention gdb,no_thread_names.
2094
46a3515b
MM
20952015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2096
2097 PR 19297
2098 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2099 support" error.
2100
62147a22
PA
21012015-11-24 Pedro Alves <palves@redhat.com>
2102
2103 PR 17539
2104 * gdb.base/display.exp: Expect displays to be sorted in ascending
2105 order. Use multi_line.
2106 * gdb.base/solib-display.exp: Likewise.
2107
2f341b6e
PA
21082015-11-24 Pedro Alves <palves@redhat.com>
2109
2110 PR 17539
25d49b86
PA
2111 * gdb.base/display.exp: Expect displays to be sorted in ascending
2112 order. Use multi_line.
2113 * gdb.base/solib-display.exp: Likewise.
2f341b6e 2114
7e0aa6aa
PA
21152015-11-24 Pedro Alves <palves@redhat.com>
2116
2117 PR 17539
2118 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2119 threads in ascending order.
2120 * gdb.base/foll-fork.exp: Likewise.
2121 * gdb.base/foll-vfork.exp: Likewise.
2122 * gdb.base/multi-forks.exp: Likewise.
2123 * gdb.mi/mi-nonstop.exp: Likewise.
2124 * gdb.mi/mi-nsintrall.exp: Likewise.
2125 * gdb.multi/base.exp: Likewise.
2126 * gdb.multi/multi-arch.exp: Likewise.
2127 * gdb.python/py-inferior.exp: Likewise.
2128 * gdb.threads/break-while-running.exp: Likewise.
2129 * gdb.threads/execl.exp: Likewise.
2130 * gdb.threads/gcore-thread.exp: Likewise.
2131 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2132 * gdb.threads/kill.exp: Likewise.
2133 * gdb.threads/linux-dp.exp: Likewise.
2134 * gdb.threads/multiple-step-overs.exp: Likewise.
2135 * gdb.threads/next-bp-other-thread.exp: Likewise.
2136 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2137 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2138 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2139 * gdb.threads/thread-find.exp: Likewise.
2140 * gdb.threads/tls.exp: Likewise.
2141 * lib/mi-support.exp (mi_reverse_list): Delete.
2142 (mi_check_thread_states): No longer reverse list.
2143
2cc57ad8
PA
21442015-11-24 Pedro Alves <palves@redhat.com>
2145
2146 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2147 use lowercase.
2148
c93e8391
SM
21492015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2150
2151 * gdb.trace/actions.c: Include trace-common.h.
2152 (main): Add a location for a fast tracepoint.
2153 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2154 the normal tracepoints.
2155 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2156
045ccf91
SM
21572015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2158
2159 * save-trace.exp: Factor out code to these...
2160 (gdb_save_tracepoints): New.
2161 (gdb_load_tracepoints): New.
2162 (do_save_load_test): New.
2163
5506f9f6
KB
21642015-11-23 Kevin Buettner <kevinb@redhat.com>
2165
2166 * gdb.base/asmlabel.exp: New test.
2167 * gdb.base/asmlabel.c: New test case.
2168
16c3b12f
JB
21692015-11-23 Joel Brobecker <brobecker@adacore.com>
2170
2171 * gdb.base/wrong_frame_bt_full-main.c: New file.
2172 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2173 * gdb.base/wrong_frame_bt_full.exp: New file.
2174
155bfbd3
JB
21752015-11-23 Joel Brobecker <brobecker@adacore.com>
2176
2177 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2178
bb097445
JM
21792015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2180
206853a0 2181 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
2182 pstate register when comparing registers values in
2183 sparc64-*-linux-gnu targets to avoid spurious differences.
2184
9c88ed8f
JM
21852015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2186
206853a0 2187 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 2188
96161e25
SL
21892015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2190
2191 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2192 as type argument to gdb_compile.
2193 * gdb.base/nested-subp2.exp: Likewise.
2194 * gdb.base/nested-subp3.exp: Likewise.
2195
340c2830
DV
21962015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2197
2198 * lib/dwarf.exp (_note): Fix left shift of negative value.
2199 * gdb.trace/trace-condition.exp: Likewise.
2200
c1862d0f
YQ
22012015-11-13 Yao Qi <yao.qi@linaro.org>
2202
2203 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2204 comments about d10v.
2205 (test_scalar_returns): Likewise.
2206 * gdb.base/d10v.ld: Remove.
2207 * gdb.base/overlays.exp: Remove the target triplet checking for
2208 d10v-*-*.
2209 * gdb.base/structs.exp (test_struct_returns): Remove the
2210 comments about d10v.
2211 (test_struct_calls): Likewise.
2212
77ae9c19
YQ
22132015-11-13 Yao Qi <yao.qi@linaro.org>
2214
2215 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2216 * gdb.base/gnu_vector.c: Don't include stdio.h.
2217 (main): Don't print res and call add_some_intvecs.
2218
430e004e
MK
22192015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2220
2221 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2222 macro.
2223 (func5): Removed.
2224 (func4): Use FAST_TRACEPOINT_LABEL.
2225 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2226 macro.
2227 (func): Removed.
2228 (thread_function): Use FAST_TRACEPOINT_LABEL.
2229 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2230 (func): Remove.
2231 (marker): Use FAST_TRACEPOINT_LABEL.
2232 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2233 (pendfunc1): Remove.
2234 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2235 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2236 (foo): Remove.
2237 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2238 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2239 macro.
2240 (func): Remove.
2241 (marker): Use FAST_TRACEPOINT_LABEL.
2242 * gdb.trace/trace-common.h: New header.
2243 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2244 macro.
2245 (func): Remove.
2246 (marker): Use FAST_TRACEPOINT_LABEL.
2247 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2248 (func): Remove.
2249 (thread_function): Use FAST_TRACEPOINT_LABEL.
2250
6e7675a7
MK
22512015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2252
2253 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2254 in front.
2255 * gdb.trace/change-loc.exp: Use global pcreg definition.
2256 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2257 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2258 in front.
2259 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2260 * gdb.trace/pending.exp: Likewise.
2261 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2262 * gdb.trace/trace-break.exp: Likewise.
2263 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2264 in front.
2265 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2266 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2267 in front.
2268 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2269
dddc0e16
JB
22702015-11-09 Joel Brobecker <brobecker@adacore.com>
2271
2272 * gdb.ada/fin_fun_out: New testcase.
2273
c6f0b406
KB
22742015-11-07 Kevin Buettner <kevinb@redhat.com>
2275
2276 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2277 value associated with DW_AT_byte_size.
2278 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2279 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2280 DW_AT_upper_bound.
2281
f01dcfd9
KB
22822015-11-07 Kevin Buettner <kevinb@redhat.com>
2283
2284 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2285 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2286 version.
2287 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2288 gdb.dwarf2/dw2-canonicalize-type.exp,
2289 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2290 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2291 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2292 provided by gdb_target_symbol_prefix_flags_asm.
2293 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2294 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2295 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2296 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2297 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2298 macros where needed). Use this macro for symbols which require
2299 the prefix provided by SYMBOL_PREFIX.
2300
2223449a
KB
23012015-11-05 Kevin Buettner <kevinb@redhat.com>
2302
2303 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2304 New procs.
2305 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2306 representing expressions, of more than one list element.
2307 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2308 to prepend linker symbol prefix to f.
2309 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2310 table_1 and table_2.
2311 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2312 Likewise, for f and g.
2313 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2314 for ptr.
2315 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2316 for main.
2317 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2318 table_1_ptr and table_2_ptr.
2319
6f2f1a3a
JK
23202015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2321 Joel Brobecker <brobecker@adacore.com>
2322
2323 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2324
566c56c9
MK
23252015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2326
2327 * gdb.reverse/s390-mvcle.c: New test.
2328 * gdb.reverse/s390-mvcle.exp: New file.
2329 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2330
d5f0636b
MK
23312015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2332
2333 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2334
7ad8b86c
MK
23352015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2336
2337 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2338 reaching marker2.
2339 * gdb.reverse/getresuid-reverse.exp: Likewise.
2340 * gdb.reverse/pipe-reverse.exp: Likewise.
2341 * gdb.reverse/readv-reverse.exp: Likewise.
2342 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2343 * gdb.reverse/time-reverse.exp: Likewise.
2344 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2345
4081c0f1
YQ
23462015-10-30 Yao Qi <yao.qi@linaro.org>
2347
2348 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2349 (empty_cycle): Remove.
2350 (main): Don't call empty_cycle. Don't use watch_count_done.
2351 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2352 empty_cycle. Rewrite the code counting HW watchpoints.
2353
452b4ba5
MK
23542015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2355
2356 * gdb.reverse/fstatat-reverse.c: New test.
2357 * gdb.reverse/fstatat-reverse.exp: New file.
2358 * gdb.reverse/getresuid-reverse.c: New test.
2359 * gdb.reverse/getresuid-reverse.exp: New file.
2360 * gdb.reverse/pipe-reverse.c: New test.
2361 * gdb.reverse/pipe-reverse.exp: New file.
2362 * gdb.reverse/readv-reverse.c: New test.
2363 * gdb.reverse/readv-reverse.exp: New file.
2364 * gdb.reverse/recvmsg-reverse.c: New test.
2365 * gdb.reverse/recvmsg-reverse.exp: New file.
2366 * gdb.reverse/time-reverse.c: New test.
2367 * gdb.reverse/time-reverse.exp: New file.
2368 * gdb.reverse/waitpid-reverse.c: New test.
2369 * gdb.reverse/waitpid-reverse.exp: New file.
2370
5e2e7507
JK
23712015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2372
2373 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2374
0fde2c53
DE
23752015-10-26 Doug Evans <dje@google.com>
2376
2377 PR symtab/17391
2378 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2379 * gdb.dwarf2/bad-regnum.c: New file.
2380 * gdb.dwarf2/bad-regnum.exp: New file.
2381
1a70ae97
DE
23822015-10-26 Doug Evans <dje@google.com>
2383
2384 PR python/18938
2385 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2386 file.
2387
27dc26ab
JK
23882015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2389
2390 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2391 for a change by "Mention language in compile error message".
2392
bed91f4d
SM
23932015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2394
2395 PR python/18073
2396 * gdb.python/py-type.c (C::a_method): New.
2397 (C::a_const_method): New.
2398 (C::a_static_method): New.
2399 (a_function): New.
2400 * gdb.python/py-type.exp (test_fields): Test getting fields
2401 from function and method.
2402
3f2f83dd
KB
24032015-10-21 Keven Boell <keven.boell@intel.com>
2404
2405 * gdb.fortran/vla-alloc-assoc.exp: New file.
2406 * gdb.fortran/vla-datatypes.exp: New file.
2407 * gdb.fortran/vla-datatypes.f90: New file.
2408 * gdb.fortran/vla-history.exp: New file.
2409 * gdb.fortran/vla-ptype-sub.exp: New file.
2410 * gdb.fortran/vla-ptype.exp: New file.
2411 * gdb.fortran/vla-sizeof.exp: New file.
2412 * gdb.fortran/vla-sub.f90: New file.
2413 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2414 * gdb.fortran/vla-value-sub-finish.exp: New file.
2415 * gdb.fortran/vla-value-sub.exp: New file.
2416 * gdb.fortran/vla-value.exp: New file.
2417 * gdb.fortran/vla-ptr-info.exp: New file.
2418 * gdb.mi/mi-vla-fortran.exp: New file.
2419 * gdb.mi/vla.f90: New file.
2420
27145d50
SL
24212015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2422
2423 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2424 of hardwired timeout value.
2425
5f3ff4f8
JK
24262015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2427 Pedro Alves <palves@redhat.com>
2428
2429 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2430 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2431
bfd09d20
JS
24322015-10-19 Josh Stone <jistone@redhat.com>
2433
2434 * gdb.base/catch-syscall.c: Include <sched.h>.
2435 (unknown_syscall): New variable.
2436 (main): Trigger a vfork and an unknown syscall.
2437 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2438 (unknown_syscall_number): Likewise.
2439 (check_call_to_syscall): Accept an optional syscall pattern.
2440 (check_return_from_syscall): Likewise.
2441 (check_continue): Likewise.
2442 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2443 (test_catch_syscall_skipping_return): New test toggling off 'catch
2444 syscall' to step over the syscall return, then toggling back on.
2445 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2446 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2447 (do_syscall_tests): Call test_catch_syscall_without_args and
2448 test_catch_syscall_mid_vfork.
2449 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2450 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2451
b32b93c6
AS
24522015-10-19 Andrew Stubbs <ams@codesourcery.com>
2453
2454 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2455 print g_vE): Add new pass patterns.
2456 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2457 print various symbol names for vptr fields.
2458
9d622bda
AB
24592015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2460
2461 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2462 results.
2463
0fd8ac1c
YQ
24642015-10-12 Yao Qi <yao.qi@linaro.org>
2465
2466 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2467
34240514
YQ
24682015-10-12 Yao Qi <yao.qi@linaro.org>
2469
2470 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2471 is aarch64*-*-linux*.
2472
8240f442
YQ
24732015-10-12 Yao Qi <yao.qi@linaro.org>
2474
2475 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2476 (can_relocate_bcond_true): ... it.
2477 (can_relocate_bcond_false): New function.
2478 (foo): Likewise.
2479 (can_relocate_bl): Likewise.
2480 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2481 can_relocate_bl.
2482
2520f728
PMR
24832015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2484
2485 * gdb.base/nested-addr.c: New file.
2486 * gdb.base/nested-addr.exp: New testcase.
2487
abcef95a
MM
24882015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2489
2490 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2491 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2492 its output. Ignore the output of "record goto begin" and instead
2493 check that GDB is replaying.
2494
145e3ddb
PA
24952015-10-09 Pedro Alves <palves@redhat.com>
2496
2497 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2498 (top level): Use it in the run with no args test.
2499
d5d8c4e1
IB
25002015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2501
2502 * gdb.dlang/properties.exp: New file.
2503
06e635ef
SL
25042015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2505
2506 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2507 whether or not address 0x1000 is mapped on the target.
2508
e019fd1d
SM
25092015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2510
2511 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2512 build.
2513
77ba2a67
MM
25142015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2515
2516 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2517 instruction-history test.
2518
c60eb31f
DE
25192015-09-28 Doug Evans <dje@google.com>
2520
2521 * gdb.base/gcore.c (array_func): Add reference to static_array.
2522
9a3c8263
SM
25232015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2524
2525 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2526 source line.
2527
9720e656
SL
25282015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2529
2530 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2531 short or char as base type.
2532
938d3bf2
SL
25332015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2534
2535 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2536 to allow any size enum.
2537
e6c2c623
PMR
25382015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2539
2540 * gdb.ada/array_ptr_renaming.exp: New testcase.
2541 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2542 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2543
06da0f77
PL
25442015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2545
2546 * gdb.trace/ftrace-lock.c: New file.
2547 * gdb.trace/ftrace-lock.exp: New file.
2548
4f51c22a
PL
25492015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2550
2551 * gdb.arch/insn-reloc.c: New file.
2552 * gdb.arch/ftrace-insn-reloc.exp: New file.
2553
7041adf4
PL
25542015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2555
2556 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2557 instruction.
2558 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2559 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2560 * gdb.trace/range-stepping.c: Likewise.
2561 * gdb.trace/trace-break.c: Likewise.
2562 * gdb.trace/trace-mt.c (thread_function): Likewise.
2563 * gdb.trace/ftrace.c (marker): Likewise.
2564 * gdb.trace/trace-condition.c (marker): Likewise.
2565 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2566 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2567 is_aarch64_target.
2568
015d2e7e
DE
25692015-09-18 Doug Evans <xdje42@gmail.com>
2570
2571 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2572 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2573
26b188a2
SL
25742015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2575
2576 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2577 the breakpoint.
2578
79dc332b
SL
25792015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2580
2581 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2582 the pending breakpoint. Remove timeout override for "Run till
2583 MI pending breakpoint on pendfunc3 on thread 2" test.
2584
f57929f2
SL
25852015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2586
2587 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2588 filename pattern.
2589
3f469b17
SL
25902015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2591
2592 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2593 in breakpoint filename pattern.
2594
515b89b3
SL
25952015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2596
7800dbe4
SL
2597 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2598
25992015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2600
515b89b3
SL
2601 * gdb.linespec/explicit.exp: Check for readline support for
2602 tab-completion tests. Fix obvious typo.
2603
d2939ba2
MM
26042015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2605
2606 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2607 and replay.
2608
cbb55fa7
MM
26092015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2610
2611 * gdb.btrace/non-stop.c: New.
2612 * gdb.btrace/non-stop.exp: New.
2613
43691ca1
PL
26142015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2615 Yao Qi <yao.qi@linaro.org>
2616
2617 * gdb.trace/trace-condition.c: New file.
2618 * gdb.trace/trace-condition.exp: New file.
2619
d78908cf
WW
26202015-09-16 Wei-cheng Wang <cole945@gmail.com>
2621
2622 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2623 for testing bytecode compilation.
2624
1ed415e2
PA
26252015-09-16 Pedro Alves <palves@redhat.com>
2626 Sandra Loosemore <sandra@codesourcery.com>
2627
2628 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2629 (SECONDS): Redefine.
2630 (main): Call pthread_kill and alarm early.
2631 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2632 support.
2633 (test): If the target can't hardware step and doesn't support
2634 displaced stepping, increase the timeout.
2635
d136eff5
PA
26362015-09-16 Pedro Alves <palves@redhat.com>
2637
2638 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2639 (enable_debug): New procedures.
2640 (test): Use them. Bail out if waiting for threads fails.
2641 (top level): Bail out if a test fails.
2642
991f019c
YQ
26432015-09-16 Yao Qi <yao.qi@linaro.org>
2644
2645 * gdb.asm/asm-source.exp: Set asm-arch for
2646 aarch64*-*-* target.
2647 * gdb.asm/aarch64.inc: New file.
2648
bfca584f
PMR
26492015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2650
2651 * gdb.ada/array_of_variable_length.exp: New testcase.
2652 * gdb.ada/array_of_variable_length/foo.adb: New file.
2653 * gdb.ada/array_of_variable_length/pck.adb: New file.
2654 * gdb.ada/array_of_variable_length/pck.ads: New file.
2655
b326e587
DE
26562015-09-15 Doug Evans <dje@google.com>
2657
2658 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2659 of function static local variable.
2660
5382cfab
PW
26612015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2662
2663 * gdb.threads/tls-so_extern.exp: New test file.
2664 * gdb.threads/tls-so_extern.c: New test file.
2665 * gdb.threads/tls-so_extern_main.c: New test file.
2666
141c5cc4
JK
26672015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2668
2669 * gdb.opt/solib-intra-step-lib.c: New file.
2670 * gdb.opt/solib-intra-step-main.c: New file.
2671 * gdb.opt/solib-intra-step.exp: New file.
2672
d15dcecd
PA
26732015-09-15 Pedro Alves <palves@redhat.com>
2674
2675 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2676 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2677
4c2f2a79
PA
26782015-09-14 Pedro Alves <palves@redhat.com>
2679
2680 * gdb.base/hook-stop-continue.c: Delete.
2681 * gdb.base/hook-stop-continue.exp: Delete.
2682 * gdb.base/hook-stop-frame.c: Delete.
2683 * gdb.base/hook-stop-frame.exp: Delete.
2684 * gdb.base/hook-stop.c: New file.
2685 * gdb.base/hook-stop.exp: New file.
2686
919e6dbe
PMR
26872015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2688
2689 * gdb.ada/access_to_packed_array.exp: New testcase.
2690 * gdb.ada/access_to_packed_array/foo.adb: New file.
2691 * gdb.ada/access_to_packed_array/pack.adb: New file.
2692 * gdb.ada/access_to_packed_array/pack.ads: New file.
2693
157280a4
MM
26942015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2695
2696 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2697 buffer size test.
2698
2fd33e94
DB
26992015-09-11 Don Breazeal <donb@codesourcery.com>
2700
2701 * gdb.base/foll-exec.c: Add copyright header. Fix
2702 formatting issues.
2703 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2704 (do_exec_tests): Use clean_restart in place of zap_session,
2705 and for test initialization. Fix formatting issues. Use
2706 fail in place of perror.
2707 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2708 an expect statement to match an expression with output from
2709 the program under debug.
2710 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2711 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2712 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2713 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2714 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2715
e70b6e8e
DE
27162015-09-09 Doug Evans <dje@google.com>
2717
2718 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2719
7a551a51
DE
27202015-09-09 Doug Evans <dje@google.com>
2721
2722 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2723
4c666f84
DE
27242015-09-09 Doug Evans <dje@google.com>
2725
2726 * gdb.base/savedregs.exp: Fix typo.
2727
243a9253
PA
27282015-09-09 Pedro Alves <palves@redhat.com>
2729
2730 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2731
c0fa8fbd
SL
27322015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2733
2734 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2735 command actually switches threads. Give up on remaining
2736 tests if target fails to stop at breakpoint.
2737
cd7c1778
PMR
27382015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2739
2740 * gdb.ada/funcall_char.exp: New testcase.
2741 * gdb.ada/funcall_char/foo.adb: New file.
2742
dc5c8746
PMR
27432015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2744
2745 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2746 expected outputs. Add two testcases for completing ambiguous
2747 functions.
2748 * gdb.ada/complete/aux_pck.adb: New file.
2749 * gdb.ada/complete/aux_pck.ads: New file.
2750 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2751 Ambiguous_Func functions.
2752 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2753 * gdb.ada/complete/pck.adb: Likewise.
2754
4e83a1e7
UW
27552015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2756
2757 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2758 failures to run the test program under GDB.
2759
8ce74153
LM
27602015-08-26 Luis Machado <lgustavo@codesourcery.com>
2761
2762 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2763 to C.
2764
e9756d52
PP
27652015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2766
2767 * gdb.base/run-after-attach.exp: New test file.
2768 * gdb.base/run-after-attach.c: New test file.
2769
8d37573b
DB
27702015-08-26 Don Breazeal <donb@codesourcery.com>
2771
2772 * gdb.base/foll-exec-2.c: New test program.
2773 * gdb.base/foll-exec-2.exp: New test.
2774
63e43d3a
PMR
27752015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2776
2777 * gdb.base/nested-subp1.exp: New file.
2778 * gdb.base/nested-subp1.c: New file.
2779 * gdb.base/nested-subp2.exp: New file.
2780 * gdb.base/nested-subp2.c: New file.
2781 * gdb.base/nested-subp3.exp: New file.
2782 * gdb.base/nested-subp3.c: New file.
2783
3d40fbb5
PA
27842015-08-24 Pedro Alves <palves@redhat.com>
2785
2786 * gdb.server/connect-without-multi-process.c: New file.
2787 * gdb.server/connect-without-multi-process.exp: New file.
2788
4422ac93
LM
27892015-08-24 Luis Machado <lgustavo@codesourcery.com>
2790
2791 * gdb.opt/inline-markers.c: Make z int.
2792
91dddb86
LM
27932015-08-24 Luis Machado <lgustavo@codesourcery.com>
2794
2795 * gdb.opt/inline-markers.c: Make z volatile.
2796
a48847ee
LM
27972015-08-24 Luis Machado <lgustavo@codesourcery.com>
2798
2799 * gdb.opt/inline-bt.c: New volatile global z.
2800 * gdb.opt/inline-cmds.c: Likewise.
2801 * gdb.opt/inline-locals.c: Likewise.
2802 * gdb.opt/inline-markers.c: New extern global z.
2803 (marker): Use z.
2804 (inline_fn): Likewise.
2805
0ebbc52b
PA
28062015-08-24 Pedro Alves <palves@redhat.com>
2807
2808 * config/m32r-stub.exp: Remove file.
2809 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2810 * gdb.base/call-rt-st.exp: Likewise.
2811 * gdb.base/call-strs.exp: Likewise.
2812 * gdb.base/default.exp: Remove references to h8300-*-hms and
2813 *-*-udi*.
2814 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2815
77c365df
AA
28162015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2817
2818 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2819 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2820 and "return" use KFAIL when GDB can not read/write the vector
2821 return value.
2822
4313b8c0
GB
28232015-08-21 Gary Benson <gbenson@redhat.com>
2824
2825 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2826
0e433b32
PA
28272015-08-20 Pedro Alves <palves@redhat.com>
2828
2829 * gdb.server/solib-list.exp: No longer expect an interior stop in
2830 non-stop mode.
2831
221e1a37
PA
28322015-08-20 Pedro Alves <palves@redhat.com>
2833
2834 * gdb.server/connect-stopped-target.c: New file.
2835 * gdb.server/connect-stopped-target.exp: New file.
2836
40e3ad0e
PA
28372015-08-20 Pedro Alves <palves@redhat.com>
2838
2839 * gdb.dwarf2/comp-unit-lang.exp: New file.
2840 * gdb.dwarf2/comp-unit-lang.c: New file.
2841
af39b327
PMR
28422015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2843
2844 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2845 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2846
7d45c7c3 28472015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 2848
7d45c7c3
KB
2849 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2850 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2851
4d6cceb4
DE
28522015-08-18 Doug Evans <dje@google.com>
2853 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2854
2855 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2856 skip_python_tests. New arg prompt_regexp.
2857 (skip_python_tests): New function.
2858 * lib/mi-support.exp (mi_skip_python_tests): New function.
2859 * gdb.python/py-mi-objfile-gdb.py: New file.
2860 * gdb.python/py-mi-objfile.c: New file.
2861 * gdb.python/py-mi-objfile.exp: New file.
2862
ad89c2aa
KS
28632015-08-17 Keith Seitz <keiths@redhat.com>
2864
2865 * gdb.linespec/explicit.exp: Move strace test from here ...
2866 * gdb.trace/strace.exp: ... to here.
2867
e3ae3c43
PP
28682015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2869
2870 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2871 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2872
604b2636
DE
28732015-08-14 Doug Evans <xdje42@gmail.com>
2874
2875 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2876 inferior before selecting a new file.
2877
6ff0ba5f
DE
28782015-08-14 Doug Evans <xdje42@gmail.com>
2879
2880 * gdb.mi/mi-disassemble.exp: Update.
2881 * gdb.base/disasm-optim.S: New file.
2882 * gdb.base/disasm-optim.c: New file.
2883 * gdb.base/disasm-optim.h: New file.
2884 * gdb.base/disasm-optim.exp: New file.
2885
9ca98f92
KS
28862015-08-14 Keith Seitz <keiths@redhat.com>
2887
2888 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2889 "evaluated-by".
2890
52bbc560
JB
28912015-08-13 Joel Brobecker <brobecker@adacore.com>
2892
2893 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2894
5d8c3ed3
PMR
28952015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2896
2897 * gdb.ada/fun_renaming.exp: New testcase.
2898 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2899 * gdb.ada/fun_renaming/pack.adb: New file.
2900 * gdb.ada/fun_renaming/pack.ads: New file.
2901
ea8812bc
KS
29022015-08-12 Keith Seitz <keiths@redhat.com>
2903
2904 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2905 gdb_get_line_number.
2906
4dafcdeb
JB
29072015-08-12 Joel Brobecker <brobecker@adacore.com>
2908
2909 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2910 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2911 gdb.base/dso2dso.exp: New files.
2912
5ba32597
SDJ
29132015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2914 Pedro Alves <palves@redhat.com>
2915 Keith Seitz <keiths@redhat.com>
2916
2917 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2918 GDBFLAGS.
2919
b6dafabf
PP
29202015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2921
2922 * gdb.base/gdbhistsize-history.exp
2923 (test_histsize_history_setting): Use save_vars.
2924 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2925 Use save_vars.
2926 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2927 * gdb.base/readline.exp: Use save_vars.
2928
abe8e607
PP
29292015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2930
2931 * lib/gdb.exp (save_vars): New proc.
2932
629500fa
KS
29332015-08-11 Keith Seitz <keiths@redhat.com>
2934
2935 * gdb.base/help.exp: Update help_breakpoint_text.
2936
eb8c4e2e
KS
29372015-08-11 Keith Seitz <keiths@redhat.com>
2938
2939 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2940 (at toplevel): Call test_explicit_breakpoints.
2941 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2942 breakpoints.
2943 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2944 breakpoint conditions, "-cond".
2945
87f0e720
KS
29462015-08-11 Keith Seitz <keiths@redhat.com>
2947
2948 * gdb.linespec/3explicit.c: New file.
2949 * gdb.linespec/cpexplicit.cc: New file.
2950 * gdb.linespec/cpexplicit.exp: New file.
2951 * gdb.linespec/explicit.c: New file.
2952 * gdb.linespec/explicit.exp: New file.
2953 * gdb.linespec/explicit2.c: New file.
2954 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2955 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2956 before using in the matching pattern.
2957 Clarify that `prefix' is a regular expression.
2958
f00aae0f
KS
29592015-08-11 Keith Seitz <keiths@redhat.com>
2960
2961 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2962 test.
2963 Add tests for missing ",FMT" and ",".
2964
e27852be
DE
29652015-08-10 Doug Evans <dje@google.com>
2966 Keith Seitz <keiths@redhat.com>
2967
2968 PR gdb/17960
2969 * gdb.base/completion.exp: Add location completer tests.
2970
7f03bd92
PA
29712015-08-07 Pedro Alves <palves@redhat.com>
2972
2973 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2974 tests here.
2975 (top level): Run do_test with and without displaced stepping.
2976
3fc8eb30
PA
29772015-08-07 Pedro Alves <palves@redhat.com>
2978
2979 * gdb.base/valgrind-disp-step.c: New file.
2980 * gdb.base/valgrind-disp-step.exp: New file.
2981
d4569d7b
PA
29822015-08-07 Pedro Alves <palves@redhat.com>
2983
2984 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2985 Delete function.
2986 (main): Add alarm. Run an infinite loop instead of calling
2987 wait_threads.
2988 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2989 comment.
2990 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2991 Delete function.
2992 (main): Add alarm. Run an infinite loop instead of calling
2993 wait_threads.
2994 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2995 comment.
2996
e1316e60
PA
29972015-08-07 Pedro Alves <palves@redhat.com>
2998
2999 * gdb.base/checkpoint-ns.exp: New file.
3000 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3001 standard_testfile.
3002
da8c46d2
MM
30032015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3004
3005 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3006 * gdb.btrace/instruction_history.exp: Update.
3007 * gdb.btrace/tsx.exp: New.
3008 * gdb.btrace/tsx.c: New.
3009
de1c2c52
PA
30102015-08-06 Pedro Alves <palves@redhat.com>
3011
3012 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3013 increase timeout.
3014 * gdb.reverse/until-precsave.exp: Bump timeouts.
3015
782e0bf4
PA
30162015-08-06 Pedro Alves <palves@redhat.com>
3017
3018 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3019
83e97ed0
PA
30202015-08-06 Pedro Alves <palves@redhat.com>
3021
3022 PR gdb/18749
3023 * gdb.threads/process-dies-while-handling-bp.c: New file.
3024 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3025
863d01bd
PA
30262015-08-06 Pedro Alves <palves@redhat.com>
3027
3028 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3029 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3030
0a39bb32
PA
30312015-08-05 Pedro Alves <palves@redhat.com>
3032
3033 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3034 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3035
ee2d2b10
SL
30362015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3037
3038 * gdb.base/bp-permanent.exp: Report test as unsupported if
3039 the target cannot stop at the permanent breakpoint.
3040
4e1bdb00
DE
30412015-08-03 Doug Evans <dje@google.com>
3042
3043 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3044 10000.
3045
3d338901
DE
30462015-08-03 Doug Evans <dje@google.com>
3047
3048 * Makefile.in (workers/%.worker, build-perf): New rule.
3049 (GDB_PERFTEST_MODE): New variable.
3050 (check-perf): Use it.
3051 (clean): Clean up gdb.perf parallel build subdirs.
3052 * lib/build-piece.exp: New file.
3053 * lib/gdb.exp (make_gdb_parallel_path): New function
3054 (standard_output_file, standard_temp_file): Call it.
3055 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3056 of $GDB_PARALLEL.
3057 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3058
af061d3e
DE
30592015-08-03 Doug Evans <dje@google.com>
3060
8e1afc81 3061 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
3062 (LOG_FILE_NAME): New global.
3063 (TextReporter.__init__): Initialize self.txt_sum.
3064 (TextReporter.report): Add support for multiple data-points.
3065 Move report to perftest.sum, put raw data in perftest.log.
3066 (TextReporter.start): Open sum and log files.
3067 (TextReporter.end): Close sum and log files.
8e1afc81
DE
3068 * gdb.perf/lib/perftest/testresult.py
3069 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 3070
2c8c5d37
PA
30712015-07-31 Pedro Alves <palves@redhat.com>
3072
3073 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3074 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3075 kill_wait_spawned_process instead of explicit "kill -9".
3076 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3077 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3078 kill_wait_spawned_process.
3079 * gdb.base/attach-twice.exp: Likewise.
3080 * gdb.base/attach.exp: Likewise.
3081 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3082 gdb_test_multiple.
3083 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3084 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3085 kill_wait_spawned_process.
3086 * gdb.base/valgrind-infcall.exp: Likewise.
3087 * gdb.multi/multi-attach.exp: Likewise.
3088 * gdb.python/py-prompt.exp: Likewise.
3089 * gdb.python/py-sync-interp.exp: Likewise.
3090 * gdb.server/ext-attach.exp: Likewise.
3091 * gdb.threads/attach-into-signal.exp (corefunc): Use
3092 spawn_wait_for_attach, spawn_id_get_pid and
3093 kill_wait_spawned_process.
3094 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3095 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3096 spawn_id_get_pid and kill_wait_spawned_process.
3097 * gdb.threads/attach-stopped.exp (corefunc): Use
3098 spawn_wait_for_attach, spawn_id_get_pid and
3099 kill_wait_spawned_process.
3100 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3101 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3102 kill_wait_spawned_process instead of explicit "kill -9".
3103 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3104 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3105 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3106 processes. Don't map cygwin/windows pids here. Now returns a
3107 spawn id list.
3108
032a0fca
SL
31092015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3110
3111 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3112 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3113 correct patch.
3114
61a934ca
SL
31152015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3116
3117 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3118
4bc4d428
SL
31192015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3120
3121 Reapply:
3122 2014-05-21 Mark Wielaard <mjw@redhat.com>
3123
3124 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3125
998d452a
PA
31262015-07-30 Pedro Alves <palves@redhat.com>
3127
3128 * linux-low.c (handle_extended_wait): Set the child's last
3129 reported status to TARGET_WAITKIND_STOPPED.
3130
69dde7dc
PA
31312015-07-30 Pedro Alves <palves@redhat.com>
3132
3133 PR threads/18600
3134 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3135 only shows inferior 1.
3136
4dd63d48
PA
31372015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3138 Pedro Alves <palves@redhat.com>
3139
3140 PR threads/18600
3141 * gdb.threads/fork-plus-threads.c: New file.
3142 * gdb.threads/fork-plus-threads.exp: New file.
3143
d618e4c5
PP
31442015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3145
3146 * gdb.base/batch-preserve-term-settings.exp
3147 (test_terminal_settings_preserved_after_cli_exit): Use
3148 send_quit_command.
3149
1eef6428
PA
31502015-07-29 Pedro Alves <palves@redhat.com>
3151 Don Breazeal <donb@codesourcery.com>
3152
3153 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3154 output from both inferior_spawn_id and gdb_spawn_id.
3155
7da5b897
SDJ
31562015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3157
3158 * gdb.threads/attach-into-signal.exp (corefunc): Use
3159 with_test_prefix on nested loops, uniquefying the test messages.
3160
dac804df
SDJ
31612015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3162
3163 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3164 commit.
3165
06265e53
PP
31662015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3167
3168 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3169 New proc.
3170 (test_terminal_settings_preserved_after_sigterm): New test.
3171
18206ca3
PP
31722015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3173
3174 * gdb.base/batch-preserve-term-settings.exp
3175 (test_terminal_settings_preserved_after_cli_exit): New test.
3176
90074d11
PP
31772015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3178
3179 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3180 manipulation of saved_gdbflags.
3181 (test_terminal_settings_preserved): Remove global declaration of
3182 the unused variable pagination_prompt. Remove manipulation of
3183 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3184 GDBFLAGS.
3185
eb1a7902
PA
31862015-07-29 Pedro Alves <palves@redhat.com>
3187
3188 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3189
8b75dd3b
PA
31902015-07-29 Pedro Alves <palves@redhat.com>
3191
3192 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3193 at the top.
3194
dedad4e3
PA
31952015-07-29 Pedro Alves <palves@redhat.com>
3196
3197 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3198 (main): Call gdb_unbuffer_output.
3199 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3200 (main): Call gdb_unbuffer_output.
3201 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3202 (main): Call gdb_unbuffer_output.
3203 * gdb.base/call-strs.exp: Adjust to step over the
3204 gdb_unbuffer_output call.
3205 * gdb.base/catch-gdb-caused-signals.c: Include
3206 "../lib/unbuffer_output.c".
3207 (main): Call gdb_unbuffer_output.
3208 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3209 (main): Call gdb_unbuffer_output.
3210 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3211 (main): Call gdb_unbuffer_output.
3212 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3213 (main): Call gdb_unbuffer_output.
3214 * gdb.base/shlib-call.exp: Adjust to step over the
3215 gdb_unbuffer_output call.
3216 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3217 (main): Call gdb_unbuffer_output.
3218 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3219 (main): Call gdb_unbuffer_output.
3220 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3221 (main): Rename to ...
3222 (test): ... this.
3223 (main): Reimplement.
3224 * gdb.base/varargs.exp: Run to test instead of to main.
3225 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3226 (main): Call gdb_unbuffer_output.
3227
58789a91
PA
32282015-07-29 Pedro Alves <palves@redhat.com>
3229
3230 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3231 factore out from mi_continue_dprintf. For call-style dprintfs,
3232 expect dprintf output out of $inferior_spawn_id.
3233 (mi_continue_dprintf): Use mi_expect_dprintf.
3234 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3235 (main): Call gdb_unbuffer_output.
3236
e8376742
PA
32372015-07-29 Pedro Alves <palves@redhat.com>
3238
3239 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3240 (default_mi_gdb_start): Set inferior_spawn_id instead of
3241 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3242 gdb_spawn_id.
3243 (mi_gdb_test): Always expect inferior output from both
3244 $inferior_spawn_id and $gdb_spawn_id.
3245
08280010
PA
32462015-07-29 Pedro Alves <palves@redhat.com>
3247
3248 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3249 send_inferior and $inferior_spawn_id.
3250
4d30e432
PA
32512015-07-29 Pedro Alves <palves@redhat.com>
3252
3253 * gdb.gdb/complaints.exp (test_initial_complaints)
3254 (test_serial_complaints, test_short_complaints): Use
3255 gdb_test_stdio.
3256 (test_empty_complaint): Handle $inferior_spawn_id !=
3257 $gdb_spawn_id.
3258
0d30a335
PA
32592015-07-29 Pedro Alves <palves@redhat.com>
3260
3261 * gdb.base/varargs.exp: Use gdb_test_stdio.
3262
39413b29
PA
32632015-07-29 Pedro Alves <palves@redhat.com>
3264
3265 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3266
7cb000a9
PA
32672015-07-29 Pedro Alves <palves@redhat.com>
3268
3269 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3270
d7b8ac82
PA
32712015-07-29 Pedro Alves <palves@redhat.com>
3272
3273 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3274 parameter into two new parameters, "inf_result" and "gdb_result".
3275 Expect inferior output and gdb output from $inferior_spawn_id and
3276 $gdb_spawn_id, respectively. Adjust all callers.
3277
789c3a0c
PA
32782015-07-29 Pedro Alves <palves@redhat.com>
3279
3280 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3281 of gdb_test_sequence.
3282
77e760c3
PA
32832015-07-29 Pedro Alves <palves@redhat.com>
3284
3285 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3286 (saw_spurious_output): Expect inferior output from
3287 $inferior_spawn_id. Use gdb_test_stdio.
3288
8396d2cd
PA
32892015-07-29 Pedro Alves <palves@redhat.com>
3290
3291 * gdb.base/dprintf.exp: Use standard_testfile. Change
3292 prepare_for_testing call.
3293 (srcfile): Don't set.
3294 (restart): New procedure.
3295 (test_dprintf): New procecure, use to continue over dprintfs.
3296 (test_call, test_agent): New procedures, tests moved here.
3297 Restart gdb and recreate dprintfs. Adjust expected output.
3298
2051d61f
PA
32992015-07-29 Pedro Alves <palves@redhat.com>
3300
3301 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3302
452397af
PA
33032015-07-29 Pedro Alves <palves@redhat.com>
3304
3305 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3306
8aed9555
PA
33072015-07-29 Pedro Alves <palves@redhat.com>
3308
3309 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3310 gdb_test_stdio.
3311
188a61b4
PA
33122015-07-29 Pedro Alves <palves@redhat.com>
3313
3314 * lib/gdb.exp (gdb_test_stdio): New procedure.
3315
12264a45
PA
33162015-07-29 Pedro Alves <palves@redhat.com>
3317
3318 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3319
23ffc893
PA
33202015-07-29 Pedro Alves <palves@redhat.com>
3321
3322 * gdb.base/call-signal-resume.exp: Remove check for
3323 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3324 * gdb.base/unwindonsignal.exp: Likewise.
3325 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3326 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3327
65566918
PA
33282015-07-29 Pedro Alves <palves@redhat.com>
3329
3330 * gdb.base/siginfo-addr.c (pass): New function.
3331 (handler): Call it iff si_addr is correct.
3332 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3333 Set a breakpoint at "pass" and continue to it.
3334
d60a9221
SDJ
33352015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3336
3337 * gdb.python/py-objfile.exp: Make some tests have unique names.
3338 * gdb.python/py-pp-registration.exp: Likewise.
3339
bde40b8f
PA
33402015-07-28 Pedro Alves <palves@redhat.com>
3341
3342 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3343
13e1dec8
SM
33442015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3345
3346 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3347
da33c9a7
SM
33482015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3349
3350 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3351
077836f7
PP
33522015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3353
3354 * gdb.base/gdb-sigterm-2.exp: New test.
3355
b8cc7b2e
DE
33562015-07-25 Doug Evans <xdje42@gmail.com>
3357
3358 Revert:
3359 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3360 (workers/%.worker, build-perf): New rule.
3361 (GDB_PERFTEST_MODE): New variable.
3362 (check-perf): Use it.
3363 (clean): Clean up gdb.perf parallel build subdirs.
3364 * lib/build-piece.exp: New file.
3365 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3366 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3367 name.
3368 (standard_temp_file): Ditto.
3369 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3370 of $GDB_PARALLEL.
3371
c8bd4544
DE
33722015-07-24 Doug Evans <dje@google.com>
3373
3374 * gdb.perf/lib/perftest/utils.py: New file.
3375 * gdb.perf/gm-hello.cc: New file.
3376 * gdb.perf/gm-pervasive-typedef.cc: New file.
3377 * gdb.perf/gm-pervasive-typedef.h: New file.
3378 * gdb.perf/gm-std.cc: New file.
3379 * gdb.perf/gm-std.h: New file.
3380 * gdb.perf/gm-use-cerr.cc: New file.
3381 * gdb.perf/gm-utils.h: New file.
3382 * gdb.perf/gmonster-null-lookup.py: New file.
3383 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3384 * gdb.perf/gmonster-print-cerr.py: New file.
3385 * gdb.perf/gmonster-ptype-string.py: New file.
3386 * gdb.perf/gmonster-runto-main.py: New file.
3387 * gdb.perf/gmonster-select-file.py: New file.
3388 * gdb.perf/gmonster1-null-lookup.exp: New file.
3389 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3390 * gdb.perf/gmonster1-print-cerr.exp: New file.
3391 * gdb.perf/gmonster1-ptype-string.exp: New file.
3392 * gdb.perf/gmonster1-runto-main.exp: New file.
3393 * gdb.perf/gmonster1-select-file.exp: New file.
3394 * gdb.perf/gmonster1.cc: New file.
3395 * gdb.perf/gmonster1.exp: New file.
3396 * gdb.perf/gmonster2-null-lookup.exp: New file.
3397 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3398 * gdb.perf/gmonster2-print-cerr.exp: New file.
3399 * gdb.perf/gmonster2-ptype-string.exp: New file.
3400 * gdb.perf/gmonster2-runto-main.exp: New file.
3401 * gdb.perf/gmonster2-select-file.exp: New file.
3402 * gdb.perf/gmonster2.cc: New file.
3403 * gdb.perf/gmonster2.exp: New file.
3404
6eab34f3
DE
34052015-07-24 Doug Evans <dje@google.com>
3406
3407 * gdb.perf/README: New file.
3408 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3409 * lib/gen-perf-test.exp: New file.
3410
63738bfd
DE
34112015-07-24 Doug Evans <dje@google.com>
3412
3413 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3414 (PerfTest::startup): New function.
3415 (PerfTest::run): Return result of calling body.
3416 (PerfTest::assemble): Rewrite.
3417 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3418 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3419 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3420 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3421 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3422
7b606f95
DE
34232015-07-24 Doug Evans <dje@google.com>
3424
3425 * lib/gdb.exp (clean_restart): Make executable optional.
3426
a97b16b8
DE
34272015-07-24 Doug Evans <dje@google.com>
3428
3429 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3430 compiler_info references.
3431 * gdb.cp/temargs.exp: Ditto.
3432 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3433 (get_compiler_info): Early exit if already computed. Set compiler_info
3434 to "unknown" if there was a problem.
3435 (test_compiler_info): Add function comment. Call get_compiler_info.
3436
35baa57f
DE
34372015-07-24 Doug Evans <dje@google.com>
3438
3439 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3440 (workers/%.worker, build-perf): New rule.
3441 (GDB_PERFTEST_MODE): New variable.
3442 (check-perf): Use it.
3443 (clean): Clean up gdb.perf parallel build subdirs.
3444 * lib/build-piece.exp: New file.
3445 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3446 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3447 name.
3448 (standard_temp_file): Ditto.
3449 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3450 of $GDB_PARALLEL.
3451
6ebea266
DE
34522015-07-24 Doug Evans <dje@google.com>
3453
3454 * lib/future.exp (gdb_default_target_compile): New option
3455 "early_flags".
3456 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3457 --as-needed.
3458
1e76a7e9
SDJ
34592015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3460
3461 * gdb.base/catch-syscall.exp: Call gdb_exit before
3462 gdb_skip_xml_test.
3463
5068630a
PA
34642015-07-24 Pedro Alves <palves@redhat.com>
3465
3466 * gdb.python/py-events.exp: Accept output between the stop event
3467 and the prompt.
3468 * gdb.python/py-evsignal.exp: Likewise.
3469 * gdb.python/py-evthreads.exp: Likewise.
3470
77598427
PA
34712015-07-24 Pedro Alves <palves@redhat.com>
3472
3473 PR gdb/18717
3474 * gdb.threads/non-ldr-exit.c: New file.
3475 * gdb.threads/non-ldr-exit.exp: New file.
3476
11e6c98f
YQ
34772015-07-24 Yao Qi <yao.qi@linaro.org>
3478
3479 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3480 restarting process.
3481
51aee833
YQ
34822015-07-24 Yao Qi <yao.qi@linaro.org>
3483
3484 * gdb.server/ext-restart.exp: New file.
3485
8cfe207c
YQ
34862015-07-24 Yao Qi <yao.qi@linaro.org>
3487
3488 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3489 argument options.
3490 * gdb.server/ext-wrapper.exp: New file.
3491
cc12ce38
DE
34922015-07-23 Doug Evans <dje@google.com>
3493
3494 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3495 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3496
d0d84780
PMR
34972015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3498
3499 * gdb.ada/var_arr_typedef.exp: New testcase.
3500 * gdb.ada/var_arr_typedef/pack.adb: New file.
3501 * gdb.ada/var_arr_typedef/pack.ads: New file.
3502 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3503
8b558f79
JB
35042015-07-20 Joel Brobecker <brobecker@adacore.com>
3505
3506 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3507
775a3298
JK
35082015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3509
3510 * gdb.arch/i386-biarch-core.exp: Replace istarget
3511 by "complete set gnutarget". Remove expectation for the "core-file"
3512 command.
3513
db1ff28b
JK
35142015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3515
3516 Revert the previous commit:
3517 Tests for validate symbol file using build-id.
3518
0a94970d
JK
35192015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3520
3521 Tests for validate symbol file using build-id.
3522 * gdb.base/solib-mismatch-lib.c: New file.
3523 * gdb.base/solib-mismatch-libmod.c: New file.
3524 * gdb.base/solib-mismatch.c: New file.
3525 * gdb.base/solib-mismatch.exp: New file.
3526
03346981
SL
35272015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3528
3529 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3530 nios2-*-linux*.
3531 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3532 * gdb.base/siginfo.exp: Likewise.
3533 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3534
42422cc7
PL
35352015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3536
3537 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3538 Move it to ...
3539 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3540 ... here.
3541 * gdb.trace/range-stepping.exp: Check that the target supports
3542 range stepping.
3543
cfa68bae
JK
35442015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3545
3546 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3547
8ffdba26
PA
35482015-07-14 Pedro Alves <palves@redhat.com>
3549
3550 * gdb.base/killed-outside.exp: New file.
3551 * gdb.base/killed-outside.c: New file.
3552
218a5a11
JK
35532015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3554
3555 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3556 (n at main): New.
3557 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3558
e03ed3c6
AA
35592015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3560
3561 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3562 infcall tests instead of setting up for KFAIL.
3563
485668e5
MM
35642015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3565
3566 * gdb.btrace/record_goto-step.exp: New.
3567
08464196
JK
35682015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3569
3570 PR compile/18484
3571 * gdb.compile/compile.c (struct struct_type): Add volatile to
3572 selffield's type.
3573 * gdb.compile/compile.exp
3574 (compile code struct_object.selffield = &struct_object): Skip further
3575 struct_object tests if this one xfails.
3576
bcf5c1d9
RC
35772015-07-08 Robert O'Callahan <robert@ocallahan.org>
3578
3579 PR exp/18617
3580 * gdb.trace/ax.exp: Add test.
3581
4931af25
YQ
35822015-07-07 Yao Qi <yao.qi@linaro.org>
3583
3584 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3585 instead of istarget "aarch64*-*-*".
3586 * gdb.arch/aarch64-fp.exp: Likewise.
3587 * gdb.base/float.exp: Likewise.
3588 * gdb.reverse/aarch64.exp: Likewise.
3589 * lib/gdb.exp (is_aarch64_target): New proc.
3590
9fcf688e
YQ
35912015-07-07 Yao Qi <yao.qi@linaro.org>
3592
3593 * lib/gdb.exp (is_aarch32_target): New proc.
3594 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3595 instead of "istarget "arm*-*-*"".
3596 * gdb.arch/arm-disp-step.exp: Likewise.
3597 * gdb.arch/thumb-bx-pc.exp: Likewise.
3598 * gdb.arch/thumb-prologue.exp: Likewise.
3599 * gdb.arch/thumb-singlestep.exp: Likewise.
3600 * gdb.base/disp-step-syscall.exp: Likewise.
3601 * gdb.base/float.exp: Likewise.
3602
fbd8d50d
YQ
36032015-07-07 Yao Qi <yao.qi@linaro.org>
3604
3605 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3606 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3607
71be1fdc
YQ
36082015-07-07 Yao Qi <yao.qi@linaro.org>
3609
3610 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3611 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3612 if it exists.
3613 * gdb.multi/multi-arch.exp: Likewise.
3614
3e221d36
SM
36152015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3616
3617 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3618 print.
3619
d441430b
YQ
36202015-07-07 Yao Qi <yao.qi@linaro.org>
3621
3622 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3623
06f810bd
MG
36242015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3625
3626 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3627 '[' and ']' characters.
3628
5e61e7c0
IB
36292015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3630
3631 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3632
28bf096c
PA
36332015-06-29 Pedro Alves <palves@redhat.com>
3634
3635 PR threads/18127
3636 * gdb.threads/hand-call-new-thread.c: New file.
3637 * gdb.threads/hand-call-new-thread.c: New file.
3638
ee93cd5e
KS
36392015-06-26 Keith Seitz <keiths@redhat.com>
3640 Doug Evans <dje@google.com>
3641
3642 PR 16253
3643 * gdb.cp/var-tag-2.cc: New file.
3644 * gdb.cp/var-tag-3.cc: New file.
3645 * gdb.cp/var-tag-4.cc: New file.
3646 * gdb.cp/var-tag.cc: New file.
3647 * gdb.cp/var-tag.exp: New file.
3648
fc637f04
PP
36492015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3650
3651 * gdb.base/history-duplicates.exp: New test.
3652
2e52ae68
PP
36532015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3654
3655 * gdb.base/completion.exp: Test the completion of the "focus"
3656 command.
3657
6e22494e
JK
36582015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3659
3660 * gdb.arch/amd64-prologue-skip.S: New file.
3661 * gdb.arch/amd64-prologue-skip.exp: New file.
3662
bf7b9cd9
SM
36632015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3664
3665 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3666 is_address_zero_readable check.
3667
201e8dfd
PB
36682015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3669
3670 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3671 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3672
5cd867b4
YQ
36732015-06-24 Yao Qi <yao.qi@linaro.org>
3674
3675 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3676 linux targets.
3677
4d7be007
YQ
36782015-06-24 Yao Qi <yao.qi@linaro.org>
3679
3680 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3681 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3682 * gdb.base/siginfo-thread.exp: Likewise.
3683
07fcd301
YQ
36842015-06-22 Yao Qi <yao.qi@linaro.org>
3685
3686 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3687
52042a00
YQ
36882015-06-22 Yao Qi <yao.qi@linaro.org>
3689
3690 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3691 aarch64*-*-*.
3692 (skip_hw_watchpoint_tests): Likewise.
3693
74bd41ce
PP
36942015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3695
3696 * gdb.base/gdbinit-history.exp: Test the interaction between
3697 setting GDBHISTSIZE and setting the history size via .gdbinit.
3698
bc460514
PP
36992015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3700
3701 PR gdb/16999
3702 * gdb.base/gdbhistsize-history.exp: New test.
3703
b58c513b
PP
37042015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3705
3706 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3707 with GDBHISTSIZE.
3708 * gdb.base/readline.exp: Likewise.
3709
92046791
YQ
37102015-06-17 Yao Qi <yao.qi@linaro.org>
3711
3712 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3713 line.
3714
2093d2d3
PP
37152015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3716
3717 * gdb.base/gdbinit-history.exp: Add test case to check that
3718 an unlimited history file does not get truncated on exit.
3719
e6c693af
AA
37202015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3721
3722 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3723 (VECTOR): New macro. Use it...
3724 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3725 ...for these typedefs.
3726 (int8, char1, int1, double1): New typedefs.
3727 (struct just_int2, struct two_int2): New structures.
3728 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3729 (add_structvecs, add_singlevecs): New functions.
3730 (main): Call add_some_intvecs twice.
3731 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3732 the compile and exit upon failure. Try compiling for the "native"
3733 architecture. Test inferior function calls with vector arguments
3734 and vector return value handling with "finish" and "return".
3735
c74f7d1c
JT
37362015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3737
3738 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3739 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3740 PE file.
3741 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3742
98aa42ee
AT
37432015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3744
3745 PR breakpoints/16465
3746 * gdb.mi/mi-dprintf-pending.c: New file.
3747 * gdb.mi/mi-dprintf-pending.exp: New test.
3748 * gdb.mi/mi-dprintf-pendshr.c: New file.
3749
7d73c23c 37502015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 3751 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
3752
3753 * gdb.arch/i386-mpx-map.c: New file.
3754 * gdb.arch/i386-mpx-map.exp: New File.
3755
37562015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3757
3758 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3759 * gdb.arch/i386-mpx.exp: Indentation fixed.
3760
37612015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3762
3763 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3764 function and improved indentation.
3765 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3766 gdb_test_multiple. Added additional tests to skip the test.
3767
37682015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3769
3770 * gdb.arch/i386-avx512.c: Change path in include file.
3771 * gdb.arch/i386-avx512.exp: Change include dir path
3772 compilation flag.
3773 * gdb.arch/i386-mpx.c: Change path in include file.
3774 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3775 flag.
3776
d5eba19a
JK
37772015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3778
3779 * gdb.compile/compile-print.exp (compile print *vararray@3)
3780 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3781
7f361056
JK
37822015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3783
3784 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3785 (do not keep jit in memory): ... this.
3786 (expect 5): Change it to ...
3787 (expect no 5): ... this.
3788
3b462ec2
SM
37892015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3790
3791 PR gdb/15564
3792 * gdb.mi/mi-detach.exp: New file.
3793
e0619de6
JK
37942015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3795
3796 PR symtab/18392
3797 * gdb.arch/amd64-tailcall-self.S: New file.
3798 * gdb.arch/amd64-tailcall-self.c: New file.
3799 * gdb.arch/amd64-tailcall-self.exp: New file.
3800
e970cb34
DB
38012015-05-28 Don Breazeal <donb@codesourcery.com>
3802
3803 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3804 tests for remote targets by checking is_target_gdbserver.
3805
b2e2f908
DE
38062015-05-27 Doug Evans <dje@google.com>
3807
3808 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3809 * gdb.dwarf2/opaque-type-lookup.c: New file.
3810 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3811
82c7be31
DE
38122015-05-26 Doug Evans <dje@google.com>
3813
3814 * gdb.cp/iostream.cc: New file.
3815 * gdb.cp/iostream.exp: New file.
3816
b4f54984
DE
38172015-05-26 Doug Evans <dje@google.com>
3818
3819 * gdb.dwarf2/dw2-op-call.exp: Update.
3820 * gdb.dwarf2/dw4-sig-types.exp: Update.
3821 * gdb.dwarf2/implptr.exp: Update.
3822 * gdb.mi/mi-cmd-param-changed.exp: Update.
3823
4ea6efe9
DE
38242015-05-26 Doug Evans <dje@google.com>
3825
3826 * gdb.python/py-lazy-string.c: New file.
3827 * gdb.python/py-lazy-string.exp: New file.
3828 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3829 (main): Update. Add estring3.
3830 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3831 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3832
f6bb7db3
YQ
38332015-05-26 Omair Javaid <omair.javaid@linaro.org>
3834 Yao Qi <yao.qi@linaro.org>
3835
3836 * gdb.reverse/aarch64.c: New.
3837 * gdb.reverse/aarch64.exp: New.
3838
a81bfbd0
OJ
38392015-05-26 Omair Javaid <omair.javaid@linaro.org>
3840
25d49b86
PA
3841 * lib/gdb.exp (supports_process_record): Return true for
3842 aarch64*-linux*.
a81bfbd0
OJ
3843 (supports_reverse): Likewise.
3844
158bf1b4
PP
38452015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3846
3847 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3848 Use with_test_prefix.
3849
a0145030
AB
38502015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3851
3852 * gdb.base/completion.exp: Add test for completion of layout
3853 names.
3854
ebe3b578
AB
38552015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3856
3857 * lib/gdb.exp (skip_tui_tests): New proc.
3858 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3859
84204ed7
PA
38602015-05-19 Pedro Alves <palves@redhat.com>
3861
3862 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3863 Save the whole env array instead of just HOME. Unset HISTSIZE in
3864 the environment while testing. Restore whole environment
3865 afterwards.
3866
37442ce1
DE
38672015-05-16 Doug Evans <xdje42@gmail.com>
3868
3869 * gdb.guile/scm-ports.c: New file.
3870 * gdb.guile/scm-ports.exp: Add memory port tests.
3871
36de76f9
JK
38722015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3873
3874 * gdb.compile/compile-print.c: New file.
3875 * gdb.compile/compile-print.exp: New file.
3876
3a9558c4
JK
38772015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3878
3879 * gdb.compile/compile-ops.exp: Cast param to void.
3880 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3881 (compile code struct_object.selffield = &struct_object): Add xfail.
3882
aa715135
JG
38832015-05-15 Joel Brobecker <brobecker@adacore.com>
3884
3885 * gdb.ada/arr_enum_with_gap: New testcase.
3886
931e5bc3
JG
38872015-05-15 Joel Brobecker <brobecker@adacore.com>
3888
3889 * gdb.ada/byte_packed_arr: New testcase.
3890
9cd4d857
JB
38912015-05-15 Joel Brobecker <brobecker@adacore.com>
3892
3893 * gdb.ada/pckd_neg: New testcase.
3894
ebfd00d2
PP
38952015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3896
3897 PR gdb/17820
3898 * gdb.base/gdbinit-history.exp: New test.
3899 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3900 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3901
4c082a81
SC
39022015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3903
3904 * gdb.python/py-xmethods.cc: Enhance test case.
3905 * gdb.python/py-xmethods.exp: New tests.
3906 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3907 function.
3908 (B_indexoper): Likewise.
3909 (global_dm_list) : Add new xmethod worker functions.
3910
f7797074
SDJ
39112015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3912
3913 * gdb.base/coredump-filter.exp: Correctly unset
3914 "coredump_var_addr" array.
3915
a4674e4e
PA
39162015-05-08 Pedro Alves <palves@redhat.com>
3917
3918 * gdb.server/non-existing-program.exp: Unset spawn_id.
3919
df2eb078
SC
39202015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3921
3922 PR python/18291
3923 * gdb.python/py-xmethods.exp: Add tests.
3924
422349a3
YQ
39252015-05-08 Yao Qi <yao.qi@linaro.org>
3926
3927 PR gdb/18208
3928 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3929 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3930 function set_coredump_filter, and remove remote_exec call.
3931 Remove argument ipid. Callers update.
3932 (top level): Don't get inferior's PID.
3933
63fc80ce
AA
39342015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3935
3936 * gdb.base/watch_thread_num.exp: Skip test on targets without
3937 access watchpoints.
3938
80ad801e
PA
39392015-05-06 Pedro Alves <palves@redhat.com>
3940
3941 PR server/18081
3942 * gdb.server/non-existing-program.exp: New file.
3943
0fa7fe50
JB
39442015-05-05 Joel Brobecker <brobecker@adacore.com>
3945
3946 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3947
3ea89b92
PMR
39482015-05-05 Joel Brobecker <brobecker@adacore.com>
3949
3950 * gdb.ada/out_of_line_in_inlined: New testcase.
3951
87b8eff0
JB
39522015-05-05 Joel Brobecker <brobecker@adacore.com>
3953
3954 * gdb.ada/var_rec_arr: New testcase.
3955
5fccc635
YQ
39562015-04-30 Yao Qi <yao.qi@linaro.org>
3957
3958 * gdb.base/break-idempotent.exp: If
3959 skip_hw_watchpoint_multi_tests returns true, skip the tests
3960 on "rwatch" and "awatch".
3961
42d38f42
YQ
39622015-04-30 Yao Qi <yao.qi@linaro.org>
3963
3964 * gdb.base/relativedebug.exp: Invoke gdb command
3965 "info sharedlibrary", and if libc.so doesn't have debug info,
3966 skip the test.
3967
2ce1cdbf
DE
39682015-04-29 Doug Evans <dje@google.com>
3969
3970 * gdb.python/py-xmethods.exp: Add ptype tests.
3971 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3972 get_result_type method.
3973
f24a38c5
LM
39742015-04-29 Luis Machado <lgustavo@codesourcery.com>
3975
3976 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3977 the target does not support hardware watchpoints.
3978
ecbf2b3c
LM
39792015-04-29 Luis Machado <lgustavo@codesourcery.com>
3980
3981 * gdb.base/break-always.exp: Abort testing if writing to memory
3982 causes an error.
3983
34f5f757
DE
39842015-04-28 Doug Evans <dje@google.com>
3985
3986 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3987 * gdb.python/py-pp-registration.exp: ... here. New file.
3988 * gdb.python/py-pp-registration.c: New file.
3989 * gdb.python/py-pp-registration.py: New file.
3990
69b4374a
DE
39912015-04-28 Doug Evans <dje@google.com>
3992
3993 * gdb.python/py-bad-printers.c: New file.
3994 * gdb.python/py-bad-printers.py: New file.
3995 * gdb.python/py-bad-printers.exp: New file.
3996
59fb7612
SS
39972015-04-28 Sasha Smundak <asmundak@google.com>
3998
3999 * gdb.python/py-type.exp: New test.
4000
2631b16a
AW
40012015-04-28 Andy Wingo <wingo@igalia.com>
4002
4003 * gdb.python/py-parameter.exp:
4004 * gdb.guile/scm-parameter.exp: Escape the path that we are
4005 matching against, as it might contain characters that are special
4006 to regular expressions.
4007
460efde1
JB
40082015-04-27 Joel Brobecker <brobecker@adacore.com>
4009
4010 * gdb.ada/rec_comp: New testcase.
4011
2d369d8e
SDJ
40122015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4013
4014 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4015 before using it.
4016
cf75d6c3
AB
40172015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4018
4019 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4020 new tests for verilog output.
4021
8dbe7ca5
YQ
40222015-04-24 Yao Qi <yao.qi@linaro.org>
4023
4024 * boards/remote-gdbserver-on-localhost.exp: New file.
4025
4ef9fb2f
PA
40262015-04-23 Pedro Alves <palves@redhat.com>
4027
4028 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4029 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4030 "end of file", remove $inferior_spawn_id from the indirect list.
4031
0a803169
PA
40322015-04-23 Pedro Alves <palves@redhat.com>
4033
4034 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4035
749ef8f8
PA
40362015-04-23 Pedro Alves <palves@redhat.com>
4037
4038 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4039 on $any_spawn_id instead of only on $gdb_spawn_id.
4040
8aae4344
PM
40412015-04-21 Pierre Muller <muller@sourceware.org>
4042
4043 PR pascal/17815
4044 * lib/pascal.exp (gpc_compile): Add new option "class".
4045 (fpc_compile): Likewise.
4046 * gdb.pascal/case-insensitive-symbols.pas: New file.
4047 * gdb.pascal/case-insensitive-symbols.exp: New file.
4048
1586c8fb
GB
40492015-04-20 Gary Benson <gbenson@redhat.com>
4050
4051 * gdb.base/attach.exp: Fix three extended remote failures.
4052
1b6e6f5c
GB
40532015-04-17 Gary Benson <gbenson@redhat.com>
4054
4055 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4056 the main executable over the remote protocol.
4057
e797481d
PA
40582015-04-16 Pedro Alves <palves@redhat.com>
4059
4060 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4061 a new gdbserver if gdbserver_reconnect_p is set.
4062
1ca99c42
PA
40632015-04-16 Pedro Alves <palves@redhat.com>
4064
4065 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4066 is set, don't exit gdbserver.
4067
af9fd6f8
AA
40682015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4069
4070 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4071 appropriate .insn, such that an older assembler can be used.
4072 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4073 the z/Architecture instruction set on 31-bit targets as well.
4074
04ff1e61
AA
40752015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4076
4077 * gdb.go/handcall.exp: Remove all logic related to the first
4078 breakpoint and rely on go_runto_main instead.
4079 * gdb.go/strings.exp: Likewise.
4080 * gdb.go/unsafe.exp: Likewise.
4081 * gdb.go/hello.exp: Likewise. Also rename the remaining
4082 breakpoint marker to "breakpoint 1".
4083 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4084 * gdb.go/strings.go: Likewise.
4085 * gdb.go/unsafe.go: Likewise.
4086 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4087 "set breakpoint 2 here" and rename the remaining breakpoint marker
4088 to "breakpoint 1".
4089
40d2f8d6
SM
40902015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4091
4092 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4093 if itertools.imap is not present.
4094 * gdb.python/py-objfile.exp: Add parentheses.
4095 * gdb.python/py-type.exp: Same.
4096 * gdb.python/py-unwind-maint.py: Same.
4097
8cbc97c6
YQ
40982015-04-15 Yao Qi <yao.qi@linaro.org>
4099
4100 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4101 of ":$ptr_size" and set its form explicitly.
4102
45fd756c
YQ
41032015-04-15 Pedro Alves <palves@redhat.com>
4104 Yao Qi <yao.qi@linaro.org>
4105
4106 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4107 timeout by factor of 4.
4108 (test_regular_watch): Likewise.
4109 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4110 * gdb.reverse/sigall-reverse.exp: Likewise.
4111 * gdb.reverse/until-precsave.exp: Likewise.
4112 * lib/gdb.exp (with_timeout_factor): New proc.
4113 (gdb_expect): Move some code to ...
4114 (get_largest_timeout): ... here. New procedure.
4115
9e811bc3
LM
41162015-04-14 Luis Machado <lgustavo@codesourcery.com>
4117
4118 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4119
0ff6fcb2
LM
41202015-04-13 Luis Machado <lgustavo@codesourcery.com>
4121
4122 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4123 to write to the .text section.
4124
7578d5f7
LM
41252015-04-13 Luis Machado <lgustavo@codesourcery.com>
4126
4127 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4128 Handle the case of targets that do not provide PID information.
4129
2efe15c4
YQ
41302015-04-13 Yao Qi <yao.qi@linaro.org>
4131
4132 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4133 and use expect instead of gdb_expect.
4134
8cd8f2f8
SDJ
41352015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4136
4137 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4138 "coredump_var_addr" to avoid naming conflict with other testcases.
4139
9ee41772
PA
41402015-04-10 Pedro Alves <palves@redhat.com>
4141
4142 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4143 gdb_test_sequence and gdb_assert.
4144
07473109
PA
41452015-04-10 Pedro Alves <palves@redhat.com>
4146
4147 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4148 test messages that don't include the breakpoint address.
4149
de3db44c
YQ
41502015-04-10 Yao Qi <yao.qi@linaro.org>
4151
4152 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4153 false for some offset and width combinations which aren't
4154 supported by linux kernel.
4155
c79d856c
PA
41562015-04-10 Pedro Alves <palves@redhat.com>
4157
4158 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4159 procedure, factored out from ...
4160 (top level): ... here. Add "set displaced-stepping" testing axis.
4161 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4162 parameter "displaced". Use it.
4163 (top level): Use foreach and add "set displaced-stepping" testing
4164 axis.
4165
ebc90b50
PA
41662015-04-10 Pedro Alves <palves@redhat.com>
4167
4168 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4169 Remove comment.
4170 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4171 both the address of the instruction that triggers the watchpoint
4172 and the address of the instruction immediately after, and use
4173 those addresses for the test. Fix comment.
4174
8f572e5c
PA
41752015-04-10 Pedro Alves <palves@redhat.com>
4176
4177 * gdb.base/sigstep.exp (breakpoint_to_handler)
4178 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4179 Test "backtrace" in handler.
4180 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4181 (top level): Add new "displaced" test axis to
4182 breakpoint_to_handler, breakpoint_to_handler_entry and
4183 breakpoint_over_handler.
4184
8d707a12
PA
41852015-04-10 Pedro Alves <palves@redhat.com>
4186
4187 PR gdb/18216
4188 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4189
ef713951
YQ
41902015-04-10 Yao Qi <yao.qi@linaro.org>
4191
4192 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4193 (test_add_rn_pc): New function.
4194 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4195 (top level): Invoke test_add_rn_pc.
4196
906d60cf
PA
41972015-04-10 Pedro Alves <palves@redhat.com>
4198
4199 PR gdb/13858
4200 * gdb.base/step-over-no-symbols.exp: New file.
4201
f2983cc3
AW
42022015-04-09 Andy Wingo <wingo@igalia.com>
4203
4204 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4205 after the Python tests.
4206
6d62641c
SDJ
42072015-04-08 Keith Seitz <keiths@redhat.com>
4208
4209 PR python/16699
4210 * gdb.python/py-completion.exp: New tests for completion.
4211 * gdb.python/py-completion.py (CompleteLimit1): New class.
4212 (CompleteLimit2): Likewise.
4213 (CompleteLimit3): Likewise.
4214 (CompleteLimit4): Likewise.
4215 (CompleteLimit5): Likewise.
4216 (CompleteLimit6): Likewise.
4217 (CompleteLimit7): Likewise.
4218
f3770638
PA
42192015-04-08 Pedro Alves <palves@redhat.com>
4220
4221 PR gdb/18214
4222 PR gdb/18216
4223 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4224 function.
4225 (main): Install it as SIGUSR1 handler.
4226 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4227 parameter. Always use "setup" as prefix. Toggle "set
4228 displaced-stepping" off/on depending on global. Don't switch to
4229 thread 1 here.
4230 (top level): Add displaced stepping "off/on" test axis. Update
4231 "setup" calls. Wrap each subtest with with_test_prefix. Test
4232 continuing with a queued signal in each thread.
4233
4496bed7
PA
42342015-04-08 Pedro Alves <palves@redhat.com>
4235
4236 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4237 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4238 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4239 Return early if running to main fails.
4240 * gdb.trace/while-stepping.exp: Likewise.
4241
b97fde92
PA
42422015-04-07 Pedro Alves <palves@redhat.com>
4243
4244 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4245 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4246 interact with inferior program.
4247
f71c18e7
PA
42482015-04-07 Pedro Alves <palves@redhat.com>
4249
4250 * lib/gdb.exp (inferior_spawn_id): New global.
4251 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4252 spawn id after processing the user code.
4253 (default_gdb_start): Set inferior_spawn_id.
4254 (send_inferior): New procedure.
4255 * lib/gdbserver-support.exp (gdbserver_start): Set
4256 inferior_spawn_id.
4257 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4258
6423214f
PA
42592015-04-07 Pedro Alves <palves@redhat.com>
4260
4261 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4262 * lib/gdbserver-support.exp (gdbserver_start): Make
4263 $server_spawn_id global.
4264 (gdbserver_start): Don't wait for gdbserver's spawn id with
4265 expect_background.
4266 (close_gdbserver): New procedure.
4267 (gdb_exit): Rename the default version and reimplement.
4268
71c0ee8c
PA
42692015-04-07 Pedro Alves <palves@redhat.com>
4270
72f4393d 4271 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
4272 append the substituted item, not the original item.
4273
203bc29b
PA
42742015-04-07 Pedro Alves <palves@redhat.com>
4275
4276 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4277 gdb_expect.
4278
508a3ddf
PA
42792015-04-07 Pedro Alves <palves@redhat.com>
4280
4281 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4282 output appearing once only.
4283
9f6dbe2b
PA
42842015-04-07 Pedro Alves <palves@redhat.com>
4285
4286 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4287 that doesn't expect anything. Return early if running to main
4288 fails.
4289
337532fa
YQ
42902015-04-07 Yao Qi <yao.qi@linaro.org>
4291
4292 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4293 (child_function): Call alarm.
4294 (main): Move call to alarm into the loop.
4295 * gdb.threads/non-stop-fair-events.exp: Build program with
4296 -DTIMEOUT=$timeout.
4297
01b622d4
DE
42982015-04-06 Doug Evans <xdje42@gmail.com>
4299
4300 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4301 Fix dest parameter to board_info.
4302 (fpc_compile): Ditto.
4303 (gdb_compile_pascal): Rename dest arg to destfile.
4304
961f4160
PMR
43052015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4306
4307 * gdb.ada/funcall_ref.exp: New file.
4308 * gdb.ada/funcall_ref/foo.adb: New file.
4309
cafda597
YQ
43102015-04-02 Yao Qi <yao.qi@linaro.org>
4311
4312 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4313 is remote.
4314
fed040c6
GB
43152015-04-02 Gary Benson <gbenson@redhat.com>
4316
4317 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4318
d11916aa
SS
43192015-04-01 Sasha Smundak <asmundak@google.com>
4320
4321 * gdb.python/py-unwind-maint.c: New file.
4322 * gdb.python/py-unwind-maint.exp: New test.
4323 * gdb.python/py-unwind-maint.py: New file.
4324 * gdb.python/py-unwind.c: New file.
4325 * gdb.python/py-unwind.exp: New test.
4326 * gdb.python/py-unwind.py: New test.
4327
a1471180
PA
43282015-04-01 Pedro Alves <palves@redhat.com>
4329
4330 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4331 to fail instead of non-existent $test.
4332
0bbeccb1
PA
43332015-04-01 Pedro Alves <palves@redhat.com>
4334
4335 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4336 GDBFLAGS if not empty.
4337
3c724c8c
PMR
43382015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4339
4340 * gdb.ada/complete.exp: Remove "multi_line".
4341 * gdb.ada/info_exc.exp: Remove "multi_line".
4342 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4343 * gdb.ada/ptype_field.exp: Remove "multi_line".
4344 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4345 * gdb.ada/tagged.exp: Remove "multi_line".
4346 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4347 [multi_line ...]
4348 * gdb.btrace/delta.exp: Likewise.
4349 * gdb.btrace/exception.exp: Likewise.
4350 * gdb.btrace/function_call_history.exp: Likewise.
4351 * gdb.btrace/instruction_history.exp: Likewise.
4352 * gdb.btrace/nohist.exp: Likewise.
4353 * gdb.btrace/record_goto.exp: Likewise.
4354 * gdb.btrace/segv.exp: Likewise.
4355 * gdb.btrace/stepi.exp: Likewise.
4356 * gdb.btrace/tailcall.exp: Likewise.
4357 * gdb.btrace/unknown_functions.exp: Likewise.
4358 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4359 * lib/gdb.exp: Add the "multi_line" helper.
4360
4eec2deb
PA
43612015-04-01 Pedro Alves <palves@redhat.com>
4362
4363 * gdb.threads/tid-reuse.c: New file.
4364 * gdb.threads/tid-reuse.exp: New file.
4365
df8411da
SDJ
43662015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4367
4368 PR corefiles/16092
4369 * gdb.base/coredump-filter.c: New file.
4370 * gdb.base/coredump-filter.exp: Likewise.
4371
6ef37366
PM
43722015-03-27 Petr Machata <pmachata@redhat.com>
4373
4374 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4375 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4376 (Dwarf::assemble): Initialize them.
4377 (Dwarf::lines): New function.
4378
7ec911b0
JT
43792015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4380
4381 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4382 SYMBOL_PREFIX for x86_64-*-cygwin.
4383
ff908ebf
AW
43842015-03-26 Andy Wingo <wingo@igalia.com>
4385
4386 PR symtab/18148
4387 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4388 const_value but not a location.
4389 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4390 location defined in non-main CUs are visible.
4391
6d5f0679
YQ
43922015-03-26 Yao Qi <yao.qi@linaro.org>
4393
4394 PR testsuite/18139
4395 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4396 Add a line number entry for the same line.
4397 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4398 Add a line number entry for the same line.
4399
2898689b
YQ
44002015-03-26 Yao Qi <yao.qi@linaro.org>
4401
4402 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4403 .int 0.
4404 (func): Likewise. Add .Lfunc_1 label.
4405 Use .Lfunc_1 label.
4406 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4407 .int 0.
4408 (func): Likewise.
4409 Use .Lfunc_1 label.
4410
85180498
YQ
44112015-03-26 Yao Qi <yao.qi@linaro.org>
4412
4413 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4414 Call gdb_compile instead to compile each .s files without debug
4415 information.
4416
8aa08a8d
YQ
44172015-03-26 Yao Qi <yao.qi@linaro.org>
4418
4419 * gdb.base/savedregs.exp (process_saved_regs): Make
4420 "Saved registers:" optional in the pattern.
4421
66849923
MM
44222015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4423
4424 * gdb.btrace/next.exp: Merged into step.exp.
4425 * gdb.btrace/finish.exp: Merged into step.exp.
4426 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4427 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4428 "record goto" and checking the exact replay position.
4429 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4430 check for "Recording format" in "info record" output.
4431 * gdb.btrace/record_goto.exp: Choose test file based on target.
4432 * gdb.btrace/x86-record_goto.S: Renamed into ...
4433 * gdb.btrace/x86_64-record_goto.S: ... this.
4434 * gdb.btrace/i686-record_goto.S: New.
4435 * gdb.btrace/x86-tailcall.S: Renamed into ...
4436 * gdb.btrace/x86_64-tailcall.S: ... this.
4437 * gdb.btrace/i686-tailcall.S: New.
4438 * gdb.btrace/x86-tailcall.c: Renamed into ...
4439 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4440 separate statements. Update test.
4441 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4442 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4443 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4444 * gdb.btrace/tailcall.exp: Choose test file based on target.
4445 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4446
11cc1b74
MM
44472015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4448
4449 * gdb.btrace/exception.exp: Increase BTS buffer size.
4450
a25d8bf9
PA
44512015-03-24 Pedro Alves <palves@redhat.com>
4452
4453 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4454
856e7dd6
PA
44552015-03-24 Pedro Alves <palves@redhat.com>
4456
4457 * gdb.threads/schedlock.exp (test_step): No longer expect that
4458 "set scheduler-locking step" with "next" over a function call runs
4459 threads unlocked.
4460
ad235a41
AT
44612015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4462
4463 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4464
15630549
AT
44652015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4466
4467 PR breakpoints/16466
4468 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4469 * gdb.mi/mi-pending.c (thread_func): New function.
4470 (int main): Add threading support required.
4471 * gdb.mi/mi-pending.exp: Add tests for this issue.
4472 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4473 (pendfunc2): Remove stdio dependency.
4474 * gdb.mi/mi-pendshr2.c: New file.
4475
693dca06
KS
44762015-03-23 Keith Seitz <keiths@redhat.com>
4477
4478 * gdb.linespec/keywords.c: New file.
4479 * gdb.linespec/keywords.exp: New file.
4480
7e993ebf
KS
44812015-03-23 Keith Seitz <keiths@redhat.com>
4482
4483 PR gdb/18021
4484 * gdb.dwarf2/staticvirtual.exp: New test.
4485
bc23328c
JK
44862015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4487
4488 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4489 * README: Remove HP-UX and gdb.hp.
4490 (configuration):
4491 * configure: Regenerate.
4492 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4493 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4494 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4495 gdb.hp/gdb.defects/Makefile.
4496 * gdb.hp/Makefile.in: File deleted.
4497 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4498 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4499 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4500 * gdb.hp/gdb.aCC/run.c: File deleted.
4501 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4502 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4503 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4504 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4505 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4506 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4507 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4508 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4509 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4510 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4511 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4512 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4513 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4514 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4515 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4516 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4517 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4518 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4519 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4520 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4521 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4522 * gdb.hp/gdb.compat/average.c: File deleted.
4523 * gdb.hp/gdb.compat/sum.c: File deleted.
4524 * gdb.hp/gdb.compat/xdb.c: File deleted.
4525 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4526 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4527 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4528 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4529 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4530 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4531 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4532 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4533 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4534 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4535 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4536 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4537 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4538 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4539 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4540 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4541 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4542 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4543 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4544 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4545 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4546 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4547 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4548 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4549 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4550 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4551 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4552 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4553 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4554 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4555 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4556 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4557 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4558 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4559 * gdb.hp/tools/odump: File deleted.
4560
8bf3b159
PA
45612015-03-19 Pedro Alves <palves@redhat.com>
4562
4563 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4564 (saw_thread_3): New globals.
4565 (top level): Increment them when an event for the corresponding
4566 thread is seen.
4567 (no thread starvation): New test.
4568
eb54c8bf
PA
45692015-03-19 Pedro Alves <palves@redhat.com>
4570
4571 * gdb.threads/continue-pending-status.c: New file.
4572 * gdb.threads/continue-pending-status.exp: New file.
4573
32d2e5d6
PA
45742015-03-18 Pedro Alves <palves@redhat.com>
4575
4576 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4577 Use gdb_is_target_remote instead of is_remote. Use
4578 gdb_test_multiple instead of gdb_expect. Exit early if
4579 gdb_test_multiple hits its internal matches. Tighten stepi tests
4580 expected output. Fail on exit with any signal, instead of just
4581 SIGILL.
4582
f68f11b7
YQ
45832015-03-18 Yao Qi <yao.qi@linaro.org>
4584
4585 PR tdep/18107
4586 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4587 variable.
4588 * gdb.base/catch-syscall.exp: Don't skip it on
4589 aarch64*-*-linux* target. Remove elements in all_syscalls.
4590 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4591 target.
4592 (setup_all_syscalls): New proc.
4593
ca5fd19b
YQ
45942015-03-16 Yao Qi <yao.qi@linaro.org>
4595
4596 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4597 (top level): Skip tests if valid_addr_p returns false for
4598 $cmd1 or $cmd2.
4599
85642ba0
AW
46002015-03-11 Andy Wingo <wingo@igalia.com>
4601
4602 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4603
e03f9645
YQ
46042015-03-11 Yao Qi <yao.qi@linaro.org>
4605
4606 * gdb.base/catch-syscall.exp: Fix typo in comments.
4607
5d0962b2
YQ
46082015-03-11 Yao Qi <yao.qi@linaro.org>
4609
4610 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4611
b2df3cef
PA
46122015-03-09 Pedro Alves <palves@redhat.com>
4613
4614 * dg-extract-results.py: Delete.
4615
ef878e53
PA
46162015-03-09 Pedro Alves <palves@redhat.com>
4617
4618 Merge dg-extract-results.sh from GCC upstream (r218843).
4619
4620 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4621 * dg-extract-results.sh: Use --text with grep to avoid issues with
4622 binary files. Fall back to cat -v, if that doesn't work.
4623
9494d219
PA
46242015-03-05 Pedro Alves <palves@redhat.com>
4625
4626 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4627
a8d9763a
SM
46282015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4629
4630 * lib/mi-support.exp (mi_expect_interrupt): Accept
4631 alternative event for when in all-stop mode.
4632
be9957b8
PA
46332015-03-04 Pedro Alves <palves@redhat.com>
4634
4635 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4636
d57be0f4 46372015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
4638
4639 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4640
c214c7cf
AA
46412015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4642
4643 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4644 regexps for GDB's current line display, accept a hex address
4645 preceding the line number.
4646
6d74a497
AA
46472015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4648
4649 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4650 the 'arch1' variable for "s390*-linux*" targets.
4651
511aee7c
PA
46522015-03-04 Pedro Alves <palves@redhat.com>
4653
4654 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4655 (main): Pass missing retval argument to pthread_join call.
4656
95e50b27
PA
46572015-03-02 Pedro Alves <palves@redhat.com>
4658
4659 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4660 (top level): Call do_test with non-stop as well.
4661
28054d69
PA
46622015-03-02 Pedro Alves <palves@redhat.com>
4663
4664 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4665 -1.
4666
4fa5d7b4
AA
46672015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4668
4669 * gdb.arch/s390-vregs.exp: New test.
4670 * gdb.arch/s390-vregs.S: New file.
4671
97c18565
PA
46722015-02-27 Pedro Alves <palves@redhat.com>
4673
4674 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4675 call to catch_command_errors.
4676 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4677 catch_command_errors.
4678
a37bfa30
PA
46792015-02-27 Pedro Alves <palves@redhat.com>
4680
4681 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4682 "true" for boolean result.
4683 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4684 prototype of main.
4685
6f98576f
PA
46862015-02-27 Pedro Alves <palves@redhat.com>
4687
4688 * lib/unbuffer_output.c: New file.
4689 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4690 (main): Call gdb_unbuffer_output.
4691
eba5ab56
YQ
46922015-02-27 Yao Qi <yao.qi@linaro.org>
4693
4694 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4695 target.
4696
0def5aaa
DE
46972015-02-26 Doug Evans <dje@google.com>
4698
4699 * gdb.cp/class2.cc (Dbase, D): New classes.
4700 (main): New local delta.
4701 * gdb.cp/class2.exp: Test printing delta.
4702 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4703 (dynbar): New global.
4704 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4705
081a1c2c
JK
47062015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4707
4708 * gdb.compile/compile-ifunc.c: New file.
4709 * gdb.compile/compile-ifunc.exp: New file.
4710
2f41223f
AT
47112015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4712
4713 * gdb.base/structs.exp: Check for correct struct on finish.
4714
03eddd80
YQ
47152015-02-26 Yao Qi <yao.qi@linaro.org>
4716
4717 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4718 is zero.
4719
80c57053
JK
47202015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4721
4722 * gdb.arch/cordic.ko.bz2: New file.
4723 * gdb.arch/cordic.ko.debug.bz2: New file.
4724 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4725
21613c12
YQ
47262015-02-25 Yao Qi <yao.qi@linaro.org>
4727
4728 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4729 aarch64*-*-* target.
4730
d8b901ed
PA
47312015-02-23 Pedro Alves <palves@redhat.com>
4732
4733 * lib/gdb.exp (delete_breakpoints): Rewrite using
4734 gdb_test_multiple.
4735
e5b85ead
PA
47362015-02-23 Pedro Alves <palves@redhat.com>
4737
4738 * gdb.base/info-os.c: Include stdlib.h.
4739
85c3a371
DE
47402015-02-22 Doug Evans <xdje42@gmail.com>
4741
4742 PR symtab/17855
4743 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4744 is read after symbols have been re-read.
4745 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4746 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4747
96553a0c
DE
47482015-02-21 Doug Evans <dje@google.com>
4749
4750 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4751
97a0c697
JK
47522015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4753
4754 PR corefiles/17808
4755 * gdb.arch/i386-biarch-core.core.bz2: New file.
4756 * gdb.arch/i386-biarch-core.exp: New file.
4757
a47cd6e9
PA
47582015-02-21 Pedro Alves <palves@redhat.com>
4759
4760 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4761 runto_main fails.
4762
c5facdc4
PA
47632015-02-20 Pedro Alves <palves@redhat.com>
4764
4765 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4766 info probes.
4767
2db9a427
PA
47682015-02-20 Pedro Alves <palves@redhat.com>
4769
4770 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4771
60fb7e9e
PA
47722015-02-20 Pedro Alves <palves@redhat.com>
4773
4774 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4775 clean_restart before gdb_target_supports_trace.
4776
5c5019c2
PA
47772015-02-20 Pedro Alves <palves@redhat.com>
4778
4779 PR threads/18006
4780 * gdb.threads/clone-thread_db.c: New file.
4781 * gdb.threads/clone-thread_db.exp: New file.
4782
c9587f88
AT
47832015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4784
4785 PR breakpoints/16812
4786 * gdb.base/catch-gdb-caused-signals.c: New file.
4787 * gdb.base/catch-gdb-caused-signals.exp: New file.
4788
f6a88844
JM
47892015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4790
4791 * configure: Regenerated.
4792 * configure.ac: Use GDB_AC_TRANSFORM.
4793 * aclocal.m4: sinclude ../transform.m4.
4794
497c491b
JM
47952015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4796
4797 * lib/dtrace.exp: New file.
4798 * gdb.base/dtrace-probe.exp: Likewise.
4799 * gdb.base/dtrace-probe.d: Likewise.
4800 * gdb.base/dtrace-probe.c: Likewise.
4801 * lib/pdtrace.in: Likewise.
4802 * configure.ac: Output variables with the transformed names of
4803 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4804 * configure: Regenerated.
4805
03e98035
JM
48062015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4807
4808 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4809 expected message when trying to access $_probe_* convenience
4810 variables while not on a probe.
4811
63cc30e9
JK
48122015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4813
4814 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4815
0703599a
PA
48162015-02-11 Pedro Alves <pedro@codesourcery.com>
4817
4818 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4819 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4820
7e60a48e
DE
48212015-02-10 Doug Evans <xdje42@gmail.com>
4822
4823 * lib/gdb.exp (gdb_load): Always return a result.
4824
01b088bc
PA
48252015-02-10 Pedro Alves <palves@redhat.com>
4826
4827 * gdb.threads/signal-sigtrap.c: New file.
4828 * gdb.threads/signal-sigtrap.exp: New file.
4829
b05ec7a5
AT
48302015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4831
4832 * gdb.trace/no-attach-trace.c: New file.
4833 * gdb.trace/no-attach-trace.exp: New file.
4834
a2c2acaf
MW
48352015-02-09 Mark Wielaard <mjw@redhat.com>
4836
4837 * gdb.dwarf2/atomic.c: New file.
4838 * gdb.dwarf2/atomic-type.exp: Likewise.
4839
31fd9caa
MM
48402015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4841
4842 * gdb.btrace/buffer-size.exp: Update "info record" output.
4843 * gdb.btrace/delta.exp: Update "info record" output.
4844 * gdb.btrace/enable.exp: Update "info record" output.
4845 * gdb.btrace/finish.exp: Update "info record" output.
4846 * gdb.btrace/instruction_history.exp: Update "info record" output.
4847 * gdb.btrace/next.exp: Update "info record" output.
4848 * gdb.btrace/nexti.exp: Update "info record" output.
4849 * gdb.btrace/step.exp: Update "info record" output.
4850 * gdb.btrace/stepi.exp: Update "info record" output.
4851 * gdb.btrace/nohist.exp: Update "info record" output.
4852
d33501a5
MM
48532015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4854
4855 * gdb.btrace/buffer-size: New.
4856
f4abbc16
MM
48572015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4858
4859 * gdb.btrace/delta.exp: Update "info record" output.
4860 * gdb.btrace/enable.exp: Update "info record" output.
4861 * gdb.btrace/finish.exp: Update "info record" output.
4862 * gdb.btrace/instruction_history.exp: Update "info record" output.
4863 * gdb.btrace/next.exp: Update "info record" output.
4864 * gdb.btrace/nexti.exp: Update "info record" output.
4865 * gdb.btrace/step.exp: Update "info record" output.
4866 * gdb.btrace/stepi.exp: Update "info record" output.
4867 * gdb.btrace/nohist.exp: Update "info record" output.
4868
b9d61307
SM
48692015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4870
4871 PR gdb/15678
4872 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4873
e584fdbc
PA
48742015-02-06 Pedro Alves <palves@redhat.com>
4875
4876 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4877 macro.
4878 (seconds_left, again): New globals.
4879 (main): Wait seconds_left in a 1-second sleep loop instead of
4880 sleeping 180 seconds. If 'again' is set, reset the seconds
4881 counter.
4882 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4883 'again' in the inferior before detaching. Print the seconds left.
4884 (options): New global.
4885 (top level): Build program with -DTIMEOUT=$timeout.
4886
77f41761
PA
48872015-02-06 Pedro Alves <palves@redhat.com>
4888
4889 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4890 determine how many seconds to pass to 'alarm'.
4891 * gdb.base/gdb-sigterm.exp (top level): Build program with
4892 -DTIMEOUT=$timeout.
4893 (do_test): Return success/failure indication. Add more verbose
4894 logging. Don't fail if 200 single steps are seen. Instead, fail
4895 when the test times out.
4896 (passes): New global.
4897 (top level): Break the testing loop if testing fails on any
4898 iteration. Use gdb_assert.
4899
b9394193
DB
49002015-02-04 Don Breazeal <donb@codesourcery.com>
4901
4902 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4903 and initialize them.
4904 (ipc_cleanup): New function.
4905 (main): Don't declare shmid, semid, and msqid. Add a call to
4906 atexit so that we call ipc_cleanup on exit.
4907
42d9e528
PA
49082015-02-04 Pedro Alves <palves@redhat.com>
4909
4910 * boards/native-extended-gdbserver.exp: Remove any target variant
4911 specifications from the board name before clearing the isremote
4912 flag from board_info.
4913
ae6ae975
DE
49142015-01-31 Doug Evans <xdje42@gmail.com>
4915
4916 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4917
cfb069a8
GB
49182015-01-31 Gary Benson <gbenson@redhat.com>
4919
4920 * gdb.base/completion.exp: Disable completion limiting for
4921 existing tests. Add new tests to check completion limiting.
4922 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4923
5dd31d79
DE
49242015-01-31 Doug Evans <xdje42@gmail.com>
4925
4926 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4927
9f050062
DE
49282015-01-31 Doug Evans <xdje42@gmail.com>
4929
4930 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4931 entries. Duplicate file section script entries.
4932 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4933 inlined entries. Add test for safe-path rejection.
4934 * gdb.python/py-section-script.c: Add duplicate inlined section script
4935 entries. Duplicate file section script entries.
4936 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4937 inlined entries. Add test for safe-path rejection.
4938
df25ebbd
JB
49392015-01-29 Joel Brobecker <brobecker@adacore.com>
4940
4941 * gdb.ada/disc_arr_bound: New testcase.
4942
4a0ca9ec
JB
49432015-01-29 Joel Brobecker <brobecker@adacore.com>
4944
4945 * gdb.ada/mi_var_array: New testcase.
4946
3a8b707a
DE
49472015-01-27 Doug Evans <dje@google.com>
4948
4949 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4950 Add test for objfile.filename, objfile.username after objfile
4951 has been unloaded.
4952
f8313f6e
JB
49532015-01-26 Joel Brobecker <brobecker@adacore.com>
4954
4955 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4956 the second test to print the name attribute of value
4957 returned by the call to gdb.lookup_type, and adjust
4958 the expected output accordingly.
4959
37bc665e
MW
49602015-01-25 Mark Wielaard <mjw@redhat.com>
4961
4962 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4963 * gdb.base/disp-step-fork.c: Include unistd.h.
4964 * gdb.base/siginfo-obj.c: Include stdio.h.
4965 * gdb.base/siginfo-thread.c: Likewise.
4966 * gdb.mi/non-stop.c: Include unistd.h.
4967 * gdb.mi/nsthrexec.c: Include stdio.h.
4968 * gdb.mi/pthreads.c: Include unistd.h.
4969 * gdb.modula2/unbounded1.c (main): Declare returns int.
4970 * gdb.reverse/consecutive-reverse.c: Likewise.
4971 * gdb.threads/create-fail.c: Include unistd.h.
4972 * gdb.threads/killed.c: Likewise.
4973 * gdb.threads/linux-dp.c: Likewise.
4974 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4975 * gdb.threads/non-ldr-exc-2.c: Likewise.
4976 * gdb.threads/non-ldr-exc-3.c: Likewise.
4977 * gdb.threads/non-ldr-exc-4.c: Likewise.
4978 * gdb.threads/pthreads.c: Include unistd.h.
4979 (main): Declare returns int.
4980 * gdb.threads/tls-main.c (foo): New declaration.
4981 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4982
f7e5394d
SM
49832015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4984
4985 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4986 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4987
743649fd
MW
49882015-01-15 Mark Wielaard <mjw@redhat.com>
4989
4990 * gdb.base/noreturn-return.c: New file.
4991 * gdb.base/noreturn-return.exp: New file.
4992 * gdb.base/noreturn-finish.c: New file.
4993 * gdb.base/noreturn-finish.exp: New file.
4994
198297aa
PA
49952015-01-23 Pedro Alves <palves@redhat.com>
4996
4997 * gdb.threads/continue-pending-after-query.c: New file.
4998 * gdb.threads/continue-pending-after-query.exp: New file.
4999
717cf30c
AG
50002015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5001 Simon Marchi <simon.marchi@ericsson.com>
5002
5003 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5004 * gdb.base/valgrind-db-attach.exp: Same.
5005 * gdb.base/valgrind-infcall.exp: Same.
5006 * lib/mi-support.exp (default_mi_gdb_start): Same.
5007 * lib/prompt.exp (default_prompt_gdb_start): Same.
5008 * lib/gdb.exp (default_gdb_spawn): Same.
5009 (gdb_interact): New.
5010
5011
4b62a76e
JK
50122015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5013
5014 * gdb.compile/compile.exp (pointer to jit function): New test.
5015
b4cdae6f
WW
50162015-01-17 Wei-cheng Wang <cole945@gmail.com>
5017
5018 * lib/gdb.exp (supports_process_record): Return true for
5019 powerpc*-*-linux*.
5020 (supports_reverse): Likewise.
5021
d221e7ef
DB
50222015-01-15 Don Breazeal <donb@codesourcery.com>
5023
5024 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5025 instead of checking whether the target board is remote and
5026 use spawn_wait_for_attach instead of exec/sleep.
5027 * gdb.base/attach-twice.exp: Likewise.
5028
bafffb51
JB
50292015-01-15 Joel Brobecker <brobecker@adacore.com>
5030
5031 * gdb.ada/var_arr_attrs: New testcase.
5032
5589af0e
PA
50332015-01-14 Pedro Alves <palves@redhat.com>
5034 Joel Brobecker <brobecker@adacore.com>
5035
5036 PR gdb/17525
5037 * gdb.base/bp-cmds-execution-x-script.c: New file.
5038 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5039 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5040
6c400b59
PA
50412015-01-14 Pedro Alves <palves@redhat.com>
5042
5043 PR cli/17828
5044 * gdb.base/batch-preserve-term-settings.c: New file.
5045 * gdb.base/batch-preserve-term-settings.exp: New file.
5046
e02c96a7
DE
50472015-01-13 Doug Evans <dje@google.com>
5048
5049 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5050 binary.
5051
576fd14c
JB
50522015-01-13 Joel Brobecker <brobecker@adacore.com>
5053
5054 * Makefile.in (clean mostlyclean): Do not delete *.py.
5055
04dccad0
JB
50562015-01-13 Joel Brobecker <brobecker@adacore.com>
5057
5058 * gdb.python/py-lookup-type.exp: New file.
5059
3d230f71
PA
50602015-01-12 Pedro Alves <palves@redhat.com>
5061
5062 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5063 restore GDBFLAGS before returning.
5064
7e67715d
JK
50652015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5066
5067 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5068 is_amd64_regs_target and is_x86_like_target.
5069
f2e0d4b4
DE
50702015-01-11 Doug Evans <xdje42@gmail.com>
5071
5072 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5073 is given without an explicit form.
5074 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5075 attributes.
5076 * gdb.dwarf/corrupt.exp: Ditto.
5077 * gdb.dwarf2/enum-type.exp: Ditto.
5078 * gdb.trace/entry-values.exp: Ditto.
5079 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5080
439250fb
DE
50812015-01-11 Doug Evans <xdje42@gmail.com>
5082
5083 PR gdb/15830
5084 * gdb.base/maint.exp: Remove references to "maint demangle".
5085 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5086 Add tests for explicitly specifying language to demangle.
5087 * gdb.dlang/demangle.exp: Ditto.
5088
ede9f622
PA
50892015-01-09 Pedro Alves <palves@redhat.com>
5090
5091 * gdb.threads/non-stop-fair-events.c: New file.
5092 * gdb.threads/non-stop-fair-events.exp: New file.
5093
a7b796db
PA
50942015-01-09 Pedro Alves <palves@redhat.com>
5095
5096 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5097 the global scope. Set a breakpoint after all threads are started
5098 rather than stepping over two source lines. Expect the prompt.
5099 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5100 global.
5101 (NUM): Now 15.
5102 (main): Use threads_started_barrier to wait for all threads to
5103 start. Main thread no longer calls thread_function. Exit after
5104 180 seconds.
5105 (loop): New function.
5106 (thread_function): Wait on threads_started_barrier barrier. Call
5107 'loop' at each iteration.
5108 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5109 threads have started, instead of hardcoding number of "next"
5110 steps. Use an access watchpoint instead of a write watchpoint.
5111
9665ffdd
PA
51122015-01-09 Pedro Alves <palves@redhat.com>
5113
5114 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5115 (thread_func): Wait on barrier.
5116 (main): Wait for all threads to start before stopping GDB.
5117 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5118 global.
5119 (thread1_func, thread2_func): Wait on barrier.
5120 (main): Wait for all threads to start before stopping GDB.
5121 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5122 New global.
5123 (thread1_func, thread2_func): Wait on barrier.
5124 (main): Wait for all threads to start before stopping GDB.
5125
c945a99f
PA
51262015-01-09 Pedro Alves <palves@redhat.com>
5127
5128 * gdb.threads/attach-many-short-lived-threads.c: New file.
5129 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5130
c1a747c1
PA
51312014-01-09 Pedro Alves <palves@redhat.com>
5132
5133 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5134 instead of to thread 2.
5135 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5136 Add barrier around each pthread_create call instead of around all
5137 calls.
5138 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5139 Set a break on thread_function and have the child threads hit it
5140 one at at a time.
5141
60b3033e
PA
51422015-01-09 Pedro Alves <palves@redhat.com>
5143
5144 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5145 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5146 false.
5147 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5148 checking whether the target board is remote.
5149 * gdb.multi/multi-attach.exp: Likewise.
5150 * gdb.python/py-sync-interp.exp: Likewise.
5151 * gdb.server/ext-attach.exp: Likewise.
5152 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5153 tests that need to attach, instead of checking whether the target
5154 board is remote at the top of the file.
5155
acc018ac
YQ
51562015-01-08 Yao Qi <yao@codesourcery.com>
5157
5158 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5159
50a18af8
JK
51602015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5161
5162 Fix testcase compilation.
5163 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5164
8503d6e1
JB
51652015-01-06 Joel Brobecker <brobecker@adacore.com>
5166
5167 * gdb.python/py-type.exp: Add a couple test about empty
5168 array creation, and negative-length array creation.
5169
cc73dbcc
DE
51702015-01-02 Doug Evans <xdje42@gmail.com>
5171
5172 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5173
0300bbc7
DE
51742015-01-02 Doug Evans <dje@google.com>
5175
5176 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5177
9d85a0ec
YQ
51782014-12-29 Yao Qi <yao@codesourcery.com>
5179
5180 * gdb.trace/entry-values.exp: Update comments. Rename variable
5181 bar_call_foo to returned_from_foo.
5182
87186c6a
MMN
51832014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5184
5185 PR gdb/17394
5186 * gdb.linespec/break-asm-file.c: New file.
5187 * gdb.linespec/break-asm-file.exp: New file.
5188 * gdb.linespec/break-asm-file0.s: New file.
5189 * gdb.linespec/break-asm-file1.s: New file.
5190
1bab7383
YQ
51912014-12-18 Nigel Stephens <nigel@mips.com>
5192 Maciej W. Rozycki <macro@codesourcery.com>
5193
5194 * gdb.base/float.exp: Handle the new output from "info float" on
5195 MIPS targets.
5196
1bc1068a
JK
51972014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5198
5199 Fix MinGW compilation.
5200 * gdb.compile/compile-ops.exp: Update untested message if
5201 !skip_compile_feature_tests.
5202 * gdb.compile/compile-setjmp.exp: Likewise.
5203 * gdb.compile/compile-tls.exp: Likewise.
5204 * gdb.compile/compile.exp: Likewise.
5205 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5206 supported on this host".
5207
b6615d10
DE
52082014-12-16 Doug Evans <xdje42@gmail.com>
5209
5210 * boards/stabs.exp: New file.
5211
25dda427
AA
52122014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5213
5214 * gdb.base/completion.exp: Adjust to format changes of "maint
5215 print user-registers".
5216
bf330350
CU
52172014-12-16 Catalin Udma <catalin.udma@freescale.com>
5218
5219 PR server/17457
5220 * gdb.arch/aarch64-fp.c: New file.
5221 * gdb.arch/aarch64-fp.exp: New file.
5222
395cf596
SDJ
52232014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5224
5225 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5226 r210637, r210913, r211666, r215400, r215817).
5227
5228 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5229 * dg-extract-results.py: New file.
5230 * dg-extract-results.sh: Use it if the environment seems
5231 suitable.
5232
5233 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5234
5235 * dg-extract-results.py (parse_run): Handle warnings that
5236 are printed before a test harness is run.
5237
5238 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5239
5240 * dg-extract-results.py (Named): Remove __cmp__ method.
5241 (output_variation): Use a key to sort variation.harnesses.
5242
5243 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5244
5245 * dg-extract-results.py: For Python 3, force sys.stdout to
5246 handle surrogate escape sequences.
5247 (safe_open): New function.
5248 (output_segment, main): Use it.
5249
5250 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5251
5252 * dg-extract-results.py (Prog.result_re): Include options
5253 in test name.
5254
5255 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5256
5257 * dg-extract-results.py (output_variation): Always sort if
5258 do_sum.
5259
e882ef3c
SM
52602014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5261
5262 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5263 as long as we get pagination notifications.
5264
4992aa20
JM
52652014-12-15 Jason Merrill <jason@redhat.com>
5266
5267 * Makefile.in (check-gdb.%): Restore.
5268 * README: Mention it.
5269
c1b5a1a6
JB
52702014-12-13 Joel Brobecker <brobecker@adacore.com>
5271
5272 * gdb.ada/str_uninit: New testcase.
5273
5537b577
JK
52742014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5275
5276 PR symtab/17642
5277 * gdb.base/vla-stub-define.c: New file.
5278 * gdb.base/vla-stub.c: New file.
5279 * gdb.base/vla-stub.exp: New file.
5280
bb2ec1b3
TT
52812014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5282 Jan Kratochvil <jan.kratochvil@redhat.com>
5283 Tom Tromey <tromey@redhat.com>
5284
5285 * configure.ac: Add gdb.compile/.
5286 * configure: Regenerate.
5287 * gdb.compile/Makefile.in: New file.
5288 * gdb.compile/compile-ops.exp: New file.
5289 * gdb.compile/compile-ops.c: New file.
5290 * gdb.compile/compile-tls.c: New file.
5291 * gdb.compile/compile-tls.exp: New file.
5292 * gdb.compile/compile-constvar.S: New file.
5293 * gdb.compile/compile-constvar.c: New file.
5294 * gdb.compile/compile-mod.c: New file.
5295 * gdb.compile/compile-nodebug.c: New file.
5296 * gdb.compile/compile-setjmp-mod.c: New file.
5297 * gdb.compile/compile-setjmp.c: New file.
5298 * gdb.compile/compile-setjmp.exp: New file.
5299 * gdb.compile/compile-shlib.c: New file.
5300 * gdb.compile/compile.c: New file.
5301 * gdb.compile/compile.exp: New file.
5302 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5303
4ff709eb
TT
53042014-12-12 Tom Tromey <tromey@redhat.com>
5305
5306 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5307 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5308
6dddd6a5
DE
53092014-12-12 Doug Evans <dje@google.com>
5310
5311 * lib/gdb-python.exp (get_python_valueof): New function.
5312 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5313
71c24708
AA
53142014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5315
5316 * gdb.base/completion.exp: Add test for completion of "info
5317 registers ".
5318
3e29f34a
MR
53192014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5320
5321 * gdb.base/func-ptrs.c: New file.
5322 * gdb.base/func-ptrs.exp: New file.
5323
fc126975
SM
53242014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5325
5326 PR breakpoints/17012
5327 * gdb.base/dprintf-detach.c: New file.
5328 * gdb.base/dprintf-detach.exp: New file.
5329
0a46d518
SM
53302014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5331
5332 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5333 * lib/gdb.exp (target_is_gdbserver): New procedure.
5334
a0be3e44
DE
53352014-12-08 Doug Evans <dje@google.com>
5336
5337 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5338
df1b803a
YQ
53392014-12-05 Yao Qi <yao@codesourcery.com>
5340
5341 * gdb.guile/scm-error.exp: Remove the third argument to
5342 gdb_remote_download.
5343 * gdb.guile/scm-frame-args.exp: Likewise.
5344 * gdb.guile/scm-section-script.exp: Likewise.
5345
ddb9f679
YQ
53462014-12-05 Yao Qi <yao@codesourcery.com>
5347
5348 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5349
86e4ed39
DE
53502014-12-04 Doug Evans <dje@google.com>
5351
5352 * gdb.python/py-objfile.exp: Add tests for
5353 objfile.add_separate_debug_file.
5354
7c50a931
DE
53552014-12-04 Doug Evans <dje@google.com>
5356
5357 * lib/gdb.exp (get_build_id): New function.
5358 (build_id_debug_filename_get): Rewrite to use it.
5359 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5360
621661e3
MR
53612014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5362
5363 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5364 `method(long)', not just 0x0.
5365 * gdb.cp/nsalias.exp: Align code labels to 4.
5366 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5367 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5368 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5369 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5370 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5371 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5372
29f0c3b7
DE
53732014-12-02 Doug Evans <dje@google.com>
5374
e1e061e7 5375 PR symtab/17602
29f0c3b7 5376 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 5377 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
5378 * gdb.cp/anon-ns.exp: Update.
5379
162078c8
NB
53802014-12-02 Nick Bull <nicholaspbull@gmail.com>
5381
5382 * gdb.python/py-events.py (inferior_call_handler): New.
5383 (register_changed_handler, memory_changed_handler): New.
5384 (test_events.invoke): Register new handlers.
5385 * gdb.python/py-events.exp: Add tests for inferior call,
5386 memory_changed and register_changed events.
5387
fdb09caf
AA
53882014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5389
5390 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5391 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5392 if the linker doesn't understand this.
5393
55cfb2c4
SM
53942014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5395
5396 * gdb.python/python.exp: Change expected reply to help().
5397
9e8cd6df
YQ
53982014-12-01 Yao Qi <yao@codesourcery.com>
5399
5400 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5401 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5402 * configure: Re-generated.
5403
6c659fc2
SC
54042014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5405
5406 * gdb.cp/chained-calls.cc: New file.
5407 * gdb.cp/chained-calls.exp: New file.
5408 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5409
d7fc3181
SM
54102014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5411
5412 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5413 * gdb.dwarf2/symtab-producer.exp: Same.
5414 * gdb.gdb/python-interrupts.exp: Same.
5415 * gdb.gdb/python-selftest.exp: Same.
5416 * gdb.python/py-linetable.exp: Same.
5417 * gdb.python/py-type.exp: Same.
5418 * gdb.python/py-value-cc.exp: Same.
5419 * gdb.python/py-value.exp: Same.
5420
10e79639
YQ
54212014-11-28 Yao Qi <yao@codesourcery.com>
5422
5423 * gdb.base/break-probes.exp: Match library name prefixed with
5424 sysroot.
5425
f28a0564
SM
54262014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5427
5428 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5429 test expected output. Add parentheses for the call to print.
5430 Remove L suffix from integers.
5431
3fe1ce1d
DE
54322014-11-26 Doug Evans <dje@google.com>
5433
5434 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5435
84429e27
YQ
54362014-11-22 Yao Qi <yao@codesourcery.com>
5437
5438 * gdb.trace/entry-values.c: Remove asms.
5439 (foo): Add foo_label.
5440 (bar): Add bar_label.
5441 * gdb.trace/entry-values.exp: Remove code computing foo's
5442 length and bar's length.
5443 (Dwarf::assemble): Invoke function_range for bar and use
5444 MACRO_AT_func for foo.
5445
26741859
YQ
54462014-11-22 Yao Qi <yao@codesourcery.com>
5447
5448 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5449 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5450 Use .Lgcc43_procstart instead of gcc43.
5451
45e44d27
JB
54522014-11-21 Joel Brobecker <brobecker@adacore.com>
5453
5454 * gdb.ada/n_arr_bound: New testcase.
5455
458c8db8
SDJ
54562014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5457
5458 PR breakpoints/10737
5459 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5460 test_catch_syscall_multi_arch.
5461 (test_catch_syscall_multi_arch): New function.
5462
43f3e411
DE
54632014-11-20 Doug Evans <xdje42@gmail.com>
5464
5465 * gdb.base/maint.exp: Update expected output.
5466
0d7b2549
AA
54672014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5468
5469 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5470 4-byte instruction on S390.
5471
8908fca5
JB
54722014-11-19 Joel Brobecker <brobecker@adacore.com>
5473
5474 * gdb.ada/arr_arr: New testcase.
5475
4a46959e
JB
54762014-11-19 Joel Brobecker <brobecker@adacore.com>
5477
5478 * gdb.ada/pkd_arr_elem: New Testcase.
5479
470e2f4e
LM
54802014-11-18 Luis Machado <lgustavo@codesourcery.com>
5481
5482 * gdb.reverse/break-precsave: Expect completion message for
5483 core file reads.
5484 * gdb.reverse/consecutive-precsave.exp: Likewise.
5485 * gdb.reverse/finish-precsave.exp: Likewise.
5486 * gdb.reverse/i386-precsave.exp: Likewise.
5487 * gdb.reverse/machinestate-precsave.exp: Likewise.
5488 * gdb.reverse/sigall-precsave.exp: Likewise.
5489 * gdb.reverse/solib-precsave.exp: Likewise.
5490 * gdb.reverse/step-precsave.exp: Likewise.
5491 * gdb.reverse/until-precsave.exp: Likewise.
5492 * gdb.reverse/watch-precsave.exp: Likewise.
5493
a267f3ad
AA
54942014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5495
5496 * gdb.base/bp-permanent.c: Include unistd.h.
5497 * gdb.python/py-framefilter-mi.c (main): Add return type.
5498 * gdb.python/py-framefilter.c (main): Likewise.
5499 * gdb.trace/actions-changed.c (main): Likewise.
5500
12084a9a
AA
55012014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5502
5503 * gdb.mi/until.c: Add eye-catchers.
5504 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5505 line numbers.
5506
dc7e1a77
AA
55072014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5508
5509 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5510 function header variants in break1.c.
5511 * gdb.base/ena-dis-br.exp: Likewise.
5512 * gdb.base/hbreak2.exp: Likewise.
5513 * gdb.reverse/until-precsave.exp: Drop references to removed
5514 non-prototype function header variants in ur1.c.
5515 * gdb.reverse/until-reverse.exp: Likewise.
5516
41c77605
PM
55172014-11-17 Petr Machata <pmachata@redhat.com>
5518
5519 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5520 ${_cu_offset_size} bytes abbrev offset.
5521
34248c3a
DE
55222014-11-15 Doug Evans <xdje42@gmail.com>
5523
5524 PR symtab/17559
5525 * gdb.base/line-symtabs.exp: New file.
5526 * gdb.base/line-symtabs.c: New file.
5527 * gdb.base/line-symtabs.h: New file.
5528
646da059
YQ
55292014-11-14 Yao Qi <yao@codesourcery.com>
5530
5531 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5532 (func): Add label func_label.
5533 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5534 Replace low_pc and high_pc with MACRO_AT_range.
5535 Replace name, low_pc and high_pc with MACRO_AT_func.
5536
9301ebe6
YQ
55372014-11-14 Yao Qi <yao@codesourcery.com>
5538
5539 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5540 Replace name, low_pc and high_pc with MACRO_AT_func.
5541
f166b542
YQ
55422014-11-14 Yao Qi <yao@codesourcery.com>
5543
5544 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5545 produce debug information.
5546 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5547
0f6e71e3
YQ
55482014-11-14 Yao Qi <yao@codesourcery.com>
5549
5550 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5551 object and get function length.
5552 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5553 with MACRO_AT_func.
5554 (top-level): Replace gdb_compile and clean_restart with
5555 prepare_for_testing.
5556 * gdb.dwarf2/main.c (main): Add label main_label.
5557
876c4df9
YQ
55582014-11-14 Yao Qi <yao@codesourcery.com>
5559
5560 * lib/dwarf.exp (function_range): New procedure.
5561 (Dwarf::_handle_macro_at_func): New procedure.
5562 (Dwarf::_handle_macro_at_range): New procedure.
5563 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5564
02ad9cf1
YQ
55652014-11-14 Yao Qi <yao@codesourcery.com>
5566
5567 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5568 (_handle_attribute): New procedure.
5569
a59add0c
AA
55702014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5571
5572 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5573 * gdb.base/call-sc.c (zed): Likewise.
5574 * gdb.base/checkpoint.c (main): Likewise.
5575 * gdb.base/dump.c (main): Likewise.
5576 * gdb.base/gcore.c (main): Likewise.
5577 * gdb.base/huge.c (main): Likewise.
5578 * gdb.base/multi-forks.c (main): Likewise.
5579 * gdb.base/pr10179-a.c (main): Likewise.
5580 * gdb.base/savedregs.c (main): Likewise.
5581 * gdb.base/sigaltstack.c (main): Likewise.
5582 * gdb.base/siginfo.c (main): Likewise.
5583 * gdb.base/structs.c (zed): Likewise.
5584 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5585 * gdb.mi/mi-syn-frame.c (main): Likewise.
5586 * gdb.mi/until.c (foo, main): Likewise.
5587 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5588 * gdb.base/solib-weak.c (foo): Declare.
5589 * gdb.base/attach-twice.c: Include stdio.h.
5590 * gdb.base/weaklib1.c: Likewise.
5591 * gdb.base/weaklib2.c: Likewise.
5592 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5593 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5594 unistd.h.
5595 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5596 * gdb.mi/mi-exit-code.c: Likewise.
5597 * gdb.base/break-interp-lib.c: Include string.h.
5598 * gdb.base/coremaker.c: Likewise.
5599 * gdb.base/testenv.c: Likewise.
5600 * gdb.python/py-finish-breakpoint.c: Likewise.
5601 * gdb.base/inferior-died.c: Include sys/wait.h.
5602 * gdb.base/fileio.c: Include time.h.
5603 * gdb.base/async-shell.c: Include unistd.h.
5604 * gdb.base/dprintf-non-stop.c: Likewise.
5605 * gdb.base/info-os.c: Likewise.
5606 * gdb.mi/mi-console.c: Likewise.
5607 * gdb.mi/watch-nonstop.c: Likewise.
5608 * gdb.python/py-events.c: Likewise.
5609 * gdb.base/async.c (baz): Move up before its invocation.
5610 * gdb.base/code_elim2.c (my_global_func): Likewise.
5611 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5612 * gdb.base/advance.c (func2): Likewise.
5613
3b5d5997
AA
56142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5615
5616 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5617 variant.
5618 * gdb.base/annota3.c: Likewise.
5619 * gdb.base/async.c: Likewise.
5620 * gdb.base/average.c: Likewise.
5621 * gdb.base/call-ar-st.c: Likewise.
5622 * gdb.base/call-rt-st.c: Likewise.
5623 * gdb.base/call-sc.c: Likewise.
5624 * gdb.base/call-strs.c: Likewise.
5625 * gdb.base/ending-run.c: Likewise.
5626 * gdb.base/execd-prog.c: Likewise.
5627 * gdb.base/exprs.c: Likewise.
5628 * gdb.base/foll-exec.c: Likewise.
5629 * gdb.base/foll-fork.c: Likewise.
5630 * gdb.base/foll-vfork.c: Likewise.
5631 * gdb.base/funcargs.c: Likewise.
5632 * gdb.base/gcore.c: Likewise.
5633 * gdb.base/jump.c: Likewise.
5634 * gdb.base/langs0.c: Likewise.
5635 * gdb.base/langs1.c: Likewise.
5636 * gdb.base/langs2.c: Likewise.
5637 * gdb.base/mips_pro.c: Likewise.
5638 * gdb.base/nodebug.c: Likewise.
5639 * gdb.base/opaque0.c: Likewise.
5640 * gdb.base/opaque1.c: Likewise.
5641 * gdb.base/recurse.c: Likewise.
5642 * gdb.base/run.c: Likewise.
5643 * gdb.base/scope0.c: Likewise.
5644 * gdb.base/scope1.c: Likewise.
5645 * gdb.base/setshow.c: Likewise.
5646 * gdb.base/setvar.c: Likewise.
5647 * gdb.base/shmain.c: Likewise.
5648 * gdb.base/shr1.c: Likewise.
5649 * gdb.base/shr2.c: Likewise.
5650 * gdb.base/sigall.c: Likewise.
5651 * gdb.base/signals.c: Likewise.
5652 * gdb.base/so-indr-cl.c: Likewise.
5653 * gdb.base/solib2.c: Likewise.
5654 * gdb.base/structs.c: Likewise.
5655 * gdb.base/sum.c: Likewise.
5656 * gdb.base/vforked-prog.c: Likewise.
5657 * gdb.base/watchpoint.c: Likewise.
5658 * gdb.reverse/shr2.c: Likewise.
5659 * gdb.reverse/until-reverse.c: Likewise.
5660 * gdb.reverse/ur1.c: Likewise.
5661 * gdb.reverse/watch-reverse.c: Likewise.
5662
066a77c5
AA
56632014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5664
5665 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5666 variant.
5667 * gdb.base/sepdebug.exp: Drop references to removed code.
5668
4f204ea5
AA
56692014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5670
5671 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5672 variant. Preserve original line numbering.
5673 * gdb.base/list1.c: Likewise.
5674
3b377a3a
AA
56752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5676
5677 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5678 variant.
5679 * gdb.base/break1.c: Likewise.
5680 * gdb.base/break.exp: Drop references to removed code.
5681
e444df73
AA
56822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5683
5684 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5685 variant.
5686
8008f2a7
AA
56872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5688
5689 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5690
a5a06887
AA
56912014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5692
5693 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5694 logic into perform_all_tests() and invoke it with and without
5695 function header prototypes.
5696 (do_function_calls): Remove conditional XFAIL for PR 5318.
5697 (rerun_and_prepare): Remove duplicate code.
5698 (perform_all_tests): New. Main logic moved here.
5699
44dba9b9
AA
57002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5701
5702 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5703 code guarded by #ifdef NO_PROTOTYPES.
5704 (t_double_many_args): Likewise.
5705 (DEF_FUNC_MANY_ARGS_1): Likewise.
5706 (DEF_FUNC_VALUES_1): Likewise.
5707 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5708 guarded by #ifdef PROTOTYPES.
5709
d1fbcd56
AA
57102014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5711
5712 * gdb.mi/mi-console.c: Add eye-catcher.
5713 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5714 instead of literal line number.
5715
b0e59b8f
AA
57162014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5717
5718 * gdb.base/shr2.c: Add eye-catcher.
5719 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5720 line number.
5721
78f98cca
AA
57222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5723
5724 * gdb.base/jump.c: Add eye-catchers.
5725 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5726 numbers.
5727
58fa2af0
AA
57282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5729
5730 * gdb.base/execd-prog.c: Add eye-catchers.
5731 * gdb.base/foll-exec.c: Likewise.
5732 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5733 line numbers.
5734
04e5059b
AA
57352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5736
5737 * gdb.base/ending-run.c: Add eye-catchers.
5738 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5739 literal line numbers.
5740
dbfdb174
AA
57412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5742
5743 * gdb.base/call-rt-st.c: Add eye-catchers.
5744 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5745 literal line numbers.
5746
888a2ade
AA
57472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5748
5749 * gdb.base/call-ar-st.c: Add eye-catchers.
5750 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5751 literal line numbers.
5752
6acc2dde
AA
57532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5754
5755 * gdb.base/average.c: Add eye-catchers.
5756 * gdb.base/sum.c: Likewise.
5757 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5758 regexps dynamically.
5759
9ecfcd1d
AA
57602014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5761
5762 * gdb.base/solib1.c: Add eye-catchers.
5763 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5764 literal line numbers.
5765
78708b7c
PA
57662014-11-12 Pedro Alves <palves@redhat.com>
5767
5768 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5769 leader has exited.
5770
af48d08f
PA
57712014-11-12 Pedro Alves <palves@redhat.com>
5772
5773 * gdb.arch/i386-bp_permanent.c: New file.
5774 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5775 (srcfile): Set to i386-bp_permanent.c.
5776 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5777 that stepi does not execute the 'leave' instruction, instead of
5778 testing it does execute.
5779 * gdb.base/bp-permanent.c: New file.
5780 * gdb.base/bp-permanent.exp: New file.
5781
af3768e9
DE
57822014-11-10 Doug Evans <xdje42@gmail.com>
5783
5784 PR symtab/17564
5785 * gdb.base/symtab-search-order.exp: New file.
5786 * gdb.base/symtab-search-order.c: New file.
5787 * gdb.base/symtab-search-order-1.c: New file.
5788 * gdb.base/symtab-search-order-shlib-1.c: New file.
5789
9de00a4a
PA
57902014-11-07 Pedro Alves <palves@redhat.com>
5791
5792 PR gdb/17511
5793 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5794 i?86-*-linux*.
5795
e0f52461
SC
57962014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5797
5798 PR c++/17494
5799 * gdb.cp/pr17494.cc: New file.
5800 * gdb.cp/pr17494.exp: New file.
5801
6ce8c980
YQ
58022014-11-02 Yao Qi <yao@codesourcery.com>
5803
5804 * gdb.python/python.exp: Get working directory and match the
5805 output of "set extended-prompt \\w " with it.
5806
02be9a71
DE
58072014-10-30 Doug Evans <dje@google.com>
5808
5809 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5810 in objfiles.
5811 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5812 in progspaces.
5813
3bdff46b
LM
58142014-10-30 Janis Johnson <janisjo@codesourcery.com>
5815
5816 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5817 * gdb.base/realname-expand.exp: Likewise.
5818 * gdb.linespec/macro-relative.exp: Likewise.
5819
ab917dfb
PA
58202014-10-29 Pedro Alves <palves@redhat.com>
5821
5822 PR gdb/17408
5823 * gdb.threads/schedlock.c (some_function): New function.
5824 (call_function): New global.
5825 (MAYBE_CALL_SOME_FUNCTION): New macro.
5826 (thread_function): Call it.
5827 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5828 and use it instead of a global counter. Adjust all callers.
5829 (get_current_thread): Use "find current thread" for test message
5830 here rather than having all callers pass down the same string.
5831 (goto_loop): New procedure, factored out from ...
5832 (my_continue): ... this.
5833 (step_ten_loops): Change parameter from test message to command to
5834 use. Adjust.
5835 (list_count): Delete global.
5836 (check_result): New procedure, factored out from duplicate top
5837 level code.
5838 (continue tests): Wrap in with_test_prefix.
5839 (test_step): New procedure, factored out from duplicate top level
5840 code.
5841 (top level): Test "step" in combination with all scheduler-locking
5842 modes. Test "next" in combination with all scheduler-locking
5843 modes, and in combination with stepping over a function call or
5844 not.
5845 * gdb.threads/next-bp-other-thread.c: New file.
5846 * gdb.threads/next-bp-other-thread.exp: New file.
5847
d3d4baed
PA
58482014-10-29 Pedro Alves <palves@redhat.com>
5849
5850 PR python/17372
5851 * gdb.python/python.exp: Test a multi-line command that spawns
5852 interactive Python.
5853 * gdb.base/multi-line-starts-subshell.exp: New file.
5854
563e8d85
YQ
58552014-10-29 Yao Qi <yao@codesourcery.com>
5856
5857 * gdb.base/fileio.exp: Make directories on host.
5858
0ea4d52e
YQ
58592014-10-29 Yao Qi <yao@codesourcery.com>
5860
5861 * gdb.base/fileio.c (test_write): Close the file.
5862
7f5ef605
PA
58632014-10-28 Pedro Alves <palves@redhat.com>
5864
5865 PR gdb/12623
5866 * gdb.base/sigstep.c (no_handler): New global.
5867 (main): If 'no_handler is true, set the signal handlers to
5868 SIG_IGN.
5869 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5870 with_sw_watch and no_handler parameters. Handle them.
5871 (top level) <stepping over handler when stopped at a breakpoint
5872 test>: Add a test axis for testing with a software watchpoint, and
5873 another for testing with the signal handler set to SIG_IGN.
5874 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5875 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5876
abbdbd03
PA
58772014-10-28 Pedro Alves <palves@redhat.com>
5878
5879 PR gdb/17511
5880 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5881 * gdb.base/sigstep.exp (other_handler_location): New global.
5882 (advance): Support stepping into the signal handler, and running
5883 commands while in the handler.
5884 (in_handler_map): New global.
5885 (top level): In the advance test, add combinations for getting
5886 into the handler with stepping commands, and for running commands
5887 in the handler. Add comment descripting the advancei tests.
5888
1df4399f
PA
58892014-10-28 Pedro Alves <palves@redhat.com>
5890
5891 * gdb.base/sigstep.exp: Use build_executable instead of
5892 prepare_for_testing.
5893 (top level): Move code that starts GDB, runs to main and creates a
5894 display to ...
5895 (restart): ... this new procedure.
5896 (top level): Move backtrace from signal handler test to ...
5897 (validate_backtrace): ... this new procedure.
5898 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5899 with_test_prefix. Always restart GDB.
5900 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5901 with_test_prefix. Always restart GDB. No need to delete
5902 breakpoints after the test.
5903 (test_skip_handler): Remove prefix parameter.
5904 (skip_over_handler, breakpoint_to_handler)
5905 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5906 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5907 restart GDB. No need to delete breakpoints after the test.
5908 (top level): Use foreach to call the test procedures with
5909 different commands.
5910
a5b6e449
PA
59112014-10-28 Pedro Alves <palves@redhat.com>
5912
5913 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5914 instead of GNATS numbers.
5915 * gdb.base/sigbpt.exp: Likewise.
5916 * gdb.base/siginfo.exp: Likewise.
5917 * gdb.base/sigstep.exp: Likewise.
5918
e5f8a7cc
PA
59192014-10-27 Pedro Alves <palves@redhat.com>
5920
5921 * gdb.base/sigstep.c (dummy): New global.
5922 (main): Issue a couple writes to the new global.
5923 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5924 procedures.
5925 (skip_over_handler): Use test_skip_handler.
5926 (top level): Call skip_over_handler for stepi and nexti too.
5927 (breakpoint_over_handler): Use test_skip_handler.
5928 (top level): Call breakpoint_over_handler for stepi and nexti too.
5929
763905a3
YQ
59302014-10-27 Yao Qi <yao@codesourcery.com>
5931
5932 * gdb.trace/tfile.c (adjust_function_address)
5933 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5934 function descriptor.
5935
6f259a23
DB
59362014-10-24 Don Breazeal <donb@codesourcery.com>
5937
5938 * gdb.base/foll-fork.exp (test_follow_fork,
5939 catch_fork_child_follow): Check for updated fork messages emitted
5940 from infrun.c.
5941 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5942 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5943 vfork_and_exec_child_follow_through_step): Check for updated vfork
5944 messages emitted from infrun.c.
5945
09dd9a69
PA
59462014-10-24 Pedro Alves <palves@redhat.com>
5947
5948 * gdb.base/corefile.exp: Remove references to ultrix.
5949 * gdb.base/interrupt.exp: Likewise.
5950 * gdb.base/whatis.exp: Likewise.
5951 * gdb.gdb/selftest.exp: Likewise.
5952 * gdb.threads/manythreads.exp: Likewise.
5953 * gdb.threads/print-threads.exp: Likewise.
5954 * gdb.threads/pthreads.exp:: Likewise.
5955 * gdb.threads/schedlock.exp: Likewise.
5956
3433cfa5
SC
59572014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5958
5959 * gdb.cp/non-trivial-retval.cc: Add a test case.
5960 * gdb.cp/non-trivial-retval.exp: Add a test.
5961
092f880b
YQ
59622014-10-20 Yao Qi <yao@codesourcery.com>
5963
5964 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5965 * gdb.python/py-objfile-script-gdb.py: New file.
5966 * gdb.python/py-objfile-script.exp: Update reference to
5967 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5968 of remote_download. Remove the dest file.
5969
acbdb7f3
YQ
59702014-10-20 Yao Qi <yao@codesourcery.com>
5971
5972 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5973 * gdb.base/step-line.exp: Likewise.
5974 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5975 * gdb.dwarf2/dw2-basic.exp: Likewise.
5976 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5977 * gdb.dwarf2/dw2-filename.exp: Likewise.
5978 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5979 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5980 * gdb.dwarf2/dw2-producer.exp: Likewise.
5981 * gdb.dwarf2/mac-fileno.exp: Likewise.
5982 * gdb.python/py-frame-args.exp: Likewise.
5983 * gdb.python/py-framefilter.exp: Likewise.
5984 * gdb.python/py-mi.exp: Likewise.
5985 * gdb.python/py-objfile-script.exp: Likewise
5986 * gdb.python/py-pp-integral.exp: Likewise.
5987 * gdb.python/py-pp-re-notag.exp: Likewise.
5988 * gdb.python/py-prettyprint.exp: Likewise.
5989 * gdb.python/py-section-script.exp: Likewise.
5990 * gdb.python/py-typeprint.exp: Likewise.
5991 * gdb.python/py-xmethods.exp: Likewise.
5992 * gdb.stabs/weird.exp: Likewise.
5993 * gdb.xml/tdesc-regs.exp: Likewise.
5994
bd286a29
KCY
59952014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5996
5997 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5998 (out_cu): Use addr_len for the size of addresses.
5999 (out_line): Likewise. Size DW_LNE_set_address instruction
6000 according to addr_len.
6001 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6002 (FUNC): Add START_INSNS to definition.
6003
673dc4a0
YQ
60042014-10-18 Yao Qi <yao@codesourcery.com>
6005
6006 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6007 gdb_has_argv0 return true.
6008 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6009 check [target_info exists noargs], check [gdb_has_argv0]
6010 instead.
6011 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6012 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6013 procedures.
6014
4ffbba72
DE
60152014-10-17 Doug Evans <dje@google.com>
6016
6017 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6018 event.
6019 * gdb.python/py-events.py: Add clear_objfiles event.
6020
d096d8c1
DE
60212014-10-17 Doug Evans <dje@google.com>
6022
6023 * gdb.python/py-objfile.exp: Test progspace attribute.
6024
a80db015
LM
60252014-10-17 Luis Machado <lgustavo@codesourcery.com>
6026
6027 * gdb.guile/scm-breakpoint.exp: Do not assume any
6028 directory separators when matching source file paths.
6029 * gdb.python/py-breakpoint.exp: Likewise.
6030 * gdb.reverse/break-precsave.exp: Likewise.
6031 * gdb.reverse/break-reverse.exp: Likewise.
6032 * gdb.reverse/consecutive-precsave.exp: Likewise.
6033 * gdb.reverse/finish-precsave.exp: Likewise.
6034 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6035 * gdb.reverse/finish-reverse.exp: Likewise.
6036 * gdb.reverse/i386-precsave.exp: Likewise.
6037 * gdb.reverse/i387-env-reverse.exp: Likewise.
6038 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6039 * gdb.reverse/machinestate-precsave.exp: Likewise.
6040 * gdb.reverse/machinestate.exp: Likewise.
6041 * gdb.reverse/sigall-precsave.exp: Likewise.
6042 * gdb.reverse/solib-precsave.exp: Likewise.
6043 * gdb.reverse/step-precsave.exp: Likewise.
6044 * gdb.reverse/until-precsave.exp: Likewise.
6045 * gdb.reverse/watch-precsave.exp: Likewise.
6046 * gdb.reverse/watch-reverse.exp: Likewise.
6047
b22089ab
YQ
60482014-10-17 Yao Qi <yao@codesourcery.com>
6049
6050 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6051 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6052
6c4486e6
PA
60532014-10-17 Pedro Alves <palves@redhat.com>
6054
6055 PR gdb/17471
6056 * gdb.base/bg-execution-repeat.c: New file.
6057 * gdb.base/bg-execution-repeat.exp: New file.
6058
0ff33695
PA
60592014-10-17 Pedro Alves <palves@redhat.com>
6060
6061 PR gdb/17300
6062 * gdb.base/continue-all-already-running.c: New file.
6063 * gdb.base/continue-all-already-running.exp: New file.
6064
6fdebc3d
PA
60652014-10-17 Pedro Alves <palves@redhat.com>
6066
6067 PR gdb/17472
6068 * gdb.base/annota-input-while-running.c: New file.
6069 * gdb.base/annota-input-while-running.exp: New file.
6070
32a8097b
PA
60712014-10-17 Pedro Alves <palves@redhat.com>
6072
6073 * gdb.base/callfuncs.exp: emove references to osf.
6074 * gdb.base/sigall.exp: Likewise.
6075 * gdb.gdb/selftest.exp: Likewise.
6076 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6077 * gdb.mi/non-stop.c: Likewise.
6078 * gdb.mi/pthreads.c: Likewise.
6079 * gdb.reverse/sigall-precsave.exp: Likewise.
6080 * gdb.reverse/sigall-reverse.exp: Likewise.
6081 * gdb.threads/pthreads.c: Likewise.
6082 * gdb.threads/pthreads.exp: Likewise.
6083
7a3517ff
YQ
60842014-10-17 Yao Qi <yao@codesourcery.com>
6085
6086 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6087 check 'target_info exists noargs'.
6088 (test_command_prompt_position): Likewise.
6089 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6090 Remove "set args".
6091 (progvar_simple_while_test): Likewise.
6092 (progvar_complex_if_while_test): Likewise.
6093 (if_while_breakpoint_command_test): Likewise.
6094 (infrun_breakpoint_command_test): Likewise.
6095 (breakpoint_command_test): Likewise.
6096 (watchpoint_command_test): Likewise.
6097 (bp_deleted_in_command_test): Likewise.
6098 (temporary_breakpoint_commands): Likewise.
6099
bb99c472
YQ
61002014-10-16 Yao Qi <yao@codesourcery.com>
6101
6102 * gdb.base/remotetimeout.exp: Remove noargs checking.
6103
7c16b83e
PA
61042014-10-15 Pedro Alves <palves@redhat.com>
6105
6106 PR breakpoints/9649
6107 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6108 * gdb.base/breakpoint-in-ro-region.exp
6109 (probe_target_hardware_step): New procedure.
6110 (top level): Probe hardware stepping and hardware breakpoint
6111 support. Test stepping through a read-only region, with both
6112 "breakpoint auto-hw" on and off and both "always-inserted" on and
6113 off.
6114
35a49624
IB
61152014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6116
6117 * gdb.dlang/demangle.exp: Update for demangling changes.
6118
2d1c107c
SC
61192014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6120
6121 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6122 * gdb.cp/non-trivial-retval.exp: Add new tests.
6123
778811d5
SC
61242014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6125
6126 PR c++/13403
6127 PR c++/15154
6128 * gdb.cp/non-trivial-retval.cc: New file.
6129 * gdb.cp/non-trivial-retval.exp: New file.
6130
10c5f0a8
YQ
61312014-10-15 Yao Qi <yao@codesourcery.com>
6132
6133 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6134 remote host.
6135
65d7b369
YQ
61362014-10-15 Yao Qi <yao@codesourcery.com>
6137
6138 * gdb.python/py-symbol.exp: Match file base name if host is
6139 remote, otherwise match file name with dir name.
6140 * gdb.python/py-symtab.exp: Likewise.
6141 * gdb.python/python.exp: Likewise.
6142
46dc1394
YQ
61432014-10-15 Yao Qi <yao@codesourcery.com>
6144
6145 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6146 pattern.
6147 * gdb.python/py-symtab.exp: Likewise.
6148 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6149 locationn.
6150
c40cc657
JB
61512014-10-14 Joel Brobecker <brobecker@adacore.com>
6152
6153 * gdb.ada/addr_arith: New testcase.
6154
2abf49e1
MR
61552014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6156
6157 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6158 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6159 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6160 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6161
f7088df3
SDJ
61622014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6163
6164 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6165 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6166 * gdb.arch/stap-eval-lang-ada.exp: New file.
6167
4dc06805
YQ
61682014-10-14 Yao Qi <yao@codesourcery.com>
6169
6170 * gdb.mi/mi-var-child.c (nothing1): New function.
6171 (nothing2): New function.
6172 (do_children_tests): Set function pointers by nothing1 and
6173 nothing2.
6174 * gdb.mi/mi-var-child.exp: Step over new added statements.
6175 Update test to match the new output.
6176 * gdb.mi/var-cmd.c (nothing1): New function.
6177 (nothing2): New function.
6178 (do_children_tests): Set function pointers by nothing1 and
6179 nothing2.
6180 * gdb.mi/mi-var-display.exp: Update test to match output.
6181 Step to the line specified by $line_dct_nothing.
6182 Increase the number of lines to step.
6183
46a93de2
YQ
61842014-10-14 Yao Qi <yao@codesourcery.com>
6185
6186 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6187 tests.
6188 * gdb.mi/mi2-var-child.exp: Likewise.
6189
14ea52ee
DE
61902014-10-13 Doug Evans <dje@google.com>
6191
6192 * gdb.python/py-objfile.exp: Change name of file name test.
6193
e5c6e92b
DE
61942014-10-13 Doug Evans <dje@google.com>
6195
6196 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6197 from the start of the CU.
6198
c780cc2f
JK
61992014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6200 Yao Qi <yao@codesourcery.com>
6201
6202 Fix "save breakpoints" for "catch" command.
6203 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6204 Remove -nonewline. Match also the added "main" line.
6205
99894e11
JK
62062014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6207
6208 Fix "save breakpoints" for "disable $bpnum" command.
6209 * gdb.base/save-bp.c (main): Add label.
6210 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6211
6e1ac5a3
JK
62122014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6213
6214 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6215
754dd2b0
YQ
62162014-10-11 Yao Qi <yao@codesourcery.com>
6217
6218 * gdb.server/server-kill.exp: Execute command
6219 "set remote trace-status-packet on" before "tstatus".
6220
f90183d7
YQ
62212014-10-11 Yao Qi <yao@codesourcery.com>
6222
6223 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6224 (main): Call getppid.
6225 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6226 and continue to it. Read variable "server_pid".
6227
bf40a607
YQ
62282014-10-11 Yao Qi <yao@codesourcery.com>
6229
6230 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6231
052ca370
YQ
62322014-10-11 Yao Qi <yao@codesourcery.com>
6233
6234 * gdb.threads/thread-find.exp: Don't execute command
6235 "info threads".
6236 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6237 * gdb.threads/linux-dp.exp: Don't check the condition
6238 $threads_created equals to zero.
6239
3831839c
PA
62402014-10-10 Pedro Alves <palves@redhat.com>
6241
6242 * gdb.base/bigcore.exp: Remove references to IRIX.
6243 * gdb.base/funcargs.exp: Likewise.
6244 * gdb.base/interrupt.exp: Likewise.
6245 * gdb.base/mips_pro.exp: Likewise.
6246 * gdb.base/nodebug.exp: Likewise.
6247 * gdb.base/setvar.exp: Likewise.
6248 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6249
8b9a549d
PA
62502014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6251 Pedro Alves <palves@redhat.com>
6252
6253 PR symtab/14466
6254 * gdb.base/vdso-warning.c: New file.
6255 * gdb.base/vdso-warning.exp: New file.
6256
d48ba5e8
DE
62572014-10-02 Doug Evans <dje@google.com>
6258
6259 * gdb.base/structs.c (main): Don't run forever.
6260
2278c276
PA
62612014-10-02 Pedro Alves <palves@redhat.com>
6262
6263 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6264 (top level) <stop threads 1, stop threads 2>: Use it.
6265
b57bacec
PA
62662014-10-02 Pedro Alves <palves@redhat.com>
6267
6268 * gdb.threads/break-while-running.exp (test): Add new
6269 'update_thread_list' argument. Skip "info threads" if false.
6270 (top level): Add new 'update_thread_list' axis.
6271
13fd3ff3
PA
62722014-10-02 Pedro Alves <palves@redhat.com>
6273
6274 PR breakpoints/17431
6275 * gdb.base/execl-update-breakpoints.c: New file.
6276 * gdb.base/execl-update-breakpoints.exp: New file.
6277
0fec99e8
PA
62782014-10-01 Pedro Alves <palves@redhat.com>
6279
6280 * gdb.base/breakpoint-in-ro-region.c: New file.
6281 * gdb.base/breakpoint-in-ro-region.exp: New file.
6282
2ddf4301
SM
62832014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6284
6285 * gdb.mi/mi-exit-code.exp: New file.
6286 * gdb.mi/mi-exit-code.c: New file.
6287
6a5f3f43
YQ
62882014-09-30 Yao Qi <yao@codesourcery.com>
6289
6290 * lib/prelink-support.exp (build_executable_own_libs): Error if
6291 the target isn't native.
6292
345bcc73
YQ
62932014-09-30 Yao Qi <yao@codesourcery.com>
6294
6295 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6296 false.
6297
a25a5a45
PA
62982014-09-22 Pedro Alves <palves@redhat.com>
6299
6300 * gdb.threads/break-while-running.exp: New file.
6301 * gdb.threads/break-while-running.c: New file.
6302
00ba3162
YQ
63032014-09-19 Yao Qi <yao@codesourcery.com>
6304
6305 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6306 Invoke test. Restart GDB with --readnow and invoke test again.
6307
c3b7b696
YQ
63082014-09-19 Yao Qi <yao@codesourcery.com>
6309
6310 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6311 proc set_breakpoint_on_gcd_function. Invoke
6312 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6313 invoke set_breakpoint_on_gcd_function again.
6314
2b4fd423
DE
63152014-09-18 Doug Evans <dje@google.com>
6316
6317 * gdb.dwarf2/symtab-producer.exp: New file.
6318
a5947601
SDJ
63192014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6320
6321 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6322 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6323 * gdb.base/global-var-nested-by-dso.c: Likewise.
6324 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6325
91c19059
SDJ
63262014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6327 Pedro Alves <palves@redhat.com>
6328
6329 * gdb.base/watch-bitfields.exp: Pass string other than test file
6330 name to prepare_for_testing.
6331 (watch): New procedure.
6332 (expect_watchpoint): Use with_test_prefix.
6333 (top level): Factor out tests to ...
6334 (test_watch_location, test_regular_watch): ... these new
6335 procedures, and use with_test_prefix and gdb_continue_to_end.
6336
bb9d5f81
PP
63372014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6338
6339 PR breakpoints/12526
6340 * gdb.base/watch-bitfields.exp: New file.
6341 * gdb.base/watch-bitfields.c: New file.
6342
635856f5
PA
63432014-09-16 Pedro Alves <palves@redhat.com>
6344
6345 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6346 software and hardware addresses, not software address against
6347 itself.
6348
7280ceea
PA
63492014-09-16 Pedro Alves <palves@redhat.com>
6350
6351 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6352 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6353
428b16bd
PA
63542014-09-16 Pedro Alves <palves@redhat.com>
6355
6356 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6357 files.
6358 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6359 "*-*-vxworks*" throughout.
6360 * gdb.base/break.exp: Likewise.
6361 * gdb.base/default.exp: Likewise.
6362 * gdb.base/scope.exp: Likewise.
6363 * gdb.base/sepdebug.exp: Likewise.
6364 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6365 throughout.
6366 * gdb.base/run.c: Likewise.
6367 * gdb.base/sepdebug.c: Likewise.
6368 * gdb.hp/gdb.aCC/run.c: Likewise.
6369 * gdb.reverse/until-reverse.c: Likewise.
6370 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6371
666d413c
YQ
63722014-09-16 Yao Qi <yao@codesourcery.com>
6373
6374 * boards/local-remote-host-native.exp: New file.
6375
57cbd724
DE
63762014-09-14 Doug Evans <xdje42@gmail.com>
6377
6378 * gdb.threads/queue-signal.c (thread_count): New variable.
6379 (thread_count_mutex, thread_count_condvar): New variables.
6380 (incr_thread_count, wait_all_threads_running): New functions.
6381 (main): Wait for all threads to be in their thread functions.
6382
81219e53
DE
63832014-09-13 Doug Evans <xdje42@gmail.com>
6384
6385 * gdb.threads/queue-signal.c: New file.
6386 * gdb.threads/queue-signal.exp: New file.
6387
3714cea7
DE
63882014-09-13 Doug Evans <xdje42@gmail.com>
6389
6390 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6391 be consistent with what default_gdb_init uses.
6392 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6393 the plain text of the prompt. Add some logging printfs.
6394 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6395
fa43b1d7
PA
63962014-09-12 Pedro Alves <palves@redhat.com>
6397
6398 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6399 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6400 * gdb.arch/i386-size-overlap.exp: Likewise.
6401 * gdb.arch/i386-size.exp: Likewise.
6402 * gdb.arch/i386-unwind.exp: Likewise.
6403 * gdb.base/a2-run.exp: Likewise.
6404 * gdb.base/break.exp: Likewise.
6405 * gdb.base/charset.exp: Likewise.
6406 * gdb.base/chng-syms.exp: Likewise.
6407 * gdb.base/commands.exp: Likewise.
6408 * gdb.base/dbx.exp: Likewise.
6409 * gdb.base/find.exp: Likewise.
6410 * gdb.base/funcargs.exp: Likewise.
6411 * gdb.base/jit-simple.exp: Likewise.
6412 * gdb.base/reread.exp: Likewise.
6413 * gdb.base/sepdebug.exp: Likewise.
6414 * gdb.base/step-bt.exp: Likewise.
6415 * gdb.cp/mb-inline.exp: Likewise.
6416 * gdb.cp/mb-templates.exp: Likewise.
6417 * gdb.objc/basicclass.exp: Likewise.
6418 * gdb.threads/killed.exp: Likewise.
6419
9d9bf2df
EBM
64202014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6421
6422 PR tdep/17379
6423 * gdb.arch/powerpc-stackless.S: New file.
6424 * gdb.arch/powerpc-stackless.exp: New file.
6425
1cf2f1b0
JK
64262014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6427
6428 * gdb.base/attach.c: Include unistd.h.
6429 (main): Call alarm. Add label postloop.
6430 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6431 gdb_breakpoint, gdb_continue_to_breakpoint.
6432 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6433
98880d46
PA
64342014-09-11 Pedro Alves <palves@redhat.com>
6435
6436 PR gdb/17347
6437 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6438 * gdb.base/attach.exp (test_command_line_attach_run): New
6439 procedure.
6440 (top level): Call it.
6441
4c92ff2c
PA
64422014-09-11 Pedro Alves <palves@redhat.com>
6443
6444 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6445 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6446 (do_command_attach_tests): Use spawn_wait_for_attach.
6447 * gdb.base/solib-overlap.exp: Likewise.
6448 * gdb.multi/multi-attach.exp: Likewise.
6449 * gdb.python/py-prompt.exp: Likewise.
6450 * gdb.python/py-sync-interp.exp: Likewise.
6451 * gdb.server/ext-attach.exp: Likewise.
6452
3adc1a7d
GKB
64532014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6454
6455 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6456 command in testcase. Simplify testcase.
6457
96334934
JB
64582014-09-10 Joel Brobecker <brobecker@adacore.com>
6459
6460 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6461
eb479039
JB
64622014-09-10 Joel Brobecker <brobecker@adacore.com>
6463
6464 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6465
deede10c
JB
64662014-09-10 Joel Brobecker <brobecker@adacore.com>
6467
6468 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6469
7828a5f5
JB
64702014-09-10 Joel Brobecker <brobecker@adacore.com>
6471
6472 * gdb.dwarf2/dynarr-ptr.c: New file.
6473 * gdb.dwarf2/dynarr-ptr.exp: New file.
6474
33aeebcf
MR
64752014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6476
6477 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6478 of 30 rather than hardcoding 120 for a slow test case. Take the
6479 `gdb,timeout' target setting into account for this calculation.
6480 Don't extend the timeout for the test cases that don't need it.
6481
7b415901
MR
64822014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6483
6484 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6485 a factor of 2 for a slow test case. Take the `gdb,timeout'
6486 target setting into account for this calculation.
6487 * gdb.reverse/until-precsave.exp: Increase the timeout by
6488 a factor of 15 and 3 respectively rather than adding 120
6489 for a pair of slow test cases. Take the `gdb,timeout'
6490 target setting into account for this calculation.
6491
4a40f85a
MR
64922014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6493
6494 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6495 timeout, don't pass one down to gdb_expect.
6496 (gdb_expect): Rework timeout selection.
6497
09635af7
MR
64982014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6499
6500 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6501 exception on timeout.
6502 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6503 (gdbserver_start_extended): Catch any `gdbserver_start' error
6504 exceptions.
6505 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6506 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6507 `gdbserver_gdb_load' error exceptions.
6508
2bdd10b7
MR
65092014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6510
6511 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6512 120 on waiting for the TCP socket to open.
6513
316935f0
DE
65142014-09-09 Doug Evans <xdje42@gmail.com>
6515
6516 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6517 _caller_matches, _any_caller_is, _any_caller_matches.
6518
83740597
DE
65192014-09-09 Doug Evans <xdje42@gmail.com>
6520
6521 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6522
4c122fc3
YQ
65232014-09-09 Yao Qi <yao@codesourcery.com>
6524
6525 * gdb.mi/mi-var-display.exp: Set print symbol off.
6526
a9f116cb
GKB
65272014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6528
6529 PR gdb/17035
6530 * gdb.base/commands.exp: Add tests to verify user-defined
6531 commands with empty bodies.
6532 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6533 python commands in `show user command`.
6534 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6535 scheme commands in `show user command`.
6536
c75bd3a2
JK
65372014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6538
6539 PR python/17355
6540 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6541 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6542 * gdb.python/py-framefilter-invalidarg.exp: New file.
6543 * gdb.python/py-framefilter-invalidarg.py: New file.
6544
faa42425
DE
65452014-09-06 Doug Evans <xdje42@gmail.com>
6546
6547 PR 15276
6548 * gdb.python/py-caller-is.c: New file.
6549 * gdb.python/py-caller-is.exp: New file.
6550
474ca4f6
SDJ
65512014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6552
6553 PR gdb/17235
6554 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6555 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6556
eb0b0463
SDJ
65572014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6558
6559 PR fortran/17237
6560 * gdb.fortran/print-formatted.exp: New file.
6561 * gdb.fortran/print-formatted.f90: Likewise.
6562
5f3b99cf
SS
65632014-09-03 Sasha Smundak <asmundak@google.com>
6564
6565 * gdb.python/py-frame.exp: Test Frame.read_register.
6566
7d793aa9
SDJ
65672014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6568
6569 PR python/16699
6570 * gdb.python/py-completion.exp: New file.
6571 * gdb.python/py-completion.py: Likewise.
6572
fb0576e9
DE
65732014-08-28 Doug Evans <dje@google.com>
6574
6575 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6576 eax,etc. are live with values set by gdb and thus the compiler can't
6577 use them.
6578 * gdb.arch/i386-pseudo.c (main): Ditto.
6579
ee92b0dd
DE
65802014-08-27 Doug Evans <dje@google.com>
6581
6582 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6583
6649db35
DE
65842014-08-25 Doug Evans <dje@google.com>
6585
6586 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6587 (main): Ditto.
6588
564b7600
DE
65892014-08-25 Doug Evans <dje@google.com>
6590
6591 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6592
3881fb67
YQ
65932014-08-24 Yao Qi <yao@codesourcery.com>
6594
6595 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6596 symbol off.
6597 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6598
a05a36a5
DE
65992014-08-22 Doug Evans <dje@google.com>
6600
6601 PR 17276
6602 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6603 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6604 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6605
7c343b48
YQ
66062014-08-22 Yao Qi <yao@codesourcery.com>
6607
6608 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6609 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6610 * gdb.python/python.exp: Likewise. Use .py file on the host
6611 instead of the build.
6612
22fd09ae
JK
66132014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6614
6615 * gdb.threads/gcore-stale-thread.c: New file.
6616 * gdb.threads/gcore-stale-thread.exp: New file.
6617
a8454a7c
PA
66182014-08-21 Pedro Alves <palves@redhat.com>
6619
6620 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6621 * gdb.base/gcore-relro-pie.exp: Likewise.
6622 * gdb.base/gcore-relro.exp: Likewise.
6623 * gdb.base/gcore.exp: Likewise.
6624 * gdb.base/print-symbol-loading.exp: Likewise.
6625 * gdb.threads/gcore-thread.exp: Likewise.
6626 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6627
2a31c623
PA
66282014-08-20 Pedro Alves <palves@redhat.com>
6629 Jan Kratochvil <jan.kratochvil@redhat.com>
6630
6631 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6632 configure.
6633 (EXPECT): Handle READ1 being set.
6634 (all): Depend on EXTRA_RULES.
6635 (check-read1, expect-read1, read1.so, read1): New rules.
6636 * README (Testsuite Parameters): Document the READ1 make variable.
6637 (Race detection): New section.
6638 * configure: Regenerate.
6639 * configure.ac: If build==host==target, and running under a
6640 GNU/glibc system, add read1 to the extra Makefile rules.
6641 (EXTRA_RULES): AC_SUBST it.
6642 * lib/read1.c: New file.
6643
d36430db
JB
66442014-08-20 Joel Brobecker <brobecker@adacore.com>
6645
6646 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6647 the handling of variables declared as a typedef to an array
6648 which a DW_AT_data_location attribute.
6649
9a0dc9e3
PA
66502014-08-19 Andrew Burgess <aburgess@broadcom.com>
6651 Pedro Alves <palves@redhat.com>
6652
6653 PR symtab/14604
6654 PR symtab/14605
6655 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6656 gdb_test.
6657
0718a8da
PA
66582014-08-19 Pedro Alves <palves@redhat.com>
6659
6660 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6661
13b448cd
YQ
66622014-08-19 Yao Qi <yao@codesourcery.com>
6663
6664 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6665 right line.
6666
1cbf5077
DB
66672014-08-18 David Blaikie <dblaikie@gmail.com>
6668
6669 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6670
bf0fae19
JB
66712014-08-18 Joel Brobecker <brobecker@adacore.com>
6672
6673 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6674 attribute in array range.
6675
3c8c5dcc
JB
66762014-08-18 Joel Brobecker <brobecker@adacore.com>
6677
6678 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6679
e66d4446
SC
66802014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6681
6682 PR c++/17132
6683 * gdb.cp/pr17132.cc: New file.
6684 * gdb.cp/pr17132.exp: New file.
6685
940df408
SC
66862014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6687
6688 * gdb.python/py-xmethods.py (A_getarrayind)
6689 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6690 Use 'print' with function call syntax.
6691 (E_method_matcher.match): Fix tab vs space indentation mixup.
6692
ebcc6c3a
YQ
66932014-08-15 Yao Qi <yao@codesourcery.com>
6694
6695 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6696 false.
6697
775e0f04
YQ
66982014-08-15 Yao Qi <yao@codesourcery.com>
6699
6700 * gdb.cp/casts.exp: Set print symbol off.
6701 * gdb.cp/class2.exp: Likewise.
6702 * gdb.cp/overload.exp: Likewise.
6703 * gdb.cp/templates.exp: Likewise.
6704
d769e349
DE
67052014-08-11 Doug Evans <dje@google.com>
6706
6707 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6708 (test_load_shlib): Update.
6709
20c6f1e1
YQ
67102014-08-09 Yao Qi <yao@codesourcery.com>
6711
6712 * gdb.base/display.exp: Invoke is_address_zero_readable.
6713 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6714 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6715 * gdb.base/hbreak-unmapped.exp: Return if
6716 is_address_zero_readable returns true.
6717 * gdb.base/signest.exp: Likewise.
6718 * gdb.base/signull.exp: Likewise.
6719 * gdb.base/sigbpt.exp: Likewise.
6720 * gdb.guile/scm-disasm.exp: Do the test if
6721 is_address_zero_readable returns false.
6722 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6723 * gdb.python/py-arch.exp: Likewise.
6724 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6725 * lib/gdb.exp (is_address_zero_readable): New proc.
6726
5792e8e3
YQ
67272014-08-09 Yao Qi <yao@codesourcery.com>
6728
6729 PR testsuite/13443
6730 * gdb.mi/mi-var-display.exp: Make test messages unique.
6731
3cecbbbe
TT
67322014-08-04 Tom Tromey <tromey@redhat.com>
6733
6734 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6735 target 0".
6736
00b51ff5
TT
67372014-08-04 Tom Tromey <tromey@redhat.com>
6738
6739 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6740 "target_resume".
6741
6908c509
JB
67422014-08-01 Joel Brobecker <brobecker@adacore.com>
6743
6744 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6745 inner_vla_struct_object_size.
6746 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6747 as xfail.
6748
cc6563d2
PA
67492014-07-30 Pedro Alves <palves@redhat.com>
6750
6751 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6752 comment.
6753
7e09a223
YQ
67542014-07-29 Yao Qi <yao@codesourcery.com>
6755
6756 PR gdb/17206
6757 * gdb.base/until-nodebug.exp: New.
6758
7ebdbe92
DE
67592014-07-28 Doug Evans <xdje42@gmail.com>
6760
6761 PR guile/17203
6762 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6763 previously existing parameter, and previously ambiguously spelled
6764 parameter.
6765
fdb1adc6
WN
67662014-07-28 Will Newton <will.newton@linaro.org>
6767
6768 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6769
186fcde0
DE
67702014-07-26 Ludovic Courtès <ludo@gnu.org>
6771 Doug Evans <xdje42@gmail.com>
6772
6773 PR guile/17146
6774 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6775
70509625
PA
67762014-07-25 Pedro Alves <palves@redhat.com>
6777
6778 * gdb.threads/signal-command-handle-nopass.c: New file.
6779 * gdb.threads/signal-command-handle-nopass.exp: New file.
6780 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6781 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6782 * gdb.threads/signal-delivered-right-thread.c: New file.
6783 * gdb.threads/signal-delivered-right-thread.exp: New file.
6784
c3f814a1
PA
67852014-07-25 Pedro Alves <palves@redhat.com>
6786
6787 * gdb.base/double-prompt-target-event-error.exp
6788 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6789 match.
6790 (cancel_pagination_in_target_event): Rework double prompt
6791 detection.
6792 * gdb.base/paginate-after-ctrl-c-running.exp
6793 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6794 <return>' match.
6795 * gdb.base/paginate-bg-execution.exp
6796 (test_bg_execution_pagination_return)
6797 (test_bg_execution_pagination_cancel): Remove '-notransfer
6798 <return>' matches.
6799 * gdb.base/paginate-execution-startup.exp
6800 (test_fg_execution_pagination_return)
6801 (test_fg_execution_pagination_cancel): Remove '-notransfer
6802 <return>' matches.
6803 * gdb.base/paginate-inferior-exit.exp
6804 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6805 match.
6806 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6807 * lib/gdb.exp (pagination_prompt): Run text through
6808 string_to_regexp.
6809 (gdb_test_multiple): Match $pagination_prompt instead of
6810 "<return>".
6811 (string_to_regexp): Move to lib/gdb-utils.exp.
6812
e214cf6c
JK
68132014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6814
6815 * gdb.arch/amd64-entry-value-paramref.S: New file.
6816 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6817 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6818 * gdb.arch/amd64-optimout-repeat.S: New file.
6819 * gdb.arch/amd64-optimout-repeat.c: New file.
6820 * gdb.arch/amd64-optimout-repeat.exp: New file.
6821
17d0c5c8
JK
68222014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6823
6824 PR gdb/17170
6825 * gdb.base/statistics.exp: New file.
6826
b8b8facf
DE
68272014-07-17 Doug Evans <dje@google.com>
6828
74b49205 6829 PR gdb/17170
b8b8facf
DE
6830 * gdb.base/maint.exp: Update testing of per-command stats.
6831
1b5d0ab3
PA
68322014-07-16 Pedro Alves <palves@redhat.com>
6833
6834 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6835 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6836 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6837 (tfile_write_buf): New functions.
6838 (add_memory_block): Rewrite using the above.
6839 (adjust_function_address): New function.
6840 (FUNCTION_ADDRESS): New macro.
6841 (write_basic_trace_file): Remove short_x local, and use
6842 tfile_write_16. Change type of func_addr local to unsigned long
6843 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6844 here. Cast argument of add_memory_block to char pointer.
6845 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6846 (main): Remove parameters.
6847 * gdb.trace/tfile.exp: Remove nowarnings.
6848
4d974e88
SM
68492014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6850
6851 * gdb.base/debug-expr.exp: Test string evaluation with
6852 "debug expression" on.
6853
41e99568
PA
68542014-07-15 Pedro Alves <palves@redhat.com>
6855
6856 * gdb.base/reread.exp: Use clean_restart.
6857
487d9753
PL
68582014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6859
6860 * gdb.arch/avr-flash-qualifer.c: New.
6861 * gdb.arch/avr-flash-qualifer.exp: New.
6862
cc1c52ad
PA
68632014-07-14 Pedro Alves <palves@redhat.com>
6864
6865 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6866 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6867
1e973570
PA
68682014-07-14 Pedro Alves <palves@redhat.com>
6869
6870 * gdb.base/double-prompt-target-event-error.c: New file.
6871 * gdb.base/double-prompt-target-event-error.exp: New file.
6872
93d6eb10
PA
68732014-07-14 Pedro Alves <palves@redhat.com>
6874
6875 PR gdb/17072
6876 * gdb.base/paginate-inferior-exit.c: New file.
6877 * gdb.base/paginate-inferior-exit.exp: New file.
6878
0017922d
PA
68792014-07-14 Pedro Alves <palves@redhat.com>
6880
6881 PR gdb/17072
6882 * gdb.base/paginate-bg-execution.c: New file.
6883 * gdb.base/paginate-bg-execution.exp: New file.
6884
94696ad3
PA
68852014-07-14 Pedro Alves <palves@redhat.com>
6886
6887 PR gdb/17072
6888 * gdb.base/paginate-execution-startup.c: New file.
6889 * gdb.base/paginate-execution-startup.exp: New file.
6890 * lib/gdb.exp (pagination_prompt): New global.
6891 (default_gdb_spawn): New procedure, factored out from
6892 default_gdb_spawn.
6893 (default_gdb_start): Adjust to call default_gdb_spawn.
6894 (gdb_spawn): New procedure.
6895
bd293940
PA
68962014-07-14 Pedro Alves <palves@redhat.com>
6897
6898 * lib/gdb.exp (gdb_assert): New procedure.
6899 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6900
c933f875
PA
69012014-07-14 Pedro Alves <palves@redhat.com>
6902
6903 * gdb.base/execution-termios.c: New file.
6904 * gdb.base/execution-termios.exp: New file.
6905
d98b7a16
TT
69062014-07-14 Tom Tromey <tromey@redhat.com>
6907
6908 * gdb.cp/vla-cxx.cc: New file.
6909 * gdb.cp/vla-cxx.exp: New file.
6910
548740d6
TT
69112014-07-14 Tom Tromey <tromey@redhat.com>
6912
6913 * gdb.reverse/rerun-prec.c: New file.
6914 * gdb.reverse/rerun-prec.exp: New file.
6915
a25eb028
MR
69162014-07-12 Maciej W. Rozycki <macro@mips.com>
6917 Maciej W. Rozycki <macro@codesourcery.com>
6918
6919 * lib/gdb-utils.exp: New file.
6920 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6921 inline `gdb_init_command' processing.
6922 (gdb_start_cmd): Likewise.
6923 * lib/mi-support.exp (mi_run_cmd): Likewise.
6924 * README: Document `gdb_init_command' and `gdb_init_commands'.
6925
218c2655
JK
69262014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6927
6928 Fix false FAIL running under a very long directory name.
6929 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6930 and "set print elements 10000". Twice.
6931
5401fde3
YQ
69322014-07-11 Yao Qi <yao@codesourcery.com>
6933
6934 * gdb.base/exprs.exp: "set print symbol off".
6935
e76126e8
PA
69362014-07-11 Pedro Alves <palves@redhat.com>
6937
6938 * gdb.threads/kill.c: New file.
6939 * gdb.threads/kill.exp: New file.
6940
2d6f0de6
YQ
69412014-07-10 Yao Qi <yao@codesourcery.com>
6942
6943 * gdb.trace/tfile.c (write_basic_trace_file)
6944 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6945 address written to trace file.
6946
7180e04a
PA
69472014-07-09 Pedro Alves <palves@redhat.com>
6948
6949 * gdb.base/attach-wait-input.exp: New file.
6950 * gdb.base/attach-wait-input.c: New file.
6951
9a9a7608
AB
69522014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6953
6954 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6955 setting up test structures.
6956 (main): Call new test function.
6957 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6958 test function, continue into test function and walk test
6959 structures.
6960
161ac41e
YQ
69612014-07-02 Yao Qi <yao@codesourcery.com>
6962
6963 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6964 'bar_start' at the beginning of functions 'foo' and 'bar'
6965 respectively.
6966 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6967 instead of 'foo' and 'bar'.
6968
1f267ae3
MM
69692014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6970
6971 * gdb.btrace/segv.exp: New.
6972 * gdb.btrace/segv.c: New.
6973
2b239efb
LM
69742014-07-02 Luis Machado <lgustavo@codesourcery.com>
6975
6976 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6977 instruction.
6978
cf363f18
MW
69792014-06-30 Mark Wielaard <mjw@redhat.com>
6980
6981 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6982 vulture, vilify, villar): New volatile array constants.
6983 (vindictive, vegetation): New const volatile array constants.
6984 * gdb.base/volatile.exp: Test volatile and const volatile array
6985 types.
6986
aebf9d24
AA
69872014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6988
6989 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6990 target lacks support for awatch, rwatch, or hbreak.
6991
b67a2c6f
YQ
69922014-06-27 Yao Qi <yao@codesourcery.com>
6993
6994 * gdb.multi/dummy-frame-restore.exp: New.
6995 * gdb.multi/dummy-frame-restore.c: New.
6996
aef92902
MM
69972014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6998
6999 * gdb.btrace/gcore.exp: New.
7000
8e9db26e
PA
70012014-06-23 Pedro Alves <palves@redhat.com>
7002
7003 * gdb.base/watchpoint-reuse-slot.c: New file.
7004 * gdb.base/watchpoint-reuse-slot.exp: New file.
7005
70afc5b7
SC
70062014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7007
7008 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7009 progspace's filename in 'info', 'enable' and 'disable' command
7010 tests.
7011
b972bd9c
JK
70122014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7013
7014 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7015 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7016 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7017
125f8a3d
GB
70182014-06-20 Gary Benson <gbenson@redhat.com>
7019
7020 * gdb.arch/i386-avx.exp: Fix include file location.
7021 * gdb.arch/i386-sse.exp: Likewise.
7022
3ed9baed
IB
70232014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7024
7025 * gdb.dlang/expression.exp: New file.
7026
034f788c
PA
70272014-06-19 Pedro Alves <palves@redhat.com>
7028
7029 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7030 out from ...
7031 (top level): ... here. Iterate running tests under different
7032 scheduler-locking settings.
7033
45371d0c
LM
70342014-06-18 Luis Machado <lgustavo@codesourcery.com>
7035
7036 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7037 to DW_FORM_addr and use non-zero addresses.
7038
5d376983
SC
70392014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7040
7041 PR gdb/17017
7042 * gdb.python/py-xmethods.cc: Add global function call counters and
7043 increment them in their respective functions. Remove "cout"
7044 statements.
7045 * gdb.python/py-xmethods.exp: Make tests check the global function
7046 call counters instead of depending on inferior IO.
7047
a1aa2221
LM
70482014-06-18 Don Breazeal <donb@codesourcery.com>
7049
7050 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7051 Deleted procedure.
7052 (explicit_fork_parent_follow): Deleted procedure.
7053 (explicit_fork_child_follow): Deleted procedure.
7054 (test_follow_fork): New procedure.
7055 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 7056 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
7057 procedure calls.
7058
0fc05997
YQ
70592014-06-17 Yao Qi <yao@codesourcery.com>
7060
7061 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7062 CP1252.
7063
70795c52
LM
70642014-06-17 Luis Machado <lgustavo@codesourcery.com>
7065
7066 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7067 Initialize ptr and S explicitly.
7068 (skip_type_update_when_not_use_rtti_test): Likewise.
7069
6be47f0c
KS
70702014-06-16 Keith Seitz <keiths@redhat.com>
7071
7072 PR mi/15863
7073 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7074 the inferior is started.
7075
d03de421
PA
70762014-06-16 Pedro Alves <palves@redhat.com>
7077
7078 * gdb.base/break-main-file-remove-fail.c: New file.
7079 * gdb.base/break-main-file-remove-fail.exp: New file.
7080 * gdb.base/break-unload-file.exp: Use build_executable instead of
7081 prepare_for_testing.
7082 (test_break): New parameter "initial_load". Handle it.
7083 (top level): Add initial_load cmdline/file axis.
7084
f9579b99
TT
70852014-06-12 Tom Tromey <tromey@redhat.com>
7086
7087 * gdb.base/completion.exp: Don't use directory name in test.
7088
3657956b
GB
70892014-06-09 Gary Benson <gbenson@redhat.com>
7090
7091 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7092 separate the always-available ANSI-standard signals from the
7093 signals that require checking.
7094 (main): Likewise.
7095 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7096 Likewise.
7097 (main): Likewise.
7098
4186eb54
KS
70992014-06-07 Keith Seitz <keiths@redhat.com>
7100
7101 Revert:
7102 PR c++/16253
7103 * gdb.cp/var-tag.cc: New file.
7104 * gdb.cp/var-tag.exp: New file.
7105 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7106 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7107 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7108 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7109
25326a28 71102014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
7111
7112 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7113
829155c9
PA
71142014-06-06 Pedro Alves <palves@redhat.com>
7115
7116 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7117 in target debug output instead of looking at RSP packets,
7118 disabling the test on any target that uses hardware stepping.
7119 Update comments.
7120
61c8d22e
PA
71212014-06-06 Pedro Alves <palves@redhat.com>
7122
7123 * gdb.base/break-unload-file.exp: Fix typo.
7124
d9a47287
YQ
71252014-06-06 Yao Qi <yao@codesourcery.com>
7126
7127 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7128 from "jit_function" to "^jit_function".
7129
e5e01dbf
YQ
71302014-06-06 Yao Qi <yao@codesourcery.com>
7131
7132 * gdb.base/async.c (foo): Add one statement.
7133 * gdb.base/async.exp: Get the next instruction address and
7134 match the output of "nexti" by instruction address. Match
7135 the hex address in the output of "finish".
7136
73ba372c
GB
71372014-06-06 Gary Benson <gbenson@redhat.com>
7138
7139 * gdb.base/call-signals.c: Remove preprocessor conditionals
7140 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7141 SIGSEGV and SIGTERM.
7142 * gdb.base/sigall.c: Likewise.
7143 * gdb.base/unwindonsignal.c: Likewise.
7144 * gdb.reverse/sigall-reverse.c: Likewise.
7145
831517df
YQ
71462014-06-06 Yao Qi <yao@codesourcery.com>
7147
7148 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7149 readable, skip the test.
7150
b8b91e98
YQ
71512014-06-06 Yao Qi <yao@codesourcery.com>
7152
7153 * gdb.threads/staticthreads.c (thread_function): Move the line
7154 setting breakpoint on forward.
7155 * gdb.threads/staticthreads.exp: Update comments.
7156
fb934770
LC
71572014-06-05 Ludovic Courtès <ludo@gnu.org>
7158
7159 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7160 "history-append! type error".
7161
6ef284bd
SM
71622014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7163
7164 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7165 erroneous dprintf expected input.
7166
a872e241
DE
71672014-06-04 Doug Evans <xdje42@gmail.com>
7168
7169 * gdb.guile/scm-generics.exp: Delete.
7170
16f691fb
DE
71712014-06-04 Doug Evans <xdje42@gmail.com>
7172
7173 * gdb.guile/scm-breakpoint.exp: Update.
7174 Add tests for breakpoint registration.
7175
012370f6
TT
71762014-06-04 Tom Tromey <tromey@redhat.com>
7177
7178 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7179 VLA-in-union.
7180 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7181 inner_vla_struct, vla_union types. Initialize objects of those
7182 types and compute their sizes.
7183
9f5a4cef
HZ
71842014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7185 Hui Zhu <hui@codesourcery.com>
7186
7187 * gdb.base/fileio.exp: Add test for shell not available as well as
7188 available.
7189 * gdb.base/fileio.c (test_system): Check for shell twice.
7190
90a45c4d
YQ
71912014-06-04 Yao Qi <yao@codesourcery.com>
7192
7193 * gdb.base/auto-connect-native-target.exp: Remove redundant
7194 space from the regexp pattern.
7195
70017e41
YQ
71962014-06-04 Yao Qi <yao@codesourcery.com>
7197
7198 * gdb.base/default.exp: Replace "child" with "native" in
7199 regexp pattern.
7200
883964a7
SC
72012014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7202
7203 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7204 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7205 * gdb.python/py-xmethods.py: Python script supporting the
7206 new testcase and tests.
7207
ef370185
JB
72082014-06-03 Joel Brobecker <brobecker@adacore.com>
7209 Pedro Alves <palves@redhat.com>
7210
7211 PR breakpoints/17000
7212 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7213 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7214
1e2ccb61
BM
72152014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7216
7217 * gdb.base/subst.exp: Add tests to verify partial path matching
7218 output.
7219
c6ec5ab2
PA
72202014-06-03 Pedro Alves <palves@redhat.com>
7221
7222 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7223 target that doesn't use software single-stepping.
7224
835c559f
PA
72252014-06-03 Pedro Alves <palves@redhat.com>
7226
7227 PR breakpoints/17000
7228 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7229 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7230
06eb1586
DE
72312014-06-02 Doug Evans <xdje42@gmail.com>
7232
7233 * gdb.guile/scm-parameter.exp: New file.
7234
e698b8c4
DE
72352014-06-02 Doug Evans <xdje42@gmail.com>
7236
7237 * gdb.guile/scm-cmd.c: New file.
7238 * gdb.guile/scm-cmd.exp: New file.
7239
ded03782
DE
72402014-06-02 Doug Evans <xdje42@gmail.com>
7241
7242 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7243 pretty-printer lookup.
7244 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7245 (make-pp_s-printer): Call it.
7246 (make-pretty-printer-from-dict): New function.
7247 (lookup-pretty-printer-maker-from-dict): New function.
7248 (*pretty-printer*): Simplify.
7249 (make-objfile-pp_s-printer): New function.
7250 (install-objfile-pretty-printers!): New function.
7251 (make-progspace-pp_s-printer): New function.
7252 (install-progspace-pretty-printers!): New function.
7253 * gdb.guile/scm-progspace.c: New file.
7254 * gdb.guile/scm-progspace.exp: New file.
7255
41fac0cf
PA
72562014-06-02 Pedro Alves <palves@redhat.com>
7257
7258 * gdb.base/dprintf-bp-same-addr.c: New file.
7259 * gdb.base/dprintf-bp-same-addr.exp: New file.
7260
96ae5695
EBM
72612014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7262
7263 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7264 * gdb.arch/powerpc-power.s: Likewise.
7265
da02b3a8
JB
72662014-06-02 Joel Brobecker <brobecker@adacore.com>
7267
7268 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7269
c72b2e7b
YQ
72702014-06-01 Yao Qi <yao@codesourcery.com>
7271
7272 * gdb.base/watchpoint.exp (test_watch_location): Check null
7273 pointer can be dereferenced. If not, do the test, otherwise
7274 skip it.
7275
53e8a631
AB
72762014-05-30 Andrew Burgess <aburgess@broadcom.com>
7277
7278 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7279 results.
7280 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7281
938f0e2f
AB
72822014-05-30 Andrew Burgess <aburgess@broadcom.com>
7283
7284 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7285 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7286 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7287 * gdb.arch/amd64-invalid-stack-top.c: New file.
7288 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7289
9ba6657a
PA
72902014-05-30 Pedro Alves <palves@redhat.com>
7291
7292 PR breakpoints/17000
7293 * gdb.base/sss-bp-on-user-bp.c: New file.
7294 * gdb.base/sss-bp-on-user-bp.exp: New file.
7295
522c09bf
DB
72962014-05-30 David Blaikie <dblaikie@gmail.com>
7297
7298 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7299 gnu_inline semantics via attribute.
7300 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7301 source explicitly specifies the required semantics.
7302
bf4ef81e
MR
73032014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7304
7305 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7306
329ea579
PA
73072014-05-29 Pedro Alves <palves@redhat.com>
7308 Tom Tromey <tromey@redhat.com>
7309
7310 * gdb.base/async-shell.exp: Don't enable target-async.
7311 * gdb.base/async.exp
7312 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7313 parameter. Adjust.
7314 (top level): Don't test with "target-async".
7315 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7316 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7317 * gdb.base/inferior-died.exp: Don't enable target-async.
7318 * gdb.base/interrupt-noterm.exp: Likewise.
7319 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7320 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7321 * gdb.mi/mi-nonstop.exp: Likewise.
7322 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7323 * gdb.mi/mi-nsintrall.exp: Likewise.
7324 * gdb.mi/mi-nsmoribund.exp: Likewise.
7325 * gdb.mi/mi-nsthrexec.exp: Likewise.
7326 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7327 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7328 * gdb.python/py-evsignal.exp: Don't enable target-async.
7329 * gdb.python/py-evthreads.exp: Likewise.
7330 * gdb.python/py-prompt.exp: Likewise.
7331 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7332 * gdb.server/solib-list.exp: Don't enable target-async.
7333 * gdb.threads/thread-specific-bp.exp: Likewise.
7334 * lib/mi-support.exp: Adjust to use mi-async.
7335
fd664c91
PA
73362014-05-29 Pedro Alves <palves@redhat.com>
7337
7338 PR gdb/13860
7339 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7340 reason, even in sync mode.
7341
251bde03
PA
73422014-05-29 Pedro Alves <palves@redhat.com>
7343 Hui Zhu <hui@codesourcery.com>
7344
7345 PR PR15693
7346 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7347 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7348 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7349 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7350
7f3c0343
JB
73512014-05-28 Joel Brobecker <brobecker@adacore.com>
7352
7353 * config/monitor.exp (gdb_target_monitor): Replace use of
7354 "set remotebaud" by "set serial baud".
7355
b2715b27
AW
73562014-05-26 Andy Wingo <wingo@igalia.com>
7357
7358 * gdb.guile/scm-breakpoint.exp:
7359 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7360 properties instead of gdb-object-properties.
7361
498a4489
YQ
73622014-05-26 Yao Qi <yao@codesourcery.com>
7363
7364 * gdb.server/no-thread-db.exp: Specify source file name
7365 explicitly when setting a breakpoint.
7366
589fdceb
MM
73672014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7368
7369 * gdb.btrace/vdso.c: New.
7370 * gdb.btrace/vdso.exp: New.
7371
e9089e05
MM
73722014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7373
7374 * gdb.base/gcore.exp (capture_command_output): Move ...
7375 * lib/gdb.exp (capture_command_output): ... here.
7376
67b5c0c1
MM
73772014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7378
7379 * gdb.btrace/data.exp: Test memory access during btrace replay.
7380
a2199296
SM
73812014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7382
7383 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7384
17b2616c
PA
73852014-05-21 Pedro Alves <palves@redhat.com>
7386
7387 PR gdb/13860
7388 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7389 (top level): Test that output related to execution commands is
7390 sent to the console with CLI commands, but not with MI commands.
7391 Test that breakpoint events are always mirrored to the console.
7392 Also expect the new source line to be output after a "next" in
7393 async mode too. Make it a pass/fail test.
7394 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7395 output.
7396 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7397
5166082f
PA
73982014-05-21 Pedro Alves <palves@redhat.com>
7399
7400 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7401 Use them to test variations of "list" after reaching a breakpoint.
7402 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7403 Test "list" with listsize 10 after reaching a breakpoint.
7404 * gdb.python/python.exp (decode_line current location line
7405 number): Adjust expected line number.
7406
2f25d70f
SM
74072014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7408
7409 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7410 behavior for $args, pass it directly to "run".
7411
ff604a67
MR
74122014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7413
7414 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7415 30000 to 65536.
7416
6a3cb8e8
PA
74172014-05-21 Pedro Alves <palves@redhat.com>
7418
7419 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7420 auto-connect-native-target off".
7421 * gdb.base/auto-connect-native-target.c: New file.
7422 * gdb.base/auto-connect-native-target.exp: New file.
7423
4ebfc96e
PA
74242014-05-21 Pedro Alves <palves@redhat.com>
7425
7426 * gdb.base/default.exp: Test "target native" instead of "target
7427 child".
7428
36d46afb
MW
74292014-05-21 Mark Wielaard <mjw@redhat.com>
7430
7431 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7432
5876f503
JK
74332014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7434
7435 Fix TLS access for -static -pthread.
7436 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7437 <HAVE_TLS> (thread_function, main): Initialize it.
7438 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7439 Add clean_restart.
7440 <$have_tls != "">: Check TLSVAR.
7441
0256a6ac
PA
74422014-05-21 Pedro Alves <palves@redhat.com>
7443
7444 * gdb.base/dcache-line-read-error.c: New.
7445 * gdb.base/dcache-line-read-error.exp: New.
7446
936d2992
PA
74472014-05-20 Pedro Alves <palves@redhat.com>
7448
7449 * gdb.base/compare-sections.c: New file.
7450 * gdb.base/compare-sections.exp: New file.
7451
802e8e6d
PA
74522014-05-20 Pedro Alves <palves@redhat.com>
7453
7454 * gdb.base/break-idempotent.c: New file.
7455 * gdb.base/break-idempotent.exp: New file.
7456
e59fa00f
MM
74572014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7458
7459 * gdb.btrace/nohist.exp: New.
7460
8b696e31
YQ
74612014-05-20 Yao Qi <yao@codesourcery.com>
7462
7463 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7464 gdb.reverse directory and gdb_reverse_timeout exists in board
7465 setting.
7466 * README: Document gdb_reverse_timeout.
7467
73c9764f
YQ
74682014-05-20 Yao Qi <yao@codesourcery.com>
7469
7470 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7471 'test_file_name'. Treat args as a string instead of a list.
7472 (gdb_init): Rename argument 'args' by 'test_file_name'.
7473
f1f4348a
JK
74742014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7475
7476 * gdb.arch/powerpc-power.exp: New file.
7477 * gdb.arch/powerpc-power.s: New file.
7478
0dbe70ce
DE
74792014-05-16 Doug Evans <dje@google.com>
7480
7481 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
7482 * gdb.base/completion.exp: Check that all expected files exist
7483 before doing file completion.
0dbe70ce 7484
8d551b02
DE
74852014-05-16 Doug Evans <dje@google.com>
7486
7487 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7488 Update.
7489 (do_syscall_tests_without_xml): Update.
7490
73eb7709
PA
74912014-05-16 Pedro Alves <palves@redhat.com>
7492
7493 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7494 instead of "unknown output after running".
7495
3fae92fc
YQ
74962014-05-16 Yao Qi <yao@codesourcery.com>
7497
7498 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7499 file1.txt from host at the end.
7500 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7501
c2b2ccc5
DE
75022014-05-15 Doug Evans <dje@google.com>
7503
7504 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7505 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7506 loading file. Add test for TU lookup.
7507
8c217a4b
SM
75082014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7509
7510 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7511 calling "-exec-arguments" or "set args" before running the
7512 inferior.
7513
3deb39c6
SM
75142014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7515
7516 * lib/mi-support.exp (mi_expect_stop): Expect message for
7517 inferiors that exit with non-zero exit code.
7518
71a79f8c
YQ
75192014-05-14 Yao Qi <yao@codesourcery.com>
7520
7521 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7522 match absolute path on remote host.
7523 (test_file_list_exec_source_files): Remove "/" from the
7524 pattern.
7525
f23fcd46
YQ
75262014-05-14 Yao Qi <yao@codesourcery.com>
7527
7528 * boards/local-remote-host-notty.exp (${board}_file): New
7529 proc.
7530
9404b58f
KM
75312014-05-07 Kyle McMartin <kyle@redhat.com>
7532
7533 Pushed by Joel Brobecker <brobecker@adacore.com>.
7534 * gdb.arch/aarch64-atomic-inst.c: New file.
7535 * gdb.arch/aarch64-atomic-inst.exp: New file.
7536
5e45f04c
YQ
75372014-05-07 Yao Qi <yao@codesourcery.com>
7538
7539 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7540 in current context" too.
7541
c888a17d
KS
75422014-05-05 Keith Seitz <keiths@redhat.com>
7543
7544 * gdb.linespec/ls-dollar.exp: Add test for linespec
7545 file:convenience_variable.
7546
290a839c
YQ
75472014-05-05 Yao Qi <yao@codesourcery.com>
7548
7549 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7550 traceframes into tfile and ctf trace files. Read data from
7551 trace file and test collected data.
7552 (gdb_collect_locals_test): Likewise.
7553 (gdb_unavailable_registers_test): Likewise.
7554 (gdb_unavailable_floats): Likewise.
7555 (gdb_collect_globals_test): Likewise.
7556 (top-level): Append "ctf" to trace_file_targets if GDB
7557 supports.
7558
b5262cd0
YQ
75592014-05-05 Yao Qi <yao@codesourcery.com>
7560
7561 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7562 code to ...
7563 (gdb_collect_args_test_1): ... it. New proc.
7564 (gdb_collect_locals_test): Move some code to ...
7565 (gdb_collect_locals_test_1): ... it. New proc.
7566 (gdb_unavailable_registers_test): Move some code to ...
7567 (gdb_unavailable_registers_test_1): ... it. New proc.
7568 (gdb_unavailable_floats): Move some code to ...
7569 (gdb_unavailable_floats_1): ... it. New proc.
7570
30a1e6cc
SDJ
75712014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7572
7573 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7574 probes to test for bitness recognition.
7575 * gdb.arch/amd64-stap-optional-prefix.exp
7576 (test_probe_value_without_reg): New procedure.
7577 Add code to test for different kinds of bitness.
7578
f33da99a
SDJ
75792014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7580
7581 PR breakpoints/16889
7582 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7583 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7584
5b80f00d
PA
75852014-05-01 Pedro Alves <palves@redhat.com>
7586
7587 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7588 gdb_file_cmd if no file is specified.
7589 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7590 last_loaded_file to set the remote exec-file.
7591
f8c2a73c
PA
75922014-05-01 Pedro Alves <palves@redhat.com>
7593
7594 * boards/local-remote-host.exp: New file.
7595
be6e8ac7
PA
75962014-05-01 Pedro Alves <palves@redhat.com>
7597
7598 * boards/local-remote-host.exp: Rename to ...
7599 * boards/local-remote-host-notty.exp: ... this.
7600
cac0dc8f
JB
76012014-04-28 Joel Brobecker <brobecker@adacore.com>
7602
7603 * gdb.ada/dyn_arrayidx: New testcase.
7604
9730e6cc
YQ
76052014-04-26 Yao Qi <yao@codesourcery.com>
7606
7607 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7608 and compute the length of function main. Save it in
7609 $main_length.
7610 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7611 (top-level): Use gdb_compile to compile objects into
7612 executable and restart GDB. Remove invocation to
7613 prepare_for_testing.
7614
7ae1a6a6
PA
76152014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7616 Pedro Alves <palves@redhat.com>
7617
7618 PR server/16255
7619 * gdb.multi/multi-attach.c: New file.
7620 * gdb.multi/multi-attach.exp: New file.
7621
4082afcc
PA
76222014-04-25 Pedro Alves <palves@redhat.com>
7623
7624 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7625 user.
7626 (top level): Test that "set remote conditional-breakpoints-packet
7627 off" works as intended.
7628 * gdb.base/dprintf.exp: Test that "set remote
7629 breakpoint-commands-packet off" works as intended.
7630 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7631 New function.
7632 (top level): Call it.
7633 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7634 remote fast-tracepoints-packet off" works as intended.
7635 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7636 * lib/gdb.exp (gdb_is_target_remote): ... here.
7637
2abc3f8d
DB
76382014-04-24 David Blaikie <dblaikie@gmail.com>
7639
7640 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7641 ensure clang would not discard them.
7642 * gdb.base/gdbvars.c: Ditto.
7643 * gdb.base/memattr.c: Ditto.
7644 * gdb.base/whatis.c: Ditto.
7645 * gdb.python/py-prettyprint.c: Ditto.
7646 * gdb.trace/actions.c: Ditto.
7647 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7648 ensure clang would not discard it.
7649
bfd39632
DB
76502014-04-24 David Blaikie <dblaikie@gmail.com>
7651
7652 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7653 clang to emit the full definition of type required by the test
7654 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7655
22842ff6
DB
76562014-04-24 David Blaikie <dblaikie@gmail.com>
7657
7658 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7659 coax Clang into emitting the definition of the type.
7660 * gdb.cp/pr10728-x.h (y): Ditto.
7661 * gdb.cp/pr10728-y.cc (y): Ditto.
7662
c2e827ad
DB
76632014-04-24 David Blaikie <dblaikie@gmail.com>
7664
7665 * gdb.base/label.exp: XFAIL label related tests under Clang.
7666 * gdb.cp/cplabel.exp: Ditto.
7667 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7668 under Clang those using labels.
7669
4c2d33e7
YQ
76702014-04-25 Yao Qi <yao@codesourcery.com>
7671
7672 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7673 double_label.
7674 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7675 partial_label and double_label.
7676
56083b99
DB
76772014-04-24 David Blaikie <dblaikie@gmail.com>
7678
7679 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7680
25d4e99d
DB
76812014-04-24 David Blaikie <dblaikie@gmail.com>
7682
7683 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7684 of the function to work across GCC and Clang.
7685 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7686 pointer types (const void ** const V void **).
7687
01f9f808
MS
76882014-04-24 Michael Sturm <michael.sturm@mintel.com>
7689 Walfred Tedeschi <walfred.tedeschi@intel.com>
7690
7691 * Makefile.in (EXECUTABLES): Added i386-avx512.
7692 * gdb.arch/i386-avx512.c: New file.
7693 * gdb.arch/i386-avx512.exp: Likewise.
7694
4b48d439
KS
76952014-04-23 Keith Seitz <keiths@redhat.com>
7696
7697 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7698 (mi_make_breakpoint_table): New procedure.
7699 (mi_create_breakpoint): Use mi_make_breakpoint
7700 and return the result.
7701 (mi_make_breakpoint): New procedure.
7702 (mi_build_kv_pairs): New procedure.
7703
7704 * gdb.mi/mi-break.exp: Remove unused globals,
7705 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7706 All callers updated.
7707 * gdb.mi/mi-dprintf.exp: Use variable to track command
7708 number.
7709 Update all callers of mi_create_breakpoint and use
7710 mi_make_breakpoint_table.
7711 Remove any unused global variables.
7712 * gdb.mi/mi-nonstop.exp: Likewise.
7713 * gdb.mi/mi-nsintrall.exp: Likewise.
7714 * gdb.mi/mi-nsmoribund.exp: Likewise.
7715 * gdb.mi/mi-nsthrexec.exp: Likewise.
7716 * gdb.mi/mi-reverse.exp: Likewise.
7717 * gdb.mi/mi-simplerun.exp: Likewise.
7718 * gdb.mi/mi-stepn.exp: Likewise.
7719 * gdb.mi/mi-syn-frame.exp: Likewise.
7720 * gdb.mi/mi-until.exp: Likewise.
7721 * gdb.mi/mi-var-cp.exp: Likewise.
7722 * gdb.mi/mi-var-display.exp: Likewise.
7723 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7724 * gdb.mi/mi2-var-child.exp: Likewise.
7725 * gdb.mi/mi-vla-c99.exp: Likewise.
7726 * lib/mi-support.exp: Likewise.
7727
7728 From Ian Lance Taylor <iant@cygnus.com>:
7729 * lib/gdb.exp (parse_args): New procedure.
7730
08351840
PA
77312014-04-23 Pedro Alves <palves@redhat.com>
7732
7733 * gdb.base/break-unload-file.c: New file.
7734 * gdb.base/break-unload-file.exp: New file.
7735 * gdb.base/sym-file-lib.c (baz): New function.
7736 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7737 field.
7738 (load): Store the segment's mapped size.
7739 (unload): New function.
7740 (unload_shlib): New function.
7741 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7742 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7743 set a breakpoint at baz, and call it.
7744 * gdb.base/sym-file.exp: New tests for stale breakpoint
7745 instructions.
7746
076855f9
PA
77472014-04-23 Pedro Alves <palves@redhat.com>
7748
7749 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7750 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7751 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7752 * gdb.base/hbreak-unmapped.c: New file.
7753 * gdb.base/hbreak-unmapped.exp: New file.
7754 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7755 * lib/gdb.exp (gdb_is_target_remote): ... here.
7756
483805cf
PA
77572014-04-22 Pedro Alves <palves@redhat.com>
7758
7759 * gdb.base/consecutive-step-over.c: New file.
7760 * gdb.base/consecutive-step-over.exp: New file.
7761
06d97543
PA
77622014-04-22 Pedro Alves <palves@redhat.com>
7763
7764 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7765 instead of send_gdb/gdb_expect.
7766
b4429ea2
YQ
77672014-04-22 Yao Qi <yao@codesourcery.com>
7768
7769 * lib/trace-support.exp (generate_tracefile): New procedure.
7770 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7771 return 0.
7772 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7773 if generate_tracefile returns 1.
7774
51d48146
PA
77752014-04-18 Tom Tromey <palves@redhat.com>
7776 Pedro alves <tromey@redhat.com>
7777
7778 PR backtrace/15558
7779 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7780 with a backtrace limit.
7781 * gdb.python/py-frame-inline.exp: Test running to an inline
7782 function with a backtrace limit, and printing the newest frame.
7783 * gdb.python/py-frame-inline.c (main): Call f.
7784
bd1dce5f
MS
77852014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7786
7787 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7788
40d1a503
MS
77892014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7790
7791 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7792 Drop prefix from unsupported source file path.
7793
389b98f7
YQ
77942014-04-17 Yao Qi <yao@codesourcery.com>
7795
7796 * lib/gdb.exp (with_target_charset): New proc.
7797 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7798 with_target_charset.
7799 (test_print_strings): Likewise.
7800 (test_repeat_bytes): Likewise.
7801 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7802 for some tests.
7803
22869d73
KS
78042014-04-16 Keith Seitz <keiths@redhat.com>
7805
7806 PR gdb/15827
7807 * gdb.dwarf2/corrupt.c: New file.
7808 * gdb.dwarf2/corrupt.exp: New file.
7809
c4f87ca6
KS
78102014-04-16 Keith Seitz <keiths@redhat.com>
7811
7812 PR c++/16597
7813 * gdb.cp/namelessclass.cc: New file.
7814 * gdb.cp/namelessclass.exp: New file.
7815 * gdb.cp/namelessclass.S: New file.
7816
ab19de87
DE
78172014-04-16 Doug Evans <dje@google.com>
7818
7819 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7820 Add comment.
7821 (gdbserver_default_get_comm_port): New function.
7822 (gdbserver_start): Check if board file provided
7823 "gdbserver,get_comm_port" and use it if so.
7824 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7825 (gdb,socketport): Set to "stdio".
7826 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7827 (stdio_gdbserver_template): Delete.
7828 (${board}_get_remote_address): Update.
7829 (${board}_build_remote_cmd): Delete.
7830 (${board}_get_comm_port): New function.
7831 (${board}_spawn): Update.
7832 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7833 Delete.
7834 (${board}_get_remote_address): Update.
7835 (${board}_get_comm_port): New function.
7836
fc98a809
AB
78372014-04-16 Andrew Burgess <aburgess@broadcom.com>
7838
7839 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7840 appearing in any order.
7841
87fd9e6e
DE
78422014-04-15 Doug Evans <dje@google.com>
7843
7844 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7845 uninitialized value of "description".
7846
099fc3ea
KS
78472014-04-15 Keith Seitz <keiths@redhat.com>
7848
7849 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7850 Remove unused globals.
7851 (test_running_the_program): Likewise.
7852 (test_controlled_execution): Likewise.
7853 (test_controlling_breakpoints): Likewise.
7854 (test_program_termination): Likewise.
7855
5da151d4
KS
78562014-04-15 Keith Seitz <keiths@redhat.com>
7857
7858 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7859 unused globals.
7860 (test_rbreak_creation_and_listing): Likewise.
7861 (test_ignore_count): Likewise.
7862 (test_error): Likewise.
7863
35e5d2f0
PA
78642014-04-15 Pedro Alves <palves@redhat.com>
7865
7866 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7867 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7868 sym-file-loader.c.
7869 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7870 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7871 to sym-file-loader.c.
7872 (struct library): Forward declare.
7873 (load_shlib, lookup_function): Change prototypes.
7874 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7875 (translate_offset): Remove declarations.
7876 (get_text_addr): New declaration.
7877 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7878 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7879 sym-file-loader.h.
7880 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7881 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7882 here from sym-file-loader.h.
7883 (struct library): New structure.
7884 (load_shlib, lookup_function): Change prototypes and adjust to
7885 work with a struct library.
7886 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7887 (translate_offset): Make static.
7888 (get_text_addr): New function.
7889 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7890
eb4c1710
PA
78912014-04-15 Pedro Alves <palves@redhat.com>
7892
7893 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7894
2d1baf52
PA
78952014-04-15 Pedro Alves <palves@redhat.com>
7896
7897 * gdb.base/sym-file-loader.c: Include <limits.h>.
7898 (SELF_LINK): New define.
7899 (get_origin): New function.
7900 (load_shlib): Use it.
7901 * gdb.base/sym-file.exp: Don't early return if the target is
7902 remote. Use runto_main, and issue fail is that fails. Use
7903 gdb_load_shlibs.
7904 (shlib_name): Delete.
7905 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7906
7dd6df01
PA
79072014-04-15 Pedro Alves <palves@redhat.com>
7908
7909 * gdb.base/sym-file.exp: Remove regex characters from test
7910 message. Don't refer to breakpoint numbers in test messages.
7911
b50c8614
KS
79122014-04-14 Keith Seitz <keiths@redhat.com>
7913
7914 PR c++/16253
7915 * gdb.cp/var-tag.cc: New file.
7916 * gdb.cp/var-tag.exp: New file.
7917 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7918 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7919 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7920 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7921
3d567982
TT
79222014-04-14 Tom Tromey <tromey@redhat.com>
7923
7924 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7925 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7926 type.
7927 * gdb.cp/enum-class.exp: New file.
7928 * gdb.cp/enum-class.cc: New file.
7929
0626fc76
TT
79302014-04-14 Tom Tromey <tromey@redhat.com>
7931
7932 * gdb.dwarf2/enum-type.exp: New file.
7933
dca325b3
SA
79342014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7935
7936 * gdb.mi/mi-vla-c99.exp: New file.
7937 * gdb.mi/vla.c: New file.
7938
5854b38a
SA
79392014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7940
7941 * gdb.base/vla-datatypes.c: New file.
7942 * gdb.base/vla-datatypes.exp: New file.
7943
463bb957
SA
79442014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7945
7946 * gdb.base/vla-ptr.c: New file.
7947 * gdb.base/vla-ptr.exp: New file.
7948
3dd170be
SA
79492014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7950
7951 * gdb.dwarf2/count.exp: New file.
7952
5ecaaa66
SA
79532014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7954
7955 * gdb.base/vla-sideeffect.c: New file.
7956 * gdb.base/vla-sideeffect.exp: New file.
7957
41f1ada5
DB
79582014-04-14 David Blaikie <dblaikie@gmail.com>
7959
7960 * gdb.mi/non-stop.c: Add return value for non-void function return
7961 statement.
7962 * gdb.threads/staticthreads.c: Ditto.
7963
0be03e84
DE
79642014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7965 Doug Evans <xdje42@gmail.com>
7966
7967 * gdb.guile/scm-value.c: Improve test case.
7968 * gdb.guile/scm-value.exp: Add new test.
7969
f180a1fb
DB
79702014-04-11 David Blaikie <dblaikie@gmail.com>
7971
7972 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7973 override Clang's default.
7974
6b662e19
JB
79752014-04-11 Joel Brobecker <brobecker@adacore.com>
7976
7977 Revert the following changes (regressions):
7978
7979 * gdb.base/vla-sideeffect.c: New file.
7980 * gdb.base/vla-sideeffect.exp: New file.
7981
7982 * gdb.dwarf2/count.exp: New file.
7983
7984 * gdb.base/vla-multi.c: New file.
7985 * gdb.base/vla-multi.exp: New file.
7986
7987 * gdb.base/vla-ptr.c: New file.
7988 * gdb.base/vla-ptr.exp: New file.
7989
7990 * gdb.base/vla-datatypes.c: New file.
7991 * gdb.base/vla-datatypes.exp: New file.
7992
7993 * gdb.mi/mi-vla-c99.exp: New file.
7994 * gdb.mi/vla.c: New file.
7995
245a5f0b
KS
79962014-04-11 Keith Seitz <keiths@redhat.com>
7997
7998 PR c++/16675
7999 * gdb.cp/cpsizeof.exp: New file.
8000 * gdb.cp/cpsizeof.cc: New file.
8001
58a84dcf
SA
80022014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8003
191a8a90
JB
8004 * gdb.mi/mi-vla-c99.exp: New file.
8005 * gdb.mi/vla.c: New file.
58a84dcf 8006
c8655f75
SA
80072014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8008
8009 * gdb.base/vla-datatypes.c: New file.
8010 * gdb.base/vla-datatypes.exp: New file.
8011
024e13b4
SA
80122014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8013
8014 * gdb.base/vla-ptr.c: New file.
8015 * gdb.base/vla-ptr.exp: New file.
8016
1a237e0e
SA
80172014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8018
8019 * gdb.base/vla-multi.c: New file.
8020 * gdb.base/vla-multi.exp: New file.
8021
504f3432
SA
80222014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8023
8024 * gdb.dwarf2/count.exp: New file.
8025
3bce8237
SA
80262014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8027
191a8a90
JB
8028 * gdb.base/vla-sideeffect.c: New file.
8029 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 8030
322f9c21
YQ
80312014-04-11 Yao Qi <yao@codesourcery.com>
8032
8033 * gdb.base/completion.exp: Check file exists before running tests
8034 on file completion.
8035
d708bcd1
PA
80362014-04-10 Pedro Alves <palves@redhat.com>
8037
8038 * gdb.base/cond-eval-mode.c: New file.
8039 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8040 prepare_for_testing to build the new file. Check result of
8041 runto_main.
8042 (test_break, test_watch): New procedures.
8043 (top level): Use them.
8044
ae1d2761
PM
80452014-04-08 Pierre Muller <muller@sourceware.org>
8046
8047 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8048 Ctrl-V use for mingw hosts.
8049
7af389b8
SC
80502014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8051
8052 * gdb.python/py-value.c: Improve test case.
8053 * gdb.python/py-value.exp: Add new test.
8054
5e703181
DE
80552014-04-07 David Blaikie <dblaikie@gmail.com>
8056
8057 * lib/compiler.c: Identify the clang compiler.
8058 * lib/compiler.cc: Ditto.
8059
9810b410
YQ
80602014-04-03 Yao Qi <yao@codesourcery.com>
8061
8062 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8063
98d1b8dc
AB
80642014-04-01 Anton Blanchard <anton@samba.org>
8065
8066 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8067 messages unique.
8068
3114cea1
AB
80692014-04-01 Anton Blanchard <anton@samba.org>
8070
8071 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8072 prepare_for_testing.
8073
62f7182c
AB
80742014-04-01 Anton Blanchard <anton@samba.org>
8075
8076 * gdb.arch/ppc64-atomic-inst.c: Remove.
8077 * gdb.arch/ppc64-atomic-inst.S: New file.
8078 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8079
770e7fc7
DE
80802014-03-31 Doug Evans <dje@google.com>
8081
8082 * gdb.base/print-symbol-loading-lib.c: New file.
8083 * gdb.base/print-symbol-loading-main.c: New file.
8084 * gdb.base/print-symbol-loading.exp: New file.
8085
46e2bafa
YQ
80862014-03-31 Yao Qi <yao@codesourcery.com>
8087
8088 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8089
8776cfe9
JB
80902014-03-28 Joel Brobecker <brobecker@adacore.com>
8091
8092 * gdb.ada/mi_dyn_arr: New testcase.
8093
5d1ef361
DE
80942014-03-27 Doug Evans <dje@google.com>
8095
8096 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8097
b5bee914
YQ
80982014-03-27 Yao Qi <yao@codesourcery.com>
8099
8100 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8101 if target is nios2-*-*.
8102
0d4d0e77
YQ
81032014-03-26 Yao Qi <yao@codesourcery.com>
8104
8105 * lib/gdb.exp (readline_is_used): New proc.
8106 * gdb.base/completion.exp: Move tests on command complete up.
8107 Skip the rest of tests if readline is not used.
8108 * gdb.ada/complete.exp: Skp the test if readline is not
8109 used.
8110 * gdb.base/filesym.exp: Likewise.
8111 * gdb.base/macscp.exp: Likewise.
8112 * gdb.base/readline-ask.exp: Likewise.
8113 * gdb.base/readline.exp: Likewise.
8114 * gdb.python/py-cmd.exp: Likewise.
8115 * gdb.trace/tfile.exp: Likewise.
8116
29361eee
YQ
81172014-03-26 Yao Qi <yao@codesourcery.com>
8118
8119 * gdb.base/macscp.exp: Fix code format issues.
8120
bc9a5525
UW
81212014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8122
8123 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8124 * gdb.asm/powerpc64le.inc: New file.
8125
d3839ede
PA
81262014-03-25 Pedro Alves <palves@redhat.com>
8127 Doug Evans <dje@google.com>
8128
8129 * gdb.base/source-execution.c: New file.
8130 * gdb.base/source-execution.exp: New file.
8131 * gdb.base/source-execution.gdb: New file.
8132
01672a57
DE
81332014-03-24 Doug Evans <dje@google.com>
8134
8135 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8136 using fission.
8137
88bbeca9
HZ
81382014-03-24 Hui Zhu <hui@codesourcery.com>
8139 Pedro Alves <palves@redhat.com>
8140
8141 PR breakpoints/16101
8142 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8143 test pass/fail messages. Detect missing support for dprintf when
8144 breakpoints are actually inserted.
8145 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8146 breakpoints are actually inserted.
8147 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8148 fails.
8149
d2348791
JK
81502014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8151
8152 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8153
feef67ab
DE
81542014-03-22 Doug Evans <xdje42@gmail.com>
8155
8156 * gdb.python/python.exp (python not supported): Verify multi-line
8157 python command issues an error.
25d743f9 8158 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 8159 guile command issues an error.
feef67ab 8160
ecebef6a
MR
81612014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8162
8163 * gdb.threads/thread-specific.exp: Handle the lack of usable
8164 $this_breakpoint and $this_thread.
8165
ccdd1909
HZ
81662014-03-21 Hui Zhu <hui@codesourcery.com>
8167
8168 * gdb.base/attach.exp (do_command_attach_tests): New.
8169
beb460e8
PA
81702014-03-20 Tom Tromey <tromey@redhat.com>
8171 Pedro Alves <palves@redhat.com>
8172
8173 PR cli/15718
8174 * gdb.base/condbreak-call-false.c: New file.
8175 * gdb.base/condbreak-call-false.exp: New file.
8176
40acf43a
PA
81772014-03-20 Pedro Alves <palves@redhat.com>
8178
8179 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8180 Delete.
8181 (block_signals, unblock_signals): Delete.
8182 (child_function_2, main): Remove references to deleted variable
8183 and functions.
8184
9f5e1e02
PA
81852014-03-20 Pedro Alves <palves@redhat.com>
8186
8187 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8188 Use pthread_kill to signal thread 2.
8189 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8190 Adjust to make the test send itself a signal rather than using the
8191 host's "kill" command.
8192
99619bea
PA
81932014-03-20 Pedro Alves <palves@redhat.com>
8194
8195 * gdb.threads/multiple-step-overs.c: New file.
8196 * gdb.threads/multiple-step-overs.exp: New file.
8197 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8198 Adjust expected infrun debug output.
8199
2adfaa28
PA
82002014-03-20 Pedro Alves <palves@redhat.com>
8201
8202 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8203 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8204
31e77af2
PA
82052014-03-20 Pedro Alves <palves@redhat.com>
8206
8207 PR breakpoints/7143
8208 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8209 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8210 of gdb_test_multiple.
8211 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8212 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8213
b9f437de
PA
82142014-03-20 Pedro Alves <palves@redhat.com>
8215
8216 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8217 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8218
05adc73e
PA
82192014-03-19 Pedro Alves <palves@redhat.com>
8220
8221 * gdb.base/async.exp: Remove early return.
8222
6048b950
PA
82232014-03-19 Pedro Alves <palves@redhat.com>
8224
8225 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8226
8bcfb00a
PA
82272014-03-19 Pedro Alves <palves@redhat.com>
8228
8229 * gdb.base/async.exp (test_background): Expect \r\n after
8230 "completed." in the fail pattern.
8231
884e37dc
PA
82322014-03-19 Pedro Alves <palves@redhat.com>
8233
8234 * gdb.base/async.exp (test_background): New procedure.
8235 Use it for all background execution command tests.
8236
148e57e2
PA
82372014-03-19 Pedro Alves <palves@redhat.com>
8238
8239 * gdb.base/async.exp: Use prepare_for_testing.
8240
f48088c7
PA
82412014-03-19 Pedro Alves <palves@redhat.com>
8242
8243 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8244 the same line.
8245
e2f6c966
PA
82462014-03-19 Pedro Alves <palves@redhat.com>
8247
8248 * gdb.base/async.c (main): Add "jump here" and "until here" line
8249 marker comments.
8250 * gdb.base/async.exp (jump_here): New global.
8251 (jump& test): Use it.
8252 (until_here): New global.
8253 (until& test): Use it.
8254
c30568d4
PA
82552014-03-19 Pedro Alves <palves@redhat.com>
8256
8257 * gdb.base/async.exp: Don't frob gdb_protocol.
8258
0172b6a7
DE
82592014-03-18 Doug Evans <xdje42@gmail.com>
8260
8261 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8262 Fix spelling of exec-done-display.
8263
06c868a8
JK
82642014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8265
8266 PR gdb/15358
8267 * gdb.base/gdb-sigterm.c: New file.
8268 * gdb.base/gdb-sigterm.exp: New file.
8269
0c7e1a46
PA
82702014-03-18 Pedro Alves <palves@redhat.com>
8271
8272 PR gdb/13860
8273 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8274 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8275 solib-event.
8276
f7c77d93
JB
82772014-03-17 Joel Brobecker <brobecker@adacore.com>
8278
8279 * gdb.ada/pckd_arr_ren: New testcase.
8280
5a1e8c7a
DE
82812014-03-13 Doug Evans <xdje42@gmail.com>
8282
8283 PR guile/16612
8284 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8285 collect after discarding symbols.
8286
350e1a76
DE
82872014-03-13 Ludovic Courtès <ludo@gnu.org>
8288 Doug Evans <xdje42@gmail.com>
8289
8290 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8291 to history survives a gc.
8292
a69900ae
PA
82932014-03-13 Pedro Alves <palves@redhat.com>
8294
8295 * gdb.base/default.exp: Don't test "target procfs".
8296
5db9f0bd
PA
82972014-03-13 Pedro Alves <palves@redhat.com>
8298
8299 * gdb.base/default.exp: Update "target child" and "target procfs"
8300 tests to not expect "Unix".
8301
b3ccfe11
TT
83022014-03-12 Tom Tromey <tromey@redhat.com>
8303
8304 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8305 New procs. Add target-async tests.
8306 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8307 Add target-async tests.
8308
646f4417
AA
83092014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8310
8311 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8312 'func_start' and 'func_end' for the beginning and end of the
8313 function code, respectively.
8314 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8315 'func_end' instead of 'func' and 'main'.
8316
288c211f
AA
83172014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8318
8319 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8320 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8321 generate the debug info assembler source.
8322
e0c0f156
AA
83232014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8324
8325 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8326 * gdb.dwarf2/arr-subrange.exp: Likewise.
8327 * gdb.dwarf2/dwz.exp: Likewise.
8328 * gdb.dwarf2/method-ptr.exp: Likewise.
8329 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8330 * gdb.dwarf2/subrange.exp: Likewise.
8331 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8332 * gdb.dwarf2/implptrpiece.exp: Likewise.
8333 * gdb.dwarf2/nostaticblock.exp: Likewise.
8334
0e5c4555
AA
83352014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8336
8337 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8338 directory to absolute path name arguments.
8339
5ec18f2b
JG
83402014-03-10 Joel Brobecker <brobecker@adacore.com>
8341
8342 * gdb.ada/tagged_access: New testcase.
8343
847fc4f2
MM
83442014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8345
8346 * gdb.btrace/data.exp: Update expected output.
8347
cc3da688
YQ
83482014-03-06 Yao Qi <yao@codesourcery.com>
8349
8350 * gdb.trace/pr16508.exp: New file.
8351
0f26cec1
PA
83522014-03-05 Pedro Alves <palves@redhat.com>
8353
8354 PR gdb/16575
8355 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8356 procedure.
8357 (top level): Adjust to use it. Add tests that exercise breakpoint
8358 interaction with the code-cache.
8359
7a5a839f
LC
83602014-02-26 Ludovic Courtès <ludo@gnu.org>
8361
8362 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8363 test for 'history-append!'.
8364
31aa7e4e
JB
83652014-02-26 Joel Brobecker <brobecker@adacore.com>
8366
8367 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8368 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8369 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8370 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8371 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8372 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8373
1b588015
JB
83742014-02-26 Joel Brobecker <brobecker@adacore.com>
8375
8376 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8377 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8378 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8379
55426c9d
JB
83802014-02-26 Joel Brobecker <brobecker@adacore.com>
8381
8382 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8383
dc53a7ad
JB
83842014-02-26 Joel Brobecker <brobecker@adacore.com>
8385
8386 * gdb.dwarf2/arr-stride.c: New file.
8387 * gdb.dwarf2/arr-stride.exp: New file.
8388
12ab52e9
PA
83892014-02-26 Pedro Alves <palves@redhat.com>
8390
8391 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8392 that won't ever trigger. Make sure that GDB reports the correct
8393 breakpoint that caused the stop.
8394
849c862e
JK
83952014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8396
8397 PR gdb/16626
8398 * gdb.base/auto-load-script: New file.
8399 * gdb.base/auto-load.c: New file.
8400 * gdb.base/auto-load.exp: New file.
8401
71b7d793
JK
8402 PR gdb/16626
8403 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8404
e2f0d509
JK
84052014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8406
8407 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8408 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8409
50cc37c8
DE
84102014-02-24 Doug Evans <dje@google.com>
8411
8412 * lib/gdb.exp (run_on_host): Log error output if program fails.
8413
ea4758f2
PA
84142014-02-21 Pedro Alves <palves@redhat.com>
8415
8416 * gdb.threads/step-after-sr-lock.c: Rename to ...
8417 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8418 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8419 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8420 ... this.
8421
d7b30f67
SDJ
84222014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8423
8424 PR tdep/16397
8425 * gdb.arch/amd64-stap-special-operands.exp: New file.
8426 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8427 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8428 * gdb.arch/amd64-stap-triplet.S: Likewise.
8429 * gdb.arch/amd64-stap-triplet.c: Likewise.
8430
83deb43f
JB
84312014-02-20 Joel Brobecker <brobecker@adacore.com>
8432
8433 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8434 in .section pseudo-op.
8435
adde2bff
DE
84362014-02-20 lin zuojian <manjian2006@gmail.com>
8437 Joel Brobecker <brobecker@adacore.com>
8438 Doug Evans <xdje42@gmail.com>
8439
8440 PR symtab/16581
8441 * gdb.dwarf2/dw2-icycle.S: New file.
8442 * gdb.dwarf2/dw2-icycle.c: New file.
8443 * gdb.dwarf2/dw2-icycle.exp: New file.
8444
f7bd0f78
SC
84452014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8446
8447 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8448 operations on gdb.Value objects.
8449 * gdb.python/py-value-cc.exp: Add new test to test operations on
8450 gdb.Value objects.
8451
c17ef0d5
DE
84522014-02-18 Doug Evans <dje@google.com>
8453
8454 * Makefile.in (TESTS): New variable.
8455 (expanded_tests, expanded_tests_or_none): New variables
8456 (check-single): Pass $(expanded_tests_or_none) to runtest.
8457 (check-parallel): Only run tests in $(TESTS) if non-empty.
8458 (check/no-matching-tests-found): New rule.
8459 * README: Document TESTS makefile variable.
8460
5dd3176f
DE
84612014-02-18 Doug Evans <dje@google.com>
8462
8463 * Makefile.in (check-parallel): rm -rf outputs temp.
8464
0b10be4f
JK
84652014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8466
8467 Fix "ERROR: no fileid for" in the testsuite.
8468 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8469
85f224e7
DE
84702014-02-12 Doug Evans <dje@google.com>
8471
8472 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8473 (MISCELLANEOUS): New variable.
8474 (clean): rm -rf $(MISCELLANEOUS).
8475 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8476 dwp live in the same directory as symlinks, with each symlink pointed
8477 to a differently named file in a different directory.
8478
149b30ff
DE
84792014-02-11 Doug Evans <dje@google.com>
8480
8481 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8482 of Tcl file commands.
8483
1dfdac32
MK
84842014-02-10 Mark Kettenis <kettenis@gnu.org>
8485
8486 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8487 "kill -SIGUSR1 -1".
8488
aa4fb036
JB
84892014-02-10 Joel Brobecker <brobecker@adacore.com>
8490
8491 * gdb.ada/tick_length_array_enum_idx: New testcase.
8492
ed3ef339
DE
84932014-02-10 Doug Evans <xdje42@gmail.com>
8494
8495 * configure.ac (AC_OUTPUT): Add gdb.guile.
8496 * configure: Regenerate.
8497 * lib/gdb-guile.exp: New file.
8498 * lib/gdb.exp (get_target_charset): New function.
8499 * gdb.base/help.exp: Update expected output from "apropos apropos".
8500 * gdb.guile/Makefile.in: New file.
8501 * gdb.guile/guile.exp: New file.
8502 * gdb.guile/scm-arch.c: New file.
8503 * gdb.guile/scm-arch.exp: New file.
8504 * gdb.guile/scm-block.c: New file.
8505 * gdb.guile/scm-block.exp: New file.
8506 * gdb.guile/scm-breakpoint.c: New file.
8507 * gdb.guile/scm-breakpoint.exp: New file.
8508 * gdb.guile/scm-disasm.c: New file.
8509 * gdb.guile/scm-disasm.exp: New file.
8510 * gdb.guile/scm-equal.c: New file.
8511 * gdb.guile/scm-equal.exp: New file.
8512 * gdb.guile/scm-error.exp: New file.
8513 * gdb.guile/scm-error.scm: New file.
8514 * gdb.guile/scm-frame-args.c: New file.
8515 * gdb.guile/scm-frame-args.exp: New file.
8516 * gdb.guile/scm-frame-args.scm: New file.
8517 * gdb.guile/scm-frame-inline.c: New file.
8518 * gdb.guile/scm-frame-inline.exp: New file.
8519 * gdb.guile/scm-frame.c: New file.
8520 * gdb.guile/scm-frame.exp: New file.
8521 * gdb.guile/scm-generics.exp: New file.
8522 * gdb.guile/scm-gsmob.exp: New file.
8523 * gdb.guile/scm-iterator.c: New file.
8524 * gdb.guile/scm-iterator.exp: New file.
8525 * gdb.guile/scm-math.c: New file.
8526 * gdb.guile/scm-math.exp: New file.
8527 * gdb.guile/scm-objfile-script-gdb.in: New file.
8528 * gdb.guile/scm-objfile-script.c: New file.
8529 * gdb.guile/scm-objfile-script.exp: New file.
8530 * gdb.guile/scm-objfile.c: New file.
8531 * gdb.guile/scm-objfile.exp: New file.
8532 * gdb.guile/scm-ports.exp: New file.
8533 * gdb.guile/scm-pretty-print.c: New file.
8534 * gdb.guile/scm-pretty-print.exp: New file.
8535 * gdb.guile/scm-pretty-print.scm: New file.
8536 * gdb.guile/scm-section-script.c: New file.
8537 * gdb.guile/scm-section-script.exp: New file.
8538 * gdb.guile/scm-section-script.scm: New file.
8539 * gdb.guile/scm-symbol.c: New file.
8540 * gdb.guile/scm-symbol.exp: New file.
8541 * gdb.guile/scm-symtab-2.c: New file.
8542 * gdb.guile/scm-symtab.c: New file.
8543 * gdb.guile/scm-symtab.exp: New file.
8544 * gdb.guile/scm-type.c: New file.
8545 * gdb.guile/scm-type.exp: New file.
8546 * gdb.guile/scm-value-cc.cc: New file.
8547 * gdb.guile/scm-value-cc.exp: New file.
8548 * gdb.guile/scm-value.c: New file.
8549 * gdb.guile/scm-value.exp: New file.
8550 * gdb.guile/source2.scm: New file.
8551 * gdb.guile/types-module.cc: New file.
8552 * gdb.guile/types-module.exp: New file.
8553
7026a7c1
YQ
85542014-02-10 Yao Qi <yao@codesourcery.com>
8555
8556 PR testsuite/16543
8557 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8558 * configure: Regenerated.
8559 * Makefile.in: New file.
8560
6c466447
AS
85612014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8562
8563 * gdb.python/py-framefilter.exp: Fix typo.
8564
6e854735
YQ
85652014-02-08 Yao Qi <yao@codesourcery.com>
8566
8567 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8568 that no =breakpoint-modified is emitted when breakpoints are
8569 modified through MI commands.
8570
d137e6dc
PA
85712014-02-07 Pedro Alves <pedro@codesourcery.com>
8572 Pedro Alves <palves@redhat.com>
8573
8574 * gdb.threads/step-after-sr-lock.c: New file.
8575 * gdb.threads/step-after-sr-lock.exp: New file.
8576
b5ee5a50
PA
85772014-02-07 Pedro Alves <palves@redhat.com>
8578
8579 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8580
3c77faf3
JK
85812014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8582
8583 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8584 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8585
6dddc817
DE
85862014-02-06 Doug Evans <xdje42@gmail.com>
8587
8588 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8589 output.
8590
8591 * gdb.gdb/python-interrupts.exp: New file.
8592
de7b2893
YQ
85932014-02-05 Yao Qi <yao@codesourcery.com>
8594
8595 * gdb.trace/report.exp (use_collected_data): Test the output
8596 of "info threads" and "info inferiors".
8597
66d032ac
YQ
85982014-02-05 Yao Qi <yao@codesourcery.com>
8599
8600 Revert this patch:
8601
8602 2013-05-24 Yao Qi <yao@codesourcery.com>
8603
8604 * gdb.trace/tfile.exp: Test inferior and thread.
8605
591a12a1
UW
86062014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8607
8608 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8609 on a function.
8610 * gdb.base/step-bt.c: Call hello via function pointer to make
8611 sure its first instruction is executed on powerpc64le-linux.
8612
0ff3e01f
UW
86132014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8614
8615 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8616
084ee545
UW
86172014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8618
8619 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8620 of the test patterns for use on little-endian systems.
8621
6ed14ff3
UW
86222014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8623
8624 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8625 (decimal_vector): Fix for little-endian.
8626
401e27fd
JM
86272014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8628
8629 * gdb.arch/sparc-sysstep.exp: New file.
8630 * gdb.arch/sparc-sysstep.c: Likewise.
8631
8632 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8633
8b924729
EBM
86342014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8635
8636 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8637
fb151210
JB
86382014-01-23 Tom Tromey <tromey@redhat.com>
8639
8640 * gdb.ada/array_char_idx: New testcase.
8641
0740f8d8
TT
86422014-01-23 Tom Tromey <tromey@redhat.com>
8643
8644 PR python/16487:
8645 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8646 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8647 classes.
8648
21909fa1
TT
86492014-01-23 Tom Tromey <tromey@redhat.com>
8650
8651 PR python/16491:
8652 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8653 string from an inferior frame.
8654 * gdb.python/py-framefilter-mi.exp: Update.
8655
87ce2a04
DE
86562014-01-22 Doug Evans <dje@google.com>
8657
8658 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8659
237b092b
AA
86602014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8661
8662 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8663
d674a709
AA
86642014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8665
8666 * gdb.trace/entry-values.exp: Remove excess space character from
8667 regex patterns. Handle s390 call instruction.
8668
20fa3390
AA
86692014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8670
8671 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8672 define "*_start" label. Make "name" static.
8673 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8674 ${name} by references to ${name}_start.
8675
78466714
AA
86762014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8677
8678 * gdb.base/info-macros.exp: Remove "debug" from the compile
8679 options.
8680
ec9f644a
IB
86812014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8682
8683 * gdb.dlang/demangle.exp: New file.
8684
94b1b47e
IB
86852014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8686
8687 * gdb.dlang/primitive-types.exp: New file.
8688
7f420862
IB
86892014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8690
8691 * configure.ac: Create gdb.dlang/Makefile.
8692 * configure: Regenerate.
8693 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8694 * gdb.dlang/Makefile.in: New file.
8695 * lib/d-support.exp: New file.
8696 * lib/gdb.exp (skip_d_tests): New proc.
8697
52834460
MM
86982014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8699
8700 * gdb.btrace/delta.exp: Check reverse stepi.
8701 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8702 * gdb.btrace/finish.exp: New.
8703 * gdb.btrace/next.exp: New.
8704 * gdb.btrace/nexti.exp: New.
8705 * gdb.btrace/record_goto.c: Add comments.
8706 * gdb.btrace/step.exp: New.
8707 * gdb.btrace/stepi.exp: New.
8708 * gdb.btrace/multi-thread-step.c: New.
8709 * gdb.btrace/multi-thread-step.exp: New.
8710 * gdb.btrace/rn-dl-bind.c: New.
8711 * gdb.btrace/rn-dl-bind.exp: New.
8712 * gdb.btrace/data.c: New.
8713 * gdb.btrace/data.exp: New.
8714 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8715
6e07b1d2
MM
87162014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8717
8718 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8719 * gdb.btrace/exception.exp: Update.
8720 * gdb.btrace/instruction_history.exp: Update.
8721 * gdb.btrace/record_goto.exp: Update.
8722 * gdb.btrace/tailcall.exp: Update.
8723 * gdb.btrace/unknown_functions.exp: Update.
8724 * gdb.btrace/delta.exp: New.
8725
0b722aec
MM
87262014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8727
8728 * gdb.btrace/record_goto.exp: Add backtrace test.
8729 * gdb.btrace/tailcall.exp: Add backtrace test.
8730
066ce621
MM
87312014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8732
8733 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8734 * gdb.btrace/record_goto.c: New.
8735 * gdb.btrace/record_goto.exp: New.
8736 * gdb.btrace/x86-record_goto.S: New.
8737
0688d04e
MM
87382014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8739
8740 * gdb.btrace/function_call_history.exp: Update tests.
8741 * gdb.btrace/instruction_history.exp: Update tests.
8742
8710b709
MM
87432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8744
8745 * gdb.btrace/function_call_history.exp: Fix expected field
8746 order for "record function-call-history".
8747 Add new tests for "record function-call-history /c".
8748 * gdb.btrace/exception.cc: New.
8749 * gdb.btrace/exception.exp: New.
8750 * gdb.btrace/tailcall.exp: New.
8751 * gdb.btrace/x86-tailcall.S: New.
8752 * gdb.btrace/x86-tailcall.c: New.
8753 * gdb.btrace/unknown_functions.c: New.
8754 * gdb.btrace/unknown_functions.exp: New.
8755 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8756
5de9129b
MM
87572014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8758
8759 * gdb.btrace/instruction_history.exp: Update.
8760 * gdb.btrace/function_call_history.exp: Update.
8761
23a7fe75
MM
87622014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8763
8764 * gdb.btrace/function_call_history.exp: Fix expected function
8765 trace.
8766 * gdb.btrace/instruction_history.exp: Initialize traced.
8767 Remove traced_functions.
8768
724c7dd8
MM
87692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8770
8771 * gdb.btrace/function_call_history.exp: Update
8772 * gdb.btrace/instruction_history.exp: Update.
8773
6d78d93b
MM
87742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8775
8776 * gdb.btrace/enable.exp: Update expected text.
8777
93a360cc
OJ
87782014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8779
8780 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8781 bytes.
8782
3772b53f
MR
87832014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8784
8785 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8786
596662fa
OJ
87872014-01-15 Omair Javaid <omair.javaid@linaro.org>
8788
8789 * lib/gdb.exp (supports_process_record): Return true for
8790 arm*-linux*. (supports_reverse): Likewise.
8791
b5b08fb4
SC
87922014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8793
8794 PR python/15464
8795 PR python/16113
8796 * gdb.python/py-type.c: Enhance test case.
8797 * gdb.python/py-value-cc.cc: Likewise
8798 * gdb.python/py-type.exp: Add new tests.
8799 * gdb.python/py-value-cc.exp: Likewise
8800
52d7fb13
AA
88012014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8802 Pedro Alves <palves@redhat.com>
8803
8804 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8805 Make "name" extern.
8806 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8807 references to ${name}_start by references to ${name}.
8808
a2cd8cfe
JB
88092014-01-10 Joel Brobecker <brobecker@adacore.com>
8810
8811 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8812
4e23fced
JB
88132014-01-10 Joel Brobecker <brobecker@adacore.com>
8814
8815 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8816
c6a9e42c
PA
88172014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8818 Pedro Alves <palves@redhat.com>
8819
8820 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 8821 mi_gdb_target_load.
c6a9e42c 8822
b7ea362b
PA
88232014-01-08 Pedro Alves <palves@redhat.com>
8824
8825 * gdb.threads/reconnect-signal.c: New file.
8826 * gdb.threads/reconnect-signal.exp: New file.
8827
5e3f4fab
EBM
88282014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8829
8830 * gdb.base/source-dir.exp: New file.
8831
79301218
JB
88322014-01-07 Joel Brobecker <brobecker@adacore.com>
8833
8834 * gdb.ada/mi_interface: New testcase.
8835
8e355c5d
JB
88362014-01-07 Joel Brobecker <brobecker@adacore.com>
8837
8838 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8839 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8840 gdb.ada/pp-rec-component/pck.ads: New files.
8841
c0d48811
JB
88422014-01-07 Joel Brobecker <brobecker@adacore.com>
8843
8844 * gdb.python/py-pp-integral.c: New file.
8845 * gdb.python/py-pp-integral.py: New file.
8846 * gdb.python/py-pp-integral.exp: New file.
8847
17b609c3 8848For older changes see ChangeLog-1993-2013.
c906108c 8849\f
8d8cb839
EZ
8850;; Local Variables:
8851;; mode: change-log
8852;; left-margin: 8
8853;; fill-column: 74
8854;; version-control: never
8855;; End:
902f2ccb 8856
618f726f 8857 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
8858 Copying and distribution of this file, with or without modification,
8859 are permitted provided the copyright notice and this notice are preserved.
This page took 3.686601 seconds and 4 git commands to generate.