]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Support -pie for arm*-eabi targets.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
e5ca03b4
PA
12016-08-09 Pedro Alves <palves@redhat.com>
2
3 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
4
282a0691
TT
52016-08-03 Tom Tromey <tom@tromey.com>
6
7 PR python/18565:
8 * gdb.python/py-frame-inline.exp: Add Frame.function test.
9
41bfcd63
YQ
102016-08-01 Yao Qi <yao.qi@linaro.org>
11
12 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
13 variable mode to "multi-process" if $multi_process is 1, otherwise
14 set it to "single-process".
15
e3465b24
YQ
162016-08-01 Yao Qi <yao.qi@linaro.org>
17
18 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
19 * gdb.cp/cpexprs.exp: Likewise.
20 * gdb.cp/m-static.exp: Likewise.
21
0b31a4bc
TT
222016-07-26 Tom Tromey <tom@tromey.com>
23
24 PR python/20190:
25 * gdb.threads/tls.exp (check_thread_local): Add python symbol
26 test.
27
e0461dbb
MM
282016-07-26 Markus Metzger <markus.t.metzger@intel.com>
29
30 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
31 selecting assembly source files.
32 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
33 assembly source files.
34 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
35 assembly source files.
36 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
37 selecting assembly source files.
38
8194e927
SM
392016-07-25 Simon Marchi <simon.marchi@ericsson.com>
40
41 * gdb.base/new-ui.exp (do_test_invalid_args): New
42 procedure.
43
c0272db5
TW
442016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
45
46 * gdb.btrace/reconnect.c: New file.
47 * gdb.btrace/reconnect.exp: New file.
48
e3487908
GKB
492016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
50
51 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
52 to test_catch_syscall_group.
53 (test_catch_syscall_group): New.
54
12df5c00
TT
552016-07-21 Tom Tromey <tom@tromey.com>
56
57 * gdb.rust/simple.rs (main): Use empty struct expression.
58 * gdb.rust/simple.exp: Add tests for empty struct expression.
59
bae62ee2
YQ
602016-07-21 Yao Qi <yao.qi@linaro.org>
61
62 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
63 if gdb_skip_xml_test is true on some targets.
64
b1b53fb3
YQ
652016-07-21 Yao Qi <yao.qi@linaro.org>
66
67 * gdb.server/solib-list.exp: Unset last_loaded_file.
68
027d97f8
JK
692016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
70
71 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
72 "step into captured_main (args)".
73
7674d381
JK
742016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
75
76 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
77
72b5d099
JK
782016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
79
80 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
81
1f960ced
PA
822016-07-19 Pedro Alves <palves@redhat.com>
83
84 * gdb.opt/inline-break.exp: Remove optimize=-O2.
85 * gdb.opt/inline-bt.exp: Likewise.
86 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
87 additional_flags=-Winline.
88 * gdb.opt/inline-locals.exp: Likewise.
89 * gdb.opt/inline-markers.c (ATTR): Define.
90 (inlined_fn): Use it.
91
f25827c1
YQ
922016-07-19 Yao Qi <yao.qi@linaro.org>
93
94 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
95 (test_with_self): Remove some code. Remove argument executable.
96 (top-level): Use do_self_tests.
97
37539ebe
DB
982016-07-15 Zachary Welch <zwelch@codesourcery.com>
99 Don Breazeal <donb@codesourcery.com>
100
101 * gdb.base/maint.exp: Escape paths used in regular expressions.
102 * gdb.stabs/weird.exp: Likewise.
103
dac790e1
TT
1042016-07-13 Tom Tromey <tom@tromey.com>
105
106 PR python/15620, PR python/18620:
107 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
108 (test_bkpt_events): New procs.
109
93daf339
TT
1102016-07-13 Tom Tromey <tom@tromey.com>
111
112 PR python/17698:
113 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
114 test.
115 (test_watchpoints): Likewise.
116 (test_bkpt_pending): New proc.
117
6571a381
TT
1182016-07-13 Tom Tromey <tom@tromey.com>
119
120 PR cli/18053:
121 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
122 completion test.
123
e8732474
JK
1242016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
125
126 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
127 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
128 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
129 f_label.
130 (g): Rename g_end_lbl to g_label.
131 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
132 low_pc and high_pc.
133 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
134
e0f3fd7c
TT
1352016-07-12 Tom Tromey <tom@tromey.com>
136
137 PR python/19293:
138 * gdb.python/py-unwind-maint.exp: Update tests.
139
3cfe46b6
YQ
1402016-07-12 Yao Qi <yao.qi@linaro.org>
141
142 * lib/selftest-support.exp (selftest_setup): Match the output
143 when captured_main is inlined.
144
4f19a0e6
WT
1452016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
146
147 * gdb.fortran/derived-types.exp (result_line, result_line_2):
148 New variables.
149 (print this%a, print this%b, print this): New tests.
150 * gdb.fortran/derived-types.f90 (this): New object and
151 initialization.
152
986cf455
SM
1532016-07-06 Simon Marchi <simon.marchi@ericsson.com>
154
155 * gdb.ada/arraydim.exp: Remove extra directory level in build
156 directory.
157
f0464b23
SM
1582016-07-06 Simon Marchi <simon.marchi@ericsson.com>
159
160 * lib/ada.exp: Remove extra directory level in build directory.
161 * gdb.ada/cond_lang.exp: Likewise.
162 * gdb.ada/exec_changed.exp: Likewise.
163 * gdb.ada/lang_switch.exp: Likewise.
164
42d94011
MG
1652016-07-06 Manish Goregaokar <manish@mozilla.com>
166
167 * simple.rs: Add test for raw pointer subscripting
168 * simple.exp: Add test expectations
169
647c264c
YQ
1702016-07-05 Yao Qi <yao.qi@linaro.org>
171
172 * gdb.mi/mi-reverse.exp: Match =record-started output.
173
20aa2c60
PA
1742016-07-01 Pedro Alves <palves@redhat.com>
175
176 * gdb.base/jit-reader.exp (info_registers_current_frame): New
177 procedure.
178 (jit_reader_test): Test the jit reader's unwinder.
179 * gdb.base/jithost.c (jit_function_00_code): New global.
180 (main): Use memcpy to fill in the mmapped code, instead of poking
181 bytes manually here.
182 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
183 value.
184 (read_debug_info): Save the function's range.
185 (read_sp): New function.
186 (unwind_frame): Use it. Also unwind RBP.
187 (get_frame_id): Use read_sp.
188 (gdb_init_reader): Use calloc instead of malloc.
189 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
190 parameter. Use gdb_test_multiple.
191
ced2dffb
PA
1922016-07-01 Pedro Alves <palves@redhat.com>
193 Antoine Tremblay <antoine.tremblay@ericsson.com>
194
195 * gdb.threads/process-dies-while-detaching.c: New file.
196 * gdb.threads/process-dies-while-detaching.exp: New file.
197
63000888
PA
1982016-07-01 Pedro Alves <palves@redhat.com>
199
200 * gdb.multi/watchpoint-multi-exit.c: New file.
201 * gdb.multi/watchpoint-multi-exit.exp: New file.
202
038d4868
PA
2032016-06-30 Pedro Alves <palves@redhat.com>
204
205 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
206 unset inferior_spawn_id.
207
994e9c83
PA
2082016-06-30 Pedro Alves <palves@redhat.com>
209
210 * lib/mi-support.exp (default_mi_gdb_start): Declare global
211 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
212
e5653468
YQ
2132016-06-29 Yao Qi <yao.qi@linaro.org>
214
215 * gdb.base/return.c: Add copyright header.
216
803b47e5
TT
2172016-06-29 Tom Tromey <tom@tromey.com>
218
219 PR python/20129:
220 * gdb.python/py-framefilter.exp: Add tests for setting priority
221 and disabling of non-existent frame filter.
222
28244707
YQ
2232016-06-29 Yao Qi <yao.qi@linaro.org>
224
225 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
226 0x0f07ff.
227
a31d2f06
YQ
2282016-06-28 Yao Qi <yao.qi@linaro.org>
229
230 * gdb.base/catch-syscall.exp: Remove check on isnative and target
231 triplets. Start gdb, execute catch syscall, and continue. Check
232 gdb's output to determine catch syscall is supported.
233
921d8f54
MG
2342016-06-27 Manish Goregaokar <manish@mozilla.com>
235
25d49b86
PA
236 * gdb.rust/simple.rs: Add test for returning unit in a function.
237 * gdb.rust/simple.exp: Add expectation for functions returning
238 unit.
921d8f54 239
f4952523
PMR
2402016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
241
242 * gdb.python/py-breakpoint-create-fail.c,
243 gdb.python/py-breakpoint-create-fail.exp,
244 gdb.python/py-breakpoint-create-fail.py: New testcase.
245
fccb08f8
MG
2462016-06-25 Manish Goregaokar <manish@mozilla.com>
247
248 PR gdb/20239
249 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
250 * gdb.rust/simple.exp: Add test expectations for new NonZero
251 tests.
fccb08f8 252
6b850546
DT
2532016-06-24 David Taylor <dtaylor@emc.com>
254
255 * gdb.base/offsets.exp: New file.
256 * gdb.base/offsets.c: New file.
257
17621150
TT
2582016-06-23 Tom Tromey <tom@tromey.com>
259
260 PR gdb/16483:
261 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
262 before any filters are loaded.
263
04d59df6
WT
2642016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
265
266 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
267 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
268 structs.
269 * gdb.fortran/derived-type-function.exp: New file.
270 * gdb.fortran/derived-type-function.f90: New file.
271
272
ac69f786
PA
2732016-06-21 Pedro Alves <palves@redhat.com>
274
275 * gdb.base/new-ui.exp: New file.
276 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
277 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
278 (with_spawn_id): New procedure.
279
49940788
PA
2802016-06-21 Pedro Alves <palves@redhat.com>
281
282 * gdb.mi/mi-exec-run.exp: New file.
283
ef274d26
PA
2842016-06-21 Pedro Alves <palves@redhat.com>
285
286 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
287 breakpoint command's output on the main UI.
288 (test_break): New procedure, factored out from calls in the top
289 level.
290 (top level): Use foreach_with_prefix to test MI as main UI and as
291 separate UI.
292
468afe6c
PA
2932016-06-21 Pedro Alves <palves@redhat.com>
294
295 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
296 (test_awatch_creation_and_listing)
297 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
298 Remove 'type' parameter.
299 (test_watchpoint_all): New parameter mi_mode. Remove
300 with_test_prefix.
301 (top level): Use foreach_with_prefix, and add main/separate UI MI
302 testing axis.
303
51f77c37
PA
3042016-06-21 Pedro Alves <palves@redhat.com>
305
306 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
307 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
308 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
309 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
310 (gdb_main_spawn_id, mi_spawn_id): Declare and
311 comment.
312 (mi_create_inferior_pty): New procedure,
313 factored out from default_mi_gdb_start.
314 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
315 procedures.
316 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
317 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
318 Use mi_create_inferior_pty.
319 (mi_gdb_start): Use eval to pass down args list.
320
8980e177
PA
3212016-06-21 Pedro Alves <palves@redhat.com>
322
323 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
324 * gdb.opt/inline-cmds.exp: Add MI tests.
325
f38d3ad1
PA
3262016-06-21 Pedro Alves <palves@redhat.com>
327
328 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
329
45db7c09
PA
3302016-06-21 Pedro Alves <palves@redhat.com>
331
332 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
333 (top level): Use it instead of mi_execute_to.
334
5a069ab3
PA
3352016-06-21 Pedro Alves <palves@redhat.com>
336
337 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
338 (cont_handler_str): New.
339 (signal_stop_handler): Set stop_handler_str instead of printing to
340 stdout.
341 (continue_handler): Set cont_handler_str instead of printing to
342 stdout.
343 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
344 mi_send_resuming_command. Print stop_handler_str and
345 cont_handler_str instead of expecting the python events print
346 directly.
347
2838cc1d
SD
3482016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
349
350 * gdb.base/jit-reader.exp: New file.
351 * gdb.base/jithost.c: New file.
352 * gdb.base/jithost.h: New file.
353 * gdb.base/jitreader.c : New file.
354 * gdb.base/jit-protocol.h: New file.
355
21a77091
YQ
3562016-06-17 Yao Qi <yao.qi@linaro.org>
357
358 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
359 parameters follow_fork and detach_on_fork. Set follow-fork-mode
360 and detach-on-fork. Adjust tests.
361 (top level): Invoke break_cond_on_syscall with combinations of
362 syscall, follow-fork-mode and detach-on-fork.
363
f50bf8e5
YQ
3642016-06-17 Yao Qi <yao.qi@linaro.org>
365
366 * gdb.base/step-over-exit.c: New.
367 * gdb.base/step-over-exit.exp: New.
368
a28d8e50
YTL
3692016-06-17 Yan-Ting Lin <currygt52@gmail.com>
370
371 * gdb.base/float.exp: Add target check for nds32*-*-*.
372 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
373
cad8e26d
AB
3742016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
375
376 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
377 for unsupported target features.
378 * gdb.base/call-rt-st.exp: Likewise.
379 * gdb.base/call-sc.exp: Likewise.
380 * gdb.base/call-signal-resume.exp: Likewise.
381 * gdb.base/call-strs.exp: Likewise.
382 * gdb.base/callexit.exp: Likewise.
383 * gdb.base/callfuncs.exp: Likewise.
384 * gdb.base/nodebug.exp: Likewise.
385 * gdb.base/printcmds.exp: Likewise.
386 * gdb.base/ptype.exp: Likewise.
387 * gdb.base/structs.exp: Likewise.
388 * gdb.base/unwindonsignal.exp: Likewise.
389 * gdb.cp/gdb2495.exp: Likewise.
390 * gdb.cp/templates.exp: Likewise.
391 * gdb.cp/virtfunc.exp: Likewise.
392 * gdb.threads/hand-call-in-threads.exp: Likewise.
393 * gdb.threads/interrupted-hand-call.exp: Likewise.
394 * gdb.threads/thread-unwindonsignal.exp: Likewise.
395
347dc102
TT
3962016-06-10 Tom Tromey <tom@tromey.com>
397
398 PR rust/20110:
399 * gdb.rust/expr.exp: Add test for integer constant larger than
400 i32.
401
5e13cf25
BH
4022016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
403
404 * gdb.fortran/nested-funcs.exp: New.
405 * gdb.fortran/nested-funcs.f90: New.
406
bb556f1f
TK
4072016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
408
409 * gdb.base/examine-backward.c: New file.
410 * gdb.base/examine-backward.exp: New file.
411
38b022b4
SM
4122016-06-06 Simon Marchi <simon.marchi@ericsson.com>
413
414 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
415 matching.
416
1b40ec05
TT
4172016-06-02 Tom Tromey <tom@tromey.com>
418
419 PR python/18984:
420 * gdb.python/py-shared.exp: Add solib_name test.
421
193bd378
SM
4222016-06-02 Simon Marchi <simon.marchi@ericsson.com>
423
424 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
425
3326303b
MG
4262016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
427
428 PR c++/19893
429 * gdb.dwarf2/implref.exp: Rename to...
430 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
431 * gdb.dwarf2/implref-array.c: New file.
432 * gdb.dwarf2/implref-array.exp: Likewise.
433 * gdb.dwarf2/implref-global.c: Likewise.
434 * gdb.dwarf2/implref-global.exp: Likewise.
435 * gdb.dwarf2/implref-struct.c: Likewise.
436 * gdb.dwarf2/implref-struct.exp: Likewise.
437
825c8ef2
AT
4382016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
439
440 * gdb.trace/trace-condition.exp: Add 64bit tests.
441
2320162a
AT
4422016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
443
444 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
445 bits types.
446 (main): Adapt to 8 to 64 bits types.
447 * gdb.trace/trace-condition.exp: Add new tests.
448
a7818233
AT
4492016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
450
451 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
452
0d336466
AT
4532016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
454
455 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
456 Move condition tests...
457 * gdb.trace/trace-condition.exp: Here.
458
7faeb45a
AT
4592016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
460
461 * gdb.trace/trace-condition.exp: Add counter-case tests.
462
e385593e
JK
4632016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
464
465 PR c++/15231
466 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
467 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
468
744608cc
PA
4692016-05-27 Pedro Alves <palves@redhat.com>
470
471 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
472 New procedure.
473 (top level): Call it, and bail out of DejaGnu is known to be bad.
474
ac775bf4
AB
4752016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
476
477 * gdb.base/whatis.c: Extend the test case.
478 * gdb.base/whatis.exp: Add additional tests.
479
2bbad2ea
BH
4802016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
481
482* gdb.fortran/type.f90: Add pointer variable.
483* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
484
8b70175d
BH
4852016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
486
487 * gdb.fortran/vla-type.exp: Fix testcase name.
488
86d8a848
BH
4892016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
490
491 * gdb.fortran/vla-type.exp: Access elements in nested structs.
492
e188eb36
BH
4932016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
494
495 * gdb.fortran/type.f90: Add nested structures.
496 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
497 * gdb.fortran/derived-type.exp: Adapt expected output.
498 * gdb.fortran/vla-type.exp: Adapt expected output.
499
9b2db1fd
BH
5002016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
501
502 * gdb.fortran/whatis_type.exp: Adapt expected output.
503
72b17055
BH
5042016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
505
506 * gdb.fortran/print_type.exp: Fix expected output.
507 * gdb.fortran/whatis_type.exp: Fix expected output.
508
3cd81d8d
BH
5092016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
510
511 * gdb.fortran/whatis_type.exp: Use multi_line.
512
ddae9462
TT
5132016-05-24 Tom Tromey <tom@tromey.com>
514
515 PR python/17386:
516 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
517 use value as an index.
518
1957f6b8
TT
5192016-05-23 Tom Tromey <tom@tromey.com>
520
521 PR python/17981:
522 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
523 no-breakpoint case.
524
026a9174
PA
5252016-05-24 Pedro Alves <palves@redhat.com>
526
527 PR gdb/19828
528 * gdb.threads/clone-attach-detach.c: New file.
529 * gdb.threads/clone-attach-detach.exp: New file.
530
e70a7231
FR
5312016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
532
533 * gdb.base/annota-input-while-running.exp: Fix syntax error.
534
0f6ed0e0
TT
5352016-05-23 Tom Tromey <tom@tromey.com>
536
537 PR python/19438, PR python/18393:
538 * gdb.python/py-progspace.exp: Add "dir" test.
539 * gdb.python/py-objfile.exp: Add "dir" test.
540
ffd19d61
YQ
5412016-05-23 Yao Qi <yao.qi@linaro.org>
542
543 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
544 * gdb.arch/thumb2-it.exp: Likewise.
545
9e8f9b05
SM
5462016-05-18 Simon Marchi <simon.marchi@ericsson.com>
547
548 * gdb.mi/mi-threads-interrupt.c: New file.
549 * gdb.mi/mi-threads-interrupt.exp: New file.
550
61c6156d
SM
5512016-05-17 Simon Marchi <simon.marchi@ericsson.com>
552
553 PR gdb/18077
554 * gdb.mi/mi-async-run.exp: New file.
555 * gdb.mi/mi-async-run.c: New file.
556
67218854
TT
5572016-05-17 Tom Tromey <tom@tromey.com>
558 Manish Goregaokar <manishsmail@gmail.com>
559
560 * lib/rust-support.exp: New file.
561 * lib/gdb.exp (skip_rust_tests): New proc.
562 (build_executable_from_specs): Handle rust.
563 * lib/future.exp (gdb_find_rustc): New proc.
564 (gdb_default_target_compile): Handle rust.
565 * gdb.rust/expr.exp: New file.
566 * gdb.rust/generics.exp: New file.
567 * gdb.rust/generics.rs: New file.
568 * gdb.rust/methods.exp: New file.
569 * gdb.rust/methods.rs: New file.
570 * gdb.rust/modules.exp: New file.
571 * gdb.rust/modules.rs: New file.
572 * gdb.rust/simple.exp: New file.
573 * gdb.rust/simple.rs: New file.
574
c44af4eb
TT
5752016-05-17 Tom Tromey <tom@tromey.com>
576
577 * gdb.base/default.exp (set language): Add rust.
578
dcd1f979
TT
5792016-05-17 Tom Tromey <tom@tromey.com>
580
581 * gdb.gdb/unittest.exp: New file.
582
155b7f57
YQ
5832016-05-16 Yao Qi <yao.qi@linaro.org>
584
585 * gdb.base/batch-preserve-term-settings.exp: Remove variable
586 shell_prompt. Update shell_prompt_re.
587
8ddd5a6c
DE
5882016-05-12 Doug Evans <dje@google.com>
589
590 PR symtab/19999
591 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
592 $options when building executable.
593 * gdb.dwarf2/fission-loclists-pie.S: New file.
594 * gdb.dwarf2/fission-loclists-pie.exp: New file.
595
02e370d9
SM
5962016-05-04 Simon Marchi <simon.marchi@ericsson.com>
597
598 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
599 of [is_remote target],
600
8929ad8b
SM
6012016-05-04 Simon Marchi <simon.marchi@ericsson.com>
602
603 * lib/gdb.exp (use_gdb_stub): New procedure.
604
6c447423
DE
6052016-05-03 Yunlian Jiang <yunlian@google.com>
606 Doug Evans <dje@google.com>
607
608 PR symtab/19914
609 * gdb.dwarf2/dwp-sepdebug.c: New file.
610 * gdb.dwarf2/dwp-sepdebug.exp: New file.
611
444e826c
SM
6122016-05-02 Simon Marchi <simon.marchi@ericsson.com>
613
614 * gdb.base/detach.exp: Remove is_remote check.
615
740feeaa
SM
6162016-05-02 Simon Marchi <simon.marchi@ericsson.com>
617
618 * gdb.base/annota-input-while-running.exp: Don't check for
619 [is_remote target]. Enable annotations after running to main.
620 Remove unused "set test..." line.
621
9080ac9d
SM
6222016-04-28 Simon Marchi <simon.marchi@ericsson.com>
623
624 * gdb.trace/trace-enable-disable.exp: New file.
625 * gdb.trace/trace-enable-disable.c: New file.
626
952ebca5
SM
6272016-04-28 Simon Marchi <simon.marchi@ericsson.com>
628
629 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
630 use it in info sharedlibrary test.
631 * gdb.trace/ftrace-lock.exp: Likewise.
632 * gdb.trace/ftrace.exp: Likewise.
633 * gdb.trace/range-stepping.exp: Likewise.
634 * gdb.trace/trace-break.exp: Likewise.
635 * gdb.trace/trace-condition.exp: Likewise.
636 * gdb.trace/trace-mt.exp: Likewise.
637
d9019901
SM
6382016-04-27 Simon Marchi <simon.marchi@ericsson.com>
639
640 * lib/gdb.exp (gdb_load_shlibs): Rename to...
641 (gdb_load_shlib): ... this.
642 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
643 gdb_load_shlib.
644 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
645 * gdb.base/ctxobj.exp: Likewise.
646 * gdb.base/dprintf-pending.exp: Likewise.
647 * gdb.base/dso2dso.exp: Likewise.
648 * gdb.base/fixsection.exp: Likewise.
649 * gdb.base/gcore-relro.exp: Likewise.
650 * gdb.base/gdb1555.exp: Likewise.
651 * gdb.base/global-var-nested-by-dso.exp: Likewise.
652 * gdb.base/gnu-ifunc.exp: Likewise.
653 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
654 * gdb.base/jit-so.exp (one_jit_test): Likewise.
655 * gdb.base/pending.exp: Likewise.
656 * gdb.base/print-file-var.exp: Likewise.
657 * gdb.base/print-symbol-loading.exp: Likewise.
658 * gdb.base/shlib-call.exp: Likewise.
659 * gdb.base/shreloc.exp: Likewise.
660 * gdb.base/so-impl-ld.exp: Likewise.
661 * gdb.base/solib-disc.exp: Likewise.
662 * gdb.base/solib-nodir.exp: Likewise.
663 * gdb.base/solib-overlap.exp: Likewise.
664 * gdb.base/solib-symbol.exp: Likewise.
665 * gdb.base/solib-weak.exp (do_test): Likewise.
666 * gdb.base/sym-file.exp: Likewise.
667 * gdb.base/symtab-search-order.exp: Likewise.
668 * gdb.base/type-opaque.exp: Likewise.
669 * gdb.base/unload.exp: Likewise.
670 * gdb.base/watchpoint-solib.exp: Likewise.
671 * gdb.compile/compile.exp: Likewise.
672 * gdb.cp/gdb2384.exp: Likewise.
673 * gdb.cp/infcall-dlopen.exp: Likewise.
674 * gdb.cp/re-set-overloaded.exp: Likewise.
675 * gdb.fortran/library-module.exp: Likewise.
676 * gdb.opt/solib-intra-step.exp: Likewise.
677 * gdb.python/py-finish-breakpoint.exp: Likewise.
678 * gdb.python/py-shared.exp: Likewise.
679 * gdb.reverse/solib-precsave.exp: Likewise.
680 * gdb.reverse/solib-reverse.exp: Likewise.
681 * gdb.server/solib-list.exp: Likewise.
682 * gdb.threads/dlopen-libpthread.exp: Likewise.
683 * gdb.threads/tls-shared.exp: Likewise.
684 * gdb.threads/tls-so_extern.exp: Likewise.
685 * gdb.trace/change-loc.exp: Likewise.
686 * gdb.trace/ftrace-lock.exp: Likewise.
687 * gdb.trace/ftrace.exp: Likewise.
688 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
689 * gdb.trace/pending.exp: Likewise.
690 * gdb.trace/range-stepping.exp: Likewise.
691 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
692 (strace_info_marker): Likewise.
693 (strace_probe_marker): Likewise.
694 (strace_trace_on_same_addr): Likewise.
695 (strace_trace_on_diff_addr): Likewise.
696 * gdb.trace/trace-break.exp: Likewise.
697 * gdb.trace/trace-condition.exp: Likewise.
698 * gdb.trace/trace-mt.exp: Likewise.
699
fca4cfd9
SM
7002016-04-27 Simon Marchi <simon.marchi@ericsson.com>
701
702 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
703 result of gdb_remote_download.
704 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
705 * gdb.base/dso2dso.exp: Likewise.
706 * gdb.base/global-var-nested-by-dso.exp: Likewise.
707 * gdb.base/print-file-var.exp: Likewise.
708 * gdb.base/shlib-call.exp: Likewise.
709 * gdb.base/shreloc.exp: Likewise.
710 * gdb.base/solib-overlap.exp: Likewise.
711 * gdb.base/solib-weak.exp (do_test): Likewise.
712 * gdb.base/unload.exp: Likewise.
713
11cf4ffb
YQ
7142016-04-27 Yao Qi <yao.qi@linaro.org>
715
716 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
717 exists.
718
3e2e34f8
KB
7192016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
720
721 * vla-type.exp: Print structure from toplevel.
722
8f07e298
BH
7232016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
724
725 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
726 of dynamic types.
727 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
728 of dynamic types.
729
9920b434
BH
7302016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
731
732 * gdb.fortran/vla-type.f90: New file.
733 * gdb.fortran/vla-type.exp: New file.
734
f3abeff5
YQ
7352016-04-25 Yao Qi <yao.qi@linaro.org>
736
737 * gdb.base/branch-to-self.c: New file.
738 * gdb.base/branch-to-self.exp: New file.
739
0a5d52f0
YQ
7402016-04-22 Yao Qi <yao.qi@linaro.org>
741
742 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
743 more after $hex.
744
495346f6
YQ
7452016-04-22 Yao Qi <yao.qi@linaro.org>
746
747 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
748 * gdb.base/annota3.exp: Likewise.
749
4a7e075c
YQ
7502016-04-22 Yao Qi <yao.qi@linaro.org>
751
752 * gdb.reverse/step-precsave.exp: Do one step and test program
753 stops in "callee" and do multiple steps until program goes out
754 of "callee".
755 * gdb.reverse/step-reverse.exp: Likewise.
756
5b061e98
YQ
7572016-04-22 Yao Qi <yao.qi@linaro.org>
758
759 * gdb.trace/signal.exp: Also pass if
760 $tracepoint_hits($i) > $iterations.
761
5c5dc57f
YQ
7622016-04-22 Yao Qi <yao.qi@linaro.org>
763
764 * gdb.trace/signal.c: New file.
765 * gdb.trace/signal.exp: New file.
766
a55411b9
DE
7672016-04-19 Doug Evans <xdje42@gmail.com>
768
769 * gdb.base/bad-file.exp: New file.
770
a22df60a
MG
7712016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
772
773 * gdb.dwarf2/implref.exp: New file.
774
0c13f7e5
BH
7752016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
776
777 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
778 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
779 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
780 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
781 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
782 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
783 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
784 * lib/fortran.exp (fortran_int4): New procedure.
785 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
786 (fortran_logical4): Likewise.
787
9b9b09e9
BH
7882016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
789
790 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
791
a14d1f4d
BH
7922016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
793
794 * lib/compiler.c: Add Intel specific preprocessor macros.
795 * lib/compiler.cc: Likewise.
25d49b86 796
7d49b1d0
LM
7972016-04-13 Luis Machado <lgustavo@codesourcery.com>
798
799 * gdb.server/connect-with-no-symbol-file.c: New file.
800 * gdb.server/connect-with-no-symbol-file.exp: New file.
801
8392fa22
SM
8022016-04-13 Simon Marchi <simon.marchi@ericsson.com>
803
804 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
805
8c4c4aeb
SM
8062016-04-13 Simon Marchi <simon.marchi@ericsson.com>
807
808 * boards/gdbserver-base.exp (${board}_download): Copy source file to
809 standard output directory.
810
45e3745e
AT
8112016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
812
813 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
814
e26b7e41
MM
8152016-04-13 Markus Metzger <markus.t.metzger@intel.com>
816
817 * gdb.btrace/instruction_history.c (loop): Add declaration.
818
8ce09462
AT
8192016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
820
821 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
822
2e88a1ea
SM
8232016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
824
825 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
826 parentheses to print.
827 (continue_handler): Likewise.
828
f48e22e3
SM
8292016-04-08 Simon Marchi <simon.marchi@ericsson.com>
830
831 * gdb.server/solib-list.exp: Remove is_remote check.
832 Pass shlib= to gdb_compile. Don't link shared library with
833 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
834 Run binary filename through "readlink -f" on the target.
835
096be756
PA
8362016-04-08 Pedro Alves <palves@redhat.com>
837
838 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
839 interpreter filename as argument to gdbserver_spawn.
840 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
841 Return empty if $last_loaded_file does not exist.
842
06500533
JK
8432016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
844
845 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
846 * gdb.base/jit-main.c: Use exit after usage.
847
2d35e871
JK
8482016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
849
850 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
851 GDBHISTSIZE prior to the tests.
852 * gdb.base/gdbinit-history.exp: Likewise.
853
8542016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
855
856 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
857 instead of build_executable. Use gdb_load_shlibs.
858
c8064e7e
YQ
8592016-04-07 Yao Qi <yao.qi@linaro.org>
860
861 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
862 Execute "si" command.
863
bde47561
YQ
8642016-04-07 Yao Qi <yao.qi@linaro.org>
865
866 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
867 number instead of the comments on some line.
868
b16f8a3b
DB
8692016-04-06 Don Breazeal <donb@codesourcery.com>
870
871 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
872 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
873
c2f901df
SM
8742016-04-06 Simon Marchi <simon.marchi@ericsson.com>
875
876 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
877 standard_output_file. Remove unused binfile variable.
878
ac17fda0
CU
8792016-04-05 Catalin Udma <catalin.udma@freescale.com>
880
881 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
882 * gdb.python/py-mi-objfile.exp: Match "list main" output
883 in console format.
884
03a8c4df
SM
8852016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
886
887 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
888 absolute.
889
6e774b13
SM
8902016-04-05 Simon Marchi <simon.marchi@ericsson.com>
891
892 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
893 absolute.
894 * gdb.trace/ftrace.exp: Likewise.
895 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
896 targets as well.
897 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
898 (gdb_load_shlibs): Copy libraries to test directory when testing
899 natively. Only set solib-search-path if testing remotely.
900 * lib/mi-support.exp (mi_load_shlibs): Likewise.
901
7817ea46
SM
9022016-04-05 Simon Marchi <simon.marchi@ericsson.com>
903
904 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
905 gdb_download. Use it even if the target is not remote.
906 * gdb.base/jit.exp (compile_jit_test): Likewise.
907 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
908 output directory if the destination board is local, otherwise use
909 the standard remote_download from DejaGnu.
910 (gdb_download): Remove.
911 (gdb_load_shlibs): Use gdb_remote_download instead of
912 gdb_download.
913 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
914 Use gdb_remote_download instead of gdb_download. Use it even if
915 the target is not remote.
916 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
917 instead of gdb_download.
918
7beb7f68
SM
9192016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
920
921 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
922 (test_insert_delete_modify): Call mi_load_shlibs before trying to
923 run.
924
cc63428a
AV
9252016-04-01 Artemiy Volkov <artemiyv@acm.org>
926
927 PR gdb/19820
928 * gdb.base/printcmds.exp: Add artificial arrays tests.
929
64cdf930
PA
9302016-03-31 Pedro Alves <palves@redhat.com>
931
932 PR gdb/19858
933 * gdb.base/jit-main.c: Include unistd.h.
934 (ATTACH): Define to 0 if not already defined.
935 (wait_for_gdb, mypid): New globals.
936 (WAIT_FOR_GDB): New macro.
937 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
938 some breakpoint locations.
939 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
940 New procedures.
941 (one_jit_test): Add REATTACH parameter, and handle it. Use
942 continue_to_test_location.
943 (top level): Test attach, and adjusts calls to one_jit_test.
944
40dea8cb
PA
9452016-03-31 Pedro Alves <palves@redhat.com>
946
947 PR gdb/19858
948 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
949 BINSUFFIX parameter, and handle it.
950 (top level): Adjust calls compile_jit_test.
951
e7ea3ec7
CU
9522016-03-31 Catalin Udma <catalin.udma@freescale.com>
953
954 PR python/19743
955 * gdb.python/py-mi-events-gdb.py: New file.
956 * gdb.python/py-mi-events.c: New file.
957 * gdb.python/py-mi-events.exp: New file.
958
e6359af3
YQ
9592016-03-30 Yao Qi <yao.qi@linaro.org>
960
961 * gdb.reverse/until-precsave.exp: Match function name only.
962 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
963 Move malloc to a condition block.
964 * gdb.reverse/until-reverse.exp: Match function name only.
965
a4105d04
MK
9662016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
967
968 * gdb.trace/ftrace.exp: Set arg0exp for s390.
969 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
970 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
971 variable for GPR 0 instead of assuming it is register 0.
972 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
973 * lib/trace-support.exp: Add s390 registers.
974
bfa6adb9
YQ
9752016-03-29 Yao Qi <yao.qi@linaro.org>
976
977 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
978
1e6697ea
YQ
9792016-03-24 Yao Qi <yao.qi@linaro.org>
980
981 * gdb.reverse/break-reverse.exp: Add quotation mark in the
982 test message.
983
64bcd522
AA
9842016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
985
986 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
987 maintaining separate logic for constructing the output path.
988
7868401b
DB
9892016-03-16 Don Breazeal <donb@codesourcery.com>
990
991 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
992 Retry fork and waitpid on interrupted system call errors.
993 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
994 Use with_timeout_factor to increase timeout by factor of 10.
995
1cafadb4
DB
9962016-03-15 Don Breazeal <donb@codesourcery.com>
997
998 * gdb.cp/scope-err.cc: New test program.
999 * gdb.cp/scope-err.exp: New test script.
1000 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1001 lines and "set breakpoint here" comment.
1002 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1003 Fixed some whitespace and format issues.
1004 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1005 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1006
81516450
DE
10072016-03-15 Doug Evans <dje@google.com>
1008
1009 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1010 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1011 All callers updated. Add tests for enums, mixed flags register.
1012
aa52b601
DE
10132016-03-15 Doug Evans <dje@google.com>
1014
1015 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1016 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1017
fa4ff313
SM
10182016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1019
1020 * gdb.base/default.exp: Add $_as_string to the list of expected
1021 convenience functions.
1022
f2403c39
AB
10232016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1024
1025 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1026
f2f3ccb9
SM
10272016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1028
1029 * gdb.python/py-as-string.exp: New file.
1030 * gdb.python/py-as-string.c: New file.
1031
00dbd492
PA
10322016-03-09 Pedro Alves <palves@redhat.com>
1033
1034 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1035 signal" -> "Thread NN received signal" output change.
1036 * gdb.threads/ia64-sigill.exp: Likewise.
1037 * gdb.threads/linux-dp.exp: Likewise.
1038 * gdb.threads/manythreads.exp: Likewise.
1039 * gdb.threads/pending-step.exp: Likewise.
1040 * gdb.threads/print-threads.exp: Likewise.
1041 * gdb.threads/sigstep-threads.exp: Likewise.
1042 * gdb.threads/staticthreads.exp: Likewise.
1043 * gdb.threads/tls.exp: Likewise.
1044
1e6697ea
YQ
10452016-03-09 Pedro Alves <palves@redhat.com>
1046
1047 * gdb.base/command-line-input.exp: New file.
1048
b04fd3be
MK
10492016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1050
1051 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1052 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1053 * gdb.trace/pending.exp: Accept leading dot before function name.
1054 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1055 * lib/trace-support.exp: Set registers for ppc.
1056
98fa59e9
MK
10572016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1058
1059 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1060 use it for disassembly; accept .main in addition to main in backtrace.
1061
f77198c8
MK
10622016-03-09 Wei-cheng Wang <cole945@gmail.com>
1063 Marcin Kościelnicki <koriakin@0x04.net>
1064
1065 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1066 (gdb_recursion_test_ptr): New global variable.
1067 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1068 gdb_recursion_test.
1069 (gdb_c_test): Ditto.
1070
ba84e0da
MK
10712016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1072
1073 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1074 ordering.
1075
4366d36e
MK
10762016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1077
1078 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1079 (bar): Add bar_start_lbl label.
1080 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1081 of foo/bar for emitting DWARF and tracing.
1082
5eb264df
SDJ
10832016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1084
1085 * analyze-racy-logs.py: Set executable bit.
1086
fb6a751f
SDJ
10872016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1088
1089 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1090 (CHECK_TARGET_TMP): Likewise.
1091 (check-single-racy): New rule.
1092 (check-parallel-racy): Likewise.
1093 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1094 (do-check-parallel-racy): New rule.
1095 (check-racy/%.exp): Likewise.
1096 * README (Racy testcases): New section.
1097 * analyze-racy-logs.py: New file.
1098
bdf7e230
DE
10992016-03-03 Doug Evans <dje@google.com>
1100
1101 * gdb.base/skip.exp: Use with_test_prefix.
1102
4719d415
YQ
11032016-03-03 Yao Qi <yao.qi@linaro.org>
1104
1105 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1106 Invoke step_over_syscall "clone" and break_cond_on_syscall
1107 "clone".
1108 * gdb.base/step-over-clone.c: New file.
1109
ea507862
YQ
11102016-03-03 Yao Qi <yao.qi@linaro.org>
1111
1112 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1113 code format.
1114
8fc8cbda
YQ
11152016-03-03 Yao Qi <yao.qi@linaro.org>
1116
1117 * gdb.base/disp-step-fork.c: Rename to ...
1118 * gdb.base/step-over-fork.c: ... it. New file.
1119 * gdb.base/disp-step-vfork.c: Rename to ...
1120 * gdb.base/step-over-vfork.c: ... it. New file.
1121 * gdb.base/disp-step-syscall.exp: Rename to ...
1122 * gdb.base/step-over-syscall.exp: ... it. New file.
1123 (disp_step_cross_syscall): Rename to ...
1124 (step_over_syscall): ... it.
1125
92fa70b0
YQ
11262016-03-03 Yao Qi <yao.qi@linaro.org>
1127
1128 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1129 If target supports condition evaluation on target, invoke
1130 break_cond_on_syscall for fork and vfork.
1131
e197ad3c
YQ
11322016-03-03 Yao Qi <yao.qi@linaro.org>
1133
1134 * gdb.base/disp-step-syscall.exp: Don't invoke
1135 support_displaced_stepping.
1136 (disp_step_cross_syscall): Test with displaced stepping off and
1137 on if supported.
1138
0b47da9f
YQ
11392016-03-03 Yao Qi <yao.qi@linaro.org>
1140
1141 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1142 proc.
1143 (setup): New proc.
1144 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1145 and setup.
1146
065ab6dc
BH
11472016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1148
1149 * gdb.fortran/vla-history.exp: Remove breakpoint.
1150
07e448ad 11512016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1152
25d49b86
PA
1153 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1154 exceeds timeout.
07e448ad 1155
9ac2d526 11562016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1157
25d49b86
PA
1158 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1159 breakpoint.
9ac2d526 1160
17807369
BH
11612016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1162
1163 * gdb.mi/vla.f90: Nullify pointer after declaration.
1164
86e501af
PA
11652016-03-01 Pedro Alves <palves@redhat.com>
1166
1167 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1168
1e903e32
PA
11692016-03-01 Pedro Alves <palves@redhat.com>
1170
1171 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1172 before anything else.
1173 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1174 _GNU_SOURCE here.
1175 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1176 before anything else.
1177 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1178
6ccb54e2
PA
11792016-03-01 Pedro Alves <palves@redhat.com>
1180
1181 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1182
30ca9da1
YQ
11832016-03-01 Yao Qi <yao.qi@linaro.org>
1184
1185 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1186 prepare_for_testing.
1187
dc856b38
YQ
11882016-03-01 Yao Qi <yao.qi@linaro.org>
1189
1190 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1191
4a932159
AA
11922016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1193
1194 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1195 manually constructing the output path.
1196
f2489477
AA
11972016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1198
1199 * gdb.arch/s390-stackless.S: New.
1200 * gdb.arch/s390-stackless.exp: New.
1201
38899f16
IB
12022016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1203
1204 * gdb.dlang/circular.c: New file.
1205 * gdb.dlang/circular.exp: New file.
1206
9fde51ed
YQ
12072016-02-26 Yao Qi <yao.qi@linaro.org>
1208
1209 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1210 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1211 (testcases): Update.
1212
ce90fefe
YQ
12132016-02-26 Yao Qi <yao.qi@linaro.org>
1214
1215 * gdb.reverse/aarch64.c: Rename to ...
1216 * gdb.reverse/insn-reverse.c: ... it.
1217 * gdb.reverse/aarch64.exp: Rename to ...
1218 * gdb.reverse/insn-reverse.exp: ... it.
1219
3263bceb
YQ
12202016-02-26 Yao Qi <yao.qi@linaro.org>
1221
1222 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1223 (testcase_ftype): New.
1224 (testcases): New array.
1225 (n_testcases): New.
1226 (main): Call each element in testcases.
1227 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1228 (read_testcase): New.
1229 Do the tests in a loop.
1230
6cb59ff1
YQ
12312016-02-25 Yao Qi <yao.qi@linaro.org>
1232
1233 * gdb.base/branches.c: Remove.
1234
ae91f625
MK
12352016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1236
1237 PR gdb/13808
1238 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1239
678b48b7
MK
12402016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1241
1242 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1243
7337a6f2
MK
12442016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1245
1246 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1247 change x86_64 call_insn to 'callq'.
1248
861ca91f
AT
12492016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1250
1251 * gdb.trace/tfile-avx.c: Move to...
1252 * gdb.trace/tracefile-pseudo-reg.c: Here.
1253 * gdb.trace/tfile-avx.exp: Move to...
1254 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1255
bf74e428
GB
12562016-02-24 Gary Benson <gbenson@redhat.com>
1257
1258 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1259 message on attach.
1260
cce0e923
DE
12612016-02-23 Doug Evans <dje@google.com>
1262
1263 * gdb.base/skip.c (test_skip): New function.
1264 (end_test_skip_file_and_function): New function.
1265 (test_skip_file_and_function): New function.
1266 * gdb.base/skip1.c (test_skip): New function.
1267 (skip1_test_skip_file_and_function): New function.
1268 * gdb.base/skip.exp: Add tests for new skip options.
1269 * gdb.base/skip-solib.exp: Update expected output.
1270 * gdb.perf/skip-command.cc: New file.
1271 * gdb.perf/skip-command.exp: New file.
1272 * gdb.perf/skip-command.py: New file.
1273
4000e47e
MK
12742016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1275
1276 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1277 info registers pattern.
1278
24f75ead
IB
12792016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1280
1281 * lib/future.exp: Add D support.
1282 (gdb_find_gdc): New proc.
1283 (gdb_default_target_compile): Add D support.
1284
fbb7bcbe
WW
12852016-02-18 Wei-cheng Wang <cole945@gmail.com>
1286
1287 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1288 user+system time.
1289 (trace_speed_test): Determine the iteration count for a time
1290 between 15..30 seconds.
1291
012b3a21
WT
12922016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1293
1294 * gdb.arch/i386-mpx-sigsegv.c: New file.
1295 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1296 * gdb.arch/i386-mpx-simple_segv.c: New file.
1297 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1298
2d5189bd
YQ
12992016-02-18 Yao Qi <yao.qi@linaro.org>
1300
1301 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1302 Don't call setup_kfail.
1303
40fb20d0
YQ
13042016-02-18 Yao Qi <yao.qi@linaro.org>
1305
1306 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1307 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1308
21b1f8d2
DE
13092016-02-16 Doug Evans <dje@google.com>
1310
1311 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1312 * gdb.base/skip1.c: Ditto.
1313 * gdb.base/skip.exp: Whitespace cleanup.
1314
4041ed77
DB
13152016-02-16 Don Breazeal <donb@codesourcery.com>
1316
1317 PR remote/19496
1318 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1319 Remove kfail for PR remote/19496.
1320
c4ef31bf
SM
13212016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1322
1323 * lib/gdb.exp (standard_temp_file): Return a path specific to
1324 the runtest invocation.
1325
266b65b3
SM
13262016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1327
1328 * gdb.trace/save-trace.exp: Change relative path to be in the
1329 standard output directory.
1330
a7a0a6a9
JK
13312016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1332
1333 * gdb.arch/i386-prologue.c: Add missing prototypes.
1334
c99dbb42
JK
13352016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1336
1337 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1338 * gdb.arch/i386-prologue.exp: Likewise.
1339 * gdb.arch/i386-size.exp: Likewise.
1340
aa480355
SM
13412016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1342
1343 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1344 define object file path.
1345 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1346 file path.
1347 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1348 standard_output_file to define binfile.
1349
ba881f50
JK
13502016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1351
1352 Fix compatibility with recent gfortran-5.3.1.
1353 * gdb.fortran/vla-history.exp (print vla1 allocated)
1354 (print vla2 allocated, print $2, print $3): Remove
1355 (print $4): Rename to ...
1356 (print $2): ... here.
1357 (print $9): Rename to ...
1358 (print $5): ... here.
1359 (print $10): Rename to ...
1360 (print $6): ... here.
1361 * gdb.fortran/vla.f90: Add pvla initialization.
1362
e9fb005c
JK
13632016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1364
1365 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1366 New test.
1367 * gdb.fortran/vla-value-sub.exp: Likewise.
1368
e44e00ff
MK
13692016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1370
1371 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1372
97e94151
SM
13732016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1374
1375 * i386-biarch-core.exp: Define corefile using
1376 standard_output_file.
1377
01113bc1
YQ
13782016-02-12 Yao Qi <yao.qi@linaro.org>
1379
1380 * gdb.arch/arm-single-step-kernel-helper.c: New.
1381 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1382
33b4777c
MM
13832016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1384
1385 * gdb.btrace/tailcall-only.exp: New.
1386 * gdb.btrace/tailcall-only.c: New.
1387 * gdb.btrace/x86_64-tailcall-only.S: New.
1388 * gdb.btrace/i686-tailcall-only.S: New.
1389
acc23c11
PA
13902016-02-11 Pedro Alves <palves@redhat.com>
1391
1392 * README (Parallel testing): Add missing double quotes.
1393
e352bf0a
PA
13942016-02-11 Pedro Alves <palves@redhat.com>
1395
1396 * README (Parallel testing): New section.
1397 (GDB_PARALLEL): Rewrite.
1398 (FORCE_PARALLEL): Document.
1399
9f5fed78
MK
14002016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1401
1402 * gdb.trace/tfile-avx.c: New test.
1403 * gdb.trace/tfile-avx.exp: New test.
1404
9ef9e6a6
KS
14052016-02-09 Keith Seitz <keiths@redhat.com>
1406
1407 PR breakpoints/19546
1408 * gdb.base/infcall-exec.c: New file.
1409 * gdb.base/infcall-exec2.c: New file.
1410 * gdb.base/infcall-exec.exp: New file.
1411
a96e36da
KS
14122016-02-09 Keith Seitz <keiths@redhat.com>
1413
1414 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1415 (toplevel): Call test_bkpt_address.
1416
9f61929f
KS
14172016-02-09 Keith Seitz <keiths@redhat.com>
1418
1419 PR python/19506
1420 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1421 (toplevel): Call test_bkpt_address.
1422
1e94266c
SM
14232016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1424
1425 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1426 to AC_OUTPUT.
1427 * configure: Regenerate.
1428
2a7f3dff
PA
14292016-02-09 Pedro Alves <palves@redhat.com>
1430
1431 PR breakpoints/19548
1432 * gdb.base/execl-update-breakpoints.c (some_function): New
1433 function.
1434 (main): Call it.
1435 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1436 Tighten expected GDB output.
1437
2151ccc5
SM
14382016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1439
1440 * Makefile.in (ALL_SUBDIRS): Remove.
1441 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1442 (distclean maintainer-clean realclean): Likewise.
1443 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1444 * configure: Regenerate.
1445 * gdb.ada/Makefile.in: Delete.
1446 * gdb.arch/Makefile.in: Likewise.
1447 * gdb.asm/Makefile.in: Likewise.
1448 * gdb.base/Makefile.in: Likewise.
1449 * gdb.btrace/Makefile.in: Likewise.
1450 * gdb.cell/Makefile.in: Likewise.
1451 * gdb.compile/Makefile.in: Likewise.
1452 * gdb.cp/Makefile.in: Likewise.
1453 * gdb.disasm/Makefile.in: Likewise.
1454 * gdb.dlang/Makefile.in: Likewise.
1455 * gdb.dwarf2/Makefile.in: Likewise.
1456 * gdb.fortran/Makefile.in: Likewise.
1457 * gdb.gdb/Makefile.in: Likewise.
1458 * gdb.go/Makefile.in: Likewise.
1459 * gdb.guile/Makefile.in: Likewise.
1460 * gdb.java/Makefile.in: Likewise.
1461 * gdb.linespec/Makefile.in: Likewise.
1462 * gdb.mi/Makefile.in: Likewise.
1463 * gdb.modula2/Makefile.in: Likewise.
1464 * gdb.multi/Makefile.in: Likewise.
1465 * gdb.objc/Makefile.in: Likewise.
1466 * gdb.opencl/Makefile.in: Likewise.
1467 * gdb.opt/Makefile.in: Likewise.
1468 * gdb.pascal/Makefile.in: Likewise.
1469 * gdb.perf/Makefile.in: Likewise.
1470 * gdb.python/Makefile.in: Likewise.
1471 * gdb.reverse/Makefile.in: Likewise.
1472 * gdb.server/Makefile.in: Likewise.
1473 * gdb.stabs/Makefile.in: Likewise.
1474 * gdb.threads/Makefile.in: Likewise.
1475 * gdb.trace/Makefile.in: Likewise.
1476 * gdb.xml/Makefile.in: Likewise.
1477 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1478 GDB_PARALLEL.
1479 (standard_output_file): Remove check for GDB_PARALLEL, always
1480 return path in outputs/$subdir/$testname.
1481
437277d4
SM
14822016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1483
1484 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1485 (site.exp): Assign abs_srcdir to tcl's srcdir.
1486
31d913c7
YQ
14872016-02-04 Yao Qi <yao.qi@linaro.org>
1488
1489 * gdb.base/foll-exec-mode.c: Include limits.h.
1490 (main): Add parameters argc and argv. Get directory from
1491 argv[0].
1492 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1493 compilation.
1494 * gdb.base/foll-exec.c: Include limits.h.
1495 (main): Add parameters argc and argv.
1496 Get directory from argv[0].
1497 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1498 Adjust tests on the number of lines as source code changed.
1499 * gdb.base/foll-vfork-exit.c: Include limits.h.
1500 (main): Add one line of statement before vfork.
1501 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1502 (main): Add parameters argc and argv. Get directory from
1503 argv[0].
1504 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1505 (setup_gdb): Set tbreak to skip some source lines.
1506 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1507 (main): Add parameters argc and argv. Get directory from
1508 argv[0].
1509 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1510 compilation.
1511 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1512 (main): Add parameters argc and argv. Get directory from
1513 argv[0].
1514 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1515 compilation.
1516
9482b9fb
DE
15172016-02-01 Doug Evans <dje@google.com>
1518
1519 * gdb.base/skip.exp: Clean up multiple references to same test name.
1520
6b2e4f10
PA
15212016-02-01 Pedro Alves <palves@redhat.com>
1522
ccb6afd6 1523 PR remote/19496
6b2e4f10
PA
1524 * gdb.threads/forking-threads-plus-breakpoint.exp
1525 (displaced_stepping_supported): New global.
1526 (probe_displaced_stepping_support): New procedure.
1527 (do_test): Add 'displaced' parameter, and use it.
1528 (top level): Check for displaced stepping support. Add displaced
1529 stepping on/off testing axis.
1530
37a8db1a
AB
15312016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1532
1533 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1534 pointer. Don't perform further tests on the unassociated pointer
1535 if the first test fails.
1536
5fdf6324
AB
15372016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1538
1539 * gdb.base/max-value-size.c: New file.
1540 * gdb.base/max-value-size.exp: New file.
1541 * gdb.base/huge.exp: Disable max-value-size for this test.
1542
935c6144
IB
15432016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1544
1545 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1546
7fe8399d
YQ
15472016-01-28 Yao Qi <yao.qi@linaro.org>
1548
1549 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1550
a2077e25
PA
15512016-01-25 Pedro Alves <palves@redhat.com>
1552
1553 PR threads/19461
1554 * gdb.base/fork-running-state.c: New file.
1555 * gdb.base/fork-running-state.exp: New file.
1556
1d2736d4
PA
15572016-01-25 Pedro Alves <palves@redhat.com>
1558
1559 PR gdb/19494
1560 * gdb.base/catch-fork-kill.c: New file.
1561 * gdb.base/catch-fork-kill.exp: New file.
1562
f1da4b11
PA
15632016-01-25 Pedro Alves <palves@redhat.com>
1564
1565 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1566 Delete, moved to lib/gdb.exp.
1567 * gdb.threads/forking-threads-plus-breakpoint.exp
1568 (foreach_with_prefix): Likewise.
1569 * gdb.threads/process-dies-while-handling-bp.exp
1570 (foreach_with_prefix): Likewise.
1571 * lib/gdb.exp (foreach_with_prefix): New procedure.
1572
45f38546
MK
15732016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1574
1575 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1576 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1577
dc29a1ce
MK
15782016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1579
1580 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1581 endian targets.
1582
092127d7
JK
15832016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1584 Pedro Alves <palves@redhat.com>
1585
1586 Fix testsuite compatibility with Guile.
1587 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1588 number.
1589
31d765d3
JK
15902016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1591
1592 Fix testsuite compatibility with Guile.
1593 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1594 (thread 1): New test for backtrace through signal handler.
1595
1ac78c04
YQ
15962016-01-22 Yao Qi <yao.qi@linaro.org>
1597
1598 PR testsuite/19491
1599 * gdb.base/multi-forks.c: Include
1600 ../lib/unbuffer_output.c
1601 (main): Call gdb_unbuffer_output.
1602
4f5946a8
DE
16032016-01-21 Doug Evans <dje@google.com>
1604
1605 * lib/ada.exp (gdb_compile_ada): Fix typo.
1606
305e13e6
JB
16072016-01-21 Joel Brobecker <brobecker@adacore.com>
1608
1609 * gdb.base/break-fun-addr.exp: New file.
1610 * gdb.base/break-fun-addr1.c: New file.
1611 * gdb.base/break-fun-addr2.c: New file.
1612
5f5dfff6
SM
16132016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1614
1615 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1616 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1617 enum flag values.
1618
fd356fa2
AA
16192016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1620
1621 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1622 when GDB can not set the vector return value. Add more comments
1623 for clarification.
1624
9df22175
AT
16252016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1626
1627 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1628 command.
1629
41d1845e
SM
16302016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1631
1632 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1633
01ac6840
SM
16342016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1635
1636 * Makefile.in (check-single): Pass --status to runtest.
1637 (check/%.exp): Likewise.
1638
16392016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1640
1641 * Makefile.in (check-parallel): Propagate return code from make
1642 do-check-parallel.
1643
bd0a71fa
MK
16442016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1645
1646 * gdb.trace/ftrace.exp: Fix expected message on continue.
1647 * gdb.trace/pending.exp: Fix expected message on continue.
1648 * gdb.trace/trace-break.exp: Fix expected message on continue.
1649
8bcbad33
SM
16502016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1651
1652 * lib/gdb.exp (gdb_test): Remove unused global references.
1653
f303dbd6
PA
16542016-01-18 Pedro Alves <palves@redhat.com>
1655
1656 * gdb.base/async-shell.exp: Adjust expected output.
1657 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1658 * gdb.base/siginfo-thread.exp: Adjust expected output.
1659 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1660 * gdb.java/jnpe.exp: Adjust expected output.
1661 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1662 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1663 * gdb.threads/leader-exit.exp: Adjust expected output.
1664 * gdb.threads/manythreads.exp: Adjust expected output.
1665 * gdb.threads/pthreads.exp: Adjust expected output.
1666 * gdb.threads/schedlock.exp: Adjust expected output.
1667 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1668 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1669 expected output.
1670 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1671 output.
1672 * gdb.threads/sigthread.exp: Adjust expected output.
1673 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1674
b2789696
YQ
16752016-01-18 Yao Qi <yao.qi@linaro.org>
1676
1677 * gdb.guile/scm-section-script.c: Replace @progbits with
1678 %progbits.
1679 * gdb.python/py-section-script.c: Likewise.
1680
71ef29a8
PA
16812016-01-15 Pedro Alves <palves@redhat.com>
1682
1683 * gdb.multi/tids.exp: Test star wildcard ranges.
1684
3f5b7598
PA
16852016-01-15 Pedro Alves <palves@redhat.com>
1686
1687 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1688 command from "thread apply" invocation.
1689 (thr_apply_info_thr_invalid): Default the expected output to the
1690 input tid list.
1691 (top level): Add tests that use convenience variables. Add tests
1692 for "thread apply" with a valid TID list, but missing the command.
1693
663f6d42
PA
16942016-01-13 Pedro Alves <palves@redhat.com>
1695
1696 * gdb.base/default.exp: Expect $_gthread as well.
1697 * gdb.multi/tids.exp: Test $_gthread.
1698 * gdb.threads/thread-specific.exp: Test $_gthread.
1699
c84f6bbf
PA
17002016-01-13 Pedro Alves <palves@redhat.com>
1701
1702 * gdb.multi/tids.exp: Test "info threads -gid".
1703
22a02324
PA
17042016-01-13 Pedro Alves <palves@redhat.com>
1705
1706 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1707 Breakpoint.thread.
1708 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1709
5d5658a1
PA
17102016-01-07 Pedro Alves <palves@redhat.com>
1711
1712 * gdb.base/break.exp: Adjust to output changes.
1713 * gdb.base/hbreak2.exp: Likewise.
1714 * gdb.base/sepdebug.exp: Likewise.
1715 * gdb.base/watch_thread_num.exp: Likewise.
1716 * gdb.linespec/keywords.exp: Likewise.
1717 * gdb.multi/info-threads.exp: Likewise.
1718 * gdb.threads/thread-find.exp: Likewise.
1719 * gdb.multi/tids.c: New file.
1720 * gdb.multi/tids.exp: New file.
1721
84654457
PA
17222016-01-13 Pedro Alves <palves@redhat.com>
1723
1724 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1725
e3940304
PA
17262016-01-13 Pedro Alves <palves@redhat.com>
1727
1728 * gdb.base/default.exp: Expect $_inferior as well.
1729 * gdb.multi/base.exp: Test $_inferior.
1730
a911d87a
PA
17312016-01-13 Pedro Alves <palves@redhat.com>
1732
1733 PR breakpoints/19388
1734 * gdb.base/catch-signal-siginfo-cond.c: New file.
1735 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1736
82075af2
JS
17372016-01-12 Josh Stone <jistone@redhat.com>
1738 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1739
1740 * gdb.base/catch-syscall.c (do_execve): New variable.
1741 (main): Conditionally trigger an execve.
1742 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1743 (test_catch_syscall_execve): New, check entry/return across execve.
1744 (do_syscall_tests): Call test_catch_syscall_execve.
1745
e46eeedd
PA
17462016-01-12 Pedro Alves <palves@redhat.com>
1747
1748 * gdb.base/random-signal.exp (do_test): New procedure, with body
1749 of testcase moved in.
1750
01d8c27e
JK
17512016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1752 Pedro Alves <palves@redhat.com>
1753
1754 * gdb.base/funcargs.exp (finish from indirectly called function):
1755 Reintroduce the case for 'First'.
1756
9a706302
JK
17572016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1758 Pedro Alves <palves@redhat.com>
1759
1760 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1761 (tcatch_vfork_then_child_follow_exec)
1762 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1763 identification.
1764
c0ecb95f
JK
17652016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1766
1767 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1768 and repeats to unlimited.
1769 * gdb.python/py-value.exp: Likewise.
1770 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1771 and repeats to unlimited.
1772
6cfc1fcb
JK
17732016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1774
1775 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1776 and reordering the functions.
1777 * gdb.multi/hangout.c: Likewise.
1778 * gdb.multi/hello.c: Likewise.
1779
582a1b00
SM
17802016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1781
1782 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1783 absolute.
1784 (SingleStatisticTestResult.report): Use dict.keys instead of
1785 dict.iterkeys.
1786
79bc59cb
PA
17872016-01-06 Pedro Alves <palves@redhat.com>
1788
1789 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1790
43368e1d
MM
17912016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1792
1793 * gdb.btrace/dlopen.exp: New.
1794 * gdb.btrace/dlopen.c: New.
1795 * gdb.btrace/dlopen-dso.c: New.
1796
79fad5b8
SL
17972015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1798
1799 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1800 PATTERN argument is optional.
1801
ab8314b3
JB
18022015-12-24 Joel Brobecker <brobecker@adacore.com>
1803
1804 * lib/ada.exp (target_compile_ada_from_dir): New function.
1805 (gdb_compile_ada): Reimplement avoiding the use of project files.
1806 * gdb.ada/gnat_ada.gpr: Delete.
1807 * gdb.ada/cond_lang.exp: Adjust test to make path before
1808 filename optional.
1809 * gdb.ada/small_reg_param.exp: Likewise.
1810
fe33faff
SM
18112015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1812
1813 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1814
6d265cb4
TP
18152015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1816
1817 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1818 case.
1819
10125099
SM
18202015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1821
1822 * gdb.base/break.exp: Remove dead code.
1823 * gdb.base/sepdebug.exp: Likewise.
1824
3ca22649
SM
18252015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1826
1827 * gdb.asm/asm-source.exp: Remove HP-UX references.
1828 * gdb.base/annota1.exp: Likewise.
1829 * gdb.base/annota3.exp: Likewise.
1830 * gdb.base/attach.exp: Likewise.
1831 * gdb.base/bigcore.exp: Likewise.
1832 * gdb.base/break.exp: Likewise.
1833 * gdb.base/call-ar-st.exp: Likewise.
1834 * gdb.base/callfuncs.exp: Likewise.
1835 * gdb.base/catch-fork-static.exp: Likewise.
1836 * gdb.base/display.exp: Likewise.
1837 * gdb.base/foll-exec-mode.exp: Likewise.
1838 * gdb.base/foll-exec.exp: Likewise.
1839 * gdb.base/foll-fork.exp: Likewise.
1840 * gdb.base/foll-vfork.exp: Likewise.
1841 * gdb.base/funcargs.exp: Likewise.
1842 * gdb.base/hbreak2.exp: Likewise.
1843 * gdb.base/inferior-died.exp: Likewise.
1844 * gdb.base/interrupt.exp: Likewise.
1845 * gdb.base/multi-forks.exp: Likewise.
1846 * gdb.base/nodebug.exp: Likewise.
1847 * gdb.base/sepdebug.exp: Likewise.
1848 * gdb.base/solib1.c: Likewise.
1849 * gdb.base/step-test.exp: Likewise.
1850 * gdb.mi/non-stop.c: Likewise.
1851 * gdb.mi/pthreads.c: Likewise.
1852 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1853 * gdb.threads/pthreads.c: Likewise.
1854 * gdb.threads/staticthreads.exp: Likewise.
1855 * lib/future.exp: Likewise.
1856 * lib/gdb.exp: Likewise.
1857 * gdb.base/so-indr-cl.c: Remove.
1858 * gdb.base/so-indr-cl.exp: Likewise.
1859 * gdb.base/solib.c: Likewise.
1860 * gdb.base/solib.exp: Likewise.
1861 * gdb.base/solib2.c: Likewise.
1862
b6304613
SM
18632015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1864
1865 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1866 * gdb.base/call-ar-st.exp: Likewise.
1867 * gdb.base/callfuncs.exp: Likewise.
1868 * gdb.base/condbreak.exp: Likewise.
1869 * gdb.base/constvars.exp: Likewise.
1870 * gdb.base/hbreak2.exp: Likewise.
1871 * gdb.base/langs.exp: Likewise.
1872 * gdb.base/list.exp: Likewise.
1873 * gdb.base/long_long.exp: Likewise.
1874 * gdb.base/ptype.exp: Likewise.
1875 * gdb.base/scope.exp: Likewise.
1876 * gdb.base/signals.exp: Likewise.
1877 * gdb.base/so-impl-ld.exp: Likewise.
1878 * gdb.base/varargs.exp: Likewise.
1879 * gdb.base/volatile.exp: Likewise.
1880 * gdb.base/whatis.exp: Likewise.
1881 * gdb.cp/cplusfuncs.exp: Likewise.
1882 * gdb.cp/inherit.exp: Likewise.
1883 * gdb.cp/local.exp: Likewise.
1884 * gdb.cp/member-ptr.exp: Likewise.
1885 * gdb.cp/method.exp: Likewise.
1886 * gdb.cp/overload.exp: Likewise.
1887 * gdb.cp/templates.exp: Likewise.
1888 * gdb.stabs/weird.exp: Likewise.
1889 * lib/compiler.c: Likewise.
1890 * lib/compiler.cc: Likewise.
1891 * lib/cp-support.exp: Likewise.
1892 * lib/gdb.exp: Likewise.
1893
bf401b07
SM
18942015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1895
1896 * configure.ac: Remove HP-UX case.
1897 * configure: Regenerate.
1898
aff9c0f8
SM
18992015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1900
1901 * lib/gdb.exp (gdb_compile): Add function doc.
1902
a6904d5a
PA
19032015-12-17 Pedro Alves <palves@redhat.com>
1904
1905 PR threads/19354
1906 * gdb.multi/info-threads.exp: New file.
1907
a22279dd
YQ
19082015-12-15 Yao Qi <yao.qi@linaro.org>
1909
1910 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1911 is aarch64*-*-*.
1912
0588c796
SL
19132015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1914
1915 * gdb.base/history-duplicates.exp: Skip if no readline support.
1916
5d978e17
SL
19172015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1918
1919 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1920
7e763b86
SL
19212015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1922
1923 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1924
87a3a92c
SL
19252015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1926
1927 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1928 ctrl-C if nointerrupts target property is set.
1929 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1930 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1931 * gdb.base/paginate-bg-execution.exp: Likewise.
1932 * gdb.base/paginate-execution-startup.exp: Likewise.
1933 * gdb.base/random-signal.exp: Likewise.
1934 * gdb.base/range-stepping.exp: Likewise.
1935 * gdb.cp/annota2.exp: Likewise.
1936 * gdb.cp/annota3.exp: Likewise.
1937 * gdb.gdb/selftest.exp: Likewise.
1938 * gdb.threads/continue-pending-status.exp: Likewise.
1939 * gdb.threads/leader-exit.exp: Likewise.
1940 * gdb.threads/manythreads.exp: Likewise.
1941 * gdb.threads/pthreads.exp: Likewise.
1942 * gdb.threads/schedlock.exp: Likewise.
1943 * gdb.threads/sigthread.exp: Likewise.
1944
a8f077dc
DB
19452015-12-11 Don Breazeal <donb@codesourcery.com>
1946
1947 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1948 remote.
1949 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1950 * gdb.base/foll-exec.exp (main): Enable for target remote.
1951 * gdb.base/foll-fork.exp (main): Likewise.
1952 * gdb.base/foll-vfork.exp (main): Likewise.
1953 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1954 (proc continue_to_exit_bp_loc): Use clean_restart.
1955 * gdb.base/pie-execl.exp (main): Disable for target remote.
1956 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1957 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1958 * gdb.threads/execl.exp (main): Likewise.
1959 * gdb.threads/fork-child-threads.exp (main): Likewise.
1960 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1961 remote.
1962 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1963 remote.
1964 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1965 pid.tid style ptids, instead of just tid.
1966 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1967 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1968 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1969 ptids, instead of just tid.
1970
3b2464a8
AB
19712015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1972
1973 * gdb.base/list.exp (test_list_forward): Add end of file error
1974 test.
1975 (test_repeat_list_command): Add end of file error test.
1976 (test_list_backwards): Add beginning of file error test.
1977
a0def019
AB
19782015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1979
1980 * gdb.base/list.exp (test_list_invalid_args): New function,
1981 defined, and called.
1982
5c000dff
AB
19832015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1984
1985 * gdb.base/list.exp (test_list): Make test names unique.
1986
f1637ebe
YQ
19872015-12-11 Yao Qi <yao.qi@linaro.org>
1988
1989 * gdb.base/coremaker2.c: Remove.
1990
36d6fc0a
PA
19912015-12-10 Pedro Alves <palves@redhat.com>
1992
1993 * gdb.multi/base.exp: Remove stale "spaces" references.
1994
762f7747
PA
19952015-12-10 Pedro Alves <palves@redhat.com>
1996
1997 * gdb.multi/base.exp: Don't use nowarnings.
1998 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1999 * gdb.multi/hangout.c: Include stdio.h.
2000 * gdb.multi/hello.c: Include stdlib.h.
2001 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2002 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2003 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2004
28d2bfb9
AB
20052015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2006
2007 * gdb.dwarf2/dw2-ranges-base.c: New file.
2008 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2009 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2010 support additional line table, and debug ranges generation.
2011 (Dwarf::ranges): New function, generate .debug_ranges.
2012 (Dwarf::lines): Support generating simple line table programs.
2013 (Dwarf::assemble): Initialise new namespace variables.
2014
5fc2beac
KB
20152015-12-09 Kevin Buettner <kevinb@redhat.com>
2016
2017 * gdb.base/async.exp (proc test_background): Add case for
2018 asynchronous execution not supported.
2019
1c35a88f
LM
20202015-12-09 Luis Machado <lgustavo@codesourcery.com>
2021
2022 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2023 format and change test names to make them unique.
2024
b593e3d9
RK
20252015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2026 Pedro Alves <pedro@redhat.com>
2027
2028 PR gdb/18702
2029 Add checking of floatformats setup on x86_64 hosts.
2030 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2031 (smallval, bigval): New labels/constants.
2032 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2033 float" after loading bigval and smallval.
2034
d72413e6
PMR
20352015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2036
2037 * gdb.ada/fun_overload_menu.exp: New testcase.
2038 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2039
ece66d65
JS
20402015-12-04 Josh Stone <jistone@redhat.com>
2041
2042 * gdb.base/catch-fork-static.exp: New.
2043
41d0efca
YQ
20442015-12-03 Yao Qi <yao.qi@linaro.org>
2045
2046 * gdb.base/sizeof.c: Don't include stdio.h and
2047 ../lib/unbuffer_output.c.
2048 (main): New variable 'size' and 'value'. Remove printf and
2049 gdb_unbuffer_output. Assign return value to size and value.
2050 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2051 at the beginning.
2052 (check_sizeof): Check the result by printing variable 'size'.
2053 (check_valueof): Check the result by printing variable 'value'.
2054
99fd02d9
YQ
20552015-12-01 Yao Qi <yao.qi@linaro.org>
2056
2057 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2058 for aarch64*-*-linux* target.
2059
f2faf941
PA
20602015-11-30 Pedro Alves <palves@redhat.com>
2061
2062 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2063
04bf20c5
PA
20642015-11-30 Pedro Alves <palves@redhat.com>
2065
2066 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2067 Handle non-stop mode vCont replies.
2068
09df4675
PA
20692015-11-30 Pedro Alves <palves@redhat.com>
2070
2071 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2072 prepare_for_testing. Start gdb with "set non-stop on" appended to
2073 GDBFLAGS. Lax expected stop output.
2074
58b584af
YQ
20752015-11-27 Yao Qi <yao.qi@linaro.org>
2076
2077 * gdb.arch/arm-neon.exp: New.
2078 * gdb.arch/arm-neon.c: New.
2079
dfcb77a8
YQ
20802015-11-27 Yao Qi <yao.qi@linaro.org>
2081
2082 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2083
88e8ec1b
YQ
20842015-11-27 Yao Qi <yao.qi@linaro.org>
2085
2086 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2087 frames-invalid annotation.
2088
bfde72c2
YQ
20892015-11-27 Yao Qi <yao.qi@linaro.org>
2090
2091 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2092
f6512a69
SM
20932015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2094
2095 * gdb.threads/names.exp: New file.
2096 * gdb.threads/names.c: New file.
2097 * README: Mention gdb,no_thread_names.
2098
46a3515b
MM
20992015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2100
2101 PR 19297
2102 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2103 support" error.
2104
62147a22
PA
21052015-11-24 Pedro Alves <palves@redhat.com>
2106
2107 PR 17539
2108 * gdb.base/display.exp: Expect displays to be sorted in ascending
2109 order. Use multi_line.
2110 * gdb.base/solib-display.exp: Likewise.
2111
2f341b6e
PA
21122015-11-24 Pedro Alves <palves@redhat.com>
2113
2114 PR 17539
25d49b86
PA
2115 * gdb.base/display.exp: Expect displays to be sorted in ascending
2116 order. Use multi_line.
2117 * gdb.base/solib-display.exp: Likewise.
2f341b6e 2118
7e0aa6aa
PA
21192015-11-24 Pedro Alves <palves@redhat.com>
2120
2121 PR 17539
2122 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2123 threads in ascending order.
2124 * gdb.base/foll-fork.exp: Likewise.
2125 * gdb.base/foll-vfork.exp: Likewise.
2126 * gdb.base/multi-forks.exp: Likewise.
2127 * gdb.mi/mi-nonstop.exp: Likewise.
2128 * gdb.mi/mi-nsintrall.exp: Likewise.
2129 * gdb.multi/base.exp: Likewise.
2130 * gdb.multi/multi-arch.exp: Likewise.
2131 * gdb.python/py-inferior.exp: Likewise.
2132 * gdb.threads/break-while-running.exp: Likewise.
2133 * gdb.threads/execl.exp: Likewise.
2134 * gdb.threads/gcore-thread.exp: Likewise.
2135 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2136 * gdb.threads/kill.exp: Likewise.
2137 * gdb.threads/linux-dp.exp: Likewise.
2138 * gdb.threads/multiple-step-overs.exp: Likewise.
2139 * gdb.threads/next-bp-other-thread.exp: Likewise.
2140 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2141 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2142 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2143 * gdb.threads/thread-find.exp: Likewise.
2144 * gdb.threads/tls.exp: Likewise.
2145 * lib/mi-support.exp (mi_reverse_list): Delete.
2146 (mi_check_thread_states): No longer reverse list.
2147
2cc57ad8
PA
21482015-11-24 Pedro Alves <palves@redhat.com>
2149
2150 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2151 use lowercase.
2152
c93e8391
SM
21532015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2154
2155 * gdb.trace/actions.c: Include trace-common.h.
2156 (main): Add a location for a fast tracepoint.
2157 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2158 the normal tracepoints.
2159 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2160
045ccf91
SM
21612015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2162
2163 * save-trace.exp: Factor out code to these...
2164 (gdb_save_tracepoints): New.
2165 (gdb_load_tracepoints): New.
2166 (do_save_load_test): New.
2167
5506f9f6
KB
21682015-11-23 Kevin Buettner <kevinb@redhat.com>
2169
2170 * gdb.base/asmlabel.exp: New test.
2171 * gdb.base/asmlabel.c: New test case.
2172
16c3b12f
JB
21732015-11-23 Joel Brobecker <brobecker@adacore.com>
2174
2175 * gdb.base/wrong_frame_bt_full-main.c: New file.
2176 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2177 * gdb.base/wrong_frame_bt_full.exp: New file.
2178
155bfbd3
JB
21792015-11-23 Joel Brobecker <brobecker@adacore.com>
2180
2181 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2182
bb097445
JM
21832015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2184
206853a0 2185 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
2186 pstate register when comparing registers values in
2187 sparc64-*-linux-gnu targets to avoid spurious differences.
2188
9c88ed8f
JM
21892015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2190
206853a0 2191 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 2192
96161e25
SL
21932015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2194
2195 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2196 as type argument to gdb_compile.
2197 * gdb.base/nested-subp2.exp: Likewise.
2198 * gdb.base/nested-subp3.exp: Likewise.
2199
340c2830
DV
22002015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2201
2202 * lib/dwarf.exp (_note): Fix left shift of negative value.
2203 * gdb.trace/trace-condition.exp: Likewise.
2204
c1862d0f
YQ
22052015-11-13 Yao Qi <yao.qi@linaro.org>
2206
2207 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2208 comments about d10v.
2209 (test_scalar_returns): Likewise.
2210 * gdb.base/d10v.ld: Remove.
2211 * gdb.base/overlays.exp: Remove the target triplet checking for
2212 d10v-*-*.
2213 * gdb.base/structs.exp (test_struct_returns): Remove the
2214 comments about d10v.
2215 (test_struct_calls): Likewise.
2216
77ae9c19
YQ
22172015-11-13 Yao Qi <yao.qi@linaro.org>
2218
2219 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2220 * gdb.base/gnu_vector.c: Don't include stdio.h.
2221 (main): Don't print res and call add_some_intvecs.
2222
430e004e
MK
22232015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2224
2225 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2226 macro.
2227 (func5): Removed.
2228 (func4): Use FAST_TRACEPOINT_LABEL.
2229 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2230 macro.
2231 (func): Removed.
2232 (thread_function): Use FAST_TRACEPOINT_LABEL.
2233 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2234 (func): Remove.
2235 (marker): Use FAST_TRACEPOINT_LABEL.
2236 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2237 (pendfunc1): Remove.
2238 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2239 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2240 (foo): Remove.
2241 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2242 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2243 macro.
2244 (func): Remove.
2245 (marker): Use FAST_TRACEPOINT_LABEL.
2246 * gdb.trace/trace-common.h: New header.
2247 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2248 macro.
2249 (func): Remove.
2250 (marker): Use FAST_TRACEPOINT_LABEL.
2251 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2252 (func): Remove.
2253 (thread_function): Use FAST_TRACEPOINT_LABEL.
2254
6e7675a7
MK
22552015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2256
2257 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2258 in front.
2259 * gdb.trace/change-loc.exp: Use global pcreg definition.
2260 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2261 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2262 in front.
2263 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2264 * gdb.trace/pending.exp: Likewise.
2265 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2266 * gdb.trace/trace-break.exp: Likewise.
2267 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2268 in front.
2269 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2270 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2271 in front.
2272 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2273
dddc0e16
JB
22742015-11-09 Joel Brobecker <brobecker@adacore.com>
2275
2276 * gdb.ada/fin_fun_out: New testcase.
2277
c6f0b406
KB
22782015-11-07 Kevin Buettner <kevinb@redhat.com>
2279
2280 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2281 value associated with DW_AT_byte_size.
2282 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2283 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2284 DW_AT_upper_bound.
2285
f01dcfd9
KB
22862015-11-07 Kevin Buettner <kevinb@redhat.com>
2287
2288 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2289 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2290 version.
2291 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2292 gdb.dwarf2/dw2-canonicalize-type.exp,
2293 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2294 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2295 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2296 provided by gdb_target_symbol_prefix_flags_asm.
2297 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2298 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2299 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2300 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2301 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2302 macros where needed). Use this macro for symbols which require
2303 the prefix provided by SYMBOL_PREFIX.
2304
2223449a
KB
23052015-11-05 Kevin Buettner <kevinb@redhat.com>
2306
2307 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2308 New procs.
2309 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2310 representing expressions, of more than one list element.
2311 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2312 to prepend linker symbol prefix to f.
2313 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2314 table_1 and table_2.
2315 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2316 Likewise, for f and g.
2317 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2318 for ptr.
2319 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2320 for main.
2321 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2322 table_1_ptr and table_2_ptr.
2323
6f2f1a3a
JK
23242015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2325 Joel Brobecker <brobecker@adacore.com>
2326
2327 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2328
566c56c9
MK
23292015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2330
2331 * gdb.reverse/s390-mvcle.c: New test.
2332 * gdb.reverse/s390-mvcle.exp: New file.
2333 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2334
d5f0636b
MK
23352015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2336
2337 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2338
7ad8b86c
MK
23392015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2340
2341 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2342 reaching marker2.
2343 * gdb.reverse/getresuid-reverse.exp: Likewise.
2344 * gdb.reverse/pipe-reverse.exp: Likewise.
2345 * gdb.reverse/readv-reverse.exp: Likewise.
2346 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2347 * gdb.reverse/time-reverse.exp: Likewise.
2348 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2349
4081c0f1
YQ
23502015-10-30 Yao Qi <yao.qi@linaro.org>
2351
2352 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2353 (empty_cycle): Remove.
2354 (main): Don't call empty_cycle. Don't use watch_count_done.
2355 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2356 empty_cycle. Rewrite the code counting HW watchpoints.
2357
452b4ba5
MK
23582015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2359
2360 * gdb.reverse/fstatat-reverse.c: New test.
2361 * gdb.reverse/fstatat-reverse.exp: New file.
2362 * gdb.reverse/getresuid-reverse.c: New test.
2363 * gdb.reverse/getresuid-reverse.exp: New file.
2364 * gdb.reverse/pipe-reverse.c: New test.
2365 * gdb.reverse/pipe-reverse.exp: New file.
2366 * gdb.reverse/readv-reverse.c: New test.
2367 * gdb.reverse/readv-reverse.exp: New file.
2368 * gdb.reverse/recvmsg-reverse.c: New test.
2369 * gdb.reverse/recvmsg-reverse.exp: New file.
2370 * gdb.reverse/time-reverse.c: New test.
2371 * gdb.reverse/time-reverse.exp: New file.
2372 * gdb.reverse/waitpid-reverse.c: New test.
2373 * gdb.reverse/waitpid-reverse.exp: New file.
2374
5e2e7507
JK
23752015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2376
2377 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2378
0fde2c53
DE
23792015-10-26 Doug Evans <dje@google.com>
2380
2381 PR symtab/17391
2382 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2383 * gdb.dwarf2/bad-regnum.c: New file.
2384 * gdb.dwarf2/bad-regnum.exp: New file.
2385
1a70ae97
DE
23862015-10-26 Doug Evans <dje@google.com>
2387
2388 PR python/18938
2389 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2390 file.
2391
27dc26ab
JK
23922015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2393
2394 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2395 for a change by "Mention language in compile error message".
2396
bed91f4d
SM
23972015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2398
2399 PR python/18073
2400 * gdb.python/py-type.c (C::a_method): New.
2401 (C::a_const_method): New.
2402 (C::a_static_method): New.
2403 (a_function): New.
2404 * gdb.python/py-type.exp (test_fields): Test getting fields
2405 from function and method.
2406
3f2f83dd
KB
24072015-10-21 Keven Boell <keven.boell@intel.com>
2408
2409 * gdb.fortran/vla-alloc-assoc.exp: New file.
2410 * gdb.fortran/vla-datatypes.exp: New file.
2411 * gdb.fortran/vla-datatypes.f90: New file.
2412 * gdb.fortran/vla-history.exp: New file.
2413 * gdb.fortran/vla-ptype-sub.exp: New file.
2414 * gdb.fortran/vla-ptype.exp: New file.
2415 * gdb.fortran/vla-sizeof.exp: New file.
2416 * gdb.fortran/vla-sub.f90: New file.
2417 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2418 * gdb.fortran/vla-value-sub-finish.exp: New file.
2419 * gdb.fortran/vla-value-sub.exp: New file.
2420 * gdb.fortran/vla-value.exp: New file.
2421 * gdb.fortran/vla-ptr-info.exp: New file.
2422 * gdb.mi/mi-vla-fortran.exp: New file.
2423 * gdb.mi/vla.f90: New file.
2424
27145d50
SL
24252015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2426
2427 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2428 of hardwired timeout value.
2429
5f3ff4f8
JK
24302015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2431 Pedro Alves <palves@redhat.com>
2432
2433 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2434 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2435
bfd09d20
JS
24362015-10-19 Josh Stone <jistone@redhat.com>
2437
2438 * gdb.base/catch-syscall.c: Include <sched.h>.
2439 (unknown_syscall): New variable.
2440 (main): Trigger a vfork and an unknown syscall.
2441 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2442 (unknown_syscall_number): Likewise.
2443 (check_call_to_syscall): Accept an optional syscall pattern.
2444 (check_return_from_syscall): Likewise.
2445 (check_continue): Likewise.
2446 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2447 (test_catch_syscall_skipping_return): New test toggling off 'catch
2448 syscall' to step over the syscall return, then toggling back on.
2449 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2450 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2451 (do_syscall_tests): Call test_catch_syscall_without_args and
2452 test_catch_syscall_mid_vfork.
2453 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2454 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2455
b32b93c6
AS
24562015-10-19 Andrew Stubbs <ams@codesourcery.com>
2457
2458 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2459 print g_vE): Add new pass patterns.
2460 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2461 print various symbol names for vptr fields.
2462
9d622bda
AB
24632015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2464
2465 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2466 results.
2467
0fd8ac1c
YQ
24682015-10-12 Yao Qi <yao.qi@linaro.org>
2469
2470 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2471
34240514
YQ
24722015-10-12 Yao Qi <yao.qi@linaro.org>
2473
2474 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2475 is aarch64*-*-linux*.
2476
8240f442
YQ
24772015-10-12 Yao Qi <yao.qi@linaro.org>
2478
2479 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2480 (can_relocate_bcond_true): ... it.
2481 (can_relocate_bcond_false): New function.
2482 (foo): Likewise.
2483 (can_relocate_bl): Likewise.
2484 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2485 can_relocate_bl.
2486
2520f728
PMR
24872015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2488
2489 * gdb.base/nested-addr.c: New file.
2490 * gdb.base/nested-addr.exp: New testcase.
2491
abcef95a
MM
24922015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2493
2494 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2495 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2496 its output. Ignore the output of "record goto begin" and instead
2497 check that GDB is replaying.
2498
145e3ddb
PA
24992015-10-09 Pedro Alves <palves@redhat.com>
2500
2501 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2502 (top level): Use it in the run with no args test.
2503
d5d8c4e1
IB
25042015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2505
2506 * gdb.dlang/properties.exp: New file.
2507
06e635ef
SL
25082015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2509
2510 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2511 whether or not address 0x1000 is mapped on the target.
2512
e019fd1d
SM
25132015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2514
2515 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2516 build.
2517
77ba2a67
MM
25182015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2519
2520 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2521 instruction-history test.
2522
c60eb31f
DE
25232015-09-28 Doug Evans <dje@google.com>
2524
2525 * gdb.base/gcore.c (array_func): Add reference to static_array.
2526
9a3c8263
SM
25272015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2528
2529 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2530 source line.
2531
9720e656
SL
25322015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2533
2534 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2535 short or char as base type.
2536
938d3bf2
SL
25372015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2538
2539 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2540 to allow any size enum.
2541
e6c2c623
PMR
25422015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2543
2544 * gdb.ada/array_ptr_renaming.exp: New testcase.
2545 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2546 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2547
06da0f77
PL
25482015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2549
2550 * gdb.trace/ftrace-lock.c: New file.
2551 * gdb.trace/ftrace-lock.exp: New file.
2552
4f51c22a
PL
25532015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2554
2555 * gdb.arch/insn-reloc.c: New file.
2556 * gdb.arch/ftrace-insn-reloc.exp: New file.
2557
7041adf4
PL
25582015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2559
2560 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2561 instruction.
2562 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2563 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2564 * gdb.trace/range-stepping.c: Likewise.
2565 * gdb.trace/trace-break.c: Likewise.
2566 * gdb.trace/trace-mt.c (thread_function): Likewise.
2567 * gdb.trace/ftrace.c (marker): Likewise.
2568 * gdb.trace/trace-condition.c (marker): Likewise.
2569 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2570 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2571 is_aarch64_target.
2572
015d2e7e
DE
25732015-09-18 Doug Evans <xdje42@gmail.com>
2574
2575 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2576 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2577
26b188a2
SL
25782015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2579
2580 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2581 the breakpoint.
2582
79dc332b
SL
25832015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2584
2585 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2586 the pending breakpoint. Remove timeout override for "Run till
2587 MI pending breakpoint on pendfunc3 on thread 2" test.
2588
f57929f2
SL
25892015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2590
2591 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2592 filename pattern.
2593
3f469b17
SL
25942015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2595
2596 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2597 in breakpoint filename pattern.
2598
515b89b3
SL
25992015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2600
7800dbe4
SL
2601 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2602
26032015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2604
515b89b3
SL
2605 * gdb.linespec/explicit.exp: Check for readline support for
2606 tab-completion tests. Fix obvious typo.
2607
d2939ba2
MM
26082015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2609
2610 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2611 and replay.
2612
cbb55fa7
MM
26132015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2614
2615 * gdb.btrace/non-stop.c: New.
2616 * gdb.btrace/non-stop.exp: New.
2617
43691ca1
PL
26182015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2619 Yao Qi <yao.qi@linaro.org>
2620
2621 * gdb.trace/trace-condition.c: New file.
2622 * gdb.trace/trace-condition.exp: New file.
2623
d78908cf
WW
26242015-09-16 Wei-cheng Wang <cole945@gmail.com>
2625
2626 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2627 for testing bytecode compilation.
2628
1ed415e2
PA
26292015-09-16 Pedro Alves <palves@redhat.com>
2630 Sandra Loosemore <sandra@codesourcery.com>
2631
2632 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2633 (SECONDS): Redefine.
2634 (main): Call pthread_kill and alarm early.
2635 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2636 support.
2637 (test): If the target can't hardware step and doesn't support
2638 displaced stepping, increase the timeout.
2639
d136eff5
PA
26402015-09-16 Pedro Alves <palves@redhat.com>
2641
2642 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2643 (enable_debug): New procedures.
2644 (test): Use them. Bail out if waiting for threads fails.
2645 (top level): Bail out if a test fails.
2646
991f019c
YQ
26472015-09-16 Yao Qi <yao.qi@linaro.org>
2648
2649 * gdb.asm/asm-source.exp: Set asm-arch for
2650 aarch64*-*-* target.
2651 * gdb.asm/aarch64.inc: New file.
2652
bfca584f
PMR
26532015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2654
2655 * gdb.ada/array_of_variable_length.exp: New testcase.
2656 * gdb.ada/array_of_variable_length/foo.adb: New file.
2657 * gdb.ada/array_of_variable_length/pck.adb: New file.
2658 * gdb.ada/array_of_variable_length/pck.ads: New file.
2659
b326e587
DE
26602015-09-15 Doug Evans <dje@google.com>
2661
2662 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2663 of function static local variable.
2664
5382cfab
PW
26652015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2666
2667 * gdb.threads/tls-so_extern.exp: New test file.
2668 * gdb.threads/tls-so_extern.c: New test file.
2669 * gdb.threads/tls-so_extern_main.c: New test file.
2670
141c5cc4
JK
26712015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2672
2673 * gdb.opt/solib-intra-step-lib.c: New file.
2674 * gdb.opt/solib-intra-step-main.c: New file.
2675 * gdb.opt/solib-intra-step.exp: New file.
2676
d15dcecd
PA
26772015-09-15 Pedro Alves <palves@redhat.com>
2678
2679 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2680 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2681
4c2f2a79
PA
26822015-09-14 Pedro Alves <palves@redhat.com>
2683
2684 * gdb.base/hook-stop-continue.c: Delete.
2685 * gdb.base/hook-stop-continue.exp: Delete.
2686 * gdb.base/hook-stop-frame.c: Delete.
2687 * gdb.base/hook-stop-frame.exp: Delete.
2688 * gdb.base/hook-stop.c: New file.
2689 * gdb.base/hook-stop.exp: New file.
2690
919e6dbe
PMR
26912015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2692
2693 * gdb.ada/access_to_packed_array.exp: New testcase.
2694 * gdb.ada/access_to_packed_array/foo.adb: New file.
2695 * gdb.ada/access_to_packed_array/pack.adb: New file.
2696 * gdb.ada/access_to_packed_array/pack.ads: New file.
2697
157280a4
MM
26982015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2699
2700 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2701 buffer size test.
2702
2fd33e94
DB
27032015-09-11 Don Breazeal <donb@codesourcery.com>
2704
2705 * gdb.base/foll-exec.c: Add copyright header. Fix
2706 formatting issues.
2707 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2708 (do_exec_tests): Use clean_restart in place of zap_session,
2709 and for test initialization. Fix formatting issues. Use
2710 fail in place of perror.
2711 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2712 an expect statement to match an expression with output from
2713 the program under debug.
2714 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2715 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2716 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2717 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2718 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2719
e70b6e8e
DE
27202015-09-09 Doug Evans <dje@google.com>
2721
2722 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2723
7a551a51
DE
27242015-09-09 Doug Evans <dje@google.com>
2725
2726 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2727
4c666f84
DE
27282015-09-09 Doug Evans <dje@google.com>
2729
2730 * gdb.base/savedregs.exp: Fix typo.
2731
243a9253
PA
27322015-09-09 Pedro Alves <palves@redhat.com>
2733
2734 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2735
c0fa8fbd
SL
27362015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2737
2738 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2739 command actually switches threads. Give up on remaining
2740 tests if target fails to stop at breakpoint.
2741
cd7c1778
PMR
27422015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2743
2744 * gdb.ada/funcall_char.exp: New testcase.
2745 * gdb.ada/funcall_char/foo.adb: New file.
2746
dc5c8746
PMR
27472015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2748
2749 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2750 expected outputs. Add two testcases for completing ambiguous
2751 functions.
2752 * gdb.ada/complete/aux_pck.adb: New file.
2753 * gdb.ada/complete/aux_pck.ads: New file.
2754 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2755 Ambiguous_Func functions.
2756 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2757 * gdb.ada/complete/pck.adb: Likewise.
2758
4e83a1e7
UW
27592015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2760
2761 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2762 failures to run the test program under GDB.
2763
8ce74153
LM
27642015-08-26 Luis Machado <lgustavo@codesourcery.com>
2765
2766 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2767 to C.
2768
e9756d52
PP
27692015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2770
2771 * gdb.base/run-after-attach.exp: New test file.
2772 * gdb.base/run-after-attach.c: New test file.
2773
8d37573b
DB
27742015-08-26 Don Breazeal <donb@codesourcery.com>
2775
2776 * gdb.base/foll-exec-2.c: New test program.
2777 * gdb.base/foll-exec-2.exp: New test.
2778
63e43d3a
PMR
27792015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2780
2781 * gdb.base/nested-subp1.exp: New file.
2782 * gdb.base/nested-subp1.c: New file.
2783 * gdb.base/nested-subp2.exp: New file.
2784 * gdb.base/nested-subp2.c: New file.
2785 * gdb.base/nested-subp3.exp: New file.
2786 * gdb.base/nested-subp3.c: New file.
2787
3d40fbb5
PA
27882015-08-24 Pedro Alves <palves@redhat.com>
2789
2790 * gdb.server/connect-without-multi-process.c: New file.
2791 * gdb.server/connect-without-multi-process.exp: New file.
2792
4422ac93
LM
27932015-08-24 Luis Machado <lgustavo@codesourcery.com>
2794
2795 * gdb.opt/inline-markers.c: Make z int.
2796
91dddb86
LM
27972015-08-24 Luis Machado <lgustavo@codesourcery.com>
2798
2799 * gdb.opt/inline-markers.c: Make z volatile.
2800
a48847ee
LM
28012015-08-24 Luis Machado <lgustavo@codesourcery.com>
2802
2803 * gdb.opt/inline-bt.c: New volatile global z.
2804 * gdb.opt/inline-cmds.c: Likewise.
2805 * gdb.opt/inline-locals.c: Likewise.
2806 * gdb.opt/inline-markers.c: New extern global z.
2807 (marker): Use z.
2808 (inline_fn): Likewise.
2809
0ebbc52b
PA
28102015-08-24 Pedro Alves <palves@redhat.com>
2811
2812 * config/m32r-stub.exp: Remove file.
2813 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2814 * gdb.base/call-rt-st.exp: Likewise.
2815 * gdb.base/call-strs.exp: Likewise.
2816 * gdb.base/default.exp: Remove references to h8300-*-hms and
2817 *-*-udi*.
2818 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2819
77c365df
AA
28202015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2821
2822 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2823 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2824 and "return" use KFAIL when GDB can not read/write the vector
2825 return value.
2826
4313b8c0
GB
28272015-08-21 Gary Benson <gbenson@redhat.com>
2828
2829 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2830
0e433b32
PA
28312015-08-20 Pedro Alves <palves@redhat.com>
2832
2833 * gdb.server/solib-list.exp: No longer expect an interior stop in
2834 non-stop mode.
2835
221e1a37
PA
28362015-08-20 Pedro Alves <palves@redhat.com>
2837
2838 * gdb.server/connect-stopped-target.c: New file.
2839 * gdb.server/connect-stopped-target.exp: New file.
2840
40e3ad0e
PA
28412015-08-20 Pedro Alves <palves@redhat.com>
2842
2843 * gdb.dwarf2/comp-unit-lang.exp: New file.
2844 * gdb.dwarf2/comp-unit-lang.c: New file.
2845
af39b327
PMR
28462015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2847
2848 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2849 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2850
7d45c7c3 28512015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 2852
7d45c7c3
KB
2853 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2854 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2855
4d6cceb4
DE
28562015-08-18 Doug Evans <dje@google.com>
2857 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2858
2859 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2860 skip_python_tests. New arg prompt_regexp.
2861 (skip_python_tests): New function.
2862 * lib/mi-support.exp (mi_skip_python_tests): New function.
2863 * gdb.python/py-mi-objfile-gdb.py: New file.
2864 * gdb.python/py-mi-objfile.c: New file.
2865 * gdb.python/py-mi-objfile.exp: New file.
2866
ad89c2aa
KS
28672015-08-17 Keith Seitz <keiths@redhat.com>
2868
2869 * gdb.linespec/explicit.exp: Move strace test from here ...
2870 * gdb.trace/strace.exp: ... to here.
2871
e3ae3c43
PP
28722015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2873
2874 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2875 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2876
604b2636
DE
28772015-08-14 Doug Evans <xdje42@gmail.com>
2878
2879 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2880 inferior before selecting a new file.
2881
6ff0ba5f
DE
28822015-08-14 Doug Evans <xdje42@gmail.com>
2883
2884 * gdb.mi/mi-disassemble.exp: Update.
2885 * gdb.base/disasm-optim.S: New file.
2886 * gdb.base/disasm-optim.c: New file.
2887 * gdb.base/disasm-optim.h: New file.
2888 * gdb.base/disasm-optim.exp: New file.
2889
9ca98f92
KS
28902015-08-14 Keith Seitz <keiths@redhat.com>
2891
2892 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2893 "evaluated-by".
2894
52bbc560
JB
28952015-08-13 Joel Brobecker <brobecker@adacore.com>
2896
2897 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2898
5d8c3ed3
PMR
28992015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2900
2901 * gdb.ada/fun_renaming.exp: New testcase.
2902 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2903 * gdb.ada/fun_renaming/pack.adb: New file.
2904 * gdb.ada/fun_renaming/pack.ads: New file.
2905
ea8812bc
KS
29062015-08-12 Keith Seitz <keiths@redhat.com>
2907
2908 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2909 gdb_get_line_number.
2910
4dafcdeb
JB
29112015-08-12 Joel Brobecker <brobecker@adacore.com>
2912
2913 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2914 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2915 gdb.base/dso2dso.exp: New files.
2916
5ba32597
SDJ
29172015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2918 Pedro Alves <palves@redhat.com>
2919 Keith Seitz <keiths@redhat.com>
2920
2921 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2922 GDBFLAGS.
2923
b6dafabf
PP
29242015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2925
2926 * gdb.base/gdbhistsize-history.exp
2927 (test_histsize_history_setting): Use save_vars.
2928 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2929 Use save_vars.
2930 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2931 * gdb.base/readline.exp: Use save_vars.
2932
abe8e607
PP
29332015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2934
2935 * lib/gdb.exp (save_vars): New proc.
2936
629500fa
KS
29372015-08-11 Keith Seitz <keiths@redhat.com>
2938
2939 * gdb.base/help.exp: Update help_breakpoint_text.
2940
eb8c4e2e
KS
29412015-08-11 Keith Seitz <keiths@redhat.com>
2942
2943 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2944 (at toplevel): Call test_explicit_breakpoints.
2945 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2946 breakpoints.
2947 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2948 breakpoint conditions, "-cond".
2949
87f0e720
KS
29502015-08-11 Keith Seitz <keiths@redhat.com>
2951
2952 * gdb.linespec/3explicit.c: New file.
2953 * gdb.linespec/cpexplicit.cc: New file.
2954 * gdb.linespec/cpexplicit.exp: New file.
2955 * gdb.linespec/explicit.c: New file.
2956 * gdb.linespec/explicit.exp: New file.
2957 * gdb.linespec/explicit2.c: New file.
2958 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2959 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2960 before using in the matching pattern.
2961 Clarify that `prefix' is a regular expression.
2962
f00aae0f
KS
29632015-08-11 Keith Seitz <keiths@redhat.com>
2964
2965 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2966 test.
2967 Add tests for missing ",FMT" and ",".
2968
e27852be
DE
29692015-08-10 Doug Evans <dje@google.com>
2970 Keith Seitz <keiths@redhat.com>
2971
2972 PR gdb/17960
2973 * gdb.base/completion.exp: Add location completer tests.
2974
7f03bd92
PA
29752015-08-07 Pedro Alves <palves@redhat.com>
2976
2977 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2978 tests here.
2979 (top level): Run do_test with and without displaced stepping.
2980
3fc8eb30
PA
29812015-08-07 Pedro Alves <palves@redhat.com>
2982
2983 * gdb.base/valgrind-disp-step.c: New file.
2984 * gdb.base/valgrind-disp-step.exp: New file.
2985
d4569d7b
PA
29862015-08-07 Pedro Alves <palves@redhat.com>
2987
2988 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2989 Delete function.
2990 (main): Add alarm. Run an infinite loop instead of calling
2991 wait_threads.
2992 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2993 comment.
2994 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2995 Delete function.
2996 (main): Add alarm. Run an infinite loop instead of calling
2997 wait_threads.
2998 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2999 comment.
3000
e1316e60
PA
30012015-08-07 Pedro Alves <palves@redhat.com>
3002
3003 * gdb.base/checkpoint-ns.exp: New file.
3004 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3005 standard_testfile.
3006
da8c46d2
MM
30072015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3008
3009 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3010 * gdb.btrace/instruction_history.exp: Update.
3011 * gdb.btrace/tsx.exp: New.
3012 * gdb.btrace/tsx.c: New.
3013
de1c2c52
PA
30142015-08-06 Pedro Alves <palves@redhat.com>
3015
3016 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3017 increase timeout.
3018 * gdb.reverse/until-precsave.exp: Bump timeouts.
3019
782e0bf4
PA
30202015-08-06 Pedro Alves <palves@redhat.com>
3021
3022 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3023
83e97ed0
PA
30242015-08-06 Pedro Alves <palves@redhat.com>
3025
3026 PR gdb/18749
3027 * gdb.threads/process-dies-while-handling-bp.c: New file.
3028 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3029
863d01bd
PA
30302015-08-06 Pedro Alves <palves@redhat.com>
3031
3032 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3033 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3034
0a39bb32
PA
30352015-08-05 Pedro Alves <palves@redhat.com>
3036
3037 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3038 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3039
ee2d2b10
SL
30402015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3041
3042 * gdb.base/bp-permanent.exp: Report test as unsupported if
3043 the target cannot stop at the permanent breakpoint.
3044
4e1bdb00
DE
30452015-08-03 Doug Evans <dje@google.com>
3046
3047 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3048 10000.
3049
3d338901
DE
30502015-08-03 Doug Evans <dje@google.com>
3051
3052 * Makefile.in (workers/%.worker, build-perf): New rule.
3053 (GDB_PERFTEST_MODE): New variable.
3054 (check-perf): Use it.
3055 (clean): Clean up gdb.perf parallel build subdirs.
3056 * lib/build-piece.exp: New file.
3057 * lib/gdb.exp (make_gdb_parallel_path): New function
3058 (standard_output_file, standard_temp_file): Call it.
3059 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3060 of $GDB_PARALLEL.
3061 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3062
af061d3e
DE
30632015-08-03 Doug Evans <dje@google.com>
3064
8e1afc81 3065 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
3066 (LOG_FILE_NAME): New global.
3067 (TextReporter.__init__): Initialize self.txt_sum.
3068 (TextReporter.report): Add support for multiple data-points.
3069 Move report to perftest.sum, put raw data in perftest.log.
3070 (TextReporter.start): Open sum and log files.
3071 (TextReporter.end): Close sum and log files.
8e1afc81
DE
3072 * gdb.perf/lib/perftest/testresult.py
3073 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 3074
2c8c5d37
PA
30752015-07-31 Pedro Alves <palves@redhat.com>
3076
3077 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3078 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3079 kill_wait_spawned_process instead of explicit "kill -9".
3080 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3081 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3082 kill_wait_spawned_process.
3083 * gdb.base/attach-twice.exp: Likewise.
3084 * gdb.base/attach.exp: Likewise.
3085 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3086 gdb_test_multiple.
3087 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3088 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3089 kill_wait_spawned_process.
3090 * gdb.base/valgrind-infcall.exp: Likewise.
3091 * gdb.multi/multi-attach.exp: Likewise.
3092 * gdb.python/py-prompt.exp: Likewise.
3093 * gdb.python/py-sync-interp.exp: Likewise.
3094 * gdb.server/ext-attach.exp: Likewise.
3095 * gdb.threads/attach-into-signal.exp (corefunc): Use
3096 spawn_wait_for_attach, spawn_id_get_pid and
3097 kill_wait_spawned_process.
3098 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3099 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3100 spawn_id_get_pid and kill_wait_spawned_process.
3101 * gdb.threads/attach-stopped.exp (corefunc): Use
3102 spawn_wait_for_attach, spawn_id_get_pid and
3103 kill_wait_spawned_process.
3104 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3105 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3106 kill_wait_spawned_process instead of explicit "kill -9".
3107 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3108 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3109 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3110 processes. Don't map cygwin/windows pids here. Now returns a
3111 spawn id list.
3112
032a0fca
SL
31132015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3114
3115 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3116 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3117 correct patch.
3118
61a934ca
SL
31192015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3120
3121 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3122
4bc4d428
SL
31232015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3124
3125 Reapply:
3126 2014-05-21 Mark Wielaard <mjw@redhat.com>
3127
3128 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3129
998d452a
PA
31302015-07-30 Pedro Alves <palves@redhat.com>
3131
3132 * linux-low.c (handle_extended_wait): Set the child's last
3133 reported status to TARGET_WAITKIND_STOPPED.
3134
69dde7dc
PA
31352015-07-30 Pedro Alves <palves@redhat.com>
3136
3137 PR threads/18600
3138 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3139 only shows inferior 1.
3140
4dd63d48
PA
31412015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3142 Pedro Alves <palves@redhat.com>
3143
3144 PR threads/18600
3145 * gdb.threads/fork-plus-threads.c: New file.
3146 * gdb.threads/fork-plus-threads.exp: New file.
3147
d618e4c5
PP
31482015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3149
3150 * gdb.base/batch-preserve-term-settings.exp
3151 (test_terminal_settings_preserved_after_cli_exit): Use
3152 send_quit_command.
3153
1eef6428
PA
31542015-07-29 Pedro Alves <palves@redhat.com>
3155 Don Breazeal <donb@codesourcery.com>
3156
3157 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3158 output from both inferior_spawn_id and gdb_spawn_id.
3159
7da5b897
SDJ
31602015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3161
3162 * gdb.threads/attach-into-signal.exp (corefunc): Use
3163 with_test_prefix on nested loops, uniquefying the test messages.
3164
dac804df
SDJ
31652015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3166
3167 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3168 commit.
3169
06265e53
PP
31702015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3171
3172 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3173 New proc.
3174 (test_terminal_settings_preserved_after_sigterm): New test.
3175
18206ca3
PP
31762015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3177
3178 * gdb.base/batch-preserve-term-settings.exp
3179 (test_terminal_settings_preserved_after_cli_exit): New test.
3180
90074d11
PP
31812015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3182
3183 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3184 manipulation of saved_gdbflags.
3185 (test_terminal_settings_preserved): Remove global declaration of
3186 the unused variable pagination_prompt. Remove manipulation of
3187 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3188 GDBFLAGS.
3189
eb1a7902
PA
31902015-07-29 Pedro Alves <palves@redhat.com>
3191
3192 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3193
8b75dd3b
PA
31942015-07-29 Pedro Alves <palves@redhat.com>
3195
3196 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3197 at the top.
3198
dedad4e3
PA
31992015-07-29 Pedro Alves <palves@redhat.com>
3200
3201 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3202 (main): Call gdb_unbuffer_output.
3203 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3204 (main): Call gdb_unbuffer_output.
3205 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3206 (main): Call gdb_unbuffer_output.
3207 * gdb.base/call-strs.exp: Adjust to step over the
3208 gdb_unbuffer_output call.
3209 * gdb.base/catch-gdb-caused-signals.c: Include
3210 "../lib/unbuffer_output.c".
3211 (main): Call gdb_unbuffer_output.
3212 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3213 (main): Call gdb_unbuffer_output.
3214 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3215 (main): Call gdb_unbuffer_output.
3216 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3217 (main): Call gdb_unbuffer_output.
3218 * gdb.base/shlib-call.exp: Adjust to step over the
3219 gdb_unbuffer_output call.
3220 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3221 (main): Call gdb_unbuffer_output.
3222 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3223 (main): Call gdb_unbuffer_output.
3224 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3225 (main): Rename to ...
3226 (test): ... this.
3227 (main): Reimplement.
3228 * gdb.base/varargs.exp: Run to test instead of to main.
3229 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3230 (main): Call gdb_unbuffer_output.
3231
58789a91
PA
32322015-07-29 Pedro Alves <palves@redhat.com>
3233
3234 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3235 factore out from mi_continue_dprintf. For call-style dprintfs,
3236 expect dprintf output out of $inferior_spawn_id.
3237 (mi_continue_dprintf): Use mi_expect_dprintf.
3238 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3239 (main): Call gdb_unbuffer_output.
3240
e8376742
PA
32412015-07-29 Pedro Alves <palves@redhat.com>
3242
3243 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3244 (default_mi_gdb_start): Set inferior_spawn_id instead of
3245 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3246 gdb_spawn_id.
3247 (mi_gdb_test): Always expect inferior output from both
3248 $inferior_spawn_id and $gdb_spawn_id.
3249
08280010
PA
32502015-07-29 Pedro Alves <palves@redhat.com>
3251
3252 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3253 send_inferior and $inferior_spawn_id.
3254
4d30e432
PA
32552015-07-29 Pedro Alves <palves@redhat.com>
3256
3257 * gdb.gdb/complaints.exp (test_initial_complaints)
3258 (test_serial_complaints, test_short_complaints): Use
3259 gdb_test_stdio.
3260 (test_empty_complaint): Handle $inferior_spawn_id !=
3261 $gdb_spawn_id.
3262
0d30a335
PA
32632015-07-29 Pedro Alves <palves@redhat.com>
3264
3265 * gdb.base/varargs.exp: Use gdb_test_stdio.
3266
39413b29
PA
32672015-07-29 Pedro Alves <palves@redhat.com>
3268
3269 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3270
7cb000a9
PA
32712015-07-29 Pedro Alves <palves@redhat.com>
3272
3273 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3274
d7b8ac82
PA
32752015-07-29 Pedro Alves <palves@redhat.com>
3276
3277 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3278 parameter into two new parameters, "inf_result" and "gdb_result".
3279 Expect inferior output and gdb output from $inferior_spawn_id and
3280 $gdb_spawn_id, respectively. Adjust all callers.
3281
789c3a0c
PA
32822015-07-29 Pedro Alves <palves@redhat.com>
3283
3284 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3285 of gdb_test_sequence.
3286
77e760c3
PA
32872015-07-29 Pedro Alves <palves@redhat.com>
3288
3289 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3290 (saw_spurious_output): Expect inferior output from
3291 $inferior_spawn_id. Use gdb_test_stdio.
3292
8396d2cd
PA
32932015-07-29 Pedro Alves <palves@redhat.com>
3294
3295 * gdb.base/dprintf.exp: Use standard_testfile. Change
3296 prepare_for_testing call.
3297 (srcfile): Don't set.
3298 (restart): New procedure.
3299 (test_dprintf): New procecure, use to continue over dprintfs.
3300 (test_call, test_agent): New procedures, tests moved here.
3301 Restart gdb and recreate dprintfs. Adjust expected output.
3302
2051d61f
PA
33032015-07-29 Pedro Alves <palves@redhat.com>
3304
3305 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3306
452397af
PA
33072015-07-29 Pedro Alves <palves@redhat.com>
3308
3309 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3310
8aed9555
PA
33112015-07-29 Pedro Alves <palves@redhat.com>
3312
3313 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3314 gdb_test_stdio.
3315
188a61b4
PA
33162015-07-29 Pedro Alves <palves@redhat.com>
3317
3318 * lib/gdb.exp (gdb_test_stdio): New procedure.
3319
12264a45
PA
33202015-07-29 Pedro Alves <palves@redhat.com>
3321
3322 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3323
23ffc893
PA
33242015-07-29 Pedro Alves <palves@redhat.com>
3325
3326 * gdb.base/call-signal-resume.exp: Remove check for
3327 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3328 * gdb.base/unwindonsignal.exp: Likewise.
3329 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3330 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3331
65566918
PA
33322015-07-29 Pedro Alves <palves@redhat.com>
3333
3334 * gdb.base/siginfo-addr.c (pass): New function.
3335 (handler): Call it iff si_addr is correct.
3336 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3337 Set a breakpoint at "pass" and continue to it.
3338
d60a9221
SDJ
33392015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3340
3341 * gdb.python/py-objfile.exp: Make some tests have unique names.
3342 * gdb.python/py-pp-registration.exp: Likewise.
3343
bde40b8f
PA
33442015-07-28 Pedro Alves <palves@redhat.com>
3345
3346 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3347
13e1dec8
SM
33482015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3349
3350 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3351
da33c9a7
SM
33522015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3353
3354 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3355
077836f7
PP
33562015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3357
3358 * gdb.base/gdb-sigterm-2.exp: New test.
3359
b8cc7b2e
DE
33602015-07-25 Doug Evans <xdje42@gmail.com>
3361
3362 Revert:
3363 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3364 (workers/%.worker, build-perf): New rule.
3365 (GDB_PERFTEST_MODE): New variable.
3366 (check-perf): Use it.
3367 (clean): Clean up gdb.perf parallel build subdirs.
3368 * lib/build-piece.exp: New file.
3369 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3370 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3371 name.
3372 (standard_temp_file): Ditto.
3373 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3374 of $GDB_PARALLEL.
3375
c8bd4544
DE
33762015-07-24 Doug Evans <dje@google.com>
3377
3378 * gdb.perf/lib/perftest/utils.py: New file.
3379 * gdb.perf/gm-hello.cc: New file.
3380 * gdb.perf/gm-pervasive-typedef.cc: New file.
3381 * gdb.perf/gm-pervasive-typedef.h: New file.
3382 * gdb.perf/gm-std.cc: New file.
3383 * gdb.perf/gm-std.h: New file.
3384 * gdb.perf/gm-use-cerr.cc: New file.
3385 * gdb.perf/gm-utils.h: New file.
3386 * gdb.perf/gmonster-null-lookup.py: New file.
3387 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3388 * gdb.perf/gmonster-print-cerr.py: New file.
3389 * gdb.perf/gmonster-ptype-string.py: New file.
3390 * gdb.perf/gmonster-runto-main.py: New file.
3391 * gdb.perf/gmonster-select-file.py: New file.
3392 * gdb.perf/gmonster1-null-lookup.exp: New file.
3393 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3394 * gdb.perf/gmonster1-print-cerr.exp: New file.
3395 * gdb.perf/gmonster1-ptype-string.exp: New file.
3396 * gdb.perf/gmonster1-runto-main.exp: New file.
3397 * gdb.perf/gmonster1-select-file.exp: New file.
3398 * gdb.perf/gmonster1.cc: New file.
3399 * gdb.perf/gmonster1.exp: New file.
3400 * gdb.perf/gmonster2-null-lookup.exp: New file.
3401 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3402 * gdb.perf/gmonster2-print-cerr.exp: New file.
3403 * gdb.perf/gmonster2-ptype-string.exp: New file.
3404 * gdb.perf/gmonster2-runto-main.exp: New file.
3405 * gdb.perf/gmonster2-select-file.exp: New file.
3406 * gdb.perf/gmonster2.cc: New file.
3407 * gdb.perf/gmonster2.exp: New file.
3408
6eab34f3
DE
34092015-07-24 Doug Evans <dje@google.com>
3410
3411 * gdb.perf/README: New file.
3412 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3413 * lib/gen-perf-test.exp: New file.
3414
63738bfd
DE
34152015-07-24 Doug Evans <dje@google.com>
3416
3417 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3418 (PerfTest::startup): New function.
3419 (PerfTest::run): Return result of calling body.
3420 (PerfTest::assemble): Rewrite.
3421 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3422 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3423 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3424 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3425 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3426
7b606f95
DE
34272015-07-24 Doug Evans <dje@google.com>
3428
3429 * lib/gdb.exp (clean_restart): Make executable optional.
3430
a97b16b8
DE
34312015-07-24 Doug Evans <dje@google.com>
3432
3433 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3434 compiler_info references.
3435 * gdb.cp/temargs.exp: Ditto.
3436 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3437 (get_compiler_info): Early exit if already computed. Set compiler_info
3438 to "unknown" if there was a problem.
3439 (test_compiler_info): Add function comment. Call get_compiler_info.
3440
35baa57f
DE
34412015-07-24 Doug Evans <dje@google.com>
3442
3443 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3444 (workers/%.worker, build-perf): New rule.
3445 (GDB_PERFTEST_MODE): New variable.
3446 (check-perf): Use it.
3447 (clean): Clean up gdb.perf parallel build subdirs.
3448 * lib/build-piece.exp: New file.
3449 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3450 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3451 name.
3452 (standard_temp_file): Ditto.
3453 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3454 of $GDB_PARALLEL.
3455
6ebea266
DE
34562015-07-24 Doug Evans <dje@google.com>
3457
3458 * lib/future.exp (gdb_default_target_compile): New option
3459 "early_flags".
3460 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3461 --as-needed.
3462
1e76a7e9
SDJ
34632015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3464
3465 * gdb.base/catch-syscall.exp: Call gdb_exit before
3466 gdb_skip_xml_test.
3467
5068630a
PA
34682015-07-24 Pedro Alves <palves@redhat.com>
3469
3470 * gdb.python/py-events.exp: Accept output between the stop event
3471 and the prompt.
3472 * gdb.python/py-evsignal.exp: Likewise.
3473 * gdb.python/py-evthreads.exp: Likewise.
3474
77598427
PA
34752015-07-24 Pedro Alves <palves@redhat.com>
3476
3477 PR gdb/18717
3478 * gdb.threads/non-ldr-exit.c: New file.
3479 * gdb.threads/non-ldr-exit.exp: New file.
3480
11e6c98f
YQ
34812015-07-24 Yao Qi <yao.qi@linaro.org>
3482
3483 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3484 restarting process.
3485
51aee833
YQ
34862015-07-24 Yao Qi <yao.qi@linaro.org>
3487
3488 * gdb.server/ext-restart.exp: New file.
3489
8cfe207c
YQ
34902015-07-24 Yao Qi <yao.qi@linaro.org>
3491
3492 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3493 argument options.
3494 * gdb.server/ext-wrapper.exp: New file.
3495
cc12ce38
DE
34962015-07-23 Doug Evans <dje@google.com>
3497
3498 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3499 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3500
d0d84780
PMR
35012015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3502
3503 * gdb.ada/var_arr_typedef.exp: New testcase.
3504 * gdb.ada/var_arr_typedef/pack.adb: New file.
3505 * gdb.ada/var_arr_typedef/pack.ads: New file.
3506 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3507
8b558f79
JB
35082015-07-20 Joel Brobecker <brobecker@adacore.com>
3509
3510 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3511
775a3298
JK
35122015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3513
3514 * gdb.arch/i386-biarch-core.exp: Replace istarget
3515 by "complete set gnutarget". Remove expectation for the "core-file"
3516 command.
3517
db1ff28b
JK
35182015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3519
3520 Revert the previous commit:
3521 Tests for validate symbol file using build-id.
3522
0a94970d
JK
35232015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3524
3525 Tests for validate symbol file using build-id.
3526 * gdb.base/solib-mismatch-lib.c: New file.
3527 * gdb.base/solib-mismatch-libmod.c: New file.
3528 * gdb.base/solib-mismatch.c: New file.
3529 * gdb.base/solib-mismatch.exp: New file.
3530
03346981
SL
35312015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3532
3533 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3534 nios2-*-linux*.
3535 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3536 * gdb.base/siginfo.exp: Likewise.
3537 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3538
42422cc7
PL
35392015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3540
3541 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3542 Move it to ...
3543 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3544 ... here.
3545 * gdb.trace/range-stepping.exp: Check that the target supports
3546 range stepping.
3547
cfa68bae
JK
35482015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3549
3550 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3551
8ffdba26
PA
35522015-07-14 Pedro Alves <palves@redhat.com>
3553
3554 * gdb.base/killed-outside.exp: New file.
3555 * gdb.base/killed-outside.c: New file.
3556
218a5a11
JK
35572015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3558
3559 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3560 (n at main): New.
3561 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3562
e03ed3c6
AA
35632015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3564
3565 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3566 infcall tests instead of setting up for KFAIL.
3567
485668e5
MM
35682015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3569
3570 * gdb.btrace/record_goto-step.exp: New.
3571
08464196
JK
35722015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3573
3574 PR compile/18484
3575 * gdb.compile/compile.c (struct struct_type): Add volatile to
3576 selffield's type.
3577 * gdb.compile/compile.exp
3578 (compile code struct_object.selffield = &struct_object): Skip further
3579 struct_object tests if this one xfails.
3580
bcf5c1d9
RC
35812015-07-08 Robert O'Callahan <robert@ocallahan.org>
3582
3583 PR exp/18617
3584 * gdb.trace/ax.exp: Add test.
3585
4931af25
YQ
35862015-07-07 Yao Qi <yao.qi@linaro.org>
3587
3588 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3589 instead of istarget "aarch64*-*-*".
3590 * gdb.arch/aarch64-fp.exp: Likewise.
3591 * gdb.base/float.exp: Likewise.
3592 * gdb.reverse/aarch64.exp: Likewise.
3593 * lib/gdb.exp (is_aarch64_target): New proc.
3594
9fcf688e
YQ
35952015-07-07 Yao Qi <yao.qi@linaro.org>
3596
3597 * lib/gdb.exp (is_aarch32_target): New proc.
3598 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3599 instead of "istarget "arm*-*-*"".
3600 * gdb.arch/arm-disp-step.exp: Likewise.
3601 * gdb.arch/thumb-bx-pc.exp: Likewise.
3602 * gdb.arch/thumb-prologue.exp: Likewise.
3603 * gdb.arch/thumb-singlestep.exp: Likewise.
3604 * gdb.base/disp-step-syscall.exp: Likewise.
3605 * gdb.base/float.exp: Likewise.
3606
fbd8d50d
YQ
36072015-07-07 Yao Qi <yao.qi@linaro.org>
3608
3609 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3610 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3611
71be1fdc
YQ
36122015-07-07 Yao Qi <yao.qi@linaro.org>
3613
3614 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3615 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3616 if it exists.
3617 * gdb.multi/multi-arch.exp: Likewise.
3618
3e221d36
SM
36192015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3620
3621 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3622 print.
3623
d441430b
YQ
36242015-07-07 Yao Qi <yao.qi@linaro.org>
3625
3626 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3627
06f810bd
MG
36282015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3629
3630 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3631 '[' and ']' characters.
3632
5e61e7c0
IB
36332015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3634
3635 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3636
28bf096c
PA
36372015-06-29 Pedro Alves <palves@redhat.com>
3638
3639 PR threads/18127
3640 * gdb.threads/hand-call-new-thread.c: New file.
3641 * gdb.threads/hand-call-new-thread.c: New file.
3642
ee93cd5e
KS
36432015-06-26 Keith Seitz <keiths@redhat.com>
3644 Doug Evans <dje@google.com>
3645
3646 PR 16253
3647 * gdb.cp/var-tag-2.cc: New file.
3648 * gdb.cp/var-tag-3.cc: New file.
3649 * gdb.cp/var-tag-4.cc: New file.
3650 * gdb.cp/var-tag.cc: New file.
3651 * gdb.cp/var-tag.exp: New file.
3652
fc637f04
PP
36532015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3654
3655 * gdb.base/history-duplicates.exp: New test.
3656
2e52ae68
PP
36572015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3658
3659 * gdb.base/completion.exp: Test the completion of the "focus"
3660 command.
3661
6e22494e
JK
36622015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3663
3664 * gdb.arch/amd64-prologue-skip.S: New file.
3665 * gdb.arch/amd64-prologue-skip.exp: New file.
3666
bf7b9cd9
SM
36672015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3668
3669 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3670 is_address_zero_readable check.
3671
201e8dfd
PB
36722015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3673
3674 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3675 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3676
5cd867b4
YQ
36772015-06-24 Yao Qi <yao.qi@linaro.org>
3678
3679 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3680 linux targets.
3681
4d7be007
YQ
36822015-06-24 Yao Qi <yao.qi@linaro.org>
3683
3684 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3685 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3686 * gdb.base/siginfo-thread.exp: Likewise.
3687
07fcd301
YQ
36882015-06-22 Yao Qi <yao.qi@linaro.org>
3689
3690 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3691
52042a00
YQ
36922015-06-22 Yao Qi <yao.qi@linaro.org>
3693
3694 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3695 aarch64*-*-*.
3696 (skip_hw_watchpoint_tests): Likewise.
3697
74bd41ce
PP
36982015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3699
3700 * gdb.base/gdbinit-history.exp: Test the interaction between
3701 setting GDBHISTSIZE and setting the history size via .gdbinit.
3702
bc460514
PP
37032015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3704
3705 PR gdb/16999
3706 * gdb.base/gdbhistsize-history.exp: New test.
3707
b58c513b
PP
37082015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3709
3710 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3711 with GDBHISTSIZE.
3712 * gdb.base/readline.exp: Likewise.
3713
92046791
YQ
37142015-06-17 Yao Qi <yao.qi@linaro.org>
3715
3716 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3717 line.
3718
2093d2d3
PP
37192015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3720
3721 * gdb.base/gdbinit-history.exp: Add test case to check that
3722 an unlimited history file does not get truncated on exit.
3723
e6c693af
AA
37242015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3725
3726 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3727 (VECTOR): New macro. Use it...
3728 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3729 ...for these typedefs.
3730 (int8, char1, int1, double1): New typedefs.
3731 (struct just_int2, struct two_int2): New structures.
3732 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3733 (add_structvecs, add_singlevecs): New functions.
3734 (main): Call add_some_intvecs twice.
3735 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3736 the compile and exit upon failure. Try compiling for the "native"
3737 architecture. Test inferior function calls with vector arguments
3738 and vector return value handling with "finish" and "return".
3739
c74f7d1c
JT
37402015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3741
3742 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3743 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3744 PE file.
3745 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3746
98aa42ee
AT
37472015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3748
3749 PR breakpoints/16465
3750 * gdb.mi/mi-dprintf-pending.c: New file.
3751 * gdb.mi/mi-dprintf-pending.exp: New test.
3752 * gdb.mi/mi-dprintf-pendshr.c: New file.
3753
7d73c23c 37542015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 3755 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
3756
3757 * gdb.arch/i386-mpx-map.c: New file.
3758 * gdb.arch/i386-mpx-map.exp: New File.
3759
37602015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3761
3762 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3763 * gdb.arch/i386-mpx.exp: Indentation fixed.
3764
37652015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3766
3767 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3768 function and improved indentation.
3769 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3770 gdb_test_multiple. Added additional tests to skip the test.
3771
37722015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3773
3774 * gdb.arch/i386-avx512.c: Change path in include file.
3775 * gdb.arch/i386-avx512.exp: Change include dir path
3776 compilation flag.
3777 * gdb.arch/i386-mpx.c: Change path in include file.
3778 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3779 flag.
3780
d5eba19a
JK
37812015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3782
3783 * gdb.compile/compile-print.exp (compile print *vararray@3)
3784 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3785
7f361056
JK
37862015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3787
3788 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3789 (do not keep jit in memory): ... this.
3790 (expect 5): Change it to ...
3791 (expect no 5): ... this.
3792
3b462ec2
SM
37932015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3794
3795 PR gdb/15564
3796 * gdb.mi/mi-detach.exp: New file.
3797
e0619de6
JK
37982015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3799
3800 PR symtab/18392
3801 * gdb.arch/amd64-tailcall-self.S: New file.
3802 * gdb.arch/amd64-tailcall-self.c: New file.
3803 * gdb.arch/amd64-tailcall-self.exp: New file.
3804
e970cb34
DB
38052015-05-28 Don Breazeal <donb@codesourcery.com>
3806
3807 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3808 tests for remote targets by checking is_target_gdbserver.
3809
b2e2f908
DE
38102015-05-27 Doug Evans <dje@google.com>
3811
3812 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3813 * gdb.dwarf2/opaque-type-lookup.c: New file.
3814 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3815
82c7be31
DE
38162015-05-26 Doug Evans <dje@google.com>
3817
3818 * gdb.cp/iostream.cc: New file.
3819 * gdb.cp/iostream.exp: New file.
3820
b4f54984
DE
38212015-05-26 Doug Evans <dje@google.com>
3822
3823 * gdb.dwarf2/dw2-op-call.exp: Update.
3824 * gdb.dwarf2/dw4-sig-types.exp: Update.
3825 * gdb.dwarf2/implptr.exp: Update.
3826 * gdb.mi/mi-cmd-param-changed.exp: Update.
3827
4ea6efe9
DE
38282015-05-26 Doug Evans <dje@google.com>
3829
3830 * gdb.python/py-lazy-string.c: New file.
3831 * gdb.python/py-lazy-string.exp: New file.
3832 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3833 (main): Update. Add estring3.
3834 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3835 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3836
f6bb7db3
YQ
38372015-05-26 Omair Javaid <omair.javaid@linaro.org>
3838 Yao Qi <yao.qi@linaro.org>
3839
3840 * gdb.reverse/aarch64.c: New.
3841 * gdb.reverse/aarch64.exp: New.
3842
a81bfbd0
OJ
38432015-05-26 Omair Javaid <omair.javaid@linaro.org>
3844
25d49b86
PA
3845 * lib/gdb.exp (supports_process_record): Return true for
3846 aarch64*-linux*.
a81bfbd0
OJ
3847 (supports_reverse): Likewise.
3848
158bf1b4
PP
38492015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3850
3851 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3852 Use with_test_prefix.
3853
a0145030
AB
38542015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3855
3856 * gdb.base/completion.exp: Add test for completion of layout
3857 names.
3858
ebe3b578
AB
38592015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3860
3861 * lib/gdb.exp (skip_tui_tests): New proc.
3862 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3863
84204ed7
PA
38642015-05-19 Pedro Alves <palves@redhat.com>
3865
3866 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3867 Save the whole env array instead of just HOME. Unset HISTSIZE in
3868 the environment while testing. Restore whole environment
3869 afterwards.
3870
37442ce1
DE
38712015-05-16 Doug Evans <xdje42@gmail.com>
3872
3873 * gdb.guile/scm-ports.c: New file.
3874 * gdb.guile/scm-ports.exp: Add memory port tests.
3875
36de76f9
JK
38762015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3877
3878 * gdb.compile/compile-print.c: New file.
3879 * gdb.compile/compile-print.exp: New file.
3880
3a9558c4
JK
38812015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3882
3883 * gdb.compile/compile-ops.exp: Cast param to void.
3884 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3885 (compile code struct_object.selffield = &struct_object): Add xfail.
3886
aa715135
JG
38872015-05-15 Joel Brobecker <brobecker@adacore.com>
3888
3889 * gdb.ada/arr_enum_with_gap: New testcase.
3890
931e5bc3
JG
38912015-05-15 Joel Brobecker <brobecker@adacore.com>
3892
3893 * gdb.ada/byte_packed_arr: New testcase.
3894
9cd4d857
JB
38952015-05-15 Joel Brobecker <brobecker@adacore.com>
3896
3897 * gdb.ada/pckd_neg: New testcase.
3898
ebfd00d2
PP
38992015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3900
3901 PR gdb/17820
3902 * gdb.base/gdbinit-history.exp: New test.
3903 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3904 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3905
4c082a81
SC
39062015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3907
3908 * gdb.python/py-xmethods.cc: Enhance test case.
3909 * gdb.python/py-xmethods.exp: New tests.
3910 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3911 function.
3912 (B_indexoper): Likewise.
3913 (global_dm_list) : Add new xmethod worker functions.
3914
f7797074
SDJ
39152015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3916
3917 * gdb.base/coredump-filter.exp: Correctly unset
3918 "coredump_var_addr" array.
3919
a4674e4e
PA
39202015-05-08 Pedro Alves <palves@redhat.com>
3921
3922 * gdb.server/non-existing-program.exp: Unset spawn_id.
3923
df2eb078
SC
39242015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3925
3926 PR python/18291
3927 * gdb.python/py-xmethods.exp: Add tests.
3928
422349a3
YQ
39292015-05-08 Yao Qi <yao.qi@linaro.org>
3930
3931 PR gdb/18208
3932 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3933 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3934 function set_coredump_filter, and remove remote_exec call.
3935 Remove argument ipid. Callers update.
3936 (top level): Don't get inferior's PID.
3937
63fc80ce
AA
39382015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3939
3940 * gdb.base/watch_thread_num.exp: Skip test on targets without
3941 access watchpoints.
3942
80ad801e
PA
39432015-05-06 Pedro Alves <palves@redhat.com>
3944
3945 PR server/18081
3946 * gdb.server/non-existing-program.exp: New file.
3947
0fa7fe50
JB
39482015-05-05 Joel Brobecker <brobecker@adacore.com>
3949
3950 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3951
3ea89b92
PMR
39522015-05-05 Joel Brobecker <brobecker@adacore.com>
3953
3954 * gdb.ada/out_of_line_in_inlined: New testcase.
3955
87b8eff0
JB
39562015-05-05 Joel Brobecker <brobecker@adacore.com>
3957
3958 * gdb.ada/var_rec_arr: New testcase.
3959
5fccc635
YQ
39602015-04-30 Yao Qi <yao.qi@linaro.org>
3961
3962 * gdb.base/break-idempotent.exp: If
3963 skip_hw_watchpoint_multi_tests returns true, skip the tests
3964 on "rwatch" and "awatch".
3965
42d38f42
YQ
39662015-04-30 Yao Qi <yao.qi@linaro.org>
3967
3968 * gdb.base/relativedebug.exp: Invoke gdb command
3969 "info sharedlibrary", and if libc.so doesn't have debug info,
3970 skip the test.
3971
2ce1cdbf
DE
39722015-04-29 Doug Evans <dje@google.com>
3973
3974 * gdb.python/py-xmethods.exp: Add ptype tests.
3975 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3976 get_result_type method.
3977
f24a38c5
LM
39782015-04-29 Luis Machado <lgustavo@codesourcery.com>
3979
3980 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3981 the target does not support hardware watchpoints.
3982
ecbf2b3c
LM
39832015-04-29 Luis Machado <lgustavo@codesourcery.com>
3984
3985 * gdb.base/break-always.exp: Abort testing if writing to memory
3986 causes an error.
3987
34f5f757
DE
39882015-04-28 Doug Evans <dje@google.com>
3989
3990 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3991 * gdb.python/py-pp-registration.exp: ... here. New file.
3992 * gdb.python/py-pp-registration.c: New file.
3993 * gdb.python/py-pp-registration.py: New file.
3994
69b4374a
DE
39952015-04-28 Doug Evans <dje@google.com>
3996
3997 * gdb.python/py-bad-printers.c: New file.
3998 * gdb.python/py-bad-printers.py: New file.
3999 * gdb.python/py-bad-printers.exp: New file.
4000
59fb7612
SS
40012015-04-28 Sasha Smundak <asmundak@google.com>
4002
4003 * gdb.python/py-type.exp: New test.
4004
2631b16a
AW
40052015-04-28 Andy Wingo <wingo@igalia.com>
4006
4007 * gdb.python/py-parameter.exp:
4008 * gdb.guile/scm-parameter.exp: Escape the path that we are
4009 matching against, as it might contain characters that are special
4010 to regular expressions.
4011
460efde1
JB
40122015-04-27 Joel Brobecker <brobecker@adacore.com>
4013
4014 * gdb.ada/rec_comp: New testcase.
4015
2d369d8e
SDJ
40162015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4017
4018 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4019 before using it.
4020
cf75d6c3
AB
40212015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4022
4023 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4024 new tests for verilog output.
4025
8dbe7ca5
YQ
40262015-04-24 Yao Qi <yao.qi@linaro.org>
4027
4028 * boards/remote-gdbserver-on-localhost.exp: New file.
4029
4ef9fb2f
PA
40302015-04-23 Pedro Alves <palves@redhat.com>
4031
4032 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4033 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4034 "end of file", remove $inferior_spawn_id from the indirect list.
4035
0a803169
PA
40362015-04-23 Pedro Alves <palves@redhat.com>
4037
4038 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4039
749ef8f8
PA
40402015-04-23 Pedro Alves <palves@redhat.com>
4041
4042 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4043 on $any_spawn_id instead of only on $gdb_spawn_id.
4044
8aae4344
PM
40452015-04-21 Pierre Muller <muller@sourceware.org>
4046
4047 PR pascal/17815
4048 * lib/pascal.exp (gpc_compile): Add new option "class".
4049 (fpc_compile): Likewise.
4050 * gdb.pascal/case-insensitive-symbols.pas: New file.
4051 * gdb.pascal/case-insensitive-symbols.exp: New file.
4052
1586c8fb
GB
40532015-04-20 Gary Benson <gbenson@redhat.com>
4054
4055 * gdb.base/attach.exp: Fix three extended remote failures.
4056
1b6e6f5c
GB
40572015-04-17 Gary Benson <gbenson@redhat.com>
4058
4059 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4060 the main executable over the remote protocol.
4061
e797481d
PA
40622015-04-16 Pedro Alves <palves@redhat.com>
4063
4064 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4065 a new gdbserver if gdbserver_reconnect_p is set.
4066
1ca99c42
PA
40672015-04-16 Pedro Alves <palves@redhat.com>
4068
4069 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4070 is set, don't exit gdbserver.
4071
af9fd6f8
AA
40722015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4073
4074 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4075 appropriate .insn, such that an older assembler can be used.
4076 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4077 the z/Architecture instruction set on 31-bit targets as well.
4078
04ff1e61
AA
40792015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4080
4081 * gdb.go/handcall.exp: Remove all logic related to the first
4082 breakpoint and rely on go_runto_main instead.
4083 * gdb.go/strings.exp: Likewise.
4084 * gdb.go/unsafe.exp: Likewise.
4085 * gdb.go/hello.exp: Likewise. Also rename the remaining
4086 breakpoint marker to "breakpoint 1".
4087 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4088 * gdb.go/strings.go: Likewise.
4089 * gdb.go/unsafe.go: Likewise.
4090 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4091 "set breakpoint 2 here" and rename the remaining breakpoint marker
4092 to "breakpoint 1".
4093
40d2f8d6
SM
40942015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4095
4096 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4097 if itertools.imap is not present.
4098 * gdb.python/py-objfile.exp: Add parentheses.
4099 * gdb.python/py-type.exp: Same.
4100 * gdb.python/py-unwind-maint.py: Same.
4101
8cbc97c6
YQ
41022015-04-15 Yao Qi <yao.qi@linaro.org>
4103
4104 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4105 of ":$ptr_size" and set its form explicitly.
4106
45fd756c
YQ
41072015-04-15 Pedro Alves <palves@redhat.com>
4108 Yao Qi <yao.qi@linaro.org>
4109
4110 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4111 timeout by factor of 4.
4112 (test_regular_watch): Likewise.
4113 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4114 * gdb.reverse/sigall-reverse.exp: Likewise.
4115 * gdb.reverse/until-precsave.exp: Likewise.
4116 * lib/gdb.exp (with_timeout_factor): New proc.
4117 (gdb_expect): Move some code to ...
4118 (get_largest_timeout): ... here. New procedure.
4119
9e811bc3
LM
41202015-04-14 Luis Machado <lgustavo@codesourcery.com>
4121
4122 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4123
0ff6fcb2
LM
41242015-04-13 Luis Machado <lgustavo@codesourcery.com>
4125
4126 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4127 to write to the .text section.
4128
7578d5f7
LM
41292015-04-13 Luis Machado <lgustavo@codesourcery.com>
4130
4131 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4132 Handle the case of targets that do not provide PID information.
4133
2efe15c4
YQ
41342015-04-13 Yao Qi <yao.qi@linaro.org>
4135
4136 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4137 and use expect instead of gdb_expect.
4138
8cd8f2f8
SDJ
41392015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4140
4141 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4142 "coredump_var_addr" to avoid naming conflict with other testcases.
4143
9ee41772
PA
41442015-04-10 Pedro Alves <palves@redhat.com>
4145
4146 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4147 gdb_test_sequence and gdb_assert.
4148
07473109
PA
41492015-04-10 Pedro Alves <palves@redhat.com>
4150
4151 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4152 test messages that don't include the breakpoint address.
4153
de3db44c
YQ
41542015-04-10 Yao Qi <yao.qi@linaro.org>
4155
4156 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4157 false for some offset and width combinations which aren't
4158 supported by linux kernel.
4159
c79d856c
PA
41602015-04-10 Pedro Alves <palves@redhat.com>
4161
4162 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4163 procedure, factored out from ...
4164 (top level): ... here. Add "set displaced-stepping" testing axis.
4165 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4166 parameter "displaced". Use it.
4167 (top level): Use foreach and add "set displaced-stepping" testing
4168 axis.
4169
ebc90b50
PA
41702015-04-10 Pedro Alves <palves@redhat.com>
4171
4172 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4173 Remove comment.
4174 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4175 both the address of the instruction that triggers the watchpoint
4176 and the address of the instruction immediately after, and use
4177 those addresses for the test. Fix comment.
4178
8f572e5c
PA
41792015-04-10 Pedro Alves <palves@redhat.com>
4180
4181 * gdb.base/sigstep.exp (breakpoint_to_handler)
4182 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4183 Test "backtrace" in handler.
4184 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4185 (top level): Add new "displaced" test axis to
4186 breakpoint_to_handler, breakpoint_to_handler_entry and
4187 breakpoint_over_handler.
4188
8d707a12
PA
41892015-04-10 Pedro Alves <palves@redhat.com>
4190
4191 PR gdb/18216
4192 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4193
ef713951
YQ
41942015-04-10 Yao Qi <yao.qi@linaro.org>
4195
4196 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4197 (test_add_rn_pc): New function.
4198 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4199 (top level): Invoke test_add_rn_pc.
4200
906d60cf
PA
42012015-04-10 Pedro Alves <palves@redhat.com>
4202
4203 PR gdb/13858
4204 * gdb.base/step-over-no-symbols.exp: New file.
4205
f2983cc3
AW
42062015-04-09 Andy Wingo <wingo@igalia.com>
4207
4208 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4209 after the Python tests.
4210
6d62641c
SDJ
42112015-04-08 Keith Seitz <keiths@redhat.com>
4212
4213 PR python/16699
4214 * gdb.python/py-completion.exp: New tests for completion.
4215 * gdb.python/py-completion.py (CompleteLimit1): New class.
4216 (CompleteLimit2): Likewise.
4217 (CompleteLimit3): Likewise.
4218 (CompleteLimit4): Likewise.
4219 (CompleteLimit5): Likewise.
4220 (CompleteLimit6): Likewise.
4221 (CompleteLimit7): Likewise.
4222
f3770638
PA
42232015-04-08 Pedro Alves <palves@redhat.com>
4224
4225 PR gdb/18214
4226 PR gdb/18216
4227 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4228 function.
4229 (main): Install it as SIGUSR1 handler.
4230 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4231 parameter. Always use "setup" as prefix. Toggle "set
4232 displaced-stepping" off/on depending on global. Don't switch to
4233 thread 1 here.
4234 (top level): Add displaced stepping "off/on" test axis. Update
4235 "setup" calls. Wrap each subtest with with_test_prefix. Test
4236 continuing with a queued signal in each thread.
4237
4496bed7
PA
42382015-04-08 Pedro Alves <palves@redhat.com>
4239
4240 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4241 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4242 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4243 Return early if running to main fails.
4244 * gdb.trace/while-stepping.exp: Likewise.
4245
b97fde92
PA
42462015-04-07 Pedro Alves <palves@redhat.com>
4247
4248 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4249 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4250 interact with inferior program.
4251
f71c18e7
PA
42522015-04-07 Pedro Alves <palves@redhat.com>
4253
4254 * lib/gdb.exp (inferior_spawn_id): New global.
4255 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4256 spawn id after processing the user code.
4257 (default_gdb_start): Set inferior_spawn_id.
4258 (send_inferior): New procedure.
4259 * lib/gdbserver-support.exp (gdbserver_start): Set
4260 inferior_spawn_id.
4261 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4262
6423214f
PA
42632015-04-07 Pedro Alves <palves@redhat.com>
4264
4265 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4266 * lib/gdbserver-support.exp (gdbserver_start): Make
4267 $server_spawn_id global.
4268 (gdbserver_start): Don't wait for gdbserver's spawn id with
4269 expect_background.
4270 (close_gdbserver): New procedure.
4271 (gdb_exit): Rename the default version and reimplement.
4272
71c0ee8c
PA
42732015-04-07 Pedro Alves <palves@redhat.com>
4274
72f4393d 4275 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
4276 append the substituted item, not the original item.
4277
203bc29b
PA
42782015-04-07 Pedro Alves <palves@redhat.com>
4279
4280 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4281 gdb_expect.
4282
508a3ddf
PA
42832015-04-07 Pedro Alves <palves@redhat.com>
4284
4285 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4286 output appearing once only.
4287
9f6dbe2b
PA
42882015-04-07 Pedro Alves <palves@redhat.com>
4289
4290 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4291 that doesn't expect anything. Return early if running to main
4292 fails.
4293
337532fa
YQ
42942015-04-07 Yao Qi <yao.qi@linaro.org>
4295
4296 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4297 (child_function): Call alarm.
4298 (main): Move call to alarm into the loop.
4299 * gdb.threads/non-stop-fair-events.exp: Build program with
4300 -DTIMEOUT=$timeout.
4301
01b622d4
DE
43022015-04-06 Doug Evans <xdje42@gmail.com>
4303
4304 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4305 Fix dest parameter to board_info.
4306 (fpc_compile): Ditto.
4307 (gdb_compile_pascal): Rename dest arg to destfile.
4308
961f4160
PMR
43092015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4310
4311 * gdb.ada/funcall_ref.exp: New file.
4312 * gdb.ada/funcall_ref/foo.adb: New file.
4313
cafda597
YQ
43142015-04-02 Yao Qi <yao.qi@linaro.org>
4315
4316 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4317 is remote.
4318
fed040c6
GB
43192015-04-02 Gary Benson <gbenson@redhat.com>
4320
4321 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4322
d11916aa
SS
43232015-04-01 Sasha Smundak <asmundak@google.com>
4324
4325 * gdb.python/py-unwind-maint.c: New file.
4326 * gdb.python/py-unwind-maint.exp: New test.
4327 * gdb.python/py-unwind-maint.py: New file.
4328 * gdb.python/py-unwind.c: New file.
4329 * gdb.python/py-unwind.exp: New test.
4330 * gdb.python/py-unwind.py: New test.
4331
a1471180
PA
43322015-04-01 Pedro Alves <palves@redhat.com>
4333
4334 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4335 to fail instead of non-existent $test.
4336
0bbeccb1
PA
43372015-04-01 Pedro Alves <palves@redhat.com>
4338
4339 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4340 GDBFLAGS if not empty.
4341
3c724c8c
PMR
43422015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4343
4344 * gdb.ada/complete.exp: Remove "multi_line".
4345 * gdb.ada/info_exc.exp: Remove "multi_line".
4346 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4347 * gdb.ada/ptype_field.exp: Remove "multi_line".
4348 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4349 * gdb.ada/tagged.exp: Remove "multi_line".
4350 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4351 [multi_line ...]
4352 * gdb.btrace/delta.exp: Likewise.
4353 * gdb.btrace/exception.exp: Likewise.
4354 * gdb.btrace/function_call_history.exp: Likewise.
4355 * gdb.btrace/instruction_history.exp: Likewise.
4356 * gdb.btrace/nohist.exp: Likewise.
4357 * gdb.btrace/record_goto.exp: Likewise.
4358 * gdb.btrace/segv.exp: Likewise.
4359 * gdb.btrace/stepi.exp: Likewise.
4360 * gdb.btrace/tailcall.exp: Likewise.
4361 * gdb.btrace/unknown_functions.exp: Likewise.
4362 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4363 * lib/gdb.exp: Add the "multi_line" helper.
4364
4eec2deb
PA
43652015-04-01 Pedro Alves <palves@redhat.com>
4366
4367 * gdb.threads/tid-reuse.c: New file.
4368 * gdb.threads/tid-reuse.exp: New file.
4369
df8411da
SDJ
43702015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4371
4372 PR corefiles/16092
4373 * gdb.base/coredump-filter.c: New file.
4374 * gdb.base/coredump-filter.exp: Likewise.
4375
6ef37366
PM
43762015-03-27 Petr Machata <pmachata@redhat.com>
4377
4378 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4379 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4380 (Dwarf::assemble): Initialize them.
4381 (Dwarf::lines): New function.
4382
7ec911b0
JT
43832015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4384
4385 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4386 SYMBOL_PREFIX for x86_64-*-cygwin.
4387
ff908ebf
AW
43882015-03-26 Andy Wingo <wingo@igalia.com>
4389
4390 PR symtab/18148
4391 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4392 const_value but not a location.
4393 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4394 location defined in non-main CUs are visible.
4395
6d5f0679
YQ
43962015-03-26 Yao Qi <yao.qi@linaro.org>
4397
4398 PR testsuite/18139
4399 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4400 Add a line number entry for the same line.
4401 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4402 Add a line number entry for the same line.
4403
2898689b
YQ
44042015-03-26 Yao Qi <yao.qi@linaro.org>
4405
4406 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4407 .int 0.
4408 (func): Likewise. Add .Lfunc_1 label.
4409 Use .Lfunc_1 label.
4410 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4411 .int 0.
4412 (func): Likewise.
4413 Use .Lfunc_1 label.
4414
85180498
YQ
44152015-03-26 Yao Qi <yao.qi@linaro.org>
4416
4417 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4418 Call gdb_compile instead to compile each .s files without debug
4419 information.
4420
8aa08a8d
YQ
44212015-03-26 Yao Qi <yao.qi@linaro.org>
4422
4423 * gdb.base/savedregs.exp (process_saved_regs): Make
4424 "Saved registers:" optional in the pattern.
4425
66849923
MM
44262015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4427
4428 * gdb.btrace/next.exp: Merged into step.exp.
4429 * gdb.btrace/finish.exp: Merged into step.exp.
4430 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4431 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4432 "record goto" and checking the exact replay position.
4433 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4434 check for "Recording format" in "info record" output.
4435 * gdb.btrace/record_goto.exp: Choose test file based on target.
4436 * gdb.btrace/x86-record_goto.S: Renamed into ...
4437 * gdb.btrace/x86_64-record_goto.S: ... this.
4438 * gdb.btrace/i686-record_goto.S: New.
4439 * gdb.btrace/x86-tailcall.S: Renamed into ...
4440 * gdb.btrace/x86_64-tailcall.S: ... this.
4441 * gdb.btrace/i686-tailcall.S: New.
4442 * gdb.btrace/x86-tailcall.c: Renamed into ...
4443 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4444 separate statements. Update test.
4445 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4446 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4447 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4448 * gdb.btrace/tailcall.exp: Choose test file based on target.
4449 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4450
11cc1b74
MM
44512015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4452
4453 * gdb.btrace/exception.exp: Increase BTS buffer size.
4454
a25d8bf9
PA
44552015-03-24 Pedro Alves <palves@redhat.com>
4456
4457 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4458
856e7dd6
PA
44592015-03-24 Pedro Alves <palves@redhat.com>
4460
4461 * gdb.threads/schedlock.exp (test_step): No longer expect that
4462 "set scheduler-locking step" with "next" over a function call runs
4463 threads unlocked.
4464
ad235a41
AT
44652015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4466
4467 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4468
15630549
AT
44692015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4470
4471 PR breakpoints/16466
4472 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4473 * gdb.mi/mi-pending.c (thread_func): New function.
4474 (int main): Add threading support required.
4475 * gdb.mi/mi-pending.exp: Add tests for this issue.
4476 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4477 (pendfunc2): Remove stdio dependency.
4478 * gdb.mi/mi-pendshr2.c: New file.
4479
693dca06
KS
44802015-03-23 Keith Seitz <keiths@redhat.com>
4481
4482 * gdb.linespec/keywords.c: New file.
4483 * gdb.linespec/keywords.exp: New file.
4484
7e993ebf
KS
44852015-03-23 Keith Seitz <keiths@redhat.com>
4486
4487 PR gdb/18021
4488 * gdb.dwarf2/staticvirtual.exp: New test.
4489
bc23328c
JK
44902015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4491
4492 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4493 * README: Remove HP-UX and gdb.hp.
4494 (configuration):
4495 * configure: Regenerate.
4496 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4497 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4498 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4499 gdb.hp/gdb.defects/Makefile.
4500 * gdb.hp/Makefile.in: File deleted.
4501 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4502 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4503 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4504 * gdb.hp/gdb.aCC/run.c: File deleted.
4505 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4506 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4507 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4508 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4509 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4510 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4511 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4512 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4513 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4514 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4515 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4516 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4517 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4518 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4519 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4520 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4521 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4522 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4523 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4524 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4525 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4526 * gdb.hp/gdb.compat/average.c: File deleted.
4527 * gdb.hp/gdb.compat/sum.c: File deleted.
4528 * gdb.hp/gdb.compat/xdb.c: File deleted.
4529 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4530 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4531 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4532 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4533 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4534 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4535 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4536 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4537 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4538 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4539 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4540 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4541 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4542 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4543 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4544 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4545 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4546 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4547 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4548 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4549 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4550 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4551 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4552 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4553 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4554 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4555 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4556 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4557 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4558 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4559 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4560 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4561 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4562 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4563 * gdb.hp/tools/odump: File deleted.
4564
8bf3b159
PA
45652015-03-19 Pedro Alves <palves@redhat.com>
4566
4567 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4568 (saw_thread_3): New globals.
4569 (top level): Increment them when an event for the corresponding
4570 thread is seen.
4571 (no thread starvation): New test.
4572
eb54c8bf
PA
45732015-03-19 Pedro Alves <palves@redhat.com>
4574
4575 * gdb.threads/continue-pending-status.c: New file.
4576 * gdb.threads/continue-pending-status.exp: New file.
4577
32d2e5d6
PA
45782015-03-18 Pedro Alves <palves@redhat.com>
4579
4580 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4581 Use gdb_is_target_remote instead of is_remote. Use
4582 gdb_test_multiple instead of gdb_expect. Exit early if
4583 gdb_test_multiple hits its internal matches. Tighten stepi tests
4584 expected output. Fail on exit with any signal, instead of just
4585 SIGILL.
4586
f68f11b7
YQ
45872015-03-18 Yao Qi <yao.qi@linaro.org>
4588
4589 PR tdep/18107
4590 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4591 variable.
4592 * gdb.base/catch-syscall.exp: Don't skip it on
4593 aarch64*-*-linux* target. Remove elements in all_syscalls.
4594 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4595 target.
4596 (setup_all_syscalls): New proc.
4597
ca5fd19b
YQ
45982015-03-16 Yao Qi <yao.qi@linaro.org>
4599
4600 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4601 (top level): Skip tests if valid_addr_p returns false for
4602 $cmd1 or $cmd2.
4603
85642ba0
AW
46042015-03-11 Andy Wingo <wingo@igalia.com>
4605
4606 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4607
e03f9645
YQ
46082015-03-11 Yao Qi <yao.qi@linaro.org>
4609
4610 * gdb.base/catch-syscall.exp: Fix typo in comments.
4611
5d0962b2
YQ
46122015-03-11 Yao Qi <yao.qi@linaro.org>
4613
4614 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4615
b2df3cef
PA
46162015-03-09 Pedro Alves <palves@redhat.com>
4617
4618 * dg-extract-results.py: Delete.
4619
ef878e53
PA
46202015-03-09 Pedro Alves <palves@redhat.com>
4621
4622 Merge dg-extract-results.sh from GCC upstream (r218843).
4623
4624 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4625 * dg-extract-results.sh: Use --text with grep to avoid issues with
4626 binary files. Fall back to cat -v, if that doesn't work.
4627
9494d219
PA
46282015-03-05 Pedro Alves <palves@redhat.com>
4629
4630 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4631
a8d9763a
SM
46322015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4633
4634 * lib/mi-support.exp (mi_expect_interrupt): Accept
4635 alternative event for when in all-stop mode.
4636
be9957b8
PA
46372015-03-04 Pedro Alves <palves@redhat.com>
4638
4639 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4640
d57be0f4 46412015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
4642
4643 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4644
c214c7cf
AA
46452015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4646
4647 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4648 regexps for GDB's current line display, accept a hex address
4649 preceding the line number.
4650
6d74a497
AA
46512015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4652
4653 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4654 the 'arch1' variable for "s390*-linux*" targets.
4655
511aee7c
PA
46562015-03-04 Pedro Alves <palves@redhat.com>
4657
4658 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4659 (main): Pass missing retval argument to pthread_join call.
4660
95e50b27
PA
46612015-03-02 Pedro Alves <palves@redhat.com>
4662
4663 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4664 (top level): Call do_test with non-stop as well.
4665
28054d69
PA
46662015-03-02 Pedro Alves <palves@redhat.com>
4667
4668 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4669 -1.
4670
4fa5d7b4
AA
46712015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4672
4673 * gdb.arch/s390-vregs.exp: New test.
4674 * gdb.arch/s390-vregs.S: New file.
4675
97c18565
PA
46762015-02-27 Pedro Alves <palves@redhat.com>
4677
4678 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4679 call to catch_command_errors.
4680 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4681 catch_command_errors.
4682
a37bfa30
PA
46832015-02-27 Pedro Alves <palves@redhat.com>
4684
4685 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4686 "true" for boolean result.
4687 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4688 prototype of main.
4689
6f98576f
PA
46902015-02-27 Pedro Alves <palves@redhat.com>
4691
4692 * lib/unbuffer_output.c: New file.
4693 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4694 (main): Call gdb_unbuffer_output.
4695
eba5ab56
YQ
46962015-02-27 Yao Qi <yao.qi@linaro.org>
4697
4698 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4699 target.
4700
0def5aaa
DE
47012015-02-26 Doug Evans <dje@google.com>
4702
4703 * gdb.cp/class2.cc (Dbase, D): New classes.
4704 (main): New local delta.
4705 * gdb.cp/class2.exp: Test printing delta.
4706 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4707 (dynbar): New global.
4708 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4709
081a1c2c
JK
47102015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4711
4712 * gdb.compile/compile-ifunc.c: New file.
4713 * gdb.compile/compile-ifunc.exp: New file.
4714
2f41223f
AT
47152015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4716
4717 * gdb.base/structs.exp: Check for correct struct on finish.
4718
03eddd80
YQ
47192015-02-26 Yao Qi <yao.qi@linaro.org>
4720
4721 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4722 is zero.
4723
80c57053
JK
47242015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4725
4726 * gdb.arch/cordic.ko.bz2: New file.
4727 * gdb.arch/cordic.ko.debug.bz2: New file.
4728 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4729
21613c12
YQ
47302015-02-25 Yao Qi <yao.qi@linaro.org>
4731
4732 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4733 aarch64*-*-* target.
4734
d8b901ed
PA
47352015-02-23 Pedro Alves <palves@redhat.com>
4736
4737 * lib/gdb.exp (delete_breakpoints): Rewrite using
4738 gdb_test_multiple.
4739
e5b85ead
PA
47402015-02-23 Pedro Alves <palves@redhat.com>
4741
4742 * gdb.base/info-os.c: Include stdlib.h.
4743
85c3a371
DE
47442015-02-22 Doug Evans <xdje42@gmail.com>
4745
4746 PR symtab/17855
4747 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4748 is read after symbols have been re-read.
4749 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4750 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4751
96553a0c
DE
47522015-02-21 Doug Evans <dje@google.com>
4753
4754 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4755
97a0c697
JK
47562015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4757
4758 PR corefiles/17808
4759 * gdb.arch/i386-biarch-core.core.bz2: New file.
4760 * gdb.arch/i386-biarch-core.exp: New file.
4761
a47cd6e9
PA
47622015-02-21 Pedro Alves <palves@redhat.com>
4763
4764 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4765 runto_main fails.
4766
c5facdc4
PA
47672015-02-20 Pedro Alves <palves@redhat.com>
4768
4769 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4770 info probes.
4771
2db9a427
PA
47722015-02-20 Pedro Alves <palves@redhat.com>
4773
4774 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4775
60fb7e9e
PA
47762015-02-20 Pedro Alves <palves@redhat.com>
4777
4778 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4779 clean_restart before gdb_target_supports_trace.
4780
5c5019c2
PA
47812015-02-20 Pedro Alves <palves@redhat.com>
4782
4783 PR threads/18006
4784 * gdb.threads/clone-thread_db.c: New file.
4785 * gdb.threads/clone-thread_db.exp: New file.
4786
c9587f88
AT
47872015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4788
4789 PR breakpoints/16812
4790 * gdb.base/catch-gdb-caused-signals.c: New file.
4791 * gdb.base/catch-gdb-caused-signals.exp: New file.
4792
f6a88844
JM
47932015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4794
4795 * configure: Regenerated.
4796 * configure.ac: Use GDB_AC_TRANSFORM.
4797 * aclocal.m4: sinclude ../transform.m4.
4798
497c491b
JM
47992015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4800
4801 * lib/dtrace.exp: New file.
4802 * gdb.base/dtrace-probe.exp: Likewise.
4803 * gdb.base/dtrace-probe.d: Likewise.
4804 * gdb.base/dtrace-probe.c: Likewise.
4805 * lib/pdtrace.in: Likewise.
4806 * configure.ac: Output variables with the transformed names of
4807 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4808 * configure: Regenerated.
4809
03e98035
JM
48102015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4811
4812 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4813 expected message when trying to access $_probe_* convenience
4814 variables while not on a probe.
4815
63cc30e9
JK
48162015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4817
4818 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4819
0703599a
PA
48202015-02-11 Pedro Alves <pedro@codesourcery.com>
4821
4822 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4823 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4824
7e60a48e
DE
48252015-02-10 Doug Evans <xdje42@gmail.com>
4826
4827 * lib/gdb.exp (gdb_load): Always return a result.
4828
01b088bc
PA
48292015-02-10 Pedro Alves <palves@redhat.com>
4830
4831 * gdb.threads/signal-sigtrap.c: New file.
4832 * gdb.threads/signal-sigtrap.exp: New file.
4833
b05ec7a5
AT
48342015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4835
4836 * gdb.trace/no-attach-trace.c: New file.
4837 * gdb.trace/no-attach-trace.exp: New file.
4838
a2c2acaf
MW
48392015-02-09 Mark Wielaard <mjw@redhat.com>
4840
4841 * gdb.dwarf2/atomic.c: New file.
4842 * gdb.dwarf2/atomic-type.exp: Likewise.
4843
31fd9caa
MM
48442015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4845
4846 * gdb.btrace/buffer-size.exp: Update "info record" output.
4847 * gdb.btrace/delta.exp: Update "info record" output.
4848 * gdb.btrace/enable.exp: Update "info record" output.
4849 * gdb.btrace/finish.exp: Update "info record" output.
4850 * gdb.btrace/instruction_history.exp: Update "info record" output.
4851 * gdb.btrace/next.exp: Update "info record" output.
4852 * gdb.btrace/nexti.exp: Update "info record" output.
4853 * gdb.btrace/step.exp: Update "info record" output.
4854 * gdb.btrace/stepi.exp: Update "info record" output.
4855 * gdb.btrace/nohist.exp: Update "info record" output.
4856
d33501a5
MM
48572015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4858
4859 * gdb.btrace/buffer-size: New.
4860
f4abbc16
MM
48612015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4862
4863 * gdb.btrace/delta.exp: Update "info record" output.
4864 * gdb.btrace/enable.exp: Update "info record" output.
4865 * gdb.btrace/finish.exp: Update "info record" output.
4866 * gdb.btrace/instruction_history.exp: Update "info record" output.
4867 * gdb.btrace/next.exp: Update "info record" output.
4868 * gdb.btrace/nexti.exp: Update "info record" output.
4869 * gdb.btrace/step.exp: Update "info record" output.
4870 * gdb.btrace/stepi.exp: Update "info record" output.
4871 * gdb.btrace/nohist.exp: Update "info record" output.
4872
b9d61307
SM
48732015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4874
4875 PR gdb/15678
4876 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4877
e584fdbc
PA
48782015-02-06 Pedro Alves <palves@redhat.com>
4879
4880 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4881 macro.
4882 (seconds_left, again): New globals.
4883 (main): Wait seconds_left in a 1-second sleep loop instead of
4884 sleeping 180 seconds. If 'again' is set, reset the seconds
4885 counter.
4886 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4887 'again' in the inferior before detaching. Print the seconds left.
4888 (options): New global.
4889 (top level): Build program with -DTIMEOUT=$timeout.
4890
77f41761
PA
48912015-02-06 Pedro Alves <palves@redhat.com>
4892
4893 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4894 determine how many seconds to pass to 'alarm'.
4895 * gdb.base/gdb-sigterm.exp (top level): Build program with
4896 -DTIMEOUT=$timeout.
4897 (do_test): Return success/failure indication. Add more verbose
4898 logging. Don't fail if 200 single steps are seen. Instead, fail
4899 when the test times out.
4900 (passes): New global.
4901 (top level): Break the testing loop if testing fails on any
4902 iteration. Use gdb_assert.
4903
b9394193
DB
49042015-02-04 Don Breazeal <donb@codesourcery.com>
4905
4906 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4907 and initialize them.
4908 (ipc_cleanup): New function.
4909 (main): Don't declare shmid, semid, and msqid. Add a call to
4910 atexit so that we call ipc_cleanup on exit.
4911
42d9e528
PA
49122015-02-04 Pedro Alves <palves@redhat.com>
4913
4914 * boards/native-extended-gdbserver.exp: Remove any target variant
4915 specifications from the board name before clearing the isremote
4916 flag from board_info.
4917
ae6ae975
DE
49182015-01-31 Doug Evans <xdje42@gmail.com>
4919
4920 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4921
cfb069a8
GB
49222015-01-31 Gary Benson <gbenson@redhat.com>
4923
4924 * gdb.base/completion.exp: Disable completion limiting for
4925 existing tests. Add new tests to check completion limiting.
4926 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4927
5dd31d79
DE
49282015-01-31 Doug Evans <xdje42@gmail.com>
4929
4930 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4931
9f050062
DE
49322015-01-31 Doug Evans <xdje42@gmail.com>
4933
4934 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4935 entries. Duplicate file section script entries.
4936 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4937 inlined entries. Add test for safe-path rejection.
4938 * gdb.python/py-section-script.c: Add duplicate inlined section script
4939 entries. Duplicate file section script entries.
4940 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4941 inlined entries. Add test for safe-path rejection.
4942
df25ebbd
JB
49432015-01-29 Joel Brobecker <brobecker@adacore.com>
4944
4945 * gdb.ada/disc_arr_bound: New testcase.
4946
4a0ca9ec
JB
49472015-01-29 Joel Brobecker <brobecker@adacore.com>
4948
4949 * gdb.ada/mi_var_array: New testcase.
4950
3a8b707a
DE
49512015-01-27 Doug Evans <dje@google.com>
4952
4953 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4954 Add test for objfile.filename, objfile.username after objfile
4955 has been unloaded.
4956
f8313f6e
JB
49572015-01-26 Joel Brobecker <brobecker@adacore.com>
4958
4959 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4960 the second test to print the name attribute of value
4961 returned by the call to gdb.lookup_type, and adjust
4962 the expected output accordingly.
4963
37bc665e
MW
49642015-01-25 Mark Wielaard <mjw@redhat.com>
4965
4966 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4967 * gdb.base/disp-step-fork.c: Include unistd.h.
4968 * gdb.base/siginfo-obj.c: Include stdio.h.
4969 * gdb.base/siginfo-thread.c: Likewise.
4970 * gdb.mi/non-stop.c: Include unistd.h.
4971 * gdb.mi/nsthrexec.c: Include stdio.h.
4972 * gdb.mi/pthreads.c: Include unistd.h.
4973 * gdb.modula2/unbounded1.c (main): Declare returns int.
4974 * gdb.reverse/consecutive-reverse.c: Likewise.
4975 * gdb.threads/create-fail.c: Include unistd.h.
4976 * gdb.threads/killed.c: Likewise.
4977 * gdb.threads/linux-dp.c: Likewise.
4978 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4979 * gdb.threads/non-ldr-exc-2.c: Likewise.
4980 * gdb.threads/non-ldr-exc-3.c: Likewise.
4981 * gdb.threads/non-ldr-exc-4.c: Likewise.
4982 * gdb.threads/pthreads.c: Include unistd.h.
4983 (main): Declare returns int.
4984 * gdb.threads/tls-main.c (foo): New declaration.
4985 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4986
f7e5394d
SM
49872015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4988
4989 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4990 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4991
743649fd
MW
49922015-01-15 Mark Wielaard <mjw@redhat.com>
4993
4994 * gdb.base/noreturn-return.c: New file.
4995 * gdb.base/noreturn-return.exp: New file.
4996 * gdb.base/noreturn-finish.c: New file.
4997 * gdb.base/noreturn-finish.exp: New file.
4998
198297aa
PA
49992015-01-23 Pedro Alves <palves@redhat.com>
5000
5001 * gdb.threads/continue-pending-after-query.c: New file.
5002 * gdb.threads/continue-pending-after-query.exp: New file.
5003
717cf30c
AG
50042015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5005 Simon Marchi <simon.marchi@ericsson.com>
5006
5007 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5008 * gdb.base/valgrind-db-attach.exp: Same.
5009 * gdb.base/valgrind-infcall.exp: Same.
5010 * lib/mi-support.exp (default_mi_gdb_start): Same.
5011 * lib/prompt.exp (default_prompt_gdb_start): Same.
5012 * lib/gdb.exp (default_gdb_spawn): Same.
5013 (gdb_interact): New.
5014
5015
4b62a76e
JK
50162015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5017
5018 * gdb.compile/compile.exp (pointer to jit function): New test.
5019
b4cdae6f
WW
50202015-01-17 Wei-cheng Wang <cole945@gmail.com>
5021
5022 * lib/gdb.exp (supports_process_record): Return true for
5023 powerpc*-*-linux*.
5024 (supports_reverse): Likewise.
5025
d221e7ef
DB
50262015-01-15 Don Breazeal <donb@codesourcery.com>
5027
5028 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5029 instead of checking whether the target board is remote and
5030 use spawn_wait_for_attach instead of exec/sleep.
5031 * gdb.base/attach-twice.exp: Likewise.
5032
bafffb51
JB
50332015-01-15 Joel Brobecker <brobecker@adacore.com>
5034
5035 * gdb.ada/var_arr_attrs: New testcase.
5036
5589af0e
PA
50372015-01-14 Pedro Alves <palves@redhat.com>
5038 Joel Brobecker <brobecker@adacore.com>
5039
5040 PR gdb/17525
5041 * gdb.base/bp-cmds-execution-x-script.c: New file.
5042 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5043 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5044
6c400b59
PA
50452015-01-14 Pedro Alves <palves@redhat.com>
5046
5047 PR cli/17828
5048 * gdb.base/batch-preserve-term-settings.c: New file.
5049 * gdb.base/batch-preserve-term-settings.exp: New file.
5050
e02c96a7
DE
50512015-01-13 Doug Evans <dje@google.com>
5052
5053 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5054 binary.
5055
576fd14c
JB
50562015-01-13 Joel Brobecker <brobecker@adacore.com>
5057
5058 * Makefile.in (clean mostlyclean): Do not delete *.py.
5059
04dccad0
JB
50602015-01-13 Joel Brobecker <brobecker@adacore.com>
5061
5062 * gdb.python/py-lookup-type.exp: New file.
5063
3d230f71
PA
50642015-01-12 Pedro Alves <palves@redhat.com>
5065
5066 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5067 restore GDBFLAGS before returning.
5068
7e67715d
JK
50692015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5070
5071 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5072 is_amd64_regs_target and is_x86_like_target.
5073
f2e0d4b4
DE
50742015-01-11 Doug Evans <xdje42@gmail.com>
5075
5076 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5077 is given without an explicit form.
5078 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5079 attributes.
5080 * gdb.dwarf/corrupt.exp: Ditto.
5081 * gdb.dwarf2/enum-type.exp: Ditto.
5082 * gdb.trace/entry-values.exp: Ditto.
5083 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5084
439250fb
DE
50852015-01-11 Doug Evans <xdje42@gmail.com>
5086
5087 PR gdb/15830
5088 * gdb.base/maint.exp: Remove references to "maint demangle".
5089 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5090 Add tests for explicitly specifying language to demangle.
5091 * gdb.dlang/demangle.exp: Ditto.
5092
ede9f622
PA
50932015-01-09 Pedro Alves <palves@redhat.com>
5094
5095 * gdb.threads/non-stop-fair-events.c: New file.
5096 * gdb.threads/non-stop-fair-events.exp: New file.
5097
a7b796db
PA
50982015-01-09 Pedro Alves <palves@redhat.com>
5099
5100 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5101 the global scope. Set a breakpoint after all threads are started
5102 rather than stepping over two source lines. Expect the prompt.
5103 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5104 global.
5105 (NUM): Now 15.
5106 (main): Use threads_started_barrier to wait for all threads to
5107 start. Main thread no longer calls thread_function. Exit after
5108 180 seconds.
5109 (loop): New function.
5110 (thread_function): Wait on threads_started_barrier barrier. Call
5111 'loop' at each iteration.
5112 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5113 threads have started, instead of hardcoding number of "next"
5114 steps. Use an access watchpoint instead of a write watchpoint.
5115
9665ffdd
PA
51162015-01-09 Pedro Alves <palves@redhat.com>
5117
5118 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5119 (thread_func): Wait on barrier.
5120 (main): Wait for all threads to start before stopping GDB.
5121 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5122 global.
5123 (thread1_func, thread2_func): Wait on barrier.
5124 (main): Wait for all threads to start before stopping GDB.
5125 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5126 New global.
5127 (thread1_func, thread2_func): Wait on barrier.
5128 (main): Wait for all threads to start before stopping GDB.
5129
c945a99f
PA
51302015-01-09 Pedro Alves <palves@redhat.com>
5131
5132 * gdb.threads/attach-many-short-lived-threads.c: New file.
5133 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5134
c1a747c1
PA
51352014-01-09 Pedro Alves <palves@redhat.com>
5136
5137 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5138 instead of to thread 2.
5139 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5140 Add barrier around each pthread_create call instead of around all
5141 calls.
5142 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5143 Set a break on thread_function and have the child threads hit it
5144 one at at a time.
5145
60b3033e
PA
51462015-01-09 Pedro Alves <palves@redhat.com>
5147
5148 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5149 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5150 false.
5151 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5152 checking whether the target board is remote.
5153 * gdb.multi/multi-attach.exp: Likewise.
5154 * gdb.python/py-sync-interp.exp: Likewise.
5155 * gdb.server/ext-attach.exp: Likewise.
5156 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5157 tests that need to attach, instead of checking whether the target
5158 board is remote at the top of the file.
5159
acc018ac
YQ
51602015-01-08 Yao Qi <yao@codesourcery.com>
5161
5162 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5163
50a18af8
JK
51642015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5165
5166 Fix testcase compilation.
5167 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5168
8503d6e1
JB
51692015-01-06 Joel Brobecker <brobecker@adacore.com>
5170
5171 * gdb.python/py-type.exp: Add a couple test about empty
5172 array creation, and negative-length array creation.
5173
cc73dbcc
DE
51742015-01-02 Doug Evans <xdje42@gmail.com>
5175
5176 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5177
0300bbc7
DE
51782015-01-02 Doug Evans <dje@google.com>
5179
5180 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5181
9d85a0ec
YQ
51822014-12-29 Yao Qi <yao@codesourcery.com>
5183
5184 * gdb.trace/entry-values.exp: Update comments. Rename variable
5185 bar_call_foo to returned_from_foo.
5186
87186c6a
MMN
51872014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5188
5189 PR gdb/17394
5190 * gdb.linespec/break-asm-file.c: New file.
5191 * gdb.linespec/break-asm-file.exp: New file.
5192 * gdb.linespec/break-asm-file0.s: New file.
5193 * gdb.linespec/break-asm-file1.s: New file.
5194
1bab7383
YQ
51952014-12-18 Nigel Stephens <nigel@mips.com>
5196 Maciej W. Rozycki <macro@codesourcery.com>
5197
5198 * gdb.base/float.exp: Handle the new output from "info float" on
5199 MIPS targets.
5200
1bc1068a
JK
52012014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5202
5203 Fix MinGW compilation.
5204 * gdb.compile/compile-ops.exp: Update untested message if
5205 !skip_compile_feature_tests.
5206 * gdb.compile/compile-setjmp.exp: Likewise.
5207 * gdb.compile/compile-tls.exp: Likewise.
5208 * gdb.compile/compile.exp: Likewise.
5209 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5210 supported on this host".
5211
b6615d10
DE
52122014-12-16 Doug Evans <xdje42@gmail.com>
5213
5214 * boards/stabs.exp: New file.
5215
25dda427
AA
52162014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5217
5218 * gdb.base/completion.exp: Adjust to format changes of "maint
5219 print user-registers".
5220
bf330350
CU
52212014-12-16 Catalin Udma <catalin.udma@freescale.com>
5222
5223 PR server/17457
5224 * gdb.arch/aarch64-fp.c: New file.
5225 * gdb.arch/aarch64-fp.exp: New file.
5226
395cf596
SDJ
52272014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5228
5229 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5230 r210637, r210913, r211666, r215400, r215817).
5231
5232 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5233 * dg-extract-results.py: New file.
5234 * dg-extract-results.sh: Use it if the environment seems
5235 suitable.
5236
5237 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5238
5239 * dg-extract-results.py (parse_run): Handle warnings that
5240 are printed before a test harness is run.
5241
5242 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5243
5244 * dg-extract-results.py (Named): Remove __cmp__ method.
5245 (output_variation): Use a key to sort variation.harnesses.
5246
5247 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5248
5249 * dg-extract-results.py: For Python 3, force sys.stdout to
5250 handle surrogate escape sequences.
5251 (safe_open): New function.
5252 (output_segment, main): Use it.
5253
5254 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5255
5256 * dg-extract-results.py (Prog.result_re): Include options
5257 in test name.
5258
5259 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5260
5261 * dg-extract-results.py (output_variation): Always sort if
5262 do_sum.
5263
e882ef3c
SM
52642014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5265
5266 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5267 as long as we get pagination notifications.
5268
4992aa20
JM
52692014-12-15 Jason Merrill <jason@redhat.com>
5270
5271 * Makefile.in (check-gdb.%): Restore.
5272 * README: Mention it.
5273
c1b5a1a6
JB
52742014-12-13 Joel Brobecker <brobecker@adacore.com>
5275
5276 * gdb.ada/str_uninit: New testcase.
5277
5537b577
JK
52782014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5279
5280 PR symtab/17642
5281 * gdb.base/vla-stub-define.c: New file.
5282 * gdb.base/vla-stub.c: New file.
5283 * gdb.base/vla-stub.exp: New file.
5284
bb2ec1b3
TT
52852014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5286 Jan Kratochvil <jan.kratochvil@redhat.com>
5287 Tom Tromey <tromey@redhat.com>
5288
5289 * configure.ac: Add gdb.compile/.
5290 * configure: Regenerate.
5291 * gdb.compile/Makefile.in: New file.
5292 * gdb.compile/compile-ops.exp: New file.
5293 * gdb.compile/compile-ops.c: New file.
5294 * gdb.compile/compile-tls.c: New file.
5295 * gdb.compile/compile-tls.exp: New file.
5296 * gdb.compile/compile-constvar.S: New file.
5297 * gdb.compile/compile-constvar.c: New file.
5298 * gdb.compile/compile-mod.c: New file.
5299 * gdb.compile/compile-nodebug.c: New file.
5300 * gdb.compile/compile-setjmp-mod.c: New file.
5301 * gdb.compile/compile-setjmp.c: New file.
5302 * gdb.compile/compile-setjmp.exp: New file.
5303 * gdb.compile/compile-shlib.c: New file.
5304 * gdb.compile/compile.c: New file.
5305 * gdb.compile/compile.exp: New file.
5306 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5307
4ff709eb
TT
53082014-12-12 Tom Tromey <tromey@redhat.com>
5309
5310 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5311 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5312
6dddd6a5
DE
53132014-12-12 Doug Evans <dje@google.com>
5314
5315 * lib/gdb-python.exp (get_python_valueof): New function.
5316 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5317
71c24708
AA
53182014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5319
5320 * gdb.base/completion.exp: Add test for completion of "info
5321 registers ".
5322
3e29f34a
MR
53232014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5324
5325 * gdb.base/func-ptrs.c: New file.
5326 * gdb.base/func-ptrs.exp: New file.
5327
fc126975
SM
53282014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5329
5330 PR breakpoints/17012
5331 * gdb.base/dprintf-detach.c: New file.
5332 * gdb.base/dprintf-detach.exp: New file.
5333
0a46d518
SM
53342014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5335
5336 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5337 * lib/gdb.exp (target_is_gdbserver): New procedure.
5338
a0be3e44
DE
53392014-12-08 Doug Evans <dje@google.com>
5340
5341 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5342
df1b803a
YQ
53432014-12-05 Yao Qi <yao@codesourcery.com>
5344
5345 * gdb.guile/scm-error.exp: Remove the third argument to
5346 gdb_remote_download.
5347 * gdb.guile/scm-frame-args.exp: Likewise.
5348 * gdb.guile/scm-section-script.exp: Likewise.
5349
ddb9f679
YQ
53502014-12-05 Yao Qi <yao@codesourcery.com>
5351
5352 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5353
86e4ed39
DE
53542014-12-04 Doug Evans <dje@google.com>
5355
5356 * gdb.python/py-objfile.exp: Add tests for
5357 objfile.add_separate_debug_file.
5358
7c50a931
DE
53592014-12-04 Doug Evans <dje@google.com>
5360
5361 * lib/gdb.exp (get_build_id): New function.
5362 (build_id_debug_filename_get): Rewrite to use it.
5363 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5364
621661e3
MR
53652014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5366
5367 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5368 `method(long)', not just 0x0.
5369 * gdb.cp/nsalias.exp: Align code labels to 4.
5370 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5371 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5372 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5373 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5374 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5375 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5376
29f0c3b7
DE
53772014-12-02 Doug Evans <dje@google.com>
5378
e1e061e7 5379 PR symtab/17602
29f0c3b7 5380 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 5381 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
5382 * gdb.cp/anon-ns.exp: Update.
5383
162078c8
NB
53842014-12-02 Nick Bull <nicholaspbull@gmail.com>
5385
5386 * gdb.python/py-events.py (inferior_call_handler): New.
5387 (register_changed_handler, memory_changed_handler): New.
5388 (test_events.invoke): Register new handlers.
5389 * gdb.python/py-events.exp: Add tests for inferior call,
5390 memory_changed and register_changed events.
5391
fdb09caf
AA
53922014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5393
5394 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5395 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5396 if the linker doesn't understand this.
5397
55cfb2c4
SM
53982014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5399
5400 * gdb.python/python.exp: Change expected reply to help().
5401
9e8cd6df
YQ
54022014-12-01 Yao Qi <yao@codesourcery.com>
5403
5404 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5405 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5406 * configure: Re-generated.
5407
6c659fc2
SC
54082014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5409
5410 * gdb.cp/chained-calls.cc: New file.
5411 * gdb.cp/chained-calls.exp: New file.
5412 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5413
d7fc3181
SM
54142014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5415
5416 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5417 * gdb.dwarf2/symtab-producer.exp: Same.
5418 * gdb.gdb/python-interrupts.exp: Same.
5419 * gdb.gdb/python-selftest.exp: Same.
5420 * gdb.python/py-linetable.exp: Same.
5421 * gdb.python/py-type.exp: Same.
5422 * gdb.python/py-value-cc.exp: Same.
5423 * gdb.python/py-value.exp: Same.
5424
10e79639
YQ
54252014-11-28 Yao Qi <yao@codesourcery.com>
5426
5427 * gdb.base/break-probes.exp: Match library name prefixed with
5428 sysroot.
5429
f28a0564
SM
54302014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5431
5432 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5433 test expected output. Add parentheses for the call to print.
5434 Remove L suffix from integers.
5435
3fe1ce1d
DE
54362014-11-26 Doug Evans <dje@google.com>
5437
5438 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5439
84429e27
YQ
54402014-11-22 Yao Qi <yao@codesourcery.com>
5441
5442 * gdb.trace/entry-values.c: Remove asms.
5443 (foo): Add foo_label.
5444 (bar): Add bar_label.
5445 * gdb.trace/entry-values.exp: Remove code computing foo's
5446 length and bar's length.
5447 (Dwarf::assemble): Invoke function_range for bar and use
5448 MACRO_AT_func for foo.
5449
26741859
YQ
54502014-11-22 Yao Qi <yao@codesourcery.com>
5451
5452 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5453 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5454 Use .Lgcc43_procstart instead of gcc43.
5455
45e44d27
JB
54562014-11-21 Joel Brobecker <brobecker@adacore.com>
5457
5458 * gdb.ada/n_arr_bound: New testcase.
5459
458c8db8
SDJ
54602014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5461
5462 PR breakpoints/10737
5463 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5464 test_catch_syscall_multi_arch.
5465 (test_catch_syscall_multi_arch): New function.
5466
43f3e411
DE
54672014-11-20 Doug Evans <xdje42@gmail.com>
5468
5469 * gdb.base/maint.exp: Update expected output.
5470
0d7b2549
AA
54712014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5472
5473 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5474 4-byte instruction on S390.
5475
8908fca5
JB
54762014-11-19 Joel Brobecker <brobecker@adacore.com>
5477
5478 * gdb.ada/arr_arr: New testcase.
5479
4a46959e
JB
54802014-11-19 Joel Brobecker <brobecker@adacore.com>
5481
5482 * gdb.ada/pkd_arr_elem: New Testcase.
5483
470e2f4e
LM
54842014-11-18 Luis Machado <lgustavo@codesourcery.com>
5485
5486 * gdb.reverse/break-precsave: Expect completion message for
5487 core file reads.
5488 * gdb.reverse/consecutive-precsave.exp: Likewise.
5489 * gdb.reverse/finish-precsave.exp: Likewise.
5490 * gdb.reverse/i386-precsave.exp: Likewise.
5491 * gdb.reverse/machinestate-precsave.exp: Likewise.
5492 * gdb.reverse/sigall-precsave.exp: Likewise.
5493 * gdb.reverse/solib-precsave.exp: Likewise.
5494 * gdb.reverse/step-precsave.exp: Likewise.
5495 * gdb.reverse/until-precsave.exp: Likewise.
5496 * gdb.reverse/watch-precsave.exp: Likewise.
5497
a267f3ad
AA
54982014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5499
5500 * gdb.base/bp-permanent.c: Include unistd.h.
5501 * gdb.python/py-framefilter-mi.c (main): Add return type.
5502 * gdb.python/py-framefilter.c (main): Likewise.
5503 * gdb.trace/actions-changed.c (main): Likewise.
5504
12084a9a
AA
55052014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5506
5507 * gdb.mi/until.c: Add eye-catchers.
5508 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5509 line numbers.
5510
dc7e1a77
AA
55112014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5512
5513 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5514 function header variants in break1.c.
5515 * gdb.base/ena-dis-br.exp: Likewise.
5516 * gdb.base/hbreak2.exp: Likewise.
5517 * gdb.reverse/until-precsave.exp: Drop references to removed
5518 non-prototype function header variants in ur1.c.
5519 * gdb.reverse/until-reverse.exp: Likewise.
5520
41c77605
PM
55212014-11-17 Petr Machata <pmachata@redhat.com>
5522
5523 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5524 ${_cu_offset_size} bytes abbrev offset.
5525
34248c3a
DE
55262014-11-15 Doug Evans <xdje42@gmail.com>
5527
5528 PR symtab/17559
5529 * gdb.base/line-symtabs.exp: New file.
5530 * gdb.base/line-symtabs.c: New file.
5531 * gdb.base/line-symtabs.h: New file.
5532
646da059
YQ
55332014-11-14 Yao Qi <yao@codesourcery.com>
5534
5535 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5536 (func): Add label func_label.
5537 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5538 Replace low_pc and high_pc with MACRO_AT_range.
5539 Replace name, low_pc and high_pc with MACRO_AT_func.
5540
9301ebe6
YQ
55412014-11-14 Yao Qi <yao@codesourcery.com>
5542
5543 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5544 Replace name, low_pc and high_pc with MACRO_AT_func.
5545
f166b542
YQ
55462014-11-14 Yao Qi <yao@codesourcery.com>
5547
5548 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5549 produce debug information.
5550 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5551
0f6e71e3
YQ
55522014-11-14 Yao Qi <yao@codesourcery.com>
5553
5554 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5555 object and get function length.
5556 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5557 with MACRO_AT_func.
5558 (top-level): Replace gdb_compile and clean_restart with
5559 prepare_for_testing.
5560 * gdb.dwarf2/main.c (main): Add label main_label.
5561
876c4df9
YQ
55622014-11-14 Yao Qi <yao@codesourcery.com>
5563
5564 * lib/dwarf.exp (function_range): New procedure.
5565 (Dwarf::_handle_macro_at_func): New procedure.
5566 (Dwarf::_handle_macro_at_range): New procedure.
5567 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5568
02ad9cf1
YQ
55692014-11-14 Yao Qi <yao@codesourcery.com>
5570
5571 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5572 (_handle_attribute): New procedure.
5573
a59add0c
AA
55742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5575
5576 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5577 * gdb.base/call-sc.c (zed): Likewise.
5578 * gdb.base/checkpoint.c (main): Likewise.
5579 * gdb.base/dump.c (main): Likewise.
5580 * gdb.base/gcore.c (main): Likewise.
5581 * gdb.base/huge.c (main): Likewise.
5582 * gdb.base/multi-forks.c (main): Likewise.
5583 * gdb.base/pr10179-a.c (main): Likewise.
5584 * gdb.base/savedregs.c (main): Likewise.
5585 * gdb.base/sigaltstack.c (main): Likewise.
5586 * gdb.base/siginfo.c (main): Likewise.
5587 * gdb.base/structs.c (zed): Likewise.
5588 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5589 * gdb.mi/mi-syn-frame.c (main): Likewise.
5590 * gdb.mi/until.c (foo, main): Likewise.
5591 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5592 * gdb.base/solib-weak.c (foo): Declare.
5593 * gdb.base/attach-twice.c: Include stdio.h.
5594 * gdb.base/weaklib1.c: Likewise.
5595 * gdb.base/weaklib2.c: Likewise.
5596 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5597 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5598 unistd.h.
5599 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5600 * gdb.mi/mi-exit-code.c: Likewise.
5601 * gdb.base/break-interp-lib.c: Include string.h.
5602 * gdb.base/coremaker.c: Likewise.
5603 * gdb.base/testenv.c: Likewise.
5604 * gdb.python/py-finish-breakpoint.c: Likewise.
5605 * gdb.base/inferior-died.c: Include sys/wait.h.
5606 * gdb.base/fileio.c: Include time.h.
5607 * gdb.base/async-shell.c: Include unistd.h.
5608 * gdb.base/dprintf-non-stop.c: Likewise.
5609 * gdb.base/info-os.c: Likewise.
5610 * gdb.mi/mi-console.c: Likewise.
5611 * gdb.mi/watch-nonstop.c: Likewise.
5612 * gdb.python/py-events.c: Likewise.
5613 * gdb.base/async.c (baz): Move up before its invocation.
5614 * gdb.base/code_elim2.c (my_global_func): Likewise.
5615 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5616 * gdb.base/advance.c (func2): Likewise.
5617
3b5d5997
AA
56182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5619
5620 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5621 variant.
5622 * gdb.base/annota3.c: Likewise.
5623 * gdb.base/async.c: Likewise.
5624 * gdb.base/average.c: Likewise.
5625 * gdb.base/call-ar-st.c: Likewise.
5626 * gdb.base/call-rt-st.c: Likewise.
5627 * gdb.base/call-sc.c: Likewise.
5628 * gdb.base/call-strs.c: Likewise.
5629 * gdb.base/ending-run.c: Likewise.
5630 * gdb.base/execd-prog.c: Likewise.
5631 * gdb.base/exprs.c: Likewise.
5632 * gdb.base/foll-exec.c: Likewise.
5633 * gdb.base/foll-fork.c: Likewise.
5634 * gdb.base/foll-vfork.c: Likewise.
5635 * gdb.base/funcargs.c: Likewise.
5636 * gdb.base/gcore.c: Likewise.
5637 * gdb.base/jump.c: Likewise.
5638 * gdb.base/langs0.c: Likewise.
5639 * gdb.base/langs1.c: Likewise.
5640 * gdb.base/langs2.c: Likewise.
5641 * gdb.base/mips_pro.c: Likewise.
5642 * gdb.base/nodebug.c: Likewise.
5643 * gdb.base/opaque0.c: Likewise.
5644 * gdb.base/opaque1.c: Likewise.
5645 * gdb.base/recurse.c: Likewise.
5646 * gdb.base/run.c: Likewise.
5647 * gdb.base/scope0.c: Likewise.
5648 * gdb.base/scope1.c: Likewise.
5649 * gdb.base/setshow.c: Likewise.
5650 * gdb.base/setvar.c: Likewise.
5651 * gdb.base/shmain.c: Likewise.
5652 * gdb.base/shr1.c: Likewise.
5653 * gdb.base/shr2.c: Likewise.
5654 * gdb.base/sigall.c: Likewise.
5655 * gdb.base/signals.c: Likewise.
5656 * gdb.base/so-indr-cl.c: Likewise.
5657 * gdb.base/solib2.c: Likewise.
5658 * gdb.base/structs.c: Likewise.
5659 * gdb.base/sum.c: Likewise.
5660 * gdb.base/vforked-prog.c: Likewise.
5661 * gdb.base/watchpoint.c: Likewise.
5662 * gdb.reverse/shr2.c: Likewise.
5663 * gdb.reverse/until-reverse.c: Likewise.
5664 * gdb.reverse/ur1.c: Likewise.
5665 * gdb.reverse/watch-reverse.c: Likewise.
5666
066a77c5
AA
56672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5668
5669 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5670 variant.
5671 * gdb.base/sepdebug.exp: Drop references to removed code.
5672
4f204ea5
AA
56732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5674
5675 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5676 variant. Preserve original line numbering.
5677 * gdb.base/list1.c: Likewise.
5678
3b377a3a
AA
56792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5680
5681 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5682 variant.
5683 * gdb.base/break1.c: Likewise.
5684 * gdb.base/break.exp: Drop references to removed code.
5685
e444df73
AA
56862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5687
5688 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5689 variant.
5690
8008f2a7
AA
56912014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5692
5693 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5694
a5a06887
AA
56952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5696
5697 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5698 logic into perform_all_tests() and invoke it with and without
5699 function header prototypes.
5700 (do_function_calls): Remove conditional XFAIL for PR 5318.
5701 (rerun_and_prepare): Remove duplicate code.
5702 (perform_all_tests): New. Main logic moved here.
5703
44dba9b9
AA
57042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5705
5706 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5707 code guarded by #ifdef NO_PROTOTYPES.
5708 (t_double_many_args): Likewise.
5709 (DEF_FUNC_MANY_ARGS_1): Likewise.
5710 (DEF_FUNC_VALUES_1): Likewise.
5711 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5712 guarded by #ifdef PROTOTYPES.
5713
d1fbcd56
AA
57142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5715
5716 * gdb.mi/mi-console.c: Add eye-catcher.
5717 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5718 instead of literal line number.
5719
b0e59b8f
AA
57202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5721
5722 * gdb.base/shr2.c: Add eye-catcher.
5723 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5724 line number.
5725
78f98cca
AA
57262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5727
5728 * gdb.base/jump.c: Add eye-catchers.
5729 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5730 numbers.
5731
58fa2af0
AA
57322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5733
5734 * gdb.base/execd-prog.c: Add eye-catchers.
5735 * gdb.base/foll-exec.c: Likewise.
5736 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5737 line numbers.
5738
04e5059b
AA
57392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5740
5741 * gdb.base/ending-run.c: Add eye-catchers.
5742 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5743 literal line numbers.
5744
dbfdb174
AA
57452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5746
5747 * gdb.base/call-rt-st.c: Add eye-catchers.
5748 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5749 literal line numbers.
5750
888a2ade
AA
57512014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5752
5753 * gdb.base/call-ar-st.c: Add eye-catchers.
5754 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5755 literal line numbers.
5756
6acc2dde
AA
57572014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5758
5759 * gdb.base/average.c: Add eye-catchers.
5760 * gdb.base/sum.c: Likewise.
5761 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5762 regexps dynamically.
5763
9ecfcd1d
AA
57642014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5765
5766 * gdb.base/solib1.c: Add eye-catchers.
5767 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5768 literal line numbers.
5769
78708b7c
PA
57702014-11-12 Pedro Alves <palves@redhat.com>
5771
5772 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5773 leader has exited.
5774
af48d08f
PA
57752014-11-12 Pedro Alves <palves@redhat.com>
5776
5777 * gdb.arch/i386-bp_permanent.c: New file.
5778 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5779 (srcfile): Set to i386-bp_permanent.c.
5780 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5781 that stepi does not execute the 'leave' instruction, instead of
5782 testing it does execute.
5783 * gdb.base/bp-permanent.c: New file.
5784 * gdb.base/bp-permanent.exp: New file.
5785
af3768e9
DE
57862014-11-10 Doug Evans <xdje42@gmail.com>
5787
5788 PR symtab/17564
5789 * gdb.base/symtab-search-order.exp: New file.
5790 * gdb.base/symtab-search-order.c: New file.
5791 * gdb.base/symtab-search-order-1.c: New file.
5792 * gdb.base/symtab-search-order-shlib-1.c: New file.
5793
9de00a4a
PA
57942014-11-07 Pedro Alves <palves@redhat.com>
5795
5796 PR gdb/17511
5797 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5798 i?86-*-linux*.
5799
e0f52461
SC
58002014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5801
5802 PR c++/17494
5803 * gdb.cp/pr17494.cc: New file.
5804 * gdb.cp/pr17494.exp: New file.
5805
6ce8c980
YQ
58062014-11-02 Yao Qi <yao@codesourcery.com>
5807
5808 * gdb.python/python.exp: Get working directory and match the
5809 output of "set extended-prompt \\w " with it.
5810
02be9a71
DE
58112014-10-30 Doug Evans <dje@google.com>
5812
5813 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5814 in objfiles.
5815 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5816 in progspaces.
5817
3bdff46b
LM
58182014-10-30 Janis Johnson <janisjo@codesourcery.com>
5819
5820 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5821 * gdb.base/realname-expand.exp: Likewise.
5822 * gdb.linespec/macro-relative.exp: Likewise.
5823
ab917dfb
PA
58242014-10-29 Pedro Alves <palves@redhat.com>
5825
5826 PR gdb/17408
5827 * gdb.threads/schedlock.c (some_function): New function.
5828 (call_function): New global.
5829 (MAYBE_CALL_SOME_FUNCTION): New macro.
5830 (thread_function): Call it.
5831 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5832 and use it instead of a global counter. Adjust all callers.
5833 (get_current_thread): Use "find current thread" for test message
5834 here rather than having all callers pass down the same string.
5835 (goto_loop): New procedure, factored out from ...
5836 (my_continue): ... this.
5837 (step_ten_loops): Change parameter from test message to command to
5838 use. Adjust.
5839 (list_count): Delete global.
5840 (check_result): New procedure, factored out from duplicate top
5841 level code.
5842 (continue tests): Wrap in with_test_prefix.
5843 (test_step): New procedure, factored out from duplicate top level
5844 code.
5845 (top level): Test "step" in combination with all scheduler-locking
5846 modes. Test "next" in combination with all scheduler-locking
5847 modes, and in combination with stepping over a function call or
5848 not.
5849 * gdb.threads/next-bp-other-thread.c: New file.
5850 * gdb.threads/next-bp-other-thread.exp: New file.
5851
d3d4baed
PA
58522014-10-29 Pedro Alves <palves@redhat.com>
5853
5854 PR python/17372
5855 * gdb.python/python.exp: Test a multi-line command that spawns
5856 interactive Python.
5857 * gdb.base/multi-line-starts-subshell.exp: New file.
5858
563e8d85
YQ
58592014-10-29 Yao Qi <yao@codesourcery.com>
5860
5861 * gdb.base/fileio.exp: Make directories on host.
5862
0ea4d52e
YQ
58632014-10-29 Yao Qi <yao@codesourcery.com>
5864
5865 * gdb.base/fileio.c (test_write): Close the file.
5866
7f5ef605
PA
58672014-10-28 Pedro Alves <palves@redhat.com>
5868
5869 PR gdb/12623
5870 * gdb.base/sigstep.c (no_handler): New global.
5871 (main): If 'no_handler is true, set the signal handlers to
5872 SIG_IGN.
5873 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5874 with_sw_watch and no_handler parameters. Handle them.
5875 (top level) <stepping over handler when stopped at a breakpoint
5876 test>: Add a test axis for testing with a software watchpoint, and
5877 another for testing with the signal handler set to SIG_IGN.
5878 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5879 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5880
abbdbd03
PA
58812014-10-28 Pedro Alves <palves@redhat.com>
5882
5883 PR gdb/17511
5884 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5885 * gdb.base/sigstep.exp (other_handler_location): New global.
5886 (advance): Support stepping into the signal handler, and running
5887 commands while in the handler.
5888 (in_handler_map): New global.
5889 (top level): In the advance test, add combinations for getting
5890 into the handler with stepping commands, and for running commands
5891 in the handler. Add comment descripting the advancei tests.
5892
1df4399f
PA
58932014-10-28 Pedro Alves <palves@redhat.com>
5894
5895 * gdb.base/sigstep.exp: Use build_executable instead of
5896 prepare_for_testing.
5897 (top level): Move code that starts GDB, runs to main and creates a
5898 display to ...
5899 (restart): ... this new procedure.
5900 (top level): Move backtrace from signal handler test to ...
5901 (validate_backtrace): ... this new procedure.
5902 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5903 with_test_prefix. Always restart GDB.
5904 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5905 with_test_prefix. Always restart GDB. No need to delete
5906 breakpoints after the test.
5907 (test_skip_handler): Remove prefix parameter.
5908 (skip_over_handler, breakpoint_to_handler)
5909 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5910 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5911 restart GDB. No need to delete breakpoints after the test.
5912 (top level): Use foreach to call the test procedures with
5913 different commands.
5914
a5b6e449
PA
59152014-10-28 Pedro Alves <palves@redhat.com>
5916
5917 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5918 instead of GNATS numbers.
5919 * gdb.base/sigbpt.exp: Likewise.
5920 * gdb.base/siginfo.exp: Likewise.
5921 * gdb.base/sigstep.exp: Likewise.
5922
e5f8a7cc
PA
59232014-10-27 Pedro Alves <palves@redhat.com>
5924
5925 * gdb.base/sigstep.c (dummy): New global.
5926 (main): Issue a couple writes to the new global.
5927 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5928 procedures.
5929 (skip_over_handler): Use test_skip_handler.
5930 (top level): Call skip_over_handler for stepi and nexti too.
5931 (breakpoint_over_handler): Use test_skip_handler.
5932 (top level): Call breakpoint_over_handler for stepi and nexti too.
5933
763905a3
YQ
59342014-10-27 Yao Qi <yao@codesourcery.com>
5935
5936 * gdb.trace/tfile.c (adjust_function_address)
5937 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5938 function descriptor.
5939
6f259a23
DB
59402014-10-24 Don Breazeal <donb@codesourcery.com>
5941
5942 * gdb.base/foll-fork.exp (test_follow_fork,
5943 catch_fork_child_follow): Check for updated fork messages emitted
5944 from infrun.c.
5945 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5946 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5947 vfork_and_exec_child_follow_through_step): Check for updated vfork
5948 messages emitted from infrun.c.
5949
09dd9a69
PA
59502014-10-24 Pedro Alves <palves@redhat.com>
5951
5952 * gdb.base/corefile.exp: Remove references to ultrix.
5953 * gdb.base/interrupt.exp: Likewise.
5954 * gdb.base/whatis.exp: Likewise.
5955 * gdb.gdb/selftest.exp: Likewise.
5956 * gdb.threads/manythreads.exp: Likewise.
5957 * gdb.threads/print-threads.exp: Likewise.
5958 * gdb.threads/pthreads.exp:: Likewise.
5959 * gdb.threads/schedlock.exp: Likewise.
5960
3433cfa5
SC
59612014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5962
5963 * gdb.cp/non-trivial-retval.cc: Add a test case.
5964 * gdb.cp/non-trivial-retval.exp: Add a test.
5965
092f880b
YQ
59662014-10-20 Yao Qi <yao@codesourcery.com>
5967
5968 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5969 * gdb.python/py-objfile-script-gdb.py: New file.
5970 * gdb.python/py-objfile-script.exp: Update reference to
5971 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5972 of remote_download. Remove the dest file.
5973
acbdb7f3
YQ
59742014-10-20 Yao Qi <yao@codesourcery.com>
5975
5976 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5977 * gdb.base/step-line.exp: Likewise.
5978 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5979 * gdb.dwarf2/dw2-basic.exp: Likewise.
5980 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5981 * gdb.dwarf2/dw2-filename.exp: Likewise.
5982 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5983 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5984 * gdb.dwarf2/dw2-producer.exp: Likewise.
5985 * gdb.dwarf2/mac-fileno.exp: Likewise.
5986 * gdb.python/py-frame-args.exp: Likewise.
5987 * gdb.python/py-framefilter.exp: Likewise.
5988 * gdb.python/py-mi.exp: Likewise.
5989 * gdb.python/py-objfile-script.exp: Likewise
5990 * gdb.python/py-pp-integral.exp: Likewise.
5991 * gdb.python/py-pp-re-notag.exp: Likewise.
5992 * gdb.python/py-prettyprint.exp: Likewise.
5993 * gdb.python/py-section-script.exp: Likewise.
5994 * gdb.python/py-typeprint.exp: Likewise.
5995 * gdb.python/py-xmethods.exp: Likewise.
5996 * gdb.stabs/weird.exp: Likewise.
5997 * gdb.xml/tdesc-regs.exp: Likewise.
5998
bd286a29
KCY
59992014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6000
6001 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6002 (out_cu): Use addr_len for the size of addresses.
6003 (out_line): Likewise. Size DW_LNE_set_address instruction
6004 according to addr_len.
6005 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6006 (FUNC): Add START_INSNS to definition.
6007
673dc4a0
YQ
60082014-10-18 Yao Qi <yao@codesourcery.com>
6009
6010 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6011 gdb_has_argv0 return true.
6012 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6013 check [target_info exists noargs], check [gdb_has_argv0]
6014 instead.
6015 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6016 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6017 procedures.
6018
4ffbba72
DE
60192014-10-17 Doug Evans <dje@google.com>
6020
6021 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6022 event.
6023 * gdb.python/py-events.py: Add clear_objfiles event.
6024
d096d8c1
DE
60252014-10-17 Doug Evans <dje@google.com>
6026
6027 * gdb.python/py-objfile.exp: Test progspace attribute.
6028
a80db015
LM
60292014-10-17 Luis Machado <lgustavo@codesourcery.com>
6030
6031 * gdb.guile/scm-breakpoint.exp: Do not assume any
6032 directory separators when matching source file paths.
6033 * gdb.python/py-breakpoint.exp: Likewise.
6034 * gdb.reverse/break-precsave.exp: Likewise.
6035 * gdb.reverse/break-reverse.exp: Likewise.
6036 * gdb.reverse/consecutive-precsave.exp: Likewise.
6037 * gdb.reverse/finish-precsave.exp: Likewise.
6038 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6039 * gdb.reverse/finish-reverse.exp: Likewise.
6040 * gdb.reverse/i386-precsave.exp: Likewise.
6041 * gdb.reverse/i387-env-reverse.exp: Likewise.
6042 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6043 * gdb.reverse/machinestate-precsave.exp: Likewise.
6044 * gdb.reverse/machinestate.exp: Likewise.
6045 * gdb.reverse/sigall-precsave.exp: Likewise.
6046 * gdb.reverse/solib-precsave.exp: Likewise.
6047 * gdb.reverse/step-precsave.exp: Likewise.
6048 * gdb.reverse/until-precsave.exp: Likewise.
6049 * gdb.reverse/watch-precsave.exp: Likewise.
6050 * gdb.reverse/watch-reverse.exp: Likewise.
6051
b22089ab
YQ
60522014-10-17 Yao Qi <yao@codesourcery.com>
6053
6054 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6055 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6056
6c4486e6
PA
60572014-10-17 Pedro Alves <palves@redhat.com>
6058
6059 PR gdb/17471
6060 * gdb.base/bg-execution-repeat.c: New file.
6061 * gdb.base/bg-execution-repeat.exp: New file.
6062
0ff33695
PA
60632014-10-17 Pedro Alves <palves@redhat.com>
6064
6065 PR gdb/17300
6066 * gdb.base/continue-all-already-running.c: New file.
6067 * gdb.base/continue-all-already-running.exp: New file.
6068
6fdebc3d
PA
60692014-10-17 Pedro Alves <palves@redhat.com>
6070
6071 PR gdb/17472
6072 * gdb.base/annota-input-while-running.c: New file.
6073 * gdb.base/annota-input-while-running.exp: New file.
6074
32a8097b
PA
60752014-10-17 Pedro Alves <palves@redhat.com>
6076
6077 * gdb.base/callfuncs.exp: emove references to osf.
6078 * gdb.base/sigall.exp: Likewise.
6079 * gdb.gdb/selftest.exp: Likewise.
6080 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6081 * gdb.mi/non-stop.c: Likewise.
6082 * gdb.mi/pthreads.c: Likewise.
6083 * gdb.reverse/sigall-precsave.exp: Likewise.
6084 * gdb.reverse/sigall-reverse.exp: Likewise.
6085 * gdb.threads/pthreads.c: Likewise.
6086 * gdb.threads/pthreads.exp: Likewise.
6087
7a3517ff
YQ
60882014-10-17 Yao Qi <yao@codesourcery.com>
6089
6090 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6091 check 'target_info exists noargs'.
6092 (test_command_prompt_position): Likewise.
6093 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6094 Remove "set args".
6095 (progvar_simple_while_test): Likewise.
6096 (progvar_complex_if_while_test): Likewise.
6097 (if_while_breakpoint_command_test): Likewise.
6098 (infrun_breakpoint_command_test): Likewise.
6099 (breakpoint_command_test): Likewise.
6100 (watchpoint_command_test): Likewise.
6101 (bp_deleted_in_command_test): Likewise.
6102 (temporary_breakpoint_commands): Likewise.
6103
bb99c472
YQ
61042014-10-16 Yao Qi <yao@codesourcery.com>
6105
6106 * gdb.base/remotetimeout.exp: Remove noargs checking.
6107
7c16b83e
PA
61082014-10-15 Pedro Alves <palves@redhat.com>
6109
6110 PR breakpoints/9649
6111 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6112 * gdb.base/breakpoint-in-ro-region.exp
6113 (probe_target_hardware_step): New procedure.
6114 (top level): Probe hardware stepping and hardware breakpoint
6115 support. Test stepping through a read-only region, with both
6116 "breakpoint auto-hw" on and off and both "always-inserted" on and
6117 off.
6118
35a49624
IB
61192014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6120
6121 * gdb.dlang/demangle.exp: Update for demangling changes.
6122
2d1c107c
SC
61232014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6124
6125 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6126 * gdb.cp/non-trivial-retval.exp: Add new tests.
6127
778811d5
SC
61282014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6129
6130 PR c++/13403
6131 PR c++/15154
6132 * gdb.cp/non-trivial-retval.cc: New file.
6133 * gdb.cp/non-trivial-retval.exp: New file.
6134
10c5f0a8
YQ
61352014-10-15 Yao Qi <yao@codesourcery.com>
6136
6137 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6138 remote host.
6139
65d7b369
YQ
61402014-10-15 Yao Qi <yao@codesourcery.com>
6141
6142 * gdb.python/py-symbol.exp: Match file base name if host is
6143 remote, otherwise match file name with dir name.
6144 * gdb.python/py-symtab.exp: Likewise.
6145 * gdb.python/python.exp: Likewise.
6146
46dc1394
YQ
61472014-10-15 Yao Qi <yao@codesourcery.com>
6148
6149 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6150 pattern.
6151 * gdb.python/py-symtab.exp: Likewise.
6152 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6153 locationn.
6154
c40cc657
JB
61552014-10-14 Joel Brobecker <brobecker@adacore.com>
6156
6157 * gdb.ada/addr_arith: New testcase.
6158
2abf49e1
MR
61592014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6160
6161 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6162 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6163 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6164 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6165
f7088df3
SDJ
61662014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6167
6168 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6169 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6170 * gdb.arch/stap-eval-lang-ada.exp: New file.
6171
4dc06805
YQ
61722014-10-14 Yao Qi <yao@codesourcery.com>
6173
6174 * gdb.mi/mi-var-child.c (nothing1): New function.
6175 (nothing2): New function.
6176 (do_children_tests): Set function pointers by nothing1 and
6177 nothing2.
6178 * gdb.mi/mi-var-child.exp: Step over new added statements.
6179 Update test to match the new output.
6180 * gdb.mi/var-cmd.c (nothing1): New function.
6181 (nothing2): New function.
6182 (do_children_tests): Set function pointers by nothing1 and
6183 nothing2.
6184 * gdb.mi/mi-var-display.exp: Update test to match output.
6185 Step to the line specified by $line_dct_nothing.
6186 Increase the number of lines to step.
6187
46a93de2
YQ
61882014-10-14 Yao Qi <yao@codesourcery.com>
6189
6190 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6191 tests.
6192 * gdb.mi/mi2-var-child.exp: Likewise.
6193
14ea52ee
DE
61942014-10-13 Doug Evans <dje@google.com>
6195
6196 * gdb.python/py-objfile.exp: Change name of file name test.
6197
e5c6e92b
DE
61982014-10-13 Doug Evans <dje@google.com>
6199
6200 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6201 from the start of the CU.
6202
c780cc2f
JK
62032014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6204 Yao Qi <yao@codesourcery.com>
6205
6206 Fix "save breakpoints" for "catch" command.
6207 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6208 Remove -nonewline. Match also the added "main" line.
6209
99894e11
JK
62102014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6211
6212 Fix "save breakpoints" for "disable $bpnum" command.
6213 * gdb.base/save-bp.c (main): Add label.
6214 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6215
6e1ac5a3
JK
62162014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6217
6218 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6219
754dd2b0
YQ
62202014-10-11 Yao Qi <yao@codesourcery.com>
6221
6222 * gdb.server/server-kill.exp: Execute command
6223 "set remote trace-status-packet on" before "tstatus".
6224
f90183d7
YQ
62252014-10-11 Yao Qi <yao@codesourcery.com>
6226
6227 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6228 (main): Call getppid.
6229 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6230 and continue to it. Read variable "server_pid".
6231
bf40a607
YQ
62322014-10-11 Yao Qi <yao@codesourcery.com>
6233
6234 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6235
052ca370
YQ
62362014-10-11 Yao Qi <yao@codesourcery.com>
6237
6238 * gdb.threads/thread-find.exp: Don't execute command
6239 "info threads".
6240 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6241 * gdb.threads/linux-dp.exp: Don't check the condition
6242 $threads_created equals to zero.
6243
3831839c
PA
62442014-10-10 Pedro Alves <palves@redhat.com>
6245
6246 * gdb.base/bigcore.exp: Remove references to IRIX.
6247 * gdb.base/funcargs.exp: Likewise.
6248 * gdb.base/interrupt.exp: Likewise.
6249 * gdb.base/mips_pro.exp: Likewise.
6250 * gdb.base/nodebug.exp: Likewise.
6251 * gdb.base/setvar.exp: Likewise.
6252 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6253
8b9a549d
PA
62542014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6255 Pedro Alves <palves@redhat.com>
6256
6257 PR symtab/14466
6258 * gdb.base/vdso-warning.c: New file.
6259 * gdb.base/vdso-warning.exp: New file.
6260
d48ba5e8
DE
62612014-10-02 Doug Evans <dje@google.com>
6262
6263 * gdb.base/structs.c (main): Don't run forever.
6264
2278c276
PA
62652014-10-02 Pedro Alves <palves@redhat.com>
6266
6267 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6268 (top level) <stop threads 1, stop threads 2>: Use it.
6269
b57bacec
PA
62702014-10-02 Pedro Alves <palves@redhat.com>
6271
6272 * gdb.threads/break-while-running.exp (test): Add new
6273 'update_thread_list' argument. Skip "info threads" if false.
6274 (top level): Add new 'update_thread_list' axis.
6275
13fd3ff3
PA
62762014-10-02 Pedro Alves <palves@redhat.com>
6277
6278 PR breakpoints/17431
6279 * gdb.base/execl-update-breakpoints.c: New file.
6280 * gdb.base/execl-update-breakpoints.exp: New file.
6281
0fec99e8
PA
62822014-10-01 Pedro Alves <palves@redhat.com>
6283
6284 * gdb.base/breakpoint-in-ro-region.c: New file.
6285 * gdb.base/breakpoint-in-ro-region.exp: New file.
6286
2ddf4301
SM
62872014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6288
6289 * gdb.mi/mi-exit-code.exp: New file.
6290 * gdb.mi/mi-exit-code.c: New file.
6291
6a5f3f43
YQ
62922014-09-30 Yao Qi <yao@codesourcery.com>
6293
6294 * lib/prelink-support.exp (build_executable_own_libs): Error if
6295 the target isn't native.
6296
345bcc73
YQ
62972014-09-30 Yao Qi <yao@codesourcery.com>
6298
6299 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6300 false.
6301
a25a5a45
PA
63022014-09-22 Pedro Alves <palves@redhat.com>
6303
6304 * gdb.threads/break-while-running.exp: New file.
6305 * gdb.threads/break-while-running.c: New file.
6306
00ba3162
YQ
63072014-09-19 Yao Qi <yao@codesourcery.com>
6308
6309 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6310 Invoke test. Restart GDB with --readnow and invoke test again.
6311
c3b7b696
YQ
63122014-09-19 Yao Qi <yao@codesourcery.com>
6313
6314 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6315 proc set_breakpoint_on_gcd_function. Invoke
6316 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6317 invoke set_breakpoint_on_gcd_function again.
6318
2b4fd423
DE
63192014-09-18 Doug Evans <dje@google.com>
6320
6321 * gdb.dwarf2/symtab-producer.exp: New file.
6322
a5947601
SDJ
63232014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6324
6325 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6326 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6327 * gdb.base/global-var-nested-by-dso.c: Likewise.
6328 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6329
91c19059
SDJ
63302014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6331 Pedro Alves <palves@redhat.com>
6332
6333 * gdb.base/watch-bitfields.exp: Pass string other than test file
6334 name to prepare_for_testing.
6335 (watch): New procedure.
6336 (expect_watchpoint): Use with_test_prefix.
6337 (top level): Factor out tests to ...
6338 (test_watch_location, test_regular_watch): ... these new
6339 procedures, and use with_test_prefix and gdb_continue_to_end.
6340
bb9d5f81
PP
63412014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6342
6343 PR breakpoints/12526
6344 * gdb.base/watch-bitfields.exp: New file.
6345 * gdb.base/watch-bitfields.c: New file.
6346
635856f5
PA
63472014-09-16 Pedro Alves <palves@redhat.com>
6348
6349 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6350 software and hardware addresses, not software address against
6351 itself.
6352
7280ceea
PA
63532014-09-16 Pedro Alves <palves@redhat.com>
6354
6355 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6356 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6357
428b16bd
PA
63582014-09-16 Pedro Alves <palves@redhat.com>
6359
6360 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6361 files.
6362 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6363 "*-*-vxworks*" throughout.
6364 * gdb.base/break.exp: Likewise.
6365 * gdb.base/default.exp: Likewise.
6366 * gdb.base/scope.exp: Likewise.
6367 * gdb.base/sepdebug.exp: Likewise.
6368 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6369 throughout.
6370 * gdb.base/run.c: Likewise.
6371 * gdb.base/sepdebug.c: Likewise.
6372 * gdb.hp/gdb.aCC/run.c: Likewise.
6373 * gdb.reverse/until-reverse.c: Likewise.
6374 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6375
666d413c
YQ
63762014-09-16 Yao Qi <yao@codesourcery.com>
6377
6378 * boards/local-remote-host-native.exp: New file.
6379
57cbd724
DE
63802014-09-14 Doug Evans <xdje42@gmail.com>
6381
6382 * gdb.threads/queue-signal.c (thread_count): New variable.
6383 (thread_count_mutex, thread_count_condvar): New variables.
6384 (incr_thread_count, wait_all_threads_running): New functions.
6385 (main): Wait for all threads to be in their thread functions.
6386
81219e53
DE
63872014-09-13 Doug Evans <xdje42@gmail.com>
6388
6389 * gdb.threads/queue-signal.c: New file.
6390 * gdb.threads/queue-signal.exp: New file.
6391
3714cea7
DE
63922014-09-13 Doug Evans <xdje42@gmail.com>
6393
6394 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6395 be consistent with what default_gdb_init uses.
6396 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6397 the plain text of the prompt. Add some logging printfs.
6398 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6399
fa43b1d7
PA
64002014-09-12 Pedro Alves <palves@redhat.com>
6401
6402 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6403 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6404 * gdb.arch/i386-size-overlap.exp: Likewise.
6405 * gdb.arch/i386-size.exp: Likewise.
6406 * gdb.arch/i386-unwind.exp: Likewise.
6407 * gdb.base/a2-run.exp: Likewise.
6408 * gdb.base/break.exp: Likewise.
6409 * gdb.base/charset.exp: Likewise.
6410 * gdb.base/chng-syms.exp: Likewise.
6411 * gdb.base/commands.exp: Likewise.
6412 * gdb.base/dbx.exp: Likewise.
6413 * gdb.base/find.exp: Likewise.
6414 * gdb.base/funcargs.exp: Likewise.
6415 * gdb.base/jit-simple.exp: Likewise.
6416 * gdb.base/reread.exp: Likewise.
6417 * gdb.base/sepdebug.exp: Likewise.
6418 * gdb.base/step-bt.exp: Likewise.
6419 * gdb.cp/mb-inline.exp: Likewise.
6420 * gdb.cp/mb-templates.exp: Likewise.
6421 * gdb.objc/basicclass.exp: Likewise.
6422 * gdb.threads/killed.exp: Likewise.
6423
9d9bf2df
EBM
64242014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6425
6426 PR tdep/17379
6427 * gdb.arch/powerpc-stackless.S: New file.
6428 * gdb.arch/powerpc-stackless.exp: New file.
6429
1cf2f1b0
JK
64302014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6431
6432 * gdb.base/attach.c: Include unistd.h.
6433 (main): Call alarm. Add label postloop.
6434 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6435 gdb_breakpoint, gdb_continue_to_breakpoint.
6436 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6437
98880d46
PA
64382014-09-11 Pedro Alves <palves@redhat.com>
6439
6440 PR gdb/17347
6441 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6442 * gdb.base/attach.exp (test_command_line_attach_run): New
6443 procedure.
6444 (top level): Call it.
6445
4c92ff2c
PA
64462014-09-11 Pedro Alves <palves@redhat.com>
6447
6448 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6449 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6450 (do_command_attach_tests): Use spawn_wait_for_attach.
6451 * gdb.base/solib-overlap.exp: Likewise.
6452 * gdb.multi/multi-attach.exp: Likewise.
6453 * gdb.python/py-prompt.exp: Likewise.
6454 * gdb.python/py-sync-interp.exp: Likewise.
6455 * gdb.server/ext-attach.exp: Likewise.
6456
3adc1a7d
GKB
64572014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6458
6459 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6460 command in testcase. Simplify testcase.
6461
96334934
JB
64622014-09-10 Joel Brobecker <brobecker@adacore.com>
6463
6464 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6465
eb479039
JB
64662014-09-10 Joel Brobecker <brobecker@adacore.com>
6467
6468 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6469
deede10c
JB
64702014-09-10 Joel Brobecker <brobecker@adacore.com>
6471
6472 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6473
7828a5f5
JB
64742014-09-10 Joel Brobecker <brobecker@adacore.com>
6475
6476 * gdb.dwarf2/dynarr-ptr.c: New file.
6477 * gdb.dwarf2/dynarr-ptr.exp: New file.
6478
33aeebcf
MR
64792014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6480
6481 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6482 of 30 rather than hardcoding 120 for a slow test case. Take the
6483 `gdb,timeout' target setting into account for this calculation.
6484 Don't extend the timeout for the test cases that don't need it.
6485
7b415901
MR
64862014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6487
6488 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6489 a factor of 2 for a slow test case. Take the `gdb,timeout'
6490 target setting into account for this calculation.
6491 * gdb.reverse/until-precsave.exp: Increase the timeout by
6492 a factor of 15 and 3 respectively rather than adding 120
6493 for a pair of slow test cases. Take the `gdb,timeout'
6494 target setting into account for this calculation.
6495
4a40f85a
MR
64962014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6497
6498 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6499 timeout, don't pass one down to gdb_expect.
6500 (gdb_expect): Rework timeout selection.
6501
09635af7
MR
65022014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6503
6504 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6505 exception on timeout.
6506 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6507 (gdbserver_start_extended): Catch any `gdbserver_start' error
6508 exceptions.
6509 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6510 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6511 `gdbserver_gdb_load' error exceptions.
6512
2bdd10b7
MR
65132014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6514
6515 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6516 120 on waiting for the TCP socket to open.
6517
316935f0
DE
65182014-09-09 Doug Evans <xdje42@gmail.com>
6519
6520 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6521 _caller_matches, _any_caller_is, _any_caller_matches.
6522
83740597
DE
65232014-09-09 Doug Evans <xdje42@gmail.com>
6524
6525 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6526
4c122fc3
YQ
65272014-09-09 Yao Qi <yao@codesourcery.com>
6528
6529 * gdb.mi/mi-var-display.exp: Set print symbol off.
6530
a9f116cb
GKB
65312014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6532
6533 PR gdb/17035
6534 * gdb.base/commands.exp: Add tests to verify user-defined
6535 commands with empty bodies.
6536 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6537 python commands in `show user command`.
6538 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6539 scheme commands in `show user command`.
6540
c75bd3a2
JK
65412014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6542
6543 PR python/17355
6544 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6545 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6546 * gdb.python/py-framefilter-invalidarg.exp: New file.
6547 * gdb.python/py-framefilter-invalidarg.py: New file.
6548
faa42425
DE
65492014-09-06 Doug Evans <xdje42@gmail.com>
6550
6551 PR 15276
6552 * gdb.python/py-caller-is.c: New file.
6553 * gdb.python/py-caller-is.exp: New file.
6554
474ca4f6
SDJ
65552014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6556
6557 PR gdb/17235
6558 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6559 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6560
eb0b0463
SDJ
65612014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6562
6563 PR fortran/17237
6564 * gdb.fortran/print-formatted.exp: New file.
6565 * gdb.fortran/print-formatted.f90: Likewise.
6566
5f3b99cf
SS
65672014-09-03 Sasha Smundak <asmundak@google.com>
6568
6569 * gdb.python/py-frame.exp: Test Frame.read_register.
6570
7d793aa9
SDJ
65712014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6572
6573 PR python/16699
6574 * gdb.python/py-completion.exp: New file.
6575 * gdb.python/py-completion.py: Likewise.
6576
fb0576e9
DE
65772014-08-28 Doug Evans <dje@google.com>
6578
6579 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6580 eax,etc. are live with values set by gdb and thus the compiler can't
6581 use them.
6582 * gdb.arch/i386-pseudo.c (main): Ditto.
6583
ee92b0dd
DE
65842014-08-27 Doug Evans <dje@google.com>
6585
6586 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6587
6649db35
DE
65882014-08-25 Doug Evans <dje@google.com>
6589
6590 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6591 (main): Ditto.
6592
564b7600
DE
65932014-08-25 Doug Evans <dje@google.com>
6594
6595 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6596
3881fb67
YQ
65972014-08-24 Yao Qi <yao@codesourcery.com>
6598
6599 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6600 symbol off.
6601 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6602
a05a36a5
DE
66032014-08-22 Doug Evans <dje@google.com>
6604
6605 PR 17276
6606 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6607 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6608 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6609
7c343b48
YQ
66102014-08-22 Yao Qi <yao@codesourcery.com>
6611
6612 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6613 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6614 * gdb.python/python.exp: Likewise. Use .py file on the host
6615 instead of the build.
6616
22fd09ae
JK
66172014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6618
6619 * gdb.threads/gcore-stale-thread.c: New file.
6620 * gdb.threads/gcore-stale-thread.exp: New file.
6621
a8454a7c
PA
66222014-08-21 Pedro Alves <palves@redhat.com>
6623
6624 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6625 * gdb.base/gcore-relro-pie.exp: Likewise.
6626 * gdb.base/gcore-relro.exp: Likewise.
6627 * gdb.base/gcore.exp: Likewise.
6628 * gdb.base/print-symbol-loading.exp: Likewise.
6629 * gdb.threads/gcore-thread.exp: Likewise.
6630 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6631
2a31c623
PA
66322014-08-20 Pedro Alves <palves@redhat.com>
6633 Jan Kratochvil <jan.kratochvil@redhat.com>
6634
6635 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6636 configure.
6637 (EXPECT): Handle READ1 being set.
6638 (all): Depend on EXTRA_RULES.
6639 (check-read1, expect-read1, read1.so, read1): New rules.
6640 * README (Testsuite Parameters): Document the READ1 make variable.
6641 (Race detection): New section.
6642 * configure: Regenerate.
6643 * configure.ac: If build==host==target, and running under a
6644 GNU/glibc system, add read1 to the extra Makefile rules.
6645 (EXTRA_RULES): AC_SUBST it.
6646 * lib/read1.c: New file.
6647
d36430db
JB
66482014-08-20 Joel Brobecker <brobecker@adacore.com>
6649
6650 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6651 the handling of variables declared as a typedef to an array
6652 which a DW_AT_data_location attribute.
6653
9a0dc9e3
PA
66542014-08-19 Andrew Burgess <aburgess@broadcom.com>
6655 Pedro Alves <palves@redhat.com>
6656
6657 PR symtab/14604
6658 PR symtab/14605
6659 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6660 gdb_test.
6661
0718a8da
PA
66622014-08-19 Pedro Alves <palves@redhat.com>
6663
6664 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6665
13b448cd
YQ
66662014-08-19 Yao Qi <yao@codesourcery.com>
6667
6668 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6669 right line.
6670
1cbf5077
DB
66712014-08-18 David Blaikie <dblaikie@gmail.com>
6672
6673 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6674
bf0fae19
JB
66752014-08-18 Joel Brobecker <brobecker@adacore.com>
6676
6677 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6678 attribute in array range.
6679
3c8c5dcc
JB
66802014-08-18 Joel Brobecker <brobecker@adacore.com>
6681
6682 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6683
e66d4446
SC
66842014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6685
6686 PR c++/17132
6687 * gdb.cp/pr17132.cc: New file.
6688 * gdb.cp/pr17132.exp: New file.
6689
940df408
SC
66902014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6691
6692 * gdb.python/py-xmethods.py (A_getarrayind)
6693 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6694 Use 'print' with function call syntax.
6695 (E_method_matcher.match): Fix tab vs space indentation mixup.
6696
ebcc6c3a
YQ
66972014-08-15 Yao Qi <yao@codesourcery.com>
6698
6699 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6700 false.
6701
775e0f04
YQ
67022014-08-15 Yao Qi <yao@codesourcery.com>
6703
6704 * gdb.cp/casts.exp: Set print symbol off.
6705 * gdb.cp/class2.exp: Likewise.
6706 * gdb.cp/overload.exp: Likewise.
6707 * gdb.cp/templates.exp: Likewise.
6708
d769e349
DE
67092014-08-11 Doug Evans <dje@google.com>
6710
6711 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6712 (test_load_shlib): Update.
6713
20c6f1e1
YQ
67142014-08-09 Yao Qi <yao@codesourcery.com>
6715
6716 * gdb.base/display.exp: Invoke is_address_zero_readable.
6717 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6718 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6719 * gdb.base/hbreak-unmapped.exp: Return if
6720 is_address_zero_readable returns true.
6721 * gdb.base/signest.exp: Likewise.
6722 * gdb.base/signull.exp: Likewise.
6723 * gdb.base/sigbpt.exp: Likewise.
6724 * gdb.guile/scm-disasm.exp: Do the test if
6725 is_address_zero_readable returns false.
6726 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6727 * gdb.python/py-arch.exp: Likewise.
6728 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6729 * lib/gdb.exp (is_address_zero_readable): New proc.
6730
5792e8e3
YQ
67312014-08-09 Yao Qi <yao@codesourcery.com>
6732
6733 PR testsuite/13443
6734 * gdb.mi/mi-var-display.exp: Make test messages unique.
6735
3cecbbbe
TT
67362014-08-04 Tom Tromey <tromey@redhat.com>
6737
6738 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6739 target 0".
6740
00b51ff5
TT
67412014-08-04 Tom Tromey <tromey@redhat.com>
6742
6743 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6744 "target_resume".
6745
6908c509
JB
67462014-08-01 Joel Brobecker <brobecker@adacore.com>
6747
6748 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6749 inner_vla_struct_object_size.
6750 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6751 as xfail.
6752
cc6563d2
PA
67532014-07-30 Pedro Alves <palves@redhat.com>
6754
6755 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6756 comment.
6757
7e09a223
YQ
67582014-07-29 Yao Qi <yao@codesourcery.com>
6759
6760 PR gdb/17206
6761 * gdb.base/until-nodebug.exp: New.
6762
7ebdbe92
DE
67632014-07-28 Doug Evans <xdje42@gmail.com>
6764
6765 PR guile/17203
6766 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6767 previously existing parameter, and previously ambiguously spelled
6768 parameter.
6769
fdb1adc6
WN
67702014-07-28 Will Newton <will.newton@linaro.org>
6771
6772 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6773
186fcde0
DE
67742014-07-26 Ludovic Courtès <ludo@gnu.org>
6775 Doug Evans <xdje42@gmail.com>
6776
6777 PR guile/17146
6778 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6779
70509625
PA
67802014-07-25 Pedro Alves <palves@redhat.com>
6781
6782 * gdb.threads/signal-command-handle-nopass.c: New file.
6783 * gdb.threads/signal-command-handle-nopass.exp: New file.
6784 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6785 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6786 * gdb.threads/signal-delivered-right-thread.c: New file.
6787 * gdb.threads/signal-delivered-right-thread.exp: New file.
6788
c3f814a1
PA
67892014-07-25 Pedro Alves <palves@redhat.com>
6790
6791 * gdb.base/double-prompt-target-event-error.exp
6792 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6793 match.
6794 (cancel_pagination_in_target_event): Rework double prompt
6795 detection.
6796 * gdb.base/paginate-after-ctrl-c-running.exp
6797 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6798 <return>' match.
6799 * gdb.base/paginate-bg-execution.exp
6800 (test_bg_execution_pagination_return)
6801 (test_bg_execution_pagination_cancel): Remove '-notransfer
6802 <return>' matches.
6803 * gdb.base/paginate-execution-startup.exp
6804 (test_fg_execution_pagination_return)
6805 (test_fg_execution_pagination_cancel): Remove '-notransfer
6806 <return>' matches.
6807 * gdb.base/paginate-inferior-exit.exp
6808 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6809 match.
6810 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6811 * lib/gdb.exp (pagination_prompt): Run text through
6812 string_to_regexp.
6813 (gdb_test_multiple): Match $pagination_prompt instead of
6814 "<return>".
6815 (string_to_regexp): Move to lib/gdb-utils.exp.
6816
e214cf6c
JK
68172014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6818
6819 * gdb.arch/amd64-entry-value-paramref.S: New file.
6820 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6821 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6822 * gdb.arch/amd64-optimout-repeat.S: New file.
6823 * gdb.arch/amd64-optimout-repeat.c: New file.
6824 * gdb.arch/amd64-optimout-repeat.exp: New file.
6825
17d0c5c8
JK
68262014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6827
6828 PR gdb/17170
6829 * gdb.base/statistics.exp: New file.
6830
b8b8facf
DE
68312014-07-17 Doug Evans <dje@google.com>
6832
74b49205 6833 PR gdb/17170
b8b8facf
DE
6834 * gdb.base/maint.exp: Update testing of per-command stats.
6835
1b5d0ab3
PA
68362014-07-16 Pedro Alves <palves@redhat.com>
6837
6838 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6839 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6840 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6841 (tfile_write_buf): New functions.
6842 (add_memory_block): Rewrite using the above.
6843 (adjust_function_address): New function.
6844 (FUNCTION_ADDRESS): New macro.
6845 (write_basic_trace_file): Remove short_x local, and use
6846 tfile_write_16. Change type of func_addr local to unsigned long
6847 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6848 here. Cast argument of add_memory_block to char pointer.
6849 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6850 (main): Remove parameters.
6851 * gdb.trace/tfile.exp: Remove nowarnings.
6852
4d974e88
SM
68532014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6854
6855 * gdb.base/debug-expr.exp: Test string evaluation with
6856 "debug expression" on.
6857
41e99568
PA
68582014-07-15 Pedro Alves <palves@redhat.com>
6859
6860 * gdb.base/reread.exp: Use clean_restart.
6861
487d9753
PL
68622014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6863
6864 * gdb.arch/avr-flash-qualifer.c: New.
6865 * gdb.arch/avr-flash-qualifer.exp: New.
6866
cc1c52ad
PA
68672014-07-14 Pedro Alves <palves@redhat.com>
6868
6869 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6870 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6871
1e973570
PA
68722014-07-14 Pedro Alves <palves@redhat.com>
6873
6874 * gdb.base/double-prompt-target-event-error.c: New file.
6875 * gdb.base/double-prompt-target-event-error.exp: New file.
6876
93d6eb10
PA
68772014-07-14 Pedro Alves <palves@redhat.com>
6878
6879 PR gdb/17072
6880 * gdb.base/paginate-inferior-exit.c: New file.
6881 * gdb.base/paginate-inferior-exit.exp: New file.
6882
0017922d
PA
68832014-07-14 Pedro Alves <palves@redhat.com>
6884
6885 PR gdb/17072
6886 * gdb.base/paginate-bg-execution.c: New file.
6887 * gdb.base/paginate-bg-execution.exp: New file.
6888
94696ad3
PA
68892014-07-14 Pedro Alves <palves@redhat.com>
6890
6891 PR gdb/17072
6892 * gdb.base/paginate-execution-startup.c: New file.
6893 * gdb.base/paginate-execution-startup.exp: New file.
6894 * lib/gdb.exp (pagination_prompt): New global.
6895 (default_gdb_spawn): New procedure, factored out from
6896 default_gdb_spawn.
6897 (default_gdb_start): Adjust to call default_gdb_spawn.
6898 (gdb_spawn): New procedure.
6899
bd293940
PA
69002014-07-14 Pedro Alves <palves@redhat.com>
6901
6902 * lib/gdb.exp (gdb_assert): New procedure.
6903 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6904
c933f875
PA
69052014-07-14 Pedro Alves <palves@redhat.com>
6906
6907 * gdb.base/execution-termios.c: New file.
6908 * gdb.base/execution-termios.exp: New file.
6909
d98b7a16
TT
69102014-07-14 Tom Tromey <tromey@redhat.com>
6911
6912 * gdb.cp/vla-cxx.cc: New file.
6913 * gdb.cp/vla-cxx.exp: New file.
6914
548740d6
TT
69152014-07-14 Tom Tromey <tromey@redhat.com>
6916
6917 * gdb.reverse/rerun-prec.c: New file.
6918 * gdb.reverse/rerun-prec.exp: New file.
6919
a25eb028
MR
69202014-07-12 Maciej W. Rozycki <macro@mips.com>
6921 Maciej W. Rozycki <macro@codesourcery.com>
6922
6923 * lib/gdb-utils.exp: New file.
6924 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6925 inline `gdb_init_command' processing.
6926 (gdb_start_cmd): Likewise.
6927 * lib/mi-support.exp (mi_run_cmd): Likewise.
6928 * README: Document `gdb_init_command' and `gdb_init_commands'.
6929
218c2655
JK
69302014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6931
6932 Fix false FAIL running under a very long directory name.
6933 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6934 and "set print elements 10000". Twice.
6935
5401fde3
YQ
69362014-07-11 Yao Qi <yao@codesourcery.com>
6937
6938 * gdb.base/exprs.exp: "set print symbol off".
6939
e76126e8
PA
69402014-07-11 Pedro Alves <palves@redhat.com>
6941
6942 * gdb.threads/kill.c: New file.
6943 * gdb.threads/kill.exp: New file.
6944
2d6f0de6
YQ
69452014-07-10 Yao Qi <yao@codesourcery.com>
6946
6947 * gdb.trace/tfile.c (write_basic_trace_file)
6948 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6949 address written to trace file.
6950
7180e04a
PA
69512014-07-09 Pedro Alves <palves@redhat.com>
6952
6953 * gdb.base/attach-wait-input.exp: New file.
6954 * gdb.base/attach-wait-input.c: New file.
6955
9a9a7608
AB
69562014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6957
6958 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6959 setting up test structures.
6960 (main): Call new test function.
6961 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6962 test function, continue into test function and walk test
6963 structures.
6964
161ac41e
YQ
69652014-07-02 Yao Qi <yao@codesourcery.com>
6966
6967 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6968 'bar_start' at the beginning of functions 'foo' and 'bar'
6969 respectively.
6970 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6971 instead of 'foo' and 'bar'.
6972
1f267ae3
MM
69732014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6974
6975 * gdb.btrace/segv.exp: New.
6976 * gdb.btrace/segv.c: New.
6977
2b239efb
LM
69782014-07-02 Luis Machado <lgustavo@codesourcery.com>
6979
6980 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6981 instruction.
6982
cf363f18
MW
69832014-06-30 Mark Wielaard <mjw@redhat.com>
6984
6985 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6986 vulture, vilify, villar): New volatile array constants.
6987 (vindictive, vegetation): New const volatile array constants.
6988 * gdb.base/volatile.exp: Test volatile and const volatile array
6989 types.
6990
aebf9d24
AA
69912014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6992
6993 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6994 target lacks support for awatch, rwatch, or hbreak.
6995
b67a2c6f
YQ
69962014-06-27 Yao Qi <yao@codesourcery.com>
6997
6998 * gdb.multi/dummy-frame-restore.exp: New.
6999 * gdb.multi/dummy-frame-restore.c: New.
7000
aef92902
MM
70012014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7002
7003 * gdb.btrace/gcore.exp: New.
7004
8e9db26e
PA
70052014-06-23 Pedro Alves <palves@redhat.com>
7006
7007 * gdb.base/watchpoint-reuse-slot.c: New file.
7008 * gdb.base/watchpoint-reuse-slot.exp: New file.
7009
70afc5b7
SC
70102014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7011
7012 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7013 progspace's filename in 'info', 'enable' and 'disable' command
7014 tests.
7015
b972bd9c
JK
70162014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7017
7018 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7019 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7020 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7021
125f8a3d
GB
70222014-06-20 Gary Benson <gbenson@redhat.com>
7023
7024 * gdb.arch/i386-avx.exp: Fix include file location.
7025 * gdb.arch/i386-sse.exp: Likewise.
7026
3ed9baed
IB
70272014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7028
7029 * gdb.dlang/expression.exp: New file.
7030
034f788c
PA
70312014-06-19 Pedro Alves <palves@redhat.com>
7032
7033 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7034 out from ...
7035 (top level): ... here. Iterate running tests under different
7036 scheduler-locking settings.
7037
45371d0c
LM
70382014-06-18 Luis Machado <lgustavo@codesourcery.com>
7039
7040 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7041 to DW_FORM_addr and use non-zero addresses.
7042
5d376983
SC
70432014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7044
7045 PR gdb/17017
7046 * gdb.python/py-xmethods.cc: Add global function call counters and
7047 increment them in their respective functions. Remove "cout"
7048 statements.
7049 * gdb.python/py-xmethods.exp: Make tests check the global function
7050 call counters instead of depending on inferior IO.
7051
a1aa2221
LM
70522014-06-18 Don Breazeal <donb@codesourcery.com>
7053
7054 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7055 Deleted procedure.
7056 (explicit_fork_parent_follow): Deleted procedure.
7057 (explicit_fork_child_follow): Deleted procedure.
7058 (test_follow_fork): New procedure.
7059 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 7060 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
7061 procedure calls.
7062
0fc05997
YQ
70632014-06-17 Yao Qi <yao@codesourcery.com>
7064
7065 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7066 CP1252.
7067
70795c52
LM
70682014-06-17 Luis Machado <lgustavo@codesourcery.com>
7069
7070 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7071 Initialize ptr and S explicitly.
7072 (skip_type_update_when_not_use_rtti_test): Likewise.
7073
6be47f0c
KS
70742014-06-16 Keith Seitz <keiths@redhat.com>
7075
7076 PR mi/15863
7077 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7078 the inferior is started.
7079
d03de421
PA
70802014-06-16 Pedro Alves <palves@redhat.com>
7081
7082 * gdb.base/break-main-file-remove-fail.c: New file.
7083 * gdb.base/break-main-file-remove-fail.exp: New file.
7084 * gdb.base/break-unload-file.exp: Use build_executable instead of
7085 prepare_for_testing.
7086 (test_break): New parameter "initial_load". Handle it.
7087 (top level): Add initial_load cmdline/file axis.
7088
f9579b99
TT
70892014-06-12 Tom Tromey <tromey@redhat.com>
7090
7091 * gdb.base/completion.exp: Don't use directory name in test.
7092
3657956b
GB
70932014-06-09 Gary Benson <gbenson@redhat.com>
7094
7095 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7096 separate the always-available ANSI-standard signals from the
7097 signals that require checking.
7098 (main): Likewise.
7099 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7100 Likewise.
7101 (main): Likewise.
7102
4186eb54
KS
71032014-06-07 Keith Seitz <keiths@redhat.com>
7104
7105 Revert:
7106 PR c++/16253
7107 * gdb.cp/var-tag.cc: New file.
7108 * gdb.cp/var-tag.exp: New file.
7109 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7110 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7111 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7112 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7113
25326a28 71142014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
7115
7116 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7117
829155c9
PA
71182014-06-06 Pedro Alves <palves@redhat.com>
7119
7120 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7121 in target debug output instead of looking at RSP packets,
7122 disabling the test on any target that uses hardware stepping.
7123 Update comments.
7124
61c8d22e
PA
71252014-06-06 Pedro Alves <palves@redhat.com>
7126
7127 * gdb.base/break-unload-file.exp: Fix typo.
7128
d9a47287
YQ
71292014-06-06 Yao Qi <yao@codesourcery.com>
7130
7131 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7132 from "jit_function" to "^jit_function".
7133
e5e01dbf
YQ
71342014-06-06 Yao Qi <yao@codesourcery.com>
7135
7136 * gdb.base/async.c (foo): Add one statement.
7137 * gdb.base/async.exp: Get the next instruction address and
7138 match the output of "nexti" by instruction address. Match
7139 the hex address in the output of "finish".
7140
73ba372c
GB
71412014-06-06 Gary Benson <gbenson@redhat.com>
7142
7143 * gdb.base/call-signals.c: Remove preprocessor conditionals
7144 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7145 SIGSEGV and SIGTERM.
7146 * gdb.base/sigall.c: Likewise.
7147 * gdb.base/unwindonsignal.c: Likewise.
7148 * gdb.reverse/sigall-reverse.c: Likewise.
7149
831517df
YQ
71502014-06-06 Yao Qi <yao@codesourcery.com>
7151
7152 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7153 readable, skip the test.
7154
b8b91e98
YQ
71552014-06-06 Yao Qi <yao@codesourcery.com>
7156
7157 * gdb.threads/staticthreads.c (thread_function): Move the line
7158 setting breakpoint on forward.
7159 * gdb.threads/staticthreads.exp: Update comments.
7160
fb934770
LC
71612014-06-05 Ludovic Courtès <ludo@gnu.org>
7162
7163 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7164 "history-append! type error".
7165
6ef284bd
SM
71662014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7167
7168 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7169 erroneous dprintf expected input.
7170
a872e241
DE
71712014-06-04 Doug Evans <xdje42@gmail.com>
7172
7173 * gdb.guile/scm-generics.exp: Delete.
7174
16f691fb
DE
71752014-06-04 Doug Evans <xdje42@gmail.com>
7176
7177 * gdb.guile/scm-breakpoint.exp: Update.
7178 Add tests for breakpoint registration.
7179
012370f6
TT
71802014-06-04 Tom Tromey <tromey@redhat.com>
7181
7182 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7183 VLA-in-union.
7184 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7185 inner_vla_struct, vla_union types. Initialize objects of those
7186 types and compute their sizes.
7187
9f5a4cef
HZ
71882014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7189 Hui Zhu <hui@codesourcery.com>
7190
7191 * gdb.base/fileio.exp: Add test for shell not available as well as
7192 available.
7193 * gdb.base/fileio.c (test_system): Check for shell twice.
7194
90a45c4d
YQ
71952014-06-04 Yao Qi <yao@codesourcery.com>
7196
7197 * gdb.base/auto-connect-native-target.exp: Remove redundant
7198 space from the regexp pattern.
7199
70017e41
YQ
72002014-06-04 Yao Qi <yao@codesourcery.com>
7201
7202 * gdb.base/default.exp: Replace "child" with "native" in
7203 regexp pattern.
7204
883964a7
SC
72052014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7206
7207 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7208 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7209 * gdb.python/py-xmethods.py: Python script supporting the
7210 new testcase and tests.
7211
ef370185
JB
72122014-06-03 Joel Brobecker <brobecker@adacore.com>
7213 Pedro Alves <palves@redhat.com>
7214
7215 PR breakpoints/17000
7216 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7217 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7218
1e2ccb61
BM
72192014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7220
7221 * gdb.base/subst.exp: Add tests to verify partial path matching
7222 output.
7223
c6ec5ab2
PA
72242014-06-03 Pedro Alves <palves@redhat.com>
7225
7226 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7227 target that doesn't use software single-stepping.
7228
835c559f
PA
72292014-06-03 Pedro Alves <palves@redhat.com>
7230
7231 PR breakpoints/17000
7232 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7233 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7234
06eb1586
DE
72352014-06-02 Doug Evans <xdje42@gmail.com>
7236
7237 * gdb.guile/scm-parameter.exp: New file.
7238
e698b8c4
DE
72392014-06-02 Doug Evans <xdje42@gmail.com>
7240
7241 * gdb.guile/scm-cmd.c: New file.
7242 * gdb.guile/scm-cmd.exp: New file.
7243
ded03782
DE
72442014-06-02 Doug Evans <xdje42@gmail.com>
7245
7246 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7247 pretty-printer lookup.
7248 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7249 (make-pp_s-printer): Call it.
7250 (make-pretty-printer-from-dict): New function.
7251 (lookup-pretty-printer-maker-from-dict): New function.
7252 (*pretty-printer*): Simplify.
7253 (make-objfile-pp_s-printer): New function.
7254 (install-objfile-pretty-printers!): New function.
7255 (make-progspace-pp_s-printer): New function.
7256 (install-progspace-pretty-printers!): New function.
7257 * gdb.guile/scm-progspace.c: New file.
7258 * gdb.guile/scm-progspace.exp: New file.
7259
41fac0cf
PA
72602014-06-02 Pedro Alves <palves@redhat.com>
7261
7262 * gdb.base/dprintf-bp-same-addr.c: New file.
7263 * gdb.base/dprintf-bp-same-addr.exp: New file.
7264
96ae5695
EBM
72652014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7266
7267 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7268 * gdb.arch/powerpc-power.s: Likewise.
7269
da02b3a8
JB
72702014-06-02 Joel Brobecker <brobecker@adacore.com>
7271
7272 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7273
c72b2e7b
YQ
72742014-06-01 Yao Qi <yao@codesourcery.com>
7275
7276 * gdb.base/watchpoint.exp (test_watch_location): Check null
7277 pointer can be dereferenced. If not, do the test, otherwise
7278 skip it.
7279
53e8a631
AB
72802014-05-30 Andrew Burgess <aburgess@broadcom.com>
7281
7282 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7283 results.
7284 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7285
938f0e2f
AB
72862014-05-30 Andrew Burgess <aburgess@broadcom.com>
7287
7288 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7289 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7290 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7291 * gdb.arch/amd64-invalid-stack-top.c: New file.
7292 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7293
9ba6657a
PA
72942014-05-30 Pedro Alves <palves@redhat.com>
7295
7296 PR breakpoints/17000
7297 * gdb.base/sss-bp-on-user-bp.c: New file.
7298 * gdb.base/sss-bp-on-user-bp.exp: New file.
7299
522c09bf
DB
73002014-05-30 David Blaikie <dblaikie@gmail.com>
7301
7302 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7303 gnu_inline semantics via attribute.
7304 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7305 source explicitly specifies the required semantics.
7306
bf4ef81e
MR
73072014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7308
7309 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7310
329ea579
PA
73112014-05-29 Pedro Alves <palves@redhat.com>
7312 Tom Tromey <tromey@redhat.com>
7313
7314 * gdb.base/async-shell.exp: Don't enable target-async.
7315 * gdb.base/async.exp
7316 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7317 parameter. Adjust.
7318 (top level): Don't test with "target-async".
7319 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7320 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7321 * gdb.base/inferior-died.exp: Don't enable target-async.
7322 * gdb.base/interrupt-noterm.exp: Likewise.
7323 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7324 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7325 * gdb.mi/mi-nonstop.exp: Likewise.
7326 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7327 * gdb.mi/mi-nsintrall.exp: Likewise.
7328 * gdb.mi/mi-nsmoribund.exp: Likewise.
7329 * gdb.mi/mi-nsthrexec.exp: Likewise.
7330 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7331 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7332 * gdb.python/py-evsignal.exp: Don't enable target-async.
7333 * gdb.python/py-evthreads.exp: Likewise.
7334 * gdb.python/py-prompt.exp: Likewise.
7335 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7336 * gdb.server/solib-list.exp: Don't enable target-async.
7337 * gdb.threads/thread-specific-bp.exp: Likewise.
7338 * lib/mi-support.exp: Adjust to use mi-async.
7339
fd664c91
PA
73402014-05-29 Pedro Alves <palves@redhat.com>
7341
7342 PR gdb/13860
7343 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7344 reason, even in sync mode.
7345
251bde03
PA
73462014-05-29 Pedro Alves <palves@redhat.com>
7347 Hui Zhu <hui@codesourcery.com>
7348
7349 PR PR15693
7350 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7351 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7352 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7353 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7354
7f3c0343
JB
73552014-05-28 Joel Brobecker <brobecker@adacore.com>
7356
7357 * config/monitor.exp (gdb_target_monitor): Replace use of
7358 "set remotebaud" by "set serial baud".
7359
b2715b27
AW
73602014-05-26 Andy Wingo <wingo@igalia.com>
7361
7362 * gdb.guile/scm-breakpoint.exp:
7363 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7364 properties instead of gdb-object-properties.
7365
498a4489
YQ
73662014-05-26 Yao Qi <yao@codesourcery.com>
7367
7368 * gdb.server/no-thread-db.exp: Specify source file name
7369 explicitly when setting a breakpoint.
7370
589fdceb
MM
73712014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7372
7373 * gdb.btrace/vdso.c: New.
7374 * gdb.btrace/vdso.exp: New.
7375
e9089e05
MM
73762014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7377
7378 * gdb.base/gcore.exp (capture_command_output): Move ...
7379 * lib/gdb.exp (capture_command_output): ... here.
7380
67b5c0c1
MM
73812014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7382
7383 * gdb.btrace/data.exp: Test memory access during btrace replay.
7384
a2199296
SM
73852014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7386
7387 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7388
17b2616c
PA
73892014-05-21 Pedro Alves <palves@redhat.com>
7390
7391 PR gdb/13860
7392 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7393 (top level): Test that output related to execution commands is
7394 sent to the console with CLI commands, but not with MI commands.
7395 Test that breakpoint events are always mirrored to the console.
7396 Also expect the new source line to be output after a "next" in
7397 async mode too. Make it a pass/fail test.
7398 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7399 output.
7400 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7401
5166082f
PA
74022014-05-21 Pedro Alves <palves@redhat.com>
7403
7404 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7405 Use them to test variations of "list" after reaching a breakpoint.
7406 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7407 Test "list" with listsize 10 after reaching a breakpoint.
7408 * gdb.python/python.exp (decode_line current location line
7409 number): Adjust expected line number.
7410
2f25d70f
SM
74112014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7412
7413 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7414 behavior for $args, pass it directly to "run".
7415
ff604a67
MR
74162014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7417
7418 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7419 30000 to 65536.
7420
6a3cb8e8
PA
74212014-05-21 Pedro Alves <palves@redhat.com>
7422
7423 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7424 auto-connect-native-target off".
7425 * gdb.base/auto-connect-native-target.c: New file.
7426 * gdb.base/auto-connect-native-target.exp: New file.
7427
4ebfc96e
PA
74282014-05-21 Pedro Alves <palves@redhat.com>
7429
7430 * gdb.base/default.exp: Test "target native" instead of "target
7431 child".
7432
36d46afb
MW
74332014-05-21 Mark Wielaard <mjw@redhat.com>
7434
7435 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7436
5876f503
JK
74372014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7438
7439 Fix TLS access for -static -pthread.
7440 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7441 <HAVE_TLS> (thread_function, main): Initialize it.
7442 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7443 Add clean_restart.
7444 <$have_tls != "">: Check TLSVAR.
7445
0256a6ac
PA
74462014-05-21 Pedro Alves <palves@redhat.com>
7447
7448 * gdb.base/dcache-line-read-error.c: New.
7449 * gdb.base/dcache-line-read-error.exp: New.
7450
936d2992
PA
74512014-05-20 Pedro Alves <palves@redhat.com>
7452
7453 * gdb.base/compare-sections.c: New file.
7454 * gdb.base/compare-sections.exp: New file.
7455
802e8e6d
PA
74562014-05-20 Pedro Alves <palves@redhat.com>
7457
7458 * gdb.base/break-idempotent.c: New file.
7459 * gdb.base/break-idempotent.exp: New file.
7460
e59fa00f
MM
74612014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7462
7463 * gdb.btrace/nohist.exp: New.
7464
8b696e31
YQ
74652014-05-20 Yao Qi <yao@codesourcery.com>
7466
7467 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7468 gdb.reverse directory and gdb_reverse_timeout exists in board
7469 setting.
7470 * README: Document gdb_reverse_timeout.
7471
73c9764f
YQ
74722014-05-20 Yao Qi <yao@codesourcery.com>
7473
7474 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7475 'test_file_name'. Treat args as a string instead of a list.
7476 (gdb_init): Rename argument 'args' by 'test_file_name'.
7477
f1f4348a
JK
74782014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7479
7480 * gdb.arch/powerpc-power.exp: New file.
7481 * gdb.arch/powerpc-power.s: New file.
7482
0dbe70ce
DE
74832014-05-16 Doug Evans <dje@google.com>
7484
7485 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
7486 * gdb.base/completion.exp: Check that all expected files exist
7487 before doing file completion.
0dbe70ce 7488
8d551b02
DE
74892014-05-16 Doug Evans <dje@google.com>
7490
7491 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7492 Update.
7493 (do_syscall_tests_without_xml): Update.
7494
73eb7709
PA
74952014-05-16 Pedro Alves <palves@redhat.com>
7496
7497 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7498 instead of "unknown output after running".
7499
3fae92fc
YQ
75002014-05-16 Yao Qi <yao@codesourcery.com>
7501
7502 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7503 file1.txt from host at the end.
7504 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7505
c2b2ccc5
DE
75062014-05-15 Doug Evans <dje@google.com>
7507
7508 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7509 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7510 loading file. Add test for TU lookup.
7511
8c217a4b
SM
75122014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7513
7514 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7515 calling "-exec-arguments" or "set args" before running the
7516 inferior.
7517
3deb39c6
SM
75182014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7519
7520 * lib/mi-support.exp (mi_expect_stop): Expect message for
7521 inferiors that exit with non-zero exit code.
7522
71a79f8c
YQ
75232014-05-14 Yao Qi <yao@codesourcery.com>
7524
7525 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7526 match absolute path on remote host.
7527 (test_file_list_exec_source_files): Remove "/" from the
7528 pattern.
7529
f23fcd46
YQ
75302014-05-14 Yao Qi <yao@codesourcery.com>
7531
7532 * boards/local-remote-host-notty.exp (${board}_file): New
7533 proc.
7534
9404b58f
KM
75352014-05-07 Kyle McMartin <kyle@redhat.com>
7536
7537 Pushed by Joel Brobecker <brobecker@adacore.com>.
7538 * gdb.arch/aarch64-atomic-inst.c: New file.
7539 * gdb.arch/aarch64-atomic-inst.exp: New file.
7540
5e45f04c
YQ
75412014-05-07 Yao Qi <yao@codesourcery.com>
7542
7543 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7544 in current context" too.
7545
c888a17d
KS
75462014-05-05 Keith Seitz <keiths@redhat.com>
7547
7548 * gdb.linespec/ls-dollar.exp: Add test for linespec
7549 file:convenience_variable.
7550
290a839c
YQ
75512014-05-05 Yao Qi <yao@codesourcery.com>
7552
7553 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7554 traceframes into tfile and ctf trace files. Read data from
7555 trace file and test collected data.
7556 (gdb_collect_locals_test): Likewise.
7557 (gdb_unavailable_registers_test): Likewise.
7558 (gdb_unavailable_floats): Likewise.
7559 (gdb_collect_globals_test): Likewise.
7560 (top-level): Append "ctf" to trace_file_targets if GDB
7561 supports.
7562
b5262cd0
YQ
75632014-05-05 Yao Qi <yao@codesourcery.com>
7564
7565 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7566 code to ...
7567 (gdb_collect_args_test_1): ... it. New proc.
7568 (gdb_collect_locals_test): Move some code to ...
7569 (gdb_collect_locals_test_1): ... it. New proc.
7570 (gdb_unavailable_registers_test): Move some code to ...
7571 (gdb_unavailable_registers_test_1): ... it. New proc.
7572 (gdb_unavailable_floats): Move some code to ...
7573 (gdb_unavailable_floats_1): ... it. New proc.
7574
30a1e6cc
SDJ
75752014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7576
7577 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7578 probes to test for bitness recognition.
7579 * gdb.arch/amd64-stap-optional-prefix.exp
7580 (test_probe_value_without_reg): New procedure.
7581 Add code to test for different kinds of bitness.
7582
f33da99a
SDJ
75832014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7584
7585 PR breakpoints/16889
7586 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7587 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7588
5b80f00d
PA
75892014-05-01 Pedro Alves <palves@redhat.com>
7590
7591 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7592 gdb_file_cmd if no file is specified.
7593 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7594 last_loaded_file to set the remote exec-file.
7595
f8c2a73c
PA
75962014-05-01 Pedro Alves <palves@redhat.com>
7597
7598 * boards/local-remote-host.exp: New file.
7599
be6e8ac7
PA
76002014-05-01 Pedro Alves <palves@redhat.com>
7601
7602 * boards/local-remote-host.exp: Rename to ...
7603 * boards/local-remote-host-notty.exp: ... this.
7604
cac0dc8f
JB
76052014-04-28 Joel Brobecker <brobecker@adacore.com>
7606
7607 * gdb.ada/dyn_arrayidx: New testcase.
7608
9730e6cc
YQ
76092014-04-26 Yao Qi <yao@codesourcery.com>
7610
7611 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7612 and compute the length of function main. Save it in
7613 $main_length.
7614 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7615 (top-level): Use gdb_compile to compile objects into
7616 executable and restart GDB. Remove invocation to
7617 prepare_for_testing.
7618
7ae1a6a6
PA
76192014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7620 Pedro Alves <palves@redhat.com>
7621
7622 PR server/16255
7623 * gdb.multi/multi-attach.c: New file.
7624 * gdb.multi/multi-attach.exp: New file.
7625
4082afcc
PA
76262014-04-25 Pedro Alves <palves@redhat.com>
7627
7628 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7629 user.
7630 (top level): Test that "set remote conditional-breakpoints-packet
7631 off" works as intended.
7632 * gdb.base/dprintf.exp: Test that "set remote
7633 breakpoint-commands-packet off" works as intended.
7634 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7635 New function.
7636 (top level): Call it.
7637 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7638 remote fast-tracepoints-packet off" works as intended.
7639 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7640 * lib/gdb.exp (gdb_is_target_remote): ... here.
7641
2abc3f8d
DB
76422014-04-24 David Blaikie <dblaikie@gmail.com>
7643
7644 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7645 ensure clang would not discard them.
7646 * gdb.base/gdbvars.c: Ditto.
7647 * gdb.base/memattr.c: Ditto.
7648 * gdb.base/whatis.c: Ditto.
7649 * gdb.python/py-prettyprint.c: Ditto.
7650 * gdb.trace/actions.c: Ditto.
7651 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7652 ensure clang would not discard it.
7653
bfd39632
DB
76542014-04-24 David Blaikie <dblaikie@gmail.com>
7655
7656 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7657 clang to emit the full definition of type required by the test
7658 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7659
22842ff6
DB
76602014-04-24 David Blaikie <dblaikie@gmail.com>
7661
7662 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7663 coax Clang into emitting the definition of the type.
7664 * gdb.cp/pr10728-x.h (y): Ditto.
7665 * gdb.cp/pr10728-y.cc (y): Ditto.
7666
c2e827ad
DB
76672014-04-24 David Blaikie <dblaikie@gmail.com>
7668
7669 * gdb.base/label.exp: XFAIL label related tests under Clang.
7670 * gdb.cp/cplabel.exp: Ditto.
7671 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7672 under Clang those using labels.
7673
4c2d33e7
YQ
76742014-04-25 Yao Qi <yao@codesourcery.com>
7675
7676 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7677 double_label.
7678 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7679 partial_label and double_label.
7680
56083b99
DB
76812014-04-24 David Blaikie <dblaikie@gmail.com>
7682
7683 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7684
25d4e99d
DB
76852014-04-24 David Blaikie <dblaikie@gmail.com>
7686
7687 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7688 of the function to work across GCC and Clang.
7689 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7690 pointer types (const void ** const V void **).
7691
01f9f808
MS
76922014-04-24 Michael Sturm <michael.sturm@mintel.com>
7693 Walfred Tedeschi <walfred.tedeschi@intel.com>
7694
7695 * Makefile.in (EXECUTABLES): Added i386-avx512.
7696 * gdb.arch/i386-avx512.c: New file.
7697 * gdb.arch/i386-avx512.exp: Likewise.
7698
4b48d439
KS
76992014-04-23 Keith Seitz <keiths@redhat.com>
7700
7701 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7702 (mi_make_breakpoint_table): New procedure.
7703 (mi_create_breakpoint): Use mi_make_breakpoint
7704 and return the result.
7705 (mi_make_breakpoint): New procedure.
7706 (mi_build_kv_pairs): New procedure.
7707
7708 * gdb.mi/mi-break.exp: Remove unused globals,
7709 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7710 All callers updated.
7711 * gdb.mi/mi-dprintf.exp: Use variable to track command
7712 number.
7713 Update all callers of mi_create_breakpoint and use
7714 mi_make_breakpoint_table.
7715 Remove any unused global variables.
7716 * gdb.mi/mi-nonstop.exp: Likewise.
7717 * gdb.mi/mi-nsintrall.exp: Likewise.
7718 * gdb.mi/mi-nsmoribund.exp: Likewise.
7719 * gdb.mi/mi-nsthrexec.exp: Likewise.
7720 * gdb.mi/mi-reverse.exp: Likewise.
7721 * gdb.mi/mi-simplerun.exp: Likewise.
7722 * gdb.mi/mi-stepn.exp: Likewise.
7723 * gdb.mi/mi-syn-frame.exp: Likewise.
7724 * gdb.mi/mi-until.exp: Likewise.
7725 * gdb.mi/mi-var-cp.exp: Likewise.
7726 * gdb.mi/mi-var-display.exp: Likewise.
7727 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7728 * gdb.mi/mi2-var-child.exp: Likewise.
7729 * gdb.mi/mi-vla-c99.exp: Likewise.
7730 * lib/mi-support.exp: Likewise.
7731
7732 From Ian Lance Taylor <iant@cygnus.com>:
7733 * lib/gdb.exp (parse_args): New procedure.
7734
08351840
PA
77352014-04-23 Pedro Alves <palves@redhat.com>
7736
7737 * gdb.base/break-unload-file.c: New file.
7738 * gdb.base/break-unload-file.exp: New file.
7739 * gdb.base/sym-file-lib.c (baz): New function.
7740 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7741 field.
7742 (load): Store the segment's mapped size.
7743 (unload): New function.
7744 (unload_shlib): New function.
7745 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7746 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7747 set a breakpoint at baz, and call it.
7748 * gdb.base/sym-file.exp: New tests for stale breakpoint
7749 instructions.
7750
076855f9
PA
77512014-04-23 Pedro Alves <palves@redhat.com>
7752
7753 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7754 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7755 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7756 * gdb.base/hbreak-unmapped.c: New file.
7757 * gdb.base/hbreak-unmapped.exp: New file.
7758 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7759 * lib/gdb.exp (gdb_is_target_remote): ... here.
7760
483805cf
PA
77612014-04-22 Pedro Alves <palves@redhat.com>
7762
7763 * gdb.base/consecutive-step-over.c: New file.
7764 * gdb.base/consecutive-step-over.exp: New file.
7765
06d97543
PA
77662014-04-22 Pedro Alves <palves@redhat.com>
7767
7768 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7769 instead of send_gdb/gdb_expect.
7770
b4429ea2
YQ
77712014-04-22 Yao Qi <yao@codesourcery.com>
7772
7773 * lib/trace-support.exp (generate_tracefile): New procedure.
7774 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7775 return 0.
7776 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7777 if generate_tracefile returns 1.
7778
51d48146
PA
77792014-04-18 Tom Tromey <palves@redhat.com>
7780 Pedro alves <tromey@redhat.com>
7781
7782 PR backtrace/15558
7783 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7784 with a backtrace limit.
7785 * gdb.python/py-frame-inline.exp: Test running to an inline
7786 function with a backtrace limit, and printing the newest frame.
7787 * gdb.python/py-frame-inline.c (main): Call f.
7788
bd1dce5f
MS
77892014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7790
7791 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7792
40d1a503
MS
77932014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7794
7795 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7796 Drop prefix from unsupported source file path.
7797
389b98f7
YQ
77982014-04-17 Yao Qi <yao@codesourcery.com>
7799
7800 * lib/gdb.exp (with_target_charset): New proc.
7801 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7802 with_target_charset.
7803 (test_print_strings): Likewise.
7804 (test_repeat_bytes): Likewise.
7805 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7806 for some tests.
7807
22869d73
KS
78082014-04-16 Keith Seitz <keiths@redhat.com>
7809
7810 PR gdb/15827
7811 * gdb.dwarf2/corrupt.c: New file.
7812 * gdb.dwarf2/corrupt.exp: New file.
7813
c4f87ca6
KS
78142014-04-16 Keith Seitz <keiths@redhat.com>
7815
7816 PR c++/16597
7817 * gdb.cp/namelessclass.cc: New file.
7818 * gdb.cp/namelessclass.exp: New file.
7819 * gdb.cp/namelessclass.S: New file.
7820
ab19de87
DE
78212014-04-16 Doug Evans <dje@google.com>
7822
7823 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7824 Add comment.
7825 (gdbserver_default_get_comm_port): New function.
7826 (gdbserver_start): Check if board file provided
7827 "gdbserver,get_comm_port" and use it if so.
7828 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7829 (gdb,socketport): Set to "stdio".
7830 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7831 (stdio_gdbserver_template): Delete.
7832 (${board}_get_remote_address): Update.
7833 (${board}_build_remote_cmd): Delete.
7834 (${board}_get_comm_port): New function.
7835 (${board}_spawn): Update.
7836 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7837 Delete.
7838 (${board}_get_remote_address): Update.
7839 (${board}_get_comm_port): New function.
7840
fc98a809
AB
78412014-04-16 Andrew Burgess <aburgess@broadcom.com>
7842
7843 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7844 appearing in any order.
7845
87fd9e6e
DE
78462014-04-15 Doug Evans <dje@google.com>
7847
7848 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7849 uninitialized value of "description".
7850
099fc3ea
KS
78512014-04-15 Keith Seitz <keiths@redhat.com>
7852
7853 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7854 Remove unused globals.
7855 (test_running_the_program): Likewise.
7856 (test_controlled_execution): Likewise.
7857 (test_controlling_breakpoints): Likewise.
7858 (test_program_termination): Likewise.
7859
5da151d4
KS
78602014-04-15 Keith Seitz <keiths@redhat.com>
7861
7862 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7863 unused globals.
7864 (test_rbreak_creation_and_listing): Likewise.
7865 (test_ignore_count): Likewise.
7866 (test_error): Likewise.
7867
35e5d2f0
PA
78682014-04-15 Pedro Alves <palves@redhat.com>
7869
7870 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7871 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7872 sym-file-loader.c.
7873 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7874 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7875 to sym-file-loader.c.
7876 (struct library): Forward declare.
7877 (load_shlib, lookup_function): Change prototypes.
7878 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7879 (translate_offset): Remove declarations.
7880 (get_text_addr): New declaration.
7881 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7882 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7883 sym-file-loader.h.
7884 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7885 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7886 here from sym-file-loader.h.
7887 (struct library): New structure.
7888 (load_shlib, lookup_function): Change prototypes and adjust to
7889 work with a struct library.
7890 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7891 (translate_offset): Make static.
7892 (get_text_addr): New function.
7893 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7894
eb4c1710
PA
78952014-04-15 Pedro Alves <palves@redhat.com>
7896
7897 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7898
2d1baf52
PA
78992014-04-15 Pedro Alves <palves@redhat.com>
7900
7901 * gdb.base/sym-file-loader.c: Include <limits.h>.
7902 (SELF_LINK): New define.
7903 (get_origin): New function.
7904 (load_shlib): Use it.
7905 * gdb.base/sym-file.exp: Don't early return if the target is
7906 remote. Use runto_main, and issue fail is that fails. Use
7907 gdb_load_shlibs.
7908 (shlib_name): Delete.
7909 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7910
7dd6df01
PA
79112014-04-15 Pedro Alves <palves@redhat.com>
7912
7913 * gdb.base/sym-file.exp: Remove regex characters from test
7914 message. Don't refer to breakpoint numbers in test messages.
7915
b50c8614
KS
79162014-04-14 Keith Seitz <keiths@redhat.com>
7917
7918 PR c++/16253
7919 * gdb.cp/var-tag.cc: New file.
7920 * gdb.cp/var-tag.exp: New file.
7921 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7922 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7923 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7924 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7925
3d567982
TT
79262014-04-14 Tom Tromey <tromey@redhat.com>
7927
7928 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7929 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7930 type.
7931 * gdb.cp/enum-class.exp: New file.
7932 * gdb.cp/enum-class.cc: New file.
7933
0626fc76
TT
79342014-04-14 Tom Tromey <tromey@redhat.com>
7935
7936 * gdb.dwarf2/enum-type.exp: New file.
7937
dca325b3
SA
79382014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7939
7940 * gdb.mi/mi-vla-c99.exp: New file.
7941 * gdb.mi/vla.c: New file.
7942
5854b38a
SA
79432014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7944
7945 * gdb.base/vla-datatypes.c: New file.
7946 * gdb.base/vla-datatypes.exp: New file.
7947
463bb957
SA
79482014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7949
7950 * gdb.base/vla-ptr.c: New file.
7951 * gdb.base/vla-ptr.exp: New file.
7952
3dd170be
SA
79532014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7954
7955 * gdb.dwarf2/count.exp: New file.
7956
5ecaaa66
SA
79572014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7958
7959 * gdb.base/vla-sideeffect.c: New file.
7960 * gdb.base/vla-sideeffect.exp: New file.
7961
41f1ada5
DB
79622014-04-14 David Blaikie <dblaikie@gmail.com>
7963
7964 * gdb.mi/non-stop.c: Add return value for non-void function return
7965 statement.
7966 * gdb.threads/staticthreads.c: Ditto.
7967
0be03e84
DE
79682014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7969 Doug Evans <xdje42@gmail.com>
7970
7971 * gdb.guile/scm-value.c: Improve test case.
7972 * gdb.guile/scm-value.exp: Add new test.
7973
f180a1fb
DB
79742014-04-11 David Blaikie <dblaikie@gmail.com>
7975
7976 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7977 override Clang's default.
7978
6b662e19
JB
79792014-04-11 Joel Brobecker <brobecker@adacore.com>
7980
7981 Revert the following changes (regressions):
7982
7983 * gdb.base/vla-sideeffect.c: New file.
7984 * gdb.base/vla-sideeffect.exp: New file.
7985
7986 * gdb.dwarf2/count.exp: New file.
7987
7988 * gdb.base/vla-multi.c: New file.
7989 * gdb.base/vla-multi.exp: New file.
7990
7991 * gdb.base/vla-ptr.c: New file.
7992 * gdb.base/vla-ptr.exp: New file.
7993
7994 * gdb.base/vla-datatypes.c: New file.
7995 * gdb.base/vla-datatypes.exp: New file.
7996
7997 * gdb.mi/mi-vla-c99.exp: New file.
7998 * gdb.mi/vla.c: New file.
7999
245a5f0b
KS
80002014-04-11 Keith Seitz <keiths@redhat.com>
8001
8002 PR c++/16675
8003 * gdb.cp/cpsizeof.exp: New file.
8004 * gdb.cp/cpsizeof.cc: New file.
8005
58a84dcf
SA
80062014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8007
191a8a90
JB
8008 * gdb.mi/mi-vla-c99.exp: New file.
8009 * gdb.mi/vla.c: New file.
58a84dcf 8010
c8655f75
SA
80112014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8012
8013 * gdb.base/vla-datatypes.c: New file.
8014 * gdb.base/vla-datatypes.exp: New file.
8015
024e13b4
SA
80162014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8017
8018 * gdb.base/vla-ptr.c: New file.
8019 * gdb.base/vla-ptr.exp: New file.
8020
1a237e0e
SA
80212014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8022
8023 * gdb.base/vla-multi.c: New file.
8024 * gdb.base/vla-multi.exp: New file.
8025
504f3432
SA
80262014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8027
8028 * gdb.dwarf2/count.exp: New file.
8029
3bce8237
SA
80302014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8031
191a8a90
JB
8032 * gdb.base/vla-sideeffect.c: New file.
8033 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 8034
322f9c21
YQ
80352014-04-11 Yao Qi <yao@codesourcery.com>
8036
8037 * gdb.base/completion.exp: Check file exists before running tests
8038 on file completion.
8039
d708bcd1
PA
80402014-04-10 Pedro Alves <palves@redhat.com>
8041
8042 * gdb.base/cond-eval-mode.c: New file.
8043 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8044 prepare_for_testing to build the new file. Check result of
8045 runto_main.
8046 (test_break, test_watch): New procedures.
8047 (top level): Use them.
8048
ae1d2761
PM
80492014-04-08 Pierre Muller <muller@sourceware.org>
8050
8051 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8052 Ctrl-V use for mingw hosts.
8053
7af389b8
SC
80542014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8055
8056 * gdb.python/py-value.c: Improve test case.
8057 * gdb.python/py-value.exp: Add new test.
8058
5e703181
DE
80592014-04-07 David Blaikie <dblaikie@gmail.com>
8060
8061 * lib/compiler.c: Identify the clang compiler.
8062 * lib/compiler.cc: Ditto.
8063
9810b410
YQ
80642014-04-03 Yao Qi <yao@codesourcery.com>
8065
8066 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8067
98d1b8dc
AB
80682014-04-01 Anton Blanchard <anton@samba.org>
8069
8070 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8071 messages unique.
8072
3114cea1
AB
80732014-04-01 Anton Blanchard <anton@samba.org>
8074
8075 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8076 prepare_for_testing.
8077
62f7182c
AB
80782014-04-01 Anton Blanchard <anton@samba.org>
8079
8080 * gdb.arch/ppc64-atomic-inst.c: Remove.
8081 * gdb.arch/ppc64-atomic-inst.S: New file.
8082 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8083
770e7fc7
DE
80842014-03-31 Doug Evans <dje@google.com>
8085
8086 * gdb.base/print-symbol-loading-lib.c: New file.
8087 * gdb.base/print-symbol-loading-main.c: New file.
8088 * gdb.base/print-symbol-loading.exp: New file.
8089
46e2bafa
YQ
80902014-03-31 Yao Qi <yao@codesourcery.com>
8091
8092 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8093
8776cfe9
JB
80942014-03-28 Joel Brobecker <brobecker@adacore.com>
8095
8096 * gdb.ada/mi_dyn_arr: New testcase.
8097
5d1ef361
DE
80982014-03-27 Doug Evans <dje@google.com>
8099
8100 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8101
b5bee914
YQ
81022014-03-27 Yao Qi <yao@codesourcery.com>
8103
8104 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8105 if target is nios2-*-*.
8106
0d4d0e77
YQ
81072014-03-26 Yao Qi <yao@codesourcery.com>
8108
8109 * lib/gdb.exp (readline_is_used): New proc.
8110 * gdb.base/completion.exp: Move tests on command complete up.
8111 Skip the rest of tests if readline is not used.
8112 * gdb.ada/complete.exp: Skp the test if readline is not
8113 used.
8114 * gdb.base/filesym.exp: Likewise.
8115 * gdb.base/macscp.exp: Likewise.
8116 * gdb.base/readline-ask.exp: Likewise.
8117 * gdb.base/readline.exp: Likewise.
8118 * gdb.python/py-cmd.exp: Likewise.
8119 * gdb.trace/tfile.exp: Likewise.
8120
29361eee
YQ
81212014-03-26 Yao Qi <yao@codesourcery.com>
8122
8123 * gdb.base/macscp.exp: Fix code format issues.
8124
bc9a5525
UW
81252014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8126
8127 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8128 * gdb.asm/powerpc64le.inc: New file.
8129
d3839ede
PA
81302014-03-25 Pedro Alves <palves@redhat.com>
8131 Doug Evans <dje@google.com>
8132
8133 * gdb.base/source-execution.c: New file.
8134 * gdb.base/source-execution.exp: New file.
8135 * gdb.base/source-execution.gdb: New file.
8136
01672a57
DE
81372014-03-24 Doug Evans <dje@google.com>
8138
8139 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8140 using fission.
8141
88bbeca9
HZ
81422014-03-24 Hui Zhu <hui@codesourcery.com>
8143 Pedro Alves <palves@redhat.com>
8144
8145 PR breakpoints/16101
8146 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8147 test pass/fail messages. Detect missing support for dprintf when
8148 breakpoints are actually inserted.
8149 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8150 breakpoints are actually inserted.
8151 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8152 fails.
8153
d2348791
JK
81542014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8155
8156 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8157
feef67ab
DE
81582014-03-22 Doug Evans <xdje42@gmail.com>
8159
8160 * gdb.python/python.exp (python not supported): Verify multi-line
8161 python command issues an error.
25d743f9 8162 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 8163 guile command issues an error.
feef67ab 8164
ecebef6a
MR
81652014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8166
8167 * gdb.threads/thread-specific.exp: Handle the lack of usable
8168 $this_breakpoint and $this_thread.
8169
ccdd1909
HZ
81702014-03-21 Hui Zhu <hui@codesourcery.com>
8171
8172 * gdb.base/attach.exp (do_command_attach_tests): New.
8173
beb460e8
PA
81742014-03-20 Tom Tromey <tromey@redhat.com>
8175 Pedro Alves <palves@redhat.com>
8176
8177 PR cli/15718
8178 * gdb.base/condbreak-call-false.c: New file.
8179 * gdb.base/condbreak-call-false.exp: New file.
8180
40acf43a
PA
81812014-03-20 Pedro Alves <palves@redhat.com>
8182
8183 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8184 Delete.
8185 (block_signals, unblock_signals): Delete.
8186 (child_function_2, main): Remove references to deleted variable
8187 and functions.
8188
9f5e1e02
PA
81892014-03-20 Pedro Alves <palves@redhat.com>
8190
8191 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8192 Use pthread_kill to signal thread 2.
8193 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8194 Adjust to make the test send itself a signal rather than using the
8195 host's "kill" command.
8196
99619bea
PA
81972014-03-20 Pedro Alves <palves@redhat.com>
8198
8199 * gdb.threads/multiple-step-overs.c: New file.
8200 * gdb.threads/multiple-step-overs.exp: New file.
8201 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8202 Adjust expected infrun debug output.
8203
2adfaa28
PA
82042014-03-20 Pedro Alves <palves@redhat.com>
8205
8206 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8207 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8208
31e77af2
PA
82092014-03-20 Pedro Alves <palves@redhat.com>
8210
8211 PR breakpoints/7143
8212 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8213 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8214 of gdb_test_multiple.
8215 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8216 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8217
b9f437de
PA
82182014-03-20 Pedro Alves <palves@redhat.com>
8219
8220 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8221 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8222
05adc73e
PA
82232014-03-19 Pedro Alves <palves@redhat.com>
8224
8225 * gdb.base/async.exp: Remove early return.
8226
6048b950
PA
82272014-03-19 Pedro Alves <palves@redhat.com>
8228
8229 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8230
8bcfb00a
PA
82312014-03-19 Pedro Alves <palves@redhat.com>
8232
8233 * gdb.base/async.exp (test_background): Expect \r\n after
8234 "completed." in the fail pattern.
8235
884e37dc
PA
82362014-03-19 Pedro Alves <palves@redhat.com>
8237
8238 * gdb.base/async.exp (test_background): New procedure.
8239 Use it for all background execution command tests.
8240
148e57e2
PA
82412014-03-19 Pedro Alves <palves@redhat.com>
8242
8243 * gdb.base/async.exp: Use prepare_for_testing.
8244
f48088c7
PA
82452014-03-19 Pedro Alves <palves@redhat.com>
8246
8247 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8248 the same line.
8249
e2f6c966
PA
82502014-03-19 Pedro Alves <palves@redhat.com>
8251
8252 * gdb.base/async.c (main): Add "jump here" and "until here" line
8253 marker comments.
8254 * gdb.base/async.exp (jump_here): New global.
8255 (jump& test): Use it.
8256 (until_here): New global.
8257 (until& test): Use it.
8258
c30568d4
PA
82592014-03-19 Pedro Alves <palves@redhat.com>
8260
8261 * gdb.base/async.exp: Don't frob gdb_protocol.
8262
0172b6a7
DE
82632014-03-18 Doug Evans <xdje42@gmail.com>
8264
8265 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8266 Fix spelling of exec-done-display.
8267
06c868a8
JK
82682014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8269
8270 PR gdb/15358
8271 * gdb.base/gdb-sigterm.c: New file.
8272 * gdb.base/gdb-sigterm.exp: New file.
8273
0c7e1a46
PA
82742014-03-18 Pedro Alves <palves@redhat.com>
8275
8276 PR gdb/13860
8277 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8278 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8279 solib-event.
8280
f7c77d93
JB
82812014-03-17 Joel Brobecker <brobecker@adacore.com>
8282
8283 * gdb.ada/pckd_arr_ren: New testcase.
8284
5a1e8c7a
DE
82852014-03-13 Doug Evans <xdje42@gmail.com>
8286
8287 PR guile/16612
8288 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8289 collect after discarding symbols.
8290
350e1a76
DE
82912014-03-13 Ludovic Courtès <ludo@gnu.org>
8292 Doug Evans <xdje42@gmail.com>
8293
8294 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8295 to history survives a gc.
8296
a69900ae
PA
82972014-03-13 Pedro Alves <palves@redhat.com>
8298
8299 * gdb.base/default.exp: Don't test "target procfs".
8300
5db9f0bd
PA
83012014-03-13 Pedro Alves <palves@redhat.com>
8302
8303 * gdb.base/default.exp: Update "target child" and "target procfs"
8304 tests to not expect "Unix".
8305
b3ccfe11
TT
83062014-03-12 Tom Tromey <tromey@redhat.com>
8307
8308 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8309 New procs. Add target-async tests.
8310 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8311 Add target-async tests.
8312
646f4417
AA
83132014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8314
8315 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8316 'func_start' and 'func_end' for the beginning and end of the
8317 function code, respectively.
8318 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8319 'func_end' instead of 'func' and 'main'.
8320
288c211f
AA
83212014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8322
8323 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8324 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8325 generate the debug info assembler source.
8326
e0c0f156
AA
83272014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8328
8329 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8330 * gdb.dwarf2/arr-subrange.exp: Likewise.
8331 * gdb.dwarf2/dwz.exp: Likewise.
8332 * gdb.dwarf2/method-ptr.exp: Likewise.
8333 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8334 * gdb.dwarf2/subrange.exp: Likewise.
8335 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8336 * gdb.dwarf2/implptrpiece.exp: Likewise.
8337 * gdb.dwarf2/nostaticblock.exp: Likewise.
8338
0e5c4555
AA
83392014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8340
8341 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8342 directory to absolute path name arguments.
8343
5ec18f2b
JG
83442014-03-10 Joel Brobecker <brobecker@adacore.com>
8345
8346 * gdb.ada/tagged_access: New testcase.
8347
847fc4f2
MM
83482014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8349
8350 * gdb.btrace/data.exp: Update expected output.
8351
cc3da688
YQ
83522014-03-06 Yao Qi <yao@codesourcery.com>
8353
8354 * gdb.trace/pr16508.exp: New file.
8355
0f26cec1
PA
83562014-03-05 Pedro Alves <palves@redhat.com>
8357
8358 PR gdb/16575
8359 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8360 procedure.
8361 (top level): Adjust to use it. Add tests that exercise breakpoint
8362 interaction with the code-cache.
8363
7a5a839f
LC
83642014-02-26 Ludovic Courtès <ludo@gnu.org>
8365
8366 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8367 test for 'history-append!'.
8368
31aa7e4e
JB
83692014-02-26 Joel Brobecker <brobecker@adacore.com>
8370
8371 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8372 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8373 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8374 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8375 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8376 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8377
1b588015
JB
83782014-02-26 Joel Brobecker <brobecker@adacore.com>
8379
8380 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8381 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8382 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8383
55426c9d
JB
83842014-02-26 Joel Brobecker <brobecker@adacore.com>
8385
8386 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8387
dc53a7ad
JB
83882014-02-26 Joel Brobecker <brobecker@adacore.com>
8389
8390 * gdb.dwarf2/arr-stride.c: New file.
8391 * gdb.dwarf2/arr-stride.exp: New file.
8392
12ab52e9
PA
83932014-02-26 Pedro Alves <palves@redhat.com>
8394
8395 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8396 that won't ever trigger. Make sure that GDB reports the correct
8397 breakpoint that caused the stop.
8398
849c862e
JK
83992014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8400
8401 PR gdb/16626
8402 * gdb.base/auto-load-script: New file.
8403 * gdb.base/auto-load.c: New file.
8404 * gdb.base/auto-load.exp: New file.
8405
71b7d793
JK
8406 PR gdb/16626
8407 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8408
e2f0d509
JK
84092014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8410
8411 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8412 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8413
50cc37c8
DE
84142014-02-24 Doug Evans <dje@google.com>
8415
8416 * lib/gdb.exp (run_on_host): Log error output if program fails.
8417
ea4758f2
PA
84182014-02-21 Pedro Alves <palves@redhat.com>
8419
8420 * gdb.threads/step-after-sr-lock.c: Rename to ...
8421 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8422 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8423 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8424 ... this.
8425
d7b30f67
SDJ
84262014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8427
8428 PR tdep/16397
8429 * gdb.arch/amd64-stap-special-operands.exp: New file.
8430 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8431 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8432 * gdb.arch/amd64-stap-triplet.S: Likewise.
8433 * gdb.arch/amd64-stap-triplet.c: Likewise.
8434
83deb43f
JB
84352014-02-20 Joel Brobecker <brobecker@adacore.com>
8436
8437 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8438 in .section pseudo-op.
8439
adde2bff
DE
84402014-02-20 lin zuojian <manjian2006@gmail.com>
8441 Joel Brobecker <brobecker@adacore.com>
8442 Doug Evans <xdje42@gmail.com>
8443
8444 PR symtab/16581
8445 * gdb.dwarf2/dw2-icycle.S: New file.
8446 * gdb.dwarf2/dw2-icycle.c: New file.
8447 * gdb.dwarf2/dw2-icycle.exp: New file.
8448
f7bd0f78
SC
84492014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8450
8451 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8452 operations on gdb.Value objects.
8453 * gdb.python/py-value-cc.exp: Add new test to test operations on
8454 gdb.Value objects.
8455
c17ef0d5
DE
84562014-02-18 Doug Evans <dje@google.com>
8457
8458 * Makefile.in (TESTS): New variable.
8459 (expanded_tests, expanded_tests_or_none): New variables
8460 (check-single): Pass $(expanded_tests_or_none) to runtest.
8461 (check-parallel): Only run tests in $(TESTS) if non-empty.
8462 (check/no-matching-tests-found): New rule.
8463 * README: Document TESTS makefile variable.
8464
5dd3176f
DE
84652014-02-18 Doug Evans <dje@google.com>
8466
8467 * Makefile.in (check-parallel): rm -rf outputs temp.
8468
0b10be4f
JK
84692014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8470
8471 Fix "ERROR: no fileid for" in the testsuite.
8472 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8473
85f224e7
DE
84742014-02-12 Doug Evans <dje@google.com>
8475
8476 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8477 (MISCELLANEOUS): New variable.
8478 (clean): rm -rf $(MISCELLANEOUS).
8479 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8480 dwp live in the same directory as symlinks, with each symlink pointed
8481 to a differently named file in a different directory.
8482
149b30ff
DE
84832014-02-11 Doug Evans <dje@google.com>
8484
8485 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8486 of Tcl file commands.
8487
1dfdac32
MK
84882014-02-10 Mark Kettenis <kettenis@gnu.org>
8489
8490 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8491 "kill -SIGUSR1 -1".
8492
aa4fb036
JB
84932014-02-10 Joel Brobecker <brobecker@adacore.com>
8494
8495 * gdb.ada/tick_length_array_enum_idx: New testcase.
8496
ed3ef339
DE
84972014-02-10 Doug Evans <xdje42@gmail.com>
8498
8499 * configure.ac (AC_OUTPUT): Add gdb.guile.
8500 * configure: Regenerate.
8501 * lib/gdb-guile.exp: New file.
8502 * lib/gdb.exp (get_target_charset): New function.
8503 * gdb.base/help.exp: Update expected output from "apropos apropos".
8504 * gdb.guile/Makefile.in: New file.
8505 * gdb.guile/guile.exp: New file.
8506 * gdb.guile/scm-arch.c: New file.
8507 * gdb.guile/scm-arch.exp: New file.
8508 * gdb.guile/scm-block.c: New file.
8509 * gdb.guile/scm-block.exp: New file.
8510 * gdb.guile/scm-breakpoint.c: New file.
8511 * gdb.guile/scm-breakpoint.exp: New file.
8512 * gdb.guile/scm-disasm.c: New file.
8513 * gdb.guile/scm-disasm.exp: New file.
8514 * gdb.guile/scm-equal.c: New file.
8515 * gdb.guile/scm-equal.exp: New file.
8516 * gdb.guile/scm-error.exp: New file.
8517 * gdb.guile/scm-error.scm: New file.
8518 * gdb.guile/scm-frame-args.c: New file.
8519 * gdb.guile/scm-frame-args.exp: New file.
8520 * gdb.guile/scm-frame-args.scm: New file.
8521 * gdb.guile/scm-frame-inline.c: New file.
8522 * gdb.guile/scm-frame-inline.exp: New file.
8523 * gdb.guile/scm-frame.c: New file.
8524 * gdb.guile/scm-frame.exp: New file.
8525 * gdb.guile/scm-generics.exp: New file.
8526 * gdb.guile/scm-gsmob.exp: New file.
8527 * gdb.guile/scm-iterator.c: New file.
8528 * gdb.guile/scm-iterator.exp: New file.
8529 * gdb.guile/scm-math.c: New file.
8530 * gdb.guile/scm-math.exp: New file.
8531 * gdb.guile/scm-objfile-script-gdb.in: New file.
8532 * gdb.guile/scm-objfile-script.c: New file.
8533 * gdb.guile/scm-objfile-script.exp: New file.
8534 * gdb.guile/scm-objfile.c: New file.
8535 * gdb.guile/scm-objfile.exp: New file.
8536 * gdb.guile/scm-ports.exp: New file.
8537 * gdb.guile/scm-pretty-print.c: New file.
8538 * gdb.guile/scm-pretty-print.exp: New file.
8539 * gdb.guile/scm-pretty-print.scm: New file.
8540 * gdb.guile/scm-section-script.c: New file.
8541 * gdb.guile/scm-section-script.exp: New file.
8542 * gdb.guile/scm-section-script.scm: New file.
8543 * gdb.guile/scm-symbol.c: New file.
8544 * gdb.guile/scm-symbol.exp: New file.
8545 * gdb.guile/scm-symtab-2.c: New file.
8546 * gdb.guile/scm-symtab.c: New file.
8547 * gdb.guile/scm-symtab.exp: New file.
8548 * gdb.guile/scm-type.c: New file.
8549 * gdb.guile/scm-type.exp: New file.
8550 * gdb.guile/scm-value-cc.cc: New file.
8551 * gdb.guile/scm-value-cc.exp: New file.
8552 * gdb.guile/scm-value.c: New file.
8553 * gdb.guile/scm-value.exp: New file.
8554 * gdb.guile/source2.scm: New file.
8555 * gdb.guile/types-module.cc: New file.
8556 * gdb.guile/types-module.exp: New file.
8557
7026a7c1
YQ
85582014-02-10 Yao Qi <yao@codesourcery.com>
8559
8560 PR testsuite/16543
8561 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8562 * configure: Regenerated.
8563 * Makefile.in: New file.
8564
6c466447
AS
85652014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8566
8567 * gdb.python/py-framefilter.exp: Fix typo.
8568
6e854735
YQ
85692014-02-08 Yao Qi <yao@codesourcery.com>
8570
8571 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8572 that no =breakpoint-modified is emitted when breakpoints are
8573 modified through MI commands.
8574
d137e6dc
PA
85752014-02-07 Pedro Alves <pedro@codesourcery.com>
8576 Pedro Alves <palves@redhat.com>
8577
8578 * gdb.threads/step-after-sr-lock.c: New file.
8579 * gdb.threads/step-after-sr-lock.exp: New file.
8580
b5ee5a50
PA
85812014-02-07 Pedro Alves <palves@redhat.com>
8582
8583 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8584
3c77faf3
JK
85852014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8586
8587 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8588 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8589
6dddc817
DE
85902014-02-06 Doug Evans <xdje42@gmail.com>
8591
8592 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8593 output.
8594
8595 * gdb.gdb/python-interrupts.exp: New file.
8596
de7b2893
YQ
85972014-02-05 Yao Qi <yao@codesourcery.com>
8598
8599 * gdb.trace/report.exp (use_collected_data): Test the output
8600 of "info threads" and "info inferiors".
8601
66d032ac
YQ
86022014-02-05 Yao Qi <yao@codesourcery.com>
8603
8604 Revert this patch:
8605
8606 2013-05-24 Yao Qi <yao@codesourcery.com>
8607
8608 * gdb.trace/tfile.exp: Test inferior and thread.
8609
591a12a1
UW
86102014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8611
8612 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8613 on a function.
8614 * gdb.base/step-bt.c: Call hello via function pointer to make
8615 sure its first instruction is executed on powerpc64le-linux.
8616
0ff3e01f
UW
86172014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8618
8619 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8620
084ee545
UW
86212014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8622
8623 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8624 of the test patterns for use on little-endian systems.
8625
6ed14ff3
UW
86262014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8627
8628 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8629 (decimal_vector): Fix for little-endian.
8630
401e27fd
JM
86312014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8632
8633 * gdb.arch/sparc-sysstep.exp: New file.
8634 * gdb.arch/sparc-sysstep.c: Likewise.
8635
8636 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8637
8b924729
EBM
86382014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8639
8640 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8641
fb151210
JB
86422014-01-23 Tom Tromey <tromey@redhat.com>
8643
8644 * gdb.ada/array_char_idx: New testcase.
8645
0740f8d8
TT
86462014-01-23 Tom Tromey <tromey@redhat.com>
8647
8648 PR python/16487:
8649 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8650 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8651 classes.
8652
21909fa1
TT
86532014-01-23 Tom Tromey <tromey@redhat.com>
8654
8655 PR python/16491:
8656 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8657 string from an inferior frame.
8658 * gdb.python/py-framefilter-mi.exp: Update.
8659
87ce2a04
DE
86602014-01-22 Doug Evans <dje@google.com>
8661
8662 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8663
237b092b
AA
86642014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8665
8666 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8667
d674a709
AA
86682014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8669
8670 * gdb.trace/entry-values.exp: Remove excess space character from
8671 regex patterns. Handle s390 call instruction.
8672
20fa3390
AA
86732014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8674
8675 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8676 define "*_start" label. Make "name" static.
8677 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8678 ${name} by references to ${name}_start.
8679
78466714
AA
86802014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8681
8682 * gdb.base/info-macros.exp: Remove "debug" from the compile
8683 options.
8684
ec9f644a
IB
86852014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8686
8687 * gdb.dlang/demangle.exp: New file.
8688
94b1b47e
IB
86892014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8690
8691 * gdb.dlang/primitive-types.exp: New file.
8692
7f420862
IB
86932014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8694
8695 * configure.ac: Create gdb.dlang/Makefile.
8696 * configure: Regenerate.
8697 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8698 * gdb.dlang/Makefile.in: New file.
8699 * lib/d-support.exp: New file.
8700 * lib/gdb.exp (skip_d_tests): New proc.
8701
52834460
MM
87022014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8703
8704 * gdb.btrace/delta.exp: Check reverse stepi.
8705 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8706 * gdb.btrace/finish.exp: New.
8707 * gdb.btrace/next.exp: New.
8708 * gdb.btrace/nexti.exp: New.
8709 * gdb.btrace/record_goto.c: Add comments.
8710 * gdb.btrace/step.exp: New.
8711 * gdb.btrace/stepi.exp: New.
8712 * gdb.btrace/multi-thread-step.c: New.
8713 * gdb.btrace/multi-thread-step.exp: New.
8714 * gdb.btrace/rn-dl-bind.c: New.
8715 * gdb.btrace/rn-dl-bind.exp: New.
8716 * gdb.btrace/data.c: New.
8717 * gdb.btrace/data.exp: New.
8718 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8719
6e07b1d2
MM
87202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8721
8722 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8723 * gdb.btrace/exception.exp: Update.
8724 * gdb.btrace/instruction_history.exp: Update.
8725 * gdb.btrace/record_goto.exp: Update.
8726 * gdb.btrace/tailcall.exp: Update.
8727 * gdb.btrace/unknown_functions.exp: Update.
8728 * gdb.btrace/delta.exp: New.
8729
0b722aec
MM
87302014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8731
8732 * gdb.btrace/record_goto.exp: Add backtrace test.
8733 * gdb.btrace/tailcall.exp: Add backtrace test.
8734
066ce621
MM
87352014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8736
8737 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8738 * gdb.btrace/record_goto.c: New.
8739 * gdb.btrace/record_goto.exp: New.
8740 * gdb.btrace/x86-record_goto.S: New.
8741
0688d04e
MM
87422014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8743
8744 * gdb.btrace/function_call_history.exp: Update tests.
8745 * gdb.btrace/instruction_history.exp: Update tests.
8746
8710b709
MM
87472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8748
8749 * gdb.btrace/function_call_history.exp: Fix expected field
8750 order for "record function-call-history".
8751 Add new tests for "record function-call-history /c".
8752 * gdb.btrace/exception.cc: New.
8753 * gdb.btrace/exception.exp: New.
8754 * gdb.btrace/tailcall.exp: New.
8755 * gdb.btrace/x86-tailcall.S: New.
8756 * gdb.btrace/x86-tailcall.c: New.
8757 * gdb.btrace/unknown_functions.c: New.
8758 * gdb.btrace/unknown_functions.exp: New.
8759 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8760
5de9129b
MM
87612014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8762
8763 * gdb.btrace/instruction_history.exp: Update.
8764 * gdb.btrace/function_call_history.exp: Update.
8765
23a7fe75
MM
87662014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8767
8768 * gdb.btrace/function_call_history.exp: Fix expected function
8769 trace.
8770 * gdb.btrace/instruction_history.exp: Initialize traced.
8771 Remove traced_functions.
8772
724c7dd8
MM
87732014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8774
8775 * gdb.btrace/function_call_history.exp: Update
8776 * gdb.btrace/instruction_history.exp: Update.
8777
6d78d93b
MM
87782014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8779
8780 * gdb.btrace/enable.exp: Update expected text.
8781
93a360cc
OJ
87822014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8783
8784 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8785 bytes.
8786
3772b53f
MR
87872014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8788
8789 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8790
596662fa
OJ
87912014-01-15 Omair Javaid <omair.javaid@linaro.org>
8792
8793 * lib/gdb.exp (supports_process_record): Return true for
8794 arm*-linux*. (supports_reverse): Likewise.
8795
b5b08fb4
SC
87962014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8797
8798 PR python/15464
8799 PR python/16113
8800 * gdb.python/py-type.c: Enhance test case.
8801 * gdb.python/py-value-cc.cc: Likewise
8802 * gdb.python/py-type.exp: Add new tests.
8803 * gdb.python/py-value-cc.exp: Likewise
8804
52d7fb13
AA
88052014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8806 Pedro Alves <palves@redhat.com>
8807
8808 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8809 Make "name" extern.
8810 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8811 references to ${name}_start by references to ${name}.
8812
a2cd8cfe
JB
88132014-01-10 Joel Brobecker <brobecker@adacore.com>
8814
8815 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8816
4e23fced
JB
88172014-01-10 Joel Brobecker <brobecker@adacore.com>
8818
8819 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8820
c6a9e42c
PA
88212014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8822 Pedro Alves <palves@redhat.com>
8823
8824 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 8825 mi_gdb_target_load.
c6a9e42c 8826
b7ea362b
PA
88272014-01-08 Pedro Alves <palves@redhat.com>
8828
8829 * gdb.threads/reconnect-signal.c: New file.
8830 * gdb.threads/reconnect-signal.exp: New file.
8831
5e3f4fab
EBM
88322014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8833
8834 * gdb.base/source-dir.exp: New file.
8835
79301218
JB
88362014-01-07 Joel Brobecker <brobecker@adacore.com>
8837
8838 * gdb.ada/mi_interface: New testcase.
8839
8e355c5d
JB
88402014-01-07 Joel Brobecker <brobecker@adacore.com>
8841
8842 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8843 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8844 gdb.ada/pp-rec-component/pck.ads: New files.
8845
c0d48811
JB
88462014-01-07 Joel Brobecker <brobecker@adacore.com>
8847
8848 * gdb.python/py-pp-integral.c: New file.
8849 * gdb.python/py-pp-integral.py: New file.
8850 * gdb.python/py-pp-integral.exp: New file.
8851
17b609c3 8852For older changes see ChangeLog-1993-2013.
c906108c 8853\f
8d8cb839
EZ
8854;; Local Variables:
8855;; mode: change-log
8856;; left-margin: 8
8857;; fill-column: 74
8858;; version-control: never
8859;; End:
902f2ccb 8860
618f726f 8861 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
8862 Copying and distribution of this file, with or without modification,
8863 are permitted provided the copyright notice and this notice are preserved.