PR gdb/16483 - simplify "info frame-filters" output
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
17621150
TT
12016-06-23 Tom Tromey <tom@tromey.com>
2
3 PR gdb/16483:
4 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
5 before any filters are loaded.
6
04d59df6
WT
72016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
8
9 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
10 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
11 structs.
12 * gdb.fortran/derived-type-function.exp: New file.
13 * gdb.fortran/derived-type-function.f90: New file.
14
15
ac69f786
PA
162016-06-21 Pedro Alves <palves@redhat.com>
17
18 * gdb.base/new-ui.exp: New file.
19 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
20 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
21 (with_spawn_id): New procedure.
22
49940788
PA
232016-06-21 Pedro Alves <palves@redhat.com>
24
25 * gdb.mi/mi-exec-run.exp: New file.
26
ef274d26
PA
272016-06-21 Pedro Alves <palves@redhat.com>
28
29 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
30 breakpoint command's output on the main UI.
31 (test_break): New procedure, factored out from calls in the top
32 level.
33 (top level): Use foreach_with_prefix to test MI as main UI and as
34 separate UI.
35
468afe6c
PA
362016-06-21 Pedro Alves <palves@redhat.com>
37
38 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
39 (test_awatch_creation_and_listing)
40 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
41 Remove 'type' parameter.
42 (test_watchpoint_all): New parameter mi_mode. Remove
43 with_test_prefix.
44 (top level): Use foreach_with_prefix, and add main/separate UI MI
45 testing axis.
46
51f77c37
PA
472016-06-21 Pedro Alves <palves@redhat.com>
48
49 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
50 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
51 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
52 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
53 (gdb_main_spawn_id, mi_spawn_id): Declare and
54 comment.
55 (mi_create_inferior_pty): New procedure,
56 factored out from default_mi_gdb_start.
57 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
58 procedures.
59 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
60 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
61 Use mi_create_inferior_pty.
62 (mi_gdb_start): Use eval to pass down args list.
63
8980e177
PA
642016-06-21 Pedro Alves <palves@redhat.com>
65
66 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
67 * gdb.opt/inline-cmds.exp: Add MI tests.
68
f38d3ad1
PA
692016-06-21 Pedro Alves <palves@redhat.com>
70
71 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
72
45db7c09
PA
732016-06-21 Pedro Alves <palves@redhat.com>
74
75 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
76 (top level): Use it instead of mi_execute_to.
77
5a069ab3
PA
782016-06-21 Pedro Alves <palves@redhat.com>
79
80 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
81 (cont_handler_str): New.
82 (signal_stop_handler): Set stop_handler_str instead of printing to
83 stdout.
84 (continue_handler): Set cont_handler_str instead of printing to
85 stdout.
86 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
87 mi_send_resuming_command. Print stop_handler_str and
88 cont_handler_str instead of expecting the python events print
89 directly.
90
2838cc1d
SD
912016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
92
93 * gdb.base/jit-reader.exp: New file.
94 * gdb.base/jithost.c: New file.
95 * gdb.base/jithost.h: New file.
96 * gdb.base/jitreader.c : New file.
97 * gdb.base/jit-protocol.h: New file.
98
21a77091
YQ
992016-06-17 Yao Qi <yao.qi@linaro.org>
100
101 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
102 parameters follow_fork and detach_on_fork. Set follow-fork-mode
103 and detach-on-fork. Adjust tests.
104 (top level): Invoke break_cond_on_syscall with combinations of
105 syscall, follow-fork-mode and detach-on-fork.
106
f50bf8e5
YQ
1072016-06-17 Yao Qi <yao.qi@linaro.org>
108
109 * gdb.base/step-over-exit.c: New.
110 * gdb.base/step-over-exit.exp: New.
111
a28d8e50
YTL
1122016-06-17 Yan-Ting Lin <currygt52@gmail.com>
113
114 * gdb.base/float.exp: Add target check for nds32*-*-*.
115 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
116
cad8e26d
AB
1172016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
118
119 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
120 for unsupported target features.
121 * gdb.base/call-rt-st.exp: Likewise.
122 * gdb.base/call-sc.exp: Likewise.
123 * gdb.base/call-signal-resume.exp: Likewise.
124 * gdb.base/call-strs.exp: Likewise.
125 * gdb.base/callexit.exp: Likewise.
126 * gdb.base/callfuncs.exp: Likewise.
127 * gdb.base/nodebug.exp: Likewise.
128 * gdb.base/printcmds.exp: Likewise.
129 * gdb.base/ptype.exp: Likewise.
130 * gdb.base/structs.exp: Likewise.
131 * gdb.base/unwindonsignal.exp: Likewise.
132 * gdb.cp/gdb2495.exp: Likewise.
133 * gdb.cp/templates.exp: Likewise.
134 * gdb.cp/virtfunc.exp: Likewise.
135 * gdb.threads/hand-call-in-threads.exp: Likewise.
136 * gdb.threads/interrupted-hand-call.exp: Likewise.
137 * gdb.threads/thread-unwindonsignal.exp: Likewise.
138
347dc102
TT
1392016-06-10 Tom Tromey <tom@tromey.com>
140
141 PR rust/20110:
142 * gdb.rust/expr.exp: Add test for integer constant larger than
143 i32.
144
5e13cf25
BH
1452016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
146
147 * gdb.fortran/nested-funcs.exp: New.
148 * gdb.fortran/nested-funcs.f90: New.
149
bb556f1f
TK
1502016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
151
152 * gdb.base/examine-backward.c: New file.
153 * gdb.base/examine-backward.exp: New file.
154
38b022b4
SM
1552016-06-06 Simon Marchi <simon.marchi@ericsson.com>
156
157 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
158 matching.
159
1b40ec05
TT
1602016-06-02 Tom Tromey <tom@tromey.com>
161
162 PR python/18984:
163 * gdb.python/py-shared.exp: Add solib_name test.
164
193bd378
SM
1652016-06-02 Simon Marchi <simon.marchi@ericsson.com>
166
167 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
168
3326303b
MG
1692016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
170
171 PR c++/19893
172 * gdb.dwarf2/implref.exp: Rename to...
173 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
174 * gdb.dwarf2/implref-array.c: New file.
175 * gdb.dwarf2/implref-array.exp: Likewise.
176 * gdb.dwarf2/implref-global.c: Likewise.
177 * gdb.dwarf2/implref-global.exp: Likewise.
178 * gdb.dwarf2/implref-struct.c: Likewise.
179 * gdb.dwarf2/implref-struct.exp: Likewise.
180
825c8ef2
AT
1812016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
182
183 * gdb.trace/trace-condition.exp: Add 64bit tests.
184
2320162a
AT
1852016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
186
187 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
188 bits types.
189 (main): Adapt to 8 to 64 bits types.
190 * gdb.trace/trace-condition.exp: Add new tests.
191
a7818233
AT
1922016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
193
194 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
195
0d336466
AT
1962016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
197
198 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
199 Move condition tests...
200 * gdb.trace/trace-condition.exp: Here.
201
7faeb45a
AT
2022016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
203
204 * gdb.trace/trace-condition.exp: Add counter-case tests.
205
e385593e
JK
2062016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
207
208 PR c++/15231
209 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
210 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
211
744608cc
PA
2122016-05-27 Pedro Alves <palves@redhat.com>
213
214 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
215 New procedure.
216 (top level): Call it, and bail out of DejaGnu is known to be bad.
217
ac775bf4
AB
2182016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
219
220 * gdb.base/whatis.c: Extend the test case.
221 * gdb.base/whatis.exp: Add additional tests.
222
2bbad2ea
BH
2232016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
224
225* gdb.fortran/type.f90: Add pointer variable.
226* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
227
8b70175d
BH
2282016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
229
230 * gdb.fortran/vla-type.exp: Fix testcase name.
231
86d8a848
BH
2322016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
233
234 * gdb.fortran/vla-type.exp: Access elements in nested structs.
235
e188eb36
BH
2362016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
237
238 * gdb.fortran/type.f90: Add nested structures.
239 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
240 * gdb.fortran/derived-type.exp: Adapt expected output.
241 * gdb.fortran/vla-type.exp: Adapt expected output.
242
9b2db1fd
BH
2432016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
244
245 * gdb.fortran/whatis_type.exp: Adapt expected output.
246
72b17055
BH
2472016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
248
249 * gdb.fortran/print_type.exp: Fix expected output.
250 * gdb.fortran/whatis_type.exp: Fix expected output.
251
3cd81d8d
BH
2522016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
253
254 * gdb.fortran/whatis_type.exp: Use multi_line.
255
ddae9462
TT
2562016-05-24 Tom Tromey <tom@tromey.com>
257
258 PR python/17386:
259 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
260 use value as an index.
261
1957f6b8
TT
2622016-05-23 Tom Tromey <tom@tromey.com>
263
264 PR python/17981:
265 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
266 no-breakpoint case.
267
026a9174
PA
2682016-05-24 Pedro Alves <palves@redhat.com>
269
270 PR gdb/19828
271 * gdb.threads/clone-attach-detach.c: New file.
272 * gdb.threads/clone-attach-detach.exp: New file.
273
e70a7231
FR
2742016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
275
276 * gdb.base/annota-input-while-running.exp: Fix syntax error.
277
0f6ed0e0
TT
2782016-05-23 Tom Tromey <tom@tromey.com>
279
280 PR python/19438, PR python/18393:
281 * gdb.python/py-progspace.exp: Add "dir" test.
282 * gdb.python/py-objfile.exp: Add "dir" test.
283
ffd19d61
YQ
2842016-05-23 Yao Qi <yao.qi@linaro.org>
285
286 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
287 * gdb.arch/thumb2-it.exp: Likewise.
288
9e8f9b05
SM
2892016-05-18 Simon Marchi <simon.marchi@ericsson.com>
290
291 * gdb.mi/mi-threads-interrupt.c: New file.
292 * gdb.mi/mi-threads-interrupt.exp: New file.
293
61c6156d
SM
2942016-05-17 Simon Marchi <simon.marchi@ericsson.com>
295
296 PR gdb/18077
297 * gdb.mi/mi-async-run.exp: New file.
298 * gdb.mi/mi-async-run.c: New file.
299
67218854
TT
3002016-05-17 Tom Tromey <tom@tromey.com>
301 Manish Goregaokar <manishsmail@gmail.com>
302
303 * lib/rust-support.exp: New file.
304 * lib/gdb.exp (skip_rust_tests): New proc.
305 (build_executable_from_specs): Handle rust.
306 * lib/future.exp (gdb_find_rustc): New proc.
307 (gdb_default_target_compile): Handle rust.
308 * gdb.rust/expr.exp: New file.
309 * gdb.rust/generics.exp: New file.
310 * gdb.rust/generics.rs: New file.
311 * gdb.rust/methods.exp: New file.
312 * gdb.rust/methods.rs: New file.
313 * gdb.rust/modules.exp: New file.
314 * gdb.rust/modules.rs: New file.
315 * gdb.rust/simple.exp: New file.
316 * gdb.rust/simple.rs: New file.
317
c44af4eb
TT
3182016-05-17 Tom Tromey <tom@tromey.com>
319
320 * gdb.base/default.exp (set language): Add rust.
321
dcd1f979
TT
3222016-05-17 Tom Tromey <tom@tromey.com>
323
324 * gdb.gdb/unittest.exp: New file.
325
155b7f57
YQ
3262016-05-16 Yao Qi <yao.qi@linaro.org>
327
328 * gdb.base/batch-preserve-term-settings.exp: Remove variable
329 shell_prompt. Update shell_prompt_re.
330
8ddd5a6c
DE
3312016-05-12 Doug Evans <dje@google.com>
332
333 PR symtab/19999
334 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
335 $options when building executable.
336 * gdb.dwarf2/fission-loclists-pie.S: New file.
337 * gdb.dwarf2/fission-loclists-pie.exp: New file.
338
02e370d9
SM
3392016-05-04 Simon Marchi <simon.marchi@ericsson.com>
340
341 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
342 of [is_remote target],
343
8929ad8b
SM
3442016-05-04 Simon Marchi <simon.marchi@ericsson.com>
345
346 * lib/gdb.exp (use_gdb_stub): New procedure.
347
6c447423
DE
3482016-05-03 Yunlian Jiang <yunlian@google.com>
349 Doug Evans <dje@google.com>
350
351 PR symtab/19914
352 * gdb.dwarf2/dwp-sepdebug.c: New file.
353 * gdb.dwarf2/dwp-sepdebug.exp: New file.
354
444e826c
SM
3552016-05-02 Simon Marchi <simon.marchi@ericsson.com>
356
357 * gdb.base/detach.exp: Remove is_remote check.
358
740feeaa
SM
3592016-05-02 Simon Marchi <simon.marchi@ericsson.com>
360
361 * gdb.base/annota-input-while-running.exp: Don't check for
362 [is_remote target]. Enable annotations after running to main.
363 Remove unused "set test..." line.
364
9080ac9d
SM
3652016-04-28 Simon Marchi <simon.marchi@ericsson.com>
366
367 * gdb.trace/trace-enable-disable.exp: New file.
368 * gdb.trace/trace-enable-disable.c: New file.
369
952ebca5
SM
3702016-04-28 Simon Marchi <simon.marchi@ericsson.com>
371
372 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
373 use it in info sharedlibrary test.
374 * gdb.trace/ftrace-lock.exp: Likewise.
375 * gdb.trace/ftrace.exp: Likewise.
376 * gdb.trace/range-stepping.exp: Likewise.
377 * gdb.trace/trace-break.exp: Likewise.
378 * gdb.trace/trace-condition.exp: Likewise.
379 * gdb.trace/trace-mt.exp: Likewise.
380
d9019901
SM
3812016-04-27 Simon Marchi <simon.marchi@ericsson.com>
382
383 * lib/gdb.exp (gdb_load_shlibs): Rename to...
384 (gdb_load_shlib): ... this.
385 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
386 gdb_load_shlib.
387 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
388 * gdb.base/ctxobj.exp: Likewise.
389 * gdb.base/dprintf-pending.exp: Likewise.
390 * gdb.base/dso2dso.exp: Likewise.
391 * gdb.base/fixsection.exp: Likewise.
392 * gdb.base/gcore-relro.exp: Likewise.
393 * gdb.base/gdb1555.exp: Likewise.
394 * gdb.base/global-var-nested-by-dso.exp: Likewise.
395 * gdb.base/gnu-ifunc.exp: Likewise.
396 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
397 * gdb.base/jit-so.exp (one_jit_test): Likewise.
398 * gdb.base/pending.exp: Likewise.
399 * gdb.base/print-file-var.exp: Likewise.
400 * gdb.base/print-symbol-loading.exp: Likewise.
401 * gdb.base/shlib-call.exp: Likewise.
402 * gdb.base/shreloc.exp: Likewise.
403 * gdb.base/so-impl-ld.exp: Likewise.
404 * gdb.base/solib-disc.exp: Likewise.
405 * gdb.base/solib-nodir.exp: Likewise.
406 * gdb.base/solib-overlap.exp: Likewise.
407 * gdb.base/solib-symbol.exp: Likewise.
408 * gdb.base/solib-weak.exp (do_test): Likewise.
409 * gdb.base/sym-file.exp: Likewise.
410 * gdb.base/symtab-search-order.exp: Likewise.
411 * gdb.base/type-opaque.exp: Likewise.
412 * gdb.base/unload.exp: Likewise.
413 * gdb.base/watchpoint-solib.exp: Likewise.
414 * gdb.compile/compile.exp: Likewise.
415 * gdb.cp/gdb2384.exp: Likewise.
416 * gdb.cp/infcall-dlopen.exp: Likewise.
417 * gdb.cp/re-set-overloaded.exp: Likewise.
418 * gdb.fortran/library-module.exp: Likewise.
419 * gdb.opt/solib-intra-step.exp: Likewise.
420 * gdb.python/py-finish-breakpoint.exp: Likewise.
421 * gdb.python/py-shared.exp: Likewise.
422 * gdb.reverse/solib-precsave.exp: Likewise.
423 * gdb.reverse/solib-reverse.exp: Likewise.
424 * gdb.server/solib-list.exp: Likewise.
425 * gdb.threads/dlopen-libpthread.exp: Likewise.
426 * gdb.threads/tls-shared.exp: Likewise.
427 * gdb.threads/tls-so_extern.exp: Likewise.
428 * gdb.trace/change-loc.exp: Likewise.
429 * gdb.trace/ftrace-lock.exp: Likewise.
430 * gdb.trace/ftrace.exp: Likewise.
431 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
432 * gdb.trace/pending.exp: Likewise.
433 * gdb.trace/range-stepping.exp: Likewise.
434 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
435 (strace_info_marker): Likewise.
436 (strace_probe_marker): Likewise.
437 (strace_trace_on_same_addr): Likewise.
438 (strace_trace_on_diff_addr): Likewise.
439 * gdb.trace/trace-break.exp: Likewise.
440 * gdb.trace/trace-condition.exp: Likewise.
441 * gdb.trace/trace-mt.exp: Likewise.
442
fca4cfd9
SM
4432016-04-27 Simon Marchi <simon.marchi@ericsson.com>
444
445 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
446 result of gdb_remote_download.
447 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
448 * gdb.base/dso2dso.exp: Likewise.
449 * gdb.base/global-var-nested-by-dso.exp: Likewise.
450 * gdb.base/print-file-var.exp: Likewise.
451 * gdb.base/shlib-call.exp: Likewise.
452 * gdb.base/shreloc.exp: Likewise.
453 * gdb.base/solib-overlap.exp: Likewise.
454 * gdb.base/solib-weak.exp (do_test): Likewise.
455 * gdb.base/unload.exp: Likewise.
456
11cf4ffb
YQ
4572016-04-27 Yao Qi <yao.qi@linaro.org>
458
459 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
460 exists.
461
3e2e34f8
KB
4622016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
463
464 * vla-type.exp: Print structure from toplevel.
465
8f07e298
BH
4662016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
467
468 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
469 of dynamic types.
470 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
471 of dynamic types.
472
9920b434
BH
4732016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
474
475 * gdb.fortran/vla-type.f90: New file.
476 * gdb.fortran/vla-type.exp: New file.
477
f3abeff5
YQ
4782016-04-25 Yao Qi <yao.qi@linaro.org>
479
480 * gdb.base/branch-to-self.c: New file.
481 * gdb.base/branch-to-self.exp: New file.
482
0a5d52f0
YQ
4832016-04-22 Yao Qi <yao.qi@linaro.org>
484
485 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
486 more after $hex.
487
495346f6
YQ
4882016-04-22 Yao Qi <yao.qi@linaro.org>
489
490 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
491 * gdb.base/annota3.exp: Likewise.
492
4a7e075c
YQ
4932016-04-22 Yao Qi <yao.qi@linaro.org>
494
495 * gdb.reverse/step-precsave.exp: Do one step and test program
496 stops in "callee" and do multiple steps until program goes out
497 of "callee".
498 * gdb.reverse/step-reverse.exp: Likewise.
499
5b061e98
YQ
5002016-04-22 Yao Qi <yao.qi@linaro.org>
501
502 * gdb.trace/signal.exp: Also pass if
503 $tracepoint_hits($i) > $iterations.
504
5c5dc57f
YQ
5052016-04-22 Yao Qi <yao.qi@linaro.org>
506
507 * gdb.trace/signal.c: New file.
508 * gdb.trace/signal.exp: New file.
509
a55411b9
DE
5102016-04-19 Doug Evans <xdje42@gmail.com>
511
512 * gdb.base/bad-file.exp: New file.
513
a22df60a
MG
5142016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
515
516 * gdb.dwarf2/implref.exp: New file.
517
0c13f7e5
BH
5182016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
519
520 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
521 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
522 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
523 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
524 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
525 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
526 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
527 * lib/fortran.exp (fortran_int4): New procedure.
528 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
529 (fortran_logical4): Likewise.
530
9b9b09e9
BH
5312016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
532
533 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
534
a14d1f4d
BH
5352016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
536
537 * lib/compiler.c: Add Intel specific preprocessor macros.
538 * lib/compiler.cc: Likewise.
539
7d49b1d0
LM
5402016-04-13 Luis Machado <lgustavo@codesourcery.com>
541
542 * gdb.server/connect-with-no-symbol-file.c: New file.
543 * gdb.server/connect-with-no-symbol-file.exp: New file.
544
8392fa22
SM
5452016-04-13 Simon Marchi <simon.marchi@ericsson.com>
546
547 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
548
8c4c4aeb
SM
5492016-04-13 Simon Marchi <simon.marchi@ericsson.com>
550
551 * boards/gdbserver-base.exp (${board}_download): Copy source file to
552 standard output directory.
553
45e3745e
AT
5542016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
555
556 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
557
e26b7e41
MM
5582016-04-13 Markus Metzger <markus.t.metzger@intel.com>
559
560 * gdb.btrace/instruction_history.c (loop): Add declaration.
561
8ce09462
AT
5622016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
563
564 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
565
2e88a1ea
SM
5662016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
567
568 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
569 parentheses to print.
570 (continue_handler): Likewise.
571
f48e22e3
SM
5722016-04-08 Simon Marchi <simon.marchi@ericsson.com>
573
574 * gdb.server/solib-list.exp: Remove is_remote check.
575 Pass shlib= to gdb_compile. Don't link shared library with
576 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
577 Run binary filename through "readlink -f" on the target.
578
096be756
PA
5792016-04-08 Pedro Alves <palves@redhat.com>
580
581 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
582 interpreter filename as argument to gdbserver_spawn.
583 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
584 Return empty if $last_loaded_file does not exist.
585
06500533
JK
5862016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
587
588 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
589 * gdb.base/jit-main.c: Use exit after usage.
590
2d35e871
JK
5912016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
592
593 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
594 GDBHISTSIZE prior to the tests.
595 * gdb.base/gdbinit-history.exp: Likewise.
596
5972016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
598
599 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
600 instead of build_executable. Use gdb_load_shlibs.
601
c8064e7e
YQ
6022016-04-07 Yao Qi <yao.qi@linaro.org>
603
604 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
605 Execute "si" command.
606
bde47561
YQ
6072016-04-07 Yao Qi <yao.qi@linaro.org>
608
609 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
610 number instead of the comments on some line.
611
b16f8a3b
DB
6122016-04-06 Don Breazeal <donb@codesourcery.com>
613
614 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
615 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
616
c2f901df
SM
6172016-04-06 Simon Marchi <simon.marchi@ericsson.com>
618
619 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
620 standard_output_file. Remove unused binfile variable.
621
ac17fda0
CU
6222016-04-05 Catalin Udma <catalin.udma@freescale.com>
623
624 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
625 * gdb.python/py-mi-objfile.exp: Match "list main" output
626 in console format.
627
03a8c4df
SM
6282016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
629
630 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
631 absolute.
632
6e774b13
SM
6332016-04-05 Simon Marchi <simon.marchi@ericsson.com>
634
635 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
636 absolute.
637 * gdb.trace/ftrace.exp: Likewise.
638 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
639 targets as well.
640 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
641 (gdb_load_shlibs): Copy libraries to test directory when testing
642 natively. Only set solib-search-path if testing remotely.
643 * lib/mi-support.exp (mi_load_shlibs): Likewise.
644
7817ea46
SM
6452016-04-05 Simon Marchi <simon.marchi@ericsson.com>
646
647 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
648 gdb_download. Use it even if the target is not remote.
649 * gdb.base/jit.exp (compile_jit_test): Likewise.
650 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
651 output directory if the destination board is local, otherwise use
652 the standard remote_download from DejaGnu.
653 (gdb_download): Remove.
654 (gdb_load_shlibs): Use gdb_remote_download instead of
655 gdb_download.
656 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
657 Use gdb_remote_download instead of gdb_download. Use it even if
658 the target is not remote.
659 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
660 instead of gdb_download.
661
7beb7f68
SM
6622016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
663
664 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
665 (test_insert_delete_modify): Call mi_load_shlibs before trying to
666 run.
667
cc63428a
AV
6682016-04-01 Artemiy Volkov <artemiyv@acm.org>
669
670 PR gdb/19820
671 * gdb.base/printcmds.exp: Add artificial arrays tests.
672
64cdf930
PA
6732016-03-31 Pedro Alves <palves@redhat.com>
674
675 PR gdb/19858
676 * gdb.base/jit-main.c: Include unistd.h.
677 (ATTACH): Define to 0 if not already defined.
678 (wait_for_gdb, mypid): New globals.
679 (WAIT_FOR_GDB): New macro.
680 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
681 some breakpoint locations.
682 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
683 New procedures.
684 (one_jit_test): Add REATTACH parameter, and handle it. Use
685 continue_to_test_location.
686 (top level): Test attach, and adjusts calls to one_jit_test.
687
40dea8cb
PA
6882016-03-31 Pedro Alves <palves@redhat.com>
689
690 PR gdb/19858
691 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
692 BINSUFFIX parameter, and handle it.
693 (top level): Adjust calls compile_jit_test.
694
e7ea3ec7
CU
6952016-03-31 Catalin Udma <catalin.udma@freescale.com>
696
697 PR python/19743
698 * gdb.python/py-mi-events-gdb.py: New file.
699 * gdb.python/py-mi-events.c: New file.
700 * gdb.python/py-mi-events.exp: New file.
701
e6359af3
YQ
7022016-03-30 Yao Qi <yao.qi@linaro.org>
703
704 * gdb.reverse/until-precsave.exp: Match function name only.
705 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
706 Move malloc to a condition block.
707 * gdb.reverse/until-reverse.exp: Match function name only.
708
a4105d04
MK
7092016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
710
711 * gdb.trace/ftrace.exp: Set arg0exp for s390.
712 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
713 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
714 variable for GPR 0 instead of assuming it is register 0.
715 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
716 * lib/trace-support.exp: Add s390 registers.
717
bfa6adb9
YQ
7182016-03-29 Yao Qi <yao.qi@linaro.org>
719
720 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
721
1e6697ea
YQ
7222016-03-24 Yao Qi <yao.qi@linaro.org>
723
724 * gdb.reverse/break-reverse.exp: Add quotation mark in the
725 test message.
726
64bcd522
AA
7272016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
728
729 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
730 maintaining separate logic for constructing the output path.
731
7868401b
DB
7322016-03-16 Don Breazeal <donb@codesourcery.com>
733
734 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
735 Retry fork and waitpid on interrupted system call errors.
736 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
737 Use with_timeout_factor to increase timeout by factor of 10.
738
1cafadb4
DB
7392016-03-15 Don Breazeal <donb@codesourcery.com>
740
741 * gdb.cp/scope-err.cc: New test program.
742 * gdb.cp/scope-err.exp: New test script.
743 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
744 lines and "set breakpoint here" comment.
745 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
746 Fixed some whitespace and format issues.
747 * gdb.mi/mi-linespec-err-cp.cc: New test program.
748 * gdb.mi/mi-linespec-err-cp.exp: New test script.
749
81516450
DE
7502016-03-15 Doug Evans <dje@google.com>
751
752 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
753 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
754 All callers updated. Add tests for enums, mixed flags register.
755
aa52b601
DE
7562016-03-15 Doug Evans <dje@google.com>
757
758 * gdb.base/skip.c (main): Call test_skip_file_and_function.
759 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
760
fa4ff313
SM
7612016-03-14 Simon Marchi <simon.marchi@ericsson.com>
762
763 * gdb.base/default.exp: Add $_as_string to the list of expected
764 convenience functions.
765
f2403c39
AB
7662016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
767
768 * gdb.base/maint.exp: New tests for 'maint info line-table'.
769
f2f3ccb9
SM
7702016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
771
772 * gdb.python/py-as-string.exp: New file.
773 * gdb.python/py-as-string.c: New file.
774
00dbd492
PA
7752016-03-09 Pedro Alves <palves@redhat.com>
776
777 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
778 signal" -> "Thread NN received signal" output change.
779 * gdb.threads/ia64-sigill.exp: Likewise.
780 * gdb.threads/linux-dp.exp: Likewise.
781 * gdb.threads/manythreads.exp: Likewise.
782 * gdb.threads/pending-step.exp: Likewise.
783 * gdb.threads/print-threads.exp: Likewise.
784 * gdb.threads/sigstep-threads.exp: Likewise.
785 * gdb.threads/staticthreads.exp: Likewise.
786 * gdb.threads/tls.exp: Likewise.
787
1e6697ea
YQ
7882016-03-09 Pedro Alves <palves@redhat.com>
789
790 * gdb.base/command-line-input.exp: New file.
791
b04fd3be
MK
7922016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
793
794 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
795 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
796 * gdb.trace/pending.exp: Accept leading dot before function name.
797 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
798 * lib/trace-support.exp: Set registers for ppc.
799
98fa59e9
MK
8002016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
801
802 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
803 use it for disassembly; accept .main in addition to main in backtrace.
804
f77198c8
MK
8052016-03-09 Wei-cheng Wang <cole945@gmail.com>
806 Marcin Kościelnicki <koriakin@0x04.net>
807
808 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
809 (gdb_recursion_test_ptr): New global variable.
810 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
811 gdb_recursion_test.
812 (gdb_c_test): Ditto.
813
ba84e0da
MK
8142016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
815
816 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
817 ordering.
818
4366d36e
MK
8192016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
820
821 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
822 (bar): Add bar_start_lbl label.
823 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
824 of foo/bar for emitting DWARF and tracing.
825
5eb264df
SDJ
8262016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
827
828 * analyze-racy-logs.py: Set executable bit.
829
fb6a751f
SDJ
8302016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
831
832 * Makefile.in (DEFAULT_RACY_ITER): New variable.
833 (CHECK_TARGET_TMP): Likewise.
834 (check-single-racy): New rule.
835 (check-parallel-racy): Likewise.
836 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
837 (do-check-parallel-racy): New rule.
838 (check-racy/%.exp): Likewise.
839 * README (Racy testcases): New section.
840 * analyze-racy-logs.py: New file.
841
bdf7e230
DE
8422016-03-03 Doug Evans <dje@google.com>
843
844 * gdb.base/skip.exp: Use with_test_prefix.
845
4719d415
YQ
8462016-03-03 Yao Qi <yao.qi@linaro.org>
847
848 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
849 Invoke step_over_syscall "clone" and break_cond_on_syscall
850 "clone".
851 * gdb.base/step-over-clone.c: New file.
852
ea507862
YQ
8532016-03-03 Yao Qi <yao.qi@linaro.org>
854
855 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
856 code format.
857
8fc8cbda
YQ
8582016-03-03 Yao Qi <yao.qi@linaro.org>
859
860 * gdb.base/disp-step-fork.c: Rename to ...
861 * gdb.base/step-over-fork.c: ... it. New file.
862 * gdb.base/disp-step-vfork.c: Rename to ...
863 * gdb.base/step-over-vfork.c: ... it. New file.
864 * gdb.base/disp-step-syscall.exp: Rename to ...
865 * gdb.base/step-over-syscall.exp: ... it. New file.
866 (disp_step_cross_syscall): Rename to ...
867 (step_over_syscall): ... it.
868
92fa70b0
YQ
8692016-03-03 Yao Qi <yao.qi@linaro.org>
870
871 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
872 If target supports condition evaluation on target, invoke
873 break_cond_on_syscall for fork and vfork.
874
e197ad3c
YQ
8752016-03-03 Yao Qi <yao.qi@linaro.org>
876
877 * gdb.base/disp-step-syscall.exp: Don't invoke
878 support_displaced_stepping.
879 (disp_step_cross_syscall): Test with displaced stepping off and
880 on if supported.
881
0b47da9f
YQ
8822016-03-03 Yao Qi <yao.qi@linaro.org>
883
884 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
885 proc.
886 (setup): New proc.
887 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
888 and setup.
889
065ab6dc
BH
8902016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
891
892 * gdb.fortran/vla-history.exp: Remove breakpoint.
893
07e448ad 8942016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
895
896 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
897
9ac2d526 8982016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
899
900 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
901
17807369
BH
9022016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
903
904 * gdb.mi/vla.f90: Nullify pointer after declaration.
905
86e501af
PA
9062016-03-01 Pedro Alves <palves@redhat.com>
907
908 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
909
1e903e32
PA
9102016-03-01 Pedro Alves <palves@redhat.com>
911
912 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
913 before anything else.
914 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
915 _GNU_SOURCE here.
916 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
917 before anything else.
918 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
919
6ccb54e2
PA
9202016-03-01 Pedro Alves <palves@redhat.com>
921
922 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
923
30ca9da1
YQ
9242016-03-01 Yao Qi <yao.qi@linaro.org>
925
926 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
927 prepare_for_testing.
928
dc856b38
YQ
9292016-03-01 Yao Qi <yao.qi@linaro.org>
930
931 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
932
4a932159
AA
9332016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
934
935 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
936 manually constructing the output path.
937
f2489477
AA
9382016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
939
940 * gdb.arch/s390-stackless.S: New.
941 * gdb.arch/s390-stackless.exp: New.
942
38899f16
IB
9432016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
944
945 * gdb.dlang/circular.c: New file.
946 * gdb.dlang/circular.exp: New file.
947
9fde51ed
YQ
9482016-02-26 Yao Qi <yao.qi@linaro.org>
949
950 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
951 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
952 (testcases): Update.
953
ce90fefe
YQ
9542016-02-26 Yao Qi <yao.qi@linaro.org>
955
956 * gdb.reverse/aarch64.c: Rename to ...
957 * gdb.reverse/insn-reverse.c: ... it.
958 * gdb.reverse/aarch64.exp: Rename to ...
959 * gdb.reverse/insn-reverse.exp: ... it.
960
3263bceb
YQ
9612016-02-26 Yao Qi <yao.qi@linaro.org>
962
963 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
964 (testcase_ftype): New.
965 (testcases): New array.
966 (n_testcases): New.
967 (main): Call each element in testcases.
968 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
969 (read_testcase): New.
970 Do the tests in a loop.
971
6cb59ff1
YQ
9722016-02-25 Yao Qi <yao.qi@linaro.org>
973
974 * gdb.base/branches.c: Remove.
975
ae91f625
MK
9762016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
977
978 PR gdb/13808
979 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
980
678b48b7
MK
9812016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
982
983 * gdb.trace/ftrace.exp: Remove unnecessary target check.
984
7337a6f2
MK
9852016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
986
987 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
988 change x86_64 call_insn to 'callq'.
989
861ca91f
AT
9902016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
991
992 * gdb.trace/tfile-avx.c: Move to...
993 * gdb.trace/tracefile-pseudo-reg.c: Here.
994 * gdb.trace/tfile-avx.exp: Move to...
995 * gdb.trace/tracefile-pseudo-reg.exp: Here.
996
bf74e428
GB
9972016-02-24 Gary Benson <gbenson@redhat.com>
998
999 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1000 message on attach.
1001
cce0e923
DE
10022016-02-23 Doug Evans <dje@google.com>
1003
1004 * gdb.base/skip.c (test_skip): New function.
1005 (end_test_skip_file_and_function): New function.
1006 (test_skip_file_and_function): New function.
1007 * gdb.base/skip1.c (test_skip): New function.
1008 (skip1_test_skip_file_and_function): New function.
1009 * gdb.base/skip.exp: Add tests for new skip options.
1010 * gdb.base/skip-solib.exp: Update expected output.
1011 * gdb.perf/skip-command.cc: New file.
1012 * gdb.perf/skip-command.exp: New file.
1013 * gdb.perf/skip-command.py: New file.
1014
4000e47e
MK
10152016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1016
1017 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1018 info registers pattern.
1019
24f75ead
IB
10202016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1021
1022 * lib/future.exp: Add D support.
1023 (gdb_find_gdc): New proc.
1024 (gdb_default_target_compile): Add D support.
1025
fbb7bcbe
WW
10262016-02-18 Wei-cheng Wang <cole945@gmail.com>
1027
1028 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1029 user+system time.
1030 (trace_speed_test): Determine the iteration count for a time
1031 between 15..30 seconds.
1032
012b3a21
WT
10332016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1034
1035 * gdb.arch/i386-mpx-sigsegv.c: New file.
1036 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1037 * gdb.arch/i386-mpx-simple_segv.c: New file.
1038 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1039
2d5189bd
YQ
10402016-02-18 Yao Qi <yao.qi@linaro.org>
1041
1042 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1043 Don't call setup_kfail.
1044
40fb20d0
YQ
10452016-02-18 Yao Qi <yao.qi@linaro.org>
1046
1047 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1048 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1049
21b1f8d2
DE
10502016-02-16 Doug Evans <dje@google.com>
1051
1052 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1053 * gdb.base/skip1.c: Ditto.
1054 * gdb.base/skip.exp: Whitespace cleanup.
1055
4041ed77
DB
10562016-02-16 Don Breazeal <donb@codesourcery.com>
1057
1058 PR remote/19496
1059 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1060 Remove kfail for PR remote/19496.
1061
c4ef31bf
SM
10622016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1063
1064 * lib/gdb.exp (standard_temp_file): Return a path specific to
1065 the runtest invocation.
1066
266b65b3
SM
10672016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1068
1069 * gdb.trace/save-trace.exp: Change relative path to be in the
1070 standard output directory.
1071
a7a0a6a9
JK
10722016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1073
1074 * gdb.arch/i386-prologue.c: Add missing prototypes.
1075
c99dbb42
JK
10762016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1077
1078 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1079 * gdb.arch/i386-prologue.exp: Likewise.
1080 * gdb.arch/i386-size.exp: Likewise.
1081
aa480355
SM
10822016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1083
1084 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1085 define object file path.
1086 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1087 file path.
1088 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1089 standard_output_file to define binfile.
1090
ba881f50
JK
10912016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1092
1093 Fix compatibility with recent gfortran-5.3.1.
1094 * gdb.fortran/vla-history.exp (print vla1 allocated)
1095 (print vla2 allocated, print $2, print $3): Remove
1096 (print $4): Rename to ...
1097 (print $2): ... here.
1098 (print $9): Rename to ...
1099 (print $5): ... here.
1100 (print $10): Rename to ...
1101 (print $6): ... here.
1102 * gdb.fortran/vla.f90: Add pvla initialization.
1103
e9fb005c
JK
11042016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1105
1106 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1107 New test.
1108 * gdb.fortran/vla-value-sub.exp: Likewise.
1109
e44e00ff
MK
11102016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1111
1112 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1113
97e94151
SM
11142016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1115
1116 * i386-biarch-core.exp: Define corefile using
1117 standard_output_file.
1118
01113bc1
YQ
11192016-02-12 Yao Qi <yao.qi@linaro.org>
1120
1121 * gdb.arch/arm-single-step-kernel-helper.c: New.
1122 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1123
33b4777c
MM
11242016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1125
1126 * gdb.btrace/tailcall-only.exp: New.
1127 * gdb.btrace/tailcall-only.c: New.
1128 * gdb.btrace/x86_64-tailcall-only.S: New.
1129 * gdb.btrace/i686-tailcall-only.S: New.
1130
acc23c11
PA
11312016-02-11 Pedro Alves <palves@redhat.com>
1132
1133 * README (Parallel testing): Add missing double quotes.
1134
e352bf0a
PA
11352016-02-11 Pedro Alves <palves@redhat.com>
1136
1137 * README (Parallel testing): New section.
1138 (GDB_PARALLEL): Rewrite.
1139 (FORCE_PARALLEL): Document.
1140
9f5fed78
MK
11412016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1142
1143 * gdb.trace/tfile-avx.c: New test.
1144 * gdb.trace/tfile-avx.exp: New test.
1145
9ef9e6a6
KS
11462016-02-09 Keith Seitz <keiths@redhat.com>
1147
1148 PR breakpoints/19546
1149 * gdb.base/infcall-exec.c: New file.
1150 * gdb.base/infcall-exec2.c: New file.
1151 * gdb.base/infcall-exec.exp: New file.
1152
a96e36da
KS
11532016-02-09 Keith Seitz <keiths@redhat.com>
1154
1155 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1156 (toplevel): Call test_bkpt_address.
1157
9f61929f
KS
11582016-02-09 Keith Seitz <keiths@redhat.com>
1159
1160 PR python/19506
1161 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1162 (toplevel): Call test_bkpt_address.
1163
1e94266c
SM
11642016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1165
1166 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1167 to AC_OUTPUT.
1168 * configure: Regenerate.
1169
2a7f3dff
PA
11702016-02-09 Pedro Alves <palves@redhat.com>
1171
1172 PR breakpoints/19548
1173 * gdb.base/execl-update-breakpoints.c (some_function): New
1174 function.
1175 (main): Call it.
1176 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1177 Tighten expected GDB output.
1178
2151ccc5
SM
11792016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1180
1181 * Makefile.in (ALL_SUBDIRS): Remove.
1182 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1183 (distclean maintainer-clean realclean): Likewise.
1184 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1185 * configure: Regenerate.
1186 * gdb.ada/Makefile.in: Delete.
1187 * gdb.arch/Makefile.in: Likewise.
1188 * gdb.asm/Makefile.in: Likewise.
1189 * gdb.base/Makefile.in: Likewise.
1190 * gdb.btrace/Makefile.in: Likewise.
1191 * gdb.cell/Makefile.in: Likewise.
1192 * gdb.compile/Makefile.in: Likewise.
1193 * gdb.cp/Makefile.in: Likewise.
1194 * gdb.disasm/Makefile.in: Likewise.
1195 * gdb.dlang/Makefile.in: Likewise.
1196 * gdb.dwarf2/Makefile.in: Likewise.
1197 * gdb.fortran/Makefile.in: Likewise.
1198 * gdb.gdb/Makefile.in: Likewise.
1199 * gdb.go/Makefile.in: Likewise.
1200 * gdb.guile/Makefile.in: Likewise.
1201 * gdb.java/Makefile.in: Likewise.
1202 * gdb.linespec/Makefile.in: Likewise.
1203 * gdb.mi/Makefile.in: Likewise.
1204 * gdb.modula2/Makefile.in: Likewise.
1205 * gdb.multi/Makefile.in: Likewise.
1206 * gdb.objc/Makefile.in: Likewise.
1207 * gdb.opencl/Makefile.in: Likewise.
1208 * gdb.opt/Makefile.in: Likewise.
1209 * gdb.pascal/Makefile.in: Likewise.
1210 * gdb.perf/Makefile.in: Likewise.
1211 * gdb.python/Makefile.in: Likewise.
1212 * gdb.reverse/Makefile.in: Likewise.
1213 * gdb.server/Makefile.in: Likewise.
1214 * gdb.stabs/Makefile.in: Likewise.
1215 * gdb.threads/Makefile.in: Likewise.
1216 * gdb.trace/Makefile.in: Likewise.
1217 * gdb.xml/Makefile.in: Likewise.
1218 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1219 GDB_PARALLEL.
1220 (standard_output_file): Remove check for GDB_PARALLEL, always
1221 return path in outputs/$subdir/$testname.
1222
437277d4
SM
12232016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1224
1225 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1226 (site.exp): Assign abs_srcdir to tcl's srcdir.
1227
31d913c7
YQ
12282016-02-04 Yao Qi <yao.qi@linaro.org>
1229
1230 * gdb.base/foll-exec-mode.c: Include limits.h.
1231 (main): Add parameters argc and argv. Get directory from
1232 argv[0].
1233 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1234 compilation.
1235 * gdb.base/foll-exec.c: Include limits.h.
1236 (main): Add parameters argc and argv.
1237 Get directory from argv[0].
1238 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1239 Adjust tests on the number of lines as source code changed.
1240 * gdb.base/foll-vfork-exit.c: Include limits.h.
1241 (main): Add one line of statement before vfork.
1242 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1243 (main): Add parameters argc and argv. Get directory from
1244 argv[0].
1245 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1246 (setup_gdb): Set tbreak to skip some source lines.
1247 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1248 (main): Add parameters argc and argv. Get directory from
1249 argv[0].
1250 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1251 compilation.
1252 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1253 (main): Add parameters argc and argv. Get directory from
1254 argv[0].
1255 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1256 compilation.
1257
9482b9fb
DE
12582016-02-01 Doug Evans <dje@google.com>
1259
1260 * gdb.base/skip.exp: Clean up multiple references to same test name.
1261
6b2e4f10
PA
12622016-02-01 Pedro Alves <palves@redhat.com>
1263
ccb6afd6 1264 PR remote/19496
6b2e4f10
PA
1265 * gdb.threads/forking-threads-plus-breakpoint.exp
1266 (displaced_stepping_supported): New global.
1267 (probe_displaced_stepping_support): New procedure.
1268 (do_test): Add 'displaced' parameter, and use it.
1269 (top level): Check for displaced stepping support. Add displaced
1270 stepping on/off testing axis.
1271
37a8db1a
AB
12722016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1273
1274 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1275 pointer. Don't perform further tests on the unassociated pointer
1276 if the first test fails.
1277
5fdf6324
AB
12782016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1279
1280 * gdb.base/max-value-size.c: New file.
1281 * gdb.base/max-value-size.exp: New file.
1282 * gdb.base/huge.exp: Disable max-value-size for this test.
1283
935c6144
IB
12842016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1285
1286 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1287
7fe8399d
YQ
12882016-01-28 Yao Qi <yao.qi@linaro.org>
1289
1290 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1291
a2077e25
PA
12922016-01-25 Pedro Alves <palves@redhat.com>
1293
1294 PR threads/19461
1295 * gdb.base/fork-running-state.c: New file.
1296 * gdb.base/fork-running-state.exp: New file.
1297
1d2736d4
PA
12982016-01-25 Pedro Alves <palves@redhat.com>
1299
1300 PR gdb/19494
1301 * gdb.base/catch-fork-kill.c: New file.
1302 * gdb.base/catch-fork-kill.exp: New file.
1303
f1da4b11
PA
13042016-01-25 Pedro Alves <palves@redhat.com>
1305
1306 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1307 Delete, moved to lib/gdb.exp.
1308 * gdb.threads/forking-threads-plus-breakpoint.exp
1309 (foreach_with_prefix): Likewise.
1310 * gdb.threads/process-dies-while-handling-bp.exp
1311 (foreach_with_prefix): Likewise.
1312 * lib/gdb.exp (foreach_with_prefix): New procedure.
1313
45f38546
MK
13142016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1315
1316 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1317 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1318
dc29a1ce
MK
13192016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1320
1321 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1322 endian targets.
1323
092127d7
JK
13242016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1325 Pedro Alves <palves@redhat.com>
1326
1327 Fix testsuite compatibility with Guile.
1328 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1329 number.
1330
31d765d3
JK
13312016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1332
1333 Fix testsuite compatibility with Guile.
1334 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1335 (thread 1): New test for backtrace through signal handler.
1336
1ac78c04
YQ
13372016-01-22 Yao Qi <yao.qi@linaro.org>
1338
1339 PR testsuite/19491
1340 * gdb.base/multi-forks.c: Include
1341 ../lib/unbuffer_output.c
1342 (main): Call gdb_unbuffer_output.
1343
4f5946a8
DE
13442016-01-21 Doug Evans <dje@google.com>
1345
1346 * lib/ada.exp (gdb_compile_ada): Fix typo.
1347
305e13e6
JB
13482016-01-21 Joel Brobecker <brobecker@adacore.com>
1349
1350 * gdb.base/break-fun-addr.exp: New file.
1351 * gdb.base/break-fun-addr1.c: New file.
1352 * gdb.base/break-fun-addr2.c: New file.
1353
5f5dfff6
SM
13542016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1355
1356 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1357 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1358 enum flag values.
1359
fd356fa2
AA
13602016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1361
1362 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1363 when GDB can not set the vector return value. Add more comments
1364 for clarification.
1365
9df22175
AT
13662016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1367
1368 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1369 command.
1370
41d1845e
SM
13712016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1372
1373 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1374
01ac6840
SM
13752016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1376
1377 * Makefile.in (check-single): Pass --status to runtest.
1378 (check/%.exp): Likewise.
1379
13802016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1381
1382 * Makefile.in (check-parallel): Propagate return code from make
1383 do-check-parallel.
1384
bd0a71fa
MK
13852016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1386
1387 * gdb.trace/ftrace.exp: Fix expected message on continue.
1388 * gdb.trace/pending.exp: Fix expected message on continue.
1389 * gdb.trace/trace-break.exp: Fix expected message on continue.
1390
8bcbad33
SM
13912016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1392
1393 * lib/gdb.exp (gdb_test): Remove unused global references.
1394
f303dbd6
PA
13952016-01-18 Pedro Alves <palves@redhat.com>
1396
1397 * gdb.base/async-shell.exp: Adjust expected output.
1398 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1399 * gdb.base/siginfo-thread.exp: Adjust expected output.
1400 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1401 * gdb.java/jnpe.exp: Adjust expected output.
1402 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1403 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1404 * gdb.threads/leader-exit.exp: Adjust expected output.
1405 * gdb.threads/manythreads.exp: Adjust expected output.
1406 * gdb.threads/pthreads.exp: Adjust expected output.
1407 * gdb.threads/schedlock.exp: Adjust expected output.
1408 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1409 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1410 expected output.
1411 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1412 output.
1413 * gdb.threads/sigthread.exp: Adjust expected output.
1414 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1415
b2789696
YQ
14162016-01-18 Yao Qi <yao.qi@linaro.org>
1417
1418 * gdb.guile/scm-section-script.c: Replace @progbits with
1419 %progbits.
1420 * gdb.python/py-section-script.c: Likewise.
1421
71ef29a8
PA
14222016-01-15 Pedro Alves <palves@redhat.com>
1423
1424 * gdb.multi/tids.exp: Test star wildcard ranges.
1425
3f5b7598
PA
14262016-01-15 Pedro Alves <palves@redhat.com>
1427
1428 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1429 command from "thread apply" invocation.
1430 (thr_apply_info_thr_invalid): Default the expected output to the
1431 input tid list.
1432 (top level): Add tests that use convenience variables. Add tests
1433 for "thread apply" with a valid TID list, but missing the command.
1434
663f6d42
PA
14352016-01-13 Pedro Alves <palves@redhat.com>
1436
1437 * gdb.base/default.exp: Expect $_gthread as well.
1438 * gdb.multi/tids.exp: Test $_gthread.
1439 * gdb.threads/thread-specific.exp: Test $_gthread.
1440
c84f6bbf
PA
14412016-01-13 Pedro Alves <palves@redhat.com>
1442
1443 * gdb.multi/tids.exp: Test "info threads -gid".
1444
22a02324
PA
14452016-01-13 Pedro Alves <palves@redhat.com>
1446
1447 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1448 Breakpoint.thread.
1449 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1450
5d5658a1
PA
14512016-01-07 Pedro Alves <palves@redhat.com>
1452
1453 * gdb.base/break.exp: Adjust to output changes.
1454 * gdb.base/hbreak2.exp: Likewise.
1455 * gdb.base/sepdebug.exp: Likewise.
1456 * gdb.base/watch_thread_num.exp: Likewise.
1457 * gdb.linespec/keywords.exp: Likewise.
1458 * gdb.multi/info-threads.exp: Likewise.
1459 * gdb.threads/thread-find.exp: Likewise.
1460 * gdb.multi/tids.c: New file.
1461 * gdb.multi/tids.exp: New file.
1462
84654457
PA
14632016-01-13 Pedro Alves <palves@redhat.com>
1464
1465 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1466
e3940304
PA
14672016-01-13 Pedro Alves <palves@redhat.com>
1468
1469 * gdb.base/default.exp: Expect $_inferior as well.
1470 * gdb.multi/base.exp: Test $_inferior.
1471
a911d87a
PA
14722016-01-13 Pedro Alves <palves@redhat.com>
1473
1474 PR breakpoints/19388
1475 * gdb.base/catch-signal-siginfo-cond.c: New file.
1476 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1477
82075af2
JS
14782016-01-12 Josh Stone <jistone@redhat.com>
1479 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1480
1481 * gdb.base/catch-syscall.c (do_execve): New variable.
1482 (main): Conditionally trigger an execve.
1483 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1484 (test_catch_syscall_execve): New, check entry/return across execve.
1485 (do_syscall_tests): Call test_catch_syscall_execve.
1486
e46eeedd
PA
14872016-01-12 Pedro Alves <palves@redhat.com>
1488
1489 * gdb.base/random-signal.exp (do_test): New procedure, with body
1490 of testcase moved in.
1491
01d8c27e
JK
14922016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1493 Pedro Alves <palves@redhat.com>
1494
1495 * gdb.base/funcargs.exp (finish from indirectly called function):
1496 Reintroduce the case for 'First'.
1497
9a706302
JK
14982016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1499 Pedro Alves <palves@redhat.com>
1500
1501 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1502 (tcatch_vfork_then_child_follow_exec)
1503 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1504 identification.
1505
c0ecb95f
JK
15062016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1507
1508 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1509 and repeats to unlimited.
1510 * gdb.python/py-value.exp: Likewise.
1511 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1512 and repeats to unlimited.
1513
6cfc1fcb
JK
15142016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1515
1516 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1517 and reordering the functions.
1518 * gdb.multi/hangout.c: Likewise.
1519 * gdb.multi/hello.c: Likewise.
1520
582a1b00
SM
15212016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1522
1523 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1524 absolute.
1525 (SingleStatisticTestResult.report): Use dict.keys instead of
1526 dict.iterkeys.
1527
79bc59cb
PA
15282016-01-06 Pedro Alves <palves@redhat.com>
1529
1530 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1531
43368e1d
MM
15322016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1533
1534 * gdb.btrace/dlopen.exp: New.
1535 * gdb.btrace/dlopen.c: New.
1536 * gdb.btrace/dlopen-dso.c: New.
1537
79fad5b8
SL
15382015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1539
1540 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1541 PATTERN argument is optional.
1542
ab8314b3
JB
15432015-12-24 Joel Brobecker <brobecker@adacore.com>
1544
1545 * lib/ada.exp (target_compile_ada_from_dir): New function.
1546 (gdb_compile_ada): Reimplement avoiding the use of project files.
1547 * gdb.ada/gnat_ada.gpr: Delete.
1548 * gdb.ada/cond_lang.exp: Adjust test to make path before
1549 filename optional.
1550 * gdb.ada/small_reg_param.exp: Likewise.
1551
fe33faff
SM
15522015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1553
1554 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1555
6d265cb4
TP
15562015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1557
1558 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1559 case.
1560
10125099
SM
15612015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1562
1563 * gdb.base/break.exp: Remove dead code.
1564 * gdb.base/sepdebug.exp: Likewise.
1565
3ca22649
SM
15662015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1567
1568 * gdb.asm/asm-source.exp: Remove HP-UX references.
1569 * gdb.base/annota1.exp: Likewise.
1570 * gdb.base/annota3.exp: Likewise.
1571 * gdb.base/attach.exp: Likewise.
1572 * gdb.base/bigcore.exp: Likewise.
1573 * gdb.base/break.exp: Likewise.
1574 * gdb.base/call-ar-st.exp: Likewise.
1575 * gdb.base/callfuncs.exp: Likewise.
1576 * gdb.base/catch-fork-static.exp: Likewise.
1577 * gdb.base/display.exp: Likewise.
1578 * gdb.base/foll-exec-mode.exp: Likewise.
1579 * gdb.base/foll-exec.exp: Likewise.
1580 * gdb.base/foll-fork.exp: Likewise.
1581 * gdb.base/foll-vfork.exp: Likewise.
1582 * gdb.base/funcargs.exp: Likewise.
1583 * gdb.base/hbreak2.exp: Likewise.
1584 * gdb.base/inferior-died.exp: Likewise.
1585 * gdb.base/interrupt.exp: Likewise.
1586 * gdb.base/multi-forks.exp: Likewise.
1587 * gdb.base/nodebug.exp: Likewise.
1588 * gdb.base/sepdebug.exp: Likewise.
1589 * gdb.base/solib1.c: Likewise.
1590 * gdb.base/step-test.exp: Likewise.
1591 * gdb.mi/non-stop.c: Likewise.
1592 * gdb.mi/pthreads.c: Likewise.
1593 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1594 * gdb.threads/pthreads.c: Likewise.
1595 * gdb.threads/staticthreads.exp: Likewise.
1596 * lib/future.exp: Likewise.
1597 * lib/gdb.exp: Likewise.
1598 * gdb.base/so-indr-cl.c: Remove.
1599 * gdb.base/so-indr-cl.exp: Likewise.
1600 * gdb.base/solib.c: Likewise.
1601 * gdb.base/solib.exp: Likewise.
1602 * gdb.base/solib2.c: Likewise.
1603
b6304613
SM
16042015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1605
1606 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1607 * gdb.base/call-ar-st.exp: Likewise.
1608 * gdb.base/callfuncs.exp: Likewise.
1609 * gdb.base/condbreak.exp: Likewise.
1610 * gdb.base/constvars.exp: Likewise.
1611 * gdb.base/hbreak2.exp: Likewise.
1612 * gdb.base/langs.exp: Likewise.
1613 * gdb.base/list.exp: Likewise.
1614 * gdb.base/long_long.exp: Likewise.
1615 * gdb.base/ptype.exp: Likewise.
1616 * gdb.base/scope.exp: Likewise.
1617 * gdb.base/signals.exp: Likewise.
1618 * gdb.base/so-impl-ld.exp: Likewise.
1619 * gdb.base/varargs.exp: Likewise.
1620 * gdb.base/volatile.exp: Likewise.
1621 * gdb.base/whatis.exp: Likewise.
1622 * gdb.cp/cplusfuncs.exp: Likewise.
1623 * gdb.cp/inherit.exp: Likewise.
1624 * gdb.cp/local.exp: Likewise.
1625 * gdb.cp/member-ptr.exp: Likewise.
1626 * gdb.cp/method.exp: Likewise.
1627 * gdb.cp/overload.exp: Likewise.
1628 * gdb.cp/templates.exp: Likewise.
1629 * gdb.stabs/weird.exp: Likewise.
1630 * lib/compiler.c: Likewise.
1631 * lib/compiler.cc: Likewise.
1632 * lib/cp-support.exp: Likewise.
1633 * lib/gdb.exp: Likewise.
1634
bf401b07
SM
16352015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1636
1637 * configure.ac: Remove HP-UX case.
1638 * configure: Regenerate.
1639
aff9c0f8
SM
16402015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1641
1642 * lib/gdb.exp (gdb_compile): Add function doc.
1643
a6904d5a
PA
16442015-12-17 Pedro Alves <palves@redhat.com>
1645
1646 PR threads/19354
1647 * gdb.multi/info-threads.exp: New file.
1648
a22279dd
YQ
16492015-12-15 Yao Qi <yao.qi@linaro.org>
1650
1651 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1652 is aarch64*-*-*.
1653
0588c796
SL
16542015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1655
1656 * gdb.base/history-duplicates.exp: Skip if no readline support.
1657
5d978e17
SL
16582015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1659
1660 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1661
7e763b86
SL
16622015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1663
1664 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1665
87a3a92c
SL
16662015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1667
1668 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1669 ctrl-C if nointerrupts target property is set.
1670 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1671 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1672 * gdb.base/paginate-bg-execution.exp: Likewise.
1673 * gdb.base/paginate-execution-startup.exp: Likewise.
1674 * gdb.base/random-signal.exp: Likewise.
1675 * gdb.base/range-stepping.exp: Likewise.
1676 * gdb.cp/annota2.exp: Likewise.
1677 * gdb.cp/annota3.exp: Likewise.
1678 * gdb.gdb/selftest.exp: Likewise.
1679 * gdb.threads/continue-pending-status.exp: Likewise.
1680 * gdb.threads/leader-exit.exp: Likewise.
1681 * gdb.threads/manythreads.exp: Likewise.
1682 * gdb.threads/pthreads.exp: Likewise.
1683 * gdb.threads/schedlock.exp: Likewise.
1684 * gdb.threads/sigthread.exp: Likewise.
1685
a8f077dc
DB
16862015-12-11 Don Breazeal <donb@codesourcery.com>
1687
1688 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1689 remote.
1690 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1691 * gdb.base/foll-exec.exp (main): Enable for target remote.
1692 * gdb.base/foll-fork.exp (main): Likewise.
1693 * gdb.base/foll-vfork.exp (main): Likewise.
1694 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1695 (proc continue_to_exit_bp_loc): Use clean_restart.
1696 * gdb.base/pie-execl.exp (main): Disable for target remote.
1697 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1698 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1699 * gdb.threads/execl.exp (main): Likewise.
1700 * gdb.threads/fork-child-threads.exp (main): Likewise.
1701 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1702 remote.
1703 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1704 remote.
1705 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1706 pid.tid style ptids, instead of just tid.
1707 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1708 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1709 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1710 ptids, instead of just tid.
1711
3b2464a8
AB
17122015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1713
1714 * gdb.base/list.exp (test_list_forward): Add end of file error
1715 test.
1716 (test_repeat_list_command): Add end of file error test.
1717 (test_list_backwards): Add beginning of file error test.
1718
a0def019
AB
17192015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1720
1721 * gdb.base/list.exp (test_list_invalid_args): New function,
1722 defined, and called.
1723
5c000dff
AB
17242015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1725
1726 * gdb.base/list.exp (test_list): Make test names unique.
1727
f1637ebe
YQ
17282015-12-11 Yao Qi <yao.qi@linaro.org>
1729
1730 * gdb.base/coremaker2.c: Remove.
1731
36d6fc0a
PA
17322015-12-10 Pedro Alves <palves@redhat.com>
1733
1734 * gdb.multi/base.exp: Remove stale "spaces" references.
1735
762f7747
PA
17362015-12-10 Pedro Alves <palves@redhat.com>
1737
1738 * gdb.multi/base.exp: Don't use nowarnings.
1739 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1740 * gdb.multi/hangout.c: Include stdio.h.
1741 * gdb.multi/hello.c: Include stdlib.h.
1742 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1743 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1744 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1745
28d2bfb9
AB
17462015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1747
1748 * gdb.dwarf2/dw2-ranges-base.c: New file.
1749 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1750 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1751 support additional line table, and debug ranges generation.
1752 (Dwarf::ranges): New function, generate .debug_ranges.
1753 (Dwarf::lines): Support generating simple line table programs.
1754 (Dwarf::assemble): Initialise new namespace variables.
1755
5fc2beac
KB
17562015-12-09 Kevin Buettner <kevinb@redhat.com>
1757
1758 * gdb.base/async.exp (proc test_background): Add case for
1759 asynchronous execution not supported.
1760
1c35a88f
LM
17612015-12-09 Luis Machado <lgustavo@codesourcery.com>
1762
1763 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1764 format and change test names to make them unique.
1765
b593e3d9
RK
17662015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1767 Pedro Alves <pedro@redhat.com>
1768
1769 PR gdb/18702
1770 Add checking of floatformats setup on x86_64 hosts.
1771 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1772 (smallval, bigval): New labels/constants.
1773 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1774 float" after loading bigval and smallval.
1775
d72413e6
PMR
17762015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1777
1778 * gdb.ada/fun_overload_menu.exp: New testcase.
1779 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1780
ece66d65
JS
17812015-12-04 Josh Stone <jistone@redhat.com>
1782
1783 * gdb.base/catch-fork-static.exp: New.
1784
41d0efca
YQ
17852015-12-03 Yao Qi <yao.qi@linaro.org>
1786
1787 * gdb.base/sizeof.c: Don't include stdio.h and
1788 ../lib/unbuffer_output.c.
1789 (main): New variable 'size' and 'value'. Remove printf and
1790 gdb_unbuffer_output. Assign return value to size and value.
1791 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1792 at the beginning.
1793 (check_sizeof): Check the result by printing variable 'size'.
1794 (check_valueof): Check the result by printing variable 'value'.
1795
99fd02d9
YQ
17962015-12-01 Yao Qi <yao.qi@linaro.org>
1797
1798 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1799 for aarch64*-*-linux* target.
1800
f2faf941
PA
18012015-11-30 Pedro Alves <palves@redhat.com>
1802
1803 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1804
04bf20c5
PA
18052015-11-30 Pedro Alves <palves@redhat.com>
1806
1807 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1808 Handle non-stop mode vCont replies.
1809
09df4675
PA
18102015-11-30 Pedro Alves <palves@redhat.com>
1811
1812 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1813 prepare_for_testing. Start gdb with "set non-stop on" appended to
1814 GDBFLAGS. Lax expected stop output.
1815
58b584af
YQ
18162015-11-27 Yao Qi <yao.qi@linaro.org>
1817
1818 * gdb.arch/arm-neon.exp: New.
1819 * gdb.arch/arm-neon.c: New.
1820
dfcb77a8
YQ
18212015-11-27 Yao Qi <yao.qi@linaro.org>
1822
1823 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1824
88e8ec1b
YQ
18252015-11-27 Yao Qi <yao.qi@linaro.org>
1826
1827 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1828 frames-invalid annotation.
1829
bfde72c2
YQ
18302015-11-27 Yao Qi <yao.qi@linaro.org>
1831
1832 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1833
f6512a69
SM
18342015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1835
1836 * gdb.threads/names.exp: New file.
1837 * gdb.threads/names.c: New file.
1838 * README: Mention gdb,no_thread_names.
1839
46a3515b
MM
18402015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1841
1842 PR 19297
1843 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1844 support" error.
1845
62147a22
PA
18462015-11-24 Pedro Alves <palves@redhat.com>
1847
1848 PR 17539
1849 * gdb.base/display.exp: Expect displays to be sorted in ascending
1850 order. Use multi_line.
1851 * gdb.base/solib-display.exp: Likewise.
1852
2f341b6e
PA
18532015-11-24 Pedro Alves <palves@redhat.com>
1854
1855 PR 17539
1856 * gdb.base/display.exp: Expect displays to be sorted in ascending
1857 order. Use multi_line.
1858 * gdb.base/solib-display.exp: Likewise.
1859
7e0aa6aa
PA
18602015-11-24 Pedro Alves <palves@redhat.com>
1861
1862 PR 17539
1863 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1864 threads in ascending order.
1865 * gdb.base/foll-fork.exp: Likewise.
1866 * gdb.base/foll-vfork.exp: Likewise.
1867 * gdb.base/multi-forks.exp: Likewise.
1868 * gdb.mi/mi-nonstop.exp: Likewise.
1869 * gdb.mi/mi-nsintrall.exp: Likewise.
1870 * gdb.multi/base.exp: Likewise.
1871 * gdb.multi/multi-arch.exp: Likewise.
1872 * gdb.python/py-inferior.exp: Likewise.
1873 * gdb.threads/break-while-running.exp: Likewise.
1874 * gdb.threads/execl.exp: Likewise.
1875 * gdb.threads/gcore-thread.exp: Likewise.
1876 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1877 * gdb.threads/kill.exp: Likewise.
1878 * gdb.threads/linux-dp.exp: Likewise.
1879 * gdb.threads/multiple-step-overs.exp: Likewise.
1880 * gdb.threads/next-bp-other-thread.exp: Likewise.
1881 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1882 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1883 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1884 * gdb.threads/thread-find.exp: Likewise.
1885 * gdb.threads/tls.exp: Likewise.
1886 * lib/mi-support.exp (mi_reverse_list): Delete.
1887 (mi_check_thread_states): No longer reverse list.
1888
2cc57ad8
PA
18892015-11-24 Pedro Alves <palves@redhat.com>
1890
1891 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1892 use lowercase.
1893
c93e8391
SM
18942015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1895
1896 * gdb.trace/actions.c: Include trace-common.h.
1897 (main): Add a location for a fast tracepoint.
1898 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1899 the normal tracepoints.
1900 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1901
045ccf91
SM
19022015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1903
1904 * save-trace.exp: Factor out code to these...
1905 (gdb_save_tracepoints): New.
1906 (gdb_load_tracepoints): New.
1907 (do_save_load_test): New.
1908
5506f9f6
KB
19092015-11-23 Kevin Buettner <kevinb@redhat.com>
1910
1911 * gdb.base/asmlabel.exp: New test.
1912 * gdb.base/asmlabel.c: New test case.
1913
16c3b12f
JB
19142015-11-23 Joel Brobecker <brobecker@adacore.com>
1915
1916 * gdb.base/wrong_frame_bt_full-main.c: New file.
1917 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1918 * gdb.base/wrong_frame_bt_full.exp: New file.
1919
155bfbd3
JB
19202015-11-23 Joel Brobecker <brobecker@adacore.com>
1921
1922 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1923
bb097445
JM
19242015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1925
206853a0 1926 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
1927 pstate register when comparing registers values in
1928 sparc64-*-linux-gnu targets to avoid spurious differences.
1929
9c88ed8f
JM
19302015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1931
206853a0 1932 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 1933
96161e25
SL
19342015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1935
1936 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1937 as type argument to gdb_compile.
1938 * gdb.base/nested-subp2.exp: Likewise.
1939 * gdb.base/nested-subp3.exp: Likewise.
1940
340c2830
DV
19412015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1942
1943 * lib/dwarf.exp (_note): Fix left shift of negative value.
1944 * gdb.trace/trace-condition.exp: Likewise.
1945
c1862d0f
YQ
19462015-11-13 Yao Qi <yao.qi@linaro.org>
1947
1948 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1949 comments about d10v.
1950 (test_scalar_returns): Likewise.
1951 * gdb.base/d10v.ld: Remove.
1952 * gdb.base/overlays.exp: Remove the target triplet checking for
1953 d10v-*-*.
1954 * gdb.base/structs.exp (test_struct_returns): Remove the
1955 comments about d10v.
1956 (test_struct_calls): Likewise.
1957
77ae9c19
YQ
19582015-11-13 Yao Qi <yao.qi@linaro.org>
1959
1960 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1961 * gdb.base/gnu_vector.c: Don't include stdio.h.
1962 (main): Don't print res and call add_some_intvecs.
1963
430e004e
MK
19642015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1965
1966 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1967 macro.
1968 (func5): Removed.
1969 (func4): Use FAST_TRACEPOINT_LABEL.
1970 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1971 macro.
1972 (func): Removed.
1973 (thread_function): Use FAST_TRACEPOINT_LABEL.
1974 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1975 (func): Remove.
1976 (marker): Use FAST_TRACEPOINT_LABEL.
1977 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1978 (pendfunc1): Remove.
1979 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1980 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1981 (foo): Remove.
1982 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1983 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1984 macro.
1985 (func): Remove.
1986 (marker): Use FAST_TRACEPOINT_LABEL.
1987 * gdb.trace/trace-common.h: New header.
1988 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1989 macro.
1990 (func): Remove.
1991 (marker): Use FAST_TRACEPOINT_LABEL.
1992 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1993 (func): Remove.
1994 (thread_function): Use FAST_TRACEPOINT_LABEL.
1995
6e7675a7
MK
19962015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1997
1998 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1999 in front.
2000 * gdb.trace/change-loc.exp: Use global pcreg definition.
2001 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2002 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2003 in front.
2004 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2005 * gdb.trace/pending.exp: Likewise.
2006 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2007 * gdb.trace/trace-break.exp: Likewise.
2008 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2009 in front.
2010 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2011 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2012 in front.
2013 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2014
dddc0e16
JB
20152015-11-09 Joel Brobecker <brobecker@adacore.com>
2016
2017 * gdb.ada/fin_fun_out: New testcase.
2018
c6f0b406
KB
20192015-11-07 Kevin Buettner <kevinb@redhat.com>
2020
2021 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2022 value associated with DW_AT_byte_size.
2023 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2024 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2025 DW_AT_upper_bound.
2026
f01dcfd9
KB
20272015-11-07 Kevin Buettner <kevinb@redhat.com>
2028
2029 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2030 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2031 version.
2032 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2033 gdb.dwarf2/dw2-canonicalize-type.exp,
2034 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2035 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2036 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2037 provided by gdb_target_symbol_prefix_flags_asm.
2038 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2039 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2040 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2041 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2042 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2043 macros where needed). Use this macro for symbols which require
2044 the prefix provided by SYMBOL_PREFIX.
2045
2223449a
KB
20462015-11-05 Kevin Buettner <kevinb@redhat.com>
2047
2048 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2049 New procs.
2050 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2051 representing expressions, of more than one list element.
2052 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2053 to prepend linker symbol prefix to f.
2054 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2055 table_1 and table_2.
2056 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2057 Likewise, for f and g.
2058 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2059 for ptr.
2060 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2061 for main.
2062 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2063 table_1_ptr and table_2_ptr.
2064
6f2f1a3a
JK
20652015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2066 Joel Brobecker <brobecker@adacore.com>
2067
2068 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2069
566c56c9
MK
20702015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2071
2072 * gdb.reverse/s390-mvcle.c: New test.
2073 * gdb.reverse/s390-mvcle.exp: New file.
2074 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2075
d5f0636b
MK
20762015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2077
2078 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2079
7ad8b86c
MK
20802015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2081
2082 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2083 reaching marker2.
2084 * gdb.reverse/getresuid-reverse.exp: Likewise.
2085 * gdb.reverse/pipe-reverse.exp: Likewise.
2086 * gdb.reverse/readv-reverse.exp: Likewise.
2087 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2088 * gdb.reverse/time-reverse.exp: Likewise.
2089 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2090
4081c0f1
YQ
20912015-10-30 Yao Qi <yao.qi@linaro.org>
2092
2093 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2094 (empty_cycle): Remove.
2095 (main): Don't call empty_cycle. Don't use watch_count_done.
2096 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2097 empty_cycle. Rewrite the code counting HW watchpoints.
2098
452b4ba5
MK
20992015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2100
2101 * gdb.reverse/fstatat-reverse.c: New test.
2102 * gdb.reverse/fstatat-reverse.exp: New file.
2103 * gdb.reverse/getresuid-reverse.c: New test.
2104 * gdb.reverse/getresuid-reverse.exp: New file.
2105 * gdb.reverse/pipe-reverse.c: New test.
2106 * gdb.reverse/pipe-reverse.exp: New file.
2107 * gdb.reverse/readv-reverse.c: New test.
2108 * gdb.reverse/readv-reverse.exp: New file.
2109 * gdb.reverse/recvmsg-reverse.c: New test.
2110 * gdb.reverse/recvmsg-reverse.exp: New file.
2111 * gdb.reverse/time-reverse.c: New test.
2112 * gdb.reverse/time-reverse.exp: New file.
2113 * gdb.reverse/waitpid-reverse.c: New test.
2114 * gdb.reverse/waitpid-reverse.exp: New file.
2115
5e2e7507
JK
21162015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2117
2118 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2119
0fde2c53
DE
21202015-10-26 Doug Evans <dje@google.com>
2121
2122 PR symtab/17391
2123 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2124 * gdb.dwarf2/bad-regnum.c: New file.
2125 * gdb.dwarf2/bad-regnum.exp: New file.
2126
1a70ae97
DE
21272015-10-26 Doug Evans <dje@google.com>
2128
2129 PR python/18938
2130 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2131 file.
2132
27dc26ab
JK
21332015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2134
2135 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2136 for a change by "Mention language in compile error message".
2137
bed91f4d
SM
21382015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2139
2140 PR python/18073
2141 * gdb.python/py-type.c (C::a_method): New.
2142 (C::a_const_method): New.
2143 (C::a_static_method): New.
2144 (a_function): New.
2145 * gdb.python/py-type.exp (test_fields): Test getting fields
2146 from function and method.
2147
3f2f83dd
KB
21482015-10-21 Keven Boell <keven.boell@intel.com>
2149
2150 * gdb.fortran/vla-alloc-assoc.exp: New file.
2151 * gdb.fortran/vla-datatypes.exp: New file.
2152 * gdb.fortran/vla-datatypes.f90: New file.
2153 * gdb.fortran/vla-history.exp: New file.
2154 * gdb.fortran/vla-ptype-sub.exp: New file.
2155 * gdb.fortran/vla-ptype.exp: New file.
2156 * gdb.fortran/vla-sizeof.exp: New file.
2157 * gdb.fortran/vla-sub.f90: New file.
2158 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2159 * gdb.fortran/vla-value-sub-finish.exp: New file.
2160 * gdb.fortran/vla-value-sub.exp: New file.
2161 * gdb.fortran/vla-value.exp: New file.
2162 * gdb.fortran/vla-ptr-info.exp: New file.
2163 * gdb.mi/mi-vla-fortran.exp: New file.
2164 * gdb.mi/vla.f90: New file.
2165
27145d50
SL
21662015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2167
2168 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2169 of hardwired timeout value.
2170
5f3ff4f8
JK
21712015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2172 Pedro Alves <palves@redhat.com>
2173
2174 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2175 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2176
bfd09d20
JS
21772015-10-19 Josh Stone <jistone@redhat.com>
2178
2179 * gdb.base/catch-syscall.c: Include <sched.h>.
2180 (unknown_syscall): New variable.
2181 (main): Trigger a vfork and an unknown syscall.
2182 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2183 (unknown_syscall_number): Likewise.
2184 (check_call_to_syscall): Accept an optional syscall pattern.
2185 (check_return_from_syscall): Likewise.
2186 (check_continue): Likewise.
2187 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2188 (test_catch_syscall_skipping_return): New test toggling off 'catch
2189 syscall' to step over the syscall return, then toggling back on.
2190 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2191 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2192 (do_syscall_tests): Call test_catch_syscall_without_args and
2193 test_catch_syscall_mid_vfork.
2194 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2195 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2196
b32b93c6
AS
21972015-10-19 Andrew Stubbs <ams@codesourcery.com>
2198
2199 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2200 print g_vE): Add new pass patterns.
2201 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2202 print various symbol names for vptr fields.
2203
9d622bda
AB
22042015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2205
2206 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2207 results.
2208
0fd8ac1c
YQ
22092015-10-12 Yao Qi <yao.qi@linaro.org>
2210
2211 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2212
34240514
YQ
22132015-10-12 Yao Qi <yao.qi@linaro.org>
2214
2215 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2216 is aarch64*-*-linux*.
2217
8240f442
YQ
22182015-10-12 Yao Qi <yao.qi@linaro.org>
2219
2220 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2221 (can_relocate_bcond_true): ... it.
2222 (can_relocate_bcond_false): New function.
2223 (foo): Likewise.
2224 (can_relocate_bl): Likewise.
2225 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2226 can_relocate_bl.
2227
2520f728
PMR
22282015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2229
2230 * gdb.base/nested-addr.c: New file.
2231 * gdb.base/nested-addr.exp: New testcase.
2232
abcef95a
MM
22332015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2234
2235 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2236 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2237 its output. Ignore the output of "record goto begin" and instead
2238 check that GDB is replaying.
2239
145e3ddb
PA
22402015-10-09 Pedro Alves <palves@redhat.com>
2241
2242 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2243 (top level): Use it in the run with no args test.
2244
d5d8c4e1
IB
22452015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2246
2247 * gdb.dlang/properties.exp: New file.
2248
06e635ef
SL
22492015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2250
2251 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2252 whether or not address 0x1000 is mapped on the target.
2253
e019fd1d
SM
22542015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2255
2256 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2257 build.
2258
77ba2a67
MM
22592015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2260
2261 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2262 instruction-history test.
2263
c60eb31f
DE
22642015-09-28 Doug Evans <dje@google.com>
2265
2266 * gdb.base/gcore.c (array_func): Add reference to static_array.
2267
9a3c8263
SM
22682015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2269
2270 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2271 source line.
2272
9720e656
SL
22732015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2274
2275 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2276 short or char as base type.
2277
938d3bf2
SL
22782015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2279
2280 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2281 to allow any size enum.
2282
e6c2c623
PMR
22832015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2284
2285 * gdb.ada/array_ptr_renaming.exp: New testcase.
2286 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2287 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2288
06da0f77
PL
22892015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2290
2291 * gdb.trace/ftrace-lock.c: New file.
2292 * gdb.trace/ftrace-lock.exp: New file.
2293
4f51c22a
PL
22942015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2295
2296 * gdb.arch/insn-reloc.c: New file.
2297 * gdb.arch/ftrace-insn-reloc.exp: New file.
2298
7041adf4
PL
22992015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2300
2301 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2302 instruction.
2303 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2304 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2305 * gdb.trace/range-stepping.c: Likewise.
2306 * gdb.trace/trace-break.c: Likewise.
2307 * gdb.trace/trace-mt.c (thread_function): Likewise.
2308 * gdb.trace/ftrace.c (marker): Likewise.
2309 * gdb.trace/trace-condition.c (marker): Likewise.
2310 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2311 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2312 is_aarch64_target.
2313
015d2e7e
DE
23142015-09-18 Doug Evans <xdje42@gmail.com>
2315
2316 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2317 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2318
26b188a2
SL
23192015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2320
2321 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2322 the breakpoint.
2323
79dc332b
SL
23242015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2325
2326 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2327 the pending breakpoint. Remove timeout override for "Run till
2328 MI pending breakpoint on pendfunc3 on thread 2" test.
2329
f57929f2
SL
23302015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2331
2332 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2333 filename pattern.
2334
3f469b17
SL
23352015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2336
2337 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2338 in breakpoint filename pattern.
2339
515b89b3
SL
23402015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2341
7800dbe4
SL
2342 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2343
23442015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2345
515b89b3
SL
2346 * gdb.linespec/explicit.exp: Check for readline support for
2347 tab-completion tests. Fix obvious typo.
2348
d2939ba2
MM
23492015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2350
2351 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2352 and replay.
2353
cbb55fa7
MM
23542015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2355
2356 * gdb.btrace/non-stop.c: New.
2357 * gdb.btrace/non-stop.exp: New.
2358
43691ca1
PL
23592015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2360 Yao Qi <yao.qi@linaro.org>
2361
2362 * gdb.trace/trace-condition.c: New file.
2363 * gdb.trace/trace-condition.exp: New file.
2364
d78908cf
WW
23652015-09-16 Wei-cheng Wang <cole945@gmail.com>
2366
2367 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2368 for testing bytecode compilation.
2369
1ed415e2
PA
23702015-09-16 Pedro Alves <palves@redhat.com>
2371 Sandra Loosemore <sandra@codesourcery.com>
2372
2373 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2374 (SECONDS): Redefine.
2375 (main): Call pthread_kill and alarm early.
2376 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2377 support.
2378 (test): If the target can't hardware step and doesn't support
2379 displaced stepping, increase the timeout.
2380
d136eff5
PA
23812015-09-16 Pedro Alves <palves@redhat.com>
2382
2383 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2384 (enable_debug): New procedures.
2385 (test): Use them. Bail out if waiting for threads fails.
2386 (top level): Bail out if a test fails.
2387
991f019c
YQ
23882015-09-16 Yao Qi <yao.qi@linaro.org>
2389
2390 * gdb.asm/asm-source.exp: Set asm-arch for
2391 aarch64*-*-* target.
2392 * gdb.asm/aarch64.inc: New file.
2393
bfca584f
PMR
23942015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2395
2396 * gdb.ada/array_of_variable_length.exp: New testcase.
2397 * gdb.ada/array_of_variable_length/foo.adb: New file.
2398 * gdb.ada/array_of_variable_length/pck.adb: New file.
2399 * gdb.ada/array_of_variable_length/pck.ads: New file.
2400
b326e587
DE
24012015-09-15 Doug Evans <dje@google.com>
2402
2403 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2404 of function static local variable.
2405
5382cfab
PW
24062015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2407
2408 * gdb.threads/tls-so_extern.exp: New test file.
2409 * gdb.threads/tls-so_extern.c: New test file.
2410 * gdb.threads/tls-so_extern_main.c: New test file.
2411
141c5cc4
JK
24122015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2413
2414 * gdb.opt/solib-intra-step-lib.c: New file.
2415 * gdb.opt/solib-intra-step-main.c: New file.
2416 * gdb.opt/solib-intra-step.exp: New file.
2417
d15dcecd
PA
24182015-09-15 Pedro Alves <palves@redhat.com>
2419
2420 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2421 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2422
4c2f2a79
PA
24232015-09-14 Pedro Alves <palves@redhat.com>
2424
2425 * gdb.base/hook-stop-continue.c: Delete.
2426 * gdb.base/hook-stop-continue.exp: Delete.
2427 * gdb.base/hook-stop-frame.c: Delete.
2428 * gdb.base/hook-stop-frame.exp: Delete.
2429 * gdb.base/hook-stop.c: New file.
2430 * gdb.base/hook-stop.exp: New file.
2431
919e6dbe
PMR
24322015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2433
2434 * gdb.ada/access_to_packed_array.exp: New testcase.
2435 * gdb.ada/access_to_packed_array/foo.adb: New file.
2436 * gdb.ada/access_to_packed_array/pack.adb: New file.
2437 * gdb.ada/access_to_packed_array/pack.ads: New file.
2438
157280a4
MM
24392015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2440
2441 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2442 buffer size test.
2443
2fd33e94
DB
24442015-09-11 Don Breazeal <donb@codesourcery.com>
2445
2446 * gdb.base/foll-exec.c: Add copyright header. Fix
2447 formatting issues.
2448 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2449 (do_exec_tests): Use clean_restart in place of zap_session,
2450 and for test initialization. Fix formatting issues. Use
2451 fail in place of perror.
2452 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2453 an expect statement to match an expression with output from
2454 the program under debug.
2455 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2456 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2457 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2458 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2459 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2460
e70b6e8e
DE
24612015-09-09 Doug Evans <dje@google.com>
2462
2463 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2464
7a551a51
DE
24652015-09-09 Doug Evans <dje@google.com>
2466
2467 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2468
4c666f84
DE
24692015-09-09 Doug Evans <dje@google.com>
2470
2471 * gdb.base/savedregs.exp: Fix typo.
2472
243a9253
PA
24732015-09-09 Pedro Alves <palves@redhat.com>
2474
2475 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2476
c0fa8fbd
SL
24772015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2478
2479 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2480 command actually switches threads. Give up on remaining
2481 tests if target fails to stop at breakpoint.
2482
cd7c1778
PMR
24832015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2484
2485 * gdb.ada/funcall_char.exp: New testcase.
2486 * gdb.ada/funcall_char/foo.adb: New file.
2487
dc5c8746
PMR
24882015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2489
2490 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2491 expected outputs. Add two testcases for completing ambiguous
2492 functions.
2493 * gdb.ada/complete/aux_pck.adb: New file.
2494 * gdb.ada/complete/aux_pck.ads: New file.
2495 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2496 Ambiguous_Func functions.
2497 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2498 * gdb.ada/complete/pck.adb: Likewise.
2499
4e83a1e7
UW
25002015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2501
2502 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2503 failures to run the test program under GDB.
2504
8ce74153
LM
25052015-08-26 Luis Machado <lgustavo@codesourcery.com>
2506
2507 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2508 to C.
2509
e9756d52
PP
25102015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2511
2512 * gdb.base/run-after-attach.exp: New test file.
2513 * gdb.base/run-after-attach.c: New test file.
2514
8d37573b
DB
25152015-08-26 Don Breazeal <donb@codesourcery.com>
2516
2517 * gdb.base/foll-exec-2.c: New test program.
2518 * gdb.base/foll-exec-2.exp: New test.
2519
63e43d3a
PMR
25202015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2521
2522 * gdb.base/nested-subp1.exp: New file.
2523 * gdb.base/nested-subp1.c: New file.
2524 * gdb.base/nested-subp2.exp: New file.
2525 * gdb.base/nested-subp2.c: New file.
2526 * gdb.base/nested-subp3.exp: New file.
2527 * gdb.base/nested-subp3.c: New file.
2528
3d40fbb5
PA
25292015-08-24 Pedro Alves <palves@redhat.com>
2530
2531 * gdb.server/connect-without-multi-process.c: New file.
2532 * gdb.server/connect-without-multi-process.exp: New file.
2533
4422ac93
LM
25342015-08-24 Luis Machado <lgustavo@codesourcery.com>
2535
2536 * gdb.opt/inline-markers.c: Make z int.
2537
91dddb86
LM
25382015-08-24 Luis Machado <lgustavo@codesourcery.com>
2539
2540 * gdb.opt/inline-markers.c: Make z volatile.
2541
a48847ee
LM
25422015-08-24 Luis Machado <lgustavo@codesourcery.com>
2543
2544 * gdb.opt/inline-bt.c: New volatile global z.
2545 * gdb.opt/inline-cmds.c: Likewise.
2546 * gdb.opt/inline-locals.c: Likewise.
2547 * gdb.opt/inline-markers.c: New extern global z.
2548 (marker): Use z.
2549 (inline_fn): Likewise.
2550
0ebbc52b
PA
25512015-08-24 Pedro Alves <palves@redhat.com>
2552
2553 * config/m32r-stub.exp: Remove file.
2554 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2555 * gdb.base/call-rt-st.exp: Likewise.
2556 * gdb.base/call-strs.exp: Likewise.
2557 * gdb.base/default.exp: Remove references to h8300-*-hms and
2558 *-*-udi*.
2559 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2560
77c365df
AA
25612015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2562
2563 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2564 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2565 and "return" use KFAIL when GDB can not read/write the vector
2566 return value.
2567
4313b8c0
GB
25682015-08-21 Gary Benson <gbenson@redhat.com>
2569
2570 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2571
0e433b32
PA
25722015-08-20 Pedro Alves <palves@redhat.com>
2573
2574 * gdb.server/solib-list.exp: No longer expect an interior stop in
2575 non-stop mode.
2576
221e1a37
PA
25772015-08-20 Pedro Alves <palves@redhat.com>
2578
2579 * gdb.server/connect-stopped-target.c: New file.
2580 * gdb.server/connect-stopped-target.exp: New file.
2581
40e3ad0e
PA
25822015-08-20 Pedro Alves <palves@redhat.com>
2583
2584 * gdb.dwarf2/comp-unit-lang.exp: New file.
2585 * gdb.dwarf2/comp-unit-lang.c: New file.
2586
af39b327
PMR
25872015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2588
2589 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2590 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2591
7d45c7c3 25922015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 2593
7d45c7c3
KB
2594 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2595 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2596
4d6cceb4
DE
25972015-08-18 Doug Evans <dje@google.com>
2598 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2599
2600 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2601 skip_python_tests. New arg prompt_regexp.
2602 (skip_python_tests): New function.
2603 * lib/mi-support.exp (mi_skip_python_tests): New function.
2604 * gdb.python/py-mi-objfile-gdb.py: New file.
2605 * gdb.python/py-mi-objfile.c: New file.
2606 * gdb.python/py-mi-objfile.exp: New file.
2607
ad89c2aa
KS
26082015-08-17 Keith Seitz <keiths@redhat.com>
2609
2610 * gdb.linespec/explicit.exp: Move strace test from here ...
2611 * gdb.trace/strace.exp: ... to here.
2612
e3ae3c43
PP
26132015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2614
2615 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2616 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2617
604b2636
DE
26182015-08-14 Doug Evans <xdje42@gmail.com>
2619
2620 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2621 inferior before selecting a new file.
2622
6ff0ba5f
DE
26232015-08-14 Doug Evans <xdje42@gmail.com>
2624
2625 * gdb.mi/mi-disassemble.exp: Update.
2626 * gdb.base/disasm-optim.S: New file.
2627 * gdb.base/disasm-optim.c: New file.
2628 * gdb.base/disasm-optim.h: New file.
2629 * gdb.base/disasm-optim.exp: New file.
2630
9ca98f92
KS
26312015-08-14 Keith Seitz <keiths@redhat.com>
2632
2633 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2634 "evaluated-by".
2635
52bbc560
JB
26362015-08-13 Joel Brobecker <brobecker@adacore.com>
2637
2638 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2639
5d8c3ed3
PMR
26402015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2641
2642 * gdb.ada/fun_renaming.exp: New testcase.
2643 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2644 * gdb.ada/fun_renaming/pack.adb: New file.
2645 * gdb.ada/fun_renaming/pack.ads: New file.
2646
ea8812bc
KS
26472015-08-12 Keith Seitz <keiths@redhat.com>
2648
2649 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2650 gdb_get_line_number.
2651
4dafcdeb
JB
26522015-08-12 Joel Brobecker <brobecker@adacore.com>
2653
2654 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2655 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2656 gdb.base/dso2dso.exp: New files.
2657
5ba32597
SDJ
26582015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2659 Pedro Alves <palves@redhat.com>
2660 Keith Seitz <keiths@redhat.com>
2661
2662 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2663 GDBFLAGS.
2664
b6dafabf
PP
26652015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2666
2667 * gdb.base/gdbhistsize-history.exp
2668 (test_histsize_history_setting): Use save_vars.
2669 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2670 Use save_vars.
2671 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2672 * gdb.base/readline.exp: Use save_vars.
2673
abe8e607
PP
26742015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2675
2676 * lib/gdb.exp (save_vars): New proc.
2677
629500fa
KS
26782015-08-11 Keith Seitz <keiths@redhat.com>
2679
2680 * gdb.base/help.exp: Update help_breakpoint_text.
2681
eb8c4e2e
KS
26822015-08-11 Keith Seitz <keiths@redhat.com>
2683
2684 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2685 (at toplevel): Call test_explicit_breakpoints.
2686 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2687 breakpoints.
2688 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2689 breakpoint conditions, "-cond".
2690
87f0e720
KS
26912015-08-11 Keith Seitz <keiths@redhat.com>
2692
2693 * gdb.linespec/3explicit.c: New file.
2694 * gdb.linespec/cpexplicit.cc: New file.
2695 * gdb.linespec/cpexplicit.exp: New file.
2696 * gdb.linespec/explicit.c: New file.
2697 * gdb.linespec/explicit.exp: New file.
2698 * gdb.linespec/explicit2.c: New file.
2699 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2700 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2701 before using in the matching pattern.
2702 Clarify that `prefix' is a regular expression.
2703
f00aae0f
KS
27042015-08-11 Keith Seitz <keiths@redhat.com>
2705
2706 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2707 test.
2708 Add tests for missing ",FMT" and ",".
2709
e27852be
DE
27102015-08-10 Doug Evans <dje@google.com>
2711 Keith Seitz <keiths@redhat.com>
2712
2713 PR gdb/17960
2714 * gdb.base/completion.exp: Add location completer tests.
2715
7f03bd92
PA
27162015-08-07 Pedro Alves <palves@redhat.com>
2717
2718 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2719 tests here.
2720 (top level): Run do_test with and without displaced stepping.
2721
3fc8eb30
PA
27222015-08-07 Pedro Alves <palves@redhat.com>
2723
2724 * gdb.base/valgrind-disp-step.c: New file.
2725 * gdb.base/valgrind-disp-step.exp: New file.
2726
d4569d7b
PA
27272015-08-07 Pedro Alves <palves@redhat.com>
2728
2729 * gdb.threads/step-over-lands-on-breakpoint.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-lands-on-breakpoint.exp (do_test): Change
2734 comment.
2735 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2736 Delete function.
2737 (main): Add alarm. Run an infinite loop instead of calling
2738 wait_threads.
2739 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2740 comment.
2741
e1316e60
PA
27422015-08-07 Pedro Alves <palves@redhat.com>
2743
2744 * gdb.base/checkpoint-ns.exp: New file.
2745 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2746 standard_testfile.
2747
da8c46d2
MM
27482015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2749
2750 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2751 * gdb.btrace/instruction_history.exp: Update.
2752 * gdb.btrace/tsx.exp: New.
2753 * gdb.btrace/tsx.c: New.
2754
de1c2c52
PA
27552015-08-06 Pedro Alves <palves@redhat.com>
2756
2757 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2758 increase timeout.
2759 * gdb.reverse/until-precsave.exp: Bump timeouts.
2760
782e0bf4
PA
27612015-08-06 Pedro Alves <palves@redhat.com>
2762
2763 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2764
83e97ed0
PA
27652015-08-06 Pedro Alves <palves@redhat.com>
2766
2767 PR gdb/18749
2768 * gdb.threads/process-dies-while-handling-bp.c: New file.
2769 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2770
863d01bd
PA
27712015-08-06 Pedro Alves <palves@redhat.com>
2772
2773 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2774 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2775
0a39bb32
PA
27762015-08-05 Pedro Alves <palves@redhat.com>
2777
2778 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2779 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2780
ee2d2b10
SL
27812015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2782
2783 * gdb.base/bp-permanent.exp: Report test as unsupported if
2784 the target cannot stop at the permanent breakpoint.
2785
4e1bdb00
DE
27862015-08-03 Doug Evans <dje@google.com>
2787
2788 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2789 10000.
2790
3d338901
DE
27912015-08-03 Doug Evans <dje@google.com>
2792
2793 * Makefile.in (workers/%.worker, build-perf): New rule.
2794 (GDB_PERFTEST_MODE): New variable.
2795 (check-perf): Use it.
2796 (clean): Clean up gdb.perf parallel build subdirs.
2797 * lib/build-piece.exp: New file.
2798 * lib/gdb.exp (make_gdb_parallel_path): New function
2799 (standard_output_file, standard_temp_file): Call it.
2800 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2801 of $GDB_PARALLEL.
2802 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2803
af061d3e
DE
28042015-08-03 Doug Evans <dje@google.com>
2805
8e1afc81 2806 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
2807 (LOG_FILE_NAME): New global.
2808 (TextReporter.__init__): Initialize self.txt_sum.
2809 (TextReporter.report): Add support for multiple data-points.
2810 Move report to perftest.sum, put raw data in perftest.log.
2811 (TextReporter.start): Open sum and log files.
2812 (TextReporter.end): Close sum and log files.
8e1afc81
DE
2813 * gdb.perf/lib/perftest/testresult.py
2814 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 2815
2c8c5d37
PA
28162015-07-31 Pedro Alves <palves@redhat.com>
2817
2818 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2819 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2820 kill_wait_spawned_process instead of explicit "kill -9".
2821 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2822 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2823 kill_wait_spawned_process.
2824 * gdb.base/attach-twice.exp: Likewise.
2825 * gdb.base/attach.exp: Likewise.
2826 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2827 gdb_test_multiple.
2828 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2829 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2830 kill_wait_spawned_process.
2831 * gdb.base/valgrind-infcall.exp: Likewise.
2832 * gdb.multi/multi-attach.exp: Likewise.
2833 * gdb.python/py-prompt.exp: Likewise.
2834 * gdb.python/py-sync-interp.exp: Likewise.
2835 * gdb.server/ext-attach.exp: Likewise.
2836 * gdb.threads/attach-into-signal.exp (corefunc): Use
2837 spawn_wait_for_attach, spawn_id_get_pid and
2838 kill_wait_spawned_process.
2839 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2840 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2841 spawn_id_get_pid and kill_wait_spawned_process.
2842 * gdb.threads/attach-stopped.exp (corefunc): Use
2843 spawn_wait_for_attach, spawn_id_get_pid and
2844 kill_wait_spawned_process.
2845 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2846 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2847 kill_wait_spawned_process instead of explicit "kill -9".
2848 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2849 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2850 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2851 processes. Don't map cygwin/windows pids here. Now returns a
2852 spawn id list.
2853
032a0fca
SL
28542015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2855
2856 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2857 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2858 correct patch.
2859
61a934ca
SL
28602015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2861
2862 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2863
4bc4d428
SL
28642015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2865
2866 Reapply:
2867 2014-05-21 Mark Wielaard <mjw@redhat.com>
2868
2869 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2870
998d452a
PA
28712015-07-30 Pedro Alves <palves@redhat.com>
2872
2873 * linux-low.c (handle_extended_wait): Set the child's last
2874 reported status to TARGET_WAITKIND_STOPPED.
2875
69dde7dc
PA
28762015-07-30 Pedro Alves <palves@redhat.com>
2877
2878 PR threads/18600
2879 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2880 only shows inferior 1.
2881
4dd63d48
PA
28822015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2883 Pedro Alves <palves@redhat.com>
2884
2885 PR threads/18600
2886 * gdb.threads/fork-plus-threads.c: New file.
2887 * gdb.threads/fork-plus-threads.exp: New file.
2888
d618e4c5
PP
28892015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2890
2891 * gdb.base/batch-preserve-term-settings.exp
2892 (test_terminal_settings_preserved_after_cli_exit): Use
2893 send_quit_command.
2894
1eef6428
PA
28952015-07-29 Pedro Alves <palves@redhat.com>
2896 Don Breazeal <donb@codesourcery.com>
2897
2898 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2899 output from both inferior_spawn_id and gdb_spawn_id.
2900
7da5b897
SDJ
29012015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2902
2903 * gdb.threads/attach-into-signal.exp (corefunc): Use
2904 with_test_prefix on nested loops, uniquefying the test messages.
2905
dac804df
SDJ
29062015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2907
2908 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2909 commit.
2910
06265e53
PP
29112015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2912
2913 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2914 New proc.
2915 (test_terminal_settings_preserved_after_sigterm): New test.
2916
18206ca3
PP
29172015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2918
2919 * gdb.base/batch-preserve-term-settings.exp
2920 (test_terminal_settings_preserved_after_cli_exit): New test.
2921
90074d11
PP
29222015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2923
2924 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2925 manipulation of saved_gdbflags.
2926 (test_terminal_settings_preserved): Remove global declaration of
2927 the unused variable pagination_prompt. Remove manipulation of
2928 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2929 GDBFLAGS.
2930
eb1a7902
PA
29312015-07-29 Pedro Alves <palves@redhat.com>
2932
2933 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2934
8b75dd3b
PA
29352015-07-29 Pedro Alves <palves@redhat.com>
2936
2937 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2938 at the top.
2939
dedad4e3
PA
29402015-07-29 Pedro Alves <palves@redhat.com>
2941
2942 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2943 (main): Call gdb_unbuffer_output.
2944 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2945 (main): Call gdb_unbuffer_output.
2946 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2947 (main): Call gdb_unbuffer_output.
2948 * gdb.base/call-strs.exp: Adjust to step over the
2949 gdb_unbuffer_output call.
2950 * gdb.base/catch-gdb-caused-signals.c: Include
2951 "../lib/unbuffer_output.c".
2952 (main): Call gdb_unbuffer_output.
2953 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2954 (main): Call gdb_unbuffer_output.
2955 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2956 (main): Call gdb_unbuffer_output.
2957 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2958 (main): Call gdb_unbuffer_output.
2959 * gdb.base/shlib-call.exp: Adjust to step over the
2960 gdb_unbuffer_output call.
2961 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2962 (main): Call gdb_unbuffer_output.
2963 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2964 (main): Call gdb_unbuffer_output.
2965 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2966 (main): Rename to ...
2967 (test): ... this.
2968 (main): Reimplement.
2969 * gdb.base/varargs.exp: Run to test instead of to main.
2970 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2971 (main): Call gdb_unbuffer_output.
2972
58789a91
PA
29732015-07-29 Pedro Alves <palves@redhat.com>
2974
2975 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2976 factore out from mi_continue_dprintf. For call-style dprintfs,
2977 expect dprintf output out of $inferior_spawn_id.
2978 (mi_continue_dprintf): Use mi_expect_dprintf.
2979 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2980 (main): Call gdb_unbuffer_output.
2981
e8376742
PA
29822015-07-29 Pedro Alves <palves@redhat.com>
2983
2984 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2985 (default_mi_gdb_start): Set inferior_spawn_id instead of
2986 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2987 gdb_spawn_id.
2988 (mi_gdb_test): Always expect inferior output from both
2989 $inferior_spawn_id and $gdb_spawn_id.
2990
08280010
PA
29912015-07-29 Pedro Alves <palves@redhat.com>
2992
2993 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2994 send_inferior and $inferior_spawn_id.
2995
4d30e432
PA
29962015-07-29 Pedro Alves <palves@redhat.com>
2997
2998 * gdb.gdb/complaints.exp (test_initial_complaints)
2999 (test_serial_complaints, test_short_complaints): Use
3000 gdb_test_stdio.
3001 (test_empty_complaint): Handle $inferior_spawn_id !=
3002 $gdb_spawn_id.
3003
0d30a335
PA
30042015-07-29 Pedro Alves <palves@redhat.com>
3005
3006 * gdb.base/varargs.exp: Use gdb_test_stdio.
3007
39413b29
PA
30082015-07-29 Pedro Alves <palves@redhat.com>
3009
3010 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3011
7cb000a9
PA
30122015-07-29 Pedro Alves <palves@redhat.com>
3013
3014 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3015
d7b8ac82
PA
30162015-07-29 Pedro Alves <palves@redhat.com>
3017
3018 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3019 parameter into two new parameters, "inf_result" and "gdb_result".
3020 Expect inferior output and gdb output from $inferior_spawn_id and
3021 $gdb_spawn_id, respectively. Adjust all callers.
3022
789c3a0c
PA
30232015-07-29 Pedro Alves <palves@redhat.com>
3024
3025 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3026 of gdb_test_sequence.
3027
77e760c3
PA
30282015-07-29 Pedro Alves <palves@redhat.com>
3029
3030 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3031 (saw_spurious_output): Expect inferior output from
3032 $inferior_spawn_id. Use gdb_test_stdio.
3033
8396d2cd
PA
30342015-07-29 Pedro Alves <palves@redhat.com>
3035
3036 * gdb.base/dprintf.exp: Use standard_testfile. Change
3037 prepare_for_testing call.
3038 (srcfile): Don't set.
3039 (restart): New procedure.
3040 (test_dprintf): New procecure, use to continue over dprintfs.
3041 (test_call, test_agent): New procedures, tests moved here.
3042 Restart gdb and recreate dprintfs. Adjust expected output.
3043
2051d61f
PA
30442015-07-29 Pedro Alves <palves@redhat.com>
3045
3046 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3047
452397af
PA
30482015-07-29 Pedro Alves <palves@redhat.com>
3049
3050 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3051
8aed9555
PA
30522015-07-29 Pedro Alves <palves@redhat.com>
3053
3054 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3055 gdb_test_stdio.
3056
188a61b4
PA
30572015-07-29 Pedro Alves <palves@redhat.com>
3058
3059 * lib/gdb.exp (gdb_test_stdio): New procedure.
3060
12264a45
PA
30612015-07-29 Pedro Alves <palves@redhat.com>
3062
3063 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3064
23ffc893
PA
30652015-07-29 Pedro Alves <palves@redhat.com>
3066
3067 * gdb.base/call-signal-resume.exp: Remove check for
3068 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3069 * gdb.base/unwindonsignal.exp: Likewise.
3070 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3071 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3072
65566918
PA
30732015-07-29 Pedro Alves <palves@redhat.com>
3074
3075 * gdb.base/siginfo-addr.c (pass): New function.
3076 (handler): Call it iff si_addr is correct.
3077 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3078 Set a breakpoint at "pass" and continue to it.
3079
d60a9221
SDJ
30802015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3081
3082 * gdb.python/py-objfile.exp: Make some tests have unique names.
3083 * gdb.python/py-pp-registration.exp: Likewise.
3084
bde40b8f
PA
30852015-07-28 Pedro Alves <palves@redhat.com>
3086
3087 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3088
13e1dec8
SM
30892015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3090
3091 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3092
da33c9a7
SM
30932015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3094
3095 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3096
077836f7
PP
30972015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3098
3099 * gdb.base/gdb-sigterm-2.exp: New test.
3100
b8cc7b2e
DE
31012015-07-25 Doug Evans <xdje42@gmail.com>
3102
3103 Revert:
3104 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3105 (workers/%.worker, build-perf): New rule.
3106 (GDB_PERFTEST_MODE): New variable.
3107 (check-perf): Use it.
3108 (clean): Clean up gdb.perf parallel build subdirs.
3109 * lib/build-piece.exp: New file.
3110 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3111 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3112 name.
3113 (standard_temp_file): Ditto.
3114 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3115 of $GDB_PARALLEL.
3116
c8bd4544
DE
31172015-07-24 Doug Evans <dje@google.com>
3118
3119 * gdb.perf/lib/perftest/utils.py: New file.
3120 * gdb.perf/gm-hello.cc: New file.
3121 * gdb.perf/gm-pervasive-typedef.cc: New file.
3122 * gdb.perf/gm-pervasive-typedef.h: New file.
3123 * gdb.perf/gm-std.cc: New file.
3124 * gdb.perf/gm-std.h: New file.
3125 * gdb.perf/gm-use-cerr.cc: New file.
3126 * gdb.perf/gm-utils.h: New file.
3127 * gdb.perf/gmonster-null-lookup.py: New file.
3128 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3129 * gdb.perf/gmonster-print-cerr.py: New file.
3130 * gdb.perf/gmonster-ptype-string.py: New file.
3131 * gdb.perf/gmonster-runto-main.py: New file.
3132 * gdb.perf/gmonster-select-file.py: New file.
3133 * gdb.perf/gmonster1-null-lookup.exp: New file.
3134 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3135 * gdb.perf/gmonster1-print-cerr.exp: New file.
3136 * gdb.perf/gmonster1-ptype-string.exp: New file.
3137 * gdb.perf/gmonster1-runto-main.exp: New file.
3138 * gdb.perf/gmonster1-select-file.exp: New file.
3139 * gdb.perf/gmonster1.cc: New file.
3140 * gdb.perf/gmonster1.exp: New file.
3141 * gdb.perf/gmonster2-null-lookup.exp: New file.
3142 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3143 * gdb.perf/gmonster2-print-cerr.exp: New file.
3144 * gdb.perf/gmonster2-ptype-string.exp: New file.
3145 * gdb.perf/gmonster2-runto-main.exp: New file.
3146 * gdb.perf/gmonster2-select-file.exp: New file.
3147 * gdb.perf/gmonster2.cc: New file.
3148 * gdb.perf/gmonster2.exp: New file.
3149
6eab34f3
DE
31502015-07-24 Doug Evans <dje@google.com>
3151
3152 * gdb.perf/README: New file.
3153 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3154 * lib/gen-perf-test.exp: New file.
3155
63738bfd
DE
31562015-07-24 Doug Evans <dje@google.com>
3157
3158 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3159 (PerfTest::startup): New function.
3160 (PerfTest::run): Return result of calling body.
3161 (PerfTest::assemble): Rewrite.
3162 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3163 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3164 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3165 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3166 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3167
7b606f95
DE
31682015-07-24 Doug Evans <dje@google.com>
3169
3170 * lib/gdb.exp (clean_restart): Make executable optional.
3171
a97b16b8
DE
31722015-07-24 Doug Evans <dje@google.com>
3173
3174 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3175 compiler_info references.
3176 * gdb.cp/temargs.exp: Ditto.
3177 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3178 (get_compiler_info): Early exit if already computed. Set compiler_info
3179 to "unknown" if there was a problem.
3180 (test_compiler_info): Add function comment. Call get_compiler_info.
3181
35baa57f
DE
31822015-07-24 Doug Evans <dje@google.com>
3183
3184 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3185 (workers/%.worker, build-perf): New rule.
3186 (GDB_PERFTEST_MODE): New variable.
3187 (check-perf): Use it.
3188 (clean): Clean up gdb.perf parallel build subdirs.
3189 * lib/build-piece.exp: New file.
3190 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3191 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3192 name.
3193 (standard_temp_file): Ditto.
3194 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3195 of $GDB_PARALLEL.
3196
6ebea266
DE
31972015-07-24 Doug Evans <dje@google.com>
3198
3199 * lib/future.exp (gdb_default_target_compile): New option
3200 "early_flags".
3201 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3202 --as-needed.
3203
1e76a7e9
SDJ
32042015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3205
3206 * gdb.base/catch-syscall.exp: Call gdb_exit before
3207 gdb_skip_xml_test.
3208
5068630a
PA
32092015-07-24 Pedro Alves <palves@redhat.com>
3210
3211 * gdb.python/py-events.exp: Accept output between the stop event
3212 and the prompt.
3213 * gdb.python/py-evsignal.exp: Likewise.
3214 * gdb.python/py-evthreads.exp: Likewise.
3215
77598427
PA
32162015-07-24 Pedro Alves <palves@redhat.com>
3217
3218 PR gdb/18717
3219 * gdb.threads/non-ldr-exit.c: New file.
3220 * gdb.threads/non-ldr-exit.exp: New file.
3221
11e6c98f
YQ
32222015-07-24 Yao Qi <yao.qi@linaro.org>
3223
3224 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3225 restarting process.
3226
51aee833
YQ
32272015-07-24 Yao Qi <yao.qi@linaro.org>
3228
3229 * gdb.server/ext-restart.exp: New file.
3230
8cfe207c
YQ
32312015-07-24 Yao Qi <yao.qi@linaro.org>
3232
3233 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3234 argument options.
3235 * gdb.server/ext-wrapper.exp: New file.
3236
cc12ce38
DE
32372015-07-23 Doug Evans <dje@google.com>
3238
3239 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3240 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3241
d0d84780
PMR
32422015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3243
3244 * gdb.ada/var_arr_typedef.exp: New testcase.
3245 * gdb.ada/var_arr_typedef/pack.adb: New file.
3246 * gdb.ada/var_arr_typedef/pack.ads: New file.
3247 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3248
8b558f79
JB
32492015-07-20 Joel Brobecker <brobecker@adacore.com>
3250
3251 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3252
775a3298
JK
32532015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3254
3255 * gdb.arch/i386-biarch-core.exp: Replace istarget
3256 by "complete set gnutarget". Remove expectation for the "core-file"
3257 command.
3258
db1ff28b
JK
32592015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3260
3261 Revert the previous commit:
3262 Tests for validate symbol file using build-id.
3263
0a94970d
JK
32642015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3265
3266 Tests for validate symbol file using build-id.
3267 * gdb.base/solib-mismatch-lib.c: New file.
3268 * gdb.base/solib-mismatch-libmod.c: New file.
3269 * gdb.base/solib-mismatch.c: New file.
3270 * gdb.base/solib-mismatch.exp: New file.
3271
03346981
SL
32722015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3273
3274 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3275 nios2-*-linux*.
3276 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3277 * gdb.base/siginfo.exp: Likewise.
3278 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3279
42422cc7
PL
32802015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3281
3282 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3283 Move it to ...
3284 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3285 ... here.
3286 * gdb.trace/range-stepping.exp: Check that the target supports
3287 range stepping.
3288
cfa68bae
JK
32892015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3290
3291 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3292
8ffdba26
PA
32932015-07-14 Pedro Alves <palves@redhat.com>
3294
3295 * gdb.base/killed-outside.exp: New file.
3296 * gdb.base/killed-outside.c: New file.
3297
218a5a11
JK
32982015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3299
3300 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3301 (n at main): New.
3302 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3303
e03ed3c6
AA
33042015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3305
3306 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3307 infcall tests instead of setting up for KFAIL.
3308
485668e5
MM
33092015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3310
3311 * gdb.btrace/record_goto-step.exp: New.
3312
08464196
JK
33132015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3314
3315 PR compile/18484
3316 * gdb.compile/compile.c (struct struct_type): Add volatile to
3317 selffield's type.
3318 * gdb.compile/compile.exp
3319 (compile code struct_object.selffield = &struct_object): Skip further
3320 struct_object tests if this one xfails.
3321
bcf5c1d9
RC
33222015-07-08 Robert O'Callahan <robert@ocallahan.org>
3323
3324 PR exp/18617
3325 * gdb.trace/ax.exp: Add test.
3326
4931af25
YQ
33272015-07-07 Yao Qi <yao.qi@linaro.org>
3328
3329 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3330 instead of istarget "aarch64*-*-*".
3331 * gdb.arch/aarch64-fp.exp: Likewise.
3332 * gdb.base/float.exp: Likewise.
3333 * gdb.reverse/aarch64.exp: Likewise.
3334 * lib/gdb.exp (is_aarch64_target): New proc.
3335
9fcf688e
YQ
33362015-07-07 Yao Qi <yao.qi@linaro.org>
3337
3338 * lib/gdb.exp (is_aarch32_target): New proc.
3339 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3340 instead of "istarget "arm*-*-*"".
3341 * gdb.arch/arm-disp-step.exp: Likewise.
3342 * gdb.arch/thumb-bx-pc.exp: Likewise.
3343 * gdb.arch/thumb-prologue.exp: Likewise.
3344 * gdb.arch/thumb-singlestep.exp: Likewise.
3345 * gdb.base/disp-step-syscall.exp: Likewise.
3346 * gdb.base/float.exp: Likewise.
3347
fbd8d50d
YQ
33482015-07-07 Yao Qi <yao.qi@linaro.org>
3349
3350 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3351 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3352
71be1fdc
YQ
33532015-07-07 Yao Qi <yao.qi@linaro.org>
3354
3355 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3356 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3357 if it exists.
3358 * gdb.multi/multi-arch.exp: Likewise.
3359
3e221d36
SM
33602015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3361
3362 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3363 print.
3364
d441430b
YQ
33652015-07-07 Yao Qi <yao.qi@linaro.org>
3366
3367 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3368
06f810bd
MG
33692015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3370
3371 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3372 '[' and ']' characters.
3373
5e61e7c0
IB
33742015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3375
3376 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3377
28bf096c
PA
33782015-06-29 Pedro Alves <palves@redhat.com>
3379
3380 PR threads/18127
3381 * gdb.threads/hand-call-new-thread.c: New file.
3382 * gdb.threads/hand-call-new-thread.c: New file.
3383
ee93cd5e
KS
33842015-06-26 Keith Seitz <keiths@redhat.com>
3385 Doug Evans <dje@google.com>
3386
3387 PR 16253
3388 * gdb.cp/var-tag-2.cc: New file.
3389 * gdb.cp/var-tag-3.cc: New file.
3390 * gdb.cp/var-tag-4.cc: New file.
3391 * gdb.cp/var-tag.cc: New file.
3392 * gdb.cp/var-tag.exp: New file.
3393
fc637f04
PP
33942015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3395
3396 * gdb.base/history-duplicates.exp: New test.
3397
2e52ae68
PP
33982015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3399
3400 * gdb.base/completion.exp: Test the completion of the "focus"
3401 command.
3402
6e22494e
JK
34032015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3404
3405 * gdb.arch/amd64-prologue-skip.S: New file.
3406 * gdb.arch/amd64-prologue-skip.exp: New file.
3407
bf7b9cd9
SM
34082015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3409
3410 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3411 is_address_zero_readable check.
3412
201e8dfd
PB
34132015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3414
3415 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3416 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3417
5cd867b4
YQ
34182015-06-24 Yao Qi <yao.qi@linaro.org>
3419
3420 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3421 linux targets.
3422
4d7be007
YQ
34232015-06-24 Yao Qi <yao.qi@linaro.org>
3424
3425 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3426 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3427 * gdb.base/siginfo-thread.exp: Likewise.
3428
07fcd301
YQ
34292015-06-22 Yao Qi <yao.qi@linaro.org>
3430
3431 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3432
52042a00
YQ
34332015-06-22 Yao Qi <yao.qi@linaro.org>
3434
3435 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3436 aarch64*-*-*.
3437 (skip_hw_watchpoint_tests): Likewise.
3438
74bd41ce
PP
34392015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3440
3441 * gdb.base/gdbinit-history.exp: Test the interaction between
3442 setting GDBHISTSIZE and setting the history size via .gdbinit.
3443
bc460514
PP
34442015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3445
3446 PR gdb/16999
3447 * gdb.base/gdbhistsize-history.exp: New test.
3448
b58c513b
PP
34492015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3450
3451 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3452 with GDBHISTSIZE.
3453 * gdb.base/readline.exp: Likewise.
3454
92046791
YQ
34552015-06-17 Yao Qi <yao.qi@linaro.org>
3456
3457 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3458 line.
3459
2093d2d3
PP
34602015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3461
3462 * gdb.base/gdbinit-history.exp: Add test case to check that
3463 an unlimited history file does not get truncated on exit.
3464
e6c693af
AA
34652015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3466
3467 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3468 (VECTOR): New macro. Use it...
3469 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3470 ...for these typedefs.
3471 (int8, char1, int1, double1): New typedefs.
3472 (struct just_int2, struct two_int2): New structures.
3473 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3474 (add_structvecs, add_singlevecs): New functions.
3475 (main): Call add_some_intvecs twice.
3476 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3477 the compile and exit upon failure. Try compiling for the "native"
3478 architecture. Test inferior function calls with vector arguments
3479 and vector return value handling with "finish" and "return".
3480
c74f7d1c
JT
34812015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3482
3483 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3484 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3485 PE file.
3486 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3487
98aa42ee
AT
34882015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3489
3490 PR breakpoints/16465
3491 * gdb.mi/mi-dprintf-pending.c: New file.
3492 * gdb.mi/mi-dprintf-pending.exp: New test.
3493 * gdb.mi/mi-dprintf-pendshr.c: New file.
3494
7d73c23c 34952015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 3496 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
3497
3498 * gdb.arch/i386-mpx-map.c: New file.
3499 * gdb.arch/i386-mpx-map.exp: New File.
3500
35012015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3502
3503 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3504 * gdb.arch/i386-mpx.exp: Indentation fixed.
3505
35062015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3507
3508 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3509 function and improved indentation.
3510 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3511 gdb_test_multiple. Added additional tests to skip the test.
3512
35132015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3514
3515 * gdb.arch/i386-avx512.c: Change path in include file.
3516 * gdb.arch/i386-avx512.exp: Change include dir path
3517 compilation flag.
3518 * gdb.arch/i386-mpx.c: Change path in include file.
3519 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3520 flag.
3521
d5eba19a
JK
35222015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3523
3524 * gdb.compile/compile-print.exp (compile print *vararray@3)
3525 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3526
7f361056
JK
35272015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3528
3529 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3530 (do not keep jit in memory): ... this.
3531 (expect 5): Change it to ...
3532 (expect no 5): ... this.
3533
3b462ec2
SM
35342015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3535
3536 PR gdb/15564
3537 * gdb.mi/mi-detach.exp: New file.
3538
e0619de6
JK
35392015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3540
3541 PR symtab/18392
3542 * gdb.arch/amd64-tailcall-self.S: New file.
3543 * gdb.arch/amd64-tailcall-self.c: New file.
3544 * gdb.arch/amd64-tailcall-self.exp: New file.
3545
e970cb34
DB
35462015-05-28 Don Breazeal <donb@codesourcery.com>
3547
3548 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3549 tests for remote targets by checking is_target_gdbserver.
3550
b2e2f908
DE
35512015-05-27 Doug Evans <dje@google.com>
3552
3553 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3554 * gdb.dwarf2/opaque-type-lookup.c: New file.
3555 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3556
82c7be31
DE
35572015-05-26 Doug Evans <dje@google.com>
3558
3559 * gdb.cp/iostream.cc: New file.
3560 * gdb.cp/iostream.exp: New file.
3561
b4f54984
DE
35622015-05-26 Doug Evans <dje@google.com>
3563
3564 * gdb.dwarf2/dw2-op-call.exp: Update.
3565 * gdb.dwarf2/dw4-sig-types.exp: Update.
3566 * gdb.dwarf2/implptr.exp: Update.
3567 * gdb.mi/mi-cmd-param-changed.exp: Update.
3568
4ea6efe9
DE
35692015-05-26 Doug Evans <dje@google.com>
3570
3571 * gdb.python/py-lazy-string.c: New file.
3572 * gdb.python/py-lazy-string.exp: New file.
3573 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3574 (main): Update. Add estring3.
3575 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3576 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3577
f6bb7db3
YQ
35782015-05-26 Omair Javaid <omair.javaid@linaro.org>
3579 Yao Qi <yao.qi@linaro.org>
3580
3581 * gdb.reverse/aarch64.c: New.
3582 * gdb.reverse/aarch64.exp: New.
3583
a81bfbd0
OJ
35842015-05-26 Omair Javaid <omair.javaid@linaro.org>
3585
3586 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
3587 (supports_reverse): Likewise.
3588
158bf1b4
PP
35892015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3590
3591 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3592 Use with_test_prefix.
3593
a0145030
AB
35942015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3595
3596 * gdb.base/completion.exp: Add test for completion of layout
3597 names.
3598
ebe3b578
AB
35992015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3600
3601 * lib/gdb.exp (skip_tui_tests): New proc.
3602 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3603
84204ed7
PA
36042015-05-19 Pedro Alves <palves@redhat.com>
3605
3606 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3607 Save the whole env array instead of just HOME. Unset HISTSIZE in
3608 the environment while testing. Restore whole environment
3609 afterwards.
3610
37442ce1
DE
36112015-05-16 Doug Evans <xdje42@gmail.com>
3612
3613 * gdb.guile/scm-ports.c: New file.
3614 * gdb.guile/scm-ports.exp: Add memory port tests.
3615
36de76f9
JK
36162015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3617
3618 * gdb.compile/compile-print.c: New file.
3619 * gdb.compile/compile-print.exp: New file.
3620
3a9558c4
JK
36212015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3622
3623 * gdb.compile/compile-ops.exp: Cast param to void.
3624 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3625 (compile code struct_object.selffield = &struct_object): Add xfail.
3626
aa715135
JG
36272015-05-15 Joel Brobecker <brobecker@adacore.com>
3628
3629 * gdb.ada/arr_enum_with_gap: New testcase.
3630
931e5bc3
JG
36312015-05-15 Joel Brobecker <brobecker@adacore.com>
3632
3633 * gdb.ada/byte_packed_arr: New testcase.
3634
9cd4d857
JB
36352015-05-15 Joel Brobecker <brobecker@adacore.com>
3636
3637 * gdb.ada/pckd_neg: New testcase.
3638
ebfd00d2
PP
36392015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3640
3641 PR gdb/17820
3642 * gdb.base/gdbinit-history.exp: New test.
3643 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3644 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3645
4c082a81
SC
36462015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3647
3648 * gdb.python/py-xmethods.cc: Enhance test case.
3649 * gdb.python/py-xmethods.exp: New tests.
3650 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3651 function.
3652 (B_indexoper): Likewise.
3653 (global_dm_list) : Add new xmethod worker functions.
3654
f7797074
SDJ
36552015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3656
3657 * gdb.base/coredump-filter.exp: Correctly unset
3658 "coredump_var_addr" array.
3659
a4674e4e
PA
36602015-05-08 Pedro Alves <palves@redhat.com>
3661
3662 * gdb.server/non-existing-program.exp: Unset spawn_id.
3663
df2eb078
SC
36642015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3665
3666 PR python/18291
3667 * gdb.python/py-xmethods.exp: Add tests.
3668
422349a3
YQ
36692015-05-08 Yao Qi <yao.qi@linaro.org>
3670
3671 PR gdb/18208
3672 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3673 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3674 function set_coredump_filter, and remove remote_exec call.
3675 Remove argument ipid. Callers update.
3676 (top level): Don't get inferior's PID.
3677
63fc80ce
AA
36782015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3679
3680 * gdb.base/watch_thread_num.exp: Skip test on targets without
3681 access watchpoints.
3682
80ad801e
PA
36832015-05-06 Pedro Alves <palves@redhat.com>
3684
3685 PR server/18081
3686 * gdb.server/non-existing-program.exp: New file.
3687
0fa7fe50
JB
36882015-05-05 Joel Brobecker <brobecker@adacore.com>
3689
3690 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3691
3ea89b92
PMR
36922015-05-05 Joel Brobecker <brobecker@adacore.com>
3693
3694 * gdb.ada/out_of_line_in_inlined: New testcase.
3695
87b8eff0
JB
36962015-05-05 Joel Brobecker <brobecker@adacore.com>
3697
3698 * gdb.ada/var_rec_arr: New testcase.
3699
5fccc635
YQ
37002015-04-30 Yao Qi <yao.qi@linaro.org>
3701
3702 * gdb.base/break-idempotent.exp: If
3703 skip_hw_watchpoint_multi_tests returns true, skip the tests
3704 on "rwatch" and "awatch".
3705
42d38f42
YQ
37062015-04-30 Yao Qi <yao.qi@linaro.org>
3707
3708 * gdb.base/relativedebug.exp: Invoke gdb command
3709 "info sharedlibrary", and if libc.so doesn't have debug info,
3710 skip the test.
3711
2ce1cdbf
DE
37122015-04-29 Doug Evans <dje@google.com>
3713
3714 * gdb.python/py-xmethods.exp: Add ptype tests.
3715 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3716 get_result_type method.
3717
f24a38c5
LM
37182015-04-29 Luis Machado <lgustavo@codesourcery.com>
3719
3720 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3721 the target does not support hardware watchpoints.
3722
ecbf2b3c
LM
37232015-04-29 Luis Machado <lgustavo@codesourcery.com>
3724
3725 * gdb.base/break-always.exp: Abort testing if writing to memory
3726 causes an error.
3727
34f5f757
DE
37282015-04-28 Doug Evans <dje@google.com>
3729
3730 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3731 * gdb.python/py-pp-registration.exp: ... here. New file.
3732 * gdb.python/py-pp-registration.c: New file.
3733 * gdb.python/py-pp-registration.py: New file.
3734
69b4374a
DE
37352015-04-28 Doug Evans <dje@google.com>
3736
3737 * gdb.python/py-bad-printers.c: New file.
3738 * gdb.python/py-bad-printers.py: New file.
3739 * gdb.python/py-bad-printers.exp: New file.
3740
59fb7612
SS
37412015-04-28 Sasha Smundak <asmundak@google.com>
3742
3743 * gdb.python/py-type.exp: New test.
3744
2631b16a
AW
37452015-04-28 Andy Wingo <wingo@igalia.com>
3746
3747 * gdb.python/py-parameter.exp:
3748 * gdb.guile/scm-parameter.exp: Escape the path that we are
3749 matching against, as it might contain characters that are special
3750 to regular expressions.
3751
460efde1
JB
37522015-04-27 Joel Brobecker <brobecker@adacore.com>
3753
3754 * gdb.ada/rec_comp: New testcase.
3755
2d369d8e
SDJ
37562015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3757
3758 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3759 before using it.
3760
cf75d6c3
AB
37612015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3762
3763 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3764 new tests for verilog output.
3765
8dbe7ca5
YQ
37662015-04-24 Yao Qi <yao.qi@linaro.org>
3767
3768 * boards/remote-gdbserver-on-localhost.exp: New file.
3769
4ef9fb2f
PA
37702015-04-23 Pedro Alves <palves@redhat.com>
3771
3772 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3773 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3774 "end of file", remove $inferior_spawn_id from the indirect list.
3775
0a803169
PA
37762015-04-23 Pedro Alves <palves@redhat.com>
3777
3778 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3779
749ef8f8
PA
37802015-04-23 Pedro Alves <palves@redhat.com>
3781
3782 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3783 on $any_spawn_id instead of only on $gdb_spawn_id.
3784
8aae4344
PM
37852015-04-21 Pierre Muller <muller@sourceware.org>
3786
3787 PR pascal/17815
3788 * lib/pascal.exp (gpc_compile): Add new option "class".
3789 (fpc_compile): Likewise.
3790 * gdb.pascal/case-insensitive-symbols.pas: New file.
3791 * gdb.pascal/case-insensitive-symbols.exp: New file.
3792
1586c8fb
GB
37932015-04-20 Gary Benson <gbenson@redhat.com>
3794
3795 * gdb.base/attach.exp: Fix three extended remote failures.
3796
1b6e6f5c
GB
37972015-04-17 Gary Benson <gbenson@redhat.com>
3798
3799 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3800 the main executable over the remote protocol.
3801
e797481d
PA
38022015-04-16 Pedro Alves <palves@redhat.com>
3803
3804 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3805 a new gdbserver if gdbserver_reconnect_p is set.
3806
1ca99c42
PA
38072015-04-16 Pedro Alves <palves@redhat.com>
3808
3809 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3810 is set, don't exit gdbserver.
3811
af9fd6f8
AA
38122015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3813
3814 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3815 appropriate .insn, such that an older assembler can be used.
3816 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3817 the z/Architecture instruction set on 31-bit targets as well.
3818
04ff1e61
AA
38192015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3820
3821 * gdb.go/handcall.exp: Remove all logic related to the first
3822 breakpoint and rely on go_runto_main instead.
3823 * gdb.go/strings.exp: Likewise.
3824 * gdb.go/unsafe.exp: Likewise.
3825 * gdb.go/hello.exp: Likewise. Also rename the remaining
3826 breakpoint marker to "breakpoint 1".
3827 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3828 * gdb.go/strings.go: Likewise.
3829 * gdb.go/unsafe.go: Likewise.
3830 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3831 "set breakpoint 2 here" and rename the remaining breakpoint marker
3832 to "breakpoint 1".
3833
40d2f8d6
SM
38342015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3835
3836 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3837 if itertools.imap is not present.
3838 * gdb.python/py-objfile.exp: Add parentheses.
3839 * gdb.python/py-type.exp: Same.
3840 * gdb.python/py-unwind-maint.py: Same.
3841
8cbc97c6
YQ
38422015-04-15 Yao Qi <yao.qi@linaro.org>
3843
3844 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3845 of ":$ptr_size" and set its form explicitly.
3846
45fd756c
YQ
38472015-04-15 Pedro Alves <palves@redhat.com>
3848 Yao Qi <yao.qi@linaro.org>
3849
3850 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3851 timeout by factor of 4.
3852 (test_regular_watch): Likewise.
3853 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3854 * gdb.reverse/sigall-reverse.exp: Likewise.
3855 * gdb.reverse/until-precsave.exp: Likewise.
3856 * lib/gdb.exp (with_timeout_factor): New proc.
3857 (gdb_expect): Move some code to ...
3858 (get_largest_timeout): ... here. New procedure.
3859
9e811bc3
LM
38602015-04-14 Luis Machado <lgustavo@codesourcery.com>
3861
3862 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3863
0ff6fcb2
LM
38642015-04-13 Luis Machado <lgustavo@codesourcery.com>
3865
3866 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3867 to write to the .text section.
3868
7578d5f7
LM
38692015-04-13 Luis Machado <lgustavo@codesourcery.com>
3870
3871 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3872 Handle the case of targets that do not provide PID information.
3873
2efe15c4
YQ
38742015-04-13 Yao Qi <yao.qi@linaro.org>
3875
3876 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3877 and use expect instead of gdb_expect.
3878
8cd8f2f8
SDJ
38792015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3880
3881 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3882 "coredump_var_addr" to avoid naming conflict with other testcases.
3883
9ee41772
PA
38842015-04-10 Pedro Alves <palves@redhat.com>
3885
3886 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3887 gdb_test_sequence and gdb_assert.
3888
07473109
PA
38892015-04-10 Pedro Alves <palves@redhat.com>
3890
3891 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3892 test messages that don't include the breakpoint address.
3893
de3db44c
YQ
38942015-04-10 Yao Qi <yao.qi@linaro.org>
3895
3896 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3897 false for some offset and width combinations which aren't
3898 supported by linux kernel.
3899
c79d856c
PA
39002015-04-10 Pedro Alves <palves@redhat.com>
3901
3902 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3903 procedure, factored out from ...
3904 (top level): ... here. Add "set displaced-stepping" testing axis.
3905 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3906 parameter "displaced". Use it.
3907 (top level): Use foreach and add "set displaced-stepping" testing
3908 axis.
3909
ebc90b50
PA
39102015-04-10 Pedro Alves <palves@redhat.com>
3911
3912 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3913 Remove comment.
3914 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3915 both the address of the instruction that triggers the watchpoint
3916 and the address of the instruction immediately after, and use
3917 those addresses for the test. Fix comment.
3918
8f572e5c
PA
39192015-04-10 Pedro Alves <palves@redhat.com>
3920
3921 * gdb.base/sigstep.exp (breakpoint_to_handler)
3922 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3923 Test "backtrace" in handler.
3924 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3925 (top level): Add new "displaced" test axis to
3926 breakpoint_to_handler, breakpoint_to_handler_entry and
3927 breakpoint_over_handler.
3928
8d707a12
PA
39292015-04-10 Pedro Alves <palves@redhat.com>
3930
3931 PR gdb/18216
3932 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3933
ef713951
YQ
39342015-04-10 Yao Qi <yao.qi@linaro.org>
3935
3936 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3937 (test_add_rn_pc): New function.
3938 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3939 (top level): Invoke test_add_rn_pc.
3940
906d60cf
PA
39412015-04-10 Pedro Alves <palves@redhat.com>
3942
3943 PR gdb/13858
3944 * gdb.base/step-over-no-symbols.exp: New file.
3945
f2983cc3
AW
39462015-04-09 Andy Wingo <wingo@igalia.com>
3947
3948 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3949 after the Python tests.
3950
6d62641c
SDJ
39512015-04-08 Keith Seitz <keiths@redhat.com>
3952
3953 PR python/16699
3954 * gdb.python/py-completion.exp: New tests for completion.
3955 * gdb.python/py-completion.py (CompleteLimit1): New class.
3956 (CompleteLimit2): Likewise.
3957 (CompleteLimit3): Likewise.
3958 (CompleteLimit4): Likewise.
3959 (CompleteLimit5): Likewise.
3960 (CompleteLimit6): Likewise.
3961 (CompleteLimit7): Likewise.
3962
f3770638
PA
39632015-04-08 Pedro Alves <palves@redhat.com>
3964
3965 PR gdb/18214
3966 PR gdb/18216
3967 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3968 function.
3969 (main): Install it as SIGUSR1 handler.
3970 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3971 parameter. Always use "setup" as prefix. Toggle "set
3972 displaced-stepping" off/on depending on global. Don't switch to
3973 thread 1 here.
3974 (top level): Add displaced stepping "off/on" test axis. Update
3975 "setup" calls. Wrap each subtest with with_test_prefix. Test
3976 continuing with a queued signal in each thread.
3977
4496bed7
PA
39782015-04-08 Pedro Alves <palves@redhat.com>
3979
3980 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3981 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3982 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3983 Return early if running to main fails.
3984 * gdb.trace/while-stepping.exp: Likewise.
3985
b97fde92
PA
39862015-04-07 Pedro Alves <palves@redhat.com>
3987
3988 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3989 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3990 interact with inferior program.
3991
f71c18e7
PA
39922015-04-07 Pedro Alves <palves@redhat.com>
3993
3994 * lib/gdb.exp (inferior_spawn_id): New global.
3995 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3996 spawn id after processing the user code.
3997 (default_gdb_start): Set inferior_spawn_id.
3998 (send_inferior): New procedure.
3999 * lib/gdbserver-support.exp (gdbserver_start): Set
4000 inferior_spawn_id.
4001 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4002
6423214f
PA
40032015-04-07 Pedro Alves <palves@redhat.com>
4004
4005 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4006 * lib/gdbserver-support.exp (gdbserver_start): Make
4007 $server_spawn_id global.
4008 (gdbserver_start): Don't wait for gdbserver's spawn id with
4009 expect_background.
4010 (close_gdbserver): New procedure.
4011 (gdb_exit): Rename the default version and reimplement.
4012
71c0ee8c
PA
40132015-04-07 Pedro Alves <palves@redhat.com>
4014
72f4393d 4015 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
4016 append the substituted item, not the original item.
4017
203bc29b
PA
40182015-04-07 Pedro Alves <palves@redhat.com>
4019
4020 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4021 gdb_expect.
4022
508a3ddf
PA
40232015-04-07 Pedro Alves <palves@redhat.com>
4024
4025 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4026 output appearing once only.
4027
9f6dbe2b
PA
40282015-04-07 Pedro Alves <palves@redhat.com>
4029
4030 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4031 that doesn't expect anything. Return early if running to main
4032 fails.
4033
337532fa
YQ
40342015-04-07 Yao Qi <yao.qi@linaro.org>
4035
4036 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4037 (child_function): Call alarm.
4038 (main): Move call to alarm into the loop.
4039 * gdb.threads/non-stop-fair-events.exp: Build program with
4040 -DTIMEOUT=$timeout.
4041
01b622d4
DE
40422015-04-06 Doug Evans <xdje42@gmail.com>
4043
4044 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4045 Fix dest parameter to board_info.
4046 (fpc_compile): Ditto.
4047 (gdb_compile_pascal): Rename dest arg to destfile.
4048
961f4160
PMR
40492015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4050
4051 * gdb.ada/funcall_ref.exp: New file.
4052 * gdb.ada/funcall_ref/foo.adb: New file.
4053
cafda597
YQ
40542015-04-02 Yao Qi <yao.qi@linaro.org>
4055
4056 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4057 is remote.
4058
fed040c6
GB
40592015-04-02 Gary Benson <gbenson@redhat.com>
4060
4061 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4062
d11916aa
SS
40632015-04-01 Sasha Smundak <asmundak@google.com>
4064
4065 * gdb.python/py-unwind-maint.c: New file.
4066 * gdb.python/py-unwind-maint.exp: New test.
4067 * gdb.python/py-unwind-maint.py: New file.
4068 * gdb.python/py-unwind.c: New file.
4069 * gdb.python/py-unwind.exp: New test.
4070 * gdb.python/py-unwind.py: New test.
4071
a1471180
PA
40722015-04-01 Pedro Alves <palves@redhat.com>
4073
4074 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4075 to fail instead of non-existent $test.
4076
0bbeccb1
PA
40772015-04-01 Pedro Alves <palves@redhat.com>
4078
4079 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4080 GDBFLAGS if not empty.
4081
3c724c8c
PMR
40822015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4083
4084 * gdb.ada/complete.exp: Remove "multi_line".
4085 * gdb.ada/info_exc.exp: Remove "multi_line".
4086 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4087 * gdb.ada/ptype_field.exp: Remove "multi_line".
4088 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4089 * gdb.ada/tagged.exp: Remove "multi_line".
4090 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4091 [multi_line ...]
4092 * gdb.btrace/delta.exp: Likewise.
4093 * gdb.btrace/exception.exp: Likewise.
4094 * gdb.btrace/function_call_history.exp: Likewise.
4095 * gdb.btrace/instruction_history.exp: Likewise.
4096 * gdb.btrace/nohist.exp: Likewise.
4097 * gdb.btrace/record_goto.exp: Likewise.
4098 * gdb.btrace/segv.exp: Likewise.
4099 * gdb.btrace/stepi.exp: Likewise.
4100 * gdb.btrace/tailcall.exp: Likewise.
4101 * gdb.btrace/unknown_functions.exp: Likewise.
4102 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4103 * lib/gdb.exp: Add the "multi_line" helper.
4104
4eec2deb
PA
41052015-04-01 Pedro Alves <palves@redhat.com>
4106
4107 * gdb.threads/tid-reuse.c: New file.
4108 * gdb.threads/tid-reuse.exp: New file.
4109
df8411da
SDJ
41102015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4111
4112 PR corefiles/16092
4113 * gdb.base/coredump-filter.c: New file.
4114 * gdb.base/coredump-filter.exp: Likewise.
4115
6ef37366
PM
41162015-03-27 Petr Machata <pmachata@redhat.com>
4117
4118 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4119 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4120 (Dwarf::assemble): Initialize them.
4121 (Dwarf::lines): New function.
4122
7ec911b0
JT
41232015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4124
4125 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4126 SYMBOL_PREFIX for x86_64-*-cygwin.
4127
ff908ebf
AW
41282015-03-26 Andy Wingo <wingo@igalia.com>
4129
4130 PR symtab/18148
4131 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4132 const_value but not a location.
4133 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4134 location defined in non-main CUs are visible.
4135
6d5f0679
YQ
41362015-03-26 Yao Qi <yao.qi@linaro.org>
4137
4138 PR testsuite/18139
4139 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4140 Add a line number entry for the same line.
4141 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4142 Add a line number entry for the same line.
4143
2898689b
YQ
41442015-03-26 Yao Qi <yao.qi@linaro.org>
4145
4146 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4147 .int 0.
4148 (func): Likewise. Add .Lfunc_1 label.
4149 Use .Lfunc_1 label.
4150 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4151 .int 0.
4152 (func): Likewise.
4153 Use .Lfunc_1 label.
4154
85180498
YQ
41552015-03-26 Yao Qi <yao.qi@linaro.org>
4156
4157 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4158 Call gdb_compile instead to compile each .s files without debug
4159 information.
4160
8aa08a8d
YQ
41612015-03-26 Yao Qi <yao.qi@linaro.org>
4162
4163 * gdb.base/savedregs.exp (process_saved_regs): Make
4164 "Saved registers:" optional in the pattern.
4165
66849923
MM
41662015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4167
4168 * gdb.btrace/next.exp: Merged into step.exp.
4169 * gdb.btrace/finish.exp: Merged into step.exp.
4170 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4171 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4172 "record goto" and checking the exact replay position.
4173 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4174 check for "Recording format" in "info record" output.
4175 * gdb.btrace/record_goto.exp: Choose test file based on target.
4176 * gdb.btrace/x86-record_goto.S: Renamed into ...
4177 * gdb.btrace/x86_64-record_goto.S: ... this.
4178 * gdb.btrace/i686-record_goto.S: New.
4179 * gdb.btrace/x86-tailcall.S: Renamed into ...
4180 * gdb.btrace/x86_64-tailcall.S: ... this.
4181 * gdb.btrace/i686-tailcall.S: New.
4182 * gdb.btrace/x86-tailcall.c: Renamed into ...
4183 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4184 separate statements. Update test.
4185 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4186 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4187 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4188 * gdb.btrace/tailcall.exp: Choose test file based on target.
4189 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4190
11cc1b74
MM
41912015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4192
4193 * gdb.btrace/exception.exp: Increase BTS buffer size.
4194
a25d8bf9
PA
41952015-03-24 Pedro Alves <palves@redhat.com>
4196
4197 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4198
856e7dd6
PA
41992015-03-24 Pedro Alves <palves@redhat.com>
4200
4201 * gdb.threads/schedlock.exp (test_step): No longer expect that
4202 "set scheduler-locking step" with "next" over a function call runs
4203 threads unlocked.
4204
ad235a41
AT
42052015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4206
4207 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4208
15630549
AT
42092015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4210
4211 PR breakpoints/16466
4212 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4213 * gdb.mi/mi-pending.c (thread_func): New function.
4214 (int main): Add threading support required.
4215 * gdb.mi/mi-pending.exp: Add tests for this issue.
4216 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4217 (pendfunc2): Remove stdio dependency.
4218 * gdb.mi/mi-pendshr2.c: New file.
4219
693dca06
KS
42202015-03-23 Keith Seitz <keiths@redhat.com>
4221
4222 * gdb.linespec/keywords.c: New file.
4223 * gdb.linespec/keywords.exp: New file.
4224
7e993ebf
KS
42252015-03-23 Keith Seitz <keiths@redhat.com>
4226
4227 PR gdb/18021
4228 * gdb.dwarf2/staticvirtual.exp: New test.
4229
bc23328c
JK
42302015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4231
4232 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4233 * README: Remove HP-UX and gdb.hp.
4234 (configuration):
4235 * configure: Regenerate.
4236 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4237 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4238 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4239 gdb.hp/gdb.defects/Makefile.
4240 * gdb.hp/Makefile.in: File deleted.
4241 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4242 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4243 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4244 * gdb.hp/gdb.aCC/run.c: File deleted.
4245 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4246 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4247 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4248 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4249 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4250 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4251 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4252 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4253 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4254 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4255 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4256 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4257 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4258 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4259 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4260 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4261 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4262 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4263 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4264 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4265 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4266 * gdb.hp/gdb.compat/average.c: File deleted.
4267 * gdb.hp/gdb.compat/sum.c: File deleted.
4268 * gdb.hp/gdb.compat/xdb.c: File deleted.
4269 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4270 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4271 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4272 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4273 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4274 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4275 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4276 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4277 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4278 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4279 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4280 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4281 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4282 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4283 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4284 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4285 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4286 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4287 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4288 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4289 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4290 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4291 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4292 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4293 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4294 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4295 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4296 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4297 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4298 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4299 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4300 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4301 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4302 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4303 * gdb.hp/tools/odump: File deleted.
4304
8bf3b159
PA
43052015-03-19 Pedro Alves <palves@redhat.com>
4306
4307 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4308 (saw_thread_3): New globals.
4309 (top level): Increment them when an event for the corresponding
4310 thread is seen.
4311 (no thread starvation): New test.
4312
eb54c8bf
PA
43132015-03-19 Pedro Alves <palves@redhat.com>
4314
4315 * gdb.threads/continue-pending-status.c: New file.
4316 * gdb.threads/continue-pending-status.exp: New file.
4317
32d2e5d6
PA
43182015-03-18 Pedro Alves <palves@redhat.com>
4319
4320 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4321 Use gdb_is_target_remote instead of is_remote. Use
4322 gdb_test_multiple instead of gdb_expect. Exit early if
4323 gdb_test_multiple hits its internal matches. Tighten stepi tests
4324 expected output. Fail on exit with any signal, instead of just
4325 SIGILL.
4326
f68f11b7
YQ
43272015-03-18 Yao Qi <yao.qi@linaro.org>
4328
4329 PR tdep/18107
4330 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4331 variable.
4332 * gdb.base/catch-syscall.exp: Don't skip it on
4333 aarch64*-*-linux* target. Remove elements in all_syscalls.
4334 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4335 target.
4336 (setup_all_syscalls): New proc.
4337
ca5fd19b
YQ
43382015-03-16 Yao Qi <yao.qi@linaro.org>
4339
4340 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4341 (top level): Skip tests if valid_addr_p returns false for
4342 $cmd1 or $cmd2.
4343
85642ba0
AW
43442015-03-11 Andy Wingo <wingo@igalia.com>
4345
4346 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4347
e03f9645
YQ
43482015-03-11 Yao Qi <yao.qi@linaro.org>
4349
4350 * gdb.base/catch-syscall.exp: Fix typo in comments.
4351
5d0962b2
YQ
43522015-03-11 Yao Qi <yao.qi@linaro.org>
4353
4354 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4355
b2df3cef
PA
43562015-03-09 Pedro Alves <palves@redhat.com>
4357
4358 * dg-extract-results.py: Delete.
4359
ef878e53
PA
43602015-03-09 Pedro Alves <palves@redhat.com>
4361
4362 Merge dg-extract-results.sh from GCC upstream (r218843).
4363
4364 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4365 * dg-extract-results.sh: Use --text with grep to avoid issues with
4366 binary files. Fall back to cat -v, if that doesn't work.
4367
9494d219
PA
43682015-03-05 Pedro Alves <palves@redhat.com>
4369
4370 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4371
a8d9763a
SM
43722015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4373
4374 * lib/mi-support.exp (mi_expect_interrupt): Accept
4375 alternative event for when in all-stop mode.
4376
be9957b8
PA
43772015-03-04 Pedro Alves <palves@redhat.com>
4378
4379 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4380
d57be0f4 43812015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
4382
4383 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4384
c214c7cf
AA
43852015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4386
4387 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4388 regexps for GDB's current line display, accept a hex address
4389 preceding the line number.
4390
6d74a497
AA
43912015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4392
4393 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4394 the 'arch1' variable for "s390*-linux*" targets.
4395
511aee7c
PA
43962015-03-04 Pedro Alves <palves@redhat.com>
4397
4398 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4399 (main): Pass missing retval argument to pthread_join call.
4400
95e50b27
PA
44012015-03-02 Pedro Alves <palves@redhat.com>
4402
4403 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4404 (top level): Call do_test with non-stop as well.
4405
28054d69
PA
44062015-03-02 Pedro Alves <palves@redhat.com>
4407
4408 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4409 -1.
4410
4fa5d7b4
AA
44112015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4412
4413 * gdb.arch/s390-vregs.exp: New test.
4414 * gdb.arch/s390-vregs.S: New file.
4415
97c18565
PA
44162015-02-27 Pedro Alves <palves@redhat.com>
4417
4418 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4419 call to catch_command_errors.
4420 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4421 catch_command_errors.
4422
a37bfa30
PA
44232015-02-27 Pedro Alves <palves@redhat.com>
4424
4425 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4426 "true" for boolean result.
4427 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4428 prototype of main.
4429
6f98576f
PA
44302015-02-27 Pedro Alves <palves@redhat.com>
4431
4432 * lib/unbuffer_output.c: New file.
4433 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4434 (main): Call gdb_unbuffer_output.
4435
eba5ab56
YQ
44362015-02-27 Yao Qi <yao.qi@linaro.org>
4437
4438 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4439 target.
4440
0def5aaa
DE
44412015-02-26 Doug Evans <dje@google.com>
4442
4443 * gdb.cp/class2.cc (Dbase, D): New classes.
4444 (main): New local delta.
4445 * gdb.cp/class2.exp: Test printing delta.
4446 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4447 (dynbar): New global.
4448 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4449
081a1c2c
JK
44502015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4451
4452 * gdb.compile/compile-ifunc.c: New file.
4453 * gdb.compile/compile-ifunc.exp: New file.
4454
2f41223f
AT
44552015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4456
4457 * gdb.base/structs.exp: Check for correct struct on finish.
4458
03eddd80
YQ
44592015-02-26 Yao Qi <yao.qi@linaro.org>
4460
4461 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4462 is zero.
4463
80c57053
JK
44642015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4465
4466 * gdb.arch/cordic.ko.bz2: New file.
4467 * gdb.arch/cordic.ko.debug.bz2: New file.
4468 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4469
21613c12
YQ
44702015-02-25 Yao Qi <yao.qi@linaro.org>
4471
4472 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4473 aarch64*-*-* target.
4474
d8b901ed
PA
44752015-02-23 Pedro Alves <palves@redhat.com>
4476
4477 * lib/gdb.exp (delete_breakpoints): Rewrite using
4478 gdb_test_multiple.
4479
e5b85ead
PA
44802015-02-23 Pedro Alves <palves@redhat.com>
4481
4482 * gdb.base/info-os.c: Include stdlib.h.
4483
85c3a371
DE
44842015-02-22 Doug Evans <xdje42@gmail.com>
4485
4486 PR symtab/17855
4487 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4488 is read after symbols have been re-read.
4489 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4490 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4491
96553a0c
DE
44922015-02-21 Doug Evans <dje@google.com>
4493
4494 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4495
97a0c697
JK
44962015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4497
4498 PR corefiles/17808
4499 * gdb.arch/i386-biarch-core.core.bz2: New file.
4500 * gdb.arch/i386-biarch-core.exp: New file.
4501
a47cd6e9
PA
45022015-02-21 Pedro Alves <palves@redhat.com>
4503
4504 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4505 runto_main fails.
4506
c5facdc4
PA
45072015-02-20 Pedro Alves <palves@redhat.com>
4508
4509 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4510 info probes.
4511
2db9a427
PA
45122015-02-20 Pedro Alves <palves@redhat.com>
4513
4514 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4515
60fb7e9e
PA
45162015-02-20 Pedro Alves <palves@redhat.com>
4517
4518 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4519 clean_restart before gdb_target_supports_trace.
4520
5c5019c2
PA
45212015-02-20 Pedro Alves <palves@redhat.com>
4522
4523 PR threads/18006
4524 * gdb.threads/clone-thread_db.c: New file.
4525 * gdb.threads/clone-thread_db.exp: New file.
4526
c9587f88
AT
45272015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4528
4529 PR breakpoints/16812
4530 * gdb.base/catch-gdb-caused-signals.c: New file.
4531 * gdb.base/catch-gdb-caused-signals.exp: New file.
4532
f6a88844
JM
45332015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4534
4535 * configure: Regenerated.
4536 * configure.ac: Use GDB_AC_TRANSFORM.
4537 * aclocal.m4: sinclude ../transform.m4.
4538
497c491b
JM
45392015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4540
4541 * lib/dtrace.exp: New file.
4542 * gdb.base/dtrace-probe.exp: Likewise.
4543 * gdb.base/dtrace-probe.d: Likewise.
4544 * gdb.base/dtrace-probe.c: Likewise.
4545 * lib/pdtrace.in: Likewise.
4546 * configure.ac: Output variables with the transformed names of
4547 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4548 * configure: Regenerated.
4549
03e98035
JM
45502015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4551
4552 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4553 expected message when trying to access $_probe_* convenience
4554 variables while not on a probe.
4555
63cc30e9
JK
45562015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4557
4558 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4559
0703599a
PA
45602015-02-11 Pedro Alves <pedro@codesourcery.com>
4561
4562 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4563 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4564
7e60a48e
DE
45652015-02-10 Doug Evans <xdje42@gmail.com>
4566
4567 * lib/gdb.exp (gdb_load): Always return a result.
4568
01b088bc
PA
45692015-02-10 Pedro Alves <palves@redhat.com>
4570
4571 * gdb.threads/signal-sigtrap.c: New file.
4572 * gdb.threads/signal-sigtrap.exp: New file.
4573
b05ec7a5
AT
45742015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4575
4576 * gdb.trace/no-attach-trace.c: New file.
4577 * gdb.trace/no-attach-trace.exp: New file.
4578
a2c2acaf
MW
45792015-02-09 Mark Wielaard <mjw@redhat.com>
4580
4581 * gdb.dwarf2/atomic.c: New file.
4582 * gdb.dwarf2/atomic-type.exp: Likewise.
4583
31fd9caa
MM
45842015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4585
4586 * gdb.btrace/buffer-size.exp: Update "info record" output.
4587 * gdb.btrace/delta.exp: Update "info record" output.
4588 * gdb.btrace/enable.exp: Update "info record" output.
4589 * gdb.btrace/finish.exp: Update "info record" output.
4590 * gdb.btrace/instruction_history.exp: Update "info record" output.
4591 * gdb.btrace/next.exp: Update "info record" output.
4592 * gdb.btrace/nexti.exp: Update "info record" output.
4593 * gdb.btrace/step.exp: Update "info record" output.
4594 * gdb.btrace/stepi.exp: Update "info record" output.
4595 * gdb.btrace/nohist.exp: Update "info record" output.
4596
d33501a5
MM
45972015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4598
4599 * gdb.btrace/buffer-size: New.
4600
f4abbc16
MM
46012015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4602
4603 * gdb.btrace/delta.exp: Update "info record" output.
4604 * gdb.btrace/enable.exp: Update "info record" output.
4605 * gdb.btrace/finish.exp: Update "info record" output.
4606 * gdb.btrace/instruction_history.exp: Update "info record" output.
4607 * gdb.btrace/next.exp: Update "info record" output.
4608 * gdb.btrace/nexti.exp: Update "info record" output.
4609 * gdb.btrace/step.exp: Update "info record" output.
4610 * gdb.btrace/stepi.exp: Update "info record" output.
4611 * gdb.btrace/nohist.exp: Update "info record" output.
4612
b9d61307
SM
46132015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4614
4615 PR gdb/15678
4616 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4617
e584fdbc
PA
46182015-02-06 Pedro Alves <palves@redhat.com>
4619
4620 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4621 macro.
4622 (seconds_left, again): New globals.
4623 (main): Wait seconds_left in a 1-second sleep loop instead of
4624 sleeping 180 seconds. If 'again' is set, reset the seconds
4625 counter.
4626 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4627 'again' in the inferior before detaching. Print the seconds left.
4628 (options): New global.
4629 (top level): Build program with -DTIMEOUT=$timeout.
4630
77f41761
PA
46312015-02-06 Pedro Alves <palves@redhat.com>
4632
4633 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4634 determine how many seconds to pass to 'alarm'.
4635 * gdb.base/gdb-sigterm.exp (top level): Build program with
4636 -DTIMEOUT=$timeout.
4637 (do_test): Return success/failure indication. Add more verbose
4638 logging. Don't fail if 200 single steps are seen. Instead, fail
4639 when the test times out.
4640 (passes): New global.
4641 (top level): Break the testing loop if testing fails on any
4642 iteration. Use gdb_assert.
4643
b9394193
DB
46442015-02-04 Don Breazeal <donb@codesourcery.com>
4645
4646 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4647 and initialize them.
4648 (ipc_cleanup): New function.
4649 (main): Don't declare shmid, semid, and msqid. Add a call to
4650 atexit so that we call ipc_cleanup on exit.
4651
42d9e528
PA
46522015-02-04 Pedro Alves <palves@redhat.com>
4653
4654 * boards/native-extended-gdbserver.exp: Remove any target variant
4655 specifications from the board name before clearing the isremote
4656 flag from board_info.
4657
ae6ae975
DE
46582015-01-31 Doug Evans <xdje42@gmail.com>
4659
4660 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4661
cfb069a8
GB
46622015-01-31 Gary Benson <gbenson@redhat.com>
4663
4664 * gdb.base/completion.exp: Disable completion limiting for
4665 existing tests. Add new tests to check completion limiting.
4666 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4667
5dd31d79
DE
46682015-01-31 Doug Evans <xdje42@gmail.com>
4669
4670 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4671
9f050062
DE
46722015-01-31 Doug Evans <xdje42@gmail.com>
4673
4674 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4675 entries. Duplicate file section script entries.
4676 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4677 inlined entries. Add test for safe-path rejection.
4678 * gdb.python/py-section-script.c: Add duplicate inlined section script
4679 entries. Duplicate file section script entries.
4680 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4681 inlined entries. Add test for safe-path rejection.
4682
df25ebbd
JB
46832015-01-29 Joel Brobecker <brobecker@adacore.com>
4684
4685 * gdb.ada/disc_arr_bound: New testcase.
4686
4a0ca9ec
JB
46872015-01-29 Joel Brobecker <brobecker@adacore.com>
4688
4689 * gdb.ada/mi_var_array: New testcase.
4690
3a8b707a
DE
46912015-01-27 Doug Evans <dje@google.com>
4692
4693 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4694 Add test for objfile.filename, objfile.username after objfile
4695 has been unloaded.
4696
f8313f6e
JB
46972015-01-26 Joel Brobecker <brobecker@adacore.com>
4698
4699 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4700 the second test to print the name attribute of value
4701 returned by the call to gdb.lookup_type, and adjust
4702 the expected output accordingly.
4703
37bc665e
MW
47042015-01-25 Mark Wielaard <mjw@redhat.com>
4705
4706 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4707 * gdb.base/disp-step-fork.c: Include unistd.h.
4708 * gdb.base/siginfo-obj.c: Include stdio.h.
4709 * gdb.base/siginfo-thread.c: Likewise.
4710 * gdb.mi/non-stop.c: Include unistd.h.
4711 * gdb.mi/nsthrexec.c: Include stdio.h.
4712 * gdb.mi/pthreads.c: Include unistd.h.
4713 * gdb.modula2/unbounded1.c (main): Declare returns int.
4714 * gdb.reverse/consecutive-reverse.c: Likewise.
4715 * gdb.threads/create-fail.c: Include unistd.h.
4716 * gdb.threads/killed.c: Likewise.
4717 * gdb.threads/linux-dp.c: Likewise.
4718 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4719 * gdb.threads/non-ldr-exc-2.c: Likewise.
4720 * gdb.threads/non-ldr-exc-3.c: Likewise.
4721 * gdb.threads/non-ldr-exc-4.c: Likewise.
4722 * gdb.threads/pthreads.c: Include unistd.h.
4723 (main): Declare returns int.
4724 * gdb.threads/tls-main.c (foo): New declaration.
4725 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4726
f7e5394d
SM
47272015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4728
4729 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4730 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4731
743649fd
MW
47322015-01-15 Mark Wielaard <mjw@redhat.com>
4733
4734 * gdb.base/noreturn-return.c: New file.
4735 * gdb.base/noreturn-return.exp: New file.
4736 * gdb.base/noreturn-finish.c: New file.
4737 * gdb.base/noreturn-finish.exp: New file.
4738
198297aa
PA
47392015-01-23 Pedro Alves <palves@redhat.com>
4740
4741 * gdb.threads/continue-pending-after-query.c: New file.
4742 * gdb.threads/continue-pending-after-query.exp: New file.
4743
717cf30c
AG
47442015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4745 Simon Marchi <simon.marchi@ericsson.com>
4746
4747 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4748 * gdb.base/valgrind-db-attach.exp: Same.
4749 * gdb.base/valgrind-infcall.exp: Same.
4750 * lib/mi-support.exp (default_mi_gdb_start): Same.
4751 * lib/prompt.exp (default_prompt_gdb_start): Same.
4752 * lib/gdb.exp (default_gdb_spawn): Same.
4753 (gdb_interact): New.
4754
4755
4b62a76e
JK
47562015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4757
4758 * gdb.compile/compile.exp (pointer to jit function): New test.
4759
b4cdae6f
WW
47602015-01-17 Wei-cheng Wang <cole945@gmail.com>
4761
4762 * lib/gdb.exp (supports_process_record): Return true for
4763 powerpc*-*-linux*.
4764 (supports_reverse): Likewise.
4765
d221e7ef
DB
47662015-01-15 Don Breazeal <donb@codesourcery.com>
4767
4768 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4769 instead of checking whether the target board is remote and
4770 use spawn_wait_for_attach instead of exec/sleep.
4771 * gdb.base/attach-twice.exp: Likewise.
4772
bafffb51
JB
47732015-01-15 Joel Brobecker <brobecker@adacore.com>
4774
4775 * gdb.ada/var_arr_attrs: New testcase.
4776
5589af0e
PA
47772015-01-14 Pedro Alves <palves@redhat.com>
4778 Joel Brobecker <brobecker@adacore.com>
4779
4780 PR gdb/17525
4781 * gdb.base/bp-cmds-execution-x-script.c: New file.
4782 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4783 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4784
6c400b59
PA
47852015-01-14 Pedro Alves <palves@redhat.com>
4786
4787 PR cli/17828
4788 * gdb.base/batch-preserve-term-settings.c: New file.
4789 * gdb.base/batch-preserve-term-settings.exp: New file.
4790
e02c96a7
DE
47912015-01-13 Doug Evans <dje@google.com>
4792
4793 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4794 binary.
4795
576fd14c
JB
47962015-01-13 Joel Brobecker <brobecker@adacore.com>
4797
4798 * Makefile.in (clean mostlyclean): Do not delete *.py.
4799
04dccad0
JB
48002015-01-13 Joel Brobecker <brobecker@adacore.com>
4801
4802 * gdb.python/py-lookup-type.exp: New file.
4803
3d230f71
PA
48042015-01-12 Pedro Alves <palves@redhat.com>
4805
4806 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4807 restore GDBFLAGS before returning.
4808
7e67715d
JK
48092015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4810
4811 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4812 is_amd64_regs_target and is_x86_like_target.
4813
f2e0d4b4
DE
48142015-01-11 Doug Evans <xdje42@gmail.com>
4815
4816 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4817 is given without an explicit form.
4818 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4819 attributes.
4820 * gdb.dwarf/corrupt.exp: Ditto.
4821 * gdb.dwarf2/enum-type.exp: Ditto.
4822 * gdb.trace/entry-values.exp: Ditto.
4823 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4824
439250fb
DE
48252015-01-11 Doug Evans <xdje42@gmail.com>
4826
4827 PR gdb/15830
4828 * gdb.base/maint.exp: Remove references to "maint demangle".
4829 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4830 Add tests for explicitly specifying language to demangle.
4831 * gdb.dlang/demangle.exp: Ditto.
4832
ede9f622
PA
48332015-01-09 Pedro Alves <palves@redhat.com>
4834
4835 * gdb.threads/non-stop-fair-events.c: New file.
4836 * gdb.threads/non-stop-fair-events.exp: New file.
4837
a7b796db
PA
48382015-01-09 Pedro Alves <palves@redhat.com>
4839
4840 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4841 the global scope. Set a breakpoint after all threads are started
4842 rather than stepping over two source lines. Expect the prompt.
4843 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4844 global.
4845 (NUM): Now 15.
4846 (main): Use threads_started_barrier to wait for all threads to
4847 start. Main thread no longer calls thread_function. Exit after
4848 180 seconds.
4849 (loop): New function.
4850 (thread_function): Wait on threads_started_barrier barrier. Call
4851 'loop' at each iteration.
4852 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4853 threads have started, instead of hardcoding number of "next"
4854 steps. Use an access watchpoint instead of a write watchpoint.
4855
9665ffdd
PA
48562015-01-09 Pedro Alves <palves@redhat.com>
4857
4858 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4859 (thread_func): Wait on barrier.
4860 (main): Wait for all threads to start before stopping GDB.
4861 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4862 global.
4863 (thread1_func, thread2_func): Wait on barrier.
4864 (main): Wait for all threads to start before stopping GDB.
4865 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4866 New global.
4867 (thread1_func, thread2_func): Wait on barrier.
4868 (main): Wait for all threads to start before stopping GDB.
4869
c945a99f
PA
48702015-01-09 Pedro Alves <palves@redhat.com>
4871
4872 * gdb.threads/attach-many-short-lived-threads.c: New file.
4873 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4874
c1a747c1
PA
48752014-01-09 Pedro Alves <palves@redhat.com>
4876
4877 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4878 instead of to thread 2.
4879 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4880 Add barrier around each pthread_create call instead of around all
4881 calls.
4882 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4883 Set a break on thread_function and have the child threads hit it
4884 one at at a time.
4885
60b3033e
PA
48862015-01-09 Pedro Alves <palves@redhat.com>
4887
4888 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4889 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4890 false.
4891 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4892 checking whether the target board is remote.
4893 * gdb.multi/multi-attach.exp: Likewise.
4894 * gdb.python/py-sync-interp.exp: Likewise.
4895 * gdb.server/ext-attach.exp: Likewise.
4896 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4897 tests that need to attach, instead of checking whether the target
4898 board is remote at the top of the file.
4899
acc018ac
YQ
49002015-01-08 Yao Qi <yao@codesourcery.com>
4901
4902 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4903
50a18af8
JK
49042015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4905
4906 Fix testcase compilation.
4907 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4908
8503d6e1
JB
49092015-01-06 Joel Brobecker <brobecker@adacore.com>
4910
4911 * gdb.python/py-type.exp: Add a couple test about empty
4912 array creation, and negative-length array creation.
4913
cc73dbcc
DE
49142015-01-02 Doug Evans <xdje42@gmail.com>
4915
4916 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4917
0300bbc7
DE
49182015-01-02 Doug Evans <dje@google.com>
4919
4920 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4921
9d85a0ec
YQ
49222014-12-29 Yao Qi <yao@codesourcery.com>
4923
4924 * gdb.trace/entry-values.exp: Update comments. Rename variable
4925 bar_call_foo to returned_from_foo.
4926
87186c6a
MMN
49272014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4928
4929 PR gdb/17394
4930 * gdb.linespec/break-asm-file.c: New file.
4931 * gdb.linespec/break-asm-file.exp: New file.
4932 * gdb.linespec/break-asm-file0.s: New file.
4933 * gdb.linespec/break-asm-file1.s: New file.
4934
1bab7383
YQ
49352014-12-18 Nigel Stephens <nigel@mips.com>
4936 Maciej W. Rozycki <macro@codesourcery.com>
4937
4938 * gdb.base/float.exp: Handle the new output from "info float" on
4939 MIPS targets.
4940
1bc1068a
JK
49412014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4942
4943 Fix MinGW compilation.
4944 * gdb.compile/compile-ops.exp: Update untested message if
4945 !skip_compile_feature_tests.
4946 * gdb.compile/compile-setjmp.exp: Likewise.
4947 * gdb.compile/compile-tls.exp: Likewise.
4948 * gdb.compile/compile.exp: Likewise.
4949 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4950 supported on this host".
4951
b6615d10
DE
49522014-12-16 Doug Evans <xdje42@gmail.com>
4953
4954 * boards/stabs.exp: New file.
4955
25dda427
AA
49562014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4957
4958 * gdb.base/completion.exp: Adjust to format changes of "maint
4959 print user-registers".
4960
bf330350
CU
49612014-12-16 Catalin Udma <catalin.udma@freescale.com>
4962
4963 PR server/17457
4964 * gdb.arch/aarch64-fp.c: New file.
4965 * gdb.arch/aarch64-fp.exp: New file.
4966
395cf596
SDJ
49672014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4968
4969 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4970 r210637, r210913, r211666, r215400, r215817).
4971
4972 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4973 * dg-extract-results.py: New file.
4974 * dg-extract-results.sh: Use it if the environment seems
4975 suitable.
4976
4977 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4978
4979 * dg-extract-results.py (parse_run): Handle warnings that
4980 are printed before a test harness is run.
4981
4982 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4983
4984 * dg-extract-results.py (Named): Remove __cmp__ method.
4985 (output_variation): Use a key to sort variation.harnesses.
4986
4987 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4988
4989 * dg-extract-results.py: For Python 3, force sys.stdout to
4990 handle surrogate escape sequences.
4991 (safe_open): New function.
4992 (output_segment, main): Use it.
4993
4994 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4995
4996 * dg-extract-results.py (Prog.result_re): Include options
4997 in test name.
4998
4999 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5000
5001 * dg-extract-results.py (output_variation): Always sort if
5002 do_sum.
5003
e882ef3c
SM
50042014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5005
5006 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5007 as long as we get pagination notifications.
5008
4992aa20
JM
50092014-12-15 Jason Merrill <jason@redhat.com>
5010
5011 * Makefile.in (check-gdb.%): Restore.
5012 * README: Mention it.
5013
c1b5a1a6
JB
50142014-12-13 Joel Brobecker <brobecker@adacore.com>
5015
5016 * gdb.ada/str_uninit: New testcase.
5017
5537b577
JK
50182014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5019
5020 PR symtab/17642
5021 * gdb.base/vla-stub-define.c: New file.
5022 * gdb.base/vla-stub.c: New file.
5023 * gdb.base/vla-stub.exp: New file.
5024
bb2ec1b3
TT
50252014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5026 Jan Kratochvil <jan.kratochvil@redhat.com>
5027 Tom Tromey <tromey@redhat.com>
5028
5029 * configure.ac: Add gdb.compile/.
5030 * configure: Regenerate.
5031 * gdb.compile/Makefile.in: New file.
5032 * gdb.compile/compile-ops.exp: New file.
5033 * gdb.compile/compile-ops.c: New file.
5034 * gdb.compile/compile-tls.c: New file.
5035 * gdb.compile/compile-tls.exp: New file.
5036 * gdb.compile/compile-constvar.S: New file.
5037 * gdb.compile/compile-constvar.c: New file.
5038 * gdb.compile/compile-mod.c: New file.
5039 * gdb.compile/compile-nodebug.c: New file.
5040 * gdb.compile/compile-setjmp-mod.c: New file.
5041 * gdb.compile/compile-setjmp.c: New file.
5042 * gdb.compile/compile-setjmp.exp: New file.
5043 * gdb.compile/compile-shlib.c: New file.
5044 * gdb.compile/compile.c: New file.
5045 * gdb.compile/compile.exp: New file.
5046 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5047
4ff709eb
TT
50482014-12-12 Tom Tromey <tromey@redhat.com>
5049
5050 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5051 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5052
6dddd6a5
DE
50532014-12-12 Doug Evans <dje@google.com>
5054
5055 * lib/gdb-python.exp (get_python_valueof): New function.
5056 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5057
71c24708
AA
50582014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5059
5060 * gdb.base/completion.exp: Add test for completion of "info
5061 registers ".
5062
3e29f34a
MR
50632014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5064
5065 * gdb.base/func-ptrs.c: New file.
5066 * gdb.base/func-ptrs.exp: New file.
5067
fc126975
SM
50682014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5069
5070 PR breakpoints/17012
5071 * gdb.base/dprintf-detach.c: New file.
5072 * gdb.base/dprintf-detach.exp: New file.
5073
0a46d518
SM
50742014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5075
5076 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5077 * lib/gdb.exp (target_is_gdbserver): New procedure.
5078
a0be3e44
DE
50792014-12-08 Doug Evans <dje@google.com>
5080
5081 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5082
df1b803a
YQ
50832014-12-05 Yao Qi <yao@codesourcery.com>
5084
5085 * gdb.guile/scm-error.exp: Remove the third argument to
5086 gdb_remote_download.
5087 * gdb.guile/scm-frame-args.exp: Likewise.
5088 * gdb.guile/scm-section-script.exp: Likewise.
5089
ddb9f679
YQ
50902014-12-05 Yao Qi <yao@codesourcery.com>
5091
5092 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5093
86e4ed39
DE
50942014-12-04 Doug Evans <dje@google.com>
5095
5096 * gdb.python/py-objfile.exp: Add tests for
5097 objfile.add_separate_debug_file.
5098
7c50a931
DE
50992014-12-04 Doug Evans <dje@google.com>
5100
5101 * lib/gdb.exp (get_build_id): New function.
5102 (build_id_debug_filename_get): Rewrite to use it.
5103 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5104
621661e3
MR
51052014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5106
5107 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5108 `method(long)', not just 0x0.
5109 * gdb.cp/nsalias.exp: Align code labels to 4.
5110 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5111 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5112 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5113 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5114 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5115 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5116
29f0c3b7
DE
51172014-12-02 Doug Evans <dje@google.com>
5118
e1e061e7 5119 PR symtab/17602
29f0c3b7 5120 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 5121 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
5122 * gdb.cp/anon-ns.exp: Update.
5123
162078c8
NB
51242014-12-02 Nick Bull <nicholaspbull@gmail.com>
5125
5126 * gdb.python/py-events.py (inferior_call_handler): New.
5127 (register_changed_handler, memory_changed_handler): New.
5128 (test_events.invoke): Register new handlers.
5129 * gdb.python/py-events.exp: Add tests for inferior call,
5130 memory_changed and register_changed events.
5131
fdb09caf
AA
51322014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5133
5134 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5135 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5136 if the linker doesn't understand this.
5137
55cfb2c4
SM
51382014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5139
5140 * gdb.python/python.exp: Change expected reply to help().
5141
9e8cd6df
YQ
51422014-12-01 Yao Qi <yao@codesourcery.com>
5143
5144 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5145 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5146 * configure: Re-generated.
5147
6c659fc2
SC
51482014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5149
5150 * gdb.cp/chained-calls.cc: New file.
5151 * gdb.cp/chained-calls.exp: New file.
5152 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5153
d7fc3181
SM
51542014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5155
5156 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5157 * gdb.dwarf2/symtab-producer.exp: Same.
5158 * gdb.gdb/python-interrupts.exp: Same.
5159 * gdb.gdb/python-selftest.exp: Same.
5160 * gdb.python/py-linetable.exp: Same.
5161 * gdb.python/py-type.exp: Same.
5162 * gdb.python/py-value-cc.exp: Same.
5163 * gdb.python/py-value.exp: Same.
5164
10e79639
YQ
51652014-11-28 Yao Qi <yao@codesourcery.com>
5166
5167 * gdb.base/break-probes.exp: Match library name prefixed with
5168 sysroot.
5169
f28a0564
SM
51702014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5171
5172 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5173 test expected output. Add parentheses for the call to print.
5174 Remove L suffix from integers.
5175
3fe1ce1d
DE
51762014-11-26 Doug Evans <dje@google.com>
5177
5178 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5179
84429e27
YQ
51802014-11-22 Yao Qi <yao@codesourcery.com>
5181
5182 * gdb.trace/entry-values.c: Remove asms.
5183 (foo): Add foo_label.
5184 (bar): Add bar_label.
5185 * gdb.trace/entry-values.exp: Remove code computing foo's
5186 length and bar's length.
5187 (Dwarf::assemble): Invoke function_range for bar and use
5188 MACRO_AT_func for foo.
5189
26741859
YQ
51902014-11-22 Yao Qi <yao@codesourcery.com>
5191
5192 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5193 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5194 Use .Lgcc43_procstart instead of gcc43.
5195
45e44d27
JB
51962014-11-21 Joel Brobecker <brobecker@adacore.com>
5197
5198 * gdb.ada/n_arr_bound: New testcase.
5199
458c8db8
SDJ
52002014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5201
5202 PR breakpoints/10737
5203 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5204 test_catch_syscall_multi_arch.
5205 (test_catch_syscall_multi_arch): New function.
5206
43f3e411
DE
52072014-11-20 Doug Evans <xdje42@gmail.com>
5208
5209 * gdb.base/maint.exp: Update expected output.
5210
0d7b2549
AA
52112014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5212
5213 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5214 4-byte instruction on S390.
5215
8908fca5
JB
52162014-11-19 Joel Brobecker <brobecker@adacore.com>
5217
5218 * gdb.ada/arr_arr: New testcase.
5219
4a46959e
JB
52202014-11-19 Joel Brobecker <brobecker@adacore.com>
5221
5222 * gdb.ada/pkd_arr_elem: New Testcase.
5223
470e2f4e
LM
52242014-11-18 Luis Machado <lgustavo@codesourcery.com>
5225
5226 * gdb.reverse/break-precsave: Expect completion message for
5227 core file reads.
5228 * gdb.reverse/consecutive-precsave.exp: Likewise.
5229 * gdb.reverse/finish-precsave.exp: Likewise.
5230 * gdb.reverse/i386-precsave.exp: Likewise.
5231 * gdb.reverse/machinestate-precsave.exp: Likewise.
5232 * gdb.reverse/sigall-precsave.exp: Likewise.
5233 * gdb.reverse/solib-precsave.exp: Likewise.
5234 * gdb.reverse/step-precsave.exp: Likewise.
5235 * gdb.reverse/until-precsave.exp: Likewise.
5236 * gdb.reverse/watch-precsave.exp: Likewise.
5237
a267f3ad
AA
52382014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5239
5240 * gdb.base/bp-permanent.c: Include unistd.h.
5241 * gdb.python/py-framefilter-mi.c (main): Add return type.
5242 * gdb.python/py-framefilter.c (main): Likewise.
5243 * gdb.trace/actions-changed.c (main): Likewise.
5244
12084a9a
AA
52452014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5246
5247 * gdb.mi/until.c: Add eye-catchers.
5248 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5249 line numbers.
5250
dc7e1a77
AA
52512014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5252
5253 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5254 function header variants in break1.c.
5255 * gdb.base/ena-dis-br.exp: Likewise.
5256 * gdb.base/hbreak2.exp: Likewise.
5257 * gdb.reverse/until-precsave.exp: Drop references to removed
5258 non-prototype function header variants in ur1.c.
5259 * gdb.reverse/until-reverse.exp: Likewise.
5260
41c77605
PM
52612014-11-17 Petr Machata <pmachata@redhat.com>
5262
5263 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5264 ${_cu_offset_size} bytes abbrev offset.
5265
34248c3a
DE
52662014-11-15 Doug Evans <xdje42@gmail.com>
5267
5268 PR symtab/17559
5269 * gdb.base/line-symtabs.exp: New file.
5270 * gdb.base/line-symtabs.c: New file.
5271 * gdb.base/line-symtabs.h: New file.
5272
646da059
YQ
52732014-11-14 Yao Qi <yao@codesourcery.com>
5274
5275 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5276 (func): Add label func_label.
5277 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5278 Replace low_pc and high_pc with MACRO_AT_range.
5279 Replace name, low_pc and high_pc with MACRO_AT_func.
5280
9301ebe6
YQ
52812014-11-14 Yao Qi <yao@codesourcery.com>
5282
5283 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5284 Replace name, low_pc and high_pc with MACRO_AT_func.
5285
f166b542
YQ
52862014-11-14 Yao Qi <yao@codesourcery.com>
5287
5288 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5289 produce debug information.
5290 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5291
0f6e71e3
YQ
52922014-11-14 Yao Qi <yao@codesourcery.com>
5293
5294 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5295 object and get function length.
5296 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5297 with MACRO_AT_func.
5298 (top-level): Replace gdb_compile and clean_restart with
5299 prepare_for_testing.
5300 * gdb.dwarf2/main.c (main): Add label main_label.
5301
876c4df9
YQ
53022014-11-14 Yao Qi <yao@codesourcery.com>
5303
5304 * lib/dwarf.exp (function_range): New procedure.
5305 (Dwarf::_handle_macro_at_func): New procedure.
5306 (Dwarf::_handle_macro_at_range): New procedure.
5307 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5308
02ad9cf1
YQ
53092014-11-14 Yao Qi <yao@codesourcery.com>
5310
5311 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5312 (_handle_attribute): New procedure.
5313
a59add0c
AA
53142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5315
5316 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5317 * gdb.base/call-sc.c (zed): Likewise.
5318 * gdb.base/checkpoint.c (main): Likewise.
5319 * gdb.base/dump.c (main): Likewise.
5320 * gdb.base/gcore.c (main): Likewise.
5321 * gdb.base/huge.c (main): Likewise.
5322 * gdb.base/multi-forks.c (main): Likewise.
5323 * gdb.base/pr10179-a.c (main): Likewise.
5324 * gdb.base/savedregs.c (main): Likewise.
5325 * gdb.base/sigaltstack.c (main): Likewise.
5326 * gdb.base/siginfo.c (main): Likewise.
5327 * gdb.base/structs.c (zed): Likewise.
5328 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5329 * gdb.mi/mi-syn-frame.c (main): Likewise.
5330 * gdb.mi/until.c (foo, main): Likewise.
5331 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5332 * gdb.base/solib-weak.c (foo): Declare.
5333 * gdb.base/attach-twice.c: Include stdio.h.
5334 * gdb.base/weaklib1.c: Likewise.
5335 * gdb.base/weaklib2.c: Likewise.
5336 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5337 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5338 unistd.h.
5339 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5340 * gdb.mi/mi-exit-code.c: Likewise.
5341 * gdb.base/break-interp-lib.c: Include string.h.
5342 * gdb.base/coremaker.c: Likewise.
5343 * gdb.base/testenv.c: Likewise.
5344 * gdb.python/py-finish-breakpoint.c: Likewise.
5345 * gdb.base/inferior-died.c: Include sys/wait.h.
5346 * gdb.base/fileio.c: Include time.h.
5347 * gdb.base/async-shell.c: Include unistd.h.
5348 * gdb.base/dprintf-non-stop.c: Likewise.
5349 * gdb.base/info-os.c: Likewise.
5350 * gdb.mi/mi-console.c: Likewise.
5351 * gdb.mi/watch-nonstop.c: Likewise.
5352 * gdb.python/py-events.c: Likewise.
5353 * gdb.base/async.c (baz): Move up before its invocation.
5354 * gdb.base/code_elim2.c (my_global_func): Likewise.
5355 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5356 * gdb.base/advance.c (func2): Likewise.
5357
3b5d5997
AA
53582014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5359
5360 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5361 variant.
5362 * gdb.base/annota3.c: Likewise.
5363 * gdb.base/async.c: Likewise.
5364 * gdb.base/average.c: Likewise.
5365 * gdb.base/call-ar-st.c: Likewise.
5366 * gdb.base/call-rt-st.c: Likewise.
5367 * gdb.base/call-sc.c: Likewise.
5368 * gdb.base/call-strs.c: Likewise.
5369 * gdb.base/ending-run.c: Likewise.
5370 * gdb.base/execd-prog.c: Likewise.
5371 * gdb.base/exprs.c: Likewise.
5372 * gdb.base/foll-exec.c: Likewise.
5373 * gdb.base/foll-fork.c: Likewise.
5374 * gdb.base/foll-vfork.c: Likewise.
5375 * gdb.base/funcargs.c: Likewise.
5376 * gdb.base/gcore.c: Likewise.
5377 * gdb.base/jump.c: Likewise.
5378 * gdb.base/langs0.c: Likewise.
5379 * gdb.base/langs1.c: Likewise.
5380 * gdb.base/langs2.c: Likewise.
5381 * gdb.base/mips_pro.c: Likewise.
5382 * gdb.base/nodebug.c: Likewise.
5383 * gdb.base/opaque0.c: Likewise.
5384 * gdb.base/opaque1.c: Likewise.
5385 * gdb.base/recurse.c: Likewise.
5386 * gdb.base/run.c: Likewise.
5387 * gdb.base/scope0.c: Likewise.
5388 * gdb.base/scope1.c: Likewise.
5389 * gdb.base/setshow.c: Likewise.
5390 * gdb.base/setvar.c: Likewise.
5391 * gdb.base/shmain.c: Likewise.
5392 * gdb.base/shr1.c: Likewise.
5393 * gdb.base/shr2.c: Likewise.
5394 * gdb.base/sigall.c: Likewise.
5395 * gdb.base/signals.c: Likewise.
5396 * gdb.base/so-indr-cl.c: Likewise.
5397 * gdb.base/solib2.c: Likewise.
5398 * gdb.base/structs.c: Likewise.
5399 * gdb.base/sum.c: Likewise.
5400 * gdb.base/vforked-prog.c: Likewise.
5401 * gdb.base/watchpoint.c: Likewise.
5402 * gdb.reverse/shr2.c: Likewise.
5403 * gdb.reverse/until-reverse.c: Likewise.
5404 * gdb.reverse/ur1.c: Likewise.
5405 * gdb.reverse/watch-reverse.c: Likewise.
5406
066a77c5
AA
54072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5408
5409 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5410 variant.
5411 * gdb.base/sepdebug.exp: Drop references to removed code.
5412
4f204ea5
AA
54132014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5414
5415 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5416 variant. Preserve original line numbering.
5417 * gdb.base/list1.c: Likewise.
5418
3b377a3a
AA
54192014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5420
5421 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5422 variant.
5423 * gdb.base/break1.c: Likewise.
5424 * gdb.base/break.exp: Drop references to removed code.
5425
e444df73
AA
54262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5427
5428 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5429 variant.
5430
8008f2a7
AA
54312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5432
5433 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5434
a5a06887
AA
54352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5436
5437 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5438 logic into perform_all_tests() and invoke it with and without
5439 function header prototypes.
5440 (do_function_calls): Remove conditional XFAIL for PR 5318.
5441 (rerun_and_prepare): Remove duplicate code.
5442 (perform_all_tests): New. Main logic moved here.
5443
44dba9b9
AA
54442014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5445
5446 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5447 code guarded by #ifdef NO_PROTOTYPES.
5448 (t_double_many_args): Likewise.
5449 (DEF_FUNC_MANY_ARGS_1): Likewise.
5450 (DEF_FUNC_VALUES_1): Likewise.
5451 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5452 guarded by #ifdef PROTOTYPES.
5453
d1fbcd56
AA
54542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5455
5456 * gdb.mi/mi-console.c: Add eye-catcher.
5457 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5458 instead of literal line number.
5459
b0e59b8f
AA
54602014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5461
5462 * gdb.base/shr2.c: Add eye-catcher.
5463 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5464 line number.
5465
78f98cca
AA
54662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5467
5468 * gdb.base/jump.c: Add eye-catchers.
5469 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5470 numbers.
5471
58fa2af0
AA
54722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5473
5474 * gdb.base/execd-prog.c: Add eye-catchers.
5475 * gdb.base/foll-exec.c: Likewise.
5476 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5477 line numbers.
5478
04e5059b
AA
54792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5480
5481 * gdb.base/ending-run.c: Add eye-catchers.
5482 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5483 literal line numbers.
5484
dbfdb174
AA
54852014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5486
5487 * gdb.base/call-rt-st.c: Add eye-catchers.
5488 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5489 literal line numbers.
5490
888a2ade
AA
54912014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5492
5493 * gdb.base/call-ar-st.c: Add eye-catchers.
5494 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5495 literal line numbers.
5496
6acc2dde
AA
54972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5498
5499 * gdb.base/average.c: Add eye-catchers.
5500 * gdb.base/sum.c: Likewise.
5501 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5502 regexps dynamically.
5503
9ecfcd1d
AA
55042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5505
5506 * gdb.base/solib1.c: Add eye-catchers.
5507 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5508 literal line numbers.
5509
78708b7c
PA
55102014-11-12 Pedro Alves <palves@redhat.com>
5511
5512 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5513 leader has exited.
5514
af48d08f
PA
55152014-11-12 Pedro Alves <palves@redhat.com>
5516
5517 * gdb.arch/i386-bp_permanent.c: New file.
5518 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5519 (srcfile): Set to i386-bp_permanent.c.
5520 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5521 that stepi does not execute the 'leave' instruction, instead of
5522 testing it does execute.
5523 * gdb.base/bp-permanent.c: New file.
5524 * gdb.base/bp-permanent.exp: New file.
5525
af3768e9
DE
55262014-11-10 Doug Evans <xdje42@gmail.com>
5527
5528 PR symtab/17564
5529 * gdb.base/symtab-search-order.exp: New file.
5530 * gdb.base/symtab-search-order.c: New file.
5531 * gdb.base/symtab-search-order-1.c: New file.
5532 * gdb.base/symtab-search-order-shlib-1.c: New file.
5533
9de00a4a
PA
55342014-11-07 Pedro Alves <palves@redhat.com>
5535
5536 PR gdb/17511
5537 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5538 i?86-*-linux*.
5539
e0f52461
SC
55402014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5541
5542 PR c++/17494
5543 * gdb.cp/pr17494.cc: New file.
5544 * gdb.cp/pr17494.exp: New file.
5545
6ce8c980
YQ
55462014-11-02 Yao Qi <yao@codesourcery.com>
5547
5548 * gdb.python/python.exp: Get working directory and match the
5549 output of "set extended-prompt \\w " with it.
5550
02be9a71
DE
55512014-10-30 Doug Evans <dje@google.com>
5552
5553 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5554 in objfiles.
5555 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5556 in progspaces.
5557
3bdff46b
LM
55582014-10-30 Janis Johnson <janisjo@codesourcery.com>
5559
5560 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5561 * gdb.base/realname-expand.exp: Likewise.
5562 * gdb.linespec/macro-relative.exp: Likewise.
5563
ab917dfb
PA
55642014-10-29 Pedro Alves <palves@redhat.com>
5565
5566 PR gdb/17408
5567 * gdb.threads/schedlock.c (some_function): New function.
5568 (call_function): New global.
5569 (MAYBE_CALL_SOME_FUNCTION): New macro.
5570 (thread_function): Call it.
5571 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5572 and use it instead of a global counter. Adjust all callers.
5573 (get_current_thread): Use "find current thread" for test message
5574 here rather than having all callers pass down the same string.
5575 (goto_loop): New procedure, factored out from ...
5576 (my_continue): ... this.
5577 (step_ten_loops): Change parameter from test message to command to
5578 use. Adjust.
5579 (list_count): Delete global.
5580 (check_result): New procedure, factored out from duplicate top
5581 level code.
5582 (continue tests): Wrap in with_test_prefix.
5583 (test_step): New procedure, factored out from duplicate top level
5584 code.
5585 (top level): Test "step" in combination with all scheduler-locking
5586 modes. Test "next" in combination with all scheduler-locking
5587 modes, and in combination with stepping over a function call or
5588 not.
5589 * gdb.threads/next-bp-other-thread.c: New file.
5590 * gdb.threads/next-bp-other-thread.exp: New file.
5591
d3d4baed
PA
55922014-10-29 Pedro Alves <palves@redhat.com>
5593
5594 PR python/17372
5595 * gdb.python/python.exp: Test a multi-line command that spawns
5596 interactive Python.
5597 * gdb.base/multi-line-starts-subshell.exp: New file.
5598
563e8d85
YQ
55992014-10-29 Yao Qi <yao@codesourcery.com>
5600
5601 * gdb.base/fileio.exp: Make directories on host.
5602
0ea4d52e
YQ
56032014-10-29 Yao Qi <yao@codesourcery.com>
5604
5605 * gdb.base/fileio.c (test_write): Close the file.
5606
7f5ef605
PA
56072014-10-28 Pedro Alves <palves@redhat.com>
5608
5609 PR gdb/12623
5610 * gdb.base/sigstep.c (no_handler): New global.
5611 (main): If 'no_handler is true, set the signal handlers to
5612 SIG_IGN.
5613 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5614 with_sw_watch and no_handler parameters. Handle them.
5615 (top level) <stepping over handler when stopped at a breakpoint
5616 test>: Add a test axis for testing with a software watchpoint, and
5617 another for testing with the signal handler set to SIG_IGN.
5618 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5619 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5620
abbdbd03
PA
56212014-10-28 Pedro Alves <palves@redhat.com>
5622
5623 PR gdb/17511
5624 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5625 * gdb.base/sigstep.exp (other_handler_location): New global.
5626 (advance): Support stepping into the signal handler, and running
5627 commands while in the handler.
5628 (in_handler_map): New global.
5629 (top level): In the advance test, add combinations for getting
5630 into the handler with stepping commands, and for running commands
5631 in the handler. Add comment descripting the advancei tests.
5632
1df4399f
PA
56332014-10-28 Pedro Alves <palves@redhat.com>
5634
5635 * gdb.base/sigstep.exp: Use build_executable instead of
5636 prepare_for_testing.
5637 (top level): Move code that starts GDB, runs to main and creates a
5638 display to ...
5639 (restart): ... this new procedure.
5640 (top level): Move backtrace from signal handler test to ...
5641 (validate_backtrace): ... this new procedure.
5642 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5643 with_test_prefix. Always restart GDB.
5644 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5645 with_test_prefix. Always restart GDB. No need to delete
5646 breakpoints after the test.
5647 (test_skip_handler): Remove prefix parameter.
5648 (skip_over_handler, breakpoint_to_handler)
5649 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5650 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5651 restart GDB. No need to delete breakpoints after the test.
5652 (top level): Use foreach to call the test procedures with
5653 different commands.
5654
a5b6e449
PA
56552014-10-28 Pedro Alves <palves@redhat.com>
5656
5657 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5658 instead of GNATS numbers.
5659 * gdb.base/sigbpt.exp: Likewise.
5660 * gdb.base/siginfo.exp: Likewise.
5661 * gdb.base/sigstep.exp: Likewise.
5662
e5f8a7cc
PA
56632014-10-27 Pedro Alves <palves@redhat.com>
5664
5665 * gdb.base/sigstep.c (dummy): New global.
5666 (main): Issue a couple writes to the new global.
5667 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5668 procedures.
5669 (skip_over_handler): Use test_skip_handler.
5670 (top level): Call skip_over_handler for stepi and nexti too.
5671 (breakpoint_over_handler): Use test_skip_handler.
5672 (top level): Call breakpoint_over_handler for stepi and nexti too.
5673
763905a3
YQ
56742014-10-27 Yao Qi <yao@codesourcery.com>
5675
5676 * gdb.trace/tfile.c (adjust_function_address)
5677 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5678 function descriptor.
5679
6f259a23
DB
56802014-10-24 Don Breazeal <donb@codesourcery.com>
5681
5682 * gdb.base/foll-fork.exp (test_follow_fork,
5683 catch_fork_child_follow): Check for updated fork messages emitted
5684 from infrun.c.
5685 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5686 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5687 vfork_and_exec_child_follow_through_step): Check for updated vfork
5688 messages emitted from infrun.c.
5689
09dd9a69
PA
56902014-10-24 Pedro Alves <palves@redhat.com>
5691
5692 * gdb.base/corefile.exp: Remove references to ultrix.
5693 * gdb.base/interrupt.exp: Likewise.
5694 * gdb.base/whatis.exp: Likewise.
5695 * gdb.gdb/selftest.exp: Likewise.
5696 * gdb.threads/manythreads.exp: Likewise.
5697 * gdb.threads/print-threads.exp: Likewise.
5698 * gdb.threads/pthreads.exp:: Likewise.
5699 * gdb.threads/schedlock.exp: Likewise.
5700
3433cfa5
SC
57012014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5702
5703 * gdb.cp/non-trivial-retval.cc: Add a test case.
5704 * gdb.cp/non-trivial-retval.exp: Add a test.
5705
092f880b
YQ
57062014-10-20 Yao Qi <yao@codesourcery.com>
5707
5708 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5709 * gdb.python/py-objfile-script-gdb.py: New file.
5710 * gdb.python/py-objfile-script.exp: Update reference to
5711 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5712 of remote_download. Remove the dest file.
5713
acbdb7f3
YQ
57142014-10-20 Yao Qi <yao@codesourcery.com>
5715
5716 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5717 * gdb.base/step-line.exp: Likewise.
5718 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5719 * gdb.dwarf2/dw2-basic.exp: Likewise.
5720 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5721 * gdb.dwarf2/dw2-filename.exp: Likewise.
5722 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5723 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5724 * gdb.dwarf2/dw2-producer.exp: Likewise.
5725 * gdb.dwarf2/mac-fileno.exp: Likewise.
5726 * gdb.python/py-frame-args.exp: Likewise.
5727 * gdb.python/py-framefilter.exp: Likewise.
5728 * gdb.python/py-mi.exp: Likewise.
5729 * gdb.python/py-objfile-script.exp: Likewise
5730 * gdb.python/py-pp-integral.exp: Likewise.
5731 * gdb.python/py-pp-re-notag.exp: Likewise.
5732 * gdb.python/py-prettyprint.exp: Likewise.
5733 * gdb.python/py-section-script.exp: Likewise.
5734 * gdb.python/py-typeprint.exp: Likewise.
5735 * gdb.python/py-xmethods.exp: Likewise.
5736 * gdb.stabs/weird.exp: Likewise.
5737 * gdb.xml/tdesc-regs.exp: Likewise.
5738
bd286a29
KCY
57392014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5740
5741 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5742 (out_cu): Use addr_len for the size of addresses.
5743 (out_line): Likewise. Size DW_LNE_set_address instruction
5744 according to addr_len.
5745 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5746 (FUNC): Add START_INSNS to definition.
5747
673dc4a0
YQ
57482014-10-18 Yao Qi <yao@codesourcery.com>
5749
5750 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5751 gdb_has_argv0 return true.
5752 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5753 check [target_info exists noargs], check [gdb_has_argv0]
5754 instead.
5755 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5756 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5757 procedures.
5758
4ffbba72
DE
57592014-10-17 Doug Evans <dje@google.com>
5760
5761 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5762 event.
5763 * gdb.python/py-events.py: Add clear_objfiles event.
5764
d096d8c1
DE
57652014-10-17 Doug Evans <dje@google.com>
5766
5767 * gdb.python/py-objfile.exp: Test progspace attribute.
5768
a80db015
LM
57692014-10-17 Luis Machado <lgustavo@codesourcery.com>
5770
5771 * gdb.guile/scm-breakpoint.exp: Do not assume any
5772 directory separators when matching source file paths.
5773 * gdb.python/py-breakpoint.exp: Likewise.
5774 * gdb.reverse/break-precsave.exp: Likewise.
5775 * gdb.reverse/break-reverse.exp: Likewise.
5776 * gdb.reverse/consecutive-precsave.exp: Likewise.
5777 * gdb.reverse/finish-precsave.exp: Likewise.
5778 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5779 * gdb.reverse/finish-reverse.exp: Likewise.
5780 * gdb.reverse/i386-precsave.exp: Likewise.
5781 * gdb.reverse/i387-env-reverse.exp: Likewise.
5782 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5783 * gdb.reverse/machinestate-precsave.exp: Likewise.
5784 * gdb.reverse/machinestate.exp: Likewise.
5785 * gdb.reverse/sigall-precsave.exp: Likewise.
5786 * gdb.reverse/solib-precsave.exp: Likewise.
5787 * gdb.reverse/step-precsave.exp: Likewise.
5788 * gdb.reverse/until-precsave.exp: Likewise.
5789 * gdb.reverse/watch-precsave.exp: Likewise.
5790 * gdb.reverse/watch-reverse.exp: Likewise.
5791
b22089ab
YQ
57922014-10-17 Yao Qi <yao@codesourcery.com>
5793
5794 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5795 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5796
6c4486e6
PA
57972014-10-17 Pedro Alves <palves@redhat.com>
5798
5799 PR gdb/17471
5800 * gdb.base/bg-execution-repeat.c: New file.
5801 * gdb.base/bg-execution-repeat.exp: New file.
5802
0ff33695
PA
58032014-10-17 Pedro Alves <palves@redhat.com>
5804
5805 PR gdb/17300
5806 * gdb.base/continue-all-already-running.c: New file.
5807 * gdb.base/continue-all-already-running.exp: New file.
5808
6fdebc3d
PA
58092014-10-17 Pedro Alves <palves@redhat.com>
5810
5811 PR gdb/17472
5812 * gdb.base/annota-input-while-running.c: New file.
5813 * gdb.base/annota-input-while-running.exp: New file.
5814
32a8097b
PA
58152014-10-17 Pedro Alves <palves@redhat.com>
5816
5817 * gdb.base/callfuncs.exp: emove references to osf.
5818 * gdb.base/sigall.exp: Likewise.
5819 * gdb.gdb/selftest.exp: Likewise.
5820 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5821 * gdb.mi/non-stop.c: Likewise.
5822 * gdb.mi/pthreads.c: Likewise.
5823 * gdb.reverse/sigall-precsave.exp: Likewise.
5824 * gdb.reverse/sigall-reverse.exp: Likewise.
5825 * gdb.threads/pthreads.c: Likewise.
5826 * gdb.threads/pthreads.exp: Likewise.
5827
7a3517ff
YQ
58282014-10-17 Yao Qi <yao@codesourcery.com>
5829
5830 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5831 check 'target_info exists noargs'.
5832 (test_command_prompt_position): Likewise.
5833 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5834 Remove "set args".
5835 (progvar_simple_while_test): Likewise.
5836 (progvar_complex_if_while_test): Likewise.
5837 (if_while_breakpoint_command_test): Likewise.
5838 (infrun_breakpoint_command_test): Likewise.
5839 (breakpoint_command_test): Likewise.
5840 (watchpoint_command_test): Likewise.
5841 (bp_deleted_in_command_test): Likewise.
5842 (temporary_breakpoint_commands): Likewise.
5843
bb99c472
YQ
58442014-10-16 Yao Qi <yao@codesourcery.com>
5845
5846 * gdb.base/remotetimeout.exp: Remove noargs checking.
5847
7c16b83e
PA
58482014-10-15 Pedro Alves <palves@redhat.com>
5849
5850 PR breakpoints/9649
5851 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5852 * gdb.base/breakpoint-in-ro-region.exp
5853 (probe_target_hardware_step): New procedure.
5854 (top level): Probe hardware stepping and hardware breakpoint
5855 support. Test stepping through a read-only region, with both
5856 "breakpoint auto-hw" on and off and both "always-inserted" on and
5857 off.
5858
35a49624
IB
58592014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5860
5861 * gdb.dlang/demangle.exp: Update for demangling changes.
5862
2d1c107c
SC
58632014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5864
5865 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5866 * gdb.cp/non-trivial-retval.exp: Add new tests.
5867
778811d5
SC
58682014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5869
5870 PR c++/13403
5871 PR c++/15154
5872 * gdb.cp/non-trivial-retval.cc: New file.
5873 * gdb.cp/non-trivial-retval.exp: New file.
5874
10c5f0a8
YQ
58752014-10-15 Yao Qi <yao@codesourcery.com>
5876
5877 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5878 remote host.
5879
65d7b369
YQ
58802014-10-15 Yao Qi <yao@codesourcery.com>
5881
5882 * gdb.python/py-symbol.exp: Match file base name if host is
5883 remote, otherwise match file name with dir name.
5884 * gdb.python/py-symtab.exp: Likewise.
5885 * gdb.python/python.exp: Likewise.
5886
46dc1394
YQ
58872014-10-15 Yao Qi <yao@codesourcery.com>
5888
5889 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5890 pattern.
5891 * gdb.python/py-symtab.exp: Likewise.
5892 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5893 locationn.
5894
c40cc657
JB
58952014-10-14 Joel Brobecker <brobecker@adacore.com>
5896
5897 * gdb.ada/addr_arith: New testcase.
5898
2abf49e1
MR
58992014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5900
5901 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5902 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5903 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5904 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5905
f7088df3
SDJ
59062014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5907
5908 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5909 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5910 * gdb.arch/stap-eval-lang-ada.exp: New file.
5911
4dc06805
YQ
59122014-10-14 Yao Qi <yao@codesourcery.com>
5913
5914 * gdb.mi/mi-var-child.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-child.exp: Step over new added statements.
5919 Update test to match the new output.
5920 * gdb.mi/var-cmd.c (nothing1): New function.
5921 (nothing2): New function.
5922 (do_children_tests): Set function pointers by nothing1 and
5923 nothing2.
5924 * gdb.mi/mi-var-display.exp: Update test to match output.
5925 Step to the line specified by $line_dct_nothing.
5926 Increase the number of lines to step.
5927
46a93de2
YQ
59282014-10-14 Yao Qi <yao@codesourcery.com>
5929
5930 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5931 tests.
5932 * gdb.mi/mi2-var-child.exp: Likewise.
5933
14ea52ee
DE
59342014-10-13 Doug Evans <dje@google.com>
5935
5936 * gdb.python/py-objfile.exp: Change name of file name test.
5937
e5c6e92b
DE
59382014-10-13 Doug Evans <dje@google.com>
5939
5940 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5941 from the start of the CU.
5942
c780cc2f
JK
59432014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5944 Yao Qi <yao@codesourcery.com>
5945
5946 Fix "save breakpoints" for "catch" command.
5947 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5948 Remove -nonewline. Match also the added "main" line.
5949
99894e11
JK
59502014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5951
5952 Fix "save breakpoints" for "disable $bpnum" command.
5953 * gdb.base/save-bp.c (main): Add label.
5954 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5955
6e1ac5a3
JK
59562014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5957
5958 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5959
754dd2b0
YQ
59602014-10-11 Yao Qi <yao@codesourcery.com>
5961
5962 * gdb.server/server-kill.exp: Execute command
5963 "set remote trace-status-packet on" before "tstatus".
5964
f90183d7
YQ
59652014-10-11 Yao Qi <yao@codesourcery.com>
5966
5967 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5968 (main): Call getppid.
5969 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5970 and continue to it. Read variable "server_pid".
5971
bf40a607
YQ
59722014-10-11 Yao Qi <yao@codesourcery.com>
5973
5974 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5975
052ca370
YQ
59762014-10-11 Yao Qi <yao@codesourcery.com>
5977
5978 * gdb.threads/thread-find.exp: Don't execute command
5979 "info threads".
5980 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5981 * gdb.threads/linux-dp.exp: Don't check the condition
5982 $threads_created equals to zero.
5983
3831839c
PA
59842014-10-10 Pedro Alves <palves@redhat.com>
5985
5986 * gdb.base/bigcore.exp: Remove references to IRIX.
5987 * gdb.base/funcargs.exp: Likewise.
5988 * gdb.base/interrupt.exp: Likewise.
5989 * gdb.base/mips_pro.exp: Likewise.
5990 * gdb.base/nodebug.exp: Likewise.
5991 * gdb.base/setvar.exp: Likewise.
5992 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5993
8b9a549d
PA
59942014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5995 Pedro Alves <palves@redhat.com>
5996
5997 PR symtab/14466
5998 * gdb.base/vdso-warning.c: New file.
5999 * gdb.base/vdso-warning.exp: New file.
6000
d48ba5e8
DE
60012014-10-02 Doug Evans <dje@google.com>
6002
6003 * gdb.base/structs.c (main): Don't run forever.
6004
2278c276
PA
60052014-10-02 Pedro Alves <palves@redhat.com>
6006
6007 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6008 (top level) <stop threads 1, stop threads 2>: Use it.
6009
b57bacec
PA
60102014-10-02 Pedro Alves <palves@redhat.com>
6011
6012 * gdb.threads/break-while-running.exp (test): Add new
6013 'update_thread_list' argument. Skip "info threads" if false.
6014 (top level): Add new 'update_thread_list' axis.
6015
13fd3ff3
PA
60162014-10-02 Pedro Alves <palves@redhat.com>
6017
6018 PR breakpoints/17431
6019 * gdb.base/execl-update-breakpoints.c: New file.
6020 * gdb.base/execl-update-breakpoints.exp: New file.
6021
0fec99e8
PA
60222014-10-01 Pedro Alves <palves@redhat.com>
6023
6024 * gdb.base/breakpoint-in-ro-region.c: New file.
6025 * gdb.base/breakpoint-in-ro-region.exp: New file.
6026
2ddf4301
SM
60272014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6028
6029 * gdb.mi/mi-exit-code.exp: New file.
6030 * gdb.mi/mi-exit-code.c: New file.
6031
6a5f3f43
YQ
60322014-09-30 Yao Qi <yao@codesourcery.com>
6033
6034 * lib/prelink-support.exp (build_executable_own_libs): Error if
6035 the target isn't native.
6036
345bcc73
YQ
60372014-09-30 Yao Qi <yao@codesourcery.com>
6038
6039 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6040 false.
6041
a25a5a45
PA
60422014-09-22 Pedro Alves <palves@redhat.com>
6043
6044 * gdb.threads/break-while-running.exp: New file.
6045 * gdb.threads/break-while-running.c: New file.
6046
00ba3162
YQ
60472014-09-19 Yao Qi <yao@codesourcery.com>
6048
6049 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6050 Invoke test. Restart GDB with --readnow and invoke test again.
6051
c3b7b696
YQ
60522014-09-19 Yao Qi <yao@codesourcery.com>
6053
6054 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6055 proc set_breakpoint_on_gcd_function. Invoke
6056 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6057 invoke set_breakpoint_on_gcd_function again.
6058
2b4fd423
DE
60592014-09-18 Doug Evans <dje@google.com>
6060
6061 * gdb.dwarf2/symtab-producer.exp: New file.
6062
a5947601
SDJ
60632014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6064
6065 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6066 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6067 * gdb.base/global-var-nested-by-dso.c: Likewise.
6068 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6069
91c19059
SDJ
60702014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6071 Pedro Alves <palves@redhat.com>
6072
6073 * gdb.base/watch-bitfields.exp: Pass string other than test file
6074 name to prepare_for_testing.
6075 (watch): New procedure.
6076 (expect_watchpoint): Use with_test_prefix.
6077 (top level): Factor out tests to ...
6078 (test_watch_location, test_regular_watch): ... these new
6079 procedures, and use with_test_prefix and gdb_continue_to_end.
6080
bb9d5f81
PP
60812014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6082
6083 PR breakpoints/12526
6084 * gdb.base/watch-bitfields.exp: New file.
6085 * gdb.base/watch-bitfields.c: New file.
6086
635856f5
PA
60872014-09-16 Pedro Alves <palves@redhat.com>
6088
6089 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6090 software and hardware addresses, not software address against
6091 itself.
6092
7280ceea
PA
60932014-09-16 Pedro Alves <palves@redhat.com>
6094
6095 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6096 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6097
428b16bd
PA
60982014-09-16 Pedro Alves <palves@redhat.com>
6099
6100 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6101 files.
6102 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6103 "*-*-vxworks*" throughout.
6104 * gdb.base/break.exp: Likewise.
6105 * gdb.base/default.exp: Likewise.
6106 * gdb.base/scope.exp: Likewise.
6107 * gdb.base/sepdebug.exp: Likewise.
6108 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6109 throughout.
6110 * gdb.base/run.c: Likewise.
6111 * gdb.base/sepdebug.c: Likewise.
6112 * gdb.hp/gdb.aCC/run.c: Likewise.
6113 * gdb.reverse/until-reverse.c: Likewise.
6114 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6115
666d413c
YQ
61162014-09-16 Yao Qi <yao@codesourcery.com>
6117
6118 * boards/local-remote-host-native.exp: New file.
6119
57cbd724
DE
61202014-09-14 Doug Evans <xdje42@gmail.com>
6121
6122 * gdb.threads/queue-signal.c (thread_count): New variable.
6123 (thread_count_mutex, thread_count_condvar): New variables.
6124 (incr_thread_count, wait_all_threads_running): New functions.
6125 (main): Wait for all threads to be in their thread functions.
6126
81219e53
DE
61272014-09-13 Doug Evans <xdje42@gmail.com>
6128
6129 * gdb.threads/queue-signal.c: New file.
6130 * gdb.threads/queue-signal.exp: New file.
6131
3714cea7
DE
61322014-09-13 Doug Evans <xdje42@gmail.com>
6133
6134 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6135 be consistent with what default_gdb_init uses.
6136 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6137 the plain text of the prompt. Add some logging printfs.
6138 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6139
fa43b1d7
PA
61402014-09-12 Pedro Alves <palves@redhat.com>
6141
6142 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6143 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6144 * gdb.arch/i386-size-overlap.exp: Likewise.
6145 * gdb.arch/i386-size.exp: Likewise.
6146 * gdb.arch/i386-unwind.exp: Likewise.
6147 * gdb.base/a2-run.exp: Likewise.
6148 * gdb.base/break.exp: Likewise.
6149 * gdb.base/charset.exp: Likewise.
6150 * gdb.base/chng-syms.exp: Likewise.
6151 * gdb.base/commands.exp: Likewise.
6152 * gdb.base/dbx.exp: Likewise.
6153 * gdb.base/find.exp: Likewise.
6154 * gdb.base/funcargs.exp: Likewise.
6155 * gdb.base/jit-simple.exp: Likewise.
6156 * gdb.base/reread.exp: Likewise.
6157 * gdb.base/sepdebug.exp: Likewise.
6158 * gdb.base/step-bt.exp: Likewise.
6159 * gdb.cp/mb-inline.exp: Likewise.
6160 * gdb.cp/mb-templates.exp: Likewise.
6161 * gdb.objc/basicclass.exp: Likewise.
6162 * gdb.threads/killed.exp: Likewise.
6163
9d9bf2df
EBM
61642014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6165
6166 PR tdep/17379
6167 * gdb.arch/powerpc-stackless.S: New file.
6168 * gdb.arch/powerpc-stackless.exp: New file.
6169
1cf2f1b0
JK
61702014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6171
6172 * gdb.base/attach.c: Include unistd.h.
6173 (main): Call alarm. Add label postloop.
6174 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6175 gdb_breakpoint, gdb_continue_to_breakpoint.
6176 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6177
98880d46
PA
61782014-09-11 Pedro Alves <palves@redhat.com>
6179
6180 PR gdb/17347
6181 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6182 * gdb.base/attach.exp (test_command_line_attach_run): New
6183 procedure.
6184 (top level): Call it.
6185
4c92ff2c
PA
61862014-09-11 Pedro Alves <palves@redhat.com>
6187
6188 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6189 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6190 (do_command_attach_tests): Use spawn_wait_for_attach.
6191 * gdb.base/solib-overlap.exp: Likewise.
6192 * gdb.multi/multi-attach.exp: Likewise.
6193 * gdb.python/py-prompt.exp: Likewise.
6194 * gdb.python/py-sync-interp.exp: Likewise.
6195 * gdb.server/ext-attach.exp: Likewise.
6196
3adc1a7d
GKB
61972014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6198
6199 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6200 command in testcase. Simplify testcase.
6201
96334934
JB
62022014-09-10 Joel Brobecker <brobecker@adacore.com>
6203
6204 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6205
eb479039
JB
62062014-09-10 Joel Brobecker <brobecker@adacore.com>
6207
6208 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6209
deede10c
JB
62102014-09-10 Joel Brobecker <brobecker@adacore.com>
6211
6212 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6213
7828a5f5
JB
62142014-09-10 Joel Brobecker <brobecker@adacore.com>
6215
6216 * gdb.dwarf2/dynarr-ptr.c: New file.
6217 * gdb.dwarf2/dynarr-ptr.exp: New file.
6218
33aeebcf
MR
62192014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6220
6221 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6222 of 30 rather than hardcoding 120 for a slow test case. Take the
6223 `gdb,timeout' target setting into account for this calculation.
6224 Don't extend the timeout for the test cases that don't need it.
6225
7b415901
MR
62262014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6227
6228 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6229 a factor of 2 for a slow test case. Take the `gdb,timeout'
6230 target setting into account for this calculation.
6231 * gdb.reverse/until-precsave.exp: Increase the timeout by
6232 a factor of 15 and 3 respectively rather than adding 120
6233 for a pair of slow test cases. Take the `gdb,timeout'
6234 target setting into account for this calculation.
6235
4a40f85a
MR
62362014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6237
6238 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6239 timeout, don't pass one down to gdb_expect.
6240 (gdb_expect): Rework timeout selection.
6241
09635af7
MR
62422014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6243
6244 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6245 exception on timeout.
6246 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6247 (gdbserver_start_extended): Catch any `gdbserver_start' error
6248 exceptions.
6249 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6250 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6251 `gdbserver_gdb_load' error exceptions.
6252
2bdd10b7
MR
62532014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6254
6255 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6256 120 on waiting for the TCP socket to open.
6257
316935f0
DE
62582014-09-09 Doug Evans <xdje42@gmail.com>
6259
6260 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6261 _caller_matches, _any_caller_is, _any_caller_matches.
6262
83740597
DE
62632014-09-09 Doug Evans <xdje42@gmail.com>
6264
6265 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6266
4c122fc3
YQ
62672014-09-09 Yao Qi <yao@codesourcery.com>
6268
6269 * gdb.mi/mi-var-display.exp: Set print symbol off.
6270
a9f116cb
GKB
62712014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6272
6273 PR gdb/17035
6274 * gdb.base/commands.exp: Add tests to verify user-defined
6275 commands with empty bodies.
6276 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6277 python commands in `show user command`.
6278 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6279 scheme commands in `show user command`.
6280
c75bd3a2
JK
62812014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6282
6283 PR python/17355
6284 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6285 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6286 * gdb.python/py-framefilter-invalidarg.exp: New file.
6287 * gdb.python/py-framefilter-invalidarg.py: New file.
6288
faa42425
DE
62892014-09-06 Doug Evans <xdje42@gmail.com>
6290
6291 PR 15276
6292 * gdb.python/py-caller-is.c: New file.
6293 * gdb.python/py-caller-is.exp: New file.
6294
474ca4f6
SDJ
62952014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6296
6297 PR gdb/17235
6298 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6299 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6300
eb0b0463
SDJ
63012014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6302
6303 PR fortran/17237
6304 * gdb.fortran/print-formatted.exp: New file.
6305 * gdb.fortran/print-formatted.f90: Likewise.
6306
5f3b99cf
SS
63072014-09-03 Sasha Smundak <asmundak@google.com>
6308
6309 * gdb.python/py-frame.exp: Test Frame.read_register.
6310
7d793aa9
SDJ
63112014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6312
6313 PR python/16699
6314 * gdb.python/py-completion.exp: New file.
6315 * gdb.python/py-completion.py: Likewise.
6316
fb0576e9
DE
63172014-08-28 Doug Evans <dje@google.com>
6318
6319 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6320 eax,etc. are live with values set by gdb and thus the compiler can't
6321 use them.
6322 * gdb.arch/i386-pseudo.c (main): Ditto.
6323
ee92b0dd
DE
63242014-08-27 Doug Evans <dje@google.com>
6325
6326 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6327
6649db35
DE
63282014-08-25 Doug Evans <dje@google.com>
6329
6330 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6331 (main): Ditto.
6332
564b7600
DE
63332014-08-25 Doug Evans <dje@google.com>
6334
6335 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6336
3881fb67
YQ
63372014-08-24 Yao Qi <yao@codesourcery.com>
6338
6339 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6340 symbol off.
6341 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6342
a05a36a5
DE
63432014-08-22 Doug Evans <dje@google.com>
6344
6345 PR 17276
6346 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6347 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6348 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6349
7c343b48
YQ
63502014-08-22 Yao Qi <yao@codesourcery.com>
6351
6352 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6353 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6354 * gdb.python/python.exp: Likewise. Use .py file on the host
6355 instead of the build.
6356
22fd09ae
JK
63572014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6358
6359 * gdb.threads/gcore-stale-thread.c: New file.
6360 * gdb.threads/gcore-stale-thread.exp: New file.
6361
a8454a7c
PA
63622014-08-21 Pedro Alves <palves@redhat.com>
6363
6364 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6365 * gdb.base/gcore-relro-pie.exp: Likewise.
6366 * gdb.base/gcore-relro.exp: Likewise.
6367 * gdb.base/gcore.exp: Likewise.
6368 * gdb.base/print-symbol-loading.exp: Likewise.
6369 * gdb.threads/gcore-thread.exp: Likewise.
6370 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6371
2a31c623
PA
63722014-08-20 Pedro Alves <palves@redhat.com>
6373 Jan Kratochvil <jan.kratochvil@redhat.com>
6374
6375 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6376 configure.
6377 (EXPECT): Handle READ1 being set.
6378 (all): Depend on EXTRA_RULES.
6379 (check-read1, expect-read1, read1.so, read1): New rules.
6380 * README (Testsuite Parameters): Document the READ1 make variable.
6381 (Race detection): New section.
6382 * configure: Regenerate.
6383 * configure.ac: If build==host==target, and running under a
6384 GNU/glibc system, add read1 to the extra Makefile rules.
6385 (EXTRA_RULES): AC_SUBST it.
6386 * lib/read1.c: New file.
6387
d36430db
JB
63882014-08-20 Joel Brobecker <brobecker@adacore.com>
6389
6390 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6391 the handling of variables declared as a typedef to an array
6392 which a DW_AT_data_location attribute.
6393
9a0dc9e3
PA
63942014-08-19 Andrew Burgess <aburgess@broadcom.com>
6395 Pedro Alves <palves@redhat.com>
6396
6397 PR symtab/14604
6398 PR symtab/14605
6399 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6400 gdb_test.
6401
0718a8da
PA
64022014-08-19 Pedro Alves <palves@redhat.com>
6403
6404 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6405
13b448cd
YQ
64062014-08-19 Yao Qi <yao@codesourcery.com>
6407
6408 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6409 right line.
6410
1cbf5077
DB
64112014-08-18 David Blaikie <dblaikie@gmail.com>
6412
6413 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6414
bf0fae19
JB
64152014-08-18 Joel Brobecker <brobecker@adacore.com>
6416
6417 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6418 attribute in array range.
6419
3c8c5dcc
JB
64202014-08-18 Joel Brobecker <brobecker@adacore.com>
6421
6422 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6423
e66d4446
SC
64242014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6425
6426 PR c++/17132
6427 * gdb.cp/pr17132.cc: New file.
6428 * gdb.cp/pr17132.exp: New file.
6429
940df408
SC
64302014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6431
6432 * gdb.python/py-xmethods.py (A_getarrayind)
6433 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6434 Use 'print' with function call syntax.
6435 (E_method_matcher.match): Fix tab vs space indentation mixup.
6436
ebcc6c3a
YQ
64372014-08-15 Yao Qi <yao@codesourcery.com>
6438
6439 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6440 false.
6441
775e0f04
YQ
64422014-08-15 Yao Qi <yao@codesourcery.com>
6443
6444 * gdb.cp/casts.exp: Set print symbol off.
6445 * gdb.cp/class2.exp: Likewise.
6446 * gdb.cp/overload.exp: Likewise.
6447 * gdb.cp/templates.exp: Likewise.
6448
d769e349
DE
64492014-08-11 Doug Evans <dje@google.com>
6450
6451 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6452 (test_load_shlib): Update.
6453
20c6f1e1
YQ
64542014-08-09 Yao Qi <yao@codesourcery.com>
6455
6456 * gdb.base/display.exp: Invoke is_address_zero_readable.
6457 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6458 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6459 * gdb.base/hbreak-unmapped.exp: Return if
6460 is_address_zero_readable returns true.
6461 * gdb.base/signest.exp: Likewise.
6462 * gdb.base/signull.exp: Likewise.
6463 * gdb.base/sigbpt.exp: Likewise.
6464 * gdb.guile/scm-disasm.exp: Do the test if
6465 is_address_zero_readable returns false.
6466 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6467 * gdb.python/py-arch.exp: Likewise.
6468 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6469 * lib/gdb.exp (is_address_zero_readable): New proc.
6470
5792e8e3
YQ
64712014-08-09 Yao Qi <yao@codesourcery.com>
6472
6473 PR testsuite/13443
6474 * gdb.mi/mi-var-display.exp: Make test messages unique.
6475
3cecbbbe
TT
64762014-08-04 Tom Tromey <tromey@redhat.com>
6477
6478 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6479 target 0".
6480
00b51ff5
TT
64812014-08-04 Tom Tromey <tromey@redhat.com>
6482
6483 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6484 "target_resume".
6485
6908c509
JB
64862014-08-01 Joel Brobecker <brobecker@adacore.com>
6487
6488 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6489 inner_vla_struct_object_size.
6490 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6491 as xfail.
6492
cc6563d2
PA
64932014-07-30 Pedro Alves <palves@redhat.com>
6494
6495 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6496 comment.
6497
7e09a223
YQ
64982014-07-29 Yao Qi <yao@codesourcery.com>
6499
6500 PR gdb/17206
6501 * gdb.base/until-nodebug.exp: New.
6502
7ebdbe92
DE
65032014-07-28 Doug Evans <xdje42@gmail.com>
6504
6505 PR guile/17203
6506 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6507 previously existing parameter, and previously ambiguously spelled
6508 parameter.
6509
fdb1adc6
WN
65102014-07-28 Will Newton <will.newton@linaro.org>
6511
6512 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6513
186fcde0
DE
65142014-07-26 Ludovic Courtès <ludo@gnu.org>
6515 Doug Evans <xdje42@gmail.com>
6516
6517 PR guile/17146
6518 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6519
70509625
PA
65202014-07-25 Pedro Alves <palves@redhat.com>
6521
6522 * gdb.threads/signal-command-handle-nopass.c: New file.
6523 * gdb.threads/signal-command-handle-nopass.exp: New file.
6524 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6525 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6526 * gdb.threads/signal-delivered-right-thread.c: New file.
6527 * gdb.threads/signal-delivered-right-thread.exp: New file.
6528
c3f814a1
PA
65292014-07-25 Pedro Alves <palves@redhat.com>
6530
6531 * gdb.base/double-prompt-target-event-error.exp
6532 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6533 match.
6534 (cancel_pagination_in_target_event): Rework double prompt
6535 detection.
6536 * gdb.base/paginate-after-ctrl-c-running.exp
6537 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6538 <return>' match.
6539 * gdb.base/paginate-bg-execution.exp
6540 (test_bg_execution_pagination_return)
6541 (test_bg_execution_pagination_cancel): Remove '-notransfer
6542 <return>' matches.
6543 * gdb.base/paginate-execution-startup.exp
6544 (test_fg_execution_pagination_return)
6545 (test_fg_execution_pagination_cancel): Remove '-notransfer
6546 <return>' matches.
6547 * gdb.base/paginate-inferior-exit.exp
6548 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6549 match.
6550 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6551 * lib/gdb.exp (pagination_prompt): Run text through
6552 string_to_regexp.
6553 (gdb_test_multiple): Match $pagination_prompt instead of
6554 "<return>".
6555 (string_to_regexp): Move to lib/gdb-utils.exp.
6556
e214cf6c
JK
65572014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6558
6559 * gdb.arch/amd64-entry-value-paramref.S: New file.
6560 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6561 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6562 * gdb.arch/amd64-optimout-repeat.S: New file.
6563 * gdb.arch/amd64-optimout-repeat.c: New file.
6564 * gdb.arch/amd64-optimout-repeat.exp: New file.
6565
17d0c5c8
JK
65662014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6567
6568 PR gdb/17170
6569 * gdb.base/statistics.exp: New file.
6570
b8b8facf
DE
65712014-07-17 Doug Evans <dje@google.com>
6572
74b49205 6573 PR gdb/17170
b8b8facf
DE
6574 * gdb.base/maint.exp: Update testing of per-command stats.
6575
1b5d0ab3
PA
65762014-07-16 Pedro Alves <palves@redhat.com>
6577
6578 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6579 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6580 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6581 (tfile_write_buf): New functions.
6582 (add_memory_block): Rewrite using the above.
6583 (adjust_function_address): New function.
6584 (FUNCTION_ADDRESS): New macro.
6585 (write_basic_trace_file): Remove short_x local, and use
6586 tfile_write_16. Change type of func_addr local to unsigned long
6587 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6588 here. Cast argument of add_memory_block to char pointer.
6589 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6590 (main): Remove parameters.
6591 * gdb.trace/tfile.exp: Remove nowarnings.
6592
4d974e88
SM
65932014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6594
6595 * gdb.base/debug-expr.exp: Test string evaluation with
6596 "debug expression" on.
6597
41e99568
PA
65982014-07-15 Pedro Alves <palves@redhat.com>
6599
6600 * gdb.base/reread.exp: Use clean_restart.
6601
487d9753
PL
66022014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6603
6604 * gdb.arch/avr-flash-qualifer.c: New.
6605 * gdb.arch/avr-flash-qualifer.exp: New.
6606
cc1c52ad
PA
66072014-07-14 Pedro Alves <palves@redhat.com>
6608
6609 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6610 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6611
1e973570
PA
66122014-07-14 Pedro Alves <palves@redhat.com>
6613
6614 * gdb.base/double-prompt-target-event-error.c: New file.
6615 * gdb.base/double-prompt-target-event-error.exp: New file.
6616
93d6eb10
PA
66172014-07-14 Pedro Alves <palves@redhat.com>
6618
6619 PR gdb/17072
6620 * gdb.base/paginate-inferior-exit.c: New file.
6621 * gdb.base/paginate-inferior-exit.exp: New file.
6622
0017922d
PA
66232014-07-14 Pedro Alves <palves@redhat.com>
6624
6625 PR gdb/17072
6626 * gdb.base/paginate-bg-execution.c: New file.
6627 * gdb.base/paginate-bg-execution.exp: New file.
6628
94696ad3
PA
66292014-07-14 Pedro Alves <palves@redhat.com>
6630
6631 PR gdb/17072
6632 * gdb.base/paginate-execution-startup.c: New file.
6633 * gdb.base/paginate-execution-startup.exp: New file.
6634 * lib/gdb.exp (pagination_prompt): New global.
6635 (default_gdb_spawn): New procedure, factored out from
6636 default_gdb_spawn.
6637 (default_gdb_start): Adjust to call default_gdb_spawn.
6638 (gdb_spawn): New procedure.
6639
bd293940
PA
66402014-07-14 Pedro Alves <palves@redhat.com>
6641
6642 * lib/gdb.exp (gdb_assert): New procedure.
6643 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6644
c933f875
PA
66452014-07-14 Pedro Alves <palves@redhat.com>
6646
6647 * gdb.base/execution-termios.c: New file.
6648 * gdb.base/execution-termios.exp: New file.
6649
d98b7a16
TT
66502014-07-14 Tom Tromey <tromey@redhat.com>
6651
6652 * gdb.cp/vla-cxx.cc: New file.
6653 * gdb.cp/vla-cxx.exp: New file.
6654
548740d6
TT
66552014-07-14 Tom Tromey <tromey@redhat.com>
6656
6657 * gdb.reverse/rerun-prec.c: New file.
6658 * gdb.reverse/rerun-prec.exp: New file.
6659
a25eb028
MR
66602014-07-12 Maciej W. Rozycki <macro@mips.com>
6661 Maciej W. Rozycki <macro@codesourcery.com>
6662
6663 * lib/gdb-utils.exp: New file.
6664 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6665 inline `gdb_init_command' processing.
6666 (gdb_start_cmd): Likewise.
6667 * lib/mi-support.exp (mi_run_cmd): Likewise.
6668 * README: Document `gdb_init_command' and `gdb_init_commands'.
6669
218c2655
JK
66702014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6671
6672 Fix false FAIL running under a very long directory name.
6673 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6674 and "set print elements 10000". Twice.
6675
5401fde3
YQ
66762014-07-11 Yao Qi <yao@codesourcery.com>
6677
6678 * gdb.base/exprs.exp: "set print symbol off".
6679
e76126e8
PA
66802014-07-11 Pedro Alves <palves@redhat.com>
6681
6682 * gdb.threads/kill.c: New file.
6683 * gdb.threads/kill.exp: New file.
6684
2d6f0de6
YQ
66852014-07-10 Yao Qi <yao@codesourcery.com>
6686
6687 * gdb.trace/tfile.c (write_basic_trace_file)
6688 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6689 address written to trace file.
6690
7180e04a
PA
66912014-07-09 Pedro Alves <palves@redhat.com>
6692
6693 * gdb.base/attach-wait-input.exp: New file.
6694 * gdb.base/attach-wait-input.c: New file.
6695
9a9a7608
AB
66962014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6697
6698 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6699 setting up test structures.
6700 (main): Call new test function.
6701 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6702 test function, continue into test function and walk test
6703 structures.
6704
161ac41e
YQ
67052014-07-02 Yao Qi <yao@codesourcery.com>
6706
6707 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6708 'bar_start' at the beginning of functions 'foo' and 'bar'
6709 respectively.
6710 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6711 instead of 'foo' and 'bar'.
6712
1f267ae3
MM
67132014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6714
6715 * gdb.btrace/segv.exp: New.
6716 * gdb.btrace/segv.c: New.
6717
2b239efb
LM
67182014-07-02 Luis Machado <lgustavo@codesourcery.com>
6719
6720 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6721 instruction.
6722
cf363f18
MW
67232014-06-30 Mark Wielaard <mjw@redhat.com>
6724
6725 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6726 vulture, vilify, villar): New volatile array constants.
6727 (vindictive, vegetation): New const volatile array constants.
6728 * gdb.base/volatile.exp: Test volatile and const volatile array
6729 types.
6730
aebf9d24
AA
67312014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6732
6733 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6734 target lacks support for awatch, rwatch, or hbreak.
6735
b67a2c6f
YQ
67362014-06-27 Yao Qi <yao@codesourcery.com>
6737
6738 * gdb.multi/dummy-frame-restore.exp: New.
6739 * gdb.multi/dummy-frame-restore.c: New.
6740
aef92902
MM
67412014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6742
6743 * gdb.btrace/gcore.exp: New.
6744
8e9db26e
PA
67452014-06-23 Pedro Alves <palves@redhat.com>
6746
6747 * gdb.base/watchpoint-reuse-slot.c: New file.
6748 * gdb.base/watchpoint-reuse-slot.exp: New file.
6749
70afc5b7
SC
67502014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6751
6752 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6753 progspace's filename in 'info', 'enable' and 'disable' command
6754 tests.
6755
b972bd9c
JK
67562014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6757
6758 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6759 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6760 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6761
125f8a3d
GB
67622014-06-20 Gary Benson <gbenson@redhat.com>
6763
6764 * gdb.arch/i386-avx.exp: Fix include file location.
6765 * gdb.arch/i386-sse.exp: Likewise.
6766
3ed9baed
IB
67672014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6768
6769 * gdb.dlang/expression.exp: New file.
6770
034f788c
PA
67712014-06-19 Pedro Alves <palves@redhat.com>
6772
6773 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6774 out from ...
6775 (top level): ... here. Iterate running tests under different
6776 scheduler-locking settings.
6777
45371d0c
LM
67782014-06-18 Luis Machado <lgustavo@codesourcery.com>
6779
6780 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6781 to DW_FORM_addr and use non-zero addresses.
6782
5d376983
SC
67832014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6784
6785 PR gdb/17017
6786 * gdb.python/py-xmethods.cc: Add global function call counters and
6787 increment them in their respective functions. Remove "cout"
6788 statements.
6789 * gdb.python/py-xmethods.exp: Make tests check the global function
6790 call counters instead of depending on inferior IO.
6791
a1aa2221
LM
67922014-06-18 Don Breazeal <donb@codesourcery.com>
6793
6794 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6795 Deleted procedure.
6796 (explicit_fork_parent_follow): Deleted procedure.
6797 (explicit_fork_child_follow): Deleted procedure.
6798 (test_follow_fork): New procedure.
6799 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 6800 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
6801 procedure calls.
6802
0fc05997
YQ
68032014-06-17 Yao Qi <yao@codesourcery.com>
6804
6805 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6806 CP1252.
6807
70795c52
LM
68082014-06-17 Luis Machado <lgustavo@codesourcery.com>
6809
6810 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6811 Initialize ptr and S explicitly.
6812 (skip_type_update_when_not_use_rtti_test): Likewise.
6813
6be47f0c
KS
68142014-06-16 Keith Seitz <keiths@redhat.com>
6815
6816 PR mi/15863
6817 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6818 the inferior is started.
6819
d03de421
PA
68202014-06-16 Pedro Alves <palves@redhat.com>
6821
6822 * gdb.base/break-main-file-remove-fail.c: New file.
6823 * gdb.base/break-main-file-remove-fail.exp: New file.
6824 * gdb.base/break-unload-file.exp: Use build_executable instead of
6825 prepare_for_testing.
6826 (test_break): New parameter "initial_load". Handle it.
6827 (top level): Add initial_load cmdline/file axis.
6828
f9579b99
TT
68292014-06-12 Tom Tromey <tromey@redhat.com>
6830
6831 * gdb.base/completion.exp: Don't use directory name in test.
6832
3657956b
GB
68332014-06-09 Gary Benson <gbenson@redhat.com>
6834
6835 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6836 separate the always-available ANSI-standard signals from the
6837 signals that require checking.
6838 (main): Likewise.
6839 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6840 Likewise.
6841 (main): Likewise.
6842
4186eb54
KS
68432014-06-07 Keith Seitz <keiths@redhat.com>
6844
6845 Revert:
6846 PR c++/16253
6847 * gdb.cp/var-tag.cc: New file.
6848 * gdb.cp/var-tag.exp: New file.
6849 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6850 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6851 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6852 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6853
25326a28 68542014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
6855
6856 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6857
829155c9
PA
68582014-06-06 Pedro Alves <palves@redhat.com>
6859
6860 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6861 in target debug output instead of looking at RSP packets,
6862 disabling the test on any target that uses hardware stepping.
6863 Update comments.
6864
61c8d22e
PA
68652014-06-06 Pedro Alves <palves@redhat.com>
6866
6867 * gdb.base/break-unload-file.exp: Fix typo.
6868
d9a47287
YQ
68692014-06-06 Yao Qi <yao@codesourcery.com>
6870
6871 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6872 from "jit_function" to "^jit_function".
6873
e5e01dbf
YQ
68742014-06-06 Yao Qi <yao@codesourcery.com>
6875
6876 * gdb.base/async.c (foo): Add one statement.
6877 * gdb.base/async.exp: Get the next instruction address and
6878 match the output of "nexti" by instruction address. Match
6879 the hex address in the output of "finish".
6880
73ba372c
GB
68812014-06-06 Gary Benson <gbenson@redhat.com>
6882
6883 * gdb.base/call-signals.c: Remove preprocessor conditionals
6884 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6885 SIGSEGV and SIGTERM.
6886 * gdb.base/sigall.c: Likewise.
6887 * gdb.base/unwindonsignal.c: Likewise.
6888 * gdb.reverse/sigall-reverse.c: Likewise.
6889
831517df
YQ
68902014-06-06 Yao Qi <yao@codesourcery.com>
6891
6892 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6893 readable, skip the test.
6894
b8b91e98
YQ
68952014-06-06 Yao Qi <yao@codesourcery.com>
6896
6897 * gdb.threads/staticthreads.c (thread_function): Move the line
6898 setting breakpoint on forward.
6899 * gdb.threads/staticthreads.exp: Update comments.
6900
fb934770
LC
69012014-06-05 Ludovic Courtès <ludo@gnu.org>
6902
6903 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6904 "history-append! type error".
6905
6ef284bd
SM
69062014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6907
6908 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6909 erroneous dprintf expected input.
6910
a872e241
DE
69112014-06-04 Doug Evans <xdje42@gmail.com>
6912
6913 * gdb.guile/scm-generics.exp: Delete.
6914
16f691fb
DE
69152014-06-04 Doug Evans <xdje42@gmail.com>
6916
6917 * gdb.guile/scm-breakpoint.exp: Update.
6918 Add tests for breakpoint registration.
6919
012370f6
TT
69202014-06-04 Tom Tromey <tromey@redhat.com>
6921
6922 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6923 VLA-in-union.
6924 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6925 inner_vla_struct, vla_union types. Initialize objects of those
6926 types and compute their sizes.
6927
9f5a4cef
HZ
69282014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6929 Hui Zhu <hui@codesourcery.com>
6930
6931 * gdb.base/fileio.exp: Add test for shell not available as well as
6932 available.
6933 * gdb.base/fileio.c (test_system): Check for shell twice.
6934
90a45c4d
YQ
69352014-06-04 Yao Qi <yao@codesourcery.com>
6936
6937 * gdb.base/auto-connect-native-target.exp: Remove redundant
6938 space from the regexp pattern.
6939
70017e41
YQ
69402014-06-04 Yao Qi <yao@codesourcery.com>
6941
6942 * gdb.base/default.exp: Replace "child" with "native" in
6943 regexp pattern.
6944
883964a7
SC
69452014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6946
6947 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6948 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6949 * gdb.python/py-xmethods.py: Python script supporting the
6950 new testcase and tests.
6951
ef370185
JB
69522014-06-03 Joel Brobecker <brobecker@adacore.com>
6953 Pedro Alves <palves@redhat.com>
6954
6955 PR breakpoints/17000
6956 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6957 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6958
1e2ccb61
BM
69592014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6960
6961 * gdb.base/subst.exp: Add tests to verify partial path matching
6962 output.
6963
c6ec5ab2
PA
69642014-06-03 Pedro Alves <palves@redhat.com>
6965
6966 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6967 target that doesn't use software single-stepping.
6968
835c559f
PA
69692014-06-03 Pedro Alves <palves@redhat.com>
6970
6971 PR breakpoints/17000
6972 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6973 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6974
06eb1586
DE
69752014-06-02 Doug Evans <xdje42@gmail.com>
6976
6977 * gdb.guile/scm-parameter.exp: New file.
6978
e698b8c4
DE
69792014-06-02 Doug Evans <xdje42@gmail.com>
6980
6981 * gdb.guile/scm-cmd.c: New file.
6982 * gdb.guile/scm-cmd.exp: New file.
6983
ded03782
DE
69842014-06-02 Doug Evans <xdje42@gmail.com>
6985
6986 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6987 pretty-printer lookup.
6988 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6989 (make-pp_s-printer): Call it.
6990 (make-pretty-printer-from-dict): New function.
6991 (lookup-pretty-printer-maker-from-dict): New function.
6992 (*pretty-printer*): Simplify.
6993 (make-objfile-pp_s-printer): New function.
6994 (install-objfile-pretty-printers!): New function.
6995 (make-progspace-pp_s-printer): New function.
6996 (install-progspace-pretty-printers!): New function.
6997 * gdb.guile/scm-progspace.c: New file.
6998 * gdb.guile/scm-progspace.exp: New file.
6999
41fac0cf
PA
70002014-06-02 Pedro Alves <palves@redhat.com>
7001
7002 * gdb.base/dprintf-bp-same-addr.c: New file.
7003 * gdb.base/dprintf-bp-same-addr.exp: New file.
7004
96ae5695
EBM
70052014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7006
7007 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7008 * gdb.arch/powerpc-power.s: Likewise.
7009
da02b3a8
JB
70102014-06-02 Joel Brobecker <brobecker@adacore.com>
7011
7012 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7013
c72b2e7b
YQ
70142014-06-01 Yao Qi <yao@codesourcery.com>
7015
7016 * gdb.base/watchpoint.exp (test_watch_location): Check null
7017 pointer can be dereferenced. If not, do the test, otherwise
7018 skip it.
7019
53e8a631
AB
70202014-05-30 Andrew Burgess <aburgess@broadcom.com>
7021
7022 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7023 results.
7024 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7025
938f0e2f
AB
70262014-05-30 Andrew Burgess <aburgess@broadcom.com>
7027
7028 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7029 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7030 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7031 * gdb.arch/amd64-invalid-stack-top.c: New file.
7032 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7033
9ba6657a
PA
70342014-05-30 Pedro Alves <palves@redhat.com>
7035
7036 PR breakpoints/17000
7037 * gdb.base/sss-bp-on-user-bp.c: New file.
7038 * gdb.base/sss-bp-on-user-bp.exp: New file.
7039
522c09bf
DB
70402014-05-30 David Blaikie <dblaikie@gmail.com>
7041
7042 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7043 gnu_inline semantics via attribute.
7044 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7045 source explicitly specifies the required semantics.
7046
bf4ef81e
MR
70472014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7048
7049 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7050
329ea579
PA
70512014-05-29 Pedro Alves <palves@redhat.com>
7052 Tom Tromey <tromey@redhat.com>
7053
7054 * gdb.base/async-shell.exp: Don't enable target-async.
7055 * gdb.base/async.exp
7056 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7057 parameter. Adjust.
7058 (top level): Don't test with "target-async".
7059 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7060 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7061 * gdb.base/inferior-died.exp: Don't enable target-async.
7062 * gdb.base/interrupt-noterm.exp: Likewise.
7063 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7064 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7065 * gdb.mi/mi-nonstop.exp: Likewise.
7066 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7067 * gdb.mi/mi-nsintrall.exp: Likewise.
7068 * gdb.mi/mi-nsmoribund.exp: Likewise.
7069 * gdb.mi/mi-nsthrexec.exp: Likewise.
7070 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7071 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7072 * gdb.python/py-evsignal.exp: Don't enable target-async.
7073 * gdb.python/py-evthreads.exp: Likewise.
7074 * gdb.python/py-prompt.exp: Likewise.
7075 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7076 * gdb.server/solib-list.exp: Don't enable target-async.
7077 * gdb.threads/thread-specific-bp.exp: Likewise.
7078 * lib/mi-support.exp: Adjust to use mi-async.
7079
fd664c91
PA
70802014-05-29 Pedro Alves <palves@redhat.com>
7081
7082 PR gdb/13860
7083 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7084 reason, even in sync mode.
7085
251bde03
PA
70862014-05-29 Pedro Alves <palves@redhat.com>
7087 Hui Zhu <hui@codesourcery.com>
7088
7089 PR PR15693
7090 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7091 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7092 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7093 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7094
7f3c0343
JB
70952014-05-28 Joel Brobecker <brobecker@adacore.com>
7096
7097 * config/monitor.exp (gdb_target_monitor): Replace use of
7098 "set remotebaud" by "set serial baud".
7099
b2715b27
AW
71002014-05-26 Andy Wingo <wingo@igalia.com>
7101
7102 * gdb.guile/scm-breakpoint.exp:
7103 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7104 properties instead of gdb-object-properties.
7105
498a4489
YQ
71062014-05-26 Yao Qi <yao@codesourcery.com>
7107
7108 * gdb.server/no-thread-db.exp: Specify source file name
7109 explicitly when setting a breakpoint.
7110
589fdceb
MM
71112014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7112
7113 * gdb.btrace/vdso.c: New.
7114 * gdb.btrace/vdso.exp: New.
7115
e9089e05
MM
71162014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7117
7118 * gdb.base/gcore.exp (capture_command_output): Move ...
7119 * lib/gdb.exp (capture_command_output): ... here.
7120
67b5c0c1
MM
71212014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7122
7123 * gdb.btrace/data.exp: Test memory access during btrace replay.
7124
a2199296
SM
71252014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7126
7127 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7128
17b2616c
PA
71292014-05-21 Pedro Alves <palves@redhat.com>
7130
7131 PR gdb/13860
7132 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7133 (top level): Test that output related to execution commands is
7134 sent to the console with CLI commands, but not with MI commands.
7135 Test that breakpoint events are always mirrored to the console.
7136 Also expect the new source line to be output after a "next" in
7137 async mode too. Make it a pass/fail test.
7138 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7139 output.
7140 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7141
5166082f
PA
71422014-05-21 Pedro Alves <palves@redhat.com>
7143
7144 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7145 Use them to test variations of "list" after reaching a breakpoint.
7146 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7147 Test "list" with listsize 10 after reaching a breakpoint.
7148 * gdb.python/python.exp (decode_line current location line
7149 number): Adjust expected line number.
7150
2f25d70f
SM
71512014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7152
7153 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7154 behavior for $args, pass it directly to "run".
7155
ff604a67
MR
71562014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7157
7158 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7159 30000 to 65536.
7160
6a3cb8e8
PA
71612014-05-21 Pedro Alves <palves@redhat.com>
7162
7163 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7164 auto-connect-native-target off".
7165 * gdb.base/auto-connect-native-target.c: New file.
7166 * gdb.base/auto-connect-native-target.exp: New file.
7167
4ebfc96e
PA
71682014-05-21 Pedro Alves <palves@redhat.com>
7169
7170 * gdb.base/default.exp: Test "target native" instead of "target
7171 child".
7172
36d46afb
MW
71732014-05-21 Mark Wielaard <mjw@redhat.com>
7174
7175 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7176
5876f503
JK
71772014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7178
7179 Fix TLS access for -static -pthread.
7180 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7181 <HAVE_TLS> (thread_function, main): Initialize it.
7182 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7183 Add clean_restart.
7184 <$have_tls != "">: Check TLSVAR.
7185
0256a6ac
PA
71862014-05-21 Pedro Alves <palves@redhat.com>
7187
7188 * gdb.base/dcache-line-read-error.c: New.
7189 * gdb.base/dcache-line-read-error.exp: New.
7190
936d2992
PA
71912014-05-20 Pedro Alves <palves@redhat.com>
7192
7193 * gdb.base/compare-sections.c: New file.
7194 * gdb.base/compare-sections.exp: New file.
7195
802e8e6d
PA
71962014-05-20 Pedro Alves <palves@redhat.com>
7197
7198 * gdb.base/break-idempotent.c: New file.
7199 * gdb.base/break-idempotent.exp: New file.
7200
e59fa00f
MM
72012014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7202
7203 * gdb.btrace/nohist.exp: New.
7204
8b696e31
YQ
72052014-05-20 Yao Qi <yao@codesourcery.com>
7206
7207 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7208 gdb.reverse directory and gdb_reverse_timeout exists in board
7209 setting.
7210 * README: Document gdb_reverse_timeout.
7211
73c9764f
YQ
72122014-05-20 Yao Qi <yao@codesourcery.com>
7213
7214 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7215 'test_file_name'. Treat args as a string instead of a list.
7216 (gdb_init): Rename argument 'args' by 'test_file_name'.
7217
f1f4348a
JK
72182014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7219
7220 * gdb.arch/powerpc-power.exp: New file.
7221 * gdb.arch/powerpc-power.s: New file.
7222
0dbe70ce
DE
72232014-05-16 Doug Evans <dje@google.com>
7224
7225 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
7226 * gdb.base/completion.exp: Check that all expected files exist
7227 before doing file completion.
0dbe70ce 7228
8d551b02
DE
72292014-05-16 Doug Evans <dje@google.com>
7230
7231 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7232 Update.
7233 (do_syscall_tests_without_xml): Update.
7234
73eb7709
PA
72352014-05-16 Pedro Alves <palves@redhat.com>
7236
7237 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7238 instead of "unknown output after running".
7239
3fae92fc
YQ
72402014-05-16 Yao Qi <yao@codesourcery.com>
7241
7242 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7243 file1.txt from host at the end.
7244 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7245
c2b2ccc5
DE
72462014-05-15 Doug Evans <dje@google.com>
7247
7248 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7249 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7250 loading file. Add test for TU lookup.
7251
8c217a4b
SM
72522014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7253
7254 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7255 calling "-exec-arguments" or "set args" before running the
7256 inferior.
7257
3deb39c6
SM
72582014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7259
7260 * lib/mi-support.exp (mi_expect_stop): Expect message for
7261 inferiors that exit with non-zero exit code.
7262
71a79f8c
YQ
72632014-05-14 Yao Qi <yao@codesourcery.com>
7264
7265 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7266 match absolute path on remote host.
7267 (test_file_list_exec_source_files): Remove "/" from the
7268 pattern.
7269
f23fcd46
YQ
72702014-05-14 Yao Qi <yao@codesourcery.com>
7271
7272 * boards/local-remote-host-notty.exp (${board}_file): New
7273 proc.
7274
9404b58f
KM
72752014-05-07 Kyle McMartin <kyle@redhat.com>
7276
7277 Pushed by Joel Brobecker <brobecker@adacore.com>.
7278 * gdb.arch/aarch64-atomic-inst.c: New file.
7279 * gdb.arch/aarch64-atomic-inst.exp: New file.
7280
5e45f04c
YQ
72812014-05-07 Yao Qi <yao@codesourcery.com>
7282
7283 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7284 in current context" too.
7285
c888a17d
KS
72862014-05-05 Keith Seitz <keiths@redhat.com>
7287
7288 * gdb.linespec/ls-dollar.exp: Add test for linespec
7289 file:convenience_variable.
7290
290a839c
YQ
72912014-05-05 Yao Qi <yao@codesourcery.com>
7292
7293 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7294 traceframes into tfile and ctf trace files. Read data from
7295 trace file and test collected data.
7296 (gdb_collect_locals_test): Likewise.
7297 (gdb_unavailable_registers_test): Likewise.
7298 (gdb_unavailable_floats): Likewise.
7299 (gdb_collect_globals_test): Likewise.
7300 (top-level): Append "ctf" to trace_file_targets if GDB
7301 supports.
7302
b5262cd0
YQ
73032014-05-05 Yao Qi <yao@codesourcery.com>
7304
7305 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7306 code to ...
7307 (gdb_collect_args_test_1): ... it. New proc.
7308 (gdb_collect_locals_test): Move some code to ...
7309 (gdb_collect_locals_test_1): ... it. New proc.
7310 (gdb_unavailable_registers_test): Move some code to ...
7311 (gdb_unavailable_registers_test_1): ... it. New proc.
7312 (gdb_unavailable_floats): Move some code to ...
7313 (gdb_unavailable_floats_1): ... it. New proc.
7314
30a1e6cc
SDJ
73152014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7316
7317 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7318 probes to test for bitness recognition.
7319 * gdb.arch/amd64-stap-optional-prefix.exp
7320 (test_probe_value_without_reg): New procedure.
7321 Add code to test for different kinds of bitness.
7322
f33da99a
SDJ
73232014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7324
7325 PR breakpoints/16889
7326 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7327 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7328
5b80f00d
PA
73292014-05-01 Pedro Alves <palves@redhat.com>
7330
7331 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7332 gdb_file_cmd if no file is specified.
7333 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7334 last_loaded_file to set the remote exec-file.
7335
f8c2a73c
PA
73362014-05-01 Pedro Alves <palves@redhat.com>
7337
7338 * boards/local-remote-host.exp: New file.
7339
be6e8ac7
PA
73402014-05-01 Pedro Alves <palves@redhat.com>
7341
7342 * boards/local-remote-host.exp: Rename to ...
7343 * boards/local-remote-host-notty.exp: ... this.
7344
cac0dc8f
JB
73452014-04-28 Joel Brobecker <brobecker@adacore.com>
7346
7347 * gdb.ada/dyn_arrayidx: New testcase.
7348
9730e6cc
YQ
73492014-04-26 Yao Qi <yao@codesourcery.com>
7350
7351 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7352 and compute the length of function main. Save it in
7353 $main_length.
7354 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7355 (top-level): Use gdb_compile to compile objects into
7356 executable and restart GDB. Remove invocation to
7357 prepare_for_testing.
7358
7ae1a6a6
PA
73592014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7360 Pedro Alves <palves@redhat.com>
7361
7362 PR server/16255
7363 * gdb.multi/multi-attach.c: New file.
7364 * gdb.multi/multi-attach.exp: New file.
7365
4082afcc
PA
73662014-04-25 Pedro Alves <palves@redhat.com>
7367
7368 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7369 user.
7370 (top level): Test that "set remote conditional-breakpoints-packet
7371 off" works as intended.
7372 * gdb.base/dprintf.exp: Test that "set remote
7373 breakpoint-commands-packet off" works as intended.
7374 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7375 New function.
7376 (top level): Call it.
7377 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7378 remote fast-tracepoints-packet off" works as intended.
7379 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7380 * lib/gdb.exp (gdb_is_target_remote): ... here.
7381
2abc3f8d
DB
73822014-04-24 David Blaikie <dblaikie@gmail.com>
7383
7384 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7385 ensure clang would not discard them.
7386 * gdb.base/gdbvars.c: Ditto.
7387 * gdb.base/memattr.c: Ditto.
7388 * gdb.base/whatis.c: Ditto.
7389 * gdb.python/py-prettyprint.c: Ditto.
7390 * gdb.trace/actions.c: Ditto.
7391 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7392 ensure clang would not discard it.
7393
bfd39632
DB
73942014-04-24 David Blaikie <dblaikie@gmail.com>
7395
7396 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7397 clang to emit the full definition of type required by the test
7398 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7399
22842ff6
DB
74002014-04-24 David Blaikie <dblaikie@gmail.com>
7401
7402 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7403 coax Clang into emitting the definition of the type.
7404 * gdb.cp/pr10728-x.h (y): Ditto.
7405 * gdb.cp/pr10728-y.cc (y): Ditto.
7406
c2e827ad
DB
74072014-04-24 David Blaikie <dblaikie@gmail.com>
7408
7409 * gdb.base/label.exp: XFAIL label related tests under Clang.
7410 * gdb.cp/cplabel.exp: Ditto.
7411 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7412 under Clang those using labels.
7413
4c2d33e7
YQ
74142014-04-25 Yao Qi <yao@codesourcery.com>
7415
7416 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7417 double_label.
7418 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7419 partial_label and double_label.
7420
56083b99
DB
74212014-04-24 David Blaikie <dblaikie@gmail.com>
7422
7423 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7424
25d4e99d
DB
74252014-04-24 David Blaikie <dblaikie@gmail.com>
7426
7427 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7428 of the function to work across GCC and Clang.
7429 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7430 pointer types (const void ** const V void **).
7431
01f9f808
MS
74322014-04-24 Michael Sturm <michael.sturm@mintel.com>
7433 Walfred Tedeschi <walfred.tedeschi@intel.com>
7434
7435 * Makefile.in (EXECUTABLES): Added i386-avx512.
7436 * gdb.arch/i386-avx512.c: New file.
7437 * gdb.arch/i386-avx512.exp: Likewise.
7438
4b48d439
KS
74392014-04-23 Keith Seitz <keiths@redhat.com>
7440
7441 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7442 (mi_make_breakpoint_table): New procedure.
7443 (mi_create_breakpoint): Use mi_make_breakpoint
7444 and return the result.
7445 (mi_make_breakpoint): New procedure.
7446 (mi_build_kv_pairs): New procedure.
7447
7448 * gdb.mi/mi-break.exp: Remove unused globals,
7449 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7450 All callers updated.
7451 * gdb.mi/mi-dprintf.exp: Use variable to track command
7452 number.
7453 Update all callers of mi_create_breakpoint and use
7454 mi_make_breakpoint_table.
7455 Remove any unused global variables.
7456 * gdb.mi/mi-nonstop.exp: Likewise.
7457 * gdb.mi/mi-nsintrall.exp: Likewise.
7458 * gdb.mi/mi-nsmoribund.exp: Likewise.
7459 * gdb.mi/mi-nsthrexec.exp: Likewise.
7460 * gdb.mi/mi-reverse.exp: Likewise.
7461 * gdb.mi/mi-simplerun.exp: Likewise.
7462 * gdb.mi/mi-stepn.exp: Likewise.
7463 * gdb.mi/mi-syn-frame.exp: Likewise.
7464 * gdb.mi/mi-until.exp: Likewise.
7465 * gdb.mi/mi-var-cp.exp: Likewise.
7466 * gdb.mi/mi-var-display.exp: Likewise.
7467 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7468 * gdb.mi/mi2-var-child.exp: Likewise.
7469 * gdb.mi/mi-vla-c99.exp: Likewise.
7470 * lib/mi-support.exp: Likewise.
7471
7472 From Ian Lance Taylor <iant@cygnus.com>:
7473 * lib/gdb.exp (parse_args): New procedure.
7474
08351840
PA
74752014-04-23 Pedro Alves <palves@redhat.com>
7476
7477 * gdb.base/break-unload-file.c: New file.
7478 * gdb.base/break-unload-file.exp: New file.
7479 * gdb.base/sym-file-lib.c (baz): New function.
7480 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7481 field.
7482 (load): Store the segment's mapped size.
7483 (unload): New function.
7484 (unload_shlib): New function.
7485 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7486 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7487 set a breakpoint at baz, and call it.
7488 * gdb.base/sym-file.exp: New tests for stale breakpoint
7489 instructions.
7490
076855f9
PA
74912014-04-23 Pedro Alves <palves@redhat.com>
7492
7493 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7494 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7495 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7496 * gdb.base/hbreak-unmapped.c: New file.
7497 * gdb.base/hbreak-unmapped.exp: New file.
7498 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7499 * lib/gdb.exp (gdb_is_target_remote): ... here.
7500
483805cf
PA
75012014-04-22 Pedro Alves <palves@redhat.com>
7502
7503 * gdb.base/consecutive-step-over.c: New file.
7504 * gdb.base/consecutive-step-over.exp: New file.
7505
06d97543
PA
75062014-04-22 Pedro Alves <palves@redhat.com>
7507
7508 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7509 instead of send_gdb/gdb_expect.
7510
b4429ea2
YQ
75112014-04-22 Yao Qi <yao@codesourcery.com>
7512
7513 * lib/trace-support.exp (generate_tracefile): New procedure.
7514 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7515 return 0.
7516 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7517 if generate_tracefile returns 1.
7518
51d48146
PA
75192014-04-18 Tom Tromey <palves@redhat.com>
7520 Pedro alves <tromey@redhat.com>
7521
7522 PR backtrace/15558
7523 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7524 with a backtrace limit.
7525 * gdb.python/py-frame-inline.exp: Test running to an inline
7526 function with a backtrace limit, and printing the newest frame.
7527 * gdb.python/py-frame-inline.c (main): Call f.
7528
bd1dce5f
MS
75292014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7530
7531 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7532
40d1a503
MS
75332014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7534
7535 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7536 Drop prefix from unsupported source file path.
7537
389b98f7
YQ
75382014-04-17 Yao Qi <yao@codesourcery.com>
7539
7540 * lib/gdb.exp (with_target_charset): New proc.
7541 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7542 with_target_charset.
7543 (test_print_strings): Likewise.
7544 (test_repeat_bytes): Likewise.
7545 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7546 for some tests.
7547
22869d73
KS
75482014-04-16 Keith Seitz <keiths@redhat.com>
7549
7550 PR gdb/15827
7551 * gdb.dwarf2/corrupt.c: New file.
7552 * gdb.dwarf2/corrupt.exp: New file.
7553
c4f87ca6
KS
75542014-04-16 Keith Seitz <keiths@redhat.com>
7555
7556 PR c++/16597
7557 * gdb.cp/namelessclass.cc: New file.
7558 * gdb.cp/namelessclass.exp: New file.
7559 * gdb.cp/namelessclass.S: New file.
7560
ab19de87
DE
75612014-04-16 Doug Evans <dje@google.com>
7562
7563 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7564 Add comment.
7565 (gdbserver_default_get_comm_port): New function.
7566 (gdbserver_start): Check if board file provided
7567 "gdbserver,get_comm_port" and use it if so.
7568 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7569 (gdb,socketport): Set to "stdio".
7570 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7571 (stdio_gdbserver_template): Delete.
7572 (${board}_get_remote_address): Update.
7573 (${board}_build_remote_cmd): Delete.
7574 (${board}_get_comm_port): New function.
7575 (${board}_spawn): Update.
7576 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7577 Delete.
7578 (${board}_get_remote_address): Update.
7579 (${board}_get_comm_port): New function.
7580
fc98a809
AB
75812014-04-16 Andrew Burgess <aburgess@broadcom.com>
7582
7583 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7584 appearing in any order.
7585
87fd9e6e
DE
75862014-04-15 Doug Evans <dje@google.com>
7587
7588 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7589 uninitialized value of "description".
7590
099fc3ea
KS
75912014-04-15 Keith Seitz <keiths@redhat.com>
7592
7593 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7594 Remove unused globals.
7595 (test_running_the_program): Likewise.
7596 (test_controlled_execution): Likewise.
7597 (test_controlling_breakpoints): Likewise.
7598 (test_program_termination): Likewise.
7599
5da151d4
KS
76002014-04-15 Keith Seitz <keiths@redhat.com>
7601
7602 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7603 unused globals.
7604 (test_rbreak_creation_and_listing): Likewise.
7605 (test_ignore_count): Likewise.
7606 (test_error): Likewise.
7607
35e5d2f0
PA
76082014-04-15 Pedro Alves <palves@redhat.com>
7609
7610 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7611 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7612 sym-file-loader.c.
7613 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7614 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7615 to sym-file-loader.c.
7616 (struct library): Forward declare.
7617 (load_shlib, lookup_function): Change prototypes.
7618 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7619 (translate_offset): Remove declarations.
7620 (get_text_addr): New declaration.
7621 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7622 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7623 sym-file-loader.h.
7624 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7625 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7626 here from sym-file-loader.h.
7627 (struct library): New structure.
7628 (load_shlib, lookup_function): Change prototypes and adjust to
7629 work with a struct library.
7630 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7631 (translate_offset): Make static.
7632 (get_text_addr): New function.
7633 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7634
eb4c1710
PA
76352014-04-15 Pedro Alves <palves@redhat.com>
7636
7637 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7638
2d1baf52
PA
76392014-04-15 Pedro Alves <palves@redhat.com>
7640
7641 * gdb.base/sym-file-loader.c: Include <limits.h>.
7642 (SELF_LINK): New define.
7643 (get_origin): New function.
7644 (load_shlib): Use it.
7645 * gdb.base/sym-file.exp: Don't early return if the target is
7646 remote. Use runto_main, and issue fail is that fails. Use
7647 gdb_load_shlibs.
7648 (shlib_name): Delete.
7649 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7650
7dd6df01
PA
76512014-04-15 Pedro Alves <palves@redhat.com>
7652
7653 * gdb.base/sym-file.exp: Remove regex characters from test
7654 message. Don't refer to breakpoint numbers in test messages.
7655
b50c8614
KS
76562014-04-14 Keith Seitz <keiths@redhat.com>
7657
7658 PR c++/16253
7659 * gdb.cp/var-tag.cc: New file.
7660 * gdb.cp/var-tag.exp: New file.
7661 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7662 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7663 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7664 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7665
3d567982
TT
76662014-04-14 Tom Tromey <tromey@redhat.com>
7667
7668 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7669 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7670 type.
7671 * gdb.cp/enum-class.exp: New file.
7672 * gdb.cp/enum-class.cc: New file.
7673
0626fc76
TT
76742014-04-14 Tom Tromey <tromey@redhat.com>
7675
7676 * gdb.dwarf2/enum-type.exp: New file.
7677
dca325b3
SA
76782014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7679
7680 * gdb.mi/mi-vla-c99.exp: New file.
7681 * gdb.mi/vla.c: New file.
7682
5854b38a
SA
76832014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7684
7685 * gdb.base/vla-datatypes.c: New file.
7686 * gdb.base/vla-datatypes.exp: New file.
7687
463bb957
SA
76882014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7689
7690 * gdb.base/vla-ptr.c: New file.
7691 * gdb.base/vla-ptr.exp: New file.
7692
3dd170be
SA
76932014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7694
7695 * gdb.dwarf2/count.exp: New file.
7696
5ecaaa66
SA
76972014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7698
7699 * gdb.base/vla-sideeffect.c: New file.
7700 * gdb.base/vla-sideeffect.exp: New file.
7701
41f1ada5
DB
77022014-04-14 David Blaikie <dblaikie@gmail.com>
7703
7704 * gdb.mi/non-stop.c: Add return value for non-void function return
7705 statement.
7706 * gdb.threads/staticthreads.c: Ditto.
7707
0be03e84
DE
77082014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7709 Doug Evans <xdje42@gmail.com>
7710
7711 * gdb.guile/scm-value.c: Improve test case.
7712 * gdb.guile/scm-value.exp: Add new test.
7713
f180a1fb
DB
77142014-04-11 David Blaikie <dblaikie@gmail.com>
7715
7716 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7717 override Clang's default.
7718
6b662e19
JB
77192014-04-11 Joel Brobecker <brobecker@adacore.com>
7720
7721 Revert the following changes (regressions):
7722
7723 * gdb.base/vla-sideeffect.c: New file.
7724 * gdb.base/vla-sideeffect.exp: New file.
7725
7726 * gdb.dwarf2/count.exp: New file.
7727
7728 * gdb.base/vla-multi.c: New file.
7729 * gdb.base/vla-multi.exp: New file.
7730
7731 * gdb.base/vla-ptr.c: New file.
7732 * gdb.base/vla-ptr.exp: New file.
7733
7734 * gdb.base/vla-datatypes.c: New file.
7735 * gdb.base/vla-datatypes.exp: New file.
7736
7737 * gdb.mi/mi-vla-c99.exp: New file.
7738 * gdb.mi/vla.c: New file.
7739
245a5f0b
KS
77402014-04-11 Keith Seitz <keiths@redhat.com>
7741
7742 PR c++/16675
7743 * gdb.cp/cpsizeof.exp: New file.
7744 * gdb.cp/cpsizeof.cc: New file.
7745
58a84dcf
SA
77462014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7747
191a8a90
JB
7748 * gdb.mi/mi-vla-c99.exp: New file.
7749 * gdb.mi/vla.c: New file.
58a84dcf 7750
c8655f75
SA
77512014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7752
7753 * gdb.base/vla-datatypes.c: New file.
7754 * gdb.base/vla-datatypes.exp: New file.
7755
024e13b4
SA
77562014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7757
7758 * gdb.base/vla-ptr.c: New file.
7759 * gdb.base/vla-ptr.exp: New file.
7760
1a237e0e
SA
77612014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7762
7763 * gdb.base/vla-multi.c: New file.
7764 * gdb.base/vla-multi.exp: New file.
7765
504f3432
SA
77662014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7767
7768 * gdb.dwarf2/count.exp: New file.
7769
3bce8237
SA
77702014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7771
191a8a90
JB
7772 * gdb.base/vla-sideeffect.c: New file.
7773 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 7774
322f9c21
YQ
77752014-04-11 Yao Qi <yao@codesourcery.com>
7776
7777 * gdb.base/completion.exp: Check file exists before running tests
7778 on file completion.
7779
d708bcd1
PA
77802014-04-10 Pedro Alves <palves@redhat.com>
7781
7782 * gdb.base/cond-eval-mode.c: New file.
7783 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7784 prepare_for_testing to build the new file. Check result of
7785 runto_main.
7786 (test_break, test_watch): New procedures.
7787 (top level): Use them.
7788
ae1d2761
PM
77892014-04-08 Pierre Muller <muller@sourceware.org>
7790
7791 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7792 Ctrl-V use for mingw hosts.
7793
7af389b8
SC
77942014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7795
7796 * gdb.python/py-value.c: Improve test case.
7797 * gdb.python/py-value.exp: Add new test.
7798
5e703181
DE
77992014-04-07 David Blaikie <dblaikie@gmail.com>
7800
7801 * lib/compiler.c: Identify the clang compiler.
7802 * lib/compiler.cc: Ditto.
7803
9810b410
YQ
78042014-04-03 Yao Qi <yao@codesourcery.com>
7805
7806 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7807
98d1b8dc
AB
78082014-04-01 Anton Blanchard <anton@samba.org>
7809
7810 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7811 messages unique.
7812
3114cea1
AB
78132014-04-01 Anton Blanchard <anton@samba.org>
7814
7815 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7816 prepare_for_testing.
7817
62f7182c
AB
78182014-04-01 Anton Blanchard <anton@samba.org>
7819
7820 * gdb.arch/ppc64-atomic-inst.c: Remove.
7821 * gdb.arch/ppc64-atomic-inst.S: New file.
7822 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7823
770e7fc7
DE
78242014-03-31 Doug Evans <dje@google.com>
7825
7826 * gdb.base/print-symbol-loading-lib.c: New file.
7827 * gdb.base/print-symbol-loading-main.c: New file.
7828 * gdb.base/print-symbol-loading.exp: New file.
7829
46e2bafa
YQ
78302014-03-31 Yao Qi <yao@codesourcery.com>
7831
7832 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7833
8776cfe9
JB
78342014-03-28 Joel Brobecker <brobecker@adacore.com>
7835
7836 * gdb.ada/mi_dyn_arr: New testcase.
7837
5d1ef361
DE
78382014-03-27 Doug Evans <dje@google.com>
7839
7840 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7841
b5bee914
YQ
78422014-03-27 Yao Qi <yao@codesourcery.com>
7843
7844 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7845 if target is nios2-*-*.
7846
0d4d0e77
YQ
78472014-03-26 Yao Qi <yao@codesourcery.com>
7848
7849 * lib/gdb.exp (readline_is_used): New proc.
7850 * gdb.base/completion.exp: Move tests on command complete up.
7851 Skip the rest of tests if readline is not used.
7852 * gdb.ada/complete.exp: Skp the test if readline is not
7853 used.
7854 * gdb.base/filesym.exp: Likewise.
7855 * gdb.base/macscp.exp: Likewise.
7856 * gdb.base/readline-ask.exp: Likewise.
7857 * gdb.base/readline.exp: Likewise.
7858 * gdb.python/py-cmd.exp: Likewise.
7859 * gdb.trace/tfile.exp: Likewise.
7860
29361eee
YQ
78612014-03-26 Yao Qi <yao@codesourcery.com>
7862
7863 * gdb.base/macscp.exp: Fix code format issues.
7864
bc9a5525
UW
78652014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7866
7867 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7868 * gdb.asm/powerpc64le.inc: New file.
7869
d3839ede
PA
78702014-03-25 Pedro Alves <palves@redhat.com>
7871 Doug Evans <dje@google.com>
7872
7873 * gdb.base/source-execution.c: New file.
7874 * gdb.base/source-execution.exp: New file.
7875 * gdb.base/source-execution.gdb: New file.
7876
01672a57
DE
78772014-03-24 Doug Evans <dje@google.com>
7878
7879 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7880 using fission.
7881
88bbeca9
HZ
78822014-03-24 Hui Zhu <hui@codesourcery.com>
7883 Pedro Alves <palves@redhat.com>
7884
7885 PR breakpoints/16101
7886 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7887 test pass/fail messages. Detect missing support for dprintf when
7888 breakpoints are actually inserted.
7889 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7890 breakpoints are actually inserted.
7891 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7892 fails.
7893
d2348791
JK
78942014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7895
7896 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7897
feef67ab
DE
78982014-03-22 Doug Evans <xdje42@gmail.com>
7899
7900 * gdb.python/python.exp (python not supported): Verify multi-line
7901 python command issues an error.
25d743f9 7902 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 7903 guile command issues an error.
feef67ab 7904
ecebef6a
MR
79052014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7906
7907 * gdb.threads/thread-specific.exp: Handle the lack of usable
7908 $this_breakpoint and $this_thread.
7909
ccdd1909
HZ
79102014-03-21 Hui Zhu <hui@codesourcery.com>
7911
7912 * gdb.base/attach.exp (do_command_attach_tests): New.
7913
beb460e8
PA
79142014-03-20 Tom Tromey <tromey@redhat.com>
7915 Pedro Alves <palves@redhat.com>
7916
7917 PR cli/15718
7918 * gdb.base/condbreak-call-false.c: New file.
7919 * gdb.base/condbreak-call-false.exp: New file.
7920
40acf43a
PA
79212014-03-20 Pedro Alves <palves@redhat.com>
7922
7923 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7924 Delete.
7925 (block_signals, unblock_signals): Delete.
7926 (child_function_2, main): Remove references to deleted variable
7927 and functions.
7928
9f5e1e02
PA
79292014-03-20 Pedro Alves <palves@redhat.com>
7930
7931 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7932 Use pthread_kill to signal thread 2.
7933 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7934 Adjust to make the test send itself a signal rather than using the
7935 host's "kill" command.
7936
99619bea
PA
79372014-03-20 Pedro Alves <palves@redhat.com>
7938
7939 * gdb.threads/multiple-step-overs.c: New file.
7940 * gdb.threads/multiple-step-overs.exp: New file.
7941 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7942 Adjust expected infrun debug output.
7943
2adfaa28
PA
79442014-03-20 Pedro Alves <palves@redhat.com>
7945
7946 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7947 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7948
31e77af2
PA
79492014-03-20 Pedro Alves <palves@redhat.com>
7950
7951 PR breakpoints/7143
7952 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7953 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7954 of gdb_test_multiple.
7955 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7956 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7957
b9f437de
PA
79582014-03-20 Pedro Alves <palves@redhat.com>
7959
7960 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7961 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7962
05adc73e
PA
79632014-03-19 Pedro Alves <palves@redhat.com>
7964
7965 * gdb.base/async.exp: Remove early return.
7966
6048b950
PA
79672014-03-19 Pedro Alves <palves@redhat.com>
7968
7969 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7970
8bcfb00a
PA
79712014-03-19 Pedro Alves <palves@redhat.com>
7972
7973 * gdb.base/async.exp (test_background): Expect \r\n after
7974 "completed." in the fail pattern.
7975
884e37dc
PA
79762014-03-19 Pedro Alves <palves@redhat.com>
7977
7978 * gdb.base/async.exp (test_background): New procedure.
7979 Use it for all background execution command tests.
7980
148e57e2
PA
79812014-03-19 Pedro Alves <palves@redhat.com>
7982
7983 * gdb.base/async.exp: Use prepare_for_testing.
7984
f48088c7
PA
79852014-03-19 Pedro Alves <palves@redhat.com>
7986
7987 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7988 the same line.
7989
e2f6c966
PA
79902014-03-19 Pedro Alves <palves@redhat.com>
7991
7992 * gdb.base/async.c (main): Add "jump here" and "until here" line
7993 marker comments.
7994 * gdb.base/async.exp (jump_here): New global.
7995 (jump& test): Use it.
7996 (until_here): New global.
7997 (until& test): Use it.
7998
c30568d4
PA
79992014-03-19 Pedro Alves <palves@redhat.com>
8000
8001 * gdb.base/async.exp: Don't frob gdb_protocol.
8002
0172b6a7
DE
80032014-03-18 Doug Evans <xdje42@gmail.com>
8004
8005 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8006 Fix spelling of exec-done-display.
8007
06c868a8
JK
80082014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8009
8010 PR gdb/15358
8011 * gdb.base/gdb-sigterm.c: New file.
8012 * gdb.base/gdb-sigterm.exp: New file.
8013
0c7e1a46
PA
80142014-03-18 Pedro Alves <palves@redhat.com>
8015
8016 PR gdb/13860
8017 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8018 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8019 solib-event.
8020
f7c77d93
JB
80212014-03-17 Joel Brobecker <brobecker@adacore.com>
8022
8023 * gdb.ada/pckd_arr_ren: New testcase.
8024
5a1e8c7a
DE
80252014-03-13 Doug Evans <xdje42@gmail.com>
8026
8027 PR guile/16612
8028 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8029 collect after discarding symbols.
8030
350e1a76
DE
80312014-03-13 Ludovic Courtès <ludo@gnu.org>
8032 Doug Evans <xdje42@gmail.com>
8033
8034 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8035 to history survives a gc.
8036
a69900ae
PA
80372014-03-13 Pedro Alves <palves@redhat.com>
8038
8039 * gdb.base/default.exp: Don't test "target procfs".
8040
5db9f0bd
PA
80412014-03-13 Pedro Alves <palves@redhat.com>
8042
8043 * gdb.base/default.exp: Update "target child" and "target procfs"
8044 tests to not expect "Unix".
8045
b3ccfe11
TT
80462014-03-12 Tom Tromey <tromey@redhat.com>
8047
8048 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8049 New procs. Add target-async tests.
8050 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8051 Add target-async tests.
8052
646f4417
AA
80532014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8054
8055 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8056 'func_start' and 'func_end' for the beginning and end of the
8057 function code, respectively.
8058 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8059 'func_end' instead of 'func' and 'main'.
8060
288c211f
AA
80612014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8062
8063 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8064 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8065 generate the debug info assembler source.
8066
e0c0f156
AA
80672014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8068
8069 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8070 * gdb.dwarf2/arr-subrange.exp: Likewise.
8071 * gdb.dwarf2/dwz.exp: Likewise.
8072 * gdb.dwarf2/method-ptr.exp: Likewise.
8073 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8074 * gdb.dwarf2/subrange.exp: Likewise.
8075 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8076 * gdb.dwarf2/implptrpiece.exp: Likewise.
8077 * gdb.dwarf2/nostaticblock.exp: Likewise.
8078
0e5c4555
AA
80792014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8080
8081 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8082 directory to absolute path name arguments.
8083
5ec18f2b
JG
80842014-03-10 Joel Brobecker <brobecker@adacore.com>
8085
8086 * gdb.ada/tagged_access: New testcase.
8087
847fc4f2
MM
80882014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8089
8090 * gdb.btrace/data.exp: Update expected output.
8091
cc3da688
YQ
80922014-03-06 Yao Qi <yao@codesourcery.com>
8093
8094 * gdb.trace/pr16508.exp: New file.
8095
0f26cec1
PA
80962014-03-05 Pedro Alves <palves@redhat.com>
8097
8098 PR gdb/16575
8099 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8100 procedure.
8101 (top level): Adjust to use it. Add tests that exercise breakpoint
8102 interaction with the code-cache.
8103
7a5a839f
LC
81042014-02-26 Ludovic Courtès <ludo@gnu.org>
8105
8106 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8107 test for 'history-append!'.
8108
31aa7e4e
JB
81092014-02-26 Joel Brobecker <brobecker@adacore.com>
8110
8111 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8112 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8113 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8114 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8115 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8116 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8117
1b588015
JB
81182014-02-26 Joel Brobecker <brobecker@adacore.com>
8119
8120 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8121 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8122 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8123
55426c9d
JB
81242014-02-26 Joel Brobecker <brobecker@adacore.com>
8125
8126 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8127
dc53a7ad
JB
81282014-02-26 Joel Brobecker <brobecker@adacore.com>
8129
8130 * gdb.dwarf2/arr-stride.c: New file.
8131 * gdb.dwarf2/arr-stride.exp: New file.
8132
12ab52e9
PA
81332014-02-26 Pedro Alves <palves@redhat.com>
8134
8135 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8136 that won't ever trigger. Make sure that GDB reports the correct
8137 breakpoint that caused the stop.
8138
849c862e
JK
81392014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8140
8141 PR gdb/16626
8142 * gdb.base/auto-load-script: New file.
8143 * gdb.base/auto-load.c: New file.
8144 * gdb.base/auto-load.exp: New file.
8145
71b7d793
JK
8146 PR gdb/16626
8147 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8148
e2f0d509
JK
81492014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8150
8151 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8152 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8153
50cc37c8
DE
81542014-02-24 Doug Evans <dje@google.com>
8155
8156 * lib/gdb.exp (run_on_host): Log error output if program fails.
8157
ea4758f2
PA
81582014-02-21 Pedro Alves <palves@redhat.com>
8159
8160 * gdb.threads/step-after-sr-lock.c: Rename to ...
8161 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8162 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8163 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8164 ... this.
8165
d7b30f67
SDJ
81662014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8167
8168 PR tdep/16397
8169 * gdb.arch/amd64-stap-special-operands.exp: New file.
8170 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8171 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8172 * gdb.arch/amd64-stap-triplet.S: Likewise.
8173 * gdb.arch/amd64-stap-triplet.c: Likewise.
8174
83deb43f
JB
81752014-02-20 Joel Brobecker <brobecker@adacore.com>
8176
8177 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8178 in .section pseudo-op.
8179
adde2bff
DE
81802014-02-20 lin zuojian <manjian2006@gmail.com>
8181 Joel Brobecker <brobecker@adacore.com>
8182 Doug Evans <xdje42@gmail.com>
8183
8184 PR symtab/16581
8185 * gdb.dwarf2/dw2-icycle.S: New file.
8186 * gdb.dwarf2/dw2-icycle.c: New file.
8187 * gdb.dwarf2/dw2-icycle.exp: New file.
8188
f7bd0f78
SC
81892014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8190
8191 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8192 operations on gdb.Value objects.
8193 * gdb.python/py-value-cc.exp: Add new test to test operations on
8194 gdb.Value objects.
8195
c17ef0d5
DE
81962014-02-18 Doug Evans <dje@google.com>
8197
8198 * Makefile.in (TESTS): New variable.
8199 (expanded_tests, expanded_tests_or_none): New variables
8200 (check-single): Pass $(expanded_tests_or_none) to runtest.
8201 (check-parallel): Only run tests in $(TESTS) if non-empty.
8202 (check/no-matching-tests-found): New rule.
8203 * README: Document TESTS makefile variable.
8204
5dd3176f
DE
82052014-02-18 Doug Evans <dje@google.com>
8206
8207 * Makefile.in (check-parallel): rm -rf outputs temp.
8208
0b10be4f
JK
82092014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8210
8211 Fix "ERROR: no fileid for" in the testsuite.
8212 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8213
85f224e7
DE
82142014-02-12 Doug Evans <dje@google.com>
8215
8216 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8217 (MISCELLANEOUS): New variable.
8218 (clean): rm -rf $(MISCELLANEOUS).
8219 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8220 dwp live in the same directory as symlinks, with each symlink pointed
8221 to a differently named file in a different directory.
8222
149b30ff
DE
82232014-02-11 Doug Evans <dje@google.com>
8224
8225 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8226 of Tcl file commands.
8227
1dfdac32
MK
82282014-02-10 Mark Kettenis <kettenis@gnu.org>
8229
8230 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8231 "kill -SIGUSR1 -1".
8232
aa4fb036
JB
82332014-02-10 Joel Brobecker <brobecker@adacore.com>
8234
8235 * gdb.ada/tick_length_array_enum_idx: New testcase.
8236
ed3ef339
DE
82372014-02-10 Doug Evans <xdje42@gmail.com>
8238
8239 * configure.ac (AC_OUTPUT): Add gdb.guile.
8240 * configure: Regenerate.
8241 * lib/gdb-guile.exp: New file.
8242 * lib/gdb.exp (get_target_charset): New function.
8243 * gdb.base/help.exp: Update expected output from "apropos apropos".
8244 * gdb.guile/Makefile.in: New file.
8245 * gdb.guile/guile.exp: New file.
8246 * gdb.guile/scm-arch.c: New file.
8247 * gdb.guile/scm-arch.exp: New file.
8248 * gdb.guile/scm-block.c: New file.
8249 * gdb.guile/scm-block.exp: New file.
8250 * gdb.guile/scm-breakpoint.c: New file.
8251 * gdb.guile/scm-breakpoint.exp: New file.
8252 * gdb.guile/scm-disasm.c: New file.
8253 * gdb.guile/scm-disasm.exp: New file.
8254 * gdb.guile/scm-equal.c: New file.
8255 * gdb.guile/scm-equal.exp: New file.
8256 * gdb.guile/scm-error.exp: New file.
8257 * gdb.guile/scm-error.scm: New file.
8258 * gdb.guile/scm-frame-args.c: New file.
8259 * gdb.guile/scm-frame-args.exp: New file.
8260 * gdb.guile/scm-frame-args.scm: New file.
8261 * gdb.guile/scm-frame-inline.c: New file.
8262 * gdb.guile/scm-frame-inline.exp: New file.
8263 * gdb.guile/scm-frame.c: New file.
8264 * gdb.guile/scm-frame.exp: New file.
8265 * gdb.guile/scm-generics.exp: New file.
8266 * gdb.guile/scm-gsmob.exp: New file.
8267 * gdb.guile/scm-iterator.c: New file.
8268 * gdb.guile/scm-iterator.exp: New file.
8269 * gdb.guile/scm-math.c: New file.
8270 * gdb.guile/scm-math.exp: New file.
8271 * gdb.guile/scm-objfile-script-gdb.in: New file.
8272 * gdb.guile/scm-objfile-script.c: New file.
8273 * gdb.guile/scm-objfile-script.exp: New file.
8274 * gdb.guile/scm-objfile.c: New file.
8275 * gdb.guile/scm-objfile.exp: New file.
8276 * gdb.guile/scm-ports.exp: New file.
8277 * gdb.guile/scm-pretty-print.c: New file.
8278 * gdb.guile/scm-pretty-print.exp: New file.
8279 * gdb.guile/scm-pretty-print.scm: New file.
8280 * gdb.guile/scm-section-script.c: New file.
8281 * gdb.guile/scm-section-script.exp: New file.
8282 * gdb.guile/scm-section-script.scm: New file.
8283 * gdb.guile/scm-symbol.c: New file.
8284 * gdb.guile/scm-symbol.exp: New file.
8285 * gdb.guile/scm-symtab-2.c: New file.
8286 * gdb.guile/scm-symtab.c: New file.
8287 * gdb.guile/scm-symtab.exp: New file.
8288 * gdb.guile/scm-type.c: New file.
8289 * gdb.guile/scm-type.exp: New file.
8290 * gdb.guile/scm-value-cc.cc: New file.
8291 * gdb.guile/scm-value-cc.exp: New file.
8292 * gdb.guile/scm-value.c: New file.
8293 * gdb.guile/scm-value.exp: New file.
8294 * gdb.guile/source2.scm: New file.
8295 * gdb.guile/types-module.cc: New file.
8296 * gdb.guile/types-module.exp: New file.
8297
7026a7c1
YQ
82982014-02-10 Yao Qi <yao@codesourcery.com>
8299
8300 PR testsuite/16543
8301 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8302 * configure: Regenerated.
8303 * Makefile.in: New file.
8304
6c466447
AS
83052014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8306
8307 * gdb.python/py-framefilter.exp: Fix typo.
8308
6e854735
YQ
83092014-02-08 Yao Qi <yao@codesourcery.com>
8310
8311 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8312 that no =breakpoint-modified is emitted when breakpoints are
8313 modified through MI commands.
8314
d137e6dc
PA
83152014-02-07 Pedro Alves <pedro@codesourcery.com>
8316 Pedro Alves <palves@redhat.com>
8317
8318 * gdb.threads/step-after-sr-lock.c: New file.
8319 * gdb.threads/step-after-sr-lock.exp: New file.
8320
b5ee5a50
PA
83212014-02-07 Pedro Alves <palves@redhat.com>
8322
8323 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8324
3c77faf3
JK
83252014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8326
8327 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8328 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8329
6dddc817
DE
83302014-02-06 Doug Evans <xdje42@gmail.com>
8331
8332 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8333 output.
8334
8335 * gdb.gdb/python-interrupts.exp: New file.
8336
de7b2893
YQ
83372014-02-05 Yao Qi <yao@codesourcery.com>
8338
8339 * gdb.trace/report.exp (use_collected_data): Test the output
8340 of "info threads" and "info inferiors".
8341
66d032ac
YQ
83422014-02-05 Yao Qi <yao@codesourcery.com>
8343
8344 Revert this patch:
8345
8346 2013-05-24 Yao Qi <yao@codesourcery.com>
8347
8348 * gdb.trace/tfile.exp: Test inferior and thread.
8349
591a12a1
UW
83502014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8351
8352 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8353 on a function.
8354 * gdb.base/step-bt.c: Call hello via function pointer to make
8355 sure its first instruction is executed on powerpc64le-linux.
8356
0ff3e01f
UW
83572014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8358
8359 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8360
084ee545
UW
83612014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8362
8363 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8364 of the test patterns for use on little-endian systems.
8365
6ed14ff3
UW
83662014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8367
8368 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8369 (decimal_vector): Fix for little-endian.
8370
401e27fd
JM
83712014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8372
8373 * gdb.arch/sparc-sysstep.exp: New file.
8374 * gdb.arch/sparc-sysstep.c: Likewise.
8375
8376 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8377
8b924729
EBM
83782014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8379
8380 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8381
fb151210
JB
83822014-01-23 Tom Tromey <tromey@redhat.com>
8383
8384 * gdb.ada/array_char_idx: New testcase.
8385
0740f8d8
TT
83862014-01-23 Tom Tromey <tromey@redhat.com>
8387
8388 PR python/16487:
8389 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8390 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8391 classes.
8392
21909fa1
TT
83932014-01-23 Tom Tromey <tromey@redhat.com>
8394
8395 PR python/16491:
8396 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8397 string from an inferior frame.
8398 * gdb.python/py-framefilter-mi.exp: Update.
8399
87ce2a04
DE
84002014-01-22 Doug Evans <dje@google.com>
8401
8402 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8403
237b092b
AA
84042014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8405
8406 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8407
d674a709
AA
84082014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8409
8410 * gdb.trace/entry-values.exp: Remove excess space character from
8411 regex patterns. Handle s390 call instruction.
8412
20fa3390
AA
84132014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8414
8415 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8416 define "*_start" label. Make "name" static.
8417 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8418 ${name} by references to ${name}_start.
8419
78466714
AA
84202014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8421
8422 * gdb.base/info-macros.exp: Remove "debug" from the compile
8423 options.
8424
ec9f644a
IB
84252014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8426
8427 * gdb.dlang/demangle.exp: New file.
8428
94b1b47e
IB
84292014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8430
8431 * gdb.dlang/primitive-types.exp: New file.
8432
7f420862
IB
84332014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8434
8435 * configure.ac: Create gdb.dlang/Makefile.
8436 * configure: Regenerate.
8437 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8438 * gdb.dlang/Makefile.in: New file.
8439 * lib/d-support.exp: New file.
8440 * lib/gdb.exp (skip_d_tests): New proc.
8441
52834460
MM
84422014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8443
8444 * gdb.btrace/delta.exp: Check reverse stepi.
8445 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8446 * gdb.btrace/finish.exp: New.
8447 * gdb.btrace/next.exp: New.
8448 * gdb.btrace/nexti.exp: New.
8449 * gdb.btrace/record_goto.c: Add comments.
8450 * gdb.btrace/step.exp: New.
8451 * gdb.btrace/stepi.exp: New.
8452 * gdb.btrace/multi-thread-step.c: New.
8453 * gdb.btrace/multi-thread-step.exp: New.
8454 * gdb.btrace/rn-dl-bind.c: New.
8455 * gdb.btrace/rn-dl-bind.exp: New.
8456 * gdb.btrace/data.c: New.
8457 * gdb.btrace/data.exp: New.
8458 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8459
6e07b1d2
MM
84602014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8461
8462 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8463 * gdb.btrace/exception.exp: Update.
8464 * gdb.btrace/instruction_history.exp: Update.
8465 * gdb.btrace/record_goto.exp: Update.
8466 * gdb.btrace/tailcall.exp: Update.
8467 * gdb.btrace/unknown_functions.exp: Update.
8468 * gdb.btrace/delta.exp: New.
8469
0b722aec
MM
84702014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8471
8472 * gdb.btrace/record_goto.exp: Add backtrace test.
8473 * gdb.btrace/tailcall.exp: Add backtrace test.
8474
066ce621
MM
84752014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8476
8477 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8478 * gdb.btrace/record_goto.c: New.
8479 * gdb.btrace/record_goto.exp: New.
8480 * gdb.btrace/x86-record_goto.S: New.
8481
0688d04e
MM
84822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8483
8484 * gdb.btrace/function_call_history.exp: Update tests.
8485 * gdb.btrace/instruction_history.exp: Update tests.
8486
8710b709
MM
84872014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8488
8489 * gdb.btrace/function_call_history.exp: Fix expected field
8490 order for "record function-call-history".
8491 Add new tests for "record function-call-history /c".
8492 * gdb.btrace/exception.cc: New.
8493 * gdb.btrace/exception.exp: New.
8494 * gdb.btrace/tailcall.exp: New.
8495 * gdb.btrace/x86-tailcall.S: New.
8496 * gdb.btrace/x86-tailcall.c: New.
8497 * gdb.btrace/unknown_functions.c: New.
8498 * gdb.btrace/unknown_functions.exp: New.
8499 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8500
5de9129b
MM
85012014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8502
8503 * gdb.btrace/instruction_history.exp: Update.
8504 * gdb.btrace/function_call_history.exp: Update.
8505
23a7fe75
MM
85062014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8507
8508 * gdb.btrace/function_call_history.exp: Fix expected function
8509 trace.
8510 * gdb.btrace/instruction_history.exp: Initialize traced.
8511 Remove traced_functions.
8512
724c7dd8
MM
85132014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8514
8515 * gdb.btrace/function_call_history.exp: Update
8516 * gdb.btrace/instruction_history.exp: Update.
8517
6d78d93b
MM
85182014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8519
8520 * gdb.btrace/enable.exp: Update expected text.
8521
93a360cc
OJ
85222014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8523
8524 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8525 bytes.
8526
3772b53f
MR
85272014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8528
8529 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8530
596662fa
OJ
85312014-01-15 Omair Javaid <omair.javaid@linaro.org>
8532
8533 * lib/gdb.exp (supports_process_record): Return true for
8534 arm*-linux*. (supports_reverse): Likewise.
8535
b5b08fb4
SC
85362014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8537
8538 PR python/15464
8539 PR python/16113
8540 * gdb.python/py-type.c: Enhance test case.
8541 * gdb.python/py-value-cc.cc: Likewise
8542 * gdb.python/py-type.exp: Add new tests.
8543 * gdb.python/py-value-cc.exp: Likewise
8544
52d7fb13
AA
85452014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8546 Pedro Alves <palves@redhat.com>
8547
8548 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8549 Make "name" extern.
8550 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8551 references to ${name}_start by references to ${name}.
8552
a2cd8cfe
JB
85532014-01-10 Joel Brobecker <brobecker@adacore.com>
8554
8555 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8556
4e23fced
JB
85572014-01-10 Joel Brobecker <brobecker@adacore.com>
8558
8559 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8560
c6a9e42c
PA
85612014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8562 Pedro Alves <palves@redhat.com>
8563
8564 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 8565 mi_gdb_target_load.
c6a9e42c 8566
b7ea362b
PA
85672014-01-08 Pedro Alves <palves@redhat.com>
8568
8569 * gdb.threads/reconnect-signal.c: New file.
8570 * gdb.threads/reconnect-signal.exp: New file.
8571
5e3f4fab
EBM
85722014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8573
8574 * gdb.base/source-dir.exp: New file.
8575
79301218
JB
85762014-01-07 Joel Brobecker <brobecker@adacore.com>
8577
8578 * gdb.ada/mi_interface: New testcase.
8579
8e355c5d
JB
85802014-01-07 Joel Brobecker <brobecker@adacore.com>
8581
8582 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8583 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8584 gdb.ada/pp-rec-component/pck.ads: New files.
8585
c0d48811
JB
85862014-01-07 Joel Brobecker <brobecker@adacore.com>
8587
8588 * gdb.python/py-pp-integral.c: New file.
8589 * gdb.python/py-pp-integral.py: New file.
8590 * gdb.python/py-pp-integral.exp: New file.
8591
17b609c3 8592For older changes see ChangeLog-1993-2013.
c906108c 8593\f
8d8cb839
EZ
8594;; Local Variables:
8595;; mode: change-log
8596;; left-margin: 8
8597;; fill-column: 74
8598;; version-control: never
8599;; End:
902f2ccb 8600
618f726f 8601 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
8602 Copying and distribution of this file, with or without modification,
8603 are permitted provided the copyright notice and this notice are preserved.
This page took 2.705926 seconds and 4 git commands to generate.