]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
[gdb/testsuite] Fix gdb.base/relocate.exp with -readnow
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
32a5f98a
TV
12020-10-28 Tom de Vries <tdevries@suse.de>
2
3 * gdb.base/relocate.exp: Update regexp for -readnow.
4
f93b8760
TV
52020-10-28 Tom de Vries <tdevries@suse.de>
6
7 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
8 -readnow.
9
1b00ef06
TV
102020-10-28 Tom de Vries <tdevries@suse.de>
11
12 PR symtab/26772
13 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
14 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
15
364bb903
TV
162020-10-28 Tom de Vries <tdevries@suse.de>
17
18 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
19 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
20 complaint during file command for -readnow.
21
445a033f
TV
222020-10-28 Tom de Vries <tdevries@suse.de>
23
24 * gdb.cp/nsalias.exp: Fix typo in test name.
25
fdd67a42
TV
262020-10-28 Tom de Vries <tdevries@suse.de>
27
28 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
29
706baf4c
TV
302020-10-28 Tom de Vries <tdevries@suse.de>
31
32 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
33 -readnow.
34
b448cca5
TV
352020-10-27 Tom de Vries <tdevries@suse.de>
36
37 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
38
5868da03
TV
392020-10-27 Tom de Vries <tdevries@suse.de>
40
41 * gdb.base/maint.exp: Update for -readnow.
42
06db6ec3
TV
432020-10-27 Tom de Vries <tdevries@suse.de>
44
45 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
46 -readnow.
47
934a1764
GB
482020-10-14 Gary Benson <gbenson@redhat.com>
49
50 * gdb.python/py-format-string.exp (test_deref_refs): Treat
51 "_vptr$Base" as correct, in addition to "_vptr.Base".
52 (test_mixed): Likewise.
53
0bf21fbd
GB
542020-10-27 Gary Benson <gbenson@redhat.com>
55
56 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
57 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
58
b1d4d8d1
TBA
592020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
60
61 * gdb.base/condbreak.exp: Update the completion tests to
62 consider the '-force' flag.
63
bd24c5d6
TV
642020-10-27 Tom de Vries <tdevries@suse.de>
65
66 * gdb.base/list-ambiguous-readnow.exp: New file.
67
733d554a
TBA
682020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
69
70 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
71 the condition.
72 * gdb.linespec/cpcompletion.exp: Update to consider the
73 '-force-condition' keyword.
74 * gdb.linespec/explicit.exp: Ditto.
75 * lib/completion-support.exp: Ditto.
76
b5fa468f
TBA
772020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
78
79 * gdb.base/condbreak-multi-context.cc: New file.
80 * gdb.base/condbreak-multi-context.exp: New file.
81
b3247276
TT
822020-10-26 Tom Tromey <tom@tromey.com>
83
84 * lib/mi-support.exp (default_mi_gdb_start): Call
85 gdb_stdin_log_init.
86 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
87 subtract one from gdb_instances.
88 (gdb_stdin_log_write): Flush in_file.
89
1c47ec3e
TV
902020-10-26 Tom de Vries <tdevries@suse.de>
91
92 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
93
6390859c
TT
942020-10-26 Tom Tromey <tromey@adacore.com>
95
96 * gdb.ada/unsigned_range/foo.adb: New file.
97 * gdb.ada/unsigned_range/pack.adb: New file.
98 * gdb.ada/unsigned_range/pack.ads: New file.
99 * gdb.ada/unsigned_range.exp: New file.
100
55c3ad88
TV
1012020-10-26 Tom de Vries <tdevries@suse.de>
102
103 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
104
1612c4bb
TV
1052020-10-26 Tom de Vries <tdevries@suse.de>
106
107 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
108 for CU.
109 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
110
7d72802b
TV
1112020-10-23 Tom de Vries <tdevries@suse.de>
112
113 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
114 DW_FORM_string.
115 (Dwarf::_default_form): New proc.
116 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
117 guessed.
118
9476b583
TV
1192020-10-23 Tom de Vries <tdevries@suse.de>
120
121 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
122 * gdb.dwarf2/atomic-type.exp: Same.
123 * gdb.dwarf2/bad-regnum.exp: Same.
124 * gdb.dwarf2/cpp-linkage-name.exp: Same.
125 * gdb.dwarf2/dw2-align.exp: Same.
126 * gdb.dwarf2/dw2-bad-elf.exp: Same.
127 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
128 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
129 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
130 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
131 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
132 * gdb.dwarf2/enum-type.exp: Same.
133 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
134 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
135 * gdb.dwarf2/main-subprogram.exp: Same.
136 * gdb.dwarf2/missing-type-name.exp: Same.
137 * gdb.dwarf2/nonvar-access.exp: Same.
138 * gdb.dwarf2/typedef-void-finish.exp: Same.
139 * gdb.dwarf2/var-access.exp: Same.
140 * gdb.dwarf2/void-type.exp: Same.
141
4a636814
SM
1422020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
143
144 PR gdb/26693
145 * gdb.dwarf2/template-specification-full-name.exp: New test.
146
557fc257
LM
1472020-10-22 Luis Machado <luis.machado@linaro.org>
148
149 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
150 expected an offset from the function.
151 * gdb.base/msym-bp.exp (test): Likewise.
152
6b4c676c
AB
1532020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
154
155 * gdb.fortran/array-slices.exp: Add a new test.
156
98cec4f6
GB
1572020-10-21 Gary Benson <gbenson@redhat.com>
158
159 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
160 fullname test with Clang. Also expand comments generally.
161
ae86f581
TV
1622020-10-20 Tom de Vries <tdevries@suse.de>
163
164 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
165
8c161360
TV
1662020-10-20 Tom de Vries <tdevries@suse.de>
167
168 * gdb.dwarf2/arr-stride.c: Remove.
169 * gdb.dwarf2/arr-stride.exp: Use main.c.
170 * gdb.dwarf2/arr-subrange.c: Remove.
171 * gdb.dwarf2/arr-subrange.exp: Use main.c.
172 * gdb.dwarf2/bad-regnum.c: Remove.
173 * gdb.dwarf2/bad-regnum.exp: Use main.c.
174 * gdb.dwarf2/corrupt.c: Remove.
175 * gdb.dwarf2/corrupt.exp: Use main.c.
176 * gdb.dwarf2/dw2-bad-elf.c: Remove.
177 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
178 * gdb.dwarf2/dw2-icycle.c: Remove.
179 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
180 * gdb.dwarf2/formdata16.c: Remove.
181 * gdb.dwarf2/formdata16.exp: Use main.c.
182 * gdb.dwarf2/implptrconst.c: Remove.
183 * gdb.dwarf2/implptrconst.exp: Use main.c.
184 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
185 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
186 * gdb.dwarf2/opaque-type-lookup.c: Remove.
187 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
188
9c2412ec
TV
1892020-10-20 Tom de Vries <tdevries@suse.de>
190
191 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
192 file.
193 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
194
0cd2ad78
TV
1952020-10-20 Tom de Vries <tdevries@suse.de>
196
197 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
198 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
199 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
200 * gdb.dwarf2/dw2-ranges-base.exp: Same.
201 * gdb.dwarf2/dw2-ranges.exp: Same.
202 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
203 * gdb.dwarf2/var-access.exp: Same.
204
22cc388e
TT
2052020-10-19 Tom Tromey <tromey@adacore.com>
206
207 PR tui/26719
208 * gdb.tui/list.exp: Check source window contents after focus
209 change.
210
520596f2
TV
2112020-10-17 Tom de Vries <tdevries@suse.de>
212
213 PR symtab/26317
214 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
215
d1c8a76d
TV
2162020-10-17 Tom de Vries <tdevries@suse.de>
217
218 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
219 as suffix.
220 * gdb.dwarf2/atomic.c: Rename to ...
221 * gdb.dwarf2/atomic-type.c: ... this.
222 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
223 * gdb.dwarf2/dw2-ranges-2.c: ... this.
224 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
225 * gdb.dwarf2/dw2-ranges-3.c: ... this.
226 * gdb.dwarf2/fission-mix2.c: Rename to ...
227 * gdb.dwarf2/fission-mix-2.c: ... this.
228 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
229 standard_testfile.
230 * gdb.dwarf2/ada-valprint-error.exp: Same.
231 * gdb.dwarf2/arr-stride.exp: Same.
232 * gdb.dwarf2/arr-subrange.exp: Same.
233 * gdb.dwarf2/atomic-type.exp: Same.
234 * gdb.dwarf2/bad-regnum.exp: Same.
235 * gdb.dwarf2/break-inline-psymtab.exp: Same.
236 * gdb.dwarf2/clang-debug-names-2.exp: Same.
237 * gdb.dwarf2/clang-debug-names.exp: Same.
238 * gdb.dwarf2/comp-unit-lang.exp: Same.
239 * gdb.dwarf2/corrupt.exp: Same.
240 * gdb.dwarf2/count.exp: Same.
241 * gdb.dwarf2/cpp-linkage-name.exp: Same.
242 * gdb.dwarf2/data-loc.exp: Same.
243 * gdb.dwarf2/dw2-align.exp: Same.
244 * gdb.dwarf2/dw2-bad-elf.exp: Same.
245 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
246 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
247 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
248 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
249 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
250 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
251 * gdb.dwarf2/dw2-inline-param.exp: Same.
252 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
253 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
254 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
255 * gdb.dwarf2/dw2-is-stmt.exp: Same.
256 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
257 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
258 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
259 * gdb.dwarf2/dw2-param-error.exp: Same.
260 * gdb.dwarf2/dw2-ranges-base.exp: Same.
261 * gdb.dwarf2/dw2-ranges.exp: Same.
262 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
263 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
264 * gdb.dwarf2/dw4-sig-types.exp: Same.
265 * gdb.dwarf2/dynarr-ptr.exp: Same.
266 * gdb.dwarf2/enum-type.exp: Same.
267 * gdb.dwarf2/fission-mix.exp: Same.
268 * gdb.dwarf2/formdata16.exp: Same.
269 * gdb.dwarf2/implptrconst.exp: Same.
270 * gdb.dwarf2/implptrpiece.exp: Same.
271 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
272 * gdb.dwarf2/main-subprogram.exp: Same.
273 * gdb.dwarf2/method-ptr.exp: Same.
274 * gdb.dwarf2/missing-sig-type.exp: Same.
275 * gdb.dwarf2/nonvar-access.exp: Same.
276 * gdb.dwarf2/opaque-type-lookup.exp: Same.
277 * gdb.dwarf2/shortpiece.exp: Same.
278 * gdb.dwarf2/staticvirtual.exp: Same.
279 * gdb.dwarf2/subrange.exp: Same.
280 * gdb.dwarf2/symtab-producer.exp: Same.
281 * gdb.dwarf2/typedef-void-finish.exp: Same.
282 * gdb.dwarf2/var-access.exp: Same.
283 * gdb.dwarf2/variant.exp: Same.
284 * gdb.dwarf2/void-type.exp: Same.
285 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
286 dw2-ranges-main.c.
287 * gdb.dwarf2/dw2-ranges-main.c: Remove.
288
472d09c1
TV
2892020-10-16 Tom de Vries <tdevries@suse.de>
290
291 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
292
afe75f6d
TV
2932020-10-16 Tom de Vries <tdevries@suse.de>
294
295 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
296
8c8bd0ba
TV
2972020-10-14 Tom de Vries <tdevries@suse.de>
298
299 PR testsuite/26732
300 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
301 scenario 2.
302 * gdb.ada/mi_catch_ex_hand.exp: Same.
303
b75d55d4
PA
3042020-10-13 Pedro Alves <pedro@palves.net>
305
306 * lib/mi-support.exp (mi_clean_restart): New.
307 (mi_run_to_main): Delete.
308 All callers adjust to use mi_clean_restart / mi_runto_main.
309
e777225b
PA
3102020-10-13 Pedro Alves <pedro@palves.net>
311
312 * config/monitor.exp: Use "list -q".
313 * gdb.arch/gdb1558.exp: Use "break -q".
314 * gdb.arch/i386-permbkpt.exp: Use "break -q".
315 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
316 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
317 * gdb.base/commands.exp: Use "break -q".
318 * gdb.base/condbreak.exp: Use "break -q".
319 * gdb.base/ctf-ptype.exp: Use "list -q".
320 * gdb.base/define.exp: Use "break -q".
321 * gdb.base/del.exp: Use "break -q".
322 * gdb.base/fullname.exp: Use "break -q".
323 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
324 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
325 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
326 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
327 "hbreak -q".
328 * gdb.base/included.exp: Use "list -q".
329 * gdb.base/label.exp: Use "break -q".
330 * gdb.base/lineinc.exp: Use "break -q".
331 * gdb.base/list.exp: Use "list -q".
332 * gdb.base/macscp.exp: Use "list -q".
333 * gdb.base/pending.exp: Use "break -q".
334 * gdb.base/prologue-include.exp: Use "break -q".
335 * gdb.base/ptype.exp: Use "list -q".
336 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
337 * gdb.base/server-del-break.exp: Use "break -q".
338 * gdb.base/style.exp: Use "break -q".
339 * gdb.base/symbol-without-target_section.exp: Use "list -q".
340 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
341 * gdb.cp/exception.exp: Use "tbreak -q".
342 * gdb.dwarf2/dw2-error.exp: Use "break -q".
343 * gdb.dwarf2/fission-mix.exp: Use "break -q".
344 * gdb.dwarf2/fission-reread.exp: Use "break -q".
345 * gdb.dwarf2/pr13961.exp: Use "break -q".
346 * gdb.linespec/explicit.exp: Use "list -q".
347 * gdb.linespec/linespec.exp: Use "break -q".
348 * gdb.mi/mi-simplerun.exp: Use "--qualified".
349 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
350 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
351 * gdb.server/connect-without-multi-process.exp: Use "break -q".
352 * gdb.trace/change-loc.exp: Use "break -q".
353 * gdb.trace/pending.exp: Use "break -q".
354 * gdb.tui/basic.exp: Use "list -q".
355 * gdb.tui/list-before.exp: Use "list -q".
356 * gdb.tui/list.exp: Use "list -q".
357 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
358
8abd8ee8
PA
3592020-10-13 Pedro Alves <pedro@palves.net>
360
361 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
362 saved breakpoints file.
363 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
364 inspecting breakpoint list.
365 * lib/gdb.exp (runto_main): Add "qualified" to options.
366 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
367 and handle it.
368 (mi_runto_main): Pass 1 as qualified argument.
369
f71e6719
PA
3702020-10-13 Pedro Alves <pedro@palves.net>
371
372 * lib/mi-support.exp (mi_runto_main): New proc.
373 (mi_run_to_main): Use it.
374 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
375 * gdb.mi/mi-var-cmd.exp: Likewise.
376 * gdb.mi/mi-var-invalidate.exp: Likewise.
377 * mi-var-list-children-invalid-grandchild.exp: Likewise.
378 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
379 * gdb.mi/new-ui-mi-sync.exp: Likewise.
380 * gdb.mi/user-selected-context-sync.exp: Likewise.
381 * gdb.opt/inline-cmds.exp: Likewise.
382 * gdb.python/py-framefilter-mi.exp: Likewise.
383 * gdb.python/py-mi.exp: Likewise.
384
50441f0f
PA
3852020-10-13 Pedro Alves <pedro@palves.net>
386
387 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
388 "runto main".
389 * gdb.ada/small_reg_param.exp: Likewise.
390 * gdb.arch/powerpc-d128-regs.exp: Likewise.
391 * gdb.base/annota1.exp: Likewise.
392 * gdb.base/anon.exp: Likewise.
393 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
394 * gdb.base/dprintf-non-stop.exp: Likewise.
395 * gdb.base/dprintf.exp: Likewise.
396 * gdb.base/gdb11530.exp: Likewise.
397 * gdb.base/gdb11531.exp: Likewise.
398 * gdb.base/gnu_vector.exp: Likewise.
399 * gdb.base/interrupt-noterm.exp: Likewise.
400 * gdb.base/memattr.exp: Likewise.
401 * gdb.base/step-over-syscall.exp: Likewise.
402 * gdb.base/watch-cond-infcall.exp: Likewise.
403 * gdb.base/watch-read.exp: Likewise.
404 * gdb.base/watch-vfork.exp: Likewise.
405 * gdb.base/watch_thread_num.exp: Likewise.
406 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
407 * gdb.guile/scm-frame-inline.exp: Likewise.
408 * gdb.linespec/explicit.exp: Likewise.
409 * gdb.opt/inline-break.exp: Likewise.
410 * gdb.python/py-frame-inline.exp: Likewise.
411 * gdb.reverse/break-precsave.exp: Likewise.
412 * gdb.reverse/break-reverse.exp: Likewise.
413 * gdb.reverse/consecutive-precsave.exp: Likewise.
414 * gdb.reverse/consecutive-reverse.exp: Likewise.
415 * gdb.reverse/finish-precsave.exp: Likewise.
416 * gdb.reverse/finish-reverse.exp: Likewise.
417 * gdb.reverse/fstatat-reverse.exp: Likewise.
418 * gdb.reverse/getresuid-reverse.exp: Likewise.
419 * gdb.reverse/i386-precsave.exp: Likewise.
420 * gdb.reverse/i386-reverse.exp: Likewise.
421 * gdb.reverse/i386-sse-reverse.exp: Likewise.
422 * gdb.reverse/i387-env-reverse.exp: Likewise.
423 * gdb.reverse/i387-stack-reverse.exp: Likewise.
424 * gdb.reverse/insn-reverse.exp: Likewise.
425 * gdb.reverse/machinestate-precsave.exp: Likewise.
426 * gdb.reverse/machinestate.exp: Likewise.
427 * gdb.reverse/pipe-reverse.exp: Likewise.
428 * gdb.reverse/readv-reverse.exp: Likewise.
429 * gdb.reverse/recvmsg-reverse.exp: Likewise.
430 * gdb.reverse/rerun-prec.exp: Likewise.
431 * gdb.reverse/s390-mvcle.exp: Likewise.
432 * gdb.reverse/solib-precsave.exp: Likewise.
433 * gdb.reverse/solib-reverse.exp: Likewise.
434 * gdb.reverse/step-precsave.exp: Likewise.
435 * gdb.reverse/step-reverse.exp: Likewise.
436 * gdb.reverse/time-reverse.exp: Likewise.
437 * gdb.reverse/until-precsave.exp: Likewise.
438 * gdb.reverse/until-reverse.exp: Likewise.
439 * gdb.reverse/waitpid-reverse.exp: Likewise.
440 * gdb.reverse/watch-precsave.exp: Likewise.
441 * gdb.reverse/watch-reverse.exp: Likewise.
442 * gdb.threads/kill.exp: Likewise.
443 * gdb.threads/tid-reuse.exp: Likewise.
444
d3a07122
SM
4452020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
446
447 PR gdb/26642
448 * gdb.base/maint-target-async-off.c: New test.
449 * gdb.base/maint-target-async-off.exp: New test.
450
c65c6c42
AM
4512020-10-13 Alan Modra <amodra@gmail.com>
452
453 * gdb.arch/powerpc-altivec.s,
454 * gdb.arch/powerpc-power7.s,
455 * gdb.arch/powerpc-power8.s,
456 * gdb.arch/powerpc-power9.s,
457 * gdb.arch/powerpc-vsx.s,
458 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
459 * gdb.arch/powerpc-altivec.exp,
460 * gdb.arch/powerpc-power7.exp,
461 * gdb.arch/powerpc-power8.exp,
462 * gdb.arch/powerpc-power9.exp,
463 * gdb.arch/powerpc-vsx.exp,
464 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
465 disassembly of mfvsrd/mtvsrd.
466
f4a0f710
AM
4672020-10-13 Alan Modra <amodra@gmail.com>
468
469 * gdb.arch/arm-disassembler-options.exp: Adjust expected
470 "target architecture" output.
471 * gdb.arch/powerpc-d128-regs.exp: Likewise.
472 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
473 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
474 * gdb.arch/s390-disassembler-options.exp: Likewise.
475
87a37e5e
PA
4762020-10-12 Pedro Alves <pedro@palves.net>
477
478 PR exp/26602
479 PR c++/26550
480 * gdb.cp/ambiguous.cc (marker1): Delete.
481 (main): Initialize all the fields of the locals. Replace marker1
482 call with a "set breakpoint here" marker.
483 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
484 instead of running to marker1. Add tests printing all the
485 variables and all the fields of the variables.
486 (test_ambiguous): New proc, expecting the new GDB output when a
487 field access is ambiguous. Change all "warning: X ambiguous"
488 tests to use it.
489
71e1b6b0
GB
4902020-10-12 Gary Benson <gbenson@redhat.com>
491
492 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
493 * gdb.base/msym-bp-2.c (foo): Likewise.
494 * gdb.base/msym-lang.c (foo): Likewise.
495 * gdb.base/msym-lang-main.c (foo): Likewise.
496 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
497 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
498 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
499 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
500 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
501 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
502 * gdb.python/py-objfile.c (static_var): Likewise.
503 * gdb.python/py-symbol.c (rr): Likewise.
504 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
505 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
506
9370fd51
AB
5072020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
508
509 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
510 output of backtrace.
511
7c184d33
TT
5122020-10-09 Tom Tromey <tromey@adacore.com>
513
514 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
515 (Rec): Add field. Fix range.
516 * gdb.ada/scalar_storage.exp: Update.
517
3d87245c
HD
5182020-10-09 Hannes Domani <ssbssa@yahoo.de>
519
520 PR exp/26714
521 * gdb.base/printcmds.exp: Add tests for void results.
522
f5c4b229
JV
5232020-10-09 Jan Vrany <jan.vrany@labware.com>
524
525 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
526 is emmited for both 'set directories' and 'directory' commands.
527
b2701685
TT
5282020-10-08 Tom Tromey <tom@tromey.com>
529
530 * gdb.base/style.exp: Check that "main"'s name is styled.
531
e86efb33
TT
5322020-10-07 Tom Tromey <tromey@adacore.com>
533
534 * gdb.base/find.exp: Rename some tests.
535
30897591
GB
5362020-10-06 Gary Benson <gbenson@redhat.com>
537
538 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
539 * gdb.base/list1.c (unused): Likewise.
540
ced4a4c1
GB
5412020-10-06 Gary Benson <gbenson@redhat.com>
542
543 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
544 __attribute__ ((used)).
545 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
546
ed3bdac4
AB
5472020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
548
549 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
550 make use of regions throughout.
551 * gdb.base/overlays.exp: Enclose string with variableds in "..",
552 not {...}.
553 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
554
cd096ec8
HD
5552020-10-05 Hannes Domani <ssbssa@yahoo.de>
556
557 * gdb.base/call-sc.c: Fix return struct on stack test case.
558 * gdb.base/call-sc.exp: Likewise.
559
3ee6f75d
GB
5602020-10-02 Gary Benson <gbenson@redhat.com>
561
562 * README: Fix "paralell".
563
f65825ec
GB
5642020-09-30 Gary Benson <gbenson@redhat.com>
565
566 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
567 Convert directive to lowercase.
568 (.Labbrev1_begin): Add missing label.
569 (abbrev code 0x1): Remove DW_AT_stmt_list.
570 (.Ldie_b): Likewise.
571
5f278258
TT
5722020-09-27 Tom Tromey <tom@tromey.com>
573
574 * gdb.tui/new-layout.exp: Use with_test_prefix.
575
8f9929bb
GR
5762020-09-26 Gareth Rees <grees@undo.io> (tiny change)
577
578 PR python/26586
579 * gdb.python/python.exp: add test cases for the from_tty
580 argument to gdb.execute.
581
c20c017b
GB
5822020-09-25 Gary Benson <gbenson@redhat.com>
583
584 * gdb.base/infcall-nested-structs.exp.tcl: Add
585 additional_flags=-Wno-tautological-compare for C++
586 tests when compiling using Clang.
587
68d654af
GB
5882020-09-25 Gary Benson <gbenson@redhat.com>
589
590 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
591 for .c files.
592
b551a89f
TT
5932020-09-24 Tom Tromey <tromey@adacore.com>
594
595 PR tui/26638:
596 * gdb.tui/list.exp: Check output of "focus next".
597
20a5fcbd
TT
5982020-09-23 Tom Tromey <tom@tromey.com>
599
600 * gdb.dwarf2/intbits.exp: New file.
601 * gdb.dwarf2/intbits.c: New file.
602
b167e53f
PA
6032020-09-20 Pedro Alves <pedro@palves.net>
604
605 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
606 spawn_id before calling remote_close. Close secondary MI channel.
607
dbc49e9f
PA
6082020-09-20 Pedro Alves <pedro@palves.net>
609
610 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
611 fails.
612
c8d5abea
AB
6132020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
614
615 * gdb.fortran/array-slices.exp: Update expected results.
616 * gdb.fortran/class-allocatable-array.exp: Likewise.
617 * gdb.fortran/multi-dim.exp: Likewise.
618 * gdb.fortran/vla-type.exp: Likewise.
619 * gdb.mi/mi-vla-fortran.exp: Likewise.
620
14f9473c
VC
6212020-09-18 Victor Collod <vcollod@nvidia.com>
622
623 PR gdb/26635
624 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
625 compatible with i386, and move it to...
626 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
627 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
628 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
629
e8ef12b9
PA
6302020-09-18 Pedro Alves <pedro@palves.net>
631
632 PR gdb/26631
633 * gdb.multi/multi-target-thread-find.exp: New file.
634
e11daf7a
PA
6352020-09-18 Pedro Alves <pedro@palves.net>
636
637 * gdb.multi/multi-target-continue.exp: New file, factored out from
638 multi-target.exp.
639 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
640 multi-target.exp.
641 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
642 multi-target.exp.
643 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
644 multi-target.exp.
645 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
646 multi-target.exp.
647 * gdb.multi/multi-target.exp.tcl: New file, factored out from
648 multi-target.exp.
649 * gdb.multi/multi-target.exp: Delete.
650
d0edc2b8
AB
6512020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
652
653 * gdb.fortran/array-slices.exp: Add missing message data.
654
7474326c
PA
6552020-09-17 Pedro Alves <pedro@palves.net>
656
657 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
658
dd23068d
PA
6592020-09-17 Pedro Alves <pedro@palves.net>
660
661 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
662 full prototype.
663
0640a543
PA
6642020-09-17 Pedro Alves <pedro@palves.net>
665
666 * gdb.python/py-as-string.c: Add cast.
667
ef0cdbc1
PA
6682020-09-17 Pedro Alves <pedro@palves.net>
669
670 * gdb.base/sizeof.c (fill): Add cast.
671
3a5eeb8b
PA
6722020-09-17 Pedro Alves <pedro@palves.net>
673
674 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
675
a8129512
PA
6762020-09-17 Pedro Alves <pedro@palves.net>
677
678 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
679 linkage name.
680 * gdb.base/prologue.exp: Use print /d.
681 * gdb.base/symbol-alias.exp: Handle C++ output.
682 * gdb.base/symbol-alias2.c: Handle C++ output.
683 [__cplusplus] (func): Explicitly specify linkage name.
684
a83cdcb6
PA
6852020-09-17 Pedro Alves <pedro@palves.net>
686
687 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
688 (struct my_key_t): ... this. Adjust all references.
689 (struct value_t): Rename to ...
690 (struct my_value_t): ... this. Adjust all references.
691 (create_map, add_map_element, create_map_map)
692 (add_map_map_element): Add casts.
693
d4bcee5c
PA
6942020-09-17 Pedro Alves <pedro@palves.net>
695
696 * gdb.python/py-framefilter-mi.c (funca): Add casts.
697 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
698
81f90489
PA
6992020-09-17 Pedro Alves <pedro@palves.net>
700
701 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
702
0a229804
PA
7032020-09-17 Pedro Alves <pedro@palves.net>
704
705 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
706 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
707 (charfoo, intfoo): Define full prototype.
708 * gdb.base/ptype1.c (charfoo): Define full prototype.
709 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
710 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
711
c3e5138d
PA
7122020-09-17 Pedro Alves <pedro@palves.net>
713
714 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
715 Don't define.
716 (utf_32_string): Compile for both C and C++.
717 * gdb.base/charset.exp: Use "print /d".
718
151fdbad
PA
7192020-09-17 Pedro Alves <pedro@palves.net>
720
721 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
722 (nullptr): Rename to ...
723 (null_ptr): ... this.
724 * gdb.base/watchpoint.exp: Adjust to rename.
725
18a25b64
PA
7262020-09-17 Pedro Alves <pedro@palves.net>
727
728 * gdb.base/printcmds.c (three, flag_enum_without_zero)
729 (three_not_flag): Add casts.
730
11fac337
PA
7312020-09-17 Pedro Alves <pedro@palves.net>
732
733 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
734 char array.
735 (main): Add references to Barrier, TestStrings, TestStringsH and
736 TestStringsW.
737 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
738 and expect a full prototype in C++.
739
52626c58
PA
7402020-09-17 Pedro Alves <pedro@palves.net>
741
742 * gdb.base/nested-addr.c (main): Add cast.
743 * gdb.base/nested-addr.exp: Use "print /d".
744
52bb0902
PA
7452020-09-17 Pedro Alves <pedro@palves.net>
746
747 * gdb.base/break.exp (func): New. Use it throughout when
748 expecting a function name.
749
73e18ac9
PA
7502020-09-17 Pedro Alves <pedro@palves.net>
751
752 * gdb.base/display.exp: Issue "set print asm-demangle on".
753
c8b18808
PA
7542020-09-17 Pedro Alves <pedro@palves.net>
755
756 * gdb.base/find.c: Include <string.h>.
757 (init_bufs): Add cast.
758 * gdb.base/find.exp: Issue "set print asm-demangle on".
759
fe830662
TT
7602020-09-16 Tom Tromey <tromey@adacore.com>
761
762 PR gdb/26598:
763 * gdb.base/skipcxx.exp: New file.
764 * gdb.base/skipcxx.cc: New file.
765
945ff6e2
TV
7662020-09-16 Tom de Vries <tdevries@suse.de>
767
768 PR testsuite/26617
769 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
770 WITH_DEBUG_SECTIONS is defined.
771 (xstr, str): New macro.
772 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
773 to get start and size of _Dmain.
774 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
775 using additional_flags.
776
da1df1db
TBA
7772020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
778
779 * gdb.base/bp-cmds-sourced-script.c: New file.
780 * gdb.base/bp-cmds-sourced-script.exp: New test.
781 * gdb.base/bp-cmds-sourced-script.gdb: New file.
782
337882d4
TV
7832020-09-16 Tom de Vries <tdevries@suse.de>
784
785 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
786 get the gdb prompt after issuing "monitor exit".
787
7361f908
TV
7882020-09-16 Tom de Vries <tdevries@suse.de>
789
790 PR testsuite/26624
791 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
792
4d91ddd3
TV
7932020-09-16 Tom de Vries <tdevries@suse.de>
794
795 PR testsuite/26618
796 * gdb.tui/new-layout.exp: Escape unbalanced braces.
797
08cc37dd
TT
7982020-09-15 Tom Tromey <tromey@adacore.com>
799
800 PR rust/26197:
801 * lib/rust-support.exp (rust_llvm_version): New proc.
802 * gdb.rust/simple.exp: Check rust_llvm_version.
803
ee6372f2
TV
8042020-09-14 Tom de Vries <tdevries@suse.de>
805
806 * gdb.rust/traits.exp: Fix PATH warning.
807
dc3a371e
PA
8082020-09-13 Pedro Alves <pedro@palves.net>
809
810 * gdb.base/catch-follow-exec.c (main): Add explicit return
811 statement.
812 * gdb.base/catch-signal.c (main): Likewise.
813 * gdb.base/condbreak-call-false.c (main): Likewise.
814 * gdb.base/consecutive.c (main): Add explicit return
815 statement and return type.
816 * gdb.base/cursal.c (main): Add explicit return statement.
817 * gdb.base/cvexpr.c (main): Likewise.
818 * gdb.base/display.c (main): Add explicit return statement and
819 return type.
820 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
821 * gdb.base/endianity.c (main): Likewise.
822 * gdb.base/execd-prog.c (main): Likewise.
823 * gdb.base/gdb1090.c (main): Likewise.
824 * gdb.base/info_qt.c (main): Likewise.
825 * gdb.base/lineinc.c (main): Likewise.
826 * gdb.base/load-command.c (main): Likewise.
827 * gdb.base/macscp1.c (main): Likewise.
828 * gdb.base/pr10179-a.c (main): Likewise.
829 * gdb.base/quit-live.c (main): Likewise.
830 * gdb.base/scope0.c (main): Likewise.
831 * gdb.base/settings.c (main): Likewise.
832 * gdb.base/stack-checking.c (main): Return int.
833 * gdb.base/varargs.c (main): Add explicit return statement.
834 * gdb.cp/ambiguous.cc (main): Likewise.
835 * gdb.cp/anon-struct.cc (main): Likewise.
836 * gdb.cp/anon-union.cc (main): Likewise.
837 * gdb.cp/bool.cc (main): Likewise.
838 * gdb.cp/bs15503.cc (main): Likewise.
839 * gdb.cp/cplusfuncs.cc (main): Likewise.
840 * gdb.cp/cttiadd.cc (main): Likewise.
841 * gdb.cp/extern-c.cc (main): Likewise.
842 * gdb.cp/filename.cc (main): Likewise.
843 * gdb.cp/formatted-ref.cc (main): Likewise.
844 * gdb.cp/mb-ctor.cc (main): Likewise.
845 * gdb.cp/member-ptr.cc (main): Likewise.
846 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
847 * gdb.cp/overload-const.cc (main): Likewise.
848 * gdb.cp/paren-type.cc (main): Likewise.
849 * gdb.cp/parse-lang.cc (main): Likewise.
850 * gdb.cp/pr-1023.cc (main): Likewise.
851 * gdb.cp/psmang1.cc (main): Likewise.
852 * gdb.cp/readnow-language.cc (main): Likewise.
853 * gdb.cp/ref-params.cc (main): Likewise.
854 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
855 * gdb.cp/virtbase2.cc (main): Likewise.
856 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
857 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
858 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
859 * gdb.mi/mi-console.c (main): Likewise.
860 * gdb.mi/mi-read-memory.c (main): Likewise.
861 * gdb.modula2/multidim.c (main): Likewise.
862 * gdb.opt/inline-small-func.c (main): Likewise.
863 * gdb.python/py-rbreak.c (main): Likewise.
864 * gdb.stabs/exclfwd1.c (main): Likewise.
865 * gdb.trace/qtro.c (main): Likewise.
866
af26601c
PA
8672020-09-13 Pedro Alves <pedro@palves.net>
868
869 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
870 instead of getenv.
871
2f4b83cd
PA
8722020-09-13 Pedro Alves <pedro@palves.net>
873
874 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
875 instead of spawning GDB with remote_spawn.
876 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
877 gdb_spawn instead of spawning GDB with remote_spawn.
878
c49da0e4
PA
8792020-09-13 Pedro Alves <pedro@palves.net>
880
881 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
882 file and add calls to first and second.
883 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
884 add call to f.
885
6791b117
PA
8862020-09-13 Pedro Alves <pedro@palves.net>
887
888 * gdb.mi/mi-break-qualified.cc: New file.
889 * gdb.mi/mi-break-qualified.exp: New file.
890 * lib/mi-support.exp (mi_create_breakpoint_multi)
891 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
892 procedures.
893 (mi_create_breakpoint_1): New, factored out from
894 mi_create_breakpoint.
895
3b8d4c5c
PA
8962020-09-13 Pedro Alves <pedro@palves.net>
897
898 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
899 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
900 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
901 (register_class): Delete.
902 (main): Don't call register_class.
903
d5f96005
PA
9042020-09-13 Pedro Alves <pedro@palves.net>
905
906 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
907 (do_tests): Remove "calling method for small class" test.
908 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
909 (register_class): Delete.
910 (main): Don't call register_class.
911 * gdb.cp/call-method-register.exp: New file, based on bits removed
912 from classes.exp.
913 * gdb.cp/call-method-register.cc: New file, based on bits removed
914 from classes.cc.
915
77f2120b
PA
9162020-09-13 Pedro Alves <pedro@palves.net>
917
918 * gdb.base/msym-bp-2.c: New.
919 * gdb.base/msym-bp-shl-lib.c: New file.
920 * gdb.base/msym-bp-shl-main-2.c: New file.
921 * gdb.base/msym-bp-shl-main.c: New file.
922 * gdb.base/msym-bp-shl.exp: New file.
923 * gdb.base/msym-bp.c: New file.
924 * gdb.base/msym-bp.exp: New file.
925
32aea73e
JB
9262020-09-13 Joel Brobecker <brobecker@adacore.com>
927
928 * gdb.base/default.exp: Change $_gdb_major to 11.
929
2a67f09d
FW
9302020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
931 Felix Willgerodt <Felix.Willgerodt@intel.com>
932
933 * x86-avx512bf16.c: New file.
934 * x86-avx512bf16.exp: Likewise.
935 * lib/gdb.exp (skip_avx512bf16_tests): New function.
936
ad570dd7
TV
9372020-09-11 Tom de Vries <tdevries@suse.de>
938
939 PR exp/26602
940 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
941
a56f7391
TBA
9422020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
943
944 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
945
918619e5
AM
9462020-09-10 Alan Modra <amodra@gmail.com>
947
948 PR 26597
949 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
950
cac1e71d
TV
9512020-09-08 Tom de Vries <tdevries@suse.de>
952
953 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
954 after gdb_starti_cmd.
955
c5cd900e
AKS
9562020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
957
958 * lib/fortran.exp (fortran_complex8): New proc.
959 (fortran_complex16): New proc.
960 * gdb.fortran/complex.exp: Use routines from fortran.exp
961 * gdb.fortran/pointer-to-pointer.exp: Likewise.
962 * gdb.fortran/vla-ptr-info.exp: Likewise.
963
8f5c6526
TV
9642020-09-03 Tom de Vries <tdevries@suse.de>
965
966 PR breakpoint/26546
967 * gdb.base/label-without-address.exp: Runto main first.
968
02c6f3f1
TT
9692020-09-02 Tom Tromey <tromey@adacore.com>
970
971 * gdb.ada/mi_var_access.exp: Test children of access variable.
972 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
973 * gdb.ada/mi_var_array.exp: Update.
974
efe24f05
KB
9752020-08-31 Kevin Buettner <kevinb@redhat.com>
976
977 * gdb.base/corefile.exp (warning-free): XFAIL test when running
978 on docker w/ AUFS storage driver.
979
973695d6
KB
9802020-08-31 Kevin Buettner <kevinb@redhat.com>
981
982 * gdb.base/corefile2.exp (renamed binfile): New tests.
983
f3bd50f1
SM
9842020-08-31 Simon Marchi <simon.marchi@efficios.com>
985
986 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
987
22b9b4b0
SL
9882020-08-31 Simon Marchi <simon.marchi@efficios.com>
989
990 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
991 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
992
8efaf6b3
SM
9932020-08-31 Simon Marchi <simon.marchi@efficios.com>
994
995 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
996 output, printing a "not saved" value from history and printing a
997 convenience variable created from a "not saved" value.
998
e840f2e3
TV
9992020-08-31 Tom de Vries <tdevries@suse.de>
1000
1001 * gdb.base/eh_return.exp: Use nopie.
1002
8f57f343
PA
10032020-08-28 Pedro Alves <pedro@palves.net>
1004
1005 * gdb.base/advance-until-multiple-locations.exp
1006 (advance_overload, until_overload): Adjust to match the
1007 frame/function header instead of the source line text.
1008
626d2320
TV
10092020-08-28 Tom de Vries <tdevries@suse.de>
1010
1011 * gdb.base/label-without-address.c: New test.
1012 * gdb.base/label-without-address.exp: New file.
1013
df631783
PA
10142020-08-27 Pedro Alves <pedro@palves.net>
1015
1016 PR gdb/26523
1017 PR gdb/26524
1018 * gdb.base/advance-until-multiple-locations.cc: New.
1019 * gdb.base/advance-until-multiple-locations.exp: New.
1020
48b076bb
SM
10212020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
1022
1023 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
1024
c2015ce4
AB
10252020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1026
1027 * gdb.arch/amd64-byte.exp: Make test names unique, use
1028 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
1029 * gdb.arch/amd64-dword.exp: Likewise.
1030 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
1031 * gdb.arch/amd64-stap-special-operands.exp: Make test names
1032 unique.
1033 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
1034 * gdb.arch/amd64-word.exp: Make test names unique, use
1035 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
1036 * gdb.arch/i386-byte.exp: Make test names unique, use
1037 gdb_breakpoint.
1038 * gdb.arch/i386-word.exp: Likewise.
1039
995d3a19
SV
10402020-08-25 Shahab Vahedi <shahab@synopsys.com>
1041
1042 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
1043
8cac2b31
SM
10442020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
1045
1046 PR gdb/26532
1047 * gdb.threads/stepi-random-signal.exp: Update pattern.
1048
2bc19622
SM
10492020-08-25 Simon Marchi <simon.marchi@efficios.com>
1050
1051 PR gdb/26532
1052 * gdb.base/ui-redirect.exp: Update pattern.
1053
b04aa1fc
GB
10542020-08-25 Gary Benson <gbenson@redhat.com>
1055
1056 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
1057 when compiling with clang.
8571e9c8 1058 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 1059
9f68b453
GB
10602020-08-25 Gary Benson <gbenson@redhat.com>
1061
1062 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
1063 Add additional_flags=-Wno-inaccessible-base when compiling
1064 with GCC >= 10.1 or clang. Add additional_flags=-w when
1065 compiling with GCC < 10.
1066
3945d2d7
GM
10672020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
1068
1069 PR m2/26372
fc5d6901
SM
1070 * gdb.modula2/multidim.c: New file.
1071 * gdb.modula2/multidim.exp: New file.
3945d2d7 1072
60122dbe
SM
10732020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
1074
1075 * lib/gdb.exp (runto): Always emit fail on internal error.
1076
1eb8556f
SM
10772020-08-24 Simon Marchi <simon.marchi@efficios.com>
1078
1079 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
1080 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1081 Likewise.
1082 * gdb.threads/stepi-random-signal.exp: Likewise.
1083
33bf4c5c
TBA
10842020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1085
1086 * gdb.base/print-file-var.exp: Fix typo "breapoint".
1087 * gdb.trace/strace.exp: Ditto.
1088
c2fd7fae
AKS
10892020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1090
1091 * gdb.fortran/vla-type.exp: Skip commands not required for
1092 the Flang compiled binaries after prologue fix.
1093
326afb72
TT
10942020-08-17 Tom de Vries <tdevries@suse.de>
1095 Tom Tromey <tromey@adacore.com>
1096
1097 PR rust/26197:
1098 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
1099
3ae7ab99
TT
11002020-08-17 Tom Tromey <tromey@adacore.com>
1101
1102 * gdb.ada/mi_var_access.exp: New file.
1103 * gdb.ada/mi_var_access/mi_access.adb: New file.
1104 * gdb.ada/mi_var_access/pck.adb: New file.
1105 * gdb.ada/mi_var_access/pck.ads: New file.
1106
f569c1c5
TV
11072020-08-16 Tom de Vries <tdevries@suse.de>
1108
1109 PR gdb/25350
1110 * gdb.base/eh_return.c: New test.
1111 * gdb.base/eh_return.exp: New file.
1112
3d11c30a
TV
11132020-08-15 Tom de Vries <tdevries@suse.de>
1114
1115 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
1116 (mixed_func_1d_): Use fortran_charlen_t in decl.
1117
547ce8f0
TV
11182020-08-15 Tom de Vries <tdevries@suse.de>
1119
1120 PR backtrace/26390
1121 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
1122 Update expected pattern.
1123
a54a7f13
PA
11242020-08-13 Pedro Alves <pedro@palves.net>
1125
1126 * gdb.fortran/complex.exp: Check skip_fortran_tests.
1127 * gdb.fortran/library-module.exp: Likewise.
1128 * gdb.fortran/logical.exp: Likewise.
1129 * gdb.fortran/module.exp: Likewise.
1130 * gdb.fortran/print_type.exp: Likewise.
1131 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
1132 * gdb.fortran/vla-datatypes.exp: Likewise.
1133 * gdb.fortran/vla-history.exp: Likewise.
1134 * gdb.fortran/vla-ptr-info.exp: Likewise.
1135 * gdb.fortran/vla-ptype-sub.exp: Likewise.
1136 * gdb.fortran/vla-ptype.exp: Likewise.
1137 * gdb.fortran/vla-sizeof.exp: Likewise.
1138 * gdb.fortran/vla-type.exp: Likewise.
1139 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
1140 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
1141 * gdb.fortran/vla-value-sub.exp: Likewise.
1142 * gdb.fortran/vla-value.exp: Likewise.
1143
7a82e903
PA
11442020-08-13 Pedro Alves <pedro@palves.net>
1145
1146 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
1147 * gdb.ada/access_to_packed_array.exp: Likewise.
1148 * gdb.ada/access_to_unbounded_array.exp: Likewise.
1149 * gdb.ada/addr_arith.exp: Likewise.
1150 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
1151 * gdb.ada/arr_arr.exp: Likewise.
1152 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
1153 * gdb.ada/array_bounds.exp: Likewise.
1154 * gdb.ada/array_of_variable_length.exp: Likewise.
1155 * gdb.ada/array_ptr_renaming.exp: Likewise.
1156 * gdb.ada/array_subscript_addr.exp: Likewise.
1157 * gdb.ada/arraydim.exp: Likewise.
1158 * gdb.ada/arrayparam.exp: Likewise.
1159 * gdb.ada/arrayptr.exp: Likewise.
1160 * gdb.ada/assign_1.exp: Likewise.
1161 * gdb.ada/assign_arr.exp: Likewise.
1162 * gdb.ada/atomic_enum.exp: Likewise.
1163 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
1164 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
1165 * gdb.ada/bias.exp: Likewise.
1166 * gdb.ada/boolean_expr.exp: Likewise.
1167 * gdb.ada/bp_c_mixed_case.exp: Likewise.
1168 * gdb.ada/bp_enum_homonym.exp: Likewise.
1169 * gdb.ada/bp_inlined_func.exp: Likewise.
1170 * gdb.ada/bp_on_var.exp: Likewise.
1171 * gdb.ada/bp_range_type.exp: Likewise.
1172 * gdb.ada/bp_reset.exp: Likewise.
1173 * gdb.ada/call_pn.exp: Likewise.
1174 * gdb.ada/catch_assert_if.exp: Likewise.
1175 * gdb.ada/catch_ex.exp: Likewise.
1176 * gdb.ada/catch_ex_std.exp: Likewise.
1177 * gdb.ada/char_enum.exp: Likewise.
1178 * gdb.ada/char_param.exp: Likewise.
1179 * gdb.ada/complete.exp: Likewise.
1180 * gdb.ada/cond_lang.exp: Likewise.
1181 * gdb.ada/convvar_comp.exp: Likewise.
1182 * gdb.ada/dgopt.exp: Likewise.
1183 * gdb.ada/disc_arr_bound.exp: Likewise.
1184 * gdb.ada/display_nested.exp: Likewise.
1185 * gdb.ada/dot_all.exp: Likewise.
1186 * gdb.ada/dyn_loc.exp: Likewise.
1187 * gdb.ada/dyn_stride.exp: Likewise.
1188 * gdb.ada/excep_handle.exp: Likewise.
1189 * gdb.ada/expr_delims.exp: Likewise.
1190 * gdb.ada/expr_with_funcall.exp: Likewise.
1191 * gdb.ada/exprs.exp: Likewise.
1192 * gdb.ada/fin_fun_out.exp: Likewise.
1193 * gdb.ada/fixed_cmp.exp: Likewise.
1194 * gdb.ada/formatted_ref.exp: Likewise.
1195 * gdb.ada/frame_arg_lang.exp: Likewise.
1196 * gdb.ada/frame_args.exp: Likewise.
1197 * gdb.ada/fullname_bp.exp: Likewise.
1198 * gdb.ada/fun_addr.exp: Likewise.
1199 * gdb.ada/fun_in_declare.exp: Likewise.
1200 * gdb.ada/fun_overload_menu.exp: Likewise.
1201 * gdb.ada/fun_renaming.exp: Likewise.
1202 * gdb.ada/funcall_char.exp: Likewise.
1203 * gdb.ada/funcall_param.exp: Likewise.
1204 * gdb.ada/funcall_ptr.exp: Likewise.
1205 * gdb.ada/funcall_ref.exp: Likewise.
1206 * gdb.ada/homonym.exp: Likewise.
1207 * gdb.ada/info_addr_mixed_case.exp: Likewise.
1208 * gdb.ada/info_auto_lang.exp: Likewise.
1209 * gdb.ada/info_exc.exp: Likewise.
1210 * gdb.ada/info_types.exp: Likewise.
1211 * gdb.ada/int_deref.exp: Likewise.
1212 * gdb.ada/interface.exp: Likewise.
1213 * gdb.ada/iwide.exp: Likewise.
1214 * gdb.ada/lang_switch.exp: Likewise.
1215 * gdb.ada/length_cond.exp: Likewise.
1216 * gdb.ada/maint_with_ada.exp: Likewise.
1217 * gdb.ada/mi_catch_assert.exp: Likewise.
1218 * gdb.ada/mi_catch_ex.exp: Likewise.
1219 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
1220 * gdb.ada/mi_dyn_arr.exp: Likewise.
1221 * gdb.ada/mi_ex_cond.exp: Likewise.
1222 * gdb.ada/mi_exc_info.exp: Likewise.
1223 * gdb.ada/mi_interface.exp: Likewise.
1224 * gdb.ada/mi_prot.exp: Likewise.
1225 * gdb.ada/mi_ref_changeable.exp: Likewise.
1226 * gdb.ada/mi_string_access.exp: Likewise.
1227 * gdb.ada/mi_task_arg.exp: Likewise.
1228 * gdb.ada/mi_task_info.exp: Likewise.
1229 * gdb.ada/mi_var_array.exp: Likewise.
1230 * gdb.ada/mi_var_union.exp: Likewise.
1231 * gdb.ada/mi_variant.exp: Likewise.
1232 * gdb.ada/minsyms.exp: Likewise.
1233 * gdb.ada/mod_from_name.exp: Likewise.
1234 * gdb.ada/nested.exp: Likewise.
1235 * gdb.ada/null_array.exp: Likewise.
1236 * gdb.ada/optim_drec.exp: Likewise.
1237 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
1238 * gdb.ada/packed_array_assign.exp: Likewise.
1239 * gdb.ada/packed_tagged.exp: Likewise.
1240 * gdb.ada/pp-rec-component.exp: Likewise.
1241 * gdb.ada/print_chars.exp: Likewise.
1242 * gdb.ada/print_pc.exp: Likewise.
1243 * gdb.ada/ptr_typedef.exp: Likewise.
1244 * gdb.ada/ptype_arith_binop.exp: Likewise.
1245 * gdb.ada/ptype_array.exp: Likewise.
1246 * gdb.ada/ptype_field.exp: Likewise.
1247 * gdb.ada/ptype_tagged_param.exp: Likewise.
1248 * gdb.ada/ptype_union.exp: Likewise.
1249 * gdb.ada/py_range.exp: Likewise.
1250 * gdb.ada/py_taft.exp: Likewise.
1251 * gdb.ada/rdv_wait.exp: Likewise.
1252 * gdb.ada/rec_comp.exp: Likewise.
1253 * gdb.ada/rec_return.exp: Likewise.
1254 * gdb.ada/ref_param.exp: Likewise.
1255 * gdb.ada/ref_tick_size.exp: Likewise.
1256 * gdb.ada/rename_subscript_param.exp: Likewise.
1257 * gdb.ada/repeat_dyn.exp: Likewise.
1258 * gdb.ada/same_component_name.exp: Likewise.
1259 * gdb.ada/same_enum.exp: Likewise.
1260 * gdb.ada/scalar_storage.exp: Likewise.
1261 * gdb.ada/set_wstr.exp: Likewise.
1262 * gdb.ada/small_reg_param.exp: Likewise.
1263 * gdb.ada/str_binop_equal.exp: Likewise.
1264 * gdb.ada/str_ref_cmp.exp: Likewise.
1265 * gdb.ada/str_uninit.exp: Likewise.
1266 * gdb.ada/sub_variant.exp: Likewise.
1267 * gdb.ada/sym_print_name.exp: Likewise.
1268 * gdb.ada/taft_type.exp: Likewise.
1269 * gdb.ada/tagged.exp: Likewise.
1270 * gdb.ada/tagged_access.exp: Likewise.
1271 * gdb.ada/task_bp.exp: Likewise.
1272 * gdb.ada/task_switch_in_core.exp: Likewise.
1273 * gdb.ada/tasks.exp: Likewise.
1274 * gdb.ada/tick_last_segv.exp: Likewise.
1275 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
1276 * gdb.ada/type_coercion.exp: Likewise.
1277 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
1278 * gdb.ada/unchecked_union.exp: Likewise.
1279 * gdb.ada/uninitialized_vars.exp: Likewise.
1280 * gdb.ada/var_arr_attrs.exp: Likewise.
1281 * gdb.ada/var_arr_typedef.exp: Likewise.
1282 * gdb.ada/var_rec_arr.exp: Likewise.
1283 * gdb.ada/variant-record.exp: Likewise.
1284 * gdb.ada/variant.exp: Likewise.
1285 * gdb.ada/variant_record_packed_array.exp: Likewise.
1286 * gdb.ada/varsize_limit.exp: Likewise.
1287 * gdb.ada/whatis_array_val.exp: Likewise.
1288 * gdb.ada/widewide.exp: Likewise.
1289 * gdb.ada/win_fu_syms.exp: Likewise.
1290
12912020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
1292
1293 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
1294
10c381b5
AB
12952020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
1296
1297 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
1298 unset the array variable.
1299
8f34b746
TV
13002020-08-03 Tom de Vries <tdevries@suse.de>
1301
1302 PR symtab/26333
1303 * lib/dwarf.exp (DW_LNE_user): New proc.
1304 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
1305 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
1306
0245e136
KB
13072020-07-31 Kevin Buettner <kevinb@redhat.com>
1308
1309 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
1310 to 'uintptr_t'
1311 (inttypes.h): Include.
1312
9ef1ec5d
KB
13132020-07-31 Kevin Buettner <kevinb@redhat.com>
1314
1315 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
1316 (C5_24k): Delete.
1317 (C5_8k, C5_64k, C5_256k): New macros.
1318 (buf_ro): Allocate 256 KiB of initialized data.
1319
4c55e970
TBA
13202020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1321
1322 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
1323 that attempt to overwrite an existing condition with a condition
1324 that fails parsing and also with a condition that parses fine
1325 but contains junk at the end.
1326
1e620590
TBA
13272020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1328
1329 * gdb.base/condbreak-bad.c: New test.
1330 * gdb.base/condbreak-bad.exp: New file.
1331
e12dcc50
TV
13322020-07-30 Tom de Vries <tdevries@suse.de>
1333
1334 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
1335 out of ...
1336 (GDBInfoModuleSymbols::check_entry): ... here.
1337 (GDBInfoModuleSymbols::check_optional_entry): New proc.
1338 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
1339 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
1340
6cc64caa
TV
13412020-07-30 Tom de Vries <tdevries@suse.de>
1342
1343 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
1344 "__class_some_module_Number_t" optional.
1345
90fd07fc
TV
13462020-07-29 Tom de Vries <tdevries@suse.de>
1347
1348 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
1349 multiple locations.
1350
f5c79e97
TV
13512020-07-29 Tom de Vries <tdevries@suse.de>
1352
1353 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
1354 rather than function name.
1355
f75a0693
AB
13562020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1357
1358 PR symtab/26270:
1359 * gdb.cp/disasm-func-name.cc: New file.
1360 * gdb.cp/disasm-func-name.exp: New file.
1361
4888741a
TT
13622020-07-28 Tom Tromey <tromey@adacore.com>
1363
1364 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
1365 'varval' location.
1366
43d5901d
AB
13672020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1368
1369 * gdb.python/py-unwind.py: Update to make use of a register
1370 descriptor.
1371
14fa8fb3
AB
13722020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1373
1374 * gdb.python/py-arch-reg-names.exp: Add additional tests.
1375
e79eb02f
AB
13762020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
1377
1378 PR fortran/23051
1379 PR fortran/26139
1380 * gdb.fortran/class-allocatable-array.exp: New file.
1381 * gdb.fortran/class-allocatable-array.f90: New file.
1382 * gdb.fortran/pointer-to-pointer.exp: New file.
1383 * gdb.fortran/pointer-to-pointer.f90: New file.
1384
876518dd
TV
13852020-07-25 Tom de Vries <tdevries@suse.de>
1386
1387 PR symtab/26243
1388 * gdb.dwarf2/dw2-line-number-zero.c: New test.
1389 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
1390
6dcfb80a
TV
13912020-07-24 Tom de Vries <tdevries@suse.de>
1392
1393 PR testsuite/26293
1394 * gdb.ada/mi_prot.exp: Require gnatmake-8.
1395
e7bc9db8
PA
13962020-07-23 Pedro Alves <pedro@palves.net>
1397
1398 * gdb.server/server-kill.exp (prepare): New, factored out from the
1399 top level.
1400 (kill_server): New.
1401 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
1402 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
1403
78344df7
AB
14042020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
1405
1406 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
1407
25dfed24
SL
14082020-07-22 Sandra Loosemore <sandra@codesourcery.com>
1409
1410 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
1411 Initialize to empty string at top level.
1412 (gdb_wrapper_init): Revert check for file existence on build.
1413 Build the wrapper in its default place, not a build-specific
1414 location. When host == build, make the pathname absolute.
1415 (gdb_compile): Delete leftover declaration of
1416 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
1417 string instead of uninitialized.
1418
7da515fd
KB
14192020-07-22 Kevin Buettner <kevinb@redhat.com>
1420
1421 * gdb.base/corefile2.exp: New file.
1422 * gdb.base/coremaker2.exp: New file.
1423
9c5ec5c2
KB
14242020-07-22 Kevin Buettner <kevinb@redhat.com>
1425
1426 * gdb.base/coredump-filter.exp: Add second
1427 non-Private-Shared-Anon-File test.
1428 (test_disasm): Rename binfile for test which is expected
1429 to fail.
1430
f9e233c9
KB
14312020-07-22 Kevin Buettner <kevinb@redhat.com>
1432
1433 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
1434 data in core file".
1435 * gdb.base/coremaker.c (buf2ro): New global.
1436 (mmapdata): Add a read-only mmap mapping.
1437
94c265d7
KB
14382020-07-22 Kevin Buettner <kevinb@redhat.com>
1439
1440 PR corefiles/25631
1441 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
1442 New test.
1443 * gdb.base/coremaker.c (buf3): New global.
1444 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
1445 flags.
1446
14472020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
1448
1449 * gdb.base/coremaker.c (filler_ro): New global constant.
1450
32fa152e
TT
14512020-07-22 Tom Tromey <tromey@adacore.com>
1452
1453 * gdb.ada/mi_prot.exp: New file.
1454 * gdb.ada/mi_prot/pkg.adb: New file.
1455 * gdb.ada/mi_prot/pkg.ads: New file.
1456 * gdb.ada/mi_prot/prot.adb: New file.
1457
c8474dc3
TBA
14582020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1459
1460 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
1461 loads two JITers.
1462
baf8791e
AB
14632020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
1464
1465 * gdb.python/py-arch-reg-groups.exp: Additional tests.
1466
f7306dac
AB
14672020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
1468
1469 * gdb.python/py-arch-reg-names.exp: Additional tests.
1470
6d3d6e4b
TV
14712020-07-21 Tom de Vries <tdevries@suse.de>
1472
1473 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
1474 breakpoint locations".
1475 * gdb.reverse/solib-reverse.exp: Same.
1476
803d0592
TV
14772020-07-21 Tom de Vries <tdevries@suse.de>
1478
1479 * gdb.reverse/step-reverse.c (callee): Merge statements.
1480
e9bdc510
TV
14812020-07-21 Tom de Vries <tdevries@suse.de>
1482
1483 * gdb.fortran/info-modules.exp (info module variables): Allow missing
1484 line numbers for some variables.
1485
f0f9e75a
TV
14862020-07-21 Tom de Vries <tdevries@suse.de>
1487
1488 * gdb.opt/inline-locals.c (init_array): New func.
1489 (func1): Use init_array.
1490 * gdb.opt/inline-locals.exp: Update pattern.
1491
bd460ecb
TV
14922020-07-21 Tom de Vries <tdevries@suse.de>
1493
1494 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
1495 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
1496
ae5369e7
LC
14972020-07-20 Ludovic Courtès <ludo@gnu.org>
1498
1499 * gdb.guile/source2.scm: Add #f first argument to 'format'.
1500 * gdb.guile/types-module.exp: Remove "ERROR:" from
1501 regexps since Guile 3.0 no longer prints that.
1502
68cf161c
LC
15032020-07-20 Ludovic Courtès <ludo@gnu.org>
1504
1505 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
1506 error regexp to match on Guile 2.2.
1507
c14b4913
GB
15082020-07-20 Gary Benson <gbenson@redhat.com>
1509
1510 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
1511 with clang.
1512
b243ba58
TV
15132020-07-20 Tom de Vries <tdevries@suse.de>
1514
1515 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
1516 (omp_set_lock_in_order): New function.
1517 (single_scope, multi_scope, nested_func, nested_parallel): Use
1518 omp_set_lock_in_order and omp_unset_lock.
1519 (main): Init and destroy lock and lock2.
1520
c06ad8b5
TV
15212020-07-20 Tom de Vries <tdevries@suse.de>
1522
1523 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
1524
6e22f117
TV
15252020-07-20 Tom de Vries <tdevries@suse.de>
1526
1527 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
1528
33176ea7
TV
15292020-07-17 Tom de Vries <tdevries@suse.de>
1530
1531 * gdb.base/valgrind-infcall-2.c: New test.
1532 * gdb.base/valgrind-infcall-2.exp: New file.
1533 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
1534
90c3ec2d
TV
15352020-07-17 Tom de Vries <tdevries@suse.de>
1536
1537 * gdb.dlang/circular.c (found): Use found_label as label name.
1538 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
1539 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
1540 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
1541 * gdb.dwarf2/ada-linkage-name.exp: Same.
1542 * gdb.dwarf2/arr-subrange.exp: Same.
1543 * gdb.dwarf2/atomic-type.exp: Same.
1544 * gdb.dwarf2/comp-unit-lang.exp: Same.
1545 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1546 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1547 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
1548 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
1549 * gdb.dwarf2/implptr-64bit.exp: Same.
1550 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
1551 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
1552 * gdb.dwarf2/imported-unit.exp: Same.
1553 * gdb.dwarf2/main-subprogram.exp: Same.
1554 * gdb.dwarf2/missing-type-name.exp: Same.
1555 * gdb.dwarf2/nonvar-access.exp: Same.
1556 * gdb.dwarf2/struct-with-sig.exp: Same.
1557 * gdb.dwarf2/typedef-void-finish.exp: Same.
1558 * gdb.dwarf2/void-type.exp: Same.
1559
10da644d
TV
15602020-07-17 Tom de Vries <tdevries@suse.de>
1561
1562 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
1563 src parameter.
1564 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
1565 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
1566 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1567 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1568 * gdb.dwarf2/dwz.exp: Same.
1569 * gdb.dwarf2/implptr-optimized-out.exp: Same.
1570 * gdb.dwarf2/implref-array.exp: Same.
1571 * gdb.dwarf2/implref-const.exp: Same.
1572 * gdb.dwarf2/implref-global.exp: Same.
1573 * gdb.dwarf2/implref-struct.exp: Same.
1574 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1575 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1576 * gdb.dwarf2/var-access.exp: Same.
1577 * gdb.dwarf2/varval.exp: Same.
1578 * gdb.trace/entry-values.exp: Same.
1579
315e6afc
TV
15802020-07-17 Tom de Vries <tdevries@suse.de>
1581
1582 * lib/dwarf.exp (Dwarf::extern): Remove.
1583 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
1584 * gdb.dlang/circular.exp: Same.
1585 * gdb.dwarf2/comp-unit-lang.exp: Same.
1586 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1587 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
1588 * gdb.dwarf2/dwz.exp: Same.
1589 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
1590 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
1591 * gdb.dwarf2/imported-unit.exp: Same.
1592 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1593
5597c940
SL
15942020-07-16 Sandra Loosemore <sandra@codesourcery.com>
1595
1596 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
1597 Use double quotes instead of single quotes.
1598
d0ce17d8
CT
15992020-07-16 Caroline Tice <cmtice@google.com>
1600
1601 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
1602 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
1603
853772cc
TV
16042020-07-16 Tom de Vries <tdevries@suse.de>
1605
1606 * lib/dwarf.exp (program): Initialize _line.
1607 (DW_LNE_end_sequence): Reinitialize _line.
1608 (DW_LNS_advance_line): Update _line.
1609 (line): New proc.
1610 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
1611 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
1612 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
1613 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
1614 * gdb.dwarf2/dw2-is-stmt.exp: Same.
1615 * gdb.dwarf2/dw2-ranges-func.exp: Same.
1616
fe07b572
AB
16172020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
1618
1619 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
1620 generic.
1621
52781cce
TV
16222020-07-15 Tom de Vries <tdevries@suse.de>
1623
1624 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
1625 is_amd64_regs_target.
1626
3dcc261c
AB
16272020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
1628
1629 * gdb.fortran/ptype-on-functions.exp: Add more tests.
1630 * gdb.fortran/ptype-on-functions.f90: Likewise.
1631
054a0959
SM
16322020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
1633
1634 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
1635 values in documentation for addr_size to 4 and 8.
1636
ccb9eba6
AB
16372020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
1638
1639 * gdb.arch/amd64-osabi.exp: Update.
1640 * gdb.arch/arm-disassembler-options.exp: Update.
1641 * gdb.arch/powerpc-disassembler-options.exp: Update.
1642 * gdb.arch/ppc64-symtab-cordic.exp: Update.
1643 * gdb.arch/s390-disassembler-options.exp: Update.
1644 * gdb.base/all-architectures.exp.tcl: Update.
1645 * gdb.base/attach-pie-noexec.exp: Update.
1646 * gdb.base/catch-syscall.exp: Update.
1647 * gdb.xml/tdesc-arch.exp: Update.
1648
025a39a7
TV
16492020-07-14 Tom de Vries <tdevries@suse.de>
1650
1651 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
1652 (local_gettid): ... this.
1653 (fn): Update.
1654
74e4b667
SL
16552020-07-13 Sandra Loosemore <sandra@codesourcery.com>
1656
1657 * gdb.base/info_sources.exp: Skip directory match tests on
1658 remote hosts.
1659
f413dd74
GB
16602020-07-13 Gary Benson <gbenson@redhat.com>
1661
1662 * gdb.base/savedregs.exp (caller): Use parentheses to
1663 make expected expression evaluation ordering explicit.
1664
915771bb
GB
16652020-07-13 Gary Benson <gbenson@redhat.com>
1666
1667 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
1668
2a122642
GB
16692020-07-13 Gary Benson <gbenson@redhat.com>
1670
1671 * gdb.base/bigcore.c (main): Use a volatile pointer when
1672 attempting to trigger a SIGSEGV.
1673 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
1674 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
1675 * gdb.base/savedregs.c (thrower): Likewise.
1676 * gdb.mi/mi-syn-frame.c (bar): Likewise.
1677
3f00c730
GB
16782020-07-13 Gary Benson <gbenson@redhat.com>
1679
1680 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
1681 defining and using VLA structure fields into...
1682 * gdb.base/vla-struct-fields.c: New file.
1683 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
1684 tests into...
1685 * gdb.base/vla-struct-fields.exp: New file.
1686
963eeee4
TV
16872020-07-13 Tom de Vries <tdevries@suse.de>
1688
1689 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
1690 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
1691 * gdb.base/gold-gdb-index.exp: Same.
1692 * gdb.base/morestack.exp: Same.
1693
0ed35c9a
DX
16942020-07-11 Daniel Xu <dxu@dxuuu.xyz>
1695
1696 PR rust/26121
1697 * gdb.rust/modules.rs: Prevent linker from discarding test
1698 symbol.
1699
4fdba23d
PA
17002020-07-10 Pedro Alves <pedro@palves.net>
1701
1702 PR gdb/26199
1703 * gdb.multi/multi-target.c (exit_thread): New.
1704 (thread_start): Break loop if EXIT_THREAD.
1705 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
1706 (top level) Call test_no_resumed.
1707
15f3b077
TT
17082020-07-08 Tom Tromey <tromey@adacore.com>
1709
1710 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
1711 * gdb.ada/catch_ex.exp: Examine catchpoint text.
1712
9fc501fd
AB
17132020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1714
1715 PR python/22748
1716 * gdb.opt/inline-frame-tailcall.c: New file.
1717 * gdb.opt/inline-frame-tailcall.exp: New file.
1718 * gdb.python/py-unwind-inline.c: New file.
1719 * gdb.python/py-unwind-inline.exp: New file.
1720 * gdb.python/py-unwind-inline.py: New file.
1721
64cb3757
AB
17222020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1723
1724 * gdb.python/py-arch-reg-groups.exp: New file.
1725
0f767f94
AB
17262020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1727
1728 * gdb.python/py-arch-reg-names.exp: New file.
1729
87dbc774
AB
17302020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1731
1732 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
1733 gdb.PendingFrame.architecture method.
1734
d8cc8af6
TV
17352020-07-06 Tom de Vries <tdevries@suse.de>
1736
1737 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
1738
3c8ea5be
PA
17392020-07-03 Pedro Alves <palves@redhat.com>
1740
1741 * gdb.base/structs2.c (main): Adjust second parem_reg call to
1742 explicitly write negative numbers.
1743 * gdb.base/structs2.exp: Adjust expected output.
1744
bf90c83a
PA
17452020-07-03 Pedro Alves <palves@redhat.com>
1746
1747 * gdb.base/charset.c (init_string): Change all char parameters to
1748 unsigned char parameters.
1749
2eb82157
PA
17502020-07-03 Pedro Alves <palves@redhat.com>
1751
1752 * gdb.base/call-sc.exp (start_scalars_test): Use
1753 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1754 * gdb.base/overlays.c: Remove references to PARAMS.
1755 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
1756 * gdb.base/reread.exp: Don't set 'prototypes' global.
1757 * gdb.base/structs.exp (start_structs_test): Use
1758 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1759 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
1760 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1761 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
1762 call.
1763 * gdb.base/varargs.exp: Don't set 'prototypes' global.
1764
9adda7af
PA
17652020-07-03 Pedro Alves <palves@redhat.com>
1766
1767 * gdb.base/m32rovly.c: Delete.
1768 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
1769
2a17c803
PW
17702020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1771
1772 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
1773 of gdb_py_test_multiple.
1774 * gdb.python/py-cmd.exp: Likewise.
1775 * gdb.python/py-events.exp: Likewise.
1776 * gdb.python/py-function.exp: Likewise.
1777 * gdb.python/py-inferior.exp: Likewise.
1778 * gdb.python/py-infthread.exp: Likewise.
1779 * gdb.python/py-linetable.exp: Likewise.
1780 * gdb.python/py-parameter.exp: Likewise.
1781 * gdb.python/py-value.exp: Likewise.
1782
b011fe1a
TV
17832020-06-30 Tom de Vries <tdevries@suse.de>
1784
1785 PR testsuite/26175
1786 * lib/future.exp (gdb_default_target_compile): Detect and handle
1787 early_flags.
1788
df5b8876
SM
17892020-06-29 Simon Marchi <simon.marchi@efficios.com>
1790
1791 * boards/simavr.exp (gdb_load): Catch errors when closing
1792 previous connection. Close connection, wait for process and
1793 unset simavr_spawn_id on failure.
1794
a3ca48cd
TV
17952020-06-29 Tom de Vries <tdevries@suse.de>
1796
1797 * lib/gdb.exp (unknown): Make test-case unresolved.
1798
b0237c0e
TV
17992020-06-29 Tom de Vries <tdevries@suse.de>
1800
1801 PR gdb/25475
1802 * gdb.server/solib-list.exp: Verify that the symbol reload
1803 confirmation question is asked.
1804
c0b3b3bd
PW
18052020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1806
1807 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
1808 have a input seq nr in each pass message.
fe4c3d43 1809 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
1810 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
1811 * gdb.python/python.exp: Make test names unique,
1812 use gdb_test_multiline instead of gdb_py_test_multiple,
1813 use $gdb_test_name.
1814 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
1815
1776e3e5
NA
18162020-06-26 Nick Alcock <nick.alcock@oracle.com>
1817
1818 * configure.ac: Add --enable-libctf.
1819 * aclocal.m4: sinclude ../config/enable.m4.
1820 * Makefile.in (site.exp): Add enable_libctf to site.exp.
1821 * lib/gdb.exp (skip_ctf_tests): Use it.
1822 * gdb.base/ctf-constvars.exp: Error message tweak.
1823 * gdb.base/ctf-ptype.exp: Likewise.
1824 * configure: Regenerate.
1825
f53b3eeb
GB
18262020-06-26 Gary Benson <gbenson@redhat.com>
1827
1828 * gdb.cp/try_catch.cc: Include string.h.
1829 (main): Replace comparison against string literal with
1830 strcmp, avoiding build failure with -Wstring-compare.
1831 Add "marker test-complete".
1832 * gdb.cp/try_catch.exp: Run the test to the above marker,
1833 then verify that the value of "test" is still true.
1834
6d74da72
AB
18352020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1836
1837 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
1838
2e52d038
AB
18392020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1840
1841 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
1842
3b9fce96
AB
18432020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1844
1845 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
1846 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
1847 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
1848 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
1849 * gdb.arch/riscv-tdesc-loading.exp: New file.
1850
ed69cbc8
AB
18512020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1852
1853 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
1854
767a879e
AB
18552020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1856
1857 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
1858 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
1859 * gdb.arch/riscv-tdesc-regs.c: New file.
1860 * gdb.arch/riscv-tdesc-regs.exp: New file.
1861
221db974
PA
18622020-06-24 Pedro Alves <palves@redhat.com>
1863
1864 * gdb.arch/amd64-entry-value-paramref.exp: Use
1865 prepare_for_testing_full and don't pass "c++" for the .S file
1866 build spec.
1867 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
1868 $options, since it's an assembly file. Remove -Wno-deprecated.
1869 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
1870 compiling C++ programs.
1871
331733cd
PA
18722020-06-24 Pedro Alves <palves@redhat.com>
1873
1874 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
1875 Clang, add "-Wno-unknown-warning-option" to the options.
1876
caa7fd04
AB
18772020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
1878
1879 * gdb.xml/tdesc-reload.c: New file.
1880 * gdb.xml/tdesc-reload.exp: New file.
1881 * gdb.xml/maint-xml-dump-01.xml: New file.
1882 * gdb.xml/maint-xml-dump-02.xml: New file.
1883 * gdb.xml/maint-xml-dump.exp: New file.
1884
bb8d1260
SL
18852020-06-23 Sandra Loosemore <sandra@codesourcery.com>
1886
1887 * lib/completion-support.exp (test_gdb_completion_offers_commands):
1888 Adjust for omitted commands when TUI is disabled.
1889
7e4b9c4c
GB
18902020-06-23 Gary Benson <gbenson@redhat.com>
1891 Pedro Alves <palves@redhat.com>
1892
1893 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
1894 * gdb.cp/nsimport.cc: Likewise.
1895 * gdb.cp/nsnested.cc: Likewise.
1896 * gdb.cp/nsnoimports.cc: Likewise.
1897 * gdb.cp/nsusing.cc: Likewise.
1898 * gdb.cp/smartp.cc: Likewise.
1899 * gdb.python/py-pp-integral.c: Likewise.
1900 * gdb.python/py-pp-re-notag.c: Likewise.
1901
2e573c0a
GB
19022020-06-23 Gary Benson <gbenson@redhat.com>
1903
1904 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
1905 * gdb.cp/nsimport.cc: Likewise.
1906 * gdb.cp/nsnested.cc: Likewise.
1907 * gdb.cp/nsnoimports.cc: Likewise.
1908 * gdb.cp/nsusing.cc: Likewise.
1909 * gdb.cp/smartp.cc: Likewise.
1910 * gdb.python/py-pp-integral.c: Likewise.
1911 * gdb.python/py-pp-re-notag.c: Likewise.
1912
746ebfe8
PW
19132020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1914
1915 * gdb.base/default-args.exp: New test.
1916 * gdb.base/default-args.c: New file.
1917 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
1918 * gdb.base/default.exp: Update to new help text.
1919 * gdb.base/help.exp: Likewise.
1920 * gdb.base/page.exp: Likewise.
1921 * gdb.base/style.exp: Likewise.
1922 * gdb.guile/guile.exp: Likewise.
1923 * gdb.python/python.exp: Likewise.
1924
e822f2cd
SL
19252020-06-22 Sandra Loosemore <sandra@codesourcery.com>
1926
1927 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
1928 remote host. Fix search path syntax on Windows host.
1929
48e9cc84
PW
19302020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1931
1932 * gdb.base/attach.exp: Test priority of 'exec-file' changed
1933 over 'exec-file-mismatch'.
1934 * gdb.base/attach.c: Mark should_exit volatile.
1935 * gdb.base/attach2.c: Likewise. Add a comment explaining
1936 why the sleep cannot be big.
1937 * gdb.base/attach3.c: New file.
1938
160f8a8f
SL
19392020-06-20 Sandra Loosemore <sandra@codesourcery.com>
1940
1941 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
1942 prefix optional.
1943
4d91c2a4
SL
19442020-06-20 Sandra Loosemore <sandra@codesourcery.com>
1945
1946 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
1947 for remote host.
1948
87f83f20
SL
19492020-06-19 Sandra Loosemore <sandra@codesourcery.com>
1950 Hafiz Abid Qadeer <abidh@codesourcery.com>
1951
1952 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
1953 file sent to remote host.
1954 (top level): Allow int32_t as type of 32-bit register.
1955
37ab8655
TV
19562020-06-19 Tom de Vries <tdevries@suse.de>
1957
1958 * lib/gdb.exp (gdb_note): New proc.
1959 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
1960 (gdb_default_target_compile): ... here. Only call
1961 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
1962 (use_gdb_compile): Change to array.
1963 (toplevel): Update sets of use_gdb_compile to specify language.
1964 Warn about default_target_compile override. Store dejagnu's version
1965 of default_target_compile in dejagnu_default_target_compile.
1966
a8a56685
TV
19672020-06-18 Tom de Vries <tdevries@suse.de>
1968
1969 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
1970 (default_gdb_init): ... here.
1971
581bea2c
SL
19722020-06-17 Sandra Loosemore <sandra@codesourcery.com>
1973
1974 Fix TUI support checks in gdb.tui tests.
1975
1976 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
1977 just say UNSUPPORTED.
1978 * gdb.tui/corefile-run.exp: Likewise.
1979 * gdb.tui/empty.exp: Likewise.
1980 * gdb.tui/list-before.exp: Likewise.
1981 * gdb.tui/list.exp: Likewise.
1982 * gdb.tui/main.exp: Likewise.
1983 * gdb.tui/regs.exp: Likewise.
1984 * gdb.tui/resize.exp: Likewise.
1985 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
1986 * gdb.tui/tui-layout-asm.exp: Likewise.
1987 * gdb.tui/tui-missing-src.exp: Likewise.
1988 * gdb.tui/winheight.exp: Likewise.
1989 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
1990
05e682e3
SL
19912020-06-17 Sandra Loosemore <sandra@codesourcery.com>
1992
1993 Fix TCL error in gdb.python/py-format-string.exp.
1994
1995 * gdb.python/py-format-string.exp: Move test for python support
1996 earlier, out of function body.
1997
efb763a5
SM
19982020-06-15 Simon Marchi <simon.marchi@efficios.com>
1999
2000 * gdb.base/index-cache-load-twice.c: New.
2001 * gdb.base/index-cache-load-twice.exp: New.
2002
43327b20
KS
20032020-06-17 Keith Seitz <keiths@redhat.com>
2004
99cf27cf 2005 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
2006 when executing "gdb --configuration".
2007
081e778c
TV
20082020-06-17 Tom de Vries <tdevries@suse.de>
2009
2010 * lib/gdb.exp (gdb_tcl_unknown): New proc.
2011 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
2012 conditional on presence of gdb_tcl_unknown.
2013 (gdb_finish): Make override undo conditional on presence of
2014 gdb_tcl_unknown.
2015
d2d1ea20
TT
20162020-06-16 Tom Tromey <tom@tromey.com>
2017
2018 * gdb.python/tui-window.py (failwin): New function. Register it
2019 as a TUI window type.
2020 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
2021
c802e8a7
GB
20222020-06-16 Gary Benson <gbenson@redhat.com>
2023
2024 * gdb.python/py-nested-maps.c (create_map): Add missing return
2025 value.
2026 (create_map_map): Likewise.
2027
ff08abb8
TBA
20282020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2029
2030 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
2031 variable.
2032 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
2033 and use the already-defined 'options' variable.
2034
a29d5112
AB
20352020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
2036 Tom de Vries <tdevries@suse.de>
2037
2038 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
2039 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
2040 (gdb_setup_known_globals): New proc.
2041 (gdb_cleanup_globals): New proc.
2042 * lib/gdb.exp (load_lib): New override proc.
2043 (gdb_stdin_log_init): Set var in_file as persistent global.
2044 * lib/pascal.exp (gdb_stdin_log_init): Set vars
2045 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
2046 fpc_compiler as persistent global.
2047
8c74a764
TV
20482020-06-12 Tom de Vries <tdevries@suse.de>
2049
2050 * lib/tuiterm.exp (spawn): Rename to ...
2051 (tui_spawn): ... this.
2052 (toplevel): Move rename of spawn ...
2053 (gdb_init_tuiterm): ... here. New proc.
2054 (gdb_finish_tuiterm): New proc.
2055 * lib/gdb.exp (gdb_finish_hooks): New global var.
2056 (gdb_finish): Handle gdb_finish_hooks.
2057 (tuiterm_env): New proc.
2058 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
2059 tuiterm_env.
2060 * gdb.tui/basic.exp: Same.
2061 * gdb.tui/corefile-run.exp: Same.
2062 * gdb.tui/empty.exp: Same.
2063 * gdb.tui/list-before.exp: Same.
2064 * gdb.tui/list.exp: Same.
2065 * gdb.tui/main.exp: Same.
2066 * gdb.tui/new-layout.exp: Same.
2067 * gdb.tui/regs.exp: Same.
2068 * gdb.tui/resize.exp: Same.
2069 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
2070 * gdb.tui/tui-layout-asm.exp: Same.
2071 * gdb.tui/tui-missing-src.exp: Same.
2072 * gdb.tui/winheight.exp: Same.
2073
26783bce
TV
20742020-06-12 Tom de Vries <tdevries@suse.de>
2075
2076 PR testsuite/26110
2077 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
2078 (gdb_finish): Reinstall dejagnu's override of ::unknown.
2079
2b4e6a3f
TT
20802020-06-11 Tom Tromey <tom@tromey.com>
2081
2082 PR gdb/18318:
2083 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
2084 floating point tests.
2085
2f33032a
KS
20862020-06-11 Keith Seitz <keiths@redhat.com>
2087
2088 PR gdb/21356
2089 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
2090 vla_struct.
2091 Add new struct vla_typedef and union vla_typedef_union and
2092 corresponding instantiation objects.
2093 Initialize new objects.
2094 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
2095 and vla_typedef_union_object.
2096 Fixup type for vla_struct_object.
2097
a8baf0a3
TV
20982020-06-11 Tom de Vries <tdevries@suse.de>
2099
2100 * lib/gdb.exp (with_override): New proc, factored out of ...
2101 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
2102
7ab96794
TV
21032020-06-10 Tom de Vries <tdevries@suse.de>
2104
2105 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
2106
cab5c3b7
SM
21072020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
2108
2109 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
2110 parameter, update callers.
2111
f8c41851
SM
21122020-06-04 Simon Marchi <simon.marchi@efficios.com>
2113
2114 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
2115 * gdb.dwarf2/share-psymtabs-bt.c: New file.
2116 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
2117
1c07a73f
TV
21182020-06-04 Tom de Vries <tdevries@suse.de>
2119
2120 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
2121
95146b5d
TV
21222020-06-04 Tom de Vries <tdevries@suse.de>
2123
2124 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
2125 exp_continue.
2126
0cfcd4f0
TV
21272020-06-04 Tom de Vries <tdevries@suse.de>
2128
2129 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
2130
f9b5d5ea
TV
21312020-06-03 Tom de Vries <tdevries@suse.de>
2132
2133 PR symtab/26046
2134 * gdb.cp/breakpoint-locs-2.cc: New test.
2135 * gdb.cp/breakpoint-locs.cc: New test.
2136 * gdb.cp/breakpoint-locs.exp: New file.
2137 * gdb.cp/breakpoint-locs.h: New test.
2138
5144dfba
TV
21392020-06-03 Tom de Vries <tdevries@suse.de>
2140
2141 PR testsuite/25609
2142 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
2143 value of global verbose.
2144 * gdb.base/jit-elf.exp: Same.
2145 * gdb.base/jit-reader.exp: Same.
2146
621eacdf
TV
21472020-06-02 Tom de Vries <tdevries@suse.de>
2148
2149 * gdb.dwarf2/multidictionary.exp: Don't use
2150 gdb_spawn_with_cmdline_opts.
2151
1313c56e
AB
21522020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
2153
2154 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
2155 use_header case.
2156 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
2157 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
2158 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
2159 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
2160 * gdb.dwarf2/dw2-inline-header.c: New file.
2161 * gdb.dwarf2/dw2-inline-header.h: New file.
2162
f68f85b5
PA
21632020-05-30 Pedro Alves <palves@redhat.com>
2164
2165 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
2166 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
2167
678048e8
GB
21682020-05-29 Gary Benson <gbenson@redhat.com>
2169
2170 * gdb.compile/compile-cplus.exp (additional_flags): Also
2171 set when building with clang.
2172 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
2173 when building with clang.
2174
9fcafd23
GB
21752020-05-29 Gary Benson <gbenson@redhat.com>
2176
2177 * gdb.arch/i386-avx.exp (additional_flags): Also set when
2178 building with clang.
2179 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
2180
735d5a07
GB
21812020-05-29 Gary Benson <gbenson@redhat.com>
2182
2183 * gdb.cp/koenig.exp (prepare_for_testing): Add
2184 additional_flags=-Wno-unused-comparison.
2185 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
2186
4ad2c6a0
GB
21872020-05-28 Gary Benson <gbenson@redhat.com>
2188
2189 * gdb.base/sigaltstack.c (catcher): Add default case to switch
2190 statement.
2191
09fe663e
GB
21922020-05-28 Gary Benson <gbenson@redhat.com>
2193
2194 * gdb.cp/classes.exp (prepare_for_testing): Add
2195 additional_flags=-Wno-deprecated-register.
2196 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
2197 * gdb.cp/misc.exp: Likewise.
2198
cee00f17
GB
21992020-05-28 Gary Benson <gbenson@redhat.com>
2200
2201 * gdb.linespec/cpls-ops.cc (dummy): New static global.
2202 (test_op_new::operator new): Add return statement.
2203 (test_op_new_array::operator new[]): Likewise.
2204
636edd00
PA
22052020-05-27 Pedro Alves <palves@redhat.com>
2206
2207 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
2208 check. Use test_gdb_complete_unique instead of
2209 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
2210 test_gdb_complete_multiple instead of
2211 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
2212
c2b75043
LM
22132020-05-27 Luis Machado <luis.machado@linaro.org>
2214
2215 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
2216 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
2217 * gdb.arch/arm-disassembler-options.exp: Likewise.
2218 * gdb.arch/arm-disp-step.exp: Likewise.
2219 * gdb.arch/thumb-prologue.exp: Likewise.
2220 * gdb.base/async.exp: Likewise.
2221 * gdb.base/auxv.exp: Likewise.
2222 * gdb.base/complex-parts.exp: Likewise.
2223 * gdb.base/ena-dis-br.exp: Likewise.
2224 * gdb.base/foll-exec.exp: Likewise.
2225 * gdb.base/permissions.exp: Likewise.
2226 * gdb.base/relocate.exp: Likewise.
2227 * gdb.base/return2.exp: Likewise.
2228 * gdb.base/sigbpt.exp: Likewise.
2229 * gdb.base/siginfo-obj.exp: Likewise.
2230 * gdb.cp/converts.exp: Likewise.
2231 * gdb.cp/exceptprint.exp: Likewise.
2232 * gdb.cp/inherit.exp: Likewise.
2233 * gdb.cp/nsnoimports.exp: Likewise.
2234 * gdb.cp/virtbase2.exp: Likewise.
2235 * gdb.mi/mi-var-cmd.exp: Likewise.
2236 * gdb.mi/var-cmd.c: Likewise.
2237
53a47a3e
TT
22382020-05-26 Tom Tromey <tromey@adacore.com>
2239
2240 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
2241
0bc2354b
TT
22422020-05-26 Tom Tromey <tromey@adacore.com>
2243
2244 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
2245 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
2246 type.
2247 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
2248 variable.
2249
0db49895
CBG
22502020-05-26 Christian Biesinger <cbiesinger@google.com>
2251
2252 * Makefile.in: Use = instead of == for the test command
2253 for portability.
2254
40d22035
TV
22552020-05-26 Tom de Vries <tdevries@suse.de>
2256
2257 * gdb.base/gold-gdb-index-2.c: New test.
2258 * gdb.base/gold-gdb-index.c: New test.
2259 * gdb.base/gold-gdb-index.exp: New file.
2260 * gdb.base/gold-gdb-index.h: New test.
2261
043e2e02
TV
22622020-05-25 Tom de Vries <tdevries@suse.de>
2263
2264 * boards/gold-gdb-index.exp: New file.
2265
462f72c5
SM
22662020-05-25 Simon Marchi <simon.marchi@efficios.com>
2267
2268 * boards/simavr.exp: New file.
2269
6cf66e76
SM
22702020-05-25 Simon Marchi <simon.marchi@efficios.com>
2271
2272 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
2273 * gdb.base/inferior-args.exp: New file.
2274 * gdb.base/inferior-args.c: New file.
2275
75d04512
SM
22762020-05-25 Simon Marchi <simon.marchi@efficios.com>
2277
2278 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
2279 inferior_args. Pass it to gdb_reload.
2280 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
2281 inferior_args.
2282 (gdb_reload): Add inferior_args argument.
2283 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
2284 pass it to gdbserver_run.
2285 * boards/native-gdbserver.exp: Do not set noargs.
2286 * boards/native-extended-gdbserver.exp (gdb_reload): Add
2287 inferior_args argument.
2288 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
2289 * gdb.base/a2-run.exp: Check for use_gdb_stub.
2290 * gdb.base/args.exp: Likewise.
2291
42cf1844
TV
22922020-05-25 Tom de Vries <tdevries@suse.de>
2293
2294 * lib/gdb.exp (exec_is_pie): Add comment.
2295
8f7d38ef
TV
22962020-05-25 Tom de Vries <tdevries@suse.de>
2297
2298 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
2299 instead of $binfile in the untested message.
2300
465e1b0f
TV
23012020-05-25 Tom de Vries <tdevries@suse.de>
2302
2303 PR testsuite/26031
2304 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
2305
3c5a0e02
TV
23062020-05-25 Tom de Vries <tdevries@suse.de>
2307
2308 * boards/gold.exp: New file.
2309
0a4f5f8c
TT
23102020-05-23 Tom Tromey <tom@tromey.com>
2311
2312 * gdb.base/style.exp: Remove completion styling test.
2313 * lib/gdb-utils.exp (style): Remove completion styles.
2314
eca1f90c
TT
23152020-05-23 Tom Tromey <tom@tromey.com>
2316
2317 * gdb.base/style.exp: Add completion styling test.
2318 * lib/gdb-utils.exp (style): Add completion styles.
2319
7c13f4e8
AB
23202020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
2321
2322 * gdb.base/annota1.exp: Update expected results.
2323 * gdb.cp/annota2.exp: Update expected results, remove duplicate
2324 test name.
2325 * gdb.cp/annota3.exp: Update expected results.
2326
41977d16
SM
23272020-05-20 Simon Marchi <simon.marchi@efficios.com>
2328
2329 PR gdb/26016
2330 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
2331 against MAP_FAILED.
2332 * gdb.base/coremaker.c (mmapdata): Likewise.
2333 * gdb.base/jit-reader-host.c (main): Likewise.
2334 * gdb.base/sym-file-loader.c (load): Likewise.
2335 (load_shlib): Likewise.
2336
b4757f2e
TT
23372020-05-20 Tom Tromey <tromey@adacore.com>
2338
2339 * gdb.ada/array_char_idx.exp: Recognize initialized array.
2340
9a0bacfb
TV
23412020-05-20 Tom de Vries <tdevries@suse.de>
2342
2343 PR symtab/25833
2344 * gdb.base/with-mf-inc.c: New test.
2345 * gdb.base/with-mf-main.c: New test.
2346 * gdb.base/with-mf.exp: New file.
2347
76571211
TT
23482020-05-19 Tom Tromey <tromey@adacore.com>
2349
2350 * gdb.rust/simple.exp: Restore missing test result.
2351
4cd9f3d5
TV
23522020-05-19 Tom de Vries <tdevries@suse.de>
2353
2354 * gdb.base/gdb-caching-proc.exp: Fix typo.
2355
7d874253
TT
23562020-05-19 Tom Tromey <tromey@adacore.com>
2357
2358 * gdb.rust/simple.exp: Add some test descriptions.
2359 (test_one_slice): Use with_test_prefix.
2360
1d727695
TV
23612020-05-18 Tom de Vries <tdevries@suse.de>
2362
2363 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
2364
7f32a4d5
PA
23652020-05-17 Pedro Alves <palves@redhat.com>
2366
2367 PR gdb/25741
2368 * gdb.base/hw-sw-break-same-address.exp: New file.
2369
7cfd74cf
PA
23702020-05-16 Pedro Alves <palves@redhat.com>
2371
2372 * gdb.multi/multi-re-run.exp (test_re_run): Switch
2373 LAST_LOADED_FILE accordingly.
2374
57b4f16e
PW
23752020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2376
2377 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
2378
7c05caf7
PW
23792020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2380
2381 * gdb.base/help.exp: Test apropos and help for commands
2382 having aliases. Fixed comments not starting with an
2383 upper-case letter or not finishing with a dot.
2384
7aa1b46f
PW
23852020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2386
3b3aaacb
PW
2387 * gdb.base/alias.exp: Update help output check.
2388
57b4f16e 23892020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 2390
7aa1b46f
PW
2391 * gdb.base/default.exp: Update output following fixes.
2392
0605465f
PW
23932020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2394
2395 * gdb.base/alias.exp: Test aliases starting with a prefix of
2396 another alias.
2397
86e4e63d
GB
23982020-05-15 Gary Benson <gbenson@redhat.com>
2399
2400 * gdb.base/info-os.c (main): Add return statement.
2401 * gdb.base/info_minsym.c (minsym_fun): Likewise.
2402 * gdb.base/large-frame-2.c (func): Likewise.
2403 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
2404 * gdb.base/pr10179-b.c (foo2): Likewise.
2405 * gdb.base/valgrind-disp-step.c (foo): Likewise.
2406 * gdb.base/watch-cond.c (func): Likewise.
2407 * gdb.multi/goodbye.c (verylongfun): Likewise.
2408 * gdb.multi/hello.c (commonfun): Likewise.
2409 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
2410 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
2411 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
2412 Likewise.
2413 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
2414 * gdb.threads/interrupt-while-step-over.c (child_function):
2415 Likewise.
2416 * gdb.trace/actions-changed.c (end): Likewise.
2417
163df4df
GB
24182020-05-15 Gary Benson <gbenson@redhat.com>
2419
2420 * gdb.opencl/callfuncs.exp: Report when test skipped.
2421 * gdb.opencl/convs_casts.exp: Likewise.
2422 * gdb.opencl/datatypes.exp: Likewise.
2423 * gdb.opencl/operators.exp: Likewise.
2424 * gdb.opencl/vec_comps.exp: Likewise.
2425
6dbc505a
TV
24262020-05-15 Tom de Vries <tdevries@suse.de>
2427
2428 * gdb.base/align.exp.in: Rename to ...
2429 * gdb.base/align.exp.tcl: ... this.
2430 * gdb.base/align-c++.exp: Update.
2431 * gdb.base/align-c.exp: Update.
2432 * gdb.base/all-architectures.exp.in: Rename to ...
2433 * gdb.base/all-architectures.exp: ... this.
2434 * gdb.base/all-architectures-0.exp: Update.
2435 * gdb.base/all-architectures-1.exp: Update.
2436 * gdb.base/all-architectures-2.exp: Update.
2437 * gdb.base/all-architectures-3.exp: Update.
2438 * gdb.base/all-architectures-4.exp: Update.
2439 * gdb.base/all-architectures-5.exp: Update.
2440 * gdb.base/all-architectures-6.exp: Update.
2441 * gdb.base/all-architectures-7.exp: Update.
2442 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
2443 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
2444 * gdb.base/infcall-nested-structs-c++.exp: Update.
2445 * gdb.base/infcall-nested-structs-c.exp: Update.
2446 * gdb.base/info-types.exp.in: Rename to ...
2447 * gdb.base/info-types.exp.tcl: ... this.
2448 * gdb.base/info-types-c++.exp: Update.
2449 * gdb.base/info-types-c.exp: Update.
2450 * gdb.base/max-depth.exp.in: Rename to ...
2451 * gdb.base/max-depth.exp.tcl: ... this.
2452 * gdb.base/max-depth-c++.exp: Update.
2453 * gdb.base/max-depth-c.exp: Update.
2454 * gdb.cp/cpexprs.exp.in: Rename to ...
2455 * gdb.cp/cpexprs.exp.tcl: ... this.
2456 * gdb.cp/cpexprs-debug-types.exp: Update.
2457 * gdb.cp/cpexprs.exp: Update.
2458 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
2459 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
2460 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
2461 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
2462 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
2463 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
2464 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
2465 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
2466 * gdb.dwarf2/clang-debug-names-2.exp: Update.
2467 * gdb.dwarf2/clang-debug-names.exp: Update.
2468
d1034d78
AB
24692020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
2470
2471 * lib/check-test-names.exp: Remove code that prevents this file
2472 loading when tests are run in parallel.
2473
3c5c3649
PA
24742020-05-15 Pedro Alves <palves@redhat.com>
2475
2476 * gdb.multi/multi-kill.exp (start_inferior): Remove
2477 'testpid' parameter. Refer to namespace variable directly.
2478 (testpid): Declare as namespace variable.
2479
272c36b8
PA
24802020-05-15 Pedro Alves <palves@redhat.com>
2481
2482 * gdb.multi/multi-kill.exp: Wrap in namespace.
2483 (start_inferior): Add TESTPID parameter. Use it instead of the
2484 testpid global.
2485 (top level): Define empty TESTPID array, and pass it down to
2486 start_inferior.
2487
02eba61a
TV
24882020-05-14 Tom de Vries <tdevries@suse.de>
2489
2490 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
2491 output.
2492
971a3747
TV
24932020-05-14 Tom de Vries <tdevries@suse.de>
2494
2495 * gdb.base/align.exp: Split into ...
2496 * gdb.base/align.exp.in: ...
2497 * gdb.base/align-c++.exp: ...
2498 * gdb.base/align-c.exp: ... these.
2499 * gdb.base/infcall-nested-structs.exp: Split into ...
2500 * gdb.base/infcall-nested-structs.exp.in: ...
2501 * gdb.base/infcall-nested-structs-c++.exp: ...
2502 * gdb.base/infcall-nested-structs-c.exp: ... these.
2503 * gdb.base/info-types.exp: Split into ...
2504 * gdb.base/info-types.exp.in: ...
2505 * gdb.base/info-types-c++.exp: ...
2506 * gdb.base/info-types-c.exp: ... these.
2507 * gdb.base/max-depth.exp: Split into ...
2508 * gdb.base/max-depth.exp.in: ...
2509 * gdb.base/max-depth-c++.exp: ...
2510 * gdb.base/max-depth-c.exp: ... these.
2511 * gdb.cp/infcall-nodebug.exp: Split into ...
2512 * gdb.cp/infcall-nodebug.exp.in: ...
2513 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
2514 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
2515 * gdb.cp/infcall-nodebug-c-d0.exp: ...
2516 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
2517
a05575d3
TBA
25182020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2519 Pedro Alves <palves@redhat.com>
2520
2521 * gdb.multi/multi-exit.c: New file.
2522 * gdb.multi/multi-exit.exp: New file.
2523 * gdb.multi/multi-kill.c: New file.
2524 * gdb.multi/multi-kill.exp: New file.
2525
6ad82919
TBA
25262020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2527
2528 * gdb.base/annota1.exp: Update the expected output.
2529 * gdb.cp/annota2.exp: Ditto.
2530
843f4d93
AB
25312020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
2532
2533 * lib/check-test-names.exp: Disable when testing is being run in
2534 parallel.
2535
c7c66341
TV
25362020-05-12 Tom de Vries <tdevries@suse.de>
2537
2538 * gdb.base/jit-elf.exp: Fix string concat.
2539
1b59ca1c
TV
25402020-05-12 Tom de Vries <tdevries@suse.de>
2541
2542 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
2543 messages.
2544
b4991d29
TV
25452020-05-12 Tom de Vries <tdevries@suse.de>
2546
2547 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
2548
dbb0ab10
TV
25492020-05-12 Tom de Vries <tdevries@suse.de>
2550
2551 * gdb.ada/catch_ex.exp: Use with_test_prefix.
2552 * gdb.ada/mi_catch_ex.exp: Same.
2553 * gdb.ada/mi_catch_ex_hand.exp: Same.
2554
7549fed8
TV
25552020-05-12 Tom de Vries <tdevries@suse.de>
2556
2557 * gdb.fortran/complex.exp: Use with_test_prefix.
2558
af2d5cd8
TV
25592020-05-12 Tom de Vries <tdevries@suse.de>
2560
2561 * gdb.trace/passcount.exp: Fix test-names.
2562
7c121311
TV
25632020-05-12 Tom de Vries <tdevries@suse.de>
2564
2565 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
2566
c9f3b40e
TV
25672020-05-12 Tom de Vries <tdevries@suse.de>
2568
2569 * gdb.gdb/complaints.exp: Use with_test_prefix.
2570 * gdb.xml/tdesc-regs.exp: Same.
2571 * gdb.opt/inline-locals.exp: Fix test name.
2572
111b33f0
TV
25732020-05-12 Tom de Vries <tdevries@suse.de>
2574
2575 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
2576 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
2577 * gdb.dwarf2/implref-struct.exp: Same.
2578 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
2579 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
2580
ebf47080
SM
25812020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
2582
2583 * gdb.base/jit-so.exp (one_jit_test): Change test name.
2584
d30dcd12
AB
25852020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
2586
2587 * lib/check-test-names.exp (all_test_names): New module variable.
2588 (counts): Add 'duplicates' field.
2589 (_check_duplicates): New procedure.
2590 (check): Also check for duplicates.
2591 (do_log_summary): Print duplicates count.
2592 (do_reset_vars): Reset counter for duplicate test names, and
2593 discard all know test names.
2594
34584c09
AB
25952020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
2596
2597 * lib/gdb.exp: Include check-test-names.exp library.
2598 * lib/check-test-names.exp: New file.
2599
e0002117
TV
26002020-05-11 Tom de Vries <tdevries@suse.de>
2601
2602 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
2603
53f539a3
KS
26042020-05-11 Keith Seitz <keiths@redhat.com>
2605
2606 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
2607
113ee09a
TV
26082020-05-11 Tom de Vries <tdevries@suse.de>
2609
2610 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
2611 * gdb.cp/cpexprs.exp.in: .. here.
2612 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
2613 cpexprs.exp.
2614
ba3e70b0
KS
26152020-05-11 Keith Seitz <keiths@redhat.com>
2616
2617 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
2618 test names.
2619 * gdb.ada/arrayptr.exp: Likewise.
2620 * gdb.ada/assign_arr.exp: Likewise.
2621 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
2622 * gdb.ada/bp_on_var.exp: Likewise.
2623 * gdb.ada/call_pn.exp: Likewise.
2624 * gdb.ada/complete.exp: Likewise.
2625 * gdb.ada/fun_overload_menu.exp: Likewise.
2626 * gdb.ada/funcall_param.exp: Likewise.
2627 * gdb.ada/funcall_ref.exp: Likewise.
2628 * gdb.ada/packed_array_assign.exp: Likewise.
2629 * gdb.ada/same_component_name.exp: Likewise.
2630 * gdb.ada/type_coercion.exp: Likewise.
2631 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
2632 * gdb.ada/variant_record_packed_array.exp: Likewise.
2633
3ee6bb11
TV
26342020-05-11 Tom de Vries <tdevries@suse.de>
2635
2636 PR symtab/25941
2637 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
2638 out of ...
2639 * gdb.dwarf2/clang-debug-names.exp: ... here.
2640 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
2641 clang-debug-names.exp.in.
2642 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
2643 * gdb.dwarf2/clang-debug-names-2.c: New test.
2644
86cd6bc8
AKS
26452020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
2646
2647 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
2648 (fortran_runto_main): New Proc, fortran version of runto_main.
2649 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
2650 * gdb.fortran/array-bounds.exp: Likewise.
2651 * gdb.fortran/array-slices.exp: Likewise.
2652 * gdb.fortran/block-data.exp: Likewise.
2653 * gdb.fortran/charset.exp: Likewise.
2654 * gdb.fortran/common-block.exp: Likewise.
2655 * gdb.fortran/complex.exp: Likewise.
2656 * gdb.fortran/derived-type-function.exp: Likewise.
2657 * gdb.fortran/derived-type.exp: Likewise.
2658 * gdb.fortran/info-modules.exp: Likewise.
2659 * gdb.fortran/info-types.exp: Likewise.
2660 * gdb.fortran/intrinsics.exp: Likewise.
2661 * gdb.fortran/library-module.exp: Likewise.
2662 * gdb.fortran/logical.exp: Likewise.
2663 * gdb.fortran/max-depth.exp: Likewise.
2664 * gdb.fortran/module.exp: Likewise.
2665 * gdb.fortran/multi-dim.exp: Likewise.
2666 * gdb.fortran/nested-funcs.exp: Likewise.
2667 * gdb.fortran/print-formatted.exp: Likewise.
2668 * gdb.fortran/print_type.exp: Likewise.
2669 * gdb.fortran/printing-types.exp: Likewise.
2670 * gdb.fortran/ptr-indentation.exp: Likewise.
2671 * gdb.fortran/ptype-on-functions.exp: Likewise.
2672 * gdb.fortran/subarray.exp: Likewise.
2673 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
2674 * gdb.fortran/vla-datatypes.exp: Likewise.
2675 * gdb.fortran/vla-history.exp: Likewise.
2676 * gdb.fortran/vla-ptr-info.exp: Likewise.
2677 * gdb.fortran/vla-ptype-sub.exp: Likewise.
2678 * gdb.fortran/vla-ptype.exp: Likewise.
2679 * gdb.fortran/vla-sizeof.exp: Likewise.
2680 * gdb.fortran/vla-type.exp: Likewise.
2681 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
2682 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
2683 * gdb.fortran/vla-value-sub.exp: Likewise.
2684 * gdb.fortran/vla-value.exp: Likewise.
2685 * gdb.fortran/whatis_type.exp: Likewise.
2686 * gdb.mi/mi-var-child-f.exp: Likewise.
2687
6dc55ce9 26882020-05-09 Tom de Vries <tdevries@suse.de>
2689
2690 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
2691
283cb58c
TV
26922020-05-08 Tom de Vries <tdevries@suse.de>
2693
2694 * gdb.dwarf2/clang-debug-names.c: New test.
2695 * gdb.dwarf2/clang-debug-names.exp: New file.
2696
ac4a4f1c
SM
26972020-05-06 Simon Marchi <simon.marchi@efficios.com>
2698
2699 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
2700 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
2701
24fe640b
TV
27022020-05-06 Tom de Vries <tdevries@suse.de>
2703
2704 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
2705 breakpoint is at a "recommended breakpoint location".
2706 * gdb.reverse/consecutive-reverse.exp: Same.
2707
0d8683a3
TV
27082020-05-06 Tom de Vries <tdevries@suse.de>
2709
2710 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
2711 address.
2712
b8983c46
TV
27132020-05-06 Tom de Vries <tdevries@suse.de>
2714
2715 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
2716
abf6d805
TV
27172020-05-06 Tom de Vries <tdevries@suse.de>
2718
2719 * gdb.base/store.exp (check_set, up_set): Allowing missing location
2720 info for r.
2721
0fc2a808
TV
27222020-05-06 Tom de Vries <tdevries@suse.de>
2723
2724 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
2725 necessary.
2726
873dd427
TV
27272020-05-06 Tom de Vries <tdevries@suse.de>
2728
2729 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
2730 void.
2731
7c99e7e2
TV
27322020-05-06 Tom de Vries <tdevries@suse.de>
2733
2734 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
2735 of ...
2736 * gdb.base/async.exp: ... here.
2737 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
2738 "recommended breakpoint location".
2739
6173d6a6
TV
27402020-05-06 Tom de Vries <tdevries@suse.de>
2741
2742 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
2743
6015a067
TV
27442020-05-04 Tom de Vries <tdevries@suse.de>
2745
2746 * gdb.base/async.exp: Check whether instruction addresses are a
2747 "recommended breakpoint location".
2748
3b6acaee
TT
27492020-05-03 Tom Tromey <tom@tromey.com>
2750
2751 * gdb.base/sepdebug.exp: Remove "catch" test.
2752 * gdb.base/break.exp: Remove "catch" test.
2753 * gdb.base/default.exp: Update expected output.
2754
5beb4d17
TV
27552020-05-02 Tom de Vries <tdevries@suse.de>
2756
2757 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
2758 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
2759 * gdb.arch/i386-mpx-map.exp: Same.
2760 * gdb.arch/i386-mpx-sigsegv.exp: Same.
2761 * gdb.arch/i386-mpx-simple_segv.exp: Same.
2762 * gdb.arch/i386-mpx.exp: Same.
2763
8caf140d
TV
27642020-05-02 Tom de Vries <tdevries@suse.de>
2765
2766 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
2767
693196cb
TV
27682020-05-01 Tom de Vries <tdevries@suse.de>
2769
2770 * gdb.ada/operator_bp.exp: Allow more than required amount of
2771 breakpoint.
2772
53ae0aa9
TV
27732020-05-01 Tom de Vries <tdevries@suse.de>
2774
2775 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
2776
ee9d1e5f
HD
27772020-04-30 Hannes Domani <ssbssa@yahoo.de>
2778
2779 PR gdb/18706
2780 * gdb.cp/stub-array-size.cc: New test.
2781 * gdb.cp/stub-array-size.exp: New file.
2782 * gdb.cp/stub-array-size.h: New test.
2783 * gdb.cp/stub-array-size2.cc: New test.
2784
d5cf82c0
HD
27852020-04-30 Hannes Domani <ssbssa@yahoo.de>
2786
2787 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
2788 output to the new format.
2789
42e165c3
SM
27902020-04-29 Simon Marchi <simon.marchi@efficios.com>
2791
2792 * gdb.base/break.exp: Use with_test_prefix.
2793
6e4e3fe1
TV
27942020-04-29 Tom de Vries <tdevries@suse.de>
2795
2796 * lib/gdb.exp (debug_types): New proc.
2797 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
2798 * gdb.python/py-symtab.exp: Same.
2799
d642b692
HD
28002020-04-29 Hannes Domani <ssbssa@yahoo.de>
2801
2802 PR gdb/17320
2803 * gdb.base/pretty-array.c: New test.
2804 * gdb.base/pretty-array.exp: New file.
2805
ea90f227
TV
28062020-04-29 Tom de Vries <tdevries@suse.de>
2807
2808 PR symtab/25889
2809 * gdb.cp/cpexprs.exp: Adapt for inclusion.
2810 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
2811 and include cpexprs.exp.
2812
a65189c9
TV
28132020-04-28 Mark Williams <mark@myosotissp.com>
2814
2815 PR gdb/24480
2816 * dw4-toplevel-types.exp: Test for top level types.
2817 * dw4-toplevel-types.cc: Test for top level types.
2818
32d1f47a
TBA
28192020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2820
2821 * gdb.threads/stop-with-handle.exp: Fix typo in comment
2822 (theads -> threads).
2823
56a4f5a1
TV
28242020-04-28 Tom de Vries <tdevries@suse.de>
2825
2826 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
2827
0b2f8a3b
TV
28282020-04-28 Tom de Vries <tdevries@suse.de>
2829
2830 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
2831
5390c717
TV
28322020-04-28 Tom de Vries <tdevries@suse.de>
2833
2834 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
2835
15cd93d0
TV
28362020-04-28 Tom de Vries <tdevries@suse.de>
2837
2838 * gdb.dwarf2/main-foo.c: New test.
2839 * gdb.dwarf2/struct-with-sig.exp: New file.
2840
d472f0fb
TV
28412020-04-25 Tom de Vries <tdevries@suse.de>
2842
2843 * boards/debug-types.exp: New file.
2844
8d840e05
AB
28452020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
2846
2847 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
2848
bcfe6157
TT
28492020-04-24 Tom Tromey <tom@tromey.com>
2850
2851 PR symtab/12707:
2852 * gdb.python/py-symbol.exp: Update expected results for
2853 linkage_name test.
2854 * gdb.cp/print-demangle.exp: New file.
2855 * gdb.base/c-linkage-name.exp: Fix test.
2856 * gdb.guile/scm-symbol.exp: Update expected results for
2857 linkage_name test.
2858
f049a313
TT
28592020-04-24 Tom Tromey <tom@tromey.com>
2860
2861 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
2862 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
2863 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
2864 assembler.
2865
7cf28874
TV
28662020-04-24 Tom de Vries <tdevries@suse.de>
2867
2868 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
2869 C++.
2870
dac2fef7
TT
28712020-04-24 Tom Tromey <tromey@adacore.com>
2872
2873 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
2874 values.
2875 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
2876 values. Update test for minimal encodings.
2877 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
2878 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
2879 values. Update test for minimal encodings.
2880
1acda803
TT
28812020-04-24 Tom Tromey <tromey@adacore.com>
2882
2883 PR python/23662:
2884 * gdb.ada/variant.exp: Add Python checks.
2885 * gdb.rust/simple.exp: Add dynamic type checks.
2886
adfb9815
TT
28872020-04-24 Tom Tromey <tromey@adacore.com>
2888
2889 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
2890 Make array type matching more lax.
2891 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
2892 * gdb.ada/mi_variant.exp: New file.
2893 * gdb.ada/mi_variant/pck.ads: New file.
2894 * gdb.ada/mi_variant/pkg.adb: New file.
2895 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
2896 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
2897
7d79de9a
TT
28982020-04-24 Tom Tromey <tromey@adacore.com>
2899
2900 * gdb.ada/variant.exp: Add dynamic field offset tests.
2901 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
2902 * gdb.ada/variant/pkg.adb: Add new variables.
2903
f8e89861
TT
29042020-04-24 Tom Tromey <tromey@adacore.com>
2905
2906 * gdb.ada/variant.exp: New file
2907 * gdb.ada/variant/pkg.adb: New file
2908 * gdb.ada/variant/pck.adb: New file
2909
86e887ae
TV
29102020-04-24 Tom de Vries <tdevries@suse.de>
2911
2912 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
2913
88428775
TV
29142020-04-24 Tom de Vries <tdevries@suse.de>
2915
2916 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
2917 flags.
2918
4e86f6e7
TV
29192020-04-24 Tom de Vries <tdevries@suse.de>
2920
2921 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
2922
2016d3e6
TV
29232020-04-24 Tom de Vries <tdevries@suse.de>
2924
2925 * lib/gdb.exp (default_gdb_start): Handle eof.
2926 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
2927 failure.
2928 * gdb.base/readnever.exp: Handle clean_restart failure.
2929
70bc38f5
TV
29302020-04-23 Tom de Vries <tdevries@suse.de>
2931
2932 * gdb.base/decl-before-def.exp: Run to main and print a again.
2933
de82891c
TV
29342020-04-23 Tom de Vries <tdevries@suse.de>
2935
2936 * gdb.base/decl-before-def-decl.c: New test.
2937 * gdb.base/decl-before-def-def.c: New test.
2938 * gdb.base/decl-before-def.exp: New file.
2939
96038148
TV
29402020-04-23 Tom de Vries <tdevries@suse.de>
2941
2942 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
2943
54ac3df1
TV
29442020-04-22 Tom de Vries <tdevries@suse.de>
2945
2946 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
2947 debug_info_offset.
2948 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
2949 before $objsfile in the line line.
2950
714534e1
TV
29512020-04-22 Tom de Vries <tdevries@suse.de>
2952
2953 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
2954
16a7dbf4
MS
29552020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2956
2957 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
2958 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
2959 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
2960 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
2961 * gdb.base/jit-protocol.h: Update definitions to match all usage
2962 contexts.
2963
29642020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2965
2966 * gdb.base: Rename all jit related test and source files.
2967
29682020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2969
2970 * gdb.base/jit-reader.exp: Relax register output check.
2971
317d2668
TV
29722020-04-22 Tom de Vries <tdevries@suse.de>
2973
2974 PR symtab/25764
2975 * gdb.base/psym-external-decl-2.c: New test.
2976 * gdb.base/psym-external-decl.c: New test.
2977 * gdb.base/psym-external-decl.exp: New file.
2978 * gdb.threads/tls.exp: Add PR25807 kfail.
2979
eea9e357
TV
29802020-04-22 Tom de Vries <tdevries@suse.de>
2981
2982 PR symtab/25801
2983 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
2984 in "info source" output.
2985
3d5afab3
TV
29862020-04-22 Tom de Vries <tdevries@suse.de>
2987
2988 PR symtab/25700
2989 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
2990 symtab for imported_unit.c.
2991
b32102f6
GB
29922020-04-21 Gary Benson <gbenson@redhat.com>
2993
2994 * gdb.base/advance.c (func): New argument, to match call site.
2995 (func2, func3): Add return statements.
2996
d43b7a2d
TBA
29972020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2998
2999 * gdb.multi/run-only-second-inf.c: New file.
3000 * gdb.multi/run-only-second-inf.exp: New file.
3001
d89edf9b
MM
30022020-04-21 Markus Metzger <markus.t.metzger@intel.com>
3003
3004 * gdb.btrace/multi-inferior.c: New test.
3005 * gdb.btrace/multi-inferior.exp: New file.
3006
1a476b6d
MM
30072020-04-21 Markus Metzger <markus.t.metzger@intel.com>
3008
3009 * gdb.btrace/enable-new-thread.c: New test.
3010 * gdb.btrace/enable-new-thread.exp: New file.
3011
4778a5f8
TV
30122020-04-21 Tom de Vries <tdevries@suse.de>
3013
3014 PR gdb/25471
3015 * gdb.threads/killed-outside.c: New test.
3016 * gdb.threads/killed-outside.exp: New file.
3017
9b2c992c
GB
30182020-04-20 Gary Benson <gbenson@redhat.com>
3019
3020 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
3021 * gdb.base/nested-subp2.exp: Likewise.
3022 * gdb.base/nested-subp3.exp: Likewise.
3023
b5d1d6f7
GB
30242020-04-20 Gary Benson <gbenson@redhat.com>
3025
3026 * gdb.base/nested-subp1.exp: Disable test when using clang.
3027 * gdb.base/nested-subp2.exp: Likewise.
3028 * gdb.base/nested-subp3.exp: Likewise.
3029
25230285
GB
30302020-04-20 Gary Benson <gbenson@redhat.com>
3031
3032 * gdb.cp/exception.cc: Fix compilation error with clang.
3033
fa93cc8f
GB
30342020-04-20 Gary Benson <gbenson@redhat.com>
3035
809730f3 3036 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 3037
e0c45f30
GB
30382020-04-20 Gary Benson <gbenson@redhat.com>
3039
3040 * gdb.base/jit-main.c: Fix compilation error with clang.
3041
4ddfec93
KR
30422020-04-17 Kamil Rytarowski <n54@gmx.com>
3043
3044 * gdb.base/attach-twice.c: Include "sys/types.h".
3045 (PTRACE_ATTACH): Add fallback definition.
3046 (main): Pass `0' to the 4th argument of `ptrace'.
3047
2bed205e
KR
30482020-04-17 Kamil Rytarowski <n54@gmx.com>
3049
3050 * gdb.base/fork-running-state.c: Include "signal.h".
3051
0743fc83
TT
30522020-04-17 Tom Tromey <tromey@adacore.com>
3053
3054 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
3055 Update tests.
3056 * gdb.btrace/cpu.exp: Update tests.
3057 * gdb.base/maint.exp: Update tests.
3058 * gdb.base/default.exp: Update tests.
3059 * gdb.base/completion.exp: Update tests.
3060
efba5c23
TV
30612020-04-16 Tom de Vries <tdevries@suse.de>
3062
3063 PR symtab/25791
3064 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
3065 (ensure_gdb_index): and factor out and move ...
3066 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
3067 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
3068
d191d716
TV
30692020-04-16 Tom de Vries <tdevries@suse.de>
3070
3071 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
3072 loading exec.
3073
99f1bc6a
AB
30742020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
3075
3076 * gdb.base/many-completions.exp: New file.
3077
194d088f
TV
30782020-04-14 Tom de Vries <tdevries@suse.de>
3079
3080 PR symtab/25718
3081 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
3082
c1a66c06
TV
30832020-04-14 Tom de Vries <tdevries@suse.de>
3084
3085 PR symtab/25720
3086 * gdb.base/maint-expand-symbols-header-file.c: New test.
3087 * gdb.base/maint-expand-symbols-header-file.exp: New file.
3088 * gdb.base/maint-expand-symbols-header-file.h: New test.
3089
21b0982c
AB
30902020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
3091
3092 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
3093 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
3094 get_func_info.
3095 (get_func_info): Delete.
3096 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
3097 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
3098 * lib/dwarf.exp (get_func_info): New function.
3099
dd1cab06
TV
31002020-04-13 Tom de Vries <tdevries@suse.de>
3101
3102 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
3103 to what find_gnatmake does.
3104
71ea2b6b
TV
31052020-04-10 Tom de Vries <tdevries@suse.de>
3106
3107 * gdb.base/style.exp: Expect "Expanding full symbols" message for
3108 -readnow.
3109
bdfc1e8a
TV
31102020-04-10 Tom de Vries <tdevries@suse.de>
3111
3112 PR cli/25808
3113 * gdb.base/style.c: Add leading newlines.
3114 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
3115 Check listing of main's one-line body.
3116
14ca8ecf
TV
31172020-04-08 Tom de Vries <tdevries@suse.de>
3118
3119 * lib/gdb.exp (psymtabs_p): New proc.
3120 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
3121 importing unit" unsupported if there are no partial symbols.
3122
e21d048f
TV
31232020-04-08 Tom de Vries <tdevries@suse.de>
3124
3125 PR testsuite/25760
3126 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
3127
25c11aca
TV
31282020-04-07 Tom de Vries <tdevries@suse.de>
3129
3130 PR symtab/25796
3131 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
3132
5707e24b
TV
31332020-04-07 Tom de Vries <tdevries@suse.de>
3134
3135 * gdb.base/check-psymtab.c: New test.
3136 * gdb.base/check-psymtab.exp: New file.
3137
6ee448cc
TT
31382020-04-06 Tom Tromey <tromey@adacore.com>
3139
3140 * gdb.ada/variant-record/proc.adb: New file.
3141 * gdb.ada/variant-record/value.adb: New file.
3142 * gdb.ada/variant-record/value.s: New file.
3143 * gdb.ada/variant-record.exp: New file.
3144
9e7c9a03
HD
31452020-04-03 Hannes Domani <ssbssa@yahoo.de>
3146
3147 PR gdb/25325
3148 * gdb.cp/typed-enum.cc: New test.
3149 * gdb.cp/typed-enum.exp: New file.
3150
c90d28ac
AB
31512020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3152
3153 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
3154 * gdb.dwarf2/dw2-inline-small-func.c: New file.
3155 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
3156 * gdb.dwarf2/dw2-inline-small-func.h: New file.
3157 * gdb.opt/inline-small-func.c: New file.
3158 * gdb.opt/inline-small-func.exp: New file.
3159 * gdb.opt/inline-small-func.h: New file.
3160
34e9a9fa
AB
31612020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3162
3163 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
3164 function.
3165
6a354911
AB
31662020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3167
3168 * lib/dwarf.exp (function_range): Allow compiler options to be
3169 specified.
3170
880d9777
TV
31712020-04-02 Tom de Vries <tdevries@suse.de>
3172
3173 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
3174 __attribute__((always_inline)).
3175 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
3176
f32682ea
TV
31772020-04-02 Tom de Vries <tdevries@suse.de>
3178
3179 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
3180 (gdbserver_gdb_exit): ... here. Add timeout warning.
3181 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
3182 (connect_target_extended_remote): Append new server_spawn_id to
3183 server_spawn_ids.
3184 (cleanup): New proc.
3185 (setup, <toplevel>): Call cleanup.
3186
d3214198
TV
31872020-04-02 Tom de Vries <tdevries@suse.de>
3188
3189 * gdb.base/main-psymtab.exp: New file.
3190
cc77ed24
TV
31912020-04-02 Tom de Vries <tdevries@suse.de>
3192
3193 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
3194
3638a098
TT
31952020-04-01 Tom Tromey <tom@tromey.com>
3196
3197 * gdb.base/complex-parts.exp: Add type tests.
3198
c34e8714
TT
31992020-04-01 Tom Tromey <tom@tromey.com>
3200
3201 * gdb.base/complex-parts.exp: Add arithmetic tests.
3202
981c08ce
TT
32032020-04-01 Tom Tromey <tom@tromey.com>
3204
3205 * gdb.compile/compile.exp: Update.
3206 * gdb.compile/compile-cplus.exp: Update.
3207 * gdb.base/varargs.exp: Update.
3208 * gdb.base/floatn.exp: Update.
3209 * gdb.base/endianity.exp: Update.
3210 * gdb.base/callfuncs.exp (do_function_calls): Update.
3211 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
3212 (complex_float_integral_args): Update.
3213 * gdb.base/complex.exp: Update.
3214 * gdb.base/complex-parts.exp: Update.
3215
3d1cfd43
TT
32162020-04-01 Tom Tromey <tromey@adacore.com>
3217
3218 * gdb.rust/union.rs: New file.
3219 * gdb.rust/union.exp: New file.
3220 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
3221 (main): Update.
3222 * gdb.rust/simple.exp: Move union tests to union.exp.
3223
e033dfa9
TT
32242020-04-01 Tom Tromey <tromey@adacore.com>
3225
3226 * gdb.rust/simple.rs (main): Remove "y0".
3227
53cccef1
TBA
32282020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3229
3230 * gdb.multi/stop-all-on-exit.c: New test.
3231 * gdb.multi/stop-all-on-exit.exp: New file.
3232
60e22c1e
HD
32332020-04-01 Hannes Domani <ssbssa@yahoo.de>
3234
3235 PR gdb/24789
3236 * gdb.cp/misc.cc: Add integer reference variable.
3237 * gdb.cp/misc.exp: Add test.
3238
e139a727
TBA
32392020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3240
3241 * gdb.server/stop-reply-no-thread.exp: Enhance the test
3242 scenario to cover execution until the end and also the case
3243
16b0db75
TV
32442020-03-31 Tom de Vries <tdevries@suse.de>
3245
3246 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
3247 c. Use "maint info symtabs" to check symtab expansion.
3248
c0502da6
TV
32492020-03-30 Tom de Vries <tdevries@suse.de>
3250
3251 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
3252 unsupported.
3253 (verify_psymtab_expanded): Move ...
3254 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
3255 test.
3256 (readnow): New proc.
3257
5935fd15
AB
32582020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3259
3260 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
3261 with $hex.
3262
1773be9e
TT
32632020-03-20 Tom Tromey <tromey@adacore.com>
3264
3265 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
3266
70304be9
TT
32672020-03-20 Tom Tromey <tromey@adacore.com>
3268
3269 * gdb.ada/sub_variant/subv.adb: New file.
3270 * gdb.ada/sub_variant.exp: New file.
3271
0dd7b8f7
TV
32722020-03-20 Tom de Vries <tdevries@suse.de>
3273
3274 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
3275 first break fails.
3276 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
3277
cada5fc9
AB
32782020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3279
3280 * gdb.server/exit-multiple-threads.c: New file.
3281 * gdb.server/exit-multiple-threads.exp: New file.
3282
6b8c53f2
AB
32832020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3284
3285 * gdb.fortran/mixed-lang-stack.c: New file.
3286 * gdb.fortran/mixed-lang-stack.cpp: New file.
3287 * gdb.fortran/mixed-lang-stack.exp: New file.
3288 * gdb.fortran/mixed-lang-stack.f90: New file.
3289
19a2740f
AB
32902020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3291
3292 * gdb.linespec/cp-completion-aliases.cc: New file.
3293 * gdb.linespec/cp-completion-aliases.exp: New file.
3294
d8c8b848
TV
32952020-03-19 Tom de Vries <tdevries@suse.de>
3296
3297 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
3298 more precise.
3299
a9933ccf
TV
33002020-03-18 Tom de Vries <tdevries@suse.de>
3301
3302 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
3303 * gdb.dwarf2/break-inline-psymtab.c: New test.
3304 * gdb.dwarf2/break-inline-psymtab.exp: New file.
3305
2f89101f
TV
33062020-03-16 Tom de Vries <tdevries@suse.de>
3307
3308 * lib/cache.exp (gdb_do_cache): Add and handle local variables
3309 cache_verify and cache_verify_proc.
3310
6b9374f1
TV
33112020-03-15 Tom de Vries <tdevries@suse.de>
3312
3313 * gdb.server/solib-list.exp: Handle
3314 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
3315
eaeaf44c
TV
33162020-03-15 Tom de Vries <tdevries@suse.de>
3317
3318 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
3319 objfiles".
3320
3293bbaf
TT
33212020-03-14 Tom Tromey <tom@tromey.com>
3322
3323 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
3324
ab44624c
TV
33252020-03-14 Tom de Vries <tdevries@suse.de>
3326
3327 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
3328
54c43825
TV
33292020-03-14 Tom de Vries <tdevries@suse.de>
3330
3331 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
3332 result in line-by-line fashion.
3333
2ac70237
TV
33342020-03-14 Tom de Vries <tdevries@suse.de>
3335
3336 * lib/gdb.exp (supports_statement_frontiers): New proc.
3337 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
3338
09546b56
TV
33392020-03-14 Tom de Vries <tdevries@suse.de>
3340
3341 * gdb.base/printcmds.exp: Add missing quoting for "print
3342 teststring2".
3343
a1f6a07c
TT
33442020-03-13 Tom Tromey <tom@tromey.com>
3345
3346 * gdb.base/printcmds.exp (test_print_strings): Add regression
3347 test.
3348 * gdb.base/printcmds.c (charptr): New typedef.
3349 (teststring2): New global.
3350
1b83d09c
AB
33512020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
3352
3353 * gdb.base/break-interp.exp: Use the tail of the filename, not the
3354 full path in the test name.
3355 (test_ld): Add some with_test_prefix blocks to make test names
3356 unique.
3357
2d61316c
TV
33582020-03-13 Tom de Vries <tdevries@suse.de>
3359
3360 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
3361
2e9145ac
TV
33622020-03-13 Tom de Vries <tdevries@suse.de>
3363
3364 * gdb.mi/mi-sym-info.exp: Make matching more precise.
3365
96c7f873
TV
33662020-03-13 Tom de Vries <tdevries@suse.de>
3367
3368 PR symtab/25646
3369 * gdb.dwarf2/imported-unit.exp: Add test.
3370
49ba92c0
TV
33712020-03-13 Tom de Vries <tdevries@suse.de>
3372
3373 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
3374 (var1, var2): New variable.
3375 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
3376 matching symbols.
3377
301b21e0
TV
33782020-03-13 Tom de Vries <tdevries@suse.de>
3379
3380 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
3381 (Term::command): Use prompt prefix.
3382 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
3383 * gdb.tui/tui-layout-asm-short-prog.exp: Use
3384 command_no_prompt_prefix instead of prefix.
3385 * gdb.tui/tui-layout-asm.exp: Same.
3386
3f512721
SM
33872020-03-12 Simon Marchi <simon.marchi@efficios.com>
3388
3389 * gdb.base/break-interp.exp: Use foreach_with_prefix.
3390
40310f30
SM
33912020-03-12 Simon Marchi <simon.marchi@efficios.com>
3392
3393 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
3394 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
3395 on" while stepping over the test instruction, match printed
3396 message.
3397
09252140
TV
33982020-03-12 Tom de Vries <tdevries@suse.de>
3399
3400 * gdb.base/info-types.exp: Use exp_continue during matching of output
3401 of "info types".
3402
14e9c72c
TV
34032020-03-12 Tom de Vries <tdevries@suse.de>
3404
3405 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
3406
e515d67e
TV
34072020-03-12 Tom de Vries <tdevries@suse.de>
3408
3409 * gdb.fortran/module.exp: Use exp_continue during matching of output
3410 of "info variable -n".
3411
307eafd8
TV
34122020-03-12 Tom de Vries <tdevries@suse.de>
3413
3414 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
3415 gdb.dwarf2/dw2-ranges-base.c.
3416
9a2de3fc
TV
34172020-03-12 Tom de Vries <tdevries@suse.de>
3418
3419 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
3420 in presence of GLIBC debuginfo.
3421
3217502e
TV
34222020-03-12 Tom de Vries <tdevries@suse.de>
3423
3424 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
3425 $core.
3426
1281424c
TV
34272020-03-12 Tom de Vries <tdevries@suse.de>
3428
3429 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
3430 more precise.
3431
038b97fc
SM
34322020-03-11 Simon Marchi <simon.marchi@efficios.com>
3433
3434 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
3435 from Unix to Windows path.
3436
5308d1e7
TV
34372020-03-11 Tom de Vries <tdevries@suse.de>
3438
3439 * gdb.ada/minsyms.exp: Set language to ada.
3440
f870f78f
TV
34412020-03-11 Tom de Vries <tdevries@suse.de>
3442
3443 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
3444
5a13315d
TV
34452020-03-11 Tom de Vries <tdevries@suse.de>
3446
3447 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
3448
976862ed
TT
34492020-03-11 Tom Tromey <tromey@adacore.com>
3450
3451 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
3452
7462c383
TV
34532020-03-11 Tom de Vries <tdevries@suse.de>
3454
3455 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
3456
1c6c46a0
TV
34572020-03-11 Tom de Vries <tdevries@suse.de>
3458
3459 * gdb.base/break-interp.exp: Limit verbose scope.
3460
44f41bb7
TV
34612020-03-11 Tom de Vries <tdevries@suse.de>
3462
3463 * gdb.fortran/logical.f90: Define variable with character type.
3464 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
3465
b76f3a42
TV
34662020-03-11 Tom de Vries <tdevries@suse.de>
3467
3468 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
3469
1c33af77
TV
34702020-03-11 Tom de Vries <tdevries@suse.de>
3471
3472 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
3473 symtabs.
3474
8c95582d
AB
34752020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
3476 Bernd Edlinger <bernd.edlinger@hotmail.de>
3477
3478 * gdb.cp/step-and-next-inline.cc: New file.
3479 * gdb.cp/step-and-next-inline.exp: New file.
3480 * gdb.cp/step-and-next-inline.h: New file.
3481 * gdb.dwarf2/dw2-is-stmt.c: New file.
3482 * gdb.dwarf2/dw2-is-stmt.exp: New file.
3483 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
3484 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
3485 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
3486
cecf8547
AB
34872020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
3488
3489 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
3490 is-stmt flag in the line table.
3491
0ba678c9
TV
34922020-03-09 Tom de Vries <tdevries@suse.de>
3493
3494 * lib/gdb.exp (cached_file): Create cache dir.
3495
72fbdf83
TV
34962020-03-07 Tom de Vries <tdevries@suse.de>
3497
3498 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
3499 * gdb.cp/rvalue-ref-params.exp: Same.
3500
436b5e99
TV
35012020-03-06 Tom de Vries <tdevries@suse.de>
3502
3503 * lib/gdb.exp (tentative_rename, cached_file): New proc.
3504 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
3505
09f2921c
TV
35062020-03-06 Tom de Vries <tdevries@suse.de>
3507
3508 * README: Fix "the the".
3509 * gdb.base/dprintf.exp: Same.
3510
50a3cc5d
TV
35112020-03-05 Tom de Vries <tdevries@suse.de>
3512
3513 * gdb.base/maint.exp: Update "main print statistics" expected output.
3514
0a709cba
AKS
35152020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3516
3517 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
3518 (fortran_int8): Likewise.
3519 (fortran_real4): Likewise.
3520 (fortran_real8): Likewise.
3521 (fortran_complex4): Likewise.
3522 (fortran_logical4): Likewise.
3523 (fortran_character1): Likewise.
3524
5e5d66b6
AB
35252020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
3526
3527 * gdb.fortran/logical.exp: Add tests that any non-zero value is
3528 printed as true.
3529
7b973adc
SDJ
35302020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
3531
3532 * gdb.base/printcmds.exp: Add test to verify printf of a
3533 variable holding an address.
3534
478e490a
TV
35352020-03-03 Tom de Vries <tdevries@suse.de>
3536
3537 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
3538
1ef44e86
TV
35392020-03-03 Tom de Vries <tdevries@suse.de>
3540
3541 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
3542 gdb_test_multiple call.
3543
b98cc2cf
TV
35442020-03-03 Tom de Vries <tdevries@suse.de>
3545
3546 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
3547 gdb_test_multiple calls.
3548
63e163f2
AB
35492020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
3550
3551 * gdb.base/default.exp: Remove test of 'set history filename'.
3552 * gdb.base/gdbinit-history.exp: Add tests for setting the history
3553 filename to the empty string.
3554 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
3555 and GDBHISTSIZE.
3556
24ed6739
AB
35572020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
3558
3559 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
3560 disabled.
3561
590003dc 35622020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 3563 Tom de Vries <tdevries@suse.de>
590003dc
TV
3564
3565 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
3566 -prompt prefix, before user_code argument. Add -lbl option likewise.
3567 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
3568 (gdb_is_target_1): Add -prompt prefix and move to before user_code
3569 argument.
3570 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
3571 have "\r\n" at start-of-line, instead of at end-of-line.
3572
f5e46084
SM
35732020-02-28 Simon Marchi <simon.marchi@efficios.com>
3574
3575 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
3576 libinproctrace.so.
3577
f7a7000d
LM
35782020-02-28 Luis Machado <luis.machado@linaro.org>
3579
3580 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
3581 to "p/x".
3582
718e0816
LM
35832020-02-28 Luis Machado <luis.machado@linaro.org>
3584
3585 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
3586 asm/ptrace.h and error.h.
3587
13c3a74a
TV
35882020-02-28 Tom de Vries <tdevries@suse.de>
3589
3590 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
3591 (struct wrapper, do_something, mundane/symada__cS): Move ...
3592 * gdb.base/c-linkage-name-2.c: ... here. New source file.
3593 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
3594 Update "print symada__cS before partial symtab expansion" regexp.
3595 Update breakpoint location. Flush symbol cache after expansion.
3596
85d2d5bb
LM
35972020-02-28 Luis Machado <luis.machado@linaro.org>
3598
3599 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
3600
3608f86c
TV
36012020-02-27 Tom de Vries <tdevries@suse.de>
3602
3603 * config/sid.exp: Remove unused globals.
3604 * gdb.base/attach.exp: Same.
3605 * gdb.base/catch-load.exp: Same.
3606 * gdb.base/dbx.exp: Same.
3607 * lib/gdb.exp: Same.
3608 * lib/mi-support.exp: Same.
3609 * lib/prompt.exp: Same.
3610
c8d4f6df
TV
36112020-02-27 Tom de Vries <tdevries@suse.de>
3612
3613 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
3614 not set.
3615
0d79cdc4
AM
36162020-02-26 Aaron Merey <amerey@redhat.com>
3617
3618 * gdb.debuginfod: New directory for debuginfod tests.
3619 * gdb.debuginfod/main.c: New test file.
3620 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
3621
0dce4280
TV
36222020-02-26 Tom de Vries <tdevries@suse.de>
3623
3624 PR gdb/25603
3625 * gdb.base/persistent-lang.cc: New test.
3626 * gdb.base/persistent-lang.exp: New file.
3627
9e80cfa1
AB
36282020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3629
3630 * gdb.fortran/derived-type-striding.exp: Add a new test.
3631 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
3632 new test.
3633
2078dbb2
AB
36342020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3635
3636 * gdb.base/cached-source-file.exp: Avoid source file paths in test
3637 names.
3638
70d49700
TV
36392020-02-25 Tom de Vries <tdevries@suse.de>
3640
3641 PR go/18926
3642 * gdb.go/methods.exp: Remove gcc/93866 xfail.
3643
a88ef40d
TV
36442020-02-24 Tom de Vries <tdevries@suse.de>
3645
3646 PR gdb/25592
3647 * gdb.base/info-locals-unused-static-var.c: New test.
3648 * gdb.base/info-locals-unused-static-var.exp: New file.
3649
01b1af32
TT
36502020-02-22 Tom Tromey <tom@tromey.com>
3651
3652 * gdb.python/tui-window.exp: New file.
3653 * gdb.python/tui-window.py: New file.
3654
7c043ba6
TT
36552020-02-22 Tom Tromey <tom@tromey.com>
3656
3657 PR tui/17850:
3658 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
3659 tests.
3660
c22fef7e
TT
36612020-02-22 Tom Tromey <tom@tromey.com>
3662
3663 * gdb.tui/new-layout.exp: Add sub-layout tests.
3664
ee325b61
TT
36652020-02-22 Tom Tromey <tom@tromey.com>
3666
3667 * gdb.tui/new-layout.exp: New file.
3668
3f0cbb04
TT
36692020-02-22 Tom Tromey <tom@tromey.com>
3670
3671 * gdb.rust/rust-style.rs: New file.
3672 * gdb.rust/rust-style.exp: New file.
3673 * gdb.base/style.exp: Test structure printing.
3674 * gdb.base/style.c (struct some_struct): New type.
3675 (enum etype): New type.
3676 (struct_value): New global.
3677
75525152
TV
36782020-02-21 Tom de Vries <tdevries@suse.de>
3679
3680 PR go/18926
3681 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
3682 Remove blanket xfails. Use message argument for gdb_breakpoint.
3683 Make continuing to breakpoint test conditional on setting breakpoint.
3684 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
3685 DW_AT_name attribute. Add xfail for GCC PR93866.
3686
bd360d30
AB
36872020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
3688
3689 * gdb.dwarf2/cpp-linkage-name.c: New file.
3690 * gdb.dwarf2/cpp-linkage-name.exp: New file.
3691
c7adb09f 36922020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
3693
3694 * lib/gdb.exp (gdb_wrapper_init): Reset
3695 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
3696 not exist.
3697
a9c79803
TV
36982020-02-20 Tom de Vries <tdevries@suse.de>
3699
3700 PR go/17018
3701 * gdb.go/hello.exp: Copy ...
3702 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
3703 print of st to print value of global definition. Add xfail for GCC
3704 PR93844.
3705 * gdb.go/hello.exp: Remove printing of st before definition.
3706 * gdb.go/hello.go: Copy ...
3707 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
3708 to st.
3709 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
3710
d7445728
TV
37112020-02-20 Tom de Vries <tdevries@suse.de>
3712
3713 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
3714 (gdb_simple_compile): Handle compile_flags go by using .go extension
3715 for source file.
3716 * gdb.go/chan.exp: Use support_go_compile.
3717 * gdb.go/handcall.exp: Same.
3718 * gdb.go/hello.exp: Same.
3719 * gdb.go/integers.exp: Same.
3720 * gdb.go/max-depth.exp: Same.
3721 * gdb.go/methods.exp: Same.
3722 * gdb.go/package.exp: Same.
3723 * gdb.go/strings.exp: Same.
3724 * gdb.go/types.exp: Same.
3725 * gdb.go/unsafe.exp: Same.
3726
c9c41e6d
TV
37272020-02-19 Tom de Vries <tdevries@suse.de>
3728
3729 * gdb.python/lib-types.exp: Make xfail more strict.
3730
f20ff837
TV
37312020-02-19 Tom de Vries <tdevries@suse.de>
3732
3733 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
3734
08410482
DE
37352020-02-19 Doug Evans <dje@google.com>
3736
3737 PR rust/25535
3738 * gdb.rust/simple.exp: Add test.
3739 * gdb.rust/simple.rs: Add test.
3740
623563f7
TV
37412020-02-19 Tom de Vries <tdevries@suse.de>
3742
3743 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
3744 output line-by-line.
3745
d3308cfd
TV
37462020-02-19 Tom de Vries <tdevries@suse.de>
3747
3748 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
3749
86cbc5dc
TV
37502020-02-19 Tom de Vries <tdevries@suse.de>
3751
3752 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
3753 prelink.
3754
9db2b96b
TV
37552020-02-19 Tom de Vries <tdevries@suse.de>
3756
3757 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
3758 (gdb_do_cache): Use gdb_do_cache_wrap.
3759 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
3760
89e2fdc5
TV
37612020-02-19 Tom de Vries <tdevries@suse.de>
3762
3763 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
3764 gdb_compile option.
3765
373d7ac0
SM
37662020-02-18 Simon Marchi <simon.marchi@efficios.com>
3767
3768 * gdb.base/printcmds.exp (test_print_enums): Update expected
3769 output.
3770
b29a2df0
SM
37712020-02-18 Simon Marchi <simon.marchi@efficios.com>
3772
3773 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
3774 for "unknown".
3775
6740f0cc
SM
37762020-02-18 Simon Marchi <simon.marchi@efficios.com>
3777
3778 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
3779 enumerator.
3780
edd45eb0
SM
37812020-02-18 Simon Marchi <simon.marchi@efficios.com>
3782
3783 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
3784 FE_, add FE_NONE.
3785 (three): Update.
3786 (enum flag_enum_without_zero): New enum.
3787 (flag_enum_without_zero): New variable.
3788 (enum not_flag_enum): New enum.
3789 (three_not_flag): New variable.
3790 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
3791 (test_print_enums): Add more tests for printing flag enums.
3792
d4295de4
TV
37932020-02-18 Tom de Vries <tdevries@suse.de>
3794
3795 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
3796 (gdb_compile_ada): ... here.
3797 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
3798 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
3799
f251f505
TT
38002020-02-14 Tom Tromey <tom@tromey.com>
3801
3802 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
3803 build directory.
3804 * boards/gdbserver-base.exp: Update path to gdbserver.
3805
8f432634
TV
38062020-02-13 Tom de Vries <tdevries@suse.de>
3807
3808 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
3809
92b6eaf7
TV
38102020-02-13 Tom de Vries <tdevries@suse.de>
3811
3812 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
3813 are missing.
3814
f3b0f7fe
TV
38152020-02-13 Tom de Vries <tdevries@suse.de>
3816
3817 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
3818 call.
3819
f6be8713
SDJ
38202020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
3821
3822 PR tui/25126
3823 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
3824 * gdb.base/cached-source-file.c: New file.
3825 * gdb.base/cached-source-file.exp: New file.
3826
b2770d5e
TV
38272020-02-11 Tom de Vries <tdevries@suse.de>
3828
3829 PR testsuite/25488
3830 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
3831
44f6938e
TV
38322020-02-10 Tom de Vries <tdevries@suse.de>
3833
3834 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
3835
5f0e2eb7
MR
38362020-02-10 Maciej W. Rozycki <macro@wdc.com>
3837
3838 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
3839 and $after_addr are both integers before making a comparison.
3840
46ce2b6f
TV
38412020-02-09 Tom de Vries <tdevries@suse.de>
3842
3843 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
3844 command output and paste it into gdb.log. If any, paste catch message
3845 to gdb.log.
3846
5abbbe1d
TT
38472020-02-07 Tom Tromey <tromey@adacore.com>
3848
3849 PR breakpoints/24915:
3850 * gdb.base/annotate-symlink.exp: Use setup_xfail.
3851
1d5d29e7
SV
38522020-02-06 Shahab Vahedi <shahab@synopsys.com>
3853
3854 * gdb.tui/tui-missing-src.exp: Add the "missing source
3855 file" test for the TUI.
3856
b0999b9b
AB
38572020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
3858
3859 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
3860 including a port number in the output.
3861
c3b149eb
AKS
38622020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
3863
3864 * lib/fortran.exp (fortran_int4): Handle clang.
3865 (fortran_int8): Likewise.
3866 (fortran_real4): Likewise.
3867 (fortran_real8): Likewise.
3868 (fortran_complex4): Likewise.
3869 (fortran_logical4): Likewise.
3870 (fortran_character1): Likewise.
3871
f8dcc90b
TV
38722020-02-04 Tom de Vries <tdevries@suse.de>
3873
3874 * README (Race detection): Add note.
3875
f90ac7c2
TV
38762020-02-04 Tom de Vries <tdevries@suse.de>
3877
3878 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
3879
780636ae
TV
38802020-02-04 Tom de Vries <tdevries@suse.de>
3881
3882 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
3883
5d2e1193
RA
38842020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3885
3886 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
3887 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
3888 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
3889 blttar, bnetarl.
3890 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
3891 binary for blttar, bnetarl.
3892 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
3893 wait instruction. Delete ldmx test.
3894 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
3895
e409c542
AKS
38962020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3897
3898 * gdb.fortran/array-bounds-high.exp: New file.
3899 * gdb.fortran/array-bounds-high.f90: New file.
3900
b0029748
LD
39012020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
3902
3903 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
3904 Replace #include of <sys/fcntl.h> by <fcntl.h>.
3905
195a8287
TV
39062020-02-01 Tom de Vries <tdevries@suse.de>
3907
3908 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
3909
42330a68
AB
39102020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
3911
3912 PR tui/9765
3913 * gdb.tui/tui-layout-asm-short-prog.S: New file.
3914 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
3915
b62a8028
LM
39162020-01-29 Luis Machado <luis.machado@linaro.org>
3917
3918 * gdb.arch/aarch64-brk-patterns.c: New source file.
3919 * gdb.arch/aarch64-brk-patterns.exp: New test.
3920
5f440116
TBA
39212020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3922
3923 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
3924 GCC/Clang version.
3925 * gdb.cp/pass-by-ref.exp: Ditto.
3926
ee2a6fc6
TV
39272020-01-29 Tom de Vries <tdevries@suse.de>
3928
3929 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
3930 * gdb.threads/watchpoint-fork-mt.c: Same.
3931 * gdb.threads/watchpoint-fork-parent.c: Same.
3932 * gdb.threads/watchpoint-fork-st.c: Same.
3933 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
3934
16b10d6e
LM
39352020-01-27 Luis Machado <luis.machado@linaro.org>
3936
3937 * gdb.base/step-over-syscall.exp (setup): Check if we're already
3938 sitting at a syscall instruction when we hit the syscall function's
3939 breakpoint.
3940 Check PC against one obtained with the x command.
3941 Validate syscall number.
3942 (step_over_syscall): Don't continue to the syscall instruction if
3943 we're already there.
3944
b1468492
PW
39452020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3946
3947 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
3948
7ffa82e1
AB
39492020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3950
3951 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
3952 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
3953
3d92a3e3
AB
39542020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3955
3956 * gdb.dwarf2/dw2-inline-stepping.c: New file.
3957 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
3958
94a72be7
AB
39592020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3960
3961 * gdb.base/maint.exp: Update line table parsing test.
3962 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
3963
53af73bf
PA
39642020-01-24 Pedro Alves <palves@redhat.com>
3965
3966 PR gdb/25410
3967 * gdb.multi/multi-re-run-1.c: New.
3968 * gdb.multi/multi-re-run-2.c: New.
3969 * gdb.multi/multi-re-run.exp: New.
3970
1ba1ac88
AB
39712020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3972
3973 PR gdb/23718
3974 * gdb.server/server-kill-python.exp: New file.
3975
f3364a6d
AB
39762020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3977
3978 * gdb.server/multi-ui-errors.c: New file.
3979 * gdb.server/multi-ui-errors.exp: New file.
3980
733d0a67
AB
39812020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3982
3983 PR tui/9765
3984 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
3985
4f13c1c0
TT
39862020-01-19 Tom Tromey <tom@tromey.com>
3987
3988 * gdb.tui/main.exp: Add check for plain "file".
3989
40c94099
CB
39902020-01-16 Christian Biesinger <cbiesinger@google.com>
3991
3992 * lib/gdb.exp: Fix spelling error (seperatelly).
3993
ff47f4f0
TT
39942020-01-14 Tom Tromey <tom@tromey.com>
3995
3996 PR symtab/12535:
3997 * gdb.python/python.exp: Test decode_line with empty string
3998 argument.
3999
717c684d
BE
40002020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
4001
4002 * gdb.base/skip-inline.exp: Extend test.
4003
44e4c775
AB
40042020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4005
4006 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
4007 * gdb.dwarf2/dw2-bad-elf.c: New file.
4008 * gdb.dwarf2/dw2-bad-elf.exp: New file.
4009
d93c6db7
AB
40102020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4011
4012 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
4013 _line_saw_file.
4014
9a6d629c
AB
40152020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4016
4017 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
4018 border.
4019
d9ebdab7
TBA
40202020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4021
4022 * gdb.multi/multi-target.exp (setup): Factor out "info
4023 connections" and "info inferiors" tests to ...
4024 (test_info_inferiors): ... this new procedure.
4025 (top level): Run new "info-inferiors" tests.
4026
f3c469b9
PA
40272020-01-10 Pedro Alves <palves@redhat.com>
4028
4029 * gdb.server/bkpt-other-inferior.exp: New file.
4030
121b3efd
PA
40312020-01-10 Pedro Alves <palves@redhat.com>
4032
4033 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
4034 of "add-inferior".
4035 * gdb.base/quit-live.exp: Likewise.
4036 * gdb.base/remote-exec-file.exp: Likewise.
4037 * gdb.guile/scm-progspace.exp: Likewise.
4038 * gdb.linespec/linespec.exp: Likewise.
4039 * gdb.mi/new-ui-mi-sync.exp: Likewise.
4040 * gdb.mi/user-selected-context-sync.exp: Likewise.
4041 * gdb.multi/multi-target.exp (setup): Add "info connection" and
4042 "info inferiors" tests.
4043 * gdb.multi/remove-inferiors.exp: Adjust expected output of
4044 "add-inferior".
4045 * gdb.multi/watchpoint-multi.exp: Likewise.
4046 * gdb.python/py-inferior.exp: Likewise.
4047 * gdb.server/extended-remote-restart.exp: Likewise.
4048 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
4049 "info inferiors".
4050 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
4051 * gdb.trace/report.exp: Likewise.
4052
1dadb1dd
PA
40532020-01-10 Pedro Alves <palves@redhat.com>
4054
4055 * gdb.multi/multi-target.c: New file.
4056 * gdb.multi/multi-target.exp: New file.
4057 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
4058 mode requested, but remote does not support non-stop".
4059
78f2c40a
PA
40602020-01-10 Pedro Alves <palves@redhat.com>
4061
4062 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
4063 disconnect before reconnecting.
4064
e7af6c70
TBA
40652020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4066 Pedro Alves <palves@redhat.com>
4067
4068 * gdb.server/connect-without-multi-process.exp: Also test
4069 continuing to end.
4070
acdf84a6
PA
40712020-01-10 Pedro Alves <palves@redhat.com>
4072
4073 * gdb.base/remote-exec-file.exp: New file.
4074
873657b9
PA
40752020-01-10 Pedro Alves <palves@redhat.com>
4076
4077 * gdb.base/fork-running-state.exp (do_test): Adjust expected
4078 output.
4079 * gdb.threads/async.c: New.
4080 * gdb.threads/async.exp: New.
4081 * gdb.multi/tids-gid-reset.c: New.
4082 * gdb.multi/tids-gid-reset.exp: New.
4083
7f0ae84c
GB
40842020-01-10 George Barrett <bob@bob131.so>
4085
4086 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
4087 to help in finding the image relocation offset.
4088 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
4089 options in arguments.
4090 (stap_test_no_debuginfo): Likewise.
4091 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
4092 test variants.
4093 (stap_test): Add null semaphore relocation test.
4094
47e9d49d
GB
40952020-01-10 George Barrett <bob@bob131.so>
4096
4097 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
4098 * gdb.base/stap-probe.exp: Likewise.
4099 (stap_test): Pass argument as an additional flag.
4100 (stap_test_no_debuginfo): Likewise.
4101 (stap_test): Check `info probes stap' output for semaphore
4102 addresses if the test binary is supposed to have them.
4103
f5a7c406
AB
41042020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4105
4106 * gdb.tui/basic.exp: Add more scrolling tests.
4107
9ae6bf64
TT
41082020-01-09 Tom Tromey <tom@tromey.com>
4109
4110 PR tui/18932:
4111 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
4112 meangingful value.
4113 (Term::command, Term::resize): Update.
4114 * gdb.tui/basic.exp: Add scrolling test.
4115
b2efe70c
AB
41162020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4117
4118 * gdb.tui/tui-layout-asm.exp: New file.
4119
3804da7e
AB
41202020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4121
4122 * lib/tuiterm.exp (Term::check_box_contents): New proc.
4123
b40aa28f
AB
41242020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4125
4126 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
4127 (Term::enter_tui): Use Term::prepare_for_tui.
4128
63ffd7c9
AB
41292020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4130
4131 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
4132 called.
4133
3be966f6
AB
41342020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4135
4136 * gdb.base/skip.exp: Fix race condition in test.
4137
153d79c4
AB
41382020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4139
4140 * gdb.base/backtrace.c: New file.
4141 * gdb.base/backtrace.exp: New file.
4142
f2302a34
AB
41432020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
4144
4145 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
4146
6ec1d75e
PW
41472020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4148
4149 * gdb.base/style.exp: Test that warnings are styled.
4150
c296cbe6
BE
41512019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
4152
4153 * gdb.base/line65535.exp: New file.
4154 * gdb.base/line65535.c: New file.
4155
b28a729d
SM
41562019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
4157
4158 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
4159 * lib/gnat_debug_info_test.adb: New file.
4160 * gdb.ada/ptype_tagged_param.exp: Use
4161 gnat_runtime_has_debug_info, expect a different output if
4162 runtime does not have debug info.
4163
7f2d7a0d
SM
41642019-12-20 Simon Marchi <simon.marchi@efficios.com>
4165
4166 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
4167 (another) quote in test name.
4168
f3bce483
SM
41692019-12-20 Simon Marchi <simon.marchi@efficios.com>
4170
4171 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
4172 Add quote in test name.
4173
c855a912
TBA
41742019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4175
4176 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
4177 directory instead.
4178 * gdb.cp/pass-by-ref.exp: Extend with more cases.
4179 * gdb.cp/pass-by-ref-2.cc: New file.
4180 * gdb.cp/pass-by-ref-2.exp: New file.
4181
fc9d2d72
TT
41822019-12-20 Tom Tromey <tom@tromey.com>
4183
4184 * gdb.tui/list-before.exp: New file.
4185
77b97e00
TT
41862019-12-20 Tom Tromey <tom@tromey.com>
4187
4188 * gdb.tui/list.exp: Check for source on initial listing.
4189
f69656d0
TT
41902019-12-11 Tom Tromey <tromey@adacore.com>
4191
4192 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
4193 Add crlf test.
4194
99a55965
SM
41952019-12-18 Simon Marchi <simon.marchi@efficios.com>
4196
4197 * gdb.base/default.exp: Update value of $_gdb_major.
4198
5024637f
BE
41992019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
4200
4201 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
4202
b63634be
BE
42032019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
4204
4205 * gdb.base/skip.exp: Whitespace fix.
4206
45d73523
BE
42072019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
4208
4209 * gdb.base/skip-inline.c: New file.
4210 * gdb.base/skip-inline.exp: New file.
4211
d043f8c8
SM
42122019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
4213
4214 * gdb.base/jit-reader.exp (jit_reader_test): Rename
4215 jit_function_00 to jit_function_stack_mangle.
4216 * gdb.base/jithost.c (jit_function_t): Rename to...
4217 (jit_function_stack_mangle_t): ... this.
4218 (jit_function_add_t): New typedef.
4219 (jit_function_00_code): Rename to...
4220 (jit_function_stack_mangle_code): ... this, make static.
4221 (jit_function_add_code): New.
4222 (main): Generate "add" function and call it. Adjust to changes
4223 in jithost_abi.
4224 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
4225 (struct jithost_abi) <begin, end>: Remove fields.
4226 <object, function_stack_mangle, function_add>: New fields.
4227 * gdb.base/jitreader.c (struct reader_state) <code_begin,
4228 code_end>: Remove fields.
4229 <func_stack_mangle>: New field.
4230 (read_debug_info): Adjust to renaming, create block for "add"
4231 function.
4232 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
4233
873de05c
TT
42342019-12-11 Tom Tromey <tom@tromey.com>
4235
4236 * gdb.tui/resize.exp: Fix regexp.
4237 * gdb.tui/regs.exp: Fix regexps.
4238 * gdb.tui/main.exp: Fix regexp.
4239
3d979945
TT
42402019-12-11 Tom Tromey <tom@tromey.com>
4241
4242 * gdb.tui/resize.exp: Update.
4243 * gdb.tui/empty.exp (layouts): Update.
4244
2192a9d3
TT
42452019-12-11 Tom Tromey <tom@tromey.com>
4246
4247 * gdb.tui/regs.exp: Update.
4248 * gdb.tui/empty.exp (layouts): Update.
4249 * gdb.tui/basic.exp: Update.
4250 * lib/tuiterm.exp (_check_box): Don't check bottom border.
4251
d8edc8b7
PW
42522019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4253
4254 * gdb.base/options.exp: Add -raw-values in the print completion list.
4255 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
4256
4c12d936
KB
42572019-12-10 Kevin Buettner <kevinb@redhat.com>
4258
4259 * gdb.threads/omp-par-scope.c: New file.
4260 * gdb/threads/omp-par-scope.exp: New file.
4261
26b911fb
KB
42622019-12-10 Kevin Buettner <kevinb@redhat.com>
4263
bb47f919
KB
4264 * lib/gdb.exp (support_nested_function_tests): New proc.
4265
42662019-12-10 Kevin Buettner <kevinb@redhat.com>
4267
4268 * lib/gdb.exp (gdb_compile_openmp): New proc.
4269 (build_executable_from_specs): Add an "openmp" option.
4270 (gdb_compile_pthreads): Add non-executable case.
26b911fb 4271
6c71eb7d
TT
42722019-12-10 Tom Tromey <tromey@adacore.com>
4273
4274 * gdb.ada/unchecked_union.exp: New file.
4275 * gdb.ada/unchecked_union/pck.adb: New file.
4276 * gdb.ada/unchecked_union/pck.ads: New file.
4277 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
4278 * gdb-utils.exp (string_to_regexp): Also quote "?".
4279
bac7c5cf
GB
42802019-12-10 George Barrett <bob@bob131.so>
4281
4282 Test scripted probe breakpoints.
4283 * gdb.guile/scm-breakpoint.c (main): Add probe point.
4284 * gdb.python/py-breakpoint.c (main): Likewise.
4285 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
4286 specifier test.
4287 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
4288
330f1d38
TBA
42892019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4290
4291 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
4292 an rvalue parameter.
4293 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
4294 parameter.
4295
b43315e2
AB
42962019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4297
4298 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
4299 modules.
4300
54f73dad
AB
43012019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4302
4303 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
4304 broken version of GCC.
4305
d57cbee9
AB
43062019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4307
4308 * gdb.fortran/info-modules.exp: Rewrite to make use of new
4309 sym-info-cmds library.
4310 * gdb.fortran/info-types.exp: Likewise.
4311 * lib/sym-info-cmds.exp: New file.
4312
c14aab8c
TV
43132019-12-08 Tom de Vries <tdevries@suse.de>
4314
4315 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
4316
aa2d5a42
KS
43172019-12-07 Keith Seitz <keiths@redhat.com>
4318
4319 * gdb.base/corefile-buildid-shlib-shr.c: New file.
4320 * gdb.base/corefile-buildid-shlib.c: New file.
4321 * gdb.base/corefile-buildid.c: New file.
4322 * gdb.base/corefile-buildid.exp: New file.
4323
93e55f0a
TV
43242019-12-06 Tom de Vries <tdevries@suse.de>
4325
4326 * gdb.dwarf2/varval.exp: Add decl before def test.
4327
c7d12402
TBA
43282019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4329
4330 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
4331
06acc08f
TBA
43322019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4333
4334 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
4335 CV and reference conversion for overload resolution.
4336 * gdb.cp/rvalue-ref-overload.exp: Test it.
4337
e0fad1ea
PW
43382019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4339
4340 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
4341 * gdb.base/frameapply.exp: Test faas without command.
4342
8d70a9f0
AB
43432019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4344
4345 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
4346 Fortran tests.
4347 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
4348 order.
4349
36c8fb93
AB
43502019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4351
4352 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
4353 casting to type with no kind specified.
4354 (test_basic_parsing_of_type_kinds): Additional tests for types
4355 with no kind specified, and add tests for single/double
4356 precision/complex types.
4357
4139ff00
TT
43582019-12-04 Tom Tromey <tromey@adacore.com>
4359
4360 * gdb.base/endianity.c (struct other) <x>: New field.
4361 (main): Initialize it.
4362 * gdb.base/endianity.exp: Update.
4363
a05cf17a
TT
43642019-12-04 Tom Tromey <tromey@adacore.com>
4365
4366 * gdb.ada/scalar_storage/storage.adb: New file.
4367 * gdb.ada/scalar_storage/pck.adb: New file.
4368 * gdb.ada/scalar_storage/pck.ads: New file.
4369 * gdb.ada/scalar_storage.exp: New file.
4370
103a685e
TT
43712019-12-04 Tom Tromey <tromey@adacore.com>
4372
4373 * gdb.base/endianity.c (struct otherendian) <f>: New field.
4374 (main): Initialize it.
4375 * gdb.base/endianity.exp: Update.
4376
c2512106
AB
43772019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4378
4379 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
4380
293b38d6
AB
43812019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4382
4383 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
4384 -symbol-info-module-functions and -symbol-info-module-variables.
4385
216a7e6b
AB
43862019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
4387
4388 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
4389
5bbd8269
AB
43902019-12-01 Richard Bunt <richard.bunt@arm.com>
4391 Andrew Burgess <andrew.burgess@embecosm.com>
4392
4393 * gdb.fortran/derived-type-striding.exp: New file.
4394 * gdb.fortran/derived-type-striding.f90: New file.
4395 * gdb.fortran/array-slices.exp: New file.
4396 * gdb.fortran/array-slices.f90: New file.
4397
be09caf1
PW
43982019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4399
4400 * gdb.base/define.exp: Test . in command names.
4401 * gdb.base/setshow.exp: Update test, as . is now part of
4402 command name.
4403
643c0cbe
PW
44042019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4405
4406 * gdb.base/define-prefix.exp: New file.
4407
dcdec678
AB
44082019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
4409
4410 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
4411 compile.
4412 (skip_btrace_pt_tests): Likewise.
4413
640ab947
AB
44142019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
4415
4416 * gdb.fortran/info-modules.exp: Compile source files in correct
4417 order.
4418
d22670f0
KB
44192019-11-27 Kevin Buettner <kevinb@redhat.com>
4420
4421 * gdb.dwarf2/imported-unit.exp: New file.
4422 * gdb.dwarf2/imported-unit.c: New file.
4423
db5960b4
AB
44242019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
4425
4426 * gdb.mi/mi-fortran-modules-2.f90: New file.
4427 * gdb.mi/mi-fortran-modules.exp: New file.
4428 * gdb.mi/mi-fortran-modules.f90: New file.
4429
7dc42066
AB
44302019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
4431
4432 * gdb.mi/mi-sym-info-1.c: New file.
4433 * gdb.mi/mi-sym-info-2.c: New file.
4434 * gdb.mi/mi-sym-info.exp: New file.
4435
0dfeecca
TT
44362019-11-22 Tom Tromey <tromey@adacore.com>
4437
4438 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
4439 * gdb.ada/tasks/foo.adb: Add another stopping location.
4440
34877895
PJ
44412019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
4442
4443 * gdb.base/endianity.c: New test.
4444 * gdb.base/endianity.exp: New file.
4445
2e84f897
LD
44462019-11-21 Lukas Durfina <ldurfina@tachyum.com>
4447
4448 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
4449
65d1cd5f
TV
44502019-11-21 Tom de Vries <tdevries@suse.de>
4451
4452 PR gdb/24956
4453 * gdb.base/ui-redirect.exp: Test output of user-defined command.
4454
4f22c3f4
SDJ
44552019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4456
4457 * gdb.python/py-progspace.exp: Add missing parentheses on some
4458 'print' commands.
4459
9f6ad286
TT
44602019-11-19 Tom Tromey <tom@tromey.com>
4461
4462 * gdb.tui/winheight.exp: New file.
4463
0b8dbf3f
AB
44642019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
4465
4466 * gdb.base/ctf-whatis.c: Delete.
4467 * gdb.base/ctf-whatis.exp: Delete.
4468 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
4469
f833b7a7
AB
44702019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
4471
4472 * gdb.base/ctf-cvexpr.exp: Delete.
4473 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
4474
30d0a636
AB
44752019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
4476
4477 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
4478 the compiler. Clean up header comment a little.
4479 * gdb.base/ctf-ptype.exp: Likewise.
4480 * gdb.base/ctf-whatis.exp: Likewise.
4481 * lib/gdb.exp (skip_ctf_tests): New proc.
4482
494409bb
SDJ
44832019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
4484
4485 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
4486 * gdb.tui/corefile-run.exp: New file.
4487
55708e99
TT
44882019-11-14 Tom Tromey <tromey@adacore.com>
4489
4490 * gdb.base/gdbvars.exp (test_convenience_variables): Add
4491 regression tests.
4492
45e42163
TT
44932019-11-12 Tom Tromey <tom@tromey.com>
4494
4495 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
4496 after any command. Expect prompt after WAIT_FOR is seen.
4497 (enter_tui): Enable resize messages.
4498 (command): Expect command in output.
4499 (get_line): Avoid error when cursor appears to be off-screen.
4500 (dump_screen): Include screen size in title.
4501 (_do_resize): New proc, from "resize".
4502 (resize): Rewrite. Do resize in two steps.
4503 * gdb.tui/empty.exp (layouts): Fix entries.
4504 (check_boxes): Remove xfail.
4505 (check_text): Dump screen on failure.
4506
086baaf1
AB
45072019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
4508
4509 * gdb.python/py-symbol.exp: Add test for
4510 gdb.lookup_static_symbols.
4511
09ff83af
AB
45122019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
4513
4514 * gdb.python/py-symbol.c: Declare and call function from new
4515 py-symbol-2.c file.
4516 * gdb.python/py-symbol.exp: Compile both source files, and add new
4517 tests for gdb.lookup_static_symbol.
4518 * gdb.python/py-symbol-2.c: New file.
4519
11af934b
TV
45202019-11-02 Tom de Vries <tdevries@suse.de>
4521
4522 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
4523 * gdb.base/anon.exp: Same.
4524 * gdb.base/auto-connect-native-target.exp: Same.
4525 * gdb.base/call-ar-st.exp: Same.
4526 * gdb.base/catch-syscall.exp: Same.
4527 * gdb.base/commands.exp: Same.
4528 * gdb.base/default.exp: Same.
4529 * gdb.base/display.exp: Same.
4530 * gdb.base/float.exp: Same.
4531 * gdb.base/foll-fork.exp: Same.
4532 * gdb.base/help.exp: Same.
4533 * gdb.base/info-macros.exp: Same.
4534 * gdb.base/info-proc.exp: Same.
4535 * gdb.base/info-target.exp: Same.
4536 * gdb.base/long_long.exp: Same.
4537 * gdb.base/macscp.exp: Same.
4538 * gdb.base/memattr.exp: Same.
4539 * gdb.base/nofield.exp: Same.
4540 * gdb.base/pointers.exp: Same.
4541 * gdb.base/printcmds.exp: Same.
4542 * gdb.base/ptype.exp: Same.
4543 * gdb.base/restore.exp: Same.
4544 * gdb.base/return.exp: Same.
4545 * gdb.base/scope.exp: Same.
4546 * gdb.base/set-noassign.exp: Same.
4547 * gdb.base/setshow.exp: Same.
4548 * gdb.base/shlib-call.exp: Same.
4549 * gdb.base/signals.exp: Same.
4550 * gdb.base/sigstep.exp: Same.
4551 * gdb.base/skip.exp: Same.
4552 * gdb.base/solib-symbol.exp: Same.
4553 * gdb.base/stap-probe.exp: Same.
4554 * gdb.base/step-line.exp: Same.
4555 * gdb.base/step-test.exp: Same.
4556 * gdb.base/style.exp: Same.
4557 * gdb.base/varargs.exp: Same.
4558 * gdb.base/vla-datatypes.exp: Same.
4559 * gdb.base/vla-ptr.exp: Same.
4560 * gdb.base/vla-sideeffect.exp: Same.
4561 * gdb.base/volatile.exp: Same.
4562 * gdb.base/watch-cond-infcall.exp: Same.
4563 * gdb.base/watchpoint.exp: Same.
4564
e96ec2ba
TV
45652019-11-02 Tom de Vries <tdevries@suse.de>
4566
4567 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
4568 * gdb.cp/cpexprs.exp: Same.
4569 * gdb.cp/except-multi-location.exp: Same.
4570 * gdb.cp/exceptprint.exp: Same.
4571 * gdb.cp/gdb2384.exp: Same.
4572 * gdb.cp/inherit.exp: Same.
4573 * gdb.cp/m-static.exp: Same.
4574 * gdb.cp/meth-typedefs.exp: Same.
4575 * gdb.cp/misc.exp: Same.
4576 * gdb.cp/namespace.exp: Same.
4577 * gdb.cp/non-trivial-retval.exp: Same.
4578 * gdb.cp/overload.exp: Same.
4579 * gdb.cp/pr17132.exp: Same.
4580 * gdb.cp/re-set-overloaded.exp: Same.
4581 * gdb.cp/rvalue-ref-types.exp: Same.
4582 * gdb.cp/templates.exp: Same.
4583
bd5766ec
LM
45842019-11-01 Luis Machado <luis.machado@linaro.org>
4585
4586 PR gdb/25124
4587
4588 * gdb.arch/pr25124.S: New file.
4589 * gdb.arch/pr25124.exp: New file.
4590
165f8965
AB
45912019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4592
4593 * gdb.fortran/info-modules.exp: Update expected results, and add
4594 additional tests for 'info module functinos', and 'info module
4595 variables'.
4596 * gdb.fortran/info-types.exp: Update expected results.
4597 * gdb.fortran/info-types.f90: Extend testcase with additional
4598 module variables and functions.
4599
59c35742
AB
46002019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4601
4602 * gdb.fortran/info-modules.exp: New file.
4603 * gdb.fortran/info-types.exp: Build with new file.
4604 * gdb.fortran/info-types.f90: Include and use new module.
4605 * gdb.fortran/info-types-2.f90: New file.
4606
f3fb2519
PW
46072019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4608
4609 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
4610 * gdb.base/settings.exp: Test all settings types using
4611 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
4612 that now verifies that the value of "maint show" is the same as
4613 returned by the settings functions. Test the type of the
4614 maintenance settings.
4615 * gdb.base/default.exp: Update show_conv_list.
4616
d1e36019
TV
46172019-10-31 Tom de Vries <tdevries@suse.de>
4618
4619 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
4620 gdb_test.
4621 * gdb.arch/amd64-disp-step.exp: Same.
4622 * gdb.asm/asm-source.exp: Same.
4623 * gdb.btrace/buffer-size.exp: Same.
4624 * gdb.btrace/cpu.exp: Same.
4625 * gdb.btrace/enable.exp: Same.
4626 * gdb.dwarf2/count.exp: Same.
4627 * gdb.dwarf2/dw2-ranges-func.exp: Same.
4628 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
4629 * gdb.fortran/vla-datatypes.exp: Same.
4630 * gdb.fortran/vla-history.exp: Same.
4631 * gdb.fortran/vla-ptype.exp: Same.
4632 * gdb.fortran/vla-value.exp: Same.
4633 * gdb.fortran/whatis_type.exp: Same.
4634 * gdb.guile/guile.exp: Same.
4635 * gdb.multi/tids.exp: Same.
4636 * gdb.python/py-finish-breakpoint.exp: Same.
4637 * gdb.python/py-framefilter.exp: Same.
4638 * gdb.python/py-pp-registration.exp: Same.
4639 * gdb.python/py-xmethods.exp: Same.
4640 * gdb.python/python.exp: Same.
4641 * gdb.server/connect-with-no-symbol-file.exp: Same.
4642 * gdb.server/no-thread-db.exp: Same.
4643 * gdb.server/run-without-local-binary.exp: Same.
4644 * gdb.stabs/weird.exp: Same.
4645 * gdb.threads/attach-many-short-lived-threads.exp: Same.
4646 * gdb.threads/thread-find.exp: Same.
4647 * gdb.threads/tls-shared.exp: Same.
4648 * gdb.threads/tls.exp: Same.
4649 * gdb.threads/wp-replication.exp: Same.
4650 * gdb.trace/ax.exp: Same.
4651 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
4652
3d11e68e
TV
46532019-10-31 Tom de Vries <tdevries@suse.de>
4654
4655 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
4656 * gdb.ada/array_subscript_addr.exp: Same.
4657 * gdb.ada/arrayidx.exp: Same.
4658 * gdb.ada/arrayparam.exp: Same.
4659 * gdb.ada/arrayptr.exp: Same.
4660 * gdb.ada/boolean_expr.exp: Same.
4661 * gdb.ada/call_pn.exp: Same.
4662 * gdb.ada/complete.exp: Same.
4663 * gdb.ada/fixed_cmp.exp: Same.
4664 * gdb.ada/fun_addr.exp: Same.
4665 * gdb.ada/funcall_param.exp: Same.
4666 * gdb.ada/interface.exp: Same.
4667 * gdb.ada/mod_from_name.exp: Same.
4668 * gdb.ada/null_array.exp: Same.
4669 * gdb.ada/packed_array.exp: Same.
4670 * gdb.ada/packed_tagged.exp: Same.
4671 * gdb.ada/print_chars.exp: Same.
4672 * gdb.ada/print_pc.exp: Same.
4673 * gdb.ada/ptype_arith_binop.exp: Same.
4674 * gdb.ada/ptype_field.exp: Same.
4675 * gdb.ada/ptype_tagged_param.exp: Same.
4676 * gdb.ada/rec_return.exp: Same.
4677 * gdb.ada/ref_tick_size.exp: Same.
4678 * gdb.ada/str_ref_cmp.exp: Same.
4679 * gdb.ada/taft_type.exp: Same.
4680 * gdb.ada/tagged.exp: Same.
4681 * gdb.ada/type_coercion.exp: Same.
4682 * gdb.ada/uninitialized_vars.exp: Same.
4683
60b6ede8
TV
46842019-10-30 Tom de Vries <tdevries@suse.de>
4685
4686 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
4687
30baf67b
TV
46882019-10-26 Tom de Vries <tdevries@suse.de>
4689
4690 * gdb.base/bigcore.c: Fix typos in comments.
4691 * gdb.base/ctf-ptype.c: Same.
4692 * gdb.base/long_long.c: Same.
4693 * gdb.dwarf2/dw2-op-out-param.S: Same.
4694 * gdb.python/py-evthreads.c: Same.
4695 * gdb.reverse/i387-stack-reverse.c: Same.
4696 * gdb.trace/tfile.c: Same.
4697 * lib/compiler.c: Same.
4698 * lib/compiler.cc: Same.
4699
158da0d1
TV
47002019-10-25 Tom de Vries <tdevries@suse.de>
4701
4702 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
4703 gdb_test_multiple calls.
4704 * gdb.reverse/sigall-reverse.exp: Same.
4705 * gdb.reverse/solib-precsave.exp: Same.
4706 * gdb.reverse/solib-reverse.exp: Same.
4707 * gdb.reverse/until-precsave.exp: Same.
4708 * gdb.reverse/until-reverse.exp: Same.
4709
4ccdfbec
TV
47102019-10-24 Tom de Vries <tdevries@suse.de>
4711
4712 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
4713 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
4714 kfail using -wrap pattern flag and convenience variable
4715 gdb_test_name.
4716
33d569b7
AB
47172019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
4718
4719 * gdb.python/py-progspace.exp: Add tests for the
4720 Progspace.block_for_pc method.
4721
4d0b984b
TT
47222019-10-23 Tom Tromey <tom@tromey.com>
4723
4724 * configure: Rebuild.
4725 * aclocal.m4: Use m4_include, not sinclude.
4726
94cb3754
TV
47272019-10-21 Tom de Vries <tdevries@suse.de>
4728
4729 * gdb.base/infcall-nested-structs.c: Add
4730 __attribute__((noinline,noclone)) to all functions.
4731 (call_all): Add missing variable initialization. Simplify return value.
4732 (breakpt): Increment volatile variable, to prevent call from being
4733 optimized out.
4734 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
4735
062f1fc1
TV
47362019-10-17 Tom de Vries <tdevries@suse.de>
4737
4738 * gdb.fortran/module.exp: Allow info variables to print info for files
4739 other than module.f90.
4740
0b54364d
AB
47412019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
4742
4743 * gdb.fortran/module.exp: Extend with 'info variables' test.
4744
7ff5fae7
AB
47452019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
4746
4747 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
4748 F77_FOR_TARGET.
4749
d10eccaa
TV
47502019-10-16 Tom de Vries <tdevries@suse.de>
4751
4752 PR tdep/25096
4753 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
4754
745ff14e
TV
47552019-10-16 Tom de Vries <tdevries@suse.de>
4756
4757 PR tdep/24104
4758 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
4759 Add KFAIL for PR tdep/25096.
4760
03e1ab94
TV
47612019-10-16 Tom de Vries <tdevries@suse.de>
4762
4763 PR testsuite/25059
4764 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
4765
b17fcc10
TV
47662019-10-16 Tom de Vries <tdevries@suse.de>
4767
4768 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
4769 as signed.
4770
9223170f
SM
47712019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
4772
4773 * gdb.mi/list-thread-groups-available.exp: Read entries one by
4774 one instead of increasing timeout.
4775
d6e76313
TV
47762019-10-13 Tom de Vries <tdevries@suse.de>
4777
4778 PR record/25038
4779 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
4780 * gdb.reverse/sigall-reverse.exp: Same.
4781 * gdb.reverse/solib-precsave.exp: Same.
4782 * gdb.reverse/solib-reverse.exp: Same.
4783 * gdb.reverse/step-precsave.exp: Same.
4784 * gdb.reverse/until-precsave.exp: Same.
4785 * gdb.reverse/until-reverse.exp: Same.
4786 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
4787
6dfc0041
AA
47882019-10-10 Andreas Arnez <arnez@linux.ibm.com>
4789
4790 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
4791 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
4792 (cmp_struct_05_01, cmp_struct_static_02_01)
4793 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
4794 comparisons.
4795
abcf2cc8
TV
47962019-10-10 Tom de Vries <tdevries@suse.de>
4797
4798 PR testsuite/24888
4799 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
4800 gnatlink.
4801
a50faaf6
TV
48022019-10-09 Tom de Vries <tdevries@suse.de>
4803
4804 PR testsuite/25048
4805 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
4806
60ff3cd7
AB
48072019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
4808
4809 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
4810 exceptions due to missing debug information.
4811
dfee8566
TV
48122019-10-07 Tom de Vries <tdevries@suse.de>
4813
4814 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
4815
3d63690a
AB
48162019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
4817
4818 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
4819 * gdb.base/annota1.exp: Update to use gdb_test_name.
4820
30d1f018
WP
48212019-10-07 Weimin Pan <weimin.pan@oracle.com>
4822
4823 * gdb.base/ctf-whatis.exp: New file.
4824 * gdb.base/ctf-whatis.c: New file.
4825 * gdb.base/ctf-ptype.exp: New file.
4826 * gdb.base/ctf-ptype.c: New file.
4827 * gdb.base/ctf-constvars.exp: New file.
4828 * gdb.base/ctf-constvars.c: New file.
4829 * gdb.base/ctf-cvexpr.exp: New file.
4830
4dbbb47c
TV
48312019-10-04 Tom de Vries <tdevries@suse.de>
4832
4833 * gdb.cp/local-static.c (main): Move declaration of int i out of the
4834 for loop.
4835
77c2dba3
TT
48362019-10-03 Tom Tromey <tom@tromey.com>
4837
4838 PR rust/24976:
4839 * gdb.rust/simple.rs (Union2): New type.
4840 (main): Use Union2.
4841 * gdb.rust/simple.exp: Add test.
4842
179aed7f
AB
48432019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4844
4845 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
4846 nested function prefix.
4847
0a4b0913
AB
48482019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
4849 Richard Bunt <richard.bunt@arm.com>
4850 Andrew Burgess <andrew.burgess@embecosm.com>
4851
4852 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
4853 nested functions.
4854 * gdb.fortran/nested-funcs.f90: Update expected results.
4855 * gdb.fortran/nested-funcs-2.exp: New file.
4856 * gdb.fortran/nested-funcs-2.f90: New file.
4857
082cce05
AB
48582019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4859
4860 * gdb.python/py-parameter.exp: Make test names unique.
4861 * gdb.python/py-template.exp: Likewise.
4862 * gdb.python/py-value.exp: Likewise.
4863
2b74ba5a
AB
48642019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4865
4866 * gdb.base/break-interp.exp: Reduce test name duplication.
4867 * gdb.base/call-sc.exp: Likewise.
4868 * gdb.base/callfuncs.exp: Likewise.
4869 * gdb.base/charset.exp: Likewise.
4870 * gdb.base/dump.exp: Likewise.
4871 * gdb.base/ena-dis-br.exp: Likewise.
4872 * gdb.base/relational.exp: Likewise.
4873 * gdb.base/step-over-syscall.exp: Likewise.
4874 * gdb.base/structs.exp: Likewise.
4875
58eb20d5
AB
48762019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4877
4878 * gdb.linespec/explicit.exp: Make test names unique.
4879 * gdb.linespec/ls-errs.exp: Likewise.
4880
4d421147
AB
48812019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4882
4883 * gdb.reverse/break-precsave.exp: Make test names unique.
4884 * gdb.reverse/break-reverse.exp: Likewise.
4885 * gdb.reverse/finish-precsave.exp: Likewise.
4886 * gdb.reverse/finish-reverse.exp: Likewise.
4887 * gdb.reverse/machinestate-precsave.exp: Likewise.
4888 * gdb.reverse/machinestate.exp: Likewise.
4889 * gdb.reverse/readv-reverse.exp: Likewise.
4890 * gdb.reverse/recvmsg-reverse.exp: Likewise.
4891 * gdb.reverse/sigall-precsave.exp: Likewise.
4892 * gdb.reverse/sigall-reverse.exp: Likewise.
4893 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
4894 * gdb.reverse/watch-precsave.exp: Likewise.
4895 * gdb.reverse/watch-reverse.exp: Likewise.
4896
d8c06f22
AB
48972019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4898
4899 * gdb.threads/stop-with-handle.c: New file.
4900 * gdb.threads/stop-with-handle.exp: New file.
4901
3a56ed86
TV
49022019-10-03 Tom de Vries <tdevries@suse.de>
4903
4904 PR testsuite/25059
4905 * gdb.base/list-missing-source.exp: Allowing the "Compilation
4906 directory" line to be missing.
4907
42275044
TV
49082019-10-03 Tom de Vries <tdevries@suse.de>
4909
4910 PR testsuite/25059
4911 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
4912 type optional.
4913
9ef62df0
AA
49142019-10-02 Andreas Arnez <arnez@linux.ibm.com>
4915
4916 * gdb.python/py-format-string.c (string.h): New include.
4917 (main): Fill a_struct_with_union.the_union.an_int with bytes of
4918 the same value, for endianness-independence.
4919 * gdb.python/py-format-string.exp (default_regexp_dict)
4920 (test_pretty_structs, test_format): Adjust expected output to the
4921 changed initialization.
4922
37f6a7f4
TT
49232019-10-02 Tom Tromey <tromey@adacore.com>
4924
4925 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
4926
1d58d6a2
PA
49272019-10-02 Pedro Alves <palves@redhat.com>
4928 Andrew Burgess <andrew.burgess@embecosm.com>
4929
4930 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
4931 "print-file-var.h".
4932 (this_version_id) Use ATTRIBUTE_VISIBILITY.
4933 (get_version_1): Print this_version_id and its address.
4934 Add extern "C" wrappers around interface functions.
4935 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
4936 "print-file-var.h".
4937 (this_version_id) Use ATTRIBUTE_VISIBILITY.
4938 (get_version_2): Print this_version_id and its address.
4939 Add extern "C" wrappers around interface functions.
4940 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
4941 <stddef.h> and "print-file-var.h".
4942 Add extern "C" wrappers around interface functions.
4943 [VERSION_ID_MAIN] (this_version_id): Define.
4944 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
4945 * gdb.base/print-file-var.h: Add some #defines to simplify setting
4946 up extern "C" blocks.
4947 * gdb.base/print-file-var.exp (test): New, factored out from top
4948 level.
4949 (top level): Test all combinations of attribute hidden or not,
4950 dlopen or not, and this_version_id symbol in main file or not.
4951 Compile tests as both C++ and C, make test names unique.
4952
d770d56f
TT
49532019-10-01 Tom Tromey <tom@tromey.com>
4954
4955 * gdb.base/style.exp: Test "show logging filename".
4956
7f6aba03
TT
49572019-10-01 Tom Tromey <tom@tromey.com>
4958
4959 * lib/gdb-utils.exp (style): Handle "metadata" argument.
4960 * gdb.base/style.exp: Add metadata style test.
4961
14309bb6
TT
49622019-10-01 Tom Tromey <tom@tromey.com>
4963
4964 * gdb.base/style.exp: Test "pwd".
4965
2a3c1174
PA
49662019-10-01 Tom Tromey <tom@tromey.com>
4967
4968 * gdb.base/style.exp: Update tests.
4969
53d666ec
AA
49702019-10-01 Andreas Arnez <arnez@linux.ibm.com>
4971
4972 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
4973 'six' to unsigned.
4974 (s1): Initialize fields 'four' and 'six' instead of 'three' and
4975 'five'. Use an all-ones bit pattern for each.
4976 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
4977 to its changed values.
4978
4a56a520
TT
49792019-09-30 Tom Tromey <tromey@adacore.com>
4980
4981 * gdb.rust/traits.rs: Disable all warnings.
4982
0df0352a
TV
49832019-09-29 Tom de Vries <tdevries@suse.de>
4984
aac66a4c 4985 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 4986
73d9a918
TV
49872019-09-29 Tom de Vries <tdevries@suse.de>
4988
4989 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
4990
060b3ab4
TV
49912019-09-27 Tom de Vries <tdevries@suse.de>
4992
4993 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
4994
68f7d34d
TV
49952019-09-27 Tom de Vries <tdevries@suse.de>
4996
4997 PR record/23188
4998 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
4999
5d63b30a
TT
50002019-09-26 Tom Tromey <tromey@adacore.com>
5001
5002 * gdb.ada/py_taft.exp: New file.
5003 * gdb.ada/py_taft/main.adb: New file.
5004 * gdb.ada/py_taft/pkg.adb: New file.
5005 * gdb.ada/py_taft/pkg.ads: New file.
5006
3d435220
TV
50072019-09-24 Tom de Vries <tdevries@suse.de>
5008
5009 PR gdb/24598
5010 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
5011
77d03678
TV
50122019-09-22 Tom de Vries <tdevries@suse.de>
5013
5014 * gdb.base/restore.exp: Allow register variables to be optimized out at
5015 -O0.
5016
abf516c6
UW
50172019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
5018
5019 * gdb.arch/spu-info.exp: Remove file.
5020 * gdb.arch/spu-info.c: Remove file.
5021 * gdb.arch/spu-ls.exp: Remove file.
5022 * gdb.arch/spu-ls.c: Remove file.
5023
5024 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
5025 * gdb.asm/spu.inc: Remove file.
5026
5027 * gdb.base/dump.exp: Remove support for spu*-*-*.
5028 * gdb.base/stack-checking.exp: Likewise.
5029 * gdb.base/overlays.exp: Likewise.
5030 * gdb.base/ovlymgr.c: Likewise.
5031 * gdb.base/spu.ld: Remove file.
5032
5033 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
5034 * gdb.cp/cpexprs.exp: Likewise.
5035 * gdb.cp/exception.exp: Likewise.
5036 * gdb.cp/gdb2495.exp: Likewise.
5037 * gdb.cp/mb-templates.exp: Likewise.
5038 * gdb.cp/pr9167.exp: Likewise.
5039 * gdb.cp/userdef.exp: Likewise.
5040
5041 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
5042
5043 * gdb.cell: Remove directory.
5044 * lib/cell.exp: Remove file.
5045
e452e88f
TV
50462019-09-19 Tom de Vries <tdevries@suse.de>
5047
5048 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
5049
8a625130
TV
50502019-09-19 Tom de Vries <tdevries@suse.de>
5051
5052 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
5053
81dc3ab5
TV
50542019-09-19 Tom de Vries <tdevries@suse.de>
5055
5056 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
5057 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
5058 (gdb_target_cmd): ... here.
5059 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
5060 value 2.
5061
b078f3ac
AB
50622019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
5063
5064 * gdb.base/source-dir.exp: Avoid having directory names in test
5065 names.
5066
f1b620e9
MG
50672019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
5068
5069 * gdb.base/source-dir.exp: Add extra test for mapped compilation
5070 directory.
5071
67f3ed6a
AB
50722019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
5073
5074 * gdb.base/list-missing-source.exp: New file.
5075
d1b70248
TV
50762019-09-14 Tom de Vries <tdevries@suse.de>
5077
5078 PR teststuite/24599
5079 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
5080 * lib/ada.exp (gnatmake_version_at_least): New proc.
5081
5fabdcd6
AB
50822019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
5083
5084 * gdb.base/maint.exp: Use exec_has_index_section.
5085
aa17805f
AB
50862019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
5087
5088 * gdb.base/maint.exp: Add test for 'maint info sections'.
5089
25e5c209
TV
50902019-09-12 Tom de Vries <tdevries@suse.de>
5091
5092 * gdb.base/store.exp: Allow register variables to be optimized out at
5093 -O0.
5094
4993045d
PW
50952019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5096
5097 * gdb.ada/rdv_wait.exp: Update to new task names.
5098 * gdb.base/task_switch_in_core.exp: Likewise.
5099 * gdb.base/info_sources_base.c: Likewise.
5100
8a516164
TT
51012019-09-10 Tom Tromey <tromey@adacore.com>
5102
5103 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
5104
aa391654
TT
51052019-09-10 Tom Tromey <tromey@adacore.com>
5106
5107 * gdb.ada/dgopt.exp: New file.
5108 * gdb.ada/dgopt/x.adb: New file.
5109
8634b462
TT
51102019-09-08 Tom Tromey <tom@tromey.com>
5111
5112 * gdb.tui/resize.exp: Remove setup_xfail.
5113 * gdb.tui/regs.exp: Remove setup_xfail.
5114 * gdb.tui/basic.exp: Remove setup_xfail.
5115
736b0f76
DB
51162019-09-06 David Blaikie <dblaikie@gmail.com>
5117
5118 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
5119 * gdb.cp/cplabel.exp: Ditto.
5120 * gdb.linespec/ls-errs.exp: Ditto.
5121
30331a6c
TV
51222019-09-05 Tom de Vries <tdevries@suse.de>
5123
5124 * lib/gdb.exp (cmp_file_string): New proc.
5125 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
5126 runto_main. Verify save breakpoints output.
5127
98b0ebab
PW
51282019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5129
5130 * gdb.base/info-var.exp: Test info variables without running
5131 to main, to avoid expect's buffer overflow.
5132
4e962e74
TT
51332019-09-03 Tom Tromey <tromey@adacore.com>
5134
5135 * gdb.ada/bias.exp: New file.
5136 * gdb.ada/bias/bias.adb: New file.
5137 * gdb.ada/print_chars.exp: Add regression test.
5138 * gdb.ada/print_chars/foo.adb (My_Character): New type.
5139 (MC): New variable.
5140
2ea1a07a
SL
51412019-08-29 Sandra Loosemore <sandra@codesourcery.com>
5142
5143 * gdb.base/argv0-symlink.exp: Run only on native target
5144 and local host.
5145
8077c50d
TV
51462019-08-29 Tom de Vries <tdevries@suse.de>
5147
5148 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
5149 diverse debug info.
5150 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
5151
48352473
TV
51522019-08-28 Tom de Vries <tdevries@suse.de>
5153
5154 * gdb.base/info-var.exp: Allow info variables to print info for files
5155 other than info-var-f1.c and info-var-f2.c.
5156
d8f27c60
AB
51572019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
5158
5159 * gdb.fortran/info-types.exp: Add module.
5160 * gdb.fortran/info-types.f90: Update expected results.
5161
1f20c35e
AB
51622019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
5163
5164 * gdb.fortran/info-types.exp: New file.
5165 * gdb.fortran/info-types.f90: New file.
5166 * lib/fortran.exp (fortran_character1): New proc.
5167
4acfdd20
AB
51682019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
5169
5170 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
5171 functions'. Reindent as needed.
5172 * gdb.base/info-var-f1.c: New file.
5173 * gdb.base/info-var-f2.c: New file.
5174 * gdb.base/info-var.exp: New file.
5175 * gdb.base/info-var.h: New file.
5176
5c31b358
TV
51772019-08-26 Tom de Vries <tdevries@suse.de>
5178
5179 PR c++/24852
5180 * gdb.cp/no-libstdcxx-probe.exp: New test.
5181
b694989f
TV
51822019-08-26 Tom de Vries <tdevries@suse.de>
5183
5184 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
5185 * tests need to be skipped.
5186 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
5187 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
5188 mi_skip_libstdcxx_probe_tests.
5189
d9c4ba53
SDJ
51902019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
5191
5192 * gdb.python/py-xmethods.exp: Use raw strings when passing
5193 arguments to SimpleXMethodMatcher.
5194
395fad09
TV
51952019-08-22 Tom de Vries <tdevries@suse.de>
5196
5197 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
5198 more informative.
5199
26c957f1
PA
52002019-08-21 Pedro Alves <palves@redhat.com>
5201
5202 * gdb.base/with.exp: Test "with" with no arguments.
5203
61f80d5d
TV
52042019-08-21 Tom de Vries <tdevries@suse.de>
5205
5206 * gdb.base/gdb-caching-proc.exp: Sort files.
5207
d7a11d13
TV
52082019-08-20 Tom de Vries <tdevries@suse.de>
5209
5210 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
5211 compilation.
5212
34dafe9f
TV
52132019-08-16 Tom de Vries <tdevries@suse.de>
5214
5215 * gdb.base/compare-sections.exp ("after run to main"): Allow
5216 mismatched read-only sections for PIE executables.
5217
398fdd60
TT
52182019-08-16 Tom Tromey <tom@tromey.com>
5219
5220 * lib/tuiterm.exp (_csi_Z): New proc.
5221 * gdb.tui/basic.exp: Update window positions.
5222 * gdb.tui/empty.exp: Update window positions.
5223
d8f9e51c
SL
52242019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5225
5226 * gdb.base/examine-backward.exp: Correct regexp for
5227 "examine 3 bytes backward from ${address_zero}".
5228
3df505f6
TT
52292019-08-15 Tom Tromey <tom@tromey.com>
5230
5231 * gdb.tui/empty.exp: Enable resizing tests.
5232
272560b5
TT
52332019-08-15 Tom Tromey <tromey@adacore.com>
5234
5235 * gdb.ada/char_enum.exp: Add regression tests.
5236 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
5237 and '0'.
5238 (Char, Gchar): Update.
5239 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
5240
08235187
CB
52412019-08-15 Christian Biesinger <cbiesinger@google.com>
5242
5243 * gdb.python/python.exp: Expect a leading underscore on
5244 GdbOutput{,Error}File.
5245
22a2ab04
SL
52462019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5247
5248 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
5249 Windows host.
5250
835b995b
SL
52512019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5252
5253 * gdb.base/batch-preserve-term-settings.exp
5254 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
5255
97dd8e07
CB
52562019-08-15 Christian Biesinger <cbiesinger@google.com>
5257
5258 * lib/gdb.exp: When running on a mingw target, replace
5259 /x/ with x:/.
5260
75faf5c4
AH
52612019-08-14 Alan Hayward <alan.hayward@arm.com>
5262
5263 * gdb.arch/aarch64-prologue.c: New test.
5264 * gdb.arch/aarch64-prologue.exp: New file.
5265
abc6c00f
TV
52662019-08-13 Tom de Vries <tdevries@suse.de>
5267
5268 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
5269 Thread.
5270
74c2c1f4
SL
52712019-08-13 Sandra Loosemore <sandra@codesourcery.com>
5272
5273 * gdb.python/py-completion.exp: Download the .py file to the host
5274 and use its host pathname. Conditionalize tests that use
5275 tab completion and manipulate files on the build machine.
5276 * gdb.python/py-events.exp: Download the .py file to the host
5277 and use its host pathname.
5278 * gdb.python/py-evsignal.exp: Likewise.
5279 * gdb.python/py-evthreads.exp: Likewise.
5280 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
5281 pathname syntax.
5282 * gdb.python/py-framefilter.exp: Download the .py file to the right
5283 place on the host. Match Windows pathname syntax.
5284 * gdb.python/py-mi-var-info-path-expression.exp: Download the
5285 .py file to the host and use its host pathname.
5286 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
5287 * gdb.python/py-objfile.exp: Expect a host pathname, not a
5288 build pathname. Skip symlink test on Windows host. Add missing
5289 newline at end of file.
5290 * gdb.python/py-pp-maint.exp: Download the .py file to the host
5291 and use its host pathname.
5292 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
5293 * gdb.python/py-section-script.exp: Use host location of binfile
5294 on safe-path. Use correct path separator on Windows host.
5295 Reorder alternatives in gdb_test_multiple to prevent matching
5296 the wrong alternative on success.
5297 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
5298
ca2589f3
PP
52992019-08-12 Patrick Palka <patrick@parcs.ath.cx>
5300
5301 * gdb.gdb/selftest.exp (test_with_self): Update test to now
5302 expect the GDB inferior to no longer immediately stop after
5303 being resumed with "signal SIGINT".
5304
020a839d
SL
53052019-08-09 Sandra Loosemore <sandra@codesourcery.com>
5306
5307 * gdb.linespec/break-ask.exp: Generalize regexps to match
5308 Windows pathnames too.
5309
128d6509
TV
53102019-08-08 Tom de Vries <tdevries@suse.de>
5311
5312 PR testsuite/24862
5313 * lib/tuiterm.exp (_accept): Fix CSI regexp.
5314
590042fc
PW
53152019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5316
5317 * gdb.base/style.exp: Update tests for help doc new invariants.
5318 * gdb.base/help.exp: Likewise.
5319
046bebe1
TT
53202019-08-06 Tom Tromey <tom@tromey.com>
5321
5322 * gdb.base/style.exp: Add disassemble test.
5323 * gdb.base/style.c (some_called_function): New function.
5324 (main): Use it.
5325
0b27c27d
CB
53262019-08-05 Christian Biesinger <cbiesinger@google.com>
5327
5328 * gdb.python/py-block.exp: Test dictionary access on blocks.
5329
580f1034
SM
53302019-08-05 Simon Marchi <simon.marchi@efficios.com>
5331
5332 PR gdb/24863
5333 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
5334 -list-thread-groups --available test when running under
5335 check-read1.
5336
d86bd7cb
TV
53372019-08-05 Tom de Vries <tdevries@suse.de>
5338
5339 PR testsuite/24863
5340 * lib/gdb.exp (with_read1_timeout_factor): New proc.
5341 * gdb.base/help.exp: Use with_read1_timeout_factor.
5342 * gdb.base/info-macros.exp: Same.
5343 * gdb.cp/nested-types.exp: Same.
5344
a80cf5d8
TV
53452019-08-05 Tom de Vries <tdevries@suse.de>
5346
5347 * lib/gdb.exp (version_at_least): Factor out of ...
5348 (tcl_version_at_least): ... here.
5349 (gdb_compile): Fail if pie results in non-PIE executable.
5350 (readelf_version, readelf_prints_pie): New proc.
5351 (exec_is_pie): Return -1 if unknown.
5352
d0962838
TV
53532019-08-05 Tom de Vries <tdevries@suse.de>
5354
5355 * lib/gdb.exp (tcl_version_at_least): Fix typo.
5356
2252ff3d
SL
53572019-08-04 Sandra Loosemore <sandra@codesourcery.com>
5358
5359 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
5360
26655f53
SL
53612019-08-04 Sandra Loosemore <sandra@codesourcery.com>
5362
5363 * lib/completion-support.exp (test_gdb_complete_none): Skip
5364 tab completion tests if no readline support.
5365 (test_gdb_complete_unique_re): Likewise.
5366 (test_gdb_complete_multiple): Likewise.
5367
db4dc13e
PW
53682019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5369
5370 * gdb.base/info_sources.exp: New file.
5371 * gdb.base/info_sources.c: New file.
5372 * gdb.base/info_sources_base.c: New file.
5373
0eba165a
PFC
53742019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5375
5376 * gdb.base/batch-exit-status.exp: Call test_exit_status with
5377 prefix argument.
5378 (test_exit_status): Add prefix argument.
5379
59bd512b
TV
53802019-08-01 Tom de Vries <tdevries@suse.de>
5381
5382 PR testsuite/24863
5383 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
5384 calling exp_continue for new thread and thread exited messages.
5385
2a3ad588
TV
53862019-08-01 Tom de Vries <tdevries@suse.de>
5387
5388 PR testsuite/24863
5389 * gdb.base/structs.exp: Fix check-read1 timeout using
5390 gdb_test_sequence.
5391 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
5392
117eb594
TV
53932019-08-01 Tom de Vries <tdevries@suse.de>
5394
5395 PR testsuite/24863
5396 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
5397 line.
5398
ed591340
TV
53992019-08-01 Tom de Vries <tdevries@suse.de>
5400
5401 PR testsuite/24863
5402 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
5403
aa3b6533
TT
54042019-07-30 Tom Tromey <tromey@adacore.com>
5405
5406 * gdb.ada/display_nested.exp: New file.
5407 * gdb.ada/display_nested/foo.adb: New file.
5408 * gdb.ada/display_nested/pack.adb: New file.
5409 * gdb.ada/display_nested/pack.ads: New file.
5410
2906593f
CB
54112019-07-30 Christian Biesinger <cbiesinger@google.com>
5412
5413 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
5414 namespace.
5415 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
5416
0f575925
TV
54172019-07-30 Tom de Vries <tdevries@suse.de>
5418
5419 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
5420 instead.
5421
b13057d9
TV
54222019-07-30 Tom de Vries <tdevries@suse.de>
5423
5424 PR testsuite/24834
5425 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
5426 (exec_is_pie): New proc.
5427
5c4dde85
CB
54282019-07-29 Christian Biesinger <cbiesinger@google.com>
5429
5430 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
5431
c620ed88
CB
54322019-07-29 Christian Biesinger <cbiesinger@google.com>
5433
5434 * gdb.python/py-objfile.c: Add global and static vars.
5435 * gdb.python/py-objfile.exp: Test new functions Objfile.
5436 lookup_global_symbol and lookup_static_symbol.
5437
3d235706
TT
54382019-07-29 Tom Tromey <tom@tromey.com>
5439
5440 * lib/tuiterm.exp (Term::_csi_@): New proc.
5441 (Term::_csi_X): Don't move cursor.
5442
c7e4c0a6
PW
54432019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5444
5445 * gdb.base/options.exp: Update backtrace - completion to
5446 new option -frame-info.
5447 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
5448 Test new 'set print frame-info'. Test backtrace -frame-info
5449 overriding 'set print frame-info'.
5450 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
5451 Test new 'set print frame-info'.
5452 Verify consistency of backtrace with and without filters, with and
5453 without -no-filters.
5454 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
5455 default.
5456
de28a3b7
TV
54572019-07-29 Tom de Vries <tdevries@suse.de>
5458
5459 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
5460 no arguments".
5461
507dd60e
TV
54622019-07-29 Tom de Vries <tdevries@suse.de>
5463
5464 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
5465 is a substring of the first for "complete non-unique file name".
5466
5beafce9
TV
54672019-07-29 Tom de Vries <tdevries@suse.de>
5468
5469 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
5470 with ".*".
5471
2d274232
TV
54722019-07-29 Tom de Vries <tdevries@suse.de>
5473
5474 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
5475 Pass prompt_regexp parameter to gdb_test_multiple calls.
5476
9197cd8b
TV
54772019-07-29 Tom de Vries <tdevries@suse.de>
5478
5479 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 5480 print registers" regexps.
9197cd8b 5481
b528dae0
TV
54822019-07-29 Tom de Vries <tdevries@suse.de>
5483
5484 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
5485
d17725d7
TV
54862019-07-29 Tom de Vries <tdevries@suse.de>
5487
5488 PR gdb/24855
5489 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
5490 (skip_python_tests_prompt): Add prompt_regexp argument to
5491 gdb_test_multiple calls.
5492
52b75bf1
TT
54932019-07-27 Tom Tromey <tom@tromey.com>
5494
5495 * gdb.tui/main.exp: New file.
5496
2b1d00c2
TT
54972019-07-27 Tom Tromey <tom@tromey.com>
5498
5499 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
5500 optional.
5501 * gdb.tui/empty.exp: New file.
5502
ded631d5
TT
55032019-07-27 Tom Tromey <tom@tromey.com>
5504
5505 * lib/tuiterm.exp (spawn): New proc.
5506 (Term::resize): New proc.
5507 * gdb.tui/resize.exp: New file.
5508
58ac439d
TT
55092019-07-27 Tom Tromey <tom@tromey.com>
5510
5511 * gdb.tui/list.exp: New file.
5512
fe1f56ee
TT
55132019-07-27 Tom Tromey <tom@tromey.com>
5514
5515 * gdb.tui/regs.exp: New file.
5516
f790b310
TT
55172019-07-27 Tom Tromey <tom@tromey.com>
5518
5519 * gdb.tui/basic.exp: Add "layout split" test.
5520
d95fc6ee
TT
55212019-07-27 Tom Tromey <tom@tromey.com>
5522
5523 * gdb.tui/basic.exp: Add "layout asm" test.
5524
c3786b3a
TT
55252019-07-27 Tom Tromey <tom@tromey.com>
5526
5527 * lib/tuiterm.exp: New file.
5528 * gdb.tui/basic.exp: New file.
5529
98a617f8
KB
55302019-07-27 Kevin Buettner <kevinb@redhat.com>
5531
5532 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
5533 Enable tests associated with this flag. Adjust regex
5534 referencing "foo_low" to now refer to "foo_cold" instead.
5535
5c076da4
KB
55362019-07-27 Kevin Buettner <kevinb@redhat.com>
5537
5538 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
5539 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
5540 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
5541 foo_cold. Revise comments to match.
5542 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
5543 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
5544 were wrapped into this proc; Call do_test in loop from outermost
5545 level.
5546 (foo_low): Rename all occurrences to "foo_cold".
5547 (backtrace from baz): New test.
5548 (x2/i foo_cold): New test.
5549 (info line *foo_cold): New test.
5550
1512d3b7
TV
55512019-07-26 Tom de Vries <tdevries@suse.de>
5552
5553 * gdb.arch/i386-pkru.exp: Fix unterminated string.
5554
297989a1
TV
55552019-07-25 Tom de Vries <tdevries@suse.de>
5556
5557 PR testsuite/24830
5558 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
5559 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
5560 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
5561 (skip_libstdcxx_probe_tests): ... here.
5562 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
5563
b3b965fb
TV
55642019-07-24 Tom de Vries <tdevries@suse.de>
5565
5566 PR testsuite/24807
5567 * gdb.objc/basicclass.m: Include stdio.h.
5568 * gdb.objc/nondebug.m: Same.
5569 * gdb.objc/objcdecode.m: Same.
5570
4625b4d0
TV
55712019-07-24 Tom de Vries <tdevries@suse.de>
5572
5573 PR testsuite/24612
5574 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
5575 additional_flags.
5576
024a5840
TV
55772019-07-24 Tom de Vries <tdevries@suse.de>
5578
5579 PR testsuite/24831
5580 * gdb.multi/tids.exp: Update error messages for info threads.
5581
c76ddaa3
TV
55822019-07-24 Tom de Vries <tdevries@suse.de>
5583
5584 * gdb.base/info-types.exp: Allow info types to print info for more than
5585 one file.
5586
9a618ef6
TV
55872019-07-23 Tom de Vries <tdevries@suse.de>
5588
5589 PR testsuite/24842
5590 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
5591 gdb_spawn_with_cmdline_opts.
5592
40eadf04
SP
55932019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
5594
5595 * gdb.arch/arm-cmse-sgstubs.c: New test.
5596 * gdb.arch/arm-cmse-sgstubs.exp: New file.
5597
5ba29434
TV
55982019-07-23 Tom de Vries <tdevries@suse.de>
5599
5600 PR testsuite/24711
5601 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
5602 issuing next command.
5603
a8e9d247
AB
56042019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
5605
5606 * gdb.ada/info_auto_lang.exp: Update expected results.
5607 * gdb.base/info-types.c: Add additional types to check.
5608 * gdb.base/info-types.exp: Update expected results.
5609
eb86c5e2
AB
56102019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
5611
5612 * gdb.base/info-types.c: New file.
5613 * gdb.base/info-types.exp: New file.
5614
01e175fe
AB
56152019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
5616
5617 * gdb.arch/riscv-bp-infcall.c: New file.
5618 * gdb.arch/riscv-bp-infcall.exp: New file.
5619
6b78c3f8
AB
56202019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
5621
5622 PR breakpoints/24541
5623 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
5624
da738167
TV
56252019-07-14 Tom de Vries <tdevries@suse.de>
5626
5627 PR testsuite/24760
5628 * gdb.objc/basicclass.exp: Fix unterminated string.
5629
0d4e84ed
AB
56302019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
5631 Andrew Burgess <andrew.burgess@embecosm.com>
5632
5633 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
5634 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
5635 negative bounds.
5636 * gdb.fortran/vla-value.exp: Print elements of an array with
5637 negative bounds.
5638 * gdb.fortran/vla.f90: Setup an array with negative bounds for
5639 testing.
5640
021d8588
AB
56412019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
5642
5643 * gdb.base/options.exp (expect_string): Dequote strings in
5644 results.
5645 (test-string): Test strings with different quoting and reindent.
5646
f06f1252
TT
56472019-07-10 Tom Tromey <tromey@adacore.com>
5648
5649 * gdb.ada/mi_ex_cond.exp: Update expected results.
5650 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
5651 * gdb.ada/mi_catch_ex.exp: Update expected results.
5652 * gdb.ada/mi_catch_assert.exp: Update expected results.
5653 * gdb.ada/catch_ex.exp (catch_exception_info)
5654 (catch_exception_entry, catch_assert_entry)
5655 (catch_unhandled_entry): Update.
5656 * gdb.ada/catch_assert_if.exp: Update expected results.
5657
b863685d
RB
56582019-07-10 Richard Bunt <richard.bunt@arm.com>
5659 Stephen Roberts <stephen.roberts@arm.com>
5660
5661 * gdb.base/define.exp: Restore original prompt.
5662
cb1e4e32
PA
56632019-07-09 Pedro Alves <palves@redhat.com>
5664
5665 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
5666 breakpoints" output.
5667 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
5668 * gdb.python/py-breakpoint.exp: No longer expect that "catch
5669 throw" creates breakpoint.
5670 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
5671 'type="catchpoint"'.
5672
b58a68fe
PA
56732019-07-09 Pedro Alves <palves@redhat.com>
5674
5675 PR c++/15468
5676 * gdb.cp/except-multi-location-lib.cc: New.
5677 * gdb.cp/except-multi-location-main.cc: New.
5678 * gdb.cp/except-multi-location.exp: New.
5679
0826779b
PW
56802019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
5681
5682 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
5683 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
5684 argument and update callers.
5685
5b0e2db4
AB
56862019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5687
5688 * gdb.arch/amd64-break-on-asm-line.S: New file.
5689 * gdb.arch/amd64-break-on-asm-line.exp: New file.
5690
1f6f6e21
PW
56912019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5692
5693 * gdb.base/printcmds.exp: Test printing C string and
5694 C wide string convenience vars without transiting via the inferior.
5695 Also make test names unique.
5696
ea142fbf
AH
56972019-07-08 Alan Hayward <alan.hayward@arm.com>
5698
5862c886 5699 PR breakpoints/25011
ea142fbf
AH
5700 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
5701
213fd9fa
PA
57022019-07-04 Pedro Alves <palves@redhat.com>
5703
5704 * lib/gdb.exp (foreach_with_prefix): Don't return early if
5705 body returned ok(0), break(3) or continue(4).
5706 * gdb.testsuite/foreach_with_prefix.exp: New file.
5707
2b40fda7
AH
57082019-07-04 Alan Hayward <alan.hayward@arm.com>
5709
5710 * gdb.server/unittest.exp: Allow 0 unit tests to run.
5711
a26c8de0
PA
57122019-07-03 Pedro Alves <palves@redhat.com>
5713
5714 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
5715 "return -code".
5716
5f4ba3e7
PA
57172019-07-03 Pedro Alves <palves@redhat.com>
5718
5719 PR cli/24732
5720 * gdb.base/shell.exp: Load completion-support.exp.
5721 Adjust expected error output. Add completion tests.
5722
a994424f
PA
57232019-07-03 Pedro Alves <palves@redhat.com>
5724
5725 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
5726 string_to_regexp.
5727
3d9be6f5
PA
57282019-07-03 Pedro Alves <palves@redhat.com>
5729
5730 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
5731 (expect_integer): Adjust to expect "-string".
5732 (expect_string): New.
5733 (all_options): Expect "-string".
5734 (test-flag, test-boolean): Adjust to expect "-string".
5735 (test-string): New proc.
5736 (top level): Call it.
5737
41fc454c
PA
57382019-07-03 Pedro Alves <palves@redhat.com>
5739
5740 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
5741 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
5742 the expected output in the success.
5743
b2b2a215
PA
57442019-07-03 Pedro Alves <palves@redhat.com>
5745
5746 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5747 Split one gdb_test_multiple call in two to avoid a race.
5748
fdbc9870
PA
57492019-07-03 Pedro Alves <palves@redhat.com>
5750
5751 * gdb.base/with.c: New file.
5752 * gdb.base/with.exp: New file.
5753
c6ac8931
PA
57542019-07-03 Pedro Alves <palves@redhat.com>
5755
5756 * gdb.base/settings.exp: Replace all references to "maint
5757 test-settings set" with references to "maint set test-settings",
5758 and all references to "maint test-settings show" with references
5759 to "maint show test-settings".
5760
970f9d09
PA
57612019-07-03 Pedro Alves <palves@redhat.com>
5762
5763 * gdb.base/settings.exp (test-string): Adjust expected out when
5764 testing "maint test-settings show filename"
5765
54d66006
PA
57662019-07-02 Pedro Alves <palves@redhat.com>
5767
5768 * gdb.base/options.exp (test-info-threads): New procedure.
5769 (top level): Call it.
5770
10d06d82
TT
57712019-06-28 Tom Tromey <tromey@adacore.com>
5772
5773 * gdb.dwarf2/ada-linkage-name.c: New file.
5774 * gdb.dwarf2/ada-linkage-name.exp: New file.
5775
3d507ff2
TT
57762019-06-27 Tom Tromey <tromey@adacore.com>
5777
d039f014 5778 PR c++/20020:
3d507ff2
TT
5779 * gdb.cp/constexpr-field.exp: Use setup_xfail.
5780
8af58ffe
TV
57812019-06-26 Tom de Vries <tdevries@suse.de>
5782
5783 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
5784
22e21752
TV
57852019-06-26 Tom de Vries <tdevries@suse.de>
5786
5787 * gdb.base/index-cache.exp: Add back missing debug option.
5788
b65b566c
PW
57892019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5790
5791 * gdb.base/alias.exp: Test non matching/non existing prefixes.
5792
5c2c8c69
TV
57932019-06-25 Tom de Vries <tdevries@suse.de>
5794
5795 PR testsuite/24727
5796 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
5797
164e3873
TV
57982019-06-24 Tom de Vries <tdevries@suse.de>
5799
5800 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
5801
824eacee
TV
58022019-06-24 Tom de Vries <tdevries@suse.de>
5803
5804 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
5805 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
5806 * gdb.trace/unavailable-dwarf-piece.exp: Same.
5807
385b97d3
TV
58082019-06-24 Tom de Vries <tdevries@suse.de>
5809
5810 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
5811
c596f180
TV
58122019-06-21 Tom de Vries <tdevries@suse.de>
5813
5814 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
5815
b13a7d03
TV
58162019-06-21 Tom de Vries <tdevries@suse.de>
5817
5818 PR testsuite/24518
5819 PR ada/24713
5820 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
5821 index.
5822
899277ae
TT
58232019-06-19 Tom Tromey <tromey@adacore.com>
5824
5825 * gdb.ada/length_cond.exp: Add intro comment.
5826
680e1bee
TT
58272019-06-19 Tom Tromey <tromey@adacore.com>
5828
5829 * gdb.ada/length_cond.exp: New file.
5830 * gdb.ada/length_cond/length_cond.adb: New file.
5831 * gdb.ada/length_cond/pck.adb: New file.
5832 * gdb.ada/length_cond/pck.ads: New file.
5833
0ed4690a
TV
58342019-06-18 Tom de Vries <tdevries@suse.de>
5835
5836 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
5837
d20ed5fd
TT
58382019-06-18 Tom Tromey <tromey@adacore.com>
5839
5840 * gdb.base/list0.h: Add comment explaining control character.
5841
86e04673
TV
58422019-06-18 Tom de Vries <tdevries@suse.de>
5843
5844 * boards/fission.exp: Break up long debug_flags line.
5845
c4973306
SM
58462019-06-16 Tom de Vries <tdevries@suse.de>
5847
5848 PR gdb/24445
5849 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
5850 generated index.
5851
93cb9841
AB
58522019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
5853
5854 PR gdb/24686
5855 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
5856 improve detection of bug gdb/24541.
5857
399aaebd
SM
58582019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
5859
5860 PR gdb/24669
5861 * gdb.base/index-cache.exp (uses_readnow,
5862 expecting_index_cache_use): Define global variable.
5863 (test_cache_enabled_miss, test_cache_enabled_hit): Use
5864 expecting_index_cache_use.
5865
584a927c
AB
58662019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
5867 Andrew Burgess <andrew.burgess@embecosm.com>
5868
5869 * gdb.fortran/pointers.f90: New file.
5870 * gdb.fortran/print_type.exp: New file.
5871 * gdb.fortran/vla-ptype.exp: Adapt expected results.
5872 * gdb.fortran/vla-type.exp: Likewise.
5873 * gdb.fortran/vla-value.exp: Likewise.
5874 * gdb.mi/mi-vla-fortran.exp: Likewise.
5875
30056ea0
AB
58762019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
5877
5878 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
5879 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
5880 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
5881 as a stop reason.
5882
ec8e2b6d
AB
58832019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
5884
5885 * gdb.base/annota1.exp: Update expected results.
5886 * gdb.cp/annota2.exp: Likewise.
5887 * gdb.cp/annota3.exp: Likewise.
5888
09e4c4e1
AB
58892019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
5890
5891 * gdb.base/style-logging.exp: Remove path from test name.
5892
0735b091
TT
58932019-06-14 Tom Tromey <tromey@adacore.com>
5894
5895 PR gdb/24502:
5896 * gdb.base/style-logging.exp: New file.
5897
f5686554
TT
58982019-06-14 Tom Tromey <tromey@adacore.com>
5899
5900 * gdb.base/symfile-warn.exp: New file.
5901 * gdb.base/symfile-warn.c: New file.
5902
a0c1ffed
TT
59032019-06-14 Tom Tromey <tromey@adacore.com>
5904
5905 * gdb.base/annotate-symlink.exp: New file.
5906
f411722c
TT
59072019-06-14 Tom Tromey <tromey@adacore.com>
5908
5909 * gdb.ada/set_wstr.exp: Add reassignment test.
5910
4268ec18
TT
59112019-06-14 Tom Tromey <tromey@adacore.com>
5912
5913 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
5914 'unchecked_access and 'unrestricted_access as well.
5915
9a9e394b
TT
59162019-06-14 Tom Tromey <tromey@adacore.com>
5917
5918 PR ada/24539:
5919 * gdb.ada/vla.exp: Update tests.
5920 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
5921 pragma.
5922
4c048731
PA
59232019-06-13 Pedro Alves <palves@redhat.com>
5924
5925 * gdb.base/settings.exp (test-integer): Test junk after
5926 "unlimited".
5927
6665660a
PA
59282019-06-13 Pedro Alves <palves@redhat.com>
5929
5930 * gdb.base/options.exp (test-thread-apply): New.
5931 (top level): Call it.
5932
5d707134
PA
59332019-06-13 Pedro Alves <palves@redhat.com>
5934
5935 * gdb.base/options.exp (test-frame-apply): New.
5936 (top level): Test print commands with different "frame apply"
5937 prefixes.
5938
e2a689da
PA
59392019-06-13 Pedro Alves <palves@redhat.com>
5940
e79be6e5 5941 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
5942 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
5943 'max_completions' parameter and handle it.
5944 (test_gdb_completion_offers_commands): New.
5945
90a1ef87
PA
59462019-06-13 Pedro Alves <palves@redhat.com>
5947
5948 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
5949
d4c16835
PA
59502019-06-13 Pedro Alves <palves@redhat.com>
5951
5952 * gdb.base/options.exp (test-backtrace): New.
5953 (top level): Call it.
5954
2daf894e
PA
59552019-06-13 Pedro Alves <palves@redhat.com>
5956
5957 * gdb.guile/scm-frame-args.exp: Use "set print
5958 raw-frame-arguments" instead of "set print raw frame-arguments".
5959 * gdb.python/py-frame-args.exp: Likewise.
5960
e6ed716c
PA
59612019-06-13 Pedro Alves <palves@redhat.com>
5962
5963 * gdb.compile/compile.exp: Adjust expected output to option
5964 processing changes.
5965
7d8062de
PA
59662019-06-13 Pedro Alves <palves@redhat.com>
5967
5968 * gdb.base/options.exp: Build executable.
5969 (test-print): New procedure.
5970 (top level): Call it, once for "print" and another for "compile
5971 print".
5972
9d0faba9
PA
59732019-06-13 Pedro Alves <palves@redhat.com>
5974
5975 * gdb.base/options.c: New file.
5976 * gdb.base/options.exp: New file.
5977
dee7b4c8
PA
59782019-06-13 Pedro Alves <palves@redhat.com>
5979
5980 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
5981 that "o" is ambiguous.
5982
dca0f6c0
PA
59832019-06-13 Pedro Alves <palves@redhat.com>
5984
5985 * gdb.base/settings.c: New file.
5986 * gdb.base/settings.exp: New file.
5987
ccf46844
PA
59882019-06-13 Pedro Alves <palves@redhat.com>
5989
5990 * gdb.base/completion.exp: Fix comment typo.
5991
b9a3f842
PA
59922019-06-13 Pedro Alves <palves@redhat.com>
5993
5994 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
5995 foo --1" test.
5996
d106773e
PA
59972019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
5998
5999 * gdb.fortran/block-data.f: New.
6000 * gdb.fortran/block-data.exp: New.
6001
fea82da0
TV
60022019-06-11 Tom de Vries <tdevries@suse.de>
6003
6004 PR testsuite/24521
6005 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
6006 message.
6007
8c2e74f1
TV
60082019-06-11 Tom de Vries <tdevries@suse.de>
6009
6010 PR testsuite/24521
6011 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
6012
b49851c8
TV
60132019-06-11 Tom de Vries <tdevries@suse.de>
6014
6015 * boards/readnow.exp: New file.
6016
a7067863
AB
60172019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
6018
6019 * gdb.fortran/vla-sizeof.exp: Update expected results.
6020
1a3da2cd
AB
60212019-06-06 Amos Bird <amosbird@gmail.com>
6022
6023 * gdb.base/annota1.exp (thread_switch): Add test for
6024 thread-exited annotation.
6025
3847a7bf
TT
60262019-06-06 Tom Tromey <tromey@adacore.com>
6027
6028 * gdb.base/maint.exp: Expect command started/finished output.
6029
0088ba59
AB
60302019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
6031
6032 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
6033 comment.
6034 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
6035
312617a3
AB
60362019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
6037
6038 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
6039 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
6040 * gdb.arch/riscv-unwind-long-insn.c: New file.
6041 * gdb.arch/riscv-unwind-long-insn.exp: New file.
6042
e1f2e1a2
CB
60432019-06-04 Christian Biesinger <cbiesinger@google.com>
6044
d3238f7d 6045 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 6046
206584bd
PW
60472019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6048
6049 * lib/gdb.exp (help_list_trailer): New regexp variable
6050 factorizing the help trailer message.
6051 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
6052 arg to allow to better factorize various tests.
6053 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
6054 (test_prefix_command_help): Use help_list_trailer.
6055 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
6056 * gdb.guile/scm-cmd.exp: Likewise.
6057 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
6058 * gdb.base/help.exp: Use test_user_defined_class_help.
6059 * gdb.base/style.exp: Add tests for styling of help and apropos.
6060 * lib/gdb-utils.exp (style): Add title and highlight styles.
6061
708dc93e
PW
60622019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6063
6064 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
6065 $_shell_exitsignal.
6066 * gdb.base/default.exp: Update for new convenience variables.
6067
f49055a5
TT
60682019-05-29 Tom Tromey <tromey@adacore.com>
6069
6070 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
6071 to "break complete ada" test case's regexp.
6072
4330d61d
TT
60732019-05-29 Tom Tromey <tromey@adacore.com>
6074
6075 PR c++/20020:
6076 * gdb.cp/constexpr-field.exp: New file.
6077 * gdb.cp/constexpr-field.cc: New file.
6078
000439d5
TT
60792019-05-29 Tom Tromey <tromey@adacore.com>
6080
6081 * gdb.base/finish.exp (finish_no_print): New proc.
6082 (finish_tests): Call it.
6083
5a01c34c
TV
60842019-05-24 Tom de Vries <tdevries@suse.de>
6085
6086 * gdb.dwarf2/gdb-add-index.exp: New file.
6087
18125b16
TT
60882019-05-22 Tom Tromey <tromey@adacore.com>
6089
6090 * gdb.base/info-shared.exp (check_info_shared): Use "style".
6091 * gdb.base/style.exp: Use "style".
6092 * lib/gdb-utils.exp (style): New proc.
6093
af1a8d03
TV
60942019-05-22 Tom de Vries <tdevries@suse.de>
6095
6096 * gdb.base/align.exp: Require c++11.
6097
e7fe496b
TV
60982019-05-22 Tom de Vries <tdevries@suse.de>
6099
6100 PR testsuite/24586
6101 * gdb.python/py-mi-var-info-path-expression.exp: Call
6102 mi_skip_python_tests to check if python is supported.
6103
8fca4da0
AH
61042019-05-22 Alan Hayward <alan.hayward@arm.com>
6105
6106 * gdb.arch/aarch64-pauth.c: New test.
6107 * gdb.arch/aarch64-pauth.exp: New file.
6108
b7060614
AH
61092019-05-22 Alan Hayward <alan.hayward@arm.com>
6110
6111 * README (Re-running Tests Outside The Testsuite): New section.
6112
669d0468
TV
61132019-05-21 Tom de Vries <tdevries@suse.de>
6114
6115 * gdb.arch/amd64-eval.exp: Require c++11.
6116 * gdb.base/max-depth.exp: Same.
6117 * gdb.compile/compile-cplus-array-decay.exp: Same.
6118 * gdb.cp/meth-typedefs.exp: Same.
6119 * gdb.cp/subtypes.exp: Same.
6120 * gdb.cp/temargs.exp: Same.
6121
ce3ebcaa
AH
61222019-05-21 Alan Hayward <alan.hayward@arm.com>
6123
6124 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
6125
34d11c68
AB
61262019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
6127
6128 PR gdb/18644
6129 * gdb.fortran/complex.exp: Remove setup_kfail calls.
6130 * gdb.fortran/printing-types.exp: Add new test.
6131 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
6132 testing.
6133 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
6134 setup_kfail call.
6135
87781e84
AH
61362019-05-17 Alan Hayward <alan.hayward@arm.com>
6137
6138 * README (Running the Testsuite): Change example.
6139 (Testsuite Parameters): Remove TRANSCRIPT.
6140 * lib/gdb.exp: Remove TRANSCRIPT check.
6141
b420b89e
AH
61422019-05-17 Alan Hayward <alan.hayward@arm.com>
6143
6144 * README (Testsuite Parameters): Add replay logging to
6145 GDBSERVER_DEBUG.
6146 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
6147 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
6148 as a comma separated list.
6149 (gdb_debug_init): Override procedure.
6150
408e9b8b
AH
61512019-05-17 Alan Hayward <alan.hayward@arm.com>
6152
6153 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
6154 (gdb_write_cmd_file): New procedure.
6155 * lib/gdbserver-support.exp (gdbserver_start): Call
6156 gdbserver_write_cmd_file.
6157 (gdbserver_write_cmd_file): New procedure.
6158
f9e2e39d
AH
61592019-05-17 Alan Hayward <alan.hayward@arm.com>
6160
6161 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
6162 (delete_breakpoints): Likewise.
6163 (gdb_run_cmd): Likewise.
6164 (gdb_start_cmd): Likewise.
6165 (gdb_starti_cmd): Likewise.
6166 (gdb_internal_error_resync): Likewise.
6167 (gdb_test_multiple): Likewise.
6168 (gdb_reinitialize_dir): Likewise.
6169 (default_gdb_exit): Likewise.
6170 (gdb_file_cmd): Mark kill as optional.
6171 (default_gdb_start): Call gdb_stdin_log_init.
6172 (send_gdb): Call gdb_stdin_log_write.
6173 (rerun_to_main): Mark Y as an answer.
6174 (gdb_stdin_log_init): New function.
6175 (gdb_stdin_log_write): Likewise.
6176
81f47ac2
AH
61772019-05-17 Alan Hayward <alan.hayward@arm.com>
6178
6179 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
6180 * gdb.base/debug-expr.exp: Likewise.
6181 * gdb.base/foll-fork.exp: Likewise.
6182 * gdb.base/foll-vfork.exp: Likewise.
6183 * gdb.base/fork-print-inferior-events.exp: Likewise.
6184 * gdb.base/gdb-sigterm.exp: Likewise.
6185 * gdb.base/gdbinit-history.exp: Likewise.
6186 * gdb.base/osabi.exp: Likewise.
6187 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
6188 * gdb.base/ui-redirect.exp: Likewise.
6189 * gdb.gdb/unittest.exp: Likewise.
6190 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
6191 * gdb.mi/mi-watch.exp: Likewise.
6192 * gdb.mi/new-ui-mi-sync.exp: Likewise.
6193 * gdb.mi/user-selected-context-sync.exp: Likewise.
6194 * gdb.python/python.exp: Disable debug test when debugging.
6195 * gdb.threads/check-libthread-db.exp: Disable when debugging.
6196 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6197 Likewise.
6198 * gdb.threads/stepi-random-signal.exp: Likewise.
6199
29b52314
AH
62002019-05-17 Alan Hayward <alan.hayward@arm.com>
6201
6202 * Makefile.in: Pass through GDB_DEBUG.
6203 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
6204 (gdb,debug): Add board setting.
6205 * lib/gdb.exp (default_gdb_start): Start debugging.
6206 (gdb_debug_enabled): New procedure.
6207 (gdb_debug_init): Likewise.
29b52314
AH
6208
62092019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 6210
29b52314
AH
6211 * Makefile.in: Pass through GDB_DEBUG.
6212 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
6213 (gdb,debug): Add board setting.
6214 * lib/gdb.exp (default_gdb_start): Start debugging.
6215 (gdb_debug_enabled): New procedure.
6216 (gdb_debug_init): Likewise.
29b52314 6217
ca1285d1
AH
62182019-05-17 Alan Hayward <alan.hayward@arm.com>
6219
6220 * gdb.base/ui-redirect.exp: Add debug redirect tests.
6221
f3a09c80
AH
62222019-05-17 Alan Hayward <alan.hayward@arm.com>
6223
6224 * gdb.base/ui-redirect.exp: Test redirection.
6225
26648588
JV
62262019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
6227
6228 * gdb.mi/mi-complete.exp: New file.
6229 * gdb.mi/mi-complete.cc: Likewise.
6230
14237686
AB
62312019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
6232
6233 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
6234 indexed and sliced arrays, and pointers to arrays.
6235
e7bd7fba
TT
62362019-05-14 Tom Tromey <tromey@adacore.com>
6237
6238 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
6239 styling test.
6240
2764128d
TV
62412019-05-14 Tom de Vries <tdevries@suse.de>
6242
6243 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
6244 selection entry encoding.
6245
71bed2db
TT
62462019-05-10 Tom Tromey <tromey@adacore.com>
6247
6248 * gdb.ada/info_exc.exp: Add "complete" test.
6249
63b667ad
TV
62502019-05-09 Tom de Vries <tdevries@suse.de>
6251
6252 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
6253 CU-relative.
6254
9cfd2b89
TV
62552019-05-09 Tom de Vries <tdevries@suse.de>
6256
6257 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
6258 CU-relative.
6259
2228ef77
XR
62602019-05-08 Joel Brobecker <brobecker@adacore.com>
6261
6262 * gdb.ada/frame_arg_lang.exp: New testcase.
6263 * gdb.ada/frame_arg_lang/bla.adb: New file.
6264 * gdb.ada/frame_arg_lang/pck.ads: New file.
6265 * gdb.ada/frame_arg_lang/pck.adb: New file.
6266 * gdb.ada/frame_arg_lang/foo.c: New file.
6267
80e55b13
TT
62682019-05-08 Tom Tromey <tromey@adacore.com>
6269
6270 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
6271
9d3421af
TT
62722019-05-08 Tom Tromey <tromey@adacore.com>
6273
6274 * gdb.base/ptype-offsets.exp: Update tests.
6275
844333e2
TT
62762019-05-08 Tom Tromey <tromey@adacore.com>
6277
6278 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
6279 cases.
6280 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
6281 "short".
6282
988915ee
TT
62832019-05-08 Tom Tromey <tromey@adacore.com>
6284
6285 * gdb.ada/vla.exp: New file.
6286 * gdb.ada/vla/vla.adb: New file.
6287
7bd55dac
TV
62882019-05-07 Tom de Vries <tdevries@suse.de>
6289
6290 * gdb.base/index-cache.exp (ls_host): Fix return statement.
6291
75f06e9d
TV
62922019-05-07 Tom de Vries <tdevries@suse.de>
6293
6294 PR testsuite/24522
6295 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
6296 section.
6297
77e7aaa4
TV
62982019-05-07 Tom de Vries <tdevries@suse.de>
6299
6300 PR testsuite/24522
6301 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
6302 .debug_aranges section.
6303
456ba0fa
TV
63042019-05-07 Tom de Vries <tdevries@suse.de>
6305
6306 PR testsuite/24159
6307 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
6308
5a56d6a6
TV
63092019-05-06 Tom de Vries <tdevries@suse.de>
6310
6311 * lib/gdb.exp (exec_has_index_section): New proc.
6312 * gdb.base/index-cache.exp: Handle case that binfile contains an index
6313 section.
6314
9d6d4be8
TV
63152019-05-04 Tom de Vries <tdevries@suse.de>
6316
6317 * boards/cc-with-debug-names.exp: New file.
6318
222a8d25
TT
63192019-05-03 Tom Tromey <tromey@adacore.com>
6320
6321 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
6322 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
6323 * gdb.ada/char_enum.exp: Add test.
6324
0fdfd794
TV
63252019-05-03 Tom de Vries <tdevries@suse.de>
6326
6327 * boards/cc-with-gdb-index.exp: New file.
6328
80062eb9
AB
63292019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
6330
6331 * gdb.rust/simple.exp: Add new test case.
6332 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
6333 (main): Initialise an instance of the new struct.
6334
4504bbde
TT
63352019-05-01 Tom Tromey <tromey@adacore.com>
6336
6337 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
6338 record.
6339 (NPR): New variable.
6340 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
6341 test.
6342
d48e62f4
TT
63432019-05-01 Tom Tromey <tromey@adacore.com>
6344
6345 * gdb.ada/packed_array_assign.exp: Add packed assignment
6346 regression test.
6347
f59f30f5
TV
63482019-05-01 Tom de Vries <tdevries@suse.de>
6349
6350 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
6351
b70bfc54
TV
63522019-05-01 Tom de Vries <tdevries@suse.de>
6353
6354 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
6355
15f18d14
AT
63562019-04-30 Ali Tamur <tamur@google.com>
6357
6358 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
6359
2ff0a947
TT
63602019-04-30 Tom Tromey <tromey@adacore.com>
6361
6362 * lib/ada.exp (find_ada_tool): New proc.
6363 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
6364 * gdb.ada/catch_ex_std.exp: New file.
6365 * gdb.ada/catch_ex_std/foo.adb: New file.
6366 * gdb.ada/catch_ex_std/some_package.adb: New file.
6367 * gdb.ada/catch_ex_std/some_package.ads: New file.
6368
a776957c
TT
63692019-04-30 Tom Tromey <tromey@adacore.com>
6370
6371 PR c++/24470:
6372 * gdb.cp/temargs.cc: Add test code from PR.
6373
bc68014d
AB
63742019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6375
6376 * gdb.fortran/vla-datatypes.exp: Update expected results.
6377 * gdb.fortran/vla-ptype.exp: Likewise.
6378 * gdb.fortran/vla-type.exp: Likewise.
6379 * gdb.fortran/vla-value.exp: Likewise.
6380
f1fdc960
AB
63812019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6382
6383 * gdb.fortran/ptr-indentation.exp: Update expected results.
6384 * gdb.fortran/ptype-on-functions.exp: Likewise.
6385 * gdb.fortran/vla-ptr-info.exp: Likewise.
6386 * gdb.fortran/vla-value.exp: Likewise.
6387
bf7a4de1
AB
63882019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6389
6390 * gdb.fortran/ptype-on-functions.exp: New file.
6391 * gdb.fortran/ptype-on-functions.f90: New file.
6392
bbe75b9d
AB
63932019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6394
6395 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
6396 case void string.
6397
1db455a7
AB
63982019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6399
6400 * gdb.fortran/complex.exp: Expand.
6401 * gdb.fortran/complex.f: Renamed to...
6402 * gdb.fortran/complex.f90: ...this, and extended to add more
6403 complex values.
6404
b6d03bb2
AB
64052019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6406
6407 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
6408 MODULO, CMPLX.
6409
2e62ab40
AB
64102019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
6411 Richard Bunt <richard.bunt@arm.com>
6412
6413 * gdb.base/max-depth.c: New file.
6414 * gdb.base/max-depth.exp: New file.
6415 * gdb.python/py-nested-maps.c: New file.
6416 * gdb.python/py-nested-maps.exp: New file.
6417 * gdb.python/py-nested-maps.py: New file.
6418 * gdb.python/py-format-string.exp (test_max_depth): New proc.
6419 (test_all_common): Call test_max_depth.
6420 * gdb.fortran/max-depth.exp: New file.
6421 * gdb.fortran/max-depth.f90: New file.
6422 * gdb.go/max-depth.exp: New file.
6423 * gdb.go/max-depth.go: New file.
6424 * gdb.modula2/max-depth.exp: New file.
6425 * gdb.modula2/max-depth.c: New file.
6426 * lib/gdb.exp (get_print_expr_at_depths): New proc.
6427
d2b584a5
TV
64282019-04-29 Tom de Vries <tdevries@suse.de>
6429
6430 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
6431
136afab8
PW
64322019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6433
6434 * gdb.base/callexit.exp: Test may-call-functions off.
6435
725cbb63
KS
64362019-04-25 Keith Seitz <keiths@redhat.com>
6437
6438 PR c++/24367
6439 * gdb.cp/meth-typedefs.cc (incomplete_struct)
6440 (another_incomplete_struct, test_incomplete): New definitions.
6441 (main): Use new definitions.
6442 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
6443 functions.
6444
701adfb0
PA
64452019-04-25 Ali Tamur <tamur@google.com>
6446
6447 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
6448
82433e3e
SDJ
64492019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
6450
6451 PR corefiles/11608
6452 PR corefiles/18187
6453 * gdb.base/coredump-filter-build-id.exp: New file.
6454
dd06d4d6
AH
64552019-04-25 Alan Hayward <alan.hayward@arm.com>
6456
e79be6e5
SM
6457 * Makefile.in: Pass through GDBSERVER_DEBUG.
6458 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
6459 (gdbserver,debug): Add board setting.
6460 * gdb.trace/tspeed.exp: Skip when debugging.
6461 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
6462 * lib/gdbserver-support.exp: Likewise
dd06d4d6 6463
1670072e
TT
64642019-04-24 Tom Tromey <tromey@adacore.com>
6465
6466 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
6467 Rust.
6468
a59240a4
TT
64692019-04-24 Tom Tromey <tromey@adacore.com>
6470
6471 * gdb.arch/amd64-eval.exp: Test bitfield return.
6472 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
6473 (class Foo) <return_bitfields>: New method.
6474 (main): Call it.
6475
b907456c
AB
64762019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
6477
6478 * gdb.cp/many-args.cc: New file.
6479 * gdb.cp/many-args.exp: New file.
6480
5c565afd
TV
64812019-04-23 Tom de Vries <tdevries@suse.de>
6482
6483 PR gdb/24433
6484 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
6485
ba22ff86
AH
64862019-04-23 Alan Hayward <alan.hayward@arm.com>
6487
6488 * gdb.trace/backtrace.exp: Use nopie flag.
6489 * gdb.trace/circ.exp: Likewise.
6490 * gdb.trace/collection.exp: Likewise.
6491 * gdb.trace/ftrace.exp: Likewise.
6492 * gdb.trace/mi-trace-unavailable.exp: Likewise.
6493 * gdb.trace/mi-traceframe-changed.exp: Likewise.
6494 * gdb.trace/qtro.exp: Likewise.
6495 * gdb.trace/read-memory.exp: Likewise.
6496 * gdb.trace/report.exp: Likewise.
6497 * gdb.trace/tfile.exp: Likewise.
6498 * gdb.trace/tfind.exp: Likewise.
6499 * gdb.trace/unavailable.exp: Likewise.
6500
7905fc35
PA
65012019-04-22 Pedro Alves <palves@redhat.com>
6502
6503 * gdb.base/solib-probes-nosharedlibrary.c,
6504 gdb.base/solib-probes-nosharedlibrary.exp: New files.
6505
8ecb59f8
TT
65062019-04-19 Tom Tromey <tromey@adacore.com>
6507
6508 * gdb.ada/ptype_union.c: New file.
6509 * gdb.ada/ptype_union.exp: New file.
6510
62160ec9
TT
65112019-04-19 Tom Tromey <tromey@adacore.com>
6512
6513 PR symtab/24423:
6514 * gdb.base/list0.h (foo): Add a control-l character.
6515
36cd4ba5
TV
65162019-04-18 Tom de Vries <tdevries@suse.de>
6517
6518 PR gdb/24433
6519 * boards/local-board.exp: Set sysroot to "".
6520
b73715df
TV
65212019-04-18 Tom de Vries <tdevries@suse.de>
6522 Pedro Alves <palves@redhat.com>
6523
6524 PR gdb/24454
6525 * gdb.threads/vfork-follow-child-exec.c: New file.
6526 * gdb.threads/vfork-follow-child-exec.exp: New file.
6527 * gdb.threads/vfork-follow-child-exit.c: New file.
6528 * gdb.threads/vfork-follow-child-exit.exp: New file.
6529
4aa866af
LS
65302019-04-15 Leszek Swirski <leszeks@google.com>
6531
6532 * gdb.arch/amd64-eval.cc: New file.
6533 * gdb.arch/amd64-eval.exp: New file.
6534
e5a1a79a
AH
65352019-04-11 Alan Hayward <alan.hayward@arm.com>
6536
6537 * gdb.server/sysroot.c: New test.
6538 * gdb.server/sysroot.exp: New file.
6539 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
6540 matching param.
6541
41077b66
AB
65422019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
6543
6544 * gdb.base/align.exp: Extend test to cover structures containing
6545 only static fields.
6546
c30391f8
TV
65472019-04-11 Tom de Vries <tdevries@suse.de>
6548
6549 * boards/cc-with-dwz-m.exp: New file.
6550 * boards/cc-with-dwz.exp: New file.
6551 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
6552
e242fd12
SM
65532019-04-09 Simon Marchi <simon.marchi@efficios.com>
6554
6555 * gdb.base/start-cpp.exp: New file.
6556 * gdb.base/start-cpp.cc: New file.
6557
2b0c8b01
KB
65582019-04-08 Kevin Buettner <kevinb@redhat.com>
6559
6560 * gdb.python/py-thrhandle.exp: Adjust tests to call
6561 thread_from_handle instead of thread_from_thread_handle.
6562
947210e5
KB
65632019-04-08 Kevin Buettner <kevinb@redhat.com>
6564
6565 * gdb.python/py-thrhandle.exp: Add tests for
6566 gdb.InferiorThread.handle.
6567
d7df6549
AB
65682019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
6569
6570 * gdb.python/py-function.exp: Check calling helper function from
6571 all languages.
6572 * lib/gdb.exp (gdb_supported_languages): New proc.
6573
8bdc1658
AB
65742019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
6575
6576 * gdb.base/complex-parts.c: New file.
6577 * gdb.base/complex-parts.exp: New file.
6578
05caa1d2
TT
65792019-04-01 Tom Tromey <tromey@adacore.com>
6580
6581 PR symtab/23331:
6582 * gdb.dwarf2/dw2-ranges-main.c: New file.
6583 * gdb.dwarf2/dw2-ranges-psym.c: New file.
6584 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
6585
7734102d
EZ
65862019-03-30 Simon Marchi <simark@simark.ca>
6587
6588 * gdb.base/default.exp: Add values for $_gdb_major and
6589 $_gdb_minor.
6590
188e1fa9
TT
65912019-03-29 Tom Tromey <tromey@adacore.com>
6592
6593 * gdb.base/help.exp: Tighten apropos regexp.
6594
2880242d
KS
65952019-03-29 Keith Seitz <keiths@redhat.com>
6596
6597 * gdb.fortran/array-bounds.exp: New file.
6598 * gdb.fortran/array-bounds.f90: New file.
6599
077cad8e
PW
66002019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6601
6602 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
6603
80047cfc
PW
66042019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6605
6606 * gdb.multi/hello.c (main): Increase alarm timer.
6607
f489207e
SL
66082019-03-28 Sandra Loosemore <sandra@codesourcery.com>
6609
6610 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
6611 factor when no hardware watchpoint support.
6612
c92df149
AH
66132019-03-28 Alan Hayward <alan.hayward@arm.com>
6614 Pedro Alves <palves@redhat.com>
6615
6616 * boards/local-board.exp: set sysroot to /.
6617
933aebfa
AH
66182019-03-27 Alan Hayward <alan.hayward@arm.com>
6619
6620 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
6621 in child.
6622
9f9aa852
AB
66232019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
6624
6625 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
6626 field.
6627 (make_container): Initialise new field.
6628 * gdb.python/py-prettyprint.exp: Add new tests.
6629 * gdb.python/py-prettyprint.py (class ContainerPrinter)
6630 <display_hint>: New method.
6631
3714a195
AB
66322019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
6633
6634 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
6635 gdb_continue_to_breakpoint more throughout this test.
6636 (run_lang_tests) Supply unique test names, and use
6637 gdb_test_no_output.
6638
18c77628
AB
66392019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
6640
6641 * gdb.base/finish-pretty.exp: Update expected results.
6642 * gdb.base/pretty-print.c: New file.
6643 * gdb.base/pretty-print.exp: New file.
6644
9a93502f
PA
66452019-03-25 Pedro Alves <palves@redhat.com>
6646
6647 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
6648 move comments outside list. Append '-i "" eof' section.
6649
968aa7ae
AH
66502019-03-22 Alan Hayward <alan.hayward@arm.com>
6651
34a7f2a4 6652 PR testsuite/25016
968aa7ae
AH
6653 * README: Add pie options.
6654 * gdb.base/break-interp.exp: Ensure pie is disabled.
6655 * gdb.base/dump.exp: Likewise.
6656 * lib/gdb.exp (gdb_compile): Add pie option.
6657
4c7d57e7
TT
66582019-03-19 Tom Tromey <tromey@adacore.com>
6659
6660 * gdb.mi/mi2-cli-display.c: New file.
6661 * gdb.mi/mi2-cli-display.exp: New file.
6662
bff8c71f
TT
66632019-03-18 Joel Brobecker <brobecker@adacore.com>
6664 Tom Tromey <tromey@adacore.com>
6665
6666 * gdb.ada/ptype_array/pck.adb: New file.
6667 * gdb.ada/ptype_array/pck.ads: New file.
6668 * gdb.ada/ptype_array/foo.adb: New file.
6669 * gdb.ada/ptype_array.exp: New file.
6670
d085f989
TT
66712019-03-14 Tom Tromey <tromey@adacore.com>
6672
6673 * gdb.base/style.exp: Add "set style sources" test.
6674
b4be1b06
SM
66752019-03-13 Simon Marchi <simon.marchi@ericsson.com>
6676
6677 * mi-breakpoint-location-ena-dis.exp: Rename to ...
6678 * mi-breakpoint-multiple-locations.exp: ... this.
6679 (make_breakpoints_pattern): New proc.
6680 (do_test): Add mi_version parameter, test -break-insert,
6681 -break-info and =breakpoint-created.
6682
7cde5fc2
AB
66832019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
6684
6685 * config/default.exp: Remove 'load_lib gdb.exp'.
6686 * config/monitor.exp: Likewise.
6687 * config/sid.exp: Likewise.
6688 * config/sim.exp: Likewise.
6689 * config/slite.exp: Likewise.
6690 * config/unix.exp: Likewise.
6691 * gdb.base/default.exp: Remove unhelpful comment.
6692
efbecbc1
AB
66932019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6694
6695 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
6696
0841c79a
AB
66972019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6698
6699 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
6700
4a270568
AB
67012019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6702
6703 * gdb.fortran/type-kinds.exp: Update expected results.
6704
067630bd
AB
67052019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6706
6707 * gdb.fortran/type-kinds.exp: Test new integer type kind.
6708
3be47f7a
AB
67092019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6710
6711 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
6712 function.
6713 (test_basic_parsing_of_type_kinds): Expand types tested.
6714 (test_parsing_invalid_type_kinds): New function.
6715
4d00f5d8
AB
67162019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6717
6718 * gdb.fortran/intrinsics.exp: New file.
6719 * gdb.fortran/intrinsics.f90: New file.
6720 * gdb.fortran/type-kinds.exp: New file.
6721
c8f91604
AB
67222019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6723
6724 * gdb.fortran/dot-ops.exp: New file.
6725
dd9f2c76
AB
67262019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6727
6728 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
6729 Check upper and lower case logical literals.
6730
84ec9724
AB
67312019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6732
6733 * gdb.fortran/types.exp (test_float_literal_types_accepted):
6734 Remove duplicate tests.
6735
c3734e09
AH
67362019-03-06 Alan Hayward <alan.hayward@arm.com>
6737
6738 * lib/gdb.exp (builtin_cd): rename of cd.
6739 (cd): Override builtin.
6740
aa3cfbda
RB
67412019-03-06 Richard Bunt <richard.bunt@arm.com>
6742
6743 * gdb.fortran/function-calls.exp: New file.
6744 * gdb.fortran/function-calls.f90: New test.
6745
7b63ad86
RB
67462019-03-04 Richard Bunt <richard.bunt@arm.com>
6747
6748 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
6749 on user program standard output.
6750 * gdb.fortran/short-circuit-argument-list.f90: Record function
6751 calls.
6752
01abb042
AH
67532019-02-28 Alan Hayward <alan.hayward@arm.com>
6754
c3734e09
AH
6755 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
6756 failure.
01abb042 6757
92137da0
RO
67582019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6759
6760 PR gdb/8527
6761 * gdb.base/interrupt-daemon-attach.c,
6762 gdb.base/interrupt-daemon-attach.exp: New test.
6763
5862844d
PA
67642019-02-27 Pedro Alves <palves@redhat.com>
6765
6766 * gdb.base/page.exp: Add tests for "set width/height -1".
6767
8ed25214
PA
67682019-02-27 Pedro Alves <palves@redhat.com>
6769
6770 * gdb.base/page.exp: Add tests for "set/show width/height" with
6771 "infinite" values.
6772
6c28e44a
TT
67732019-02-27 Tom Tromey <tromey@adacore.com>
6774
6775 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
6776 2.4.
6777 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
6778 workaround.
6779
bf9a735e
AB
67802019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
6781
6782 * gdb.base/align.exp: Extend to compile in both C and C++, and add
6783 tests for structs with static members.
6784
8791793c
TT
67852019-02-26 Tom Tromey <tromey@adacore.com>
6786
6787 * gdb.python/py-value.exp (test_value_from_buffer): Check for
6788 ValueError, not TypeError.
6789
bc2a507e
KB
67902019-02-26 Kevin Buettner <kevinb@redhat.com>
6791
6792 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
6793 call from main program.
6794
e0e7d3bd
JB
67952019-02-23 Joel Brobecker <brobecker@adacore.com>
6796
6797 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
6798 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
6799 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
6800 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
6801 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
6802
9600246d
KS
68032019-02-22 Keith Seitz <keiths@redhat.com>
6804
6805 PR symtab/23853
6806 * gdb.base/symlink-sourcefile.c: New file.
6807 * gdb.base/symlink-sourcefile.exp: New file.
6808
0c95f9ed
TT
68092019-02-20 Tom Tromey <tom@tromey.com>
6810
6811 * gdb.base/info_qt.exp: Update.
6812
6caa91b6
SM
68132019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
6814
6815 * gdb.base/source.exp: Move "error in sourced script" code to
6816 the end.
6817 * gdb.base/source-error.gdb: Move contents to
6818 source-error-1.gdb. Add new code to source source-error-1.gdb.
6819 * gdb.base/source-error-1.gdb: New file, from previous
6820 source-error.gdb.
6821
6506371f
TT
68222019-02-17 Tom Tromey <tom@tromey.com>
6823
6824 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
6825 for macro styling.
6826 * gdb.base/style.c (SOME_MACRO): New macro.
6827
a0087920
TT
68282019-02-17 Tom Tromey <tom@tromey.com>
6829
6830 * gdb.base/style.exp: Add line-wrapping tests.
6831 * gdb.base/page.exp: Add test for quitting during pagination.
6832
a2cd4f14
JB
68332019-02-17 Joel Brobecker <brobecker@adacore.com>
6834
6835 * gdb.ada/big_packed_array: New testcase.
6836 * gdb.ada/homonym.exp: Fix incorrect expected output for
6837 "break <homonym__get_value>" test.
6838
9d70ffbc
WP
68392019-02-13 Weimin Pan <weimin.pan@oracle.com>
6840
6841 PR breakpoints/21870
6842 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
6843 and prepare_for_testing. Add comment.
6844 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
6845 redundant cleanup call. Clean up comment.
6846
01c7ae81
WP
68472019-02-12 Weimin Pan <weimin.pan@oracle.com>
6848
6849 PR breakpoints/21870
6850 * gdb.arch/aarch64-dbreg-contents.exp: New file.
6851 * gdb.arch/aarch64-dbreg-contents.c: New file.
6852
aff29d1c
JB
68532019-02-10 Joel Brobecker <brobecker@adacore.com>
6854
6855 * gdb.ada/mi_ref_changeable: New testcase.
6856
df0da8a2
AH
68572019-02-07 Alan Hayward <alan.hayward@arm.com>
6858
6859 * gdb.base/attach.exp: Add double attach test.
6860
bd447abb
SM
68612019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
6862
6863 * lib/gdb.exp (default_gdb_start): Don't match pagination
6864 prompt.
6865 (gdb_init): Set stty_init.
6866
1dbc40b9
TT
68672019-01-27 Tom Tromey <tom@tromey.com>
6868
6869 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
6870 skip_python_tests.
6871
353229bf
AH
68722019-01-24 Alan Hayward <alan.hayward@arm.com>
6873
6874 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
6875 New structure.
6876 (struct struct_static_02_02): Likewise.
6877 (struct struct_static_02_03): Likewise.
6878 (struct struct_static_02_04): Likewise.
6879 (struct struct_static_04_01): Likewise.
6880 (struct struct_static_04_02): Likewise.
6881 (struct struct_static_04_03): Likewise.
6882 (struct struct_static_04_04): Likewise.
6883 (struct struct_static_06_01): Likewise.
6884 (struct struct_static_06_02): Likewise.
6885 (struct struct_static_06_03): Likewise.
6886 (struct struct_static_06_04): Likewise.
6887 (cmp_struct_static_02_01): Likewise.
6888 (cmp_struct_static_02_02): Likewise.
6889 (cmp_struct_static_02_03): Likewise.
6890 (cmp_struct_static_02_04): Likewise.
6891 (cmp_struct_static_04_01): Likewise.
6892 (cmp_struct_static_04_02): Likewise.
6893 (cmp_struct_static_04_03): Likewise.
6894 (cmp_struct_static_04_04): Likewise.
6895 (cmp_struct_static_06_01): Likewise.
6896 (cmp_struct_static_06_02): Likewise.
6897 (cmp_struct_static_06_03): Likewise.
6898 (cmp_struct_static_06_04): Likewise.
6899 (call_all): Test new structs.
6900 * gdb.base/infcall-nested-structs.exp: Likewise.
6901
73021deb
AH
69022019-01-21 Alan Hayward <alan.hayward@arm.com>
6903 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
6904
fc65c7db
AH
69052019-01-21 Alan Hayward <alan.hayward@arm.com>
6906 * gdb.base/stack-protector.c: New test.
6907 * gdb.base/stack-protector.exp: New file.
6908 * gdb.cp/ovldbreak.exp: Only allow a single break line.
6909 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
6910 option.
6911 (gdb_compile): Remove stack protector for GCC and prevent
6912 recursion.
6913
c24bdb02
KS
69142019-01-16 Keith Seitz <keiths@redhat.com>
6915
6916 PR gdb/23773
6917 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
6918
6f072a10
PFC
69192019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6920
6921 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
6922 aliases.
6923 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
6924 tests.
6925 * gdb.arch/powerpc-vector-regs.c: New file.
6926 * gdb.arch/powerpc-vector-regs.exp: New file.
6927
a7b8d682
PFC
69282019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6929
6930 * gdb.arch/altivec-regs.exp: Fix the list passed to
6931 gdb_expect_list when testing "info vector".
6932
6eb6fb67
AB
69332019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
6934
6935 * gdb.base/style.exp: Don't include path in testname.
6936
b56f80d8
KS
69372019-01-10 Keith Seitz <keiths@redhat.com>
6938
6939 PR gdb/23712
6940 PR symtab/23010
6941 * gdb.dwarf2/multidictionary.exp: New file.
6942
041be526
SM
69432019-01-09 Simon Marchi <simon.marchi@ericsson.com>
6944
6945 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
6946 (test_gnuv3_style_demangling): ... this.
6947 (test_lucid_style_demangling): Remove.
6948 (test_arm_style_demangling): Remove.
6949 (test_hp_style_demangling): Remove.
6950 (do_tests): Remove calls to the above.
6951
d820d0c3
AB
69522019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6953
6954 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
6955 case.
6956
f097f5ad
TT
69572019-01-06 Tom Tromey <tom@tromey.com>
6958
6959 PR gdb/28155:
6960 * gdb.dwarf2/typedef-void-finish.exp: New file.
6961
2cd8cc0b
TT
69622018-12-28 Tom Tromey <tom@tromey.com>
6963 Simon Marchi <simark@simark.ca>
6964
6965 * gdb.base/jit-exec.exp: New file.
6966 * gdb.base/jit-exec.c: New file.
6967 * gdb.base/jit-execd.c: New file.
6968
35fb8261
TT
69692018-12-28 Tom Tromey <tom@tromey.com>
6970
6971 * gdb.base/style.exp: Update test to check for address styling.
6972
47fd17cd
TT
69732018-12-28 Tom Tromey <tom@tromey.com>
6974
6975 * gdb.base/style.exp: Add test for styling of "Reading symbols"
6976 message.
6977
d47032b7
TT
69782018-12-28 Tom Tromey <tom@tromey.com>
6979
6980 * gdb.base/style.exp: Add test for version number styling.
6981
af79b68d
TT
69822018-12-28 Tom Tromey <tom@tromey.com>
6983
6984 * gdb.base/style.exp: Add test for print_address_symbolic.
6985
0bb296cb
TT
69862018-12-28 Tom Tromey <tom@tromey.com>
6987
6988 * gdb.base/style.exp: Add test for breakpoint setting.
6989
80ae2043
TT
69902018-12-28 Tom Tromey <tom@tromey.com>
6991
6992 * gdb.base/style.exp: Add test for variable names.
6993
cbe56571
TT
69942018-12-28 Tom Tromey <tom@tromey.com>
6995
6996 * gdb.base/style.exp: New file.
6997 * gdb.base/style.c: New file.
6998
9162a27c
TT
69992018-12-28 Tom Tromey <tom@tromey.com>
7000
7001 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
7002 "dumb".
7003 * gdb.base/readline.exp (operate_and_get_next): Save and restore
7004 the TERM environment variable.
7005
bc543c90
TT
70062018-12-27 Tom Tromey <tom@tromey.com>
7007
7008 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
7009 pagination test.
7010
6f0ffe50
AB
70112018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
7012
7013 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
7014 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
7015
b5a1e557
PW
70162018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7017
7018 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
7019 Filename a.adb changed to bp_fun_addr.adb.
7020 gdb.ada/bp_fun_addr.exp: Update test accordingly.
7021
6e8b1ab2
JV
70222018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
7023
7024 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
7025 non-PIE executables.
7026 * README: Mention the gdb,nopie_flag board setting.
7027 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
7028 non-PIE executable.
7029 * gdb.arch/amd64-entry-value.exp: Likewise.
7030 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
7031 * gdb.arch/i386-float.exp: Likewise.
7032 * gdb.arch/i386-signal.exp: Likewise.
7033 * gdb.mi/mi-reg-undefined.exp: Likewise.
7034
d00a27c5
PM
70352018-12-21 Paul Marechal <paul.marechal@ericsson.com>
7036
7037 PR gdb/23974
7038 * gdb.base/info-os.exp: Check return for unknown "info os" type.
7039
161d081c
PW
70402018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7041
7042 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
7043 Update order of results accordingly.
7044
b001de23
AB
70452018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
7046
7047 * gdb.base/annota1.exp: Update a test regexp.
7048
99e1a184
AB
70492018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7050
7051 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
7052
7a81c1e2
PW
70532018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7054
7055 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
7056 (reuse_time): Initialize to REUSE_TIME_CAP.
7057 (check_rc): New function.
7058 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
7059 Check pthread_create rc.
7060 (spawner_thread_func): Check pthread_create and pthread_join rc.
7061
73e8dc90
PA
70622018-12-08 Pedro Alves <palves@redhat.com>
7063
7064 * gdb.base/list.exp (test_forward_search): Rename to ...
7065 (test_forward_reverse_search): ... this. Also test reverse-search
7066 and the forward-search alias.
7067
13f2ed32
AB
70682018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
7069
7070 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
7071 local timeout variable before return, and remove all local timeout
7072 variable entirely.
7073 (gdb_load): Likewise.
7074
64d27cfc
TV
70752018-12-01 Tom de Vries <tdevries@suse.de>
7076
7077 * gdb.base/gdb-caching-proc.exp: New file.
7078
f63c03b4
SDJ
70792018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
7080
7081 * Makefile.in (TIMESTAMP): New variable.
7082 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
7083 command.
7084 (check-single-racy): Likewise.
7085 (check/%.exp): Likewise.
7086 (check-racy/%.exp): Likewise.
7087 (workers/%.worker): Likewise.
7088 (build-perf): Likewise.
7089 (check-perf): Likewise.
7090 * README: Describe new "TS" and "TS_FORMAT" variables.
7091 * print-ts.py: New file.
7092
1c97054b
BF
70932018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
7094
7095 PR python/23714
7096 * gdb.python/python.exp: Test command repetition after
7097 gdb.execute.
7098
1871a62d
AB
70992018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
7100
7101 * gdb.opt/inline-break.exp: Add test that info breakpoint output
7102 is correctly aligned.
7103
fb5e1ed9
PW
71042018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7105
7106 * gdb.ada/info_auto_lang.exp: New testcase.
7107 * gdb.ada/info_auto_lang/global_pack.ads: New file.
7108 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
7109 * gdb.ada/info_auto_lang/some_c.c: New file.
7110
43d397ca
PW
71112018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7112
7113 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
7114 FUNC_lang language syntax.
7115
beddd671
PW
71162018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7117
7118 * gdb.base/info_minsym.c: New file.
7119 * gdb.base/info_minsym.exp: New file.
7120
73fc52c4
TT
71212018-11-19 Tom Tromey <tom@tromey.com>
7122
7123 PR rust/23625:
7124 * gdb.rust/simple.exp: Add ptype test. Update expected output.
7125 * gdb.rust/expr.exp: Update expected output. Change one test.
7126
994b876a
TT
71272018-11-19 Tom Tromey <tom@tromey.com>
7128
7129 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
7130
6769f276
PA
71312018-11-19 Pedro Alves <palves@redhat.com>
7132
7133 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
7134 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
7135 see the expected warning.
7136
38a72da0
AH
71372018-11-16 Alan Hayward <alan.hayward@arm.com>
7138
7139 PR gdb/22736:
7140 * gdb.cp/infcall-nodebug-lib.c: New test.
7141 * gdb.cp/infcall-nodebug-main.c: New test.
7142 * gdb.cp/infcall-nodebug.exp: New file.
7143
53a89d6e
SM
71442018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
7145
7146 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
7147 completer tests.
7148
9325300d
TV
71492018-11-09 Tom de Vries <tdevries@suse.de>
7150
7151 * gdb.base/msym-lang.c: New test.
7152 * gdb.base/msym-lang.exp: New file.
7153 * gdb.base/msym-lang-main.c: New test.
7154
20f0d60d
TT
71552018-11-08 Tom Tromey <tom@tromey.com>
7156
7157 PR gdb/23555:
7158 PR gdb/23838:
7159 * gdb.base/warning.exp: New file.
7160
b5420128
JB
71612018-11-08 Jan Beulich <jbeulich@suse.com>
7162
7163 * testsuite/gdb.arch/i386-avx512.c,
7164 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
7165
cd115d61
AB
71662018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
7167
7168 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
7169 point hardware.
7170
35ee2dc2
AB
71712018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
7172
7173 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
7174 * gdb.dwarf2/missing-type-name.exp: New file.
7175
31aceee8
TV
71762018-11-06 Tom de Vries <tdevries@suse.de>
7177
7178 * gdb.base/many-headers.c: New test.
7179 * gdb.base/many-headers.exp: New file.
7180
109be305
JW
71812018-11-06 Jim Wilson <jimw@sifive.com>
7182
7183 * gdb.base/code_elim.exp: For riscv, set additional_flags
7184 to include -msmall-data-limit=0.
7185
e2b7af72
JB
71862018-11-01 Joel Brobecker <brobecker@adacore.com>
7187
7188 * gdb.ada/watch_minus_l: New testcase.
7189
cdcda965
SM
71902018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
7191
7192 * gdb.arch/aix-sighandle.c: New file.
7193 * gdb.arch/aix-sighandle.exp: New file.
7194
92dcebf3
AB
71952018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
7196
7197 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
7198 registers being unions.
7199
68b9ac18
TV
72002018-10-31 Tom de Vries <tdevries@suse.de>
7201
7202 * lib/valgrind.exp: New file.
7203 (vgdb_start, vgdb_stop): New procs, factored out of ...
7204 * gdb.base/valgrind-bt.exp: ... here, ...
7205 * gdb.base/valgrind-disp-step.exp: ... here and ...
7206 * gdb.base/valgrind-infcall.exp: ... here.
7207
1443936e
TV
72082018-10-31 Tom de Vries <tdevries@suse.de>
7209
7210 * lib/gdb.exp (get_valueof): Don't output read value in test name.
7211
eb77c9df
AB
72122018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
7213
7214 * gdb.dwarf2/void-type.c: New file.
7215 * gdb.dwarf2/void-type.exp: New file.
7216
82b5e646
PW
72172018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7218
7219 * gdb.base/info_qt.c: New file.
7220 * gdb.base/info_qt.exp: New file.
7221
8d619c01
EBM
72222018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7223
7224 * gdb.arch/powerpc-htm-regs.c: New file.
7225 * gdb.arch/powerpc-htm-regs.exp: New file.
7226
f2cf6173
EBM
72272018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7228
7229 * gdb.arch/powerpc-tar.c: New file.
7230 * gdb.arch/powerpc-tar.exp: New file.
7231
7ca18ed6
EBM
72322018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7233
7234 * gdb.arch/powerpc-ppr-dscr.c: New file.
7235 * gdb.arch/powerpc-ppr-dscr.exp: New file.
7236
bfcc0eba
TV
72372018-10-25 Tom de Vries <tdevries@suse.de>
7238
7239 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
7240
fe1a5cad
TV
72412018-10-24 Tom de Vries <tdevries@suse.de>
7242
7243 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
7244 longer exists error.
7245
a76dc3b7
TV
72462018-10-24 Tom de Vries <tdevries@suse.de>
7247
7248 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
7249
4df46df7
TV
72502018-10-24 Tom de Vries <tdevries@suse.de>
7251
7252 * gdb.base/valgrind-db-attach.exp: Handle removed support for
7253 --db-attach in valgrind.
7254
0dbfcfff
AB
72552018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
7256
7257 * gdb.arch/riscv-reg-aliases.c: New file.
7258 * gdb.arch/riscv-reg-aliases.exp: New file.
7259
b04480b1
AH
72602018-10-19 Alan Hayward <alan.hayward@arm.com>
7261
7262 * gdb.python/py-cmd.exp: Check for gdb_prompt.
7263
2c6ac8d7
AH
72642018-10-19 Alan Hayward <alan.hayward@arm.com>
7265
7266 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
7267
2bc69f25
AH
72682018-10-19 Alan Hayward <alan.hayward@arm.com>
7269
7270 * gdb.cp/ovldbreak.exp: Fix regexps.
7271
1f1ae3a3
AH
72722018-10-19 Alan Hayward <alan.hayward@arm.com>
7273
7274 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
7275
94c18618
SDJ
72762018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
7277
7278 PR cli/23785
7279 * gdb.base/restore.exp: New test to check if "restore" with an
7280 invalid file doesn't segfault.
7281
812cd6eb
TV
72822018-10-18 Tom de Vries <tdevries@suse.de>
7283
7284 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
7285 * gdb.ada/excep_handle.exp: Same.
7286 * gdb.ada/mi_string_access.exp: Same.
7287 * gdb.ada/mi_var_union.exp: Same.
7288 * gdb.arch/arc-analyze-prologue.exp: Same.
7289 * gdb.arch/arc-decode-insn.exp: Same.
7290 * gdb.base/readnever.exp: Same.
7291 * gdb.fortran/printing-types.exp: Same.
7292 * gdb.guile/scm-lazy-string.exp: Same.
7293
c4b90788
TV
72942018-10-16 Tom de Vries <tdevries@suse.de>
7295
7296 PR gdb/23730
7297 * gdb.base/catch-follow-exec.c: Add copyright notice.
7298 * gdb.base/catch-follow-exec.exp: Rewrite to use
7299 gdb_spawn_with_cmdline_opts. Require gdb-native.
7300
8bca2978
SL
73012018-10-12 Sandra Loosemore <sandra@codesourcery.com>
7302
7303 * gdb.trace/actions-changed.exp: Check for arch support.
7304 * gdb.trace/actions.exp: Likewise.
7305 * gdb.trace/ax.exp: Likewise.
7306 * gdb.trace/backtrace.exp: Likewise.
7307 * gdb.trace/change-loc.exp: Likewise.
7308 * gdb.trace/deltrace.exp: Likewise.
7309 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
7310 * gdb.trace/ftrace.exp: Likewise.
7311 * gdb.trace/infotrace.exp: Check for arch support.
7312 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
7313 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
7314 * gdb.trace/mi-tsv-changed.exp: Likewise.
7315 * gdb.trace/packetlen.exp: Likewise.
7316 * gdb.trace/passc-dyn.exp: Likewise.
7317 * gdb.trace/passcount.exp: Likewise.
7318 * gdb.trace/pending.exp: Likewise.
7319 * gdb.trace/range-stepping.exp: Check for shlib support.
7320 * gdb.trace/report.exp: Check for arch support.
7321 * gdb.trace/save-trace.exp: Likewise.
7322 * gdb.trace/signal.exp: Check for signal support.
7323 * gdb.trace/tfind.exp: Check for arch support.
7324 * gdb.trace/trace-break.exp: Check for arch and shlib support.
7325 * gdb.trace/trace-common.h: Add comment.
7326 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
7327 * gdb.trace/trace-enable-disable.exp: Likewise.
7328 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
7329 * gdb.trace/tracecmd.exp: Check for arch support.
7330 * gdb.trace/tspeed.exp: Check for shlib and target support.
7331 * gdb.trace/tstatus.exp: Check for arch support.
7332 * gdb.trace/tsv.exp: Likewise.
7333 * gdb.trace/while-dyn.exp: Likewise.
7334 * gdb.trace/while-stepping.exp: Likewise.
7335 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
7336
f9c49bff
SM
73372018-10-12 Simon Marchi <simon.marchi@ericsson.com>
7338
7339 * gdb.trace/tspeed.exp: Remove nowarnings.
7340 (prepare_for_trace_test): Declare "global ipalib".
7341 * gdb.trace/tspeed.c: Include unistd.h.
7342 (main): Remove superfluous printf argument.
7343
d4330bde
SL
73442018-10-11 Sandra Loosemore <sandra@codesourcery.com>
7345
7346 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
7347 directory prefix on the filename.
7348
8ecfd7bd
SDJ
73492018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
7350
7351 * gdb.gdb/unittest.exp: Update expected message informing that
7352 selftests have been disabled.
7353 * gdb.server/unittest.exp: Likewise.
7354
58bbcd02
TV
73552018-10-09 Tom de Vries <tdevries@suse.de>
7356
7357 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
7358 with runto_main.
7359
9f6b697b
WP
73602018-10-08 Weimin Pan <weimin.pan@oracle.com>
7361
7362 PR c++/16841
7363 * gdb.cp/virtbase2.cc: New file.
7364 * gdb.cp/virtbase2.exp: New file.
7365
add5ded5
TT
73662018-10-06 Tom Tromey <tom@tromey.com>
7367
7368 PR python/19399:
7369 * gdb.python/py-inferior.exp: Add architecture test.
7370
f9e48344
TT
73712018-10-06 Tom Tromey <tom@tromey.com>
7372
7373 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
7374 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
7375
2a8be203
TT
73762018-10-06 Tom Tromey <tom@tromey.com>
7377
7378 * gdb.python/py-breakpoint.exp (check_last_event): Check location
7379 of a "throw" catchpoint.
7380
e04caa70
SDJ
73812018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
7382
7383 * gdb.base/info-proc.exp: Update string expected from "help info
7384 proc".
7385
5ca8c39f
TT
73862018-10-04 Tom Tromey <tom@tromey.com>
7387
7388 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
7389 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
7390 (test_initial_complaints, test_empty_complaints): Update.
7391 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
7392
3453e7e4
TT
73932018-10-04 Tom Tromey <tom@tromey.com>
7394
7395 PR cli/19551:
7396 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
7397 * lib/gdb.exp (gdb_file_cmd): Update.
7398 * gdb.stabs/weird.exp (print_weird_var): Update.
7399 * gdb.server/solib-list.exp: Update.
7400 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
7401 * gdb.mi/mi-cli.exp: Update.
7402 * gdb.linespec/linespec.exp: Update.
7403 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
7404 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
7405 * gdb.cp/cp-relocate.exp: Update.
7406 * gdb.base/sym-file.exp: Update.
7407 * gdb.base/relocate.exp: Update.
7408 * gdb.base/readnever.exp: Update.
7409 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
7410 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
7411 * gdb.base/dbx.exp (gdb_file_cmd): Update.
7412 * gdb.base/code_elim.exp: Update.
7413 * gdb.base/break-unload-file.exp (test_break): Update.
7414 * gdb.base/break-interp.exp (test_attach_gdb): Update.
7415 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
7416 Update.
7417 * gdb.base/attach.exp (do_attach_tests): Update.
7418 * gdb.base/sepdebug.exp: Update.
7419 * gdb.python/py-section-script.exp: Update.
7420
6afcf761
TT
74212018-10-04 Tom Tromey <tom@tromey.com>
7422
7423 PR cli/22234:
7424 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
7425 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
7426 output.
7427
fef1b293
TT
74282018-10-04 Tom Tromey <tom@tromey.com>
7429
7430 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
7431 set width and height to 0.
7432 (test_command_line_attach_run): Use -quiet.
7433
ca98345e
SL
74342018-10-03 Sandra Loosemore <sandra@codesourcery.com>
7435
7436 * lib/gdb.exp (skip_ifunc_tests): New.
7437 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
7438 other compile failures.
7439 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
7440
ff34e6ae
SM
74412018-10-01 Simon Marchi <simon.marchi@ericsson.com>
7442
7443 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
7444 is_amd64_regs_target.
7445
6bb8890e
AH
74462018-10-01 Alan Hayward <alan.hayward@arm.com>
7447
7448 * gdb.arch/aarch64-sighandler-regs.c: New test.
7449 * gdb.arch/aarch64-sighandler-regs.exp: New file.
7450 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
7451
224d30d3
MM
74522018-10-01 Markus Metzger <markus.t.metzger@intel.com>
7453
7454 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
7455 assembly.
7456
f67ffa6a
AB
74572018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
7458
7459 * gdb.base/frame-selection.exp: New file.
7460 * gdb.base/frame-selection.c: New file.
7461
9fc3183f
AH
74622018-09-27 Alan Hayward <alan.hayward@arm.com>
7463
7464 * gdb.threads/check-libthread-db.c (thread_routine): Use a
7465 pthread barrier.
7466 (main): Likewise.
7467
d354055e
AB
74682018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
7469
7470 * gdb.base/large-frame-1.c: New file.
7471 * gdb.base/large-frame-2.c: New file.
7472 * gdb.base/large-frame.exp: New file.
7473 * gdb.base/large-frame.h: New file.
7474
db727370
JL
74752018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
7476
7477 PR gdb/20948
7478 * gdb.base/write_mem.exp: New test.
7479 * gdb.base/write_mem.c: Likewise.
7480
ae778caf
TT
74812018-09-23 Tom Tromey <tom@tromey.com>
7482
7483 PR python/18852:
7484 * gdb.python/py-parameter.exp: Add test for parameter that throws
7485 on "set".
7486
fd3ba736
TT
74872018-09-23 Tom Tromey <tom@tromey.com>
7488
7489 PR python/17284:
7490 * gdb.python/py-template.exp (test_template_arg): Add test for
7491 negative template argument number.
7492
39a24317
TT
74932018-09-23 Tom Tromey <tom@tromey.com>
7494
7495 PR python/14062:
7496 * gdb.python/python.exp: Add test for post_event error.
7497
f5769a2c
TT
74982018-09-23 Tom Tromey <tom@tromey.com>
7499
7500 PR python/18170:
7501 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
7502 convert pointers to int and long.
7503
1c1e54f6
TT
75042018-09-23 Tom Tromey <tom@tromey.com>
7505
7506 PR python/20126:
7507 * gdb.python/py-value.exp (test_value_numeric_ops): Add
7508 signed-ness conversion tests.
7509
fb4fa946
TT
75102018-09-23 Tom Tromey <tom@tromey.com>
7511
7512 PR python/18352;
7513 * gdb.python/py-value.exp (test_float_conversion): New proc.
7514 Use it.
7515
a466edac
HAQ
75162018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
7517
7518 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
7519
4ee9b0c5
SL
75202018-09-18 Sandra Loosemore <sandra@codesourcery.com>
7521
7522 * gdb.base/complete-empty.exp: Skip tab-completion tests if
7523 no readline.
7524 * gdb.base/utf8-identifiers.exp: Likewise.
7525 * gdb.cp/cpcompletion.exp: Likewise.
7526 * gdb.linespec/cpcompletion.exp: Likewise.
7527 * gdb.linespec/cpls-abi-tag.exp: Likewise.
7528 * gdb.linespec/cpls-ops.exp: Likewise.
7529
23be8da7
RB
75302018-09-19 Richard Bunt <richard.bunt@arm.com>
7531 Chris January <chris.january@arm.com>
7532
7533 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
7534 * gdb.fortran/short-circuit-argument-list.exp: New file.
7535 * gdb.fortran/short-circuit-argument-list.f90: New test.
7536
5031d0ae
SDJ
75372018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7538
7539 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
7540 "arch=" keyword when executing "-stack-list-frames".
7541
b4c0d1a4
SDJ
75422018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7543
7544 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
7545 "arch=" keyword when executing "-stack-list-frames".
7546
7a6d2b45
SDJ
75472018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7548
7549 * gdb.ada/complete.exp: Expect for "@" when doing "complete
7550 break ada".
7551
8588b356
SM
75522018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
7553
7554 PR python/23669
7555 * gdb.python/python.exp: Test gdb.execute("show commands").
7556
65e65158
TT
75572018-09-16 Tom Tromey <tom@tromey.com>
7558
7559 * gdb.base/new-ui.exp (do_execution_tests): Update.
7560 * gdb.base/dbx.exp (test_breakpoints): Update.
7561
bf326452
AH
75622018-09-14 Alan Hayward <alan.hayward@arm.com>
7563
7564 * lib/gdb.exp (gdb_simple_compile): Add proc.
7565 (is_elf_target): Use gdb_simple_compile.
7566 (skip_altivec_tests): Likewise.
7567 (skip_vsx_tests): Likewise.
7568 (skip_tsx_tests): Likewise.
7569 (skip_btrace_tests): Likewise.
7570 (skip_btrace_pt_tests): Likewise.
7571 (gdb_can_simple_compile): Likewise.
7572 (gdb_has_argv0): Likewise.
7573 (gdb_target_symbol_prefix): Likewise.
7574 (target_supports_scheduler_locking): Likewise.
7575
2361b0fb
TT
75762018-09-13 Tom Tromey <tom@tromey.com>
7577
7578 * Makefile.in (TAGS): Recognize proc_with_prefix and
7579 gdb_caching_proc.
7580
0ae1a321
SM
75812018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7582
7583 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
7584 method.
7585
a40bf0c2
SM
75862018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7587
7588 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
7589 and a few other Inferior properties when the Inferior is no
7590 longer valid.
7591
4a3fe98f
TT
75922018-09-13 Tom Tromey <tom@tromey.com>
7593
7594 PR rust/23650:
7595 * gdb.rust/simple.exp: Add test for enum field access error.
7596
098b2108
TT
75972018-09-13 Tom Tromey <tom@tromey.com>
7598
7599 PR rust/23626:
7600 * gdb.rust/simple.rs (EmptyEnum): New type.
7601 (main): Use it.
7602 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
7603
1256af7d
SM
76042018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7605
7606 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
7607 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
7608 * gdb.python/py-symtab.exp: Update test printing an objfile.
7609
4aa8e6c2
SM
76102018-09-12 Simon Marchi <simon.marchi@ericsson.com>
7611
7612 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
7613 object.
7614
c221b2f7
AH
76152018-09-12 Alan Hayward <alan.hayward@arm.com>
7616
7617 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
7618 (support_complex_tests): Use gdb_can_simple_compile.
7619 (is_ilp32_target): Likewise.
7620 (is_lp64_target): Likewise.
7621 (is_64_target): Likewise.
7622 (is_amd64_regs_target): Likewise.
7623 (is_aarch32_target): Likewise.
7624 (gdb_int128_helper): Likewise.
7625
6f1107b5
JK
76262018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7627
7628 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
7629
1f5d1570
JG
76302018-09-10 Jerome Guitton <guitton@adacore.com>
7631
7632 * gdb.ada/same_component_name: Add test for case of tagged record
7633 with variable-length fields.
7634
cc330e39
XR
76352018-09-10 Xavier Roirand <roirand@adacore.com>
7636
7637 * gdb.ada/access_to_unbounded_array.exp: New testcase.
7638 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
7639 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
7640 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
7641
b9c50e9a
XR
76422018-09-10 Xavier Roirand <roirand@adacore.com>
7643
7644 * gdb.ada/mi_string_access.exp: New testcase.
7645 * gdb.ada/mi_string_access/bar.adb: New file.
7646 * gdb.ada/mi_string_access/pck.adb: New file.
7647 * gdb.ada/mi_string_access/pck.asd: New file.
7648
2963898f
XR
76492018-09-10 Xavier Roirand <roirand@adacore.com>
7650
7651 * gdb.ada/mi_var_union.exp: New testcase.
7652 * gdb.ada/mi_var_union/bar.adb: New file.
7653 * gdb.ada/mi_var_union/pck.adb: New file.
7654 * gdb.ada/mi_var_union/pck.asd: New file.
7655
1aac008f
TT
76562018-09-08 Tom Tromey <tom@tromey.com>
7657
7658 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
7659
332cf4c9
TT
76602018-09-08 Tom Tromey <tom@tromey.com>
7661
7662 PR python/16047:
7663 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
7664 (register_pretty_printers): Register new printer.
7665 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
7666 test.
7667 * gdb.python/py-prettyprint.c (int_type3): New typedef.
7668 (an_int_type3): New global.
7669
424da6cf
JB
76702018-09-08 Joel Brobecker <brobecker@adacore.com>
7671
7672 * gdb.ada/expr_with_funcall: New testcase.
7673
2a62dfa9
JB
76742018-09-08 Joel Brobecker <brobecker@adacore.com>
7675
7676 * gdb.ada/packed_array_assign: New testcase.
7677
96b6697f
AB
76782018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
7679
7680 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
7681 names, and add test prefixes to make test names unique.
7682
e4a62c65
TV
76832018-09-05 Tom de Vries <tdevries@suse.de>
7684
7685 * gdb.dwarf2/varval.exp: Add test.
7686
dd083ee2
GB
76872018-09-04 Gary Benson <gbenson@redhat.com>
7688
7689 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
7690 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
7691
aef9346c
TT
76922018-08-31 Tom Tromey <tom@tromey.com>
7693
7694 * gdb.rust/simple.rs: Rename second variable "v".
7695
c67f2e15
AB
76962018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
7697
7698 * gdb.base/funcargs.c (use_a): New function.
7699 (recurse): Call use_a.
7700
078a0207
KS
77012018-08-29 Keith Seitz <keiths@redhat.com>
7702
7703 * gdb.compile/compile-cplus-anonymous.cc: New file.
7704 * gdb.compile/compile-cplus-anonymous.exp: New file.
7705 * gdb.compile/compile-cplus-array-decay.cc: New file.
7706 * gdb.compile/compile-cplus-array-decay.exp: New file.
7707 * gdb.compile/compile-cplus-inherit.cc: New file.
7708 * gdb.compile/compile-cplus-inherit.exp: New file.
7709 * gdb.compile/compile-cplus-member.cc: New file.
7710 * gdb.compile/compile-cplus-member.exp: New file.
7711 * gdb.compile/compile-cplus-method.cc: New file.
7712 * gdb.compile/compile-cplus-method.exp: New file.
7713 * gdb.compile/compile-cplus-mod.c: "New" file.
7714 * gdb.compile/compile-cplus-namespace.cc: New file.
7715 * gdb.compile/compile-cplus-namespace.exp: New file.
7716 * gdb.compile/compile-cplus-nested.cc: New file.
7717 * gdb.compile/compile-cplus-nested.exp: New file.
7718 * gdb.compile/compile-cplus-print.c: "New" file.
7719 * gdb.compile/compile-cplus-print.exp: "New" file.
7720 * gdb.compile/compile-cplus-virtual.cc: New file.
7721 * gdb.compile/compile-cplus-virtual.exp: New file.
7722 * gdb.compile/compile-cplus.c: "New" file.
7723 * gdb.compile/compile-cplus.exp: "New" file.
7724 * lib/compile-support.exp: New file.
7725
b0f492b9
GB
77262018-08-16 Gary Benson <gbenson@redhat.com>
7727
7728 PR gdb/13000:
7729 * gdb.base/batch-exit-status.exp: New file.
7730 * gdb.base/batch-exit-status.good-commands: Likewise.
7731 * gdb.base/batch-exit-status.bad-commands: Likewise.
7732
36eb4c5f
AH
77332018-08-29 Alan Hayward <alan.hayward@arm.com>
7734
7735 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
7736 (struct struct02): Likewise.
7737 (struct struct03): Likewise.
7738 (struct struct04): Likewise.
7739 (struct struct_01_01): New struct.
7740 (struct struct_01_02): Likewise.
7741 (struct struct_01_03): Likewise.
7742 (struct struct_01_04): Likewise.
7743 (struct struct_02_01): Likewise.
7744 (struct struct_02_02): Likewise.
7745 (struct struct_02_03): Likewise.
7746 (struct struct_02_04): Likewise.
7747 (struct struct_04_01): Likewise.
7748 (struct struct_04_02): Likewise.
7749 (struct struct_04_03): Likewise.
7750 (struct struct_04_04): Likewise.
7751 (struct struct_05_01): Likewise.
7752 (struct struct_05_02): Likewise.
7753 (struct struct_05_03): Likewise.
7754 (struct struct_05_04): Likewise.
7755 (cmp_struct01): Remove function.
7756 (cmp_struct02): Likewise.
7757 (cmp_struct03): Likewise.
7758 (cmp_struct04): Likewise.
7759 (cmp_struct_01_01): Add Function.
7760 (cmp_struct_01_02): Likewise.
7761 (cmp_struct_01_03): Likewise.
7762 (cmp_struct_01_04): Likewise.
7763 (cmp_struct_02_01): Likewise.
7764 (cmp_struct_02_02): Likewise.
7765 (cmp_struct_02_03): Likewise.
7766 (cmp_struct_02_04): Likewise.
7767 (cmp_struct_04_01): Likewise.
7768 (cmp_struct_04_02): Likewise.
7769 (cmp_struct_04_03): Likewise.
7770 (cmp_struct_04_04): Likewise.
7771 (cmp_struct_05_01): Likewise.
7772 (cmp_struct_05_02): Likewise.
7773 (cmp_struct_05_03): Likewise.
7774 (cmp_struct_05_04): Likewise.
7775 (call_all): Add new structs.
7776 * gdb.base/infcall-nested-structs.exp: Likewise.
7777
3bf9c013
JV
77782018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
7779
7780 * gdb.python/py-framefilter-mi.exp: Update regexp to
7781 check for "arch" field in frame output.
7782
450d1e88
KB
77832018-08-23 Kevin Buettner <kevinb@redhat.com>
7784
7785 * gdb.dwarf2/dw2-ranges-func.c: New file.
7786 * gdb.dwarf2/dw2-ranges-func.exp: New file.
7787
ae739fe7
SM
77882018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
7789
7790 * gdb.base/term.exp: Compare terminal settings with values from
7791 the inferior.
7792 * gdb.base/term.c: Get and set terminal settings.
7793
6d52907e
JV
77942018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
7795
7796 * lib/mi-support.exp (mi_expect_stop): Update regexp to
7797 accommodate new "arch" field in frame output.
7798 * gdb.mi/mi-return.exp: Likewise.
7799 * gdb.mi/mi-stack.exp: Likewise.
7800 * gdb.mi/mi-syn-frame.exp: Likewise.
7801 * gdb.mi/user-selected-context-sync.exp: Likewise.
7802
be2d111a
MS
78032018-08-19 Michael Spang <spang@google.com>
7804
7805 PR gdb/11786
7806 * gdb.base/gcore-tls-pie.c: New file.
7807 * gdb.base/gcore-tls-pie.exp: New file.
7808
ae3a7c47
KB
78092018-08-18 Kevin Buettner <kevinb@redhat.com>
7810
7811 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
7812 * gdb.dwarf2/varval.c: New file.
7813 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 7814
2ecae92e
AH
78152018-08-17 Alan Hayward <alan.hayward@arm.com>
7816
7817 PR gdb/18931
7818 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
7819
c1854f1d
KS
78202018-08-16 Keith Seitz <keiths@redhat.com>
7821
7822 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
7823 tests expected to pass.
7824
26fb3983
JV
78252018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
7826
7827 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
7828 -data-disassemble -a.
7829 (test_disassembly_bogus_args): Likewise.
7830
67943c00
AB
78312018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
7832
7833 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
7834
5ff2bbae
AB
78352018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
7836
7837 * gdb.base/vla-optimized-out.exp: Add new test.
7838
e5bbcd0f
AB
78392018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
7840
7841 * gdb.base/vla-optimized-out-o3.exp: Delete.
7842 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
7843 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
7844 deleted tests.
7845
9d4a934c
AB
78462018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
7847
7848 PR gdb/18050:
7849 * gdb.server/extended-remote-restart.c: New file.
7850 * gdb.server/extended-remote-restart.exp: New file.
7851
045cf012
SM
78522018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
7853
7854 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
7855 "set variable index = 42".
7856
87d6a7aa
SM
78572018-08-07 Simon Marchi <simon.marchi@ericsson.com>
7858
7859 * boards/index-cache-gdb.exp: New file.
7860 * gdb.dwarf2/index-cache.exp: New file.
7861 * gdb.dwarf2/index-cache.c: New file.
7862 * gdb.base/maint.exp: Check if we are using the index cache.
7863
96d68bd4
RO
78642018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7865
7866 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
7867 MAKEFLAGS.
7868
5a699617
RO
78692018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7870
7871 * dg-extract-results.sh: Move to toplevel contrib.
7872 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
7873 * Makefile.in (check-parallel-racy): Likewise.
7874
5bd18990
AB
78752018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
7876
7877 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
7878 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
7879 tests if the target supports scheduler locking.
7880
3fbbcf47
TV
78812018-08-04 Tom de Vries <tdevries@suse.de>
7882
7883 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
7884
3e1d3d8c
TT
78852018-08-02 Tom Tromey <tom@tromey.com>
7886
7887 PR symtab/16842.
7888 * gdb.cp/temargs.exp: Test "info address" of a template
7889 parameter.
7890
5abe0f0c
JV
78912018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
7892
7893 * gdb.python/py-mi-var-info-path-expression.c: New file.
7894 * gdb.python/py-mi-var-info-path-expression.py: New file.
7895 * gdb.python/py-mi-var-info-path-expression.exp: New file.
7896
fb66cde8
SDJ
78972018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
7898
7899 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
7900 error after "cannot resolve name" string.
7901
c708f4d2
AB
79022018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
7903
7904 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
7905 started.
7906 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
7907
37cc0cae
TV
79082018-07-28 Tom de Vries <tdevries@suse.de>
7909
7910 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
7911
63b4ecf7
TV
79122018-07-26 Tom de Vries <tdevries@suse.de>
7913
7914 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
7915
3c3bb058
AB
79162018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
7917
7918 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
7919 is visible.
7920
9e7f3bbb
TV
79212018-07-26 Tom de Vries <tdevries@suse.de>
7922
7923 PR breakpoints/23366
7924 * gdb.base/catch-follow-exec.c: New test.
7925 * gdb.base/catch-follow-exec.exp: New file.
7926
16f808ec
TV
79272018-07-25 Tom de Vries <tdevries@suse.de>
7928
7929 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
7930 vla-optimized-out.c.
7931
d7154a8d
JV
79322018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
7933
7934 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
7935 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
7936
232a0032
TV
79372018-07-20 Tom de Vries <tdevries@suse.de>
7938
7939 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
7940 NOCLONE macro.
7941 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
7942
fbb1d502
TV
79432018-07-19 Tom de Vries <tdevries@suse.de>
7944
7945 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
7946 regular expression.
7947
42dc7699
TV
79482018-07-18 Tom de Vries <tdevries@suse.de>
7949
7950 * gdb.base/vla-optimized-out.c: New test.
7951 * gdb.base/vla-optimized-out.exp: New file.
7952
7f1f7e23
SDJ
79532018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
7954
7955 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
7956 message "No address associated with hostname" when gdbserver
7957 cannot resolve the hostname.
7958
5759ebb3
PW
79592018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7960
7961 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
7962 Add some test prefixes to make tests unique.
7963
3606ccab
PW
79642018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7965
7966 * gdb.base/frameapply.c: New file.
7967 * gdb.base/frameapply.exp: New file.
7968
529c08b2
PW
79692018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7970
7971 * gdb.base/skip.exp: Update expected error message.
7972
c7ab0aef
SDJ
79732018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
7974 Jan Kratochvil <jan.kratochvil@redhat.com>
7975 Paul Fertser <fercerpav@gmail.com>
7976 Tsutomu Seki <sekiriki@gmail.com>
7977
7978 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
7979 parameter.
7980 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
7981 by default.
7982 * boards/native-gdbserver.exp: Likewise.
7983 * gdb.server/run-without-local-binary.exp: Improve regexp used
7984 for detecting when a remote debugging connection succeeds.
7985 * gdb.server/server-connect.exp: New file.
7986 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
7987 Do not prefix the port number with ":".
7988 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
7989 support for detecting and using it. Add '$debughost_gdbserver'
7990 to the list of arguments used to start gdbserver. Handle case
7991 when gdbserver cannot resolve a network name.
7992
16ff70dd
SDJ
79932018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
7994
7995 PR c++/23373
7996 * gdb.base/ptype-offsets.cc (struct static_member): New
7997 struct.
7998 (main) <stmember>: New variable.
7999 * gdb.base/ptype-offsets.exp: Add test for printing a struct
8000 with a static member in it.
8001
3541979f
AB
80022018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
8003
8004 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
8005 watchpoints enabled and disabled.
8006
c8ad9b9a
AB
80072018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
8008
8009 * gdb.base/examine-backward.exp: Still run tests around address
8010 0x0, even if address 0x0 is not readable. Update the pattern for
8011 matching address 0x0 in expected output.
8012
e0e5e971
AB
80132018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
8014
8015 * gdb.base/share-env-with-gdbserver.c (main): Add call to
8016 malloc/free.
8017
1ea5da02
TV
80182018-07-04 Tom de Vries <tdevries@suse.de>
8019
8020 * gdb.dwarf2/dw2-error.exp: Update expected error message.
8021
471b9d15
MR
80222018-07-02 Maciej W. Rozycki <macro@mips.com>
8023
8024 PR tdep/8282
8025 * gdb.arch/mips-disassembler-options.exp: New test.
8026 * gdb.arch/mips-disassembler-options.s: New test source.
8027
75acb486
PA
80282018-06-29 Pedro Alves <palves@redhat.com>
8029
8030 * gdb.threads/names.exp: Adjust expected "info threads" output.
8031
cd2bb709
PA
80322018-06-29 Pedro Alves <palves@redhat.com>
8033
8034 * gdb.opt/inline-break.exp (line number, address): Add "info
8035 break" tests.
8036
991ff292
PA
80372018-06-29 Pedro Alves <palves@redhat.com>
8038
8039 * gdb.opt/inline-break.c (func1): Add "break here" marker.
8040 * gdb.opt/inline-break.exp: Test setting breakpoints by line
8041 number and address and running to them.
8042
356819b6 80432018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
8044
8045 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
8046
2512d7ef
JK
80472018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8048
8049 * lib/compiler.c: Remove executable permission flag.
8050
be1b6474
RB
80512018-06-28 Richard Bunt <richard.bunt@arm.com>
8052
8053 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
8054 code.
8055 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
8056
291f9a96
PT
80572018-06-28 Petr Tesarik <ptesarik@suse.cz>
8058
8059 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
8060
ed6dfe51
PT
80612018-06-28 Petr Tesarik <ptesarik@suse.cz>
8062
8063 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
8064 address argument is omitted.
8065
d4d429d5
PT
80662018-06-28 Petr Tesarik <ptesarik@suse.cz>
8067
8068 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
8069
7ab6656f
OJ
80702018-06-27 Omair Javaid <omair.javaid@linaro.org>
8071
8072 PR gdb/21695
8073 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
8074 * gdb.base/infoline-reloc-main-from-zero.c: New file.
8075
a33ccfc7
TT
80762018-06-26 Tom Tromey <tom@tromey.com>
8077
8078 PR rust/22574:
8079 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
8080 * gdb.rust/simple.rs (struct SimpleLayout): New.
8081
6d72d289
SM
80822018-06-22 Simon Marchi <simon.marchi@ericsson.com>
8083
8084 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
8085 "info registers" output.
8086
8363f9d5
RB
80872018-06-21 Richard Bunt <richard.bunt@arm.com>
8088
8089 * gdb.base/watchpoint-hw-attach.c: New test.
8090 * gdb.base/watchpoint-hw-attach.exp: New file.
8091
f00674fe
SM
80922018-06-20 Simon Marchi <simon.marchi@ericsson.com>
8093
8094 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
8095 through /bin/sh.
8096 * boards/dwarf4-gdb-index.exp: Likewise.
8097 * boards/fission-dwp.exp: Likewise.
8098
1d554008
UW
80992018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
8100
8101 * gdb.base/float128.exp: Add comment and improved fail message
8102 to the failure case of "print large128" test.
8103
d0ac1c44
SM
81042018-06-19 Simon Marchi <simon.marchi@ericsson.com>
8105
8106 * configure.ac: Remove AC_PREREQ.
8107 * configure: Re-generate.
8108
61b04dd0
PA
81092018-06-19 Pedro Alves <palves@redhat.com>
8110
8111 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
8112 (func_extern_caller): New.
8113 (main): Call func_extern_caller.
8114 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
8115 logic change.
8116
f63b508a
SM
81172018-06-18 Weimin Pan <weimin.pan@oracle.com>
8118
8119 PR gdb/16841
8120 * gdb.cp/typedef-base.cc: New file.
8121 * gdb.cp/typedef-base.exp: New file.
8122
0fe3a558
TV
81232018-06-18 Tom de Vries <tdevries@suse.de>
8124
8125 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
8126
7010835a
AB
81272018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
8128 Richard Bunt <Richard.Bunt@arm.com>
8129
8130 * gdb.threads/attach-slow-waitpid.c: New file.
8131 * gdb.threads/attach-slow-waitpid.exp: New file.
8132 * gdb.threads/slow-waitpid.c: New file.
8133
14897d65
PA
81342018-06-14 Pedro Alves <palves@redhat.com>
8135
8136 * gdb.base/fork-running-state.c: Include <errno.h>.
8137 (exit_if_relative_exits): New.
8138 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
8139 exits.
8140 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
8141 child exits.
8142
5d9a0608
TV
81432018-06-14 Tom de Vries <tdevries@suse.de>
8144
8145 PR cli/22573
8146 * gdb.base/finish-pretty.c: New test.
8147 * gdb.base/finish-pretty.exp: New file.
8148
11ae5818
PA
81492018-06-14 Pedro Alves <palves@redhat.com>
8150
8151 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
8152 gdb's expected startup output.
8153
1d39de44
PA
81542018-06-14 Pedro Alves <palves@redhat.com>
8155
8156 * lib/selftest-support.exp (selftest_setup): Remove inlined
8157 function handling.
8158
70ee0000
TV
81592018-06-14 Tom de Vries <tdevries@suse.de>
8160
8161 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
8162 matching of breakpoint printing.
8163
11f4b608
TV
81642018-06-13 Tom de Vries <tdevries@suse.de>
8165
8166 PR testsuite/23269
8167 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
8168 (fork_child): ... here, and ...
8169 (fork_parent): ... here.
8170
81712018-06-12 Tom de Vries <tdevries@suse.de>
8172
8173 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
8174
9516f85a
AB
81752018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
8176 Stephen Roberts <stephen.roberts@arm.com>
8177
8178 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
8179 rewrite test to describe action performed, rather than possible
8180 failure.
8181
5045b3d7
GB
81822018-06-08 Gary Benson <gbenson@redhat.com>
8183
8184 * gdb.threads/check-libthread-db.exp: New file.
8185 * gdb.threads/check-libthread-db.c: Likewise.
8186
c61b06a1
TT
81872018-06-05 Tom Tromey <tom@tromey.com>
8188
8189 * gdb.base/default.exp: Update expected "show version" output.
8190
eb6af809
TT
81912018-06-05 Tom Tromey <tom@tromey.com>
8192
8193 PR cli/12326:
8194 * gdb.cp/static-print-quit.exp: Update.
8195 * lib/gdb.exp (pagination_prompt): Update.
8196 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
8197 * gdb.python/python.exp: Update.
8198
178d6a63
JB
81992018-06-04 Joel Brobecker <brobecker@adacore.com>
8200
8201 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
8202
8e817061
JB
82032018-06-01 Joel Brobecker <brobecker@adacore.com>
8204
8205 * gdb.ada/bp_fun_addr: New testcase.
8206
e86ca25f
TT
82072018-06-01 Tom Tromey <tom@tromey.com>
8208
8209 * gdb.xml/tdesc-regs.exp (load_description): Update expected
8210 results.
8211 * gdb.dwarf2/method-ptr.exp: Set language to C++.
8212 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
8213 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
8214 * gdb.base/maint.exp (maint_pass_if): Update.
8215
4b2dfa9d
MR
82162018-05-31 Maciej W. Rozycki <macro@mips.com>
8217
8218 * gdb.base/endian.exp: New test.
8219 * gdb.base/endian.c: New test source.
8220
45f25d6c
AB
82212018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
8222
8223 PR gdb/23203
8224 * gdb.base/bt-selected-frame.c: New file.
8225 * gdb.base/bt-selected-frame.exp: New file.
8226 * lib/gdb.exp (get_current_frame_number): New function.
8227
d9f6d7f8
MR
82282018-05-24 Maciej W. Rozycki <macro@mips.com>
8229 Pedro Alves <palves@redhat.com>
8230
8231 * gdb.threads/tls-core.c: Include <stdlib.h>
8232 (thread_proc): Call `abort'.
8233 * gdb.threads/tls-core.exp: Generate a core with core_find too.
8234 (tls_core_test): New procedure, bits factored out from ...
8235 (top level): ... here. Test both native cores and gcore cores.
8236
ff1cf532
TT
82372018-05-23 Tom Tromey <tom@tromey.com>
8238
8239 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
8240
b98664d3
TT
82412018-05-23 Tom Tromey <tom@tromey.com>
8242
8243 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
8244 symfile_complaints.
8245 (test_short_complaints): Likewise.
8246 (test_empty_complaints): Likewise.
8247 (test_initial_complaints): Update.
8248
4e9668d0
TT
82492018-05-23 Tom Tromey <tom@tromey.com>
8250
8251 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
8252
43ba33c7
TT
82532018-05-23 Tom Tromey <tom@tromey.com>
8254
8255 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
8256 (test_short_complaints): Update.
8257
035522c0
PA
82582018-05-22 Pedro Alves <palves@redhat.com>
8259
8260 * gdb.base/remote.exp: Only gdb_start after compiling the
8261 testcase. Issue "disconnect" before testing "set remote" command
8262 defaults. Issue clean_restart before running to main.
8263
cc0be08f
PA
82642018-05-22 Pedro Alves <palves@redhat.com>
8265
8266 * gdb.base/remote.exp: Adjust expected output of "show remote
8267 memory-write-packet-size". Add tests for "set remote
8268 memory-write-packet-size 0" and "set remote
8269 memory-write-packet-size fixed/limit".
8270
b1b60145
PA
82712018-05-22 Pedro Alves <palves@redhat.com>
8272
8273 PR gdb/22973
8274 * gdb.base/utf8-identifiers.c: New file.
8275 * gdb.base/utf8-identifiers.exp: New file.
8276
0ec848ad
PFC
82772018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
8278
8279 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
8280
2c3305f6
PFC
82812018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
8282
8283 * gdb.arch/powerpc-vsx-gcore.exp: New file.
8284
ce1e8424
TT
82852018-05-18 Tom Tromey <tom@tromey.com>
8286
8287 * gdb.base/ptype-offsets.exp: Update.
8288
ddfe970e
KS
82892018-05-17 Keith Seitz <keiths@redhat.com>
8290
8291 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
8292 in expected breakpoint stop locations.
8293 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
8294 move to proper scope to test variable values.
8295 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
8296 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
8297 New functions.
8298 (main): Call not_inline_func3.
8299 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
8300 inline_func1, inline_func2, and inline_func3. Test that when each
8301 breakpoint is hit, GDB properly reports both the stop location
8302 and the backtrace. Repeat tests for temporary breakpoints.
8303
0726fcc6
MR
83042018-05-15 Maciej W. Rozycki <macro@mips.com>
8305
8306 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
8307 rather then trying to access it in determining whether the PID
8308 of `gdbserver' could have been retrieved.
8309
8ee22052
AB
83102018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
8311
8312 * gdb.arch/amd64-init-x87-values.S: New file.
8313 * gdb.arch/amd64-init-x87-values.exp: New file.
8314
7785df48
JK
83152018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8316
8317 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
8318
56bcdbea
TT
83192018-05-04 Tom Tromey <tom@tromey.com>
8320
8321 PR python/22730:
8322 * gdb.python/python.exp: Test multi-line execute.
8323
a913fffb
TT
83242018-05-04 Tom Tromey <tom@tromey.com>
8325
8326 PR python/22731:
8327 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
8328
7a2c85f2
TT
83292018-05-04 Tom Tromey <tom@tromey.com>
8330
8331 PR gdb/11750:
8332 * gdb.base/define.exp: Test defining a user command inside a user
8333 command.
8334 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
8335
a3b60e45
JK
83362018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8337 Pedro Alves <palves@redhat.com>
8338
8339 PR breakpoints/19806 and support for PR external/20207.
8340 * gdb.base/watchpoint-unaligned.c: New file.
8341 * gdb.base/watchpoint-unaligned.exp: New file.
8342
45fe4a03
AB
83432018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8344
8345 * gdb.base/maint.exp: Make test names unique, use
8346 test_prefix_command_help to test 'help maint info', and remove
8347 repeated test of 'help maint'.
8348
9be2ae8f
TT
83492018-05-04 Tom Tromey <tom@tromey.com>
8350
8351 PR gdb/22619:
8352 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
8353 behavior.
8354
11859c31
AB
83552018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8356
8357 * gdb.base/maint.exp: Process output from 'maint print registers'
8358 line at a time.
8359
089a9490
AB
83602018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8361
8362 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
8363 timeout.
8364
9b0797e2
AB
83652018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
8366
8367 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
8368 filter pattern.
8369
f6ac5f3d
PA
83702018-05-02 Pedro Alves <palves@redhat.com>
8371
8372 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
8373 to_log_command renames.
8374 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
8375
77d3c63b
TT
83762018-05-02 Tom Tromey <tom@tromey.com>
8377
8378 * gdb.python/py-parameter.exp: Set test message.
8379
0489430a
TT
83802018-05-02 Tom Tromey <tom@tromey.com>
8381
8382 PR python/20084:
8383 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
8384 PARAM_ZUINTEGER_UNLIMITED tests.
8385
1632f8ba
DR
83862018-04-28 Dan Robertson <danlrobertson89@gmail.com>
8387
8388 PR rust/23124
8389 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
8390 when casting.
8391
6d7bb824
TT
83922018-04-30 Tom Tromey <tom@tromey.com>
8393
8394 * gdb.python/py-type.exp: Check align attribute.
8395 * gdb.python/py-type.c: New "aligncheck" global.
8396
007e1530
TT
83972018-04-30 Tom Tromey <tom@tromey.com>
8398
8399 PR exp/17095:
8400 * gdb.dwarf2/dw2-align.exp: New file.
8401 * gdb.cp/align.exp: New file.
8402 * gdb.base/align.exp: New file.
8403 * lib/gdb.exp (gdb_int128_helper): New proc.
8404 (has_int128_c, has_int128_cxx): New caching procs.
8405
6873858b
TT
84062018-04-27 Tom Tromey <tom@tromey.com>
8407
8408 PR rust/22545:
8409 * gdb.rust/simple.exp: Add inclusive range tests.
8410
79188d8d
PA
84112018-04-26 Pedro Alves <palves@redhat.com>
8412
8413 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
8414 ifunc breakpoint locations correctly of ifunc breakpoints set
8415 while the program resolves the ifunc.
8416
c7075ad5
PA
84172018-04-26 Pedro Alves <palves@redhat.com>
8418
8419 * gdb.base/gnu-ifunc-final.c: New file.
8420 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
8421 * gdb.base/gnu-ifunc.exp (executable): Delete.
8422 (staticexecutable): Adjust.
8423 (lib_opts, exec_opts): Delete.
8424 (make_binsuffix, build, set-break): New procedures.
8425 (misc_tests): New, with tests factored out from the top level.
8426 (top level): Test different combinations of ifunc resolver name,
8427 resolver with and with debug info, and ifunc target with and
8428 without debug info. Wrap static tests with with_target_prefix.
8429
8388016d
PA
84302018-04-26 Pedro Alves <palves@redhat.com>
8431
8432 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
8433 return type" warnings.
8434
249b5733
PA
84352018-04-25 Pedro Alves <palves@redhat.com>
8436
8437 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
8438 killed".
8439 * gdb.base/kill-after-signal.exp: Likewise.
8440 * gdb.threads/kill.exp: Likewise.
8441
f67c0c91
SDJ
84422018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8443 Sergio Durigan Junior <sergiodj@redhat.com>
8444 Pedro Alves <palves@redhat.com>
8445
8446 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
8447 regexps to expect for '[Inferior ... detached]' as well.
8448 * gdb.base/attach.exp: Likewise.
8449 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
8450 "gdb_continue_to_end".
8451 (test_catch_syscall_with_wrong_args): Likewise.
8452 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
8453 ']'. Don't set 'verbose' on.
8454 * gdb.base/foll-vfork.exp: Likewise.
8455 * gdb.base/fork-print-inferior-events.c: New file.
8456 * gdb.base/fork-print-inferior-events.exp: New file.
8457 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
8458 '[Inferior ... has been killed]' message.
8459 * gdb.base/kill-after-signal.exp: Likewise.
8460 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
8461 detach message.
8462 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
8463 message.
8464 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
8465 regexps to expect for '[Inferior ... detached]' as well.
8466 * gdb.threads/process-dies-while-detaching.exp: Likewise.
8467
0a8ddac4
SM
84682018-04-24 Simon Marchi <simon.marchi@ericsson.com>
8469
8470 PR gdb/23104
8471 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
8472
701adfb0
PA
84732018-04-22 Rajendra SY <rajendra.sy@gmail.com>
8474
8475 PR gdb/23095
8476 * gdb.base/break-probes.exp: Pass shlib_load to
8477 prepare_for_testing. Set normal_bp to r_debug_state if target is
8478 bsd.
8479
d27d16bf
RB
84802018-04-19 Richard Bunt <richard.bunt@arm.com>
8481
8482 * gdb.threads/multiple-successive-infcall.c: New test.
8483 * gdb.threads/multiple-successive-infcall.exp: New file.
8484
a037790e
TT
84852018-04-17 Tom Tromey <tom@tromey.com>
8486
8487 * gdb.rust/simple.rs (Union): New type.
8488 (main): New local "u".
8489 * gdb.rust/simple.exp (test_one_slice): Add new test case.
8490
e3a91079
AA
84912018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8492
8493 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
8494 number information in output of "whereis" command.
8495 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
8496
b744723f
AA
84972018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8498
8499 * gdb.ada/info_types.exp: Adjust expected output to the line
8500 numbers now printed by "info var/func/type".
8501 * gdb.base/completion.exp: Likewise.
8502 * gdb.base/included.exp: Likewise.
8503 * gdb.cp/cp-relocate.exp: Likewise.
8504 * gdb.cp/cplusfuncs.exp: Likewise.
8505 * gdb.cp/namespace.exp: Likewise.
8506 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
8507
4a4495d6
MM
85082018-04-13 Markus Metzger <markus.t.metzger@intel.com>
8509
8510 * gdb.btrace/cpu.exp: New.
8511
1d509aa6
MM
85122018-04-13 Markus Metzger <markus.t.metzger@intel.com>
8513
8514 * gdb.base/step-indirect-call-thunk.exp: New.
8515 * gdb.base/step-indirect-call-thunk.c: New.
8516 * gdb.reverse/step-indirect-call-thunk.exp: New.
8517 * gdb.reverse/step-indirect-call-thunk.c: New.
8518
6295b6da
SM
85192018-04-11 Simon Marchi <simon.marchi@ericsson.com>
8520
8521 * gdb.base/pie-fork.c: New file.
8522 * gdb.base/pie-fork.exp: New file.
8523
50146e70
TT
85242018-04-11 Tom Tromey <tom@tromey.com>
8525
8526 * gdb.rust/simple.exp: Add test for ".." struct initializer.
8527
f50d8a2e
PA
85282018-04-10 Pedro Alves <palves@redhat.com>
8529
8530 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
8531 exits. Instead loop running forever.
8532 (fork_parent): Run forever too.
8533
a0be7a36
SM
85342018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
8535
8536 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
8537 mi_continue_to_line.
8538 * gdb.mi/mi-stack.c (callee4): Add comment.
8539
9b73db36
SM
85402018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
8541
8542 * gdb.mi/mi-stack.exp: Fix indentation.
8543
c912f608
SM
85442018-04-07 Simon Marchi <simon.marchi@ericsson.com>
8545
8546 PR gdb/22979
8547 * gdb.arch/amd64-osabi.exp: New file.
8548
26540402
SM
85492018-04-07 Simon Marchi <simon.marchi@ericsson.com>
8550
8551 PR gdb/22980
8552 * gdb.base/osabi.exp: New file.
8553
121ad66c 85542018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
8555
8556 * gdb.cp/static-typedef-print.exp: New file.
8557 * gdb.cp/static-typedef-print.cc: New file.
8558
3fcded8f
JB
85592018-03-27 Joel Brobecker <brobecker@adacore.com>
8560
8561 * gdb.ada/varsize_limit: New testcase.
8562
59cc4834
JB
85632018-03-27 Joel Brobecker <brobecker@adacore.com>
8564
8565 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
8566
8567 * gdb.ada/notcplusplus: New testcase.
8568
8569 * gdb.base/c-linkage-name.c: New file.
8570 * gdb.base/c-linkage-name.exp: New testcase.
8571
4ca59a9f
TT
85722018-03-26 Tom Tromey <tom@tromey.com>
8573
8574 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
8575 * gdb.python/py-framefilter.py (name_error): New global.
8576 (ErrorInName.function): Use name_error.
8577
978d6c75
TT
85782018-03-26 Tom Tromey <tom@tromey.com>
8579
8580 PR backtrace/15582:
8581 * gdb.python/py-framefilter.exp: Add "bt hide" test.
8582
b7fee5a3
KS
85832018-03-23 Keith Seitz <keiths@redhat.com>
8584
8585 PR c++/22968
8586 * gdb.cp/subtypes.exp: New file.
8587 * gdb.cp/subtypes.h: New file.
8588 * gdb.cp/subtypes.cc: New file.
8589 * gdb.cp/subtypes-2.cc: New file.
8590
376be529
AB
85912018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
8592
8593 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
8594 (done): Call '_exit' not 'exit' to avoid atexit handlers.
8595 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
8596 -nostartfiles when compiling the test. Confirm that all registers
8597 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
8598
066cfa98
AB
85992018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
8600
8601 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
8602 option, syntax was wrong anyway.
8603 * gdb.arch/arm-disp-step.exp: Likewise.
8604 * gdb.arch/sparc64-regs.exp: Likewise.
8605 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
8606 option, syntax was wrong anyway, switch to use
8607 prepare_for_testing.
8608 * gdb.arch/i386-disp-step.exp: Likewise.
8609
079670b9
AA
86102018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
8611
8612 * gdb.ada/exec_changed.exp: Replace "target_info exists
8613 use_gdb_stub" by "use_gdb_stub".
8614 * gdb.ada/start.exp: Likewise.
8615 * gdb.base/async-shell.exp: Likewise.
8616 * gdb.base/attach-pie-misread.exp: Likewise.
8617 * gdb.base/attach-wait-input.exp: Likewise.
8618 * gdb.base/break-entry.exp: Likewise.
8619 * gdb.base/break-interp.exp: Likewise.
8620 * gdb.base/dprintf-detach.exp: Likewise.
8621 * gdb.base/nostdlib.exp: Likewise.
8622 * gdb.base/solib-nodir.exp: Likewise.
8623 * gdb.base/statistics.exp: Likewise.
8624 * gdb.base/testenv.exp: Likewise.
8625 * gdb.mi/mi-exec-run.exp: Likewise.
8626 * gdb.mi/mi-start.exp: Likewise.
8627 * gdb.multi/dummy-frame-restore.exp: Likewise.
8628 * gdb.multi/multi-arch-exec.exp: Likewise.
8629 * gdb.multi/multi-arch.exp: Likewise.
8630 * gdb.multi/tids.exp: Likewise.
8631 * gdb.multi/watchpoint-multi.exp: Likewise.
8632 * gdb.python/py-events.exp: Likewise.
8633 * gdb.threads/attach-into-signal.exp: Likewise.
8634 * gdb.threads/attach-stopped.exp: Likewise.
8635 * gdb.threads/threadapply.exp: Likewise.
8636 * lib/selftest-support.exp: Likewise.
8637
26d6cec4
AA
86382018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
8639
8640 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
8641
4ee89e90
SR
86422018-03-20 Stephen Roberts <stephen.roberts@arm.com>
8643
8644 * gdb.perf/template-breakpoints.cc: New file.
8645 * gdb.perf/template-breakpoints.exp: New file.
8646 * gdb.perf/template-breakpoints.py: New file.
8647
92630041
TT
86482018-03-19 Tom Tromey <tom@tromey.com>
8649
8650 * gdb.rust/simple.rs (main): Add local variables field1, field2,
8651 y0.
8652 * gdb.rust/simple.exp: Test bare identifier form of struct
8653 initializer.
8654
76727919
TT
86552018-03-19 Tom Tromey <tom@tromey.com>
8656
8657 * gdb.gdb/observer.exp: Remove.
8658
194ed413
AA
86592018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8660
8661 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
8662 "qualified" option when setting breakpoints.
8663 * gdb.trace/backtrace.exp: Likewise.
8664 * gdb.trace/circ.exp: Likewise.
8665 * gdb.trace/collection.exp: Likewise.
8666 * gdb.trace/disconnected-tracing.exp: Likewise.
8667 * gdb.trace/ftrace-lock.exp: Likewise.
8668 * gdb.trace/ftrace.exp: Likewise.
8669 * gdb.trace/infotrace.exp: Likewise.
8670 * gdb.trace/packetlen.exp: Likewise.
8671 * gdb.trace/passc-dyn.exp: Likewise.
8672 * gdb.trace/qtro.exp: Likewise.
8673 * gdb.trace/read-memory.exp: Likewise.
8674 * gdb.trace/report.exp: Likewise.
8675 * gdb.trace/signal.exp: Likewise.
8676 * gdb.trace/status-stop.exp: Likewise.
8677 * gdb.trace/strace.exp: Likewise.
8678 * gdb.trace/tfind.exp: Likewise.
8679 * gdb.trace/trace-break.exp: Likewise.
8680 * gdb.trace/trace-condition.exp: Likewise.
8681 * gdb.trace/trace-mt.exp: Likewise.
8682 * gdb.trace/tstatus.exp: Likewise.
8683 * gdb.trace/tsv.exp: Likewise.
8684 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
8685 * gdb.trace/unavailable.exp: Likewise.
8686 * gdb.trace/while-dyn.exp: Likewise.
8687
8b067d2c
AA
86882018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8689
8690 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
8691 that libinproctrace is copied to the target.
8692
3ae9ce5d
TT
86932018-03-14 Tom Tromey <tom@tromey.com>
8694
8695 PR cli/14977:
8696 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
8697 a null pointer.
8698 * gdb.base/wchar.exp: Likewise.
8699
b8c2339b
TT
87002018-03-14 Tom Tromey <tom@tromey.com>
8701
8702 PR cli/19918:
8703 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
8704 flag.
8705
4872dc46
SM
87062018-03-08 Simon Marchi <simon.marchi@ericsson.com>
8707
8708 PR gdb/22841
8709 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
8710 "target" to remote_exec.
8711
e4fe3756
SM
87122018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
8713
8714 PR gdb/22841
8715 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
8716 ${board}_upload): Remove.
8717
e95a97d4
AA
87182018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
8719
8720 * gdb.cp/watch-cp.cc: New test.
8721 * gdb.cp/watch-cp.exp: New file.
8722
dbbb1059
AB
87232018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8724
8725 * gdb.base/infcall-nested-structs.exp: New file.
8726 * gdb.base/infcall-nested-structs.c: New file.
8727 * gdb.base/float.exp: Add riscv support.
8728
ecc054c0
TP
87292018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
8730
8731 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
8732 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
8733
25e3c82c
SDJ
87342018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
8735
8736 * gdb.server/abspath.exp: New file.
8737 * lib/gdb.exp (with_cwd): New procedure.
8738
3083294d
SM
87392018-02-28 Simon Marchi <simon.marchi@ericsson.com>
8740
8741 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
8742 use it.
8743 (gdb_is_target_remote_prompt): New proc.
8744 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
8745 (gdb_is_target_native): Pass prompt parameter to
8746 gdb_is_target_1.
8747
3275ef47
SM
87482018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
8749
8750 * gdb.base/load-command.c: New file.
8751 * gdb.base/load-command.exp: New file.
8752 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
8753 (gdb_is_target_1): ...this, and generalize for other targets
8754 than just remote.
8755 (gdb_is_target_remote): Use gdb_is_target_1.
8756 (gdb_is_target_native): use gdb_is_target_1.
8757
6893c19a
TT
87582018-02-26 Tom Tromey <tom@tromey.com>
8759
8760 PR python/16497:
8761 * gdb.python/py-framefilter.exp: Update test.
8762
2ddeaf8a
TT
87632018-02-26 Tom Tromey <tom@tromey.com>
8764
8765 * gdb.dwarf2/variant.c: New file.
8766 * gdb.dwarf2/variant.exp: New file.
8767
c9317f21
TT
87682018-02-26 Tom Tromey <tom@tromey.com>
8769
8770 * gdb.rust/simple.exp: Accept more possible results in enum test.
8771
6f6d0c26
SM
87722018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
8773
8774 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
8775 parentheses.
8776
11b03145
MR
87772018-02-23 Maciej W. Rozycki <macro@mips.com>
8778
8779 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
8780 name of a variable: $actual_linejj -> $actual_line.
8781
54a27fe5
JB
87822018-02-21 John Baldwin <jhb@FreeBSD.org>
8783
8784 * gdb.arch/amd64-i386-address.exp: Fix a typo.
8785
de65820c
MM
87862018-02-20 Markus Metzger <markus.t.metzger@intel.com>
8787
8788 * gdb.btrace/buffer-size.exp: Do not force BTS.
8789
980548fd
PA
87902018-02-14 Pedro Alves <palves@redhat.com>
8791
8792 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
8793 getting a "Quit".
8794
c4e12631
MM
87952018-02-09 Markus Metzger <markus.t.metzger@intel.com>
8796
8797 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
8798 Fix test name.
8799
c2e0e465
SM
88002018-02-07 Simon Marchi <simon.marchi@ericsson.com>
8801
8802 * gdb.cp/m-static.exp: Check type of optimized out static
8803 member.
8804
f7216783
AB
88052018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
8806
8807 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
8808 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
8809
0625771b
LS
88102018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
8811 Leszek Swirski <leszeks@google.com>
8812
8813 * gdb.python/py-prettyprint.c
8814 (struct to_string_returns_value_inner,
8815 struct to_string_returns_value_wrapper): New.
8816 (main): Add tsrvw variable.
8817 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
8818 ToStringReturnsValueWrapper): New classes.
8819 (register_pretty_printers): Register new pretty-printers.
8820 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
8821 recursive pretty printer.
8822 * gdb.python/py-mi.exp: Likewise.
8823
59498c30
LS
88242018-02-01 Leszek Swirski <leszeks@google.com>
8825
8826 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
8827 functions with the same name as an include file are parsed
8828 correctly.
8829
d4d38844
YQ
88302018-02-01 Yao Qi <yao.qi@linaro.org>
8831
8832 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
8833 "\[^\r\n\]*".
8834
07e5f5cf
NP
88352018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
8836
8837 * gdb.arch/powerpc-prologue-frame.s: New file.
8838 * gdb.arch/powerpc-prologue-frame.c: Likewise.
8839 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
8840
929b5ad4
JB
88412018-01-31 Joel Brobecker <brobecker@adacore.com>
8842
8843 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
8844
e671cd59
PA
88452018-01-30 Pedro Alves <palves@redhat.com>
8846
8847 PR gdb/13211
8848 * gdb.base/interrupt-daemon.c: New.
8849 * gdb.base/interrupt-daemon.exp: New.
8850 * gdb.multi/multi-term-settings.c: New.
8851 * gdb.multi/multi-term-settings.exp: New.
8852
fc413dc4
JB
88532018-01-30 Joel Brobecker <brobecker@adacore.com>
8854
8855 * gdb.base/break.exp: Save the location where the breakpoint
8856 on break.c:47 was actually inserted when debugging the version
8857 compiled at -O2 and use it in the expected output of the "info
8858 break" test performed soon after.
8859
5c319bb2
PA
88602018-01-22 Pedro Alves <palves@redhat.com>
8861 Sergio Durigan Junior <sergiodj@redhat.com>
8862
8863 * gdb.base/whatis.exp: Add tests for 'set print object on' +
8864 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
8865
a9e40818
JB
88662018-01-22 Joel Brobecker <brobecker@adacore.com>
8867
8868 * gdb.base/break-include.c, gdb.base/break-include.inc,
8869 gdb.base/break-include.exp: New files.
8870 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
8871 line number now being the actual line number where the breakpoint
8872 was inserted.
8873 * gdb.mi/mi-break.exp: Likewise.
8874 * gdb.mi/mi-reverse.exp: Likewise.
8875 * gdb.mi/mi-simplerun.exp: Ditto.
8876
e707fc44
AB
88772018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
8878
8879 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
8880 varobj.
8881 * gdb.mi/mi-var-create-rtti.exp: Likewise.
8882
ae451627
AB
88832018-01-21 Don Breazeal <donb@codesourcery.com>
8884 Andrew Burgess <andrew.burgess@embecosm.com>
8885
8886 * gdb.mi/basics.c: Add new global.
8887 * gdb.mi/mi-frame-regs.exp: New file.
8888 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
8889 case.
8890
b1b189e0
AB
88912018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
8892
8893 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
8894 non-parameter, and on an unknown symbol.
8895
fcfcc376
TT
88962018-01-19 Tom Tromey <tom@tromey.com>
8897
8898 * gdb.rust/modules.rs (TWENTY_THREE): New global.
8899 * gdb.rust/modules.exp: Add ::-qualified lookup test.
8900
634c1c31
AA
89012018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8902
8903 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
8904 setrlimit and chdir to int.
8905
d6ad07fd
AA
89062018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8907
8908 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
8909 function.
8910 (my_tend): Likewise.
8911 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
8912 rationale of avoiding FP- and vector instructions.
8913
adf8243b
RK
89142018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
8915
8916 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
8917 "info reg" with "\[ \t\]*".
8918 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
8919 "\[ \t\]+".
8920 * gdb.arch/s390-multiarch.exp: Ditto.
8921 * gdb.base/pc-fp.exp: Ditto.
8922 * gdb.reverse/i386-precsave.exp: Ditto.
8923 * gdb.reverse/i386-reverse.exp: Ditto.
8924 * gdb.reverse/i387-env-reverse.exp: Ditto.
8925 * gdb.reverse/i387-stack-reverse.exp: Ditto.
8926
dcc06925
AA
89272018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
8928
8929 * lib/gdb.exp (gdb_compile): Re-enable use of
8930 universal_compile_options for languages other than Rust.
8931
25d4fd80
AA
89322018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
8933
8934 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
8935
ee7f689e 89362018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
8937
8938 PR gdb/16577
8939 * gdb.base/solib-vanish.exp: New.
8940 * gdb.base/solib-vanish-main.c: New.
8941 * gdb.base/solib-vanish-lib1.c: New.
8942 * gdb.base/solib-vanish-lib2.c: New.
8943
d8447b6b
YQ
89442018-01-17 Yao Qi <yao.qi@linaro.org>
8945
8946 * gdb.compile/compile.exp: Match the address printed for
8947 frame in the output of command "bt".
8948
86d6a90c
TT
89492018-01-15 Tom Tromey <tom@tromey.com>
8950
8951 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
8952 compute sp_reg.
8953
cbcdb1aa
AB
89542018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
8955
8956 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
8957 to prepare.
8958 (prepare): Return 0 on error, 1 on success.
8959
eea61984
PA
89602018-01-12 Pedro Alves <palves@redhat.com>
8961
8962 * gdb.base/continue-after-aborted-step-over.c: New.
8963 * gdb.base/continue-after-aborted-step-over.exp: New.
8964
6181e9c2
SM
89652018-01-11 Simon Marchi <simon.marchi@ericsson.com>
8966
8967 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
8968 options when not creating an executable.
8969
3cada740
PA
89702018-01-11 Pedro Alves <palves@redhat.com>
8971
8972 PR remote/22597
8973 * gdb.server/stop-reply-no-thread.c: New file.
8974 * gdb.server/stop-reply-no-thread.exp: New file.
8975
c63d3e8d
PA
89762018-01-10 Pedro Alves <palves@redhat.com>
8977
8978 PR gdb/22670
8979 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
8980 functions too. Test setting breakpoints and printing C functions
8981 with no debug info too.
8982 * gdb.ada/bp_c_mixed_case/qux.c: New file.
8983
d4c2a405
PA
89842018-01-10 Pedro Alves <palves@redhat.com>
8985
8986 PR gdb/22670
8987 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
8988 a fail.
8989
8825213e
PA
89902018-01-10 Pedro Alves <palves@redhat.com>
8991
8992 PR gdb/22670
8993 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
8994
605fd3c6
YQ
89952018-01-08 Simon Marchi <simon.marchi@ericsson.com>
8996
8997 * gdb.server/unittest.exp: Match the output in non-development
8998 mode.
8999
1e5ded6c
YQ
90002018-01-08 Simon Marchi <simon.marchi@ericsson.com>
9001
9002 * gdb.gdb/unittest.exp: Match output in non-development mode.
9003
30066b0b
JB
90042018-01-08 Joel Brobecker <brobecker@adacore.com>
9005
9006 * gdb.ada/access_tagged_param.exp: Relax expected output
9007 for value of "ObjL" in "continue" to pck.inspect breakpoint
9008 test.
9009
04bafb1e
XR
90102018-01-08 Joel Brobecker <brobecker@adacore.com>
9011
9f86398b
JB
9012 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
9013 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 9014
e379cee6
PA
90152018-01-05 Pedro Alves <palves@redhat.com>
9016
9017 PR gdb/18653
9018 * gdb.base/libsegfault.exp: New.
9019
de63c46b
PA
90202018-01-05 Joel Brobecker <brobecker@adacore.com>
9021
9022 PR gdb/22670
9023 * gdb.ada/access_tagged_param.exp: New file.
9024 * gdb.ada/access_tagged_param/foo.adb: New file.
9025
f98fc17b
PA
90262018-01-05 Pedro Alves <palves@redhat.com>
9027
9028 PR gdb/22670
9029 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
9030 exercise lower case too, and to exercise both full matching and
9031 wild matching.
9032
342f8240
JB
90332018-01-05 Joel Brobecker <brobecker@adacore.com>
9034
9035 * gdb.ada/rename_subscript_param: New testcase.
9036
7150d33c
JG
90372018-01-05 Jerome Guitton <guitton@adacore.com>
9038
9039 * gdb.ada/arr_acc_idx_w_gap: New testcase.
9040
cc0e770c
JB
90412018-01-05 Joel Brobecker <brobecker@adacore.com>
9042
9043 * gdb.ada/convvar_comp: New testcase.
9044
672a41aa 90452018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
9046
9047 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
9048 (My_Table): New global variable.
9049 * testsuite/gdb.ada/array_char_idx.exp: Add test.
9050
7365ec2f
JB
90512018-01-04 Joel Brobecker <brobecker@adacore.com>
9052
9053 PR gdb/22670
9054 * gdb.ada/maint_with_ada: New testcase.
9055
289483b6
JB
90562018-01-04 Joel Brobecker <brobecker@adacore.com>
9057
9058 PR gdb/22670
9059 * gdb.ada/bp_c_mixed_case: New testcase.
9060
344420da
JB
90612018-01-04 Joel Brobecker <brobecker@adacore.com>
9062
9063 PR gdb/22670
9064 * gdb.ada/complete.exp: Add "complete break ada" test.
9065
66fc87a0
JB
90662018-01-04 Joel Brobecker <brobecker@adacore.com>
9067
9068 PR gdb/22670
9069 * gdb.ada/info_addr_mixed_case: New testcase.
9070
9f757bf7
XR
90712018-01-03 Xavier Roirand <roirand@adacore.com>
9072
9073 * gdb.ada/excep_handle.exp: New testcase.
9074 * gdb.ada/excep_handle/foo.adb: New file.
9075 * gdb.ada/excep_handle/pck.ads: New file.
9076
bd570f80
JB
90772018-01-03 Joel Brobecker <brobecker@adacore.com>
9078
9079 * gdb.base/step-line.c: Add extra empty line in copyright header.
9080 * gdb.base/step-line.inp: Likewise.
9081
9fe561ab
JB
90822018-01-02 Joel Brobecker <brobecker@adacore.com>
9083
9084 * gdb.ada/dyn_stride.exp: Add slice test.
9085
a405673c
JB
90862018-01-02 Joel Brobecker <brobecker@adacore.com>
9087
9088 * gdb.ada/dyn_stride: New testcase.
9089
cef0f868
SH
90902017-12-27 Stafford Horne <shorne@gmail.com>
9091
9092 * gdb.xml/extra-regs.xml: Add example foo reggroup.
9093 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
9094
b67d92b0
SH
90952017-12-27 Stafford Horne <shorne@gmail.com>
9096
9097 * gdb.base/reggroups.c: New file.
9098 * gdb.base/reggroups.exp: New file.
9099
eccab96d
JB
91002017-12-18 Joel Brobecker <brobecker@adacore.com>
9101
9102 * gdb.dwarf2/ada-valprint-error.c: New file.
9103 * gdb.dwarf2/ada-valprint-error.exp: New file.
9104
0e2da9f0
JB
91052017-12-18 Joel Brobecker <brobecker@adacore.com>
9106
9107 * gdb.ada/assign_arr: New testcase.
9108
cb923fcc
XR
91092017-12-18 Xavier Roirand <roirand@adacore.com>
9110
9111 * gdb.ada/funcall_ptr: New testcase.
9112
7c161838
SDJ
91132017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
9114
9115 PR cli/16224
9116 * gdb.base/ptype-offsets.cc: New file.
9117 * gdb.base/ptype-offsets.exp: New file.
9118
1af17fd9
YQ
91192017-12-15 Yao Qi <yao.qi@linaro.org>
9120
9121 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
9122 if XML is disabled.
9123
828d5846
XR
91242017-12-15 Xavier Roirand <roirand@adacore.com>
9125
9126 * gdb.ada/same_component_name: New testcase.
9127
79e8fcaa
JB
91282017-12-14 Joel Brobecker <brobecker@adacore.com>
9129
9130 * gdb.ada/str_binop_equal: New testcase.
9131
e05fa6f9
JB
91322017-12-14 Joel Brobecker <brobecker@adacore.com>
9133
9134 * gdb.ada/task_switch_in_core: New testcase.
9135
b89641ba
SM
91362017-12-13 Simon Marchi <simon.marchi@ericsson.com>
9137
9138 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
9139 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
9140 call test_bkpt_qualified.
9141 (test_bkpt_qualified): New proc.
9142
6892d2e4
PA
91432017-12-13 Pedro Alves <palves@redhat.com>
9144
9145 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
9146 Tighten regexp by matching with an anchor.
9147
a22ecf70
PA
91482017-12-13 Pedro Alves <palves@redhat.com>
9149
9150 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
9151 ("expression with namespace"): New set of tests.
9152 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
9153 (Nested::Test_NS::qux): New.
9154 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
9155 defaults to 'start_quote_char' and 'end_quote_char' parameters.
9156
9937536c
JB
91572017-12-13 Joel Brobecker <brobecker@adacore.com>
9158
9159 * gdb.base/server-del-break.c: New file.
9160 * gdb.base/server-del-break.exp: New file.
9161
fe49c6f5
SH
91622017-12-12 Stafford Horne <shorne@gmail.com>
9163
9164 * gdb.xml/tdesc-regs.exp: Add or1k support.
9165
c3d18620
SH
91662017-12-12 Stafford Horne <shorne@gmail.com>
9167
9168 * gdb.base/bp-permanent.c: Define nop of or1k.
9169
c5f9cfc8
JB
91702017-12-11 Joel Brobecker <brobecker@adacore.com>
9171
9172 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
9173 output with components being reordered.
9174
a9c135fc
JB
91752017-12-11 Joel Brobecker <brobecker@adacore.com>
9176
9177 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
9178 output with components being reordered.
9179
927aa2e7
JK
91802017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9181 Pedro Alves <palves@redhat.com>
9182
9183 * gdb.base/maint.exp (check for .gdb_index): Check also for
9184 .debug_names.
9185 * gdb.dlang/watch-loc.c (.debug_aranges): New.
9186 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
9187 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
9188 (.gdb_index used after symbol reloading): Support also .debug_names.
9189 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
9190
f17d9474
YQ
91912017-12-08 Yao Qi <yao.qi@linaro.org>
9192
9193 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
9194 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
9195
a0de8c21
YQ
91962017-12-08 Yao Qi <yao.qi@linaro.org>
9197
9198 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
9199 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
9200
a738ea1d
YQ
92012017-12-08 Yao Qi <yao.qi@linaro.org>
9202
9203 * gdb.arch/aarch64-tagged-pointer.c: New file.
9204 * gdb.arch/aarch64-tagged-pointer.exp: New file.
9205
1cd9a73b
SDJ
92062017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
9207
9208 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
9209 "int".
9210
fa6eb693
KS
92112017-12-07 Keith Seitz <keiths@redhat.com>
9212
9213 PR breakpoints/22569
9214 * gdb.linespec/ls-errs.exp: Change expected result of "break
9215 -source this file has spaces.c -line 3".
9216 Check that an explicit source file followed by whitespace is
9217 identified as an invalid explicit location.
9218
883fd55a
KS
92192017-12-07 Keith Seitz <keiths@redhat.com>
9220
9221 * gdb.cp/nested-types.cc: New file.
9222 * gdb.cp/nested-types.exp: New file.
9223 * lib/cp-support.exp: Load data-structures.exp library.
9224 (debug_cp_test_ptype_class): New global.
9225 (cp_ptype_class_verbose, next_line): New procedures.
9226 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
9227 Add and document new return value.
9228 Switch the list of lines to a queue.
9229 Add support for new `type' key for nested type definitions.
9230 Add debugging/troubleshooting messages.
9231 * lib/data-structures.exp: New file.
9232
ec72db3e
SM
92332017-12-07 Simon Marchi <simon.marchi@ericsson.com>
9234
9235 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
9236 with proc_with_prefix, don't use with_test_prefix.
9237
99598d71
TT
92382017-12-07 Tom Tromey <tom@tromey.com>
9239
9240 * gdb.base/break.exp: Add test for empty "commands".
9241
a8806230
YQ
92422017-12-07 Yao Qi <yao.qi@linaro.org>
9243
9244 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
9245 malloc and catch syscall.
9246
824cc835
PM
92472017-12-07 Phil Muldoon <pmuldoon@redhat.com>
9248
e79be6e5 9249 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
9250 tests for explicit locations.
9251
7cc244de
PA
92522017-12-06 Pedro Alves <palves@redhat.com>
9253
9254 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
9255 force-disabling XML descriptions.
9256
50a1fdd5
PA
92572017-12-04 Pedro Alves <palves@redhat.com>
9258
9259 PR gdb/22499
9260 * gdb.arch/amd64-disp-step-avx.S: New file.
9261 * gdb.arch/amd64-disp-step-avx.exp: New file.
9262
f0fb2488
PA
92632017-12-03 Pedro Alves <palves@redhat.com>
9264
9265 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
9266 and <string.h>.
9267 (parent_function): Print distinct messages when waitpid fails, or
9268 the child exits with a signal, or the child exits for an unhandled
9269 reason.
9270 * gdb.threads/process-dies-while-detaching.exp
9271 (detach_and_expect_exit): New 'inf_output_re' parameter and use
9272 it. Wait for both inferior output and GDB's prompt. Use an
9273 indirect spawn id list.
9274 (do_detach): New parameter 'child_exit'. Use it to compute
9275 expected inferior output.
9276 (test_detach, test_detach_watch, test_detach_killed_outside):
9277 Adjust to pass down the expected child exit kind.
9278
97cbe998
SDJ
92792017-12-01 Joel Brobecker <brobecker@adacore.com>
9280 Sergio Durigan Junior <sergiodj@redhat.com>
9281 Pedro Alves <palves@redhat.com>
9282
9283 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
9284
40fc416f
SDJ
92852017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
9286
9287 * gdb.base/relocate.exp: Add tests to guarantee that arguments
9288 to 'symbol-file' and 'add-symbol-file' can be
9289 position-independent.
9290
1cc75e92
YQ
92912017-12-01 Yao Qi <yao.qi@linaro.org>
9292
9293 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
9294 the URL in copyright header.
9295 * gdb.arch/aarch64-fp.exp: Likewise.
9296 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
9297 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
9298 * gdb.base/expand-psymtabs.exp: Likewise.
9299 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
9300 * gdb.fortran/common-block.exp: Likewise.
9301 * gdb.fortran/common-block.f90: Likewise.
9302 * gdb.fortran/logical.exp: Likewise.
9303 * gdb.fortran/vla-datatypes.f90: Likewise.
9304 * gdb.fortran/vla-sub.f90: Likewise.
9305
875fb7a7
JB
93062017-11-30 Joel Brobecker <brobecker@adacore.com>
9307
9308 * gdb.ada/repeat_dyn: New testcase.
9309
6f14765f
UW
93102017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
9311
9312 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
9313 Update for changed thread numbering.
9314 * gdb.cell/bt.exp: Update for changed GDB output.
9315
f1af7b94
SM
93162017-11-30 Simon Marchi <simon.marchi@ericsson.com>
9317
9318 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
9319 setting isremote by hand.
9320 * boards/dwarf4-gdb-index.exp: Likewise.
9321 * boards/fission.exp: Likewise.
9322 * boards/stabs.exp: Likewise.
9323
e3919f3e
PA
93242017-11-30 Pedro Alves <palves@redhat.com>
9325
9326 * gdb.linespec/cpls-ops.exp
9327 (check_explicit_skips_function_argument): Extract the underlying
9328 type of size_t instead of hardcoding it.
9329
bd69330d
PA
93302017-11-29 Pedro Alves <palves@redhat.com>
9331
9332 PR c++/19436
9333 * gdb.linespec/cpls-abi-tag.cc: New file.
9334 * gdb.linespec/cpls-abi-tag.exp: New file.
9335
a20714ff
PA
93362017-11-29 Pedro Alves <palves@redhat.com>
9337
9338 * gdb.base/langs.exp: Use -qualified.
9339 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
9340 it.
9341 * gdb.cp/namespace.exp: Use -qualified.
9342 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
9343 (overload-3, template-overload, template-ret-type, const-overload)
9344 (const-overload-quoted, anon-ns, ambiguous-prefix): New
9345 procedures.
9346 (test_driver): Call them.
9347 * gdb.cp/save-bp-qualified.cc: New.
9348 * gdb.cp/save-bp-qualified.exp: New.
9349 * gdb.linespec/explicit.exp: Test -qualified.
9350 * lib/completion-support.exp (completion::explicit_opts_list): Add
9351 "-qualified".
9352 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
9353
f6f1d339
PM
93542017-11-29 Phil Muldoon <pmuldoon@redhat.com>
9355
9356 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
9357
02ca603a
TT
93582017-11-29 Tom Tromey <tom@tromey.com>
9359
9360 * gdb.base/relocate.exp: Update invalid argument test.
9361 Add new tests for invalid arguments.
9362
ed6c0bfb
TP
93632017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
9364
9365 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
9366 Return 0 as a long.
9367 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
9368
f106e10e
TP
93692017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
9370
9371 * gdb.cp/breakpoint.cc (bar): Set return type to void.
9372 * gdb.cp/psymtab-parameter.cc (func): Likewise.
9373 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
9374 func ().
9375 * gdb.cp/shadow.cc (B.func): Return 0.
9376
10329bb2
JB
93772017-11-27 Joel Brobecker <brobecker@adacore.com>
9378
9379 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
9380 expected output in gdb_expect call to allow the exception
9381 message to be present as well. Fix syntax confusion to avoid
9382 TCL thinking that exception_name is an array.
9383
617cd4bc
UW
93842017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
9385
9386 * gdb.arch/spu-info.c: Include <unistd.h>.
9387 (do_signal_test): Fix broken calls to write.
9388 * gdb.arch/spu-info.exp: Use prepare_for_testing.
9389 Fix checks for empty mailboxes. Update signal tests for corrected
9390 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
9391 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
9392 * gdb.cell/arch.exp: Use standard_output_file.
9393 * gdb.cell/break.exp: Likewise.
9394 * gdb.cell/bt.exp: Likewise.
9395 * gdb.cell/core.exp: Likewise.
9396 * gdb.cell/dwarfaddr.exp: Likewise.
9397 * gdb.cell/ea-cache.exp: Likewise.
9398 * gdb.cell/ea-standalone.exp: Likewise.
9399 * gdb.cell/f-regs.exp: Likewise.
9400 * gdb.cell/fork.exp: Likewise.
9401 * gdb.cell/gcore.exp: Likewise.
9402 * gdb.cell/mem-access.exp: Likewise.
9403 * gdb.cell/ptype.exp: Likewise.
9404 * gdb.cell/registers.exp: Likewise.
9405 * gdb.cell/sizeof.exp: Likewise.
9406 * gdb.cell/solib-symbol.exp: Likewise.
9407 * gdb.cell/solib.exp: Likewise.
617cd4bc 9408
a81aaca0
PA
94092017-11-25 Pedro Alves <palves@redhat.com>
9410
9411 * gdb.base/complete-empty.exp: New file.
9412 * gdb.base/completion.exp: Adjust.
9413
6a3c6ee4
PA
94142017-11-25 Pedro Alves <palves@redhat.com>
9415
9416 * gdb.linespec/cpls-ops.cc: New file.
9417 * gdb.linespec/cpls-ops.exp: New file.
9418 * lib/completion-support.exp (test_complete_prefix_range_re): New,
9419 factored out from ...
9420 (test_complete_prefix_range): ... this.
9421
8955eb2d
PA
94222017-11-24 Pedro Alves <palves@redhat.com>
9423
9424 * gdb.linespec/cpcompletion.exp: New file.
9425 * gdb.linespec/cpls-hyphen.cc: New file.
9426 * gdb.linespec/cpls.cc: New file.
9427 * gdb.linespec/cpls2.cc: New file.
9428 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
9429 test to use test_gdb_complete_unique. Add label completion,
9430 keyword completion and explicit location completion tests.
9431 * lib/completion-support.exp: New file.
9432
e547c119
JB
94332017-11-24 Joel Brobecker <brobecker@adacore.com>
9434
9435 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
9436 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
9437 when hitting an exception catchpoint.
9438
7c3c1aa8
YQ
94392017-11-22 Yao Qi <yao.qi@linaro.org>
9440
9441 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
9442
41bd68f5
SM
94432017-11-22 Simon Marchi <simon.marchi@ericsson.com>
9444
9445 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
9446 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
9447 * gdb.dwarf2/info-locals-optimized-out.c: New file.
9448
1daad298
YQ
94492017-11-22 Yao Qi <yao.qi@linaro.org>
9450
9451 * gdb.base/info-os.exp: Pass pthreads.
9452 * gdb.multi/multi-attach.exp: Likewise.
9453
88465e87
YQ
94542017-11-22 Yao Qi <yao.qi@linaro.org>
9455
9456 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
9457 compiler.
9458
dc196b23
YQ
94592017-11-22 Yao Qi <yao.qi@linaro.org>
9460
9461 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
9462 * gdb.base/break-interp.exp: Likewise.
9463 * gdb.base/jit-attach-pie.exp: Likewise.
9464
2400729e
UW
94652017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
9466
9467 * gdb.base/float128.c (large128): New variable.
9468 * gdb.base/float128.exp: Add test to print largest __float128 value.
9469
7a26362d
UW
94702017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
9471
9472 * gdb.arch/vsx-regs.exp: Update register content checks.
9473
ed0f4273
UW
94742017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
9475
9476 * gdb.arch/ppc-longdouble.exp: New file.
9477 * gdb.arch/ppc-longdouble.c: Likewise.
9478
a25d69c6
PA
94792017-11-21 Pedro Alves <palves@redhat.com>
9480
9481 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
9482
73fcf641
PA
94832017-11-20 Pedro Alves <palves@redhat.com>
9484
9485 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
9486 (long_double_typedef): New typedefs.
9487 Use DEF on double and long double.
9488 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
9489 cases.
9490 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
9491 and 'long_double_ptr_same_size' locals. Use them to decide
9492 whether cast from array/function to float is valid/invalid.
9493
71a3c369
TT
94942017-11-17 Tom Tromey <tom@tromey.com>
9495
9496 * gdb.rust/traits.rs: New file.
9497 * gdb.rust/traits.exp: New file.
9498
ced9779b
JB
94992017-11-17 Joel Brobecker <brobecker@adacore.com>
9500
9501 * gdb.ada/minsyms: New testcase.
9502
a0922d80
PA
95032017-11-16 Pedro Alves <palves@redhat.com>
9504
9505 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
9506 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
9507
ea04e54c
PA
95082017-11-16 Pedro Alves <palves@redhat.com>
9509
9510 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
9511 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
9512
e849ea89
PA
95132017-11-16 Pedro Alves <palves@redhat.com>
9514
9515 * gdb.server/reconnect-ctrl-c.c: New file.
9516 * gdb.server/reconnect-ctrl-c.exp: New file.
9517
d8ae99a7
PM
95182017-11-16 Phil Muldoon <pmuldoon@redhat.com>
9519
9520 * gdb.python/py-rbreak.exp: New file.
9521 * gdb.python/py-rbreak.c: New file.
9522 * gdb.python/py-rbreak-func2.c: New file.
9523
968a13f8
PA
95242017-11-16 Pedro Alves <palves@redhat.com>
9525
9526 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
9527 pattern.
9528 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
9529 GDB.
9530
71774bc9
SM
95312017-11-15 Simon Marchi <simon.marchi@ericsson.com>
9532
9533 * gdb.tui/completionn.exp (test_tab_completion): Add space in
9534 regex.
9535
ddbb44cf
SM
95362017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
9537
9538 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
9539 test names.
9540
584a564f
PA
95412017-11-09 Pedro Alves <palves@redhat.com>
9542
9543 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
9544 factored out from ...
9545 (top level): ... here, and adjusted to avoid expecting beyond the
9546 prompt in a single gdb_test_multiple.
9547
5ed7a928
PA
95482017-11-09 Pedro Alves <palves@redhat.com>
9549
9550 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
9551 output.
9552 * gdb.server/ext-attach.exp ("kill" test): Likewise.
9553 * gdb.server/ext-restart.exp ("kill" test): Likewise.
9554 * gdb.server/ext-run.exp ("kill" test): Likewise.
9555 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
9556
a60e0738
PA
95572017-11-09 Pedro Alves <palves@redhat.com>
9558
9559 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
9560 match till end of line.
9561
2c88253f
PA
95622017-11-09 Pedro Alves <palves@redhat.com>
9563
9564 * gdb.base/memattr.exp: Tighten regexes to match the end line.
9565
c7a38517
PA
95662017-11-09 Pedro Alves <palves@redhat.com>
9567
9568 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
9569 New procedures, factored out from ...
9570 (top level): ... here, and adjusted to avoid expecting beyond the
9571 prompt in one go.
9572
f29f4b6b
PA
95732017-11-09 Pedro Alves <palves@redhat.com>
9574
9575 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
9576 output. Fix '?' match.
9577
286acbb5
JB
95782017-11-08 Joel Brobecker <brobecker@adacore.com>
9579
9580 * gdb.ada/scoped_watch: New testcase.
9581 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
9582 which is actually correct.
9583 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
9584 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
9585
62d7ae92
PA
95862017-11-08 Pedro Alves <palves@redhat.com>
9587
9588 * gdb.gdb/complaints.exp (test_initial_complaints)
9589 (test_serial_complaints, test_short_complaints): Call
9590 complaint_internal instead of complaint.
9591
280ca31f
DT
95922017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
9593
9594 * gdb.threads/tls-core.c: New file.
9595 * gdb.threads/tls-core.exp: Likewise.
9596
b5ec771e
PA
95972017-11-08 Pedro Alves <palves@redhat.com>
9598
9599 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
9600 (p Exported_Capitalized): New test.
9601 (p exported_capitalized): New test.
9602
a02b41a7
PA
96032017-11-07 Pedro Alves <palves@redhat.com>
9604
9605 * gdb.cp/ena-dis-br-range.exp: Add more tests.
9606
95e95a6d
PA
96072017-11-07 Pedro Alves <palves@redhat.com>
9608
9609 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
9610 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
9611 (disable_invalid, disable_inverted, disable_negative): New
9612 procedures.
9613 ("bad numbers"): New set of tests.
9614
cee62dbd
PA
96152017-11-07 Pedro Alves <palves@redhat.com>
9616
9617 * gdb.cp/ena-dis-br-range.exp: Add tests.
9618
cc638e86
PA
96192017-11-07 Pedro Alves <palves@redhat.com>
9620
9621 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
9622
d0fe4701
XR
96232017-11-07 Xavier Roirand <roirand@adacore.com>
9624 Pedro Alves <palves@redhat.com>
9625
9626 * gdb.base/ena-dis-br.exp: Add reference to
9627 gdb.cp/ena-dis-br-range.exp.
9628 * gdb.cp/ena-dis-br-range.exp: New file.
9629 * gdb.cp/ena-dis-br-range.cc: New file.
9630
46f67f80
PA
96312017-11-06 Pedro Alves <palves@redhat.com>
9632
9633 * gdb.base/attach-non-pgrp-leader.c: New.
9634 * gdb.base/attach-non-pgrp-leader.exp: New.
9635
726e1356
PA
96362017-11-06 Pedro Alves <palves@redhat.com>
9637
9638 * configure.ac: No longer check for termio.h and sgtty.h.
9639 * configure: Regenerate.
9640 * remote-utils.c: Include termios.h instead of gdb_termios.h.
9641 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
9642 Remove termio and sgtty code.
9643
50ab6ace
YQ
96442017-11-03 Yao Qi <yao.qi@linaro.org>
9645
9646 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
9647 in GDB is disabled.
9648
8e68731c
YQ
96492017-11-03 Yao Qi <yao.qi@linaro.org>
9650
9651 * gdb.python/py-thrhandle.exp: Skip it if python is not
9652 enabled.
9653
3a87ae65
SM
96542017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
9655
9656 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
9657 as a breakpoint command.
9658
484d8d36
MD
96592017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
9660
9661 PR python/21213
9662 * gdb.python/py-infthread.exp: Test calling
9663 InferiorThread.inferior () multiple times in a row.
9664
4a27f119
KS
96652017-10-27 Keith Seitz <keiths@redhat.com>
9666
9667 * gdb.opt/inline-break.exp (break_info_1): New procedure.
9668 Test "info break" for every inlined function breakpoint.
9669
bb11dd58
YQ
96702017-10-27 Yao Qi <yao.qi@linaro.org>
9671
9672 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
9673
a43f3893
PF
96742017-10-26 Patrick Frants <osscontribute@gmail.com>
9675
9676 * gdb.cp/classes.exp (test_static_members): Test printing
9677 Outer::instance.
9678 * gdb.cp/classes.c (struct Inner, struct Outer): New.
9679 (Inner::instance, Outer::instance): New.
9680
792ccf00
PA
96812017-10-24 Pedro Alves <palves@redhat.com>
9682
9683 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
9684 extra console" test in two stages.
9685
eb2bfbad
PA
96862017-10-24 Pedro Alves <palves@redhat.com>
9687
9688 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
9689
1f75a651
PA
96902017-10-24 Pedro Alves <palves@redhat.com>
9691
9692 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
9693 loop.
9694
779990d9
PA
96952017-10-24 Pedro Alves <palves@redhat.com>
9696
9697 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
9698 $attempt" and "stoppedtry $stoppedtry" test prefixes.
9699
ad9b8f5d
PA
97002017-10-24 Pedro Alves <palves@redhat.com>
9701
9702 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
9703 parameter and handle it. Don't output read value in test name.
9704
fee6da6e
PA
97052017-10-24 Pedro Alves <palves@redhat.com>
9706
9707 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
9708 custom test name.
9709
10389c2c
PA
97102017-10-24 Pedro Alves <palves@redhat.com>
9711
9712 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
9713 include the unstable output directory name in the test's name.
9714 (initial_setup_simple) <'set args'>: Use custom test name.
9715
a80e65a9
PA
97162017-10-24 Pedro Alves <palves@redhat.com>
9717
9718 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
9719 with explicit test name.
9720
15763a09
PA
97212017-10-20 Pedro Alves <palves@redhat.com>
9722
9723 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
9724 'wait -i'. Use gdb_assert and remote_close.
9725
49a4ce2e
AB
97262017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
9727
9728 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
9729 number from variable rather than hard-coded.
9730
a75868f5
PA
97312017-10-19 Pedro Alves <palves@redhat.com>
9732
9733 * gdb.base/long-inferior-output.c: New file.
9734 * gdb.base/long-inferior-output.exp: New file.
9735
c8ba13ad
KS
97362017-11-18 Keith Seitz <keiths@redhat.com>
9737
9738 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
9739 method.
9740 (main): Call it.
9741 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
9742 Add additional user-defined conversion operator tests.
9743
b27de576
PA
97442017-10-17 Pedro Alves <palves@redhat.com>
9745
9746 * boards/native-stdio-gdbserver.exp: Load "local-board".
9747
8484c955
PA
97482017-10-17 Pedro Alves <palves@redhat.com>
9749
9750 * gdb.base/quit-live.c: New file.
9751 * gdb.base/quit-live.exp: New file.
9752
83d5a34d
KS
97532017-10-16 Keith Seitz <keiths@redhat.com>
9754
9755 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
9756 (class_with_protected_typedef, class_with_private_typedef)
9757 (struct_with_public_typedef, struct_with_protected_typedef)
9758 (struct_with_private_typedef): New classes/structs.
9759 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
9760 typedefs and access specifiers.
9761
739b3f1d
PA
97622017-10-16 Pedro Alves <palves@redhat.com>
9763 Simon Marchi <simon.marchi@polymtl.ca>
9764
9765 * README (Local vs Remote vs Native): New section.
9766 * boards/local-board.exp: New file, with bits factored out from
9767 ...
9768 * boards/native-extended-gdbserver.exp: ... here. Load
9769 "local-board".
9770 * boards/native-gdbserver.exp: Load "local-board".
9771 (${board}_spawn, ${board}_exec): Delete.
9772 * boards/native-stdio-gdbserver.exp: Most contents factored out to
9773 ...
9774 * boards/stdio-gdbserver-base.exp: ... this new file.
9775 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
9776 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
9777 procedure.
9778 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
9779 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
9780 stdio_gdbserver_command.
9781 (${board}_get_remote_address, ${board}_get_comm_port)
9782 (${board}_download, ${board}_upload): Delete.
9783 (get_target_remote_pipe_cmd): New.
9784
fe68b953
SM
97852017-10-16 Simon Marchi <simon.marchi@ericsson.com>
9786
9787 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
9788 test_bkpt_deletion, test_bkpt_cond_and_cmds,
9789 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
9790 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
9791 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
9792 remove with_test_prefix.
9793
300b6685
PA
97942017-10-13 Pedro Alves <palves@redhat.com>
9795
9796 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
9797 * gdb.base/annota1.exp: Use it instead of is_remote.
9798 * gdb.base/annota3.exp: Use it instead of is_remote.
9799 * gdb.cp/annota2.exp: Use it instead of is_remote.
9800 * gdb.cp/annota3.exp: Use it instead of is_remote.
9801 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
9802
50500caf
PA
98032017-10-13 Pedro Alves <palves@redhat.com>
9804
9805 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
9806 (test_num_test_vars, run_and_count_vars, find_env)
9807 (test_set_unset_env, test_inherit_env_var): New procedures.
9808 (top level): Use them.
9809
dad0c6d2
PA
98102017-10-13 Pedro Alves <palves@redhat.com>
9811
9812 * lib/selftest-support.exp (selftest_setup): Extend comments, and
9813 also skip on stub-like targets.
9814
8b0553c1
PA
98152017-10-13 Pedro Alves <palves@redhat.com>
9816
9817 PR gdb/22293
9818 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
9819 (top level): Move some tests to ...
9820 (test_not_found): ... this new procedure.
9821 (top level): Call it.
9822
7594f623
PA
98232017-10-13 Pedro Alves <palves@redhat.com>
9824
9825 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
9826 expect different "info terminal" output if testing with a
9827 non-native target.
9828
ebe3b402
PA
98292017-10-13 Pedro Alves <palves@redhat.com>
9830 Simon Marchi <simon.marchi@polymtl.ca>
9831
9832 PR python/12966
9833 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
9834
42f1b161
PA
98352017-10-13 Pedro Alves <palves@redhat.com>
9836
9837 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
9838 already.
9839
8d6ef72b
PA
98402017-10-13 Pedro Alves <palves@redhat.com>
9841
9842 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
9843 is_remote.
9844
d7bcd5b8
PA
98452017-10-13 Pedro Alves <palves@redhat.com>
9846
9847 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
9848 is_remote.
9849
df479dc6
PA
98502017-10-13 Pedro Alves <palves@redhat.com>
9851
9852 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
9853 is set.
9854 (corefile_test_attach): Likewise. Check can_spawn_for_attach
9855 instead of is_remote.
9856
23fb630a
PA
98572017-10-13 Pedro Alves <palves@redhat.com>
9858
9859 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
9860 (top level): Add comment.
9861
cc77b1dc
PA
98622017-10-13 Pedro Alves <palves@redhat.com>
9863
9864 * gdb.base/remote.exp (top level): Fix comment typo and add
9865 missing return.
9866
27c9e813
PA
98672017-10-13 Pedro Alves <palves@redhat.com>
9868 Simon Marchi <simon.marchi@polymtl.ca>
9869
9870 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
9871 calls and add comments. Skip test if use_gdb_stub is set.
9872 (top level): Use "set cwd" command instead of "cd" command.
9873
5e830d98
PA
98742017-10-13 Pedro Alves <palves@redhat.com>
9875
9876 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
9877 is_remote target check.
9878
f5ca0032
PA
98792017-10-13 Pedro Alves <palves@redhat.com>
9880
9881 * gdb.base/scope.exp: Use build_executable + clean_restart +
9882 gdb_file_cmd instead of prepare_for_testing and no longer skip
9883 "before run" tests on is_remote target boards. Update comments.
9884 * boards/native-extended-gdbserver.exp
9885 (extended_gdbserver_load_last_file): New, factored out from ...
9886 (gdb_load): ... this. Move further below and add comment.
9887 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
9888
8aed1c0d
PA
98892017-10-12 Pedro Alves <palves@redhat.com>
9890
9891 * gdb.base/attach.exp: Remove references to gdb64.
9892 * gdb.base/dbx.exp: Remove references to gdb64.
9893
cfa34c87
SM
98942017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
9895 Pedro Alves <palves@redhat.com>
9896
9897 * gdb.base/label.exp: Remove is_remote target check.
9898
9192b7de
PA
98992017-10-12 Pedro Alves <palves@redhat.com>
9900
9901 * gdb.base/auvx.exp (coredir): Update comment.
9902 (top level) <core_works>: Use "set cwd" command instead of "cd"
9903 command.
9904
6bf0052d
PA
99052017-10-12 Pedro Alves <palves@redhat.com>
9906 Simon Marchi <simon.marchi@polymtl.ca>
9907
9908 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
9909 target boards.
9910
e48ef82d
PA
99112017-10-12 Pedro Alves <palves@redhat.com>
9912 Simon Marchi <simon.marchi@polymtl.ca>
9913
9914 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
9915 Instead skip if there's any gdb_protocol set.
9916
8d7aea57
SM
99172017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
9918 Pedro Alves <palves@redhat.com>
9919
9920 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
9921
30440677
PA
99222017-10-12 Pedro Alves <palves@redhat.com>
9923 Simon Marchi <simon.marchi@polymtl.ca>
9924
9925 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
9926 instead of on dejagnu remote boards.
9927
4e04f045 99282017-10-12 Pedro Alves <palves@redhat.com>
175654b9 9929 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
9930
9931 * gdb.base/inferior-died.exp: Remove is_remote and isnative
9932 checks. Use build_executable + clean_restart instead of
9933 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
9934 of enabling non-stop after starting gdb.
9935
871a186e
PA
99362017-10-12 Pedro Alves <palves@redhat.com>
9937
9938 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
9939 * gdb.threads/non-ldr-exc-2.exp: Ditto.
9940 * gdb.threads/non-ldr-exc-3.exp: Ditto.
9941 * gdb.threads/non-ldr-exc-4.exp: Ditto.
9942
56d704da
AK
99432017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
9944
9945 * gdb.arch/arc-tdesc-cpu.exp: New file.
9946 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
9947
2f20e312
SM
99482017-10-10 Simon Marchi <simon.marchi@ericsson.com>
9949
9950 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
9951
65630365
PA
99522017-10-10 Pedro Alves <palves@redhat.com>
9953
9954 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
9955 expect CLI output.
9956
bf469271
PA
99572017-10-10 Pedro Alves <palves@redhat.com>
9958
9959 * lib/selftest-support.exp (selftest_setup): Update for
9960 captured_command_loop's prototype change.
9961
777a42f1
PA
99622017-10-09 Pedro Alves <palves@redhat.com>
9963
9964 Test both arch1=>arch2 and arch2=>arch1.
9965
9966 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
9967 (srcfile2, binfile2, march1, march2): Remove globals. Largely
9968 factored out to...
9969 (append_arch1_options, append_arch2_options, append_arch_options)
9970 (build_executables): New procedures.
9971 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
9972 local.
9973 (top level): Add new 'first_arch' testing axis.
9974
cbd2b4e3
PA
99752017-10-09 Pedro Alves <palves@redhat.com>
9976
9977 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
9978 (barrier): New.
9979 (thread_start, all_started): New functions.
9980 (main): Spawn new thread and wait until it is scheduled.
9981 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
9982 option.
9983 (do_test): Add 'selected_thread' parameter. Run to all_started
9984 instead of main. Explicitly set the breakpoint at main. Switch
9985 to the SELECTED_THREAD thread.
9986 (top level): Test handling the exec event with either the main
9987 thread or the second thread selected.
9988
5c9e4427
PA
99892017-10-09 Pedro Alves <palves@redhat.com>
9990
9991 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
9992 logic. Move STOP marker after the value checks.
9993 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
9994 regexp.
9995
b3b7c423
SL
99962017-10-06 Sandra Loosemore <sandra@codesourcery.com>
9997
9998 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
9999
3b4b2f16
UW
100002017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
10001
10002 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
10003 integer-to-dfp conversion.
10004 * gdb.base/dfp-test.exp: Likewise.
10005
5cd63fda
PA
100062017-10-04 Pedro Alves <palves@redhat.com>
10007
10008 * gdb.multi/hangout.c: Include <unistd.h>.
10009 (hangout_loop): New function.
10010 (main): Call alarm. Call hangout_loop in a loop.
10011 * gdb.multi/hello.c: Include <unistd.h>.
10012 (hello_loop): New function.
10013 (main): Call alarm. Call hangout_loop in a loop.
10014 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
10015 inferior with the other selected.
10016
4c71c105
SM
100172017-10-04 Simon Marchi <simon.marchi@ericsson.com>
10018
10019 * gdb.mi/list-thread-groups-available.exp: New file.
10020 * gdb.mi/list-thread-groups-available.c: New file.
10021
bc3b087d
SDJ
100222017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
10023
10024 * gdb.base/set-cwd.exp: Make it available on
10025 native-extended-gdbserver.
10026
d092c5a2
SDJ
100272017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
10028
10029 * gdb.base/set-cwd.c: New file.
10030 * gdb.base/set-cwd.exp: Likewise.
10031
45320ffa
TT
100322017-10-02 Tom Tromey <tom@tromey.com>
10033
10034 PR rust/22236:
10035 * gdb.rust/simple.rs (main): New variable "fslice".
10036 * gdb.rust/simple.exp: Add slice tests. Update string tests.
10037
b3e3859b
TT
100382017-10-02 Tom Tromey <tom@tromey.com>
10039
10040 * gdb.rust/simple.exp: Test ptype of a slice.
10041
01af5e0d
TT
100422017-10-02 Tom Tromey <tom@tromey.com>
10043
10044 * gdb.rust/simple.exp: Test index of slice.
10045
a9bbfbd8
TT
100462017-09-27 Tom Tromey <tom@tromey.com>
10047
10048 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
10049
df8899e5
TP
100502017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
10051 Pedro Alves <palves@redhat.com>
10052
10053 * gdb.base/compare-sections.exp (get value of read-only section): Read
10054 as unsigned value.
10055 (corrupt read-only section): Likewise and don't set written if patching
10056 failed.
10057
757bf54b
KB
100582017-09-21 Kevin Buettner <kevinb@redhat.com>
10059
10060 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
10061 files.
10062
06871ae8
PA
100632017-09-20 Pedro Alves <palves@redhat.com>
10064
10065 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
10066 symbol names in gdb's output.
10067 * gdb.cp/overload.exp ("list all overloads"): Likewise.
10068
e5f25bc5
PA
100692017-09-20 Pedro Alves <palves@redhat.com>
10070
10071 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
10072 Rename to ...
10073 (test_list_ambiguous_symbol): ... this and add a symbol name
10074 parameter. Adjust.
10075 (test_list_ambiguous_function): Reimplement on top of
10076 test_list_ambiguous_symbol and also test listing ambiguous
10077 variables.
10078 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
10079 (ambiguous_fun): ... this.
10080 (ambiguous_var): New.
10081 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
10082 (ambiguous_fun): ... this.
10083 (ambiguous_var): New.
10084
4e5a4f58
JB
100852017-09-19 John Baldwin <jhb@FreeBSD.org>
10086
10087 * gdb.base/starti.c: New file.
10088 * gdb.base/starti.exp: New file.
10089 * lib/gdb.exp (gdb_starti_cmd): New procedure.
10090
26e53f3e
PA
100912017-09-14 Pedro Alves <palves@redhat.com>
10092
10093 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
10094 (top level): Use it instead of runto.
10095
cb791d59
TT
100962017-09-11 Tom Tromey <tom@tromey.com>
10097
10098 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
10099
7c96f8c1
TT
101002017-09-11 Tom Tromey <tom@tromey.com>
10101
10102 * gdb.python/py-infthread.exp: Add tests for new_thread event.
10103 * gdb.python/py-inferior.exp: Add tests for new inferior events.
10104
469412dd
CW
101052017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
10106
10107 * gdb.fortran/printing-types.exp: New file.
10108 * gdb.fortran/printing-types.exp: New file.
10109
e0f86435
BH
101102017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
10111
10112 * gdb.fortran/vla-ptype.exp: Fix typos.
10113 * gdb.fortran/vla-value.exp: Same.
10114
9e9af4be
BH
101152017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
10116
10117 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
10118 * gdb.mi/mi-var-child-f.exp: Likewise.
10119 * gdb.mi/mi-vla-fortran.exp: Likewise.
10120
a5ad232b 101212017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
10122 Christoph Weinmann <christoph.t.weinmann@intel.com>
10123 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
10124
10125 * gdb.fortran/ptr-indentation.f90: New file.
10126 * gdb.fortran/ptr-indentation.exp: New file.
10127
5aec60eb
TT
101282017-09-05 Tom Tromey <tom@tromey.com>
10129
10130 PR gdb/22010:
10131 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
10132
8f8f8152
TP
101332017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
10134
10135 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
10136
fbd1b771
JK
101372017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10138
10139 * gdb.threads/tls-nodebug-pie.c: New file.
10140 * gdb.threads/tls-nodebug-pie.exp: New file.
10141
5eb5f850
TT
101422017-09-05 Tom Tromey <tom@tromey.com>
10143
10144 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
10145 for rust.
10146
ae780a21
SM
101472017-09-05 Simon Marchi <simon.marchi@ericsson.com>
10148
10149 * gdb.multi/multi-arch-exec.exp: Test with different
10150 "follow-exec-mode" settings.
10151 (do_test): New procedure.
10152
3693fdb3
PA
101532017-09-04 Pedro Alves <palves@redhat.com>
10154
10155 * gdb.base/func-static.c (S::method const, S::method volatile)
10156 (S::method volatile const): New methods.
10157 (c_s, v_s, cv_s): New instances.
10158 (main): Call method() on them.
10159 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
10160 (cannot_resolve): New procedure.
10161 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
10162 print-quote-unquoted columns.
10163 (do_test): Test printing each scope too.
10164
e68cb8e0
PA
101652017-09-04 Pedro Alves <palves@redhat.com>
10166
10167 * gdb.base/local-static.exp: Also test with
10168 class::method::variable wholly quoted.
10169 * gdb.cp/m-static.exp (class::method::variable): Remove test.
10170
858be34c
PA
101712017-09-04 Pedro Alves <palves@redhat.com>
10172
10173 * gdb.base/local-static.c: New.
10174 * gdb.base/local-static.cc: New.
10175 * gdb.base/local-static.exp: New.
10176
46a4882b
PA
101772017-09-04 Pedro Alves <palves@redhat.com>
10178
10179 * gdb.asm/asm-source.exp: Add casts to int.
10180 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
10181 (dataglobal64_1, dataglobal64_2): New globals.
10182 * gdb.base/nodebug.exp: Test different expressions involving the
10183 new globals, with print, whatis and ptype. Add casts to int.
10184 * gdb.base/solib-display.exp: Add casts to int.
10185 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
10186 * gdb.cp/m-static.exp: Add cast to int.
10187 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
10188 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
10189 tls variable with no debug info without a cast. Test with a cast
10190 to int too.
10191 * gdb.trace/entry-values.exp: Add casts.
10192
2c5a2be1
PA
101932017-09-04 Pedro Alves <palves@redhat.com>
10194
10195 * gdb.base/nodebug.exp: Test that ptype's error about functions
10196 with unknown return type includes the function name too.
10197
7022349d
PA
101982017-09-04 Pedro Alves <palves@redhat.com>
10199
10200 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
10201 return type of munmap in infcall.
10202 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
10203 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
10204 type of ftell in infcall.
10205 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
10206 type of getpid in infcall.
10207 * gdb.base/infcall-exec.exp: Cast return type of execlp in
10208 infcall.
10209 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
10210 Bail on failure to extract the pid.
10211 * gdb.base/nodebug.c: #include <stdint.h>.
10212 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
10213 New functions.
10214 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
10215 Change expected output of print/whatis/ptype with functions with
10216 no debug info. Test all supported languages. Call
10217 test_call_promotion.
10218 * gdb.compile/compile.exp: Adjust expected output to expect
10219 warning.
10220 * gdb.threads/siginfo-threads.exp: Likewise.
10221
54990598
PA
102222017-09-04 Pedro Alves <palves@redhat.com>
10223
10224 * gdb.base/callfuncs.exp (do_function_calls): New parameter
10225 "prototypes". Test calling float functions via prototyped and
10226 unprototyped function pointers.
10227 (perform_all_tests): New parameter "prototypes". Pass it down.
10228 (top level): Pass down "prototypes" parameter to
10229 perform_all_tests.
10230
34d16ea2
SM
102312017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10232
10233 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
10234 Test with nested loops.
10235
9521ecda
SM
102362017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10237
10238 * gdb.base/commands.exp: Call the new procedures.
10239 (loop_break_test, loop_continue_test): New procedures.
10240
80a65e9b
SM
102412017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10242
10243 * gdb.base/commands.exp: Call new procedure.
10244 (define_if_without_arg_test): New procedure.
10245
e439fa14
PA
102462017-09-04 Pedro Alves <palves@redhat.com>
10247
10248 * gdb.base/list-ambiguous.exp: New file.
10249 * gdb.base/list-ambiguous0.c: New file.
10250 * gdb.base/list-ambiguous1.c: New file.
10251 * gdb.base/list.exp (test_list_range): Adjust expected output.
10252
0a2dde4a
SDJ
102532017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
10254
10255 * gdb.base/share-env-with-gdbserver.c: New file.
10256 * gdb.base/share-env-with-gdbserver.exp: Likewise.
10257
5e89eb3a
SM
102582017-08-28 Simon Marchi <simon.marchi@ericsson.com>
10259
10260 * gdb.base/commands.exp (gdbvar_simple_if_test,
10261 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
10262 progvar_simple_if_test, progvar_simple_while_test,
10263 progvar_complex_if_while_test, user_defined_command_test,
10264 user_defined_command_args_eval,
10265 user_defined_command_args_stack_test,
10266 user_defined_command_manyargs_test, bp_deleted_in_command_test,
10267 temporary_breakpoint_commands,
10268 gdb_test_no_prompt, redefine_hook_test,
10269 redefine_backtrace_test): Remove "global gdb_prompt".
10270
fd437cbc
SM
102712017-08-28 Simon Marchi <simon.marchi@ericsson.com>
10272
10273 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
10274 New proc, call it from toplevel.
10275
87215ad1
SDJ
102762017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
10277
10278 PR remote/21852
10279 * gdb.server/normal.c: New file, copied from gdb.base.
10280 * gdb.server/run-without-local-binary.exp: New file.
10281
58afddc6
WP
102822017-08-07 Weimin Pan <weimin.pan@oracle.com>
10283
10284 * gdb.arch/sparc64-adi.exp: New file.
10285 * gdb.arch/sparc64-adi.c: New file.
10286
5277199a
PA
102872017-08-22 Pedro Alves <palves@redhat.com>
10288
10289 * gdb.cp/overload.exp (line_range_pattern): New procedure.
10290 (top level): Add "list all overloads" tests.
10291
14278e1f
TT
102922017-08-22 Tom Tromey <tom@tromey.com>
10293
10294 * gdb.gdb/xfullpath.exp: Remove.
10295
bf223d3e
PA
102962017-08-21 Pedro Alves <palves@redhat.com>
10297
10298 PR gdb/19487
10299 * gdb.base/symbol-alias.c: New.
10300 * gdb.base/symbol-alias2.c: New.
10301 * gdb.base/symbol-alias.exp: New.
10302
c973d0aa
PA
103032017-08-21 Pedro Alves <palves@redhat.com>
10304
10305 * gdb.base/dfp-test.c
10306 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
10307 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
10308 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
10309 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
10310 * gdb.base/whatis-ptype-typedefs.c: New.
10311 * gdb.base/whatis-ptype-typedefs.exp: New.
10312 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
10313 (an_int, an_int_type, an_int_type2): New globals.
10314 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
10315 involving typedefs and cast expressions.
10316 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
10317 (lookup_typedefs_function): New.
10318 (typedefs_pretty_printers_dict): New.
10319 (top level): Register lookup_typedefs_function in
10320 gdb.pretty_printers.
10321
6d580b63
YQ
103222017-08-18 Yao Qi <yao.qi@linaro.org>
10323
10324 * gdb.server/unittest.exp: New.
10325
206726fb
SDJ
103262017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
10327
10328 PR gdb/21954
10329 * gdb.base/environ.exp: Add test to check if 'unset environment'
10330 works.
10331
bf0ec4c2
AA
103322017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10333
10334 * lib/gdb.exp (universal_compile_options): New caching proc.
10335 (gdb_compile): Suppress GCC's coloring of messages.
10336
d6382fff
TT
103372017-08-14 Tom Tromey <tom@tromey.com>
10338
10339 PR gdb/21675:
10340 * gdb.base/printcmds.exp (test_radices): New function.
10341 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
10342 * gdb.base/sizeof.exp (check_valueof): Use p/d.
10343 * lib/gdb.exp (get_integer_valueof): Use p/d.
10344
c2c2dd9f
SM
103452017-08-12 Simon Marchi <simon.marchi@ericsson.com>
10346
10347 * lib/gdb.exp (get_valueof): Don't capture end-of-line
10348 characters.
10349
fdffd6f4
TT
103502017-08-05 Tom Tromey <tom@tromey.com>
10351
10352 * gdb.rust/simple.exp: Allow String to appear in a different
10353 namespace.
10354
27d41eac
YQ
103552017-07-26 Yao Qi <yao.qi@linaro.org>
10356
10357 * gdb.gdb/unittest.exp: Invoke command
10358 "maintenance check xml-descriptions".
10359
031ed05d
AA
103602017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10361
10362 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
10363 calling context.
10364 (hex128): Drop erroneous calculation of parameters.
10365
dcd27ddf
SM
103662017-07-22 Simon Marchi <simon.marchi@ericsson.com>
10367
10368 * gdb.python/py-unwind.exp: Disable stack protection when
10369 building test file.
10370
47e77640
PA
103712017-07-20 Pedro Alves <palves@redhat.com>
10372
10373 * gdb.base/default.exp (set language): Adjust expected output.
10374
62d2a18a
PA
103752017-07-20 Pedro Alves <palves@redhat.com>
10376
10377 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
10378 (test_minsym): ... this, and make static.
10379 (get_pck__foo__bar__minsym): Rename to ...
10380 (get_test_minsym): ... this.
10381 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
10382 symbol names and comments.
10383 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
10384 (get_test_minsym): ... this.
10385 (pck__foo__bar__minsym__2): Rename to ...
10386 (test_minsym): ... this.
10387 (main): Adjust.
10388
c45ec17c
PA
103892017-07-17 Pedro Alves <palves@redhat.com>
10390
10391 * gdb.base/completion.exp: Adjust expected output.
10392 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
10393 the completer works.
10394
c6756f62
PA
103952017-07-17 Pedro Alves <palves@redhat.com>
10396
10397 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
10398
5bd68487
AB
103992017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
10400
10401 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
10402
8880f2a9
TT
104032017-07-14 Tom Tromey <tom@tromey.com>
10404
10405 PR rust/21764:
10406 * gdb.rust/simple.exp: Add tests.
10407
65547233
TT
104082017-07-14 Tom Tromey <tom@tromey.com>
10409
10410 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
10411
8f14146e
PA
104122017-07-14 Pedro Alves <palves@redhat.com>
10413
10414 * gdb.linespec/base/one/thefile.cc (z1): New function.
10415 * gdb.linespec/base/two/thefile.cc (z2): New function.
10416 * gdb.linespec/linespec.exp: Add tests.
10417
b4365d02
AB
104182017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
10419
10420 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
10421 to mi_create_breakpoint.
10422
5d2cbaa5
AB
104232017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
10424
10425 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
10426 mi_create_breakpoint.
10427
11cb5716
IB
104282017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
10429
10430 * gdb.dlang/demangle.exp: Update for demangling changes.
10431
03278692
TT
104322017-07-09 Tom Tromey <tom@tromey.com>
10433
10434 * gdb.dwarf2/shortpiece.exp: New file.
10435
33c5cd75
DB
104362017-07-06 David Blaikie <dblaikie@gmail.com>
10437
10438 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
10439 built from fissiont-multi-cu{1,2}.c.
10440 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
10441 except putting 'main' and 'func' in separate CUs in the same DWO file.
10442 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
10443 test.
10444 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
10445 test.
10446
8455d262
PA
104472017-07-06 Pedro Alves <palves@redhat.com>
10448
10449 * gdb.python/py-unwind.exp: Test flushregs.
10450
dc4bde35
SDJ
104512017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
10452
10453 PR cli/21688
10454 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
10455 tests for alias commands and trailing whitespace.
10456
51ed89aa
SDJ
104572017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
10458
10459 PR cli/21688
10460 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
10461 procedure. Call it.
10462
eb17d413
PA
104632017-06-29 Pedro Alves <palves@redhat.com>
10464
10465 * gdb.base/printcmds.exp: Add tests.
10466
41664b45
DG
104672017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
10468
10469 PR gdb/21337
10470 * gdb.base/reread-readsym.exp: New file.
10471 * gdb.base/reread-readsym.c: New file.
10472
75312ae3
KB
104732017-06-21 Kevin Buettner <kevinb@redhat.com>
10474
10475 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
10476 subpattern.
10477
66953522
PB
104782017-06-19 Peter Bergner <bergner@vnet.ibm.com>
10479
10480 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
10481 extended mnemonic.
10482 * gdb.arch/powerpc-power9.s: Likewise.
10483
5524b525
AA
104842017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10485
10486 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
10487 on 32-bit x86 targets. Exploit is_*_target macros where
10488 appropriate.
10489
03c8af18
AA
104902017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10491
10492 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
10493 register pieces.
10494
3bf31011
AA
104952017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10496
10497 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
10498 located in one or more DWARF pieces.
10499
805acca0
AA
105002017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10501
10502 * lib/gdb.exp (get_endianness): New proc.
10503 * gdb.arch/aarch64-fp.exp: Use it.
10504 * gdb.arch/altivec-regs.exp: Likewise.
10505 * gdb.arch/e500-regs.exp: Likewise.
10506 * gdb.arch/vsx-regs.exp: Likewise.
10507 * gdb.base/dump.exp: Likewise.
10508 * gdb.base/funcargs.exp: Likewise.
10509 * gdb.base/gnu_vector.exp: Likewise.
10510 * gdb.dwarf2/formdata16.exp: Likewise.
10511 * gdb.dwarf2/implptrpiece.exp: Likewise.
10512 * gdb.dwarf2/nonvar-access.exp: Likewise.
10513 * gdb.python/py-inferior.exp: Likewise.
10514 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
10515
e9352324
AA
105162017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10517
10518 PR gdb/21226
10519 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
10520 stack value pieces are taken from the LSB end.
10521
d5d1163e
AA
105222017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10523
10524 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
10525 variable at nonzero offset.
10526
0567c986
AA
105272017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10528
10529 * gdb.dwarf2/var-access.c: New file.
10530 * gdb.dwarf2/var-access.exp: New test.
10531 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
10532
973e9aab
TT
105332017-06-12 Tom Tromey <tom@tromey.com>
10534
10535 * gdb.dwarf2/formdata16.exp: Add tests.
10536
d9109c80
TT
105372017-06-12 Tom Tromey <tom@tromey.com>
10538
10539 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
10540
30a25466
TT
105412017-06-12 Tom Tromey <tom@tromey.com>
10542
10543 PR exp/16225:
10544 * gdb.reverse/i386-sse-reverse.exp: Update tests.
10545 * gdb.arch/vsx-regs.exp: Update tests.
10546 * gdb.arch/s390-vregs.exp (hex128): New proc.
10547 Update test.
10548 * gdb.arch/altivec-regs.exp: Update tests.
10549
aefd8b33
SDJ
105502017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
10551
10552 * gdb.base/startup-with-shell.c: New file.
10553 * gdb.base/startup-with-shell.exp: Likewise.
10554
2090129c
SDJ
105552017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
10556
10557 * gdb.server/non-existing-program.exp: Update regex in order to
10558 reflect the fact that gdbserver is now using fork_inferior (with a
10559 shell) to startup the inferior.
10560
8e86a419
SM
105612017-05-30 Simon Marchi <simon.marchi@ericsson.com>
10562
10563 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
10564 support function calls from GDB.
10565
e6cf65f2
TT
105662017-05-21 Tom Tromey <tom@tromey.com>
10567
10568 PR rust/21466:
10569 * gdb.rust/unsized.exp: New file.
10570 * gdb.rust/unsized.rs: New file.
10571
43cc5389
TT
105722017-05-19 Tom Tromey <tom@tromey.com>
10573
10574 PR rust/21484:
10575 * gdb.rust/watch.exp: New file.
10576 * gdb.rust/watch.rs: New file.
10577
ec8df234
TT
105782017-05-18 Tom Tromey <tom@tromey.com>
10579
10580 * gdb.rust/simple.exp: Allow Box to be qualified.
10581
3e3e7fae
TP
105822017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
10583
10584 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
10585
59cc050d
PA
105862017-05-18 Pedro Alves <palves@redhat.com>
10587
10588 * gdb.base/fileio.c (test_write, test_read, test_close)
10589 (test_fstat): Don't print 'ret' in the fail path.
10590
c8f6abd1
PA
105912017-05-18 Pedro Alves <palves@redhat.com>
10592
10593 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
10594 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
10595 (test_system, test_rename, test_unlink, test_time): Change
10596 prototypes.
10597 * gdb.base/fileio.exp (stop_msg): Adjust.
10598
d2a03b77
PA
105992017-05-18 Pedro Alves <palves@redhat.com>
10600
10601 * gdb.base/fileio.c (null_str): New global.
10602 (test_stat): Use it.
10603 * gdb.base/fileio.exp: Remove nowarnings.
10604
0d5c6999
YQ
106052017-05-17 Yao Qi <yao.qi@linaro.org>
10606
10607 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
10608
21873064
YQ
106092017-05-17 Simon Marchi <simon.marchi@ericsson.com>
10610
10611 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
10612 argument command.
10613 (top-level): Invoke test_set_inferior_tty.
10614
d512d31c
PA
106152017-05-04 Pedro Alves <palves@redhat.com>
10616
10617 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
10618 Add parens to print call for Python 3.
10619
90cef2ed
KS
106202017-05-03 Keith Seitz <keiths@redhat.com>
10621
10622 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
10623 (main): Call it.
10624
14f819c8
TW
106252017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10626
10627 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
10628 to prev and next.
10629
913aeadd
TW
106302017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10631
10632 * gdb.python/py-record-btrace.exp: Remove test for
10633 gdb.BtraceInstruction.error.
10634
a3be24ad
TW
106352017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10636
10637 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
10638
ae20e79a
TW
106392017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10640
10641 * gdb.python/py-record-btrace-threads.c: New file.
10642 * gdb.python/py-record-btrace-threads.exp: New file.
10643
45ce1b47
SDJ
106442017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
10645
10646 PR testsuite/8595
10647 * gdb.base/environ.exp: Make test available in all architectures.
10648 Move bits related to "info program" testing to
10649 gdb.base/info-program.exp. Rewrite tests to use the two new
10650 procedures mentione below.
10651 (test_set_show_env_var) New procedure.
10652 (test_set_show_env_var_equal): Likewise.
10653 * gdb.base/info-program.exp: New file.
10654
e15c3eb4
KS
106552017-04-27 Keith Seitz <keiths@redhat.com>
10656
10657 * gdb.cp/oranking.cc (test15): New function.
10658 (main): Call test15 and declare additional variables for testing.
10659 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
10660 "p foo101('abc')" tests.
10661 Add tests for cv qualifier overloads.
10662 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
10663 "lvalue reference overload" test.
10664 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
10665 "print value of f1 on Child&& in f2" test.
10666
3a3fd0fd
PA
106672017-04-19 Pedro Alves <palves@redhat.com>
10668
10669 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
10670 procedure.
10671 (top level): Call it.
10672 * lib/gdb.exp (gdb_define_cmd): New procedure.
10673
53375380
PA
106742017-04-12 Pedro Alves <palves@redhat.com>
10675
10676 PR gdb/21323
10677 * gdb.cp/wide_char_types.c: Include <wchar.h>.
10678 (wchar): New global.
10679 * gdb.cp/wide_char_types.exp (wide_char_types_program)
10680 (do_test_wide_char, wide_char_types_no_program, top level): Add
10681 wchar_t testing.
10682
53e710ac
PA
106832017-04-12 Pedro Alves <palves@redhat.com>
10684
10685 PR c++/21323
10686 * gdb.cp/wide_char_types.c: New file.
10687 * gdb.cp/wide_char_types.exp: New file.
10688
0ad9d8c7
SDJ
106892017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
10690
10691 PR gdb/21352
10692 * gdb.trace/tsv.exp: Add test for "tsave -r".
10693
b1b45502
IB
106942017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
10695
10696 * gdb.dlang/watch-loc.c: New file.
10697 * gdb.dlang/watch-loc.exp: New file.
10698
ec13808e
JK
106992017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10700
10701 * gdb.python/py-section-script.exp (sepdebug): New testcases.
10702
fe5f7374
AK
107032017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
10704
10705 * gdb.arch/arc-analyze-prologue.S: New file.
10706 * gdb.arch/arc-analyze-prologue.exp: Likewise.
10707
eea78757
AK
107082017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
10709
10710 * gdb.arch/arc-decode-insn.S: New file.
10711 * gdb.arch/arc-decode-insn.exp: Likewise.
10712
5badf10a
IR
107132017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
10714
10715 PR tdep/20928
10716 * gdb.arch/sparc64-regs.exp: New file.
10717 * gdb.arch/sparc64-regs.S: Likewise.
10718
cee59b3f
TW
107192017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
10720
10721 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
10722 and memory view on Python 3.
10723
c0f55cc6
AV
107242017-03-20 Artemiy Volkov <artemiyv@acm.org>
10725 Keith Seitz <keiths@redhat.com>
10726
10727 PR gdb/14441
10728 * gdb.cp/demangle.exp: Add rvalue reference tests.
10729 * gdb.cp/rvalue-ref-casts.cc: New file.
10730 * gdb.cp/rvalue-ref-casts.exp: New file.
10731 * gdb.cp/rvalue-ref-overload.cc: New file.
10732 * gdb.cp/rvalue-ref-overload.exp: New file.
10733 * gdb.cp/rvalue-ref-params.cc: New file.
10734 * gdb.cp/rvalue-ref-params.exp: New file.
10735 * gdb.cp/rvalue-ref-sizeof.cc: New file.
10736 * gdb.cp/rvalue-ref-sizeof.exp: New file.
10737 * gdb.cp/rvalue-ref-types.cc: New file.
10738 * gdb.cp/rvalue-ref-types.exp: New file.
10739 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
10740 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
10741
51457a05
MAL
107422017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
10743
10744 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
10745 New procedure.
10746
5b291c04
MAL
107472017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
10748
10749 * lib/mi-support.exp (mi_gdb_test): Add additional message
10750 for unexpected output.
10751
59a56148
AA
107522017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10753
10754 * gdb.base/examine-backward.c (Barrier): New character array
10755 constant, to ensure that TestStrings is preceded by a string
10756 terminator.
10757
7942e96e
AA
107582017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10759
10760 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
10761 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
10762 and implicit pointer into such a location.
10763
6ebac3fb
DE
107642017-03-16 Doug Evans <dje@google.com>
10765
10766 * gdb.python/py-lazy-string (pointer): Really add new typedef.
10767
ec3b243d
TP
107682017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
10769
10770 * gdb.cp/m-static.exp: Fix expectation for prototype of
10771 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
10772
107732017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
10774
10775 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
10776 * gdb.guile/scm-lazy-string.c: New file.
10777 * gdb.guile/scm-value.exp: Move lazy string tests to ...
10778 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
10779 for pointer, array, typedef lazy strings.
10780
2cc36e25 107812017-03-16 Doug Evans <dje@google.com>
34b43320
DE
10782
10783 PR python/17728, python/18439, python/18779
10784 * gdb.python/py-value.c (main) Delete locals sptr, sn.
10785 * gdb.python/py-lazy-string.c (pointer): New typedef.
10786 (main): New locals ptr, array, typedef_ptr.
10787 * gdb.python/py-value.exp: Move lazy string tests to ...
10788 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
10789 array, typedef lazy strings.
ec3b243d 10790
0efcde63
AK
107912017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
10792
10793 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
10794 Add optional 'test' parameter.
10795
7978d7c3
SM
107962017-03-13 Simon Marchi <simon.marchi@ericsson.com>
10797
10798 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
10799 Skip for versions of DejaGnu < 1.5.
10800
896c0c1e
SM
108012017-03-13 Simon Marchi <simon.marchi@ericsson.com>
10802
10803 * lib/gdb.exp (dejagnu_version): New proc.
10804 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10805 Use dejagnu_version.
10806
5f4d1085
KS
108072017-03-10 Keith Seitz <keiths@redhat.com>
10808
10809 PR c++/8128
10810 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
10811 type from destructor regexps.
10812 Add a branch which actually passes the test.
10813 Adjust "ptype t5i" test names.
10814
1de05205
PA
108152017-03-08 Pedro Alves <palves@redhat.com>
10816
10817 * gdb.base/step-over-exit.exp: Add explicit test message.
10818
c65d6b55
PA
108192017-03-08 Pedro Alves <palves@redhat.com>
10820
10821 PR gdb/18360
10822 * gdb.threads/interrupt-while-step-over.c: New file.
10823 * gdb.threads/interrupt-while-step-over.exp: New file.
10824
2e86a283
PA
108252017-03-08 Pedro Alves <palves@redhat.com>
10826
10827 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
10828 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
10829
25dcbff6
PA
108302017-03-08 Pedro Alves <palves@redhat.com>
10831
10832 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
10833 PKRU as not supported as a PASS.
10834
dc9366eb
PA
108352017-03-08 Pedro Alves <palves@redhat.com>
10836
10837 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
10838 prefix instead of $binfile1/$binfile2.
10839 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
10840 in test message.
10841 * gdb.python/py-completion.exp: Use "load python file" as test
10842 messages instead of unstable path names.
10843
6e5d74e7
PA
108442017-03-08 Pedro Alves <palves@redhat.com>
10845 Jan Kratochvil <jan.kratochvil@redhat.com>
10846
10847 PR cli/21218
10848 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
10849 New proc.
10850 (top level): Call it.
10851
9753a2f6
PA
108522017-03-08 Pedro Alves <palves@redhat.com>
10853
10854 PR tui/21216
10855 * gdb.tui/tui-nl-filtered-output.exp: New file.
10856
1a4dd9dd
PA
108572017-03-08 Pedro Alves <palves@redhat.com>
10858
10859 * gdb.base/completion.exp: Move TUI completion tests to ...
10860 * gdb.tui/completion.exp: ... this new file.
10861
7cbbff33
PA
108622017-03-08 Pedro Alves <palves@redhat.com>
10863
10864 * gdb.base/tui-disasm-long-lines.c,
10865 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
10866 gdb.base/tui-layout.exp: Move to ...
10867 * gdb.tui/: ... this new directory.
10868
5f6fd321
PA
108692017-03-07 Pedro Alves <palves@redhat.com>
10870
10871 * gdb.base/tui-layout.c: New file.
10872 * gdb.base/tui-layout.exp: New file.
10873
44959fa8
PA
108742017-03-07 Pedro Alves <palves@redhat.com>
10875
10876 * gdb.base/tui-layout.c: Rename to ...
10877 * gdb.base/tui-disasm-long-lines.c: ... this.
10878 * gdb.base/tui-layout.exp: Rename to ...
10879 * gdb.base/tui-disasm-long-lines.exp: ... this.
10880
f8c4e718
PA
108812017-03-07 Pedro Alves <palves@redhat.com>
10882
10883 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
10884
6dbb839a 108852017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
10886
10887 * i386-mpx-call.c: New file.
10888 * i386-mpx-call.exp: New file.
10889
65b48a81
PB
108902017-02-28 Peter Bergner <bergner@vnet.ibm.com>
10891
10892 * gdb.arch/powerpc-power.exp: Delete test.
10893 * gdb.arch/powerpc-power.s: Likewise.
10894 * gdb.disasm/disassembler-options.exp: New test.
10895 * gdb.arch/powerpc-altivec.exp: Likewise.
10896 * gdb.arch/powerpc-altivec.s: Likewise.
10897 * gdb.arch/powerpc-altivec2.exp: Likewise.
10898 * gdb.arch/powerpc-altivec2.s: Likewise.
10899 * gdb.arch/powerpc-altivec3.exp: Likewise.
10900 * gdb.arch/powerpc-altivec3.s: Likewise.
10901 * gdb.arch/powerpc-power7.exp: Likewise.
10902 * gdb.arch/powerpc-power7.s: Likewise.
10903 * gdb.arch/powerpc-power8.exp: Likewise.
10904 * gdb.arch/powerpc-power8.s: Likewise.
10905 * gdb.arch/powerpc-power9.exp: Likewise.
10906 * gdb.arch/powerpc-power9.s: Likewise.
10907 * gdb.arch/powerpc-vsx.exp: Likewise.
10908 * gdb.arch/powerpc-vsx.s: Likewise.
10909 * gdb.arch/powerpc-vsx2.exp: Likewise.
10910 * gdb.arch/powerpc-vsx2.s: Likewise.
10911 * gdb.arch/powerpc-vsx3.exp: Likewise.
10912 * gdb.arch/powerpc-vsx3.s: Likewise.
10913 * gdb.arch/arm-disassembler-options.exp: Likewise.
10914 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
10915 * gdb.arch/s390-disassembler-options.exp: Likewise.
10916
17cd4947
LM
109172017-02-23 Luis Machado <lgustavo@codesourcery.com>
10918
10919 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
10920 (check_supported_features): ... this. Changed return type to void.
10921 (supports_rdseed): New static global.
10922 (rdseed): Check supports_rdseed.
10923 (initialize): Call check_supported_features.
10924
2039d74e
EBM
109252017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10926
10927 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
10928 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
10929 and lqarx/stqcx.
10930 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
10931 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
10932
a51d7ecf
EBM
109332017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10934
10935 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
10936 uppercase.
10937
0224619f
JK
109382017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10939
10940 * gdb.dwarf2/formdata16.c: New file.
10941 * gdb.dwarf2/formdata16.exp: New file.
10942 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
10943
216f72a1
JK
109442017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10945
10946 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
10947 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
10948 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
10949 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
10950 DW_AT_GNU_*.
10951
43988095
JK
109522017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10953
10954 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
10955
99e8a4f9
SDJ
109562017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
10957
10958 PR gdb/21164
10959 * gdb.base/maint.exp: Add testcases for when the commands do
10960 not have arguments.
10961
b58a8c0c
TP
109622017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
10963
10964 * gdb.cp/chained-calls.exp: Use p instead of P.
10965
4e746bb6
TW
109662017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
10967
10968 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
10969 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
10970
3f77c769
TT
109712017-02-14 Tom Tromey <tom@tromey.com>
10972
10973 PR python/13598:
10974 * gdb.python/py-events.exp: Add before_prompt event tests.
10975
075beec0
AA
109762017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10977
10978 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
10979
bf5f525c
LM
109802017-02-13 Luis Machado <lgustavo@codesourcery.com>
10981
10982 * gdb.linespec/explicit.c (my_unique_function_name): New function.
10983 (main): Call my_unique_function_name.
10984 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
10985 completion of patterns with a single match.
10986 Add missing -re switches to gdb_test_multiple calls.
10987
13a66184
LM
109882017-02-13 Luis Machado <lgustavo@codesourcery.com>
10989
10990 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
10991 return if core file is not recognized.
10992
26a06916
SM
109932017-02-10 Simon Marchi <simon.marchi@ericsson.com>
10994
10995 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
10996 and extra UIs.
10997
b761ca9e
SM
109982017-02-10 Simon Marchi <simon.marchi@ericsson.com>
10999
11000 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
11001 proc_with_prefix.
11002
b964bee0
TT
110032017-02-10 Tom Tromey <tom@tromey.com>
11004
11005 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
11006
18da0c51
MG
110072017-02-10 Martin Galvan <martingalvan@sourceware.org>
11008
11009 PR gdb/21122
11010 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
11011
604c4576
JG
110122017-02-08 Jerome Guitton <guitton@adacore.com>
11013
11014 * gdb.base/define.exp: Add test for command abbreviations
11015 in define.
11016
20b477a7
LM
110172017-02-06 Luis Machado <lgustavo@codesourcery.com>
11018
11019 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
11020 * gdb.reverse/insn-reverse-x86.c: New file.
11021
3f7b46f2
IR
110222017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
11023
11024 PR tdep/20936
11025 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
11026
f0fd41c1
TT
110272017-02-03 Tom Tromey <tom@tromey.com>
11028
11029 PR rust/21097:
11030 * gdb.rust/simple.exp: Add new tests.
11031
5be5dbf0
PA
110322017-02-02 Pedro Alves <palves@redhat.com>
11033
11034 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
11035 tests.
11036
7346ef59
AA
110372017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11038
11039 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
11040 taking a 2-byte value out of a 4-byte DWARF implicit value on
11041 big-endian targets.
11042 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
11043 logic. Add test cases for DW_OP_implicit.
11044
787f0025
MM
110452017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11046
11047 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
11048
68777c29
MM
110492017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11050
11051 * gdb.btrace/enable.exp: Call gdb_exit before
11052 skip_gdbserver_tests.
11053
0a1c7e28
MM
110542017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11055
11056 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
11057 GDBFLAGS.
11058
b5ac99b0
MM
110592017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11060
11061 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
11062 the test is skipped.
11063 * gdb.btrace/data.exp: Likewise.
11064 * gdb.btrace/delta.exp: Likewise.
11065 * gdb.btrace/dlopen.exp: Likewise.
11066 * gdb.btrace/enable-running.exp: Likewise.
11067 * gdb.btrace/enable.exp: Likewise.
11068 * gdb.btrace/exception.exp: Likewise.
11069 * gdb.btrace/function_call_history.exp: Likewise.
11070 * gdb.btrace/gcore.exp: Likewise.
11071 * gdb.btrace/instruction_history.exp: Likewise.
11072 * gdb.btrace/multi-thread-step.exp: Likewise.
11073 * gdb.btrace/nohist.exp: Likewise.
11074 * gdb.btrace/non-stop.exp: Likewise.
11075 * gdb.btrace/reconnect.exp: Likewise.
11076 * gdb.btrace/record_goto-step.exp: Likewise.
11077 * gdb.btrace/record_goto.exp: Likewise.
11078 * gdb.btrace/rn-dl-bind.exp: Likewise.
11079 * gdb.btrace/segv.exp: Likewise.
11080 * gdb.btrace/step.exp: Likewise.
11081 * gdb.btrace/stepi.exp: Likewise.
11082 * gdb.btrace/tailcall-only.exp: Likewise.
11083 * gdb.btrace/tailcall.exp: Likewise.
11084 * gdb.btrace/tsx.exp: Likewise.
11085 * gdb.btrace/unknown_functions.exp: Likewise.
11086 * gdb.btrace/vdso.exp: Likewise.
11087
cd4007e4
MM
110882017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11089
11090 * gdb.btrace/enable-running.c: New.
11091 * gdb.btrace/enable-running.exp: New.
11092
2735833d
WT
110932017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
11094
11095 * gdb.arch/amd64-gs_base.c: New file.
11096 * gdb.arch/amd64-gs_base.exp: New file.
11097
b51e1e94
LM
110982017-01-26 Luis Machado <lgustavo@codesourcery.com>
11099
11100 * lib/memory.exp: Remove spurious empty newlines.
11101
72ca0410
SM
111022017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
11103
11104 * gdb.python/py-bad-printers.exp: Load python file using "source".
11105 * gdb.python/py-events.exp: Likewise.
11106 * gdb.python/py-evsignal.exp: Likewise.
11107 * gdb.python/py-evthreads.exp: Likewise.
11108 * gdb.python/py-frame-args.exp: Likewise.
11109 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
11110 * gdb.python/py-framefilter-mi.exp: Likewise.
11111 * gdb.python/py-framefilter.exp: Likewise.
11112 * gdb.python/py-mi.exp: Likewise.
11113 * gdb.python/py-pp-maint.exp: Likewise.
11114 * gdb.python/py-pp-registration.exp: Likewise.
11115 * gdb.python/py-prettyprint.exp: Likewise.
11116 (run_lang_tests): Likewise.
11117 * gdb.python/py-typeprint.exp: Likewise.
11118
e309aa65
LM
111192017-01-26 Luis Machado <lgustavo@codesourcery.com>
11120
11121 * lib/memory.exp: New file.
11122 * lib/gdb.exp: Load memory.exp.
11123 * gdb.base/memattr.exp (delete_memory): Move proc to
11124 lib/memory.exp and rename to delete_memory_regions.
11125 Replace delete_memory with delete_memory_regions.
11126 Cleanup memory regions before tests.
11127 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
11128 before tests.
11129
515aff23
LM
111302017-01-26 Luis Machado <lgustavo@codesourcery.com>
11131
11132 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
11133 files.
11134 (initialize): New function conditionally defined.
11135 (testcases): Move within conditional block.
11136 (main): Call initialize.
11137 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
11138 of gdb.reverse/insn-reverse.c.
11139 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
11140 gdb.reverse/insn-reverse.c.
11141
d8b49cf0
YQ
111422017-01-26 Yao Qi <yao.qi@linaro.org>
11143
11144 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
11145 disassemble on address 0.
11146
f13a9a0c
YQ
111472017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
11148 Yao Qi <yao.qi@linaro.org>
11149
11150 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
11151 * gdb.dwarf2/implptr-64bit.S: Remove.
11152 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
11153 variables in caller's context. Add DW_OP_implicit_value.
11154
5ac95241
YQ
111552017-01-25 Yao Qi <yao.qi@linaro.org>
11156
11157 * lib/dwarf.exp (Dwarf::_location): Handle
11158 DW_OP_GNU_implicit_pointer with proper size.
11159
23e82930
LM
111602017-01-20 Luis Machado <lgustavo@codesourcery.com>
11161
11162 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
11163 and add untested calls.
11164
d334ae25
LM
111652017-01-20 Luis Machado <lgustavo@codesourcery.com>
11166
11167 * gdb.python/python.exp: Check line number against what GDB thinks
11168 the line number is for func1.
11169
f5e6296e
IB
111702017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
11171
11172 * gdb.dlang/debug-expr.exp: New file.
11173
5b362f04
LM
111742016-12-23 Luis Machado <lgustavo@codesourcery.com>
11175
11176 Fix test names for the following files:
11177
11178 * gdb.ada/exec_changed.exp
11179 * gdb.ada/info_types.exp
11180 * gdb.arch/aarch64-atomic-inst.exp
11181 * gdb.arch/aarch64-fp.exp
11182 * gdb.arch/altivec-abi.exp
11183 * gdb.arch/altivec-regs.exp
11184 * gdb.arch/amd64-byte.exp
11185 * gdb.arch/amd64-disp-step.exp
11186 * gdb.arch/amd64-dword.exp
11187 * gdb.arch/amd64-entry-value-inline.exp
11188 * gdb.arch/amd64-entry-value-param.exp
11189 * gdb.arch/amd64-entry-value-paramref.exp
11190 * gdb.arch/amd64-entry-value.exp
11191 * gdb.arch/amd64-i386-address.exp
11192 * gdb.arch/amd64-invalid-stack-middle.exp
11193 * gdb.arch/amd64-invalid-stack-top.exp
11194 * gdb.arch/amd64-optimout-repeat.exp
11195 * gdb.arch/amd64-prologue-skip.exp
11196 * gdb.arch/amd64-prologue-xmm.exp
11197 * gdb.arch/amd64-stap-special-operands.exp
11198 * gdb.arch/amd64-stap-wrong-subexp.exp
11199 * gdb.arch/amd64-tailcall-cxx.exp
11200 * gdb.arch/amd64-tailcall-noret.exp
11201 * gdb.arch/amd64-tailcall-ret.exp
11202 * gdb.arch/amd64-tailcall-self.exp
11203 * gdb.arch/amd64-word.exp
11204 * gdb.arch/arm-bl-branch-dest.exp
11205 * gdb.arch/arm-disp-step.exp
11206 * gdb.arch/arm-neon.exp
11207 * gdb.arch/arm-single-step-kernel-helper.exp
11208 * gdb.arch/avr-flash-qualifier.exp
11209 * gdb.arch/disp-step-insn-reloc.exp
11210 * gdb.arch/e500-abi.exp
11211 * gdb.arch/e500-regs.exp
11212 * gdb.arch/ftrace-insn-reloc.exp
11213 * gdb.arch/i386-avx512.exp
11214 * gdb.arch/i386-bp_permanent.exp
11215 * gdb.arch/i386-byte.exp
11216 * gdb.arch/i386-cfi-notcurrent.exp
11217 * gdb.arch/i386-disp-step.exp
11218 * gdb.arch/i386-dr3-watch.exp
11219 * gdb.arch/i386-float.exp
11220 * gdb.arch/i386-gnu-cfi.exp
11221 * gdb.arch/i386-mpx-map.exp
11222 * gdb.arch/i386-mpx-sigsegv.exp
11223 * gdb.arch/i386-mpx-simple_segv.exp
11224 * gdb.arch/i386-mpx.exp
11225 * gdb.arch/i386-permbkpt.exp
11226 * gdb.arch/i386-prologue.exp
11227 * gdb.arch/i386-signal.exp
11228 * gdb.arch/i386-size-overlap.exp
11229 * gdb.arch/i386-unwind.exp
11230 * gdb.arch/i386-word.exp
11231 * gdb.arch/mips-fcr.exp
11232 * gdb.arch/powerpc-d128-regs.exp
11233 * gdb.arch/powerpc-stackless.exp
11234 * gdb.arch/ppc64-atomic-inst.exp
11235 * gdb.arch/s390-stackless.exp
11236 * gdb.arch/s390-tdbregs.exp
11237 * gdb.arch/s390-vregs.exp
11238 * gdb.arch/sparc-sysstep.exp
11239 * gdb.arch/thumb-bx-pc.exp
11240 * gdb.arch/thumb-singlestep.exp
11241 * gdb.arch/thumb2-it.exp
11242 * gdb.arch/vsx-regs.exp
11243 * gdb.asm/asm-source.exp
11244 * gdb.base/a2-run.exp
11245 * gdb.base/advance.exp
11246 * gdb.base/all-bin.exp
11247 * gdb.base/anon.exp
11248 * gdb.base/args.exp
11249 * gdb.base/arithmet.exp
11250 * gdb.base/async-shell.exp
11251 * gdb.base/async.exp
11252 * gdb.base/attach-pie-noexec.exp
11253 * gdb.base/attach-twice.exp
11254 * gdb.base/auto-load.exp
11255 * gdb.base/bang.exp
11256 * gdb.base/bitfields.exp
11257 * gdb.base/break-always.exp
11258 * gdb.base/break-caller-line.exp
11259 * gdb.base/break-entry.exp
11260 * gdb.base/break-inline.exp
11261 * gdb.base/break-on-linker-gcd-function.exp
11262 * gdb.base/break-probes.exp
11263 * gdb.base/break.exp
11264 * gdb.base/breakpoint-shadow.exp
11265 * gdb.base/call-ar-st.exp
11266 * gdb.base/call-sc.exp
11267 * gdb.base/call-signal-resume.exp
11268 * gdb.base/call-strs.exp
11269 * gdb.base/callfuncs.exp
11270 * gdb.base/catch-fork-static.exp
11271 * gdb.base/catch-gdb-caused-signals.exp
11272 * gdb.base/catch-load.exp
11273 * gdb.base/catch-signal-fork.exp
11274 * gdb.base/catch-signal.exp
11275 * gdb.base/catch-syscall.exp
11276 * gdb.base/charset.exp
11277 * gdb.base/checkpoint.exp
11278 * gdb.base/chng-syms.exp
11279 * gdb.base/code-expr.exp
11280 * gdb.base/code_elim.exp
11281 * gdb.base/commands.exp
11282 * gdb.base/completion.exp
11283 * gdb.base/complex.exp
11284 * gdb.base/cond-expr.exp
11285 * gdb.base/condbreak.exp
11286 * gdb.base/consecutive.exp
11287 * gdb.base/continue-all-already-running.exp
11288 * gdb.base/coredump-filter.exp
11289 * gdb.base/corefile.exp
11290 * gdb.base/dbx.exp
11291 * gdb.base/debug-expr.exp
11292 * gdb.base/define.exp
11293 * gdb.base/del.exp
11294 * gdb.base/disabled-location.exp
11295 * gdb.base/disasm-end-cu.exp
11296 * gdb.base/disasm-optim.exp
11297 * gdb.base/display.exp
11298 * gdb.base/duplicate-bp.exp
11299 * gdb.base/ena-dis-br.exp
11300 * gdb.base/ending-run.exp
11301 * gdb.base/enumval.exp
11302 * gdb.base/environ.exp
11303 * gdb.base/eu-strip-infcall.exp
11304 * gdb.base/eval-avoid-side-effects.exp
11305 * gdb.base/eval-skip.exp
11306 * gdb.base/exitsignal.exp
11307 * gdb.base/expand-psymtabs.exp
11308 * gdb.base/filesym.exp
11309 * gdb.base/find-unmapped.exp
11310 * gdb.base/finish.exp
11311 * gdb.base/float.exp
11312 * gdb.base/foll-exec-mode.exp
11313 * gdb.base/foll-exec.exp
11314 * gdb.base/foll-fork.exp
11315 * gdb.base/fortran-sym-case.exp
11316 * gdb.base/freebpcmd.exp
11317 * gdb.base/func-ptr.exp
11318 * gdb.base/func-ptrs.exp
11319 * gdb.base/funcargs.exp
11320 * gdb.base/gcore-buffer-overflow.exp
11321 * gdb.base/gcore-relro-pie.exp
11322 * gdb.base/gcore-relro.exp
11323 * gdb.base/gcore.exp
11324 * gdb.base/gdb1090.exp
11325 * gdb.base/gdb11530.exp
11326 * gdb.base/gdb11531.exp
11327 * gdb.base/gdb1821.exp
11328 * gdb.base/gdbindex-stabs.exp
11329 * gdb.base/gdbvars.exp
11330 * gdb.base/hbreak.exp
11331 * gdb.base/hbreak2.exp
11332 * gdb.base/included.exp
11333 * gdb.base/infcall-input.exp
11334 * gdb.base/inferior-died.exp
11335 * gdb.base/infnan.exp
11336 * gdb.base/info-macros.exp
11337 * gdb.base/info-os.exp
11338 * gdb.base/info-proc.exp
11339 * gdb.base/info-shared.exp
11340 * gdb.base/info-target.exp
11341 * gdb.base/infoline.exp
11342 * gdb.base/interp.exp
11343 * gdb.base/interrupt.exp
11344 * gdb.base/jit-reader.exp
11345 * gdb.base/jit-simple.exp
11346 * gdb.base/kill-after-signal.exp
11347 * gdb.base/kill-detach-inferiors-cmd.exp
11348 * gdb.base/label.exp
11349 * gdb.base/langs.exp
11350 * gdb.base/ldbl_e308.exp
11351 * gdb.base/line-symtabs.exp
11352 * gdb.base/linespecs.exp
11353 * gdb.base/list.exp
11354 * gdb.base/long_long.exp
11355 * gdb.base/longest-types.exp
11356 * gdb.base/maint.exp
11357 * gdb.base/max-value-size.exp
11358 * gdb.base/memattr.exp
11359 * gdb.base/mips_pro.exp
11360 * gdb.base/morestack.exp
11361 * gdb.base/moribund-step.exp
11362 * gdb.base/multi-forks.exp
11363 * gdb.base/nested-addr.exp
11364 * gdb.base/nextoverexit.exp
11365 * gdb.base/noreturn-finish.exp
11366 * gdb.base/noreturn-return.exp
11367 * gdb.base/nostdlib.exp
11368 * gdb.base/offsets.exp
11369 * gdb.base/opaque.exp
11370 * gdb.base/pc-fp.exp
11371 * gdb.base/permissions.exp
11372 * gdb.base/print-symbol-loading.exp
11373 * gdb.base/prologue-include.exp
11374 * gdb.base/psymtab.exp
11375 * gdb.base/ptype.exp
11376 * gdb.base/random-signal.exp
11377 * gdb.base/randomize.exp
11378 * gdb.base/range-stepping.exp
11379 * gdb.base/readline-ask.exp
11380 * gdb.base/recpar.exp
11381 * gdb.base/recurse.exp
11382 * gdb.base/relational.exp
11383 * gdb.base/restore.exp
11384 * gdb.base/return-nodebug.exp
11385 * gdb.base/return.exp
11386 * gdb.base/run-after-attach.exp
11387 * gdb.base/save-bp.exp
11388 * gdb.base/scope.exp
11389 * gdb.base/sect-cmd.exp
11390 * gdb.base/set-lang-auto.exp
11391 * gdb.base/set-noassign.exp
11392 * gdb.base/setvar.exp
11393 * gdb.base/sigall.exp
11394 * gdb.base/sigbpt.exp
11395 * gdb.base/siginfo-addr.exp
11396 * gdb.base/siginfo-infcall.exp
11397 * gdb.base/siginfo-obj.exp
11398 * gdb.base/siginfo.exp
11399 * gdb.base/signals-state-child.exp
11400 * gdb.base/signest.exp
11401 * gdb.base/sigstep.exp
11402 * gdb.base/sizeof.exp
11403 * gdb.base/skip.exp
11404 * gdb.base/solib-corrupted.exp
11405 * gdb.base/solib-nodir.exp
11406 * gdb.base/solib-search.exp
11407 * gdb.base/stack-checking.exp
11408 * gdb.base/stale-infcall.exp
11409 * gdb.base/stap-probe.exp
11410 * gdb.base/start.exp
11411 * gdb.base/step-break.exp
11412 * gdb.base/step-bt.exp
11413 * gdb.base/step-line.exp
11414 * gdb.base/step-over-exit.exp
11415 * gdb.base/step-over-syscall.exp
11416 * gdb.base/step-resume-infcall.exp
11417 * gdb.base/step-test.exp
11418 * gdb.base/store.exp
11419 * gdb.base/structs3.exp
11420 * gdb.base/sym-file.exp
11421 * gdb.base/symbol-without-target_section.exp
11422 * gdb.base/term.exp
11423 * gdb.base/testenv.exp
11424 * gdb.base/ui-redirect.exp
11425 * gdb.base/until.exp
11426 * gdb.base/unwindonsignal.exp
11427 * gdb.base/value-double-free.exp
11428 * gdb.base/vla-datatypes.exp
11429 * gdb.base/vla-ptr.exp
11430 * gdb.base/vla-sideeffect.exp
11431 * gdb.base/volatile.exp
11432 * gdb.base/watch-cond-infcall.exp
11433 * gdb.base/watch-cond.exp
11434 * gdb.base/watch-non-mem.exp
11435 * gdb.base/watch-read.exp
11436 * gdb.base/watch-vfork.exp
11437 * gdb.base/watchpoint-cond-gone.exp
11438 * gdb.base/watchpoint-delete.exp
11439 * gdb.base/watchpoint-hw-hit-once.exp
11440 * gdb.base/watchpoint-hw.exp
11441 * gdb.base/watchpoint-stops-at-right-insn.exp
11442 * gdb.base/watchpoints.exp
11443 * gdb.base/wchar.exp
11444 * gdb.base/whatis-exp.exp
11445 * gdb.btrace/buffer-size.exp
11446 * gdb.btrace/data.exp
11447 * gdb.btrace/delta.exp
11448 * gdb.btrace/dlopen.exp
11449 * gdb.btrace/enable.exp
11450 * gdb.btrace/exception.exp
11451 * gdb.btrace/function_call_history.exp
11452 * gdb.btrace/gcore.exp
11453 * gdb.btrace/instruction_history.exp
11454 * gdb.btrace/nohist.exp
11455 * gdb.btrace/reconnect.exp
11456 * gdb.btrace/record_goto-step.exp
11457 * gdb.btrace/record_goto.exp
11458 * gdb.btrace/rn-dl-bind.exp
11459 * gdb.btrace/segv.exp
11460 * gdb.btrace/step.exp
11461 * gdb.btrace/stepi.exp
11462 * gdb.btrace/tailcall-only.exp
11463 * gdb.btrace/tailcall.exp
11464 * gdb.btrace/tsx.exp
11465 * gdb.btrace/unknown_functions.exp
11466 * gdb.btrace/vdso.exp
11467 * gdb.compile/compile-ifunc.exp
11468 * gdb.compile/compile-ops.exp
11469 * gdb.compile/compile-print.exp
11470 * gdb.compile/compile-setjmp.exp
11471 * gdb.cp/abstract-origin.exp
11472 * gdb.cp/ambiguous.exp
11473 * gdb.cp/annota2.exp
11474 * gdb.cp/annota3.exp
11475 * gdb.cp/anon-ns.exp
11476 * gdb.cp/anon-struct.exp
11477 * gdb.cp/anon-union.exp
11478 * gdb.cp/arg-reference.exp
11479 * gdb.cp/baseenum.exp
11480 * gdb.cp/bool.exp
11481 * gdb.cp/breakpoint.exp
11482 * gdb.cp/bs15503.exp
11483 * gdb.cp/call-c.exp
11484 * gdb.cp/casts.exp
11485 * gdb.cp/chained-calls.exp
11486 * gdb.cp/class2.exp
11487 * gdb.cp/classes.exp
11488 * gdb.cp/cmpd-minsyms.exp
11489 * gdb.cp/converts.exp
11490 * gdb.cp/cp-relocate.exp
11491 * gdb.cp/cpcompletion.exp
11492 * gdb.cp/cpexprs.exp
11493 * gdb.cp/cplabel.exp
11494 * gdb.cp/cplusfuncs.exp
11495 * gdb.cp/cpsizeof.exp
11496 * gdb.cp/ctti.exp
11497 * gdb.cp/derivation.exp
11498 * gdb.cp/destrprint.exp
11499 * gdb.cp/dispcxx.exp
11500 * gdb.cp/enum-class.exp
11501 * gdb.cp/exception.exp
11502 * gdb.cp/exceptprint.exp
11503 * gdb.cp/expand-psymtabs-cxx.exp
11504 * gdb.cp/expand-sals.exp
11505 * gdb.cp/extern-c.exp
11506 * gdb.cp/filename.exp
11507 * gdb.cp/formatted-ref.exp
11508 * gdb.cp/fpointer.exp
11509 * gdb.cp/gdb1355.exp
11510 * gdb.cp/gdb2495.exp
11511 * gdb.cp/hang.exp
11512 * gdb.cp/impl-this.exp
11513 * gdb.cp/infcall-dlopen.exp
11514 * gdb.cp/inherit.exp
11515 * gdb.cp/iostream.exp
11516 * gdb.cp/koenig.exp
11517 * gdb.cp/local.exp
11518 * gdb.cp/m-data.exp
11519 * gdb.cp/m-static.exp
11520 * gdb.cp/mb-ctor.exp
11521 * gdb.cp/mb-inline.exp
11522 * gdb.cp/mb-templates.exp
11523 * gdb.cp/member-name.exp
11524 * gdb.cp/member-ptr.exp
11525 * gdb.cp/meth-typedefs.exp
11526 * gdb.cp/method.exp
11527 * gdb.cp/method2.exp
11528 * gdb.cp/minsym-fallback.exp
11529 * gdb.cp/misc.exp
11530 * gdb.cp/namelessclass.exp
11531 * gdb.cp/namespace-enum.exp
11532 * gdb.cp/namespace-nested-import.exp
11533 * gdb.cp/namespace.exp
11534 * gdb.cp/nextoverthrow.exp
11535 * gdb.cp/no-dmgl-verbose.exp
11536 * gdb.cp/non-trivial-retval.exp
11537 * gdb.cp/noparam.exp
11538 * gdb.cp/nsdecl.exp
11539 * gdb.cp/nsimport.exp
11540 * gdb.cp/nsnested.exp
11541 * gdb.cp/nsnoimports.exp
11542 * gdb.cp/nsrecurs.exp
11543 * gdb.cp/nsstress.exp
11544 * gdb.cp/nsusing.exp
11545 * gdb.cp/operator.exp
11546 * gdb.cp/oranking.exp
11547 * gdb.cp/overload-const.exp
11548 * gdb.cp/overload.exp
11549 * gdb.cp/ovldbreak.exp
11550 * gdb.cp/ovsrch.exp
11551 * gdb.cp/paren-type.exp
11552 * gdb.cp/parse-lang.exp
11553 * gdb.cp/pass-by-ref.exp
11554 * gdb.cp/pr-1023.exp
11555 * gdb.cp/pr-1210.exp
11556 * gdb.cp/pr-574.exp
11557 * gdb.cp/pr10687.exp
11558 * gdb.cp/pr12028.exp
11559 * gdb.cp/pr17132.exp
11560 * gdb.cp/pr17494.exp
11561 * gdb.cp/pr9067.exp
11562 * gdb.cp/pr9167.exp
11563 * gdb.cp/pr9631.exp
11564 * gdb.cp/printmethod.exp
11565 * gdb.cp/psmang.exp
11566 * gdb.cp/psymtab-parameter.exp
11567 * gdb.cp/ptype-cv-cp.exp
11568 * gdb.cp/ptype-flags.exp
11569 * gdb.cp/re-set-overloaded.exp
11570 * gdb.cp/ref-types.exp
11571 * gdb.cp/rtti.exp
11572 * gdb.cp/scope-err.exp
11573 * gdb.cp/shadow.exp
11574 * gdb.cp/smartp.exp
11575 * gdb.cp/static-method.exp
11576 * gdb.cp/static-print-quit.exp
11577 * gdb.cp/temargs.exp
11578 * gdb.cp/templates.exp
11579 * gdb.cp/try_catch.exp
11580 * gdb.cp/typedef-operator.exp
11581 * gdb.cp/typeid.exp
11582 * gdb.cp/userdef.exp
11583 * gdb.cp/using-crash.exp
11584 * gdb.cp/var-tag.exp
11585 * gdb.cp/virtbase.exp
11586 * gdb.cp/virtfunc.exp
11587 * gdb.cp/virtfunc2.exp
11588 * gdb.cp/vla-cxx.exp
11589 * gdb.disasm/t01_mov.exp
11590 * gdb.disasm/t02_mova.exp
11591 * gdb.disasm/t03_add.exp
11592 * gdb.disasm/t04_sub.exp
11593 * gdb.disasm/t05_cmp.exp
11594 * gdb.disasm/t06_ari2.exp
11595 * gdb.disasm/t07_ari3.exp
11596 * gdb.disasm/t08_or.exp
11597 * gdb.disasm/t09_xor.exp
11598 * gdb.disasm/t10_and.exp
11599 * gdb.disasm/t11_logs.exp
11600 * gdb.disasm/t12_bit.exp
11601 * gdb.disasm/t13_otr.exp
11602 * gdb.dlang/circular.exp
11603 * gdb.dwarf2/arr-stride.exp
11604 * gdb.dwarf2/arr-subrange.exp
11605 * gdb.dwarf2/atomic-type.exp
11606 * gdb.dwarf2/bad-regnum.exp
11607 * gdb.dwarf2/bitfield-parent-optimized-out.exp
11608 * gdb.dwarf2/callframecfa.exp
11609 * gdb.dwarf2/clztest.exp
11610 * gdb.dwarf2/corrupt.exp
11611 * gdb.dwarf2/data-loc.exp
11612 * gdb.dwarf2/dup-psym.exp
11613 * gdb.dwarf2/dw2-anon-mptr.exp
11614 * gdb.dwarf2/dw2-anonymous-func.exp
11615 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
11616 * gdb.dwarf2/dw2-bad-unresolved.exp
11617 * gdb.dwarf2/dw2-basic.exp
11618 * gdb.dwarf2/dw2-canonicalize-type.exp
11619 * gdb.dwarf2/dw2-case-insensitive.exp
11620 * gdb.dwarf2/dw2-common-block.exp
11621 * gdb.dwarf2/dw2-compdir-oldgcc.exp
11622 * gdb.dwarf2/dw2-compressed.exp
11623 * gdb.dwarf2/dw2-const.exp
11624 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
11625 * gdb.dwarf2/dw2-cu-size.exp
11626 * gdb.dwarf2/dw2-dup-frame.exp
11627 * gdb.dwarf2/dw2-entry-value.exp
11628 * gdb.dwarf2/dw2-icycle.exp
11629 * gdb.dwarf2/dw2-ifort-parameter.exp
11630 * gdb.dwarf2/dw2-inline-break.exp
11631 * gdb.dwarf2/dw2-inline-param.exp
11632 * gdb.dwarf2/dw2-intercu.exp
11633 * gdb.dwarf2/dw2-intermix.exp
11634 * gdb.dwarf2/dw2-lexical-block-bare.exp
11635 * gdb.dwarf2/dw2-linkage-name-trust.exp
11636 * gdb.dwarf2/dw2-minsym-in-cu.exp
11637 * gdb.dwarf2/dw2-noloc.exp
11638 * gdb.dwarf2/dw2-op-call.exp
11639 * gdb.dwarf2/dw2-op-out-param.exp
11640 * gdb.dwarf2/dw2-opt-structptr.exp
11641 * gdb.dwarf2/dw2-param-error.exp
11642 * gdb.dwarf2/dw2-producer.exp
11643 * gdb.dwarf2/dw2-ranges-base.exp
11644 * gdb.dwarf2/dw2-ref-missing-frame.exp
11645 * gdb.dwarf2/dw2-reg-undefined.exp
11646 * gdb.dwarf2/dw2-regno-invalid.exp
11647 * gdb.dwarf2/dw2-restore.exp
11648 * gdb.dwarf2/dw2-restrict.exp
11649 * gdb.dwarf2/dw2-single-line-discriminators.exp
11650 * gdb.dwarf2/dw2-strp.exp
11651 * gdb.dwarf2/dw2-undefined-ret-addr.exp
11652 * gdb.dwarf2/dw2-unresolved.exp
11653 * gdb.dwarf2/dw2-var-zero-addr.exp
11654 * gdb.dwarf2/dw4-sig-types.exp
11655 * gdb.dwarf2/dwz.exp
11656 * gdb.dwarf2/dynarr-ptr.exp
11657 * gdb.dwarf2/enum-type.exp
11658 * gdb.dwarf2/gdb-index.exp
11659 * gdb.dwarf2/implptr-64bit.exp
11660 * gdb.dwarf2/implptr-optimized-out.exp
11661 * gdb.dwarf2/implptr.exp
11662 * gdb.dwarf2/implref-array.exp
11663 * gdb.dwarf2/implref-const.exp
11664 * gdb.dwarf2/implref-global.exp
11665 * gdb.dwarf2/implref-struct.exp
11666 * gdb.dwarf2/mac-fileno.exp
11667 * gdb.dwarf2/main-subprogram.exp
11668 * gdb.dwarf2/member-ptr-forwardref.exp
11669 * gdb.dwarf2/method-ptr.exp
11670 * gdb.dwarf2/missing-sig-type.exp
11671 * gdb.dwarf2/nonvar-access.exp
11672 * gdb.dwarf2/opaque-type-lookup.exp
11673 * gdb.dwarf2/pieces-optimized-out.exp
11674 * gdb.dwarf2/pieces.exp
11675 * gdb.dwarf2/pr10770.exp
11676 * gdb.dwarf2/pr13961.exp
11677 * gdb.dwarf2/staticvirtual.exp
11678 * gdb.dwarf2/subrange.exp
11679 * gdb.dwarf2/symtab-producer.exp
11680 * gdb.dwarf2/trace-crash.exp
11681 * gdb.dwarf2/typeddwarf.exp
11682 * gdb.dwarf2/valop.exp
11683 * gdb.dwarf2/watch-notconst.exp
11684 * gdb.fortran/array-element.exp
11685 * gdb.fortran/charset.exp
11686 * gdb.fortran/common-block.exp
11687 * gdb.fortran/complex.exp
11688 * gdb.fortran/derived-type-function.exp
11689 * gdb.fortran/derived-type.exp
11690 * gdb.fortran/logical.exp
11691 * gdb.fortran/module.exp
11692 * gdb.fortran/multi-dim.exp
11693 * gdb.fortran/nested-funcs.exp
11694 * gdb.fortran/print-formatted.exp
11695 * gdb.fortran/subarray.exp
11696 * gdb.fortran/vla-alloc-assoc.exp
11697 * gdb.fortran/vla-datatypes.exp
11698 * gdb.fortran/vla-history.exp
11699 * gdb.fortran/vla-ptr-info.exp
11700 * gdb.fortran/vla-ptype-sub.exp
11701 * gdb.fortran/vla-ptype.exp
11702 * gdb.fortran/vla-sizeof.exp
11703 * gdb.fortran/vla-type.exp
11704 * gdb.fortran/vla-value-sub-arbitrary.exp
11705 * gdb.fortran/vla-value-sub-finish.exp
11706 * gdb.fortran/vla-value-sub.exp
11707 * gdb.fortran/vla-value.exp
11708 * gdb.fortran/whatis_type.exp
11709 * gdb.go/chan.exp
11710 * gdb.go/handcall.exp
11711 * gdb.go/hello.exp
11712 * gdb.go/integers.exp
11713 * gdb.go/methods.exp
11714 * gdb.go/package.exp
11715 * gdb.go/strings.exp
11716 * gdb.go/types.exp
11717 * gdb.go/unsafe.exp
11718 * gdb.guile/scm-arch.exp
11719 * gdb.guile/scm-block.exp
11720 * gdb.guile/scm-breakpoint.exp
11721 * gdb.guile/scm-cmd.exp
11722 * gdb.guile/scm-disasm.exp
11723 * gdb.guile/scm-equal.exp
11724 * gdb.guile/scm-frame-args.exp
11725 * gdb.guile/scm-frame-inline.exp
11726 * gdb.guile/scm-frame.exp
11727 * gdb.guile/scm-iterator.exp
11728 * gdb.guile/scm-math.exp
11729 * gdb.guile/scm-objfile.exp
11730 * gdb.guile/scm-ports.exp
11731 * gdb.guile/scm-symbol.exp
11732 * gdb.guile/scm-symtab.exp
11733 * gdb.guile/scm-value-cc.exp
11734 * gdb.guile/types-module.exp
11735 * gdb.linespec/break-ask.exp
11736 * gdb.linespec/cpexplicit.exp
11737 * gdb.linespec/explicit.exp
11738 * gdb.linespec/keywords.exp
11739 * gdb.linespec/linespec.exp
11740 * gdb.linespec/ls-dollar.exp
11741 * gdb.linespec/ls-errs.exp
11742 * gdb.linespec/skip-two.exp
11743 * gdb.linespec/thread.exp
11744 * gdb.mi/mi-async.exp
11745 * gdb.mi/mi-basics.exp
11746 * gdb.mi/mi-break.exp
11747 * gdb.mi/mi-catch-load.exp
11748 * gdb.mi/mi-cli.exp
11749 * gdb.mi/mi-cmd-param-changed.exp
11750 * gdb.mi/mi-console.exp
11751 * gdb.mi/mi-detach.exp
11752 * gdb.mi/mi-disassemble.exp
11753 * gdb.mi/mi-eval.exp
11754 * gdb.mi/mi-file-transfer.exp
11755 * gdb.mi/mi-file.exp
11756 * gdb.mi/mi-fill-memory.exp
11757 * gdb.mi/mi-inheritance-syntax-error.exp
11758 * gdb.mi/mi-linespec-err-cp.exp
11759 * gdb.mi/mi-logging.exp
11760 * gdb.mi/mi-memory-changed.exp
11761 * gdb.mi/mi-read-memory.exp
11762 * gdb.mi/mi-record-changed.exp
11763 * gdb.mi/mi-reg-undefined.exp
11764 * gdb.mi/mi-regs.exp
11765 * gdb.mi/mi-return.exp
11766 * gdb.mi/mi-reverse.exp
11767 * gdb.mi/mi-simplerun.exp
11768 * gdb.mi/mi-solib.exp
11769 * gdb.mi/mi-stack.exp
11770 * gdb.mi/mi-stepi.exp
11771 * gdb.mi/mi-syn-frame.exp
11772 * gdb.mi/mi-until.exp
11773 * gdb.mi/mi-var-block.exp
11774 * gdb.mi/mi-var-child.exp
11775 * gdb.mi/mi-var-cmd.exp
11776 * gdb.mi/mi-var-cp.exp
11777 * gdb.mi/mi-var-display.exp
11778 * gdb.mi/mi-var-invalidate.exp
11779 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
11780 * gdb.mi/mi-vla-fortran.exp
11781 * gdb.mi/mi-watch.exp
11782 * gdb.mi/mi2-var-child.exp
11783 * gdb.mi/user-selected-context-sync.exp
11784 * gdb.modula2/unbounded-array.exp
11785 * gdb.multi/dummy-frame-restore.exp
11786 * gdb.multi/multi-arch-exec.exp
11787 * gdb.multi/multi-arch.exp
11788 * gdb.multi/tids.exp
11789 * gdb.multi/watchpoint-multi.exp
11790 * gdb.opencl/callfuncs.exp
11791 * gdb.opencl/convs_casts.exp
11792 * gdb.opencl/datatypes.exp
11793 * gdb.opencl/operators.exp
11794 * gdb.opencl/vec_comps.exp
11795 * gdb.opt/clobbered-registers-O2.exp
11796 * gdb.opt/inline-break.exp
11797 * gdb.opt/inline-bt.exp
11798 * gdb.opt/inline-cmds.exp
11799 * gdb.opt/inline-locals.exp
11800 * gdb.pascal/case-insensitive-symbols.exp
11801 * gdb.pascal/floats.exp
11802 * gdb.pascal/gdb11492.exp
11803 * gdb.python/lib-types.exp
11804 * gdb.python/py-arch.exp
11805 * gdb.python/py-as-string.exp
11806 * gdb.python/py-bad-printers.exp
11807 * gdb.python/py-block.exp
11808 * gdb.python/py-breakpoint-create-fail.exp
11809 * gdb.python/py-breakpoint.exp
11810 * gdb.python/py-caller-is.exp
11811 * gdb.python/py-cmd.exp
11812 * gdb.python/py-explore-cc.exp
11813 * gdb.python/py-explore.exp
11814 * gdb.python/py-finish-breakpoint.exp
11815 * gdb.python/py-finish-breakpoint2.exp
11816 * gdb.python/py-frame-args.exp
11817 * gdb.python/py-frame-inline.exp
11818 * gdb.python/py-frame.exp
11819 * gdb.python/py-framefilter-mi.exp
11820 * gdb.python/py-infthread.exp
11821 * gdb.python/py-lazy-string.exp
11822 * gdb.python/py-linetable.exp
11823 * gdb.python/py-mi-events.exp
11824 * gdb.python/py-mi-objfile.exp
11825 * gdb.python/py-mi.exp
11826 * gdb.python/py-objfile.exp
11827 * gdb.python/py-pp-integral.exp
11828 * gdb.python/py-pp-maint.exp
11829 * gdb.python/py-pp-re-notag.exp
11830 * gdb.python/py-pp-registration.exp
11831 * gdb.python/py-recurse-unwind.exp
11832 * gdb.python/py-strfns.exp
11833 * gdb.python/py-symbol.exp
11834 * gdb.python/py-symtab.exp
11835 * gdb.python/py-sync-interp.exp
11836 * gdb.python/py-typeprint.exp
11837 * gdb.python/py-unwind-maint.exp
11838 * gdb.python/py-unwind.exp
11839 * gdb.python/py-value-cc.exp
11840 * gdb.python/py-xmethods.exp
11841 * gdb.reverse/amd64-tailcall-reverse.exp
11842 * gdb.reverse/break-precsave.exp
11843 * gdb.reverse/break-reverse.exp
11844 * gdb.reverse/consecutive-precsave.exp
11845 * gdb.reverse/consecutive-reverse.exp
11846 * gdb.reverse/finish-precsave.exp
11847 * gdb.reverse/finish-reverse-bkpt.exp
11848 * gdb.reverse/finish-reverse.exp
11849 * gdb.reverse/fstatat-reverse.exp
11850 * gdb.reverse/getresuid-reverse.exp
11851 * gdb.reverse/i386-precsave.exp
11852 * gdb.reverse/i386-reverse.exp
11853 * gdb.reverse/i386-sse-reverse.exp
11854 * gdb.reverse/i387-env-reverse.exp
11855 * gdb.reverse/i387-stack-reverse.exp
11856 * gdb.reverse/insn-reverse.exp
11857 * gdb.reverse/machinestate-precsave.exp
11858 * gdb.reverse/machinestate.exp
11859 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11860 * gdb.reverse/pipe-reverse.exp
11861 * gdb.reverse/readv-reverse.exp
11862 * gdb.reverse/recvmsg-reverse.exp
11863 * gdb.reverse/rerun-prec.exp
11864 * gdb.reverse/s390-mvcle.exp
11865 * gdb.reverse/step-precsave.exp
11866 * gdb.reverse/step-reverse.exp
11867 * gdb.reverse/time-reverse.exp
11868 * gdb.reverse/until-precsave.exp
11869 * gdb.reverse/until-reverse.exp
11870 * gdb.reverse/waitpid-reverse.exp
11871 * gdb.reverse/watch-precsave.exp
11872 * gdb.reverse/watch-reverse.exp
11873 * gdb.rust/generics.exp
11874 * gdb.rust/methods.exp
11875 * gdb.rust/modules.exp
11876 * gdb.rust/simple.exp
11877 * gdb.server/connect-with-no-symbol-file.exp
11878 * gdb.server/ext-attach.exp
11879 * gdb.server/ext-restart.exp
11880 * gdb.server/ext-wrapper.exp
11881 * gdb.server/file-transfer.exp
11882 * gdb.server/server-exec-info.exp
11883 * gdb.server/server-kill.exp
11884 * gdb.server/server-mon.exp
11885 * gdb.server/wrapper.exp
11886 * gdb.stabs/exclfwd.exp
11887 * gdb.stabs/gdb11479.exp
11888 * gdb.threads/clone-new-thread-event.exp
11889 * gdb.threads/corethreads.exp
11890 * gdb.threads/current-lwp-dead.exp
11891 * gdb.threads/dlopen-libpthread.exp
11892 * gdb.threads/gcore-thread.exp
11893 * gdb.threads/sigstep-threads.exp
11894 * gdb.threads/watchpoint-fork.exp
11895 * gdb.trace/actions-changed.exp
11896 * gdb.trace/backtrace.exp
11897 * gdb.trace/change-loc.exp
11898 * gdb.trace/circ.exp
11899 * gdb.trace/collection.exp
11900 * gdb.trace/disconnected-tracing.exp
11901 * gdb.trace/ftrace.exp
11902 * gdb.trace/mi-trace-frame-collected.exp
11903 * gdb.trace/mi-trace-unavailable.exp
11904 * gdb.trace/mi-traceframe-changed.exp
11905 * gdb.trace/mi-tsv-changed.exp
11906 * gdb.trace/no-attach-trace.exp
11907 * gdb.trace/passc-dyn.exp
11908 * gdb.trace/qtro.exp
11909 * gdb.trace/range-stepping.exp
11910 * gdb.trace/read-memory.exp
11911 * gdb.trace/save-trace.exp
11912 * gdb.trace/signal.exp
11913 * gdb.trace/status-stop.exp
11914 * gdb.trace/tfile.exp
11915 * gdb.trace/trace-break.exp
11916 * gdb.trace/trace-buffer-size.exp
11917 * gdb.trace/trace-condition.exp
11918 * gdb.trace/tracefile-pseudo-reg.exp
11919 * gdb.trace/tstatus.exp
11920 * gdb.trace/unavailable.exp
11921 * gdb.trace/while-dyn.exp
11922 * gdb.trace/while-stepping.exp
11923
34c41c68
DE
119242016-12-22 Doug Evans <xdje42@gmail.com>
11925
11926 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
11927 and msymbols.
11928
16e69324
YQ
119292016-12-19 Yao Qi <yao.qi@linaro.org>
11930
11931 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
11932 (test_with_self): Don't call do_steps_and_nexts, and remove
11933 code about stepping into xmalloc.
11934
f94f411b
YQ
119352016-12-09 Yao Qi <yao.qi@linaro.org>
11936
11937 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
11938
119392016-12-09 Yao Qi <yao.qi@linaro.org>
11940
11941 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
11942
f1b5deee
PA
119432016-12-09 Pedro Alves <palves@redhat.com>
11944
11945 * gdb.base/all-architectures-0.exp: New file.
11946 * gdb.base/all-architectures-1.exp: New file.
11947 * gdb.base/all-architectures-2.exp: New file.
11948 * gdb.base/all-architectures-3.exp: New file.
11949 * gdb.base/all-architectures-4.exp: New file.
11950 * gdb.base/all-architectures-5.exp: New file.
11951 * gdb.base/all-architectures-6.exp: New file.
11952 * gdb.base/all-architectures-7.exp: New file.
11953 * gdb.base/all-architectures.exp.in: New file.
11954
364ca42e
YQ
119552016-12-09 Yao Qi <yao.qi@linaro.org>
11956
11957 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
11958
107c2d62
LM
119592016-12-02 Luis Machado <lgustavo@codesourcery.com>
11960
11961 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
11962 possible.
11963 Remove useless pattern-matching code.
11964
df3ee9ca
PA
119652016-12-02 Pedro Alves <palves@redhat.com>
11966
11967 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
11968 procedure.
11969 (top level): Call it.
11970
ec835369
PA
119712016-12-02 Pedro Alves <palves@redhat.com>
11972
11973 * gdb.base/commands.exp (user_defined_command_args_stack_test):
11974 New procedure.
11975 (top level): Call it.
11976
01770bbd
PA
119772016-12-02 Pedro Alves <palves@redhat.com>
11978
11979 PR cli/20559
11980 * gdb.base/commands.exp (user_defined_command_args_eval): New
11981 procedure.
11982 (top level): Call it.
11983
008459ea
LM
119842016-12-02 Luis Machado <lgustavo@codesourcery.com>
11985
11986 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
11987 timeout handling.
11988
0c1b455e
TT
119892016-12-02 Tom Tromey <tom@tromey.com>
11990
11991 * gdb.dwarf2/main-subprogram.c: New file.
11992 * gdb.dwarf2/main-subprogram.exp: New file.
11993
018572b8
LM
119942016-12-01 Luis Machado <lgustavo@codesourcery.com>
11995
11996 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
11997 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
11998 gdb_test_no_output for a couple of cases.
11999 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
12000
84c93cd5
LM
120012016-12-01 Luis Machado <lgustavo@codesourcery.com>
12002
12003 Fix test names and standardize compilation error messages throughout
12004 the following files:
12005
12006 * gdb.ada/start.exp
12007 * gdb.arch/alpha-step.exp
12008 * gdb.arch/e500-prologue.exp
12009 * gdb.arch/ftrace-insn-reloc.exp
12010 * gdb.arch/gdb1291.exp
12011 * gdb.arch/gdb1431.exp
12012 * gdb.arch/gdb1558.exp
12013 * gdb.arch/i386-dr3-watch.exp
12014 * gdb.arch/i386-sse-stack-align.exp
12015 * gdb.arch/ia64-breakpoint-shadow.exp
12016 * gdb.arch/pa-nullify.exp
12017 * gdb.arch/powerpc-aix-prologue.exp
12018 * gdb.arch/thumb-bx-pc.exp
12019 * gdb.base/annota1.exp
12020 * gdb.base/annota3.exp
12021 * gdb.base/arrayidx.exp
12022 * gdb.base/assign.exp
12023 * gdb.base/attach.exp
12024 * gdb.base/auxv.exp
12025 * gdb.base/bang.exp
12026 * gdb.base/bfp-test.exp
12027 * gdb.base/bigcore.exp
12028 * gdb.base/bitfields2.exp
12029 * gdb.base/break-fun-addr.exp
12030 * gdb.base/break-probes.exp
12031 * gdb.base/call-rt-st.exp
12032 * gdb.base/callexit.exp
12033 * gdb.base/catch-fork-kill.exp
12034 * gdb.base/charset.exp
12035 * gdb.base/checkpoint.exp
12036 * gdb.base/comprdebug.exp
12037 * gdb.base/constvars.exp
12038 * gdb.base/coredump-filter.exp
12039 * gdb.base/cursal.exp
12040 * gdb.base/cvexpr.exp
12041 * gdb.base/detach.exp
12042 * gdb.base/display.exp
12043 * gdb.base/dmsym.exp
12044 * gdb.base/dprintf-pending.exp
12045 * gdb.base/dso2dso.exp
12046 * gdb.base/dtrace-probe.exp
12047 * gdb.base/dump.exp
12048 * gdb.base/enum_cond.exp
12049 * gdb.base/exe-lock.exp
12050 * gdb.base/exec-invalid-sysroot.exp
12051 * gdb.base/execl-update-breakpoints.exp
12052 * gdb.base/exprs.exp
12053 * gdb.base/fileio.exp
12054 * gdb.base/find.exp
12055 * gdb.base/finish.exp
12056 * gdb.base/fixsection.exp
12057 * gdb.base/foll-vfork.exp
12058 * gdb.base/frame-args.exp
12059 * gdb.base/gcore.exp
12060 * gdb.base/gdb1250.exp
12061 * gdb.base/global-var-nested-by-dso.exp
12062 * gdb.base/gnu-ifunc.exp
12063 * gdb.base/hashline1.exp
12064 * gdb.base/hashline2.exp
12065 * gdb.base/hashline3.exp
12066 * gdb.base/hbreak-in-shr-unsupported.exp
12067 * gdb.base/huge.exp
12068 * gdb.base/infcall-input.exp
12069 * gdb.base/info-fun.exp
12070 * gdb.base/info-shared.exp
12071 * gdb.base/jit-simple.exp
12072 * gdb.base/jit-so.exp
12073 * gdb.base/jit.exp
12074 * gdb.base/jump.exp
12075 * gdb.base/label.exp
12076 * gdb.base/lineinc.exp
12077 * gdb.base/logical.exp
12078 * gdb.base/longjmp.exp
12079 * gdb.base/macscp.exp
12080 * gdb.base/miscexprs.exp
12081 * gdb.base/new-ui-echo.exp
12082 * gdb.base/new-ui-pending-input.exp
12083 * gdb.base/new-ui.exp
12084 * gdb.base/nodebug.exp
12085 * gdb.base/nofield.exp
12086 * gdb.base/offsets.exp
12087 * gdb.base/overlays.exp
12088 * gdb.base/pending.exp
12089 * gdb.base/pointers.exp
12090 * gdb.base/pr11022.exp
12091 * gdb.base/printcmds.exp
12092 * gdb.base/prologue.exp
12093 * gdb.base/ptr-typedef.exp
12094 * gdb.base/realname-expand.exp
12095 * gdb.base/relativedebug.exp
12096 * gdb.base/relocate.exp
12097 * gdb.base/remote.exp
12098 * gdb.base/reread.exp
12099 * gdb.base/return2.exp
12100 * gdb.base/savedregs.exp
12101 * gdb.base/sep.exp
12102 * gdb.base/sepdebug.exp
12103 * gdb.base/sepsymtab.exp
12104 * gdb.base/set-inferior-tty.exp
12105 * gdb.base/setshow.exp
12106 * gdb.base/shlib-call.exp
12107 * gdb.base/sigaltstack.exp
12108 * gdb.base/siginfo-addr.exp
12109 * gdb.base/signals.exp
12110 * gdb.base/signull.exp
12111 * gdb.base/sigrepeat.exp
12112 * gdb.base/so-impl-ld.exp
12113 * gdb.base/solib-display.exp
12114 * gdb.base/solib-overlap.exp
12115 * gdb.base/solib-search.exp
12116 * gdb.base/solib-symbol.exp
12117 * gdb.base/structs.exp
12118 * gdb.base/structs2.exp
12119 * gdb.base/symtab-search-order.exp
12120 * gdb.base/twice.exp
12121 * gdb.base/unload.exp
12122 * gdb.base/varargs.exp
12123 * gdb.base/watchpoint-solib.exp
12124 * gdb.base/watchpoint.exp
12125 * gdb.base/whatis.exp
12126 * gdb.base/wrong_frame_bt_full.exp
12127 * gdb.btrace/dlopen.exp
12128 * gdb.cell/ea-standalone.exp
12129 * gdb.cell/ea-test.exp
12130 * gdb.cp/dispcxx.exp
12131 * gdb.cp/gdb2384.exp
12132 * gdb.cp/method2.exp
12133 * gdb.cp/nextoverthrow.exp
12134 * gdb.cp/pr10728.exp
12135 * gdb.disasm/am33.exp
12136 * gdb.disasm/h8300s.exp
12137 * gdb.disasm/mn10300.exp
12138 * gdb.disasm/sh3.exp
12139 * gdb.dwarf2/dw2-dir-file-name.exp
12140 * gdb.fortran/complex.exp
12141 * gdb.fortran/library-module.exp
12142 * gdb.guile/scm-pretty-print.exp
12143 * gdb.guile/scm-symbol.exp
12144 * gdb.guile/scm-type.exp
12145 * gdb.guile/scm-value.exp
12146 * gdb.linespec/linespec.exp
12147 * gdb.mi/gdb701.exp
12148 * gdb.mi/gdb792.exp
12149 * gdb.mi/mi-breakpoint-changed.exp
12150 * gdb.mi/mi-dprintf-pending.exp
12151 * gdb.mi/mi-dprintf.exp
12152 * gdb.mi/mi-exit-code.exp
12153 * gdb.mi/mi-pending.exp
12154 * gdb.mi/mi-solib.exp
12155 * gdb.mi/new-ui-mi-sync.exp
12156 * gdb.mi/pr11022.exp
12157 * gdb.mi/user-selected-context-sync.exp
12158 * gdb.opt/solib-intra-step.exp
12159 * gdb.python/py-events.exp
12160 * gdb.python/py-finish-breakpoint.exp
12161 * gdb.python/py-mi.exp
12162 * gdb.python/py-prettyprint.exp
12163 * gdb.python/py-shared.exp
12164 * gdb.python/py-symbol.exp
12165 * gdb.python/py-template.exp
12166 * gdb.python/py-type.exp
12167 * gdb.python/py-value.exp
12168 * gdb.reverse/solib-precsave.exp
12169 * gdb.reverse/solib-reverse.exp
12170 * gdb.server/solib-list.exp
12171 * gdb.stabs/weird.exp
12172 * gdb.threads/reconnect-signal.exp
12173 * gdb.threads/stepi-random-signal.exp
12174 * gdb.trace/actions.exp
12175 * gdb.trace/ax.exp
12176 * gdb.trace/backtrace.exp
12177 * gdb.trace/change-loc.exp
12178 * gdb.trace/deltrace.exp
12179 * gdb.trace/ftrace-lock.exp
12180 * gdb.trace/ftrace.exp
12181 * gdb.trace/infotrace.exp
12182 * gdb.trace/mi-tracepoint-changed.exp
12183 * gdb.trace/packetlen.exp
12184 * gdb.trace/passcount.exp
12185 * gdb.trace/pending.exp
12186 * gdb.trace/range-stepping.exp
12187 * gdb.trace/report.exp
12188 * gdb.trace/stap-trace.exp
12189 * gdb.trace/tfind.exp
12190 * gdb.trace/trace-break.exp
12191 * gdb.trace/trace-condition.exp
12192 * gdb.trace/trace-enable-disable.exp
12193 * gdb.trace/trace-mt.exp
12194 * gdb.trace/tracecmd.exp
12195 * gdb.trace/tspeed.exp
12196 * gdb.trace/tsv.exp
12197 * lib/perftest.exp
12198
fb9feb35
LM
121992016-12-01 Luis Machado <lgustavo@codesourcery.com>
12200
12201 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
12202 with gdb_test_no_output.
12203 Use command as test name.
12204
cd2ddb6c
LM
122052016-12-01 Luis Machado <lgustavo@codesourcery.com>
12206
12207 Fix test names starting with uppercase throughout the files.
12208
12209 * gdb.ada/assign_1.exp
12210 * gdb.ada/boolean_expr.exp
12211 * gdb.base/arrayidx.exp
12212 * gdb.base/del.exp
12213 * gdb.base/gcore-buffer-overflow.exp
12214 * gdb.base/testenv.exp
12215 * gdb.compile/compile.exp
12216 * gdb.python/py-framefilter-invalidarg.exp
12217 * gdb.python/py-framefilter.exp
12218
bb95117e
LM
122192016-12-01 Luis Machado <lgustavo@codesourcery.com>
12220
12221 Fix test names starting with uppercase throughout the files.
12222
12223 * gdb.ada/array_return.exp
12224 * gdb.ada/expr_delims.exp
12225 * gdb.ada/mi_dyn_arr.exp
12226 * gdb.ada/mi_interface.exp
12227 * gdb.ada/mi_var_array.exp
12228 * gdb.ada/watch_arg.exp
12229 * gdb.arch/alpha-step.exp
12230 * gdb.arch/altivec-regs.exp
12231 * gdb.arch/e500-regs.exp
12232 * gdb.arch/powerpc-d128-regs.exp
12233 * gdb.base/arrayidx.exp
12234 * gdb.base/break.exp
12235 * gdb.base/checkpoint.exp
12236 * gdb.base/debug-expr.exp
12237 * gdb.base/dmsym.exp
12238 * gdb.base/radix.exp
12239 * gdb.base/sepdebug.exp
12240 * gdb.base/testenv.exp
12241 * gdb.base/watch_thread_num.exp
12242 * gdb.base/watchpoint-cond-gone.exp
12243 * gdb.cell/break.exp
12244 * gdb.cell/ea-cache.exp
12245 * gdb.compile/compile.exp
12246 * gdb.cp/gdb2495.exp
12247 * gdb.gdb/selftest.exp
12248 * gdb.gdb/xfullpath.exp
12249 * gdb.go/hello.exp
12250 * gdb.go/integers.exp
12251 * gdb.objc/basicclass.exp
12252 * gdb.pascal/hello.exp
12253 * gdb.pascal/integers.exp
12254 * gdb.python/py-breakpoint.exp
12255 * gdb.python/py-cmd.exp
12256 * gdb.python/py-linetable.exp
12257 * gdb.python/py-xmethods.exp
12258 * gdb.python/python.exp
12259 * gdb.reverse/consecutive-precsave.exp
12260 * gdb.reverse/finish-precsave.exp
12261 * gdb.reverse/i386-precsave.exp
12262 * gdb.reverse/machinestate-precsave.exp
12263 * gdb.reverse/sigall-precsave.exp
12264 * gdb.reverse/solib-precsave.exp
12265 * gdb.reverse/step-precsave.exp
12266 * gdb.reverse/until-precsave.exp
12267 * gdb.reverse/watch-precsave.exp
12268 * gdb.threads/leader-exit.exp
12269 * gdb.threads/pthreads.exp
12270 * gdb.threads/wp-replication.exp
12271 * gdb.trace/actions.exp
12272 * gdb.trace/mi-tsv-changed.exp
12273 * gdb.trace/tsv.exp
12274
de97fdd4
LM
122752016-12-01 Luis Machado <lgustavo@codesourcery.com>
12276
12277 Fix test names starting with uppercase throughout the files.
12278
12279 * gdb.arch/i386-bp_permanent.exp
12280 * gdb.arch/i386-gnu-cfi.exp
12281 * gdb.base/disasm-end-cu.exp
12282 * gdb.base/macscp.exp
12283 * gdb.base/pending.exp
12284 * gdb.base/watch_thread_num.exp
12285 * gdb.cp/exception.exp
12286 * gdb.cp/gdb2495.exp
12287 * gdb.cp/local.exp
12288 * gdb.python/py-evsignal.exp
12289 * gdb.python/python.exp
12290 * gdb.trace/tracecmd.exp
12291
9f058c10
LM
122922016-12-01 Luis Machado <lgustavo@codesourcery.com>
12293
12294 Fix test names starting with uppercase throughout the files.
12295
12296 * gdb.base/charset.exp
12297 * gdb.base/eval.exp
12298 * gdb.base/multi-forks.exp
12299 * gdb.guile/scm-progspace.exp
12300 * gdb.opencl/datatypes.exp
12301 * gdb.python/py-block.exp
12302 * gdb.python/py-function.exp
12303 * gdb.python/py-symbol.exp
12304 * gdb.python/py-symtab.exp
12305 * gdb.python/py-xmethods.exp
12306 * gdb.reverse/break-precsave.exp
12307 * gdb.reverse/break-reverse.exp
12308 * gdb.reverse/consecutive-precsave.exp
12309 * gdb.reverse/consecutive-reverse.exp
12310 * gdb.reverse/finish-precsave.exp
12311 * gdb.reverse/finish-reverse-bkpt.exp
12312 * gdb.reverse/finish-reverse.exp
12313 * gdb.reverse/fstatat-reverse.exp
12314 * gdb.reverse/getresuid-reverse.exp
12315 * gdb.reverse/i386-precsave.exp
12316 * gdb.reverse/i386-reverse.exp
12317 * gdb.reverse/i386-sse-reverse.exp
12318 * gdb.reverse/i387-stack-reverse.exp
12319 * gdb.reverse/insn-reverse.exp
12320 * gdb.reverse/machinestate-precsave.exp
12321 * gdb.reverse/machinestate.exp
12322 * gdb.reverse/next-reverse-bkpt-over-sr.exp
12323 * gdb.reverse/pipe-reverse.exp
12324 * gdb.reverse/readv-reverse.exp
12325 * gdb.reverse/recvmsg-reverse.exp
12326 * gdb.reverse/rerun-prec.exp
12327 * gdb.reverse/s390-mvcle.exp
12328 * gdb.reverse/sigall-precsave.exp
12329 * gdb.reverse/sigall-reverse.exp
12330 * gdb.reverse/solib-precsave.exp
12331 * gdb.reverse/solib-reverse.exp
12332 * gdb.reverse/step-precsave.exp
12333 * gdb.reverse/step-reverse.exp
12334 * gdb.reverse/time-reverse.exp
12335 * gdb.reverse/until-precsave.exp
12336 * gdb.reverse/until-reverse.exp
12337 * gdb.reverse/waitpid-reverse.exp
12338 * gdb.reverse/watch-precsave.exp
12339 * gdb.reverse/watch-reverse.exp
12340
cdc7edd7
LM
123412016-12-01 Luis Machado <lgustavo@codesourcery.com>
12342
12343 Fix test names starting with uppercase throughout the files.
12344
12345 * gdb.arch/i386-mpx-simple_segv.exp
12346 * gdb.arch/i386-mpx.exp
12347 * gdb.arch/i386-permbkpt.exp
12348 * gdb.arch/pa-nullify.exp
12349 * gdb.arch/powerpc-d128-regs.exp
12350 * gdb.arch/vsx-regs.exp
12351 * gdb.base/bfp-test.exp
12352 * gdb.base/break.exp
12353 * gdb.base/breakpoint-shadow.exp
12354 * gdb.base/callfuncs.exp
12355 * gdb.base/charset.exp
12356 * gdb.base/commands.exp
12357 * gdb.base/completion.exp
12358 * gdb.base/dfp-test.exp
12359 * gdb.base/echo.exp
12360 * gdb.base/ending-run.exp
12361 * gdb.base/eval.exp
12362 * gdb.base/expand-psymtabs.exp
12363 * gdb.base/float128.exp
12364 * gdb.base/floatn.exp
12365 * gdb.base/foll-exec-mode.exp
12366 * gdb.base/gdb1056.exp
12367 * gdb.base/gdb11531.exp
12368 * gdb.base/kill-after-signal.exp
12369 * gdb.base/multi-forks.exp
12370 * gdb.base/overlays.exp
12371 * gdb.base/pending.exp
12372 * gdb.base/sepdebug.exp
12373 * gdb.base/testenv.exp
12374 * gdb.base/valgrind-db-attach.exp
12375 * gdb.base/watch_thread_num.exp
12376 * gdb.base/watchpoint-cond-gone.exp
12377 * gdb.base/watchpoint.exp
12378 * gdb.base/watchpoints.exp
12379 * gdb.cp/arg-reference.exp
12380 * gdb.cp/baseenum.exp
12381 * gdb.cp/operator.exp
12382 * gdb.cp/shadow.exp
12383 * gdb.dwarf2/dw2-op-out-param.exp
12384 * gdb.dwarf2/dw2-reg-undefined.exp
12385 * gdb.go/chan.exp
12386 * gdb.go/hello.exp
12387 * gdb.go/integers.exp
12388 * gdb.go/methods.exp
12389 * gdb.go/package.exp
12390 * gdb.guile/scm-parameter.exp
12391 * gdb.guile/scm-progspace.exp
12392 * gdb.guile/scm-value.exp
12393 * gdb.mi/mi-pending.exp
12394 * gdb.mi/user-selected-context-sync.exp
12395 * gdb.multi/multi-attach.exp
12396 * gdb.multi/tids.exp
12397 * gdb.opt/clobbered-registers-O2.exp
12398 * gdb.pascal/floats.exp
12399 * gdb.pascal/integers.exp
12400 * gdb.python/py-block.exp
12401 * gdb.python/py-events.exp
12402 * gdb.python/py-parameter.exp
12403 * gdb.python/py-symbol.exp
12404 * gdb.python/py-symtab.exp
12405 * gdb.python/py-type.exp
12406 * gdb.python/py-value.exp
12407 * gdb.python/py-xmethods.exp
12408 * gdb.python/python.exp
12409 * gdb.reverse/break-precsave.exp
12410 * gdb.reverse/consecutive-precsave.exp
12411 * gdb.reverse/finish-precsave.exp
12412 * gdb.reverse/i386-precsave.exp
12413 * gdb.reverse/machinestate-precsave.exp
12414 * gdb.reverse/sigall-precsave.exp
12415 * gdb.reverse/solib-precsave.exp
12416 * gdb.reverse/step-precsave.exp
12417 * gdb.reverse/until-precsave.exp
12418 * gdb.reverse/watch-precsave.exp
12419 * gdb.server/ext-attach.exp
12420 * gdb.server/ext-restart.exp
12421 * gdb.server/ext-run.exp
12422 * gdb.server/ext-wrapper.exp
12423 * gdb.stabs/gdb11479.exp
12424 * gdb.stabs/weird.exp
12425 * gdb.threads/attach-many-short-lived-threads.exp
12426 * gdb.threads/kill.exp
12427 * gdb.threads/watchpoint-fork.exp
12428
bc6c7af4
LM
124292016-12-01 Luis Machado <lgustavo@codesourcery.com>
12430
12431 Fix test names starting with uppercase throughout all the files below.
12432
12433 * gdb.ada/array_return.exp
12434 * gdb.ada/catch_ex.exp
12435 * gdb.ada/info_exc.exp
12436 * gdb.ada/mi_catch_ex.exp
12437 * gdb.ada/mi_dyn_arr.exp
12438 * gdb.ada/mi_ex_cond.exp
12439 * gdb.ada/mi_exc_info.exp
12440 * gdb.ada/mi_interface.exp
12441 * gdb.ada/mi_task_arg.exp
12442 * gdb.ada/mi_task_info.exp
12443 * gdb.ada/mi_var_array.exp
12444 * gdb.arch/alpha-step.exp
12445 * gdb.arch/amd64-disp-step.exp
12446 * gdb.arch/arm-disp-step.exp
12447 * gdb.arch/disp-step-insn-reloc.exp
12448 * gdb.arch/e500-prologue.exp
12449 * gdb.arch/ftrace-insn-reloc.exp
12450 * gdb.arch/gdb1558.exp
12451 * gdb.arch/i386-bp_permanent.exp
12452 * gdb.arch/i386-disp-step.exp
12453 * gdb.arch/i386-float.exp
12454 * gdb.arch/i386-gnu-cfi.exp
12455 * gdb.arch/ia64-breakpoint-shadow.exp
12456 * gdb.arch/mips16-thunks.exp
12457 * gdb.arch/pa-nullify.exp
12458 * gdb.arch/powerpc-aix-prologue.exp
12459 * gdb.arch/powerpc-power.exp
12460 * gdb.arch/ppc-dfp.exp
12461 * gdb.arch/s390-tdbregs.exp
12462 * gdb.arch/spu-info.exp
12463 * gdb.arch/spu-ls.exp
12464 * gdb.arch/thumb-bx-pc.exp
12465 * gdb.base/advance.exp
12466 * gdb.base/annota-input-while-running.exp
12467 * gdb.base/arrayidx.exp
12468 * gdb.base/asmlabel.exp
12469 * gdb.base/async.exp
12470 * gdb.base/attach-wait-input.exp
12471 * gdb.base/auto-connect-native-target.exp
12472 * gdb.base/batch-preserve-term-settings.exp
12473 * gdb.base/bfp-test.exp
12474 * gdb.base/bigcore.exp
12475 * gdb.base/bp-permanent.exp
12476 * gdb.base/break-always.exp
12477 * gdb.base/break-fun-addr.exp
12478 * gdb.base/break-idempotent.exp
12479 * gdb.base/break-main-file-remove-fail.exp
12480 * gdb.base/break-probes.exp
12481 * gdb.base/break-unload-file.exp
12482 * gdb.base/break.exp
12483 * gdb.base/call-ar-st.exp
12484 * gdb.base/call-rt-st.exp
12485 * gdb.base/call-sc.exp
12486 * gdb.base/call-signal-resume.exp
12487 * gdb.base/call-strs.exp
12488 * gdb.base/callexit.exp
12489 * gdb.base/callfuncs.exp
12490 * gdb.base/catch-gdb-caused-signals.exp
12491 * gdb.base/catch-signal-siginfo-cond.exp
12492 * gdb.base/catch-syscall.exp
12493 * gdb.base/compare-sections.exp
12494 * gdb.base/cond-eval-mode.exp
12495 * gdb.base/condbreak-call-false.exp
12496 * gdb.base/consecutive-step-over.exp
12497 * gdb.base/cursal.exp
12498 * gdb.base/disabled-location.exp
12499 * gdb.base/disasm-end-cu.exp
12500 * gdb.base/display.exp
12501 * gdb.base/double-prompt-target-event-error.exp
12502 * gdb.base/dprintf-bp-same-addr.exp
12503 * gdb.base/dprintf-detach.exp
12504 * gdb.base/dprintf-next.exp
12505 * gdb.base/dprintf-non-stop.exp
12506 * gdb.base/dprintf-pending.exp
12507 * gdb.base/dso2dso.exp
12508 * gdb.base/ending-run.exp
12509 * gdb.base/enum_cond.exp
12510 * gdb.base/examine-backward.exp
12511 * gdb.base/exe-lock.exp
12512 * gdb.base/exec-invalid-sysroot.exp
12513 * gdb.base/execl-update-breakpoints.exp
12514 * gdb.base/execution-termios.exp
12515 * gdb.base/fileio.exp
12516 * gdb.base/fixsection.exp
12517 * gdb.base/foll-exec-mode.exp
12518 * gdb.base/foll-exec.exp
12519 * gdb.base/fork-running-state.exp
12520 * gdb.base/frame-args.exp
12521 * gdb.base/fullpath-expand.exp
12522 * gdb.base/func-ptr.exp
12523 * gdb.base/gcore-relro-pie.exp
12524 * gdb.base/gdb1090.exp
12525 * gdb.base/gdb1555.exp
12526 * gdb.base/global-var-nested-by-dso.exp
12527 * gdb.base/gnu-ifunc.exp
12528 * gdb.base/hbreak-in-shr-unsupported.exp
12529 * gdb.base/hbreak-unmapped.exp
12530 * gdb.base/hook-stop.exp
12531 * gdb.base/infcall-input.exp
12532 * gdb.base/info-fun.exp
12533 * gdb.base/info-shared.exp
12534 * gdb.base/interrupt-noterm.exp
12535 * gdb.base/jit-so.exp
12536 * gdb.base/jit.exp
12537 * gdb.base/line-symtabs.exp
12538 * gdb.base/list.exp
12539 * gdb.base/longjmp.exp
12540 * gdb.base/macscp.exp
12541 * gdb.base/max-value-size.exp
12542 * gdb.base/nodebug.exp
12543 * gdb.base/nofield.exp
12544 * gdb.base/overlays.exp
12545 * gdb.base/paginate-after-ctrl-c-running.exp
12546 * gdb.base/paginate-bg-execution.exp
12547 * gdb.base/paginate-inferior-exit.exp
12548 * gdb.base/pending.exp
12549 * gdb.base/pr11022.exp
12550 * gdb.base/printcmds.exp
12551 * gdb.base/ptr-typedef.exp
12552 * gdb.base/ptype.exp
12553 * gdb.base/randomize.exp
12554 * gdb.base/range-stepping.exp
12555 * gdb.base/realname-expand.exp
12556 * gdb.base/relativedebug.exp
12557 * gdb.base/remote.exp
12558 * gdb.base/savedregs.exp
12559 * gdb.base/sepdebug.exp
12560 * gdb.base/set-noassign.exp
12561 * gdb.base/shlib-call.exp
12562 * gdb.base/shreloc.exp
12563 * gdb.base/sigaltstack.exp
12564 * gdb.base/sigbpt.exp
12565 * gdb.base/siginfo-addr.exp
12566 * gdb.base/siginfo-obj.exp
12567 * gdb.base/siginfo-thread.exp
12568 * gdb.base/signest.exp
12569 * gdb.base/signull.exp
12570 * gdb.base/sigrepeat.exp
12571 * gdb.base/skip.exp
12572 * gdb.base/so-impl-ld.exp
12573 * gdb.base/solib-corrupted.exp
12574 * gdb.base/solib-disc.exp
12575 * gdb.base/solib-display.exp
12576 * gdb.base/solib-overlap.exp
12577 * gdb.base/solib-search.exp
12578 * gdb.base/solib-symbol.exp
12579 * gdb.base/source-execution.exp
12580 * gdb.base/sss-bp-on-user-bp-2.exp
12581 * gdb.base/sss-bp-on-user-bp.exp
12582 * gdb.base/stack-checking.exp
12583 * gdb.base/stale-infcall.exp
12584 * gdb.base/step-break.exp
12585 * gdb.base/step-line.exp
12586 * gdb.base/step-over-exit.exp
12587 * gdb.base/step-test.exp
12588 * gdb.base/structs.exp
12589 * gdb.base/sym-file.exp
12590 * gdb.base/symtab-search-order.exp
12591 * gdb.base/term.exp
12592 * gdb.base/type-opaque.exp
12593 * gdb.base/unload.exp
12594 * gdb.base/until-nodebug.exp
12595 * gdb.base/until.exp
12596 * gdb.base/unwindonsignal.exp
12597 * gdb.base/watch-cond.exp
12598 * gdb.base/watch-non-mem.exp
12599 * gdb.base/watch_thread_num.exp
12600 * gdb.base/watchpoint-reuse-slot.exp
12601 * gdb.base/watchpoint-solib.exp
12602 * gdb.base/watchpoint.exp
12603 * gdb.btrace/dlopen.exp
12604 * gdb.cell/arch.exp
12605 * gdb.cell/break.exp
12606 * gdb.cell/bt.exp
12607 * gdb.cell/core.exp
12608 * gdb.cell/data.exp
12609 * gdb.cell/dwarfaddr.exp
12610 * gdb.cell/ea-cache.exp
12611 * gdb.cell/ea-standalone.exp
12612 * gdb.cell/ea-test.exp
12613 * gdb.cell/f-regs.exp
12614 * gdb.cell/fork.exp
12615 * gdb.cell/gcore.exp
12616 * gdb.cell/mem-access.exp
12617 * gdb.cell/ptype.exp
12618 * gdb.cell/registers.exp
12619 * gdb.cell/sizeof.exp
12620 * gdb.cell/solib-symbol.exp
12621 * gdb.cell/solib.exp
12622 * gdb.compile/compile-tls.exp
12623 * gdb.cp/exception.exp
12624 * gdb.cp/gdb2495.exp
12625 * gdb.cp/local.exp
12626 * gdb.cp/mb-inline.exp
12627 * gdb.cp/mb-templates.exp
12628 * gdb.cp/pr10687.exp
12629 * gdb.cp/pr9167.exp
12630 * gdb.cp/scope-err.exp
12631 * gdb.cp/templates.exp
12632 * gdb.cp/virtfunc.exp
12633 * gdb.dwarf2/dw2-dir-file-name.exp
12634 * gdb.dwarf2/dw2-single-line-discriminators.exp
12635 * gdb.fortran/complex.exp
12636 * gdb.fortran/library-module.exp
12637 * gdb.guile/guile.exp
12638 * gdb.guile/scm-cmd.exp
12639 * gdb.guile/scm-frame-inline.exp
12640 * gdb.guile/scm-objfile.exp
12641 * gdb.guile/scm-pretty-print.exp
12642 * gdb.guile/scm-symbol.exp
12643 * gdb.guile/scm-type.exp
12644 * gdb.guile/scm-value.exp
12645 * gdb.linespec/keywords.exp
12646 * gdb.linespec/ls-errs.exp
12647 * gdb.linespec/macro-relative.exp
12648 * gdb.linespec/thread.exp
12649 * gdb.mi/mi-breakpoint-changed.exp
12650 * gdb.mi/mi-dprintf-pending.exp
12651 * gdb.mi/mi-fullname-deleted.exp
12652 * gdb.mi/mi-logging.exp
12653 * gdb.mi/mi-pending.exp
12654 * gdb.mi/mi-solib.exp
12655 * gdb.mi/new-ui-mi-sync.exp
12656 * gdb.mi/user-selected-context-sync.exp
12657 * gdb.multi/dummy-frame-restore.exp
12658 * gdb.multi/multi-arch-exec.exp
12659 * gdb.multi/remove-inferiors.exp
12660 * gdb.multi/watchpoint-multi-exit.exp
12661 * gdb.opt/solib-intra-step.exp
12662 * gdb.perf/backtrace.exp
12663 * gdb.perf/single-step.exp
12664 * gdb.perf/skip-command.exp
12665 * gdb.perf/skip-prologue.exp
12666 * gdb.perf/solib.exp
12667 * gdb.python/lib-types.exp
12668 * gdb.python/py-as-string.exp
12669 * gdb.python/py-bad-printers.exp
12670 * gdb.python/py-block.exp
12671 * gdb.python/py-breakpoint.exp
12672 * gdb.python/py-cmd.exp
12673 * gdb.python/py-events.exp
12674 * gdb.python/py-evthreads.exp
12675 * gdb.python/py-finish-breakpoint.exp
12676 * gdb.python/py-finish-breakpoint2.exp
12677 * gdb.python/py-frame-inline.exp
12678 * gdb.python/py-frame.exp
12679 * gdb.python/py-inferior.exp
12680 * gdb.python/py-infthread.exp
12681 * gdb.python/py-mi.exp
12682 * gdb.python/py-objfile.exp
12683 * gdb.python/py-pp-maint.exp
12684 * gdb.python/py-pp-registration.exp
12685 * gdb.python/py-prettyprint.exp
12686 * gdb.python/py-recurse-unwind.exp
12687 * gdb.python/py-shared.exp
12688 * gdb.python/py-symbol.exp
12689 * gdb.python/py-symtab.exp
12690 * gdb.python/py-template.exp
12691 * gdb.python/py-type.exp
12692 * gdb.python/py-unwind-maint.exp
12693 * gdb.python/py-unwind.exp
12694 * gdb.python/py-value.exp
12695 * gdb.python/python.exp
12696 * gdb.reverse/finish-reverse-bkpt.exp
12697 * gdb.reverse/insn-reverse.exp
12698 * gdb.reverse/next-reverse-bkpt-over-sr.exp
12699 * gdb.reverse/solib-precsave.exp
12700 * gdb.reverse/solib-reverse.exp
12701 * gdb.stabs/gdb11479.exp
12702 * gdb.stabs/weird.exp
12703 * gdb.threads/fork-child-threads.exp
12704 * gdb.threads/fork-plus-threads.exp
12705 * gdb.threads/fork-thread-pending.exp
12706 * gdb.threads/forking-threads-plus-breakpoint.exp
12707 * gdb.threads/hand-call-in-threads.exp
12708 * gdb.threads/interrupted-hand-call.exp
12709 * gdb.threads/linux-dp.exp
12710 * gdb.threads/local-watch-wrong-thread.exp
12711 * gdb.threads/next-while-other-thread-longjmps.exp
12712 * gdb.threads/non-ldr-exit.exp
12713 * gdb.threads/pending-step.exp
12714 * gdb.threads/print-threads.exp
12715 * gdb.threads/process-dies-while-detaching.exp
12716 * gdb.threads/process-dies-while-handling-bp.exp
12717 * gdb.threads/pthreads.exp
12718 * gdb.threads/queue-signal.exp
12719 * gdb.threads/reconnect-signal.exp
12720 * gdb.threads/signal-command-handle-nopass.exp
12721 * gdb.threads/signal-command-multiple-signals-pending.exp
12722 * gdb.threads/signal-delivered-right-thread.exp
12723 * gdb.threads/signal-sigtrap.exp
12724 * gdb.threads/sigthread.exp
12725 * gdb.threads/staticthreads.exp
12726 * gdb.threads/stepi-random-signal.exp
12727 * gdb.threads/thread-unwindonsignal.exp
12728 * gdb.threads/thread_check.exp
12729 * gdb.threads/thread_events.exp
12730 * gdb.threads/tid-reuse.exp
12731 * gdb.threads/tls-nodebug.exp
12732 * gdb.threads/tls-shared.exp
12733 * gdb.threads/tls-so_extern.exp
12734 * gdb.threads/tls.exp
12735 * gdb.threads/wp-replication.exp
12736 * gdb.trace/actions-changed.exp
12737 * gdb.trace/actions.exp
12738 * gdb.trace/backtrace.exp
12739 * gdb.trace/change-loc.exp
12740 * gdb.trace/collection.exp
12741 * gdb.trace/deltrace.exp
12742 * gdb.trace/disconnected-tracing.exp
12743 * gdb.trace/entry-values.exp
12744 * gdb.trace/ftrace-lock.exp
12745 * gdb.trace/ftrace.exp
12746 * gdb.trace/infotrace.exp
12747 * gdb.trace/mi-trace-frame-collected.exp
12748 * gdb.trace/mi-trace-unavailable.exp
12749 * gdb.trace/mi-traceframe-changed.exp
12750 * gdb.trace/mi-tracepoint-changed.exp
12751 * gdb.trace/mi-tsv-changed.exp
12752 * gdb.trace/no-attach-trace.exp
12753 * gdb.trace/packetlen.exp
12754 * gdb.trace/passc-dyn.exp
12755 * gdb.trace/passcount.exp
12756 * gdb.trace/pending.exp
12757 * gdb.trace/pr16508.exp
12758 * gdb.trace/qtro.exp
12759 * gdb.trace/range-stepping.exp
12760 * gdb.trace/read-memory.exp
12761 * gdb.trace/report.exp
12762 * gdb.trace/save-trace.exp
12763 * gdb.trace/signal.exp
12764 * gdb.trace/stap-trace.exp
12765 * gdb.trace/status-stop.exp
12766 * gdb.trace/strace.exp
12767 * gdb.trace/tfile.exp
12768 * gdb.trace/tfind.exp
12769 * gdb.trace/trace-break.exp
12770 * gdb.trace/trace-condition.exp
12771 * gdb.trace/trace-enable-disable.exp
12772 * gdb.trace/trace-mt.exp
12773 * gdb.trace/tracecmd.exp
12774 * gdb.trace/tracefile-pseudo-reg.exp
12775 * gdb.trace/tspeed.exp
12776 * gdb.trace/tstatus.exp
12777 * gdb.trace/tsv.exp
12778 * gdb.trace/unavailable.exp
12779 * gdb.trace/while-dyn.exp
12780 * gdb.trace/while-stepping.exp
12781 * lib/gdb-guile.exp
12782 * lib/gdb.exp
12783 * lib/mi-support.exp
12784 * lib/pascal.exp
12785 * lib/perftest.exp
12786 * lib/prelink-support.exp
12787 * lib/selftest-support.exp
12788
ad02e4fe
SM
127892016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
12790
12791 * Makefile.in: Include disable-implicit-rules.mk.
12792
22347e55
AA
127932016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12794
12795 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
12796 non-byte-aligned bit fields.
12797
da5b30da
AA
127982016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12799
12800 PR gdb/12616
12801 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
12802 respects the DW_AT_data_bit_offset attribute.
12803
b593ecca
SM
128042016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
12805
12806 * gdb.base/default.exp: Fix output of "set language".
12807
3b165252
SM
128082016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
12809
12810 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
12811 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
12812 make.
12813 * configure.ac: Remove checks for the make program.
12814 * configure: Re-generate.
12815
1a2f3d7f
KB
128162016-11-16 Kevin Buettner <kevinb@redhat.com>
12817
12818 * gdb.python/py-recurse-unwind.c (main): Add loop.
12819 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
12820 to read_register() and gdb.parse_and_eval(). Make each code
12821 call a separate case that can be individually tested.
12822 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
12823 proc. Call cont_and_backtrace for each of the code paths that
12824 we want to test in the unwinder.
12825
b7f38fda
AA
128262016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
12827
12828 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
12829 the definition of struct S.
12830
1f8db343
CM
128312016-11-11 Catherine Moore <clm@codesourcery.com>
12832
12833 * gdb.base/dump.exp: Identify verilog format dump tests as such.
12834
fad0c9fb
PA
128352016-11-09 Pedro Alves <palves@redhat.com>
12836
12837 * gdb.base/commands.exp (runto_or_return): New procedure.
12838 (gdbvar_simple_if_test, gdbvar_simple_while_test)
12839 (gdbvar_complex_if_while_test, progvar_simple_if_test)
12840 (progvar_simple_while_test, progvar_complex_if_while_test)
12841 (if_while_breakpoint_command_test)
12842 (infrun_breakpoint_command_test, breakpoint_command_test)
12843 (user_defined_command_test, watchpoint_command_test)
12844 (test_command_prompt_position, redefine_hook_test)
12845 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
12846 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
12847 multi_line_input and multi_line. Remove gdb_expect and
12848 gdb_stop_suppressing_tests uses.
12849 * lib/gdb.exp (valnum_re): New global.
12850 (multi_line_input): New procedure.
12851
8354c62c
SM
128522016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
12853
12854 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
12855 Remove.
12856 (test_setup): Define with proc_with_prefix.
12857 (test_cli_inferior): Likewise.
12858 (test_cli_thread): Likewise.
12859 (test_cli_frame): Likewise.
12860 (test_cli_select_frame): Likewise.
12861 (test_cli_up_down): Likewise.
12862 (test_mi_thread_select): Likewise.
12863 (test_mi_stack_select_frame): Likewise.
12864 (test_cli_in_mi_inferior): Likewise.
12865 (test_cli_in_mi_thread): Likewise.
12866 (test_cli_in_mi_frame): Likewise.
12867 (top level): Do not use with_test_prefix_procname.
12868
64f367a2
PA
128692016-11-09 Pedro Alves <palves@redhat.com>
12870
12871 * gdb.base/commands.exp (gdbvar_simple_if_test)
12872 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
12873 (progvar_simple_if_test, progvar_simple_while_test)
12874 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
12875 (infrun_breakpoint_command_test, breakpoint_command_test)
12876 (user_defined_command_test, watchpoint_command_test)
12877 (test_command_prompt_position, deprecated_command_test)
12878 (bp_deleted_in_command, temporary_breakpoint_commands)
12879 (stray_arg0_test, source_file_with_indented_comment)
12880 (recursive_source_test, if_commands_test)
12881 (error_clears_commands_left, redefine_hook_test)
12882 (redefine_backtrace_test): Use proc_with_prefix.
12883 * lib/gdb.exp (proc_with_prefix): New proc.
12884
0bb65f1e
AA
128852016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
12886
12887 * gdb.base/tui-layout.c: New file.
12888 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
12889 disassembly window contains very long lines.
12890
7353f247
TT
128912016-11-08 Tom Tromey <tom@tromey.com>
12892
12893 * gdb.python/py-value.exp (test_value_creation): Make "long" test
12894 depend on Python 2.
12895
30a7bb83
TT
128962016-11-08 Tom Tromey <tom@tromey.com>
12897
12898 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
12899 New method.
12900
cdf5a07c
MG
129012016-10-29 Manish Goregaokar <manish@mozilla.com>
12902
2806dc7e 12903 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 12904
51a789c3
MG
129052016-10-27 Manish Goregaokar <manish@mozilla.com>
12906
2806dc7e
PA
12907 * gdb.rust/simple.rs: Add test for univariant enums without
12908 discriminants and for encoded struct-like enums.
51a789c3 12909
f610ab6d
PA
129102016-10-28 Pedro Alves <palves@redhat.com>
12911
12912 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
12913 gdb_test_multiple, tighten regexps and match symtabs and line
12914 tables incrementally.
12915
b129b0ca
LM
129162016-10-28 Luis Machado <lgustavo@codesourcery.com>
12917
12918 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
12919 general.
12920
ecf45d2c
SL
129212016-10-25 Luis Machado <lgustavo@codesourcery.com>
12922
12923 * gdb.base/exec-invalid-sysroot.exp: New file.
12924
b8d38ee4
JK
129252016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12926
12927 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
12928
f90fd8c2
JK
129292016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12930
12931 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
12932
2d2476aa
MR
129332016-10-19 Maciej W. Rozycki <macro@imgtec.com>
12934
2806dc7e
PA
12935 * gdb.base/killed-outside.exp: Remove $options from a call to
12936 `prepare_for_testing'.
2d2476aa 12937
e42b25a0
SM
129382016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12939
12940 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
12941 Change test message.
12942
3ccdb432
SM
129432016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12944
12945 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
12946 Update comment.
12947
5bad3170
SM
129482016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12949
12950 * gdb.trace/mi-trace-save.exp: New file.
12951
5ad9dba7
YQ
129522016-10-13 Yao Qi <yao.qi@linaro.org>
12953
12954 * gdb.base/code_elim.exp (get_var_address): Remove.
12955 * gdb.base/relocate.exp: Likewise.
12956 * gdb.base/shreloc.exp: Likewise.
12957 * lib/gdb.exp (get_var_address): New.
12958
62df7e21
YQ
129592016-10-13 Yao Qi <yao.qi@linaro.org>
12960
12961 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
12962 floating point tests if $skip_float_test is false.
12963
4dac951e
LM
129642016-10-12 Luis Machado <lgustavo@codesourcery.com>
12965
12966 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
12967 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
12968 argc values.
12969 Add 1 to argc so we guarantee distinct initial/modified argc values.
12970
8f1a8fc4
JK
129712016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12972
12973 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
12974
16c85b5d
JK
129752016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12976
12977 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
12978 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
12979 * gdb.arch/vsx-regs.exp: Likewise.
12980
1d0e042a
YQ
129812016-10-07 Yao Qi <yao.qi@linaro.org>
12982
12983 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
12984
68dadef5
MM
129852016-10-07 Markus Metzger <markus.t.metzger@intel.com>
12986
12987 * gdb.python/python.exp: Test decode_line("*0").
12988
33fa2c6e
DE
129892016-10-06 Doug Evans <dje@google.com>
12990
12991 * gdb.python/py-value.exp (test_value_creation): Add test for large
12992 unsigned 64-bit value.
12993
9c37b5ae
TT
129942016-10-06 Tom Tromey <tom@tromey.com>
12995
12996 * gdb.compile/compile.exp: Change java tests to rust.
12997 * gdb.base/setshow.exp: Change java tests to rust.
12998 * gdb.base/default.exp: Remove java from language list.
12999 * README (Examples): Update language example.
13000 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
13001 test.
13002 * lib/gdb.exp (skip_java_tests): Remove.
13003 * lib/java.exp: Remove.
13004 * gdb.java: Remove.
13005
78b86327
MR
130062016-10-06 Maciej W. Rozycki <macro@imgtec.com>
13007
13008 * gdb.arch/mips-fcr.exp: New test.
13009 * gdb.arch/mips-fcr.c: Source for the new test.
13010
7470adbb
MR
130112016-10-06 Maciej W. Rozycki <macro@imgtec.com>
13012
13013 * gdb.base/solib-disc.exp: Use `standard_output_file'
13014 throughout.
13015
4a556533
PA
130162016-10-06 Pedro Alves <palves@redhat.com>
13017
13018 * gdb.base/jit-simple-dl.c: New file.
13019 * gdb.base/jit-simple-jit.c: New file, factored out from ...
13020 * gdb.base/jit-simple.c: ... this.
13021 * gdb.base/jit-simple.exp (jit_run): Delete.
13022 (build_jit): New proc.
13023 (jit_test_reread): Recompile either the main program or the shared
13024 library, depending on what is being tested. Skip changing address
13025 if caller wants to. Compare before/after addresses. If testing
13026 standalone, explicitly load the binary. Test "maint info
13027 breakpoints".
13028 (top level): Add "standalone vs shared lib" and "change address"
13029 vs "same address" axes.
13030
5a122fbc
PA
130312016-10-06 Pedro Alves <palves@redhat.com>
13032
13033 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
13034 call.
13035 (jit_run): Delete.
13036 (jit_test_reread): Use with_test_prefix. Reload the main binary
13037 explicitly. Compare the before/after addresses of the JIT
13038 descriptor.
13039
ee8da4b8
DE
130402016-08-15 Doug Evans <dje@google.com>
13041
13042 * gdb.xml/extra-regs.xml: Update, end field now required, default type
13043 for single bitfields is bool.
13044 * gdb.xml/tdesc-regs.exp: Ditto.
13045
f389f6fe
JK
130462016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
13047
13048 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
13049
fdebf1a4
YQ
130502016-10-05 Yao Qi <yao.qi@linaro.org>
13051
13052 * lib/gdb.exp (support_complex_tests): Return zero if
13053 gdb_skip_float_test return true.
13054
9c36d954 130552016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 13056 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
13057
13058 PR gdb/20487
13059 * gdb.mi/user-selected-context-sync.exp: New file.
13060 * gdb.mi/user-selected-context-sync.c: New file.
13061
4034d0ff 130622016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 13063 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
13064
13065 PR gdb/20487
13066 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
13067 =thread-select-event check.
13068
a4297203
PB
130692016-09-29 Peter Bergner <bergner@vnet.ibm.com>
13070
13071 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
13072 the compulsory L operand changes.
13073 * gdb.arch/powerpc-power.s: Likewise.
13074
bb805577
JK
130752016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13076
13077 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
13078 * gdb.base/jit-attach-pie.c: New file.
13079 * gdb.base/jit-attach-pie.exp: New file.
13080
6d61dee5
PA
130812016-09-28 Pedro Alves <palves@redhat.com>
13082
13083 * gdb.base/infcall-input.c: New file.
13084 * gdb.base/infcall-input.exp: New file.
13085
f73842fc
YQ
130862016-09-22 Yao Qi <yao.qi@linaro.org>
13087
13088 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
13089 (gdb_exit): Rename it to ...
13090 (gdbserver_gdb_exit): ... Close GDBserver.
13091 (gdb_exit): New proc, call gdbserver_gdb_exit.
13092 (mi_gdb_exit): Likewise.
13093
90681dab
YQ
130942016-09-22 Yao Qi <yao.qi@linaro.org>
13095
13096 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
13097 path.
13098 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
13099 Remove duplication.
13100
9c211fd8
YQ
131012016-09-22 Yao Qi <yao.qi@linaro.org>
13102
13103 * lib/gdbserver-support.exp: Check the existence of
13104 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
13105
ad0a504f
AK
131062016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
13107
13108 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
13109
36cf1806
TT
131102016-09-21 Tom Tromey <tom@tromey.com>
13111
13112 PR gdb/20604:
13113 * gdb.base/quit.exp: New file.
13114
74172ecf
SM
131152016-09-21 Simon Marchi <simon.marchi@ericsson.com>
13116
13117 * .gitignore: New file.
13118
3d0ec882
MR
131192016-09-21 Maciej W. Rozycki <macro@imgtec.com>
13120
13121 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
13122 throughout.
13123
8193adea
AA
131242016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13125
13126 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
13127
d41a5c09
JK
131282016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13129
13130 * gdb.cp/casts.cc (decltype): Move it ...
13131 (main): ... with its call to ...
13132 * gdb.cp/casts03.cc: ... a new file.
13133 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
13134
d2dfe700
JK
131352016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13136
13137 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
13138
e2a92b16
PB
131392016-09-15 Peter Bergner <bergner@vnet.ibm.com>
13140
13141 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
13142 and sync up the test with tests in gas/testsuite/gas/ppc.
13143 * gdb.arch/powerpc-power.exp: Likewise.
13144
49b4de64
JK
131452016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13146
13147 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
13148
2c29df25
SDJ
131492016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
13150 Jan Kratochvil <jan.kratochvil@redhat.com>
13151
13152 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
13153 make m1's definition to be different from m2's. Use 'dummy' as an
13154 argument for probe 'two'.
13155
cc3c2846
JB
131562016-09-10 Jon Beniston <jon@beniston.com>
13157
13158 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
13159 for sim target.
13160
e1b2624a
AA
131612016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
13162
13163 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
13164 variable declaration.
13165 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
13166 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
13167 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
13168 received HWCAP as its argument.
13169
4295e285
PA
131702016-09-06 Pedro Alves <palves@redhat.com>
13171
13172 * gdb.base/new-ui-pending-input.c: New file.
13173 * gdb.base/new-ui-pending-input.exp: New file.
13174 * gdb.exp (clear_gdb_spawn_id): New procedure.
13175 (with_spawn_id): Check whether gdb_spawn_id exists before
13176 referencing it. If gdb_spawn_id didn't exist on entry, clear it
13177 on exit.
13178
00d5215e
UW
131792016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
13180
13181 * gdb.base/float128.c: New file.
13182 * gdb.base/float128.exp: Likewise.
13183 * gdb.base/floatn.c: Likewise.
13184 * gdb.base/floatn.exp: Likewise.
13185
a9ff5f12
UW
131862016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
13187
13188 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
13189
f245535c
PA
131902016-09-05 Pedro Alves <palves@redhat.com>
13191
13192 PR backtrace/19927
13193 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
13194 unwinders are immediately called as side effect of "source" or
13195 "disable unwinder" commands.
13196 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
13197
ae9cf263
YQ
131982016-09-02 Yao Qi <yao.qi@linaro.org>
13199
13200 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
13201 is true and $type is "float" or "double".
13202
27aba047
YQ
132032016-09-02 Yao Qi <yao.qi@linaro.org>
13204
13205 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
13206 true.
13207 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
13208 * gdb.base/call-rt-st.exp: Likewise.
13209 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
13210 return value instead of gdb,skip_float_test.
13211 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
13212 (do_function_calls): Use its return value instead of
13213 gdb,skip_float_test.
13214 * gdb.base/finish.exp: Likewise.
13215 * gdb.base/funcargs.exp: Likewise.
13216 * gdb.base/return.exp: Likewise.
13217 * gdb.base/return2.exp: Likewise.
13218 * gdb.base/varargs.exp: Likewise.
13219 * lib/gdb.exp (gdb_skip_float_test): Change it to
13220 gdb_caching_proc. Detect the broken ptrace on arm-linux.
13221
5af962df
AA
132222016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
13223
13224 * gdb.multi/tids.exp: Test "thread apply all".
13225
7fac6910
JK
132262016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13227
13228 * gdb.base/default.exp (tty): Remove.
13229
bb1fe4ac
KB
132302016-08-24 Kevin Buettner <kevinb@redhat.com>
13231
2806dc7e
PA
13232 * gdb.python/py-recurse-unwind.c: New file.
13233 * gdb.python/py-recurse-unwind.py: New file.
13234 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 13235
0a1ddfa6
SM
132362016-08-24 Simon Marchi <simon.marchi@ericsson.com>
13237
13238 * gdb.base/set-inferior-tty.exp: New file.
13239 * gdb.base/set-inferior-tty.c: New file.
13240
d9de1fe3
PA
132412016-08-23 Pedro Alves <palves@redhat.com>
13242
13243 PR gdb/20494
13244 * gdb.base/new-ui-echo.c: New file.
13245 * gdb.base/new-ui-echo.exp: New file.
13246
e9d9abd7
YQ
132472016-08-23 Yao Qi <yao.qi@linaro.org>
13248
13249 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
13250 gdbserver_spawn.
13251 * gdb.server/connect-without-multi-process.exp (do_test):
13252 Likewise.
13253
3589529e
YQ
132542016-08-23 Yao Qi <yao.qi@linaro.org>
13255
13256 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
13257 standalone_txt. Delete gdb_txt and standalone_txt on host
13258 and target. Spawn the binary on target. Copy files from
13259 target to host.
13260
6bb90213
PA
132612016-08-22 Pedro Alves <palves@redhat.com>
13262
13263 PR gdb/20505
13264 * gdb.base/vdso-warning.exp: Test core dumps too. Use
13265 with_test_prefix. Factor out bits to ...
13266 (test_no_vdso): ... this new procedure.
13267
20c2c024
CL
132682016-08-19 Carl Love <cel@us.ibm.com>
13269
13270 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
13271 maintaining separate logic for constructing the output path.
13272 * gdb.arch/powerpc-d128-regs.exp: Likewise.
13273 * gdb.arch/ppc-dfp.exp: Likewise.
13274 * gdb.arch/ppc-fp.exp: Likewise.
13275 * gdb.arch/vsx-regs.exp: Likewise.
13276 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
13277 binprefix for generating the additional binary files.
13278
0646e07d
PA
132792016-08-19 Pedro Alves <palves@redhat.com>
13280
13281 * gdb.trace/mi-trace-frame-collected.exp
13282 (test_trace_frame_collected): On x32, expect two registers.
13283
46da9242
CL
132842016-08-18 Carl Love <cel@us.ibm.com>
13285
13286 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
13287 and sync up the test with tests in gas/testsuite/gas/ppc.
13288 * gdb.arch/powerpc-power.exp: Likewise.
13289
eb2332d7
SM
132902016-08-17 Simon Marchi <simon.marchi@ericsson.com>
13291
13292 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
13293 expected error message.
13294
63c61e04
SM
132952016-08-17 Simon Marchi <simon.marchi@ericsson.com>
13296
13297 * gdb.multi/remove-inferiors.exp: New file.
13298 * gdb.multi/remove-inferiors.c: New file.
13299
7b17065f
YQ
133002016-08-12 Yao Qi <yao.qi@linaro.org>
13301
13302 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
13303 argument list.
13304
01d3dedf
PA
133052016-08-10 Pedro Alves <palves@redhat.com>
13306
13307 PR gdb/19187
13308 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
13309 setup_kfails.
13310
3eb7562a
PA
133112016-08-09 Pedro Alves <palves@redhat.com>
13312 Simon Marchi <simon.marchi@ericsson.com>
13313
13314 PR gdb/20418
13315 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
13316 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
13317
80614914
PA
133182016-08-09 Pedro Alves <palves@redhat.com>
13319
13320 PR mi/20431
13321 * gdb.mi/mi-cmd-error.exp: New file.
13322
f348d89a
PA
133232016-08-09 Pedro Alves <palves@redhat.com>
13324
13325 PR gdb/18653
13326 * gdb.base/signals-state-child.c: New file.
13327 * gdb.base/signals-state-child.exp: New file.
13328 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
13329
e5ca03b4
PA
133302016-08-09 Pedro Alves <palves@redhat.com>
13331
13332 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
13333
282a0691
TT
133342016-08-03 Tom Tromey <tom@tromey.com>
13335
13336 PR python/18565:
13337 * gdb.python/py-frame-inline.exp: Add Frame.function test.
13338
41bfcd63
YQ
133392016-08-01 Yao Qi <yao.qi@linaro.org>
13340
13341 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
13342 variable mode to "multi-process" if $multi_process is 1, otherwise
13343 set it to "single-process".
13344
e3465b24
YQ
133452016-08-01 Yao Qi <yao.qi@linaro.org>
13346
13347 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
13348 * gdb.cp/cpexprs.exp: Likewise.
13349 * gdb.cp/m-static.exp: Likewise.
13350
0b31a4bc
TT
133512016-07-26 Tom Tromey <tom@tromey.com>
13352
13353 PR python/20190:
13354 * gdb.threads/tls.exp (check_thread_local): Add python symbol
13355 test.
13356
e0461dbb
MM
133572016-07-26 Markus Metzger <markus.t.metzger@intel.com>
13358
13359 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
13360 selecting assembly source files.
13361 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
13362 assembly source files.
13363 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
13364 assembly source files.
13365 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
13366 selecting assembly source files.
13367
8194e927
SM
133682016-07-25 Simon Marchi <simon.marchi@ericsson.com>
13369
13370 * gdb.base/new-ui.exp (do_test_invalid_args): New
13371 procedure.
13372
c0272db5
TW
133732016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
13374
13375 * gdb.btrace/reconnect.c: New file.
13376 * gdb.btrace/reconnect.exp: New file.
13377
e3487908
GKB
133782016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
13379
13380 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
13381 to test_catch_syscall_group.
13382 (test_catch_syscall_group): New.
13383
12df5c00
TT
133842016-07-21 Tom Tromey <tom@tromey.com>
13385
13386 * gdb.rust/simple.rs (main): Use empty struct expression.
13387 * gdb.rust/simple.exp: Add tests for empty struct expression.
13388
bae62ee2
YQ
133892016-07-21 Yao Qi <yao.qi@linaro.org>
13390
13391 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
13392 if gdb_skip_xml_test is true on some targets.
13393
b1b53fb3
YQ
133942016-07-21 Yao Qi <yao.qi@linaro.org>
13395
13396 * gdb.server/solib-list.exp: Unset last_loaded_file.
13397
027d97f8
JK
133982016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13399
13400 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
13401 "step into captured_main (args)".
13402
7674d381
JK
134032016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13404
13405 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
13406
72b5d099
JK
134072016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13408
13409 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
13410
1f960ced
PA
134112016-07-19 Pedro Alves <palves@redhat.com>
13412
13413 * gdb.opt/inline-break.exp: Remove optimize=-O2.
13414 * gdb.opt/inline-bt.exp: Likewise.
13415 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
13416 additional_flags=-Winline.
13417 * gdb.opt/inline-locals.exp: Likewise.
13418 * gdb.opt/inline-markers.c (ATTR): Define.
13419 (inlined_fn): Use it.
13420
f25827c1
YQ
134212016-07-19 Yao Qi <yao.qi@linaro.org>
13422
13423 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
13424 (test_with_self): Remove some code. Remove argument executable.
13425 (top-level): Use do_self_tests.
13426
37539ebe
DB
134272016-07-15 Zachary Welch <zwelch@codesourcery.com>
13428 Don Breazeal <donb@codesourcery.com>
13429
13430 * gdb.base/maint.exp: Escape paths used in regular expressions.
13431 * gdb.stabs/weird.exp: Likewise.
13432
dac790e1
TT
134332016-07-13 Tom Tromey <tom@tromey.com>
13434
13435 PR python/15620, PR python/18620:
13436 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
13437 (test_bkpt_events): New procs.
13438
93daf339
TT
134392016-07-13 Tom Tromey <tom@tromey.com>
13440
13441 PR python/17698:
13442 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
13443 test.
13444 (test_watchpoints): Likewise.
13445 (test_bkpt_pending): New proc.
13446
6571a381
TT
134472016-07-13 Tom Tromey <tom@tromey.com>
13448
13449 PR cli/18053:
13450 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
13451 completion test.
13452
e8732474
JK
134532016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13454
13455 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
13456 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
13457 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
13458 f_label.
13459 (g): Rename g_end_lbl to g_label.
13460 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
13461 low_pc and high_pc.
13462 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
13463
e0f3fd7c
TT
134642016-07-12 Tom Tromey <tom@tromey.com>
13465
13466 PR python/19293:
13467 * gdb.python/py-unwind-maint.exp: Update tests.
13468
3cfe46b6
YQ
134692016-07-12 Yao Qi <yao.qi@linaro.org>
13470
13471 * lib/selftest-support.exp (selftest_setup): Match the output
13472 when captured_main is inlined.
13473
4f19a0e6
WT
134742016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
13475
13476 * gdb.fortran/derived-types.exp (result_line, result_line_2):
13477 New variables.
13478 (print this%a, print this%b, print this): New tests.
13479 * gdb.fortran/derived-types.f90 (this): New object and
13480 initialization.
13481
986cf455
SM
134822016-07-06 Simon Marchi <simon.marchi@ericsson.com>
13483
13484 * gdb.ada/arraydim.exp: Remove extra directory level in build
13485 directory.
13486
f0464b23
SM
134872016-07-06 Simon Marchi <simon.marchi@ericsson.com>
13488
13489 * lib/ada.exp: Remove extra directory level in build directory.
13490 * gdb.ada/cond_lang.exp: Likewise.
13491 * gdb.ada/exec_changed.exp: Likewise.
13492 * gdb.ada/lang_switch.exp: Likewise.
13493
42d94011
MG
134942016-07-06 Manish Goregaokar <manish@mozilla.com>
13495
2806dc7e
PA
13496 * simple.rs: Add test for raw pointer subscripting.
13497 * simple.exp: Add test expectations.
42d94011 13498
647c264c
YQ
134992016-07-05 Yao Qi <yao.qi@linaro.org>
13500
13501 * gdb.mi/mi-reverse.exp: Match =record-started output.
13502
20aa2c60
PA
135032016-07-01 Pedro Alves <palves@redhat.com>
13504
13505 * gdb.base/jit-reader.exp (info_registers_current_frame): New
13506 procedure.
13507 (jit_reader_test): Test the jit reader's unwinder.
13508 * gdb.base/jithost.c (jit_function_00_code): New global.
13509 (main): Use memcpy to fill in the mmapped code, instead of poking
13510 bytes manually here.
13511 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
13512 value.
13513 (read_debug_info): Save the function's range.
13514 (read_sp): New function.
13515 (unwind_frame): Use it. Also unwind RBP.
13516 (get_frame_id): Use read_sp.
13517 (gdb_init_reader): Use calloc instead of malloc.
13518 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
13519 parameter. Use gdb_test_multiple.
13520
ced2dffb
PA
135212016-07-01 Pedro Alves <palves@redhat.com>
13522 Antoine Tremblay <antoine.tremblay@ericsson.com>
13523
13524 * gdb.threads/process-dies-while-detaching.c: New file.
13525 * gdb.threads/process-dies-while-detaching.exp: New file.
13526
63000888
PA
135272016-07-01 Pedro Alves <palves@redhat.com>
13528
13529 * gdb.multi/watchpoint-multi-exit.c: New file.
13530 * gdb.multi/watchpoint-multi-exit.exp: New file.
13531
038d4868
PA
135322016-06-30 Pedro Alves <palves@redhat.com>
13533
13534 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
13535 unset inferior_spawn_id.
13536
994e9c83
PA
135372016-06-30 Pedro Alves <palves@redhat.com>
13538
13539 * lib/mi-support.exp (default_mi_gdb_start): Declare global
13540 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
13541
e5653468
YQ
135422016-06-29 Yao Qi <yao.qi@linaro.org>
13543
13544 * gdb.base/return.c: Add copyright header.
13545
803b47e5
TT
135462016-06-29 Tom Tromey <tom@tromey.com>
13547
13548 PR python/20129:
13549 * gdb.python/py-framefilter.exp: Add tests for setting priority
13550 and disabling of non-existent frame filter.
13551
28244707
YQ
135522016-06-29 Yao Qi <yao.qi@linaro.org>
13553
13554 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
13555 0x0f07ff.
13556
a31d2f06
YQ
135572016-06-28 Yao Qi <yao.qi@linaro.org>
13558
13559 * gdb.base/catch-syscall.exp: Remove check on isnative and target
13560 triplets. Start gdb, execute catch syscall, and continue. Check
13561 gdb's output to determine catch syscall is supported.
13562
921d8f54
MG
135632016-06-27 Manish Goregaokar <manish@mozilla.com>
13564
25d49b86
PA
13565 * gdb.rust/simple.rs: Add test for returning unit in a function.
13566 * gdb.rust/simple.exp: Add expectation for functions returning
13567 unit.
921d8f54 13568
f4952523
PMR
135692016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
13570
13571 * gdb.python/py-breakpoint-create-fail.c,
13572 gdb.python/py-breakpoint-create-fail.exp,
13573 gdb.python/py-breakpoint-create-fail.py: New testcase.
13574
fccb08f8
MG
135752016-06-25 Manish Goregaokar <manish@mozilla.com>
13576
13577 PR gdb/20239
13578 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
13579 * gdb.rust/simple.exp: Add test expectations for new NonZero
13580 tests.
fccb08f8 13581
6b850546
DT
135822016-06-24 David Taylor <dtaylor@emc.com>
13583
13584 * gdb.base/offsets.exp: New file.
13585 * gdb.base/offsets.c: New file.
13586
17621150
TT
135872016-06-23 Tom Tromey <tom@tromey.com>
13588
13589 PR gdb/16483:
13590 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
13591 before any filters are loaded.
13592
04d59df6
WT
135932016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
13594
13595 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
13596 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
13597 structs.
13598 * gdb.fortran/derived-type-function.exp: New file.
13599 * gdb.fortran/derived-type-function.f90: New file.
13600
13601
ac69f786
PA
136022016-06-21 Pedro Alves <palves@redhat.com>
13603
13604 * gdb.base/new-ui.exp: New file.
13605 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
13606 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
13607 (with_spawn_id): New procedure.
13608
49940788
PA
136092016-06-21 Pedro Alves <palves@redhat.com>
13610
13611 * gdb.mi/mi-exec-run.exp: New file.
13612
ef274d26
PA
136132016-06-21 Pedro Alves <palves@redhat.com>
13614
13615 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
13616 breakpoint command's output on the main UI.
13617 (test_break): New procedure, factored out from calls in the top
13618 level.
13619 (top level): Use foreach_with_prefix to test MI as main UI and as
13620 separate UI.
13621
468afe6c
PA
136222016-06-21 Pedro Alves <palves@redhat.com>
13623
13624 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
13625 (test_awatch_creation_and_listing)
13626 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
13627 Remove 'type' parameter.
13628 (test_watchpoint_all): New parameter mi_mode. Remove
13629 with_test_prefix.
13630 (top level): Use foreach_with_prefix, and add main/separate UI MI
13631 testing axis.
13632
51f77c37
PA
136332016-06-21 Pedro Alves <palves@redhat.com>
13634
13635 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
13636 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
13637 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
13638 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
13639 (gdb_main_spawn_id, mi_spawn_id): Declare and
13640 comment.
13641 (mi_create_inferior_pty): New procedure,
13642 factored out from default_mi_gdb_start.
13643 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
13644 procedures.
13645 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
13646 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
13647 Use mi_create_inferior_pty.
13648 (mi_gdb_start): Use eval to pass down args list.
13649
8980e177
PA
136502016-06-21 Pedro Alves <palves@redhat.com>
13651
13652 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
13653 * gdb.opt/inline-cmds.exp: Add MI tests.
13654
f38d3ad1
PA
136552016-06-21 Pedro Alves <palves@redhat.com>
13656
13657 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
13658
45db7c09
PA
136592016-06-21 Pedro Alves <palves@redhat.com>
13660
13661 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
13662 (top level): Use it instead of mi_execute_to.
13663
5a069ab3
PA
136642016-06-21 Pedro Alves <palves@redhat.com>
13665
13666 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
13667 (cont_handler_str): New.
13668 (signal_stop_handler): Set stop_handler_str instead of printing to
13669 stdout.
13670 (continue_handler): Set cont_handler_str instead of printing to
13671 stdout.
13672 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
13673 mi_send_resuming_command. Print stop_handler_str and
13674 cont_handler_str instead of expecting the python events print
13675 directly.
13676
2838cc1d
SD
136772016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
13678
13679 * gdb.base/jit-reader.exp: New file.
13680 * gdb.base/jithost.c: New file.
13681 * gdb.base/jithost.h: New file.
13682 * gdb.base/jitreader.c : New file.
13683 * gdb.base/jit-protocol.h: New file.
13684
21a77091
YQ
136852016-06-17 Yao Qi <yao.qi@linaro.org>
13686
13687 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
13688 parameters follow_fork and detach_on_fork. Set follow-fork-mode
13689 and detach-on-fork. Adjust tests.
13690 (top level): Invoke break_cond_on_syscall with combinations of
13691 syscall, follow-fork-mode and detach-on-fork.
13692
f50bf8e5
YQ
136932016-06-17 Yao Qi <yao.qi@linaro.org>
13694
13695 * gdb.base/step-over-exit.c: New.
13696 * gdb.base/step-over-exit.exp: New.
13697
a28d8e50
YTL
136982016-06-17 Yan-Ting Lin <currygt52@gmail.com>
13699
13700 * gdb.base/float.exp: Add target check for nds32*-*-*.
13701 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
13702
cad8e26d
AB
137032016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
13704
13705 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
13706 for unsupported target features.
13707 * gdb.base/call-rt-st.exp: Likewise.
13708 * gdb.base/call-sc.exp: Likewise.
13709 * gdb.base/call-signal-resume.exp: Likewise.
13710 * gdb.base/call-strs.exp: Likewise.
13711 * gdb.base/callexit.exp: Likewise.
13712 * gdb.base/callfuncs.exp: Likewise.
13713 * gdb.base/nodebug.exp: Likewise.
13714 * gdb.base/printcmds.exp: Likewise.
13715 * gdb.base/ptype.exp: Likewise.
13716 * gdb.base/structs.exp: Likewise.
13717 * gdb.base/unwindonsignal.exp: Likewise.
13718 * gdb.cp/gdb2495.exp: Likewise.
13719 * gdb.cp/templates.exp: Likewise.
13720 * gdb.cp/virtfunc.exp: Likewise.
13721 * gdb.threads/hand-call-in-threads.exp: Likewise.
13722 * gdb.threads/interrupted-hand-call.exp: Likewise.
13723 * gdb.threads/thread-unwindonsignal.exp: Likewise.
13724
347dc102
TT
137252016-06-10 Tom Tromey <tom@tromey.com>
13726
13727 PR rust/20110:
13728 * gdb.rust/expr.exp: Add test for integer constant larger than
13729 i32.
13730
5e13cf25
BH
137312016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
13732
13733 * gdb.fortran/nested-funcs.exp: New.
13734 * gdb.fortran/nested-funcs.f90: New.
13735
bb556f1f
TK
137362016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
13737
13738 * gdb.base/examine-backward.c: New file.
13739 * gdb.base/examine-backward.exp: New file.
13740
38b022b4
SM
137412016-06-06 Simon Marchi <simon.marchi@ericsson.com>
13742
13743 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
13744 matching.
13745
1b40ec05
TT
137462016-06-02 Tom Tromey <tom@tromey.com>
13747
13748 PR python/18984:
13749 * gdb.python/py-shared.exp: Add solib_name test.
13750
193bd378
SM
137512016-06-02 Simon Marchi <simon.marchi@ericsson.com>
13752
13753 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
13754
3326303b
MG
137552016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
13756
13757 PR c++/19893
13758 * gdb.dwarf2/implref.exp: Rename to...
13759 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
13760 * gdb.dwarf2/implref-array.c: New file.
13761 * gdb.dwarf2/implref-array.exp: Likewise.
13762 * gdb.dwarf2/implref-global.c: Likewise.
13763 * gdb.dwarf2/implref-global.exp: Likewise.
13764 * gdb.dwarf2/implref-struct.c: Likewise.
13765 * gdb.dwarf2/implref-struct.exp: Likewise.
13766
825c8ef2
AT
137672016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13768
13769 * gdb.trace/trace-condition.exp: Add 64bit tests.
13770
2320162a
AT
137712016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13772
13773 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
13774 bits types.
13775 (main): Adapt to 8 to 64 bits types.
13776 * gdb.trace/trace-condition.exp: Add new tests.
13777
a7818233
AT
137782016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13779
13780 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
13781
0d336466
AT
137822016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13783
13784 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
13785 Move condition tests...
13786 * gdb.trace/trace-condition.exp: Here.
13787
7faeb45a
AT
137882016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13789
13790 * gdb.trace/trace-condition.exp: Add counter-case tests.
13791
e385593e
JK
137922016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13793
13794 PR c++/15231
13795 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
13796 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
13797
744608cc
PA
137982016-05-27 Pedro Alves <palves@redhat.com>
13799
13800 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
13801 New procedure.
13802 (top level): Call it, and bail out of DejaGnu is known to be bad.
13803
ac775bf4
AB
138042016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
13805
13806 * gdb.base/whatis.c: Extend the test case.
13807 * gdb.base/whatis.exp: Add additional tests.
13808
2bbad2ea
BH
138092016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13810
13811* gdb.fortran/type.f90: Add pointer variable.
13812* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
13813
8b70175d
BH
138142016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13815
13816 * gdb.fortran/vla-type.exp: Fix testcase name.
13817
86d8a848
BH
138182016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13819
13820 * gdb.fortran/vla-type.exp: Access elements in nested structs.
13821
e188eb36
BH
138222016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13823
13824 * gdb.fortran/type.f90: Add nested structures.
13825 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
13826 * gdb.fortran/derived-type.exp: Adapt expected output.
13827 * gdb.fortran/vla-type.exp: Adapt expected output.
13828
9b2db1fd
BH
138292016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13830
13831 * gdb.fortran/whatis_type.exp: Adapt expected output.
13832
72b17055
BH
138332016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13834
13835 * gdb.fortran/print_type.exp: Fix expected output.
13836 * gdb.fortran/whatis_type.exp: Fix expected output.
13837
3cd81d8d
BH
138382016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13839
13840 * gdb.fortran/whatis_type.exp: Use multi_line.
13841
ddae9462
TT
138422016-05-24 Tom Tromey <tom@tromey.com>
13843
13844 PR python/17386:
13845 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
13846 use value as an index.
13847
1957f6b8
TT
138482016-05-23 Tom Tromey <tom@tromey.com>
13849
13850 PR python/17981:
13851 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
13852 no-breakpoint case.
13853
026a9174
PA
138542016-05-24 Pedro Alves <palves@redhat.com>
13855
13856 PR gdb/19828
13857 * gdb.threads/clone-attach-detach.c: New file.
13858 * gdb.threads/clone-attach-detach.exp: New file.
13859
e70a7231
FR
138602016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
13861
13862 * gdb.base/annota-input-while-running.exp: Fix syntax error.
13863
0f6ed0e0
TT
138642016-05-23 Tom Tromey <tom@tromey.com>
13865
13866 PR python/19438, PR python/18393:
13867 * gdb.python/py-progspace.exp: Add "dir" test.
13868 * gdb.python/py-objfile.exp: Add "dir" test.
13869
ffd19d61
YQ
138702016-05-23 Yao Qi <yao.qi@linaro.org>
13871
13872 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
13873 * gdb.arch/thumb2-it.exp: Likewise.
13874
9e8f9b05
SM
138752016-05-18 Simon Marchi <simon.marchi@ericsson.com>
13876
13877 * gdb.mi/mi-threads-interrupt.c: New file.
13878 * gdb.mi/mi-threads-interrupt.exp: New file.
13879
61c6156d
SM
138802016-05-17 Simon Marchi <simon.marchi@ericsson.com>
13881
13882 PR gdb/18077
13883 * gdb.mi/mi-async-run.exp: New file.
13884 * gdb.mi/mi-async-run.c: New file.
13885
67218854
TT
138862016-05-17 Tom Tromey <tom@tromey.com>
13887 Manish Goregaokar <manishsmail@gmail.com>
13888
13889 * lib/rust-support.exp: New file.
13890 * lib/gdb.exp (skip_rust_tests): New proc.
13891 (build_executable_from_specs): Handle rust.
13892 * lib/future.exp (gdb_find_rustc): New proc.
13893 (gdb_default_target_compile): Handle rust.
13894 * gdb.rust/expr.exp: New file.
13895 * gdb.rust/generics.exp: New file.
13896 * gdb.rust/generics.rs: New file.
13897 * gdb.rust/methods.exp: New file.
13898 * gdb.rust/methods.rs: New file.
13899 * gdb.rust/modules.exp: New file.
13900 * gdb.rust/modules.rs: New file.
13901 * gdb.rust/simple.exp: New file.
13902 * gdb.rust/simple.rs: New file.
13903
c44af4eb
TT
139042016-05-17 Tom Tromey <tom@tromey.com>
13905
13906 * gdb.base/default.exp (set language): Add rust.
13907
dcd1f979
TT
139082016-05-17 Tom Tromey <tom@tromey.com>
13909
13910 * gdb.gdb/unittest.exp: New file.
13911
155b7f57
YQ
139122016-05-16 Yao Qi <yao.qi@linaro.org>
13913
13914 * gdb.base/batch-preserve-term-settings.exp: Remove variable
13915 shell_prompt. Update shell_prompt_re.
13916
8ddd5a6c
DE
139172016-05-12 Doug Evans <dje@google.com>
13918
13919 PR symtab/19999
13920 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
13921 $options when building executable.
13922 * gdb.dwarf2/fission-loclists-pie.S: New file.
13923 * gdb.dwarf2/fission-loclists-pie.exp: New file.
13924
02e370d9
SM
139252016-05-04 Simon Marchi <simon.marchi@ericsson.com>
13926
13927 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
13928 of [is_remote target],
13929
8929ad8b
SM
139302016-05-04 Simon Marchi <simon.marchi@ericsson.com>
13931
13932 * lib/gdb.exp (use_gdb_stub): New procedure.
13933
6c447423
DE
139342016-05-03 Yunlian Jiang <yunlian@google.com>
13935 Doug Evans <dje@google.com>
13936
13937 PR symtab/19914
13938 * gdb.dwarf2/dwp-sepdebug.c: New file.
13939 * gdb.dwarf2/dwp-sepdebug.exp: New file.
13940
444e826c
SM
139412016-05-02 Simon Marchi <simon.marchi@ericsson.com>
13942
13943 * gdb.base/detach.exp: Remove is_remote check.
13944
740feeaa
SM
139452016-05-02 Simon Marchi <simon.marchi@ericsson.com>
13946
13947 * gdb.base/annota-input-while-running.exp: Don't check for
13948 [is_remote target]. Enable annotations after running to main.
13949 Remove unused "set test..." line.
13950
9080ac9d
SM
139512016-04-28 Simon Marchi <simon.marchi@ericsson.com>
13952
13953 * gdb.trace/trace-enable-disable.exp: New file.
13954 * gdb.trace/trace-enable-disable.c: New file.
13955
952ebca5
SM
139562016-04-28 Simon Marchi <simon.marchi@ericsson.com>
13957
13958 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
13959 use it in info sharedlibrary test.
13960 * gdb.trace/ftrace-lock.exp: Likewise.
13961 * gdb.trace/ftrace.exp: Likewise.
13962 * gdb.trace/range-stepping.exp: Likewise.
13963 * gdb.trace/trace-break.exp: Likewise.
13964 * gdb.trace/trace-condition.exp: Likewise.
13965 * gdb.trace/trace-mt.exp: Likewise.
13966
d9019901
SM
139672016-04-27 Simon Marchi <simon.marchi@ericsson.com>
13968
13969 * lib/gdb.exp (gdb_load_shlibs): Rename to...
13970 (gdb_load_shlib): ... this.
13971 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
13972 gdb_load_shlib.
13973 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
13974 * gdb.base/ctxobj.exp: Likewise.
13975 * gdb.base/dprintf-pending.exp: Likewise.
13976 * gdb.base/dso2dso.exp: Likewise.
13977 * gdb.base/fixsection.exp: Likewise.
13978 * gdb.base/gcore-relro.exp: Likewise.
13979 * gdb.base/gdb1555.exp: Likewise.
13980 * gdb.base/global-var-nested-by-dso.exp: Likewise.
13981 * gdb.base/gnu-ifunc.exp: Likewise.
13982 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
13983 * gdb.base/jit-so.exp (one_jit_test): Likewise.
13984 * gdb.base/pending.exp: Likewise.
13985 * gdb.base/print-file-var.exp: Likewise.
13986 * gdb.base/print-symbol-loading.exp: Likewise.
13987 * gdb.base/shlib-call.exp: Likewise.
13988 * gdb.base/shreloc.exp: Likewise.
13989 * gdb.base/so-impl-ld.exp: Likewise.
13990 * gdb.base/solib-disc.exp: Likewise.
13991 * gdb.base/solib-nodir.exp: Likewise.
13992 * gdb.base/solib-overlap.exp: Likewise.
13993 * gdb.base/solib-symbol.exp: Likewise.
13994 * gdb.base/solib-weak.exp (do_test): Likewise.
13995 * gdb.base/sym-file.exp: Likewise.
13996 * gdb.base/symtab-search-order.exp: Likewise.
13997 * gdb.base/type-opaque.exp: Likewise.
13998 * gdb.base/unload.exp: Likewise.
13999 * gdb.base/watchpoint-solib.exp: Likewise.
14000 * gdb.compile/compile.exp: Likewise.
14001 * gdb.cp/gdb2384.exp: Likewise.
14002 * gdb.cp/infcall-dlopen.exp: Likewise.
14003 * gdb.cp/re-set-overloaded.exp: Likewise.
14004 * gdb.fortran/library-module.exp: Likewise.
14005 * gdb.opt/solib-intra-step.exp: Likewise.
14006 * gdb.python/py-finish-breakpoint.exp: Likewise.
14007 * gdb.python/py-shared.exp: Likewise.
14008 * gdb.reverse/solib-precsave.exp: Likewise.
14009 * gdb.reverse/solib-reverse.exp: Likewise.
14010 * gdb.server/solib-list.exp: Likewise.
14011 * gdb.threads/dlopen-libpthread.exp: Likewise.
14012 * gdb.threads/tls-shared.exp: Likewise.
14013 * gdb.threads/tls-so_extern.exp: Likewise.
14014 * gdb.trace/change-loc.exp: Likewise.
14015 * gdb.trace/ftrace-lock.exp: Likewise.
14016 * gdb.trace/ftrace.exp: Likewise.
14017 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
14018 * gdb.trace/pending.exp: Likewise.
14019 * gdb.trace/range-stepping.exp: Likewise.
14020 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
14021 (strace_info_marker): Likewise.
14022 (strace_probe_marker): Likewise.
14023 (strace_trace_on_same_addr): Likewise.
14024 (strace_trace_on_diff_addr): Likewise.
14025 * gdb.trace/trace-break.exp: Likewise.
14026 * gdb.trace/trace-condition.exp: Likewise.
14027 * gdb.trace/trace-mt.exp: Likewise.
14028
fca4cfd9
SM
140292016-04-27 Simon Marchi <simon.marchi@ericsson.com>
14030
14031 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
14032 result of gdb_remote_download.
14033 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
14034 * gdb.base/dso2dso.exp: Likewise.
14035 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14036 * gdb.base/print-file-var.exp: Likewise.
14037 * gdb.base/shlib-call.exp: Likewise.
14038 * gdb.base/shreloc.exp: Likewise.
14039 * gdb.base/solib-overlap.exp: Likewise.
14040 * gdb.base/solib-weak.exp (do_test): Likewise.
14041 * gdb.base/unload.exp: Likewise.
14042
11cf4ffb
YQ
140432016-04-27 Yao Qi <yao.qi@linaro.org>
14044
14045 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
14046 exists.
14047
3e2e34f8
KB
140482016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14049
14050 * vla-type.exp: Print structure from toplevel.
14051
8f07e298
BH
140522016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14053
14054 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
14055 of dynamic types.
14056 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
14057 of dynamic types.
14058
9920b434
BH
140592016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14060
14061 * gdb.fortran/vla-type.f90: New file.
14062 * gdb.fortran/vla-type.exp: New file.
14063
f3abeff5
YQ
140642016-04-25 Yao Qi <yao.qi@linaro.org>
14065
14066 * gdb.base/branch-to-self.c: New file.
14067 * gdb.base/branch-to-self.exp: New file.
14068
0a5d52f0
YQ
140692016-04-22 Yao Qi <yao.qi@linaro.org>
14070
14071 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
14072 more after $hex.
14073
495346f6
YQ
140742016-04-22 Yao Qi <yao.qi@linaro.org>
14075
14076 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
14077 * gdb.base/annota3.exp: Likewise.
14078
4a7e075c
YQ
140792016-04-22 Yao Qi <yao.qi@linaro.org>
14080
14081 * gdb.reverse/step-precsave.exp: Do one step and test program
14082 stops in "callee" and do multiple steps until program goes out
14083 of "callee".
14084 * gdb.reverse/step-reverse.exp: Likewise.
14085
5b061e98
YQ
140862016-04-22 Yao Qi <yao.qi@linaro.org>
14087
14088 * gdb.trace/signal.exp: Also pass if
14089 $tracepoint_hits($i) > $iterations.
14090
5c5dc57f
YQ
140912016-04-22 Yao Qi <yao.qi@linaro.org>
14092
14093 * gdb.trace/signal.c: New file.
14094 * gdb.trace/signal.exp: New file.
14095
a55411b9
DE
140962016-04-19 Doug Evans <xdje42@gmail.com>
14097
14098 * gdb.base/bad-file.exp: New file.
14099
a22df60a
MG
141002016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
14101
14102 * gdb.dwarf2/implref.exp: New file.
14103
0c13f7e5
BH
141042016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
14105
14106 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
14107 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
14108 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
14109 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
14110 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
14111 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
14112 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
14113 * lib/fortran.exp (fortran_int4): New procedure.
14114 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
14115 (fortran_logical4): Likewise.
14116
9b9b09e9
BH
141172016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
14118
14119 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
14120
a14d1f4d
BH
141212016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
14122
14123 * lib/compiler.c: Add Intel specific preprocessor macros.
14124 * lib/compiler.cc: Likewise.
25d49b86 14125
7d49b1d0
LM
141262016-04-13 Luis Machado <lgustavo@codesourcery.com>
14127
14128 * gdb.server/connect-with-no-symbol-file.c: New file.
14129 * gdb.server/connect-with-no-symbol-file.exp: New file.
14130
8392fa22
SM
141312016-04-13 Simon Marchi <simon.marchi@ericsson.com>
14132
14133 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
14134
8c4c4aeb
SM
141352016-04-13 Simon Marchi <simon.marchi@ericsson.com>
14136
14137 * boards/gdbserver-base.exp (${board}_download): Copy source file to
14138 standard output directory.
14139
45e3745e
AT
141402016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
14141
14142 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
14143
e26b7e41
MM
141442016-04-13 Markus Metzger <markus.t.metzger@intel.com>
14145
14146 * gdb.btrace/instruction_history.c (loop): Add declaration.
14147
8ce09462
AT
141482016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
14149
14150 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
14151
2e88a1ea
SM
141522016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
14153
14154 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
14155 parentheses to print.
14156 (continue_handler): Likewise.
14157
f48e22e3
SM
141582016-04-08 Simon Marchi <simon.marchi@ericsson.com>
14159
14160 * gdb.server/solib-list.exp: Remove is_remote check.
14161 Pass shlib= to gdb_compile. Don't link shared library with
14162 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
14163 Run binary filename through "readlink -f" on the target.
14164
096be756
PA
141652016-04-08 Pedro Alves <palves@redhat.com>
14166
14167 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
14168 interpreter filename as argument to gdbserver_spawn.
14169 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
14170 Return empty if $last_loaded_file does not exist.
14171
06500533
JK
141722016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14173
14174 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
14175 * gdb.base/jit-main.c: Use exit after usage.
14176
2d35e871
JK
141772016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14178
14179 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
14180 GDBHISTSIZE prior to the tests.
14181 * gdb.base/gdbinit-history.exp: Likewise.
14182
141832016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
14184
14185 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
14186 instead of build_executable. Use gdb_load_shlibs.
14187
c8064e7e
YQ
141882016-04-07 Yao Qi <yao.qi@linaro.org>
14189
14190 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
14191 Execute "si" command.
14192
bde47561
YQ
141932016-04-07 Yao Qi <yao.qi@linaro.org>
14194
14195 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
14196 number instead of the comments on some line.
14197
b16f8a3b
DB
141982016-04-06 Don Breazeal <donb@codesourcery.com>
14199
14200 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
14201 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
14202
c2f901df
SM
142032016-04-06 Simon Marchi <simon.marchi@ericsson.com>
14204
14205 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
14206 standard_output_file. Remove unused binfile variable.
14207
ac17fda0
CU
142082016-04-05 Catalin Udma <catalin.udma@freescale.com>
14209
14210 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
14211 * gdb.python/py-mi-objfile.exp: Match "list main" output
14212 in console format.
14213
03a8c4df
SM
142142016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
14215
14216 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
14217 absolute.
14218
6e774b13
SM
142192016-04-05 Simon Marchi <simon.marchi@ericsson.com>
14220
14221 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
14222 absolute.
14223 * gdb.trace/ftrace.exp: Likewise.
14224 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
14225 targets as well.
14226 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
14227 (gdb_load_shlibs): Copy libraries to test directory when testing
14228 natively. Only set solib-search-path if testing remotely.
14229 * lib/mi-support.exp (mi_load_shlibs): Likewise.
14230
7817ea46
SM
142312016-04-05 Simon Marchi <simon.marchi@ericsson.com>
14232
14233 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
14234 gdb_download. Use it even if the target is not remote.
14235 * gdb.base/jit.exp (compile_jit_test): Likewise.
14236 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
14237 output directory if the destination board is local, otherwise use
14238 the standard remote_download from DejaGnu.
14239 (gdb_download): Remove.
14240 (gdb_load_shlibs): Use gdb_remote_download instead of
14241 gdb_download.
14242 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
14243 Use gdb_remote_download instead of gdb_download. Use it even if
14244 the target is not remote.
14245 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
14246 instead of gdb_download.
14247
7beb7f68
SM
142482016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
14249
14250 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
14251 (test_insert_delete_modify): Call mi_load_shlibs before trying to
14252 run.
14253
cc63428a
AV
142542016-04-01 Artemiy Volkov <artemiyv@acm.org>
14255
14256 PR gdb/19820
14257 * gdb.base/printcmds.exp: Add artificial arrays tests.
14258
64cdf930
PA
142592016-03-31 Pedro Alves <palves@redhat.com>
14260
14261 PR gdb/19858
14262 * gdb.base/jit-main.c: Include unistd.h.
14263 (ATTACH): Define to 0 if not already defined.
14264 (wait_for_gdb, mypid): New globals.
14265 (WAIT_FOR_GDB): New macro.
14266 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
14267 some breakpoint locations.
14268 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
14269 New procedures.
14270 (one_jit_test): Add REATTACH parameter, and handle it. Use
14271 continue_to_test_location.
14272 (top level): Test attach, and adjusts calls to one_jit_test.
14273
40dea8cb
PA
142742016-03-31 Pedro Alves <palves@redhat.com>
14275
14276 PR gdb/19858
14277 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
14278 BINSUFFIX parameter, and handle it.
14279 (top level): Adjust calls compile_jit_test.
14280
e7ea3ec7
CU
142812016-03-31 Catalin Udma <catalin.udma@freescale.com>
14282
14283 PR python/19743
14284 * gdb.python/py-mi-events-gdb.py: New file.
14285 * gdb.python/py-mi-events.c: New file.
14286 * gdb.python/py-mi-events.exp: New file.
14287
e6359af3
YQ
142882016-03-30 Yao Qi <yao.qi@linaro.org>
14289
14290 * gdb.reverse/until-precsave.exp: Match function name only.
14291 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
14292 Move malloc to a condition block.
14293 * gdb.reverse/until-reverse.exp: Match function name only.
14294
a4105d04
MK
142952016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
14296
14297 * gdb.trace/ftrace.exp: Set arg0exp for s390.
14298 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
14299 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
14300 variable for GPR 0 instead of assuming it is register 0.
14301 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
14302 * lib/trace-support.exp: Add s390 registers.
14303
bfa6adb9
YQ
143042016-03-29 Yao Qi <yao.qi@linaro.org>
14305
14306 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
14307
1e6697ea
YQ
143082016-03-24 Yao Qi <yao.qi@linaro.org>
14309
14310 * gdb.reverse/break-reverse.exp: Add quotation mark in the
14311 test message.
14312
64bcd522
AA
143132016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14314
14315 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
14316 maintaining separate logic for constructing the output path.
14317
7868401b
DB
143182016-03-16 Don Breazeal <donb@codesourcery.com>
14319
14320 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
14321 Retry fork and waitpid on interrupted system call errors.
14322 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14323 Use with_timeout_factor to increase timeout by factor of 10.
14324
1cafadb4
DB
143252016-03-15 Don Breazeal <donb@codesourcery.com>
14326
14327 * gdb.cp/scope-err.cc: New test program.
14328 * gdb.cp/scope-err.exp: New test script.
14329 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
14330 lines and "set breakpoint here" comment.
14331 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
14332 Fixed some whitespace and format issues.
14333 * gdb.mi/mi-linespec-err-cp.cc: New test program.
14334 * gdb.mi/mi-linespec-err-cp.exp: New test script.
14335
81516450
DE
143362016-03-15 Doug Evans <dje@google.com>
14337
14338 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
14339 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
14340 All callers updated. Add tests for enums, mixed flags register.
14341
aa52b601
DE
143422016-03-15 Doug Evans <dje@google.com>
14343
14344 * gdb.base/skip.c (main): Call test_skip_file_and_function.
14345 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
14346
fa4ff313
SM
143472016-03-14 Simon Marchi <simon.marchi@ericsson.com>
14348
14349 * gdb.base/default.exp: Add $_as_string to the list of expected
14350 convenience functions.
14351
f2403c39
AB
143522016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
14353
14354 * gdb.base/maint.exp: New tests for 'maint info line-table'.
14355
f2f3ccb9
SM
143562016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
14357
14358 * gdb.python/py-as-string.exp: New file.
14359 * gdb.python/py-as-string.c: New file.
14360
00dbd492
PA
143612016-03-09 Pedro Alves <palves@redhat.com>
14362
14363 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
14364 signal" -> "Thread NN received signal" output change.
14365 * gdb.threads/ia64-sigill.exp: Likewise.
14366 * gdb.threads/linux-dp.exp: Likewise.
14367 * gdb.threads/manythreads.exp: Likewise.
14368 * gdb.threads/pending-step.exp: Likewise.
14369 * gdb.threads/print-threads.exp: Likewise.
14370 * gdb.threads/sigstep-threads.exp: Likewise.
14371 * gdb.threads/staticthreads.exp: Likewise.
14372 * gdb.threads/tls.exp: Likewise.
14373
1e6697ea
YQ
143742016-03-09 Pedro Alves <palves@redhat.com>
14375
14376 * gdb.base/command-line-input.exp: New file.
14377
b04fd3be
MK
143782016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14379
14380 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
14381 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
14382 * gdb.trace/pending.exp: Accept leading dot before function name.
14383 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
14384 * lib/trace-support.exp: Set registers for ppc.
14385
98fa59e9
MK
143862016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14387
14388 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
14389 use it for disassembly; accept .main in addition to main in backtrace.
14390
f77198c8
MK
143912016-03-09 Wei-cheng Wang <cole945@gmail.com>
14392 Marcin Kościelnicki <koriakin@0x04.net>
14393
14394 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
14395 (gdb_recursion_test_ptr): New global variable.
14396 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
14397 gdb_recursion_test.
14398 (gdb_c_test): Ditto.
14399
ba84e0da
MK
144002016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14401
14402 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
14403 ordering.
14404
4366d36e
MK
144052016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14406
14407 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
14408 (bar): Add bar_start_lbl label.
14409 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
14410 of foo/bar for emitting DWARF and tracing.
14411
5eb264df
SDJ
144122016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
14413
14414 * analyze-racy-logs.py: Set executable bit.
14415
fb6a751f
SDJ
144162016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
14417
14418 * Makefile.in (DEFAULT_RACY_ITER): New variable.
14419 (CHECK_TARGET_TMP): Likewise.
14420 (check-single-racy): New rule.
14421 (check-parallel-racy): Likewise.
14422 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
14423 (do-check-parallel-racy): New rule.
14424 (check-racy/%.exp): Likewise.
14425 * README (Racy testcases): New section.
14426 * analyze-racy-logs.py: New file.
14427
bdf7e230
DE
144282016-03-03 Doug Evans <dje@google.com>
14429
14430 * gdb.base/skip.exp: Use with_test_prefix.
14431
4719d415
YQ
144322016-03-03 Yao Qi <yao.qi@linaro.org>
14433
14434 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
14435 Invoke step_over_syscall "clone" and break_cond_on_syscall
14436 "clone".
14437 * gdb.base/step-over-clone.c: New file.
14438
ea507862
YQ
144392016-03-03 Yao Qi <yao.qi@linaro.org>
14440
14441 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
14442 code format.
14443
8fc8cbda
YQ
144442016-03-03 Yao Qi <yao.qi@linaro.org>
14445
14446 * gdb.base/disp-step-fork.c: Rename to ...
14447 * gdb.base/step-over-fork.c: ... it. New file.
14448 * gdb.base/disp-step-vfork.c: Rename to ...
14449 * gdb.base/step-over-vfork.c: ... it. New file.
14450 * gdb.base/disp-step-syscall.exp: Rename to ...
14451 * gdb.base/step-over-syscall.exp: ... it. New file.
14452 (disp_step_cross_syscall): Rename to ...
14453 (step_over_syscall): ... it.
14454
92fa70b0
YQ
144552016-03-03 Yao Qi <yao.qi@linaro.org>
14456
14457 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
14458 If target supports condition evaluation on target, invoke
14459 break_cond_on_syscall for fork and vfork.
14460
e197ad3c
YQ
144612016-03-03 Yao Qi <yao.qi@linaro.org>
14462
14463 * gdb.base/disp-step-syscall.exp: Don't invoke
14464 support_displaced_stepping.
14465 (disp_step_cross_syscall): Test with displaced stepping off and
14466 on if supported.
14467
0b47da9f
YQ
144682016-03-03 Yao Qi <yao.qi@linaro.org>
14469
14470 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
14471 proc.
14472 (setup): New proc.
14473 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
14474 and setup.
14475
065ab6dc
BH
144762016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14477
14478 * gdb.fortran/vla-history.exp: Remove breakpoint.
14479
07e448ad 144802016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14481
25d49b86
PA
14482 * gdb.fortran/vla-history.exp: Lookup array elements and printing
14483 exceeds timeout.
07e448ad 14484
9ac2d526 144852016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14486
25d49b86
PA
14487 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
14488 breakpoint.
9ac2d526 14489
17807369
BH
144902016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14491
14492 * gdb.mi/vla.f90: Nullify pointer after declaration.
14493
86e501af
PA
144942016-03-01 Pedro Alves <palves@redhat.com>
14495
14496 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
14497
1e903e32
PA
144982016-03-01 Pedro Alves <palves@redhat.com>
14499
14500 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
14501 before anything else.
14502 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
14503 _GNU_SOURCE here.
14504 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
14505 before anything else.
14506 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
14507
6ccb54e2
PA
145082016-03-01 Pedro Alves <palves@redhat.com>
14509
14510 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
14511
30ca9da1
YQ
145122016-03-01 Yao Qi <yao.qi@linaro.org>
14513
14514 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
14515 prepare_for_testing.
14516
dc856b38
YQ
145172016-03-01 Yao Qi <yao.qi@linaro.org>
14518
14519 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
14520
4a932159
AA
145212016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
14522
14523 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
14524 manually constructing the output path.
14525
f2489477
AA
145262016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
14527
14528 * gdb.arch/s390-stackless.S: New.
14529 * gdb.arch/s390-stackless.exp: New.
14530
38899f16
IB
145312016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
14532
14533 * gdb.dlang/circular.c: New file.
14534 * gdb.dlang/circular.exp: New file.
14535
9fde51ed
YQ
145362016-02-26 Yao Qi <yao.qi@linaro.org>
14537
14538 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
14539 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
14540 (testcases): Update.
14541
ce90fefe
YQ
145422016-02-26 Yao Qi <yao.qi@linaro.org>
14543
14544 * gdb.reverse/aarch64.c: Rename to ...
14545 * gdb.reverse/insn-reverse.c: ... it.
14546 * gdb.reverse/aarch64.exp: Rename to ...
14547 * gdb.reverse/insn-reverse.exp: ... it.
14548
3263bceb
YQ
145492016-02-26 Yao Qi <yao.qi@linaro.org>
14550
14551 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
14552 (testcase_ftype): New.
14553 (testcases): New array.
14554 (n_testcases): New.
14555 (main): Call each element in testcases.
14556 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
14557 (read_testcase): New.
14558 Do the tests in a loop.
14559
6cb59ff1
YQ
145602016-02-25 Yao Qi <yao.qi@linaro.org>
14561
14562 * gdb.base/branches.c: Remove.
14563
ae91f625
MK
145642016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14565
14566 PR gdb/13808
14567 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
14568
678b48b7
MK
145692016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14570
14571 * gdb.trace/ftrace.exp: Remove unnecessary target check.
14572
7337a6f2
MK
145732016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14574
14575 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
14576 change x86_64 call_insn to 'callq'.
14577
861ca91f
AT
145782016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14579
14580 * gdb.trace/tfile-avx.c: Move to...
14581 * gdb.trace/tracefile-pseudo-reg.c: Here.
14582 * gdb.trace/tfile-avx.exp: Move to...
14583 * gdb.trace/tracefile-pseudo-reg.exp: Here.
14584
bf74e428
GB
145852016-02-24 Gary Benson <gbenson@redhat.com>
14586
14587 * gdb.base/attach-pie-noexec.exp: Do not expect an error
14588 message on attach.
14589
cce0e923
DE
145902016-02-23 Doug Evans <dje@google.com>
14591
14592 * gdb.base/skip.c (test_skip): New function.
14593 (end_test_skip_file_and_function): New function.
14594 (test_skip_file_and_function): New function.
14595 * gdb.base/skip1.c (test_skip): New function.
14596 (skip1_test_skip_file_and_function): New function.
14597 * gdb.base/skip.exp: Add tests for new skip options.
14598 * gdb.base/skip-solib.exp: Update expected output.
14599 * gdb.perf/skip-command.cc: New file.
14600 * gdb.perf/skip-command.exp: New file.
14601 * gdb.perf/skip-command.py: New file.
14602
4000e47e
MK
146032016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
14604
14605 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
14606 info registers pattern.
14607
24f75ead
IB
146082016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
14609
14610 * lib/future.exp: Add D support.
14611 (gdb_find_gdc): New proc.
14612 (gdb_default_target_compile): Add D support.
14613
fbb7bcbe
WW
146142016-02-18 Wei-cheng Wang <cole945@gmail.com>
14615
14616 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
14617 user+system time.
14618 (trace_speed_test): Determine the iteration count for a time
14619 between 15..30 seconds.
14620
012b3a21
WT
146212016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
14622
14623 * gdb.arch/i386-mpx-sigsegv.c: New file.
14624 * gdb.arch/i386-mpx-sigsegv.exp: New file.
14625 * gdb.arch/i386-mpx-simple_segv.c: New file.
14626 * gdb.arch/i386-mpx-simple_segv.exp: New file.
14627
2d5189bd
YQ
146282016-02-18 Yao Qi <yao.qi@linaro.org>
14629
14630 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14631 Don't call setup_kfail.
14632
40fb20d0
YQ
146332016-02-18 Yao Qi <yao.qi@linaro.org>
14634
14635 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14636 Set "set breakpoint condition-evaluation" per $cond_bp_target.
14637
21b1f8d2
DE
146382016-02-16 Doug Evans <dje@google.com>
14639
14640 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
14641 * gdb.base/skip1.c: Ditto.
14642 * gdb.base/skip.exp: Whitespace cleanup.
14643
4041ed77
DB
146442016-02-16 Don Breazeal <donb@codesourcery.com>
14645
14646 PR remote/19496
14647 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14648 Remove kfail for PR remote/19496.
14649
c4ef31bf
SM
146502016-02-16 Simon Marchi <simon.marchi@ericsson.com>
14651
14652 * lib/gdb.exp (standard_temp_file): Return a path specific to
14653 the runtest invocation.
14654
266b65b3
SM
146552016-02-16 Simon Marchi <simon.marchi@ericsson.com>
14656
14657 * gdb.trace/save-trace.exp: Change relative path to be in the
14658 standard output directory.
14659
a7a0a6a9
JK
146602016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14661
14662 * gdb.arch/i386-prologue.c: Add missing prototypes.
14663
c99dbb42
JK
146642016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14665
14666 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
14667 * gdb.arch/i386-prologue.exp: Likewise.
14668 * gdb.arch/i386-size.exp: Likewise.
14669
aa480355
SM
146702016-02-15 Simon Marchi <simon.marchi@ericsson.com>
14671
14672 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
14673 define object file path.
14674 * gdb.btrace/gcore.exp: Use standard_output_file to define core
14675 file path.
14676 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
14677 standard_output_file to define binfile.
14678
ba881f50
JK
146792016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14680
14681 Fix compatibility with recent gfortran-5.3.1.
14682 * gdb.fortran/vla-history.exp (print vla1 allocated)
14683 (print vla2 allocated, print $2, print $3): Remove
14684 (print $4): Rename to ...
14685 (print $2): ... here.
14686 (print $9): Rename to ...
14687 (print $5): ... here.
14688 (print $10): Rename to ...
14689 (print $6): ... here.
14690 * gdb.fortran/vla.f90: Add pvla initialization.
14691
e9fb005c
JK
146922016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14693
14694 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
14695 New test.
14696 * gdb.fortran/vla-value-sub.exp: Likewise.
14697
e44e00ff
MK
146982016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
14699
14700 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
14701
97e94151
SM
147022016-02-12 Simon Marchi <simon.marchi@ericsson.com>
14703
14704 * i386-biarch-core.exp: Define corefile using
14705 standard_output_file.
14706
01113bc1
YQ
147072016-02-12 Yao Qi <yao.qi@linaro.org>
14708
14709 * gdb.arch/arm-single-step-kernel-helper.c: New.
14710 * gdb.arch/arm-single-step-kernel-helper.exp: New.
14711
33b4777c
MM
147122016-02-12 Markus Metzger <markus.t.metzger@intel.com>
14713
14714 * gdb.btrace/tailcall-only.exp: New.
14715 * gdb.btrace/tailcall-only.c: New.
14716 * gdb.btrace/x86_64-tailcall-only.S: New.
14717 * gdb.btrace/i686-tailcall-only.S: New.
14718
acc23c11
PA
147192016-02-11 Pedro Alves <palves@redhat.com>
14720
14721 * README (Parallel testing): Add missing double quotes.
14722
e352bf0a
PA
147232016-02-11 Pedro Alves <palves@redhat.com>
14724
14725 * README (Parallel testing): New section.
14726 (GDB_PARALLEL): Rewrite.
14727 (FORCE_PARALLEL): Document.
14728
9f5fed78
MK
147292016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
14730
14731 * gdb.trace/tfile-avx.c: New test.
14732 * gdb.trace/tfile-avx.exp: New test.
14733
9ef9e6a6
KS
147342016-02-09 Keith Seitz <keiths@redhat.com>
14735
14736 PR breakpoints/19546
14737 * gdb.base/infcall-exec.c: New file.
14738 * gdb.base/infcall-exec2.c: New file.
14739 * gdb.base/infcall-exec.exp: New file.
14740
a96e36da
KS
147412016-02-09 Keith Seitz <keiths@redhat.com>
14742
14743 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
14744 (toplevel): Call test_bkpt_address.
14745
9f61929f
KS
147462016-02-09 Keith Seitz <keiths@redhat.com>
14747
14748 PR python/19506
14749 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
14750 (toplevel): Call test_bkpt_address.
14751
1e94266c
SM
147522016-02-09 Simon Marchi <simon.marchi@ericsson.com>
14753
14754 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
14755 to AC_OUTPUT.
14756 * configure: Regenerate.
14757
2a7f3dff
PA
147582016-02-09 Pedro Alves <palves@redhat.com>
14759
14760 PR breakpoints/19548
14761 * gdb.base/execl-update-breakpoints.c (some_function): New
14762 function.
14763 (main): Call it.
14764 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
14765 Tighten expected GDB output.
14766
2151ccc5
SM
147672016-02-08 Simon Marchi <simon.marchi@ericsson.com>
14768
14769 * Makefile.in (ALL_SUBDIRS): Remove.
14770 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
14771 (distclean maintainer-clean realclean): Likewise.
14772 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
14773 * configure: Regenerate.
14774 * gdb.ada/Makefile.in: Delete.
14775 * gdb.arch/Makefile.in: Likewise.
14776 * gdb.asm/Makefile.in: Likewise.
14777 * gdb.base/Makefile.in: Likewise.
14778 * gdb.btrace/Makefile.in: Likewise.
14779 * gdb.cell/Makefile.in: Likewise.
14780 * gdb.compile/Makefile.in: Likewise.
14781 * gdb.cp/Makefile.in: Likewise.
14782 * gdb.disasm/Makefile.in: Likewise.
14783 * gdb.dlang/Makefile.in: Likewise.
14784 * gdb.dwarf2/Makefile.in: Likewise.
14785 * gdb.fortran/Makefile.in: Likewise.
14786 * gdb.gdb/Makefile.in: Likewise.
14787 * gdb.go/Makefile.in: Likewise.
14788 * gdb.guile/Makefile.in: Likewise.
14789 * gdb.java/Makefile.in: Likewise.
14790 * gdb.linespec/Makefile.in: Likewise.
14791 * gdb.mi/Makefile.in: Likewise.
14792 * gdb.modula2/Makefile.in: Likewise.
14793 * gdb.multi/Makefile.in: Likewise.
14794 * gdb.objc/Makefile.in: Likewise.
14795 * gdb.opencl/Makefile.in: Likewise.
14796 * gdb.opt/Makefile.in: Likewise.
14797 * gdb.pascal/Makefile.in: Likewise.
14798 * gdb.perf/Makefile.in: Likewise.
14799 * gdb.python/Makefile.in: Likewise.
14800 * gdb.reverse/Makefile.in: Likewise.
14801 * gdb.server/Makefile.in: Likewise.
14802 * gdb.stabs/Makefile.in: Likewise.
14803 * gdb.threads/Makefile.in: Likewise.
14804 * gdb.trace/Makefile.in: Likewise.
14805 * gdb.xml/Makefile.in: Likewise.
14806 * lib/gdb.exp (make_gdb_parallel_path): Add check for
14807 GDB_PARALLEL.
14808 (standard_output_file): Remove check for GDB_PARALLEL, always
14809 return path in outputs/$subdir/$testname.
14810
437277d4
SM
148112016-02-08 Simon Marchi <simon.marchi@ericsson.com>
14812
14813 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
14814 (site.exp): Assign abs_srcdir to tcl's srcdir.
14815
31d913c7
YQ
148162016-02-04 Yao Qi <yao.qi@linaro.org>
14817
14818 * gdb.base/foll-exec-mode.c: Include limits.h.
14819 (main): Add parameters argc and argv. Get directory from
14820 argv[0].
14821 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
14822 compilation.
14823 * gdb.base/foll-exec.c: Include limits.h.
14824 (main): Add parameters argc and argv.
14825 Get directory from argv[0].
14826 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
14827 Adjust tests on the number of lines as source code changed.
14828 * gdb.base/foll-vfork-exit.c: Include limits.h.
14829 (main): Add one line of statement before vfork.
14830 * gdb.base/foll-vfork.c: Include limits.h and string.h.
14831 (main): Add parameters argc and argv. Get directory from
14832 argv[0].
14833 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
14834 (setup_gdb): Set tbreak to skip some source lines.
14835 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
14836 (main): Add parameters argc and argv. Get directory from
14837 argv[0].
14838 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
14839 compilation.
14840 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
14841 (main): Add parameters argc and argv. Get directory from
14842 argv[0].
14843 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
14844 compilation.
14845
9482b9fb
DE
148462016-02-01 Doug Evans <dje@google.com>
14847
14848 * gdb.base/skip.exp: Clean up multiple references to same test name.
14849
6b2e4f10
PA
148502016-02-01 Pedro Alves <palves@redhat.com>
14851
ccb6afd6 14852 PR remote/19496
6b2e4f10
PA
14853 * gdb.threads/forking-threads-plus-breakpoint.exp
14854 (displaced_stepping_supported): New global.
14855 (probe_displaced_stepping_support): New procedure.
14856 (do_test): Add 'displaced' parameter, and use it.
14857 (top level): Check for displaced stepping support. Add displaced
14858 stepping on/off testing axis.
14859
37a8db1a
AB
148602016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
14861
14862 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
14863 pointer. Don't perform further tests on the unassociated pointer
14864 if the first test fails.
14865
5fdf6324
AB
148662016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
14867
14868 * gdb.base/max-value-size.c: New file.
14869 * gdb.base/max-value-size.exp: New file.
14870 * gdb.base/huge.exp: Disable max-value-size for this test.
14871
935c6144
IB
148722016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
14873
14874 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
14875
7fe8399d
YQ
148762016-01-28 Yao Qi <yao.qi@linaro.org>
14877
14878 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
14879
a2077e25
PA
148802016-01-25 Pedro Alves <palves@redhat.com>
14881
14882 PR threads/19461
14883 * gdb.base/fork-running-state.c: New file.
14884 * gdb.base/fork-running-state.exp: New file.
14885
1d2736d4
PA
148862016-01-25 Pedro Alves <palves@redhat.com>
14887
14888 PR gdb/19494
14889 * gdb.base/catch-fork-kill.c: New file.
14890 * gdb.base/catch-fork-kill.exp: New file.
14891
f1da4b11
PA
148922016-01-25 Pedro Alves <palves@redhat.com>
14893
14894 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
14895 Delete, moved to lib/gdb.exp.
14896 * gdb.threads/forking-threads-plus-breakpoint.exp
14897 (foreach_with_prefix): Likewise.
14898 * gdb.threads/process-dies-while-handling-bp.exp
14899 (foreach_with_prefix): Likewise.
14900 * lib/gdb.exp (foreach_with_prefix): New procedure.
14901
45f38546
MK
149022016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
14903
14904 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
14905 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
14906
dc29a1ce
MK
149072016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
14908
14909 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
14910 endian targets.
14911
092127d7
JK
149122016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14913 Pedro Alves <palves@redhat.com>
14914
14915 Fix testsuite compatibility with Guile.
14916 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
14917 number.
14918
31d765d3
JK
149192016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14920
14921 Fix testsuite compatibility with Guile.
14922 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
14923 (thread 1): New test for backtrace through signal handler.
14924
1ac78c04
YQ
149252016-01-22 Yao Qi <yao.qi@linaro.org>
14926
14927 PR testsuite/19491
14928 * gdb.base/multi-forks.c: Include
14929 ../lib/unbuffer_output.c
14930 (main): Call gdb_unbuffer_output.
14931
4f5946a8
DE
149322016-01-21 Doug Evans <dje@google.com>
14933
14934 * lib/ada.exp (gdb_compile_ada): Fix typo.
14935
305e13e6
JB
149362016-01-21 Joel Brobecker <brobecker@adacore.com>
14937
14938 * gdb.base/break-fun-addr.exp: New file.
14939 * gdb.base/break-fun-addr1.c: New file.
14940 * gdb.base/break-fun-addr2.c: New file.
14941
5f5dfff6
SM
149422016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
14943
14944 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
14945 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
14946 enum flag values.
14947
fd356fa2
AA
149482016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14949
14950 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
14951 when GDB can not set the vector return value. Add more comments
14952 for clarification.
14953
9df22175
AT
149542016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
14955
14956 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
14957 command.
14958
41d1845e
SM
149592016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14960
14961 * Makefile.in (DO_RUNTEST): Add --status and update usages.
14962
01ac6840
SM
149632016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14964
14965 * Makefile.in (check-single): Pass --status to runtest.
14966 (check/%.exp): Likewise.
14967
149682016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14969
14970 * Makefile.in (check-parallel): Propagate return code from make
14971 do-check-parallel.
14972
bd0a71fa
MK
149732016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
14974
14975 * gdb.trace/ftrace.exp: Fix expected message on continue.
14976 * gdb.trace/pending.exp: Fix expected message on continue.
14977 * gdb.trace/trace-break.exp: Fix expected message on continue.
14978
8bcbad33
SM
149792016-01-18 Simon Marchi <simon.marchi@ericsson.com>
14980
14981 * lib/gdb.exp (gdb_test): Remove unused global references.
14982
f303dbd6
PA
149832016-01-18 Pedro Alves <palves@redhat.com>
14984
14985 * gdb.base/async-shell.exp: Adjust expected output.
14986 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
14987 * gdb.base/siginfo-thread.exp: Adjust expected output.
14988 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
14989 * gdb.java/jnpe.exp: Adjust expected output.
14990 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
14991 * gdb.threads/continue-pending-status.exp: Adjust expected output.
14992 * gdb.threads/leader-exit.exp: Adjust expected output.
14993 * gdb.threads/manythreads.exp: Adjust expected output.
14994 * gdb.threads/pthreads.exp: Adjust expected output.
14995 * gdb.threads/schedlock.exp: Adjust expected output.
14996 * gdb.threads/siginfo-threads.exp: Adjust expected output.
14997 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
14998 expected output.
14999 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
15000 output.
15001 * gdb.threads/sigthread.exp: Adjust expected output.
15002 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
15003
b2789696
YQ
150042016-01-18 Yao Qi <yao.qi@linaro.org>
15005
15006 * gdb.guile/scm-section-script.c: Replace @progbits with
15007 %progbits.
15008 * gdb.python/py-section-script.c: Likewise.
15009
71ef29a8
PA
150102016-01-15 Pedro Alves <palves@redhat.com>
15011
15012 * gdb.multi/tids.exp: Test star wildcard ranges.
15013
3f5b7598
PA
150142016-01-15 Pedro Alves <palves@redhat.com>
15015
15016 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
15017 command from "thread apply" invocation.
15018 (thr_apply_info_thr_invalid): Default the expected output to the
15019 input tid list.
15020 (top level): Add tests that use convenience variables. Add tests
15021 for "thread apply" with a valid TID list, but missing the command.
15022
663f6d42
PA
150232016-01-13 Pedro Alves <palves@redhat.com>
15024
15025 * gdb.base/default.exp: Expect $_gthread as well.
15026 * gdb.multi/tids.exp: Test $_gthread.
15027 * gdb.threads/thread-specific.exp: Test $_gthread.
15028
c84f6bbf
PA
150292016-01-13 Pedro Alves <palves@redhat.com>
15030
15031 * gdb.multi/tids.exp: Test "info threads -gid".
15032
22a02324
PA
150332016-01-13 Pedro Alves <palves@redhat.com>
15034
15035 * gdb.multi/tids.exp: Test InferiorThread.global_num and
15036 Breakpoint.thread.
15037 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
15038
5d5658a1
PA
150392016-01-07 Pedro Alves <palves@redhat.com>
15040
15041 * gdb.base/break.exp: Adjust to output changes.
15042 * gdb.base/hbreak2.exp: Likewise.
15043 * gdb.base/sepdebug.exp: Likewise.
15044 * gdb.base/watch_thread_num.exp: Likewise.
15045 * gdb.linespec/keywords.exp: Likewise.
15046 * gdb.multi/info-threads.exp: Likewise.
15047 * gdb.threads/thread-find.exp: Likewise.
15048 * gdb.multi/tids.c: New file.
15049 * gdb.multi/tids.exp: New file.
15050
84654457
PA
150512016-01-13 Pedro Alves <palves@redhat.com>
15052
15053 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
15054
e3940304
PA
150552016-01-13 Pedro Alves <palves@redhat.com>
15056
15057 * gdb.base/default.exp: Expect $_inferior as well.
15058 * gdb.multi/base.exp: Test $_inferior.
15059
a911d87a
PA
150602016-01-13 Pedro Alves <palves@redhat.com>
15061
15062 PR breakpoints/19388
15063 * gdb.base/catch-signal-siginfo-cond.c: New file.
15064 * gdb.base/catch-signal-siginfo-cond.exp: New file.
15065
82075af2
JS
150662016-01-12 Josh Stone <jistone@redhat.com>
15067 Philippe Waroquiers <philippe.waroquiers@skynet.be>
15068
15069 * gdb.base/catch-syscall.c (do_execve): New variable.
15070 (main): Conditionally trigger an execve.
15071 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
15072 (test_catch_syscall_execve): New, check entry/return across execve.
15073 (do_syscall_tests): Call test_catch_syscall_execve.
15074
e46eeedd
PA
150752016-01-12 Pedro Alves <palves@redhat.com>
15076
15077 * gdb.base/random-signal.exp (do_test): New procedure, with body
15078 of testcase moved in.
15079
01d8c27e
JK
150802016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15081 Pedro Alves <palves@redhat.com>
15082
15083 * gdb.base/funcargs.exp (finish from indirectly called function):
15084 Reintroduce the case for 'First'.
15085
9a706302
JK
150862016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15087 Pedro Alves <palves@redhat.com>
15088
15089 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
15090 (tcatch_vfork_then_child_follow_exec)
15091 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
15092 identification.
15093
c0ecb95f
JK
150942016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15095
15096 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
15097 and repeats to unlimited.
15098 * gdb.python/py-value.exp: Likewise.
15099 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
15100 and repeats to unlimited.
15101
6cfc1fcb
JK
151022016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15103
15104 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
15105 and reordering the functions.
15106 * gdb.multi/hangout.c: Likewise.
15107 * gdb.multi/hello.c: Likewise.
15108
582a1b00
SM
151092016-01-08 Simon Marchi <simon.marchi@ericsson.com>
15110
15111 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
15112 absolute.
15113 (SingleStatisticTestResult.report): Use dict.keys instead of
15114 dict.iterkeys.
15115
79bc59cb
PA
151162016-01-06 Pedro Alves <palves@redhat.com>
15117
15118 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
15119
43368e1d
MM
151202016-01-04 Markus Metzger <markus.t.metzger@intel.com>
15121
15122 * gdb.btrace/dlopen.exp: New.
15123 * gdb.btrace/dlopen.c: New.
15124 * gdb.btrace/dlopen-dso.c: New.
15125
79fad5b8
SL
151262015-12-25 Sandra Loosemore <sandra@codesourcery.com>
15127
15128 * lib/gdb.exp (gdb_test): Update comments to clarify that the
15129 PATTERN argument is optional.
15130
ab8314b3
JB
151312015-12-24 Joel Brobecker <brobecker@adacore.com>
15132
15133 * lib/ada.exp (target_compile_ada_from_dir): New function.
15134 (gdb_compile_ada): Reimplement avoiding the use of project files.
15135 * gdb.ada/gnat_ada.gpr: Delete.
15136 * gdb.ada/cond_lang.exp: Adjust test to make path before
15137 filename optional.
15138 * gdb.ada/small_reg_param.exp: Likewise.
15139
fe33faff
SM
151402015-12-22 Simon Marchi <simon.marchi@ericsson.com>
15141
15142 * gdb.base/foll-vork.exp: Remove HP-UX special case.
15143
6d265cb4
TP
151442015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
15145
15146 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
15147 case.
15148
10125099
SM
151492015-12-21 Simon Marchi <simon.marchi@ericsson.com>
15150
15151 * gdb.base/break.exp: Remove dead code.
15152 * gdb.base/sepdebug.exp: Likewise.
15153
3ca22649
SM
151542015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
15155
15156 * gdb.asm/asm-source.exp: Remove HP-UX references.
15157 * gdb.base/annota1.exp: Likewise.
15158 * gdb.base/annota3.exp: Likewise.
15159 * gdb.base/attach.exp: Likewise.
15160 * gdb.base/bigcore.exp: Likewise.
15161 * gdb.base/break.exp: Likewise.
15162 * gdb.base/call-ar-st.exp: Likewise.
15163 * gdb.base/callfuncs.exp: Likewise.
15164 * gdb.base/catch-fork-static.exp: Likewise.
15165 * gdb.base/display.exp: Likewise.
15166 * gdb.base/foll-exec-mode.exp: Likewise.
15167 * gdb.base/foll-exec.exp: Likewise.
15168 * gdb.base/foll-fork.exp: Likewise.
15169 * gdb.base/foll-vfork.exp: Likewise.
15170 * gdb.base/funcargs.exp: Likewise.
15171 * gdb.base/hbreak2.exp: Likewise.
15172 * gdb.base/inferior-died.exp: Likewise.
15173 * gdb.base/interrupt.exp: Likewise.
15174 * gdb.base/multi-forks.exp: Likewise.
15175 * gdb.base/nodebug.exp: Likewise.
15176 * gdb.base/sepdebug.exp: Likewise.
15177 * gdb.base/solib1.c: Likewise.
15178 * gdb.base/step-test.exp: Likewise.
15179 * gdb.mi/non-stop.c: Likewise.
15180 * gdb.mi/pthreads.c: Likewise.
15181 * gdb.multi/bkpt-multi-exec.ex: Likewise.
15182 * gdb.threads/pthreads.c: Likewise.
15183 * gdb.threads/staticthreads.exp: Likewise.
15184 * lib/future.exp: Likewise.
15185 * lib/gdb.exp: Likewise.
15186 * gdb.base/so-indr-cl.c: Remove.
15187 * gdb.base/so-indr-cl.exp: Likewise.
15188 * gdb.base/solib.c: Likewise.
15189 * gdb.base/solib.exp: Likewise.
15190 * gdb.base/solib2.c: Likewise.
15191
b6304613
SM
151922015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
15193
15194 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
15195 * gdb.base/call-ar-st.exp: Likewise.
15196 * gdb.base/callfuncs.exp: Likewise.
15197 * gdb.base/condbreak.exp: Likewise.
15198 * gdb.base/constvars.exp: Likewise.
15199 * gdb.base/hbreak2.exp: Likewise.
15200 * gdb.base/langs.exp: Likewise.
15201 * gdb.base/list.exp: Likewise.
15202 * gdb.base/long_long.exp: Likewise.
15203 * gdb.base/ptype.exp: Likewise.
15204 * gdb.base/scope.exp: Likewise.
15205 * gdb.base/signals.exp: Likewise.
15206 * gdb.base/so-impl-ld.exp: Likewise.
15207 * gdb.base/varargs.exp: Likewise.
15208 * gdb.base/volatile.exp: Likewise.
15209 * gdb.base/whatis.exp: Likewise.
15210 * gdb.cp/cplusfuncs.exp: Likewise.
15211 * gdb.cp/inherit.exp: Likewise.
15212 * gdb.cp/local.exp: Likewise.
15213 * gdb.cp/member-ptr.exp: Likewise.
15214 * gdb.cp/method.exp: Likewise.
15215 * gdb.cp/overload.exp: Likewise.
15216 * gdb.cp/templates.exp: Likewise.
15217 * gdb.stabs/weird.exp: Likewise.
15218 * lib/compiler.c: Likewise.
15219 * lib/compiler.cc: Likewise.
15220 * lib/cp-support.exp: Likewise.
15221 * lib/gdb.exp: Likewise.
15222
bf401b07
SM
152232015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
15224
15225 * configure.ac: Remove HP-UX case.
15226 * configure: Regenerate.
15227
aff9c0f8
SM
152282015-12-18 Simon Marchi <simon.marchi@ericsson.com>
15229
15230 * lib/gdb.exp (gdb_compile): Add function doc.
15231
a6904d5a
PA
152322015-12-17 Pedro Alves <palves@redhat.com>
15233
15234 PR threads/19354
15235 * gdb.multi/info-threads.exp: New file.
15236
a22279dd
YQ
152372015-12-15 Yao Qi <yao.qi@linaro.org>
15238
15239 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
15240 is aarch64*-*-*.
15241
0588c796
SL
152422015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15243
15244 * gdb.base/history-duplicates.exp: Skip if no readline support.
15245
5d978e17
SL
152462015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15247
15248 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
15249
7e763b86
SL
152502015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15251
15252 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
15253
87a3a92c
SL
152542015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15255
15256 * gdb.base/completion.exp: Skip tests that interrupt GDB with
15257 ctrl-C if nointerrupts target property is set.
15258 * gdb.base/double-prompt-target-event-error.exp: Likewise.
15259 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
15260 * gdb.base/paginate-bg-execution.exp: Likewise.
15261 * gdb.base/paginate-execution-startup.exp: Likewise.
15262 * gdb.base/random-signal.exp: Likewise.
15263 * gdb.base/range-stepping.exp: Likewise.
15264 * gdb.cp/annota2.exp: Likewise.
15265 * gdb.cp/annota3.exp: Likewise.
15266 * gdb.gdb/selftest.exp: Likewise.
15267 * gdb.threads/continue-pending-status.exp: Likewise.
15268 * gdb.threads/leader-exit.exp: Likewise.
15269 * gdb.threads/manythreads.exp: Likewise.
15270 * gdb.threads/pthreads.exp: Likewise.
15271 * gdb.threads/schedlock.exp: Likewise.
15272 * gdb.threads/sigthread.exp: Likewise.
15273
a8f077dc
DB
152742015-12-11 Don Breazeal <donb@codesourcery.com>
15275
15276 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
15277 remote.
15278 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
15279 * gdb.base/foll-exec.exp (main): Enable for target remote.
15280 * gdb.base/foll-fork.exp (main): Likewise.
15281 * gdb.base/foll-vfork.exp (main): Likewise.
15282 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
15283 (proc continue_to_exit_bp_loc): Use clean_restart.
15284 * gdb.base/pie-execl.exp (main): Disable for target remote.
15285 * gdb.base/watch-vfork.exp (main): Enable for target remote.
15286 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
15287 * gdb.threads/execl.exp (main): Likewise.
15288 * gdb.threads/fork-child-threads.exp (main): Likewise.
15289 * gdb.threads/fork-plus-threads.exp (main): Disable for target
15290 remote.
15291 * gdb.threads/fork-thread-pending.exp (main): Enable for target
15292 remote.
15293 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
15294 pid.tid style ptids, instead of just tid.
15295 * gdb.threads/thread-execl.exp (main): Enable for target remote.
15296 * gdb.threads/watchpoint-fork.exp (main): Likewise.
15297 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
15298 ptids, instead of just tid.
15299
3b2464a8
AB
153002015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15301
15302 * gdb.base/list.exp (test_list_forward): Add end of file error
15303 test.
15304 (test_repeat_list_command): Add end of file error test.
15305 (test_list_backwards): Add beginning of file error test.
15306
a0def019
AB
153072015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15308
15309 * gdb.base/list.exp (test_list_invalid_args): New function,
15310 defined, and called.
15311
5c000dff
AB
153122015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15313
15314 * gdb.base/list.exp (test_list): Make test names unique.
15315
f1637ebe
YQ
153162015-12-11 Yao Qi <yao.qi@linaro.org>
15317
15318 * gdb.base/coremaker2.c: Remove.
15319
36d6fc0a
PA
153202015-12-10 Pedro Alves <palves@redhat.com>
15321
15322 * gdb.multi/base.exp: Remove stale "spaces" references.
15323
762f7747
PA
153242015-12-10 Pedro Alves <palves@redhat.com>
15325
15326 * gdb.multi/base.exp: Don't use nowarnings.
15327 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
15328 * gdb.multi/hangout.c: Include stdio.h.
15329 * gdb.multi/hello.c: Include stdlib.h.
15330 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
15331 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
15332 * gdb.multi/multi-arch.exp: Don't use nowarnings.
15333
28d2bfb9
AB
153342015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
15335
15336 * gdb.dwarf2/dw2-ranges-base.c: New file.
15337 * gdb.dwarf2/dw2-ranges-base.exp: New file.
15338 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
15339 support additional line table, and debug ranges generation.
15340 (Dwarf::ranges): New function, generate .debug_ranges.
15341 (Dwarf::lines): Support generating simple line table programs.
15342 (Dwarf::assemble): Initialise new namespace variables.
15343
5fc2beac
KB
153442015-12-09 Kevin Buettner <kevinb@redhat.com>
15345
15346 * gdb.base/async.exp (proc test_background): Add case for
15347 asynchronous execution not supported.
15348
1c35a88f
LM
153492015-12-09 Luis Machado <lgustavo@codesourcery.com>
15350
15351 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
15352 format and change test names to make them unique.
15353
b593e3d9
RK
153542015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
15355 Pedro Alves <pedro@redhat.com>
15356
15357 PR gdb/18702
15358 Add checking of floatformats setup on x86_64 hosts.
15359 * gdb.arch/i386-float.S (main): Load bigval and smallval.
15360 (smallval, bigval): New labels/constants.
15361 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
15362 float" after loading bigval and smallval.
15363
d72413e6
PMR
153642015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
15365
15366 * gdb.ada/fun_overload_menu.exp: New testcase.
15367 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
15368
ece66d65
JS
153692015-12-04 Josh Stone <jistone@redhat.com>
15370
15371 * gdb.base/catch-fork-static.exp: New.
15372
41d0efca
YQ
153732015-12-03 Yao Qi <yao.qi@linaro.org>
15374
15375 * gdb.base/sizeof.c: Don't include stdio.h and
15376 ../lib/unbuffer_output.c.
15377 (main): New variable 'size' and 'value'. Remove printf and
15378 gdb_unbuffer_output. Assign return value to size and value.
15379 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
15380 at the beginning.
15381 (check_sizeof): Check the result by printing variable 'size'.
15382 (check_valueof): Check the result by printing variable 'value'.
15383
99fd02d9
YQ
153842015-12-01 Yao Qi <yao.qi@linaro.org>
15385
15386 * gdb.base/disp-step-syscall.exp: Define syscall instruction
15387 for aarch64*-*-linux* target.
15388
f2faf941
PA
153892015-11-30 Pedro Alves <palves@redhat.com>
15390
15391 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
15392
04bf20c5
PA
153932015-11-30 Pedro Alves <palves@redhat.com>
15394
15395 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
15396 Handle non-stop mode vCont replies.
15397
09df4675
PA
153982015-11-30 Pedro Alves <palves@redhat.com>
15399
15400 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
15401 prepare_for_testing. Start gdb with "set non-stop on" appended to
15402 GDBFLAGS. Lax expected stop output.
15403
58b584af
YQ
154042015-11-27 Yao Qi <yao.qi@linaro.org>
15405
15406 * gdb.arch/arm-neon.exp: New.
15407 * gdb.arch/arm-neon.c: New.
15408
dfcb77a8
YQ
154092015-11-27 Yao Qi <yao.qi@linaro.org>
15410
15411 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
15412
88e8ec1b
YQ
154132015-11-27 Yao Qi <yao.qi@linaro.org>
15414
15415 * gdb.cp/annota2.exp: Allow multiple occurrences of the
15416 frames-invalid annotation.
15417
bfde72c2
YQ
154182015-11-27 Yao Qi <yao.qi@linaro.org>
15419
15420 * gdb.cp/annota2.exp: Use ${frames_invalid}.
15421
f6512a69
SM
154222015-11-26 Simon Marchi <simon.marchi@ericsson.com>
15423
15424 * gdb.threads/names.exp: New file.
15425 * gdb.threads/names.c: New file.
15426 * README: Mention gdb,no_thread_names.
15427
46a3515b
MM
154282015-11-26 Markus Metzger <markus.t.metzger@intel.com>
15429
15430 PR 19297
15431 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
15432 support" error.
15433
62147a22
PA
154342015-11-24 Pedro Alves <palves@redhat.com>
15435
15436 PR 17539
15437 * gdb.base/display.exp: Expect displays to be sorted in ascending
15438 order. Use multi_line.
15439 * gdb.base/solib-display.exp: Likewise.
15440
2f341b6e
PA
154412015-11-24 Pedro Alves <palves@redhat.com>
15442
15443 PR 17539
25d49b86
PA
15444 * gdb.base/display.exp: Expect displays to be sorted in ascending
15445 order. Use multi_line.
15446 * gdb.base/solib-display.exp: Likewise.
2f341b6e 15447
7e0aa6aa
PA
154482015-11-24 Pedro Alves <palves@redhat.com>
15449
15450 PR 17539
15451 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
15452 threads in ascending order.
15453 * gdb.base/foll-fork.exp: Likewise.
15454 * gdb.base/foll-vfork.exp: Likewise.
15455 * gdb.base/multi-forks.exp: Likewise.
15456 * gdb.mi/mi-nonstop.exp: Likewise.
15457 * gdb.mi/mi-nsintrall.exp: Likewise.
15458 * gdb.multi/base.exp: Likewise.
15459 * gdb.multi/multi-arch.exp: Likewise.
15460 * gdb.python/py-inferior.exp: Likewise.
15461 * gdb.threads/break-while-running.exp: Likewise.
15462 * gdb.threads/execl.exp: Likewise.
15463 * gdb.threads/gcore-thread.exp: Likewise.
15464 * gdb.threads/info-threads-cur-sal.exp: Likewise.
15465 * gdb.threads/kill.exp: Likewise.
15466 * gdb.threads/linux-dp.exp: Likewise.
15467 * gdb.threads/multiple-step-overs.exp: Likewise.
15468 * gdb.threads/next-bp-other-thread.exp: Likewise.
15469 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
15470 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
15471 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
15472 * gdb.threads/thread-find.exp: Likewise.
15473 * gdb.threads/tls.exp: Likewise.
15474 * lib/mi-support.exp (mi_reverse_list): Delete.
15475 (mi_check_thread_states): No longer reverse list.
15476
2cc57ad8
PA
154772015-11-24 Pedro Alves <palves@redhat.com>
15478
15479 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
15480 use lowercase.
15481
c93e8391
SM
154822015-11-23 Simon Marchi <simon.marchi@ericsson.com>
15483
15484 * gdb.trace/actions.c: Include trace-common.h.
15485 (main): Add a location for a fast tracepoint.
15486 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
15487 the normal tracepoints.
15488 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
15489
045ccf91
SM
154902015-11-23 Simon Marchi <simon.marchi@ericsson.com>
15491
15492 * save-trace.exp: Factor out code to these...
15493 (gdb_save_tracepoints): New.
15494 (gdb_load_tracepoints): New.
15495 (do_save_load_test): New.
15496
5506f9f6
KB
154972015-11-23 Kevin Buettner <kevinb@redhat.com>
15498
15499 * gdb.base/asmlabel.exp: New test.
15500 * gdb.base/asmlabel.c: New test case.
15501
16c3b12f
JB
155022015-11-23 Joel Brobecker <brobecker@adacore.com>
15503
15504 * gdb.base/wrong_frame_bt_full-main.c: New file.
15505 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
15506 * gdb.base/wrong_frame_bt_full.exp: New file.
15507
155bfbd3
JB
155082015-11-23 Joel Brobecker <brobecker@adacore.com>
15509
15510 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
15511
bb097445
JM
155122015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
15513
206853a0 15514 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
15515 pstate register when comparing registers values in
15516 sparc64-*-linux-gnu targets to avoid spurious differences.
15517
9c88ed8f
JM
155182015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
15519
206853a0 15520 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 15521
96161e25
SL
155222015-11-19 Sandra Loosemore <sandra@codesourcery.com>
15523
15524 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
15525 as type argument to gdb_compile.
15526 * gdb.base/nested-subp2.exp: Likewise.
15527 * gdb.base/nested-subp3.exp: Likewise.
15528
340c2830
DV
155292015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
15530
15531 * lib/dwarf.exp (_note): Fix left shift of negative value.
15532 * gdb.trace/trace-condition.exp: Likewise.
15533
c1862d0f
YQ
155342015-11-13 Yao Qi <yao.qi@linaro.org>
15535
15536 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
15537 comments about d10v.
15538 (test_scalar_returns): Likewise.
15539 * gdb.base/d10v.ld: Remove.
15540 * gdb.base/overlays.exp: Remove the target triplet checking for
15541 d10v-*-*.
15542 * gdb.base/structs.exp (test_struct_returns): Remove the
15543 comments about d10v.
15544 (test_struct_calls): Likewise.
15545
77ae9c19
YQ
155462015-11-13 Yao Qi <yao.qi@linaro.org>
15547
15548 * gdb.base/gnu_vector.exp: Check the return value by "p res".
15549 * gdb.base/gnu_vector.c: Don't include stdio.h.
15550 (main): Don't print res and call add_some_intvecs.
15551
430e004e
MK
155522015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
15553
15554 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
15555 macro.
15556 (func5): Removed.
15557 (func4): Use FAST_TRACEPOINT_LABEL.
15558 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
15559 macro.
15560 (func): Removed.
15561 (thread_function): Use FAST_TRACEPOINT_LABEL.
15562 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
15563 (func): Remove.
15564 (marker): Use FAST_TRACEPOINT_LABEL.
15565 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
15566 (pendfunc1): Remove.
15567 (pendfunc): Use FAST_TRACEPOINT_LABEL.
15568 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
15569 (foo): Remove.
15570 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
15571 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
15572 macro.
15573 (func): Remove.
15574 (marker): Use FAST_TRACEPOINT_LABEL.
15575 * gdb.trace/trace-common.h: New header.
15576 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
15577 macro.
15578 (func): Remove.
15579 (marker): Use FAST_TRACEPOINT_LABEL.
15580 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
15581 (func): Remove.
15582 (thread_function): Use FAST_TRACEPOINT_LABEL.
15583
6e7675a7
MK
155842015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
15585
15586 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
15587 in front.
15588 * gdb.trace/change-loc.exp: Use global pcreg definition.
15589 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
15590 * gdb.trace/entry-values.exp: Use global spreg definition, add $
15591 in front.
15592 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
15593 * gdb.trace/pending.exp: Likewise.
15594 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
15595 * gdb.trace/trace-break.exp: Likewise.
15596 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
15597 in front.
15598 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
15599 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
15600 in front.
15601 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
15602
dddc0e16
JB
156032015-11-09 Joel Brobecker <brobecker@adacore.com>
15604
15605 * gdb.ada/fin_fun_out: New testcase.
15606
c6f0b406
KB
156072015-11-07 Kevin Buettner <kevinb@redhat.com>
15608
15609 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
15610 value associated with DW_AT_byte_size.
15611 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
15612 constants for DW_AT_byte_size, DW_AT_lower_bound, and
15613 DW_AT_upper_bound.
15614
f01dcfd9
KB
156152015-11-07 Kevin Buettner <kevinb@redhat.com>
15616
15617 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
15618 (gdb_target_symbol_prefix_flags): Define in terms of _asm
15619 version.
15620 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
15621 gdb.dwarf2/dw2-canonicalize-type.exp,
15622 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
15623 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
15624 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
15625 provided by gdb_target_symbol_prefix_flags_asm.
15626 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
15627 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
15628 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
15629 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
15630 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
15631 macros where needed). Use this macro for symbols which require
15632 the prefix provided by SYMBOL_PREFIX.
15633
2223449a
KB
156342015-11-05 Kevin Buettner <kevinb@redhat.com>
15635
15636 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
15637 New procs.
15638 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
15639 representing expressions, of more than one list element.
15640 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
15641 to prepend linker symbol prefix to f.
15642 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
15643 table_1 and table_2.
15644 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
15645 Likewise, for f and g.
15646 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
15647 for ptr.
15648 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
15649 for main.
15650 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
15651 table_1_ptr and table_2_ptr.
15652
6f2f1a3a
JK
156532015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15654 Joel Brobecker <brobecker@adacore.com>
15655
15656 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
15657
566c56c9
MK
156582015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
15659
15660 * gdb.reverse/s390-mvcle.c: New test.
15661 * gdb.reverse/s390-mvcle.exp: New file.
15662 * lib/gdb.exp: Enable reverse tests on s390*-linux.
15663
d5f0636b
MK
156642015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
15665
15666 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
15667
7ad8b86c
MK
156682015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
15669
15670 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
15671 reaching marker2.
15672 * gdb.reverse/getresuid-reverse.exp: Likewise.
15673 * gdb.reverse/pipe-reverse.exp: Likewise.
15674 * gdb.reverse/readv-reverse.exp: Likewise.
15675 * gdb.reverse/recvmsg-reverse.exp: Likewise.
15676 * gdb.reverse/time-reverse.exp: Likewise.
15677 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
15678
4081c0f1
YQ
156792015-10-30 Yao Qi <yao.qi@linaro.org>
15680
15681 * gdb.threads/wp-replication.c (watch_count_done): Remove.
15682 (empty_cycle): Remove.
15683 (main): Don't call empty_cycle. Don't use watch_count_done.
15684 * gdb.threads/wp-replication.exp: Don't set breakpoint on
15685 empty_cycle. Rewrite the code counting HW watchpoints.
15686
452b4ba5
MK
156872015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
15688
15689 * gdb.reverse/fstatat-reverse.c: New test.
15690 * gdb.reverse/fstatat-reverse.exp: New file.
15691 * gdb.reverse/getresuid-reverse.c: New test.
15692 * gdb.reverse/getresuid-reverse.exp: New file.
15693 * gdb.reverse/pipe-reverse.c: New test.
15694 * gdb.reverse/pipe-reverse.exp: New file.
15695 * gdb.reverse/readv-reverse.c: New test.
15696 * gdb.reverse/readv-reverse.exp: New file.
15697 * gdb.reverse/recvmsg-reverse.c: New test.
15698 * gdb.reverse/recvmsg-reverse.exp: New file.
15699 * gdb.reverse/time-reverse.c: New test.
15700 * gdb.reverse/time-reverse.exp: New file.
15701 * gdb.reverse/waitpid-reverse.c: New test.
15702 * gdb.reverse/waitpid-reverse.exp: New file.
15703
5e2e7507
JK
157042015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
15705
15706 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
15707
0fde2c53
DE
157082015-10-26 Doug Evans <dje@google.com>
15709
15710 PR symtab/17391
15711 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
15712 * gdb.dwarf2/bad-regnum.c: New file.
15713 * gdb.dwarf2/bad-regnum.exp: New file.
15714
1a70ae97
DE
157152015-10-26 Doug Evans <dje@google.com>
15716
15717 PR python/18938
15718 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
15719 file.
15720
27dc26ab
JK
157212015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15722
15723 * gdb.compile/compile.exp (compile code globalvar): Update expectation
15724 for a change by "Mention language in compile error message".
15725
bed91f4d
SM
157262015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
15727
15728 PR python/18073
15729 * gdb.python/py-type.c (C::a_method): New.
15730 (C::a_const_method): New.
15731 (C::a_static_method): New.
15732 (a_function): New.
15733 * gdb.python/py-type.exp (test_fields): Test getting fields
15734 from function and method.
15735
3f2f83dd
KB
157362015-10-21 Keven Boell <keven.boell@intel.com>
15737
15738 * gdb.fortran/vla-alloc-assoc.exp: New file.
15739 * gdb.fortran/vla-datatypes.exp: New file.
15740 * gdb.fortran/vla-datatypes.f90: New file.
15741 * gdb.fortran/vla-history.exp: New file.
15742 * gdb.fortran/vla-ptype-sub.exp: New file.
15743 * gdb.fortran/vla-ptype.exp: New file.
15744 * gdb.fortran/vla-sizeof.exp: New file.
15745 * gdb.fortran/vla-sub.f90: New file.
15746 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
15747 * gdb.fortran/vla-value-sub-finish.exp: New file.
15748 * gdb.fortran/vla-value-sub.exp: New file.
15749 * gdb.fortran/vla-value.exp: New file.
15750 * gdb.fortran/vla-ptr-info.exp: New file.
15751 * gdb.mi/mi-vla-fortran.exp: New file.
15752 * gdb.mi/vla.f90: New file.
15753
27145d50
SL
157542015-10-21 Sandra Loosemore <sandra@codesourcery.com>
15755
15756 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
15757 of hardwired timeout value.
15758
5f3ff4f8
JK
157592015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15760 Pedro Alves <palves@redhat.com>
15761
15762 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
15763 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
15764
bfd09d20
JS
157652015-10-19 Josh Stone <jistone@redhat.com>
15766
15767 * gdb.base/catch-syscall.c: Include <sched.h>.
15768 (unknown_syscall): New variable.
15769 (main): Trigger a vfork and an unknown syscall.
15770 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
15771 (unknown_syscall_number): Likewise.
15772 (check_call_to_syscall): Accept an optional syscall pattern.
15773 (check_return_from_syscall): Likewise.
15774 (check_continue): Likewise.
15775 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
15776 (test_catch_syscall_skipping_return): New test toggling off 'catch
15777 syscall' to step over the syscall return, then toggling back on.
15778 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
15779 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
15780 (do_syscall_tests): Call test_catch_syscall_without_args and
15781 test_catch_syscall_mid_vfork.
15782 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
15783 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
15784
b32b93c6
AS
157852015-10-19 Andrew Stubbs <ams@codesourcery.com>
15786
15787 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
15788 print g_vE): Add new pass patterns.
15789 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
15790 print various symbol names for vptr fields.
15791
9d622bda
AB
157922015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
15793
15794 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
15795 results.
15796
0fd8ac1c
YQ
157972015-10-12 Yao Qi <yao.qi@linaro.org>
15798
15799 * gdb.arch/disp-step-insn-reloc.exp: New test case.
15800
34240514
YQ
158012015-10-12 Yao Qi <yao.qi@linaro.org>
15802
15803 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
15804 is aarch64*-*-linux*.
15805
8240f442
YQ
158062015-10-12 Yao Qi <yao.qi@linaro.org>
15807
15808 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
15809 (can_relocate_bcond_true): ... it.
15810 (can_relocate_bcond_false): New function.
15811 (foo): Likewise.
15812 (can_relocate_bl): Likewise.
15813 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
15814 can_relocate_bl.
15815
2520f728
PMR
158162015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
15817
15818 * gdb.base/nested-addr.c: New file.
15819 * gdb.base/nested-addr.exp: New testcase.
15820
abcef95a
MM
158212015-10-09 Markus Metzger <markus.t.metzger@intel.com>
15822
15823 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
15824 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
15825 its output. Ignore the output of "record goto begin" and instead
15826 check that GDB is replaying.
15827
145e3ddb
PA
158282015-10-09 Pedro Alves <palves@redhat.com>
15829
15830 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
15831 (top level): Use it in the run with no args test.
15832
d5d8c4e1
IB
158332015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
15834
15835 * gdb.dlang/properties.exp: New file.
15836
06e635ef
SL
158372015-10-02 Sandra Loosemore <sandra@codesourcery.com>
15838
15839 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
15840 whether or not address 0x1000 is mapped on the target.
15841
e019fd1d
SM
158422015-09-30 Simon Marchi <simon.marchi@ericsson.com>
15843
15844 * gdb.python/py-type.exp: Do not run tests if binaries fail to
15845 build.
15846
77ba2a67
MM
158472015-09-30 Markus Metzger <markus.t.metzger@intel.com>
15848
15849 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
15850 instruction-history test.
15851
c60eb31f
DE
158522015-09-28 Doug Evans <dje@google.com>
15853
15854 * gdb.base/gcore.c (array_func): Add reference to static_array.
15855
9a3c8263
SM
158562015-09-25 Simon Marchi <simon.marchi@ericsson.com>
15857
15858 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
15859 source line.
15860
9720e656
SL
158612015-09-24 Sandra Loosemore <sandra@codesourcery.com>
15862
15863 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
15864 short or char as base type.
15865
938d3bf2
SL
158662015-09-23 Sandra Loosemore <sandra@codesourcery.com>
15867
15868 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
15869 to allow any size enum.
15870
e6c2c623
PMR
158712015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
15872
15873 * gdb.ada/array_ptr_renaming.exp: New testcase.
15874 * gdb.ada/array_ptr_renaming/foo.adb: New file.
15875 * gdb.ada/array_ptr_renaming/pack.ads: New file.
15876
06da0f77
PL
158772015-09-21 Pierre Langlois <pierre.langlois@arm.com>
15878
15879 * gdb.trace/ftrace-lock.c: New file.
15880 * gdb.trace/ftrace-lock.exp: New file.
15881
4f51c22a
PL
158822015-09-21 Pierre Langlois <pierre.langlois@arm.com>
15883
15884 * gdb.arch/insn-reloc.c: New file.
15885 * gdb.arch/ftrace-insn-reloc.exp: New file.
15886
7041adf4
PL
158872015-09-21 Pierre Langlois <pierre.langlois@arm.com>
15888
15889 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
15890 instruction.
15891 * gdb.trace/pendshr1.c (pendfunc): Likewise.
15892 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
15893 * gdb.trace/range-stepping.c: Likewise.
15894 * gdb.trace/trace-break.c: Likewise.
15895 * gdb.trace/trace-mt.c (thread_function): Likewise.
15896 * gdb.trace/ftrace.c (marker): Likewise.
15897 * gdb.trace/trace-condition.c (marker): Likewise.
15898 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
15899 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
15900 is_aarch64_target.
15901
015d2e7e
DE
159022015-09-18 Doug Evans <xdje42@gmail.com>
15903
15904 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
15905 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
15906
26b188a2
SL
159072015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15908
15909 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
15910 the breakpoint.
15911
79dc332b
SL
159122015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15913
15914 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
15915 the pending breakpoint. Remove timeout override for "Run till
15916 MI pending breakpoint on pendfunc3 on thread 2" test.
15917
f57929f2
SL
159182015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15919
15920 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
15921 filename pattern.
15922
3f469b17
SL
159232015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15924
15925 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
15926 in breakpoint filename pattern.
15927
515b89b3
SL
159282015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15929
7800dbe4
SL
15930 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
15931
159322015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15933
515b89b3
SL
15934 * gdb.linespec/explicit.exp: Check for readline support for
15935 tab-completion tests. Fix obvious typo.
15936
d2939ba2
MM
159372015-09-18 Markus Metzger <markus.t.metzger@intel.com>
15938
15939 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
15940 and replay.
15941
cbb55fa7
MM
159422015-09-18 Markus Metzger <markus.t.metzger@intel.com>
15943
15944 * gdb.btrace/non-stop.c: New.
15945 * gdb.btrace/non-stop.exp: New.
15946
43691ca1
PL
159472015-09-17 Pierre Langlois <pierre.langlois@arm.com>
15948 Yao Qi <yao.qi@linaro.org>
15949
15950 * gdb.trace/trace-condition.c: New file.
15951 * gdb.trace/trace-condition.exp: New file.
15952
d78908cf
WW
159532015-09-16 Wei-cheng Wang <cole945@gmail.com>
15954
15955 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
15956 for testing bytecode compilation.
15957
1ed415e2
PA
159582015-09-16 Pedro Alves <palves@redhat.com>
15959 Sandra Loosemore <sandra@codesourcery.com>
15960
15961 * gdb.threads/non-stop-fair-events.c (timeout): New global.
15962 (SECONDS): Redefine.
15963 (main): Call pthread_kill and alarm early.
15964 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
15965 support.
15966 (test): If the target can't hardware step and doesn't support
15967 displaced stepping, increase the timeout.
15968
d136eff5
PA
159692015-09-16 Pedro Alves <palves@redhat.com>
15970
15971 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
15972 (enable_debug): New procedures.
15973 (test): Use them. Bail out if waiting for threads fails.
15974 (top level): Bail out if a test fails.
15975
991f019c
YQ
159762015-09-16 Yao Qi <yao.qi@linaro.org>
15977
15978 * gdb.asm/asm-source.exp: Set asm-arch for
15979 aarch64*-*-* target.
15980 * gdb.asm/aarch64.inc: New file.
15981
bfca584f
PMR
159822015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
15983
15984 * gdb.ada/array_of_variable_length.exp: New testcase.
15985 * gdb.ada/array_of_variable_length/foo.adb: New file.
15986 * gdb.ada/array_of_variable_length/pck.adb: New file.
15987 * gdb.ada/array_of_variable_length/pck.ads: New file.
15988
b326e587
DE
159892015-09-15 Doug Evans <dje@google.com>
15990
15991 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
15992 of function static local variable.
15993
5382cfab
PW
159942015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
15995
15996 * gdb.threads/tls-so_extern.exp: New test file.
15997 * gdb.threads/tls-so_extern.c: New test file.
15998 * gdb.threads/tls-so_extern_main.c: New test file.
15999
141c5cc4
JK
160002015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16001
16002 * gdb.opt/solib-intra-step-lib.c: New file.
16003 * gdb.opt/solib-intra-step-main.c: New file.
16004 * gdb.opt/solib-intra-step.exp: New file.
16005
d15dcecd
PA
160062015-09-15 Pedro Alves <palves@redhat.com>
16007
16008 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
16009 gdb_continue_to_breakpoint instead of gdb_test_multiple.
16010
4c2f2a79
PA
160112015-09-14 Pedro Alves <palves@redhat.com>
16012
16013 * gdb.base/hook-stop-continue.c: Delete.
16014 * gdb.base/hook-stop-continue.exp: Delete.
16015 * gdb.base/hook-stop-frame.c: Delete.
16016 * gdb.base/hook-stop-frame.exp: Delete.
16017 * gdb.base/hook-stop.c: New file.
16018 * gdb.base/hook-stop.exp: New file.
16019
919e6dbe
PMR
160202015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
16021
16022 * gdb.ada/access_to_packed_array.exp: New testcase.
16023 * gdb.ada/access_to_packed_array/foo.adb: New file.
16024 * gdb.ada/access_to_packed_array/pack.adb: New file.
16025 * gdb.ada/access_to_packed_array/pack.ads: New file.
16026
157280a4
MM
160272015-09-14 Markus Metzger <markus.t.metzger@intel.com>
16028
16029 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
16030 buffer size test.
16031
2fd33e94
DB
160322015-09-11 Don Breazeal <donb@codesourcery.com>
16033
16034 * gdb.base/foll-exec.c: Add copyright header. Fix
16035 formatting issues.
16036 * gdb.base/foll-exec.exp (zap_session): Delete proc.
16037 (do_exec_tests): Use clean_restart in place of zap_session,
16038 and for test initialization. Fix formatting issues. Use
16039 fail in place of perror.
16040 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
16041 an expect statement to match an expression with output from
16042 the program under debug.
16043 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
16044 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
16045 * gdb.threads/non-ldr-exc-2.exp: Likewise.
16046 * gdb.threads/non-ldr-exc-3.exp: Likewise.
16047 * gdb.threads/non-ldr-exc-4.exp: Likewise.
16048
e70b6e8e
DE
160492015-09-09 Doug Evans <dje@google.com>
16050
16051 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
16052
7a551a51
DE
160532015-09-09 Doug Evans <dje@google.com>
16054
16055 * gdb.base/pie-execl.exp: Fix result test of build_executable.
16056
4c666f84
DE
160572015-09-09 Doug Evans <dje@google.com>
16058
16059 * gdb.base/savedregs.exp: Fix typo.
16060
243a9253
PA
160612015-09-09 Pedro Alves <palves@redhat.com>
16062
16063 * gdb.mi/mi-cli.exp: Add CLI finish tests.
16064
c0fa8fbd
SL
160652015-09-08 Sandra Loosemore <sandra@codesourcery.com>
16066
16067 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
16068 command actually switches threads. Give up on remaining
16069 tests if target fails to stop at breakpoint.
16070
cd7c1778
PMR
160712015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
16072
16073 * gdb.ada/funcall_char.exp: New testcase.
16074 * gdb.ada/funcall_char/foo.adb: New file.
16075
dc5c8746
PMR
160762015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
16077
16078 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
16079 expected outputs. Add two testcases for completing ambiguous
16080 functions.
16081 * gdb.ada/complete/aux_pck.adb: New file.
16082 * gdb.ada/complete/aux_pck.ads: New file.
16083 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
16084 Ambiguous_Func functions.
16085 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
16086 * gdb.ada/complete/pck.adb: Likewise.
16087
4e83a1e7
UW
160882015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
16089
16090 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
16091 failures to run the test program under GDB.
16092
8ce74153
LM
160932015-08-26 Luis Machado <lgustavo@codesourcery.com>
16094
16095 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
16096 to C.
16097
e9756d52
PP
160982015-08-26 Patrick Palka <patrick@parcs.ath.cx>
16099
16100 * gdb.base/run-after-attach.exp: New test file.
16101 * gdb.base/run-after-attach.c: New test file.
16102
8d37573b
DB
161032015-08-26 Don Breazeal <donb@codesourcery.com>
16104
16105 * gdb.base/foll-exec-2.c: New test program.
16106 * gdb.base/foll-exec-2.exp: New test.
16107
63e43d3a
PMR
161082015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
16109
16110 * gdb.base/nested-subp1.exp: New file.
16111 * gdb.base/nested-subp1.c: New file.
16112 * gdb.base/nested-subp2.exp: New file.
16113 * gdb.base/nested-subp2.c: New file.
16114 * gdb.base/nested-subp3.exp: New file.
16115 * gdb.base/nested-subp3.c: New file.
16116
3d40fbb5
PA
161172015-08-24 Pedro Alves <palves@redhat.com>
16118
16119 * gdb.server/connect-without-multi-process.c: New file.
16120 * gdb.server/connect-without-multi-process.exp: New file.
16121
4422ac93
LM
161222015-08-24 Luis Machado <lgustavo@codesourcery.com>
16123
16124 * gdb.opt/inline-markers.c: Make z int.
16125
91dddb86
LM
161262015-08-24 Luis Machado <lgustavo@codesourcery.com>
16127
16128 * gdb.opt/inline-markers.c: Make z volatile.
16129
a48847ee
LM
161302015-08-24 Luis Machado <lgustavo@codesourcery.com>
16131
16132 * gdb.opt/inline-bt.c: New volatile global z.
16133 * gdb.opt/inline-cmds.c: Likewise.
16134 * gdb.opt/inline-locals.c: Likewise.
16135 * gdb.opt/inline-markers.c: New extern global z.
16136 (marker): Use z.
16137 (inline_fn): Likewise.
16138
0ebbc52b
PA
161392015-08-24 Pedro Alves <palves@redhat.com>
16140
16141 * config/m32r-stub.exp: Remove file.
16142 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
16143 * gdb.base/call-rt-st.exp: Likewise.
16144 * gdb.base/call-strs.exp: Likewise.
16145 * gdb.base/default.exp: Remove references to h8300-*-hms and
16146 *-*-udi*.
16147 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
16148
77c365df
AA
161492015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
16150
16151 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
16152 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
16153 and "return" use KFAIL when GDB can not read/write the vector
16154 return value.
16155
4313b8c0
GB
161562015-08-21 Gary Benson <gbenson@redhat.com>
16157
16158 * gdb.trace/pending.exp: Cope with remote transfer warnings.
16159
0e433b32
PA
161602015-08-20 Pedro Alves <palves@redhat.com>
16161
16162 * gdb.server/solib-list.exp: No longer expect an interior stop in
16163 non-stop mode.
16164
221e1a37
PA
161652015-08-20 Pedro Alves <palves@redhat.com>
16166
16167 * gdb.server/connect-stopped-target.c: New file.
16168 * gdb.server/connect-stopped-target.exp: New file.
16169
40e3ad0e
PA
161702015-08-20 Pedro Alves <palves@redhat.com>
16171
16172 * gdb.dwarf2/comp-unit-lang.exp: New file.
16173 * gdb.dwarf2/comp-unit-lang.c: New file.
16174
af39b327
PMR
161752015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
16176
16177 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
16178 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
16179
7d45c7c3 161802015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 16181
7d45c7c3
KB
16182 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
16183 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
16184
4d6cceb4
DE
161852015-08-18 Doug Evans <dje@google.com>
16186 Adrian Sendroiu <adrian.sendroiu@freescale.com>
16187
16188 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
16189 skip_python_tests. New arg prompt_regexp.
16190 (skip_python_tests): New function.
16191 * lib/mi-support.exp (mi_skip_python_tests): New function.
16192 * gdb.python/py-mi-objfile-gdb.py: New file.
16193 * gdb.python/py-mi-objfile.c: New file.
16194 * gdb.python/py-mi-objfile.exp: New file.
16195
ad89c2aa
KS
161962015-08-17 Keith Seitz <keiths@redhat.com>
16197
16198 * gdb.linespec/explicit.exp: Move strace test from here ...
16199 * gdb.trace/strace.exp: ... to here.
16200
e3ae3c43
PP
162012015-08-15 Patrick Palka <patrick@parcs.ath.cx>
16202
16203 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
16204 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
16205
604b2636
DE
162062015-08-14 Doug Evans <xdje42@gmail.com>
16207
16208 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
16209 inferior before selecting a new file.
16210
6ff0ba5f
DE
162112015-08-14 Doug Evans <xdje42@gmail.com>
16212
16213 * gdb.mi/mi-disassemble.exp: Update.
16214 * gdb.base/disasm-optim.S: New file.
16215 * gdb.base/disasm-optim.c: New file.
16216 * gdb.base/disasm-optim.h: New file.
16217 * gdb.base/disasm-optim.exp: New file.
16218
9ca98f92
KS
162192015-08-14 Keith Seitz <keiths@redhat.com>
16220
16221 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
16222 "evaluated-by".
16223
52bbc560
JB
162242015-08-13 Joel Brobecker <brobecker@adacore.com>
16225
16226 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
16227
5d8c3ed3
PMR
162282015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
16229
16230 * gdb.ada/fun_renaming.exp: New testcase.
16231 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
16232 * gdb.ada/fun_renaming/pack.adb: New file.
16233 * gdb.ada/fun_renaming/pack.ads: New file.
16234
ea8812bc
KS
162352015-08-12 Keith Seitz <keiths@redhat.com>
16236
16237 * gdb.base/dso2dso.exp: Pass basename of source file in call to
16238 gdb_get_line_number.
16239
4dafcdeb
JB
162402015-08-12 Joel Brobecker <brobecker@adacore.com>
16241
16242 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
16243 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
16244 gdb.base/dso2dso.exp: New files.
16245
5ba32597
SDJ
162462015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
16247 Pedro Alves <palves@redhat.com>
16248 Keith Seitz <keiths@redhat.com>
16249
16250 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
16251 GDBFLAGS.
16252
b6dafabf
PP
162532015-08-12 Patrick Palka <patrick@parcs.ath.cx>
16254
16255 * gdb.base/gdbhistsize-history.exp
16256 (test_histsize_history_setting): Use save_vars.
16257 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16258 Use save_vars.
16259 (test_no_truncation_of_unlimited_history_file): Use save_vars.
16260 * gdb.base/readline.exp: Use save_vars.
16261
abe8e607
PP
162622015-08-12 Patrick Palka <patrick@parcs.ath.cx>
16263
16264 * lib/gdb.exp (save_vars): New proc.
16265
629500fa
KS
162662015-08-11 Keith Seitz <keiths@redhat.com>
16267
16268 * gdb.base/help.exp: Update help_breakpoint_text.
16269
eb8c4e2e
KS
162702015-08-11 Keith Seitz <keiths@redhat.com>
16271
16272 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
16273 (at toplevel): Call test_explicit_breakpoints.
16274 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
16275 breakpoints.
16276 * lib/mi-support.exp (mi_make_breakpoint): Add support for
16277 breakpoint conditions, "-cond".
16278
87f0e720
KS
162792015-08-11 Keith Seitz <keiths@redhat.com>
16280
16281 * gdb.linespec/3explicit.c: New file.
16282 * gdb.linespec/cpexplicit.cc: New file.
16283 * gdb.linespec/cpexplicit.exp: New file.
16284 * gdb.linespec/explicit.c: New file.
16285 * gdb.linespec/explicit.exp: New file.
16286 * gdb.linespec/explicit2.c: New file.
16287 * gdb.linespec/ls-errs.exp: Add explicit location tests.
16288 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
16289 before using in the matching pattern.
16290 Clarify that `prefix' is a regular expression.
16291
f00aae0f
KS
162922015-08-11 Keith Seitz <keiths@redhat.com>
16293
16294 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
16295 test.
16296 Add tests for missing ",FMT" and ",".
16297
e27852be
DE
162982015-08-10 Doug Evans <dje@google.com>
16299 Keith Seitz <keiths@redhat.com>
16300
16301 PR gdb/17960
16302 * gdb.base/completion.exp: Add location completer tests.
16303
7f03bd92
PA
163042015-08-07 Pedro Alves <palves@redhat.com>
16305
16306 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
16307 tests here.
16308 (top level): Run do_test with and without displaced stepping.
16309
3fc8eb30
PA
163102015-08-07 Pedro Alves <palves@redhat.com>
16311
16312 * gdb.base/valgrind-disp-step.c: New file.
16313 * gdb.base/valgrind-disp-step.exp: New file.
16314
d4569d7b
PA
163152015-08-07 Pedro Alves <palves@redhat.com>
16316
16317 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
16318 Delete function.
16319 (main): Add alarm. Run an infinite loop instead of calling
16320 wait_threads.
16321 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
16322 comment.
16323 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
16324 Delete function.
16325 (main): Add alarm. Run an infinite loop instead of calling
16326 wait_threads.
16327 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
16328 comment.
16329
e1316e60
PA
163302015-08-07 Pedro Alves <palves@redhat.com>
16331
16332 * gdb.base/checkpoint-ns.exp: New file.
16333 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
16334 standard_testfile.
16335
da8c46d2
MM
163362015-08-07 Markus Metzger <markus.t.metzger@intel.com>
16337
16338 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
16339 * gdb.btrace/instruction_history.exp: Update.
16340 * gdb.btrace/tsx.exp: New.
16341 * gdb.btrace/tsx.c: New.
16342
de1c2c52
PA
163432015-08-06 Pedro Alves <palves@redhat.com>
16344
16345 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
16346 increase timeout.
16347 * gdb.reverse/until-precsave.exp: Bump timeouts.
16348
782e0bf4
PA
163492015-08-06 Pedro Alves <palves@redhat.com>
16350
16351 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
16352
83e97ed0
PA
163532015-08-06 Pedro Alves <palves@redhat.com>
16354
16355 PR gdb/18749
16356 * gdb.threads/process-dies-while-handling-bp.c: New file.
16357 * gdb.threads/process-dies-while-handling-bp.exp: New file.
16358
863d01bd
PA
163592015-08-06 Pedro Alves <palves@redhat.com>
16360
16361 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
16362 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
16363
0a39bb32
PA
163642015-08-05 Pedro Alves <palves@redhat.com>
16365
16366 * gdb.threads/next-while-other-thread-longjmps.c: New file.
16367 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
16368
ee2d2b10
SL
163692015-08-03 Sandra Loosemore <sandra@codesourcery.com>
16370
16371 * gdb.base/bp-permanent.exp: Report test as unsupported if
16372 the target cannot stop at the permanent breakpoint.
16373
4e1bdb00
DE
163742015-08-03 Doug Evans <dje@google.com>
16375
16376 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
16377 10000.
16378
3d338901
DE
163792015-08-03 Doug Evans <dje@google.com>
16380
16381 * Makefile.in (workers/%.worker, build-perf): New rule.
16382 (GDB_PERFTEST_MODE): New variable.
16383 (check-perf): Use it.
16384 (clean): Clean up gdb.perf parallel build subdirs.
16385 * lib/build-piece.exp: New file.
16386 * lib/gdb.exp (make_gdb_parallel_path): New function
16387 (standard_output_file, standard_temp_file): Call it.
16388 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16389 of $GDB_PARALLEL.
16390 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
16391
af061d3e
DE
163922015-08-03 Doug Evans <dje@google.com>
16393
8e1afc81 16394 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
16395 (LOG_FILE_NAME): New global.
16396 (TextReporter.__init__): Initialize self.txt_sum.
16397 (TextReporter.report): Add support for multiple data-points.
16398 Move report to perftest.sum, put raw data in perftest.log.
16399 (TextReporter.start): Open sum and log files.
16400 (TextReporter.end): Close sum and log files.
8e1afc81
DE
16401 * gdb.perf/lib/perftest/testresult.py
16402 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 16403
2c8c5d37
PA
164042015-07-31 Pedro Alves <palves@redhat.com>
16405
16406 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
16407 Use spawn_id_get_pid. Wait for spawn id after eof. Use
16408 kill_wait_spawned_process instead of explicit "kill -9".
16409 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
16410 returning a spawn id instead of a pid. Use spawn_id_get_pid and
16411 kill_wait_spawned_process.
16412 * gdb.base/attach-twice.exp: Likewise.
16413 * gdb.base/attach.exp: Likewise.
16414 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
16415 gdb_test_multiple.
16416 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
16417 returning a spawn id instead of a pid. Use spawn_id_get_pid and
16418 kill_wait_spawned_process.
16419 * gdb.base/valgrind-infcall.exp: Likewise.
16420 * gdb.multi/multi-attach.exp: Likewise.
16421 * gdb.python/py-prompt.exp: Likewise.
16422 * gdb.python/py-sync-interp.exp: Likewise.
16423 * gdb.server/ext-attach.exp: Likewise.
16424 * gdb.threads/attach-into-signal.exp (corefunc): Use
16425 spawn_wait_for_attach, spawn_id_get_pid and
16426 kill_wait_spawned_process.
16427 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
16428 spawn_wait_for_attach returning a spawn id instead of a pid. Use
16429 spawn_id_get_pid and kill_wait_spawned_process.
16430 * gdb.threads/attach-stopped.exp (corefunc): Use
16431 spawn_wait_for_attach, spawn_id_get_pid and
16432 kill_wait_spawned_process.
16433 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
16434 Use spawn_id_get_pid. Wait for spawn id after eof. Use
16435 kill_wait_spawned_process instead of explicit "kill -9".
16436 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
16437 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
16438 (spawn_wait_for_attach): Use spawn instead of exec to spawn
16439 processes. Don't map cygwin/windows pids here. Now returns a
16440 spawn id list.
16441
032a0fca
SL
164422015-07-30 Sandra Loosemore <sandra@codesourcery.com>
16443
16444 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
16445 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
16446 correct patch.
16447
61a934ca
SL
164482015-07-30 Sandra Loosemore <sandra@codesourcery.com>
16449
16450 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
16451
4bc4d428
SL
164522015-07-30 Sandra Loosemore <sandra@codesourcery.com>
16453
16454 Reapply:
16455 2014-05-21 Mark Wielaard <mjw@redhat.com>
16456
16457 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16458
998d452a
PA
164592015-07-30 Pedro Alves <palves@redhat.com>
16460
16461 * linux-low.c (handle_extended_wait): Set the child's last
16462 reported status to TARGET_WAITKIND_STOPPED.
16463
69dde7dc
PA
164642015-07-30 Pedro Alves <palves@redhat.com>
16465
16466 PR threads/18600
16467 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
16468 only shows inferior 1.
16469
4dd63d48
PA
164702015-07-30 Simon Marchi <simon.marchi@ericsson.com>
16471 Pedro Alves <palves@redhat.com>
16472
16473 PR threads/18600
16474 * gdb.threads/fork-plus-threads.c: New file.
16475 * gdb.threads/fork-plus-threads.exp: New file.
16476
d618e4c5
PP
164772015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16478
16479 * gdb.base/batch-preserve-term-settings.exp
16480 (test_terminal_settings_preserved_after_cli_exit): Use
16481 send_quit_command.
16482
1eef6428
PA
164832015-07-29 Pedro Alves <palves@redhat.com>
16484 Don Breazeal <donb@codesourcery.com>
16485
16486 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
16487 output from both inferior_spawn_id and gdb_spawn_id.
16488
7da5b897
SDJ
164892015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
16490
16491 * gdb.threads/attach-into-signal.exp (corefunc): Use
16492 with_test_prefix on nested loops, uniquefying the test messages.
16493
dac804df
SDJ
164942015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
16495
16496 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
16497 commit.
16498
06265e53
PP
164992015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16500
16501 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
16502 New proc.
16503 (test_terminal_settings_preserved_after_sigterm): New test.
16504
18206ca3
PP
165052015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16506
16507 * gdb.base/batch-preserve-term-settings.exp
16508 (test_terminal_settings_preserved_after_cli_exit): New test.
16509
90074d11
PP
165102015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16511
16512 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
16513 manipulation of saved_gdbflags.
16514 (test_terminal_settings_preserved): Remove global declaration of
16515 the unused variable pagination_prompt. Remove manipulation of
16516 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
16517 GDBFLAGS.
16518
eb1a7902
PA
165192015-07-29 Pedro Alves <palves@redhat.com>
16520
16521 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
16522
8b75dd3b
PA
165232015-07-29 Pedro Alves <palves@redhat.com>
16524
16525 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
16526 at the top.
16527
dedad4e3
PA
165282015-07-29 Pedro Alves <palves@redhat.com>
16529
16530 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
16531 (main): Call gdb_unbuffer_output.
16532 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
16533 (main): Call gdb_unbuffer_output.
16534 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
16535 (main): Call gdb_unbuffer_output.
16536 * gdb.base/call-strs.exp: Adjust to step over the
16537 gdb_unbuffer_output call.
16538 * gdb.base/catch-gdb-caused-signals.c: Include
16539 "../lib/unbuffer_output.c".
16540 (main): Call gdb_unbuffer_output.
16541 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
16542 (main): Call gdb_unbuffer_output.
16543 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
16544 (main): Call gdb_unbuffer_output.
16545 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
16546 (main): Call gdb_unbuffer_output.
16547 * gdb.base/shlib-call.exp: Adjust to step over the
16548 gdb_unbuffer_output call.
16549 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
16550 (main): Call gdb_unbuffer_output.
16551 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
16552 (main): Call gdb_unbuffer_output.
16553 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
16554 (main): Rename to ...
16555 (test): ... this.
16556 (main): Reimplement.
16557 * gdb.base/varargs.exp: Run to test instead of to main.
16558 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
16559 (main): Call gdb_unbuffer_output.
16560
58789a91
PA
165612015-07-29 Pedro Alves <palves@redhat.com>
16562
16563 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
16564 factore out from mi_continue_dprintf. For call-style dprintfs,
16565 expect dprintf output out of $inferior_spawn_id.
16566 (mi_continue_dprintf): Use mi_expect_dprintf.
16567 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
16568 (main): Call gdb_unbuffer_output.
16569
e8376742
PA
165702015-07-29 Pedro Alves <palves@redhat.com>
16571
16572 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
16573 (default_mi_gdb_start): Set inferior_spawn_id instead of
16574 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
16575 gdb_spawn_id.
16576 (mi_gdb_test): Always expect inferior output from both
16577 $inferior_spawn_id and $gdb_spawn_id.
16578
08280010
PA
165792015-07-29 Pedro Alves <palves@redhat.com>
16580
16581 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
16582 send_inferior and $inferior_spawn_id.
16583
4d30e432
PA
165842015-07-29 Pedro Alves <palves@redhat.com>
16585
16586 * gdb.gdb/complaints.exp (test_initial_complaints)
16587 (test_serial_complaints, test_short_complaints): Use
16588 gdb_test_stdio.
16589 (test_empty_complaint): Handle $inferior_spawn_id !=
16590 $gdb_spawn_id.
16591
0d30a335
PA
165922015-07-29 Pedro Alves <palves@redhat.com>
16593
16594 * gdb.base/varargs.exp: Use gdb_test_stdio.
16595
39413b29
PA
165962015-07-29 Pedro Alves <palves@redhat.com>
16597
16598 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
16599
7cb000a9
PA
166002015-07-29 Pedro Alves <palves@redhat.com>
16601
16602 * gdb.base/ending-run.exp: Use gdb_test_stdio.
16603
d7b8ac82
PA
166042015-07-29 Pedro Alves <palves@redhat.com>
16605
16606 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
16607 parameter into two new parameters, "inf_result" and "gdb_result".
16608 Expect inferior output and gdb output from $inferior_spawn_id and
16609 $gdb_spawn_id, respectively. Adjust all callers.
16610
789c3a0c
PA
166112015-07-29 Pedro Alves <palves@redhat.com>
16612
16613 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
16614 of gdb_test_sequence.
16615
77e760c3
PA
166162015-07-29 Pedro Alves <palves@redhat.com>
16617
16618 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
16619 (saw_spurious_output): Expect inferior output from
16620 $inferior_spawn_id. Use gdb_test_stdio.
16621
8396d2cd
PA
166222015-07-29 Pedro Alves <palves@redhat.com>
16623
16624 * gdb.base/dprintf.exp: Use standard_testfile. Change
16625 prepare_for_testing call.
16626 (srcfile): Don't set.
16627 (restart): New procedure.
16628 (test_dprintf): New procecure, use to continue over dprintfs.
16629 (test_call, test_agent): New procedures, tests moved here.
16630 Restart gdb and recreate dprintfs. Adjust expected output.
16631
2051d61f
PA
166322015-07-29 Pedro Alves <palves@redhat.com>
16633
16634 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
16635
452397af
PA
166362015-07-29 Pedro Alves <palves@redhat.com>
16637
16638 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
16639
8aed9555
PA
166402015-07-29 Pedro Alves <palves@redhat.com>
16641
16642 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
16643 gdb_test_stdio.
16644
188a61b4
PA
166452015-07-29 Pedro Alves <palves@redhat.com>
16646
16647 * lib/gdb.exp (gdb_test_stdio): New procedure.
16648
12264a45
PA
166492015-07-29 Pedro Alves <palves@redhat.com>
16650
16651 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
16652
23ffc893
PA
166532015-07-29 Pedro Alves <palves@redhat.com>
16654
16655 * gdb.base/call-signal-resume.exp: Remove check for
16656 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
16657 * gdb.base/unwindonsignal.exp: Likewise.
16658 * gdb.base/call-signals.c (gen_signal): Remove printf call.
16659 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
16660
65566918
PA
166612015-07-29 Pedro Alves <palves@redhat.com>
16662
16663 * gdb.base/siginfo-addr.c (pass): New function.
16664 (handler): Call it iff si_addr is correct.
16665 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
16666 Set a breakpoint at "pass" and continue to it.
16667
d60a9221
SDJ
166682015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
16669
16670 * gdb.python/py-objfile.exp: Make some tests have unique names.
16671 * gdb.python/py-pp-registration.exp: Likewise.
16672
bde40b8f
PA
166732015-07-28 Pedro Alves <palves@redhat.com>
16674
16675 * gdb.server/server-exec-info.exp: Issue a "disconnect".
16676
13e1dec8
SM
166772015-07-27 Simon Marchi <simon.marchi@ericsson.com>
16678
16679 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
16680
da33c9a7
SM
166812015-07-27 Simon Marchi <simon.marchi@ericsson.com>
16682
16683 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
16684
077836f7
PP
166852015-07-27 Patrick Palka <patrick@parcs.ath.cx>
16686
16687 * gdb.base/gdb-sigterm-2.exp: New test.
16688
b8cc7b2e
DE
166892015-07-25 Doug Evans <xdje42@gmail.com>
16690
16691 Revert:
16692 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
16693 (workers/%.worker, build-perf): New rule.
16694 (GDB_PERFTEST_MODE): New variable.
16695 (check-perf): Use it.
16696 (clean): Clean up gdb.perf parallel build subdirs.
16697 * lib/build-piece.exp: New file.
16698 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
16699 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
16700 name.
16701 (standard_temp_file): Ditto.
16702 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16703 of $GDB_PARALLEL.
16704
c8bd4544
DE
167052015-07-24 Doug Evans <dje@google.com>
16706
16707 * gdb.perf/lib/perftest/utils.py: New file.
16708 * gdb.perf/gm-hello.cc: New file.
16709 * gdb.perf/gm-pervasive-typedef.cc: New file.
16710 * gdb.perf/gm-pervasive-typedef.h: New file.
16711 * gdb.perf/gm-std.cc: New file.
16712 * gdb.perf/gm-std.h: New file.
16713 * gdb.perf/gm-use-cerr.cc: New file.
16714 * gdb.perf/gm-utils.h: New file.
16715 * gdb.perf/gmonster-null-lookup.py: New file.
16716 * gdb.perf/gmonster-pervasive-typedef.py: New file.
16717 * gdb.perf/gmonster-print-cerr.py: New file.
16718 * gdb.perf/gmonster-ptype-string.py: New file.
16719 * gdb.perf/gmonster-runto-main.py: New file.
16720 * gdb.perf/gmonster-select-file.py: New file.
16721 * gdb.perf/gmonster1-null-lookup.exp: New file.
16722 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
16723 * gdb.perf/gmonster1-print-cerr.exp: New file.
16724 * gdb.perf/gmonster1-ptype-string.exp: New file.
16725 * gdb.perf/gmonster1-runto-main.exp: New file.
16726 * gdb.perf/gmonster1-select-file.exp: New file.
16727 * gdb.perf/gmonster1.cc: New file.
16728 * gdb.perf/gmonster1.exp: New file.
16729 * gdb.perf/gmonster2-null-lookup.exp: New file.
16730 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
16731 * gdb.perf/gmonster2-print-cerr.exp: New file.
16732 * gdb.perf/gmonster2-ptype-string.exp: New file.
16733 * gdb.perf/gmonster2-runto-main.exp: New file.
16734 * gdb.perf/gmonster2-select-file.exp: New file.
16735 * gdb.perf/gmonster2.cc: New file.
16736 * gdb.perf/gmonster2.exp: New file.
16737
6eab34f3
DE
167382015-07-24 Doug Evans <dje@google.com>
16739
16740 * gdb.perf/README: New file.
16741 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
16742 * lib/gen-perf-test.exp: New file.
16743
63738bfd
DE
167442015-07-24 Doug Evans <dje@google.com>
16745
16746 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
16747 (PerfTest::startup): New function.
16748 (PerfTest::run): Return result of calling body.
16749 (PerfTest::assemble): Rewrite.
16750 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
16751 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
16752 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
16753 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
16754 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
16755
7b606f95
DE
167562015-07-24 Doug Evans <dje@google.com>
16757
16758 * lib/gdb.exp (clean_restart): Make executable optional.
16759
a97b16b8
DE
167602015-07-24 Doug Evans <dje@google.com>
16761
16762 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
16763 compiler_info references.
16764 * gdb.cp/temargs.exp: Ditto.
16765 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
16766 (get_compiler_info): Early exit if already computed. Set compiler_info
16767 to "unknown" if there was a problem.
16768 (test_compiler_info): Add function comment. Call get_compiler_info.
16769
35baa57f
DE
167702015-07-24 Doug Evans <dje@google.com>
16771
16772 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
16773 (workers/%.worker, build-perf): New rule.
16774 (GDB_PERFTEST_MODE): New variable.
16775 (check-perf): Use it.
16776 (clean): Clean up gdb.perf parallel build subdirs.
16777 * lib/build-piece.exp: New file.
16778 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
16779 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
16780 name.
16781 (standard_temp_file): Ditto.
16782 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16783 of $GDB_PARALLEL.
16784
6ebea266
DE
167852015-07-24 Doug Evans <dje@google.com>
16786
16787 * lib/future.exp (gdb_default_target_compile): New option
16788 "early_flags".
16789 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
16790 --as-needed.
16791
1e76a7e9
SDJ
167922015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
16793
16794 * gdb.base/catch-syscall.exp: Call gdb_exit before
16795 gdb_skip_xml_test.
16796
5068630a
PA
167972015-07-24 Pedro Alves <palves@redhat.com>
16798
16799 * gdb.python/py-events.exp: Accept output between the stop event
16800 and the prompt.
16801 * gdb.python/py-evsignal.exp: Likewise.
16802 * gdb.python/py-evthreads.exp: Likewise.
16803
77598427
PA
168042015-07-24 Pedro Alves <palves@redhat.com>
16805
16806 PR gdb/18717
16807 * gdb.threads/non-ldr-exit.c: New file.
16808 * gdb.threads/non-ldr-exit.exp: New file.
16809
11e6c98f
YQ
168102015-07-24 Yao Qi <yao.qi@linaro.org>
16811
16812 * gdb.server/ext-wrapper.exp: Test --wrapper option when
16813 restarting process.
16814
51aee833
YQ
168152015-07-24 Yao Qi <yao.qi@linaro.org>
16816
16817 * gdb.server/ext-restart.exp: New file.
16818
8cfe207c
YQ
168192015-07-24 Yao Qi <yao.qi@linaro.org>
16820
16821 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
16822 argument options.
16823 * gdb.server/ext-wrapper.exp: New file.
16824
cc12ce38
DE
168252015-07-23 Doug Evans <dje@google.com>
16826
16827 * gdb.dwarf2/dw2-dummy-cu.S: New file.
16828 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
16829
d0d84780
PMR
168302015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
16831
16832 * gdb.ada/var_arr_typedef.exp: New testcase.
16833 * gdb.ada/var_arr_typedef/pack.adb: New file.
16834 * gdb.ada/var_arr_typedef/pack.ads: New file.
16835 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
16836
8b558f79
JB
168372015-07-20 Joel Brobecker <brobecker@adacore.com>
16838
16839 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
16840
775a3298
JK
168412015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16842
16843 * gdb.arch/i386-biarch-core.exp: Replace istarget
16844 by "complete set gnutarget". Remove expectation for the "core-file"
16845 command.
16846
db1ff28b
JK
168472015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16848
16849 Revert the previous commit:
16850 Tests for validate symbol file using build-id.
16851
0a94970d
JK
168522015-07-15 Aleksandar Ristovski <aristovski@qnx.com
16853
16854 Tests for validate symbol file using build-id.
16855 * gdb.base/solib-mismatch-lib.c: New file.
16856 * gdb.base/solib-mismatch-libmod.c: New file.
16857 * gdb.base/solib-mismatch.c: New file.
16858 * gdb.base/solib-mismatch.exp: New file.
16859
03346981
SL
168602015-07-15 Sandra Loosemore <sandra@codesourcery.com>
16861
16862 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
16863 nios2-*-linux*.
16864 * gdb.base/sigbpt.exp (stepi_out): Likewise.
16865 * gdb.base/siginfo.exp: Likewise.
16866 * gdb.base/sigstep.exp (advance, advancei): Likewise.
16867
42422cc7
PL
168682015-07-15 Pierre Langlois <pierre.langlois@arm.com>
16869
16870 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
16871 Move it to ...
16872 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
16873 ... here.
16874 * gdb.trace/range-stepping.exp: Check that the target supports
16875 range stepping.
16876
cfa68bae
JK
168772015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16878
16879 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
16880
8ffdba26
PA
168812015-07-14 Pedro Alves <palves@redhat.com>
16882
16883 * gdb.base/killed-outside.exp: New file.
16884 * gdb.base/killed-outside.c: New file.
16885
218a5a11
JK
168862015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16887
16888 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
16889 (n at main): New.
16890 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
16891
e03ed3c6
AA
168922015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
16893
16894 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
16895 infcall tests instead of setting up for KFAIL.
16896
485668e5
MM
168972015-07-10 Markus Metzger <markus.t.metzger@intel.com>
16898
16899 * gdb.btrace/record_goto-step.exp: New.
16900
08464196
JK
169012015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16902
16903 PR compile/18484
16904 * gdb.compile/compile.c (struct struct_type): Add volatile to
16905 selffield's type.
16906 * gdb.compile/compile.exp
16907 (compile code struct_object.selffield = &struct_object): Skip further
16908 struct_object tests if this one xfails.
16909
bcf5c1d9
RC
169102015-07-08 Robert O'Callahan <robert@ocallahan.org>
16911
16912 PR exp/18617
16913 * gdb.trace/ax.exp: Add test.
16914
4931af25
YQ
169152015-07-07 Yao Qi <yao.qi@linaro.org>
16916
16917 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
16918 instead of istarget "aarch64*-*-*".
16919 * gdb.arch/aarch64-fp.exp: Likewise.
16920 * gdb.base/float.exp: Likewise.
16921 * gdb.reverse/aarch64.exp: Likewise.
16922 * lib/gdb.exp (is_aarch64_target): New proc.
16923
9fcf688e
YQ
169242015-07-07 Yao Qi <yao.qi@linaro.org>
16925
16926 * lib/gdb.exp (is_aarch32_target): New proc.
16927 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
16928 instead of "istarget "arm*-*-*"".
16929 * gdb.arch/arm-disp-step.exp: Likewise.
16930 * gdb.arch/thumb-bx-pc.exp: Likewise.
16931 * gdb.arch/thumb-prologue.exp: Likewise.
16932 * gdb.arch/thumb-singlestep.exp: Likewise.
16933 * gdb.base/disp-step-syscall.exp: Likewise.
16934 * gdb.base/float.exp: Likewise.
16935
fbd8d50d
YQ
169362015-07-07 Yao Qi <yao.qi@linaro.org>
16937
16938 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
16939 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
16940
71be1fdc
YQ
169412015-07-07 Yao Qi <yao.qi@linaro.org>
16942
16943 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
16944 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
16945 if it exists.
16946 * gdb.multi/multi-arch.exp: Likewise.
16947
3e221d36
SM
169482015-07-07 Simon Marchi <simon.marchi@ericsson.com>
16949
16950 * gdb.python/py-lazy-string.exp: Add missing parentheses to
16951 print.
16952
d441430b
YQ
169532015-07-07 Yao Qi <yao.qi@linaro.org>
16954
16955 * gdb.arch/thumb-singlestep.exp: Do one more single step.
16956
06f810bd
MG
169572015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
16958
16959 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
16960 '[' and ']' characters.
16961
5e61e7c0
IB
169622015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
16963
16964 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
16965
28bf096c
PA
169662015-06-29 Pedro Alves <palves@redhat.com>
16967
16968 PR threads/18127
16969 * gdb.threads/hand-call-new-thread.c: New file.
16970 * gdb.threads/hand-call-new-thread.c: New file.
16971
ee93cd5e
KS
169722015-06-26 Keith Seitz <keiths@redhat.com>
16973 Doug Evans <dje@google.com>
16974
16975 PR 16253
16976 * gdb.cp/var-tag-2.cc: New file.
16977 * gdb.cp/var-tag-3.cc: New file.
16978 * gdb.cp/var-tag-4.cc: New file.
16979 * gdb.cp/var-tag.cc: New file.
16980 * gdb.cp/var-tag.exp: New file.
16981
fc637f04
PP
169822015-06-26 Patrick Palka <patrick@parcs.ath.cx>
16983
16984 * gdb.base/history-duplicates.exp: New test.
16985
2e52ae68
PP
169862015-06-26 Patrick Palka <patrick@parcs.ath.cx>
16987
16988 * gdb.base/completion.exp: Test the completion of the "focus"
16989 command.
16990
6e22494e
JK
169912015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16992
16993 * gdb.arch/amd64-prologue-skip.S: New file.
16994 * gdb.arch/amd64-prologue-skip.exp: New file.
16995
bf7b9cd9
SM
169962015-06-25 Simon Marchi <simon.marchi@ericsson.com>
16997
16998 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
16999 is_address_zero_readable check.
17000
201e8dfd
PB
170012015-06-24 Peter Bergner <bergner@vnet.ibm.com>
17002
17003 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
17004 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
17005
5cd867b4
YQ
170062015-06-24 Yao Qi <yao.qi@linaro.org>
17007
17008 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
17009 linux targets.
17010
4d7be007
YQ
170112015-06-24 Yao Qi <yao.qi@linaro.org>
17012
17013 * lib/gdb.exp (supports_get_siginfo_type): New proc.
17014 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
17015 * gdb.base/siginfo-thread.exp: Likewise.
17016
07fcd301
YQ
170172015-06-22 Yao Qi <yao.qi@linaro.org>
17018
17019 * boards/remote-gdbserver-on-localhost.exp: Add comments.
17020
52042a00
YQ
170212015-06-22 Yao Qi <yao.qi@linaro.org>
17022
17023 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
17024 aarch64*-*-*.
17025 (skip_hw_watchpoint_tests): Likewise.
17026
74bd41ce
PP
170272015-06-18 Patrick Palka <patrick@parcs.ath.cx>
17028
17029 * gdb.base/gdbinit-history.exp: Test the interaction between
17030 setting GDBHISTSIZE and setting the history size via .gdbinit.
17031
bc460514
PP
170322015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17033
17034 PR gdb/16999
17035 * gdb.base/gdbhistsize-history.exp: New test.
17036
b58c513b
PP
170372015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17038
17039 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
17040 with GDBHISTSIZE.
17041 * gdb.base/readline.exp: Likewise.
17042
92046791
YQ
170432015-06-17 Yao Qi <yao.qi@linaro.org>
17044
17045 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
17046 line.
17047
2093d2d3
PP
170482015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17049
17050 * gdb.base/gdbinit-history.exp: Add test case to check that
17051 an unlimited history file does not get truncated on exit.
17052
e6c693af
AA
170532015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17054
17055 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
17056 (VECTOR): New macro. Use it...
17057 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
17058 ...for these typedefs.
17059 (int8, char1, int1, double1): New typedefs.
17060 (struct just_int2, struct two_int2): New structures.
17061 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
17062 (add_structvecs, add_singlevecs): New functions.
17063 (main): Call add_some_intvecs twice.
17064 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
17065 the compile and exit upon failure. Try compiling for the "native"
17066 architecture. Test inferior function calls with vector arguments
17067 and vector return value handling with "finish" and "return".
17068
c74f7d1c
JT
170692015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
17070
17071 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
17072 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
17073 PE file.
17074 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
17075
98aa42ee
AT
170762015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
17077
17078 PR breakpoints/16465
17079 * gdb.mi/mi-dprintf-pending.c: New file.
17080 * gdb.mi/mi-dprintf-pending.exp: New test.
17081 * gdb.mi/mi-dprintf-pendshr.c: New file.
17082
7d73c23c 170832015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 17084 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
17085
17086 * gdb.arch/i386-mpx-map.c: New file.
17087 * gdb.arch/i386-mpx-map.exp: New File.
17088
170892015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17090
17091 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
17092 * gdb.arch/i386-mpx.exp: Indentation fixed.
17093
170942015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17095
17096 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
17097 function and improved indentation.
17098 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
17099 gdb_test_multiple. Added additional tests to skip the test.
17100
171012015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17102
17103 * gdb.arch/i386-avx512.c: Change path in include file.
17104 * gdb.arch/i386-avx512.exp: Change include dir path
17105 compilation flag.
17106 * gdb.arch/i386-mpx.c: Change path in include file.
17107 * gdb.arch/i386-mpx.exp: Change include dir path compilation
17108 flag.
17109
d5eba19a
JK
171102015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
17111
17112 * gdb.compile/compile-print.exp (compile print *vararray@3)
17113 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
17114
7f361056
JK
171152015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17116
17117 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
17118 (do not keep jit in memory): ... this.
17119 (expect 5): Change it to ...
17120 (expect no 5): ... this.
17121
3b462ec2
SM
171222015-06-02 Simon Marchi <simon.marchi@ericsson.com>
17123
17124 PR gdb/15564
17125 * gdb.mi/mi-detach.exp: New file.
17126
e0619de6
JK
171272015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17128
17129 PR symtab/18392
17130 * gdb.arch/amd64-tailcall-self.S: New file.
17131 * gdb.arch/amd64-tailcall-self.c: New file.
17132 * gdb.arch/amd64-tailcall-self.exp: New file.
17133
e970cb34
DB
171342015-05-28 Don Breazeal <donb@codesourcery.com>
17135
17136 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
17137 tests for remote targets by checking is_target_gdbserver.
17138
b2e2f908
DE
171392015-05-27 Doug Evans <dje@google.com>
17140
17141 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
17142 * gdb.dwarf2/opaque-type-lookup.c: New file.
17143 * gdb.dwarf2/opaque-type-lookup.exp: New file.
17144
82c7be31
DE
171452015-05-26 Doug Evans <dje@google.com>
17146
17147 * gdb.cp/iostream.cc: New file.
17148 * gdb.cp/iostream.exp: New file.
17149
b4f54984
DE
171502015-05-26 Doug Evans <dje@google.com>
17151
17152 * gdb.dwarf2/dw2-op-call.exp: Update.
17153 * gdb.dwarf2/dw4-sig-types.exp: Update.
17154 * gdb.dwarf2/implptr.exp: Update.
17155 * gdb.mi/mi-cmd-param-changed.exp: Update.
17156
4ea6efe9
DE
171572015-05-26 Doug Evans <dje@google.com>
17158
17159 * gdb.python/py-lazy-string.c: New file.
17160 * gdb.python/py-lazy-string.exp: New file.
17161 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
17162 (main): Update. Add estring3.
17163 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
17164 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
17165
f6bb7db3
YQ
171662015-05-26 Omair Javaid <omair.javaid@linaro.org>
17167 Yao Qi <yao.qi@linaro.org>
17168
17169 * gdb.reverse/aarch64.c: New.
17170 * gdb.reverse/aarch64.exp: New.
17171
a81bfbd0
OJ
171722015-05-26 Omair Javaid <omair.javaid@linaro.org>
17173
25d49b86
PA
17174 * lib/gdb.exp (supports_process_record): Return true for
17175 aarch64*-linux*.
a81bfbd0
OJ
17176 (supports_reverse): Likewise.
17177
158bf1b4
PP
171782015-05-22 Patrick Palka <patrick@parcs.ath.cx>
17179
17180 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17181 Use with_test_prefix.
17182
a0145030
AB
171832015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
17184
17185 * gdb.base/completion.exp: Add test for completion of layout
17186 names.
17187
ebe3b578
AB
171882015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
17189
17190 * lib/gdb.exp (skip_tui_tests): New proc.
17191 * gdb.base/tui-layout.exp: Check skip_tui_tests.
17192
84204ed7
PA
171932015-05-19 Pedro Alves <palves@redhat.com>
17194
17195 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17196 Save the whole env array instead of just HOME. Unset HISTSIZE in
17197 the environment while testing. Restore whole environment
17198 afterwards.
17199
37442ce1
DE
172002015-05-16 Doug Evans <xdje42@gmail.com>
17201
17202 * gdb.guile/scm-ports.c: New file.
17203 * gdb.guile/scm-ports.exp: Add memory port tests.
17204
36de76f9
JK
172052015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17206
17207 * gdb.compile/compile-print.c: New file.
17208 * gdb.compile/compile-print.exp: New file.
17209
3a9558c4
JK
172102015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17211
17212 * gdb.compile/compile-ops.exp: Cast param to void.
17213 * gdb.compile/compile.exp: Complete type for _gdb_expr.
17214 (compile code struct_object.selffield = &struct_object): Add xfail.
17215
aa715135
JG
172162015-05-15 Joel Brobecker <brobecker@adacore.com>
17217
17218 * gdb.ada/arr_enum_with_gap: New testcase.
17219
931e5bc3
JG
172202015-05-15 Joel Brobecker <brobecker@adacore.com>
17221
17222 * gdb.ada/byte_packed_arr: New testcase.
17223
9cd4d857
JB
172242015-05-15 Joel Brobecker <brobecker@adacore.com>
17225
17226 * gdb.ada/pckd_neg: New testcase.
17227
ebfd00d2
PP
172282015-05-13 Patrick Palka <patrick@parcs.ath.cx>
17229
17230 PR gdb/17820
17231 * gdb.base/gdbinit-history.exp: New test.
17232 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
17233 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
17234
4c082a81
SC
172352015-05-09 Siva Chandra Reddy <sivachandra@google.com>
17236
17237 * gdb.python/py-xmethods.cc: Enhance test case.
17238 * gdb.python/py-xmethods.exp: New tests.
17239 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
17240 function.
17241 (B_indexoper): Likewise.
17242 (global_dm_list) : Add new xmethod worker functions.
17243
f7797074
SDJ
172442015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
17245
17246 * gdb.base/coredump-filter.exp: Correctly unset
17247 "coredump_var_addr" array.
17248
a4674e4e
PA
172492015-05-08 Pedro Alves <palves@redhat.com>
17250
17251 * gdb.server/non-existing-program.exp: Unset spawn_id.
17252
df2eb078
SC
172532015-05-08 Siva Chandra Reddy <sivachandra@google.com>
17254
17255 PR python/18291
17256 * gdb.python/py-xmethods.exp: Add tests.
17257
422349a3
YQ
172582015-05-08 Yao Qi <yao.qi@linaro.org>
17259
17260 PR gdb/18208
17261 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
17262 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
17263 function set_coredump_filter, and remove remote_exec call.
17264 Remove argument ipid. Callers update.
17265 (top level): Don't get inferior's PID.
17266
63fc80ce
AA
172672015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
17268
17269 * gdb.base/watch_thread_num.exp: Skip test on targets without
17270 access watchpoints.
17271
80ad801e
PA
172722015-05-06 Pedro Alves <palves@redhat.com>
17273
17274 PR server/18081
17275 * gdb.server/non-existing-program.exp: New file.
17276
0fa7fe50
JB
172772015-05-05 Joel Brobecker <brobecker@adacore.com>
17278
17279 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
17280
3ea89b92
PMR
172812015-05-05 Joel Brobecker <brobecker@adacore.com>
17282
17283 * gdb.ada/out_of_line_in_inlined: New testcase.
17284
87b8eff0
JB
172852015-05-05 Joel Brobecker <brobecker@adacore.com>
17286
17287 * gdb.ada/var_rec_arr: New testcase.
17288
5fccc635
YQ
172892015-04-30 Yao Qi <yao.qi@linaro.org>
17290
17291 * gdb.base/break-idempotent.exp: If
17292 skip_hw_watchpoint_multi_tests returns true, skip the tests
17293 on "rwatch" and "awatch".
17294
42d38f42
YQ
172952015-04-30 Yao Qi <yao.qi@linaro.org>
17296
17297 * gdb.base/relativedebug.exp: Invoke gdb command
17298 "info sharedlibrary", and if libc.so doesn't have debug info,
17299 skip the test.
17300
2ce1cdbf
DE
173012015-04-29 Doug Evans <dje@google.com>
17302
17303 * gdb.python/py-xmethods.exp: Add ptype tests.
17304 * gdb.python/py-xmethods.py (E_method_char_worker): Add
17305 get_result_type method.
17306
f24a38c5
LM
173072015-04-29 Luis Machado <lgustavo@codesourcery.com>
17308
17309 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
17310 the target does not support hardware watchpoints.
17311
ecbf2b3c
LM
173122015-04-29 Luis Machado <lgustavo@codesourcery.com>
17313
17314 * gdb.base/break-always.exp: Abort testing if writing to memory
17315 causes an error.
17316
34f5f757
DE
173172015-04-28 Doug Evans <dje@google.com>
17318
17319 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
17320 * gdb.python/py-pp-registration.exp: ... here. New file.
17321 * gdb.python/py-pp-registration.c: New file.
17322 * gdb.python/py-pp-registration.py: New file.
17323
69b4374a
DE
173242015-04-28 Doug Evans <dje@google.com>
17325
17326 * gdb.python/py-bad-printers.c: New file.
17327 * gdb.python/py-bad-printers.py: New file.
17328 * gdb.python/py-bad-printers.exp: New file.
17329
59fb7612
SS
173302015-04-28 Sasha Smundak <asmundak@google.com>
17331
17332 * gdb.python/py-type.exp: New test.
17333
2631b16a
AW
173342015-04-28 Andy Wingo <wingo@igalia.com>
17335
17336 * gdb.python/py-parameter.exp:
17337 * gdb.guile/scm-parameter.exp: Escape the path that we are
17338 matching against, as it might contain characters that are special
17339 to regular expressions.
17340
460efde1
JB
173412015-04-27 Joel Brobecker <brobecker@adacore.com>
17342
17343 * gdb.ada/rec_comp: New testcase.
17344
2d369d8e
SDJ
173452015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
17346
17347 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
17348 before using it.
17349
cf75d6c3
AB
173502015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
17351
17352 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
17353 new tests for verilog output.
17354
8dbe7ca5
YQ
173552015-04-24 Yao Qi <yao.qi@linaro.org>
17356
17357 * boards/remote-gdbserver-on-localhost.exp: New file.
17358
4ef9fb2f
PA
173592015-04-23 Pedro Alves <palves@redhat.com>
17360
17361 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
17362 $inferior_spawn_id instead of $inferior_spawn_id directly. On
17363 "end of file", remove $inferior_spawn_id from the indirect list.
17364
0a803169
PA
173652015-04-23 Pedro Alves <palves@redhat.com>
17366
17367 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
17368
749ef8f8
PA
173692015-04-23 Pedro Alves <palves@redhat.com>
17370
17371 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
17372 on $any_spawn_id instead of only on $gdb_spawn_id.
17373
8aae4344
PM
173742015-04-21 Pierre Muller <muller@sourceware.org>
17375
17376 PR pascal/17815
17377 * lib/pascal.exp (gpc_compile): Add new option "class".
17378 (fpc_compile): Likewise.
17379 * gdb.pascal/case-insensitive-symbols.pas: New file.
17380 * gdb.pascal/case-insensitive-symbols.exp: New file.
17381
1586c8fb
GB
173822015-04-20 Gary Benson <gbenson@redhat.com>
17383
17384 * gdb.base/attach.exp: Fix three extended remote failures.
17385
1b6e6f5c
GB
173862015-04-17 Gary Benson <gbenson@redhat.com>
17387
17388 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
17389 the main executable over the remote protocol.
17390
e797481d
PA
173912015-04-16 Pedro Alves <palves@redhat.com>
17392
17393 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
17394 a new gdbserver if gdbserver_reconnect_p is set.
17395
1ca99c42
PA
173962015-04-16 Pedro Alves <palves@redhat.com>
17397
17398 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
17399 is set, don't exit gdbserver.
17400
af9fd6f8
AA
174012015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
17402
17403 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
17404 appropriate .insn, such that an older assembler can be used.
17405 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
17406 the z/Architecture instruction set on 31-bit targets as well.
17407
04ff1e61
AA
174082015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
17409
17410 * gdb.go/handcall.exp: Remove all logic related to the first
17411 breakpoint and rely on go_runto_main instead.
17412 * gdb.go/strings.exp: Likewise.
17413 * gdb.go/unsafe.exp: Likewise.
17414 * gdb.go/hello.exp: Likewise. Also rename the remaining
17415 breakpoint marker to "breakpoint 1".
17416 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
17417 * gdb.go/strings.go: Likewise.
17418 * gdb.go/unsafe.go: Likewise.
17419 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
17420 "set breakpoint 2 here" and rename the remaining breakpoint marker
17421 to "breakpoint 1".
17422
40d2f8d6
SM
174232015-04-15 Simon Marchi <simon.marchi@ericsson.com>
17424
17425 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
17426 if itertools.imap is not present.
17427 * gdb.python/py-objfile.exp: Add parentheses.
17428 * gdb.python/py-type.exp: Same.
17429 * gdb.python/py-unwind-maint.py: Same.
17430
8cbc97c6
YQ
174312015-04-15 Yao Qi <yao.qi@linaro.org>
17432
17433 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
17434 of ":$ptr_size" and set its form explicitly.
17435
45fd756c
YQ
174362015-04-15 Pedro Alves <palves@redhat.com>
17437 Yao Qi <yao.qi@linaro.org>
17438
17439 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
17440 timeout by factor of 4.
17441 (test_regular_watch): Likewise.
17442 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
17443 * gdb.reverse/sigall-reverse.exp: Likewise.
17444 * gdb.reverse/until-precsave.exp: Likewise.
17445 * lib/gdb.exp (with_timeout_factor): New proc.
17446 (gdb_expect): Move some code to ...
17447 (get_largest_timeout): ... here. New procedure.
17448
9e811bc3
LM
174492015-04-14 Luis Machado <lgustavo@codesourcery.com>
17450
17451 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
17452
0ff6fcb2
LM
174532015-04-13 Luis Machado <lgustavo@codesourcery.com>
17454
17455 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
17456 to write to the .text section.
17457
7578d5f7
LM
174582015-04-13 Luis Machado <lgustavo@codesourcery.com>
17459
17460 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
17461 Handle the case of targets that do not provide PID information.
17462
2efe15c4
YQ
174632015-04-13 Yao Qi <yao.qi@linaro.org>
17464
17465 * lib/gdbserver-support.exp (gdb_exit): Catch exception
17466 and use expect instead of gdb_expect.
17467
8cd8f2f8
SDJ
174682015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
17469
17470 * gdb.base/coredump-filter.exp: Rename variable "addr" to
17471 "coredump_var_addr" to avoid naming conflict with other testcases.
17472
9ee41772
PA
174732015-04-10 Pedro Alves <palves@redhat.com>
17474
17475 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
17476 gdb_test_sequence and gdb_assert.
17477
07473109
PA
174782015-04-10 Pedro Alves <palves@redhat.com>
17479
17480 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
17481 test messages that don't include the breakpoint address.
17482
de3db44c
YQ
174832015-04-10 Yao Qi <yao.qi@linaro.org>
17484
17485 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
17486 false for some offset and width combinations which aren't
17487 supported by linux kernel.
17488
c79d856c
PA
174892015-04-10 Pedro Alves <palves@redhat.com>
17490
17491 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
17492 procedure, factored out from ...
17493 (top level): ... here. Add "set displaced-stepping" testing axis.
17494 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
17495 parameter "displaced". Use it.
17496 (top level): Use foreach and add "set displaced-stepping" testing
17497 axis.
17498
ebc90b50
PA
174992015-04-10 Pedro Alves <palves@redhat.com>
17500
17501 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
17502 Remove comment.
17503 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
17504 both the address of the instruction that triggers the watchpoint
17505 and the address of the instruction immediately after, and use
17506 those addresses for the test. Fix comment.
17507
8f572e5c
PA
175082015-04-10 Pedro Alves <palves@redhat.com>
17509
17510 * gdb.base/sigstep.exp (breakpoint_to_handler)
17511 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
17512 Test "backtrace" in handler.
17513 (breakpoint_over_handler): New parameter 'displaced'. Use it.
17514 (top level): Add new "displaced" test axis to
17515 breakpoint_to_handler, breakpoint_to_handler_entry and
17516 breakpoint_over_handler.
17517
8d707a12
PA
175182015-04-10 Pedro Alves <palves@redhat.com>
17519
17520 PR gdb/18216
17521 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
17522
ef713951
YQ
175232015-04-10 Yao Qi <yao.qi@linaro.org>
17524
17525 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
17526 (test_add_rn_pc): New function.
17527 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
17528 (top level): Invoke test_add_rn_pc.
17529
906d60cf
PA
175302015-04-10 Pedro Alves <palves@redhat.com>
17531
17532 PR gdb/13858
17533 * gdb.base/step-over-no-symbols.exp: New file.
17534
f2983cc3
AW
175352015-04-09 Andy Wingo <wingo@igalia.com>
17536
17537 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
17538 after the Python tests.
17539
6d62641c
SDJ
175402015-04-08 Keith Seitz <keiths@redhat.com>
17541
17542 PR python/16699
17543 * gdb.python/py-completion.exp: New tests for completion.
17544 * gdb.python/py-completion.py (CompleteLimit1): New class.
17545 (CompleteLimit2): Likewise.
17546 (CompleteLimit3): Likewise.
17547 (CompleteLimit4): Likewise.
17548 (CompleteLimit5): Likewise.
17549 (CompleteLimit6): Likewise.
17550 (CompleteLimit7): Likewise.
17551
f3770638
PA
175522015-04-08 Pedro Alves <palves@redhat.com>
17553
17554 PR gdb/18214
17555 PR gdb/18216
17556 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
17557 function.
17558 (main): Install it as SIGUSR1 handler.
17559 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
17560 parameter. Always use "setup" as prefix. Toggle "set
17561 displaced-stepping" off/on depending on global. Don't switch to
17562 thread 1 here.
17563 (top level): Add displaced stepping "off/on" test axis. Update
17564 "setup" calls. Wrap each subtest with with_test_prefix. Test
17565 continuing with a queued signal in each thread.
17566
4496bed7
PA
175672015-04-08 Pedro Alves <palves@redhat.com>
17568
17569 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
17570 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
17571 gdb_breakpoint instead of gdb_test that doesn't expect anything.
17572 Return early if running to main fails.
17573 * gdb.trace/while-stepping.exp: Likewise.
17574
b97fde92
PA
175752015-04-07 Pedro Alves <palves@redhat.com>
17576
17577 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
17578 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
17579 interact with inferior program.
17580
f71c18e7
PA
175812015-04-07 Pedro Alves <palves@redhat.com>
17582
17583 * lib/gdb.exp (inferior_spawn_id): New global.
17584 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
17585 spawn id after processing the user code.
17586 (default_gdb_start): Set inferior_spawn_id.
17587 (send_inferior): New procedure.
17588 * lib/gdbserver-support.exp (gdbserver_start): Set
17589 inferior_spawn_id.
17590 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
17591
6423214f
PA
175922015-04-07 Pedro Alves <palves@redhat.com>
17593
17594 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
17595 * lib/gdbserver-support.exp (gdbserver_start): Make
17596 $server_spawn_id global.
17597 (gdbserver_start): Don't wait for gdbserver's spawn id with
17598 expect_background.
17599 (close_gdbserver): New procedure.
17600 (gdb_exit): Rename the default version and reimplement.
17601
71c0ee8c
PA
176022015-04-07 Pedro Alves <palves@redhat.com>
17603
72f4393d 17604 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
17605 append the substituted item, not the original item.
17606
203bc29b
PA
176072015-04-07 Pedro Alves <palves@redhat.com>
17608
17609 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
17610 gdb_expect.
17611
508a3ddf
PA
176122015-04-07 Pedro Alves <palves@redhat.com>
17613
17614 * gdb.base/interrupt.exp: Don't handle the case of the inferior
17615 output appearing once only.
17616
9f6dbe2b
PA
176172015-04-07 Pedro Alves <palves@redhat.com>
17618
17619 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
17620 that doesn't expect anything. Return early if running to main
17621 fails.
17622
337532fa
YQ
176232015-04-07 Yao Qi <yao.qi@linaro.org>
17624
17625 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
17626 (child_function): Call alarm.
17627 (main): Move call to alarm into the loop.
17628 * gdb.threads/non-stop-fair-events.exp: Build program with
17629 -DTIMEOUT=$timeout.
17630
01b622d4
DE
176312015-04-06 Doug Evans <xdje42@gmail.com>
17632
17633 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
17634 Fix dest parameter to board_info.
17635 (fpc_compile): Ditto.
17636 (gdb_compile_pascal): Rename dest arg to destfile.
17637
961f4160
PMR
176382015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
17639
17640 * gdb.ada/funcall_ref.exp: New file.
17641 * gdb.ada/funcall_ref/foo.adb: New file.
17642
cafda597
YQ
176432015-04-02 Yao Qi <yao.qi@linaro.org>
17644
17645 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
17646 is remote.
17647
fed040c6
GB
176482015-04-02 Gary Benson <gbenson@redhat.com>
17649
17650 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
17651
d11916aa
SS
176522015-04-01 Sasha Smundak <asmundak@google.com>
17653
17654 * gdb.python/py-unwind-maint.c: New file.
17655 * gdb.python/py-unwind-maint.exp: New test.
17656 * gdb.python/py-unwind-maint.py: New file.
17657 * gdb.python/py-unwind.c: New file.
17658 * gdb.python/py-unwind.exp: New test.
17659 * gdb.python/py-unwind.py: New test.
17660
a1471180
PA
176612015-04-01 Pedro Alves <palves@redhat.com>
17662
17663 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
17664 to fail instead of non-existent $test.
17665
0bbeccb1
PA
176662015-04-01 Pedro Alves <palves@redhat.com>
17667
17668 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
17669 GDBFLAGS if not empty.
17670
3c724c8c
PMR
176712015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
17672
17673 * gdb.ada/complete.exp: Remove "multi_line".
17674 * gdb.ada/info_exc.exp: Remove "multi_line".
17675 * gdb.ada/packed_tagged.exp: Remove "multi_line".
17676 * gdb.ada/ptype_field.exp: Remove "multi_line".
17677 * gdb.ada/sym_print_name.exp: Remove "multi_line".
17678 * gdb.ada/tagged.exp: Remove "multi_line".
17679 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
17680 [multi_line ...]
17681 * gdb.btrace/delta.exp: Likewise.
17682 * gdb.btrace/exception.exp: Likewise.
17683 * gdb.btrace/function_call_history.exp: Likewise.
17684 * gdb.btrace/instruction_history.exp: Likewise.
17685 * gdb.btrace/nohist.exp: Likewise.
17686 * gdb.btrace/record_goto.exp: Likewise.
17687 * gdb.btrace/segv.exp: Likewise.
17688 * gdb.btrace/stepi.exp: Likewise.
17689 * gdb.btrace/tailcall.exp: Likewise.
17690 * gdb.btrace/unknown_functions.exp: Likewise.
17691 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
17692 * lib/gdb.exp: Add the "multi_line" helper.
17693
4eec2deb
PA
176942015-04-01 Pedro Alves <palves@redhat.com>
17695
17696 * gdb.threads/tid-reuse.c: New file.
17697 * gdb.threads/tid-reuse.exp: New file.
17698
df8411da
SDJ
176992015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
17700
17701 PR corefiles/16092
17702 * gdb.base/coredump-filter.c: New file.
17703 * gdb.base/coredump-filter.exp: Likewise.
17704
6ef37366
PM
177052015-03-27 Petr Machata <pmachata@redhat.com>
17706
17707 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
17708 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
17709 (Dwarf::assemble): Initialize them.
17710 (Dwarf::lines): New function.
17711
7ec911b0
JT
177122015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
17713
17714 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
17715 SYMBOL_PREFIX for x86_64-*-cygwin.
17716
ff908ebf
AW
177172015-03-26 Andy Wingo <wingo@igalia.com>
17718
17719 PR symtab/18148
17720 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
17721 const_value but not a location.
17722 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
17723 location defined in non-main CUs are visible.
17724
6d5f0679
YQ
177252015-03-26 Yao Qi <yao.qi@linaro.org>
17726
17727 PR testsuite/18139
17728 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
17729 Add a line number entry for the same line.
17730 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
17731 Add a line number entry for the same line.
17732
2898689b
YQ
177332015-03-26 Yao Qi <yao.qi@linaro.org>
17734
17735 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
17736 .int 0.
17737 (func): Likewise. Add .Lfunc_1 label.
17738 Use .Lfunc_1 label.
17739 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
17740 .int 0.
17741 (func): Likewise.
17742 Use .Lfunc_1 label.
17743
85180498
YQ
177442015-03-26 Yao Qi <yao.qi@linaro.org>
17745
17746 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
17747 Call gdb_compile instead to compile each .s files without debug
17748 information.
17749
8aa08a8d
YQ
177502015-03-26 Yao Qi <yao.qi@linaro.org>
17751
17752 * gdb.base/savedregs.exp (process_saved_regs): Make
17753 "Saved registers:" optional in the pattern.
17754
66849923
MM
177552015-03-25 Markus Metzger <markus.t.metzger@intel.com>
17756
17757 * gdb.btrace/next.exp: Merged into step.exp.
17758 * gdb.btrace/finish.exp: Merged into step.exp.
17759 * gdb.btrace/nexti.exp: Merged into stepi.exp.
17760 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
17761 "record goto" and checking the exact replay position.
17762 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
17763 check for "Recording format" in "info record" output.
17764 * gdb.btrace/record_goto.exp: Choose test file based on target.
17765 * gdb.btrace/x86-record_goto.S: Renamed into ...
17766 * gdb.btrace/x86_64-record_goto.S: ... this.
17767 * gdb.btrace/i686-record_goto.S: New.
17768 * gdb.btrace/x86-tailcall.S: Renamed into ...
17769 * gdb.btrace/x86_64-tailcall.S: ... this.
17770 * gdb.btrace/i686-tailcall.S: New.
17771 * gdb.btrace/x86-tailcall.c: Renamed into ...
17772 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
17773 separate statements. Update test.
17774 * gdb.btrace/delta.exp: Use record_goto.c as test file.
17775 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
17776 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
17777 * gdb.btrace/tailcall.exp: Choose test file based on target.
17778 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
17779
11cc1b74
MM
177802015-03-25 Markus Metzger <markus.t.metzger@intel.com>
17781
17782 * gdb.btrace/exception.exp: Increase BTS buffer size.
17783
a25d8bf9
PA
177842015-03-24 Pedro Alves <palves@redhat.com>
17785
17786 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
17787
856e7dd6
PA
177882015-03-24 Pedro Alves <palves@redhat.com>
17789
17790 * gdb.threads/schedlock.exp (test_step): No longer expect that
17791 "set scheduler-locking step" with "next" over a function call runs
17792 threads unlocked.
17793
ad235a41
AT
177942015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
17795
17796 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
17797
15630549
AT
177982015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
17799
17800 PR breakpoints/16466
17801 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
17802 * gdb.mi/mi-pending.c (thread_func): New function.
17803 (int main): Add threading support required.
17804 * gdb.mi/mi-pending.exp: Add tests for this issue.
17805 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
17806 (pendfunc2): Remove stdio dependency.
17807 * gdb.mi/mi-pendshr2.c: New file.
17808
693dca06
KS
178092015-03-23 Keith Seitz <keiths@redhat.com>
17810
17811 * gdb.linespec/keywords.c: New file.
17812 * gdb.linespec/keywords.exp: New file.
17813
7e993ebf
KS
178142015-03-23 Keith Seitz <keiths@redhat.com>
17815
17816 PR gdb/18021
17817 * gdb.dwarf2/staticvirtual.exp: New test.
17818
bc23328c
JK
178192015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
17820
17821 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
17822 * README: Remove HP-UX and gdb.hp.
17823 (configuration):
17824 * configure: Regenerate.
17825 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
17826 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
17827 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
17828 gdb.hp/gdb.defects/Makefile.
17829 * gdb.hp/Makefile.in: File deleted.
17830 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
17831 * gdb.hp/gdb.aCC/optimize.c: File deleted.
17832 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
17833 * gdb.hp/gdb.aCC/run.c: File deleted.
17834 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
17835 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
17836 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
17837 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
17838 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
17839 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
17840 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
17841 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
17842 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
17843 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
17844 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
17845 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
17846 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
17847 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
17848 * gdb.hp/gdb.base-hp/reg.s: File deleted.
17849 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
17850 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
17851 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
17852 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
17853 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
17854 * gdb.hp/gdb.compat/Makefile.in: File deleted.
17855 * gdb.hp/gdb.compat/average.c: File deleted.
17856 * gdb.hp/gdb.compat/sum.c: File deleted.
17857 * gdb.hp/gdb.compat/xdb.c: File deleted.
17858 * gdb.hp/gdb.compat/xdb0.c: File deleted.
17859 * gdb.hp/gdb.compat/xdb0.h: File deleted.
17860 * gdb.hp/gdb.compat/xdb1.c: File deleted.
17861 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
17862 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
17863 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
17864 * gdb.hp/gdb.defects/Makefile.in: File deleted.
17865 * gdb.hp/gdb.defects/bs14602.c: File deleted.
17866 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
17867 * gdb.hp/gdb.defects/solib-d.c: File deleted.
17868 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
17869 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
17870 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
17871 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
17872 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
17873 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
17874 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
17875 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
17876 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
17877 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
17878 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
17879 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
17880 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
17881 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
17882 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
17883 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
17884 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
17885 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
17886 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
17887 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
17888 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
17889 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
17890 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
17891 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
17892 * gdb.hp/tools/odump: File deleted.
17893
8bf3b159
PA
178942015-03-19 Pedro Alves <palves@redhat.com>
17895
17896 * gdb.threads/continue-pending-status.exp (saw_thread_2)
17897 (saw_thread_3): New globals.
17898 (top level): Increment them when an event for the corresponding
17899 thread is seen.
17900 (no thread starvation): New test.
17901
eb54c8bf
PA
179022015-03-19 Pedro Alves <palves@redhat.com>
17903
17904 * gdb.threads/continue-pending-status.c: New file.
17905 * gdb.threads/continue-pending-status.exp: New file.
17906
32d2e5d6
PA
179072015-03-18 Pedro Alves <palves@redhat.com>
17908
17909 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
17910 Use gdb_is_target_remote instead of is_remote. Use
17911 gdb_test_multiple instead of gdb_expect. Exit early if
17912 gdb_test_multiple hits its internal matches. Tighten stepi tests
17913 expected output. Fail on exit with any signal, instead of just
17914 SIGILL.
17915
f68f11b7
YQ
179162015-03-18 Yao Qi <yao.qi@linaro.org>
17917
17918 PR tdep/18107
17919 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
17920 variable.
17921 * gdb.base/catch-syscall.exp: Don't skip it on
17922 aarch64*-*-linux* target. Remove elements in all_syscalls.
17923 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
17924 target.
17925 (setup_all_syscalls): New proc.
17926
ca5fd19b
YQ
179272015-03-16 Yao Qi <yao.qi@linaro.org>
17928
17929 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
17930 (top level): Skip tests if valid_addr_p returns false for
17931 $cmd1 or $cmd2.
17932
85642ba0
AW
179332015-03-11 Andy Wingo <wingo@igalia.com>
17934
17935 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
17936
e03f9645
YQ
179372015-03-11 Yao Qi <yao.qi@linaro.org>
17938
17939 * gdb.base/catch-syscall.exp: Fix typo in comments.
17940
5d0962b2
YQ
179412015-03-11 Yao Qi <yao.qi@linaro.org>
17942
17943 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
17944
b2df3cef
PA
179452015-03-09 Pedro Alves <palves@redhat.com>
17946
17947 * dg-extract-results.py: Delete.
17948
ef878e53
PA
179492015-03-09 Pedro Alves <palves@redhat.com>
17950
17951 Merge dg-extract-results.sh from GCC upstream (r218843).
17952
17953 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
17954 * dg-extract-results.sh: Use --text with grep to avoid issues with
17955 binary files. Fall back to cat -v, if that doesn't work.
17956
9494d219
PA
179572015-03-05 Pedro Alves <palves@redhat.com>
17958
17959 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
17960
a8d9763a
SM
179612015-03-04 Simon Marchi <simon.marchi@ericsson.com>
17962
17963 * lib/mi-support.exp (mi_expect_interrupt): Accept
17964 alternative event for when in all-stop mode.
17965
be9957b8
PA
179662015-03-04 Pedro Alves <palves@redhat.com>
17967
17968 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
17969
d57be0f4 179702015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
17971
17972 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
17973
c214c7cf
AA
179742015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
17975
17976 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
17977 regexps for GDB's current line display, accept a hex address
17978 preceding the line number.
17979
6d74a497
AA
179802015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
17981
17982 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
17983 the 'arch1' variable for "s390*-linux*" targets.
17984
511aee7c
PA
179852015-03-04 Pedro Alves <palves@redhat.com>
17986
17987 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
17988 (main): Pass missing retval argument to pthread_join call.
17989
95e50b27
PA
179902015-03-02 Pedro Alves <palves@redhat.com>
17991
17992 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
17993 (top level): Call do_test with non-stop as well.
17994
28054d69
PA
179952015-03-02 Pedro Alves <palves@redhat.com>
17996
17997 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
17998 -1.
17999
4fa5d7b4
AA
180002015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
18001
18002 * gdb.arch/s390-vregs.exp: New test.
18003 * gdb.arch/s390-vregs.S: New file.
18004
97c18565
PA
180052015-02-27 Pedro Alves <palves@redhat.com>
18006
18007 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
18008 call to catch_command_errors.
18009 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
18010 catch_command_errors.
18011
a37bfa30
PA
180122015-02-27 Pedro Alves <palves@redhat.com>
18013
18014 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
18015 "true" for boolean result.
18016 * gdb.gdb/selftest.exp (test_with_self): Also accept full
18017 prototype of main.
18018
6f98576f
PA
180192015-02-27 Pedro Alves <palves@redhat.com>
18020
18021 * lib/unbuffer_output.c: New file.
18022 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
18023 (main): Call gdb_unbuffer_output.
18024
eba5ab56
YQ
180252015-02-27 Yao Qi <yao.qi@linaro.org>
18026
18027 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
18028 target.
18029
0def5aaa
DE
180302015-02-26 Doug Evans <dje@google.com>
18031
18032 * gdb.cp/class2.cc (Dbase, D): New classes.
18033 (main): New local delta.
18034 * gdb.cp/class2.exp: Test printing delta.
18035 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
18036 (dynbar): New global.
18037 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
18038
081a1c2c
JK
180392015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18040
18041 * gdb.compile/compile-ifunc.c: New file.
18042 * gdb.compile/compile-ifunc.exp: New file.
18043
2f41223f
AT
180442015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
18045
18046 * gdb.base/structs.exp: Check for correct struct on finish.
18047
03eddd80
YQ
180482015-02-26 Yao Qi <yao.qi@linaro.org>
18049
18050 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
18051 is zero.
18052
80c57053
JK
180532015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18054
18055 * gdb.arch/cordic.ko.bz2: New file.
18056 * gdb.arch/cordic.ko.debug.bz2: New file.
18057 * gdb.arch/ppc64-symtab-cordic.exp: New file.
18058
21613c12
YQ
180592015-02-25 Yao Qi <yao.qi@linaro.org>
18060
18061 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
18062 aarch64*-*-* target.
18063
d8b901ed
PA
180642015-02-23 Pedro Alves <palves@redhat.com>
18065
18066 * lib/gdb.exp (delete_breakpoints): Rewrite using
18067 gdb_test_multiple.
18068
e5b85ead
PA
180692015-02-23 Pedro Alves <palves@redhat.com>
18070
18071 * gdb.base/info-os.c: Include stdlib.h.
18072
85c3a371
DE
180732015-02-22 Doug Evans <xdje42@gmail.com>
18074
18075 PR symtab/17855
18076 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
18077 is read after symbols have been re-read.
18078 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
18079 * gdb.ada/exec_changed/second.adb (Second): Ditto.
18080
96553a0c
DE
180812015-02-21 Doug Evans <dje@google.com>
18082
18083 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
18084
97a0c697
JK
180852015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18086
18087 PR corefiles/17808
18088 * gdb.arch/i386-biarch-core.core.bz2: New file.
18089 * gdb.arch/i386-biarch-core.exp: New file.
18090
a47cd6e9
PA
180912015-02-21 Pedro Alves <palves@redhat.com>
18092
18093 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
18094 runto_main fails.
18095
c5facdc4
PA
180962015-02-20 Pedro Alves <palves@redhat.com>
18097
18098 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
18099 info probes.
18100
2db9a427
PA
181012015-02-20 Pedro Alves <palves@redhat.com>
18102
18103 * gdb.threads/multi-create-ns-info-thr.exp: New file.
18104
60fb7e9e
PA
181052015-02-20 Pedro Alves <palves@redhat.com>
18106
18107 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
18108 clean_restart before gdb_target_supports_trace.
18109
5c5019c2
PA
181102015-02-20 Pedro Alves <palves@redhat.com>
18111
18112 PR threads/18006
18113 * gdb.threads/clone-thread_db.c: New file.
18114 * gdb.threads/clone-thread_db.exp: New file.
18115
c9587f88
AT
181162015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
18117
18118 PR breakpoints/16812
18119 * gdb.base/catch-gdb-caused-signals.c: New file.
18120 * gdb.base/catch-gdb-caused-signals.exp: New file.
18121
f6a88844
JM
181222015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
18123
18124 * configure: Regenerated.
18125 * configure.ac: Use GDB_AC_TRANSFORM.
18126 * aclocal.m4: sinclude ../transform.m4.
18127
497c491b
JM
181282015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
18129
18130 * lib/dtrace.exp: New file.
18131 * gdb.base/dtrace-probe.exp: Likewise.
18132 * gdb.base/dtrace-probe.d: Likewise.
18133 * gdb.base/dtrace-probe.c: Likewise.
18134 * lib/pdtrace.in: Likewise.
18135 * configure.ac: Output variables with the transformed names of
18136 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
18137 * configure: Regenerated.
18138
03e98035
JM
181392015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
18140
18141 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
18142 expected message when trying to access $_probe_* convenience
18143 variables while not on a probe.
18144
63cc30e9
JK
181452015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18146
18147 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
18148
0703599a
PA
181492015-02-11 Pedro Alves <pedro@codesourcery.com>
18150
18151 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
18152 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
18153
7e60a48e
DE
181542015-02-10 Doug Evans <xdje42@gmail.com>
18155
18156 * lib/gdb.exp (gdb_load): Always return a result.
18157
01b088bc
PA
181582015-02-10 Pedro Alves <palves@redhat.com>
18159
18160 * gdb.threads/signal-sigtrap.c: New file.
18161 * gdb.threads/signal-sigtrap.exp: New file.
18162
b05ec7a5
AT
181632015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
18164
18165 * gdb.trace/no-attach-trace.c: New file.
18166 * gdb.trace/no-attach-trace.exp: New file.
18167
a2c2acaf
MW
181682015-02-09 Mark Wielaard <mjw@redhat.com>
18169
18170 * gdb.dwarf2/atomic.c: New file.
18171 * gdb.dwarf2/atomic-type.exp: Likewise.
18172
31fd9caa
MM
181732015-02-09 Markus Metzger <markus.t.metzger@intel.com>
18174
18175 * gdb.btrace/buffer-size.exp: Update "info record" output.
18176 * gdb.btrace/delta.exp: Update "info record" output.
18177 * gdb.btrace/enable.exp: Update "info record" output.
18178 * gdb.btrace/finish.exp: Update "info record" output.
18179 * gdb.btrace/instruction_history.exp: Update "info record" output.
18180 * gdb.btrace/next.exp: Update "info record" output.
18181 * gdb.btrace/nexti.exp: Update "info record" output.
18182 * gdb.btrace/step.exp: Update "info record" output.
18183 * gdb.btrace/stepi.exp: Update "info record" output.
18184 * gdb.btrace/nohist.exp: Update "info record" output.
18185
d33501a5
MM
181862015-02-09 Markus Metzger <markus.t.metzger@intel.com>
18187
18188 * gdb.btrace/buffer-size: New.
18189
f4abbc16
MM
181902015-02-09 Markus Metzger <markus.t.metzger@intel.com>
18191
18192 * gdb.btrace/delta.exp: Update "info record" output.
18193 * gdb.btrace/enable.exp: Update "info record" output.
18194 * gdb.btrace/finish.exp: Update "info record" output.
18195 * gdb.btrace/instruction_history.exp: Update "info record" output.
18196 * gdb.btrace/next.exp: Update "info record" output.
18197 * gdb.btrace/nexti.exp: Update "info record" output.
18198 * gdb.btrace/step.exp: Update "info record" output.
18199 * gdb.btrace/stepi.exp: Update "info record" output.
18200 * gdb.btrace/nohist.exp: Update "info record" output.
18201
b9d61307
SM
182022015-02-06 Simon Marchi <simon.marchi@ericsson.com>
18203
18204 PR gdb/15678
18205 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
18206
e584fdbc
PA
182072015-02-06 Pedro Alves <palves@redhat.com>
18208
18209 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
18210 macro.
18211 (seconds_left, again): New globals.
18212 (main): Wait seconds_left in a 1-second sleep loop instead of
18213 sleeping 180 seconds. If 'again' is set, reset the seconds
18214 counter.
18215 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
18216 'again' in the inferior before detaching. Print the seconds left.
18217 (options): New global.
18218 (top level): Build program with -DTIMEOUT=$timeout.
18219
77f41761
PA
182202015-02-06 Pedro Alves <palves@redhat.com>
18221
18222 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
18223 determine how many seconds to pass to 'alarm'.
18224 * gdb.base/gdb-sigterm.exp (top level): Build program with
18225 -DTIMEOUT=$timeout.
18226 (do_test): Return success/failure indication. Add more verbose
18227 logging. Don't fail if 200 single steps are seen. Instead, fail
18228 when the test times out.
18229 (passes): New global.
18230 (top level): Break the testing loop if testing fails on any
18231 iteration. Use gdb_assert.
18232
b9394193
DB
182332015-02-04 Don Breazeal <donb@codesourcery.com>
18234
18235 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
18236 and initialize them.
18237 (ipc_cleanup): New function.
18238 (main): Don't declare shmid, semid, and msqid. Add a call to
18239 atexit so that we call ipc_cleanup on exit.
18240
42d9e528
PA
182412015-02-04 Pedro Alves <palves@redhat.com>
18242
18243 * boards/native-extended-gdbserver.exp: Remove any target variant
18244 specifications from the board name before clearing the isremote
18245 flag from board_info.
18246
ae6ae975
DE
182472015-01-31 Doug Evans <xdje42@gmail.com>
18248
18249 * gdb.base/maint.exp <maint print type argc>: Update expected output.
18250
cfb069a8
GB
182512015-01-31 Gary Benson <gbenson@redhat.com>
18252
18253 * gdb.base/completion.exp: Disable completion limiting for
18254 existing tests. Add new tests to check completion limiting.
18255 * gdb.linespec/ls-errs.exp: Disable completion limiting.
18256
5dd31d79
DE
182572015-01-31 Doug Evans <xdje42@gmail.com>
18258
18259 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
18260
9f050062
DE
182612015-01-31 Doug Evans <xdje42@gmail.com>
18262
18263 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
18264 entries. Duplicate file section script entries.
18265 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
18266 inlined entries. Add test for safe-path rejection.
18267 * gdb.python/py-section-script.c: Add duplicate inlined section script
18268 entries. Duplicate file section script entries.
18269 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
18270 inlined entries. Add test for safe-path rejection.
18271
df25ebbd
JB
182722015-01-29 Joel Brobecker <brobecker@adacore.com>
18273
18274 * gdb.ada/disc_arr_bound: New testcase.
18275
4a0ca9ec
JB
182762015-01-29 Joel Brobecker <brobecker@adacore.com>
18277
18278 * gdb.ada/mi_var_array: New testcase.
18279
3a8b707a
DE
182802015-01-27 Doug Evans <dje@google.com>
18281
18282 * gdb.python/py-objfile.exp: Add tests for objfile.username.
18283 Add test for objfile.filename, objfile.username after objfile
18284 has been unloaded.
18285
f8313f6e
JB
182862015-01-26 Joel Brobecker <brobecker@adacore.com>
18287
18288 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
18289 the second test to print the name attribute of value
18290 returned by the call to gdb.lookup_type, and adjust
18291 the expected output accordingly.
18292
37bc665e
MW
182932015-01-25 Mark Wielaard <mjw@redhat.com>
18294
18295 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
18296 * gdb.base/disp-step-fork.c: Include unistd.h.
18297 * gdb.base/siginfo-obj.c: Include stdio.h.
18298 * gdb.base/siginfo-thread.c: Likewise.
18299 * gdb.mi/non-stop.c: Include unistd.h.
18300 * gdb.mi/nsthrexec.c: Include stdio.h.
18301 * gdb.mi/pthreads.c: Include unistd.h.
18302 * gdb.modula2/unbounded1.c (main): Declare returns int.
18303 * gdb.reverse/consecutive-reverse.c: Likewise.
18304 * gdb.threads/create-fail.c: Include unistd.h.
18305 * gdb.threads/killed.c: Likewise.
18306 * gdb.threads/linux-dp.c: Likewise.
18307 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
18308 * gdb.threads/non-ldr-exc-2.c: Likewise.
18309 * gdb.threads/non-ldr-exc-3.c: Likewise.
18310 * gdb.threads/non-ldr-exc-4.c: Likewise.
18311 * gdb.threads/pthreads.c: Include unistd.h.
18312 (main): Declare returns int.
18313 * gdb.threads/tls-main.c (foo): New declaration.
18314 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
18315
f7e5394d
SM
183162015-01-23 Simon Marchi <simon.marchi@ericsson.com>
18317
18318 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
18319 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
18320
743649fd
MW
183212015-01-15 Mark Wielaard <mjw@redhat.com>
18322
18323 * gdb.base/noreturn-return.c: New file.
18324 * gdb.base/noreturn-return.exp: New file.
18325 * gdb.base/noreturn-finish.c: New file.
18326 * gdb.base/noreturn-finish.exp: New file.
18327
198297aa
PA
183282015-01-23 Pedro Alves <palves@redhat.com>
18329
18330 * gdb.threads/continue-pending-after-query.c: New file.
18331 * gdb.threads/continue-pending-after-query.exp: New file.
18332
717cf30c
AG
183332015-01-22 Anders Granlund <anders.granlund@ericsson.com>
18334 Simon Marchi <simon.marchi@ericsson.com>
18335
18336 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
18337 * gdb.base/valgrind-db-attach.exp: Same.
18338 * gdb.base/valgrind-infcall.exp: Same.
18339 * lib/mi-support.exp (default_mi_gdb_start): Same.
18340 * lib/prompt.exp (default_prompt_gdb_start): Same.
18341 * lib/gdb.exp (default_gdb_spawn): Same.
18342 (gdb_interact): New.
18343
18344
4b62a76e
JK
183452015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
18346
18347 * gdb.compile/compile.exp (pointer to jit function): New test.
18348
b4cdae6f
WW
183492015-01-17 Wei-cheng Wang <cole945@gmail.com>
18350
18351 * lib/gdb.exp (supports_process_record): Return true for
18352 powerpc*-*-linux*.
18353 (supports_reverse): Likewise.
18354
d221e7ef
DB
183552015-01-15 Don Breazeal <donb@codesourcery.com>
18356
18357 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
18358 instead of checking whether the target board is remote and
18359 use spawn_wait_for_attach instead of exec/sleep.
18360 * gdb.base/attach-twice.exp: Likewise.
18361
bafffb51
JB
183622015-01-15 Joel Brobecker <brobecker@adacore.com>
18363
18364 * gdb.ada/var_arr_attrs: New testcase.
18365
5589af0e
PA
183662015-01-14 Pedro Alves <palves@redhat.com>
18367 Joel Brobecker <brobecker@adacore.com>
18368
18369 PR gdb/17525
18370 * gdb.base/bp-cmds-execution-x-script.c: New file.
18371 * gdb.base/bp-cmds-execution-x-script.exp: New file.
18372 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
18373
6c400b59
PA
183742015-01-14 Pedro Alves <palves@redhat.com>
18375
18376 PR cli/17828
18377 * gdb.base/batch-preserve-term-settings.c: New file.
18378 * gdb.base/batch-preserve-term-settings.exp: New file.
18379
e02c96a7
DE
183802015-01-13 Doug Evans <dje@google.com>
18381
18382 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
18383 binary.
18384
576fd14c
JB
183852015-01-13 Joel Brobecker <brobecker@adacore.com>
18386
18387 * Makefile.in (clean mostlyclean): Do not delete *.py.
18388
04dccad0
JB
183892015-01-13 Joel Brobecker <brobecker@adacore.com>
18390
18391 * gdb.python/py-lookup-type.exp: New file.
18392
3d230f71
PA
183932015-01-12 Pedro Alves <palves@redhat.com>
18394
18395 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
18396 restore GDBFLAGS before returning.
18397
7e67715d
JK
183982015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18399
18400 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
18401 is_amd64_regs_target and is_x86_like_target.
18402
f2e0d4b4
DE
184032015-01-11 Doug Evans <xdje42@gmail.com>
18404
18405 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
18406 is given without an explicit form.
18407 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
18408 attributes.
18409 * gdb.dwarf/corrupt.exp: Ditto.
18410 * gdb.dwarf2/enum-type.exp: Ditto.
18411 * gdb.trace/entry-values.exp: Ditto.
18412 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
18413
439250fb
DE
184142015-01-11 Doug Evans <xdje42@gmail.com>
18415
18416 PR gdb/15830
18417 * gdb.base/maint.exp: Remove references to "maint demangle".
18418 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
18419 Add tests for explicitly specifying language to demangle.
18420 * gdb.dlang/demangle.exp: Ditto.
18421
ede9f622
PA
184222015-01-09 Pedro Alves <palves@redhat.com>
18423
18424 * gdb.threads/non-stop-fair-events.c: New file.
18425 * gdb.threads/non-stop-fair-events.exp: New file.
18426
a7b796db
PA
184272015-01-09 Pedro Alves <palves@redhat.com>
18428
18429 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
18430 the global scope. Set a breakpoint after all threads are started
18431 rather than stepping over two source lines. Expect the prompt.
18432 * gdb.base/watch_thread_num.c (threads_started_barrier): New
18433 global.
18434 (NUM): Now 15.
18435 (main): Use threads_started_barrier to wait for all threads to
18436 start. Main thread no longer calls thread_function. Exit after
18437 180 seconds.
18438 (loop): New function.
18439 (thread_function): Wait on threads_started_barrier barrier. Call
18440 'loop' at each iteration.
18441 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
18442 threads have started, instead of hardcoding number of "next"
18443 steps. Use an access watchpoint instead of a write watchpoint.
18444
9665ffdd
PA
184452015-01-09 Pedro Alves <palves@redhat.com>
18446
18447 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
18448 (thread_func): Wait on barrier.
18449 (main): Wait for all threads to start before stopping GDB.
18450 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
18451 global.
18452 (thread1_func, thread2_func): Wait on barrier.
18453 (main): Wait for all threads to start before stopping GDB.
18454 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
18455 New global.
18456 (thread1_func, thread2_func): Wait on barrier.
18457 (main): Wait for all threads to start before stopping GDB.
18458
c945a99f
PA
184592015-01-09 Pedro Alves <palves@redhat.com>
18460
18461 * gdb.threads/attach-many-short-lived-threads.c: New file.
18462 * gdb.threads/attach-many-short-lived-threads.exp: New file.
18463
c1a747c1
PA
184642014-01-09 Pedro Alves <palves@redhat.com>
18465
18466 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
18467 instead of to thread 2.
18468 * gdb.threads/signal-command-multiple-signals-pending.c (main):
18469 Add barrier around each pthread_create call instead of around all
18470 calls.
18471 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
18472 Set a break on thread_function and have the child threads hit it
18473 one at at a time.
18474
60b3033e
PA
184752015-01-09 Pedro Alves <palves@redhat.com>
18476
18477 * lib/gdb.exp (can_spawn_for_attach): New procedure.
18478 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
18479 false.
18480 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
18481 checking whether the target board is remote.
18482 * gdb.multi/multi-attach.exp: Likewise.
18483 * gdb.python/py-sync-interp.exp: Likewise.
18484 * gdb.server/ext-attach.exp: Likewise.
18485 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
18486 tests that need to attach, instead of checking whether the target
18487 board is remote at the top of the file.
18488
acc018ac
YQ
184892015-01-08 Yao Qi <yao@codesourcery.com>
18490
18491 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
18492
50a18af8
JK
184932015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18494
18495 Fix testcase compilation.
18496 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
18497
8503d6e1
JB
184982015-01-06 Joel Brobecker <brobecker@adacore.com>
18499
18500 * gdb.python/py-type.exp: Add a couple test about empty
18501 array creation, and negative-length array creation.
18502
cc73dbcc
DE
185032015-01-02 Doug Evans <xdje42@gmail.com>
18504
18505 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
18506
0300bbc7
DE
185072015-01-02 Doug Evans <dje@google.com>
18508
18509 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
18510
9d85a0ec
YQ
185112014-12-29 Yao Qi <yao@codesourcery.com>
18512
18513 * gdb.trace/entry-values.exp: Update comments. Rename variable
18514 bar_call_foo to returned_from_foo.
18515
87186c6a
MMN
185162014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
18517
18518 PR gdb/17394
18519 * gdb.linespec/break-asm-file.c: New file.
18520 * gdb.linespec/break-asm-file.exp: New file.
18521 * gdb.linespec/break-asm-file0.s: New file.
18522 * gdb.linespec/break-asm-file1.s: New file.
18523
1bab7383
YQ
185242014-12-18 Nigel Stephens <nigel@mips.com>
18525 Maciej W. Rozycki <macro@codesourcery.com>
18526
18527 * gdb.base/float.exp: Handle the new output from "info float" on
18528 MIPS targets.
18529
1bc1068a
JK
185302014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
18531
18532 Fix MinGW compilation.
18533 * gdb.compile/compile-ops.exp: Update untested message if
18534 !skip_compile_feature_tests.
18535 * gdb.compile/compile-setjmp.exp: Likewise.
18536 * gdb.compile/compile-tls.exp: Likewise.
18537 * gdb.compile/compile.exp: Likewise.
18538 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
18539 supported on this host".
18540
b6615d10
DE
185412014-12-16 Doug Evans <xdje42@gmail.com>
18542
18543 * boards/stabs.exp: New file.
18544
25dda427
AA
185452014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
18546
18547 * gdb.base/completion.exp: Adjust to format changes of "maint
18548 print user-registers".
18549
bf330350
CU
185502014-12-16 Catalin Udma <catalin.udma@freescale.com>
18551
18552 PR server/17457
18553 * gdb.arch/aarch64-fp.c: New file.
18554 * gdb.arch/aarch64-fp.exp: New file.
18555
395cf596
SDJ
185562014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
18557
18558 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
18559 r210637, r210913, r211666, r215400, r215817).
18560
18561 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
18562 * dg-extract-results.py: New file.
18563 * dg-extract-results.sh: Use it if the environment seems
18564 suitable.
18565
18566 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
18567
18568 * dg-extract-results.py (parse_run): Handle warnings that
18569 are printed before a test harness is run.
18570
18571 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
18572
18573 * dg-extract-results.py (Named): Remove __cmp__ method.
18574 (output_variation): Use a key to sort variation.harnesses.
18575
18576 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
18577
18578 * dg-extract-results.py: For Python 3, force sys.stdout to
18579 handle surrogate escape sequences.
18580 (safe_open): New function.
18581 (output_segment, main): Use it.
18582
18583 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
18584
18585 * dg-extract-results.py (Prog.result_re): Include options
18586 in test name.
18587
18588 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
18589
18590 * dg-extract-results.py (output_variation): Always sort if
18591 do_sum.
18592
e882ef3c
SM
185932014-12-15 Simon Marchi <simon.marchi@ericsson.com>
18594
18595 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
18596 as long as we get pagination notifications.
18597
4992aa20
JM
185982014-12-15 Jason Merrill <jason@redhat.com>
18599
18600 * Makefile.in (check-gdb.%): Restore.
18601 * README: Mention it.
18602
c1b5a1a6
JB
186032014-12-13 Joel Brobecker <brobecker@adacore.com>
18604
18605 * gdb.ada/str_uninit: New testcase.
18606
5537b577
JK
186072014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
18608
18609 PR symtab/17642
18610 * gdb.base/vla-stub-define.c: New file.
18611 * gdb.base/vla-stub.c: New file.
18612 * gdb.base/vla-stub.exp: New file.
18613
bb2ec1b3
TT
186142014-12-12 Phil Muldoon <pmuldoon@redhat.com>
18615 Jan Kratochvil <jan.kratochvil@redhat.com>
18616 Tom Tromey <tromey@redhat.com>
18617
18618 * configure.ac: Add gdb.compile/.
18619 * configure: Regenerate.
18620 * gdb.compile/Makefile.in: New file.
18621 * gdb.compile/compile-ops.exp: New file.
18622 * gdb.compile/compile-ops.c: New file.
18623 * gdb.compile/compile-tls.c: New file.
18624 * gdb.compile/compile-tls.exp: New file.
18625 * gdb.compile/compile-constvar.S: New file.
18626 * gdb.compile/compile-constvar.c: New file.
18627 * gdb.compile/compile-mod.c: New file.
18628 * gdb.compile/compile-nodebug.c: New file.
18629 * gdb.compile/compile-setjmp-mod.c: New file.
18630 * gdb.compile/compile-setjmp.c: New file.
18631 * gdb.compile/compile-setjmp.exp: New file.
18632 * gdb.compile/compile-shlib.c: New file.
18633 * gdb.compile/compile.c: New file.
18634 * gdb.compile/compile.exp: New file.
18635 * lib/gdb.exp (skip_compile_feature_tests): New proc.
18636
4ff709eb
TT
186372014-12-12 Tom Tromey <tromey@redhat.com>
18638
18639 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
18640 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
18641
6dddd6a5
DE
186422014-12-12 Doug Evans <dje@google.com>
18643
18644 * lib/gdb-python.exp (get_python_valueof): New function.
18645 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
18646
71c24708
AA
186472014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18648
18649 * gdb.base/completion.exp: Add test for completion of "info
18650 registers ".
18651
3e29f34a
MR
186522014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
18653
18654 * gdb.base/func-ptrs.c: New file.
18655 * gdb.base/func-ptrs.exp: New file.
18656
fc126975
SM
186572014-12-10 Simon Marchi <simon.marchi@ericsson.com>
18658
18659 PR breakpoints/17012
18660 * gdb.base/dprintf-detach.c: New file.
18661 * gdb.base/dprintf-detach.exp: New file.
18662
0a46d518
SM
186632014-12-10 Simon Marchi <simon.marchi@ericsson.com>
18664
18665 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
18666 * lib/gdb.exp (target_is_gdbserver): New procedure.
18667
a0be3e44
DE
186682014-12-08 Doug Evans <dje@google.com>
18669
18670 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
18671
df1b803a
YQ
186722014-12-05 Yao Qi <yao@codesourcery.com>
18673
18674 * gdb.guile/scm-error.exp: Remove the third argument to
18675 gdb_remote_download.
18676 * gdb.guile/scm-frame-args.exp: Likewise.
18677 * gdb.guile/scm-section-script.exp: Likewise.
18678
ddb9f679
YQ
186792014-12-05 Yao Qi <yao@codesourcery.com>
18680
18681 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
18682
86e4ed39
DE
186832014-12-04 Doug Evans <dje@google.com>
18684
18685 * gdb.python/py-objfile.exp: Add tests for
18686 objfile.add_separate_debug_file.
18687
7c50a931
DE
186882014-12-04 Doug Evans <dje@google.com>
18689
18690 * lib/gdb.exp (get_build_id): New function.
18691 (build_id_debug_filename_get): Rewrite to use it.
18692 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
18693
621661e3
MR
186942014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
18695
18696 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
18697 `method(long)', not just 0x0.
18698 * gdb.cp/nsalias.exp: Align code labels to 4.
18699 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
18700 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
18701 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
18702 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
18703 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
18704 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
18705
29f0c3b7
DE
187062014-12-02 Doug Evans <dje@google.com>
18707
e1e061e7 18708 PR symtab/17602
29f0c3b7 18709 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 18710 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
18711 * gdb.cp/anon-ns.exp: Update.
18712
162078c8
NB
187132014-12-02 Nick Bull <nicholaspbull@gmail.com>
18714
18715 * gdb.python/py-events.py (inferior_call_handler): New.
18716 (register_changed_handler, memory_changed_handler): New.
18717 (test_events.invoke): Register new handlers.
18718 * gdb.python/py-events.exp: Add tests for inferior call,
18719 memory_changed and register_changed events.
18720
fdb09caf
AA
187212014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
18722
18723 * gdb.base/execl-update-breakpoints.exp: Specify the link address
18724 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
18725 if the linker doesn't understand this.
18726
55cfb2c4
SM
187272014-12-01 Simon Marchi <simon.marchi@ericsson.com>
18728
18729 * gdb.python/python.exp: Change expected reply to help().
18730
9e8cd6df
YQ
187312014-12-01 Yao Qi <yao@codesourcery.com>
18732
18733 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
18734 AC_CONFIG_SUBDIRS(gdb.gdbtk).
18735 * configure: Re-generated.
18736
6c659fc2
SC
187372014-11-28 Siva Chandra Reddy <sivachandra@google.com>
18738
18739 * gdb.cp/chained-calls.cc: New file.
18740 * gdb.cp/chained-calls.exp: New file.
18741 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
18742
d7fc3181
SM
187432014-11-28 Simon Marchi <simon.marchi@ericsson.com>
18744
18745 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
18746 * gdb.dwarf2/symtab-producer.exp: Same.
18747 * gdb.gdb/python-interrupts.exp: Same.
18748 * gdb.gdb/python-selftest.exp: Same.
18749 * gdb.python/py-linetable.exp: Same.
18750 * gdb.python/py-type.exp: Same.
18751 * gdb.python/py-value-cc.exp: Same.
18752 * gdb.python/py-value.exp: Same.
18753
10e79639
YQ
187542014-11-28 Yao Qi <yao@codesourcery.com>
18755
18756 * gdb.base/break-probes.exp: Match library name prefixed with
18757 sysroot.
18758
f28a0564
SM
187592014-11-27 Simon Marchi <simon.marchi@ericsson.com>
18760
18761 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
18762 test expected output. Add parentheses for the call to print.
18763 Remove L suffix from integers.
18764
3fe1ce1d
DE
187652014-11-26 Doug Evans <dje@google.com>
18766
18767 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
18768
84429e27
YQ
187692014-11-22 Yao Qi <yao@codesourcery.com>
18770
18771 * gdb.trace/entry-values.c: Remove asms.
18772 (foo): Add foo_label.
18773 (bar): Add bar_label.
18774 * gdb.trace/entry-values.exp: Remove code computing foo's
18775 length and bar's length.
18776 (Dwarf::assemble): Invoke function_range for bar and use
18777 MACRO_AT_func for foo.
18778
26741859
YQ
187792014-11-22 Yao Qi <yao@codesourcery.com>
18780
18781 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
18782 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
18783 Use .Lgcc43_procstart instead of gcc43.
18784
45e44d27
JB
187852014-11-21 Joel Brobecker <brobecker@adacore.com>
18786
18787 * gdb.ada/n_arr_bound: New testcase.
18788
458c8db8
SDJ
187892014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
18790
18791 PR breakpoints/10737
18792 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
18793 test_catch_syscall_multi_arch.
18794 (test_catch_syscall_multi_arch): New function.
18795
43f3e411
DE
187962014-11-20 Doug Evans <xdje42@gmail.com>
18797
18798 * gdb.base/maint.exp: Update expected output.
18799
0d7b2549
AA
188002014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
18801
18802 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
18803 4-byte instruction on S390.
18804
8908fca5
JB
188052014-11-19 Joel Brobecker <brobecker@adacore.com>
18806
18807 * gdb.ada/arr_arr: New testcase.
18808
4a46959e
JB
188092014-11-19 Joel Brobecker <brobecker@adacore.com>
18810
18811 * gdb.ada/pkd_arr_elem: New Testcase.
18812
470e2f4e
LM
188132014-11-18 Luis Machado <lgustavo@codesourcery.com>
18814
18815 * gdb.reverse/break-precsave: Expect completion message for
18816 core file reads.
18817 * gdb.reverse/consecutive-precsave.exp: Likewise.
18818 * gdb.reverse/finish-precsave.exp: Likewise.
18819 * gdb.reverse/i386-precsave.exp: Likewise.
18820 * gdb.reverse/machinestate-precsave.exp: Likewise.
18821 * gdb.reverse/sigall-precsave.exp: Likewise.
18822 * gdb.reverse/solib-precsave.exp: Likewise.
18823 * gdb.reverse/step-precsave.exp: Likewise.
18824 * gdb.reverse/until-precsave.exp: Likewise.
18825 * gdb.reverse/watch-precsave.exp: Likewise.
18826
a267f3ad
AA
188272014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18828
18829 * gdb.base/bp-permanent.c: Include unistd.h.
18830 * gdb.python/py-framefilter-mi.c (main): Add return type.
18831 * gdb.python/py-framefilter.c (main): Likewise.
18832 * gdb.trace/actions-changed.c (main): Likewise.
18833
12084a9a
AA
188342014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18835
18836 * gdb.mi/until.c: Add eye-catchers.
18837 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
18838 line numbers.
18839
dc7e1a77
AA
188402014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18841
18842 * gdb.base/condbreak.exp: Drop references to removed non-prototype
18843 function header variants in break1.c.
18844 * gdb.base/ena-dis-br.exp: Likewise.
18845 * gdb.base/hbreak2.exp: Likewise.
18846 * gdb.reverse/until-precsave.exp: Drop references to removed
18847 non-prototype function header variants in ur1.c.
18848 * gdb.reverse/until-reverse.exp: Likewise.
18849
41c77605
PM
188502014-11-17 Petr Machata <pmachata@redhat.com>
18851
18852 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
18853 ${_cu_offset_size} bytes abbrev offset.
18854
34248c3a
DE
188552014-11-15 Doug Evans <xdje42@gmail.com>
18856
18857 PR symtab/17559
18858 * gdb.base/line-symtabs.exp: New file.
18859 * gdb.base/line-symtabs.c: New file.
18860 * gdb.base/line-symtabs.h: New file.
18861
646da059
YQ
188622014-11-14 Yao Qi <yao@codesourcery.com>
18863
18864 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
18865 (func): Add label func_label.
18866 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
18867 Replace low_pc and high_pc with MACRO_AT_range.
18868 Replace name, low_pc and high_pc with MACRO_AT_func.
18869
9301ebe6
YQ
188702014-11-14 Yao Qi <yao@codesourcery.com>
18871
18872 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
18873 Replace name, low_pc and high_pc with MACRO_AT_func.
18874
f166b542
YQ
188752014-11-14 Yao Qi <yao@codesourcery.com>
18876
18877 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
18878 produce debug information.
18879 * gdb.dwarf2/implptr-optimized-out.S: Removed.
18880
0f6e71e3
YQ
188812014-11-14 Yao Qi <yao@codesourcery.com>
18882
18883 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
18884 object and get function length.
18885 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
18886 with MACRO_AT_func.
18887 (top-level): Replace gdb_compile and clean_restart with
18888 prepare_for_testing.
18889 * gdb.dwarf2/main.c (main): Add label main_label.
18890
876c4df9
YQ
188912014-11-14 Yao Qi <yao@codesourcery.com>
18892
18893 * lib/dwarf.exp (function_range): New procedure.
18894 (Dwarf::_handle_macro_at_func): New procedure.
18895 (Dwarf::_handle_macro_at_range): New procedure.
18896 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
18897
02ad9cf1
YQ
188982014-11-14 Yao Qi <yao@codesourcery.com>
18899
18900 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
18901 (_handle_attribute): New procedure.
18902
a59add0c
AA
189032014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18904
18905 * gdb.ada/cond_lang/foo.c (callme): Add return type.
18906 * gdb.base/call-sc.c (zed): Likewise.
18907 * gdb.base/checkpoint.c (main): Likewise.
18908 * gdb.base/dump.c (main): Likewise.
18909 * gdb.base/gcore.c (main): Likewise.
18910 * gdb.base/huge.c (main): Likewise.
18911 * gdb.base/multi-forks.c (main): Likewise.
18912 * gdb.base/pr10179-a.c (main): Likewise.
18913 * gdb.base/savedregs.c (main): Likewise.
18914 * gdb.base/sigaltstack.c (main): Likewise.
18915 * gdb.base/siginfo.c (main): Likewise.
18916 * gdb.base/structs.c (zed): Likewise.
18917 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
18918 * gdb.mi/mi-syn-frame.c (main): Likewise.
18919 * gdb.mi/until.c (foo, main): Likewise.
18920 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
18921 * gdb.base/solib-weak.c (foo): Declare.
18922 * gdb.base/attach-twice.c: Include stdio.h.
18923 * gdb.base/weaklib1.c: Likewise.
18924 * gdb.base/weaklib2.c: Likewise.
18925 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
18926 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
18927 unistd.h.
18928 * gdb.base/attach-pie-misread.c: Include stdlib.h.
18929 * gdb.mi/mi-exit-code.c: Likewise.
18930 * gdb.base/break-interp-lib.c: Include string.h.
18931 * gdb.base/coremaker.c: Likewise.
18932 * gdb.base/testenv.c: Likewise.
18933 * gdb.python/py-finish-breakpoint.c: Likewise.
18934 * gdb.base/inferior-died.c: Include sys/wait.h.
18935 * gdb.base/fileio.c: Include time.h.
18936 * gdb.base/async-shell.c: Include unistd.h.
18937 * gdb.base/dprintf-non-stop.c: Likewise.
18938 * gdb.base/info-os.c: Likewise.
18939 * gdb.mi/mi-console.c: Likewise.
18940 * gdb.mi/watch-nonstop.c: Likewise.
18941 * gdb.python/py-events.c: Likewise.
18942 * gdb.base/async.c (baz): Move up before its invocation.
18943 * gdb.base/code_elim2.c (my_global_func): Likewise.
18944 * gdb.base/skip-solib-lib.c (multiply): Likewise.
18945 * gdb.base/advance.c (func2): Likewise.
18946
3b5d5997
AA
189472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18948
18949 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
18950 variant.
18951 * gdb.base/annota3.c: Likewise.
18952 * gdb.base/async.c: Likewise.
18953 * gdb.base/average.c: Likewise.
18954 * gdb.base/call-ar-st.c: Likewise.
18955 * gdb.base/call-rt-st.c: Likewise.
18956 * gdb.base/call-sc.c: Likewise.
18957 * gdb.base/call-strs.c: Likewise.
18958 * gdb.base/ending-run.c: Likewise.
18959 * gdb.base/execd-prog.c: Likewise.
18960 * gdb.base/exprs.c: Likewise.
18961 * gdb.base/foll-exec.c: Likewise.
18962 * gdb.base/foll-fork.c: Likewise.
18963 * gdb.base/foll-vfork.c: Likewise.
18964 * gdb.base/funcargs.c: Likewise.
18965 * gdb.base/gcore.c: Likewise.
18966 * gdb.base/jump.c: Likewise.
18967 * gdb.base/langs0.c: Likewise.
18968 * gdb.base/langs1.c: Likewise.
18969 * gdb.base/langs2.c: Likewise.
18970 * gdb.base/mips_pro.c: Likewise.
18971 * gdb.base/nodebug.c: Likewise.
18972 * gdb.base/opaque0.c: Likewise.
18973 * gdb.base/opaque1.c: Likewise.
18974 * gdb.base/recurse.c: Likewise.
18975 * gdb.base/run.c: Likewise.
18976 * gdb.base/scope0.c: Likewise.
18977 * gdb.base/scope1.c: Likewise.
18978 * gdb.base/setshow.c: Likewise.
18979 * gdb.base/setvar.c: Likewise.
18980 * gdb.base/shmain.c: Likewise.
18981 * gdb.base/shr1.c: Likewise.
18982 * gdb.base/shr2.c: Likewise.
18983 * gdb.base/sigall.c: Likewise.
18984 * gdb.base/signals.c: Likewise.
18985 * gdb.base/so-indr-cl.c: Likewise.
18986 * gdb.base/solib2.c: Likewise.
18987 * gdb.base/structs.c: Likewise.
18988 * gdb.base/sum.c: Likewise.
18989 * gdb.base/vforked-prog.c: Likewise.
18990 * gdb.base/watchpoint.c: Likewise.
18991 * gdb.reverse/shr2.c: Likewise.
18992 * gdb.reverse/until-reverse.c: Likewise.
18993 * gdb.reverse/ur1.c: Likewise.
18994 * gdb.reverse/watch-reverse.c: Likewise.
18995
066a77c5
AA
189962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18997
18998 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
18999 variant.
19000 * gdb.base/sepdebug.exp: Drop references to removed code.
19001
4f204ea5
AA
190022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19003
19004 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
19005 variant. Preserve original line numbering.
19006 * gdb.base/list1.c: Likewise.
19007
3b377a3a
AA
190082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19009
19010 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
19011 variant.
19012 * gdb.base/break1.c: Likewise.
19013 * gdb.base/break.exp: Drop references to removed code.
19014
e444df73
AA
190152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19016
19017 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
19018 variant.
19019
8008f2a7
AA
190202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19021
19022 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
19023
a5a06887
AA
190242014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19025
19026 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
19027 logic into perform_all_tests() and invoke it with and without
19028 function header prototypes.
19029 (do_function_calls): Remove conditional XFAIL for PR 5318.
19030 (rerun_and_prepare): Remove duplicate code.
19031 (perform_all_tests): New. Main logic moved here.
19032
44dba9b9
AA
190332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19034
19035 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
19036 code guarded by #ifdef NO_PROTOTYPES.
19037 (t_double_many_args): Likewise.
19038 (DEF_FUNC_MANY_ARGS_1): Likewise.
19039 (DEF_FUNC_VALUES_1): Likewise.
19040 (t_structs_ldc): Renamed from t_structs_fc in conditional code
19041 guarded by #ifdef PROTOTYPES.
19042
d1fbcd56
AA
190432014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19044
19045 * gdb.mi/mi-console.c: Add eye-catcher.
19046 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
19047 instead of literal line number.
19048
b0e59b8f
AA
190492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19050
19051 * gdb.base/shr2.c: Add eye-catcher.
19052 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
19053 line number.
19054
78f98cca
AA
190552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19056
19057 * gdb.base/jump.c: Add eye-catchers.
19058 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
19059 numbers.
19060
58fa2af0
AA
190612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19062
19063 * gdb.base/execd-prog.c: Add eye-catchers.
19064 * gdb.base/foll-exec.c: Likewise.
19065 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
19066 line numbers.
19067
04e5059b
AA
190682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19069
19070 * gdb.base/ending-run.c: Add eye-catchers.
19071 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
19072 literal line numbers.
19073
dbfdb174
AA
190742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19075
19076 * gdb.base/call-rt-st.c: Add eye-catchers.
19077 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
19078 literal line numbers.
19079
888a2ade
AA
190802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19081
19082 * gdb.base/call-ar-st.c: Add eye-catchers.
19083 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
19084 literal line numbers.
19085
6acc2dde
AA
190862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19087
19088 * gdb.base/average.c: Add eye-catchers.
19089 * gdb.base/sum.c: Likewise.
19090 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
19091 regexps dynamically.
19092
9ecfcd1d
AA
190932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19094
19095 * gdb.base/solib1.c: Add eye-catchers.
19096 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
19097 literal line numbers.
19098
78708b7c
PA
190992014-11-12 Pedro Alves <palves@redhat.com>
19100
19101 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
19102 leader has exited.
19103
af48d08f
PA
191042014-11-12 Pedro Alves <palves@redhat.com>
19105
19106 * gdb.arch/i386-bp_permanent.c: New file.
19107 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
19108 (srcfile): Set to i386-bp_permanent.c.
19109 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
19110 that stepi does not execute the 'leave' instruction, instead of
19111 testing it does execute.
19112 * gdb.base/bp-permanent.c: New file.
19113 * gdb.base/bp-permanent.exp: New file.
19114
af3768e9
DE
191152014-11-10 Doug Evans <xdje42@gmail.com>
19116
19117 PR symtab/17564
19118 * gdb.base/symtab-search-order.exp: New file.
19119 * gdb.base/symtab-search-order.c: New file.
19120 * gdb.base/symtab-search-order-1.c: New file.
19121 * gdb.base/symtab-search-order-shlib-1.c: New file.
19122
9de00a4a
PA
191232014-11-07 Pedro Alves <palves@redhat.com>
19124
19125 PR gdb/17511
19126 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
19127 i?86-*-linux*.
19128
e0f52461
SC
191292014-11-03 Siva Chandra Reddy <sivachandra@google.com>
19130
19131 PR c++/17494
19132 * gdb.cp/pr17494.cc: New file.
19133 * gdb.cp/pr17494.exp: New file.
19134
6ce8c980
YQ
191352014-11-02 Yao Qi <yao@codesourcery.com>
19136
19137 * gdb.python/python.exp: Get working directory and match the
19138 output of "set extended-prompt \\w " with it.
19139
02be9a71
DE
191402014-10-30 Doug Evans <dje@google.com>
19141
19142 * gdb.python/py-objfile.exp: Add tests for setting random attributes
19143 in objfiles.
19144 * gdb.python/py-progspace.exp: Add tests for setting random attributes
19145 in progspaces.
19146
3bdff46b
LM
191472014-10-30 Janis Johnson <janisjo@codesourcery.com>
19148
19149 * gdb.base/fullpath-expand.exp: Skip for a remote host.
19150 * gdb.base/realname-expand.exp: Likewise.
19151 * gdb.linespec/macro-relative.exp: Likewise.
19152
ab917dfb
PA
191532014-10-29 Pedro Alves <palves@redhat.com>
19154
19155 PR gdb/17408
19156 * gdb.threads/schedlock.c (some_function): New function.
19157 (call_function): New global.
19158 (MAYBE_CALL_SOME_FUNCTION): New macro.
19159 (thread_function): Call it.
19160 * gdb.threads/schedlock.exp (get_args): Add description parameter,
19161 and use it instead of a global counter. Adjust all callers.
19162 (get_current_thread): Use "find current thread" for test message
19163 here rather than having all callers pass down the same string.
19164 (goto_loop): New procedure, factored out from ...
19165 (my_continue): ... this.
19166 (step_ten_loops): Change parameter from test message to command to
19167 use. Adjust.
19168 (list_count): Delete global.
19169 (check_result): New procedure, factored out from duplicate top
19170 level code.
19171 (continue tests): Wrap in with_test_prefix.
19172 (test_step): New procedure, factored out from duplicate top level
19173 code.
19174 (top level): Test "step" in combination with all scheduler-locking
19175 modes. Test "next" in combination with all scheduler-locking
19176 modes, and in combination with stepping over a function call or
19177 not.
19178 * gdb.threads/next-bp-other-thread.c: New file.
19179 * gdb.threads/next-bp-other-thread.exp: New file.
19180
d3d4baed
PA
191812014-10-29 Pedro Alves <palves@redhat.com>
19182
19183 PR python/17372
19184 * gdb.python/python.exp: Test a multi-line command that spawns
19185 interactive Python.
19186 * gdb.base/multi-line-starts-subshell.exp: New file.
19187
563e8d85
YQ
191882014-10-29 Yao Qi <yao@codesourcery.com>
19189
19190 * gdb.base/fileio.exp: Make directories on host.
19191
0ea4d52e
YQ
191922014-10-29 Yao Qi <yao@codesourcery.com>
19193
19194 * gdb.base/fileio.c (test_write): Close the file.
19195
7f5ef605
PA
191962014-10-28 Pedro Alves <palves@redhat.com>
19197
19198 PR gdb/12623
19199 * gdb.base/sigstep.c (no_handler): New global.
19200 (main): If 'no_handler is true, set the signal handlers to
19201 SIG_IGN.
19202 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
19203 with_sw_watch and no_handler parameters. Handle them.
19204 (top level) <stepping over handler when stopped at a breakpoint
19205 test>: Add a test axis for testing with a software watchpoint, and
19206 another for testing with the signal handler set to SIG_IGN.
19207 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
19208 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
19209
abbdbd03
PA
192102014-10-28 Pedro Alves <palves@redhat.com>
19211
19212 PR gdb/17511
19213 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
19214 * gdb.base/sigstep.exp (other_handler_location): New global.
19215 (advance): Support stepping into the signal handler, and running
19216 commands while in the handler.
19217 (in_handler_map): New global.
19218 (top level): In the advance test, add combinations for getting
19219 into the handler with stepping commands, and for running commands
19220 in the handler. Add comment descripting the advancei tests.
19221
1df4399f
PA
192222014-10-28 Pedro Alves <palves@redhat.com>
19223
19224 * gdb.base/sigstep.exp: Use build_executable instead of
19225 prepare_for_testing.
19226 (top level): Move code that starts GDB, runs to main and creates a
19227 display to ...
19228 (restart): ... this new procedure.
19229 (top level): Move backtrace from signal handler test to ...
19230 (validate_backtrace): ... this new procedure.
19231 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
19232 with_test_prefix. Always restart GDB.
19233 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
19234 with_test_prefix. Always restart GDB. No need to delete
19235 breakpoints after the test.
19236 (test_skip_handler): Remove prefix parameter.
19237 (skip_over_handler, breakpoint_to_handler)
19238 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
19239 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
19240 restart GDB. No need to delete breakpoints after the test.
19241 (top level): Use foreach to call the test procedures with
19242 different commands.
19243
a5b6e449
PA
192442014-10-28 Pedro Alves <palves@redhat.com>
19245
19246 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
19247 instead of GNATS numbers.
19248 * gdb.base/sigbpt.exp: Likewise.
19249 * gdb.base/siginfo.exp: Likewise.
19250 * gdb.base/sigstep.exp: Likewise.
19251
e5f8a7cc
PA
192522014-10-27 Pedro Alves <palves@redhat.com>
19253
19254 * gdb.base/sigstep.c (dummy): New global.
19255 (main): Issue a couple writes to the new global.
19256 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
19257 procedures.
19258 (skip_over_handler): Use test_skip_handler.
19259 (top level): Call skip_over_handler for stepi and nexti too.
19260 (breakpoint_over_handler): Use test_skip_handler.
19261 (top level): Call breakpoint_over_handler for stepi and nexti too.
19262
763905a3
YQ
192632014-10-27 Yao Qi <yao@codesourcery.com>
19264
19265 * gdb.trace/tfile.c (adjust_function_address)
19266 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
19267 function descriptor.
19268
6f259a23
DB
192692014-10-24 Don Breazeal <donb@codesourcery.com>
19270
19271 * gdb.base/foll-fork.exp (test_follow_fork,
19272 catch_fork_child_follow): Check for updated fork messages emitted
19273 from infrun.c.
19274 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
19275 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
19276 vfork_and_exec_child_follow_through_step): Check for updated vfork
19277 messages emitted from infrun.c.
19278
09dd9a69
PA
192792014-10-24 Pedro Alves <palves@redhat.com>
19280
19281 * gdb.base/corefile.exp: Remove references to ultrix.
19282 * gdb.base/interrupt.exp: Likewise.
19283 * gdb.base/whatis.exp: Likewise.
19284 * gdb.gdb/selftest.exp: Likewise.
19285 * gdb.threads/manythreads.exp: Likewise.
19286 * gdb.threads/print-threads.exp: Likewise.
19287 * gdb.threads/pthreads.exp:: Likewise.
19288 * gdb.threads/schedlock.exp: Likewise.
19289
3433cfa5
SC
192902014-10-24 Siva Chandra Reddy <sivachandra@google.com>
19291
19292 * gdb.cp/non-trivial-retval.cc: Add a test case.
19293 * gdb.cp/non-trivial-retval.exp: Add a test.
19294
092f880b
YQ
192952014-10-20 Yao Qi <yao@codesourcery.com>
19296
19297 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
19298 * gdb.python/py-objfile-script-gdb.py: New file.
19299 * gdb.python/py-objfile-script.exp: Update reference to
19300 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
19301 of remote_download. Remove the dest file.
19302
acbdb7f3
YQ
193032014-10-20 Yao Qi <yao@codesourcery.com>
19304
19305 * gdb.base/checkpoint.exp: Don't remove file copied on host.
19306 * gdb.base/step-line.exp: Likewise.
19307 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
19308 * gdb.dwarf2/dw2-basic.exp: Likewise.
19309 * gdb.dwarf2/dw2-compressed.exp: Likewise.
19310 * gdb.dwarf2/dw2-filename.exp: Likewise.
19311 * gdb.dwarf2/dw2-intercu.exp: Likewise.
19312 * gdb.dwarf2/dw2-intermix.exp: Likewise.
19313 * gdb.dwarf2/dw2-producer.exp: Likewise.
19314 * gdb.dwarf2/mac-fileno.exp: Likewise.
19315 * gdb.python/py-frame-args.exp: Likewise.
19316 * gdb.python/py-framefilter.exp: Likewise.
19317 * gdb.python/py-mi.exp: Likewise.
19318 * gdb.python/py-objfile-script.exp: Likewise
19319 * gdb.python/py-pp-integral.exp: Likewise.
19320 * gdb.python/py-pp-re-notag.exp: Likewise.
19321 * gdb.python/py-prettyprint.exp: Likewise.
19322 * gdb.python/py-section-script.exp: Likewise.
19323 * gdb.python/py-typeprint.exp: Likewise.
19324 * gdb.python/py-xmethods.exp: Likewise.
19325 * gdb.stabs/weird.exp: Likewise.
19326 * gdb.xml/tdesc-regs.exp: Likewise.
19327
bd286a29
KCY
193282014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
19329
19330 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
19331 (out_cu): Use addr_len for the size of addresses.
19332 (out_line): Likewise. Size DW_LNE_set_address instruction
19333 according to addr_len.
19334 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
19335 (FUNC): Add START_INSNS to definition.
19336
673dc4a0
YQ
193372014-10-18 Yao Qi <yao@codesourcery.com>
19338
19339 * gdb.base/argv0-symlink.exp: Check argv[0] value if
19340 gdb_has_argv0 return true.
19341 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
19342 check [target_info exists noargs], check [gdb_has_argv0]
19343 instead.
19344 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
19345 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
19346 procedures.
19347
4ffbba72
DE
193482014-10-17 Doug Evans <dje@google.com>
19349
19350 * gdb.python/py-events.exp: Update expected output for clear_objfiles
19351 event.
19352 * gdb.python/py-events.py: Add clear_objfiles event.
19353
d096d8c1
DE
193542014-10-17 Doug Evans <dje@google.com>
19355
19356 * gdb.python/py-objfile.exp: Test progspace attribute.
19357
a80db015
LM
193582014-10-17 Luis Machado <lgustavo@codesourcery.com>
19359
19360 * gdb.guile/scm-breakpoint.exp: Do not assume any
19361 directory separators when matching source file paths.
19362 * gdb.python/py-breakpoint.exp: Likewise.
19363 * gdb.reverse/break-precsave.exp: Likewise.
19364 * gdb.reverse/break-reverse.exp: Likewise.
19365 * gdb.reverse/consecutive-precsave.exp: Likewise.
19366 * gdb.reverse/finish-precsave.exp: Likewise.
19367 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
19368 * gdb.reverse/finish-reverse.exp: Likewise.
19369 * gdb.reverse/i386-precsave.exp: Likewise.
19370 * gdb.reverse/i387-env-reverse.exp: Likewise.
19371 * gdb.reverse/i387-stack-reverse.exp: Likewise.
19372 * gdb.reverse/machinestate-precsave.exp: Likewise.
19373 * gdb.reverse/machinestate.exp: Likewise.
19374 * gdb.reverse/sigall-precsave.exp: Likewise.
19375 * gdb.reverse/solib-precsave.exp: Likewise.
19376 * gdb.reverse/step-precsave.exp: Likewise.
19377 * gdb.reverse/until-precsave.exp: Likewise.
19378 * gdb.reverse/watch-precsave.exp: Likewise.
19379 * gdb.reverse/watch-reverse.exp: Likewise.
19380
b22089ab
YQ
193812014-10-17 Yao Qi <yao@codesourcery.com>
19382
19383 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
19384 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
19385
6c4486e6
PA
193862014-10-17 Pedro Alves <palves@redhat.com>
19387
19388 PR gdb/17471
19389 * gdb.base/bg-execution-repeat.c: New file.
19390 * gdb.base/bg-execution-repeat.exp: New file.
19391
0ff33695
PA
193922014-10-17 Pedro Alves <palves@redhat.com>
19393
19394 PR gdb/17300
19395 * gdb.base/continue-all-already-running.c: New file.
19396 * gdb.base/continue-all-already-running.exp: New file.
19397
6fdebc3d
PA
193982014-10-17 Pedro Alves <palves@redhat.com>
19399
19400 PR gdb/17472
19401 * gdb.base/annota-input-while-running.c: New file.
19402 * gdb.base/annota-input-while-running.exp: New file.
19403
32a8097b
PA
194042014-10-17 Pedro Alves <palves@redhat.com>
19405
19406 * gdb.base/callfuncs.exp: emove references to osf.
19407 * gdb.base/sigall.exp: Likewise.
19408 * gdb.gdb/selftest.exp: Likewise.
19409 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
19410 * gdb.mi/non-stop.c: Likewise.
19411 * gdb.mi/pthreads.c: Likewise.
19412 * gdb.reverse/sigall-precsave.exp: Likewise.
19413 * gdb.reverse/sigall-reverse.exp: Likewise.
19414 * gdb.threads/pthreads.c: Likewise.
19415 * gdb.threads/pthreads.exp: Likewise.
19416
7a3517ff
YQ
194172014-10-17 Yao Qi <yao@codesourcery.com>
19418
19419 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
19420 check 'target_info exists noargs'.
19421 (test_command_prompt_position): Likewise.
19422 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
19423 Remove "set args".
19424 (progvar_simple_while_test): Likewise.
19425 (progvar_complex_if_while_test): Likewise.
19426 (if_while_breakpoint_command_test): Likewise.
19427 (infrun_breakpoint_command_test): Likewise.
19428 (breakpoint_command_test): Likewise.
19429 (watchpoint_command_test): Likewise.
19430 (bp_deleted_in_command_test): Likewise.
19431 (temporary_breakpoint_commands): Likewise.
19432
bb99c472
YQ
194332014-10-16 Yao Qi <yao@codesourcery.com>
19434
19435 * gdb.base/remotetimeout.exp: Remove noargs checking.
19436
7c16b83e
PA
194372014-10-15 Pedro Alves <palves@redhat.com>
19438
19439 PR breakpoints/9649
19440 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
19441 * gdb.base/breakpoint-in-ro-region.exp
19442 (probe_target_hardware_step): New procedure.
19443 (top level): Probe hardware stepping and hardware breakpoint
19444 support. Test stepping through a read-only region, with both
19445 "breakpoint auto-hw" on and off and both "always-inserted" on and
19446 off.
19447
35a49624
IB
194482014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
19449
19450 * gdb.dlang/demangle.exp: Update for demangling changes.
19451
2d1c107c
SC
194522014-10-15 Siva Chandra Reddy <sivachandra@google.com>
19453
19454 * gdb.cp/non-trivial-retval.cc: Add new test cases.
19455 * gdb.cp/non-trivial-retval.exp: Add new tests.
19456
778811d5
SC
194572014-10-15 Siva Chandra Reddy <sivachandra@google.com>
19458
19459 PR c++/13403
19460 PR c++/15154
19461 * gdb.cp/non-trivial-retval.cc: New file.
19462 * gdb.cp/non-trivial-retval.exp: New file.
19463
10c5f0a8
YQ
194642014-10-15 Yao Qi <yao@codesourcery.com>
19465
19466 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
19467 remote host.
19468
65d7b369
YQ
194692014-10-15 Yao Qi <yao@codesourcery.com>
19470
19471 * gdb.python/py-symbol.exp: Match file base name if host is
19472 remote, otherwise match file name with dir name.
19473 * gdb.python/py-symtab.exp: Likewise.
19474 * gdb.python/python.exp: Likewise.
19475
46dc1394
YQ
194762014-10-15 Yao Qi <yao@codesourcery.com>
19477
19478 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
19479 pattern.
19480 * gdb.python/py-symtab.exp: Likewise.
19481 * gdb.python/python.exp: Remove trailing ".*". Fix typo
19482 locationn.
19483
c40cc657
JB
194842014-10-14 Joel Brobecker <brobecker@adacore.com>
19485
19486 * gdb.ada/addr_arith: New testcase.
19487
2abf49e1
MR
194882014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
19489
19490 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
19491 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
19492 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
19493 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
19494
f7088df3
SDJ
194952014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
19496
19497 * gdb.arch/stap-eval-lang-ada.S: Likewise.
19498 * gdb.arch/stap-eval-lang-ada.c: Likewise.
19499 * gdb.arch/stap-eval-lang-ada.exp: New file.
19500
4dc06805
YQ
195012014-10-14 Yao Qi <yao@codesourcery.com>
19502
19503 * gdb.mi/mi-var-child.c (nothing1): New function.
19504 (nothing2): New function.
19505 (do_children_tests): Set function pointers by nothing1 and
19506 nothing2.
19507 * gdb.mi/mi-var-child.exp: Step over new added statements.
19508 Update test to match the new output.
19509 * gdb.mi/var-cmd.c (nothing1): New function.
19510 (nothing2): New function.
19511 (do_children_tests): Set function pointers by nothing1 and
19512 nothing2.
19513 * gdb.mi/mi-var-display.exp: Update test to match output.
19514 Step to the line specified by $line_dct_nothing.
19515 Increase the number of lines to step.
19516
46a93de2
YQ
195172014-10-14 Yao Qi <yao@codesourcery.com>
19518
19519 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
19520 tests.
19521 * gdb.mi/mi2-var-child.exp: Likewise.
19522
14ea52ee
DE
195232014-10-13 Doug Evans <dje@google.com>
19524
19525 * gdb.python/py-objfile.exp: Change name of file name test.
19526
e5c6e92b
DE
195272014-10-13 Doug Evans <dje@google.com>
19528
19529 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
19530 from the start of the CU.
19531
c780cc2f
JK
195322014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
19533 Yao Qi <yao@codesourcery.com>
19534
19535 Fix "save breakpoints" for "catch" command.
19536 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
19537 Remove -nonewline. Match also the added "main" line.
19538
99894e11
JK
195392014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19540
19541 Fix "save breakpoints" for "disable $bpnum" command.
19542 * gdb.base/save-bp.c (main): Add label.
19543 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
19544
6e1ac5a3
JK
195452014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19546
19547 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
19548
754dd2b0
YQ
195492014-10-11 Yao Qi <yao@codesourcery.com>
19550
19551 * gdb.server/server-kill.exp: Execute command
19552 "set remote trace-status-packet on" before "tstatus".
19553
f90183d7
YQ
195542014-10-11 Yao Qi <yao@codesourcery.com>
19555
19556 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
19557 (main): Call getppid.
19558 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
19559 and continue to it. Read variable "server_pid".
19560
bf40a607
YQ
195612014-10-11 Yao Qi <yao@codesourcery.com>
19562
19563 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
19564
052ca370
YQ
195652014-10-11 Yao Qi <yao@codesourcery.com>
19566
19567 * gdb.threads/thread-find.exp: Don't execute command
19568 "info threads".
19569 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
19570 * gdb.threads/linux-dp.exp: Don't check the condition
19571 $threads_created equals to zero.
19572
3831839c
PA
195732014-10-10 Pedro Alves <palves@redhat.com>
19574
19575 * gdb.base/bigcore.exp: Remove references to IRIX.
19576 * gdb.base/funcargs.exp: Likewise.
19577 * gdb.base/interrupt.exp: Likewise.
19578 * gdb.base/mips_pro.exp: Likewise.
19579 * gdb.base/nodebug.exp: Likewise.
19580 * gdb.base/setvar.exp: Likewise.
19581 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
19582
8b9a549d
PA
195832014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
19584 Pedro Alves <palves@redhat.com>
19585
19586 PR symtab/14466
19587 * gdb.base/vdso-warning.c: New file.
19588 * gdb.base/vdso-warning.exp: New file.
19589
d48ba5e8
DE
195902014-10-02 Doug Evans <dje@google.com>
19591
19592 * gdb.base/structs.c (main): Don't run forever.
19593
2278c276
PA
195942014-10-02 Pedro Alves <palves@redhat.com>
19595
19596 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
19597 (top level) <stop threads 1, stop threads 2>: Use it.
19598
b57bacec
PA
195992014-10-02 Pedro Alves <palves@redhat.com>
19600
19601 * gdb.threads/break-while-running.exp (test): Add new
19602 'update_thread_list' argument. Skip "info threads" if false.
19603 (top level): Add new 'update_thread_list' axis.
19604
13fd3ff3
PA
196052014-10-02 Pedro Alves <palves@redhat.com>
19606
19607 PR breakpoints/17431
19608 * gdb.base/execl-update-breakpoints.c: New file.
19609 * gdb.base/execl-update-breakpoints.exp: New file.
19610
0fec99e8
PA
196112014-10-01 Pedro Alves <palves@redhat.com>
19612
19613 * gdb.base/breakpoint-in-ro-region.c: New file.
19614 * gdb.base/breakpoint-in-ro-region.exp: New file.
19615
2ddf4301
SM
196162014-10-01 Simon Marchi <simon.marchi@ericsson.com>
19617
19618 * gdb.mi/mi-exit-code.exp: New file.
19619 * gdb.mi/mi-exit-code.c: New file.
19620
6a5f3f43
YQ
196212014-09-30 Yao Qi <yao@codesourcery.com>
19622
19623 * lib/prelink-support.exp (build_executable_own_libs): Error if
19624 the target isn't native.
19625
345bcc73
YQ
196262014-09-30 Yao Qi <yao@codesourcery.com>
19627
19628 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
19629 false.
19630
a25a5a45
PA
196312014-09-22 Pedro Alves <palves@redhat.com>
19632
19633 * gdb.threads/break-while-running.exp: New file.
19634 * gdb.threads/break-while-running.c: New file.
19635
00ba3162
YQ
196362014-09-19 Yao Qi <yao@codesourcery.com>
19637
19638 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
19639 Invoke test. Restart GDB with --readnow and invoke test again.
19640
c3b7b696
YQ
196412014-09-19 Yao Qi <yao@codesourcery.com>
19642
19643 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
19644 proc set_breakpoint_on_gcd_function. Invoke
19645 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
19646 invoke set_breakpoint_on_gcd_function again.
19647
2b4fd423
DE
196482014-09-18 Doug Evans <dje@google.com>
19649
19650 * gdb.dwarf2/symtab-producer.exp: New file.
19651
a5947601
SDJ
196522014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
19653
19654 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
19655 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
19656 * gdb.base/global-var-nested-by-dso.c: Likewise.
19657 * gdb.base/global-var-nested-by-dso.exp: Likewise.
19658
91c19059
SDJ
196592014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
19660 Pedro Alves <palves@redhat.com>
19661
19662 * gdb.base/watch-bitfields.exp: Pass string other than test file
19663 name to prepare_for_testing.
19664 (watch): New procedure.
19665 (expect_watchpoint): Use with_test_prefix.
19666 (top level): Factor out tests to ...
19667 (test_watch_location, test_regular_watch): ... these new
19668 procedures, and use with_test_prefix and gdb_continue_to_end.
19669
bb9d5f81
PP
196702014-09-16 Patrick Palka <patrick@parcs.ath.cx>
19671
19672 PR breakpoints/12526
19673 * gdb.base/watch-bitfields.exp: New file.
19674 * gdb.base/watch-bitfields.c: New file.
19675
635856f5
PA
196762014-09-16 Pedro Alves <palves@redhat.com>
19677
19678 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
19679 software and hardware addresses, not software address against
19680 itself.
19681
7280ceea
PA
196822014-09-16 Pedro Alves <palves@redhat.com>
19683
19684 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
19685 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
19686
428b16bd
PA
196872014-09-16 Pedro Alves <palves@redhat.com>
19688
19689 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
19690 files.
19691 * gdb.base/a2-run.exp: Remove all code guarded by istarget
19692 "*-*-vxworks*" throughout.
19693 * gdb.base/break.exp: Likewise.
19694 * gdb.base/default.exp: Likewise.
19695 * gdb.base/scope.exp: Likewise.
19696 * gdb.base/sepdebug.exp: Likewise.
19697 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
19698 throughout.
19699 * gdb.base/run.c: Likewise.
19700 * gdb.base/sepdebug.c: Likewise.
19701 * gdb.hp/gdb.aCC/run.c: Likewise.
19702 * gdb.reverse/until-reverse.c: Likewise.
19703 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
19704
666d413c
YQ
197052014-09-16 Yao Qi <yao@codesourcery.com>
19706
19707 * boards/local-remote-host-native.exp: New file.
19708
57cbd724
DE
197092014-09-14 Doug Evans <xdje42@gmail.com>
19710
19711 * gdb.threads/queue-signal.c (thread_count): New variable.
19712 (thread_count_mutex, thread_count_condvar): New variables.
19713 (incr_thread_count, wait_all_threads_running): New functions.
19714 (main): Wait for all threads to be in their thread functions.
19715
81219e53
DE
197162014-09-13 Doug Evans <xdje42@gmail.com>
19717
19718 * gdb.threads/queue-signal.c: New file.
19719 * gdb.threads/queue-signal.exp: New file.
19720
3714cea7
DE
197212014-09-13 Doug Evans <xdje42@gmail.com>
19722
19723 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
19724 be consistent with what default_gdb_init uses.
19725 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
19726 the plain text of the prompt. Add some logging printfs.
19727 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
19728
fa43b1d7
PA
197292014-09-12 Pedro Alves <palves@redhat.com>
19730
19731 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
19732 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
19733 * gdb.arch/i386-size-overlap.exp: Likewise.
19734 * gdb.arch/i386-size.exp: Likewise.
19735 * gdb.arch/i386-unwind.exp: Likewise.
19736 * gdb.base/a2-run.exp: Likewise.
19737 * gdb.base/break.exp: Likewise.
19738 * gdb.base/charset.exp: Likewise.
19739 * gdb.base/chng-syms.exp: Likewise.
19740 * gdb.base/commands.exp: Likewise.
19741 * gdb.base/dbx.exp: Likewise.
19742 * gdb.base/find.exp: Likewise.
19743 * gdb.base/funcargs.exp: Likewise.
19744 * gdb.base/jit-simple.exp: Likewise.
19745 * gdb.base/reread.exp: Likewise.
19746 * gdb.base/sepdebug.exp: Likewise.
19747 * gdb.base/step-bt.exp: Likewise.
19748 * gdb.cp/mb-inline.exp: Likewise.
19749 * gdb.cp/mb-templates.exp: Likewise.
19750 * gdb.objc/basicclass.exp: Likewise.
19751 * gdb.threads/killed.exp: Likewise.
19752
9d9bf2df
EBM
197532014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19754
19755 PR tdep/17379
19756 * gdb.arch/powerpc-stackless.S: New file.
19757 * gdb.arch/powerpc-stackless.exp: New file.
19758
1cf2f1b0
JK
197592014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19760
19761 * gdb.base/attach.c: Include unistd.h.
19762 (main): Call alarm. Add label postloop.
19763 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
19764 gdb_breakpoint, gdb_continue_to_breakpoint.
19765 (test_command_line_attach_run): Kill ${testpid} in one exit path.
19766
98880d46
PA
197672014-09-11 Pedro Alves <palves@redhat.com>
19768
19769 PR gdb/17347
19770 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
19771 * gdb.base/attach.exp (test_command_line_attach_run): New
19772 procedure.
19773 (top level): Call it.
19774
4c92ff2c
PA
197752014-09-11 Pedro Alves <palves@redhat.com>
19776
19777 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
19778 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
19779 (do_command_attach_tests): Use spawn_wait_for_attach.
19780 * gdb.base/solib-overlap.exp: Likewise.
19781 * gdb.multi/multi-attach.exp: Likewise.
19782 * gdb.python/py-prompt.exp: Likewise.
19783 * gdb.python/py-sync-interp.exp: Likewise.
19784 * gdb.server/ext-attach.exp: Likewise.
19785
3adc1a7d
GKB
197862014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
19787
19788 * gdb.fortran/array-element.exp: Remove unexpected "continue"
19789 command in testcase. Simplify testcase.
19790
96334934
JB
197912014-09-10 Joel Brobecker <brobecker@adacore.com>
19792
19793 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
19794
eb479039
JB
197952014-09-10 Joel Brobecker <brobecker@adacore.com>
19796
19797 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
19798
deede10c
JB
197992014-09-10 Joel Brobecker <brobecker@adacore.com>
19800
19801 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
19802
7828a5f5
JB
198032014-09-10 Joel Brobecker <brobecker@adacore.com>
19804
19805 * gdb.dwarf2/dynarr-ptr.c: New file.
19806 * gdb.dwarf2/dynarr-ptr.exp: New file.
19807
33aeebcf
MR
198082014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19809
19810 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
19811 of 30 rather than hardcoding 120 for a slow test case. Take the
19812 `gdb,timeout' target setting into account for this calculation.
19813 Don't extend the timeout for the test cases that don't need it.
19814
7b415901
MR
198152014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19816
19817 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
19818 a factor of 2 for a slow test case. Take the `gdb,timeout'
19819 target setting into account for this calculation.
19820 * gdb.reverse/until-precsave.exp: Increase the timeout by
19821 a factor of 15 and 3 respectively rather than adding 120
19822 for a pair of slow test cases. Take the `gdb,timeout'
19823 target setting into account for this calculation.
19824
4a40f85a
MR
198252014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19826
19827 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
19828 timeout, don't pass one down to gdb_expect.
19829 (gdb_expect): Rework timeout selection.
19830
09635af7
MR
198312014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19832
19833 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
19834 exception on timeout.
19835 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
19836 (gdbserver_start_extended): Catch any `gdbserver_start' error
19837 exceptions.
19838 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
19839 * lib/mi-support.exp (mi_gdb_target_load): Catch any
19840 `gdbserver_gdb_load' error exceptions.
19841
2bdd10b7
MR
198422014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19843
19844 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
19845 120 on waiting for the TCP socket to open.
19846
316935f0
DE
198472014-09-09 Doug Evans <xdje42@gmail.com>
19848
19849 * gdb.base/default.exp (show_conv_list): Add _caller_is,
19850 _caller_matches, _any_caller_is, _any_caller_matches.
19851
83740597
DE
198522014-09-09 Doug Evans <xdje42@gmail.com>
19853
19854 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
19855
4c122fc3
YQ
198562014-09-09 Yao Qi <yao@codesourcery.com>
19857
19858 * gdb.mi/mi-var-display.exp: Set print symbol off.
19859
a9f116cb
GKB
198602014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
19861
19862 PR gdb/17035
19863 * gdb.base/commands.exp: Add tests to verify user-defined
19864 commands with empty bodies.
19865 * gdb.python/py-cmd.exp: Test that we don't show user-defined
19866 python commands in `show user command`.
19867 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
19868 scheme commands in `show user command`.
19869
c75bd3a2
JK
198702014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19871
19872 PR python/17355
19873 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
19874 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
19875 * gdb.python/py-framefilter-invalidarg.exp: New file.
19876 * gdb.python/py-framefilter-invalidarg.py: New file.
19877
faa42425
DE
198782014-09-06 Doug Evans <xdje42@gmail.com>
19879
19880 PR 15276
19881 * gdb.python/py-caller-is.c: New file.
19882 * gdb.python/py-caller-is.exp: New file.
19883
474ca4f6
SDJ
198842014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
19885
19886 PR gdb/17235
19887 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
19888 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
19889
eb0b0463
SDJ
198902014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
19891
19892 PR fortran/17237
19893 * gdb.fortran/print-formatted.exp: New file.
19894 * gdb.fortran/print-formatted.f90: Likewise.
19895
5f3b99cf
SS
198962014-09-03 Sasha Smundak <asmundak@google.com>
19897
19898 * gdb.python/py-frame.exp: Test Frame.read_register.
19899
7d793aa9
SDJ
199002014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
19901
19902 PR python/16699
19903 * gdb.python/py-completion.exp: New file.
19904 * gdb.python/py-completion.py: Likewise.
19905
fb0576e9
DE
199062014-08-28 Doug Evans <dje@google.com>
19907
19908 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
19909 eax,etc. are live with values set by gdb and thus the compiler can't
19910 use them.
19911 * gdb.arch/i386-pseudo.c (main): Ditto.
19912
ee92b0dd
DE
199132014-08-27 Doug Evans <dje@google.com>
19914
19915 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
19916
6649db35
DE
199172014-08-25 Doug Evans <dje@google.com>
19918
19919 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
19920 (main): Ditto.
19921
564b7600
DE
199222014-08-25 Doug Evans <dje@google.com>
19923
19924 * gdb.threads/thread-execl.exp: #include <stdio.h>.
19925
3881fb67
YQ
199262014-08-24 Yao Qi <yao@codesourcery.com>
19927
19928 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
19929 symbol off.
19930 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
19931
a05a36a5
DE
199322014-08-22 Doug Evans <dje@google.com>
19933
19934 PR 17276
19935 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
19936 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
19937 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
19938
7c343b48
YQ
199392014-08-22 Yao Qi <yao@codesourcery.com>
19940
19941 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
19942 * gdb.python/py-finish-breakpoint2.exp: Likewise.
19943 * gdb.python/python.exp: Likewise. Use .py file on the host
19944 instead of the build.
19945
22fd09ae
JK
199462014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19947
19948 * gdb.threads/gcore-stale-thread.c: New file.
19949 * gdb.threads/gcore-stale-thread.exp: New file.
19950
a8454a7c
PA
199512014-08-21 Pedro Alves <palves@redhat.com>
19952
19953 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
19954 * gdb.base/gcore-relro-pie.exp: Likewise.
19955 * gdb.base/gcore-relro.exp: Likewise.
19956 * gdb.base/gcore.exp: Likewise.
19957 * gdb.base/print-symbol-loading.exp: Likewise.
19958 * gdb.threads/gcore-thread.exp: Likewise.
19959 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
19960
2a31c623
PA
199612014-08-20 Pedro Alves <palves@redhat.com>
19962 Jan Kratochvil <jan.kratochvil@redhat.com>
19963
19964 * Makefile.in (EXTRA_RULES, CC): New variables, get from
19965 configure.
19966 (EXPECT): Handle READ1 being set.
19967 (all): Depend on EXTRA_RULES.
19968 (check-read1, expect-read1, read1.so, read1): New rules.
19969 * README (Testsuite Parameters): Document the READ1 make variable.
19970 (Race detection): New section.
19971 * configure: Regenerate.
19972 * configure.ac: If build==host==target, and running under a
19973 GNU/glibc system, add read1 to the extra Makefile rules.
19974 (EXTRA_RULES): AC_SUBST it.
19975 * lib/read1.c: New file.
19976
d36430db
JB
199772014-08-20 Joel Brobecker <brobecker@adacore.com>
19978
19979 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
19980 the handling of variables declared as a typedef to an array
19981 which a DW_AT_data_location attribute.
19982
9a0dc9e3
PA
199832014-08-19 Andrew Burgess <aburgess@broadcom.com>
19984 Pedro Alves <palves@redhat.com>
19985
19986 PR symtab/14604
19987 PR symtab/14605
19988 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
19989 gdb_test.
19990
0718a8da
PA
199912014-08-19 Pedro Alves <palves@redhat.com>
19992
19993 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
19994
13b448cd
YQ
199952014-08-19 Yao Qi <yao@codesourcery.com>
19996
19997 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
19998 right line.
19999
1cbf5077
DB
200002014-08-18 David Blaikie <dblaikie@gmail.com>
20001
20002 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
20003
bf0fae19
JB
200042014-08-18 Joel Brobecker <brobecker@adacore.com>
20005
20006 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
20007 attribute in array range.
20008
3c8c5dcc
JB
200092014-08-18 Joel Brobecker <brobecker@adacore.com>
20010
20011 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
20012
e66d4446
SC
200132014-08-15 Siva Chandra Reddy <sivachandra@google.com>
20014
20015 PR c++/17132
20016 * gdb.cp/pr17132.cc: New file.
20017 * gdb.cp/pr17132.exp: New file.
20018
940df408
SC
200192014-08-15 Siva Chandra Reddy <sivachandra@google.com>
20020
20021 * gdb.python/py-xmethods.py (A_getarrayind)
20022 (E_method_char_worker.__call__, E_method_int_worker.__call__):
20023 Use 'print' with function call syntax.
20024 (E_method_matcher.match): Fix tab vs space indentation mixup.
20025
ebcc6c3a
YQ
200262014-08-15 Yao Qi <yao@codesourcery.com>
20027
20028 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
20029 false.
20030
775e0f04
YQ
200312014-08-15 Yao Qi <yao@codesourcery.com>
20032
20033 * gdb.cp/casts.exp: Set print symbol off.
20034 * gdb.cp/class2.exp: Likewise.
20035 * gdb.cp/overload.exp: Likewise.
20036 * gdb.cp/templates.exp: Likewise.
20037
d769e349
DE
200382014-08-11 Doug Evans <dje@google.com>
20039
20040 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
20041 (test_load_shlib): Update.
20042
20c6f1e1
YQ
200432014-08-09 Yao Qi <yao@codesourcery.com>
20044
20045 * gdb.base/display.exp: Invoke is_address_zero_readable.
20046 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
20047 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
20048 * gdb.base/hbreak-unmapped.exp: Return if
20049 is_address_zero_readable returns true.
20050 * gdb.base/signest.exp: Likewise.
20051 * gdb.base/signull.exp: Likewise.
20052 * gdb.base/sigbpt.exp: Likewise.
20053 * gdb.guile/scm-disasm.exp: Do the test if
20054 is_address_zero_readable returns false.
20055 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
20056 * gdb.python/py-arch.exp: Likewise.
20057 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
20058 * lib/gdb.exp (is_address_zero_readable): New proc.
20059
5792e8e3
YQ
200602014-08-09 Yao Qi <yao@codesourcery.com>
20061
20062 PR testsuite/13443
20063 * gdb.mi/mi-var-display.exp: Make test messages unique.
20064
3cecbbbe
TT
200652014-08-04 Tom Tromey <tromey@redhat.com>
20066
20067 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
20068 target 0".
20069
00b51ff5
TT
200702014-08-04 Tom Tromey <tromey@redhat.com>
20071
20072 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
20073 "target_resume".
20074
6908c509
JB
200752014-08-01 Joel Brobecker <brobecker@adacore.com>
20076
20077 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
20078 inner_vla_struct_object_size.
20079 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
20080 as xfail.
20081
cc6563d2
PA
200822014-07-30 Pedro Alves <palves@redhat.com>
20083
20084 * gdb.threads/signal-command-handle-nopass.exp (test): Add
20085 comment.
20086
7e09a223
YQ
200872014-07-29 Yao Qi <yao@codesourcery.com>
20088
20089 PR gdb/17206
20090 * gdb.base/until-nodebug.exp: New.
20091
7ebdbe92
DE
200922014-07-28 Doug Evans <xdje42@gmail.com>
20093
20094 PR guile/17203
20095 * gdb.guile/scm-parameter.exp: Add tests for trying to create
20096 previously existing parameter, and previously ambiguously spelled
20097 parameter.
20098
fdb1adc6
WN
200992014-07-28 Will Newton <will.newton@linaro.org>
20100
20101 * gdb.base/varargs.exp: Remove KFAILs for ARM.
20102
186fcde0
DE
201032014-07-26 Ludovic Courtès <ludo@gnu.org>
20104 Doug Evans <xdje42@gmail.com>
20105
20106 PR guile/17146
20107 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
20108
70509625
PA
201092014-07-25 Pedro Alves <palves@redhat.com>
20110
20111 * gdb.threads/signal-command-handle-nopass.c: New file.
20112 * gdb.threads/signal-command-handle-nopass.exp: New file.
20113 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
20114 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
20115 * gdb.threads/signal-delivered-right-thread.c: New file.
20116 * gdb.threads/signal-delivered-right-thread.exp: New file.
20117
c3f814a1
PA
201182014-07-25 Pedro Alves <palves@redhat.com>
20119
20120 * gdb.base/double-prompt-target-event-error.exp
20121 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
20122 match.
20123 (cancel_pagination_in_target_event): Rework double prompt
20124 detection.
20125 * gdb.base/paginate-after-ctrl-c-running.exp
20126 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
20127 <return>' match.
20128 * gdb.base/paginate-bg-execution.exp
20129 (test_bg_execution_pagination_return)
20130 (test_bg_execution_pagination_cancel): Remove '-notransfer
20131 <return>' matches.
20132 * gdb.base/paginate-execution-startup.exp
20133 (test_fg_execution_pagination_return)
20134 (test_fg_execution_pagination_cancel): Remove '-notransfer
20135 <return>' matches.
20136 * gdb.base/paginate-inferior-exit.exp
20137 (test_paginate_inferior_exited): Remove '-notransfer <return>'
20138 match.
20139 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
20140 * lib/gdb.exp (pagination_prompt): Run text through
20141 string_to_regexp.
20142 (gdb_test_multiple): Match $pagination_prompt instead of
20143 "<return>".
20144 (string_to_regexp): Move to lib/gdb-utils.exp.
20145
e214cf6c
JK
201462014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
20147
20148 * gdb.arch/amd64-entry-value-paramref.S: New file.
20149 * gdb.arch/amd64-entry-value-paramref.cc: New file.
20150 * gdb.arch/amd64-entry-value-paramref.exp: New file.
20151 * gdb.arch/amd64-optimout-repeat.S: New file.
20152 * gdb.arch/amd64-optimout-repeat.c: New file.
20153 * gdb.arch/amd64-optimout-repeat.exp: New file.
20154
17d0c5c8
JK
201552014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
20156
20157 PR gdb/17170
20158 * gdb.base/statistics.exp: New file.
20159
b8b8facf
DE
201602014-07-17 Doug Evans <dje@google.com>
20161
74b49205 20162 PR gdb/17170
b8b8facf
DE
20163 * gdb.base/maint.exp: Update testing of per-command stats.
20164
1b5d0ab3
PA
201652014-07-16 Pedro Alves <palves@redhat.com>
20166
20167 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
20168 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
20169 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
20170 (tfile_write_buf): New functions.
20171 (add_memory_block): Rewrite using the above.
20172 (adjust_function_address): New function.
20173 (FUNCTION_ADDRESS): New macro.
20174 (write_basic_trace_file): Remove short_x local, and use
20175 tfile_write_16. Change type of func_addr local to unsigned long
20176 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
20177 here. Cast argument of add_memory_block to char pointer.
20178 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
20179 (main): Remove parameters.
20180 * gdb.trace/tfile.exp: Remove nowarnings.
20181
4d974e88
SM
201822014-07-15 Simon Marchi <simon.marchi@ericsson.com>
20183
20184 * gdb.base/debug-expr.exp: Test string evaluation with
20185 "debug expression" on.
20186
41e99568
PA
201872014-07-15 Pedro Alves <palves@redhat.com>
20188
20189 * gdb.base/reread.exp: Use clean_restart.
20190
487d9753
PL
201912014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
20192
20193 * gdb.arch/avr-flash-qualifer.c: New.
20194 * gdb.arch/avr-flash-qualifer.exp: New.
20195
cc1c52ad
PA
201962014-07-14 Pedro Alves <palves@redhat.com>
20197
20198 * gdb.base/paginate-after-ctrl-c-running.c: New file.
20199 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
20200
1e973570
PA
202012014-07-14 Pedro Alves <palves@redhat.com>
20202
20203 * gdb.base/double-prompt-target-event-error.c: New file.
20204 * gdb.base/double-prompt-target-event-error.exp: New file.
20205
93d6eb10
PA
202062014-07-14 Pedro Alves <palves@redhat.com>
20207
20208 PR gdb/17072
20209 * gdb.base/paginate-inferior-exit.c: New file.
20210 * gdb.base/paginate-inferior-exit.exp: New file.
20211
0017922d
PA
202122014-07-14 Pedro Alves <palves@redhat.com>
20213
20214 PR gdb/17072
20215 * gdb.base/paginate-bg-execution.c: New file.
20216 * gdb.base/paginate-bg-execution.exp: New file.
20217
94696ad3
PA
202182014-07-14 Pedro Alves <palves@redhat.com>
20219
20220 PR gdb/17072
20221 * gdb.base/paginate-execution-startup.c: New file.
20222 * gdb.base/paginate-execution-startup.exp: New file.
20223 * lib/gdb.exp (pagination_prompt): New global.
20224 (default_gdb_spawn): New procedure, factored out from
20225 default_gdb_spawn.
20226 (default_gdb_start): Adjust to call default_gdb_spawn.
20227 (gdb_spawn): New procedure.
20228
bd293940
PA
202292014-07-14 Pedro Alves <palves@redhat.com>
20230
20231 * lib/gdb.exp (gdb_assert): New procedure.
20232 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
20233
c933f875
PA
202342014-07-14 Pedro Alves <palves@redhat.com>
20235
20236 * gdb.base/execution-termios.c: New file.
20237 * gdb.base/execution-termios.exp: New file.
20238
d98b7a16
TT
202392014-07-14 Tom Tromey <tromey@redhat.com>
20240
20241 * gdb.cp/vla-cxx.cc: New file.
20242 * gdb.cp/vla-cxx.exp: New file.
20243
548740d6
TT
202442014-07-14 Tom Tromey <tromey@redhat.com>
20245
20246 * gdb.reverse/rerun-prec.c: New file.
20247 * gdb.reverse/rerun-prec.exp: New file.
20248
a25eb028
MR
202492014-07-12 Maciej W. Rozycki <macro@mips.com>
20250 Maciej W. Rozycki <macro@codesourcery.com>
20251
20252 * lib/gdb-utils.exp: New file.
20253 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
20254 inline `gdb_init_command' processing.
20255 (gdb_start_cmd): Likewise.
20256 * lib/mi-support.exp (mi_run_cmd): Likewise.
20257 * README: Document `gdb_init_command' and `gdb_init_commands'.
20258
218c2655
JK
202592014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20260
20261 Fix false FAIL running under a very long directory name.
20262 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
20263 and "set print elements 10000". Twice.
20264
5401fde3
YQ
202652014-07-11 Yao Qi <yao@codesourcery.com>
20266
20267 * gdb.base/exprs.exp: "set print symbol off".
20268
e76126e8
PA
202692014-07-11 Pedro Alves <palves@redhat.com>
20270
20271 * gdb.threads/kill.c: New file.
20272 * gdb.threads/kill.exp: New file.
20273
2d6f0de6
YQ
202742014-07-10 Yao Qi <yao@codesourcery.com>
20275
20276 * gdb.trace/tfile.c (write_basic_trace_file)
20277 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
20278 address written to trace file.
20279
7180e04a
PA
202802014-07-09 Pedro Alves <palves@redhat.com>
20281
20282 * gdb.base/attach-wait-input.exp: New file.
20283 * gdb.base/attach-wait-input.c: New file.
20284
9a9a7608
AB
202852014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
20286
20287 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
20288 setting up test structures.
20289 (main): Call new test function.
20290 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
20291 test function, continue into test function and walk test
20292 structures.
20293
161ac41e
YQ
202942014-07-02 Yao Qi <yao@codesourcery.com>
20295
20296 * gdb.trace/entry-values.c: Define labels 'foo_start' and
20297 'bar_start' at the beginning of functions 'foo' and 'bar'
20298 respectively.
20299 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
20300 instead of 'foo' and 'bar'.
20301
1f267ae3
MM
203022014-07-08 Markus Metzger <markus.t.metzger@intel.com>
20303
20304 * gdb.btrace/segv.exp: New.
20305 * gdb.btrace/segv.c: New.
20306
2b239efb
LM
203072014-07-02 Luis Machado <lgustavo@codesourcery.com>
20308
20309 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
20310 instruction.
20311
cf363f18
MW
203122014-06-30 Mark Wielaard <mjw@redhat.com>
20313
20314 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
20315 vulture, vilify, villar): New volatile array constants.
20316 (vindictive, vegetation): New const volatile array constants.
20317 * gdb.base/volatile.exp: Test volatile and const volatile array
20318 types.
20319
aebf9d24
AA
203202014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
20321
20322 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
20323 target lacks support for awatch, rwatch, or hbreak.
20324
b67a2c6f
YQ
203252014-06-27 Yao Qi <yao@codesourcery.com>
20326
20327 * gdb.multi/dummy-frame-restore.exp: New.
20328 * gdb.multi/dummy-frame-restore.c: New.
20329
aef92902
MM
203302014-06-25 Markus Metzger <markus.t.metzger@intel.com>
20331
20332 * gdb.btrace/gcore.exp: New.
20333
8e9db26e
PA
203342014-06-23 Pedro Alves <palves@redhat.com>
20335
20336 * gdb.base/watchpoint-reuse-slot.c: New file.
20337 * gdb.base/watchpoint-reuse-slot.exp: New file.
20338
70afc5b7
SC
203392014-06-23 Siva Chandra Reddy <sivachandra@google.com>
20340
20341 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
20342 progspace's filename in 'info', 'enable' and 'disable' command
20343 tests.
20344
b972bd9c
JK
203452014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
20346
20347 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
20348 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
20349 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
20350
125f8a3d
GB
203512014-06-20 Gary Benson <gbenson@redhat.com>
20352
20353 * gdb.arch/i386-avx.exp: Fix include file location.
20354 * gdb.arch/i386-sse.exp: Likewise.
20355
3ed9baed
IB
203562014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
20357
20358 * gdb.dlang/expression.exp: New file.
20359
034f788c
PA
203602014-06-19 Pedro Alves <palves@redhat.com>
20361
20362 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
20363 out from ...
20364 (top level): ... here. Iterate running tests under different
20365 scheduler-locking settings.
20366
45371d0c
LM
203672014-06-18 Luis Machado <lgustavo@codesourcery.com>
20368
20369 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
20370 to DW_FORM_addr and use non-zero addresses.
20371
5d376983
SC
203722014-06-18 Siva Chandra Reddy <sivachandra@google.com>
20373
20374 PR gdb/17017
20375 * gdb.python/py-xmethods.cc: Add global function call counters and
20376 increment them in their respective functions. Remove "cout"
20377 statements.
20378 * gdb.python/py-xmethods.exp: Make tests check the global function
20379 call counters instead of depending on inferior IO.
20380
a1aa2221
LM
203812014-06-18 Don Breazeal <donb@codesourcery.com>
20382
20383 * gdb.base/foll-fork.exp (default_fork_parent_follow):
20384 Deleted procedure.
20385 (explicit_fork_parent_follow): Deleted procedure.
20386 (explicit_fork_child_follow): Deleted procedure.
20387 (test_follow_fork): New procedure.
20388 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 20389 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
20390 procedure calls.
20391
0fc05997
YQ
203922014-06-17 Yao Qi <yao@codesourcery.com>
20393
20394 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
20395 CP1252.
20396
70795c52
LM
203972014-06-17 Luis Machado <lgustavo@codesourcery.com>
20398
20399 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
20400 Initialize ptr and S explicitly.
20401 (skip_type_update_when_not_use_rtti_test): Likewise.
20402
6be47f0c
KS
204032014-06-16 Keith Seitz <keiths@redhat.com>
20404
20405 PR mi/15863
20406 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
20407 the inferior is started.
20408
d03de421
PA
204092014-06-16 Pedro Alves <palves@redhat.com>
20410
20411 * gdb.base/break-main-file-remove-fail.c: New file.
20412 * gdb.base/break-main-file-remove-fail.exp: New file.
20413 * gdb.base/break-unload-file.exp: Use build_executable instead of
20414 prepare_for_testing.
20415 (test_break): New parameter "initial_load". Handle it.
20416 (top level): Add initial_load cmdline/file axis.
20417
f9579b99
TT
204182014-06-12 Tom Tromey <tromey@redhat.com>
20419
20420 * gdb.base/completion.exp: Don't use directory name in test.
20421
3657956b
GB
204222014-06-09 Gary Benson <gbenson@redhat.com>
20423
20424 * gdb.base/sigall.c [Functions to send signals]: Reorder to
20425 separate the always-available ANSI-standard signals from the
20426 signals that require checking.
20427 (main): Likewise.
20428 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
20429 Likewise.
20430 (main): Likewise.
20431
4186eb54
KS
204322014-06-07 Keith Seitz <keiths@redhat.com>
20433
20434 Revert:
20435 PR c++/16253
20436 * gdb.cp/var-tag.cc: New file.
20437 * gdb.cp/var-tag.exp: New file.
20438 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
20439 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
20440 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
20441 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
20442
25326a28 204432014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
20444
20445 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
20446
829155c9
PA
204472014-06-06 Pedro Alves <palves@redhat.com>
20448
20449 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
20450 in target debug output instead of looking at RSP packets,
20451 disabling the test on any target that uses hardware stepping.
20452 Update comments.
20453
61c8d22e
PA
204542014-06-06 Pedro Alves <palves@redhat.com>
20455
20456 * gdb.base/break-unload-file.exp: Fix typo.
20457
d9a47287
YQ
204582014-06-06 Yao Qi <yao@codesourcery.com>
20459
20460 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
20461 from "jit_function" to "^jit_function".
20462
e5e01dbf
YQ
204632014-06-06 Yao Qi <yao@codesourcery.com>
20464
20465 * gdb.base/async.c (foo): Add one statement.
20466 * gdb.base/async.exp: Get the next instruction address and
20467 match the output of "nexti" by instruction address. Match
20468 the hex address in the output of "finish".
20469
73ba372c
GB
204702014-06-06 Gary Benson <gbenson@redhat.com>
20471
20472 * gdb.base/call-signals.c: Remove preprocessor conditionals
20473 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
20474 SIGSEGV and SIGTERM.
20475 * gdb.base/sigall.c: Likewise.
20476 * gdb.base/unwindonsignal.c: Likewise.
20477 * gdb.reverse/sigall-reverse.c: Likewise.
20478
831517df
YQ
204792014-06-06 Yao Qi <yao@codesourcery.com>
20480
20481 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
20482 readable, skip the test.
20483
b8b91e98
YQ
204842014-06-06 Yao Qi <yao@codesourcery.com>
20485
20486 * gdb.threads/staticthreads.c (thread_function): Move the line
20487 setting breakpoint on forward.
20488 * gdb.threads/staticthreads.exp: Update comments.
20489
fb934770
LC
204902014-06-05 Ludovic Courtès <ludo@gnu.org>
20491
20492 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
20493 "history-append! type error".
20494
6ef284bd
SM
204952014-06-05 Simon Marchi <simon.marchi@ericsson.com>
20496
20497 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
20498 erroneous dprintf expected input.
20499
a872e241
DE
205002014-06-04 Doug Evans <xdje42@gmail.com>
20501
20502 * gdb.guile/scm-generics.exp: Delete.
20503
16f691fb
DE
205042014-06-04 Doug Evans <xdje42@gmail.com>
20505
20506 * gdb.guile/scm-breakpoint.exp: Update.
20507 Add tests for breakpoint registration.
20508
012370f6
TT
205092014-06-04 Tom Tromey <tromey@redhat.com>
20510
20511 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
20512 VLA-in-union.
20513 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
20514 inner_vla_struct, vla_union types. Initialize objects of those
20515 types and compute their sizes.
20516
9f5a4cef
HZ
205172014-06-04 Nathan Sidwell <nathan@codesourcery.com>
20518 Hui Zhu <hui@codesourcery.com>
20519
20520 * gdb.base/fileio.exp: Add test for shell not available as well as
20521 available.
20522 * gdb.base/fileio.c (test_system): Check for shell twice.
20523
90a45c4d
YQ
205242014-06-04 Yao Qi <yao@codesourcery.com>
20525
20526 * gdb.base/auto-connect-native-target.exp: Remove redundant
20527 space from the regexp pattern.
20528
70017e41
YQ
205292014-06-04 Yao Qi <yao@codesourcery.com>
20530
20531 * gdb.base/default.exp: Replace "child" with "native" in
20532 regexp pattern.
20533
883964a7
SC
205342014-06-03 Siva Chandra Reddy <sivachandra@google.com>
20535
20536 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
20537 * gdb.python/py-xmethods.exp: New tests to test xmethods.
20538 * gdb.python/py-xmethods.py: Python script supporting the
20539 new testcase and tests.
20540
ef370185
JB
205412014-06-03 Joel Brobecker <brobecker@adacore.com>
20542 Pedro Alves <palves@redhat.com>
20543
20544 PR breakpoints/17000
20545 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
20546 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
20547
1e2ccb61
BM
205482014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
20549
20550 * gdb.base/subst.exp: Add tests to verify partial path matching
20551 output.
20552
c6ec5ab2
PA
205532014-06-03 Pedro Alves <palves@redhat.com>
20554
20555 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
20556 target that doesn't use software single-stepping.
20557
835c559f
PA
205582014-06-03 Pedro Alves <palves@redhat.com>
20559
20560 PR breakpoints/17000
20561 * gdb.base/sss-bp-on-user-bp-2.c: New file.
20562 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
20563
06eb1586
DE
205642014-06-02 Doug Evans <xdje42@gmail.com>
20565
20566 * gdb.guile/scm-parameter.exp: New file.
20567
e698b8c4
DE
205682014-06-02 Doug Evans <xdje42@gmail.com>
20569
20570 * gdb.guile/scm-cmd.c: New file.
20571 * gdb.guile/scm-cmd.exp: New file.
20572
ded03782
DE
205732014-06-02 Doug Evans <xdje42@gmail.com>
20574
20575 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
20576 pretty-printer lookup.
20577 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
20578 (make-pp_s-printer): Call it.
20579 (make-pretty-printer-from-dict): New function.
20580 (lookup-pretty-printer-maker-from-dict): New function.
20581 (*pretty-printer*): Simplify.
20582 (make-objfile-pp_s-printer): New function.
20583 (install-objfile-pretty-printers!): New function.
20584 (make-progspace-pp_s-printer): New function.
20585 (install-progspace-pretty-printers!): New function.
20586 * gdb.guile/scm-progspace.c: New file.
20587 * gdb.guile/scm-progspace.exp: New file.
20588
41fac0cf
PA
205892014-06-02 Pedro Alves <palves@redhat.com>
20590
20591 * gdb.base/dprintf-bp-same-addr.c: New file.
20592 * gdb.base/dprintf-bp-same-addr.exp: New file.
20593
96ae5695
EBM
205942014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20595
20596 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
20597 * gdb.arch/powerpc-power.s: Likewise.
20598
da02b3a8
JB
205992014-06-02 Joel Brobecker <brobecker@adacore.com>
20600
20601 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
20602
c72b2e7b
YQ
206032014-06-01 Yao Qi <yao@codesourcery.com>
20604
20605 * gdb.base/watchpoint.exp (test_watch_location): Check null
20606 pointer can be dereferenced. If not, do the test, otherwise
20607 skip it.
20608
53e8a631
AB
206092014-05-30 Andrew Burgess <aburgess@broadcom.com>
20610
20611 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
20612 results.
20613 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
20614
938f0e2f
AB
206152014-05-30 Andrew Burgess <aburgess@broadcom.com>
20616
20617 * gdb.arch/amd64-invalid-stack-middle.S: New file.
20618 * gdb.arch/amd64-invalid-stack-middle.c: New file.
20619 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
20620 * gdb.arch/amd64-invalid-stack-top.c: New file.
20621 * gdb.arch/amd64-invalid-stack-top.exp: New file.
20622
9ba6657a
PA
206232014-05-30 Pedro Alves <palves@redhat.com>
20624
20625 PR breakpoints/17000
20626 * gdb.base/sss-bp-on-user-bp.c: New file.
20627 * gdb.base/sss-bp-on-user-bp.exp: New file.
20628
522c09bf
DB
206292014-05-30 David Blaikie <dblaikie@gmail.com>
20630
20631 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
20632 gnu_inline semantics via attribute.
20633 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
20634 source explicitly specifies the required semantics.
20635
bf4ef81e
MR
206362014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
20637
20638 * gdb.reverse/sigall-reverse.exp: Fix a typo.
20639
329ea579
PA
206402014-05-29 Pedro Alves <palves@redhat.com>
20641 Tom Tromey <tromey@redhat.com>
20642
20643 * gdb.base/async-shell.exp: Don't enable target-async.
20644 * gdb.base/async.exp
20645 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
20646 parameter. Adjust.
20647 (top level): Don't test with "target-async".
20648 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
20649 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
20650 * gdb.base/inferior-died.exp: Don't enable target-async.
20651 * gdb.base/interrupt-noterm.exp: Likewise.
20652 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
20653 * gdb.mi/mi-nonstop-exit.exp: Likewise.
20654 * gdb.mi/mi-nonstop.exp: Likewise.
20655 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
20656 * gdb.mi/mi-nsintrall.exp: Likewise.
20657 * gdb.mi/mi-nsmoribund.exp: Likewise.
20658 * gdb.mi/mi-nsthrexec.exp: Likewise.
20659 * gdb.mi/mi-watch-nonstop.exp: Likewise.
20660 * gdb.multi/watchpoint-multi.exp: Adjust comment.
20661 * gdb.python/py-evsignal.exp: Don't enable target-async.
20662 * gdb.python/py-evthreads.exp: Likewise.
20663 * gdb.python/py-prompt.exp: Likewise.
20664 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
20665 * gdb.server/solib-list.exp: Don't enable target-async.
20666 * gdb.threads/thread-specific-bp.exp: Likewise.
20667 * lib/mi-support.exp: Adjust to use mi-async.
20668
fd664c91
PA
206692014-05-29 Pedro Alves <palves@redhat.com>
20670
20671 PR gdb/13860
20672 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
20673 reason, even in sync mode.
20674
251bde03
PA
206752014-05-29 Pedro Alves <palves@redhat.com>
20676 Hui Zhu <hui@codesourcery.com>
20677
20678 PR PR15693
20679 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
20680 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
20681 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
20682 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
20683
7f3c0343
JB
206842014-05-28 Joel Brobecker <brobecker@adacore.com>
20685
20686 * config/monitor.exp (gdb_target_monitor): Replace use of
20687 "set remotebaud" by "set serial baud".
20688
b2715b27
AW
206892014-05-26 Andy Wingo <wingo@igalia.com>
20690
20691 * gdb.guile/scm-breakpoint.exp:
20692 * gdb.guile/scm-gsmob.exp: Update to use plain old object
20693 properties instead of gdb-object-properties.
20694
498a4489
YQ
206952014-05-26 Yao Qi <yao@codesourcery.com>
20696
20697 * gdb.server/no-thread-db.exp: Specify source file name
20698 explicitly when setting a breakpoint.
20699
589fdceb
MM
207002014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20701
20702 * gdb.btrace/vdso.c: New.
20703 * gdb.btrace/vdso.exp: New.
20704
e9089e05
MM
207052014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20706
20707 * gdb.base/gcore.exp (capture_command_output): Move ...
20708 * lib/gdb.exp (capture_command_output): ... here.
20709
67b5c0c1
MM
207102014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20711
20712 * gdb.btrace/data.exp: Test memory access during btrace replay.
20713
a2199296
SM
207142014-05-22 Simon Marchi <simon.marchi@ericsson.com>
20715
20716 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
20717
17b2616c
PA
207182014-05-21 Pedro Alves <palves@redhat.com>
20719
20720 PR gdb/13860
20721 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
20722 (top level): Test that output related to execution commands is
20723 sent to the console with CLI commands, but not with MI commands.
20724 Test that breakpoint events are always mirrored to the console.
20725 Also expect the new source line to be output after a "next" in
20726 async mode too. Make it a pass/fail test.
20727 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
20728 output.
20729 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
20730
5166082f
PA
207312014-05-21 Pedro Alves <palves@redhat.com>
20732
20733 * gdb.base/list.exp (build_pattern, test_list): New procedures.
20734 Use them to test variations of "list" after reaching a breakpoint.
20735 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
20736 Test "list" with listsize 10 after reaching a breakpoint.
20737 * gdb.python/python.exp (decode_line current location line
20738 number): Adjust expected line number.
20739
2f25d70f
SM
207402014-05-21 Simon Marchi <simon.marchi@ericsson.com>
20741
20742 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
20743 behavior for $args, pass it directly to "run".
20744
ff604a67
MR
207452014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
20746
20747 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
20748 30000 to 65536.
20749
6a3cb8e8
PA
207502014-05-21 Pedro Alves <palves@redhat.com>
20751
20752 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
20753 auto-connect-native-target off".
20754 * gdb.base/auto-connect-native-target.c: New file.
20755 * gdb.base/auto-connect-native-target.exp: New file.
20756
4ebfc96e
PA
207572014-05-21 Pedro Alves <palves@redhat.com>
20758
20759 * gdb.base/default.exp: Test "target native" instead of "target
20760 child".
20761
36d46afb
MW
207622014-05-21 Mark Wielaard <mjw@redhat.com>
20763
20764 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
20765
5876f503
JK
207662014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20767
20768 Fix TLS access for -static -pthread.
20769 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
20770 <HAVE_TLS> (thread_function, main): Initialize it.
20771 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
20772 Add clean_restart.
20773 <$have_tls != "">: Check TLSVAR.
20774
0256a6ac
PA
207752014-05-21 Pedro Alves <palves@redhat.com>
20776
20777 * gdb.base/dcache-line-read-error.c: New.
20778 * gdb.base/dcache-line-read-error.exp: New.
20779
936d2992
PA
207802014-05-20 Pedro Alves <palves@redhat.com>
20781
20782 * gdb.base/compare-sections.c: New file.
20783 * gdb.base/compare-sections.exp: New file.
20784
802e8e6d
PA
207852014-05-20 Pedro Alves <palves@redhat.com>
20786
20787 * gdb.base/break-idempotent.c: New file.
20788 * gdb.base/break-idempotent.exp: New file.
20789
e59fa00f
MM
207902014-05-20 Markus Metzger <markus.t.metzger@intel.com>
20791
20792 * gdb.btrace/nohist.exp: New.
20793
8b696e31
YQ
207942014-05-20 Yao Qi <yao@codesourcery.com>
20795
20796 * lib/gdb.exp (gdb_init): Set timeout if test file is under
20797 gdb.reverse directory and gdb_reverse_timeout exists in board
20798 setting.
20799 * README: Document gdb_reverse_timeout.
20800
73c9764f
YQ
208012014-05-20 Yao Qi <yao@codesourcery.com>
20802
20803 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
20804 'test_file_name'. Treat args as a string instead of a list.
20805 (gdb_init): Rename argument 'args' by 'test_file_name'.
20806
f1f4348a
JK
208072014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
20808
20809 * gdb.arch/powerpc-power.exp: New file.
20810 * gdb.arch/powerpc-power.s: New file.
20811
0dbe70ce
DE
208122014-05-16 Doug Evans <dje@google.com>
20813
20814 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
20815 * gdb.base/completion.exp: Check that all expected files exist
20816 before doing file completion.
0dbe70ce 20817
8d551b02
DE
208182014-05-16 Doug Evans <dje@google.com>
20819
20820 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
20821 Update.
20822 (do_syscall_tests_without_xml): Update.
20823
73eb7709
PA
208242014-05-16 Pedro Alves <palves@redhat.com>
20825
20826 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
20827 instead of "unknown output after running".
20828
3fae92fc
YQ
208292014-05-16 Yao Qi <yao@codesourcery.com>
20830
20831 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
20832 file1.txt from host at the end.
20833 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
20834
c2b2ccc5
DE
208352014-05-15 Doug Evans <dje@google.com>
20836
20837 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
20838 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
20839 loading file. Add test for TU lookup.
20840
8c217a4b
SM
208412014-05-15 Simon Marchi <simon.marchi@ericsson.com>
20842
20843 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
20844 calling "-exec-arguments" or "set args" before running the
20845 inferior.
20846
3deb39c6
SM
208472014-05-15 Simon Marchi <simon.marchi@ericsson.com>
20848
20849 * lib/mi-support.exp (mi_expect_stop): Expect message for
20850 inferiors that exit with non-zero exit code.
20851
71a79f8c
YQ
208522014-05-14 Yao Qi <yao@codesourcery.com>
20853
20854 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
20855 match absolute path on remote host.
20856 (test_file_list_exec_source_files): Remove "/" from the
20857 pattern.
20858
f23fcd46
YQ
208592014-05-14 Yao Qi <yao@codesourcery.com>
20860
20861 * boards/local-remote-host-notty.exp (${board}_file): New
20862 proc.
20863
9404b58f
KM
208642014-05-07 Kyle McMartin <kyle@redhat.com>
20865
20866 Pushed by Joel Brobecker <brobecker@adacore.com>.
20867 * gdb.arch/aarch64-atomic-inst.c: New file.
20868 * gdb.arch/aarch64-atomic-inst.exp: New file.
20869
5e45f04c
YQ
208702014-05-07 Yao Qi <yao@codesourcery.com>
20871
20872 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
20873 in current context" too.
20874
c888a17d
KS
208752014-05-05 Keith Seitz <keiths@redhat.com>
20876
20877 * gdb.linespec/ls-dollar.exp: Add test for linespec
20878 file:convenience_variable.
20879
290a839c
YQ
208802014-05-05 Yao Qi <yao@codesourcery.com>
20881
20882 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
20883 traceframes into tfile and ctf trace files. Read data from
20884 trace file and test collected data.
20885 (gdb_collect_locals_test): Likewise.
20886 (gdb_unavailable_registers_test): Likewise.
20887 (gdb_unavailable_floats): Likewise.
20888 (gdb_collect_globals_test): Likewise.
20889 (top-level): Append "ctf" to trace_file_targets if GDB
20890 supports.
20891
b5262cd0
YQ
208922014-05-05 Yao Qi <yao@codesourcery.com>
20893
20894 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
20895 code to ...
20896 (gdb_collect_args_test_1): ... it. New proc.
20897 (gdb_collect_locals_test): Move some code to ...
20898 (gdb_collect_locals_test_1): ... it. New proc.
20899 (gdb_unavailable_registers_test): Move some code to ...
20900 (gdb_unavailable_registers_test_1): ... it. New proc.
20901 (gdb_unavailable_floats): Move some code to ...
20902 (gdb_unavailable_floats_1): ... it. New proc.
20903
30a1e6cc
SDJ
209042014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
20905
20906 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
20907 probes to test for bitness recognition.
20908 * gdb.arch/amd64-stap-optional-prefix.exp
20909 (test_probe_value_without_reg): New procedure.
20910 Add code to test for different kinds of bitness.
20911
f33da99a
SDJ
209122014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
20913
20914 PR breakpoints/16889
20915 * gdb.arch/amd64-stap-optional-prefix.S: New file.
20916 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
20917
5b80f00d
PA
209182014-05-01 Pedro Alves <palves@redhat.com>
20919
20920 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
20921 gdb_file_cmd if no file is specified.
20922 * boards/native-extended-gdbserver.exp (gdb_load): Use the
20923 last_loaded_file to set the remote exec-file.
20924
f8c2a73c
PA
209252014-05-01 Pedro Alves <palves@redhat.com>
20926
20927 * boards/local-remote-host.exp: New file.
20928
be6e8ac7
PA
209292014-05-01 Pedro Alves <palves@redhat.com>
20930
20931 * boards/local-remote-host.exp: Rename to ...
20932 * boards/local-remote-host-notty.exp: ... this.
20933
cac0dc8f
JB
209342014-04-28 Joel Brobecker <brobecker@adacore.com>
20935
20936 * gdb.ada/dyn_arrayidx: New testcase.
20937
9730e6cc
YQ
209382014-04-26 Yao Qi <yao@codesourcery.com>
20939
20940 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
20941 and compute the length of function main. Save it in
20942 $main_length.
20943 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
20944 (top-level): Use gdb_compile to compile objects into
20945 executable and restart GDB. Remove invocation to
20946 prepare_for_testing.
20947
7ae1a6a6
PA
209482014-04-25 Simon Marchi <simon.marchi@ericsson.com>
20949 Pedro Alves <palves@redhat.com>
20950
20951 PR server/16255
20952 * gdb.multi/multi-attach.c: New file.
20953 * gdb.multi/multi-attach.exp: New file.
20954
4082afcc
PA
209552014-04-25 Pedro Alves <palves@redhat.com>
20956
20957 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
20958 user.
20959 (top level): Test that "set remote conditional-breakpoints-packet
20960 off" works as intended.
20961 * gdb.base/dprintf.exp: Test that "set remote
20962 breakpoint-commands-packet off" works as intended.
20963 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
20964 New function.
20965 (top level): Call it.
20966 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
20967 remote fast-tracepoints-packet off" works as intended.
20968 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
20969 * lib/gdb.exp (gdb_is_target_remote): ... here.
20970
2abc3f8d
DB
209712014-04-24 David Blaikie <dblaikie@gmail.com>
20972
20973 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
20974 ensure clang would not discard them.
20975 * gdb.base/gdbvars.c: Ditto.
20976 * gdb.base/memattr.c: Ditto.
20977 * gdb.base/whatis.c: Ditto.
20978 * gdb.python/py-prettyprint.c: Ditto.
20979 * gdb.trace/actions.c: Ditto.
20980 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
20981 ensure clang would not discard it.
20982
bfd39632
DB
209832014-04-24 David Blaikie <dblaikie@gmail.com>
20984
20985 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
20986 clang to emit the full definition of type required by the test
20987 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
20988
22842ff6
DB
209892014-04-24 David Blaikie <dblaikie@gmail.com>
20990
20991 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
20992 coax Clang into emitting the definition of the type.
20993 * gdb.cp/pr10728-x.h (y): Ditto.
20994 * gdb.cp/pr10728-y.cc (y): Ditto.
20995
c2e827ad
DB
209962014-04-24 David Blaikie <dblaikie@gmail.com>
20997
20998 * gdb.base/label.exp: XFAIL label related tests under Clang.
20999 * gdb.cp/cplabel.exp: Ditto.
21000 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
21001 under Clang those using labels.
21002
4c2d33e7
YQ
210032014-04-25 Yao Qi <yao@codesourcery.com>
21004
21005 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
21006 double_label.
21007 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
21008 partial_label and double_label.
21009
56083b99
DB
210102014-04-24 David Blaikie <dblaikie@gmail.com>
21011
21012 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
21013
25d4e99d
DB
210142014-04-24 David Blaikie <dblaikie@gmail.com>
21015
21016 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
21017 of the function to work across GCC and Clang.
21018 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
21019 pointer types (const void ** const V void **).
21020
01f9f808
MS
210212014-04-24 Michael Sturm <michael.sturm@mintel.com>
21022 Walfred Tedeschi <walfred.tedeschi@intel.com>
21023
21024 * Makefile.in (EXECUTABLES): Added i386-avx512.
21025 * gdb.arch/i386-avx512.c: New file.
21026 * gdb.arch/i386-avx512.exp: Likewise.
21027
4b48d439
KS
210282014-04-23 Keith Seitz <keiths@redhat.com>
21029
21030 * lib/mi-support.exp (mi_list_breakpoints): Delete.
21031 (mi_make_breakpoint_table): New procedure.
21032 (mi_create_breakpoint): Use mi_make_breakpoint
21033 and return the result.
21034 (mi_make_breakpoint): New procedure.
21035 (mi_build_kv_pairs): New procedure.
21036
21037 * gdb.mi/mi-break.exp: Remove unused globals,
21038 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
21039 All callers updated.
21040 * gdb.mi/mi-dprintf.exp: Use variable to track command
21041 number.
21042 Update all callers of mi_create_breakpoint and use
21043 mi_make_breakpoint_table.
21044 Remove any unused global variables.
21045 * gdb.mi/mi-nonstop.exp: Likewise.
21046 * gdb.mi/mi-nsintrall.exp: Likewise.
21047 * gdb.mi/mi-nsmoribund.exp: Likewise.
21048 * gdb.mi/mi-nsthrexec.exp: Likewise.
21049 * gdb.mi/mi-reverse.exp: Likewise.
21050 * gdb.mi/mi-simplerun.exp: Likewise.
21051 * gdb.mi/mi-stepn.exp: Likewise.
21052 * gdb.mi/mi-syn-frame.exp: Likewise.
21053 * gdb.mi/mi-until.exp: Likewise.
21054 * gdb.mi/mi-var-cp.exp: Likewise.
21055 * gdb.mi/mi-var-display.exp: Likewise.
21056 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
21057 * gdb.mi/mi2-var-child.exp: Likewise.
21058 * gdb.mi/mi-vla-c99.exp: Likewise.
21059 * lib/mi-support.exp: Likewise.
21060
21061 From Ian Lance Taylor <iant@cygnus.com>:
21062 * lib/gdb.exp (parse_args): New procedure.
21063
08351840
PA
210642014-04-23 Pedro Alves <palves@redhat.com>
21065
21066 * gdb.base/break-unload-file.c: New file.
21067 * gdb.base/break-unload-file.exp: New file.
21068 * gdb.base/sym-file-lib.c (baz): New function.
21069 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
21070 field.
21071 (load): Store the segment's mapped size.
21072 (unload): New function.
21073 (unload_shlib): New function.
21074 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
21075 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
21076 set a breakpoint at baz, and call it.
21077 * gdb.base/sym-file.exp: New tests for stale breakpoint
21078 instructions.
21079
076855f9
PA
210802014-04-23 Pedro Alves <palves@redhat.com>
21081
21082 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
21083 * gdb.base/hbreak-in-shr-unsupported.c: New file.
21084 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
21085 * gdb.base/hbreak-unmapped.c: New file.
21086 * gdb.base/hbreak-unmapped.exp: New file.
21087 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
21088 * lib/gdb.exp (gdb_is_target_remote): ... here.
21089
483805cf
PA
210902014-04-22 Pedro Alves <palves@redhat.com>
21091
21092 * gdb.base/consecutive-step-over.c: New file.
21093 * gdb.base/consecutive-step-over.exp: New file.
21094
06d97543
PA
210952014-04-22 Pedro Alves <palves@redhat.com>
21096
21097 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
21098 instead of send_gdb/gdb_expect.
21099
b4429ea2
YQ
211002014-04-22 Yao Qi <yao@codesourcery.com>
21101
21102 * lib/trace-support.exp (generate_tracefile): New procedure.
21103 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
21104 return 0.
21105 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
21106 if generate_tracefile returns 1.
21107
51d48146
PA
211082014-04-18 Tom Tromey <palves@redhat.com>
21109 Pedro alves <tromey@redhat.com>
21110
21111 PR backtrace/15558
21112 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
21113 with a backtrace limit.
21114 * gdb.python/py-frame-inline.exp: Test running to an inline
21115 function with a backtrace limit, and printing the newest frame.
21116 * gdb.python/py-frame-inline.c (main): Call f.
21117
bd1dce5f
MS
211182014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
21119
21120 * gdb.java/jnpe.exp: Drop srcdir from untested path.
21121
40d1a503
MS
211222014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
21123
21124 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
21125 Drop prefix from unsupported source file path.
21126
389b98f7
YQ
211272014-04-17 Yao Qi <yao@codesourcery.com>
21128
21129 * lib/gdb.exp (with_target_charset): New proc.
21130 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
21131 with_target_charset.
21132 (test_print_strings): Likewise.
21133 (test_repeat_bytes): Likewise.
21134 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
21135 for some tests.
21136
22869d73
KS
211372014-04-16 Keith Seitz <keiths@redhat.com>
21138
21139 PR gdb/15827
21140 * gdb.dwarf2/corrupt.c: New file.
21141 * gdb.dwarf2/corrupt.exp: New file.
21142
c4f87ca6
KS
211432014-04-16 Keith Seitz <keiths@redhat.com>
21144
21145 PR c++/16597
21146 * gdb.cp/namelessclass.cc: New file.
21147 * gdb.cp/namelessclass.exp: New file.
21148 * gdb.cp/namelessclass.S: New file.
21149
ab19de87
DE
211502014-04-16 Doug Evans <dje@google.com>
21151
21152 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
21153 Add comment.
21154 (gdbserver_default_get_comm_port): New function.
21155 (gdbserver_start): Check if board file provided
21156 "gdbserver,get_comm_port" and use it if so.
21157 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
21158 (gdb,socketport): Set to "stdio".
21159 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
21160 (stdio_gdbserver_template): Delete.
21161 (${board}_get_remote_address): Update.
21162 (${board}_build_remote_cmd): Delete.
21163 (${board}_get_comm_port): New function.
21164 (${board}_spawn): Update.
21165 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
21166 Delete.
21167 (${board}_get_remote_address): Update.
21168 (${board}_get_comm_port): New function.
21169
fc98a809
AB
211702014-04-16 Andrew Burgess <aburgess@broadcom.com>
21171
21172 * gdb.base/memattr.exp: Improve regexps to handle memory regions
21173 appearing in any order.
21174
87fd9e6e
DE
211752014-04-15 Doug Evans <dje@google.com>
21176
21177 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
21178 uninitialized value of "description".
21179
099fc3ea
KS
211802014-04-15 Keith Seitz <keiths@redhat.com>
21181
21182 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
21183 Remove unused globals.
21184 (test_running_the_program): Likewise.
21185 (test_controlled_execution): Likewise.
21186 (test_controlling_breakpoints): Likewise.
21187 (test_program_termination): Likewise.
21188
5da151d4
KS
211892014-04-15 Keith Seitz <keiths@redhat.com>
21190
21191 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
21192 unused globals.
21193 (test_rbreak_creation_and_listing): Likewise.
21194 (test_ignore_count): Likewise.
21195 (test_error): Likewise.
21196
35e5d2f0
PA
211972014-04-15 Pedro Alves <palves@redhat.com>
21198
21199 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
21200 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
21201 sym-file-loader.c.
21202 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
21203 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
21204 to sym-file-loader.c.
21205 (struct library): Forward declare.
21206 (load_shlib, lookup_function): Change prototypes.
21207 (find_shstrtab, find_strtab, find_shdr, find_symtab)
21208 (translate_offset): Remove declarations.
21209 (get_text_addr): New declaration.
21210 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
21211 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
21212 sym-file-loader.h.
21213 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
21214 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
21215 here from sym-file-loader.h.
21216 (struct library): New structure.
21217 (load_shlib, lookup_function): Change prototypes and adjust to
21218 work with a struct library.
21219 (find_shstrtab, find_strtab, find_shdr, find_symtab)
21220 (translate_offset): Make static.
21221 (get_text_addr): New function.
21222 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
21223
eb4c1710
PA
212242014-04-15 Pedro Alves <palves@redhat.com>
21225
21226 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
21227
2d1baf52
PA
212282014-04-15 Pedro Alves <palves@redhat.com>
21229
21230 * gdb.base/sym-file-loader.c: Include <limits.h>.
21231 (SELF_LINK): New define.
21232 (get_origin): New function.
21233 (load_shlib): Use it.
21234 * gdb.base/sym-file.exp: Don't early return if the target is
21235 remote. Use runto_main, and issue fail is that fails. Use
21236 gdb_load_shlibs.
21237 (shlib_name): Delete.
21238 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
21239
7dd6df01
PA
212402014-04-15 Pedro Alves <palves@redhat.com>
21241
21242 * gdb.base/sym-file.exp: Remove regex characters from test
21243 message. Don't refer to breakpoint numbers in test messages.
21244
b50c8614
KS
212452014-04-14 Keith Seitz <keiths@redhat.com>
21246
21247 PR c++/16253
21248 * gdb.cp/var-tag.cc: New file.
21249 * gdb.cp/var-tag.exp: New file.
21250 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
21251 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
21252 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
21253 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
21254
3d567982
TT
212552014-04-14 Tom Tromey <tromey@redhat.com>
21256
21257 * gdb.cp/classes.exp (test_enums): Handle underlying type.
21258 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
21259 type.
21260 * gdb.cp/enum-class.exp: New file.
21261 * gdb.cp/enum-class.cc: New file.
21262
0626fc76
TT
212632014-04-14 Tom Tromey <tromey@redhat.com>
21264
21265 * gdb.dwarf2/enum-type.exp: New file.
21266
dca325b3
SA
212672014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21268
21269 * gdb.mi/mi-vla-c99.exp: New file.
21270 * gdb.mi/vla.c: New file.
21271
5854b38a
SA
212722014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21273
21274 * gdb.base/vla-datatypes.c: New file.
21275 * gdb.base/vla-datatypes.exp: New file.
21276
463bb957
SA
212772014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21278
21279 * gdb.base/vla-ptr.c: New file.
21280 * gdb.base/vla-ptr.exp: New file.
21281
3dd170be
SA
212822014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21283
21284 * gdb.dwarf2/count.exp: New file.
21285
5ecaaa66
SA
212862014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21287
21288 * gdb.base/vla-sideeffect.c: New file.
21289 * gdb.base/vla-sideeffect.exp: New file.
21290
41f1ada5
DB
212912014-04-14 David Blaikie <dblaikie@gmail.com>
21292
21293 * gdb.mi/non-stop.c: Add return value for non-void function return
21294 statement.
21295 * gdb.threads/staticthreads.c: Ditto.
21296
0be03e84
DE
212972014-04-12 Siva Chandra Reddy <sivachandra@google.com>
21298 Doug Evans <xdje42@gmail.com>
21299
21300 * gdb.guile/scm-value.c: Improve test case.
21301 * gdb.guile/scm-value.exp: Add new test.
21302
f180a1fb
DB
213032014-04-11 David Blaikie <dblaikie@gmail.com>
21304
21305 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
21306 override Clang's default.
21307
6b662e19
JB
213082014-04-11 Joel Brobecker <brobecker@adacore.com>
21309
21310 Revert the following changes (regressions):
21311
21312 * gdb.base/vla-sideeffect.c: New file.
21313 * gdb.base/vla-sideeffect.exp: New file.
21314
21315 * gdb.dwarf2/count.exp: New file.
21316
21317 * gdb.base/vla-multi.c: New file.
21318 * gdb.base/vla-multi.exp: New file.
21319
21320 * gdb.base/vla-ptr.c: New file.
21321 * gdb.base/vla-ptr.exp: New file.
21322
21323 * gdb.base/vla-datatypes.c: New file.
21324 * gdb.base/vla-datatypes.exp: New file.
21325
21326 * gdb.mi/mi-vla-c99.exp: New file.
21327 * gdb.mi/vla.c: New file.
21328
245a5f0b
KS
213292014-04-11 Keith Seitz <keiths@redhat.com>
21330
21331 PR c++/16675
21332 * gdb.cp/cpsizeof.exp: New file.
21333 * gdb.cp/cpsizeof.cc: New file.
21334
58a84dcf
SA
213352014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21336
191a8a90
JB
21337 * gdb.mi/mi-vla-c99.exp: New file.
21338 * gdb.mi/vla.c: New file.
58a84dcf 21339
c8655f75
SA
213402014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21341
21342 * gdb.base/vla-datatypes.c: New file.
21343 * gdb.base/vla-datatypes.exp: New file.
21344
024e13b4
SA
213452014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21346
21347 * gdb.base/vla-ptr.c: New file.
21348 * gdb.base/vla-ptr.exp: New file.
21349
1a237e0e
SA
213502014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21351
21352 * gdb.base/vla-multi.c: New file.
21353 * gdb.base/vla-multi.exp: New file.
21354
504f3432
SA
213552014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21356
21357 * gdb.dwarf2/count.exp: New file.
21358
3bce8237
SA
213592014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21360
191a8a90
JB
21361 * gdb.base/vla-sideeffect.c: New file.
21362 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 21363
322f9c21
YQ
213642014-04-11 Yao Qi <yao@codesourcery.com>
21365
21366 * gdb.base/completion.exp: Check file exists before running tests
21367 on file completion.
21368
d708bcd1
PA
213692014-04-10 Pedro Alves <palves@redhat.com>
21370
21371 * gdb.base/cond-eval-mode.c: New file.
21372 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
21373 prepare_for_testing to build the new file. Check result of
21374 runto_main.
21375 (test_break, test_watch): New procedures.
21376 (top level): Use them.
21377
ae1d2761
PM
213782014-04-08 Pierre Muller <muller@sourceware.org>
21379
21380 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
21381 Ctrl-V use for mingw hosts.
21382
7af389b8
SC
213832014-04-07 Siva Chandra Reddy <sivachandra@google.com>
21384
21385 * gdb.python/py-value.c: Improve test case.
21386 * gdb.python/py-value.exp: Add new test.
21387
5e703181
DE
213882014-04-07 David Blaikie <dblaikie@gmail.com>
21389
21390 * lib/compiler.c: Identify the clang compiler.
21391 * lib/compiler.cc: Ditto.
21392
9810b410
YQ
213932014-04-03 Yao Qi <yao@codesourcery.com>
21394
21395 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
21396
98d1b8dc
AB
213972014-04-01 Anton Blanchard <anton@samba.org>
21398
21399 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
21400 messages unique.
21401
3114cea1
AB
214022014-04-01 Anton Blanchard <anton@samba.org>
21403
21404 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
21405 prepare_for_testing.
21406
62f7182c
AB
214072014-04-01 Anton Blanchard <anton@samba.org>
21408
21409 * gdb.arch/ppc64-atomic-inst.c: Remove.
21410 * gdb.arch/ppc64-atomic-inst.S: New file.
21411 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
21412
770e7fc7
DE
214132014-03-31 Doug Evans <dje@google.com>
21414
21415 * gdb.base/print-symbol-loading-lib.c: New file.
21416 * gdb.base/print-symbol-loading-main.c: New file.
21417 * gdb.base/print-symbol-loading.exp: New file.
21418
46e2bafa
YQ
214192014-03-31 Yao Qi <yao@codesourcery.com>
21420
21421 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
21422
8776cfe9
JB
214232014-03-28 Joel Brobecker <brobecker@adacore.com>
21424
21425 * gdb.ada/mi_dyn_arr: New testcase.
21426
5d1ef361
DE
214272014-03-27 Doug Evans <dje@google.com>
21428
21429 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
21430
b5bee914
YQ
214312014-03-27 Yao Qi <yao@codesourcery.com>
21432
21433 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
21434 if target is nios2-*-*.
21435
0d4d0e77
YQ
214362014-03-26 Yao Qi <yao@codesourcery.com>
21437
21438 * lib/gdb.exp (readline_is_used): New proc.
21439 * gdb.base/completion.exp: Move tests on command complete up.
21440 Skip the rest of tests if readline is not used.
21441 * gdb.ada/complete.exp: Skp the test if readline is not
21442 used.
21443 * gdb.base/filesym.exp: Likewise.
21444 * gdb.base/macscp.exp: Likewise.
21445 * gdb.base/readline-ask.exp: Likewise.
21446 * gdb.base/readline.exp: Likewise.
21447 * gdb.python/py-cmd.exp: Likewise.
21448 * gdb.trace/tfile.exp: Likewise.
21449
29361eee
YQ
214502014-03-26 Yao Qi <yao@codesourcery.com>
21451
21452 * gdb.base/macscp.exp: Fix code format issues.
21453
bc9a5525
UW
214542014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
21455
21456 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
21457 * gdb.asm/powerpc64le.inc: New file.
21458
d3839ede
PA
214592014-03-25 Pedro Alves <palves@redhat.com>
21460 Doug Evans <dje@google.com>
21461
21462 * gdb.base/source-execution.c: New file.
21463 * gdb.base/source-execution.exp: New file.
21464 * gdb.base/source-execution.gdb: New file.
21465
01672a57
DE
214662014-03-24 Doug Evans <dje@google.com>
21467
21468 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
21469 using fission.
21470
88bbeca9
HZ
214712014-03-24 Hui Zhu <hui@codesourcery.com>
21472 Pedro Alves <palves@redhat.com>
21473
21474 PR breakpoints/16101
21475 * gdb.base/dprintf.exp: Use unsupported rather than changing the
21476 test pass/fail messages. Detect missing support for dprintf when
21477 breakpoints are actually inserted.
21478 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
21479 breakpoints are actually inserted.
21480 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
21481 fails.
21482
d2348791
JK
214832014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
21484
21485 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
21486
feef67ab
DE
214872014-03-22 Doug Evans <xdje42@gmail.com>
21488
21489 * gdb.python/python.exp (python not supported): Verify multi-line
21490 python command issues an error.
25d743f9 21491 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 21492 guile command issues an error.
feef67ab 21493
ecebef6a
MR
214942014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
21495
21496 * gdb.threads/thread-specific.exp: Handle the lack of usable
21497 $this_breakpoint and $this_thread.
21498
ccdd1909
HZ
214992014-03-21 Hui Zhu <hui@codesourcery.com>
21500
21501 * gdb.base/attach.exp (do_command_attach_tests): New.
21502
beb460e8
PA
215032014-03-20 Tom Tromey <tromey@redhat.com>
21504 Pedro Alves <palves@redhat.com>
21505
21506 PR cli/15718
21507 * gdb.base/condbreak-call-false.c: New file.
21508 * gdb.base/condbreak-call-false.exp: New file.
21509
40acf43a
PA
215102014-03-20 Pedro Alves <palves@redhat.com>
21511
21512 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
21513 Delete.
21514 (block_signals, unblock_signals): Delete.
21515 (child_function_2, main): Remove references to deleted variable
21516 and functions.
21517
9f5e1e02
PA
215182014-03-20 Pedro Alves <palves@redhat.com>
21519
21520 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
21521 Use pthread_kill to signal thread 2.
21522 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21523 Adjust to make the test send itself a signal rather than using the
21524 host's "kill" command.
21525
99619bea
PA
215262014-03-20 Pedro Alves <palves@redhat.com>
21527
21528 * gdb.threads/multiple-step-overs.c: New file.
21529 * gdb.threads/multiple-step-overs.exp: New file.
21530 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21531 Adjust expected infrun debug output.
21532
2adfaa28
PA
215332014-03-20 Pedro Alves <palves@redhat.com>
21534
21535 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
21536 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
21537
31e77af2
PA
215382014-03-20 Pedro Alves <palves@redhat.com>
21539
21540 PR breakpoints/7143
21541 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
21542 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
21543 of gdb_test_multiple.
21544 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
21545 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
21546
b9f437de
PA
215472014-03-20 Pedro Alves <palves@redhat.com>
21548
21549 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
21550 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
21551
05adc73e
PA
215522014-03-19 Pedro Alves <palves@redhat.com>
21553
21554 * gdb.base/async.exp: Remove early return.
21555
6048b950
PA
215562014-03-19 Pedro Alves <palves@redhat.com>
21557
21558 * gdb.base/async.exp (step& tests): Pass explicit test messages.
21559
8bcfb00a
PA
215602014-03-19 Pedro Alves <palves@redhat.com>
21561
21562 * gdb.base/async.exp (test_background): Expect \r\n after
21563 "completed." in the fail pattern.
21564
884e37dc
PA
215652014-03-19 Pedro Alves <palves@redhat.com>
21566
21567 * gdb.base/async.exp (test_background): New procedure.
21568 Use it for all background execution command tests.
21569
148e57e2
PA
215702014-03-19 Pedro Alves <palves@redhat.com>
21571
21572 * gdb.base/async.exp: Use prepare_for_testing.
21573
f48088c7
PA
215742014-03-19 Pedro Alves <palves@redhat.com>
21575
21576 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
21577 the same line.
21578
e2f6c966
PA
215792014-03-19 Pedro Alves <palves@redhat.com>
21580
21581 * gdb.base/async.c (main): Add "jump here" and "until here" line
21582 marker comments.
21583 * gdb.base/async.exp (jump_here): New global.
21584 (jump& test): Use it.
21585 (until_here): New global.
21586 (until& test): Use it.
21587
c30568d4
PA
215882014-03-19 Pedro Alves <palves@redhat.com>
21589
21590 * gdb.base/async.exp: Don't frob gdb_protocol.
21591
0172b6a7
DE
215922014-03-18 Doug Evans <xdje42@gmail.com>
21593
21594 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
21595 Fix spelling of exec-done-display.
21596
06c868a8
JK
215972014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
21598
21599 PR gdb/15358
21600 * gdb.base/gdb-sigterm.c: New file.
21601 * gdb.base/gdb-sigterm.exp: New file.
21602
0c7e1a46
PA
216032014-03-18 Pedro Alves <palves@redhat.com>
21604
21605 PR gdb/13860
21606 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
21607 * lib/mi-support.exp (mi_expect_stop): Add special handling for
21608 solib-event.
21609
f7c77d93
JB
216102014-03-17 Joel Brobecker <brobecker@adacore.com>
21611
21612 * gdb.ada/pckd_arr_ren: New testcase.
21613
5a1e8c7a
DE
216142014-03-13 Doug Evans <xdje42@gmail.com>
21615
21616 PR guile/16612
21617 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
21618 collect after discarding symbols.
21619
350e1a76
DE
216202014-03-13 Ludovic Courtès <ludo@gnu.org>
21621 Doug Evans <xdje42@gmail.com>
21622
21623 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
21624 to history survives a gc.
21625
a69900ae
PA
216262014-03-13 Pedro Alves <palves@redhat.com>
21627
21628 * gdb.base/default.exp: Don't test "target procfs".
21629
5db9f0bd
PA
216302014-03-13 Pedro Alves <palves@redhat.com>
21631
21632 * gdb.base/default.exp: Update "target child" and "target procfs"
21633 tests to not expect "Unix".
21634
b3ccfe11
TT
216352014-03-12 Tom Tromey <tromey@redhat.com>
21636
21637 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
21638 New procs. Add target-async tests.
21639 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
21640 Add target-async tests.
21641
646f4417
AA
216422014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21643
21644 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
21645 'func_start' and 'func_end' for the beginning and end of the
21646 function code, respectively.
21647 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
21648 'func_end' instead of 'func' and 'main'.
21649
288c211f
AA
216502014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21651
21652 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
21653 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
21654 generate the debug info assembler source.
21655
e0c0f156
AA
216562014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21657
21658 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
21659 * gdb.dwarf2/arr-subrange.exp: Likewise.
21660 * gdb.dwarf2/dwz.exp: Likewise.
21661 * gdb.dwarf2/method-ptr.exp: Likewise.
21662 * gdb.dwarf2/missing-sig-type.exp: Likewise.
21663 * gdb.dwarf2/subrange.exp: Likewise.
21664 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
21665 * gdb.dwarf2/implptrpiece.exp: Likewise.
21666 * gdb.dwarf2/nostaticblock.exp: Likewise.
21667
0e5c4555
AA
216682014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21669
21670 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
21671 directory to absolute path name arguments.
21672
5ec18f2b
JG
216732014-03-10 Joel Brobecker <brobecker@adacore.com>
21674
21675 * gdb.ada/tagged_access: New testcase.
21676
847fc4f2
MM
216772014-03-07 Markus Metzger <markus.t.metzger@intel.com>
21678
21679 * gdb.btrace/data.exp: Update expected output.
21680
cc3da688
YQ
216812014-03-06 Yao Qi <yao@codesourcery.com>
21682
21683 * gdb.trace/pr16508.exp: New file.
21684
0f26cec1
PA
216852014-03-05 Pedro Alves <palves@redhat.com>
21686
21687 PR gdb/16575
21688 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
21689 procedure.
21690 (top level): Adjust to use it. Add tests that exercise breakpoint
21691 interaction with the code-cache.
21692
7a5a839f
LC
216932014-02-26 Ludovic Courtès <ludo@gnu.org>
21694
21695 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
21696 test for 'history-append!'.
21697
31aa7e4e
JB
216982014-02-26 Joel Brobecker <brobecker@adacore.com>
21699
21700 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
21701 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
21702 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
21703 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
21704 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
21705 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
21706
1b588015
JB
217072014-02-26 Joel Brobecker <brobecker@adacore.com>
21708
21709 * testsuite/gdb.python/py-pp-re-notag.c: New file.
21710 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
21711 * testsuite/gdb.python/py-pp-re-notag.p: New file.
21712
55426c9d
JB
217132014-02-26 Joel Brobecker <brobecker@adacore.com>
21714
21715 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
21716
dc53a7ad
JB
217172014-02-26 Joel Brobecker <brobecker@adacore.com>
21718
21719 * gdb.dwarf2/arr-stride.c: New file.
21720 * gdb.dwarf2/arr-stride.exp: New file.
21721
12ab52e9
PA
217222014-02-26 Pedro Alves <palves@redhat.com>
21723
21724 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
21725 that won't ever trigger. Make sure that GDB reports the correct
21726 breakpoint that caused the stop.
21727
849c862e
JK
217282014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
21729
21730 PR gdb/16626
21731 * gdb.base/auto-load-script: New file.
21732 * gdb.base/auto-load.c: New file.
21733 * gdb.base/auto-load.exp: New file.
21734
71b7d793
JK
21735 PR gdb/16626
21736 * gdb.base/auto-load.exp: Fix out-of-srctree run.
21737
e2f0d509
JK
217382014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
21739
21740 Fix dw2-icycle.exp -fsanitize=address GDB crash.
21741 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
21742
50cc37c8
DE
217432014-02-24 Doug Evans <dje@google.com>
21744
21745 * lib/gdb.exp (run_on_host): Log error output if program fails.
21746
ea4758f2
PA
217472014-02-21 Pedro Alves <palves@redhat.com>
21748
21749 * gdb.threads/step-after-sr-lock.c: Rename to ...
21750 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
21751 * gdb.threads/step-after-sr-lock.exp: Rename to ...
21752 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21753 ... this.
21754
d7b30f67
SDJ
217552014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
21756
21757 PR tdep/16397
21758 * gdb.arch/amd64-stap-special-operands.exp: New file.
21759 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
21760 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
21761 * gdb.arch/amd64-stap-triplet.S: Likewise.
21762 * gdb.arch/amd64-stap-triplet.c: Likewise.
21763
83deb43f
JB
217642014-02-20 Joel Brobecker <brobecker@adacore.com>
21765
21766 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
21767 in .section pseudo-op.
21768
adde2bff
DE
217692014-02-20 lin zuojian <manjian2006@gmail.com>
21770 Joel Brobecker <brobecker@adacore.com>
21771 Doug Evans <xdje42@gmail.com>
21772
21773 PR symtab/16581
21774 * gdb.dwarf2/dw2-icycle.S: New file.
21775 * gdb.dwarf2/dw2-icycle.c: New file.
21776 * gdb.dwarf2/dw2-icycle.exp: New file.
21777
f7bd0f78
SC
217782014-02-19 Siva Chandra Reddy <sivachandra@google.com>
21779
21780 * gdb.python/py-value-cc.cc: Improve test case to enable testing
21781 operations on gdb.Value objects.
21782 * gdb.python/py-value-cc.exp: Add new test to test operations on
21783 gdb.Value objects.
21784
c17ef0d5
DE
217852014-02-18 Doug Evans <dje@google.com>
21786
21787 * Makefile.in (TESTS): New variable.
21788 (expanded_tests, expanded_tests_or_none): New variables
21789 (check-single): Pass $(expanded_tests_or_none) to runtest.
21790 (check-parallel): Only run tests in $(TESTS) if non-empty.
21791 (check/no-matching-tests-found): New rule.
21792 * README: Document TESTS makefile variable.
21793
5dd3176f
DE
217942014-02-18 Doug Evans <dje@google.com>
21795
21796 * Makefile.in (check-parallel): rm -rf outputs temp.
21797
0b10be4f
JK
217982014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21799
21800 Fix "ERROR: no fileid for" in the testsuite.
21801 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
21802
85f224e7
DE
218032014-02-12 Doug Evans <dje@google.com>
21804
21805 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
21806 (MISCELLANEOUS): New variable.
21807 (clean): rm -rf $(MISCELLANEOUS).
21808 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
21809 dwp live in the same directory as symlinks, with each symlink pointed
21810 to a differently named file in a different directory.
21811
149b30ff
DE
218122014-02-11 Doug Evans <dje@google.com>
21813
21814 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
21815 of Tcl file commands.
21816
1dfdac32
MK
218172014-02-10 Mark Kettenis <kettenis@gnu.org>
21818
21819 * gdb.threads/step-after-sr-lock.exp: Avoid executing
21820 "kill -SIGUSR1 -1".
21821
aa4fb036
JB
218222014-02-10 Joel Brobecker <brobecker@adacore.com>
21823
21824 * gdb.ada/tick_length_array_enum_idx: New testcase.
21825
ed3ef339
DE
218262014-02-10 Doug Evans <xdje42@gmail.com>
21827
21828 * configure.ac (AC_OUTPUT): Add gdb.guile.
21829 * configure: Regenerate.
21830 * lib/gdb-guile.exp: New file.
21831 * lib/gdb.exp (get_target_charset): New function.
21832 * gdb.base/help.exp: Update expected output from "apropos apropos".
21833 * gdb.guile/Makefile.in: New file.
21834 * gdb.guile/guile.exp: New file.
21835 * gdb.guile/scm-arch.c: New file.
21836 * gdb.guile/scm-arch.exp: New file.
21837 * gdb.guile/scm-block.c: New file.
21838 * gdb.guile/scm-block.exp: New file.
21839 * gdb.guile/scm-breakpoint.c: New file.
21840 * gdb.guile/scm-breakpoint.exp: New file.
21841 * gdb.guile/scm-disasm.c: New file.
21842 * gdb.guile/scm-disasm.exp: New file.
21843 * gdb.guile/scm-equal.c: New file.
21844 * gdb.guile/scm-equal.exp: New file.
21845 * gdb.guile/scm-error.exp: New file.
21846 * gdb.guile/scm-error.scm: New file.
21847 * gdb.guile/scm-frame-args.c: New file.
21848 * gdb.guile/scm-frame-args.exp: New file.
21849 * gdb.guile/scm-frame-args.scm: New file.
21850 * gdb.guile/scm-frame-inline.c: New file.
21851 * gdb.guile/scm-frame-inline.exp: New file.
21852 * gdb.guile/scm-frame.c: New file.
21853 * gdb.guile/scm-frame.exp: New file.
21854 * gdb.guile/scm-generics.exp: New file.
21855 * gdb.guile/scm-gsmob.exp: New file.
21856 * gdb.guile/scm-iterator.c: New file.
21857 * gdb.guile/scm-iterator.exp: New file.
21858 * gdb.guile/scm-math.c: New file.
21859 * gdb.guile/scm-math.exp: New file.
21860 * gdb.guile/scm-objfile-script-gdb.in: New file.
21861 * gdb.guile/scm-objfile-script.c: New file.
21862 * gdb.guile/scm-objfile-script.exp: New file.
21863 * gdb.guile/scm-objfile.c: New file.
21864 * gdb.guile/scm-objfile.exp: New file.
21865 * gdb.guile/scm-ports.exp: New file.
21866 * gdb.guile/scm-pretty-print.c: New file.
21867 * gdb.guile/scm-pretty-print.exp: New file.
21868 * gdb.guile/scm-pretty-print.scm: New file.
21869 * gdb.guile/scm-section-script.c: New file.
21870 * gdb.guile/scm-section-script.exp: New file.
21871 * gdb.guile/scm-section-script.scm: New file.
21872 * gdb.guile/scm-symbol.c: New file.
21873 * gdb.guile/scm-symbol.exp: New file.
21874 * gdb.guile/scm-symtab-2.c: New file.
21875 * gdb.guile/scm-symtab.c: New file.
21876 * gdb.guile/scm-symtab.exp: New file.
21877 * gdb.guile/scm-type.c: New file.
21878 * gdb.guile/scm-type.exp: New file.
21879 * gdb.guile/scm-value-cc.cc: New file.
21880 * gdb.guile/scm-value-cc.exp: New file.
21881 * gdb.guile/scm-value.c: New file.
21882 * gdb.guile/scm-value.exp: New file.
21883 * gdb.guile/source2.scm: New file.
21884 * gdb.guile/types-module.cc: New file.
21885 * gdb.guile/types-module.exp: New file.
21886
7026a7c1
YQ
218872014-02-10 Yao Qi <yao@codesourcery.com>
21888
21889 PR testsuite/16543
21890 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
21891 * configure: Regenerated.
21892 * Makefile.in: New file.
21893
6c466447
AS
218942014-02-08 Andreas Schwab <schwab@linux-m68k.org>
21895
21896 * gdb.python/py-framefilter.exp: Fix typo.
21897
6e854735
YQ
218982014-02-08 Yao Qi <yao@codesourcery.com>
21899
21900 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
21901 that no =breakpoint-modified is emitted when breakpoints are
21902 modified through MI commands.
21903
d137e6dc
PA
219042014-02-07 Pedro Alves <pedro@codesourcery.com>
21905 Pedro Alves <palves@redhat.com>
21906
21907 * gdb.threads/step-after-sr-lock.c: New file.
21908 * gdb.threads/step-after-sr-lock.exp: New file.
21909
b5ee5a50
PA
219102014-02-07 Pedro Alves <palves@redhat.com>
21911
21912 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
21913
3c77faf3
JK
219142014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
21915
21916 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
21917 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
21918
6dddc817
DE
219192014-02-06 Doug Evans <xdje42@gmail.com>
21920
21921 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
21922 output.
21923
21924 * gdb.gdb/python-interrupts.exp: New file.
21925
de7b2893
YQ
219262014-02-05 Yao Qi <yao@codesourcery.com>
21927
21928 * gdb.trace/report.exp (use_collected_data): Test the output
21929 of "info threads" and "info inferiors".
21930
66d032ac
YQ
219312014-02-05 Yao Qi <yao@codesourcery.com>
21932
21933 Revert this patch:
21934
21935 2013-05-24 Yao Qi <yao@codesourcery.com>
21936
21937 * gdb.trace/tfile.exp: Test inferior and thread.
21938
591a12a1
UW
219392014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21940
21941 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
21942 on a function.
21943 * gdb.base/step-bt.c: Call hello via function pointer to make
21944 sure its first instruction is executed on powerpc64le-linux.
21945
0ff3e01f
UW
219462014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21947
21948 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
21949
084ee545
UW
219502014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21951
21952 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
21953 of the test patterns for use on little-endian systems.
21954
6ed14ff3
UW
219552014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21956
21957 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
21958 (decimal_vector): Fix for little-endian.
21959
401e27fd
JM
219602014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
21961
21962 * gdb.arch/sparc-sysstep.exp: New file.
21963 * gdb.arch/sparc-sysstep.c: Likewise.
21964
21965 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
21966
8b924729
EBM
219672014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21968
21969 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
21970
fb151210
JB
219712014-01-23 Tom Tromey <tromey@redhat.com>
21972
21973 * gdb.ada/array_char_idx: New testcase.
21974
0740f8d8
TT
219752014-01-23 Tom Tromey <tromey@redhat.com>
21976
21977 PR python/16487:
21978 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
21979 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
21980 classes.
21981
21909fa1
TT
219822014-01-23 Tom Tromey <tromey@redhat.com>
21983
21984 PR python/16491:
21985 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
21986 string from an inferior frame.
21987 * gdb.python/py-framefilter-mi.exp: Update.
21988
87ce2a04
DE
219892014-01-22 Doug Evans <dje@google.com>
21990
21991 * gdb.server/server-mon.exp: Add tests for "set debug-format".
21992
237b092b
AA
219932014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21994
21995 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
21996
d674a709
AA
219972014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21998
21999 * gdb.trace/entry-values.exp: Remove excess space character from
22000 regex patterns. Handle s390 call instruction.
22001
20fa3390
AA
220022014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22003
22004 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
22005 define "*_start" label. Make "name" static.
22006 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
22007 ${name} by references to ${name}_start.
22008
78466714
AA
220092014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22010
22011 * gdb.base/info-macros.exp: Remove "debug" from the compile
22012 options.
22013
ec9f644a
IB
220142014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22015
22016 * gdb.dlang/demangle.exp: New file.
22017
94b1b47e
IB
220182014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22019
22020 * gdb.dlang/primitive-types.exp: New file.
22021
7f420862
IB
220222014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22023
22024 * configure.ac: Create gdb.dlang/Makefile.
22025 * configure: Regenerate.
22026 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
22027 * gdb.dlang/Makefile.in: New file.
22028 * lib/d-support.exp: New file.
22029 * lib/gdb.exp (skip_d_tests): New proc.
22030
52834460
MM
220312014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22032
22033 * gdb.btrace/delta.exp: Check reverse stepi.
22034 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
22035 * gdb.btrace/finish.exp: New.
22036 * gdb.btrace/next.exp: New.
22037 * gdb.btrace/nexti.exp: New.
22038 * gdb.btrace/record_goto.c: Add comments.
22039 * gdb.btrace/step.exp: New.
22040 * gdb.btrace/stepi.exp: New.
22041 * gdb.btrace/multi-thread-step.c: New.
22042 * gdb.btrace/multi-thread-step.exp: New.
22043 * gdb.btrace/rn-dl-bind.c: New.
22044 * gdb.btrace/rn-dl-bind.exp: New.
22045 * gdb.btrace/data.c: New.
22046 * gdb.btrace/data.exp: New.
22047 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
22048
6e07b1d2
MM
220492014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22050
22051 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
22052 * gdb.btrace/exception.exp: Update.
22053 * gdb.btrace/instruction_history.exp: Update.
22054 * gdb.btrace/record_goto.exp: Update.
22055 * gdb.btrace/tailcall.exp: Update.
22056 * gdb.btrace/unknown_functions.exp: Update.
22057 * gdb.btrace/delta.exp: New.
22058
0b722aec
MM
220592014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22060
22061 * gdb.btrace/record_goto.exp: Add backtrace test.
22062 * gdb.btrace/tailcall.exp: Add backtrace test.
22063
066ce621
MM
220642014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22065
22066 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
22067 * gdb.btrace/record_goto.c: New.
22068 * gdb.btrace/record_goto.exp: New.
22069 * gdb.btrace/x86-record_goto.S: New.
22070
0688d04e
MM
220712014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22072
22073 * gdb.btrace/function_call_history.exp: Update tests.
22074 * gdb.btrace/instruction_history.exp: Update tests.
22075
8710b709
MM
220762014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22077
22078 * gdb.btrace/function_call_history.exp: Fix expected field
22079 order for "record function-call-history".
22080 Add new tests for "record function-call-history /c".
22081 * gdb.btrace/exception.cc: New.
22082 * gdb.btrace/exception.exp: New.
22083 * gdb.btrace/tailcall.exp: New.
22084 * gdb.btrace/x86-tailcall.S: New.
22085 * gdb.btrace/x86-tailcall.c: New.
22086 * gdb.btrace/unknown_functions.c: New.
22087 * gdb.btrace/unknown_functions.exp: New.
22088 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
22089
5de9129b
MM
220902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22091
22092 * gdb.btrace/instruction_history.exp: Update.
22093 * gdb.btrace/function_call_history.exp: Update.
22094
23a7fe75
MM
220952014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22096
22097 * gdb.btrace/function_call_history.exp: Fix expected function
22098 trace.
22099 * gdb.btrace/instruction_history.exp: Initialize traced.
22100 Remove traced_functions.
22101
724c7dd8
MM
221022014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22103
22104 * gdb.btrace/function_call_history.exp: Update
22105 * gdb.btrace/instruction_history.exp: Update.
22106
6d78d93b
MM
221072014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22108
22109 * gdb.btrace/enable.exp: Update expected text.
22110
93a360cc
OJ
221112014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
22112
22113 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
22114 bytes.
22115
3772b53f
MR
221162014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
22117
22118 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
22119
596662fa
OJ
221202014-01-15 Omair Javaid <omair.javaid@linaro.org>
22121
22122 * lib/gdb.exp (supports_process_record): Return true for
22123 arm*-linux*. (supports_reverse): Likewise.
22124
b5b08fb4
SC
221252014-01-13 Siva Chandra Reddy <sivachandra@google.com>
22126
22127 PR python/15464
22128 PR python/16113
22129 * gdb.python/py-type.c: Enhance test case.
22130 * gdb.python/py-value-cc.cc: Likewise
22131 * gdb.python/py-type.exp: Add new tests.
22132 * gdb.python/py-value-cc.exp: Likewise
22133
52d7fb13
AA
221342014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
22135 Pedro Alves <palves@redhat.com>
22136
22137 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
22138 Make "name" extern.
22139 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
22140 references to ${name}_start by references to ${name}.
22141
a2cd8cfe
JB
221422014-01-10 Joel Brobecker <brobecker@adacore.com>
22143
22144 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
22145
4e23fced
JB
221462014-01-10 Joel Brobecker <brobecker@adacore.com>
22147
22148 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
22149
c6a9e42c
PA
221502014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
22151 Pedro Alves <palves@redhat.com>
22152
22153 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 22154 mi_gdb_target_load.
c6a9e42c 22155
b7ea362b
PA
221562014-01-08 Pedro Alves <palves@redhat.com>
22157
22158 * gdb.threads/reconnect-signal.c: New file.
22159 * gdb.threads/reconnect-signal.exp: New file.
22160
5e3f4fab
EBM
221612014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
22162
22163 * gdb.base/source-dir.exp: New file.
22164
79301218
JB
221652014-01-07 Joel Brobecker <brobecker@adacore.com>
22166
22167 * gdb.ada/mi_interface: New testcase.
22168
8e355c5d
JB
221692014-01-07 Joel Brobecker <brobecker@adacore.com>
22170
22171 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
22172 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
22173 gdb.ada/pp-rec-component/pck.ads: New files.
22174
c0d48811
JB
221752014-01-07 Joel Brobecker <brobecker@adacore.com>
22176
22177 * gdb.python/py-pp-integral.c: New file.
22178 * gdb.python/py-pp-integral.py: New file.
22179 * gdb.python/py-pp-integral.exp: New file.
22180
17b609c3 22181For older changes see ChangeLog-1993-2013.
c906108c 22182\f
8d8cb839
EZ
22183;; Local Variables:
22184;; mode: change-log
22185;; left-margin: 8
22186;; fill-column: 74
22187;; version-control: never
22188;; End:
902f2ccb 22189
b811d2c2 22190 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
22191 Copying and distribution of this file, with or without modification,
22192 are permitted provided the copyright notice and this notice are preserved.