Fix missing files for ld when test suite not compiled in the source directory
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
20c2c024
CL
12016-08-19 Carl Love <cel@us.ibm.com>
2
3 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
4 maintaining separate logic for constructing the output path.
5 * gdb.arch/powerpc-d128-regs.exp: Likewise.
6 * gdb.arch/ppc-dfp.exp: Likewise.
7 * gdb.arch/ppc-fp.exp: Likewise.
8 * gdb.arch/vsx-regs.exp: Likewise.
9 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
10 binprefix for generating the additional binary files.
11
0646e07d
PA
122016-08-19 Pedro Alves <palves@redhat.com>
13
14 * gdb.trace/mi-trace-frame-collected.exp
15 (test_trace_frame_collected): On x32, expect two registers.
16
46da9242
CL
172016-08-18 Carl Love <cel@us.ibm.com>
18
19 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
20 and sync up the test with tests in gas/testsuite/gas/ppc.
21 * gdb.arch/powerpc-power.exp: Likewise.
22
eb2332d7
SM
232016-08-17 Simon Marchi <simon.marchi@ericsson.com>
24
25 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
26 expected error message.
27
63c61e04
SM
282016-08-17 Simon Marchi <simon.marchi@ericsson.com>
29
30 * gdb.multi/remove-inferiors.exp: New file.
31 * gdb.multi/remove-inferiors.c: New file.
32
7b17065f
YQ
332016-08-12 Yao Qi <yao.qi@linaro.org>
34
35 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
36 argument list.
37
01d3dedf
PA
382016-08-10 Pedro Alves <palves@redhat.com>
39
40 PR gdb/19187
41 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
42 setup_kfails.
43
3eb7562a
PA
442016-08-09 Pedro Alves <palves@redhat.com>
45 Simon Marchi <simon.marchi@ericsson.com>
46
47 PR gdb/20418
48 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
49 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
50
80614914
PA
512016-08-09 Pedro Alves <palves@redhat.com>
52
53 PR mi/20431
54 * gdb.mi/mi-cmd-error.exp: New file.
55
f348d89a
PA
562016-08-09 Pedro Alves <palves@redhat.com>
57
58 PR gdb/18653
59 * gdb.base/signals-state-child.c: New file.
60 * gdb.base/signals-state-child.exp: New file.
61 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
62
e5ca03b4
PA
632016-08-09 Pedro Alves <palves@redhat.com>
64
65 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
66
282a0691
TT
672016-08-03 Tom Tromey <tom@tromey.com>
68
69 PR python/18565:
70 * gdb.python/py-frame-inline.exp: Add Frame.function test.
71
41bfcd63
YQ
722016-08-01 Yao Qi <yao.qi@linaro.org>
73
74 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
75 variable mode to "multi-process" if $multi_process is 1, otherwise
76 set it to "single-process".
77
e3465b24
YQ
782016-08-01 Yao Qi <yao.qi@linaro.org>
79
80 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
81 * gdb.cp/cpexprs.exp: Likewise.
82 * gdb.cp/m-static.exp: Likewise.
83
0b31a4bc
TT
842016-07-26 Tom Tromey <tom@tromey.com>
85
86 PR python/20190:
87 * gdb.threads/tls.exp (check_thread_local): Add python symbol
88 test.
89
e0461dbb
MM
902016-07-26 Markus Metzger <markus.t.metzger@intel.com>
91
92 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
93 selecting assembly source files.
94 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
95 assembly source files.
96 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
97 assembly source files.
98 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
99 selecting assembly source files.
100
8194e927
SM
1012016-07-25 Simon Marchi <simon.marchi@ericsson.com>
102
103 * gdb.base/new-ui.exp (do_test_invalid_args): New
104 procedure.
105
c0272db5
TW
1062016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
107
108 * gdb.btrace/reconnect.c: New file.
109 * gdb.btrace/reconnect.exp: New file.
110
e3487908
GKB
1112016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
112
113 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
114 to test_catch_syscall_group.
115 (test_catch_syscall_group): New.
116
12df5c00
TT
1172016-07-21 Tom Tromey <tom@tromey.com>
118
119 * gdb.rust/simple.rs (main): Use empty struct expression.
120 * gdb.rust/simple.exp: Add tests for empty struct expression.
121
bae62ee2
YQ
1222016-07-21 Yao Qi <yao.qi@linaro.org>
123
124 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
125 if gdb_skip_xml_test is true on some targets.
126
b1b53fb3
YQ
1272016-07-21 Yao Qi <yao.qi@linaro.org>
128
129 * gdb.server/solib-list.exp: Unset last_loaded_file.
130
027d97f8
JK
1312016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
132
133 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
134 "step into captured_main (args)".
135
7674d381
JK
1362016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
137
138 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
139
72b5d099
JK
1402016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
141
142 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
143
1f960ced
PA
1442016-07-19 Pedro Alves <palves@redhat.com>
145
146 * gdb.opt/inline-break.exp: Remove optimize=-O2.
147 * gdb.opt/inline-bt.exp: Likewise.
148 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
149 additional_flags=-Winline.
150 * gdb.opt/inline-locals.exp: Likewise.
151 * gdb.opt/inline-markers.c (ATTR): Define.
152 (inlined_fn): Use it.
153
f25827c1
YQ
1542016-07-19 Yao Qi <yao.qi@linaro.org>
155
156 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
157 (test_with_self): Remove some code. Remove argument executable.
158 (top-level): Use do_self_tests.
159
37539ebe
DB
1602016-07-15 Zachary Welch <zwelch@codesourcery.com>
161 Don Breazeal <donb@codesourcery.com>
162
163 * gdb.base/maint.exp: Escape paths used in regular expressions.
164 * gdb.stabs/weird.exp: Likewise.
165
dac790e1
TT
1662016-07-13 Tom Tromey <tom@tromey.com>
167
168 PR python/15620, PR python/18620:
169 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
170 (test_bkpt_events): New procs.
171
93daf339
TT
1722016-07-13 Tom Tromey <tom@tromey.com>
173
174 PR python/17698:
175 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
176 test.
177 (test_watchpoints): Likewise.
178 (test_bkpt_pending): New proc.
179
6571a381
TT
1802016-07-13 Tom Tromey <tom@tromey.com>
181
182 PR cli/18053:
183 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
184 completion test.
185
e8732474
JK
1862016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
187
188 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
189 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
190 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
191 f_label.
192 (g): Rename g_end_lbl to g_label.
193 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
194 low_pc and high_pc.
195 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
196
e0f3fd7c
TT
1972016-07-12 Tom Tromey <tom@tromey.com>
198
199 PR python/19293:
200 * gdb.python/py-unwind-maint.exp: Update tests.
201
3cfe46b6
YQ
2022016-07-12 Yao Qi <yao.qi@linaro.org>
203
204 * lib/selftest-support.exp (selftest_setup): Match the output
205 when captured_main is inlined.
206
4f19a0e6
WT
2072016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
208
209 * gdb.fortran/derived-types.exp (result_line, result_line_2):
210 New variables.
211 (print this%a, print this%b, print this): New tests.
212 * gdb.fortran/derived-types.f90 (this): New object and
213 initialization.
214
986cf455
SM
2152016-07-06 Simon Marchi <simon.marchi@ericsson.com>
216
217 * gdb.ada/arraydim.exp: Remove extra directory level in build
218 directory.
219
f0464b23
SM
2202016-07-06 Simon Marchi <simon.marchi@ericsson.com>
221
222 * lib/ada.exp: Remove extra directory level in build directory.
223 * gdb.ada/cond_lang.exp: Likewise.
224 * gdb.ada/exec_changed.exp: Likewise.
225 * gdb.ada/lang_switch.exp: Likewise.
226
42d94011
MG
2272016-07-06 Manish Goregaokar <manish@mozilla.com>
228
229 * simple.rs: Add test for raw pointer subscripting
230 * simple.exp: Add test expectations
231
647c264c
YQ
2322016-07-05 Yao Qi <yao.qi@linaro.org>
233
234 * gdb.mi/mi-reverse.exp: Match =record-started output.
235
20aa2c60
PA
2362016-07-01 Pedro Alves <palves@redhat.com>
237
238 * gdb.base/jit-reader.exp (info_registers_current_frame): New
239 procedure.
240 (jit_reader_test): Test the jit reader's unwinder.
241 * gdb.base/jithost.c (jit_function_00_code): New global.
242 (main): Use memcpy to fill in the mmapped code, instead of poking
243 bytes manually here.
244 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
245 value.
246 (read_debug_info): Save the function's range.
247 (read_sp): New function.
248 (unwind_frame): Use it. Also unwind RBP.
249 (get_frame_id): Use read_sp.
250 (gdb_init_reader): Use calloc instead of malloc.
251 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
252 parameter. Use gdb_test_multiple.
253
ced2dffb
PA
2542016-07-01 Pedro Alves <palves@redhat.com>
255 Antoine Tremblay <antoine.tremblay@ericsson.com>
256
257 * gdb.threads/process-dies-while-detaching.c: New file.
258 * gdb.threads/process-dies-while-detaching.exp: New file.
259
63000888
PA
2602016-07-01 Pedro Alves <palves@redhat.com>
261
262 * gdb.multi/watchpoint-multi-exit.c: New file.
263 * gdb.multi/watchpoint-multi-exit.exp: New file.
264
038d4868
PA
2652016-06-30 Pedro Alves <palves@redhat.com>
266
267 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
268 unset inferior_spawn_id.
269
994e9c83
PA
2702016-06-30 Pedro Alves <palves@redhat.com>
271
272 * lib/mi-support.exp (default_mi_gdb_start): Declare global
273 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
274
e5653468
YQ
2752016-06-29 Yao Qi <yao.qi@linaro.org>
276
277 * gdb.base/return.c: Add copyright header.
278
803b47e5
TT
2792016-06-29 Tom Tromey <tom@tromey.com>
280
281 PR python/20129:
282 * gdb.python/py-framefilter.exp: Add tests for setting priority
283 and disabling of non-existent frame filter.
284
28244707
YQ
2852016-06-29 Yao Qi <yao.qi@linaro.org>
286
287 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
288 0x0f07ff.
289
a31d2f06
YQ
2902016-06-28 Yao Qi <yao.qi@linaro.org>
291
292 * gdb.base/catch-syscall.exp: Remove check on isnative and target
293 triplets. Start gdb, execute catch syscall, and continue. Check
294 gdb's output to determine catch syscall is supported.
295
921d8f54
MG
2962016-06-27 Manish Goregaokar <manish@mozilla.com>
297
25d49b86
PA
298 * gdb.rust/simple.rs: Add test for returning unit in a function.
299 * gdb.rust/simple.exp: Add expectation for functions returning
300 unit.
921d8f54 301
f4952523
PMR
3022016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
303
304 * gdb.python/py-breakpoint-create-fail.c,
305 gdb.python/py-breakpoint-create-fail.exp,
306 gdb.python/py-breakpoint-create-fail.py: New testcase.
307
fccb08f8
MG
3082016-06-25 Manish Goregaokar <manish@mozilla.com>
309
310 PR gdb/20239
311 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
312 * gdb.rust/simple.exp: Add test expectations for new NonZero
313 tests.
fccb08f8 314
6b850546
DT
3152016-06-24 David Taylor <dtaylor@emc.com>
316
317 * gdb.base/offsets.exp: New file.
318 * gdb.base/offsets.c: New file.
319
17621150
TT
3202016-06-23 Tom Tromey <tom@tromey.com>
321
322 PR gdb/16483:
323 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
324 before any filters are loaded.
325
04d59df6
WT
3262016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
327
328 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
329 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
330 structs.
331 * gdb.fortran/derived-type-function.exp: New file.
332 * gdb.fortran/derived-type-function.f90: New file.
333
334
ac69f786
PA
3352016-06-21 Pedro Alves <palves@redhat.com>
336
337 * gdb.base/new-ui.exp: New file.
338 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
339 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
340 (with_spawn_id): New procedure.
341
49940788
PA
3422016-06-21 Pedro Alves <palves@redhat.com>
343
344 * gdb.mi/mi-exec-run.exp: New file.
345
ef274d26
PA
3462016-06-21 Pedro Alves <palves@redhat.com>
347
348 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
349 breakpoint command's output on the main UI.
350 (test_break): New procedure, factored out from calls in the top
351 level.
352 (top level): Use foreach_with_prefix to test MI as main UI and as
353 separate UI.
354
468afe6c
PA
3552016-06-21 Pedro Alves <palves@redhat.com>
356
357 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
358 (test_awatch_creation_and_listing)
359 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
360 Remove 'type' parameter.
361 (test_watchpoint_all): New parameter mi_mode. Remove
362 with_test_prefix.
363 (top level): Use foreach_with_prefix, and add main/separate UI MI
364 testing axis.
365
51f77c37
PA
3662016-06-21 Pedro Alves <palves@redhat.com>
367
368 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
369 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
370 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
371 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
372 (gdb_main_spawn_id, mi_spawn_id): Declare and
373 comment.
374 (mi_create_inferior_pty): New procedure,
375 factored out from default_mi_gdb_start.
376 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
377 procedures.
378 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
379 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
380 Use mi_create_inferior_pty.
381 (mi_gdb_start): Use eval to pass down args list.
382
8980e177
PA
3832016-06-21 Pedro Alves <palves@redhat.com>
384
385 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
386 * gdb.opt/inline-cmds.exp: Add MI tests.
387
f38d3ad1
PA
3882016-06-21 Pedro Alves <palves@redhat.com>
389
390 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
391
45db7c09
PA
3922016-06-21 Pedro Alves <palves@redhat.com>
393
394 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
395 (top level): Use it instead of mi_execute_to.
396
5a069ab3
PA
3972016-06-21 Pedro Alves <palves@redhat.com>
398
399 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
400 (cont_handler_str): New.
401 (signal_stop_handler): Set stop_handler_str instead of printing to
402 stdout.
403 (continue_handler): Set cont_handler_str instead of printing to
404 stdout.
405 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
406 mi_send_resuming_command. Print stop_handler_str and
407 cont_handler_str instead of expecting the python events print
408 directly.
409
2838cc1d
SD
4102016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
411
412 * gdb.base/jit-reader.exp: New file.
413 * gdb.base/jithost.c: New file.
414 * gdb.base/jithost.h: New file.
415 * gdb.base/jitreader.c : New file.
416 * gdb.base/jit-protocol.h: New file.
417
21a77091
YQ
4182016-06-17 Yao Qi <yao.qi@linaro.org>
419
420 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
421 parameters follow_fork and detach_on_fork. Set follow-fork-mode
422 and detach-on-fork. Adjust tests.
423 (top level): Invoke break_cond_on_syscall with combinations of
424 syscall, follow-fork-mode and detach-on-fork.
425
f50bf8e5
YQ
4262016-06-17 Yao Qi <yao.qi@linaro.org>
427
428 * gdb.base/step-over-exit.c: New.
429 * gdb.base/step-over-exit.exp: New.
430
a28d8e50
YTL
4312016-06-17 Yan-Ting Lin <currygt52@gmail.com>
432
433 * gdb.base/float.exp: Add target check for nds32*-*-*.
434 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
435
cad8e26d
AB
4362016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
437
438 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
439 for unsupported target features.
440 * gdb.base/call-rt-st.exp: Likewise.
441 * gdb.base/call-sc.exp: Likewise.
442 * gdb.base/call-signal-resume.exp: Likewise.
443 * gdb.base/call-strs.exp: Likewise.
444 * gdb.base/callexit.exp: Likewise.
445 * gdb.base/callfuncs.exp: Likewise.
446 * gdb.base/nodebug.exp: Likewise.
447 * gdb.base/printcmds.exp: Likewise.
448 * gdb.base/ptype.exp: Likewise.
449 * gdb.base/structs.exp: Likewise.
450 * gdb.base/unwindonsignal.exp: Likewise.
451 * gdb.cp/gdb2495.exp: Likewise.
452 * gdb.cp/templates.exp: Likewise.
453 * gdb.cp/virtfunc.exp: Likewise.
454 * gdb.threads/hand-call-in-threads.exp: Likewise.
455 * gdb.threads/interrupted-hand-call.exp: Likewise.
456 * gdb.threads/thread-unwindonsignal.exp: Likewise.
457
347dc102
TT
4582016-06-10 Tom Tromey <tom@tromey.com>
459
460 PR rust/20110:
461 * gdb.rust/expr.exp: Add test for integer constant larger than
462 i32.
463
5e13cf25
BH
4642016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
465
466 * gdb.fortran/nested-funcs.exp: New.
467 * gdb.fortran/nested-funcs.f90: New.
468
bb556f1f
TK
4692016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
470
471 * gdb.base/examine-backward.c: New file.
472 * gdb.base/examine-backward.exp: New file.
473
38b022b4
SM
4742016-06-06 Simon Marchi <simon.marchi@ericsson.com>
475
476 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
477 matching.
478
1b40ec05
TT
4792016-06-02 Tom Tromey <tom@tromey.com>
480
481 PR python/18984:
482 * gdb.python/py-shared.exp: Add solib_name test.
483
193bd378
SM
4842016-06-02 Simon Marchi <simon.marchi@ericsson.com>
485
486 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
487
3326303b
MG
4882016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
489
490 PR c++/19893
491 * gdb.dwarf2/implref.exp: Rename to...
492 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
493 * gdb.dwarf2/implref-array.c: New file.
494 * gdb.dwarf2/implref-array.exp: Likewise.
495 * gdb.dwarf2/implref-global.c: Likewise.
496 * gdb.dwarf2/implref-global.exp: Likewise.
497 * gdb.dwarf2/implref-struct.c: Likewise.
498 * gdb.dwarf2/implref-struct.exp: Likewise.
499
825c8ef2
AT
5002016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
501
502 * gdb.trace/trace-condition.exp: Add 64bit tests.
503
2320162a
AT
5042016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
505
506 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
507 bits types.
508 (main): Adapt to 8 to 64 bits types.
509 * gdb.trace/trace-condition.exp: Add new tests.
510
a7818233
AT
5112016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
512
513 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
514
0d336466
AT
5152016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
516
517 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
518 Move condition tests...
519 * gdb.trace/trace-condition.exp: Here.
520
7faeb45a
AT
5212016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
522
523 * gdb.trace/trace-condition.exp: Add counter-case tests.
524
e385593e
JK
5252016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
526
527 PR c++/15231
528 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
529 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
530
744608cc
PA
5312016-05-27 Pedro Alves <palves@redhat.com>
532
533 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
534 New procedure.
535 (top level): Call it, and bail out of DejaGnu is known to be bad.
536
ac775bf4
AB
5372016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
538
539 * gdb.base/whatis.c: Extend the test case.
540 * gdb.base/whatis.exp: Add additional tests.
541
2bbad2ea
BH
5422016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
543
544* gdb.fortran/type.f90: Add pointer variable.
545* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
546
8b70175d
BH
5472016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
548
549 * gdb.fortran/vla-type.exp: Fix testcase name.
550
86d8a848
BH
5512016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
552
553 * gdb.fortran/vla-type.exp: Access elements in nested structs.
554
e188eb36
BH
5552016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
556
557 * gdb.fortran/type.f90: Add nested structures.
558 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
559 * gdb.fortran/derived-type.exp: Adapt expected output.
560 * gdb.fortran/vla-type.exp: Adapt expected output.
561
9b2db1fd
BH
5622016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
563
564 * gdb.fortran/whatis_type.exp: Adapt expected output.
565
72b17055
BH
5662016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
567
568 * gdb.fortran/print_type.exp: Fix expected output.
569 * gdb.fortran/whatis_type.exp: Fix expected output.
570
3cd81d8d
BH
5712016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
572
573 * gdb.fortran/whatis_type.exp: Use multi_line.
574
ddae9462
TT
5752016-05-24 Tom Tromey <tom@tromey.com>
576
577 PR python/17386:
578 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
579 use value as an index.
580
1957f6b8
TT
5812016-05-23 Tom Tromey <tom@tromey.com>
582
583 PR python/17981:
584 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
585 no-breakpoint case.
586
026a9174
PA
5872016-05-24 Pedro Alves <palves@redhat.com>
588
589 PR gdb/19828
590 * gdb.threads/clone-attach-detach.c: New file.
591 * gdb.threads/clone-attach-detach.exp: New file.
592
e70a7231
FR
5932016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
594
595 * gdb.base/annota-input-while-running.exp: Fix syntax error.
596
0f6ed0e0
TT
5972016-05-23 Tom Tromey <tom@tromey.com>
598
599 PR python/19438, PR python/18393:
600 * gdb.python/py-progspace.exp: Add "dir" test.
601 * gdb.python/py-objfile.exp: Add "dir" test.
602
ffd19d61
YQ
6032016-05-23 Yao Qi <yao.qi@linaro.org>
604
605 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
606 * gdb.arch/thumb2-it.exp: Likewise.
607
9e8f9b05
SM
6082016-05-18 Simon Marchi <simon.marchi@ericsson.com>
609
610 * gdb.mi/mi-threads-interrupt.c: New file.
611 * gdb.mi/mi-threads-interrupt.exp: New file.
612
61c6156d
SM
6132016-05-17 Simon Marchi <simon.marchi@ericsson.com>
614
615 PR gdb/18077
616 * gdb.mi/mi-async-run.exp: New file.
617 * gdb.mi/mi-async-run.c: New file.
618
67218854
TT
6192016-05-17 Tom Tromey <tom@tromey.com>
620 Manish Goregaokar <manishsmail@gmail.com>
621
622 * lib/rust-support.exp: New file.
623 * lib/gdb.exp (skip_rust_tests): New proc.
624 (build_executable_from_specs): Handle rust.
625 * lib/future.exp (gdb_find_rustc): New proc.
626 (gdb_default_target_compile): Handle rust.
627 * gdb.rust/expr.exp: New file.
628 * gdb.rust/generics.exp: New file.
629 * gdb.rust/generics.rs: New file.
630 * gdb.rust/methods.exp: New file.
631 * gdb.rust/methods.rs: New file.
632 * gdb.rust/modules.exp: New file.
633 * gdb.rust/modules.rs: New file.
634 * gdb.rust/simple.exp: New file.
635 * gdb.rust/simple.rs: New file.
636
c44af4eb
TT
6372016-05-17 Tom Tromey <tom@tromey.com>
638
639 * gdb.base/default.exp (set language): Add rust.
640
dcd1f979
TT
6412016-05-17 Tom Tromey <tom@tromey.com>
642
643 * gdb.gdb/unittest.exp: New file.
644
155b7f57
YQ
6452016-05-16 Yao Qi <yao.qi@linaro.org>
646
647 * gdb.base/batch-preserve-term-settings.exp: Remove variable
648 shell_prompt. Update shell_prompt_re.
649
8ddd5a6c
DE
6502016-05-12 Doug Evans <dje@google.com>
651
652 PR symtab/19999
653 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
654 $options when building executable.
655 * gdb.dwarf2/fission-loclists-pie.S: New file.
656 * gdb.dwarf2/fission-loclists-pie.exp: New file.
657
02e370d9
SM
6582016-05-04 Simon Marchi <simon.marchi@ericsson.com>
659
660 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
661 of [is_remote target],
662
8929ad8b
SM
6632016-05-04 Simon Marchi <simon.marchi@ericsson.com>
664
665 * lib/gdb.exp (use_gdb_stub): New procedure.
666
6c447423
DE
6672016-05-03 Yunlian Jiang <yunlian@google.com>
668 Doug Evans <dje@google.com>
669
670 PR symtab/19914
671 * gdb.dwarf2/dwp-sepdebug.c: New file.
672 * gdb.dwarf2/dwp-sepdebug.exp: New file.
673
444e826c
SM
6742016-05-02 Simon Marchi <simon.marchi@ericsson.com>
675
676 * gdb.base/detach.exp: Remove is_remote check.
677
740feeaa
SM
6782016-05-02 Simon Marchi <simon.marchi@ericsson.com>
679
680 * gdb.base/annota-input-while-running.exp: Don't check for
681 [is_remote target]. Enable annotations after running to main.
682 Remove unused "set test..." line.
683
9080ac9d
SM
6842016-04-28 Simon Marchi <simon.marchi@ericsson.com>
685
686 * gdb.trace/trace-enable-disable.exp: New file.
687 * gdb.trace/trace-enable-disable.c: New file.
688
952ebca5
SM
6892016-04-28 Simon Marchi <simon.marchi@ericsson.com>
690
691 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
692 use it in info sharedlibrary test.
693 * gdb.trace/ftrace-lock.exp: Likewise.
694 * gdb.trace/ftrace.exp: Likewise.
695 * gdb.trace/range-stepping.exp: Likewise.
696 * gdb.trace/trace-break.exp: Likewise.
697 * gdb.trace/trace-condition.exp: Likewise.
698 * gdb.trace/trace-mt.exp: Likewise.
699
d9019901
SM
7002016-04-27 Simon Marchi <simon.marchi@ericsson.com>
701
702 * lib/gdb.exp (gdb_load_shlibs): Rename to...
703 (gdb_load_shlib): ... this.
704 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
705 gdb_load_shlib.
706 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
707 * gdb.base/ctxobj.exp: Likewise.
708 * gdb.base/dprintf-pending.exp: Likewise.
709 * gdb.base/dso2dso.exp: Likewise.
710 * gdb.base/fixsection.exp: Likewise.
711 * gdb.base/gcore-relro.exp: Likewise.
712 * gdb.base/gdb1555.exp: Likewise.
713 * gdb.base/global-var-nested-by-dso.exp: Likewise.
714 * gdb.base/gnu-ifunc.exp: Likewise.
715 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
716 * gdb.base/jit-so.exp (one_jit_test): Likewise.
717 * gdb.base/pending.exp: Likewise.
718 * gdb.base/print-file-var.exp: Likewise.
719 * gdb.base/print-symbol-loading.exp: Likewise.
720 * gdb.base/shlib-call.exp: Likewise.
721 * gdb.base/shreloc.exp: Likewise.
722 * gdb.base/so-impl-ld.exp: Likewise.
723 * gdb.base/solib-disc.exp: Likewise.
724 * gdb.base/solib-nodir.exp: Likewise.
725 * gdb.base/solib-overlap.exp: Likewise.
726 * gdb.base/solib-symbol.exp: Likewise.
727 * gdb.base/solib-weak.exp (do_test): Likewise.
728 * gdb.base/sym-file.exp: Likewise.
729 * gdb.base/symtab-search-order.exp: Likewise.
730 * gdb.base/type-opaque.exp: Likewise.
731 * gdb.base/unload.exp: Likewise.
732 * gdb.base/watchpoint-solib.exp: Likewise.
733 * gdb.compile/compile.exp: Likewise.
734 * gdb.cp/gdb2384.exp: Likewise.
735 * gdb.cp/infcall-dlopen.exp: Likewise.
736 * gdb.cp/re-set-overloaded.exp: Likewise.
737 * gdb.fortran/library-module.exp: Likewise.
738 * gdb.opt/solib-intra-step.exp: Likewise.
739 * gdb.python/py-finish-breakpoint.exp: Likewise.
740 * gdb.python/py-shared.exp: Likewise.
741 * gdb.reverse/solib-precsave.exp: Likewise.
742 * gdb.reverse/solib-reverse.exp: Likewise.
743 * gdb.server/solib-list.exp: Likewise.
744 * gdb.threads/dlopen-libpthread.exp: Likewise.
745 * gdb.threads/tls-shared.exp: Likewise.
746 * gdb.threads/tls-so_extern.exp: Likewise.
747 * gdb.trace/change-loc.exp: Likewise.
748 * gdb.trace/ftrace-lock.exp: Likewise.
749 * gdb.trace/ftrace.exp: Likewise.
750 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
751 * gdb.trace/pending.exp: Likewise.
752 * gdb.trace/range-stepping.exp: Likewise.
753 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
754 (strace_info_marker): Likewise.
755 (strace_probe_marker): Likewise.
756 (strace_trace_on_same_addr): Likewise.
757 (strace_trace_on_diff_addr): Likewise.
758 * gdb.trace/trace-break.exp: Likewise.
759 * gdb.trace/trace-condition.exp: Likewise.
760 * gdb.trace/trace-mt.exp: Likewise.
761
fca4cfd9
SM
7622016-04-27 Simon Marchi <simon.marchi@ericsson.com>
763
764 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
765 result of gdb_remote_download.
766 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
767 * gdb.base/dso2dso.exp: Likewise.
768 * gdb.base/global-var-nested-by-dso.exp: Likewise.
769 * gdb.base/print-file-var.exp: Likewise.
770 * gdb.base/shlib-call.exp: Likewise.
771 * gdb.base/shreloc.exp: Likewise.
772 * gdb.base/solib-overlap.exp: Likewise.
773 * gdb.base/solib-weak.exp (do_test): Likewise.
774 * gdb.base/unload.exp: Likewise.
775
11cf4ffb
YQ
7762016-04-27 Yao Qi <yao.qi@linaro.org>
777
778 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
779 exists.
780
3e2e34f8
KB
7812016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
782
783 * vla-type.exp: Print structure from toplevel.
784
8f07e298
BH
7852016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
786
787 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
788 of dynamic types.
789 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
790 of dynamic types.
791
9920b434
BH
7922016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
793
794 * gdb.fortran/vla-type.f90: New file.
795 * gdb.fortran/vla-type.exp: New file.
796
f3abeff5
YQ
7972016-04-25 Yao Qi <yao.qi@linaro.org>
798
799 * gdb.base/branch-to-self.c: New file.
800 * gdb.base/branch-to-self.exp: New file.
801
0a5d52f0
YQ
8022016-04-22 Yao Qi <yao.qi@linaro.org>
803
804 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
805 more after $hex.
806
495346f6
YQ
8072016-04-22 Yao Qi <yao.qi@linaro.org>
808
809 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
810 * gdb.base/annota3.exp: Likewise.
811
4a7e075c
YQ
8122016-04-22 Yao Qi <yao.qi@linaro.org>
813
814 * gdb.reverse/step-precsave.exp: Do one step and test program
815 stops in "callee" and do multiple steps until program goes out
816 of "callee".
817 * gdb.reverse/step-reverse.exp: Likewise.
818
5b061e98
YQ
8192016-04-22 Yao Qi <yao.qi@linaro.org>
820
821 * gdb.trace/signal.exp: Also pass if
822 $tracepoint_hits($i) > $iterations.
823
5c5dc57f
YQ
8242016-04-22 Yao Qi <yao.qi@linaro.org>
825
826 * gdb.trace/signal.c: New file.
827 * gdb.trace/signal.exp: New file.
828
a55411b9
DE
8292016-04-19 Doug Evans <xdje42@gmail.com>
830
831 * gdb.base/bad-file.exp: New file.
832
a22df60a
MG
8332016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
834
835 * gdb.dwarf2/implref.exp: New file.
836
0c13f7e5
BH
8372016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
838
839 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
840 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
841 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
842 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
843 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
844 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
845 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
846 * lib/fortran.exp (fortran_int4): New procedure.
847 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
848 (fortran_logical4): Likewise.
849
9b9b09e9
BH
8502016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
851
852 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
853
a14d1f4d
BH
8542016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
855
856 * lib/compiler.c: Add Intel specific preprocessor macros.
857 * lib/compiler.cc: Likewise.
25d49b86 858
7d49b1d0
LM
8592016-04-13 Luis Machado <lgustavo@codesourcery.com>
860
861 * gdb.server/connect-with-no-symbol-file.c: New file.
862 * gdb.server/connect-with-no-symbol-file.exp: New file.
863
8392fa22
SM
8642016-04-13 Simon Marchi <simon.marchi@ericsson.com>
865
866 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
867
8c4c4aeb
SM
8682016-04-13 Simon Marchi <simon.marchi@ericsson.com>
869
870 * boards/gdbserver-base.exp (${board}_download): Copy source file to
871 standard output directory.
872
45e3745e
AT
8732016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
874
875 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
876
e26b7e41
MM
8772016-04-13 Markus Metzger <markus.t.metzger@intel.com>
878
879 * gdb.btrace/instruction_history.c (loop): Add declaration.
880
8ce09462
AT
8812016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
882
883 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
884
2e88a1ea
SM
8852016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
886
887 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
888 parentheses to print.
889 (continue_handler): Likewise.
890
f48e22e3
SM
8912016-04-08 Simon Marchi <simon.marchi@ericsson.com>
892
893 * gdb.server/solib-list.exp: Remove is_remote check.
894 Pass shlib= to gdb_compile. Don't link shared library with
895 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
896 Run binary filename through "readlink -f" on the target.
897
096be756
PA
8982016-04-08 Pedro Alves <palves@redhat.com>
899
900 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
901 interpreter filename as argument to gdbserver_spawn.
902 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
903 Return empty if $last_loaded_file does not exist.
904
06500533
JK
9052016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
906
907 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
908 * gdb.base/jit-main.c: Use exit after usage.
909
2d35e871
JK
9102016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
911
912 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
913 GDBHISTSIZE prior to the tests.
914 * gdb.base/gdbinit-history.exp: Likewise.
915
9162016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
917
918 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
919 instead of build_executable. Use gdb_load_shlibs.
920
c8064e7e
YQ
9212016-04-07 Yao Qi <yao.qi@linaro.org>
922
923 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
924 Execute "si" command.
925
bde47561
YQ
9262016-04-07 Yao Qi <yao.qi@linaro.org>
927
928 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
929 number instead of the comments on some line.
930
b16f8a3b
DB
9312016-04-06 Don Breazeal <donb@codesourcery.com>
932
933 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
934 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
935
c2f901df
SM
9362016-04-06 Simon Marchi <simon.marchi@ericsson.com>
937
938 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
939 standard_output_file. Remove unused binfile variable.
940
ac17fda0
CU
9412016-04-05 Catalin Udma <catalin.udma@freescale.com>
942
943 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
944 * gdb.python/py-mi-objfile.exp: Match "list main" output
945 in console format.
946
03a8c4df
SM
9472016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
948
949 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
950 absolute.
951
6e774b13
SM
9522016-04-05 Simon Marchi <simon.marchi@ericsson.com>
953
954 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
955 absolute.
956 * gdb.trace/ftrace.exp: Likewise.
957 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
958 targets as well.
959 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
960 (gdb_load_shlibs): Copy libraries to test directory when testing
961 natively. Only set solib-search-path if testing remotely.
962 * lib/mi-support.exp (mi_load_shlibs): Likewise.
963
7817ea46
SM
9642016-04-05 Simon Marchi <simon.marchi@ericsson.com>
965
966 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
967 gdb_download. Use it even if the target is not remote.
968 * gdb.base/jit.exp (compile_jit_test): Likewise.
969 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
970 output directory if the destination board is local, otherwise use
971 the standard remote_download from DejaGnu.
972 (gdb_download): Remove.
973 (gdb_load_shlibs): Use gdb_remote_download instead of
974 gdb_download.
975 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
976 Use gdb_remote_download instead of gdb_download. Use it even if
977 the target is not remote.
978 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
979 instead of gdb_download.
980
7beb7f68
SM
9812016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
982
983 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
984 (test_insert_delete_modify): Call mi_load_shlibs before trying to
985 run.
986
cc63428a
AV
9872016-04-01 Artemiy Volkov <artemiyv@acm.org>
988
989 PR gdb/19820
990 * gdb.base/printcmds.exp: Add artificial arrays tests.
991
64cdf930
PA
9922016-03-31 Pedro Alves <palves@redhat.com>
993
994 PR gdb/19858
995 * gdb.base/jit-main.c: Include unistd.h.
996 (ATTACH): Define to 0 if not already defined.
997 (wait_for_gdb, mypid): New globals.
998 (WAIT_FOR_GDB): New macro.
999 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1000 some breakpoint locations.
1001 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1002 New procedures.
1003 (one_jit_test): Add REATTACH parameter, and handle it. Use
1004 continue_to_test_location.
1005 (top level): Test attach, and adjusts calls to one_jit_test.
1006
40dea8cb
PA
10072016-03-31 Pedro Alves <palves@redhat.com>
1008
1009 PR gdb/19858
1010 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1011 BINSUFFIX parameter, and handle it.
1012 (top level): Adjust calls compile_jit_test.
1013
e7ea3ec7
CU
10142016-03-31 Catalin Udma <catalin.udma@freescale.com>
1015
1016 PR python/19743
1017 * gdb.python/py-mi-events-gdb.py: New file.
1018 * gdb.python/py-mi-events.c: New file.
1019 * gdb.python/py-mi-events.exp: New file.
1020
e6359af3
YQ
10212016-03-30 Yao Qi <yao.qi@linaro.org>
1022
1023 * gdb.reverse/until-precsave.exp: Match function name only.
1024 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1025 Move malloc to a condition block.
1026 * gdb.reverse/until-reverse.exp: Match function name only.
1027
a4105d04
MK
10282016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1029
1030 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1031 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1032 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1033 variable for GPR 0 instead of assuming it is register 0.
1034 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1035 * lib/trace-support.exp: Add s390 registers.
1036
bfa6adb9
YQ
10372016-03-29 Yao Qi <yao.qi@linaro.org>
1038
1039 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1040
1e6697ea
YQ
10412016-03-24 Yao Qi <yao.qi@linaro.org>
1042
1043 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1044 test message.
1045
64bcd522
AA
10462016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1047
1048 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1049 maintaining separate logic for constructing the output path.
1050
7868401b
DB
10512016-03-16 Don Breazeal <donb@codesourcery.com>
1052
1053 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1054 Retry fork and waitpid on interrupted system call errors.
1055 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1056 Use with_timeout_factor to increase timeout by factor of 10.
1057
1cafadb4
DB
10582016-03-15 Don Breazeal <donb@codesourcery.com>
1059
1060 * gdb.cp/scope-err.cc: New test program.
1061 * gdb.cp/scope-err.exp: New test script.
1062 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1063 lines and "set breakpoint here" comment.
1064 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1065 Fixed some whitespace and format issues.
1066 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1067 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1068
81516450
DE
10692016-03-15 Doug Evans <dje@google.com>
1070
1071 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1072 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1073 All callers updated. Add tests for enums, mixed flags register.
1074
aa52b601
DE
10752016-03-15 Doug Evans <dje@google.com>
1076
1077 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1078 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1079
fa4ff313
SM
10802016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1081
1082 * gdb.base/default.exp: Add $_as_string to the list of expected
1083 convenience functions.
1084
f2403c39
AB
10852016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1086
1087 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1088
f2f3ccb9
SM
10892016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1090
1091 * gdb.python/py-as-string.exp: New file.
1092 * gdb.python/py-as-string.c: New file.
1093
00dbd492
PA
10942016-03-09 Pedro Alves <palves@redhat.com>
1095
1096 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1097 signal" -> "Thread NN received signal" output change.
1098 * gdb.threads/ia64-sigill.exp: Likewise.
1099 * gdb.threads/linux-dp.exp: Likewise.
1100 * gdb.threads/manythreads.exp: Likewise.
1101 * gdb.threads/pending-step.exp: Likewise.
1102 * gdb.threads/print-threads.exp: Likewise.
1103 * gdb.threads/sigstep-threads.exp: Likewise.
1104 * gdb.threads/staticthreads.exp: Likewise.
1105 * gdb.threads/tls.exp: Likewise.
1106
1e6697ea
YQ
11072016-03-09 Pedro Alves <palves@redhat.com>
1108
1109 * gdb.base/command-line-input.exp: New file.
1110
b04fd3be
MK
11112016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1112
1113 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1114 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1115 * gdb.trace/pending.exp: Accept leading dot before function name.
1116 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1117 * lib/trace-support.exp: Set registers for ppc.
1118
98fa59e9
MK
11192016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1120
1121 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1122 use it for disassembly; accept .main in addition to main in backtrace.
1123
f77198c8
MK
11242016-03-09 Wei-cheng Wang <cole945@gmail.com>
1125 Marcin Kościelnicki <koriakin@0x04.net>
1126
1127 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1128 (gdb_recursion_test_ptr): New global variable.
1129 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1130 gdb_recursion_test.
1131 (gdb_c_test): Ditto.
1132
ba84e0da
MK
11332016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1134
1135 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1136 ordering.
1137
4366d36e
MK
11382016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1139
1140 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1141 (bar): Add bar_start_lbl label.
1142 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1143 of foo/bar for emitting DWARF and tracing.
1144
5eb264df
SDJ
11452016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1146
1147 * analyze-racy-logs.py: Set executable bit.
1148
fb6a751f
SDJ
11492016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1150
1151 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1152 (CHECK_TARGET_TMP): Likewise.
1153 (check-single-racy): New rule.
1154 (check-parallel-racy): Likewise.
1155 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1156 (do-check-parallel-racy): New rule.
1157 (check-racy/%.exp): Likewise.
1158 * README (Racy testcases): New section.
1159 * analyze-racy-logs.py: New file.
1160
bdf7e230
DE
11612016-03-03 Doug Evans <dje@google.com>
1162
1163 * gdb.base/skip.exp: Use with_test_prefix.
1164
4719d415
YQ
11652016-03-03 Yao Qi <yao.qi@linaro.org>
1166
1167 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1168 Invoke step_over_syscall "clone" and break_cond_on_syscall
1169 "clone".
1170 * gdb.base/step-over-clone.c: New file.
1171
ea507862
YQ
11722016-03-03 Yao Qi <yao.qi@linaro.org>
1173
1174 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1175 code format.
1176
8fc8cbda
YQ
11772016-03-03 Yao Qi <yao.qi@linaro.org>
1178
1179 * gdb.base/disp-step-fork.c: Rename to ...
1180 * gdb.base/step-over-fork.c: ... it. New file.
1181 * gdb.base/disp-step-vfork.c: Rename to ...
1182 * gdb.base/step-over-vfork.c: ... it. New file.
1183 * gdb.base/disp-step-syscall.exp: Rename to ...
1184 * gdb.base/step-over-syscall.exp: ... it. New file.
1185 (disp_step_cross_syscall): Rename to ...
1186 (step_over_syscall): ... it.
1187
92fa70b0
YQ
11882016-03-03 Yao Qi <yao.qi@linaro.org>
1189
1190 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1191 If target supports condition evaluation on target, invoke
1192 break_cond_on_syscall for fork and vfork.
1193
e197ad3c
YQ
11942016-03-03 Yao Qi <yao.qi@linaro.org>
1195
1196 * gdb.base/disp-step-syscall.exp: Don't invoke
1197 support_displaced_stepping.
1198 (disp_step_cross_syscall): Test with displaced stepping off and
1199 on if supported.
1200
0b47da9f
YQ
12012016-03-03 Yao Qi <yao.qi@linaro.org>
1202
1203 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1204 proc.
1205 (setup): New proc.
1206 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1207 and setup.
1208
065ab6dc
BH
12092016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1210
1211 * gdb.fortran/vla-history.exp: Remove breakpoint.
1212
07e448ad 12132016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1214
25d49b86
PA
1215 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1216 exceeds timeout.
07e448ad 1217
9ac2d526 12182016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1219
25d49b86
PA
1220 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1221 breakpoint.
9ac2d526 1222
17807369
BH
12232016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1224
1225 * gdb.mi/vla.f90: Nullify pointer after declaration.
1226
86e501af
PA
12272016-03-01 Pedro Alves <palves@redhat.com>
1228
1229 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1230
1e903e32
PA
12312016-03-01 Pedro Alves <palves@redhat.com>
1232
1233 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1234 before anything else.
1235 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1236 _GNU_SOURCE here.
1237 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1238 before anything else.
1239 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1240
6ccb54e2
PA
12412016-03-01 Pedro Alves <palves@redhat.com>
1242
1243 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1244
30ca9da1
YQ
12452016-03-01 Yao Qi <yao.qi@linaro.org>
1246
1247 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1248 prepare_for_testing.
1249
dc856b38
YQ
12502016-03-01 Yao Qi <yao.qi@linaro.org>
1251
1252 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1253
4a932159
AA
12542016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1255
1256 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1257 manually constructing the output path.
1258
f2489477
AA
12592016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1260
1261 * gdb.arch/s390-stackless.S: New.
1262 * gdb.arch/s390-stackless.exp: New.
1263
38899f16
IB
12642016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1265
1266 * gdb.dlang/circular.c: New file.
1267 * gdb.dlang/circular.exp: New file.
1268
9fde51ed
YQ
12692016-02-26 Yao Qi <yao.qi@linaro.org>
1270
1271 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1272 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1273 (testcases): Update.
1274
ce90fefe
YQ
12752016-02-26 Yao Qi <yao.qi@linaro.org>
1276
1277 * gdb.reverse/aarch64.c: Rename to ...
1278 * gdb.reverse/insn-reverse.c: ... it.
1279 * gdb.reverse/aarch64.exp: Rename to ...
1280 * gdb.reverse/insn-reverse.exp: ... it.
1281
3263bceb
YQ
12822016-02-26 Yao Qi <yao.qi@linaro.org>
1283
1284 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1285 (testcase_ftype): New.
1286 (testcases): New array.
1287 (n_testcases): New.
1288 (main): Call each element in testcases.
1289 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1290 (read_testcase): New.
1291 Do the tests in a loop.
1292
6cb59ff1
YQ
12932016-02-25 Yao Qi <yao.qi@linaro.org>
1294
1295 * gdb.base/branches.c: Remove.
1296
ae91f625
MK
12972016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1298
1299 PR gdb/13808
1300 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1301
678b48b7
MK
13022016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1303
1304 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1305
7337a6f2
MK
13062016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1307
1308 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1309 change x86_64 call_insn to 'callq'.
1310
861ca91f
AT
13112016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1312
1313 * gdb.trace/tfile-avx.c: Move to...
1314 * gdb.trace/tracefile-pseudo-reg.c: Here.
1315 * gdb.trace/tfile-avx.exp: Move to...
1316 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1317
bf74e428
GB
13182016-02-24 Gary Benson <gbenson@redhat.com>
1319
1320 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1321 message on attach.
1322
cce0e923
DE
13232016-02-23 Doug Evans <dje@google.com>
1324
1325 * gdb.base/skip.c (test_skip): New function.
1326 (end_test_skip_file_and_function): New function.
1327 (test_skip_file_and_function): New function.
1328 * gdb.base/skip1.c (test_skip): New function.
1329 (skip1_test_skip_file_and_function): New function.
1330 * gdb.base/skip.exp: Add tests for new skip options.
1331 * gdb.base/skip-solib.exp: Update expected output.
1332 * gdb.perf/skip-command.cc: New file.
1333 * gdb.perf/skip-command.exp: New file.
1334 * gdb.perf/skip-command.py: New file.
1335
4000e47e
MK
13362016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1337
1338 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1339 info registers pattern.
1340
24f75ead
IB
13412016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1342
1343 * lib/future.exp: Add D support.
1344 (gdb_find_gdc): New proc.
1345 (gdb_default_target_compile): Add D support.
1346
fbb7bcbe
WW
13472016-02-18 Wei-cheng Wang <cole945@gmail.com>
1348
1349 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1350 user+system time.
1351 (trace_speed_test): Determine the iteration count for a time
1352 between 15..30 seconds.
1353
012b3a21
WT
13542016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1355
1356 * gdb.arch/i386-mpx-sigsegv.c: New file.
1357 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1358 * gdb.arch/i386-mpx-simple_segv.c: New file.
1359 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1360
2d5189bd
YQ
13612016-02-18 Yao Qi <yao.qi@linaro.org>
1362
1363 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1364 Don't call setup_kfail.
1365
40fb20d0
YQ
13662016-02-18 Yao Qi <yao.qi@linaro.org>
1367
1368 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1369 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1370
21b1f8d2
DE
13712016-02-16 Doug Evans <dje@google.com>
1372
1373 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1374 * gdb.base/skip1.c: Ditto.
1375 * gdb.base/skip.exp: Whitespace cleanup.
1376
4041ed77
DB
13772016-02-16 Don Breazeal <donb@codesourcery.com>
1378
1379 PR remote/19496
1380 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1381 Remove kfail for PR remote/19496.
1382
c4ef31bf
SM
13832016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1384
1385 * lib/gdb.exp (standard_temp_file): Return a path specific to
1386 the runtest invocation.
1387
266b65b3
SM
13882016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1389
1390 * gdb.trace/save-trace.exp: Change relative path to be in the
1391 standard output directory.
1392
a7a0a6a9
JK
13932016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1394
1395 * gdb.arch/i386-prologue.c: Add missing prototypes.
1396
c99dbb42
JK
13972016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1398
1399 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1400 * gdb.arch/i386-prologue.exp: Likewise.
1401 * gdb.arch/i386-size.exp: Likewise.
1402
aa480355
SM
14032016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1404
1405 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1406 define object file path.
1407 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1408 file path.
1409 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1410 standard_output_file to define binfile.
1411
ba881f50
JK
14122016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1413
1414 Fix compatibility with recent gfortran-5.3.1.
1415 * gdb.fortran/vla-history.exp (print vla1 allocated)
1416 (print vla2 allocated, print $2, print $3): Remove
1417 (print $4): Rename to ...
1418 (print $2): ... here.
1419 (print $9): Rename to ...
1420 (print $5): ... here.
1421 (print $10): Rename to ...
1422 (print $6): ... here.
1423 * gdb.fortran/vla.f90: Add pvla initialization.
1424
e9fb005c
JK
14252016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1426
1427 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1428 New test.
1429 * gdb.fortran/vla-value-sub.exp: Likewise.
1430
e44e00ff
MK
14312016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1432
1433 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1434
97e94151
SM
14352016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1436
1437 * i386-biarch-core.exp: Define corefile using
1438 standard_output_file.
1439
01113bc1
YQ
14402016-02-12 Yao Qi <yao.qi@linaro.org>
1441
1442 * gdb.arch/arm-single-step-kernel-helper.c: New.
1443 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1444
33b4777c
MM
14452016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1446
1447 * gdb.btrace/tailcall-only.exp: New.
1448 * gdb.btrace/tailcall-only.c: New.
1449 * gdb.btrace/x86_64-tailcall-only.S: New.
1450 * gdb.btrace/i686-tailcall-only.S: New.
1451
acc23c11
PA
14522016-02-11 Pedro Alves <palves@redhat.com>
1453
1454 * README (Parallel testing): Add missing double quotes.
1455
e352bf0a
PA
14562016-02-11 Pedro Alves <palves@redhat.com>
1457
1458 * README (Parallel testing): New section.
1459 (GDB_PARALLEL): Rewrite.
1460 (FORCE_PARALLEL): Document.
1461
9f5fed78
MK
14622016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1463
1464 * gdb.trace/tfile-avx.c: New test.
1465 * gdb.trace/tfile-avx.exp: New test.
1466
9ef9e6a6
KS
14672016-02-09 Keith Seitz <keiths@redhat.com>
1468
1469 PR breakpoints/19546
1470 * gdb.base/infcall-exec.c: New file.
1471 * gdb.base/infcall-exec2.c: New file.
1472 * gdb.base/infcall-exec.exp: New file.
1473
a96e36da
KS
14742016-02-09 Keith Seitz <keiths@redhat.com>
1475
1476 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1477 (toplevel): Call test_bkpt_address.
1478
9f61929f
KS
14792016-02-09 Keith Seitz <keiths@redhat.com>
1480
1481 PR python/19506
1482 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1483 (toplevel): Call test_bkpt_address.
1484
1e94266c
SM
14852016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1486
1487 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1488 to AC_OUTPUT.
1489 * configure: Regenerate.
1490
2a7f3dff
PA
14912016-02-09 Pedro Alves <palves@redhat.com>
1492
1493 PR breakpoints/19548
1494 * gdb.base/execl-update-breakpoints.c (some_function): New
1495 function.
1496 (main): Call it.
1497 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1498 Tighten expected GDB output.
1499
2151ccc5
SM
15002016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1501
1502 * Makefile.in (ALL_SUBDIRS): Remove.
1503 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1504 (distclean maintainer-clean realclean): Likewise.
1505 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1506 * configure: Regenerate.
1507 * gdb.ada/Makefile.in: Delete.
1508 * gdb.arch/Makefile.in: Likewise.
1509 * gdb.asm/Makefile.in: Likewise.
1510 * gdb.base/Makefile.in: Likewise.
1511 * gdb.btrace/Makefile.in: Likewise.
1512 * gdb.cell/Makefile.in: Likewise.
1513 * gdb.compile/Makefile.in: Likewise.
1514 * gdb.cp/Makefile.in: Likewise.
1515 * gdb.disasm/Makefile.in: Likewise.
1516 * gdb.dlang/Makefile.in: Likewise.
1517 * gdb.dwarf2/Makefile.in: Likewise.
1518 * gdb.fortran/Makefile.in: Likewise.
1519 * gdb.gdb/Makefile.in: Likewise.
1520 * gdb.go/Makefile.in: Likewise.
1521 * gdb.guile/Makefile.in: Likewise.
1522 * gdb.java/Makefile.in: Likewise.
1523 * gdb.linespec/Makefile.in: Likewise.
1524 * gdb.mi/Makefile.in: Likewise.
1525 * gdb.modula2/Makefile.in: Likewise.
1526 * gdb.multi/Makefile.in: Likewise.
1527 * gdb.objc/Makefile.in: Likewise.
1528 * gdb.opencl/Makefile.in: Likewise.
1529 * gdb.opt/Makefile.in: Likewise.
1530 * gdb.pascal/Makefile.in: Likewise.
1531 * gdb.perf/Makefile.in: Likewise.
1532 * gdb.python/Makefile.in: Likewise.
1533 * gdb.reverse/Makefile.in: Likewise.
1534 * gdb.server/Makefile.in: Likewise.
1535 * gdb.stabs/Makefile.in: Likewise.
1536 * gdb.threads/Makefile.in: Likewise.
1537 * gdb.trace/Makefile.in: Likewise.
1538 * gdb.xml/Makefile.in: Likewise.
1539 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1540 GDB_PARALLEL.
1541 (standard_output_file): Remove check for GDB_PARALLEL, always
1542 return path in outputs/$subdir/$testname.
1543
437277d4
SM
15442016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1545
1546 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1547 (site.exp): Assign abs_srcdir to tcl's srcdir.
1548
31d913c7
YQ
15492016-02-04 Yao Qi <yao.qi@linaro.org>
1550
1551 * gdb.base/foll-exec-mode.c: Include limits.h.
1552 (main): Add parameters argc and argv. Get directory from
1553 argv[0].
1554 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1555 compilation.
1556 * gdb.base/foll-exec.c: Include limits.h.
1557 (main): Add parameters argc and argv.
1558 Get directory from argv[0].
1559 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1560 Adjust tests on the number of lines as source code changed.
1561 * gdb.base/foll-vfork-exit.c: Include limits.h.
1562 (main): Add one line of statement before vfork.
1563 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1564 (main): Add parameters argc and argv. Get directory from
1565 argv[0].
1566 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1567 (setup_gdb): Set tbreak to skip some source lines.
1568 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1569 (main): Add parameters argc and argv. Get directory from
1570 argv[0].
1571 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1572 compilation.
1573 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1574 (main): Add parameters argc and argv. Get directory from
1575 argv[0].
1576 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1577 compilation.
1578
9482b9fb
DE
15792016-02-01 Doug Evans <dje@google.com>
1580
1581 * gdb.base/skip.exp: Clean up multiple references to same test name.
1582
6b2e4f10
PA
15832016-02-01 Pedro Alves <palves@redhat.com>
1584
ccb6afd6 1585 PR remote/19496
6b2e4f10
PA
1586 * gdb.threads/forking-threads-plus-breakpoint.exp
1587 (displaced_stepping_supported): New global.
1588 (probe_displaced_stepping_support): New procedure.
1589 (do_test): Add 'displaced' parameter, and use it.
1590 (top level): Check for displaced stepping support. Add displaced
1591 stepping on/off testing axis.
1592
37a8db1a
AB
15932016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1594
1595 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1596 pointer. Don't perform further tests on the unassociated pointer
1597 if the first test fails.
1598
5fdf6324
AB
15992016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1600
1601 * gdb.base/max-value-size.c: New file.
1602 * gdb.base/max-value-size.exp: New file.
1603 * gdb.base/huge.exp: Disable max-value-size for this test.
1604
935c6144
IB
16052016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1606
1607 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1608
7fe8399d
YQ
16092016-01-28 Yao Qi <yao.qi@linaro.org>
1610
1611 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1612
a2077e25
PA
16132016-01-25 Pedro Alves <palves@redhat.com>
1614
1615 PR threads/19461
1616 * gdb.base/fork-running-state.c: New file.
1617 * gdb.base/fork-running-state.exp: New file.
1618
1d2736d4
PA
16192016-01-25 Pedro Alves <palves@redhat.com>
1620
1621 PR gdb/19494
1622 * gdb.base/catch-fork-kill.c: New file.
1623 * gdb.base/catch-fork-kill.exp: New file.
1624
f1da4b11
PA
16252016-01-25 Pedro Alves <palves@redhat.com>
1626
1627 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1628 Delete, moved to lib/gdb.exp.
1629 * gdb.threads/forking-threads-plus-breakpoint.exp
1630 (foreach_with_prefix): Likewise.
1631 * gdb.threads/process-dies-while-handling-bp.exp
1632 (foreach_with_prefix): Likewise.
1633 * lib/gdb.exp (foreach_with_prefix): New procedure.
1634
45f38546
MK
16352016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1636
1637 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1638 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1639
dc29a1ce
MK
16402016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1641
1642 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1643 endian targets.
1644
092127d7
JK
16452016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1646 Pedro Alves <palves@redhat.com>
1647
1648 Fix testsuite compatibility with Guile.
1649 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1650 number.
1651
31d765d3
JK
16522016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1653
1654 Fix testsuite compatibility with Guile.
1655 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1656 (thread 1): New test for backtrace through signal handler.
1657
1ac78c04
YQ
16582016-01-22 Yao Qi <yao.qi@linaro.org>
1659
1660 PR testsuite/19491
1661 * gdb.base/multi-forks.c: Include
1662 ../lib/unbuffer_output.c
1663 (main): Call gdb_unbuffer_output.
1664
4f5946a8
DE
16652016-01-21 Doug Evans <dje@google.com>
1666
1667 * lib/ada.exp (gdb_compile_ada): Fix typo.
1668
305e13e6
JB
16692016-01-21 Joel Brobecker <brobecker@adacore.com>
1670
1671 * gdb.base/break-fun-addr.exp: New file.
1672 * gdb.base/break-fun-addr1.c: New file.
1673 * gdb.base/break-fun-addr2.c: New file.
1674
5f5dfff6
SM
16752016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1676
1677 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1678 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1679 enum flag values.
1680
fd356fa2
AA
16812016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1682
1683 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1684 when GDB can not set the vector return value. Add more comments
1685 for clarification.
1686
9df22175
AT
16872016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1688
1689 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1690 command.
1691
41d1845e
SM
16922016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1693
1694 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1695
01ac6840
SM
16962016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1697
1698 * Makefile.in (check-single): Pass --status to runtest.
1699 (check/%.exp): Likewise.
1700
17012016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1702
1703 * Makefile.in (check-parallel): Propagate return code from make
1704 do-check-parallel.
1705
bd0a71fa
MK
17062016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1707
1708 * gdb.trace/ftrace.exp: Fix expected message on continue.
1709 * gdb.trace/pending.exp: Fix expected message on continue.
1710 * gdb.trace/trace-break.exp: Fix expected message on continue.
1711
8bcbad33
SM
17122016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1713
1714 * lib/gdb.exp (gdb_test): Remove unused global references.
1715
f303dbd6
PA
17162016-01-18 Pedro Alves <palves@redhat.com>
1717
1718 * gdb.base/async-shell.exp: Adjust expected output.
1719 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1720 * gdb.base/siginfo-thread.exp: Adjust expected output.
1721 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1722 * gdb.java/jnpe.exp: Adjust expected output.
1723 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1724 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1725 * gdb.threads/leader-exit.exp: Adjust expected output.
1726 * gdb.threads/manythreads.exp: Adjust expected output.
1727 * gdb.threads/pthreads.exp: Adjust expected output.
1728 * gdb.threads/schedlock.exp: Adjust expected output.
1729 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1730 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1731 expected output.
1732 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1733 output.
1734 * gdb.threads/sigthread.exp: Adjust expected output.
1735 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1736
b2789696
YQ
17372016-01-18 Yao Qi <yao.qi@linaro.org>
1738
1739 * gdb.guile/scm-section-script.c: Replace @progbits with
1740 %progbits.
1741 * gdb.python/py-section-script.c: Likewise.
1742
71ef29a8
PA
17432016-01-15 Pedro Alves <palves@redhat.com>
1744
1745 * gdb.multi/tids.exp: Test star wildcard ranges.
1746
3f5b7598
PA
17472016-01-15 Pedro Alves <palves@redhat.com>
1748
1749 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1750 command from "thread apply" invocation.
1751 (thr_apply_info_thr_invalid): Default the expected output to the
1752 input tid list.
1753 (top level): Add tests that use convenience variables. Add tests
1754 for "thread apply" with a valid TID list, but missing the command.
1755
663f6d42
PA
17562016-01-13 Pedro Alves <palves@redhat.com>
1757
1758 * gdb.base/default.exp: Expect $_gthread as well.
1759 * gdb.multi/tids.exp: Test $_gthread.
1760 * gdb.threads/thread-specific.exp: Test $_gthread.
1761
c84f6bbf
PA
17622016-01-13 Pedro Alves <palves@redhat.com>
1763
1764 * gdb.multi/tids.exp: Test "info threads -gid".
1765
22a02324
PA
17662016-01-13 Pedro Alves <palves@redhat.com>
1767
1768 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1769 Breakpoint.thread.
1770 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1771
5d5658a1
PA
17722016-01-07 Pedro Alves <palves@redhat.com>
1773
1774 * gdb.base/break.exp: Adjust to output changes.
1775 * gdb.base/hbreak2.exp: Likewise.
1776 * gdb.base/sepdebug.exp: Likewise.
1777 * gdb.base/watch_thread_num.exp: Likewise.
1778 * gdb.linespec/keywords.exp: Likewise.
1779 * gdb.multi/info-threads.exp: Likewise.
1780 * gdb.threads/thread-find.exp: Likewise.
1781 * gdb.multi/tids.c: New file.
1782 * gdb.multi/tids.exp: New file.
1783
84654457
PA
17842016-01-13 Pedro Alves <palves@redhat.com>
1785
1786 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1787
e3940304
PA
17882016-01-13 Pedro Alves <palves@redhat.com>
1789
1790 * gdb.base/default.exp: Expect $_inferior as well.
1791 * gdb.multi/base.exp: Test $_inferior.
1792
a911d87a
PA
17932016-01-13 Pedro Alves <palves@redhat.com>
1794
1795 PR breakpoints/19388
1796 * gdb.base/catch-signal-siginfo-cond.c: New file.
1797 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1798
82075af2
JS
17992016-01-12 Josh Stone <jistone@redhat.com>
1800 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1801
1802 * gdb.base/catch-syscall.c (do_execve): New variable.
1803 (main): Conditionally trigger an execve.
1804 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1805 (test_catch_syscall_execve): New, check entry/return across execve.
1806 (do_syscall_tests): Call test_catch_syscall_execve.
1807
e46eeedd
PA
18082016-01-12 Pedro Alves <palves@redhat.com>
1809
1810 * gdb.base/random-signal.exp (do_test): New procedure, with body
1811 of testcase moved in.
1812
01d8c27e
JK
18132016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1814 Pedro Alves <palves@redhat.com>
1815
1816 * gdb.base/funcargs.exp (finish from indirectly called function):
1817 Reintroduce the case for 'First'.
1818
9a706302
JK
18192016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1820 Pedro Alves <palves@redhat.com>
1821
1822 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1823 (tcatch_vfork_then_child_follow_exec)
1824 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1825 identification.
1826
c0ecb95f
JK
18272016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1828
1829 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1830 and repeats to unlimited.
1831 * gdb.python/py-value.exp: Likewise.
1832 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1833 and repeats to unlimited.
1834
6cfc1fcb
JK
18352016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1836
1837 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1838 and reordering the functions.
1839 * gdb.multi/hangout.c: Likewise.
1840 * gdb.multi/hello.c: Likewise.
1841
582a1b00
SM
18422016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1843
1844 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1845 absolute.
1846 (SingleStatisticTestResult.report): Use dict.keys instead of
1847 dict.iterkeys.
1848
79bc59cb
PA
18492016-01-06 Pedro Alves <palves@redhat.com>
1850
1851 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1852
43368e1d
MM
18532016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1854
1855 * gdb.btrace/dlopen.exp: New.
1856 * gdb.btrace/dlopen.c: New.
1857 * gdb.btrace/dlopen-dso.c: New.
1858
79fad5b8
SL
18592015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1860
1861 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1862 PATTERN argument is optional.
1863
ab8314b3
JB
18642015-12-24 Joel Brobecker <brobecker@adacore.com>
1865
1866 * lib/ada.exp (target_compile_ada_from_dir): New function.
1867 (gdb_compile_ada): Reimplement avoiding the use of project files.
1868 * gdb.ada/gnat_ada.gpr: Delete.
1869 * gdb.ada/cond_lang.exp: Adjust test to make path before
1870 filename optional.
1871 * gdb.ada/small_reg_param.exp: Likewise.
1872
fe33faff
SM
18732015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1874
1875 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1876
6d265cb4
TP
18772015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1878
1879 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1880 case.
1881
10125099
SM
18822015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1883
1884 * gdb.base/break.exp: Remove dead code.
1885 * gdb.base/sepdebug.exp: Likewise.
1886
3ca22649
SM
18872015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1888
1889 * gdb.asm/asm-source.exp: Remove HP-UX references.
1890 * gdb.base/annota1.exp: Likewise.
1891 * gdb.base/annota3.exp: Likewise.
1892 * gdb.base/attach.exp: Likewise.
1893 * gdb.base/bigcore.exp: Likewise.
1894 * gdb.base/break.exp: Likewise.
1895 * gdb.base/call-ar-st.exp: Likewise.
1896 * gdb.base/callfuncs.exp: Likewise.
1897 * gdb.base/catch-fork-static.exp: Likewise.
1898 * gdb.base/display.exp: Likewise.
1899 * gdb.base/foll-exec-mode.exp: Likewise.
1900 * gdb.base/foll-exec.exp: Likewise.
1901 * gdb.base/foll-fork.exp: Likewise.
1902 * gdb.base/foll-vfork.exp: Likewise.
1903 * gdb.base/funcargs.exp: Likewise.
1904 * gdb.base/hbreak2.exp: Likewise.
1905 * gdb.base/inferior-died.exp: Likewise.
1906 * gdb.base/interrupt.exp: Likewise.
1907 * gdb.base/multi-forks.exp: Likewise.
1908 * gdb.base/nodebug.exp: Likewise.
1909 * gdb.base/sepdebug.exp: Likewise.
1910 * gdb.base/solib1.c: Likewise.
1911 * gdb.base/step-test.exp: Likewise.
1912 * gdb.mi/non-stop.c: Likewise.
1913 * gdb.mi/pthreads.c: Likewise.
1914 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1915 * gdb.threads/pthreads.c: Likewise.
1916 * gdb.threads/staticthreads.exp: Likewise.
1917 * lib/future.exp: Likewise.
1918 * lib/gdb.exp: Likewise.
1919 * gdb.base/so-indr-cl.c: Remove.
1920 * gdb.base/so-indr-cl.exp: Likewise.
1921 * gdb.base/solib.c: Likewise.
1922 * gdb.base/solib.exp: Likewise.
1923 * gdb.base/solib2.c: Likewise.
1924
b6304613
SM
19252015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1926
1927 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1928 * gdb.base/call-ar-st.exp: Likewise.
1929 * gdb.base/callfuncs.exp: Likewise.
1930 * gdb.base/condbreak.exp: Likewise.
1931 * gdb.base/constvars.exp: Likewise.
1932 * gdb.base/hbreak2.exp: Likewise.
1933 * gdb.base/langs.exp: Likewise.
1934 * gdb.base/list.exp: Likewise.
1935 * gdb.base/long_long.exp: Likewise.
1936 * gdb.base/ptype.exp: Likewise.
1937 * gdb.base/scope.exp: Likewise.
1938 * gdb.base/signals.exp: Likewise.
1939 * gdb.base/so-impl-ld.exp: Likewise.
1940 * gdb.base/varargs.exp: Likewise.
1941 * gdb.base/volatile.exp: Likewise.
1942 * gdb.base/whatis.exp: Likewise.
1943 * gdb.cp/cplusfuncs.exp: Likewise.
1944 * gdb.cp/inherit.exp: Likewise.
1945 * gdb.cp/local.exp: Likewise.
1946 * gdb.cp/member-ptr.exp: Likewise.
1947 * gdb.cp/method.exp: Likewise.
1948 * gdb.cp/overload.exp: Likewise.
1949 * gdb.cp/templates.exp: Likewise.
1950 * gdb.stabs/weird.exp: Likewise.
1951 * lib/compiler.c: Likewise.
1952 * lib/compiler.cc: Likewise.
1953 * lib/cp-support.exp: Likewise.
1954 * lib/gdb.exp: Likewise.
1955
bf401b07
SM
19562015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1957
1958 * configure.ac: Remove HP-UX case.
1959 * configure: Regenerate.
1960
aff9c0f8
SM
19612015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1962
1963 * lib/gdb.exp (gdb_compile): Add function doc.
1964
a6904d5a
PA
19652015-12-17 Pedro Alves <palves@redhat.com>
1966
1967 PR threads/19354
1968 * gdb.multi/info-threads.exp: New file.
1969
a22279dd
YQ
19702015-12-15 Yao Qi <yao.qi@linaro.org>
1971
1972 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1973 is aarch64*-*-*.
1974
0588c796
SL
19752015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1976
1977 * gdb.base/history-duplicates.exp: Skip if no readline support.
1978
5d978e17
SL
19792015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1980
1981 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1982
7e763b86
SL
19832015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1984
1985 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1986
87a3a92c
SL
19872015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1988
1989 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1990 ctrl-C if nointerrupts target property is set.
1991 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1992 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1993 * gdb.base/paginate-bg-execution.exp: Likewise.
1994 * gdb.base/paginate-execution-startup.exp: Likewise.
1995 * gdb.base/random-signal.exp: Likewise.
1996 * gdb.base/range-stepping.exp: Likewise.
1997 * gdb.cp/annota2.exp: Likewise.
1998 * gdb.cp/annota3.exp: Likewise.
1999 * gdb.gdb/selftest.exp: Likewise.
2000 * gdb.threads/continue-pending-status.exp: Likewise.
2001 * gdb.threads/leader-exit.exp: Likewise.
2002 * gdb.threads/manythreads.exp: Likewise.
2003 * gdb.threads/pthreads.exp: Likewise.
2004 * gdb.threads/schedlock.exp: Likewise.
2005 * gdb.threads/sigthread.exp: Likewise.
2006
a8f077dc
DB
20072015-12-11 Don Breazeal <donb@codesourcery.com>
2008
2009 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2010 remote.
2011 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2012 * gdb.base/foll-exec.exp (main): Enable for target remote.
2013 * gdb.base/foll-fork.exp (main): Likewise.
2014 * gdb.base/foll-vfork.exp (main): Likewise.
2015 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2016 (proc continue_to_exit_bp_loc): Use clean_restart.
2017 * gdb.base/pie-execl.exp (main): Disable for target remote.
2018 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2019 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2020 * gdb.threads/execl.exp (main): Likewise.
2021 * gdb.threads/fork-child-threads.exp (main): Likewise.
2022 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2023 remote.
2024 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2025 remote.
2026 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2027 pid.tid style ptids, instead of just tid.
2028 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2029 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2030 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2031 ptids, instead of just tid.
2032
3b2464a8
AB
20332015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2034
2035 * gdb.base/list.exp (test_list_forward): Add end of file error
2036 test.
2037 (test_repeat_list_command): Add end of file error test.
2038 (test_list_backwards): Add beginning of file error test.
2039
a0def019
AB
20402015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2041
2042 * gdb.base/list.exp (test_list_invalid_args): New function,
2043 defined, and called.
2044
5c000dff
AB
20452015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2046
2047 * gdb.base/list.exp (test_list): Make test names unique.
2048
f1637ebe
YQ
20492015-12-11 Yao Qi <yao.qi@linaro.org>
2050
2051 * gdb.base/coremaker2.c: Remove.
2052
36d6fc0a
PA
20532015-12-10 Pedro Alves <palves@redhat.com>
2054
2055 * gdb.multi/base.exp: Remove stale "spaces" references.
2056
762f7747
PA
20572015-12-10 Pedro Alves <palves@redhat.com>
2058
2059 * gdb.multi/base.exp: Don't use nowarnings.
2060 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2061 * gdb.multi/hangout.c: Include stdio.h.
2062 * gdb.multi/hello.c: Include stdlib.h.
2063 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2064 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2065 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2066
28d2bfb9
AB
20672015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2068
2069 * gdb.dwarf2/dw2-ranges-base.c: New file.
2070 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2071 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2072 support additional line table, and debug ranges generation.
2073 (Dwarf::ranges): New function, generate .debug_ranges.
2074 (Dwarf::lines): Support generating simple line table programs.
2075 (Dwarf::assemble): Initialise new namespace variables.
2076
5fc2beac
KB
20772015-12-09 Kevin Buettner <kevinb@redhat.com>
2078
2079 * gdb.base/async.exp (proc test_background): Add case for
2080 asynchronous execution not supported.
2081
1c35a88f
LM
20822015-12-09 Luis Machado <lgustavo@codesourcery.com>
2083
2084 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2085 format and change test names to make them unique.
2086
b593e3d9
RK
20872015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2088 Pedro Alves <pedro@redhat.com>
2089
2090 PR gdb/18702
2091 Add checking of floatformats setup on x86_64 hosts.
2092 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2093 (smallval, bigval): New labels/constants.
2094 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2095 float" after loading bigval and smallval.
2096
d72413e6
PMR
20972015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2098
2099 * gdb.ada/fun_overload_menu.exp: New testcase.
2100 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2101
ece66d65
JS
21022015-12-04 Josh Stone <jistone@redhat.com>
2103
2104 * gdb.base/catch-fork-static.exp: New.
2105
41d0efca
YQ
21062015-12-03 Yao Qi <yao.qi@linaro.org>
2107
2108 * gdb.base/sizeof.c: Don't include stdio.h and
2109 ../lib/unbuffer_output.c.
2110 (main): New variable 'size' and 'value'. Remove printf and
2111 gdb_unbuffer_output. Assign return value to size and value.
2112 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2113 at the beginning.
2114 (check_sizeof): Check the result by printing variable 'size'.
2115 (check_valueof): Check the result by printing variable 'value'.
2116
99fd02d9
YQ
21172015-12-01 Yao Qi <yao.qi@linaro.org>
2118
2119 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2120 for aarch64*-*-linux* target.
2121
f2faf941
PA
21222015-11-30 Pedro Alves <palves@redhat.com>
2123
2124 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2125
04bf20c5
PA
21262015-11-30 Pedro Alves <palves@redhat.com>
2127
2128 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2129 Handle non-stop mode vCont replies.
2130
09df4675
PA
21312015-11-30 Pedro Alves <palves@redhat.com>
2132
2133 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2134 prepare_for_testing. Start gdb with "set non-stop on" appended to
2135 GDBFLAGS. Lax expected stop output.
2136
58b584af
YQ
21372015-11-27 Yao Qi <yao.qi@linaro.org>
2138
2139 * gdb.arch/arm-neon.exp: New.
2140 * gdb.arch/arm-neon.c: New.
2141
dfcb77a8
YQ
21422015-11-27 Yao Qi <yao.qi@linaro.org>
2143
2144 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2145
88e8ec1b
YQ
21462015-11-27 Yao Qi <yao.qi@linaro.org>
2147
2148 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2149 frames-invalid annotation.
2150
bfde72c2
YQ
21512015-11-27 Yao Qi <yao.qi@linaro.org>
2152
2153 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2154
f6512a69
SM
21552015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2156
2157 * gdb.threads/names.exp: New file.
2158 * gdb.threads/names.c: New file.
2159 * README: Mention gdb,no_thread_names.
2160
46a3515b
MM
21612015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2162
2163 PR 19297
2164 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2165 support" error.
2166
62147a22
PA
21672015-11-24 Pedro Alves <palves@redhat.com>
2168
2169 PR 17539
2170 * gdb.base/display.exp: Expect displays to be sorted in ascending
2171 order. Use multi_line.
2172 * gdb.base/solib-display.exp: Likewise.
2173
2f341b6e
PA
21742015-11-24 Pedro Alves <palves@redhat.com>
2175
2176 PR 17539
25d49b86
PA
2177 * gdb.base/display.exp: Expect displays to be sorted in ascending
2178 order. Use multi_line.
2179 * gdb.base/solib-display.exp: Likewise.
2f341b6e 2180
7e0aa6aa
PA
21812015-11-24 Pedro Alves <palves@redhat.com>
2182
2183 PR 17539
2184 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2185 threads in ascending order.
2186 * gdb.base/foll-fork.exp: Likewise.
2187 * gdb.base/foll-vfork.exp: Likewise.
2188 * gdb.base/multi-forks.exp: Likewise.
2189 * gdb.mi/mi-nonstop.exp: Likewise.
2190 * gdb.mi/mi-nsintrall.exp: Likewise.
2191 * gdb.multi/base.exp: Likewise.
2192 * gdb.multi/multi-arch.exp: Likewise.
2193 * gdb.python/py-inferior.exp: Likewise.
2194 * gdb.threads/break-while-running.exp: Likewise.
2195 * gdb.threads/execl.exp: Likewise.
2196 * gdb.threads/gcore-thread.exp: Likewise.
2197 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2198 * gdb.threads/kill.exp: Likewise.
2199 * gdb.threads/linux-dp.exp: Likewise.
2200 * gdb.threads/multiple-step-overs.exp: Likewise.
2201 * gdb.threads/next-bp-other-thread.exp: Likewise.
2202 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2203 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2204 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2205 * gdb.threads/thread-find.exp: Likewise.
2206 * gdb.threads/tls.exp: Likewise.
2207 * lib/mi-support.exp (mi_reverse_list): Delete.
2208 (mi_check_thread_states): No longer reverse list.
2209
2cc57ad8
PA
22102015-11-24 Pedro Alves <palves@redhat.com>
2211
2212 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2213 use lowercase.
2214
c93e8391
SM
22152015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2216
2217 * gdb.trace/actions.c: Include trace-common.h.
2218 (main): Add a location for a fast tracepoint.
2219 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2220 the normal tracepoints.
2221 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2222
045ccf91
SM
22232015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2224
2225 * save-trace.exp: Factor out code to these...
2226 (gdb_save_tracepoints): New.
2227 (gdb_load_tracepoints): New.
2228 (do_save_load_test): New.
2229
5506f9f6
KB
22302015-11-23 Kevin Buettner <kevinb@redhat.com>
2231
2232 * gdb.base/asmlabel.exp: New test.
2233 * gdb.base/asmlabel.c: New test case.
2234
16c3b12f
JB
22352015-11-23 Joel Brobecker <brobecker@adacore.com>
2236
2237 * gdb.base/wrong_frame_bt_full-main.c: New file.
2238 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2239 * gdb.base/wrong_frame_bt_full.exp: New file.
2240
155bfbd3
JB
22412015-11-23 Joel Brobecker <brobecker@adacore.com>
2242
2243 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2244
bb097445
JM
22452015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2246
206853a0 2247 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
2248 pstate register when comparing registers values in
2249 sparc64-*-linux-gnu targets to avoid spurious differences.
2250
9c88ed8f
JM
22512015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2252
206853a0 2253 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 2254
96161e25
SL
22552015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2256
2257 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2258 as type argument to gdb_compile.
2259 * gdb.base/nested-subp2.exp: Likewise.
2260 * gdb.base/nested-subp3.exp: Likewise.
2261
340c2830
DV
22622015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2263
2264 * lib/dwarf.exp (_note): Fix left shift of negative value.
2265 * gdb.trace/trace-condition.exp: Likewise.
2266
c1862d0f
YQ
22672015-11-13 Yao Qi <yao.qi@linaro.org>
2268
2269 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2270 comments about d10v.
2271 (test_scalar_returns): Likewise.
2272 * gdb.base/d10v.ld: Remove.
2273 * gdb.base/overlays.exp: Remove the target triplet checking for
2274 d10v-*-*.
2275 * gdb.base/structs.exp (test_struct_returns): Remove the
2276 comments about d10v.
2277 (test_struct_calls): Likewise.
2278
77ae9c19
YQ
22792015-11-13 Yao Qi <yao.qi@linaro.org>
2280
2281 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2282 * gdb.base/gnu_vector.c: Don't include stdio.h.
2283 (main): Don't print res and call add_some_intvecs.
2284
430e004e
MK
22852015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2286
2287 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2288 macro.
2289 (func5): Removed.
2290 (func4): Use FAST_TRACEPOINT_LABEL.
2291 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2292 macro.
2293 (func): Removed.
2294 (thread_function): Use FAST_TRACEPOINT_LABEL.
2295 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2296 (func): Remove.
2297 (marker): Use FAST_TRACEPOINT_LABEL.
2298 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2299 (pendfunc1): Remove.
2300 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2301 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2302 (foo): Remove.
2303 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2304 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2305 macro.
2306 (func): Remove.
2307 (marker): Use FAST_TRACEPOINT_LABEL.
2308 * gdb.trace/trace-common.h: New header.
2309 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2310 macro.
2311 (func): Remove.
2312 (marker): Use FAST_TRACEPOINT_LABEL.
2313 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2314 (func): Remove.
2315 (thread_function): Use FAST_TRACEPOINT_LABEL.
2316
6e7675a7
MK
23172015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2318
2319 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2320 in front.
2321 * gdb.trace/change-loc.exp: Use global pcreg definition.
2322 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2323 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2324 in front.
2325 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2326 * gdb.trace/pending.exp: Likewise.
2327 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2328 * gdb.trace/trace-break.exp: Likewise.
2329 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2330 in front.
2331 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2332 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2333 in front.
2334 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2335
dddc0e16
JB
23362015-11-09 Joel Brobecker <brobecker@adacore.com>
2337
2338 * gdb.ada/fin_fun_out: New testcase.
2339
c6f0b406
KB
23402015-11-07 Kevin Buettner <kevinb@redhat.com>
2341
2342 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2343 value associated with DW_AT_byte_size.
2344 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2345 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2346 DW_AT_upper_bound.
2347
f01dcfd9
KB
23482015-11-07 Kevin Buettner <kevinb@redhat.com>
2349
2350 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2351 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2352 version.
2353 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2354 gdb.dwarf2/dw2-canonicalize-type.exp,
2355 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2356 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2357 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2358 provided by gdb_target_symbol_prefix_flags_asm.
2359 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2360 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2361 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2362 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2363 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2364 macros where needed). Use this macro for symbols which require
2365 the prefix provided by SYMBOL_PREFIX.
2366
2223449a
KB
23672015-11-05 Kevin Buettner <kevinb@redhat.com>
2368
2369 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2370 New procs.
2371 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2372 representing expressions, of more than one list element.
2373 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2374 to prepend linker symbol prefix to f.
2375 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2376 table_1 and table_2.
2377 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2378 Likewise, for f and g.
2379 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2380 for ptr.
2381 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2382 for main.
2383 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2384 table_1_ptr and table_2_ptr.
2385
6f2f1a3a
JK
23862015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2387 Joel Brobecker <brobecker@adacore.com>
2388
2389 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2390
566c56c9
MK
23912015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2392
2393 * gdb.reverse/s390-mvcle.c: New test.
2394 * gdb.reverse/s390-mvcle.exp: New file.
2395 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2396
d5f0636b
MK
23972015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2398
2399 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2400
7ad8b86c
MK
24012015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2402
2403 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2404 reaching marker2.
2405 * gdb.reverse/getresuid-reverse.exp: Likewise.
2406 * gdb.reverse/pipe-reverse.exp: Likewise.
2407 * gdb.reverse/readv-reverse.exp: Likewise.
2408 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2409 * gdb.reverse/time-reverse.exp: Likewise.
2410 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2411
4081c0f1
YQ
24122015-10-30 Yao Qi <yao.qi@linaro.org>
2413
2414 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2415 (empty_cycle): Remove.
2416 (main): Don't call empty_cycle. Don't use watch_count_done.
2417 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2418 empty_cycle. Rewrite the code counting HW watchpoints.
2419
452b4ba5
MK
24202015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2421
2422 * gdb.reverse/fstatat-reverse.c: New test.
2423 * gdb.reverse/fstatat-reverse.exp: New file.
2424 * gdb.reverse/getresuid-reverse.c: New test.
2425 * gdb.reverse/getresuid-reverse.exp: New file.
2426 * gdb.reverse/pipe-reverse.c: New test.
2427 * gdb.reverse/pipe-reverse.exp: New file.
2428 * gdb.reverse/readv-reverse.c: New test.
2429 * gdb.reverse/readv-reverse.exp: New file.
2430 * gdb.reverse/recvmsg-reverse.c: New test.
2431 * gdb.reverse/recvmsg-reverse.exp: New file.
2432 * gdb.reverse/time-reverse.c: New test.
2433 * gdb.reverse/time-reverse.exp: New file.
2434 * gdb.reverse/waitpid-reverse.c: New test.
2435 * gdb.reverse/waitpid-reverse.exp: New file.
2436
5e2e7507
JK
24372015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2438
2439 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2440
0fde2c53
DE
24412015-10-26 Doug Evans <dje@google.com>
2442
2443 PR symtab/17391
2444 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2445 * gdb.dwarf2/bad-regnum.c: New file.
2446 * gdb.dwarf2/bad-regnum.exp: New file.
2447
1a70ae97
DE
24482015-10-26 Doug Evans <dje@google.com>
2449
2450 PR python/18938
2451 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2452 file.
2453
27dc26ab
JK
24542015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2455
2456 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2457 for a change by "Mention language in compile error message".
2458
bed91f4d
SM
24592015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2460
2461 PR python/18073
2462 * gdb.python/py-type.c (C::a_method): New.
2463 (C::a_const_method): New.
2464 (C::a_static_method): New.
2465 (a_function): New.
2466 * gdb.python/py-type.exp (test_fields): Test getting fields
2467 from function and method.
2468
3f2f83dd
KB
24692015-10-21 Keven Boell <keven.boell@intel.com>
2470
2471 * gdb.fortran/vla-alloc-assoc.exp: New file.
2472 * gdb.fortran/vla-datatypes.exp: New file.
2473 * gdb.fortran/vla-datatypes.f90: New file.
2474 * gdb.fortran/vla-history.exp: New file.
2475 * gdb.fortran/vla-ptype-sub.exp: New file.
2476 * gdb.fortran/vla-ptype.exp: New file.
2477 * gdb.fortran/vla-sizeof.exp: New file.
2478 * gdb.fortran/vla-sub.f90: New file.
2479 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2480 * gdb.fortran/vla-value-sub-finish.exp: New file.
2481 * gdb.fortran/vla-value-sub.exp: New file.
2482 * gdb.fortran/vla-value.exp: New file.
2483 * gdb.fortran/vla-ptr-info.exp: New file.
2484 * gdb.mi/mi-vla-fortran.exp: New file.
2485 * gdb.mi/vla.f90: New file.
2486
27145d50
SL
24872015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2488
2489 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2490 of hardwired timeout value.
2491
5f3ff4f8
JK
24922015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2493 Pedro Alves <palves@redhat.com>
2494
2495 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2496 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2497
bfd09d20
JS
24982015-10-19 Josh Stone <jistone@redhat.com>
2499
2500 * gdb.base/catch-syscall.c: Include <sched.h>.
2501 (unknown_syscall): New variable.
2502 (main): Trigger a vfork and an unknown syscall.
2503 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2504 (unknown_syscall_number): Likewise.
2505 (check_call_to_syscall): Accept an optional syscall pattern.
2506 (check_return_from_syscall): Likewise.
2507 (check_continue): Likewise.
2508 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2509 (test_catch_syscall_skipping_return): New test toggling off 'catch
2510 syscall' to step over the syscall return, then toggling back on.
2511 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2512 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2513 (do_syscall_tests): Call test_catch_syscall_without_args and
2514 test_catch_syscall_mid_vfork.
2515 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2516 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2517
b32b93c6
AS
25182015-10-19 Andrew Stubbs <ams@codesourcery.com>
2519
2520 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2521 print g_vE): Add new pass patterns.
2522 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2523 print various symbol names for vptr fields.
2524
9d622bda
AB
25252015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2526
2527 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2528 results.
2529
0fd8ac1c
YQ
25302015-10-12 Yao Qi <yao.qi@linaro.org>
2531
2532 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2533
34240514
YQ
25342015-10-12 Yao Qi <yao.qi@linaro.org>
2535
2536 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2537 is aarch64*-*-linux*.
2538
8240f442
YQ
25392015-10-12 Yao Qi <yao.qi@linaro.org>
2540
2541 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2542 (can_relocate_bcond_true): ... it.
2543 (can_relocate_bcond_false): New function.
2544 (foo): Likewise.
2545 (can_relocate_bl): Likewise.
2546 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2547 can_relocate_bl.
2548
2520f728
PMR
25492015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2550
2551 * gdb.base/nested-addr.c: New file.
2552 * gdb.base/nested-addr.exp: New testcase.
2553
abcef95a
MM
25542015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2555
2556 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2557 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2558 its output. Ignore the output of "record goto begin" and instead
2559 check that GDB is replaying.
2560
145e3ddb
PA
25612015-10-09 Pedro Alves <palves@redhat.com>
2562
2563 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2564 (top level): Use it in the run with no args test.
2565
d5d8c4e1
IB
25662015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2567
2568 * gdb.dlang/properties.exp: New file.
2569
06e635ef
SL
25702015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2571
2572 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2573 whether or not address 0x1000 is mapped on the target.
2574
e019fd1d
SM
25752015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2576
2577 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2578 build.
2579
77ba2a67
MM
25802015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2581
2582 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2583 instruction-history test.
2584
c60eb31f
DE
25852015-09-28 Doug Evans <dje@google.com>
2586
2587 * gdb.base/gcore.c (array_func): Add reference to static_array.
2588
9a3c8263
SM
25892015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2590
2591 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2592 source line.
2593
9720e656
SL
25942015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2595
2596 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2597 short or char as base type.
2598
938d3bf2
SL
25992015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2600
2601 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2602 to allow any size enum.
2603
e6c2c623
PMR
26042015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2605
2606 * gdb.ada/array_ptr_renaming.exp: New testcase.
2607 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2608 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2609
06da0f77
PL
26102015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2611
2612 * gdb.trace/ftrace-lock.c: New file.
2613 * gdb.trace/ftrace-lock.exp: New file.
2614
4f51c22a
PL
26152015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2616
2617 * gdb.arch/insn-reloc.c: New file.
2618 * gdb.arch/ftrace-insn-reloc.exp: New file.
2619
7041adf4
PL
26202015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2621
2622 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2623 instruction.
2624 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2625 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2626 * gdb.trace/range-stepping.c: Likewise.
2627 * gdb.trace/trace-break.c: Likewise.
2628 * gdb.trace/trace-mt.c (thread_function): Likewise.
2629 * gdb.trace/ftrace.c (marker): Likewise.
2630 * gdb.trace/trace-condition.c (marker): Likewise.
2631 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2632 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2633 is_aarch64_target.
2634
015d2e7e
DE
26352015-09-18 Doug Evans <xdje42@gmail.com>
2636
2637 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2638 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2639
26b188a2
SL
26402015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2641
2642 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2643 the breakpoint.
2644
79dc332b
SL
26452015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2646
2647 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2648 the pending breakpoint. Remove timeout override for "Run till
2649 MI pending breakpoint on pendfunc3 on thread 2" test.
2650
f57929f2
SL
26512015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2652
2653 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2654 filename pattern.
2655
3f469b17
SL
26562015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2657
2658 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2659 in breakpoint filename pattern.
2660
515b89b3
SL
26612015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2662
7800dbe4
SL
2663 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2664
26652015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2666
515b89b3
SL
2667 * gdb.linespec/explicit.exp: Check for readline support for
2668 tab-completion tests. Fix obvious typo.
2669
d2939ba2
MM
26702015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2671
2672 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2673 and replay.
2674
cbb55fa7
MM
26752015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2676
2677 * gdb.btrace/non-stop.c: New.
2678 * gdb.btrace/non-stop.exp: New.
2679
43691ca1
PL
26802015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2681 Yao Qi <yao.qi@linaro.org>
2682
2683 * gdb.trace/trace-condition.c: New file.
2684 * gdb.trace/trace-condition.exp: New file.
2685
d78908cf
WW
26862015-09-16 Wei-cheng Wang <cole945@gmail.com>
2687
2688 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2689 for testing bytecode compilation.
2690
1ed415e2
PA
26912015-09-16 Pedro Alves <palves@redhat.com>
2692 Sandra Loosemore <sandra@codesourcery.com>
2693
2694 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2695 (SECONDS): Redefine.
2696 (main): Call pthread_kill and alarm early.
2697 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2698 support.
2699 (test): If the target can't hardware step and doesn't support
2700 displaced stepping, increase the timeout.
2701
d136eff5
PA
27022015-09-16 Pedro Alves <palves@redhat.com>
2703
2704 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2705 (enable_debug): New procedures.
2706 (test): Use them. Bail out if waiting for threads fails.
2707 (top level): Bail out if a test fails.
2708
991f019c
YQ
27092015-09-16 Yao Qi <yao.qi@linaro.org>
2710
2711 * gdb.asm/asm-source.exp: Set asm-arch for
2712 aarch64*-*-* target.
2713 * gdb.asm/aarch64.inc: New file.
2714
bfca584f
PMR
27152015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2716
2717 * gdb.ada/array_of_variable_length.exp: New testcase.
2718 * gdb.ada/array_of_variable_length/foo.adb: New file.
2719 * gdb.ada/array_of_variable_length/pck.adb: New file.
2720 * gdb.ada/array_of_variable_length/pck.ads: New file.
2721
b326e587
DE
27222015-09-15 Doug Evans <dje@google.com>
2723
2724 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2725 of function static local variable.
2726
5382cfab
PW
27272015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2728
2729 * gdb.threads/tls-so_extern.exp: New test file.
2730 * gdb.threads/tls-so_extern.c: New test file.
2731 * gdb.threads/tls-so_extern_main.c: New test file.
2732
141c5cc4
JK
27332015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2734
2735 * gdb.opt/solib-intra-step-lib.c: New file.
2736 * gdb.opt/solib-intra-step-main.c: New file.
2737 * gdb.opt/solib-intra-step.exp: New file.
2738
d15dcecd
PA
27392015-09-15 Pedro Alves <palves@redhat.com>
2740
2741 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2742 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2743
4c2f2a79
PA
27442015-09-14 Pedro Alves <palves@redhat.com>
2745
2746 * gdb.base/hook-stop-continue.c: Delete.
2747 * gdb.base/hook-stop-continue.exp: Delete.
2748 * gdb.base/hook-stop-frame.c: Delete.
2749 * gdb.base/hook-stop-frame.exp: Delete.
2750 * gdb.base/hook-stop.c: New file.
2751 * gdb.base/hook-stop.exp: New file.
2752
919e6dbe
PMR
27532015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2754
2755 * gdb.ada/access_to_packed_array.exp: New testcase.
2756 * gdb.ada/access_to_packed_array/foo.adb: New file.
2757 * gdb.ada/access_to_packed_array/pack.adb: New file.
2758 * gdb.ada/access_to_packed_array/pack.ads: New file.
2759
157280a4
MM
27602015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2761
2762 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2763 buffer size test.
2764
2fd33e94
DB
27652015-09-11 Don Breazeal <donb@codesourcery.com>
2766
2767 * gdb.base/foll-exec.c: Add copyright header. Fix
2768 formatting issues.
2769 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2770 (do_exec_tests): Use clean_restart in place of zap_session,
2771 and for test initialization. Fix formatting issues. Use
2772 fail in place of perror.
2773 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2774 an expect statement to match an expression with output from
2775 the program under debug.
2776 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2777 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2778 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2779 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2780 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2781
e70b6e8e
DE
27822015-09-09 Doug Evans <dje@google.com>
2783
2784 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2785
7a551a51
DE
27862015-09-09 Doug Evans <dje@google.com>
2787
2788 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2789
4c666f84
DE
27902015-09-09 Doug Evans <dje@google.com>
2791
2792 * gdb.base/savedregs.exp: Fix typo.
2793
243a9253
PA
27942015-09-09 Pedro Alves <palves@redhat.com>
2795
2796 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2797
c0fa8fbd
SL
27982015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2799
2800 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2801 command actually switches threads. Give up on remaining
2802 tests if target fails to stop at breakpoint.
2803
cd7c1778
PMR
28042015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2805
2806 * gdb.ada/funcall_char.exp: New testcase.
2807 * gdb.ada/funcall_char/foo.adb: New file.
2808
dc5c8746
PMR
28092015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2810
2811 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2812 expected outputs. Add two testcases for completing ambiguous
2813 functions.
2814 * gdb.ada/complete/aux_pck.adb: New file.
2815 * gdb.ada/complete/aux_pck.ads: New file.
2816 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2817 Ambiguous_Func functions.
2818 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2819 * gdb.ada/complete/pck.adb: Likewise.
2820
4e83a1e7
UW
28212015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2822
2823 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2824 failures to run the test program under GDB.
2825
8ce74153
LM
28262015-08-26 Luis Machado <lgustavo@codesourcery.com>
2827
2828 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2829 to C.
2830
e9756d52
PP
28312015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2832
2833 * gdb.base/run-after-attach.exp: New test file.
2834 * gdb.base/run-after-attach.c: New test file.
2835
8d37573b
DB
28362015-08-26 Don Breazeal <donb@codesourcery.com>
2837
2838 * gdb.base/foll-exec-2.c: New test program.
2839 * gdb.base/foll-exec-2.exp: New test.
2840
63e43d3a
PMR
28412015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2842
2843 * gdb.base/nested-subp1.exp: New file.
2844 * gdb.base/nested-subp1.c: New file.
2845 * gdb.base/nested-subp2.exp: New file.
2846 * gdb.base/nested-subp2.c: New file.
2847 * gdb.base/nested-subp3.exp: New file.
2848 * gdb.base/nested-subp3.c: New file.
2849
3d40fbb5
PA
28502015-08-24 Pedro Alves <palves@redhat.com>
2851
2852 * gdb.server/connect-without-multi-process.c: New file.
2853 * gdb.server/connect-without-multi-process.exp: New file.
2854
4422ac93
LM
28552015-08-24 Luis Machado <lgustavo@codesourcery.com>
2856
2857 * gdb.opt/inline-markers.c: Make z int.
2858
91dddb86
LM
28592015-08-24 Luis Machado <lgustavo@codesourcery.com>
2860
2861 * gdb.opt/inline-markers.c: Make z volatile.
2862
a48847ee
LM
28632015-08-24 Luis Machado <lgustavo@codesourcery.com>
2864
2865 * gdb.opt/inline-bt.c: New volatile global z.
2866 * gdb.opt/inline-cmds.c: Likewise.
2867 * gdb.opt/inline-locals.c: Likewise.
2868 * gdb.opt/inline-markers.c: New extern global z.
2869 (marker): Use z.
2870 (inline_fn): Likewise.
2871
0ebbc52b
PA
28722015-08-24 Pedro Alves <palves@redhat.com>
2873
2874 * config/m32r-stub.exp: Remove file.
2875 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2876 * gdb.base/call-rt-st.exp: Likewise.
2877 * gdb.base/call-strs.exp: Likewise.
2878 * gdb.base/default.exp: Remove references to h8300-*-hms and
2879 *-*-udi*.
2880 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2881
77c365df
AA
28822015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2883
2884 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2885 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2886 and "return" use KFAIL when GDB can not read/write the vector
2887 return value.
2888
4313b8c0
GB
28892015-08-21 Gary Benson <gbenson@redhat.com>
2890
2891 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2892
0e433b32
PA
28932015-08-20 Pedro Alves <palves@redhat.com>
2894
2895 * gdb.server/solib-list.exp: No longer expect an interior stop in
2896 non-stop mode.
2897
221e1a37
PA
28982015-08-20 Pedro Alves <palves@redhat.com>
2899
2900 * gdb.server/connect-stopped-target.c: New file.
2901 * gdb.server/connect-stopped-target.exp: New file.
2902
40e3ad0e
PA
29032015-08-20 Pedro Alves <palves@redhat.com>
2904
2905 * gdb.dwarf2/comp-unit-lang.exp: New file.
2906 * gdb.dwarf2/comp-unit-lang.c: New file.
2907
af39b327
PMR
29082015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2909
2910 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2911 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2912
7d45c7c3 29132015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 2914
7d45c7c3
KB
2915 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2916 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2917
4d6cceb4
DE
29182015-08-18 Doug Evans <dje@google.com>
2919 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2920
2921 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2922 skip_python_tests. New arg prompt_regexp.
2923 (skip_python_tests): New function.
2924 * lib/mi-support.exp (mi_skip_python_tests): New function.
2925 * gdb.python/py-mi-objfile-gdb.py: New file.
2926 * gdb.python/py-mi-objfile.c: New file.
2927 * gdb.python/py-mi-objfile.exp: New file.
2928
ad89c2aa
KS
29292015-08-17 Keith Seitz <keiths@redhat.com>
2930
2931 * gdb.linespec/explicit.exp: Move strace test from here ...
2932 * gdb.trace/strace.exp: ... to here.
2933
e3ae3c43
PP
29342015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2935
2936 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2937 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2938
604b2636
DE
29392015-08-14 Doug Evans <xdje42@gmail.com>
2940
2941 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2942 inferior before selecting a new file.
2943
6ff0ba5f
DE
29442015-08-14 Doug Evans <xdje42@gmail.com>
2945
2946 * gdb.mi/mi-disassemble.exp: Update.
2947 * gdb.base/disasm-optim.S: New file.
2948 * gdb.base/disasm-optim.c: New file.
2949 * gdb.base/disasm-optim.h: New file.
2950 * gdb.base/disasm-optim.exp: New file.
2951
9ca98f92
KS
29522015-08-14 Keith Seitz <keiths@redhat.com>
2953
2954 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2955 "evaluated-by".
2956
52bbc560
JB
29572015-08-13 Joel Brobecker <brobecker@adacore.com>
2958
2959 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2960
5d8c3ed3
PMR
29612015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2962
2963 * gdb.ada/fun_renaming.exp: New testcase.
2964 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2965 * gdb.ada/fun_renaming/pack.adb: New file.
2966 * gdb.ada/fun_renaming/pack.ads: New file.
2967
ea8812bc
KS
29682015-08-12 Keith Seitz <keiths@redhat.com>
2969
2970 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2971 gdb_get_line_number.
2972
4dafcdeb
JB
29732015-08-12 Joel Brobecker <brobecker@adacore.com>
2974
2975 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2976 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2977 gdb.base/dso2dso.exp: New files.
2978
5ba32597
SDJ
29792015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2980 Pedro Alves <palves@redhat.com>
2981 Keith Seitz <keiths@redhat.com>
2982
2983 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2984 GDBFLAGS.
2985
b6dafabf
PP
29862015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2987
2988 * gdb.base/gdbhistsize-history.exp
2989 (test_histsize_history_setting): Use save_vars.
2990 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2991 Use save_vars.
2992 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2993 * gdb.base/readline.exp: Use save_vars.
2994
abe8e607
PP
29952015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2996
2997 * lib/gdb.exp (save_vars): New proc.
2998
629500fa
KS
29992015-08-11 Keith Seitz <keiths@redhat.com>
3000
3001 * gdb.base/help.exp: Update help_breakpoint_text.
3002
eb8c4e2e
KS
30032015-08-11 Keith Seitz <keiths@redhat.com>
3004
3005 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3006 (at toplevel): Call test_explicit_breakpoints.
3007 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3008 breakpoints.
3009 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3010 breakpoint conditions, "-cond".
3011
87f0e720
KS
30122015-08-11 Keith Seitz <keiths@redhat.com>
3013
3014 * gdb.linespec/3explicit.c: New file.
3015 * gdb.linespec/cpexplicit.cc: New file.
3016 * gdb.linespec/cpexplicit.exp: New file.
3017 * gdb.linespec/explicit.c: New file.
3018 * gdb.linespec/explicit.exp: New file.
3019 * gdb.linespec/explicit2.c: New file.
3020 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3021 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3022 before using in the matching pattern.
3023 Clarify that `prefix' is a regular expression.
3024
f00aae0f
KS
30252015-08-11 Keith Seitz <keiths@redhat.com>
3026
3027 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3028 test.
3029 Add tests for missing ",FMT" and ",".
3030
e27852be
DE
30312015-08-10 Doug Evans <dje@google.com>
3032 Keith Seitz <keiths@redhat.com>
3033
3034 PR gdb/17960
3035 * gdb.base/completion.exp: Add location completer tests.
3036
7f03bd92
PA
30372015-08-07 Pedro Alves <palves@redhat.com>
3038
3039 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3040 tests here.
3041 (top level): Run do_test with and without displaced stepping.
3042
3fc8eb30
PA
30432015-08-07 Pedro Alves <palves@redhat.com>
3044
3045 * gdb.base/valgrind-disp-step.c: New file.
3046 * gdb.base/valgrind-disp-step.exp: New file.
3047
d4569d7b
PA
30482015-08-07 Pedro Alves <palves@redhat.com>
3049
3050 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
3051 Delete function.
3052 (main): Add alarm. Run an infinite loop instead of calling
3053 wait_threads.
3054 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
3055 comment.
3056 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3057 Delete function.
3058 (main): Add alarm. Run an infinite loop instead of calling
3059 wait_threads.
3060 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3061 comment.
3062
e1316e60
PA
30632015-08-07 Pedro Alves <palves@redhat.com>
3064
3065 * gdb.base/checkpoint-ns.exp: New file.
3066 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3067 standard_testfile.
3068
da8c46d2
MM
30692015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3070
3071 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3072 * gdb.btrace/instruction_history.exp: Update.
3073 * gdb.btrace/tsx.exp: New.
3074 * gdb.btrace/tsx.c: New.
3075
de1c2c52
PA
30762015-08-06 Pedro Alves <palves@redhat.com>
3077
3078 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3079 increase timeout.
3080 * gdb.reverse/until-precsave.exp: Bump timeouts.
3081
782e0bf4
PA
30822015-08-06 Pedro Alves <palves@redhat.com>
3083
3084 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3085
83e97ed0
PA
30862015-08-06 Pedro Alves <palves@redhat.com>
3087
3088 PR gdb/18749
3089 * gdb.threads/process-dies-while-handling-bp.c: New file.
3090 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3091
863d01bd
PA
30922015-08-06 Pedro Alves <palves@redhat.com>
3093
3094 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3095 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3096
0a39bb32
PA
30972015-08-05 Pedro Alves <palves@redhat.com>
3098
3099 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3100 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3101
ee2d2b10
SL
31022015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3103
3104 * gdb.base/bp-permanent.exp: Report test as unsupported if
3105 the target cannot stop at the permanent breakpoint.
3106
4e1bdb00
DE
31072015-08-03 Doug Evans <dje@google.com>
3108
3109 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3110 10000.
3111
3d338901
DE
31122015-08-03 Doug Evans <dje@google.com>
3113
3114 * Makefile.in (workers/%.worker, build-perf): New rule.
3115 (GDB_PERFTEST_MODE): New variable.
3116 (check-perf): Use it.
3117 (clean): Clean up gdb.perf parallel build subdirs.
3118 * lib/build-piece.exp: New file.
3119 * lib/gdb.exp (make_gdb_parallel_path): New function
3120 (standard_output_file, standard_temp_file): Call it.
3121 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3122 of $GDB_PARALLEL.
3123 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3124
af061d3e
DE
31252015-08-03 Doug Evans <dje@google.com>
3126
8e1afc81 3127 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
3128 (LOG_FILE_NAME): New global.
3129 (TextReporter.__init__): Initialize self.txt_sum.
3130 (TextReporter.report): Add support for multiple data-points.
3131 Move report to perftest.sum, put raw data in perftest.log.
3132 (TextReporter.start): Open sum and log files.
3133 (TextReporter.end): Close sum and log files.
8e1afc81
DE
3134 * gdb.perf/lib/perftest/testresult.py
3135 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 3136
2c8c5d37
PA
31372015-07-31 Pedro Alves <palves@redhat.com>
3138
3139 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3140 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3141 kill_wait_spawned_process instead of explicit "kill -9".
3142 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3143 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3144 kill_wait_spawned_process.
3145 * gdb.base/attach-twice.exp: Likewise.
3146 * gdb.base/attach.exp: Likewise.
3147 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3148 gdb_test_multiple.
3149 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3150 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3151 kill_wait_spawned_process.
3152 * gdb.base/valgrind-infcall.exp: Likewise.
3153 * gdb.multi/multi-attach.exp: Likewise.
3154 * gdb.python/py-prompt.exp: Likewise.
3155 * gdb.python/py-sync-interp.exp: Likewise.
3156 * gdb.server/ext-attach.exp: Likewise.
3157 * gdb.threads/attach-into-signal.exp (corefunc): Use
3158 spawn_wait_for_attach, spawn_id_get_pid and
3159 kill_wait_spawned_process.
3160 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3161 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3162 spawn_id_get_pid and kill_wait_spawned_process.
3163 * gdb.threads/attach-stopped.exp (corefunc): Use
3164 spawn_wait_for_attach, spawn_id_get_pid and
3165 kill_wait_spawned_process.
3166 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3167 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3168 kill_wait_spawned_process instead of explicit "kill -9".
3169 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3170 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3171 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3172 processes. Don't map cygwin/windows pids here. Now returns a
3173 spawn id list.
3174
032a0fca
SL
31752015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3176
3177 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3178 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3179 correct patch.
3180
61a934ca
SL
31812015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3182
3183 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3184
4bc4d428
SL
31852015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3186
3187 Reapply:
3188 2014-05-21 Mark Wielaard <mjw@redhat.com>
3189
3190 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3191
998d452a
PA
31922015-07-30 Pedro Alves <palves@redhat.com>
3193
3194 * linux-low.c (handle_extended_wait): Set the child's last
3195 reported status to TARGET_WAITKIND_STOPPED.
3196
69dde7dc
PA
31972015-07-30 Pedro Alves <palves@redhat.com>
3198
3199 PR threads/18600
3200 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3201 only shows inferior 1.
3202
4dd63d48
PA
32032015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3204 Pedro Alves <palves@redhat.com>
3205
3206 PR threads/18600
3207 * gdb.threads/fork-plus-threads.c: New file.
3208 * gdb.threads/fork-plus-threads.exp: New file.
3209
d618e4c5
PP
32102015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3211
3212 * gdb.base/batch-preserve-term-settings.exp
3213 (test_terminal_settings_preserved_after_cli_exit): Use
3214 send_quit_command.
3215
1eef6428
PA
32162015-07-29 Pedro Alves <palves@redhat.com>
3217 Don Breazeal <donb@codesourcery.com>
3218
3219 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3220 output from both inferior_spawn_id and gdb_spawn_id.
3221
7da5b897
SDJ
32222015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3223
3224 * gdb.threads/attach-into-signal.exp (corefunc): Use
3225 with_test_prefix on nested loops, uniquefying the test messages.
3226
dac804df
SDJ
32272015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3228
3229 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3230 commit.
3231
06265e53
PP
32322015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3233
3234 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3235 New proc.
3236 (test_terminal_settings_preserved_after_sigterm): New test.
3237
18206ca3
PP
32382015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3239
3240 * gdb.base/batch-preserve-term-settings.exp
3241 (test_terminal_settings_preserved_after_cli_exit): New test.
3242
90074d11
PP
32432015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3244
3245 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3246 manipulation of saved_gdbflags.
3247 (test_terminal_settings_preserved): Remove global declaration of
3248 the unused variable pagination_prompt. Remove manipulation of
3249 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3250 GDBFLAGS.
3251
eb1a7902
PA
32522015-07-29 Pedro Alves <palves@redhat.com>
3253
3254 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3255
8b75dd3b
PA
32562015-07-29 Pedro Alves <palves@redhat.com>
3257
3258 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3259 at the top.
3260
dedad4e3
PA
32612015-07-29 Pedro Alves <palves@redhat.com>
3262
3263 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3264 (main): Call gdb_unbuffer_output.
3265 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3266 (main): Call gdb_unbuffer_output.
3267 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3268 (main): Call gdb_unbuffer_output.
3269 * gdb.base/call-strs.exp: Adjust to step over the
3270 gdb_unbuffer_output call.
3271 * gdb.base/catch-gdb-caused-signals.c: Include
3272 "../lib/unbuffer_output.c".
3273 (main): Call gdb_unbuffer_output.
3274 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3275 (main): Call gdb_unbuffer_output.
3276 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3277 (main): Call gdb_unbuffer_output.
3278 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3279 (main): Call gdb_unbuffer_output.
3280 * gdb.base/shlib-call.exp: Adjust to step over the
3281 gdb_unbuffer_output call.
3282 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3283 (main): Call gdb_unbuffer_output.
3284 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3285 (main): Call gdb_unbuffer_output.
3286 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3287 (main): Rename to ...
3288 (test): ... this.
3289 (main): Reimplement.
3290 * gdb.base/varargs.exp: Run to test instead of to main.
3291 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3292 (main): Call gdb_unbuffer_output.
3293
58789a91
PA
32942015-07-29 Pedro Alves <palves@redhat.com>
3295
3296 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3297 factore out from mi_continue_dprintf. For call-style dprintfs,
3298 expect dprintf output out of $inferior_spawn_id.
3299 (mi_continue_dprintf): Use mi_expect_dprintf.
3300 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3301 (main): Call gdb_unbuffer_output.
3302
e8376742
PA
33032015-07-29 Pedro Alves <palves@redhat.com>
3304
3305 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3306 (default_mi_gdb_start): Set inferior_spawn_id instead of
3307 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3308 gdb_spawn_id.
3309 (mi_gdb_test): Always expect inferior output from both
3310 $inferior_spawn_id and $gdb_spawn_id.
3311
08280010
PA
33122015-07-29 Pedro Alves <palves@redhat.com>
3313
3314 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3315 send_inferior and $inferior_spawn_id.
3316
4d30e432
PA
33172015-07-29 Pedro Alves <palves@redhat.com>
3318
3319 * gdb.gdb/complaints.exp (test_initial_complaints)
3320 (test_serial_complaints, test_short_complaints): Use
3321 gdb_test_stdio.
3322 (test_empty_complaint): Handle $inferior_spawn_id !=
3323 $gdb_spawn_id.
3324
0d30a335
PA
33252015-07-29 Pedro Alves <palves@redhat.com>
3326
3327 * gdb.base/varargs.exp: Use gdb_test_stdio.
3328
39413b29
PA
33292015-07-29 Pedro Alves <palves@redhat.com>
3330
3331 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3332
7cb000a9
PA
33332015-07-29 Pedro Alves <palves@redhat.com>
3334
3335 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3336
d7b8ac82
PA
33372015-07-29 Pedro Alves <palves@redhat.com>
3338
3339 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3340 parameter into two new parameters, "inf_result" and "gdb_result".
3341 Expect inferior output and gdb output from $inferior_spawn_id and
3342 $gdb_spawn_id, respectively. Adjust all callers.
3343
789c3a0c
PA
33442015-07-29 Pedro Alves <palves@redhat.com>
3345
3346 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3347 of gdb_test_sequence.
3348
77e760c3
PA
33492015-07-29 Pedro Alves <palves@redhat.com>
3350
3351 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3352 (saw_spurious_output): Expect inferior output from
3353 $inferior_spawn_id. Use gdb_test_stdio.
3354
8396d2cd
PA
33552015-07-29 Pedro Alves <palves@redhat.com>
3356
3357 * gdb.base/dprintf.exp: Use standard_testfile. Change
3358 prepare_for_testing call.
3359 (srcfile): Don't set.
3360 (restart): New procedure.
3361 (test_dprintf): New procecure, use to continue over dprintfs.
3362 (test_call, test_agent): New procedures, tests moved here.
3363 Restart gdb and recreate dprintfs. Adjust expected output.
3364
2051d61f
PA
33652015-07-29 Pedro Alves <palves@redhat.com>
3366
3367 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3368
452397af
PA
33692015-07-29 Pedro Alves <palves@redhat.com>
3370
3371 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3372
8aed9555
PA
33732015-07-29 Pedro Alves <palves@redhat.com>
3374
3375 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3376 gdb_test_stdio.
3377
188a61b4
PA
33782015-07-29 Pedro Alves <palves@redhat.com>
3379
3380 * lib/gdb.exp (gdb_test_stdio): New procedure.
3381
12264a45
PA
33822015-07-29 Pedro Alves <palves@redhat.com>
3383
3384 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3385
23ffc893
PA
33862015-07-29 Pedro Alves <palves@redhat.com>
3387
3388 * gdb.base/call-signal-resume.exp: Remove check for
3389 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3390 * gdb.base/unwindonsignal.exp: Likewise.
3391 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3392 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3393
65566918
PA
33942015-07-29 Pedro Alves <palves@redhat.com>
3395
3396 * gdb.base/siginfo-addr.c (pass): New function.
3397 (handler): Call it iff si_addr is correct.
3398 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3399 Set a breakpoint at "pass" and continue to it.
3400
d60a9221
SDJ
34012015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3402
3403 * gdb.python/py-objfile.exp: Make some tests have unique names.
3404 * gdb.python/py-pp-registration.exp: Likewise.
3405
bde40b8f
PA
34062015-07-28 Pedro Alves <palves@redhat.com>
3407
3408 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3409
13e1dec8
SM
34102015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3411
3412 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3413
da33c9a7
SM
34142015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3415
3416 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3417
077836f7
PP
34182015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3419
3420 * gdb.base/gdb-sigterm-2.exp: New test.
3421
b8cc7b2e
DE
34222015-07-25 Doug Evans <xdje42@gmail.com>
3423
3424 Revert:
3425 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3426 (workers/%.worker, build-perf): New rule.
3427 (GDB_PERFTEST_MODE): New variable.
3428 (check-perf): Use it.
3429 (clean): Clean up gdb.perf parallel build subdirs.
3430 * lib/build-piece.exp: New file.
3431 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3432 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3433 name.
3434 (standard_temp_file): Ditto.
3435 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3436 of $GDB_PARALLEL.
3437
c8bd4544
DE
34382015-07-24 Doug Evans <dje@google.com>
3439
3440 * gdb.perf/lib/perftest/utils.py: New file.
3441 * gdb.perf/gm-hello.cc: New file.
3442 * gdb.perf/gm-pervasive-typedef.cc: New file.
3443 * gdb.perf/gm-pervasive-typedef.h: New file.
3444 * gdb.perf/gm-std.cc: New file.
3445 * gdb.perf/gm-std.h: New file.
3446 * gdb.perf/gm-use-cerr.cc: New file.
3447 * gdb.perf/gm-utils.h: New file.
3448 * gdb.perf/gmonster-null-lookup.py: New file.
3449 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3450 * gdb.perf/gmonster-print-cerr.py: New file.
3451 * gdb.perf/gmonster-ptype-string.py: New file.
3452 * gdb.perf/gmonster-runto-main.py: New file.
3453 * gdb.perf/gmonster-select-file.py: New file.
3454 * gdb.perf/gmonster1-null-lookup.exp: New file.
3455 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3456 * gdb.perf/gmonster1-print-cerr.exp: New file.
3457 * gdb.perf/gmonster1-ptype-string.exp: New file.
3458 * gdb.perf/gmonster1-runto-main.exp: New file.
3459 * gdb.perf/gmonster1-select-file.exp: New file.
3460 * gdb.perf/gmonster1.cc: New file.
3461 * gdb.perf/gmonster1.exp: New file.
3462 * gdb.perf/gmonster2-null-lookup.exp: New file.
3463 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3464 * gdb.perf/gmonster2-print-cerr.exp: New file.
3465 * gdb.perf/gmonster2-ptype-string.exp: New file.
3466 * gdb.perf/gmonster2-runto-main.exp: New file.
3467 * gdb.perf/gmonster2-select-file.exp: New file.
3468 * gdb.perf/gmonster2.cc: New file.
3469 * gdb.perf/gmonster2.exp: New file.
3470
6eab34f3
DE
34712015-07-24 Doug Evans <dje@google.com>
3472
3473 * gdb.perf/README: New file.
3474 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3475 * lib/gen-perf-test.exp: New file.
3476
63738bfd
DE
34772015-07-24 Doug Evans <dje@google.com>
3478
3479 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3480 (PerfTest::startup): New function.
3481 (PerfTest::run): Return result of calling body.
3482 (PerfTest::assemble): Rewrite.
3483 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3484 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3485 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3486 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3487 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3488
7b606f95
DE
34892015-07-24 Doug Evans <dje@google.com>
3490
3491 * lib/gdb.exp (clean_restart): Make executable optional.
3492
a97b16b8
DE
34932015-07-24 Doug Evans <dje@google.com>
3494
3495 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3496 compiler_info references.
3497 * gdb.cp/temargs.exp: Ditto.
3498 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3499 (get_compiler_info): Early exit if already computed. Set compiler_info
3500 to "unknown" if there was a problem.
3501 (test_compiler_info): Add function comment. Call get_compiler_info.
3502
35baa57f
DE
35032015-07-24 Doug Evans <dje@google.com>
3504
3505 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3506 (workers/%.worker, build-perf): New rule.
3507 (GDB_PERFTEST_MODE): New variable.
3508 (check-perf): Use it.
3509 (clean): Clean up gdb.perf parallel build subdirs.
3510 * lib/build-piece.exp: New file.
3511 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3512 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3513 name.
3514 (standard_temp_file): Ditto.
3515 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3516 of $GDB_PARALLEL.
3517
6ebea266
DE
35182015-07-24 Doug Evans <dje@google.com>
3519
3520 * lib/future.exp (gdb_default_target_compile): New option
3521 "early_flags".
3522 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3523 --as-needed.
3524
1e76a7e9
SDJ
35252015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3526
3527 * gdb.base/catch-syscall.exp: Call gdb_exit before
3528 gdb_skip_xml_test.
3529
5068630a
PA
35302015-07-24 Pedro Alves <palves@redhat.com>
3531
3532 * gdb.python/py-events.exp: Accept output between the stop event
3533 and the prompt.
3534 * gdb.python/py-evsignal.exp: Likewise.
3535 * gdb.python/py-evthreads.exp: Likewise.
3536
77598427
PA
35372015-07-24 Pedro Alves <palves@redhat.com>
3538
3539 PR gdb/18717
3540 * gdb.threads/non-ldr-exit.c: New file.
3541 * gdb.threads/non-ldr-exit.exp: New file.
3542
11e6c98f
YQ
35432015-07-24 Yao Qi <yao.qi@linaro.org>
3544
3545 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3546 restarting process.
3547
51aee833
YQ
35482015-07-24 Yao Qi <yao.qi@linaro.org>
3549
3550 * gdb.server/ext-restart.exp: New file.
3551
8cfe207c
YQ
35522015-07-24 Yao Qi <yao.qi@linaro.org>
3553
3554 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3555 argument options.
3556 * gdb.server/ext-wrapper.exp: New file.
3557
cc12ce38
DE
35582015-07-23 Doug Evans <dje@google.com>
3559
3560 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3561 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3562
d0d84780
PMR
35632015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3564
3565 * gdb.ada/var_arr_typedef.exp: New testcase.
3566 * gdb.ada/var_arr_typedef/pack.adb: New file.
3567 * gdb.ada/var_arr_typedef/pack.ads: New file.
3568 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3569
8b558f79
JB
35702015-07-20 Joel Brobecker <brobecker@adacore.com>
3571
3572 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3573
775a3298
JK
35742015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3575
3576 * gdb.arch/i386-biarch-core.exp: Replace istarget
3577 by "complete set gnutarget". Remove expectation for the "core-file"
3578 command.
3579
db1ff28b
JK
35802015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3581
3582 Revert the previous commit:
3583 Tests for validate symbol file using build-id.
3584
0a94970d
JK
35852015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3586
3587 Tests for validate symbol file using build-id.
3588 * gdb.base/solib-mismatch-lib.c: New file.
3589 * gdb.base/solib-mismatch-libmod.c: New file.
3590 * gdb.base/solib-mismatch.c: New file.
3591 * gdb.base/solib-mismatch.exp: New file.
3592
03346981
SL
35932015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3594
3595 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3596 nios2-*-linux*.
3597 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3598 * gdb.base/siginfo.exp: Likewise.
3599 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3600
42422cc7
PL
36012015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3602
3603 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3604 Move it to ...
3605 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3606 ... here.
3607 * gdb.trace/range-stepping.exp: Check that the target supports
3608 range stepping.
3609
cfa68bae
JK
36102015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3611
3612 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3613
8ffdba26
PA
36142015-07-14 Pedro Alves <palves@redhat.com>
3615
3616 * gdb.base/killed-outside.exp: New file.
3617 * gdb.base/killed-outside.c: New file.
3618
218a5a11
JK
36192015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3620
3621 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3622 (n at main): New.
3623 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3624
e03ed3c6
AA
36252015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3626
3627 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3628 infcall tests instead of setting up for KFAIL.
3629
485668e5
MM
36302015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3631
3632 * gdb.btrace/record_goto-step.exp: New.
3633
08464196
JK
36342015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3635
3636 PR compile/18484
3637 * gdb.compile/compile.c (struct struct_type): Add volatile to
3638 selffield's type.
3639 * gdb.compile/compile.exp
3640 (compile code struct_object.selffield = &struct_object): Skip further
3641 struct_object tests if this one xfails.
3642
bcf5c1d9
RC
36432015-07-08 Robert O'Callahan <robert@ocallahan.org>
3644
3645 PR exp/18617
3646 * gdb.trace/ax.exp: Add test.
3647
4931af25
YQ
36482015-07-07 Yao Qi <yao.qi@linaro.org>
3649
3650 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3651 instead of istarget "aarch64*-*-*".
3652 * gdb.arch/aarch64-fp.exp: Likewise.
3653 * gdb.base/float.exp: Likewise.
3654 * gdb.reverse/aarch64.exp: Likewise.
3655 * lib/gdb.exp (is_aarch64_target): New proc.
3656
9fcf688e
YQ
36572015-07-07 Yao Qi <yao.qi@linaro.org>
3658
3659 * lib/gdb.exp (is_aarch32_target): New proc.
3660 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3661 instead of "istarget "arm*-*-*"".
3662 * gdb.arch/arm-disp-step.exp: Likewise.
3663 * gdb.arch/thumb-bx-pc.exp: Likewise.
3664 * gdb.arch/thumb-prologue.exp: Likewise.
3665 * gdb.arch/thumb-singlestep.exp: Likewise.
3666 * gdb.base/disp-step-syscall.exp: Likewise.
3667 * gdb.base/float.exp: Likewise.
3668
fbd8d50d
YQ
36692015-07-07 Yao Qi <yao.qi@linaro.org>
3670
3671 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3672 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3673
71be1fdc
YQ
36742015-07-07 Yao Qi <yao.qi@linaro.org>
3675
3676 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3677 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3678 if it exists.
3679 * gdb.multi/multi-arch.exp: Likewise.
3680
3e221d36
SM
36812015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3682
3683 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3684 print.
3685
d441430b
YQ
36862015-07-07 Yao Qi <yao.qi@linaro.org>
3687
3688 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3689
06f810bd
MG
36902015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3691
3692 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3693 '[' and ']' characters.
3694
5e61e7c0
IB
36952015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3696
3697 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3698
28bf096c
PA
36992015-06-29 Pedro Alves <palves@redhat.com>
3700
3701 PR threads/18127
3702 * gdb.threads/hand-call-new-thread.c: New file.
3703 * gdb.threads/hand-call-new-thread.c: New file.
3704
ee93cd5e
KS
37052015-06-26 Keith Seitz <keiths@redhat.com>
3706 Doug Evans <dje@google.com>
3707
3708 PR 16253
3709 * gdb.cp/var-tag-2.cc: New file.
3710 * gdb.cp/var-tag-3.cc: New file.
3711 * gdb.cp/var-tag-4.cc: New file.
3712 * gdb.cp/var-tag.cc: New file.
3713 * gdb.cp/var-tag.exp: New file.
3714
fc637f04
PP
37152015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3716
3717 * gdb.base/history-duplicates.exp: New test.
3718
2e52ae68
PP
37192015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3720
3721 * gdb.base/completion.exp: Test the completion of the "focus"
3722 command.
3723
6e22494e
JK
37242015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3725
3726 * gdb.arch/amd64-prologue-skip.S: New file.
3727 * gdb.arch/amd64-prologue-skip.exp: New file.
3728
bf7b9cd9
SM
37292015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3730
3731 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3732 is_address_zero_readable check.
3733
201e8dfd
PB
37342015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3735
3736 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3737 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3738
5cd867b4
YQ
37392015-06-24 Yao Qi <yao.qi@linaro.org>
3740
3741 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3742 linux targets.
3743
4d7be007
YQ
37442015-06-24 Yao Qi <yao.qi@linaro.org>
3745
3746 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3747 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3748 * gdb.base/siginfo-thread.exp: Likewise.
3749
07fcd301
YQ
37502015-06-22 Yao Qi <yao.qi@linaro.org>
3751
3752 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3753
52042a00
YQ
37542015-06-22 Yao Qi <yao.qi@linaro.org>
3755
3756 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3757 aarch64*-*-*.
3758 (skip_hw_watchpoint_tests): Likewise.
3759
74bd41ce
PP
37602015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3761
3762 * gdb.base/gdbinit-history.exp: Test the interaction between
3763 setting GDBHISTSIZE and setting the history size via .gdbinit.
3764
bc460514
PP
37652015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3766
3767 PR gdb/16999
3768 * gdb.base/gdbhistsize-history.exp: New test.
3769
b58c513b
PP
37702015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3771
3772 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3773 with GDBHISTSIZE.
3774 * gdb.base/readline.exp: Likewise.
3775
92046791
YQ
37762015-06-17 Yao Qi <yao.qi@linaro.org>
3777
3778 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3779 line.
3780
2093d2d3
PP
37812015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3782
3783 * gdb.base/gdbinit-history.exp: Add test case to check that
3784 an unlimited history file does not get truncated on exit.
3785
e6c693af
AA
37862015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3787
3788 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3789 (VECTOR): New macro. Use it...
3790 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3791 ...for these typedefs.
3792 (int8, char1, int1, double1): New typedefs.
3793 (struct just_int2, struct two_int2): New structures.
3794 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3795 (add_structvecs, add_singlevecs): New functions.
3796 (main): Call add_some_intvecs twice.
3797 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3798 the compile and exit upon failure. Try compiling for the "native"
3799 architecture. Test inferior function calls with vector arguments
3800 and vector return value handling with "finish" and "return".
3801
c74f7d1c
JT
38022015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3803
3804 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3805 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3806 PE file.
3807 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3808
98aa42ee
AT
38092015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3810
3811 PR breakpoints/16465
3812 * gdb.mi/mi-dprintf-pending.c: New file.
3813 * gdb.mi/mi-dprintf-pending.exp: New test.
3814 * gdb.mi/mi-dprintf-pendshr.c: New file.
3815
7d73c23c 38162015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 3817 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
3818
3819 * gdb.arch/i386-mpx-map.c: New file.
3820 * gdb.arch/i386-mpx-map.exp: New File.
3821
38222015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3823
3824 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3825 * gdb.arch/i386-mpx.exp: Indentation fixed.
3826
38272015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3828
3829 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3830 function and improved indentation.
3831 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3832 gdb_test_multiple. Added additional tests to skip the test.
3833
38342015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3835
3836 * gdb.arch/i386-avx512.c: Change path in include file.
3837 * gdb.arch/i386-avx512.exp: Change include dir path
3838 compilation flag.
3839 * gdb.arch/i386-mpx.c: Change path in include file.
3840 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3841 flag.
3842
d5eba19a
JK
38432015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3844
3845 * gdb.compile/compile-print.exp (compile print *vararray@3)
3846 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3847
7f361056
JK
38482015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3849
3850 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3851 (do not keep jit in memory): ... this.
3852 (expect 5): Change it to ...
3853 (expect no 5): ... this.
3854
3b462ec2
SM
38552015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3856
3857 PR gdb/15564
3858 * gdb.mi/mi-detach.exp: New file.
3859
e0619de6
JK
38602015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3861
3862 PR symtab/18392
3863 * gdb.arch/amd64-tailcall-self.S: New file.
3864 * gdb.arch/amd64-tailcall-self.c: New file.
3865 * gdb.arch/amd64-tailcall-self.exp: New file.
3866
e970cb34
DB
38672015-05-28 Don Breazeal <donb@codesourcery.com>
3868
3869 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3870 tests for remote targets by checking is_target_gdbserver.
3871
b2e2f908
DE
38722015-05-27 Doug Evans <dje@google.com>
3873
3874 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3875 * gdb.dwarf2/opaque-type-lookup.c: New file.
3876 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3877
82c7be31
DE
38782015-05-26 Doug Evans <dje@google.com>
3879
3880 * gdb.cp/iostream.cc: New file.
3881 * gdb.cp/iostream.exp: New file.
3882
b4f54984
DE
38832015-05-26 Doug Evans <dje@google.com>
3884
3885 * gdb.dwarf2/dw2-op-call.exp: Update.
3886 * gdb.dwarf2/dw4-sig-types.exp: Update.
3887 * gdb.dwarf2/implptr.exp: Update.
3888 * gdb.mi/mi-cmd-param-changed.exp: Update.
3889
4ea6efe9
DE
38902015-05-26 Doug Evans <dje@google.com>
3891
3892 * gdb.python/py-lazy-string.c: New file.
3893 * gdb.python/py-lazy-string.exp: New file.
3894 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3895 (main): Update. Add estring3.
3896 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3897 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3898
f6bb7db3
YQ
38992015-05-26 Omair Javaid <omair.javaid@linaro.org>
3900 Yao Qi <yao.qi@linaro.org>
3901
3902 * gdb.reverse/aarch64.c: New.
3903 * gdb.reverse/aarch64.exp: New.
3904
a81bfbd0
OJ
39052015-05-26 Omair Javaid <omair.javaid@linaro.org>
3906
25d49b86
PA
3907 * lib/gdb.exp (supports_process_record): Return true for
3908 aarch64*-linux*.
a81bfbd0
OJ
3909 (supports_reverse): Likewise.
3910
158bf1b4
PP
39112015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3912
3913 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3914 Use with_test_prefix.
3915
a0145030
AB
39162015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3917
3918 * gdb.base/completion.exp: Add test for completion of layout
3919 names.
3920
ebe3b578
AB
39212015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3922
3923 * lib/gdb.exp (skip_tui_tests): New proc.
3924 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3925
84204ed7
PA
39262015-05-19 Pedro Alves <palves@redhat.com>
3927
3928 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3929 Save the whole env array instead of just HOME. Unset HISTSIZE in
3930 the environment while testing. Restore whole environment
3931 afterwards.
3932
37442ce1
DE
39332015-05-16 Doug Evans <xdje42@gmail.com>
3934
3935 * gdb.guile/scm-ports.c: New file.
3936 * gdb.guile/scm-ports.exp: Add memory port tests.
3937
36de76f9
JK
39382015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3939
3940 * gdb.compile/compile-print.c: New file.
3941 * gdb.compile/compile-print.exp: New file.
3942
3a9558c4
JK
39432015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3944
3945 * gdb.compile/compile-ops.exp: Cast param to void.
3946 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3947 (compile code struct_object.selffield = &struct_object): Add xfail.
3948
aa715135
JG
39492015-05-15 Joel Brobecker <brobecker@adacore.com>
3950
3951 * gdb.ada/arr_enum_with_gap: New testcase.
3952
931e5bc3
JG
39532015-05-15 Joel Brobecker <brobecker@adacore.com>
3954
3955 * gdb.ada/byte_packed_arr: New testcase.
3956
9cd4d857
JB
39572015-05-15 Joel Brobecker <brobecker@adacore.com>
3958
3959 * gdb.ada/pckd_neg: New testcase.
3960
ebfd00d2
PP
39612015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3962
3963 PR gdb/17820
3964 * gdb.base/gdbinit-history.exp: New test.
3965 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3966 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3967
4c082a81
SC
39682015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3969
3970 * gdb.python/py-xmethods.cc: Enhance test case.
3971 * gdb.python/py-xmethods.exp: New tests.
3972 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3973 function.
3974 (B_indexoper): Likewise.
3975 (global_dm_list) : Add new xmethod worker functions.
3976
f7797074
SDJ
39772015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3978
3979 * gdb.base/coredump-filter.exp: Correctly unset
3980 "coredump_var_addr" array.
3981
a4674e4e
PA
39822015-05-08 Pedro Alves <palves@redhat.com>
3983
3984 * gdb.server/non-existing-program.exp: Unset spawn_id.
3985
df2eb078
SC
39862015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3987
3988 PR python/18291
3989 * gdb.python/py-xmethods.exp: Add tests.
3990
422349a3
YQ
39912015-05-08 Yao Qi <yao.qi@linaro.org>
3992
3993 PR gdb/18208
3994 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3995 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3996 function set_coredump_filter, and remove remote_exec call.
3997 Remove argument ipid. Callers update.
3998 (top level): Don't get inferior's PID.
3999
63fc80ce
AA
40002015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4001
4002 * gdb.base/watch_thread_num.exp: Skip test on targets without
4003 access watchpoints.
4004
80ad801e
PA
40052015-05-06 Pedro Alves <palves@redhat.com>
4006
4007 PR server/18081
4008 * gdb.server/non-existing-program.exp: New file.
4009
0fa7fe50
JB
40102015-05-05 Joel Brobecker <brobecker@adacore.com>
4011
4012 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4013
3ea89b92
PMR
40142015-05-05 Joel Brobecker <brobecker@adacore.com>
4015
4016 * gdb.ada/out_of_line_in_inlined: New testcase.
4017
87b8eff0
JB
40182015-05-05 Joel Brobecker <brobecker@adacore.com>
4019
4020 * gdb.ada/var_rec_arr: New testcase.
4021
5fccc635
YQ
40222015-04-30 Yao Qi <yao.qi@linaro.org>
4023
4024 * gdb.base/break-idempotent.exp: If
4025 skip_hw_watchpoint_multi_tests returns true, skip the tests
4026 on "rwatch" and "awatch".
4027
42d38f42
YQ
40282015-04-30 Yao Qi <yao.qi@linaro.org>
4029
4030 * gdb.base/relativedebug.exp: Invoke gdb command
4031 "info sharedlibrary", and if libc.so doesn't have debug info,
4032 skip the test.
4033
2ce1cdbf
DE
40342015-04-29 Doug Evans <dje@google.com>
4035
4036 * gdb.python/py-xmethods.exp: Add ptype tests.
4037 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4038 get_result_type method.
4039
f24a38c5
LM
40402015-04-29 Luis Machado <lgustavo@codesourcery.com>
4041
4042 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4043 the target does not support hardware watchpoints.
4044
ecbf2b3c
LM
40452015-04-29 Luis Machado <lgustavo@codesourcery.com>
4046
4047 * gdb.base/break-always.exp: Abort testing if writing to memory
4048 causes an error.
4049
34f5f757
DE
40502015-04-28 Doug Evans <dje@google.com>
4051
4052 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4053 * gdb.python/py-pp-registration.exp: ... here. New file.
4054 * gdb.python/py-pp-registration.c: New file.
4055 * gdb.python/py-pp-registration.py: New file.
4056
69b4374a
DE
40572015-04-28 Doug Evans <dje@google.com>
4058
4059 * gdb.python/py-bad-printers.c: New file.
4060 * gdb.python/py-bad-printers.py: New file.
4061 * gdb.python/py-bad-printers.exp: New file.
4062
59fb7612
SS
40632015-04-28 Sasha Smundak <asmundak@google.com>
4064
4065 * gdb.python/py-type.exp: New test.
4066
2631b16a
AW
40672015-04-28 Andy Wingo <wingo@igalia.com>
4068
4069 * gdb.python/py-parameter.exp:
4070 * gdb.guile/scm-parameter.exp: Escape the path that we are
4071 matching against, as it might contain characters that are special
4072 to regular expressions.
4073
460efde1
JB
40742015-04-27 Joel Brobecker <brobecker@adacore.com>
4075
4076 * gdb.ada/rec_comp: New testcase.
4077
2d369d8e
SDJ
40782015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4079
4080 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4081 before using it.
4082
cf75d6c3
AB
40832015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4084
4085 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4086 new tests for verilog output.
4087
8dbe7ca5
YQ
40882015-04-24 Yao Qi <yao.qi@linaro.org>
4089
4090 * boards/remote-gdbserver-on-localhost.exp: New file.
4091
4ef9fb2f
PA
40922015-04-23 Pedro Alves <palves@redhat.com>
4093
4094 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4095 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4096 "end of file", remove $inferior_spawn_id from the indirect list.
4097
0a803169
PA
40982015-04-23 Pedro Alves <palves@redhat.com>
4099
4100 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4101
749ef8f8
PA
41022015-04-23 Pedro Alves <palves@redhat.com>
4103
4104 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4105 on $any_spawn_id instead of only on $gdb_spawn_id.
4106
8aae4344
PM
41072015-04-21 Pierre Muller <muller@sourceware.org>
4108
4109 PR pascal/17815
4110 * lib/pascal.exp (gpc_compile): Add new option "class".
4111 (fpc_compile): Likewise.
4112 * gdb.pascal/case-insensitive-symbols.pas: New file.
4113 * gdb.pascal/case-insensitive-symbols.exp: New file.
4114
1586c8fb
GB
41152015-04-20 Gary Benson <gbenson@redhat.com>
4116
4117 * gdb.base/attach.exp: Fix three extended remote failures.
4118
1b6e6f5c
GB
41192015-04-17 Gary Benson <gbenson@redhat.com>
4120
4121 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4122 the main executable over the remote protocol.
4123
e797481d
PA
41242015-04-16 Pedro Alves <palves@redhat.com>
4125
4126 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4127 a new gdbserver if gdbserver_reconnect_p is set.
4128
1ca99c42
PA
41292015-04-16 Pedro Alves <palves@redhat.com>
4130
4131 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4132 is set, don't exit gdbserver.
4133
af9fd6f8
AA
41342015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4135
4136 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4137 appropriate .insn, such that an older assembler can be used.
4138 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4139 the z/Architecture instruction set on 31-bit targets as well.
4140
04ff1e61
AA
41412015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4142
4143 * gdb.go/handcall.exp: Remove all logic related to the first
4144 breakpoint and rely on go_runto_main instead.
4145 * gdb.go/strings.exp: Likewise.
4146 * gdb.go/unsafe.exp: Likewise.
4147 * gdb.go/hello.exp: Likewise. Also rename the remaining
4148 breakpoint marker to "breakpoint 1".
4149 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4150 * gdb.go/strings.go: Likewise.
4151 * gdb.go/unsafe.go: Likewise.
4152 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4153 "set breakpoint 2 here" and rename the remaining breakpoint marker
4154 to "breakpoint 1".
4155
40d2f8d6
SM
41562015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4157
4158 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4159 if itertools.imap is not present.
4160 * gdb.python/py-objfile.exp: Add parentheses.
4161 * gdb.python/py-type.exp: Same.
4162 * gdb.python/py-unwind-maint.py: Same.
4163
8cbc97c6
YQ
41642015-04-15 Yao Qi <yao.qi@linaro.org>
4165
4166 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4167 of ":$ptr_size" and set its form explicitly.
4168
45fd756c
YQ
41692015-04-15 Pedro Alves <palves@redhat.com>
4170 Yao Qi <yao.qi@linaro.org>
4171
4172 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4173 timeout by factor of 4.
4174 (test_regular_watch): Likewise.
4175 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4176 * gdb.reverse/sigall-reverse.exp: Likewise.
4177 * gdb.reverse/until-precsave.exp: Likewise.
4178 * lib/gdb.exp (with_timeout_factor): New proc.
4179 (gdb_expect): Move some code to ...
4180 (get_largest_timeout): ... here. New procedure.
4181
9e811bc3
LM
41822015-04-14 Luis Machado <lgustavo@codesourcery.com>
4183
4184 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4185
0ff6fcb2
LM
41862015-04-13 Luis Machado <lgustavo@codesourcery.com>
4187
4188 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4189 to write to the .text section.
4190
7578d5f7
LM
41912015-04-13 Luis Machado <lgustavo@codesourcery.com>
4192
4193 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4194 Handle the case of targets that do not provide PID information.
4195
2efe15c4
YQ
41962015-04-13 Yao Qi <yao.qi@linaro.org>
4197
4198 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4199 and use expect instead of gdb_expect.
4200
8cd8f2f8
SDJ
42012015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4202
4203 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4204 "coredump_var_addr" to avoid naming conflict with other testcases.
4205
9ee41772
PA
42062015-04-10 Pedro Alves <palves@redhat.com>
4207
4208 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4209 gdb_test_sequence and gdb_assert.
4210
07473109
PA
42112015-04-10 Pedro Alves <palves@redhat.com>
4212
4213 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4214 test messages that don't include the breakpoint address.
4215
de3db44c
YQ
42162015-04-10 Yao Qi <yao.qi@linaro.org>
4217
4218 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4219 false for some offset and width combinations which aren't
4220 supported by linux kernel.
4221
c79d856c
PA
42222015-04-10 Pedro Alves <palves@redhat.com>
4223
4224 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4225 procedure, factored out from ...
4226 (top level): ... here. Add "set displaced-stepping" testing axis.
4227 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4228 parameter "displaced". Use it.
4229 (top level): Use foreach and add "set displaced-stepping" testing
4230 axis.
4231
ebc90b50
PA
42322015-04-10 Pedro Alves <palves@redhat.com>
4233
4234 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4235 Remove comment.
4236 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4237 both the address of the instruction that triggers the watchpoint
4238 and the address of the instruction immediately after, and use
4239 those addresses for the test. Fix comment.
4240
8f572e5c
PA
42412015-04-10 Pedro Alves <palves@redhat.com>
4242
4243 * gdb.base/sigstep.exp (breakpoint_to_handler)
4244 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4245 Test "backtrace" in handler.
4246 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4247 (top level): Add new "displaced" test axis to
4248 breakpoint_to_handler, breakpoint_to_handler_entry and
4249 breakpoint_over_handler.
4250
8d707a12
PA
42512015-04-10 Pedro Alves <palves@redhat.com>
4252
4253 PR gdb/18216
4254 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4255
ef713951
YQ
42562015-04-10 Yao Qi <yao.qi@linaro.org>
4257
4258 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4259 (test_add_rn_pc): New function.
4260 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4261 (top level): Invoke test_add_rn_pc.
4262
906d60cf
PA
42632015-04-10 Pedro Alves <palves@redhat.com>
4264
4265 PR gdb/13858
4266 * gdb.base/step-over-no-symbols.exp: New file.
4267
f2983cc3
AW
42682015-04-09 Andy Wingo <wingo@igalia.com>
4269
4270 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4271 after the Python tests.
4272
6d62641c
SDJ
42732015-04-08 Keith Seitz <keiths@redhat.com>
4274
4275 PR python/16699
4276 * gdb.python/py-completion.exp: New tests for completion.
4277 * gdb.python/py-completion.py (CompleteLimit1): New class.
4278 (CompleteLimit2): Likewise.
4279 (CompleteLimit3): Likewise.
4280 (CompleteLimit4): Likewise.
4281 (CompleteLimit5): Likewise.
4282 (CompleteLimit6): Likewise.
4283 (CompleteLimit7): Likewise.
4284
f3770638
PA
42852015-04-08 Pedro Alves <palves@redhat.com>
4286
4287 PR gdb/18214
4288 PR gdb/18216
4289 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4290 function.
4291 (main): Install it as SIGUSR1 handler.
4292 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4293 parameter. Always use "setup" as prefix. Toggle "set
4294 displaced-stepping" off/on depending on global. Don't switch to
4295 thread 1 here.
4296 (top level): Add displaced stepping "off/on" test axis. Update
4297 "setup" calls. Wrap each subtest with with_test_prefix. Test
4298 continuing with a queued signal in each thread.
4299
4496bed7
PA
43002015-04-08 Pedro Alves <palves@redhat.com>
4301
4302 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4303 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4304 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4305 Return early if running to main fails.
4306 * gdb.trace/while-stepping.exp: Likewise.
4307
b97fde92
PA
43082015-04-07 Pedro Alves <palves@redhat.com>
4309
4310 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4311 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4312 interact with inferior program.
4313
f71c18e7
PA
43142015-04-07 Pedro Alves <palves@redhat.com>
4315
4316 * lib/gdb.exp (inferior_spawn_id): New global.
4317 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4318 spawn id after processing the user code.
4319 (default_gdb_start): Set inferior_spawn_id.
4320 (send_inferior): New procedure.
4321 * lib/gdbserver-support.exp (gdbserver_start): Set
4322 inferior_spawn_id.
4323 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4324
6423214f
PA
43252015-04-07 Pedro Alves <palves@redhat.com>
4326
4327 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4328 * lib/gdbserver-support.exp (gdbserver_start): Make
4329 $server_spawn_id global.
4330 (gdbserver_start): Don't wait for gdbserver's spawn id with
4331 expect_background.
4332 (close_gdbserver): New procedure.
4333 (gdb_exit): Rename the default version and reimplement.
4334
71c0ee8c
PA
43352015-04-07 Pedro Alves <palves@redhat.com>
4336
72f4393d 4337 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
4338 append the substituted item, not the original item.
4339
203bc29b
PA
43402015-04-07 Pedro Alves <palves@redhat.com>
4341
4342 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4343 gdb_expect.
4344
508a3ddf
PA
43452015-04-07 Pedro Alves <palves@redhat.com>
4346
4347 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4348 output appearing once only.
4349
9f6dbe2b
PA
43502015-04-07 Pedro Alves <palves@redhat.com>
4351
4352 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4353 that doesn't expect anything. Return early if running to main
4354 fails.
4355
337532fa
YQ
43562015-04-07 Yao Qi <yao.qi@linaro.org>
4357
4358 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4359 (child_function): Call alarm.
4360 (main): Move call to alarm into the loop.
4361 * gdb.threads/non-stop-fair-events.exp: Build program with
4362 -DTIMEOUT=$timeout.
4363
01b622d4
DE
43642015-04-06 Doug Evans <xdje42@gmail.com>
4365
4366 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4367 Fix dest parameter to board_info.
4368 (fpc_compile): Ditto.
4369 (gdb_compile_pascal): Rename dest arg to destfile.
4370
961f4160
PMR
43712015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4372
4373 * gdb.ada/funcall_ref.exp: New file.
4374 * gdb.ada/funcall_ref/foo.adb: New file.
4375
cafda597
YQ
43762015-04-02 Yao Qi <yao.qi@linaro.org>
4377
4378 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4379 is remote.
4380
fed040c6
GB
43812015-04-02 Gary Benson <gbenson@redhat.com>
4382
4383 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4384
d11916aa
SS
43852015-04-01 Sasha Smundak <asmundak@google.com>
4386
4387 * gdb.python/py-unwind-maint.c: New file.
4388 * gdb.python/py-unwind-maint.exp: New test.
4389 * gdb.python/py-unwind-maint.py: New file.
4390 * gdb.python/py-unwind.c: New file.
4391 * gdb.python/py-unwind.exp: New test.
4392 * gdb.python/py-unwind.py: New test.
4393
a1471180
PA
43942015-04-01 Pedro Alves <palves@redhat.com>
4395
4396 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4397 to fail instead of non-existent $test.
4398
0bbeccb1
PA
43992015-04-01 Pedro Alves <palves@redhat.com>
4400
4401 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4402 GDBFLAGS if not empty.
4403
3c724c8c
PMR
44042015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4405
4406 * gdb.ada/complete.exp: Remove "multi_line".
4407 * gdb.ada/info_exc.exp: Remove "multi_line".
4408 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4409 * gdb.ada/ptype_field.exp: Remove "multi_line".
4410 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4411 * gdb.ada/tagged.exp: Remove "multi_line".
4412 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4413 [multi_line ...]
4414 * gdb.btrace/delta.exp: Likewise.
4415 * gdb.btrace/exception.exp: Likewise.
4416 * gdb.btrace/function_call_history.exp: Likewise.
4417 * gdb.btrace/instruction_history.exp: Likewise.
4418 * gdb.btrace/nohist.exp: Likewise.
4419 * gdb.btrace/record_goto.exp: Likewise.
4420 * gdb.btrace/segv.exp: Likewise.
4421 * gdb.btrace/stepi.exp: Likewise.
4422 * gdb.btrace/tailcall.exp: Likewise.
4423 * gdb.btrace/unknown_functions.exp: Likewise.
4424 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4425 * lib/gdb.exp: Add the "multi_line" helper.
4426
4eec2deb
PA
44272015-04-01 Pedro Alves <palves@redhat.com>
4428
4429 * gdb.threads/tid-reuse.c: New file.
4430 * gdb.threads/tid-reuse.exp: New file.
4431
df8411da
SDJ
44322015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4433
4434 PR corefiles/16092
4435 * gdb.base/coredump-filter.c: New file.
4436 * gdb.base/coredump-filter.exp: Likewise.
4437
6ef37366
PM
44382015-03-27 Petr Machata <pmachata@redhat.com>
4439
4440 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4441 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4442 (Dwarf::assemble): Initialize them.
4443 (Dwarf::lines): New function.
4444
7ec911b0
JT
44452015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4446
4447 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4448 SYMBOL_PREFIX for x86_64-*-cygwin.
4449
ff908ebf
AW
44502015-03-26 Andy Wingo <wingo@igalia.com>
4451
4452 PR symtab/18148
4453 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4454 const_value but not a location.
4455 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4456 location defined in non-main CUs are visible.
4457
6d5f0679
YQ
44582015-03-26 Yao Qi <yao.qi@linaro.org>
4459
4460 PR testsuite/18139
4461 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4462 Add a line number entry for the same line.
4463 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4464 Add a line number entry for the same line.
4465
2898689b
YQ
44662015-03-26 Yao Qi <yao.qi@linaro.org>
4467
4468 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4469 .int 0.
4470 (func): Likewise. Add .Lfunc_1 label.
4471 Use .Lfunc_1 label.
4472 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4473 .int 0.
4474 (func): Likewise.
4475 Use .Lfunc_1 label.
4476
85180498
YQ
44772015-03-26 Yao Qi <yao.qi@linaro.org>
4478
4479 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4480 Call gdb_compile instead to compile each .s files without debug
4481 information.
4482
8aa08a8d
YQ
44832015-03-26 Yao Qi <yao.qi@linaro.org>
4484
4485 * gdb.base/savedregs.exp (process_saved_regs): Make
4486 "Saved registers:" optional in the pattern.
4487
66849923
MM
44882015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4489
4490 * gdb.btrace/next.exp: Merged into step.exp.
4491 * gdb.btrace/finish.exp: Merged into step.exp.
4492 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4493 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4494 "record goto" and checking the exact replay position.
4495 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4496 check for "Recording format" in "info record" output.
4497 * gdb.btrace/record_goto.exp: Choose test file based on target.
4498 * gdb.btrace/x86-record_goto.S: Renamed into ...
4499 * gdb.btrace/x86_64-record_goto.S: ... this.
4500 * gdb.btrace/i686-record_goto.S: New.
4501 * gdb.btrace/x86-tailcall.S: Renamed into ...
4502 * gdb.btrace/x86_64-tailcall.S: ... this.
4503 * gdb.btrace/i686-tailcall.S: New.
4504 * gdb.btrace/x86-tailcall.c: Renamed into ...
4505 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4506 separate statements. Update test.
4507 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4508 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4509 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4510 * gdb.btrace/tailcall.exp: Choose test file based on target.
4511 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4512
11cc1b74
MM
45132015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4514
4515 * gdb.btrace/exception.exp: Increase BTS buffer size.
4516
a25d8bf9
PA
45172015-03-24 Pedro Alves <palves@redhat.com>
4518
4519 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4520
856e7dd6
PA
45212015-03-24 Pedro Alves <palves@redhat.com>
4522
4523 * gdb.threads/schedlock.exp (test_step): No longer expect that
4524 "set scheduler-locking step" with "next" over a function call runs
4525 threads unlocked.
4526
ad235a41
AT
45272015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4528
4529 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4530
15630549
AT
45312015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4532
4533 PR breakpoints/16466
4534 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4535 * gdb.mi/mi-pending.c (thread_func): New function.
4536 (int main): Add threading support required.
4537 * gdb.mi/mi-pending.exp: Add tests for this issue.
4538 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4539 (pendfunc2): Remove stdio dependency.
4540 * gdb.mi/mi-pendshr2.c: New file.
4541
693dca06
KS
45422015-03-23 Keith Seitz <keiths@redhat.com>
4543
4544 * gdb.linespec/keywords.c: New file.
4545 * gdb.linespec/keywords.exp: New file.
4546
7e993ebf
KS
45472015-03-23 Keith Seitz <keiths@redhat.com>
4548
4549 PR gdb/18021
4550 * gdb.dwarf2/staticvirtual.exp: New test.
4551
bc23328c
JK
45522015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4553
4554 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4555 * README: Remove HP-UX and gdb.hp.
4556 (configuration):
4557 * configure: Regenerate.
4558 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4559 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4560 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4561 gdb.hp/gdb.defects/Makefile.
4562 * gdb.hp/Makefile.in: File deleted.
4563 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4564 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4565 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4566 * gdb.hp/gdb.aCC/run.c: File deleted.
4567 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4568 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4569 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4570 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4571 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4572 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4573 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4574 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4575 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4576 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4577 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4578 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4579 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4580 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4581 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4582 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4583 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4584 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4585 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4586 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4587 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4588 * gdb.hp/gdb.compat/average.c: File deleted.
4589 * gdb.hp/gdb.compat/sum.c: File deleted.
4590 * gdb.hp/gdb.compat/xdb.c: File deleted.
4591 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4592 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4593 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4594 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4595 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4596 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4597 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4598 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4599 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4600 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4601 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4602 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4603 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4604 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4605 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4606 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4607 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4608 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4609 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4610 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4611 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4612 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4613 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4614 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4615 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4616 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4617 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4618 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4619 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4620 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4621 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4622 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4623 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4624 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4625 * gdb.hp/tools/odump: File deleted.
4626
8bf3b159
PA
46272015-03-19 Pedro Alves <palves@redhat.com>
4628
4629 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4630 (saw_thread_3): New globals.
4631 (top level): Increment them when an event for the corresponding
4632 thread is seen.
4633 (no thread starvation): New test.
4634
eb54c8bf
PA
46352015-03-19 Pedro Alves <palves@redhat.com>
4636
4637 * gdb.threads/continue-pending-status.c: New file.
4638 * gdb.threads/continue-pending-status.exp: New file.
4639
32d2e5d6
PA
46402015-03-18 Pedro Alves <palves@redhat.com>
4641
4642 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4643 Use gdb_is_target_remote instead of is_remote. Use
4644 gdb_test_multiple instead of gdb_expect. Exit early if
4645 gdb_test_multiple hits its internal matches. Tighten stepi tests
4646 expected output. Fail on exit with any signal, instead of just
4647 SIGILL.
4648
f68f11b7
YQ
46492015-03-18 Yao Qi <yao.qi@linaro.org>
4650
4651 PR tdep/18107
4652 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4653 variable.
4654 * gdb.base/catch-syscall.exp: Don't skip it on
4655 aarch64*-*-linux* target. Remove elements in all_syscalls.
4656 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4657 target.
4658 (setup_all_syscalls): New proc.
4659
ca5fd19b
YQ
46602015-03-16 Yao Qi <yao.qi@linaro.org>
4661
4662 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4663 (top level): Skip tests if valid_addr_p returns false for
4664 $cmd1 or $cmd2.
4665
85642ba0
AW
46662015-03-11 Andy Wingo <wingo@igalia.com>
4667
4668 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4669
e03f9645
YQ
46702015-03-11 Yao Qi <yao.qi@linaro.org>
4671
4672 * gdb.base/catch-syscall.exp: Fix typo in comments.
4673
5d0962b2
YQ
46742015-03-11 Yao Qi <yao.qi@linaro.org>
4675
4676 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4677
b2df3cef
PA
46782015-03-09 Pedro Alves <palves@redhat.com>
4679
4680 * dg-extract-results.py: Delete.
4681
ef878e53
PA
46822015-03-09 Pedro Alves <palves@redhat.com>
4683
4684 Merge dg-extract-results.sh from GCC upstream (r218843).
4685
4686 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4687 * dg-extract-results.sh: Use --text with grep to avoid issues with
4688 binary files. Fall back to cat -v, if that doesn't work.
4689
9494d219
PA
46902015-03-05 Pedro Alves <palves@redhat.com>
4691
4692 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4693
a8d9763a
SM
46942015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4695
4696 * lib/mi-support.exp (mi_expect_interrupt): Accept
4697 alternative event for when in all-stop mode.
4698
be9957b8
PA
46992015-03-04 Pedro Alves <palves@redhat.com>
4700
4701 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4702
d57be0f4 47032015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
4704
4705 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4706
c214c7cf
AA
47072015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4708
4709 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4710 regexps for GDB's current line display, accept a hex address
4711 preceding the line number.
4712
6d74a497
AA
47132015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4714
4715 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4716 the 'arch1' variable for "s390*-linux*" targets.
4717
511aee7c
PA
47182015-03-04 Pedro Alves <palves@redhat.com>
4719
4720 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4721 (main): Pass missing retval argument to pthread_join call.
4722
95e50b27
PA
47232015-03-02 Pedro Alves <palves@redhat.com>
4724
4725 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4726 (top level): Call do_test with non-stop as well.
4727
28054d69
PA
47282015-03-02 Pedro Alves <palves@redhat.com>
4729
4730 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4731 -1.
4732
4fa5d7b4
AA
47332015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4734
4735 * gdb.arch/s390-vregs.exp: New test.
4736 * gdb.arch/s390-vregs.S: New file.
4737
97c18565
PA
47382015-02-27 Pedro Alves <palves@redhat.com>
4739
4740 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4741 call to catch_command_errors.
4742 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4743 catch_command_errors.
4744
a37bfa30
PA
47452015-02-27 Pedro Alves <palves@redhat.com>
4746
4747 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4748 "true" for boolean result.
4749 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4750 prototype of main.
4751
6f98576f
PA
47522015-02-27 Pedro Alves <palves@redhat.com>
4753
4754 * lib/unbuffer_output.c: New file.
4755 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4756 (main): Call gdb_unbuffer_output.
4757
eba5ab56
YQ
47582015-02-27 Yao Qi <yao.qi@linaro.org>
4759
4760 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4761 target.
4762
0def5aaa
DE
47632015-02-26 Doug Evans <dje@google.com>
4764
4765 * gdb.cp/class2.cc (Dbase, D): New classes.
4766 (main): New local delta.
4767 * gdb.cp/class2.exp: Test printing delta.
4768 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4769 (dynbar): New global.
4770 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4771
081a1c2c
JK
47722015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4773
4774 * gdb.compile/compile-ifunc.c: New file.
4775 * gdb.compile/compile-ifunc.exp: New file.
4776
2f41223f
AT
47772015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4778
4779 * gdb.base/structs.exp: Check for correct struct on finish.
4780
03eddd80
YQ
47812015-02-26 Yao Qi <yao.qi@linaro.org>
4782
4783 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4784 is zero.
4785
80c57053
JK
47862015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4787
4788 * gdb.arch/cordic.ko.bz2: New file.
4789 * gdb.arch/cordic.ko.debug.bz2: New file.
4790 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4791
21613c12
YQ
47922015-02-25 Yao Qi <yao.qi@linaro.org>
4793
4794 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4795 aarch64*-*-* target.
4796
d8b901ed
PA
47972015-02-23 Pedro Alves <palves@redhat.com>
4798
4799 * lib/gdb.exp (delete_breakpoints): Rewrite using
4800 gdb_test_multiple.
4801
e5b85ead
PA
48022015-02-23 Pedro Alves <palves@redhat.com>
4803
4804 * gdb.base/info-os.c: Include stdlib.h.
4805
85c3a371
DE
48062015-02-22 Doug Evans <xdje42@gmail.com>
4807
4808 PR symtab/17855
4809 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4810 is read after symbols have been re-read.
4811 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4812 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4813
96553a0c
DE
48142015-02-21 Doug Evans <dje@google.com>
4815
4816 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4817
97a0c697
JK
48182015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4819
4820 PR corefiles/17808
4821 * gdb.arch/i386-biarch-core.core.bz2: New file.
4822 * gdb.arch/i386-biarch-core.exp: New file.
4823
a47cd6e9
PA
48242015-02-21 Pedro Alves <palves@redhat.com>
4825
4826 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4827 runto_main fails.
4828
c5facdc4
PA
48292015-02-20 Pedro Alves <palves@redhat.com>
4830
4831 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4832 info probes.
4833
2db9a427
PA
48342015-02-20 Pedro Alves <palves@redhat.com>
4835
4836 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4837
60fb7e9e
PA
48382015-02-20 Pedro Alves <palves@redhat.com>
4839
4840 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4841 clean_restart before gdb_target_supports_trace.
4842
5c5019c2
PA
48432015-02-20 Pedro Alves <palves@redhat.com>
4844
4845 PR threads/18006
4846 * gdb.threads/clone-thread_db.c: New file.
4847 * gdb.threads/clone-thread_db.exp: New file.
4848
c9587f88
AT
48492015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4850
4851 PR breakpoints/16812
4852 * gdb.base/catch-gdb-caused-signals.c: New file.
4853 * gdb.base/catch-gdb-caused-signals.exp: New file.
4854
f6a88844
JM
48552015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4856
4857 * configure: Regenerated.
4858 * configure.ac: Use GDB_AC_TRANSFORM.
4859 * aclocal.m4: sinclude ../transform.m4.
4860
497c491b
JM
48612015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4862
4863 * lib/dtrace.exp: New file.
4864 * gdb.base/dtrace-probe.exp: Likewise.
4865 * gdb.base/dtrace-probe.d: Likewise.
4866 * gdb.base/dtrace-probe.c: Likewise.
4867 * lib/pdtrace.in: Likewise.
4868 * configure.ac: Output variables with the transformed names of
4869 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4870 * configure: Regenerated.
4871
03e98035
JM
48722015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4873
4874 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4875 expected message when trying to access $_probe_* convenience
4876 variables while not on a probe.
4877
63cc30e9
JK
48782015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4879
4880 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4881
0703599a
PA
48822015-02-11 Pedro Alves <pedro@codesourcery.com>
4883
4884 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4885 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4886
7e60a48e
DE
48872015-02-10 Doug Evans <xdje42@gmail.com>
4888
4889 * lib/gdb.exp (gdb_load): Always return a result.
4890
01b088bc
PA
48912015-02-10 Pedro Alves <palves@redhat.com>
4892
4893 * gdb.threads/signal-sigtrap.c: New file.
4894 * gdb.threads/signal-sigtrap.exp: New file.
4895
b05ec7a5
AT
48962015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4897
4898 * gdb.trace/no-attach-trace.c: New file.
4899 * gdb.trace/no-attach-trace.exp: New file.
4900
a2c2acaf
MW
49012015-02-09 Mark Wielaard <mjw@redhat.com>
4902
4903 * gdb.dwarf2/atomic.c: New file.
4904 * gdb.dwarf2/atomic-type.exp: Likewise.
4905
31fd9caa
MM
49062015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4907
4908 * gdb.btrace/buffer-size.exp: Update "info record" output.
4909 * gdb.btrace/delta.exp: Update "info record" output.
4910 * gdb.btrace/enable.exp: Update "info record" output.
4911 * gdb.btrace/finish.exp: Update "info record" output.
4912 * gdb.btrace/instruction_history.exp: Update "info record" output.
4913 * gdb.btrace/next.exp: Update "info record" output.
4914 * gdb.btrace/nexti.exp: Update "info record" output.
4915 * gdb.btrace/step.exp: Update "info record" output.
4916 * gdb.btrace/stepi.exp: Update "info record" output.
4917 * gdb.btrace/nohist.exp: Update "info record" output.
4918
d33501a5
MM
49192015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4920
4921 * gdb.btrace/buffer-size: New.
4922
f4abbc16
MM
49232015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4924
4925 * gdb.btrace/delta.exp: Update "info record" output.
4926 * gdb.btrace/enable.exp: Update "info record" output.
4927 * gdb.btrace/finish.exp: Update "info record" output.
4928 * gdb.btrace/instruction_history.exp: Update "info record" output.
4929 * gdb.btrace/next.exp: Update "info record" output.
4930 * gdb.btrace/nexti.exp: Update "info record" output.
4931 * gdb.btrace/step.exp: Update "info record" output.
4932 * gdb.btrace/stepi.exp: Update "info record" output.
4933 * gdb.btrace/nohist.exp: Update "info record" output.
4934
b9d61307
SM
49352015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4936
4937 PR gdb/15678
4938 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4939
e584fdbc
PA
49402015-02-06 Pedro Alves <palves@redhat.com>
4941
4942 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4943 macro.
4944 (seconds_left, again): New globals.
4945 (main): Wait seconds_left in a 1-second sleep loop instead of
4946 sleeping 180 seconds. If 'again' is set, reset the seconds
4947 counter.
4948 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4949 'again' in the inferior before detaching. Print the seconds left.
4950 (options): New global.
4951 (top level): Build program with -DTIMEOUT=$timeout.
4952
77f41761
PA
49532015-02-06 Pedro Alves <palves@redhat.com>
4954
4955 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4956 determine how many seconds to pass to 'alarm'.
4957 * gdb.base/gdb-sigterm.exp (top level): Build program with
4958 -DTIMEOUT=$timeout.
4959 (do_test): Return success/failure indication. Add more verbose
4960 logging. Don't fail if 200 single steps are seen. Instead, fail
4961 when the test times out.
4962 (passes): New global.
4963 (top level): Break the testing loop if testing fails on any
4964 iteration. Use gdb_assert.
4965
b9394193
DB
49662015-02-04 Don Breazeal <donb@codesourcery.com>
4967
4968 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4969 and initialize them.
4970 (ipc_cleanup): New function.
4971 (main): Don't declare shmid, semid, and msqid. Add a call to
4972 atexit so that we call ipc_cleanup on exit.
4973
42d9e528
PA
49742015-02-04 Pedro Alves <palves@redhat.com>
4975
4976 * boards/native-extended-gdbserver.exp: Remove any target variant
4977 specifications from the board name before clearing the isremote
4978 flag from board_info.
4979
ae6ae975
DE
49802015-01-31 Doug Evans <xdje42@gmail.com>
4981
4982 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4983
cfb069a8
GB
49842015-01-31 Gary Benson <gbenson@redhat.com>
4985
4986 * gdb.base/completion.exp: Disable completion limiting for
4987 existing tests. Add new tests to check completion limiting.
4988 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4989
5dd31d79
DE
49902015-01-31 Doug Evans <xdje42@gmail.com>
4991
4992 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4993
9f050062
DE
49942015-01-31 Doug Evans <xdje42@gmail.com>
4995
4996 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4997 entries. Duplicate file section script entries.
4998 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4999 inlined entries. Add test for safe-path rejection.
5000 * gdb.python/py-section-script.c: Add duplicate inlined section script
5001 entries. Duplicate file section script entries.
5002 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5003 inlined entries. Add test for safe-path rejection.
5004
df25ebbd
JB
50052015-01-29 Joel Brobecker <brobecker@adacore.com>
5006
5007 * gdb.ada/disc_arr_bound: New testcase.
5008
4a0ca9ec
JB
50092015-01-29 Joel Brobecker <brobecker@adacore.com>
5010
5011 * gdb.ada/mi_var_array: New testcase.
5012
3a8b707a
DE
50132015-01-27 Doug Evans <dje@google.com>
5014
5015 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5016 Add test for objfile.filename, objfile.username after objfile
5017 has been unloaded.
5018
f8313f6e
JB
50192015-01-26 Joel Brobecker <brobecker@adacore.com>
5020
5021 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5022 the second test to print the name attribute of value
5023 returned by the call to gdb.lookup_type, and adjust
5024 the expected output accordingly.
5025
37bc665e
MW
50262015-01-25 Mark Wielaard <mjw@redhat.com>
5027
5028 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5029 * gdb.base/disp-step-fork.c: Include unistd.h.
5030 * gdb.base/siginfo-obj.c: Include stdio.h.
5031 * gdb.base/siginfo-thread.c: Likewise.
5032 * gdb.mi/non-stop.c: Include unistd.h.
5033 * gdb.mi/nsthrexec.c: Include stdio.h.
5034 * gdb.mi/pthreads.c: Include unistd.h.
5035 * gdb.modula2/unbounded1.c (main): Declare returns int.
5036 * gdb.reverse/consecutive-reverse.c: Likewise.
5037 * gdb.threads/create-fail.c: Include unistd.h.
5038 * gdb.threads/killed.c: Likewise.
5039 * gdb.threads/linux-dp.c: Likewise.
5040 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5041 * gdb.threads/non-ldr-exc-2.c: Likewise.
5042 * gdb.threads/non-ldr-exc-3.c: Likewise.
5043 * gdb.threads/non-ldr-exc-4.c: Likewise.
5044 * gdb.threads/pthreads.c: Include unistd.h.
5045 (main): Declare returns int.
5046 * gdb.threads/tls-main.c (foo): New declaration.
5047 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5048
f7e5394d
SM
50492015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5050
5051 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5052 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5053
743649fd
MW
50542015-01-15 Mark Wielaard <mjw@redhat.com>
5055
5056 * gdb.base/noreturn-return.c: New file.
5057 * gdb.base/noreturn-return.exp: New file.
5058 * gdb.base/noreturn-finish.c: New file.
5059 * gdb.base/noreturn-finish.exp: New file.
5060
198297aa
PA
50612015-01-23 Pedro Alves <palves@redhat.com>
5062
5063 * gdb.threads/continue-pending-after-query.c: New file.
5064 * gdb.threads/continue-pending-after-query.exp: New file.
5065
717cf30c
AG
50662015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5067 Simon Marchi <simon.marchi@ericsson.com>
5068
5069 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5070 * gdb.base/valgrind-db-attach.exp: Same.
5071 * gdb.base/valgrind-infcall.exp: Same.
5072 * lib/mi-support.exp (default_mi_gdb_start): Same.
5073 * lib/prompt.exp (default_prompt_gdb_start): Same.
5074 * lib/gdb.exp (default_gdb_spawn): Same.
5075 (gdb_interact): New.
5076
5077
4b62a76e
JK
50782015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5079
5080 * gdb.compile/compile.exp (pointer to jit function): New test.
5081
b4cdae6f
WW
50822015-01-17 Wei-cheng Wang <cole945@gmail.com>
5083
5084 * lib/gdb.exp (supports_process_record): Return true for
5085 powerpc*-*-linux*.
5086 (supports_reverse): Likewise.
5087
d221e7ef
DB
50882015-01-15 Don Breazeal <donb@codesourcery.com>
5089
5090 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5091 instead of checking whether the target board is remote and
5092 use spawn_wait_for_attach instead of exec/sleep.
5093 * gdb.base/attach-twice.exp: Likewise.
5094
bafffb51
JB
50952015-01-15 Joel Brobecker <brobecker@adacore.com>
5096
5097 * gdb.ada/var_arr_attrs: New testcase.
5098
5589af0e
PA
50992015-01-14 Pedro Alves <palves@redhat.com>
5100 Joel Brobecker <brobecker@adacore.com>
5101
5102 PR gdb/17525
5103 * gdb.base/bp-cmds-execution-x-script.c: New file.
5104 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5105 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5106
6c400b59
PA
51072015-01-14 Pedro Alves <palves@redhat.com>
5108
5109 PR cli/17828
5110 * gdb.base/batch-preserve-term-settings.c: New file.
5111 * gdb.base/batch-preserve-term-settings.exp: New file.
5112
e02c96a7
DE
51132015-01-13 Doug Evans <dje@google.com>
5114
5115 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5116 binary.
5117
576fd14c
JB
51182015-01-13 Joel Brobecker <brobecker@adacore.com>
5119
5120 * Makefile.in (clean mostlyclean): Do not delete *.py.
5121
04dccad0
JB
51222015-01-13 Joel Brobecker <brobecker@adacore.com>
5123
5124 * gdb.python/py-lookup-type.exp: New file.
5125
3d230f71
PA
51262015-01-12 Pedro Alves <palves@redhat.com>
5127
5128 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5129 restore GDBFLAGS before returning.
5130
7e67715d
JK
51312015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5132
5133 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5134 is_amd64_regs_target and is_x86_like_target.
5135
f2e0d4b4
DE
51362015-01-11 Doug Evans <xdje42@gmail.com>
5137
5138 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5139 is given without an explicit form.
5140 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5141 attributes.
5142 * gdb.dwarf/corrupt.exp: Ditto.
5143 * gdb.dwarf2/enum-type.exp: Ditto.
5144 * gdb.trace/entry-values.exp: Ditto.
5145 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5146
439250fb
DE
51472015-01-11 Doug Evans <xdje42@gmail.com>
5148
5149 PR gdb/15830
5150 * gdb.base/maint.exp: Remove references to "maint demangle".
5151 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5152 Add tests for explicitly specifying language to demangle.
5153 * gdb.dlang/demangle.exp: Ditto.
5154
ede9f622
PA
51552015-01-09 Pedro Alves <palves@redhat.com>
5156
5157 * gdb.threads/non-stop-fair-events.c: New file.
5158 * gdb.threads/non-stop-fair-events.exp: New file.
5159
a7b796db
PA
51602015-01-09 Pedro Alves <palves@redhat.com>
5161
5162 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5163 the global scope. Set a breakpoint after all threads are started
5164 rather than stepping over two source lines. Expect the prompt.
5165 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5166 global.
5167 (NUM): Now 15.
5168 (main): Use threads_started_barrier to wait for all threads to
5169 start. Main thread no longer calls thread_function. Exit after
5170 180 seconds.
5171 (loop): New function.
5172 (thread_function): Wait on threads_started_barrier barrier. Call
5173 'loop' at each iteration.
5174 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5175 threads have started, instead of hardcoding number of "next"
5176 steps. Use an access watchpoint instead of a write watchpoint.
5177
9665ffdd
PA
51782015-01-09 Pedro Alves <palves@redhat.com>
5179
5180 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5181 (thread_func): Wait on barrier.
5182 (main): Wait for all threads to start before stopping GDB.
5183 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5184 global.
5185 (thread1_func, thread2_func): Wait on barrier.
5186 (main): Wait for all threads to start before stopping GDB.
5187 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5188 New global.
5189 (thread1_func, thread2_func): Wait on barrier.
5190 (main): Wait for all threads to start before stopping GDB.
5191
c945a99f
PA
51922015-01-09 Pedro Alves <palves@redhat.com>
5193
5194 * gdb.threads/attach-many-short-lived-threads.c: New file.
5195 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5196
c1a747c1
PA
51972014-01-09 Pedro Alves <palves@redhat.com>
5198
5199 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5200 instead of to thread 2.
5201 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5202 Add barrier around each pthread_create call instead of around all
5203 calls.
5204 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5205 Set a break on thread_function and have the child threads hit it
5206 one at at a time.
5207
60b3033e
PA
52082015-01-09 Pedro Alves <palves@redhat.com>
5209
5210 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5211 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5212 false.
5213 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5214 checking whether the target board is remote.
5215 * gdb.multi/multi-attach.exp: Likewise.
5216 * gdb.python/py-sync-interp.exp: Likewise.
5217 * gdb.server/ext-attach.exp: Likewise.
5218 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5219 tests that need to attach, instead of checking whether the target
5220 board is remote at the top of the file.
5221
acc018ac
YQ
52222015-01-08 Yao Qi <yao@codesourcery.com>
5223
5224 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5225
50a18af8
JK
52262015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5227
5228 Fix testcase compilation.
5229 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5230
8503d6e1
JB
52312015-01-06 Joel Brobecker <brobecker@adacore.com>
5232
5233 * gdb.python/py-type.exp: Add a couple test about empty
5234 array creation, and negative-length array creation.
5235
cc73dbcc
DE
52362015-01-02 Doug Evans <xdje42@gmail.com>
5237
5238 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5239
0300bbc7
DE
52402015-01-02 Doug Evans <dje@google.com>
5241
5242 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5243
9d85a0ec
YQ
52442014-12-29 Yao Qi <yao@codesourcery.com>
5245
5246 * gdb.trace/entry-values.exp: Update comments. Rename variable
5247 bar_call_foo to returned_from_foo.
5248
87186c6a
MMN
52492014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5250
5251 PR gdb/17394
5252 * gdb.linespec/break-asm-file.c: New file.
5253 * gdb.linespec/break-asm-file.exp: New file.
5254 * gdb.linespec/break-asm-file0.s: New file.
5255 * gdb.linespec/break-asm-file1.s: New file.
5256
1bab7383
YQ
52572014-12-18 Nigel Stephens <nigel@mips.com>
5258 Maciej W. Rozycki <macro@codesourcery.com>
5259
5260 * gdb.base/float.exp: Handle the new output from "info float" on
5261 MIPS targets.
5262
1bc1068a
JK
52632014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5264
5265 Fix MinGW compilation.
5266 * gdb.compile/compile-ops.exp: Update untested message if
5267 !skip_compile_feature_tests.
5268 * gdb.compile/compile-setjmp.exp: Likewise.
5269 * gdb.compile/compile-tls.exp: Likewise.
5270 * gdb.compile/compile.exp: Likewise.
5271 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5272 supported on this host".
5273
b6615d10
DE
52742014-12-16 Doug Evans <xdje42@gmail.com>
5275
5276 * boards/stabs.exp: New file.
5277
25dda427
AA
52782014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5279
5280 * gdb.base/completion.exp: Adjust to format changes of "maint
5281 print user-registers".
5282
bf330350
CU
52832014-12-16 Catalin Udma <catalin.udma@freescale.com>
5284
5285 PR server/17457
5286 * gdb.arch/aarch64-fp.c: New file.
5287 * gdb.arch/aarch64-fp.exp: New file.
5288
395cf596
SDJ
52892014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5290
5291 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5292 r210637, r210913, r211666, r215400, r215817).
5293
5294 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5295 * dg-extract-results.py: New file.
5296 * dg-extract-results.sh: Use it if the environment seems
5297 suitable.
5298
5299 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5300
5301 * dg-extract-results.py (parse_run): Handle warnings that
5302 are printed before a test harness is run.
5303
5304 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5305
5306 * dg-extract-results.py (Named): Remove __cmp__ method.
5307 (output_variation): Use a key to sort variation.harnesses.
5308
5309 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5310
5311 * dg-extract-results.py: For Python 3, force sys.stdout to
5312 handle surrogate escape sequences.
5313 (safe_open): New function.
5314 (output_segment, main): Use it.
5315
5316 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5317
5318 * dg-extract-results.py (Prog.result_re): Include options
5319 in test name.
5320
5321 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5322
5323 * dg-extract-results.py (output_variation): Always sort if
5324 do_sum.
5325
e882ef3c
SM
53262014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5327
5328 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5329 as long as we get pagination notifications.
5330
4992aa20
JM
53312014-12-15 Jason Merrill <jason@redhat.com>
5332
5333 * Makefile.in (check-gdb.%): Restore.
5334 * README: Mention it.
5335
c1b5a1a6
JB
53362014-12-13 Joel Brobecker <brobecker@adacore.com>
5337
5338 * gdb.ada/str_uninit: New testcase.
5339
5537b577
JK
53402014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5341
5342 PR symtab/17642
5343 * gdb.base/vla-stub-define.c: New file.
5344 * gdb.base/vla-stub.c: New file.
5345 * gdb.base/vla-stub.exp: New file.
5346
bb2ec1b3
TT
53472014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5348 Jan Kratochvil <jan.kratochvil@redhat.com>
5349 Tom Tromey <tromey@redhat.com>
5350
5351 * configure.ac: Add gdb.compile/.
5352 * configure: Regenerate.
5353 * gdb.compile/Makefile.in: New file.
5354 * gdb.compile/compile-ops.exp: New file.
5355 * gdb.compile/compile-ops.c: New file.
5356 * gdb.compile/compile-tls.c: New file.
5357 * gdb.compile/compile-tls.exp: New file.
5358 * gdb.compile/compile-constvar.S: New file.
5359 * gdb.compile/compile-constvar.c: New file.
5360 * gdb.compile/compile-mod.c: New file.
5361 * gdb.compile/compile-nodebug.c: New file.
5362 * gdb.compile/compile-setjmp-mod.c: New file.
5363 * gdb.compile/compile-setjmp.c: New file.
5364 * gdb.compile/compile-setjmp.exp: New file.
5365 * gdb.compile/compile-shlib.c: New file.
5366 * gdb.compile/compile.c: New file.
5367 * gdb.compile/compile.exp: New file.
5368 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5369
4ff709eb
TT
53702014-12-12 Tom Tromey <tromey@redhat.com>
5371
5372 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5373 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5374
6dddd6a5
DE
53752014-12-12 Doug Evans <dje@google.com>
5376
5377 * lib/gdb-python.exp (get_python_valueof): New function.
5378 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5379
71c24708
AA
53802014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5381
5382 * gdb.base/completion.exp: Add test for completion of "info
5383 registers ".
5384
3e29f34a
MR
53852014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5386
5387 * gdb.base/func-ptrs.c: New file.
5388 * gdb.base/func-ptrs.exp: New file.
5389
fc126975
SM
53902014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5391
5392 PR breakpoints/17012
5393 * gdb.base/dprintf-detach.c: New file.
5394 * gdb.base/dprintf-detach.exp: New file.
5395
0a46d518
SM
53962014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5397
5398 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5399 * lib/gdb.exp (target_is_gdbserver): New procedure.
5400
a0be3e44
DE
54012014-12-08 Doug Evans <dje@google.com>
5402
5403 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5404
df1b803a
YQ
54052014-12-05 Yao Qi <yao@codesourcery.com>
5406
5407 * gdb.guile/scm-error.exp: Remove the third argument to
5408 gdb_remote_download.
5409 * gdb.guile/scm-frame-args.exp: Likewise.
5410 * gdb.guile/scm-section-script.exp: Likewise.
5411
ddb9f679
YQ
54122014-12-05 Yao Qi <yao@codesourcery.com>
5413
5414 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5415
86e4ed39
DE
54162014-12-04 Doug Evans <dje@google.com>
5417
5418 * gdb.python/py-objfile.exp: Add tests for
5419 objfile.add_separate_debug_file.
5420
7c50a931
DE
54212014-12-04 Doug Evans <dje@google.com>
5422
5423 * lib/gdb.exp (get_build_id): New function.
5424 (build_id_debug_filename_get): Rewrite to use it.
5425 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5426
621661e3
MR
54272014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5428
5429 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5430 `method(long)', not just 0x0.
5431 * gdb.cp/nsalias.exp: Align code labels to 4.
5432 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5433 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5434 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5435 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5436 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5437 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5438
29f0c3b7
DE
54392014-12-02 Doug Evans <dje@google.com>
5440
e1e061e7 5441 PR symtab/17602
29f0c3b7 5442 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 5443 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
5444 * gdb.cp/anon-ns.exp: Update.
5445
162078c8
NB
54462014-12-02 Nick Bull <nicholaspbull@gmail.com>
5447
5448 * gdb.python/py-events.py (inferior_call_handler): New.
5449 (register_changed_handler, memory_changed_handler): New.
5450 (test_events.invoke): Register new handlers.
5451 * gdb.python/py-events.exp: Add tests for inferior call,
5452 memory_changed and register_changed events.
5453
fdb09caf
AA
54542014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5455
5456 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5457 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5458 if the linker doesn't understand this.
5459
55cfb2c4
SM
54602014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5461
5462 * gdb.python/python.exp: Change expected reply to help().
5463
9e8cd6df
YQ
54642014-12-01 Yao Qi <yao@codesourcery.com>
5465
5466 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5467 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5468 * configure: Re-generated.
5469
6c659fc2
SC
54702014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5471
5472 * gdb.cp/chained-calls.cc: New file.
5473 * gdb.cp/chained-calls.exp: New file.
5474 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5475
d7fc3181
SM
54762014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5477
5478 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5479 * gdb.dwarf2/symtab-producer.exp: Same.
5480 * gdb.gdb/python-interrupts.exp: Same.
5481 * gdb.gdb/python-selftest.exp: Same.
5482 * gdb.python/py-linetable.exp: Same.
5483 * gdb.python/py-type.exp: Same.
5484 * gdb.python/py-value-cc.exp: Same.
5485 * gdb.python/py-value.exp: Same.
5486
10e79639
YQ
54872014-11-28 Yao Qi <yao@codesourcery.com>
5488
5489 * gdb.base/break-probes.exp: Match library name prefixed with
5490 sysroot.
5491
f28a0564
SM
54922014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5493
5494 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5495 test expected output. Add parentheses for the call to print.
5496 Remove L suffix from integers.
5497
3fe1ce1d
DE
54982014-11-26 Doug Evans <dje@google.com>
5499
5500 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5501
84429e27
YQ
55022014-11-22 Yao Qi <yao@codesourcery.com>
5503
5504 * gdb.trace/entry-values.c: Remove asms.
5505 (foo): Add foo_label.
5506 (bar): Add bar_label.
5507 * gdb.trace/entry-values.exp: Remove code computing foo's
5508 length and bar's length.
5509 (Dwarf::assemble): Invoke function_range for bar and use
5510 MACRO_AT_func for foo.
5511
26741859
YQ
55122014-11-22 Yao Qi <yao@codesourcery.com>
5513
5514 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5515 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5516 Use .Lgcc43_procstart instead of gcc43.
5517
45e44d27
JB
55182014-11-21 Joel Brobecker <brobecker@adacore.com>
5519
5520 * gdb.ada/n_arr_bound: New testcase.
5521
458c8db8
SDJ
55222014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5523
5524 PR breakpoints/10737
5525 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5526 test_catch_syscall_multi_arch.
5527 (test_catch_syscall_multi_arch): New function.
5528
43f3e411
DE
55292014-11-20 Doug Evans <xdje42@gmail.com>
5530
5531 * gdb.base/maint.exp: Update expected output.
5532
0d7b2549
AA
55332014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5534
5535 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5536 4-byte instruction on S390.
5537
8908fca5
JB
55382014-11-19 Joel Brobecker <brobecker@adacore.com>
5539
5540 * gdb.ada/arr_arr: New testcase.
5541
4a46959e
JB
55422014-11-19 Joel Brobecker <brobecker@adacore.com>
5543
5544 * gdb.ada/pkd_arr_elem: New Testcase.
5545
470e2f4e
LM
55462014-11-18 Luis Machado <lgustavo@codesourcery.com>
5547
5548 * gdb.reverse/break-precsave: Expect completion message for
5549 core file reads.
5550 * gdb.reverse/consecutive-precsave.exp: Likewise.
5551 * gdb.reverse/finish-precsave.exp: Likewise.
5552 * gdb.reverse/i386-precsave.exp: Likewise.
5553 * gdb.reverse/machinestate-precsave.exp: Likewise.
5554 * gdb.reverse/sigall-precsave.exp: Likewise.
5555 * gdb.reverse/solib-precsave.exp: Likewise.
5556 * gdb.reverse/step-precsave.exp: Likewise.
5557 * gdb.reverse/until-precsave.exp: Likewise.
5558 * gdb.reverse/watch-precsave.exp: Likewise.
5559
a267f3ad
AA
55602014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5561
5562 * gdb.base/bp-permanent.c: Include unistd.h.
5563 * gdb.python/py-framefilter-mi.c (main): Add return type.
5564 * gdb.python/py-framefilter.c (main): Likewise.
5565 * gdb.trace/actions-changed.c (main): Likewise.
5566
12084a9a
AA
55672014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5568
5569 * gdb.mi/until.c: Add eye-catchers.
5570 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5571 line numbers.
5572
dc7e1a77
AA
55732014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5574
5575 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5576 function header variants in break1.c.
5577 * gdb.base/ena-dis-br.exp: Likewise.
5578 * gdb.base/hbreak2.exp: Likewise.
5579 * gdb.reverse/until-precsave.exp: Drop references to removed
5580 non-prototype function header variants in ur1.c.
5581 * gdb.reverse/until-reverse.exp: Likewise.
5582
41c77605
PM
55832014-11-17 Petr Machata <pmachata@redhat.com>
5584
5585 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5586 ${_cu_offset_size} bytes abbrev offset.
5587
34248c3a
DE
55882014-11-15 Doug Evans <xdje42@gmail.com>
5589
5590 PR symtab/17559
5591 * gdb.base/line-symtabs.exp: New file.
5592 * gdb.base/line-symtabs.c: New file.
5593 * gdb.base/line-symtabs.h: New file.
5594
646da059
YQ
55952014-11-14 Yao Qi <yao@codesourcery.com>
5596
5597 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5598 (func): Add label func_label.
5599 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5600 Replace low_pc and high_pc with MACRO_AT_range.
5601 Replace name, low_pc and high_pc with MACRO_AT_func.
5602
9301ebe6
YQ
56032014-11-14 Yao Qi <yao@codesourcery.com>
5604
5605 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5606 Replace name, low_pc and high_pc with MACRO_AT_func.
5607
f166b542
YQ
56082014-11-14 Yao Qi <yao@codesourcery.com>
5609
5610 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5611 produce debug information.
5612 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5613
0f6e71e3
YQ
56142014-11-14 Yao Qi <yao@codesourcery.com>
5615
5616 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5617 object and get function length.
5618 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5619 with MACRO_AT_func.
5620 (top-level): Replace gdb_compile and clean_restart with
5621 prepare_for_testing.
5622 * gdb.dwarf2/main.c (main): Add label main_label.
5623
876c4df9
YQ
56242014-11-14 Yao Qi <yao@codesourcery.com>
5625
5626 * lib/dwarf.exp (function_range): New procedure.
5627 (Dwarf::_handle_macro_at_func): New procedure.
5628 (Dwarf::_handle_macro_at_range): New procedure.
5629 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5630
02ad9cf1
YQ
56312014-11-14 Yao Qi <yao@codesourcery.com>
5632
5633 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5634 (_handle_attribute): New procedure.
5635
a59add0c
AA
56362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5637
5638 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5639 * gdb.base/call-sc.c (zed): Likewise.
5640 * gdb.base/checkpoint.c (main): Likewise.
5641 * gdb.base/dump.c (main): Likewise.
5642 * gdb.base/gcore.c (main): Likewise.
5643 * gdb.base/huge.c (main): Likewise.
5644 * gdb.base/multi-forks.c (main): Likewise.
5645 * gdb.base/pr10179-a.c (main): Likewise.
5646 * gdb.base/savedregs.c (main): Likewise.
5647 * gdb.base/sigaltstack.c (main): Likewise.
5648 * gdb.base/siginfo.c (main): Likewise.
5649 * gdb.base/structs.c (zed): Likewise.
5650 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5651 * gdb.mi/mi-syn-frame.c (main): Likewise.
5652 * gdb.mi/until.c (foo, main): Likewise.
5653 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5654 * gdb.base/solib-weak.c (foo): Declare.
5655 * gdb.base/attach-twice.c: Include stdio.h.
5656 * gdb.base/weaklib1.c: Likewise.
5657 * gdb.base/weaklib2.c: Likewise.
5658 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5659 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5660 unistd.h.
5661 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5662 * gdb.mi/mi-exit-code.c: Likewise.
5663 * gdb.base/break-interp-lib.c: Include string.h.
5664 * gdb.base/coremaker.c: Likewise.
5665 * gdb.base/testenv.c: Likewise.
5666 * gdb.python/py-finish-breakpoint.c: Likewise.
5667 * gdb.base/inferior-died.c: Include sys/wait.h.
5668 * gdb.base/fileio.c: Include time.h.
5669 * gdb.base/async-shell.c: Include unistd.h.
5670 * gdb.base/dprintf-non-stop.c: Likewise.
5671 * gdb.base/info-os.c: Likewise.
5672 * gdb.mi/mi-console.c: Likewise.
5673 * gdb.mi/watch-nonstop.c: Likewise.
5674 * gdb.python/py-events.c: Likewise.
5675 * gdb.base/async.c (baz): Move up before its invocation.
5676 * gdb.base/code_elim2.c (my_global_func): Likewise.
5677 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5678 * gdb.base/advance.c (func2): Likewise.
5679
3b5d5997
AA
56802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5681
5682 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5683 variant.
5684 * gdb.base/annota3.c: Likewise.
5685 * gdb.base/async.c: Likewise.
5686 * gdb.base/average.c: Likewise.
5687 * gdb.base/call-ar-st.c: Likewise.
5688 * gdb.base/call-rt-st.c: Likewise.
5689 * gdb.base/call-sc.c: Likewise.
5690 * gdb.base/call-strs.c: Likewise.
5691 * gdb.base/ending-run.c: Likewise.
5692 * gdb.base/execd-prog.c: Likewise.
5693 * gdb.base/exprs.c: Likewise.
5694 * gdb.base/foll-exec.c: Likewise.
5695 * gdb.base/foll-fork.c: Likewise.
5696 * gdb.base/foll-vfork.c: Likewise.
5697 * gdb.base/funcargs.c: Likewise.
5698 * gdb.base/gcore.c: Likewise.
5699 * gdb.base/jump.c: Likewise.
5700 * gdb.base/langs0.c: Likewise.
5701 * gdb.base/langs1.c: Likewise.
5702 * gdb.base/langs2.c: Likewise.
5703 * gdb.base/mips_pro.c: Likewise.
5704 * gdb.base/nodebug.c: Likewise.
5705 * gdb.base/opaque0.c: Likewise.
5706 * gdb.base/opaque1.c: Likewise.
5707 * gdb.base/recurse.c: Likewise.
5708 * gdb.base/run.c: Likewise.
5709 * gdb.base/scope0.c: Likewise.
5710 * gdb.base/scope1.c: Likewise.
5711 * gdb.base/setshow.c: Likewise.
5712 * gdb.base/setvar.c: Likewise.
5713 * gdb.base/shmain.c: Likewise.
5714 * gdb.base/shr1.c: Likewise.
5715 * gdb.base/shr2.c: Likewise.
5716 * gdb.base/sigall.c: Likewise.
5717 * gdb.base/signals.c: Likewise.
5718 * gdb.base/so-indr-cl.c: Likewise.
5719 * gdb.base/solib2.c: Likewise.
5720 * gdb.base/structs.c: Likewise.
5721 * gdb.base/sum.c: Likewise.
5722 * gdb.base/vforked-prog.c: Likewise.
5723 * gdb.base/watchpoint.c: Likewise.
5724 * gdb.reverse/shr2.c: Likewise.
5725 * gdb.reverse/until-reverse.c: Likewise.
5726 * gdb.reverse/ur1.c: Likewise.
5727 * gdb.reverse/watch-reverse.c: Likewise.
5728
066a77c5
AA
57292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5730
5731 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5732 variant.
5733 * gdb.base/sepdebug.exp: Drop references to removed code.
5734
4f204ea5
AA
57352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5736
5737 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5738 variant. Preserve original line numbering.
5739 * gdb.base/list1.c: Likewise.
5740
3b377a3a
AA
57412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5742
5743 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5744 variant.
5745 * gdb.base/break1.c: Likewise.
5746 * gdb.base/break.exp: Drop references to removed code.
5747
e444df73
AA
57482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5749
5750 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5751 variant.
5752
8008f2a7
AA
57532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5754
5755 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5756
a5a06887
AA
57572014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5758
5759 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5760 logic into perform_all_tests() and invoke it with and without
5761 function header prototypes.
5762 (do_function_calls): Remove conditional XFAIL for PR 5318.
5763 (rerun_and_prepare): Remove duplicate code.
5764 (perform_all_tests): New. Main logic moved here.
5765
44dba9b9
AA
57662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5767
5768 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5769 code guarded by #ifdef NO_PROTOTYPES.
5770 (t_double_many_args): Likewise.
5771 (DEF_FUNC_MANY_ARGS_1): Likewise.
5772 (DEF_FUNC_VALUES_1): Likewise.
5773 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5774 guarded by #ifdef PROTOTYPES.
5775
d1fbcd56
AA
57762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5777
5778 * gdb.mi/mi-console.c: Add eye-catcher.
5779 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5780 instead of literal line number.
5781
b0e59b8f
AA
57822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5783
5784 * gdb.base/shr2.c: Add eye-catcher.
5785 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5786 line number.
5787
78f98cca
AA
57882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5789
5790 * gdb.base/jump.c: Add eye-catchers.
5791 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5792 numbers.
5793
58fa2af0
AA
57942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5795
5796 * gdb.base/execd-prog.c: Add eye-catchers.
5797 * gdb.base/foll-exec.c: Likewise.
5798 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5799 line numbers.
5800
04e5059b
AA
58012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5802
5803 * gdb.base/ending-run.c: Add eye-catchers.
5804 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5805 literal line numbers.
5806
dbfdb174
AA
58072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5808
5809 * gdb.base/call-rt-st.c: Add eye-catchers.
5810 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5811 literal line numbers.
5812
888a2ade
AA
58132014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5814
5815 * gdb.base/call-ar-st.c: Add eye-catchers.
5816 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5817 literal line numbers.
5818
6acc2dde
AA
58192014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5820
5821 * gdb.base/average.c: Add eye-catchers.
5822 * gdb.base/sum.c: Likewise.
5823 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5824 regexps dynamically.
5825
9ecfcd1d
AA
58262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5827
5828 * gdb.base/solib1.c: Add eye-catchers.
5829 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5830 literal line numbers.
5831
78708b7c
PA
58322014-11-12 Pedro Alves <palves@redhat.com>
5833
5834 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5835 leader has exited.
5836
af48d08f
PA
58372014-11-12 Pedro Alves <palves@redhat.com>
5838
5839 * gdb.arch/i386-bp_permanent.c: New file.
5840 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5841 (srcfile): Set to i386-bp_permanent.c.
5842 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5843 that stepi does not execute the 'leave' instruction, instead of
5844 testing it does execute.
5845 * gdb.base/bp-permanent.c: New file.
5846 * gdb.base/bp-permanent.exp: New file.
5847
af3768e9
DE
58482014-11-10 Doug Evans <xdje42@gmail.com>
5849
5850 PR symtab/17564
5851 * gdb.base/symtab-search-order.exp: New file.
5852 * gdb.base/symtab-search-order.c: New file.
5853 * gdb.base/symtab-search-order-1.c: New file.
5854 * gdb.base/symtab-search-order-shlib-1.c: New file.
5855
9de00a4a
PA
58562014-11-07 Pedro Alves <palves@redhat.com>
5857
5858 PR gdb/17511
5859 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5860 i?86-*-linux*.
5861
e0f52461
SC
58622014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5863
5864 PR c++/17494
5865 * gdb.cp/pr17494.cc: New file.
5866 * gdb.cp/pr17494.exp: New file.
5867
6ce8c980
YQ
58682014-11-02 Yao Qi <yao@codesourcery.com>
5869
5870 * gdb.python/python.exp: Get working directory and match the
5871 output of "set extended-prompt \\w " with it.
5872
02be9a71
DE
58732014-10-30 Doug Evans <dje@google.com>
5874
5875 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5876 in objfiles.
5877 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5878 in progspaces.
5879
3bdff46b
LM
58802014-10-30 Janis Johnson <janisjo@codesourcery.com>
5881
5882 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5883 * gdb.base/realname-expand.exp: Likewise.
5884 * gdb.linespec/macro-relative.exp: Likewise.
5885
ab917dfb
PA
58862014-10-29 Pedro Alves <palves@redhat.com>
5887
5888 PR gdb/17408
5889 * gdb.threads/schedlock.c (some_function): New function.
5890 (call_function): New global.
5891 (MAYBE_CALL_SOME_FUNCTION): New macro.
5892 (thread_function): Call it.
5893 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5894 and use it instead of a global counter. Adjust all callers.
5895 (get_current_thread): Use "find current thread" for test message
5896 here rather than having all callers pass down the same string.
5897 (goto_loop): New procedure, factored out from ...
5898 (my_continue): ... this.
5899 (step_ten_loops): Change parameter from test message to command to
5900 use. Adjust.
5901 (list_count): Delete global.
5902 (check_result): New procedure, factored out from duplicate top
5903 level code.
5904 (continue tests): Wrap in with_test_prefix.
5905 (test_step): New procedure, factored out from duplicate top level
5906 code.
5907 (top level): Test "step" in combination with all scheduler-locking
5908 modes. Test "next" in combination with all scheduler-locking
5909 modes, and in combination with stepping over a function call or
5910 not.
5911 * gdb.threads/next-bp-other-thread.c: New file.
5912 * gdb.threads/next-bp-other-thread.exp: New file.
5913
d3d4baed
PA
59142014-10-29 Pedro Alves <palves@redhat.com>
5915
5916 PR python/17372
5917 * gdb.python/python.exp: Test a multi-line command that spawns
5918 interactive Python.
5919 * gdb.base/multi-line-starts-subshell.exp: New file.
5920
563e8d85
YQ
59212014-10-29 Yao Qi <yao@codesourcery.com>
5922
5923 * gdb.base/fileio.exp: Make directories on host.
5924
0ea4d52e
YQ
59252014-10-29 Yao Qi <yao@codesourcery.com>
5926
5927 * gdb.base/fileio.c (test_write): Close the file.
5928
7f5ef605
PA
59292014-10-28 Pedro Alves <palves@redhat.com>
5930
5931 PR gdb/12623
5932 * gdb.base/sigstep.c (no_handler): New global.
5933 (main): If 'no_handler is true, set the signal handlers to
5934 SIG_IGN.
5935 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5936 with_sw_watch and no_handler parameters. Handle them.
5937 (top level) <stepping over handler when stopped at a breakpoint
5938 test>: Add a test axis for testing with a software watchpoint, and
5939 another for testing with the signal handler set to SIG_IGN.
5940 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5941 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5942
abbdbd03
PA
59432014-10-28 Pedro Alves <palves@redhat.com>
5944
5945 PR gdb/17511
5946 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5947 * gdb.base/sigstep.exp (other_handler_location): New global.
5948 (advance): Support stepping into the signal handler, and running
5949 commands while in the handler.
5950 (in_handler_map): New global.
5951 (top level): In the advance test, add combinations for getting
5952 into the handler with stepping commands, and for running commands
5953 in the handler. Add comment descripting the advancei tests.
5954
1df4399f
PA
59552014-10-28 Pedro Alves <palves@redhat.com>
5956
5957 * gdb.base/sigstep.exp: Use build_executable instead of
5958 prepare_for_testing.
5959 (top level): Move code that starts GDB, runs to main and creates a
5960 display to ...
5961 (restart): ... this new procedure.
5962 (top level): Move backtrace from signal handler test to ...
5963 (validate_backtrace): ... this new procedure.
5964 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5965 with_test_prefix. Always restart GDB.
5966 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5967 with_test_prefix. Always restart GDB. No need to delete
5968 breakpoints after the test.
5969 (test_skip_handler): Remove prefix parameter.
5970 (skip_over_handler, breakpoint_to_handler)
5971 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5972 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5973 restart GDB. No need to delete breakpoints after the test.
5974 (top level): Use foreach to call the test procedures with
5975 different commands.
5976
a5b6e449
PA
59772014-10-28 Pedro Alves <palves@redhat.com>
5978
5979 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5980 instead of GNATS numbers.
5981 * gdb.base/sigbpt.exp: Likewise.
5982 * gdb.base/siginfo.exp: Likewise.
5983 * gdb.base/sigstep.exp: Likewise.
5984
e5f8a7cc
PA
59852014-10-27 Pedro Alves <palves@redhat.com>
5986
5987 * gdb.base/sigstep.c (dummy): New global.
5988 (main): Issue a couple writes to the new global.
5989 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5990 procedures.
5991 (skip_over_handler): Use test_skip_handler.
5992 (top level): Call skip_over_handler for stepi and nexti too.
5993 (breakpoint_over_handler): Use test_skip_handler.
5994 (top level): Call breakpoint_over_handler for stepi and nexti too.
5995
763905a3
YQ
59962014-10-27 Yao Qi <yao@codesourcery.com>
5997
5998 * gdb.trace/tfile.c (adjust_function_address)
5999 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6000 function descriptor.
6001
6f259a23
DB
60022014-10-24 Don Breazeal <donb@codesourcery.com>
6003
6004 * gdb.base/foll-fork.exp (test_follow_fork,
6005 catch_fork_child_follow): Check for updated fork messages emitted
6006 from infrun.c.
6007 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6008 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6009 vfork_and_exec_child_follow_through_step): Check for updated vfork
6010 messages emitted from infrun.c.
6011
09dd9a69
PA
60122014-10-24 Pedro Alves <palves@redhat.com>
6013
6014 * gdb.base/corefile.exp: Remove references to ultrix.
6015 * gdb.base/interrupt.exp: Likewise.
6016 * gdb.base/whatis.exp: Likewise.
6017 * gdb.gdb/selftest.exp: Likewise.
6018 * gdb.threads/manythreads.exp: Likewise.
6019 * gdb.threads/print-threads.exp: Likewise.
6020 * gdb.threads/pthreads.exp:: Likewise.
6021 * gdb.threads/schedlock.exp: Likewise.
6022
3433cfa5
SC
60232014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6024
6025 * gdb.cp/non-trivial-retval.cc: Add a test case.
6026 * gdb.cp/non-trivial-retval.exp: Add a test.
6027
092f880b
YQ
60282014-10-20 Yao Qi <yao@codesourcery.com>
6029
6030 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6031 * gdb.python/py-objfile-script-gdb.py: New file.
6032 * gdb.python/py-objfile-script.exp: Update reference to
6033 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6034 of remote_download. Remove the dest file.
6035
acbdb7f3
YQ
60362014-10-20 Yao Qi <yao@codesourcery.com>
6037
6038 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6039 * gdb.base/step-line.exp: Likewise.
6040 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6041 * gdb.dwarf2/dw2-basic.exp: Likewise.
6042 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6043 * gdb.dwarf2/dw2-filename.exp: Likewise.
6044 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6045 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6046 * gdb.dwarf2/dw2-producer.exp: Likewise.
6047 * gdb.dwarf2/mac-fileno.exp: Likewise.
6048 * gdb.python/py-frame-args.exp: Likewise.
6049 * gdb.python/py-framefilter.exp: Likewise.
6050 * gdb.python/py-mi.exp: Likewise.
6051 * gdb.python/py-objfile-script.exp: Likewise
6052 * gdb.python/py-pp-integral.exp: Likewise.
6053 * gdb.python/py-pp-re-notag.exp: Likewise.
6054 * gdb.python/py-prettyprint.exp: Likewise.
6055 * gdb.python/py-section-script.exp: Likewise.
6056 * gdb.python/py-typeprint.exp: Likewise.
6057 * gdb.python/py-xmethods.exp: Likewise.
6058 * gdb.stabs/weird.exp: Likewise.
6059 * gdb.xml/tdesc-regs.exp: Likewise.
6060
bd286a29
KCY
60612014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6062
6063 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6064 (out_cu): Use addr_len for the size of addresses.
6065 (out_line): Likewise. Size DW_LNE_set_address instruction
6066 according to addr_len.
6067 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6068 (FUNC): Add START_INSNS to definition.
6069
673dc4a0
YQ
60702014-10-18 Yao Qi <yao@codesourcery.com>
6071
6072 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6073 gdb_has_argv0 return true.
6074 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6075 check [target_info exists noargs], check [gdb_has_argv0]
6076 instead.
6077 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6078 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6079 procedures.
6080
4ffbba72
DE
60812014-10-17 Doug Evans <dje@google.com>
6082
6083 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6084 event.
6085 * gdb.python/py-events.py: Add clear_objfiles event.
6086
d096d8c1
DE
60872014-10-17 Doug Evans <dje@google.com>
6088
6089 * gdb.python/py-objfile.exp: Test progspace attribute.
6090
a80db015
LM
60912014-10-17 Luis Machado <lgustavo@codesourcery.com>
6092
6093 * gdb.guile/scm-breakpoint.exp: Do not assume any
6094 directory separators when matching source file paths.
6095 * gdb.python/py-breakpoint.exp: Likewise.
6096 * gdb.reverse/break-precsave.exp: Likewise.
6097 * gdb.reverse/break-reverse.exp: Likewise.
6098 * gdb.reverse/consecutive-precsave.exp: Likewise.
6099 * gdb.reverse/finish-precsave.exp: Likewise.
6100 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6101 * gdb.reverse/finish-reverse.exp: Likewise.
6102 * gdb.reverse/i386-precsave.exp: Likewise.
6103 * gdb.reverse/i387-env-reverse.exp: Likewise.
6104 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6105 * gdb.reverse/machinestate-precsave.exp: Likewise.
6106 * gdb.reverse/machinestate.exp: Likewise.
6107 * gdb.reverse/sigall-precsave.exp: Likewise.
6108 * gdb.reverse/solib-precsave.exp: Likewise.
6109 * gdb.reverse/step-precsave.exp: Likewise.
6110 * gdb.reverse/until-precsave.exp: Likewise.
6111 * gdb.reverse/watch-precsave.exp: Likewise.
6112 * gdb.reverse/watch-reverse.exp: Likewise.
6113
b22089ab
YQ
61142014-10-17 Yao Qi <yao@codesourcery.com>
6115
6116 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6117 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6118
6c4486e6
PA
61192014-10-17 Pedro Alves <palves@redhat.com>
6120
6121 PR gdb/17471
6122 * gdb.base/bg-execution-repeat.c: New file.
6123 * gdb.base/bg-execution-repeat.exp: New file.
6124
0ff33695
PA
61252014-10-17 Pedro Alves <palves@redhat.com>
6126
6127 PR gdb/17300
6128 * gdb.base/continue-all-already-running.c: New file.
6129 * gdb.base/continue-all-already-running.exp: New file.
6130
6fdebc3d
PA
61312014-10-17 Pedro Alves <palves@redhat.com>
6132
6133 PR gdb/17472
6134 * gdb.base/annota-input-while-running.c: New file.
6135 * gdb.base/annota-input-while-running.exp: New file.
6136
32a8097b
PA
61372014-10-17 Pedro Alves <palves@redhat.com>
6138
6139 * gdb.base/callfuncs.exp: emove references to osf.
6140 * gdb.base/sigall.exp: Likewise.
6141 * gdb.gdb/selftest.exp: Likewise.
6142 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6143 * gdb.mi/non-stop.c: Likewise.
6144 * gdb.mi/pthreads.c: Likewise.
6145 * gdb.reverse/sigall-precsave.exp: Likewise.
6146 * gdb.reverse/sigall-reverse.exp: Likewise.
6147 * gdb.threads/pthreads.c: Likewise.
6148 * gdb.threads/pthreads.exp: Likewise.
6149
7a3517ff
YQ
61502014-10-17 Yao Qi <yao@codesourcery.com>
6151
6152 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6153 check 'target_info exists noargs'.
6154 (test_command_prompt_position): Likewise.
6155 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6156 Remove "set args".
6157 (progvar_simple_while_test): Likewise.
6158 (progvar_complex_if_while_test): Likewise.
6159 (if_while_breakpoint_command_test): Likewise.
6160 (infrun_breakpoint_command_test): Likewise.
6161 (breakpoint_command_test): Likewise.
6162 (watchpoint_command_test): Likewise.
6163 (bp_deleted_in_command_test): Likewise.
6164 (temporary_breakpoint_commands): Likewise.
6165
bb99c472
YQ
61662014-10-16 Yao Qi <yao@codesourcery.com>
6167
6168 * gdb.base/remotetimeout.exp: Remove noargs checking.
6169
7c16b83e
PA
61702014-10-15 Pedro Alves <palves@redhat.com>
6171
6172 PR breakpoints/9649
6173 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6174 * gdb.base/breakpoint-in-ro-region.exp
6175 (probe_target_hardware_step): New procedure.
6176 (top level): Probe hardware stepping and hardware breakpoint
6177 support. Test stepping through a read-only region, with both
6178 "breakpoint auto-hw" on and off and both "always-inserted" on and
6179 off.
6180
35a49624
IB
61812014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6182
6183 * gdb.dlang/demangle.exp: Update for demangling changes.
6184
2d1c107c
SC
61852014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6186
6187 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6188 * gdb.cp/non-trivial-retval.exp: Add new tests.
6189
778811d5
SC
61902014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6191
6192 PR c++/13403
6193 PR c++/15154
6194 * gdb.cp/non-trivial-retval.cc: New file.
6195 * gdb.cp/non-trivial-retval.exp: New file.
6196
10c5f0a8
YQ
61972014-10-15 Yao Qi <yao@codesourcery.com>
6198
6199 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6200 remote host.
6201
65d7b369
YQ
62022014-10-15 Yao Qi <yao@codesourcery.com>
6203
6204 * gdb.python/py-symbol.exp: Match file base name if host is
6205 remote, otherwise match file name with dir name.
6206 * gdb.python/py-symtab.exp: Likewise.
6207 * gdb.python/python.exp: Likewise.
6208
46dc1394
YQ
62092014-10-15 Yao Qi <yao@codesourcery.com>
6210
6211 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6212 pattern.
6213 * gdb.python/py-symtab.exp: Likewise.
6214 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6215 locationn.
6216
c40cc657
JB
62172014-10-14 Joel Brobecker <brobecker@adacore.com>
6218
6219 * gdb.ada/addr_arith: New testcase.
6220
2abf49e1
MR
62212014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6222
6223 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6224 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6225 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6226 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6227
f7088df3
SDJ
62282014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6229
6230 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6231 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6232 * gdb.arch/stap-eval-lang-ada.exp: New file.
6233
4dc06805
YQ
62342014-10-14 Yao Qi <yao@codesourcery.com>
6235
6236 * gdb.mi/mi-var-child.c (nothing1): New function.
6237 (nothing2): New function.
6238 (do_children_tests): Set function pointers by nothing1 and
6239 nothing2.
6240 * gdb.mi/mi-var-child.exp: Step over new added statements.
6241 Update test to match the new output.
6242 * gdb.mi/var-cmd.c (nothing1): New function.
6243 (nothing2): New function.
6244 (do_children_tests): Set function pointers by nothing1 and
6245 nothing2.
6246 * gdb.mi/mi-var-display.exp: Update test to match output.
6247 Step to the line specified by $line_dct_nothing.
6248 Increase the number of lines to step.
6249
46a93de2
YQ
62502014-10-14 Yao Qi <yao@codesourcery.com>
6251
6252 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6253 tests.
6254 * gdb.mi/mi2-var-child.exp: Likewise.
6255
14ea52ee
DE
62562014-10-13 Doug Evans <dje@google.com>
6257
6258 * gdb.python/py-objfile.exp: Change name of file name test.
6259
e5c6e92b
DE
62602014-10-13 Doug Evans <dje@google.com>
6261
6262 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6263 from the start of the CU.
6264
c780cc2f
JK
62652014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6266 Yao Qi <yao@codesourcery.com>
6267
6268 Fix "save breakpoints" for "catch" command.
6269 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6270 Remove -nonewline. Match also the added "main" line.
6271
99894e11
JK
62722014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6273
6274 Fix "save breakpoints" for "disable $bpnum" command.
6275 * gdb.base/save-bp.c (main): Add label.
6276 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6277
6e1ac5a3
JK
62782014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6279
6280 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6281
754dd2b0
YQ
62822014-10-11 Yao Qi <yao@codesourcery.com>
6283
6284 * gdb.server/server-kill.exp: Execute command
6285 "set remote trace-status-packet on" before "tstatus".
6286
f90183d7
YQ
62872014-10-11 Yao Qi <yao@codesourcery.com>
6288
6289 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6290 (main): Call getppid.
6291 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6292 and continue to it. Read variable "server_pid".
6293
bf40a607
YQ
62942014-10-11 Yao Qi <yao@codesourcery.com>
6295
6296 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6297
052ca370
YQ
62982014-10-11 Yao Qi <yao@codesourcery.com>
6299
6300 * gdb.threads/thread-find.exp: Don't execute command
6301 "info threads".
6302 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6303 * gdb.threads/linux-dp.exp: Don't check the condition
6304 $threads_created equals to zero.
6305
3831839c
PA
63062014-10-10 Pedro Alves <palves@redhat.com>
6307
6308 * gdb.base/bigcore.exp: Remove references to IRIX.
6309 * gdb.base/funcargs.exp: Likewise.
6310 * gdb.base/interrupt.exp: Likewise.
6311 * gdb.base/mips_pro.exp: Likewise.
6312 * gdb.base/nodebug.exp: Likewise.
6313 * gdb.base/setvar.exp: Likewise.
6314 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6315
8b9a549d
PA
63162014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6317 Pedro Alves <palves@redhat.com>
6318
6319 PR symtab/14466
6320 * gdb.base/vdso-warning.c: New file.
6321 * gdb.base/vdso-warning.exp: New file.
6322
d48ba5e8
DE
63232014-10-02 Doug Evans <dje@google.com>
6324
6325 * gdb.base/structs.c (main): Don't run forever.
6326
2278c276
PA
63272014-10-02 Pedro Alves <palves@redhat.com>
6328
6329 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6330 (top level) <stop threads 1, stop threads 2>: Use it.
6331
b57bacec
PA
63322014-10-02 Pedro Alves <palves@redhat.com>
6333
6334 * gdb.threads/break-while-running.exp (test): Add new
6335 'update_thread_list' argument. Skip "info threads" if false.
6336 (top level): Add new 'update_thread_list' axis.
6337
13fd3ff3
PA
63382014-10-02 Pedro Alves <palves@redhat.com>
6339
6340 PR breakpoints/17431
6341 * gdb.base/execl-update-breakpoints.c: New file.
6342 * gdb.base/execl-update-breakpoints.exp: New file.
6343
0fec99e8
PA
63442014-10-01 Pedro Alves <palves@redhat.com>
6345
6346 * gdb.base/breakpoint-in-ro-region.c: New file.
6347 * gdb.base/breakpoint-in-ro-region.exp: New file.
6348
2ddf4301
SM
63492014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6350
6351 * gdb.mi/mi-exit-code.exp: New file.
6352 * gdb.mi/mi-exit-code.c: New file.
6353
6a5f3f43
YQ
63542014-09-30 Yao Qi <yao@codesourcery.com>
6355
6356 * lib/prelink-support.exp (build_executable_own_libs): Error if
6357 the target isn't native.
6358
345bcc73
YQ
63592014-09-30 Yao Qi <yao@codesourcery.com>
6360
6361 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6362 false.
6363
a25a5a45
PA
63642014-09-22 Pedro Alves <palves@redhat.com>
6365
6366 * gdb.threads/break-while-running.exp: New file.
6367 * gdb.threads/break-while-running.c: New file.
6368
00ba3162
YQ
63692014-09-19 Yao Qi <yao@codesourcery.com>
6370
6371 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6372 Invoke test. Restart GDB with --readnow and invoke test again.
6373
c3b7b696
YQ
63742014-09-19 Yao Qi <yao@codesourcery.com>
6375
6376 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6377 proc set_breakpoint_on_gcd_function. Invoke
6378 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6379 invoke set_breakpoint_on_gcd_function again.
6380
2b4fd423
DE
63812014-09-18 Doug Evans <dje@google.com>
6382
6383 * gdb.dwarf2/symtab-producer.exp: New file.
6384
a5947601
SDJ
63852014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6386
6387 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6388 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6389 * gdb.base/global-var-nested-by-dso.c: Likewise.
6390 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6391
91c19059
SDJ
63922014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6393 Pedro Alves <palves@redhat.com>
6394
6395 * gdb.base/watch-bitfields.exp: Pass string other than test file
6396 name to prepare_for_testing.
6397 (watch): New procedure.
6398 (expect_watchpoint): Use with_test_prefix.
6399 (top level): Factor out tests to ...
6400 (test_watch_location, test_regular_watch): ... these new
6401 procedures, and use with_test_prefix and gdb_continue_to_end.
6402
bb9d5f81
PP
64032014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6404
6405 PR breakpoints/12526
6406 * gdb.base/watch-bitfields.exp: New file.
6407 * gdb.base/watch-bitfields.c: New file.
6408
635856f5
PA
64092014-09-16 Pedro Alves <palves@redhat.com>
6410
6411 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6412 software and hardware addresses, not software address against
6413 itself.
6414
7280ceea
PA
64152014-09-16 Pedro Alves <palves@redhat.com>
6416
6417 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6418 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6419
428b16bd
PA
64202014-09-16 Pedro Alves <palves@redhat.com>
6421
6422 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6423 files.
6424 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6425 "*-*-vxworks*" throughout.
6426 * gdb.base/break.exp: Likewise.
6427 * gdb.base/default.exp: Likewise.
6428 * gdb.base/scope.exp: Likewise.
6429 * gdb.base/sepdebug.exp: Likewise.
6430 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6431 throughout.
6432 * gdb.base/run.c: Likewise.
6433 * gdb.base/sepdebug.c: Likewise.
6434 * gdb.hp/gdb.aCC/run.c: Likewise.
6435 * gdb.reverse/until-reverse.c: Likewise.
6436 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6437
666d413c
YQ
64382014-09-16 Yao Qi <yao@codesourcery.com>
6439
6440 * boards/local-remote-host-native.exp: New file.
6441
57cbd724
DE
64422014-09-14 Doug Evans <xdje42@gmail.com>
6443
6444 * gdb.threads/queue-signal.c (thread_count): New variable.
6445 (thread_count_mutex, thread_count_condvar): New variables.
6446 (incr_thread_count, wait_all_threads_running): New functions.
6447 (main): Wait for all threads to be in their thread functions.
6448
81219e53
DE
64492014-09-13 Doug Evans <xdje42@gmail.com>
6450
6451 * gdb.threads/queue-signal.c: New file.
6452 * gdb.threads/queue-signal.exp: New file.
6453
3714cea7
DE
64542014-09-13 Doug Evans <xdje42@gmail.com>
6455
6456 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6457 be consistent with what default_gdb_init uses.
6458 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6459 the plain text of the prompt. Add some logging printfs.
6460 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6461
fa43b1d7
PA
64622014-09-12 Pedro Alves <palves@redhat.com>
6463
6464 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6465 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6466 * gdb.arch/i386-size-overlap.exp: Likewise.
6467 * gdb.arch/i386-size.exp: Likewise.
6468 * gdb.arch/i386-unwind.exp: Likewise.
6469 * gdb.base/a2-run.exp: Likewise.
6470 * gdb.base/break.exp: Likewise.
6471 * gdb.base/charset.exp: Likewise.
6472 * gdb.base/chng-syms.exp: Likewise.
6473 * gdb.base/commands.exp: Likewise.
6474 * gdb.base/dbx.exp: Likewise.
6475 * gdb.base/find.exp: Likewise.
6476 * gdb.base/funcargs.exp: Likewise.
6477 * gdb.base/jit-simple.exp: Likewise.
6478 * gdb.base/reread.exp: Likewise.
6479 * gdb.base/sepdebug.exp: Likewise.
6480 * gdb.base/step-bt.exp: Likewise.
6481 * gdb.cp/mb-inline.exp: Likewise.
6482 * gdb.cp/mb-templates.exp: Likewise.
6483 * gdb.objc/basicclass.exp: Likewise.
6484 * gdb.threads/killed.exp: Likewise.
6485
9d9bf2df
EBM
64862014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6487
6488 PR tdep/17379
6489 * gdb.arch/powerpc-stackless.S: New file.
6490 * gdb.arch/powerpc-stackless.exp: New file.
6491
1cf2f1b0
JK
64922014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6493
6494 * gdb.base/attach.c: Include unistd.h.
6495 (main): Call alarm. Add label postloop.
6496 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6497 gdb_breakpoint, gdb_continue_to_breakpoint.
6498 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6499
98880d46
PA
65002014-09-11 Pedro Alves <palves@redhat.com>
6501
6502 PR gdb/17347
6503 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6504 * gdb.base/attach.exp (test_command_line_attach_run): New
6505 procedure.
6506 (top level): Call it.
6507
4c92ff2c
PA
65082014-09-11 Pedro Alves <palves@redhat.com>
6509
6510 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6511 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6512 (do_command_attach_tests): Use spawn_wait_for_attach.
6513 * gdb.base/solib-overlap.exp: Likewise.
6514 * gdb.multi/multi-attach.exp: Likewise.
6515 * gdb.python/py-prompt.exp: Likewise.
6516 * gdb.python/py-sync-interp.exp: Likewise.
6517 * gdb.server/ext-attach.exp: Likewise.
6518
3adc1a7d
GKB
65192014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6520
6521 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6522 command in testcase. Simplify testcase.
6523
96334934
JB
65242014-09-10 Joel Brobecker <brobecker@adacore.com>
6525
6526 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6527
eb479039
JB
65282014-09-10 Joel Brobecker <brobecker@adacore.com>
6529
6530 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6531
deede10c
JB
65322014-09-10 Joel Brobecker <brobecker@adacore.com>
6533
6534 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6535
7828a5f5
JB
65362014-09-10 Joel Brobecker <brobecker@adacore.com>
6537
6538 * gdb.dwarf2/dynarr-ptr.c: New file.
6539 * gdb.dwarf2/dynarr-ptr.exp: New file.
6540
33aeebcf
MR
65412014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6542
6543 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6544 of 30 rather than hardcoding 120 for a slow test case. Take the
6545 `gdb,timeout' target setting into account for this calculation.
6546 Don't extend the timeout for the test cases that don't need it.
6547
7b415901
MR
65482014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6549
6550 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6551 a factor of 2 for a slow test case. Take the `gdb,timeout'
6552 target setting into account for this calculation.
6553 * gdb.reverse/until-precsave.exp: Increase the timeout by
6554 a factor of 15 and 3 respectively rather than adding 120
6555 for a pair of slow test cases. Take the `gdb,timeout'
6556 target setting into account for this calculation.
6557
4a40f85a
MR
65582014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6559
6560 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6561 timeout, don't pass one down to gdb_expect.
6562 (gdb_expect): Rework timeout selection.
6563
09635af7
MR
65642014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6565
6566 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6567 exception on timeout.
6568 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6569 (gdbserver_start_extended): Catch any `gdbserver_start' error
6570 exceptions.
6571 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6572 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6573 `gdbserver_gdb_load' error exceptions.
6574
2bdd10b7
MR
65752014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6576
6577 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6578 120 on waiting for the TCP socket to open.
6579
316935f0
DE
65802014-09-09 Doug Evans <xdje42@gmail.com>
6581
6582 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6583 _caller_matches, _any_caller_is, _any_caller_matches.
6584
83740597
DE
65852014-09-09 Doug Evans <xdje42@gmail.com>
6586
6587 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6588
4c122fc3
YQ
65892014-09-09 Yao Qi <yao@codesourcery.com>
6590
6591 * gdb.mi/mi-var-display.exp: Set print symbol off.
6592
a9f116cb
GKB
65932014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6594
6595 PR gdb/17035
6596 * gdb.base/commands.exp: Add tests to verify user-defined
6597 commands with empty bodies.
6598 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6599 python commands in `show user command`.
6600 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6601 scheme commands in `show user command`.
6602
c75bd3a2
JK
66032014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6604
6605 PR python/17355
6606 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6607 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6608 * gdb.python/py-framefilter-invalidarg.exp: New file.
6609 * gdb.python/py-framefilter-invalidarg.py: New file.
6610
faa42425
DE
66112014-09-06 Doug Evans <xdje42@gmail.com>
6612
6613 PR 15276
6614 * gdb.python/py-caller-is.c: New file.
6615 * gdb.python/py-caller-is.exp: New file.
6616
474ca4f6
SDJ
66172014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6618
6619 PR gdb/17235
6620 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6621 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6622
eb0b0463
SDJ
66232014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6624
6625 PR fortran/17237
6626 * gdb.fortran/print-formatted.exp: New file.
6627 * gdb.fortran/print-formatted.f90: Likewise.
6628
5f3b99cf
SS
66292014-09-03 Sasha Smundak <asmundak@google.com>
6630
6631 * gdb.python/py-frame.exp: Test Frame.read_register.
6632
7d793aa9
SDJ
66332014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6634
6635 PR python/16699
6636 * gdb.python/py-completion.exp: New file.
6637 * gdb.python/py-completion.py: Likewise.
6638
fb0576e9
DE
66392014-08-28 Doug Evans <dje@google.com>
6640
6641 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6642 eax,etc. are live with values set by gdb and thus the compiler can't
6643 use them.
6644 * gdb.arch/i386-pseudo.c (main): Ditto.
6645
ee92b0dd
DE
66462014-08-27 Doug Evans <dje@google.com>
6647
6648 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6649
6649db35
DE
66502014-08-25 Doug Evans <dje@google.com>
6651
6652 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6653 (main): Ditto.
6654
564b7600
DE
66552014-08-25 Doug Evans <dje@google.com>
6656
6657 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6658
3881fb67
YQ
66592014-08-24 Yao Qi <yao@codesourcery.com>
6660
6661 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6662 symbol off.
6663 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6664
a05a36a5
DE
66652014-08-22 Doug Evans <dje@google.com>
6666
6667 PR 17276
6668 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6669 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6670 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6671
7c343b48
YQ
66722014-08-22 Yao Qi <yao@codesourcery.com>
6673
6674 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6675 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6676 * gdb.python/python.exp: Likewise. Use .py file on the host
6677 instead of the build.
6678
22fd09ae
JK
66792014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6680
6681 * gdb.threads/gcore-stale-thread.c: New file.
6682 * gdb.threads/gcore-stale-thread.exp: New file.
6683
a8454a7c
PA
66842014-08-21 Pedro Alves <palves@redhat.com>
6685
6686 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6687 * gdb.base/gcore-relro-pie.exp: Likewise.
6688 * gdb.base/gcore-relro.exp: Likewise.
6689 * gdb.base/gcore.exp: Likewise.
6690 * gdb.base/print-symbol-loading.exp: Likewise.
6691 * gdb.threads/gcore-thread.exp: Likewise.
6692 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6693
2a31c623
PA
66942014-08-20 Pedro Alves <palves@redhat.com>
6695 Jan Kratochvil <jan.kratochvil@redhat.com>
6696
6697 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6698 configure.
6699 (EXPECT): Handle READ1 being set.
6700 (all): Depend on EXTRA_RULES.
6701 (check-read1, expect-read1, read1.so, read1): New rules.
6702 * README (Testsuite Parameters): Document the READ1 make variable.
6703 (Race detection): New section.
6704 * configure: Regenerate.
6705 * configure.ac: If build==host==target, and running under a
6706 GNU/glibc system, add read1 to the extra Makefile rules.
6707 (EXTRA_RULES): AC_SUBST it.
6708 * lib/read1.c: New file.
6709
d36430db
JB
67102014-08-20 Joel Brobecker <brobecker@adacore.com>
6711
6712 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6713 the handling of variables declared as a typedef to an array
6714 which a DW_AT_data_location attribute.
6715
9a0dc9e3
PA
67162014-08-19 Andrew Burgess <aburgess@broadcom.com>
6717 Pedro Alves <palves@redhat.com>
6718
6719 PR symtab/14604
6720 PR symtab/14605
6721 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6722 gdb_test.
6723
0718a8da
PA
67242014-08-19 Pedro Alves <palves@redhat.com>
6725
6726 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6727
13b448cd
YQ
67282014-08-19 Yao Qi <yao@codesourcery.com>
6729
6730 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6731 right line.
6732
1cbf5077
DB
67332014-08-18 David Blaikie <dblaikie@gmail.com>
6734
6735 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6736
bf0fae19
JB
67372014-08-18 Joel Brobecker <brobecker@adacore.com>
6738
6739 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6740 attribute in array range.
6741
3c8c5dcc
JB
67422014-08-18 Joel Brobecker <brobecker@adacore.com>
6743
6744 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6745
e66d4446
SC
67462014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6747
6748 PR c++/17132
6749 * gdb.cp/pr17132.cc: New file.
6750 * gdb.cp/pr17132.exp: New file.
6751
940df408
SC
67522014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6753
6754 * gdb.python/py-xmethods.py (A_getarrayind)
6755 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6756 Use 'print' with function call syntax.
6757 (E_method_matcher.match): Fix tab vs space indentation mixup.
6758
ebcc6c3a
YQ
67592014-08-15 Yao Qi <yao@codesourcery.com>
6760
6761 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6762 false.
6763
775e0f04
YQ
67642014-08-15 Yao Qi <yao@codesourcery.com>
6765
6766 * gdb.cp/casts.exp: Set print symbol off.
6767 * gdb.cp/class2.exp: Likewise.
6768 * gdb.cp/overload.exp: Likewise.
6769 * gdb.cp/templates.exp: Likewise.
6770
d769e349
DE
67712014-08-11 Doug Evans <dje@google.com>
6772
6773 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6774 (test_load_shlib): Update.
6775
20c6f1e1
YQ
67762014-08-09 Yao Qi <yao@codesourcery.com>
6777
6778 * gdb.base/display.exp: Invoke is_address_zero_readable.
6779 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6780 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6781 * gdb.base/hbreak-unmapped.exp: Return if
6782 is_address_zero_readable returns true.
6783 * gdb.base/signest.exp: Likewise.
6784 * gdb.base/signull.exp: Likewise.
6785 * gdb.base/sigbpt.exp: Likewise.
6786 * gdb.guile/scm-disasm.exp: Do the test if
6787 is_address_zero_readable returns false.
6788 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6789 * gdb.python/py-arch.exp: Likewise.
6790 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6791 * lib/gdb.exp (is_address_zero_readable): New proc.
6792
5792e8e3
YQ
67932014-08-09 Yao Qi <yao@codesourcery.com>
6794
6795 PR testsuite/13443
6796 * gdb.mi/mi-var-display.exp: Make test messages unique.
6797
3cecbbbe
TT
67982014-08-04 Tom Tromey <tromey@redhat.com>
6799
6800 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6801 target 0".
6802
00b51ff5
TT
68032014-08-04 Tom Tromey <tromey@redhat.com>
6804
6805 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6806 "target_resume".
6807
6908c509
JB
68082014-08-01 Joel Brobecker <brobecker@adacore.com>
6809
6810 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6811 inner_vla_struct_object_size.
6812 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6813 as xfail.
6814
cc6563d2
PA
68152014-07-30 Pedro Alves <palves@redhat.com>
6816
6817 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6818 comment.
6819
7e09a223
YQ
68202014-07-29 Yao Qi <yao@codesourcery.com>
6821
6822 PR gdb/17206
6823 * gdb.base/until-nodebug.exp: New.
6824
7ebdbe92
DE
68252014-07-28 Doug Evans <xdje42@gmail.com>
6826
6827 PR guile/17203
6828 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6829 previously existing parameter, and previously ambiguously spelled
6830 parameter.
6831
fdb1adc6
WN
68322014-07-28 Will Newton <will.newton@linaro.org>
6833
6834 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6835
186fcde0
DE
68362014-07-26 Ludovic Courtès <ludo@gnu.org>
6837 Doug Evans <xdje42@gmail.com>
6838
6839 PR guile/17146
6840 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6841
70509625
PA
68422014-07-25 Pedro Alves <palves@redhat.com>
6843
6844 * gdb.threads/signal-command-handle-nopass.c: New file.
6845 * gdb.threads/signal-command-handle-nopass.exp: New file.
6846 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6847 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6848 * gdb.threads/signal-delivered-right-thread.c: New file.
6849 * gdb.threads/signal-delivered-right-thread.exp: New file.
6850
c3f814a1
PA
68512014-07-25 Pedro Alves <palves@redhat.com>
6852
6853 * gdb.base/double-prompt-target-event-error.exp
6854 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6855 match.
6856 (cancel_pagination_in_target_event): Rework double prompt
6857 detection.
6858 * gdb.base/paginate-after-ctrl-c-running.exp
6859 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6860 <return>' match.
6861 * gdb.base/paginate-bg-execution.exp
6862 (test_bg_execution_pagination_return)
6863 (test_bg_execution_pagination_cancel): Remove '-notransfer
6864 <return>' matches.
6865 * gdb.base/paginate-execution-startup.exp
6866 (test_fg_execution_pagination_return)
6867 (test_fg_execution_pagination_cancel): Remove '-notransfer
6868 <return>' matches.
6869 * gdb.base/paginate-inferior-exit.exp
6870 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6871 match.
6872 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6873 * lib/gdb.exp (pagination_prompt): Run text through
6874 string_to_regexp.
6875 (gdb_test_multiple): Match $pagination_prompt instead of
6876 "<return>".
6877 (string_to_regexp): Move to lib/gdb-utils.exp.
6878
e214cf6c
JK
68792014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6880
6881 * gdb.arch/amd64-entry-value-paramref.S: New file.
6882 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6883 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6884 * gdb.arch/amd64-optimout-repeat.S: New file.
6885 * gdb.arch/amd64-optimout-repeat.c: New file.
6886 * gdb.arch/amd64-optimout-repeat.exp: New file.
6887
17d0c5c8
JK
68882014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6889
6890 PR gdb/17170
6891 * gdb.base/statistics.exp: New file.
6892
b8b8facf
DE
68932014-07-17 Doug Evans <dje@google.com>
6894
74b49205 6895 PR gdb/17170
b8b8facf
DE
6896 * gdb.base/maint.exp: Update testing of per-command stats.
6897
1b5d0ab3
PA
68982014-07-16 Pedro Alves <palves@redhat.com>
6899
6900 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6901 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6902 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6903 (tfile_write_buf): New functions.
6904 (add_memory_block): Rewrite using the above.
6905 (adjust_function_address): New function.
6906 (FUNCTION_ADDRESS): New macro.
6907 (write_basic_trace_file): Remove short_x local, and use
6908 tfile_write_16. Change type of func_addr local to unsigned long
6909 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6910 here. Cast argument of add_memory_block to char pointer.
6911 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6912 (main): Remove parameters.
6913 * gdb.trace/tfile.exp: Remove nowarnings.
6914
4d974e88
SM
69152014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6916
6917 * gdb.base/debug-expr.exp: Test string evaluation with
6918 "debug expression" on.
6919
41e99568
PA
69202014-07-15 Pedro Alves <palves@redhat.com>
6921
6922 * gdb.base/reread.exp: Use clean_restart.
6923
487d9753
PL
69242014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6925
6926 * gdb.arch/avr-flash-qualifer.c: New.
6927 * gdb.arch/avr-flash-qualifer.exp: New.
6928
cc1c52ad
PA
69292014-07-14 Pedro Alves <palves@redhat.com>
6930
6931 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6932 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6933
1e973570
PA
69342014-07-14 Pedro Alves <palves@redhat.com>
6935
6936 * gdb.base/double-prompt-target-event-error.c: New file.
6937 * gdb.base/double-prompt-target-event-error.exp: New file.
6938
93d6eb10
PA
69392014-07-14 Pedro Alves <palves@redhat.com>
6940
6941 PR gdb/17072
6942 * gdb.base/paginate-inferior-exit.c: New file.
6943 * gdb.base/paginate-inferior-exit.exp: New file.
6944
0017922d
PA
69452014-07-14 Pedro Alves <palves@redhat.com>
6946
6947 PR gdb/17072
6948 * gdb.base/paginate-bg-execution.c: New file.
6949 * gdb.base/paginate-bg-execution.exp: New file.
6950
94696ad3
PA
69512014-07-14 Pedro Alves <palves@redhat.com>
6952
6953 PR gdb/17072
6954 * gdb.base/paginate-execution-startup.c: New file.
6955 * gdb.base/paginate-execution-startup.exp: New file.
6956 * lib/gdb.exp (pagination_prompt): New global.
6957 (default_gdb_spawn): New procedure, factored out from
6958 default_gdb_spawn.
6959 (default_gdb_start): Adjust to call default_gdb_spawn.
6960 (gdb_spawn): New procedure.
6961
bd293940
PA
69622014-07-14 Pedro Alves <palves@redhat.com>
6963
6964 * lib/gdb.exp (gdb_assert): New procedure.
6965 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6966
c933f875
PA
69672014-07-14 Pedro Alves <palves@redhat.com>
6968
6969 * gdb.base/execution-termios.c: New file.
6970 * gdb.base/execution-termios.exp: New file.
6971
d98b7a16
TT
69722014-07-14 Tom Tromey <tromey@redhat.com>
6973
6974 * gdb.cp/vla-cxx.cc: New file.
6975 * gdb.cp/vla-cxx.exp: New file.
6976
548740d6
TT
69772014-07-14 Tom Tromey <tromey@redhat.com>
6978
6979 * gdb.reverse/rerun-prec.c: New file.
6980 * gdb.reverse/rerun-prec.exp: New file.
6981
a25eb028
MR
69822014-07-12 Maciej W. Rozycki <macro@mips.com>
6983 Maciej W. Rozycki <macro@codesourcery.com>
6984
6985 * lib/gdb-utils.exp: New file.
6986 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6987 inline `gdb_init_command' processing.
6988 (gdb_start_cmd): Likewise.
6989 * lib/mi-support.exp (mi_run_cmd): Likewise.
6990 * README: Document `gdb_init_command' and `gdb_init_commands'.
6991
218c2655
JK
69922014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6993
6994 Fix false FAIL running under a very long directory name.
6995 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6996 and "set print elements 10000". Twice.
6997
5401fde3
YQ
69982014-07-11 Yao Qi <yao@codesourcery.com>
6999
7000 * gdb.base/exprs.exp: "set print symbol off".
7001
e76126e8
PA
70022014-07-11 Pedro Alves <palves@redhat.com>
7003
7004 * gdb.threads/kill.c: New file.
7005 * gdb.threads/kill.exp: New file.
7006
2d6f0de6
YQ
70072014-07-10 Yao Qi <yao@codesourcery.com>
7008
7009 * gdb.trace/tfile.c (write_basic_trace_file)
7010 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7011 address written to trace file.
7012
7180e04a
PA
70132014-07-09 Pedro Alves <palves@redhat.com>
7014
7015 * gdb.base/attach-wait-input.exp: New file.
7016 * gdb.base/attach-wait-input.c: New file.
7017
9a9a7608
AB
70182014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7019
7020 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7021 setting up test structures.
7022 (main): Call new test function.
7023 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7024 test function, continue into test function and walk test
7025 structures.
7026
161ac41e
YQ
70272014-07-02 Yao Qi <yao@codesourcery.com>
7028
7029 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7030 'bar_start' at the beginning of functions 'foo' and 'bar'
7031 respectively.
7032 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7033 instead of 'foo' and 'bar'.
7034
1f267ae3
MM
70352014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7036
7037 * gdb.btrace/segv.exp: New.
7038 * gdb.btrace/segv.c: New.
7039
2b239efb
LM
70402014-07-02 Luis Machado <lgustavo@codesourcery.com>
7041
7042 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7043 instruction.
7044
cf363f18
MW
70452014-06-30 Mark Wielaard <mjw@redhat.com>
7046
7047 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7048 vulture, vilify, villar): New volatile array constants.
7049 (vindictive, vegetation): New const volatile array constants.
7050 * gdb.base/volatile.exp: Test volatile and const volatile array
7051 types.
7052
aebf9d24
AA
70532014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7054
7055 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7056 target lacks support for awatch, rwatch, or hbreak.
7057
b67a2c6f
YQ
70582014-06-27 Yao Qi <yao@codesourcery.com>
7059
7060 * gdb.multi/dummy-frame-restore.exp: New.
7061 * gdb.multi/dummy-frame-restore.c: New.
7062
aef92902
MM
70632014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7064
7065 * gdb.btrace/gcore.exp: New.
7066
8e9db26e
PA
70672014-06-23 Pedro Alves <palves@redhat.com>
7068
7069 * gdb.base/watchpoint-reuse-slot.c: New file.
7070 * gdb.base/watchpoint-reuse-slot.exp: New file.
7071
70afc5b7
SC
70722014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7073
7074 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7075 progspace's filename in 'info', 'enable' and 'disable' command
7076 tests.
7077
b972bd9c
JK
70782014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7079
7080 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7081 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7082 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7083
125f8a3d
GB
70842014-06-20 Gary Benson <gbenson@redhat.com>
7085
7086 * gdb.arch/i386-avx.exp: Fix include file location.
7087 * gdb.arch/i386-sse.exp: Likewise.
7088
3ed9baed
IB
70892014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7090
7091 * gdb.dlang/expression.exp: New file.
7092
034f788c
PA
70932014-06-19 Pedro Alves <palves@redhat.com>
7094
7095 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7096 out from ...
7097 (top level): ... here. Iterate running tests under different
7098 scheduler-locking settings.
7099
45371d0c
LM
71002014-06-18 Luis Machado <lgustavo@codesourcery.com>
7101
7102 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7103 to DW_FORM_addr and use non-zero addresses.
7104
5d376983
SC
71052014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7106
7107 PR gdb/17017
7108 * gdb.python/py-xmethods.cc: Add global function call counters and
7109 increment them in their respective functions. Remove "cout"
7110 statements.
7111 * gdb.python/py-xmethods.exp: Make tests check the global function
7112 call counters instead of depending on inferior IO.
7113
a1aa2221
LM
71142014-06-18 Don Breazeal <donb@codesourcery.com>
7115
7116 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7117 Deleted procedure.
7118 (explicit_fork_parent_follow): Deleted procedure.
7119 (explicit_fork_child_follow): Deleted procedure.
7120 (test_follow_fork): New procedure.
7121 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 7122 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
7123 procedure calls.
7124
0fc05997
YQ
71252014-06-17 Yao Qi <yao@codesourcery.com>
7126
7127 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7128 CP1252.
7129
70795c52
LM
71302014-06-17 Luis Machado <lgustavo@codesourcery.com>
7131
7132 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7133 Initialize ptr and S explicitly.
7134 (skip_type_update_when_not_use_rtti_test): Likewise.
7135
6be47f0c
KS
71362014-06-16 Keith Seitz <keiths@redhat.com>
7137
7138 PR mi/15863
7139 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7140 the inferior is started.
7141
d03de421
PA
71422014-06-16 Pedro Alves <palves@redhat.com>
7143
7144 * gdb.base/break-main-file-remove-fail.c: New file.
7145 * gdb.base/break-main-file-remove-fail.exp: New file.
7146 * gdb.base/break-unload-file.exp: Use build_executable instead of
7147 prepare_for_testing.
7148 (test_break): New parameter "initial_load". Handle it.
7149 (top level): Add initial_load cmdline/file axis.
7150
f9579b99
TT
71512014-06-12 Tom Tromey <tromey@redhat.com>
7152
7153 * gdb.base/completion.exp: Don't use directory name in test.
7154
3657956b
GB
71552014-06-09 Gary Benson <gbenson@redhat.com>
7156
7157 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7158 separate the always-available ANSI-standard signals from the
7159 signals that require checking.
7160 (main): Likewise.
7161 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7162 Likewise.
7163 (main): Likewise.
7164
4186eb54
KS
71652014-06-07 Keith Seitz <keiths@redhat.com>
7166
7167 Revert:
7168 PR c++/16253
7169 * gdb.cp/var-tag.cc: New file.
7170 * gdb.cp/var-tag.exp: New file.
7171 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7172 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7173 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7174 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7175
25326a28 71762014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
7177
7178 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7179
829155c9
PA
71802014-06-06 Pedro Alves <palves@redhat.com>
7181
7182 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7183 in target debug output instead of looking at RSP packets,
7184 disabling the test on any target that uses hardware stepping.
7185 Update comments.
7186
61c8d22e
PA
71872014-06-06 Pedro Alves <palves@redhat.com>
7188
7189 * gdb.base/break-unload-file.exp: Fix typo.
7190
d9a47287
YQ
71912014-06-06 Yao Qi <yao@codesourcery.com>
7192
7193 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7194 from "jit_function" to "^jit_function".
7195
e5e01dbf
YQ
71962014-06-06 Yao Qi <yao@codesourcery.com>
7197
7198 * gdb.base/async.c (foo): Add one statement.
7199 * gdb.base/async.exp: Get the next instruction address and
7200 match the output of "nexti" by instruction address. Match
7201 the hex address in the output of "finish".
7202
73ba372c
GB
72032014-06-06 Gary Benson <gbenson@redhat.com>
7204
7205 * gdb.base/call-signals.c: Remove preprocessor conditionals
7206 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7207 SIGSEGV and SIGTERM.
7208 * gdb.base/sigall.c: Likewise.
7209 * gdb.base/unwindonsignal.c: Likewise.
7210 * gdb.reverse/sigall-reverse.c: Likewise.
7211
831517df
YQ
72122014-06-06 Yao Qi <yao@codesourcery.com>
7213
7214 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7215 readable, skip the test.
7216
b8b91e98
YQ
72172014-06-06 Yao Qi <yao@codesourcery.com>
7218
7219 * gdb.threads/staticthreads.c (thread_function): Move the line
7220 setting breakpoint on forward.
7221 * gdb.threads/staticthreads.exp: Update comments.
7222
fb934770
LC
72232014-06-05 Ludovic Courtès <ludo@gnu.org>
7224
7225 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7226 "history-append! type error".
7227
6ef284bd
SM
72282014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7229
7230 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7231 erroneous dprintf expected input.
7232
a872e241
DE
72332014-06-04 Doug Evans <xdje42@gmail.com>
7234
7235 * gdb.guile/scm-generics.exp: Delete.
7236
16f691fb
DE
72372014-06-04 Doug Evans <xdje42@gmail.com>
7238
7239 * gdb.guile/scm-breakpoint.exp: Update.
7240 Add tests for breakpoint registration.
7241
012370f6
TT
72422014-06-04 Tom Tromey <tromey@redhat.com>
7243
7244 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7245 VLA-in-union.
7246 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7247 inner_vla_struct, vla_union types. Initialize objects of those
7248 types and compute their sizes.
7249
9f5a4cef
HZ
72502014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7251 Hui Zhu <hui@codesourcery.com>
7252
7253 * gdb.base/fileio.exp: Add test for shell not available as well as
7254 available.
7255 * gdb.base/fileio.c (test_system): Check for shell twice.
7256
90a45c4d
YQ
72572014-06-04 Yao Qi <yao@codesourcery.com>
7258
7259 * gdb.base/auto-connect-native-target.exp: Remove redundant
7260 space from the regexp pattern.
7261
70017e41
YQ
72622014-06-04 Yao Qi <yao@codesourcery.com>
7263
7264 * gdb.base/default.exp: Replace "child" with "native" in
7265 regexp pattern.
7266
883964a7
SC
72672014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7268
7269 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7270 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7271 * gdb.python/py-xmethods.py: Python script supporting the
7272 new testcase and tests.
7273
ef370185
JB
72742014-06-03 Joel Brobecker <brobecker@adacore.com>
7275 Pedro Alves <palves@redhat.com>
7276
7277 PR breakpoints/17000
7278 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7279 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7280
1e2ccb61
BM
72812014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7282
7283 * gdb.base/subst.exp: Add tests to verify partial path matching
7284 output.
7285
c6ec5ab2
PA
72862014-06-03 Pedro Alves <palves@redhat.com>
7287
7288 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7289 target that doesn't use software single-stepping.
7290
835c559f
PA
72912014-06-03 Pedro Alves <palves@redhat.com>
7292
7293 PR breakpoints/17000
7294 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7295 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7296
06eb1586
DE
72972014-06-02 Doug Evans <xdje42@gmail.com>
7298
7299 * gdb.guile/scm-parameter.exp: New file.
7300
e698b8c4
DE
73012014-06-02 Doug Evans <xdje42@gmail.com>
7302
7303 * gdb.guile/scm-cmd.c: New file.
7304 * gdb.guile/scm-cmd.exp: New file.
7305
ded03782
DE
73062014-06-02 Doug Evans <xdje42@gmail.com>
7307
7308 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7309 pretty-printer lookup.
7310 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7311 (make-pp_s-printer): Call it.
7312 (make-pretty-printer-from-dict): New function.
7313 (lookup-pretty-printer-maker-from-dict): New function.
7314 (*pretty-printer*): Simplify.
7315 (make-objfile-pp_s-printer): New function.
7316 (install-objfile-pretty-printers!): New function.
7317 (make-progspace-pp_s-printer): New function.
7318 (install-progspace-pretty-printers!): New function.
7319 * gdb.guile/scm-progspace.c: New file.
7320 * gdb.guile/scm-progspace.exp: New file.
7321
41fac0cf
PA
73222014-06-02 Pedro Alves <palves@redhat.com>
7323
7324 * gdb.base/dprintf-bp-same-addr.c: New file.
7325 * gdb.base/dprintf-bp-same-addr.exp: New file.
7326
96ae5695
EBM
73272014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7328
7329 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7330 * gdb.arch/powerpc-power.s: Likewise.
7331
da02b3a8
JB
73322014-06-02 Joel Brobecker <brobecker@adacore.com>
7333
7334 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7335
c72b2e7b
YQ
73362014-06-01 Yao Qi <yao@codesourcery.com>
7337
7338 * gdb.base/watchpoint.exp (test_watch_location): Check null
7339 pointer can be dereferenced. If not, do the test, otherwise
7340 skip it.
7341
53e8a631
AB
73422014-05-30 Andrew Burgess <aburgess@broadcom.com>
7343
7344 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7345 results.
7346 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7347
938f0e2f
AB
73482014-05-30 Andrew Burgess <aburgess@broadcom.com>
7349
7350 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7351 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7352 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7353 * gdb.arch/amd64-invalid-stack-top.c: New file.
7354 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7355
9ba6657a
PA
73562014-05-30 Pedro Alves <palves@redhat.com>
7357
7358 PR breakpoints/17000
7359 * gdb.base/sss-bp-on-user-bp.c: New file.
7360 * gdb.base/sss-bp-on-user-bp.exp: New file.
7361
522c09bf
DB
73622014-05-30 David Blaikie <dblaikie@gmail.com>
7363
7364 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7365 gnu_inline semantics via attribute.
7366 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7367 source explicitly specifies the required semantics.
7368
bf4ef81e
MR
73692014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7370
7371 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7372
329ea579
PA
73732014-05-29 Pedro Alves <palves@redhat.com>
7374 Tom Tromey <tromey@redhat.com>
7375
7376 * gdb.base/async-shell.exp: Don't enable target-async.
7377 * gdb.base/async.exp
7378 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7379 parameter. Adjust.
7380 (top level): Don't test with "target-async".
7381 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7382 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7383 * gdb.base/inferior-died.exp: Don't enable target-async.
7384 * gdb.base/interrupt-noterm.exp: Likewise.
7385 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7386 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7387 * gdb.mi/mi-nonstop.exp: Likewise.
7388 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7389 * gdb.mi/mi-nsintrall.exp: Likewise.
7390 * gdb.mi/mi-nsmoribund.exp: Likewise.
7391 * gdb.mi/mi-nsthrexec.exp: Likewise.
7392 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7393 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7394 * gdb.python/py-evsignal.exp: Don't enable target-async.
7395 * gdb.python/py-evthreads.exp: Likewise.
7396 * gdb.python/py-prompt.exp: Likewise.
7397 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7398 * gdb.server/solib-list.exp: Don't enable target-async.
7399 * gdb.threads/thread-specific-bp.exp: Likewise.
7400 * lib/mi-support.exp: Adjust to use mi-async.
7401
fd664c91
PA
74022014-05-29 Pedro Alves <palves@redhat.com>
7403
7404 PR gdb/13860
7405 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7406 reason, even in sync mode.
7407
251bde03
PA
74082014-05-29 Pedro Alves <palves@redhat.com>
7409 Hui Zhu <hui@codesourcery.com>
7410
7411 PR PR15693
7412 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7413 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7414 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7415 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7416
7f3c0343
JB
74172014-05-28 Joel Brobecker <brobecker@adacore.com>
7418
7419 * config/monitor.exp (gdb_target_monitor): Replace use of
7420 "set remotebaud" by "set serial baud".
7421
b2715b27
AW
74222014-05-26 Andy Wingo <wingo@igalia.com>
7423
7424 * gdb.guile/scm-breakpoint.exp:
7425 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7426 properties instead of gdb-object-properties.
7427
498a4489
YQ
74282014-05-26 Yao Qi <yao@codesourcery.com>
7429
7430 * gdb.server/no-thread-db.exp: Specify source file name
7431 explicitly when setting a breakpoint.
7432
589fdceb
MM
74332014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7434
7435 * gdb.btrace/vdso.c: New.
7436 * gdb.btrace/vdso.exp: New.
7437
e9089e05
MM
74382014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7439
7440 * gdb.base/gcore.exp (capture_command_output): Move ...
7441 * lib/gdb.exp (capture_command_output): ... here.
7442
67b5c0c1
MM
74432014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7444
7445 * gdb.btrace/data.exp: Test memory access during btrace replay.
7446
a2199296
SM
74472014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7448
7449 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7450
17b2616c
PA
74512014-05-21 Pedro Alves <palves@redhat.com>
7452
7453 PR gdb/13860
7454 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7455 (top level): Test that output related to execution commands is
7456 sent to the console with CLI commands, but not with MI commands.
7457 Test that breakpoint events are always mirrored to the console.
7458 Also expect the new source line to be output after a "next" in
7459 async mode too. Make it a pass/fail test.
7460 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7461 output.
7462 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7463
5166082f
PA
74642014-05-21 Pedro Alves <palves@redhat.com>
7465
7466 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7467 Use them to test variations of "list" after reaching a breakpoint.
7468 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7469 Test "list" with listsize 10 after reaching a breakpoint.
7470 * gdb.python/python.exp (decode_line current location line
7471 number): Adjust expected line number.
7472
2f25d70f
SM
74732014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7474
7475 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7476 behavior for $args, pass it directly to "run".
7477
ff604a67
MR
74782014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7479
7480 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7481 30000 to 65536.
7482
6a3cb8e8
PA
74832014-05-21 Pedro Alves <palves@redhat.com>
7484
7485 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7486 auto-connect-native-target off".
7487 * gdb.base/auto-connect-native-target.c: New file.
7488 * gdb.base/auto-connect-native-target.exp: New file.
7489
4ebfc96e
PA
74902014-05-21 Pedro Alves <palves@redhat.com>
7491
7492 * gdb.base/default.exp: Test "target native" instead of "target
7493 child".
7494
36d46afb
MW
74952014-05-21 Mark Wielaard <mjw@redhat.com>
7496
7497 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7498
5876f503
JK
74992014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7500
7501 Fix TLS access for -static -pthread.
7502 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7503 <HAVE_TLS> (thread_function, main): Initialize it.
7504 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7505 Add clean_restart.
7506 <$have_tls != "">: Check TLSVAR.
7507
0256a6ac
PA
75082014-05-21 Pedro Alves <palves@redhat.com>
7509
7510 * gdb.base/dcache-line-read-error.c: New.
7511 * gdb.base/dcache-line-read-error.exp: New.
7512
936d2992
PA
75132014-05-20 Pedro Alves <palves@redhat.com>
7514
7515 * gdb.base/compare-sections.c: New file.
7516 * gdb.base/compare-sections.exp: New file.
7517
802e8e6d
PA
75182014-05-20 Pedro Alves <palves@redhat.com>
7519
7520 * gdb.base/break-idempotent.c: New file.
7521 * gdb.base/break-idempotent.exp: New file.
7522
e59fa00f
MM
75232014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7524
7525 * gdb.btrace/nohist.exp: New.
7526
8b696e31
YQ
75272014-05-20 Yao Qi <yao@codesourcery.com>
7528
7529 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7530 gdb.reverse directory and gdb_reverse_timeout exists in board
7531 setting.
7532 * README: Document gdb_reverse_timeout.
7533
73c9764f
YQ
75342014-05-20 Yao Qi <yao@codesourcery.com>
7535
7536 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7537 'test_file_name'. Treat args as a string instead of a list.
7538 (gdb_init): Rename argument 'args' by 'test_file_name'.
7539
f1f4348a
JK
75402014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7541
7542 * gdb.arch/powerpc-power.exp: New file.
7543 * gdb.arch/powerpc-power.s: New file.
7544
0dbe70ce
DE
75452014-05-16 Doug Evans <dje@google.com>
7546
7547 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
7548 * gdb.base/completion.exp: Check that all expected files exist
7549 before doing file completion.
0dbe70ce 7550
8d551b02
DE
75512014-05-16 Doug Evans <dje@google.com>
7552
7553 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7554 Update.
7555 (do_syscall_tests_without_xml): Update.
7556
73eb7709
PA
75572014-05-16 Pedro Alves <palves@redhat.com>
7558
7559 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7560 instead of "unknown output after running".
7561
3fae92fc
YQ
75622014-05-16 Yao Qi <yao@codesourcery.com>
7563
7564 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7565 file1.txt from host at the end.
7566 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7567
c2b2ccc5
DE
75682014-05-15 Doug Evans <dje@google.com>
7569
7570 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7571 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7572 loading file. Add test for TU lookup.
7573
8c217a4b
SM
75742014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7575
7576 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7577 calling "-exec-arguments" or "set args" before running the
7578 inferior.
7579
3deb39c6
SM
75802014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7581
7582 * lib/mi-support.exp (mi_expect_stop): Expect message for
7583 inferiors that exit with non-zero exit code.
7584
71a79f8c
YQ
75852014-05-14 Yao Qi <yao@codesourcery.com>
7586
7587 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7588 match absolute path on remote host.
7589 (test_file_list_exec_source_files): Remove "/" from the
7590 pattern.
7591
f23fcd46
YQ
75922014-05-14 Yao Qi <yao@codesourcery.com>
7593
7594 * boards/local-remote-host-notty.exp (${board}_file): New
7595 proc.
7596
9404b58f
KM
75972014-05-07 Kyle McMartin <kyle@redhat.com>
7598
7599 Pushed by Joel Brobecker <brobecker@adacore.com>.
7600 * gdb.arch/aarch64-atomic-inst.c: New file.
7601 * gdb.arch/aarch64-atomic-inst.exp: New file.
7602
5e45f04c
YQ
76032014-05-07 Yao Qi <yao@codesourcery.com>
7604
7605 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7606 in current context" too.
7607
c888a17d
KS
76082014-05-05 Keith Seitz <keiths@redhat.com>
7609
7610 * gdb.linespec/ls-dollar.exp: Add test for linespec
7611 file:convenience_variable.
7612
290a839c
YQ
76132014-05-05 Yao Qi <yao@codesourcery.com>
7614
7615 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7616 traceframes into tfile and ctf trace files. Read data from
7617 trace file and test collected data.
7618 (gdb_collect_locals_test): Likewise.
7619 (gdb_unavailable_registers_test): Likewise.
7620 (gdb_unavailable_floats): Likewise.
7621 (gdb_collect_globals_test): Likewise.
7622 (top-level): Append "ctf" to trace_file_targets if GDB
7623 supports.
7624
b5262cd0
YQ
76252014-05-05 Yao Qi <yao@codesourcery.com>
7626
7627 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7628 code to ...
7629 (gdb_collect_args_test_1): ... it. New proc.
7630 (gdb_collect_locals_test): Move some code to ...
7631 (gdb_collect_locals_test_1): ... it. New proc.
7632 (gdb_unavailable_registers_test): Move some code to ...
7633 (gdb_unavailable_registers_test_1): ... it. New proc.
7634 (gdb_unavailable_floats): Move some code to ...
7635 (gdb_unavailable_floats_1): ... it. New proc.
7636
30a1e6cc
SDJ
76372014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7638
7639 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7640 probes to test for bitness recognition.
7641 * gdb.arch/amd64-stap-optional-prefix.exp
7642 (test_probe_value_without_reg): New procedure.
7643 Add code to test for different kinds of bitness.
7644
f33da99a
SDJ
76452014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7646
7647 PR breakpoints/16889
7648 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7649 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7650
5b80f00d
PA
76512014-05-01 Pedro Alves <palves@redhat.com>
7652
7653 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7654 gdb_file_cmd if no file is specified.
7655 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7656 last_loaded_file to set the remote exec-file.
7657
f8c2a73c
PA
76582014-05-01 Pedro Alves <palves@redhat.com>
7659
7660 * boards/local-remote-host.exp: New file.
7661
be6e8ac7
PA
76622014-05-01 Pedro Alves <palves@redhat.com>
7663
7664 * boards/local-remote-host.exp: Rename to ...
7665 * boards/local-remote-host-notty.exp: ... this.
7666
cac0dc8f
JB
76672014-04-28 Joel Brobecker <brobecker@adacore.com>
7668
7669 * gdb.ada/dyn_arrayidx: New testcase.
7670
9730e6cc
YQ
76712014-04-26 Yao Qi <yao@codesourcery.com>
7672
7673 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7674 and compute the length of function main. Save it in
7675 $main_length.
7676 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7677 (top-level): Use gdb_compile to compile objects into
7678 executable and restart GDB. Remove invocation to
7679 prepare_for_testing.
7680
7ae1a6a6
PA
76812014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7682 Pedro Alves <palves@redhat.com>
7683
7684 PR server/16255
7685 * gdb.multi/multi-attach.c: New file.
7686 * gdb.multi/multi-attach.exp: New file.
7687
4082afcc
PA
76882014-04-25 Pedro Alves <palves@redhat.com>
7689
7690 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7691 user.
7692 (top level): Test that "set remote conditional-breakpoints-packet
7693 off" works as intended.
7694 * gdb.base/dprintf.exp: Test that "set remote
7695 breakpoint-commands-packet off" works as intended.
7696 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7697 New function.
7698 (top level): Call it.
7699 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7700 remote fast-tracepoints-packet off" works as intended.
7701 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7702 * lib/gdb.exp (gdb_is_target_remote): ... here.
7703
2abc3f8d
DB
77042014-04-24 David Blaikie <dblaikie@gmail.com>
7705
7706 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7707 ensure clang would not discard them.
7708 * gdb.base/gdbvars.c: Ditto.
7709 * gdb.base/memattr.c: Ditto.
7710 * gdb.base/whatis.c: Ditto.
7711 * gdb.python/py-prettyprint.c: Ditto.
7712 * gdb.trace/actions.c: Ditto.
7713 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7714 ensure clang would not discard it.
7715
bfd39632
DB
77162014-04-24 David Blaikie <dblaikie@gmail.com>
7717
7718 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7719 clang to emit the full definition of type required by the test
7720 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7721
22842ff6
DB
77222014-04-24 David Blaikie <dblaikie@gmail.com>
7723
7724 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7725 coax Clang into emitting the definition of the type.
7726 * gdb.cp/pr10728-x.h (y): Ditto.
7727 * gdb.cp/pr10728-y.cc (y): Ditto.
7728
c2e827ad
DB
77292014-04-24 David Blaikie <dblaikie@gmail.com>
7730
7731 * gdb.base/label.exp: XFAIL label related tests under Clang.
7732 * gdb.cp/cplabel.exp: Ditto.
7733 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7734 under Clang those using labels.
7735
4c2d33e7
YQ
77362014-04-25 Yao Qi <yao@codesourcery.com>
7737
7738 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7739 double_label.
7740 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7741 partial_label and double_label.
7742
56083b99
DB
77432014-04-24 David Blaikie <dblaikie@gmail.com>
7744
7745 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7746
25d4e99d
DB
77472014-04-24 David Blaikie <dblaikie@gmail.com>
7748
7749 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7750 of the function to work across GCC and Clang.
7751 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7752 pointer types (const void ** const V void **).
7753
01f9f808
MS
77542014-04-24 Michael Sturm <michael.sturm@mintel.com>
7755 Walfred Tedeschi <walfred.tedeschi@intel.com>
7756
7757 * Makefile.in (EXECUTABLES): Added i386-avx512.
7758 * gdb.arch/i386-avx512.c: New file.
7759 * gdb.arch/i386-avx512.exp: Likewise.
7760
4b48d439
KS
77612014-04-23 Keith Seitz <keiths@redhat.com>
7762
7763 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7764 (mi_make_breakpoint_table): New procedure.
7765 (mi_create_breakpoint): Use mi_make_breakpoint
7766 and return the result.
7767 (mi_make_breakpoint): New procedure.
7768 (mi_build_kv_pairs): New procedure.
7769
7770 * gdb.mi/mi-break.exp: Remove unused globals,
7771 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7772 All callers updated.
7773 * gdb.mi/mi-dprintf.exp: Use variable to track command
7774 number.
7775 Update all callers of mi_create_breakpoint and use
7776 mi_make_breakpoint_table.
7777 Remove any unused global variables.
7778 * gdb.mi/mi-nonstop.exp: Likewise.
7779 * gdb.mi/mi-nsintrall.exp: Likewise.
7780 * gdb.mi/mi-nsmoribund.exp: Likewise.
7781 * gdb.mi/mi-nsthrexec.exp: Likewise.
7782 * gdb.mi/mi-reverse.exp: Likewise.
7783 * gdb.mi/mi-simplerun.exp: Likewise.
7784 * gdb.mi/mi-stepn.exp: Likewise.
7785 * gdb.mi/mi-syn-frame.exp: Likewise.
7786 * gdb.mi/mi-until.exp: Likewise.
7787 * gdb.mi/mi-var-cp.exp: Likewise.
7788 * gdb.mi/mi-var-display.exp: Likewise.
7789 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7790 * gdb.mi/mi2-var-child.exp: Likewise.
7791 * gdb.mi/mi-vla-c99.exp: Likewise.
7792 * lib/mi-support.exp: Likewise.
7793
7794 From Ian Lance Taylor <iant@cygnus.com>:
7795 * lib/gdb.exp (parse_args): New procedure.
7796
08351840
PA
77972014-04-23 Pedro Alves <palves@redhat.com>
7798
7799 * gdb.base/break-unload-file.c: New file.
7800 * gdb.base/break-unload-file.exp: New file.
7801 * gdb.base/sym-file-lib.c (baz): New function.
7802 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7803 field.
7804 (load): Store the segment's mapped size.
7805 (unload): New function.
7806 (unload_shlib): New function.
7807 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7808 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7809 set a breakpoint at baz, and call it.
7810 * gdb.base/sym-file.exp: New tests for stale breakpoint
7811 instructions.
7812
076855f9
PA
78132014-04-23 Pedro Alves <palves@redhat.com>
7814
7815 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7816 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7817 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7818 * gdb.base/hbreak-unmapped.c: New file.
7819 * gdb.base/hbreak-unmapped.exp: New file.
7820 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7821 * lib/gdb.exp (gdb_is_target_remote): ... here.
7822
483805cf
PA
78232014-04-22 Pedro Alves <palves@redhat.com>
7824
7825 * gdb.base/consecutive-step-over.c: New file.
7826 * gdb.base/consecutive-step-over.exp: New file.
7827
06d97543
PA
78282014-04-22 Pedro Alves <palves@redhat.com>
7829
7830 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7831 instead of send_gdb/gdb_expect.
7832
b4429ea2
YQ
78332014-04-22 Yao Qi <yao@codesourcery.com>
7834
7835 * lib/trace-support.exp (generate_tracefile): New procedure.
7836 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7837 return 0.
7838 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7839 if generate_tracefile returns 1.
7840
51d48146
PA
78412014-04-18 Tom Tromey <palves@redhat.com>
7842 Pedro alves <tromey@redhat.com>
7843
7844 PR backtrace/15558
7845 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7846 with a backtrace limit.
7847 * gdb.python/py-frame-inline.exp: Test running to an inline
7848 function with a backtrace limit, and printing the newest frame.
7849 * gdb.python/py-frame-inline.c (main): Call f.
7850
bd1dce5f
MS
78512014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7852
7853 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7854
40d1a503
MS
78552014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7856
7857 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7858 Drop prefix from unsupported source file path.
7859
389b98f7
YQ
78602014-04-17 Yao Qi <yao@codesourcery.com>
7861
7862 * lib/gdb.exp (with_target_charset): New proc.
7863 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7864 with_target_charset.
7865 (test_print_strings): Likewise.
7866 (test_repeat_bytes): Likewise.
7867 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7868 for some tests.
7869
22869d73
KS
78702014-04-16 Keith Seitz <keiths@redhat.com>
7871
7872 PR gdb/15827
7873 * gdb.dwarf2/corrupt.c: New file.
7874 * gdb.dwarf2/corrupt.exp: New file.
7875
c4f87ca6
KS
78762014-04-16 Keith Seitz <keiths@redhat.com>
7877
7878 PR c++/16597
7879 * gdb.cp/namelessclass.cc: New file.
7880 * gdb.cp/namelessclass.exp: New file.
7881 * gdb.cp/namelessclass.S: New file.
7882
ab19de87
DE
78832014-04-16 Doug Evans <dje@google.com>
7884
7885 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7886 Add comment.
7887 (gdbserver_default_get_comm_port): New function.
7888 (gdbserver_start): Check if board file provided
7889 "gdbserver,get_comm_port" and use it if so.
7890 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7891 (gdb,socketport): Set to "stdio".
7892 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7893 (stdio_gdbserver_template): Delete.
7894 (${board}_get_remote_address): Update.
7895 (${board}_build_remote_cmd): Delete.
7896 (${board}_get_comm_port): New function.
7897 (${board}_spawn): Update.
7898 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7899 Delete.
7900 (${board}_get_remote_address): Update.
7901 (${board}_get_comm_port): New function.
7902
fc98a809
AB
79032014-04-16 Andrew Burgess <aburgess@broadcom.com>
7904
7905 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7906 appearing in any order.
7907
87fd9e6e
DE
79082014-04-15 Doug Evans <dje@google.com>
7909
7910 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7911 uninitialized value of "description".
7912
099fc3ea
KS
79132014-04-15 Keith Seitz <keiths@redhat.com>
7914
7915 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7916 Remove unused globals.
7917 (test_running_the_program): Likewise.
7918 (test_controlled_execution): Likewise.
7919 (test_controlling_breakpoints): Likewise.
7920 (test_program_termination): Likewise.
7921
5da151d4
KS
79222014-04-15 Keith Seitz <keiths@redhat.com>
7923
7924 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7925 unused globals.
7926 (test_rbreak_creation_and_listing): Likewise.
7927 (test_ignore_count): Likewise.
7928 (test_error): Likewise.
7929
35e5d2f0
PA
79302014-04-15 Pedro Alves <palves@redhat.com>
7931
7932 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7933 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7934 sym-file-loader.c.
7935 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7936 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7937 to sym-file-loader.c.
7938 (struct library): Forward declare.
7939 (load_shlib, lookup_function): Change prototypes.
7940 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7941 (translate_offset): Remove declarations.
7942 (get_text_addr): New declaration.
7943 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7944 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7945 sym-file-loader.h.
7946 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7947 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7948 here from sym-file-loader.h.
7949 (struct library): New structure.
7950 (load_shlib, lookup_function): Change prototypes and adjust to
7951 work with a struct library.
7952 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7953 (translate_offset): Make static.
7954 (get_text_addr): New function.
7955 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7956
eb4c1710
PA
79572014-04-15 Pedro Alves <palves@redhat.com>
7958
7959 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7960
2d1baf52
PA
79612014-04-15 Pedro Alves <palves@redhat.com>
7962
7963 * gdb.base/sym-file-loader.c: Include <limits.h>.
7964 (SELF_LINK): New define.
7965 (get_origin): New function.
7966 (load_shlib): Use it.
7967 * gdb.base/sym-file.exp: Don't early return if the target is
7968 remote. Use runto_main, and issue fail is that fails. Use
7969 gdb_load_shlibs.
7970 (shlib_name): Delete.
7971 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7972
7dd6df01
PA
79732014-04-15 Pedro Alves <palves@redhat.com>
7974
7975 * gdb.base/sym-file.exp: Remove regex characters from test
7976 message. Don't refer to breakpoint numbers in test messages.
7977
b50c8614
KS
79782014-04-14 Keith Seitz <keiths@redhat.com>
7979
7980 PR c++/16253
7981 * gdb.cp/var-tag.cc: New file.
7982 * gdb.cp/var-tag.exp: New file.
7983 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7984 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7985 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7986 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7987
3d567982
TT
79882014-04-14 Tom Tromey <tromey@redhat.com>
7989
7990 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7991 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7992 type.
7993 * gdb.cp/enum-class.exp: New file.
7994 * gdb.cp/enum-class.cc: New file.
7995
0626fc76
TT
79962014-04-14 Tom Tromey <tromey@redhat.com>
7997
7998 * gdb.dwarf2/enum-type.exp: New file.
7999
dca325b3
SA
80002014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8001
8002 * gdb.mi/mi-vla-c99.exp: New file.
8003 * gdb.mi/vla.c: New file.
8004
5854b38a
SA
80052014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8006
8007 * gdb.base/vla-datatypes.c: New file.
8008 * gdb.base/vla-datatypes.exp: New file.
8009
463bb957
SA
80102014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8011
8012 * gdb.base/vla-ptr.c: New file.
8013 * gdb.base/vla-ptr.exp: New file.
8014
3dd170be
SA
80152014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8016
8017 * gdb.dwarf2/count.exp: New file.
8018
5ecaaa66
SA
80192014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8020
8021 * gdb.base/vla-sideeffect.c: New file.
8022 * gdb.base/vla-sideeffect.exp: New file.
8023
41f1ada5
DB
80242014-04-14 David Blaikie <dblaikie@gmail.com>
8025
8026 * gdb.mi/non-stop.c: Add return value for non-void function return
8027 statement.
8028 * gdb.threads/staticthreads.c: Ditto.
8029
0be03e84
DE
80302014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8031 Doug Evans <xdje42@gmail.com>
8032
8033 * gdb.guile/scm-value.c: Improve test case.
8034 * gdb.guile/scm-value.exp: Add new test.
8035
f180a1fb
DB
80362014-04-11 David Blaikie <dblaikie@gmail.com>
8037
8038 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8039 override Clang's default.
8040
6b662e19
JB
80412014-04-11 Joel Brobecker <brobecker@adacore.com>
8042
8043 Revert the following changes (regressions):
8044
8045 * gdb.base/vla-sideeffect.c: New file.
8046 * gdb.base/vla-sideeffect.exp: New file.
8047
8048 * gdb.dwarf2/count.exp: New file.
8049
8050 * gdb.base/vla-multi.c: New file.
8051 * gdb.base/vla-multi.exp: New file.
8052
8053 * gdb.base/vla-ptr.c: New file.
8054 * gdb.base/vla-ptr.exp: New file.
8055
8056 * gdb.base/vla-datatypes.c: New file.
8057 * gdb.base/vla-datatypes.exp: New file.
8058
8059 * gdb.mi/mi-vla-c99.exp: New file.
8060 * gdb.mi/vla.c: New file.
8061
245a5f0b
KS
80622014-04-11 Keith Seitz <keiths@redhat.com>
8063
8064 PR c++/16675
8065 * gdb.cp/cpsizeof.exp: New file.
8066 * gdb.cp/cpsizeof.cc: New file.
8067
58a84dcf
SA
80682014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8069
191a8a90
JB
8070 * gdb.mi/mi-vla-c99.exp: New file.
8071 * gdb.mi/vla.c: New file.
58a84dcf 8072
c8655f75
SA
80732014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8074
8075 * gdb.base/vla-datatypes.c: New file.
8076 * gdb.base/vla-datatypes.exp: New file.
8077
024e13b4
SA
80782014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8079
8080 * gdb.base/vla-ptr.c: New file.
8081 * gdb.base/vla-ptr.exp: New file.
8082
1a237e0e
SA
80832014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8084
8085 * gdb.base/vla-multi.c: New file.
8086 * gdb.base/vla-multi.exp: New file.
8087
504f3432
SA
80882014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8089
8090 * gdb.dwarf2/count.exp: New file.
8091
3bce8237
SA
80922014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8093
191a8a90
JB
8094 * gdb.base/vla-sideeffect.c: New file.
8095 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 8096
322f9c21
YQ
80972014-04-11 Yao Qi <yao@codesourcery.com>
8098
8099 * gdb.base/completion.exp: Check file exists before running tests
8100 on file completion.
8101
d708bcd1
PA
81022014-04-10 Pedro Alves <palves@redhat.com>
8103
8104 * gdb.base/cond-eval-mode.c: New file.
8105 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8106 prepare_for_testing to build the new file. Check result of
8107 runto_main.
8108 (test_break, test_watch): New procedures.
8109 (top level): Use them.
8110
ae1d2761
PM
81112014-04-08 Pierre Muller <muller@sourceware.org>
8112
8113 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8114 Ctrl-V use for mingw hosts.
8115
7af389b8
SC
81162014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8117
8118 * gdb.python/py-value.c: Improve test case.
8119 * gdb.python/py-value.exp: Add new test.
8120
5e703181
DE
81212014-04-07 David Blaikie <dblaikie@gmail.com>
8122
8123 * lib/compiler.c: Identify the clang compiler.
8124 * lib/compiler.cc: Ditto.
8125
9810b410
YQ
81262014-04-03 Yao Qi <yao@codesourcery.com>
8127
8128 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8129
98d1b8dc
AB
81302014-04-01 Anton Blanchard <anton@samba.org>
8131
8132 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8133 messages unique.
8134
3114cea1
AB
81352014-04-01 Anton Blanchard <anton@samba.org>
8136
8137 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8138 prepare_for_testing.
8139
62f7182c
AB
81402014-04-01 Anton Blanchard <anton@samba.org>
8141
8142 * gdb.arch/ppc64-atomic-inst.c: Remove.
8143 * gdb.arch/ppc64-atomic-inst.S: New file.
8144 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8145
770e7fc7
DE
81462014-03-31 Doug Evans <dje@google.com>
8147
8148 * gdb.base/print-symbol-loading-lib.c: New file.
8149 * gdb.base/print-symbol-loading-main.c: New file.
8150 * gdb.base/print-symbol-loading.exp: New file.
8151
46e2bafa
YQ
81522014-03-31 Yao Qi <yao@codesourcery.com>
8153
8154 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8155
8776cfe9
JB
81562014-03-28 Joel Brobecker <brobecker@adacore.com>
8157
8158 * gdb.ada/mi_dyn_arr: New testcase.
8159
5d1ef361
DE
81602014-03-27 Doug Evans <dje@google.com>
8161
8162 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8163
b5bee914
YQ
81642014-03-27 Yao Qi <yao@codesourcery.com>
8165
8166 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8167 if target is nios2-*-*.
8168
0d4d0e77
YQ
81692014-03-26 Yao Qi <yao@codesourcery.com>
8170
8171 * lib/gdb.exp (readline_is_used): New proc.
8172 * gdb.base/completion.exp: Move tests on command complete up.
8173 Skip the rest of tests if readline is not used.
8174 * gdb.ada/complete.exp: Skp the test if readline is not
8175 used.
8176 * gdb.base/filesym.exp: Likewise.
8177 * gdb.base/macscp.exp: Likewise.
8178 * gdb.base/readline-ask.exp: Likewise.
8179 * gdb.base/readline.exp: Likewise.
8180 * gdb.python/py-cmd.exp: Likewise.
8181 * gdb.trace/tfile.exp: Likewise.
8182
29361eee
YQ
81832014-03-26 Yao Qi <yao@codesourcery.com>
8184
8185 * gdb.base/macscp.exp: Fix code format issues.
8186
bc9a5525
UW
81872014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8188
8189 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8190 * gdb.asm/powerpc64le.inc: New file.
8191
d3839ede
PA
81922014-03-25 Pedro Alves <palves@redhat.com>
8193 Doug Evans <dje@google.com>
8194
8195 * gdb.base/source-execution.c: New file.
8196 * gdb.base/source-execution.exp: New file.
8197 * gdb.base/source-execution.gdb: New file.
8198
01672a57
DE
81992014-03-24 Doug Evans <dje@google.com>
8200
8201 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8202 using fission.
8203
88bbeca9
HZ
82042014-03-24 Hui Zhu <hui@codesourcery.com>
8205 Pedro Alves <palves@redhat.com>
8206
8207 PR breakpoints/16101
8208 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8209 test pass/fail messages. Detect missing support for dprintf when
8210 breakpoints are actually inserted.
8211 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8212 breakpoints are actually inserted.
8213 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8214 fails.
8215
d2348791
JK
82162014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8217
8218 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8219
feef67ab
DE
82202014-03-22 Doug Evans <xdje42@gmail.com>
8221
8222 * gdb.python/python.exp (python not supported): Verify multi-line
8223 python command issues an error.
25d743f9 8224 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 8225 guile command issues an error.
feef67ab 8226
ecebef6a
MR
82272014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8228
8229 * gdb.threads/thread-specific.exp: Handle the lack of usable
8230 $this_breakpoint and $this_thread.
8231
ccdd1909
HZ
82322014-03-21 Hui Zhu <hui@codesourcery.com>
8233
8234 * gdb.base/attach.exp (do_command_attach_tests): New.
8235
beb460e8
PA
82362014-03-20 Tom Tromey <tromey@redhat.com>
8237 Pedro Alves <palves@redhat.com>
8238
8239 PR cli/15718
8240 * gdb.base/condbreak-call-false.c: New file.
8241 * gdb.base/condbreak-call-false.exp: New file.
8242
40acf43a
PA
82432014-03-20 Pedro Alves <palves@redhat.com>
8244
8245 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8246 Delete.
8247 (block_signals, unblock_signals): Delete.
8248 (child_function_2, main): Remove references to deleted variable
8249 and functions.
8250
9f5e1e02
PA
82512014-03-20 Pedro Alves <palves@redhat.com>
8252
8253 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8254 Use pthread_kill to signal thread 2.
8255 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8256 Adjust to make the test send itself a signal rather than using the
8257 host's "kill" command.
8258
99619bea
PA
82592014-03-20 Pedro Alves <palves@redhat.com>
8260
8261 * gdb.threads/multiple-step-overs.c: New file.
8262 * gdb.threads/multiple-step-overs.exp: New file.
8263 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8264 Adjust expected infrun debug output.
8265
2adfaa28
PA
82662014-03-20 Pedro Alves <palves@redhat.com>
8267
8268 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8269 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8270
31e77af2
PA
82712014-03-20 Pedro Alves <palves@redhat.com>
8272
8273 PR breakpoints/7143
8274 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8275 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8276 of gdb_test_multiple.
8277 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8278 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8279
b9f437de
PA
82802014-03-20 Pedro Alves <palves@redhat.com>
8281
8282 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8283 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8284
05adc73e
PA
82852014-03-19 Pedro Alves <palves@redhat.com>
8286
8287 * gdb.base/async.exp: Remove early return.
8288
6048b950
PA
82892014-03-19 Pedro Alves <palves@redhat.com>
8290
8291 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8292
8bcfb00a
PA
82932014-03-19 Pedro Alves <palves@redhat.com>
8294
8295 * gdb.base/async.exp (test_background): Expect \r\n after
8296 "completed." in the fail pattern.
8297
884e37dc
PA
82982014-03-19 Pedro Alves <palves@redhat.com>
8299
8300 * gdb.base/async.exp (test_background): New procedure.
8301 Use it for all background execution command tests.
8302
148e57e2
PA
83032014-03-19 Pedro Alves <palves@redhat.com>
8304
8305 * gdb.base/async.exp: Use prepare_for_testing.
8306
f48088c7
PA
83072014-03-19 Pedro Alves <palves@redhat.com>
8308
8309 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8310 the same line.
8311
e2f6c966
PA
83122014-03-19 Pedro Alves <palves@redhat.com>
8313
8314 * gdb.base/async.c (main): Add "jump here" and "until here" line
8315 marker comments.
8316 * gdb.base/async.exp (jump_here): New global.
8317 (jump& test): Use it.
8318 (until_here): New global.
8319 (until& test): Use it.
8320
c30568d4
PA
83212014-03-19 Pedro Alves <palves@redhat.com>
8322
8323 * gdb.base/async.exp: Don't frob gdb_protocol.
8324
0172b6a7
DE
83252014-03-18 Doug Evans <xdje42@gmail.com>
8326
8327 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8328 Fix spelling of exec-done-display.
8329
06c868a8
JK
83302014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8331
8332 PR gdb/15358
8333 * gdb.base/gdb-sigterm.c: New file.
8334 * gdb.base/gdb-sigterm.exp: New file.
8335
0c7e1a46
PA
83362014-03-18 Pedro Alves <palves@redhat.com>
8337
8338 PR gdb/13860
8339 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8340 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8341 solib-event.
8342
f7c77d93
JB
83432014-03-17 Joel Brobecker <brobecker@adacore.com>
8344
8345 * gdb.ada/pckd_arr_ren: New testcase.
8346
5a1e8c7a
DE
83472014-03-13 Doug Evans <xdje42@gmail.com>
8348
8349 PR guile/16612
8350 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8351 collect after discarding symbols.
8352
350e1a76
DE
83532014-03-13 Ludovic Courtès <ludo@gnu.org>
8354 Doug Evans <xdje42@gmail.com>
8355
8356 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8357 to history survives a gc.
8358
a69900ae
PA
83592014-03-13 Pedro Alves <palves@redhat.com>
8360
8361 * gdb.base/default.exp: Don't test "target procfs".
8362
5db9f0bd
PA
83632014-03-13 Pedro Alves <palves@redhat.com>
8364
8365 * gdb.base/default.exp: Update "target child" and "target procfs"
8366 tests to not expect "Unix".
8367
b3ccfe11
TT
83682014-03-12 Tom Tromey <tromey@redhat.com>
8369
8370 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8371 New procs. Add target-async tests.
8372 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8373 Add target-async tests.
8374
646f4417
AA
83752014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8376
8377 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8378 'func_start' and 'func_end' for the beginning and end of the
8379 function code, respectively.
8380 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8381 'func_end' instead of 'func' and 'main'.
8382
288c211f
AA
83832014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8384
8385 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8386 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8387 generate the debug info assembler source.
8388
e0c0f156
AA
83892014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8390
8391 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8392 * gdb.dwarf2/arr-subrange.exp: Likewise.
8393 * gdb.dwarf2/dwz.exp: Likewise.
8394 * gdb.dwarf2/method-ptr.exp: Likewise.
8395 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8396 * gdb.dwarf2/subrange.exp: Likewise.
8397 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8398 * gdb.dwarf2/implptrpiece.exp: Likewise.
8399 * gdb.dwarf2/nostaticblock.exp: Likewise.
8400
0e5c4555
AA
84012014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8402
8403 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8404 directory to absolute path name arguments.
8405
5ec18f2b
JG
84062014-03-10 Joel Brobecker <brobecker@adacore.com>
8407
8408 * gdb.ada/tagged_access: New testcase.
8409
847fc4f2
MM
84102014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8411
8412 * gdb.btrace/data.exp: Update expected output.
8413
cc3da688
YQ
84142014-03-06 Yao Qi <yao@codesourcery.com>
8415
8416 * gdb.trace/pr16508.exp: New file.
8417
0f26cec1
PA
84182014-03-05 Pedro Alves <palves@redhat.com>
8419
8420 PR gdb/16575
8421 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8422 procedure.
8423 (top level): Adjust to use it. Add tests that exercise breakpoint
8424 interaction with the code-cache.
8425
7a5a839f
LC
84262014-02-26 Ludovic Courtès <ludo@gnu.org>
8427
8428 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8429 test for 'history-append!'.
8430
31aa7e4e
JB
84312014-02-26 Joel Brobecker <brobecker@adacore.com>
8432
8433 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8434 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8435 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8436 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8437 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8438 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8439
1b588015
JB
84402014-02-26 Joel Brobecker <brobecker@adacore.com>
8441
8442 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8443 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8444 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8445
55426c9d
JB
84462014-02-26 Joel Brobecker <brobecker@adacore.com>
8447
8448 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8449
dc53a7ad
JB
84502014-02-26 Joel Brobecker <brobecker@adacore.com>
8451
8452 * gdb.dwarf2/arr-stride.c: New file.
8453 * gdb.dwarf2/arr-stride.exp: New file.
8454
12ab52e9
PA
84552014-02-26 Pedro Alves <palves@redhat.com>
8456
8457 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8458 that won't ever trigger. Make sure that GDB reports the correct
8459 breakpoint that caused the stop.
8460
849c862e
JK
84612014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8462
8463 PR gdb/16626
8464 * gdb.base/auto-load-script: New file.
8465 * gdb.base/auto-load.c: New file.
8466 * gdb.base/auto-load.exp: New file.
8467
71b7d793
JK
8468 PR gdb/16626
8469 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8470
e2f0d509
JK
84712014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8472
8473 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8474 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8475
50cc37c8
DE
84762014-02-24 Doug Evans <dje@google.com>
8477
8478 * lib/gdb.exp (run_on_host): Log error output if program fails.
8479
ea4758f2
PA
84802014-02-21 Pedro Alves <palves@redhat.com>
8481
8482 * gdb.threads/step-after-sr-lock.c: Rename to ...
8483 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8484 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8485 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8486 ... this.
8487
d7b30f67
SDJ
84882014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8489
8490 PR tdep/16397
8491 * gdb.arch/amd64-stap-special-operands.exp: New file.
8492 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8493 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8494 * gdb.arch/amd64-stap-triplet.S: Likewise.
8495 * gdb.arch/amd64-stap-triplet.c: Likewise.
8496
83deb43f
JB
84972014-02-20 Joel Brobecker <brobecker@adacore.com>
8498
8499 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8500 in .section pseudo-op.
8501
adde2bff
DE
85022014-02-20 lin zuojian <manjian2006@gmail.com>
8503 Joel Brobecker <brobecker@adacore.com>
8504 Doug Evans <xdje42@gmail.com>
8505
8506 PR symtab/16581
8507 * gdb.dwarf2/dw2-icycle.S: New file.
8508 * gdb.dwarf2/dw2-icycle.c: New file.
8509 * gdb.dwarf2/dw2-icycle.exp: New file.
8510
f7bd0f78
SC
85112014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8512
8513 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8514 operations on gdb.Value objects.
8515 * gdb.python/py-value-cc.exp: Add new test to test operations on
8516 gdb.Value objects.
8517
c17ef0d5
DE
85182014-02-18 Doug Evans <dje@google.com>
8519
8520 * Makefile.in (TESTS): New variable.
8521 (expanded_tests, expanded_tests_or_none): New variables
8522 (check-single): Pass $(expanded_tests_or_none) to runtest.
8523 (check-parallel): Only run tests in $(TESTS) if non-empty.
8524 (check/no-matching-tests-found): New rule.
8525 * README: Document TESTS makefile variable.
8526
5dd3176f
DE
85272014-02-18 Doug Evans <dje@google.com>
8528
8529 * Makefile.in (check-parallel): rm -rf outputs temp.
8530
0b10be4f
JK
85312014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8532
8533 Fix "ERROR: no fileid for" in the testsuite.
8534 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8535
85f224e7
DE
85362014-02-12 Doug Evans <dje@google.com>
8537
8538 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8539 (MISCELLANEOUS): New variable.
8540 (clean): rm -rf $(MISCELLANEOUS).
8541 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8542 dwp live in the same directory as symlinks, with each symlink pointed
8543 to a differently named file in a different directory.
8544
149b30ff
DE
85452014-02-11 Doug Evans <dje@google.com>
8546
8547 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8548 of Tcl file commands.
8549
1dfdac32
MK
85502014-02-10 Mark Kettenis <kettenis@gnu.org>
8551
8552 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8553 "kill -SIGUSR1 -1".
8554
aa4fb036
JB
85552014-02-10 Joel Brobecker <brobecker@adacore.com>
8556
8557 * gdb.ada/tick_length_array_enum_idx: New testcase.
8558
ed3ef339
DE
85592014-02-10 Doug Evans <xdje42@gmail.com>
8560
8561 * configure.ac (AC_OUTPUT): Add gdb.guile.
8562 * configure: Regenerate.
8563 * lib/gdb-guile.exp: New file.
8564 * lib/gdb.exp (get_target_charset): New function.
8565 * gdb.base/help.exp: Update expected output from "apropos apropos".
8566 * gdb.guile/Makefile.in: New file.
8567 * gdb.guile/guile.exp: New file.
8568 * gdb.guile/scm-arch.c: New file.
8569 * gdb.guile/scm-arch.exp: New file.
8570 * gdb.guile/scm-block.c: New file.
8571 * gdb.guile/scm-block.exp: New file.
8572 * gdb.guile/scm-breakpoint.c: New file.
8573 * gdb.guile/scm-breakpoint.exp: New file.
8574 * gdb.guile/scm-disasm.c: New file.
8575 * gdb.guile/scm-disasm.exp: New file.
8576 * gdb.guile/scm-equal.c: New file.
8577 * gdb.guile/scm-equal.exp: New file.
8578 * gdb.guile/scm-error.exp: New file.
8579 * gdb.guile/scm-error.scm: New file.
8580 * gdb.guile/scm-frame-args.c: New file.
8581 * gdb.guile/scm-frame-args.exp: New file.
8582 * gdb.guile/scm-frame-args.scm: New file.
8583 * gdb.guile/scm-frame-inline.c: New file.
8584 * gdb.guile/scm-frame-inline.exp: New file.
8585 * gdb.guile/scm-frame.c: New file.
8586 * gdb.guile/scm-frame.exp: New file.
8587 * gdb.guile/scm-generics.exp: New file.
8588 * gdb.guile/scm-gsmob.exp: New file.
8589 * gdb.guile/scm-iterator.c: New file.
8590 * gdb.guile/scm-iterator.exp: New file.
8591 * gdb.guile/scm-math.c: New file.
8592 * gdb.guile/scm-math.exp: New file.
8593 * gdb.guile/scm-objfile-script-gdb.in: New file.
8594 * gdb.guile/scm-objfile-script.c: New file.
8595 * gdb.guile/scm-objfile-script.exp: New file.
8596 * gdb.guile/scm-objfile.c: New file.
8597 * gdb.guile/scm-objfile.exp: New file.
8598 * gdb.guile/scm-ports.exp: New file.
8599 * gdb.guile/scm-pretty-print.c: New file.
8600 * gdb.guile/scm-pretty-print.exp: New file.
8601 * gdb.guile/scm-pretty-print.scm: New file.
8602 * gdb.guile/scm-section-script.c: New file.
8603 * gdb.guile/scm-section-script.exp: New file.
8604 * gdb.guile/scm-section-script.scm: New file.
8605 * gdb.guile/scm-symbol.c: New file.
8606 * gdb.guile/scm-symbol.exp: New file.
8607 * gdb.guile/scm-symtab-2.c: New file.
8608 * gdb.guile/scm-symtab.c: New file.
8609 * gdb.guile/scm-symtab.exp: New file.
8610 * gdb.guile/scm-type.c: New file.
8611 * gdb.guile/scm-type.exp: New file.
8612 * gdb.guile/scm-value-cc.cc: New file.
8613 * gdb.guile/scm-value-cc.exp: New file.
8614 * gdb.guile/scm-value.c: New file.
8615 * gdb.guile/scm-value.exp: New file.
8616 * gdb.guile/source2.scm: New file.
8617 * gdb.guile/types-module.cc: New file.
8618 * gdb.guile/types-module.exp: New file.
8619
7026a7c1
YQ
86202014-02-10 Yao Qi <yao@codesourcery.com>
8621
8622 PR testsuite/16543
8623 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8624 * configure: Regenerated.
8625 * Makefile.in: New file.
8626
6c466447
AS
86272014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8628
8629 * gdb.python/py-framefilter.exp: Fix typo.
8630
6e854735
YQ
86312014-02-08 Yao Qi <yao@codesourcery.com>
8632
8633 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8634 that no =breakpoint-modified is emitted when breakpoints are
8635 modified through MI commands.
8636
d137e6dc
PA
86372014-02-07 Pedro Alves <pedro@codesourcery.com>
8638 Pedro Alves <palves@redhat.com>
8639
8640 * gdb.threads/step-after-sr-lock.c: New file.
8641 * gdb.threads/step-after-sr-lock.exp: New file.
8642
b5ee5a50
PA
86432014-02-07 Pedro Alves <palves@redhat.com>
8644
8645 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8646
3c77faf3
JK
86472014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8648
8649 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8650 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8651
6dddc817
DE
86522014-02-06 Doug Evans <xdje42@gmail.com>
8653
8654 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8655 output.
8656
8657 * gdb.gdb/python-interrupts.exp: New file.
8658
de7b2893
YQ
86592014-02-05 Yao Qi <yao@codesourcery.com>
8660
8661 * gdb.trace/report.exp (use_collected_data): Test the output
8662 of "info threads" and "info inferiors".
8663
66d032ac
YQ
86642014-02-05 Yao Qi <yao@codesourcery.com>
8665
8666 Revert this patch:
8667
8668 2013-05-24 Yao Qi <yao@codesourcery.com>
8669
8670 * gdb.trace/tfile.exp: Test inferior and thread.
8671
591a12a1
UW
86722014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8673
8674 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8675 on a function.
8676 * gdb.base/step-bt.c: Call hello via function pointer to make
8677 sure its first instruction is executed on powerpc64le-linux.
8678
0ff3e01f
UW
86792014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8680
8681 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8682
084ee545
UW
86832014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8684
8685 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8686 of the test patterns for use on little-endian systems.
8687
6ed14ff3
UW
86882014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8689
8690 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8691 (decimal_vector): Fix for little-endian.
8692
401e27fd
JM
86932014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8694
8695 * gdb.arch/sparc-sysstep.exp: New file.
8696 * gdb.arch/sparc-sysstep.c: Likewise.
8697
8698 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8699
8b924729
EBM
87002014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8701
8702 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8703
fb151210
JB
87042014-01-23 Tom Tromey <tromey@redhat.com>
8705
8706 * gdb.ada/array_char_idx: New testcase.
8707
0740f8d8
TT
87082014-01-23 Tom Tromey <tromey@redhat.com>
8709
8710 PR python/16487:
8711 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8712 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8713 classes.
8714
21909fa1
TT
87152014-01-23 Tom Tromey <tromey@redhat.com>
8716
8717 PR python/16491:
8718 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8719 string from an inferior frame.
8720 * gdb.python/py-framefilter-mi.exp: Update.
8721
87ce2a04
DE
87222014-01-22 Doug Evans <dje@google.com>
8723
8724 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8725
237b092b
AA
87262014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8727
8728 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8729
d674a709
AA
87302014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8731
8732 * gdb.trace/entry-values.exp: Remove excess space character from
8733 regex patterns. Handle s390 call instruction.
8734
20fa3390
AA
87352014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8736
8737 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8738 define "*_start" label. Make "name" static.
8739 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8740 ${name} by references to ${name}_start.
8741
78466714
AA
87422014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8743
8744 * gdb.base/info-macros.exp: Remove "debug" from the compile
8745 options.
8746
ec9f644a
IB
87472014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8748
8749 * gdb.dlang/demangle.exp: New file.
8750
94b1b47e
IB
87512014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8752
8753 * gdb.dlang/primitive-types.exp: New file.
8754
7f420862
IB
87552014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8756
8757 * configure.ac: Create gdb.dlang/Makefile.
8758 * configure: Regenerate.
8759 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8760 * gdb.dlang/Makefile.in: New file.
8761 * lib/d-support.exp: New file.
8762 * lib/gdb.exp (skip_d_tests): New proc.
8763
52834460
MM
87642014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8765
8766 * gdb.btrace/delta.exp: Check reverse stepi.
8767 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8768 * gdb.btrace/finish.exp: New.
8769 * gdb.btrace/next.exp: New.
8770 * gdb.btrace/nexti.exp: New.
8771 * gdb.btrace/record_goto.c: Add comments.
8772 * gdb.btrace/step.exp: New.
8773 * gdb.btrace/stepi.exp: New.
8774 * gdb.btrace/multi-thread-step.c: New.
8775 * gdb.btrace/multi-thread-step.exp: New.
8776 * gdb.btrace/rn-dl-bind.c: New.
8777 * gdb.btrace/rn-dl-bind.exp: New.
8778 * gdb.btrace/data.c: New.
8779 * gdb.btrace/data.exp: New.
8780 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8781
6e07b1d2
MM
87822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8783
8784 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8785 * gdb.btrace/exception.exp: Update.
8786 * gdb.btrace/instruction_history.exp: Update.
8787 * gdb.btrace/record_goto.exp: Update.
8788 * gdb.btrace/tailcall.exp: Update.
8789 * gdb.btrace/unknown_functions.exp: Update.
8790 * gdb.btrace/delta.exp: New.
8791
0b722aec
MM
87922014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8793
8794 * gdb.btrace/record_goto.exp: Add backtrace test.
8795 * gdb.btrace/tailcall.exp: Add backtrace test.
8796
066ce621
MM
87972014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8798
8799 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8800 * gdb.btrace/record_goto.c: New.
8801 * gdb.btrace/record_goto.exp: New.
8802 * gdb.btrace/x86-record_goto.S: New.
8803
0688d04e
MM
88042014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8805
8806 * gdb.btrace/function_call_history.exp: Update tests.
8807 * gdb.btrace/instruction_history.exp: Update tests.
8808
8710b709
MM
88092014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8810
8811 * gdb.btrace/function_call_history.exp: Fix expected field
8812 order for "record function-call-history".
8813 Add new tests for "record function-call-history /c".
8814 * gdb.btrace/exception.cc: New.
8815 * gdb.btrace/exception.exp: New.
8816 * gdb.btrace/tailcall.exp: New.
8817 * gdb.btrace/x86-tailcall.S: New.
8818 * gdb.btrace/x86-tailcall.c: New.
8819 * gdb.btrace/unknown_functions.c: New.
8820 * gdb.btrace/unknown_functions.exp: New.
8821 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8822
5de9129b
MM
88232014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8824
8825 * gdb.btrace/instruction_history.exp: Update.
8826 * gdb.btrace/function_call_history.exp: Update.
8827
23a7fe75
MM
88282014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8829
8830 * gdb.btrace/function_call_history.exp: Fix expected function
8831 trace.
8832 * gdb.btrace/instruction_history.exp: Initialize traced.
8833 Remove traced_functions.
8834
724c7dd8
MM
88352014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8836
8837 * gdb.btrace/function_call_history.exp: Update
8838 * gdb.btrace/instruction_history.exp: Update.
8839
6d78d93b
MM
88402014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8841
8842 * gdb.btrace/enable.exp: Update expected text.
8843
93a360cc
OJ
88442014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8845
8846 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8847 bytes.
8848
3772b53f
MR
88492014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8850
8851 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8852
596662fa
OJ
88532014-01-15 Omair Javaid <omair.javaid@linaro.org>
8854
8855 * lib/gdb.exp (supports_process_record): Return true for
8856 arm*-linux*. (supports_reverse): Likewise.
8857
b5b08fb4
SC
88582014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8859
8860 PR python/15464
8861 PR python/16113
8862 * gdb.python/py-type.c: Enhance test case.
8863 * gdb.python/py-value-cc.cc: Likewise
8864 * gdb.python/py-type.exp: Add new tests.
8865 * gdb.python/py-value-cc.exp: Likewise
8866
52d7fb13
AA
88672014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8868 Pedro Alves <palves@redhat.com>
8869
8870 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8871 Make "name" extern.
8872 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8873 references to ${name}_start by references to ${name}.
8874
a2cd8cfe
JB
88752014-01-10 Joel Brobecker <brobecker@adacore.com>
8876
8877 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8878
4e23fced
JB
88792014-01-10 Joel Brobecker <brobecker@adacore.com>
8880
8881 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8882
c6a9e42c
PA
88832014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8884 Pedro Alves <palves@redhat.com>
8885
8886 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 8887 mi_gdb_target_load.
c6a9e42c 8888
b7ea362b
PA
88892014-01-08 Pedro Alves <palves@redhat.com>
8890
8891 * gdb.threads/reconnect-signal.c: New file.
8892 * gdb.threads/reconnect-signal.exp: New file.
8893
5e3f4fab
EBM
88942014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8895
8896 * gdb.base/source-dir.exp: New file.
8897
79301218
JB
88982014-01-07 Joel Brobecker <brobecker@adacore.com>
8899
8900 * gdb.ada/mi_interface: New testcase.
8901
8e355c5d
JB
89022014-01-07 Joel Brobecker <brobecker@adacore.com>
8903
8904 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8905 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8906 gdb.ada/pp-rec-component/pck.ads: New files.
8907
c0d48811
JB
89082014-01-07 Joel Brobecker <brobecker@adacore.com>
8909
8910 * gdb.python/py-pp-integral.c: New file.
8911 * gdb.python/py-pp-integral.py: New file.
8912 * gdb.python/py-pp-integral.exp: New file.
8913
17b609c3 8914For older changes see ChangeLog-1993-2013.
c906108c 8915\f
8d8cb839
EZ
8916;; Local Variables:
8917;; mode: change-log
8918;; left-margin: 8
8919;; fill-column: 74
8920;; version-control: never
8921;; End:
902f2ccb 8922
618f726f 8923 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
8924 Copying and distribution of this file, with or without modification,
8925 are permitted provided the copyright notice and this notice are preserved.
This page took 2.55794 seconds and 4 git commands to generate.