]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
MIPS/GAS: Keep the original microMIPS symbol reference in branch relocs
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
04d59df6
WT
12016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
2
3 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
4 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
5 structs.
6 * gdb.fortran/derived-type-function.exp: New file.
7 * gdb.fortran/derived-type-function.f90: New file.
8
9
ac69f786
PA
102016-06-21 Pedro Alves <palves@redhat.com>
11
12 * gdb.base/new-ui.exp: New file.
13 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
14 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
15 (with_spawn_id): New procedure.
16
49940788
PA
172016-06-21 Pedro Alves <palves@redhat.com>
18
19 * gdb.mi/mi-exec-run.exp: New file.
20
ef274d26
PA
212016-06-21 Pedro Alves <palves@redhat.com>
22
23 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
24 breakpoint command's output on the main UI.
25 (test_break): New procedure, factored out from calls in the top
26 level.
27 (top level): Use foreach_with_prefix to test MI as main UI and as
28 separate UI.
29
468afe6c
PA
302016-06-21 Pedro Alves <palves@redhat.com>
31
32 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
33 (test_awatch_creation_and_listing)
34 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
35 Remove 'type' parameter.
36 (test_watchpoint_all): New parameter mi_mode. Remove
37 with_test_prefix.
38 (top level): Use foreach_with_prefix, and add main/separate UI MI
39 testing axis.
40
51f77c37
PA
412016-06-21 Pedro Alves <palves@redhat.com>
42
43 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
44 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
45 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
46 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
47 (gdb_main_spawn_id, mi_spawn_id): Declare and
48 comment.
49 (mi_create_inferior_pty): New procedure,
50 factored out from default_mi_gdb_start.
51 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
52 procedures.
53 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
54 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
55 Use mi_create_inferior_pty.
56 (mi_gdb_start): Use eval to pass down args list.
57
8980e177
PA
582016-06-21 Pedro Alves <palves@redhat.com>
59
60 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
61 * gdb.opt/inline-cmds.exp: Add MI tests.
62
f38d3ad1
PA
632016-06-21 Pedro Alves <palves@redhat.com>
64
65 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
66
45db7c09
PA
672016-06-21 Pedro Alves <palves@redhat.com>
68
69 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
70 (top level): Use it instead of mi_execute_to.
71
5a069ab3
PA
722016-06-21 Pedro Alves <palves@redhat.com>
73
74 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
75 (cont_handler_str): New.
76 (signal_stop_handler): Set stop_handler_str instead of printing to
77 stdout.
78 (continue_handler): Set cont_handler_str instead of printing to
79 stdout.
80 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
81 mi_send_resuming_command. Print stop_handler_str and
82 cont_handler_str instead of expecting the python events print
83 directly.
84
2838cc1d
SD
852016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
86
87 * gdb.base/jit-reader.exp: New file.
88 * gdb.base/jithost.c: New file.
89 * gdb.base/jithost.h: New file.
90 * gdb.base/jitreader.c : New file.
91 * gdb.base/jit-protocol.h: New file.
92
21a77091
YQ
932016-06-17 Yao Qi <yao.qi@linaro.org>
94
95 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
96 parameters follow_fork and detach_on_fork. Set follow-fork-mode
97 and detach-on-fork. Adjust tests.
98 (top level): Invoke break_cond_on_syscall with combinations of
99 syscall, follow-fork-mode and detach-on-fork.
100
f50bf8e5
YQ
1012016-06-17 Yao Qi <yao.qi@linaro.org>
102
103 * gdb.base/step-over-exit.c: New.
104 * gdb.base/step-over-exit.exp: New.
105
a28d8e50
YTL
1062016-06-17 Yan-Ting Lin <currygt52@gmail.com>
107
108 * gdb.base/float.exp: Add target check for nds32*-*-*.
109 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
110
cad8e26d
AB
1112016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
112
113 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
114 for unsupported target features.
115 * gdb.base/call-rt-st.exp: Likewise.
116 * gdb.base/call-sc.exp: Likewise.
117 * gdb.base/call-signal-resume.exp: Likewise.
118 * gdb.base/call-strs.exp: Likewise.
119 * gdb.base/callexit.exp: Likewise.
120 * gdb.base/callfuncs.exp: Likewise.
121 * gdb.base/nodebug.exp: Likewise.
122 * gdb.base/printcmds.exp: Likewise.
123 * gdb.base/ptype.exp: Likewise.
124 * gdb.base/structs.exp: Likewise.
125 * gdb.base/unwindonsignal.exp: Likewise.
126 * gdb.cp/gdb2495.exp: Likewise.
127 * gdb.cp/templates.exp: Likewise.
128 * gdb.cp/virtfunc.exp: Likewise.
129 * gdb.threads/hand-call-in-threads.exp: Likewise.
130 * gdb.threads/interrupted-hand-call.exp: Likewise.
131 * gdb.threads/thread-unwindonsignal.exp: Likewise.
132
347dc102
TT
1332016-06-10 Tom Tromey <tom@tromey.com>
134
135 PR rust/20110:
136 * gdb.rust/expr.exp: Add test for integer constant larger than
137 i32.
138
5e13cf25
BH
1392016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
140
141 * gdb.fortran/nested-funcs.exp: New.
142 * gdb.fortran/nested-funcs.f90: New.
143
bb556f1f
TK
1442016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
145
146 * gdb.base/examine-backward.c: New file.
147 * gdb.base/examine-backward.exp: New file.
148
38b022b4
SM
1492016-06-06 Simon Marchi <simon.marchi@ericsson.com>
150
151 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
152 matching.
153
1b40ec05
TT
1542016-06-02 Tom Tromey <tom@tromey.com>
155
156 PR python/18984:
157 * gdb.python/py-shared.exp: Add solib_name test.
158
193bd378
SM
1592016-06-02 Simon Marchi <simon.marchi@ericsson.com>
160
161 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
162
3326303b
MG
1632016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
164
165 PR c++/19893
166 * gdb.dwarf2/implref.exp: Rename to...
167 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
168 * gdb.dwarf2/implref-array.c: New file.
169 * gdb.dwarf2/implref-array.exp: Likewise.
170 * gdb.dwarf2/implref-global.c: Likewise.
171 * gdb.dwarf2/implref-global.exp: Likewise.
172 * gdb.dwarf2/implref-struct.c: Likewise.
173 * gdb.dwarf2/implref-struct.exp: Likewise.
174
825c8ef2
AT
1752016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
176
177 * gdb.trace/trace-condition.exp: Add 64bit tests.
178
2320162a
AT
1792016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
180
181 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
182 bits types.
183 (main): Adapt to 8 to 64 bits types.
184 * gdb.trace/trace-condition.exp: Add new tests.
185
a7818233
AT
1862016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
187
188 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
189
0d336466
AT
1902016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
191
192 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
193 Move condition tests...
194 * gdb.trace/trace-condition.exp: Here.
195
7faeb45a
AT
1962016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
197
198 * gdb.trace/trace-condition.exp: Add counter-case tests.
199
e385593e
JK
2002016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
201
202 PR c++/15231
203 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
204 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
205
744608cc
PA
2062016-05-27 Pedro Alves <palves@redhat.com>
207
208 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
209 New procedure.
210 (top level): Call it, and bail out of DejaGnu is known to be bad.
211
ac775bf4
AB
2122016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
213
214 * gdb.base/whatis.c: Extend the test case.
215 * gdb.base/whatis.exp: Add additional tests.
216
2bbad2ea
BH
2172016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
218
219* gdb.fortran/type.f90: Add pointer variable.
220* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
221
8b70175d
BH
2222016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
223
224 * gdb.fortran/vla-type.exp: Fix testcase name.
225
86d8a848
BH
2262016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
227
228 * gdb.fortran/vla-type.exp: Access elements in nested structs.
229
e188eb36
BH
2302016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
231
232 * gdb.fortran/type.f90: Add nested structures.
233 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
234 * gdb.fortran/derived-type.exp: Adapt expected output.
235 * gdb.fortran/vla-type.exp: Adapt expected output.
236
9b2db1fd
BH
2372016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
238
239 * gdb.fortran/whatis_type.exp: Adapt expected output.
240
72b17055
BH
2412016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
242
243 * gdb.fortran/print_type.exp: Fix expected output.
244 * gdb.fortran/whatis_type.exp: Fix expected output.
245
3cd81d8d
BH
2462016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
247
248 * gdb.fortran/whatis_type.exp: Use multi_line.
249
ddae9462
TT
2502016-05-24 Tom Tromey <tom@tromey.com>
251
252 PR python/17386:
253 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
254 use value as an index.
255
1957f6b8
TT
2562016-05-23 Tom Tromey <tom@tromey.com>
257
258 PR python/17981:
259 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
260 no-breakpoint case.
261
026a9174
PA
2622016-05-24 Pedro Alves <palves@redhat.com>
263
264 PR gdb/19828
265 * gdb.threads/clone-attach-detach.c: New file.
266 * gdb.threads/clone-attach-detach.exp: New file.
267
e70a7231
FR
2682016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
269
270 * gdb.base/annota-input-while-running.exp: Fix syntax error.
271
0f6ed0e0
TT
2722016-05-23 Tom Tromey <tom@tromey.com>
273
274 PR python/19438, PR python/18393:
275 * gdb.python/py-progspace.exp: Add "dir" test.
276 * gdb.python/py-objfile.exp: Add "dir" test.
277
ffd19d61
YQ
2782016-05-23 Yao Qi <yao.qi@linaro.org>
279
280 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
281 * gdb.arch/thumb2-it.exp: Likewise.
282
9e8f9b05
SM
2832016-05-18 Simon Marchi <simon.marchi@ericsson.com>
284
285 * gdb.mi/mi-threads-interrupt.c: New file.
286 * gdb.mi/mi-threads-interrupt.exp: New file.
287
61c6156d
SM
2882016-05-17 Simon Marchi <simon.marchi@ericsson.com>
289
290 PR gdb/18077
291 * gdb.mi/mi-async-run.exp: New file.
292 * gdb.mi/mi-async-run.c: New file.
293
67218854
TT
2942016-05-17 Tom Tromey <tom@tromey.com>
295 Manish Goregaokar <manishsmail@gmail.com>
296
297 * lib/rust-support.exp: New file.
298 * lib/gdb.exp (skip_rust_tests): New proc.
299 (build_executable_from_specs): Handle rust.
300 * lib/future.exp (gdb_find_rustc): New proc.
301 (gdb_default_target_compile): Handle rust.
302 * gdb.rust/expr.exp: New file.
303 * gdb.rust/generics.exp: New file.
304 * gdb.rust/generics.rs: New file.
305 * gdb.rust/methods.exp: New file.
306 * gdb.rust/methods.rs: New file.
307 * gdb.rust/modules.exp: New file.
308 * gdb.rust/modules.rs: New file.
309 * gdb.rust/simple.exp: New file.
310 * gdb.rust/simple.rs: New file.
311
c44af4eb
TT
3122016-05-17 Tom Tromey <tom@tromey.com>
313
314 * gdb.base/default.exp (set language): Add rust.
315
dcd1f979
TT
3162016-05-17 Tom Tromey <tom@tromey.com>
317
318 * gdb.gdb/unittest.exp: New file.
319
155b7f57
YQ
3202016-05-16 Yao Qi <yao.qi@linaro.org>
321
322 * gdb.base/batch-preserve-term-settings.exp: Remove variable
323 shell_prompt. Update shell_prompt_re.
324
8ddd5a6c
DE
3252016-05-12 Doug Evans <dje@google.com>
326
327 PR symtab/19999
328 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
329 $options when building executable.
330 * gdb.dwarf2/fission-loclists-pie.S: New file.
331 * gdb.dwarf2/fission-loclists-pie.exp: New file.
332
02e370d9
SM
3332016-05-04 Simon Marchi <simon.marchi@ericsson.com>
334
335 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
336 of [is_remote target],
337
8929ad8b
SM
3382016-05-04 Simon Marchi <simon.marchi@ericsson.com>
339
340 * lib/gdb.exp (use_gdb_stub): New procedure.
341
6c447423
DE
3422016-05-03 Yunlian Jiang <yunlian@google.com>
343 Doug Evans <dje@google.com>
344
345 PR symtab/19914
346 * gdb.dwarf2/dwp-sepdebug.c: New file.
347 * gdb.dwarf2/dwp-sepdebug.exp: New file.
348
444e826c
SM
3492016-05-02 Simon Marchi <simon.marchi@ericsson.com>
350
351 * gdb.base/detach.exp: Remove is_remote check.
352
740feeaa
SM
3532016-05-02 Simon Marchi <simon.marchi@ericsson.com>
354
355 * gdb.base/annota-input-while-running.exp: Don't check for
356 [is_remote target]. Enable annotations after running to main.
357 Remove unused "set test..." line.
358
9080ac9d
SM
3592016-04-28 Simon Marchi <simon.marchi@ericsson.com>
360
361 * gdb.trace/trace-enable-disable.exp: New file.
362 * gdb.trace/trace-enable-disable.c: New file.
363
952ebca5
SM
3642016-04-28 Simon Marchi <simon.marchi@ericsson.com>
365
366 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
367 use it in info sharedlibrary test.
368 * gdb.trace/ftrace-lock.exp: Likewise.
369 * gdb.trace/ftrace.exp: Likewise.
370 * gdb.trace/range-stepping.exp: Likewise.
371 * gdb.trace/trace-break.exp: Likewise.
372 * gdb.trace/trace-condition.exp: Likewise.
373 * gdb.trace/trace-mt.exp: Likewise.
374
d9019901
SM
3752016-04-27 Simon Marchi <simon.marchi@ericsson.com>
376
377 * lib/gdb.exp (gdb_load_shlibs): Rename to...
378 (gdb_load_shlib): ... this.
379 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
380 gdb_load_shlib.
381 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
382 * gdb.base/ctxobj.exp: Likewise.
383 * gdb.base/dprintf-pending.exp: Likewise.
384 * gdb.base/dso2dso.exp: Likewise.
385 * gdb.base/fixsection.exp: Likewise.
386 * gdb.base/gcore-relro.exp: Likewise.
387 * gdb.base/gdb1555.exp: Likewise.
388 * gdb.base/global-var-nested-by-dso.exp: Likewise.
389 * gdb.base/gnu-ifunc.exp: Likewise.
390 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
391 * gdb.base/jit-so.exp (one_jit_test): Likewise.
392 * gdb.base/pending.exp: Likewise.
393 * gdb.base/print-file-var.exp: Likewise.
394 * gdb.base/print-symbol-loading.exp: Likewise.
395 * gdb.base/shlib-call.exp: Likewise.
396 * gdb.base/shreloc.exp: Likewise.
397 * gdb.base/so-impl-ld.exp: Likewise.
398 * gdb.base/solib-disc.exp: Likewise.
399 * gdb.base/solib-nodir.exp: Likewise.
400 * gdb.base/solib-overlap.exp: Likewise.
401 * gdb.base/solib-symbol.exp: Likewise.
402 * gdb.base/solib-weak.exp (do_test): Likewise.
403 * gdb.base/sym-file.exp: Likewise.
404 * gdb.base/symtab-search-order.exp: Likewise.
405 * gdb.base/type-opaque.exp: Likewise.
406 * gdb.base/unload.exp: Likewise.
407 * gdb.base/watchpoint-solib.exp: Likewise.
408 * gdb.compile/compile.exp: Likewise.
409 * gdb.cp/gdb2384.exp: Likewise.
410 * gdb.cp/infcall-dlopen.exp: Likewise.
411 * gdb.cp/re-set-overloaded.exp: Likewise.
412 * gdb.fortran/library-module.exp: Likewise.
413 * gdb.opt/solib-intra-step.exp: Likewise.
414 * gdb.python/py-finish-breakpoint.exp: Likewise.
415 * gdb.python/py-shared.exp: Likewise.
416 * gdb.reverse/solib-precsave.exp: Likewise.
417 * gdb.reverse/solib-reverse.exp: Likewise.
418 * gdb.server/solib-list.exp: Likewise.
419 * gdb.threads/dlopen-libpthread.exp: Likewise.
420 * gdb.threads/tls-shared.exp: Likewise.
421 * gdb.threads/tls-so_extern.exp: Likewise.
422 * gdb.trace/change-loc.exp: Likewise.
423 * gdb.trace/ftrace-lock.exp: Likewise.
424 * gdb.trace/ftrace.exp: Likewise.
425 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
426 * gdb.trace/pending.exp: Likewise.
427 * gdb.trace/range-stepping.exp: Likewise.
428 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
429 (strace_info_marker): Likewise.
430 (strace_probe_marker): Likewise.
431 (strace_trace_on_same_addr): Likewise.
432 (strace_trace_on_diff_addr): Likewise.
433 * gdb.trace/trace-break.exp: Likewise.
434 * gdb.trace/trace-condition.exp: Likewise.
435 * gdb.trace/trace-mt.exp: Likewise.
436
fca4cfd9
SM
4372016-04-27 Simon Marchi <simon.marchi@ericsson.com>
438
439 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
440 result of gdb_remote_download.
441 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
442 * gdb.base/dso2dso.exp: Likewise.
443 * gdb.base/global-var-nested-by-dso.exp: Likewise.
444 * gdb.base/print-file-var.exp: Likewise.
445 * gdb.base/shlib-call.exp: Likewise.
446 * gdb.base/shreloc.exp: Likewise.
447 * gdb.base/solib-overlap.exp: Likewise.
448 * gdb.base/solib-weak.exp (do_test): Likewise.
449 * gdb.base/unload.exp: Likewise.
450
11cf4ffb
YQ
4512016-04-27 Yao Qi <yao.qi@linaro.org>
452
453 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
454 exists.
455
3e2e34f8
KB
4562016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
457
458 * vla-type.exp: Print structure from toplevel.
459
8f07e298
BH
4602016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
461
462 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
463 of dynamic types.
464 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
465 of dynamic types.
466
9920b434
BH
4672016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
468
469 * gdb.fortran/vla-type.f90: New file.
470 * gdb.fortran/vla-type.exp: New file.
471
f3abeff5
YQ
4722016-04-25 Yao Qi <yao.qi@linaro.org>
473
474 * gdb.base/branch-to-self.c: New file.
475 * gdb.base/branch-to-self.exp: New file.
476
0a5d52f0
YQ
4772016-04-22 Yao Qi <yao.qi@linaro.org>
478
479 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
480 more after $hex.
481
495346f6
YQ
4822016-04-22 Yao Qi <yao.qi@linaro.org>
483
484 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
485 * gdb.base/annota3.exp: Likewise.
486
4a7e075c
YQ
4872016-04-22 Yao Qi <yao.qi@linaro.org>
488
489 * gdb.reverse/step-precsave.exp: Do one step and test program
490 stops in "callee" and do multiple steps until program goes out
491 of "callee".
492 * gdb.reverse/step-reverse.exp: Likewise.
493
5b061e98
YQ
4942016-04-22 Yao Qi <yao.qi@linaro.org>
495
496 * gdb.trace/signal.exp: Also pass if
497 $tracepoint_hits($i) > $iterations.
498
5c5dc57f
YQ
4992016-04-22 Yao Qi <yao.qi@linaro.org>
500
501 * gdb.trace/signal.c: New file.
502 * gdb.trace/signal.exp: New file.
503
a55411b9
DE
5042016-04-19 Doug Evans <xdje42@gmail.com>
505
506 * gdb.base/bad-file.exp: New file.
507
a22df60a
MG
5082016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
509
510 * gdb.dwarf2/implref.exp: New file.
511
0c13f7e5
BH
5122016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
513
514 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
515 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
516 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
517 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
518 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
519 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
520 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
521 * lib/fortran.exp (fortran_int4): New procedure.
522 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
523 (fortran_logical4): Likewise.
524
9b9b09e9
BH
5252016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
526
527 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
528
a14d1f4d
BH
5292016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
530
531 * lib/compiler.c: Add Intel specific preprocessor macros.
532 * lib/compiler.cc: Likewise.
533
7d49b1d0
LM
5342016-04-13 Luis Machado <lgustavo@codesourcery.com>
535
536 * gdb.server/connect-with-no-symbol-file.c: New file.
537 * gdb.server/connect-with-no-symbol-file.exp: New file.
538
8392fa22
SM
5392016-04-13 Simon Marchi <simon.marchi@ericsson.com>
540
541 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
542
8c4c4aeb
SM
5432016-04-13 Simon Marchi <simon.marchi@ericsson.com>
544
545 * boards/gdbserver-base.exp (${board}_download): Copy source file to
546 standard output directory.
547
45e3745e
AT
5482016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
549
550 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
551
e26b7e41
MM
5522016-04-13 Markus Metzger <markus.t.metzger@intel.com>
553
554 * gdb.btrace/instruction_history.c (loop): Add declaration.
555
8ce09462
AT
5562016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
557
558 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
559
2e88a1ea
SM
5602016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
561
562 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
563 parentheses to print.
564 (continue_handler): Likewise.
565
f48e22e3
SM
5662016-04-08 Simon Marchi <simon.marchi@ericsson.com>
567
568 * gdb.server/solib-list.exp: Remove is_remote check.
569 Pass shlib= to gdb_compile. Don't link shared library with
570 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
571 Run binary filename through "readlink -f" on the target.
572
096be756
PA
5732016-04-08 Pedro Alves <palves@redhat.com>
574
575 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
576 interpreter filename as argument to gdbserver_spawn.
577 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
578 Return empty if $last_loaded_file does not exist.
579
06500533
JK
5802016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
581
582 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
583 * gdb.base/jit-main.c: Use exit after usage.
584
2d35e871
JK
5852016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
586
587 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
588 GDBHISTSIZE prior to the tests.
589 * gdb.base/gdbinit-history.exp: Likewise.
590
5912016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
592
593 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
594 instead of build_executable. Use gdb_load_shlibs.
595
c8064e7e
YQ
5962016-04-07 Yao Qi <yao.qi@linaro.org>
597
598 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
599 Execute "si" command.
600
bde47561
YQ
6012016-04-07 Yao Qi <yao.qi@linaro.org>
602
603 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
604 number instead of the comments on some line.
605
b16f8a3b
DB
6062016-04-06 Don Breazeal <donb@codesourcery.com>
607
608 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
609 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
610
c2f901df
SM
6112016-04-06 Simon Marchi <simon.marchi@ericsson.com>
612
613 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
614 standard_output_file. Remove unused binfile variable.
615
ac17fda0
CU
6162016-04-05 Catalin Udma <catalin.udma@freescale.com>
617
618 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
619 * gdb.python/py-mi-objfile.exp: Match "list main" output
620 in console format.
621
03a8c4df
SM
6222016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
623
624 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
625 absolute.
626
6e774b13
SM
6272016-04-05 Simon Marchi <simon.marchi@ericsson.com>
628
629 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
630 absolute.
631 * gdb.trace/ftrace.exp: Likewise.
632 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
633 targets as well.
634 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
635 (gdb_load_shlibs): Copy libraries to test directory when testing
636 natively. Only set solib-search-path if testing remotely.
637 * lib/mi-support.exp (mi_load_shlibs): Likewise.
638
7817ea46
SM
6392016-04-05 Simon Marchi <simon.marchi@ericsson.com>
640
641 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
642 gdb_download. Use it even if the target is not remote.
643 * gdb.base/jit.exp (compile_jit_test): Likewise.
644 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
645 output directory if the destination board is local, otherwise use
646 the standard remote_download from DejaGnu.
647 (gdb_download): Remove.
648 (gdb_load_shlibs): Use gdb_remote_download instead of
649 gdb_download.
650 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
651 Use gdb_remote_download instead of gdb_download. Use it even if
652 the target is not remote.
653 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
654 instead of gdb_download.
655
7beb7f68
SM
6562016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
657
658 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
659 (test_insert_delete_modify): Call mi_load_shlibs before trying to
660 run.
661
cc63428a
AV
6622016-04-01 Artemiy Volkov <artemiyv@acm.org>
663
664 PR gdb/19820
665 * gdb.base/printcmds.exp: Add artificial arrays tests.
666
64cdf930
PA
6672016-03-31 Pedro Alves <palves@redhat.com>
668
669 PR gdb/19858
670 * gdb.base/jit-main.c: Include unistd.h.
671 (ATTACH): Define to 0 if not already defined.
672 (wait_for_gdb, mypid): New globals.
673 (WAIT_FOR_GDB): New macro.
674 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
675 some breakpoint locations.
676 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
677 New procedures.
678 (one_jit_test): Add REATTACH parameter, and handle it. Use
679 continue_to_test_location.
680 (top level): Test attach, and adjusts calls to one_jit_test.
681
40dea8cb
PA
6822016-03-31 Pedro Alves <palves@redhat.com>
683
684 PR gdb/19858
685 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
686 BINSUFFIX parameter, and handle it.
687 (top level): Adjust calls compile_jit_test.
688
e7ea3ec7
CU
6892016-03-31 Catalin Udma <catalin.udma@freescale.com>
690
691 PR python/19743
692 * gdb.python/py-mi-events-gdb.py: New file.
693 * gdb.python/py-mi-events.c: New file.
694 * gdb.python/py-mi-events.exp: New file.
695
e6359af3
YQ
6962016-03-30 Yao Qi <yao.qi@linaro.org>
697
698 * gdb.reverse/until-precsave.exp: Match function name only.
699 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
700 Move malloc to a condition block.
701 * gdb.reverse/until-reverse.exp: Match function name only.
702
a4105d04
MK
7032016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
704
705 * gdb.trace/ftrace.exp: Set arg0exp for s390.
706 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
707 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
708 variable for GPR 0 instead of assuming it is register 0.
709 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
710 * lib/trace-support.exp: Add s390 registers.
711
bfa6adb9
YQ
7122016-03-29 Yao Qi <yao.qi@linaro.org>
713
714 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
715
1e6697ea
YQ
7162016-03-24 Yao Qi <yao.qi@linaro.org>
717
718 * gdb.reverse/break-reverse.exp: Add quotation mark in the
719 test message.
720
64bcd522
AA
7212016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
722
723 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
724 maintaining separate logic for constructing the output path.
725
7868401b
DB
7262016-03-16 Don Breazeal <donb@codesourcery.com>
727
728 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
729 Retry fork and waitpid on interrupted system call errors.
730 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
731 Use with_timeout_factor to increase timeout by factor of 10.
732
1cafadb4
DB
7332016-03-15 Don Breazeal <donb@codesourcery.com>
734
735 * gdb.cp/scope-err.cc: New test program.
736 * gdb.cp/scope-err.exp: New test script.
737 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
738 lines and "set breakpoint here" comment.
739 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
740 Fixed some whitespace and format issues.
741 * gdb.mi/mi-linespec-err-cp.cc: New test program.
742 * gdb.mi/mi-linespec-err-cp.exp: New test script.
743
81516450
DE
7442016-03-15 Doug Evans <dje@google.com>
745
746 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
747 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
748 All callers updated. Add tests for enums, mixed flags register.
749
aa52b601
DE
7502016-03-15 Doug Evans <dje@google.com>
751
752 * gdb.base/skip.c (main): Call test_skip_file_and_function.
753 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
754
fa4ff313
SM
7552016-03-14 Simon Marchi <simon.marchi@ericsson.com>
756
757 * gdb.base/default.exp: Add $_as_string to the list of expected
758 convenience functions.
759
f2403c39
AB
7602016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
761
762 * gdb.base/maint.exp: New tests for 'maint info line-table'.
763
f2f3ccb9
SM
7642016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
765
766 * gdb.python/py-as-string.exp: New file.
767 * gdb.python/py-as-string.c: New file.
768
00dbd492
PA
7692016-03-09 Pedro Alves <palves@redhat.com>
770
771 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
772 signal" -> "Thread NN received signal" output change.
773 * gdb.threads/ia64-sigill.exp: Likewise.
774 * gdb.threads/linux-dp.exp: Likewise.
775 * gdb.threads/manythreads.exp: Likewise.
776 * gdb.threads/pending-step.exp: Likewise.
777 * gdb.threads/print-threads.exp: Likewise.
778 * gdb.threads/sigstep-threads.exp: Likewise.
779 * gdb.threads/staticthreads.exp: Likewise.
780 * gdb.threads/tls.exp: Likewise.
781
1e6697ea
YQ
7822016-03-09 Pedro Alves <palves@redhat.com>
783
784 * gdb.base/command-line-input.exp: New file.
785
b04fd3be
MK
7862016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
787
788 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
789 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
790 * gdb.trace/pending.exp: Accept leading dot before function name.
791 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
792 * lib/trace-support.exp: Set registers for ppc.
793
98fa59e9
MK
7942016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
795
796 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
797 use it for disassembly; accept .main in addition to main in backtrace.
798
f77198c8
MK
7992016-03-09 Wei-cheng Wang <cole945@gmail.com>
800 Marcin Kościelnicki <koriakin@0x04.net>
801
802 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
803 (gdb_recursion_test_ptr): New global variable.
804 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
805 gdb_recursion_test.
806 (gdb_c_test): Ditto.
807
ba84e0da
MK
8082016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
809
810 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
811 ordering.
812
4366d36e
MK
8132016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
814
815 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
816 (bar): Add bar_start_lbl label.
817 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
818 of foo/bar for emitting DWARF and tracing.
819
5eb264df
SDJ
8202016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
821
822 * analyze-racy-logs.py: Set executable bit.
823
fb6a751f
SDJ
8242016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
825
826 * Makefile.in (DEFAULT_RACY_ITER): New variable.
827 (CHECK_TARGET_TMP): Likewise.
828 (check-single-racy): New rule.
829 (check-parallel-racy): Likewise.
830 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
831 (do-check-parallel-racy): New rule.
832 (check-racy/%.exp): Likewise.
833 * README (Racy testcases): New section.
834 * analyze-racy-logs.py: New file.
835
bdf7e230
DE
8362016-03-03 Doug Evans <dje@google.com>
837
838 * gdb.base/skip.exp: Use with_test_prefix.
839
4719d415
YQ
8402016-03-03 Yao Qi <yao.qi@linaro.org>
841
842 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
843 Invoke step_over_syscall "clone" and break_cond_on_syscall
844 "clone".
845 * gdb.base/step-over-clone.c: New file.
846
ea507862
YQ
8472016-03-03 Yao Qi <yao.qi@linaro.org>
848
849 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
850 code format.
851
8fc8cbda
YQ
8522016-03-03 Yao Qi <yao.qi@linaro.org>
853
854 * gdb.base/disp-step-fork.c: Rename to ...
855 * gdb.base/step-over-fork.c: ... it. New file.
856 * gdb.base/disp-step-vfork.c: Rename to ...
857 * gdb.base/step-over-vfork.c: ... it. New file.
858 * gdb.base/disp-step-syscall.exp: Rename to ...
859 * gdb.base/step-over-syscall.exp: ... it. New file.
860 (disp_step_cross_syscall): Rename to ...
861 (step_over_syscall): ... it.
862
92fa70b0
YQ
8632016-03-03 Yao Qi <yao.qi@linaro.org>
864
865 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
866 If target supports condition evaluation on target, invoke
867 break_cond_on_syscall for fork and vfork.
868
e197ad3c
YQ
8692016-03-03 Yao Qi <yao.qi@linaro.org>
870
871 * gdb.base/disp-step-syscall.exp: Don't invoke
872 support_displaced_stepping.
873 (disp_step_cross_syscall): Test with displaced stepping off and
874 on if supported.
875
0b47da9f
YQ
8762016-03-03 Yao Qi <yao.qi@linaro.org>
877
878 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
879 proc.
880 (setup): New proc.
881 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
882 and setup.
883
065ab6dc
BH
8842016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
885
886 * gdb.fortran/vla-history.exp: Remove breakpoint.
887
07e448ad 8882016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
889
890 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
891
9ac2d526 8922016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
893
894 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
895
17807369
BH
8962016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
897
898 * gdb.mi/vla.f90: Nullify pointer after declaration.
899
86e501af
PA
9002016-03-01 Pedro Alves <palves@redhat.com>
901
902 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
903
1e903e32
PA
9042016-03-01 Pedro Alves <palves@redhat.com>
905
906 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
907 before anything else.
908 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
909 _GNU_SOURCE here.
910 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
911 before anything else.
912 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
913
6ccb54e2
PA
9142016-03-01 Pedro Alves <palves@redhat.com>
915
916 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
917
30ca9da1
YQ
9182016-03-01 Yao Qi <yao.qi@linaro.org>
919
920 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
921 prepare_for_testing.
922
dc856b38
YQ
9232016-03-01 Yao Qi <yao.qi@linaro.org>
924
925 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
926
4a932159
AA
9272016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
928
929 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
930 manually constructing the output path.
931
f2489477
AA
9322016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
933
934 * gdb.arch/s390-stackless.S: New.
935 * gdb.arch/s390-stackless.exp: New.
936
38899f16
IB
9372016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
938
939 * gdb.dlang/circular.c: New file.
940 * gdb.dlang/circular.exp: New file.
941
9fde51ed
YQ
9422016-02-26 Yao Qi <yao.qi@linaro.org>
943
944 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
945 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
946 (testcases): Update.
947
ce90fefe
YQ
9482016-02-26 Yao Qi <yao.qi@linaro.org>
949
950 * gdb.reverse/aarch64.c: Rename to ...
951 * gdb.reverse/insn-reverse.c: ... it.
952 * gdb.reverse/aarch64.exp: Rename to ...
953 * gdb.reverse/insn-reverse.exp: ... it.
954
3263bceb
YQ
9552016-02-26 Yao Qi <yao.qi@linaro.org>
956
957 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
958 (testcase_ftype): New.
959 (testcases): New array.
960 (n_testcases): New.
961 (main): Call each element in testcases.
962 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
963 (read_testcase): New.
964 Do the tests in a loop.
965
6cb59ff1
YQ
9662016-02-25 Yao Qi <yao.qi@linaro.org>
967
968 * gdb.base/branches.c: Remove.
969
ae91f625
MK
9702016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
971
972 PR gdb/13808
973 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
974
678b48b7
MK
9752016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
976
977 * gdb.trace/ftrace.exp: Remove unnecessary target check.
978
7337a6f2
MK
9792016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
980
981 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
982 change x86_64 call_insn to 'callq'.
983
861ca91f
AT
9842016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
985
986 * gdb.trace/tfile-avx.c: Move to...
987 * gdb.trace/tracefile-pseudo-reg.c: Here.
988 * gdb.trace/tfile-avx.exp: Move to...
989 * gdb.trace/tracefile-pseudo-reg.exp: Here.
990
bf74e428
GB
9912016-02-24 Gary Benson <gbenson@redhat.com>
992
993 * gdb.base/attach-pie-noexec.exp: Do not expect an error
994 message on attach.
995
cce0e923
DE
9962016-02-23 Doug Evans <dje@google.com>
997
998 * gdb.base/skip.c (test_skip): New function.
999 (end_test_skip_file_and_function): New function.
1000 (test_skip_file_and_function): New function.
1001 * gdb.base/skip1.c (test_skip): New function.
1002 (skip1_test_skip_file_and_function): New function.
1003 * gdb.base/skip.exp: Add tests for new skip options.
1004 * gdb.base/skip-solib.exp: Update expected output.
1005 * gdb.perf/skip-command.cc: New file.
1006 * gdb.perf/skip-command.exp: New file.
1007 * gdb.perf/skip-command.py: New file.
1008
4000e47e
MK
10092016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1010
1011 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1012 info registers pattern.
1013
24f75ead
IB
10142016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1015
1016 * lib/future.exp: Add D support.
1017 (gdb_find_gdc): New proc.
1018 (gdb_default_target_compile): Add D support.
1019
fbb7bcbe
WW
10202016-02-18 Wei-cheng Wang <cole945@gmail.com>
1021
1022 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1023 user+system time.
1024 (trace_speed_test): Determine the iteration count for a time
1025 between 15..30 seconds.
1026
012b3a21
WT
10272016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1028
1029 * gdb.arch/i386-mpx-sigsegv.c: New file.
1030 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1031 * gdb.arch/i386-mpx-simple_segv.c: New file.
1032 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1033
2d5189bd
YQ
10342016-02-18 Yao Qi <yao.qi@linaro.org>
1035
1036 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1037 Don't call setup_kfail.
1038
40fb20d0
YQ
10392016-02-18 Yao Qi <yao.qi@linaro.org>
1040
1041 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1042 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1043
21b1f8d2
DE
10442016-02-16 Doug Evans <dje@google.com>
1045
1046 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1047 * gdb.base/skip1.c: Ditto.
1048 * gdb.base/skip.exp: Whitespace cleanup.
1049
4041ed77
DB
10502016-02-16 Don Breazeal <donb@codesourcery.com>
1051
1052 PR remote/19496
1053 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1054 Remove kfail for PR remote/19496.
1055
c4ef31bf
SM
10562016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1057
1058 * lib/gdb.exp (standard_temp_file): Return a path specific to
1059 the runtest invocation.
1060
266b65b3
SM
10612016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1062
1063 * gdb.trace/save-trace.exp: Change relative path to be in the
1064 standard output directory.
1065
a7a0a6a9
JK
10662016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1067
1068 * gdb.arch/i386-prologue.c: Add missing prototypes.
1069
c99dbb42
JK
10702016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1071
1072 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1073 * gdb.arch/i386-prologue.exp: Likewise.
1074 * gdb.arch/i386-size.exp: Likewise.
1075
aa480355
SM
10762016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1077
1078 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1079 define object file path.
1080 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1081 file path.
1082 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1083 standard_output_file to define binfile.
1084
ba881f50
JK
10852016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1086
1087 Fix compatibility with recent gfortran-5.3.1.
1088 * gdb.fortran/vla-history.exp (print vla1 allocated)
1089 (print vla2 allocated, print $2, print $3): Remove
1090 (print $4): Rename to ...
1091 (print $2): ... here.
1092 (print $9): Rename to ...
1093 (print $5): ... here.
1094 (print $10): Rename to ...
1095 (print $6): ... here.
1096 * gdb.fortran/vla.f90: Add pvla initialization.
1097
e9fb005c
JK
10982016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1099
1100 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1101 New test.
1102 * gdb.fortran/vla-value-sub.exp: Likewise.
1103
e44e00ff
MK
11042016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1105
1106 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1107
97e94151
SM
11082016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1109
1110 * i386-biarch-core.exp: Define corefile using
1111 standard_output_file.
1112
01113bc1
YQ
11132016-02-12 Yao Qi <yao.qi@linaro.org>
1114
1115 * gdb.arch/arm-single-step-kernel-helper.c: New.
1116 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1117
33b4777c
MM
11182016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1119
1120 * gdb.btrace/tailcall-only.exp: New.
1121 * gdb.btrace/tailcall-only.c: New.
1122 * gdb.btrace/x86_64-tailcall-only.S: New.
1123 * gdb.btrace/i686-tailcall-only.S: New.
1124
acc23c11
PA
11252016-02-11 Pedro Alves <palves@redhat.com>
1126
1127 * README (Parallel testing): Add missing double quotes.
1128
e352bf0a
PA
11292016-02-11 Pedro Alves <palves@redhat.com>
1130
1131 * README (Parallel testing): New section.
1132 (GDB_PARALLEL): Rewrite.
1133 (FORCE_PARALLEL): Document.
1134
9f5fed78
MK
11352016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1136
1137 * gdb.trace/tfile-avx.c: New test.
1138 * gdb.trace/tfile-avx.exp: New test.
1139
9ef9e6a6
KS
11402016-02-09 Keith Seitz <keiths@redhat.com>
1141
1142 PR breakpoints/19546
1143 * gdb.base/infcall-exec.c: New file.
1144 * gdb.base/infcall-exec2.c: New file.
1145 * gdb.base/infcall-exec.exp: New file.
1146
a96e36da
KS
11472016-02-09 Keith Seitz <keiths@redhat.com>
1148
1149 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1150 (toplevel): Call test_bkpt_address.
1151
9f61929f
KS
11522016-02-09 Keith Seitz <keiths@redhat.com>
1153
1154 PR python/19506
1155 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1156 (toplevel): Call test_bkpt_address.
1157
1e94266c
SM
11582016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1159
1160 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1161 to AC_OUTPUT.
1162 * configure: Regenerate.
1163
2a7f3dff
PA
11642016-02-09 Pedro Alves <palves@redhat.com>
1165
1166 PR breakpoints/19548
1167 * gdb.base/execl-update-breakpoints.c (some_function): New
1168 function.
1169 (main): Call it.
1170 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1171 Tighten expected GDB output.
1172
2151ccc5
SM
11732016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1174
1175 * Makefile.in (ALL_SUBDIRS): Remove.
1176 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1177 (distclean maintainer-clean realclean): Likewise.
1178 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1179 * configure: Regenerate.
1180 * gdb.ada/Makefile.in: Delete.
1181 * gdb.arch/Makefile.in: Likewise.
1182 * gdb.asm/Makefile.in: Likewise.
1183 * gdb.base/Makefile.in: Likewise.
1184 * gdb.btrace/Makefile.in: Likewise.
1185 * gdb.cell/Makefile.in: Likewise.
1186 * gdb.compile/Makefile.in: Likewise.
1187 * gdb.cp/Makefile.in: Likewise.
1188 * gdb.disasm/Makefile.in: Likewise.
1189 * gdb.dlang/Makefile.in: Likewise.
1190 * gdb.dwarf2/Makefile.in: Likewise.
1191 * gdb.fortran/Makefile.in: Likewise.
1192 * gdb.gdb/Makefile.in: Likewise.
1193 * gdb.go/Makefile.in: Likewise.
1194 * gdb.guile/Makefile.in: Likewise.
1195 * gdb.java/Makefile.in: Likewise.
1196 * gdb.linespec/Makefile.in: Likewise.
1197 * gdb.mi/Makefile.in: Likewise.
1198 * gdb.modula2/Makefile.in: Likewise.
1199 * gdb.multi/Makefile.in: Likewise.
1200 * gdb.objc/Makefile.in: Likewise.
1201 * gdb.opencl/Makefile.in: Likewise.
1202 * gdb.opt/Makefile.in: Likewise.
1203 * gdb.pascal/Makefile.in: Likewise.
1204 * gdb.perf/Makefile.in: Likewise.
1205 * gdb.python/Makefile.in: Likewise.
1206 * gdb.reverse/Makefile.in: Likewise.
1207 * gdb.server/Makefile.in: Likewise.
1208 * gdb.stabs/Makefile.in: Likewise.
1209 * gdb.threads/Makefile.in: Likewise.
1210 * gdb.trace/Makefile.in: Likewise.
1211 * gdb.xml/Makefile.in: Likewise.
1212 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1213 GDB_PARALLEL.
1214 (standard_output_file): Remove check for GDB_PARALLEL, always
1215 return path in outputs/$subdir/$testname.
1216
437277d4
SM
12172016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1218
1219 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1220 (site.exp): Assign abs_srcdir to tcl's srcdir.
1221
31d913c7
YQ
12222016-02-04 Yao Qi <yao.qi@linaro.org>
1223
1224 * gdb.base/foll-exec-mode.c: Include limits.h.
1225 (main): Add parameters argc and argv. Get directory from
1226 argv[0].
1227 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1228 compilation.
1229 * gdb.base/foll-exec.c: Include limits.h.
1230 (main): Add parameters argc and argv.
1231 Get directory from argv[0].
1232 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1233 Adjust tests on the number of lines as source code changed.
1234 * gdb.base/foll-vfork-exit.c: Include limits.h.
1235 (main): Add one line of statement before vfork.
1236 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1237 (main): Add parameters argc and argv. Get directory from
1238 argv[0].
1239 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1240 (setup_gdb): Set tbreak to skip some source lines.
1241 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1242 (main): Add parameters argc and argv. Get directory from
1243 argv[0].
1244 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1245 compilation.
1246 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1247 (main): Add parameters argc and argv. Get directory from
1248 argv[0].
1249 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1250 compilation.
1251
9482b9fb
DE
12522016-02-01 Doug Evans <dje@google.com>
1253
1254 * gdb.base/skip.exp: Clean up multiple references to same test name.
1255
6b2e4f10
PA
12562016-02-01 Pedro Alves <palves@redhat.com>
1257
ccb6afd6 1258 PR remote/19496
6b2e4f10
PA
1259 * gdb.threads/forking-threads-plus-breakpoint.exp
1260 (displaced_stepping_supported): New global.
1261 (probe_displaced_stepping_support): New procedure.
1262 (do_test): Add 'displaced' parameter, and use it.
1263 (top level): Check for displaced stepping support. Add displaced
1264 stepping on/off testing axis.
1265
37a8db1a
AB
12662016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1267
1268 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1269 pointer. Don't perform further tests on the unassociated pointer
1270 if the first test fails.
1271
5fdf6324
AB
12722016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1273
1274 * gdb.base/max-value-size.c: New file.
1275 * gdb.base/max-value-size.exp: New file.
1276 * gdb.base/huge.exp: Disable max-value-size for this test.
1277
935c6144
IB
12782016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1279
1280 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1281
7fe8399d
YQ
12822016-01-28 Yao Qi <yao.qi@linaro.org>
1283
1284 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1285
a2077e25
PA
12862016-01-25 Pedro Alves <palves@redhat.com>
1287
1288 PR threads/19461
1289 * gdb.base/fork-running-state.c: New file.
1290 * gdb.base/fork-running-state.exp: New file.
1291
1d2736d4
PA
12922016-01-25 Pedro Alves <palves@redhat.com>
1293
1294 PR gdb/19494
1295 * gdb.base/catch-fork-kill.c: New file.
1296 * gdb.base/catch-fork-kill.exp: New file.
1297
f1da4b11
PA
12982016-01-25 Pedro Alves <palves@redhat.com>
1299
1300 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1301 Delete, moved to lib/gdb.exp.
1302 * gdb.threads/forking-threads-plus-breakpoint.exp
1303 (foreach_with_prefix): Likewise.
1304 * gdb.threads/process-dies-while-handling-bp.exp
1305 (foreach_with_prefix): Likewise.
1306 * lib/gdb.exp (foreach_with_prefix): New procedure.
1307
45f38546
MK
13082016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1309
1310 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1311 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1312
dc29a1ce
MK
13132016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1314
1315 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1316 endian targets.
1317
092127d7
JK
13182016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1319 Pedro Alves <palves@redhat.com>
1320
1321 Fix testsuite compatibility with Guile.
1322 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1323 number.
1324
31d765d3
JK
13252016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1326
1327 Fix testsuite compatibility with Guile.
1328 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1329 (thread 1): New test for backtrace through signal handler.
1330
1ac78c04
YQ
13312016-01-22 Yao Qi <yao.qi@linaro.org>
1332
1333 PR testsuite/19491
1334 * gdb.base/multi-forks.c: Include
1335 ../lib/unbuffer_output.c
1336 (main): Call gdb_unbuffer_output.
1337
4f5946a8
DE
13382016-01-21 Doug Evans <dje@google.com>
1339
1340 * lib/ada.exp (gdb_compile_ada): Fix typo.
1341
305e13e6
JB
13422016-01-21 Joel Brobecker <brobecker@adacore.com>
1343
1344 * gdb.base/break-fun-addr.exp: New file.
1345 * gdb.base/break-fun-addr1.c: New file.
1346 * gdb.base/break-fun-addr2.c: New file.
1347
5f5dfff6
SM
13482016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1349
1350 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1351 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1352 enum flag values.
1353
fd356fa2
AA
13542016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1355
1356 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1357 when GDB can not set the vector return value. Add more comments
1358 for clarification.
1359
9df22175
AT
13602016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1361
1362 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1363 command.
1364
41d1845e
SM
13652016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1366
1367 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1368
01ac6840
SM
13692016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1370
1371 * Makefile.in (check-single): Pass --status to runtest.
1372 (check/%.exp): Likewise.
1373
13742016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1375
1376 * Makefile.in (check-parallel): Propagate return code from make
1377 do-check-parallel.
1378
bd0a71fa
MK
13792016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1380
1381 * gdb.trace/ftrace.exp: Fix expected message on continue.
1382 * gdb.trace/pending.exp: Fix expected message on continue.
1383 * gdb.trace/trace-break.exp: Fix expected message on continue.
1384
8bcbad33
SM
13852016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1386
1387 * lib/gdb.exp (gdb_test): Remove unused global references.
1388
f303dbd6
PA
13892016-01-18 Pedro Alves <palves@redhat.com>
1390
1391 * gdb.base/async-shell.exp: Adjust expected output.
1392 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1393 * gdb.base/siginfo-thread.exp: Adjust expected output.
1394 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1395 * gdb.java/jnpe.exp: Adjust expected output.
1396 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1397 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1398 * gdb.threads/leader-exit.exp: Adjust expected output.
1399 * gdb.threads/manythreads.exp: Adjust expected output.
1400 * gdb.threads/pthreads.exp: Adjust expected output.
1401 * gdb.threads/schedlock.exp: Adjust expected output.
1402 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1403 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1404 expected output.
1405 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1406 output.
1407 * gdb.threads/sigthread.exp: Adjust expected output.
1408 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1409
b2789696
YQ
14102016-01-18 Yao Qi <yao.qi@linaro.org>
1411
1412 * gdb.guile/scm-section-script.c: Replace @progbits with
1413 %progbits.
1414 * gdb.python/py-section-script.c: Likewise.
1415
71ef29a8
PA
14162016-01-15 Pedro Alves <palves@redhat.com>
1417
1418 * gdb.multi/tids.exp: Test star wildcard ranges.
1419
3f5b7598
PA
14202016-01-15 Pedro Alves <palves@redhat.com>
1421
1422 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1423 command from "thread apply" invocation.
1424 (thr_apply_info_thr_invalid): Default the expected output to the
1425 input tid list.
1426 (top level): Add tests that use convenience variables. Add tests
1427 for "thread apply" with a valid TID list, but missing the command.
1428
663f6d42
PA
14292016-01-13 Pedro Alves <palves@redhat.com>
1430
1431 * gdb.base/default.exp: Expect $_gthread as well.
1432 * gdb.multi/tids.exp: Test $_gthread.
1433 * gdb.threads/thread-specific.exp: Test $_gthread.
1434
c84f6bbf
PA
14352016-01-13 Pedro Alves <palves@redhat.com>
1436
1437 * gdb.multi/tids.exp: Test "info threads -gid".
1438
22a02324
PA
14392016-01-13 Pedro Alves <palves@redhat.com>
1440
1441 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1442 Breakpoint.thread.
1443 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1444
5d5658a1
PA
14452016-01-07 Pedro Alves <palves@redhat.com>
1446
1447 * gdb.base/break.exp: Adjust to output changes.
1448 * gdb.base/hbreak2.exp: Likewise.
1449 * gdb.base/sepdebug.exp: Likewise.
1450 * gdb.base/watch_thread_num.exp: Likewise.
1451 * gdb.linespec/keywords.exp: Likewise.
1452 * gdb.multi/info-threads.exp: Likewise.
1453 * gdb.threads/thread-find.exp: Likewise.
1454 * gdb.multi/tids.c: New file.
1455 * gdb.multi/tids.exp: New file.
1456
84654457
PA
14572016-01-13 Pedro Alves <palves@redhat.com>
1458
1459 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1460
e3940304
PA
14612016-01-13 Pedro Alves <palves@redhat.com>
1462
1463 * gdb.base/default.exp: Expect $_inferior as well.
1464 * gdb.multi/base.exp: Test $_inferior.
1465
a911d87a
PA
14662016-01-13 Pedro Alves <palves@redhat.com>
1467
1468 PR breakpoints/19388
1469 * gdb.base/catch-signal-siginfo-cond.c: New file.
1470 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1471
82075af2
JS
14722016-01-12 Josh Stone <jistone@redhat.com>
1473 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1474
1475 * gdb.base/catch-syscall.c (do_execve): New variable.
1476 (main): Conditionally trigger an execve.
1477 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1478 (test_catch_syscall_execve): New, check entry/return across execve.
1479 (do_syscall_tests): Call test_catch_syscall_execve.
1480
e46eeedd
PA
14812016-01-12 Pedro Alves <palves@redhat.com>
1482
1483 * gdb.base/random-signal.exp (do_test): New procedure, with body
1484 of testcase moved in.
1485
01d8c27e
JK
14862016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1487 Pedro Alves <palves@redhat.com>
1488
1489 * gdb.base/funcargs.exp (finish from indirectly called function):
1490 Reintroduce the case for 'First'.
1491
9a706302
JK
14922016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1493 Pedro Alves <palves@redhat.com>
1494
1495 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1496 (tcatch_vfork_then_child_follow_exec)
1497 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1498 identification.
1499
c0ecb95f
JK
15002016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1501
1502 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1503 and repeats to unlimited.
1504 * gdb.python/py-value.exp: Likewise.
1505 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1506 and repeats to unlimited.
1507
6cfc1fcb
JK
15082016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1509
1510 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1511 and reordering the functions.
1512 * gdb.multi/hangout.c: Likewise.
1513 * gdb.multi/hello.c: Likewise.
1514
582a1b00
SM
15152016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1516
1517 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1518 absolute.
1519 (SingleStatisticTestResult.report): Use dict.keys instead of
1520 dict.iterkeys.
1521
79bc59cb
PA
15222016-01-06 Pedro Alves <palves@redhat.com>
1523
1524 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1525
43368e1d
MM
15262016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1527
1528 * gdb.btrace/dlopen.exp: New.
1529 * gdb.btrace/dlopen.c: New.
1530 * gdb.btrace/dlopen-dso.c: New.
1531
79fad5b8
SL
15322015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1533
1534 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1535 PATTERN argument is optional.
1536
ab8314b3
JB
15372015-12-24 Joel Brobecker <brobecker@adacore.com>
1538
1539 * lib/ada.exp (target_compile_ada_from_dir): New function.
1540 (gdb_compile_ada): Reimplement avoiding the use of project files.
1541 * gdb.ada/gnat_ada.gpr: Delete.
1542 * gdb.ada/cond_lang.exp: Adjust test to make path before
1543 filename optional.
1544 * gdb.ada/small_reg_param.exp: Likewise.
1545
fe33faff
SM
15462015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1547
1548 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1549
6d265cb4
TP
15502015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1551
1552 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1553 case.
1554
10125099
SM
15552015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1556
1557 * gdb.base/break.exp: Remove dead code.
1558 * gdb.base/sepdebug.exp: Likewise.
1559
3ca22649
SM
15602015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1561
1562 * gdb.asm/asm-source.exp: Remove HP-UX references.
1563 * gdb.base/annota1.exp: Likewise.
1564 * gdb.base/annota3.exp: Likewise.
1565 * gdb.base/attach.exp: Likewise.
1566 * gdb.base/bigcore.exp: Likewise.
1567 * gdb.base/break.exp: Likewise.
1568 * gdb.base/call-ar-st.exp: Likewise.
1569 * gdb.base/callfuncs.exp: Likewise.
1570 * gdb.base/catch-fork-static.exp: Likewise.
1571 * gdb.base/display.exp: Likewise.
1572 * gdb.base/foll-exec-mode.exp: Likewise.
1573 * gdb.base/foll-exec.exp: Likewise.
1574 * gdb.base/foll-fork.exp: Likewise.
1575 * gdb.base/foll-vfork.exp: Likewise.
1576 * gdb.base/funcargs.exp: Likewise.
1577 * gdb.base/hbreak2.exp: Likewise.
1578 * gdb.base/inferior-died.exp: Likewise.
1579 * gdb.base/interrupt.exp: Likewise.
1580 * gdb.base/multi-forks.exp: Likewise.
1581 * gdb.base/nodebug.exp: Likewise.
1582 * gdb.base/sepdebug.exp: Likewise.
1583 * gdb.base/solib1.c: Likewise.
1584 * gdb.base/step-test.exp: Likewise.
1585 * gdb.mi/non-stop.c: Likewise.
1586 * gdb.mi/pthreads.c: Likewise.
1587 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1588 * gdb.threads/pthreads.c: Likewise.
1589 * gdb.threads/staticthreads.exp: Likewise.
1590 * lib/future.exp: Likewise.
1591 * lib/gdb.exp: Likewise.
1592 * gdb.base/so-indr-cl.c: Remove.
1593 * gdb.base/so-indr-cl.exp: Likewise.
1594 * gdb.base/solib.c: Likewise.
1595 * gdb.base/solib.exp: Likewise.
1596 * gdb.base/solib2.c: Likewise.
1597
b6304613
SM
15982015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1599
1600 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1601 * gdb.base/call-ar-st.exp: Likewise.
1602 * gdb.base/callfuncs.exp: Likewise.
1603 * gdb.base/condbreak.exp: Likewise.
1604 * gdb.base/constvars.exp: Likewise.
1605 * gdb.base/hbreak2.exp: Likewise.
1606 * gdb.base/langs.exp: Likewise.
1607 * gdb.base/list.exp: Likewise.
1608 * gdb.base/long_long.exp: Likewise.
1609 * gdb.base/ptype.exp: Likewise.
1610 * gdb.base/scope.exp: Likewise.
1611 * gdb.base/signals.exp: Likewise.
1612 * gdb.base/so-impl-ld.exp: Likewise.
1613 * gdb.base/varargs.exp: Likewise.
1614 * gdb.base/volatile.exp: Likewise.
1615 * gdb.base/whatis.exp: Likewise.
1616 * gdb.cp/cplusfuncs.exp: Likewise.
1617 * gdb.cp/inherit.exp: Likewise.
1618 * gdb.cp/local.exp: Likewise.
1619 * gdb.cp/member-ptr.exp: Likewise.
1620 * gdb.cp/method.exp: Likewise.
1621 * gdb.cp/overload.exp: Likewise.
1622 * gdb.cp/templates.exp: Likewise.
1623 * gdb.stabs/weird.exp: Likewise.
1624 * lib/compiler.c: Likewise.
1625 * lib/compiler.cc: Likewise.
1626 * lib/cp-support.exp: Likewise.
1627 * lib/gdb.exp: Likewise.
1628
bf401b07
SM
16292015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1630
1631 * configure.ac: Remove HP-UX case.
1632 * configure: Regenerate.
1633
aff9c0f8
SM
16342015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1635
1636 * lib/gdb.exp (gdb_compile): Add function doc.
1637
a6904d5a
PA
16382015-12-17 Pedro Alves <palves@redhat.com>
1639
1640 PR threads/19354
1641 * gdb.multi/info-threads.exp: New file.
1642
a22279dd
YQ
16432015-12-15 Yao Qi <yao.qi@linaro.org>
1644
1645 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1646 is aarch64*-*-*.
1647
0588c796
SL
16482015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1649
1650 * gdb.base/history-duplicates.exp: Skip if no readline support.
1651
5d978e17
SL
16522015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1653
1654 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1655
7e763b86
SL
16562015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1657
1658 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1659
87a3a92c
SL
16602015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1661
1662 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1663 ctrl-C if nointerrupts target property is set.
1664 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1665 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1666 * gdb.base/paginate-bg-execution.exp: Likewise.
1667 * gdb.base/paginate-execution-startup.exp: Likewise.
1668 * gdb.base/random-signal.exp: Likewise.
1669 * gdb.base/range-stepping.exp: Likewise.
1670 * gdb.cp/annota2.exp: Likewise.
1671 * gdb.cp/annota3.exp: Likewise.
1672 * gdb.gdb/selftest.exp: Likewise.
1673 * gdb.threads/continue-pending-status.exp: Likewise.
1674 * gdb.threads/leader-exit.exp: Likewise.
1675 * gdb.threads/manythreads.exp: Likewise.
1676 * gdb.threads/pthreads.exp: Likewise.
1677 * gdb.threads/schedlock.exp: Likewise.
1678 * gdb.threads/sigthread.exp: Likewise.
1679
a8f077dc
DB
16802015-12-11 Don Breazeal <donb@codesourcery.com>
1681
1682 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1683 remote.
1684 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1685 * gdb.base/foll-exec.exp (main): Enable for target remote.
1686 * gdb.base/foll-fork.exp (main): Likewise.
1687 * gdb.base/foll-vfork.exp (main): Likewise.
1688 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1689 (proc continue_to_exit_bp_loc): Use clean_restart.
1690 * gdb.base/pie-execl.exp (main): Disable for target remote.
1691 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1692 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1693 * gdb.threads/execl.exp (main): Likewise.
1694 * gdb.threads/fork-child-threads.exp (main): Likewise.
1695 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1696 remote.
1697 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1698 remote.
1699 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1700 pid.tid style ptids, instead of just tid.
1701 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1702 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1703 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1704 ptids, instead of just tid.
1705
3b2464a8
AB
17062015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1707
1708 * gdb.base/list.exp (test_list_forward): Add end of file error
1709 test.
1710 (test_repeat_list_command): Add end of file error test.
1711 (test_list_backwards): Add beginning of file error test.
1712
a0def019
AB
17132015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1714
1715 * gdb.base/list.exp (test_list_invalid_args): New function,
1716 defined, and called.
1717
5c000dff
AB
17182015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1719
1720 * gdb.base/list.exp (test_list): Make test names unique.
1721
f1637ebe
YQ
17222015-12-11 Yao Qi <yao.qi@linaro.org>
1723
1724 * gdb.base/coremaker2.c: Remove.
1725
36d6fc0a
PA
17262015-12-10 Pedro Alves <palves@redhat.com>
1727
1728 * gdb.multi/base.exp: Remove stale "spaces" references.
1729
762f7747
PA
17302015-12-10 Pedro Alves <palves@redhat.com>
1731
1732 * gdb.multi/base.exp: Don't use nowarnings.
1733 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1734 * gdb.multi/hangout.c: Include stdio.h.
1735 * gdb.multi/hello.c: Include stdlib.h.
1736 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1737 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1738 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1739
28d2bfb9
AB
17402015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1741
1742 * gdb.dwarf2/dw2-ranges-base.c: New file.
1743 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1744 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1745 support additional line table, and debug ranges generation.
1746 (Dwarf::ranges): New function, generate .debug_ranges.
1747 (Dwarf::lines): Support generating simple line table programs.
1748 (Dwarf::assemble): Initialise new namespace variables.
1749
5fc2beac
KB
17502015-12-09 Kevin Buettner <kevinb@redhat.com>
1751
1752 * gdb.base/async.exp (proc test_background): Add case for
1753 asynchronous execution not supported.
1754
1c35a88f
LM
17552015-12-09 Luis Machado <lgustavo@codesourcery.com>
1756
1757 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1758 format and change test names to make them unique.
1759
b593e3d9
RK
17602015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1761 Pedro Alves <pedro@redhat.com>
1762
1763 PR gdb/18702
1764 Add checking of floatformats setup on x86_64 hosts.
1765 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1766 (smallval, bigval): New labels/constants.
1767 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1768 float" after loading bigval and smallval.
1769
d72413e6
PMR
17702015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1771
1772 * gdb.ada/fun_overload_menu.exp: New testcase.
1773 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1774
ece66d65
JS
17752015-12-04 Josh Stone <jistone@redhat.com>
1776
1777 * gdb.base/catch-fork-static.exp: New.
1778
41d0efca
YQ
17792015-12-03 Yao Qi <yao.qi@linaro.org>
1780
1781 * gdb.base/sizeof.c: Don't include stdio.h and
1782 ../lib/unbuffer_output.c.
1783 (main): New variable 'size' and 'value'. Remove printf and
1784 gdb_unbuffer_output. Assign return value to size and value.
1785 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1786 at the beginning.
1787 (check_sizeof): Check the result by printing variable 'size'.
1788 (check_valueof): Check the result by printing variable 'value'.
1789
99fd02d9
YQ
17902015-12-01 Yao Qi <yao.qi@linaro.org>
1791
1792 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1793 for aarch64*-*-linux* target.
1794
f2faf941
PA
17952015-11-30 Pedro Alves <palves@redhat.com>
1796
1797 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1798
04bf20c5
PA
17992015-11-30 Pedro Alves <palves@redhat.com>
1800
1801 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1802 Handle non-stop mode vCont replies.
1803
09df4675
PA
18042015-11-30 Pedro Alves <palves@redhat.com>
1805
1806 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1807 prepare_for_testing. Start gdb with "set non-stop on" appended to
1808 GDBFLAGS. Lax expected stop output.
1809
58b584af
YQ
18102015-11-27 Yao Qi <yao.qi@linaro.org>
1811
1812 * gdb.arch/arm-neon.exp: New.
1813 * gdb.arch/arm-neon.c: New.
1814
dfcb77a8
YQ
18152015-11-27 Yao Qi <yao.qi@linaro.org>
1816
1817 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1818
88e8ec1b
YQ
18192015-11-27 Yao Qi <yao.qi@linaro.org>
1820
1821 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1822 frames-invalid annotation.
1823
bfde72c2
YQ
18242015-11-27 Yao Qi <yao.qi@linaro.org>
1825
1826 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1827
f6512a69
SM
18282015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1829
1830 * gdb.threads/names.exp: New file.
1831 * gdb.threads/names.c: New file.
1832 * README: Mention gdb,no_thread_names.
1833
46a3515b
MM
18342015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1835
1836 PR 19297
1837 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1838 support" error.
1839
62147a22
PA
18402015-11-24 Pedro Alves <palves@redhat.com>
1841
1842 PR 17539
1843 * gdb.base/display.exp: Expect displays to be sorted in ascending
1844 order. Use multi_line.
1845 * gdb.base/solib-display.exp: Likewise.
1846
2f341b6e
PA
18472015-11-24 Pedro Alves <palves@redhat.com>
1848
1849 PR 17539
1850 * gdb.base/display.exp: Expect displays to be sorted in ascending
1851 order. Use multi_line.
1852 * gdb.base/solib-display.exp: Likewise.
1853
7e0aa6aa
PA
18542015-11-24 Pedro Alves <palves@redhat.com>
1855
1856 PR 17539
1857 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1858 threads in ascending order.
1859 * gdb.base/foll-fork.exp: Likewise.
1860 * gdb.base/foll-vfork.exp: Likewise.
1861 * gdb.base/multi-forks.exp: Likewise.
1862 * gdb.mi/mi-nonstop.exp: Likewise.
1863 * gdb.mi/mi-nsintrall.exp: Likewise.
1864 * gdb.multi/base.exp: Likewise.
1865 * gdb.multi/multi-arch.exp: Likewise.
1866 * gdb.python/py-inferior.exp: Likewise.
1867 * gdb.threads/break-while-running.exp: Likewise.
1868 * gdb.threads/execl.exp: Likewise.
1869 * gdb.threads/gcore-thread.exp: Likewise.
1870 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1871 * gdb.threads/kill.exp: Likewise.
1872 * gdb.threads/linux-dp.exp: Likewise.
1873 * gdb.threads/multiple-step-overs.exp: Likewise.
1874 * gdb.threads/next-bp-other-thread.exp: Likewise.
1875 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1876 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1877 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1878 * gdb.threads/thread-find.exp: Likewise.
1879 * gdb.threads/tls.exp: Likewise.
1880 * lib/mi-support.exp (mi_reverse_list): Delete.
1881 (mi_check_thread_states): No longer reverse list.
1882
2cc57ad8
PA
18832015-11-24 Pedro Alves <palves@redhat.com>
1884
1885 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1886 use lowercase.
1887
c93e8391
SM
18882015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1889
1890 * gdb.trace/actions.c: Include trace-common.h.
1891 (main): Add a location for a fast tracepoint.
1892 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1893 the normal tracepoints.
1894 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1895
045ccf91
SM
18962015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1897
1898 * save-trace.exp: Factor out code to these...
1899 (gdb_save_tracepoints): New.
1900 (gdb_load_tracepoints): New.
1901 (do_save_load_test): New.
1902
5506f9f6
KB
19032015-11-23 Kevin Buettner <kevinb@redhat.com>
1904
1905 * gdb.base/asmlabel.exp: New test.
1906 * gdb.base/asmlabel.c: New test case.
1907
16c3b12f
JB
19082015-11-23 Joel Brobecker <brobecker@adacore.com>
1909
1910 * gdb.base/wrong_frame_bt_full-main.c: New file.
1911 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1912 * gdb.base/wrong_frame_bt_full.exp: New file.
1913
155bfbd3
JB
19142015-11-23 Joel Brobecker <brobecker@adacore.com>
1915
1916 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1917
bb097445
JM
19182015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1919
206853a0 1920 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
1921 pstate register when comparing registers values in
1922 sparc64-*-linux-gnu targets to avoid spurious differences.
1923
9c88ed8f
JM
19242015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1925
206853a0 1926 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 1927
96161e25
SL
19282015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1929
1930 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1931 as type argument to gdb_compile.
1932 * gdb.base/nested-subp2.exp: Likewise.
1933 * gdb.base/nested-subp3.exp: Likewise.
1934
340c2830
DV
19352015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1936
1937 * lib/dwarf.exp (_note): Fix left shift of negative value.
1938 * gdb.trace/trace-condition.exp: Likewise.
1939
c1862d0f
YQ
19402015-11-13 Yao Qi <yao.qi@linaro.org>
1941
1942 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1943 comments about d10v.
1944 (test_scalar_returns): Likewise.
1945 * gdb.base/d10v.ld: Remove.
1946 * gdb.base/overlays.exp: Remove the target triplet checking for
1947 d10v-*-*.
1948 * gdb.base/structs.exp (test_struct_returns): Remove the
1949 comments about d10v.
1950 (test_struct_calls): Likewise.
1951
77ae9c19
YQ
19522015-11-13 Yao Qi <yao.qi@linaro.org>
1953
1954 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1955 * gdb.base/gnu_vector.c: Don't include stdio.h.
1956 (main): Don't print res and call add_some_intvecs.
1957
430e004e
MK
19582015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1959
1960 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1961 macro.
1962 (func5): Removed.
1963 (func4): Use FAST_TRACEPOINT_LABEL.
1964 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1965 macro.
1966 (func): Removed.
1967 (thread_function): Use FAST_TRACEPOINT_LABEL.
1968 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1969 (func): Remove.
1970 (marker): Use FAST_TRACEPOINT_LABEL.
1971 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1972 (pendfunc1): Remove.
1973 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1974 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1975 (foo): Remove.
1976 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1977 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1978 macro.
1979 (func): Remove.
1980 (marker): Use FAST_TRACEPOINT_LABEL.
1981 * gdb.trace/trace-common.h: New header.
1982 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1983 macro.
1984 (func): Remove.
1985 (marker): Use FAST_TRACEPOINT_LABEL.
1986 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1987 (func): Remove.
1988 (thread_function): Use FAST_TRACEPOINT_LABEL.
1989
6e7675a7
MK
19902015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1991
1992 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1993 in front.
1994 * gdb.trace/change-loc.exp: Use global pcreg definition.
1995 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1996 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1997 in front.
1998 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1999 * gdb.trace/pending.exp: Likewise.
2000 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2001 * gdb.trace/trace-break.exp: Likewise.
2002 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2003 in front.
2004 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2005 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2006 in front.
2007 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2008
dddc0e16
JB
20092015-11-09 Joel Brobecker <brobecker@adacore.com>
2010
2011 * gdb.ada/fin_fun_out: New testcase.
2012
c6f0b406
KB
20132015-11-07 Kevin Buettner <kevinb@redhat.com>
2014
2015 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2016 value associated with DW_AT_byte_size.
2017 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2018 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2019 DW_AT_upper_bound.
2020
f01dcfd9
KB
20212015-11-07 Kevin Buettner <kevinb@redhat.com>
2022
2023 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2024 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2025 version.
2026 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2027 gdb.dwarf2/dw2-canonicalize-type.exp,
2028 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2029 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2030 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2031 provided by gdb_target_symbol_prefix_flags_asm.
2032 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2033 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2034 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2035 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2036 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2037 macros where needed). Use this macro for symbols which require
2038 the prefix provided by SYMBOL_PREFIX.
2039
2223449a
KB
20402015-11-05 Kevin Buettner <kevinb@redhat.com>
2041
2042 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2043 New procs.
2044 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2045 representing expressions, of more than one list element.
2046 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2047 to prepend linker symbol prefix to f.
2048 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2049 table_1 and table_2.
2050 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2051 Likewise, for f and g.
2052 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2053 for ptr.
2054 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2055 for main.
2056 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2057 table_1_ptr and table_2_ptr.
2058
6f2f1a3a
JK
20592015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2060 Joel Brobecker <brobecker@adacore.com>
2061
2062 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2063
566c56c9
MK
20642015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2065
2066 * gdb.reverse/s390-mvcle.c: New test.
2067 * gdb.reverse/s390-mvcle.exp: New file.
2068 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2069
d5f0636b
MK
20702015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2071
2072 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2073
7ad8b86c
MK
20742015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2075
2076 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2077 reaching marker2.
2078 * gdb.reverse/getresuid-reverse.exp: Likewise.
2079 * gdb.reverse/pipe-reverse.exp: Likewise.
2080 * gdb.reverse/readv-reverse.exp: Likewise.
2081 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2082 * gdb.reverse/time-reverse.exp: Likewise.
2083 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2084
4081c0f1
YQ
20852015-10-30 Yao Qi <yao.qi@linaro.org>
2086
2087 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2088 (empty_cycle): Remove.
2089 (main): Don't call empty_cycle. Don't use watch_count_done.
2090 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2091 empty_cycle. Rewrite the code counting HW watchpoints.
2092
452b4ba5
MK
20932015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2094
2095 * gdb.reverse/fstatat-reverse.c: New test.
2096 * gdb.reverse/fstatat-reverse.exp: New file.
2097 * gdb.reverse/getresuid-reverse.c: New test.
2098 * gdb.reverse/getresuid-reverse.exp: New file.
2099 * gdb.reverse/pipe-reverse.c: New test.
2100 * gdb.reverse/pipe-reverse.exp: New file.
2101 * gdb.reverse/readv-reverse.c: New test.
2102 * gdb.reverse/readv-reverse.exp: New file.
2103 * gdb.reverse/recvmsg-reverse.c: New test.
2104 * gdb.reverse/recvmsg-reverse.exp: New file.
2105 * gdb.reverse/time-reverse.c: New test.
2106 * gdb.reverse/time-reverse.exp: New file.
2107 * gdb.reverse/waitpid-reverse.c: New test.
2108 * gdb.reverse/waitpid-reverse.exp: New file.
2109
5e2e7507
JK
21102015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2111
2112 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2113
0fde2c53
DE
21142015-10-26 Doug Evans <dje@google.com>
2115
2116 PR symtab/17391
2117 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2118 * gdb.dwarf2/bad-regnum.c: New file.
2119 * gdb.dwarf2/bad-regnum.exp: New file.
2120
1a70ae97
DE
21212015-10-26 Doug Evans <dje@google.com>
2122
2123 PR python/18938
2124 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2125 file.
2126
27dc26ab
JK
21272015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2128
2129 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2130 for a change by "Mention language in compile error message".
2131
bed91f4d
SM
21322015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2133
2134 PR python/18073
2135 * gdb.python/py-type.c (C::a_method): New.
2136 (C::a_const_method): New.
2137 (C::a_static_method): New.
2138 (a_function): New.
2139 * gdb.python/py-type.exp (test_fields): Test getting fields
2140 from function and method.
2141
3f2f83dd
KB
21422015-10-21 Keven Boell <keven.boell@intel.com>
2143
2144 * gdb.fortran/vla-alloc-assoc.exp: New file.
2145 * gdb.fortran/vla-datatypes.exp: New file.
2146 * gdb.fortran/vla-datatypes.f90: New file.
2147 * gdb.fortran/vla-history.exp: New file.
2148 * gdb.fortran/vla-ptype-sub.exp: New file.
2149 * gdb.fortran/vla-ptype.exp: New file.
2150 * gdb.fortran/vla-sizeof.exp: New file.
2151 * gdb.fortran/vla-sub.f90: New file.
2152 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2153 * gdb.fortran/vla-value-sub-finish.exp: New file.
2154 * gdb.fortran/vla-value-sub.exp: New file.
2155 * gdb.fortran/vla-value.exp: New file.
2156 * gdb.fortran/vla-ptr-info.exp: New file.
2157 * gdb.mi/mi-vla-fortran.exp: New file.
2158 * gdb.mi/vla.f90: New file.
2159
27145d50
SL
21602015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2161
2162 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2163 of hardwired timeout value.
2164
5f3ff4f8
JK
21652015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2166 Pedro Alves <palves@redhat.com>
2167
2168 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2169 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2170
bfd09d20
JS
21712015-10-19 Josh Stone <jistone@redhat.com>
2172
2173 * gdb.base/catch-syscall.c: Include <sched.h>.
2174 (unknown_syscall): New variable.
2175 (main): Trigger a vfork and an unknown syscall.
2176 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2177 (unknown_syscall_number): Likewise.
2178 (check_call_to_syscall): Accept an optional syscall pattern.
2179 (check_return_from_syscall): Likewise.
2180 (check_continue): Likewise.
2181 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2182 (test_catch_syscall_skipping_return): New test toggling off 'catch
2183 syscall' to step over the syscall return, then toggling back on.
2184 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2185 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2186 (do_syscall_tests): Call test_catch_syscall_without_args and
2187 test_catch_syscall_mid_vfork.
2188 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2189 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2190
b32b93c6
AS
21912015-10-19 Andrew Stubbs <ams@codesourcery.com>
2192
2193 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2194 print g_vE): Add new pass patterns.
2195 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2196 print various symbol names for vptr fields.
2197
9d622bda
AB
21982015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2199
2200 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2201 results.
2202
0fd8ac1c
YQ
22032015-10-12 Yao Qi <yao.qi@linaro.org>
2204
2205 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2206
34240514
YQ
22072015-10-12 Yao Qi <yao.qi@linaro.org>
2208
2209 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2210 is aarch64*-*-linux*.
2211
8240f442
YQ
22122015-10-12 Yao Qi <yao.qi@linaro.org>
2213
2214 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2215 (can_relocate_bcond_true): ... it.
2216 (can_relocate_bcond_false): New function.
2217 (foo): Likewise.
2218 (can_relocate_bl): Likewise.
2219 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2220 can_relocate_bl.
2221
2520f728
PMR
22222015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2223
2224 * gdb.base/nested-addr.c: New file.
2225 * gdb.base/nested-addr.exp: New testcase.
2226
abcef95a
MM
22272015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2228
2229 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2230 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2231 its output. Ignore the output of "record goto begin" and instead
2232 check that GDB is replaying.
2233
145e3ddb
PA
22342015-10-09 Pedro Alves <palves@redhat.com>
2235
2236 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2237 (top level): Use it in the run with no args test.
2238
d5d8c4e1
IB
22392015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2240
2241 * gdb.dlang/properties.exp: New file.
2242
06e635ef
SL
22432015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2244
2245 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2246 whether or not address 0x1000 is mapped on the target.
2247
e019fd1d
SM
22482015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2249
2250 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2251 build.
2252
77ba2a67
MM
22532015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2254
2255 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2256 instruction-history test.
2257
c60eb31f
DE
22582015-09-28 Doug Evans <dje@google.com>
2259
2260 * gdb.base/gcore.c (array_func): Add reference to static_array.
2261
9a3c8263
SM
22622015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2263
2264 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2265 source line.
2266
9720e656
SL
22672015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2268
2269 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2270 short or char as base type.
2271
938d3bf2
SL
22722015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2273
2274 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2275 to allow any size enum.
2276
e6c2c623
PMR
22772015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2278
2279 * gdb.ada/array_ptr_renaming.exp: New testcase.
2280 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2281 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2282
06da0f77
PL
22832015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2284
2285 * gdb.trace/ftrace-lock.c: New file.
2286 * gdb.trace/ftrace-lock.exp: New file.
2287
4f51c22a
PL
22882015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2289
2290 * gdb.arch/insn-reloc.c: New file.
2291 * gdb.arch/ftrace-insn-reloc.exp: New file.
2292
7041adf4
PL
22932015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2294
2295 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2296 instruction.
2297 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2298 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2299 * gdb.trace/range-stepping.c: Likewise.
2300 * gdb.trace/trace-break.c: Likewise.
2301 * gdb.trace/trace-mt.c (thread_function): Likewise.
2302 * gdb.trace/ftrace.c (marker): Likewise.
2303 * gdb.trace/trace-condition.c (marker): Likewise.
2304 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2305 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2306 is_aarch64_target.
2307
015d2e7e
DE
23082015-09-18 Doug Evans <xdje42@gmail.com>
2309
2310 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2311 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2312
26b188a2
SL
23132015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2314
2315 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2316 the breakpoint.
2317
79dc332b
SL
23182015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2319
2320 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2321 the pending breakpoint. Remove timeout override for "Run till
2322 MI pending breakpoint on pendfunc3 on thread 2" test.
2323
f57929f2
SL
23242015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2325
2326 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2327 filename pattern.
2328
3f469b17
SL
23292015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2330
2331 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2332 in breakpoint filename pattern.
2333
515b89b3
SL
23342015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2335
7800dbe4
SL
2336 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2337
23382015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2339
515b89b3
SL
2340 * gdb.linespec/explicit.exp: Check for readline support for
2341 tab-completion tests. Fix obvious typo.
2342
d2939ba2
MM
23432015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2344
2345 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2346 and replay.
2347
cbb55fa7
MM
23482015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2349
2350 * gdb.btrace/non-stop.c: New.
2351 * gdb.btrace/non-stop.exp: New.
2352
43691ca1
PL
23532015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2354 Yao Qi <yao.qi@linaro.org>
2355
2356 * gdb.trace/trace-condition.c: New file.
2357 * gdb.trace/trace-condition.exp: New file.
2358
d78908cf
WW
23592015-09-16 Wei-cheng Wang <cole945@gmail.com>
2360
2361 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2362 for testing bytecode compilation.
2363
1ed415e2
PA
23642015-09-16 Pedro Alves <palves@redhat.com>
2365 Sandra Loosemore <sandra@codesourcery.com>
2366
2367 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2368 (SECONDS): Redefine.
2369 (main): Call pthread_kill and alarm early.
2370 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2371 support.
2372 (test): If the target can't hardware step and doesn't support
2373 displaced stepping, increase the timeout.
2374
d136eff5
PA
23752015-09-16 Pedro Alves <palves@redhat.com>
2376
2377 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2378 (enable_debug): New procedures.
2379 (test): Use them. Bail out if waiting for threads fails.
2380 (top level): Bail out if a test fails.
2381
991f019c
YQ
23822015-09-16 Yao Qi <yao.qi@linaro.org>
2383
2384 * gdb.asm/asm-source.exp: Set asm-arch for
2385 aarch64*-*-* target.
2386 * gdb.asm/aarch64.inc: New file.
2387
bfca584f
PMR
23882015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2389
2390 * gdb.ada/array_of_variable_length.exp: New testcase.
2391 * gdb.ada/array_of_variable_length/foo.adb: New file.
2392 * gdb.ada/array_of_variable_length/pck.adb: New file.
2393 * gdb.ada/array_of_variable_length/pck.ads: New file.
2394
b326e587
DE
23952015-09-15 Doug Evans <dje@google.com>
2396
2397 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2398 of function static local variable.
2399
5382cfab
PW
24002015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2401
2402 * gdb.threads/tls-so_extern.exp: New test file.
2403 * gdb.threads/tls-so_extern.c: New test file.
2404 * gdb.threads/tls-so_extern_main.c: New test file.
2405
141c5cc4
JK
24062015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2407
2408 * gdb.opt/solib-intra-step-lib.c: New file.
2409 * gdb.opt/solib-intra-step-main.c: New file.
2410 * gdb.opt/solib-intra-step.exp: New file.
2411
d15dcecd
PA
24122015-09-15 Pedro Alves <palves@redhat.com>
2413
2414 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2415 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2416
4c2f2a79
PA
24172015-09-14 Pedro Alves <palves@redhat.com>
2418
2419 * gdb.base/hook-stop-continue.c: Delete.
2420 * gdb.base/hook-stop-continue.exp: Delete.
2421 * gdb.base/hook-stop-frame.c: Delete.
2422 * gdb.base/hook-stop-frame.exp: Delete.
2423 * gdb.base/hook-stop.c: New file.
2424 * gdb.base/hook-stop.exp: New file.
2425
919e6dbe
PMR
24262015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2427
2428 * gdb.ada/access_to_packed_array.exp: New testcase.
2429 * gdb.ada/access_to_packed_array/foo.adb: New file.
2430 * gdb.ada/access_to_packed_array/pack.adb: New file.
2431 * gdb.ada/access_to_packed_array/pack.ads: New file.
2432
157280a4
MM
24332015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2434
2435 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2436 buffer size test.
2437
2fd33e94
DB
24382015-09-11 Don Breazeal <donb@codesourcery.com>
2439
2440 * gdb.base/foll-exec.c: Add copyright header. Fix
2441 formatting issues.
2442 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2443 (do_exec_tests): Use clean_restart in place of zap_session,
2444 and for test initialization. Fix formatting issues. Use
2445 fail in place of perror.
2446 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2447 an expect statement to match an expression with output from
2448 the program under debug.
2449 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2450 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2451 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2452 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2453 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2454
e70b6e8e
DE
24552015-09-09 Doug Evans <dje@google.com>
2456
2457 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2458
7a551a51
DE
24592015-09-09 Doug Evans <dje@google.com>
2460
2461 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2462
4c666f84
DE
24632015-09-09 Doug Evans <dje@google.com>
2464
2465 * gdb.base/savedregs.exp: Fix typo.
2466
243a9253
PA
24672015-09-09 Pedro Alves <palves@redhat.com>
2468
2469 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2470
c0fa8fbd
SL
24712015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2472
2473 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2474 command actually switches threads. Give up on remaining
2475 tests if target fails to stop at breakpoint.
2476
cd7c1778
PMR
24772015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2478
2479 * gdb.ada/funcall_char.exp: New testcase.
2480 * gdb.ada/funcall_char/foo.adb: New file.
2481
dc5c8746
PMR
24822015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2483
2484 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2485 expected outputs. Add two testcases for completing ambiguous
2486 functions.
2487 * gdb.ada/complete/aux_pck.adb: New file.
2488 * gdb.ada/complete/aux_pck.ads: New file.
2489 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2490 Ambiguous_Func functions.
2491 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2492 * gdb.ada/complete/pck.adb: Likewise.
2493
4e83a1e7
UW
24942015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2495
2496 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2497 failures to run the test program under GDB.
2498
8ce74153
LM
24992015-08-26 Luis Machado <lgustavo@codesourcery.com>
2500
2501 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2502 to C.
2503
e9756d52
PP
25042015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2505
2506 * gdb.base/run-after-attach.exp: New test file.
2507 * gdb.base/run-after-attach.c: New test file.
2508
8d37573b
DB
25092015-08-26 Don Breazeal <donb@codesourcery.com>
2510
2511 * gdb.base/foll-exec-2.c: New test program.
2512 * gdb.base/foll-exec-2.exp: New test.
2513
63e43d3a
PMR
25142015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2515
2516 * gdb.base/nested-subp1.exp: New file.
2517 * gdb.base/nested-subp1.c: New file.
2518 * gdb.base/nested-subp2.exp: New file.
2519 * gdb.base/nested-subp2.c: New file.
2520 * gdb.base/nested-subp3.exp: New file.
2521 * gdb.base/nested-subp3.c: New file.
2522
3d40fbb5
PA
25232015-08-24 Pedro Alves <palves@redhat.com>
2524
2525 * gdb.server/connect-without-multi-process.c: New file.
2526 * gdb.server/connect-without-multi-process.exp: New file.
2527
4422ac93
LM
25282015-08-24 Luis Machado <lgustavo@codesourcery.com>
2529
2530 * gdb.opt/inline-markers.c: Make z int.
2531
91dddb86
LM
25322015-08-24 Luis Machado <lgustavo@codesourcery.com>
2533
2534 * gdb.opt/inline-markers.c: Make z volatile.
2535
a48847ee
LM
25362015-08-24 Luis Machado <lgustavo@codesourcery.com>
2537
2538 * gdb.opt/inline-bt.c: New volatile global z.
2539 * gdb.opt/inline-cmds.c: Likewise.
2540 * gdb.opt/inline-locals.c: Likewise.
2541 * gdb.opt/inline-markers.c: New extern global z.
2542 (marker): Use z.
2543 (inline_fn): Likewise.
2544
0ebbc52b
PA
25452015-08-24 Pedro Alves <palves@redhat.com>
2546
2547 * config/m32r-stub.exp: Remove file.
2548 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2549 * gdb.base/call-rt-st.exp: Likewise.
2550 * gdb.base/call-strs.exp: Likewise.
2551 * gdb.base/default.exp: Remove references to h8300-*-hms and
2552 *-*-udi*.
2553 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2554
77c365df
AA
25552015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2556
2557 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2558 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2559 and "return" use KFAIL when GDB can not read/write the vector
2560 return value.
2561
4313b8c0
GB
25622015-08-21 Gary Benson <gbenson@redhat.com>
2563
2564 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2565
0e433b32
PA
25662015-08-20 Pedro Alves <palves@redhat.com>
2567
2568 * gdb.server/solib-list.exp: No longer expect an interior stop in
2569 non-stop mode.
2570
221e1a37
PA
25712015-08-20 Pedro Alves <palves@redhat.com>
2572
2573 * gdb.server/connect-stopped-target.c: New file.
2574 * gdb.server/connect-stopped-target.exp: New file.
2575
40e3ad0e
PA
25762015-08-20 Pedro Alves <palves@redhat.com>
2577
2578 * gdb.dwarf2/comp-unit-lang.exp: New file.
2579 * gdb.dwarf2/comp-unit-lang.c: New file.
2580
af39b327
PMR
25812015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2582
2583 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2584 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2585
7d45c7c3 25862015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 2587
7d45c7c3
KB
2588 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2589 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2590
4d6cceb4
DE
25912015-08-18 Doug Evans <dje@google.com>
2592 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2593
2594 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2595 skip_python_tests. New arg prompt_regexp.
2596 (skip_python_tests): New function.
2597 * lib/mi-support.exp (mi_skip_python_tests): New function.
2598 * gdb.python/py-mi-objfile-gdb.py: New file.
2599 * gdb.python/py-mi-objfile.c: New file.
2600 * gdb.python/py-mi-objfile.exp: New file.
2601
ad89c2aa
KS
26022015-08-17 Keith Seitz <keiths@redhat.com>
2603
2604 * gdb.linespec/explicit.exp: Move strace test from here ...
2605 * gdb.trace/strace.exp: ... to here.
2606
e3ae3c43
PP
26072015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2608
2609 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2610 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2611
604b2636
DE
26122015-08-14 Doug Evans <xdje42@gmail.com>
2613
2614 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2615 inferior before selecting a new file.
2616
6ff0ba5f
DE
26172015-08-14 Doug Evans <xdje42@gmail.com>
2618
2619 * gdb.mi/mi-disassemble.exp: Update.
2620 * gdb.base/disasm-optim.S: New file.
2621 * gdb.base/disasm-optim.c: New file.
2622 * gdb.base/disasm-optim.h: New file.
2623 * gdb.base/disasm-optim.exp: New file.
2624
9ca98f92
KS
26252015-08-14 Keith Seitz <keiths@redhat.com>
2626
2627 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2628 "evaluated-by".
2629
52bbc560
JB
26302015-08-13 Joel Brobecker <brobecker@adacore.com>
2631
2632 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2633
5d8c3ed3
PMR
26342015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2635
2636 * gdb.ada/fun_renaming.exp: New testcase.
2637 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2638 * gdb.ada/fun_renaming/pack.adb: New file.
2639 * gdb.ada/fun_renaming/pack.ads: New file.
2640
ea8812bc
KS
26412015-08-12 Keith Seitz <keiths@redhat.com>
2642
2643 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2644 gdb_get_line_number.
2645
4dafcdeb
JB
26462015-08-12 Joel Brobecker <brobecker@adacore.com>
2647
2648 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2649 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2650 gdb.base/dso2dso.exp: New files.
2651
5ba32597
SDJ
26522015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2653 Pedro Alves <palves@redhat.com>
2654 Keith Seitz <keiths@redhat.com>
2655
2656 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2657 GDBFLAGS.
2658
b6dafabf
PP
26592015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2660
2661 * gdb.base/gdbhistsize-history.exp
2662 (test_histsize_history_setting): Use save_vars.
2663 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2664 Use save_vars.
2665 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2666 * gdb.base/readline.exp: Use save_vars.
2667
abe8e607
PP
26682015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2669
2670 * lib/gdb.exp (save_vars): New proc.
2671
629500fa
KS
26722015-08-11 Keith Seitz <keiths@redhat.com>
2673
2674 * gdb.base/help.exp: Update help_breakpoint_text.
2675
eb8c4e2e
KS
26762015-08-11 Keith Seitz <keiths@redhat.com>
2677
2678 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2679 (at toplevel): Call test_explicit_breakpoints.
2680 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2681 breakpoints.
2682 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2683 breakpoint conditions, "-cond".
2684
87f0e720
KS
26852015-08-11 Keith Seitz <keiths@redhat.com>
2686
2687 * gdb.linespec/3explicit.c: New file.
2688 * gdb.linespec/cpexplicit.cc: New file.
2689 * gdb.linespec/cpexplicit.exp: New file.
2690 * gdb.linespec/explicit.c: New file.
2691 * gdb.linespec/explicit.exp: New file.
2692 * gdb.linespec/explicit2.c: New file.
2693 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2694 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2695 before using in the matching pattern.
2696 Clarify that `prefix' is a regular expression.
2697
f00aae0f
KS
26982015-08-11 Keith Seitz <keiths@redhat.com>
2699
2700 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2701 test.
2702 Add tests for missing ",FMT" and ",".
2703
e27852be
DE
27042015-08-10 Doug Evans <dje@google.com>
2705 Keith Seitz <keiths@redhat.com>
2706
2707 PR gdb/17960
2708 * gdb.base/completion.exp: Add location completer tests.
2709
7f03bd92
PA
27102015-08-07 Pedro Alves <palves@redhat.com>
2711
2712 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2713 tests here.
2714 (top level): Run do_test with and without displaced stepping.
2715
3fc8eb30
PA
27162015-08-07 Pedro Alves <palves@redhat.com>
2717
2718 * gdb.base/valgrind-disp-step.c: New file.
2719 * gdb.base/valgrind-disp-step.exp: New file.
2720
d4569d7b
PA
27212015-08-07 Pedro Alves <palves@redhat.com>
2722
2723 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2724 Delete function.
2725 (main): Add alarm. Run an infinite loop instead of calling
2726 wait_threads.
2727 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2728 comment.
2729 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2730 Delete function.
2731 (main): Add alarm. Run an infinite loop instead of calling
2732 wait_threads.
2733 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2734 comment.
2735
e1316e60
PA
27362015-08-07 Pedro Alves <palves@redhat.com>
2737
2738 * gdb.base/checkpoint-ns.exp: New file.
2739 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2740 standard_testfile.
2741
da8c46d2
MM
27422015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2743
2744 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2745 * gdb.btrace/instruction_history.exp: Update.
2746 * gdb.btrace/tsx.exp: New.
2747 * gdb.btrace/tsx.c: New.
2748
de1c2c52
PA
27492015-08-06 Pedro Alves <palves@redhat.com>
2750
2751 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2752 increase timeout.
2753 * gdb.reverse/until-precsave.exp: Bump timeouts.
2754
782e0bf4
PA
27552015-08-06 Pedro Alves <palves@redhat.com>
2756
2757 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2758
83e97ed0
PA
27592015-08-06 Pedro Alves <palves@redhat.com>
2760
2761 PR gdb/18749
2762 * gdb.threads/process-dies-while-handling-bp.c: New file.
2763 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2764
863d01bd
PA
27652015-08-06 Pedro Alves <palves@redhat.com>
2766
2767 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2768 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2769
0a39bb32
PA
27702015-08-05 Pedro Alves <palves@redhat.com>
2771
2772 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2773 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2774
ee2d2b10
SL
27752015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2776
2777 * gdb.base/bp-permanent.exp: Report test as unsupported if
2778 the target cannot stop at the permanent breakpoint.
2779
4e1bdb00
DE
27802015-08-03 Doug Evans <dje@google.com>
2781
2782 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2783 10000.
2784
3d338901
DE
27852015-08-03 Doug Evans <dje@google.com>
2786
2787 * Makefile.in (workers/%.worker, build-perf): New rule.
2788 (GDB_PERFTEST_MODE): New variable.
2789 (check-perf): Use it.
2790 (clean): Clean up gdb.perf parallel build subdirs.
2791 * lib/build-piece.exp: New file.
2792 * lib/gdb.exp (make_gdb_parallel_path): New function
2793 (standard_output_file, standard_temp_file): Call it.
2794 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2795 of $GDB_PARALLEL.
2796 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2797
af061d3e
DE
27982015-08-03 Doug Evans <dje@google.com>
2799
8e1afc81 2800 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
2801 (LOG_FILE_NAME): New global.
2802 (TextReporter.__init__): Initialize self.txt_sum.
2803 (TextReporter.report): Add support for multiple data-points.
2804 Move report to perftest.sum, put raw data in perftest.log.
2805 (TextReporter.start): Open sum and log files.
2806 (TextReporter.end): Close sum and log files.
8e1afc81
DE
2807 * gdb.perf/lib/perftest/testresult.py
2808 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 2809
2c8c5d37
PA
28102015-07-31 Pedro Alves <palves@redhat.com>
2811
2812 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2813 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2814 kill_wait_spawned_process instead of explicit "kill -9".
2815 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2816 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2817 kill_wait_spawned_process.
2818 * gdb.base/attach-twice.exp: Likewise.
2819 * gdb.base/attach.exp: Likewise.
2820 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2821 gdb_test_multiple.
2822 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2823 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2824 kill_wait_spawned_process.
2825 * gdb.base/valgrind-infcall.exp: Likewise.
2826 * gdb.multi/multi-attach.exp: Likewise.
2827 * gdb.python/py-prompt.exp: Likewise.
2828 * gdb.python/py-sync-interp.exp: Likewise.
2829 * gdb.server/ext-attach.exp: Likewise.
2830 * gdb.threads/attach-into-signal.exp (corefunc): Use
2831 spawn_wait_for_attach, spawn_id_get_pid and
2832 kill_wait_spawned_process.
2833 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2834 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2835 spawn_id_get_pid and kill_wait_spawned_process.
2836 * gdb.threads/attach-stopped.exp (corefunc): Use
2837 spawn_wait_for_attach, spawn_id_get_pid and
2838 kill_wait_spawned_process.
2839 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2840 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2841 kill_wait_spawned_process instead of explicit "kill -9".
2842 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2843 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2844 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2845 processes. Don't map cygwin/windows pids here. Now returns a
2846 spawn id list.
2847
032a0fca
SL
28482015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2849
2850 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2851 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2852 correct patch.
2853
61a934ca
SL
28542015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2855
2856 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2857
4bc4d428
SL
28582015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2859
2860 Reapply:
2861 2014-05-21 Mark Wielaard <mjw@redhat.com>
2862
2863 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2864
998d452a
PA
28652015-07-30 Pedro Alves <palves@redhat.com>
2866
2867 * linux-low.c (handle_extended_wait): Set the child's last
2868 reported status to TARGET_WAITKIND_STOPPED.
2869
69dde7dc
PA
28702015-07-30 Pedro Alves <palves@redhat.com>
2871
2872 PR threads/18600
2873 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2874 only shows inferior 1.
2875
4dd63d48
PA
28762015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2877 Pedro Alves <palves@redhat.com>
2878
2879 PR threads/18600
2880 * gdb.threads/fork-plus-threads.c: New file.
2881 * gdb.threads/fork-plus-threads.exp: New file.
2882
d618e4c5
PP
28832015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2884
2885 * gdb.base/batch-preserve-term-settings.exp
2886 (test_terminal_settings_preserved_after_cli_exit): Use
2887 send_quit_command.
2888
1eef6428
PA
28892015-07-29 Pedro Alves <palves@redhat.com>
2890 Don Breazeal <donb@codesourcery.com>
2891
2892 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2893 output from both inferior_spawn_id and gdb_spawn_id.
2894
7da5b897
SDJ
28952015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2896
2897 * gdb.threads/attach-into-signal.exp (corefunc): Use
2898 with_test_prefix on nested loops, uniquefying the test messages.
2899
dac804df
SDJ
29002015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2901
2902 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2903 commit.
2904
06265e53
PP
29052015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2906
2907 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2908 New proc.
2909 (test_terminal_settings_preserved_after_sigterm): New test.
2910
18206ca3
PP
29112015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2912
2913 * gdb.base/batch-preserve-term-settings.exp
2914 (test_terminal_settings_preserved_after_cli_exit): New test.
2915
90074d11
PP
29162015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2917
2918 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2919 manipulation of saved_gdbflags.
2920 (test_terminal_settings_preserved): Remove global declaration of
2921 the unused variable pagination_prompt. Remove manipulation of
2922 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2923 GDBFLAGS.
2924
eb1a7902
PA
29252015-07-29 Pedro Alves <palves@redhat.com>
2926
2927 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2928
8b75dd3b
PA
29292015-07-29 Pedro Alves <palves@redhat.com>
2930
2931 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2932 at the top.
2933
dedad4e3
PA
29342015-07-29 Pedro Alves <palves@redhat.com>
2935
2936 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2937 (main): Call gdb_unbuffer_output.
2938 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2939 (main): Call gdb_unbuffer_output.
2940 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2941 (main): Call gdb_unbuffer_output.
2942 * gdb.base/call-strs.exp: Adjust to step over the
2943 gdb_unbuffer_output call.
2944 * gdb.base/catch-gdb-caused-signals.c: Include
2945 "../lib/unbuffer_output.c".
2946 (main): Call gdb_unbuffer_output.
2947 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2948 (main): Call gdb_unbuffer_output.
2949 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2950 (main): Call gdb_unbuffer_output.
2951 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2952 (main): Call gdb_unbuffer_output.
2953 * gdb.base/shlib-call.exp: Adjust to step over the
2954 gdb_unbuffer_output call.
2955 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2956 (main): Call gdb_unbuffer_output.
2957 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2958 (main): Call gdb_unbuffer_output.
2959 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2960 (main): Rename to ...
2961 (test): ... this.
2962 (main): Reimplement.
2963 * gdb.base/varargs.exp: Run to test instead of to main.
2964 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2965 (main): Call gdb_unbuffer_output.
2966
58789a91
PA
29672015-07-29 Pedro Alves <palves@redhat.com>
2968
2969 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2970 factore out from mi_continue_dprintf. For call-style dprintfs,
2971 expect dprintf output out of $inferior_spawn_id.
2972 (mi_continue_dprintf): Use mi_expect_dprintf.
2973 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2974 (main): Call gdb_unbuffer_output.
2975
e8376742
PA
29762015-07-29 Pedro Alves <palves@redhat.com>
2977
2978 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2979 (default_mi_gdb_start): Set inferior_spawn_id instead of
2980 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2981 gdb_spawn_id.
2982 (mi_gdb_test): Always expect inferior output from both
2983 $inferior_spawn_id and $gdb_spawn_id.
2984
08280010
PA
29852015-07-29 Pedro Alves <palves@redhat.com>
2986
2987 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2988 send_inferior and $inferior_spawn_id.
2989
4d30e432
PA
29902015-07-29 Pedro Alves <palves@redhat.com>
2991
2992 * gdb.gdb/complaints.exp (test_initial_complaints)
2993 (test_serial_complaints, test_short_complaints): Use
2994 gdb_test_stdio.
2995 (test_empty_complaint): Handle $inferior_spawn_id !=
2996 $gdb_spawn_id.
2997
0d30a335
PA
29982015-07-29 Pedro Alves <palves@redhat.com>
2999
3000 * gdb.base/varargs.exp: Use gdb_test_stdio.
3001
39413b29
PA
30022015-07-29 Pedro Alves <palves@redhat.com>
3003
3004 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3005
7cb000a9
PA
30062015-07-29 Pedro Alves <palves@redhat.com>
3007
3008 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3009
d7b8ac82
PA
30102015-07-29 Pedro Alves <palves@redhat.com>
3011
3012 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3013 parameter into two new parameters, "inf_result" and "gdb_result".
3014 Expect inferior output and gdb output from $inferior_spawn_id and
3015 $gdb_spawn_id, respectively. Adjust all callers.
3016
789c3a0c
PA
30172015-07-29 Pedro Alves <palves@redhat.com>
3018
3019 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3020 of gdb_test_sequence.
3021
77e760c3
PA
30222015-07-29 Pedro Alves <palves@redhat.com>
3023
3024 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3025 (saw_spurious_output): Expect inferior output from
3026 $inferior_spawn_id. Use gdb_test_stdio.
3027
8396d2cd
PA
30282015-07-29 Pedro Alves <palves@redhat.com>
3029
3030 * gdb.base/dprintf.exp: Use standard_testfile. Change
3031 prepare_for_testing call.
3032 (srcfile): Don't set.
3033 (restart): New procedure.
3034 (test_dprintf): New procecure, use to continue over dprintfs.
3035 (test_call, test_agent): New procedures, tests moved here.
3036 Restart gdb and recreate dprintfs. Adjust expected output.
3037
2051d61f
PA
30382015-07-29 Pedro Alves <palves@redhat.com>
3039
3040 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3041
452397af
PA
30422015-07-29 Pedro Alves <palves@redhat.com>
3043
3044 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3045
8aed9555
PA
30462015-07-29 Pedro Alves <palves@redhat.com>
3047
3048 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3049 gdb_test_stdio.
3050
188a61b4
PA
30512015-07-29 Pedro Alves <palves@redhat.com>
3052
3053 * lib/gdb.exp (gdb_test_stdio): New procedure.
3054
12264a45
PA
30552015-07-29 Pedro Alves <palves@redhat.com>
3056
3057 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3058
23ffc893
PA
30592015-07-29 Pedro Alves <palves@redhat.com>
3060
3061 * gdb.base/call-signal-resume.exp: Remove check for
3062 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3063 * gdb.base/unwindonsignal.exp: Likewise.
3064 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3065 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3066
65566918
PA
30672015-07-29 Pedro Alves <palves@redhat.com>
3068
3069 * gdb.base/siginfo-addr.c (pass): New function.
3070 (handler): Call it iff si_addr is correct.
3071 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3072 Set a breakpoint at "pass" and continue to it.
3073
d60a9221
SDJ
30742015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3075
3076 * gdb.python/py-objfile.exp: Make some tests have unique names.
3077 * gdb.python/py-pp-registration.exp: Likewise.
3078
bde40b8f
PA
30792015-07-28 Pedro Alves <palves@redhat.com>
3080
3081 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3082
13e1dec8
SM
30832015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3084
3085 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3086
da33c9a7
SM
30872015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3088
3089 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3090
077836f7
PP
30912015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3092
3093 * gdb.base/gdb-sigterm-2.exp: New test.
3094
b8cc7b2e
DE
30952015-07-25 Doug Evans <xdje42@gmail.com>
3096
3097 Revert:
3098 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3099 (workers/%.worker, build-perf): New rule.
3100 (GDB_PERFTEST_MODE): New variable.
3101 (check-perf): Use it.
3102 (clean): Clean up gdb.perf parallel build subdirs.
3103 * lib/build-piece.exp: New file.
3104 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3105 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3106 name.
3107 (standard_temp_file): Ditto.
3108 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3109 of $GDB_PARALLEL.
3110
c8bd4544
DE
31112015-07-24 Doug Evans <dje@google.com>
3112
3113 * gdb.perf/lib/perftest/utils.py: New file.
3114 * gdb.perf/gm-hello.cc: New file.
3115 * gdb.perf/gm-pervasive-typedef.cc: New file.
3116 * gdb.perf/gm-pervasive-typedef.h: New file.
3117 * gdb.perf/gm-std.cc: New file.
3118 * gdb.perf/gm-std.h: New file.
3119 * gdb.perf/gm-use-cerr.cc: New file.
3120 * gdb.perf/gm-utils.h: New file.
3121 * gdb.perf/gmonster-null-lookup.py: New file.
3122 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3123 * gdb.perf/gmonster-print-cerr.py: New file.
3124 * gdb.perf/gmonster-ptype-string.py: New file.
3125 * gdb.perf/gmonster-runto-main.py: New file.
3126 * gdb.perf/gmonster-select-file.py: New file.
3127 * gdb.perf/gmonster1-null-lookup.exp: New file.
3128 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3129 * gdb.perf/gmonster1-print-cerr.exp: New file.
3130 * gdb.perf/gmonster1-ptype-string.exp: New file.
3131 * gdb.perf/gmonster1-runto-main.exp: New file.
3132 * gdb.perf/gmonster1-select-file.exp: New file.
3133 * gdb.perf/gmonster1.cc: New file.
3134 * gdb.perf/gmonster1.exp: New file.
3135 * gdb.perf/gmonster2-null-lookup.exp: New file.
3136 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3137 * gdb.perf/gmonster2-print-cerr.exp: New file.
3138 * gdb.perf/gmonster2-ptype-string.exp: New file.
3139 * gdb.perf/gmonster2-runto-main.exp: New file.
3140 * gdb.perf/gmonster2-select-file.exp: New file.
3141 * gdb.perf/gmonster2.cc: New file.
3142 * gdb.perf/gmonster2.exp: New file.
3143
6eab34f3
DE
31442015-07-24 Doug Evans <dje@google.com>
3145
3146 * gdb.perf/README: New file.
3147 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3148 * lib/gen-perf-test.exp: New file.
3149
63738bfd
DE
31502015-07-24 Doug Evans <dje@google.com>
3151
3152 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3153 (PerfTest::startup): New function.
3154 (PerfTest::run): Return result of calling body.
3155 (PerfTest::assemble): Rewrite.
3156 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3157 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3158 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3159 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3160 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3161
7b606f95
DE
31622015-07-24 Doug Evans <dje@google.com>
3163
3164 * lib/gdb.exp (clean_restart): Make executable optional.
3165
a97b16b8
DE
31662015-07-24 Doug Evans <dje@google.com>
3167
3168 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3169 compiler_info references.
3170 * gdb.cp/temargs.exp: Ditto.
3171 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3172 (get_compiler_info): Early exit if already computed. Set compiler_info
3173 to "unknown" if there was a problem.
3174 (test_compiler_info): Add function comment. Call get_compiler_info.
3175
35baa57f
DE
31762015-07-24 Doug Evans <dje@google.com>
3177
3178 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3179 (workers/%.worker, build-perf): New rule.
3180 (GDB_PERFTEST_MODE): New variable.
3181 (check-perf): Use it.
3182 (clean): Clean up gdb.perf parallel build subdirs.
3183 * lib/build-piece.exp: New file.
3184 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3185 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3186 name.
3187 (standard_temp_file): Ditto.
3188 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3189 of $GDB_PARALLEL.
3190
6ebea266
DE
31912015-07-24 Doug Evans <dje@google.com>
3192
3193 * lib/future.exp (gdb_default_target_compile): New option
3194 "early_flags".
3195 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3196 --as-needed.
3197
1e76a7e9
SDJ
31982015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3199
3200 * gdb.base/catch-syscall.exp: Call gdb_exit before
3201 gdb_skip_xml_test.
3202
5068630a
PA
32032015-07-24 Pedro Alves <palves@redhat.com>
3204
3205 * gdb.python/py-events.exp: Accept output between the stop event
3206 and the prompt.
3207 * gdb.python/py-evsignal.exp: Likewise.
3208 * gdb.python/py-evthreads.exp: Likewise.
3209
77598427
PA
32102015-07-24 Pedro Alves <palves@redhat.com>
3211
3212 PR gdb/18717
3213 * gdb.threads/non-ldr-exit.c: New file.
3214 * gdb.threads/non-ldr-exit.exp: New file.
3215
11e6c98f
YQ
32162015-07-24 Yao Qi <yao.qi@linaro.org>
3217
3218 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3219 restarting process.
3220
51aee833
YQ
32212015-07-24 Yao Qi <yao.qi@linaro.org>
3222
3223 * gdb.server/ext-restart.exp: New file.
3224
8cfe207c
YQ
32252015-07-24 Yao Qi <yao.qi@linaro.org>
3226
3227 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3228 argument options.
3229 * gdb.server/ext-wrapper.exp: New file.
3230
cc12ce38
DE
32312015-07-23 Doug Evans <dje@google.com>
3232
3233 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3234 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3235
d0d84780
PMR
32362015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3237
3238 * gdb.ada/var_arr_typedef.exp: New testcase.
3239 * gdb.ada/var_arr_typedef/pack.adb: New file.
3240 * gdb.ada/var_arr_typedef/pack.ads: New file.
3241 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3242
8b558f79
JB
32432015-07-20 Joel Brobecker <brobecker@adacore.com>
3244
3245 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3246
775a3298
JK
32472015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3248
3249 * gdb.arch/i386-biarch-core.exp: Replace istarget
3250 by "complete set gnutarget". Remove expectation for the "core-file"
3251 command.
3252
db1ff28b
JK
32532015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3254
3255 Revert the previous commit:
3256 Tests for validate symbol file using build-id.
3257
0a94970d
JK
32582015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3259
3260 Tests for validate symbol file using build-id.
3261 * gdb.base/solib-mismatch-lib.c: New file.
3262 * gdb.base/solib-mismatch-libmod.c: New file.
3263 * gdb.base/solib-mismatch.c: New file.
3264 * gdb.base/solib-mismatch.exp: New file.
3265
03346981
SL
32662015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3267
3268 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3269 nios2-*-linux*.
3270 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3271 * gdb.base/siginfo.exp: Likewise.
3272 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3273
42422cc7
PL
32742015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3275
3276 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3277 Move it to ...
3278 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3279 ... here.
3280 * gdb.trace/range-stepping.exp: Check that the target supports
3281 range stepping.
3282
cfa68bae
JK
32832015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3284
3285 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3286
8ffdba26
PA
32872015-07-14 Pedro Alves <palves@redhat.com>
3288
3289 * gdb.base/killed-outside.exp: New file.
3290 * gdb.base/killed-outside.c: New file.
3291
218a5a11
JK
32922015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3293
3294 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3295 (n at main): New.
3296 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3297
e03ed3c6
AA
32982015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3299
3300 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3301 infcall tests instead of setting up for KFAIL.
3302
485668e5
MM
33032015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3304
3305 * gdb.btrace/record_goto-step.exp: New.
3306
08464196
JK
33072015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3308
3309 PR compile/18484
3310 * gdb.compile/compile.c (struct struct_type): Add volatile to
3311 selffield's type.
3312 * gdb.compile/compile.exp
3313 (compile code struct_object.selffield = &struct_object): Skip further
3314 struct_object tests if this one xfails.
3315
bcf5c1d9
RC
33162015-07-08 Robert O'Callahan <robert@ocallahan.org>
3317
3318 PR exp/18617
3319 * gdb.trace/ax.exp: Add test.
3320
4931af25
YQ
33212015-07-07 Yao Qi <yao.qi@linaro.org>
3322
3323 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3324 instead of istarget "aarch64*-*-*".
3325 * gdb.arch/aarch64-fp.exp: Likewise.
3326 * gdb.base/float.exp: Likewise.
3327 * gdb.reverse/aarch64.exp: Likewise.
3328 * lib/gdb.exp (is_aarch64_target): New proc.
3329
9fcf688e
YQ
33302015-07-07 Yao Qi <yao.qi@linaro.org>
3331
3332 * lib/gdb.exp (is_aarch32_target): New proc.
3333 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3334 instead of "istarget "arm*-*-*"".
3335 * gdb.arch/arm-disp-step.exp: Likewise.
3336 * gdb.arch/thumb-bx-pc.exp: Likewise.
3337 * gdb.arch/thumb-prologue.exp: Likewise.
3338 * gdb.arch/thumb-singlestep.exp: Likewise.
3339 * gdb.base/disp-step-syscall.exp: Likewise.
3340 * gdb.base/float.exp: Likewise.
3341
fbd8d50d
YQ
33422015-07-07 Yao Qi <yao.qi@linaro.org>
3343
3344 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3345 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3346
71be1fdc
YQ
33472015-07-07 Yao Qi <yao.qi@linaro.org>
3348
3349 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3350 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3351 if it exists.
3352 * gdb.multi/multi-arch.exp: Likewise.
3353
3e221d36
SM
33542015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3355
3356 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3357 print.
3358
d441430b
YQ
33592015-07-07 Yao Qi <yao.qi@linaro.org>
3360
3361 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3362
06f810bd
MG
33632015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3364
3365 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3366 '[' and ']' characters.
3367
5e61e7c0
IB
33682015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3369
3370 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3371
28bf096c
PA
33722015-06-29 Pedro Alves <palves@redhat.com>
3373
3374 PR threads/18127
3375 * gdb.threads/hand-call-new-thread.c: New file.
3376 * gdb.threads/hand-call-new-thread.c: New file.
3377
ee93cd5e
KS
33782015-06-26 Keith Seitz <keiths@redhat.com>
3379 Doug Evans <dje@google.com>
3380
3381 PR 16253
3382 * gdb.cp/var-tag-2.cc: New file.
3383 * gdb.cp/var-tag-3.cc: New file.
3384 * gdb.cp/var-tag-4.cc: New file.
3385 * gdb.cp/var-tag.cc: New file.
3386 * gdb.cp/var-tag.exp: New file.
3387
fc637f04
PP
33882015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3389
3390 * gdb.base/history-duplicates.exp: New test.
3391
2e52ae68
PP
33922015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3393
3394 * gdb.base/completion.exp: Test the completion of the "focus"
3395 command.
3396
6e22494e
JK
33972015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3398
3399 * gdb.arch/amd64-prologue-skip.S: New file.
3400 * gdb.arch/amd64-prologue-skip.exp: New file.
3401
bf7b9cd9
SM
34022015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3403
3404 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3405 is_address_zero_readable check.
3406
201e8dfd
PB
34072015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3408
3409 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3410 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3411
5cd867b4
YQ
34122015-06-24 Yao Qi <yao.qi@linaro.org>
3413
3414 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3415 linux targets.
3416
4d7be007
YQ
34172015-06-24 Yao Qi <yao.qi@linaro.org>
3418
3419 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3420 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3421 * gdb.base/siginfo-thread.exp: Likewise.
3422
07fcd301
YQ
34232015-06-22 Yao Qi <yao.qi@linaro.org>
3424
3425 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3426
52042a00
YQ
34272015-06-22 Yao Qi <yao.qi@linaro.org>
3428
3429 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3430 aarch64*-*-*.
3431 (skip_hw_watchpoint_tests): Likewise.
3432
74bd41ce
PP
34332015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3434
3435 * gdb.base/gdbinit-history.exp: Test the interaction between
3436 setting GDBHISTSIZE and setting the history size via .gdbinit.
3437
bc460514
PP
34382015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3439
3440 PR gdb/16999
3441 * gdb.base/gdbhistsize-history.exp: New test.
3442
b58c513b
PP
34432015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3444
3445 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3446 with GDBHISTSIZE.
3447 * gdb.base/readline.exp: Likewise.
3448
92046791
YQ
34492015-06-17 Yao Qi <yao.qi@linaro.org>
3450
3451 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3452 line.
3453
2093d2d3
PP
34542015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3455
3456 * gdb.base/gdbinit-history.exp: Add test case to check that
3457 an unlimited history file does not get truncated on exit.
3458
e6c693af
AA
34592015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3460
3461 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3462 (VECTOR): New macro. Use it...
3463 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3464 ...for these typedefs.
3465 (int8, char1, int1, double1): New typedefs.
3466 (struct just_int2, struct two_int2): New structures.
3467 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3468 (add_structvecs, add_singlevecs): New functions.
3469 (main): Call add_some_intvecs twice.
3470 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3471 the compile and exit upon failure. Try compiling for the "native"
3472 architecture. Test inferior function calls with vector arguments
3473 and vector return value handling with "finish" and "return".
3474
c74f7d1c
JT
34752015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3476
3477 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3478 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3479 PE file.
3480 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3481
98aa42ee
AT
34822015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3483
3484 PR breakpoints/16465
3485 * gdb.mi/mi-dprintf-pending.c: New file.
3486 * gdb.mi/mi-dprintf-pending.exp: New test.
3487 * gdb.mi/mi-dprintf-pendshr.c: New file.
3488
7d73c23c 34892015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 3490 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
3491
3492 * gdb.arch/i386-mpx-map.c: New file.
3493 * gdb.arch/i386-mpx-map.exp: New File.
3494
34952015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3496
3497 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3498 * gdb.arch/i386-mpx.exp: Indentation fixed.
3499
35002015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3501
3502 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3503 function and improved indentation.
3504 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3505 gdb_test_multiple. Added additional tests to skip the test.
3506
35072015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3508
3509 * gdb.arch/i386-avx512.c: Change path in include file.
3510 * gdb.arch/i386-avx512.exp: Change include dir path
3511 compilation flag.
3512 * gdb.arch/i386-mpx.c: Change path in include file.
3513 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3514 flag.
3515
d5eba19a
JK
35162015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3517
3518 * gdb.compile/compile-print.exp (compile print *vararray@3)
3519 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3520
7f361056
JK
35212015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3522
3523 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3524 (do not keep jit in memory): ... this.
3525 (expect 5): Change it to ...
3526 (expect no 5): ... this.
3527
3b462ec2
SM
35282015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3529
3530 PR gdb/15564
3531 * gdb.mi/mi-detach.exp: New file.
3532
e0619de6
JK
35332015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3534
3535 PR symtab/18392
3536 * gdb.arch/amd64-tailcall-self.S: New file.
3537 * gdb.arch/amd64-tailcall-self.c: New file.
3538 * gdb.arch/amd64-tailcall-self.exp: New file.
3539
e970cb34
DB
35402015-05-28 Don Breazeal <donb@codesourcery.com>
3541
3542 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3543 tests for remote targets by checking is_target_gdbserver.
3544
b2e2f908
DE
35452015-05-27 Doug Evans <dje@google.com>
3546
3547 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3548 * gdb.dwarf2/opaque-type-lookup.c: New file.
3549 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3550
82c7be31
DE
35512015-05-26 Doug Evans <dje@google.com>
3552
3553 * gdb.cp/iostream.cc: New file.
3554 * gdb.cp/iostream.exp: New file.
3555
b4f54984
DE
35562015-05-26 Doug Evans <dje@google.com>
3557
3558 * gdb.dwarf2/dw2-op-call.exp: Update.
3559 * gdb.dwarf2/dw4-sig-types.exp: Update.
3560 * gdb.dwarf2/implptr.exp: Update.
3561 * gdb.mi/mi-cmd-param-changed.exp: Update.
3562
4ea6efe9
DE
35632015-05-26 Doug Evans <dje@google.com>
3564
3565 * gdb.python/py-lazy-string.c: New file.
3566 * gdb.python/py-lazy-string.exp: New file.
3567 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3568 (main): Update. Add estring3.
3569 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3570 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3571
f6bb7db3
YQ
35722015-05-26 Omair Javaid <omair.javaid@linaro.org>
3573 Yao Qi <yao.qi@linaro.org>
3574
3575 * gdb.reverse/aarch64.c: New.
3576 * gdb.reverse/aarch64.exp: New.
3577
a81bfbd0
OJ
35782015-05-26 Omair Javaid <omair.javaid@linaro.org>
3579
3580 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
3581 (supports_reverse): Likewise.
3582
158bf1b4
PP
35832015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3584
3585 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3586 Use with_test_prefix.
3587
a0145030
AB
35882015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3589
3590 * gdb.base/completion.exp: Add test for completion of layout
3591 names.
3592
ebe3b578
AB
35932015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3594
3595 * lib/gdb.exp (skip_tui_tests): New proc.
3596 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3597
84204ed7
PA
35982015-05-19 Pedro Alves <palves@redhat.com>
3599
3600 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3601 Save the whole env array instead of just HOME. Unset HISTSIZE in
3602 the environment while testing. Restore whole environment
3603 afterwards.
3604
37442ce1
DE
36052015-05-16 Doug Evans <xdje42@gmail.com>
3606
3607 * gdb.guile/scm-ports.c: New file.
3608 * gdb.guile/scm-ports.exp: Add memory port tests.
3609
36de76f9
JK
36102015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3611
3612 * gdb.compile/compile-print.c: New file.
3613 * gdb.compile/compile-print.exp: New file.
3614
3a9558c4
JK
36152015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3616
3617 * gdb.compile/compile-ops.exp: Cast param to void.
3618 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3619 (compile code struct_object.selffield = &struct_object): Add xfail.
3620
aa715135
JG
36212015-05-15 Joel Brobecker <brobecker@adacore.com>
3622
3623 * gdb.ada/arr_enum_with_gap: New testcase.
3624
931e5bc3
JG
36252015-05-15 Joel Brobecker <brobecker@adacore.com>
3626
3627 * gdb.ada/byte_packed_arr: New testcase.
3628
9cd4d857
JB
36292015-05-15 Joel Brobecker <brobecker@adacore.com>
3630
3631 * gdb.ada/pckd_neg: New testcase.
3632
ebfd00d2
PP
36332015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3634
3635 PR gdb/17820
3636 * gdb.base/gdbinit-history.exp: New test.
3637 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3638 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3639
4c082a81
SC
36402015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3641
3642 * gdb.python/py-xmethods.cc: Enhance test case.
3643 * gdb.python/py-xmethods.exp: New tests.
3644 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3645 function.
3646 (B_indexoper): Likewise.
3647 (global_dm_list) : Add new xmethod worker functions.
3648
f7797074
SDJ
36492015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3650
3651 * gdb.base/coredump-filter.exp: Correctly unset
3652 "coredump_var_addr" array.
3653
a4674e4e
PA
36542015-05-08 Pedro Alves <palves@redhat.com>
3655
3656 * gdb.server/non-existing-program.exp: Unset spawn_id.
3657
df2eb078
SC
36582015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3659
3660 PR python/18291
3661 * gdb.python/py-xmethods.exp: Add tests.
3662
422349a3
YQ
36632015-05-08 Yao Qi <yao.qi@linaro.org>
3664
3665 PR gdb/18208
3666 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3667 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3668 function set_coredump_filter, and remove remote_exec call.
3669 Remove argument ipid. Callers update.
3670 (top level): Don't get inferior's PID.
3671
63fc80ce
AA
36722015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3673
3674 * gdb.base/watch_thread_num.exp: Skip test on targets without
3675 access watchpoints.
3676
80ad801e
PA
36772015-05-06 Pedro Alves <palves@redhat.com>
3678
3679 PR server/18081
3680 * gdb.server/non-existing-program.exp: New file.
3681
0fa7fe50
JB
36822015-05-05 Joel Brobecker <brobecker@adacore.com>
3683
3684 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3685
3ea89b92
PMR
36862015-05-05 Joel Brobecker <brobecker@adacore.com>
3687
3688 * gdb.ada/out_of_line_in_inlined: New testcase.
3689
87b8eff0
JB
36902015-05-05 Joel Brobecker <brobecker@adacore.com>
3691
3692 * gdb.ada/var_rec_arr: New testcase.
3693
5fccc635
YQ
36942015-04-30 Yao Qi <yao.qi@linaro.org>
3695
3696 * gdb.base/break-idempotent.exp: If
3697 skip_hw_watchpoint_multi_tests returns true, skip the tests
3698 on "rwatch" and "awatch".
3699
42d38f42
YQ
37002015-04-30 Yao Qi <yao.qi@linaro.org>
3701
3702 * gdb.base/relativedebug.exp: Invoke gdb command
3703 "info sharedlibrary", and if libc.so doesn't have debug info,
3704 skip the test.
3705
2ce1cdbf
DE
37062015-04-29 Doug Evans <dje@google.com>
3707
3708 * gdb.python/py-xmethods.exp: Add ptype tests.
3709 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3710 get_result_type method.
3711
f24a38c5
LM
37122015-04-29 Luis Machado <lgustavo@codesourcery.com>
3713
3714 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3715 the target does not support hardware watchpoints.
3716
ecbf2b3c
LM
37172015-04-29 Luis Machado <lgustavo@codesourcery.com>
3718
3719 * gdb.base/break-always.exp: Abort testing if writing to memory
3720 causes an error.
3721
34f5f757
DE
37222015-04-28 Doug Evans <dje@google.com>
3723
3724 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3725 * gdb.python/py-pp-registration.exp: ... here. New file.
3726 * gdb.python/py-pp-registration.c: New file.
3727 * gdb.python/py-pp-registration.py: New file.
3728
69b4374a
DE
37292015-04-28 Doug Evans <dje@google.com>
3730
3731 * gdb.python/py-bad-printers.c: New file.
3732 * gdb.python/py-bad-printers.py: New file.
3733 * gdb.python/py-bad-printers.exp: New file.
3734
59fb7612
SS
37352015-04-28 Sasha Smundak <asmundak@google.com>
3736
3737 * gdb.python/py-type.exp: New test.
3738
2631b16a
AW
37392015-04-28 Andy Wingo <wingo@igalia.com>
3740
3741 * gdb.python/py-parameter.exp:
3742 * gdb.guile/scm-parameter.exp: Escape the path that we are
3743 matching against, as it might contain characters that are special
3744 to regular expressions.
3745
460efde1
JB
37462015-04-27 Joel Brobecker <brobecker@adacore.com>
3747
3748 * gdb.ada/rec_comp: New testcase.
3749
2d369d8e
SDJ
37502015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3751
3752 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3753 before using it.
3754
cf75d6c3
AB
37552015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3756
3757 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3758 new tests for verilog output.
3759
8dbe7ca5
YQ
37602015-04-24 Yao Qi <yao.qi@linaro.org>
3761
3762 * boards/remote-gdbserver-on-localhost.exp: New file.
3763
4ef9fb2f
PA
37642015-04-23 Pedro Alves <palves@redhat.com>
3765
3766 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3767 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3768 "end of file", remove $inferior_spawn_id from the indirect list.
3769
0a803169
PA
37702015-04-23 Pedro Alves <palves@redhat.com>
3771
3772 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3773
749ef8f8
PA
37742015-04-23 Pedro Alves <palves@redhat.com>
3775
3776 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3777 on $any_spawn_id instead of only on $gdb_spawn_id.
3778
8aae4344
PM
37792015-04-21 Pierre Muller <muller@sourceware.org>
3780
3781 PR pascal/17815
3782 * lib/pascal.exp (gpc_compile): Add new option "class".
3783 (fpc_compile): Likewise.
3784 * gdb.pascal/case-insensitive-symbols.pas: New file.
3785 * gdb.pascal/case-insensitive-symbols.exp: New file.
3786
1586c8fb
GB
37872015-04-20 Gary Benson <gbenson@redhat.com>
3788
3789 * gdb.base/attach.exp: Fix three extended remote failures.
3790
1b6e6f5c
GB
37912015-04-17 Gary Benson <gbenson@redhat.com>
3792
3793 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3794 the main executable over the remote protocol.
3795
e797481d
PA
37962015-04-16 Pedro Alves <palves@redhat.com>
3797
3798 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3799 a new gdbserver if gdbserver_reconnect_p is set.
3800
1ca99c42
PA
38012015-04-16 Pedro Alves <palves@redhat.com>
3802
3803 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3804 is set, don't exit gdbserver.
3805
af9fd6f8
AA
38062015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3807
3808 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3809 appropriate .insn, such that an older assembler can be used.
3810 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3811 the z/Architecture instruction set on 31-bit targets as well.
3812
04ff1e61
AA
38132015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3814
3815 * gdb.go/handcall.exp: Remove all logic related to the first
3816 breakpoint and rely on go_runto_main instead.
3817 * gdb.go/strings.exp: Likewise.
3818 * gdb.go/unsafe.exp: Likewise.
3819 * gdb.go/hello.exp: Likewise. Also rename the remaining
3820 breakpoint marker to "breakpoint 1".
3821 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3822 * gdb.go/strings.go: Likewise.
3823 * gdb.go/unsafe.go: Likewise.
3824 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3825 "set breakpoint 2 here" and rename the remaining breakpoint marker
3826 to "breakpoint 1".
3827
40d2f8d6
SM
38282015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3829
3830 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3831 if itertools.imap is not present.
3832 * gdb.python/py-objfile.exp: Add parentheses.
3833 * gdb.python/py-type.exp: Same.
3834 * gdb.python/py-unwind-maint.py: Same.
3835
8cbc97c6
YQ
38362015-04-15 Yao Qi <yao.qi@linaro.org>
3837
3838 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3839 of ":$ptr_size" and set its form explicitly.
3840
45fd756c
YQ
38412015-04-15 Pedro Alves <palves@redhat.com>
3842 Yao Qi <yao.qi@linaro.org>
3843
3844 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3845 timeout by factor of 4.
3846 (test_regular_watch): Likewise.
3847 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3848 * gdb.reverse/sigall-reverse.exp: Likewise.
3849 * gdb.reverse/until-precsave.exp: Likewise.
3850 * lib/gdb.exp (with_timeout_factor): New proc.
3851 (gdb_expect): Move some code to ...
3852 (get_largest_timeout): ... here. New procedure.
3853
9e811bc3
LM
38542015-04-14 Luis Machado <lgustavo@codesourcery.com>
3855
3856 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3857
0ff6fcb2
LM
38582015-04-13 Luis Machado <lgustavo@codesourcery.com>
3859
3860 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3861 to write to the .text section.
3862
7578d5f7
LM
38632015-04-13 Luis Machado <lgustavo@codesourcery.com>
3864
3865 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3866 Handle the case of targets that do not provide PID information.
3867
2efe15c4
YQ
38682015-04-13 Yao Qi <yao.qi@linaro.org>
3869
3870 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3871 and use expect instead of gdb_expect.
3872
8cd8f2f8
SDJ
38732015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3874
3875 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3876 "coredump_var_addr" to avoid naming conflict with other testcases.
3877
9ee41772
PA
38782015-04-10 Pedro Alves <palves@redhat.com>
3879
3880 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3881 gdb_test_sequence and gdb_assert.
3882
07473109
PA
38832015-04-10 Pedro Alves <palves@redhat.com>
3884
3885 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3886 test messages that don't include the breakpoint address.
3887
de3db44c
YQ
38882015-04-10 Yao Qi <yao.qi@linaro.org>
3889
3890 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3891 false for some offset and width combinations which aren't
3892 supported by linux kernel.
3893
c79d856c
PA
38942015-04-10 Pedro Alves <palves@redhat.com>
3895
3896 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3897 procedure, factored out from ...
3898 (top level): ... here. Add "set displaced-stepping" testing axis.
3899 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3900 parameter "displaced". Use it.
3901 (top level): Use foreach and add "set displaced-stepping" testing
3902 axis.
3903
ebc90b50
PA
39042015-04-10 Pedro Alves <palves@redhat.com>
3905
3906 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3907 Remove comment.
3908 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3909 both the address of the instruction that triggers the watchpoint
3910 and the address of the instruction immediately after, and use
3911 those addresses for the test. Fix comment.
3912
8f572e5c
PA
39132015-04-10 Pedro Alves <palves@redhat.com>
3914
3915 * gdb.base/sigstep.exp (breakpoint_to_handler)
3916 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3917 Test "backtrace" in handler.
3918 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3919 (top level): Add new "displaced" test axis to
3920 breakpoint_to_handler, breakpoint_to_handler_entry and
3921 breakpoint_over_handler.
3922
8d707a12
PA
39232015-04-10 Pedro Alves <palves@redhat.com>
3924
3925 PR gdb/18216
3926 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3927
ef713951
YQ
39282015-04-10 Yao Qi <yao.qi@linaro.org>
3929
3930 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3931 (test_add_rn_pc): New function.
3932 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3933 (top level): Invoke test_add_rn_pc.
3934
906d60cf
PA
39352015-04-10 Pedro Alves <palves@redhat.com>
3936
3937 PR gdb/13858
3938 * gdb.base/step-over-no-symbols.exp: New file.
3939
f2983cc3
AW
39402015-04-09 Andy Wingo <wingo@igalia.com>
3941
3942 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3943 after the Python tests.
3944
6d62641c
SDJ
39452015-04-08 Keith Seitz <keiths@redhat.com>
3946
3947 PR python/16699
3948 * gdb.python/py-completion.exp: New tests for completion.
3949 * gdb.python/py-completion.py (CompleteLimit1): New class.
3950 (CompleteLimit2): Likewise.
3951 (CompleteLimit3): Likewise.
3952 (CompleteLimit4): Likewise.
3953 (CompleteLimit5): Likewise.
3954 (CompleteLimit6): Likewise.
3955 (CompleteLimit7): Likewise.
3956
f3770638
PA
39572015-04-08 Pedro Alves <palves@redhat.com>
3958
3959 PR gdb/18214
3960 PR gdb/18216
3961 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3962 function.
3963 (main): Install it as SIGUSR1 handler.
3964 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3965 parameter. Always use "setup" as prefix. Toggle "set
3966 displaced-stepping" off/on depending on global. Don't switch to
3967 thread 1 here.
3968 (top level): Add displaced stepping "off/on" test axis. Update
3969 "setup" calls. Wrap each subtest with with_test_prefix. Test
3970 continuing with a queued signal in each thread.
3971
4496bed7
PA
39722015-04-08 Pedro Alves <palves@redhat.com>
3973
3974 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3975 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3976 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3977 Return early if running to main fails.
3978 * gdb.trace/while-stepping.exp: Likewise.
3979
b97fde92
PA
39802015-04-07 Pedro Alves <palves@redhat.com>
3981
3982 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3983 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3984 interact with inferior program.
3985
f71c18e7
PA
39862015-04-07 Pedro Alves <palves@redhat.com>
3987
3988 * lib/gdb.exp (inferior_spawn_id): New global.
3989 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3990 spawn id after processing the user code.
3991 (default_gdb_start): Set inferior_spawn_id.
3992 (send_inferior): New procedure.
3993 * lib/gdbserver-support.exp (gdbserver_start): Set
3994 inferior_spawn_id.
3995 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3996
6423214f
PA
39972015-04-07 Pedro Alves <palves@redhat.com>
3998
3999 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4000 * lib/gdbserver-support.exp (gdbserver_start): Make
4001 $server_spawn_id global.
4002 (gdbserver_start): Don't wait for gdbserver's spawn id with
4003 expect_background.
4004 (close_gdbserver): New procedure.
4005 (gdb_exit): Rename the default version and reimplement.
4006
71c0ee8c
PA
40072015-04-07 Pedro Alves <palves@redhat.com>
4008
72f4393d 4009 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
4010 append the substituted item, not the original item.
4011
203bc29b
PA
40122015-04-07 Pedro Alves <palves@redhat.com>
4013
4014 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4015 gdb_expect.
4016
508a3ddf
PA
40172015-04-07 Pedro Alves <palves@redhat.com>
4018
4019 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4020 output appearing once only.
4021
9f6dbe2b
PA
40222015-04-07 Pedro Alves <palves@redhat.com>
4023
4024 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4025 that doesn't expect anything. Return early if running to main
4026 fails.
4027
337532fa
YQ
40282015-04-07 Yao Qi <yao.qi@linaro.org>
4029
4030 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4031 (child_function): Call alarm.
4032 (main): Move call to alarm into the loop.
4033 * gdb.threads/non-stop-fair-events.exp: Build program with
4034 -DTIMEOUT=$timeout.
4035
01b622d4
DE
40362015-04-06 Doug Evans <xdje42@gmail.com>
4037
4038 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4039 Fix dest parameter to board_info.
4040 (fpc_compile): Ditto.
4041 (gdb_compile_pascal): Rename dest arg to destfile.
4042
961f4160
PMR
40432015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4044
4045 * gdb.ada/funcall_ref.exp: New file.
4046 * gdb.ada/funcall_ref/foo.adb: New file.
4047
cafda597
YQ
40482015-04-02 Yao Qi <yao.qi@linaro.org>
4049
4050 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4051 is remote.
4052
fed040c6
GB
40532015-04-02 Gary Benson <gbenson@redhat.com>
4054
4055 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4056
d11916aa
SS
40572015-04-01 Sasha Smundak <asmundak@google.com>
4058
4059 * gdb.python/py-unwind-maint.c: New file.
4060 * gdb.python/py-unwind-maint.exp: New test.
4061 * gdb.python/py-unwind-maint.py: New file.
4062 * gdb.python/py-unwind.c: New file.
4063 * gdb.python/py-unwind.exp: New test.
4064 * gdb.python/py-unwind.py: New test.
4065
a1471180
PA
40662015-04-01 Pedro Alves <palves@redhat.com>
4067
4068 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4069 to fail instead of non-existent $test.
4070
0bbeccb1
PA
40712015-04-01 Pedro Alves <palves@redhat.com>
4072
4073 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4074 GDBFLAGS if not empty.
4075
3c724c8c
PMR
40762015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4077
4078 * gdb.ada/complete.exp: Remove "multi_line".
4079 * gdb.ada/info_exc.exp: Remove "multi_line".
4080 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4081 * gdb.ada/ptype_field.exp: Remove "multi_line".
4082 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4083 * gdb.ada/tagged.exp: Remove "multi_line".
4084 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4085 [multi_line ...]
4086 * gdb.btrace/delta.exp: Likewise.
4087 * gdb.btrace/exception.exp: Likewise.
4088 * gdb.btrace/function_call_history.exp: Likewise.
4089 * gdb.btrace/instruction_history.exp: Likewise.
4090 * gdb.btrace/nohist.exp: Likewise.
4091 * gdb.btrace/record_goto.exp: Likewise.
4092 * gdb.btrace/segv.exp: Likewise.
4093 * gdb.btrace/stepi.exp: Likewise.
4094 * gdb.btrace/tailcall.exp: Likewise.
4095 * gdb.btrace/unknown_functions.exp: Likewise.
4096 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4097 * lib/gdb.exp: Add the "multi_line" helper.
4098
4eec2deb
PA
40992015-04-01 Pedro Alves <palves@redhat.com>
4100
4101 * gdb.threads/tid-reuse.c: New file.
4102 * gdb.threads/tid-reuse.exp: New file.
4103
df8411da
SDJ
41042015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4105
4106 PR corefiles/16092
4107 * gdb.base/coredump-filter.c: New file.
4108 * gdb.base/coredump-filter.exp: Likewise.
4109
6ef37366
PM
41102015-03-27 Petr Machata <pmachata@redhat.com>
4111
4112 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4113 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4114 (Dwarf::assemble): Initialize them.
4115 (Dwarf::lines): New function.
4116
7ec911b0
JT
41172015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4118
4119 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4120 SYMBOL_PREFIX for x86_64-*-cygwin.
4121
ff908ebf
AW
41222015-03-26 Andy Wingo <wingo@igalia.com>
4123
4124 PR symtab/18148
4125 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4126 const_value but not a location.
4127 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4128 location defined in non-main CUs are visible.
4129
6d5f0679
YQ
41302015-03-26 Yao Qi <yao.qi@linaro.org>
4131
4132 PR testsuite/18139
4133 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4134 Add a line number entry for the same line.
4135 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4136 Add a line number entry for the same line.
4137
2898689b
YQ
41382015-03-26 Yao Qi <yao.qi@linaro.org>
4139
4140 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4141 .int 0.
4142 (func): Likewise. Add .Lfunc_1 label.
4143 Use .Lfunc_1 label.
4144 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4145 .int 0.
4146 (func): Likewise.
4147 Use .Lfunc_1 label.
4148
85180498
YQ
41492015-03-26 Yao Qi <yao.qi@linaro.org>
4150
4151 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4152 Call gdb_compile instead to compile each .s files without debug
4153 information.
4154
8aa08a8d
YQ
41552015-03-26 Yao Qi <yao.qi@linaro.org>
4156
4157 * gdb.base/savedregs.exp (process_saved_regs): Make
4158 "Saved registers:" optional in the pattern.
4159
66849923
MM
41602015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4161
4162 * gdb.btrace/next.exp: Merged into step.exp.
4163 * gdb.btrace/finish.exp: Merged into step.exp.
4164 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4165 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4166 "record goto" and checking the exact replay position.
4167 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4168 check for "Recording format" in "info record" output.
4169 * gdb.btrace/record_goto.exp: Choose test file based on target.
4170 * gdb.btrace/x86-record_goto.S: Renamed into ...
4171 * gdb.btrace/x86_64-record_goto.S: ... this.
4172 * gdb.btrace/i686-record_goto.S: New.
4173 * gdb.btrace/x86-tailcall.S: Renamed into ...
4174 * gdb.btrace/x86_64-tailcall.S: ... this.
4175 * gdb.btrace/i686-tailcall.S: New.
4176 * gdb.btrace/x86-tailcall.c: Renamed into ...
4177 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4178 separate statements. Update test.
4179 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4180 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4181 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4182 * gdb.btrace/tailcall.exp: Choose test file based on target.
4183 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4184
11cc1b74
MM
41852015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4186
4187 * gdb.btrace/exception.exp: Increase BTS buffer size.
4188
a25d8bf9
PA
41892015-03-24 Pedro Alves <palves@redhat.com>
4190
4191 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4192
856e7dd6
PA
41932015-03-24 Pedro Alves <palves@redhat.com>
4194
4195 * gdb.threads/schedlock.exp (test_step): No longer expect that
4196 "set scheduler-locking step" with "next" over a function call runs
4197 threads unlocked.
4198
ad235a41
AT
41992015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4200
4201 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4202
15630549
AT
42032015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4204
4205 PR breakpoints/16466
4206 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4207 * gdb.mi/mi-pending.c (thread_func): New function.
4208 (int main): Add threading support required.
4209 * gdb.mi/mi-pending.exp: Add tests for this issue.
4210 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4211 (pendfunc2): Remove stdio dependency.
4212 * gdb.mi/mi-pendshr2.c: New file.
4213
693dca06
KS
42142015-03-23 Keith Seitz <keiths@redhat.com>
4215
4216 * gdb.linespec/keywords.c: New file.
4217 * gdb.linespec/keywords.exp: New file.
4218
7e993ebf
KS
42192015-03-23 Keith Seitz <keiths@redhat.com>
4220
4221 PR gdb/18021
4222 * gdb.dwarf2/staticvirtual.exp: New test.
4223
bc23328c
JK
42242015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4225
4226 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4227 * README: Remove HP-UX and gdb.hp.
4228 (configuration):
4229 * configure: Regenerate.
4230 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4231 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4232 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4233 gdb.hp/gdb.defects/Makefile.
4234 * gdb.hp/Makefile.in: File deleted.
4235 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4236 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4237 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4238 * gdb.hp/gdb.aCC/run.c: File deleted.
4239 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4240 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4241 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4242 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4243 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4244 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4245 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4246 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4247 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4248 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4249 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4250 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4251 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4252 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4253 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4254 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4255 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4256 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4257 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4258 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4259 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4260 * gdb.hp/gdb.compat/average.c: File deleted.
4261 * gdb.hp/gdb.compat/sum.c: File deleted.
4262 * gdb.hp/gdb.compat/xdb.c: File deleted.
4263 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4264 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4265 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4266 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4267 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4268 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4269 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4270 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4271 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4272 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4273 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4274 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4275 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4276 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4277 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4278 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4279 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4280 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4281 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4282 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4283 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4284 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4285 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4286 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4287 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4288 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4289 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4290 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4291 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4292 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4293 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4294 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4295 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4296 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4297 * gdb.hp/tools/odump: File deleted.
4298
8bf3b159
PA
42992015-03-19 Pedro Alves <palves@redhat.com>
4300
4301 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4302 (saw_thread_3): New globals.
4303 (top level): Increment them when an event for the corresponding
4304 thread is seen.
4305 (no thread starvation): New test.
4306
eb54c8bf
PA
43072015-03-19 Pedro Alves <palves@redhat.com>
4308
4309 * gdb.threads/continue-pending-status.c: New file.
4310 * gdb.threads/continue-pending-status.exp: New file.
4311
32d2e5d6
PA
43122015-03-18 Pedro Alves <palves@redhat.com>
4313
4314 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4315 Use gdb_is_target_remote instead of is_remote. Use
4316 gdb_test_multiple instead of gdb_expect. Exit early if
4317 gdb_test_multiple hits its internal matches. Tighten stepi tests
4318 expected output. Fail on exit with any signal, instead of just
4319 SIGILL.
4320
f68f11b7
YQ
43212015-03-18 Yao Qi <yao.qi@linaro.org>
4322
4323 PR tdep/18107
4324 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4325 variable.
4326 * gdb.base/catch-syscall.exp: Don't skip it on
4327 aarch64*-*-linux* target. Remove elements in all_syscalls.
4328 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4329 target.
4330 (setup_all_syscalls): New proc.
4331
ca5fd19b
YQ
43322015-03-16 Yao Qi <yao.qi@linaro.org>
4333
4334 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4335 (top level): Skip tests if valid_addr_p returns false for
4336 $cmd1 or $cmd2.
4337
85642ba0
AW
43382015-03-11 Andy Wingo <wingo@igalia.com>
4339
4340 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4341
e03f9645
YQ
43422015-03-11 Yao Qi <yao.qi@linaro.org>
4343
4344 * gdb.base/catch-syscall.exp: Fix typo in comments.
4345
5d0962b2
YQ
43462015-03-11 Yao Qi <yao.qi@linaro.org>
4347
4348 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4349
b2df3cef
PA
43502015-03-09 Pedro Alves <palves@redhat.com>
4351
4352 * dg-extract-results.py: Delete.
4353
ef878e53
PA
43542015-03-09 Pedro Alves <palves@redhat.com>
4355
4356 Merge dg-extract-results.sh from GCC upstream (r218843).
4357
4358 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4359 * dg-extract-results.sh: Use --text with grep to avoid issues with
4360 binary files. Fall back to cat -v, if that doesn't work.
4361
9494d219
PA
43622015-03-05 Pedro Alves <palves@redhat.com>
4363
4364 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4365
a8d9763a
SM
43662015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4367
4368 * lib/mi-support.exp (mi_expect_interrupt): Accept
4369 alternative event for when in all-stop mode.
4370
be9957b8
PA
43712015-03-04 Pedro Alves <palves@redhat.com>
4372
4373 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4374
d57be0f4 43752015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
4376
4377 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4378
c214c7cf
AA
43792015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4380
4381 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4382 regexps for GDB's current line display, accept a hex address
4383 preceding the line number.
4384
6d74a497
AA
43852015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4386
4387 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4388 the 'arch1' variable for "s390*-linux*" targets.
4389
511aee7c
PA
43902015-03-04 Pedro Alves <palves@redhat.com>
4391
4392 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4393 (main): Pass missing retval argument to pthread_join call.
4394
95e50b27
PA
43952015-03-02 Pedro Alves <palves@redhat.com>
4396
4397 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4398 (top level): Call do_test with non-stop as well.
4399
28054d69
PA
44002015-03-02 Pedro Alves <palves@redhat.com>
4401
4402 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4403 -1.
4404
4fa5d7b4
AA
44052015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4406
4407 * gdb.arch/s390-vregs.exp: New test.
4408 * gdb.arch/s390-vregs.S: New file.
4409
97c18565
PA
44102015-02-27 Pedro Alves <palves@redhat.com>
4411
4412 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4413 call to catch_command_errors.
4414 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4415 catch_command_errors.
4416
a37bfa30
PA
44172015-02-27 Pedro Alves <palves@redhat.com>
4418
4419 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4420 "true" for boolean result.
4421 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4422 prototype of main.
4423
6f98576f
PA
44242015-02-27 Pedro Alves <palves@redhat.com>
4425
4426 * lib/unbuffer_output.c: New file.
4427 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4428 (main): Call gdb_unbuffer_output.
4429
eba5ab56
YQ
44302015-02-27 Yao Qi <yao.qi@linaro.org>
4431
4432 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4433 target.
4434
0def5aaa
DE
44352015-02-26 Doug Evans <dje@google.com>
4436
4437 * gdb.cp/class2.cc (Dbase, D): New classes.
4438 (main): New local delta.
4439 * gdb.cp/class2.exp: Test printing delta.
4440 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4441 (dynbar): New global.
4442 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4443
081a1c2c
JK
44442015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4445
4446 * gdb.compile/compile-ifunc.c: New file.
4447 * gdb.compile/compile-ifunc.exp: New file.
4448
2f41223f
AT
44492015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4450
4451 * gdb.base/structs.exp: Check for correct struct on finish.
4452
03eddd80
YQ
44532015-02-26 Yao Qi <yao.qi@linaro.org>
4454
4455 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4456 is zero.
4457
80c57053
JK
44582015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4459
4460 * gdb.arch/cordic.ko.bz2: New file.
4461 * gdb.arch/cordic.ko.debug.bz2: New file.
4462 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4463
21613c12
YQ
44642015-02-25 Yao Qi <yao.qi@linaro.org>
4465
4466 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4467 aarch64*-*-* target.
4468
d8b901ed
PA
44692015-02-23 Pedro Alves <palves@redhat.com>
4470
4471 * lib/gdb.exp (delete_breakpoints): Rewrite using
4472 gdb_test_multiple.
4473
e5b85ead
PA
44742015-02-23 Pedro Alves <palves@redhat.com>
4475
4476 * gdb.base/info-os.c: Include stdlib.h.
4477
85c3a371
DE
44782015-02-22 Doug Evans <xdje42@gmail.com>
4479
4480 PR symtab/17855
4481 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4482 is read after symbols have been re-read.
4483 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4484 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4485
96553a0c
DE
44862015-02-21 Doug Evans <dje@google.com>
4487
4488 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4489
97a0c697
JK
44902015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4491
4492 PR corefiles/17808
4493 * gdb.arch/i386-biarch-core.core.bz2: New file.
4494 * gdb.arch/i386-biarch-core.exp: New file.
4495
a47cd6e9
PA
44962015-02-21 Pedro Alves <palves@redhat.com>
4497
4498 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4499 runto_main fails.
4500
c5facdc4
PA
45012015-02-20 Pedro Alves <palves@redhat.com>
4502
4503 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4504 info probes.
4505
2db9a427
PA
45062015-02-20 Pedro Alves <palves@redhat.com>
4507
4508 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4509
60fb7e9e
PA
45102015-02-20 Pedro Alves <palves@redhat.com>
4511
4512 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4513 clean_restart before gdb_target_supports_trace.
4514
5c5019c2
PA
45152015-02-20 Pedro Alves <palves@redhat.com>
4516
4517 PR threads/18006
4518 * gdb.threads/clone-thread_db.c: New file.
4519 * gdb.threads/clone-thread_db.exp: New file.
4520
c9587f88
AT
45212015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4522
4523 PR breakpoints/16812
4524 * gdb.base/catch-gdb-caused-signals.c: New file.
4525 * gdb.base/catch-gdb-caused-signals.exp: New file.
4526
f6a88844
JM
45272015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4528
4529 * configure: Regenerated.
4530 * configure.ac: Use GDB_AC_TRANSFORM.
4531 * aclocal.m4: sinclude ../transform.m4.
4532
497c491b
JM
45332015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4534
4535 * lib/dtrace.exp: New file.
4536 * gdb.base/dtrace-probe.exp: Likewise.
4537 * gdb.base/dtrace-probe.d: Likewise.
4538 * gdb.base/dtrace-probe.c: Likewise.
4539 * lib/pdtrace.in: Likewise.
4540 * configure.ac: Output variables with the transformed names of
4541 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4542 * configure: Regenerated.
4543
03e98035
JM
45442015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4545
4546 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4547 expected message when trying to access $_probe_* convenience
4548 variables while not on a probe.
4549
63cc30e9
JK
45502015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4551
4552 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4553
0703599a
PA
45542015-02-11 Pedro Alves <pedro@codesourcery.com>
4555
4556 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4557 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4558
7e60a48e
DE
45592015-02-10 Doug Evans <xdje42@gmail.com>
4560
4561 * lib/gdb.exp (gdb_load): Always return a result.
4562
01b088bc
PA
45632015-02-10 Pedro Alves <palves@redhat.com>
4564
4565 * gdb.threads/signal-sigtrap.c: New file.
4566 * gdb.threads/signal-sigtrap.exp: New file.
4567
b05ec7a5
AT
45682015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4569
4570 * gdb.trace/no-attach-trace.c: New file.
4571 * gdb.trace/no-attach-trace.exp: New file.
4572
a2c2acaf
MW
45732015-02-09 Mark Wielaard <mjw@redhat.com>
4574
4575 * gdb.dwarf2/atomic.c: New file.
4576 * gdb.dwarf2/atomic-type.exp: Likewise.
4577
31fd9caa
MM
45782015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4579
4580 * gdb.btrace/buffer-size.exp: Update "info record" output.
4581 * gdb.btrace/delta.exp: Update "info record" output.
4582 * gdb.btrace/enable.exp: Update "info record" output.
4583 * gdb.btrace/finish.exp: Update "info record" output.
4584 * gdb.btrace/instruction_history.exp: Update "info record" output.
4585 * gdb.btrace/next.exp: Update "info record" output.
4586 * gdb.btrace/nexti.exp: Update "info record" output.
4587 * gdb.btrace/step.exp: Update "info record" output.
4588 * gdb.btrace/stepi.exp: Update "info record" output.
4589 * gdb.btrace/nohist.exp: Update "info record" output.
4590
d33501a5
MM
45912015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4592
4593 * gdb.btrace/buffer-size: New.
4594
f4abbc16
MM
45952015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4596
4597 * gdb.btrace/delta.exp: Update "info record" output.
4598 * gdb.btrace/enable.exp: Update "info record" output.
4599 * gdb.btrace/finish.exp: Update "info record" output.
4600 * gdb.btrace/instruction_history.exp: Update "info record" output.
4601 * gdb.btrace/next.exp: Update "info record" output.
4602 * gdb.btrace/nexti.exp: Update "info record" output.
4603 * gdb.btrace/step.exp: Update "info record" output.
4604 * gdb.btrace/stepi.exp: Update "info record" output.
4605 * gdb.btrace/nohist.exp: Update "info record" output.
4606
b9d61307
SM
46072015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4608
4609 PR gdb/15678
4610 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4611
e584fdbc
PA
46122015-02-06 Pedro Alves <palves@redhat.com>
4613
4614 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4615 macro.
4616 (seconds_left, again): New globals.
4617 (main): Wait seconds_left in a 1-second sleep loop instead of
4618 sleeping 180 seconds. If 'again' is set, reset the seconds
4619 counter.
4620 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4621 'again' in the inferior before detaching. Print the seconds left.
4622 (options): New global.
4623 (top level): Build program with -DTIMEOUT=$timeout.
4624
77f41761
PA
46252015-02-06 Pedro Alves <palves@redhat.com>
4626
4627 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4628 determine how many seconds to pass to 'alarm'.
4629 * gdb.base/gdb-sigterm.exp (top level): Build program with
4630 -DTIMEOUT=$timeout.
4631 (do_test): Return success/failure indication. Add more verbose
4632 logging. Don't fail if 200 single steps are seen. Instead, fail
4633 when the test times out.
4634 (passes): New global.
4635 (top level): Break the testing loop if testing fails on any
4636 iteration. Use gdb_assert.
4637
b9394193
DB
46382015-02-04 Don Breazeal <donb@codesourcery.com>
4639
4640 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4641 and initialize them.
4642 (ipc_cleanup): New function.
4643 (main): Don't declare shmid, semid, and msqid. Add a call to
4644 atexit so that we call ipc_cleanup on exit.
4645
42d9e528
PA
46462015-02-04 Pedro Alves <palves@redhat.com>
4647
4648 * boards/native-extended-gdbserver.exp: Remove any target variant
4649 specifications from the board name before clearing the isremote
4650 flag from board_info.
4651
ae6ae975
DE
46522015-01-31 Doug Evans <xdje42@gmail.com>
4653
4654 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4655
cfb069a8
GB
46562015-01-31 Gary Benson <gbenson@redhat.com>
4657
4658 * gdb.base/completion.exp: Disable completion limiting for
4659 existing tests. Add new tests to check completion limiting.
4660 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4661
5dd31d79
DE
46622015-01-31 Doug Evans <xdje42@gmail.com>
4663
4664 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4665
9f050062
DE
46662015-01-31 Doug Evans <xdje42@gmail.com>
4667
4668 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4669 entries. Duplicate file section script entries.
4670 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4671 inlined entries. Add test for safe-path rejection.
4672 * gdb.python/py-section-script.c: Add duplicate inlined section script
4673 entries. Duplicate file section script entries.
4674 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4675 inlined entries. Add test for safe-path rejection.
4676
df25ebbd
JB
46772015-01-29 Joel Brobecker <brobecker@adacore.com>
4678
4679 * gdb.ada/disc_arr_bound: New testcase.
4680
4a0ca9ec
JB
46812015-01-29 Joel Brobecker <brobecker@adacore.com>
4682
4683 * gdb.ada/mi_var_array: New testcase.
4684
3a8b707a
DE
46852015-01-27 Doug Evans <dje@google.com>
4686
4687 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4688 Add test for objfile.filename, objfile.username after objfile
4689 has been unloaded.
4690
f8313f6e
JB
46912015-01-26 Joel Brobecker <brobecker@adacore.com>
4692
4693 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4694 the second test to print the name attribute of value
4695 returned by the call to gdb.lookup_type, and adjust
4696 the expected output accordingly.
4697
37bc665e
MW
46982015-01-25 Mark Wielaard <mjw@redhat.com>
4699
4700 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4701 * gdb.base/disp-step-fork.c: Include unistd.h.
4702 * gdb.base/siginfo-obj.c: Include stdio.h.
4703 * gdb.base/siginfo-thread.c: Likewise.
4704 * gdb.mi/non-stop.c: Include unistd.h.
4705 * gdb.mi/nsthrexec.c: Include stdio.h.
4706 * gdb.mi/pthreads.c: Include unistd.h.
4707 * gdb.modula2/unbounded1.c (main): Declare returns int.
4708 * gdb.reverse/consecutive-reverse.c: Likewise.
4709 * gdb.threads/create-fail.c: Include unistd.h.
4710 * gdb.threads/killed.c: Likewise.
4711 * gdb.threads/linux-dp.c: Likewise.
4712 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4713 * gdb.threads/non-ldr-exc-2.c: Likewise.
4714 * gdb.threads/non-ldr-exc-3.c: Likewise.
4715 * gdb.threads/non-ldr-exc-4.c: Likewise.
4716 * gdb.threads/pthreads.c: Include unistd.h.
4717 (main): Declare returns int.
4718 * gdb.threads/tls-main.c (foo): New declaration.
4719 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4720
f7e5394d
SM
47212015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4722
4723 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4724 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4725
743649fd
MW
47262015-01-15 Mark Wielaard <mjw@redhat.com>
4727
4728 * gdb.base/noreturn-return.c: New file.
4729 * gdb.base/noreturn-return.exp: New file.
4730 * gdb.base/noreturn-finish.c: New file.
4731 * gdb.base/noreturn-finish.exp: New file.
4732
198297aa
PA
47332015-01-23 Pedro Alves <palves@redhat.com>
4734
4735 * gdb.threads/continue-pending-after-query.c: New file.
4736 * gdb.threads/continue-pending-after-query.exp: New file.
4737
717cf30c
AG
47382015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4739 Simon Marchi <simon.marchi@ericsson.com>
4740
4741 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4742 * gdb.base/valgrind-db-attach.exp: Same.
4743 * gdb.base/valgrind-infcall.exp: Same.
4744 * lib/mi-support.exp (default_mi_gdb_start): Same.
4745 * lib/prompt.exp (default_prompt_gdb_start): Same.
4746 * lib/gdb.exp (default_gdb_spawn): Same.
4747 (gdb_interact): New.
4748
4749
4b62a76e
JK
47502015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4751
4752 * gdb.compile/compile.exp (pointer to jit function): New test.
4753
b4cdae6f
WW
47542015-01-17 Wei-cheng Wang <cole945@gmail.com>
4755
4756 * lib/gdb.exp (supports_process_record): Return true for
4757 powerpc*-*-linux*.
4758 (supports_reverse): Likewise.
4759
d221e7ef
DB
47602015-01-15 Don Breazeal <donb@codesourcery.com>
4761
4762 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4763 instead of checking whether the target board is remote and
4764 use spawn_wait_for_attach instead of exec/sleep.
4765 * gdb.base/attach-twice.exp: Likewise.
4766
bafffb51
JB
47672015-01-15 Joel Brobecker <brobecker@adacore.com>
4768
4769 * gdb.ada/var_arr_attrs: New testcase.
4770
5589af0e
PA
47712015-01-14 Pedro Alves <palves@redhat.com>
4772 Joel Brobecker <brobecker@adacore.com>
4773
4774 PR gdb/17525
4775 * gdb.base/bp-cmds-execution-x-script.c: New file.
4776 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4777 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4778
6c400b59
PA
47792015-01-14 Pedro Alves <palves@redhat.com>
4780
4781 PR cli/17828
4782 * gdb.base/batch-preserve-term-settings.c: New file.
4783 * gdb.base/batch-preserve-term-settings.exp: New file.
4784
e02c96a7
DE
47852015-01-13 Doug Evans <dje@google.com>
4786
4787 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4788 binary.
4789
576fd14c
JB
47902015-01-13 Joel Brobecker <brobecker@adacore.com>
4791
4792 * Makefile.in (clean mostlyclean): Do not delete *.py.
4793
04dccad0
JB
47942015-01-13 Joel Brobecker <brobecker@adacore.com>
4795
4796 * gdb.python/py-lookup-type.exp: New file.
4797
3d230f71
PA
47982015-01-12 Pedro Alves <palves@redhat.com>
4799
4800 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4801 restore GDBFLAGS before returning.
4802
7e67715d
JK
48032015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4804
4805 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4806 is_amd64_regs_target and is_x86_like_target.
4807
f2e0d4b4
DE
48082015-01-11 Doug Evans <xdje42@gmail.com>
4809
4810 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4811 is given without an explicit form.
4812 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4813 attributes.
4814 * gdb.dwarf/corrupt.exp: Ditto.
4815 * gdb.dwarf2/enum-type.exp: Ditto.
4816 * gdb.trace/entry-values.exp: Ditto.
4817 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4818
439250fb
DE
48192015-01-11 Doug Evans <xdje42@gmail.com>
4820
4821 PR gdb/15830
4822 * gdb.base/maint.exp: Remove references to "maint demangle".
4823 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4824 Add tests for explicitly specifying language to demangle.
4825 * gdb.dlang/demangle.exp: Ditto.
4826
ede9f622
PA
48272015-01-09 Pedro Alves <palves@redhat.com>
4828
4829 * gdb.threads/non-stop-fair-events.c: New file.
4830 * gdb.threads/non-stop-fair-events.exp: New file.
4831
a7b796db
PA
48322015-01-09 Pedro Alves <palves@redhat.com>
4833
4834 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4835 the global scope. Set a breakpoint after all threads are started
4836 rather than stepping over two source lines. Expect the prompt.
4837 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4838 global.
4839 (NUM): Now 15.
4840 (main): Use threads_started_barrier to wait for all threads to
4841 start. Main thread no longer calls thread_function. Exit after
4842 180 seconds.
4843 (loop): New function.
4844 (thread_function): Wait on threads_started_barrier barrier. Call
4845 'loop' at each iteration.
4846 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4847 threads have started, instead of hardcoding number of "next"
4848 steps. Use an access watchpoint instead of a write watchpoint.
4849
9665ffdd
PA
48502015-01-09 Pedro Alves <palves@redhat.com>
4851
4852 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4853 (thread_func): Wait on barrier.
4854 (main): Wait for all threads to start before stopping GDB.
4855 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4856 global.
4857 (thread1_func, thread2_func): Wait on barrier.
4858 (main): Wait for all threads to start before stopping GDB.
4859 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4860 New global.
4861 (thread1_func, thread2_func): Wait on barrier.
4862 (main): Wait for all threads to start before stopping GDB.
4863
c945a99f
PA
48642015-01-09 Pedro Alves <palves@redhat.com>
4865
4866 * gdb.threads/attach-many-short-lived-threads.c: New file.
4867 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4868
c1a747c1
PA
48692014-01-09 Pedro Alves <palves@redhat.com>
4870
4871 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4872 instead of to thread 2.
4873 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4874 Add barrier around each pthread_create call instead of around all
4875 calls.
4876 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4877 Set a break on thread_function and have the child threads hit it
4878 one at at a time.
4879
60b3033e
PA
48802015-01-09 Pedro Alves <palves@redhat.com>
4881
4882 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4883 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4884 false.
4885 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4886 checking whether the target board is remote.
4887 * gdb.multi/multi-attach.exp: Likewise.
4888 * gdb.python/py-sync-interp.exp: Likewise.
4889 * gdb.server/ext-attach.exp: Likewise.
4890 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4891 tests that need to attach, instead of checking whether the target
4892 board is remote at the top of the file.
4893
acc018ac
YQ
48942015-01-08 Yao Qi <yao@codesourcery.com>
4895
4896 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4897
50a18af8
JK
48982015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4899
4900 Fix testcase compilation.
4901 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4902
8503d6e1
JB
49032015-01-06 Joel Brobecker <brobecker@adacore.com>
4904
4905 * gdb.python/py-type.exp: Add a couple test about empty
4906 array creation, and negative-length array creation.
4907
cc73dbcc
DE
49082015-01-02 Doug Evans <xdje42@gmail.com>
4909
4910 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4911
0300bbc7
DE
49122015-01-02 Doug Evans <dje@google.com>
4913
4914 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4915
9d85a0ec
YQ
49162014-12-29 Yao Qi <yao@codesourcery.com>
4917
4918 * gdb.trace/entry-values.exp: Update comments. Rename variable
4919 bar_call_foo to returned_from_foo.
4920
87186c6a
MMN
49212014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4922
4923 PR gdb/17394
4924 * gdb.linespec/break-asm-file.c: New file.
4925 * gdb.linespec/break-asm-file.exp: New file.
4926 * gdb.linespec/break-asm-file0.s: New file.
4927 * gdb.linespec/break-asm-file1.s: New file.
4928
1bab7383
YQ
49292014-12-18 Nigel Stephens <nigel@mips.com>
4930 Maciej W. Rozycki <macro@codesourcery.com>
4931
4932 * gdb.base/float.exp: Handle the new output from "info float" on
4933 MIPS targets.
4934
1bc1068a
JK
49352014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4936
4937 Fix MinGW compilation.
4938 * gdb.compile/compile-ops.exp: Update untested message if
4939 !skip_compile_feature_tests.
4940 * gdb.compile/compile-setjmp.exp: Likewise.
4941 * gdb.compile/compile-tls.exp: Likewise.
4942 * gdb.compile/compile.exp: Likewise.
4943 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4944 supported on this host".
4945
b6615d10
DE
49462014-12-16 Doug Evans <xdje42@gmail.com>
4947
4948 * boards/stabs.exp: New file.
4949
25dda427
AA
49502014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4951
4952 * gdb.base/completion.exp: Adjust to format changes of "maint
4953 print user-registers".
4954
bf330350
CU
49552014-12-16 Catalin Udma <catalin.udma@freescale.com>
4956
4957 PR server/17457
4958 * gdb.arch/aarch64-fp.c: New file.
4959 * gdb.arch/aarch64-fp.exp: New file.
4960
395cf596
SDJ
49612014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4962
4963 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4964 r210637, r210913, r211666, r215400, r215817).
4965
4966 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4967 * dg-extract-results.py: New file.
4968 * dg-extract-results.sh: Use it if the environment seems
4969 suitable.
4970
4971 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4972
4973 * dg-extract-results.py (parse_run): Handle warnings that
4974 are printed before a test harness is run.
4975
4976 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4977
4978 * dg-extract-results.py (Named): Remove __cmp__ method.
4979 (output_variation): Use a key to sort variation.harnesses.
4980
4981 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4982
4983 * dg-extract-results.py: For Python 3, force sys.stdout to
4984 handle surrogate escape sequences.
4985 (safe_open): New function.
4986 (output_segment, main): Use it.
4987
4988 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4989
4990 * dg-extract-results.py (Prog.result_re): Include options
4991 in test name.
4992
4993 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4994
4995 * dg-extract-results.py (output_variation): Always sort if
4996 do_sum.
4997
e882ef3c
SM
49982014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4999
5000 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5001 as long as we get pagination notifications.
5002
4992aa20
JM
50032014-12-15 Jason Merrill <jason@redhat.com>
5004
5005 * Makefile.in (check-gdb.%): Restore.
5006 * README: Mention it.
5007
c1b5a1a6
JB
50082014-12-13 Joel Brobecker <brobecker@adacore.com>
5009
5010 * gdb.ada/str_uninit: New testcase.
5011
5537b577
JK
50122014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5013
5014 PR symtab/17642
5015 * gdb.base/vla-stub-define.c: New file.
5016 * gdb.base/vla-stub.c: New file.
5017 * gdb.base/vla-stub.exp: New file.
5018
bb2ec1b3
TT
50192014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5020 Jan Kratochvil <jan.kratochvil@redhat.com>
5021 Tom Tromey <tromey@redhat.com>
5022
5023 * configure.ac: Add gdb.compile/.
5024 * configure: Regenerate.
5025 * gdb.compile/Makefile.in: New file.
5026 * gdb.compile/compile-ops.exp: New file.
5027 * gdb.compile/compile-ops.c: New file.
5028 * gdb.compile/compile-tls.c: New file.
5029 * gdb.compile/compile-tls.exp: New file.
5030 * gdb.compile/compile-constvar.S: New file.
5031 * gdb.compile/compile-constvar.c: New file.
5032 * gdb.compile/compile-mod.c: New file.
5033 * gdb.compile/compile-nodebug.c: New file.
5034 * gdb.compile/compile-setjmp-mod.c: New file.
5035 * gdb.compile/compile-setjmp.c: New file.
5036 * gdb.compile/compile-setjmp.exp: New file.
5037 * gdb.compile/compile-shlib.c: New file.
5038 * gdb.compile/compile.c: New file.
5039 * gdb.compile/compile.exp: New file.
5040 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5041
4ff709eb
TT
50422014-12-12 Tom Tromey <tromey@redhat.com>
5043
5044 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5045 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5046
6dddd6a5
DE
50472014-12-12 Doug Evans <dje@google.com>
5048
5049 * lib/gdb-python.exp (get_python_valueof): New function.
5050 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5051
71c24708
AA
50522014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5053
5054 * gdb.base/completion.exp: Add test for completion of "info
5055 registers ".
5056
3e29f34a
MR
50572014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5058
5059 * gdb.base/func-ptrs.c: New file.
5060 * gdb.base/func-ptrs.exp: New file.
5061
fc126975
SM
50622014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5063
5064 PR breakpoints/17012
5065 * gdb.base/dprintf-detach.c: New file.
5066 * gdb.base/dprintf-detach.exp: New file.
5067
0a46d518
SM
50682014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5069
5070 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5071 * lib/gdb.exp (target_is_gdbserver): New procedure.
5072
a0be3e44
DE
50732014-12-08 Doug Evans <dje@google.com>
5074
5075 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5076
df1b803a
YQ
50772014-12-05 Yao Qi <yao@codesourcery.com>
5078
5079 * gdb.guile/scm-error.exp: Remove the third argument to
5080 gdb_remote_download.
5081 * gdb.guile/scm-frame-args.exp: Likewise.
5082 * gdb.guile/scm-section-script.exp: Likewise.
5083
ddb9f679
YQ
50842014-12-05 Yao Qi <yao@codesourcery.com>
5085
5086 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5087
86e4ed39
DE
50882014-12-04 Doug Evans <dje@google.com>
5089
5090 * gdb.python/py-objfile.exp: Add tests for
5091 objfile.add_separate_debug_file.
5092
7c50a931
DE
50932014-12-04 Doug Evans <dje@google.com>
5094
5095 * lib/gdb.exp (get_build_id): New function.
5096 (build_id_debug_filename_get): Rewrite to use it.
5097 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5098
621661e3
MR
50992014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5100
5101 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5102 `method(long)', not just 0x0.
5103 * gdb.cp/nsalias.exp: Align code labels to 4.
5104 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5105 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5106 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5107 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5108 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5109 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5110
29f0c3b7
DE
51112014-12-02 Doug Evans <dje@google.com>
5112
e1e061e7 5113 PR symtab/17602
29f0c3b7 5114 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 5115 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
5116 * gdb.cp/anon-ns.exp: Update.
5117
162078c8
NB
51182014-12-02 Nick Bull <nicholaspbull@gmail.com>
5119
5120 * gdb.python/py-events.py (inferior_call_handler): New.
5121 (register_changed_handler, memory_changed_handler): New.
5122 (test_events.invoke): Register new handlers.
5123 * gdb.python/py-events.exp: Add tests for inferior call,
5124 memory_changed and register_changed events.
5125
fdb09caf
AA
51262014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5127
5128 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5129 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5130 if the linker doesn't understand this.
5131
55cfb2c4
SM
51322014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5133
5134 * gdb.python/python.exp: Change expected reply to help().
5135
9e8cd6df
YQ
51362014-12-01 Yao Qi <yao@codesourcery.com>
5137
5138 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5139 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5140 * configure: Re-generated.
5141
6c659fc2
SC
51422014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5143
5144 * gdb.cp/chained-calls.cc: New file.
5145 * gdb.cp/chained-calls.exp: New file.
5146 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5147
d7fc3181
SM
51482014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5149
5150 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5151 * gdb.dwarf2/symtab-producer.exp: Same.
5152 * gdb.gdb/python-interrupts.exp: Same.
5153 * gdb.gdb/python-selftest.exp: Same.
5154 * gdb.python/py-linetable.exp: Same.
5155 * gdb.python/py-type.exp: Same.
5156 * gdb.python/py-value-cc.exp: Same.
5157 * gdb.python/py-value.exp: Same.
5158
10e79639
YQ
51592014-11-28 Yao Qi <yao@codesourcery.com>
5160
5161 * gdb.base/break-probes.exp: Match library name prefixed with
5162 sysroot.
5163
f28a0564
SM
51642014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5165
5166 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5167 test expected output. Add parentheses for the call to print.
5168 Remove L suffix from integers.
5169
3fe1ce1d
DE
51702014-11-26 Doug Evans <dje@google.com>
5171
5172 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5173
84429e27
YQ
51742014-11-22 Yao Qi <yao@codesourcery.com>
5175
5176 * gdb.trace/entry-values.c: Remove asms.
5177 (foo): Add foo_label.
5178 (bar): Add bar_label.
5179 * gdb.trace/entry-values.exp: Remove code computing foo's
5180 length and bar's length.
5181 (Dwarf::assemble): Invoke function_range for bar and use
5182 MACRO_AT_func for foo.
5183
26741859
YQ
51842014-11-22 Yao Qi <yao@codesourcery.com>
5185
5186 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5187 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5188 Use .Lgcc43_procstart instead of gcc43.
5189
45e44d27
JB
51902014-11-21 Joel Brobecker <brobecker@adacore.com>
5191
5192 * gdb.ada/n_arr_bound: New testcase.
5193
458c8db8
SDJ
51942014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5195
5196 PR breakpoints/10737
5197 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5198 test_catch_syscall_multi_arch.
5199 (test_catch_syscall_multi_arch): New function.
5200
43f3e411
DE
52012014-11-20 Doug Evans <xdje42@gmail.com>
5202
5203 * gdb.base/maint.exp: Update expected output.
5204
0d7b2549
AA
52052014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5206
5207 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5208 4-byte instruction on S390.
5209
8908fca5
JB
52102014-11-19 Joel Brobecker <brobecker@adacore.com>
5211
5212 * gdb.ada/arr_arr: New testcase.
5213
4a46959e
JB
52142014-11-19 Joel Brobecker <brobecker@adacore.com>
5215
5216 * gdb.ada/pkd_arr_elem: New Testcase.
5217
470e2f4e
LM
52182014-11-18 Luis Machado <lgustavo@codesourcery.com>
5219
5220 * gdb.reverse/break-precsave: Expect completion message for
5221 core file reads.
5222 * gdb.reverse/consecutive-precsave.exp: Likewise.
5223 * gdb.reverse/finish-precsave.exp: Likewise.
5224 * gdb.reverse/i386-precsave.exp: Likewise.
5225 * gdb.reverse/machinestate-precsave.exp: Likewise.
5226 * gdb.reverse/sigall-precsave.exp: Likewise.
5227 * gdb.reverse/solib-precsave.exp: Likewise.
5228 * gdb.reverse/step-precsave.exp: Likewise.
5229 * gdb.reverse/until-precsave.exp: Likewise.
5230 * gdb.reverse/watch-precsave.exp: Likewise.
5231
a267f3ad
AA
52322014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5233
5234 * gdb.base/bp-permanent.c: Include unistd.h.
5235 * gdb.python/py-framefilter-mi.c (main): Add return type.
5236 * gdb.python/py-framefilter.c (main): Likewise.
5237 * gdb.trace/actions-changed.c (main): Likewise.
5238
12084a9a
AA
52392014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5240
5241 * gdb.mi/until.c: Add eye-catchers.
5242 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5243 line numbers.
5244
dc7e1a77
AA
52452014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5246
5247 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5248 function header variants in break1.c.
5249 * gdb.base/ena-dis-br.exp: Likewise.
5250 * gdb.base/hbreak2.exp: Likewise.
5251 * gdb.reverse/until-precsave.exp: Drop references to removed
5252 non-prototype function header variants in ur1.c.
5253 * gdb.reverse/until-reverse.exp: Likewise.
5254
41c77605
PM
52552014-11-17 Petr Machata <pmachata@redhat.com>
5256
5257 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5258 ${_cu_offset_size} bytes abbrev offset.
5259
34248c3a
DE
52602014-11-15 Doug Evans <xdje42@gmail.com>
5261
5262 PR symtab/17559
5263 * gdb.base/line-symtabs.exp: New file.
5264 * gdb.base/line-symtabs.c: New file.
5265 * gdb.base/line-symtabs.h: New file.
5266
646da059
YQ
52672014-11-14 Yao Qi <yao@codesourcery.com>
5268
5269 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5270 (func): Add label func_label.
5271 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5272 Replace low_pc and high_pc with MACRO_AT_range.
5273 Replace name, low_pc and high_pc with MACRO_AT_func.
5274
9301ebe6
YQ
52752014-11-14 Yao Qi <yao@codesourcery.com>
5276
5277 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5278 Replace name, low_pc and high_pc with MACRO_AT_func.
5279
f166b542
YQ
52802014-11-14 Yao Qi <yao@codesourcery.com>
5281
5282 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5283 produce debug information.
5284 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5285
0f6e71e3
YQ
52862014-11-14 Yao Qi <yao@codesourcery.com>
5287
5288 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5289 object and get function length.
5290 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5291 with MACRO_AT_func.
5292 (top-level): Replace gdb_compile and clean_restart with
5293 prepare_for_testing.
5294 * gdb.dwarf2/main.c (main): Add label main_label.
5295
876c4df9
YQ
52962014-11-14 Yao Qi <yao@codesourcery.com>
5297
5298 * lib/dwarf.exp (function_range): New procedure.
5299 (Dwarf::_handle_macro_at_func): New procedure.
5300 (Dwarf::_handle_macro_at_range): New procedure.
5301 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5302
02ad9cf1
YQ
53032014-11-14 Yao Qi <yao@codesourcery.com>
5304
5305 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5306 (_handle_attribute): New procedure.
5307
a59add0c
AA
53082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5309
5310 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5311 * gdb.base/call-sc.c (zed): Likewise.
5312 * gdb.base/checkpoint.c (main): Likewise.
5313 * gdb.base/dump.c (main): Likewise.
5314 * gdb.base/gcore.c (main): Likewise.
5315 * gdb.base/huge.c (main): Likewise.
5316 * gdb.base/multi-forks.c (main): Likewise.
5317 * gdb.base/pr10179-a.c (main): Likewise.
5318 * gdb.base/savedregs.c (main): Likewise.
5319 * gdb.base/sigaltstack.c (main): Likewise.
5320 * gdb.base/siginfo.c (main): Likewise.
5321 * gdb.base/structs.c (zed): Likewise.
5322 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5323 * gdb.mi/mi-syn-frame.c (main): Likewise.
5324 * gdb.mi/until.c (foo, main): Likewise.
5325 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5326 * gdb.base/solib-weak.c (foo): Declare.
5327 * gdb.base/attach-twice.c: Include stdio.h.
5328 * gdb.base/weaklib1.c: Likewise.
5329 * gdb.base/weaklib2.c: Likewise.
5330 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5331 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5332 unistd.h.
5333 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5334 * gdb.mi/mi-exit-code.c: Likewise.
5335 * gdb.base/break-interp-lib.c: Include string.h.
5336 * gdb.base/coremaker.c: Likewise.
5337 * gdb.base/testenv.c: Likewise.
5338 * gdb.python/py-finish-breakpoint.c: Likewise.
5339 * gdb.base/inferior-died.c: Include sys/wait.h.
5340 * gdb.base/fileio.c: Include time.h.
5341 * gdb.base/async-shell.c: Include unistd.h.
5342 * gdb.base/dprintf-non-stop.c: Likewise.
5343 * gdb.base/info-os.c: Likewise.
5344 * gdb.mi/mi-console.c: Likewise.
5345 * gdb.mi/watch-nonstop.c: Likewise.
5346 * gdb.python/py-events.c: Likewise.
5347 * gdb.base/async.c (baz): Move up before its invocation.
5348 * gdb.base/code_elim2.c (my_global_func): Likewise.
5349 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5350 * gdb.base/advance.c (func2): Likewise.
5351
3b5d5997
AA
53522014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5353
5354 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5355 variant.
5356 * gdb.base/annota3.c: Likewise.
5357 * gdb.base/async.c: Likewise.
5358 * gdb.base/average.c: Likewise.
5359 * gdb.base/call-ar-st.c: Likewise.
5360 * gdb.base/call-rt-st.c: Likewise.
5361 * gdb.base/call-sc.c: Likewise.
5362 * gdb.base/call-strs.c: Likewise.
5363 * gdb.base/ending-run.c: Likewise.
5364 * gdb.base/execd-prog.c: Likewise.
5365 * gdb.base/exprs.c: Likewise.
5366 * gdb.base/foll-exec.c: Likewise.
5367 * gdb.base/foll-fork.c: Likewise.
5368 * gdb.base/foll-vfork.c: Likewise.
5369 * gdb.base/funcargs.c: Likewise.
5370 * gdb.base/gcore.c: Likewise.
5371 * gdb.base/jump.c: Likewise.
5372 * gdb.base/langs0.c: Likewise.
5373 * gdb.base/langs1.c: Likewise.
5374 * gdb.base/langs2.c: Likewise.
5375 * gdb.base/mips_pro.c: Likewise.
5376 * gdb.base/nodebug.c: Likewise.
5377 * gdb.base/opaque0.c: Likewise.
5378 * gdb.base/opaque1.c: Likewise.
5379 * gdb.base/recurse.c: Likewise.
5380 * gdb.base/run.c: Likewise.
5381 * gdb.base/scope0.c: Likewise.
5382 * gdb.base/scope1.c: Likewise.
5383 * gdb.base/setshow.c: Likewise.
5384 * gdb.base/setvar.c: Likewise.
5385 * gdb.base/shmain.c: Likewise.
5386 * gdb.base/shr1.c: Likewise.
5387 * gdb.base/shr2.c: Likewise.
5388 * gdb.base/sigall.c: Likewise.
5389 * gdb.base/signals.c: Likewise.
5390 * gdb.base/so-indr-cl.c: Likewise.
5391 * gdb.base/solib2.c: Likewise.
5392 * gdb.base/structs.c: Likewise.
5393 * gdb.base/sum.c: Likewise.
5394 * gdb.base/vforked-prog.c: Likewise.
5395 * gdb.base/watchpoint.c: Likewise.
5396 * gdb.reverse/shr2.c: Likewise.
5397 * gdb.reverse/until-reverse.c: Likewise.
5398 * gdb.reverse/ur1.c: Likewise.
5399 * gdb.reverse/watch-reverse.c: Likewise.
5400
066a77c5
AA
54012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5402
5403 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5404 variant.
5405 * gdb.base/sepdebug.exp: Drop references to removed code.
5406
4f204ea5
AA
54072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5408
5409 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5410 variant. Preserve original line numbering.
5411 * gdb.base/list1.c: Likewise.
5412
3b377a3a
AA
54132014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5414
5415 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5416 variant.
5417 * gdb.base/break1.c: Likewise.
5418 * gdb.base/break.exp: Drop references to removed code.
5419
e444df73
AA
54202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5421
5422 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5423 variant.
5424
8008f2a7
AA
54252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5426
5427 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5428
a5a06887
AA
54292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5430
5431 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5432 logic into perform_all_tests() and invoke it with and without
5433 function header prototypes.
5434 (do_function_calls): Remove conditional XFAIL for PR 5318.
5435 (rerun_and_prepare): Remove duplicate code.
5436 (perform_all_tests): New. Main logic moved here.
5437
44dba9b9
AA
54382014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5439
5440 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5441 code guarded by #ifdef NO_PROTOTYPES.
5442 (t_double_many_args): Likewise.
5443 (DEF_FUNC_MANY_ARGS_1): Likewise.
5444 (DEF_FUNC_VALUES_1): Likewise.
5445 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5446 guarded by #ifdef PROTOTYPES.
5447
d1fbcd56
AA
54482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5449
5450 * gdb.mi/mi-console.c: Add eye-catcher.
5451 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5452 instead of literal line number.
5453
b0e59b8f
AA
54542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5455
5456 * gdb.base/shr2.c: Add eye-catcher.
5457 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5458 line number.
5459
78f98cca
AA
54602014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5461
5462 * gdb.base/jump.c: Add eye-catchers.
5463 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5464 numbers.
5465
58fa2af0
AA
54662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5467
5468 * gdb.base/execd-prog.c: Add eye-catchers.
5469 * gdb.base/foll-exec.c: Likewise.
5470 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5471 line numbers.
5472
04e5059b
AA
54732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5474
5475 * gdb.base/ending-run.c: Add eye-catchers.
5476 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5477 literal line numbers.
5478
dbfdb174
AA
54792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5480
5481 * gdb.base/call-rt-st.c: Add eye-catchers.
5482 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5483 literal line numbers.
5484
888a2ade
AA
54852014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5486
5487 * gdb.base/call-ar-st.c: Add eye-catchers.
5488 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5489 literal line numbers.
5490
6acc2dde
AA
54912014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5492
5493 * gdb.base/average.c: Add eye-catchers.
5494 * gdb.base/sum.c: Likewise.
5495 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5496 regexps dynamically.
5497
9ecfcd1d
AA
54982014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5499
5500 * gdb.base/solib1.c: Add eye-catchers.
5501 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5502 literal line numbers.
5503
78708b7c
PA
55042014-11-12 Pedro Alves <palves@redhat.com>
5505
5506 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5507 leader has exited.
5508
af48d08f
PA
55092014-11-12 Pedro Alves <palves@redhat.com>
5510
5511 * gdb.arch/i386-bp_permanent.c: New file.
5512 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5513 (srcfile): Set to i386-bp_permanent.c.
5514 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5515 that stepi does not execute the 'leave' instruction, instead of
5516 testing it does execute.
5517 * gdb.base/bp-permanent.c: New file.
5518 * gdb.base/bp-permanent.exp: New file.
5519
af3768e9
DE
55202014-11-10 Doug Evans <xdje42@gmail.com>
5521
5522 PR symtab/17564
5523 * gdb.base/symtab-search-order.exp: New file.
5524 * gdb.base/symtab-search-order.c: New file.
5525 * gdb.base/symtab-search-order-1.c: New file.
5526 * gdb.base/symtab-search-order-shlib-1.c: New file.
5527
9de00a4a
PA
55282014-11-07 Pedro Alves <palves@redhat.com>
5529
5530 PR gdb/17511
5531 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5532 i?86-*-linux*.
5533
e0f52461
SC
55342014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5535
5536 PR c++/17494
5537 * gdb.cp/pr17494.cc: New file.
5538 * gdb.cp/pr17494.exp: New file.
5539
6ce8c980
YQ
55402014-11-02 Yao Qi <yao@codesourcery.com>
5541
5542 * gdb.python/python.exp: Get working directory and match the
5543 output of "set extended-prompt \\w " with it.
5544
02be9a71
DE
55452014-10-30 Doug Evans <dje@google.com>
5546
5547 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5548 in objfiles.
5549 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5550 in progspaces.
5551
3bdff46b
LM
55522014-10-30 Janis Johnson <janisjo@codesourcery.com>
5553
5554 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5555 * gdb.base/realname-expand.exp: Likewise.
5556 * gdb.linespec/macro-relative.exp: Likewise.
5557
ab917dfb
PA
55582014-10-29 Pedro Alves <palves@redhat.com>
5559
5560 PR gdb/17408
5561 * gdb.threads/schedlock.c (some_function): New function.
5562 (call_function): New global.
5563 (MAYBE_CALL_SOME_FUNCTION): New macro.
5564 (thread_function): Call it.
5565 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5566 and use it instead of a global counter. Adjust all callers.
5567 (get_current_thread): Use "find current thread" for test message
5568 here rather than having all callers pass down the same string.
5569 (goto_loop): New procedure, factored out from ...
5570 (my_continue): ... this.
5571 (step_ten_loops): Change parameter from test message to command to
5572 use. Adjust.
5573 (list_count): Delete global.
5574 (check_result): New procedure, factored out from duplicate top
5575 level code.
5576 (continue tests): Wrap in with_test_prefix.
5577 (test_step): New procedure, factored out from duplicate top level
5578 code.
5579 (top level): Test "step" in combination with all scheduler-locking
5580 modes. Test "next" in combination with all scheduler-locking
5581 modes, and in combination with stepping over a function call or
5582 not.
5583 * gdb.threads/next-bp-other-thread.c: New file.
5584 * gdb.threads/next-bp-other-thread.exp: New file.
5585
d3d4baed
PA
55862014-10-29 Pedro Alves <palves@redhat.com>
5587
5588 PR python/17372
5589 * gdb.python/python.exp: Test a multi-line command that spawns
5590 interactive Python.
5591 * gdb.base/multi-line-starts-subshell.exp: New file.
5592
563e8d85
YQ
55932014-10-29 Yao Qi <yao@codesourcery.com>
5594
5595 * gdb.base/fileio.exp: Make directories on host.
5596
0ea4d52e
YQ
55972014-10-29 Yao Qi <yao@codesourcery.com>
5598
5599 * gdb.base/fileio.c (test_write): Close the file.
5600
7f5ef605
PA
56012014-10-28 Pedro Alves <palves@redhat.com>
5602
5603 PR gdb/12623
5604 * gdb.base/sigstep.c (no_handler): New global.
5605 (main): If 'no_handler is true, set the signal handlers to
5606 SIG_IGN.
5607 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5608 with_sw_watch and no_handler parameters. Handle them.
5609 (top level) <stepping over handler when stopped at a breakpoint
5610 test>: Add a test axis for testing with a software watchpoint, and
5611 another for testing with the signal handler set to SIG_IGN.
5612 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5613 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5614
abbdbd03
PA
56152014-10-28 Pedro Alves <palves@redhat.com>
5616
5617 PR gdb/17511
5618 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5619 * gdb.base/sigstep.exp (other_handler_location): New global.
5620 (advance): Support stepping into the signal handler, and running
5621 commands while in the handler.
5622 (in_handler_map): New global.
5623 (top level): In the advance test, add combinations for getting
5624 into the handler with stepping commands, and for running commands
5625 in the handler. Add comment descripting the advancei tests.
5626
1df4399f
PA
56272014-10-28 Pedro Alves <palves@redhat.com>
5628
5629 * gdb.base/sigstep.exp: Use build_executable instead of
5630 prepare_for_testing.
5631 (top level): Move code that starts GDB, runs to main and creates a
5632 display to ...
5633 (restart): ... this new procedure.
5634 (top level): Move backtrace from signal handler test to ...
5635 (validate_backtrace): ... this new procedure.
5636 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5637 with_test_prefix. Always restart GDB.
5638 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5639 with_test_prefix. Always restart GDB. No need to delete
5640 breakpoints after the test.
5641 (test_skip_handler): Remove prefix parameter.
5642 (skip_over_handler, breakpoint_to_handler)
5643 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5644 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5645 restart GDB. No need to delete breakpoints after the test.
5646 (top level): Use foreach to call the test procedures with
5647 different commands.
5648
a5b6e449
PA
56492014-10-28 Pedro Alves <palves@redhat.com>
5650
5651 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5652 instead of GNATS numbers.
5653 * gdb.base/sigbpt.exp: Likewise.
5654 * gdb.base/siginfo.exp: Likewise.
5655 * gdb.base/sigstep.exp: Likewise.
5656
e5f8a7cc
PA
56572014-10-27 Pedro Alves <palves@redhat.com>
5658
5659 * gdb.base/sigstep.c (dummy): New global.
5660 (main): Issue a couple writes to the new global.
5661 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5662 procedures.
5663 (skip_over_handler): Use test_skip_handler.
5664 (top level): Call skip_over_handler for stepi and nexti too.
5665 (breakpoint_over_handler): Use test_skip_handler.
5666 (top level): Call breakpoint_over_handler for stepi and nexti too.
5667
763905a3
YQ
56682014-10-27 Yao Qi <yao@codesourcery.com>
5669
5670 * gdb.trace/tfile.c (adjust_function_address)
5671 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5672 function descriptor.
5673
6f259a23
DB
56742014-10-24 Don Breazeal <donb@codesourcery.com>
5675
5676 * gdb.base/foll-fork.exp (test_follow_fork,
5677 catch_fork_child_follow): Check for updated fork messages emitted
5678 from infrun.c.
5679 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5680 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5681 vfork_and_exec_child_follow_through_step): Check for updated vfork
5682 messages emitted from infrun.c.
5683
09dd9a69
PA
56842014-10-24 Pedro Alves <palves@redhat.com>
5685
5686 * gdb.base/corefile.exp: Remove references to ultrix.
5687 * gdb.base/interrupt.exp: Likewise.
5688 * gdb.base/whatis.exp: Likewise.
5689 * gdb.gdb/selftest.exp: Likewise.
5690 * gdb.threads/manythreads.exp: Likewise.
5691 * gdb.threads/print-threads.exp: Likewise.
5692 * gdb.threads/pthreads.exp:: Likewise.
5693 * gdb.threads/schedlock.exp: Likewise.
5694
3433cfa5
SC
56952014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5696
5697 * gdb.cp/non-trivial-retval.cc: Add a test case.
5698 * gdb.cp/non-trivial-retval.exp: Add a test.
5699
092f880b
YQ
57002014-10-20 Yao Qi <yao@codesourcery.com>
5701
5702 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5703 * gdb.python/py-objfile-script-gdb.py: New file.
5704 * gdb.python/py-objfile-script.exp: Update reference to
5705 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5706 of remote_download. Remove the dest file.
5707
acbdb7f3
YQ
57082014-10-20 Yao Qi <yao@codesourcery.com>
5709
5710 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5711 * gdb.base/step-line.exp: Likewise.
5712 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5713 * gdb.dwarf2/dw2-basic.exp: Likewise.
5714 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5715 * gdb.dwarf2/dw2-filename.exp: Likewise.
5716 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5717 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5718 * gdb.dwarf2/dw2-producer.exp: Likewise.
5719 * gdb.dwarf2/mac-fileno.exp: Likewise.
5720 * gdb.python/py-frame-args.exp: Likewise.
5721 * gdb.python/py-framefilter.exp: Likewise.
5722 * gdb.python/py-mi.exp: Likewise.
5723 * gdb.python/py-objfile-script.exp: Likewise
5724 * gdb.python/py-pp-integral.exp: Likewise.
5725 * gdb.python/py-pp-re-notag.exp: Likewise.
5726 * gdb.python/py-prettyprint.exp: Likewise.
5727 * gdb.python/py-section-script.exp: Likewise.
5728 * gdb.python/py-typeprint.exp: Likewise.
5729 * gdb.python/py-xmethods.exp: Likewise.
5730 * gdb.stabs/weird.exp: Likewise.
5731 * gdb.xml/tdesc-regs.exp: Likewise.
5732
bd286a29
KCY
57332014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5734
5735 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5736 (out_cu): Use addr_len for the size of addresses.
5737 (out_line): Likewise. Size DW_LNE_set_address instruction
5738 according to addr_len.
5739 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5740 (FUNC): Add START_INSNS to definition.
5741
673dc4a0
YQ
57422014-10-18 Yao Qi <yao@codesourcery.com>
5743
5744 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5745 gdb_has_argv0 return true.
5746 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5747 check [target_info exists noargs], check [gdb_has_argv0]
5748 instead.
5749 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5750 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5751 procedures.
5752
4ffbba72
DE
57532014-10-17 Doug Evans <dje@google.com>
5754
5755 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5756 event.
5757 * gdb.python/py-events.py: Add clear_objfiles event.
5758
d096d8c1
DE
57592014-10-17 Doug Evans <dje@google.com>
5760
5761 * gdb.python/py-objfile.exp: Test progspace attribute.
5762
a80db015
LM
57632014-10-17 Luis Machado <lgustavo@codesourcery.com>
5764
5765 * gdb.guile/scm-breakpoint.exp: Do not assume any
5766 directory separators when matching source file paths.
5767 * gdb.python/py-breakpoint.exp: Likewise.
5768 * gdb.reverse/break-precsave.exp: Likewise.
5769 * gdb.reverse/break-reverse.exp: Likewise.
5770 * gdb.reverse/consecutive-precsave.exp: Likewise.
5771 * gdb.reverse/finish-precsave.exp: Likewise.
5772 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5773 * gdb.reverse/finish-reverse.exp: Likewise.
5774 * gdb.reverse/i386-precsave.exp: Likewise.
5775 * gdb.reverse/i387-env-reverse.exp: Likewise.
5776 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5777 * gdb.reverse/machinestate-precsave.exp: Likewise.
5778 * gdb.reverse/machinestate.exp: Likewise.
5779 * gdb.reverse/sigall-precsave.exp: Likewise.
5780 * gdb.reverse/solib-precsave.exp: Likewise.
5781 * gdb.reverse/step-precsave.exp: Likewise.
5782 * gdb.reverse/until-precsave.exp: Likewise.
5783 * gdb.reverse/watch-precsave.exp: Likewise.
5784 * gdb.reverse/watch-reverse.exp: Likewise.
5785
b22089ab
YQ
57862014-10-17 Yao Qi <yao@codesourcery.com>
5787
5788 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5789 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5790
6c4486e6
PA
57912014-10-17 Pedro Alves <palves@redhat.com>
5792
5793 PR gdb/17471
5794 * gdb.base/bg-execution-repeat.c: New file.
5795 * gdb.base/bg-execution-repeat.exp: New file.
5796
0ff33695
PA
57972014-10-17 Pedro Alves <palves@redhat.com>
5798
5799 PR gdb/17300
5800 * gdb.base/continue-all-already-running.c: New file.
5801 * gdb.base/continue-all-already-running.exp: New file.
5802
6fdebc3d
PA
58032014-10-17 Pedro Alves <palves@redhat.com>
5804
5805 PR gdb/17472
5806 * gdb.base/annota-input-while-running.c: New file.
5807 * gdb.base/annota-input-while-running.exp: New file.
5808
32a8097b
PA
58092014-10-17 Pedro Alves <palves@redhat.com>
5810
5811 * gdb.base/callfuncs.exp: emove references to osf.
5812 * gdb.base/sigall.exp: Likewise.
5813 * gdb.gdb/selftest.exp: Likewise.
5814 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5815 * gdb.mi/non-stop.c: Likewise.
5816 * gdb.mi/pthreads.c: Likewise.
5817 * gdb.reverse/sigall-precsave.exp: Likewise.
5818 * gdb.reverse/sigall-reverse.exp: Likewise.
5819 * gdb.threads/pthreads.c: Likewise.
5820 * gdb.threads/pthreads.exp: Likewise.
5821
7a3517ff
YQ
58222014-10-17 Yao Qi <yao@codesourcery.com>
5823
5824 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5825 check 'target_info exists noargs'.
5826 (test_command_prompt_position): Likewise.
5827 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5828 Remove "set args".
5829 (progvar_simple_while_test): Likewise.
5830 (progvar_complex_if_while_test): Likewise.
5831 (if_while_breakpoint_command_test): Likewise.
5832 (infrun_breakpoint_command_test): Likewise.
5833 (breakpoint_command_test): Likewise.
5834 (watchpoint_command_test): Likewise.
5835 (bp_deleted_in_command_test): Likewise.
5836 (temporary_breakpoint_commands): Likewise.
5837
bb99c472
YQ
58382014-10-16 Yao Qi <yao@codesourcery.com>
5839
5840 * gdb.base/remotetimeout.exp: Remove noargs checking.
5841
7c16b83e
PA
58422014-10-15 Pedro Alves <palves@redhat.com>
5843
5844 PR breakpoints/9649
5845 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5846 * gdb.base/breakpoint-in-ro-region.exp
5847 (probe_target_hardware_step): New procedure.
5848 (top level): Probe hardware stepping and hardware breakpoint
5849 support. Test stepping through a read-only region, with both
5850 "breakpoint auto-hw" on and off and both "always-inserted" on and
5851 off.
5852
35a49624
IB
58532014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5854
5855 * gdb.dlang/demangle.exp: Update for demangling changes.
5856
2d1c107c
SC
58572014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5858
5859 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5860 * gdb.cp/non-trivial-retval.exp: Add new tests.
5861
778811d5
SC
58622014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5863
5864 PR c++/13403
5865 PR c++/15154
5866 * gdb.cp/non-trivial-retval.cc: New file.
5867 * gdb.cp/non-trivial-retval.exp: New file.
5868
10c5f0a8
YQ
58692014-10-15 Yao Qi <yao@codesourcery.com>
5870
5871 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5872 remote host.
5873
65d7b369
YQ
58742014-10-15 Yao Qi <yao@codesourcery.com>
5875
5876 * gdb.python/py-symbol.exp: Match file base name if host is
5877 remote, otherwise match file name with dir name.
5878 * gdb.python/py-symtab.exp: Likewise.
5879 * gdb.python/python.exp: Likewise.
5880
46dc1394
YQ
58812014-10-15 Yao Qi <yao@codesourcery.com>
5882
5883 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5884 pattern.
5885 * gdb.python/py-symtab.exp: Likewise.
5886 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5887 locationn.
5888
c40cc657
JB
58892014-10-14 Joel Brobecker <brobecker@adacore.com>
5890
5891 * gdb.ada/addr_arith: New testcase.
5892
2abf49e1
MR
58932014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5894
5895 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5896 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5897 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5898 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5899
f7088df3
SDJ
59002014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5901
5902 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5903 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5904 * gdb.arch/stap-eval-lang-ada.exp: New file.
5905
4dc06805
YQ
59062014-10-14 Yao Qi <yao@codesourcery.com>
5907
5908 * gdb.mi/mi-var-child.c (nothing1): New function.
5909 (nothing2): New function.
5910 (do_children_tests): Set function pointers by nothing1 and
5911 nothing2.
5912 * gdb.mi/mi-var-child.exp: Step over new added statements.
5913 Update test to match the new output.
5914 * gdb.mi/var-cmd.c (nothing1): New function.
5915 (nothing2): New function.
5916 (do_children_tests): Set function pointers by nothing1 and
5917 nothing2.
5918 * gdb.mi/mi-var-display.exp: Update test to match output.
5919 Step to the line specified by $line_dct_nothing.
5920 Increase the number of lines to step.
5921
46a93de2
YQ
59222014-10-14 Yao Qi <yao@codesourcery.com>
5923
5924 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5925 tests.
5926 * gdb.mi/mi2-var-child.exp: Likewise.
5927
14ea52ee
DE
59282014-10-13 Doug Evans <dje@google.com>
5929
5930 * gdb.python/py-objfile.exp: Change name of file name test.
5931
e5c6e92b
DE
59322014-10-13 Doug Evans <dje@google.com>
5933
5934 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5935 from the start of the CU.
5936
c780cc2f
JK
59372014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5938 Yao Qi <yao@codesourcery.com>
5939
5940 Fix "save breakpoints" for "catch" command.
5941 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5942 Remove -nonewline. Match also the added "main" line.
5943
99894e11
JK
59442014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5945
5946 Fix "save breakpoints" for "disable $bpnum" command.
5947 * gdb.base/save-bp.c (main): Add label.
5948 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5949
6e1ac5a3
JK
59502014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5951
5952 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5953
754dd2b0
YQ
59542014-10-11 Yao Qi <yao@codesourcery.com>
5955
5956 * gdb.server/server-kill.exp: Execute command
5957 "set remote trace-status-packet on" before "tstatus".
5958
f90183d7
YQ
59592014-10-11 Yao Qi <yao@codesourcery.com>
5960
5961 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5962 (main): Call getppid.
5963 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5964 and continue to it. Read variable "server_pid".
5965
bf40a607
YQ
59662014-10-11 Yao Qi <yao@codesourcery.com>
5967
5968 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5969
052ca370
YQ
59702014-10-11 Yao Qi <yao@codesourcery.com>
5971
5972 * gdb.threads/thread-find.exp: Don't execute command
5973 "info threads".
5974 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5975 * gdb.threads/linux-dp.exp: Don't check the condition
5976 $threads_created equals to zero.
5977
3831839c
PA
59782014-10-10 Pedro Alves <palves@redhat.com>
5979
5980 * gdb.base/bigcore.exp: Remove references to IRIX.
5981 * gdb.base/funcargs.exp: Likewise.
5982 * gdb.base/interrupt.exp: Likewise.
5983 * gdb.base/mips_pro.exp: Likewise.
5984 * gdb.base/nodebug.exp: Likewise.
5985 * gdb.base/setvar.exp: Likewise.
5986 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5987
8b9a549d
PA
59882014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5989 Pedro Alves <palves@redhat.com>
5990
5991 PR symtab/14466
5992 * gdb.base/vdso-warning.c: New file.
5993 * gdb.base/vdso-warning.exp: New file.
5994
d48ba5e8
DE
59952014-10-02 Doug Evans <dje@google.com>
5996
5997 * gdb.base/structs.c (main): Don't run forever.
5998
2278c276
PA
59992014-10-02 Pedro Alves <palves@redhat.com>
6000
6001 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6002 (top level) <stop threads 1, stop threads 2>: Use it.
6003
b57bacec
PA
60042014-10-02 Pedro Alves <palves@redhat.com>
6005
6006 * gdb.threads/break-while-running.exp (test): Add new
6007 'update_thread_list' argument. Skip "info threads" if false.
6008 (top level): Add new 'update_thread_list' axis.
6009
13fd3ff3
PA
60102014-10-02 Pedro Alves <palves@redhat.com>
6011
6012 PR breakpoints/17431
6013 * gdb.base/execl-update-breakpoints.c: New file.
6014 * gdb.base/execl-update-breakpoints.exp: New file.
6015
0fec99e8
PA
60162014-10-01 Pedro Alves <palves@redhat.com>
6017
6018 * gdb.base/breakpoint-in-ro-region.c: New file.
6019 * gdb.base/breakpoint-in-ro-region.exp: New file.
6020
2ddf4301
SM
60212014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6022
6023 * gdb.mi/mi-exit-code.exp: New file.
6024 * gdb.mi/mi-exit-code.c: New file.
6025
6a5f3f43
YQ
60262014-09-30 Yao Qi <yao@codesourcery.com>
6027
6028 * lib/prelink-support.exp (build_executable_own_libs): Error if
6029 the target isn't native.
6030
345bcc73
YQ
60312014-09-30 Yao Qi <yao@codesourcery.com>
6032
6033 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6034 false.
6035
a25a5a45
PA
60362014-09-22 Pedro Alves <palves@redhat.com>
6037
6038 * gdb.threads/break-while-running.exp: New file.
6039 * gdb.threads/break-while-running.c: New file.
6040
00ba3162
YQ
60412014-09-19 Yao Qi <yao@codesourcery.com>
6042
6043 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6044 Invoke test. Restart GDB with --readnow and invoke test again.
6045
c3b7b696
YQ
60462014-09-19 Yao Qi <yao@codesourcery.com>
6047
6048 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6049 proc set_breakpoint_on_gcd_function. Invoke
6050 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6051 invoke set_breakpoint_on_gcd_function again.
6052
2b4fd423
DE
60532014-09-18 Doug Evans <dje@google.com>
6054
6055 * gdb.dwarf2/symtab-producer.exp: New file.
6056
a5947601
SDJ
60572014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6058
6059 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6060 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6061 * gdb.base/global-var-nested-by-dso.c: Likewise.
6062 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6063
91c19059
SDJ
60642014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6065 Pedro Alves <palves@redhat.com>
6066
6067 * gdb.base/watch-bitfields.exp: Pass string other than test file
6068 name to prepare_for_testing.
6069 (watch): New procedure.
6070 (expect_watchpoint): Use with_test_prefix.
6071 (top level): Factor out tests to ...
6072 (test_watch_location, test_regular_watch): ... these new
6073 procedures, and use with_test_prefix and gdb_continue_to_end.
6074
bb9d5f81
PP
60752014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6076
6077 PR breakpoints/12526
6078 * gdb.base/watch-bitfields.exp: New file.
6079 * gdb.base/watch-bitfields.c: New file.
6080
635856f5
PA
60812014-09-16 Pedro Alves <palves@redhat.com>
6082
6083 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6084 software and hardware addresses, not software address against
6085 itself.
6086
7280ceea
PA
60872014-09-16 Pedro Alves <palves@redhat.com>
6088
6089 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6090 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6091
428b16bd
PA
60922014-09-16 Pedro Alves <palves@redhat.com>
6093
6094 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6095 files.
6096 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6097 "*-*-vxworks*" throughout.
6098 * gdb.base/break.exp: Likewise.
6099 * gdb.base/default.exp: Likewise.
6100 * gdb.base/scope.exp: Likewise.
6101 * gdb.base/sepdebug.exp: Likewise.
6102 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6103 throughout.
6104 * gdb.base/run.c: Likewise.
6105 * gdb.base/sepdebug.c: Likewise.
6106 * gdb.hp/gdb.aCC/run.c: Likewise.
6107 * gdb.reverse/until-reverse.c: Likewise.
6108 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6109
666d413c
YQ
61102014-09-16 Yao Qi <yao@codesourcery.com>
6111
6112 * boards/local-remote-host-native.exp: New file.
6113
57cbd724
DE
61142014-09-14 Doug Evans <xdje42@gmail.com>
6115
6116 * gdb.threads/queue-signal.c (thread_count): New variable.
6117 (thread_count_mutex, thread_count_condvar): New variables.
6118 (incr_thread_count, wait_all_threads_running): New functions.
6119 (main): Wait for all threads to be in their thread functions.
6120
81219e53
DE
61212014-09-13 Doug Evans <xdje42@gmail.com>
6122
6123 * gdb.threads/queue-signal.c: New file.
6124 * gdb.threads/queue-signal.exp: New file.
6125
3714cea7
DE
61262014-09-13 Doug Evans <xdje42@gmail.com>
6127
6128 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6129 be consistent with what default_gdb_init uses.
6130 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6131 the plain text of the prompt. Add some logging printfs.
6132 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6133
fa43b1d7
PA
61342014-09-12 Pedro Alves <palves@redhat.com>
6135
6136 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6137 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6138 * gdb.arch/i386-size-overlap.exp: Likewise.
6139 * gdb.arch/i386-size.exp: Likewise.
6140 * gdb.arch/i386-unwind.exp: Likewise.
6141 * gdb.base/a2-run.exp: Likewise.
6142 * gdb.base/break.exp: Likewise.
6143 * gdb.base/charset.exp: Likewise.
6144 * gdb.base/chng-syms.exp: Likewise.
6145 * gdb.base/commands.exp: Likewise.
6146 * gdb.base/dbx.exp: Likewise.
6147 * gdb.base/find.exp: Likewise.
6148 * gdb.base/funcargs.exp: Likewise.
6149 * gdb.base/jit-simple.exp: Likewise.
6150 * gdb.base/reread.exp: Likewise.
6151 * gdb.base/sepdebug.exp: Likewise.
6152 * gdb.base/step-bt.exp: Likewise.
6153 * gdb.cp/mb-inline.exp: Likewise.
6154 * gdb.cp/mb-templates.exp: Likewise.
6155 * gdb.objc/basicclass.exp: Likewise.
6156 * gdb.threads/killed.exp: Likewise.
6157
9d9bf2df
EBM
61582014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6159
6160 PR tdep/17379
6161 * gdb.arch/powerpc-stackless.S: New file.
6162 * gdb.arch/powerpc-stackless.exp: New file.
6163
1cf2f1b0
JK
61642014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6165
6166 * gdb.base/attach.c: Include unistd.h.
6167 (main): Call alarm. Add label postloop.
6168 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6169 gdb_breakpoint, gdb_continue_to_breakpoint.
6170 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6171
98880d46
PA
61722014-09-11 Pedro Alves <palves@redhat.com>
6173
6174 PR gdb/17347
6175 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6176 * gdb.base/attach.exp (test_command_line_attach_run): New
6177 procedure.
6178 (top level): Call it.
6179
4c92ff2c
PA
61802014-09-11 Pedro Alves <palves@redhat.com>
6181
6182 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6183 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6184 (do_command_attach_tests): Use spawn_wait_for_attach.
6185 * gdb.base/solib-overlap.exp: Likewise.
6186 * gdb.multi/multi-attach.exp: Likewise.
6187 * gdb.python/py-prompt.exp: Likewise.
6188 * gdb.python/py-sync-interp.exp: Likewise.
6189 * gdb.server/ext-attach.exp: Likewise.
6190
3adc1a7d
GKB
61912014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6192
6193 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6194 command in testcase. Simplify testcase.
6195
96334934
JB
61962014-09-10 Joel Brobecker <brobecker@adacore.com>
6197
6198 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6199
eb479039
JB
62002014-09-10 Joel Brobecker <brobecker@adacore.com>
6201
6202 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6203
deede10c
JB
62042014-09-10 Joel Brobecker <brobecker@adacore.com>
6205
6206 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6207
7828a5f5
JB
62082014-09-10 Joel Brobecker <brobecker@adacore.com>
6209
6210 * gdb.dwarf2/dynarr-ptr.c: New file.
6211 * gdb.dwarf2/dynarr-ptr.exp: New file.
6212
33aeebcf
MR
62132014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6214
6215 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6216 of 30 rather than hardcoding 120 for a slow test case. Take the
6217 `gdb,timeout' target setting into account for this calculation.
6218 Don't extend the timeout for the test cases that don't need it.
6219
7b415901
MR
62202014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6221
6222 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6223 a factor of 2 for a slow test case. Take the `gdb,timeout'
6224 target setting into account for this calculation.
6225 * gdb.reverse/until-precsave.exp: Increase the timeout by
6226 a factor of 15 and 3 respectively rather than adding 120
6227 for a pair of slow test cases. Take the `gdb,timeout'
6228 target setting into account for this calculation.
6229
4a40f85a
MR
62302014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6231
6232 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6233 timeout, don't pass one down to gdb_expect.
6234 (gdb_expect): Rework timeout selection.
6235
09635af7
MR
62362014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6237
6238 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6239 exception on timeout.
6240 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6241 (gdbserver_start_extended): Catch any `gdbserver_start' error
6242 exceptions.
6243 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6244 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6245 `gdbserver_gdb_load' error exceptions.
6246
2bdd10b7
MR
62472014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6248
6249 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6250 120 on waiting for the TCP socket to open.
6251
316935f0
DE
62522014-09-09 Doug Evans <xdje42@gmail.com>
6253
6254 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6255 _caller_matches, _any_caller_is, _any_caller_matches.
6256
83740597
DE
62572014-09-09 Doug Evans <xdje42@gmail.com>
6258
6259 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6260
4c122fc3
YQ
62612014-09-09 Yao Qi <yao@codesourcery.com>
6262
6263 * gdb.mi/mi-var-display.exp: Set print symbol off.
6264
a9f116cb
GKB
62652014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6266
6267 PR gdb/17035
6268 * gdb.base/commands.exp: Add tests to verify user-defined
6269 commands with empty bodies.
6270 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6271 python commands in `show user command`.
6272 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6273 scheme commands in `show user command`.
6274
c75bd3a2
JK
62752014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6276
6277 PR python/17355
6278 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6279 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6280 * gdb.python/py-framefilter-invalidarg.exp: New file.
6281 * gdb.python/py-framefilter-invalidarg.py: New file.
6282
faa42425
DE
62832014-09-06 Doug Evans <xdje42@gmail.com>
6284
6285 PR 15276
6286 * gdb.python/py-caller-is.c: New file.
6287 * gdb.python/py-caller-is.exp: New file.
6288
474ca4f6
SDJ
62892014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6290
6291 PR gdb/17235
6292 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6293 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6294
eb0b0463
SDJ
62952014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6296
6297 PR fortran/17237
6298 * gdb.fortran/print-formatted.exp: New file.
6299 * gdb.fortran/print-formatted.f90: Likewise.
6300
5f3b99cf
SS
63012014-09-03 Sasha Smundak <asmundak@google.com>
6302
6303 * gdb.python/py-frame.exp: Test Frame.read_register.
6304
7d793aa9
SDJ
63052014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6306
6307 PR python/16699
6308 * gdb.python/py-completion.exp: New file.
6309 * gdb.python/py-completion.py: Likewise.
6310
fb0576e9
DE
63112014-08-28 Doug Evans <dje@google.com>
6312
6313 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6314 eax,etc. are live with values set by gdb and thus the compiler can't
6315 use them.
6316 * gdb.arch/i386-pseudo.c (main): Ditto.
6317
ee92b0dd
DE
63182014-08-27 Doug Evans <dje@google.com>
6319
6320 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6321
6649db35
DE
63222014-08-25 Doug Evans <dje@google.com>
6323
6324 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6325 (main): Ditto.
6326
564b7600
DE
63272014-08-25 Doug Evans <dje@google.com>
6328
6329 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6330
3881fb67
YQ
63312014-08-24 Yao Qi <yao@codesourcery.com>
6332
6333 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6334 symbol off.
6335 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6336
a05a36a5
DE
63372014-08-22 Doug Evans <dje@google.com>
6338
6339 PR 17276
6340 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6341 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6342 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6343
7c343b48
YQ
63442014-08-22 Yao Qi <yao@codesourcery.com>
6345
6346 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6347 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6348 * gdb.python/python.exp: Likewise. Use .py file on the host
6349 instead of the build.
6350
22fd09ae
JK
63512014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6352
6353 * gdb.threads/gcore-stale-thread.c: New file.
6354 * gdb.threads/gcore-stale-thread.exp: New file.
6355
a8454a7c
PA
63562014-08-21 Pedro Alves <palves@redhat.com>
6357
6358 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6359 * gdb.base/gcore-relro-pie.exp: Likewise.
6360 * gdb.base/gcore-relro.exp: Likewise.
6361 * gdb.base/gcore.exp: Likewise.
6362 * gdb.base/print-symbol-loading.exp: Likewise.
6363 * gdb.threads/gcore-thread.exp: Likewise.
6364 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6365
2a31c623
PA
63662014-08-20 Pedro Alves <palves@redhat.com>
6367 Jan Kratochvil <jan.kratochvil@redhat.com>
6368
6369 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6370 configure.
6371 (EXPECT): Handle READ1 being set.
6372 (all): Depend on EXTRA_RULES.
6373 (check-read1, expect-read1, read1.so, read1): New rules.
6374 * README (Testsuite Parameters): Document the READ1 make variable.
6375 (Race detection): New section.
6376 * configure: Regenerate.
6377 * configure.ac: If build==host==target, and running under a
6378 GNU/glibc system, add read1 to the extra Makefile rules.
6379 (EXTRA_RULES): AC_SUBST it.
6380 * lib/read1.c: New file.
6381
d36430db
JB
63822014-08-20 Joel Brobecker <brobecker@adacore.com>
6383
6384 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6385 the handling of variables declared as a typedef to an array
6386 which a DW_AT_data_location attribute.
6387
9a0dc9e3
PA
63882014-08-19 Andrew Burgess <aburgess@broadcom.com>
6389 Pedro Alves <palves@redhat.com>
6390
6391 PR symtab/14604
6392 PR symtab/14605
6393 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6394 gdb_test.
6395
0718a8da
PA
63962014-08-19 Pedro Alves <palves@redhat.com>
6397
6398 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6399
13b448cd
YQ
64002014-08-19 Yao Qi <yao@codesourcery.com>
6401
6402 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6403 right line.
6404
1cbf5077
DB
64052014-08-18 David Blaikie <dblaikie@gmail.com>
6406
6407 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6408
bf0fae19
JB
64092014-08-18 Joel Brobecker <brobecker@adacore.com>
6410
6411 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6412 attribute in array range.
6413
3c8c5dcc
JB
64142014-08-18 Joel Brobecker <brobecker@adacore.com>
6415
6416 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6417
e66d4446
SC
64182014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6419
6420 PR c++/17132
6421 * gdb.cp/pr17132.cc: New file.
6422 * gdb.cp/pr17132.exp: New file.
6423
940df408
SC
64242014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6425
6426 * gdb.python/py-xmethods.py (A_getarrayind)
6427 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6428 Use 'print' with function call syntax.
6429 (E_method_matcher.match): Fix tab vs space indentation mixup.
6430
ebcc6c3a
YQ
64312014-08-15 Yao Qi <yao@codesourcery.com>
6432
6433 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6434 false.
6435
775e0f04
YQ
64362014-08-15 Yao Qi <yao@codesourcery.com>
6437
6438 * gdb.cp/casts.exp: Set print symbol off.
6439 * gdb.cp/class2.exp: Likewise.
6440 * gdb.cp/overload.exp: Likewise.
6441 * gdb.cp/templates.exp: Likewise.
6442
d769e349
DE
64432014-08-11 Doug Evans <dje@google.com>
6444
6445 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6446 (test_load_shlib): Update.
6447
20c6f1e1
YQ
64482014-08-09 Yao Qi <yao@codesourcery.com>
6449
6450 * gdb.base/display.exp: Invoke is_address_zero_readable.
6451 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6452 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6453 * gdb.base/hbreak-unmapped.exp: Return if
6454 is_address_zero_readable returns true.
6455 * gdb.base/signest.exp: Likewise.
6456 * gdb.base/signull.exp: Likewise.
6457 * gdb.base/sigbpt.exp: Likewise.
6458 * gdb.guile/scm-disasm.exp: Do the test if
6459 is_address_zero_readable returns false.
6460 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6461 * gdb.python/py-arch.exp: Likewise.
6462 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6463 * lib/gdb.exp (is_address_zero_readable): New proc.
6464
5792e8e3
YQ
64652014-08-09 Yao Qi <yao@codesourcery.com>
6466
6467 PR testsuite/13443
6468 * gdb.mi/mi-var-display.exp: Make test messages unique.
6469
3cecbbbe
TT
64702014-08-04 Tom Tromey <tromey@redhat.com>
6471
6472 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6473 target 0".
6474
00b51ff5
TT
64752014-08-04 Tom Tromey <tromey@redhat.com>
6476
6477 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6478 "target_resume".
6479
6908c509
JB
64802014-08-01 Joel Brobecker <brobecker@adacore.com>
6481
6482 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6483 inner_vla_struct_object_size.
6484 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6485 as xfail.
6486
cc6563d2
PA
64872014-07-30 Pedro Alves <palves@redhat.com>
6488
6489 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6490 comment.
6491
7e09a223
YQ
64922014-07-29 Yao Qi <yao@codesourcery.com>
6493
6494 PR gdb/17206
6495 * gdb.base/until-nodebug.exp: New.
6496
7ebdbe92
DE
64972014-07-28 Doug Evans <xdje42@gmail.com>
6498
6499 PR guile/17203
6500 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6501 previously existing parameter, and previously ambiguously spelled
6502 parameter.
6503
fdb1adc6
WN
65042014-07-28 Will Newton <will.newton@linaro.org>
6505
6506 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6507
186fcde0
DE
65082014-07-26 Ludovic Courtès <ludo@gnu.org>
6509 Doug Evans <xdje42@gmail.com>
6510
6511 PR guile/17146
6512 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6513
70509625
PA
65142014-07-25 Pedro Alves <palves@redhat.com>
6515
6516 * gdb.threads/signal-command-handle-nopass.c: New file.
6517 * gdb.threads/signal-command-handle-nopass.exp: New file.
6518 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6519 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6520 * gdb.threads/signal-delivered-right-thread.c: New file.
6521 * gdb.threads/signal-delivered-right-thread.exp: New file.
6522
c3f814a1
PA
65232014-07-25 Pedro Alves <palves@redhat.com>
6524
6525 * gdb.base/double-prompt-target-event-error.exp
6526 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6527 match.
6528 (cancel_pagination_in_target_event): Rework double prompt
6529 detection.
6530 * gdb.base/paginate-after-ctrl-c-running.exp
6531 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6532 <return>' match.
6533 * gdb.base/paginate-bg-execution.exp
6534 (test_bg_execution_pagination_return)
6535 (test_bg_execution_pagination_cancel): Remove '-notransfer
6536 <return>' matches.
6537 * gdb.base/paginate-execution-startup.exp
6538 (test_fg_execution_pagination_return)
6539 (test_fg_execution_pagination_cancel): Remove '-notransfer
6540 <return>' matches.
6541 * gdb.base/paginate-inferior-exit.exp
6542 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6543 match.
6544 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6545 * lib/gdb.exp (pagination_prompt): Run text through
6546 string_to_regexp.
6547 (gdb_test_multiple): Match $pagination_prompt instead of
6548 "<return>".
6549 (string_to_regexp): Move to lib/gdb-utils.exp.
6550
e214cf6c
JK
65512014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6552
6553 * gdb.arch/amd64-entry-value-paramref.S: New file.
6554 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6555 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6556 * gdb.arch/amd64-optimout-repeat.S: New file.
6557 * gdb.arch/amd64-optimout-repeat.c: New file.
6558 * gdb.arch/amd64-optimout-repeat.exp: New file.
6559
17d0c5c8
JK
65602014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6561
6562 PR gdb/17170
6563 * gdb.base/statistics.exp: New file.
6564
b8b8facf
DE
65652014-07-17 Doug Evans <dje@google.com>
6566
74b49205 6567 PR gdb/17170
b8b8facf
DE
6568 * gdb.base/maint.exp: Update testing of per-command stats.
6569
1b5d0ab3
PA
65702014-07-16 Pedro Alves <palves@redhat.com>
6571
6572 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6573 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6574 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6575 (tfile_write_buf): New functions.
6576 (add_memory_block): Rewrite using the above.
6577 (adjust_function_address): New function.
6578 (FUNCTION_ADDRESS): New macro.
6579 (write_basic_trace_file): Remove short_x local, and use
6580 tfile_write_16. Change type of func_addr local to unsigned long
6581 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6582 here. Cast argument of add_memory_block to char pointer.
6583 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6584 (main): Remove parameters.
6585 * gdb.trace/tfile.exp: Remove nowarnings.
6586
4d974e88
SM
65872014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6588
6589 * gdb.base/debug-expr.exp: Test string evaluation with
6590 "debug expression" on.
6591
41e99568
PA
65922014-07-15 Pedro Alves <palves@redhat.com>
6593
6594 * gdb.base/reread.exp: Use clean_restart.
6595
487d9753
PL
65962014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6597
6598 * gdb.arch/avr-flash-qualifer.c: New.
6599 * gdb.arch/avr-flash-qualifer.exp: New.
6600
cc1c52ad
PA
66012014-07-14 Pedro Alves <palves@redhat.com>
6602
6603 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6604 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6605
1e973570
PA
66062014-07-14 Pedro Alves <palves@redhat.com>
6607
6608 * gdb.base/double-prompt-target-event-error.c: New file.
6609 * gdb.base/double-prompt-target-event-error.exp: New file.
6610
93d6eb10
PA
66112014-07-14 Pedro Alves <palves@redhat.com>
6612
6613 PR gdb/17072
6614 * gdb.base/paginate-inferior-exit.c: New file.
6615 * gdb.base/paginate-inferior-exit.exp: New file.
6616
0017922d
PA
66172014-07-14 Pedro Alves <palves@redhat.com>
6618
6619 PR gdb/17072
6620 * gdb.base/paginate-bg-execution.c: New file.
6621 * gdb.base/paginate-bg-execution.exp: New file.
6622
94696ad3
PA
66232014-07-14 Pedro Alves <palves@redhat.com>
6624
6625 PR gdb/17072
6626 * gdb.base/paginate-execution-startup.c: New file.
6627 * gdb.base/paginate-execution-startup.exp: New file.
6628 * lib/gdb.exp (pagination_prompt): New global.
6629 (default_gdb_spawn): New procedure, factored out from
6630 default_gdb_spawn.
6631 (default_gdb_start): Adjust to call default_gdb_spawn.
6632 (gdb_spawn): New procedure.
6633
bd293940
PA
66342014-07-14 Pedro Alves <palves@redhat.com>
6635
6636 * lib/gdb.exp (gdb_assert): New procedure.
6637 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6638
c933f875
PA
66392014-07-14 Pedro Alves <palves@redhat.com>
6640
6641 * gdb.base/execution-termios.c: New file.
6642 * gdb.base/execution-termios.exp: New file.
6643
d98b7a16
TT
66442014-07-14 Tom Tromey <tromey@redhat.com>
6645
6646 * gdb.cp/vla-cxx.cc: New file.
6647 * gdb.cp/vla-cxx.exp: New file.
6648
548740d6
TT
66492014-07-14 Tom Tromey <tromey@redhat.com>
6650
6651 * gdb.reverse/rerun-prec.c: New file.
6652 * gdb.reverse/rerun-prec.exp: New file.
6653
a25eb028
MR
66542014-07-12 Maciej W. Rozycki <macro@mips.com>
6655 Maciej W. Rozycki <macro@codesourcery.com>
6656
6657 * lib/gdb-utils.exp: New file.
6658 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6659 inline `gdb_init_command' processing.
6660 (gdb_start_cmd): Likewise.
6661 * lib/mi-support.exp (mi_run_cmd): Likewise.
6662 * README: Document `gdb_init_command' and `gdb_init_commands'.
6663
218c2655
JK
66642014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6665
6666 Fix false FAIL running under a very long directory name.
6667 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6668 and "set print elements 10000". Twice.
6669
5401fde3
YQ
66702014-07-11 Yao Qi <yao@codesourcery.com>
6671
6672 * gdb.base/exprs.exp: "set print symbol off".
6673
e76126e8
PA
66742014-07-11 Pedro Alves <palves@redhat.com>
6675
6676 * gdb.threads/kill.c: New file.
6677 * gdb.threads/kill.exp: New file.
6678
2d6f0de6
YQ
66792014-07-10 Yao Qi <yao@codesourcery.com>
6680
6681 * gdb.trace/tfile.c (write_basic_trace_file)
6682 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6683 address written to trace file.
6684
7180e04a
PA
66852014-07-09 Pedro Alves <palves@redhat.com>
6686
6687 * gdb.base/attach-wait-input.exp: New file.
6688 * gdb.base/attach-wait-input.c: New file.
6689
9a9a7608
AB
66902014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6691
6692 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6693 setting up test structures.
6694 (main): Call new test function.
6695 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6696 test function, continue into test function and walk test
6697 structures.
6698
161ac41e
YQ
66992014-07-02 Yao Qi <yao@codesourcery.com>
6700
6701 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6702 'bar_start' at the beginning of functions 'foo' and 'bar'
6703 respectively.
6704 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6705 instead of 'foo' and 'bar'.
6706
1f267ae3
MM
67072014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6708
6709 * gdb.btrace/segv.exp: New.
6710 * gdb.btrace/segv.c: New.
6711
2b239efb
LM
67122014-07-02 Luis Machado <lgustavo@codesourcery.com>
6713
6714 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6715 instruction.
6716
cf363f18
MW
67172014-06-30 Mark Wielaard <mjw@redhat.com>
6718
6719 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6720 vulture, vilify, villar): New volatile array constants.
6721 (vindictive, vegetation): New const volatile array constants.
6722 * gdb.base/volatile.exp: Test volatile and const volatile array
6723 types.
6724
aebf9d24
AA
67252014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6726
6727 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6728 target lacks support for awatch, rwatch, or hbreak.
6729
b67a2c6f
YQ
67302014-06-27 Yao Qi <yao@codesourcery.com>
6731
6732 * gdb.multi/dummy-frame-restore.exp: New.
6733 * gdb.multi/dummy-frame-restore.c: New.
6734
aef92902
MM
67352014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6736
6737 * gdb.btrace/gcore.exp: New.
6738
8e9db26e
PA
67392014-06-23 Pedro Alves <palves@redhat.com>
6740
6741 * gdb.base/watchpoint-reuse-slot.c: New file.
6742 * gdb.base/watchpoint-reuse-slot.exp: New file.
6743
70afc5b7
SC
67442014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6745
6746 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6747 progspace's filename in 'info', 'enable' and 'disable' command
6748 tests.
6749
b972bd9c
JK
67502014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6751
6752 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6753 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6754 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6755
125f8a3d
GB
67562014-06-20 Gary Benson <gbenson@redhat.com>
6757
6758 * gdb.arch/i386-avx.exp: Fix include file location.
6759 * gdb.arch/i386-sse.exp: Likewise.
6760
3ed9baed
IB
67612014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6762
6763 * gdb.dlang/expression.exp: New file.
6764
034f788c
PA
67652014-06-19 Pedro Alves <palves@redhat.com>
6766
6767 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6768 out from ...
6769 (top level): ... here. Iterate running tests under different
6770 scheduler-locking settings.
6771
45371d0c
LM
67722014-06-18 Luis Machado <lgustavo@codesourcery.com>
6773
6774 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6775 to DW_FORM_addr and use non-zero addresses.
6776
5d376983
SC
67772014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6778
6779 PR gdb/17017
6780 * gdb.python/py-xmethods.cc: Add global function call counters and
6781 increment them in their respective functions. Remove "cout"
6782 statements.
6783 * gdb.python/py-xmethods.exp: Make tests check the global function
6784 call counters instead of depending on inferior IO.
6785
a1aa2221
LM
67862014-06-18 Don Breazeal <donb@codesourcery.com>
6787
6788 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6789 Deleted procedure.
6790 (explicit_fork_parent_follow): Deleted procedure.
6791 (explicit_fork_child_follow): Deleted procedure.
6792 (test_follow_fork): New procedure.
6793 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 6794 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
6795 procedure calls.
6796
0fc05997
YQ
67972014-06-17 Yao Qi <yao@codesourcery.com>
6798
6799 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6800 CP1252.
6801
70795c52
LM
68022014-06-17 Luis Machado <lgustavo@codesourcery.com>
6803
6804 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6805 Initialize ptr and S explicitly.
6806 (skip_type_update_when_not_use_rtti_test): Likewise.
6807
6be47f0c
KS
68082014-06-16 Keith Seitz <keiths@redhat.com>
6809
6810 PR mi/15863
6811 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6812 the inferior is started.
6813
d03de421
PA
68142014-06-16 Pedro Alves <palves@redhat.com>
6815
6816 * gdb.base/break-main-file-remove-fail.c: New file.
6817 * gdb.base/break-main-file-remove-fail.exp: New file.
6818 * gdb.base/break-unload-file.exp: Use build_executable instead of
6819 prepare_for_testing.
6820 (test_break): New parameter "initial_load". Handle it.
6821 (top level): Add initial_load cmdline/file axis.
6822
f9579b99
TT
68232014-06-12 Tom Tromey <tromey@redhat.com>
6824
6825 * gdb.base/completion.exp: Don't use directory name in test.
6826
3657956b
GB
68272014-06-09 Gary Benson <gbenson@redhat.com>
6828
6829 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6830 separate the always-available ANSI-standard signals from the
6831 signals that require checking.
6832 (main): Likewise.
6833 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6834 Likewise.
6835 (main): Likewise.
6836
4186eb54
KS
68372014-06-07 Keith Seitz <keiths@redhat.com>
6838
6839 Revert:
6840 PR c++/16253
6841 * gdb.cp/var-tag.cc: New file.
6842 * gdb.cp/var-tag.exp: New file.
6843 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6844 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6845 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6846 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6847
25326a28 68482014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
6849
6850 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6851
829155c9
PA
68522014-06-06 Pedro Alves <palves@redhat.com>
6853
6854 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6855 in target debug output instead of looking at RSP packets,
6856 disabling the test on any target that uses hardware stepping.
6857 Update comments.
6858
61c8d22e
PA
68592014-06-06 Pedro Alves <palves@redhat.com>
6860
6861 * gdb.base/break-unload-file.exp: Fix typo.
6862
d9a47287
YQ
68632014-06-06 Yao Qi <yao@codesourcery.com>
6864
6865 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6866 from "jit_function" to "^jit_function".
6867
e5e01dbf
YQ
68682014-06-06 Yao Qi <yao@codesourcery.com>
6869
6870 * gdb.base/async.c (foo): Add one statement.
6871 * gdb.base/async.exp: Get the next instruction address and
6872 match the output of "nexti" by instruction address. Match
6873 the hex address in the output of "finish".
6874
73ba372c
GB
68752014-06-06 Gary Benson <gbenson@redhat.com>
6876
6877 * gdb.base/call-signals.c: Remove preprocessor conditionals
6878 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6879 SIGSEGV and SIGTERM.
6880 * gdb.base/sigall.c: Likewise.
6881 * gdb.base/unwindonsignal.c: Likewise.
6882 * gdb.reverse/sigall-reverse.c: Likewise.
6883
831517df
YQ
68842014-06-06 Yao Qi <yao@codesourcery.com>
6885
6886 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6887 readable, skip the test.
6888
b8b91e98
YQ
68892014-06-06 Yao Qi <yao@codesourcery.com>
6890
6891 * gdb.threads/staticthreads.c (thread_function): Move the line
6892 setting breakpoint on forward.
6893 * gdb.threads/staticthreads.exp: Update comments.
6894
fb934770
LC
68952014-06-05 Ludovic Courtès <ludo@gnu.org>
6896
6897 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6898 "history-append! type error".
6899
6ef284bd
SM
69002014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6901
6902 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6903 erroneous dprintf expected input.
6904
a872e241
DE
69052014-06-04 Doug Evans <xdje42@gmail.com>
6906
6907 * gdb.guile/scm-generics.exp: Delete.
6908
16f691fb
DE
69092014-06-04 Doug Evans <xdje42@gmail.com>
6910
6911 * gdb.guile/scm-breakpoint.exp: Update.
6912 Add tests for breakpoint registration.
6913
012370f6
TT
69142014-06-04 Tom Tromey <tromey@redhat.com>
6915
6916 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6917 VLA-in-union.
6918 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6919 inner_vla_struct, vla_union types. Initialize objects of those
6920 types and compute their sizes.
6921
9f5a4cef
HZ
69222014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6923 Hui Zhu <hui@codesourcery.com>
6924
6925 * gdb.base/fileio.exp: Add test for shell not available as well as
6926 available.
6927 * gdb.base/fileio.c (test_system): Check for shell twice.
6928
90a45c4d
YQ
69292014-06-04 Yao Qi <yao@codesourcery.com>
6930
6931 * gdb.base/auto-connect-native-target.exp: Remove redundant
6932 space from the regexp pattern.
6933
70017e41
YQ
69342014-06-04 Yao Qi <yao@codesourcery.com>
6935
6936 * gdb.base/default.exp: Replace "child" with "native" in
6937 regexp pattern.
6938
883964a7
SC
69392014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6940
6941 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6942 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6943 * gdb.python/py-xmethods.py: Python script supporting the
6944 new testcase and tests.
6945
ef370185
JB
69462014-06-03 Joel Brobecker <brobecker@adacore.com>
6947 Pedro Alves <palves@redhat.com>
6948
6949 PR breakpoints/17000
6950 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6951 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6952
1e2ccb61
BM
69532014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6954
6955 * gdb.base/subst.exp: Add tests to verify partial path matching
6956 output.
6957
c6ec5ab2
PA
69582014-06-03 Pedro Alves <palves@redhat.com>
6959
6960 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6961 target that doesn't use software single-stepping.
6962
835c559f
PA
69632014-06-03 Pedro Alves <palves@redhat.com>
6964
6965 PR breakpoints/17000
6966 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6967 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6968
06eb1586
DE
69692014-06-02 Doug Evans <xdje42@gmail.com>
6970
6971 * gdb.guile/scm-parameter.exp: New file.
6972
e698b8c4
DE
69732014-06-02 Doug Evans <xdje42@gmail.com>
6974
6975 * gdb.guile/scm-cmd.c: New file.
6976 * gdb.guile/scm-cmd.exp: New file.
6977
ded03782
DE
69782014-06-02 Doug Evans <xdje42@gmail.com>
6979
6980 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6981 pretty-printer lookup.
6982 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6983 (make-pp_s-printer): Call it.
6984 (make-pretty-printer-from-dict): New function.
6985 (lookup-pretty-printer-maker-from-dict): New function.
6986 (*pretty-printer*): Simplify.
6987 (make-objfile-pp_s-printer): New function.
6988 (install-objfile-pretty-printers!): New function.
6989 (make-progspace-pp_s-printer): New function.
6990 (install-progspace-pretty-printers!): New function.
6991 * gdb.guile/scm-progspace.c: New file.
6992 * gdb.guile/scm-progspace.exp: New file.
6993
41fac0cf
PA
69942014-06-02 Pedro Alves <palves@redhat.com>
6995
6996 * gdb.base/dprintf-bp-same-addr.c: New file.
6997 * gdb.base/dprintf-bp-same-addr.exp: New file.
6998
96ae5695
EBM
69992014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7000
7001 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7002 * gdb.arch/powerpc-power.s: Likewise.
7003
da02b3a8
JB
70042014-06-02 Joel Brobecker <brobecker@adacore.com>
7005
7006 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7007
c72b2e7b
YQ
70082014-06-01 Yao Qi <yao@codesourcery.com>
7009
7010 * gdb.base/watchpoint.exp (test_watch_location): Check null
7011 pointer can be dereferenced. If not, do the test, otherwise
7012 skip it.
7013
53e8a631
AB
70142014-05-30 Andrew Burgess <aburgess@broadcom.com>
7015
7016 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7017 results.
7018 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7019
938f0e2f
AB
70202014-05-30 Andrew Burgess <aburgess@broadcom.com>
7021
7022 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7023 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7024 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7025 * gdb.arch/amd64-invalid-stack-top.c: New file.
7026 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7027
9ba6657a
PA
70282014-05-30 Pedro Alves <palves@redhat.com>
7029
7030 PR breakpoints/17000
7031 * gdb.base/sss-bp-on-user-bp.c: New file.
7032 * gdb.base/sss-bp-on-user-bp.exp: New file.
7033
522c09bf
DB
70342014-05-30 David Blaikie <dblaikie@gmail.com>
7035
7036 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7037 gnu_inline semantics via attribute.
7038 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7039 source explicitly specifies the required semantics.
7040
bf4ef81e
MR
70412014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7042
7043 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7044
329ea579
PA
70452014-05-29 Pedro Alves <palves@redhat.com>
7046 Tom Tromey <tromey@redhat.com>
7047
7048 * gdb.base/async-shell.exp: Don't enable target-async.
7049 * gdb.base/async.exp
7050 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7051 parameter. Adjust.
7052 (top level): Don't test with "target-async".
7053 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7054 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7055 * gdb.base/inferior-died.exp: Don't enable target-async.
7056 * gdb.base/interrupt-noterm.exp: Likewise.
7057 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7058 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7059 * gdb.mi/mi-nonstop.exp: Likewise.
7060 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7061 * gdb.mi/mi-nsintrall.exp: Likewise.
7062 * gdb.mi/mi-nsmoribund.exp: Likewise.
7063 * gdb.mi/mi-nsthrexec.exp: Likewise.
7064 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7065 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7066 * gdb.python/py-evsignal.exp: Don't enable target-async.
7067 * gdb.python/py-evthreads.exp: Likewise.
7068 * gdb.python/py-prompt.exp: Likewise.
7069 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7070 * gdb.server/solib-list.exp: Don't enable target-async.
7071 * gdb.threads/thread-specific-bp.exp: Likewise.
7072 * lib/mi-support.exp: Adjust to use mi-async.
7073
fd664c91
PA
70742014-05-29 Pedro Alves <palves@redhat.com>
7075
7076 PR gdb/13860
7077 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7078 reason, even in sync mode.
7079
251bde03
PA
70802014-05-29 Pedro Alves <palves@redhat.com>
7081 Hui Zhu <hui@codesourcery.com>
7082
7083 PR PR15693
7084 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7085 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7086 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7087 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7088
7f3c0343
JB
70892014-05-28 Joel Brobecker <brobecker@adacore.com>
7090
7091 * config/monitor.exp (gdb_target_monitor): Replace use of
7092 "set remotebaud" by "set serial baud".
7093
b2715b27
AW
70942014-05-26 Andy Wingo <wingo@igalia.com>
7095
7096 * gdb.guile/scm-breakpoint.exp:
7097 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7098 properties instead of gdb-object-properties.
7099
498a4489
YQ
71002014-05-26 Yao Qi <yao@codesourcery.com>
7101
7102 * gdb.server/no-thread-db.exp: Specify source file name
7103 explicitly when setting a breakpoint.
7104
589fdceb
MM
71052014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7106
7107 * gdb.btrace/vdso.c: New.
7108 * gdb.btrace/vdso.exp: New.
7109
e9089e05
MM
71102014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7111
7112 * gdb.base/gcore.exp (capture_command_output): Move ...
7113 * lib/gdb.exp (capture_command_output): ... here.
7114
67b5c0c1
MM
71152014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7116
7117 * gdb.btrace/data.exp: Test memory access during btrace replay.
7118
a2199296
SM
71192014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7120
7121 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7122
17b2616c
PA
71232014-05-21 Pedro Alves <palves@redhat.com>
7124
7125 PR gdb/13860
7126 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7127 (top level): Test that output related to execution commands is
7128 sent to the console with CLI commands, but not with MI commands.
7129 Test that breakpoint events are always mirrored to the console.
7130 Also expect the new source line to be output after a "next" in
7131 async mode too. Make it a pass/fail test.
7132 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7133 output.
7134 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7135
5166082f
PA
71362014-05-21 Pedro Alves <palves@redhat.com>
7137
7138 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7139 Use them to test variations of "list" after reaching a breakpoint.
7140 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7141 Test "list" with listsize 10 after reaching a breakpoint.
7142 * gdb.python/python.exp (decode_line current location line
7143 number): Adjust expected line number.
7144
2f25d70f
SM
71452014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7146
7147 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7148 behavior for $args, pass it directly to "run".
7149
ff604a67
MR
71502014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7151
7152 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7153 30000 to 65536.
7154
6a3cb8e8
PA
71552014-05-21 Pedro Alves <palves@redhat.com>
7156
7157 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7158 auto-connect-native-target off".
7159 * gdb.base/auto-connect-native-target.c: New file.
7160 * gdb.base/auto-connect-native-target.exp: New file.
7161
4ebfc96e
PA
71622014-05-21 Pedro Alves <palves@redhat.com>
7163
7164 * gdb.base/default.exp: Test "target native" instead of "target
7165 child".
7166
36d46afb
MW
71672014-05-21 Mark Wielaard <mjw@redhat.com>
7168
7169 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7170
5876f503
JK
71712014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7172
7173 Fix TLS access for -static -pthread.
7174 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7175 <HAVE_TLS> (thread_function, main): Initialize it.
7176 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7177 Add clean_restart.
7178 <$have_tls != "">: Check TLSVAR.
7179
0256a6ac
PA
71802014-05-21 Pedro Alves <palves@redhat.com>
7181
7182 * gdb.base/dcache-line-read-error.c: New.
7183 * gdb.base/dcache-line-read-error.exp: New.
7184
936d2992
PA
71852014-05-20 Pedro Alves <palves@redhat.com>
7186
7187 * gdb.base/compare-sections.c: New file.
7188 * gdb.base/compare-sections.exp: New file.
7189
802e8e6d
PA
71902014-05-20 Pedro Alves <palves@redhat.com>
7191
7192 * gdb.base/break-idempotent.c: New file.
7193 * gdb.base/break-idempotent.exp: New file.
7194
e59fa00f
MM
71952014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7196
7197 * gdb.btrace/nohist.exp: New.
7198
8b696e31
YQ
71992014-05-20 Yao Qi <yao@codesourcery.com>
7200
7201 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7202 gdb.reverse directory and gdb_reverse_timeout exists in board
7203 setting.
7204 * README: Document gdb_reverse_timeout.
7205
73c9764f
YQ
72062014-05-20 Yao Qi <yao@codesourcery.com>
7207
7208 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7209 'test_file_name'. Treat args as a string instead of a list.
7210 (gdb_init): Rename argument 'args' by 'test_file_name'.
7211
f1f4348a
JK
72122014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7213
7214 * gdb.arch/powerpc-power.exp: New file.
7215 * gdb.arch/powerpc-power.s: New file.
7216
0dbe70ce
DE
72172014-05-16 Doug Evans <dje@google.com>
7218
7219 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
7220 * gdb.base/completion.exp: Check that all expected files exist
7221 before doing file completion.
0dbe70ce 7222
8d551b02
DE
72232014-05-16 Doug Evans <dje@google.com>
7224
7225 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7226 Update.
7227 (do_syscall_tests_without_xml): Update.
7228
73eb7709
PA
72292014-05-16 Pedro Alves <palves@redhat.com>
7230
7231 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7232 instead of "unknown output after running".
7233
3fae92fc
YQ
72342014-05-16 Yao Qi <yao@codesourcery.com>
7235
7236 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7237 file1.txt from host at the end.
7238 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7239
c2b2ccc5
DE
72402014-05-15 Doug Evans <dje@google.com>
7241
7242 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7243 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7244 loading file. Add test for TU lookup.
7245
8c217a4b
SM
72462014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7247
7248 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7249 calling "-exec-arguments" or "set args" before running the
7250 inferior.
7251
3deb39c6
SM
72522014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7253
7254 * lib/mi-support.exp (mi_expect_stop): Expect message for
7255 inferiors that exit with non-zero exit code.
7256
71a79f8c
YQ
72572014-05-14 Yao Qi <yao@codesourcery.com>
7258
7259 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7260 match absolute path on remote host.
7261 (test_file_list_exec_source_files): Remove "/" from the
7262 pattern.
7263
f23fcd46
YQ
72642014-05-14 Yao Qi <yao@codesourcery.com>
7265
7266 * boards/local-remote-host-notty.exp (${board}_file): New
7267 proc.
7268
9404b58f
KM
72692014-05-07 Kyle McMartin <kyle@redhat.com>
7270
7271 Pushed by Joel Brobecker <brobecker@adacore.com>.
7272 * gdb.arch/aarch64-atomic-inst.c: New file.
7273 * gdb.arch/aarch64-atomic-inst.exp: New file.
7274
5e45f04c
YQ
72752014-05-07 Yao Qi <yao@codesourcery.com>
7276
7277 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7278 in current context" too.
7279
c888a17d
KS
72802014-05-05 Keith Seitz <keiths@redhat.com>
7281
7282 * gdb.linespec/ls-dollar.exp: Add test for linespec
7283 file:convenience_variable.
7284
290a839c
YQ
72852014-05-05 Yao Qi <yao@codesourcery.com>
7286
7287 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7288 traceframes into tfile and ctf trace files. Read data from
7289 trace file and test collected data.
7290 (gdb_collect_locals_test): Likewise.
7291 (gdb_unavailable_registers_test): Likewise.
7292 (gdb_unavailable_floats): Likewise.
7293 (gdb_collect_globals_test): Likewise.
7294 (top-level): Append "ctf" to trace_file_targets if GDB
7295 supports.
7296
b5262cd0
YQ
72972014-05-05 Yao Qi <yao@codesourcery.com>
7298
7299 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7300 code to ...
7301 (gdb_collect_args_test_1): ... it. New proc.
7302 (gdb_collect_locals_test): Move some code to ...
7303 (gdb_collect_locals_test_1): ... it. New proc.
7304 (gdb_unavailable_registers_test): Move some code to ...
7305 (gdb_unavailable_registers_test_1): ... it. New proc.
7306 (gdb_unavailable_floats): Move some code to ...
7307 (gdb_unavailable_floats_1): ... it. New proc.
7308
30a1e6cc
SDJ
73092014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7310
7311 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7312 probes to test for bitness recognition.
7313 * gdb.arch/amd64-stap-optional-prefix.exp
7314 (test_probe_value_without_reg): New procedure.
7315 Add code to test for different kinds of bitness.
7316
f33da99a
SDJ
73172014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7318
7319 PR breakpoints/16889
7320 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7321 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7322
5b80f00d
PA
73232014-05-01 Pedro Alves <palves@redhat.com>
7324
7325 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7326 gdb_file_cmd if no file is specified.
7327 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7328 last_loaded_file to set the remote exec-file.
7329
f8c2a73c
PA
73302014-05-01 Pedro Alves <palves@redhat.com>
7331
7332 * boards/local-remote-host.exp: New file.
7333
be6e8ac7
PA
73342014-05-01 Pedro Alves <palves@redhat.com>
7335
7336 * boards/local-remote-host.exp: Rename to ...
7337 * boards/local-remote-host-notty.exp: ... this.
7338
cac0dc8f
JB
73392014-04-28 Joel Brobecker <brobecker@adacore.com>
7340
7341 * gdb.ada/dyn_arrayidx: New testcase.
7342
9730e6cc
YQ
73432014-04-26 Yao Qi <yao@codesourcery.com>
7344
7345 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7346 and compute the length of function main. Save it in
7347 $main_length.
7348 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7349 (top-level): Use gdb_compile to compile objects into
7350 executable and restart GDB. Remove invocation to
7351 prepare_for_testing.
7352
7ae1a6a6
PA
73532014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7354 Pedro Alves <palves@redhat.com>
7355
7356 PR server/16255
7357 * gdb.multi/multi-attach.c: New file.
7358 * gdb.multi/multi-attach.exp: New file.
7359
4082afcc
PA
73602014-04-25 Pedro Alves <palves@redhat.com>
7361
7362 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7363 user.
7364 (top level): Test that "set remote conditional-breakpoints-packet
7365 off" works as intended.
7366 * gdb.base/dprintf.exp: Test that "set remote
7367 breakpoint-commands-packet off" works as intended.
7368 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7369 New function.
7370 (top level): Call it.
7371 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7372 remote fast-tracepoints-packet off" works as intended.
7373 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7374 * lib/gdb.exp (gdb_is_target_remote): ... here.
7375
2abc3f8d
DB
73762014-04-24 David Blaikie <dblaikie@gmail.com>
7377
7378 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7379 ensure clang would not discard them.
7380 * gdb.base/gdbvars.c: Ditto.
7381 * gdb.base/memattr.c: Ditto.
7382 * gdb.base/whatis.c: Ditto.
7383 * gdb.python/py-prettyprint.c: Ditto.
7384 * gdb.trace/actions.c: Ditto.
7385 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7386 ensure clang would not discard it.
7387
bfd39632
DB
73882014-04-24 David Blaikie <dblaikie@gmail.com>
7389
7390 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7391 clang to emit the full definition of type required by the test
7392 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7393
22842ff6
DB
73942014-04-24 David Blaikie <dblaikie@gmail.com>
7395
7396 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7397 coax Clang into emitting the definition of the type.
7398 * gdb.cp/pr10728-x.h (y): Ditto.
7399 * gdb.cp/pr10728-y.cc (y): Ditto.
7400
c2e827ad
DB
74012014-04-24 David Blaikie <dblaikie@gmail.com>
7402
7403 * gdb.base/label.exp: XFAIL label related tests under Clang.
7404 * gdb.cp/cplabel.exp: Ditto.
7405 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7406 under Clang those using labels.
7407
4c2d33e7
YQ
74082014-04-25 Yao Qi <yao@codesourcery.com>
7409
7410 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7411 double_label.
7412 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7413 partial_label and double_label.
7414
56083b99
DB
74152014-04-24 David Blaikie <dblaikie@gmail.com>
7416
7417 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7418
25d4e99d
DB
74192014-04-24 David Blaikie <dblaikie@gmail.com>
7420
7421 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7422 of the function to work across GCC and Clang.
7423 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7424 pointer types (const void ** const V void **).
7425
01f9f808
MS
74262014-04-24 Michael Sturm <michael.sturm@mintel.com>
7427 Walfred Tedeschi <walfred.tedeschi@intel.com>
7428
7429 * Makefile.in (EXECUTABLES): Added i386-avx512.
7430 * gdb.arch/i386-avx512.c: New file.
7431 * gdb.arch/i386-avx512.exp: Likewise.
7432
4b48d439
KS
74332014-04-23 Keith Seitz <keiths@redhat.com>
7434
7435 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7436 (mi_make_breakpoint_table): New procedure.
7437 (mi_create_breakpoint): Use mi_make_breakpoint
7438 and return the result.
7439 (mi_make_breakpoint): New procedure.
7440 (mi_build_kv_pairs): New procedure.
7441
7442 * gdb.mi/mi-break.exp: Remove unused globals,
7443 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7444 All callers updated.
7445 * gdb.mi/mi-dprintf.exp: Use variable to track command
7446 number.
7447 Update all callers of mi_create_breakpoint and use
7448 mi_make_breakpoint_table.
7449 Remove any unused global variables.
7450 * gdb.mi/mi-nonstop.exp: Likewise.
7451 * gdb.mi/mi-nsintrall.exp: Likewise.
7452 * gdb.mi/mi-nsmoribund.exp: Likewise.
7453 * gdb.mi/mi-nsthrexec.exp: Likewise.
7454 * gdb.mi/mi-reverse.exp: Likewise.
7455 * gdb.mi/mi-simplerun.exp: Likewise.
7456 * gdb.mi/mi-stepn.exp: Likewise.
7457 * gdb.mi/mi-syn-frame.exp: Likewise.
7458 * gdb.mi/mi-until.exp: Likewise.
7459 * gdb.mi/mi-var-cp.exp: Likewise.
7460 * gdb.mi/mi-var-display.exp: Likewise.
7461 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7462 * gdb.mi/mi2-var-child.exp: Likewise.
7463 * gdb.mi/mi-vla-c99.exp: Likewise.
7464 * lib/mi-support.exp: Likewise.
7465
7466 From Ian Lance Taylor <iant@cygnus.com>:
7467 * lib/gdb.exp (parse_args): New procedure.
7468
08351840
PA
74692014-04-23 Pedro Alves <palves@redhat.com>
7470
7471 * gdb.base/break-unload-file.c: New file.
7472 * gdb.base/break-unload-file.exp: New file.
7473 * gdb.base/sym-file-lib.c (baz): New function.
7474 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7475 field.
7476 (load): Store the segment's mapped size.
7477 (unload): New function.
7478 (unload_shlib): New function.
7479 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7480 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7481 set a breakpoint at baz, and call it.
7482 * gdb.base/sym-file.exp: New tests for stale breakpoint
7483 instructions.
7484
076855f9
PA
74852014-04-23 Pedro Alves <palves@redhat.com>
7486
7487 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7488 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7489 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7490 * gdb.base/hbreak-unmapped.c: New file.
7491 * gdb.base/hbreak-unmapped.exp: New file.
7492 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7493 * lib/gdb.exp (gdb_is_target_remote): ... here.
7494
483805cf
PA
74952014-04-22 Pedro Alves <palves@redhat.com>
7496
7497 * gdb.base/consecutive-step-over.c: New file.
7498 * gdb.base/consecutive-step-over.exp: New file.
7499
06d97543
PA
75002014-04-22 Pedro Alves <palves@redhat.com>
7501
7502 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7503 instead of send_gdb/gdb_expect.
7504
b4429ea2
YQ
75052014-04-22 Yao Qi <yao@codesourcery.com>
7506
7507 * lib/trace-support.exp (generate_tracefile): New procedure.
7508 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7509 return 0.
7510 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7511 if generate_tracefile returns 1.
7512
51d48146
PA
75132014-04-18 Tom Tromey <palves@redhat.com>
7514 Pedro alves <tromey@redhat.com>
7515
7516 PR backtrace/15558
7517 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7518 with a backtrace limit.
7519 * gdb.python/py-frame-inline.exp: Test running to an inline
7520 function with a backtrace limit, and printing the newest frame.
7521 * gdb.python/py-frame-inline.c (main): Call f.
7522
bd1dce5f
MS
75232014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7524
7525 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7526
40d1a503
MS
75272014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7528
7529 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7530 Drop prefix from unsupported source file path.
7531
389b98f7
YQ
75322014-04-17 Yao Qi <yao@codesourcery.com>
7533
7534 * lib/gdb.exp (with_target_charset): New proc.
7535 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7536 with_target_charset.
7537 (test_print_strings): Likewise.
7538 (test_repeat_bytes): Likewise.
7539 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7540 for some tests.
7541
22869d73
KS
75422014-04-16 Keith Seitz <keiths@redhat.com>
7543
7544 PR gdb/15827
7545 * gdb.dwarf2/corrupt.c: New file.
7546 * gdb.dwarf2/corrupt.exp: New file.
7547
c4f87ca6
KS
75482014-04-16 Keith Seitz <keiths@redhat.com>
7549
7550 PR c++/16597
7551 * gdb.cp/namelessclass.cc: New file.
7552 * gdb.cp/namelessclass.exp: New file.
7553 * gdb.cp/namelessclass.S: New file.
7554
ab19de87
DE
75552014-04-16 Doug Evans <dje@google.com>
7556
7557 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7558 Add comment.
7559 (gdbserver_default_get_comm_port): New function.
7560 (gdbserver_start): Check if board file provided
7561 "gdbserver,get_comm_port" and use it if so.
7562 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7563 (gdb,socketport): Set to "stdio".
7564 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7565 (stdio_gdbserver_template): Delete.
7566 (${board}_get_remote_address): Update.
7567 (${board}_build_remote_cmd): Delete.
7568 (${board}_get_comm_port): New function.
7569 (${board}_spawn): Update.
7570 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7571 Delete.
7572 (${board}_get_remote_address): Update.
7573 (${board}_get_comm_port): New function.
7574
fc98a809
AB
75752014-04-16 Andrew Burgess <aburgess@broadcom.com>
7576
7577 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7578 appearing in any order.
7579
87fd9e6e
DE
75802014-04-15 Doug Evans <dje@google.com>
7581
7582 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7583 uninitialized value of "description".
7584
099fc3ea
KS
75852014-04-15 Keith Seitz <keiths@redhat.com>
7586
7587 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7588 Remove unused globals.
7589 (test_running_the_program): Likewise.
7590 (test_controlled_execution): Likewise.
7591 (test_controlling_breakpoints): Likewise.
7592 (test_program_termination): Likewise.
7593
5da151d4
KS
75942014-04-15 Keith Seitz <keiths@redhat.com>
7595
7596 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7597 unused globals.
7598 (test_rbreak_creation_and_listing): Likewise.
7599 (test_ignore_count): Likewise.
7600 (test_error): Likewise.
7601
35e5d2f0
PA
76022014-04-15 Pedro Alves <palves@redhat.com>
7603
7604 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7605 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7606 sym-file-loader.c.
7607 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7608 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7609 to sym-file-loader.c.
7610 (struct library): Forward declare.
7611 (load_shlib, lookup_function): Change prototypes.
7612 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7613 (translate_offset): Remove declarations.
7614 (get_text_addr): New declaration.
7615 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7616 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7617 sym-file-loader.h.
7618 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7619 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7620 here from sym-file-loader.h.
7621 (struct library): New structure.
7622 (load_shlib, lookup_function): Change prototypes and adjust to
7623 work with a struct library.
7624 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7625 (translate_offset): Make static.
7626 (get_text_addr): New function.
7627 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7628
eb4c1710
PA
76292014-04-15 Pedro Alves <palves@redhat.com>
7630
7631 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7632
2d1baf52
PA
76332014-04-15 Pedro Alves <palves@redhat.com>
7634
7635 * gdb.base/sym-file-loader.c: Include <limits.h>.
7636 (SELF_LINK): New define.
7637 (get_origin): New function.
7638 (load_shlib): Use it.
7639 * gdb.base/sym-file.exp: Don't early return if the target is
7640 remote. Use runto_main, and issue fail is that fails. Use
7641 gdb_load_shlibs.
7642 (shlib_name): Delete.
7643 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7644
7dd6df01
PA
76452014-04-15 Pedro Alves <palves@redhat.com>
7646
7647 * gdb.base/sym-file.exp: Remove regex characters from test
7648 message. Don't refer to breakpoint numbers in test messages.
7649
b50c8614
KS
76502014-04-14 Keith Seitz <keiths@redhat.com>
7651
7652 PR c++/16253
7653 * gdb.cp/var-tag.cc: New file.
7654 * gdb.cp/var-tag.exp: New file.
7655 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7656 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7657 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7658 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7659
3d567982
TT
76602014-04-14 Tom Tromey <tromey@redhat.com>
7661
7662 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7663 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7664 type.
7665 * gdb.cp/enum-class.exp: New file.
7666 * gdb.cp/enum-class.cc: New file.
7667
0626fc76
TT
76682014-04-14 Tom Tromey <tromey@redhat.com>
7669
7670 * gdb.dwarf2/enum-type.exp: New file.
7671
dca325b3
SA
76722014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7673
7674 * gdb.mi/mi-vla-c99.exp: New file.
7675 * gdb.mi/vla.c: New file.
7676
5854b38a
SA
76772014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7678
7679 * gdb.base/vla-datatypes.c: New file.
7680 * gdb.base/vla-datatypes.exp: New file.
7681
463bb957
SA
76822014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7683
7684 * gdb.base/vla-ptr.c: New file.
7685 * gdb.base/vla-ptr.exp: New file.
7686
3dd170be
SA
76872014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7688
7689 * gdb.dwarf2/count.exp: New file.
7690
5ecaaa66
SA
76912014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7692
7693 * gdb.base/vla-sideeffect.c: New file.
7694 * gdb.base/vla-sideeffect.exp: New file.
7695
41f1ada5
DB
76962014-04-14 David Blaikie <dblaikie@gmail.com>
7697
7698 * gdb.mi/non-stop.c: Add return value for non-void function return
7699 statement.
7700 * gdb.threads/staticthreads.c: Ditto.
7701
0be03e84
DE
77022014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7703 Doug Evans <xdje42@gmail.com>
7704
7705 * gdb.guile/scm-value.c: Improve test case.
7706 * gdb.guile/scm-value.exp: Add new test.
7707
f180a1fb
DB
77082014-04-11 David Blaikie <dblaikie@gmail.com>
7709
7710 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7711 override Clang's default.
7712
6b662e19
JB
77132014-04-11 Joel Brobecker <brobecker@adacore.com>
7714
7715 Revert the following changes (regressions):
7716
7717 * gdb.base/vla-sideeffect.c: New file.
7718 * gdb.base/vla-sideeffect.exp: New file.
7719
7720 * gdb.dwarf2/count.exp: New file.
7721
7722 * gdb.base/vla-multi.c: New file.
7723 * gdb.base/vla-multi.exp: New file.
7724
7725 * gdb.base/vla-ptr.c: New file.
7726 * gdb.base/vla-ptr.exp: New file.
7727
7728 * gdb.base/vla-datatypes.c: New file.
7729 * gdb.base/vla-datatypes.exp: New file.
7730
7731 * gdb.mi/mi-vla-c99.exp: New file.
7732 * gdb.mi/vla.c: New file.
7733
245a5f0b
KS
77342014-04-11 Keith Seitz <keiths@redhat.com>
7735
7736 PR c++/16675
7737 * gdb.cp/cpsizeof.exp: New file.
7738 * gdb.cp/cpsizeof.cc: New file.
7739
58a84dcf
SA
77402014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7741
191a8a90
JB
7742 * gdb.mi/mi-vla-c99.exp: New file.
7743 * gdb.mi/vla.c: New file.
58a84dcf 7744
c8655f75
SA
77452014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7746
7747 * gdb.base/vla-datatypes.c: New file.
7748 * gdb.base/vla-datatypes.exp: New file.
7749
024e13b4
SA
77502014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7751
7752 * gdb.base/vla-ptr.c: New file.
7753 * gdb.base/vla-ptr.exp: New file.
7754
1a237e0e
SA
77552014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7756
7757 * gdb.base/vla-multi.c: New file.
7758 * gdb.base/vla-multi.exp: New file.
7759
504f3432
SA
77602014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7761
7762 * gdb.dwarf2/count.exp: New file.
7763
3bce8237
SA
77642014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7765
191a8a90
JB
7766 * gdb.base/vla-sideeffect.c: New file.
7767 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 7768
322f9c21
YQ
77692014-04-11 Yao Qi <yao@codesourcery.com>
7770
7771 * gdb.base/completion.exp: Check file exists before running tests
7772 on file completion.
7773
d708bcd1
PA
77742014-04-10 Pedro Alves <palves@redhat.com>
7775
7776 * gdb.base/cond-eval-mode.c: New file.
7777 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7778 prepare_for_testing to build the new file. Check result of
7779 runto_main.
7780 (test_break, test_watch): New procedures.
7781 (top level): Use them.
7782
ae1d2761
PM
77832014-04-08 Pierre Muller <muller@sourceware.org>
7784
7785 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7786 Ctrl-V use for mingw hosts.
7787
7af389b8
SC
77882014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7789
7790 * gdb.python/py-value.c: Improve test case.
7791 * gdb.python/py-value.exp: Add new test.
7792
5e703181
DE
77932014-04-07 David Blaikie <dblaikie@gmail.com>
7794
7795 * lib/compiler.c: Identify the clang compiler.
7796 * lib/compiler.cc: Ditto.
7797
9810b410
YQ
77982014-04-03 Yao Qi <yao@codesourcery.com>
7799
7800 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7801
98d1b8dc
AB
78022014-04-01 Anton Blanchard <anton@samba.org>
7803
7804 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7805 messages unique.
7806
3114cea1
AB
78072014-04-01 Anton Blanchard <anton@samba.org>
7808
7809 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7810 prepare_for_testing.
7811
62f7182c
AB
78122014-04-01 Anton Blanchard <anton@samba.org>
7813
7814 * gdb.arch/ppc64-atomic-inst.c: Remove.
7815 * gdb.arch/ppc64-atomic-inst.S: New file.
7816 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7817
770e7fc7
DE
78182014-03-31 Doug Evans <dje@google.com>
7819
7820 * gdb.base/print-symbol-loading-lib.c: New file.
7821 * gdb.base/print-symbol-loading-main.c: New file.
7822 * gdb.base/print-symbol-loading.exp: New file.
7823
46e2bafa
YQ
78242014-03-31 Yao Qi <yao@codesourcery.com>
7825
7826 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7827
8776cfe9
JB
78282014-03-28 Joel Brobecker <brobecker@adacore.com>
7829
7830 * gdb.ada/mi_dyn_arr: New testcase.
7831
5d1ef361
DE
78322014-03-27 Doug Evans <dje@google.com>
7833
7834 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7835
b5bee914
YQ
78362014-03-27 Yao Qi <yao@codesourcery.com>
7837
7838 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7839 if target is nios2-*-*.
7840
0d4d0e77
YQ
78412014-03-26 Yao Qi <yao@codesourcery.com>
7842
7843 * lib/gdb.exp (readline_is_used): New proc.
7844 * gdb.base/completion.exp: Move tests on command complete up.
7845 Skip the rest of tests if readline is not used.
7846 * gdb.ada/complete.exp: Skp the test if readline is not
7847 used.
7848 * gdb.base/filesym.exp: Likewise.
7849 * gdb.base/macscp.exp: Likewise.
7850 * gdb.base/readline-ask.exp: Likewise.
7851 * gdb.base/readline.exp: Likewise.
7852 * gdb.python/py-cmd.exp: Likewise.
7853 * gdb.trace/tfile.exp: Likewise.
7854
29361eee
YQ
78552014-03-26 Yao Qi <yao@codesourcery.com>
7856
7857 * gdb.base/macscp.exp: Fix code format issues.
7858
bc9a5525
UW
78592014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7860
7861 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7862 * gdb.asm/powerpc64le.inc: New file.
7863
d3839ede
PA
78642014-03-25 Pedro Alves <palves@redhat.com>
7865 Doug Evans <dje@google.com>
7866
7867 * gdb.base/source-execution.c: New file.
7868 * gdb.base/source-execution.exp: New file.
7869 * gdb.base/source-execution.gdb: New file.
7870
01672a57
DE
78712014-03-24 Doug Evans <dje@google.com>
7872
7873 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7874 using fission.
7875
88bbeca9
HZ
78762014-03-24 Hui Zhu <hui@codesourcery.com>
7877 Pedro Alves <palves@redhat.com>
7878
7879 PR breakpoints/16101
7880 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7881 test pass/fail messages. Detect missing support for dprintf when
7882 breakpoints are actually inserted.
7883 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7884 breakpoints are actually inserted.
7885 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7886 fails.
7887
d2348791
JK
78882014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7889
7890 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7891
feef67ab
DE
78922014-03-22 Doug Evans <xdje42@gmail.com>
7893
7894 * gdb.python/python.exp (python not supported): Verify multi-line
7895 python command issues an error.
25d743f9 7896 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 7897 guile command issues an error.
feef67ab 7898
ecebef6a
MR
78992014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7900
7901 * gdb.threads/thread-specific.exp: Handle the lack of usable
7902 $this_breakpoint and $this_thread.
7903
ccdd1909
HZ
79042014-03-21 Hui Zhu <hui@codesourcery.com>
7905
7906 * gdb.base/attach.exp (do_command_attach_tests): New.
7907
beb460e8
PA
79082014-03-20 Tom Tromey <tromey@redhat.com>
7909 Pedro Alves <palves@redhat.com>
7910
7911 PR cli/15718
7912 * gdb.base/condbreak-call-false.c: New file.
7913 * gdb.base/condbreak-call-false.exp: New file.
7914
40acf43a
PA
79152014-03-20 Pedro Alves <palves@redhat.com>
7916
7917 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7918 Delete.
7919 (block_signals, unblock_signals): Delete.
7920 (child_function_2, main): Remove references to deleted variable
7921 and functions.
7922
9f5e1e02
PA
79232014-03-20 Pedro Alves <palves@redhat.com>
7924
7925 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7926 Use pthread_kill to signal thread 2.
7927 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7928 Adjust to make the test send itself a signal rather than using the
7929 host's "kill" command.
7930
99619bea
PA
79312014-03-20 Pedro Alves <palves@redhat.com>
7932
7933 * gdb.threads/multiple-step-overs.c: New file.
7934 * gdb.threads/multiple-step-overs.exp: New file.
7935 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7936 Adjust expected infrun debug output.
7937
2adfaa28
PA
79382014-03-20 Pedro Alves <palves@redhat.com>
7939
7940 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7941 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7942
31e77af2
PA
79432014-03-20 Pedro Alves <palves@redhat.com>
7944
7945 PR breakpoints/7143
7946 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7947 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7948 of gdb_test_multiple.
7949 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7950 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7951
b9f437de
PA
79522014-03-20 Pedro Alves <palves@redhat.com>
7953
7954 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7955 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7956
05adc73e
PA
79572014-03-19 Pedro Alves <palves@redhat.com>
7958
7959 * gdb.base/async.exp: Remove early return.
7960
6048b950
PA
79612014-03-19 Pedro Alves <palves@redhat.com>
7962
7963 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7964
8bcfb00a
PA
79652014-03-19 Pedro Alves <palves@redhat.com>
7966
7967 * gdb.base/async.exp (test_background): Expect \r\n after
7968 "completed." in the fail pattern.
7969
884e37dc
PA
79702014-03-19 Pedro Alves <palves@redhat.com>
7971
7972 * gdb.base/async.exp (test_background): New procedure.
7973 Use it for all background execution command tests.
7974
148e57e2
PA
79752014-03-19 Pedro Alves <palves@redhat.com>
7976
7977 * gdb.base/async.exp: Use prepare_for_testing.
7978
f48088c7
PA
79792014-03-19 Pedro Alves <palves@redhat.com>
7980
7981 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7982 the same line.
7983
e2f6c966
PA
79842014-03-19 Pedro Alves <palves@redhat.com>
7985
7986 * gdb.base/async.c (main): Add "jump here" and "until here" line
7987 marker comments.
7988 * gdb.base/async.exp (jump_here): New global.
7989 (jump& test): Use it.
7990 (until_here): New global.
7991 (until& test): Use it.
7992
c30568d4
PA
79932014-03-19 Pedro Alves <palves@redhat.com>
7994
7995 * gdb.base/async.exp: Don't frob gdb_protocol.
7996
0172b6a7
DE
79972014-03-18 Doug Evans <xdje42@gmail.com>
7998
7999 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8000 Fix spelling of exec-done-display.
8001
06c868a8
JK
80022014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8003
8004 PR gdb/15358
8005 * gdb.base/gdb-sigterm.c: New file.
8006 * gdb.base/gdb-sigterm.exp: New file.
8007
0c7e1a46
PA
80082014-03-18 Pedro Alves <palves@redhat.com>
8009
8010 PR gdb/13860
8011 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8012 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8013 solib-event.
8014
f7c77d93
JB
80152014-03-17 Joel Brobecker <brobecker@adacore.com>
8016
8017 * gdb.ada/pckd_arr_ren: New testcase.
8018
5a1e8c7a
DE
80192014-03-13 Doug Evans <xdje42@gmail.com>
8020
8021 PR guile/16612
8022 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8023 collect after discarding symbols.
8024
350e1a76
DE
80252014-03-13 Ludovic Courtès <ludo@gnu.org>
8026 Doug Evans <xdje42@gmail.com>
8027
8028 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8029 to history survives a gc.
8030
a69900ae
PA
80312014-03-13 Pedro Alves <palves@redhat.com>
8032
8033 * gdb.base/default.exp: Don't test "target procfs".
8034
5db9f0bd
PA
80352014-03-13 Pedro Alves <palves@redhat.com>
8036
8037 * gdb.base/default.exp: Update "target child" and "target procfs"
8038 tests to not expect "Unix".
8039
b3ccfe11
TT
80402014-03-12 Tom Tromey <tromey@redhat.com>
8041
8042 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8043 New procs. Add target-async tests.
8044 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8045 Add target-async tests.
8046
646f4417
AA
80472014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8048
8049 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8050 'func_start' and 'func_end' for the beginning and end of the
8051 function code, respectively.
8052 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8053 'func_end' instead of 'func' and 'main'.
8054
288c211f
AA
80552014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8056
8057 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8058 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8059 generate the debug info assembler source.
8060
e0c0f156
AA
80612014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8062
8063 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8064 * gdb.dwarf2/arr-subrange.exp: Likewise.
8065 * gdb.dwarf2/dwz.exp: Likewise.
8066 * gdb.dwarf2/method-ptr.exp: Likewise.
8067 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8068 * gdb.dwarf2/subrange.exp: Likewise.
8069 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8070 * gdb.dwarf2/implptrpiece.exp: Likewise.
8071 * gdb.dwarf2/nostaticblock.exp: Likewise.
8072
0e5c4555
AA
80732014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8074
8075 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8076 directory to absolute path name arguments.
8077
5ec18f2b
JG
80782014-03-10 Joel Brobecker <brobecker@adacore.com>
8079
8080 * gdb.ada/tagged_access: New testcase.
8081
847fc4f2
MM
80822014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8083
8084 * gdb.btrace/data.exp: Update expected output.
8085
cc3da688
YQ
80862014-03-06 Yao Qi <yao@codesourcery.com>
8087
8088 * gdb.trace/pr16508.exp: New file.
8089
0f26cec1
PA
80902014-03-05 Pedro Alves <palves@redhat.com>
8091
8092 PR gdb/16575
8093 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8094 procedure.
8095 (top level): Adjust to use it. Add tests that exercise breakpoint
8096 interaction with the code-cache.
8097
7a5a839f
LC
80982014-02-26 Ludovic Courtès <ludo@gnu.org>
8099
8100 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8101 test for 'history-append!'.
8102
31aa7e4e
JB
81032014-02-26 Joel Brobecker <brobecker@adacore.com>
8104
8105 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8106 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8107 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8108 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8109 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8110 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8111
1b588015
JB
81122014-02-26 Joel Brobecker <brobecker@adacore.com>
8113
8114 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8115 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8116 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8117
55426c9d
JB
81182014-02-26 Joel Brobecker <brobecker@adacore.com>
8119
8120 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8121
dc53a7ad
JB
81222014-02-26 Joel Brobecker <brobecker@adacore.com>
8123
8124 * gdb.dwarf2/arr-stride.c: New file.
8125 * gdb.dwarf2/arr-stride.exp: New file.
8126
12ab52e9
PA
81272014-02-26 Pedro Alves <palves@redhat.com>
8128
8129 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8130 that won't ever trigger. Make sure that GDB reports the correct
8131 breakpoint that caused the stop.
8132
849c862e
JK
81332014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8134
8135 PR gdb/16626
8136 * gdb.base/auto-load-script: New file.
8137 * gdb.base/auto-load.c: New file.
8138 * gdb.base/auto-load.exp: New file.
8139
71b7d793
JK
8140 PR gdb/16626
8141 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8142
e2f0d509
JK
81432014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8144
8145 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8146 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8147
50cc37c8
DE
81482014-02-24 Doug Evans <dje@google.com>
8149
8150 * lib/gdb.exp (run_on_host): Log error output if program fails.
8151
ea4758f2
PA
81522014-02-21 Pedro Alves <palves@redhat.com>
8153
8154 * gdb.threads/step-after-sr-lock.c: Rename to ...
8155 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8156 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8157 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8158 ... this.
8159
d7b30f67
SDJ
81602014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8161
8162 PR tdep/16397
8163 * gdb.arch/amd64-stap-special-operands.exp: New file.
8164 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8165 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8166 * gdb.arch/amd64-stap-triplet.S: Likewise.
8167 * gdb.arch/amd64-stap-triplet.c: Likewise.
8168
83deb43f
JB
81692014-02-20 Joel Brobecker <brobecker@adacore.com>
8170
8171 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8172 in .section pseudo-op.
8173
adde2bff
DE
81742014-02-20 lin zuojian <manjian2006@gmail.com>
8175 Joel Brobecker <brobecker@adacore.com>
8176 Doug Evans <xdje42@gmail.com>
8177
8178 PR symtab/16581
8179 * gdb.dwarf2/dw2-icycle.S: New file.
8180 * gdb.dwarf2/dw2-icycle.c: New file.
8181 * gdb.dwarf2/dw2-icycle.exp: New file.
8182
f7bd0f78
SC
81832014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8184
8185 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8186 operations on gdb.Value objects.
8187 * gdb.python/py-value-cc.exp: Add new test to test operations on
8188 gdb.Value objects.
8189
c17ef0d5
DE
81902014-02-18 Doug Evans <dje@google.com>
8191
8192 * Makefile.in (TESTS): New variable.
8193 (expanded_tests, expanded_tests_or_none): New variables
8194 (check-single): Pass $(expanded_tests_or_none) to runtest.
8195 (check-parallel): Only run tests in $(TESTS) if non-empty.
8196 (check/no-matching-tests-found): New rule.
8197 * README: Document TESTS makefile variable.
8198
5dd3176f
DE
81992014-02-18 Doug Evans <dje@google.com>
8200
8201 * Makefile.in (check-parallel): rm -rf outputs temp.
8202
0b10be4f
JK
82032014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8204
8205 Fix "ERROR: no fileid for" in the testsuite.
8206 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8207
85f224e7
DE
82082014-02-12 Doug Evans <dje@google.com>
8209
8210 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8211 (MISCELLANEOUS): New variable.
8212 (clean): rm -rf $(MISCELLANEOUS).
8213 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8214 dwp live in the same directory as symlinks, with each symlink pointed
8215 to a differently named file in a different directory.
8216
149b30ff
DE
82172014-02-11 Doug Evans <dje@google.com>
8218
8219 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8220 of Tcl file commands.
8221
1dfdac32
MK
82222014-02-10 Mark Kettenis <kettenis@gnu.org>
8223
8224 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8225 "kill -SIGUSR1 -1".
8226
aa4fb036
JB
82272014-02-10 Joel Brobecker <brobecker@adacore.com>
8228
8229 * gdb.ada/tick_length_array_enum_idx: New testcase.
8230
ed3ef339
DE
82312014-02-10 Doug Evans <xdje42@gmail.com>
8232
8233 * configure.ac (AC_OUTPUT): Add gdb.guile.
8234 * configure: Regenerate.
8235 * lib/gdb-guile.exp: New file.
8236 * lib/gdb.exp (get_target_charset): New function.
8237 * gdb.base/help.exp: Update expected output from "apropos apropos".
8238 * gdb.guile/Makefile.in: New file.
8239 * gdb.guile/guile.exp: New file.
8240 * gdb.guile/scm-arch.c: New file.
8241 * gdb.guile/scm-arch.exp: New file.
8242 * gdb.guile/scm-block.c: New file.
8243 * gdb.guile/scm-block.exp: New file.
8244 * gdb.guile/scm-breakpoint.c: New file.
8245 * gdb.guile/scm-breakpoint.exp: New file.
8246 * gdb.guile/scm-disasm.c: New file.
8247 * gdb.guile/scm-disasm.exp: New file.
8248 * gdb.guile/scm-equal.c: New file.
8249 * gdb.guile/scm-equal.exp: New file.
8250 * gdb.guile/scm-error.exp: New file.
8251 * gdb.guile/scm-error.scm: New file.
8252 * gdb.guile/scm-frame-args.c: New file.
8253 * gdb.guile/scm-frame-args.exp: New file.
8254 * gdb.guile/scm-frame-args.scm: New file.
8255 * gdb.guile/scm-frame-inline.c: New file.
8256 * gdb.guile/scm-frame-inline.exp: New file.
8257 * gdb.guile/scm-frame.c: New file.
8258 * gdb.guile/scm-frame.exp: New file.
8259 * gdb.guile/scm-generics.exp: New file.
8260 * gdb.guile/scm-gsmob.exp: New file.
8261 * gdb.guile/scm-iterator.c: New file.
8262 * gdb.guile/scm-iterator.exp: New file.
8263 * gdb.guile/scm-math.c: New file.
8264 * gdb.guile/scm-math.exp: New file.
8265 * gdb.guile/scm-objfile-script-gdb.in: New file.
8266 * gdb.guile/scm-objfile-script.c: New file.
8267 * gdb.guile/scm-objfile-script.exp: New file.
8268 * gdb.guile/scm-objfile.c: New file.
8269 * gdb.guile/scm-objfile.exp: New file.
8270 * gdb.guile/scm-ports.exp: New file.
8271 * gdb.guile/scm-pretty-print.c: New file.
8272 * gdb.guile/scm-pretty-print.exp: New file.
8273 * gdb.guile/scm-pretty-print.scm: New file.
8274 * gdb.guile/scm-section-script.c: New file.
8275 * gdb.guile/scm-section-script.exp: New file.
8276 * gdb.guile/scm-section-script.scm: New file.
8277 * gdb.guile/scm-symbol.c: New file.
8278 * gdb.guile/scm-symbol.exp: New file.
8279 * gdb.guile/scm-symtab-2.c: New file.
8280 * gdb.guile/scm-symtab.c: New file.
8281 * gdb.guile/scm-symtab.exp: New file.
8282 * gdb.guile/scm-type.c: New file.
8283 * gdb.guile/scm-type.exp: New file.
8284 * gdb.guile/scm-value-cc.cc: New file.
8285 * gdb.guile/scm-value-cc.exp: New file.
8286 * gdb.guile/scm-value.c: New file.
8287 * gdb.guile/scm-value.exp: New file.
8288 * gdb.guile/source2.scm: New file.
8289 * gdb.guile/types-module.cc: New file.
8290 * gdb.guile/types-module.exp: New file.
8291
7026a7c1
YQ
82922014-02-10 Yao Qi <yao@codesourcery.com>
8293
8294 PR testsuite/16543
8295 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8296 * configure: Regenerated.
8297 * Makefile.in: New file.
8298
6c466447
AS
82992014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8300
8301 * gdb.python/py-framefilter.exp: Fix typo.
8302
6e854735
YQ
83032014-02-08 Yao Qi <yao@codesourcery.com>
8304
8305 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8306 that no =breakpoint-modified is emitted when breakpoints are
8307 modified through MI commands.
8308
d137e6dc
PA
83092014-02-07 Pedro Alves <pedro@codesourcery.com>
8310 Pedro Alves <palves@redhat.com>
8311
8312 * gdb.threads/step-after-sr-lock.c: New file.
8313 * gdb.threads/step-after-sr-lock.exp: New file.
8314
b5ee5a50
PA
83152014-02-07 Pedro Alves <palves@redhat.com>
8316
8317 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8318
3c77faf3
JK
83192014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8320
8321 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8322 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8323
6dddc817
DE
83242014-02-06 Doug Evans <xdje42@gmail.com>
8325
8326 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8327 output.
8328
8329 * gdb.gdb/python-interrupts.exp: New file.
8330
de7b2893
YQ
83312014-02-05 Yao Qi <yao@codesourcery.com>
8332
8333 * gdb.trace/report.exp (use_collected_data): Test the output
8334 of "info threads" and "info inferiors".
8335
66d032ac
YQ
83362014-02-05 Yao Qi <yao@codesourcery.com>
8337
8338 Revert this patch:
8339
8340 2013-05-24 Yao Qi <yao@codesourcery.com>
8341
8342 * gdb.trace/tfile.exp: Test inferior and thread.
8343
591a12a1
UW
83442014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8345
8346 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8347 on a function.
8348 * gdb.base/step-bt.c: Call hello via function pointer to make
8349 sure its first instruction is executed on powerpc64le-linux.
8350
0ff3e01f
UW
83512014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8352
8353 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8354
084ee545
UW
83552014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8356
8357 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8358 of the test patterns for use on little-endian systems.
8359
6ed14ff3
UW
83602014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8361
8362 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8363 (decimal_vector): Fix for little-endian.
8364
401e27fd
JM
83652014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8366
8367 * gdb.arch/sparc-sysstep.exp: New file.
8368 * gdb.arch/sparc-sysstep.c: Likewise.
8369
8370 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8371
8b924729
EBM
83722014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8373
8374 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8375
fb151210
JB
83762014-01-23 Tom Tromey <tromey@redhat.com>
8377
8378 * gdb.ada/array_char_idx: New testcase.
8379
0740f8d8
TT
83802014-01-23 Tom Tromey <tromey@redhat.com>
8381
8382 PR python/16487:
8383 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8384 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8385 classes.
8386
21909fa1
TT
83872014-01-23 Tom Tromey <tromey@redhat.com>
8388
8389 PR python/16491:
8390 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8391 string from an inferior frame.
8392 * gdb.python/py-framefilter-mi.exp: Update.
8393
87ce2a04
DE
83942014-01-22 Doug Evans <dje@google.com>
8395
8396 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8397
237b092b
AA
83982014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8399
8400 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8401
d674a709
AA
84022014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8403
8404 * gdb.trace/entry-values.exp: Remove excess space character from
8405 regex patterns. Handle s390 call instruction.
8406
20fa3390
AA
84072014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8408
8409 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8410 define "*_start" label. Make "name" static.
8411 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8412 ${name} by references to ${name}_start.
8413
78466714
AA
84142014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8415
8416 * gdb.base/info-macros.exp: Remove "debug" from the compile
8417 options.
8418
ec9f644a
IB
84192014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8420
8421 * gdb.dlang/demangle.exp: New file.
8422
94b1b47e
IB
84232014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8424
8425 * gdb.dlang/primitive-types.exp: New file.
8426
7f420862
IB
84272014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8428
8429 * configure.ac: Create gdb.dlang/Makefile.
8430 * configure: Regenerate.
8431 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8432 * gdb.dlang/Makefile.in: New file.
8433 * lib/d-support.exp: New file.
8434 * lib/gdb.exp (skip_d_tests): New proc.
8435
52834460
MM
84362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8437
8438 * gdb.btrace/delta.exp: Check reverse stepi.
8439 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8440 * gdb.btrace/finish.exp: New.
8441 * gdb.btrace/next.exp: New.
8442 * gdb.btrace/nexti.exp: New.
8443 * gdb.btrace/record_goto.c: Add comments.
8444 * gdb.btrace/step.exp: New.
8445 * gdb.btrace/stepi.exp: New.
8446 * gdb.btrace/multi-thread-step.c: New.
8447 * gdb.btrace/multi-thread-step.exp: New.
8448 * gdb.btrace/rn-dl-bind.c: New.
8449 * gdb.btrace/rn-dl-bind.exp: New.
8450 * gdb.btrace/data.c: New.
8451 * gdb.btrace/data.exp: New.
8452 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8453
6e07b1d2
MM
84542014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8455
8456 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8457 * gdb.btrace/exception.exp: Update.
8458 * gdb.btrace/instruction_history.exp: Update.
8459 * gdb.btrace/record_goto.exp: Update.
8460 * gdb.btrace/tailcall.exp: Update.
8461 * gdb.btrace/unknown_functions.exp: Update.
8462 * gdb.btrace/delta.exp: New.
8463
0b722aec
MM
84642014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8465
8466 * gdb.btrace/record_goto.exp: Add backtrace test.
8467 * gdb.btrace/tailcall.exp: Add backtrace test.
8468
066ce621
MM
84692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8470
8471 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8472 * gdb.btrace/record_goto.c: New.
8473 * gdb.btrace/record_goto.exp: New.
8474 * gdb.btrace/x86-record_goto.S: New.
8475
0688d04e
MM
84762014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8477
8478 * gdb.btrace/function_call_history.exp: Update tests.
8479 * gdb.btrace/instruction_history.exp: Update tests.
8480
8710b709
MM
84812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8482
8483 * gdb.btrace/function_call_history.exp: Fix expected field
8484 order for "record function-call-history".
8485 Add new tests for "record function-call-history /c".
8486 * gdb.btrace/exception.cc: New.
8487 * gdb.btrace/exception.exp: New.
8488 * gdb.btrace/tailcall.exp: New.
8489 * gdb.btrace/x86-tailcall.S: New.
8490 * gdb.btrace/x86-tailcall.c: New.
8491 * gdb.btrace/unknown_functions.c: New.
8492 * gdb.btrace/unknown_functions.exp: New.
8493 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8494
5de9129b
MM
84952014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8496
8497 * gdb.btrace/instruction_history.exp: Update.
8498 * gdb.btrace/function_call_history.exp: Update.
8499
23a7fe75
MM
85002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8501
8502 * gdb.btrace/function_call_history.exp: Fix expected function
8503 trace.
8504 * gdb.btrace/instruction_history.exp: Initialize traced.
8505 Remove traced_functions.
8506
724c7dd8
MM
85072014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8508
8509 * gdb.btrace/function_call_history.exp: Update
8510 * gdb.btrace/instruction_history.exp: Update.
8511
6d78d93b
MM
85122014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8513
8514 * gdb.btrace/enable.exp: Update expected text.
8515
93a360cc
OJ
85162014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8517
8518 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8519 bytes.
8520
3772b53f
MR
85212014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8522
8523 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8524
596662fa
OJ
85252014-01-15 Omair Javaid <omair.javaid@linaro.org>
8526
8527 * lib/gdb.exp (supports_process_record): Return true for
8528 arm*-linux*. (supports_reverse): Likewise.
8529
b5b08fb4
SC
85302014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8531
8532 PR python/15464
8533 PR python/16113
8534 * gdb.python/py-type.c: Enhance test case.
8535 * gdb.python/py-value-cc.cc: Likewise
8536 * gdb.python/py-type.exp: Add new tests.
8537 * gdb.python/py-value-cc.exp: Likewise
8538
52d7fb13
AA
85392014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8540 Pedro Alves <palves@redhat.com>
8541
8542 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8543 Make "name" extern.
8544 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8545 references to ${name}_start by references to ${name}.
8546
a2cd8cfe
JB
85472014-01-10 Joel Brobecker <brobecker@adacore.com>
8548
8549 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8550
4e23fced
JB
85512014-01-10 Joel Brobecker <brobecker@adacore.com>
8552
8553 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8554
c6a9e42c
PA
85552014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8556 Pedro Alves <palves@redhat.com>
8557
8558 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 8559 mi_gdb_target_load.
c6a9e42c 8560
b7ea362b
PA
85612014-01-08 Pedro Alves <palves@redhat.com>
8562
8563 * gdb.threads/reconnect-signal.c: New file.
8564 * gdb.threads/reconnect-signal.exp: New file.
8565
5e3f4fab
EBM
85662014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8567
8568 * gdb.base/source-dir.exp: New file.
8569
79301218
JB
85702014-01-07 Joel Brobecker <brobecker@adacore.com>
8571
8572 * gdb.ada/mi_interface: New testcase.
8573
8e355c5d
JB
85742014-01-07 Joel Brobecker <brobecker@adacore.com>
8575
8576 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8577 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8578 gdb.ada/pp-rec-component/pck.ads: New files.
8579
c0d48811
JB
85802014-01-07 Joel Brobecker <brobecker@adacore.com>
8581
8582 * gdb.python/py-pp-integral.c: New file.
8583 * gdb.python/py-pp-integral.py: New file.
8584 * gdb.python/py-pp-integral.exp: New file.
8585
17b609c3 8586For older changes see ChangeLog-1993-2013.
c906108c 8587\f
8d8cb839
EZ
8588;; Local Variables:
8589;; mode: change-log
8590;; left-margin: 8
8591;; fill-column: 74
8592;; version-control: never
8593;; End:
902f2ccb 8594
618f726f 8595 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
8596 Copying and distribution of this file, with or without modification,
8597 are permitted provided the copyright notice and this notice are preserved.