]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
sparc: make SPARC_OPCODE_ARCH_MAX part of its enum
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
a31d2f06
YQ
12016-06-28 Yao Qi <yao.qi@linaro.org>
2
3 * gdb.base/catch-syscall.exp: Remove check on isnative and target
4 triplets. Start gdb, execute catch syscall, and continue. Check
5 gdb's output to determine catch syscall is supported.
6
921d8f54
MG
72016-06-27 Manish Goregaokar <manish@mozilla.com>
8
9 * gdb.rust/simple.rs: Add test for returning unit in a function
10 * gdb.rust/simple.exp: Add expectation for functions returning unit
11
f4952523
PMR
122016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
13
14 * gdb.python/py-breakpoint-create-fail.c,
15 gdb.python/py-breakpoint-create-fail.exp,
16 gdb.python/py-breakpoint-create-fail.py: New testcase.
17
fccb08f8
MG
182016-06-25 Manish Goregaokar <manish@mozilla.com>
19
20 PR gdb/20239
21 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
22 * gdb.rust/simple.exp: Add test expectations for new NonZero tests.
23
6b850546
DT
242016-06-24 David Taylor <dtaylor@emc.com>
25
26 * gdb.base/offsets.exp: New file.
27 * gdb.base/offsets.c: New file.
28
17621150
TT
292016-06-23 Tom Tromey <tom@tromey.com>
30
31 PR gdb/16483:
32 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
33 before any filters are loaded.
34
04d59df6
WT
352016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
36
37 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
38 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
39 structs.
40 * gdb.fortran/derived-type-function.exp: New file.
41 * gdb.fortran/derived-type-function.f90: New file.
42
43
ac69f786
PA
442016-06-21 Pedro Alves <palves@redhat.com>
45
46 * gdb.base/new-ui.exp: New file.
47 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
48 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
49 (with_spawn_id): New procedure.
50
49940788
PA
512016-06-21 Pedro Alves <palves@redhat.com>
52
53 * gdb.mi/mi-exec-run.exp: New file.
54
ef274d26
PA
552016-06-21 Pedro Alves <palves@redhat.com>
56
57 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
58 breakpoint command's output on the main UI.
59 (test_break): New procedure, factored out from calls in the top
60 level.
61 (top level): Use foreach_with_prefix to test MI as main UI and as
62 separate UI.
63
468afe6c
PA
642016-06-21 Pedro Alves <palves@redhat.com>
65
66 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
67 (test_awatch_creation_and_listing)
68 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
69 Remove 'type' parameter.
70 (test_watchpoint_all): New parameter mi_mode. Remove
71 with_test_prefix.
72 (top level): Use foreach_with_prefix, and add main/separate UI MI
73 testing axis.
74
51f77c37
PA
752016-06-21 Pedro Alves <palves@redhat.com>
76
77 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
78 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
79 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
80 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
81 (gdb_main_spawn_id, mi_spawn_id): Declare and
82 comment.
83 (mi_create_inferior_pty): New procedure,
84 factored out from default_mi_gdb_start.
85 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
86 procedures.
87 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
88 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
89 Use mi_create_inferior_pty.
90 (mi_gdb_start): Use eval to pass down args list.
91
8980e177
PA
922016-06-21 Pedro Alves <palves@redhat.com>
93
94 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
95 * gdb.opt/inline-cmds.exp: Add MI tests.
96
f38d3ad1
PA
972016-06-21 Pedro Alves <palves@redhat.com>
98
99 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
100
45db7c09
PA
1012016-06-21 Pedro Alves <palves@redhat.com>
102
103 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
104 (top level): Use it instead of mi_execute_to.
105
5a069ab3
PA
1062016-06-21 Pedro Alves <palves@redhat.com>
107
108 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
109 (cont_handler_str): New.
110 (signal_stop_handler): Set stop_handler_str instead of printing to
111 stdout.
112 (continue_handler): Set cont_handler_str instead of printing to
113 stdout.
114 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
115 mi_send_resuming_command. Print stop_handler_str and
116 cont_handler_str instead of expecting the python events print
117 directly.
118
2838cc1d
SD
1192016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
120
121 * gdb.base/jit-reader.exp: New file.
122 * gdb.base/jithost.c: New file.
123 * gdb.base/jithost.h: New file.
124 * gdb.base/jitreader.c : New file.
125 * gdb.base/jit-protocol.h: New file.
126
21a77091
YQ
1272016-06-17 Yao Qi <yao.qi@linaro.org>
128
129 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
130 parameters follow_fork and detach_on_fork. Set follow-fork-mode
131 and detach-on-fork. Adjust tests.
132 (top level): Invoke break_cond_on_syscall with combinations of
133 syscall, follow-fork-mode and detach-on-fork.
134
f50bf8e5
YQ
1352016-06-17 Yao Qi <yao.qi@linaro.org>
136
137 * gdb.base/step-over-exit.c: New.
138 * gdb.base/step-over-exit.exp: New.
139
a28d8e50
YTL
1402016-06-17 Yan-Ting Lin <currygt52@gmail.com>
141
142 * gdb.base/float.exp: Add target check for nds32*-*-*.
143 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
144
cad8e26d
AB
1452016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
146
147 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
148 for unsupported target features.
149 * gdb.base/call-rt-st.exp: Likewise.
150 * gdb.base/call-sc.exp: Likewise.
151 * gdb.base/call-signal-resume.exp: Likewise.
152 * gdb.base/call-strs.exp: Likewise.
153 * gdb.base/callexit.exp: Likewise.
154 * gdb.base/callfuncs.exp: Likewise.
155 * gdb.base/nodebug.exp: Likewise.
156 * gdb.base/printcmds.exp: Likewise.
157 * gdb.base/ptype.exp: Likewise.
158 * gdb.base/structs.exp: Likewise.
159 * gdb.base/unwindonsignal.exp: Likewise.
160 * gdb.cp/gdb2495.exp: Likewise.
161 * gdb.cp/templates.exp: Likewise.
162 * gdb.cp/virtfunc.exp: Likewise.
163 * gdb.threads/hand-call-in-threads.exp: Likewise.
164 * gdb.threads/interrupted-hand-call.exp: Likewise.
165 * gdb.threads/thread-unwindonsignal.exp: Likewise.
166
347dc102
TT
1672016-06-10 Tom Tromey <tom@tromey.com>
168
169 PR rust/20110:
170 * gdb.rust/expr.exp: Add test for integer constant larger than
171 i32.
172
5e13cf25
BH
1732016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
174
175 * gdb.fortran/nested-funcs.exp: New.
176 * gdb.fortran/nested-funcs.f90: New.
177
bb556f1f
TK
1782016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
179
180 * gdb.base/examine-backward.c: New file.
181 * gdb.base/examine-backward.exp: New file.
182
38b022b4
SM
1832016-06-06 Simon Marchi <simon.marchi@ericsson.com>
184
185 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
186 matching.
187
1b40ec05
TT
1882016-06-02 Tom Tromey <tom@tromey.com>
189
190 PR python/18984:
191 * gdb.python/py-shared.exp: Add solib_name test.
192
193bd378
SM
1932016-06-02 Simon Marchi <simon.marchi@ericsson.com>
194
195 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
196
3326303b
MG
1972016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
198
199 PR c++/19893
200 * gdb.dwarf2/implref.exp: Rename to...
201 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
202 * gdb.dwarf2/implref-array.c: New file.
203 * gdb.dwarf2/implref-array.exp: Likewise.
204 * gdb.dwarf2/implref-global.c: Likewise.
205 * gdb.dwarf2/implref-global.exp: Likewise.
206 * gdb.dwarf2/implref-struct.c: Likewise.
207 * gdb.dwarf2/implref-struct.exp: Likewise.
208
825c8ef2
AT
2092016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
210
211 * gdb.trace/trace-condition.exp: Add 64bit tests.
212
2320162a
AT
2132016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
214
215 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
216 bits types.
217 (main): Adapt to 8 to 64 bits types.
218 * gdb.trace/trace-condition.exp: Add new tests.
219
a7818233
AT
2202016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
221
222 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
223
0d336466
AT
2242016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
225
226 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
227 Move condition tests...
228 * gdb.trace/trace-condition.exp: Here.
229
7faeb45a
AT
2302016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
231
232 * gdb.trace/trace-condition.exp: Add counter-case tests.
233
e385593e
JK
2342016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
235
236 PR c++/15231
237 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
238 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
239
744608cc
PA
2402016-05-27 Pedro Alves <palves@redhat.com>
241
242 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
243 New procedure.
244 (top level): Call it, and bail out of DejaGnu is known to be bad.
245
ac775bf4
AB
2462016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
247
248 * gdb.base/whatis.c: Extend the test case.
249 * gdb.base/whatis.exp: Add additional tests.
250
2bbad2ea
BH
2512016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
252
253* gdb.fortran/type.f90: Add pointer variable.
254* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
255
8b70175d
BH
2562016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
257
258 * gdb.fortran/vla-type.exp: Fix testcase name.
259
86d8a848
BH
2602016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
261
262 * gdb.fortran/vla-type.exp: Access elements in nested structs.
263
e188eb36
BH
2642016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
265
266 * gdb.fortran/type.f90: Add nested structures.
267 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
268 * gdb.fortran/derived-type.exp: Adapt expected output.
269 * gdb.fortran/vla-type.exp: Adapt expected output.
270
9b2db1fd
BH
2712016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
272
273 * gdb.fortran/whatis_type.exp: Adapt expected output.
274
72b17055
BH
2752016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
276
277 * gdb.fortran/print_type.exp: Fix expected output.
278 * gdb.fortran/whatis_type.exp: Fix expected output.
279
3cd81d8d
BH
2802016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
281
282 * gdb.fortran/whatis_type.exp: Use multi_line.
283
ddae9462
TT
2842016-05-24 Tom Tromey <tom@tromey.com>
285
286 PR python/17386:
287 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
288 use value as an index.
289
1957f6b8
TT
2902016-05-23 Tom Tromey <tom@tromey.com>
291
292 PR python/17981:
293 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
294 no-breakpoint case.
295
026a9174
PA
2962016-05-24 Pedro Alves <palves@redhat.com>
297
298 PR gdb/19828
299 * gdb.threads/clone-attach-detach.c: New file.
300 * gdb.threads/clone-attach-detach.exp: New file.
301
e70a7231
FR
3022016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
303
304 * gdb.base/annota-input-while-running.exp: Fix syntax error.
305
0f6ed0e0
TT
3062016-05-23 Tom Tromey <tom@tromey.com>
307
308 PR python/19438, PR python/18393:
309 * gdb.python/py-progspace.exp: Add "dir" test.
310 * gdb.python/py-objfile.exp: Add "dir" test.
311
ffd19d61
YQ
3122016-05-23 Yao Qi <yao.qi@linaro.org>
313
314 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
315 * gdb.arch/thumb2-it.exp: Likewise.
316
9e8f9b05
SM
3172016-05-18 Simon Marchi <simon.marchi@ericsson.com>
318
319 * gdb.mi/mi-threads-interrupt.c: New file.
320 * gdb.mi/mi-threads-interrupt.exp: New file.
321
61c6156d
SM
3222016-05-17 Simon Marchi <simon.marchi@ericsson.com>
323
324 PR gdb/18077
325 * gdb.mi/mi-async-run.exp: New file.
326 * gdb.mi/mi-async-run.c: New file.
327
67218854
TT
3282016-05-17 Tom Tromey <tom@tromey.com>
329 Manish Goregaokar <manishsmail@gmail.com>
330
331 * lib/rust-support.exp: New file.
332 * lib/gdb.exp (skip_rust_tests): New proc.
333 (build_executable_from_specs): Handle rust.
334 * lib/future.exp (gdb_find_rustc): New proc.
335 (gdb_default_target_compile): Handle rust.
336 * gdb.rust/expr.exp: New file.
337 * gdb.rust/generics.exp: New file.
338 * gdb.rust/generics.rs: New file.
339 * gdb.rust/methods.exp: New file.
340 * gdb.rust/methods.rs: New file.
341 * gdb.rust/modules.exp: New file.
342 * gdb.rust/modules.rs: New file.
343 * gdb.rust/simple.exp: New file.
344 * gdb.rust/simple.rs: New file.
345
c44af4eb
TT
3462016-05-17 Tom Tromey <tom@tromey.com>
347
348 * gdb.base/default.exp (set language): Add rust.
349
dcd1f979
TT
3502016-05-17 Tom Tromey <tom@tromey.com>
351
352 * gdb.gdb/unittest.exp: New file.
353
155b7f57
YQ
3542016-05-16 Yao Qi <yao.qi@linaro.org>
355
356 * gdb.base/batch-preserve-term-settings.exp: Remove variable
357 shell_prompt. Update shell_prompt_re.
358
8ddd5a6c
DE
3592016-05-12 Doug Evans <dje@google.com>
360
361 PR symtab/19999
362 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
363 $options when building executable.
364 * gdb.dwarf2/fission-loclists-pie.S: New file.
365 * gdb.dwarf2/fission-loclists-pie.exp: New file.
366
02e370d9
SM
3672016-05-04 Simon Marchi <simon.marchi@ericsson.com>
368
369 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
370 of [is_remote target],
371
8929ad8b
SM
3722016-05-04 Simon Marchi <simon.marchi@ericsson.com>
373
374 * lib/gdb.exp (use_gdb_stub): New procedure.
375
6c447423
DE
3762016-05-03 Yunlian Jiang <yunlian@google.com>
377 Doug Evans <dje@google.com>
378
379 PR symtab/19914
380 * gdb.dwarf2/dwp-sepdebug.c: New file.
381 * gdb.dwarf2/dwp-sepdebug.exp: New file.
382
444e826c
SM
3832016-05-02 Simon Marchi <simon.marchi@ericsson.com>
384
385 * gdb.base/detach.exp: Remove is_remote check.
386
740feeaa
SM
3872016-05-02 Simon Marchi <simon.marchi@ericsson.com>
388
389 * gdb.base/annota-input-while-running.exp: Don't check for
390 [is_remote target]. Enable annotations after running to main.
391 Remove unused "set test..." line.
392
9080ac9d
SM
3932016-04-28 Simon Marchi <simon.marchi@ericsson.com>
394
395 * gdb.trace/trace-enable-disable.exp: New file.
396 * gdb.trace/trace-enable-disable.c: New file.
397
952ebca5
SM
3982016-04-28 Simon Marchi <simon.marchi@ericsson.com>
399
400 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
401 use it in info sharedlibrary test.
402 * gdb.trace/ftrace-lock.exp: Likewise.
403 * gdb.trace/ftrace.exp: Likewise.
404 * gdb.trace/range-stepping.exp: Likewise.
405 * gdb.trace/trace-break.exp: Likewise.
406 * gdb.trace/trace-condition.exp: Likewise.
407 * gdb.trace/trace-mt.exp: Likewise.
408
d9019901
SM
4092016-04-27 Simon Marchi <simon.marchi@ericsson.com>
410
411 * lib/gdb.exp (gdb_load_shlibs): Rename to...
412 (gdb_load_shlib): ... this.
413 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
414 gdb_load_shlib.
415 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
416 * gdb.base/ctxobj.exp: Likewise.
417 * gdb.base/dprintf-pending.exp: Likewise.
418 * gdb.base/dso2dso.exp: Likewise.
419 * gdb.base/fixsection.exp: Likewise.
420 * gdb.base/gcore-relro.exp: Likewise.
421 * gdb.base/gdb1555.exp: Likewise.
422 * gdb.base/global-var-nested-by-dso.exp: Likewise.
423 * gdb.base/gnu-ifunc.exp: Likewise.
424 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
425 * gdb.base/jit-so.exp (one_jit_test): Likewise.
426 * gdb.base/pending.exp: Likewise.
427 * gdb.base/print-file-var.exp: Likewise.
428 * gdb.base/print-symbol-loading.exp: Likewise.
429 * gdb.base/shlib-call.exp: Likewise.
430 * gdb.base/shreloc.exp: Likewise.
431 * gdb.base/so-impl-ld.exp: Likewise.
432 * gdb.base/solib-disc.exp: Likewise.
433 * gdb.base/solib-nodir.exp: Likewise.
434 * gdb.base/solib-overlap.exp: Likewise.
435 * gdb.base/solib-symbol.exp: Likewise.
436 * gdb.base/solib-weak.exp (do_test): Likewise.
437 * gdb.base/sym-file.exp: Likewise.
438 * gdb.base/symtab-search-order.exp: Likewise.
439 * gdb.base/type-opaque.exp: Likewise.
440 * gdb.base/unload.exp: Likewise.
441 * gdb.base/watchpoint-solib.exp: Likewise.
442 * gdb.compile/compile.exp: Likewise.
443 * gdb.cp/gdb2384.exp: Likewise.
444 * gdb.cp/infcall-dlopen.exp: Likewise.
445 * gdb.cp/re-set-overloaded.exp: Likewise.
446 * gdb.fortran/library-module.exp: Likewise.
447 * gdb.opt/solib-intra-step.exp: Likewise.
448 * gdb.python/py-finish-breakpoint.exp: Likewise.
449 * gdb.python/py-shared.exp: Likewise.
450 * gdb.reverse/solib-precsave.exp: Likewise.
451 * gdb.reverse/solib-reverse.exp: Likewise.
452 * gdb.server/solib-list.exp: Likewise.
453 * gdb.threads/dlopen-libpthread.exp: Likewise.
454 * gdb.threads/tls-shared.exp: Likewise.
455 * gdb.threads/tls-so_extern.exp: Likewise.
456 * gdb.trace/change-loc.exp: Likewise.
457 * gdb.trace/ftrace-lock.exp: Likewise.
458 * gdb.trace/ftrace.exp: Likewise.
459 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
460 * gdb.trace/pending.exp: Likewise.
461 * gdb.trace/range-stepping.exp: Likewise.
462 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
463 (strace_info_marker): Likewise.
464 (strace_probe_marker): Likewise.
465 (strace_trace_on_same_addr): Likewise.
466 (strace_trace_on_diff_addr): Likewise.
467 * gdb.trace/trace-break.exp: Likewise.
468 * gdb.trace/trace-condition.exp: Likewise.
469 * gdb.trace/trace-mt.exp: Likewise.
470
fca4cfd9
SM
4712016-04-27 Simon Marchi <simon.marchi@ericsson.com>
472
473 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
474 result of gdb_remote_download.
475 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
476 * gdb.base/dso2dso.exp: Likewise.
477 * gdb.base/global-var-nested-by-dso.exp: Likewise.
478 * gdb.base/print-file-var.exp: Likewise.
479 * gdb.base/shlib-call.exp: Likewise.
480 * gdb.base/shreloc.exp: Likewise.
481 * gdb.base/solib-overlap.exp: Likewise.
482 * gdb.base/solib-weak.exp (do_test): Likewise.
483 * gdb.base/unload.exp: Likewise.
484
11cf4ffb
YQ
4852016-04-27 Yao Qi <yao.qi@linaro.org>
486
487 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
488 exists.
489
3e2e34f8
KB
4902016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
491
492 * vla-type.exp: Print structure from toplevel.
493
8f07e298
BH
4942016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
495
496 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
497 of dynamic types.
498 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
499 of dynamic types.
500
9920b434
BH
5012016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
502
503 * gdb.fortran/vla-type.f90: New file.
504 * gdb.fortran/vla-type.exp: New file.
505
f3abeff5
YQ
5062016-04-25 Yao Qi <yao.qi@linaro.org>
507
508 * gdb.base/branch-to-self.c: New file.
509 * gdb.base/branch-to-self.exp: New file.
510
0a5d52f0
YQ
5112016-04-22 Yao Qi <yao.qi@linaro.org>
512
513 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
514 more after $hex.
515
495346f6
YQ
5162016-04-22 Yao Qi <yao.qi@linaro.org>
517
518 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
519 * gdb.base/annota3.exp: Likewise.
520
4a7e075c
YQ
5212016-04-22 Yao Qi <yao.qi@linaro.org>
522
523 * gdb.reverse/step-precsave.exp: Do one step and test program
524 stops in "callee" and do multiple steps until program goes out
525 of "callee".
526 * gdb.reverse/step-reverse.exp: Likewise.
527
5b061e98
YQ
5282016-04-22 Yao Qi <yao.qi@linaro.org>
529
530 * gdb.trace/signal.exp: Also pass if
531 $tracepoint_hits($i) > $iterations.
532
5c5dc57f
YQ
5332016-04-22 Yao Qi <yao.qi@linaro.org>
534
535 * gdb.trace/signal.c: New file.
536 * gdb.trace/signal.exp: New file.
537
a55411b9
DE
5382016-04-19 Doug Evans <xdje42@gmail.com>
539
540 * gdb.base/bad-file.exp: New file.
541
a22df60a
MG
5422016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
543
544 * gdb.dwarf2/implref.exp: New file.
545
0c13f7e5
BH
5462016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
547
548 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
549 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
550 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
551 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
552 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
553 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
554 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
555 * lib/fortran.exp (fortran_int4): New procedure.
556 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
557 (fortran_logical4): Likewise.
558
9b9b09e9
BH
5592016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
560
561 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
562
a14d1f4d
BH
5632016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
564
565 * lib/compiler.c: Add Intel specific preprocessor macros.
566 * lib/compiler.cc: Likewise.
567
7d49b1d0
LM
5682016-04-13 Luis Machado <lgustavo@codesourcery.com>
569
570 * gdb.server/connect-with-no-symbol-file.c: New file.
571 * gdb.server/connect-with-no-symbol-file.exp: New file.
572
8392fa22
SM
5732016-04-13 Simon Marchi <simon.marchi@ericsson.com>
574
575 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
576
8c4c4aeb
SM
5772016-04-13 Simon Marchi <simon.marchi@ericsson.com>
578
579 * boards/gdbserver-base.exp (${board}_download): Copy source file to
580 standard output directory.
581
45e3745e
AT
5822016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
583
584 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
585
e26b7e41
MM
5862016-04-13 Markus Metzger <markus.t.metzger@intel.com>
587
588 * gdb.btrace/instruction_history.c (loop): Add declaration.
589
8ce09462
AT
5902016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
591
592 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
593
2e88a1ea
SM
5942016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
595
596 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
597 parentheses to print.
598 (continue_handler): Likewise.
599
f48e22e3
SM
6002016-04-08 Simon Marchi <simon.marchi@ericsson.com>
601
602 * gdb.server/solib-list.exp: Remove is_remote check.
603 Pass shlib= to gdb_compile. Don't link shared library with
604 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
605 Run binary filename through "readlink -f" on the target.
606
096be756
PA
6072016-04-08 Pedro Alves <palves@redhat.com>
608
609 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
610 interpreter filename as argument to gdbserver_spawn.
611 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
612 Return empty if $last_loaded_file does not exist.
613
06500533
JK
6142016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
615
616 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
617 * gdb.base/jit-main.c: Use exit after usage.
618
2d35e871
JK
6192016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
620
621 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
622 GDBHISTSIZE prior to the tests.
623 * gdb.base/gdbinit-history.exp: Likewise.
624
6252016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
626
627 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
628 instead of build_executable. Use gdb_load_shlibs.
629
c8064e7e
YQ
6302016-04-07 Yao Qi <yao.qi@linaro.org>
631
632 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
633 Execute "si" command.
634
bde47561
YQ
6352016-04-07 Yao Qi <yao.qi@linaro.org>
636
637 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
638 number instead of the comments on some line.
639
b16f8a3b
DB
6402016-04-06 Don Breazeal <donb@codesourcery.com>
641
642 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
643 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
644
c2f901df
SM
6452016-04-06 Simon Marchi <simon.marchi@ericsson.com>
646
647 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
648 standard_output_file. Remove unused binfile variable.
649
ac17fda0
CU
6502016-04-05 Catalin Udma <catalin.udma@freescale.com>
651
652 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
653 * gdb.python/py-mi-objfile.exp: Match "list main" output
654 in console format.
655
03a8c4df
SM
6562016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
657
658 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
659 absolute.
660
6e774b13
SM
6612016-04-05 Simon Marchi <simon.marchi@ericsson.com>
662
663 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
664 absolute.
665 * gdb.trace/ftrace.exp: Likewise.
666 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
667 targets as well.
668 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
669 (gdb_load_shlibs): Copy libraries to test directory when testing
670 natively. Only set solib-search-path if testing remotely.
671 * lib/mi-support.exp (mi_load_shlibs): Likewise.
672
7817ea46
SM
6732016-04-05 Simon Marchi <simon.marchi@ericsson.com>
674
675 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
676 gdb_download. Use it even if the target is not remote.
677 * gdb.base/jit.exp (compile_jit_test): Likewise.
678 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
679 output directory if the destination board is local, otherwise use
680 the standard remote_download from DejaGnu.
681 (gdb_download): Remove.
682 (gdb_load_shlibs): Use gdb_remote_download instead of
683 gdb_download.
684 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
685 Use gdb_remote_download instead of gdb_download. Use it even if
686 the target is not remote.
687 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
688 instead of gdb_download.
689
7beb7f68
SM
6902016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
691
692 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
693 (test_insert_delete_modify): Call mi_load_shlibs before trying to
694 run.
695
cc63428a
AV
6962016-04-01 Artemiy Volkov <artemiyv@acm.org>
697
698 PR gdb/19820
699 * gdb.base/printcmds.exp: Add artificial arrays tests.
700
64cdf930
PA
7012016-03-31 Pedro Alves <palves@redhat.com>
702
703 PR gdb/19858
704 * gdb.base/jit-main.c: Include unistd.h.
705 (ATTACH): Define to 0 if not already defined.
706 (wait_for_gdb, mypid): New globals.
707 (WAIT_FOR_GDB): New macro.
708 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
709 some breakpoint locations.
710 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
711 New procedures.
712 (one_jit_test): Add REATTACH parameter, and handle it. Use
713 continue_to_test_location.
714 (top level): Test attach, and adjusts calls to one_jit_test.
715
40dea8cb
PA
7162016-03-31 Pedro Alves <palves@redhat.com>
717
718 PR gdb/19858
719 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
720 BINSUFFIX parameter, and handle it.
721 (top level): Adjust calls compile_jit_test.
722
e7ea3ec7
CU
7232016-03-31 Catalin Udma <catalin.udma@freescale.com>
724
725 PR python/19743
726 * gdb.python/py-mi-events-gdb.py: New file.
727 * gdb.python/py-mi-events.c: New file.
728 * gdb.python/py-mi-events.exp: New file.
729
e6359af3
YQ
7302016-03-30 Yao Qi <yao.qi@linaro.org>
731
732 * gdb.reverse/until-precsave.exp: Match function name only.
733 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
734 Move malloc to a condition block.
735 * gdb.reverse/until-reverse.exp: Match function name only.
736
a4105d04
MK
7372016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
738
739 * gdb.trace/ftrace.exp: Set arg0exp for s390.
740 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
741 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
742 variable for GPR 0 instead of assuming it is register 0.
743 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
744 * lib/trace-support.exp: Add s390 registers.
745
bfa6adb9
YQ
7462016-03-29 Yao Qi <yao.qi@linaro.org>
747
748 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
749
1e6697ea
YQ
7502016-03-24 Yao Qi <yao.qi@linaro.org>
751
752 * gdb.reverse/break-reverse.exp: Add quotation mark in the
753 test message.
754
64bcd522
AA
7552016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
756
757 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
758 maintaining separate logic for constructing the output path.
759
7868401b
DB
7602016-03-16 Don Breazeal <donb@codesourcery.com>
761
762 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
763 Retry fork and waitpid on interrupted system call errors.
764 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
765 Use with_timeout_factor to increase timeout by factor of 10.
766
1cafadb4
DB
7672016-03-15 Don Breazeal <donb@codesourcery.com>
768
769 * gdb.cp/scope-err.cc: New test program.
770 * gdb.cp/scope-err.exp: New test script.
771 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
772 lines and "set breakpoint here" comment.
773 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
774 Fixed some whitespace and format issues.
775 * gdb.mi/mi-linespec-err-cp.cc: New test program.
776 * gdb.mi/mi-linespec-err-cp.exp: New test script.
777
81516450
DE
7782016-03-15 Doug Evans <dje@google.com>
779
780 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
781 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
782 All callers updated. Add tests for enums, mixed flags register.
783
aa52b601
DE
7842016-03-15 Doug Evans <dje@google.com>
785
786 * gdb.base/skip.c (main): Call test_skip_file_and_function.
787 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
788
fa4ff313
SM
7892016-03-14 Simon Marchi <simon.marchi@ericsson.com>
790
791 * gdb.base/default.exp: Add $_as_string to the list of expected
792 convenience functions.
793
f2403c39
AB
7942016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
795
796 * gdb.base/maint.exp: New tests for 'maint info line-table'.
797
f2f3ccb9
SM
7982016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
799
800 * gdb.python/py-as-string.exp: New file.
801 * gdb.python/py-as-string.c: New file.
802
00dbd492
PA
8032016-03-09 Pedro Alves <palves@redhat.com>
804
805 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
806 signal" -> "Thread NN received signal" output change.
807 * gdb.threads/ia64-sigill.exp: Likewise.
808 * gdb.threads/linux-dp.exp: Likewise.
809 * gdb.threads/manythreads.exp: Likewise.
810 * gdb.threads/pending-step.exp: Likewise.
811 * gdb.threads/print-threads.exp: Likewise.
812 * gdb.threads/sigstep-threads.exp: Likewise.
813 * gdb.threads/staticthreads.exp: Likewise.
814 * gdb.threads/tls.exp: Likewise.
815
1e6697ea
YQ
8162016-03-09 Pedro Alves <palves@redhat.com>
817
818 * gdb.base/command-line-input.exp: New file.
819
b04fd3be
MK
8202016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
821
822 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
823 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
824 * gdb.trace/pending.exp: Accept leading dot before function name.
825 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
826 * lib/trace-support.exp: Set registers for ppc.
827
98fa59e9
MK
8282016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
829
830 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
831 use it for disassembly; accept .main in addition to main in backtrace.
832
f77198c8
MK
8332016-03-09 Wei-cheng Wang <cole945@gmail.com>
834 Marcin Kościelnicki <koriakin@0x04.net>
835
836 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
837 (gdb_recursion_test_ptr): New global variable.
838 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
839 gdb_recursion_test.
840 (gdb_c_test): Ditto.
841
ba84e0da
MK
8422016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
843
844 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
845 ordering.
846
4366d36e
MK
8472016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
848
849 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
850 (bar): Add bar_start_lbl label.
851 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
852 of foo/bar for emitting DWARF and tracing.
853
5eb264df
SDJ
8542016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
855
856 * analyze-racy-logs.py: Set executable bit.
857
fb6a751f
SDJ
8582016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
859
860 * Makefile.in (DEFAULT_RACY_ITER): New variable.
861 (CHECK_TARGET_TMP): Likewise.
862 (check-single-racy): New rule.
863 (check-parallel-racy): Likewise.
864 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
865 (do-check-parallel-racy): New rule.
866 (check-racy/%.exp): Likewise.
867 * README (Racy testcases): New section.
868 * analyze-racy-logs.py: New file.
869
bdf7e230
DE
8702016-03-03 Doug Evans <dje@google.com>
871
872 * gdb.base/skip.exp: Use with_test_prefix.
873
4719d415
YQ
8742016-03-03 Yao Qi <yao.qi@linaro.org>
875
876 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
877 Invoke step_over_syscall "clone" and break_cond_on_syscall
878 "clone".
879 * gdb.base/step-over-clone.c: New file.
880
ea507862
YQ
8812016-03-03 Yao Qi <yao.qi@linaro.org>
882
883 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
884 code format.
885
8fc8cbda
YQ
8862016-03-03 Yao Qi <yao.qi@linaro.org>
887
888 * gdb.base/disp-step-fork.c: Rename to ...
889 * gdb.base/step-over-fork.c: ... it. New file.
890 * gdb.base/disp-step-vfork.c: Rename to ...
891 * gdb.base/step-over-vfork.c: ... it. New file.
892 * gdb.base/disp-step-syscall.exp: Rename to ...
893 * gdb.base/step-over-syscall.exp: ... it. New file.
894 (disp_step_cross_syscall): Rename to ...
895 (step_over_syscall): ... it.
896
92fa70b0
YQ
8972016-03-03 Yao Qi <yao.qi@linaro.org>
898
899 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
900 If target supports condition evaluation on target, invoke
901 break_cond_on_syscall for fork and vfork.
902
e197ad3c
YQ
9032016-03-03 Yao Qi <yao.qi@linaro.org>
904
905 * gdb.base/disp-step-syscall.exp: Don't invoke
906 support_displaced_stepping.
907 (disp_step_cross_syscall): Test with displaced stepping off and
908 on if supported.
909
0b47da9f
YQ
9102016-03-03 Yao Qi <yao.qi@linaro.org>
911
912 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
913 proc.
914 (setup): New proc.
915 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
916 and setup.
917
065ab6dc
BH
9182016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
919
920 * gdb.fortran/vla-history.exp: Remove breakpoint.
921
07e448ad 9222016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
923
924 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
925
9ac2d526 9262016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
927
928 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
929
17807369
BH
9302016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
931
932 * gdb.mi/vla.f90: Nullify pointer after declaration.
933
86e501af
PA
9342016-03-01 Pedro Alves <palves@redhat.com>
935
936 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
937
1e903e32
PA
9382016-03-01 Pedro Alves <palves@redhat.com>
939
940 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
941 before anything else.
942 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
943 _GNU_SOURCE here.
944 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
945 before anything else.
946 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
947
6ccb54e2
PA
9482016-03-01 Pedro Alves <palves@redhat.com>
949
950 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
951
30ca9da1
YQ
9522016-03-01 Yao Qi <yao.qi@linaro.org>
953
954 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
955 prepare_for_testing.
956
dc856b38
YQ
9572016-03-01 Yao Qi <yao.qi@linaro.org>
958
959 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
960
4a932159
AA
9612016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
962
963 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
964 manually constructing the output path.
965
f2489477
AA
9662016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
967
968 * gdb.arch/s390-stackless.S: New.
969 * gdb.arch/s390-stackless.exp: New.
970
38899f16
IB
9712016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
972
973 * gdb.dlang/circular.c: New file.
974 * gdb.dlang/circular.exp: New file.
975
9fde51ed
YQ
9762016-02-26 Yao Qi <yao.qi@linaro.org>
977
978 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
979 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
980 (testcases): Update.
981
ce90fefe
YQ
9822016-02-26 Yao Qi <yao.qi@linaro.org>
983
984 * gdb.reverse/aarch64.c: Rename to ...
985 * gdb.reverse/insn-reverse.c: ... it.
986 * gdb.reverse/aarch64.exp: Rename to ...
987 * gdb.reverse/insn-reverse.exp: ... it.
988
3263bceb
YQ
9892016-02-26 Yao Qi <yao.qi@linaro.org>
990
991 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
992 (testcase_ftype): New.
993 (testcases): New array.
994 (n_testcases): New.
995 (main): Call each element in testcases.
996 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
997 (read_testcase): New.
998 Do the tests in a loop.
999
6cb59ff1
YQ
10002016-02-25 Yao Qi <yao.qi@linaro.org>
1001
1002 * gdb.base/branches.c: Remove.
1003
ae91f625
MK
10042016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1005
1006 PR gdb/13808
1007 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1008
678b48b7
MK
10092016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1010
1011 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1012
7337a6f2
MK
10132016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1014
1015 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1016 change x86_64 call_insn to 'callq'.
1017
861ca91f
AT
10182016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1019
1020 * gdb.trace/tfile-avx.c: Move to...
1021 * gdb.trace/tracefile-pseudo-reg.c: Here.
1022 * gdb.trace/tfile-avx.exp: Move to...
1023 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1024
bf74e428
GB
10252016-02-24 Gary Benson <gbenson@redhat.com>
1026
1027 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1028 message on attach.
1029
cce0e923
DE
10302016-02-23 Doug Evans <dje@google.com>
1031
1032 * gdb.base/skip.c (test_skip): New function.
1033 (end_test_skip_file_and_function): New function.
1034 (test_skip_file_and_function): New function.
1035 * gdb.base/skip1.c (test_skip): New function.
1036 (skip1_test_skip_file_and_function): New function.
1037 * gdb.base/skip.exp: Add tests for new skip options.
1038 * gdb.base/skip-solib.exp: Update expected output.
1039 * gdb.perf/skip-command.cc: New file.
1040 * gdb.perf/skip-command.exp: New file.
1041 * gdb.perf/skip-command.py: New file.
1042
4000e47e
MK
10432016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1044
1045 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1046 info registers pattern.
1047
24f75ead
IB
10482016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1049
1050 * lib/future.exp: Add D support.
1051 (gdb_find_gdc): New proc.
1052 (gdb_default_target_compile): Add D support.
1053
fbb7bcbe
WW
10542016-02-18 Wei-cheng Wang <cole945@gmail.com>
1055
1056 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1057 user+system time.
1058 (trace_speed_test): Determine the iteration count for a time
1059 between 15..30 seconds.
1060
012b3a21
WT
10612016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1062
1063 * gdb.arch/i386-mpx-sigsegv.c: New file.
1064 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1065 * gdb.arch/i386-mpx-simple_segv.c: New file.
1066 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1067
2d5189bd
YQ
10682016-02-18 Yao Qi <yao.qi@linaro.org>
1069
1070 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1071 Don't call setup_kfail.
1072
40fb20d0
YQ
10732016-02-18 Yao Qi <yao.qi@linaro.org>
1074
1075 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1076 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1077
21b1f8d2
DE
10782016-02-16 Doug Evans <dje@google.com>
1079
1080 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1081 * gdb.base/skip1.c: Ditto.
1082 * gdb.base/skip.exp: Whitespace cleanup.
1083
4041ed77
DB
10842016-02-16 Don Breazeal <donb@codesourcery.com>
1085
1086 PR remote/19496
1087 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1088 Remove kfail for PR remote/19496.
1089
c4ef31bf
SM
10902016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1091
1092 * lib/gdb.exp (standard_temp_file): Return a path specific to
1093 the runtest invocation.
1094
266b65b3
SM
10952016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1096
1097 * gdb.trace/save-trace.exp: Change relative path to be in the
1098 standard output directory.
1099
a7a0a6a9
JK
11002016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1101
1102 * gdb.arch/i386-prologue.c: Add missing prototypes.
1103
c99dbb42
JK
11042016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1105
1106 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1107 * gdb.arch/i386-prologue.exp: Likewise.
1108 * gdb.arch/i386-size.exp: Likewise.
1109
aa480355
SM
11102016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1111
1112 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1113 define object file path.
1114 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1115 file path.
1116 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1117 standard_output_file to define binfile.
1118
ba881f50
JK
11192016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1120
1121 Fix compatibility with recent gfortran-5.3.1.
1122 * gdb.fortran/vla-history.exp (print vla1 allocated)
1123 (print vla2 allocated, print $2, print $3): Remove
1124 (print $4): Rename to ...
1125 (print $2): ... here.
1126 (print $9): Rename to ...
1127 (print $5): ... here.
1128 (print $10): Rename to ...
1129 (print $6): ... here.
1130 * gdb.fortran/vla.f90: Add pvla initialization.
1131
e9fb005c
JK
11322016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1133
1134 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1135 New test.
1136 * gdb.fortran/vla-value-sub.exp: Likewise.
1137
e44e00ff
MK
11382016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1139
1140 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1141
97e94151
SM
11422016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1143
1144 * i386-biarch-core.exp: Define corefile using
1145 standard_output_file.
1146
01113bc1
YQ
11472016-02-12 Yao Qi <yao.qi@linaro.org>
1148
1149 * gdb.arch/arm-single-step-kernel-helper.c: New.
1150 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1151
33b4777c
MM
11522016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1153
1154 * gdb.btrace/tailcall-only.exp: New.
1155 * gdb.btrace/tailcall-only.c: New.
1156 * gdb.btrace/x86_64-tailcall-only.S: New.
1157 * gdb.btrace/i686-tailcall-only.S: New.
1158
acc23c11
PA
11592016-02-11 Pedro Alves <palves@redhat.com>
1160
1161 * README (Parallel testing): Add missing double quotes.
1162
e352bf0a
PA
11632016-02-11 Pedro Alves <palves@redhat.com>
1164
1165 * README (Parallel testing): New section.
1166 (GDB_PARALLEL): Rewrite.
1167 (FORCE_PARALLEL): Document.
1168
9f5fed78
MK
11692016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1170
1171 * gdb.trace/tfile-avx.c: New test.
1172 * gdb.trace/tfile-avx.exp: New test.
1173
9ef9e6a6
KS
11742016-02-09 Keith Seitz <keiths@redhat.com>
1175
1176 PR breakpoints/19546
1177 * gdb.base/infcall-exec.c: New file.
1178 * gdb.base/infcall-exec2.c: New file.
1179 * gdb.base/infcall-exec.exp: New file.
1180
a96e36da
KS
11812016-02-09 Keith Seitz <keiths@redhat.com>
1182
1183 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1184 (toplevel): Call test_bkpt_address.
1185
9f61929f
KS
11862016-02-09 Keith Seitz <keiths@redhat.com>
1187
1188 PR python/19506
1189 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1190 (toplevel): Call test_bkpt_address.
1191
1e94266c
SM
11922016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1193
1194 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1195 to AC_OUTPUT.
1196 * configure: Regenerate.
1197
2a7f3dff
PA
11982016-02-09 Pedro Alves <palves@redhat.com>
1199
1200 PR breakpoints/19548
1201 * gdb.base/execl-update-breakpoints.c (some_function): New
1202 function.
1203 (main): Call it.
1204 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1205 Tighten expected GDB output.
1206
2151ccc5
SM
12072016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1208
1209 * Makefile.in (ALL_SUBDIRS): Remove.
1210 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1211 (distclean maintainer-clean realclean): Likewise.
1212 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1213 * configure: Regenerate.
1214 * gdb.ada/Makefile.in: Delete.
1215 * gdb.arch/Makefile.in: Likewise.
1216 * gdb.asm/Makefile.in: Likewise.
1217 * gdb.base/Makefile.in: Likewise.
1218 * gdb.btrace/Makefile.in: Likewise.
1219 * gdb.cell/Makefile.in: Likewise.
1220 * gdb.compile/Makefile.in: Likewise.
1221 * gdb.cp/Makefile.in: Likewise.
1222 * gdb.disasm/Makefile.in: Likewise.
1223 * gdb.dlang/Makefile.in: Likewise.
1224 * gdb.dwarf2/Makefile.in: Likewise.
1225 * gdb.fortran/Makefile.in: Likewise.
1226 * gdb.gdb/Makefile.in: Likewise.
1227 * gdb.go/Makefile.in: Likewise.
1228 * gdb.guile/Makefile.in: Likewise.
1229 * gdb.java/Makefile.in: Likewise.
1230 * gdb.linespec/Makefile.in: Likewise.
1231 * gdb.mi/Makefile.in: Likewise.
1232 * gdb.modula2/Makefile.in: Likewise.
1233 * gdb.multi/Makefile.in: Likewise.
1234 * gdb.objc/Makefile.in: Likewise.
1235 * gdb.opencl/Makefile.in: Likewise.
1236 * gdb.opt/Makefile.in: Likewise.
1237 * gdb.pascal/Makefile.in: Likewise.
1238 * gdb.perf/Makefile.in: Likewise.
1239 * gdb.python/Makefile.in: Likewise.
1240 * gdb.reverse/Makefile.in: Likewise.
1241 * gdb.server/Makefile.in: Likewise.
1242 * gdb.stabs/Makefile.in: Likewise.
1243 * gdb.threads/Makefile.in: Likewise.
1244 * gdb.trace/Makefile.in: Likewise.
1245 * gdb.xml/Makefile.in: Likewise.
1246 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1247 GDB_PARALLEL.
1248 (standard_output_file): Remove check for GDB_PARALLEL, always
1249 return path in outputs/$subdir/$testname.
1250
437277d4
SM
12512016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1252
1253 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1254 (site.exp): Assign abs_srcdir to tcl's srcdir.
1255
31d913c7
YQ
12562016-02-04 Yao Qi <yao.qi@linaro.org>
1257
1258 * gdb.base/foll-exec-mode.c: Include limits.h.
1259 (main): Add parameters argc and argv. Get directory from
1260 argv[0].
1261 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1262 compilation.
1263 * gdb.base/foll-exec.c: Include limits.h.
1264 (main): Add parameters argc and argv.
1265 Get directory from argv[0].
1266 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1267 Adjust tests on the number of lines as source code changed.
1268 * gdb.base/foll-vfork-exit.c: Include limits.h.
1269 (main): Add one line of statement before vfork.
1270 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1271 (main): Add parameters argc and argv. Get directory from
1272 argv[0].
1273 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1274 (setup_gdb): Set tbreak to skip some source lines.
1275 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1276 (main): Add parameters argc and argv. Get directory from
1277 argv[0].
1278 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1279 compilation.
1280 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1281 (main): Add parameters argc and argv. Get directory from
1282 argv[0].
1283 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1284 compilation.
1285
9482b9fb
DE
12862016-02-01 Doug Evans <dje@google.com>
1287
1288 * gdb.base/skip.exp: Clean up multiple references to same test name.
1289
6b2e4f10
PA
12902016-02-01 Pedro Alves <palves@redhat.com>
1291
ccb6afd6 1292 PR remote/19496
6b2e4f10
PA
1293 * gdb.threads/forking-threads-plus-breakpoint.exp
1294 (displaced_stepping_supported): New global.
1295 (probe_displaced_stepping_support): New procedure.
1296 (do_test): Add 'displaced' parameter, and use it.
1297 (top level): Check for displaced stepping support. Add displaced
1298 stepping on/off testing axis.
1299
37a8db1a
AB
13002016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1301
1302 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1303 pointer. Don't perform further tests on the unassociated pointer
1304 if the first test fails.
1305
5fdf6324
AB
13062016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1307
1308 * gdb.base/max-value-size.c: New file.
1309 * gdb.base/max-value-size.exp: New file.
1310 * gdb.base/huge.exp: Disable max-value-size for this test.
1311
935c6144
IB
13122016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1313
1314 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1315
7fe8399d
YQ
13162016-01-28 Yao Qi <yao.qi@linaro.org>
1317
1318 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1319
a2077e25
PA
13202016-01-25 Pedro Alves <palves@redhat.com>
1321
1322 PR threads/19461
1323 * gdb.base/fork-running-state.c: New file.
1324 * gdb.base/fork-running-state.exp: New file.
1325
1d2736d4
PA
13262016-01-25 Pedro Alves <palves@redhat.com>
1327
1328 PR gdb/19494
1329 * gdb.base/catch-fork-kill.c: New file.
1330 * gdb.base/catch-fork-kill.exp: New file.
1331
f1da4b11
PA
13322016-01-25 Pedro Alves <palves@redhat.com>
1333
1334 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1335 Delete, moved to lib/gdb.exp.
1336 * gdb.threads/forking-threads-plus-breakpoint.exp
1337 (foreach_with_prefix): Likewise.
1338 * gdb.threads/process-dies-while-handling-bp.exp
1339 (foreach_with_prefix): Likewise.
1340 * lib/gdb.exp (foreach_with_prefix): New procedure.
1341
45f38546
MK
13422016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1343
1344 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1345 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1346
dc29a1ce
MK
13472016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1348
1349 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1350 endian targets.
1351
092127d7
JK
13522016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1353 Pedro Alves <palves@redhat.com>
1354
1355 Fix testsuite compatibility with Guile.
1356 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1357 number.
1358
31d765d3
JK
13592016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1360
1361 Fix testsuite compatibility with Guile.
1362 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1363 (thread 1): New test for backtrace through signal handler.
1364
1ac78c04
YQ
13652016-01-22 Yao Qi <yao.qi@linaro.org>
1366
1367 PR testsuite/19491
1368 * gdb.base/multi-forks.c: Include
1369 ../lib/unbuffer_output.c
1370 (main): Call gdb_unbuffer_output.
1371
4f5946a8
DE
13722016-01-21 Doug Evans <dje@google.com>
1373
1374 * lib/ada.exp (gdb_compile_ada): Fix typo.
1375
305e13e6
JB
13762016-01-21 Joel Brobecker <brobecker@adacore.com>
1377
1378 * gdb.base/break-fun-addr.exp: New file.
1379 * gdb.base/break-fun-addr1.c: New file.
1380 * gdb.base/break-fun-addr2.c: New file.
1381
5f5dfff6
SM
13822016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1383
1384 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1385 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1386 enum flag values.
1387
fd356fa2
AA
13882016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1389
1390 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1391 when GDB can not set the vector return value. Add more comments
1392 for clarification.
1393
9df22175
AT
13942016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1395
1396 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1397 command.
1398
41d1845e
SM
13992016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1400
1401 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1402
01ac6840
SM
14032016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1404
1405 * Makefile.in (check-single): Pass --status to runtest.
1406 (check/%.exp): Likewise.
1407
14082016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1409
1410 * Makefile.in (check-parallel): Propagate return code from make
1411 do-check-parallel.
1412
bd0a71fa
MK
14132016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1414
1415 * gdb.trace/ftrace.exp: Fix expected message on continue.
1416 * gdb.trace/pending.exp: Fix expected message on continue.
1417 * gdb.trace/trace-break.exp: Fix expected message on continue.
1418
8bcbad33
SM
14192016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1420
1421 * lib/gdb.exp (gdb_test): Remove unused global references.
1422
f303dbd6
PA
14232016-01-18 Pedro Alves <palves@redhat.com>
1424
1425 * gdb.base/async-shell.exp: Adjust expected output.
1426 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1427 * gdb.base/siginfo-thread.exp: Adjust expected output.
1428 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1429 * gdb.java/jnpe.exp: Adjust expected output.
1430 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1431 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1432 * gdb.threads/leader-exit.exp: Adjust expected output.
1433 * gdb.threads/manythreads.exp: Adjust expected output.
1434 * gdb.threads/pthreads.exp: Adjust expected output.
1435 * gdb.threads/schedlock.exp: Adjust expected output.
1436 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1437 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1438 expected output.
1439 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1440 output.
1441 * gdb.threads/sigthread.exp: Adjust expected output.
1442 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1443
b2789696
YQ
14442016-01-18 Yao Qi <yao.qi@linaro.org>
1445
1446 * gdb.guile/scm-section-script.c: Replace @progbits with
1447 %progbits.
1448 * gdb.python/py-section-script.c: Likewise.
1449
71ef29a8
PA
14502016-01-15 Pedro Alves <palves@redhat.com>
1451
1452 * gdb.multi/tids.exp: Test star wildcard ranges.
1453
3f5b7598
PA
14542016-01-15 Pedro Alves <palves@redhat.com>
1455
1456 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1457 command from "thread apply" invocation.
1458 (thr_apply_info_thr_invalid): Default the expected output to the
1459 input tid list.
1460 (top level): Add tests that use convenience variables. Add tests
1461 for "thread apply" with a valid TID list, but missing the command.
1462
663f6d42
PA
14632016-01-13 Pedro Alves <palves@redhat.com>
1464
1465 * gdb.base/default.exp: Expect $_gthread as well.
1466 * gdb.multi/tids.exp: Test $_gthread.
1467 * gdb.threads/thread-specific.exp: Test $_gthread.
1468
c84f6bbf
PA
14692016-01-13 Pedro Alves <palves@redhat.com>
1470
1471 * gdb.multi/tids.exp: Test "info threads -gid".
1472
22a02324
PA
14732016-01-13 Pedro Alves <palves@redhat.com>
1474
1475 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1476 Breakpoint.thread.
1477 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1478
5d5658a1
PA
14792016-01-07 Pedro Alves <palves@redhat.com>
1480
1481 * gdb.base/break.exp: Adjust to output changes.
1482 * gdb.base/hbreak2.exp: Likewise.
1483 * gdb.base/sepdebug.exp: Likewise.
1484 * gdb.base/watch_thread_num.exp: Likewise.
1485 * gdb.linespec/keywords.exp: Likewise.
1486 * gdb.multi/info-threads.exp: Likewise.
1487 * gdb.threads/thread-find.exp: Likewise.
1488 * gdb.multi/tids.c: New file.
1489 * gdb.multi/tids.exp: New file.
1490
84654457
PA
14912016-01-13 Pedro Alves <palves@redhat.com>
1492
1493 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1494
e3940304
PA
14952016-01-13 Pedro Alves <palves@redhat.com>
1496
1497 * gdb.base/default.exp: Expect $_inferior as well.
1498 * gdb.multi/base.exp: Test $_inferior.
1499
a911d87a
PA
15002016-01-13 Pedro Alves <palves@redhat.com>
1501
1502 PR breakpoints/19388
1503 * gdb.base/catch-signal-siginfo-cond.c: New file.
1504 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1505
82075af2
JS
15062016-01-12 Josh Stone <jistone@redhat.com>
1507 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1508
1509 * gdb.base/catch-syscall.c (do_execve): New variable.
1510 (main): Conditionally trigger an execve.
1511 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1512 (test_catch_syscall_execve): New, check entry/return across execve.
1513 (do_syscall_tests): Call test_catch_syscall_execve.
1514
e46eeedd
PA
15152016-01-12 Pedro Alves <palves@redhat.com>
1516
1517 * gdb.base/random-signal.exp (do_test): New procedure, with body
1518 of testcase moved in.
1519
01d8c27e
JK
15202016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1521 Pedro Alves <palves@redhat.com>
1522
1523 * gdb.base/funcargs.exp (finish from indirectly called function):
1524 Reintroduce the case for 'First'.
1525
9a706302
JK
15262016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1527 Pedro Alves <palves@redhat.com>
1528
1529 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1530 (tcatch_vfork_then_child_follow_exec)
1531 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1532 identification.
1533
c0ecb95f
JK
15342016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1535
1536 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1537 and repeats to unlimited.
1538 * gdb.python/py-value.exp: Likewise.
1539 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1540 and repeats to unlimited.
1541
6cfc1fcb
JK
15422016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1543
1544 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1545 and reordering the functions.
1546 * gdb.multi/hangout.c: Likewise.
1547 * gdb.multi/hello.c: Likewise.
1548
582a1b00
SM
15492016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1550
1551 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1552 absolute.
1553 (SingleStatisticTestResult.report): Use dict.keys instead of
1554 dict.iterkeys.
1555
79bc59cb
PA
15562016-01-06 Pedro Alves <palves@redhat.com>
1557
1558 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1559
43368e1d
MM
15602016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1561
1562 * gdb.btrace/dlopen.exp: New.
1563 * gdb.btrace/dlopen.c: New.
1564 * gdb.btrace/dlopen-dso.c: New.
1565
79fad5b8
SL
15662015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1567
1568 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1569 PATTERN argument is optional.
1570
ab8314b3
JB
15712015-12-24 Joel Brobecker <brobecker@adacore.com>
1572
1573 * lib/ada.exp (target_compile_ada_from_dir): New function.
1574 (gdb_compile_ada): Reimplement avoiding the use of project files.
1575 * gdb.ada/gnat_ada.gpr: Delete.
1576 * gdb.ada/cond_lang.exp: Adjust test to make path before
1577 filename optional.
1578 * gdb.ada/small_reg_param.exp: Likewise.
1579
fe33faff
SM
15802015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1581
1582 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1583
6d265cb4
TP
15842015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1585
1586 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1587 case.
1588
10125099
SM
15892015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1590
1591 * gdb.base/break.exp: Remove dead code.
1592 * gdb.base/sepdebug.exp: Likewise.
1593
3ca22649
SM
15942015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1595
1596 * gdb.asm/asm-source.exp: Remove HP-UX references.
1597 * gdb.base/annota1.exp: Likewise.
1598 * gdb.base/annota3.exp: Likewise.
1599 * gdb.base/attach.exp: Likewise.
1600 * gdb.base/bigcore.exp: Likewise.
1601 * gdb.base/break.exp: Likewise.
1602 * gdb.base/call-ar-st.exp: Likewise.
1603 * gdb.base/callfuncs.exp: Likewise.
1604 * gdb.base/catch-fork-static.exp: Likewise.
1605 * gdb.base/display.exp: Likewise.
1606 * gdb.base/foll-exec-mode.exp: Likewise.
1607 * gdb.base/foll-exec.exp: Likewise.
1608 * gdb.base/foll-fork.exp: Likewise.
1609 * gdb.base/foll-vfork.exp: Likewise.
1610 * gdb.base/funcargs.exp: Likewise.
1611 * gdb.base/hbreak2.exp: Likewise.
1612 * gdb.base/inferior-died.exp: Likewise.
1613 * gdb.base/interrupt.exp: Likewise.
1614 * gdb.base/multi-forks.exp: Likewise.
1615 * gdb.base/nodebug.exp: Likewise.
1616 * gdb.base/sepdebug.exp: Likewise.
1617 * gdb.base/solib1.c: Likewise.
1618 * gdb.base/step-test.exp: Likewise.
1619 * gdb.mi/non-stop.c: Likewise.
1620 * gdb.mi/pthreads.c: Likewise.
1621 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1622 * gdb.threads/pthreads.c: Likewise.
1623 * gdb.threads/staticthreads.exp: Likewise.
1624 * lib/future.exp: Likewise.
1625 * lib/gdb.exp: Likewise.
1626 * gdb.base/so-indr-cl.c: Remove.
1627 * gdb.base/so-indr-cl.exp: Likewise.
1628 * gdb.base/solib.c: Likewise.
1629 * gdb.base/solib.exp: Likewise.
1630 * gdb.base/solib2.c: Likewise.
1631
b6304613
SM
16322015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1633
1634 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1635 * gdb.base/call-ar-st.exp: Likewise.
1636 * gdb.base/callfuncs.exp: Likewise.
1637 * gdb.base/condbreak.exp: Likewise.
1638 * gdb.base/constvars.exp: Likewise.
1639 * gdb.base/hbreak2.exp: Likewise.
1640 * gdb.base/langs.exp: Likewise.
1641 * gdb.base/list.exp: Likewise.
1642 * gdb.base/long_long.exp: Likewise.
1643 * gdb.base/ptype.exp: Likewise.
1644 * gdb.base/scope.exp: Likewise.
1645 * gdb.base/signals.exp: Likewise.
1646 * gdb.base/so-impl-ld.exp: Likewise.
1647 * gdb.base/varargs.exp: Likewise.
1648 * gdb.base/volatile.exp: Likewise.
1649 * gdb.base/whatis.exp: Likewise.
1650 * gdb.cp/cplusfuncs.exp: Likewise.
1651 * gdb.cp/inherit.exp: Likewise.
1652 * gdb.cp/local.exp: Likewise.
1653 * gdb.cp/member-ptr.exp: Likewise.
1654 * gdb.cp/method.exp: Likewise.
1655 * gdb.cp/overload.exp: Likewise.
1656 * gdb.cp/templates.exp: Likewise.
1657 * gdb.stabs/weird.exp: Likewise.
1658 * lib/compiler.c: Likewise.
1659 * lib/compiler.cc: Likewise.
1660 * lib/cp-support.exp: Likewise.
1661 * lib/gdb.exp: Likewise.
1662
bf401b07
SM
16632015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1664
1665 * configure.ac: Remove HP-UX case.
1666 * configure: Regenerate.
1667
aff9c0f8
SM
16682015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1669
1670 * lib/gdb.exp (gdb_compile): Add function doc.
1671
a6904d5a
PA
16722015-12-17 Pedro Alves <palves@redhat.com>
1673
1674 PR threads/19354
1675 * gdb.multi/info-threads.exp: New file.
1676
a22279dd
YQ
16772015-12-15 Yao Qi <yao.qi@linaro.org>
1678
1679 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1680 is aarch64*-*-*.
1681
0588c796
SL
16822015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1683
1684 * gdb.base/history-duplicates.exp: Skip if no readline support.
1685
5d978e17
SL
16862015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1687
1688 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1689
7e763b86
SL
16902015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1691
1692 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1693
87a3a92c
SL
16942015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1695
1696 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1697 ctrl-C if nointerrupts target property is set.
1698 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1699 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1700 * gdb.base/paginate-bg-execution.exp: Likewise.
1701 * gdb.base/paginate-execution-startup.exp: Likewise.
1702 * gdb.base/random-signal.exp: Likewise.
1703 * gdb.base/range-stepping.exp: Likewise.
1704 * gdb.cp/annota2.exp: Likewise.
1705 * gdb.cp/annota3.exp: Likewise.
1706 * gdb.gdb/selftest.exp: Likewise.
1707 * gdb.threads/continue-pending-status.exp: Likewise.
1708 * gdb.threads/leader-exit.exp: Likewise.
1709 * gdb.threads/manythreads.exp: Likewise.
1710 * gdb.threads/pthreads.exp: Likewise.
1711 * gdb.threads/schedlock.exp: Likewise.
1712 * gdb.threads/sigthread.exp: Likewise.
1713
a8f077dc
DB
17142015-12-11 Don Breazeal <donb@codesourcery.com>
1715
1716 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1717 remote.
1718 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1719 * gdb.base/foll-exec.exp (main): Enable for target remote.
1720 * gdb.base/foll-fork.exp (main): Likewise.
1721 * gdb.base/foll-vfork.exp (main): Likewise.
1722 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1723 (proc continue_to_exit_bp_loc): Use clean_restart.
1724 * gdb.base/pie-execl.exp (main): Disable for target remote.
1725 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1726 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1727 * gdb.threads/execl.exp (main): Likewise.
1728 * gdb.threads/fork-child-threads.exp (main): Likewise.
1729 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1730 remote.
1731 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1732 remote.
1733 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1734 pid.tid style ptids, instead of just tid.
1735 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1736 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1737 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1738 ptids, instead of just tid.
1739
3b2464a8
AB
17402015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1741
1742 * gdb.base/list.exp (test_list_forward): Add end of file error
1743 test.
1744 (test_repeat_list_command): Add end of file error test.
1745 (test_list_backwards): Add beginning of file error test.
1746
a0def019
AB
17472015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1748
1749 * gdb.base/list.exp (test_list_invalid_args): New function,
1750 defined, and called.
1751
5c000dff
AB
17522015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1753
1754 * gdb.base/list.exp (test_list): Make test names unique.
1755
f1637ebe
YQ
17562015-12-11 Yao Qi <yao.qi@linaro.org>
1757
1758 * gdb.base/coremaker2.c: Remove.
1759
36d6fc0a
PA
17602015-12-10 Pedro Alves <palves@redhat.com>
1761
1762 * gdb.multi/base.exp: Remove stale "spaces" references.
1763
762f7747
PA
17642015-12-10 Pedro Alves <palves@redhat.com>
1765
1766 * gdb.multi/base.exp: Don't use nowarnings.
1767 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1768 * gdb.multi/hangout.c: Include stdio.h.
1769 * gdb.multi/hello.c: Include stdlib.h.
1770 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1771 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1772 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1773
28d2bfb9
AB
17742015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1775
1776 * gdb.dwarf2/dw2-ranges-base.c: New file.
1777 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1778 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1779 support additional line table, and debug ranges generation.
1780 (Dwarf::ranges): New function, generate .debug_ranges.
1781 (Dwarf::lines): Support generating simple line table programs.
1782 (Dwarf::assemble): Initialise new namespace variables.
1783
5fc2beac
KB
17842015-12-09 Kevin Buettner <kevinb@redhat.com>
1785
1786 * gdb.base/async.exp (proc test_background): Add case for
1787 asynchronous execution not supported.
1788
1c35a88f
LM
17892015-12-09 Luis Machado <lgustavo@codesourcery.com>
1790
1791 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1792 format and change test names to make them unique.
1793
b593e3d9
RK
17942015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1795 Pedro Alves <pedro@redhat.com>
1796
1797 PR gdb/18702
1798 Add checking of floatformats setup on x86_64 hosts.
1799 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1800 (smallval, bigval): New labels/constants.
1801 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1802 float" after loading bigval and smallval.
1803
d72413e6
PMR
18042015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1805
1806 * gdb.ada/fun_overload_menu.exp: New testcase.
1807 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1808
ece66d65
JS
18092015-12-04 Josh Stone <jistone@redhat.com>
1810
1811 * gdb.base/catch-fork-static.exp: New.
1812
41d0efca
YQ
18132015-12-03 Yao Qi <yao.qi@linaro.org>
1814
1815 * gdb.base/sizeof.c: Don't include stdio.h and
1816 ../lib/unbuffer_output.c.
1817 (main): New variable 'size' and 'value'. Remove printf and
1818 gdb_unbuffer_output. Assign return value to size and value.
1819 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1820 at the beginning.
1821 (check_sizeof): Check the result by printing variable 'size'.
1822 (check_valueof): Check the result by printing variable 'value'.
1823
99fd02d9
YQ
18242015-12-01 Yao Qi <yao.qi@linaro.org>
1825
1826 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1827 for aarch64*-*-linux* target.
1828
f2faf941
PA
18292015-11-30 Pedro Alves <palves@redhat.com>
1830
1831 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1832
04bf20c5
PA
18332015-11-30 Pedro Alves <palves@redhat.com>
1834
1835 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1836 Handle non-stop mode vCont replies.
1837
09df4675
PA
18382015-11-30 Pedro Alves <palves@redhat.com>
1839
1840 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1841 prepare_for_testing. Start gdb with "set non-stop on" appended to
1842 GDBFLAGS. Lax expected stop output.
1843
58b584af
YQ
18442015-11-27 Yao Qi <yao.qi@linaro.org>
1845
1846 * gdb.arch/arm-neon.exp: New.
1847 * gdb.arch/arm-neon.c: New.
1848
dfcb77a8
YQ
18492015-11-27 Yao Qi <yao.qi@linaro.org>
1850
1851 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1852
88e8ec1b
YQ
18532015-11-27 Yao Qi <yao.qi@linaro.org>
1854
1855 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1856 frames-invalid annotation.
1857
bfde72c2
YQ
18582015-11-27 Yao Qi <yao.qi@linaro.org>
1859
1860 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1861
f6512a69
SM
18622015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1863
1864 * gdb.threads/names.exp: New file.
1865 * gdb.threads/names.c: New file.
1866 * README: Mention gdb,no_thread_names.
1867
46a3515b
MM
18682015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1869
1870 PR 19297
1871 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1872 support" error.
1873
62147a22
PA
18742015-11-24 Pedro Alves <palves@redhat.com>
1875
1876 PR 17539
1877 * gdb.base/display.exp: Expect displays to be sorted in ascending
1878 order. Use multi_line.
1879 * gdb.base/solib-display.exp: Likewise.
1880
2f341b6e
PA
18812015-11-24 Pedro Alves <palves@redhat.com>
1882
1883 PR 17539
1884 * gdb.base/display.exp: Expect displays to be sorted in ascending
1885 order. Use multi_line.
1886 * gdb.base/solib-display.exp: Likewise.
1887
7e0aa6aa
PA
18882015-11-24 Pedro Alves <palves@redhat.com>
1889
1890 PR 17539
1891 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1892 threads in ascending order.
1893 * gdb.base/foll-fork.exp: Likewise.
1894 * gdb.base/foll-vfork.exp: Likewise.
1895 * gdb.base/multi-forks.exp: Likewise.
1896 * gdb.mi/mi-nonstop.exp: Likewise.
1897 * gdb.mi/mi-nsintrall.exp: Likewise.
1898 * gdb.multi/base.exp: Likewise.
1899 * gdb.multi/multi-arch.exp: Likewise.
1900 * gdb.python/py-inferior.exp: Likewise.
1901 * gdb.threads/break-while-running.exp: Likewise.
1902 * gdb.threads/execl.exp: Likewise.
1903 * gdb.threads/gcore-thread.exp: Likewise.
1904 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1905 * gdb.threads/kill.exp: Likewise.
1906 * gdb.threads/linux-dp.exp: Likewise.
1907 * gdb.threads/multiple-step-overs.exp: Likewise.
1908 * gdb.threads/next-bp-other-thread.exp: Likewise.
1909 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1910 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1911 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1912 * gdb.threads/thread-find.exp: Likewise.
1913 * gdb.threads/tls.exp: Likewise.
1914 * lib/mi-support.exp (mi_reverse_list): Delete.
1915 (mi_check_thread_states): No longer reverse list.
1916
2cc57ad8
PA
19172015-11-24 Pedro Alves <palves@redhat.com>
1918
1919 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1920 use lowercase.
1921
c93e8391
SM
19222015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1923
1924 * gdb.trace/actions.c: Include trace-common.h.
1925 (main): Add a location for a fast tracepoint.
1926 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1927 the normal tracepoints.
1928 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1929
045ccf91
SM
19302015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1931
1932 * save-trace.exp: Factor out code to these...
1933 (gdb_save_tracepoints): New.
1934 (gdb_load_tracepoints): New.
1935 (do_save_load_test): New.
1936
5506f9f6
KB
19372015-11-23 Kevin Buettner <kevinb@redhat.com>
1938
1939 * gdb.base/asmlabel.exp: New test.
1940 * gdb.base/asmlabel.c: New test case.
1941
16c3b12f
JB
19422015-11-23 Joel Brobecker <brobecker@adacore.com>
1943
1944 * gdb.base/wrong_frame_bt_full-main.c: New file.
1945 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1946 * gdb.base/wrong_frame_bt_full.exp: New file.
1947
155bfbd3
JB
19482015-11-23 Joel Brobecker <brobecker@adacore.com>
1949
1950 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1951
bb097445
JM
19522015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1953
206853a0 1954 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
1955 pstate register when comparing registers values in
1956 sparc64-*-linux-gnu targets to avoid spurious differences.
1957
9c88ed8f
JM
19582015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1959
206853a0 1960 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 1961
96161e25
SL
19622015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1963
1964 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1965 as type argument to gdb_compile.
1966 * gdb.base/nested-subp2.exp: Likewise.
1967 * gdb.base/nested-subp3.exp: Likewise.
1968
340c2830
DV
19692015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1970
1971 * lib/dwarf.exp (_note): Fix left shift of negative value.
1972 * gdb.trace/trace-condition.exp: Likewise.
1973
c1862d0f
YQ
19742015-11-13 Yao Qi <yao.qi@linaro.org>
1975
1976 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1977 comments about d10v.
1978 (test_scalar_returns): Likewise.
1979 * gdb.base/d10v.ld: Remove.
1980 * gdb.base/overlays.exp: Remove the target triplet checking for
1981 d10v-*-*.
1982 * gdb.base/structs.exp (test_struct_returns): Remove the
1983 comments about d10v.
1984 (test_struct_calls): Likewise.
1985
77ae9c19
YQ
19862015-11-13 Yao Qi <yao.qi@linaro.org>
1987
1988 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1989 * gdb.base/gnu_vector.c: Don't include stdio.h.
1990 (main): Don't print res and call add_some_intvecs.
1991
430e004e
MK
19922015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1993
1994 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1995 macro.
1996 (func5): Removed.
1997 (func4): Use FAST_TRACEPOINT_LABEL.
1998 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1999 macro.
2000 (func): Removed.
2001 (thread_function): Use FAST_TRACEPOINT_LABEL.
2002 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2003 (func): Remove.
2004 (marker): Use FAST_TRACEPOINT_LABEL.
2005 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2006 (pendfunc1): Remove.
2007 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2008 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2009 (foo): Remove.
2010 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2011 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2012 macro.
2013 (func): Remove.
2014 (marker): Use FAST_TRACEPOINT_LABEL.
2015 * gdb.trace/trace-common.h: New header.
2016 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2017 macro.
2018 (func): Remove.
2019 (marker): Use FAST_TRACEPOINT_LABEL.
2020 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2021 (func): Remove.
2022 (thread_function): Use FAST_TRACEPOINT_LABEL.
2023
6e7675a7
MK
20242015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2025
2026 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2027 in front.
2028 * gdb.trace/change-loc.exp: Use global pcreg definition.
2029 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2030 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2031 in front.
2032 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2033 * gdb.trace/pending.exp: Likewise.
2034 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2035 * gdb.trace/trace-break.exp: Likewise.
2036 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2037 in front.
2038 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2039 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2040 in front.
2041 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2042
dddc0e16
JB
20432015-11-09 Joel Brobecker <brobecker@adacore.com>
2044
2045 * gdb.ada/fin_fun_out: New testcase.
2046
c6f0b406
KB
20472015-11-07 Kevin Buettner <kevinb@redhat.com>
2048
2049 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2050 value associated with DW_AT_byte_size.
2051 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2052 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2053 DW_AT_upper_bound.
2054
f01dcfd9
KB
20552015-11-07 Kevin Buettner <kevinb@redhat.com>
2056
2057 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2058 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2059 version.
2060 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2061 gdb.dwarf2/dw2-canonicalize-type.exp,
2062 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2063 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2064 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2065 provided by gdb_target_symbol_prefix_flags_asm.
2066 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2067 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2068 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2069 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2070 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2071 macros where needed). Use this macro for symbols which require
2072 the prefix provided by SYMBOL_PREFIX.
2073
2223449a
KB
20742015-11-05 Kevin Buettner <kevinb@redhat.com>
2075
2076 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2077 New procs.
2078 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2079 representing expressions, of more than one list element.
2080 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2081 to prepend linker symbol prefix to f.
2082 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2083 table_1 and table_2.
2084 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2085 Likewise, for f and g.
2086 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2087 for ptr.
2088 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2089 for main.
2090 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2091 table_1_ptr and table_2_ptr.
2092
6f2f1a3a
JK
20932015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2094 Joel Brobecker <brobecker@adacore.com>
2095
2096 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2097
566c56c9
MK
20982015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2099
2100 * gdb.reverse/s390-mvcle.c: New test.
2101 * gdb.reverse/s390-mvcle.exp: New file.
2102 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2103
d5f0636b
MK
21042015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2105
2106 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2107
7ad8b86c
MK
21082015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2109
2110 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2111 reaching marker2.
2112 * gdb.reverse/getresuid-reverse.exp: Likewise.
2113 * gdb.reverse/pipe-reverse.exp: Likewise.
2114 * gdb.reverse/readv-reverse.exp: Likewise.
2115 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2116 * gdb.reverse/time-reverse.exp: Likewise.
2117 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2118
4081c0f1
YQ
21192015-10-30 Yao Qi <yao.qi@linaro.org>
2120
2121 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2122 (empty_cycle): Remove.
2123 (main): Don't call empty_cycle. Don't use watch_count_done.
2124 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2125 empty_cycle. Rewrite the code counting HW watchpoints.
2126
452b4ba5
MK
21272015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2128
2129 * gdb.reverse/fstatat-reverse.c: New test.
2130 * gdb.reverse/fstatat-reverse.exp: New file.
2131 * gdb.reverse/getresuid-reverse.c: New test.
2132 * gdb.reverse/getresuid-reverse.exp: New file.
2133 * gdb.reverse/pipe-reverse.c: New test.
2134 * gdb.reverse/pipe-reverse.exp: New file.
2135 * gdb.reverse/readv-reverse.c: New test.
2136 * gdb.reverse/readv-reverse.exp: New file.
2137 * gdb.reverse/recvmsg-reverse.c: New test.
2138 * gdb.reverse/recvmsg-reverse.exp: New file.
2139 * gdb.reverse/time-reverse.c: New test.
2140 * gdb.reverse/time-reverse.exp: New file.
2141 * gdb.reverse/waitpid-reverse.c: New test.
2142 * gdb.reverse/waitpid-reverse.exp: New file.
2143
5e2e7507
JK
21442015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2145
2146 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2147
0fde2c53
DE
21482015-10-26 Doug Evans <dje@google.com>
2149
2150 PR symtab/17391
2151 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2152 * gdb.dwarf2/bad-regnum.c: New file.
2153 * gdb.dwarf2/bad-regnum.exp: New file.
2154
1a70ae97
DE
21552015-10-26 Doug Evans <dje@google.com>
2156
2157 PR python/18938
2158 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2159 file.
2160
27dc26ab
JK
21612015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2162
2163 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2164 for a change by "Mention language in compile error message".
2165
bed91f4d
SM
21662015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2167
2168 PR python/18073
2169 * gdb.python/py-type.c (C::a_method): New.
2170 (C::a_const_method): New.
2171 (C::a_static_method): New.
2172 (a_function): New.
2173 * gdb.python/py-type.exp (test_fields): Test getting fields
2174 from function and method.
2175
3f2f83dd
KB
21762015-10-21 Keven Boell <keven.boell@intel.com>
2177
2178 * gdb.fortran/vla-alloc-assoc.exp: New file.
2179 * gdb.fortran/vla-datatypes.exp: New file.
2180 * gdb.fortran/vla-datatypes.f90: New file.
2181 * gdb.fortran/vla-history.exp: New file.
2182 * gdb.fortran/vla-ptype-sub.exp: New file.
2183 * gdb.fortran/vla-ptype.exp: New file.
2184 * gdb.fortran/vla-sizeof.exp: New file.
2185 * gdb.fortran/vla-sub.f90: New file.
2186 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2187 * gdb.fortran/vla-value-sub-finish.exp: New file.
2188 * gdb.fortran/vla-value-sub.exp: New file.
2189 * gdb.fortran/vla-value.exp: New file.
2190 * gdb.fortran/vla-ptr-info.exp: New file.
2191 * gdb.mi/mi-vla-fortran.exp: New file.
2192 * gdb.mi/vla.f90: New file.
2193
27145d50
SL
21942015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2195
2196 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2197 of hardwired timeout value.
2198
5f3ff4f8
JK
21992015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2200 Pedro Alves <palves@redhat.com>
2201
2202 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2203 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2204
bfd09d20
JS
22052015-10-19 Josh Stone <jistone@redhat.com>
2206
2207 * gdb.base/catch-syscall.c: Include <sched.h>.
2208 (unknown_syscall): New variable.
2209 (main): Trigger a vfork and an unknown syscall.
2210 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2211 (unknown_syscall_number): Likewise.
2212 (check_call_to_syscall): Accept an optional syscall pattern.
2213 (check_return_from_syscall): Likewise.
2214 (check_continue): Likewise.
2215 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2216 (test_catch_syscall_skipping_return): New test toggling off 'catch
2217 syscall' to step over the syscall return, then toggling back on.
2218 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2219 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2220 (do_syscall_tests): Call test_catch_syscall_without_args and
2221 test_catch_syscall_mid_vfork.
2222 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2223 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2224
b32b93c6
AS
22252015-10-19 Andrew Stubbs <ams@codesourcery.com>
2226
2227 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2228 print g_vE): Add new pass patterns.
2229 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2230 print various symbol names for vptr fields.
2231
9d622bda
AB
22322015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2233
2234 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2235 results.
2236
0fd8ac1c
YQ
22372015-10-12 Yao Qi <yao.qi@linaro.org>
2238
2239 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2240
34240514
YQ
22412015-10-12 Yao Qi <yao.qi@linaro.org>
2242
2243 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2244 is aarch64*-*-linux*.
2245
8240f442
YQ
22462015-10-12 Yao Qi <yao.qi@linaro.org>
2247
2248 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2249 (can_relocate_bcond_true): ... it.
2250 (can_relocate_bcond_false): New function.
2251 (foo): Likewise.
2252 (can_relocate_bl): Likewise.
2253 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2254 can_relocate_bl.
2255
2520f728
PMR
22562015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2257
2258 * gdb.base/nested-addr.c: New file.
2259 * gdb.base/nested-addr.exp: New testcase.
2260
abcef95a
MM
22612015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2262
2263 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2264 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2265 its output. Ignore the output of "record goto begin" and instead
2266 check that GDB is replaying.
2267
145e3ddb
PA
22682015-10-09 Pedro Alves <palves@redhat.com>
2269
2270 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2271 (top level): Use it in the run with no args test.
2272
d5d8c4e1
IB
22732015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2274
2275 * gdb.dlang/properties.exp: New file.
2276
06e635ef
SL
22772015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2278
2279 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2280 whether or not address 0x1000 is mapped on the target.
2281
e019fd1d
SM
22822015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2283
2284 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2285 build.
2286
77ba2a67
MM
22872015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2288
2289 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2290 instruction-history test.
2291
c60eb31f
DE
22922015-09-28 Doug Evans <dje@google.com>
2293
2294 * gdb.base/gcore.c (array_func): Add reference to static_array.
2295
9a3c8263
SM
22962015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2297
2298 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2299 source line.
2300
9720e656
SL
23012015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2302
2303 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2304 short or char as base type.
2305
938d3bf2
SL
23062015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2307
2308 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2309 to allow any size enum.
2310
e6c2c623
PMR
23112015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2312
2313 * gdb.ada/array_ptr_renaming.exp: New testcase.
2314 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2315 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2316
06da0f77
PL
23172015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2318
2319 * gdb.trace/ftrace-lock.c: New file.
2320 * gdb.trace/ftrace-lock.exp: New file.
2321
4f51c22a
PL
23222015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2323
2324 * gdb.arch/insn-reloc.c: New file.
2325 * gdb.arch/ftrace-insn-reloc.exp: New file.
2326
7041adf4
PL
23272015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2328
2329 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2330 instruction.
2331 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2332 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2333 * gdb.trace/range-stepping.c: Likewise.
2334 * gdb.trace/trace-break.c: Likewise.
2335 * gdb.trace/trace-mt.c (thread_function): Likewise.
2336 * gdb.trace/ftrace.c (marker): Likewise.
2337 * gdb.trace/trace-condition.c (marker): Likewise.
2338 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2339 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2340 is_aarch64_target.
2341
015d2e7e
DE
23422015-09-18 Doug Evans <xdje42@gmail.com>
2343
2344 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2345 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2346
26b188a2
SL
23472015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2348
2349 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2350 the breakpoint.
2351
79dc332b
SL
23522015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2353
2354 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2355 the pending breakpoint. Remove timeout override for "Run till
2356 MI pending breakpoint on pendfunc3 on thread 2" test.
2357
f57929f2
SL
23582015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2359
2360 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2361 filename pattern.
2362
3f469b17
SL
23632015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2364
2365 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2366 in breakpoint filename pattern.
2367
515b89b3
SL
23682015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2369
7800dbe4
SL
2370 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2371
23722015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2373
515b89b3
SL
2374 * gdb.linespec/explicit.exp: Check for readline support for
2375 tab-completion tests. Fix obvious typo.
2376
d2939ba2
MM
23772015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2378
2379 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2380 and replay.
2381
cbb55fa7
MM
23822015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2383
2384 * gdb.btrace/non-stop.c: New.
2385 * gdb.btrace/non-stop.exp: New.
2386
43691ca1
PL
23872015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2388 Yao Qi <yao.qi@linaro.org>
2389
2390 * gdb.trace/trace-condition.c: New file.
2391 * gdb.trace/trace-condition.exp: New file.
2392
d78908cf
WW
23932015-09-16 Wei-cheng Wang <cole945@gmail.com>
2394
2395 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2396 for testing bytecode compilation.
2397
1ed415e2
PA
23982015-09-16 Pedro Alves <palves@redhat.com>
2399 Sandra Loosemore <sandra@codesourcery.com>
2400
2401 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2402 (SECONDS): Redefine.
2403 (main): Call pthread_kill and alarm early.
2404 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2405 support.
2406 (test): If the target can't hardware step and doesn't support
2407 displaced stepping, increase the timeout.
2408
d136eff5
PA
24092015-09-16 Pedro Alves <palves@redhat.com>
2410
2411 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2412 (enable_debug): New procedures.
2413 (test): Use them. Bail out if waiting for threads fails.
2414 (top level): Bail out if a test fails.
2415
991f019c
YQ
24162015-09-16 Yao Qi <yao.qi@linaro.org>
2417
2418 * gdb.asm/asm-source.exp: Set asm-arch for
2419 aarch64*-*-* target.
2420 * gdb.asm/aarch64.inc: New file.
2421
bfca584f
PMR
24222015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2423
2424 * gdb.ada/array_of_variable_length.exp: New testcase.
2425 * gdb.ada/array_of_variable_length/foo.adb: New file.
2426 * gdb.ada/array_of_variable_length/pck.adb: New file.
2427 * gdb.ada/array_of_variable_length/pck.ads: New file.
2428
b326e587
DE
24292015-09-15 Doug Evans <dje@google.com>
2430
2431 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2432 of function static local variable.
2433
5382cfab
PW
24342015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2435
2436 * gdb.threads/tls-so_extern.exp: New test file.
2437 * gdb.threads/tls-so_extern.c: New test file.
2438 * gdb.threads/tls-so_extern_main.c: New test file.
2439
141c5cc4
JK
24402015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2441
2442 * gdb.opt/solib-intra-step-lib.c: New file.
2443 * gdb.opt/solib-intra-step-main.c: New file.
2444 * gdb.opt/solib-intra-step.exp: New file.
2445
d15dcecd
PA
24462015-09-15 Pedro Alves <palves@redhat.com>
2447
2448 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2449 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2450
4c2f2a79
PA
24512015-09-14 Pedro Alves <palves@redhat.com>
2452
2453 * gdb.base/hook-stop-continue.c: Delete.
2454 * gdb.base/hook-stop-continue.exp: Delete.
2455 * gdb.base/hook-stop-frame.c: Delete.
2456 * gdb.base/hook-stop-frame.exp: Delete.
2457 * gdb.base/hook-stop.c: New file.
2458 * gdb.base/hook-stop.exp: New file.
2459
919e6dbe
PMR
24602015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2461
2462 * gdb.ada/access_to_packed_array.exp: New testcase.
2463 * gdb.ada/access_to_packed_array/foo.adb: New file.
2464 * gdb.ada/access_to_packed_array/pack.adb: New file.
2465 * gdb.ada/access_to_packed_array/pack.ads: New file.
2466
157280a4
MM
24672015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2468
2469 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2470 buffer size test.
2471
2fd33e94
DB
24722015-09-11 Don Breazeal <donb@codesourcery.com>
2473
2474 * gdb.base/foll-exec.c: Add copyright header. Fix
2475 formatting issues.
2476 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2477 (do_exec_tests): Use clean_restart in place of zap_session,
2478 and for test initialization. Fix formatting issues. Use
2479 fail in place of perror.
2480 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2481 an expect statement to match an expression with output from
2482 the program under debug.
2483 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2484 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2485 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2486 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2487 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2488
e70b6e8e
DE
24892015-09-09 Doug Evans <dje@google.com>
2490
2491 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2492
7a551a51
DE
24932015-09-09 Doug Evans <dje@google.com>
2494
2495 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2496
4c666f84
DE
24972015-09-09 Doug Evans <dje@google.com>
2498
2499 * gdb.base/savedregs.exp: Fix typo.
2500
243a9253
PA
25012015-09-09 Pedro Alves <palves@redhat.com>
2502
2503 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2504
c0fa8fbd
SL
25052015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2506
2507 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2508 command actually switches threads. Give up on remaining
2509 tests if target fails to stop at breakpoint.
2510
cd7c1778
PMR
25112015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2512
2513 * gdb.ada/funcall_char.exp: New testcase.
2514 * gdb.ada/funcall_char/foo.adb: New file.
2515
dc5c8746
PMR
25162015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2517
2518 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2519 expected outputs. Add two testcases for completing ambiguous
2520 functions.
2521 * gdb.ada/complete/aux_pck.adb: New file.
2522 * gdb.ada/complete/aux_pck.ads: New file.
2523 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2524 Ambiguous_Func functions.
2525 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2526 * gdb.ada/complete/pck.adb: Likewise.
2527
4e83a1e7
UW
25282015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2529
2530 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2531 failures to run the test program under GDB.
2532
8ce74153
LM
25332015-08-26 Luis Machado <lgustavo@codesourcery.com>
2534
2535 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2536 to C.
2537
e9756d52
PP
25382015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2539
2540 * gdb.base/run-after-attach.exp: New test file.
2541 * gdb.base/run-after-attach.c: New test file.
2542
8d37573b
DB
25432015-08-26 Don Breazeal <donb@codesourcery.com>
2544
2545 * gdb.base/foll-exec-2.c: New test program.
2546 * gdb.base/foll-exec-2.exp: New test.
2547
63e43d3a
PMR
25482015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2549
2550 * gdb.base/nested-subp1.exp: New file.
2551 * gdb.base/nested-subp1.c: New file.
2552 * gdb.base/nested-subp2.exp: New file.
2553 * gdb.base/nested-subp2.c: New file.
2554 * gdb.base/nested-subp3.exp: New file.
2555 * gdb.base/nested-subp3.c: New file.
2556
3d40fbb5
PA
25572015-08-24 Pedro Alves <palves@redhat.com>
2558
2559 * gdb.server/connect-without-multi-process.c: New file.
2560 * gdb.server/connect-without-multi-process.exp: New file.
2561
4422ac93
LM
25622015-08-24 Luis Machado <lgustavo@codesourcery.com>
2563
2564 * gdb.opt/inline-markers.c: Make z int.
2565
91dddb86
LM
25662015-08-24 Luis Machado <lgustavo@codesourcery.com>
2567
2568 * gdb.opt/inline-markers.c: Make z volatile.
2569
a48847ee
LM
25702015-08-24 Luis Machado <lgustavo@codesourcery.com>
2571
2572 * gdb.opt/inline-bt.c: New volatile global z.
2573 * gdb.opt/inline-cmds.c: Likewise.
2574 * gdb.opt/inline-locals.c: Likewise.
2575 * gdb.opt/inline-markers.c: New extern global z.
2576 (marker): Use z.
2577 (inline_fn): Likewise.
2578
0ebbc52b
PA
25792015-08-24 Pedro Alves <palves@redhat.com>
2580
2581 * config/m32r-stub.exp: Remove file.
2582 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2583 * gdb.base/call-rt-st.exp: Likewise.
2584 * gdb.base/call-strs.exp: Likewise.
2585 * gdb.base/default.exp: Remove references to h8300-*-hms and
2586 *-*-udi*.
2587 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2588
77c365df
AA
25892015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2590
2591 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2592 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2593 and "return" use KFAIL when GDB can not read/write the vector
2594 return value.
2595
4313b8c0
GB
25962015-08-21 Gary Benson <gbenson@redhat.com>
2597
2598 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2599
0e433b32
PA
26002015-08-20 Pedro Alves <palves@redhat.com>
2601
2602 * gdb.server/solib-list.exp: No longer expect an interior stop in
2603 non-stop mode.
2604
221e1a37
PA
26052015-08-20 Pedro Alves <palves@redhat.com>
2606
2607 * gdb.server/connect-stopped-target.c: New file.
2608 * gdb.server/connect-stopped-target.exp: New file.
2609
40e3ad0e
PA
26102015-08-20 Pedro Alves <palves@redhat.com>
2611
2612 * gdb.dwarf2/comp-unit-lang.exp: New file.
2613 * gdb.dwarf2/comp-unit-lang.c: New file.
2614
af39b327
PMR
26152015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2616
2617 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2618 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2619
7d45c7c3 26202015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 2621
7d45c7c3
KB
2622 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2623 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2624
4d6cceb4
DE
26252015-08-18 Doug Evans <dje@google.com>
2626 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2627
2628 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2629 skip_python_tests. New arg prompt_regexp.
2630 (skip_python_tests): New function.
2631 * lib/mi-support.exp (mi_skip_python_tests): New function.
2632 * gdb.python/py-mi-objfile-gdb.py: New file.
2633 * gdb.python/py-mi-objfile.c: New file.
2634 * gdb.python/py-mi-objfile.exp: New file.
2635
ad89c2aa
KS
26362015-08-17 Keith Seitz <keiths@redhat.com>
2637
2638 * gdb.linespec/explicit.exp: Move strace test from here ...
2639 * gdb.trace/strace.exp: ... to here.
2640
e3ae3c43
PP
26412015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2642
2643 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2644 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2645
604b2636
DE
26462015-08-14 Doug Evans <xdje42@gmail.com>
2647
2648 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2649 inferior before selecting a new file.
2650
6ff0ba5f
DE
26512015-08-14 Doug Evans <xdje42@gmail.com>
2652
2653 * gdb.mi/mi-disassemble.exp: Update.
2654 * gdb.base/disasm-optim.S: New file.
2655 * gdb.base/disasm-optim.c: New file.
2656 * gdb.base/disasm-optim.h: New file.
2657 * gdb.base/disasm-optim.exp: New file.
2658
9ca98f92
KS
26592015-08-14 Keith Seitz <keiths@redhat.com>
2660
2661 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2662 "evaluated-by".
2663
52bbc560
JB
26642015-08-13 Joel Brobecker <brobecker@adacore.com>
2665
2666 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2667
5d8c3ed3
PMR
26682015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2669
2670 * gdb.ada/fun_renaming.exp: New testcase.
2671 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2672 * gdb.ada/fun_renaming/pack.adb: New file.
2673 * gdb.ada/fun_renaming/pack.ads: New file.
2674
ea8812bc
KS
26752015-08-12 Keith Seitz <keiths@redhat.com>
2676
2677 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2678 gdb_get_line_number.
2679
4dafcdeb
JB
26802015-08-12 Joel Brobecker <brobecker@adacore.com>
2681
2682 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2683 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2684 gdb.base/dso2dso.exp: New files.
2685
5ba32597
SDJ
26862015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2687 Pedro Alves <palves@redhat.com>
2688 Keith Seitz <keiths@redhat.com>
2689
2690 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2691 GDBFLAGS.
2692
b6dafabf
PP
26932015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2694
2695 * gdb.base/gdbhistsize-history.exp
2696 (test_histsize_history_setting): Use save_vars.
2697 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2698 Use save_vars.
2699 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2700 * gdb.base/readline.exp: Use save_vars.
2701
abe8e607
PP
27022015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2703
2704 * lib/gdb.exp (save_vars): New proc.
2705
629500fa
KS
27062015-08-11 Keith Seitz <keiths@redhat.com>
2707
2708 * gdb.base/help.exp: Update help_breakpoint_text.
2709
eb8c4e2e
KS
27102015-08-11 Keith Seitz <keiths@redhat.com>
2711
2712 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2713 (at toplevel): Call test_explicit_breakpoints.
2714 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2715 breakpoints.
2716 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2717 breakpoint conditions, "-cond".
2718
87f0e720
KS
27192015-08-11 Keith Seitz <keiths@redhat.com>
2720
2721 * gdb.linespec/3explicit.c: New file.
2722 * gdb.linespec/cpexplicit.cc: New file.
2723 * gdb.linespec/cpexplicit.exp: New file.
2724 * gdb.linespec/explicit.c: New file.
2725 * gdb.linespec/explicit.exp: New file.
2726 * gdb.linespec/explicit2.c: New file.
2727 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2728 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2729 before using in the matching pattern.
2730 Clarify that `prefix' is a regular expression.
2731
f00aae0f
KS
27322015-08-11 Keith Seitz <keiths@redhat.com>
2733
2734 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2735 test.
2736 Add tests for missing ",FMT" and ",".
2737
e27852be
DE
27382015-08-10 Doug Evans <dje@google.com>
2739 Keith Seitz <keiths@redhat.com>
2740
2741 PR gdb/17960
2742 * gdb.base/completion.exp: Add location completer tests.
2743
7f03bd92
PA
27442015-08-07 Pedro Alves <palves@redhat.com>
2745
2746 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2747 tests here.
2748 (top level): Run do_test with and without displaced stepping.
2749
3fc8eb30
PA
27502015-08-07 Pedro Alves <palves@redhat.com>
2751
2752 * gdb.base/valgrind-disp-step.c: New file.
2753 * gdb.base/valgrind-disp-step.exp: New file.
2754
d4569d7b
PA
27552015-08-07 Pedro Alves <palves@redhat.com>
2756
2757 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2758 Delete function.
2759 (main): Add alarm. Run an infinite loop instead of calling
2760 wait_threads.
2761 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2762 comment.
2763 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2764 Delete function.
2765 (main): Add alarm. Run an infinite loop instead of calling
2766 wait_threads.
2767 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2768 comment.
2769
e1316e60
PA
27702015-08-07 Pedro Alves <palves@redhat.com>
2771
2772 * gdb.base/checkpoint-ns.exp: New file.
2773 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2774 standard_testfile.
2775
da8c46d2
MM
27762015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2777
2778 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2779 * gdb.btrace/instruction_history.exp: Update.
2780 * gdb.btrace/tsx.exp: New.
2781 * gdb.btrace/tsx.c: New.
2782
de1c2c52
PA
27832015-08-06 Pedro Alves <palves@redhat.com>
2784
2785 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2786 increase timeout.
2787 * gdb.reverse/until-precsave.exp: Bump timeouts.
2788
782e0bf4
PA
27892015-08-06 Pedro Alves <palves@redhat.com>
2790
2791 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2792
83e97ed0
PA
27932015-08-06 Pedro Alves <palves@redhat.com>
2794
2795 PR gdb/18749
2796 * gdb.threads/process-dies-while-handling-bp.c: New file.
2797 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2798
863d01bd
PA
27992015-08-06 Pedro Alves <palves@redhat.com>
2800
2801 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2802 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2803
0a39bb32
PA
28042015-08-05 Pedro Alves <palves@redhat.com>
2805
2806 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2807 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2808
ee2d2b10
SL
28092015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2810
2811 * gdb.base/bp-permanent.exp: Report test as unsupported if
2812 the target cannot stop at the permanent breakpoint.
2813
4e1bdb00
DE
28142015-08-03 Doug Evans <dje@google.com>
2815
2816 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2817 10000.
2818
3d338901
DE
28192015-08-03 Doug Evans <dje@google.com>
2820
2821 * Makefile.in (workers/%.worker, build-perf): New rule.
2822 (GDB_PERFTEST_MODE): New variable.
2823 (check-perf): Use it.
2824 (clean): Clean up gdb.perf parallel build subdirs.
2825 * lib/build-piece.exp: New file.
2826 * lib/gdb.exp (make_gdb_parallel_path): New function
2827 (standard_output_file, standard_temp_file): Call it.
2828 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2829 of $GDB_PARALLEL.
2830 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2831
af061d3e
DE
28322015-08-03 Doug Evans <dje@google.com>
2833
8e1afc81 2834 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
2835 (LOG_FILE_NAME): New global.
2836 (TextReporter.__init__): Initialize self.txt_sum.
2837 (TextReporter.report): Add support for multiple data-points.
2838 Move report to perftest.sum, put raw data in perftest.log.
2839 (TextReporter.start): Open sum and log files.
2840 (TextReporter.end): Close sum and log files.
8e1afc81
DE
2841 * gdb.perf/lib/perftest/testresult.py
2842 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 2843
2c8c5d37
PA
28442015-07-31 Pedro Alves <palves@redhat.com>
2845
2846 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2847 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2848 kill_wait_spawned_process instead of explicit "kill -9".
2849 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2850 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2851 kill_wait_spawned_process.
2852 * gdb.base/attach-twice.exp: Likewise.
2853 * gdb.base/attach.exp: Likewise.
2854 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2855 gdb_test_multiple.
2856 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2857 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2858 kill_wait_spawned_process.
2859 * gdb.base/valgrind-infcall.exp: Likewise.
2860 * gdb.multi/multi-attach.exp: Likewise.
2861 * gdb.python/py-prompt.exp: Likewise.
2862 * gdb.python/py-sync-interp.exp: Likewise.
2863 * gdb.server/ext-attach.exp: Likewise.
2864 * gdb.threads/attach-into-signal.exp (corefunc): Use
2865 spawn_wait_for_attach, spawn_id_get_pid and
2866 kill_wait_spawned_process.
2867 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2868 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2869 spawn_id_get_pid and kill_wait_spawned_process.
2870 * gdb.threads/attach-stopped.exp (corefunc): Use
2871 spawn_wait_for_attach, spawn_id_get_pid and
2872 kill_wait_spawned_process.
2873 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2874 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2875 kill_wait_spawned_process instead of explicit "kill -9".
2876 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2877 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2878 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2879 processes. Don't map cygwin/windows pids here. Now returns a
2880 spawn id list.
2881
032a0fca
SL
28822015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2883
2884 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2885 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2886 correct patch.
2887
61a934ca
SL
28882015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2889
2890 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2891
4bc4d428
SL
28922015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2893
2894 Reapply:
2895 2014-05-21 Mark Wielaard <mjw@redhat.com>
2896
2897 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2898
998d452a
PA
28992015-07-30 Pedro Alves <palves@redhat.com>
2900
2901 * linux-low.c (handle_extended_wait): Set the child's last
2902 reported status to TARGET_WAITKIND_STOPPED.
2903
69dde7dc
PA
29042015-07-30 Pedro Alves <palves@redhat.com>
2905
2906 PR threads/18600
2907 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2908 only shows inferior 1.
2909
4dd63d48
PA
29102015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2911 Pedro Alves <palves@redhat.com>
2912
2913 PR threads/18600
2914 * gdb.threads/fork-plus-threads.c: New file.
2915 * gdb.threads/fork-plus-threads.exp: New file.
2916
d618e4c5
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): Use
2921 send_quit_command.
2922
1eef6428
PA
29232015-07-29 Pedro Alves <palves@redhat.com>
2924 Don Breazeal <donb@codesourcery.com>
2925
2926 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2927 output from both inferior_spawn_id and gdb_spawn_id.
2928
7da5b897
SDJ
29292015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2930
2931 * gdb.threads/attach-into-signal.exp (corefunc): Use
2932 with_test_prefix on nested loops, uniquefying the test messages.
2933
dac804df
SDJ
29342015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2935
2936 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2937 commit.
2938
06265e53
PP
29392015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2940
2941 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2942 New proc.
2943 (test_terminal_settings_preserved_after_sigterm): New test.
2944
18206ca3
PP
29452015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2946
2947 * gdb.base/batch-preserve-term-settings.exp
2948 (test_terminal_settings_preserved_after_cli_exit): New test.
2949
90074d11
PP
29502015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2951
2952 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2953 manipulation of saved_gdbflags.
2954 (test_terminal_settings_preserved): Remove global declaration of
2955 the unused variable pagination_prompt. Remove manipulation of
2956 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2957 GDBFLAGS.
2958
eb1a7902
PA
29592015-07-29 Pedro Alves <palves@redhat.com>
2960
2961 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2962
8b75dd3b
PA
29632015-07-29 Pedro Alves <palves@redhat.com>
2964
2965 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2966 at the top.
2967
dedad4e3
PA
29682015-07-29 Pedro Alves <palves@redhat.com>
2969
2970 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2971 (main): Call gdb_unbuffer_output.
2972 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2973 (main): Call gdb_unbuffer_output.
2974 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2975 (main): Call gdb_unbuffer_output.
2976 * gdb.base/call-strs.exp: Adjust to step over the
2977 gdb_unbuffer_output call.
2978 * gdb.base/catch-gdb-caused-signals.c: Include
2979 "../lib/unbuffer_output.c".
2980 (main): Call gdb_unbuffer_output.
2981 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2982 (main): Call gdb_unbuffer_output.
2983 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2984 (main): Call gdb_unbuffer_output.
2985 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2986 (main): Call gdb_unbuffer_output.
2987 * gdb.base/shlib-call.exp: Adjust to step over the
2988 gdb_unbuffer_output call.
2989 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2990 (main): Call gdb_unbuffer_output.
2991 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2992 (main): Call gdb_unbuffer_output.
2993 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2994 (main): Rename to ...
2995 (test): ... this.
2996 (main): Reimplement.
2997 * gdb.base/varargs.exp: Run to test instead of to main.
2998 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2999 (main): Call gdb_unbuffer_output.
3000
58789a91
PA
30012015-07-29 Pedro Alves <palves@redhat.com>
3002
3003 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3004 factore out from mi_continue_dprintf. For call-style dprintfs,
3005 expect dprintf output out of $inferior_spawn_id.
3006 (mi_continue_dprintf): Use mi_expect_dprintf.
3007 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3008 (main): Call gdb_unbuffer_output.
3009
e8376742
PA
30102015-07-29 Pedro Alves <palves@redhat.com>
3011
3012 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3013 (default_mi_gdb_start): Set inferior_spawn_id instead of
3014 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3015 gdb_spawn_id.
3016 (mi_gdb_test): Always expect inferior output from both
3017 $inferior_spawn_id and $gdb_spawn_id.
3018
08280010
PA
30192015-07-29 Pedro Alves <palves@redhat.com>
3020
3021 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3022 send_inferior and $inferior_spawn_id.
3023
4d30e432
PA
30242015-07-29 Pedro Alves <palves@redhat.com>
3025
3026 * gdb.gdb/complaints.exp (test_initial_complaints)
3027 (test_serial_complaints, test_short_complaints): Use
3028 gdb_test_stdio.
3029 (test_empty_complaint): Handle $inferior_spawn_id !=
3030 $gdb_spawn_id.
3031
0d30a335
PA
30322015-07-29 Pedro Alves <palves@redhat.com>
3033
3034 * gdb.base/varargs.exp: Use gdb_test_stdio.
3035
39413b29
PA
30362015-07-29 Pedro Alves <palves@redhat.com>
3037
3038 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3039
7cb000a9
PA
30402015-07-29 Pedro Alves <palves@redhat.com>
3041
3042 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3043
d7b8ac82
PA
30442015-07-29 Pedro Alves <palves@redhat.com>
3045
3046 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3047 parameter into two new parameters, "inf_result" and "gdb_result".
3048 Expect inferior output and gdb output from $inferior_spawn_id and
3049 $gdb_spawn_id, respectively. Adjust all callers.
3050
789c3a0c
PA
30512015-07-29 Pedro Alves <palves@redhat.com>
3052
3053 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3054 of gdb_test_sequence.
3055
77e760c3
PA
30562015-07-29 Pedro Alves <palves@redhat.com>
3057
3058 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3059 (saw_spurious_output): Expect inferior output from
3060 $inferior_spawn_id. Use gdb_test_stdio.
3061
8396d2cd
PA
30622015-07-29 Pedro Alves <palves@redhat.com>
3063
3064 * gdb.base/dprintf.exp: Use standard_testfile. Change
3065 prepare_for_testing call.
3066 (srcfile): Don't set.
3067 (restart): New procedure.
3068 (test_dprintf): New procecure, use to continue over dprintfs.
3069 (test_call, test_agent): New procedures, tests moved here.
3070 Restart gdb and recreate dprintfs. Adjust expected output.
3071
2051d61f
PA
30722015-07-29 Pedro Alves <palves@redhat.com>
3073
3074 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3075
452397af
PA
30762015-07-29 Pedro Alves <palves@redhat.com>
3077
3078 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3079
8aed9555
PA
30802015-07-29 Pedro Alves <palves@redhat.com>
3081
3082 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3083 gdb_test_stdio.
3084
188a61b4
PA
30852015-07-29 Pedro Alves <palves@redhat.com>
3086
3087 * lib/gdb.exp (gdb_test_stdio): New procedure.
3088
12264a45
PA
30892015-07-29 Pedro Alves <palves@redhat.com>
3090
3091 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3092
23ffc893
PA
30932015-07-29 Pedro Alves <palves@redhat.com>
3094
3095 * gdb.base/call-signal-resume.exp: Remove check for
3096 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3097 * gdb.base/unwindonsignal.exp: Likewise.
3098 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3099 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3100
65566918
PA
31012015-07-29 Pedro Alves <palves@redhat.com>
3102
3103 * gdb.base/siginfo-addr.c (pass): New function.
3104 (handler): Call it iff si_addr is correct.
3105 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3106 Set a breakpoint at "pass" and continue to it.
3107
d60a9221
SDJ
31082015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3109
3110 * gdb.python/py-objfile.exp: Make some tests have unique names.
3111 * gdb.python/py-pp-registration.exp: Likewise.
3112
bde40b8f
PA
31132015-07-28 Pedro Alves <palves@redhat.com>
3114
3115 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3116
13e1dec8
SM
31172015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3118
3119 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3120
da33c9a7
SM
31212015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3122
3123 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3124
077836f7
PP
31252015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3126
3127 * gdb.base/gdb-sigterm-2.exp: New test.
3128
b8cc7b2e
DE
31292015-07-25 Doug Evans <xdje42@gmail.com>
3130
3131 Revert:
3132 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3133 (workers/%.worker, build-perf): New rule.
3134 (GDB_PERFTEST_MODE): New variable.
3135 (check-perf): Use it.
3136 (clean): Clean up gdb.perf parallel build subdirs.
3137 * lib/build-piece.exp: New file.
3138 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3139 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3140 name.
3141 (standard_temp_file): Ditto.
3142 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3143 of $GDB_PARALLEL.
3144
c8bd4544
DE
31452015-07-24 Doug Evans <dje@google.com>
3146
3147 * gdb.perf/lib/perftest/utils.py: New file.
3148 * gdb.perf/gm-hello.cc: New file.
3149 * gdb.perf/gm-pervasive-typedef.cc: New file.
3150 * gdb.perf/gm-pervasive-typedef.h: New file.
3151 * gdb.perf/gm-std.cc: New file.
3152 * gdb.perf/gm-std.h: New file.
3153 * gdb.perf/gm-use-cerr.cc: New file.
3154 * gdb.perf/gm-utils.h: New file.
3155 * gdb.perf/gmonster-null-lookup.py: New file.
3156 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3157 * gdb.perf/gmonster-print-cerr.py: New file.
3158 * gdb.perf/gmonster-ptype-string.py: New file.
3159 * gdb.perf/gmonster-runto-main.py: New file.
3160 * gdb.perf/gmonster-select-file.py: New file.
3161 * gdb.perf/gmonster1-null-lookup.exp: New file.
3162 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3163 * gdb.perf/gmonster1-print-cerr.exp: New file.
3164 * gdb.perf/gmonster1-ptype-string.exp: New file.
3165 * gdb.perf/gmonster1-runto-main.exp: New file.
3166 * gdb.perf/gmonster1-select-file.exp: New file.
3167 * gdb.perf/gmonster1.cc: New file.
3168 * gdb.perf/gmonster1.exp: New file.
3169 * gdb.perf/gmonster2-null-lookup.exp: New file.
3170 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3171 * gdb.perf/gmonster2-print-cerr.exp: New file.
3172 * gdb.perf/gmonster2-ptype-string.exp: New file.
3173 * gdb.perf/gmonster2-runto-main.exp: New file.
3174 * gdb.perf/gmonster2-select-file.exp: New file.
3175 * gdb.perf/gmonster2.cc: New file.
3176 * gdb.perf/gmonster2.exp: New file.
3177
6eab34f3
DE
31782015-07-24 Doug Evans <dje@google.com>
3179
3180 * gdb.perf/README: New file.
3181 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3182 * lib/gen-perf-test.exp: New file.
3183
63738bfd
DE
31842015-07-24 Doug Evans <dje@google.com>
3185
3186 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3187 (PerfTest::startup): New function.
3188 (PerfTest::run): Return result of calling body.
3189 (PerfTest::assemble): Rewrite.
3190 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3191 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3192 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3193 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3194 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3195
7b606f95
DE
31962015-07-24 Doug Evans <dje@google.com>
3197
3198 * lib/gdb.exp (clean_restart): Make executable optional.
3199
a97b16b8
DE
32002015-07-24 Doug Evans <dje@google.com>
3201
3202 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3203 compiler_info references.
3204 * gdb.cp/temargs.exp: Ditto.
3205 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3206 (get_compiler_info): Early exit if already computed. Set compiler_info
3207 to "unknown" if there was a problem.
3208 (test_compiler_info): Add function comment. Call get_compiler_info.
3209
35baa57f
DE
32102015-07-24 Doug Evans <dje@google.com>
3211
3212 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3213 (workers/%.worker, build-perf): New rule.
3214 (GDB_PERFTEST_MODE): New variable.
3215 (check-perf): Use it.
3216 (clean): Clean up gdb.perf parallel build subdirs.
3217 * lib/build-piece.exp: New file.
3218 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3219 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3220 name.
3221 (standard_temp_file): Ditto.
3222 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3223 of $GDB_PARALLEL.
3224
6ebea266
DE
32252015-07-24 Doug Evans <dje@google.com>
3226
3227 * lib/future.exp (gdb_default_target_compile): New option
3228 "early_flags".
3229 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3230 --as-needed.
3231
1e76a7e9
SDJ
32322015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3233
3234 * gdb.base/catch-syscall.exp: Call gdb_exit before
3235 gdb_skip_xml_test.
3236
5068630a
PA
32372015-07-24 Pedro Alves <palves@redhat.com>
3238
3239 * gdb.python/py-events.exp: Accept output between the stop event
3240 and the prompt.
3241 * gdb.python/py-evsignal.exp: Likewise.
3242 * gdb.python/py-evthreads.exp: Likewise.
3243
77598427
PA
32442015-07-24 Pedro Alves <palves@redhat.com>
3245
3246 PR gdb/18717
3247 * gdb.threads/non-ldr-exit.c: New file.
3248 * gdb.threads/non-ldr-exit.exp: New file.
3249
11e6c98f
YQ
32502015-07-24 Yao Qi <yao.qi@linaro.org>
3251
3252 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3253 restarting process.
3254
51aee833
YQ
32552015-07-24 Yao Qi <yao.qi@linaro.org>
3256
3257 * gdb.server/ext-restart.exp: New file.
3258
8cfe207c
YQ
32592015-07-24 Yao Qi <yao.qi@linaro.org>
3260
3261 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3262 argument options.
3263 * gdb.server/ext-wrapper.exp: New file.
3264
cc12ce38
DE
32652015-07-23 Doug Evans <dje@google.com>
3266
3267 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3268 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3269
d0d84780
PMR
32702015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3271
3272 * gdb.ada/var_arr_typedef.exp: New testcase.
3273 * gdb.ada/var_arr_typedef/pack.adb: New file.
3274 * gdb.ada/var_arr_typedef/pack.ads: New file.
3275 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3276
8b558f79
JB
32772015-07-20 Joel Brobecker <brobecker@adacore.com>
3278
3279 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3280
775a3298
JK
32812015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3282
3283 * gdb.arch/i386-biarch-core.exp: Replace istarget
3284 by "complete set gnutarget". Remove expectation for the "core-file"
3285 command.
3286
db1ff28b
JK
32872015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3288
3289 Revert the previous commit:
3290 Tests for validate symbol file using build-id.
3291
0a94970d
JK
32922015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3293
3294 Tests for validate symbol file using build-id.
3295 * gdb.base/solib-mismatch-lib.c: New file.
3296 * gdb.base/solib-mismatch-libmod.c: New file.
3297 * gdb.base/solib-mismatch.c: New file.
3298 * gdb.base/solib-mismatch.exp: New file.
3299
03346981
SL
33002015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3301
3302 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3303 nios2-*-linux*.
3304 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3305 * gdb.base/siginfo.exp: Likewise.
3306 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3307
42422cc7
PL
33082015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3309
3310 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3311 Move it to ...
3312 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3313 ... here.
3314 * gdb.trace/range-stepping.exp: Check that the target supports
3315 range stepping.
3316
cfa68bae
JK
33172015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3318
3319 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3320
8ffdba26
PA
33212015-07-14 Pedro Alves <palves@redhat.com>
3322
3323 * gdb.base/killed-outside.exp: New file.
3324 * gdb.base/killed-outside.c: New file.
3325
218a5a11
JK
33262015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3327
3328 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3329 (n at main): New.
3330 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3331
e03ed3c6
AA
33322015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3333
3334 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3335 infcall tests instead of setting up for KFAIL.
3336
485668e5
MM
33372015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3338
3339 * gdb.btrace/record_goto-step.exp: New.
3340
08464196
JK
33412015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3342
3343 PR compile/18484
3344 * gdb.compile/compile.c (struct struct_type): Add volatile to
3345 selffield's type.
3346 * gdb.compile/compile.exp
3347 (compile code struct_object.selffield = &struct_object): Skip further
3348 struct_object tests if this one xfails.
3349
bcf5c1d9
RC
33502015-07-08 Robert O'Callahan <robert@ocallahan.org>
3351
3352 PR exp/18617
3353 * gdb.trace/ax.exp: Add test.
3354
4931af25
YQ
33552015-07-07 Yao Qi <yao.qi@linaro.org>
3356
3357 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3358 instead of istarget "aarch64*-*-*".
3359 * gdb.arch/aarch64-fp.exp: Likewise.
3360 * gdb.base/float.exp: Likewise.
3361 * gdb.reverse/aarch64.exp: Likewise.
3362 * lib/gdb.exp (is_aarch64_target): New proc.
3363
9fcf688e
YQ
33642015-07-07 Yao Qi <yao.qi@linaro.org>
3365
3366 * lib/gdb.exp (is_aarch32_target): New proc.
3367 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3368 instead of "istarget "arm*-*-*"".
3369 * gdb.arch/arm-disp-step.exp: Likewise.
3370 * gdb.arch/thumb-bx-pc.exp: Likewise.
3371 * gdb.arch/thumb-prologue.exp: Likewise.
3372 * gdb.arch/thumb-singlestep.exp: Likewise.
3373 * gdb.base/disp-step-syscall.exp: Likewise.
3374 * gdb.base/float.exp: Likewise.
3375
fbd8d50d
YQ
33762015-07-07 Yao Qi <yao.qi@linaro.org>
3377
3378 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3379 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3380
71be1fdc
YQ
33812015-07-07 Yao Qi <yao.qi@linaro.org>
3382
3383 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3384 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3385 if it exists.
3386 * gdb.multi/multi-arch.exp: Likewise.
3387
3e221d36
SM
33882015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3389
3390 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3391 print.
3392
d441430b
YQ
33932015-07-07 Yao Qi <yao.qi@linaro.org>
3394
3395 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3396
06f810bd
MG
33972015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3398
3399 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3400 '[' and ']' characters.
3401
5e61e7c0
IB
34022015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3403
3404 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3405
28bf096c
PA
34062015-06-29 Pedro Alves <palves@redhat.com>
3407
3408 PR threads/18127
3409 * gdb.threads/hand-call-new-thread.c: New file.
3410 * gdb.threads/hand-call-new-thread.c: New file.
3411
ee93cd5e
KS
34122015-06-26 Keith Seitz <keiths@redhat.com>
3413 Doug Evans <dje@google.com>
3414
3415 PR 16253
3416 * gdb.cp/var-tag-2.cc: New file.
3417 * gdb.cp/var-tag-3.cc: New file.
3418 * gdb.cp/var-tag-4.cc: New file.
3419 * gdb.cp/var-tag.cc: New file.
3420 * gdb.cp/var-tag.exp: New file.
3421
fc637f04
PP
34222015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3423
3424 * gdb.base/history-duplicates.exp: New test.
3425
2e52ae68
PP
34262015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3427
3428 * gdb.base/completion.exp: Test the completion of the "focus"
3429 command.
3430
6e22494e
JK
34312015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3432
3433 * gdb.arch/amd64-prologue-skip.S: New file.
3434 * gdb.arch/amd64-prologue-skip.exp: New file.
3435
bf7b9cd9
SM
34362015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3437
3438 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3439 is_address_zero_readable check.
3440
201e8dfd
PB
34412015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3442
3443 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3444 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3445
5cd867b4
YQ
34462015-06-24 Yao Qi <yao.qi@linaro.org>
3447
3448 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3449 linux targets.
3450
4d7be007
YQ
34512015-06-24 Yao Qi <yao.qi@linaro.org>
3452
3453 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3454 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3455 * gdb.base/siginfo-thread.exp: Likewise.
3456
07fcd301
YQ
34572015-06-22 Yao Qi <yao.qi@linaro.org>
3458
3459 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3460
52042a00
YQ
34612015-06-22 Yao Qi <yao.qi@linaro.org>
3462
3463 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3464 aarch64*-*-*.
3465 (skip_hw_watchpoint_tests): Likewise.
3466
74bd41ce
PP
34672015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3468
3469 * gdb.base/gdbinit-history.exp: Test the interaction between
3470 setting GDBHISTSIZE and setting the history size via .gdbinit.
3471
bc460514
PP
34722015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3473
3474 PR gdb/16999
3475 * gdb.base/gdbhistsize-history.exp: New test.
3476
b58c513b
PP
34772015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3478
3479 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3480 with GDBHISTSIZE.
3481 * gdb.base/readline.exp: Likewise.
3482
92046791
YQ
34832015-06-17 Yao Qi <yao.qi@linaro.org>
3484
3485 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3486 line.
3487
2093d2d3
PP
34882015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3489
3490 * gdb.base/gdbinit-history.exp: Add test case to check that
3491 an unlimited history file does not get truncated on exit.
3492
e6c693af
AA
34932015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3494
3495 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3496 (VECTOR): New macro. Use it...
3497 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3498 ...for these typedefs.
3499 (int8, char1, int1, double1): New typedefs.
3500 (struct just_int2, struct two_int2): New structures.
3501 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3502 (add_structvecs, add_singlevecs): New functions.
3503 (main): Call add_some_intvecs twice.
3504 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3505 the compile and exit upon failure. Try compiling for the "native"
3506 architecture. Test inferior function calls with vector arguments
3507 and vector return value handling with "finish" and "return".
3508
c74f7d1c
JT
35092015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3510
3511 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3512 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3513 PE file.
3514 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3515
98aa42ee
AT
35162015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3517
3518 PR breakpoints/16465
3519 * gdb.mi/mi-dprintf-pending.c: New file.
3520 * gdb.mi/mi-dprintf-pending.exp: New test.
3521 * gdb.mi/mi-dprintf-pendshr.c: New file.
3522
7d73c23c 35232015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 3524 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
3525
3526 * gdb.arch/i386-mpx-map.c: New file.
3527 * gdb.arch/i386-mpx-map.exp: New File.
3528
35292015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3530
3531 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3532 * gdb.arch/i386-mpx.exp: Indentation fixed.
3533
35342015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3535
3536 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3537 function and improved indentation.
3538 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3539 gdb_test_multiple. Added additional tests to skip the test.
3540
35412015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3542
3543 * gdb.arch/i386-avx512.c: Change path in include file.
3544 * gdb.arch/i386-avx512.exp: Change include dir path
3545 compilation flag.
3546 * gdb.arch/i386-mpx.c: Change path in include file.
3547 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3548 flag.
3549
d5eba19a
JK
35502015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3551
3552 * gdb.compile/compile-print.exp (compile print *vararray@3)
3553 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3554
7f361056
JK
35552015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3556
3557 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3558 (do not keep jit in memory): ... this.
3559 (expect 5): Change it to ...
3560 (expect no 5): ... this.
3561
3b462ec2
SM
35622015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3563
3564 PR gdb/15564
3565 * gdb.mi/mi-detach.exp: New file.
3566
e0619de6
JK
35672015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3568
3569 PR symtab/18392
3570 * gdb.arch/amd64-tailcall-self.S: New file.
3571 * gdb.arch/amd64-tailcall-self.c: New file.
3572 * gdb.arch/amd64-tailcall-self.exp: New file.
3573
e970cb34
DB
35742015-05-28 Don Breazeal <donb@codesourcery.com>
3575
3576 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3577 tests for remote targets by checking is_target_gdbserver.
3578
b2e2f908
DE
35792015-05-27 Doug Evans <dje@google.com>
3580
3581 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3582 * gdb.dwarf2/opaque-type-lookup.c: New file.
3583 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3584
82c7be31
DE
35852015-05-26 Doug Evans <dje@google.com>
3586
3587 * gdb.cp/iostream.cc: New file.
3588 * gdb.cp/iostream.exp: New file.
3589
b4f54984
DE
35902015-05-26 Doug Evans <dje@google.com>
3591
3592 * gdb.dwarf2/dw2-op-call.exp: Update.
3593 * gdb.dwarf2/dw4-sig-types.exp: Update.
3594 * gdb.dwarf2/implptr.exp: Update.
3595 * gdb.mi/mi-cmd-param-changed.exp: Update.
3596
4ea6efe9
DE
35972015-05-26 Doug Evans <dje@google.com>
3598
3599 * gdb.python/py-lazy-string.c: New file.
3600 * gdb.python/py-lazy-string.exp: New file.
3601 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3602 (main): Update. Add estring3.
3603 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3604 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3605
f6bb7db3
YQ
36062015-05-26 Omair Javaid <omair.javaid@linaro.org>
3607 Yao Qi <yao.qi@linaro.org>
3608
3609 * gdb.reverse/aarch64.c: New.
3610 * gdb.reverse/aarch64.exp: New.
3611
a81bfbd0
OJ
36122015-05-26 Omair Javaid <omair.javaid@linaro.org>
3613
3614 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
3615 (supports_reverse): Likewise.
3616
158bf1b4
PP
36172015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3618
3619 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3620 Use with_test_prefix.
3621
a0145030
AB
36222015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3623
3624 * gdb.base/completion.exp: Add test for completion of layout
3625 names.
3626
ebe3b578
AB
36272015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3628
3629 * lib/gdb.exp (skip_tui_tests): New proc.
3630 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3631
84204ed7
PA
36322015-05-19 Pedro Alves <palves@redhat.com>
3633
3634 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3635 Save the whole env array instead of just HOME. Unset HISTSIZE in
3636 the environment while testing. Restore whole environment
3637 afterwards.
3638
37442ce1
DE
36392015-05-16 Doug Evans <xdje42@gmail.com>
3640
3641 * gdb.guile/scm-ports.c: New file.
3642 * gdb.guile/scm-ports.exp: Add memory port tests.
3643
36de76f9
JK
36442015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3645
3646 * gdb.compile/compile-print.c: New file.
3647 * gdb.compile/compile-print.exp: New file.
3648
3a9558c4
JK
36492015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3650
3651 * gdb.compile/compile-ops.exp: Cast param to void.
3652 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3653 (compile code struct_object.selffield = &struct_object): Add xfail.
3654
aa715135
JG
36552015-05-15 Joel Brobecker <brobecker@adacore.com>
3656
3657 * gdb.ada/arr_enum_with_gap: New testcase.
3658
931e5bc3
JG
36592015-05-15 Joel Brobecker <brobecker@adacore.com>
3660
3661 * gdb.ada/byte_packed_arr: New testcase.
3662
9cd4d857
JB
36632015-05-15 Joel Brobecker <brobecker@adacore.com>
3664
3665 * gdb.ada/pckd_neg: New testcase.
3666
ebfd00d2
PP
36672015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3668
3669 PR gdb/17820
3670 * gdb.base/gdbinit-history.exp: New test.
3671 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3672 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3673
4c082a81
SC
36742015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3675
3676 * gdb.python/py-xmethods.cc: Enhance test case.
3677 * gdb.python/py-xmethods.exp: New tests.
3678 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3679 function.
3680 (B_indexoper): Likewise.
3681 (global_dm_list) : Add new xmethod worker functions.
3682
f7797074
SDJ
36832015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3684
3685 * gdb.base/coredump-filter.exp: Correctly unset
3686 "coredump_var_addr" array.
3687
a4674e4e
PA
36882015-05-08 Pedro Alves <palves@redhat.com>
3689
3690 * gdb.server/non-existing-program.exp: Unset spawn_id.
3691
df2eb078
SC
36922015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3693
3694 PR python/18291
3695 * gdb.python/py-xmethods.exp: Add tests.
3696
422349a3
YQ
36972015-05-08 Yao Qi <yao.qi@linaro.org>
3698
3699 PR gdb/18208
3700 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3701 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3702 function set_coredump_filter, and remove remote_exec call.
3703 Remove argument ipid. Callers update.
3704 (top level): Don't get inferior's PID.
3705
63fc80ce
AA
37062015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3707
3708 * gdb.base/watch_thread_num.exp: Skip test on targets without
3709 access watchpoints.
3710
80ad801e
PA
37112015-05-06 Pedro Alves <palves@redhat.com>
3712
3713 PR server/18081
3714 * gdb.server/non-existing-program.exp: New file.
3715
0fa7fe50
JB
37162015-05-05 Joel Brobecker <brobecker@adacore.com>
3717
3718 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3719
3ea89b92
PMR
37202015-05-05 Joel Brobecker <brobecker@adacore.com>
3721
3722 * gdb.ada/out_of_line_in_inlined: New testcase.
3723
87b8eff0
JB
37242015-05-05 Joel Brobecker <brobecker@adacore.com>
3725
3726 * gdb.ada/var_rec_arr: New testcase.
3727
5fccc635
YQ
37282015-04-30 Yao Qi <yao.qi@linaro.org>
3729
3730 * gdb.base/break-idempotent.exp: If
3731 skip_hw_watchpoint_multi_tests returns true, skip the tests
3732 on "rwatch" and "awatch".
3733
42d38f42
YQ
37342015-04-30 Yao Qi <yao.qi@linaro.org>
3735
3736 * gdb.base/relativedebug.exp: Invoke gdb command
3737 "info sharedlibrary", and if libc.so doesn't have debug info,
3738 skip the test.
3739
2ce1cdbf
DE
37402015-04-29 Doug Evans <dje@google.com>
3741
3742 * gdb.python/py-xmethods.exp: Add ptype tests.
3743 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3744 get_result_type method.
3745
f24a38c5
LM
37462015-04-29 Luis Machado <lgustavo@codesourcery.com>
3747
3748 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3749 the target does not support hardware watchpoints.
3750
ecbf2b3c
LM
37512015-04-29 Luis Machado <lgustavo@codesourcery.com>
3752
3753 * gdb.base/break-always.exp: Abort testing if writing to memory
3754 causes an error.
3755
34f5f757
DE
37562015-04-28 Doug Evans <dje@google.com>
3757
3758 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3759 * gdb.python/py-pp-registration.exp: ... here. New file.
3760 * gdb.python/py-pp-registration.c: New file.
3761 * gdb.python/py-pp-registration.py: New file.
3762
69b4374a
DE
37632015-04-28 Doug Evans <dje@google.com>
3764
3765 * gdb.python/py-bad-printers.c: New file.
3766 * gdb.python/py-bad-printers.py: New file.
3767 * gdb.python/py-bad-printers.exp: New file.
3768
59fb7612
SS
37692015-04-28 Sasha Smundak <asmundak@google.com>
3770
3771 * gdb.python/py-type.exp: New test.
3772
2631b16a
AW
37732015-04-28 Andy Wingo <wingo@igalia.com>
3774
3775 * gdb.python/py-parameter.exp:
3776 * gdb.guile/scm-parameter.exp: Escape the path that we are
3777 matching against, as it might contain characters that are special
3778 to regular expressions.
3779
460efde1
JB
37802015-04-27 Joel Brobecker <brobecker@adacore.com>
3781
3782 * gdb.ada/rec_comp: New testcase.
3783
2d369d8e
SDJ
37842015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3785
3786 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3787 before using it.
3788
cf75d6c3
AB
37892015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3790
3791 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3792 new tests for verilog output.
3793
8dbe7ca5
YQ
37942015-04-24 Yao Qi <yao.qi@linaro.org>
3795
3796 * boards/remote-gdbserver-on-localhost.exp: New file.
3797
4ef9fb2f
PA
37982015-04-23 Pedro Alves <palves@redhat.com>
3799
3800 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3801 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3802 "end of file", remove $inferior_spawn_id from the indirect list.
3803
0a803169
PA
38042015-04-23 Pedro Alves <palves@redhat.com>
3805
3806 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3807
749ef8f8
PA
38082015-04-23 Pedro Alves <palves@redhat.com>
3809
3810 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3811 on $any_spawn_id instead of only on $gdb_spawn_id.
3812
8aae4344
PM
38132015-04-21 Pierre Muller <muller@sourceware.org>
3814
3815 PR pascal/17815
3816 * lib/pascal.exp (gpc_compile): Add new option "class".
3817 (fpc_compile): Likewise.
3818 * gdb.pascal/case-insensitive-symbols.pas: New file.
3819 * gdb.pascal/case-insensitive-symbols.exp: New file.
3820
1586c8fb
GB
38212015-04-20 Gary Benson <gbenson@redhat.com>
3822
3823 * gdb.base/attach.exp: Fix three extended remote failures.
3824
1b6e6f5c
GB
38252015-04-17 Gary Benson <gbenson@redhat.com>
3826
3827 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3828 the main executable over the remote protocol.
3829
e797481d
PA
38302015-04-16 Pedro Alves <palves@redhat.com>
3831
3832 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3833 a new gdbserver if gdbserver_reconnect_p is set.
3834
1ca99c42
PA
38352015-04-16 Pedro Alves <palves@redhat.com>
3836
3837 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3838 is set, don't exit gdbserver.
3839
af9fd6f8
AA
38402015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3841
3842 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3843 appropriate .insn, such that an older assembler can be used.
3844 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3845 the z/Architecture instruction set on 31-bit targets as well.
3846
04ff1e61
AA
38472015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3848
3849 * gdb.go/handcall.exp: Remove all logic related to the first
3850 breakpoint and rely on go_runto_main instead.
3851 * gdb.go/strings.exp: Likewise.
3852 * gdb.go/unsafe.exp: Likewise.
3853 * gdb.go/hello.exp: Likewise. Also rename the remaining
3854 breakpoint marker to "breakpoint 1".
3855 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3856 * gdb.go/strings.go: Likewise.
3857 * gdb.go/unsafe.go: Likewise.
3858 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3859 "set breakpoint 2 here" and rename the remaining breakpoint marker
3860 to "breakpoint 1".
3861
40d2f8d6
SM
38622015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3863
3864 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3865 if itertools.imap is not present.
3866 * gdb.python/py-objfile.exp: Add parentheses.
3867 * gdb.python/py-type.exp: Same.
3868 * gdb.python/py-unwind-maint.py: Same.
3869
8cbc97c6
YQ
38702015-04-15 Yao Qi <yao.qi@linaro.org>
3871
3872 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3873 of ":$ptr_size" and set its form explicitly.
3874
45fd756c
YQ
38752015-04-15 Pedro Alves <palves@redhat.com>
3876 Yao Qi <yao.qi@linaro.org>
3877
3878 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3879 timeout by factor of 4.
3880 (test_regular_watch): Likewise.
3881 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3882 * gdb.reverse/sigall-reverse.exp: Likewise.
3883 * gdb.reverse/until-precsave.exp: Likewise.
3884 * lib/gdb.exp (with_timeout_factor): New proc.
3885 (gdb_expect): Move some code to ...
3886 (get_largest_timeout): ... here. New procedure.
3887
9e811bc3
LM
38882015-04-14 Luis Machado <lgustavo@codesourcery.com>
3889
3890 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3891
0ff6fcb2
LM
38922015-04-13 Luis Machado <lgustavo@codesourcery.com>
3893
3894 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3895 to write to the .text section.
3896
7578d5f7
LM
38972015-04-13 Luis Machado <lgustavo@codesourcery.com>
3898
3899 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3900 Handle the case of targets that do not provide PID information.
3901
2efe15c4
YQ
39022015-04-13 Yao Qi <yao.qi@linaro.org>
3903
3904 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3905 and use expect instead of gdb_expect.
3906
8cd8f2f8
SDJ
39072015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3908
3909 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3910 "coredump_var_addr" to avoid naming conflict with other testcases.
3911
9ee41772
PA
39122015-04-10 Pedro Alves <palves@redhat.com>
3913
3914 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3915 gdb_test_sequence and gdb_assert.
3916
07473109
PA
39172015-04-10 Pedro Alves <palves@redhat.com>
3918
3919 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3920 test messages that don't include the breakpoint address.
3921
de3db44c
YQ
39222015-04-10 Yao Qi <yao.qi@linaro.org>
3923
3924 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3925 false for some offset and width combinations which aren't
3926 supported by linux kernel.
3927
c79d856c
PA
39282015-04-10 Pedro Alves <palves@redhat.com>
3929
3930 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3931 procedure, factored out from ...
3932 (top level): ... here. Add "set displaced-stepping" testing axis.
3933 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3934 parameter "displaced". Use it.
3935 (top level): Use foreach and add "set displaced-stepping" testing
3936 axis.
3937
ebc90b50
PA
39382015-04-10 Pedro Alves <palves@redhat.com>
3939
3940 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3941 Remove comment.
3942 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3943 both the address of the instruction that triggers the watchpoint
3944 and the address of the instruction immediately after, and use
3945 those addresses for the test. Fix comment.
3946
8f572e5c
PA
39472015-04-10 Pedro Alves <palves@redhat.com>
3948
3949 * gdb.base/sigstep.exp (breakpoint_to_handler)
3950 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3951 Test "backtrace" in handler.
3952 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3953 (top level): Add new "displaced" test axis to
3954 breakpoint_to_handler, breakpoint_to_handler_entry and
3955 breakpoint_over_handler.
3956
8d707a12
PA
39572015-04-10 Pedro Alves <palves@redhat.com>
3958
3959 PR gdb/18216
3960 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3961
ef713951
YQ
39622015-04-10 Yao Qi <yao.qi@linaro.org>
3963
3964 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3965 (test_add_rn_pc): New function.
3966 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3967 (top level): Invoke test_add_rn_pc.
3968
906d60cf
PA
39692015-04-10 Pedro Alves <palves@redhat.com>
3970
3971 PR gdb/13858
3972 * gdb.base/step-over-no-symbols.exp: New file.
3973
f2983cc3
AW
39742015-04-09 Andy Wingo <wingo@igalia.com>
3975
3976 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3977 after the Python tests.
3978
6d62641c
SDJ
39792015-04-08 Keith Seitz <keiths@redhat.com>
3980
3981 PR python/16699
3982 * gdb.python/py-completion.exp: New tests for completion.
3983 * gdb.python/py-completion.py (CompleteLimit1): New class.
3984 (CompleteLimit2): Likewise.
3985 (CompleteLimit3): Likewise.
3986 (CompleteLimit4): Likewise.
3987 (CompleteLimit5): Likewise.
3988 (CompleteLimit6): Likewise.
3989 (CompleteLimit7): Likewise.
3990
f3770638
PA
39912015-04-08 Pedro Alves <palves@redhat.com>
3992
3993 PR gdb/18214
3994 PR gdb/18216
3995 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3996 function.
3997 (main): Install it as SIGUSR1 handler.
3998 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3999 parameter. Always use "setup" as prefix. Toggle "set
4000 displaced-stepping" off/on depending on global. Don't switch to
4001 thread 1 here.
4002 (top level): Add displaced stepping "off/on" test axis. Update
4003 "setup" calls. Wrap each subtest with with_test_prefix. Test
4004 continuing with a queued signal in each thread.
4005
4496bed7
PA
40062015-04-08 Pedro Alves <palves@redhat.com>
4007
4008 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4009 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4010 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4011 Return early if running to main fails.
4012 * gdb.trace/while-stepping.exp: Likewise.
4013
b97fde92
PA
40142015-04-07 Pedro Alves <palves@redhat.com>
4015
4016 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4017 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4018 interact with inferior program.
4019
f71c18e7
PA
40202015-04-07 Pedro Alves <palves@redhat.com>
4021
4022 * lib/gdb.exp (inferior_spawn_id): New global.
4023 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4024 spawn id after processing the user code.
4025 (default_gdb_start): Set inferior_spawn_id.
4026 (send_inferior): New procedure.
4027 * lib/gdbserver-support.exp (gdbserver_start): Set
4028 inferior_spawn_id.
4029 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4030
6423214f
PA
40312015-04-07 Pedro Alves <palves@redhat.com>
4032
4033 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4034 * lib/gdbserver-support.exp (gdbserver_start): Make
4035 $server_spawn_id global.
4036 (gdbserver_start): Don't wait for gdbserver's spawn id with
4037 expect_background.
4038 (close_gdbserver): New procedure.
4039 (gdb_exit): Rename the default version and reimplement.
4040
71c0ee8c
PA
40412015-04-07 Pedro Alves <palves@redhat.com>
4042
72f4393d 4043 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
4044 append the substituted item, not the original item.
4045
203bc29b
PA
40462015-04-07 Pedro Alves <palves@redhat.com>
4047
4048 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4049 gdb_expect.
4050
508a3ddf
PA
40512015-04-07 Pedro Alves <palves@redhat.com>
4052
4053 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4054 output appearing once only.
4055
9f6dbe2b
PA
40562015-04-07 Pedro Alves <palves@redhat.com>
4057
4058 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4059 that doesn't expect anything. Return early if running to main
4060 fails.
4061
337532fa
YQ
40622015-04-07 Yao Qi <yao.qi@linaro.org>
4063
4064 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4065 (child_function): Call alarm.
4066 (main): Move call to alarm into the loop.
4067 * gdb.threads/non-stop-fair-events.exp: Build program with
4068 -DTIMEOUT=$timeout.
4069
01b622d4
DE
40702015-04-06 Doug Evans <xdje42@gmail.com>
4071
4072 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4073 Fix dest parameter to board_info.
4074 (fpc_compile): Ditto.
4075 (gdb_compile_pascal): Rename dest arg to destfile.
4076
961f4160
PMR
40772015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4078
4079 * gdb.ada/funcall_ref.exp: New file.
4080 * gdb.ada/funcall_ref/foo.adb: New file.
4081
cafda597
YQ
40822015-04-02 Yao Qi <yao.qi@linaro.org>
4083
4084 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4085 is remote.
4086
fed040c6
GB
40872015-04-02 Gary Benson <gbenson@redhat.com>
4088
4089 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4090
d11916aa
SS
40912015-04-01 Sasha Smundak <asmundak@google.com>
4092
4093 * gdb.python/py-unwind-maint.c: New file.
4094 * gdb.python/py-unwind-maint.exp: New test.
4095 * gdb.python/py-unwind-maint.py: New file.
4096 * gdb.python/py-unwind.c: New file.
4097 * gdb.python/py-unwind.exp: New test.
4098 * gdb.python/py-unwind.py: New test.
4099
a1471180
PA
41002015-04-01 Pedro Alves <palves@redhat.com>
4101
4102 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4103 to fail instead of non-existent $test.
4104
0bbeccb1
PA
41052015-04-01 Pedro Alves <palves@redhat.com>
4106
4107 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4108 GDBFLAGS if not empty.
4109
3c724c8c
PMR
41102015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4111
4112 * gdb.ada/complete.exp: Remove "multi_line".
4113 * gdb.ada/info_exc.exp: Remove "multi_line".
4114 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4115 * gdb.ada/ptype_field.exp: Remove "multi_line".
4116 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4117 * gdb.ada/tagged.exp: Remove "multi_line".
4118 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4119 [multi_line ...]
4120 * gdb.btrace/delta.exp: Likewise.
4121 * gdb.btrace/exception.exp: Likewise.
4122 * gdb.btrace/function_call_history.exp: Likewise.
4123 * gdb.btrace/instruction_history.exp: Likewise.
4124 * gdb.btrace/nohist.exp: Likewise.
4125 * gdb.btrace/record_goto.exp: Likewise.
4126 * gdb.btrace/segv.exp: Likewise.
4127 * gdb.btrace/stepi.exp: Likewise.
4128 * gdb.btrace/tailcall.exp: Likewise.
4129 * gdb.btrace/unknown_functions.exp: Likewise.
4130 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4131 * lib/gdb.exp: Add the "multi_line" helper.
4132
4eec2deb
PA
41332015-04-01 Pedro Alves <palves@redhat.com>
4134
4135 * gdb.threads/tid-reuse.c: New file.
4136 * gdb.threads/tid-reuse.exp: New file.
4137
df8411da
SDJ
41382015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4139
4140 PR corefiles/16092
4141 * gdb.base/coredump-filter.c: New file.
4142 * gdb.base/coredump-filter.exp: Likewise.
4143
6ef37366
PM
41442015-03-27 Petr Machata <pmachata@redhat.com>
4145
4146 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4147 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4148 (Dwarf::assemble): Initialize them.
4149 (Dwarf::lines): New function.
4150
7ec911b0
JT
41512015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4152
4153 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4154 SYMBOL_PREFIX for x86_64-*-cygwin.
4155
ff908ebf
AW
41562015-03-26 Andy Wingo <wingo@igalia.com>
4157
4158 PR symtab/18148
4159 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4160 const_value but not a location.
4161 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4162 location defined in non-main CUs are visible.
4163
6d5f0679
YQ
41642015-03-26 Yao Qi <yao.qi@linaro.org>
4165
4166 PR testsuite/18139
4167 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4168 Add a line number entry for the same line.
4169 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4170 Add a line number entry for the same line.
4171
2898689b
YQ
41722015-03-26 Yao Qi <yao.qi@linaro.org>
4173
4174 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4175 .int 0.
4176 (func): Likewise. Add .Lfunc_1 label.
4177 Use .Lfunc_1 label.
4178 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4179 .int 0.
4180 (func): Likewise.
4181 Use .Lfunc_1 label.
4182
85180498
YQ
41832015-03-26 Yao Qi <yao.qi@linaro.org>
4184
4185 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4186 Call gdb_compile instead to compile each .s files without debug
4187 information.
4188
8aa08a8d
YQ
41892015-03-26 Yao Qi <yao.qi@linaro.org>
4190
4191 * gdb.base/savedregs.exp (process_saved_regs): Make
4192 "Saved registers:" optional in the pattern.
4193
66849923
MM
41942015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4195
4196 * gdb.btrace/next.exp: Merged into step.exp.
4197 * gdb.btrace/finish.exp: Merged into step.exp.
4198 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4199 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4200 "record goto" and checking the exact replay position.
4201 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4202 check for "Recording format" in "info record" output.
4203 * gdb.btrace/record_goto.exp: Choose test file based on target.
4204 * gdb.btrace/x86-record_goto.S: Renamed into ...
4205 * gdb.btrace/x86_64-record_goto.S: ... this.
4206 * gdb.btrace/i686-record_goto.S: New.
4207 * gdb.btrace/x86-tailcall.S: Renamed into ...
4208 * gdb.btrace/x86_64-tailcall.S: ... this.
4209 * gdb.btrace/i686-tailcall.S: New.
4210 * gdb.btrace/x86-tailcall.c: Renamed into ...
4211 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4212 separate statements. Update test.
4213 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4214 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4215 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4216 * gdb.btrace/tailcall.exp: Choose test file based on target.
4217 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4218
11cc1b74
MM
42192015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4220
4221 * gdb.btrace/exception.exp: Increase BTS buffer size.
4222
a25d8bf9
PA
42232015-03-24 Pedro Alves <palves@redhat.com>
4224
4225 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4226
856e7dd6
PA
42272015-03-24 Pedro Alves <palves@redhat.com>
4228
4229 * gdb.threads/schedlock.exp (test_step): No longer expect that
4230 "set scheduler-locking step" with "next" over a function call runs
4231 threads unlocked.
4232
ad235a41
AT
42332015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4234
4235 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4236
15630549
AT
42372015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4238
4239 PR breakpoints/16466
4240 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4241 * gdb.mi/mi-pending.c (thread_func): New function.
4242 (int main): Add threading support required.
4243 * gdb.mi/mi-pending.exp: Add tests for this issue.
4244 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4245 (pendfunc2): Remove stdio dependency.
4246 * gdb.mi/mi-pendshr2.c: New file.
4247
693dca06
KS
42482015-03-23 Keith Seitz <keiths@redhat.com>
4249
4250 * gdb.linespec/keywords.c: New file.
4251 * gdb.linespec/keywords.exp: New file.
4252
7e993ebf
KS
42532015-03-23 Keith Seitz <keiths@redhat.com>
4254
4255 PR gdb/18021
4256 * gdb.dwarf2/staticvirtual.exp: New test.
4257
bc23328c
JK
42582015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4259
4260 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4261 * README: Remove HP-UX and gdb.hp.
4262 (configuration):
4263 * configure: Regenerate.
4264 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4265 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4266 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4267 gdb.hp/gdb.defects/Makefile.
4268 * gdb.hp/Makefile.in: File deleted.
4269 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4270 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4271 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4272 * gdb.hp/gdb.aCC/run.c: File deleted.
4273 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4274 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4275 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4276 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4277 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4278 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4279 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4280 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4281 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4282 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4283 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4284 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4285 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4286 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4287 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4288 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4289 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4290 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4291 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4292 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4293 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4294 * gdb.hp/gdb.compat/average.c: File deleted.
4295 * gdb.hp/gdb.compat/sum.c: File deleted.
4296 * gdb.hp/gdb.compat/xdb.c: File deleted.
4297 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4298 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4299 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4300 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4301 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4302 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4303 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4304 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4305 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4306 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4307 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4308 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4309 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4310 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4311 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4312 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4313 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4314 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4315 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4316 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4317 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4318 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4319 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4320 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4321 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4322 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4323 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4324 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4325 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4326 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4327 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4328 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4329 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4330 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4331 * gdb.hp/tools/odump: File deleted.
4332
8bf3b159
PA
43332015-03-19 Pedro Alves <palves@redhat.com>
4334
4335 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4336 (saw_thread_3): New globals.
4337 (top level): Increment them when an event for the corresponding
4338 thread is seen.
4339 (no thread starvation): New test.
4340
eb54c8bf
PA
43412015-03-19 Pedro Alves <palves@redhat.com>
4342
4343 * gdb.threads/continue-pending-status.c: New file.
4344 * gdb.threads/continue-pending-status.exp: New file.
4345
32d2e5d6
PA
43462015-03-18 Pedro Alves <palves@redhat.com>
4347
4348 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4349 Use gdb_is_target_remote instead of is_remote. Use
4350 gdb_test_multiple instead of gdb_expect. Exit early if
4351 gdb_test_multiple hits its internal matches. Tighten stepi tests
4352 expected output. Fail on exit with any signal, instead of just
4353 SIGILL.
4354
f68f11b7
YQ
43552015-03-18 Yao Qi <yao.qi@linaro.org>
4356
4357 PR tdep/18107
4358 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4359 variable.
4360 * gdb.base/catch-syscall.exp: Don't skip it on
4361 aarch64*-*-linux* target. Remove elements in all_syscalls.
4362 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4363 target.
4364 (setup_all_syscalls): New proc.
4365
ca5fd19b
YQ
43662015-03-16 Yao Qi <yao.qi@linaro.org>
4367
4368 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4369 (top level): Skip tests if valid_addr_p returns false for
4370 $cmd1 or $cmd2.
4371
85642ba0
AW
43722015-03-11 Andy Wingo <wingo@igalia.com>
4373
4374 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4375
e03f9645
YQ
43762015-03-11 Yao Qi <yao.qi@linaro.org>
4377
4378 * gdb.base/catch-syscall.exp: Fix typo in comments.
4379
5d0962b2
YQ
43802015-03-11 Yao Qi <yao.qi@linaro.org>
4381
4382 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4383
b2df3cef
PA
43842015-03-09 Pedro Alves <palves@redhat.com>
4385
4386 * dg-extract-results.py: Delete.
4387
ef878e53
PA
43882015-03-09 Pedro Alves <palves@redhat.com>
4389
4390 Merge dg-extract-results.sh from GCC upstream (r218843).
4391
4392 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4393 * dg-extract-results.sh: Use --text with grep to avoid issues with
4394 binary files. Fall back to cat -v, if that doesn't work.
4395
9494d219
PA
43962015-03-05 Pedro Alves <palves@redhat.com>
4397
4398 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4399
a8d9763a
SM
44002015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4401
4402 * lib/mi-support.exp (mi_expect_interrupt): Accept
4403 alternative event for when in all-stop mode.
4404
be9957b8
PA
44052015-03-04 Pedro Alves <palves@redhat.com>
4406
4407 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4408
d57be0f4 44092015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
4410
4411 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4412
c214c7cf
AA
44132015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4414
4415 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4416 regexps for GDB's current line display, accept a hex address
4417 preceding the line number.
4418
6d74a497
AA
44192015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4420
4421 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4422 the 'arch1' variable for "s390*-linux*" targets.
4423
511aee7c
PA
44242015-03-04 Pedro Alves <palves@redhat.com>
4425
4426 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4427 (main): Pass missing retval argument to pthread_join call.
4428
95e50b27
PA
44292015-03-02 Pedro Alves <palves@redhat.com>
4430
4431 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4432 (top level): Call do_test with non-stop as well.
4433
28054d69
PA
44342015-03-02 Pedro Alves <palves@redhat.com>
4435
4436 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4437 -1.
4438
4fa5d7b4
AA
44392015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4440
4441 * gdb.arch/s390-vregs.exp: New test.
4442 * gdb.arch/s390-vregs.S: New file.
4443
97c18565
PA
44442015-02-27 Pedro Alves <palves@redhat.com>
4445
4446 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4447 call to catch_command_errors.
4448 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4449 catch_command_errors.
4450
a37bfa30
PA
44512015-02-27 Pedro Alves <palves@redhat.com>
4452
4453 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4454 "true" for boolean result.
4455 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4456 prototype of main.
4457
6f98576f
PA
44582015-02-27 Pedro Alves <palves@redhat.com>
4459
4460 * lib/unbuffer_output.c: New file.
4461 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4462 (main): Call gdb_unbuffer_output.
4463
eba5ab56
YQ
44642015-02-27 Yao Qi <yao.qi@linaro.org>
4465
4466 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4467 target.
4468
0def5aaa
DE
44692015-02-26 Doug Evans <dje@google.com>
4470
4471 * gdb.cp/class2.cc (Dbase, D): New classes.
4472 (main): New local delta.
4473 * gdb.cp/class2.exp: Test printing delta.
4474 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4475 (dynbar): New global.
4476 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4477
081a1c2c
JK
44782015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4479
4480 * gdb.compile/compile-ifunc.c: New file.
4481 * gdb.compile/compile-ifunc.exp: New file.
4482
2f41223f
AT
44832015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4484
4485 * gdb.base/structs.exp: Check for correct struct on finish.
4486
03eddd80
YQ
44872015-02-26 Yao Qi <yao.qi@linaro.org>
4488
4489 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4490 is zero.
4491
80c57053
JK
44922015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4493
4494 * gdb.arch/cordic.ko.bz2: New file.
4495 * gdb.arch/cordic.ko.debug.bz2: New file.
4496 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4497
21613c12
YQ
44982015-02-25 Yao Qi <yao.qi@linaro.org>
4499
4500 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4501 aarch64*-*-* target.
4502
d8b901ed
PA
45032015-02-23 Pedro Alves <palves@redhat.com>
4504
4505 * lib/gdb.exp (delete_breakpoints): Rewrite using
4506 gdb_test_multiple.
4507
e5b85ead
PA
45082015-02-23 Pedro Alves <palves@redhat.com>
4509
4510 * gdb.base/info-os.c: Include stdlib.h.
4511
85c3a371
DE
45122015-02-22 Doug Evans <xdje42@gmail.com>
4513
4514 PR symtab/17855
4515 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4516 is read after symbols have been re-read.
4517 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4518 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4519
96553a0c
DE
45202015-02-21 Doug Evans <dje@google.com>
4521
4522 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4523
97a0c697
JK
45242015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4525
4526 PR corefiles/17808
4527 * gdb.arch/i386-biarch-core.core.bz2: New file.
4528 * gdb.arch/i386-biarch-core.exp: New file.
4529
a47cd6e9
PA
45302015-02-21 Pedro Alves <palves@redhat.com>
4531
4532 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4533 runto_main fails.
4534
c5facdc4
PA
45352015-02-20 Pedro Alves <palves@redhat.com>
4536
4537 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4538 info probes.
4539
2db9a427
PA
45402015-02-20 Pedro Alves <palves@redhat.com>
4541
4542 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4543
60fb7e9e
PA
45442015-02-20 Pedro Alves <palves@redhat.com>
4545
4546 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4547 clean_restart before gdb_target_supports_trace.
4548
5c5019c2
PA
45492015-02-20 Pedro Alves <palves@redhat.com>
4550
4551 PR threads/18006
4552 * gdb.threads/clone-thread_db.c: New file.
4553 * gdb.threads/clone-thread_db.exp: New file.
4554
c9587f88
AT
45552015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4556
4557 PR breakpoints/16812
4558 * gdb.base/catch-gdb-caused-signals.c: New file.
4559 * gdb.base/catch-gdb-caused-signals.exp: New file.
4560
f6a88844
JM
45612015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4562
4563 * configure: Regenerated.
4564 * configure.ac: Use GDB_AC_TRANSFORM.
4565 * aclocal.m4: sinclude ../transform.m4.
4566
497c491b
JM
45672015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4568
4569 * lib/dtrace.exp: New file.
4570 * gdb.base/dtrace-probe.exp: Likewise.
4571 * gdb.base/dtrace-probe.d: Likewise.
4572 * gdb.base/dtrace-probe.c: Likewise.
4573 * lib/pdtrace.in: Likewise.
4574 * configure.ac: Output variables with the transformed names of
4575 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4576 * configure: Regenerated.
4577
03e98035
JM
45782015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4579
4580 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4581 expected message when trying to access $_probe_* convenience
4582 variables while not on a probe.
4583
63cc30e9
JK
45842015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4585
4586 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4587
0703599a
PA
45882015-02-11 Pedro Alves <pedro@codesourcery.com>
4589
4590 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4591 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4592
7e60a48e
DE
45932015-02-10 Doug Evans <xdje42@gmail.com>
4594
4595 * lib/gdb.exp (gdb_load): Always return a result.
4596
01b088bc
PA
45972015-02-10 Pedro Alves <palves@redhat.com>
4598
4599 * gdb.threads/signal-sigtrap.c: New file.
4600 * gdb.threads/signal-sigtrap.exp: New file.
4601
b05ec7a5
AT
46022015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4603
4604 * gdb.trace/no-attach-trace.c: New file.
4605 * gdb.trace/no-attach-trace.exp: New file.
4606
a2c2acaf
MW
46072015-02-09 Mark Wielaard <mjw@redhat.com>
4608
4609 * gdb.dwarf2/atomic.c: New file.
4610 * gdb.dwarf2/atomic-type.exp: Likewise.
4611
31fd9caa
MM
46122015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4613
4614 * gdb.btrace/buffer-size.exp: Update "info record" output.
4615 * gdb.btrace/delta.exp: Update "info record" output.
4616 * gdb.btrace/enable.exp: Update "info record" output.
4617 * gdb.btrace/finish.exp: Update "info record" output.
4618 * gdb.btrace/instruction_history.exp: Update "info record" output.
4619 * gdb.btrace/next.exp: Update "info record" output.
4620 * gdb.btrace/nexti.exp: Update "info record" output.
4621 * gdb.btrace/step.exp: Update "info record" output.
4622 * gdb.btrace/stepi.exp: Update "info record" output.
4623 * gdb.btrace/nohist.exp: Update "info record" output.
4624
d33501a5
MM
46252015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4626
4627 * gdb.btrace/buffer-size: New.
4628
f4abbc16
MM
46292015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4630
4631 * gdb.btrace/delta.exp: Update "info record" output.
4632 * gdb.btrace/enable.exp: Update "info record" output.
4633 * gdb.btrace/finish.exp: Update "info record" output.
4634 * gdb.btrace/instruction_history.exp: Update "info record" output.
4635 * gdb.btrace/next.exp: Update "info record" output.
4636 * gdb.btrace/nexti.exp: Update "info record" output.
4637 * gdb.btrace/step.exp: Update "info record" output.
4638 * gdb.btrace/stepi.exp: Update "info record" output.
4639 * gdb.btrace/nohist.exp: Update "info record" output.
4640
b9d61307
SM
46412015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4642
4643 PR gdb/15678
4644 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4645
e584fdbc
PA
46462015-02-06 Pedro Alves <palves@redhat.com>
4647
4648 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4649 macro.
4650 (seconds_left, again): New globals.
4651 (main): Wait seconds_left in a 1-second sleep loop instead of
4652 sleeping 180 seconds. If 'again' is set, reset the seconds
4653 counter.
4654 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4655 'again' in the inferior before detaching. Print the seconds left.
4656 (options): New global.
4657 (top level): Build program with -DTIMEOUT=$timeout.
4658
77f41761
PA
46592015-02-06 Pedro Alves <palves@redhat.com>
4660
4661 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4662 determine how many seconds to pass to 'alarm'.
4663 * gdb.base/gdb-sigterm.exp (top level): Build program with
4664 -DTIMEOUT=$timeout.
4665 (do_test): Return success/failure indication. Add more verbose
4666 logging. Don't fail if 200 single steps are seen. Instead, fail
4667 when the test times out.
4668 (passes): New global.
4669 (top level): Break the testing loop if testing fails on any
4670 iteration. Use gdb_assert.
4671
b9394193
DB
46722015-02-04 Don Breazeal <donb@codesourcery.com>
4673
4674 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4675 and initialize them.
4676 (ipc_cleanup): New function.
4677 (main): Don't declare shmid, semid, and msqid. Add a call to
4678 atexit so that we call ipc_cleanup on exit.
4679
42d9e528
PA
46802015-02-04 Pedro Alves <palves@redhat.com>
4681
4682 * boards/native-extended-gdbserver.exp: Remove any target variant
4683 specifications from the board name before clearing the isremote
4684 flag from board_info.
4685
ae6ae975
DE
46862015-01-31 Doug Evans <xdje42@gmail.com>
4687
4688 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4689
cfb069a8
GB
46902015-01-31 Gary Benson <gbenson@redhat.com>
4691
4692 * gdb.base/completion.exp: Disable completion limiting for
4693 existing tests. Add new tests to check completion limiting.
4694 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4695
5dd31d79
DE
46962015-01-31 Doug Evans <xdje42@gmail.com>
4697
4698 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4699
9f050062
DE
47002015-01-31 Doug Evans <xdje42@gmail.com>
4701
4702 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4703 entries. Duplicate file section script entries.
4704 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4705 inlined entries. Add test for safe-path rejection.
4706 * gdb.python/py-section-script.c: Add duplicate inlined section script
4707 entries. Duplicate file section script entries.
4708 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4709 inlined entries. Add test for safe-path rejection.
4710
df25ebbd
JB
47112015-01-29 Joel Brobecker <brobecker@adacore.com>
4712
4713 * gdb.ada/disc_arr_bound: New testcase.
4714
4a0ca9ec
JB
47152015-01-29 Joel Brobecker <brobecker@adacore.com>
4716
4717 * gdb.ada/mi_var_array: New testcase.
4718
3a8b707a
DE
47192015-01-27 Doug Evans <dje@google.com>
4720
4721 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4722 Add test for objfile.filename, objfile.username after objfile
4723 has been unloaded.
4724
f8313f6e
JB
47252015-01-26 Joel Brobecker <brobecker@adacore.com>
4726
4727 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4728 the second test to print the name attribute of value
4729 returned by the call to gdb.lookup_type, and adjust
4730 the expected output accordingly.
4731
37bc665e
MW
47322015-01-25 Mark Wielaard <mjw@redhat.com>
4733
4734 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4735 * gdb.base/disp-step-fork.c: Include unistd.h.
4736 * gdb.base/siginfo-obj.c: Include stdio.h.
4737 * gdb.base/siginfo-thread.c: Likewise.
4738 * gdb.mi/non-stop.c: Include unistd.h.
4739 * gdb.mi/nsthrexec.c: Include stdio.h.
4740 * gdb.mi/pthreads.c: Include unistd.h.
4741 * gdb.modula2/unbounded1.c (main): Declare returns int.
4742 * gdb.reverse/consecutive-reverse.c: Likewise.
4743 * gdb.threads/create-fail.c: Include unistd.h.
4744 * gdb.threads/killed.c: Likewise.
4745 * gdb.threads/linux-dp.c: Likewise.
4746 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4747 * gdb.threads/non-ldr-exc-2.c: Likewise.
4748 * gdb.threads/non-ldr-exc-3.c: Likewise.
4749 * gdb.threads/non-ldr-exc-4.c: Likewise.
4750 * gdb.threads/pthreads.c: Include unistd.h.
4751 (main): Declare returns int.
4752 * gdb.threads/tls-main.c (foo): New declaration.
4753 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4754
f7e5394d
SM
47552015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4756
4757 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4758 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4759
743649fd
MW
47602015-01-15 Mark Wielaard <mjw@redhat.com>
4761
4762 * gdb.base/noreturn-return.c: New file.
4763 * gdb.base/noreturn-return.exp: New file.
4764 * gdb.base/noreturn-finish.c: New file.
4765 * gdb.base/noreturn-finish.exp: New file.
4766
198297aa
PA
47672015-01-23 Pedro Alves <palves@redhat.com>
4768
4769 * gdb.threads/continue-pending-after-query.c: New file.
4770 * gdb.threads/continue-pending-after-query.exp: New file.
4771
717cf30c
AG
47722015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4773 Simon Marchi <simon.marchi@ericsson.com>
4774
4775 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4776 * gdb.base/valgrind-db-attach.exp: Same.
4777 * gdb.base/valgrind-infcall.exp: Same.
4778 * lib/mi-support.exp (default_mi_gdb_start): Same.
4779 * lib/prompt.exp (default_prompt_gdb_start): Same.
4780 * lib/gdb.exp (default_gdb_spawn): Same.
4781 (gdb_interact): New.
4782
4783
4b62a76e
JK
47842015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4785
4786 * gdb.compile/compile.exp (pointer to jit function): New test.
4787
b4cdae6f
WW
47882015-01-17 Wei-cheng Wang <cole945@gmail.com>
4789
4790 * lib/gdb.exp (supports_process_record): Return true for
4791 powerpc*-*-linux*.
4792 (supports_reverse): Likewise.
4793
d221e7ef
DB
47942015-01-15 Don Breazeal <donb@codesourcery.com>
4795
4796 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4797 instead of checking whether the target board is remote and
4798 use spawn_wait_for_attach instead of exec/sleep.
4799 * gdb.base/attach-twice.exp: Likewise.
4800
bafffb51
JB
48012015-01-15 Joel Brobecker <brobecker@adacore.com>
4802
4803 * gdb.ada/var_arr_attrs: New testcase.
4804
5589af0e
PA
48052015-01-14 Pedro Alves <palves@redhat.com>
4806 Joel Brobecker <brobecker@adacore.com>
4807
4808 PR gdb/17525
4809 * gdb.base/bp-cmds-execution-x-script.c: New file.
4810 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4811 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4812
6c400b59
PA
48132015-01-14 Pedro Alves <palves@redhat.com>
4814
4815 PR cli/17828
4816 * gdb.base/batch-preserve-term-settings.c: New file.
4817 * gdb.base/batch-preserve-term-settings.exp: New file.
4818
e02c96a7
DE
48192015-01-13 Doug Evans <dje@google.com>
4820
4821 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4822 binary.
4823
576fd14c
JB
48242015-01-13 Joel Brobecker <brobecker@adacore.com>
4825
4826 * Makefile.in (clean mostlyclean): Do not delete *.py.
4827
04dccad0
JB
48282015-01-13 Joel Brobecker <brobecker@adacore.com>
4829
4830 * gdb.python/py-lookup-type.exp: New file.
4831
3d230f71
PA
48322015-01-12 Pedro Alves <palves@redhat.com>
4833
4834 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4835 restore GDBFLAGS before returning.
4836
7e67715d
JK
48372015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4838
4839 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4840 is_amd64_regs_target and is_x86_like_target.
4841
f2e0d4b4
DE
48422015-01-11 Doug Evans <xdje42@gmail.com>
4843
4844 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4845 is given without an explicit form.
4846 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4847 attributes.
4848 * gdb.dwarf/corrupt.exp: Ditto.
4849 * gdb.dwarf2/enum-type.exp: Ditto.
4850 * gdb.trace/entry-values.exp: Ditto.
4851 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4852
439250fb
DE
48532015-01-11 Doug Evans <xdje42@gmail.com>
4854
4855 PR gdb/15830
4856 * gdb.base/maint.exp: Remove references to "maint demangle".
4857 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4858 Add tests for explicitly specifying language to demangle.
4859 * gdb.dlang/demangle.exp: Ditto.
4860
ede9f622
PA
48612015-01-09 Pedro Alves <palves@redhat.com>
4862
4863 * gdb.threads/non-stop-fair-events.c: New file.
4864 * gdb.threads/non-stop-fair-events.exp: New file.
4865
a7b796db
PA
48662015-01-09 Pedro Alves <palves@redhat.com>
4867
4868 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4869 the global scope. Set a breakpoint after all threads are started
4870 rather than stepping over two source lines. Expect the prompt.
4871 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4872 global.
4873 (NUM): Now 15.
4874 (main): Use threads_started_barrier to wait for all threads to
4875 start. Main thread no longer calls thread_function. Exit after
4876 180 seconds.
4877 (loop): New function.
4878 (thread_function): Wait on threads_started_barrier barrier. Call
4879 'loop' at each iteration.
4880 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4881 threads have started, instead of hardcoding number of "next"
4882 steps. Use an access watchpoint instead of a write watchpoint.
4883
9665ffdd
PA
48842015-01-09 Pedro Alves <palves@redhat.com>
4885
4886 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4887 (thread_func): Wait on barrier.
4888 (main): Wait for all threads to start before stopping GDB.
4889 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4890 global.
4891 (thread1_func, thread2_func): Wait on barrier.
4892 (main): Wait for all threads to start before stopping GDB.
4893 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4894 New global.
4895 (thread1_func, thread2_func): Wait on barrier.
4896 (main): Wait for all threads to start before stopping GDB.
4897
c945a99f
PA
48982015-01-09 Pedro Alves <palves@redhat.com>
4899
4900 * gdb.threads/attach-many-short-lived-threads.c: New file.
4901 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4902
c1a747c1
PA
49032014-01-09 Pedro Alves <palves@redhat.com>
4904
4905 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4906 instead of to thread 2.
4907 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4908 Add barrier around each pthread_create call instead of around all
4909 calls.
4910 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4911 Set a break on thread_function and have the child threads hit it
4912 one at at a time.
4913
60b3033e
PA
49142015-01-09 Pedro Alves <palves@redhat.com>
4915
4916 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4917 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4918 false.
4919 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4920 checking whether the target board is remote.
4921 * gdb.multi/multi-attach.exp: Likewise.
4922 * gdb.python/py-sync-interp.exp: Likewise.
4923 * gdb.server/ext-attach.exp: Likewise.
4924 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4925 tests that need to attach, instead of checking whether the target
4926 board is remote at the top of the file.
4927
acc018ac
YQ
49282015-01-08 Yao Qi <yao@codesourcery.com>
4929
4930 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4931
50a18af8
JK
49322015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4933
4934 Fix testcase compilation.
4935 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4936
8503d6e1
JB
49372015-01-06 Joel Brobecker <brobecker@adacore.com>
4938
4939 * gdb.python/py-type.exp: Add a couple test about empty
4940 array creation, and negative-length array creation.
4941
cc73dbcc
DE
49422015-01-02 Doug Evans <xdje42@gmail.com>
4943
4944 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4945
0300bbc7
DE
49462015-01-02 Doug Evans <dje@google.com>
4947
4948 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4949
9d85a0ec
YQ
49502014-12-29 Yao Qi <yao@codesourcery.com>
4951
4952 * gdb.trace/entry-values.exp: Update comments. Rename variable
4953 bar_call_foo to returned_from_foo.
4954
87186c6a
MMN
49552014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4956
4957 PR gdb/17394
4958 * gdb.linespec/break-asm-file.c: New file.
4959 * gdb.linespec/break-asm-file.exp: New file.
4960 * gdb.linespec/break-asm-file0.s: New file.
4961 * gdb.linespec/break-asm-file1.s: New file.
4962
1bab7383
YQ
49632014-12-18 Nigel Stephens <nigel@mips.com>
4964 Maciej W. Rozycki <macro@codesourcery.com>
4965
4966 * gdb.base/float.exp: Handle the new output from "info float" on
4967 MIPS targets.
4968
1bc1068a
JK
49692014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4970
4971 Fix MinGW compilation.
4972 * gdb.compile/compile-ops.exp: Update untested message if
4973 !skip_compile_feature_tests.
4974 * gdb.compile/compile-setjmp.exp: Likewise.
4975 * gdb.compile/compile-tls.exp: Likewise.
4976 * gdb.compile/compile.exp: Likewise.
4977 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4978 supported on this host".
4979
b6615d10
DE
49802014-12-16 Doug Evans <xdje42@gmail.com>
4981
4982 * boards/stabs.exp: New file.
4983
25dda427
AA
49842014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4985
4986 * gdb.base/completion.exp: Adjust to format changes of "maint
4987 print user-registers".
4988
bf330350
CU
49892014-12-16 Catalin Udma <catalin.udma@freescale.com>
4990
4991 PR server/17457
4992 * gdb.arch/aarch64-fp.c: New file.
4993 * gdb.arch/aarch64-fp.exp: New file.
4994
395cf596
SDJ
49952014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4996
4997 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4998 r210637, r210913, r211666, r215400, r215817).
4999
5000 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5001 * dg-extract-results.py: New file.
5002 * dg-extract-results.sh: Use it if the environment seems
5003 suitable.
5004
5005 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5006
5007 * dg-extract-results.py (parse_run): Handle warnings that
5008 are printed before a test harness is run.
5009
5010 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5011
5012 * dg-extract-results.py (Named): Remove __cmp__ method.
5013 (output_variation): Use a key to sort variation.harnesses.
5014
5015 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5016
5017 * dg-extract-results.py: For Python 3, force sys.stdout to
5018 handle surrogate escape sequences.
5019 (safe_open): New function.
5020 (output_segment, main): Use it.
5021
5022 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5023
5024 * dg-extract-results.py (Prog.result_re): Include options
5025 in test name.
5026
5027 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5028
5029 * dg-extract-results.py (output_variation): Always sort if
5030 do_sum.
5031
e882ef3c
SM
50322014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5033
5034 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5035 as long as we get pagination notifications.
5036
4992aa20
JM
50372014-12-15 Jason Merrill <jason@redhat.com>
5038
5039 * Makefile.in (check-gdb.%): Restore.
5040 * README: Mention it.
5041
c1b5a1a6
JB
50422014-12-13 Joel Brobecker <brobecker@adacore.com>
5043
5044 * gdb.ada/str_uninit: New testcase.
5045
5537b577
JK
50462014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5047
5048 PR symtab/17642
5049 * gdb.base/vla-stub-define.c: New file.
5050 * gdb.base/vla-stub.c: New file.
5051 * gdb.base/vla-stub.exp: New file.
5052
bb2ec1b3
TT
50532014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5054 Jan Kratochvil <jan.kratochvil@redhat.com>
5055 Tom Tromey <tromey@redhat.com>
5056
5057 * configure.ac: Add gdb.compile/.
5058 * configure: Regenerate.
5059 * gdb.compile/Makefile.in: New file.
5060 * gdb.compile/compile-ops.exp: New file.
5061 * gdb.compile/compile-ops.c: New file.
5062 * gdb.compile/compile-tls.c: New file.
5063 * gdb.compile/compile-tls.exp: New file.
5064 * gdb.compile/compile-constvar.S: New file.
5065 * gdb.compile/compile-constvar.c: New file.
5066 * gdb.compile/compile-mod.c: New file.
5067 * gdb.compile/compile-nodebug.c: New file.
5068 * gdb.compile/compile-setjmp-mod.c: New file.
5069 * gdb.compile/compile-setjmp.c: New file.
5070 * gdb.compile/compile-setjmp.exp: New file.
5071 * gdb.compile/compile-shlib.c: New file.
5072 * gdb.compile/compile.c: New file.
5073 * gdb.compile/compile.exp: New file.
5074 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5075
4ff709eb
TT
50762014-12-12 Tom Tromey <tromey@redhat.com>
5077
5078 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5079 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5080
6dddd6a5
DE
50812014-12-12 Doug Evans <dje@google.com>
5082
5083 * lib/gdb-python.exp (get_python_valueof): New function.
5084 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5085
71c24708
AA
50862014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5087
5088 * gdb.base/completion.exp: Add test for completion of "info
5089 registers ".
5090
3e29f34a
MR
50912014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5092
5093 * gdb.base/func-ptrs.c: New file.
5094 * gdb.base/func-ptrs.exp: New file.
5095
fc126975
SM
50962014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5097
5098 PR breakpoints/17012
5099 * gdb.base/dprintf-detach.c: New file.
5100 * gdb.base/dprintf-detach.exp: New file.
5101
0a46d518
SM
51022014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5103
5104 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5105 * lib/gdb.exp (target_is_gdbserver): New procedure.
5106
a0be3e44
DE
51072014-12-08 Doug Evans <dje@google.com>
5108
5109 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5110
df1b803a
YQ
51112014-12-05 Yao Qi <yao@codesourcery.com>
5112
5113 * gdb.guile/scm-error.exp: Remove the third argument to
5114 gdb_remote_download.
5115 * gdb.guile/scm-frame-args.exp: Likewise.
5116 * gdb.guile/scm-section-script.exp: Likewise.
5117
ddb9f679
YQ
51182014-12-05 Yao Qi <yao@codesourcery.com>
5119
5120 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5121
86e4ed39
DE
51222014-12-04 Doug Evans <dje@google.com>
5123
5124 * gdb.python/py-objfile.exp: Add tests for
5125 objfile.add_separate_debug_file.
5126
7c50a931
DE
51272014-12-04 Doug Evans <dje@google.com>
5128
5129 * lib/gdb.exp (get_build_id): New function.
5130 (build_id_debug_filename_get): Rewrite to use it.
5131 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5132
621661e3
MR
51332014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5134
5135 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5136 `method(long)', not just 0x0.
5137 * gdb.cp/nsalias.exp: Align code labels to 4.
5138 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5139 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5140 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5141 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5142 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5143 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5144
29f0c3b7
DE
51452014-12-02 Doug Evans <dje@google.com>
5146
e1e061e7 5147 PR symtab/17602
29f0c3b7 5148 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 5149 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
5150 * gdb.cp/anon-ns.exp: Update.
5151
162078c8
NB
51522014-12-02 Nick Bull <nicholaspbull@gmail.com>
5153
5154 * gdb.python/py-events.py (inferior_call_handler): New.
5155 (register_changed_handler, memory_changed_handler): New.
5156 (test_events.invoke): Register new handlers.
5157 * gdb.python/py-events.exp: Add tests for inferior call,
5158 memory_changed and register_changed events.
5159
fdb09caf
AA
51602014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5161
5162 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5163 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5164 if the linker doesn't understand this.
5165
55cfb2c4
SM
51662014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5167
5168 * gdb.python/python.exp: Change expected reply to help().
5169
9e8cd6df
YQ
51702014-12-01 Yao Qi <yao@codesourcery.com>
5171
5172 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5173 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5174 * configure: Re-generated.
5175
6c659fc2
SC
51762014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5177
5178 * gdb.cp/chained-calls.cc: New file.
5179 * gdb.cp/chained-calls.exp: New file.
5180 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5181
d7fc3181
SM
51822014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5183
5184 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5185 * gdb.dwarf2/symtab-producer.exp: Same.
5186 * gdb.gdb/python-interrupts.exp: Same.
5187 * gdb.gdb/python-selftest.exp: Same.
5188 * gdb.python/py-linetable.exp: Same.
5189 * gdb.python/py-type.exp: Same.
5190 * gdb.python/py-value-cc.exp: Same.
5191 * gdb.python/py-value.exp: Same.
5192
10e79639
YQ
51932014-11-28 Yao Qi <yao@codesourcery.com>
5194
5195 * gdb.base/break-probes.exp: Match library name prefixed with
5196 sysroot.
5197
f28a0564
SM
51982014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5199
5200 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5201 test expected output. Add parentheses for the call to print.
5202 Remove L suffix from integers.
5203
3fe1ce1d
DE
52042014-11-26 Doug Evans <dje@google.com>
5205
5206 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5207
84429e27
YQ
52082014-11-22 Yao Qi <yao@codesourcery.com>
5209
5210 * gdb.trace/entry-values.c: Remove asms.
5211 (foo): Add foo_label.
5212 (bar): Add bar_label.
5213 * gdb.trace/entry-values.exp: Remove code computing foo's
5214 length and bar's length.
5215 (Dwarf::assemble): Invoke function_range for bar and use
5216 MACRO_AT_func for foo.
5217
26741859
YQ
52182014-11-22 Yao Qi <yao@codesourcery.com>
5219
5220 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5221 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5222 Use .Lgcc43_procstart instead of gcc43.
5223
45e44d27
JB
52242014-11-21 Joel Brobecker <brobecker@adacore.com>
5225
5226 * gdb.ada/n_arr_bound: New testcase.
5227
458c8db8
SDJ
52282014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5229
5230 PR breakpoints/10737
5231 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5232 test_catch_syscall_multi_arch.
5233 (test_catch_syscall_multi_arch): New function.
5234
43f3e411
DE
52352014-11-20 Doug Evans <xdje42@gmail.com>
5236
5237 * gdb.base/maint.exp: Update expected output.
5238
0d7b2549
AA
52392014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5240
5241 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5242 4-byte instruction on S390.
5243
8908fca5
JB
52442014-11-19 Joel Brobecker <brobecker@adacore.com>
5245
5246 * gdb.ada/arr_arr: New testcase.
5247
4a46959e
JB
52482014-11-19 Joel Brobecker <brobecker@adacore.com>
5249
5250 * gdb.ada/pkd_arr_elem: New Testcase.
5251
470e2f4e
LM
52522014-11-18 Luis Machado <lgustavo@codesourcery.com>
5253
5254 * gdb.reverse/break-precsave: Expect completion message for
5255 core file reads.
5256 * gdb.reverse/consecutive-precsave.exp: Likewise.
5257 * gdb.reverse/finish-precsave.exp: Likewise.
5258 * gdb.reverse/i386-precsave.exp: Likewise.
5259 * gdb.reverse/machinestate-precsave.exp: Likewise.
5260 * gdb.reverse/sigall-precsave.exp: Likewise.
5261 * gdb.reverse/solib-precsave.exp: Likewise.
5262 * gdb.reverse/step-precsave.exp: Likewise.
5263 * gdb.reverse/until-precsave.exp: Likewise.
5264 * gdb.reverse/watch-precsave.exp: Likewise.
5265
a267f3ad
AA
52662014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5267
5268 * gdb.base/bp-permanent.c: Include unistd.h.
5269 * gdb.python/py-framefilter-mi.c (main): Add return type.
5270 * gdb.python/py-framefilter.c (main): Likewise.
5271 * gdb.trace/actions-changed.c (main): Likewise.
5272
12084a9a
AA
52732014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5274
5275 * gdb.mi/until.c: Add eye-catchers.
5276 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5277 line numbers.
5278
dc7e1a77
AA
52792014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5280
5281 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5282 function header variants in break1.c.
5283 * gdb.base/ena-dis-br.exp: Likewise.
5284 * gdb.base/hbreak2.exp: Likewise.
5285 * gdb.reverse/until-precsave.exp: Drop references to removed
5286 non-prototype function header variants in ur1.c.
5287 * gdb.reverse/until-reverse.exp: Likewise.
5288
41c77605
PM
52892014-11-17 Petr Machata <pmachata@redhat.com>
5290
5291 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5292 ${_cu_offset_size} bytes abbrev offset.
5293
34248c3a
DE
52942014-11-15 Doug Evans <xdje42@gmail.com>
5295
5296 PR symtab/17559
5297 * gdb.base/line-symtabs.exp: New file.
5298 * gdb.base/line-symtabs.c: New file.
5299 * gdb.base/line-symtabs.h: New file.
5300
646da059
YQ
53012014-11-14 Yao Qi <yao@codesourcery.com>
5302
5303 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5304 (func): Add label func_label.
5305 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5306 Replace low_pc and high_pc with MACRO_AT_range.
5307 Replace name, low_pc and high_pc with MACRO_AT_func.
5308
9301ebe6
YQ
53092014-11-14 Yao Qi <yao@codesourcery.com>
5310
5311 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5312 Replace name, low_pc and high_pc with MACRO_AT_func.
5313
f166b542
YQ
53142014-11-14 Yao Qi <yao@codesourcery.com>
5315
5316 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5317 produce debug information.
5318 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5319
0f6e71e3
YQ
53202014-11-14 Yao Qi <yao@codesourcery.com>
5321
5322 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5323 object and get function length.
5324 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5325 with MACRO_AT_func.
5326 (top-level): Replace gdb_compile and clean_restart with
5327 prepare_for_testing.
5328 * gdb.dwarf2/main.c (main): Add label main_label.
5329
876c4df9
YQ
53302014-11-14 Yao Qi <yao@codesourcery.com>
5331
5332 * lib/dwarf.exp (function_range): New procedure.
5333 (Dwarf::_handle_macro_at_func): New procedure.
5334 (Dwarf::_handle_macro_at_range): New procedure.
5335 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5336
02ad9cf1
YQ
53372014-11-14 Yao Qi <yao@codesourcery.com>
5338
5339 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5340 (_handle_attribute): New procedure.
5341
a59add0c
AA
53422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5343
5344 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5345 * gdb.base/call-sc.c (zed): Likewise.
5346 * gdb.base/checkpoint.c (main): Likewise.
5347 * gdb.base/dump.c (main): Likewise.
5348 * gdb.base/gcore.c (main): Likewise.
5349 * gdb.base/huge.c (main): Likewise.
5350 * gdb.base/multi-forks.c (main): Likewise.
5351 * gdb.base/pr10179-a.c (main): Likewise.
5352 * gdb.base/savedregs.c (main): Likewise.
5353 * gdb.base/sigaltstack.c (main): Likewise.
5354 * gdb.base/siginfo.c (main): Likewise.
5355 * gdb.base/structs.c (zed): Likewise.
5356 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5357 * gdb.mi/mi-syn-frame.c (main): Likewise.
5358 * gdb.mi/until.c (foo, main): Likewise.
5359 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5360 * gdb.base/solib-weak.c (foo): Declare.
5361 * gdb.base/attach-twice.c: Include stdio.h.
5362 * gdb.base/weaklib1.c: Likewise.
5363 * gdb.base/weaklib2.c: Likewise.
5364 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5365 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5366 unistd.h.
5367 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5368 * gdb.mi/mi-exit-code.c: Likewise.
5369 * gdb.base/break-interp-lib.c: Include string.h.
5370 * gdb.base/coremaker.c: Likewise.
5371 * gdb.base/testenv.c: Likewise.
5372 * gdb.python/py-finish-breakpoint.c: Likewise.
5373 * gdb.base/inferior-died.c: Include sys/wait.h.
5374 * gdb.base/fileio.c: Include time.h.
5375 * gdb.base/async-shell.c: Include unistd.h.
5376 * gdb.base/dprintf-non-stop.c: Likewise.
5377 * gdb.base/info-os.c: Likewise.
5378 * gdb.mi/mi-console.c: Likewise.
5379 * gdb.mi/watch-nonstop.c: Likewise.
5380 * gdb.python/py-events.c: Likewise.
5381 * gdb.base/async.c (baz): Move up before its invocation.
5382 * gdb.base/code_elim2.c (my_global_func): Likewise.
5383 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5384 * gdb.base/advance.c (func2): Likewise.
5385
3b5d5997
AA
53862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5387
5388 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5389 variant.
5390 * gdb.base/annota3.c: Likewise.
5391 * gdb.base/async.c: Likewise.
5392 * gdb.base/average.c: Likewise.
5393 * gdb.base/call-ar-st.c: Likewise.
5394 * gdb.base/call-rt-st.c: Likewise.
5395 * gdb.base/call-sc.c: Likewise.
5396 * gdb.base/call-strs.c: Likewise.
5397 * gdb.base/ending-run.c: Likewise.
5398 * gdb.base/execd-prog.c: Likewise.
5399 * gdb.base/exprs.c: Likewise.
5400 * gdb.base/foll-exec.c: Likewise.
5401 * gdb.base/foll-fork.c: Likewise.
5402 * gdb.base/foll-vfork.c: Likewise.
5403 * gdb.base/funcargs.c: Likewise.
5404 * gdb.base/gcore.c: Likewise.
5405 * gdb.base/jump.c: Likewise.
5406 * gdb.base/langs0.c: Likewise.
5407 * gdb.base/langs1.c: Likewise.
5408 * gdb.base/langs2.c: Likewise.
5409 * gdb.base/mips_pro.c: Likewise.
5410 * gdb.base/nodebug.c: Likewise.
5411 * gdb.base/opaque0.c: Likewise.
5412 * gdb.base/opaque1.c: Likewise.
5413 * gdb.base/recurse.c: Likewise.
5414 * gdb.base/run.c: Likewise.
5415 * gdb.base/scope0.c: Likewise.
5416 * gdb.base/scope1.c: Likewise.
5417 * gdb.base/setshow.c: Likewise.
5418 * gdb.base/setvar.c: Likewise.
5419 * gdb.base/shmain.c: Likewise.
5420 * gdb.base/shr1.c: Likewise.
5421 * gdb.base/shr2.c: Likewise.
5422 * gdb.base/sigall.c: Likewise.
5423 * gdb.base/signals.c: Likewise.
5424 * gdb.base/so-indr-cl.c: Likewise.
5425 * gdb.base/solib2.c: Likewise.
5426 * gdb.base/structs.c: Likewise.
5427 * gdb.base/sum.c: Likewise.
5428 * gdb.base/vforked-prog.c: Likewise.
5429 * gdb.base/watchpoint.c: Likewise.
5430 * gdb.reverse/shr2.c: Likewise.
5431 * gdb.reverse/until-reverse.c: Likewise.
5432 * gdb.reverse/ur1.c: Likewise.
5433 * gdb.reverse/watch-reverse.c: Likewise.
5434
066a77c5
AA
54352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5436
5437 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5438 variant.
5439 * gdb.base/sepdebug.exp: Drop references to removed code.
5440
4f204ea5
AA
54412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5442
5443 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5444 variant. Preserve original line numbering.
5445 * gdb.base/list1.c: Likewise.
5446
3b377a3a
AA
54472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5448
5449 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5450 variant.
5451 * gdb.base/break1.c: Likewise.
5452 * gdb.base/break.exp: Drop references to removed code.
5453
e444df73
AA
54542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5455
5456 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5457 variant.
5458
8008f2a7
AA
54592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5460
5461 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5462
a5a06887
AA
54632014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5464
5465 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5466 logic into perform_all_tests() and invoke it with and without
5467 function header prototypes.
5468 (do_function_calls): Remove conditional XFAIL for PR 5318.
5469 (rerun_and_prepare): Remove duplicate code.
5470 (perform_all_tests): New. Main logic moved here.
5471
44dba9b9
AA
54722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5473
5474 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5475 code guarded by #ifdef NO_PROTOTYPES.
5476 (t_double_many_args): Likewise.
5477 (DEF_FUNC_MANY_ARGS_1): Likewise.
5478 (DEF_FUNC_VALUES_1): Likewise.
5479 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5480 guarded by #ifdef PROTOTYPES.
5481
d1fbcd56
AA
54822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5483
5484 * gdb.mi/mi-console.c: Add eye-catcher.
5485 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5486 instead of literal line number.
5487
b0e59b8f
AA
54882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5489
5490 * gdb.base/shr2.c: Add eye-catcher.
5491 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5492 line number.
5493
78f98cca
AA
54942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5495
5496 * gdb.base/jump.c: Add eye-catchers.
5497 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5498 numbers.
5499
58fa2af0
AA
55002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5501
5502 * gdb.base/execd-prog.c: Add eye-catchers.
5503 * gdb.base/foll-exec.c: Likewise.
5504 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5505 line numbers.
5506
04e5059b
AA
55072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5508
5509 * gdb.base/ending-run.c: Add eye-catchers.
5510 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5511 literal line numbers.
5512
dbfdb174
AA
55132014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5514
5515 * gdb.base/call-rt-st.c: Add eye-catchers.
5516 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5517 literal line numbers.
5518
888a2ade
AA
55192014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5520
5521 * gdb.base/call-ar-st.c: Add eye-catchers.
5522 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5523 literal line numbers.
5524
6acc2dde
AA
55252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5526
5527 * gdb.base/average.c: Add eye-catchers.
5528 * gdb.base/sum.c: Likewise.
5529 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5530 regexps dynamically.
5531
9ecfcd1d
AA
55322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5533
5534 * gdb.base/solib1.c: Add eye-catchers.
5535 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5536 literal line numbers.
5537
78708b7c
PA
55382014-11-12 Pedro Alves <palves@redhat.com>
5539
5540 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5541 leader has exited.
5542
af48d08f
PA
55432014-11-12 Pedro Alves <palves@redhat.com>
5544
5545 * gdb.arch/i386-bp_permanent.c: New file.
5546 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5547 (srcfile): Set to i386-bp_permanent.c.
5548 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5549 that stepi does not execute the 'leave' instruction, instead of
5550 testing it does execute.
5551 * gdb.base/bp-permanent.c: New file.
5552 * gdb.base/bp-permanent.exp: New file.
5553
af3768e9
DE
55542014-11-10 Doug Evans <xdje42@gmail.com>
5555
5556 PR symtab/17564
5557 * gdb.base/symtab-search-order.exp: New file.
5558 * gdb.base/symtab-search-order.c: New file.
5559 * gdb.base/symtab-search-order-1.c: New file.
5560 * gdb.base/symtab-search-order-shlib-1.c: New file.
5561
9de00a4a
PA
55622014-11-07 Pedro Alves <palves@redhat.com>
5563
5564 PR gdb/17511
5565 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5566 i?86-*-linux*.
5567
e0f52461
SC
55682014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5569
5570 PR c++/17494
5571 * gdb.cp/pr17494.cc: New file.
5572 * gdb.cp/pr17494.exp: New file.
5573
6ce8c980
YQ
55742014-11-02 Yao Qi <yao@codesourcery.com>
5575
5576 * gdb.python/python.exp: Get working directory and match the
5577 output of "set extended-prompt \\w " with it.
5578
02be9a71
DE
55792014-10-30 Doug Evans <dje@google.com>
5580
5581 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5582 in objfiles.
5583 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5584 in progspaces.
5585
3bdff46b
LM
55862014-10-30 Janis Johnson <janisjo@codesourcery.com>
5587
5588 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5589 * gdb.base/realname-expand.exp: Likewise.
5590 * gdb.linespec/macro-relative.exp: Likewise.
5591
ab917dfb
PA
55922014-10-29 Pedro Alves <palves@redhat.com>
5593
5594 PR gdb/17408
5595 * gdb.threads/schedlock.c (some_function): New function.
5596 (call_function): New global.
5597 (MAYBE_CALL_SOME_FUNCTION): New macro.
5598 (thread_function): Call it.
5599 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5600 and use it instead of a global counter. Adjust all callers.
5601 (get_current_thread): Use "find current thread" for test message
5602 here rather than having all callers pass down the same string.
5603 (goto_loop): New procedure, factored out from ...
5604 (my_continue): ... this.
5605 (step_ten_loops): Change parameter from test message to command to
5606 use. Adjust.
5607 (list_count): Delete global.
5608 (check_result): New procedure, factored out from duplicate top
5609 level code.
5610 (continue tests): Wrap in with_test_prefix.
5611 (test_step): New procedure, factored out from duplicate top level
5612 code.
5613 (top level): Test "step" in combination with all scheduler-locking
5614 modes. Test "next" in combination with all scheduler-locking
5615 modes, and in combination with stepping over a function call or
5616 not.
5617 * gdb.threads/next-bp-other-thread.c: New file.
5618 * gdb.threads/next-bp-other-thread.exp: New file.
5619
d3d4baed
PA
56202014-10-29 Pedro Alves <palves@redhat.com>
5621
5622 PR python/17372
5623 * gdb.python/python.exp: Test a multi-line command that spawns
5624 interactive Python.
5625 * gdb.base/multi-line-starts-subshell.exp: New file.
5626
563e8d85
YQ
56272014-10-29 Yao Qi <yao@codesourcery.com>
5628
5629 * gdb.base/fileio.exp: Make directories on host.
5630
0ea4d52e
YQ
56312014-10-29 Yao Qi <yao@codesourcery.com>
5632
5633 * gdb.base/fileio.c (test_write): Close the file.
5634
7f5ef605
PA
56352014-10-28 Pedro Alves <palves@redhat.com>
5636
5637 PR gdb/12623
5638 * gdb.base/sigstep.c (no_handler): New global.
5639 (main): If 'no_handler is true, set the signal handlers to
5640 SIG_IGN.
5641 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5642 with_sw_watch and no_handler parameters. Handle them.
5643 (top level) <stepping over handler when stopped at a breakpoint
5644 test>: Add a test axis for testing with a software watchpoint, and
5645 another for testing with the signal handler set to SIG_IGN.
5646 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5647 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5648
abbdbd03
PA
56492014-10-28 Pedro Alves <palves@redhat.com>
5650
5651 PR gdb/17511
5652 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5653 * gdb.base/sigstep.exp (other_handler_location): New global.
5654 (advance): Support stepping into the signal handler, and running
5655 commands while in the handler.
5656 (in_handler_map): New global.
5657 (top level): In the advance test, add combinations for getting
5658 into the handler with stepping commands, and for running commands
5659 in the handler. Add comment descripting the advancei tests.
5660
1df4399f
PA
56612014-10-28 Pedro Alves <palves@redhat.com>
5662
5663 * gdb.base/sigstep.exp: Use build_executable instead of
5664 prepare_for_testing.
5665 (top level): Move code that starts GDB, runs to main and creates a
5666 display to ...
5667 (restart): ... this new procedure.
5668 (top level): Move backtrace from signal handler test to ...
5669 (validate_backtrace): ... this new procedure.
5670 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5671 with_test_prefix. Always restart GDB.
5672 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5673 with_test_prefix. Always restart GDB. No need to delete
5674 breakpoints after the test.
5675 (test_skip_handler): Remove prefix parameter.
5676 (skip_over_handler, breakpoint_to_handler)
5677 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5678 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5679 restart GDB. No need to delete breakpoints after the test.
5680 (top level): Use foreach to call the test procedures with
5681 different commands.
5682
a5b6e449
PA
56832014-10-28 Pedro Alves <palves@redhat.com>
5684
5685 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5686 instead of GNATS numbers.
5687 * gdb.base/sigbpt.exp: Likewise.
5688 * gdb.base/siginfo.exp: Likewise.
5689 * gdb.base/sigstep.exp: Likewise.
5690
e5f8a7cc
PA
56912014-10-27 Pedro Alves <palves@redhat.com>
5692
5693 * gdb.base/sigstep.c (dummy): New global.
5694 (main): Issue a couple writes to the new global.
5695 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5696 procedures.
5697 (skip_over_handler): Use test_skip_handler.
5698 (top level): Call skip_over_handler for stepi and nexti too.
5699 (breakpoint_over_handler): Use test_skip_handler.
5700 (top level): Call breakpoint_over_handler for stepi and nexti too.
5701
763905a3
YQ
57022014-10-27 Yao Qi <yao@codesourcery.com>
5703
5704 * gdb.trace/tfile.c (adjust_function_address)
5705 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5706 function descriptor.
5707
6f259a23
DB
57082014-10-24 Don Breazeal <donb@codesourcery.com>
5709
5710 * gdb.base/foll-fork.exp (test_follow_fork,
5711 catch_fork_child_follow): Check for updated fork messages emitted
5712 from infrun.c.
5713 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5714 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5715 vfork_and_exec_child_follow_through_step): Check for updated vfork
5716 messages emitted from infrun.c.
5717
09dd9a69
PA
57182014-10-24 Pedro Alves <palves@redhat.com>
5719
5720 * gdb.base/corefile.exp: Remove references to ultrix.
5721 * gdb.base/interrupt.exp: Likewise.
5722 * gdb.base/whatis.exp: Likewise.
5723 * gdb.gdb/selftest.exp: Likewise.
5724 * gdb.threads/manythreads.exp: Likewise.
5725 * gdb.threads/print-threads.exp: Likewise.
5726 * gdb.threads/pthreads.exp:: Likewise.
5727 * gdb.threads/schedlock.exp: Likewise.
5728
3433cfa5
SC
57292014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5730
5731 * gdb.cp/non-trivial-retval.cc: Add a test case.
5732 * gdb.cp/non-trivial-retval.exp: Add a test.
5733
092f880b
YQ
57342014-10-20 Yao Qi <yao@codesourcery.com>
5735
5736 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5737 * gdb.python/py-objfile-script-gdb.py: New file.
5738 * gdb.python/py-objfile-script.exp: Update reference to
5739 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5740 of remote_download. Remove the dest file.
5741
acbdb7f3
YQ
57422014-10-20 Yao Qi <yao@codesourcery.com>
5743
5744 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5745 * gdb.base/step-line.exp: Likewise.
5746 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5747 * gdb.dwarf2/dw2-basic.exp: Likewise.
5748 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5749 * gdb.dwarf2/dw2-filename.exp: Likewise.
5750 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5751 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5752 * gdb.dwarf2/dw2-producer.exp: Likewise.
5753 * gdb.dwarf2/mac-fileno.exp: Likewise.
5754 * gdb.python/py-frame-args.exp: Likewise.
5755 * gdb.python/py-framefilter.exp: Likewise.
5756 * gdb.python/py-mi.exp: Likewise.
5757 * gdb.python/py-objfile-script.exp: Likewise
5758 * gdb.python/py-pp-integral.exp: Likewise.
5759 * gdb.python/py-pp-re-notag.exp: Likewise.
5760 * gdb.python/py-prettyprint.exp: Likewise.
5761 * gdb.python/py-section-script.exp: Likewise.
5762 * gdb.python/py-typeprint.exp: Likewise.
5763 * gdb.python/py-xmethods.exp: Likewise.
5764 * gdb.stabs/weird.exp: Likewise.
5765 * gdb.xml/tdesc-regs.exp: Likewise.
5766
bd286a29
KCY
57672014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5768
5769 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5770 (out_cu): Use addr_len for the size of addresses.
5771 (out_line): Likewise. Size DW_LNE_set_address instruction
5772 according to addr_len.
5773 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5774 (FUNC): Add START_INSNS to definition.
5775
673dc4a0
YQ
57762014-10-18 Yao Qi <yao@codesourcery.com>
5777
5778 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5779 gdb_has_argv0 return true.
5780 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5781 check [target_info exists noargs], check [gdb_has_argv0]
5782 instead.
5783 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5784 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5785 procedures.
5786
4ffbba72
DE
57872014-10-17 Doug Evans <dje@google.com>
5788
5789 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5790 event.
5791 * gdb.python/py-events.py: Add clear_objfiles event.
5792
d096d8c1
DE
57932014-10-17 Doug Evans <dje@google.com>
5794
5795 * gdb.python/py-objfile.exp: Test progspace attribute.
5796
a80db015
LM
57972014-10-17 Luis Machado <lgustavo@codesourcery.com>
5798
5799 * gdb.guile/scm-breakpoint.exp: Do not assume any
5800 directory separators when matching source file paths.
5801 * gdb.python/py-breakpoint.exp: Likewise.
5802 * gdb.reverse/break-precsave.exp: Likewise.
5803 * gdb.reverse/break-reverse.exp: Likewise.
5804 * gdb.reverse/consecutive-precsave.exp: Likewise.
5805 * gdb.reverse/finish-precsave.exp: Likewise.
5806 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5807 * gdb.reverse/finish-reverse.exp: Likewise.
5808 * gdb.reverse/i386-precsave.exp: Likewise.
5809 * gdb.reverse/i387-env-reverse.exp: Likewise.
5810 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5811 * gdb.reverse/machinestate-precsave.exp: Likewise.
5812 * gdb.reverse/machinestate.exp: Likewise.
5813 * gdb.reverse/sigall-precsave.exp: Likewise.
5814 * gdb.reverse/solib-precsave.exp: Likewise.
5815 * gdb.reverse/step-precsave.exp: Likewise.
5816 * gdb.reverse/until-precsave.exp: Likewise.
5817 * gdb.reverse/watch-precsave.exp: Likewise.
5818 * gdb.reverse/watch-reverse.exp: Likewise.
5819
b22089ab
YQ
58202014-10-17 Yao Qi <yao@codesourcery.com>
5821
5822 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5823 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5824
6c4486e6
PA
58252014-10-17 Pedro Alves <palves@redhat.com>
5826
5827 PR gdb/17471
5828 * gdb.base/bg-execution-repeat.c: New file.
5829 * gdb.base/bg-execution-repeat.exp: New file.
5830
0ff33695
PA
58312014-10-17 Pedro Alves <palves@redhat.com>
5832
5833 PR gdb/17300
5834 * gdb.base/continue-all-already-running.c: New file.
5835 * gdb.base/continue-all-already-running.exp: New file.
5836
6fdebc3d
PA
58372014-10-17 Pedro Alves <palves@redhat.com>
5838
5839 PR gdb/17472
5840 * gdb.base/annota-input-while-running.c: New file.
5841 * gdb.base/annota-input-while-running.exp: New file.
5842
32a8097b
PA
58432014-10-17 Pedro Alves <palves@redhat.com>
5844
5845 * gdb.base/callfuncs.exp: emove references to osf.
5846 * gdb.base/sigall.exp: Likewise.
5847 * gdb.gdb/selftest.exp: Likewise.
5848 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5849 * gdb.mi/non-stop.c: Likewise.
5850 * gdb.mi/pthreads.c: Likewise.
5851 * gdb.reverse/sigall-precsave.exp: Likewise.
5852 * gdb.reverse/sigall-reverse.exp: Likewise.
5853 * gdb.threads/pthreads.c: Likewise.
5854 * gdb.threads/pthreads.exp: Likewise.
5855
7a3517ff
YQ
58562014-10-17 Yao Qi <yao@codesourcery.com>
5857
5858 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5859 check 'target_info exists noargs'.
5860 (test_command_prompt_position): Likewise.
5861 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5862 Remove "set args".
5863 (progvar_simple_while_test): Likewise.
5864 (progvar_complex_if_while_test): Likewise.
5865 (if_while_breakpoint_command_test): Likewise.
5866 (infrun_breakpoint_command_test): Likewise.
5867 (breakpoint_command_test): Likewise.
5868 (watchpoint_command_test): Likewise.
5869 (bp_deleted_in_command_test): Likewise.
5870 (temporary_breakpoint_commands): Likewise.
5871
bb99c472
YQ
58722014-10-16 Yao Qi <yao@codesourcery.com>
5873
5874 * gdb.base/remotetimeout.exp: Remove noargs checking.
5875
7c16b83e
PA
58762014-10-15 Pedro Alves <palves@redhat.com>
5877
5878 PR breakpoints/9649
5879 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5880 * gdb.base/breakpoint-in-ro-region.exp
5881 (probe_target_hardware_step): New procedure.
5882 (top level): Probe hardware stepping and hardware breakpoint
5883 support. Test stepping through a read-only region, with both
5884 "breakpoint auto-hw" on and off and both "always-inserted" on and
5885 off.
5886
35a49624
IB
58872014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5888
5889 * gdb.dlang/demangle.exp: Update for demangling changes.
5890
2d1c107c
SC
58912014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5892
5893 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5894 * gdb.cp/non-trivial-retval.exp: Add new tests.
5895
778811d5
SC
58962014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5897
5898 PR c++/13403
5899 PR c++/15154
5900 * gdb.cp/non-trivial-retval.cc: New file.
5901 * gdb.cp/non-trivial-retval.exp: New file.
5902
10c5f0a8
YQ
59032014-10-15 Yao Qi <yao@codesourcery.com>
5904
5905 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5906 remote host.
5907
65d7b369
YQ
59082014-10-15 Yao Qi <yao@codesourcery.com>
5909
5910 * gdb.python/py-symbol.exp: Match file base name if host is
5911 remote, otherwise match file name with dir name.
5912 * gdb.python/py-symtab.exp: Likewise.
5913 * gdb.python/python.exp: Likewise.
5914
46dc1394
YQ
59152014-10-15 Yao Qi <yao@codesourcery.com>
5916
5917 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5918 pattern.
5919 * gdb.python/py-symtab.exp: Likewise.
5920 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5921 locationn.
5922
c40cc657
JB
59232014-10-14 Joel Brobecker <brobecker@adacore.com>
5924
5925 * gdb.ada/addr_arith: New testcase.
5926
2abf49e1
MR
59272014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5928
5929 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5930 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5931 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5932 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5933
f7088df3
SDJ
59342014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5935
5936 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5937 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5938 * gdb.arch/stap-eval-lang-ada.exp: New file.
5939
4dc06805
YQ
59402014-10-14 Yao Qi <yao@codesourcery.com>
5941
5942 * gdb.mi/mi-var-child.c (nothing1): New function.
5943 (nothing2): New function.
5944 (do_children_tests): Set function pointers by nothing1 and
5945 nothing2.
5946 * gdb.mi/mi-var-child.exp: Step over new added statements.
5947 Update test to match the new output.
5948 * gdb.mi/var-cmd.c (nothing1): New function.
5949 (nothing2): New function.
5950 (do_children_tests): Set function pointers by nothing1 and
5951 nothing2.
5952 * gdb.mi/mi-var-display.exp: Update test to match output.
5953 Step to the line specified by $line_dct_nothing.
5954 Increase the number of lines to step.
5955
46a93de2
YQ
59562014-10-14 Yao Qi <yao@codesourcery.com>
5957
5958 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5959 tests.
5960 * gdb.mi/mi2-var-child.exp: Likewise.
5961
14ea52ee
DE
59622014-10-13 Doug Evans <dje@google.com>
5963
5964 * gdb.python/py-objfile.exp: Change name of file name test.
5965
e5c6e92b
DE
59662014-10-13 Doug Evans <dje@google.com>
5967
5968 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5969 from the start of the CU.
5970
c780cc2f
JK
59712014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5972 Yao Qi <yao@codesourcery.com>
5973
5974 Fix "save breakpoints" for "catch" command.
5975 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5976 Remove -nonewline. Match also the added "main" line.
5977
99894e11
JK
59782014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5979
5980 Fix "save breakpoints" for "disable $bpnum" command.
5981 * gdb.base/save-bp.c (main): Add label.
5982 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5983
6e1ac5a3
JK
59842014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5985
5986 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5987
754dd2b0
YQ
59882014-10-11 Yao Qi <yao@codesourcery.com>
5989
5990 * gdb.server/server-kill.exp: Execute command
5991 "set remote trace-status-packet on" before "tstatus".
5992
f90183d7
YQ
59932014-10-11 Yao Qi <yao@codesourcery.com>
5994
5995 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5996 (main): Call getppid.
5997 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5998 and continue to it. Read variable "server_pid".
5999
bf40a607
YQ
60002014-10-11 Yao Qi <yao@codesourcery.com>
6001
6002 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6003
052ca370
YQ
60042014-10-11 Yao Qi <yao@codesourcery.com>
6005
6006 * gdb.threads/thread-find.exp: Don't execute command
6007 "info threads".
6008 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6009 * gdb.threads/linux-dp.exp: Don't check the condition
6010 $threads_created equals to zero.
6011
3831839c
PA
60122014-10-10 Pedro Alves <palves@redhat.com>
6013
6014 * gdb.base/bigcore.exp: Remove references to IRIX.
6015 * gdb.base/funcargs.exp: Likewise.
6016 * gdb.base/interrupt.exp: Likewise.
6017 * gdb.base/mips_pro.exp: Likewise.
6018 * gdb.base/nodebug.exp: Likewise.
6019 * gdb.base/setvar.exp: Likewise.
6020 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6021
8b9a549d
PA
60222014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6023 Pedro Alves <palves@redhat.com>
6024
6025 PR symtab/14466
6026 * gdb.base/vdso-warning.c: New file.
6027 * gdb.base/vdso-warning.exp: New file.
6028
d48ba5e8
DE
60292014-10-02 Doug Evans <dje@google.com>
6030
6031 * gdb.base/structs.c (main): Don't run forever.
6032
2278c276
PA
60332014-10-02 Pedro Alves <palves@redhat.com>
6034
6035 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6036 (top level) <stop threads 1, stop threads 2>: Use it.
6037
b57bacec
PA
60382014-10-02 Pedro Alves <palves@redhat.com>
6039
6040 * gdb.threads/break-while-running.exp (test): Add new
6041 'update_thread_list' argument. Skip "info threads" if false.
6042 (top level): Add new 'update_thread_list' axis.
6043
13fd3ff3
PA
60442014-10-02 Pedro Alves <palves@redhat.com>
6045
6046 PR breakpoints/17431
6047 * gdb.base/execl-update-breakpoints.c: New file.
6048 * gdb.base/execl-update-breakpoints.exp: New file.
6049
0fec99e8
PA
60502014-10-01 Pedro Alves <palves@redhat.com>
6051
6052 * gdb.base/breakpoint-in-ro-region.c: New file.
6053 * gdb.base/breakpoint-in-ro-region.exp: New file.
6054
2ddf4301
SM
60552014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6056
6057 * gdb.mi/mi-exit-code.exp: New file.
6058 * gdb.mi/mi-exit-code.c: New file.
6059
6a5f3f43
YQ
60602014-09-30 Yao Qi <yao@codesourcery.com>
6061
6062 * lib/prelink-support.exp (build_executable_own_libs): Error if
6063 the target isn't native.
6064
345bcc73
YQ
60652014-09-30 Yao Qi <yao@codesourcery.com>
6066
6067 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6068 false.
6069
a25a5a45
PA
60702014-09-22 Pedro Alves <palves@redhat.com>
6071
6072 * gdb.threads/break-while-running.exp: New file.
6073 * gdb.threads/break-while-running.c: New file.
6074
00ba3162
YQ
60752014-09-19 Yao Qi <yao@codesourcery.com>
6076
6077 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6078 Invoke test. Restart GDB with --readnow and invoke test again.
6079
c3b7b696
YQ
60802014-09-19 Yao Qi <yao@codesourcery.com>
6081
6082 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6083 proc set_breakpoint_on_gcd_function. Invoke
6084 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6085 invoke set_breakpoint_on_gcd_function again.
6086
2b4fd423
DE
60872014-09-18 Doug Evans <dje@google.com>
6088
6089 * gdb.dwarf2/symtab-producer.exp: New file.
6090
a5947601
SDJ
60912014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6092
6093 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6094 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6095 * gdb.base/global-var-nested-by-dso.c: Likewise.
6096 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6097
91c19059
SDJ
60982014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6099 Pedro Alves <palves@redhat.com>
6100
6101 * gdb.base/watch-bitfields.exp: Pass string other than test file
6102 name to prepare_for_testing.
6103 (watch): New procedure.
6104 (expect_watchpoint): Use with_test_prefix.
6105 (top level): Factor out tests to ...
6106 (test_watch_location, test_regular_watch): ... these new
6107 procedures, and use with_test_prefix and gdb_continue_to_end.
6108
bb9d5f81
PP
61092014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6110
6111 PR breakpoints/12526
6112 * gdb.base/watch-bitfields.exp: New file.
6113 * gdb.base/watch-bitfields.c: New file.
6114
635856f5
PA
61152014-09-16 Pedro Alves <palves@redhat.com>
6116
6117 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6118 software and hardware addresses, not software address against
6119 itself.
6120
7280ceea
PA
61212014-09-16 Pedro Alves <palves@redhat.com>
6122
6123 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6124 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6125
428b16bd
PA
61262014-09-16 Pedro Alves <palves@redhat.com>
6127
6128 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6129 files.
6130 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6131 "*-*-vxworks*" throughout.
6132 * gdb.base/break.exp: Likewise.
6133 * gdb.base/default.exp: Likewise.
6134 * gdb.base/scope.exp: Likewise.
6135 * gdb.base/sepdebug.exp: Likewise.
6136 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6137 throughout.
6138 * gdb.base/run.c: Likewise.
6139 * gdb.base/sepdebug.c: Likewise.
6140 * gdb.hp/gdb.aCC/run.c: Likewise.
6141 * gdb.reverse/until-reverse.c: Likewise.
6142 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6143
666d413c
YQ
61442014-09-16 Yao Qi <yao@codesourcery.com>
6145
6146 * boards/local-remote-host-native.exp: New file.
6147
57cbd724
DE
61482014-09-14 Doug Evans <xdje42@gmail.com>
6149
6150 * gdb.threads/queue-signal.c (thread_count): New variable.
6151 (thread_count_mutex, thread_count_condvar): New variables.
6152 (incr_thread_count, wait_all_threads_running): New functions.
6153 (main): Wait for all threads to be in their thread functions.
6154
81219e53
DE
61552014-09-13 Doug Evans <xdje42@gmail.com>
6156
6157 * gdb.threads/queue-signal.c: New file.
6158 * gdb.threads/queue-signal.exp: New file.
6159
3714cea7
DE
61602014-09-13 Doug Evans <xdje42@gmail.com>
6161
6162 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6163 be consistent with what default_gdb_init uses.
6164 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6165 the plain text of the prompt. Add some logging printfs.
6166 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6167
fa43b1d7
PA
61682014-09-12 Pedro Alves <palves@redhat.com>
6169
6170 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6171 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6172 * gdb.arch/i386-size-overlap.exp: Likewise.
6173 * gdb.arch/i386-size.exp: Likewise.
6174 * gdb.arch/i386-unwind.exp: Likewise.
6175 * gdb.base/a2-run.exp: Likewise.
6176 * gdb.base/break.exp: Likewise.
6177 * gdb.base/charset.exp: Likewise.
6178 * gdb.base/chng-syms.exp: Likewise.
6179 * gdb.base/commands.exp: Likewise.
6180 * gdb.base/dbx.exp: Likewise.
6181 * gdb.base/find.exp: Likewise.
6182 * gdb.base/funcargs.exp: Likewise.
6183 * gdb.base/jit-simple.exp: Likewise.
6184 * gdb.base/reread.exp: Likewise.
6185 * gdb.base/sepdebug.exp: Likewise.
6186 * gdb.base/step-bt.exp: Likewise.
6187 * gdb.cp/mb-inline.exp: Likewise.
6188 * gdb.cp/mb-templates.exp: Likewise.
6189 * gdb.objc/basicclass.exp: Likewise.
6190 * gdb.threads/killed.exp: Likewise.
6191
9d9bf2df
EBM
61922014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6193
6194 PR tdep/17379
6195 * gdb.arch/powerpc-stackless.S: New file.
6196 * gdb.arch/powerpc-stackless.exp: New file.
6197
1cf2f1b0
JK
61982014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6199
6200 * gdb.base/attach.c: Include unistd.h.
6201 (main): Call alarm. Add label postloop.
6202 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6203 gdb_breakpoint, gdb_continue_to_breakpoint.
6204 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6205
98880d46
PA
62062014-09-11 Pedro Alves <palves@redhat.com>
6207
6208 PR gdb/17347
6209 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6210 * gdb.base/attach.exp (test_command_line_attach_run): New
6211 procedure.
6212 (top level): Call it.
6213
4c92ff2c
PA
62142014-09-11 Pedro Alves <palves@redhat.com>
6215
6216 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6217 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6218 (do_command_attach_tests): Use spawn_wait_for_attach.
6219 * gdb.base/solib-overlap.exp: Likewise.
6220 * gdb.multi/multi-attach.exp: Likewise.
6221 * gdb.python/py-prompt.exp: Likewise.
6222 * gdb.python/py-sync-interp.exp: Likewise.
6223 * gdb.server/ext-attach.exp: Likewise.
6224
3adc1a7d
GKB
62252014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6226
6227 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6228 command in testcase. Simplify testcase.
6229
96334934
JB
62302014-09-10 Joel Brobecker <brobecker@adacore.com>
6231
6232 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6233
eb479039
JB
62342014-09-10 Joel Brobecker <brobecker@adacore.com>
6235
6236 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6237
deede10c
JB
62382014-09-10 Joel Brobecker <brobecker@adacore.com>
6239
6240 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6241
7828a5f5
JB
62422014-09-10 Joel Brobecker <brobecker@adacore.com>
6243
6244 * gdb.dwarf2/dynarr-ptr.c: New file.
6245 * gdb.dwarf2/dynarr-ptr.exp: New file.
6246
33aeebcf
MR
62472014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6248
6249 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6250 of 30 rather than hardcoding 120 for a slow test case. Take the
6251 `gdb,timeout' target setting into account for this calculation.
6252 Don't extend the timeout for the test cases that don't need it.
6253
7b415901
MR
62542014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6255
6256 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6257 a factor of 2 for a slow test case. Take the `gdb,timeout'
6258 target setting into account for this calculation.
6259 * gdb.reverse/until-precsave.exp: Increase the timeout by
6260 a factor of 15 and 3 respectively rather than adding 120
6261 for a pair of slow test cases. Take the `gdb,timeout'
6262 target setting into account for this calculation.
6263
4a40f85a
MR
62642014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6265
6266 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6267 timeout, don't pass one down to gdb_expect.
6268 (gdb_expect): Rework timeout selection.
6269
09635af7
MR
62702014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6271
6272 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6273 exception on timeout.
6274 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6275 (gdbserver_start_extended): Catch any `gdbserver_start' error
6276 exceptions.
6277 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6278 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6279 `gdbserver_gdb_load' error exceptions.
6280
2bdd10b7
MR
62812014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6282
6283 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6284 120 on waiting for the TCP socket to open.
6285
316935f0
DE
62862014-09-09 Doug Evans <xdje42@gmail.com>
6287
6288 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6289 _caller_matches, _any_caller_is, _any_caller_matches.
6290
83740597
DE
62912014-09-09 Doug Evans <xdje42@gmail.com>
6292
6293 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6294
4c122fc3
YQ
62952014-09-09 Yao Qi <yao@codesourcery.com>
6296
6297 * gdb.mi/mi-var-display.exp: Set print symbol off.
6298
a9f116cb
GKB
62992014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6300
6301 PR gdb/17035
6302 * gdb.base/commands.exp: Add tests to verify user-defined
6303 commands with empty bodies.
6304 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6305 python commands in `show user command`.
6306 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6307 scheme commands in `show user command`.
6308
c75bd3a2
JK
63092014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6310
6311 PR python/17355
6312 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6313 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6314 * gdb.python/py-framefilter-invalidarg.exp: New file.
6315 * gdb.python/py-framefilter-invalidarg.py: New file.
6316
faa42425
DE
63172014-09-06 Doug Evans <xdje42@gmail.com>
6318
6319 PR 15276
6320 * gdb.python/py-caller-is.c: New file.
6321 * gdb.python/py-caller-is.exp: New file.
6322
474ca4f6
SDJ
63232014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6324
6325 PR gdb/17235
6326 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6327 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6328
eb0b0463
SDJ
63292014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6330
6331 PR fortran/17237
6332 * gdb.fortran/print-formatted.exp: New file.
6333 * gdb.fortran/print-formatted.f90: Likewise.
6334
5f3b99cf
SS
63352014-09-03 Sasha Smundak <asmundak@google.com>
6336
6337 * gdb.python/py-frame.exp: Test Frame.read_register.
6338
7d793aa9
SDJ
63392014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6340
6341 PR python/16699
6342 * gdb.python/py-completion.exp: New file.
6343 * gdb.python/py-completion.py: Likewise.
6344
fb0576e9
DE
63452014-08-28 Doug Evans <dje@google.com>
6346
6347 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6348 eax,etc. are live with values set by gdb and thus the compiler can't
6349 use them.
6350 * gdb.arch/i386-pseudo.c (main): Ditto.
6351
ee92b0dd
DE
63522014-08-27 Doug Evans <dje@google.com>
6353
6354 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6355
6649db35
DE
63562014-08-25 Doug Evans <dje@google.com>
6357
6358 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6359 (main): Ditto.
6360
564b7600
DE
63612014-08-25 Doug Evans <dje@google.com>
6362
6363 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6364
3881fb67
YQ
63652014-08-24 Yao Qi <yao@codesourcery.com>
6366
6367 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6368 symbol off.
6369 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6370
a05a36a5
DE
63712014-08-22 Doug Evans <dje@google.com>
6372
6373 PR 17276
6374 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6375 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6376 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6377
7c343b48
YQ
63782014-08-22 Yao Qi <yao@codesourcery.com>
6379
6380 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6381 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6382 * gdb.python/python.exp: Likewise. Use .py file on the host
6383 instead of the build.
6384
22fd09ae
JK
63852014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6386
6387 * gdb.threads/gcore-stale-thread.c: New file.
6388 * gdb.threads/gcore-stale-thread.exp: New file.
6389
a8454a7c
PA
63902014-08-21 Pedro Alves <palves@redhat.com>
6391
6392 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6393 * gdb.base/gcore-relro-pie.exp: Likewise.
6394 * gdb.base/gcore-relro.exp: Likewise.
6395 * gdb.base/gcore.exp: Likewise.
6396 * gdb.base/print-symbol-loading.exp: Likewise.
6397 * gdb.threads/gcore-thread.exp: Likewise.
6398 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6399
2a31c623
PA
64002014-08-20 Pedro Alves <palves@redhat.com>
6401 Jan Kratochvil <jan.kratochvil@redhat.com>
6402
6403 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6404 configure.
6405 (EXPECT): Handle READ1 being set.
6406 (all): Depend on EXTRA_RULES.
6407 (check-read1, expect-read1, read1.so, read1): New rules.
6408 * README (Testsuite Parameters): Document the READ1 make variable.
6409 (Race detection): New section.
6410 * configure: Regenerate.
6411 * configure.ac: If build==host==target, and running under a
6412 GNU/glibc system, add read1 to the extra Makefile rules.
6413 (EXTRA_RULES): AC_SUBST it.
6414 * lib/read1.c: New file.
6415
d36430db
JB
64162014-08-20 Joel Brobecker <brobecker@adacore.com>
6417
6418 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6419 the handling of variables declared as a typedef to an array
6420 which a DW_AT_data_location attribute.
6421
9a0dc9e3
PA
64222014-08-19 Andrew Burgess <aburgess@broadcom.com>
6423 Pedro Alves <palves@redhat.com>
6424
6425 PR symtab/14604
6426 PR symtab/14605
6427 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6428 gdb_test.
6429
0718a8da
PA
64302014-08-19 Pedro Alves <palves@redhat.com>
6431
6432 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6433
13b448cd
YQ
64342014-08-19 Yao Qi <yao@codesourcery.com>
6435
6436 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6437 right line.
6438
1cbf5077
DB
64392014-08-18 David Blaikie <dblaikie@gmail.com>
6440
6441 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6442
bf0fae19
JB
64432014-08-18 Joel Brobecker <brobecker@adacore.com>
6444
6445 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6446 attribute in array range.
6447
3c8c5dcc
JB
64482014-08-18 Joel Brobecker <brobecker@adacore.com>
6449
6450 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6451
e66d4446
SC
64522014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6453
6454 PR c++/17132
6455 * gdb.cp/pr17132.cc: New file.
6456 * gdb.cp/pr17132.exp: New file.
6457
940df408
SC
64582014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6459
6460 * gdb.python/py-xmethods.py (A_getarrayind)
6461 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6462 Use 'print' with function call syntax.
6463 (E_method_matcher.match): Fix tab vs space indentation mixup.
6464
ebcc6c3a
YQ
64652014-08-15 Yao Qi <yao@codesourcery.com>
6466
6467 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6468 false.
6469
775e0f04
YQ
64702014-08-15 Yao Qi <yao@codesourcery.com>
6471
6472 * gdb.cp/casts.exp: Set print symbol off.
6473 * gdb.cp/class2.exp: Likewise.
6474 * gdb.cp/overload.exp: Likewise.
6475 * gdb.cp/templates.exp: Likewise.
6476
d769e349
DE
64772014-08-11 Doug Evans <dje@google.com>
6478
6479 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6480 (test_load_shlib): Update.
6481
20c6f1e1
YQ
64822014-08-09 Yao Qi <yao@codesourcery.com>
6483
6484 * gdb.base/display.exp: Invoke is_address_zero_readable.
6485 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6486 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6487 * gdb.base/hbreak-unmapped.exp: Return if
6488 is_address_zero_readable returns true.
6489 * gdb.base/signest.exp: Likewise.
6490 * gdb.base/signull.exp: Likewise.
6491 * gdb.base/sigbpt.exp: Likewise.
6492 * gdb.guile/scm-disasm.exp: Do the test if
6493 is_address_zero_readable returns false.
6494 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6495 * gdb.python/py-arch.exp: Likewise.
6496 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6497 * lib/gdb.exp (is_address_zero_readable): New proc.
6498
5792e8e3
YQ
64992014-08-09 Yao Qi <yao@codesourcery.com>
6500
6501 PR testsuite/13443
6502 * gdb.mi/mi-var-display.exp: Make test messages unique.
6503
3cecbbbe
TT
65042014-08-04 Tom Tromey <tromey@redhat.com>
6505
6506 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6507 target 0".
6508
00b51ff5
TT
65092014-08-04 Tom Tromey <tromey@redhat.com>
6510
6511 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6512 "target_resume".
6513
6908c509
JB
65142014-08-01 Joel Brobecker <brobecker@adacore.com>
6515
6516 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6517 inner_vla_struct_object_size.
6518 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6519 as xfail.
6520
cc6563d2
PA
65212014-07-30 Pedro Alves <palves@redhat.com>
6522
6523 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6524 comment.
6525
7e09a223
YQ
65262014-07-29 Yao Qi <yao@codesourcery.com>
6527
6528 PR gdb/17206
6529 * gdb.base/until-nodebug.exp: New.
6530
7ebdbe92
DE
65312014-07-28 Doug Evans <xdje42@gmail.com>
6532
6533 PR guile/17203
6534 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6535 previously existing parameter, and previously ambiguously spelled
6536 parameter.
6537
fdb1adc6
WN
65382014-07-28 Will Newton <will.newton@linaro.org>
6539
6540 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6541
186fcde0
DE
65422014-07-26 Ludovic Courtès <ludo@gnu.org>
6543 Doug Evans <xdje42@gmail.com>
6544
6545 PR guile/17146
6546 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6547
70509625
PA
65482014-07-25 Pedro Alves <palves@redhat.com>
6549
6550 * gdb.threads/signal-command-handle-nopass.c: New file.
6551 * gdb.threads/signal-command-handle-nopass.exp: New file.
6552 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6553 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6554 * gdb.threads/signal-delivered-right-thread.c: New file.
6555 * gdb.threads/signal-delivered-right-thread.exp: New file.
6556
c3f814a1
PA
65572014-07-25 Pedro Alves <palves@redhat.com>
6558
6559 * gdb.base/double-prompt-target-event-error.exp
6560 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6561 match.
6562 (cancel_pagination_in_target_event): Rework double prompt
6563 detection.
6564 * gdb.base/paginate-after-ctrl-c-running.exp
6565 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6566 <return>' match.
6567 * gdb.base/paginate-bg-execution.exp
6568 (test_bg_execution_pagination_return)
6569 (test_bg_execution_pagination_cancel): Remove '-notransfer
6570 <return>' matches.
6571 * gdb.base/paginate-execution-startup.exp
6572 (test_fg_execution_pagination_return)
6573 (test_fg_execution_pagination_cancel): Remove '-notransfer
6574 <return>' matches.
6575 * gdb.base/paginate-inferior-exit.exp
6576 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6577 match.
6578 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6579 * lib/gdb.exp (pagination_prompt): Run text through
6580 string_to_regexp.
6581 (gdb_test_multiple): Match $pagination_prompt instead of
6582 "<return>".
6583 (string_to_regexp): Move to lib/gdb-utils.exp.
6584
e214cf6c
JK
65852014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6586
6587 * gdb.arch/amd64-entry-value-paramref.S: New file.
6588 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6589 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6590 * gdb.arch/amd64-optimout-repeat.S: New file.
6591 * gdb.arch/amd64-optimout-repeat.c: New file.
6592 * gdb.arch/amd64-optimout-repeat.exp: New file.
6593
17d0c5c8
JK
65942014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6595
6596 PR gdb/17170
6597 * gdb.base/statistics.exp: New file.
6598
b8b8facf
DE
65992014-07-17 Doug Evans <dje@google.com>
6600
74b49205 6601 PR gdb/17170
b8b8facf
DE
6602 * gdb.base/maint.exp: Update testing of per-command stats.
6603
1b5d0ab3
PA
66042014-07-16 Pedro Alves <palves@redhat.com>
6605
6606 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6607 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6608 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6609 (tfile_write_buf): New functions.
6610 (add_memory_block): Rewrite using the above.
6611 (adjust_function_address): New function.
6612 (FUNCTION_ADDRESS): New macro.
6613 (write_basic_trace_file): Remove short_x local, and use
6614 tfile_write_16. Change type of func_addr local to unsigned long
6615 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6616 here. Cast argument of add_memory_block to char pointer.
6617 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6618 (main): Remove parameters.
6619 * gdb.trace/tfile.exp: Remove nowarnings.
6620
4d974e88
SM
66212014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6622
6623 * gdb.base/debug-expr.exp: Test string evaluation with
6624 "debug expression" on.
6625
41e99568
PA
66262014-07-15 Pedro Alves <palves@redhat.com>
6627
6628 * gdb.base/reread.exp: Use clean_restart.
6629
487d9753
PL
66302014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6631
6632 * gdb.arch/avr-flash-qualifer.c: New.
6633 * gdb.arch/avr-flash-qualifer.exp: New.
6634
cc1c52ad
PA
66352014-07-14 Pedro Alves <palves@redhat.com>
6636
6637 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6638 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6639
1e973570
PA
66402014-07-14 Pedro Alves <palves@redhat.com>
6641
6642 * gdb.base/double-prompt-target-event-error.c: New file.
6643 * gdb.base/double-prompt-target-event-error.exp: New file.
6644
93d6eb10
PA
66452014-07-14 Pedro Alves <palves@redhat.com>
6646
6647 PR gdb/17072
6648 * gdb.base/paginate-inferior-exit.c: New file.
6649 * gdb.base/paginate-inferior-exit.exp: New file.
6650
0017922d
PA
66512014-07-14 Pedro Alves <palves@redhat.com>
6652
6653 PR gdb/17072
6654 * gdb.base/paginate-bg-execution.c: New file.
6655 * gdb.base/paginate-bg-execution.exp: New file.
6656
94696ad3
PA
66572014-07-14 Pedro Alves <palves@redhat.com>
6658
6659 PR gdb/17072
6660 * gdb.base/paginate-execution-startup.c: New file.
6661 * gdb.base/paginate-execution-startup.exp: New file.
6662 * lib/gdb.exp (pagination_prompt): New global.
6663 (default_gdb_spawn): New procedure, factored out from
6664 default_gdb_spawn.
6665 (default_gdb_start): Adjust to call default_gdb_spawn.
6666 (gdb_spawn): New procedure.
6667
bd293940
PA
66682014-07-14 Pedro Alves <palves@redhat.com>
6669
6670 * lib/gdb.exp (gdb_assert): New procedure.
6671 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6672
c933f875
PA
66732014-07-14 Pedro Alves <palves@redhat.com>
6674
6675 * gdb.base/execution-termios.c: New file.
6676 * gdb.base/execution-termios.exp: New file.
6677
d98b7a16
TT
66782014-07-14 Tom Tromey <tromey@redhat.com>
6679
6680 * gdb.cp/vla-cxx.cc: New file.
6681 * gdb.cp/vla-cxx.exp: New file.
6682
548740d6
TT
66832014-07-14 Tom Tromey <tromey@redhat.com>
6684
6685 * gdb.reverse/rerun-prec.c: New file.
6686 * gdb.reverse/rerun-prec.exp: New file.
6687
a25eb028
MR
66882014-07-12 Maciej W. Rozycki <macro@mips.com>
6689 Maciej W. Rozycki <macro@codesourcery.com>
6690
6691 * lib/gdb-utils.exp: New file.
6692 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6693 inline `gdb_init_command' processing.
6694 (gdb_start_cmd): Likewise.
6695 * lib/mi-support.exp (mi_run_cmd): Likewise.
6696 * README: Document `gdb_init_command' and `gdb_init_commands'.
6697
218c2655
JK
66982014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6699
6700 Fix false FAIL running under a very long directory name.
6701 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6702 and "set print elements 10000". Twice.
6703
5401fde3
YQ
67042014-07-11 Yao Qi <yao@codesourcery.com>
6705
6706 * gdb.base/exprs.exp: "set print symbol off".
6707
e76126e8
PA
67082014-07-11 Pedro Alves <palves@redhat.com>
6709
6710 * gdb.threads/kill.c: New file.
6711 * gdb.threads/kill.exp: New file.
6712
2d6f0de6
YQ
67132014-07-10 Yao Qi <yao@codesourcery.com>
6714
6715 * gdb.trace/tfile.c (write_basic_trace_file)
6716 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6717 address written to trace file.
6718
7180e04a
PA
67192014-07-09 Pedro Alves <palves@redhat.com>
6720
6721 * gdb.base/attach-wait-input.exp: New file.
6722 * gdb.base/attach-wait-input.c: New file.
6723
9a9a7608
AB
67242014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6725
6726 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6727 setting up test structures.
6728 (main): Call new test function.
6729 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6730 test function, continue into test function and walk test
6731 structures.
6732
161ac41e
YQ
67332014-07-02 Yao Qi <yao@codesourcery.com>
6734
6735 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6736 'bar_start' at the beginning of functions 'foo' and 'bar'
6737 respectively.
6738 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6739 instead of 'foo' and 'bar'.
6740
1f267ae3
MM
67412014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6742
6743 * gdb.btrace/segv.exp: New.
6744 * gdb.btrace/segv.c: New.
6745
2b239efb
LM
67462014-07-02 Luis Machado <lgustavo@codesourcery.com>
6747
6748 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6749 instruction.
6750
cf363f18
MW
67512014-06-30 Mark Wielaard <mjw@redhat.com>
6752
6753 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6754 vulture, vilify, villar): New volatile array constants.
6755 (vindictive, vegetation): New const volatile array constants.
6756 * gdb.base/volatile.exp: Test volatile and const volatile array
6757 types.
6758
aebf9d24
AA
67592014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6760
6761 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6762 target lacks support for awatch, rwatch, or hbreak.
6763
b67a2c6f
YQ
67642014-06-27 Yao Qi <yao@codesourcery.com>
6765
6766 * gdb.multi/dummy-frame-restore.exp: New.
6767 * gdb.multi/dummy-frame-restore.c: New.
6768
aef92902
MM
67692014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6770
6771 * gdb.btrace/gcore.exp: New.
6772
8e9db26e
PA
67732014-06-23 Pedro Alves <palves@redhat.com>
6774
6775 * gdb.base/watchpoint-reuse-slot.c: New file.
6776 * gdb.base/watchpoint-reuse-slot.exp: New file.
6777
70afc5b7
SC
67782014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6779
6780 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6781 progspace's filename in 'info', 'enable' and 'disable' command
6782 tests.
6783
b972bd9c
JK
67842014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6785
6786 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6787 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6788 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6789
125f8a3d
GB
67902014-06-20 Gary Benson <gbenson@redhat.com>
6791
6792 * gdb.arch/i386-avx.exp: Fix include file location.
6793 * gdb.arch/i386-sse.exp: Likewise.
6794
3ed9baed
IB
67952014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6796
6797 * gdb.dlang/expression.exp: New file.
6798
034f788c
PA
67992014-06-19 Pedro Alves <palves@redhat.com>
6800
6801 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6802 out from ...
6803 (top level): ... here. Iterate running tests under different
6804 scheduler-locking settings.
6805
45371d0c
LM
68062014-06-18 Luis Machado <lgustavo@codesourcery.com>
6807
6808 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6809 to DW_FORM_addr and use non-zero addresses.
6810
5d376983
SC
68112014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6812
6813 PR gdb/17017
6814 * gdb.python/py-xmethods.cc: Add global function call counters and
6815 increment them in their respective functions. Remove "cout"
6816 statements.
6817 * gdb.python/py-xmethods.exp: Make tests check the global function
6818 call counters instead of depending on inferior IO.
6819
a1aa2221
LM
68202014-06-18 Don Breazeal <donb@codesourcery.com>
6821
6822 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6823 Deleted procedure.
6824 (explicit_fork_parent_follow): Deleted procedure.
6825 (explicit_fork_child_follow): Deleted procedure.
6826 (test_follow_fork): New procedure.
6827 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 6828 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
6829 procedure calls.
6830
0fc05997
YQ
68312014-06-17 Yao Qi <yao@codesourcery.com>
6832
6833 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6834 CP1252.
6835
70795c52
LM
68362014-06-17 Luis Machado <lgustavo@codesourcery.com>
6837
6838 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6839 Initialize ptr and S explicitly.
6840 (skip_type_update_when_not_use_rtti_test): Likewise.
6841
6be47f0c
KS
68422014-06-16 Keith Seitz <keiths@redhat.com>
6843
6844 PR mi/15863
6845 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6846 the inferior is started.
6847
d03de421
PA
68482014-06-16 Pedro Alves <palves@redhat.com>
6849
6850 * gdb.base/break-main-file-remove-fail.c: New file.
6851 * gdb.base/break-main-file-remove-fail.exp: New file.
6852 * gdb.base/break-unload-file.exp: Use build_executable instead of
6853 prepare_for_testing.
6854 (test_break): New parameter "initial_load". Handle it.
6855 (top level): Add initial_load cmdline/file axis.
6856
f9579b99
TT
68572014-06-12 Tom Tromey <tromey@redhat.com>
6858
6859 * gdb.base/completion.exp: Don't use directory name in test.
6860
3657956b
GB
68612014-06-09 Gary Benson <gbenson@redhat.com>
6862
6863 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6864 separate the always-available ANSI-standard signals from the
6865 signals that require checking.
6866 (main): Likewise.
6867 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6868 Likewise.
6869 (main): Likewise.
6870
4186eb54
KS
68712014-06-07 Keith Seitz <keiths@redhat.com>
6872
6873 Revert:
6874 PR c++/16253
6875 * gdb.cp/var-tag.cc: New file.
6876 * gdb.cp/var-tag.exp: New file.
6877 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6878 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6879 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6880 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6881
25326a28 68822014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
6883
6884 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6885
829155c9
PA
68862014-06-06 Pedro Alves <palves@redhat.com>
6887
6888 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6889 in target debug output instead of looking at RSP packets,
6890 disabling the test on any target that uses hardware stepping.
6891 Update comments.
6892
61c8d22e
PA
68932014-06-06 Pedro Alves <palves@redhat.com>
6894
6895 * gdb.base/break-unload-file.exp: Fix typo.
6896
d9a47287
YQ
68972014-06-06 Yao Qi <yao@codesourcery.com>
6898
6899 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6900 from "jit_function" to "^jit_function".
6901
e5e01dbf
YQ
69022014-06-06 Yao Qi <yao@codesourcery.com>
6903
6904 * gdb.base/async.c (foo): Add one statement.
6905 * gdb.base/async.exp: Get the next instruction address and
6906 match the output of "nexti" by instruction address. Match
6907 the hex address in the output of "finish".
6908
73ba372c
GB
69092014-06-06 Gary Benson <gbenson@redhat.com>
6910
6911 * gdb.base/call-signals.c: Remove preprocessor conditionals
6912 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6913 SIGSEGV and SIGTERM.
6914 * gdb.base/sigall.c: Likewise.
6915 * gdb.base/unwindonsignal.c: Likewise.
6916 * gdb.reverse/sigall-reverse.c: Likewise.
6917
831517df
YQ
69182014-06-06 Yao Qi <yao@codesourcery.com>
6919
6920 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6921 readable, skip the test.
6922
b8b91e98
YQ
69232014-06-06 Yao Qi <yao@codesourcery.com>
6924
6925 * gdb.threads/staticthreads.c (thread_function): Move the line
6926 setting breakpoint on forward.
6927 * gdb.threads/staticthreads.exp: Update comments.
6928
fb934770
LC
69292014-06-05 Ludovic Courtès <ludo@gnu.org>
6930
6931 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6932 "history-append! type error".
6933
6ef284bd
SM
69342014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6935
6936 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6937 erroneous dprintf expected input.
6938
a872e241
DE
69392014-06-04 Doug Evans <xdje42@gmail.com>
6940
6941 * gdb.guile/scm-generics.exp: Delete.
6942
16f691fb
DE
69432014-06-04 Doug Evans <xdje42@gmail.com>
6944
6945 * gdb.guile/scm-breakpoint.exp: Update.
6946 Add tests for breakpoint registration.
6947
012370f6
TT
69482014-06-04 Tom Tromey <tromey@redhat.com>
6949
6950 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6951 VLA-in-union.
6952 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6953 inner_vla_struct, vla_union types. Initialize objects of those
6954 types and compute their sizes.
6955
9f5a4cef
HZ
69562014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6957 Hui Zhu <hui@codesourcery.com>
6958
6959 * gdb.base/fileio.exp: Add test for shell not available as well as
6960 available.
6961 * gdb.base/fileio.c (test_system): Check for shell twice.
6962
90a45c4d
YQ
69632014-06-04 Yao Qi <yao@codesourcery.com>
6964
6965 * gdb.base/auto-connect-native-target.exp: Remove redundant
6966 space from the regexp pattern.
6967
70017e41
YQ
69682014-06-04 Yao Qi <yao@codesourcery.com>
6969
6970 * gdb.base/default.exp: Replace "child" with "native" in
6971 regexp pattern.
6972
883964a7
SC
69732014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6974
6975 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6976 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6977 * gdb.python/py-xmethods.py: Python script supporting the
6978 new testcase and tests.
6979
ef370185
JB
69802014-06-03 Joel Brobecker <brobecker@adacore.com>
6981 Pedro Alves <palves@redhat.com>
6982
6983 PR breakpoints/17000
6984 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6985 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6986
1e2ccb61
BM
69872014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6988
6989 * gdb.base/subst.exp: Add tests to verify partial path matching
6990 output.
6991
c6ec5ab2
PA
69922014-06-03 Pedro Alves <palves@redhat.com>
6993
6994 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6995 target that doesn't use software single-stepping.
6996
835c559f
PA
69972014-06-03 Pedro Alves <palves@redhat.com>
6998
6999 PR breakpoints/17000
7000 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7001 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7002
06eb1586
DE
70032014-06-02 Doug Evans <xdje42@gmail.com>
7004
7005 * gdb.guile/scm-parameter.exp: New file.
7006
e698b8c4
DE
70072014-06-02 Doug Evans <xdje42@gmail.com>
7008
7009 * gdb.guile/scm-cmd.c: New file.
7010 * gdb.guile/scm-cmd.exp: New file.
7011
ded03782
DE
70122014-06-02 Doug Evans <xdje42@gmail.com>
7013
7014 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7015 pretty-printer lookup.
7016 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7017 (make-pp_s-printer): Call it.
7018 (make-pretty-printer-from-dict): New function.
7019 (lookup-pretty-printer-maker-from-dict): New function.
7020 (*pretty-printer*): Simplify.
7021 (make-objfile-pp_s-printer): New function.
7022 (install-objfile-pretty-printers!): New function.
7023 (make-progspace-pp_s-printer): New function.
7024 (install-progspace-pretty-printers!): New function.
7025 * gdb.guile/scm-progspace.c: New file.
7026 * gdb.guile/scm-progspace.exp: New file.
7027
41fac0cf
PA
70282014-06-02 Pedro Alves <palves@redhat.com>
7029
7030 * gdb.base/dprintf-bp-same-addr.c: New file.
7031 * gdb.base/dprintf-bp-same-addr.exp: New file.
7032
96ae5695
EBM
70332014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7034
7035 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7036 * gdb.arch/powerpc-power.s: Likewise.
7037
da02b3a8
JB
70382014-06-02 Joel Brobecker <brobecker@adacore.com>
7039
7040 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7041
c72b2e7b
YQ
70422014-06-01 Yao Qi <yao@codesourcery.com>
7043
7044 * gdb.base/watchpoint.exp (test_watch_location): Check null
7045 pointer can be dereferenced. If not, do the test, otherwise
7046 skip it.
7047
53e8a631
AB
70482014-05-30 Andrew Burgess <aburgess@broadcom.com>
7049
7050 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7051 results.
7052 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7053
938f0e2f
AB
70542014-05-30 Andrew Burgess <aburgess@broadcom.com>
7055
7056 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7057 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7058 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7059 * gdb.arch/amd64-invalid-stack-top.c: New file.
7060 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7061
9ba6657a
PA
70622014-05-30 Pedro Alves <palves@redhat.com>
7063
7064 PR breakpoints/17000
7065 * gdb.base/sss-bp-on-user-bp.c: New file.
7066 * gdb.base/sss-bp-on-user-bp.exp: New file.
7067
522c09bf
DB
70682014-05-30 David Blaikie <dblaikie@gmail.com>
7069
7070 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7071 gnu_inline semantics via attribute.
7072 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7073 source explicitly specifies the required semantics.
7074
bf4ef81e
MR
70752014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7076
7077 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7078
329ea579
PA
70792014-05-29 Pedro Alves <palves@redhat.com>
7080 Tom Tromey <tromey@redhat.com>
7081
7082 * gdb.base/async-shell.exp: Don't enable target-async.
7083 * gdb.base/async.exp
7084 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7085 parameter. Adjust.
7086 (top level): Don't test with "target-async".
7087 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7088 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7089 * gdb.base/inferior-died.exp: Don't enable target-async.
7090 * gdb.base/interrupt-noterm.exp: Likewise.
7091 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7092 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7093 * gdb.mi/mi-nonstop.exp: Likewise.
7094 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7095 * gdb.mi/mi-nsintrall.exp: Likewise.
7096 * gdb.mi/mi-nsmoribund.exp: Likewise.
7097 * gdb.mi/mi-nsthrexec.exp: Likewise.
7098 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7099 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7100 * gdb.python/py-evsignal.exp: Don't enable target-async.
7101 * gdb.python/py-evthreads.exp: Likewise.
7102 * gdb.python/py-prompt.exp: Likewise.
7103 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7104 * gdb.server/solib-list.exp: Don't enable target-async.
7105 * gdb.threads/thread-specific-bp.exp: Likewise.
7106 * lib/mi-support.exp: Adjust to use mi-async.
7107
fd664c91
PA
71082014-05-29 Pedro Alves <palves@redhat.com>
7109
7110 PR gdb/13860
7111 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7112 reason, even in sync mode.
7113
251bde03
PA
71142014-05-29 Pedro Alves <palves@redhat.com>
7115 Hui Zhu <hui@codesourcery.com>
7116
7117 PR PR15693
7118 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7119 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7120 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7121 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7122
7f3c0343
JB
71232014-05-28 Joel Brobecker <brobecker@adacore.com>
7124
7125 * config/monitor.exp (gdb_target_monitor): Replace use of
7126 "set remotebaud" by "set serial baud".
7127
b2715b27
AW
71282014-05-26 Andy Wingo <wingo@igalia.com>
7129
7130 * gdb.guile/scm-breakpoint.exp:
7131 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7132 properties instead of gdb-object-properties.
7133
498a4489
YQ
71342014-05-26 Yao Qi <yao@codesourcery.com>
7135
7136 * gdb.server/no-thread-db.exp: Specify source file name
7137 explicitly when setting a breakpoint.
7138
589fdceb
MM
71392014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7140
7141 * gdb.btrace/vdso.c: New.
7142 * gdb.btrace/vdso.exp: New.
7143
e9089e05
MM
71442014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7145
7146 * gdb.base/gcore.exp (capture_command_output): Move ...
7147 * lib/gdb.exp (capture_command_output): ... here.
7148
67b5c0c1
MM
71492014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7150
7151 * gdb.btrace/data.exp: Test memory access during btrace replay.
7152
a2199296
SM
71532014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7154
7155 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7156
17b2616c
PA
71572014-05-21 Pedro Alves <palves@redhat.com>
7158
7159 PR gdb/13860
7160 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7161 (top level): Test that output related to execution commands is
7162 sent to the console with CLI commands, but not with MI commands.
7163 Test that breakpoint events are always mirrored to the console.
7164 Also expect the new source line to be output after a "next" in
7165 async mode too. Make it a pass/fail test.
7166 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7167 output.
7168 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7169
5166082f
PA
71702014-05-21 Pedro Alves <palves@redhat.com>
7171
7172 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7173 Use them to test variations of "list" after reaching a breakpoint.
7174 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7175 Test "list" with listsize 10 after reaching a breakpoint.
7176 * gdb.python/python.exp (decode_line current location line
7177 number): Adjust expected line number.
7178
2f25d70f
SM
71792014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7180
7181 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7182 behavior for $args, pass it directly to "run".
7183
ff604a67
MR
71842014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7185
7186 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7187 30000 to 65536.
7188
6a3cb8e8
PA
71892014-05-21 Pedro Alves <palves@redhat.com>
7190
7191 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7192 auto-connect-native-target off".
7193 * gdb.base/auto-connect-native-target.c: New file.
7194 * gdb.base/auto-connect-native-target.exp: New file.
7195
4ebfc96e
PA
71962014-05-21 Pedro Alves <palves@redhat.com>
7197
7198 * gdb.base/default.exp: Test "target native" instead of "target
7199 child".
7200
36d46afb
MW
72012014-05-21 Mark Wielaard <mjw@redhat.com>
7202
7203 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7204
5876f503
JK
72052014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7206
7207 Fix TLS access for -static -pthread.
7208 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7209 <HAVE_TLS> (thread_function, main): Initialize it.
7210 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7211 Add clean_restart.
7212 <$have_tls != "">: Check TLSVAR.
7213
0256a6ac
PA
72142014-05-21 Pedro Alves <palves@redhat.com>
7215
7216 * gdb.base/dcache-line-read-error.c: New.
7217 * gdb.base/dcache-line-read-error.exp: New.
7218
936d2992
PA
72192014-05-20 Pedro Alves <palves@redhat.com>
7220
7221 * gdb.base/compare-sections.c: New file.
7222 * gdb.base/compare-sections.exp: New file.
7223
802e8e6d
PA
72242014-05-20 Pedro Alves <palves@redhat.com>
7225
7226 * gdb.base/break-idempotent.c: New file.
7227 * gdb.base/break-idempotent.exp: New file.
7228
e59fa00f
MM
72292014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7230
7231 * gdb.btrace/nohist.exp: New.
7232
8b696e31
YQ
72332014-05-20 Yao Qi <yao@codesourcery.com>
7234
7235 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7236 gdb.reverse directory and gdb_reverse_timeout exists in board
7237 setting.
7238 * README: Document gdb_reverse_timeout.
7239
73c9764f
YQ
72402014-05-20 Yao Qi <yao@codesourcery.com>
7241
7242 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7243 'test_file_name'. Treat args as a string instead of a list.
7244 (gdb_init): Rename argument 'args' by 'test_file_name'.
7245
f1f4348a
JK
72462014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7247
7248 * gdb.arch/powerpc-power.exp: New file.
7249 * gdb.arch/powerpc-power.s: New file.
7250
0dbe70ce
DE
72512014-05-16 Doug Evans <dje@google.com>
7252
7253 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
7254 * gdb.base/completion.exp: Check that all expected files exist
7255 before doing file completion.
0dbe70ce 7256
8d551b02
DE
72572014-05-16 Doug Evans <dje@google.com>
7258
7259 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7260 Update.
7261 (do_syscall_tests_without_xml): Update.
7262
73eb7709
PA
72632014-05-16 Pedro Alves <palves@redhat.com>
7264
7265 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7266 instead of "unknown output after running".
7267
3fae92fc
YQ
72682014-05-16 Yao Qi <yao@codesourcery.com>
7269
7270 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7271 file1.txt from host at the end.
7272 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7273
c2b2ccc5
DE
72742014-05-15 Doug Evans <dje@google.com>
7275
7276 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7277 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7278 loading file. Add test for TU lookup.
7279
8c217a4b
SM
72802014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7281
7282 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7283 calling "-exec-arguments" or "set args" before running the
7284 inferior.
7285
3deb39c6
SM
72862014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7287
7288 * lib/mi-support.exp (mi_expect_stop): Expect message for
7289 inferiors that exit with non-zero exit code.
7290
71a79f8c
YQ
72912014-05-14 Yao Qi <yao@codesourcery.com>
7292
7293 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7294 match absolute path on remote host.
7295 (test_file_list_exec_source_files): Remove "/" from the
7296 pattern.
7297
f23fcd46
YQ
72982014-05-14 Yao Qi <yao@codesourcery.com>
7299
7300 * boards/local-remote-host-notty.exp (${board}_file): New
7301 proc.
7302
9404b58f
KM
73032014-05-07 Kyle McMartin <kyle@redhat.com>
7304
7305 Pushed by Joel Brobecker <brobecker@adacore.com>.
7306 * gdb.arch/aarch64-atomic-inst.c: New file.
7307 * gdb.arch/aarch64-atomic-inst.exp: New file.
7308
5e45f04c
YQ
73092014-05-07 Yao Qi <yao@codesourcery.com>
7310
7311 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7312 in current context" too.
7313
c888a17d
KS
73142014-05-05 Keith Seitz <keiths@redhat.com>
7315
7316 * gdb.linespec/ls-dollar.exp: Add test for linespec
7317 file:convenience_variable.
7318
290a839c
YQ
73192014-05-05 Yao Qi <yao@codesourcery.com>
7320
7321 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7322 traceframes into tfile and ctf trace files. Read data from
7323 trace file and test collected data.
7324 (gdb_collect_locals_test): Likewise.
7325 (gdb_unavailable_registers_test): Likewise.
7326 (gdb_unavailable_floats): Likewise.
7327 (gdb_collect_globals_test): Likewise.
7328 (top-level): Append "ctf" to trace_file_targets if GDB
7329 supports.
7330
b5262cd0
YQ
73312014-05-05 Yao Qi <yao@codesourcery.com>
7332
7333 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7334 code to ...
7335 (gdb_collect_args_test_1): ... it. New proc.
7336 (gdb_collect_locals_test): Move some code to ...
7337 (gdb_collect_locals_test_1): ... it. New proc.
7338 (gdb_unavailable_registers_test): Move some code to ...
7339 (gdb_unavailable_registers_test_1): ... it. New proc.
7340 (gdb_unavailable_floats): Move some code to ...
7341 (gdb_unavailable_floats_1): ... it. New proc.
7342
30a1e6cc
SDJ
73432014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7344
7345 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7346 probes to test for bitness recognition.
7347 * gdb.arch/amd64-stap-optional-prefix.exp
7348 (test_probe_value_without_reg): New procedure.
7349 Add code to test for different kinds of bitness.
7350
f33da99a
SDJ
73512014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7352
7353 PR breakpoints/16889
7354 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7355 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7356
5b80f00d
PA
73572014-05-01 Pedro Alves <palves@redhat.com>
7358
7359 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7360 gdb_file_cmd if no file is specified.
7361 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7362 last_loaded_file to set the remote exec-file.
7363
f8c2a73c
PA
73642014-05-01 Pedro Alves <palves@redhat.com>
7365
7366 * boards/local-remote-host.exp: New file.
7367
be6e8ac7
PA
73682014-05-01 Pedro Alves <palves@redhat.com>
7369
7370 * boards/local-remote-host.exp: Rename to ...
7371 * boards/local-remote-host-notty.exp: ... this.
7372
cac0dc8f
JB
73732014-04-28 Joel Brobecker <brobecker@adacore.com>
7374
7375 * gdb.ada/dyn_arrayidx: New testcase.
7376
9730e6cc
YQ
73772014-04-26 Yao Qi <yao@codesourcery.com>
7378
7379 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7380 and compute the length of function main. Save it in
7381 $main_length.
7382 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7383 (top-level): Use gdb_compile to compile objects into
7384 executable and restart GDB. Remove invocation to
7385 prepare_for_testing.
7386
7ae1a6a6
PA
73872014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7388 Pedro Alves <palves@redhat.com>
7389
7390 PR server/16255
7391 * gdb.multi/multi-attach.c: New file.
7392 * gdb.multi/multi-attach.exp: New file.
7393
4082afcc
PA
73942014-04-25 Pedro Alves <palves@redhat.com>
7395
7396 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7397 user.
7398 (top level): Test that "set remote conditional-breakpoints-packet
7399 off" works as intended.
7400 * gdb.base/dprintf.exp: Test that "set remote
7401 breakpoint-commands-packet off" works as intended.
7402 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7403 New function.
7404 (top level): Call it.
7405 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7406 remote fast-tracepoints-packet off" works as intended.
7407 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7408 * lib/gdb.exp (gdb_is_target_remote): ... here.
7409
2abc3f8d
DB
74102014-04-24 David Blaikie <dblaikie@gmail.com>
7411
7412 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7413 ensure clang would not discard them.
7414 * gdb.base/gdbvars.c: Ditto.
7415 * gdb.base/memattr.c: Ditto.
7416 * gdb.base/whatis.c: Ditto.
7417 * gdb.python/py-prettyprint.c: Ditto.
7418 * gdb.trace/actions.c: Ditto.
7419 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7420 ensure clang would not discard it.
7421
bfd39632
DB
74222014-04-24 David Blaikie <dblaikie@gmail.com>
7423
7424 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7425 clang to emit the full definition of type required by the test
7426 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7427
22842ff6
DB
74282014-04-24 David Blaikie <dblaikie@gmail.com>
7429
7430 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7431 coax Clang into emitting the definition of the type.
7432 * gdb.cp/pr10728-x.h (y): Ditto.
7433 * gdb.cp/pr10728-y.cc (y): Ditto.
7434
c2e827ad
DB
74352014-04-24 David Blaikie <dblaikie@gmail.com>
7436
7437 * gdb.base/label.exp: XFAIL label related tests under Clang.
7438 * gdb.cp/cplabel.exp: Ditto.
7439 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7440 under Clang those using labels.
7441
4c2d33e7
YQ
74422014-04-25 Yao Qi <yao@codesourcery.com>
7443
7444 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7445 double_label.
7446 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7447 partial_label and double_label.
7448
56083b99
DB
74492014-04-24 David Blaikie <dblaikie@gmail.com>
7450
7451 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7452
25d4e99d
DB
74532014-04-24 David Blaikie <dblaikie@gmail.com>
7454
7455 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7456 of the function to work across GCC and Clang.
7457 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7458 pointer types (const void ** const V void **).
7459
01f9f808
MS
74602014-04-24 Michael Sturm <michael.sturm@mintel.com>
7461 Walfred Tedeschi <walfred.tedeschi@intel.com>
7462
7463 * Makefile.in (EXECUTABLES): Added i386-avx512.
7464 * gdb.arch/i386-avx512.c: New file.
7465 * gdb.arch/i386-avx512.exp: Likewise.
7466
4b48d439
KS
74672014-04-23 Keith Seitz <keiths@redhat.com>
7468
7469 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7470 (mi_make_breakpoint_table): New procedure.
7471 (mi_create_breakpoint): Use mi_make_breakpoint
7472 and return the result.
7473 (mi_make_breakpoint): New procedure.
7474 (mi_build_kv_pairs): New procedure.
7475
7476 * gdb.mi/mi-break.exp: Remove unused globals,
7477 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7478 All callers updated.
7479 * gdb.mi/mi-dprintf.exp: Use variable to track command
7480 number.
7481 Update all callers of mi_create_breakpoint and use
7482 mi_make_breakpoint_table.
7483 Remove any unused global variables.
7484 * gdb.mi/mi-nonstop.exp: Likewise.
7485 * gdb.mi/mi-nsintrall.exp: Likewise.
7486 * gdb.mi/mi-nsmoribund.exp: Likewise.
7487 * gdb.mi/mi-nsthrexec.exp: Likewise.
7488 * gdb.mi/mi-reverse.exp: Likewise.
7489 * gdb.mi/mi-simplerun.exp: Likewise.
7490 * gdb.mi/mi-stepn.exp: Likewise.
7491 * gdb.mi/mi-syn-frame.exp: Likewise.
7492 * gdb.mi/mi-until.exp: Likewise.
7493 * gdb.mi/mi-var-cp.exp: Likewise.
7494 * gdb.mi/mi-var-display.exp: Likewise.
7495 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7496 * gdb.mi/mi2-var-child.exp: Likewise.
7497 * gdb.mi/mi-vla-c99.exp: Likewise.
7498 * lib/mi-support.exp: Likewise.
7499
7500 From Ian Lance Taylor <iant@cygnus.com>:
7501 * lib/gdb.exp (parse_args): New procedure.
7502
08351840
PA
75032014-04-23 Pedro Alves <palves@redhat.com>
7504
7505 * gdb.base/break-unload-file.c: New file.
7506 * gdb.base/break-unload-file.exp: New file.
7507 * gdb.base/sym-file-lib.c (baz): New function.
7508 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7509 field.
7510 (load): Store the segment's mapped size.
7511 (unload): New function.
7512 (unload_shlib): New function.
7513 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7514 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7515 set a breakpoint at baz, and call it.
7516 * gdb.base/sym-file.exp: New tests for stale breakpoint
7517 instructions.
7518
076855f9
PA
75192014-04-23 Pedro Alves <palves@redhat.com>
7520
7521 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7522 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7523 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7524 * gdb.base/hbreak-unmapped.c: New file.
7525 * gdb.base/hbreak-unmapped.exp: New file.
7526 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7527 * lib/gdb.exp (gdb_is_target_remote): ... here.
7528
483805cf
PA
75292014-04-22 Pedro Alves <palves@redhat.com>
7530
7531 * gdb.base/consecutive-step-over.c: New file.
7532 * gdb.base/consecutive-step-over.exp: New file.
7533
06d97543
PA
75342014-04-22 Pedro Alves <palves@redhat.com>
7535
7536 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7537 instead of send_gdb/gdb_expect.
7538
b4429ea2
YQ
75392014-04-22 Yao Qi <yao@codesourcery.com>
7540
7541 * lib/trace-support.exp (generate_tracefile): New procedure.
7542 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7543 return 0.
7544 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7545 if generate_tracefile returns 1.
7546
51d48146
PA
75472014-04-18 Tom Tromey <palves@redhat.com>
7548 Pedro alves <tromey@redhat.com>
7549
7550 PR backtrace/15558
7551 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7552 with a backtrace limit.
7553 * gdb.python/py-frame-inline.exp: Test running to an inline
7554 function with a backtrace limit, and printing the newest frame.
7555 * gdb.python/py-frame-inline.c (main): Call f.
7556
bd1dce5f
MS
75572014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7558
7559 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7560
40d1a503
MS
75612014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7562
7563 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7564 Drop prefix from unsupported source file path.
7565
389b98f7
YQ
75662014-04-17 Yao Qi <yao@codesourcery.com>
7567
7568 * lib/gdb.exp (with_target_charset): New proc.
7569 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7570 with_target_charset.
7571 (test_print_strings): Likewise.
7572 (test_repeat_bytes): Likewise.
7573 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7574 for some tests.
7575
22869d73
KS
75762014-04-16 Keith Seitz <keiths@redhat.com>
7577
7578 PR gdb/15827
7579 * gdb.dwarf2/corrupt.c: New file.
7580 * gdb.dwarf2/corrupt.exp: New file.
7581
c4f87ca6
KS
75822014-04-16 Keith Seitz <keiths@redhat.com>
7583
7584 PR c++/16597
7585 * gdb.cp/namelessclass.cc: New file.
7586 * gdb.cp/namelessclass.exp: New file.
7587 * gdb.cp/namelessclass.S: New file.
7588
ab19de87
DE
75892014-04-16 Doug Evans <dje@google.com>
7590
7591 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7592 Add comment.
7593 (gdbserver_default_get_comm_port): New function.
7594 (gdbserver_start): Check if board file provided
7595 "gdbserver,get_comm_port" and use it if so.
7596 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7597 (gdb,socketport): Set to "stdio".
7598 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7599 (stdio_gdbserver_template): Delete.
7600 (${board}_get_remote_address): Update.
7601 (${board}_build_remote_cmd): Delete.
7602 (${board}_get_comm_port): New function.
7603 (${board}_spawn): Update.
7604 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7605 Delete.
7606 (${board}_get_remote_address): Update.
7607 (${board}_get_comm_port): New function.
7608
fc98a809
AB
76092014-04-16 Andrew Burgess <aburgess@broadcom.com>
7610
7611 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7612 appearing in any order.
7613
87fd9e6e
DE
76142014-04-15 Doug Evans <dje@google.com>
7615
7616 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7617 uninitialized value of "description".
7618
099fc3ea
KS
76192014-04-15 Keith Seitz <keiths@redhat.com>
7620
7621 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7622 Remove unused globals.
7623 (test_running_the_program): Likewise.
7624 (test_controlled_execution): Likewise.
7625 (test_controlling_breakpoints): Likewise.
7626 (test_program_termination): Likewise.
7627
5da151d4
KS
76282014-04-15 Keith Seitz <keiths@redhat.com>
7629
7630 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7631 unused globals.
7632 (test_rbreak_creation_and_listing): Likewise.
7633 (test_ignore_count): Likewise.
7634 (test_error): Likewise.
7635
35e5d2f0
PA
76362014-04-15 Pedro Alves <palves@redhat.com>
7637
7638 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7639 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7640 sym-file-loader.c.
7641 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7642 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7643 to sym-file-loader.c.
7644 (struct library): Forward declare.
7645 (load_shlib, lookup_function): Change prototypes.
7646 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7647 (translate_offset): Remove declarations.
7648 (get_text_addr): New declaration.
7649 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7650 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7651 sym-file-loader.h.
7652 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7653 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7654 here from sym-file-loader.h.
7655 (struct library): New structure.
7656 (load_shlib, lookup_function): Change prototypes and adjust to
7657 work with a struct library.
7658 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7659 (translate_offset): Make static.
7660 (get_text_addr): New function.
7661 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7662
eb4c1710
PA
76632014-04-15 Pedro Alves <palves@redhat.com>
7664
7665 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7666
2d1baf52
PA
76672014-04-15 Pedro Alves <palves@redhat.com>
7668
7669 * gdb.base/sym-file-loader.c: Include <limits.h>.
7670 (SELF_LINK): New define.
7671 (get_origin): New function.
7672 (load_shlib): Use it.
7673 * gdb.base/sym-file.exp: Don't early return if the target is
7674 remote. Use runto_main, and issue fail is that fails. Use
7675 gdb_load_shlibs.
7676 (shlib_name): Delete.
7677 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7678
7dd6df01
PA
76792014-04-15 Pedro Alves <palves@redhat.com>
7680
7681 * gdb.base/sym-file.exp: Remove regex characters from test
7682 message. Don't refer to breakpoint numbers in test messages.
7683
b50c8614
KS
76842014-04-14 Keith Seitz <keiths@redhat.com>
7685
7686 PR c++/16253
7687 * gdb.cp/var-tag.cc: New file.
7688 * gdb.cp/var-tag.exp: New file.
7689 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7690 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7691 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7692 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7693
3d567982
TT
76942014-04-14 Tom Tromey <tromey@redhat.com>
7695
7696 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7697 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7698 type.
7699 * gdb.cp/enum-class.exp: New file.
7700 * gdb.cp/enum-class.cc: New file.
7701
0626fc76
TT
77022014-04-14 Tom Tromey <tromey@redhat.com>
7703
7704 * gdb.dwarf2/enum-type.exp: New file.
7705
dca325b3
SA
77062014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7707
7708 * gdb.mi/mi-vla-c99.exp: New file.
7709 * gdb.mi/vla.c: New file.
7710
5854b38a
SA
77112014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7712
7713 * gdb.base/vla-datatypes.c: New file.
7714 * gdb.base/vla-datatypes.exp: New file.
7715
463bb957
SA
77162014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7717
7718 * gdb.base/vla-ptr.c: New file.
7719 * gdb.base/vla-ptr.exp: New file.
7720
3dd170be
SA
77212014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7722
7723 * gdb.dwarf2/count.exp: New file.
7724
5ecaaa66
SA
77252014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7726
7727 * gdb.base/vla-sideeffect.c: New file.
7728 * gdb.base/vla-sideeffect.exp: New file.
7729
41f1ada5
DB
77302014-04-14 David Blaikie <dblaikie@gmail.com>
7731
7732 * gdb.mi/non-stop.c: Add return value for non-void function return
7733 statement.
7734 * gdb.threads/staticthreads.c: Ditto.
7735
0be03e84
DE
77362014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7737 Doug Evans <xdje42@gmail.com>
7738
7739 * gdb.guile/scm-value.c: Improve test case.
7740 * gdb.guile/scm-value.exp: Add new test.
7741
f180a1fb
DB
77422014-04-11 David Blaikie <dblaikie@gmail.com>
7743
7744 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7745 override Clang's default.
7746
6b662e19
JB
77472014-04-11 Joel Brobecker <brobecker@adacore.com>
7748
7749 Revert the following changes (regressions):
7750
7751 * gdb.base/vla-sideeffect.c: New file.
7752 * gdb.base/vla-sideeffect.exp: New file.
7753
7754 * gdb.dwarf2/count.exp: New file.
7755
7756 * gdb.base/vla-multi.c: New file.
7757 * gdb.base/vla-multi.exp: New file.
7758
7759 * gdb.base/vla-ptr.c: New file.
7760 * gdb.base/vla-ptr.exp: New file.
7761
7762 * gdb.base/vla-datatypes.c: New file.
7763 * gdb.base/vla-datatypes.exp: New file.
7764
7765 * gdb.mi/mi-vla-c99.exp: New file.
7766 * gdb.mi/vla.c: New file.
7767
245a5f0b
KS
77682014-04-11 Keith Seitz <keiths@redhat.com>
7769
7770 PR c++/16675
7771 * gdb.cp/cpsizeof.exp: New file.
7772 * gdb.cp/cpsizeof.cc: New file.
7773
58a84dcf
SA
77742014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7775
191a8a90
JB
7776 * gdb.mi/mi-vla-c99.exp: New file.
7777 * gdb.mi/vla.c: New file.
58a84dcf 7778
c8655f75
SA
77792014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7780
7781 * gdb.base/vla-datatypes.c: New file.
7782 * gdb.base/vla-datatypes.exp: New file.
7783
024e13b4
SA
77842014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7785
7786 * gdb.base/vla-ptr.c: New file.
7787 * gdb.base/vla-ptr.exp: New file.
7788
1a237e0e
SA
77892014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7790
7791 * gdb.base/vla-multi.c: New file.
7792 * gdb.base/vla-multi.exp: New file.
7793
504f3432
SA
77942014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7795
7796 * gdb.dwarf2/count.exp: New file.
7797
3bce8237
SA
77982014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7799
191a8a90
JB
7800 * gdb.base/vla-sideeffect.c: New file.
7801 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 7802
322f9c21
YQ
78032014-04-11 Yao Qi <yao@codesourcery.com>
7804
7805 * gdb.base/completion.exp: Check file exists before running tests
7806 on file completion.
7807
d708bcd1
PA
78082014-04-10 Pedro Alves <palves@redhat.com>
7809
7810 * gdb.base/cond-eval-mode.c: New file.
7811 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7812 prepare_for_testing to build the new file. Check result of
7813 runto_main.
7814 (test_break, test_watch): New procedures.
7815 (top level): Use them.
7816
ae1d2761
PM
78172014-04-08 Pierre Muller <muller@sourceware.org>
7818
7819 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7820 Ctrl-V use for mingw hosts.
7821
7af389b8
SC
78222014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7823
7824 * gdb.python/py-value.c: Improve test case.
7825 * gdb.python/py-value.exp: Add new test.
7826
5e703181
DE
78272014-04-07 David Blaikie <dblaikie@gmail.com>
7828
7829 * lib/compiler.c: Identify the clang compiler.
7830 * lib/compiler.cc: Ditto.
7831
9810b410
YQ
78322014-04-03 Yao Qi <yao@codesourcery.com>
7833
7834 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7835
98d1b8dc
AB
78362014-04-01 Anton Blanchard <anton@samba.org>
7837
7838 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7839 messages unique.
7840
3114cea1
AB
78412014-04-01 Anton Blanchard <anton@samba.org>
7842
7843 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7844 prepare_for_testing.
7845
62f7182c
AB
78462014-04-01 Anton Blanchard <anton@samba.org>
7847
7848 * gdb.arch/ppc64-atomic-inst.c: Remove.
7849 * gdb.arch/ppc64-atomic-inst.S: New file.
7850 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7851
770e7fc7
DE
78522014-03-31 Doug Evans <dje@google.com>
7853
7854 * gdb.base/print-symbol-loading-lib.c: New file.
7855 * gdb.base/print-symbol-loading-main.c: New file.
7856 * gdb.base/print-symbol-loading.exp: New file.
7857
46e2bafa
YQ
78582014-03-31 Yao Qi <yao@codesourcery.com>
7859
7860 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7861
8776cfe9
JB
78622014-03-28 Joel Brobecker <brobecker@adacore.com>
7863
7864 * gdb.ada/mi_dyn_arr: New testcase.
7865
5d1ef361
DE
78662014-03-27 Doug Evans <dje@google.com>
7867
7868 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7869
b5bee914
YQ
78702014-03-27 Yao Qi <yao@codesourcery.com>
7871
7872 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7873 if target is nios2-*-*.
7874
0d4d0e77
YQ
78752014-03-26 Yao Qi <yao@codesourcery.com>
7876
7877 * lib/gdb.exp (readline_is_used): New proc.
7878 * gdb.base/completion.exp: Move tests on command complete up.
7879 Skip the rest of tests if readline is not used.
7880 * gdb.ada/complete.exp: Skp the test if readline is not
7881 used.
7882 * gdb.base/filesym.exp: Likewise.
7883 * gdb.base/macscp.exp: Likewise.
7884 * gdb.base/readline-ask.exp: Likewise.
7885 * gdb.base/readline.exp: Likewise.
7886 * gdb.python/py-cmd.exp: Likewise.
7887 * gdb.trace/tfile.exp: Likewise.
7888
29361eee
YQ
78892014-03-26 Yao Qi <yao@codesourcery.com>
7890
7891 * gdb.base/macscp.exp: Fix code format issues.
7892
bc9a5525
UW
78932014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7894
7895 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7896 * gdb.asm/powerpc64le.inc: New file.
7897
d3839ede
PA
78982014-03-25 Pedro Alves <palves@redhat.com>
7899 Doug Evans <dje@google.com>
7900
7901 * gdb.base/source-execution.c: New file.
7902 * gdb.base/source-execution.exp: New file.
7903 * gdb.base/source-execution.gdb: New file.
7904
01672a57
DE
79052014-03-24 Doug Evans <dje@google.com>
7906
7907 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7908 using fission.
7909
88bbeca9
HZ
79102014-03-24 Hui Zhu <hui@codesourcery.com>
7911 Pedro Alves <palves@redhat.com>
7912
7913 PR breakpoints/16101
7914 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7915 test pass/fail messages. Detect missing support for dprintf when
7916 breakpoints are actually inserted.
7917 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7918 breakpoints are actually inserted.
7919 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7920 fails.
7921
d2348791
JK
79222014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7923
7924 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7925
feef67ab
DE
79262014-03-22 Doug Evans <xdje42@gmail.com>
7927
7928 * gdb.python/python.exp (python not supported): Verify multi-line
7929 python command issues an error.
25d743f9 7930 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 7931 guile command issues an error.
feef67ab 7932
ecebef6a
MR
79332014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7934
7935 * gdb.threads/thread-specific.exp: Handle the lack of usable
7936 $this_breakpoint and $this_thread.
7937
ccdd1909
HZ
79382014-03-21 Hui Zhu <hui@codesourcery.com>
7939
7940 * gdb.base/attach.exp (do_command_attach_tests): New.
7941
beb460e8
PA
79422014-03-20 Tom Tromey <tromey@redhat.com>
7943 Pedro Alves <palves@redhat.com>
7944
7945 PR cli/15718
7946 * gdb.base/condbreak-call-false.c: New file.
7947 * gdb.base/condbreak-call-false.exp: New file.
7948
40acf43a
PA
79492014-03-20 Pedro Alves <palves@redhat.com>
7950
7951 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7952 Delete.
7953 (block_signals, unblock_signals): Delete.
7954 (child_function_2, main): Remove references to deleted variable
7955 and functions.
7956
9f5e1e02
PA
79572014-03-20 Pedro Alves <palves@redhat.com>
7958
7959 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7960 Use pthread_kill to signal thread 2.
7961 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7962 Adjust to make the test send itself a signal rather than using the
7963 host's "kill" command.
7964
99619bea
PA
79652014-03-20 Pedro Alves <palves@redhat.com>
7966
7967 * gdb.threads/multiple-step-overs.c: New file.
7968 * gdb.threads/multiple-step-overs.exp: New file.
7969 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7970 Adjust expected infrun debug output.
7971
2adfaa28
PA
79722014-03-20 Pedro Alves <palves@redhat.com>
7973
7974 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7975 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7976
31e77af2
PA
79772014-03-20 Pedro Alves <palves@redhat.com>
7978
7979 PR breakpoints/7143
7980 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7981 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7982 of gdb_test_multiple.
7983 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7984 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7985
b9f437de
PA
79862014-03-20 Pedro Alves <palves@redhat.com>
7987
7988 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7989 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7990
05adc73e
PA
79912014-03-19 Pedro Alves <palves@redhat.com>
7992
7993 * gdb.base/async.exp: Remove early return.
7994
6048b950
PA
79952014-03-19 Pedro Alves <palves@redhat.com>
7996
7997 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7998
8bcfb00a
PA
79992014-03-19 Pedro Alves <palves@redhat.com>
8000
8001 * gdb.base/async.exp (test_background): Expect \r\n after
8002 "completed." in the fail pattern.
8003
884e37dc
PA
80042014-03-19 Pedro Alves <palves@redhat.com>
8005
8006 * gdb.base/async.exp (test_background): New procedure.
8007 Use it for all background execution command tests.
8008
148e57e2
PA
80092014-03-19 Pedro Alves <palves@redhat.com>
8010
8011 * gdb.base/async.exp: Use prepare_for_testing.
8012
f48088c7
PA
80132014-03-19 Pedro Alves <palves@redhat.com>
8014
8015 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8016 the same line.
8017
e2f6c966
PA
80182014-03-19 Pedro Alves <palves@redhat.com>
8019
8020 * gdb.base/async.c (main): Add "jump here" and "until here" line
8021 marker comments.
8022 * gdb.base/async.exp (jump_here): New global.
8023 (jump& test): Use it.
8024 (until_here): New global.
8025 (until& test): Use it.
8026
c30568d4
PA
80272014-03-19 Pedro Alves <palves@redhat.com>
8028
8029 * gdb.base/async.exp: Don't frob gdb_protocol.
8030
0172b6a7
DE
80312014-03-18 Doug Evans <xdje42@gmail.com>
8032
8033 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8034 Fix spelling of exec-done-display.
8035
06c868a8
JK
80362014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8037
8038 PR gdb/15358
8039 * gdb.base/gdb-sigterm.c: New file.
8040 * gdb.base/gdb-sigterm.exp: New file.
8041
0c7e1a46
PA
80422014-03-18 Pedro Alves <palves@redhat.com>
8043
8044 PR gdb/13860
8045 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8046 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8047 solib-event.
8048
f7c77d93
JB
80492014-03-17 Joel Brobecker <brobecker@adacore.com>
8050
8051 * gdb.ada/pckd_arr_ren: New testcase.
8052
5a1e8c7a
DE
80532014-03-13 Doug Evans <xdje42@gmail.com>
8054
8055 PR guile/16612
8056 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8057 collect after discarding symbols.
8058
350e1a76
DE
80592014-03-13 Ludovic Courtès <ludo@gnu.org>
8060 Doug Evans <xdje42@gmail.com>
8061
8062 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8063 to history survives a gc.
8064
a69900ae
PA
80652014-03-13 Pedro Alves <palves@redhat.com>
8066
8067 * gdb.base/default.exp: Don't test "target procfs".
8068
5db9f0bd
PA
80692014-03-13 Pedro Alves <palves@redhat.com>
8070
8071 * gdb.base/default.exp: Update "target child" and "target procfs"
8072 tests to not expect "Unix".
8073
b3ccfe11
TT
80742014-03-12 Tom Tromey <tromey@redhat.com>
8075
8076 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8077 New procs. Add target-async tests.
8078 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8079 Add target-async tests.
8080
646f4417
AA
80812014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8082
8083 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8084 'func_start' and 'func_end' for the beginning and end of the
8085 function code, respectively.
8086 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8087 'func_end' instead of 'func' and 'main'.
8088
288c211f
AA
80892014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8090
8091 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8092 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8093 generate the debug info assembler source.
8094
e0c0f156
AA
80952014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8096
8097 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8098 * gdb.dwarf2/arr-subrange.exp: Likewise.
8099 * gdb.dwarf2/dwz.exp: Likewise.
8100 * gdb.dwarf2/method-ptr.exp: Likewise.
8101 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8102 * gdb.dwarf2/subrange.exp: Likewise.
8103 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8104 * gdb.dwarf2/implptrpiece.exp: Likewise.
8105 * gdb.dwarf2/nostaticblock.exp: Likewise.
8106
0e5c4555
AA
81072014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8108
8109 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8110 directory to absolute path name arguments.
8111
5ec18f2b
JG
81122014-03-10 Joel Brobecker <brobecker@adacore.com>
8113
8114 * gdb.ada/tagged_access: New testcase.
8115
847fc4f2
MM
81162014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8117
8118 * gdb.btrace/data.exp: Update expected output.
8119
cc3da688
YQ
81202014-03-06 Yao Qi <yao@codesourcery.com>
8121
8122 * gdb.trace/pr16508.exp: New file.
8123
0f26cec1
PA
81242014-03-05 Pedro Alves <palves@redhat.com>
8125
8126 PR gdb/16575
8127 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8128 procedure.
8129 (top level): Adjust to use it. Add tests that exercise breakpoint
8130 interaction with the code-cache.
8131
7a5a839f
LC
81322014-02-26 Ludovic Courtès <ludo@gnu.org>
8133
8134 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8135 test for 'history-append!'.
8136
31aa7e4e
JB
81372014-02-26 Joel Brobecker <brobecker@adacore.com>
8138
8139 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8140 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8141 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8142 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8143 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8144 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8145
1b588015
JB
81462014-02-26 Joel Brobecker <brobecker@adacore.com>
8147
8148 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8149 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8150 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8151
55426c9d
JB
81522014-02-26 Joel Brobecker <brobecker@adacore.com>
8153
8154 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8155
dc53a7ad
JB
81562014-02-26 Joel Brobecker <brobecker@adacore.com>
8157
8158 * gdb.dwarf2/arr-stride.c: New file.
8159 * gdb.dwarf2/arr-stride.exp: New file.
8160
12ab52e9
PA
81612014-02-26 Pedro Alves <palves@redhat.com>
8162
8163 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8164 that won't ever trigger. Make sure that GDB reports the correct
8165 breakpoint that caused the stop.
8166
849c862e
JK
81672014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8168
8169 PR gdb/16626
8170 * gdb.base/auto-load-script: New file.
8171 * gdb.base/auto-load.c: New file.
8172 * gdb.base/auto-load.exp: New file.
8173
71b7d793
JK
8174 PR gdb/16626
8175 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8176
e2f0d509
JK
81772014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8178
8179 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8180 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8181
50cc37c8
DE
81822014-02-24 Doug Evans <dje@google.com>
8183
8184 * lib/gdb.exp (run_on_host): Log error output if program fails.
8185
ea4758f2
PA
81862014-02-21 Pedro Alves <palves@redhat.com>
8187
8188 * gdb.threads/step-after-sr-lock.c: Rename to ...
8189 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8190 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8191 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8192 ... this.
8193
d7b30f67
SDJ
81942014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8195
8196 PR tdep/16397
8197 * gdb.arch/amd64-stap-special-operands.exp: New file.
8198 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8199 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8200 * gdb.arch/amd64-stap-triplet.S: Likewise.
8201 * gdb.arch/amd64-stap-triplet.c: Likewise.
8202
83deb43f
JB
82032014-02-20 Joel Brobecker <brobecker@adacore.com>
8204
8205 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8206 in .section pseudo-op.
8207
adde2bff
DE
82082014-02-20 lin zuojian <manjian2006@gmail.com>
8209 Joel Brobecker <brobecker@adacore.com>
8210 Doug Evans <xdje42@gmail.com>
8211
8212 PR symtab/16581
8213 * gdb.dwarf2/dw2-icycle.S: New file.
8214 * gdb.dwarf2/dw2-icycle.c: New file.
8215 * gdb.dwarf2/dw2-icycle.exp: New file.
8216
f7bd0f78
SC
82172014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8218
8219 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8220 operations on gdb.Value objects.
8221 * gdb.python/py-value-cc.exp: Add new test to test operations on
8222 gdb.Value objects.
8223
c17ef0d5
DE
82242014-02-18 Doug Evans <dje@google.com>
8225
8226 * Makefile.in (TESTS): New variable.
8227 (expanded_tests, expanded_tests_or_none): New variables
8228 (check-single): Pass $(expanded_tests_or_none) to runtest.
8229 (check-parallel): Only run tests in $(TESTS) if non-empty.
8230 (check/no-matching-tests-found): New rule.
8231 * README: Document TESTS makefile variable.
8232
5dd3176f
DE
82332014-02-18 Doug Evans <dje@google.com>
8234
8235 * Makefile.in (check-parallel): rm -rf outputs temp.
8236
0b10be4f
JK
82372014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8238
8239 Fix "ERROR: no fileid for" in the testsuite.
8240 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8241
85f224e7
DE
82422014-02-12 Doug Evans <dje@google.com>
8243
8244 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8245 (MISCELLANEOUS): New variable.
8246 (clean): rm -rf $(MISCELLANEOUS).
8247 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8248 dwp live in the same directory as symlinks, with each symlink pointed
8249 to a differently named file in a different directory.
8250
149b30ff
DE
82512014-02-11 Doug Evans <dje@google.com>
8252
8253 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8254 of Tcl file commands.
8255
1dfdac32
MK
82562014-02-10 Mark Kettenis <kettenis@gnu.org>
8257
8258 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8259 "kill -SIGUSR1 -1".
8260
aa4fb036
JB
82612014-02-10 Joel Brobecker <brobecker@adacore.com>
8262
8263 * gdb.ada/tick_length_array_enum_idx: New testcase.
8264
ed3ef339
DE
82652014-02-10 Doug Evans <xdje42@gmail.com>
8266
8267 * configure.ac (AC_OUTPUT): Add gdb.guile.
8268 * configure: Regenerate.
8269 * lib/gdb-guile.exp: New file.
8270 * lib/gdb.exp (get_target_charset): New function.
8271 * gdb.base/help.exp: Update expected output from "apropos apropos".
8272 * gdb.guile/Makefile.in: New file.
8273 * gdb.guile/guile.exp: New file.
8274 * gdb.guile/scm-arch.c: New file.
8275 * gdb.guile/scm-arch.exp: New file.
8276 * gdb.guile/scm-block.c: New file.
8277 * gdb.guile/scm-block.exp: New file.
8278 * gdb.guile/scm-breakpoint.c: New file.
8279 * gdb.guile/scm-breakpoint.exp: New file.
8280 * gdb.guile/scm-disasm.c: New file.
8281 * gdb.guile/scm-disasm.exp: New file.
8282 * gdb.guile/scm-equal.c: New file.
8283 * gdb.guile/scm-equal.exp: New file.
8284 * gdb.guile/scm-error.exp: New file.
8285 * gdb.guile/scm-error.scm: New file.
8286 * gdb.guile/scm-frame-args.c: New file.
8287 * gdb.guile/scm-frame-args.exp: New file.
8288 * gdb.guile/scm-frame-args.scm: New file.
8289 * gdb.guile/scm-frame-inline.c: New file.
8290 * gdb.guile/scm-frame-inline.exp: New file.
8291 * gdb.guile/scm-frame.c: New file.
8292 * gdb.guile/scm-frame.exp: New file.
8293 * gdb.guile/scm-generics.exp: New file.
8294 * gdb.guile/scm-gsmob.exp: New file.
8295 * gdb.guile/scm-iterator.c: New file.
8296 * gdb.guile/scm-iterator.exp: New file.
8297 * gdb.guile/scm-math.c: New file.
8298 * gdb.guile/scm-math.exp: New file.
8299 * gdb.guile/scm-objfile-script-gdb.in: New file.
8300 * gdb.guile/scm-objfile-script.c: New file.
8301 * gdb.guile/scm-objfile-script.exp: New file.
8302 * gdb.guile/scm-objfile.c: New file.
8303 * gdb.guile/scm-objfile.exp: New file.
8304 * gdb.guile/scm-ports.exp: New file.
8305 * gdb.guile/scm-pretty-print.c: New file.
8306 * gdb.guile/scm-pretty-print.exp: New file.
8307 * gdb.guile/scm-pretty-print.scm: New file.
8308 * gdb.guile/scm-section-script.c: New file.
8309 * gdb.guile/scm-section-script.exp: New file.
8310 * gdb.guile/scm-section-script.scm: New file.
8311 * gdb.guile/scm-symbol.c: New file.
8312 * gdb.guile/scm-symbol.exp: New file.
8313 * gdb.guile/scm-symtab-2.c: New file.
8314 * gdb.guile/scm-symtab.c: New file.
8315 * gdb.guile/scm-symtab.exp: New file.
8316 * gdb.guile/scm-type.c: New file.
8317 * gdb.guile/scm-type.exp: New file.
8318 * gdb.guile/scm-value-cc.cc: New file.
8319 * gdb.guile/scm-value-cc.exp: New file.
8320 * gdb.guile/scm-value.c: New file.
8321 * gdb.guile/scm-value.exp: New file.
8322 * gdb.guile/source2.scm: New file.
8323 * gdb.guile/types-module.cc: New file.
8324 * gdb.guile/types-module.exp: New file.
8325
7026a7c1
YQ
83262014-02-10 Yao Qi <yao@codesourcery.com>
8327
8328 PR testsuite/16543
8329 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8330 * configure: Regenerated.
8331 * Makefile.in: New file.
8332
6c466447
AS
83332014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8334
8335 * gdb.python/py-framefilter.exp: Fix typo.
8336
6e854735
YQ
83372014-02-08 Yao Qi <yao@codesourcery.com>
8338
8339 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8340 that no =breakpoint-modified is emitted when breakpoints are
8341 modified through MI commands.
8342
d137e6dc
PA
83432014-02-07 Pedro Alves <pedro@codesourcery.com>
8344 Pedro Alves <palves@redhat.com>
8345
8346 * gdb.threads/step-after-sr-lock.c: New file.
8347 * gdb.threads/step-after-sr-lock.exp: New file.
8348
b5ee5a50
PA
83492014-02-07 Pedro Alves <palves@redhat.com>
8350
8351 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8352
3c77faf3
JK
83532014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8354
8355 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8356 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8357
6dddc817
DE
83582014-02-06 Doug Evans <xdje42@gmail.com>
8359
8360 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8361 output.
8362
8363 * gdb.gdb/python-interrupts.exp: New file.
8364
de7b2893
YQ
83652014-02-05 Yao Qi <yao@codesourcery.com>
8366
8367 * gdb.trace/report.exp (use_collected_data): Test the output
8368 of "info threads" and "info inferiors".
8369
66d032ac
YQ
83702014-02-05 Yao Qi <yao@codesourcery.com>
8371
8372 Revert this patch:
8373
8374 2013-05-24 Yao Qi <yao@codesourcery.com>
8375
8376 * gdb.trace/tfile.exp: Test inferior and thread.
8377
591a12a1
UW
83782014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8379
8380 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8381 on a function.
8382 * gdb.base/step-bt.c: Call hello via function pointer to make
8383 sure its first instruction is executed on powerpc64le-linux.
8384
0ff3e01f
UW
83852014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8386
8387 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8388
084ee545
UW
83892014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8390
8391 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8392 of the test patterns for use on little-endian systems.
8393
6ed14ff3
UW
83942014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8395
8396 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8397 (decimal_vector): Fix for little-endian.
8398
401e27fd
JM
83992014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8400
8401 * gdb.arch/sparc-sysstep.exp: New file.
8402 * gdb.arch/sparc-sysstep.c: Likewise.
8403
8404 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8405
8b924729
EBM
84062014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8407
8408 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8409
fb151210
JB
84102014-01-23 Tom Tromey <tromey@redhat.com>
8411
8412 * gdb.ada/array_char_idx: New testcase.
8413
0740f8d8
TT
84142014-01-23 Tom Tromey <tromey@redhat.com>
8415
8416 PR python/16487:
8417 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8418 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8419 classes.
8420
21909fa1
TT
84212014-01-23 Tom Tromey <tromey@redhat.com>
8422
8423 PR python/16491:
8424 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8425 string from an inferior frame.
8426 * gdb.python/py-framefilter-mi.exp: Update.
8427
87ce2a04
DE
84282014-01-22 Doug Evans <dje@google.com>
8429
8430 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8431
237b092b
AA
84322014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8433
8434 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8435
d674a709
AA
84362014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8437
8438 * gdb.trace/entry-values.exp: Remove excess space character from
8439 regex patterns. Handle s390 call instruction.
8440
20fa3390
AA
84412014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8442
8443 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8444 define "*_start" label. Make "name" static.
8445 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8446 ${name} by references to ${name}_start.
8447
78466714
AA
84482014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8449
8450 * gdb.base/info-macros.exp: Remove "debug" from the compile
8451 options.
8452
ec9f644a
IB
84532014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8454
8455 * gdb.dlang/demangle.exp: New file.
8456
94b1b47e
IB
84572014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8458
8459 * gdb.dlang/primitive-types.exp: New file.
8460
7f420862
IB
84612014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8462
8463 * configure.ac: Create gdb.dlang/Makefile.
8464 * configure: Regenerate.
8465 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8466 * gdb.dlang/Makefile.in: New file.
8467 * lib/d-support.exp: New file.
8468 * lib/gdb.exp (skip_d_tests): New proc.
8469
52834460
MM
84702014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8471
8472 * gdb.btrace/delta.exp: Check reverse stepi.
8473 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8474 * gdb.btrace/finish.exp: New.
8475 * gdb.btrace/next.exp: New.
8476 * gdb.btrace/nexti.exp: New.
8477 * gdb.btrace/record_goto.c: Add comments.
8478 * gdb.btrace/step.exp: New.
8479 * gdb.btrace/stepi.exp: New.
8480 * gdb.btrace/multi-thread-step.c: New.
8481 * gdb.btrace/multi-thread-step.exp: New.
8482 * gdb.btrace/rn-dl-bind.c: New.
8483 * gdb.btrace/rn-dl-bind.exp: New.
8484 * gdb.btrace/data.c: New.
8485 * gdb.btrace/data.exp: New.
8486 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8487
6e07b1d2
MM
84882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8489
8490 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8491 * gdb.btrace/exception.exp: Update.
8492 * gdb.btrace/instruction_history.exp: Update.
8493 * gdb.btrace/record_goto.exp: Update.
8494 * gdb.btrace/tailcall.exp: Update.
8495 * gdb.btrace/unknown_functions.exp: Update.
8496 * gdb.btrace/delta.exp: New.
8497
0b722aec
MM
84982014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8499
8500 * gdb.btrace/record_goto.exp: Add backtrace test.
8501 * gdb.btrace/tailcall.exp: Add backtrace test.
8502
066ce621
MM
85032014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8504
8505 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8506 * gdb.btrace/record_goto.c: New.
8507 * gdb.btrace/record_goto.exp: New.
8508 * gdb.btrace/x86-record_goto.S: New.
8509
0688d04e
MM
85102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8511
8512 * gdb.btrace/function_call_history.exp: Update tests.
8513 * gdb.btrace/instruction_history.exp: Update tests.
8514
8710b709
MM
85152014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8516
8517 * gdb.btrace/function_call_history.exp: Fix expected field
8518 order for "record function-call-history".
8519 Add new tests for "record function-call-history /c".
8520 * gdb.btrace/exception.cc: New.
8521 * gdb.btrace/exception.exp: New.
8522 * gdb.btrace/tailcall.exp: New.
8523 * gdb.btrace/x86-tailcall.S: New.
8524 * gdb.btrace/x86-tailcall.c: New.
8525 * gdb.btrace/unknown_functions.c: New.
8526 * gdb.btrace/unknown_functions.exp: New.
8527 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8528
5de9129b
MM
85292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8530
8531 * gdb.btrace/instruction_history.exp: Update.
8532 * gdb.btrace/function_call_history.exp: Update.
8533
23a7fe75
MM
85342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8535
8536 * gdb.btrace/function_call_history.exp: Fix expected function
8537 trace.
8538 * gdb.btrace/instruction_history.exp: Initialize traced.
8539 Remove traced_functions.
8540
724c7dd8
MM
85412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8542
8543 * gdb.btrace/function_call_history.exp: Update
8544 * gdb.btrace/instruction_history.exp: Update.
8545
6d78d93b
MM
85462014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8547
8548 * gdb.btrace/enable.exp: Update expected text.
8549
93a360cc
OJ
85502014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8551
8552 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8553 bytes.
8554
3772b53f
MR
85552014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8556
8557 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8558
596662fa
OJ
85592014-01-15 Omair Javaid <omair.javaid@linaro.org>
8560
8561 * lib/gdb.exp (supports_process_record): Return true for
8562 arm*-linux*. (supports_reverse): Likewise.
8563
b5b08fb4
SC
85642014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8565
8566 PR python/15464
8567 PR python/16113
8568 * gdb.python/py-type.c: Enhance test case.
8569 * gdb.python/py-value-cc.cc: Likewise
8570 * gdb.python/py-type.exp: Add new tests.
8571 * gdb.python/py-value-cc.exp: Likewise
8572
52d7fb13
AA
85732014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8574 Pedro Alves <palves@redhat.com>
8575
8576 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8577 Make "name" extern.
8578 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8579 references to ${name}_start by references to ${name}.
8580
a2cd8cfe
JB
85812014-01-10 Joel Brobecker <brobecker@adacore.com>
8582
8583 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8584
4e23fced
JB
85852014-01-10 Joel Brobecker <brobecker@adacore.com>
8586
8587 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8588
c6a9e42c
PA
85892014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8590 Pedro Alves <palves@redhat.com>
8591
8592 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 8593 mi_gdb_target_load.
c6a9e42c 8594
b7ea362b
PA
85952014-01-08 Pedro Alves <palves@redhat.com>
8596
8597 * gdb.threads/reconnect-signal.c: New file.
8598 * gdb.threads/reconnect-signal.exp: New file.
8599
5e3f4fab
EBM
86002014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8601
8602 * gdb.base/source-dir.exp: New file.
8603
79301218
JB
86042014-01-07 Joel Brobecker <brobecker@adacore.com>
8605
8606 * gdb.ada/mi_interface: New testcase.
8607
8e355c5d
JB
86082014-01-07 Joel Brobecker <brobecker@adacore.com>
8609
8610 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8611 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8612 gdb.ada/pp-rec-component/pck.ads: New files.
8613
c0d48811
JB
86142014-01-07 Joel Brobecker <brobecker@adacore.com>
8615
8616 * gdb.python/py-pp-integral.c: New file.
8617 * gdb.python/py-pp-integral.py: New file.
8618 * gdb.python/py-pp-integral.exp: New file.
8619
17b609c3 8620For older changes see ChangeLog-1993-2013.
c906108c 8621\f
8d8cb839
EZ
8622;; Local Variables:
8623;; mode: change-log
8624;; left-margin: 8
8625;; fill-column: 74
8626;; version-control: never
8627;; End:
902f2ccb 8628
618f726f 8629 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
8630 Copying and distribution of this file, with or without modification,
8631 are permitted provided the copyright notice and this notice are preserved.