]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
[gdb/testsuite] Fix re-read FAILs with -readnow
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
efe9b873
TV
12020-10-28 Tom de Vries <tdevries@suse.de>
2
3 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
4 * gdb.base/reread.exp: Same.
5
6b68fd45
TV
62020-10-28 Tom de Vries <tdevries@suse.de>
7
8 * lib/gdb.exp (readnow): Handle arg.
9 * gdb.rust/traits.exp: Add KFAILs for -readnow.
10
32a5f98a
TV
112020-10-28 Tom de Vries <tdevries@suse.de>
12
13 * gdb.base/relocate.exp: Update regexp for -readnow.
14
f93b8760
TV
152020-10-28 Tom de Vries <tdevries@suse.de>
16
17 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
18 -readnow.
19
1b00ef06
TV
202020-10-28 Tom de Vries <tdevries@suse.de>
21
22 PR symtab/26772
23 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
24 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
25
364bb903
TV
262020-10-28 Tom de Vries <tdevries@suse.de>
27
28 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
29 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
30 complaint during file command for -readnow.
31
445a033f
TV
322020-10-28 Tom de Vries <tdevries@suse.de>
33
34 * gdb.cp/nsalias.exp: Fix typo in test name.
35
fdd67a42
TV
362020-10-28 Tom de Vries <tdevries@suse.de>
37
38 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
39
706baf4c
TV
402020-10-28 Tom de Vries <tdevries@suse.de>
41
42 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
43 -readnow.
44
b448cca5
TV
452020-10-27 Tom de Vries <tdevries@suse.de>
46
47 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
48
5868da03
TV
492020-10-27 Tom de Vries <tdevries@suse.de>
50
51 * gdb.base/maint.exp: Update for -readnow.
52
06db6ec3
TV
532020-10-27 Tom de Vries <tdevries@suse.de>
54
55 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
56 -readnow.
57
934a1764
GB
582020-10-14 Gary Benson <gbenson@redhat.com>
59
60 * gdb.python/py-format-string.exp (test_deref_refs): Treat
61 "_vptr$Base" as correct, in addition to "_vptr.Base".
62 (test_mixed): Likewise.
63
0bf21fbd
GB
642020-10-27 Gary Benson <gbenson@redhat.com>
65
66 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
67 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
68
b1d4d8d1
TBA
692020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
70
71 * gdb.base/condbreak.exp: Update the completion tests to
72 consider the '-force' flag.
73
bd24c5d6
TV
742020-10-27 Tom de Vries <tdevries@suse.de>
75
76 * gdb.base/list-ambiguous-readnow.exp: New file.
77
733d554a
TBA
782020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
79
80 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
81 the condition.
82 * gdb.linespec/cpcompletion.exp: Update to consider the
83 '-force-condition' keyword.
84 * gdb.linespec/explicit.exp: Ditto.
85 * lib/completion-support.exp: Ditto.
86
b5fa468f
TBA
872020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
88
89 * gdb.base/condbreak-multi-context.cc: New file.
90 * gdb.base/condbreak-multi-context.exp: New file.
91
b3247276
TT
922020-10-26 Tom Tromey <tom@tromey.com>
93
94 * lib/mi-support.exp (default_mi_gdb_start): Call
95 gdb_stdin_log_init.
96 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
97 subtract one from gdb_instances.
98 (gdb_stdin_log_write): Flush in_file.
99
1c47ec3e
TV
1002020-10-26 Tom de Vries <tdevries@suse.de>
101
102 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
103
6390859c
TT
1042020-10-26 Tom Tromey <tromey@adacore.com>
105
106 * gdb.ada/unsigned_range/foo.adb: New file.
107 * gdb.ada/unsigned_range/pack.adb: New file.
108 * gdb.ada/unsigned_range/pack.ads: New file.
109 * gdb.ada/unsigned_range.exp: New file.
110
55c3ad88
TV
1112020-10-26 Tom de Vries <tdevries@suse.de>
112
113 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
114
1612c4bb
TV
1152020-10-26 Tom de Vries <tdevries@suse.de>
116
117 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
118 for CU.
119 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
120
7d72802b
TV
1212020-10-23 Tom de Vries <tdevries@suse.de>
122
123 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
124 DW_FORM_string.
125 (Dwarf::_default_form): New proc.
126 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
127 guessed.
128
9476b583
TV
1292020-10-23 Tom de Vries <tdevries@suse.de>
130
131 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
132 * gdb.dwarf2/atomic-type.exp: Same.
133 * gdb.dwarf2/bad-regnum.exp: Same.
134 * gdb.dwarf2/cpp-linkage-name.exp: Same.
135 * gdb.dwarf2/dw2-align.exp: Same.
136 * gdb.dwarf2/dw2-bad-elf.exp: Same.
137 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
138 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
139 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
140 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
141 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
142 * gdb.dwarf2/enum-type.exp: Same.
143 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
144 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
145 * gdb.dwarf2/main-subprogram.exp: Same.
146 * gdb.dwarf2/missing-type-name.exp: Same.
147 * gdb.dwarf2/nonvar-access.exp: Same.
148 * gdb.dwarf2/typedef-void-finish.exp: Same.
149 * gdb.dwarf2/var-access.exp: Same.
150 * gdb.dwarf2/void-type.exp: Same.
151
4a636814
SM
1522020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
153
154 PR gdb/26693
155 * gdb.dwarf2/template-specification-full-name.exp: New test.
156
557fc257
LM
1572020-10-22 Luis Machado <luis.machado@linaro.org>
158
159 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
160 expected an offset from the function.
161 * gdb.base/msym-bp.exp (test): Likewise.
162
6b4c676c
AB
1632020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
164
165 * gdb.fortran/array-slices.exp: Add a new test.
166
98cec4f6
GB
1672020-10-21 Gary Benson <gbenson@redhat.com>
168
169 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
170 fullname test with Clang. Also expand comments generally.
171
ae86f581
TV
1722020-10-20 Tom de Vries <tdevries@suse.de>
173
174 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
175
8c161360
TV
1762020-10-20 Tom de Vries <tdevries@suse.de>
177
178 * gdb.dwarf2/arr-stride.c: Remove.
179 * gdb.dwarf2/arr-stride.exp: Use main.c.
180 * gdb.dwarf2/arr-subrange.c: Remove.
181 * gdb.dwarf2/arr-subrange.exp: Use main.c.
182 * gdb.dwarf2/bad-regnum.c: Remove.
183 * gdb.dwarf2/bad-regnum.exp: Use main.c.
184 * gdb.dwarf2/corrupt.c: Remove.
185 * gdb.dwarf2/corrupt.exp: Use main.c.
186 * gdb.dwarf2/dw2-bad-elf.c: Remove.
187 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
188 * gdb.dwarf2/dw2-icycle.c: Remove.
189 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
190 * gdb.dwarf2/formdata16.c: Remove.
191 * gdb.dwarf2/formdata16.exp: Use main.c.
192 * gdb.dwarf2/implptrconst.c: Remove.
193 * gdb.dwarf2/implptrconst.exp: Use main.c.
194 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
195 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
196 * gdb.dwarf2/opaque-type-lookup.c: Remove.
197 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
198
9c2412ec
TV
1992020-10-20 Tom de Vries <tdevries@suse.de>
200
201 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
202 file.
203 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
204
0cd2ad78
TV
2052020-10-20 Tom de Vries <tdevries@suse.de>
206
207 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
208 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
209 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
210 * gdb.dwarf2/dw2-ranges-base.exp: Same.
211 * gdb.dwarf2/dw2-ranges.exp: Same.
212 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
213 * gdb.dwarf2/var-access.exp: Same.
214
22cc388e
TT
2152020-10-19 Tom Tromey <tromey@adacore.com>
216
217 PR tui/26719
218 * gdb.tui/list.exp: Check source window contents after focus
219 change.
220
520596f2
TV
2212020-10-17 Tom de Vries <tdevries@suse.de>
222
223 PR symtab/26317
224 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
225
d1c8a76d
TV
2262020-10-17 Tom de Vries <tdevries@suse.de>
227
228 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
229 as suffix.
230 * gdb.dwarf2/atomic.c: Rename to ...
231 * gdb.dwarf2/atomic-type.c: ... this.
232 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
233 * gdb.dwarf2/dw2-ranges-2.c: ... this.
234 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
235 * gdb.dwarf2/dw2-ranges-3.c: ... this.
236 * gdb.dwarf2/fission-mix2.c: Rename to ...
237 * gdb.dwarf2/fission-mix-2.c: ... this.
238 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
239 standard_testfile.
240 * gdb.dwarf2/ada-valprint-error.exp: Same.
241 * gdb.dwarf2/arr-stride.exp: Same.
242 * gdb.dwarf2/arr-subrange.exp: Same.
243 * gdb.dwarf2/atomic-type.exp: Same.
244 * gdb.dwarf2/bad-regnum.exp: Same.
245 * gdb.dwarf2/break-inline-psymtab.exp: Same.
246 * gdb.dwarf2/clang-debug-names-2.exp: Same.
247 * gdb.dwarf2/clang-debug-names.exp: Same.
248 * gdb.dwarf2/comp-unit-lang.exp: Same.
249 * gdb.dwarf2/corrupt.exp: Same.
250 * gdb.dwarf2/count.exp: Same.
251 * gdb.dwarf2/cpp-linkage-name.exp: Same.
252 * gdb.dwarf2/data-loc.exp: Same.
253 * gdb.dwarf2/dw2-align.exp: Same.
254 * gdb.dwarf2/dw2-bad-elf.exp: Same.
255 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
256 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
257 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
258 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
259 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
260 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
261 * gdb.dwarf2/dw2-inline-param.exp: Same.
262 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
263 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
264 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
265 * gdb.dwarf2/dw2-is-stmt.exp: Same.
266 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
267 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
268 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
269 * gdb.dwarf2/dw2-param-error.exp: Same.
270 * gdb.dwarf2/dw2-ranges-base.exp: Same.
271 * gdb.dwarf2/dw2-ranges.exp: Same.
272 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
273 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
274 * gdb.dwarf2/dw4-sig-types.exp: Same.
275 * gdb.dwarf2/dynarr-ptr.exp: Same.
276 * gdb.dwarf2/enum-type.exp: Same.
277 * gdb.dwarf2/fission-mix.exp: Same.
278 * gdb.dwarf2/formdata16.exp: Same.
279 * gdb.dwarf2/implptrconst.exp: Same.
280 * gdb.dwarf2/implptrpiece.exp: Same.
281 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
282 * gdb.dwarf2/main-subprogram.exp: Same.
283 * gdb.dwarf2/method-ptr.exp: Same.
284 * gdb.dwarf2/missing-sig-type.exp: Same.
285 * gdb.dwarf2/nonvar-access.exp: Same.
286 * gdb.dwarf2/opaque-type-lookup.exp: Same.
287 * gdb.dwarf2/shortpiece.exp: Same.
288 * gdb.dwarf2/staticvirtual.exp: Same.
289 * gdb.dwarf2/subrange.exp: Same.
290 * gdb.dwarf2/symtab-producer.exp: Same.
291 * gdb.dwarf2/typedef-void-finish.exp: Same.
292 * gdb.dwarf2/var-access.exp: Same.
293 * gdb.dwarf2/variant.exp: Same.
294 * gdb.dwarf2/void-type.exp: Same.
295 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
296 dw2-ranges-main.c.
297 * gdb.dwarf2/dw2-ranges-main.c: Remove.
298
472d09c1
TV
2992020-10-16 Tom de Vries <tdevries@suse.de>
300
301 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
302
afe75f6d
TV
3032020-10-16 Tom de Vries <tdevries@suse.de>
304
305 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
306
8c8bd0ba
TV
3072020-10-14 Tom de Vries <tdevries@suse.de>
308
309 PR testsuite/26732
310 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
311 scenario 2.
312 * gdb.ada/mi_catch_ex_hand.exp: Same.
313
b75d55d4
PA
3142020-10-13 Pedro Alves <pedro@palves.net>
315
316 * lib/mi-support.exp (mi_clean_restart): New.
317 (mi_run_to_main): Delete.
318 All callers adjust to use mi_clean_restart / mi_runto_main.
319
e777225b
PA
3202020-10-13 Pedro Alves <pedro@palves.net>
321
322 * config/monitor.exp: Use "list -q".
323 * gdb.arch/gdb1558.exp: Use "break -q".
324 * gdb.arch/i386-permbkpt.exp: Use "break -q".
325 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
326 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
327 * gdb.base/commands.exp: Use "break -q".
328 * gdb.base/condbreak.exp: Use "break -q".
329 * gdb.base/ctf-ptype.exp: Use "list -q".
330 * gdb.base/define.exp: Use "break -q".
331 * gdb.base/del.exp: Use "break -q".
332 * gdb.base/fullname.exp: Use "break -q".
333 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
334 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
335 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
336 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
337 "hbreak -q".
338 * gdb.base/included.exp: Use "list -q".
339 * gdb.base/label.exp: Use "break -q".
340 * gdb.base/lineinc.exp: Use "break -q".
341 * gdb.base/list.exp: Use "list -q".
342 * gdb.base/macscp.exp: Use "list -q".
343 * gdb.base/pending.exp: Use "break -q".
344 * gdb.base/prologue-include.exp: Use "break -q".
345 * gdb.base/ptype.exp: Use "list -q".
346 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
347 * gdb.base/server-del-break.exp: Use "break -q".
348 * gdb.base/style.exp: Use "break -q".
349 * gdb.base/symbol-without-target_section.exp: Use "list -q".
350 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
351 * gdb.cp/exception.exp: Use "tbreak -q".
352 * gdb.dwarf2/dw2-error.exp: Use "break -q".
353 * gdb.dwarf2/fission-mix.exp: Use "break -q".
354 * gdb.dwarf2/fission-reread.exp: Use "break -q".
355 * gdb.dwarf2/pr13961.exp: Use "break -q".
356 * gdb.linespec/explicit.exp: Use "list -q".
357 * gdb.linespec/linespec.exp: Use "break -q".
358 * gdb.mi/mi-simplerun.exp: Use "--qualified".
359 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
360 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
361 * gdb.server/connect-without-multi-process.exp: Use "break -q".
362 * gdb.trace/change-loc.exp: Use "break -q".
363 * gdb.trace/pending.exp: Use "break -q".
364 * gdb.tui/basic.exp: Use "list -q".
365 * gdb.tui/list-before.exp: Use "list -q".
366 * gdb.tui/list.exp: Use "list -q".
367 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
368
8abd8ee8
PA
3692020-10-13 Pedro Alves <pedro@palves.net>
370
371 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
372 saved breakpoints file.
373 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
374 inspecting breakpoint list.
375 * lib/gdb.exp (runto_main): Add "qualified" to options.
376 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
377 and handle it.
378 (mi_runto_main): Pass 1 as qualified argument.
379
f71e6719
PA
3802020-10-13 Pedro Alves <pedro@palves.net>
381
382 * lib/mi-support.exp (mi_runto_main): New proc.
383 (mi_run_to_main): Use it.
384 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
385 * gdb.mi/mi-var-cmd.exp: Likewise.
386 * gdb.mi/mi-var-invalidate.exp: Likewise.
387 * mi-var-list-children-invalid-grandchild.exp: Likewise.
388 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
389 * gdb.mi/new-ui-mi-sync.exp: Likewise.
390 * gdb.mi/user-selected-context-sync.exp: Likewise.
391 * gdb.opt/inline-cmds.exp: Likewise.
392 * gdb.python/py-framefilter-mi.exp: Likewise.
393 * gdb.python/py-mi.exp: Likewise.
394
50441f0f
PA
3952020-10-13 Pedro Alves <pedro@palves.net>
396
397 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
398 "runto main".
399 * gdb.ada/small_reg_param.exp: Likewise.
400 * gdb.arch/powerpc-d128-regs.exp: Likewise.
401 * gdb.base/annota1.exp: Likewise.
402 * gdb.base/anon.exp: Likewise.
403 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
404 * gdb.base/dprintf-non-stop.exp: Likewise.
405 * gdb.base/dprintf.exp: Likewise.
406 * gdb.base/gdb11530.exp: Likewise.
407 * gdb.base/gdb11531.exp: Likewise.
408 * gdb.base/gnu_vector.exp: Likewise.
409 * gdb.base/interrupt-noterm.exp: Likewise.
410 * gdb.base/memattr.exp: Likewise.
411 * gdb.base/step-over-syscall.exp: Likewise.
412 * gdb.base/watch-cond-infcall.exp: Likewise.
413 * gdb.base/watch-read.exp: Likewise.
414 * gdb.base/watch-vfork.exp: Likewise.
415 * gdb.base/watch_thread_num.exp: Likewise.
416 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
417 * gdb.guile/scm-frame-inline.exp: Likewise.
418 * gdb.linespec/explicit.exp: Likewise.
419 * gdb.opt/inline-break.exp: Likewise.
420 * gdb.python/py-frame-inline.exp: Likewise.
421 * gdb.reverse/break-precsave.exp: Likewise.
422 * gdb.reverse/break-reverse.exp: Likewise.
423 * gdb.reverse/consecutive-precsave.exp: Likewise.
424 * gdb.reverse/consecutive-reverse.exp: Likewise.
425 * gdb.reverse/finish-precsave.exp: Likewise.
426 * gdb.reverse/finish-reverse.exp: Likewise.
427 * gdb.reverse/fstatat-reverse.exp: Likewise.
428 * gdb.reverse/getresuid-reverse.exp: Likewise.
429 * gdb.reverse/i386-precsave.exp: Likewise.
430 * gdb.reverse/i386-reverse.exp: Likewise.
431 * gdb.reverse/i386-sse-reverse.exp: Likewise.
432 * gdb.reverse/i387-env-reverse.exp: Likewise.
433 * gdb.reverse/i387-stack-reverse.exp: Likewise.
434 * gdb.reverse/insn-reverse.exp: Likewise.
435 * gdb.reverse/machinestate-precsave.exp: Likewise.
436 * gdb.reverse/machinestate.exp: Likewise.
437 * gdb.reverse/pipe-reverse.exp: Likewise.
438 * gdb.reverse/readv-reverse.exp: Likewise.
439 * gdb.reverse/recvmsg-reverse.exp: Likewise.
440 * gdb.reverse/rerun-prec.exp: Likewise.
441 * gdb.reverse/s390-mvcle.exp: Likewise.
442 * gdb.reverse/solib-precsave.exp: Likewise.
443 * gdb.reverse/solib-reverse.exp: Likewise.
444 * gdb.reverse/step-precsave.exp: Likewise.
445 * gdb.reverse/step-reverse.exp: Likewise.
446 * gdb.reverse/time-reverse.exp: Likewise.
447 * gdb.reverse/until-precsave.exp: Likewise.
448 * gdb.reverse/until-reverse.exp: Likewise.
449 * gdb.reverse/waitpid-reverse.exp: Likewise.
450 * gdb.reverse/watch-precsave.exp: Likewise.
451 * gdb.reverse/watch-reverse.exp: Likewise.
452 * gdb.threads/kill.exp: Likewise.
453 * gdb.threads/tid-reuse.exp: Likewise.
454
d3a07122
SM
4552020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
456
457 PR gdb/26642
458 * gdb.base/maint-target-async-off.c: New test.
459 * gdb.base/maint-target-async-off.exp: New test.
460
c65c6c42
AM
4612020-10-13 Alan Modra <amodra@gmail.com>
462
463 * gdb.arch/powerpc-altivec.s,
464 * gdb.arch/powerpc-power7.s,
465 * gdb.arch/powerpc-power8.s,
466 * gdb.arch/powerpc-power9.s,
467 * gdb.arch/powerpc-vsx.s,
468 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
469 * gdb.arch/powerpc-altivec.exp,
470 * gdb.arch/powerpc-power7.exp,
471 * gdb.arch/powerpc-power8.exp,
472 * gdb.arch/powerpc-power9.exp,
473 * gdb.arch/powerpc-vsx.exp,
474 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
475 disassembly of mfvsrd/mtvsrd.
476
f4a0f710
AM
4772020-10-13 Alan Modra <amodra@gmail.com>
478
479 * gdb.arch/arm-disassembler-options.exp: Adjust expected
480 "target architecture" output.
481 * gdb.arch/powerpc-d128-regs.exp: Likewise.
482 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
483 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
484 * gdb.arch/s390-disassembler-options.exp: Likewise.
485
87a37e5e
PA
4862020-10-12 Pedro Alves <pedro@palves.net>
487
488 PR exp/26602
489 PR c++/26550
490 * gdb.cp/ambiguous.cc (marker1): Delete.
491 (main): Initialize all the fields of the locals. Replace marker1
492 call with a "set breakpoint here" marker.
493 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
494 instead of running to marker1. Add tests printing all the
495 variables and all the fields of the variables.
496 (test_ambiguous): New proc, expecting the new GDB output when a
497 field access is ambiguous. Change all "warning: X ambiguous"
498 tests to use it.
499
71e1b6b0
GB
5002020-10-12 Gary Benson <gbenson@redhat.com>
501
502 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
503 * gdb.base/msym-bp-2.c (foo): Likewise.
504 * gdb.base/msym-lang.c (foo): Likewise.
505 * gdb.base/msym-lang-main.c (foo): Likewise.
506 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
507 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
508 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
509 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
510 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
511 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
512 * gdb.python/py-objfile.c (static_var): Likewise.
513 * gdb.python/py-symbol.c (rr): Likewise.
514 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
515 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
516
9370fd51
AB
5172020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
518
519 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
520 output of backtrace.
521
7c184d33
TT
5222020-10-09 Tom Tromey <tromey@adacore.com>
523
524 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
525 (Rec): Add field. Fix range.
526 * gdb.ada/scalar_storage.exp: Update.
527
3d87245c
HD
5282020-10-09 Hannes Domani <ssbssa@yahoo.de>
529
530 PR exp/26714
531 * gdb.base/printcmds.exp: Add tests for void results.
532
f5c4b229
JV
5332020-10-09 Jan Vrany <jan.vrany@labware.com>
534
535 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
536 is emmited for both 'set directories' and 'directory' commands.
537
b2701685
TT
5382020-10-08 Tom Tromey <tom@tromey.com>
539
540 * gdb.base/style.exp: Check that "main"'s name is styled.
541
e86efb33
TT
5422020-10-07 Tom Tromey <tromey@adacore.com>
543
544 * gdb.base/find.exp: Rename some tests.
545
30897591
GB
5462020-10-06 Gary Benson <gbenson@redhat.com>
547
548 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
549 * gdb.base/list1.c (unused): Likewise.
550
ced4a4c1
GB
5512020-10-06 Gary Benson <gbenson@redhat.com>
552
553 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
554 __attribute__ ((used)).
555 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
556
ed3bdac4
AB
5572020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
558
559 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
560 make use of regions throughout.
561 * gdb.base/overlays.exp: Enclose string with variableds in "..",
562 not {...}.
563 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
564
cd096ec8
HD
5652020-10-05 Hannes Domani <ssbssa@yahoo.de>
566
567 * gdb.base/call-sc.c: Fix return struct on stack test case.
568 * gdb.base/call-sc.exp: Likewise.
569
3ee6f75d
GB
5702020-10-02 Gary Benson <gbenson@redhat.com>
571
572 * README: Fix "paralell".
573
f65825ec
GB
5742020-09-30 Gary Benson <gbenson@redhat.com>
575
576 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
577 Convert directive to lowercase.
578 (.Labbrev1_begin): Add missing label.
579 (abbrev code 0x1): Remove DW_AT_stmt_list.
580 (.Ldie_b): Likewise.
581
5f278258
TT
5822020-09-27 Tom Tromey <tom@tromey.com>
583
584 * gdb.tui/new-layout.exp: Use with_test_prefix.
585
8f9929bb
GR
5862020-09-26 Gareth Rees <grees@undo.io> (tiny change)
587
588 PR python/26586
589 * gdb.python/python.exp: add test cases for the from_tty
590 argument to gdb.execute.
591
c20c017b
GB
5922020-09-25 Gary Benson <gbenson@redhat.com>
593
594 * gdb.base/infcall-nested-structs.exp.tcl: Add
595 additional_flags=-Wno-tautological-compare for C++
596 tests when compiling using Clang.
597
68d654af
GB
5982020-09-25 Gary Benson <gbenson@redhat.com>
599
600 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
601 for .c files.
602
b551a89f
TT
6032020-09-24 Tom Tromey <tromey@adacore.com>
604
605 PR tui/26638:
606 * gdb.tui/list.exp: Check output of "focus next".
607
20a5fcbd
TT
6082020-09-23 Tom Tromey <tom@tromey.com>
609
610 * gdb.dwarf2/intbits.exp: New file.
611 * gdb.dwarf2/intbits.c: New file.
612
b167e53f
PA
6132020-09-20 Pedro Alves <pedro@palves.net>
614
615 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
616 spawn_id before calling remote_close. Close secondary MI channel.
617
dbc49e9f
PA
6182020-09-20 Pedro Alves <pedro@palves.net>
619
620 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
621 fails.
622
c8d5abea
AB
6232020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
624
625 * gdb.fortran/array-slices.exp: Update expected results.
626 * gdb.fortran/class-allocatable-array.exp: Likewise.
627 * gdb.fortran/multi-dim.exp: Likewise.
628 * gdb.fortran/vla-type.exp: Likewise.
629 * gdb.mi/mi-vla-fortran.exp: Likewise.
630
14f9473c
VC
6312020-09-18 Victor Collod <vcollod@nvidia.com>
632
633 PR gdb/26635
634 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
635 compatible with i386, and move it to...
636 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
637 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
638 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
639
e8ef12b9
PA
6402020-09-18 Pedro Alves <pedro@palves.net>
641
642 PR gdb/26631
643 * gdb.multi/multi-target-thread-find.exp: New file.
644
e11daf7a
PA
6452020-09-18 Pedro Alves <pedro@palves.net>
646
647 * gdb.multi/multi-target-continue.exp: New file, factored out from
648 multi-target.exp.
649 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
650 multi-target.exp.
651 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
652 multi-target.exp.
653 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
654 multi-target.exp.
655 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
656 multi-target.exp.
657 * gdb.multi/multi-target.exp.tcl: New file, factored out from
658 multi-target.exp.
659 * gdb.multi/multi-target.exp: Delete.
660
d0edc2b8
AB
6612020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
662
663 * gdb.fortran/array-slices.exp: Add missing message data.
664
7474326c
PA
6652020-09-17 Pedro Alves <pedro@palves.net>
666
667 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
668
dd23068d
PA
6692020-09-17 Pedro Alves <pedro@palves.net>
670
671 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
672 full prototype.
673
0640a543
PA
6742020-09-17 Pedro Alves <pedro@palves.net>
675
676 * gdb.python/py-as-string.c: Add cast.
677
ef0cdbc1
PA
6782020-09-17 Pedro Alves <pedro@palves.net>
679
680 * gdb.base/sizeof.c (fill): Add cast.
681
3a5eeb8b
PA
6822020-09-17 Pedro Alves <pedro@palves.net>
683
684 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
685
a8129512
PA
6862020-09-17 Pedro Alves <pedro@palves.net>
687
688 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
689 linkage name.
690 * gdb.base/prologue.exp: Use print /d.
691 * gdb.base/symbol-alias.exp: Handle C++ output.
692 * gdb.base/symbol-alias2.c: Handle C++ output.
693 [__cplusplus] (func): Explicitly specify linkage name.
694
a83cdcb6
PA
6952020-09-17 Pedro Alves <pedro@palves.net>
696
697 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
698 (struct my_key_t): ... this. Adjust all references.
699 (struct value_t): Rename to ...
700 (struct my_value_t): ... this. Adjust all references.
701 (create_map, add_map_element, create_map_map)
702 (add_map_map_element): Add casts.
703
d4bcee5c
PA
7042020-09-17 Pedro Alves <pedro@palves.net>
705
706 * gdb.python/py-framefilter-mi.c (funca): Add casts.
707 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
708
81f90489
PA
7092020-09-17 Pedro Alves <pedro@palves.net>
710
711 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
712
0a229804
PA
7132020-09-17 Pedro Alves <pedro@palves.net>
714
715 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
716 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
717 (charfoo, intfoo): Define full prototype.
718 * gdb.base/ptype1.c (charfoo): Define full prototype.
719 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
720 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
721
c3e5138d
PA
7222020-09-17 Pedro Alves <pedro@palves.net>
723
724 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
725 Don't define.
726 (utf_32_string): Compile for both C and C++.
727 * gdb.base/charset.exp: Use "print /d".
728
151fdbad
PA
7292020-09-17 Pedro Alves <pedro@palves.net>
730
731 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
732 (nullptr): Rename to ...
733 (null_ptr): ... this.
734 * gdb.base/watchpoint.exp: Adjust to rename.
735
18a25b64
PA
7362020-09-17 Pedro Alves <pedro@palves.net>
737
738 * gdb.base/printcmds.c (three, flag_enum_without_zero)
739 (three_not_flag): Add casts.
740
11fac337
PA
7412020-09-17 Pedro Alves <pedro@palves.net>
742
743 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
744 char array.
745 (main): Add references to Barrier, TestStrings, TestStringsH and
746 TestStringsW.
747 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
748 and expect a full prototype in C++.
749
52626c58
PA
7502020-09-17 Pedro Alves <pedro@palves.net>
751
752 * gdb.base/nested-addr.c (main): Add cast.
753 * gdb.base/nested-addr.exp: Use "print /d".
754
52bb0902
PA
7552020-09-17 Pedro Alves <pedro@palves.net>
756
757 * gdb.base/break.exp (func): New. Use it throughout when
758 expecting a function name.
759
73e18ac9
PA
7602020-09-17 Pedro Alves <pedro@palves.net>
761
762 * gdb.base/display.exp: Issue "set print asm-demangle on".
763
c8b18808
PA
7642020-09-17 Pedro Alves <pedro@palves.net>
765
766 * gdb.base/find.c: Include <string.h>.
767 (init_bufs): Add cast.
768 * gdb.base/find.exp: Issue "set print asm-demangle on".
769
fe830662
TT
7702020-09-16 Tom Tromey <tromey@adacore.com>
771
772 PR gdb/26598:
773 * gdb.base/skipcxx.exp: New file.
774 * gdb.base/skipcxx.cc: New file.
775
945ff6e2
TV
7762020-09-16 Tom de Vries <tdevries@suse.de>
777
778 PR testsuite/26617
779 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
780 WITH_DEBUG_SECTIONS is defined.
781 (xstr, str): New macro.
782 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
783 to get start and size of _Dmain.
784 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
785 using additional_flags.
786
da1df1db
TBA
7872020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
788
789 * gdb.base/bp-cmds-sourced-script.c: New file.
790 * gdb.base/bp-cmds-sourced-script.exp: New test.
791 * gdb.base/bp-cmds-sourced-script.gdb: New file.
792
337882d4
TV
7932020-09-16 Tom de Vries <tdevries@suse.de>
794
795 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
796 get the gdb prompt after issuing "monitor exit".
797
7361f908
TV
7982020-09-16 Tom de Vries <tdevries@suse.de>
799
800 PR testsuite/26624
801 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
802
4d91ddd3
TV
8032020-09-16 Tom de Vries <tdevries@suse.de>
804
805 PR testsuite/26618
806 * gdb.tui/new-layout.exp: Escape unbalanced braces.
807
08cc37dd
TT
8082020-09-15 Tom Tromey <tromey@adacore.com>
809
810 PR rust/26197:
811 * lib/rust-support.exp (rust_llvm_version): New proc.
812 * gdb.rust/simple.exp: Check rust_llvm_version.
813
ee6372f2
TV
8142020-09-14 Tom de Vries <tdevries@suse.de>
815
816 * gdb.rust/traits.exp: Fix PATH warning.
817
dc3a371e
PA
8182020-09-13 Pedro Alves <pedro@palves.net>
819
820 * gdb.base/catch-follow-exec.c (main): Add explicit return
821 statement.
822 * gdb.base/catch-signal.c (main): Likewise.
823 * gdb.base/condbreak-call-false.c (main): Likewise.
824 * gdb.base/consecutive.c (main): Add explicit return
825 statement and return type.
826 * gdb.base/cursal.c (main): Add explicit return statement.
827 * gdb.base/cvexpr.c (main): Likewise.
828 * gdb.base/display.c (main): Add explicit return statement and
829 return type.
830 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
831 * gdb.base/endianity.c (main): Likewise.
832 * gdb.base/execd-prog.c (main): Likewise.
833 * gdb.base/gdb1090.c (main): Likewise.
834 * gdb.base/info_qt.c (main): Likewise.
835 * gdb.base/lineinc.c (main): Likewise.
836 * gdb.base/load-command.c (main): Likewise.
837 * gdb.base/macscp1.c (main): Likewise.
838 * gdb.base/pr10179-a.c (main): Likewise.
839 * gdb.base/quit-live.c (main): Likewise.
840 * gdb.base/scope0.c (main): Likewise.
841 * gdb.base/settings.c (main): Likewise.
842 * gdb.base/stack-checking.c (main): Return int.
843 * gdb.base/varargs.c (main): Add explicit return statement.
844 * gdb.cp/ambiguous.cc (main): Likewise.
845 * gdb.cp/anon-struct.cc (main): Likewise.
846 * gdb.cp/anon-union.cc (main): Likewise.
847 * gdb.cp/bool.cc (main): Likewise.
848 * gdb.cp/bs15503.cc (main): Likewise.
849 * gdb.cp/cplusfuncs.cc (main): Likewise.
850 * gdb.cp/cttiadd.cc (main): Likewise.
851 * gdb.cp/extern-c.cc (main): Likewise.
852 * gdb.cp/filename.cc (main): Likewise.
853 * gdb.cp/formatted-ref.cc (main): Likewise.
854 * gdb.cp/mb-ctor.cc (main): Likewise.
855 * gdb.cp/member-ptr.cc (main): Likewise.
856 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
857 * gdb.cp/overload-const.cc (main): Likewise.
858 * gdb.cp/paren-type.cc (main): Likewise.
859 * gdb.cp/parse-lang.cc (main): Likewise.
860 * gdb.cp/pr-1023.cc (main): Likewise.
861 * gdb.cp/psmang1.cc (main): Likewise.
862 * gdb.cp/readnow-language.cc (main): Likewise.
863 * gdb.cp/ref-params.cc (main): Likewise.
864 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
865 * gdb.cp/virtbase2.cc (main): Likewise.
866 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
867 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
868 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
869 * gdb.mi/mi-console.c (main): Likewise.
870 * gdb.mi/mi-read-memory.c (main): Likewise.
871 * gdb.modula2/multidim.c (main): Likewise.
872 * gdb.opt/inline-small-func.c (main): Likewise.
873 * gdb.python/py-rbreak.c (main): Likewise.
874 * gdb.stabs/exclfwd1.c (main): Likewise.
875 * gdb.trace/qtro.c (main): Likewise.
876
af26601c
PA
8772020-09-13 Pedro Alves <pedro@palves.net>
878
879 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
880 instead of getenv.
881
2f4b83cd
PA
8822020-09-13 Pedro Alves <pedro@palves.net>
883
884 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
885 instead of spawning GDB with remote_spawn.
886 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
887 gdb_spawn instead of spawning GDB with remote_spawn.
888
c49da0e4
PA
8892020-09-13 Pedro Alves <pedro@palves.net>
890
891 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
892 file and add calls to first and second.
893 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
894 add call to f.
895
6791b117
PA
8962020-09-13 Pedro Alves <pedro@palves.net>
897
898 * gdb.mi/mi-break-qualified.cc: New file.
899 * gdb.mi/mi-break-qualified.exp: New file.
900 * lib/mi-support.exp (mi_create_breakpoint_multi)
901 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
902 procedures.
903 (mi_create_breakpoint_1): New, factored out from
904 mi_create_breakpoint.
905
3b8d4c5c
PA
9062020-09-13 Pedro Alves <pedro@palves.net>
907
908 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
909 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
910 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
911 (register_class): Delete.
912 (main): Don't call register_class.
913
d5f96005
PA
9142020-09-13 Pedro Alves <pedro@palves.net>
915
916 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
917 (do_tests): Remove "calling method for small class" test.
918 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
919 (register_class): Delete.
920 (main): Don't call register_class.
921 * gdb.cp/call-method-register.exp: New file, based on bits removed
922 from classes.exp.
923 * gdb.cp/call-method-register.cc: New file, based on bits removed
924 from classes.cc.
925
77f2120b
PA
9262020-09-13 Pedro Alves <pedro@palves.net>
927
928 * gdb.base/msym-bp-2.c: New.
929 * gdb.base/msym-bp-shl-lib.c: New file.
930 * gdb.base/msym-bp-shl-main-2.c: New file.
931 * gdb.base/msym-bp-shl-main.c: New file.
932 * gdb.base/msym-bp-shl.exp: New file.
933 * gdb.base/msym-bp.c: New file.
934 * gdb.base/msym-bp.exp: New file.
935
32aea73e
JB
9362020-09-13 Joel Brobecker <brobecker@adacore.com>
937
938 * gdb.base/default.exp: Change $_gdb_major to 11.
939
2a67f09d
FW
9402020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
941 Felix Willgerodt <Felix.Willgerodt@intel.com>
942
943 * x86-avx512bf16.c: New file.
944 * x86-avx512bf16.exp: Likewise.
945 * lib/gdb.exp (skip_avx512bf16_tests): New function.
946
ad570dd7
TV
9472020-09-11 Tom de Vries <tdevries@suse.de>
948
949 PR exp/26602
950 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
951
a56f7391
TBA
9522020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
953
954 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
955
918619e5
AM
9562020-09-10 Alan Modra <amodra@gmail.com>
957
958 PR 26597
959 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
960
cac1e71d
TV
9612020-09-08 Tom de Vries <tdevries@suse.de>
962
963 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
964 after gdb_starti_cmd.
965
c5cd900e
AKS
9662020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
967
968 * lib/fortran.exp (fortran_complex8): New proc.
969 (fortran_complex16): New proc.
970 * gdb.fortran/complex.exp: Use routines from fortran.exp
971 * gdb.fortran/pointer-to-pointer.exp: Likewise.
972 * gdb.fortran/vla-ptr-info.exp: Likewise.
973
8f5c6526
TV
9742020-09-03 Tom de Vries <tdevries@suse.de>
975
976 PR breakpoint/26546
977 * gdb.base/label-without-address.exp: Runto main first.
978
02c6f3f1
TT
9792020-09-02 Tom Tromey <tromey@adacore.com>
980
981 * gdb.ada/mi_var_access.exp: Test children of access variable.
982 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
983 * gdb.ada/mi_var_array.exp: Update.
984
efe24f05
KB
9852020-08-31 Kevin Buettner <kevinb@redhat.com>
986
987 * gdb.base/corefile.exp (warning-free): XFAIL test when running
988 on docker w/ AUFS storage driver.
989
973695d6
KB
9902020-08-31 Kevin Buettner <kevinb@redhat.com>
991
992 * gdb.base/corefile2.exp (renamed binfile): New tests.
993
f3bd50f1
SM
9942020-08-31 Simon Marchi <simon.marchi@efficios.com>
995
996 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
997
22b9b4b0
SL
9982020-08-31 Simon Marchi <simon.marchi@efficios.com>
999
1000 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
1001 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
1002
8efaf6b3
SM
10032020-08-31 Simon Marchi <simon.marchi@efficios.com>
1004
1005 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
1006 output, printing a "not saved" value from history and printing a
1007 convenience variable created from a "not saved" value.
1008
e840f2e3
TV
10092020-08-31 Tom de Vries <tdevries@suse.de>
1010
1011 * gdb.base/eh_return.exp: Use nopie.
1012
8f57f343
PA
10132020-08-28 Pedro Alves <pedro@palves.net>
1014
1015 * gdb.base/advance-until-multiple-locations.exp
1016 (advance_overload, until_overload): Adjust to match the
1017 frame/function header instead of the source line text.
1018
626d2320
TV
10192020-08-28 Tom de Vries <tdevries@suse.de>
1020
1021 * gdb.base/label-without-address.c: New test.
1022 * gdb.base/label-without-address.exp: New file.
1023
df631783
PA
10242020-08-27 Pedro Alves <pedro@palves.net>
1025
1026 PR gdb/26523
1027 PR gdb/26524
1028 * gdb.base/advance-until-multiple-locations.cc: New.
1029 * gdb.base/advance-until-multiple-locations.exp: New.
1030
48b076bb
SM
10312020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
1032
1033 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
1034
c2015ce4
AB
10352020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1036
1037 * gdb.arch/amd64-byte.exp: Make test names unique, use
1038 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
1039 * gdb.arch/amd64-dword.exp: Likewise.
1040 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
1041 * gdb.arch/amd64-stap-special-operands.exp: Make test names
1042 unique.
1043 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
1044 * gdb.arch/amd64-word.exp: Make test names unique, use
1045 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
1046 * gdb.arch/i386-byte.exp: Make test names unique, use
1047 gdb_breakpoint.
1048 * gdb.arch/i386-word.exp: Likewise.
1049
995d3a19
SV
10502020-08-25 Shahab Vahedi <shahab@synopsys.com>
1051
1052 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
1053
8cac2b31
SM
10542020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
1055
1056 PR gdb/26532
1057 * gdb.threads/stepi-random-signal.exp: Update pattern.
1058
2bc19622
SM
10592020-08-25 Simon Marchi <simon.marchi@efficios.com>
1060
1061 PR gdb/26532
1062 * gdb.base/ui-redirect.exp: Update pattern.
1063
b04aa1fc
GB
10642020-08-25 Gary Benson <gbenson@redhat.com>
1065
1066 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
1067 when compiling with clang.
8571e9c8 1068 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 1069
9f68b453
GB
10702020-08-25 Gary Benson <gbenson@redhat.com>
1071
1072 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
1073 Add additional_flags=-Wno-inaccessible-base when compiling
1074 with GCC >= 10.1 or clang. Add additional_flags=-w when
1075 compiling with GCC < 10.
1076
3945d2d7
GM
10772020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
1078
1079 PR m2/26372
fc5d6901
SM
1080 * gdb.modula2/multidim.c: New file.
1081 * gdb.modula2/multidim.exp: New file.
3945d2d7 1082
60122dbe
SM
10832020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
1084
1085 * lib/gdb.exp (runto): Always emit fail on internal error.
1086
1eb8556f
SM
10872020-08-24 Simon Marchi <simon.marchi@efficios.com>
1088
1089 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
1090 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1091 Likewise.
1092 * gdb.threads/stepi-random-signal.exp: Likewise.
1093
33bf4c5c
TBA
10942020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1095
1096 * gdb.base/print-file-var.exp: Fix typo "breapoint".
1097 * gdb.trace/strace.exp: Ditto.
1098
c2fd7fae
AKS
10992020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1100
1101 * gdb.fortran/vla-type.exp: Skip commands not required for
1102 the Flang compiled binaries after prologue fix.
1103
326afb72
TT
11042020-08-17 Tom de Vries <tdevries@suse.de>
1105 Tom Tromey <tromey@adacore.com>
1106
1107 PR rust/26197:
1108 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
1109
3ae7ab99
TT
11102020-08-17 Tom Tromey <tromey@adacore.com>
1111
1112 * gdb.ada/mi_var_access.exp: New file.
1113 * gdb.ada/mi_var_access/mi_access.adb: New file.
1114 * gdb.ada/mi_var_access/pck.adb: New file.
1115 * gdb.ada/mi_var_access/pck.ads: New file.
1116
f569c1c5
TV
11172020-08-16 Tom de Vries <tdevries@suse.de>
1118
1119 PR gdb/25350
1120 * gdb.base/eh_return.c: New test.
1121 * gdb.base/eh_return.exp: New file.
1122
3d11c30a
TV
11232020-08-15 Tom de Vries <tdevries@suse.de>
1124
1125 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
1126 (mixed_func_1d_): Use fortran_charlen_t in decl.
1127
547ce8f0
TV
11282020-08-15 Tom de Vries <tdevries@suse.de>
1129
1130 PR backtrace/26390
1131 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
1132 Update expected pattern.
1133
a54a7f13
PA
11342020-08-13 Pedro Alves <pedro@palves.net>
1135
1136 * gdb.fortran/complex.exp: Check skip_fortran_tests.
1137 * gdb.fortran/library-module.exp: Likewise.
1138 * gdb.fortran/logical.exp: Likewise.
1139 * gdb.fortran/module.exp: Likewise.
1140 * gdb.fortran/print_type.exp: Likewise.
1141 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
1142 * gdb.fortran/vla-datatypes.exp: Likewise.
1143 * gdb.fortran/vla-history.exp: Likewise.
1144 * gdb.fortran/vla-ptr-info.exp: Likewise.
1145 * gdb.fortran/vla-ptype-sub.exp: Likewise.
1146 * gdb.fortran/vla-ptype.exp: Likewise.
1147 * gdb.fortran/vla-sizeof.exp: Likewise.
1148 * gdb.fortran/vla-type.exp: Likewise.
1149 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
1150 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
1151 * gdb.fortran/vla-value-sub.exp: Likewise.
1152 * gdb.fortran/vla-value.exp: Likewise.
1153
7a82e903
PA
11542020-08-13 Pedro Alves <pedro@palves.net>
1155
1156 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
1157 * gdb.ada/access_to_packed_array.exp: Likewise.
1158 * gdb.ada/access_to_unbounded_array.exp: Likewise.
1159 * gdb.ada/addr_arith.exp: Likewise.
1160 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
1161 * gdb.ada/arr_arr.exp: Likewise.
1162 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
1163 * gdb.ada/array_bounds.exp: Likewise.
1164 * gdb.ada/array_of_variable_length.exp: Likewise.
1165 * gdb.ada/array_ptr_renaming.exp: Likewise.
1166 * gdb.ada/array_subscript_addr.exp: Likewise.
1167 * gdb.ada/arraydim.exp: Likewise.
1168 * gdb.ada/arrayparam.exp: Likewise.
1169 * gdb.ada/arrayptr.exp: Likewise.
1170 * gdb.ada/assign_1.exp: Likewise.
1171 * gdb.ada/assign_arr.exp: Likewise.
1172 * gdb.ada/atomic_enum.exp: Likewise.
1173 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
1174 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
1175 * gdb.ada/bias.exp: Likewise.
1176 * gdb.ada/boolean_expr.exp: Likewise.
1177 * gdb.ada/bp_c_mixed_case.exp: Likewise.
1178 * gdb.ada/bp_enum_homonym.exp: Likewise.
1179 * gdb.ada/bp_inlined_func.exp: Likewise.
1180 * gdb.ada/bp_on_var.exp: Likewise.
1181 * gdb.ada/bp_range_type.exp: Likewise.
1182 * gdb.ada/bp_reset.exp: Likewise.
1183 * gdb.ada/call_pn.exp: Likewise.
1184 * gdb.ada/catch_assert_if.exp: Likewise.
1185 * gdb.ada/catch_ex.exp: Likewise.
1186 * gdb.ada/catch_ex_std.exp: Likewise.
1187 * gdb.ada/char_enum.exp: Likewise.
1188 * gdb.ada/char_param.exp: Likewise.
1189 * gdb.ada/complete.exp: Likewise.
1190 * gdb.ada/cond_lang.exp: Likewise.
1191 * gdb.ada/convvar_comp.exp: Likewise.
1192 * gdb.ada/dgopt.exp: Likewise.
1193 * gdb.ada/disc_arr_bound.exp: Likewise.
1194 * gdb.ada/display_nested.exp: Likewise.
1195 * gdb.ada/dot_all.exp: Likewise.
1196 * gdb.ada/dyn_loc.exp: Likewise.
1197 * gdb.ada/dyn_stride.exp: Likewise.
1198 * gdb.ada/excep_handle.exp: Likewise.
1199 * gdb.ada/expr_delims.exp: Likewise.
1200 * gdb.ada/expr_with_funcall.exp: Likewise.
1201 * gdb.ada/exprs.exp: Likewise.
1202 * gdb.ada/fin_fun_out.exp: Likewise.
1203 * gdb.ada/fixed_cmp.exp: Likewise.
1204 * gdb.ada/formatted_ref.exp: Likewise.
1205 * gdb.ada/frame_arg_lang.exp: Likewise.
1206 * gdb.ada/frame_args.exp: Likewise.
1207 * gdb.ada/fullname_bp.exp: Likewise.
1208 * gdb.ada/fun_addr.exp: Likewise.
1209 * gdb.ada/fun_in_declare.exp: Likewise.
1210 * gdb.ada/fun_overload_menu.exp: Likewise.
1211 * gdb.ada/fun_renaming.exp: Likewise.
1212 * gdb.ada/funcall_char.exp: Likewise.
1213 * gdb.ada/funcall_param.exp: Likewise.
1214 * gdb.ada/funcall_ptr.exp: Likewise.
1215 * gdb.ada/funcall_ref.exp: Likewise.
1216 * gdb.ada/homonym.exp: Likewise.
1217 * gdb.ada/info_addr_mixed_case.exp: Likewise.
1218 * gdb.ada/info_auto_lang.exp: Likewise.
1219 * gdb.ada/info_exc.exp: Likewise.
1220 * gdb.ada/info_types.exp: Likewise.
1221 * gdb.ada/int_deref.exp: Likewise.
1222 * gdb.ada/interface.exp: Likewise.
1223 * gdb.ada/iwide.exp: Likewise.
1224 * gdb.ada/lang_switch.exp: Likewise.
1225 * gdb.ada/length_cond.exp: Likewise.
1226 * gdb.ada/maint_with_ada.exp: Likewise.
1227 * gdb.ada/mi_catch_assert.exp: Likewise.
1228 * gdb.ada/mi_catch_ex.exp: Likewise.
1229 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
1230 * gdb.ada/mi_dyn_arr.exp: Likewise.
1231 * gdb.ada/mi_ex_cond.exp: Likewise.
1232 * gdb.ada/mi_exc_info.exp: Likewise.
1233 * gdb.ada/mi_interface.exp: Likewise.
1234 * gdb.ada/mi_prot.exp: Likewise.
1235 * gdb.ada/mi_ref_changeable.exp: Likewise.
1236 * gdb.ada/mi_string_access.exp: Likewise.
1237 * gdb.ada/mi_task_arg.exp: Likewise.
1238 * gdb.ada/mi_task_info.exp: Likewise.
1239 * gdb.ada/mi_var_array.exp: Likewise.
1240 * gdb.ada/mi_var_union.exp: Likewise.
1241 * gdb.ada/mi_variant.exp: Likewise.
1242 * gdb.ada/minsyms.exp: Likewise.
1243 * gdb.ada/mod_from_name.exp: Likewise.
1244 * gdb.ada/nested.exp: Likewise.
1245 * gdb.ada/null_array.exp: Likewise.
1246 * gdb.ada/optim_drec.exp: Likewise.
1247 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
1248 * gdb.ada/packed_array_assign.exp: Likewise.
1249 * gdb.ada/packed_tagged.exp: Likewise.
1250 * gdb.ada/pp-rec-component.exp: Likewise.
1251 * gdb.ada/print_chars.exp: Likewise.
1252 * gdb.ada/print_pc.exp: Likewise.
1253 * gdb.ada/ptr_typedef.exp: Likewise.
1254 * gdb.ada/ptype_arith_binop.exp: Likewise.
1255 * gdb.ada/ptype_array.exp: Likewise.
1256 * gdb.ada/ptype_field.exp: Likewise.
1257 * gdb.ada/ptype_tagged_param.exp: Likewise.
1258 * gdb.ada/ptype_union.exp: Likewise.
1259 * gdb.ada/py_range.exp: Likewise.
1260 * gdb.ada/py_taft.exp: Likewise.
1261 * gdb.ada/rdv_wait.exp: Likewise.
1262 * gdb.ada/rec_comp.exp: Likewise.
1263 * gdb.ada/rec_return.exp: Likewise.
1264 * gdb.ada/ref_param.exp: Likewise.
1265 * gdb.ada/ref_tick_size.exp: Likewise.
1266 * gdb.ada/rename_subscript_param.exp: Likewise.
1267 * gdb.ada/repeat_dyn.exp: Likewise.
1268 * gdb.ada/same_component_name.exp: Likewise.
1269 * gdb.ada/same_enum.exp: Likewise.
1270 * gdb.ada/scalar_storage.exp: Likewise.
1271 * gdb.ada/set_wstr.exp: Likewise.
1272 * gdb.ada/small_reg_param.exp: Likewise.
1273 * gdb.ada/str_binop_equal.exp: Likewise.
1274 * gdb.ada/str_ref_cmp.exp: Likewise.
1275 * gdb.ada/str_uninit.exp: Likewise.
1276 * gdb.ada/sub_variant.exp: Likewise.
1277 * gdb.ada/sym_print_name.exp: Likewise.
1278 * gdb.ada/taft_type.exp: Likewise.
1279 * gdb.ada/tagged.exp: Likewise.
1280 * gdb.ada/tagged_access.exp: Likewise.
1281 * gdb.ada/task_bp.exp: Likewise.
1282 * gdb.ada/task_switch_in_core.exp: Likewise.
1283 * gdb.ada/tasks.exp: Likewise.
1284 * gdb.ada/tick_last_segv.exp: Likewise.
1285 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
1286 * gdb.ada/type_coercion.exp: Likewise.
1287 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
1288 * gdb.ada/unchecked_union.exp: Likewise.
1289 * gdb.ada/uninitialized_vars.exp: Likewise.
1290 * gdb.ada/var_arr_attrs.exp: Likewise.
1291 * gdb.ada/var_arr_typedef.exp: Likewise.
1292 * gdb.ada/var_rec_arr.exp: Likewise.
1293 * gdb.ada/variant-record.exp: Likewise.
1294 * gdb.ada/variant.exp: Likewise.
1295 * gdb.ada/variant_record_packed_array.exp: Likewise.
1296 * gdb.ada/varsize_limit.exp: Likewise.
1297 * gdb.ada/whatis_array_val.exp: Likewise.
1298 * gdb.ada/widewide.exp: Likewise.
1299 * gdb.ada/win_fu_syms.exp: Likewise.
1300
13012020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
1302
1303 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
1304
10c381b5
AB
13052020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
1306
1307 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
1308 unset the array variable.
1309
8f34b746
TV
13102020-08-03 Tom de Vries <tdevries@suse.de>
1311
1312 PR symtab/26333
1313 * lib/dwarf.exp (DW_LNE_user): New proc.
1314 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
1315 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
1316
0245e136
KB
13172020-07-31 Kevin Buettner <kevinb@redhat.com>
1318
1319 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
1320 to 'uintptr_t'
1321 (inttypes.h): Include.
1322
9ef1ec5d
KB
13232020-07-31 Kevin Buettner <kevinb@redhat.com>
1324
1325 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
1326 (C5_24k): Delete.
1327 (C5_8k, C5_64k, C5_256k): New macros.
1328 (buf_ro): Allocate 256 KiB of initialized data.
1329
4c55e970
TBA
13302020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1331
1332 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
1333 that attempt to overwrite an existing condition with a condition
1334 that fails parsing and also with a condition that parses fine
1335 but contains junk at the end.
1336
1e620590
TBA
13372020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1338
1339 * gdb.base/condbreak-bad.c: New test.
1340 * gdb.base/condbreak-bad.exp: New file.
1341
e12dcc50
TV
13422020-07-30 Tom de Vries <tdevries@suse.de>
1343
1344 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
1345 out of ...
1346 (GDBInfoModuleSymbols::check_entry): ... here.
1347 (GDBInfoModuleSymbols::check_optional_entry): New proc.
1348 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
1349 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
1350
6cc64caa
TV
13512020-07-30 Tom de Vries <tdevries@suse.de>
1352
1353 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
1354 "__class_some_module_Number_t" optional.
1355
90fd07fc
TV
13562020-07-29 Tom de Vries <tdevries@suse.de>
1357
1358 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
1359 multiple locations.
1360
f5c79e97
TV
13612020-07-29 Tom de Vries <tdevries@suse.de>
1362
1363 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
1364 rather than function name.
1365
f75a0693
AB
13662020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1367
1368 PR symtab/26270:
1369 * gdb.cp/disasm-func-name.cc: New file.
1370 * gdb.cp/disasm-func-name.exp: New file.
1371
4888741a
TT
13722020-07-28 Tom Tromey <tromey@adacore.com>
1373
1374 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
1375 'varval' location.
1376
43d5901d
AB
13772020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1378
1379 * gdb.python/py-unwind.py: Update to make use of a register
1380 descriptor.
1381
14fa8fb3
AB
13822020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1383
1384 * gdb.python/py-arch-reg-names.exp: Add additional tests.
1385
e79eb02f
AB
13862020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
1387
1388 PR fortran/23051
1389 PR fortran/26139
1390 * gdb.fortran/class-allocatable-array.exp: New file.
1391 * gdb.fortran/class-allocatable-array.f90: New file.
1392 * gdb.fortran/pointer-to-pointer.exp: New file.
1393 * gdb.fortran/pointer-to-pointer.f90: New file.
1394
876518dd
TV
13952020-07-25 Tom de Vries <tdevries@suse.de>
1396
1397 PR symtab/26243
1398 * gdb.dwarf2/dw2-line-number-zero.c: New test.
1399 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
1400
6dcfb80a
TV
14012020-07-24 Tom de Vries <tdevries@suse.de>
1402
1403 PR testsuite/26293
1404 * gdb.ada/mi_prot.exp: Require gnatmake-8.
1405
e7bc9db8
PA
14062020-07-23 Pedro Alves <pedro@palves.net>
1407
1408 * gdb.server/server-kill.exp (prepare): New, factored out from the
1409 top level.
1410 (kill_server): New.
1411 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
1412 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
1413
78344df7
AB
14142020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
1415
1416 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
1417
25dfed24
SL
14182020-07-22 Sandra Loosemore <sandra@codesourcery.com>
1419
1420 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
1421 Initialize to empty string at top level.
1422 (gdb_wrapper_init): Revert check for file existence on build.
1423 Build the wrapper in its default place, not a build-specific
1424 location. When host == build, make the pathname absolute.
1425 (gdb_compile): Delete leftover declaration of
1426 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
1427 string instead of uninitialized.
1428
7da515fd
KB
14292020-07-22 Kevin Buettner <kevinb@redhat.com>
1430
1431 * gdb.base/corefile2.exp: New file.
1432 * gdb.base/coremaker2.exp: New file.
1433
9c5ec5c2
KB
14342020-07-22 Kevin Buettner <kevinb@redhat.com>
1435
1436 * gdb.base/coredump-filter.exp: Add second
1437 non-Private-Shared-Anon-File test.
1438 (test_disasm): Rename binfile for test which is expected
1439 to fail.
1440
f9e233c9
KB
14412020-07-22 Kevin Buettner <kevinb@redhat.com>
1442
1443 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
1444 data in core file".
1445 * gdb.base/coremaker.c (buf2ro): New global.
1446 (mmapdata): Add a read-only mmap mapping.
1447
94c265d7
KB
14482020-07-22 Kevin Buettner <kevinb@redhat.com>
1449
1450 PR corefiles/25631
1451 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
1452 New test.
1453 * gdb.base/coremaker.c (buf3): New global.
1454 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
1455 flags.
1456
14572020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
1458
1459 * gdb.base/coremaker.c (filler_ro): New global constant.
1460
32fa152e
TT
14612020-07-22 Tom Tromey <tromey@adacore.com>
1462
1463 * gdb.ada/mi_prot.exp: New file.
1464 * gdb.ada/mi_prot/pkg.adb: New file.
1465 * gdb.ada/mi_prot/pkg.ads: New file.
1466 * gdb.ada/mi_prot/prot.adb: New file.
1467
c8474dc3
TBA
14682020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1469
1470 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
1471 loads two JITers.
1472
baf8791e
AB
14732020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
1474
1475 * gdb.python/py-arch-reg-groups.exp: Additional tests.
1476
f7306dac
AB
14772020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
1478
1479 * gdb.python/py-arch-reg-names.exp: Additional tests.
1480
6d3d6e4b
TV
14812020-07-21 Tom de Vries <tdevries@suse.de>
1482
1483 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
1484 breakpoint locations".
1485 * gdb.reverse/solib-reverse.exp: Same.
1486
803d0592
TV
14872020-07-21 Tom de Vries <tdevries@suse.de>
1488
1489 * gdb.reverse/step-reverse.c (callee): Merge statements.
1490
e9bdc510
TV
14912020-07-21 Tom de Vries <tdevries@suse.de>
1492
1493 * gdb.fortran/info-modules.exp (info module variables): Allow missing
1494 line numbers for some variables.
1495
f0f9e75a
TV
14962020-07-21 Tom de Vries <tdevries@suse.de>
1497
1498 * gdb.opt/inline-locals.c (init_array): New func.
1499 (func1): Use init_array.
1500 * gdb.opt/inline-locals.exp: Update pattern.
1501
bd460ecb
TV
15022020-07-21 Tom de Vries <tdevries@suse.de>
1503
1504 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
1505 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
1506
ae5369e7
LC
15072020-07-20 Ludovic Courtès <ludo@gnu.org>
1508
1509 * gdb.guile/source2.scm: Add #f first argument to 'format'.
1510 * gdb.guile/types-module.exp: Remove "ERROR:" from
1511 regexps since Guile 3.0 no longer prints that.
1512
68cf161c
LC
15132020-07-20 Ludovic Courtès <ludo@gnu.org>
1514
1515 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
1516 error regexp to match on Guile 2.2.
1517
c14b4913
GB
15182020-07-20 Gary Benson <gbenson@redhat.com>
1519
1520 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
1521 with clang.
1522
b243ba58
TV
15232020-07-20 Tom de Vries <tdevries@suse.de>
1524
1525 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
1526 (omp_set_lock_in_order): New function.
1527 (single_scope, multi_scope, nested_func, nested_parallel): Use
1528 omp_set_lock_in_order and omp_unset_lock.
1529 (main): Init and destroy lock and lock2.
1530
c06ad8b5
TV
15312020-07-20 Tom de Vries <tdevries@suse.de>
1532
1533 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
1534
6e22f117
TV
15352020-07-20 Tom de Vries <tdevries@suse.de>
1536
1537 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
1538
33176ea7
TV
15392020-07-17 Tom de Vries <tdevries@suse.de>
1540
1541 * gdb.base/valgrind-infcall-2.c: New test.
1542 * gdb.base/valgrind-infcall-2.exp: New file.
1543 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
1544
90c3ec2d
TV
15452020-07-17 Tom de Vries <tdevries@suse.de>
1546
1547 * gdb.dlang/circular.c (found): Use found_label as label name.
1548 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
1549 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
1550 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
1551 * gdb.dwarf2/ada-linkage-name.exp: Same.
1552 * gdb.dwarf2/arr-subrange.exp: Same.
1553 * gdb.dwarf2/atomic-type.exp: Same.
1554 * gdb.dwarf2/comp-unit-lang.exp: Same.
1555 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1556 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1557 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
1558 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
1559 * gdb.dwarf2/implptr-64bit.exp: Same.
1560 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
1561 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
1562 * gdb.dwarf2/imported-unit.exp: Same.
1563 * gdb.dwarf2/main-subprogram.exp: Same.
1564 * gdb.dwarf2/missing-type-name.exp: Same.
1565 * gdb.dwarf2/nonvar-access.exp: Same.
1566 * gdb.dwarf2/struct-with-sig.exp: Same.
1567 * gdb.dwarf2/typedef-void-finish.exp: Same.
1568 * gdb.dwarf2/void-type.exp: Same.
1569
10da644d
TV
15702020-07-17 Tom de Vries <tdevries@suse.de>
1571
1572 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
1573 src parameter.
1574 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
1575 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
1576 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1577 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1578 * gdb.dwarf2/dwz.exp: Same.
1579 * gdb.dwarf2/implptr-optimized-out.exp: Same.
1580 * gdb.dwarf2/implref-array.exp: Same.
1581 * gdb.dwarf2/implref-const.exp: Same.
1582 * gdb.dwarf2/implref-global.exp: Same.
1583 * gdb.dwarf2/implref-struct.exp: Same.
1584 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1585 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1586 * gdb.dwarf2/var-access.exp: Same.
1587 * gdb.dwarf2/varval.exp: Same.
1588 * gdb.trace/entry-values.exp: Same.
1589
315e6afc
TV
15902020-07-17 Tom de Vries <tdevries@suse.de>
1591
1592 * lib/dwarf.exp (Dwarf::extern): Remove.
1593 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
1594 * gdb.dlang/circular.exp: Same.
1595 * gdb.dwarf2/comp-unit-lang.exp: Same.
1596 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1597 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
1598 * gdb.dwarf2/dwz.exp: Same.
1599 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
1600 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
1601 * gdb.dwarf2/imported-unit.exp: Same.
1602 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1603
5597c940
SL
16042020-07-16 Sandra Loosemore <sandra@codesourcery.com>
1605
1606 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
1607 Use double quotes instead of single quotes.
1608
d0ce17d8
CT
16092020-07-16 Caroline Tice <cmtice@google.com>
1610
1611 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
1612 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
1613
853772cc
TV
16142020-07-16 Tom de Vries <tdevries@suse.de>
1615
1616 * lib/dwarf.exp (program): Initialize _line.
1617 (DW_LNE_end_sequence): Reinitialize _line.
1618 (DW_LNS_advance_line): Update _line.
1619 (line): New proc.
1620 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
1621 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
1622 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
1623 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
1624 * gdb.dwarf2/dw2-is-stmt.exp: Same.
1625 * gdb.dwarf2/dw2-ranges-func.exp: Same.
1626
fe07b572
AB
16272020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
1628
1629 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
1630 generic.
1631
52781cce
TV
16322020-07-15 Tom de Vries <tdevries@suse.de>
1633
1634 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
1635 is_amd64_regs_target.
1636
3dcc261c
AB
16372020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
1638
1639 * gdb.fortran/ptype-on-functions.exp: Add more tests.
1640 * gdb.fortran/ptype-on-functions.f90: Likewise.
1641
054a0959
SM
16422020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
1643
1644 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
1645 values in documentation for addr_size to 4 and 8.
1646
ccb9eba6
AB
16472020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
1648
1649 * gdb.arch/amd64-osabi.exp: Update.
1650 * gdb.arch/arm-disassembler-options.exp: Update.
1651 * gdb.arch/powerpc-disassembler-options.exp: Update.
1652 * gdb.arch/ppc64-symtab-cordic.exp: Update.
1653 * gdb.arch/s390-disassembler-options.exp: Update.
1654 * gdb.base/all-architectures.exp.tcl: Update.
1655 * gdb.base/attach-pie-noexec.exp: Update.
1656 * gdb.base/catch-syscall.exp: Update.
1657 * gdb.xml/tdesc-arch.exp: Update.
1658
025a39a7
TV
16592020-07-14 Tom de Vries <tdevries@suse.de>
1660
1661 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
1662 (local_gettid): ... this.
1663 (fn): Update.
1664
74e4b667
SL
16652020-07-13 Sandra Loosemore <sandra@codesourcery.com>
1666
1667 * gdb.base/info_sources.exp: Skip directory match tests on
1668 remote hosts.
1669
f413dd74
GB
16702020-07-13 Gary Benson <gbenson@redhat.com>
1671
1672 * gdb.base/savedregs.exp (caller): Use parentheses to
1673 make expected expression evaluation ordering explicit.
1674
915771bb
GB
16752020-07-13 Gary Benson <gbenson@redhat.com>
1676
1677 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
1678
2a122642
GB
16792020-07-13 Gary Benson <gbenson@redhat.com>
1680
1681 * gdb.base/bigcore.c (main): Use a volatile pointer when
1682 attempting to trigger a SIGSEGV.
1683 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
1684 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
1685 * gdb.base/savedregs.c (thrower): Likewise.
1686 * gdb.mi/mi-syn-frame.c (bar): Likewise.
1687
3f00c730
GB
16882020-07-13 Gary Benson <gbenson@redhat.com>
1689
1690 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
1691 defining and using VLA structure fields into...
1692 * gdb.base/vla-struct-fields.c: New file.
1693 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
1694 tests into...
1695 * gdb.base/vla-struct-fields.exp: New file.
1696
963eeee4
TV
16972020-07-13 Tom de Vries <tdevries@suse.de>
1698
1699 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
1700 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
1701 * gdb.base/gold-gdb-index.exp: Same.
1702 * gdb.base/morestack.exp: Same.
1703
0ed35c9a
DX
17042020-07-11 Daniel Xu <dxu@dxuuu.xyz>
1705
1706 PR rust/26121
1707 * gdb.rust/modules.rs: Prevent linker from discarding test
1708 symbol.
1709
4fdba23d
PA
17102020-07-10 Pedro Alves <pedro@palves.net>
1711
1712 PR gdb/26199
1713 * gdb.multi/multi-target.c (exit_thread): New.
1714 (thread_start): Break loop if EXIT_THREAD.
1715 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
1716 (top level) Call test_no_resumed.
1717
15f3b077
TT
17182020-07-08 Tom Tromey <tromey@adacore.com>
1719
1720 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
1721 * gdb.ada/catch_ex.exp: Examine catchpoint text.
1722
9fc501fd
AB
17232020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1724
1725 PR python/22748
1726 * gdb.opt/inline-frame-tailcall.c: New file.
1727 * gdb.opt/inline-frame-tailcall.exp: New file.
1728 * gdb.python/py-unwind-inline.c: New file.
1729 * gdb.python/py-unwind-inline.exp: New file.
1730 * gdb.python/py-unwind-inline.py: New file.
1731
64cb3757
AB
17322020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1733
1734 * gdb.python/py-arch-reg-groups.exp: New file.
1735
0f767f94
AB
17362020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1737
1738 * gdb.python/py-arch-reg-names.exp: New file.
1739
87dbc774
AB
17402020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1741
1742 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
1743 gdb.PendingFrame.architecture method.
1744
d8cc8af6
TV
17452020-07-06 Tom de Vries <tdevries@suse.de>
1746
1747 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
1748
3c8ea5be
PA
17492020-07-03 Pedro Alves <palves@redhat.com>
1750
1751 * gdb.base/structs2.c (main): Adjust second parem_reg call to
1752 explicitly write negative numbers.
1753 * gdb.base/structs2.exp: Adjust expected output.
1754
bf90c83a
PA
17552020-07-03 Pedro Alves <palves@redhat.com>
1756
1757 * gdb.base/charset.c (init_string): Change all char parameters to
1758 unsigned char parameters.
1759
2eb82157
PA
17602020-07-03 Pedro Alves <palves@redhat.com>
1761
1762 * gdb.base/call-sc.exp (start_scalars_test): Use
1763 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1764 * gdb.base/overlays.c: Remove references to PARAMS.
1765 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
1766 * gdb.base/reread.exp: Don't set 'prototypes' global.
1767 * gdb.base/structs.exp (start_structs_test): Use
1768 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1769 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
1770 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1771 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
1772 call.
1773 * gdb.base/varargs.exp: Don't set 'prototypes' global.
1774
9adda7af
PA
17752020-07-03 Pedro Alves <palves@redhat.com>
1776
1777 * gdb.base/m32rovly.c: Delete.
1778 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
1779
2a17c803
PW
17802020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1781
1782 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
1783 of gdb_py_test_multiple.
1784 * gdb.python/py-cmd.exp: Likewise.
1785 * gdb.python/py-events.exp: Likewise.
1786 * gdb.python/py-function.exp: Likewise.
1787 * gdb.python/py-inferior.exp: Likewise.
1788 * gdb.python/py-infthread.exp: Likewise.
1789 * gdb.python/py-linetable.exp: Likewise.
1790 * gdb.python/py-parameter.exp: Likewise.
1791 * gdb.python/py-value.exp: Likewise.
1792
b011fe1a
TV
17932020-06-30 Tom de Vries <tdevries@suse.de>
1794
1795 PR testsuite/26175
1796 * lib/future.exp (gdb_default_target_compile): Detect and handle
1797 early_flags.
1798
df5b8876
SM
17992020-06-29 Simon Marchi <simon.marchi@efficios.com>
1800
1801 * boards/simavr.exp (gdb_load): Catch errors when closing
1802 previous connection. Close connection, wait for process and
1803 unset simavr_spawn_id on failure.
1804
a3ca48cd
TV
18052020-06-29 Tom de Vries <tdevries@suse.de>
1806
1807 * lib/gdb.exp (unknown): Make test-case unresolved.
1808
b0237c0e
TV
18092020-06-29 Tom de Vries <tdevries@suse.de>
1810
1811 PR gdb/25475
1812 * gdb.server/solib-list.exp: Verify that the symbol reload
1813 confirmation question is asked.
1814
c0b3b3bd
PW
18152020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1816
1817 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
1818 have a input seq nr in each pass message.
fe4c3d43 1819 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
1820 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
1821 * gdb.python/python.exp: Make test names unique,
1822 use gdb_test_multiline instead of gdb_py_test_multiple,
1823 use $gdb_test_name.
1824 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
1825
1776e3e5
NA
18262020-06-26 Nick Alcock <nick.alcock@oracle.com>
1827
1828 * configure.ac: Add --enable-libctf.
1829 * aclocal.m4: sinclude ../config/enable.m4.
1830 * Makefile.in (site.exp): Add enable_libctf to site.exp.
1831 * lib/gdb.exp (skip_ctf_tests): Use it.
1832 * gdb.base/ctf-constvars.exp: Error message tweak.
1833 * gdb.base/ctf-ptype.exp: Likewise.
1834 * configure: Regenerate.
1835
f53b3eeb
GB
18362020-06-26 Gary Benson <gbenson@redhat.com>
1837
1838 * gdb.cp/try_catch.cc: Include string.h.
1839 (main): Replace comparison against string literal with
1840 strcmp, avoiding build failure with -Wstring-compare.
1841 Add "marker test-complete".
1842 * gdb.cp/try_catch.exp: Run the test to the above marker,
1843 then verify that the value of "test" is still true.
1844
6d74da72
AB
18452020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1846
1847 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
1848
2e52d038
AB
18492020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1850
1851 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
1852
3b9fce96
AB
18532020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1854
1855 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
1856 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
1857 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
1858 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
1859 * gdb.arch/riscv-tdesc-loading.exp: New file.
1860
ed69cbc8
AB
18612020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1862
1863 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
1864
767a879e
AB
18652020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1866
1867 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
1868 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
1869 * gdb.arch/riscv-tdesc-regs.c: New file.
1870 * gdb.arch/riscv-tdesc-regs.exp: New file.
1871
221db974
PA
18722020-06-24 Pedro Alves <palves@redhat.com>
1873
1874 * gdb.arch/amd64-entry-value-paramref.exp: Use
1875 prepare_for_testing_full and don't pass "c++" for the .S file
1876 build spec.
1877 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
1878 $options, since it's an assembly file. Remove -Wno-deprecated.
1879 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
1880 compiling C++ programs.
1881
331733cd
PA
18822020-06-24 Pedro Alves <palves@redhat.com>
1883
1884 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
1885 Clang, add "-Wno-unknown-warning-option" to the options.
1886
caa7fd04
AB
18872020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
1888
1889 * gdb.xml/tdesc-reload.c: New file.
1890 * gdb.xml/tdesc-reload.exp: New file.
1891 * gdb.xml/maint-xml-dump-01.xml: New file.
1892 * gdb.xml/maint-xml-dump-02.xml: New file.
1893 * gdb.xml/maint-xml-dump.exp: New file.
1894
bb8d1260
SL
18952020-06-23 Sandra Loosemore <sandra@codesourcery.com>
1896
1897 * lib/completion-support.exp (test_gdb_completion_offers_commands):
1898 Adjust for omitted commands when TUI is disabled.
1899
7e4b9c4c
GB
19002020-06-23 Gary Benson <gbenson@redhat.com>
1901 Pedro Alves <palves@redhat.com>
1902
1903 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
1904 * gdb.cp/nsimport.cc: Likewise.
1905 * gdb.cp/nsnested.cc: Likewise.
1906 * gdb.cp/nsnoimports.cc: Likewise.
1907 * gdb.cp/nsusing.cc: Likewise.
1908 * gdb.cp/smartp.cc: Likewise.
1909 * gdb.python/py-pp-integral.c: Likewise.
1910 * gdb.python/py-pp-re-notag.c: Likewise.
1911
2e573c0a
GB
19122020-06-23 Gary Benson <gbenson@redhat.com>
1913
1914 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
1915 * gdb.cp/nsimport.cc: Likewise.
1916 * gdb.cp/nsnested.cc: Likewise.
1917 * gdb.cp/nsnoimports.cc: Likewise.
1918 * gdb.cp/nsusing.cc: Likewise.
1919 * gdb.cp/smartp.cc: Likewise.
1920 * gdb.python/py-pp-integral.c: Likewise.
1921 * gdb.python/py-pp-re-notag.c: Likewise.
1922
746ebfe8
PW
19232020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1924
1925 * gdb.base/default-args.exp: New test.
1926 * gdb.base/default-args.c: New file.
1927 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
1928 * gdb.base/default.exp: Update to new help text.
1929 * gdb.base/help.exp: Likewise.
1930 * gdb.base/page.exp: Likewise.
1931 * gdb.base/style.exp: Likewise.
1932 * gdb.guile/guile.exp: Likewise.
1933 * gdb.python/python.exp: Likewise.
1934
e822f2cd
SL
19352020-06-22 Sandra Loosemore <sandra@codesourcery.com>
1936
1937 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
1938 remote host. Fix search path syntax on Windows host.
1939
48e9cc84
PW
19402020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1941
1942 * gdb.base/attach.exp: Test priority of 'exec-file' changed
1943 over 'exec-file-mismatch'.
1944 * gdb.base/attach.c: Mark should_exit volatile.
1945 * gdb.base/attach2.c: Likewise. Add a comment explaining
1946 why the sleep cannot be big.
1947 * gdb.base/attach3.c: New file.
1948
160f8a8f
SL
19492020-06-20 Sandra Loosemore <sandra@codesourcery.com>
1950
1951 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
1952 prefix optional.
1953
4d91c2a4
SL
19542020-06-20 Sandra Loosemore <sandra@codesourcery.com>
1955
1956 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
1957 for remote host.
1958
87f83f20
SL
19592020-06-19 Sandra Loosemore <sandra@codesourcery.com>
1960 Hafiz Abid Qadeer <abidh@codesourcery.com>
1961
1962 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
1963 file sent to remote host.
1964 (top level): Allow int32_t as type of 32-bit register.
1965
37ab8655
TV
19662020-06-19 Tom de Vries <tdevries@suse.de>
1967
1968 * lib/gdb.exp (gdb_note): New proc.
1969 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
1970 (gdb_default_target_compile): ... here. Only call
1971 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
1972 (use_gdb_compile): Change to array.
1973 (toplevel): Update sets of use_gdb_compile to specify language.
1974 Warn about default_target_compile override. Store dejagnu's version
1975 of default_target_compile in dejagnu_default_target_compile.
1976
a8a56685
TV
19772020-06-18 Tom de Vries <tdevries@suse.de>
1978
1979 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
1980 (default_gdb_init): ... here.
1981
581bea2c
SL
19822020-06-17 Sandra Loosemore <sandra@codesourcery.com>
1983
1984 Fix TUI support checks in gdb.tui tests.
1985
1986 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
1987 just say UNSUPPORTED.
1988 * gdb.tui/corefile-run.exp: Likewise.
1989 * gdb.tui/empty.exp: Likewise.
1990 * gdb.tui/list-before.exp: Likewise.
1991 * gdb.tui/list.exp: Likewise.
1992 * gdb.tui/main.exp: Likewise.
1993 * gdb.tui/regs.exp: Likewise.
1994 * gdb.tui/resize.exp: Likewise.
1995 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
1996 * gdb.tui/tui-layout-asm.exp: Likewise.
1997 * gdb.tui/tui-missing-src.exp: Likewise.
1998 * gdb.tui/winheight.exp: Likewise.
1999 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
2000
05e682e3
SL
20012020-06-17 Sandra Loosemore <sandra@codesourcery.com>
2002
2003 Fix TCL error in gdb.python/py-format-string.exp.
2004
2005 * gdb.python/py-format-string.exp: Move test for python support
2006 earlier, out of function body.
2007
efb763a5
SM
20082020-06-15 Simon Marchi <simon.marchi@efficios.com>
2009
2010 * gdb.base/index-cache-load-twice.c: New.
2011 * gdb.base/index-cache-load-twice.exp: New.
2012
43327b20
KS
20132020-06-17 Keith Seitz <keiths@redhat.com>
2014
99cf27cf 2015 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
2016 when executing "gdb --configuration".
2017
081e778c
TV
20182020-06-17 Tom de Vries <tdevries@suse.de>
2019
2020 * lib/gdb.exp (gdb_tcl_unknown): New proc.
2021 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
2022 conditional on presence of gdb_tcl_unknown.
2023 (gdb_finish): Make override undo conditional on presence of
2024 gdb_tcl_unknown.
2025
d2d1ea20
TT
20262020-06-16 Tom Tromey <tom@tromey.com>
2027
2028 * gdb.python/tui-window.py (failwin): New function. Register it
2029 as a TUI window type.
2030 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
2031
c802e8a7
GB
20322020-06-16 Gary Benson <gbenson@redhat.com>
2033
2034 * gdb.python/py-nested-maps.c (create_map): Add missing return
2035 value.
2036 (create_map_map): Likewise.
2037
ff08abb8
TBA
20382020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2039
2040 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
2041 variable.
2042 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
2043 and use the already-defined 'options' variable.
2044
a29d5112
AB
20452020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
2046 Tom de Vries <tdevries@suse.de>
2047
2048 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
2049 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
2050 (gdb_setup_known_globals): New proc.
2051 (gdb_cleanup_globals): New proc.
2052 * lib/gdb.exp (load_lib): New override proc.
2053 (gdb_stdin_log_init): Set var in_file as persistent global.
2054 * lib/pascal.exp (gdb_stdin_log_init): Set vars
2055 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
2056 fpc_compiler as persistent global.
2057
8c74a764
TV
20582020-06-12 Tom de Vries <tdevries@suse.de>
2059
2060 * lib/tuiterm.exp (spawn): Rename to ...
2061 (tui_spawn): ... this.
2062 (toplevel): Move rename of spawn ...
2063 (gdb_init_tuiterm): ... here. New proc.
2064 (gdb_finish_tuiterm): New proc.
2065 * lib/gdb.exp (gdb_finish_hooks): New global var.
2066 (gdb_finish): Handle gdb_finish_hooks.
2067 (tuiterm_env): New proc.
2068 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
2069 tuiterm_env.
2070 * gdb.tui/basic.exp: Same.
2071 * gdb.tui/corefile-run.exp: Same.
2072 * gdb.tui/empty.exp: Same.
2073 * gdb.tui/list-before.exp: Same.
2074 * gdb.tui/list.exp: Same.
2075 * gdb.tui/main.exp: Same.
2076 * gdb.tui/new-layout.exp: Same.
2077 * gdb.tui/regs.exp: Same.
2078 * gdb.tui/resize.exp: Same.
2079 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
2080 * gdb.tui/tui-layout-asm.exp: Same.
2081 * gdb.tui/tui-missing-src.exp: Same.
2082 * gdb.tui/winheight.exp: Same.
2083
26783bce
TV
20842020-06-12 Tom de Vries <tdevries@suse.de>
2085
2086 PR testsuite/26110
2087 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
2088 (gdb_finish): Reinstall dejagnu's override of ::unknown.
2089
2b4e6a3f
TT
20902020-06-11 Tom Tromey <tom@tromey.com>
2091
2092 PR gdb/18318:
2093 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
2094 floating point tests.
2095
2f33032a
KS
20962020-06-11 Keith Seitz <keiths@redhat.com>
2097
2098 PR gdb/21356
2099 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
2100 vla_struct.
2101 Add new struct vla_typedef and union vla_typedef_union and
2102 corresponding instantiation objects.
2103 Initialize new objects.
2104 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
2105 and vla_typedef_union_object.
2106 Fixup type for vla_struct_object.
2107
a8baf0a3
TV
21082020-06-11 Tom de Vries <tdevries@suse.de>
2109
2110 * lib/gdb.exp (with_override): New proc, factored out of ...
2111 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
2112
7ab96794
TV
21132020-06-10 Tom de Vries <tdevries@suse.de>
2114
2115 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
2116
cab5c3b7
SM
21172020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
2118
2119 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
2120 parameter, update callers.
2121
f8c41851
SM
21222020-06-04 Simon Marchi <simon.marchi@efficios.com>
2123
2124 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
2125 * gdb.dwarf2/share-psymtabs-bt.c: New file.
2126 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
2127
1c07a73f
TV
21282020-06-04 Tom de Vries <tdevries@suse.de>
2129
2130 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
2131
95146b5d
TV
21322020-06-04 Tom de Vries <tdevries@suse.de>
2133
2134 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
2135 exp_continue.
2136
0cfcd4f0
TV
21372020-06-04 Tom de Vries <tdevries@suse.de>
2138
2139 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
2140
f9b5d5ea
TV
21412020-06-03 Tom de Vries <tdevries@suse.de>
2142
2143 PR symtab/26046
2144 * gdb.cp/breakpoint-locs-2.cc: New test.
2145 * gdb.cp/breakpoint-locs.cc: New test.
2146 * gdb.cp/breakpoint-locs.exp: New file.
2147 * gdb.cp/breakpoint-locs.h: New test.
2148
5144dfba
TV
21492020-06-03 Tom de Vries <tdevries@suse.de>
2150
2151 PR testsuite/25609
2152 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
2153 value of global verbose.
2154 * gdb.base/jit-elf.exp: Same.
2155 * gdb.base/jit-reader.exp: Same.
2156
621eacdf
TV
21572020-06-02 Tom de Vries <tdevries@suse.de>
2158
2159 * gdb.dwarf2/multidictionary.exp: Don't use
2160 gdb_spawn_with_cmdline_opts.
2161
1313c56e
AB
21622020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
2163
2164 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
2165 use_header case.
2166 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
2167 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
2168 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
2169 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
2170 * gdb.dwarf2/dw2-inline-header.c: New file.
2171 * gdb.dwarf2/dw2-inline-header.h: New file.
2172
f68f85b5
PA
21732020-05-30 Pedro Alves <palves@redhat.com>
2174
2175 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
2176 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
2177
678048e8
GB
21782020-05-29 Gary Benson <gbenson@redhat.com>
2179
2180 * gdb.compile/compile-cplus.exp (additional_flags): Also
2181 set when building with clang.
2182 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
2183 when building with clang.
2184
9fcafd23
GB
21852020-05-29 Gary Benson <gbenson@redhat.com>
2186
2187 * gdb.arch/i386-avx.exp (additional_flags): Also set when
2188 building with clang.
2189 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
2190
735d5a07
GB
21912020-05-29 Gary Benson <gbenson@redhat.com>
2192
2193 * gdb.cp/koenig.exp (prepare_for_testing): Add
2194 additional_flags=-Wno-unused-comparison.
2195 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
2196
4ad2c6a0
GB
21972020-05-28 Gary Benson <gbenson@redhat.com>
2198
2199 * gdb.base/sigaltstack.c (catcher): Add default case to switch
2200 statement.
2201
09fe663e
GB
22022020-05-28 Gary Benson <gbenson@redhat.com>
2203
2204 * gdb.cp/classes.exp (prepare_for_testing): Add
2205 additional_flags=-Wno-deprecated-register.
2206 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
2207 * gdb.cp/misc.exp: Likewise.
2208
cee00f17
GB
22092020-05-28 Gary Benson <gbenson@redhat.com>
2210
2211 * gdb.linespec/cpls-ops.cc (dummy): New static global.
2212 (test_op_new::operator new): Add return statement.
2213 (test_op_new_array::operator new[]): Likewise.
2214
636edd00
PA
22152020-05-27 Pedro Alves <palves@redhat.com>
2216
2217 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
2218 check. Use test_gdb_complete_unique instead of
2219 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
2220 test_gdb_complete_multiple instead of
2221 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
2222
c2b75043
LM
22232020-05-27 Luis Machado <luis.machado@linaro.org>
2224
2225 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
2226 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
2227 * gdb.arch/arm-disassembler-options.exp: Likewise.
2228 * gdb.arch/arm-disp-step.exp: Likewise.
2229 * gdb.arch/thumb-prologue.exp: Likewise.
2230 * gdb.base/async.exp: Likewise.
2231 * gdb.base/auxv.exp: Likewise.
2232 * gdb.base/complex-parts.exp: Likewise.
2233 * gdb.base/ena-dis-br.exp: Likewise.
2234 * gdb.base/foll-exec.exp: Likewise.
2235 * gdb.base/permissions.exp: Likewise.
2236 * gdb.base/relocate.exp: Likewise.
2237 * gdb.base/return2.exp: Likewise.
2238 * gdb.base/sigbpt.exp: Likewise.
2239 * gdb.base/siginfo-obj.exp: Likewise.
2240 * gdb.cp/converts.exp: Likewise.
2241 * gdb.cp/exceptprint.exp: Likewise.
2242 * gdb.cp/inherit.exp: Likewise.
2243 * gdb.cp/nsnoimports.exp: Likewise.
2244 * gdb.cp/virtbase2.exp: Likewise.
2245 * gdb.mi/mi-var-cmd.exp: Likewise.
2246 * gdb.mi/var-cmd.c: Likewise.
2247
53a47a3e
TT
22482020-05-26 Tom Tromey <tromey@adacore.com>
2249
2250 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
2251
0bc2354b
TT
22522020-05-26 Tom Tromey <tromey@adacore.com>
2253
2254 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
2255 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
2256 type.
2257 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
2258 variable.
2259
0db49895
CBG
22602020-05-26 Christian Biesinger <cbiesinger@google.com>
2261
2262 * Makefile.in: Use = instead of == for the test command
2263 for portability.
2264
40d22035
TV
22652020-05-26 Tom de Vries <tdevries@suse.de>
2266
2267 * gdb.base/gold-gdb-index-2.c: New test.
2268 * gdb.base/gold-gdb-index.c: New test.
2269 * gdb.base/gold-gdb-index.exp: New file.
2270 * gdb.base/gold-gdb-index.h: New test.
2271
043e2e02
TV
22722020-05-25 Tom de Vries <tdevries@suse.de>
2273
2274 * boards/gold-gdb-index.exp: New file.
2275
462f72c5
SM
22762020-05-25 Simon Marchi <simon.marchi@efficios.com>
2277
2278 * boards/simavr.exp: New file.
2279
6cf66e76
SM
22802020-05-25 Simon Marchi <simon.marchi@efficios.com>
2281
2282 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
2283 * gdb.base/inferior-args.exp: New file.
2284 * gdb.base/inferior-args.c: New file.
2285
75d04512
SM
22862020-05-25 Simon Marchi <simon.marchi@efficios.com>
2287
2288 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
2289 inferior_args. Pass it to gdb_reload.
2290 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
2291 inferior_args.
2292 (gdb_reload): Add inferior_args argument.
2293 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
2294 pass it to gdbserver_run.
2295 * boards/native-gdbserver.exp: Do not set noargs.
2296 * boards/native-extended-gdbserver.exp (gdb_reload): Add
2297 inferior_args argument.
2298 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
2299 * gdb.base/a2-run.exp: Check for use_gdb_stub.
2300 * gdb.base/args.exp: Likewise.
2301
42cf1844
TV
23022020-05-25 Tom de Vries <tdevries@suse.de>
2303
2304 * lib/gdb.exp (exec_is_pie): Add comment.
2305
8f7d38ef
TV
23062020-05-25 Tom de Vries <tdevries@suse.de>
2307
2308 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
2309 instead of $binfile in the untested message.
2310
465e1b0f
TV
23112020-05-25 Tom de Vries <tdevries@suse.de>
2312
2313 PR testsuite/26031
2314 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
2315
3c5a0e02
TV
23162020-05-25 Tom de Vries <tdevries@suse.de>
2317
2318 * boards/gold.exp: New file.
2319
0a4f5f8c
TT
23202020-05-23 Tom Tromey <tom@tromey.com>
2321
2322 * gdb.base/style.exp: Remove completion styling test.
2323 * lib/gdb-utils.exp (style): Remove completion styles.
2324
eca1f90c
TT
23252020-05-23 Tom Tromey <tom@tromey.com>
2326
2327 * gdb.base/style.exp: Add completion styling test.
2328 * lib/gdb-utils.exp (style): Add completion styles.
2329
7c13f4e8
AB
23302020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
2331
2332 * gdb.base/annota1.exp: Update expected results.
2333 * gdb.cp/annota2.exp: Update expected results, remove duplicate
2334 test name.
2335 * gdb.cp/annota3.exp: Update expected results.
2336
41977d16
SM
23372020-05-20 Simon Marchi <simon.marchi@efficios.com>
2338
2339 PR gdb/26016
2340 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
2341 against MAP_FAILED.
2342 * gdb.base/coremaker.c (mmapdata): Likewise.
2343 * gdb.base/jit-reader-host.c (main): Likewise.
2344 * gdb.base/sym-file-loader.c (load): Likewise.
2345 (load_shlib): Likewise.
2346
b4757f2e
TT
23472020-05-20 Tom Tromey <tromey@adacore.com>
2348
2349 * gdb.ada/array_char_idx.exp: Recognize initialized array.
2350
9a0bacfb
TV
23512020-05-20 Tom de Vries <tdevries@suse.de>
2352
2353 PR symtab/25833
2354 * gdb.base/with-mf-inc.c: New test.
2355 * gdb.base/with-mf-main.c: New test.
2356 * gdb.base/with-mf.exp: New file.
2357
76571211
TT
23582020-05-19 Tom Tromey <tromey@adacore.com>
2359
2360 * gdb.rust/simple.exp: Restore missing test result.
2361
4cd9f3d5
TV
23622020-05-19 Tom de Vries <tdevries@suse.de>
2363
2364 * gdb.base/gdb-caching-proc.exp: Fix typo.
2365
7d874253
TT
23662020-05-19 Tom Tromey <tromey@adacore.com>
2367
2368 * gdb.rust/simple.exp: Add some test descriptions.
2369 (test_one_slice): Use with_test_prefix.
2370
1d727695
TV
23712020-05-18 Tom de Vries <tdevries@suse.de>
2372
2373 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
2374
7f32a4d5
PA
23752020-05-17 Pedro Alves <palves@redhat.com>
2376
2377 PR gdb/25741
2378 * gdb.base/hw-sw-break-same-address.exp: New file.
2379
7cfd74cf
PA
23802020-05-16 Pedro Alves <palves@redhat.com>
2381
2382 * gdb.multi/multi-re-run.exp (test_re_run): Switch
2383 LAST_LOADED_FILE accordingly.
2384
57b4f16e
PW
23852020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2386
2387 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
2388
7c05caf7
PW
23892020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2390
2391 * gdb.base/help.exp: Test apropos and help for commands
2392 having aliases. Fixed comments not starting with an
2393 upper-case letter or not finishing with a dot.
2394
7aa1b46f
PW
23952020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2396
3b3aaacb
PW
2397 * gdb.base/alias.exp: Update help output check.
2398
57b4f16e 23992020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 2400
7aa1b46f
PW
2401 * gdb.base/default.exp: Update output following fixes.
2402
0605465f
PW
24032020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2404
2405 * gdb.base/alias.exp: Test aliases starting with a prefix of
2406 another alias.
2407
86e4e63d
GB
24082020-05-15 Gary Benson <gbenson@redhat.com>
2409
2410 * gdb.base/info-os.c (main): Add return statement.
2411 * gdb.base/info_minsym.c (minsym_fun): Likewise.
2412 * gdb.base/large-frame-2.c (func): Likewise.
2413 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
2414 * gdb.base/pr10179-b.c (foo2): Likewise.
2415 * gdb.base/valgrind-disp-step.c (foo): Likewise.
2416 * gdb.base/watch-cond.c (func): Likewise.
2417 * gdb.multi/goodbye.c (verylongfun): Likewise.
2418 * gdb.multi/hello.c (commonfun): Likewise.
2419 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
2420 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
2421 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
2422 Likewise.
2423 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
2424 * gdb.threads/interrupt-while-step-over.c (child_function):
2425 Likewise.
2426 * gdb.trace/actions-changed.c (end): Likewise.
2427
163df4df
GB
24282020-05-15 Gary Benson <gbenson@redhat.com>
2429
2430 * gdb.opencl/callfuncs.exp: Report when test skipped.
2431 * gdb.opencl/convs_casts.exp: Likewise.
2432 * gdb.opencl/datatypes.exp: Likewise.
2433 * gdb.opencl/operators.exp: Likewise.
2434 * gdb.opencl/vec_comps.exp: Likewise.
2435
6dbc505a
TV
24362020-05-15 Tom de Vries <tdevries@suse.de>
2437
2438 * gdb.base/align.exp.in: Rename to ...
2439 * gdb.base/align.exp.tcl: ... this.
2440 * gdb.base/align-c++.exp: Update.
2441 * gdb.base/align-c.exp: Update.
2442 * gdb.base/all-architectures.exp.in: Rename to ...
2443 * gdb.base/all-architectures.exp: ... this.
2444 * gdb.base/all-architectures-0.exp: Update.
2445 * gdb.base/all-architectures-1.exp: Update.
2446 * gdb.base/all-architectures-2.exp: Update.
2447 * gdb.base/all-architectures-3.exp: Update.
2448 * gdb.base/all-architectures-4.exp: Update.
2449 * gdb.base/all-architectures-5.exp: Update.
2450 * gdb.base/all-architectures-6.exp: Update.
2451 * gdb.base/all-architectures-7.exp: Update.
2452 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
2453 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
2454 * gdb.base/infcall-nested-structs-c++.exp: Update.
2455 * gdb.base/infcall-nested-structs-c.exp: Update.
2456 * gdb.base/info-types.exp.in: Rename to ...
2457 * gdb.base/info-types.exp.tcl: ... this.
2458 * gdb.base/info-types-c++.exp: Update.
2459 * gdb.base/info-types-c.exp: Update.
2460 * gdb.base/max-depth.exp.in: Rename to ...
2461 * gdb.base/max-depth.exp.tcl: ... this.
2462 * gdb.base/max-depth-c++.exp: Update.
2463 * gdb.base/max-depth-c.exp: Update.
2464 * gdb.cp/cpexprs.exp.in: Rename to ...
2465 * gdb.cp/cpexprs.exp.tcl: ... this.
2466 * gdb.cp/cpexprs-debug-types.exp: Update.
2467 * gdb.cp/cpexprs.exp: Update.
2468 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
2469 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
2470 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
2471 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
2472 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
2473 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
2474 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
2475 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
2476 * gdb.dwarf2/clang-debug-names-2.exp: Update.
2477 * gdb.dwarf2/clang-debug-names.exp: Update.
2478
d1034d78
AB
24792020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
2480
2481 * lib/check-test-names.exp: Remove code that prevents this file
2482 loading when tests are run in parallel.
2483
3c5c3649
PA
24842020-05-15 Pedro Alves <palves@redhat.com>
2485
2486 * gdb.multi/multi-kill.exp (start_inferior): Remove
2487 'testpid' parameter. Refer to namespace variable directly.
2488 (testpid): Declare as namespace variable.
2489
272c36b8
PA
24902020-05-15 Pedro Alves <palves@redhat.com>
2491
2492 * gdb.multi/multi-kill.exp: Wrap in namespace.
2493 (start_inferior): Add TESTPID parameter. Use it instead of the
2494 testpid global.
2495 (top level): Define empty TESTPID array, and pass it down to
2496 start_inferior.
2497
02eba61a
TV
24982020-05-14 Tom de Vries <tdevries@suse.de>
2499
2500 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
2501 output.
2502
971a3747
TV
25032020-05-14 Tom de Vries <tdevries@suse.de>
2504
2505 * gdb.base/align.exp: Split into ...
2506 * gdb.base/align.exp.in: ...
2507 * gdb.base/align-c++.exp: ...
2508 * gdb.base/align-c.exp: ... these.
2509 * gdb.base/infcall-nested-structs.exp: Split into ...
2510 * gdb.base/infcall-nested-structs.exp.in: ...
2511 * gdb.base/infcall-nested-structs-c++.exp: ...
2512 * gdb.base/infcall-nested-structs-c.exp: ... these.
2513 * gdb.base/info-types.exp: Split into ...
2514 * gdb.base/info-types.exp.in: ...
2515 * gdb.base/info-types-c++.exp: ...
2516 * gdb.base/info-types-c.exp: ... these.
2517 * gdb.base/max-depth.exp: Split into ...
2518 * gdb.base/max-depth.exp.in: ...
2519 * gdb.base/max-depth-c++.exp: ...
2520 * gdb.base/max-depth-c.exp: ... these.
2521 * gdb.cp/infcall-nodebug.exp: Split into ...
2522 * gdb.cp/infcall-nodebug.exp.in: ...
2523 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
2524 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
2525 * gdb.cp/infcall-nodebug-c-d0.exp: ...
2526 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
2527
a05575d3
TBA
25282020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2529 Pedro Alves <palves@redhat.com>
2530
2531 * gdb.multi/multi-exit.c: New file.
2532 * gdb.multi/multi-exit.exp: New file.
2533 * gdb.multi/multi-kill.c: New file.
2534 * gdb.multi/multi-kill.exp: New file.
2535
6ad82919
TBA
25362020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2537
2538 * gdb.base/annota1.exp: Update the expected output.
2539 * gdb.cp/annota2.exp: Ditto.
2540
843f4d93
AB
25412020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
2542
2543 * lib/check-test-names.exp: Disable when testing is being run in
2544 parallel.
2545
c7c66341
TV
25462020-05-12 Tom de Vries <tdevries@suse.de>
2547
2548 * gdb.base/jit-elf.exp: Fix string concat.
2549
1b59ca1c
TV
25502020-05-12 Tom de Vries <tdevries@suse.de>
2551
2552 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
2553 messages.
2554
b4991d29
TV
25552020-05-12 Tom de Vries <tdevries@suse.de>
2556
2557 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
2558
dbb0ab10
TV
25592020-05-12 Tom de Vries <tdevries@suse.de>
2560
2561 * gdb.ada/catch_ex.exp: Use with_test_prefix.
2562 * gdb.ada/mi_catch_ex.exp: Same.
2563 * gdb.ada/mi_catch_ex_hand.exp: Same.
2564
7549fed8
TV
25652020-05-12 Tom de Vries <tdevries@suse.de>
2566
2567 * gdb.fortran/complex.exp: Use with_test_prefix.
2568
af2d5cd8
TV
25692020-05-12 Tom de Vries <tdevries@suse.de>
2570
2571 * gdb.trace/passcount.exp: Fix test-names.
2572
7c121311
TV
25732020-05-12 Tom de Vries <tdevries@suse.de>
2574
2575 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
2576
c9f3b40e
TV
25772020-05-12 Tom de Vries <tdevries@suse.de>
2578
2579 * gdb.gdb/complaints.exp: Use with_test_prefix.
2580 * gdb.xml/tdesc-regs.exp: Same.
2581 * gdb.opt/inline-locals.exp: Fix test name.
2582
111b33f0
TV
25832020-05-12 Tom de Vries <tdevries@suse.de>
2584
2585 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
2586 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
2587 * gdb.dwarf2/implref-struct.exp: Same.
2588 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
2589 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
2590
ebf47080
SM
25912020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
2592
2593 * gdb.base/jit-so.exp (one_jit_test): Change test name.
2594
d30dcd12
AB
25952020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
2596
2597 * lib/check-test-names.exp (all_test_names): New module variable.
2598 (counts): Add 'duplicates' field.
2599 (_check_duplicates): New procedure.
2600 (check): Also check for duplicates.
2601 (do_log_summary): Print duplicates count.
2602 (do_reset_vars): Reset counter for duplicate test names, and
2603 discard all know test names.
2604
34584c09
AB
26052020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
2606
2607 * lib/gdb.exp: Include check-test-names.exp library.
2608 * lib/check-test-names.exp: New file.
2609
e0002117
TV
26102020-05-11 Tom de Vries <tdevries@suse.de>
2611
2612 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
2613
53f539a3
KS
26142020-05-11 Keith Seitz <keiths@redhat.com>
2615
2616 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
2617
113ee09a
TV
26182020-05-11 Tom de Vries <tdevries@suse.de>
2619
2620 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
2621 * gdb.cp/cpexprs.exp.in: .. here.
2622 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
2623 cpexprs.exp.
2624
ba3e70b0
KS
26252020-05-11 Keith Seitz <keiths@redhat.com>
2626
2627 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
2628 test names.
2629 * gdb.ada/arrayptr.exp: Likewise.
2630 * gdb.ada/assign_arr.exp: Likewise.
2631 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
2632 * gdb.ada/bp_on_var.exp: Likewise.
2633 * gdb.ada/call_pn.exp: Likewise.
2634 * gdb.ada/complete.exp: Likewise.
2635 * gdb.ada/fun_overload_menu.exp: Likewise.
2636 * gdb.ada/funcall_param.exp: Likewise.
2637 * gdb.ada/funcall_ref.exp: Likewise.
2638 * gdb.ada/packed_array_assign.exp: Likewise.
2639 * gdb.ada/same_component_name.exp: Likewise.
2640 * gdb.ada/type_coercion.exp: Likewise.
2641 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
2642 * gdb.ada/variant_record_packed_array.exp: Likewise.
2643
3ee6bb11
TV
26442020-05-11 Tom de Vries <tdevries@suse.de>
2645
2646 PR symtab/25941
2647 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
2648 out of ...
2649 * gdb.dwarf2/clang-debug-names.exp: ... here.
2650 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
2651 clang-debug-names.exp.in.
2652 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
2653 * gdb.dwarf2/clang-debug-names-2.c: New test.
2654
86cd6bc8
AKS
26552020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
2656
2657 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
2658 (fortran_runto_main): New Proc, fortran version of runto_main.
2659 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
2660 * gdb.fortran/array-bounds.exp: Likewise.
2661 * gdb.fortran/array-slices.exp: Likewise.
2662 * gdb.fortran/block-data.exp: Likewise.
2663 * gdb.fortran/charset.exp: Likewise.
2664 * gdb.fortran/common-block.exp: Likewise.
2665 * gdb.fortran/complex.exp: Likewise.
2666 * gdb.fortran/derived-type-function.exp: Likewise.
2667 * gdb.fortran/derived-type.exp: Likewise.
2668 * gdb.fortran/info-modules.exp: Likewise.
2669 * gdb.fortran/info-types.exp: Likewise.
2670 * gdb.fortran/intrinsics.exp: Likewise.
2671 * gdb.fortran/library-module.exp: Likewise.
2672 * gdb.fortran/logical.exp: Likewise.
2673 * gdb.fortran/max-depth.exp: Likewise.
2674 * gdb.fortran/module.exp: Likewise.
2675 * gdb.fortran/multi-dim.exp: Likewise.
2676 * gdb.fortran/nested-funcs.exp: Likewise.
2677 * gdb.fortran/print-formatted.exp: Likewise.
2678 * gdb.fortran/print_type.exp: Likewise.
2679 * gdb.fortran/printing-types.exp: Likewise.
2680 * gdb.fortran/ptr-indentation.exp: Likewise.
2681 * gdb.fortran/ptype-on-functions.exp: Likewise.
2682 * gdb.fortran/subarray.exp: Likewise.
2683 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
2684 * gdb.fortran/vla-datatypes.exp: Likewise.
2685 * gdb.fortran/vla-history.exp: Likewise.
2686 * gdb.fortran/vla-ptr-info.exp: Likewise.
2687 * gdb.fortran/vla-ptype-sub.exp: Likewise.
2688 * gdb.fortran/vla-ptype.exp: Likewise.
2689 * gdb.fortran/vla-sizeof.exp: Likewise.
2690 * gdb.fortran/vla-type.exp: Likewise.
2691 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
2692 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
2693 * gdb.fortran/vla-value-sub.exp: Likewise.
2694 * gdb.fortran/vla-value.exp: Likewise.
2695 * gdb.fortran/whatis_type.exp: Likewise.
2696 * gdb.mi/mi-var-child-f.exp: Likewise.
2697
6dc55ce9 26982020-05-09 Tom de Vries <tdevries@suse.de>
2699
2700 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
2701
283cb58c
TV
27022020-05-08 Tom de Vries <tdevries@suse.de>
2703
2704 * gdb.dwarf2/clang-debug-names.c: New test.
2705 * gdb.dwarf2/clang-debug-names.exp: New file.
2706
ac4a4f1c
SM
27072020-05-06 Simon Marchi <simon.marchi@efficios.com>
2708
2709 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
2710 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
2711
24fe640b
TV
27122020-05-06 Tom de Vries <tdevries@suse.de>
2713
2714 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
2715 breakpoint is at a "recommended breakpoint location".
2716 * gdb.reverse/consecutive-reverse.exp: Same.
2717
0d8683a3
TV
27182020-05-06 Tom de Vries <tdevries@suse.de>
2719
2720 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
2721 address.
2722
b8983c46
TV
27232020-05-06 Tom de Vries <tdevries@suse.de>
2724
2725 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
2726
abf6d805
TV
27272020-05-06 Tom de Vries <tdevries@suse.de>
2728
2729 * gdb.base/store.exp (check_set, up_set): Allowing missing location
2730 info for r.
2731
0fc2a808
TV
27322020-05-06 Tom de Vries <tdevries@suse.de>
2733
2734 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
2735 necessary.
2736
873dd427
TV
27372020-05-06 Tom de Vries <tdevries@suse.de>
2738
2739 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
2740 void.
2741
7c99e7e2
TV
27422020-05-06 Tom de Vries <tdevries@suse.de>
2743
2744 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
2745 of ...
2746 * gdb.base/async.exp: ... here.
2747 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
2748 "recommended breakpoint location".
2749
6173d6a6
TV
27502020-05-06 Tom de Vries <tdevries@suse.de>
2751
2752 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
2753
6015a067
TV
27542020-05-04 Tom de Vries <tdevries@suse.de>
2755
2756 * gdb.base/async.exp: Check whether instruction addresses are a
2757 "recommended breakpoint location".
2758
3b6acaee
TT
27592020-05-03 Tom Tromey <tom@tromey.com>
2760
2761 * gdb.base/sepdebug.exp: Remove "catch" test.
2762 * gdb.base/break.exp: Remove "catch" test.
2763 * gdb.base/default.exp: Update expected output.
2764
5beb4d17
TV
27652020-05-02 Tom de Vries <tdevries@suse.de>
2766
2767 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
2768 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
2769 * gdb.arch/i386-mpx-map.exp: Same.
2770 * gdb.arch/i386-mpx-sigsegv.exp: Same.
2771 * gdb.arch/i386-mpx-simple_segv.exp: Same.
2772 * gdb.arch/i386-mpx.exp: Same.
2773
8caf140d
TV
27742020-05-02 Tom de Vries <tdevries@suse.de>
2775
2776 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
2777
693196cb
TV
27782020-05-01 Tom de Vries <tdevries@suse.de>
2779
2780 * gdb.ada/operator_bp.exp: Allow more than required amount of
2781 breakpoint.
2782
53ae0aa9
TV
27832020-05-01 Tom de Vries <tdevries@suse.de>
2784
2785 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
2786
ee9d1e5f
HD
27872020-04-30 Hannes Domani <ssbssa@yahoo.de>
2788
2789 PR gdb/18706
2790 * gdb.cp/stub-array-size.cc: New test.
2791 * gdb.cp/stub-array-size.exp: New file.
2792 * gdb.cp/stub-array-size.h: New test.
2793 * gdb.cp/stub-array-size2.cc: New test.
2794
d5cf82c0
HD
27952020-04-30 Hannes Domani <ssbssa@yahoo.de>
2796
2797 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
2798 output to the new format.
2799
42e165c3
SM
28002020-04-29 Simon Marchi <simon.marchi@efficios.com>
2801
2802 * gdb.base/break.exp: Use with_test_prefix.
2803
6e4e3fe1
TV
28042020-04-29 Tom de Vries <tdevries@suse.de>
2805
2806 * lib/gdb.exp (debug_types): New proc.
2807 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
2808 * gdb.python/py-symtab.exp: Same.
2809
d642b692
HD
28102020-04-29 Hannes Domani <ssbssa@yahoo.de>
2811
2812 PR gdb/17320
2813 * gdb.base/pretty-array.c: New test.
2814 * gdb.base/pretty-array.exp: New file.
2815
ea90f227
TV
28162020-04-29 Tom de Vries <tdevries@suse.de>
2817
2818 PR symtab/25889
2819 * gdb.cp/cpexprs.exp: Adapt for inclusion.
2820 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
2821 and include cpexprs.exp.
2822
a65189c9
TV
28232020-04-28 Mark Williams <mark@myosotissp.com>
2824
2825 PR gdb/24480
2826 * dw4-toplevel-types.exp: Test for top level types.
2827 * dw4-toplevel-types.cc: Test for top level types.
2828
32d1f47a
TBA
28292020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2830
2831 * gdb.threads/stop-with-handle.exp: Fix typo in comment
2832 (theads -> threads).
2833
56a4f5a1
TV
28342020-04-28 Tom de Vries <tdevries@suse.de>
2835
2836 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
2837
0b2f8a3b
TV
28382020-04-28 Tom de Vries <tdevries@suse.de>
2839
2840 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
2841
5390c717
TV
28422020-04-28 Tom de Vries <tdevries@suse.de>
2843
2844 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
2845
15cd93d0
TV
28462020-04-28 Tom de Vries <tdevries@suse.de>
2847
2848 * gdb.dwarf2/main-foo.c: New test.
2849 * gdb.dwarf2/struct-with-sig.exp: New file.
2850
d472f0fb
TV
28512020-04-25 Tom de Vries <tdevries@suse.de>
2852
2853 * boards/debug-types.exp: New file.
2854
8d840e05
AB
28552020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
2856
2857 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
2858
bcfe6157
TT
28592020-04-24 Tom Tromey <tom@tromey.com>
2860
2861 PR symtab/12707:
2862 * gdb.python/py-symbol.exp: Update expected results for
2863 linkage_name test.
2864 * gdb.cp/print-demangle.exp: New file.
2865 * gdb.base/c-linkage-name.exp: Fix test.
2866 * gdb.guile/scm-symbol.exp: Update expected results for
2867 linkage_name test.
2868
f049a313
TT
28692020-04-24 Tom Tromey <tom@tromey.com>
2870
2871 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
2872 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
2873 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
2874 assembler.
2875
7cf28874
TV
28762020-04-24 Tom de Vries <tdevries@suse.de>
2877
2878 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
2879 C++.
2880
dac2fef7
TT
28812020-04-24 Tom Tromey <tromey@adacore.com>
2882
2883 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
2884 values.
2885 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
2886 values. Update test for minimal encodings.
2887 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
2888 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
2889 values. Update test for minimal encodings.
2890
1acda803
TT
28912020-04-24 Tom Tromey <tromey@adacore.com>
2892
2893 PR python/23662:
2894 * gdb.ada/variant.exp: Add Python checks.
2895 * gdb.rust/simple.exp: Add dynamic type checks.
2896
adfb9815
TT
28972020-04-24 Tom Tromey <tromey@adacore.com>
2898
2899 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
2900 Make array type matching more lax.
2901 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
2902 * gdb.ada/mi_variant.exp: New file.
2903 * gdb.ada/mi_variant/pck.ads: New file.
2904 * gdb.ada/mi_variant/pkg.adb: New file.
2905 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
2906 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
2907
7d79de9a
TT
29082020-04-24 Tom Tromey <tromey@adacore.com>
2909
2910 * gdb.ada/variant.exp: Add dynamic field offset tests.
2911 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
2912 * gdb.ada/variant/pkg.adb: Add new variables.
2913
f8e89861
TT
29142020-04-24 Tom Tromey <tromey@adacore.com>
2915
2916 * gdb.ada/variant.exp: New file
2917 * gdb.ada/variant/pkg.adb: New file
2918 * gdb.ada/variant/pck.adb: New file
2919
86e887ae
TV
29202020-04-24 Tom de Vries <tdevries@suse.de>
2921
2922 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
2923
88428775
TV
29242020-04-24 Tom de Vries <tdevries@suse.de>
2925
2926 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
2927 flags.
2928
4e86f6e7
TV
29292020-04-24 Tom de Vries <tdevries@suse.de>
2930
2931 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
2932
2016d3e6
TV
29332020-04-24 Tom de Vries <tdevries@suse.de>
2934
2935 * lib/gdb.exp (default_gdb_start): Handle eof.
2936 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
2937 failure.
2938 * gdb.base/readnever.exp: Handle clean_restart failure.
2939
70bc38f5
TV
29402020-04-23 Tom de Vries <tdevries@suse.de>
2941
2942 * gdb.base/decl-before-def.exp: Run to main and print a again.
2943
de82891c
TV
29442020-04-23 Tom de Vries <tdevries@suse.de>
2945
2946 * gdb.base/decl-before-def-decl.c: New test.
2947 * gdb.base/decl-before-def-def.c: New test.
2948 * gdb.base/decl-before-def.exp: New file.
2949
96038148
TV
29502020-04-23 Tom de Vries <tdevries@suse.de>
2951
2952 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
2953
54ac3df1
TV
29542020-04-22 Tom de Vries <tdevries@suse.de>
2955
2956 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
2957 debug_info_offset.
2958 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
2959 before $objsfile in the line line.
2960
714534e1
TV
29612020-04-22 Tom de Vries <tdevries@suse.de>
2962
2963 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
2964
16a7dbf4
MS
29652020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2966
2967 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
2968 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
2969 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
2970 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
2971 * gdb.base/jit-protocol.h: Update definitions to match all usage
2972 contexts.
2973
29742020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2975
2976 * gdb.base: Rename all jit related test and source files.
2977
29782020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2979
2980 * gdb.base/jit-reader.exp: Relax register output check.
2981
317d2668
TV
29822020-04-22 Tom de Vries <tdevries@suse.de>
2983
2984 PR symtab/25764
2985 * gdb.base/psym-external-decl-2.c: New test.
2986 * gdb.base/psym-external-decl.c: New test.
2987 * gdb.base/psym-external-decl.exp: New file.
2988 * gdb.threads/tls.exp: Add PR25807 kfail.
2989
eea9e357
TV
29902020-04-22 Tom de Vries <tdevries@suse.de>
2991
2992 PR symtab/25801
2993 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
2994 in "info source" output.
2995
3d5afab3
TV
29962020-04-22 Tom de Vries <tdevries@suse.de>
2997
2998 PR symtab/25700
2999 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
3000 symtab for imported_unit.c.
3001
b32102f6
GB
30022020-04-21 Gary Benson <gbenson@redhat.com>
3003
3004 * gdb.base/advance.c (func): New argument, to match call site.
3005 (func2, func3): Add return statements.
3006
d43b7a2d
TBA
30072020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3008
3009 * gdb.multi/run-only-second-inf.c: New file.
3010 * gdb.multi/run-only-second-inf.exp: New file.
3011
d89edf9b
MM
30122020-04-21 Markus Metzger <markus.t.metzger@intel.com>
3013
3014 * gdb.btrace/multi-inferior.c: New test.
3015 * gdb.btrace/multi-inferior.exp: New file.
3016
1a476b6d
MM
30172020-04-21 Markus Metzger <markus.t.metzger@intel.com>
3018
3019 * gdb.btrace/enable-new-thread.c: New test.
3020 * gdb.btrace/enable-new-thread.exp: New file.
3021
4778a5f8
TV
30222020-04-21 Tom de Vries <tdevries@suse.de>
3023
3024 PR gdb/25471
3025 * gdb.threads/killed-outside.c: New test.
3026 * gdb.threads/killed-outside.exp: New file.
3027
9b2c992c
GB
30282020-04-20 Gary Benson <gbenson@redhat.com>
3029
3030 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
3031 * gdb.base/nested-subp2.exp: Likewise.
3032 * gdb.base/nested-subp3.exp: Likewise.
3033
b5d1d6f7
GB
30342020-04-20 Gary Benson <gbenson@redhat.com>
3035
3036 * gdb.base/nested-subp1.exp: Disable test when using clang.
3037 * gdb.base/nested-subp2.exp: Likewise.
3038 * gdb.base/nested-subp3.exp: Likewise.
3039
25230285
GB
30402020-04-20 Gary Benson <gbenson@redhat.com>
3041
3042 * gdb.cp/exception.cc: Fix compilation error with clang.
3043
fa93cc8f
GB
30442020-04-20 Gary Benson <gbenson@redhat.com>
3045
809730f3 3046 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 3047
e0c45f30
GB
30482020-04-20 Gary Benson <gbenson@redhat.com>
3049
3050 * gdb.base/jit-main.c: Fix compilation error with clang.
3051
4ddfec93
KR
30522020-04-17 Kamil Rytarowski <n54@gmx.com>
3053
3054 * gdb.base/attach-twice.c: Include "sys/types.h".
3055 (PTRACE_ATTACH): Add fallback definition.
3056 (main): Pass `0' to the 4th argument of `ptrace'.
3057
2bed205e
KR
30582020-04-17 Kamil Rytarowski <n54@gmx.com>
3059
3060 * gdb.base/fork-running-state.c: Include "signal.h".
3061
0743fc83
TT
30622020-04-17 Tom Tromey <tromey@adacore.com>
3063
3064 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
3065 Update tests.
3066 * gdb.btrace/cpu.exp: Update tests.
3067 * gdb.base/maint.exp: Update tests.
3068 * gdb.base/default.exp: Update tests.
3069 * gdb.base/completion.exp: Update tests.
3070
efba5c23
TV
30712020-04-16 Tom de Vries <tdevries@suse.de>
3072
3073 PR symtab/25791
3074 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
3075 (ensure_gdb_index): and factor out and move ...
3076 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
3077 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
3078
d191d716
TV
30792020-04-16 Tom de Vries <tdevries@suse.de>
3080
3081 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
3082 loading exec.
3083
99f1bc6a
AB
30842020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
3085
3086 * gdb.base/many-completions.exp: New file.
3087
194d088f
TV
30882020-04-14 Tom de Vries <tdevries@suse.de>
3089
3090 PR symtab/25718
3091 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
3092
c1a66c06
TV
30932020-04-14 Tom de Vries <tdevries@suse.de>
3094
3095 PR symtab/25720
3096 * gdb.base/maint-expand-symbols-header-file.c: New test.
3097 * gdb.base/maint-expand-symbols-header-file.exp: New file.
3098 * gdb.base/maint-expand-symbols-header-file.h: New test.
3099
21b0982c
AB
31002020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
3101
3102 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
3103 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
3104 get_func_info.
3105 (get_func_info): Delete.
3106 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
3107 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
3108 * lib/dwarf.exp (get_func_info): New function.
3109
dd1cab06
TV
31102020-04-13 Tom de Vries <tdevries@suse.de>
3111
3112 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
3113 to what find_gnatmake does.
3114
71ea2b6b
TV
31152020-04-10 Tom de Vries <tdevries@suse.de>
3116
3117 * gdb.base/style.exp: Expect "Expanding full symbols" message for
3118 -readnow.
3119
bdfc1e8a
TV
31202020-04-10 Tom de Vries <tdevries@suse.de>
3121
3122 PR cli/25808
3123 * gdb.base/style.c: Add leading newlines.
3124 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
3125 Check listing of main's one-line body.
3126
14ca8ecf
TV
31272020-04-08 Tom de Vries <tdevries@suse.de>
3128
3129 * lib/gdb.exp (psymtabs_p): New proc.
3130 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
3131 importing unit" unsupported if there are no partial symbols.
3132
e21d048f
TV
31332020-04-08 Tom de Vries <tdevries@suse.de>
3134
3135 PR testsuite/25760
3136 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
3137
25c11aca
TV
31382020-04-07 Tom de Vries <tdevries@suse.de>
3139
3140 PR symtab/25796
3141 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
3142
5707e24b
TV
31432020-04-07 Tom de Vries <tdevries@suse.de>
3144
3145 * gdb.base/check-psymtab.c: New test.
3146 * gdb.base/check-psymtab.exp: New file.
3147
6ee448cc
TT
31482020-04-06 Tom Tromey <tromey@adacore.com>
3149
3150 * gdb.ada/variant-record/proc.adb: New file.
3151 * gdb.ada/variant-record/value.adb: New file.
3152 * gdb.ada/variant-record/value.s: New file.
3153 * gdb.ada/variant-record.exp: New file.
3154
9e7c9a03
HD
31552020-04-03 Hannes Domani <ssbssa@yahoo.de>
3156
3157 PR gdb/25325
3158 * gdb.cp/typed-enum.cc: New test.
3159 * gdb.cp/typed-enum.exp: New file.
3160
c90d28ac
AB
31612020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3162
3163 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
3164 * gdb.dwarf2/dw2-inline-small-func.c: New file.
3165 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
3166 * gdb.dwarf2/dw2-inline-small-func.h: New file.
3167 * gdb.opt/inline-small-func.c: New file.
3168 * gdb.opt/inline-small-func.exp: New file.
3169 * gdb.opt/inline-small-func.h: New file.
3170
34e9a9fa
AB
31712020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3172
3173 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
3174 function.
3175
6a354911
AB
31762020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3177
3178 * lib/dwarf.exp (function_range): Allow compiler options to be
3179 specified.
3180
880d9777
TV
31812020-04-02 Tom de Vries <tdevries@suse.de>
3182
3183 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
3184 __attribute__((always_inline)).
3185 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
3186
f32682ea
TV
31872020-04-02 Tom de Vries <tdevries@suse.de>
3188
3189 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
3190 (gdbserver_gdb_exit): ... here. Add timeout warning.
3191 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
3192 (connect_target_extended_remote): Append new server_spawn_id to
3193 server_spawn_ids.
3194 (cleanup): New proc.
3195 (setup, <toplevel>): Call cleanup.
3196
d3214198
TV
31972020-04-02 Tom de Vries <tdevries@suse.de>
3198
3199 * gdb.base/main-psymtab.exp: New file.
3200
cc77ed24
TV
32012020-04-02 Tom de Vries <tdevries@suse.de>
3202
3203 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
3204
3638a098
TT
32052020-04-01 Tom Tromey <tom@tromey.com>
3206
3207 * gdb.base/complex-parts.exp: Add type tests.
3208
c34e8714
TT
32092020-04-01 Tom Tromey <tom@tromey.com>
3210
3211 * gdb.base/complex-parts.exp: Add arithmetic tests.
3212
981c08ce
TT
32132020-04-01 Tom Tromey <tom@tromey.com>
3214
3215 * gdb.compile/compile.exp: Update.
3216 * gdb.compile/compile-cplus.exp: Update.
3217 * gdb.base/varargs.exp: Update.
3218 * gdb.base/floatn.exp: Update.
3219 * gdb.base/endianity.exp: Update.
3220 * gdb.base/callfuncs.exp (do_function_calls): Update.
3221 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
3222 (complex_float_integral_args): Update.
3223 * gdb.base/complex.exp: Update.
3224 * gdb.base/complex-parts.exp: Update.
3225
3d1cfd43
TT
32262020-04-01 Tom Tromey <tromey@adacore.com>
3227
3228 * gdb.rust/union.rs: New file.
3229 * gdb.rust/union.exp: New file.
3230 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
3231 (main): Update.
3232 * gdb.rust/simple.exp: Move union tests to union.exp.
3233
e033dfa9
TT
32342020-04-01 Tom Tromey <tromey@adacore.com>
3235
3236 * gdb.rust/simple.rs (main): Remove "y0".
3237
53cccef1
TBA
32382020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3239
3240 * gdb.multi/stop-all-on-exit.c: New test.
3241 * gdb.multi/stop-all-on-exit.exp: New file.
3242
60e22c1e
HD
32432020-04-01 Hannes Domani <ssbssa@yahoo.de>
3244
3245 PR gdb/24789
3246 * gdb.cp/misc.cc: Add integer reference variable.
3247 * gdb.cp/misc.exp: Add test.
3248
e139a727
TBA
32492020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3250
3251 * gdb.server/stop-reply-no-thread.exp: Enhance the test
3252 scenario to cover execution until the end and also the case
3253
16b0db75
TV
32542020-03-31 Tom de Vries <tdevries@suse.de>
3255
3256 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
3257 c. Use "maint info symtabs" to check symtab expansion.
3258
c0502da6
TV
32592020-03-30 Tom de Vries <tdevries@suse.de>
3260
3261 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
3262 unsupported.
3263 (verify_psymtab_expanded): Move ...
3264 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
3265 test.
3266 (readnow): New proc.
3267
5935fd15
AB
32682020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3269
3270 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
3271 with $hex.
3272
1773be9e
TT
32732020-03-20 Tom Tromey <tromey@adacore.com>
3274
3275 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
3276
70304be9
TT
32772020-03-20 Tom Tromey <tromey@adacore.com>
3278
3279 * gdb.ada/sub_variant/subv.adb: New file.
3280 * gdb.ada/sub_variant.exp: New file.
3281
0dd7b8f7
TV
32822020-03-20 Tom de Vries <tdevries@suse.de>
3283
3284 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
3285 first break fails.
3286 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
3287
cada5fc9
AB
32882020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3289
3290 * gdb.server/exit-multiple-threads.c: New file.
3291 * gdb.server/exit-multiple-threads.exp: New file.
3292
6b8c53f2
AB
32932020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3294
3295 * gdb.fortran/mixed-lang-stack.c: New file.
3296 * gdb.fortran/mixed-lang-stack.cpp: New file.
3297 * gdb.fortran/mixed-lang-stack.exp: New file.
3298 * gdb.fortran/mixed-lang-stack.f90: New file.
3299
19a2740f
AB
33002020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3301
3302 * gdb.linespec/cp-completion-aliases.cc: New file.
3303 * gdb.linespec/cp-completion-aliases.exp: New file.
3304
d8c8b848
TV
33052020-03-19 Tom de Vries <tdevries@suse.de>
3306
3307 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
3308 more precise.
3309
a9933ccf
TV
33102020-03-18 Tom de Vries <tdevries@suse.de>
3311
3312 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
3313 * gdb.dwarf2/break-inline-psymtab.c: New test.
3314 * gdb.dwarf2/break-inline-psymtab.exp: New file.
3315
2f89101f
TV
33162020-03-16 Tom de Vries <tdevries@suse.de>
3317
3318 * lib/cache.exp (gdb_do_cache): Add and handle local variables
3319 cache_verify and cache_verify_proc.
3320
6b9374f1
TV
33212020-03-15 Tom de Vries <tdevries@suse.de>
3322
3323 * gdb.server/solib-list.exp: Handle
3324 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
3325
eaeaf44c
TV
33262020-03-15 Tom de Vries <tdevries@suse.de>
3327
3328 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
3329 objfiles".
3330
3293bbaf
TT
33312020-03-14 Tom Tromey <tom@tromey.com>
3332
3333 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
3334
ab44624c
TV
33352020-03-14 Tom de Vries <tdevries@suse.de>
3336
3337 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
3338
54c43825
TV
33392020-03-14 Tom de Vries <tdevries@suse.de>
3340
3341 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
3342 result in line-by-line fashion.
3343
2ac70237
TV
33442020-03-14 Tom de Vries <tdevries@suse.de>
3345
3346 * lib/gdb.exp (supports_statement_frontiers): New proc.
3347 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
3348
09546b56
TV
33492020-03-14 Tom de Vries <tdevries@suse.de>
3350
3351 * gdb.base/printcmds.exp: Add missing quoting for "print
3352 teststring2".
3353
a1f6a07c
TT
33542020-03-13 Tom Tromey <tom@tromey.com>
3355
3356 * gdb.base/printcmds.exp (test_print_strings): Add regression
3357 test.
3358 * gdb.base/printcmds.c (charptr): New typedef.
3359 (teststring2): New global.
3360
1b83d09c
AB
33612020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
3362
3363 * gdb.base/break-interp.exp: Use the tail of the filename, not the
3364 full path in the test name.
3365 (test_ld): Add some with_test_prefix blocks to make test names
3366 unique.
3367
2d61316c
TV
33682020-03-13 Tom de Vries <tdevries@suse.de>
3369
3370 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
3371
2e9145ac
TV
33722020-03-13 Tom de Vries <tdevries@suse.de>
3373
3374 * gdb.mi/mi-sym-info.exp: Make matching more precise.
3375
96c7f873
TV
33762020-03-13 Tom de Vries <tdevries@suse.de>
3377
3378 PR symtab/25646
3379 * gdb.dwarf2/imported-unit.exp: Add test.
3380
49ba92c0
TV
33812020-03-13 Tom de Vries <tdevries@suse.de>
3382
3383 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
3384 (var1, var2): New variable.
3385 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
3386 matching symbols.
3387
301b21e0
TV
33882020-03-13 Tom de Vries <tdevries@suse.de>
3389
3390 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
3391 (Term::command): Use prompt prefix.
3392 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
3393 * gdb.tui/tui-layout-asm-short-prog.exp: Use
3394 command_no_prompt_prefix instead of prefix.
3395 * gdb.tui/tui-layout-asm.exp: Same.
3396
3f512721
SM
33972020-03-12 Simon Marchi <simon.marchi@efficios.com>
3398
3399 * gdb.base/break-interp.exp: Use foreach_with_prefix.
3400
40310f30
SM
34012020-03-12 Simon Marchi <simon.marchi@efficios.com>
3402
3403 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
3404 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
3405 on" while stepping over the test instruction, match printed
3406 message.
3407
09252140
TV
34082020-03-12 Tom de Vries <tdevries@suse.de>
3409
3410 * gdb.base/info-types.exp: Use exp_continue during matching of output
3411 of "info types".
3412
14e9c72c
TV
34132020-03-12 Tom de Vries <tdevries@suse.de>
3414
3415 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
3416
e515d67e
TV
34172020-03-12 Tom de Vries <tdevries@suse.de>
3418
3419 * gdb.fortran/module.exp: Use exp_continue during matching of output
3420 of "info variable -n".
3421
307eafd8
TV
34222020-03-12 Tom de Vries <tdevries@suse.de>
3423
3424 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
3425 gdb.dwarf2/dw2-ranges-base.c.
3426
9a2de3fc
TV
34272020-03-12 Tom de Vries <tdevries@suse.de>
3428
3429 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
3430 in presence of GLIBC debuginfo.
3431
3217502e
TV
34322020-03-12 Tom de Vries <tdevries@suse.de>
3433
3434 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
3435 $core.
3436
1281424c
TV
34372020-03-12 Tom de Vries <tdevries@suse.de>
3438
3439 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
3440 more precise.
3441
038b97fc
SM
34422020-03-11 Simon Marchi <simon.marchi@efficios.com>
3443
3444 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
3445 from Unix to Windows path.
3446
5308d1e7
TV
34472020-03-11 Tom de Vries <tdevries@suse.de>
3448
3449 * gdb.ada/minsyms.exp: Set language to ada.
3450
f870f78f
TV
34512020-03-11 Tom de Vries <tdevries@suse.de>
3452
3453 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
3454
5a13315d
TV
34552020-03-11 Tom de Vries <tdevries@suse.de>
3456
3457 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
3458
976862ed
TT
34592020-03-11 Tom Tromey <tromey@adacore.com>
3460
3461 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
3462
7462c383
TV
34632020-03-11 Tom de Vries <tdevries@suse.de>
3464
3465 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
3466
1c6c46a0
TV
34672020-03-11 Tom de Vries <tdevries@suse.de>
3468
3469 * gdb.base/break-interp.exp: Limit verbose scope.
3470
44f41bb7
TV
34712020-03-11 Tom de Vries <tdevries@suse.de>
3472
3473 * gdb.fortran/logical.f90: Define variable with character type.
3474 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
3475
b76f3a42
TV
34762020-03-11 Tom de Vries <tdevries@suse.de>
3477
3478 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
3479
1c33af77
TV
34802020-03-11 Tom de Vries <tdevries@suse.de>
3481
3482 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
3483 symtabs.
3484
8c95582d
AB
34852020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
3486 Bernd Edlinger <bernd.edlinger@hotmail.de>
3487
3488 * gdb.cp/step-and-next-inline.cc: New file.
3489 * gdb.cp/step-and-next-inline.exp: New file.
3490 * gdb.cp/step-and-next-inline.h: New file.
3491 * gdb.dwarf2/dw2-is-stmt.c: New file.
3492 * gdb.dwarf2/dw2-is-stmt.exp: New file.
3493 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
3494 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
3495 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
3496
cecf8547
AB
34972020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
3498
3499 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
3500 is-stmt flag in the line table.
3501
0ba678c9
TV
35022020-03-09 Tom de Vries <tdevries@suse.de>
3503
3504 * lib/gdb.exp (cached_file): Create cache dir.
3505
72fbdf83
TV
35062020-03-07 Tom de Vries <tdevries@suse.de>
3507
3508 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
3509 * gdb.cp/rvalue-ref-params.exp: Same.
3510
436b5e99
TV
35112020-03-06 Tom de Vries <tdevries@suse.de>
3512
3513 * lib/gdb.exp (tentative_rename, cached_file): New proc.
3514 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
3515
09f2921c
TV
35162020-03-06 Tom de Vries <tdevries@suse.de>
3517
3518 * README: Fix "the the".
3519 * gdb.base/dprintf.exp: Same.
3520
50a3cc5d
TV
35212020-03-05 Tom de Vries <tdevries@suse.de>
3522
3523 * gdb.base/maint.exp: Update "main print statistics" expected output.
3524
0a709cba
AKS
35252020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3526
3527 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
3528 (fortran_int8): Likewise.
3529 (fortran_real4): Likewise.
3530 (fortran_real8): Likewise.
3531 (fortran_complex4): Likewise.
3532 (fortran_logical4): Likewise.
3533 (fortran_character1): Likewise.
3534
5e5d66b6
AB
35352020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
3536
3537 * gdb.fortran/logical.exp: Add tests that any non-zero value is
3538 printed as true.
3539
7b973adc
SDJ
35402020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
3541
3542 * gdb.base/printcmds.exp: Add test to verify printf of a
3543 variable holding an address.
3544
478e490a
TV
35452020-03-03 Tom de Vries <tdevries@suse.de>
3546
3547 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
3548
1ef44e86
TV
35492020-03-03 Tom de Vries <tdevries@suse.de>
3550
3551 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
3552 gdb_test_multiple call.
3553
b98cc2cf
TV
35542020-03-03 Tom de Vries <tdevries@suse.de>
3555
3556 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
3557 gdb_test_multiple calls.
3558
63e163f2
AB
35592020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
3560
3561 * gdb.base/default.exp: Remove test of 'set history filename'.
3562 * gdb.base/gdbinit-history.exp: Add tests for setting the history
3563 filename to the empty string.
3564 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
3565 and GDBHISTSIZE.
3566
24ed6739
AB
35672020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
3568
3569 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
3570 disabled.
3571
590003dc 35722020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 3573 Tom de Vries <tdevries@suse.de>
590003dc
TV
3574
3575 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
3576 -prompt prefix, before user_code argument. Add -lbl option likewise.
3577 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
3578 (gdb_is_target_1): Add -prompt prefix and move to before user_code
3579 argument.
3580 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
3581 have "\r\n" at start-of-line, instead of at end-of-line.
3582
f5e46084
SM
35832020-02-28 Simon Marchi <simon.marchi@efficios.com>
3584
3585 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
3586 libinproctrace.so.
3587
f7a7000d
LM
35882020-02-28 Luis Machado <luis.machado@linaro.org>
3589
3590 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
3591 to "p/x".
3592
718e0816
LM
35932020-02-28 Luis Machado <luis.machado@linaro.org>
3594
3595 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
3596 asm/ptrace.h and error.h.
3597
13c3a74a
TV
35982020-02-28 Tom de Vries <tdevries@suse.de>
3599
3600 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
3601 (struct wrapper, do_something, mundane/symada__cS): Move ...
3602 * gdb.base/c-linkage-name-2.c: ... here. New source file.
3603 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
3604 Update "print symada__cS before partial symtab expansion" regexp.
3605 Update breakpoint location. Flush symbol cache after expansion.
3606
85d2d5bb
LM
36072020-02-28 Luis Machado <luis.machado@linaro.org>
3608
3609 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
3610
3608f86c
TV
36112020-02-27 Tom de Vries <tdevries@suse.de>
3612
3613 * config/sid.exp: Remove unused globals.
3614 * gdb.base/attach.exp: Same.
3615 * gdb.base/catch-load.exp: Same.
3616 * gdb.base/dbx.exp: Same.
3617 * lib/gdb.exp: Same.
3618 * lib/mi-support.exp: Same.
3619 * lib/prompt.exp: Same.
3620
c8d4f6df
TV
36212020-02-27 Tom de Vries <tdevries@suse.de>
3622
3623 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
3624 not set.
3625
0d79cdc4
AM
36262020-02-26 Aaron Merey <amerey@redhat.com>
3627
3628 * gdb.debuginfod: New directory for debuginfod tests.
3629 * gdb.debuginfod/main.c: New test file.
3630 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
3631
0dce4280
TV
36322020-02-26 Tom de Vries <tdevries@suse.de>
3633
3634 PR gdb/25603
3635 * gdb.base/persistent-lang.cc: New test.
3636 * gdb.base/persistent-lang.exp: New file.
3637
9e80cfa1
AB
36382020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3639
3640 * gdb.fortran/derived-type-striding.exp: Add a new test.
3641 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
3642 new test.
3643
2078dbb2
AB
36442020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3645
3646 * gdb.base/cached-source-file.exp: Avoid source file paths in test
3647 names.
3648
70d49700
TV
36492020-02-25 Tom de Vries <tdevries@suse.de>
3650
3651 PR go/18926
3652 * gdb.go/methods.exp: Remove gcc/93866 xfail.
3653
a88ef40d
TV
36542020-02-24 Tom de Vries <tdevries@suse.de>
3655
3656 PR gdb/25592
3657 * gdb.base/info-locals-unused-static-var.c: New test.
3658 * gdb.base/info-locals-unused-static-var.exp: New file.
3659
01b1af32
TT
36602020-02-22 Tom Tromey <tom@tromey.com>
3661
3662 * gdb.python/tui-window.exp: New file.
3663 * gdb.python/tui-window.py: New file.
3664
7c043ba6
TT
36652020-02-22 Tom Tromey <tom@tromey.com>
3666
3667 PR tui/17850:
3668 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
3669 tests.
3670
c22fef7e
TT
36712020-02-22 Tom Tromey <tom@tromey.com>
3672
3673 * gdb.tui/new-layout.exp: Add sub-layout tests.
3674
ee325b61
TT
36752020-02-22 Tom Tromey <tom@tromey.com>
3676
3677 * gdb.tui/new-layout.exp: New file.
3678
3f0cbb04
TT
36792020-02-22 Tom Tromey <tom@tromey.com>
3680
3681 * gdb.rust/rust-style.rs: New file.
3682 * gdb.rust/rust-style.exp: New file.
3683 * gdb.base/style.exp: Test structure printing.
3684 * gdb.base/style.c (struct some_struct): New type.
3685 (enum etype): New type.
3686 (struct_value): New global.
3687
75525152
TV
36882020-02-21 Tom de Vries <tdevries@suse.de>
3689
3690 PR go/18926
3691 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
3692 Remove blanket xfails. Use message argument for gdb_breakpoint.
3693 Make continuing to breakpoint test conditional on setting breakpoint.
3694 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
3695 DW_AT_name attribute. Add xfail for GCC PR93866.
3696
bd360d30
AB
36972020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
3698
3699 * gdb.dwarf2/cpp-linkage-name.c: New file.
3700 * gdb.dwarf2/cpp-linkage-name.exp: New file.
3701
c7adb09f 37022020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
3703
3704 * lib/gdb.exp (gdb_wrapper_init): Reset
3705 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
3706 not exist.
3707
a9c79803
TV
37082020-02-20 Tom de Vries <tdevries@suse.de>
3709
3710 PR go/17018
3711 * gdb.go/hello.exp: Copy ...
3712 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
3713 print of st to print value of global definition. Add xfail for GCC
3714 PR93844.
3715 * gdb.go/hello.exp: Remove printing of st before definition.
3716 * gdb.go/hello.go: Copy ...
3717 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
3718 to st.
3719 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
3720
d7445728
TV
37212020-02-20 Tom de Vries <tdevries@suse.de>
3722
3723 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
3724 (gdb_simple_compile): Handle compile_flags go by using .go extension
3725 for source file.
3726 * gdb.go/chan.exp: Use support_go_compile.
3727 * gdb.go/handcall.exp: Same.
3728 * gdb.go/hello.exp: Same.
3729 * gdb.go/integers.exp: Same.
3730 * gdb.go/max-depth.exp: Same.
3731 * gdb.go/methods.exp: Same.
3732 * gdb.go/package.exp: Same.
3733 * gdb.go/strings.exp: Same.
3734 * gdb.go/types.exp: Same.
3735 * gdb.go/unsafe.exp: Same.
3736
c9c41e6d
TV
37372020-02-19 Tom de Vries <tdevries@suse.de>
3738
3739 * gdb.python/lib-types.exp: Make xfail more strict.
3740
f20ff837
TV
37412020-02-19 Tom de Vries <tdevries@suse.de>
3742
3743 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
3744
08410482
DE
37452020-02-19 Doug Evans <dje@google.com>
3746
3747 PR rust/25535
3748 * gdb.rust/simple.exp: Add test.
3749 * gdb.rust/simple.rs: Add test.
3750
623563f7
TV
37512020-02-19 Tom de Vries <tdevries@suse.de>
3752
3753 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
3754 output line-by-line.
3755
d3308cfd
TV
37562020-02-19 Tom de Vries <tdevries@suse.de>
3757
3758 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
3759
86cbc5dc
TV
37602020-02-19 Tom de Vries <tdevries@suse.de>
3761
3762 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
3763 prelink.
3764
9db2b96b
TV
37652020-02-19 Tom de Vries <tdevries@suse.de>
3766
3767 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
3768 (gdb_do_cache): Use gdb_do_cache_wrap.
3769 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
3770
89e2fdc5
TV
37712020-02-19 Tom de Vries <tdevries@suse.de>
3772
3773 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
3774 gdb_compile option.
3775
373d7ac0
SM
37762020-02-18 Simon Marchi <simon.marchi@efficios.com>
3777
3778 * gdb.base/printcmds.exp (test_print_enums): Update expected
3779 output.
3780
b29a2df0
SM
37812020-02-18 Simon Marchi <simon.marchi@efficios.com>
3782
3783 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
3784 for "unknown".
3785
6740f0cc
SM
37862020-02-18 Simon Marchi <simon.marchi@efficios.com>
3787
3788 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
3789 enumerator.
3790
edd45eb0
SM
37912020-02-18 Simon Marchi <simon.marchi@efficios.com>
3792
3793 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
3794 FE_, add FE_NONE.
3795 (three): Update.
3796 (enum flag_enum_without_zero): New enum.
3797 (flag_enum_without_zero): New variable.
3798 (enum not_flag_enum): New enum.
3799 (three_not_flag): New variable.
3800 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
3801 (test_print_enums): Add more tests for printing flag enums.
3802
d4295de4
TV
38032020-02-18 Tom de Vries <tdevries@suse.de>
3804
3805 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
3806 (gdb_compile_ada): ... here.
3807 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
3808 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
3809
f251f505
TT
38102020-02-14 Tom Tromey <tom@tromey.com>
3811
3812 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
3813 build directory.
3814 * boards/gdbserver-base.exp: Update path to gdbserver.
3815
8f432634
TV
38162020-02-13 Tom de Vries <tdevries@suse.de>
3817
3818 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
3819
92b6eaf7
TV
38202020-02-13 Tom de Vries <tdevries@suse.de>
3821
3822 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
3823 are missing.
3824
f3b0f7fe
TV
38252020-02-13 Tom de Vries <tdevries@suse.de>
3826
3827 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
3828 call.
3829
f6be8713
SDJ
38302020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
3831
3832 PR tui/25126
3833 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
3834 * gdb.base/cached-source-file.c: New file.
3835 * gdb.base/cached-source-file.exp: New file.
3836
b2770d5e
TV
38372020-02-11 Tom de Vries <tdevries@suse.de>
3838
3839 PR testsuite/25488
3840 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
3841
44f6938e
TV
38422020-02-10 Tom de Vries <tdevries@suse.de>
3843
3844 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
3845
5f0e2eb7
MR
38462020-02-10 Maciej W. Rozycki <macro@wdc.com>
3847
3848 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
3849 and $after_addr are both integers before making a comparison.
3850
46ce2b6f
TV
38512020-02-09 Tom de Vries <tdevries@suse.de>
3852
3853 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
3854 command output and paste it into gdb.log. If any, paste catch message
3855 to gdb.log.
3856
5abbbe1d
TT
38572020-02-07 Tom Tromey <tromey@adacore.com>
3858
3859 PR breakpoints/24915:
3860 * gdb.base/annotate-symlink.exp: Use setup_xfail.
3861
1d5d29e7
SV
38622020-02-06 Shahab Vahedi <shahab@synopsys.com>
3863
3864 * gdb.tui/tui-missing-src.exp: Add the "missing source
3865 file" test for the TUI.
3866
b0999b9b
AB
38672020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
3868
3869 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
3870 including a port number in the output.
3871
c3b149eb
AKS
38722020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
3873
3874 * lib/fortran.exp (fortran_int4): Handle clang.
3875 (fortran_int8): Likewise.
3876 (fortran_real4): Likewise.
3877 (fortran_real8): Likewise.
3878 (fortran_complex4): Likewise.
3879 (fortran_logical4): Likewise.
3880 (fortran_character1): Likewise.
3881
f8dcc90b
TV
38822020-02-04 Tom de Vries <tdevries@suse.de>
3883
3884 * README (Race detection): Add note.
3885
f90ac7c2
TV
38862020-02-04 Tom de Vries <tdevries@suse.de>
3887
3888 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
3889
780636ae
TV
38902020-02-04 Tom de Vries <tdevries@suse.de>
3891
3892 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
3893
5d2e1193
RA
38942020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3895
3896 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
3897 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
3898 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
3899 blttar, bnetarl.
3900 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
3901 binary for blttar, bnetarl.
3902 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
3903 wait instruction. Delete ldmx test.
3904 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
3905
e409c542
AKS
39062020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3907
3908 * gdb.fortran/array-bounds-high.exp: New file.
3909 * gdb.fortran/array-bounds-high.f90: New file.
3910
b0029748
LD
39112020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
3912
3913 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
3914 Replace #include of <sys/fcntl.h> by <fcntl.h>.
3915
195a8287
TV
39162020-02-01 Tom de Vries <tdevries@suse.de>
3917
3918 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
3919
42330a68
AB
39202020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
3921
3922 PR tui/9765
3923 * gdb.tui/tui-layout-asm-short-prog.S: New file.
3924 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
3925
b62a8028
LM
39262020-01-29 Luis Machado <luis.machado@linaro.org>
3927
3928 * gdb.arch/aarch64-brk-patterns.c: New source file.
3929 * gdb.arch/aarch64-brk-patterns.exp: New test.
3930
5f440116
TBA
39312020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3932
3933 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
3934 GCC/Clang version.
3935 * gdb.cp/pass-by-ref.exp: Ditto.
3936
ee2a6fc6
TV
39372020-01-29 Tom de Vries <tdevries@suse.de>
3938
3939 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
3940 * gdb.threads/watchpoint-fork-mt.c: Same.
3941 * gdb.threads/watchpoint-fork-parent.c: Same.
3942 * gdb.threads/watchpoint-fork-st.c: Same.
3943 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
3944
16b10d6e
LM
39452020-01-27 Luis Machado <luis.machado@linaro.org>
3946
3947 * gdb.base/step-over-syscall.exp (setup): Check if we're already
3948 sitting at a syscall instruction when we hit the syscall function's
3949 breakpoint.
3950 Check PC against one obtained with the x command.
3951 Validate syscall number.
3952 (step_over_syscall): Don't continue to the syscall instruction if
3953 we're already there.
3954
b1468492
PW
39552020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3956
3957 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
3958
7ffa82e1
AB
39592020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3960
3961 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
3962 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
3963
3d92a3e3
AB
39642020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3965
3966 * gdb.dwarf2/dw2-inline-stepping.c: New file.
3967 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
3968
94a72be7
AB
39692020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3970
3971 * gdb.base/maint.exp: Update line table parsing test.
3972 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
3973
53af73bf
PA
39742020-01-24 Pedro Alves <palves@redhat.com>
3975
3976 PR gdb/25410
3977 * gdb.multi/multi-re-run-1.c: New.
3978 * gdb.multi/multi-re-run-2.c: New.
3979 * gdb.multi/multi-re-run.exp: New.
3980
1ba1ac88
AB
39812020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3982
3983 PR gdb/23718
3984 * gdb.server/server-kill-python.exp: New file.
3985
f3364a6d
AB
39862020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3987
3988 * gdb.server/multi-ui-errors.c: New file.
3989 * gdb.server/multi-ui-errors.exp: New file.
3990
733d0a67
AB
39912020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3992
3993 PR tui/9765
3994 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
3995
4f13c1c0
TT
39962020-01-19 Tom Tromey <tom@tromey.com>
3997
3998 * gdb.tui/main.exp: Add check for plain "file".
3999
40c94099
CB
40002020-01-16 Christian Biesinger <cbiesinger@google.com>
4001
4002 * lib/gdb.exp: Fix spelling error (seperatelly).
4003
ff47f4f0
TT
40042020-01-14 Tom Tromey <tom@tromey.com>
4005
4006 PR symtab/12535:
4007 * gdb.python/python.exp: Test decode_line with empty string
4008 argument.
4009
717c684d
BE
40102020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
4011
4012 * gdb.base/skip-inline.exp: Extend test.
4013
44e4c775
AB
40142020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4015
4016 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
4017 * gdb.dwarf2/dw2-bad-elf.c: New file.
4018 * gdb.dwarf2/dw2-bad-elf.exp: New file.
4019
d93c6db7
AB
40202020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4021
4022 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
4023 _line_saw_file.
4024
9a6d629c
AB
40252020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4026
4027 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
4028 border.
4029
d9ebdab7
TBA
40302020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4031
4032 * gdb.multi/multi-target.exp (setup): Factor out "info
4033 connections" and "info inferiors" tests to ...
4034 (test_info_inferiors): ... this new procedure.
4035 (top level): Run new "info-inferiors" tests.
4036
f3c469b9
PA
40372020-01-10 Pedro Alves <palves@redhat.com>
4038
4039 * gdb.server/bkpt-other-inferior.exp: New file.
4040
121b3efd
PA
40412020-01-10 Pedro Alves <palves@redhat.com>
4042
4043 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
4044 of "add-inferior".
4045 * gdb.base/quit-live.exp: Likewise.
4046 * gdb.base/remote-exec-file.exp: Likewise.
4047 * gdb.guile/scm-progspace.exp: Likewise.
4048 * gdb.linespec/linespec.exp: Likewise.
4049 * gdb.mi/new-ui-mi-sync.exp: Likewise.
4050 * gdb.mi/user-selected-context-sync.exp: Likewise.
4051 * gdb.multi/multi-target.exp (setup): Add "info connection" and
4052 "info inferiors" tests.
4053 * gdb.multi/remove-inferiors.exp: Adjust expected output of
4054 "add-inferior".
4055 * gdb.multi/watchpoint-multi.exp: Likewise.
4056 * gdb.python/py-inferior.exp: Likewise.
4057 * gdb.server/extended-remote-restart.exp: Likewise.
4058 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
4059 "info inferiors".
4060 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
4061 * gdb.trace/report.exp: Likewise.
4062
1dadb1dd
PA
40632020-01-10 Pedro Alves <palves@redhat.com>
4064
4065 * gdb.multi/multi-target.c: New file.
4066 * gdb.multi/multi-target.exp: New file.
4067 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
4068 mode requested, but remote does not support non-stop".
4069
78f2c40a
PA
40702020-01-10 Pedro Alves <palves@redhat.com>
4071
4072 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
4073 disconnect before reconnecting.
4074
e7af6c70
TBA
40752020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4076 Pedro Alves <palves@redhat.com>
4077
4078 * gdb.server/connect-without-multi-process.exp: Also test
4079 continuing to end.
4080
acdf84a6
PA
40812020-01-10 Pedro Alves <palves@redhat.com>
4082
4083 * gdb.base/remote-exec-file.exp: New file.
4084
873657b9
PA
40852020-01-10 Pedro Alves <palves@redhat.com>
4086
4087 * gdb.base/fork-running-state.exp (do_test): Adjust expected
4088 output.
4089 * gdb.threads/async.c: New.
4090 * gdb.threads/async.exp: New.
4091 * gdb.multi/tids-gid-reset.c: New.
4092 * gdb.multi/tids-gid-reset.exp: New.
4093
7f0ae84c
GB
40942020-01-10 George Barrett <bob@bob131.so>
4095
4096 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
4097 to help in finding the image relocation offset.
4098 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
4099 options in arguments.
4100 (stap_test_no_debuginfo): Likewise.
4101 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
4102 test variants.
4103 (stap_test): Add null semaphore relocation test.
4104
47e9d49d
GB
41052020-01-10 George Barrett <bob@bob131.so>
4106
4107 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
4108 * gdb.base/stap-probe.exp: Likewise.
4109 (stap_test): Pass argument as an additional flag.
4110 (stap_test_no_debuginfo): Likewise.
4111 (stap_test): Check `info probes stap' output for semaphore
4112 addresses if the test binary is supposed to have them.
4113
f5a7c406
AB
41142020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4115
4116 * gdb.tui/basic.exp: Add more scrolling tests.
4117
9ae6bf64
TT
41182020-01-09 Tom Tromey <tom@tromey.com>
4119
4120 PR tui/18932:
4121 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
4122 meangingful value.
4123 (Term::command, Term::resize): Update.
4124 * gdb.tui/basic.exp: Add scrolling test.
4125
b2efe70c
AB
41262020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4127
4128 * gdb.tui/tui-layout-asm.exp: New file.
4129
3804da7e
AB
41302020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4131
4132 * lib/tuiterm.exp (Term::check_box_contents): New proc.
4133
b40aa28f
AB
41342020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4135
4136 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
4137 (Term::enter_tui): Use Term::prepare_for_tui.
4138
63ffd7c9
AB
41392020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4140
4141 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
4142 called.
4143
3be966f6
AB
41442020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4145
4146 * gdb.base/skip.exp: Fix race condition in test.
4147
153d79c4
AB
41482020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4149
4150 * gdb.base/backtrace.c: New file.
4151 * gdb.base/backtrace.exp: New file.
4152
f2302a34
AB
41532020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
4154
4155 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
4156
6ec1d75e
PW
41572020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4158
4159 * gdb.base/style.exp: Test that warnings are styled.
4160
c296cbe6
BE
41612019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
4162
4163 * gdb.base/line65535.exp: New file.
4164 * gdb.base/line65535.c: New file.
4165
b28a729d
SM
41662019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
4167
4168 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
4169 * lib/gnat_debug_info_test.adb: New file.
4170 * gdb.ada/ptype_tagged_param.exp: Use
4171 gnat_runtime_has_debug_info, expect a different output if
4172 runtime does not have debug info.
4173
7f2d7a0d
SM
41742019-12-20 Simon Marchi <simon.marchi@efficios.com>
4175
4176 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
4177 (another) quote in test name.
4178
f3bce483
SM
41792019-12-20 Simon Marchi <simon.marchi@efficios.com>
4180
4181 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
4182 Add quote in test name.
4183
c855a912
TBA
41842019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4185
4186 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
4187 directory instead.
4188 * gdb.cp/pass-by-ref.exp: Extend with more cases.
4189 * gdb.cp/pass-by-ref-2.cc: New file.
4190 * gdb.cp/pass-by-ref-2.exp: New file.
4191
fc9d2d72
TT
41922019-12-20 Tom Tromey <tom@tromey.com>
4193
4194 * gdb.tui/list-before.exp: New file.
4195
77b97e00
TT
41962019-12-20 Tom Tromey <tom@tromey.com>
4197
4198 * gdb.tui/list.exp: Check for source on initial listing.
4199
f69656d0
TT
42002019-12-11 Tom Tromey <tromey@adacore.com>
4201
4202 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
4203 Add crlf test.
4204
99a55965
SM
42052019-12-18 Simon Marchi <simon.marchi@efficios.com>
4206
4207 * gdb.base/default.exp: Update value of $_gdb_major.
4208
5024637f
BE
42092019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
4210
4211 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
4212
b63634be
BE
42132019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
4214
4215 * gdb.base/skip.exp: Whitespace fix.
4216
45d73523
BE
42172019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
4218
4219 * gdb.base/skip-inline.c: New file.
4220 * gdb.base/skip-inline.exp: New file.
4221
d043f8c8
SM
42222019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
4223
4224 * gdb.base/jit-reader.exp (jit_reader_test): Rename
4225 jit_function_00 to jit_function_stack_mangle.
4226 * gdb.base/jithost.c (jit_function_t): Rename to...
4227 (jit_function_stack_mangle_t): ... this.
4228 (jit_function_add_t): New typedef.
4229 (jit_function_00_code): Rename to...
4230 (jit_function_stack_mangle_code): ... this, make static.
4231 (jit_function_add_code): New.
4232 (main): Generate "add" function and call it. Adjust to changes
4233 in jithost_abi.
4234 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
4235 (struct jithost_abi) <begin, end>: Remove fields.
4236 <object, function_stack_mangle, function_add>: New fields.
4237 * gdb.base/jitreader.c (struct reader_state) <code_begin,
4238 code_end>: Remove fields.
4239 <func_stack_mangle>: New field.
4240 (read_debug_info): Adjust to renaming, create block for "add"
4241 function.
4242 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
4243
873de05c
TT
42442019-12-11 Tom Tromey <tom@tromey.com>
4245
4246 * gdb.tui/resize.exp: Fix regexp.
4247 * gdb.tui/regs.exp: Fix regexps.
4248 * gdb.tui/main.exp: Fix regexp.
4249
3d979945
TT
42502019-12-11 Tom Tromey <tom@tromey.com>
4251
4252 * gdb.tui/resize.exp: Update.
4253 * gdb.tui/empty.exp (layouts): Update.
4254
2192a9d3
TT
42552019-12-11 Tom Tromey <tom@tromey.com>
4256
4257 * gdb.tui/regs.exp: Update.
4258 * gdb.tui/empty.exp (layouts): Update.
4259 * gdb.tui/basic.exp: Update.
4260 * lib/tuiterm.exp (_check_box): Don't check bottom border.
4261
d8edc8b7
PW
42622019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4263
4264 * gdb.base/options.exp: Add -raw-values in the print completion list.
4265 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
4266
4c12d936
KB
42672019-12-10 Kevin Buettner <kevinb@redhat.com>
4268
4269 * gdb.threads/omp-par-scope.c: New file.
4270 * gdb/threads/omp-par-scope.exp: New file.
4271
26b911fb
KB
42722019-12-10 Kevin Buettner <kevinb@redhat.com>
4273
bb47f919
KB
4274 * lib/gdb.exp (support_nested_function_tests): New proc.
4275
42762019-12-10 Kevin Buettner <kevinb@redhat.com>
4277
4278 * lib/gdb.exp (gdb_compile_openmp): New proc.
4279 (build_executable_from_specs): Add an "openmp" option.
4280 (gdb_compile_pthreads): Add non-executable case.
26b911fb 4281
6c71eb7d
TT
42822019-12-10 Tom Tromey <tromey@adacore.com>
4283
4284 * gdb.ada/unchecked_union.exp: New file.
4285 * gdb.ada/unchecked_union/pck.adb: New file.
4286 * gdb.ada/unchecked_union/pck.ads: New file.
4287 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
4288 * gdb-utils.exp (string_to_regexp): Also quote "?".
4289
bac7c5cf
GB
42902019-12-10 George Barrett <bob@bob131.so>
4291
4292 Test scripted probe breakpoints.
4293 * gdb.guile/scm-breakpoint.c (main): Add probe point.
4294 * gdb.python/py-breakpoint.c (main): Likewise.
4295 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
4296 specifier test.
4297 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
4298
330f1d38
TBA
42992019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4300
4301 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
4302 an rvalue parameter.
4303 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
4304 parameter.
4305
b43315e2
AB
43062019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4307
4308 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
4309 modules.
4310
54f73dad
AB
43112019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4312
4313 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
4314 broken version of GCC.
4315
d57cbee9
AB
43162019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4317
4318 * gdb.fortran/info-modules.exp: Rewrite to make use of new
4319 sym-info-cmds library.
4320 * gdb.fortran/info-types.exp: Likewise.
4321 * lib/sym-info-cmds.exp: New file.
4322
c14aab8c
TV
43232019-12-08 Tom de Vries <tdevries@suse.de>
4324
4325 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
4326
aa2d5a42
KS
43272019-12-07 Keith Seitz <keiths@redhat.com>
4328
4329 * gdb.base/corefile-buildid-shlib-shr.c: New file.
4330 * gdb.base/corefile-buildid-shlib.c: New file.
4331 * gdb.base/corefile-buildid.c: New file.
4332 * gdb.base/corefile-buildid.exp: New file.
4333
93e55f0a
TV
43342019-12-06 Tom de Vries <tdevries@suse.de>
4335
4336 * gdb.dwarf2/varval.exp: Add decl before def test.
4337
c7d12402
TBA
43382019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4339
4340 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
4341
06acc08f
TBA
43422019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4343
4344 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
4345 CV and reference conversion for overload resolution.
4346 * gdb.cp/rvalue-ref-overload.exp: Test it.
4347
e0fad1ea
PW
43482019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4349
4350 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
4351 * gdb.base/frameapply.exp: Test faas without command.
4352
8d70a9f0
AB
43532019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4354
4355 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
4356 Fortran tests.
4357 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
4358 order.
4359
36c8fb93
AB
43602019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4361
4362 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
4363 casting to type with no kind specified.
4364 (test_basic_parsing_of_type_kinds): Additional tests for types
4365 with no kind specified, and add tests for single/double
4366 precision/complex types.
4367
4139ff00
TT
43682019-12-04 Tom Tromey <tromey@adacore.com>
4369
4370 * gdb.base/endianity.c (struct other) <x>: New field.
4371 (main): Initialize it.
4372 * gdb.base/endianity.exp: Update.
4373
a05cf17a
TT
43742019-12-04 Tom Tromey <tromey@adacore.com>
4375
4376 * gdb.ada/scalar_storage/storage.adb: New file.
4377 * gdb.ada/scalar_storage/pck.adb: New file.
4378 * gdb.ada/scalar_storage/pck.ads: New file.
4379 * gdb.ada/scalar_storage.exp: New file.
4380
103a685e
TT
43812019-12-04 Tom Tromey <tromey@adacore.com>
4382
4383 * gdb.base/endianity.c (struct otherendian) <f>: New field.
4384 (main): Initialize it.
4385 * gdb.base/endianity.exp: Update.
4386
c2512106
AB
43872019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4388
4389 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
4390
293b38d6
AB
43912019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4392
4393 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
4394 -symbol-info-module-functions and -symbol-info-module-variables.
4395
216a7e6b
AB
43962019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
4397
4398 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
4399
5bbd8269
AB
44002019-12-01 Richard Bunt <richard.bunt@arm.com>
4401 Andrew Burgess <andrew.burgess@embecosm.com>
4402
4403 * gdb.fortran/derived-type-striding.exp: New file.
4404 * gdb.fortran/derived-type-striding.f90: New file.
4405 * gdb.fortran/array-slices.exp: New file.
4406 * gdb.fortran/array-slices.f90: New file.
4407
be09caf1
PW
44082019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4409
4410 * gdb.base/define.exp: Test . in command names.
4411 * gdb.base/setshow.exp: Update test, as . is now part of
4412 command name.
4413
643c0cbe
PW
44142019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4415
4416 * gdb.base/define-prefix.exp: New file.
4417
dcdec678
AB
44182019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
4419
4420 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
4421 compile.
4422 (skip_btrace_pt_tests): Likewise.
4423
640ab947
AB
44242019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
4425
4426 * gdb.fortran/info-modules.exp: Compile source files in correct
4427 order.
4428
d22670f0
KB
44292019-11-27 Kevin Buettner <kevinb@redhat.com>
4430
4431 * gdb.dwarf2/imported-unit.exp: New file.
4432 * gdb.dwarf2/imported-unit.c: New file.
4433
db5960b4
AB
44342019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
4435
4436 * gdb.mi/mi-fortran-modules-2.f90: New file.
4437 * gdb.mi/mi-fortran-modules.exp: New file.
4438 * gdb.mi/mi-fortran-modules.f90: New file.
4439
7dc42066
AB
44402019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
4441
4442 * gdb.mi/mi-sym-info-1.c: New file.
4443 * gdb.mi/mi-sym-info-2.c: New file.
4444 * gdb.mi/mi-sym-info.exp: New file.
4445
0dfeecca
TT
44462019-11-22 Tom Tromey <tromey@adacore.com>
4447
4448 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
4449 * gdb.ada/tasks/foo.adb: Add another stopping location.
4450
34877895
PJ
44512019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
4452
4453 * gdb.base/endianity.c: New test.
4454 * gdb.base/endianity.exp: New file.
4455
2e84f897
LD
44562019-11-21 Lukas Durfina <ldurfina@tachyum.com>
4457
4458 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
4459
65d1cd5f
TV
44602019-11-21 Tom de Vries <tdevries@suse.de>
4461
4462 PR gdb/24956
4463 * gdb.base/ui-redirect.exp: Test output of user-defined command.
4464
4f22c3f4
SDJ
44652019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4466
4467 * gdb.python/py-progspace.exp: Add missing parentheses on some
4468 'print' commands.
4469
9f6ad286
TT
44702019-11-19 Tom Tromey <tom@tromey.com>
4471
4472 * gdb.tui/winheight.exp: New file.
4473
0b8dbf3f
AB
44742019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
4475
4476 * gdb.base/ctf-whatis.c: Delete.
4477 * gdb.base/ctf-whatis.exp: Delete.
4478 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
4479
f833b7a7
AB
44802019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
4481
4482 * gdb.base/ctf-cvexpr.exp: Delete.
4483 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
4484
30d0a636
AB
44852019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
4486
4487 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
4488 the compiler. Clean up header comment a little.
4489 * gdb.base/ctf-ptype.exp: Likewise.
4490 * gdb.base/ctf-whatis.exp: Likewise.
4491 * lib/gdb.exp (skip_ctf_tests): New proc.
4492
494409bb
SDJ
44932019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
4494
4495 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
4496 * gdb.tui/corefile-run.exp: New file.
4497
55708e99
TT
44982019-11-14 Tom Tromey <tromey@adacore.com>
4499
4500 * gdb.base/gdbvars.exp (test_convenience_variables): Add
4501 regression tests.
4502
45e42163
TT
45032019-11-12 Tom Tromey <tom@tromey.com>
4504
4505 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
4506 after any command. Expect prompt after WAIT_FOR is seen.
4507 (enter_tui): Enable resize messages.
4508 (command): Expect command in output.
4509 (get_line): Avoid error when cursor appears to be off-screen.
4510 (dump_screen): Include screen size in title.
4511 (_do_resize): New proc, from "resize".
4512 (resize): Rewrite. Do resize in two steps.
4513 * gdb.tui/empty.exp (layouts): Fix entries.
4514 (check_boxes): Remove xfail.
4515 (check_text): Dump screen on failure.
4516
086baaf1
AB
45172019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
4518
4519 * gdb.python/py-symbol.exp: Add test for
4520 gdb.lookup_static_symbols.
4521
09ff83af
AB
45222019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
4523
4524 * gdb.python/py-symbol.c: Declare and call function from new
4525 py-symbol-2.c file.
4526 * gdb.python/py-symbol.exp: Compile both source files, and add new
4527 tests for gdb.lookup_static_symbol.
4528 * gdb.python/py-symbol-2.c: New file.
4529
11af934b
TV
45302019-11-02 Tom de Vries <tdevries@suse.de>
4531
4532 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
4533 * gdb.base/anon.exp: Same.
4534 * gdb.base/auto-connect-native-target.exp: Same.
4535 * gdb.base/call-ar-st.exp: Same.
4536 * gdb.base/catch-syscall.exp: Same.
4537 * gdb.base/commands.exp: Same.
4538 * gdb.base/default.exp: Same.
4539 * gdb.base/display.exp: Same.
4540 * gdb.base/float.exp: Same.
4541 * gdb.base/foll-fork.exp: Same.
4542 * gdb.base/help.exp: Same.
4543 * gdb.base/info-macros.exp: Same.
4544 * gdb.base/info-proc.exp: Same.
4545 * gdb.base/info-target.exp: Same.
4546 * gdb.base/long_long.exp: Same.
4547 * gdb.base/macscp.exp: Same.
4548 * gdb.base/memattr.exp: Same.
4549 * gdb.base/nofield.exp: Same.
4550 * gdb.base/pointers.exp: Same.
4551 * gdb.base/printcmds.exp: Same.
4552 * gdb.base/ptype.exp: Same.
4553 * gdb.base/restore.exp: Same.
4554 * gdb.base/return.exp: Same.
4555 * gdb.base/scope.exp: Same.
4556 * gdb.base/set-noassign.exp: Same.
4557 * gdb.base/setshow.exp: Same.
4558 * gdb.base/shlib-call.exp: Same.
4559 * gdb.base/signals.exp: Same.
4560 * gdb.base/sigstep.exp: Same.
4561 * gdb.base/skip.exp: Same.
4562 * gdb.base/solib-symbol.exp: Same.
4563 * gdb.base/stap-probe.exp: Same.
4564 * gdb.base/step-line.exp: Same.
4565 * gdb.base/step-test.exp: Same.
4566 * gdb.base/style.exp: Same.
4567 * gdb.base/varargs.exp: Same.
4568 * gdb.base/vla-datatypes.exp: Same.
4569 * gdb.base/vla-ptr.exp: Same.
4570 * gdb.base/vla-sideeffect.exp: Same.
4571 * gdb.base/volatile.exp: Same.
4572 * gdb.base/watch-cond-infcall.exp: Same.
4573 * gdb.base/watchpoint.exp: Same.
4574
e96ec2ba
TV
45752019-11-02 Tom de Vries <tdevries@suse.de>
4576
4577 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
4578 * gdb.cp/cpexprs.exp: Same.
4579 * gdb.cp/except-multi-location.exp: Same.
4580 * gdb.cp/exceptprint.exp: Same.
4581 * gdb.cp/gdb2384.exp: Same.
4582 * gdb.cp/inherit.exp: Same.
4583 * gdb.cp/m-static.exp: Same.
4584 * gdb.cp/meth-typedefs.exp: Same.
4585 * gdb.cp/misc.exp: Same.
4586 * gdb.cp/namespace.exp: Same.
4587 * gdb.cp/non-trivial-retval.exp: Same.
4588 * gdb.cp/overload.exp: Same.
4589 * gdb.cp/pr17132.exp: Same.
4590 * gdb.cp/re-set-overloaded.exp: Same.
4591 * gdb.cp/rvalue-ref-types.exp: Same.
4592 * gdb.cp/templates.exp: Same.
4593
bd5766ec
LM
45942019-11-01 Luis Machado <luis.machado@linaro.org>
4595
4596 PR gdb/25124
4597
4598 * gdb.arch/pr25124.S: New file.
4599 * gdb.arch/pr25124.exp: New file.
4600
165f8965
AB
46012019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4602
4603 * gdb.fortran/info-modules.exp: Update expected results, and add
4604 additional tests for 'info module functinos', and 'info module
4605 variables'.
4606 * gdb.fortran/info-types.exp: Update expected results.
4607 * gdb.fortran/info-types.f90: Extend testcase with additional
4608 module variables and functions.
4609
59c35742
AB
46102019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4611
4612 * gdb.fortran/info-modules.exp: New file.
4613 * gdb.fortran/info-types.exp: Build with new file.
4614 * gdb.fortran/info-types.f90: Include and use new module.
4615 * gdb.fortran/info-types-2.f90: New file.
4616
f3fb2519
PW
46172019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4618
4619 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
4620 * gdb.base/settings.exp: Test all settings types using
4621 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
4622 that now verifies that the value of "maint show" is the same as
4623 returned by the settings functions. Test the type of the
4624 maintenance settings.
4625 * gdb.base/default.exp: Update show_conv_list.
4626
d1e36019
TV
46272019-10-31 Tom de Vries <tdevries@suse.de>
4628
4629 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
4630 gdb_test.
4631 * gdb.arch/amd64-disp-step.exp: Same.
4632 * gdb.asm/asm-source.exp: Same.
4633 * gdb.btrace/buffer-size.exp: Same.
4634 * gdb.btrace/cpu.exp: Same.
4635 * gdb.btrace/enable.exp: Same.
4636 * gdb.dwarf2/count.exp: Same.
4637 * gdb.dwarf2/dw2-ranges-func.exp: Same.
4638 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
4639 * gdb.fortran/vla-datatypes.exp: Same.
4640 * gdb.fortran/vla-history.exp: Same.
4641 * gdb.fortran/vla-ptype.exp: Same.
4642 * gdb.fortran/vla-value.exp: Same.
4643 * gdb.fortran/whatis_type.exp: Same.
4644 * gdb.guile/guile.exp: Same.
4645 * gdb.multi/tids.exp: Same.
4646 * gdb.python/py-finish-breakpoint.exp: Same.
4647 * gdb.python/py-framefilter.exp: Same.
4648 * gdb.python/py-pp-registration.exp: Same.
4649 * gdb.python/py-xmethods.exp: Same.
4650 * gdb.python/python.exp: Same.
4651 * gdb.server/connect-with-no-symbol-file.exp: Same.
4652 * gdb.server/no-thread-db.exp: Same.
4653 * gdb.server/run-without-local-binary.exp: Same.
4654 * gdb.stabs/weird.exp: Same.
4655 * gdb.threads/attach-many-short-lived-threads.exp: Same.
4656 * gdb.threads/thread-find.exp: Same.
4657 * gdb.threads/tls-shared.exp: Same.
4658 * gdb.threads/tls.exp: Same.
4659 * gdb.threads/wp-replication.exp: Same.
4660 * gdb.trace/ax.exp: Same.
4661 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
4662
3d11e68e
TV
46632019-10-31 Tom de Vries <tdevries@suse.de>
4664
4665 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
4666 * gdb.ada/array_subscript_addr.exp: Same.
4667 * gdb.ada/arrayidx.exp: Same.
4668 * gdb.ada/arrayparam.exp: Same.
4669 * gdb.ada/arrayptr.exp: Same.
4670 * gdb.ada/boolean_expr.exp: Same.
4671 * gdb.ada/call_pn.exp: Same.
4672 * gdb.ada/complete.exp: Same.
4673 * gdb.ada/fixed_cmp.exp: Same.
4674 * gdb.ada/fun_addr.exp: Same.
4675 * gdb.ada/funcall_param.exp: Same.
4676 * gdb.ada/interface.exp: Same.
4677 * gdb.ada/mod_from_name.exp: Same.
4678 * gdb.ada/null_array.exp: Same.
4679 * gdb.ada/packed_array.exp: Same.
4680 * gdb.ada/packed_tagged.exp: Same.
4681 * gdb.ada/print_chars.exp: Same.
4682 * gdb.ada/print_pc.exp: Same.
4683 * gdb.ada/ptype_arith_binop.exp: Same.
4684 * gdb.ada/ptype_field.exp: Same.
4685 * gdb.ada/ptype_tagged_param.exp: Same.
4686 * gdb.ada/rec_return.exp: Same.
4687 * gdb.ada/ref_tick_size.exp: Same.
4688 * gdb.ada/str_ref_cmp.exp: Same.
4689 * gdb.ada/taft_type.exp: Same.
4690 * gdb.ada/tagged.exp: Same.
4691 * gdb.ada/type_coercion.exp: Same.
4692 * gdb.ada/uninitialized_vars.exp: Same.
4693
60b6ede8
TV
46942019-10-30 Tom de Vries <tdevries@suse.de>
4695
4696 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
4697
30baf67b
TV
46982019-10-26 Tom de Vries <tdevries@suse.de>
4699
4700 * gdb.base/bigcore.c: Fix typos in comments.
4701 * gdb.base/ctf-ptype.c: Same.
4702 * gdb.base/long_long.c: Same.
4703 * gdb.dwarf2/dw2-op-out-param.S: Same.
4704 * gdb.python/py-evthreads.c: Same.
4705 * gdb.reverse/i387-stack-reverse.c: Same.
4706 * gdb.trace/tfile.c: Same.
4707 * lib/compiler.c: Same.
4708 * lib/compiler.cc: Same.
4709
158da0d1
TV
47102019-10-25 Tom de Vries <tdevries@suse.de>
4711
4712 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
4713 gdb_test_multiple calls.
4714 * gdb.reverse/sigall-reverse.exp: Same.
4715 * gdb.reverse/solib-precsave.exp: Same.
4716 * gdb.reverse/solib-reverse.exp: Same.
4717 * gdb.reverse/until-precsave.exp: Same.
4718 * gdb.reverse/until-reverse.exp: Same.
4719
4ccdfbec
TV
47202019-10-24 Tom de Vries <tdevries@suse.de>
4721
4722 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
4723 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
4724 kfail using -wrap pattern flag and convenience variable
4725 gdb_test_name.
4726
33d569b7
AB
47272019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
4728
4729 * gdb.python/py-progspace.exp: Add tests for the
4730 Progspace.block_for_pc method.
4731
4d0b984b
TT
47322019-10-23 Tom Tromey <tom@tromey.com>
4733
4734 * configure: Rebuild.
4735 * aclocal.m4: Use m4_include, not sinclude.
4736
94cb3754
TV
47372019-10-21 Tom de Vries <tdevries@suse.de>
4738
4739 * gdb.base/infcall-nested-structs.c: Add
4740 __attribute__((noinline,noclone)) to all functions.
4741 (call_all): Add missing variable initialization. Simplify return value.
4742 (breakpt): Increment volatile variable, to prevent call from being
4743 optimized out.
4744 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
4745
062f1fc1
TV
47462019-10-17 Tom de Vries <tdevries@suse.de>
4747
4748 * gdb.fortran/module.exp: Allow info variables to print info for files
4749 other than module.f90.
4750
0b54364d
AB
47512019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
4752
4753 * gdb.fortran/module.exp: Extend with 'info variables' test.
4754
7ff5fae7
AB
47552019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
4756
4757 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
4758 F77_FOR_TARGET.
4759
d10eccaa
TV
47602019-10-16 Tom de Vries <tdevries@suse.de>
4761
4762 PR tdep/25096
4763 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
4764
745ff14e
TV
47652019-10-16 Tom de Vries <tdevries@suse.de>
4766
4767 PR tdep/24104
4768 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
4769 Add KFAIL for PR tdep/25096.
4770
03e1ab94
TV
47712019-10-16 Tom de Vries <tdevries@suse.de>
4772
4773 PR testsuite/25059
4774 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
4775
b17fcc10
TV
47762019-10-16 Tom de Vries <tdevries@suse.de>
4777
4778 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
4779 as signed.
4780
9223170f
SM
47812019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
4782
4783 * gdb.mi/list-thread-groups-available.exp: Read entries one by
4784 one instead of increasing timeout.
4785
d6e76313
TV
47862019-10-13 Tom de Vries <tdevries@suse.de>
4787
4788 PR record/25038
4789 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
4790 * gdb.reverse/sigall-reverse.exp: Same.
4791 * gdb.reverse/solib-precsave.exp: Same.
4792 * gdb.reverse/solib-reverse.exp: Same.
4793 * gdb.reverse/step-precsave.exp: Same.
4794 * gdb.reverse/until-precsave.exp: Same.
4795 * gdb.reverse/until-reverse.exp: Same.
4796 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
4797
6dfc0041
AA
47982019-10-10 Andreas Arnez <arnez@linux.ibm.com>
4799
4800 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
4801 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
4802 (cmp_struct_05_01, cmp_struct_static_02_01)
4803 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
4804 comparisons.
4805
abcf2cc8
TV
48062019-10-10 Tom de Vries <tdevries@suse.de>
4807
4808 PR testsuite/24888
4809 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
4810 gnatlink.
4811
a50faaf6
TV
48122019-10-09 Tom de Vries <tdevries@suse.de>
4813
4814 PR testsuite/25048
4815 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
4816
60ff3cd7
AB
48172019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
4818
4819 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
4820 exceptions due to missing debug information.
4821
dfee8566
TV
48222019-10-07 Tom de Vries <tdevries@suse.de>
4823
4824 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
4825
3d63690a
AB
48262019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
4827
4828 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
4829 * gdb.base/annota1.exp: Update to use gdb_test_name.
4830
30d1f018
WP
48312019-10-07 Weimin Pan <weimin.pan@oracle.com>
4832
4833 * gdb.base/ctf-whatis.exp: New file.
4834 * gdb.base/ctf-whatis.c: New file.
4835 * gdb.base/ctf-ptype.exp: New file.
4836 * gdb.base/ctf-ptype.c: New file.
4837 * gdb.base/ctf-constvars.exp: New file.
4838 * gdb.base/ctf-constvars.c: New file.
4839 * gdb.base/ctf-cvexpr.exp: New file.
4840
4dbbb47c
TV
48412019-10-04 Tom de Vries <tdevries@suse.de>
4842
4843 * gdb.cp/local-static.c (main): Move declaration of int i out of the
4844 for loop.
4845
77c2dba3
TT
48462019-10-03 Tom Tromey <tom@tromey.com>
4847
4848 PR rust/24976:
4849 * gdb.rust/simple.rs (Union2): New type.
4850 (main): Use Union2.
4851 * gdb.rust/simple.exp: Add test.
4852
179aed7f
AB
48532019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4854
4855 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
4856 nested function prefix.
4857
0a4b0913
AB
48582019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
4859 Richard Bunt <richard.bunt@arm.com>
4860 Andrew Burgess <andrew.burgess@embecosm.com>
4861
4862 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
4863 nested functions.
4864 * gdb.fortran/nested-funcs.f90: Update expected results.
4865 * gdb.fortran/nested-funcs-2.exp: New file.
4866 * gdb.fortran/nested-funcs-2.f90: New file.
4867
082cce05
AB
48682019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4869
4870 * gdb.python/py-parameter.exp: Make test names unique.
4871 * gdb.python/py-template.exp: Likewise.
4872 * gdb.python/py-value.exp: Likewise.
4873
2b74ba5a
AB
48742019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4875
4876 * gdb.base/break-interp.exp: Reduce test name duplication.
4877 * gdb.base/call-sc.exp: Likewise.
4878 * gdb.base/callfuncs.exp: Likewise.
4879 * gdb.base/charset.exp: Likewise.
4880 * gdb.base/dump.exp: Likewise.
4881 * gdb.base/ena-dis-br.exp: Likewise.
4882 * gdb.base/relational.exp: Likewise.
4883 * gdb.base/step-over-syscall.exp: Likewise.
4884 * gdb.base/structs.exp: Likewise.
4885
58eb20d5
AB
48862019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4887
4888 * gdb.linespec/explicit.exp: Make test names unique.
4889 * gdb.linespec/ls-errs.exp: Likewise.
4890
4d421147
AB
48912019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4892
4893 * gdb.reverse/break-precsave.exp: Make test names unique.
4894 * gdb.reverse/break-reverse.exp: Likewise.
4895 * gdb.reverse/finish-precsave.exp: Likewise.
4896 * gdb.reverse/finish-reverse.exp: Likewise.
4897 * gdb.reverse/machinestate-precsave.exp: Likewise.
4898 * gdb.reverse/machinestate.exp: Likewise.
4899 * gdb.reverse/readv-reverse.exp: Likewise.
4900 * gdb.reverse/recvmsg-reverse.exp: Likewise.
4901 * gdb.reverse/sigall-precsave.exp: Likewise.
4902 * gdb.reverse/sigall-reverse.exp: Likewise.
4903 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
4904 * gdb.reverse/watch-precsave.exp: Likewise.
4905 * gdb.reverse/watch-reverse.exp: Likewise.
4906
d8c06f22
AB
49072019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4908
4909 * gdb.threads/stop-with-handle.c: New file.
4910 * gdb.threads/stop-with-handle.exp: New file.
4911
3a56ed86
TV
49122019-10-03 Tom de Vries <tdevries@suse.de>
4913
4914 PR testsuite/25059
4915 * gdb.base/list-missing-source.exp: Allowing the "Compilation
4916 directory" line to be missing.
4917
42275044
TV
49182019-10-03 Tom de Vries <tdevries@suse.de>
4919
4920 PR testsuite/25059
4921 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
4922 type optional.
4923
9ef62df0
AA
49242019-10-02 Andreas Arnez <arnez@linux.ibm.com>
4925
4926 * gdb.python/py-format-string.c (string.h): New include.
4927 (main): Fill a_struct_with_union.the_union.an_int with bytes of
4928 the same value, for endianness-independence.
4929 * gdb.python/py-format-string.exp (default_regexp_dict)
4930 (test_pretty_structs, test_format): Adjust expected output to the
4931 changed initialization.
4932
37f6a7f4
TT
49332019-10-02 Tom Tromey <tromey@adacore.com>
4934
4935 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
4936
1d58d6a2
PA
49372019-10-02 Pedro Alves <palves@redhat.com>
4938 Andrew Burgess <andrew.burgess@embecosm.com>
4939
4940 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
4941 "print-file-var.h".
4942 (this_version_id) Use ATTRIBUTE_VISIBILITY.
4943 (get_version_1): Print this_version_id and its address.
4944 Add extern "C" wrappers around interface functions.
4945 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
4946 "print-file-var.h".
4947 (this_version_id) Use ATTRIBUTE_VISIBILITY.
4948 (get_version_2): Print this_version_id and its address.
4949 Add extern "C" wrappers around interface functions.
4950 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
4951 <stddef.h> and "print-file-var.h".
4952 Add extern "C" wrappers around interface functions.
4953 [VERSION_ID_MAIN] (this_version_id): Define.
4954 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
4955 * gdb.base/print-file-var.h: Add some #defines to simplify setting
4956 up extern "C" blocks.
4957 * gdb.base/print-file-var.exp (test): New, factored out from top
4958 level.
4959 (top level): Test all combinations of attribute hidden or not,
4960 dlopen or not, and this_version_id symbol in main file or not.
4961 Compile tests as both C++ and C, make test names unique.
4962
d770d56f
TT
49632019-10-01 Tom Tromey <tom@tromey.com>
4964
4965 * gdb.base/style.exp: Test "show logging filename".
4966
7f6aba03
TT
49672019-10-01 Tom Tromey <tom@tromey.com>
4968
4969 * lib/gdb-utils.exp (style): Handle "metadata" argument.
4970 * gdb.base/style.exp: Add metadata style test.
4971
14309bb6
TT
49722019-10-01 Tom Tromey <tom@tromey.com>
4973
4974 * gdb.base/style.exp: Test "pwd".
4975
2a3c1174
PA
49762019-10-01 Tom Tromey <tom@tromey.com>
4977
4978 * gdb.base/style.exp: Update tests.
4979
53d666ec
AA
49802019-10-01 Andreas Arnez <arnez@linux.ibm.com>
4981
4982 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
4983 'six' to unsigned.
4984 (s1): Initialize fields 'four' and 'six' instead of 'three' and
4985 'five'. Use an all-ones bit pattern for each.
4986 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
4987 to its changed values.
4988
4a56a520
TT
49892019-09-30 Tom Tromey <tromey@adacore.com>
4990
4991 * gdb.rust/traits.rs: Disable all warnings.
4992
0df0352a
TV
49932019-09-29 Tom de Vries <tdevries@suse.de>
4994
aac66a4c 4995 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 4996
73d9a918
TV
49972019-09-29 Tom de Vries <tdevries@suse.de>
4998
4999 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
5000
060b3ab4
TV
50012019-09-27 Tom de Vries <tdevries@suse.de>
5002
5003 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
5004
68f7d34d
TV
50052019-09-27 Tom de Vries <tdevries@suse.de>
5006
5007 PR record/23188
5008 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
5009
5d63b30a
TT
50102019-09-26 Tom Tromey <tromey@adacore.com>
5011
5012 * gdb.ada/py_taft.exp: New file.
5013 * gdb.ada/py_taft/main.adb: New file.
5014 * gdb.ada/py_taft/pkg.adb: New file.
5015 * gdb.ada/py_taft/pkg.ads: New file.
5016
3d435220
TV
50172019-09-24 Tom de Vries <tdevries@suse.de>
5018
5019 PR gdb/24598
5020 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
5021
77d03678
TV
50222019-09-22 Tom de Vries <tdevries@suse.de>
5023
5024 * gdb.base/restore.exp: Allow register variables to be optimized out at
5025 -O0.
5026
abf516c6
UW
50272019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
5028
5029 * gdb.arch/spu-info.exp: Remove file.
5030 * gdb.arch/spu-info.c: Remove file.
5031 * gdb.arch/spu-ls.exp: Remove file.
5032 * gdb.arch/spu-ls.c: Remove file.
5033
5034 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
5035 * gdb.asm/spu.inc: Remove file.
5036
5037 * gdb.base/dump.exp: Remove support for spu*-*-*.
5038 * gdb.base/stack-checking.exp: Likewise.
5039 * gdb.base/overlays.exp: Likewise.
5040 * gdb.base/ovlymgr.c: Likewise.
5041 * gdb.base/spu.ld: Remove file.
5042
5043 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
5044 * gdb.cp/cpexprs.exp: Likewise.
5045 * gdb.cp/exception.exp: Likewise.
5046 * gdb.cp/gdb2495.exp: Likewise.
5047 * gdb.cp/mb-templates.exp: Likewise.
5048 * gdb.cp/pr9167.exp: Likewise.
5049 * gdb.cp/userdef.exp: Likewise.
5050
5051 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
5052
5053 * gdb.cell: Remove directory.
5054 * lib/cell.exp: Remove file.
5055
e452e88f
TV
50562019-09-19 Tom de Vries <tdevries@suse.de>
5057
5058 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
5059
8a625130
TV
50602019-09-19 Tom de Vries <tdevries@suse.de>
5061
5062 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
5063
81dc3ab5
TV
50642019-09-19 Tom de Vries <tdevries@suse.de>
5065
5066 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
5067 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
5068 (gdb_target_cmd): ... here.
5069 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
5070 value 2.
5071
b078f3ac
AB
50722019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
5073
5074 * gdb.base/source-dir.exp: Avoid having directory names in test
5075 names.
5076
f1b620e9
MG
50772019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
5078
5079 * gdb.base/source-dir.exp: Add extra test for mapped compilation
5080 directory.
5081
67f3ed6a
AB
50822019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
5083
5084 * gdb.base/list-missing-source.exp: New file.
5085
d1b70248
TV
50862019-09-14 Tom de Vries <tdevries@suse.de>
5087
5088 PR teststuite/24599
5089 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
5090 * lib/ada.exp (gnatmake_version_at_least): New proc.
5091
5fabdcd6
AB
50922019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
5093
5094 * gdb.base/maint.exp: Use exec_has_index_section.
5095
aa17805f
AB
50962019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
5097
5098 * gdb.base/maint.exp: Add test for 'maint info sections'.
5099
25e5c209
TV
51002019-09-12 Tom de Vries <tdevries@suse.de>
5101
5102 * gdb.base/store.exp: Allow register variables to be optimized out at
5103 -O0.
5104
4993045d
PW
51052019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5106
5107 * gdb.ada/rdv_wait.exp: Update to new task names.
5108 * gdb.base/task_switch_in_core.exp: Likewise.
5109 * gdb.base/info_sources_base.c: Likewise.
5110
8a516164
TT
51112019-09-10 Tom Tromey <tromey@adacore.com>
5112
5113 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
5114
aa391654
TT
51152019-09-10 Tom Tromey <tromey@adacore.com>
5116
5117 * gdb.ada/dgopt.exp: New file.
5118 * gdb.ada/dgopt/x.adb: New file.
5119
8634b462
TT
51202019-09-08 Tom Tromey <tom@tromey.com>
5121
5122 * gdb.tui/resize.exp: Remove setup_xfail.
5123 * gdb.tui/regs.exp: Remove setup_xfail.
5124 * gdb.tui/basic.exp: Remove setup_xfail.
5125
736b0f76
DB
51262019-09-06 David Blaikie <dblaikie@gmail.com>
5127
5128 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
5129 * gdb.cp/cplabel.exp: Ditto.
5130 * gdb.linespec/ls-errs.exp: Ditto.
5131
30331a6c
TV
51322019-09-05 Tom de Vries <tdevries@suse.de>
5133
5134 * lib/gdb.exp (cmp_file_string): New proc.
5135 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
5136 runto_main. Verify save breakpoints output.
5137
98b0ebab
PW
51382019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5139
5140 * gdb.base/info-var.exp: Test info variables without running
5141 to main, to avoid expect's buffer overflow.
5142
4e962e74
TT
51432019-09-03 Tom Tromey <tromey@adacore.com>
5144
5145 * gdb.ada/bias.exp: New file.
5146 * gdb.ada/bias/bias.adb: New file.
5147 * gdb.ada/print_chars.exp: Add regression test.
5148 * gdb.ada/print_chars/foo.adb (My_Character): New type.
5149 (MC): New variable.
5150
2ea1a07a
SL
51512019-08-29 Sandra Loosemore <sandra@codesourcery.com>
5152
5153 * gdb.base/argv0-symlink.exp: Run only on native target
5154 and local host.
5155
8077c50d
TV
51562019-08-29 Tom de Vries <tdevries@suse.de>
5157
5158 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
5159 diverse debug info.
5160 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
5161
48352473
TV
51622019-08-28 Tom de Vries <tdevries@suse.de>
5163
5164 * gdb.base/info-var.exp: Allow info variables to print info for files
5165 other than info-var-f1.c and info-var-f2.c.
5166
d8f27c60
AB
51672019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
5168
5169 * gdb.fortran/info-types.exp: Add module.
5170 * gdb.fortran/info-types.f90: Update expected results.
5171
1f20c35e
AB
51722019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
5173
5174 * gdb.fortran/info-types.exp: New file.
5175 * gdb.fortran/info-types.f90: New file.
5176 * lib/fortran.exp (fortran_character1): New proc.
5177
4acfdd20
AB
51782019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
5179
5180 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
5181 functions'. Reindent as needed.
5182 * gdb.base/info-var-f1.c: New file.
5183 * gdb.base/info-var-f2.c: New file.
5184 * gdb.base/info-var.exp: New file.
5185 * gdb.base/info-var.h: New file.
5186
5c31b358
TV
51872019-08-26 Tom de Vries <tdevries@suse.de>
5188
5189 PR c++/24852
5190 * gdb.cp/no-libstdcxx-probe.exp: New test.
5191
b694989f
TV
51922019-08-26 Tom de Vries <tdevries@suse.de>
5193
5194 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
5195 * tests need to be skipped.
5196 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
5197 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
5198 mi_skip_libstdcxx_probe_tests.
5199
d9c4ba53
SDJ
52002019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
5201
5202 * gdb.python/py-xmethods.exp: Use raw strings when passing
5203 arguments to SimpleXMethodMatcher.
5204
395fad09
TV
52052019-08-22 Tom de Vries <tdevries@suse.de>
5206
5207 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
5208 more informative.
5209
26c957f1
PA
52102019-08-21 Pedro Alves <palves@redhat.com>
5211
5212 * gdb.base/with.exp: Test "with" with no arguments.
5213
61f80d5d
TV
52142019-08-21 Tom de Vries <tdevries@suse.de>
5215
5216 * gdb.base/gdb-caching-proc.exp: Sort files.
5217
d7a11d13
TV
52182019-08-20 Tom de Vries <tdevries@suse.de>
5219
5220 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
5221 compilation.
5222
34dafe9f
TV
52232019-08-16 Tom de Vries <tdevries@suse.de>
5224
5225 * gdb.base/compare-sections.exp ("after run to main"): Allow
5226 mismatched read-only sections for PIE executables.
5227
398fdd60
TT
52282019-08-16 Tom Tromey <tom@tromey.com>
5229
5230 * lib/tuiterm.exp (_csi_Z): New proc.
5231 * gdb.tui/basic.exp: Update window positions.
5232 * gdb.tui/empty.exp: Update window positions.
5233
d8f9e51c
SL
52342019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5235
5236 * gdb.base/examine-backward.exp: Correct regexp for
5237 "examine 3 bytes backward from ${address_zero}".
5238
3df505f6
TT
52392019-08-15 Tom Tromey <tom@tromey.com>
5240
5241 * gdb.tui/empty.exp: Enable resizing tests.
5242
272560b5
TT
52432019-08-15 Tom Tromey <tromey@adacore.com>
5244
5245 * gdb.ada/char_enum.exp: Add regression tests.
5246 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
5247 and '0'.
5248 (Char, Gchar): Update.
5249 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
5250
08235187
CB
52512019-08-15 Christian Biesinger <cbiesinger@google.com>
5252
5253 * gdb.python/python.exp: Expect a leading underscore on
5254 GdbOutput{,Error}File.
5255
22a2ab04
SL
52562019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5257
5258 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
5259 Windows host.
5260
835b995b
SL
52612019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5262
5263 * gdb.base/batch-preserve-term-settings.exp
5264 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
5265
97dd8e07
CB
52662019-08-15 Christian Biesinger <cbiesinger@google.com>
5267
5268 * lib/gdb.exp: When running on a mingw target, replace
5269 /x/ with x:/.
5270
75faf5c4
AH
52712019-08-14 Alan Hayward <alan.hayward@arm.com>
5272
5273 * gdb.arch/aarch64-prologue.c: New test.
5274 * gdb.arch/aarch64-prologue.exp: New file.
5275
abc6c00f
TV
52762019-08-13 Tom de Vries <tdevries@suse.de>
5277
5278 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
5279 Thread.
5280
74c2c1f4
SL
52812019-08-13 Sandra Loosemore <sandra@codesourcery.com>
5282
5283 * gdb.python/py-completion.exp: Download the .py file to the host
5284 and use its host pathname. Conditionalize tests that use
5285 tab completion and manipulate files on the build machine.
5286 * gdb.python/py-events.exp: Download the .py file to the host
5287 and use its host pathname.
5288 * gdb.python/py-evsignal.exp: Likewise.
5289 * gdb.python/py-evthreads.exp: Likewise.
5290 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
5291 pathname syntax.
5292 * gdb.python/py-framefilter.exp: Download the .py file to the right
5293 place on the host. Match Windows pathname syntax.
5294 * gdb.python/py-mi-var-info-path-expression.exp: Download the
5295 .py file to the host and use its host pathname.
5296 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
5297 * gdb.python/py-objfile.exp: Expect a host pathname, not a
5298 build pathname. Skip symlink test on Windows host. Add missing
5299 newline at end of file.
5300 * gdb.python/py-pp-maint.exp: Download the .py file to the host
5301 and use its host pathname.
5302 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
5303 * gdb.python/py-section-script.exp: Use host location of binfile
5304 on safe-path. Use correct path separator on Windows host.
5305 Reorder alternatives in gdb_test_multiple to prevent matching
5306 the wrong alternative on success.
5307 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
5308
ca2589f3
PP
53092019-08-12 Patrick Palka <patrick@parcs.ath.cx>
5310
5311 * gdb.gdb/selftest.exp (test_with_self): Update test to now
5312 expect the GDB inferior to no longer immediately stop after
5313 being resumed with "signal SIGINT".
5314
020a839d
SL
53152019-08-09 Sandra Loosemore <sandra@codesourcery.com>
5316
5317 * gdb.linespec/break-ask.exp: Generalize regexps to match
5318 Windows pathnames too.
5319
128d6509
TV
53202019-08-08 Tom de Vries <tdevries@suse.de>
5321
5322 PR testsuite/24862
5323 * lib/tuiterm.exp (_accept): Fix CSI regexp.
5324
590042fc
PW
53252019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5326
5327 * gdb.base/style.exp: Update tests for help doc new invariants.
5328 * gdb.base/help.exp: Likewise.
5329
046bebe1
TT
53302019-08-06 Tom Tromey <tom@tromey.com>
5331
5332 * gdb.base/style.exp: Add disassemble test.
5333 * gdb.base/style.c (some_called_function): New function.
5334 (main): Use it.
5335
0b27c27d
CB
53362019-08-05 Christian Biesinger <cbiesinger@google.com>
5337
5338 * gdb.python/py-block.exp: Test dictionary access on blocks.
5339
580f1034
SM
53402019-08-05 Simon Marchi <simon.marchi@efficios.com>
5341
5342 PR gdb/24863
5343 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
5344 -list-thread-groups --available test when running under
5345 check-read1.
5346
d86bd7cb
TV
53472019-08-05 Tom de Vries <tdevries@suse.de>
5348
5349 PR testsuite/24863
5350 * lib/gdb.exp (with_read1_timeout_factor): New proc.
5351 * gdb.base/help.exp: Use with_read1_timeout_factor.
5352 * gdb.base/info-macros.exp: Same.
5353 * gdb.cp/nested-types.exp: Same.
5354
a80cf5d8
TV
53552019-08-05 Tom de Vries <tdevries@suse.de>
5356
5357 * lib/gdb.exp (version_at_least): Factor out of ...
5358 (tcl_version_at_least): ... here.
5359 (gdb_compile): Fail if pie results in non-PIE executable.
5360 (readelf_version, readelf_prints_pie): New proc.
5361 (exec_is_pie): Return -1 if unknown.
5362
d0962838
TV
53632019-08-05 Tom de Vries <tdevries@suse.de>
5364
5365 * lib/gdb.exp (tcl_version_at_least): Fix typo.
5366
2252ff3d
SL
53672019-08-04 Sandra Loosemore <sandra@codesourcery.com>
5368
5369 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
5370
26655f53
SL
53712019-08-04 Sandra Loosemore <sandra@codesourcery.com>
5372
5373 * lib/completion-support.exp (test_gdb_complete_none): Skip
5374 tab completion tests if no readline support.
5375 (test_gdb_complete_unique_re): Likewise.
5376 (test_gdb_complete_multiple): Likewise.
5377
db4dc13e
PW
53782019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5379
5380 * gdb.base/info_sources.exp: New file.
5381 * gdb.base/info_sources.c: New file.
5382 * gdb.base/info_sources_base.c: New file.
5383
0eba165a
PFC
53842019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5385
5386 * gdb.base/batch-exit-status.exp: Call test_exit_status with
5387 prefix argument.
5388 (test_exit_status): Add prefix argument.
5389
59bd512b
TV
53902019-08-01 Tom de Vries <tdevries@suse.de>
5391
5392 PR testsuite/24863
5393 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
5394 calling exp_continue for new thread and thread exited messages.
5395
2a3ad588
TV
53962019-08-01 Tom de Vries <tdevries@suse.de>
5397
5398 PR testsuite/24863
5399 * gdb.base/structs.exp: Fix check-read1 timeout using
5400 gdb_test_sequence.
5401 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
5402
117eb594
TV
54032019-08-01 Tom de Vries <tdevries@suse.de>
5404
5405 PR testsuite/24863
5406 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
5407 line.
5408
ed591340
TV
54092019-08-01 Tom de Vries <tdevries@suse.de>
5410
5411 PR testsuite/24863
5412 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
5413
aa3b6533
TT
54142019-07-30 Tom Tromey <tromey@adacore.com>
5415
5416 * gdb.ada/display_nested.exp: New file.
5417 * gdb.ada/display_nested/foo.adb: New file.
5418 * gdb.ada/display_nested/pack.adb: New file.
5419 * gdb.ada/display_nested/pack.ads: New file.
5420
2906593f
CB
54212019-07-30 Christian Biesinger <cbiesinger@google.com>
5422
5423 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
5424 namespace.
5425 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
5426
0f575925
TV
54272019-07-30 Tom de Vries <tdevries@suse.de>
5428
5429 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
5430 instead.
5431
b13057d9
TV
54322019-07-30 Tom de Vries <tdevries@suse.de>
5433
5434 PR testsuite/24834
5435 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
5436 (exec_is_pie): New proc.
5437
5c4dde85
CB
54382019-07-29 Christian Biesinger <cbiesinger@google.com>
5439
5440 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
5441
c620ed88
CB
54422019-07-29 Christian Biesinger <cbiesinger@google.com>
5443
5444 * gdb.python/py-objfile.c: Add global and static vars.
5445 * gdb.python/py-objfile.exp: Test new functions Objfile.
5446 lookup_global_symbol and lookup_static_symbol.
5447
3d235706
TT
54482019-07-29 Tom Tromey <tom@tromey.com>
5449
5450 * lib/tuiterm.exp (Term::_csi_@): New proc.
5451 (Term::_csi_X): Don't move cursor.
5452
c7e4c0a6
PW
54532019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5454
5455 * gdb.base/options.exp: Update backtrace - completion to
5456 new option -frame-info.
5457 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
5458 Test new 'set print frame-info'. Test backtrace -frame-info
5459 overriding 'set print frame-info'.
5460 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
5461 Test new 'set print frame-info'.
5462 Verify consistency of backtrace with and without filters, with and
5463 without -no-filters.
5464 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
5465 default.
5466
de28a3b7
TV
54672019-07-29 Tom de Vries <tdevries@suse.de>
5468
5469 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
5470 no arguments".
5471
507dd60e
TV
54722019-07-29 Tom de Vries <tdevries@suse.de>
5473
5474 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
5475 is a substring of the first for "complete non-unique file name".
5476
5beafce9
TV
54772019-07-29 Tom de Vries <tdevries@suse.de>
5478
5479 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
5480 with ".*".
5481
2d274232
TV
54822019-07-29 Tom de Vries <tdevries@suse.de>
5483
5484 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
5485 Pass prompt_regexp parameter to gdb_test_multiple calls.
5486
9197cd8b
TV
54872019-07-29 Tom de Vries <tdevries@suse.de>
5488
5489 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 5490 print registers" regexps.
9197cd8b 5491
b528dae0
TV
54922019-07-29 Tom de Vries <tdevries@suse.de>
5493
5494 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
5495
d17725d7
TV
54962019-07-29 Tom de Vries <tdevries@suse.de>
5497
5498 PR gdb/24855
5499 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
5500 (skip_python_tests_prompt): Add prompt_regexp argument to
5501 gdb_test_multiple calls.
5502
52b75bf1
TT
55032019-07-27 Tom Tromey <tom@tromey.com>
5504
5505 * gdb.tui/main.exp: New file.
5506
2b1d00c2
TT
55072019-07-27 Tom Tromey <tom@tromey.com>
5508
5509 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
5510 optional.
5511 * gdb.tui/empty.exp: New file.
5512
ded631d5
TT
55132019-07-27 Tom Tromey <tom@tromey.com>
5514
5515 * lib/tuiterm.exp (spawn): New proc.
5516 (Term::resize): New proc.
5517 * gdb.tui/resize.exp: New file.
5518
58ac439d
TT
55192019-07-27 Tom Tromey <tom@tromey.com>
5520
5521 * gdb.tui/list.exp: New file.
5522
fe1f56ee
TT
55232019-07-27 Tom Tromey <tom@tromey.com>
5524
5525 * gdb.tui/regs.exp: New file.
5526
f790b310
TT
55272019-07-27 Tom Tromey <tom@tromey.com>
5528
5529 * gdb.tui/basic.exp: Add "layout split" test.
5530
d95fc6ee
TT
55312019-07-27 Tom Tromey <tom@tromey.com>
5532
5533 * gdb.tui/basic.exp: Add "layout asm" test.
5534
c3786b3a
TT
55352019-07-27 Tom Tromey <tom@tromey.com>
5536
5537 * lib/tuiterm.exp: New file.
5538 * gdb.tui/basic.exp: New file.
5539
98a617f8
KB
55402019-07-27 Kevin Buettner <kevinb@redhat.com>
5541
5542 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
5543 Enable tests associated with this flag. Adjust regex
5544 referencing "foo_low" to now refer to "foo_cold" instead.
5545
5c076da4
KB
55462019-07-27 Kevin Buettner <kevinb@redhat.com>
5547
5548 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
5549 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
5550 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
5551 foo_cold. Revise comments to match.
5552 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
5553 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
5554 were wrapped into this proc; Call do_test in loop from outermost
5555 level.
5556 (foo_low): Rename all occurrences to "foo_cold".
5557 (backtrace from baz): New test.
5558 (x2/i foo_cold): New test.
5559 (info line *foo_cold): New test.
5560
1512d3b7
TV
55612019-07-26 Tom de Vries <tdevries@suse.de>
5562
5563 * gdb.arch/i386-pkru.exp: Fix unterminated string.
5564
297989a1
TV
55652019-07-25 Tom de Vries <tdevries@suse.de>
5566
5567 PR testsuite/24830
5568 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
5569 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
5570 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
5571 (skip_libstdcxx_probe_tests): ... here.
5572 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
5573
b3b965fb
TV
55742019-07-24 Tom de Vries <tdevries@suse.de>
5575
5576 PR testsuite/24807
5577 * gdb.objc/basicclass.m: Include stdio.h.
5578 * gdb.objc/nondebug.m: Same.
5579 * gdb.objc/objcdecode.m: Same.
5580
4625b4d0
TV
55812019-07-24 Tom de Vries <tdevries@suse.de>
5582
5583 PR testsuite/24612
5584 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
5585 additional_flags.
5586
024a5840
TV
55872019-07-24 Tom de Vries <tdevries@suse.de>
5588
5589 PR testsuite/24831
5590 * gdb.multi/tids.exp: Update error messages for info threads.
5591
c76ddaa3
TV
55922019-07-24 Tom de Vries <tdevries@suse.de>
5593
5594 * gdb.base/info-types.exp: Allow info types to print info for more than
5595 one file.
5596
9a618ef6
TV
55972019-07-23 Tom de Vries <tdevries@suse.de>
5598
5599 PR testsuite/24842
5600 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
5601 gdb_spawn_with_cmdline_opts.
5602
40eadf04
SP
56032019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
5604
5605 * gdb.arch/arm-cmse-sgstubs.c: New test.
5606 * gdb.arch/arm-cmse-sgstubs.exp: New file.
5607
5ba29434
TV
56082019-07-23 Tom de Vries <tdevries@suse.de>
5609
5610 PR testsuite/24711
5611 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
5612 issuing next command.
5613
a8e9d247
AB
56142019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
5615
5616 * gdb.ada/info_auto_lang.exp: Update expected results.
5617 * gdb.base/info-types.c: Add additional types to check.
5618 * gdb.base/info-types.exp: Update expected results.
5619
eb86c5e2
AB
56202019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
5621
5622 * gdb.base/info-types.c: New file.
5623 * gdb.base/info-types.exp: New file.
5624
01e175fe
AB
56252019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
5626
5627 * gdb.arch/riscv-bp-infcall.c: New file.
5628 * gdb.arch/riscv-bp-infcall.exp: New file.
5629
6b78c3f8
AB
56302019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
5631
5632 PR breakpoints/24541
5633 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
5634
da738167
TV
56352019-07-14 Tom de Vries <tdevries@suse.de>
5636
5637 PR testsuite/24760
5638 * gdb.objc/basicclass.exp: Fix unterminated string.
5639
0d4e84ed
AB
56402019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
5641 Andrew Burgess <andrew.burgess@embecosm.com>
5642
5643 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
5644 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
5645 negative bounds.
5646 * gdb.fortran/vla-value.exp: Print elements of an array with
5647 negative bounds.
5648 * gdb.fortran/vla.f90: Setup an array with negative bounds for
5649 testing.
5650
021d8588
AB
56512019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
5652
5653 * gdb.base/options.exp (expect_string): Dequote strings in
5654 results.
5655 (test-string): Test strings with different quoting and reindent.
5656
f06f1252
TT
56572019-07-10 Tom Tromey <tromey@adacore.com>
5658
5659 * gdb.ada/mi_ex_cond.exp: Update expected results.
5660 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
5661 * gdb.ada/mi_catch_ex.exp: Update expected results.
5662 * gdb.ada/mi_catch_assert.exp: Update expected results.
5663 * gdb.ada/catch_ex.exp (catch_exception_info)
5664 (catch_exception_entry, catch_assert_entry)
5665 (catch_unhandled_entry): Update.
5666 * gdb.ada/catch_assert_if.exp: Update expected results.
5667
b863685d
RB
56682019-07-10 Richard Bunt <richard.bunt@arm.com>
5669 Stephen Roberts <stephen.roberts@arm.com>
5670
5671 * gdb.base/define.exp: Restore original prompt.
5672
cb1e4e32
PA
56732019-07-09 Pedro Alves <palves@redhat.com>
5674
5675 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
5676 breakpoints" output.
5677 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
5678 * gdb.python/py-breakpoint.exp: No longer expect that "catch
5679 throw" creates breakpoint.
5680 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
5681 'type="catchpoint"'.
5682
b58a68fe
PA
56832019-07-09 Pedro Alves <palves@redhat.com>
5684
5685 PR c++/15468
5686 * gdb.cp/except-multi-location-lib.cc: New.
5687 * gdb.cp/except-multi-location-main.cc: New.
5688 * gdb.cp/except-multi-location.exp: New.
5689
0826779b
PW
56902019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
5691
5692 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
5693 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
5694 argument and update callers.
5695
5b0e2db4
AB
56962019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5697
5698 * gdb.arch/amd64-break-on-asm-line.S: New file.
5699 * gdb.arch/amd64-break-on-asm-line.exp: New file.
5700
1f6f6e21
PW
57012019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5702
5703 * gdb.base/printcmds.exp: Test printing C string and
5704 C wide string convenience vars without transiting via the inferior.
5705 Also make test names unique.
5706
ea142fbf
AH
57072019-07-08 Alan Hayward <alan.hayward@arm.com>
5708
5862c886 5709 PR breakpoints/25011
ea142fbf
AH
5710 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
5711
213fd9fa
PA
57122019-07-04 Pedro Alves <palves@redhat.com>
5713
5714 * lib/gdb.exp (foreach_with_prefix): Don't return early if
5715 body returned ok(0), break(3) or continue(4).
5716 * gdb.testsuite/foreach_with_prefix.exp: New file.
5717
2b40fda7
AH
57182019-07-04 Alan Hayward <alan.hayward@arm.com>
5719
5720 * gdb.server/unittest.exp: Allow 0 unit tests to run.
5721
a26c8de0
PA
57222019-07-03 Pedro Alves <palves@redhat.com>
5723
5724 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
5725 "return -code".
5726
5f4ba3e7
PA
57272019-07-03 Pedro Alves <palves@redhat.com>
5728
5729 PR cli/24732
5730 * gdb.base/shell.exp: Load completion-support.exp.
5731 Adjust expected error output. Add completion tests.
5732
a994424f
PA
57332019-07-03 Pedro Alves <palves@redhat.com>
5734
5735 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
5736 string_to_regexp.
5737
3d9be6f5
PA
57382019-07-03 Pedro Alves <palves@redhat.com>
5739
5740 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
5741 (expect_integer): Adjust to expect "-string".
5742 (expect_string): New.
5743 (all_options): Expect "-string".
5744 (test-flag, test-boolean): Adjust to expect "-string".
5745 (test-string): New proc.
5746 (top level): Call it.
5747
41fc454c
PA
57482019-07-03 Pedro Alves <palves@redhat.com>
5749
5750 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
5751 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
5752 the expected output in the success.
5753
b2b2a215
PA
57542019-07-03 Pedro Alves <palves@redhat.com>
5755
5756 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5757 Split one gdb_test_multiple call in two to avoid a race.
5758
fdbc9870
PA
57592019-07-03 Pedro Alves <palves@redhat.com>
5760
5761 * gdb.base/with.c: New file.
5762 * gdb.base/with.exp: New file.
5763
c6ac8931
PA
57642019-07-03 Pedro Alves <palves@redhat.com>
5765
5766 * gdb.base/settings.exp: Replace all references to "maint
5767 test-settings set" with references to "maint set test-settings",
5768 and all references to "maint test-settings show" with references
5769 to "maint show test-settings".
5770
970f9d09
PA
57712019-07-03 Pedro Alves <palves@redhat.com>
5772
5773 * gdb.base/settings.exp (test-string): Adjust expected out when
5774 testing "maint test-settings show filename"
5775
54d66006
PA
57762019-07-02 Pedro Alves <palves@redhat.com>
5777
5778 * gdb.base/options.exp (test-info-threads): New procedure.
5779 (top level): Call it.
5780
10d06d82
TT
57812019-06-28 Tom Tromey <tromey@adacore.com>
5782
5783 * gdb.dwarf2/ada-linkage-name.c: New file.
5784 * gdb.dwarf2/ada-linkage-name.exp: New file.
5785
3d507ff2
TT
57862019-06-27 Tom Tromey <tromey@adacore.com>
5787
d039f014 5788 PR c++/20020:
3d507ff2
TT
5789 * gdb.cp/constexpr-field.exp: Use setup_xfail.
5790
8af58ffe
TV
57912019-06-26 Tom de Vries <tdevries@suse.de>
5792
5793 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
5794
22e21752
TV
57952019-06-26 Tom de Vries <tdevries@suse.de>
5796
5797 * gdb.base/index-cache.exp: Add back missing debug option.
5798
b65b566c
PW
57992019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5800
5801 * gdb.base/alias.exp: Test non matching/non existing prefixes.
5802
5c2c8c69
TV
58032019-06-25 Tom de Vries <tdevries@suse.de>
5804
5805 PR testsuite/24727
5806 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
5807
164e3873
TV
58082019-06-24 Tom de Vries <tdevries@suse.de>
5809
5810 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
5811
824eacee
TV
58122019-06-24 Tom de Vries <tdevries@suse.de>
5813
5814 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
5815 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
5816 * gdb.trace/unavailable-dwarf-piece.exp: Same.
5817
385b97d3
TV
58182019-06-24 Tom de Vries <tdevries@suse.de>
5819
5820 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
5821
c596f180
TV
58222019-06-21 Tom de Vries <tdevries@suse.de>
5823
5824 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
5825
b13a7d03
TV
58262019-06-21 Tom de Vries <tdevries@suse.de>
5827
5828 PR testsuite/24518
5829 PR ada/24713
5830 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
5831 index.
5832
899277ae
TT
58332019-06-19 Tom Tromey <tromey@adacore.com>
5834
5835 * gdb.ada/length_cond.exp: Add intro comment.
5836
680e1bee
TT
58372019-06-19 Tom Tromey <tromey@adacore.com>
5838
5839 * gdb.ada/length_cond.exp: New file.
5840 * gdb.ada/length_cond/length_cond.adb: New file.
5841 * gdb.ada/length_cond/pck.adb: New file.
5842 * gdb.ada/length_cond/pck.ads: New file.
5843
0ed4690a
TV
58442019-06-18 Tom de Vries <tdevries@suse.de>
5845
5846 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
5847
d20ed5fd
TT
58482019-06-18 Tom Tromey <tromey@adacore.com>
5849
5850 * gdb.base/list0.h: Add comment explaining control character.
5851
86e04673
TV
58522019-06-18 Tom de Vries <tdevries@suse.de>
5853
5854 * boards/fission.exp: Break up long debug_flags line.
5855
c4973306
SM
58562019-06-16 Tom de Vries <tdevries@suse.de>
5857
5858 PR gdb/24445
5859 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
5860 generated index.
5861
93cb9841
AB
58622019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
5863
5864 PR gdb/24686
5865 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
5866 improve detection of bug gdb/24541.
5867
399aaebd
SM
58682019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
5869
5870 PR gdb/24669
5871 * gdb.base/index-cache.exp (uses_readnow,
5872 expecting_index_cache_use): Define global variable.
5873 (test_cache_enabled_miss, test_cache_enabled_hit): Use
5874 expecting_index_cache_use.
5875
584a927c
AB
58762019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
5877 Andrew Burgess <andrew.burgess@embecosm.com>
5878
5879 * gdb.fortran/pointers.f90: New file.
5880 * gdb.fortran/print_type.exp: New file.
5881 * gdb.fortran/vla-ptype.exp: Adapt expected results.
5882 * gdb.fortran/vla-type.exp: Likewise.
5883 * gdb.fortran/vla-value.exp: Likewise.
5884 * gdb.mi/mi-vla-fortran.exp: Likewise.
5885
30056ea0
AB
58862019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
5887
5888 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
5889 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
5890 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
5891 as a stop reason.
5892
ec8e2b6d
AB
58932019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
5894
5895 * gdb.base/annota1.exp: Update expected results.
5896 * gdb.cp/annota2.exp: Likewise.
5897 * gdb.cp/annota3.exp: Likewise.
5898
09e4c4e1
AB
58992019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
5900
5901 * gdb.base/style-logging.exp: Remove path from test name.
5902
0735b091
TT
59032019-06-14 Tom Tromey <tromey@adacore.com>
5904
5905 PR gdb/24502:
5906 * gdb.base/style-logging.exp: New file.
5907
f5686554
TT
59082019-06-14 Tom Tromey <tromey@adacore.com>
5909
5910 * gdb.base/symfile-warn.exp: New file.
5911 * gdb.base/symfile-warn.c: New file.
5912
a0c1ffed
TT
59132019-06-14 Tom Tromey <tromey@adacore.com>
5914
5915 * gdb.base/annotate-symlink.exp: New file.
5916
f411722c
TT
59172019-06-14 Tom Tromey <tromey@adacore.com>
5918
5919 * gdb.ada/set_wstr.exp: Add reassignment test.
5920
4268ec18
TT
59212019-06-14 Tom Tromey <tromey@adacore.com>
5922
5923 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
5924 'unchecked_access and 'unrestricted_access as well.
5925
9a9e394b
TT
59262019-06-14 Tom Tromey <tromey@adacore.com>
5927
5928 PR ada/24539:
5929 * gdb.ada/vla.exp: Update tests.
5930 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
5931 pragma.
5932
4c048731
PA
59332019-06-13 Pedro Alves <palves@redhat.com>
5934
5935 * gdb.base/settings.exp (test-integer): Test junk after
5936 "unlimited".
5937
6665660a
PA
59382019-06-13 Pedro Alves <palves@redhat.com>
5939
5940 * gdb.base/options.exp (test-thread-apply): New.
5941 (top level): Call it.
5942
5d707134
PA
59432019-06-13 Pedro Alves <palves@redhat.com>
5944
5945 * gdb.base/options.exp (test-frame-apply): New.
5946 (top level): Test print commands with different "frame apply"
5947 prefixes.
5948
e2a689da
PA
59492019-06-13 Pedro Alves <palves@redhat.com>
5950
e79be6e5 5951 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
5952 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
5953 'max_completions' parameter and handle it.
5954 (test_gdb_completion_offers_commands): New.
5955
90a1ef87
PA
59562019-06-13 Pedro Alves <palves@redhat.com>
5957
5958 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
5959
d4c16835
PA
59602019-06-13 Pedro Alves <palves@redhat.com>
5961
5962 * gdb.base/options.exp (test-backtrace): New.
5963 (top level): Call it.
5964
2daf894e
PA
59652019-06-13 Pedro Alves <palves@redhat.com>
5966
5967 * gdb.guile/scm-frame-args.exp: Use "set print
5968 raw-frame-arguments" instead of "set print raw frame-arguments".
5969 * gdb.python/py-frame-args.exp: Likewise.
5970
e6ed716c
PA
59712019-06-13 Pedro Alves <palves@redhat.com>
5972
5973 * gdb.compile/compile.exp: Adjust expected output to option
5974 processing changes.
5975
7d8062de
PA
59762019-06-13 Pedro Alves <palves@redhat.com>
5977
5978 * gdb.base/options.exp: Build executable.
5979 (test-print): New procedure.
5980 (top level): Call it, once for "print" and another for "compile
5981 print".
5982
9d0faba9
PA
59832019-06-13 Pedro Alves <palves@redhat.com>
5984
5985 * gdb.base/options.c: New file.
5986 * gdb.base/options.exp: New file.
5987
dee7b4c8
PA
59882019-06-13 Pedro Alves <palves@redhat.com>
5989
5990 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
5991 that "o" is ambiguous.
5992
dca0f6c0
PA
59932019-06-13 Pedro Alves <palves@redhat.com>
5994
5995 * gdb.base/settings.c: New file.
5996 * gdb.base/settings.exp: New file.
5997
ccf46844
PA
59982019-06-13 Pedro Alves <palves@redhat.com>
5999
6000 * gdb.base/completion.exp: Fix comment typo.
6001
b9a3f842
PA
60022019-06-13 Pedro Alves <palves@redhat.com>
6003
6004 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
6005 foo --1" test.
6006
d106773e
PA
60072019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
6008
6009 * gdb.fortran/block-data.f: New.
6010 * gdb.fortran/block-data.exp: New.
6011
fea82da0
TV
60122019-06-11 Tom de Vries <tdevries@suse.de>
6013
6014 PR testsuite/24521
6015 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
6016 message.
6017
8c2e74f1
TV
60182019-06-11 Tom de Vries <tdevries@suse.de>
6019
6020 PR testsuite/24521
6021 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
6022
b49851c8
TV
60232019-06-11 Tom de Vries <tdevries@suse.de>
6024
6025 * boards/readnow.exp: New file.
6026
a7067863
AB
60272019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
6028
6029 * gdb.fortran/vla-sizeof.exp: Update expected results.
6030
1a3da2cd
AB
60312019-06-06 Amos Bird <amosbird@gmail.com>
6032
6033 * gdb.base/annota1.exp (thread_switch): Add test for
6034 thread-exited annotation.
6035
3847a7bf
TT
60362019-06-06 Tom Tromey <tromey@adacore.com>
6037
6038 * gdb.base/maint.exp: Expect command started/finished output.
6039
0088ba59
AB
60402019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
6041
6042 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
6043 comment.
6044 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
6045
312617a3
AB
60462019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
6047
6048 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
6049 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
6050 * gdb.arch/riscv-unwind-long-insn.c: New file.
6051 * gdb.arch/riscv-unwind-long-insn.exp: New file.
6052
e1f2e1a2
CB
60532019-06-04 Christian Biesinger <cbiesinger@google.com>
6054
d3238f7d 6055 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 6056
206584bd
PW
60572019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6058
6059 * lib/gdb.exp (help_list_trailer): New regexp variable
6060 factorizing the help trailer message.
6061 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
6062 arg to allow to better factorize various tests.
6063 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
6064 (test_prefix_command_help): Use help_list_trailer.
6065 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
6066 * gdb.guile/scm-cmd.exp: Likewise.
6067 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
6068 * gdb.base/help.exp: Use test_user_defined_class_help.
6069 * gdb.base/style.exp: Add tests for styling of help and apropos.
6070 * lib/gdb-utils.exp (style): Add title and highlight styles.
6071
708dc93e
PW
60722019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6073
6074 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
6075 $_shell_exitsignal.
6076 * gdb.base/default.exp: Update for new convenience variables.
6077
f49055a5
TT
60782019-05-29 Tom Tromey <tromey@adacore.com>
6079
6080 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
6081 to "break complete ada" test case's regexp.
6082
4330d61d
TT
60832019-05-29 Tom Tromey <tromey@adacore.com>
6084
6085 PR c++/20020:
6086 * gdb.cp/constexpr-field.exp: New file.
6087 * gdb.cp/constexpr-field.cc: New file.
6088
000439d5
TT
60892019-05-29 Tom Tromey <tromey@adacore.com>
6090
6091 * gdb.base/finish.exp (finish_no_print): New proc.
6092 (finish_tests): Call it.
6093
5a01c34c
TV
60942019-05-24 Tom de Vries <tdevries@suse.de>
6095
6096 * gdb.dwarf2/gdb-add-index.exp: New file.
6097
18125b16
TT
60982019-05-22 Tom Tromey <tromey@adacore.com>
6099
6100 * gdb.base/info-shared.exp (check_info_shared): Use "style".
6101 * gdb.base/style.exp: Use "style".
6102 * lib/gdb-utils.exp (style): New proc.
6103
af1a8d03
TV
61042019-05-22 Tom de Vries <tdevries@suse.de>
6105
6106 * gdb.base/align.exp: Require c++11.
6107
e7fe496b
TV
61082019-05-22 Tom de Vries <tdevries@suse.de>
6109
6110 PR testsuite/24586
6111 * gdb.python/py-mi-var-info-path-expression.exp: Call
6112 mi_skip_python_tests to check if python is supported.
6113
8fca4da0
AH
61142019-05-22 Alan Hayward <alan.hayward@arm.com>
6115
6116 * gdb.arch/aarch64-pauth.c: New test.
6117 * gdb.arch/aarch64-pauth.exp: New file.
6118
b7060614
AH
61192019-05-22 Alan Hayward <alan.hayward@arm.com>
6120
6121 * README (Re-running Tests Outside The Testsuite): New section.
6122
669d0468
TV
61232019-05-21 Tom de Vries <tdevries@suse.de>
6124
6125 * gdb.arch/amd64-eval.exp: Require c++11.
6126 * gdb.base/max-depth.exp: Same.
6127 * gdb.compile/compile-cplus-array-decay.exp: Same.
6128 * gdb.cp/meth-typedefs.exp: Same.
6129 * gdb.cp/subtypes.exp: Same.
6130 * gdb.cp/temargs.exp: Same.
6131
ce3ebcaa
AH
61322019-05-21 Alan Hayward <alan.hayward@arm.com>
6133
6134 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
6135
34d11c68
AB
61362019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
6137
6138 PR gdb/18644
6139 * gdb.fortran/complex.exp: Remove setup_kfail calls.
6140 * gdb.fortran/printing-types.exp: Add new test.
6141 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
6142 testing.
6143 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
6144 setup_kfail call.
6145
87781e84
AH
61462019-05-17 Alan Hayward <alan.hayward@arm.com>
6147
6148 * README (Running the Testsuite): Change example.
6149 (Testsuite Parameters): Remove TRANSCRIPT.
6150 * lib/gdb.exp: Remove TRANSCRIPT check.
6151
b420b89e
AH
61522019-05-17 Alan Hayward <alan.hayward@arm.com>
6153
6154 * README (Testsuite Parameters): Add replay logging to
6155 GDBSERVER_DEBUG.
6156 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
6157 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
6158 as a comma separated list.
6159 (gdb_debug_init): Override procedure.
6160
408e9b8b
AH
61612019-05-17 Alan Hayward <alan.hayward@arm.com>
6162
6163 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
6164 (gdb_write_cmd_file): New procedure.
6165 * lib/gdbserver-support.exp (gdbserver_start): Call
6166 gdbserver_write_cmd_file.
6167 (gdbserver_write_cmd_file): New procedure.
6168
f9e2e39d
AH
61692019-05-17 Alan Hayward <alan.hayward@arm.com>
6170
6171 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
6172 (delete_breakpoints): Likewise.
6173 (gdb_run_cmd): Likewise.
6174 (gdb_start_cmd): Likewise.
6175 (gdb_starti_cmd): Likewise.
6176 (gdb_internal_error_resync): Likewise.
6177 (gdb_test_multiple): Likewise.
6178 (gdb_reinitialize_dir): Likewise.
6179 (default_gdb_exit): Likewise.
6180 (gdb_file_cmd): Mark kill as optional.
6181 (default_gdb_start): Call gdb_stdin_log_init.
6182 (send_gdb): Call gdb_stdin_log_write.
6183 (rerun_to_main): Mark Y as an answer.
6184 (gdb_stdin_log_init): New function.
6185 (gdb_stdin_log_write): Likewise.
6186
81f47ac2
AH
61872019-05-17 Alan Hayward <alan.hayward@arm.com>
6188
6189 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
6190 * gdb.base/debug-expr.exp: Likewise.
6191 * gdb.base/foll-fork.exp: Likewise.
6192 * gdb.base/foll-vfork.exp: Likewise.
6193 * gdb.base/fork-print-inferior-events.exp: Likewise.
6194 * gdb.base/gdb-sigterm.exp: Likewise.
6195 * gdb.base/gdbinit-history.exp: Likewise.
6196 * gdb.base/osabi.exp: Likewise.
6197 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
6198 * gdb.base/ui-redirect.exp: Likewise.
6199 * gdb.gdb/unittest.exp: Likewise.
6200 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
6201 * gdb.mi/mi-watch.exp: Likewise.
6202 * gdb.mi/new-ui-mi-sync.exp: Likewise.
6203 * gdb.mi/user-selected-context-sync.exp: Likewise.
6204 * gdb.python/python.exp: Disable debug test when debugging.
6205 * gdb.threads/check-libthread-db.exp: Disable when debugging.
6206 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6207 Likewise.
6208 * gdb.threads/stepi-random-signal.exp: Likewise.
6209
29b52314
AH
62102019-05-17 Alan Hayward <alan.hayward@arm.com>
6211
6212 * Makefile.in: Pass through GDB_DEBUG.
6213 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
6214 (gdb,debug): Add board setting.
6215 * lib/gdb.exp (default_gdb_start): Start debugging.
6216 (gdb_debug_enabled): New procedure.
6217 (gdb_debug_init): Likewise.
29b52314
AH
6218
62192019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 6220
29b52314
AH
6221 * Makefile.in: Pass through GDB_DEBUG.
6222 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
6223 (gdb,debug): Add board setting.
6224 * lib/gdb.exp (default_gdb_start): Start debugging.
6225 (gdb_debug_enabled): New procedure.
6226 (gdb_debug_init): Likewise.
29b52314 6227
ca1285d1
AH
62282019-05-17 Alan Hayward <alan.hayward@arm.com>
6229
6230 * gdb.base/ui-redirect.exp: Add debug redirect tests.
6231
f3a09c80
AH
62322019-05-17 Alan Hayward <alan.hayward@arm.com>
6233
6234 * gdb.base/ui-redirect.exp: Test redirection.
6235
26648588
JV
62362019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
6237
6238 * gdb.mi/mi-complete.exp: New file.
6239 * gdb.mi/mi-complete.cc: Likewise.
6240
14237686
AB
62412019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
6242
6243 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
6244 indexed and sliced arrays, and pointers to arrays.
6245
e7bd7fba
TT
62462019-05-14 Tom Tromey <tromey@adacore.com>
6247
6248 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
6249 styling test.
6250
2764128d
TV
62512019-05-14 Tom de Vries <tdevries@suse.de>
6252
6253 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
6254 selection entry encoding.
6255
71bed2db
TT
62562019-05-10 Tom Tromey <tromey@adacore.com>
6257
6258 * gdb.ada/info_exc.exp: Add "complete" test.
6259
63b667ad
TV
62602019-05-09 Tom de Vries <tdevries@suse.de>
6261
6262 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
6263 CU-relative.
6264
9cfd2b89
TV
62652019-05-09 Tom de Vries <tdevries@suse.de>
6266
6267 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
6268 CU-relative.
6269
2228ef77
XR
62702019-05-08 Joel Brobecker <brobecker@adacore.com>
6271
6272 * gdb.ada/frame_arg_lang.exp: New testcase.
6273 * gdb.ada/frame_arg_lang/bla.adb: New file.
6274 * gdb.ada/frame_arg_lang/pck.ads: New file.
6275 * gdb.ada/frame_arg_lang/pck.adb: New file.
6276 * gdb.ada/frame_arg_lang/foo.c: New file.
6277
80e55b13
TT
62782019-05-08 Tom Tromey <tromey@adacore.com>
6279
6280 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
6281
9d3421af
TT
62822019-05-08 Tom Tromey <tromey@adacore.com>
6283
6284 * gdb.base/ptype-offsets.exp: Update tests.
6285
844333e2
TT
62862019-05-08 Tom Tromey <tromey@adacore.com>
6287
6288 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
6289 cases.
6290 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
6291 "short".
6292
988915ee
TT
62932019-05-08 Tom Tromey <tromey@adacore.com>
6294
6295 * gdb.ada/vla.exp: New file.
6296 * gdb.ada/vla/vla.adb: New file.
6297
7bd55dac
TV
62982019-05-07 Tom de Vries <tdevries@suse.de>
6299
6300 * gdb.base/index-cache.exp (ls_host): Fix return statement.
6301
75f06e9d
TV
63022019-05-07 Tom de Vries <tdevries@suse.de>
6303
6304 PR testsuite/24522
6305 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
6306 section.
6307
77e7aaa4
TV
63082019-05-07 Tom de Vries <tdevries@suse.de>
6309
6310 PR testsuite/24522
6311 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
6312 .debug_aranges section.
6313
456ba0fa
TV
63142019-05-07 Tom de Vries <tdevries@suse.de>
6315
6316 PR testsuite/24159
6317 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
6318
5a56d6a6
TV
63192019-05-06 Tom de Vries <tdevries@suse.de>
6320
6321 * lib/gdb.exp (exec_has_index_section): New proc.
6322 * gdb.base/index-cache.exp: Handle case that binfile contains an index
6323 section.
6324
9d6d4be8
TV
63252019-05-04 Tom de Vries <tdevries@suse.de>
6326
6327 * boards/cc-with-debug-names.exp: New file.
6328
222a8d25
TT
63292019-05-03 Tom Tromey <tromey@adacore.com>
6330
6331 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
6332 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
6333 * gdb.ada/char_enum.exp: Add test.
6334
0fdfd794
TV
63352019-05-03 Tom de Vries <tdevries@suse.de>
6336
6337 * boards/cc-with-gdb-index.exp: New file.
6338
80062eb9
AB
63392019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
6340
6341 * gdb.rust/simple.exp: Add new test case.
6342 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
6343 (main): Initialise an instance of the new struct.
6344
4504bbde
TT
63452019-05-01 Tom Tromey <tromey@adacore.com>
6346
6347 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
6348 record.
6349 (NPR): New variable.
6350 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
6351 test.
6352
d48e62f4
TT
63532019-05-01 Tom Tromey <tromey@adacore.com>
6354
6355 * gdb.ada/packed_array_assign.exp: Add packed assignment
6356 regression test.
6357
f59f30f5
TV
63582019-05-01 Tom de Vries <tdevries@suse.de>
6359
6360 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
6361
b70bfc54
TV
63622019-05-01 Tom de Vries <tdevries@suse.de>
6363
6364 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
6365
15f18d14
AT
63662019-04-30 Ali Tamur <tamur@google.com>
6367
6368 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
6369
2ff0a947
TT
63702019-04-30 Tom Tromey <tromey@adacore.com>
6371
6372 * lib/ada.exp (find_ada_tool): New proc.
6373 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
6374 * gdb.ada/catch_ex_std.exp: New file.
6375 * gdb.ada/catch_ex_std/foo.adb: New file.
6376 * gdb.ada/catch_ex_std/some_package.adb: New file.
6377 * gdb.ada/catch_ex_std/some_package.ads: New file.
6378
a776957c
TT
63792019-04-30 Tom Tromey <tromey@adacore.com>
6380
6381 PR c++/24470:
6382 * gdb.cp/temargs.cc: Add test code from PR.
6383
bc68014d
AB
63842019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6385
6386 * gdb.fortran/vla-datatypes.exp: Update expected results.
6387 * gdb.fortran/vla-ptype.exp: Likewise.
6388 * gdb.fortran/vla-type.exp: Likewise.
6389 * gdb.fortran/vla-value.exp: Likewise.
6390
f1fdc960
AB
63912019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6392
6393 * gdb.fortran/ptr-indentation.exp: Update expected results.
6394 * gdb.fortran/ptype-on-functions.exp: Likewise.
6395 * gdb.fortran/vla-ptr-info.exp: Likewise.
6396 * gdb.fortran/vla-value.exp: Likewise.
6397
bf7a4de1
AB
63982019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6399
6400 * gdb.fortran/ptype-on-functions.exp: New file.
6401 * gdb.fortran/ptype-on-functions.f90: New file.
6402
bbe75b9d
AB
64032019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6404
6405 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
6406 case void string.
6407
1db455a7
AB
64082019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6409
6410 * gdb.fortran/complex.exp: Expand.
6411 * gdb.fortran/complex.f: Renamed to...
6412 * gdb.fortran/complex.f90: ...this, and extended to add more
6413 complex values.
6414
b6d03bb2
AB
64152019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6416
6417 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
6418 MODULO, CMPLX.
6419
2e62ab40
AB
64202019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
6421 Richard Bunt <richard.bunt@arm.com>
6422
6423 * gdb.base/max-depth.c: New file.
6424 * gdb.base/max-depth.exp: New file.
6425 * gdb.python/py-nested-maps.c: New file.
6426 * gdb.python/py-nested-maps.exp: New file.
6427 * gdb.python/py-nested-maps.py: New file.
6428 * gdb.python/py-format-string.exp (test_max_depth): New proc.
6429 (test_all_common): Call test_max_depth.
6430 * gdb.fortran/max-depth.exp: New file.
6431 * gdb.fortran/max-depth.f90: New file.
6432 * gdb.go/max-depth.exp: New file.
6433 * gdb.go/max-depth.go: New file.
6434 * gdb.modula2/max-depth.exp: New file.
6435 * gdb.modula2/max-depth.c: New file.
6436 * lib/gdb.exp (get_print_expr_at_depths): New proc.
6437
d2b584a5
TV
64382019-04-29 Tom de Vries <tdevries@suse.de>
6439
6440 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
6441
136afab8
PW
64422019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6443
6444 * gdb.base/callexit.exp: Test may-call-functions off.
6445
725cbb63
KS
64462019-04-25 Keith Seitz <keiths@redhat.com>
6447
6448 PR c++/24367
6449 * gdb.cp/meth-typedefs.cc (incomplete_struct)
6450 (another_incomplete_struct, test_incomplete): New definitions.
6451 (main): Use new definitions.
6452 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
6453 functions.
6454
701adfb0
PA
64552019-04-25 Ali Tamur <tamur@google.com>
6456
6457 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
6458
82433e3e
SDJ
64592019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
6460
6461 PR corefiles/11608
6462 PR corefiles/18187
6463 * gdb.base/coredump-filter-build-id.exp: New file.
6464
dd06d4d6
AH
64652019-04-25 Alan Hayward <alan.hayward@arm.com>
6466
e79be6e5
SM
6467 * Makefile.in: Pass through GDBSERVER_DEBUG.
6468 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
6469 (gdbserver,debug): Add board setting.
6470 * gdb.trace/tspeed.exp: Skip when debugging.
6471 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
6472 * lib/gdbserver-support.exp: Likewise
dd06d4d6 6473
1670072e
TT
64742019-04-24 Tom Tromey <tromey@adacore.com>
6475
6476 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
6477 Rust.
6478
a59240a4
TT
64792019-04-24 Tom Tromey <tromey@adacore.com>
6480
6481 * gdb.arch/amd64-eval.exp: Test bitfield return.
6482 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
6483 (class Foo) <return_bitfields>: New method.
6484 (main): Call it.
6485
b907456c
AB
64862019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
6487
6488 * gdb.cp/many-args.cc: New file.
6489 * gdb.cp/many-args.exp: New file.
6490
5c565afd
TV
64912019-04-23 Tom de Vries <tdevries@suse.de>
6492
6493 PR gdb/24433
6494 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
6495
ba22ff86
AH
64962019-04-23 Alan Hayward <alan.hayward@arm.com>
6497
6498 * gdb.trace/backtrace.exp: Use nopie flag.
6499 * gdb.trace/circ.exp: Likewise.
6500 * gdb.trace/collection.exp: Likewise.
6501 * gdb.trace/ftrace.exp: Likewise.
6502 * gdb.trace/mi-trace-unavailable.exp: Likewise.
6503 * gdb.trace/mi-traceframe-changed.exp: Likewise.
6504 * gdb.trace/qtro.exp: Likewise.
6505 * gdb.trace/read-memory.exp: Likewise.
6506 * gdb.trace/report.exp: Likewise.
6507 * gdb.trace/tfile.exp: Likewise.
6508 * gdb.trace/tfind.exp: Likewise.
6509 * gdb.trace/unavailable.exp: Likewise.
6510
7905fc35
PA
65112019-04-22 Pedro Alves <palves@redhat.com>
6512
6513 * gdb.base/solib-probes-nosharedlibrary.c,
6514 gdb.base/solib-probes-nosharedlibrary.exp: New files.
6515
8ecb59f8
TT
65162019-04-19 Tom Tromey <tromey@adacore.com>
6517
6518 * gdb.ada/ptype_union.c: New file.
6519 * gdb.ada/ptype_union.exp: New file.
6520
62160ec9
TT
65212019-04-19 Tom Tromey <tromey@adacore.com>
6522
6523 PR symtab/24423:
6524 * gdb.base/list0.h (foo): Add a control-l character.
6525
36cd4ba5
TV
65262019-04-18 Tom de Vries <tdevries@suse.de>
6527
6528 PR gdb/24433
6529 * boards/local-board.exp: Set sysroot to "".
6530
b73715df
TV
65312019-04-18 Tom de Vries <tdevries@suse.de>
6532 Pedro Alves <palves@redhat.com>
6533
6534 PR gdb/24454
6535 * gdb.threads/vfork-follow-child-exec.c: New file.
6536 * gdb.threads/vfork-follow-child-exec.exp: New file.
6537 * gdb.threads/vfork-follow-child-exit.c: New file.
6538 * gdb.threads/vfork-follow-child-exit.exp: New file.
6539
4aa866af
LS
65402019-04-15 Leszek Swirski <leszeks@google.com>
6541
6542 * gdb.arch/amd64-eval.cc: New file.
6543 * gdb.arch/amd64-eval.exp: New file.
6544
e5a1a79a
AH
65452019-04-11 Alan Hayward <alan.hayward@arm.com>
6546
6547 * gdb.server/sysroot.c: New test.
6548 * gdb.server/sysroot.exp: New file.
6549 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
6550 matching param.
6551
41077b66
AB
65522019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
6553
6554 * gdb.base/align.exp: Extend test to cover structures containing
6555 only static fields.
6556
c30391f8
TV
65572019-04-11 Tom de Vries <tdevries@suse.de>
6558
6559 * boards/cc-with-dwz-m.exp: New file.
6560 * boards/cc-with-dwz.exp: New file.
6561 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
6562
e242fd12
SM
65632019-04-09 Simon Marchi <simon.marchi@efficios.com>
6564
6565 * gdb.base/start-cpp.exp: New file.
6566 * gdb.base/start-cpp.cc: New file.
6567
2b0c8b01
KB
65682019-04-08 Kevin Buettner <kevinb@redhat.com>
6569
6570 * gdb.python/py-thrhandle.exp: Adjust tests to call
6571 thread_from_handle instead of thread_from_thread_handle.
6572
947210e5
KB
65732019-04-08 Kevin Buettner <kevinb@redhat.com>
6574
6575 * gdb.python/py-thrhandle.exp: Add tests for
6576 gdb.InferiorThread.handle.
6577
d7df6549
AB
65782019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
6579
6580 * gdb.python/py-function.exp: Check calling helper function from
6581 all languages.
6582 * lib/gdb.exp (gdb_supported_languages): New proc.
6583
8bdc1658
AB
65842019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
6585
6586 * gdb.base/complex-parts.c: New file.
6587 * gdb.base/complex-parts.exp: New file.
6588
05caa1d2
TT
65892019-04-01 Tom Tromey <tromey@adacore.com>
6590
6591 PR symtab/23331:
6592 * gdb.dwarf2/dw2-ranges-main.c: New file.
6593 * gdb.dwarf2/dw2-ranges-psym.c: New file.
6594 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
6595
7734102d
EZ
65962019-03-30 Simon Marchi <simark@simark.ca>
6597
6598 * gdb.base/default.exp: Add values for $_gdb_major and
6599 $_gdb_minor.
6600
188e1fa9
TT
66012019-03-29 Tom Tromey <tromey@adacore.com>
6602
6603 * gdb.base/help.exp: Tighten apropos regexp.
6604
2880242d
KS
66052019-03-29 Keith Seitz <keiths@redhat.com>
6606
6607 * gdb.fortran/array-bounds.exp: New file.
6608 * gdb.fortran/array-bounds.f90: New file.
6609
077cad8e
PW
66102019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6611
6612 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
6613
80047cfc
PW
66142019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6615
6616 * gdb.multi/hello.c (main): Increase alarm timer.
6617
f489207e
SL
66182019-03-28 Sandra Loosemore <sandra@codesourcery.com>
6619
6620 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
6621 factor when no hardware watchpoint support.
6622
c92df149
AH
66232019-03-28 Alan Hayward <alan.hayward@arm.com>
6624 Pedro Alves <palves@redhat.com>
6625
6626 * boards/local-board.exp: set sysroot to /.
6627
933aebfa
AH
66282019-03-27 Alan Hayward <alan.hayward@arm.com>
6629
6630 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
6631 in child.
6632
9f9aa852
AB
66332019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
6634
6635 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
6636 field.
6637 (make_container): Initialise new field.
6638 * gdb.python/py-prettyprint.exp: Add new tests.
6639 * gdb.python/py-prettyprint.py (class ContainerPrinter)
6640 <display_hint>: New method.
6641
3714a195
AB
66422019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
6643
6644 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
6645 gdb_continue_to_breakpoint more throughout this test.
6646 (run_lang_tests) Supply unique test names, and use
6647 gdb_test_no_output.
6648
18c77628
AB
66492019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
6650
6651 * gdb.base/finish-pretty.exp: Update expected results.
6652 * gdb.base/pretty-print.c: New file.
6653 * gdb.base/pretty-print.exp: New file.
6654
9a93502f
PA
66552019-03-25 Pedro Alves <palves@redhat.com>
6656
6657 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
6658 move comments outside list. Append '-i "" eof' section.
6659
968aa7ae
AH
66602019-03-22 Alan Hayward <alan.hayward@arm.com>
6661
34a7f2a4 6662 PR testsuite/25016
968aa7ae
AH
6663 * README: Add pie options.
6664 * gdb.base/break-interp.exp: Ensure pie is disabled.
6665 * gdb.base/dump.exp: Likewise.
6666 * lib/gdb.exp (gdb_compile): Add pie option.
6667
4c7d57e7
TT
66682019-03-19 Tom Tromey <tromey@adacore.com>
6669
6670 * gdb.mi/mi2-cli-display.c: New file.
6671 * gdb.mi/mi2-cli-display.exp: New file.
6672
bff8c71f
TT
66732019-03-18 Joel Brobecker <brobecker@adacore.com>
6674 Tom Tromey <tromey@adacore.com>
6675
6676 * gdb.ada/ptype_array/pck.adb: New file.
6677 * gdb.ada/ptype_array/pck.ads: New file.
6678 * gdb.ada/ptype_array/foo.adb: New file.
6679 * gdb.ada/ptype_array.exp: New file.
6680
d085f989
TT
66812019-03-14 Tom Tromey <tromey@adacore.com>
6682
6683 * gdb.base/style.exp: Add "set style sources" test.
6684
b4be1b06
SM
66852019-03-13 Simon Marchi <simon.marchi@ericsson.com>
6686
6687 * mi-breakpoint-location-ena-dis.exp: Rename to ...
6688 * mi-breakpoint-multiple-locations.exp: ... this.
6689 (make_breakpoints_pattern): New proc.
6690 (do_test): Add mi_version parameter, test -break-insert,
6691 -break-info and =breakpoint-created.
6692
7cde5fc2
AB
66932019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
6694
6695 * config/default.exp: Remove 'load_lib gdb.exp'.
6696 * config/monitor.exp: Likewise.
6697 * config/sid.exp: Likewise.
6698 * config/sim.exp: Likewise.
6699 * config/slite.exp: Likewise.
6700 * config/unix.exp: Likewise.
6701 * gdb.base/default.exp: Remove unhelpful comment.
6702
efbecbc1
AB
67032019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6704
6705 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
6706
0841c79a
AB
67072019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6708
6709 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
6710
4a270568
AB
67112019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6712
6713 * gdb.fortran/type-kinds.exp: Update expected results.
6714
067630bd
AB
67152019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6716
6717 * gdb.fortran/type-kinds.exp: Test new integer type kind.
6718
3be47f7a
AB
67192019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6720
6721 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
6722 function.
6723 (test_basic_parsing_of_type_kinds): Expand types tested.
6724 (test_parsing_invalid_type_kinds): New function.
6725
4d00f5d8
AB
67262019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6727
6728 * gdb.fortran/intrinsics.exp: New file.
6729 * gdb.fortran/intrinsics.f90: New file.
6730 * gdb.fortran/type-kinds.exp: New file.
6731
c8f91604
AB
67322019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6733
6734 * gdb.fortran/dot-ops.exp: New file.
6735
dd9f2c76
AB
67362019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6737
6738 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
6739 Check upper and lower case logical literals.
6740
84ec9724
AB
67412019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6742
6743 * gdb.fortran/types.exp (test_float_literal_types_accepted):
6744 Remove duplicate tests.
6745
c3734e09
AH
67462019-03-06 Alan Hayward <alan.hayward@arm.com>
6747
6748 * lib/gdb.exp (builtin_cd): rename of cd.
6749 (cd): Override builtin.
6750
aa3cfbda
RB
67512019-03-06 Richard Bunt <richard.bunt@arm.com>
6752
6753 * gdb.fortran/function-calls.exp: New file.
6754 * gdb.fortran/function-calls.f90: New test.
6755
7b63ad86
RB
67562019-03-04 Richard Bunt <richard.bunt@arm.com>
6757
6758 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
6759 on user program standard output.
6760 * gdb.fortran/short-circuit-argument-list.f90: Record function
6761 calls.
6762
01abb042
AH
67632019-02-28 Alan Hayward <alan.hayward@arm.com>
6764
c3734e09
AH
6765 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
6766 failure.
01abb042 6767
92137da0
RO
67682019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6769
6770 PR gdb/8527
6771 * gdb.base/interrupt-daemon-attach.c,
6772 gdb.base/interrupt-daemon-attach.exp: New test.
6773
5862844d
PA
67742019-02-27 Pedro Alves <palves@redhat.com>
6775
6776 * gdb.base/page.exp: Add tests for "set width/height -1".
6777
8ed25214
PA
67782019-02-27 Pedro Alves <palves@redhat.com>
6779
6780 * gdb.base/page.exp: Add tests for "set/show width/height" with
6781 "infinite" values.
6782
6c28e44a
TT
67832019-02-27 Tom Tromey <tromey@adacore.com>
6784
6785 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
6786 2.4.
6787 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
6788 workaround.
6789
bf9a735e
AB
67902019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
6791
6792 * gdb.base/align.exp: Extend to compile in both C and C++, and add
6793 tests for structs with static members.
6794
8791793c
TT
67952019-02-26 Tom Tromey <tromey@adacore.com>
6796
6797 * gdb.python/py-value.exp (test_value_from_buffer): Check for
6798 ValueError, not TypeError.
6799
bc2a507e
KB
68002019-02-26 Kevin Buettner <kevinb@redhat.com>
6801
6802 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
6803 call from main program.
6804
e0e7d3bd
JB
68052019-02-23 Joel Brobecker <brobecker@adacore.com>
6806
6807 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
6808 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
6809 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
6810 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
6811 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
6812
9600246d
KS
68132019-02-22 Keith Seitz <keiths@redhat.com>
6814
6815 PR symtab/23853
6816 * gdb.base/symlink-sourcefile.c: New file.
6817 * gdb.base/symlink-sourcefile.exp: New file.
6818
0c95f9ed
TT
68192019-02-20 Tom Tromey <tom@tromey.com>
6820
6821 * gdb.base/info_qt.exp: Update.
6822
6caa91b6
SM
68232019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
6824
6825 * gdb.base/source.exp: Move "error in sourced script" code to
6826 the end.
6827 * gdb.base/source-error.gdb: Move contents to
6828 source-error-1.gdb. Add new code to source source-error-1.gdb.
6829 * gdb.base/source-error-1.gdb: New file, from previous
6830 source-error.gdb.
6831
6506371f
TT
68322019-02-17 Tom Tromey <tom@tromey.com>
6833
6834 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
6835 for macro styling.
6836 * gdb.base/style.c (SOME_MACRO): New macro.
6837
a0087920
TT
68382019-02-17 Tom Tromey <tom@tromey.com>
6839
6840 * gdb.base/style.exp: Add line-wrapping tests.
6841 * gdb.base/page.exp: Add test for quitting during pagination.
6842
a2cd4f14
JB
68432019-02-17 Joel Brobecker <brobecker@adacore.com>
6844
6845 * gdb.ada/big_packed_array: New testcase.
6846 * gdb.ada/homonym.exp: Fix incorrect expected output for
6847 "break <homonym__get_value>" test.
6848
9d70ffbc
WP
68492019-02-13 Weimin Pan <weimin.pan@oracle.com>
6850
6851 PR breakpoints/21870
6852 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
6853 and prepare_for_testing. Add comment.
6854 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
6855 redundant cleanup call. Clean up comment.
6856
01c7ae81
WP
68572019-02-12 Weimin Pan <weimin.pan@oracle.com>
6858
6859 PR breakpoints/21870
6860 * gdb.arch/aarch64-dbreg-contents.exp: New file.
6861 * gdb.arch/aarch64-dbreg-contents.c: New file.
6862
aff29d1c
JB
68632019-02-10 Joel Brobecker <brobecker@adacore.com>
6864
6865 * gdb.ada/mi_ref_changeable: New testcase.
6866
df0da8a2
AH
68672019-02-07 Alan Hayward <alan.hayward@arm.com>
6868
6869 * gdb.base/attach.exp: Add double attach test.
6870
bd447abb
SM
68712019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
6872
6873 * lib/gdb.exp (default_gdb_start): Don't match pagination
6874 prompt.
6875 (gdb_init): Set stty_init.
6876
1dbc40b9
TT
68772019-01-27 Tom Tromey <tom@tromey.com>
6878
6879 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
6880 skip_python_tests.
6881
353229bf
AH
68822019-01-24 Alan Hayward <alan.hayward@arm.com>
6883
6884 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
6885 New structure.
6886 (struct struct_static_02_02): Likewise.
6887 (struct struct_static_02_03): Likewise.
6888 (struct struct_static_02_04): Likewise.
6889 (struct struct_static_04_01): Likewise.
6890 (struct struct_static_04_02): Likewise.
6891 (struct struct_static_04_03): Likewise.
6892 (struct struct_static_04_04): Likewise.
6893 (struct struct_static_06_01): Likewise.
6894 (struct struct_static_06_02): Likewise.
6895 (struct struct_static_06_03): Likewise.
6896 (struct struct_static_06_04): Likewise.
6897 (cmp_struct_static_02_01): Likewise.
6898 (cmp_struct_static_02_02): Likewise.
6899 (cmp_struct_static_02_03): Likewise.
6900 (cmp_struct_static_02_04): Likewise.
6901 (cmp_struct_static_04_01): Likewise.
6902 (cmp_struct_static_04_02): Likewise.
6903 (cmp_struct_static_04_03): Likewise.
6904 (cmp_struct_static_04_04): Likewise.
6905 (cmp_struct_static_06_01): Likewise.
6906 (cmp_struct_static_06_02): Likewise.
6907 (cmp_struct_static_06_03): Likewise.
6908 (cmp_struct_static_06_04): Likewise.
6909 (call_all): Test new structs.
6910 * gdb.base/infcall-nested-structs.exp: Likewise.
6911
73021deb
AH
69122019-01-21 Alan Hayward <alan.hayward@arm.com>
6913 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
6914
fc65c7db
AH
69152019-01-21 Alan Hayward <alan.hayward@arm.com>
6916 * gdb.base/stack-protector.c: New test.
6917 * gdb.base/stack-protector.exp: New file.
6918 * gdb.cp/ovldbreak.exp: Only allow a single break line.
6919 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
6920 option.
6921 (gdb_compile): Remove stack protector for GCC and prevent
6922 recursion.
6923
c24bdb02
KS
69242019-01-16 Keith Seitz <keiths@redhat.com>
6925
6926 PR gdb/23773
6927 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
6928
6f072a10
PFC
69292019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6930
6931 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
6932 aliases.
6933 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
6934 tests.
6935 * gdb.arch/powerpc-vector-regs.c: New file.
6936 * gdb.arch/powerpc-vector-regs.exp: New file.
6937
a7b8d682
PFC
69382019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6939
6940 * gdb.arch/altivec-regs.exp: Fix the list passed to
6941 gdb_expect_list when testing "info vector".
6942
6eb6fb67
AB
69432019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
6944
6945 * gdb.base/style.exp: Don't include path in testname.
6946
b56f80d8
KS
69472019-01-10 Keith Seitz <keiths@redhat.com>
6948
6949 PR gdb/23712
6950 PR symtab/23010
6951 * gdb.dwarf2/multidictionary.exp: New file.
6952
041be526
SM
69532019-01-09 Simon Marchi <simon.marchi@ericsson.com>
6954
6955 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
6956 (test_gnuv3_style_demangling): ... this.
6957 (test_lucid_style_demangling): Remove.
6958 (test_arm_style_demangling): Remove.
6959 (test_hp_style_demangling): Remove.
6960 (do_tests): Remove calls to the above.
6961
d820d0c3
AB
69622019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6963
6964 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
6965 case.
6966
f097f5ad
TT
69672019-01-06 Tom Tromey <tom@tromey.com>
6968
6969 PR gdb/28155:
6970 * gdb.dwarf2/typedef-void-finish.exp: New file.
6971
2cd8cc0b
TT
69722018-12-28 Tom Tromey <tom@tromey.com>
6973 Simon Marchi <simark@simark.ca>
6974
6975 * gdb.base/jit-exec.exp: New file.
6976 * gdb.base/jit-exec.c: New file.
6977 * gdb.base/jit-execd.c: New file.
6978
35fb8261
TT
69792018-12-28 Tom Tromey <tom@tromey.com>
6980
6981 * gdb.base/style.exp: Update test to check for address styling.
6982
47fd17cd
TT
69832018-12-28 Tom Tromey <tom@tromey.com>
6984
6985 * gdb.base/style.exp: Add test for styling of "Reading symbols"
6986 message.
6987
d47032b7
TT
69882018-12-28 Tom Tromey <tom@tromey.com>
6989
6990 * gdb.base/style.exp: Add test for version number styling.
6991
af79b68d
TT
69922018-12-28 Tom Tromey <tom@tromey.com>
6993
6994 * gdb.base/style.exp: Add test for print_address_symbolic.
6995
0bb296cb
TT
69962018-12-28 Tom Tromey <tom@tromey.com>
6997
6998 * gdb.base/style.exp: Add test for breakpoint setting.
6999
80ae2043
TT
70002018-12-28 Tom Tromey <tom@tromey.com>
7001
7002 * gdb.base/style.exp: Add test for variable names.
7003
cbe56571
TT
70042018-12-28 Tom Tromey <tom@tromey.com>
7005
7006 * gdb.base/style.exp: New file.
7007 * gdb.base/style.c: New file.
7008
9162a27c
TT
70092018-12-28 Tom Tromey <tom@tromey.com>
7010
7011 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
7012 "dumb".
7013 * gdb.base/readline.exp (operate_and_get_next): Save and restore
7014 the TERM environment variable.
7015
bc543c90
TT
70162018-12-27 Tom Tromey <tom@tromey.com>
7017
7018 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
7019 pagination test.
7020
6f0ffe50
AB
70212018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
7022
7023 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
7024 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
7025
b5a1e557
PW
70262018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7027
7028 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
7029 Filename a.adb changed to bp_fun_addr.adb.
7030 gdb.ada/bp_fun_addr.exp: Update test accordingly.
7031
6e8b1ab2
JV
70322018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
7033
7034 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
7035 non-PIE executables.
7036 * README: Mention the gdb,nopie_flag board setting.
7037 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
7038 non-PIE executable.
7039 * gdb.arch/amd64-entry-value.exp: Likewise.
7040 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
7041 * gdb.arch/i386-float.exp: Likewise.
7042 * gdb.arch/i386-signal.exp: Likewise.
7043 * gdb.mi/mi-reg-undefined.exp: Likewise.
7044
d00a27c5
PM
70452018-12-21 Paul Marechal <paul.marechal@ericsson.com>
7046
7047 PR gdb/23974
7048 * gdb.base/info-os.exp: Check return for unknown "info os" type.
7049
161d081c
PW
70502018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7051
7052 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
7053 Update order of results accordingly.
7054
b001de23
AB
70552018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
7056
7057 * gdb.base/annota1.exp: Update a test regexp.
7058
99e1a184
AB
70592018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7060
7061 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
7062
7a81c1e2
PW
70632018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7064
7065 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
7066 (reuse_time): Initialize to REUSE_TIME_CAP.
7067 (check_rc): New function.
7068 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
7069 Check pthread_create rc.
7070 (spawner_thread_func): Check pthread_create and pthread_join rc.
7071
73e8dc90
PA
70722018-12-08 Pedro Alves <palves@redhat.com>
7073
7074 * gdb.base/list.exp (test_forward_search): Rename to ...
7075 (test_forward_reverse_search): ... this. Also test reverse-search
7076 and the forward-search alias.
7077
13f2ed32
AB
70782018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
7079
7080 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
7081 local timeout variable before return, and remove all local timeout
7082 variable entirely.
7083 (gdb_load): Likewise.
7084
64d27cfc
TV
70852018-12-01 Tom de Vries <tdevries@suse.de>
7086
7087 * gdb.base/gdb-caching-proc.exp: New file.
7088
f63c03b4
SDJ
70892018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
7090
7091 * Makefile.in (TIMESTAMP): New variable.
7092 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
7093 command.
7094 (check-single-racy): Likewise.
7095 (check/%.exp): Likewise.
7096 (check-racy/%.exp): Likewise.
7097 (workers/%.worker): Likewise.
7098 (build-perf): Likewise.
7099 (check-perf): Likewise.
7100 * README: Describe new "TS" and "TS_FORMAT" variables.
7101 * print-ts.py: New file.
7102
1c97054b
BF
71032018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
7104
7105 PR python/23714
7106 * gdb.python/python.exp: Test command repetition after
7107 gdb.execute.
7108
1871a62d
AB
71092018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
7110
7111 * gdb.opt/inline-break.exp: Add test that info breakpoint output
7112 is correctly aligned.
7113
fb5e1ed9
PW
71142018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7115
7116 * gdb.ada/info_auto_lang.exp: New testcase.
7117 * gdb.ada/info_auto_lang/global_pack.ads: New file.
7118 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
7119 * gdb.ada/info_auto_lang/some_c.c: New file.
7120
43d397ca
PW
71212018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7122
7123 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
7124 FUNC_lang language syntax.
7125
beddd671
PW
71262018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7127
7128 * gdb.base/info_minsym.c: New file.
7129 * gdb.base/info_minsym.exp: New file.
7130
73fc52c4
TT
71312018-11-19 Tom Tromey <tom@tromey.com>
7132
7133 PR rust/23625:
7134 * gdb.rust/simple.exp: Add ptype test. Update expected output.
7135 * gdb.rust/expr.exp: Update expected output. Change one test.
7136
994b876a
TT
71372018-11-19 Tom Tromey <tom@tromey.com>
7138
7139 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
7140
6769f276
PA
71412018-11-19 Pedro Alves <palves@redhat.com>
7142
7143 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
7144 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
7145 see the expected warning.
7146
38a72da0
AH
71472018-11-16 Alan Hayward <alan.hayward@arm.com>
7148
7149 PR gdb/22736:
7150 * gdb.cp/infcall-nodebug-lib.c: New test.
7151 * gdb.cp/infcall-nodebug-main.c: New test.
7152 * gdb.cp/infcall-nodebug.exp: New file.
7153
53a89d6e
SM
71542018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
7155
7156 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
7157 completer tests.
7158
9325300d
TV
71592018-11-09 Tom de Vries <tdevries@suse.de>
7160
7161 * gdb.base/msym-lang.c: New test.
7162 * gdb.base/msym-lang.exp: New file.
7163 * gdb.base/msym-lang-main.c: New test.
7164
20f0d60d
TT
71652018-11-08 Tom Tromey <tom@tromey.com>
7166
7167 PR gdb/23555:
7168 PR gdb/23838:
7169 * gdb.base/warning.exp: New file.
7170
b5420128
JB
71712018-11-08 Jan Beulich <jbeulich@suse.com>
7172
7173 * testsuite/gdb.arch/i386-avx512.c,
7174 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
7175
cd115d61
AB
71762018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
7177
7178 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
7179 point hardware.
7180
35ee2dc2
AB
71812018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
7182
7183 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
7184 * gdb.dwarf2/missing-type-name.exp: New file.
7185
31aceee8
TV
71862018-11-06 Tom de Vries <tdevries@suse.de>
7187
7188 * gdb.base/many-headers.c: New test.
7189 * gdb.base/many-headers.exp: New file.
7190
109be305
JW
71912018-11-06 Jim Wilson <jimw@sifive.com>
7192
7193 * gdb.base/code_elim.exp: For riscv, set additional_flags
7194 to include -msmall-data-limit=0.
7195
e2b7af72
JB
71962018-11-01 Joel Brobecker <brobecker@adacore.com>
7197
7198 * gdb.ada/watch_minus_l: New testcase.
7199
cdcda965
SM
72002018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
7201
7202 * gdb.arch/aix-sighandle.c: New file.
7203 * gdb.arch/aix-sighandle.exp: New file.
7204
92dcebf3
AB
72052018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
7206
7207 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
7208 registers being unions.
7209
68b9ac18
TV
72102018-10-31 Tom de Vries <tdevries@suse.de>
7211
7212 * lib/valgrind.exp: New file.
7213 (vgdb_start, vgdb_stop): New procs, factored out of ...
7214 * gdb.base/valgrind-bt.exp: ... here, ...
7215 * gdb.base/valgrind-disp-step.exp: ... here and ...
7216 * gdb.base/valgrind-infcall.exp: ... here.
7217
1443936e
TV
72182018-10-31 Tom de Vries <tdevries@suse.de>
7219
7220 * lib/gdb.exp (get_valueof): Don't output read value in test name.
7221
eb77c9df
AB
72222018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
7223
7224 * gdb.dwarf2/void-type.c: New file.
7225 * gdb.dwarf2/void-type.exp: New file.
7226
82b5e646
PW
72272018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7228
7229 * gdb.base/info_qt.c: New file.
7230 * gdb.base/info_qt.exp: New file.
7231
8d619c01
EBM
72322018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7233
7234 * gdb.arch/powerpc-htm-regs.c: New file.
7235 * gdb.arch/powerpc-htm-regs.exp: New file.
7236
f2cf6173
EBM
72372018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7238
7239 * gdb.arch/powerpc-tar.c: New file.
7240 * gdb.arch/powerpc-tar.exp: New file.
7241
7ca18ed6
EBM
72422018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7243
7244 * gdb.arch/powerpc-ppr-dscr.c: New file.
7245 * gdb.arch/powerpc-ppr-dscr.exp: New file.
7246
bfcc0eba
TV
72472018-10-25 Tom de Vries <tdevries@suse.de>
7248
7249 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
7250
fe1a5cad
TV
72512018-10-24 Tom de Vries <tdevries@suse.de>
7252
7253 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
7254 longer exists error.
7255
a76dc3b7
TV
72562018-10-24 Tom de Vries <tdevries@suse.de>
7257
7258 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
7259
4df46df7
TV
72602018-10-24 Tom de Vries <tdevries@suse.de>
7261
7262 * gdb.base/valgrind-db-attach.exp: Handle removed support for
7263 --db-attach in valgrind.
7264
0dbfcfff
AB
72652018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
7266
7267 * gdb.arch/riscv-reg-aliases.c: New file.
7268 * gdb.arch/riscv-reg-aliases.exp: New file.
7269
b04480b1
AH
72702018-10-19 Alan Hayward <alan.hayward@arm.com>
7271
7272 * gdb.python/py-cmd.exp: Check for gdb_prompt.
7273
2c6ac8d7
AH
72742018-10-19 Alan Hayward <alan.hayward@arm.com>
7275
7276 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
7277
2bc69f25
AH
72782018-10-19 Alan Hayward <alan.hayward@arm.com>
7279
7280 * gdb.cp/ovldbreak.exp: Fix regexps.
7281
1f1ae3a3
AH
72822018-10-19 Alan Hayward <alan.hayward@arm.com>
7283
7284 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
7285
94c18618
SDJ
72862018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
7287
7288 PR cli/23785
7289 * gdb.base/restore.exp: New test to check if "restore" with an
7290 invalid file doesn't segfault.
7291
812cd6eb
TV
72922018-10-18 Tom de Vries <tdevries@suse.de>
7293
7294 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
7295 * gdb.ada/excep_handle.exp: Same.
7296 * gdb.ada/mi_string_access.exp: Same.
7297 * gdb.ada/mi_var_union.exp: Same.
7298 * gdb.arch/arc-analyze-prologue.exp: Same.
7299 * gdb.arch/arc-decode-insn.exp: Same.
7300 * gdb.base/readnever.exp: Same.
7301 * gdb.fortran/printing-types.exp: Same.
7302 * gdb.guile/scm-lazy-string.exp: Same.
7303
c4b90788
TV
73042018-10-16 Tom de Vries <tdevries@suse.de>
7305
7306 PR gdb/23730
7307 * gdb.base/catch-follow-exec.c: Add copyright notice.
7308 * gdb.base/catch-follow-exec.exp: Rewrite to use
7309 gdb_spawn_with_cmdline_opts. Require gdb-native.
7310
8bca2978
SL
73112018-10-12 Sandra Loosemore <sandra@codesourcery.com>
7312
7313 * gdb.trace/actions-changed.exp: Check for arch support.
7314 * gdb.trace/actions.exp: Likewise.
7315 * gdb.trace/ax.exp: Likewise.
7316 * gdb.trace/backtrace.exp: Likewise.
7317 * gdb.trace/change-loc.exp: Likewise.
7318 * gdb.trace/deltrace.exp: Likewise.
7319 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
7320 * gdb.trace/ftrace.exp: Likewise.
7321 * gdb.trace/infotrace.exp: Check for arch support.
7322 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
7323 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
7324 * gdb.trace/mi-tsv-changed.exp: Likewise.
7325 * gdb.trace/packetlen.exp: Likewise.
7326 * gdb.trace/passc-dyn.exp: Likewise.
7327 * gdb.trace/passcount.exp: Likewise.
7328 * gdb.trace/pending.exp: Likewise.
7329 * gdb.trace/range-stepping.exp: Check for shlib support.
7330 * gdb.trace/report.exp: Check for arch support.
7331 * gdb.trace/save-trace.exp: Likewise.
7332 * gdb.trace/signal.exp: Check for signal support.
7333 * gdb.trace/tfind.exp: Check for arch support.
7334 * gdb.trace/trace-break.exp: Check for arch and shlib support.
7335 * gdb.trace/trace-common.h: Add comment.
7336 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
7337 * gdb.trace/trace-enable-disable.exp: Likewise.
7338 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
7339 * gdb.trace/tracecmd.exp: Check for arch support.
7340 * gdb.trace/tspeed.exp: Check for shlib and target support.
7341 * gdb.trace/tstatus.exp: Check for arch support.
7342 * gdb.trace/tsv.exp: Likewise.
7343 * gdb.trace/while-dyn.exp: Likewise.
7344 * gdb.trace/while-stepping.exp: Likewise.
7345 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
7346
f9c49bff
SM
73472018-10-12 Simon Marchi <simon.marchi@ericsson.com>
7348
7349 * gdb.trace/tspeed.exp: Remove nowarnings.
7350 (prepare_for_trace_test): Declare "global ipalib".
7351 * gdb.trace/tspeed.c: Include unistd.h.
7352 (main): Remove superfluous printf argument.
7353
d4330bde
SL
73542018-10-11 Sandra Loosemore <sandra@codesourcery.com>
7355
7356 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
7357 directory prefix on the filename.
7358
8ecfd7bd
SDJ
73592018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
7360
7361 * gdb.gdb/unittest.exp: Update expected message informing that
7362 selftests have been disabled.
7363 * gdb.server/unittest.exp: Likewise.
7364
58bbcd02
TV
73652018-10-09 Tom de Vries <tdevries@suse.de>
7366
7367 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
7368 with runto_main.
7369
9f6b697b
WP
73702018-10-08 Weimin Pan <weimin.pan@oracle.com>
7371
7372 PR c++/16841
7373 * gdb.cp/virtbase2.cc: New file.
7374 * gdb.cp/virtbase2.exp: New file.
7375
add5ded5
TT
73762018-10-06 Tom Tromey <tom@tromey.com>
7377
7378 PR python/19399:
7379 * gdb.python/py-inferior.exp: Add architecture test.
7380
f9e48344
TT
73812018-10-06 Tom Tromey <tom@tromey.com>
7382
7383 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
7384 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
7385
2a8be203
TT
73862018-10-06 Tom Tromey <tom@tromey.com>
7387
7388 * gdb.python/py-breakpoint.exp (check_last_event): Check location
7389 of a "throw" catchpoint.
7390
e04caa70
SDJ
73912018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
7392
7393 * gdb.base/info-proc.exp: Update string expected from "help info
7394 proc".
7395
5ca8c39f
TT
73962018-10-04 Tom Tromey <tom@tromey.com>
7397
7398 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
7399 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
7400 (test_initial_complaints, test_empty_complaints): Update.
7401 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
7402
3453e7e4
TT
74032018-10-04 Tom Tromey <tom@tromey.com>
7404
7405 PR cli/19551:
7406 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
7407 * lib/gdb.exp (gdb_file_cmd): Update.
7408 * gdb.stabs/weird.exp (print_weird_var): Update.
7409 * gdb.server/solib-list.exp: Update.
7410 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
7411 * gdb.mi/mi-cli.exp: Update.
7412 * gdb.linespec/linespec.exp: Update.
7413 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
7414 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
7415 * gdb.cp/cp-relocate.exp: Update.
7416 * gdb.base/sym-file.exp: Update.
7417 * gdb.base/relocate.exp: Update.
7418 * gdb.base/readnever.exp: Update.
7419 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
7420 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
7421 * gdb.base/dbx.exp (gdb_file_cmd): Update.
7422 * gdb.base/code_elim.exp: Update.
7423 * gdb.base/break-unload-file.exp (test_break): Update.
7424 * gdb.base/break-interp.exp (test_attach_gdb): Update.
7425 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
7426 Update.
7427 * gdb.base/attach.exp (do_attach_tests): Update.
7428 * gdb.base/sepdebug.exp: Update.
7429 * gdb.python/py-section-script.exp: Update.
7430
6afcf761
TT
74312018-10-04 Tom Tromey <tom@tromey.com>
7432
7433 PR cli/22234:
7434 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
7435 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
7436 output.
7437
fef1b293
TT
74382018-10-04 Tom Tromey <tom@tromey.com>
7439
7440 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
7441 set width and height to 0.
7442 (test_command_line_attach_run): Use -quiet.
7443
ca98345e
SL
74442018-10-03 Sandra Loosemore <sandra@codesourcery.com>
7445
7446 * lib/gdb.exp (skip_ifunc_tests): New.
7447 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
7448 other compile failures.
7449 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
7450
ff34e6ae
SM
74512018-10-01 Simon Marchi <simon.marchi@ericsson.com>
7452
7453 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
7454 is_amd64_regs_target.
7455
6bb8890e
AH
74562018-10-01 Alan Hayward <alan.hayward@arm.com>
7457
7458 * gdb.arch/aarch64-sighandler-regs.c: New test.
7459 * gdb.arch/aarch64-sighandler-regs.exp: New file.
7460 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
7461
224d30d3
MM
74622018-10-01 Markus Metzger <markus.t.metzger@intel.com>
7463
7464 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
7465 assembly.
7466
f67ffa6a
AB
74672018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
7468
7469 * gdb.base/frame-selection.exp: New file.
7470 * gdb.base/frame-selection.c: New file.
7471
9fc3183f
AH
74722018-09-27 Alan Hayward <alan.hayward@arm.com>
7473
7474 * gdb.threads/check-libthread-db.c (thread_routine): Use a
7475 pthread barrier.
7476 (main): Likewise.
7477
d354055e
AB
74782018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
7479
7480 * gdb.base/large-frame-1.c: New file.
7481 * gdb.base/large-frame-2.c: New file.
7482 * gdb.base/large-frame.exp: New file.
7483 * gdb.base/large-frame.h: New file.
7484
db727370
JL
74852018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
7486
7487 PR gdb/20948
7488 * gdb.base/write_mem.exp: New test.
7489 * gdb.base/write_mem.c: Likewise.
7490
ae778caf
TT
74912018-09-23 Tom Tromey <tom@tromey.com>
7492
7493 PR python/18852:
7494 * gdb.python/py-parameter.exp: Add test for parameter that throws
7495 on "set".
7496
fd3ba736
TT
74972018-09-23 Tom Tromey <tom@tromey.com>
7498
7499 PR python/17284:
7500 * gdb.python/py-template.exp (test_template_arg): Add test for
7501 negative template argument number.
7502
39a24317
TT
75032018-09-23 Tom Tromey <tom@tromey.com>
7504
7505 PR python/14062:
7506 * gdb.python/python.exp: Add test for post_event error.
7507
f5769a2c
TT
75082018-09-23 Tom Tromey <tom@tromey.com>
7509
7510 PR python/18170:
7511 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
7512 convert pointers to int and long.
7513
1c1e54f6
TT
75142018-09-23 Tom Tromey <tom@tromey.com>
7515
7516 PR python/20126:
7517 * gdb.python/py-value.exp (test_value_numeric_ops): Add
7518 signed-ness conversion tests.
7519
fb4fa946
TT
75202018-09-23 Tom Tromey <tom@tromey.com>
7521
7522 PR python/18352;
7523 * gdb.python/py-value.exp (test_float_conversion): New proc.
7524 Use it.
7525
a466edac
HAQ
75262018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
7527
7528 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
7529
4ee9b0c5
SL
75302018-09-18 Sandra Loosemore <sandra@codesourcery.com>
7531
7532 * gdb.base/complete-empty.exp: Skip tab-completion tests if
7533 no readline.
7534 * gdb.base/utf8-identifiers.exp: Likewise.
7535 * gdb.cp/cpcompletion.exp: Likewise.
7536 * gdb.linespec/cpcompletion.exp: Likewise.
7537 * gdb.linespec/cpls-abi-tag.exp: Likewise.
7538 * gdb.linespec/cpls-ops.exp: Likewise.
7539
23be8da7
RB
75402018-09-19 Richard Bunt <richard.bunt@arm.com>
7541 Chris January <chris.january@arm.com>
7542
7543 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
7544 * gdb.fortran/short-circuit-argument-list.exp: New file.
7545 * gdb.fortran/short-circuit-argument-list.f90: New test.
7546
5031d0ae
SDJ
75472018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7548
7549 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
7550 "arch=" keyword when executing "-stack-list-frames".
7551
b4c0d1a4
SDJ
75522018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7553
7554 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
7555 "arch=" keyword when executing "-stack-list-frames".
7556
7a6d2b45
SDJ
75572018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7558
7559 * gdb.ada/complete.exp: Expect for "@" when doing "complete
7560 break ada".
7561
8588b356
SM
75622018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
7563
7564 PR python/23669
7565 * gdb.python/python.exp: Test gdb.execute("show commands").
7566
65e65158
TT
75672018-09-16 Tom Tromey <tom@tromey.com>
7568
7569 * gdb.base/new-ui.exp (do_execution_tests): Update.
7570 * gdb.base/dbx.exp (test_breakpoints): Update.
7571
bf326452
AH
75722018-09-14 Alan Hayward <alan.hayward@arm.com>
7573
7574 * lib/gdb.exp (gdb_simple_compile): Add proc.
7575 (is_elf_target): Use gdb_simple_compile.
7576 (skip_altivec_tests): Likewise.
7577 (skip_vsx_tests): Likewise.
7578 (skip_tsx_tests): Likewise.
7579 (skip_btrace_tests): Likewise.
7580 (skip_btrace_pt_tests): Likewise.
7581 (gdb_can_simple_compile): Likewise.
7582 (gdb_has_argv0): Likewise.
7583 (gdb_target_symbol_prefix): Likewise.
7584 (target_supports_scheduler_locking): Likewise.
7585
2361b0fb
TT
75862018-09-13 Tom Tromey <tom@tromey.com>
7587
7588 * Makefile.in (TAGS): Recognize proc_with_prefix and
7589 gdb_caching_proc.
7590
0ae1a321
SM
75912018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7592
7593 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
7594 method.
7595
a40bf0c2
SM
75962018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7597
7598 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
7599 and a few other Inferior properties when the Inferior is no
7600 longer valid.
7601
4a3fe98f
TT
76022018-09-13 Tom Tromey <tom@tromey.com>
7603
7604 PR rust/23650:
7605 * gdb.rust/simple.exp: Add test for enum field access error.
7606
098b2108
TT
76072018-09-13 Tom Tromey <tom@tromey.com>
7608
7609 PR rust/23626:
7610 * gdb.rust/simple.rs (EmptyEnum): New type.
7611 (main): Use it.
7612 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
7613
1256af7d
SM
76142018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7615
7616 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
7617 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
7618 * gdb.python/py-symtab.exp: Update test printing an objfile.
7619
4aa8e6c2
SM
76202018-09-12 Simon Marchi <simon.marchi@ericsson.com>
7621
7622 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
7623 object.
7624
c221b2f7
AH
76252018-09-12 Alan Hayward <alan.hayward@arm.com>
7626
7627 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
7628 (support_complex_tests): Use gdb_can_simple_compile.
7629 (is_ilp32_target): Likewise.
7630 (is_lp64_target): Likewise.
7631 (is_64_target): Likewise.
7632 (is_amd64_regs_target): Likewise.
7633 (is_aarch32_target): Likewise.
7634 (gdb_int128_helper): Likewise.
7635
6f1107b5
JK
76362018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7637
7638 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
7639
1f5d1570
JG
76402018-09-10 Jerome Guitton <guitton@adacore.com>
7641
7642 * gdb.ada/same_component_name: Add test for case of tagged record
7643 with variable-length fields.
7644
cc330e39
XR
76452018-09-10 Xavier Roirand <roirand@adacore.com>
7646
7647 * gdb.ada/access_to_unbounded_array.exp: New testcase.
7648 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
7649 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
7650 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
7651
b9c50e9a
XR
76522018-09-10 Xavier Roirand <roirand@adacore.com>
7653
7654 * gdb.ada/mi_string_access.exp: New testcase.
7655 * gdb.ada/mi_string_access/bar.adb: New file.
7656 * gdb.ada/mi_string_access/pck.adb: New file.
7657 * gdb.ada/mi_string_access/pck.asd: New file.
7658
2963898f
XR
76592018-09-10 Xavier Roirand <roirand@adacore.com>
7660
7661 * gdb.ada/mi_var_union.exp: New testcase.
7662 * gdb.ada/mi_var_union/bar.adb: New file.
7663 * gdb.ada/mi_var_union/pck.adb: New file.
7664 * gdb.ada/mi_var_union/pck.asd: New file.
7665
1aac008f
TT
76662018-09-08 Tom Tromey <tom@tromey.com>
7667
7668 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
7669
332cf4c9
TT
76702018-09-08 Tom Tromey <tom@tromey.com>
7671
7672 PR python/16047:
7673 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
7674 (register_pretty_printers): Register new printer.
7675 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
7676 test.
7677 * gdb.python/py-prettyprint.c (int_type3): New typedef.
7678 (an_int_type3): New global.
7679
424da6cf
JB
76802018-09-08 Joel Brobecker <brobecker@adacore.com>
7681
7682 * gdb.ada/expr_with_funcall: New testcase.
7683
2a62dfa9
JB
76842018-09-08 Joel Brobecker <brobecker@adacore.com>
7685
7686 * gdb.ada/packed_array_assign: New testcase.
7687
96b6697f
AB
76882018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
7689
7690 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
7691 names, and add test prefixes to make test names unique.
7692
e4a62c65
TV
76932018-09-05 Tom de Vries <tdevries@suse.de>
7694
7695 * gdb.dwarf2/varval.exp: Add test.
7696
dd083ee2
GB
76972018-09-04 Gary Benson <gbenson@redhat.com>
7698
7699 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
7700 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
7701
aef9346c
TT
77022018-08-31 Tom Tromey <tom@tromey.com>
7703
7704 * gdb.rust/simple.rs: Rename second variable "v".
7705
c67f2e15
AB
77062018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
7707
7708 * gdb.base/funcargs.c (use_a): New function.
7709 (recurse): Call use_a.
7710
078a0207
KS
77112018-08-29 Keith Seitz <keiths@redhat.com>
7712
7713 * gdb.compile/compile-cplus-anonymous.cc: New file.
7714 * gdb.compile/compile-cplus-anonymous.exp: New file.
7715 * gdb.compile/compile-cplus-array-decay.cc: New file.
7716 * gdb.compile/compile-cplus-array-decay.exp: New file.
7717 * gdb.compile/compile-cplus-inherit.cc: New file.
7718 * gdb.compile/compile-cplus-inherit.exp: New file.
7719 * gdb.compile/compile-cplus-member.cc: New file.
7720 * gdb.compile/compile-cplus-member.exp: New file.
7721 * gdb.compile/compile-cplus-method.cc: New file.
7722 * gdb.compile/compile-cplus-method.exp: New file.
7723 * gdb.compile/compile-cplus-mod.c: "New" file.
7724 * gdb.compile/compile-cplus-namespace.cc: New file.
7725 * gdb.compile/compile-cplus-namespace.exp: New file.
7726 * gdb.compile/compile-cplus-nested.cc: New file.
7727 * gdb.compile/compile-cplus-nested.exp: New file.
7728 * gdb.compile/compile-cplus-print.c: "New" file.
7729 * gdb.compile/compile-cplus-print.exp: "New" file.
7730 * gdb.compile/compile-cplus-virtual.cc: New file.
7731 * gdb.compile/compile-cplus-virtual.exp: New file.
7732 * gdb.compile/compile-cplus.c: "New" file.
7733 * gdb.compile/compile-cplus.exp: "New" file.
7734 * lib/compile-support.exp: New file.
7735
b0f492b9
GB
77362018-08-16 Gary Benson <gbenson@redhat.com>
7737
7738 PR gdb/13000:
7739 * gdb.base/batch-exit-status.exp: New file.
7740 * gdb.base/batch-exit-status.good-commands: Likewise.
7741 * gdb.base/batch-exit-status.bad-commands: Likewise.
7742
36eb4c5f
AH
77432018-08-29 Alan Hayward <alan.hayward@arm.com>
7744
7745 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
7746 (struct struct02): Likewise.
7747 (struct struct03): Likewise.
7748 (struct struct04): Likewise.
7749 (struct struct_01_01): New struct.
7750 (struct struct_01_02): Likewise.
7751 (struct struct_01_03): Likewise.
7752 (struct struct_01_04): Likewise.
7753 (struct struct_02_01): Likewise.
7754 (struct struct_02_02): Likewise.
7755 (struct struct_02_03): Likewise.
7756 (struct struct_02_04): Likewise.
7757 (struct struct_04_01): Likewise.
7758 (struct struct_04_02): Likewise.
7759 (struct struct_04_03): Likewise.
7760 (struct struct_04_04): Likewise.
7761 (struct struct_05_01): Likewise.
7762 (struct struct_05_02): Likewise.
7763 (struct struct_05_03): Likewise.
7764 (struct struct_05_04): Likewise.
7765 (cmp_struct01): Remove function.
7766 (cmp_struct02): Likewise.
7767 (cmp_struct03): Likewise.
7768 (cmp_struct04): Likewise.
7769 (cmp_struct_01_01): Add Function.
7770 (cmp_struct_01_02): Likewise.
7771 (cmp_struct_01_03): Likewise.
7772 (cmp_struct_01_04): Likewise.
7773 (cmp_struct_02_01): Likewise.
7774 (cmp_struct_02_02): Likewise.
7775 (cmp_struct_02_03): Likewise.
7776 (cmp_struct_02_04): Likewise.
7777 (cmp_struct_04_01): Likewise.
7778 (cmp_struct_04_02): Likewise.
7779 (cmp_struct_04_03): Likewise.
7780 (cmp_struct_04_04): Likewise.
7781 (cmp_struct_05_01): Likewise.
7782 (cmp_struct_05_02): Likewise.
7783 (cmp_struct_05_03): Likewise.
7784 (cmp_struct_05_04): Likewise.
7785 (call_all): Add new structs.
7786 * gdb.base/infcall-nested-structs.exp: Likewise.
7787
3bf9c013
JV
77882018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
7789
7790 * gdb.python/py-framefilter-mi.exp: Update regexp to
7791 check for "arch" field in frame output.
7792
450d1e88
KB
77932018-08-23 Kevin Buettner <kevinb@redhat.com>
7794
7795 * gdb.dwarf2/dw2-ranges-func.c: New file.
7796 * gdb.dwarf2/dw2-ranges-func.exp: New file.
7797
ae739fe7
SM
77982018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
7799
7800 * gdb.base/term.exp: Compare terminal settings with values from
7801 the inferior.
7802 * gdb.base/term.c: Get and set terminal settings.
7803
6d52907e
JV
78042018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
7805
7806 * lib/mi-support.exp (mi_expect_stop): Update regexp to
7807 accommodate new "arch" field in frame output.
7808 * gdb.mi/mi-return.exp: Likewise.
7809 * gdb.mi/mi-stack.exp: Likewise.
7810 * gdb.mi/mi-syn-frame.exp: Likewise.
7811 * gdb.mi/user-selected-context-sync.exp: Likewise.
7812
be2d111a
MS
78132018-08-19 Michael Spang <spang@google.com>
7814
7815 PR gdb/11786
7816 * gdb.base/gcore-tls-pie.c: New file.
7817 * gdb.base/gcore-tls-pie.exp: New file.
7818
ae3a7c47
KB
78192018-08-18 Kevin Buettner <kevinb@redhat.com>
7820
7821 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
7822 * gdb.dwarf2/varval.c: New file.
7823 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 7824
2ecae92e
AH
78252018-08-17 Alan Hayward <alan.hayward@arm.com>
7826
7827 PR gdb/18931
7828 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
7829
c1854f1d
KS
78302018-08-16 Keith Seitz <keiths@redhat.com>
7831
7832 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
7833 tests expected to pass.
7834
26fb3983
JV
78352018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
7836
7837 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
7838 -data-disassemble -a.
7839 (test_disassembly_bogus_args): Likewise.
7840
67943c00
AB
78412018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
7842
7843 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
7844
5ff2bbae
AB
78452018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
7846
7847 * gdb.base/vla-optimized-out.exp: Add new test.
7848
e5bbcd0f
AB
78492018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
7850
7851 * gdb.base/vla-optimized-out-o3.exp: Delete.
7852 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
7853 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
7854 deleted tests.
7855
9d4a934c
AB
78562018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
7857
7858 PR gdb/18050:
7859 * gdb.server/extended-remote-restart.c: New file.
7860 * gdb.server/extended-remote-restart.exp: New file.
7861
045cf012
SM
78622018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
7863
7864 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
7865 "set variable index = 42".
7866
87d6a7aa
SM
78672018-08-07 Simon Marchi <simon.marchi@ericsson.com>
7868
7869 * boards/index-cache-gdb.exp: New file.
7870 * gdb.dwarf2/index-cache.exp: New file.
7871 * gdb.dwarf2/index-cache.c: New file.
7872 * gdb.base/maint.exp: Check if we are using the index cache.
7873
96d68bd4
RO
78742018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7875
7876 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
7877 MAKEFLAGS.
7878
5a699617
RO
78792018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7880
7881 * dg-extract-results.sh: Move to toplevel contrib.
7882 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
7883 * Makefile.in (check-parallel-racy): Likewise.
7884
5bd18990
AB
78852018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
7886
7887 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
7888 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
7889 tests if the target supports scheduler locking.
7890
3fbbcf47
TV
78912018-08-04 Tom de Vries <tdevries@suse.de>
7892
7893 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
7894
3e1d3d8c
TT
78952018-08-02 Tom Tromey <tom@tromey.com>
7896
7897 PR symtab/16842.
7898 * gdb.cp/temargs.exp: Test "info address" of a template
7899 parameter.
7900
5abe0f0c
JV
79012018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
7902
7903 * gdb.python/py-mi-var-info-path-expression.c: New file.
7904 * gdb.python/py-mi-var-info-path-expression.py: New file.
7905 * gdb.python/py-mi-var-info-path-expression.exp: New file.
7906
fb66cde8
SDJ
79072018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
7908
7909 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
7910 error after "cannot resolve name" string.
7911
c708f4d2
AB
79122018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
7913
7914 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
7915 started.
7916 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
7917
37cc0cae
TV
79182018-07-28 Tom de Vries <tdevries@suse.de>
7919
7920 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
7921
63b4ecf7
TV
79222018-07-26 Tom de Vries <tdevries@suse.de>
7923
7924 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
7925
3c3bb058
AB
79262018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
7927
7928 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
7929 is visible.
7930
9e7f3bbb
TV
79312018-07-26 Tom de Vries <tdevries@suse.de>
7932
7933 PR breakpoints/23366
7934 * gdb.base/catch-follow-exec.c: New test.
7935 * gdb.base/catch-follow-exec.exp: New file.
7936
16f808ec
TV
79372018-07-25 Tom de Vries <tdevries@suse.de>
7938
7939 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
7940 vla-optimized-out.c.
7941
d7154a8d
JV
79422018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
7943
7944 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
7945 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
7946
232a0032
TV
79472018-07-20 Tom de Vries <tdevries@suse.de>
7948
7949 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
7950 NOCLONE macro.
7951 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
7952
fbb1d502
TV
79532018-07-19 Tom de Vries <tdevries@suse.de>
7954
7955 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
7956 regular expression.
7957
42dc7699
TV
79582018-07-18 Tom de Vries <tdevries@suse.de>
7959
7960 * gdb.base/vla-optimized-out.c: New test.
7961 * gdb.base/vla-optimized-out.exp: New file.
7962
7f1f7e23
SDJ
79632018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
7964
7965 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
7966 message "No address associated with hostname" when gdbserver
7967 cannot resolve the hostname.
7968
5759ebb3
PW
79692018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7970
7971 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
7972 Add some test prefixes to make tests unique.
7973
3606ccab
PW
79742018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7975
7976 * gdb.base/frameapply.c: New file.
7977 * gdb.base/frameapply.exp: New file.
7978
529c08b2
PW
79792018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7980
7981 * gdb.base/skip.exp: Update expected error message.
7982
c7ab0aef
SDJ
79832018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
7984 Jan Kratochvil <jan.kratochvil@redhat.com>
7985 Paul Fertser <fercerpav@gmail.com>
7986 Tsutomu Seki <sekiriki@gmail.com>
7987
7988 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
7989 parameter.
7990 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
7991 by default.
7992 * boards/native-gdbserver.exp: Likewise.
7993 * gdb.server/run-without-local-binary.exp: Improve regexp used
7994 for detecting when a remote debugging connection succeeds.
7995 * gdb.server/server-connect.exp: New file.
7996 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
7997 Do not prefix the port number with ":".
7998 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
7999 support for detecting and using it. Add '$debughost_gdbserver'
8000 to the list of arguments used to start gdbserver. Handle case
8001 when gdbserver cannot resolve a network name.
8002
16ff70dd
SDJ
80032018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
8004
8005 PR c++/23373
8006 * gdb.base/ptype-offsets.cc (struct static_member): New
8007 struct.
8008 (main) <stmember>: New variable.
8009 * gdb.base/ptype-offsets.exp: Add test for printing a struct
8010 with a static member in it.
8011
3541979f
AB
80122018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
8013
8014 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
8015 watchpoints enabled and disabled.
8016
c8ad9b9a
AB
80172018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
8018
8019 * gdb.base/examine-backward.exp: Still run tests around address
8020 0x0, even if address 0x0 is not readable. Update the pattern for
8021 matching address 0x0 in expected output.
8022
e0e5e971
AB
80232018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
8024
8025 * gdb.base/share-env-with-gdbserver.c (main): Add call to
8026 malloc/free.
8027
1ea5da02
TV
80282018-07-04 Tom de Vries <tdevries@suse.de>
8029
8030 * gdb.dwarf2/dw2-error.exp: Update expected error message.
8031
471b9d15
MR
80322018-07-02 Maciej W. Rozycki <macro@mips.com>
8033
8034 PR tdep/8282
8035 * gdb.arch/mips-disassembler-options.exp: New test.
8036 * gdb.arch/mips-disassembler-options.s: New test source.
8037
75acb486
PA
80382018-06-29 Pedro Alves <palves@redhat.com>
8039
8040 * gdb.threads/names.exp: Adjust expected "info threads" output.
8041
cd2bb709
PA
80422018-06-29 Pedro Alves <palves@redhat.com>
8043
8044 * gdb.opt/inline-break.exp (line number, address): Add "info
8045 break" tests.
8046
991ff292
PA
80472018-06-29 Pedro Alves <palves@redhat.com>
8048
8049 * gdb.opt/inline-break.c (func1): Add "break here" marker.
8050 * gdb.opt/inline-break.exp: Test setting breakpoints by line
8051 number and address and running to them.
8052
356819b6 80532018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
8054
8055 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
8056
2512d7ef
JK
80572018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8058
8059 * lib/compiler.c: Remove executable permission flag.
8060
be1b6474
RB
80612018-06-28 Richard Bunt <richard.bunt@arm.com>
8062
8063 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
8064 code.
8065 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
8066
291f9a96
PT
80672018-06-28 Petr Tesarik <ptesarik@suse.cz>
8068
8069 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
8070
ed6dfe51
PT
80712018-06-28 Petr Tesarik <ptesarik@suse.cz>
8072
8073 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
8074 address argument is omitted.
8075
d4d429d5
PT
80762018-06-28 Petr Tesarik <ptesarik@suse.cz>
8077
8078 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
8079
7ab6656f
OJ
80802018-06-27 Omair Javaid <omair.javaid@linaro.org>
8081
8082 PR gdb/21695
8083 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
8084 * gdb.base/infoline-reloc-main-from-zero.c: New file.
8085
a33ccfc7
TT
80862018-06-26 Tom Tromey <tom@tromey.com>
8087
8088 PR rust/22574:
8089 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
8090 * gdb.rust/simple.rs (struct SimpleLayout): New.
8091
6d72d289
SM
80922018-06-22 Simon Marchi <simon.marchi@ericsson.com>
8093
8094 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
8095 "info registers" output.
8096
8363f9d5
RB
80972018-06-21 Richard Bunt <richard.bunt@arm.com>
8098
8099 * gdb.base/watchpoint-hw-attach.c: New test.
8100 * gdb.base/watchpoint-hw-attach.exp: New file.
8101
f00674fe
SM
81022018-06-20 Simon Marchi <simon.marchi@ericsson.com>
8103
8104 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
8105 through /bin/sh.
8106 * boards/dwarf4-gdb-index.exp: Likewise.
8107 * boards/fission-dwp.exp: Likewise.
8108
1d554008
UW
81092018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
8110
8111 * gdb.base/float128.exp: Add comment and improved fail message
8112 to the failure case of "print large128" test.
8113
d0ac1c44
SM
81142018-06-19 Simon Marchi <simon.marchi@ericsson.com>
8115
8116 * configure.ac: Remove AC_PREREQ.
8117 * configure: Re-generate.
8118
61b04dd0
PA
81192018-06-19 Pedro Alves <palves@redhat.com>
8120
8121 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
8122 (func_extern_caller): New.
8123 (main): Call func_extern_caller.
8124 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
8125 logic change.
8126
f63b508a
SM
81272018-06-18 Weimin Pan <weimin.pan@oracle.com>
8128
8129 PR gdb/16841
8130 * gdb.cp/typedef-base.cc: New file.
8131 * gdb.cp/typedef-base.exp: New file.
8132
0fe3a558
TV
81332018-06-18 Tom de Vries <tdevries@suse.de>
8134
8135 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
8136
7010835a
AB
81372018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
8138 Richard Bunt <Richard.Bunt@arm.com>
8139
8140 * gdb.threads/attach-slow-waitpid.c: New file.
8141 * gdb.threads/attach-slow-waitpid.exp: New file.
8142 * gdb.threads/slow-waitpid.c: New file.
8143
14897d65
PA
81442018-06-14 Pedro Alves <palves@redhat.com>
8145
8146 * gdb.base/fork-running-state.c: Include <errno.h>.
8147 (exit_if_relative_exits): New.
8148 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
8149 exits.
8150 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
8151 child exits.
8152
5d9a0608
TV
81532018-06-14 Tom de Vries <tdevries@suse.de>
8154
8155 PR cli/22573
8156 * gdb.base/finish-pretty.c: New test.
8157 * gdb.base/finish-pretty.exp: New file.
8158
11ae5818
PA
81592018-06-14 Pedro Alves <palves@redhat.com>
8160
8161 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
8162 gdb's expected startup output.
8163
1d39de44
PA
81642018-06-14 Pedro Alves <palves@redhat.com>
8165
8166 * lib/selftest-support.exp (selftest_setup): Remove inlined
8167 function handling.
8168
70ee0000
TV
81692018-06-14 Tom de Vries <tdevries@suse.de>
8170
8171 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
8172 matching of breakpoint printing.
8173
11f4b608
TV
81742018-06-13 Tom de Vries <tdevries@suse.de>
8175
8176 PR testsuite/23269
8177 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
8178 (fork_child): ... here, and ...
8179 (fork_parent): ... here.
8180
81812018-06-12 Tom de Vries <tdevries@suse.de>
8182
8183 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
8184
9516f85a
AB
81852018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
8186 Stephen Roberts <stephen.roberts@arm.com>
8187
8188 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
8189 rewrite test to describe action performed, rather than possible
8190 failure.
8191
5045b3d7
GB
81922018-06-08 Gary Benson <gbenson@redhat.com>
8193
8194 * gdb.threads/check-libthread-db.exp: New file.
8195 * gdb.threads/check-libthread-db.c: Likewise.
8196
c61b06a1
TT
81972018-06-05 Tom Tromey <tom@tromey.com>
8198
8199 * gdb.base/default.exp: Update expected "show version" output.
8200
eb6af809
TT
82012018-06-05 Tom Tromey <tom@tromey.com>
8202
8203 PR cli/12326:
8204 * gdb.cp/static-print-quit.exp: Update.
8205 * lib/gdb.exp (pagination_prompt): Update.
8206 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
8207 * gdb.python/python.exp: Update.
8208
178d6a63
JB
82092018-06-04 Joel Brobecker <brobecker@adacore.com>
8210
8211 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
8212
8e817061
JB
82132018-06-01 Joel Brobecker <brobecker@adacore.com>
8214
8215 * gdb.ada/bp_fun_addr: New testcase.
8216
e86ca25f
TT
82172018-06-01 Tom Tromey <tom@tromey.com>
8218
8219 * gdb.xml/tdesc-regs.exp (load_description): Update expected
8220 results.
8221 * gdb.dwarf2/method-ptr.exp: Set language to C++.
8222 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
8223 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
8224 * gdb.base/maint.exp (maint_pass_if): Update.
8225
4b2dfa9d
MR
82262018-05-31 Maciej W. Rozycki <macro@mips.com>
8227
8228 * gdb.base/endian.exp: New test.
8229 * gdb.base/endian.c: New test source.
8230
45f25d6c
AB
82312018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
8232
8233 PR gdb/23203
8234 * gdb.base/bt-selected-frame.c: New file.
8235 * gdb.base/bt-selected-frame.exp: New file.
8236 * lib/gdb.exp (get_current_frame_number): New function.
8237
d9f6d7f8
MR
82382018-05-24 Maciej W. Rozycki <macro@mips.com>
8239 Pedro Alves <palves@redhat.com>
8240
8241 * gdb.threads/tls-core.c: Include <stdlib.h>
8242 (thread_proc): Call `abort'.
8243 * gdb.threads/tls-core.exp: Generate a core with core_find too.
8244 (tls_core_test): New procedure, bits factored out from ...
8245 (top level): ... here. Test both native cores and gcore cores.
8246
ff1cf532
TT
82472018-05-23 Tom Tromey <tom@tromey.com>
8248
8249 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
8250
b98664d3
TT
82512018-05-23 Tom Tromey <tom@tromey.com>
8252
8253 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
8254 symfile_complaints.
8255 (test_short_complaints): Likewise.
8256 (test_empty_complaints): Likewise.
8257 (test_initial_complaints): Update.
8258
4e9668d0
TT
82592018-05-23 Tom Tromey <tom@tromey.com>
8260
8261 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
8262
43ba33c7
TT
82632018-05-23 Tom Tromey <tom@tromey.com>
8264
8265 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
8266 (test_short_complaints): Update.
8267
035522c0
PA
82682018-05-22 Pedro Alves <palves@redhat.com>
8269
8270 * gdb.base/remote.exp: Only gdb_start after compiling the
8271 testcase. Issue "disconnect" before testing "set remote" command
8272 defaults. Issue clean_restart before running to main.
8273
cc0be08f
PA
82742018-05-22 Pedro Alves <palves@redhat.com>
8275
8276 * gdb.base/remote.exp: Adjust expected output of "show remote
8277 memory-write-packet-size". Add tests for "set remote
8278 memory-write-packet-size 0" and "set remote
8279 memory-write-packet-size fixed/limit".
8280
b1b60145
PA
82812018-05-22 Pedro Alves <palves@redhat.com>
8282
8283 PR gdb/22973
8284 * gdb.base/utf8-identifiers.c: New file.
8285 * gdb.base/utf8-identifiers.exp: New file.
8286
0ec848ad
PFC
82872018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
8288
8289 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
8290
2c3305f6
PFC
82912018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
8292
8293 * gdb.arch/powerpc-vsx-gcore.exp: New file.
8294
ce1e8424
TT
82952018-05-18 Tom Tromey <tom@tromey.com>
8296
8297 * gdb.base/ptype-offsets.exp: Update.
8298
ddfe970e
KS
82992018-05-17 Keith Seitz <keiths@redhat.com>
8300
8301 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
8302 in expected breakpoint stop locations.
8303 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
8304 move to proper scope to test variable values.
8305 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
8306 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
8307 New functions.
8308 (main): Call not_inline_func3.
8309 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
8310 inline_func1, inline_func2, and inline_func3. Test that when each
8311 breakpoint is hit, GDB properly reports both the stop location
8312 and the backtrace. Repeat tests for temporary breakpoints.
8313
0726fcc6
MR
83142018-05-15 Maciej W. Rozycki <macro@mips.com>
8315
8316 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
8317 rather then trying to access it in determining whether the PID
8318 of `gdbserver' could have been retrieved.
8319
8ee22052
AB
83202018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
8321
8322 * gdb.arch/amd64-init-x87-values.S: New file.
8323 * gdb.arch/amd64-init-x87-values.exp: New file.
8324
7785df48
JK
83252018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8326
8327 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
8328
56bcdbea
TT
83292018-05-04 Tom Tromey <tom@tromey.com>
8330
8331 PR python/22730:
8332 * gdb.python/python.exp: Test multi-line execute.
8333
a913fffb
TT
83342018-05-04 Tom Tromey <tom@tromey.com>
8335
8336 PR python/22731:
8337 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
8338
7a2c85f2
TT
83392018-05-04 Tom Tromey <tom@tromey.com>
8340
8341 PR gdb/11750:
8342 * gdb.base/define.exp: Test defining a user command inside a user
8343 command.
8344 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
8345
a3b60e45
JK
83462018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8347 Pedro Alves <palves@redhat.com>
8348
8349 PR breakpoints/19806 and support for PR external/20207.
8350 * gdb.base/watchpoint-unaligned.c: New file.
8351 * gdb.base/watchpoint-unaligned.exp: New file.
8352
45fe4a03
AB
83532018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8354
8355 * gdb.base/maint.exp: Make test names unique, use
8356 test_prefix_command_help to test 'help maint info', and remove
8357 repeated test of 'help maint'.
8358
9be2ae8f
TT
83592018-05-04 Tom Tromey <tom@tromey.com>
8360
8361 PR gdb/22619:
8362 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
8363 behavior.
8364
11859c31
AB
83652018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8366
8367 * gdb.base/maint.exp: Process output from 'maint print registers'
8368 line at a time.
8369
089a9490
AB
83702018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8371
8372 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
8373 timeout.
8374
9b0797e2
AB
83752018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
8376
8377 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
8378 filter pattern.
8379
f6ac5f3d
PA
83802018-05-02 Pedro Alves <palves@redhat.com>
8381
8382 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
8383 to_log_command renames.
8384 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
8385
77d3c63b
TT
83862018-05-02 Tom Tromey <tom@tromey.com>
8387
8388 * gdb.python/py-parameter.exp: Set test message.
8389
0489430a
TT
83902018-05-02 Tom Tromey <tom@tromey.com>
8391
8392 PR python/20084:
8393 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
8394 PARAM_ZUINTEGER_UNLIMITED tests.
8395
1632f8ba
DR
83962018-04-28 Dan Robertson <danlrobertson89@gmail.com>
8397
8398 PR rust/23124
8399 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
8400 when casting.
8401
6d7bb824
TT
84022018-04-30 Tom Tromey <tom@tromey.com>
8403
8404 * gdb.python/py-type.exp: Check align attribute.
8405 * gdb.python/py-type.c: New "aligncheck" global.
8406
007e1530
TT
84072018-04-30 Tom Tromey <tom@tromey.com>
8408
8409 PR exp/17095:
8410 * gdb.dwarf2/dw2-align.exp: New file.
8411 * gdb.cp/align.exp: New file.
8412 * gdb.base/align.exp: New file.
8413 * lib/gdb.exp (gdb_int128_helper): New proc.
8414 (has_int128_c, has_int128_cxx): New caching procs.
8415
6873858b
TT
84162018-04-27 Tom Tromey <tom@tromey.com>
8417
8418 PR rust/22545:
8419 * gdb.rust/simple.exp: Add inclusive range tests.
8420
79188d8d
PA
84212018-04-26 Pedro Alves <palves@redhat.com>
8422
8423 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
8424 ifunc breakpoint locations correctly of ifunc breakpoints set
8425 while the program resolves the ifunc.
8426
c7075ad5
PA
84272018-04-26 Pedro Alves <palves@redhat.com>
8428
8429 * gdb.base/gnu-ifunc-final.c: New file.
8430 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
8431 * gdb.base/gnu-ifunc.exp (executable): Delete.
8432 (staticexecutable): Adjust.
8433 (lib_opts, exec_opts): Delete.
8434 (make_binsuffix, build, set-break): New procedures.
8435 (misc_tests): New, with tests factored out from the top level.
8436 (top level): Test different combinations of ifunc resolver name,
8437 resolver with and with debug info, and ifunc target with and
8438 without debug info. Wrap static tests with with_target_prefix.
8439
8388016d
PA
84402018-04-26 Pedro Alves <palves@redhat.com>
8441
8442 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
8443 return type" warnings.
8444
249b5733
PA
84452018-04-25 Pedro Alves <palves@redhat.com>
8446
8447 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
8448 killed".
8449 * gdb.base/kill-after-signal.exp: Likewise.
8450 * gdb.threads/kill.exp: Likewise.
8451
f67c0c91
SDJ
84522018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8453 Sergio Durigan Junior <sergiodj@redhat.com>
8454 Pedro Alves <palves@redhat.com>
8455
8456 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
8457 regexps to expect for '[Inferior ... detached]' as well.
8458 * gdb.base/attach.exp: Likewise.
8459 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
8460 "gdb_continue_to_end".
8461 (test_catch_syscall_with_wrong_args): Likewise.
8462 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
8463 ']'. Don't set 'verbose' on.
8464 * gdb.base/foll-vfork.exp: Likewise.
8465 * gdb.base/fork-print-inferior-events.c: New file.
8466 * gdb.base/fork-print-inferior-events.exp: New file.
8467 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
8468 '[Inferior ... has been killed]' message.
8469 * gdb.base/kill-after-signal.exp: Likewise.
8470 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
8471 detach message.
8472 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
8473 message.
8474 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
8475 regexps to expect for '[Inferior ... detached]' as well.
8476 * gdb.threads/process-dies-while-detaching.exp: Likewise.
8477
0a8ddac4
SM
84782018-04-24 Simon Marchi <simon.marchi@ericsson.com>
8479
8480 PR gdb/23104
8481 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
8482
701adfb0
PA
84832018-04-22 Rajendra SY <rajendra.sy@gmail.com>
8484
8485 PR gdb/23095
8486 * gdb.base/break-probes.exp: Pass shlib_load to
8487 prepare_for_testing. Set normal_bp to r_debug_state if target is
8488 bsd.
8489
d27d16bf
RB
84902018-04-19 Richard Bunt <richard.bunt@arm.com>
8491
8492 * gdb.threads/multiple-successive-infcall.c: New test.
8493 * gdb.threads/multiple-successive-infcall.exp: New file.
8494
a037790e
TT
84952018-04-17 Tom Tromey <tom@tromey.com>
8496
8497 * gdb.rust/simple.rs (Union): New type.
8498 (main): New local "u".
8499 * gdb.rust/simple.exp (test_one_slice): Add new test case.
8500
e3a91079
AA
85012018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8502
8503 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
8504 number information in output of "whereis" command.
8505 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
8506
b744723f
AA
85072018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8508
8509 * gdb.ada/info_types.exp: Adjust expected output to the line
8510 numbers now printed by "info var/func/type".
8511 * gdb.base/completion.exp: Likewise.
8512 * gdb.base/included.exp: Likewise.
8513 * gdb.cp/cp-relocate.exp: Likewise.
8514 * gdb.cp/cplusfuncs.exp: Likewise.
8515 * gdb.cp/namespace.exp: Likewise.
8516 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
8517
4a4495d6
MM
85182018-04-13 Markus Metzger <markus.t.metzger@intel.com>
8519
8520 * gdb.btrace/cpu.exp: New.
8521
1d509aa6
MM
85222018-04-13 Markus Metzger <markus.t.metzger@intel.com>
8523
8524 * gdb.base/step-indirect-call-thunk.exp: New.
8525 * gdb.base/step-indirect-call-thunk.c: New.
8526 * gdb.reverse/step-indirect-call-thunk.exp: New.
8527 * gdb.reverse/step-indirect-call-thunk.c: New.
8528
6295b6da
SM
85292018-04-11 Simon Marchi <simon.marchi@ericsson.com>
8530
8531 * gdb.base/pie-fork.c: New file.
8532 * gdb.base/pie-fork.exp: New file.
8533
50146e70
TT
85342018-04-11 Tom Tromey <tom@tromey.com>
8535
8536 * gdb.rust/simple.exp: Add test for ".." struct initializer.
8537
f50d8a2e
PA
85382018-04-10 Pedro Alves <palves@redhat.com>
8539
8540 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
8541 exits. Instead loop running forever.
8542 (fork_parent): Run forever too.
8543
a0be7a36
SM
85442018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
8545
8546 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
8547 mi_continue_to_line.
8548 * gdb.mi/mi-stack.c (callee4): Add comment.
8549
9b73db36
SM
85502018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
8551
8552 * gdb.mi/mi-stack.exp: Fix indentation.
8553
c912f608
SM
85542018-04-07 Simon Marchi <simon.marchi@ericsson.com>
8555
8556 PR gdb/22979
8557 * gdb.arch/amd64-osabi.exp: New file.
8558
26540402
SM
85592018-04-07 Simon Marchi <simon.marchi@ericsson.com>
8560
8561 PR gdb/22980
8562 * gdb.base/osabi.exp: New file.
8563
121ad66c 85642018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
8565
8566 * gdb.cp/static-typedef-print.exp: New file.
8567 * gdb.cp/static-typedef-print.cc: New file.
8568
3fcded8f
JB
85692018-03-27 Joel Brobecker <brobecker@adacore.com>
8570
8571 * gdb.ada/varsize_limit: New testcase.
8572
59cc4834
JB
85732018-03-27 Joel Brobecker <brobecker@adacore.com>
8574
8575 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
8576
8577 * gdb.ada/notcplusplus: New testcase.
8578
8579 * gdb.base/c-linkage-name.c: New file.
8580 * gdb.base/c-linkage-name.exp: New testcase.
8581
4ca59a9f
TT
85822018-03-26 Tom Tromey <tom@tromey.com>
8583
8584 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
8585 * gdb.python/py-framefilter.py (name_error): New global.
8586 (ErrorInName.function): Use name_error.
8587
978d6c75
TT
85882018-03-26 Tom Tromey <tom@tromey.com>
8589
8590 PR backtrace/15582:
8591 * gdb.python/py-framefilter.exp: Add "bt hide" test.
8592
b7fee5a3
KS
85932018-03-23 Keith Seitz <keiths@redhat.com>
8594
8595 PR c++/22968
8596 * gdb.cp/subtypes.exp: New file.
8597 * gdb.cp/subtypes.h: New file.
8598 * gdb.cp/subtypes.cc: New file.
8599 * gdb.cp/subtypes-2.cc: New file.
8600
376be529
AB
86012018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
8602
8603 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
8604 (done): Call '_exit' not 'exit' to avoid atexit handlers.
8605 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
8606 -nostartfiles when compiling the test. Confirm that all registers
8607 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
8608
066cfa98
AB
86092018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
8610
8611 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
8612 option, syntax was wrong anyway.
8613 * gdb.arch/arm-disp-step.exp: Likewise.
8614 * gdb.arch/sparc64-regs.exp: Likewise.
8615 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
8616 option, syntax was wrong anyway, switch to use
8617 prepare_for_testing.
8618 * gdb.arch/i386-disp-step.exp: Likewise.
8619
079670b9
AA
86202018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
8621
8622 * gdb.ada/exec_changed.exp: Replace "target_info exists
8623 use_gdb_stub" by "use_gdb_stub".
8624 * gdb.ada/start.exp: Likewise.
8625 * gdb.base/async-shell.exp: Likewise.
8626 * gdb.base/attach-pie-misread.exp: Likewise.
8627 * gdb.base/attach-wait-input.exp: Likewise.
8628 * gdb.base/break-entry.exp: Likewise.
8629 * gdb.base/break-interp.exp: Likewise.
8630 * gdb.base/dprintf-detach.exp: Likewise.
8631 * gdb.base/nostdlib.exp: Likewise.
8632 * gdb.base/solib-nodir.exp: Likewise.
8633 * gdb.base/statistics.exp: Likewise.
8634 * gdb.base/testenv.exp: Likewise.
8635 * gdb.mi/mi-exec-run.exp: Likewise.
8636 * gdb.mi/mi-start.exp: Likewise.
8637 * gdb.multi/dummy-frame-restore.exp: Likewise.
8638 * gdb.multi/multi-arch-exec.exp: Likewise.
8639 * gdb.multi/multi-arch.exp: Likewise.
8640 * gdb.multi/tids.exp: Likewise.
8641 * gdb.multi/watchpoint-multi.exp: Likewise.
8642 * gdb.python/py-events.exp: Likewise.
8643 * gdb.threads/attach-into-signal.exp: Likewise.
8644 * gdb.threads/attach-stopped.exp: Likewise.
8645 * gdb.threads/threadapply.exp: Likewise.
8646 * lib/selftest-support.exp: Likewise.
8647
26d6cec4
AA
86482018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
8649
8650 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
8651
4ee89e90
SR
86522018-03-20 Stephen Roberts <stephen.roberts@arm.com>
8653
8654 * gdb.perf/template-breakpoints.cc: New file.
8655 * gdb.perf/template-breakpoints.exp: New file.
8656 * gdb.perf/template-breakpoints.py: New file.
8657
92630041
TT
86582018-03-19 Tom Tromey <tom@tromey.com>
8659
8660 * gdb.rust/simple.rs (main): Add local variables field1, field2,
8661 y0.
8662 * gdb.rust/simple.exp: Test bare identifier form of struct
8663 initializer.
8664
76727919
TT
86652018-03-19 Tom Tromey <tom@tromey.com>
8666
8667 * gdb.gdb/observer.exp: Remove.
8668
194ed413
AA
86692018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8670
8671 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
8672 "qualified" option when setting breakpoints.
8673 * gdb.trace/backtrace.exp: Likewise.
8674 * gdb.trace/circ.exp: Likewise.
8675 * gdb.trace/collection.exp: Likewise.
8676 * gdb.trace/disconnected-tracing.exp: Likewise.
8677 * gdb.trace/ftrace-lock.exp: Likewise.
8678 * gdb.trace/ftrace.exp: Likewise.
8679 * gdb.trace/infotrace.exp: Likewise.
8680 * gdb.trace/packetlen.exp: Likewise.
8681 * gdb.trace/passc-dyn.exp: Likewise.
8682 * gdb.trace/qtro.exp: Likewise.
8683 * gdb.trace/read-memory.exp: Likewise.
8684 * gdb.trace/report.exp: Likewise.
8685 * gdb.trace/signal.exp: Likewise.
8686 * gdb.trace/status-stop.exp: Likewise.
8687 * gdb.trace/strace.exp: Likewise.
8688 * gdb.trace/tfind.exp: Likewise.
8689 * gdb.trace/trace-break.exp: Likewise.
8690 * gdb.trace/trace-condition.exp: Likewise.
8691 * gdb.trace/trace-mt.exp: Likewise.
8692 * gdb.trace/tstatus.exp: Likewise.
8693 * gdb.trace/tsv.exp: Likewise.
8694 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
8695 * gdb.trace/unavailable.exp: Likewise.
8696 * gdb.trace/while-dyn.exp: Likewise.
8697
8b067d2c
AA
86982018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8699
8700 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
8701 that libinproctrace is copied to the target.
8702
3ae9ce5d
TT
87032018-03-14 Tom Tromey <tom@tromey.com>
8704
8705 PR cli/14977:
8706 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
8707 a null pointer.
8708 * gdb.base/wchar.exp: Likewise.
8709
b8c2339b
TT
87102018-03-14 Tom Tromey <tom@tromey.com>
8711
8712 PR cli/19918:
8713 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
8714 flag.
8715
4872dc46
SM
87162018-03-08 Simon Marchi <simon.marchi@ericsson.com>
8717
8718 PR gdb/22841
8719 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
8720 "target" to remote_exec.
8721
e4fe3756
SM
87222018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
8723
8724 PR gdb/22841
8725 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
8726 ${board}_upload): Remove.
8727
e95a97d4
AA
87282018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
8729
8730 * gdb.cp/watch-cp.cc: New test.
8731 * gdb.cp/watch-cp.exp: New file.
8732
dbbb1059
AB
87332018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8734
8735 * gdb.base/infcall-nested-structs.exp: New file.
8736 * gdb.base/infcall-nested-structs.c: New file.
8737 * gdb.base/float.exp: Add riscv support.
8738
ecc054c0
TP
87392018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
8740
8741 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
8742 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
8743
25e3c82c
SDJ
87442018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
8745
8746 * gdb.server/abspath.exp: New file.
8747 * lib/gdb.exp (with_cwd): New procedure.
8748
3083294d
SM
87492018-02-28 Simon Marchi <simon.marchi@ericsson.com>
8750
8751 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
8752 use it.
8753 (gdb_is_target_remote_prompt): New proc.
8754 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
8755 (gdb_is_target_native): Pass prompt parameter to
8756 gdb_is_target_1.
8757
3275ef47
SM
87582018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
8759
8760 * gdb.base/load-command.c: New file.
8761 * gdb.base/load-command.exp: New file.
8762 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
8763 (gdb_is_target_1): ...this, and generalize for other targets
8764 than just remote.
8765 (gdb_is_target_remote): Use gdb_is_target_1.
8766 (gdb_is_target_native): use gdb_is_target_1.
8767
6893c19a
TT
87682018-02-26 Tom Tromey <tom@tromey.com>
8769
8770 PR python/16497:
8771 * gdb.python/py-framefilter.exp: Update test.
8772
2ddeaf8a
TT
87732018-02-26 Tom Tromey <tom@tromey.com>
8774
8775 * gdb.dwarf2/variant.c: New file.
8776 * gdb.dwarf2/variant.exp: New file.
8777
c9317f21
TT
87782018-02-26 Tom Tromey <tom@tromey.com>
8779
8780 * gdb.rust/simple.exp: Accept more possible results in enum test.
8781
6f6d0c26
SM
87822018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
8783
8784 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
8785 parentheses.
8786
11b03145
MR
87872018-02-23 Maciej W. Rozycki <macro@mips.com>
8788
8789 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
8790 name of a variable: $actual_linejj -> $actual_line.
8791
54a27fe5
JB
87922018-02-21 John Baldwin <jhb@FreeBSD.org>
8793
8794 * gdb.arch/amd64-i386-address.exp: Fix a typo.
8795
de65820c
MM
87962018-02-20 Markus Metzger <markus.t.metzger@intel.com>
8797
8798 * gdb.btrace/buffer-size.exp: Do not force BTS.
8799
980548fd
PA
88002018-02-14 Pedro Alves <palves@redhat.com>
8801
8802 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
8803 getting a "Quit".
8804
c4e12631
MM
88052018-02-09 Markus Metzger <markus.t.metzger@intel.com>
8806
8807 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
8808 Fix test name.
8809
c2e0e465
SM
88102018-02-07 Simon Marchi <simon.marchi@ericsson.com>
8811
8812 * gdb.cp/m-static.exp: Check type of optimized out static
8813 member.
8814
f7216783
AB
88152018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
8816
8817 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
8818 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
8819
0625771b
LS
88202018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
8821 Leszek Swirski <leszeks@google.com>
8822
8823 * gdb.python/py-prettyprint.c
8824 (struct to_string_returns_value_inner,
8825 struct to_string_returns_value_wrapper): New.
8826 (main): Add tsrvw variable.
8827 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
8828 ToStringReturnsValueWrapper): New classes.
8829 (register_pretty_printers): Register new pretty-printers.
8830 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
8831 recursive pretty printer.
8832 * gdb.python/py-mi.exp: Likewise.
8833
59498c30
LS
88342018-02-01 Leszek Swirski <leszeks@google.com>
8835
8836 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
8837 functions with the same name as an include file are parsed
8838 correctly.
8839
d4d38844
YQ
88402018-02-01 Yao Qi <yao.qi@linaro.org>
8841
8842 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
8843 "\[^\r\n\]*".
8844
07e5f5cf
NP
88452018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
8846
8847 * gdb.arch/powerpc-prologue-frame.s: New file.
8848 * gdb.arch/powerpc-prologue-frame.c: Likewise.
8849 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
8850
929b5ad4
JB
88512018-01-31 Joel Brobecker <brobecker@adacore.com>
8852
8853 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
8854
e671cd59
PA
88552018-01-30 Pedro Alves <palves@redhat.com>
8856
8857 PR gdb/13211
8858 * gdb.base/interrupt-daemon.c: New.
8859 * gdb.base/interrupt-daemon.exp: New.
8860 * gdb.multi/multi-term-settings.c: New.
8861 * gdb.multi/multi-term-settings.exp: New.
8862
fc413dc4
JB
88632018-01-30 Joel Brobecker <brobecker@adacore.com>
8864
8865 * gdb.base/break.exp: Save the location where the breakpoint
8866 on break.c:47 was actually inserted when debugging the version
8867 compiled at -O2 and use it in the expected output of the "info
8868 break" test performed soon after.
8869
5c319bb2
PA
88702018-01-22 Pedro Alves <palves@redhat.com>
8871 Sergio Durigan Junior <sergiodj@redhat.com>
8872
8873 * gdb.base/whatis.exp: Add tests for 'set print object on' +
8874 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
8875
a9e40818
JB
88762018-01-22 Joel Brobecker <brobecker@adacore.com>
8877
8878 * gdb.base/break-include.c, gdb.base/break-include.inc,
8879 gdb.base/break-include.exp: New files.
8880 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
8881 line number now being the actual line number where the breakpoint
8882 was inserted.
8883 * gdb.mi/mi-break.exp: Likewise.
8884 * gdb.mi/mi-reverse.exp: Likewise.
8885 * gdb.mi/mi-simplerun.exp: Ditto.
8886
e707fc44
AB
88872018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
8888
8889 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
8890 varobj.
8891 * gdb.mi/mi-var-create-rtti.exp: Likewise.
8892
ae451627
AB
88932018-01-21 Don Breazeal <donb@codesourcery.com>
8894 Andrew Burgess <andrew.burgess@embecosm.com>
8895
8896 * gdb.mi/basics.c: Add new global.
8897 * gdb.mi/mi-frame-regs.exp: New file.
8898 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
8899 case.
8900
b1b189e0
AB
89012018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
8902
8903 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
8904 non-parameter, and on an unknown symbol.
8905
fcfcc376
TT
89062018-01-19 Tom Tromey <tom@tromey.com>
8907
8908 * gdb.rust/modules.rs (TWENTY_THREE): New global.
8909 * gdb.rust/modules.exp: Add ::-qualified lookup test.
8910
634c1c31
AA
89112018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8912
8913 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
8914 setrlimit and chdir to int.
8915
d6ad07fd
AA
89162018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8917
8918 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
8919 function.
8920 (my_tend): Likewise.
8921 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
8922 rationale of avoiding FP- and vector instructions.
8923
adf8243b
RK
89242018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
8925
8926 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
8927 "info reg" with "\[ \t\]*".
8928 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
8929 "\[ \t\]+".
8930 * gdb.arch/s390-multiarch.exp: Ditto.
8931 * gdb.base/pc-fp.exp: Ditto.
8932 * gdb.reverse/i386-precsave.exp: Ditto.
8933 * gdb.reverse/i386-reverse.exp: Ditto.
8934 * gdb.reverse/i387-env-reverse.exp: Ditto.
8935 * gdb.reverse/i387-stack-reverse.exp: Ditto.
8936
dcc06925
AA
89372018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
8938
8939 * lib/gdb.exp (gdb_compile): Re-enable use of
8940 universal_compile_options for languages other than Rust.
8941
25d4fd80
AA
89422018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
8943
8944 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
8945
ee7f689e 89462018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
8947
8948 PR gdb/16577
8949 * gdb.base/solib-vanish.exp: New.
8950 * gdb.base/solib-vanish-main.c: New.
8951 * gdb.base/solib-vanish-lib1.c: New.
8952 * gdb.base/solib-vanish-lib2.c: New.
8953
d8447b6b
YQ
89542018-01-17 Yao Qi <yao.qi@linaro.org>
8955
8956 * gdb.compile/compile.exp: Match the address printed for
8957 frame in the output of command "bt".
8958
86d6a90c
TT
89592018-01-15 Tom Tromey <tom@tromey.com>
8960
8961 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
8962 compute sp_reg.
8963
cbcdb1aa
AB
89642018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
8965
8966 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
8967 to prepare.
8968 (prepare): Return 0 on error, 1 on success.
8969
eea61984
PA
89702018-01-12 Pedro Alves <palves@redhat.com>
8971
8972 * gdb.base/continue-after-aborted-step-over.c: New.
8973 * gdb.base/continue-after-aborted-step-over.exp: New.
8974
6181e9c2
SM
89752018-01-11 Simon Marchi <simon.marchi@ericsson.com>
8976
8977 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
8978 options when not creating an executable.
8979
3cada740
PA
89802018-01-11 Pedro Alves <palves@redhat.com>
8981
8982 PR remote/22597
8983 * gdb.server/stop-reply-no-thread.c: New file.
8984 * gdb.server/stop-reply-no-thread.exp: New file.
8985
c63d3e8d
PA
89862018-01-10 Pedro Alves <palves@redhat.com>
8987
8988 PR gdb/22670
8989 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
8990 functions too. Test setting breakpoints and printing C functions
8991 with no debug info too.
8992 * gdb.ada/bp_c_mixed_case/qux.c: New file.
8993
d4c2a405
PA
89942018-01-10 Pedro Alves <palves@redhat.com>
8995
8996 PR gdb/22670
8997 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
8998 a fail.
8999
8825213e
PA
90002018-01-10 Pedro Alves <palves@redhat.com>
9001
9002 PR gdb/22670
9003 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
9004
605fd3c6
YQ
90052018-01-08 Simon Marchi <simon.marchi@ericsson.com>
9006
9007 * gdb.server/unittest.exp: Match the output in non-development
9008 mode.
9009
1e5ded6c
YQ
90102018-01-08 Simon Marchi <simon.marchi@ericsson.com>
9011
9012 * gdb.gdb/unittest.exp: Match output in non-development mode.
9013
30066b0b
JB
90142018-01-08 Joel Brobecker <brobecker@adacore.com>
9015
9016 * gdb.ada/access_tagged_param.exp: Relax expected output
9017 for value of "ObjL" in "continue" to pck.inspect breakpoint
9018 test.
9019
04bafb1e
XR
90202018-01-08 Joel Brobecker <brobecker@adacore.com>
9021
9f86398b
JB
9022 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
9023 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 9024
e379cee6
PA
90252018-01-05 Pedro Alves <palves@redhat.com>
9026
9027 PR gdb/18653
9028 * gdb.base/libsegfault.exp: New.
9029
de63c46b
PA
90302018-01-05 Joel Brobecker <brobecker@adacore.com>
9031
9032 PR gdb/22670
9033 * gdb.ada/access_tagged_param.exp: New file.
9034 * gdb.ada/access_tagged_param/foo.adb: New file.
9035
f98fc17b
PA
90362018-01-05 Pedro Alves <palves@redhat.com>
9037
9038 PR gdb/22670
9039 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
9040 exercise lower case too, and to exercise both full matching and
9041 wild matching.
9042
342f8240
JB
90432018-01-05 Joel Brobecker <brobecker@adacore.com>
9044
9045 * gdb.ada/rename_subscript_param: New testcase.
9046
7150d33c
JG
90472018-01-05 Jerome Guitton <guitton@adacore.com>
9048
9049 * gdb.ada/arr_acc_idx_w_gap: New testcase.
9050
cc0e770c
JB
90512018-01-05 Joel Brobecker <brobecker@adacore.com>
9052
9053 * gdb.ada/convvar_comp: New testcase.
9054
672a41aa 90552018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
9056
9057 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
9058 (My_Table): New global variable.
9059 * testsuite/gdb.ada/array_char_idx.exp: Add test.
9060
7365ec2f
JB
90612018-01-04 Joel Brobecker <brobecker@adacore.com>
9062
9063 PR gdb/22670
9064 * gdb.ada/maint_with_ada: New testcase.
9065
289483b6
JB
90662018-01-04 Joel Brobecker <brobecker@adacore.com>
9067
9068 PR gdb/22670
9069 * gdb.ada/bp_c_mixed_case: New testcase.
9070
344420da
JB
90712018-01-04 Joel Brobecker <brobecker@adacore.com>
9072
9073 PR gdb/22670
9074 * gdb.ada/complete.exp: Add "complete break ada" test.
9075
66fc87a0
JB
90762018-01-04 Joel Brobecker <brobecker@adacore.com>
9077
9078 PR gdb/22670
9079 * gdb.ada/info_addr_mixed_case: New testcase.
9080
9f757bf7
XR
90812018-01-03 Xavier Roirand <roirand@adacore.com>
9082
9083 * gdb.ada/excep_handle.exp: New testcase.
9084 * gdb.ada/excep_handle/foo.adb: New file.
9085 * gdb.ada/excep_handle/pck.ads: New file.
9086
bd570f80
JB
90872018-01-03 Joel Brobecker <brobecker@adacore.com>
9088
9089 * gdb.base/step-line.c: Add extra empty line in copyright header.
9090 * gdb.base/step-line.inp: Likewise.
9091
9fe561ab
JB
90922018-01-02 Joel Brobecker <brobecker@adacore.com>
9093
9094 * gdb.ada/dyn_stride.exp: Add slice test.
9095
a405673c
JB
90962018-01-02 Joel Brobecker <brobecker@adacore.com>
9097
9098 * gdb.ada/dyn_stride: New testcase.
9099
cef0f868
SH
91002017-12-27 Stafford Horne <shorne@gmail.com>
9101
9102 * gdb.xml/extra-regs.xml: Add example foo reggroup.
9103 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
9104
b67d92b0
SH
91052017-12-27 Stafford Horne <shorne@gmail.com>
9106
9107 * gdb.base/reggroups.c: New file.
9108 * gdb.base/reggroups.exp: New file.
9109
eccab96d
JB
91102017-12-18 Joel Brobecker <brobecker@adacore.com>
9111
9112 * gdb.dwarf2/ada-valprint-error.c: New file.
9113 * gdb.dwarf2/ada-valprint-error.exp: New file.
9114
0e2da9f0
JB
91152017-12-18 Joel Brobecker <brobecker@adacore.com>
9116
9117 * gdb.ada/assign_arr: New testcase.
9118
cb923fcc
XR
91192017-12-18 Xavier Roirand <roirand@adacore.com>
9120
9121 * gdb.ada/funcall_ptr: New testcase.
9122
7c161838
SDJ
91232017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
9124
9125 PR cli/16224
9126 * gdb.base/ptype-offsets.cc: New file.
9127 * gdb.base/ptype-offsets.exp: New file.
9128
1af17fd9
YQ
91292017-12-15 Yao Qi <yao.qi@linaro.org>
9130
9131 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
9132 if XML is disabled.
9133
828d5846
XR
91342017-12-15 Xavier Roirand <roirand@adacore.com>
9135
9136 * gdb.ada/same_component_name: New testcase.
9137
79e8fcaa
JB
91382017-12-14 Joel Brobecker <brobecker@adacore.com>
9139
9140 * gdb.ada/str_binop_equal: New testcase.
9141
e05fa6f9
JB
91422017-12-14 Joel Brobecker <brobecker@adacore.com>
9143
9144 * gdb.ada/task_switch_in_core: New testcase.
9145
b89641ba
SM
91462017-12-13 Simon Marchi <simon.marchi@ericsson.com>
9147
9148 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
9149 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
9150 call test_bkpt_qualified.
9151 (test_bkpt_qualified): New proc.
9152
6892d2e4
PA
91532017-12-13 Pedro Alves <palves@redhat.com>
9154
9155 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
9156 Tighten regexp by matching with an anchor.
9157
a22ecf70
PA
91582017-12-13 Pedro Alves <palves@redhat.com>
9159
9160 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
9161 ("expression with namespace"): New set of tests.
9162 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
9163 (Nested::Test_NS::qux): New.
9164 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
9165 defaults to 'start_quote_char' and 'end_quote_char' parameters.
9166
9937536c
JB
91672017-12-13 Joel Brobecker <brobecker@adacore.com>
9168
9169 * gdb.base/server-del-break.c: New file.
9170 * gdb.base/server-del-break.exp: New file.
9171
fe49c6f5
SH
91722017-12-12 Stafford Horne <shorne@gmail.com>
9173
9174 * gdb.xml/tdesc-regs.exp: Add or1k support.
9175
c3d18620
SH
91762017-12-12 Stafford Horne <shorne@gmail.com>
9177
9178 * gdb.base/bp-permanent.c: Define nop of or1k.
9179
c5f9cfc8
JB
91802017-12-11 Joel Brobecker <brobecker@adacore.com>
9181
9182 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
9183 output with components being reordered.
9184
a9c135fc
JB
91852017-12-11 Joel Brobecker <brobecker@adacore.com>
9186
9187 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
9188 output with components being reordered.
9189
927aa2e7
JK
91902017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9191 Pedro Alves <palves@redhat.com>
9192
9193 * gdb.base/maint.exp (check for .gdb_index): Check also for
9194 .debug_names.
9195 * gdb.dlang/watch-loc.c (.debug_aranges): New.
9196 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
9197 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
9198 (.gdb_index used after symbol reloading): Support also .debug_names.
9199 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
9200
f17d9474
YQ
92012017-12-08 Yao Qi <yao.qi@linaro.org>
9202
9203 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
9204 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
9205
a0de8c21
YQ
92062017-12-08 Yao Qi <yao.qi@linaro.org>
9207
9208 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
9209 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
9210
a738ea1d
YQ
92112017-12-08 Yao Qi <yao.qi@linaro.org>
9212
9213 * gdb.arch/aarch64-tagged-pointer.c: New file.
9214 * gdb.arch/aarch64-tagged-pointer.exp: New file.
9215
1cd9a73b
SDJ
92162017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
9217
9218 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
9219 "int".
9220
fa6eb693
KS
92212017-12-07 Keith Seitz <keiths@redhat.com>
9222
9223 PR breakpoints/22569
9224 * gdb.linespec/ls-errs.exp: Change expected result of "break
9225 -source this file has spaces.c -line 3".
9226 Check that an explicit source file followed by whitespace is
9227 identified as an invalid explicit location.
9228
883fd55a
KS
92292017-12-07 Keith Seitz <keiths@redhat.com>
9230
9231 * gdb.cp/nested-types.cc: New file.
9232 * gdb.cp/nested-types.exp: New file.
9233 * lib/cp-support.exp: Load data-structures.exp library.
9234 (debug_cp_test_ptype_class): New global.
9235 (cp_ptype_class_verbose, next_line): New procedures.
9236 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
9237 Add and document new return value.
9238 Switch the list of lines to a queue.
9239 Add support for new `type' key for nested type definitions.
9240 Add debugging/troubleshooting messages.
9241 * lib/data-structures.exp: New file.
9242
ec72db3e
SM
92432017-12-07 Simon Marchi <simon.marchi@ericsson.com>
9244
9245 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
9246 with proc_with_prefix, don't use with_test_prefix.
9247
99598d71
TT
92482017-12-07 Tom Tromey <tom@tromey.com>
9249
9250 * gdb.base/break.exp: Add test for empty "commands".
9251
a8806230
YQ
92522017-12-07 Yao Qi <yao.qi@linaro.org>
9253
9254 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
9255 malloc and catch syscall.
9256
824cc835
PM
92572017-12-07 Phil Muldoon <pmuldoon@redhat.com>
9258
e79be6e5 9259 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
9260 tests for explicit locations.
9261
7cc244de
PA
92622017-12-06 Pedro Alves <palves@redhat.com>
9263
9264 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
9265 force-disabling XML descriptions.
9266
50a1fdd5
PA
92672017-12-04 Pedro Alves <palves@redhat.com>
9268
9269 PR gdb/22499
9270 * gdb.arch/amd64-disp-step-avx.S: New file.
9271 * gdb.arch/amd64-disp-step-avx.exp: New file.
9272
f0fb2488
PA
92732017-12-03 Pedro Alves <palves@redhat.com>
9274
9275 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
9276 and <string.h>.
9277 (parent_function): Print distinct messages when waitpid fails, or
9278 the child exits with a signal, or the child exits for an unhandled
9279 reason.
9280 * gdb.threads/process-dies-while-detaching.exp
9281 (detach_and_expect_exit): New 'inf_output_re' parameter and use
9282 it. Wait for both inferior output and GDB's prompt. Use an
9283 indirect spawn id list.
9284 (do_detach): New parameter 'child_exit'. Use it to compute
9285 expected inferior output.
9286 (test_detach, test_detach_watch, test_detach_killed_outside):
9287 Adjust to pass down the expected child exit kind.
9288
97cbe998
SDJ
92892017-12-01 Joel Brobecker <brobecker@adacore.com>
9290 Sergio Durigan Junior <sergiodj@redhat.com>
9291 Pedro Alves <palves@redhat.com>
9292
9293 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
9294
40fc416f
SDJ
92952017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
9296
9297 * gdb.base/relocate.exp: Add tests to guarantee that arguments
9298 to 'symbol-file' and 'add-symbol-file' can be
9299 position-independent.
9300
1cc75e92
YQ
93012017-12-01 Yao Qi <yao.qi@linaro.org>
9302
9303 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
9304 the URL in copyright header.
9305 * gdb.arch/aarch64-fp.exp: Likewise.
9306 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
9307 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
9308 * gdb.base/expand-psymtabs.exp: Likewise.
9309 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
9310 * gdb.fortran/common-block.exp: Likewise.
9311 * gdb.fortran/common-block.f90: Likewise.
9312 * gdb.fortran/logical.exp: Likewise.
9313 * gdb.fortran/vla-datatypes.f90: Likewise.
9314 * gdb.fortran/vla-sub.f90: Likewise.
9315
875fb7a7
JB
93162017-11-30 Joel Brobecker <brobecker@adacore.com>
9317
9318 * gdb.ada/repeat_dyn: New testcase.
9319
6f14765f
UW
93202017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
9321
9322 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
9323 Update for changed thread numbering.
9324 * gdb.cell/bt.exp: Update for changed GDB output.
9325
f1af7b94
SM
93262017-11-30 Simon Marchi <simon.marchi@ericsson.com>
9327
9328 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
9329 setting isremote by hand.
9330 * boards/dwarf4-gdb-index.exp: Likewise.
9331 * boards/fission.exp: Likewise.
9332 * boards/stabs.exp: Likewise.
9333
e3919f3e
PA
93342017-11-30 Pedro Alves <palves@redhat.com>
9335
9336 * gdb.linespec/cpls-ops.exp
9337 (check_explicit_skips_function_argument): Extract the underlying
9338 type of size_t instead of hardcoding it.
9339
bd69330d
PA
93402017-11-29 Pedro Alves <palves@redhat.com>
9341
9342 PR c++/19436
9343 * gdb.linespec/cpls-abi-tag.cc: New file.
9344 * gdb.linespec/cpls-abi-tag.exp: New file.
9345
a20714ff
PA
93462017-11-29 Pedro Alves <palves@redhat.com>
9347
9348 * gdb.base/langs.exp: Use -qualified.
9349 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
9350 it.
9351 * gdb.cp/namespace.exp: Use -qualified.
9352 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
9353 (overload-3, template-overload, template-ret-type, const-overload)
9354 (const-overload-quoted, anon-ns, ambiguous-prefix): New
9355 procedures.
9356 (test_driver): Call them.
9357 * gdb.cp/save-bp-qualified.cc: New.
9358 * gdb.cp/save-bp-qualified.exp: New.
9359 * gdb.linespec/explicit.exp: Test -qualified.
9360 * lib/completion-support.exp (completion::explicit_opts_list): Add
9361 "-qualified".
9362 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
9363
f6f1d339
PM
93642017-11-29 Phil Muldoon <pmuldoon@redhat.com>
9365
9366 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
9367
02ca603a
TT
93682017-11-29 Tom Tromey <tom@tromey.com>
9369
9370 * gdb.base/relocate.exp: Update invalid argument test.
9371 Add new tests for invalid arguments.
9372
ed6c0bfb
TP
93732017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
9374
9375 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
9376 Return 0 as a long.
9377 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
9378
f106e10e
TP
93792017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
9380
9381 * gdb.cp/breakpoint.cc (bar): Set return type to void.
9382 * gdb.cp/psymtab-parameter.cc (func): Likewise.
9383 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
9384 func ().
9385 * gdb.cp/shadow.cc (B.func): Return 0.
9386
10329bb2
JB
93872017-11-27 Joel Brobecker <brobecker@adacore.com>
9388
9389 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
9390 expected output in gdb_expect call to allow the exception
9391 message to be present as well. Fix syntax confusion to avoid
9392 TCL thinking that exception_name is an array.
9393
617cd4bc
UW
93942017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
9395
9396 * gdb.arch/spu-info.c: Include <unistd.h>.
9397 (do_signal_test): Fix broken calls to write.
9398 * gdb.arch/spu-info.exp: Use prepare_for_testing.
9399 Fix checks for empty mailboxes. Update signal tests for corrected
9400 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
9401 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
9402 * gdb.cell/arch.exp: Use standard_output_file.
9403 * gdb.cell/break.exp: Likewise.
9404 * gdb.cell/bt.exp: Likewise.
9405 * gdb.cell/core.exp: Likewise.
9406 * gdb.cell/dwarfaddr.exp: Likewise.
9407 * gdb.cell/ea-cache.exp: Likewise.
9408 * gdb.cell/ea-standalone.exp: Likewise.
9409 * gdb.cell/f-regs.exp: Likewise.
9410 * gdb.cell/fork.exp: Likewise.
9411 * gdb.cell/gcore.exp: Likewise.
9412 * gdb.cell/mem-access.exp: Likewise.
9413 * gdb.cell/ptype.exp: Likewise.
9414 * gdb.cell/registers.exp: Likewise.
9415 * gdb.cell/sizeof.exp: Likewise.
9416 * gdb.cell/solib-symbol.exp: Likewise.
9417 * gdb.cell/solib.exp: Likewise.
617cd4bc 9418
a81aaca0
PA
94192017-11-25 Pedro Alves <palves@redhat.com>
9420
9421 * gdb.base/complete-empty.exp: New file.
9422 * gdb.base/completion.exp: Adjust.
9423
6a3c6ee4
PA
94242017-11-25 Pedro Alves <palves@redhat.com>
9425
9426 * gdb.linespec/cpls-ops.cc: New file.
9427 * gdb.linespec/cpls-ops.exp: New file.
9428 * lib/completion-support.exp (test_complete_prefix_range_re): New,
9429 factored out from ...
9430 (test_complete_prefix_range): ... this.
9431
8955eb2d
PA
94322017-11-24 Pedro Alves <palves@redhat.com>
9433
9434 * gdb.linespec/cpcompletion.exp: New file.
9435 * gdb.linespec/cpls-hyphen.cc: New file.
9436 * gdb.linespec/cpls.cc: New file.
9437 * gdb.linespec/cpls2.cc: New file.
9438 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
9439 test to use test_gdb_complete_unique. Add label completion,
9440 keyword completion and explicit location completion tests.
9441 * lib/completion-support.exp: New file.
9442
e547c119
JB
94432017-11-24 Joel Brobecker <brobecker@adacore.com>
9444
9445 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
9446 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
9447 when hitting an exception catchpoint.
9448
7c3c1aa8
YQ
94492017-11-22 Yao Qi <yao.qi@linaro.org>
9450
9451 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
9452
41bd68f5
SM
94532017-11-22 Simon Marchi <simon.marchi@ericsson.com>
9454
9455 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
9456 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
9457 * gdb.dwarf2/info-locals-optimized-out.c: New file.
9458
1daad298
YQ
94592017-11-22 Yao Qi <yao.qi@linaro.org>
9460
9461 * gdb.base/info-os.exp: Pass pthreads.
9462 * gdb.multi/multi-attach.exp: Likewise.
9463
88465e87
YQ
94642017-11-22 Yao Qi <yao.qi@linaro.org>
9465
9466 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
9467 compiler.
9468
dc196b23
YQ
94692017-11-22 Yao Qi <yao.qi@linaro.org>
9470
9471 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
9472 * gdb.base/break-interp.exp: Likewise.
9473 * gdb.base/jit-attach-pie.exp: Likewise.
9474
2400729e
UW
94752017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
9476
9477 * gdb.base/float128.c (large128): New variable.
9478 * gdb.base/float128.exp: Add test to print largest __float128 value.
9479
7a26362d
UW
94802017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
9481
9482 * gdb.arch/vsx-regs.exp: Update register content checks.
9483
ed0f4273
UW
94842017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
9485
9486 * gdb.arch/ppc-longdouble.exp: New file.
9487 * gdb.arch/ppc-longdouble.c: Likewise.
9488
a25d69c6
PA
94892017-11-21 Pedro Alves <palves@redhat.com>
9490
9491 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
9492
73fcf641
PA
94932017-11-20 Pedro Alves <palves@redhat.com>
9494
9495 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
9496 (long_double_typedef): New typedefs.
9497 Use DEF on double and long double.
9498 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
9499 cases.
9500 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
9501 and 'long_double_ptr_same_size' locals. Use them to decide
9502 whether cast from array/function to float is valid/invalid.
9503
71a3c369
TT
95042017-11-17 Tom Tromey <tom@tromey.com>
9505
9506 * gdb.rust/traits.rs: New file.
9507 * gdb.rust/traits.exp: New file.
9508
ced9779b
JB
95092017-11-17 Joel Brobecker <brobecker@adacore.com>
9510
9511 * gdb.ada/minsyms: New testcase.
9512
a0922d80
PA
95132017-11-16 Pedro Alves <palves@redhat.com>
9514
9515 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
9516 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
9517
ea04e54c
PA
95182017-11-16 Pedro Alves <palves@redhat.com>
9519
9520 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
9521 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
9522
e849ea89
PA
95232017-11-16 Pedro Alves <palves@redhat.com>
9524
9525 * gdb.server/reconnect-ctrl-c.c: New file.
9526 * gdb.server/reconnect-ctrl-c.exp: New file.
9527
d8ae99a7
PM
95282017-11-16 Phil Muldoon <pmuldoon@redhat.com>
9529
9530 * gdb.python/py-rbreak.exp: New file.
9531 * gdb.python/py-rbreak.c: New file.
9532 * gdb.python/py-rbreak-func2.c: New file.
9533
968a13f8
PA
95342017-11-16 Pedro Alves <palves@redhat.com>
9535
9536 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
9537 pattern.
9538 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
9539 GDB.
9540
71774bc9
SM
95412017-11-15 Simon Marchi <simon.marchi@ericsson.com>
9542
9543 * gdb.tui/completionn.exp (test_tab_completion): Add space in
9544 regex.
9545
ddbb44cf
SM
95462017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
9547
9548 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
9549 test names.
9550
584a564f
PA
95512017-11-09 Pedro Alves <palves@redhat.com>
9552
9553 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
9554 factored out from ...
9555 (top level): ... here, and adjusted to avoid expecting beyond the
9556 prompt in a single gdb_test_multiple.
9557
5ed7a928
PA
95582017-11-09 Pedro Alves <palves@redhat.com>
9559
9560 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
9561 output.
9562 * gdb.server/ext-attach.exp ("kill" test): Likewise.
9563 * gdb.server/ext-restart.exp ("kill" test): Likewise.
9564 * gdb.server/ext-run.exp ("kill" test): Likewise.
9565 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
9566
a60e0738
PA
95672017-11-09 Pedro Alves <palves@redhat.com>
9568
9569 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
9570 match till end of line.
9571
2c88253f
PA
95722017-11-09 Pedro Alves <palves@redhat.com>
9573
9574 * gdb.base/memattr.exp: Tighten regexes to match the end line.
9575
c7a38517
PA
95762017-11-09 Pedro Alves <palves@redhat.com>
9577
9578 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
9579 New procedures, factored out from ...
9580 (top level): ... here, and adjusted to avoid expecting beyond the
9581 prompt in one go.
9582
f29f4b6b
PA
95832017-11-09 Pedro Alves <palves@redhat.com>
9584
9585 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
9586 output. Fix '?' match.
9587
286acbb5
JB
95882017-11-08 Joel Brobecker <brobecker@adacore.com>
9589
9590 * gdb.ada/scoped_watch: New testcase.
9591 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
9592 which is actually correct.
9593 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
9594 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
9595
62d7ae92
PA
95962017-11-08 Pedro Alves <palves@redhat.com>
9597
9598 * gdb.gdb/complaints.exp (test_initial_complaints)
9599 (test_serial_complaints, test_short_complaints): Call
9600 complaint_internal instead of complaint.
9601
280ca31f
DT
96022017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
9603
9604 * gdb.threads/tls-core.c: New file.
9605 * gdb.threads/tls-core.exp: Likewise.
9606
b5ec771e
PA
96072017-11-08 Pedro Alves <palves@redhat.com>
9608
9609 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
9610 (p Exported_Capitalized): New test.
9611 (p exported_capitalized): New test.
9612
a02b41a7
PA
96132017-11-07 Pedro Alves <palves@redhat.com>
9614
9615 * gdb.cp/ena-dis-br-range.exp: Add more tests.
9616
95e95a6d
PA
96172017-11-07 Pedro Alves <palves@redhat.com>
9618
9619 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
9620 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
9621 (disable_invalid, disable_inverted, disable_negative): New
9622 procedures.
9623 ("bad numbers"): New set of tests.
9624
cee62dbd
PA
96252017-11-07 Pedro Alves <palves@redhat.com>
9626
9627 * gdb.cp/ena-dis-br-range.exp: Add tests.
9628
cc638e86
PA
96292017-11-07 Pedro Alves <palves@redhat.com>
9630
9631 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
9632
d0fe4701
XR
96332017-11-07 Xavier Roirand <roirand@adacore.com>
9634 Pedro Alves <palves@redhat.com>
9635
9636 * gdb.base/ena-dis-br.exp: Add reference to
9637 gdb.cp/ena-dis-br-range.exp.
9638 * gdb.cp/ena-dis-br-range.exp: New file.
9639 * gdb.cp/ena-dis-br-range.cc: New file.
9640
46f67f80
PA
96412017-11-06 Pedro Alves <palves@redhat.com>
9642
9643 * gdb.base/attach-non-pgrp-leader.c: New.
9644 * gdb.base/attach-non-pgrp-leader.exp: New.
9645
726e1356
PA
96462017-11-06 Pedro Alves <palves@redhat.com>
9647
9648 * configure.ac: No longer check for termio.h and sgtty.h.
9649 * configure: Regenerate.
9650 * remote-utils.c: Include termios.h instead of gdb_termios.h.
9651 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
9652 Remove termio and sgtty code.
9653
50ab6ace
YQ
96542017-11-03 Yao Qi <yao.qi@linaro.org>
9655
9656 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
9657 in GDB is disabled.
9658
8e68731c
YQ
96592017-11-03 Yao Qi <yao.qi@linaro.org>
9660
9661 * gdb.python/py-thrhandle.exp: Skip it if python is not
9662 enabled.
9663
3a87ae65
SM
96642017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
9665
9666 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
9667 as a breakpoint command.
9668
484d8d36
MD
96692017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
9670
9671 PR python/21213
9672 * gdb.python/py-infthread.exp: Test calling
9673 InferiorThread.inferior () multiple times in a row.
9674
4a27f119
KS
96752017-10-27 Keith Seitz <keiths@redhat.com>
9676
9677 * gdb.opt/inline-break.exp (break_info_1): New procedure.
9678 Test "info break" for every inlined function breakpoint.
9679
bb11dd58
YQ
96802017-10-27 Yao Qi <yao.qi@linaro.org>
9681
9682 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
9683
a43f3893
PF
96842017-10-26 Patrick Frants <osscontribute@gmail.com>
9685
9686 * gdb.cp/classes.exp (test_static_members): Test printing
9687 Outer::instance.
9688 * gdb.cp/classes.c (struct Inner, struct Outer): New.
9689 (Inner::instance, Outer::instance): New.
9690
792ccf00
PA
96912017-10-24 Pedro Alves <palves@redhat.com>
9692
9693 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
9694 extra console" test in two stages.
9695
eb2bfbad
PA
96962017-10-24 Pedro Alves <palves@redhat.com>
9697
9698 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
9699
1f75a651
PA
97002017-10-24 Pedro Alves <palves@redhat.com>
9701
9702 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
9703 loop.
9704
779990d9
PA
97052017-10-24 Pedro Alves <palves@redhat.com>
9706
9707 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
9708 $attempt" and "stoppedtry $stoppedtry" test prefixes.
9709
ad9b8f5d
PA
97102017-10-24 Pedro Alves <palves@redhat.com>
9711
9712 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
9713 parameter and handle it. Don't output read value in test name.
9714
fee6da6e
PA
97152017-10-24 Pedro Alves <palves@redhat.com>
9716
9717 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
9718 custom test name.
9719
10389c2c
PA
97202017-10-24 Pedro Alves <palves@redhat.com>
9721
9722 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
9723 include the unstable output directory name in the test's name.
9724 (initial_setup_simple) <'set args'>: Use custom test name.
9725
a80e65a9
PA
97262017-10-24 Pedro Alves <palves@redhat.com>
9727
9728 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
9729 with explicit test name.
9730
15763a09
PA
97312017-10-20 Pedro Alves <palves@redhat.com>
9732
9733 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
9734 'wait -i'. Use gdb_assert and remote_close.
9735
49a4ce2e
AB
97362017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
9737
9738 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
9739 number from variable rather than hard-coded.
9740
a75868f5
PA
97412017-10-19 Pedro Alves <palves@redhat.com>
9742
9743 * gdb.base/long-inferior-output.c: New file.
9744 * gdb.base/long-inferior-output.exp: New file.
9745
c8ba13ad
KS
97462017-11-18 Keith Seitz <keiths@redhat.com>
9747
9748 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
9749 method.
9750 (main): Call it.
9751 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
9752 Add additional user-defined conversion operator tests.
9753
b27de576
PA
97542017-10-17 Pedro Alves <palves@redhat.com>
9755
9756 * boards/native-stdio-gdbserver.exp: Load "local-board".
9757
8484c955
PA
97582017-10-17 Pedro Alves <palves@redhat.com>
9759
9760 * gdb.base/quit-live.c: New file.
9761 * gdb.base/quit-live.exp: New file.
9762
83d5a34d
KS
97632017-10-16 Keith Seitz <keiths@redhat.com>
9764
9765 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
9766 (class_with_protected_typedef, class_with_private_typedef)
9767 (struct_with_public_typedef, struct_with_protected_typedef)
9768 (struct_with_private_typedef): New classes/structs.
9769 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
9770 typedefs and access specifiers.
9771
739b3f1d
PA
97722017-10-16 Pedro Alves <palves@redhat.com>
9773 Simon Marchi <simon.marchi@polymtl.ca>
9774
9775 * README (Local vs Remote vs Native): New section.
9776 * boards/local-board.exp: New file, with bits factored out from
9777 ...
9778 * boards/native-extended-gdbserver.exp: ... here. Load
9779 "local-board".
9780 * boards/native-gdbserver.exp: Load "local-board".
9781 (${board}_spawn, ${board}_exec): Delete.
9782 * boards/native-stdio-gdbserver.exp: Most contents factored out to
9783 ...
9784 * boards/stdio-gdbserver-base.exp: ... this new file.
9785 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
9786 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
9787 procedure.
9788 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
9789 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
9790 stdio_gdbserver_command.
9791 (${board}_get_remote_address, ${board}_get_comm_port)
9792 (${board}_download, ${board}_upload): Delete.
9793 (get_target_remote_pipe_cmd): New.
9794
fe68b953
SM
97952017-10-16 Simon Marchi <simon.marchi@ericsson.com>
9796
9797 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
9798 test_bkpt_deletion, test_bkpt_cond_and_cmds,
9799 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
9800 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
9801 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
9802 remove with_test_prefix.
9803
300b6685
PA
98042017-10-13 Pedro Alves <palves@redhat.com>
9805
9806 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
9807 * gdb.base/annota1.exp: Use it instead of is_remote.
9808 * gdb.base/annota3.exp: Use it instead of is_remote.
9809 * gdb.cp/annota2.exp: Use it instead of is_remote.
9810 * gdb.cp/annota3.exp: Use it instead of is_remote.
9811 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
9812
50500caf
PA
98132017-10-13 Pedro Alves <palves@redhat.com>
9814
9815 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
9816 (test_num_test_vars, run_and_count_vars, find_env)
9817 (test_set_unset_env, test_inherit_env_var): New procedures.
9818 (top level): Use them.
9819
dad0c6d2
PA
98202017-10-13 Pedro Alves <palves@redhat.com>
9821
9822 * lib/selftest-support.exp (selftest_setup): Extend comments, and
9823 also skip on stub-like targets.
9824
8b0553c1
PA
98252017-10-13 Pedro Alves <palves@redhat.com>
9826
9827 PR gdb/22293
9828 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
9829 (top level): Move some tests to ...
9830 (test_not_found): ... this new procedure.
9831 (top level): Call it.
9832
7594f623
PA
98332017-10-13 Pedro Alves <palves@redhat.com>
9834
9835 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
9836 expect different "info terminal" output if testing with a
9837 non-native target.
9838
ebe3b402
PA
98392017-10-13 Pedro Alves <palves@redhat.com>
9840 Simon Marchi <simon.marchi@polymtl.ca>
9841
9842 PR python/12966
9843 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
9844
42f1b161
PA
98452017-10-13 Pedro Alves <palves@redhat.com>
9846
9847 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
9848 already.
9849
8d6ef72b
PA
98502017-10-13 Pedro Alves <palves@redhat.com>
9851
9852 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
9853 is_remote.
9854
d7bcd5b8
PA
98552017-10-13 Pedro Alves <palves@redhat.com>
9856
9857 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
9858 is_remote.
9859
df479dc6
PA
98602017-10-13 Pedro Alves <palves@redhat.com>
9861
9862 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
9863 is set.
9864 (corefile_test_attach): Likewise. Check can_spawn_for_attach
9865 instead of is_remote.
9866
23fb630a
PA
98672017-10-13 Pedro Alves <palves@redhat.com>
9868
9869 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
9870 (top level): Add comment.
9871
cc77b1dc
PA
98722017-10-13 Pedro Alves <palves@redhat.com>
9873
9874 * gdb.base/remote.exp (top level): Fix comment typo and add
9875 missing return.
9876
27c9e813
PA
98772017-10-13 Pedro Alves <palves@redhat.com>
9878 Simon Marchi <simon.marchi@polymtl.ca>
9879
9880 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
9881 calls and add comments. Skip test if use_gdb_stub is set.
9882 (top level): Use "set cwd" command instead of "cd" command.
9883
5e830d98
PA
98842017-10-13 Pedro Alves <palves@redhat.com>
9885
9886 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
9887 is_remote target check.
9888
f5ca0032
PA
98892017-10-13 Pedro Alves <palves@redhat.com>
9890
9891 * gdb.base/scope.exp: Use build_executable + clean_restart +
9892 gdb_file_cmd instead of prepare_for_testing and no longer skip
9893 "before run" tests on is_remote target boards. Update comments.
9894 * boards/native-extended-gdbserver.exp
9895 (extended_gdbserver_load_last_file): New, factored out from ...
9896 (gdb_load): ... this. Move further below and add comment.
9897 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
9898
8aed1c0d
PA
98992017-10-12 Pedro Alves <palves@redhat.com>
9900
9901 * gdb.base/attach.exp: Remove references to gdb64.
9902 * gdb.base/dbx.exp: Remove references to gdb64.
9903
cfa34c87
SM
99042017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
9905 Pedro Alves <palves@redhat.com>
9906
9907 * gdb.base/label.exp: Remove is_remote target check.
9908
9192b7de
PA
99092017-10-12 Pedro Alves <palves@redhat.com>
9910
9911 * gdb.base/auvx.exp (coredir): Update comment.
9912 (top level) <core_works>: Use "set cwd" command instead of "cd"
9913 command.
9914
6bf0052d
PA
99152017-10-12 Pedro Alves <palves@redhat.com>
9916 Simon Marchi <simon.marchi@polymtl.ca>
9917
9918 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
9919 target boards.
9920
e48ef82d
PA
99212017-10-12 Pedro Alves <palves@redhat.com>
9922 Simon Marchi <simon.marchi@polymtl.ca>
9923
9924 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
9925 Instead skip if there's any gdb_protocol set.
9926
8d7aea57
SM
99272017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
9928 Pedro Alves <palves@redhat.com>
9929
9930 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
9931
30440677
PA
99322017-10-12 Pedro Alves <palves@redhat.com>
9933 Simon Marchi <simon.marchi@polymtl.ca>
9934
9935 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
9936 instead of on dejagnu remote boards.
9937
4e04f045 99382017-10-12 Pedro Alves <palves@redhat.com>
175654b9 9939 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
9940
9941 * gdb.base/inferior-died.exp: Remove is_remote and isnative
9942 checks. Use build_executable + clean_restart instead of
9943 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
9944 of enabling non-stop after starting gdb.
9945
871a186e
PA
99462017-10-12 Pedro Alves <palves@redhat.com>
9947
9948 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
9949 * gdb.threads/non-ldr-exc-2.exp: Ditto.
9950 * gdb.threads/non-ldr-exc-3.exp: Ditto.
9951 * gdb.threads/non-ldr-exc-4.exp: Ditto.
9952
56d704da
AK
99532017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
9954
9955 * gdb.arch/arc-tdesc-cpu.exp: New file.
9956 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
9957
2f20e312
SM
99582017-10-10 Simon Marchi <simon.marchi@ericsson.com>
9959
9960 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
9961
65630365
PA
99622017-10-10 Pedro Alves <palves@redhat.com>
9963
9964 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
9965 expect CLI output.
9966
bf469271
PA
99672017-10-10 Pedro Alves <palves@redhat.com>
9968
9969 * lib/selftest-support.exp (selftest_setup): Update for
9970 captured_command_loop's prototype change.
9971
777a42f1
PA
99722017-10-09 Pedro Alves <palves@redhat.com>
9973
9974 Test both arch1=>arch2 and arch2=>arch1.
9975
9976 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
9977 (srcfile2, binfile2, march1, march2): Remove globals. Largely
9978 factored out to...
9979 (append_arch1_options, append_arch2_options, append_arch_options)
9980 (build_executables): New procedures.
9981 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
9982 local.
9983 (top level): Add new 'first_arch' testing axis.
9984
cbd2b4e3
PA
99852017-10-09 Pedro Alves <palves@redhat.com>
9986
9987 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
9988 (barrier): New.
9989 (thread_start, all_started): New functions.
9990 (main): Spawn new thread and wait until it is scheduled.
9991 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
9992 option.
9993 (do_test): Add 'selected_thread' parameter. Run to all_started
9994 instead of main. Explicitly set the breakpoint at main. Switch
9995 to the SELECTED_THREAD thread.
9996 (top level): Test handling the exec event with either the main
9997 thread or the second thread selected.
9998
5c9e4427
PA
99992017-10-09 Pedro Alves <palves@redhat.com>
10000
10001 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
10002 logic. Move STOP marker after the value checks.
10003 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
10004 regexp.
10005
b3b7c423
SL
100062017-10-06 Sandra Loosemore <sandra@codesourcery.com>
10007
10008 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
10009
3b4b2f16
UW
100102017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
10011
10012 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
10013 integer-to-dfp conversion.
10014 * gdb.base/dfp-test.exp: Likewise.
10015
5cd63fda
PA
100162017-10-04 Pedro Alves <palves@redhat.com>
10017
10018 * gdb.multi/hangout.c: Include <unistd.h>.
10019 (hangout_loop): New function.
10020 (main): Call alarm. Call hangout_loop in a loop.
10021 * gdb.multi/hello.c: Include <unistd.h>.
10022 (hello_loop): New function.
10023 (main): Call alarm. Call hangout_loop in a loop.
10024 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
10025 inferior with the other selected.
10026
4c71c105
SM
100272017-10-04 Simon Marchi <simon.marchi@ericsson.com>
10028
10029 * gdb.mi/list-thread-groups-available.exp: New file.
10030 * gdb.mi/list-thread-groups-available.c: New file.
10031
bc3b087d
SDJ
100322017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
10033
10034 * gdb.base/set-cwd.exp: Make it available on
10035 native-extended-gdbserver.
10036
d092c5a2
SDJ
100372017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
10038
10039 * gdb.base/set-cwd.c: New file.
10040 * gdb.base/set-cwd.exp: Likewise.
10041
45320ffa
TT
100422017-10-02 Tom Tromey <tom@tromey.com>
10043
10044 PR rust/22236:
10045 * gdb.rust/simple.rs (main): New variable "fslice".
10046 * gdb.rust/simple.exp: Add slice tests. Update string tests.
10047
b3e3859b
TT
100482017-10-02 Tom Tromey <tom@tromey.com>
10049
10050 * gdb.rust/simple.exp: Test ptype of a slice.
10051
01af5e0d
TT
100522017-10-02 Tom Tromey <tom@tromey.com>
10053
10054 * gdb.rust/simple.exp: Test index of slice.
10055
a9bbfbd8
TT
100562017-09-27 Tom Tromey <tom@tromey.com>
10057
10058 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
10059
df8899e5
TP
100602017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
10061 Pedro Alves <palves@redhat.com>
10062
10063 * gdb.base/compare-sections.exp (get value of read-only section): Read
10064 as unsigned value.
10065 (corrupt read-only section): Likewise and don't set written if patching
10066 failed.
10067
757bf54b
KB
100682017-09-21 Kevin Buettner <kevinb@redhat.com>
10069
10070 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
10071 files.
10072
06871ae8
PA
100732017-09-20 Pedro Alves <palves@redhat.com>
10074
10075 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
10076 symbol names in gdb's output.
10077 * gdb.cp/overload.exp ("list all overloads"): Likewise.
10078
e5f25bc5
PA
100792017-09-20 Pedro Alves <palves@redhat.com>
10080
10081 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
10082 Rename to ...
10083 (test_list_ambiguous_symbol): ... this and add a symbol name
10084 parameter. Adjust.
10085 (test_list_ambiguous_function): Reimplement on top of
10086 test_list_ambiguous_symbol and also test listing ambiguous
10087 variables.
10088 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
10089 (ambiguous_fun): ... this.
10090 (ambiguous_var): New.
10091 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
10092 (ambiguous_fun): ... this.
10093 (ambiguous_var): New.
10094
4e5a4f58
JB
100952017-09-19 John Baldwin <jhb@FreeBSD.org>
10096
10097 * gdb.base/starti.c: New file.
10098 * gdb.base/starti.exp: New file.
10099 * lib/gdb.exp (gdb_starti_cmd): New procedure.
10100
26e53f3e
PA
101012017-09-14 Pedro Alves <palves@redhat.com>
10102
10103 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
10104 (top level): Use it instead of runto.
10105
cb791d59
TT
101062017-09-11 Tom Tromey <tom@tromey.com>
10107
10108 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
10109
7c96f8c1
TT
101102017-09-11 Tom Tromey <tom@tromey.com>
10111
10112 * gdb.python/py-infthread.exp: Add tests for new_thread event.
10113 * gdb.python/py-inferior.exp: Add tests for new inferior events.
10114
469412dd
CW
101152017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
10116
10117 * gdb.fortran/printing-types.exp: New file.
10118 * gdb.fortran/printing-types.exp: New file.
10119
e0f86435
BH
101202017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
10121
10122 * gdb.fortran/vla-ptype.exp: Fix typos.
10123 * gdb.fortran/vla-value.exp: Same.
10124
9e9af4be
BH
101252017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
10126
10127 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
10128 * gdb.mi/mi-var-child-f.exp: Likewise.
10129 * gdb.mi/mi-vla-fortran.exp: Likewise.
10130
a5ad232b 101312017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
10132 Christoph Weinmann <christoph.t.weinmann@intel.com>
10133 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
10134
10135 * gdb.fortran/ptr-indentation.f90: New file.
10136 * gdb.fortran/ptr-indentation.exp: New file.
10137
5aec60eb
TT
101382017-09-05 Tom Tromey <tom@tromey.com>
10139
10140 PR gdb/22010:
10141 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
10142
8f8f8152
TP
101432017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
10144
10145 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
10146
fbd1b771
JK
101472017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10148
10149 * gdb.threads/tls-nodebug-pie.c: New file.
10150 * gdb.threads/tls-nodebug-pie.exp: New file.
10151
5eb5f850
TT
101522017-09-05 Tom Tromey <tom@tromey.com>
10153
10154 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
10155 for rust.
10156
ae780a21
SM
101572017-09-05 Simon Marchi <simon.marchi@ericsson.com>
10158
10159 * gdb.multi/multi-arch-exec.exp: Test with different
10160 "follow-exec-mode" settings.
10161 (do_test): New procedure.
10162
3693fdb3
PA
101632017-09-04 Pedro Alves <palves@redhat.com>
10164
10165 * gdb.base/func-static.c (S::method const, S::method volatile)
10166 (S::method volatile const): New methods.
10167 (c_s, v_s, cv_s): New instances.
10168 (main): Call method() on them.
10169 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
10170 (cannot_resolve): New procedure.
10171 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
10172 print-quote-unquoted columns.
10173 (do_test): Test printing each scope too.
10174
e68cb8e0
PA
101752017-09-04 Pedro Alves <palves@redhat.com>
10176
10177 * gdb.base/local-static.exp: Also test with
10178 class::method::variable wholly quoted.
10179 * gdb.cp/m-static.exp (class::method::variable): Remove test.
10180
858be34c
PA
101812017-09-04 Pedro Alves <palves@redhat.com>
10182
10183 * gdb.base/local-static.c: New.
10184 * gdb.base/local-static.cc: New.
10185 * gdb.base/local-static.exp: New.
10186
46a4882b
PA
101872017-09-04 Pedro Alves <palves@redhat.com>
10188
10189 * gdb.asm/asm-source.exp: Add casts to int.
10190 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
10191 (dataglobal64_1, dataglobal64_2): New globals.
10192 * gdb.base/nodebug.exp: Test different expressions involving the
10193 new globals, with print, whatis and ptype. Add casts to int.
10194 * gdb.base/solib-display.exp: Add casts to int.
10195 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
10196 * gdb.cp/m-static.exp: Add cast to int.
10197 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
10198 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
10199 tls variable with no debug info without a cast. Test with a cast
10200 to int too.
10201 * gdb.trace/entry-values.exp: Add casts.
10202
2c5a2be1
PA
102032017-09-04 Pedro Alves <palves@redhat.com>
10204
10205 * gdb.base/nodebug.exp: Test that ptype's error about functions
10206 with unknown return type includes the function name too.
10207
7022349d
PA
102082017-09-04 Pedro Alves <palves@redhat.com>
10209
10210 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
10211 return type of munmap in infcall.
10212 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
10213 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
10214 type of ftell in infcall.
10215 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
10216 type of getpid in infcall.
10217 * gdb.base/infcall-exec.exp: Cast return type of execlp in
10218 infcall.
10219 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
10220 Bail on failure to extract the pid.
10221 * gdb.base/nodebug.c: #include <stdint.h>.
10222 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
10223 New functions.
10224 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
10225 Change expected output of print/whatis/ptype with functions with
10226 no debug info. Test all supported languages. Call
10227 test_call_promotion.
10228 * gdb.compile/compile.exp: Adjust expected output to expect
10229 warning.
10230 * gdb.threads/siginfo-threads.exp: Likewise.
10231
54990598
PA
102322017-09-04 Pedro Alves <palves@redhat.com>
10233
10234 * gdb.base/callfuncs.exp (do_function_calls): New parameter
10235 "prototypes". Test calling float functions via prototyped and
10236 unprototyped function pointers.
10237 (perform_all_tests): New parameter "prototypes". Pass it down.
10238 (top level): Pass down "prototypes" parameter to
10239 perform_all_tests.
10240
34d16ea2
SM
102412017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10242
10243 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
10244 Test with nested loops.
10245
9521ecda
SM
102462017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10247
10248 * gdb.base/commands.exp: Call the new procedures.
10249 (loop_break_test, loop_continue_test): New procedures.
10250
80a65e9b
SM
102512017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10252
10253 * gdb.base/commands.exp: Call new procedure.
10254 (define_if_without_arg_test): New procedure.
10255
e439fa14
PA
102562017-09-04 Pedro Alves <palves@redhat.com>
10257
10258 * gdb.base/list-ambiguous.exp: New file.
10259 * gdb.base/list-ambiguous0.c: New file.
10260 * gdb.base/list-ambiguous1.c: New file.
10261 * gdb.base/list.exp (test_list_range): Adjust expected output.
10262
0a2dde4a
SDJ
102632017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
10264
10265 * gdb.base/share-env-with-gdbserver.c: New file.
10266 * gdb.base/share-env-with-gdbserver.exp: Likewise.
10267
5e89eb3a
SM
102682017-08-28 Simon Marchi <simon.marchi@ericsson.com>
10269
10270 * gdb.base/commands.exp (gdbvar_simple_if_test,
10271 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
10272 progvar_simple_if_test, progvar_simple_while_test,
10273 progvar_complex_if_while_test, user_defined_command_test,
10274 user_defined_command_args_eval,
10275 user_defined_command_args_stack_test,
10276 user_defined_command_manyargs_test, bp_deleted_in_command_test,
10277 temporary_breakpoint_commands,
10278 gdb_test_no_prompt, redefine_hook_test,
10279 redefine_backtrace_test): Remove "global gdb_prompt".
10280
fd437cbc
SM
102812017-08-28 Simon Marchi <simon.marchi@ericsson.com>
10282
10283 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
10284 New proc, call it from toplevel.
10285
87215ad1
SDJ
102862017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
10287
10288 PR remote/21852
10289 * gdb.server/normal.c: New file, copied from gdb.base.
10290 * gdb.server/run-without-local-binary.exp: New file.
10291
58afddc6
WP
102922017-08-07 Weimin Pan <weimin.pan@oracle.com>
10293
10294 * gdb.arch/sparc64-adi.exp: New file.
10295 * gdb.arch/sparc64-adi.c: New file.
10296
5277199a
PA
102972017-08-22 Pedro Alves <palves@redhat.com>
10298
10299 * gdb.cp/overload.exp (line_range_pattern): New procedure.
10300 (top level): Add "list all overloads" tests.
10301
14278e1f
TT
103022017-08-22 Tom Tromey <tom@tromey.com>
10303
10304 * gdb.gdb/xfullpath.exp: Remove.
10305
bf223d3e
PA
103062017-08-21 Pedro Alves <palves@redhat.com>
10307
10308 PR gdb/19487
10309 * gdb.base/symbol-alias.c: New.
10310 * gdb.base/symbol-alias2.c: New.
10311 * gdb.base/symbol-alias.exp: New.
10312
c973d0aa
PA
103132017-08-21 Pedro Alves <palves@redhat.com>
10314
10315 * gdb.base/dfp-test.c
10316 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
10317 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
10318 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
10319 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
10320 * gdb.base/whatis-ptype-typedefs.c: New.
10321 * gdb.base/whatis-ptype-typedefs.exp: New.
10322 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
10323 (an_int, an_int_type, an_int_type2): New globals.
10324 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
10325 involving typedefs and cast expressions.
10326 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
10327 (lookup_typedefs_function): New.
10328 (typedefs_pretty_printers_dict): New.
10329 (top level): Register lookup_typedefs_function in
10330 gdb.pretty_printers.
10331
6d580b63
YQ
103322017-08-18 Yao Qi <yao.qi@linaro.org>
10333
10334 * gdb.server/unittest.exp: New.
10335
206726fb
SDJ
103362017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
10337
10338 PR gdb/21954
10339 * gdb.base/environ.exp: Add test to check if 'unset environment'
10340 works.
10341
bf0ec4c2
AA
103422017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10343
10344 * lib/gdb.exp (universal_compile_options): New caching proc.
10345 (gdb_compile): Suppress GCC's coloring of messages.
10346
d6382fff
TT
103472017-08-14 Tom Tromey <tom@tromey.com>
10348
10349 PR gdb/21675:
10350 * gdb.base/printcmds.exp (test_radices): New function.
10351 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
10352 * gdb.base/sizeof.exp (check_valueof): Use p/d.
10353 * lib/gdb.exp (get_integer_valueof): Use p/d.
10354
c2c2dd9f
SM
103552017-08-12 Simon Marchi <simon.marchi@ericsson.com>
10356
10357 * lib/gdb.exp (get_valueof): Don't capture end-of-line
10358 characters.
10359
fdffd6f4
TT
103602017-08-05 Tom Tromey <tom@tromey.com>
10361
10362 * gdb.rust/simple.exp: Allow String to appear in a different
10363 namespace.
10364
27d41eac
YQ
103652017-07-26 Yao Qi <yao.qi@linaro.org>
10366
10367 * gdb.gdb/unittest.exp: Invoke command
10368 "maintenance check xml-descriptions".
10369
031ed05d
AA
103702017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10371
10372 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
10373 calling context.
10374 (hex128): Drop erroneous calculation of parameters.
10375
dcd27ddf
SM
103762017-07-22 Simon Marchi <simon.marchi@ericsson.com>
10377
10378 * gdb.python/py-unwind.exp: Disable stack protection when
10379 building test file.
10380
47e77640
PA
103812017-07-20 Pedro Alves <palves@redhat.com>
10382
10383 * gdb.base/default.exp (set language): Adjust expected output.
10384
62d2a18a
PA
103852017-07-20 Pedro Alves <palves@redhat.com>
10386
10387 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
10388 (test_minsym): ... this, and make static.
10389 (get_pck__foo__bar__minsym): Rename to ...
10390 (get_test_minsym): ... this.
10391 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
10392 symbol names and comments.
10393 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
10394 (get_test_minsym): ... this.
10395 (pck__foo__bar__minsym__2): Rename to ...
10396 (test_minsym): ... this.
10397 (main): Adjust.
10398
c45ec17c
PA
103992017-07-17 Pedro Alves <palves@redhat.com>
10400
10401 * gdb.base/completion.exp: Adjust expected output.
10402 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
10403 the completer works.
10404
c6756f62
PA
104052017-07-17 Pedro Alves <palves@redhat.com>
10406
10407 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
10408
5bd68487
AB
104092017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
10410
10411 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
10412
8880f2a9
TT
104132017-07-14 Tom Tromey <tom@tromey.com>
10414
10415 PR rust/21764:
10416 * gdb.rust/simple.exp: Add tests.
10417
65547233
TT
104182017-07-14 Tom Tromey <tom@tromey.com>
10419
10420 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
10421
8f14146e
PA
104222017-07-14 Pedro Alves <palves@redhat.com>
10423
10424 * gdb.linespec/base/one/thefile.cc (z1): New function.
10425 * gdb.linespec/base/two/thefile.cc (z2): New function.
10426 * gdb.linespec/linespec.exp: Add tests.
10427
b4365d02
AB
104282017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
10429
10430 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
10431 to mi_create_breakpoint.
10432
5d2cbaa5
AB
104332017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
10434
10435 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
10436 mi_create_breakpoint.
10437
11cb5716
IB
104382017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
10439
10440 * gdb.dlang/demangle.exp: Update for demangling changes.
10441
03278692
TT
104422017-07-09 Tom Tromey <tom@tromey.com>
10443
10444 * gdb.dwarf2/shortpiece.exp: New file.
10445
33c5cd75
DB
104462017-07-06 David Blaikie <dblaikie@gmail.com>
10447
10448 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
10449 built from fissiont-multi-cu{1,2}.c.
10450 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
10451 except putting 'main' and 'func' in separate CUs in the same DWO file.
10452 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
10453 test.
10454 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
10455 test.
10456
8455d262
PA
104572017-07-06 Pedro Alves <palves@redhat.com>
10458
10459 * gdb.python/py-unwind.exp: Test flushregs.
10460
dc4bde35
SDJ
104612017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
10462
10463 PR cli/21688
10464 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
10465 tests for alias commands and trailing whitespace.
10466
51ed89aa
SDJ
104672017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
10468
10469 PR cli/21688
10470 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
10471 procedure. Call it.
10472
eb17d413
PA
104732017-06-29 Pedro Alves <palves@redhat.com>
10474
10475 * gdb.base/printcmds.exp: Add tests.
10476
41664b45
DG
104772017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
10478
10479 PR gdb/21337
10480 * gdb.base/reread-readsym.exp: New file.
10481 * gdb.base/reread-readsym.c: New file.
10482
75312ae3
KB
104832017-06-21 Kevin Buettner <kevinb@redhat.com>
10484
10485 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
10486 subpattern.
10487
66953522
PB
104882017-06-19 Peter Bergner <bergner@vnet.ibm.com>
10489
10490 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
10491 extended mnemonic.
10492 * gdb.arch/powerpc-power9.s: Likewise.
10493
5524b525
AA
104942017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10495
10496 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
10497 on 32-bit x86 targets. Exploit is_*_target macros where
10498 appropriate.
10499
03c8af18
AA
105002017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10501
10502 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
10503 register pieces.
10504
3bf31011
AA
105052017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10506
10507 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
10508 located in one or more DWARF pieces.
10509
805acca0
AA
105102017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10511
10512 * lib/gdb.exp (get_endianness): New proc.
10513 * gdb.arch/aarch64-fp.exp: Use it.
10514 * gdb.arch/altivec-regs.exp: Likewise.
10515 * gdb.arch/e500-regs.exp: Likewise.
10516 * gdb.arch/vsx-regs.exp: Likewise.
10517 * gdb.base/dump.exp: Likewise.
10518 * gdb.base/funcargs.exp: Likewise.
10519 * gdb.base/gnu_vector.exp: Likewise.
10520 * gdb.dwarf2/formdata16.exp: Likewise.
10521 * gdb.dwarf2/implptrpiece.exp: Likewise.
10522 * gdb.dwarf2/nonvar-access.exp: Likewise.
10523 * gdb.python/py-inferior.exp: Likewise.
10524 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
10525
e9352324
AA
105262017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10527
10528 PR gdb/21226
10529 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
10530 stack value pieces are taken from the LSB end.
10531
d5d1163e
AA
105322017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10533
10534 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
10535 variable at nonzero offset.
10536
0567c986
AA
105372017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10538
10539 * gdb.dwarf2/var-access.c: New file.
10540 * gdb.dwarf2/var-access.exp: New test.
10541 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
10542
973e9aab
TT
105432017-06-12 Tom Tromey <tom@tromey.com>
10544
10545 * gdb.dwarf2/formdata16.exp: Add tests.
10546
d9109c80
TT
105472017-06-12 Tom Tromey <tom@tromey.com>
10548
10549 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
10550
30a25466
TT
105512017-06-12 Tom Tromey <tom@tromey.com>
10552
10553 PR exp/16225:
10554 * gdb.reverse/i386-sse-reverse.exp: Update tests.
10555 * gdb.arch/vsx-regs.exp: Update tests.
10556 * gdb.arch/s390-vregs.exp (hex128): New proc.
10557 Update test.
10558 * gdb.arch/altivec-regs.exp: Update tests.
10559
aefd8b33
SDJ
105602017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
10561
10562 * gdb.base/startup-with-shell.c: New file.
10563 * gdb.base/startup-with-shell.exp: Likewise.
10564
2090129c
SDJ
105652017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
10566
10567 * gdb.server/non-existing-program.exp: Update regex in order to
10568 reflect the fact that gdbserver is now using fork_inferior (with a
10569 shell) to startup the inferior.
10570
8e86a419
SM
105712017-05-30 Simon Marchi <simon.marchi@ericsson.com>
10572
10573 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
10574 support function calls from GDB.
10575
e6cf65f2
TT
105762017-05-21 Tom Tromey <tom@tromey.com>
10577
10578 PR rust/21466:
10579 * gdb.rust/unsized.exp: New file.
10580 * gdb.rust/unsized.rs: New file.
10581
43cc5389
TT
105822017-05-19 Tom Tromey <tom@tromey.com>
10583
10584 PR rust/21484:
10585 * gdb.rust/watch.exp: New file.
10586 * gdb.rust/watch.rs: New file.
10587
ec8df234
TT
105882017-05-18 Tom Tromey <tom@tromey.com>
10589
10590 * gdb.rust/simple.exp: Allow Box to be qualified.
10591
3e3e7fae
TP
105922017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
10593
10594 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
10595
59cc050d
PA
105962017-05-18 Pedro Alves <palves@redhat.com>
10597
10598 * gdb.base/fileio.c (test_write, test_read, test_close)
10599 (test_fstat): Don't print 'ret' in the fail path.
10600
c8f6abd1
PA
106012017-05-18 Pedro Alves <palves@redhat.com>
10602
10603 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
10604 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
10605 (test_system, test_rename, test_unlink, test_time): Change
10606 prototypes.
10607 * gdb.base/fileio.exp (stop_msg): Adjust.
10608
d2a03b77
PA
106092017-05-18 Pedro Alves <palves@redhat.com>
10610
10611 * gdb.base/fileio.c (null_str): New global.
10612 (test_stat): Use it.
10613 * gdb.base/fileio.exp: Remove nowarnings.
10614
0d5c6999
YQ
106152017-05-17 Yao Qi <yao.qi@linaro.org>
10616
10617 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
10618
21873064
YQ
106192017-05-17 Simon Marchi <simon.marchi@ericsson.com>
10620
10621 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
10622 argument command.
10623 (top-level): Invoke test_set_inferior_tty.
10624
d512d31c
PA
106252017-05-04 Pedro Alves <palves@redhat.com>
10626
10627 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
10628 Add parens to print call for Python 3.
10629
90cef2ed
KS
106302017-05-03 Keith Seitz <keiths@redhat.com>
10631
10632 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
10633 (main): Call it.
10634
14f819c8
TW
106352017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10636
10637 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
10638 to prev and next.
10639
913aeadd
TW
106402017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10641
10642 * gdb.python/py-record-btrace.exp: Remove test for
10643 gdb.BtraceInstruction.error.
10644
a3be24ad
TW
106452017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10646
10647 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
10648
ae20e79a
TW
106492017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10650
10651 * gdb.python/py-record-btrace-threads.c: New file.
10652 * gdb.python/py-record-btrace-threads.exp: New file.
10653
45ce1b47
SDJ
106542017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
10655
10656 PR testsuite/8595
10657 * gdb.base/environ.exp: Make test available in all architectures.
10658 Move bits related to "info program" testing to
10659 gdb.base/info-program.exp. Rewrite tests to use the two new
10660 procedures mentione below.
10661 (test_set_show_env_var) New procedure.
10662 (test_set_show_env_var_equal): Likewise.
10663 * gdb.base/info-program.exp: New file.
10664
e15c3eb4
KS
106652017-04-27 Keith Seitz <keiths@redhat.com>
10666
10667 * gdb.cp/oranking.cc (test15): New function.
10668 (main): Call test15 and declare additional variables for testing.
10669 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
10670 "p foo101('abc')" tests.
10671 Add tests for cv qualifier overloads.
10672 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
10673 "lvalue reference overload" test.
10674 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
10675 "print value of f1 on Child&& in f2" test.
10676
3a3fd0fd
PA
106772017-04-19 Pedro Alves <palves@redhat.com>
10678
10679 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
10680 procedure.
10681 (top level): Call it.
10682 * lib/gdb.exp (gdb_define_cmd): New procedure.
10683
53375380
PA
106842017-04-12 Pedro Alves <palves@redhat.com>
10685
10686 PR gdb/21323
10687 * gdb.cp/wide_char_types.c: Include <wchar.h>.
10688 (wchar): New global.
10689 * gdb.cp/wide_char_types.exp (wide_char_types_program)
10690 (do_test_wide_char, wide_char_types_no_program, top level): Add
10691 wchar_t testing.
10692
53e710ac
PA
106932017-04-12 Pedro Alves <palves@redhat.com>
10694
10695 PR c++/21323
10696 * gdb.cp/wide_char_types.c: New file.
10697 * gdb.cp/wide_char_types.exp: New file.
10698
0ad9d8c7
SDJ
106992017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
10700
10701 PR gdb/21352
10702 * gdb.trace/tsv.exp: Add test for "tsave -r".
10703
b1b45502
IB
107042017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
10705
10706 * gdb.dlang/watch-loc.c: New file.
10707 * gdb.dlang/watch-loc.exp: New file.
10708
ec13808e
JK
107092017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10710
10711 * gdb.python/py-section-script.exp (sepdebug): New testcases.
10712
fe5f7374
AK
107132017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
10714
10715 * gdb.arch/arc-analyze-prologue.S: New file.
10716 * gdb.arch/arc-analyze-prologue.exp: Likewise.
10717
eea78757
AK
107182017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
10719
10720 * gdb.arch/arc-decode-insn.S: New file.
10721 * gdb.arch/arc-decode-insn.exp: Likewise.
10722
5badf10a
IR
107232017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
10724
10725 PR tdep/20928
10726 * gdb.arch/sparc64-regs.exp: New file.
10727 * gdb.arch/sparc64-regs.S: Likewise.
10728
cee59b3f
TW
107292017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
10730
10731 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
10732 and memory view on Python 3.
10733
c0f55cc6
AV
107342017-03-20 Artemiy Volkov <artemiyv@acm.org>
10735 Keith Seitz <keiths@redhat.com>
10736
10737 PR gdb/14441
10738 * gdb.cp/demangle.exp: Add rvalue reference tests.
10739 * gdb.cp/rvalue-ref-casts.cc: New file.
10740 * gdb.cp/rvalue-ref-casts.exp: New file.
10741 * gdb.cp/rvalue-ref-overload.cc: New file.
10742 * gdb.cp/rvalue-ref-overload.exp: New file.
10743 * gdb.cp/rvalue-ref-params.cc: New file.
10744 * gdb.cp/rvalue-ref-params.exp: New file.
10745 * gdb.cp/rvalue-ref-sizeof.cc: New file.
10746 * gdb.cp/rvalue-ref-sizeof.exp: New file.
10747 * gdb.cp/rvalue-ref-types.cc: New file.
10748 * gdb.cp/rvalue-ref-types.exp: New file.
10749 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
10750 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
10751
51457a05
MAL
107522017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
10753
10754 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
10755 New procedure.
10756
5b291c04
MAL
107572017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
10758
10759 * lib/mi-support.exp (mi_gdb_test): Add additional message
10760 for unexpected output.
10761
59a56148
AA
107622017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10763
10764 * gdb.base/examine-backward.c (Barrier): New character array
10765 constant, to ensure that TestStrings is preceded by a string
10766 terminator.
10767
7942e96e
AA
107682017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10769
10770 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
10771 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
10772 and implicit pointer into such a location.
10773
6ebac3fb
DE
107742017-03-16 Doug Evans <dje@google.com>
10775
10776 * gdb.python/py-lazy-string (pointer): Really add new typedef.
10777
ec3b243d
TP
107782017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
10779
10780 * gdb.cp/m-static.exp: Fix expectation for prototype of
10781 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
10782
107832017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
10784
10785 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
10786 * gdb.guile/scm-lazy-string.c: New file.
10787 * gdb.guile/scm-value.exp: Move lazy string tests to ...
10788 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
10789 for pointer, array, typedef lazy strings.
10790
2cc36e25 107912017-03-16 Doug Evans <dje@google.com>
34b43320
DE
10792
10793 PR python/17728, python/18439, python/18779
10794 * gdb.python/py-value.c (main) Delete locals sptr, sn.
10795 * gdb.python/py-lazy-string.c (pointer): New typedef.
10796 (main): New locals ptr, array, typedef_ptr.
10797 * gdb.python/py-value.exp: Move lazy string tests to ...
10798 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
10799 array, typedef lazy strings.
ec3b243d 10800
0efcde63
AK
108012017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
10802
10803 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
10804 Add optional 'test' parameter.
10805
7978d7c3
SM
108062017-03-13 Simon Marchi <simon.marchi@ericsson.com>
10807
10808 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
10809 Skip for versions of DejaGnu < 1.5.
10810
896c0c1e
SM
108112017-03-13 Simon Marchi <simon.marchi@ericsson.com>
10812
10813 * lib/gdb.exp (dejagnu_version): New proc.
10814 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10815 Use dejagnu_version.
10816
5f4d1085
KS
108172017-03-10 Keith Seitz <keiths@redhat.com>
10818
10819 PR c++/8128
10820 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
10821 type from destructor regexps.
10822 Add a branch which actually passes the test.
10823 Adjust "ptype t5i" test names.
10824
1de05205
PA
108252017-03-08 Pedro Alves <palves@redhat.com>
10826
10827 * gdb.base/step-over-exit.exp: Add explicit test message.
10828
c65d6b55
PA
108292017-03-08 Pedro Alves <palves@redhat.com>
10830
10831 PR gdb/18360
10832 * gdb.threads/interrupt-while-step-over.c: New file.
10833 * gdb.threads/interrupt-while-step-over.exp: New file.
10834
2e86a283
PA
108352017-03-08 Pedro Alves <palves@redhat.com>
10836
10837 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
10838 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
10839
25dcbff6
PA
108402017-03-08 Pedro Alves <palves@redhat.com>
10841
10842 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
10843 PKRU as not supported as a PASS.
10844
dc9366eb
PA
108452017-03-08 Pedro Alves <palves@redhat.com>
10846
10847 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
10848 prefix instead of $binfile1/$binfile2.
10849 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
10850 in test message.
10851 * gdb.python/py-completion.exp: Use "load python file" as test
10852 messages instead of unstable path names.
10853
6e5d74e7
PA
108542017-03-08 Pedro Alves <palves@redhat.com>
10855 Jan Kratochvil <jan.kratochvil@redhat.com>
10856
10857 PR cli/21218
10858 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
10859 New proc.
10860 (top level): Call it.
10861
9753a2f6
PA
108622017-03-08 Pedro Alves <palves@redhat.com>
10863
10864 PR tui/21216
10865 * gdb.tui/tui-nl-filtered-output.exp: New file.
10866
1a4dd9dd
PA
108672017-03-08 Pedro Alves <palves@redhat.com>
10868
10869 * gdb.base/completion.exp: Move TUI completion tests to ...
10870 * gdb.tui/completion.exp: ... this new file.
10871
7cbbff33
PA
108722017-03-08 Pedro Alves <palves@redhat.com>
10873
10874 * gdb.base/tui-disasm-long-lines.c,
10875 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
10876 gdb.base/tui-layout.exp: Move to ...
10877 * gdb.tui/: ... this new directory.
10878
5f6fd321
PA
108792017-03-07 Pedro Alves <palves@redhat.com>
10880
10881 * gdb.base/tui-layout.c: New file.
10882 * gdb.base/tui-layout.exp: New file.
10883
44959fa8
PA
108842017-03-07 Pedro Alves <palves@redhat.com>
10885
10886 * gdb.base/tui-layout.c: Rename to ...
10887 * gdb.base/tui-disasm-long-lines.c: ... this.
10888 * gdb.base/tui-layout.exp: Rename to ...
10889 * gdb.base/tui-disasm-long-lines.exp: ... this.
10890
f8c4e718
PA
108912017-03-07 Pedro Alves <palves@redhat.com>
10892
10893 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
10894
6dbb839a 108952017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
10896
10897 * i386-mpx-call.c: New file.
10898 * i386-mpx-call.exp: New file.
10899
65b48a81
PB
109002017-02-28 Peter Bergner <bergner@vnet.ibm.com>
10901
10902 * gdb.arch/powerpc-power.exp: Delete test.
10903 * gdb.arch/powerpc-power.s: Likewise.
10904 * gdb.disasm/disassembler-options.exp: New test.
10905 * gdb.arch/powerpc-altivec.exp: Likewise.
10906 * gdb.arch/powerpc-altivec.s: Likewise.
10907 * gdb.arch/powerpc-altivec2.exp: Likewise.
10908 * gdb.arch/powerpc-altivec2.s: Likewise.
10909 * gdb.arch/powerpc-altivec3.exp: Likewise.
10910 * gdb.arch/powerpc-altivec3.s: Likewise.
10911 * gdb.arch/powerpc-power7.exp: Likewise.
10912 * gdb.arch/powerpc-power7.s: Likewise.
10913 * gdb.arch/powerpc-power8.exp: Likewise.
10914 * gdb.arch/powerpc-power8.s: Likewise.
10915 * gdb.arch/powerpc-power9.exp: Likewise.
10916 * gdb.arch/powerpc-power9.s: Likewise.
10917 * gdb.arch/powerpc-vsx.exp: Likewise.
10918 * gdb.arch/powerpc-vsx.s: Likewise.
10919 * gdb.arch/powerpc-vsx2.exp: Likewise.
10920 * gdb.arch/powerpc-vsx2.s: Likewise.
10921 * gdb.arch/powerpc-vsx3.exp: Likewise.
10922 * gdb.arch/powerpc-vsx3.s: Likewise.
10923 * gdb.arch/arm-disassembler-options.exp: Likewise.
10924 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
10925 * gdb.arch/s390-disassembler-options.exp: Likewise.
10926
17cd4947
LM
109272017-02-23 Luis Machado <lgustavo@codesourcery.com>
10928
10929 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
10930 (check_supported_features): ... this. Changed return type to void.
10931 (supports_rdseed): New static global.
10932 (rdseed): Check supports_rdseed.
10933 (initialize): Call check_supported_features.
10934
2039d74e
EBM
109352017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10936
10937 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
10938 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
10939 and lqarx/stqcx.
10940 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
10941 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
10942
a51d7ecf
EBM
109432017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10944
10945 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
10946 uppercase.
10947
0224619f
JK
109482017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10949
10950 * gdb.dwarf2/formdata16.c: New file.
10951 * gdb.dwarf2/formdata16.exp: New file.
10952 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
10953
216f72a1
JK
109542017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10955
10956 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
10957 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
10958 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
10959 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
10960 DW_AT_GNU_*.
10961
43988095
JK
109622017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10963
10964 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
10965
99e8a4f9
SDJ
109662017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
10967
10968 PR gdb/21164
10969 * gdb.base/maint.exp: Add testcases for when the commands do
10970 not have arguments.
10971
b58a8c0c
TP
109722017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
10973
10974 * gdb.cp/chained-calls.exp: Use p instead of P.
10975
4e746bb6
TW
109762017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
10977
10978 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
10979 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
10980
3f77c769
TT
109812017-02-14 Tom Tromey <tom@tromey.com>
10982
10983 PR python/13598:
10984 * gdb.python/py-events.exp: Add before_prompt event tests.
10985
075beec0
AA
109862017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10987
10988 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
10989
bf5f525c
LM
109902017-02-13 Luis Machado <lgustavo@codesourcery.com>
10991
10992 * gdb.linespec/explicit.c (my_unique_function_name): New function.
10993 (main): Call my_unique_function_name.
10994 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
10995 completion of patterns with a single match.
10996 Add missing -re switches to gdb_test_multiple calls.
10997
13a66184
LM
109982017-02-13 Luis Machado <lgustavo@codesourcery.com>
10999
11000 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
11001 return if core file is not recognized.
11002
26a06916
SM
110032017-02-10 Simon Marchi <simon.marchi@ericsson.com>
11004
11005 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
11006 and extra UIs.
11007
b761ca9e
SM
110082017-02-10 Simon Marchi <simon.marchi@ericsson.com>
11009
11010 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
11011 proc_with_prefix.
11012
b964bee0
TT
110132017-02-10 Tom Tromey <tom@tromey.com>
11014
11015 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
11016
18da0c51
MG
110172017-02-10 Martin Galvan <martingalvan@sourceware.org>
11018
11019 PR gdb/21122
11020 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
11021
604c4576
JG
110222017-02-08 Jerome Guitton <guitton@adacore.com>
11023
11024 * gdb.base/define.exp: Add test for command abbreviations
11025 in define.
11026
20b477a7
LM
110272017-02-06 Luis Machado <lgustavo@codesourcery.com>
11028
11029 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
11030 * gdb.reverse/insn-reverse-x86.c: New file.
11031
3f7b46f2
IR
110322017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
11033
11034 PR tdep/20936
11035 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
11036
f0fd41c1
TT
110372017-02-03 Tom Tromey <tom@tromey.com>
11038
11039 PR rust/21097:
11040 * gdb.rust/simple.exp: Add new tests.
11041
5be5dbf0
PA
110422017-02-02 Pedro Alves <palves@redhat.com>
11043
11044 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
11045 tests.
11046
7346ef59
AA
110472017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11048
11049 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
11050 taking a 2-byte value out of a 4-byte DWARF implicit value on
11051 big-endian targets.
11052 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
11053 logic. Add test cases for DW_OP_implicit.
11054
787f0025
MM
110552017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11056
11057 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
11058
68777c29
MM
110592017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11060
11061 * gdb.btrace/enable.exp: Call gdb_exit before
11062 skip_gdbserver_tests.
11063
0a1c7e28
MM
110642017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11065
11066 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
11067 GDBFLAGS.
11068
b5ac99b0
MM
110692017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11070
11071 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
11072 the test is skipped.
11073 * gdb.btrace/data.exp: Likewise.
11074 * gdb.btrace/delta.exp: Likewise.
11075 * gdb.btrace/dlopen.exp: Likewise.
11076 * gdb.btrace/enable-running.exp: Likewise.
11077 * gdb.btrace/enable.exp: Likewise.
11078 * gdb.btrace/exception.exp: Likewise.
11079 * gdb.btrace/function_call_history.exp: Likewise.
11080 * gdb.btrace/gcore.exp: Likewise.
11081 * gdb.btrace/instruction_history.exp: Likewise.
11082 * gdb.btrace/multi-thread-step.exp: Likewise.
11083 * gdb.btrace/nohist.exp: Likewise.
11084 * gdb.btrace/non-stop.exp: Likewise.
11085 * gdb.btrace/reconnect.exp: Likewise.
11086 * gdb.btrace/record_goto-step.exp: Likewise.
11087 * gdb.btrace/record_goto.exp: Likewise.
11088 * gdb.btrace/rn-dl-bind.exp: Likewise.
11089 * gdb.btrace/segv.exp: Likewise.
11090 * gdb.btrace/step.exp: Likewise.
11091 * gdb.btrace/stepi.exp: Likewise.
11092 * gdb.btrace/tailcall-only.exp: Likewise.
11093 * gdb.btrace/tailcall.exp: Likewise.
11094 * gdb.btrace/tsx.exp: Likewise.
11095 * gdb.btrace/unknown_functions.exp: Likewise.
11096 * gdb.btrace/vdso.exp: Likewise.
11097
cd4007e4
MM
110982017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11099
11100 * gdb.btrace/enable-running.c: New.
11101 * gdb.btrace/enable-running.exp: New.
11102
2735833d
WT
111032017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
11104
11105 * gdb.arch/amd64-gs_base.c: New file.
11106 * gdb.arch/amd64-gs_base.exp: New file.
11107
b51e1e94
LM
111082017-01-26 Luis Machado <lgustavo@codesourcery.com>
11109
11110 * lib/memory.exp: Remove spurious empty newlines.
11111
72ca0410
SM
111122017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
11113
11114 * gdb.python/py-bad-printers.exp: Load python file using "source".
11115 * gdb.python/py-events.exp: Likewise.
11116 * gdb.python/py-evsignal.exp: Likewise.
11117 * gdb.python/py-evthreads.exp: Likewise.
11118 * gdb.python/py-frame-args.exp: Likewise.
11119 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
11120 * gdb.python/py-framefilter-mi.exp: Likewise.
11121 * gdb.python/py-framefilter.exp: Likewise.
11122 * gdb.python/py-mi.exp: Likewise.
11123 * gdb.python/py-pp-maint.exp: Likewise.
11124 * gdb.python/py-pp-registration.exp: Likewise.
11125 * gdb.python/py-prettyprint.exp: Likewise.
11126 (run_lang_tests): Likewise.
11127 * gdb.python/py-typeprint.exp: Likewise.
11128
e309aa65
LM
111292017-01-26 Luis Machado <lgustavo@codesourcery.com>
11130
11131 * lib/memory.exp: New file.
11132 * lib/gdb.exp: Load memory.exp.
11133 * gdb.base/memattr.exp (delete_memory): Move proc to
11134 lib/memory.exp and rename to delete_memory_regions.
11135 Replace delete_memory with delete_memory_regions.
11136 Cleanup memory regions before tests.
11137 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
11138 before tests.
11139
515aff23
LM
111402017-01-26 Luis Machado <lgustavo@codesourcery.com>
11141
11142 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
11143 files.
11144 (initialize): New function conditionally defined.
11145 (testcases): Move within conditional block.
11146 (main): Call initialize.
11147 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
11148 of gdb.reverse/insn-reverse.c.
11149 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
11150 gdb.reverse/insn-reverse.c.
11151
d8b49cf0
YQ
111522017-01-26 Yao Qi <yao.qi@linaro.org>
11153
11154 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
11155 disassemble on address 0.
11156
f13a9a0c
YQ
111572017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
11158 Yao Qi <yao.qi@linaro.org>
11159
11160 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
11161 * gdb.dwarf2/implptr-64bit.S: Remove.
11162 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
11163 variables in caller's context. Add DW_OP_implicit_value.
11164
5ac95241
YQ
111652017-01-25 Yao Qi <yao.qi@linaro.org>
11166
11167 * lib/dwarf.exp (Dwarf::_location): Handle
11168 DW_OP_GNU_implicit_pointer with proper size.
11169
23e82930
LM
111702017-01-20 Luis Machado <lgustavo@codesourcery.com>
11171
11172 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
11173 and add untested calls.
11174
d334ae25
LM
111752017-01-20 Luis Machado <lgustavo@codesourcery.com>
11176
11177 * gdb.python/python.exp: Check line number against what GDB thinks
11178 the line number is for func1.
11179
f5e6296e
IB
111802017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
11181
11182 * gdb.dlang/debug-expr.exp: New file.
11183
5b362f04
LM
111842016-12-23 Luis Machado <lgustavo@codesourcery.com>
11185
11186 Fix test names for the following files:
11187
11188 * gdb.ada/exec_changed.exp
11189 * gdb.ada/info_types.exp
11190 * gdb.arch/aarch64-atomic-inst.exp
11191 * gdb.arch/aarch64-fp.exp
11192 * gdb.arch/altivec-abi.exp
11193 * gdb.arch/altivec-regs.exp
11194 * gdb.arch/amd64-byte.exp
11195 * gdb.arch/amd64-disp-step.exp
11196 * gdb.arch/amd64-dword.exp
11197 * gdb.arch/amd64-entry-value-inline.exp
11198 * gdb.arch/amd64-entry-value-param.exp
11199 * gdb.arch/amd64-entry-value-paramref.exp
11200 * gdb.arch/amd64-entry-value.exp
11201 * gdb.arch/amd64-i386-address.exp
11202 * gdb.arch/amd64-invalid-stack-middle.exp
11203 * gdb.arch/amd64-invalid-stack-top.exp
11204 * gdb.arch/amd64-optimout-repeat.exp
11205 * gdb.arch/amd64-prologue-skip.exp
11206 * gdb.arch/amd64-prologue-xmm.exp
11207 * gdb.arch/amd64-stap-special-operands.exp
11208 * gdb.arch/amd64-stap-wrong-subexp.exp
11209 * gdb.arch/amd64-tailcall-cxx.exp
11210 * gdb.arch/amd64-tailcall-noret.exp
11211 * gdb.arch/amd64-tailcall-ret.exp
11212 * gdb.arch/amd64-tailcall-self.exp
11213 * gdb.arch/amd64-word.exp
11214 * gdb.arch/arm-bl-branch-dest.exp
11215 * gdb.arch/arm-disp-step.exp
11216 * gdb.arch/arm-neon.exp
11217 * gdb.arch/arm-single-step-kernel-helper.exp
11218 * gdb.arch/avr-flash-qualifier.exp
11219 * gdb.arch/disp-step-insn-reloc.exp
11220 * gdb.arch/e500-abi.exp
11221 * gdb.arch/e500-regs.exp
11222 * gdb.arch/ftrace-insn-reloc.exp
11223 * gdb.arch/i386-avx512.exp
11224 * gdb.arch/i386-bp_permanent.exp
11225 * gdb.arch/i386-byte.exp
11226 * gdb.arch/i386-cfi-notcurrent.exp
11227 * gdb.arch/i386-disp-step.exp
11228 * gdb.arch/i386-dr3-watch.exp
11229 * gdb.arch/i386-float.exp
11230 * gdb.arch/i386-gnu-cfi.exp
11231 * gdb.arch/i386-mpx-map.exp
11232 * gdb.arch/i386-mpx-sigsegv.exp
11233 * gdb.arch/i386-mpx-simple_segv.exp
11234 * gdb.arch/i386-mpx.exp
11235 * gdb.arch/i386-permbkpt.exp
11236 * gdb.arch/i386-prologue.exp
11237 * gdb.arch/i386-signal.exp
11238 * gdb.arch/i386-size-overlap.exp
11239 * gdb.arch/i386-unwind.exp
11240 * gdb.arch/i386-word.exp
11241 * gdb.arch/mips-fcr.exp
11242 * gdb.arch/powerpc-d128-regs.exp
11243 * gdb.arch/powerpc-stackless.exp
11244 * gdb.arch/ppc64-atomic-inst.exp
11245 * gdb.arch/s390-stackless.exp
11246 * gdb.arch/s390-tdbregs.exp
11247 * gdb.arch/s390-vregs.exp
11248 * gdb.arch/sparc-sysstep.exp
11249 * gdb.arch/thumb-bx-pc.exp
11250 * gdb.arch/thumb-singlestep.exp
11251 * gdb.arch/thumb2-it.exp
11252 * gdb.arch/vsx-regs.exp
11253 * gdb.asm/asm-source.exp
11254 * gdb.base/a2-run.exp
11255 * gdb.base/advance.exp
11256 * gdb.base/all-bin.exp
11257 * gdb.base/anon.exp
11258 * gdb.base/args.exp
11259 * gdb.base/arithmet.exp
11260 * gdb.base/async-shell.exp
11261 * gdb.base/async.exp
11262 * gdb.base/attach-pie-noexec.exp
11263 * gdb.base/attach-twice.exp
11264 * gdb.base/auto-load.exp
11265 * gdb.base/bang.exp
11266 * gdb.base/bitfields.exp
11267 * gdb.base/break-always.exp
11268 * gdb.base/break-caller-line.exp
11269 * gdb.base/break-entry.exp
11270 * gdb.base/break-inline.exp
11271 * gdb.base/break-on-linker-gcd-function.exp
11272 * gdb.base/break-probes.exp
11273 * gdb.base/break.exp
11274 * gdb.base/breakpoint-shadow.exp
11275 * gdb.base/call-ar-st.exp
11276 * gdb.base/call-sc.exp
11277 * gdb.base/call-signal-resume.exp
11278 * gdb.base/call-strs.exp
11279 * gdb.base/callfuncs.exp
11280 * gdb.base/catch-fork-static.exp
11281 * gdb.base/catch-gdb-caused-signals.exp
11282 * gdb.base/catch-load.exp
11283 * gdb.base/catch-signal-fork.exp
11284 * gdb.base/catch-signal.exp
11285 * gdb.base/catch-syscall.exp
11286 * gdb.base/charset.exp
11287 * gdb.base/checkpoint.exp
11288 * gdb.base/chng-syms.exp
11289 * gdb.base/code-expr.exp
11290 * gdb.base/code_elim.exp
11291 * gdb.base/commands.exp
11292 * gdb.base/completion.exp
11293 * gdb.base/complex.exp
11294 * gdb.base/cond-expr.exp
11295 * gdb.base/condbreak.exp
11296 * gdb.base/consecutive.exp
11297 * gdb.base/continue-all-already-running.exp
11298 * gdb.base/coredump-filter.exp
11299 * gdb.base/corefile.exp
11300 * gdb.base/dbx.exp
11301 * gdb.base/debug-expr.exp
11302 * gdb.base/define.exp
11303 * gdb.base/del.exp
11304 * gdb.base/disabled-location.exp
11305 * gdb.base/disasm-end-cu.exp
11306 * gdb.base/disasm-optim.exp
11307 * gdb.base/display.exp
11308 * gdb.base/duplicate-bp.exp
11309 * gdb.base/ena-dis-br.exp
11310 * gdb.base/ending-run.exp
11311 * gdb.base/enumval.exp
11312 * gdb.base/environ.exp
11313 * gdb.base/eu-strip-infcall.exp
11314 * gdb.base/eval-avoid-side-effects.exp
11315 * gdb.base/eval-skip.exp
11316 * gdb.base/exitsignal.exp
11317 * gdb.base/expand-psymtabs.exp
11318 * gdb.base/filesym.exp
11319 * gdb.base/find-unmapped.exp
11320 * gdb.base/finish.exp
11321 * gdb.base/float.exp
11322 * gdb.base/foll-exec-mode.exp
11323 * gdb.base/foll-exec.exp
11324 * gdb.base/foll-fork.exp
11325 * gdb.base/fortran-sym-case.exp
11326 * gdb.base/freebpcmd.exp
11327 * gdb.base/func-ptr.exp
11328 * gdb.base/func-ptrs.exp
11329 * gdb.base/funcargs.exp
11330 * gdb.base/gcore-buffer-overflow.exp
11331 * gdb.base/gcore-relro-pie.exp
11332 * gdb.base/gcore-relro.exp
11333 * gdb.base/gcore.exp
11334 * gdb.base/gdb1090.exp
11335 * gdb.base/gdb11530.exp
11336 * gdb.base/gdb11531.exp
11337 * gdb.base/gdb1821.exp
11338 * gdb.base/gdbindex-stabs.exp
11339 * gdb.base/gdbvars.exp
11340 * gdb.base/hbreak.exp
11341 * gdb.base/hbreak2.exp
11342 * gdb.base/included.exp
11343 * gdb.base/infcall-input.exp
11344 * gdb.base/inferior-died.exp
11345 * gdb.base/infnan.exp
11346 * gdb.base/info-macros.exp
11347 * gdb.base/info-os.exp
11348 * gdb.base/info-proc.exp
11349 * gdb.base/info-shared.exp
11350 * gdb.base/info-target.exp
11351 * gdb.base/infoline.exp
11352 * gdb.base/interp.exp
11353 * gdb.base/interrupt.exp
11354 * gdb.base/jit-reader.exp
11355 * gdb.base/jit-simple.exp
11356 * gdb.base/kill-after-signal.exp
11357 * gdb.base/kill-detach-inferiors-cmd.exp
11358 * gdb.base/label.exp
11359 * gdb.base/langs.exp
11360 * gdb.base/ldbl_e308.exp
11361 * gdb.base/line-symtabs.exp
11362 * gdb.base/linespecs.exp
11363 * gdb.base/list.exp
11364 * gdb.base/long_long.exp
11365 * gdb.base/longest-types.exp
11366 * gdb.base/maint.exp
11367 * gdb.base/max-value-size.exp
11368 * gdb.base/memattr.exp
11369 * gdb.base/mips_pro.exp
11370 * gdb.base/morestack.exp
11371 * gdb.base/moribund-step.exp
11372 * gdb.base/multi-forks.exp
11373 * gdb.base/nested-addr.exp
11374 * gdb.base/nextoverexit.exp
11375 * gdb.base/noreturn-finish.exp
11376 * gdb.base/noreturn-return.exp
11377 * gdb.base/nostdlib.exp
11378 * gdb.base/offsets.exp
11379 * gdb.base/opaque.exp
11380 * gdb.base/pc-fp.exp
11381 * gdb.base/permissions.exp
11382 * gdb.base/print-symbol-loading.exp
11383 * gdb.base/prologue-include.exp
11384 * gdb.base/psymtab.exp
11385 * gdb.base/ptype.exp
11386 * gdb.base/random-signal.exp
11387 * gdb.base/randomize.exp
11388 * gdb.base/range-stepping.exp
11389 * gdb.base/readline-ask.exp
11390 * gdb.base/recpar.exp
11391 * gdb.base/recurse.exp
11392 * gdb.base/relational.exp
11393 * gdb.base/restore.exp
11394 * gdb.base/return-nodebug.exp
11395 * gdb.base/return.exp
11396 * gdb.base/run-after-attach.exp
11397 * gdb.base/save-bp.exp
11398 * gdb.base/scope.exp
11399 * gdb.base/sect-cmd.exp
11400 * gdb.base/set-lang-auto.exp
11401 * gdb.base/set-noassign.exp
11402 * gdb.base/setvar.exp
11403 * gdb.base/sigall.exp
11404 * gdb.base/sigbpt.exp
11405 * gdb.base/siginfo-addr.exp
11406 * gdb.base/siginfo-infcall.exp
11407 * gdb.base/siginfo-obj.exp
11408 * gdb.base/siginfo.exp
11409 * gdb.base/signals-state-child.exp
11410 * gdb.base/signest.exp
11411 * gdb.base/sigstep.exp
11412 * gdb.base/sizeof.exp
11413 * gdb.base/skip.exp
11414 * gdb.base/solib-corrupted.exp
11415 * gdb.base/solib-nodir.exp
11416 * gdb.base/solib-search.exp
11417 * gdb.base/stack-checking.exp
11418 * gdb.base/stale-infcall.exp
11419 * gdb.base/stap-probe.exp
11420 * gdb.base/start.exp
11421 * gdb.base/step-break.exp
11422 * gdb.base/step-bt.exp
11423 * gdb.base/step-line.exp
11424 * gdb.base/step-over-exit.exp
11425 * gdb.base/step-over-syscall.exp
11426 * gdb.base/step-resume-infcall.exp
11427 * gdb.base/step-test.exp
11428 * gdb.base/store.exp
11429 * gdb.base/structs3.exp
11430 * gdb.base/sym-file.exp
11431 * gdb.base/symbol-without-target_section.exp
11432 * gdb.base/term.exp
11433 * gdb.base/testenv.exp
11434 * gdb.base/ui-redirect.exp
11435 * gdb.base/until.exp
11436 * gdb.base/unwindonsignal.exp
11437 * gdb.base/value-double-free.exp
11438 * gdb.base/vla-datatypes.exp
11439 * gdb.base/vla-ptr.exp
11440 * gdb.base/vla-sideeffect.exp
11441 * gdb.base/volatile.exp
11442 * gdb.base/watch-cond-infcall.exp
11443 * gdb.base/watch-cond.exp
11444 * gdb.base/watch-non-mem.exp
11445 * gdb.base/watch-read.exp
11446 * gdb.base/watch-vfork.exp
11447 * gdb.base/watchpoint-cond-gone.exp
11448 * gdb.base/watchpoint-delete.exp
11449 * gdb.base/watchpoint-hw-hit-once.exp
11450 * gdb.base/watchpoint-hw.exp
11451 * gdb.base/watchpoint-stops-at-right-insn.exp
11452 * gdb.base/watchpoints.exp
11453 * gdb.base/wchar.exp
11454 * gdb.base/whatis-exp.exp
11455 * gdb.btrace/buffer-size.exp
11456 * gdb.btrace/data.exp
11457 * gdb.btrace/delta.exp
11458 * gdb.btrace/dlopen.exp
11459 * gdb.btrace/enable.exp
11460 * gdb.btrace/exception.exp
11461 * gdb.btrace/function_call_history.exp
11462 * gdb.btrace/gcore.exp
11463 * gdb.btrace/instruction_history.exp
11464 * gdb.btrace/nohist.exp
11465 * gdb.btrace/reconnect.exp
11466 * gdb.btrace/record_goto-step.exp
11467 * gdb.btrace/record_goto.exp
11468 * gdb.btrace/rn-dl-bind.exp
11469 * gdb.btrace/segv.exp
11470 * gdb.btrace/step.exp
11471 * gdb.btrace/stepi.exp
11472 * gdb.btrace/tailcall-only.exp
11473 * gdb.btrace/tailcall.exp
11474 * gdb.btrace/tsx.exp
11475 * gdb.btrace/unknown_functions.exp
11476 * gdb.btrace/vdso.exp
11477 * gdb.compile/compile-ifunc.exp
11478 * gdb.compile/compile-ops.exp
11479 * gdb.compile/compile-print.exp
11480 * gdb.compile/compile-setjmp.exp
11481 * gdb.cp/abstract-origin.exp
11482 * gdb.cp/ambiguous.exp
11483 * gdb.cp/annota2.exp
11484 * gdb.cp/annota3.exp
11485 * gdb.cp/anon-ns.exp
11486 * gdb.cp/anon-struct.exp
11487 * gdb.cp/anon-union.exp
11488 * gdb.cp/arg-reference.exp
11489 * gdb.cp/baseenum.exp
11490 * gdb.cp/bool.exp
11491 * gdb.cp/breakpoint.exp
11492 * gdb.cp/bs15503.exp
11493 * gdb.cp/call-c.exp
11494 * gdb.cp/casts.exp
11495 * gdb.cp/chained-calls.exp
11496 * gdb.cp/class2.exp
11497 * gdb.cp/classes.exp
11498 * gdb.cp/cmpd-minsyms.exp
11499 * gdb.cp/converts.exp
11500 * gdb.cp/cp-relocate.exp
11501 * gdb.cp/cpcompletion.exp
11502 * gdb.cp/cpexprs.exp
11503 * gdb.cp/cplabel.exp
11504 * gdb.cp/cplusfuncs.exp
11505 * gdb.cp/cpsizeof.exp
11506 * gdb.cp/ctti.exp
11507 * gdb.cp/derivation.exp
11508 * gdb.cp/destrprint.exp
11509 * gdb.cp/dispcxx.exp
11510 * gdb.cp/enum-class.exp
11511 * gdb.cp/exception.exp
11512 * gdb.cp/exceptprint.exp
11513 * gdb.cp/expand-psymtabs-cxx.exp
11514 * gdb.cp/expand-sals.exp
11515 * gdb.cp/extern-c.exp
11516 * gdb.cp/filename.exp
11517 * gdb.cp/formatted-ref.exp
11518 * gdb.cp/fpointer.exp
11519 * gdb.cp/gdb1355.exp
11520 * gdb.cp/gdb2495.exp
11521 * gdb.cp/hang.exp
11522 * gdb.cp/impl-this.exp
11523 * gdb.cp/infcall-dlopen.exp
11524 * gdb.cp/inherit.exp
11525 * gdb.cp/iostream.exp
11526 * gdb.cp/koenig.exp
11527 * gdb.cp/local.exp
11528 * gdb.cp/m-data.exp
11529 * gdb.cp/m-static.exp
11530 * gdb.cp/mb-ctor.exp
11531 * gdb.cp/mb-inline.exp
11532 * gdb.cp/mb-templates.exp
11533 * gdb.cp/member-name.exp
11534 * gdb.cp/member-ptr.exp
11535 * gdb.cp/meth-typedefs.exp
11536 * gdb.cp/method.exp
11537 * gdb.cp/method2.exp
11538 * gdb.cp/minsym-fallback.exp
11539 * gdb.cp/misc.exp
11540 * gdb.cp/namelessclass.exp
11541 * gdb.cp/namespace-enum.exp
11542 * gdb.cp/namespace-nested-import.exp
11543 * gdb.cp/namespace.exp
11544 * gdb.cp/nextoverthrow.exp
11545 * gdb.cp/no-dmgl-verbose.exp
11546 * gdb.cp/non-trivial-retval.exp
11547 * gdb.cp/noparam.exp
11548 * gdb.cp/nsdecl.exp
11549 * gdb.cp/nsimport.exp
11550 * gdb.cp/nsnested.exp
11551 * gdb.cp/nsnoimports.exp
11552 * gdb.cp/nsrecurs.exp
11553 * gdb.cp/nsstress.exp
11554 * gdb.cp/nsusing.exp
11555 * gdb.cp/operator.exp
11556 * gdb.cp/oranking.exp
11557 * gdb.cp/overload-const.exp
11558 * gdb.cp/overload.exp
11559 * gdb.cp/ovldbreak.exp
11560 * gdb.cp/ovsrch.exp
11561 * gdb.cp/paren-type.exp
11562 * gdb.cp/parse-lang.exp
11563 * gdb.cp/pass-by-ref.exp
11564 * gdb.cp/pr-1023.exp
11565 * gdb.cp/pr-1210.exp
11566 * gdb.cp/pr-574.exp
11567 * gdb.cp/pr10687.exp
11568 * gdb.cp/pr12028.exp
11569 * gdb.cp/pr17132.exp
11570 * gdb.cp/pr17494.exp
11571 * gdb.cp/pr9067.exp
11572 * gdb.cp/pr9167.exp
11573 * gdb.cp/pr9631.exp
11574 * gdb.cp/printmethod.exp
11575 * gdb.cp/psmang.exp
11576 * gdb.cp/psymtab-parameter.exp
11577 * gdb.cp/ptype-cv-cp.exp
11578 * gdb.cp/ptype-flags.exp
11579 * gdb.cp/re-set-overloaded.exp
11580 * gdb.cp/ref-types.exp
11581 * gdb.cp/rtti.exp
11582 * gdb.cp/scope-err.exp
11583 * gdb.cp/shadow.exp
11584 * gdb.cp/smartp.exp
11585 * gdb.cp/static-method.exp
11586 * gdb.cp/static-print-quit.exp
11587 * gdb.cp/temargs.exp
11588 * gdb.cp/templates.exp
11589 * gdb.cp/try_catch.exp
11590 * gdb.cp/typedef-operator.exp
11591 * gdb.cp/typeid.exp
11592 * gdb.cp/userdef.exp
11593 * gdb.cp/using-crash.exp
11594 * gdb.cp/var-tag.exp
11595 * gdb.cp/virtbase.exp
11596 * gdb.cp/virtfunc.exp
11597 * gdb.cp/virtfunc2.exp
11598 * gdb.cp/vla-cxx.exp
11599 * gdb.disasm/t01_mov.exp
11600 * gdb.disasm/t02_mova.exp
11601 * gdb.disasm/t03_add.exp
11602 * gdb.disasm/t04_sub.exp
11603 * gdb.disasm/t05_cmp.exp
11604 * gdb.disasm/t06_ari2.exp
11605 * gdb.disasm/t07_ari3.exp
11606 * gdb.disasm/t08_or.exp
11607 * gdb.disasm/t09_xor.exp
11608 * gdb.disasm/t10_and.exp
11609 * gdb.disasm/t11_logs.exp
11610 * gdb.disasm/t12_bit.exp
11611 * gdb.disasm/t13_otr.exp
11612 * gdb.dlang/circular.exp
11613 * gdb.dwarf2/arr-stride.exp
11614 * gdb.dwarf2/arr-subrange.exp
11615 * gdb.dwarf2/atomic-type.exp
11616 * gdb.dwarf2/bad-regnum.exp
11617 * gdb.dwarf2/bitfield-parent-optimized-out.exp
11618 * gdb.dwarf2/callframecfa.exp
11619 * gdb.dwarf2/clztest.exp
11620 * gdb.dwarf2/corrupt.exp
11621 * gdb.dwarf2/data-loc.exp
11622 * gdb.dwarf2/dup-psym.exp
11623 * gdb.dwarf2/dw2-anon-mptr.exp
11624 * gdb.dwarf2/dw2-anonymous-func.exp
11625 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
11626 * gdb.dwarf2/dw2-bad-unresolved.exp
11627 * gdb.dwarf2/dw2-basic.exp
11628 * gdb.dwarf2/dw2-canonicalize-type.exp
11629 * gdb.dwarf2/dw2-case-insensitive.exp
11630 * gdb.dwarf2/dw2-common-block.exp
11631 * gdb.dwarf2/dw2-compdir-oldgcc.exp
11632 * gdb.dwarf2/dw2-compressed.exp
11633 * gdb.dwarf2/dw2-const.exp
11634 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
11635 * gdb.dwarf2/dw2-cu-size.exp
11636 * gdb.dwarf2/dw2-dup-frame.exp
11637 * gdb.dwarf2/dw2-entry-value.exp
11638 * gdb.dwarf2/dw2-icycle.exp
11639 * gdb.dwarf2/dw2-ifort-parameter.exp
11640 * gdb.dwarf2/dw2-inline-break.exp
11641 * gdb.dwarf2/dw2-inline-param.exp
11642 * gdb.dwarf2/dw2-intercu.exp
11643 * gdb.dwarf2/dw2-intermix.exp
11644 * gdb.dwarf2/dw2-lexical-block-bare.exp
11645 * gdb.dwarf2/dw2-linkage-name-trust.exp
11646 * gdb.dwarf2/dw2-minsym-in-cu.exp
11647 * gdb.dwarf2/dw2-noloc.exp
11648 * gdb.dwarf2/dw2-op-call.exp
11649 * gdb.dwarf2/dw2-op-out-param.exp
11650 * gdb.dwarf2/dw2-opt-structptr.exp
11651 * gdb.dwarf2/dw2-param-error.exp
11652 * gdb.dwarf2/dw2-producer.exp
11653 * gdb.dwarf2/dw2-ranges-base.exp
11654 * gdb.dwarf2/dw2-ref-missing-frame.exp
11655 * gdb.dwarf2/dw2-reg-undefined.exp
11656 * gdb.dwarf2/dw2-regno-invalid.exp
11657 * gdb.dwarf2/dw2-restore.exp
11658 * gdb.dwarf2/dw2-restrict.exp
11659 * gdb.dwarf2/dw2-single-line-discriminators.exp
11660 * gdb.dwarf2/dw2-strp.exp
11661 * gdb.dwarf2/dw2-undefined-ret-addr.exp
11662 * gdb.dwarf2/dw2-unresolved.exp
11663 * gdb.dwarf2/dw2-var-zero-addr.exp
11664 * gdb.dwarf2/dw4-sig-types.exp
11665 * gdb.dwarf2/dwz.exp
11666 * gdb.dwarf2/dynarr-ptr.exp
11667 * gdb.dwarf2/enum-type.exp
11668 * gdb.dwarf2/gdb-index.exp
11669 * gdb.dwarf2/implptr-64bit.exp
11670 * gdb.dwarf2/implptr-optimized-out.exp
11671 * gdb.dwarf2/implptr.exp
11672 * gdb.dwarf2/implref-array.exp
11673 * gdb.dwarf2/implref-const.exp
11674 * gdb.dwarf2/implref-global.exp
11675 * gdb.dwarf2/implref-struct.exp
11676 * gdb.dwarf2/mac-fileno.exp
11677 * gdb.dwarf2/main-subprogram.exp
11678 * gdb.dwarf2/member-ptr-forwardref.exp
11679 * gdb.dwarf2/method-ptr.exp
11680 * gdb.dwarf2/missing-sig-type.exp
11681 * gdb.dwarf2/nonvar-access.exp
11682 * gdb.dwarf2/opaque-type-lookup.exp
11683 * gdb.dwarf2/pieces-optimized-out.exp
11684 * gdb.dwarf2/pieces.exp
11685 * gdb.dwarf2/pr10770.exp
11686 * gdb.dwarf2/pr13961.exp
11687 * gdb.dwarf2/staticvirtual.exp
11688 * gdb.dwarf2/subrange.exp
11689 * gdb.dwarf2/symtab-producer.exp
11690 * gdb.dwarf2/trace-crash.exp
11691 * gdb.dwarf2/typeddwarf.exp
11692 * gdb.dwarf2/valop.exp
11693 * gdb.dwarf2/watch-notconst.exp
11694 * gdb.fortran/array-element.exp
11695 * gdb.fortran/charset.exp
11696 * gdb.fortran/common-block.exp
11697 * gdb.fortran/complex.exp
11698 * gdb.fortran/derived-type-function.exp
11699 * gdb.fortran/derived-type.exp
11700 * gdb.fortran/logical.exp
11701 * gdb.fortran/module.exp
11702 * gdb.fortran/multi-dim.exp
11703 * gdb.fortran/nested-funcs.exp
11704 * gdb.fortran/print-formatted.exp
11705 * gdb.fortran/subarray.exp
11706 * gdb.fortran/vla-alloc-assoc.exp
11707 * gdb.fortran/vla-datatypes.exp
11708 * gdb.fortran/vla-history.exp
11709 * gdb.fortran/vla-ptr-info.exp
11710 * gdb.fortran/vla-ptype-sub.exp
11711 * gdb.fortran/vla-ptype.exp
11712 * gdb.fortran/vla-sizeof.exp
11713 * gdb.fortran/vla-type.exp
11714 * gdb.fortran/vla-value-sub-arbitrary.exp
11715 * gdb.fortran/vla-value-sub-finish.exp
11716 * gdb.fortran/vla-value-sub.exp
11717 * gdb.fortran/vla-value.exp
11718 * gdb.fortran/whatis_type.exp
11719 * gdb.go/chan.exp
11720 * gdb.go/handcall.exp
11721 * gdb.go/hello.exp
11722 * gdb.go/integers.exp
11723 * gdb.go/methods.exp
11724 * gdb.go/package.exp
11725 * gdb.go/strings.exp
11726 * gdb.go/types.exp
11727 * gdb.go/unsafe.exp
11728 * gdb.guile/scm-arch.exp
11729 * gdb.guile/scm-block.exp
11730 * gdb.guile/scm-breakpoint.exp
11731 * gdb.guile/scm-cmd.exp
11732 * gdb.guile/scm-disasm.exp
11733 * gdb.guile/scm-equal.exp
11734 * gdb.guile/scm-frame-args.exp
11735 * gdb.guile/scm-frame-inline.exp
11736 * gdb.guile/scm-frame.exp
11737 * gdb.guile/scm-iterator.exp
11738 * gdb.guile/scm-math.exp
11739 * gdb.guile/scm-objfile.exp
11740 * gdb.guile/scm-ports.exp
11741 * gdb.guile/scm-symbol.exp
11742 * gdb.guile/scm-symtab.exp
11743 * gdb.guile/scm-value-cc.exp
11744 * gdb.guile/types-module.exp
11745 * gdb.linespec/break-ask.exp
11746 * gdb.linespec/cpexplicit.exp
11747 * gdb.linespec/explicit.exp
11748 * gdb.linespec/keywords.exp
11749 * gdb.linespec/linespec.exp
11750 * gdb.linespec/ls-dollar.exp
11751 * gdb.linespec/ls-errs.exp
11752 * gdb.linespec/skip-two.exp
11753 * gdb.linespec/thread.exp
11754 * gdb.mi/mi-async.exp
11755 * gdb.mi/mi-basics.exp
11756 * gdb.mi/mi-break.exp
11757 * gdb.mi/mi-catch-load.exp
11758 * gdb.mi/mi-cli.exp
11759 * gdb.mi/mi-cmd-param-changed.exp
11760 * gdb.mi/mi-console.exp
11761 * gdb.mi/mi-detach.exp
11762 * gdb.mi/mi-disassemble.exp
11763 * gdb.mi/mi-eval.exp
11764 * gdb.mi/mi-file-transfer.exp
11765 * gdb.mi/mi-file.exp
11766 * gdb.mi/mi-fill-memory.exp
11767 * gdb.mi/mi-inheritance-syntax-error.exp
11768 * gdb.mi/mi-linespec-err-cp.exp
11769 * gdb.mi/mi-logging.exp
11770 * gdb.mi/mi-memory-changed.exp
11771 * gdb.mi/mi-read-memory.exp
11772 * gdb.mi/mi-record-changed.exp
11773 * gdb.mi/mi-reg-undefined.exp
11774 * gdb.mi/mi-regs.exp
11775 * gdb.mi/mi-return.exp
11776 * gdb.mi/mi-reverse.exp
11777 * gdb.mi/mi-simplerun.exp
11778 * gdb.mi/mi-solib.exp
11779 * gdb.mi/mi-stack.exp
11780 * gdb.mi/mi-stepi.exp
11781 * gdb.mi/mi-syn-frame.exp
11782 * gdb.mi/mi-until.exp
11783 * gdb.mi/mi-var-block.exp
11784 * gdb.mi/mi-var-child.exp
11785 * gdb.mi/mi-var-cmd.exp
11786 * gdb.mi/mi-var-cp.exp
11787 * gdb.mi/mi-var-display.exp
11788 * gdb.mi/mi-var-invalidate.exp
11789 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
11790 * gdb.mi/mi-vla-fortran.exp
11791 * gdb.mi/mi-watch.exp
11792 * gdb.mi/mi2-var-child.exp
11793 * gdb.mi/user-selected-context-sync.exp
11794 * gdb.modula2/unbounded-array.exp
11795 * gdb.multi/dummy-frame-restore.exp
11796 * gdb.multi/multi-arch-exec.exp
11797 * gdb.multi/multi-arch.exp
11798 * gdb.multi/tids.exp
11799 * gdb.multi/watchpoint-multi.exp
11800 * gdb.opencl/callfuncs.exp
11801 * gdb.opencl/convs_casts.exp
11802 * gdb.opencl/datatypes.exp
11803 * gdb.opencl/operators.exp
11804 * gdb.opencl/vec_comps.exp
11805 * gdb.opt/clobbered-registers-O2.exp
11806 * gdb.opt/inline-break.exp
11807 * gdb.opt/inline-bt.exp
11808 * gdb.opt/inline-cmds.exp
11809 * gdb.opt/inline-locals.exp
11810 * gdb.pascal/case-insensitive-symbols.exp
11811 * gdb.pascal/floats.exp
11812 * gdb.pascal/gdb11492.exp
11813 * gdb.python/lib-types.exp
11814 * gdb.python/py-arch.exp
11815 * gdb.python/py-as-string.exp
11816 * gdb.python/py-bad-printers.exp
11817 * gdb.python/py-block.exp
11818 * gdb.python/py-breakpoint-create-fail.exp
11819 * gdb.python/py-breakpoint.exp
11820 * gdb.python/py-caller-is.exp
11821 * gdb.python/py-cmd.exp
11822 * gdb.python/py-explore-cc.exp
11823 * gdb.python/py-explore.exp
11824 * gdb.python/py-finish-breakpoint.exp
11825 * gdb.python/py-finish-breakpoint2.exp
11826 * gdb.python/py-frame-args.exp
11827 * gdb.python/py-frame-inline.exp
11828 * gdb.python/py-frame.exp
11829 * gdb.python/py-framefilter-mi.exp
11830 * gdb.python/py-infthread.exp
11831 * gdb.python/py-lazy-string.exp
11832 * gdb.python/py-linetable.exp
11833 * gdb.python/py-mi-events.exp
11834 * gdb.python/py-mi-objfile.exp
11835 * gdb.python/py-mi.exp
11836 * gdb.python/py-objfile.exp
11837 * gdb.python/py-pp-integral.exp
11838 * gdb.python/py-pp-maint.exp
11839 * gdb.python/py-pp-re-notag.exp
11840 * gdb.python/py-pp-registration.exp
11841 * gdb.python/py-recurse-unwind.exp
11842 * gdb.python/py-strfns.exp
11843 * gdb.python/py-symbol.exp
11844 * gdb.python/py-symtab.exp
11845 * gdb.python/py-sync-interp.exp
11846 * gdb.python/py-typeprint.exp
11847 * gdb.python/py-unwind-maint.exp
11848 * gdb.python/py-unwind.exp
11849 * gdb.python/py-value-cc.exp
11850 * gdb.python/py-xmethods.exp
11851 * gdb.reverse/amd64-tailcall-reverse.exp
11852 * gdb.reverse/break-precsave.exp
11853 * gdb.reverse/break-reverse.exp
11854 * gdb.reverse/consecutive-precsave.exp
11855 * gdb.reverse/consecutive-reverse.exp
11856 * gdb.reverse/finish-precsave.exp
11857 * gdb.reverse/finish-reverse-bkpt.exp
11858 * gdb.reverse/finish-reverse.exp
11859 * gdb.reverse/fstatat-reverse.exp
11860 * gdb.reverse/getresuid-reverse.exp
11861 * gdb.reverse/i386-precsave.exp
11862 * gdb.reverse/i386-reverse.exp
11863 * gdb.reverse/i386-sse-reverse.exp
11864 * gdb.reverse/i387-env-reverse.exp
11865 * gdb.reverse/i387-stack-reverse.exp
11866 * gdb.reverse/insn-reverse.exp
11867 * gdb.reverse/machinestate-precsave.exp
11868 * gdb.reverse/machinestate.exp
11869 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11870 * gdb.reverse/pipe-reverse.exp
11871 * gdb.reverse/readv-reverse.exp
11872 * gdb.reverse/recvmsg-reverse.exp
11873 * gdb.reverse/rerun-prec.exp
11874 * gdb.reverse/s390-mvcle.exp
11875 * gdb.reverse/step-precsave.exp
11876 * gdb.reverse/step-reverse.exp
11877 * gdb.reverse/time-reverse.exp
11878 * gdb.reverse/until-precsave.exp
11879 * gdb.reverse/until-reverse.exp
11880 * gdb.reverse/waitpid-reverse.exp
11881 * gdb.reverse/watch-precsave.exp
11882 * gdb.reverse/watch-reverse.exp
11883 * gdb.rust/generics.exp
11884 * gdb.rust/methods.exp
11885 * gdb.rust/modules.exp
11886 * gdb.rust/simple.exp
11887 * gdb.server/connect-with-no-symbol-file.exp
11888 * gdb.server/ext-attach.exp
11889 * gdb.server/ext-restart.exp
11890 * gdb.server/ext-wrapper.exp
11891 * gdb.server/file-transfer.exp
11892 * gdb.server/server-exec-info.exp
11893 * gdb.server/server-kill.exp
11894 * gdb.server/server-mon.exp
11895 * gdb.server/wrapper.exp
11896 * gdb.stabs/exclfwd.exp
11897 * gdb.stabs/gdb11479.exp
11898 * gdb.threads/clone-new-thread-event.exp
11899 * gdb.threads/corethreads.exp
11900 * gdb.threads/current-lwp-dead.exp
11901 * gdb.threads/dlopen-libpthread.exp
11902 * gdb.threads/gcore-thread.exp
11903 * gdb.threads/sigstep-threads.exp
11904 * gdb.threads/watchpoint-fork.exp
11905 * gdb.trace/actions-changed.exp
11906 * gdb.trace/backtrace.exp
11907 * gdb.trace/change-loc.exp
11908 * gdb.trace/circ.exp
11909 * gdb.trace/collection.exp
11910 * gdb.trace/disconnected-tracing.exp
11911 * gdb.trace/ftrace.exp
11912 * gdb.trace/mi-trace-frame-collected.exp
11913 * gdb.trace/mi-trace-unavailable.exp
11914 * gdb.trace/mi-traceframe-changed.exp
11915 * gdb.trace/mi-tsv-changed.exp
11916 * gdb.trace/no-attach-trace.exp
11917 * gdb.trace/passc-dyn.exp
11918 * gdb.trace/qtro.exp
11919 * gdb.trace/range-stepping.exp
11920 * gdb.trace/read-memory.exp
11921 * gdb.trace/save-trace.exp
11922 * gdb.trace/signal.exp
11923 * gdb.trace/status-stop.exp
11924 * gdb.trace/tfile.exp
11925 * gdb.trace/trace-break.exp
11926 * gdb.trace/trace-buffer-size.exp
11927 * gdb.trace/trace-condition.exp
11928 * gdb.trace/tracefile-pseudo-reg.exp
11929 * gdb.trace/tstatus.exp
11930 * gdb.trace/unavailable.exp
11931 * gdb.trace/while-dyn.exp
11932 * gdb.trace/while-stepping.exp
11933
34c41c68
DE
119342016-12-22 Doug Evans <xdje42@gmail.com>
11935
11936 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
11937 and msymbols.
11938
16e69324
YQ
119392016-12-19 Yao Qi <yao.qi@linaro.org>
11940
11941 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
11942 (test_with_self): Don't call do_steps_and_nexts, and remove
11943 code about stepping into xmalloc.
11944
f94f411b
YQ
119452016-12-09 Yao Qi <yao.qi@linaro.org>
11946
11947 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
11948
119492016-12-09 Yao Qi <yao.qi@linaro.org>
11950
11951 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
11952
f1b5deee
PA
119532016-12-09 Pedro Alves <palves@redhat.com>
11954
11955 * gdb.base/all-architectures-0.exp: New file.
11956 * gdb.base/all-architectures-1.exp: New file.
11957 * gdb.base/all-architectures-2.exp: New file.
11958 * gdb.base/all-architectures-3.exp: New file.
11959 * gdb.base/all-architectures-4.exp: New file.
11960 * gdb.base/all-architectures-5.exp: New file.
11961 * gdb.base/all-architectures-6.exp: New file.
11962 * gdb.base/all-architectures-7.exp: New file.
11963 * gdb.base/all-architectures.exp.in: New file.
11964
364ca42e
YQ
119652016-12-09 Yao Qi <yao.qi@linaro.org>
11966
11967 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
11968
107c2d62
LM
119692016-12-02 Luis Machado <lgustavo@codesourcery.com>
11970
11971 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
11972 possible.
11973 Remove useless pattern-matching code.
11974
df3ee9ca
PA
119752016-12-02 Pedro Alves <palves@redhat.com>
11976
11977 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
11978 procedure.
11979 (top level): Call it.
11980
ec835369
PA
119812016-12-02 Pedro Alves <palves@redhat.com>
11982
11983 * gdb.base/commands.exp (user_defined_command_args_stack_test):
11984 New procedure.
11985 (top level): Call it.
11986
01770bbd
PA
119872016-12-02 Pedro Alves <palves@redhat.com>
11988
11989 PR cli/20559
11990 * gdb.base/commands.exp (user_defined_command_args_eval): New
11991 procedure.
11992 (top level): Call it.
11993
008459ea
LM
119942016-12-02 Luis Machado <lgustavo@codesourcery.com>
11995
11996 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
11997 timeout handling.
11998
0c1b455e
TT
119992016-12-02 Tom Tromey <tom@tromey.com>
12000
12001 * gdb.dwarf2/main-subprogram.c: New file.
12002 * gdb.dwarf2/main-subprogram.exp: New file.
12003
018572b8
LM
120042016-12-01 Luis Machado <lgustavo@codesourcery.com>
12005
12006 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
12007 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
12008 gdb_test_no_output for a couple of cases.
12009 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
12010
84c93cd5
LM
120112016-12-01 Luis Machado <lgustavo@codesourcery.com>
12012
12013 Fix test names and standardize compilation error messages throughout
12014 the following files:
12015
12016 * gdb.ada/start.exp
12017 * gdb.arch/alpha-step.exp
12018 * gdb.arch/e500-prologue.exp
12019 * gdb.arch/ftrace-insn-reloc.exp
12020 * gdb.arch/gdb1291.exp
12021 * gdb.arch/gdb1431.exp
12022 * gdb.arch/gdb1558.exp
12023 * gdb.arch/i386-dr3-watch.exp
12024 * gdb.arch/i386-sse-stack-align.exp
12025 * gdb.arch/ia64-breakpoint-shadow.exp
12026 * gdb.arch/pa-nullify.exp
12027 * gdb.arch/powerpc-aix-prologue.exp
12028 * gdb.arch/thumb-bx-pc.exp
12029 * gdb.base/annota1.exp
12030 * gdb.base/annota3.exp
12031 * gdb.base/arrayidx.exp
12032 * gdb.base/assign.exp
12033 * gdb.base/attach.exp
12034 * gdb.base/auxv.exp
12035 * gdb.base/bang.exp
12036 * gdb.base/bfp-test.exp
12037 * gdb.base/bigcore.exp
12038 * gdb.base/bitfields2.exp
12039 * gdb.base/break-fun-addr.exp
12040 * gdb.base/break-probes.exp
12041 * gdb.base/call-rt-st.exp
12042 * gdb.base/callexit.exp
12043 * gdb.base/catch-fork-kill.exp
12044 * gdb.base/charset.exp
12045 * gdb.base/checkpoint.exp
12046 * gdb.base/comprdebug.exp
12047 * gdb.base/constvars.exp
12048 * gdb.base/coredump-filter.exp
12049 * gdb.base/cursal.exp
12050 * gdb.base/cvexpr.exp
12051 * gdb.base/detach.exp
12052 * gdb.base/display.exp
12053 * gdb.base/dmsym.exp
12054 * gdb.base/dprintf-pending.exp
12055 * gdb.base/dso2dso.exp
12056 * gdb.base/dtrace-probe.exp
12057 * gdb.base/dump.exp
12058 * gdb.base/enum_cond.exp
12059 * gdb.base/exe-lock.exp
12060 * gdb.base/exec-invalid-sysroot.exp
12061 * gdb.base/execl-update-breakpoints.exp
12062 * gdb.base/exprs.exp
12063 * gdb.base/fileio.exp
12064 * gdb.base/find.exp
12065 * gdb.base/finish.exp
12066 * gdb.base/fixsection.exp
12067 * gdb.base/foll-vfork.exp
12068 * gdb.base/frame-args.exp
12069 * gdb.base/gcore.exp
12070 * gdb.base/gdb1250.exp
12071 * gdb.base/global-var-nested-by-dso.exp
12072 * gdb.base/gnu-ifunc.exp
12073 * gdb.base/hashline1.exp
12074 * gdb.base/hashline2.exp
12075 * gdb.base/hashline3.exp
12076 * gdb.base/hbreak-in-shr-unsupported.exp
12077 * gdb.base/huge.exp
12078 * gdb.base/infcall-input.exp
12079 * gdb.base/info-fun.exp
12080 * gdb.base/info-shared.exp
12081 * gdb.base/jit-simple.exp
12082 * gdb.base/jit-so.exp
12083 * gdb.base/jit.exp
12084 * gdb.base/jump.exp
12085 * gdb.base/label.exp
12086 * gdb.base/lineinc.exp
12087 * gdb.base/logical.exp
12088 * gdb.base/longjmp.exp
12089 * gdb.base/macscp.exp
12090 * gdb.base/miscexprs.exp
12091 * gdb.base/new-ui-echo.exp
12092 * gdb.base/new-ui-pending-input.exp
12093 * gdb.base/new-ui.exp
12094 * gdb.base/nodebug.exp
12095 * gdb.base/nofield.exp
12096 * gdb.base/offsets.exp
12097 * gdb.base/overlays.exp
12098 * gdb.base/pending.exp
12099 * gdb.base/pointers.exp
12100 * gdb.base/pr11022.exp
12101 * gdb.base/printcmds.exp
12102 * gdb.base/prologue.exp
12103 * gdb.base/ptr-typedef.exp
12104 * gdb.base/realname-expand.exp
12105 * gdb.base/relativedebug.exp
12106 * gdb.base/relocate.exp
12107 * gdb.base/remote.exp
12108 * gdb.base/reread.exp
12109 * gdb.base/return2.exp
12110 * gdb.base/savedregs.exp
12111 * gdb.base/sep.exp
12112 * gdb.base/sepdebug.exp
12113 * gdb.base/sepsymtab.exp
12114 * gdb.base/set-inferior-tty.exp
12115 * gdb.base/setshow.exp
12116 * gdb.base/shlib-call.exp
12117 * gdb.base/sigaltstack.exp
12118 * gdb.base/siginfo-addr.exp
12119 * gdb.base/signals.exp
12120 * gdb.base/signull.exp
12121 * gdb.base/sigrepeat.exp
12122 * gdb.base/so-impl-ld.exp
12123 * gdb.base/solib-display.exp
12124 * gdb.base/solib-overlap.exp
12125 * gdb.base/solib-search.exp
12126 * gdb.base/solib-symbol.exp
12127 * gdb.base/structs.exp
12128 * gdb.base/structs2.exp
12129 * gdb.base/symtab-search-order.exp
12130 * gdb.base/twice.exp
12131 * gdb.base/unload.exp
12132 * gdb.base/varargs.exp
12133 * gdb.base/watchpoint-solib.exp
12134 * gdb.base/watchpoint.exp
12135 * gdb.base/whatis.exp
12136 * gdb.base/wrong_frame_bt_full.exp
12137 * gdb.btrace/dlopen.exp
12138 * gdb.cell/ea-standalone.exp
12139 * gdb.cell/ea-test.exp
12140 * gdb.cp/dispcxx.exp
12141 * gdb.cp/gdb2384.exp
12142 * gdb.cp/method2.exp
12143 * gdb.cp/nextoverthrow.exp
12144 * gdb.cp/pr10728.exp
12145 * gdb.disasm/am33.exp
12146 * gdb.disasm/h8300s.exp
12147 * gdb.disasm/mn10300.exp
12148 * gdb.disasm/sh3.exp
12149 * gdb.dwarf2/dw2-dir-file-name.exp
12150 * gdb.fortran/complex.exp
12151 * gdb.fortran/library-module.exp
12152 * gdb.guile/scm-pretty-print.exp
12153 * gdb.guile/scm-symbol.exp
12154 * gdb.guile/scm-type.exp
12155 * gdb.guile/scm-value.exp
12156 * gdb.linespec/linespec.exp
12157 * gdb.mi/gdb701.exp
12158 * gdb.mi/gdb792.exp
12159 * gdb.mi/mi-breakpoint-changed.exp
12160 * gdb.mi/mi-dprintf-pending.exp
12161 * gdb.mi/mi-dprintf.exp
12162 * gdb.mi/mi-exit-code.exp
12163 * gdb.mi/mi-pending.exp
12164 * gdb.mi/mi-solib.exp
12165 * gdb.mi/new-ui-mi-sync.exp
12166 * gdb.mi/pr11022.exp
12167 * gdb.mi/user-selected-context-sync.exp
12168 * gdb.opt/solib-intra-step.exp
12169 * gdb.python/py-events.exp
12170 * gdb.python/py-finish-breakpoint.exp
12171 * gdb.python/py-mi.exp
12172 * gdb.python/py-prettyprint.exp
12173 * gdb.python/py-shared.exp
12174 * gdb.python/py-symbol.exp
12175 * gdb.python/py-template.exp
12176 * gdb.python/py-type.exp
12177 * gdb.python/py-value.exp
12178 * gdb.reverse/solib-precsave.exp
12179 * gdb.reverse/solib-reverse.exp
12180 * gdb.server/solib-list.exp
12181 * gdb.stabs/weird.exp
12182 * gdb.threads/reconnect-signal.exp
12183 * gdb.threads/stepi-random-signal.exp
12184 * gdb.trace/actions.exp
12185 * gdb.trace/ax.exp
12186 * gdb.trace/backtrace.exp
12187 * gdb.trace/change-loc.exp
12188 * gdb.trace/deltrace.exp
12189 * gdb.trace/ftrace-lock.exp
12190 * gdb.trace/ftrace.exp
12191 * gdb.trace/infotrace.exp
12192 * gdb.trace/mi-tracepoint-changed.exp
12193 * gdb.trace/packetlen.exp
12194 * gdb.trace/passcount.exp
12195 * gdb.trace/pending.exp
12196 * gdb.trace/range-stepping.exp
12197 * gdb.trace/report.exp
12198 * gdb.trace/stap-trace.exp
12199 * gdb.trace/tfind.exp
12200 * gdb.trace/trace-break.exp
12201 * gdb.trace/trace-condition.exp
12202 * gdb.trace/trace-enable-disable.exp
12203 * gdb.trace/trace-mt.exp
12204 * gdb.trace/tracecmd.exp
12205 * gdb.trace/tspeed.exp
12206 * gdb.trace/tsv.exp
12207 * lib/perftest.exp
12208
fb9feb35
LM
122092016-12-01 Luis Machado <lgustavo@codesourcery.com>
12210
12211 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
12212 with gdb_test_no_output.
12213 Use command as test name.
12214
cd2ddb6c
LM
122152016-12-01 Luis Machado <lgustavo@codesourcery.com>
12216
12217 Fix test names starting with uppercase throughout the files.
12218
12219 * gdb.ada/assign_1.exp
12220 * gdb.ada/boolean_expr.exp
12221 * gdb.base/arrayidx.exp
12222 * gdb.base/del.exp
12223 * gdb.base/gcore-buffer-overflow.exp
12224 * gdb.base/testenv.exp
12225 * gdb.compile/compile.exp
12226 * gdb.python/py-framefilter-invalidarg.exp
12227 * gdb.python/py-framefilter.exp
12228
bb95117e
LM
122292016-12-01 Luis Machado <lgustavo@codesourcery.com>
12230
12231 Fix test names starting with uppercase throughout the files.
12232
12233 * gdb.ada/array_return.exp
12234 * gdb.ada/expr_delims.exp
12235 * gdb.ada/mi_dyn_arr.exp
12236 * gdb.ada/mi_interface.exp
12237 * gdb.ada/mi_var_array.exp
12238 * gdb.ada/watch_arg.exp
12239 * gdb.arch/alpha-step.exp
12240 * gdb.arch/altivec-regs.exp
12241 * gdb.arch/e500-regs.exp
12242 * gdb.arch/powerpc-d128-regs.exp
12243 * gdb.base/arrayidx.exp
12244 * gdb.base/break.exp
12245 * gdb.base/checkpoint.exp
12246 * gdb.base/debug-expr.exp
12247 * gdb.base/dmsym.exp
12248 * gdb.base/radix.exp
12249 * gdb.base/sepdebug.exp
12250 * gdb.base/testenv.exp
12251 * gdb.base/watch_thread_num.exp
12252 * gdb.base/watchpoint-cond-gone.exp
12253 * gdb.cell/break.exp
12254 * gdb.cell/ea-cache.exp
12255 * gdb.compile/compile.exp
12256 * gdb.cp/gdb2495.exp
12257 * gdb.gdb/selftest.exp
12258 * gdb.gdb/xfullpath.exp
12259 * gdb.go/hello.exp
12260 * gdb.go/integers.exp
12261 * gdb.objc/basicclass.exp
12262 * gdb.pascal/hello.exp
12263 * gdb.pascal/integers.exp
12264 * gdb.python/py-breakpoint.exp
12265 * gdb.python/py-cmd.exp
12266 * gdb.python/py-linetable.exp
12267 * gdb.python/py-xmethods.exp
12268 * gdb.python/python.exp
12269 * gdb.reverse/consecutive-precsave.exp
12270 * gdb.reverse/finish-precsave.exp
12271 * gdb.reverse/i386-precsave.exp
12272 * gdb.reverse/machinestate-precsave.exp
12273 * gdb.reverse/sigall-precsave.exp
12274 * gdb.reverse/solib-precsave.exp
12275 * gdb.reverse/step-precsave.exp
12276 * gdb.reverse/until-precsave.exp
12277 * gdb.reverse/watch-precsave.exp
12278 * gdb.threads/leader-exit.exp
12279 * gdb.threads/pthreads.exp
12280 * gdb.threads/wp-replication.exp
12281 * gdb.trace/actions.exp
12282 * gdb.trace/mi-tsv-changed.exp
12283 * gdb.trace/tsv.exp
12284
de97fdd4
LM
122852016-12-01 Luis Machado <lgustavo@codesourcery.com>
12286
12287 Fix test names starting with uppercase throughout the files.
12288
12289 * gdb.arch/i386-bp_permanent.exp
12290 * gdb.arch/i386-gnu-cfi.exp
12291 * gdb.base/disasm-end-cu.exp
12292 * gdb.base/macscp.exp
12293 * gdb.base/pending.exp
12294 * gdb.base/watch_thread_num.exp
12295 * gdb.cp/exception.exp
12296 * gdb.cp/gdb2495.exp
12297 * gdb.cp/local.exp
12298 * gdb.python/py-evsignal.exp
12299 * gdb.python/python.exp
12300 * gdb.trace/tracecmd.exp
12301
9f058c10
LM
123022016-12-01 Luis Machado <lgustavo@codesourcery.com>
12303
12304 Fix test names starting with uppercase throughout the files.
12305
12306 * gdb.base/charset.exp
12307 * gdb.base/eval.exp
12308 * gdb.base/multi-forks.exp
12309 * gdb.guile/scm-progspace.exp
12310 * gdb.opencl/datatypes.exp
12311 * gdb.python/py-block.exp
12312 * gdb.python/py-function.exp
12313 * gdb.python/py-symbol.exp
12314 * gdb.python/py-symtab.exp
12315 * gdb.python/py-xmethods.exp
12316 * gdb.reverse/break-precsave.exp
12317 * gdb.reverse/break-reverse.exp
12318 * gdb.reverse/consecutive-precsave.exp
12319 * gdb.reverse/consecutive-reverse.exp
12320 * gdb.reverse/finish-precsave.exp
12321 * gdb.reverse/finish-reverse-bkpt.exp
12322 * gdb.reverse/finish-reverse.exp
12323 * gdb.reverse/fstatat-reverse.exp
12324 * gdb.reverse/getresuid-reverse.exp
12325 * gdb.reverse/i386-precsave.exp
12326 * gdb.reverse/i386-reverse.exp
12327 * gdb.reverse/i386-sse-reverse.exp
12328 * gdb.reverse/i387-stack-reverse.exp
12329 * gdb.reverse/insn-reverse.exp
12330 * gdb.reverse/machinestate-precsave.exp
12331 * gdb.reverse/machinestate.exp
12332 * gdb.reverse/next-reverse-bkpt-over-sr.exp
12333 * gdb.reverse/pipe-reverse.exp
12334 * gdb.reverse/readv-reverse.exp
12335 * gdb.reverse/recvmsg-reverse.exp
12336 * gdb.reverse/rerun-prec.exp
12337 * gdb.reverse/s390-mvcle.exp
12338 * gdb.reverse/sigall-precsave.exp
12339 * gdb.reverse/sigall-reverse.exp
12340 * gdb.reverse/solib-precsave.exp
12341 * gdb.reverse/solib-reverse.exp
12342 * gdb.reverse/step-precsave.exp
12343 * gdb.reverse/step-reverse.exp
12344 * gdb.reverse/time-reverse.exp
12345 * gdb.reverse/until-precsave.exp
12346 * gdb.reverse/until-reverse.exp
12347 * gdb.reverse/waitpid-reverse.exp
12348 * gdb.reverse/watch-precsave.exp
12349 * gdb.reverse/watch-reverse.exp
12350
cdc7edd7
LM
123512016-12-01 Luis Machado <lgustavo@codesourcery.com>
12352
12353 Fix test names starting with uppercase throughout the files.
12354
12355 * gdb.arch/i386-mpx-simple_segv.exp
12356 * gdb.arch/i386-mpx.exp
12357 * gdb.arch/i386-permbkpt.exp
12358 * gdb.arch/pa-nullify.exp
12359 * gdb.arch/powerpc-d128-regs.exp
12360 * gdb.arch/vsx-regs.exp
12361 * gdb.base/bfp-test.exp
12362 * gdb.base/break.exp
12363 * gdb.base/breakpoint-shadow.exp
12364 * gdb.base/callfuncs.exp
12365 * gdb.base/charset.exp
12366 * gdb.base/commands.exp
12367 * gdb.base/completion.exp
12368 * gdb.base/dfp-test.exp
12369 * gdb.base/echo.exp
12370 * gdb.base/ending-run.exp
12371 * gdb.base/eval.exp
12372 * gdb.base/expand-psymtabs.exp
12373 * gdb.base/float128.exp
12374 * gdb.base/floatn.exp
12375 * gdb.base/foll-exec-mode.exp
12376 * gdb.base/gdb1056.exp
12377 * gdb.base/gdb11531.exp
12378 * gdb.base/kill-after-signal.exp
12379 * gdb.base/multi-forks.exp
12380 * gdb.base/overlays.exp
12381 * gdb.base/pending.exp
12382 * gdb.base/sepdebug.exp
12383 * gdb.base/testenv.exp
12384 * gdb.base/valgrind-db-attach.exp
12385 * gdb.base/watch_thread_num.exp
12386 * gdb.base/watchpoint-cond-gone.exp
12387 * gdb.base/watchpoint.exp
12388 * gdb.base/watchpoints.exp
12389 * gdb.cp/arg-reference.exp
12390 * gdb.cp/baseenum.exp
12391 * gdb.cp/operator.exp
12392 * gdb.cp/shadow.exp
12393 * gdb.dwarf2/dw2-op-out-param.exp
12394 * gdb.dwarf2/dw2-reg-undefined.exp
12395 * gdb.go/chan.exp
12396 * gdb.go/hello.exp
12397 * gdb.go/integers.exp
12398 * gdb.go/methods.exp
12399 * gdb.go/package.exp
12400 * gdb.guile/scm-parameter.exp
12401 * gdb.guile/scm-progspace.exp
12402 * gdb.guile/scm-value.exp
12403 * gdb.mi/mi-pending.exp
12404 * gdb.mi/user-selected-context-sync.exp
12405 * gdb.multi/multi-attach.exp
12406 * gdb.multi/tids.exp
12407 * gdb.opt/clobbered-registers-O2.exp
12408 * gdb.pascal/floats.exp
12409 * gdb.pascal/integers.exp
12410 * gdb.python/py-block.exp
12411 * gdb.python/py-events.exp
12412 * gdb.python/py-parameter.exp
12413 * gdb.python/py-symbol.exp
12414 * gdb.python/py-symtab.exp
12415 * gdb.python/py-type.exp
12416 * gdb.python/py-value.exp
12417 * gdb.python/py-xmethods.exp
12418 * gdb.python/python.exp
12419 * gdb.reverse/break-precsave.exp
12420 * gdb.reverse/consecutive-precsave.exp
12421 * gdb.reverse/finish-precsave.exp
12422 * gdb.reverse/i386-precsave.exp
12423 * gdb.reverse/machinestate-precsave.exp
12424 * gdb.reverse/sigall-precsave.exp
12425 * gdb.reverse/solib-precsave.exp
12426 * gdb.reverse/step-precsave.exp
12427 * gdb.reverse/until-precsave.exp
12428 * gdb.reverse/watch-precsave.exp
12429 * gdb.server/ext-attach.exp
12430 * gdb.server/ext-restart.exp
12431 * gdb.server/ext-run.exp
12432 * gdb.server/ext-wrapper.exp
12433 * gdb.stabs/gdb11479.exp
12434 * gdb.stabs/weird.exp
12435 * gdb.threads/attach-many-short-lived-threads.exp
12436 * gdb.threads/kill.exp
12437 * gdb.threads/watchpoint-fork.exp
12438
bc6c7af4
LM
124392016-12-01 Luis Machado <lgustavo@codesourcery.com>
12440
12441 Fix test names starting with uppercase throughout all the files below.
12442
12443 * gdb.ada/array_return.exp
12444 * gdb.ada/catch_ex.exp
12445 * gdb.ada/info_exc.exp
12446 * gdb.ada/mi_catch_ex.exp
12447 * gdb.ada/mi_dyn_arr.exp
12448 * gdb.ada/mi_ex_cond.exp
12449 * gdb.ada/mi_exc_info.exp
12450 * gdb.ada/mi_interface.exp
12451 * gdb.ada/mi_task_arg.exp
12452 * gdb.ada/mi_task_info.exp
12453 * gdb.ada/mi_var_array.exp
12454 * gdb.arch/alpha-step.exp
12455 * gdb.arch/amd64-disp-step.exp
12456 * gdb.arch/arm-disp-step.exp
12457 * gdb.arch/disp-step-insn-reloc.exp
12458 * gdb.arch/e500-prologue.exp
12459 * gdb.arch/ftrace-insn-reloc.exp
12460 * gdb.arch/gdb1558.exp
12461 * gdb.arch/i386-bp_permanent.exp
12462 * gdb.arch/i386-disp-step.exp
12463 * gdb.arch/i386-float.exp
12464 * gdb.arch/i386-gnu-cfi.exp
12465 * gdb.arch/ia64-breakpoint-shadow.exp
12466 * gdb.arch/mips16-thunks.exp
12467 * gdb.arch/pa-nullify.exp
12468 * gdb.arch/powerpc-aix-prologue.exp
12469 * gdb.arch/powerpc-power.exp
12470 * gdb.arch/ppc-dfp.exp
12471 * gdb.arch/s390-tdbregs.exp
12472 * gdb.arch/spu-info.exp
12473 * gdb.arch/spu-ls.exp
12474 * gdb.arch/thumb-bx-pc.exp
12475 * gdb.base/advance.exp
12476 * gdb.base/annota-input-while-running.exp
12477 * gdb.base/arrayidx.exp
12478 * gdb.base/asmlabel.exp
12479 * gdb.base/async.exp
12480 * gdb.base/attach-wait-input.exp
12481 * gdb.base/auto-connect-native-target.exp
12482 * gdb.base/batch-preserve-term-settings.exp
12483 * gdb.base/bfp-test.exp
12484 * gdb.base/bigcore.exp
12485 * gdb.base/bp-permanent.exp
12486 * gdb.base/break-always.exp
12487 * gdb.base/break-fun-addr.exp
12488 * gdb.base/break-idempotent.exp
12489 * gdb.base/break-main-file-remove-fail.exp
12490 * gdb.base/break-probes.exp
12491 * gdb.base/break-unload-file.exp
12492 * gdb.base/break.exp
12493 * gdb.base/call-ar-st.exp
12494 * gdb.base/call-rt-st.exp
12495 * gdb.base/call-sc.exp
12496 * gdb.base/call-signal-resume.exp
12497 * gdb.base/call-strs.exp
12498 * gdb.base/callexit.exp
12499 * gdb.base/callfuncs.exp
12500 * gdb.base/catch-gdb-caused-signals.exp
12501 * gdb.base/catch-signal-siginfo-cond.exp
12502 * gdb.base/catch-syscall.exp
12503 * gdb.base/compare-sections.exp
12504 * gdb.base/cond-eval-mode.exp
12505 * gdb.base/condbreak-call-false.exp
12506 * gdb.base/consecutive-step-over.exp
12507 * gdb.base/cursal.exp
12508 * gdb.base/disabled-location.exp
12509 * gdb.base/disasm-end-cu.exp
12510 * gdb.base/display.exp
12511 * gdb.base/double-prompt-target-event-error.exp
12512 * gdb.base/dprintf-bp-same-addr.exp
12513 * gdb.base/dprintf-detach.exp
12514 * gdb.base/dprintf-next.exp
12515 * gdb.base/dprintf-non-stop.exp
12516 * gdb.base/dprintf-pending.exp
12517 * gdb.base/dso2dso.exp
12518 * gdb.base/ending-run.exp
12519 * gdb.base/enum_cond.exp
12520 * gdb.base/examine-backward.exp
12521 * gdb.base/exe-lock.exp
12522 * gdb.base/exec-invalid-sysroot.exp
12523 * gdb.base/execl-update-breakpoints.exp
12524 * gdb.base/execution-termios.exp
12525 * gdb.base/fileio.exp
12526 * gdb.base/fixsection.exp
12527 * gdb.base/foll-exec-mode.exp
12528 * gdb.base/foll-exec.exp
12529 * gdb.base/fork-running-state.exp
12530 * gdb.base/frame-args.exp
12531 * gdb.base/fullpath-expand.exp
12532 * gdb.base/func-ptr.exp
12533 * gdb.base/gcore-relro-pie.exp
12534 * gdb.base/gdb1090.exp
12535 * gdb.base/gdb1555.exp
12536 * gdb.base/global-var-nested-by-dso.exp
12537 * gdb.base/gnu-ifunc.exp
12538 * gdb.base/hbreak-in-shr-unsupported.exp
12539 * gdb.base/hbreak-unmapped.exp
12540 * gdb.base/hook-stop.exp
12541 * gdb.base/infcall-input.exp
12542 * gdb.base/info-fun.exp
12543 * gdb.base/info-shared.exp
12544 * gdb.base/interrupt-noterm.exp
12545 * gdb.base/jit-so.exp
12546 * gdb.base/jit.exp
12547 * gdb.base/line-symtabs.exp
12548 * gdb.base/list.exp
12549 * gdb.base/longjmp.exp
12550 * gdb.base/macscp.exp
12551 * gdb.base/max-value-size.exp
12552 * gdb.base/nodebug.exp
12553 * gdb.base/nofield.exp
12554 * gdb.base/overlays.exp
12555 * gdb.base/paginate-after-ctrl-c-running.exp
12556 * gdb.base/paginate-bg-execution.exp
12557 * gdb.base/paginate-inferior-exit.exp
12558 * gdb.base/pending.exp
12559 * gdb.base/pr11022.exp
12560 * gdb.base/printcmds.exp
12561 * gdb.base/ptr-typedef.exp
12562 * gdb.base/ptype.exp
12563 * gdb.base/randomize.exp
12564 * gdb.base/range-stepping.exp
12565 * gdb.base/realname-expand.exp
12566 * gdb.base/relativedebug.exp
12567 * gdb.base/remote.exp
12568 * gdb.base/savedregs.exp
12569 * gdb.base/sepdebug.exp
12570 * gdb.base/set-noassign.exp
12571 * gdb.base/shlib-call.exp
12572 * gdb.base/shreloc.exp
12573 * gdb.base/sigaltstack.exp
12574 * gdb.base/sigbpt.exp
12575 * gdb.base/siginfo-addr.exp
12576 * gdb.base/siginfo-obj.exp
12577 * gdb.base/siginfo-thread.exp
12578 * gdb.base/signest.exp
12579 * gdb.base/signull.exp
12580 * gdb.base/sigrepeat.exp
12581 * gdb.base/skip.exp
12582 * gdb.base/so-impl-ld.exp
12583 * gdb.base/solib-corrupted.exp
12584 * gdb.base/solib-disc.exp
12585 * gdb.base/solib-display.exp
12586 * gdb.base/solib-overlap.exp
12587 * gdb.base/solib-search.exp
12588 * gdb.base/solib-symbol.exp
12589 * gdb.base/source-execution.exp
12590 * gdb.base/sss-bp-on-user-bp-2.exp
12591 * gdb.base/sss-bp-on-user-bp.exp
12592 * gdb.base/stack-checking.exp
12593 * gdb.base/stale-infcall.exp
12594 * gdb.base/step-break.exp
12595 * gdb.base/step-line.exp
12596 * gdb.base/step-over-exit.exp
12597 * gdb.base/step-test.exp
12598 * gdb.base/structs.exp
12599 * gdb.base/sym-file.exp
12600 * gdb.base/symtab-search-order.exp
12601 * gdb.base/term.exp
12602 * gdb.base/type-opaque.exp
12603 * gdb.base/unload.exp
12604 * gdb.base/until-nodebug.exp
12605 * gdb.base/until.exp
12606 * gdb.base/unwindonsignal.exp
12607 * gdb.base/watch-cond.exp
12608 * gdb.base/watch-non-mem.exp
12609 * gdb.base/watch_thread_num.exp
12610 * gdb.base/watchpoint-reuse-slot.exp
12611 * gdb.base/watchpoint-solib.exp
12612 * gdb.base/watchpoint.exp
12613 * gdb.btrace/dlopen.exp
12614 * gdb.cell/arch.exp
12615 * gdb.cell/break.exp
12616 * gdb.cell/bt.exp
12617 * gdb.cell/core.exp
12618 * gdb.cell/data.exp
12619 * gdb.cell/dwarfaddr.exp
12620 * gdb.cell/ea-cache.exp
12621 * gdb.cell/ea-standalone.exp
12622 * gdb.cell/ea-test.exp
12623 * gdb.cell/f-regs.exp
12624 * gdb.cell/fork.exp
12625 * gdb.cell/gcore.exp
12626 * gdb.cell/mem-access.exp
12627 * gdb.cell/ptype.exp
12628 * gdb.cell/registers.exp
12629 * gdb.cell/sizeof.exp
12630 * gdb.cell/solib-symbol.exp
12631 * gdb.cell/solib.exp
12632 * gdb.compile/compile-tls.exp
12633 * gdb.cp/exception.exp
12634 * gdb.cp/gdb2495.exp
12635 * gdb.cp/local.exp
12636 * gdb.cp/mb-inline.exp
12637 * gdb.cp/mb-templates.exp
12638 * gdb.cp/pr10687.exp
12639 * gdb.cp/pr9167.exp
12640 * gdb.cp/scope-err.exp
12641 * gdb.cp/templates.exp
12642 * gdb.cp/virtfunc.exp
12643 * gdb.dwarf2/dw2-dir-file-name.exp
12644 * gdb.dwarf2/dw2-single-line-discriminators.exp
12645 * gdb.fortran/complex.exp
12646 * gdb.fortran/library-module.exp
12647 * gdb.guile/guile.exp
12648 * gdb.guile/scm-cmd.exp
12649 * gdb.guile/scm-frame-inline.exp
12650 * gdb.guile/scm-objfile.exp
12651 * gdb.guile/scm-pretty-print.exp
12652 * gdb.guile/scm-symbol.exp
12653 * gdb.guile/scm-type.exp
12654 * gdb.guile/scm-value.exp
12655 * gdb.linespec/keywords.exp
12656 * gdb.linespec/ls-errs.exp
12657 * gdb.linespec/macro-relative.exp
12658 * gdb.linespec/thread.exp
12659 * gdb.mi/mi-breakpoint-changed.exp
12660 * gdb.mi/mi-dprintf-pending.exp
12661 * gdb.mi/mi-fullname-deleted.exp
12662 * gdb.mi/mi-logging.exp
12663 * gdb.mi/mi-pending.exp
12664 * gdb.mi/mi-solib.exp
12665 * gdb.mi/new-ui-mi-sync.exp
12666 * gdb.mi/user-selected-context-sync.exp
12667 * gdb.multi/dummy-frame-restore.exp
12668 * gdb.multi/multi-arch-exec.exp
12669 * gdb.multi/remove-inferiors.exp
12670 * gdb.multi/watchpoint-multi-exit.exp
12671 * gdb.opt/solib-intra-step.exp
12672 * gdb.perf/backtrace.exp
12673 * gdb.perf/single-step.exp
12674 * gdb.perf/skip-command.exp
12675 * gdb.perf/skip-prologue.exp
12676 * gdb.perf/solib.exp
12677 * gdb.python/lib-types.exp
12678 * gdb.python/py-as-string.exp
12679 * gdb.python/py-bad-printers.exp
12680 * gdb.python/py-block.exp
12681 * gdb.python/py-breakpoint.exp
12682 * gdb.python/py-cmd.exp
12683 * gdb.python/py-events.exp
12684 * gdb.python/py-evthreads.exp
12685 * gdb.python/py-finish-breakpoint.exp
12686 * gdb.python/py-finish-breakpoint2.exp
12687 * gdb.python/py-frame-inline.exp
12688 * gdb.python/py-frame.exp
12689 * gdb.python/py-inferior.exp
12690 * gdb.python/py-infthread.exp
12691 * gdb.python/py-mi.exp
12692 * gdb.python/py-objfile.exp
12693 * gdb.python/py-pp-maint.exp
12694 * gdb.python/py-pp-registration.exp
12695 * gdb.python/py-prettyprint.exp
12696 * gdb.python/py-recurse-unwind.exp
12697 * gdb.python/py-shared.exp
12698 * gdb.python/py-symbol.exp
12699 * gdb.python/py-symtab.exp
12700 * gdb.python/py-template.exp
12701 * gdb.python/py-type.exp
12702 * gdb.python/py-unwind-maint.exp
12703 * gdb.python/py-unwind.exp
12704 * gdb.python/py-value.exp
12705 * gdb.python/python.exp
12706 * gdb.reverse/finish-reverse-bkpt.exp
12707 * gdb.reverse/insn-reverse.exp
12708 * gdb.reverse/next-reverse-bkpt-over-sr.exp
12709 * gdb.reverse/solib-precsave.exp
12710 * gdb.reverse/solib-reverse.exp
12711 * gdb.stabs/gdb11479.exp
12712 * gdb.stabs/weird.exp
12713 * gdb.threads/fork-child-threads.exp
12714 * gdb.threads/fork-plus-threads.exp
12715 * gdb.threads/fork-thread-pending.exp
12716 * gdb.threads/forking-threads-plus-breakpoint.exp
12717 * gdb.threads/hand-call-in-threads.exp
12718 * gdb.threads/interrupted-hand-call.exp
12719 * gdb.threads/linux-dp.exp
12720 * gdb.threads/local-watch-wrong-thread.exp
12721 * gdb.threads/next-while-other-thread-longjmps.exp
12722 * gdb.threads/non-ldr-exit.exp
12723 * gdb.threads/pending-step.exp
12724 * gdb.threads/print-threads.exp
12725 * gdb.threads/process-dies-while-detaching.exp
12726 * gdb.threads/process-dies-while-handling-bp.exp
12727 * gdb.threads/pthreads.exp
12728 * gdb.threads/queue-signal.exp
12729 * gdb.threads/reconnect-signal.exp
12730 * gdb.threads/signal-command-handle-nopass.exp
12731 * gdb.threads/signal-command-multiple-signals-pending.exp
12732 * gdb.threads/signal-delivered-right-thread.exp
12733 * gdb.threads/signal-sigtrap.exp
12734 * gdb.threads/sigthread.exp
12735 * gdb.threads/staticthreads.exp
12736 * gdb.threads/stepi-random-signal.exp
12737 * gdb.threads/thread-unwindonsignal.exp
12738 * gdb.threads/thread_check.exp
12739 * gdb.threads/thread_events.exp
12740 * gdb.threads/tid-reuse.exp
12741 * gdb.threads/tls-nodebug.exp
12742 * gdb.threads/tls-shared.exp
12743 * gdb.threads/tls-so_extern.exp
12744 * gdb.threads/tls.exp
12745 * gdb.threads/wp-replication.exp
12746 * gdb.trace/actions-changed.exp
12747 * gdb.trace/actions.exp
12748 * gdb.trace/backtrace.exp
12749 * gdb.trace/change-loc.exp
12750 * gdb.trace/collection.exp
12751 * gdb.trace/deltrace.exp
12752 * gdb.trace/disconnected-tracing.exp
12753 * gdb.trace/entry-values.exp
12754 * gdb.trace/ftrace-lock.exp
12755 * gdb.trace/ftrace.exp
12756 * gdb.trace/infotrace.exp
12757 * gdb.trace/mi-trace-frame-collected.exp
12758 * gdb.trace/mi-trace-unavailable.exp
12759 * gdb.trace/mi-traceframe-changed.exp
12760 * gdb.trace/mi-tracepoint-changed.exp
12761 * gdb.trace/mi-tsv-changed.exp
12762 * gdb.trace/no-attach-trace.exp
12763 * gdb.trace/packetlen.exp
12764 * gdb.trace/passc-dyn.exp
12765 * gdb.trace/passcount.exp
12766 * gdb.trace/pending.exp
12767 * gdb.trace/pr16508.exp
12768 * gdb.trace/qtro.exp
12769 * gdb.trace/range-stepping.exp
12770 * gdb.trace/read-memory.exp
12771 * gdb.trace/report.exp
12772 * gdb.trace/save-trace.exp
12773 * gdb.trace/signal.exp
12774 * gdb.trace/stap-trace.exp
12775 * gdb.trace/status-stop.exp
12776 * gdb.trace/strace.exp
12777 * gdb.trace/tfile.exp
12778 * gdb.trace/tfind.exp
12779 * gdb.trace/trace-break.exp
12780 * gdb.trace/trace-condition.exp
12781 * gdb.trace/trace-enable-disable.exp
12782 * gdb.trace/trace-mt.exp
12783 * gdb.trace/tracecmd.exp
12784 * gdb.trace/tracefile-pseudo-reg.exp
12785 * gdb.trace/tspeed.exp
12786 * gdb.trace/tstatus.exp
12787 * gdb.trace/tsv.exp
12788 * gdb.trace/unavailable.exp
12789 * gdb.trace/while-dyn.exp
12790 * gdb.trace/while-stepping.exp
12791 * lib/gdb-guile.exp
12792 * lib/gdb.exp
12793 * lib/mi-support.exp
12794 * lib/pascal.exp
12795 * lib/perftest.exp
12796 * lib/prelink-support.exp
12797 * lib/selftest-support.exp
12798
ad02e4fe
SM
127992016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
12800
12801 * Makefile.in: Include disable-implicit-rules.mk.
12802
22347e55
AA
128032016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12804
12805 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
12806 non-byte-aligned bit fields.
12807
da5b30da
AA
128082016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12809
12810 PR gdb/12616
12811 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
12812 respects the DW_AT_data_bit_offset attribute.
12813
b593ecca
SM
128142016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
12815
12816 * gdb.base/default.exp: Fix output of "set language".
12817
3b165252
SM
128182016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
12819
12820 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
12821 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
12822 make.
12823 * configure.ac: Remove checks for the make program.
12824 * configure: Re-generate.
12825
1a2f3d7f
KB
128262016-11-16 Kevin Buettner <kevinb@redhat.com>
12827
12828 * gdb.python/py-recurse-unwind.c (main): Add loop.
12829 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
12830 to read_register() and gdb.parse_and_eval(). Make each code
12831 call a separate case that can be individually tested.
12832 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
12833 proc. Call cont_and_backtrace for each of the code paths that
12834 we want to test in the unwinder.
12835
b7f38fda
AA
128362016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
12837
12838 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
12839 the definition of struct S.
12840
1f8db343
CM
128412016-11-11 Catherine Moore <clm@codesourcery.com>
12842
12843 * gdb.base/dump.exp: Identify verilog format dump tests as such.
12844
fad0c9fb
PA
128452016-11-09 Pedro Alves <palves@redhat.com>
12846
12847 * gdb.base/commands.exp (runto_or_return): New procedure.
12848 (gdbvar_simple_if_test, gdbvar_simple_while_test)
12849 (gdbvar_complex_if_while_test, progvar_simple_if_test)
12850 (progvar_simple_while_test, progvar_complex_if_while_test)
12851 (if_while_breakpoint_command_test)
12852 (infrun_breakpoint_command_test, breakpoint_command_test)
12853 (user_defined_command_test, watchpoint_command_test)
12854 (test_command_prompt_position, redefine_hook_test)
12855 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
12856 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
12857 multi_line_input and multi_line. Remove gdb_expect and
12858 gdb_stop_suppressing_tests uses.
12859 * lib/gdb.exp (valnum_re): New global.
12860 (multi_line_input): New procedure.
12861
8354c62c
SM
128622016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
12863
12864 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
12865 Remove.
12866 (test_setup): Define with proc_with_prefix.
12867 (test_cli_inferior): Likewise.
12868 (test_cli_thread): Likewise.
12869 (test_cli_frame): Likewise.
12870 (test_cli_select_frame): Likewise.
12871 (test_cli_up_down): Likewise.
12872 (test_mi_thread_select): Likewise.
12873 (test_mi_stack_select_frame): Likewise.
12874 (test_cli_in_mi_inferior): Likewise.
12875 (test_cli_in_mi_thread): Likewise.
12876 (test_cli_in_mi_frame): Likewise.
12877 (top level): Do not use with_test_prefix_procname.
12878
64f367a2
PA
128792016-11-09 Pedro Alves <palves@redhat.com>
12880
12881 * gdb.base/commands.exp (gdbvar_simple_if_test)
12882 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
12883 (progvar_simple_if_test, progvar_simple_while_test)
12884 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
12885 (infrun_breakpoint_command_test, breakpoint_command_test)
12886 (user_defined_command_test, watchpoint_command_test)
12887 (test_command_prompt_position, deprecated_command_test)
12888 (bp_deleted_in_command, temporary_breakpoint_commands)
12889 (stray_arg0_test, source_file_with_indented_comment)
12890 (recursive_source_test, if_commands_test)
12891 (error_clears_commands_left, redefine_hook_test)
12892 (redefine_backtrace_test): Use proc_with_prefix.
12893 * lib/gdb.exp (proc_with_prefix): New proc.
12894
0bb65f1e
AA
128952016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
12896
12897 * gdb.base/tui-layout.c: New file.
12898 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
12899 disassembly window contains very long lines.
12900
7353f247
TT
129012016-11-08 Tom Tromey <tom@tromey.com>
12902
12903 * gdb.python/py-value.exp (test_value_creation): Make "long" test
12904 depend on Python 2.
12905
30a7bb83
TT
129062016-11-08 Tom Tromey <tom@tromey.com>
12907
12908 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
12909 New method.
12910
cdf5a07c
MG
129112016-10-29 Manish Goregaokar <manish@mozilla.com>
12912
2806dc7e 12913 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 12914
51a789c3
MG
129152016-10-27 Manish Goregaokar <manish@mozilla.com>
12916
2806dc7e
PA
12917 * gdb.rust/simple.rs: Add test for univariant enums without
12918 discriminants and for encoded struct-like enums.
51a789c3 12919
f610ab6d
PA
129202016-10-28 Pedro Alves <palves@redhat.com>
12921
12922 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
12923 gdb_test_multiple, tighten regexps and match symtabs and line
12924 tables incrementally.
12925
b129b0ca
LM
129262016-10-28 Luis Machado <lgustavo@codesourcery.com>
12927
12928 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
12929 general.
12930
ecf45d2c
SL
129312016-10-25 Luis Machado <lgustavo@codesourcery.com>
12932
12933 * gdb.base/exec-invalid-sysroot.exp: New file.
12934
b8d38ee4
JK
129352016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12936
12937 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
12938
f90fd8c2
JK
129392016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12940
12941 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
12942
2d2476aa
MR
129432016-10-19 Maciej W. Rozycki <macro@imgtec.com>
12944
2806dc7e
PA
12945 * gdb.base/killed-outside.exp: Remove $options from a call to
12946 `prepare_for_testing'.
2d2476aa 12947
e42b25a0
SM
129482016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12949
12950 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
12951 Change test message.
12952
3ccdb432
SM
129532016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12954
12955 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
12956 Update comment.
12957
5bad3170
SM
129582016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12959
12960 * gdb.trace/mi-trace-save.exp: New file.
12961
5ad9dba7
YQ
129622016-10-13 Yao Qi <yao.qi@linaro.org>
12963
12964 * gdb.base/code_elim.exp (get_var_address): Remove.
12965 * gdb.base/relocate.exp: Likewise.
12966 * gdb.base/shreloc.exp: Likewise.
12967 * lib/gdb.exp (get_var_address): New.
12968
62df7e21
YQ
129692016-10-13 Yao Qi <yao.qi@linaro.org>
12970
12971 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
12972 floating point tests if $skip_float_test is false.
12973
4dac951e
LM
129742016-10-12 Luis Machado <lgustavo@codesourcery.com>
12975
12976 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
12977 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
12978 argc values.
12979 Add 1 to argc so we guarantee distinct initial/modified argc values.
12980
8f1a8fc4
JK
129812016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12982
12983 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
12984
16c85b5d
JK
129852016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12986
12987 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
12988 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
12989 * gdb.arch/vsx-regs.exp: Likewise.
12990
1d0e042a
YQ
129912016-10-07 Yao Qi <yao.qi@linaro.org>
12992
12993 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
12994
68dadef5
MM
129952016-10-07 Markus Metzger <markus.t.metzger@intel.com>
12996
12997 * gdb.python/python.exp: Test decode_line("*0").
12998
33fa2c6e
DE
129992016-10-06 Doug Evans <dje@google.com>
13000
13001 * gdb.python/py-value.exp (test_value_creation): Add test for large
13002 unsigned 64-bit value.
13003
9c37b5ae
TT
130042016-10-06 Tom Tromey <tom@tromey.com>
13005
13006 * gdb.compile/compile.exp: Change java tests to rust.
13007 * gdb.base/setshow.exp: Change java tests to rust.
13008 * gdb.base/default.exp: Remove java from language list.
13009 * README (Examples): Update language example.
13010 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
13011 test.
13012 * lib/gdb.exp (skip_java_tests): Remove.
13013 * lib/java.exp: Remove.
13014 * gdb.java: Remove.
13015
78b86327
MR
130162016-10-06 Maciej W. Rozycki <macro@imgtec.com>
13017
13018 * gdb.arch/mips-fcr.exp: New test.
13019 * gdb.arch/mips-fcr.c: Source for the new test.
13020
7470adbb
MR
130212016-10-06 Maciej W. Rozycki <macro@imgtec.com>
13022
13023 * gdb.base/solib-disc.exp: Use `standard_output_file'
13024 throughout.
13025
4a556533
PA
130262016-10-06 Pedro Alves <palves@redhat.com>
13027
13028 * gdb.base/jit-simple-dl.c: New file.
13029 * gdb.base/jit-simple-jit.c: New file, factored out from ...
13030 * gdb.base/jit-simple.c: ... this.
13031 * gdb.base/jit-simple.exp (jit_run): Delete.
13032 (build_jit): New proc.
13033 (jit_test_reread): Recompile either the main program or the shared
13034 library, depending on what is being tested. Skip changing address
13035 if caller wants to. Compare before/after addresses. If testing
13036 standalone, explicitly load the binary. Test "maint info
13037 breakpoints".
13038 (top level): Add "standalone vs shared lib" and "change address"
13039 vs "same address" axes.
13040
5a122fbc
PA
130412016-10-06 Pedro Alves <palves@redhat.com>
13042
13043 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
13044 call.
13045 (jit_run): Delete.
13046 (jit_test_reread): Use with_test_prefix. Reload the main binary
13047 explicitly. Compare the before/after addresses of the JIT
13048 descriptor.
13049
ee8da4b8
DE
130502016-08-15 Doug Evans <dje@google.com>
13051
13052 * gdb.xml/extra-regs.xml: Update, end field now required, default type
13053 for single bitfields is bool.
13054 * gdb.xml/tdesc-regs.exp: Ditto.
13055
f389f6fe
JK
130562016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
13057
13058 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
13059
fdebf1a4
YQ
130602016-10-05 Yao Qi <yao.qi@linaro.org>
13061
13062 * lib/gdb.exp (support_complex_tests): Return zero if
13063 gdb_skip_float_test return true.
13064
9c36d954 130652016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 13066 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
13067
13068 PR gdb/20487
13069 * gdb.mi/user-selected-context-sync.exp: New file.
13070 * gdb.mi/user-selected-context-sync.c: New file.
13071
4034d0ff 130722016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 13073 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
13074
13075 PR gdb/20487
13076 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
13077 =thread-select-event check.
13078
a4297203
PB
130792016-09-29 Peter Bergner <bergner@vnet.ibm.com>
13080
13081 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
13082 the compulsory L operand changes.
13083 * gdb.arch/powerpc-power.s: Likewise.
13084
bb805577
JK
130852016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13086
13087 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
13088 * gdb.base/jit-attach-pie.c: New file.
13089 * gdb.base/jit-attach-pie.exp: New file.
13090
6d61dee5
PA
130912016-09-28 Pedro Alves <palves@redhat.com>
13092
13093 * gdb.base/infcall-input.c: New file.
13094 * gdb.base/infcall-input.exp: New file.
13095
f73842fc
YQ
130962016-09-22 Yao Qi <yao.qi@linaro.org>
13097
13098 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
13099 (gdb_exit): Rename it to ...
13100 (gdbserver_gdb_exit): ... Close GDBserver.
13101 (gdb_exit): New proc, call gdbserver_gdb_exit.
13102 (mi_gdb_exit): Likewise.
13103
90681dab
YQ
131042016-09-22 Yao Qi <yao.qi@linaro.org>
13105
13106 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
13107 path.
13108 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
13109 Remove duplication.
13110
9c211fd8
YQ
131112016-09-22 Yao Qi <yao.qi@linaro.org>
13112
13113 * lib/gdbserver-support.exp: Check the existence of
13114 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
13115
ad0a504f
AK
131162016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
13117
13118 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
13119
36cf1806
TT
131202016-09-21 Tom Tromey <tom@tromey.com>
13121
13122 PR gdb/20604:
13123 * gdb.base/quit.exp: New file.
13124
74172ecf
SM
131252016-09-21 Simon Marchi <simon.marchi@ericsson.com>
13126
13127 * .gitignore: New file.
13128
3d0ec882
MR
131292016-09-21 Maciej W. Rozycki <macro@imgtec.com>
13130
13131 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
13132 throughout.
13133
8193adea
AA
131342016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13135
13136 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
13137
d41a5c09
JK
131382016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13139
13140 * gdb.cp/casts.cc (decltype): Move it ...
13141 (main): ... with its call to ...
13142 * gdb.cp/casts03.cc: ... a new file.
13143 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
13144
d2dfe700
JK
131452016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13146
13147 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
13148
e2a92b16
PB
131492016-09-15 Peter Bergner <bergner@vnet.ibm.com>
13150
13151 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
13152 and sync up the test with tests in gas/testsuite/gas/ppc.
13153 * gdb.arch/powerpc-power.exp: Likewise.
13154
49b4de64
JK
131552016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13156
13157 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
13158
2c29df25
SDJ
131592016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
13160 Jan Kratochvil <jan.kratochvil@redhat.com>
13161
13162 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
13163 make m1's definition to be different from m2's. Use 'dummy' as an
13164 argument for probe 'two'.
13165
cc3c2846
JB
131662016-09-10 Jon Beniston <jon@beniston.com>
13167
13168 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
13169 for sim target.
13170
e1b2624a
AA
131712016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
13172
13173 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
13174 variable declaration.
13175 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
13176 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
13177 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
13178 received HWCAP as its argument.
13179
4295e285
PA
131802016-09-06 Pedro Alves <palves@redhat.com>
13181
13182 * gdb.base/new-ui-pending-input.c: New file.
13183 * gdb.base/new-ui-pending-input.exp: New file.
13184 * gdb.exp (clear_gdb_spawn_id): New procedure.
13185 (with_spawn_id): Check whether gdb_spawn_id exists before
13186 referencing it. If gdb_spawn_id didn't exist on entry, clear it
13187 on exit.
13188
00d5215e
UW
131892016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
13190
13191 * gdb.base/float128.c: New file.
13192 * gdb.base/float128.exp: Likewise.
13193 * gdb.base/floatn.c: Likewise.
13194 * gdb.base/floatn.exp: Likewise.
13195
a9ff5f12
UW
131962016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
13197
13198 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
13199
f245535c
PA
132002016-09-05 Pedro Alves <palves@redhat.com>
13201
13202 PR backtrace/19927
13203 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
13204 unwinders are immediately called as side effect of "source" or
13205 "disable unwinder" commands.
13206 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
13207
ae9cf263
YQ
132082016-09-02 Yao Qi <yao.qi@linaro.org>
13209
13210 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
13211 is true and $type is "float" or "double".
13212
27aba047
YQ
132132016-09-02 Yao Qi <yao.qi@linaro.org>
13214
13215 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
13216 true.
13217 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
13218 * gdb.base/call-rt-st.exp: Likewise.
13219 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
13220 return value instead of gdb,skip_float_test.
13221 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
13222 (do_function_calls): Use its return value instead of
13223 gdb,skip_float_test.
13224 * gdb.base/finish.exp: Likewise.
13225 * gdb.base/funcargs.exp: Likewise.
13226 * gdb.base/return.exp: Likewise.
13227 * gdb.base/return2.exp: Likewise.
13228 * gdb.base/varargs.exp: Likewise.
13229 * lib/gdb.exp (gdb_skip_float_test): Change it to
13230 gdb_caching_proc. Detect the broken ptrace on arm-linux.
13231
5af962df
AA
132322016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
13233
13234 * gdb.multi/tids.exp: Test "thread apply all".
13235
7fac6910
JK
132362016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13237
13238 * gdb.base/default.exp (tty): Remove.
13239
bb1fe4ac
KB
132402016-08-24 Kevin Buettner <kevinb@redhat.com>
13241
2806dc7e
PA
13242 * gdb.python/py-recurse-unwind.c: New file.
13243 * gdb.python/py-recurse-unwind.py: New file.
13244 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 13245
0a1ddfa6
SM
132462016-08-24 Simon Marchi <simon.marchi@ericsson.com>
13247
13248 * gdb.base/set-inferior-tty.exp: New file.
13249 * gdb.base/set-inferior-tty.c: New file.
13250
d9de1fe3
PA
132512016-08-23 Pedro Alves <palves@redhat.com>
13252
13253 PR gdb/20494
13254 * gdb.base/new-ui-echo.c: New file.
13255 * gdb.base/new-ui-echo.exp: New file.
13256
e9d9abd7
YQ
132572016-08-23 Yao Qi <yao.qi@linaro.org>
13258
13259 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
13260 gdbserver_spawn.
13261 * gdb.server/connect-without-multi-process.exp (do_test):
13262 Likewise.
13263
3589529e
YQ
132642016-08-23 Yao Qi <yao.qi@linaro.org>
13265
13266 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
13267 standalone_txt. Delete gdb_txt and standalone_txt on host
13268 and target. Spawn the binary on target. Copy files from
13269 target to host.
13270
6bb90213
PA
132712016-08-22 Pedro Alves <palves@redhat.com>
13272
13273 PR gdb/20505
13274 * gdb.base/vdso-warning.exp: Test core dumps too. Use
13275 with_test_prefix. Factor out bits to ...
13276 (test_no_vdso): ... this new procedure.
13277
20c2c024
CL
132782016-08-19 Carl Love <cel@us.ibm.com>
13279
13280 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
13281 maintaining separate logic for constructing the output path.
13282 * gdb.arch/powerpc-d128-regs.exp: Likewise.
13283 * gdb.arch/ppc-dfp.exp: Likewise.
13284 * gdb.arch/ppc-fp.exp: Likewise.
13285 * gdb.arch/vsx-regs.exp: Likewise.
13286 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
13287 binprefix for generating the additional binary files.
13288
0646e07d
PA
132892016-08-19 Pedro Alves <palves@redhat.com>
13290
13291 * gdb.trace/mi-trace-frame-collected.exp
13292 (test_trace_frame_collected): On x32, expect two registers.
13293
46da9242
CL
132942016-08-18 Carl Love <cel@us.ibm.com>
13295
13296 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
13297 and sync up the test with tests in gas/testsuite/gas/ppc.
13298 * gdb.arch/powerpc-power.exp: Likewise.
13299
eb2332d7
SM
133002016-08-17 Simon Marchi <simon.marchi@ericsson.com>
13301
13302 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
13303 expected error message.
13304
63c61e04
SM
133052016-08-17 Simon Marchi <simon.marchi@ericsson.com>
13306
13307 * gdb.multi/remove-inferiors.exp: New file.
13308 * gdb.multi/remove-inferiors.c: New file.
13309
7b17065f
YQ
133102016-08-12 Yao Qi <yao.qi@linaro.org>
13311
13312 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
13313 argument list.
13314
01d3dedf
PA
133152016-08-10 Pedro Alves <palves@redhat.com>
13316
13317 PR gdb/19187
13318 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
13319 setup_kfails.
13320
3eb7562a
PA
133212016-08-09 Pedro Alves <palves@redhat.com>
13322 Simon Marchi <simon.marchi@ericsson.com>
13323
13324 PR gdb/20418
13325 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
13326 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
13327
80614914
PA
133282016-08-09 Pedro Alves <palves@redhat.com>
13329
13330 PR mi/20431
13331 * gdb.mi/mi-cmd-error.exp: New file.
13332
f348d89a
PA
133332016-08-09 Pedro Alves <palves@redhat.com>
13334
13335 PR gdb/18653
13336 * gdb.base/signals-state-child.c: New file.
13337 * gdb.base/signals-state-child.exp: New file.
13338 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
13339
e5ca03b4
PA
133402016-08-09 Pedro Alves <palves@redhat.com>
13341
13342 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
13343
282a0691
TT
133442016-08-03 Tom Tromey <tom@tromey.com>
13345
13346 PR python/18565:
13347 * gdb.python/py-frame-inline.exp: Add Frame.function test.
13348
41bfcd63
YQ
133492016-08-01 Yao Qi <yao.qi@linaro.org>
13350
13351 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
13352 variable mode to "multi-process" if $multi_process is 1, otherwise
13353 set it to "single-process".
13354
e3465b24
YQ
133552016-08-01 Yao Qi <yao.qi@linaro.org>
13356
13357 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
13358 * gdb.cp/cpexprs.exp: Likewise.
13359 * gdb.cp/m-static.exp: Likewise.
13360
0b31a4bc
TT
133612016-07-26 Tom Tromey <tom@tromey.com>
13362
13363 PR python/20190:
13364 * gdb.threads/tls.exp (check_thread_local): Add python symbol
13365 test.
13366
e0461dbb
MM
133672016-07-26 Markus Metzger <markus.t.metzger@intel.com>
13368
13369 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
13370 selecting assembly source files.
13371 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
13372 assembly source files.
13373 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
13374 assembly source files.
13375 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
13376 selecting assembly source files.
13377
8194e927
SM
133782016-07-25 Simon Marchi <simon.marchi@ericsson.com>
13379
13380 * gdb.base/new-ui.exp (do_test_invalid_args): New
13381 procedure.
13382
c0272db5
TW
133832016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
13384
13385 * gdb.btrace/reconnect.c: New file.
13386 * gdb.btrace/reconnect.exp: New file.
13387
e3487908
GKB
133882016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
13389
13390 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
13391 to test_catch_syscall_group.
13392 (test_catch_syscall_group): New.
13393
12df5c00
TT
133942016-07-21 Tom Tromey <tom@tromey.com>
13395
13396 * gdb.rust/simple.rs (main): Use empty struct expression.
13397 * gdb.rust/simple.exp: Add tests for empty struct expression.
13398
bae62ee2
YQ
133992016-07-21 Yao Qi <yao.qi@linaro.org>
13400
13401 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
13402 if gdb_skip_xml_test is true on some targets.
13403
b1b53fb3
YQ
134042016-07-21 Yao Qi <yao.qi@linaro.org>
13405
13406 * gdb.server/solib-list.exp: Unset last_loaded_file.
13407
027d97f8
JK
134082016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13409
13410 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
13411 "step into captured_main (args)".
13412
7674d381
JK
134132016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13414
13415 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
13416
72b5d099
JK
134172016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13418
13419 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
13420
1f960ced
PA
134212016-07-19 Pedro Alves <palves@redhat.com>
13422
13423 * gdb.opt/inline-break.exp: Remove optimize=-O2.
13424 * gdb.opt/inline-bt.exp: Likewise.
13425 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
13426 additional_flags=-Winline.
13427 * gdb.opt/inline-locals.exp: Likewise.
13428 * gdb.opt/inline-markers.c (ATTR): Define.
13429 (inlined_fn): Use it.
13430
f25827c1
YQ
134312016-07-19 Yao Qi <yao.qi@linaro.org>
13432
13433 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
13434 (test_with_self): Remove some code. Remove argument executable.
13435 (top-level): Use do_self_tests.
13436
37539ebe
DB
134372016-07-15 Zachary Welch <zwelch@codesourcery.com>
13438 Don Breazeal <donb@codesourcery.com>
13439
13440 * gdb.base/maint.exp: Escape paths used in regular expressions.
13441 * gdb.stabs/weird.exp: Likewise.
13442
dac790e1
TT
134432016-07-13 Tom Tromey <tom@tromey.com>
13444
13445 PR python/15620, PR python/18620:
13446 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
13447 (test_bkpt_events): New procs.
13448
93daf339
TT
134492016-07-13 Tom Tromey <tom@tromey.com>
13450
13451 PR python/17698:
13452 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
13453 test.
13454 (test_watchpoints): Likewise.
13455 (test_bkpt_pending): New proc.
13456
6571a381
TT
134572016-07-13 Tom Tromey <tom@tromey.com>
13458
13459 PR cli/18053:
13460 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
13461 completion test.
13462
e8732474
JK
134632016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13464
13465 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
13466 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
13467 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
13468 f_label.
13469 (g): Rename g_end_lbl to g_label.
13470 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
13471 low_pc and high_pc.
13472 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
13473
e0f3fd7c
TT
134742016-07-12 Tom Tromey <tom@tromey.com>
13475
13476 PR python/19293:
13477 * gdb.python/py-unwind-maint.exp: Update tests.
13478
3cfe46b6
YQ
134792016-07-12 Yao Qi <yao.qi@linaro.org>
13480
13481 * lib/selftest-support.exp (selftest_setup): Match the output
13482 when captured_main is inlined.
13483
4f19a0e6
WT
134842016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
13485
13486 * gdb.fortran/derived-types.exp (result_line, result_line_2):
13487 New variables.
13488 (print this%a, print this%b, print this): New tests.
13489 * gdb.fortran/derived-types.f90 (this): New object and
13490 initialization.
13491
986cf455
SM
134922016-07-06 Simon Marchi <simon.marchi@ericsson.com>
13493
13494 * gdb.ada/arraydim.exp: Remove extra directory level in build
13495 directory.
13496
f0464b23
SM
134972016-07-06 Simon Marchi <simon.marchi@ericsson.com>
13498
13499 * lib/ada.exp: Remove extra directory level in build directory.
13500 * gdb.ada/cond_lang.exp: Likewise.
13501 * gdb.ada/exec_changed.exp: Likewise.
13502 * gdb.ada/lang_switch.exp: Likewise.
13503
42d94011
MG
135042016-07-06 Manish Goregaokar <manish@mozilla.com>
13505
2806dc7e
PA
13506 * simple.rs: Add test for raw pointer subscripting.
13507 * simple.exp: Add test expectations.
42d94011 13508
647c264c
YQ
135092016-07-05 Yao Qi <yao.qi@linaro.org>
13510
13511 * gdb.mi/mi-reverse.exp: Match =record-started output.
13512
20aa2c60
PA
135132016-07-01 Pedro Alves <palves@redhat.com>
13514
13515 * gdb.base/jit-reader.exp (info_registers_current_frame): New
13516 procedure.
13517 (jit_reader_test): Test the jit reader's unwinder.
13518 * gdb.base/jithost.c (jit_function_00_code): New global.
13519 (main): Use memcpy to fill in the mmapped code, instead of poking
13520 bytes manually here.
13521 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
13522 value.
13523 (read_debug_info): Save the function's range.
13524 (read_sp): New function.
13525 (unwind_frame): Use it. Also unwind RBP.
13526 (get_frame_id): Use read_sp.
13527 (gdb_init_reader): Use calloc instead of malloc.
13528 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
13529 parameter. Use gdb_test_multiple.
13530
ced2dffb
PA
135312016-07-01 Pedro Alves <palves@redhat.com>
13532 Antoine Tremblay <antoine.tremblay@ericsson.com>
13533
13534 * gdb.threads/process-dies-while-detaching.c: New file.
13535 * gdb.threads/process-dies-while-detaching.exp: New file.
13536
63000888
PA
135372016-07-01 Pedro Alves <palves@redhat.com>
13538
13539 * gdb.multi/watchpoint-multi-exit.c: New file.
13540 * gdb.multi/watchpoint-multi-exit.exp: New file.
13541
038d4868
PA
135422016-06-30 Pedro Alves <palves@redhat.com>
13543
13544 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
13545 unset inferior_spawn_id.
13546
994e9c83
PA
135472016-06-30 Pedro Alves <palves@redhat.com>
13548
13549 * lib/mi-support.exp (default_mi_gdb_start): Declare global
13550 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
13551
e5653468
YQ
135522016-06-29 Yao Qi <yao.qi@linaro.org>
13553
13554 * gdb.base/return.c: Add copyright header.
13555
803b47e5
TT
135562016-06-29 Tom Tromey <tom@tromey.com>
13557
13558 PR python/20129:
13559 * gdb.python/py-framefilter.exp: Add tests for setting priority
13560 and disabling of non-existent frame filter.
13561
28244707
YQ
135622016-06-29 Yao Qi <yao.qi@linaro.org>
13563
13564 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
13565 0x0f07ff.
13566
a31d2f06
YQ
135672016-06-28 Yao Qi <yao.qi@linaro.org>
13568
13569 * gdb.base/catch-syscall.exp: Remove check on isnative and target
13570 triplets. Start gdb, execute catch syscall, and continue. Check
13571 gdb's output to determine catch syscall is supported.
13572
921d8f54
MG
135732016-06-27 Manish Goregaokar <manish@mozilla.com>
13574
25d49b86
PA
13575 * gdb.rust/simple.rs: Add test for returning unit in a function.
13576 * gdb.rust/simple.exp: Add expectation for functions returning
13577 unit.
921d8f54 13578
f4952523
PMR
135792016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
13580
13581 * gdb.python/py-breakpoint-create-fail.c,
13582 gdb.python/py-breakpoint-create-fail.exp,
13583 gdb.python/py-breakpoint-create-fail.py: New testcase.
13584
fccb08f8
MG
135852016-06-25 Manish Goregaokar <manish@mozilla.com>
13586
13587 PR gdb/20239
13588 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
13589 * gdb.rust/simple.exp: Add test expectations for new NonZero
13590 tests.
fccb08f8 13591
6b850546
DT
135922016-06-24 David Taylor <dtaylor@emc.com>
13593
13594 * gdb.base/offsets.exp: New file.
13595 * gdb.base/offsets.c: New file.
13596
17621150
TT
135972016-06-23 Tom Tromey <tom@tromey.com>
13598
13599 PR gdb/16483:
13600 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
13601 before any filters are loaded.
13602
04d59df6
WT
136032016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
13604
13605 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
13606 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
13607 structs.
13608 * gdb.fortran/derived-type-function.exp: New file.
13609 * gdb.fortran/derived-type-function.f90: New file.
13610
13611
ac69f786
PA
136122016-06-21 Pedro Alves <palves@redhat.com>
13613
13614 * gdb.base/new-ui.exp: New file.
13615 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
13616 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
13617 (with_spawn_id): New procedure.
13618
49940788
PA
136192016-06-21 Pedro Alves <palves@redhat.com>
13620
13621 * gdb.mi/mi-exec-run.exp: New file.
13622
ef274d26
PA
136232016-06-21 Pedro Alves <palves@redhat.com>
13624
13625 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
13626 breakpoint command's output on the main UI.
13627 (test_break): New procedure, factored out from calls in the top
13628 level.
13629 (top level): Use foreach_with_prefix to test MI as main UI and as
13630 separate UI.
13631
468afe6c
PA
136322016-06-21 Pedro Alves <palves@redhat.com>
13633
13634 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
13635 (test_awatch_creation_and_listing)
13636 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
13637 Remove 'type' parameter.
13638 (test_watchpoint_all): New parameter mi_mode. Remove
13639 with_test_prefix.
13640 (top level): Use foreach_with_prefix, and add main/separate UI MI
13641 testing axis.
13642
51f77c37
PA
136432016-06-21 Pedro Alves <palves@redhat.com>
13644
13645 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
13646 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
13647 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
13648 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
13649 (gdb_main_spawn_id, mi_spawn_id): Declare and
13650 comment.
13651 (mi_create_inferior_pty): New procedure,
13652 factored out from default_mi_gdb_start.
13653 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
13654 procedures.
13655 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
13656 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
13657 Use mi_create_inferior_pty.
13658 (mi_gdb_start): Use eval to pass down args list.
13659
8980e177
PA
136602016-06-21 Pedro Alves <palves@redhat.com>
13661
13662 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
13663 * gdb.opt/inline-cmds.exp: Add MI tests.
13664
f38d3ad1
PA
136652016-06-21 Pedro Alves <palves@redhat.com>
13666
13667 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
13668
45db7c09
PA
136692016-06-21 Pedro Alves <palves@redhat.com>
13670
13671 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
13672 (top level): Use it instead of mi_execute_to.
13673
5a069ab3
PA
136742016-06-21 Pedro Alves <palves@redhat.com>
13675
13676 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
13677 (cont_handler_str): New.
13678 (signal_stop_handler): Set stop_handler_str instead of printing to
13679 stdout.
13680 (continue_handler): Set cont_handler_str instead of printing to
13681 stdout.
13682 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
13683 mi_send_resuming_command. Print stop_handler_str and
13684 cont_handler_str instead of expecting the python events print
13685 directly.
13686
2838cc1d
SD
136872016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
13688
13689 * gdb.base/jit-reader.exp: New file.
13690 * gdb.base/jithost.c: New file.
13691 * gdb.base/jithost.h: New file.
13692 * gdb.base/jitreader.c : New file.
13693 * gdb.base/jit-protocol.h: New file.
13694
21a77091
YQ
136952016-06-17 Yao Qi <yao.qi@linaro.org>
13696
13697 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
13698 parameters follow_fork and detach_on_fork. Set follow-fork-mode
13699 and detach-on-fork. Adjust tests.
13700 (top level): Invoke break_cond_on_syscall with combinations of
13701 syscall, follow-fork-mode and detach-on-fork.
13702
f50bf8e5
YQ
137032016-06-17 Yao Qi <yao.qi@linaro.org>
13704
13705 * gdb.base/step-over-exit.c: New.
13706 * gdb.base/step-over-exit.exp: New.
13707
a28d8e50
YTL
137082016-06-17 Yan-Ting Lin <currygt52@gmail.com>
13709
13710 * gdb.base/float.exp: Add target check for nds32*-*-*.
13711 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
13712
cad8e26d
AB
137132016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
13714
13715 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
13716 for unsupported target features.
13717 * gdb.base/call-rt-st.exp: Likewise.
13718 * gdb.base/call-sc.exp: Likewise.
13719 * gdb.base/call-signal-resume.exp: Likewise.
13720 * gdb.base/call-strs.exp: Likewise.
13721 * gdb.base/callexit.exp: Likewise.
13722 * gdb.base/callfuncs.exp: Likewise.
13723 * gdb.base/nodebug.exp: Likewise.
13724 * gdb.base/printcmds.exp: Likewise.
13725 * gdb.base/ptype.exp: Likewise.
13726 * gdb.base/structs.exp: Likewise.
13727 * gdb.base/unwindonsignal.exp: Likewise.
13728 * gdb.cp/gdb2495.exp: Likewise.
13729 * gdb.cp/templates.exp: Likewise.
13730 * gdb.cp/virtfunc.exp: Likewise.
13731 * gdb.threads/hand-call-in-threads.exp: Likewise.
13732 * gdb.threads/interrupted-hand-call.exp: Likewise.
13733 * gdb.threads/thread-unwindonsignal.exp: Likewise.
13734
347dc102
TT
137352016-06-10 Tom Tromey <tom@tromey.com>
13736
13737 PR rust/20110:
13738 * gdb.rust/expr.exp: Add test for integer constant larger than
13739 i32.
13740
5e13cf25
BH
137412016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
13742
13743 * gdb.fortran/nested-funcs.exp: New.
13744 * gdb.fortran/nested-funcs.f90: New.
13745
bb556f1f
TK
137462016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
13747
13748 * gdb.base/examine-backward.c: New file.
13749 * gdb.base/examine-backward.exp: New file.
13750
38b022b4
SM
137512016-06-06 Simon Marchi <simon.marchi@ericsson.com>
13752
13753 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
13754 matching.
13755
1b40ec05
TT
137562016-06-02 Tom Tromey <tom@tromey.com>
13757
13758 PR python/18984:
13759 * gdb.python/py-shared.exp: Add solib_name test.
13760
193bd378
SM
137612016-06-02 Simon Marchi <simon.marchi@ericsson.com>
13762
13763 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
13764
3326303b
MG
137652016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
13766
13767 PR c++/19893
13768 * gdb.dwarf2/implref.exp: Rename to...
13769 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
13770 * gdb.dwarf2/implref-array.c: New file.
13771 * gdb.dwarf2/implref-array.exp: Likewise.
13772 * gdb.dwarf2/implref-global.c: Likewise.
13773 * gdb.dwarf2/implref-global.exp: Likewise.
13774 * gdb.dwarf2/implref-struct.c: Likewise.
13775 * gdb.dwarf2/implref-struct.exp: Likewise.
13776
825c8ef2
AT
137772016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13778
13779 * gdb.trace/trace-condition.exp: Add 64bit tests.
13780
2320162a
AT
137812016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13782
13783 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
13784 bits types.
13785 (main): Adapt to 8 to 64 bits types.
13786 * gdb.trace/trace-condition.exp: Add new tests.
13787
a7818233
AT
137882016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13789
13790 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
13791
0d336466
AT
137922016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13793
13794 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
13795 Move condition tests...
13796 * gdb.trace/trace-condition.exp: Here.
13797
7faeb45a
AT
137982016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13799
13800 * gdb.trace/trace-condition.exp: Add counter-case tests.
13801
e385593e
JK
138022016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13803
13804 PR c++/15231
13805 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
13806 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
13807
744608cc
PA
138082016-05-27 Pedro Alves <palves@redhat.com>
13809
13810 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
13811 New procedure.
13812 (top level): Call it, and bail out of DejaGnu is known to be bad.
13813
ac775bf4
AB
138142016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
13815
13816 * gdb.base/whatis.c: Extend the test case.
13817 * gdb.base/whatis.exp: Add additional tests.
13818
2bbad2ea
BH
138192016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13820
13821* gdb.fortran/type.f90: Add pointer variable.
13822* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
13823
8b70175d
BH
138242016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13825
13826 * gdb.fortran/vla-type.exp: Fix testcase name.
13827
86d8a848
BH
138282016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13829
13830 * gdb.fortran/vla-type.exp: Access elements in nested structs.
13831
e188eb36
BH
138322016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13833
13834 * gdb.fortran/type.f90: Add nested structures.
13835 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
13836 * gdb.fortran/derived-type.exp: Adapt expected output.
13837 * gdb.fortran/vla-type.exp: Adapt expected output.
13838
9b2db1fd
BH
138392016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13840
13841 * gdb.fortran/whatis_type.exp: Adapt expected output.
13842
72b17055
BH
138432016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13844
13845 * gdb.fortran/print_type.exp: Fix expected output.
13846 * gdb.fortran/whatis_type.exp: Fix expected output.
13847
3cd81d8d
BH
138482016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13849
13850 * gdb.fortran/whatis_type.exp: Use multi_line.
13851
ddae9462
TT
138522016-05-24 Tom Tromey <tom@tromey.com>
13853
13854 PR python/17386:
13855 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
13856 use value as an index.
13857
1957f6b8
TT
138582016-05-23 Tom Tromey <tom@tromey.com>
13859
13860 PR python/17981:
13861 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
13862 no-breakpoint case.
13863
026a9174
PA
138642016-05-24 Pedro Alves <palves@redhat.com>
13865
13866 PR gdb/19828
13867 * gdb.threads/clone-attach-detach.c: New file.
13868 * gdb.threads/clone-attach-detach.exp: New file.
13869
e70a7231
FR
138702016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
13871
13872 * gdb.base/annota-input-while-running.exp: Fix syntax error.
13873
0f6ed0e0
TT
138742016-05-23 Tom Tromey <tom@tromey.com>
13875
13876 PR python/19438, PR python/18393:
13877 * gdb.python/py-progspace.exp: Add "dir" test.
13878 * gdb.python/py-objfile.exp: Add "dir" test.
13879
ffd19d61
YQ
138802016-05-23 Yao Qi <yao.qi@linaro.org>
13881
13882 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
13883 * gdb.arch/thumb2-it.exp: Likewise.
13884
9e8f9b05
SM
138852016-05-18 Simon Marchi <simon.marchi@ericsson.com>
13886
13887 * gdb.mi/mi-threads-interrupt.c: New file.
13888 * gdb.mi/mi-threads-interrupt.exp: New file.
13889
61c6156d
SM
138902016-05-17 Simon Marchi <simon.marchi@ericsson.com>
13891
13892 PR gdb/18077
13893 * gdb.mi/mi-async-run.exp: New file.
13894 * gdb.mi/mi-async-run.c: New file.
13895
67218854
TT
138962016-05-17 Tom Tromey <tom@tromey.com>
13897 Manish Goregaokar <manishsmail@gmail.com>
13898
13899 * lib/rust-support.exp: New file.
13900 * lib/gdb.exp (skip_rust_tests): New proc.
13901 (build_executable_from_specs): Handle rust.
13902 * lib/future.exp (gdb_find_rustc): New proc.
13903 (gdb_default_target_compile): Handle rust.
13904 * gdb.rust/expr.exp: New file.
13905 * gdb.rust/generics.exp: New file.
13906 * gdb.rust/generics.rs: New file.
13907 * gdb.rust/methods.exp: New file.
13908 * gdb.rust/methods.rs: New file.
13909 * gdb.rust/modules.exp: New file.
13910 * gdb.rust/modules.rs: New file.
13911 * gdb.rust/simple.exp: New file.
13912 * gdb.rust/simple.rs: New file.
13913
c44af4eb
TT
139142016-05-17 Tom Tromey <tom@tromey.com>
13915
13916 * gdb.base/default.exp (set language): Add rust.
13917
dcd1f979
TT
139182016-05-17 Tom Tromey <tom@tromey.com>
13919
13920 * gdb.gdb/unittest.exp: New file.
13921
155b7f57
YQ
139222016-05-16 Yao Qi <yao.qi@linaro.org>
13923
13924 * gdb.base/batch-preserve-term-settings.exp: Remove variable
13925 shell_prompt. Update shell_prompt_re.
13926
8ddd5a6c
DE
139272016-05-12 Doug Evans <dje@google.com>
13928
13929 PR symtab/19999
13930 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
13931 $options when building executable.
13932 * gdb.dwarf2/fission-loclists-pie.S: New file.
13933 * gdb.dwarf2/fission-loclists-pie.exp: New file.
13934
02e370d9
SM
139352016-05-04 Simon Marchi <simon.marchi@ericsson.com>
13936
13937 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
13938 of [is_remote target],
13939
8929ad8b
SM
139402016-05-04 Simon Marchi <simon.marchi@ericsson.com>
13941
13942 * lib/gdb.exp (use_gdb_stub): New procedure.
13943
6c447423
DE
139442016-05-03 Yunlian Jiang <yunlian@google.com>
13945 Doug Evans <dje@google.com>
13946
13947 PR symtab/19914
13948 * gdb.dwarf2/dwp-sepdebug.c: New file.
13949 * gdb.dwarf2/dwp-sepdebug.exp: New file.
13950
444e826c
SM
139512016-05-02 Simon Marchi <simon.marchi@ericsson.com>
13952
13953 * gdb.base/detach.exp: Remove is_remote check.
13954
740feeaa
SM
139552016-05-02 Simon Marchi <simon.marchi@ericsson.com>
13956
13957 * gdb.base/annota-input-while-running.exp: Don't check for
13958 [is_remote target]. Enable annotations after running to main.
13959 Remove unused "set test..." line.
13960
9080ac9d
SM
139612016-04-28 Simon Marchi <simon.marchi@ericsson.com>
13962
13963 * gdb.trace/trace-enable-disable.exp: New file.
13964 * gdb.trace/trace-enable-disable.c: New file.
13965
952ebca5
SM
139662016-04-28 Simon Marchi <simon.marchi@ericsson.com>
13967
13968 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
13969 use it in info sharedlibrary test.
13970 * gdb.trace/ftrace-lock.exp: Likewise.
13971 * gdb.trace/ftrace.exp: Likewise.
13972 * gdb.trace/range-stepping.exp: Likewise.
13973 * gdb.trace/trace-break.exp: Likewise.
13974 * gdb.trace/trace-condition.exp: Likewise.
13975 * gdb.trace/trace-mt.exp: Likewise.
13976
d9019901
SM
139772016-04-27 Simon Marchi <simon.marchi@ericsson.com>
13978
13979 * lib/gdb.exp (gdb_load_shlibs): Rename to...
13980 (gdb_load_shlib): ... this.
13981 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
13982 gdb_load_shlib.
13983 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
13984 * gdb.base/ctxobj.exp: Likewise.
13985 * gdb.base/dprintf-pending.exp: Likewise.
13986 * gdb.base/dso2dso.exp: Likewise.
13987 * gdb.base/fixsection.exp: Likewise.
13988 * gdb.base/gcore-relro.exp: Likewise.
13989 * gdb.base/gdb1555.exp: Likewise.
13990 * gdb.base/global-var-nested-by-dso.exp: Likewise.
13991 * gdb.base/gnu-ifunc.exp: Likewise.
13992 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
13993 * gdb.base/jit-so.exp (one_jit_test): Likewise.
13994 * gdb.base/pending.exp: Likewise.
13995 * gdb.base/print-file-var.exp: Likewise.
13996 * gdb.base/print-symbol-loading.exp: Likewise.
13997 * gdb.base/shlib-call.exp: Likewise.
13998 * gdb.base/shreloc.exp: Likewise.
13999 * gdb.base/so-impl-ld.exp: Likewise.
14000 * gdb.base/solib-disc.exp: Likewise.
14001 * gdb.base/solib-nodir.exp: Likewise.
14002 * gdb.base/solib-overlap.exp: Likewise.
14003 * gdb.base/solib-symbol.exp: Likewise.
14004 * gdb.base/solib-weak.exp (do_test): Likewise.
14005 * gdb.base/sym-file.exp: Likewise.
14006 * gdb.base/symtab-search-order.exp: Likewise.
14007 * gdb.base/type-opaque.exp: Likewise.
14008 * gdb.base/unload.exp: Likewise.
14009 * gdb.base/watchpoint-solib.exp: Likewise.
14010 * gdb.compile/compile.exp: Likewise.
14011 * gdb.cp/gdb2384.exp: Likewise.
14012 * gdb.cp/infcall-dlopen.exp: Likewise.
14013 * gdb.cp/re-set-overloaded.exp: Likewise.
14014 * gdb.fortran/library-module.exp: Likewise.
14015 * gdb.opt/solib-intra-step.exp: Likewise.
14016 * gdb.python/py-finish-breakpoint.exp: Likewise.
14017 * gdb.python/py-shared.exp: Likewise.
14018 * gdb.reverse/solib-precsave.exp: Likewise.
14019 * gdb.reverse/solib-reverse.exp: Likewise.
14020 * gdb.server/solib-list.exp: Likewise.
14021 * gdb.threads/dlopen-libpthread.exp: Likewise.
14022 * gdb.threads/tls-shared.exp: Likewise.
14023 * gdb.threads/tls-so_extern.exp: Likewise.
14024 * gdb.trace/change-loc.exp: Likewise.
14025 * gdb.trace/ftrace-lock.exp: Likewise.
14026 * gdb.trace/ftrace.exp: Likewise.
14027 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
14028 * gdb.trace/pending.exp: Likewise.
14029 * gdb.trace/range-stepping.exp: Likewise.
14030 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
14031 (strace_info_marker): Likewise.
14032 (strace_probe_marker): Likewise.
14033 (strace_trace_on_same_addr): Likewise.
14034 (strace_trace_on_diff_addr): Likewise.
14035 * gdb.trace/trace-break.exp: Likewise.
14036 * gdb.trace/trace-condition.exp: Likewise.
14037 * gdb.trace/trace-mt.exp: Likewise.
14038
fca4cfd9
SM
140392016-04-27 Simon Marchi <simon.marchi@ericsson.com>
14040
14041 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
14042 result of gdb_remote_download.
14043 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
14044 * gdb.base/dso2dso.exp: Likewise.
14045 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14046 * gdb.base/print-file-var.exp: Likewise.
14047 * gdb.base/shlib-call.exp: Likewise.
14048 * gdb.base/shreloc.exp: Likewise.
14049 * gdb.base/solib-overlap.exp: Likewise.
14050 * gdb.base/solib-weak.exp (do_test): Likewise.
14051 * gdb.base/unload.exp: Likewise.
14052
11cf4ffb
YQ
140532016-04-27 Yao Qi <yao.qi@linaro.org>
14054
14055 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
14056 exists.
14057
3e2e34f8
KB
140582016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14059
14060 * vla-type.exp: Print structure from toplevel.
14061
8f07e298
BH
140622016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14063
14064 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
14065 of dynamic types.
14066 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
14067 of dynamic types.
14068
9920b434
BH
140692016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14070
14071 * gdb.fortran/vla-type.f90: New file.
14072 * gdb.fortran/vla-type.exp: New file.
14073
f3abeff5
YQ
140742016-04-25 Yao Qi <yao.qi@linaro.org>
14075
14076 * gdb.base/branch-to-self.c: New file.
14077 * gdb.base/branch-to-self.exp: New file.
14078
0a5d52f0
YQ
140792016-04-22 Yao Qi <yao.qi@linaro.org>
14080
14081 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
14082 more after $hex.
14083
495346f6
YQ
140842016-04-22 Yao Qi <yao.qi@linaro.org>
14085
14086 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
14087 * gdb.base/annota3.exp: Likewise.
14088
4a7e075c
YQ
140892016-04-22 Yao Qi <yao.qi@linaro.org>
14090
14091 * gdb.reverse/step-precsave.exp: Do one step and test program
14092 stops in "callee" and do multiple steps until program goes out
14093 of "callee".
14094 * gdb.reverse/step-reverse.exp: Likewise.
14095
5b061e98
YQ
140962016-04-22 Yao Qi <yao.qi@linaro.org>
14097
14098 * gdb.trace/signal.exp: Also pass if
14099 $tracepoint_hits($i) > $iterations.
14100
5c5dc57f
YQ
141012016-04-22 Yao Qi <yao.qi@linaro.org>
14102
14103 * gdb.trace/signal.c: New file.
14104 * gdb.trace/signal.exp: New file.
14105
a55411b9
DE
141062016-04-19 Doug Evans <xdje42@gmail.com>
14107
14108 * gdb.base/bad-file.exp: New file.
14109
a22df60a
MG
141102016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
14111
14112 * gdb.dwarf2/implref.exp: New file.
14113
0c13f7e5
BH
141142016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
14115
14116 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
14117 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
14118 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
14119 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
14120 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
14121 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
14122 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
14123 * lib/fortran.exp (fortran_int4): New procedure.
14124 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
14125 (fortran_logical4): Likewise.
14126
9b9b09e9
BH
141272016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
14128
14129 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
14130
a14d1f4d
BH
141312016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
14132
14133 * lib/compiler.c: Add Intel specific preprocessor macros.
14134 * lib/compiler.cc: Likewise.
25d49b86 14135
7d49b1d0
LM
141362016-04-13 Luis Machado <lgustavo@codesourcery.com>
14137
14138 * gdb.server/connect-with-no-symbol-file.c: New file.
14139 * gdb.server/connect-with-no-symbol-file.exp: New file.
14140
8392fa22
SM
141412016-04-13 Simon Marchi <simon.marchi@ericsson.com>
14142
14143 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
14144
8c4c4aeb
SM
141452016-04-13 Simon Marchi <simon.marchi@ericsson.com>
14146
14147 * boards/gdbserver-base.exp (${board}_download): Copy source file to
14148 standard output directory.
14149
45e3745e
AT
141502016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
14151
14152 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
14153
e26b7e41
MM
141542016-04-13 Markus Metzger <markus.t.metzger@intel.com>
14155
14156 * gdb.btrace/instruction_history.c (loop): Add declaration.
14157
8ce09462
AT
141582016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
14159
14160 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
14161
2e88a1ea
SM
141622016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
14163
14164 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
14165 parentheses to print.
14166 (continue_handler): Likewise.
14167
f48e22e3
SM
141682016-04-08 Simon Marchi <simon.marchi@ericsson.com>
14169
14170 * gdb.server/solib-list.exp: Remove is_remote check.
14171 Pass shlib= to gdb_compile. Don't link shared library with
14172 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
14173 Run binary filename through "readlink -f" on the target.
14174
096be756
PA
141752016-04-08 Pedro Alves <palves@redhat.com>
14176
14177 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
14178 interpreter filename as argument to gdbserver_spawn.
14179 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
14180 Return empty if $last_loaded_file does not exist.
14181
06500533
JK
141822016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14183
14184 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
14185 * gdb.base/jit-main.c: Use exit after usage.
14186
2d35e871
JK
141872016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14188
14189 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
14190 GDBHISTSIZE prior to the tests.
14191 * gdb.base/gdbinit-history.exp: Likewise.
14192
141932016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
14194
14195 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
14196 instead of build_executable. Use gdb_load_shlibs.
14197
c8064e7e
YQ
141982016-04-07 Yao Qi <yao.qi@linaro.org>
14199
14200 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
14201 Execute "si" command.
14202
bde47561
YQ
142032016-04-07 Yao Qi <yao.qi@linaro.org>
14204
14205 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
14206 number instead of the comments on some line.
14207
b16f8a3b
DB
142082016-04-06 Don Breazeal <donb@codesourcery.com>
14209
14210 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
14211 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
14212
c2f901df
SM
142132016-04-06 Simon Marchi <simon.marchi@ericsson.com>
14214
14215 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
14216 standard_output_file. Remove unused binfile variable.
14217
ac17fda0
CU
142182016-04-05 Catalin Udma <catalin.udma@freescale.com>
14219
14220 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
14221 * gdb.python/py-mi-objfile.exp: Match "list main" output
14222 in console format.
14223
03a8c4df
SM
142242016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
14225
14226 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
14227 absolute.
14228
6e774b13
SM
142292016-04-05 Simon Marchi <simon.marchi@ericsson.com>
14230
14231 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
14232 absolute.
14233 * gdb.trace/ftrace.exp: Likewise.
14234 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
14235 targets as well.
14236 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
14237 (gdb_load_shlibs): Copy libraries to test directory when testing
14238 natively. Only set solib-search-path if testing remotely.
14239 * lib/mi-support.exp (mi_load_shlibs): Likewise.
14240
7817ea46
SM
142412016-04-05 Simon Marchi <simon.marchi@ericsson.com>
14242
14243 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
14244 gdb_download. Use it even if the target is not remote.
14245 * gdb.base/jit.exp (compile_jit_test): Likewise.
14246 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
14247 output directory if the destination board is local, otherwise use
14248 the standard remote_download from DejaGnu.
14249 (gdb_download): Remove.
14250 (gdb_load_shlibs): Use gdb_remote_download instead of
14251 gdb_download.
14252 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
14253 Use gdb_remote_download instead of gdb_download. Use it even if
14254 the target is not remote.
14255 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
14256 instead of gdb_download.
14257
7beb7f68
SM
142582016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
14259
14260 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
14261 (test_insert_delete_modify): Call mi_load_shlibs before trying to
14262 run.
14263
cc63428a
AV
142642016-04-01 Artemiy Volkov <artemiyv@acm.org>
14265
14266 PR gdb/19820
14267 * gdb.base/printcmds.exp: Add artificial arrays tests.
14268
64cdf930
PA
142692016-03-31 Pedro Alves <palves@redhat.com>
14270
14271 PR gdb/19858
14272 * gdb.base/jit-main.c: Include unistd.h.
14273 (ATTACH): Define to 0 if not already defined.
14274 (wait_for_gdb, mypid): New globals.
14275 (WAIT_FOR_GDB): New macro.
14276 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
14277 some breakpoint locations.
14278 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
14279 New procedures.
14280 (one_jit_test): Add REATTACH parameter, and handle it. Use
14281 continue_to_test_location.
14282 (top level): Test attach, and adjusts calls to one_jit_test.
14283
40dea8cb
PA
142842016-03-31 Pedro Alves <palves@redhat.com>
14285
14286 PR gdb/19858
14287 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
14288 BINSUFFIX parameter, and handle it.
14289 (top level): Adjust calls compile_jit_test.
14290
e7ea3ec7
CU
142912016-03-31 Catalin Udma <catalin.udma@freescale.com>
14292
14293 PR python/19743
14294 * gdb.python/py-mi-events-gdb.py: New file.
14295 * gdb.python/py-mi-events.c: New file.
14296 * gdb.python/py-mi-events.exp: New file.
14297
e6359af3
YQ
142982016-03-30 Yao Qi <yao.qi@linaro.org>
14299
14300 * gdb.reverse/until-precsave.exp: Match function name only.
14301 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
14302 Move malloc to a condition block.
14303 * gdb.reverse/until-reverse.exp: Match function name only.
14304
a4105d04
MK
143052016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
14306
14307 * gdb.trace/ftrace.exp: Set arg0exp for s390.
14308 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
14309 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
14310 variable for GPR 0 instead of assuming it is register 0.
14311 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
14312 * lib/trace-support.exp: Add s390 registers.
14313
bfa6adb9
YQ
143142016-03-29 Yao Qi <yao.qi@linaro.org>
14315
14316 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
14317
1e6697ea
YQ
143182016-03-24 Yao Qi <yao.qi@linaro.org>
14319
14320 * gdb.reverse/break-reverse.exp: Add quotation mark in the
14321 test message.
14322
64bcd522
AA
143232016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14324
14325 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
14326 maintaining separate logic for constructing the output path.
14327
7868401b
DB
143282016-03-16 Don Breazeal <donb@codesourcery.com>
14329
14330 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
14331 Retry fork and waitpid on interrupted system call errors.
14332 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14333 Use with_timeout_factor to increase timeout by factor of 10.
14334
1cafadb4
DB
143352016-03-15 Don Breazeal <donb@codesourcery.com>
14336
14337 * gdb.cp/scope-err.cc: New test program.
14338 * gdb.cp/scope-err.exp: New test script.
14339 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
14340 lines and "set breakpoint here" comment.
14341 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
14342 Fixed some whitespace and format issues.
14343 * gdb.mi/mi-linespec-err-cp.cc: New test program.
14344 * gdb.mi/mi-linespec-err-cp.exp: New test script.
14345
81516450
DE
143462016-03-15 Doug Evans <dje@google.com>
14347
14348 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
14349 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
14350 All callers updated. Add tests for enums, mixed flags register.
14351
aa52b601
DE
143522016-03-15 Doug Evans <dje@google.com>
14353
14354 * gdb.base/skip.c (main): Call test_skip_file_and_function.
14355 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
14356
fa4ff313
SM
143572016-03-14 Simon Marchi <simon.marchi@ericsson.com>
14358
14359 * gdb.base/default.exp: Add $_as_string to the list of expected
14360 convenience functions.
14361
f2403c39
AB
143622016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
14363
14364 * gdb.base/maint.exp: New tests for 'maint info line-table'.
14365
f2f3ccb9
SM
143662016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
14367
14368 * gdb.python/py-as-string.exp: New file.
14369 * gdb.python/py-as-string.c: New file.
14370
00dbd492
PA
143712016-03-09 Pedro Alves <palves@redhat.com>
14372
14373 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
14374 signal" -> "Thread NN received signal" output change.
14375 * gdb.threads/ia64-sigill.exp: Likewise.
14376 * gdb.threads/linux-dp.exp: Likewise.
14377 * gdb.threads/manythreads.exp: Likewise.
14378 * gdb.threads/pending-step.exp: Likewise.
14379 * gdb.threads/print-threads.exp: Likewise.
14380 * gdb.threads/sigstep-threads.exp: Likewise.
14381 * gdb.threads/staticthreads.exp: Likewise.
14382 * gdb.threads/tls.exp: Likewise.
14383
1e6697ea
YQ
143842016-03-09 Pedro Alves <palves@redhat.com>
14385
14386 * gdb.base/command-line-input.exp: New file.
14387
b04fd3be
MK
143882016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14389
14390 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
14391 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
14392 * gdb.trace/pending.exp: Accept leading dot before function name.
14393 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
14394 * lib/trace-support.exp: Set registers for ppc.
14395
98fa59e9
MK
143962016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14397
14398 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
14399 use it for disassembly; accept .main in addition to main in backtrace.
14400
f77198c8
MK
144012016-03-09 Wei-cheng Wang <cole945@gmail.com>
14402 Marcin Kościelnicki <koriakin@0x04.net>
14403
14404 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
14405 (gdb_recursion_test_ptr): New global variable.
14406 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
14407 gdb_recursion_test.
14408 (gdb_c_test): Ditto.
14409
ba84e0da
MK
144102016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14411
14412 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
14413 ordering.
14414
4366d36e
MK
144152016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14416
14417 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
14418 (bar): Add bar_start_lbl label.
14419 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
14420 of foo/bar for emitting DWARF and tracing.
14421
5eb264df
SDJ
144222016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
14423
14424 * analyze-racy-logs.py: Set executable bit.
14425
fb6a751f
SDJ
144262016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
14427
14428 * Makefile.in (DEFAULT_RACY_ITER): New variable.
14429 (CHECK_TARGET_TMP): Likewise.
14430 (check-single-racy): New rule.
14431 (check-parallel-racy): Likewise.
14432 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
14433 (do-check-parallel-racy): New rule.
14434 (check-racy/%.exp): Likewise.
14435 * README (Racy testcases): New section.
14436 * analyze-racy-logs.py: New file.
14437
bdf7e230
DE
144382016-03-03 Doug Evans <dje@google.com>
14439
14440 * gdb.base/skip.exp: Use with_test_prefix.
14441
4719d415
YQ
144422016-03-03 Yao Qi <yao.qi@linaro.org>
14443
14444 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
14445 Invoke step_over_syscall "clone" and break_cond_on_syscall
14446 "clone".
14447 * gdb.base/step-over-clone.c: New file.
14448
ea507862
YQ
144492016-03-03 Yao Qi <yao.qi@linaro.org>
14450
14451 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
14452 code format.
14453
8fc8cbda
YQ
144542016-03-03 Yao Qi <yao.qi@linaro.org>
14455
14456 * gdb.base/disp-step-fork.c: Rename to ...
14457 * gdb.base/step-over-fork.c: ... it. New file.
14458 * gdb.base/disp-step-vfork.c: Rename to ...
14459 * gdb.base/step-over-vfork.c: ... it. New file.
14460 * gdb.base/disp-step-syscall.exp: Rename to ...
14461 * gdb.base/step-over-syscall.exp: ... it. New file.
14462 (disp_step_cross_syscall): Rename to ...
14463 (step_over_syscall): ... it.
14464
92fa70b0
YQ
144652016-03-03 Yao Qi <yao.qi@linaro.org>
14466
14467 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
14468 If target supports condition evaluation on target, invoke
14469 break_cond_on_syscall for fork and vfork.
14470
e197ad3c
YQ
144712016-03-03 Yao Qi <yao.qi@linaro.org>
14472
14473 * gdb.base/disp-step-syscall.exp: Don't invoke
14474 support_displaced_stepping.
14475 (disp_step_cross_syscall): Test with displaced stepping off and
14476 on if supported.
14477
0b47da9f
YQ
144782016-03-03 Yao Qi <yao.qi@linaro.org>
14479
14480 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
14481 proc.
14482 (setup): New proc.
14483 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
14484 and setup.
14485
065ab6dc
BH
144862016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14487
14488 * gdb.fortran/vla-history.exp: Remove breakpoint.
14489
07e448ad 144902016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14491
25d49b86
PA
14492 * gdb.fortran/vla-history.exp: Lookup array elements and printing
14493 exceeds timeout.
07e448ad 14494
9ac2d526 144952016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14496
25d49b86
PA
14497 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
14498 breakpoint.
9ac2d526 14499
17807369
BH
145002016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14501
14502 * gdb.mi/vla.f90: Nullify pointer after declaration.
14503
86e501af
PA
145042016-03-01 Pedro Alves <palves@redhat.com>
14505
14506 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
14507
1e903e32
PA
145082016-03-01 Pedro Alves <palves@redhat.com>
14509
14510 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
14511 before anything else.
14512 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
14513 _GNU_SOURCE here.
14514 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
14515 before anything else.
14516 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
14517
6ccb54e2
PA
145182016-03-01 Pedro Alves <palves@redhat.com>
14519
14520 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
14521
30ca9da1
YQ
145222016-03-01 Yao Qi <yao.qi@linaro.org>
14523
14524 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
14525 prepare_for_testing.
14526
dc856b38
YQ
145272016-03-01 Yao Qi <yao.qi@linaro.org>
14528
14529 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
14530
4a932159
AA
145312016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
14532
14533 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
14534 manually constructing the output path.
14535
f2489477
AA
145362016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
14537
14538 * gdb.arch/s390-stackless.S: New.
14539 * gdb.arch/s390-stackless.exp: New.
14540
38899f16
IB
145412016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
14542
14543 * gdb.dlang/circular.c: New file.
14544 * gdb.dlang/circular.exp: New file.
14545
9fde51ed
YQ
145462016-02-26 Yao Qi <yao.qi@linaro.org>
14547
14548 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
14549 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
14550 (testcases): Update.
14551
ce90fefe
YQ
145522016-02-26 Yao Qi <yao.qi@linaro.org>
14553
14554 * gdb.reverse/aarch64.c: Rename to ...
14555 * gdb.reverse/insn-reverse.c: ... it.
14556 * gdb.reverse/aarch64.exp: Rename to ...
14557 * gdb.reverse/insn-reverse.exp: ... it.
14558
3263bceb
YQ
145592016-02-26 Yao Qi <yao.qi@linaro.org>
14560
14561 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
14562 (testcase_ftype): New.
14563 (testcases): New array.
14564 (n_testcases): New.
14565 (main): Call each element in testcases.
14566 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
14567 (read_testcase): New.
14568 Do the tests in a loop.
14569
6cb59ff1
YQ
145702016-02-25 Yao Qi <yao.qi@linaro.org>
14571
14572 * gdb.base/branches.c: Remove.
14573
ae91f625
MK
145742016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14575
14576 PR gdb/13808
14577 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
14578
678b48b7
MK
145792016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14580
14581 * gdb.trace/ftrace.exp: Remove unnecessary target check.
14582
7337a6f2
MK
145832016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14584
14585 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
14586 change x86_64 call_insn to 'callq'.
14587
861ca91f
AT
145882016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14589
14590 * gdb.trace/tfile-avx.c: Move to...
14591 * gdb.trace/tracefile-pseudo-reg.c: Here.
14592 * gdb.trace/tfile-avx.exp: Move to...
14593 * gdb.trace/tracefile-pseudo-reg.exp: Here.
14594
bf74e428
GB
145952016-02-24 Gary Benson <gbenson@redhat.com>
14596
14597 * gdb.base/attach-pie-noexec.exp: Do not expect an error
14598 message on attach.
14599
cce0e923
DE
146002016-02-23 Doug Evans <dje@google.com>
14601
14602 * gdb.base/skip.c (test_skip): New function.
14603 (end_test_skip_file_and_function): New function.
14604 (test_skip_file_and_function): New function.
14605 * gdb.base/skip1.c (test_skip): New function.
14606 (skip1_test_skip_file_and_function): New function.
14607 * gdb.base/skip.exp: Add tests for new skip options.
14608 * gdb.base/skip-solib.exp: Update expected output.
14609 * gdb.perf/skip-command.cc: New file.
14610 * gdb.perf/skip-command.exp: New file.
14611 * gdb.perf/skip-command.py: New file.
14612
4000e47e
MK
146132016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
14614
14615 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
14616 info registers pattern.
14617
24f75ead
IB
146182016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
14619
14620 * lib/future.exp: Add D support.
14621 (gdb_find_gdc): New proc.
14622 (gdb_default_target_compile): Add D support.
14623
fbb7bcbe
WW
146242016-02-18 Wei-cheng Wang <cole945@gmail.com>
14625
14626 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
14627 user+system time.
14628 (trace_speed_test): Determine the iteration count for a time
14629 between 15..30 seconds.
14630
012b3a21
WT
146312016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
14632
14633 * gdb.arch/i386-mpx-sigsegv.c: New file.
14634 * gdb.arch/i386-mpx-sigsegv.exp: New file.
14635 * gdb.arch/i386-mpx-simple_segv.c: New file.
14636 * gdb.arch/i386-mpx-simple_segv.exp: New file.
14637
2d5189bd
YQ
146382016-02-18 Yao Qi <yao.qi@linaro.org>
14639
14640 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14641 Don't call setup_kfail.
14642
40fb20d0
YQ
146432016-02-18 Yao Qi <yao.qi@linaro.org>
14644
14645 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14646 Set "set breakpoint condition-evaluation" per $cond_bp_target.
14647
21b1f8d2
DE
146482016-02-16 Doug Evans <dje@google.com>
14649
14650 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
14651 * gdb.base/skip1.c: Ditto.
14652 * gdb.base/skip.exp: Whitespace cleanup.
14653
4041ed77
DB
146542016-02-16 Don Breazeal <donb@codesourcery.com>
14655
14656 PR remote/19496
14657 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14658 Remove kfail for PR remote/19496.
14659
c4ef31bf
SM
146602016-02-16 Simon Marchi <simon.marchi@ericsson.com>
14661
14662 * lib/gdb.exp (standard_temp_file): Return a path specific to
14663 the runtest invocation.
14664
266b65b3
SM
146652016-02-16 Simon Marchi <simon.marchi@ericsson.com>
14666
14667 * gdb.trace/save-trace.exp: Change relative path to be in the
14668 standard output directory.
14669
a7a0a6a9
JK
146702016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14671
14672 * gdb.arch/i386-prologue.c: Add missing prototypes.
14673
c99dbb42
JK
146742016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14675
14676 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
14677 * gdb.arch/i386-prologue.exp: Likewise.
14678 * gdb.arch/i386-size.exp: Likewise.
14679
aa480355
SM
146802016-02-15 Simon Marchi <simon.marchi@ericsson.com>
14681
14682 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
14683 define object file path.
14684 * gdb.btrace/gcore.exp: Use standard_output_file to define core
14685 file path.
14686 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
14687 standard_output_file to define binfile.
14688
ba881f50
JK
146892016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14690
14691 Fix compatibility with recent gfortran-5.3.1.
14692 * gdb.fortran/vla-history.exp (print vla1 allocated)
14693 (print vla2 allocated, print $2, print $3): Remove
14694 (print $4): Rename to ...
14695 (print $2): ... here.
14696 (print $9): Rename to ...
14697 (print $5): ... here.
14698 (print $10): Rename to ...
14699 (print $6): ... here.
14700 * gdb.fortran/vla.f90: Add pvla initialization.
14701
e9fb005c
JK
147022016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14703
14704 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
14705 New test.
14706 * gdb.fortran/vla-value-sub.exp: Likewise.
14707
e44e00ff
MK
147082016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
14709
14710 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
14711
97e94151
SM
147122016-02-12 Simon Marchi <simon.marchi@ericsson.com>
14713
14714 * i386-biarch-core.exp: Define corefile using
14715 standard_output_file.
14716
01113bc1
YQ
147172016-02-12 Yao Qi <yao.qi@linaro.org>
14718
14719 * gdb.arch/arm-single-step-kernel-helper.c: New.
14720 * gdb.arch/arm-single-step-kernel-helper.exp: New.
14721
33b4777c
MM
147222016-02-12 Markus Metzger <markus.t.metzger@intel.com>
14723
14724 * gdb.btrace/tailcall-only.exp: New.
14725 * gdb.btrace/tailcall-only.c: New.
14726 * gdb.btrace/x86_64-tailcall-only.S: New.
14727 * gdb.btrace/i686-tailcall-only.S: New.
14728
acc23c11
PA
147292016-02-11 Pedro Alves <palves@redhat.com>
14730
14731 * README (Parallel testing): Add missing double quotes.
14732
e352bf0a
PA
147332016-02-11 Pedro Alves <palves@redhat.com>
14734
14735 * README (Parallel testing): New section.
14736 (GDB_PARALLEL): Rewrite.
14737 (FORCE_PARALLEL): Document.
14738
9f5fed78
MK
147392016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
14740
14741 * gdb.trace/tfile-avx.c: New test.
14742 * gdb.trace/tfile-avx.exp: New test.
14743
9ef9e6a6
KS
147442016-02-09 Keith Seitz <keiths@redhat.com>
14745
14746 PR breakpoints/19546
14747 * gdb.base/infcall-exec.c: New file.
14748 * gdb.base/infcall-exec2.c: New file.
14749 * gdb.base/infcall-exec.exp: New file.
14750
a96e36da
KS
147512016-02-09 Keith Seitz <keiths@redhat.com>
14752
14753 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
14754 (toplevel): Call test_bkpt_address.
14755
9f61929f
KS
147562016-02-09 Keith Seitz <keiths@redhat.com>
14757
14758 PR python/19506
14759 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
14760 (toplevel): Call test_bkpt_address.
14761
1e94266c
SM
147622016-02-09 Simon Marchi <simon.marchi@ericsson.com>
14763
14764 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
14765 to AC_OUTPUT.
14766 * configure: Regenerate.
14767
2a7f3dff
PA
147682016-02-09 Pedro Alves <palves@redhat.com>
14769
14770 PR breakpoints/19548
14771 * gdb.base/execl-update-breakpoints.c (some_function): New
14772 function.
14773 (main): Call it.
14774 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
14775 Tighten expected GDB output.
14776
2151ccc5
SM
147772016-02-08 Simon Marchi <simon.marchi@ericsson.com>
14778
14779 * Makefile.in (ALL_SUBDIRS): Remove.
14780 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
14781 (distclean maintainer-clean realclean): Likewise.
14782 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
14783 * configure: Regenerate.
14784 * gdb.ada/Makefile.in: Delete.
14785 * gdb.arch/Makefile.in: Likewise.
14786 * gdb.asm/Makefile.in: Likewise.
14787 * gdb.base/Makefile.in: Likewise.
14788 * gdb.btrace/Makefile.in: Likewise.
14789 * gdb.cell/Makefile.in: Likewise.
14790 * gdb.compile/Makefile.in: Likewise.
14791 * gdb.cp/Makefile.in: Likewise.
14792 * gdb.disasm/Makefile.in: Likewise.
14793 * gdb.dlang/Makefile.in: Likewise.
14794 * gdb.dwarf2/Makefile.in: Likewise.
14795 * gdb.fortran/Makefile.in: Likewise.
14796 * gdb.gdb/Makefile.in: Likewise.
14797 * gdb.go/Makefile.in: Likewise.
14798 * gdb.guile/Makefile.in: Likewise.
14799 * gdb.java/Makefile.in: Likewise.
14800 * gdb.linespec/Makefile.in: Likewise.
14801 * gdb.mi/Makefile.in: Likewise.
14802 * gdb.modula2/Makefile.in: Likewise.
14803 * gdb.multi/Makefile.in: Likewise.
14804 * gdb.objc/Makefile.in: Likewise.
14805 * gdb.opencl/Makefile.in: Likewise.
14806 * gdb.opt/Makefile.in: Likewise.
14807 * gdb.pascal/Makefile.in: Likewise.
14808 * gdb.perf/Makefile.in: Likewise.
14809 * gdb.python/Makefile.in: Likewise.
14810 * gdb.reverse/Makefile.in: Likewise.
14811 * gdb.server/Makefile.in: Likewise.
14812 * gdb.stabs/Makefile.in: Likewise.
14813 * gdb.threads/Makefile.in: Likewise.
14814 * gdb.trace/Makefile.in: Likewise.
14815 * gdb.xml/Makefile.in: Likewise.
14816 * lib/gdb.exp (make_gdb_parallel_path): Add check for
14817 GDB_PARALLEL.
14818 (standard_output_file): Remove check for GDB_PARALLEL, always
14819 return path in outputs/$subdir/$testname.
14820
437277d4
SM
148212016-02-08 Simon Marchi <simon.marchi@ericsson.com>
14822
14823 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
14824 (site.exp): Assign abs_srcdir to tcl's srcdir.
14825
31d913c7
YQ
148262016-02-04 Yao Qi <yao.qi@linaro.org>
14827
14828 * gdb.base/foll-exec-mode.c: Include limits.h.
14829 (main): Add parameters argc and argv. Get directory from
14830 argv[0].
14831 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
14832 compilation.
14833 * gdb.base/foll-exec.c: Include limits.h.
14834 (main): Add parameters argc and argv.
14835 Get directory from argv[0].
14836 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
14837 Adjust tests on the number of lines as source code changed.
14838 * gdb.base/foll-vfork-exit.c: Include limits.h.
14839 (main): Add one line of statement before vfork.
14840 * gdb.base/foll-vfork.c: Include limits.h and string.h.
14841 (main): Add parameters argc and argv. Get directory from
14842 argv[0].
14843 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
14844 (setup_gdb): Set tbreak to skip some source lines.
14845 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
14846 (main): Add parameters argc and argv. Get directory from
14847 argv[0].
14848 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
14849 compilation.
14850 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
14851 (main): Add parameters argc and argv. Get directory from
14852 argv[0].
14853 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
14854 compilation.
14855
9482b9fb
DE
148562016-02-01 Doug Evans <dje@google.com>
14857
14858 * gdb.base/skip.exp: Clean up multiple references to same test name.
14859
6b2e4f10
PA
148602016-02-01 Pedro Alves <palves@redhat.com>
14861
ccb6afd6 14862 PR remote/19496
6b2e4f10
PA
14863 * gdb.threads/forking-threads-plus-breakpoint.exp
14864 (displaced_stepping_supported): New global.
14865 (probe_displaced_stepping_support): New procedure.
14866 (do_test): Add 'displaced' parameter, and use it.
14867 (top level): Check for displaced stepping support. Add displaced
14868 stepping on/off testing axis.
14869
37a8db1a
AB
148702016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
14871
14872 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
14873 pointer. Don't perform further tests on the unassociated pointer
14874 if the first test fails.
14875
5fdf6324
AB
148762016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
14877
14878 * gdb.base/max-value-size.c: New file.
14879 * gdb.base/max-value-size.exp: New file.
14880 * gdb.base/huge.exp: Disable max-value-size for this test.
14881
935c6144
IB
148822016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
14883
14884 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
14885
7fe8399d
YQ
148862016-01-28 Yao Qi <yao.qi@linaro.org>
14887
14888 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
14889
a2077e25
PA
148902016-01-25 Pedro Alves <palves@redhat.com>
14891
14892 PR threads/19461
14893 * gdb.base/fork-running-state.c: New file.
14894 * gdb.base/fork-running-state.exp: New file.
14895
1d2736d4
PA
148962016-01-25 Pedro Alves <palves@redhat.com>
14897
14898 PR gdb/19494
14899 * gdb.base/catch-fork-kill.c: New file.
14900 * gdb.base/catch-fork-kill.exp: New file.
14901
f1da4b11
PA
149022016-01-25 Pedro Alves <palves@redhat.com>
14903
14904 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
14905 Delete, moved to lib/gdb.exp.
14906 * gdb.threads/forking-threads-plus-breakpoint.exp
14907 (foreach_with_prefix): Likewise.
14908 * gdb.threads/process-dies-while-handling-bp.exp
14909 (foreach_with_prefix): Likewise.
14910 * lib/gdb.exp (foreach_with_prefix): New procedure.
14911
45f38546
MK
149122016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
14913
14914 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
14915 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
14916
dc29a1ce
MK
149172016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
14918
14919 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
14920 endian targets.
14921
092127d7
JK
149222016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14923 Pedro Alves <palves@redhat.com>
14924
14925 Fix testsuite compatibility with Guile.
14926 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
14927 number.
14928
31d765d3
JK
149292016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14930
14931 Fix testsuite compatibility with Guile.
14932 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
14933 (thread 1): New test for backtrace through signal handler.
14934
1ac78c04
YQ
149352016-01-22 Yao Qi <yao.qi@linaro.org>
14936
14937 PR testsuite/19491
14938 * gdb.base/multi-forks.c: Include
14939 ../lib/unbuffer_output.c
14940 (main): Call gdb_unbuffer_output.
14941
4f5946a8
DE
149422016-01-21 Doug Evans <dje@google.com>
14943
14944 * lib/ada.exp (gdb_compile_ada): Fix typo.
14945
305e13e6
JB
149462016-01-21 Joel Brobecker <brobecker@adacore.com>
14947
14948 * gdb.base/break-fun-addr.exp: New file.
14949 * gdb.base/break-fun-addr1.c: New file.
14950 * gdb.base/break-fun-addr2.c: New file.
14951
5f5dfff6
SM
149522016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
14953
14954 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
14955 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
14956 enum flag values.
14957
fd356fa2
AA
149582016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14959
14960 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
14961 when GDB can not set the vector return value. Add more comments
14962 for clarification.
14963
9df22175
AT
149642016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
14965
14966 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
14967 command.
14968
41d1845e
SM
149692016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14970
14971 * Makefile.in (DO_RUNTEST): Add --status and update usages.
14972
01ac6840
SM
149732016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14974
14975 * Makefile.in (check-single): Pass --status to runtest.
14976 (check/%.exp): Likewise.
14977
149782016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14979
14980 * Makefile.in (check-parallel): Propagate return code from make
14981 do-check-parallel.
14982
bd0a71fa
MK
149832016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
14984
14985 * gdb.trace/ftrace.exp: Fix expected message on continue.
14986 * gdb.trace/pending.exp: Fix expected message on continue.
14987 * gdb.trace/trace-break.exp: Fix expected message on continue.
14988
8bcbad33
SM
149892016-01-18 Simon Marchi <simon.marchi@ericsson.com>
14990
14991 * lib/gdb.exp (gdb_test): Remove unused global references.
14992
f303dbd6
PA
149932016-01-18 Pedro Alves <palves@redhat.com>
14994
14995 * gdb.base/async-shell.exp: Adjust expected output.
14996 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
14997 * gdb.base/siginfo-thread.exp: Adjust expected output.
14998 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
14999 * gdb.java/jnpe.exp: Adjust expected output.
15000 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
15001 * gdb.threads/continue-pending-status.exp: Adjust expected output.
15002 * gdb.threads/leader-exit.exp: Adjust expected output.
15003 * gdb.threads/manythreads.exp: Adjust expected output.
15004 * gdb.threads/pthreads.exp: Adjust expected output.
15005 * gdb.threads/schedlock.exp: Adjust expected output.
15006 * gdb.threads/siginfo-threads.exp: Adjust expected output.
15007 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
15008 expected output.
15009 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
15010 output.
15011 * gdb.threads/sigthread.exp: Adjust expected output.
15012 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
15013
b2789696
YQ
150142016-01-18 Yao Qi <yao.qi@linaro.org>
15015
15016 * gdb.guile/scm-section-script.c: Replace @progbits with
15017 %progbits.
15018 * gdb.python/py-section-script.c: Likewise.
15019
71ef29a8
PA
150202016-01-15 Pedro Alves <palves@redhat.com>
15021
15022 * gdb.multi/tids.exp: Test star wildcard ranges.
15023
3f5b7598
PA
150242016-01-15 Pedro Alves <palves@redhat.com>
15025
15026 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
15027 command from "thread apply" invocation.
15028 (thr_apply_info_thr_invalid): Default the expected output to the
15029 input tid list.
15030 (top level): Add tests that use convenience variables. Add tests
15031 for "thread apply" with a valid TID list, but missing the command.
15032
663f6d42
PA
150332016-01-13 Pedro Alves <palves@redhat.com>
15034
15035 * gdb.base/default.exp: Expect $_gthread as well.
15036 * gdb.multi/tids.exp: Test $_gthread.
15037 * gdb.threads/thread-specific.exp: Test $_gthread.
15038
c84f6bbf
PA
150392016-01-13 Pedro Alves <palves@redhat.com>
15040
15041 * gdb.multi/tids.exp: Test "info threads -gid".
15042
22a02324
PA
150432016-01-13 Pedro Alves <palves@redhat.com>
15044
15045 * gdb.multi/tids.exp: Test InferiorThread.global_num and
15046 Breakpoint.thread.
15047 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
15048
5d5658a1
PA
150492016-01-07 Pedro Alves <palves@redhat.com>
15050
15051 * gdb.base/break.exp: Adjust to output changes.
15052 * gdb.base/hbreak2.exp: Likewise.
15053 * gdb.base/sepdebug.exp: Likewise.
15054 * gdb.base/watch_thread_num.exp: Likewise.
15055 * gdb.linespec/keywords.exp: Likewise.
15056 * gdb.multi/info-threads.exp: Likewise.
15057 * gdb.threads/thread-find.exp: Likewise.
15058 * gdb.multi/tids.c: New file.
15059 * gdb.multi/tids.exp: New file.
15060
84654457
PA
150612016-01-13 Pedro Alves <palves@redhat.com>
15062
15063 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
15064
e3940304
PA
150652016-01-13 Pedro Alves <palves@redhat.com>
15066
15067 * gdb.base/default.exp: Expect $_inferior as well.
15068 * gdb.multi/base.exp: Test $_inferior.
15069
a911d87a
PA
150702016-01-13 Pedro Alves <palves@redhat.com>
15071
15072 PR breakpoints/19388
15073 * gdb.base/catch-signal-siginfo-cond.c: New file.
15074 * gdb.base/catch-signal-siginfo-cond.exp: New file.
15075
82075af2
JS
150762016-01-12 Josh Stone <jistone@redhat.com>
15077 Philippe Waroquiers <philippe.waroquiers@skynet.be>
15078
15079 * gdb.base/catch-syscall.c (do_execve): New variable.
15080 (main): Conditionally trigger an execve.
15081 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
15082 (test_catch_syscall_execve): New, check entry/return across execve.
15083 (do_syscall_tests): Call test_catch_syscall_execve.
15084
e46eeedd
PA
150852016-01-12 Pedro Alves <palves@redhat.com>
15086
15087 * gdb.base/random-signal.exp (do_test): New procedure, with body
15088 of testcase moved in.
15089
01d8c27e
JK
150902016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15091 Pedro Alves <palves@redhat.com>
15092
15093 * gdb.base/funcargs.exp (finish from indirectly called function):
15094 Reintroduce the case for 'First'.
15095
9a706302
JK
150962016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15097 Pedro Alves <palves@redhat.com>
15098
15099 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
15100 (tcatch_vfork_then_child_follow_exec)
15101 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
15102 identification.
15103
c0ecb95f
JK
151042016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15105
15106 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
15107 and repeats to unlimited.
15108 * gdb.python/py-value.exp: Likewise.
15109 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
15110 and repeats to unlimited.
15111
6cfc1fcb
JK
151122016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15113
15114 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
15115 and reordering the functions.
15116 * gdb.multi/hangout.c: Likewise.
15117 * gdb.multi/hello.c: Likewise.
15118
582a1b00
SM
151192016-01-08 Simon Marchi <simon.marchi@ericsson.com>
15120
15121 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
15122 absolute.
15123 (SingleStatisticTestResult.report): Use dict.keys instead of
15124 dict.iterkeys.
15125
79bc59cb
PA
151262016-01-06 Pedro Alves <palves@redhat.com>
15127
15128 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
15129
43368e1d
MM
151302016-01-04 Markus Metzger <markus.t.metzger@intel.com>
15131
15132 * gdb.btrace/dlopen.exp: New.
15133 * gdb.btrace/dlopen.c: New.
15134 * gdb.btrace/dlopen-dso.c: New.
15135
79fad5b8
SL
151362015-12-25 Sandra Loosemore <sandra@codesourcery.com>
15137
15138 * lib/gdb.exp (gdb_test): Update comments to clarify that the
15139 PATTERN argument is optional.
15140
ab8314b3
JB
151412015-12-24 Joel Brobecker <brobecker@adacore.com>
15142
15143 * lib/ada.exp (target_compile_ada_from_dir): New function.
15144 (gdb_compile_ada): Reimplement avoiding the use of project files.
15145 * gdb.ada/gnat_ada.gpr: Delete.
15146 * gdb.ada/cond_lang.exp: Adjust test to make path before
15147 filename optional.
15148 * gdb.ada/small_reg_param.exp: Likewise.
15149
fe33faff
SM
151502015-12-22 Simon Marchi <simon.marchi@ericsson.com>
15151
15152 * gdb.base/foll-vork.exp: Remove HP-UX special case.
15153
6d265cb4
TP
151542015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
15155
15156 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
15157 case.
15158
10125099
SM
151592015-12-21 Simon Marchi <simon.marchi@ericsson.com>
15160
15161 * gdb.base/break.exp: Remove dead code.
15162 * gdb.base/sepdebug.exp: Likewise.
15163
3ca22649
SM
151642015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
15165
15166 * gdb.asm/asm-source.exp: Remove HP-UX references.
15167 * gdb.base/annota1.exp: Likewise.
15168 * gdb.base/annota3.exp: Likewise.
15169 * gdb.base/attach.exp: Likewise.
15170 * gdb.base/bigcore.exp: Likewise.
15171 * gdb.base/break.exp: Likewise.
15172 * gdb.base/call-ar-st.exp: Likewise.
15173 * gdb.base/callfuncs.exp: Likewise.
15174 * gdb.base/catch-fork-static.exp: Likewise.
15175 * gdb.base/display.exp: Likewise.
15176 * gdb.base/foll-exec-mode.exp: Likewise.
15177 * gdb.base/foll-exec.exp: Likewise.
15178 * gdb.base/foll-fork.exp: Likewise.
15179 * gdb.base/foll-vfork.exp: Likewise.
15180 * gdb.base/funcargs.exp: Likewise.
15181 * gdb.base/hbreak2.exp: Likewise.
15182 * gdb.base/inferior-died.exp: Likewise.
15183 * gdb.base/interrupt.exp: Likewise.
15184 * gdb.base/multi-forks.exp: Likewise.
15185 * gdb.base/nodebug.exp: Likewise.
15186 * gdb.base/sepdebug.exp: Likewise.
15187 * gdb.base/solib1.c: Likewise.
15188 * gdb.base/step-test.exp: Likewise.
15189 * gdb.mi/non-stop.c: Likewise.
15190 * gdb.mi/pthreads.c: Likewise.
15191 * gdb.multi/bkpt-multi-exec.ex: Likewise.
15192 * gdb.threads/pthreads.c: Likewise.
15193 * gdb.threads/staticthreads.exp: Likewise.
15194 * lib/future.exp: Likewise.
15195 * lib/gdb.exp: Likewise.
15196 * gdb.base/so-indr-cl.c: Remove.
15197 * gdb.base/so-indr-cl.exp: Likewise.
15198 * gdb.base/solib.c: Likewise.
15199 * gdb.base/solib.exp: Likewise.
15200 * gdb.base/solib2.c: Likewise.
15201
b6304613
SM
152022015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
15203
15204 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
15205 * gdb.base/call-ar-st.exp: Likewise.
15206 * gdb.base/callfuncs.exp: Likewise.
15207 * gdb.base/condbreak.exp: Likewise.
15208 * gdb.base/constvars.exp: Likewise.
15209 * gdb.base/hbreak2.exp: Likewise.
15210 * gdb.base/langs.exp: Likewise.
15211 * gdb.base/list.exp: Likewise.
15212 * gdb.base/long_long.exp: Likewise.
15213 * gdb.base/ptype.exp: Likewise.
15214 * gdb.base/scope.exp: Likewise.
15215 * gdb.base/signals.exp: Likewise.
15216 * gdb.base/so-impl-ld.exp: Likewise.
15217 * gdb.base/varargs.exp: Likewise.
15218 * gdb.base/volatile.exp: Likewise.
15219 * gdb.base/whatis.exp: Likewise.
15220 * gdb.cp/cplusfuncs.exp: Likewise.
15221 * gdb.cp/inherit.exp: Likewise.
15222 * gdb.cp/local.exp: Likewise.
15223 * gdb.cp/member-ptr.exp: Likewise.
15224 * gdb.cp/method.exp: Likewise.
15225 * gdb.cp/overload.exp: Likewise.
15226 * gdb.cp/templates.exp: Likewise.
15227 * gdb.stabs/weird.exp: Likewise.
15228 * lib/compiler.c: Likewise.
15229 * lib/compiler.cc: Likewise.
15230 * lib/cp-support.exp: Likewise.
15231 * lib/gdb.exp: Likewise.
15232
bf401b07
SM
152332015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
15234
15235 * configure.ac: Remove HP-UX case.
15236 * configure: Regenerate.
15237
aff9c0f8
SM
152382015-12-18 Simon Marchi <simon.marchi@ericsson.com>
15239
15240 * lib/gdb.exp (gdb_compile): Add function doc.
15241
a6904d5a
PA
152422015-12-17 Pedro Alves <palves@redhat.com>
15243
15244 PR threads/19354
15245 * gdb.multi/info-threads.exp: New file.
15246
a22279dd
YQ
152472015-12-15 Yao Qi <yao.qi@linaro.org>
15248
15249 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
15250 is aarch64*-*-*.
15251
0588c796
SL
152522015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15253
15254 * gdb.base/history-duplicates.exp: Skip if no readline support.
15255
5d978e17
SL
152562015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15257
15258 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
15259
7e763b86
SL
152602015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15261
15262 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
15263
87a3a92c
SL
152642015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15265
15266 * gdb.base/completion.exp: Skip tests that interrupt GDB with
15267 ctrl-C if nointerrupts target property is set.
15268 * gdb.base/double-prompt-target-event-error.exp: Likewise.
15269 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
15270 * gdb.base/paginate-bg-execution.exp: Likewise.
15271 * gdb.base/paginate-execution-startup.exp: Likewise.
15272 * gdb.base/random-signal.exp: Likewise.
15273 * gdb.base/range-stepping.exp: Likewise.
15274 * gdb.cp/annota2.exp: Likewise.
15275 * gdb.cp/annota3.exp: Likewise.
15276 * gdb.gdb/selftest.exp: Likewise.
15277 * gdb.threads/continue-pending-status.exp: Likewise.
15278 * gdb.threads/leader-exit.exp: Likewise.
15279 * gdb.threads/manythreads.exp: Likewise.
15280 * gdb.threads/pthreads.exp: Likewise.
15281 * gdb.threads/schedlock.exp: Likewise.
15282 * gdb.threads/sigthread.exp: Likewise.
15283
a8f077dc
DB
152842015-12-11 Don Breazeal <donb@codesourcery.com>
15285
15286 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
15287 remote.
15288 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
15289 * gdb.base/foll-exec.exp (main): Enable for target remote.
15290 * gdb.base/foll-fork.exp (main): Likewise.
15291 * gdb.base/foll-vfork.exp (main): Likewise.
15292 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
15293 (proc continue_to_exit_bp_loc): Use clean_restart.
15294 * gdb.base/pie-execl.exp (main): Disable for target remote.
15295 * gdb.base/watch-vfork.exp (main): Enable for target remote.
15296 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
15297 * gdb.threads/execl.exp (main): Likewise.
15298 * gdb.threads/fork-child-threads.exp (main): Likewise.
15299 * gdb.threads/fork-plus-threads.exp (main): Disable for target
15300 remote.
15301 * gdb.threads/fork-thread-pending.exp (main): Enable for target
15302 remote.
15303 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
15304 pid.tid style ptids, instead of just tid.
15305 * gdb.threads/thread-execl.exp (main): Enable for target remote.
15306 * gdb.threads/watchpoint-fork.exp (main): Likewise.
15307 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
15308 ptids, instead of just tid.
15309
3b2464a8
AB
153102015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15311
15312 * gdb.base/list.exp (test_list_forward): Add end of file error
15313 test.
15314 (test_repeat_list_command): Add end of file error test.
15315 (test_list_backwards): Add beginning of file error test.
15316
a0def019
AB
153172015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15318
15319 * gdb.base/list.exp (test_list_invalid_args): New function,
15320 defined, and called.
15321
5c000dff
AB
153222015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15323
15324 * gdb.base/list.exp (test_list): Make test names unique.
15325
f1637ebe
YQ
153262015-12-11 Yao Qi <yao.qi@linaro.org>
15327
15328 * gdb.base/coremaker2.c: Remove.
15329
36d6fc0a
PA
153302015-12-10 Pedro Alves <palves@redhat.com>
15331
15332 * gdb.multi/base.exp: Remove stale "spaces" references.
15333
762f7747
PA
153342015-12-10 Pedro Alves <palves@redhat.com>
15335
15336 * gdb.multi/base.exp: Don't use nowarnings.
15337 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
15338 * gdb.multi/hangout.c: Include stdio.h.
15339 * gdb.multi/hello.c: Include stdlib.h.
15340 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
15341 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
15342 * gdb.multi/multi-arch.exp: Don't use nowarnings.
15343
28d2bfb9
AB
153442015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
15345
15346 * gdb.dwarf2/dw2-ranges-base.c: New file.
15347 * gdb.dwarf2/dw2-ranges-base.exp: New file.
15348 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
15349 support additional line table, and debug ranges generation.
15350 (Dwarf::ranges): New function, generate .debug_ranges.
15351 (Dwarf::lines): Support generating simple line table programs.
15352 (Dwarf::assemble): Initialise new namespace variables.
15353
5fc2beac
KB
153542015-12-09 Kevin Buettner <kevinb@redhat.com>
15355
15356 * gdb.base/async.exp (proc test_background): Add case for
15357 asynchronous execution not supported.
15358
1c35a88f
LM
153592015-12-09 Luis Machado <lgustavo@codesourcery.com>
15360
15361 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
15362 format and change test names to make them unique.
15363
b593e3d9
RK
153642015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
15365 Pedro Alves <pedro@redhat.com>
15366
15367 PR gdb/18702
15368 Add checking of floatformats setup on x86_64 hosts.
15369 * gdb.arch/i386-float.S (main): Load bigval and smallval.
15370 (smallval, bigval): New labels/constants.
15371 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
15372 float" after loading bigval and smallval.
15373
d72413e6
PMR
153742015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
15375
15376 * gdb.ada/fun_overload_menu.exp: New testcase.
15377 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
15378
ece66d65
JS
153792015-12-04 Josh Stone <jistone@redhat.com>
15380
15381 * gdb.base/catch-fork-static.exp: New.
15382
41d0efca
YQ
153832015-12-03 Yao Qi <yao.qi@linaro.org>
15384
15385 * gdb.base/sizeof.c: Don't include stdio.h and
15386 ../lib/unbuffer_output.c.
15387 (main): New variable 'size' and 'value'. Remove printf and
15388 gdb_unbuffer_output. Assign return value to size and value.
15389 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
15390 at the beginning.
15391 (check_sizeof): Check the result by printing variable 'size'.
15392 (check_valueof): Check the result by printing variable 'value'.
15393
99fd02d9
YQ
153942015-12-01 Yao Qi <yao.qi@linaro.org>
15395
15396 * gdb.base/disp-step-syscall.exp: Define syscall instruction
15397 for aarch64*-*-linux* target.
15398
f2faf941
PA
153992015-11-30 Pedro Alves <palves@redhat.com>
15400
15401 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
15402
04bf20c5
PA
154032015-11-30 Pedro Alves <palves@redhat.com>
15404
15405 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
15406 Handle non-stop mode vCont replies.
15407
09df4675
PA
154082015-11-30 Pedro Alves <palves@redhat.com>
15409
15410 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
15411 prepare_for_testing. Start gdb with "set non-stop on" appended to
15412 GDBFLAGS. Lax expected stop output.
15413
58b584af
YQ
154142015-11-27 Yao Qi <yao.qi@linaro.org>
15415
15416 * gdb.arch/arm-neon.exp: New.
15417 * gdb.arch/arm-neon.c: New.
15418
dfcb77a8
YQ
154192015-11-27 Yao Qi <yao.qi@linaro.org>
15420
15421 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
15422
88e8ec1b
YQ
154232015-11-27 Yao Qi <yao.qi@linaro.org>
15424
15425 * gdb.cp/annota2.exp: Allow multiple occurrences of the
15426 frames-invalid annotation.
15427
bfde72c2
YQ
154282015-11-27 Yao Qi <yao.qi@linaro.org>
15429
15430 * gdb.cp/annota2.exp: Use ${frames_invalid}.
15431
f6512a69
SM
154322015-11-26 Simon Marchi <simon.marchi@ericsson.com>
15433
15434 * gdb.threads/names.exp: New file.
15435 * gdb.threads/names.c: New file.
15436 * README: Mention gdb,no_thread_names.
15437
46a3515b
MM
154382015-11-26 Markus Metzger <markus.t.metzger@intel.com>
15439
15440 PR 19297
15441 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
15442 support" error.
15443
62147a22
PA
154442015-11-24 Pedro Alves <palves@redhat.com>
15445
15446 PR 17539
15447 * gdb.base/display.exp: Expect displays to be sorted in ascending
15448 order. Use multi_line.
15449 * gdb.base/solib-display.exp: Likewise.
15450
2f341b6e
PA
154512015-11-24 Pedro Alves <palves@redhat.com>
15452
15453 PR 17539
25d49b86
PA
15454 * gdb.base/display.exp: Expect displays to be sorted in ascending
15455 order. Use multi_line.
15456 * gdb.base/solib-display.exp: Likewise.
2f341b6e 15457
7e0aa6aa
PA
154582015-11-24 Pedro Alves <palves@redhat.com>
15459
15460 PR 17539
15461 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
15462 threads in ascending order.
15463 * gdb.base/foll-fork.exp: Likewise.
15464 * gdb.base/foll-vfork.exp: Likewise.
15465 * gdb.base/multi-forks.exp: Likewise.
15466 * gdb.mi/mi-nonstop.exp: Likewise.
15467 * gdb.mi/mi-nsintrall.exp: Likewise.
15468 * gdb.multi/base.exp: Likewise.
15469 * gdb.multi/multi-arch.exp: Likewise.
15470 * gdb.python/py-inferior.exp: Likewise.
15471 * gdb.threads/break-while-running.exp: Likewise.
15472 * gdb.threads/execl.exp: Likewise.
15473 * gdb.threads/gcore-thread.exp: Likewise.
15474 * gdb.threads/info-threads-cur-sal.exp: Likewise.
15475 * gdb.threads/kill.exp: Likewise.
15476 * gdb.threads/linux-dp.exp: Likewise.
15477 * gdb.threads/multiple-step-overs.exp: Likewise.
15478 * gdb.threads/next-bp-other-thread.exp: Likewise.
15479 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
15480 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
15481 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
15482 * gdb.threads/thread-find.exp: Likewise.
15483 * gdb.threads/tls.exp: Likewise.
15484 * lib/mi-support.exp (mi_reverse_list): Delete.
15485 (mi_check_thread_states): No longer reverse list.
15486
2cc57ad8
PA
154872015-11-24 Pedro Alves <palves@redhat.com>
15488
15489 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
15490 use lowercase.
15491
c93e8391
SM
154922015-11-23 Simon Marchi <simon.marchi@ericsson.com>
15493
15494 * gdb.trace/actions.c: Include trace-common.h.
15495 (main): Add a location for a fast tracepoint.
15496 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
15497 the normal tracepoints.
15498 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
15499
045ccf91
SM
155002015-11-23 Simon Marchi <simon.marchi@ericsson.com>
15501
15502 * save-trace.exp: Factor out code to these...
15503 (gdb_save_tracepoints): New.
15504 (gdb_load_tracepoints): New.
15505 (do_save_load_test): New.
15506
5506f9f6
KB
155072015-11-23 Kevin Buettner <kevinb@redhat.com>
15508
15509 * gdb.base/asmlabel.exp: New test.
15510 * gdb.base/asmlabel.c: New test case.
15511
16c3b12f
JB
155122015-11-23 Joel Brobecker <brobecker@adacore.com>
15513
15514 * gdb.base/wrong_frame_bt_full-main.c: New file.
15515 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
15516 * gdb.base/wrong_frame_bt_full.exp: New file.
15517
155bfbd3
JB
155182015-11-23 Joel Brobecker <brobecker@adacore.com>
15519
15520 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
15521
bb097445
JM
155222015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
15523
206853a0 15524 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
15525 pstate register when comparing registers values in
15526 sparc64-*-linux-gnu targets to avoid spurious differences.
15527
9c88ed8f
JM
155282015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
15529
206853a0 15530 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 15531
96161e25
SL
155322015-11-19 Sandra Loosemore <sandra@codesourcery.com>
15533
15534 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
15535 as type argument to gdb_compile.
15536 * gdb.base/nested-subp2.exp: Likewise.
15537 * gdb.base/nested-subp3.exp: Likewise.
15538
340c2830
DV
155392015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
15540
15541 * lib/dwarf.exp (_note): Fix left shift of negative value.
15542 * gdb.trace/trace-condition.exp: Likewise.
15543
c1862d0f
YQ
155442015-11-13 Yao Qi <yao.qi@linaro.org>
15545
15546 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
15547 comments about d10v.
15548 (test_scalar_returns): Likewise.
15549 * gdb.base/d10v.ld: Remove.
15550 * gdb.base/overlays.exp: Remove the target triplet checking for
15551 d10v-*-*.
15552 * gdb.base/structs.exp (test_struct_returns): Remove the
15553 comments about d10v.
15554 (test_struct_calls): Likewise.
15555
77ae9c19
YQ
155562015-11-13 Yao Qi <yao.qi@linaro.org>
15557
15558 * gdb.base/gnu_vector.exp: Check the return value by "p res".
15559 * gdb.base/gnu_vector.c: Don't include stdio.h.
15560 (main): Don't print res and call add_some_intvecs.
15561
430e004e
MK
155622015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
15563
15564 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
15565 macro.
15566 (func5): Removed.
15567 (func4): Use FAST_TRACEPOINT_LABEL.
15568 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
15569 macro.
15570 (func): Removed.
15571 (thread_function): Use FAST_TRACEPOINT_LABEL.
15572 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
15573 (func): Remove.
15574 (marker): Use FAST_TRACEPOINT_LABEL.
15575 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
15576 (pendfunc1): Remove.
15577 (pendfunc): Use FAST_TRACEPOINT_LABEL.
15578 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
15579 (foo): Remove.
15580 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
15581 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
15582 macro.
15583 (func): Remove.
15584 (marker): Use FAST_TRACEPOINT_LABEL.
15585 * gdb.trace/trace-common.h: New header.
15586 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
15587 macro.
15588 (func): Remove.
15589 (marker): Use FAST_TRACEPOINT_LABEL.
15590 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
15591 (func): Remove.
15592 (thread_function): Use FAST_TRACEPOINT_LABEL.
15593
6e7675a7
MK
155942015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
15595
15596 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
15597 in front.
15598 * gdb.trace/change-loc.exp: Use global pcreg definition.
15599 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
15600 * gdb.trace/entry-values.exp: Use global spreg definition, add $
15601 in front.
15602 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
15603 * gdb.trace/pending.exp: Likewise.
15604 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
15605 * gdb.trace/trace-break.exp: Likewise.
15606 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
15607 in front.
15608 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
15609 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
15610 in front.
15611 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
15612
dddc0e16
JB
156132015-11-09 Joel Brobecker <brobecker@adacore.com>
15614
15615 * gdb.ada/fin_fun_out: New testcase.
15616
c6f0b406
KB
156172015-11-07 Kevin Buettner <kevinb@redhat.com>
15618
15619 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
15620 value associated with DW_AT_byte_size.
15621 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
15622 constants for DW_AT_byte_size, DW_AT_lower_bound, and
15623 DW_AT_upper_bound.
15624
f01dcfd9
KB
156252015-11-07 Kevin Buettner <kevinb@redhat.com>
15626
15627 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
15628 (gdb_target_symbol_prefix_flags): Define in terms of _asm
15629 version.
15630 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
15631 gdb.dwarf2/dw2-canonicalize-type.exp,
15632 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
15633 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
15634 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
15635 provided by gdb_target_symbol_prefix_flags_asm.
15636 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
15637 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
15638 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
15639 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
15640 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
15641 macros where needed). Use this macro for symbols which require
15642 the prefix provided by SYMBOL_PREFIX.
15643
2223449a
KB
156442015-11-05 Kevin Buettner <kevinb@redhat.com>
15645
15646 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
15647 New procs.
15648 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
15649 representing expressions, of more than one list element.
15650 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
15651 to prepend linker symbol prefix to f.
15652 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
15653 table_1 and table_2.
15654 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
15655 Likewise, for f and g.
15656 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
15657 for ptr.
15658 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
15659 for main.
15660 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
15661 table_1_ptr and table_2_ptr.
15662
6f2f1a3a
JK
156632015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15664 Joel Brobecker <brobecker@adacore.com>
15665
15666 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
15667
566c56c9
MK
156682015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
15669
15670 * gdb.reverse/s390-mvcle.c: New test.
15671 * gdb.reverse/s390-mvcle.exp: New file.
15672 * lib/gdb.exp: Enable reverse tests on s390*-linux.
15673
d5f0636b
MK
156742015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
15675
15676 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
15677
7ad8b86c
MK
156782015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
15679
15680 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
15681 reaching marker2.
15682 * gdb.reverse/getresuid-reverse.exp: Likewise.
15683 * gdb.reverse/pipe-reverse.exp: Likewise.
15684 * gdb.reverse/readv-reverse.exp: Likewise.
15685 * gdb.reverse/recvmsg-reverse.exp: Likewise.
15686 * gdb.reverse/time-reverse.exp: Likewise.
15687 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
15688
4081c0f1
YQ
156892015-10-30 Yao Qi <yao.qi@linaro.org>
15690
15691 * gdb.threads/wp-replication.c (watch_count_done): Remove.
15692 (empty_cycle): Remove.
15693 (main): Don't call empty_cycle. Don't use watch_count_done.
15694 * gdb.threads/wp-replication.exp: Don't set breakpoint on
15695 empty_cycle. Rewrite the code counting HW watchpoints.
15696
452b4ba5
MK
156972015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
15698
15699 * gdb.reverse/fstatat-reverse.c: New test.
15700 * gdb.reverse/fstatat-reverse.exp: New file.
15701 * gdb.reverse/getresuid-reverse.c: New test.
15702 * gdb.reverse/getresuid-reverse.exp: New file.
15703 * gdb.reverse/pipe-reverse.c: New test.
15704 * gdb.reverse/pipe-reverse.exp: New file.
15705 * gdb.reverse/readv-reverse.c: New test.
15706 * gdb.reverse/readv-reverse.exp: New file.
15707 * gdb.reverse/recvmsg-reverse.c: New test.
15708 * gdb.reverse/recvmsg-reverse.exp: New file.
15709 * gdb.reverse/time-reverse.c: New test.
15710 * gdb.reverse/time-reverse.exp: New file.
15711 * gdb.reverse/waitpid-reverse.c: New test.
15712 * gdb.reverse/waitpid-reverse.exp: New file.
15713
5e2e7507
JK
157142015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
15715
15716 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
15717
0fde2c53
DE
157182015-10-26 Doug Evans <dje@google.com>
15719
15720 PR symtab/17391
15721 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
15722 * gdb.dwarf2/bad-regnum.c: New file.
15723 * gdb.dwarf2/bad-regnum.exp: New file.
15724
1a70ae97
DE
157252015-10-26 Doug Evans <dje@google.com>
15726
15727 PR python/18938
15728 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
15729 file.
15730
27dc26ab
JK
157312015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15732
15733 * gdb.compile/compile.exp (compile code globalvar): Update expectation
15734 for a change by "Mention language in compile error message".
15735
bed91f4d
SM
157362015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
15737
15738 PR python/18073
15739 * gdb.python/py-type.c (C::a_method): New.
15740 (C::a_const_method): New.
15741 (C::a_static_method): New.
15742 (a_function): New.
15743 * gdb.python/py-type.exp (test_fields): Test getting fields
15744 from function and method.
15745
3f2f83dd
KB
157462015-10-21 Keven Boell <keven.boell@intel.com>
15747
15748 * gdb.fortran/vla-alloc-assoc.exp: New file.
15749 * gdb.fortran/vla-datatypes.exp: New file.
15750 * gdb.fortran/vla-datatypes.f90: New file.
15751 * gdb.fortran/vla-history.exp: New file.
15752 * gdb.fortran/vla-ptype-sub.exp: New file.
15753 * gdb.fortran/vla-ptype.exp: New file.
15754 * gdb.fortran/vla-sizeof.exp: New file.
15755 * gdb.fortran/vla-sub.f90: New file.
15756 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
15757 * gdb.fortran/vla-value-sub-finish.exp: New file.
15758 * gdb.fortran/vla-value-sub.exp: New file.
15759 * gdb.fortran/vla-value.exp: New file.
15760 * gdb.fortran/vla-ptr-info.exp: New file.
15761 * gdb.mi/mi-vla-fortran.exp: New file.
15762 * gdb.mi/vla.f90: New file.
15763
27145d50
SL
157642015-10-21 Sandra Loosemore <sandra@codesourcery.com>
15765
15766 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
15767 of hardwired timeout value.
15768
5f3ff4f8
JK
157692015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15770 Pedro Alves <palves@redhat.com>
15771
15772 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
15773 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
15774
bfd09d20
JS
157752015-10-19 Josh Stone <jistone@redhat.com>
15776
15777 * gdb.base/catch-syscall.c: Include <sched.h>.
15778 (unknown_syscall): New variable.
15779 (main): Trigger a vfork and an unknown syscall.
15780 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
15781 (unknown_syscall_number): Likewise.
15782 (check_call_to_syscall): Accept an optional syscall pattern.
15783 (check_return_from_syscall): Likewise.
15784 (check_continue): Likewise.
15785 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
15786 (test_catch_syscall_skipping_return): New test toggling off 'catch
15787 syscall' to step over the syscall return, then toggling back on.
15788 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
15789 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
15790 (do_syscall_tests): Call test_catch_syscall_without_args and
15791 test_catch_syscall_mid_vfork.
15792 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
15793 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
15794
b32b93c6
AS
157952015-10-19 Andrew Stubbs <ams@codesourcery.com>
15796
15797 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
15798 print g_vE): Add new pass patterns.
15799 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
15800 print various symbol names for vptr fields.
15801
9d622bda
AB
158022015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
15803
15804 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
15805 results.
15806
0fd8ac1c
YQ
158072015-10-12 Yao Qi <yao.qi@linaro.org>
15808
15809 * gdb.arch/disp-step-insn-reloc.exp: New test case.
15810
34240514
YQ
158112015-10-12 Yao Qi <yao.qi@linaro.org>
15812
15813 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
15814 is aarch64*-*-linux*.
15815
8240f442
YQ
158162015-10-12 Yao Qi <yao.qi@linaro.org>
15817
15818 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
15819 (can_relocate_bcond_true): ... it.
15820 (can_relocate_bcond_false): New function.
15821 (foo): Likewise.
15822 (can_relocate_bl): Likewise.
15823 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
15824 can_relocate_bl.
15825
2520f728
PMR
158262015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
15827
15828 * gdb.base/nested-addr.c: New file.
15829 * gdb.base/nested-addr.exp: New testcase.
15830
abcef95a
MM
158312015-10-09 Markus Metzger <markus.t.metzger@intel.com>
15832
15833 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
15834 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
15835 its output. Ignore the output of "record goto begin" and instead
15836 check that GDB is replaying.
15837
145e3ddb
PA
158382015-10-09 Pedro Alves <palves@redhat.com>
15839
15840 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
15841 (top level): Use it in the run with no args test.
15842
d5d8c4e1
IB
158432015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
15844
15845 * gdb.dlang/properties.exp: New file.
15846
06e635ef
SL
158472015-10-02 Sandra Loosemore <sandra@codesourcery.com>
15848
15849 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
15850 whether or not address 0x1000 is mapped on the target.
15851
e019fd1d
SM
158522015-09-30 Simon Marchi <simon.marchi@ericsson.com>
15853
15854 * gdb.python/py-type.exp: Do not run tests if binaries fail to
15855 build.
15856
77ba2a67
MM
158572015-09-30 Markus Metzger <markus.t.metzger@intel.com>
15858
15859 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
15860 instruction-history test.
15861
c60eb31f
DE
158622015-09-28 Doug Evans <dje@google.com>
15863
15864 * gdb.base/gcore.c (array_func): Add reference to static_array.
15865
9a3c8263
SM
158662015-09-25 Simon Marchi <simon.marchi@ericsson.com>
15867
15868 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
15869 source line.
15870
9720e656
SL
158712015-09-24 Sandra Loosemore <sandra@codesourcery.com>
15872
15873 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
15874 short or char as base type.
15875
938d3bf2
SL
158762015-09-23 Sandra Loosemore <sandra@codesourcery.com>
15877
15878 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
15879 to allow any size enum.
15880
e6c2c623
PMR
158812015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
15882
15883 * gdb.ada/array_ptr_renaming.exp: New testcase.
15884 * gdb.ada/array_ptr_renaming/foo.adb: New file.
15885 * gdb.ada/array_ptr_renaming/pack.ads: New file.
15886
06da0f77
PL
158872015-09-21 Pierre Langlois <pierre.langlois@arm.com>
15888
15889 * gdb.trace/ftrace-lock.c: New file.
15890 * gdb.trace/ftrace-lock.exp: New file.
15891
4f51c22a
PL
158922015-09-21 Pierre Langlois <pierre.langlois@arm.com>
15893
15894 * gdb.arch/insn-reloc.c: New file.
15895 * gdb.arch/ftrace-insn-reloc.exp: New file.
15896
7041adf4
PL
158972015-09-21 Pierre Langlois <pierre.langlois@arm.com>
15898
15899 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
15900 instruction.
15901 * gdb.trace/pendshr1.c (pendfunc): Likewise.
15902 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
15903 * gdb.trace/range-stepping.c: Likewise.
15904 * gdb.trace/trace-break.c: Likewise.
15905 * gdb.trace/trace-mt.c (thread_function): Likewise.
15906 * gdb.trace/ftrace.c (marker): Likewise.
15907 * gdb.trace/trace-condition.c (marker): Likewise.
15908 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
15909 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
15910 is_aarch64_target.
15911
015d2e7e
DE
159122015-09-18 Doug Evans <xdje42@gmail.com>
15913
15914 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
15915 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
15916
26b188a2
SL
159172015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15918
15919 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
15920 the breakpoint.
15921
79dc332b
SL
159222015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15923
15924 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
15925 the pending breakpoint. Remove timeout override for "Run till
15926 MI pending breakpoint on pendfunc3 on thread 2" test.
15927
f57929f2
SL
159282015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15929
15930 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
15931 filename pattern.
15932
3f469b17
SL
159332015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15934
15935 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
15936 in breakpoint filename pattern.
15937
515b89b3
SL
159382015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15939
7800dbe4
SL
15940 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
15941
159422015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15943
515b89b3
SL
15944 * gdb.linespec/explicit.exp: Check for readline support for
15945 tab-completion tests. Fix obvious typo.
15946
d2939ba2
MM
159472015-09-18 Markus Metzger <markus.t.metzger@intel.com>
15948
15949 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
15950 and replay.
15951
cbb55fa7
MM
159522015-09-18 Markus Metzger <markus.t.metzger@intel.com>
15953
15954 * gdb.btrace/non-stop.c: New.
15955 * gdb.btrace/non-stop.exp: New.
15956
43691ca1
PL
159572015-09-17 Pierre Langlois <pierre.langlois@arm.com>
15958 Yao Qi <yao.qi@linaro.org>
15959
15960 * gdb.trace/trace-condition.c: New file.
15961 * gdb.trace/trace-condition.exp: New file.
15962
d78908cf
WW
159632015-09-16 Wei-cheng Wang <cole945@gmail.com>
15964
15965 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
15966 for testing bytecode compilation.
15967
1ed415e2
PA
159682015-09-16 Pedro Alves <palves@redhat.com>
15969 Sandra Loosemore <sandra@codesourcery.com>
15970
15971 * gdb.threads/non-stop-fair-events.c (timeout): New global.
15972 (SECONDS): Redefine.
15973 (main): Call pthread_kill and alarm early.
15974 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
15975 support.
15976 (test): If the target can't hardware step and doesn't support
15977 displaced stepping, increase the timeout.
15978
d136eff5
PA
159792015-09-16 Pedro Alves <palves@redhat.com>
15980
15981 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
15982 (enable_debug): New procedures.
15983 (test): Use them. Bail out if waiting for threads fails.
15984 (top level): Bail out if a test fails.
15985
991f019c
YQ
159862015-09-16 Yao Qi <yao.qi@linaro.org>
15987
15988 * gdb.asm/asm-source.exp: Set asm-arch for
15989 aarch64*-*-* target.
15990 * gdb.asm/aarch64.inc: New file.
15991
bfca584f
PMR
159922015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
15993
15994 * gdb.ada/array_of_variable_length.exp: New testcase.
15995 * gdb.ada/array_of_variable_length/foo.adb: New file.
15996 * gdb.ada/array_of_variable_length/pck.adb: New file.
15997 * gdb.ada/array_of_variable_length/pck.ads: New file.
15998
b326e587
DE
159992015-09-15 Doug Evans <dje@google.com>
16000
16001 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
16002 of function static local variable.
16003
5382cfab
PW
160042015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
16005
16006 * gdb.threads/tls-so_extern.exp: New test file.
16007 * gdb.threads/tls-so_extern.c: New test file.
16008 * gdb.threads/tls-so_extern_main.c: New test file.
16009
141c5cc4
JK
160102015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16011
16012 * gdb.opt/solib-intra-step-lib.c: New file.
16013 * gdb.opt/solib-intra-step-main.c: New file.
16014 * gdb.opt/solib-intra-step.exp: New file.
16015
d15dcecd
PA
160162015-09-15 Pedro Alves <palves@redhat.com>
16017
16018 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
16019 gdb_continue_to_breakpoint instead of gdb_test_multiple.
16020
4c2f2a79
PA
160212015-09-14 Pedro Alves <palves@redhat.com>
16022
16023 * gdb.base/hook-stop-continue.c: Delete.
16024 * gdb.base/hook-stop-continue.exp: Delete.
16025 * gdb.base/hook-stop-frame.c: Delete.
16026 * gdb.base/hook-stop-frame.exp: Delete.
16027 * gdb.base/hook-stop.c: New file.
16028 * gdb.base/hook-stop.exp: New file.
16029
919e6dbe
PMR
160302015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
16031
16032 * gdb.ada/access_to_packed_array.exp: New testcase.
16033 * gdb.ada/access_to_packed_array/foo.adb: New file.
16034 * gdb.ada/access_to_packed_array/pack.adb: New file.
16035 * gdb.ada/access_to_packed_array/pack.ads: New file.
16036
157280a4
MM
160372015-09-14 Markus Metzger <markus.t.metzger@intel.com>
16038
16039 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
16040 buffer size test.
16041
2fd33e94
DB
160422015-09-11 Don Breazeal <donb@codesourcery.com>
16043
16044 * gdb.base/foll-exec.c: Add copyright header. Fix
16045 formatting issues.
16046 * gdb.base/foll-exec.exp (zap_session): Delete proc.
16047 (do_exec_tests): Use clean_restart in place of zap_session,
16048 and for test initialization. Fix formatting issues. Use
16049 fail in place of perror.
16050 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
16051 an expect statement to match an expression with output from
16052 the program under debug.
16053 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
16054 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
16055 * gdb.threads/non-ldr-exc-2.exp: Likewise.
16056 * gdb.threads/non-ldr-exc-3.exp: Likewise.
16057 * gdb.threads/non-ldr-exc-4.exp: Likewise.
16058
e70b6e8e
DE
160592015-09-09 Doug Evans <dje@google.com>
16060
16061 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
16062
7a551a51
DE
160632015-09-09 Doug Evans <dje@google.com>
16064
16065 * gdb.base/pie-execl.exp: Fix result test of build_executable.
16066
4c666f84
DE
160672015-09-09 Doug Evans <dje@google.com>
16068
16069 * gdb.base/savedregs.exp: Fix typo.
16070
243a9253
PA
160712015-09-09 Pedro Alves <palves@redhat.com>
16072
16073 * gdb.mi/mi-cli.exp: Add CLI finish tests.
16074
c0fa8fbd
SL
160752015-09-08 Sandra Loosemore <sandra@codesourcery.com>
16076
16077 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
16078 command actually switches threads. Give up on remaining
16079 tests if target fails to stop at breakpoint.
16080
cd7c1778
PMR
160812015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
16082
16083 * gdb.ada/funcall_char.exp: New testcase.
16084 * gdb.ada/funcall_char/foo.adb: New file.
16085
dc5c8746
PMR
160862015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
16087
16088 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
16089 expected outputs. Add two testcases for completing ambiguous
16090 functions.
16091 * gdb.ada/complete/aux_pck.adb: New file.
16092 * gdb.ada/complete/aux_pck.ads: New file.
16093 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
16094 Ambiguous_Func functions.
16095 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
16096 * gdb.ada/complete/pck.adb: Likewise.
16097
4e83a1e7
UW
160982015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
16099
16100 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
16101 failures to run the test program under GDB.
16102
8ce74153
LM
161032015-08-26 Luis Machado <lgustavo@codesourcery.com>
16104
16105 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
16106 to C.
16107
e9756d52
PP
161082015-08-26 Patrick Palka <patrick@parcs.ath.cx>
16109
16110 * gdb.base/run-after-attach.exp: New test file.
16111 * gdb.base/run-after-attach.c: New test file.
16112
8d37573b
DB
161132015-08-26 Don Breazeal <donb@codesourcery.com>
16114
16115 * gdb.base/foll-exec-2.c: New test program.
16116 * gdb.base/foll-exec-2.exp: New test.
16117
63e43d3a
PMR
161182015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
16119
16120 * gdb.base/nested-subp1.exp: New file.
16121 * gdb.base/nested-subp1.c: New file.
16122 * gdb.base/nested-subp2.exp: New file.
16123 * gdb.base/nested-subp2.c: New file.
16124 * gdb.base/nested-subp3.exp: New file.
16125 * gdb.base/nested-subp3.c: New file.
16126
3d40fbb5
PA
161272015-08-24 Pedro Alves <palves@redhat.com>
16128
16129 * gdb.server/connect-without-multi-process.c: New file.
16130 * gdb.server/connect-without-multi-process.exp: New file.
16131
4422ac93
LM
161322015-08-24 Luis Machado <lgustavo@codesourcery.com>
16133
16134 * gdb.opt/inline-markers.c: Make z int.
16135
91dddb86
LM
161362015-08-24 Luis Machado <lgustavo@codesourcery.com>
16137
16138 * gdb.opt/inline-markers.c: Make z volatile.
16139
a48847ee
LM
161402015-08-24 Luis Machado <lgustavo@codesourcery.com>
16141
16142 * gdb.opt/inline-bt.c: New volatile global z.
16143 * gdb.opt/inline-cmds.c: Likewise.
16144 * gdb.opt/inline-locals.c: Likewise.
16145 * gdb.opt/inline-markers.c: New extern global z.
16146 (marker): Use z.
16147 (inline_fn): Likewise.
16148
0ebbc52b
PA
161492015-08-24 Pedro Alves <palves@redhat.com>
16150
16151 * config/m32r-stub.exp: Remove file.
16152 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
16153 * gdb.base/call-rt-st.exp: Likewise.
16154 * gdb.base/call-strs.exp: Likewise.
16155 * gdb.base/default.exp: Remove references to h8300-*-hms and
16156 *-*-udi*.
16157 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
16158
77c365df
AA
161592015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
16160
16161 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
16162 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
16163 and "return" use KFAIL when GDB can not read/write the vector
16164 return value.
16165
4313b8c0
GB
161662015-08-21 Gary Benson <gbenson@redhat.com>
16167
16168 * gdb.trace/pending.exp: Cope with remote transfer warnings.
16169
0e433b32
PA
161702015-08-20 Pedro Alves <palves@redhat.com>
16171
16172 * gdb.server/solib-list.exp: No longer expect an interior stop in
16173 non-stop mode.
16174
221e1a37
PA
161752015-08-20 Pedro Alves <palves@redhat.com>
16176
16177 * gdb.server/connect-stopped-target.c: New file.
16178 * gdb.server/connect-stopped-target.exp: New file.
16179
40e3ad0e
PA
161802015-08-20 Pedro Alves <palves@redhat.com>
16181
16182 * gdb.dwarf2/comp-unit-lang.exp: New file.
16183 * gdb.dwarf2/comp-unit-lang.c: New file.
16184
af39b327
PMR
161852015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
16186
16187 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
16188 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
16189
7d45c7c3 161902015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 16191
7d45c7c3
KB
16192 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
16193 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
16194
4d6cceb4
DE
161952015-08-18 Doug Evans <dje@google.com>
16196 Adrian Sendroiu <adrian.sendroiu@freescale.com>
16197
16198 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
16199 skip_python_tests. New arg prompt_regexp.
16200 (skip_python_tests): New function.
16201 * lib/mi-support.exp (mi_skip_python_tests): New function.
16202 * gdb.python/py-mi-objfile-gdb.py: New file.
16203 * gdb.python/py-mi-objfile.c: New file.
16204 * gdb.python/py-mi-objfile.exp: New file.
16205
ad89c2aa
KS
162062015-08-17 Keith Seitz <keiths@redhat.com>
16207
16208 * gdb.linespec/explicit.exp: Move strace test from here ...
16209 * gdb.trace/strace.exp: ... to here.
16210
e3ae3c43
PP
162112015-08-15 Patrick Palka <patrick@parcs.ath.cx>
16212
16213 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
16214 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
16215
604b2636
DE
162162015-08-14 Doug Evans <xdje42@gmail.com>
16217
16218 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
16219 inferior before selecting a new file.
16220
6ff0ba5f
DE
162212015-08-14 Doug Evans <xdje42@gmail.com>
16222
16223 * gdb.mi/mi-disassemble.exp: Update.
16224 * gdb.base/disasm-optim.S: New file.
16225 * gdb.base/disasm-optim.c: New file.
16226 * gdb.base/disasm-optim.h: New file.
16227 * gdb.base/disasm-optim.exp: New file.
16228
9ca98f92
KS
162292015-08-14 Keith Seitz <keiths@redhat.com>
16230
16231 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
16232 "evaluated-by".
16233
52bbc560
JB
162342015-08-13 Joel Brobecker <brobecker@adacore.com>
16235
16236 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
16237
5d8c3ed3
PMR
162382015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
16239
16240 * gdb.ada/fun_renaming.exp: New testcase.
16241 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
16242 * gdb.ada/fun_renaming/pack.adb: New file.
16243 * gdb.ada/fun_renaming/pack.ads: New file.
16244
ea8812bc
KS
162452015-08-12 Keith Seitz <keiths@redhat.com>
16246
16247 * gdb.base/dso2dso.exp: Pass basename of source file in call to
16248 gdb_get_line_number.
16249
4dafcdeb
JB
162502015-08-12 Joel Brobecker <brobecker@adacore.com>
16251
16252 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
16253 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
16254 gdb.base/dso2dso.exp: New files.
16255
5ba32597
SDJ
162562015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
16257 Pedro Alves <palves@redhat.com>
16258 Keith Seitz <keiths@redhat.com>
16259
16260 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
16261 GDBFLAGS.
16262
b6dafabf
PP
162632015-08-12 Patrick Palka <patrick@parcs.ath.cx>
16264
16265 * gdb.base/gdbhistsize-history.exp
16266 (test_histsize_history_setting): Use save_vars.
16267 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16268 Use save_vars.
16269 (test_no_truncation_of_unlimited_history_file): Use save_vars.
16270 * gdb.base/readline.exp: Use save_vars.
16271
abe8e607
PP
162722015-08-12 Patrick Palka <patrick@parcs.ath.cx>
16273
16274 * lib/gdb.exp (save_vars): New proc.
16275
629500fa
KS
162762015-08-11 Keith Seitz <keiths@redhat.com>
16277
16278 * gdb.base/help.exp: Update help_breakpoint_text.
16279
eb8c4e2e
KS
162802015-08-11 Keith Seitz <keiths@redhat.com>
16281
16282 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
16283 (at toplevel): Call test_explicit_breakpoints.
16284 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
16285 breakpoints.
16286 * lib/mi-support.exp (mi_make_breakpoint): Add support for
16287 breakpoint conditions, "-cond".
16288
87f0e720
KS
162892015-08-11 Keith Seitz <keiths@redhat.com>
16290
16291 * gdb.linespec/3explicit.c: New file.
16292 * gdb.linespec/cpexplicit.cc: New file.
16293 * gdb.linespec/cpexplicit.exp: New file.
16294 * gdb.linespec/explicit.c: New file.
16295 * gdb.linespec/explicit.exp: New file.
16296 * gdb.linespec/explicit2.c: New file.
16297 * gdb.linespec/ls-errs.exp: Add explicit location tests.
16298 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
16299 before using in the matching pattern.
16300 Clarify that `prefix' is a regular expression.
16301
f00aae0f
KS
163022015-08-11 Keith Seitz <keiths@redhat.com>
16303
16304 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
16305 test.
16306 Add tests for missing ",FMT" and ",".
16307
e27852be
DE
163082015-08-10 Doug Evans <dje@google.com>
16309 Keith Seitz <keiths@redhat.com>
16310
16311 PR gdb/17960
16312 * gdb.base/completion.exp: Add location completer tests.
16313
7f03bd92
PA
163142015-08-07 Pedro Alves <palves@redhat.com>
16315
16316 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
16317 tests here.
16318 (top level): Run do_test with and without displaced stepping.
16319
3fc8eb30
PA
163202015-08-07 Pedro Alves <palves@redhat.com>
16321
16322 * gdb.base/valgrind-disp-step.c: New file.
16323 * gdb.base/valgrind-disp-step.exp: New file.
16324
d4569d7b
PA
163252015-08-07 Pedro Alves <palves@redhat.com>
16326
16327 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
16328 Delete function.
16329 (main): Add alarm. Run an infinite loop instead of calling
16330 wait_threads.
16331 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
16332 comment.
16333 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
16334 Delete function.
16335 (main): Add alarm. Run an infinite loop instead of calling
16336 wait_threads.
16337 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
16338 comment.
16339
e1316e60
PA
163402015-08-07 Pedro Alves <palves@redhat.com>
16341
16342 * gdb.base/checkpoint-ns.exp: New file.
16343 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
16344 standard_testfile.
16345
da8c46d2
MM
163462015-08-07 Markus Metzger <markus.t.metzger@intel.com>
16347
16348 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
16349 * gdb.btrace/instruction_history.exp: Update.
16350 * gdb.btrace/tsx.exp: New.
16351 * gdb.btrace/tsx.c: New.
16352
de1c2c52
PA
163532015-08-06 Pedro Alves <palves@redhat.com>
16354
16355 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
16356 increase timeout.
16357 * gdb.reverse/until-precsave.exp: Bump timeouts.
16358
782e0bf4
PA
163592015-08-06 Pedro Alves <palves@redhat.com>
16360
16361 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
16362
83e97ed0
PA
163632015-08-06 Pedro Alves <palves@redhat.com>
16364
16365 PR gdb/18749
16366 * gdb.threads/process-dies-while-handling-bp.c: New file.
16367 * gdb.threads/process-dies-while-handling-bp.exp: New file.
16368
863d01bd
PA
163692015-08-06 Pedro Alves <palves@redhat.com>
16370
16371 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
16372 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
16373
0a39bb32
PA
163742015-08-05 Pedro Alves <palves@redhat.com>
16375
16376 * gdb.threads/next-while-other-thread-longjmps.c: New file.
16377 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
16378
ee2d2b10
SL
163792015-08-03 Sandra Loosemore <sandra@codesourcery.com>
16380
16381 * gdb.base/bp-permanent.exp: Report test as unsupported if
16382 the target cannot stop at the permanent breakpoint.
16383
4e1bdb00
DE
163842015-08-03 Doug Evans <dje@google.com>
16385
16386 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
16387 10000.
16388
3d338901
DE
163892015-08-03 Doug Evans <dje@google.com>
16390
16391 * Makefile.in (workers/%.worker, build-perf): New rule.
16392 (GDB_PERFTEST_MODE): New variable.
16393 (check-perf): Use it.
16394 (clean): Clean up gdb.perf parallel build subdirs.
16395 * lib/build-piece.exp: New file.
16396 * lib/gdb.exp (make_gdb_parallel_path): New function
16397 (standard_output_file, standard_temp_file): Call it.
16398 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16399 of $GDB_PARALLEL.
16400 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
16401
af061d3e
DE
164022015-08-03 Doug Evans <dje@google.com>
16403
8e1afc81 16404 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
16405 (LOG_FILE_NAME): New global.
16406 (TextReporter.__init__): Initialize self.txt_sum.
16407 (TextReporter.report): Add support for multiple data-points.
16408 Move report to perftest.sum, put raw data in perftest.log.
16409 (TextReporter.start): Open sum and log files.
16410 (TextReporter.end): Close sum and log files.
8e1afc81
DE
16411 * gdb.perf/lib/perftest/testresult.py
16412 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 16413
2c8c5d37
PA
164142015-07-31 Pedro Alves <palves@redhat.com>
16415
16416 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
16417 Use spawn_id_get_pid. Wait for spawn id after eof. Use
16418 kill_wait_spawned_process instead of explicit "kill -9".
16419 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
16420 returning a spawn id instead of a pid. Use spawn_id_get_pid and
16421 kill_wait_spawned_process.
16422 * gdb.base/attach-twice.exp: Likewise.
16423 * gdb.base/attach.exp: Likewise.
16424 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
16425 gdb_test_multiple.
16426 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
16427 returning a spawn id instead of a pid. Use spawn_id_get_pid and
16428 kill_wait_spawned_process.
16429 * gdb.base/valgrind-infcall.exp: Likewise.
16430 * gdb.multi/multi-attach.exp: Likewise.
16431 * gdb.python/py-prompt.exp: Likewise.
16432 * gdb.python/py-sync-interp.exp: Likewise.
16433 * gdb.server/ext-attach.exp: Likewise.
16434 * gdb.threads/attach-into-signal.exp (corefunc): Use
16435 spawn_wait_for_attach, spawn_id_get_pid and
16436 kill_wait_spawned_process.
16437 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
16438 spawn_wait_for_attach returning a spawn id instead of a pid. Use
16439 spawn_id_get_pid and kill_wait_spawned_process.
16440 * gdb.threads/attach-stopped.exp (corefunc): Use
16441 spawn_wait_for_attach, spawn_id_get_pid and
16442 kill_wait_spawned_process.
16443 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
16444 Use spawn_id_get_pid. Wait for spawn id after eof. Use
16445 kill_wait_spawned_process instead of explicit "kill -9".
16446 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
16447 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
16448 (spawn_wait_for_attach): Use spawn instead of exec to spawn
16449 processes. Don't map cygwin/windows pids here. Now returns a
16450 spawn id list.
16451
032a0fca
SL
164522015-07-30 Sandra Loosemore <sandra@codesourcery.com>
16453
16454 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
16455 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
16456 correct patch.
16457
61a934ca
SL
164582015-07-30 Sandra Loosemore <sandra@codesourcery.com>
16459
16460 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
16461
4bc4d428
SL
164622015-07-30 Sandra Loosemore <sandra@codesourcery.com>
16463
16464 Reapply:
16465 2014-05-21 Mark Wielaard <mjw@redhat.com>
16466
16467 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16468
998d452a
PA
164692015-07-30 Pedro Alves <palves@redhat.com>
16470
16471 * linux-low.c (handle_extended_wait): Set the child's last
16472 reported status to TARGET_WAITKIND_STOPPED.
16473
69dde7dc
PA
164742015-07-30 Pedro Alves <palves@redhat.com>
16475
16476 PR threads/18600
16477 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
16478 only shows inferior 1.
16479
4dd63d48
PA
164802015-07-30 Simon Marchi <simon.marchi@ericsson.com>
16481 Pedro Alves <palves@redhat.com>
16482
16483 PR threads/18600
16484 * gdb.threads/fork-plus-threads.c: New file.
16485 * gdb.threads/fork-plus-threads.exp: New file.
16486
d618e4c5
PP
164872015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16488
16489 * gdb.base/batch-preserve-term-settings.exp
16490 (test_terminal_settings_preserved_after_cli_exit): Use
16491 send_quit_command.
16492
1eef6428
PA
164932015-07-29 Pedro Alves <palves@redhat.com>
16494 Don Breazeal <donb@codesourcery.com>
16495
16496 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
16497 output from both inferior_spawn_id and gdb_spawn_id.
16498
7da5b897
SDJ
164992015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
16500
16501 * gdb.threads/attach-into-signal.exp (corefunc): Use
16502 with_test_prefix on nested loops, uniquefying the test messages.
16503
dac804df
SDJ
165042015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
16505
16506 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
16507 commit.
16508
06265e53
PP
165092015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16510
16511 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
16512 New proc.
16513 (test_terminal_settings_preserved_after_sigterm): New test.
16514
18206ca3
PP
165152015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16516
16517 * gdb.base/batch-preserve-term-settings.exp
16518 (test_terminal_settings_preserved_after_cli_exit): New test.
16519
90074d11
PP
165202015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16521
16522 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
16523 manipulation of saved_gdbflags.
16524 (test_terminal_settings_preserved): Remove global declaration of
16525 the unused variable pagination_prompt. Remove manipulation of
16526 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
16527 GDBFLAGS.
16528
eb1a7902
PA
165292015-07-29 Pedro Alves <palves@redhat.com>
16530
16531 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
16532
8b75dd3b
PA
165332015-07-29 Pedro Alves <palves@redhat.com>
16534
16535 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
16536 at the top.
16537
dedad4e3
PA
165382015-07-29 Pedro Alves <palves@redhat.com>
16539
16540 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
16541 (main): Call gdb_unbuffer_output.
16542 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
16543 (main): Call gdb_unbuffer_output.
16544 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
16545 (main): Call gdb_unbuffer_output.
16546 * gdb.base/call-strs.exp: Adjust to step over the
16547 gdb_unbuffer_output call.
16548 * gdb.base/catch-gdb-caused-signals.c: Include
16549 "../lib/unbuffer_output.c".
16550 (main): Call gdb_unbuffer_output.
16551 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
16552 (main): Call gdb_unbuffer_output.
16553 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
16554 (main): Call gdb_unbuffer_output.
16555 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
16556 (main): Call gdb_unbuffer_output.
16557 * gdb.base/shlib-call.exp: Adjust to step over the
16558 gdb_unbuffer_output call.
16559 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
16560 (main): Call gdb_unbuffer_output.
16561 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
16562 (main): Call gdb_unbuffer_output.
16563 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
16564 (main): Rename to ...
16565 (test): ... this.
16566 (main): Reimplement.
16567 * gdb.base/varargs.exp: Run to test instead of to main.
16568 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
16569 (main): Call gdb_unbuffer_output.
16570
58789a91
PA
165712015-07-29 Pedro Alves <palves@redhat.com>
16572
16573 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
16574 factore out from mi_continue_dprintf. For call-style dprintfs,
16575 expect dprintf output out of $inferior_spawn_id.
16576 (mi_continue_dprintf): Use mi_expect_dprintf.
16577 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
16578 (main): Call gdb_unbuffer_output.
16579
e8376742
PA
165802015-07-29 Pedro Alves <palves@redhat.com>
16581
16582 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
16583 (default_mi_gdb_start): Set inferior_spawn_id instead of
16584 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
16585 gdb_spawn_id.
16586 (mi_gdb_test): Always expect inferior output from both
16587 $inferior_spawn_id and $gdb_spawn_id.
16588
08280010
PA
165892015-07-29 Pedro Alves <palves@redhat.com>
16590
16591 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
16592 send_inferior and $inferior_spawn_id.
16593
4d30e432
PA
165942015-07-29 Pedro Alves <palves@redhat.com>
16595
16596 * gdb.gdb/complaints.exp (test_initial_complaints)
16597 (test_serial_complaints, test_short_complaints): Use
16598 gdb_test_stdio.
16599 (test_empty_complaint): Handle $inferior_spawn_id !=
16600 $gdb_spawn_id.
16601
0d30a335
PA
166022015-07-29 Pedro Alves <palves@redhat.com>
16603
16604 * gdb.base/varargs.exp: Use gdb_test_stdio.
16605
39413b29
PA
166062015-07-29 Pedro Alves <palves@redhat.com>
16607
16608 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
16609
7cb000a9
PA
166102015-07-29 Pedro Alves <palves@redhat.com>
16611
16612 * gdb.base/ending-run.exp: Use gdb_test_stdio.
16613
d7b8ac82
PA
166142015-07-29 Pedro Alves <palves@redhat.com>
16615
16616 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
16617 parameter into two new parameters, "inf_result" and "gdb_result".
16618 Expect inferior output and gdb output from $inferior_spawn_id and
16619 $gdb_spawn_id, respectively. Adjust all callers.
16620
789c3a0c
PA
166212015-07-29 Pedro Alves <palves@redhat.com>
16622
16623 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
16624 of gdb_test_sequence.
16625
77e760c3
PA
166262015-07-29 Pedro Alves <palves@redhat.com>
16627
16628 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
16629 (saw_spurious_output): Expect inferior output from
16630 $inferior_spawn_id. Use gdb_test_stdio.
16631
8396d2cd
PA
166322015-07-29 Pedro Alves <palves@redhat.com>
16633
16634 * gdb.base/dprintf.exp: Use standard_testfile. Change
16635 prepare_for_testing call.
16636 (srcfile): Don't set.
16637 (restart): New procedure.
16638 (test_dprintf): New procecure, use to continue over dprintfs.
16639 (test_call, test_agent): New procedures, tests moved here.
16640 Restart gdb and recreate dprintfs. Adjust expected output.
16641
2051d61f
PA
166422015-07-29 Pedro Alves <palves@redhat.com>
16643
16644 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
16645
452397af
PA
166462015-07-29 Pedro Alves <palves@redhat.com>
16647
16648 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
16649
8aed9555
PA
166502015-07-29 Pedro Alves <palves@redhat.com>
16651
16652 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
16653 gdb_test_stdio.
16654
188a61b4
PA
166552015-07-29 Pedro Alves <palves@redhat.com>
16656
16657 * lib/gdb.exp (gdb_test_stdio): New procedure.
16658
12264a45
PA
166592015-07-29 Pedro Alves <palves@redhat.com>
16660
16661 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
16662
23ffc893
PA
166632015-07-29 Pedro Alves <palves@redhat.com>
16664
16665 * gdb.base/call-signal-resume.exp: Remove check for
16666 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
16667 * gdb.base/unwindonsignal.exp: Likewise.
16668 * gdb.base/call-signals.c (gen_signal): Remove printf call.
16669 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
16670
65566918
PA
166712015-07-29 Pedro Alves <palves@redhat.com>
16672
16673 * gdb.base/siginfo-addr.c (pass): New function.
16674 (handler): Call it iff si_addr is correct.
16675 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
16676 Set a breakpoint at "pass" and continue to it.
16677
d60a9221
SDJ
166782015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
16679
16680 * gdb.python/py-objfile.exp: Make some tests have unique names.
16681 * gdb.python/py-pp-registration.exp: Likewise.
16682
bde40b8f
PA
166832015-07-28 Pedro Alves <palves@redhat.com>
16684
16685 * gdb.server/server-exec-info.exp: Issue a "disconnect".
16686
13e1dec8
SM
166872015-07-27 Simon Marchi <simon.marchi@ericsson.com>
16688
16689 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
16690
da33c9a7
SM
166912015-07-27 Simon Marchi <simon.marchi@ericsson.com>
16692
16693 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
16694
077836f7
PP
166952015-07-27 Patrick Palka <patrick@parcs.ath.cx>
16696
16697 * gdb.base/gdb-sigterm-2.exp: New test.
16698
b8cc7b2e
DE
166992015-07-25 Doug Evans <xdje42@gmail.com>
16700
16701 Revert:
16702 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
16703 (workers/%.worker, build-perf): New rule.
16704 (GDB_PERFTEST_MODE): New variable.
16705 (check-perf): Use it.
16706 (clean): Clean up gdb.perf parallel build subdirs.
16707 * lib/build-piece.exp: New file.
16708 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
16709 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
16710 name.
16711 (standard_temp_file): Ditto.
16712 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16713 of $GDB_PARALLEL.
16714
c8bd4544
DE
167152015-07-24 Doug Evans <dje@google.com>
16716
16717 * gdb.perf/lib/perftest/utils.py: New file.
16718 * gdb.perf/gm-hello.cc: New file.
16719 * gdb.perf/gm-pervasive-typedef.cc: New file.
16720 * gdb.perf/gm-pervasive-typedef.h: New file.
16721 * gdb.perf/gm-std.cc: New file.
16722 * gdb.perf/gm-std.h: New file.
16723 * gdb.perf/gm-use-cerr.cc: New file.
16724 * gdb.perf/gm-utils.h: New file.
16725 * gdb.perf/gmonster-null-lookup.py: New file.
16726 * gdb.perf/gmonster-pervasive-typedef.py: New file.
16727 * gdb.perf/gmonster-print-cerr.py: New file.
16728 * gdb.perf/gmonster-ptype-string.py: New file.
16729 * gdb.perf/gmonster-runto-main.py: New file.
16730 * gdb.perf/gmonster-select-file.py: New file.
16731 * gdb.perf/gmonster1-null-lookup.exp: New file.
16732 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
16733 * gdb.perf/gmonster1-print-cerr.exp: New file.
16734 * gdb.perf/gmonster1-ptype-string.exp: New file.
16735 * gdb.perf/gmonster1-runto-main.exp: New file.
16736 * gdb.perf/gmonster1-select-file.exp: New file.
16737 * gdb.perf/gmonster1.cc: New file.
16738 * gdb.perf/gmonster1.exp: New file.
16739 * gdb.perf/gmonster2-null-lookup.exp: New file.
16740 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
16741 * gdb.perf/gmonster2-print-cerr.exp: New file.
16742 * gdb.perf/gmonster2-ptype-string.exp: New file.
16743 * gdb.perf/gmonster2-runto-main.exp: New file.
16744 * gdb.perf/gmonster2-select-file.exp: New file.
16745 * gdb.perf/gmonster2.cc: New file.
16746 * gdb.perf/gmonster2.exp: New file.
16747
6eab34f3
DE
167482015-07-24 Doug Evans <dje@google.com>
16749
16750 * gdb.perf/README: New file.
16751 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
16752 * lib/gen-perf-test.exp: New file.
16753
63738bfd
DE
167542015-07-24 Doug Evans <dje@google.com>
16755
16756 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
16757 (PerfTest::startup): New function.
16758 (PerfTest::run): Return result of calling body.
16759 (PerfTest::assemble): Rewrite.
16760 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
16761 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
16762 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
16763 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
16764 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
16765
7b606f95
DE
167662015-07-24 Doug Evans <dje@google.com>
16767
16768 * lib/gdb.exp (clean_restart): Make executable optional.
16769
a97b16b8
DE
167702015-07-24 Doug Evans <dje@google.com>
16771
16772 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
16773 compiler_info references.
16774 * gdb.cp/temargs.exp: Ditto.
16775 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
16776 (get_compiler_info): Early exit if already computed. Set compiler_info
16777 to "unknown" if there was a problem.
16778 (test_compiler_info): Add function comment. Call get_compiler_info.
16779
35baa57f
DE
167802015-07-24 Doug Evans <dje@google.com>
16781
16782 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
16783 (workers/%.worker, build-perf): New rule.
16784 (GDB_PERFTEST_MODE): New variable.
16785 (check-perf): Use it.
16786 (clean): Clean up gdb.perf parallel build subdirs.
16787 * lib/build-piece.exp: New file.
16788 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
16789 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
16790 name.
16791 (standard_temp_file): Ditto.
16792 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16793 of $GDB_PARALLEL.
16794
6ebea266
DE
167952015-07-24 Doug Evans <dje@google.com>
16796
16797 * lib/future.exp (gdb_default_target_compile): New option
16798 "early_flags".
16799 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
16800 --as-needed.
16801
1e76a7e9
SDJ
168022015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
16803
16804 * gdb.base/catch-syscall.exp: Call gdb_exit before
16805 gdb_skip_xml_test.
16806
5068630a
PA
168072015-07-24 Pedro Alves <palves@redhat.com>
16808
16809 * gdb.python/py-events.exp: Accept output between the stop event
16810 and the prompt.
16811 * gdb.python/py-evsignal.exp: Likewise.
16812 * gdb.python/py-evthreads.exp: Likewise.
16813
77598427
PA
168142015-07-24 Pedro Alves <palves@redhat.com>
16815
16816 PR gdb/18717
16817 * gdb.threads/non-ldr-exit.c: New file.
16818 * gdb.threads/non-ldr-exit.exp: New file.
16819
11e6c98f
YQ
168202015-07-24 Yao Qi <yao.qi@linaro.org>
16821
16822 * gdb.server/ext-wrapper.exp: Test --wrapper option when
16823 restarting process.
16824
51aee833
YQ
168252015-07-24 Yao Qi <yao.qi@linaro.org>
16826
16827 * gdb.server/ext-restart.exp: New file.
16828
8cfe207c
YQ
168292015-07-24 Yao Qi <yao.qi@linaro.org>
16830
16831 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
16832 argument options.
16833 * gdb.server/ext-wrapper.exp: New file.
16834
cc12ce38
DE
168352015-07-23 Doug Evans <dje@google.com>
16836
16837 * gdb.dwarf2/dw2-dummy-cu.S: New file.
16838 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
16839
d0d84780
PMR
168402015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
16841
16842 * gdb.ada/var_arr_typedef.exp: New testcase.
16843 * gdb.ada/var_arr_typedef/pack.adb: New file.
16844 * gdb.ada/var_arr_typedef/pack.ads: New file.
16845 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
16846
8b558f79
JB
168472015-07-20 Joel Brobecker <brobecker@adacore.com>
16848
16849 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
16850
775a3298
JK
168512015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16852
16853 * gdb.arch/i386-biarch-core.exp: Replace istarget
16854 by "complete set gnutarget". Remove expectation for the "core-file"
16855 command.
16856
db1ff28b
JK
168572015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16858
16859 Revert the previous commit:
16860 Tests for validate symbol file using build-id.
16861
0a94970d
JK
168622015-07-15 Aleksandar Ristovski <aristovski@qnx.com
16863
16864 Tests for validate symbol file using build-id.
16865 * gdb.base/solib-mismatch-lib.c: New file.
16866 * gdb.base/solib-mismatch-libmod.c: New file.
16867 * gdb.base/solib-mismatch.c: New file.
16868 * gdb.base/solib-mismatch.exp: New file.
16869
03346981
SL
168702015-07-15 Sandra Loosemore <sandra@codesourcery.com>
16871
16872 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
16873 nios2-*-linux*.
16874 * gdb.base/sigbpt.exp (stepi_out): Likewise.
16875 * gdb.base/siginfo.exp: Likewise.
16876 * gdb.base/sigstep.exp (advance, advancei): Likewise.
16877
42422cc7
PL
168782015-07-15 Pierre Langlois <pierre.langlois@arm.com>
16879
16880 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
16881 Move it to ...
16882 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
16883 ... here.
16884 * gdb.trace/range-stepping.exp: Check that the target supports
16885 range stepping.
16886
cfa68bae
JK
168872015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16888
16889 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
16890
8ffdba26
PA
168912015-07-14 Pedro Alves <palves@redhat.com>
16892
16893 * gdb.base/killed-outside.exp: New file.
16894 * gdb.base/killed-outside.c: New file.
16895
218a5a11
JK
168962015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16897
16898 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
16899 (n at main): New.
16900 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
16901
e03ed3c6
AA
169022015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
16903
16904 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
16905 infcall tests instead of setting up for KFAIL.
16906
485668e5
MM
169072015-07-10 Markus Metzger <markus.t.metzger@intel.com>
16908
16909 * gdb.btrace/record_goto-step.exp: New.
16910
08464196
JK
169112015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16912
16913 PR compile/18484
16914 * gdb.compile/compile.c (struct struct_type): Add volatile to
16915 selffield's type.
16916 * gdb.compile/compile.exp
16917 (compile code struct_object.selffield = &struct_object): Skip further
16918 struct_object tests if this one xfails.
16919
bcf5c1d9
RC
169202015-07-08 Robert O'Callahan <robert@ocallahan.org>
16921
16922 PR exp/18617
16923 * gdb.trace/ax.exp: Add test.
16924
4931af25
YQ
169252015-07-07 Yao Qi <yao.qi@linaro.org>
16926
16927 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
16928 instead of istarget "aarch64*-*-*".
16929 * gdb.arch/aarch64-fp.exp: Likewise.
16930 * gdb.base/float.exp: Likewise.
16931 * gdb.reverse/aarch64.exp: Likewise.
16932 * lib/gdb.exp (is_aarch64_target): New proc.
16933
9fcf688e
YQ
169342015-07-07 Yao Qi <yao.qi@linaro.org>
16935
16936 * lib/gdb.exp (is_aarch32_target): New proc.
16937 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
16938 instead of "istarget "arm*-*-*"".
16939 * gdb.arch/arm-disp-step.exp: Likewise.
16940 * gdb.arch/thumb-bx-pc.exp: Likewise.
16941 * gdb.arch/thumb-prologue.exp: Likewise.
16942 * gdb.arch/thumb-singlestep.exp: Likewise.
16943 * gdb.base/disp-step-syscall.exp: Likewise.
16944 * gdb.base/float.exp: Likewise.
16945
fbd8d50d
YQ
169462015-07-07 Yao Qi <yao.qi@linaro.org>
16947
16948 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
16949 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
16950
71be1fdc
YQ
169512015-07-07 Yao Qi <yao.qi@linaro.org>
16952
16953 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
16954 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
16955 if it exists.
16956 * gdb.multi/multi-arch.exp: Likewise.
16957
3e221d36
SM
169582015-07-07 Simon Marchi <simon.marchi@ericsson.com>
16959
16960 * gdb.python/py-lazy-string.exp: Add missing parentheses to
16961 print.
16962
d441430b
YQ
169632015-07-07 Yao Qi <yao.qi@linaro.org>
16964
16965 * gdb.arch/thumb-singlestep.exp: Do one more single step.
16966
06f810bd
MG
169672015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
16968
16969 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
16970 '[' and ']' characters.
16971
5e61e7c0
IB
169722015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
16973
16974 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
16975
28bf096c
PA
169762015-06-29 Pedro Alves <palves@redhat.com>
16977
16978 PR threads/18127
16979 * gdb.threads/hand-call-new-thread.c: New file.
16980 * gdb.threads/hand-call-new-thread.c: New file.
16981
ee93cd5e
KS
169822015-06-26 Keith Seitz <keiths@redhat.com>
16983 Doug Evans <dje@google.com>
16984
16985 PR 16253
16986 * gdb.cp/var-tag-2.cc: New file.
16987 * gdb.cp/var-tag-3.cc: New file.
16988 * gdb.cp/var-tag-4.cc: New file.
16989 * gdb.cp/var-tag.cc: New file.
16990 * gdb.cp/var-tag.exp: New file.
16991
fc637f04
PP
169922015-06-26 Patrick Palka <patrick@parcs.ath.cx>
16993
16994 * gdb.base/history-duplicates.exp: New test.
16995
2e52ae68
PP
169962015-06-26 Patrick Palka <patrick@parcs.ath.cx>
16997
16998 * gdb.base/completion.exp: Test the completion of the "focus"
16999 command.
17000
6e22494e
JK
170012015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17002
17003 * gdb.arch/amd64-prologue-skip.S: New file.
17004 * gdb.arch/amd64-prologue-skip.exp: New file.
17005
bf7b9cd9
SM
170062015-06-25 Simon Marchi <simon.marchi@ericsson.com>
17007
17008 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
17009 is_address_zero_readable check.
17010
201e8dfd
PB
170112015-06-24 Peter Bergner <bergner@vnet.ibm.com>
17012
17013 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
17014 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
17015
5cd867b4
YQ
170162015-06-24 Yao Qi <yao.qi@linaro.org>
17017
17018 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
17019 linux targets.
17020
4d7be007
YQ
170212015-06-24 Yao Qi <yao.qi@linaro.org>
17022
17023 * lib/gdb.exp (supports_get_siginfo_type): New proc.
17024 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
17025 * gdb.base/siginfo-thread.exp: Likewise.
17026
07fcd301
YQ
170272015-06-22 Yao Qi <yao.qi@linaro.org>
17028
17029 * boards/remote-gdbserver-on-localhost.exp: Add comments.
17030
52042a00
YQ
170312015-06-22 Yao Qi <yao.qi@linaro.org>
17032
17033 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
17034 aarch64*-*-*.
17035 (skip_hw_watchpoint_tests): Likewise.
17036
74bd41ce
PP
170372015-06-18 Patrick Palka <patrick@parcs.ath.cx>
17038
17039 * gdb.base/gdbinit-history.exp: Test the interaction between
17040 setting GDBHISTSIZE and setting the history size via .gdbinit.
17041
bc460514
PP
170422015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17043
17044 PR gdb/16999
17045 * gdb.base/gdbhistsize-history.exp: New test.
17046
b58c513b
PP
170472015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17048
17049 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
17050 with GDBHISTSIZE.
17051 * gdb.base/readline.exp: Likewise.
17052
92046791
YQ
170532015-06-17 Yao Qi <yao.qi@linaro.org>
17054
17055 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
17056 line.
17057
2093d2d3
PP
170582015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17059
17060 * gdb.base/gdbinit-history.exp: Add test case to check that
17061 an unlimited history file does not get truncated on exit.
17062
e6c693af
AA
170632015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17064
17065 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
17066 (VECTOR): New macro. Use it...
17067 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
17068 ...for these typedefs.
17069 (int8, char1, int1, double1): New typedefs.
17070 (struct just_int2, struct two_int2): New structures.
17071 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
17072 (add_structvecs, add_singlevecs): New functions.
17073 (main): Call add_some_intvecs twice.
17074 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
17075 the compile and exit upon failure. Try compiling for the "native"
17076 architecture. Test inferior function calls with vector arguments
17077 and vector return value handling with "finish" and "return".
17078
c74f7d1c
JT
170792015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
17080
17081 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
17082 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
17083 PE file.
17084 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
17085
98aa42ee
AT
170862015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
17087
17088 PR breakpoints/16465
17089 * gdb.mi/mi-dprintf-pending.c: New file.
17090 * gdb.mi/mi-dprintf-pending.exp: New test.
17091 * gdb.mi/mi-dprintf-pendshr.c: New file.
17092
7d73c23c 170932015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 17094 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
17095
17096 * gdb.arch/i386-mpx-map.c: New file.
17097 * gdb.arch/i386-mpx-map.exp: New File.
17098
170992015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17100
17101 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
17102 * gdb.arch/i386-mpx.exp: Indentation fixed.
17103
171042015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17105
17106 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
17107 function and improved indentation.
17108 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
17109 gdb_test_multiple. Added additional tests to skip the test.
17110
171112015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17112
17113 * gdb.arch/i386-avx512.c: Change path in include file.
17114 * gdb.arch/i386-avx512.exp: Change include dir path
17115 compilation flag.
17116 * gdb.arch/i386-mpx.c: Change path in include file.
17117 * gdb.arch/i386-mpx.exp: Change include dir path compilation
17118 flag.
17119
d5eba19a
JK
171202015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
17121
17122 * gdb.compile/compile-print.exp (compile print *vararray@3)
17123 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
17124
7f361056
JK
171252015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17126
17127 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
17128 (do not keep jit in memory): ... this.
17129 (expect 5): Change it to ...
17130 (expect no 5): ... this.
17131
3b462ec2
SM
171322015-06-02 Simon Marchi <simon.marchi@ericsson.com>
17133
17134 PR gdb/15564
17135 * gdb.mi/mi-detach.exp: New file.
17136
e0619de6
JK
171372015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17138
17139 PR symtab/18392
17140 * gdb.arch/amd64-tailcall-self.S: New file.
17141 * gdb.arch/amd64-tailcall-self.c: New file.
17142 * gdb.arch/amd64-tailcall-self.exp: New file.
17143
e970cb34
DB
171442015-05-28 Don Breazeal <donb@codesourcery.com>
17145
17146 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
17147 tests for remote targets by checking is_target_gdbserver.
17148
b2e2f908
DE
171492015-05-27 Doug Evans <dje@google.com>
17150
17151 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
17152 * gdb.dwarf2/opaque-type-lookup.c: New file.
17153 * gdb.dwarf2/opaque-type-lookup.exp: New file.
17154
82c7be31
DE
171552015-05-26 Doug Evans <dje@google.com>
17156
17157 * gdb.cp/iostream.cc: New file.
17158 * gdb.cp/iostream.exp: New file.
17159
b4f54984
DE
171602015-05-26 Doug Evans <dje@google.com>
17161
17162 * gdb.dwarf2/dw2-op-call.exp: Update.
17163 * gdb.dwarf2/dw4-sig-types.exp: Update.
17164 * gdb.dwarf2/implptr.exp: Update.
17165 * gdb.mi/mi-cmd-param-changed.exp: Update.
17166
4ea6efe9
DE
171672015-05-26 Doug Evans <dje@google.com>
17168
17169 * gdb.python/py-lazy-string.c: New file.
17170 * gdb.python/py-lazy-string.exp: New file.
17171 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
17172 (main): Update. Add estring3.
17173 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
17174 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
17175
f6bb7db3
YQ
171762015-05-26 Omair Javaid <omair.javaid@linaro.org>
17177 Yao Qi <yao.qi@linaro.org>
17178
17179 * gdb.reverse/aarch64.c: New.
17180 * gdb.reverse/aarch64.exp: New.
17181
a81bfbd0
OJ
171822015-05-26 Omair Javaid <omair.javaid@linaro.org>
17183
25d49b86
PA
17184 * lib/gdb.exp (supports_process_record): Return true for
17185 aarch64*-linux*.
a81bfbd0
OJ
17186 (supports_reverse): Likewise.
17187
158bf1b4
PP
171882015-05-22 Patrick Palka <patrick@parcs.ath.cx>
17189
17190 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17191 Use with_test_prefix.
17192
a0145030
AB
171932015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
17194
17195 * gdb.base/completion.exp: Add test for completion of layout
17196 names.
17197
ebe3b578
AB
171982015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
17199
17200 * lib/gdb.exp (skip_tui_tests): New proc.
17201 * gdb.base/tui-layout.exp: Check skip_tui_tests.
17202
84204ed7
PA
172032015-05-19 Pedro Alves <palves@redhat.com>
17204
17205 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17206 Save the whole env array instead of just HOME. Unset HISTSIZE in
17207 the environment while testing. Restore whole environment
17208 afterwards.
17209
37442ce1
DE
172102015-05-16 Doug Evans <xdje42@gmail.com>
17211
17212 * gdb.guile/scm-ports.c: New file.
17213 * gdb.guile/scm-ports.exp: Add memory port tests.
17214
36de76f9
JK
172152015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17216
17217 * gdb.compile/compile-print.c: New file.
17218 * gdb.compile/compile-print.exp: New file.
17219
3a9558c4
JK
172202015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17221
17222 * gdb.compile/compile-ops.exp: Cast param to void.
17223 * gdb.compile/compile.exp: Complete type for _gdb_expr.
17224 (compile code struct_object.selffield = &struct_object): Add xfail.
17225
aa715135
JG
172262015-05-15 Joel Brobecker <brobecker@adacore.com>
17227
17228 * gdb.ada/arr_enum_with_gap: New testcase.
17229
931e5bc3
JG
172302015-05-15 Joel Brobecker <brobecker@adacore.com>
17231
17232 * gdb.ada/byte_packed_arr: New testcase.
17233
9cd4d857
JB
172342015-05-15 Joel Brobecker <brobecker@adacore.com>
17235
17236 * gdb.ada/pckd_neg: New testcase.
17237
ebfd00d2
PP
172382015-05-13 Patrick Palka <patrick@parcs.ath.cx>
17239
17240 PR gdb/17820
17241 * gdb.base/gdbinit-history.exp: New test.
17242 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
17243 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
17244
4c082a81
SC
172452015-05-09 Siva Chandra Reddy <sivachandra@google.com>
17246
17247 * gdb.python/py-xmethods.cc: Enhance test case.
17248 * gdb.python/py-xmethods.exp: New tests.
17249 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
17250 function.
17251 (B_indexoper): Likewise.
17252 (global_dm_list) : Add new xmethod worker functions.
17253
f7797074
SDJ
172542015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
17255
17256 * gdb.base/coredump-filter.exp: Correctly unset
17257 "coredump_var_addr" array.
17258
a4674e4e
PA
172592015-05-08 Pedro Alves <palves@redhat.com>
17260
17261 * gdb.server/non-existing-program.exp: Unset spawn_id.
17262
df2eb078
SC
172632015-05-08 Siva Chandra Reddy <sivachandra@google.com>
17264
17265 PR python/18291
17266 * gdb.python/py-xmethods.exp: Add tests.
17267
422349a3
YQ
172682015-05-08 Yao Qi <yao.qi@linaro.org>
17269
17270 PR gdb/18208
17271 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
17272 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
17273 function set_coredump_filter, and remove remote_exec call.
17274 Remove argument ipid. Callers update.
17275 (top level): Don't get inferior's PID.
17276
63fc80ce
AA
172772015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
17278
17279 * gdb.base/watch_thread_num.exp: Skip test on targets without
17280 access watchpoints.
17281
80ad801e
PA
172822015-05-06 Pedro Alves <palves@redhat.com>
17283
17284 PR server/18081
17285 * gdb.server/non-existing-program.exp: New file.
17286
0fa7fe50
JB
172872015-05-05 Joel Brobecker <brobecker@adacore.com>
17288
17289 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
17290
3ea89b92
PMR
172912015-05-05 Joel Brobecker <brobecker@adacore.com>
17292
17293 * gdb.ada/out_of_line_in_inlined: New testcase.
17294
87b8eff0
JB
172952015-05-05 Joel Brobecker <brobecker@adacore.com>
17296
17297 * gdb.ada/var_rec_arr: New testcase.
17298
5fccc635
YQ
172992015-04-30 Yao Qi <yao.qi@linaro.org>
17300
17301 * gdb.base/break-idempotent.exp: If
17302 skip_hw_watchpoint_multi_tests returns true, skip the tests
17303 on "rwatch" and "awatch".
17304
42d38f42
YQ
173052015-04-30 Yao Qi <yao.qi@linaro.org>
17306
17307 * gdb.base/relativedebug.exp: Invoke gdb command
17308 "info sharedlibrary", and if libc.so doesn't have debug info,
17309 skip the test.
17310
2ce1cdbf
DE
173112015-04-29 Doug Evans <dje@google.com>
17312
17313 * gdb.python/py-xmethods.exp: Add ptype tests.
17314 * gdb.python/py-xmethods.py (E_method_char_worker): Add
17315 get_result_type method.
17316
f24a38c5
LM
173172015-04-29 Luis Machado <lgustavo@codesourcery.com>
17318
17319 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
17320 the target does not support hardware watchpoints.
17321
ecbf2b3c
LM
173222015-04-29 Luis Machado <lgustavo@codesourcery.com>
17323
17324 * gdb.base/break-always.exp: Abort testing if writing to memory
17325 causes an error.
17326
34f5f757
DE
173272015-04-28 Doug Evans <dje@google.com>
17328
17329 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
17330 * gdb.python/py-pp-registration.exp: ... here. New file.
17331 * gdb.python/py-pp-registration.c: New file.
17332 * gdb.python/py-pp-registration.py: New file.
17333
69b4374a
DE
173342015-04-28 Doug Evans <dje@google.com>
17335
17336 * gdb.python/py-bad-printers.c: New file.
17337 * gdb.python/py-bad-printers.py: New file.
17338 * gdb.python/py-bad-printers.exp: New file.
17339
59fb7612
SS
173402015-04-28 Sasha Smundak <asmundak@google.com>
17341
17342 * gdb.python/py-type.exp: New test.
17343
2631b16a
AW
173442015-04-28 Andy Wingo <wingo@igalia.com>
17345
17346 * gdb.python/py-parameter.exp:
17347 * gdb.guile/scm-parameter.exp: Escape the path that we are
17348 matching against, as it might contain characters that are special
17349 to regular expressions.
17350
460efde1
JB
173512015-04-27 Joel Brobecker <brobecker@adacore.com>
17352
17353 * gdb.ada/rec_comp: New testcase.
17354
2d369d8e
SDJ
173552015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
17356
17357 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
17358 before using it.
17359
cf75d6c3
AB
173602015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
17361
17362 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
17363 new tests for verilog output.
17364
8dbe7ca5
YQ
173652015-04-24 Yao Qi <yao.qi@linaro.org>
17366
17367 * boards/remote-gdbserver-on-localhost.exp: New file.
17368
4ef9fb2f
PA
173692015-04-23 Pedro Alves <palves@redhat.com>
17370
17371 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
17372 $inferior_spawn_id instead of $inferior_spawn_id directly. On
17373 "end of file", remove $inferior_spawn_id from the indirect list.
17374
0a803169
PA
173752015-04-23 Pedro Alves <palves@redhat.com>
17376
17377 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
17378
749ef8f8
PA
173792015-04-23 Pedro Alves <palves@redhat.com>
17380
17381 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
17382 on $any_spawn_id instead of only on $gdb_spawn_id.
17383
8aae4344
PM
173842015-04-21 Pierre Muller <muller@sourceware.org>
17385
17386 PR pascal/17815
17387 * lib/pascal.exp (gpc_compile): Add new option "class".
17388 (fpc_compile): Likewise.
17389 * gdb.pascal/case-insensitive-symbols.pas: New file.
17390 * gdb.pascal/case-insensitive-symbols.exp: New file.
17391
1586c8fb
GB
173922015-04-20 Gary Benson <gbenson@redhat.com>
17393
17394 * gdb.base/attach.exp: Fix three extended remote failures.
17395
1b6e6f5c
GB
173962015-04-17 Gary Benson <gbenson@redhat.com>
17397
17398 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
17399 the main executable over the remote protocol.
17400
e797481d
PA
174012015-04-16 Pedro Alves <palves@redhat.com>
17402
17403 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
17404 a new gdbserver if gdbserver_reconnect_p is set.
17405
1ca99c42
PA
174062015-04-16 Pedro Alves <palves@redhat.com>
17407
17408 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
17409 is set, don't exit gdbserver.
17410
af9fd6f8
AA
174112015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
17412
17413 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
17414 appropriate .insn, such that an older assembler can be used.
17415 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
17416 the z/Architecture instruction set on 31-bit targets as well.
17417
04ff1e61
AA
174182015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
17419
17420 * gdb.go/handcall.exp: Remove all logic related to the first
17421 breakpoint and rely on go_runto_main instead.
17422 * gdb.go/strings.exp: Likewise.
17423 * gdb.go/unsafe.exp: Likewise.
17424 * gdb.go/hello.exp: Likewise. Also rename the remaining
17425 breakpoint marker to "breakpoint 1".
17426 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
17427 * gdb.go/strings.go: Likewise.
17428 * gdb.go/unsafe.go: Likewise.
17429 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
17430 "set breakpoint 2 here" and rename the remaining breakpoint marker
17431 to "breakpoint 1".
17432
40d2f8d6
SM
174332015-04-15 Simon Marchi <simon.marchi@ericsson.com>
17434
17435 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
17436 if itertools.imap is not present.
17437 * gdb.python/py-objfile.exp: Add parentheses.
17438 * gdb.python/py-type.exp: Same.
17439 * gdb.python/py-unwind-maint.py: Same.
17440
8cbc97c6
YQ
174412015-04-15 Yao Qi <yao.qi@linaro.org>
17442
17443 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
17444 of ":$ptr_size" and set its form explicitly.
17445
45fd756c
YQ
174462015-04-15 Pedro Alves <palves@redhat.com>
17447 Yao Qi <yao.qi@linaro.org>
17448
17449 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
17450 timeout by factor of 4.
17451 (test_regular_watch): Likewise.
17452 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
17453 * gdb.reverse/sigall-reverse.exp: Likewise.
17454 * gdb.reverse/until-precsave.exp: Likewise.
17455 * lib/gdb.exp (with_timeout_factor): New proc.
17456 (gdb_expect): Move some code to ...
17457 (get_largest_timeout): ... here. New procedure.
17458
9e811bc3
LM
174592015-04-14 Luis Machado <lgustavo@codesourcery.com>
17460
17461 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
17462
0ff6fcb2
LM
174632015-04-13 Luis Machado <lgustavo@codesourcery.com>
17464
17465 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
17466 to write to the .text section.
17467
7578d5f7
LM
174682015-04-13 Luis Machado <lgustavo@codesourcery.com>
17469
17470 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
17471 Handle the case of targets that do not provide PID information.
17472
2efe15c4
YQ
174732015-04-13 Yao Qi <yao.qi@linaro.org>
17474
17475 * lib/gdbserver-support.exp (gdb_exit): Catch exception
17476 and use expect instead of gdb_expect.
17477
8cd8f2f8
SDJ
174782015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
17479
17480 * gdb.base/coredump-filter.exp: Rename variable "addr" to
17481 "coredump_var_addr" to avoid naming conflict with other testcases.
17482
9ee41772
PA
174832015-04-10 Pedro Alves <palves@redhat.com>
17484
17485 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
17486 gdb_test_sequence and gdb_assert.
17487
07473109
PA
174882015-04-10 Pedro Alves <palves@redhat.com>
17489
17490 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
17491 test messages that don't include the breakpoint address.
17492
de3db44c
YQ
174932015-04-10 Yao Qi <yao.qi@linaro.org>
17494
17495 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
17496 false for some offset and width combinations which aren't
17497 supported by linux kernel.
17498
c79d856c
PA
174992015-04-10 Pedro Alves <palves@redhat.com>
17500
17501 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
17502 procedure, factored out from ...
17503 (top level): ... here. Add "set displaced-stepping" testing axis.
17504 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
17505 parameter "displaced". Use it.
17506 (top level): Use foreach and add "set displaced-stepping" testing
17507 axis.
17508
ebc90b50
PA
175092015-04-10 Pedro Alves <palves@redhat.com>
17510
17511 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
17512 Remove comment.
17513 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
17514 both the address of the instruction that triggers the watchpoint
17515 and the address of the instruction immediately after, and use
17516 those addresses for the test. Fix comment.
17517
8f572e5c
PA
175182015-04-10 Pedro Alves <palves@redhat.com>
17519
17520 * gdb.base/sigstep.exp (breakpoint_to_handler)
17521 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
17522 Test "backtrace" in handler.
17523 (breakpoint_over_handler): New parameter 'displaced'. Use it.
17524 (top level): Add new "displaced" test axis to
17525 breakpoint_to_handler, breakpoint_to_handler_entry and
17526 breakpoint_over_handler.
17527
8d707a12
PA
175282015-04-10 Pedro Alves <palves@redhat.com>
17529
17530 PR gdb/18216
17531 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
17532
ef713951
YQ
175332015-04-10 Yao Qi <yao.qi@linaro.org>
17534
17535 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
17536 (test_add_rn_pc): New function.
17537 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
17538 (top level): Invoke test_add_rn_pc.
17539
906d60cf
PA
175402015-04-10 Pedro Alves <palves@redhat.com>
17541
17542 PR gdb/13858
17543 * gdb.base/step-over-no-symbols.exp: New file.
17544
f2983cc3
AW
175452015-04-09 Andy Wingo <wingo@igalia.com>
17546
17547 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
17548 after the Python tests.
17549
6d62641c
SDJ
175502015-04-08 Keith Seitz <keiths@redhat.com>
17551
17552 PR python/16699
17553 * gdb.python/py-completion.exp: New tests for completion.
17554 * gdb.python/py-completion.py (CompleteLimit1): New class.
17555 (CompleteLimit2): Likewise.
17556 (CompleteLimit3): Likewise.
17557 (CompleteLimit4): Likewise.
17558 (CompleteLimit5): Likewise.
17559 (CompleteLimit6): Likewise.
17560 (CompleteLimit7): Likewise.
17561
f3770638
PA
175622015-04-08 Pedro Alves <palves@redhat.com>
17563
17564 PR gdb/18214
17565 PR gdb/18216
17566 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
17567 function.
17568 (main): Install it as SIGUSR1 handler.
17569 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
17570 parameter. Always use "setup" as prefix. Toggle "set
17571 displaced-stepping" off/on depending on global. Don't switch to
17572 thread 1 here.
17573 (top level): Add displaced stepping "off/on" test axis. Update
17574 "setup" calls. Wrap each subtest with with_test_prefix. Test
17575 continuing with a queued signal in each thread.
17576
4496bed7
PA
175772015-04-08 Pedro Alves <palves@redhat.com>
17578
17579 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
17580 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
17581 gdb_breakpoint instead of gdb_test that doesn't expect anything.
17582 Return early if running to main fails.
17583 * gdb.trace/while-stepping.exp: Likewise.
17584
b97fde92
PA
175852015-04-07 Pedro Alves <palves@redhat.com>
17586
17587 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
17588 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
17589 interact with inferior program.
17590
f71c18e7
PA
175912015-04-07 Pedro Alves <palves@redhat.com>
17592
17593 * lib/gdb.exp (inferior_spawn_id): New global.
17594 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
17595 spawn id after processing the user code.
17596 (default_gdb_start): Set inferior_spawn_id.
17597 (send_inferior): New procedure.
17598 * lib/gdbserver-support.exp (gdbserver_start): Set
17599 inferior_spawn_id.
17600 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
17601
6423214f
PA
176022015-04-07 Pedro Alves <palves@redhat.com>
17603
17604 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
17605 * lib/gdbserver-support.exp (gdbserver_start): Make
17606 $server_spawn_id global.
17607 (gdbserver_start): Don't wait for gdbserver's spawn id with
17608 expect_background.
17609 (close_gdbserver): New procedure.
17610 (gdb_exit): Rename the default version and reimplement.
17611
71c0ee8c
PA
176122015-04-07 Pedro Alves <palves@redhat.com>
17613
72f4393d 17614 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
17615 append the substituted item, not the original item.
17616
203bc29b
PA
176172015-04-07 Pedro Alves <palves@redhat.com>
17618
17619 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
17620 gdb_expect.
17621
508a3ddf
PA
176222015-04-07 Pedro Alves <palves@redhat.com>
17623
17624 * gdb.base/interrupt.exp: Don't handle the case of the inferior
17625 output appearing once only.
17626
9f6dbe2b
PA
176272015-04-07 Pedro Alves <palves@redhat.com>
17628
17629 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
17630 that doesn't expect anything. Return early if running to main
17631 fails.
17632
337532fa
YQ
176332015-04-07 Yao Qi <yao.qi@linaro.org>
17634
17635 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
17636 (child_function): Call alarm.
17637 (main): Move call to alarm into the loop.
17638 * gdb.threads/non-stop-fair-events.exp: Build program with
17639 -DTIMEOUT=$timeout.
17640
01b622d4
DE
176412015-04-06 Doug Evans <xdje42@gmail.com>
17642
17643 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
17644 Fix dest parameter to board_info.
17645 (fpc_compile): Ditto.
17646 (gdb_compile_pascal): Rename dest arg to destfile.
17647
961f4160
PMR
176482015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
17649
17650 * gdb.ada/funcall_ref.exp: New file.
17651 * gdb.ada/funcall_ref/foo.adb: New file.
17652
cafda597
YQ
176532015-04-02 Yao Qi <yao.qi@linaro.org>
17654
17655 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
17656 is remote.
17657
fed040c6
GB
176582015-04-02 Gary Benson <gbenson@redhat.com>
17659
17660 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
17661
d11916aa
SS
176622015-04-01 Sasha Smundak <asmundak@google.com>
17663
17664 * gdb.python/py-unwind-maint.c: New file.
17665 * gdb.python/py-unwind-maint.exp: New test.
17666 * gdb.python/py-unwind-maint.py: New file.
17667 * gdb.python/py-unwind.c: New file.
17668 * gdb.python/py-unwind.exp: New test.
17669 * gdb.python/py-unwind.py: New test.
17670
a1471180
PA
176712015-04-01 Pedro Alves <palves@redhat.com>
17672
17673 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
17674 to fail instead of non-existent $test.
17675
0bbeccb1
PA
176762015-04-01 Pedro Alves <palves@redhat.com>
17677
17678 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
17679 GDBFLAGS if not empty.
17680
3c724c8c
PMR
176812015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
17682
17683 * gdb.ada/complete.exp: Remove "multi_line".
17684 * gdb.ada/info_exc.exp: Remove "multi_line".
17685 * gdb.ada/packed_tagged.exp: Remove "multi_line".
17686 * gdb.ada/ptype_field.exp: Remove "multi_line".
17687 * gdb.ada/sym_print_name.exp: Remove "multi_line".
17688 * gdb.ada/tagged.exp: Remove "multi_line".
17689 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
17690 [multi_line ...]
17691 * gdb.btrace/delta.exp: Likewise.
17692 * gdb.btrace/exception.exp: Likewise.
17693 * gdb.btrace/function_call_history.exp: Likewise.
17694 * gdb.btrace/instruction_history.exp: Likewise.
17695 * gdb.btrace/nohist.exp: Likewise.
17696 * gdb.btrace/record_goto.exp: Likewise.
17697 * gdb.btrace/segv.exp: Likewise.
17698 * gdb.btrace/stepi.exp: Likewise.
17699 * gdb.btrace/tailcall.exp: Likewise.
17700 * gdb.btrace/unknown_functions.exp: Likewise.
17701 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
17702 * lib/gdb.exp: Add the "multi_line" helper.
17703
4eec2deb
PA
177042015-04-01 Pedro Alves <palves@redhat.com>
17705
17706 * gdb.threads/tid-reuse.c: New file.
17707 * gdb.threads/tid-reuse.exp: New file.
17708
df8411da
SDJ
177092015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
17710
17711 PR corefiles/16092
17712 * gdb.base/coredump-filter.c: New file.
17713 * gdb.base/coredump-filter.exp: Likewise.
17714
6ef37366
PM
177152015-03-27 Petr Machata <pmachata@redhat.com>
17716
17717 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
17718 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
17719 (Dwarf::assemble): Initialize them.
17720 (Dwarf::lines): New function.
17721
7ec911b0
JT
177222015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
17723
17724 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
17725 SYMBOL_PREFIX for x86_64-*-cygwin.
17726
ff908ebf
AW
177272015-03-26 Andy Wingo <wingo@igalia.com>
17728
17729 PR symtab/18148
17730 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
17731 const_value but not a location.
17732 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
17733 location defined in non-main CUs are visible.
17734
6d5f0679
YQ
177352015-03-26 Yao Qi <yao.qi@linaro.org>
17736
17737 PR testsuite/18139
17738 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
17739 Add a line number entry for the same line.
17740 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
17741 Add a line number entry for the same line.
17742
2898689b
YQ
177432015-03-26 Yao Qi <yao.qi@linaro.org>
17744
17745 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
17746 .int 0.
17747 (func): Likewise. Add .Lfunc_1 label.
17748 Use .Lfunc_1 label.
17749 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
17750 .int 0.
17751 (func): Likewise.
17752 Use .Lfunc_1 label.
17753
85180498
YQ
177542015-03-26 Yao Qi <yao.qi@linaro.org>
17755
17756 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
17757 Call gdb_compile instead to compile each .s files without debug
17758 information.
17759
8aa08a8d
YQ
177602015-03-26 Yao Qi <yao.qi@linaro.org>
17761
17762 * gdb.base/savedregs.exp (process_saved_regs): Make
17763 "Saved registers:" optional in the pattern.
17764
66849923
MM
177652015-03-25 Markus Metzger <markus.t.metzger@intel.com>
17766
17767 * gdb.btrace/next.exp: Merged into step.exp.
17768 * gdb.btrace/finish.exp: Merged into step.exp.
17769 * gdb.btrace/nexti.exp: Merged into stepi.exp.
17770 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
17771 "record goto" and checking the exact replay position.
17772 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
17773 check for "Recording format" in "info record" output.
17774 * gdb.btrace/record_goto.exp: Choose test file based on target.
17775 * gdb.btrace/x86-record_goto.S: Renamed into ...
17776 * gdb.btrace/x86_64-record_goto.S: ... this.
17777 * gdb.btrace/i686-record_goto.S: New.
17778 * gdb.btrace/x86-tailcall.S: Renamed into ...
17779 * gdb.btrace/x86_64-tailcall.S: ... this.
17780 * gdb.btrace/i686-tailcall.S: New.
17781 * gdb.btrace/x86-tailcall.c: Renamed into ...
17782 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
17783 separate statements. Update test.
17784 * gdb.btrace/delta.exp: Use record_goto.c as test file.
17785 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
17786 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
17787 * gdb.btrace/tailcall.exp: Choose test file based on target.
17788 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
17789
11cc1b74
MM
177902015-03-25 Markus Metzger <markus.t.metzger@intel.com>
17791
17792 * gdb.btrace/exception.exp: Increase BTS buffer size.
17793
a25d8bf9
PA
177942015-03-24 Pedro Alves <palves@redhat.com>
17795
17796 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
17797
856e7dd6
PA
177982015-03-24 Pedro Alves <palves@redhat.com>
17799
17800 * gdb.threads/schedlock.exp (test_step): No longer expect that
17801 "set scheduler-locking step" with "next" over a function call runs
17802 threads unlocked.
17803
ad235a41
AT
178042015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
17805
17806 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
17807
15630549
AT
178082015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
17809
17810 PR breakpoints/16466
17811 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
17812 * gdb.mi/mi-pending.c (thread_func): New function.
17813 (int main): Add threading support required.
17814 * gdb.mi/mi-pending.exp: Add tests for this issue.
17815 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
17816 (pendfunc2): Remove stdio dependency.
17817 * gdb.mi/mi-pendshr2.c: New file.
17818
693dca06
KS
178192015-03-23 Keith Seitz <keiths@redhat.com>
17820
17821 * gdb.linespec/keywords.c: New file.
17822 * gdb.linespec/keywords.exp: New file.
17823
7e993ebf
KS
178242015-03-23 Keith Seitz <keiths@redhat.com>
17825
17826 PR gdb/18021
17827 * gdb.dwarf2/staticvirtual.exp: New test.
17828
bc23328c
JK
178292015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
17830
17831 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
17832 * README: Remove HP-UX and gdb.hp.
17833 (configuration):
17834 * configure: Regenerate.
17835 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
17836 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
17837 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
17838 gdb.hp/gdb.defects/Makefile.
17839 * gdb.hp/Makefile.in: File deleted.
17840 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
17841 * gdb.hp/gdb.aCC/optimize.c: File deleted.
17842 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
17843 * gdb.hp/gdb.aCC/run.c: File deleted.
17844 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
17845 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
17846 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
17847 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
17848 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
17849 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
17850 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
17851 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
17852 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
17853 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
17854 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
17855 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
17856 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
17857 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
17858 * gdb.hp/gdb.base-hp/reg.s: File deleted.
17859 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
17860 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
17861 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
17862 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
17863 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
17864 * gdb.hp/gdb.compat/Makefile.in: File deleted.
17865 * gdb.hp/gdb.compat/average.c: File deleted.
17866 * gdb.hp/gdb.compat/sum.c: File deleted.
17867 * gdb.hp/gdb.compat/xdb.c: File deleted.
17868 * gdb.hp/gdb.compat/xdb0.c: File deleted.
17869 * gdb.hp/gdb.compat/xdb0.h: File deleted.
17870 * gdb.hp/gdb.compat/xdb1.c: File deleted.
17871 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
17872 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
17873 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
17874 * gdb.hp/gdb.defects/Makefile.in: File deleted.
17875 * gdb.hp/gdb.defects/bs14602.c: File deleted.
17876 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
17877 * gdb.hp/gdb.defects/solib-d.c: File deleted.
17878 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
17879 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
17880 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
17881 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
17882 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
17883 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
17884 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
17885 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
17886 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
17887 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
17888 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
17889 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
17890 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
17891 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
17892 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
17893 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
17894 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
17895 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
17896 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
17897 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
17898 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
17899 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
17900 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
17901 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
17902 * gdb.hp/tools/odump: File deleted.
17903
8bf3b159
PA
179042015-03-19 Pedro Alves <palves@redhat.com>
17905
17906 * gdb.threads/continue-pending-status.exp (saw_thread_2)
17907 (saw_thread_3): New globals.
17908 (top level): Increment them when an event for the corresponding
17909 thread is seen.
17910 (no thread starvation): New test.
17911
eb54c8bf
PA
179122015-03-19 Pedro Alves <palves@redhat.com>
17913
17914 * gdb.threads/continue-pending-status.c: New file.
17915 * gdb.threads/continue-pending-status.exp: New file.
17916
32d2e5d6
PA
179172015-03-18 Pedro Alves <palves@redhat.com>
17918
17919 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
17920 Use gdb_is_target_remote instead of is_remote. Use
17921 gdb_test_multiple instead of gdb_expect. Exit early if
17922 gdb_test_multiple hits its internal matches. Tighten stepi tests
17923 expected output. Fail on exit with any signal, instead of just
17924 SIGILL.
17925
f68f11b7
YQ
179262015-03-18 Yao Qi <yao.qi@linaro.org>
17927
17928 PR tdep/18107
17929 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
17930 variable.
17931 * gdb.base/catch-syscall.exp: Don't skip it on
17932 aarch64*-*-linux* target. Remove elements in all_syscalls.
17933 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
17934 target.
17935 (setup_all_syscalls): New proc.
17936
ca5fd19b
YQ
179372015-03-16 Yao Qi <yao.qi@linaro.org>
17938
17939 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
17940 (top level): Skip tests if valid_addr_p returns false for
17941 $cmd1 or $cmd2.
17942
85642ba0
AW
179432015-03-11 Andy Wingo <wingo@igalia.com>
17944
17945 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
17946
e03f9645
YQ
179472015-03-11 Yao Qi <yao.qi@linaro.org>
17948
17949 * gdb.base/catch-syscall.exp: Fix typo in comments.
17950
5d0962b2
YQ
179512015-03-11 Yao Qi <yao.qi@linaro.org>
17952
17953 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
17954
b2df3cef
PA
179552015-03-09 Pedro Alves <palves@redhat.com>
17956
17957 * dg-extract-results.py: Delete.
17958
ef878e53
PA
179592015-03-09 Pedro Alves <palves@redhat.com>
17960
17961 Merge dg-extract-results.sh from GCC upstream (r218843).
17962
17963 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
17964 * dg-extract-results.sh: Use --text with grep to avoid issues with
17965 binary files. Fall back to cat -v, if that doesn't work.
17966
9494d219
PA
179672015-03-05 Pedro Alves <palves@redhat.com>
17968
17969 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
17970
a8d9763a
SM
179712015-03-04 Simon Marchi <simon.marchi@ericsson.com>
17972
17973 * lib/mi-support.exp (mi_expect_interrupt): Accept
17974 alternative event for when in all-stop mode.
17975
be9957b8
PA
179762015-03-04 Pedro Alves <palves@redhat.com>
17977
17978 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
17979
d57be0f4 179802015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
17981
17982 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
17983
c214c7cf
AA
179842015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
17985
17986 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
17987 regexps for GDB's current line display, accept a hex address
17988 preceding the line number.
17989
6d74a497
AA
179902015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
17991
17992 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
17993 the 'arch1' variable for "s390*-linux*" targets.
17994
511aee7c
PA
179952015-03-04 Pedro Alves <palves@redhat.com>
17996
17997 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
17998 (main): Pass missing retval argument to pthread_join call.
17999
95e50b27
PA
180002015-03-02 Pedro Alves <palves@redhat.com>
18001
18002 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
18003 (top level): Call do_test with non-stop as well.
18004
28054d69
PA
180052015-03-02 Pedro Alves <palves@redhat.com>
18006
18007 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
18008 -1.
18009
4fa5d7b4
AA
180102015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
18011
18012 * gdb.arch/s390-vregs.exp: New test.
18013 * gdb.arch/s390-vregs.S: New file.
18014
97c18565
PA
180152015-02-27 Pedro Alves <palves@redhat.com>
18016
18017 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
18018 call to catch_command_errors.
18019 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
18020 catch_command_errors.
18021
a37bfa30
PA
180222015-02-27 Pedro Alves <palves@redhat.com>
18023
18024 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
18025 "true" for boolean result.
18026 * gdb.gdb/selftest.exp (test_with_self): Also accept full
18027 prototype of main.
18028
6f98576f
PA
180292015-02-27 Pedro Alves <palves@redhat.com>
18030
18031 * lib/unbuffer_output.c: New file.
18032 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
18033 (main): Call gdb_unbuffer_output.
18034
eba5ab56
YQ
180352015-02-27 Yao Qi <yao.qi@linaro.org>
18036
18037 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
18038 target.
18039
0def5aaa
DE
180402015-02-26 Doug Evans <dje@google.com>
18041
18042 * gdb.cp/class2.cc (Dbase, D): New classes.
18043 (main): New local delta.
18044 * gdb.cp/class2.exp: Test printing delta.
18045 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
18046 (dynbar): New global.
18047 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
18048
081a1c2c
JK
180492015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18050
18051 * gdb.compile/compile-ifunc.c: New file.
18052 * gdb.compile/compile-ifunc.exp: New file.
18053
2f41223f
AT
180542015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
18055
18056 * gdb.base/structs.exp: Check for correct struct on finish.
18057
03eddd80
YQ
180582015-02-26 Yao Qi <yao.qi@linaro.org>
18059
18060 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
18061 is zero.
18062
80c57053
JK
180632015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18064
18065 * gdb.arch/cordic.ko.bz2: New file.
18066 * gdb.arch/cordic.ko.debug.bz2: New file.
18067 * gdb.arch/ppc64-symtab-cordic.exp: New file.
18068
21613c12
YQ
180692015-02-25 Yao Qi <yao.qi@linaro.org>
18070
18071 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
18072 aarch64*-*-* target.
18073
d8b901ed
PA
180742015-02-23 Pedro Alves <palves@redhat.com>
18075
18076 * lib/gdb.exp (delete_breakpoints): Rewrite using
18077 gdb_test_multiple.
18078
e5b85ead
PA
180792015-02-23 Pedro Alves <palves@redhat.com>
18080
18081 * gdb.base/info-os.c: Include stdlib.h.
18082
85c3a371
DE
180832015-02-22 Doug Evans <xdje42@gmail.com>
18084
18085 PR symtab/17855
18086 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
18087 is read after symbols have been re-read.
18088 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
18089 * gdb.ada/exec_changed/second.adb (Second): Ditto.
18090
96553a0c
DE
180912015-02-21 Doug Evans <dje@google.com>
18092
18093 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
18094
97a0c697
JK
180952015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18096
18097 PR corefiles/17808
18098 * gdb.arch/i386-biarch-core.core.bz2: New file.
18099 * gdb.arch/i386-biarch-core.exp: New file.
18100
a47cd6e9
PA
181012015-02-21 Pedro Alves <palves@redhat.com>
18102
18103 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
18104 runto_main fails.
18105
c5facdc4
PA
181062015-02-20 Pedro Alves <palves@redhat.com>
18107
18108 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
18109 info probes.
18110
2db9a427
PA
181112015-02-20 Pedro Alves <palves@redhat.com>
18112
18113 * gdb.threads/multi-create-ns-info-thr.exp: New file.
18114
60fb7e9e
PA
181152015-02-20 Pedro Alves <palves@redhat.com>
18116
18117 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
18118 clean_restart before gdb_target_supports_trace.
18119
5c5019c2
PA
181202015-02-20 Pedro Alves <palves@redhat.com>
18121
18122 PR threads/18006
18123 * gdb.threads/clone-thread_db.c: New file.
18124 * gdb.threads/clone-thread_db.exp: New file.
18125
c9587f88
AT
181262015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
18127
18128 PR breakpoints/16812
18129 * gdb.base/catch-gdb-caused-signals.c: New file.
18130 * gdb.base/catch-gdb-caused-signals.exp: New file.
18131
f6a88844
JM
181322015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
18133
18134 * configure: Regenerated.
18135 * configure.ac: Use GDB_AC_TRANSFORM.
18136 * aclocal.m4: sinclude ../transform.m4.
18137
497c491b
JM
181382015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
18139
18140 * lib/dtrace.exp: New file.
18141 * gdb.base/dtrace-probe.exp: Likewise.
18142 * gdb.base/dtrace-probe.d: Likewise.
18143 * gdb.base/dtrace-probe.c: Likewise.
18144 * lib/pdtrace.in: Likewise.
18145 * configure.ac: Output variables with the transformed names of
18146 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
18147 * configure: Regenerated.
18148
03e98035
JM
181492015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
18150
18151 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
18152 expected message when trying to access $_probe_* convenience
18153 variables while not on a probe.
18154
63cc30e9
JK
181552015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18156
18157 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
18158
0703599a
PA
181592015-02-11 Pedro Alves <pedro@codesourcery.com>
18160
18161 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
18162 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
18163
7e60a48e
DE
181642015-02-10 Doug Evans <xdje42@gmail.com>
18165
18166 * lib/gdb.exp (gdb_load): Always return a result.
18167
01b088bc
PA
181682015-02-10 Pedro Alves <palves@redhat.com>
18169
18170 * gdb.threads/signal-sigtrap.c: New file.
18171 * gdb.threads/signal-sigtrap.exp: New file.
18172
b05ec7a5
AT
181732015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
18174
18175 * gdb.trace/no-attach-trace.c: New file.
18176 * gdb.trace/no-attach-trace.exp: New file.
18177
a2c2acaf
MW
181782015-02-09 Mark Wielaard <mjw@redhat.com>
18179
18180 * gdb.dwarf2/atomic.c: New file.
18181 * gdb.dwarf2/atomic-type.exp: Likewise.
18182
31fd9caa
MM
181832015-02-09 Markus Metzger <markus.t.metzger@intel.com>
18184
18185 * gdb.btrace/buffer-size.exp: Update "info record" output.
18186 * gdb.btrace/delta.exp: Update "info record" output.
18187 * gdb.btrace/enable.exp: Update "info record" output.
18188 * gdb.btrace/finish.exp: Update "info record" output.
18189 * gdb.btrace/instruction_history.exp: Update "info record" output.
18190 * gdb.btrace/next.exp: Update "info record" output.
18191 * gdb.btrace/nexti.exp: Update "info record" output.
18192 * gdb.btrace/step.exp: Update "info record" output.
18193 * gdb.btrace/stepi.exp: Update "info record" output.
18194 * gdb.btrace/nohist.exp: Update "info record" output.
18195
d33501a5
MM
181962015-02-09 Markus Metzger <markus.t.metzger@intel.com>
18197
18198 * gdb.btrace/buffer-size: New.
18199
f4abbc16
MM
182002015-02-09 Markus Metzger <markus.t.metzger@intel.com>
18201
18202 * gdb.btrace/delta.exp: Update "info record" output.
18203 * gdb.btrace/enable.exp: Update "info record" output.
18204 * gdb.btrace/finish.exp: Update "info record" output.
18205 * gdb.btrace/instruction_history.exp: Update "info record" output.
18206 * gdb.btrace/next.exp: Update "info record" output.
18207 * gdb.btrace/nexti.exp: Update "info record" output.
18208 * gdb.btrace/step.exp: Update "info record" output.
18209 * gdb.btrace/stepi.exp: Update "info record" output.
18210 * gdb.btrace/nohist.exp: Update "info record" output.
18211
b9d61307
SM
182122015-02-06 Simon Marchi <simon.marchi@ericsson.com>
18213
18214 PR gdb/15678
18215 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
18216
e584fdbc
PA
182172015-02-06 Pedro Alves <palves@redhat.com>
18218
18219 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
18220 macro.
18221 (seconds_left, again): New globals.
18222 (main): Wait seconds_left in a 1-second sleep loop instead of
18223 sleeping 180 seconds. If 'again' is set, reset the seconds
18224 counter.
18225 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
18226 'again' in the inferior before detaching. Print the seconds left.
18227 (options): New global.
18228 (top level): Build program with -DTIMEOUT=$timeout.
18229
77f41761
PA
182302015-02-06 Pedro Alves <palves@redhat.com>
18231
18232 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
18233 determine how many seconds to pass to 'alarm'.
18234 * gdb.base/gdb-sigterm.exp (top level): Build program with
18235 -DTIMEOUT=$timeout.
18236 (do_test): Return success/failure indication. Add more verbose
18237 logging. Don't fail if 200 single steps are seen. Instead, fail
18238 when the test times out.
18239 (passes): New global.
18240 (top level): Break the testing loop if testing fails on any
18241 iteration. Use gdb_assert.
18242
b9394193
DB
182432015-02-04 Don Breazeal <donb@codesourcery.com>
18244
18245 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
18246 and initialize them.
18247 (ipc_cleanup): New function.
18248 (main): Don't declare shmid, semid, and msqid. Add a call to
18249 atexit so that we call ipc_cleanup on exit.
18250
42d9e528
PA
182512015-02-04 Pedro Alves <palves@redhat.com>
18252
18253 * boards/native-extended-gdbserver.exp: Remove any target variant
18254 specifications from the board name before clearing the isremote
18255 flag from board_info.
18256
ae6ae975
DE
182572015-01-31 Doug Evans <xdje42@gmail.com>
18258
18259 * gdb.base/maint.exp <maint print type argc>: Update expected output.
18260
cfb069a8
GB
182612015-01-31 Gary Benson <gbenson@redhat.com>
18262
18263 * gdb.base/completion.exp: Disable completion limiting for
18264 existing tests. Add new tests to check completion limiting.
18265 * gdb.linespec/ls-errs.exp: Disable completion limiting.
18266
5dd31d79
DE
182672015-01-31 Doug Evans <xdje42@gmail.com>
18268
18269 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
18270
9f050062
DE
182712015-01-31 Doug Evans <xdje42@gmail.com>
18272
18273 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
18274 entries. Duplicate file section script entries.
18275 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
18276 inlined entries. Add test for safe-path rejection.
18277 * gdb.python/py-section-script.c: Add duplicate inlined section script
18278 entries. Duplicate file section script entries.
18279 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
18280 inlined entries. Add test for safe-path rejection.
18281
df25ebbd
JB
182822015-01-29 Joel Brobecker <brobecker@adacore.com>
18283
18284 * gdb.ada/disc_arr_bound: New testcase.
18285
4a0ca9ec
JB
182862015-01-29 Joel Brobecker <brobecker@adacore.com>
18287
18288 * gdb.ada/mi_var_array: New testcase.
18289
3a8b707a
DE
182902015-01-27 Doug Evans <dje@google.com>
18291
18292 * gdb.python/py-objfile.exp: Add tests for objfile.username.
18293 Add test for objfile.filename, objfile.username after objfile
18294 has been unloaded.
18295
f8313f6e
JB
182962015-01-26 Joel Brobecker <brobecker@adacore.com>
18297
18298 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
18299 the second test to print the name attribute of value
18300 returned by the call to gdb.lookup_type, and adjust
18301 the expected output accordingly.
18302
37bc665e
MW
183032015-01-25 Mark Wielaard <mjw@redhat.com>
18304
18305 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
18306 * gdb.base/disp-step-fork.c: Include unistd.h.
18307 * gdb.base/siginfo-obj.c: Include stdio.h.
18308 * gdb.base/siginfo-thread.c: Likewise.
18309 * gdb.mi/non-stop.c: Include unistd.h.
18310 * gdb.mi/nsthrexec.c: Include stdio.h.
18311 * gdb.mi/pthreads.c: Include unistd.h.
18312 * gdb.modula2/unbounded1.c (main): Declare returns int.
18313 * gdb.reverse/consecutive-reverse.c: Likewise.
18314 * gdb.threads/create-fail.c: Include unistd.h.
18315 * gdb.threads/killed.c: Likewise.
18316 * gdb.threads/linux-dp.c: Likewise.
18317 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
18318 * gdb.threads/non-ldr-exc-2.c: Likewise.
18319 * gdb.threads/non-ldr-exc-3.c: Likewise.
18320 * gdb.threads/non-ldr-exc-4.c: Likewise.
18321 * gdb.threads/pthreads.c: Include unistd.h.
18322 (main): Declare returns int.
18323 * gdb.threads/tls-main.c (foo): New declaration.
18324 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
18325
f7e5394d
SM
183262015-01-23 Simon Marchi <simon.marchi@ericsson.com>
18327
18328 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
18329 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
18330
743649fd
MW
183312015-01-15 Mark Wielaard <mjw@redhat.com>
18332
18333 * gdb.base/noreturn-return.c: New file.
18334 * gdb.base/noreturn-return.exp: New file.
18335 * gdb.base/noreturn-finish.c: New file.
18336 * gdb.base/noreturn-finish.exp: New file.
18337
198297aa
PA
183382015-01-23 Pedro Alves <palves@redhat.com>
18339
18340 * gdb.threads/continue-pending-after-query.c: New file.
18341 * gdb.threads/continue-pending-after-query.exp: New file.
18342
717cf30c
AG
183432015-01-22 Anders Granlund <anders.granlund@ericsson.com>
18344 Simon Marchi <simon.marchi@ericsson.com>
18345
18346 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
18347 * gdb.base/valgrind-db-attach.exp: Same.
18348 * gdb.base/valgrind-infcall.exp: Same.
18349 * lib/mi-support.exp (default_mi_gdb_start): Same.
18350 * lib/prompt.exp (default_prompt_gdb_start): Same.
18351 * lib/gdb.exp (default_gdb_spawn): Same.
18352 (gdb_interact): New.
18353
18354
4b62a76e
JK
183552015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
18356
18357 * gdb.compile/compile.exp (pointer to jit function): New test.
18358
b4cdae6f
WW
183592015-01-17 Wei-cheng Wang <cole945@gmail.com>
18360
18361 * lib/gdb.exp (supports_process_record): Return true for
18362 powerpc*-*-linux*.
18363 (supports_reverse): Likewise.
18364
d221e7ef
DB
183652015-01-15 Don Breazeal <donb@codesourcery.com>
18366
18367 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
18368 instead of checking whether the target board is remote and
18369 use spawn_wait_for_attach instead of exec/sleep.
18370 * gdb.base/attach-twice.exp: Likewise.
18371
bafffb51
JB
183722015-01-15 Joel Brobecker <brobecker@adacore.com>
18373
18374 * gdb.ada/var_arr_attrs: New testcase.
18375
5589af0e
PA
183762015-01-14 Pedro Alves <palves@redhat.com>
18377 Joel Brobecker <brobecker@adacore.com>
18378
18379 PR gdb/17525
18380 * gdb.base/bp-cmds-execution-x-script.c: New file.
18381 * gdb.base/bp-cmds-execution-x-script.exp: New file.
18382 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
18383
6c400b59
PA
183842015-01-14 Pedro Alves <palves@redhat.com>
18385
18386 PR cli/17828
18387 * gdb.base/batch-preserve-term-settings.c: New file.
18388 * gdb.base/batch-preserve-term-settings.exp: New file.
18389
e02c96a7
DE
183902015-01-13 Doug Evans <dje@google.com>
18391
18392 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
18393 binary.
18394
576fd14c
JB
183952015-01-13 Joel Brobecker <brobecker@adacore.com>
18396
18397 * Makefile.in (clean mostlyclean): Do not delete *.py.
18398
04dccad0
JB
183992015-01-13 Joel Brobecker <brobecker@adacore.com>
18400
18401 * gdb.python/py-lookup-type.exp: New file.
18402
3d230f71
PA
184032015-01-12 Pedro Alves <palves@redhat.com>
18404
18405 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
18406 restore GDBFLAGS before returning.
18407
7e67715d
JK
184082015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18409
18410 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
18411 is_amd64_regs_target and is_x86_like_target.
18412
f2e0d4b4
DE
184132015-01-11 Doug Evans <xdje42@gmail.com>
18414
18415 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
18416 is given without an explicit form.
18417 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
18418 attributes.
18419 * gdb.dwarf/corrupt.exp: Ditto.
18420 * gdb.dwarf2/enum-type.exp: Ditto.
18421 * gdb.trace/entry-values.exp: Ditto.
18422 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
18423
439250fb
DE
184242015-01-11 Doug Evans <xdje42@gmail.com>
18425
18426 PR gdb/15830
18427 * gdb.base/maint.exp: Remove references to "maint demangle".
18428 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
18429 Add tests for explicitly specifying language to demangle.
18430 * gdb.dlang/demangle.exp: Ditto.
18431
ede9f622
PA
184322015-01-09 Pedro Alves <palves@redhat.com>
18433
18434 * gdb.threads/non-stop-fair-events.c: New file.
18435 * gdb.threads/non-stop-fair-events.exp: New file.
18436
a7b796db
PA
184372015-01-09 Pedro Alves <palves@redhat.com>
18438
18439 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
18440 the global scope. Set a breakpoint after all threads are started
18441 rather than stepping over two source lines. Expect the prompt.
18442 * gdb.base/watch_thread_num.c (threads_started_barrier): New
18443 global.
18444 (NUM): Now 15.
18445 (main): Use threads_started_barrier to wait for all threads to
18446 start. Main thread no longer calls thread_function. Exit after
18447 180 seconds.
18448 (loop): New function.
18449 (thread_function): Wait on threads_started_barrier barrier. Call
18450 'loop' at each iteration.
18451 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
18452 threads have started, instead of hardcoding number of "next"
18453 steps. Use an access watchpoint instead of a write watchpoint.
18454
9665ffdd
PA
184552015-01-09 Pedro Alves <palves@redhat.com>
18456
18457 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
18458 (thread_func): Wait on barrier.
18459 (main): Wait for all threads to start before stopping GDB.
18460 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
18461 global.
18462 (thread1_func, thread2_func): Wait on barrier.
18463 (main): Wait for all threads to start before stopping GDB.
18464 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
18465 New global.
18466 (thread1_func, thread2_func): Wait on barrier.
18467 (main): Wait for all threads to start before stopping GDB.
18468
c945a99f
PA
184692015-01-09 Pedro Alves <palves@redhat.com>
18470
18471 * gdb.threads/attach-many-short-lived-threads.c: New file.
18472 * gdb.threads/attach-many-short-lived-threads.exp: New file.
18473
c1a747c1
PA
184742014-01-09 Pedro Alves <palves@redhat.com>
18475
18476 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
18477 instead of to thread 2.
18478 * gdb.threads/signal-command-multiple-signals-pending.c (main):
18479 Add barrier around each pthread_create call instead of around all
18480 calls.
18481 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
18482 Set a break on thread_function and have the child threads hit it
18483 one at at a time.
18484
60b3033e
PA
184852015-01-09 Pedro Alves <palves@redhat.com>
18486
18487 * lib/gdb.exp (can_spawn_for_attach): New procedure.
18488 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
18489 false.
18490 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
18491 checking whether the target board is remote.
18492 * gdb.multi/multi-attach.exp: Likewise.
18493 * gdb.python/py-sync-interp.exp: Likewise.
18494 * gdb.server/ext-attach.exp: Likewise.
18495 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
18496 tests that need to attach, instead of checking whether the target
18497 board is remote at the top of the file.
18498
acc018ac
YQ
184992015-01-08 Yao Qi <yao@codesourcery.com>
18500
18501 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
18502
50a18af8
JK
185032015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18504
18505 Fix testcase compilation.
18506 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
18507
8503d6e1
JB
185082015-01-06 Joel Brobecker <brobecker@adacore.com>
18509
18510 * gdb.python/py-type.exp: Add a couple test about empty
18511 array creation, and negative-length array creation.
18512
cc73dbcc
DE
185132015-01-02 Doug Evans <xdje42@gmail.com>
18514
18515 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
18516
0300bbc7
DE
185172015-01-02 Doug Evans <dje@google.com>
18518
18519 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
18520
9d85a0ec
YQ
185212014-12-29 Yao Qi <yao@codesourcery.com>
18522
18523 * gdb.trace/entry-values.exp: Update comments. Rename variable
18524 bar_call_foo to returned_from_foo.
18525
87186c6a
MMN
185262014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
18527
18528 PR gdb/17394
18529 * gdb.linespec/break-asm-file.c: New file.
18530 * gdb.linespec/break-asm-file.exp: New file.
18531 * gdb.linespec/break-asm-file0.s: New file.
18532 * gdb.linespec/break-asm-file1.s: New file.
18533
1bab7383
YQ
185342014-12-18 Nigel Stephens <nigel@mips.com>
18535 Maciej W. Rozycki <macro@codesourcery.com>
18536
18537 * gdb.base/float.exp: Handle the new output from "info float" on
18538 MIPS targets.
18539
1bc1068a
JK
185402014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
18541
18542 Fix MinGW compilation.
18543 * gdb.compile/compile-ops.exp: Update untested message if
18544 !skip_compile_feature_tests.
18545 * gdb.compile/compile-setjmp.exp: Likewise.
18546 * gdb.compile/compile-tls.exp: Likewise.
18547 * gdb.compile/compile.exp: Likewise.
18548 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
18549 supported on this host".
18550
b6615d10
DE
185512014-12-16 Doug Evans <xdje42@gmail.com>
18552
18553 * boards/stabs.exp: New file.
18554
25dda427
AA
185552014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
18556
18557 * gdb.base/completion.exp: Adjust to format changes of "maint
18558 print user-registers".
18559
bf330350
CU
185602014-12-16 Catalin Udma <catalin.udma@freescale.com>
18561
18562 PR server/17457
18563 * gdb.arch/aarch64-fp.c: New file.
18564 * gdb.arch/aarch64-fp.exp: New file.
18565
395cf596
SDJ
185662014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
18567
18568 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
18569 r210637, r210913, r211666, r215400, r215817).
18570
18571 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
18572 * dg-extract-results.py: New file.
18573 * dg-extract-results.sh: Use it if the environment seems
18574 suitable.
18575
18576 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
18577
18578 * dg-extract-results.py (parse_run): Handle warnings that
18579 are printed before a test harness is run.
18580
18581 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
18582
18583 * dg-extract-results.py (Named): Remove __cmp__ method.
18584 (output_variation): Use a key to sort variation.harnesses.
18585
18586 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
18587
18588 * dg-extract-results.py: For Python 3, force sys.stdout to
18589 handle surrogate escape sequences.
18590 (safe_open): New function.
18591 (output_segment, main): Use it.
18592
18593 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
18594
18595 * dg-extract-results.py (Prog.result_re): Include options
18596 in test name.
18597
18598 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
18599
18600 * dg-extract-results.py (output_variation): Always sort if
18601 do_sum.
18602
e882ef3c
SM
186032014-12-15 Simon Marchi <simon.marchi@ericsson.com>
18604
18605 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
18606 as long as we get pagination notifications.
18607
4992aa20
JM
186082014-12-15 Jason Merrill <jason@redhat.com>
18609
18610 * Makefile.in (check-gdb.%): Restore.
18611 * README: Mention it.
18612
c1b5a1a6
JB
186132014-12-13 Joel Brobecker <brobecker@adacore.com>
18614
18615 * gdb.ada/str_uninit: New testcase.
18616
5537b577
JK
186172014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
18618
18619 PR symtab/17642
18620 * gdb.base/vla-stub-define.c: New file.
18621 * gdb.base/vla-stub.c: New file.
18622 * gdb.base/vla-stub.exp: New file.
18623
bb2ec1b3
TT
186242014-12-12 Phil Muldoon <pmuldoon@redhat.com>
18625 Jan Kratochvil <jan.kratochvil@redhat.com>
18626 Tom Tromey <tromey@redhat.com>
18627
18628 * configure.ac: Add gdb.compile/.
18629 * configure: Regenerate.
18630 * gdb.compile/Makefile.in: New file.
18631 * gdb.compile/compile-ops.exp: New file.
18632 * gdb.compile/compile-ops.c: New file.
18633 * gdb.compile/compile-tls.c: New file.
18634 * gdb.compile/compile-tls.exp: New file.
18635 * gdb.compile/compile-constvar.S: New file.
18636 * gdb.compile/compile-constvar.c: New file.
18637 * gdb.compile/compile-mod.c: New file.
18638 * gdb.compile/compile-nodebug.c: New file.
18639 * gdb.compile/compile-setjmp-mod.c: New file.
18640 * gdb.compile/compile-setjmp.c: New file.
18641 * gdb.compile/compile-setjmp.exp: New file.
18642 * gdb.compile/compile-shlib.c: New file.
18643 * gdb.compile/compile.c: New file.
18644 * gdb.compile/compile.exp: New file.
18645 * lib/gdb.exp (skip_compile_feature_tests): New proc.
18646
4ff709eb
TT
186472014-12-12 Tom Tromey <tromey@redhat.com>
18648
18649 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
18650 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
18651
6dddd6a5
DE
186522014-12-12 Doug Evans <dje@google.com>
18653
18654 * lib/gdb-python.exp (get_python_valueof): New function.
18655 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
18656
71c24708
AA
186572014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18658
18659 * gdb.base/completion.exp: Add test for completion of "info
18660 registers ".
18661
3e29f34a
MR
186622014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
18663
18664 * gdb.base/func-ptrs.c: New file.
18665 * gdb.base/func-ptrs.exp: New file.
18666
fc126975
SM
186672014-12-10 Simon Marchi <simon.marchi@ericsson.com>
18668
18669 PR breakpoints/17012
18670 * gdb.base/dprintf-detach.c: New file.
18671 * gdb.base/dprintf-detach.exp: New file.
18672
0a46d518
SM
186732014-12-10 Simon Marchi <simon.marchi@ericsson.com>
18674
18675 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
18676 * lib/gdb.exp (target_is_gdbserver): New procedure.
18677
a0be3e44
DE
186782014-12-08 Doug Evans <dje@google.com>
18679
18680 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
18681
df1b803a
YQ
186822014-12-05 Yao Qi <yao@codesourcery.com>
18683
18684 * gdb.guile/scm-error.exp: Remove the third argument to
18685 gdb_remote_download.
18686 * gdb.guile/scm-frame-args.exp: Likewise.
18687 * gdb.guile/scm-section-script.exp: Likewise.
18688
ddb9f679
YQ
186892014-12-05 Yao Qi <yao@codesourcery.com>
18690
18691 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
18692
86e4ed39
DE
186932014-12-04 Doug Evans <dje@google.com>
18694
18695 * gdb.python/py-objfile.exp: Add tests for
18696 objfile.add_separate_debug_file.
18697
7c50a931
DE
186982014-12-04 Doug Evans <dje@google.com>
18699
18700 * lib/gdb.exp (get_build_id): New function.
18701 (build_id_debug_filename_get): Rewrite to use it.
18702 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
18703
621661e3
MR
187042014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
18705
18706 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
18707 `method(long)', not just 0x0.
18708 * gdb.cp/nsalias.exp: Align code labels to 4.
18709 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
18710 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
18711 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
18712 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
18713 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
18714 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
18715
29f0c3b7
DE
187162014-12-02 Doug Evans <dje@google.com>
18717
e1e061e7 18718 PR symtab/17602
29f0c3b7 18719 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 18720 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
18721 * gdb.cp/anon-ns.exp: Update.
18722
162078c8
NB
187232014-12-02 Nick Bull <nicholaspbull@gmail.com>
18724
18725 * gdb.python/py-events.py (inferior_call_handler): New.
18726 (register_changed_handler, memory_changed_handler): New.
18727 (test_events.invoke): Register new handlers.
18728 * gdb.python/py-events.exp: Add tests for inferior call,
18729 memory_changed and register_changed events.
18730
fdb09caf
AA
187312014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
18732
18733 * gdb.base/execl-update-breakpoints.exp: Specify the link address
18734 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
18735 if the linker doesn't understand this.
18736
55cfb2c4
SM
187372014-12-01 Simon Marchi <simon.marchi@ericsson.com>
18738
18739 * gdb.python/python.exp: Change expected reply to help().
18740
9e8cd6df
YQ
187412014-12-01 Yao Qi <yao@codesourcery.com>
18742
18743 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
18744 AC_CONFIG_SUBDIRS(gdb.gdbtk).
18745 * configure: Re-generated.
18746
6c659fc2
SC
187472014-11-28 Siva Chandra Reddy <sivachandra@google.com>
18748
18749 * gdb.cp/chained-calls.cc: New file.
18750 * gdb.cp/chained-calls.exp: New file.
18751 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
18752
d7fc3181
SM
187532014-11-28 Simon Marchi <simon.marchi@ericsson.com>
18754
18755 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
18756 * gdb.dwarf2/symtab-producer.exp: Same.
18757 * gdb.gdb/python-interrupts.exp: Same.
18758 * gdb.gdb/python-selftest.exp: Same.
18759 * gdb.python/py-linetable.exp: Same.
18760 * gdb.python/py-type.exp: Same.
18761 * gdb.python/py-value-cc.exp: Same.
18762 * gdb.python/py-value.exp: Same.
18763
10e79639
YQ
187642014-11-28 Yao Qi <yao@codesourcery.com>
18765
18766 * gdb.base/break-probes.exp: Match library name prefixed with
18767 sysroot.
18768
f28a0564
SM
187692014-11-27 Simon Marchi <simon.marchi@ericsson.com>
18770
18771 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
18772 test expected output. Add parentheses for the call to print.
18773 Remove L suffix from integers.
18774
3fe1ce1d
DE
187752014-11-26 Doug Evans <dje@google.com>
18776
18777 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
18778
84429e27
YQ
187792014-11-22 Yao Qi <yao@codesourcery.com>
18780
18781 * gdb.trace/entry-values.c: Remove asms.
18782 (foo): Add foo_label.
18783 (bar): Add bar_label.
18784 * gdb.trace/entry-values.exp: Remove code computing foo's
18785 length and bar's length.
18786 (Dwarf::assemble): Invoke function_range for bar and use
18787 MACRO_AT_func for foo.
18788
26741859
YQ
187892014-11-22 Yao Qi <yao@codesourcery.com>
18790
18791 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
18792 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
18793 Use .Lgcc43_procstart instead of gcc43.
18794
45e44d27
JB
187952014-11-21 Joel Brobecker <brobecker@adacore.com>
18796
18797 * gdb.ada/n_arr_bound: New testcase.
18798
458c8db8
SDJ
187992014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
18800
18801 PR breakpoints/10737
18802 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
18803 test_catch_syscall_multi_arch.
18804 (test_catch_syscall_multi_arch): New function.
18805
43f3e411
DE
188062014-11-20 Doug Evans <xdje42@gmail.com>
18807
18808 * gdb.base/maint.exp: Update expected output.
18809
0d7b2549
AA
188102014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
18811
18812 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
18813 4-byte instruction on S390.
18814
8908fca5
JB
188152014-11-19 Joel Brobecker <brobecker@adacore.com>
18816
18817 * gdb.ada/arr_arr: New testcase.
18818
4a46959e
JB
188192014-11-19 Joel Brobecker <brobecker@adacore.com>
18820
18821 * gdb.ada/pkd_arr_elem: New Testcase.
18822
470e2f4e
LM
188232014-11-18 Luis Machado <lgustavo@codesourcery.com>
18824
18825 * gdb.reverse/break-precsave: Expect completion message for
18826 core file reads.
18827 * gdb.reverse/consecutive-precsave.exp: Likewise.
18828 * gdb.reverse/finish-precsave.exp: Likewise.
18829 * gdb.reverse/i386-precsave.exp: Likewise.
18830 * gdb.reverse/machinestate-precsave.exp: Likewise.
18831 * gdb.reverse/sigall-precsave.exp: Likewise.
18832 * gdb.reverse/solib-precsave.exp: Likewise.
18833 * gdb.reverse/step-precsave.exp: Likewise.
18834 * gdb.reverse/until-precsave.exp: Likewise.
18835 * gdb.reverse/watch-precsave.exp: Likewise.
18836
a267f3ad
AA
188372014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18838
18839 * gdb.base/bp-permanent.c: Include unistd.h.
18840 * gdb.python/py-framefilter-mi.c (main): Add return type.
18841 * gdb.python/py-framefilter.c (main): Likewise.
18842 * gdb.trace/actions-changed.c (main): Likewise.
18843
12084a9a
AA
188442014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18845
18846 * gdb.mi/until.c: Add eye-catchers.
18847 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
18848 line numbers.
18849
dc7e1a77
AA
188502014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18851
18852 * gdb.base/condbreak.exp: Drop references to removed non-prototype
18853 function header variants in break1.c.
18854 * gdb.base/ena-dis-br.exp: Likewise.
18855 * gdb.base/hbreak2.exp: Likewise.
18856 * gdb.reverse/until-precsave.exp: Drop references to removed
18857 non-prototype function header variants in ur1.c.
18858 * gdb.reverse/until-reverse.exp: Likewise.
18859
41c77605
PM
188602014-11-17 Petr Machata <pmachata@redhat.com>
18861
18862 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
18863 ${_cu_offset_size} bytes abbrev offset.
18864
34248c3a
DE
188652014-11-15 Doug Evans <xdje42@gmail.com>
18866
18867 PR symtab/17559
18868 * gdb.base/line-symtabs.exp: New file.
18869 * gdb.base/line-symtabs.c: New file.
18870 * gdb.base/line-symtabs.h: New file.
18871
646da059
YQ
188722014-11-14 Yao Qi <yao@codesourcery.com>
18873
18874 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
18875 (func): Add label func_label.
18876 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
18877 Replace low_pc and high_pc with MACRO_AT_range.
18878 Replace name, low_pc and high_pc with MACRO_AT_func.
18879
9301ebe6
YQ
188802014-11-14 Yao Qi <yao@codesourcery.com>
18881
18882 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
18883 Replace name, low_pc and high_pc with MACRO_AT_func.
18884
f166b542
YQ
188852014-11-14 Yao Qi <yao@codesourcery.com>
18886
18887 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
18888 produce debug information.
18889 * gdb.dwarf2/implptr-optimized-out.S: Removed.
18890
0f6e71e3
YQ
188912014-11-14 Yao Qi <yao@codesourcery.com>
18892
18893 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
18894 object and get function length.
18895 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
18896 with MACRO_AT_func.
18897 (top-level): Replace gdb_compile and clean_restart with
18898 prepare_for_testing.
18899 * gdb.dwarf2/main.c (main): Add label main_label.
18900
876c4df9
YQ
189012014-11-14 Yao Qi <yao@codesourcery.com>
18902
18903 * lib/dwarf.exp (function_range): New procedure.
18904 (Dwarf::_handle_macro_at_func): New procedure.
18905 (Dwarf::_handle_macro_at_range): New procedure.
18906 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
18907
02ad9cf1
YQ
189082014-11-14 Yao Qi <yao@codesourcery.com>
18909
18910 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
18911 (_handle_attribute): New procedure.
18912
a59add0c
AA
189132014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18914
18915 * gdb.ada/cond_lang/foo.c (callme): Add return type.
18916 * gdb.base/call-sc.c (zed): Likewise.
18917 * gdb.base/checkpoint.c (main): Likewise.
18918 * gdb.base/dump.c (main): Likewise.
18919 * gdb.base/gcore.c (main): Likewise.
18920 * gdb.base/huge.c (main): Likewise.
18921 * gdb.base/multi-forks.c (main): Likewise.
18922 * gdb.base/pr10179-a.c (main): Likewise.
18923 * gdb.base/savedregs.c (main): Likewise.
18924 * gdb.base/sigaltstack.c (main): Likewise.
18925 * gdb.base/siginfo.c (main): Likewise.
18926 * gdb.base/structs.c (zed): Likewise.
18927 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
18928 * gdb.mi/mi-syn-frame.c (main): Likewise.
18929 * gdb.mi/until.c (foo, main): Likewise.
18930 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
18931 * gdb.base/solib-weak.c (foo): Declare.
18932 * gdb.base/attach-twice.c: Include stdio.h.
18933 * gdb.base/weaklib1.c: Likewise.
18934 * gdb.base/weaklib2.c: Likewise.
18935 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
18936 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
18937 unistd.h.
18938 * gdb.base/attach-pie-misread.c: Include stdlib.h.
18939 * gdb.mi/mi-exit-code.c: Likewise.
18940 * gdb.base/break-interp-lib.c: Include string.h.
18941 * gdb.base/coremaker.c: Likewise.
18942 * gdb.base/testenv.c: Likewise.
18943 * gdb.python/py-finish-breakpoint.c: Likewise.
18944 * gdb.base/inferior-died.c: Include sys/wait.h.
18945 * gdb.base/fileio.c: Include time.h.
18946 * gdb.base/async-shell.c: Include unistd.h.
18947 * gdb.base/dprintf-non-stop.c: Likewise.
18948 * gdb.base/info-os.c: Likewise.
18949 * gdb.mi/mi-console.c: Likewise.
18950 * gdb.mi/watch-nonstop.c: Likewise.
18951 * gdb.python/py-events.c: Likewise.
18952 * gdb.base/async.c (baz): Move up before its invocation.
18953 * gdb.base/code_elim2.c (my_global_func): Likewise.
18954 * gdb.base/skip-solib-lib.c (multiply): Likewise.
18955 * gdb.base/advance.c (func2): Likewise.
18956
3b5d5997
AA
189572014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18958
18959 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
18960 variant.
18961 * gdb.base/annota3.c: Likewise.
18962 * gdb.base/async.c: Likewise.
18963 * gdb.base/average.c: Likewise.
18964 * gdb.base/call-ar-st.c: Likewise.
18965 * gdb.base/call-rt-st.c: Likewise.
18966 * gdb.base/call-sc.c: Likewise.
18967 * gdb.base/call-strs.c: Likewise.
18968 * gdb.base/ending-run.c: Likewise.
18969 * gdb.base/execd-prog.c: Likewise.
18970 * gdb.base/exprs.c: Likewise.
18971 * gdb.base/foll-exec.c: Likewise.
18972 * gdb.base/foll-fork.c: Likewise.
18973 * gdb.base/foll-vfork.c: Likewise.
18974 * gdb.base/funcargs.c: Likewise.
18975 * gdb.base/gcore.c: Likewise.
18976 * gdb.base/jump.c: Likewise.
18977 * gdb.base/langs0.c: Likewise.
18978 * gdb.base/langs1.c: Likewise.
18979 * gdb.base/langs2.c: Likewise.
18980 * gdb.base/mips_pro.c: Likewise.
18981 * gdb.base/nodebug.c: Likewise.
18982 * gdb.base/opaque0.c: Likewise.
18983 * gdb.base/opaque1.c: Likewise.
18984 * gdb.base/recurse.c: Likewise.
18985 * gdb.base/run.c: Likewise.
18986 * gdb.base/scope0.c: Likewise.
18987 * gdb.base/scope1.c: Likewise.
18988 * gdb.base/setshow.c: Likewise.
18989 * gdb.base/setvar.c: Likewise.
18990 * gdb.base/shmain.c: Likewise.
18991 * gdb.base/shr1.c: Likewise.
18992 * gdb.base/shr2.c: Likewise.
18993 * gdb.base/sigall.c: Likewise.
18994 * gdb.base/signals.c: Likewise.
18995 * gdb.base/so-indr-cl.c: Likewise.
18996 * gdb.base/solib2.c: Likewise.
18997 * gdb.base/structs.c: Likewise.
18998 * gdb.base/sum.c: Likewise.
18999 * gdb.base/vforked-prog.c: Likewise.
19000 * gdb.base/watchpoint.c: Likewise.
19001 * gdb.reverse/shr2.c: Likewise.
19002 * gdb.reverse/until-reverse.c: Likewise.
19003 * gdb.reverse/ur1.c: Likewise.
19004 * gdb.reverse/watch-reverse.c: Likewise.
19005
066a77c5
AA
190062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19007
19008 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
19009 variant.
19010 * gdb.base/sepdebug.exp: Drop references to removed code.
19011
4f204ea5
AA
190122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19013
19014 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
19015 variant. Preserve original line numbering.
19016 * gdb.base/list1.c: Likewise.
19017
3b377a3a
AA
190182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19019
19020 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
19021 variant.
19022 * gdb.base/break1.c: Likewise.
19023 * gdb.base/break.exp: Drop references to removed code.
19024
e444df73
AA
190252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19026
19027 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
19028 variant.
19029
8008f2a7
AA
190302014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19031
19032 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
19033
a5a06887
AA
190342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19035
19036 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
19037 logic into perform_all_tests() and invoke it with and without
19038 function header prototypes.
19039 (do_function_calls): Remove conditional XFAIL for PR 5318.
19040 (rerun_and_prepare): Remove duplicate code.
19041 (perform_all_tests): New. Main logic moved here.
19042
44dba9b9
AA
190432014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19044
19045 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
19046 code guarded by #ifdef NO_PROTOTYPES.
19047 (t_double_many_args): Likewise.
19048 (DEF_FUNC_MANY_ARGS_1): Likewise.
19049 (DEF_FUNC_VALUES_1): Likewise.
19050 (t_structs_ldc): Renamed from t_structs_fc in conditional code
19051 guarded by #ifdef PROTOTYPES.
19052
d1fbcd56
AA
190532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19054
19055 * gdb.mi/mi-console.c: Add eye-catcher.
19056 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
19057 instead of literal line number.
19058
b0e59b8f
AA
190592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19060
19061 * gdb.base/shr2.c: Add eye-catcher.
19062 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
19063 line number.
19064
78f98cca
AA
190652014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19066
19067 * gdb.base/jump.c: Add eye-catchers.
19068 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
19069 numbers.
19070
58fa2af0
AA
190712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19072
19073 * gdb.base/execd-prog.c: Add eye-catchers.
19074 * gdb.base/foll-exec.c: Likewise.
19075 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
19076 line numbers.
19077
04e5059b
AA
190782014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19079
19080 * gdb.base/ending-run.c: Add eye-catchers.
19081 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
19082 literal line numbers.
19083
dbfdb174
AA
190842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19085
19086 * gdb.base/call-rt-st.c: Add eye-catchers.
19087 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
19088 literal line numbers.
19089
888a2ade
AA
190902014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19091
19092 * gdb.base/call-ar-st.c: Add eye-catchers.
19093 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
19094 literal line numbers.
19095
6acc2dde
AA
190962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19097
19098 * gdb.base/average.c: Add eye-catchers.
19099 * gdb.base/sum.c: Likewise.
19100 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
19101 regexps dynamically.
19102
9ecfcd1d
AA
191032014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19104
19105 * gdb.base/solib1.c: Add eye-catchers.
19106 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
19107 literal line numbers.
19108
78708b7c
PA
191092014-11-12 Pedro Alves <palves@redhat.com>
19110
19111 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
19112 leader has exited.
19113
af48d08f
PA
191142014-11-12 Pedro Alves <palves@redhat.com>
19115
19116 * gdb.arch/i386-bp_permanent.c: New file.
19117 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
19118 (srcfile): Set to i386-bp_permanent.c.
19119 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
19120 that stepi does not execute the 'leave' instruction, instead of
19121 testing it does execute.
19122 * gdb.base/bp-permanent.c: New file.
19123 * gdb.base/bp-permanent.exp: New file.
19124
af3768e9
DE
191252014-11-10 Doug Evans <xdje42@gmail.com>
19126
19127 PR symtab/17564
19128 * gdb.base/symtab-search-order.exp: New file.
19129 * gdb.base/symtab-search-order.c: New file.
19130 * gdb.base/symtab-search-order-1.c: New file.
19131 * gdb.base/symtab-search-order-shlib-1.c: New file.
19132
9de00a4a
PA
191332014-11-07 Pedro Alves <palves@redhat.com>
19134
19135 PR gdb/17511
19136 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
19137 i?86-*-linux*.
19138
e0f52461
SC
191392014-11-03 Siva Chandra Reddy <sivachandra@google.com>
19140
19141 PR c++/17494
19142 * gdb.cp/pr17494.cc: New file.
19143 * gdb.cp/pr17494.exp: New file.
19144
6ce8c980
YQ
191452014-11-02 Yao Qi <yao@codesourcery.com>
19146
19147 * gdb.python/python.exp: Get working directory and match the
19148 output of "set extended-prompt \\w " with it.
19149
02be9a71
DE
191502014-10-30 Doug Evans <dje@google.com>
19151
19152 * gdb.python/py-objfile.exp: Add tests for setting random attributes
19153 in objfiles.
19154 * gdb.python/py-progspace.exp: Add tests for setting random attributes
19155 in progspaces.
19156
3bdff46b
LM
191572014-10-30 Janis Johnson <janisjo@codesourcery.com>
19158
19159 * gdb.base/fullpath-expand.exp: Skip for a remote host.
19160 * gdb.base/realname-expand.exp: Likewise.
19161 * gdb.linespec/macro-relative.exp: Likewise.
19162
ab917dfb
PA
191632014-10-29 Pedro Alves <palves@redhat.com>
19164
19165 PR gdb/17408
19166 * gdb.threads/schedlock.c (some_function): New function.
19167 (call_function): New global.
19168 (MAYBE_CALL_SOME_FUNCTION): New macro.
19169 (thread_function): Call it.
19170 * gdb.threads/schedlock.exp (get_args): Add description parameter,
19171 and use it instead of a global counter. Adjust all callers.
19172 (get_current_thread): Use "find current thread" for test message
19173 here rather than having all callers pass down the same string.
19174 (goto_loop): New procedure, factored out from ...
19175 (my_continue): ... this.
19176 (step_ten_loops): Change parameter from test message to command to
19177 use. Adjust.
19178 (list_count): Delete global.
19179 (check_result): New procedure, factored out from duplicate top
19180 level code.
19181 (continue tests): Wrap in with_test_prefix.
19182 (test_step): New procedure, factored out from duplicate top level
19183 code.
19184 (top level): Test "step" in combination with all scheduler-locking
19185 modes. Test "next" in combination with all scheduler-locking
19186 modes, and in combination with stepping over a function call or
19187 not.
19188 * gdb.threads/next-bp-other-thread.c: New file.
19189 * gdb.threads/next-bp-other-thread.exp: New file.
19190
d3d4baed
PA
191912014-10-29 Pedro Alves <palves@redhat.com>
19192
19193 PR python/17372
19194 * gdb.python/python.exp: Test a multi-line command that spawns
19195 interactive Python.
19196 * gdb.base/multi-line-starts-subshell.exp: New file.
19197
563e8d85
YQ
191982014-10-29 Yao Qi <yao@codesourcery.com>
19199
19200 * gdb.base/fileio.exp: Make directories on host.
19201
0ea4d52e
YQ
192022014-10-29 Yao Qi <yao@codesourcery.com>
19203
19204 * gdb.base/fileio.c (test_write): Close the file.
19205
7f5ef605
PA
192062014-10-28 Pedro Alves <palves@redhat.com>
19207
19208 PR gdb/12623
19209 * gdb.base/sigstep.c (no_handler): New global.
19210 (main): If 'no_handler is true, set the signal handlers to
19211 SIG_IGN.
19212 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
19213 with_sw_watch and no_handler parameters. Handle them.
19214 (top level) <stepping over handler when stopped at a breakpoint
19215 test>: Add a test axis for testing with a software watchpoint, and
19216 another for testing with the signal handler set to SIG_IGN.
19217 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
19218 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
19219
abbdbd03
PA
192202014-10-28 Pedro Alves <palves@redhat.com>
19221
19222 PR gdb/17511
19223 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
19224 * gdb.base/sigstep.exp (other_handler_location): New global.
19225 (advance): Support stepping into the signal handler, and running
19226 commands while in the handler.
19227 (in_handler_map): New global.
19228 (top level): In the advance test, add combinations for getting
19229 into the handler with stepping commands, and for running commands
19230 in the handler. Add comment descripting the advancei tests.
19231
1df4399f
PA
192322014-10-28 Pedro Alves <palves@redhat.com>
19233
19234 * gdb.base/sigstep.exp: Use build_executable instead of
19235 prepare_for_testing.
19236 (top level): Move code that starts GDB, runs to main and creates a
19237 display to ...
19238 (restart): ... this new procedure.
19239 (top level): Move backtrace from signal handler test to ...
19240 (validate_backtrace): ... this new procedure.
19241 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
19242 with_test_prefix. Always restart GDB.
19243 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
19244 with_test_prefix. Always restart GDB. No need to delete
19245 breakpoints after the test.
19246 (test_skip_handler): Remove prefix parameter.
19247 (skip_over_handler, breakpoint_to_handler)
19248 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
19249 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
19250 restart GDB. No need to delete breakpoints after the test.
19251 (top level): Use foreach to call the test procedures with
19252 different commands.
19253
a5b6e449
PA
192542014-10-28 Pedro Alves <palves@redhat.com>
19255
19256 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
19257 instead of GNATS numbers.
19258 * gdb.base/sigbpt.exp: Likewise.
19259 * gdb.base/siginfo.exp: Likewise.
19260 * gdb.base/sigstep.exp: Likewise.
19261
e5f8a7cc
PA
192622014-10-27 Pedro Alves <palves@redhat.com>
19263
19264 * gdb.base/sigstep.c (dummy): New global.
19265 (main): Issue a couple writes to the new global.
19266 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
19267 procedures.
19268 (skip_over_handler): Use test_skip_handler.
19269 (top level): Call skip_over_handler for stepi and nexti too.
19270 (breakpoint_over_handler): Use test_skip_handler.
19271 (top level): Call breakpoint_over_handler for stepi and nexti too.
19272
763905a3
YQ
192732014-10-27 Yao Qi <yao@codesourcery.com>
19274
19275 * gdb.trace/tfile.c (adjust_function_address)
19276 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
19277 function descriptor.
19278
6f259a23
DB
192792014-10-24 Don Breazeal <donb@codesourcery.com>
19280
19281 * gdb.base/foll-fork.exp (test_follow_fork,
19282 catch_fork_child_follow): Check for updated fork messages emitted
19283 from infrun.c.
19284 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
19285 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
19286 vfork_and_exec_child_follow_through_step): Check for updated vfork
19287 messages emitted from infrun.c.
19288
09dd9a69
PA
192892014-10-24 Pedro Alves <palves@redhat.com>
19290
19291 * gdb.base/corefile.exp: Remove references to ultrix.
19292 * gdb.base/interrupt.exp: Likewise.
19293 * gdb.base/whatis.exp: Likewise.
19294 * gdb.gdb/selftest.exp: Likewise.
19295 * gdb.threads/manythreads.exp: Likewise.
19296 * gdb.threads/print-threads.exp: Likewise.
19297 * gdb.threads/pthreads.exp:: Likewise.
19298 * gdb.threads/schedlock.exp: Likewise.
19299
3433cfa5
SC
193002014-10-24 Siva Chandra Reddy <sivachandra@google.com>
19301
19302 * gdb.cp/non-trivial-retval.cc: Add a test case.
19303 * gdb.cp/non-trivial-retval.exp: Add a test.
19304
092f880b
YQ
193052014-10-20 Yao Qi <yao@codesourcery.com>
19306
19307 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
19308 * gdb.python/py-objfile-script-gdb.py: New file.
19309 * gdb.python/py-objfile-script.exp: Update reference to
19310 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
19311 of remote_download. Remove the dest file.
19312
acbdb7f3
YQ
193132014-10-20 Yao Qi <yao@codesourcery.com>
19314
19315 * gdb.base/checkpoint.exp: Don't remove file copied on host.
19316 * gdb.base/step-line.exp: Likewise.
19317 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
19318 * gdb.dwarf2/dw2-basic.exp: Likewise.
19319 * gdb.dwarf2/dw2-compressed.exp: Likewise.
19320 * gdb.dwarf2/dw2-filename.exp: Likewise.
19321 * gdb.dwarf2/dw2-intercu.exp: Likewise.
19322 * gdb.dwarf2/dw2-intermix.exp: Likewise.
19323 * gdb.dwarf2/dw2-producer.exp: Likewise.
19324 * gdb.dwarf2/mac-fileno.exp: Likewise.
19325 * gdb.python/py-frame-args.exp: Likewise.
19326 * gdb.python/py-framefilter.exp: Likewise.
19327 * gdb.python/py-mi.exp: Likewise.
19328 * gdb.python/py-objfile-script.exp: Likewise
19329 * gdb.python/py-pp-integral.exp: Likewise.
19330 * gdb.python/py-pp-re-notag.exp: Likewise.
19331 * gdb.python/py-prettyprint.exp: Likewise.
19332 * gdb.python/py-section-script.exp: Likewise.
19333 * gdb.python/py-typeprint.exp: Likewise.
19334 * gdb.python/py-xmethods.exp: Likewise.
19335 * gdb.stabs/weird.exp: Likewise.
19336 * gdb.xml/tdesc-regs.exp: Likewise.
19337
bd286a29
KCY
193382014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
19339
19340 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
19341 (out_cu): Use addr_len for the size of addresses.
19342 (out_line): Likewise. Size DW_LNE_set_address instruction
19343 according to addr_len.
19344 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
19345 (FUNC): Add START_INSNS to definition.
19346
673dc4a0
YQ
193472014-10-18 Yao Qi <yao@codesourcery.com>
19348
19349 * gdb.base/argv0-symlink.exp: Check argv[0] value if
19350 gdb_has_argv0 return true.
19351 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
19352 check [target_info exists noargs], check [gdb_has_argv0]
19353 instead.
19354 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
19355 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
19356 procedures.
19357
4ffbba72
DE
193582014-10-17 Doug Evans <dje@google.com>
19359
19360 * gdb.python/py-events.exp: Update expected output for clear_objfiles
19361 event.
19362 * gdb.python/py-events.py: Add clear_objfiles event.
19363
d096d8c1
DE
193642014-10-17 Doug Evans <dje@google.com>
19365
19366 * gdb.python/py-objfile.exp: Test progspace attribute.
19367
a80db015
LM
193682014-10-17 Luis Machado <lgustavo@codesourcery.com>
19369
19370 * gdb.guile/scm-breakpoint.exp: Do not assume any
19371 directory separators when matching source file paths.
19372 * gdb.python/py-breakpoint.exp: Likewise.
19373 * gdb.reverse/break-precsave.exp: Likewise.
19374 * gdb.reverse/break-reverse.exp: Likewise.
19375 * gdb.reverse/consecutive-precsave.exp: Likewise.
19376 * gdb.reverse/finish-precsave.exp: Likewise.
19377 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
19378 * gdb.reverse/finish-reverse.exp: Likewise.
19379 * gdb.reverse/i386-precsave.exp: Likewise.
19380 * gdb.reverse/i387-env-reverse.exp: Likewise.
19381 * gdb.reverse/i387-stack-reverse.exp: Likewise.
19382 * gdb.reverse/machinestate-precsave.exp: Likewise.
19383 * gdb.reverse/machinestate.exp: Likewise.
19384 * gdb.reverse/sigall-precsave.exp: Likewise.
19385 * gdb.reverse/solib-precsave.exp: Likewise.
19386 * gdb.reverse/step-precsave.exp: Likewise.
19387 * gdb.reverse/until-precsave.exp: Likewise.
19388 * gdb.reverse/watch-precsave.exp: Likewise.
19389 * gdb.reverse/watch-reverse.exp: Likewise.
19390
b22089ab
YQ
193912014-10-17 Yao Qi <yao@codesourcery.com>
19392
19393 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
19394 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
19395
6c4486e6
PA
193962014-10-17 Pedro Alves <palves@redhat.com>
19397
19398 PR gdb/17471
19399 * gdb.base/bg-execution-repeat.c: New file.
19400 * gdb.base/bg-execution-repeat.exp: New file.
19401
0ff33695
PA
194022014-10-17 Pedro Alves <palves@redhat.com>
19403
19404 PR gdb/17300
19405 * gdb.base/continue-all-already-running.c: New file.
19406 * gdb.base/continue-all-already-running.exp: New file.
19407
6fdebc3d
PA
194082014-10-17 Pedro Alves <palves@redhat.com>
19409
19410 PR gdb/17472
19411 * gdb.base/annota-input-while-running.c: New file.
19412 * gdb.base/annota-input-while-running.exp: New file.
19413
32a8097b
PA
194142014-10-17 Pedro Alves <palves@redhat.com>
19415
19416 * gdb.base/callfuncs.exp: emove references to osf.
19417 * gdb.base/sigall.exp: Likewise.
19418 * gdb.gdb/selftest.exp: Likewise.
19419 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
19420 * gdb.mi/non-stop.c: Likewise.
19421 * gdb.mi/pthreads.c: Likewise.
19422 * gdb.reverse/sigall-precsave.exp: Likewise.
19423 * gdb.reverse/sigall-reverse.exp: Likewise.
19424 * gdb.threads/pthreads.c: Likewise.
19425 * gdb.threads/pthreads.exp: Likewise.
19426
7a3517ff
YQ
194272014-10-17 Yao Qi <yao@codesourcery.com>
19428
19429 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
19430 check 'target_info exists noargs'.
19431 (test_command_prompt_position): Likewise.
19432 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
19433 Remove "set args".
19434 (progvar_simple_while_test): Likewise.
19435 (progvar_complex_if_while_test): Likewise.
19436 (if_while_breakpoint_command_test): Likewise.
19437 (infrun_breakpoint_command_test): Likewise.
19438 (breakpoint_command_test): Likewise.
19439 (watchpoint_command_test): Likewise.
19440 (bp_deleted_in_command_test): Likewise.
19441 (temporary_breakpoint_commands): Likewise.
19442
bb99c472
YQ
194432014-10-16 Yao Qi <yao@codesourcery.com>
19444
19445 * gdb.base/remotetimeout.exp: Remove noargs checking.
19446
7c16b83e
PA
194472014-10-15 Pedro Alves <palves@redhat.com>
19448
19449 PR breakpoints/9649
19450 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
19451 * gdb.base/breakpoint-in-ro-region.exp
19452 (probe_target_hardware_step): New procedure.
19453 (top level): Probe hardware stepping and hardware breakpoint
19454 support. Test stepping through a read-only region, with both
19455 "breakpoint auto-hw" on and off and both "always-inserted" on and
19456 off.
19457
35a49624
IB
194582014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
19459
19460 * gdb.dlang/demangle.exp: Update for demangling changes.
19461
2d1c107c
SC
194622014-10-15 Siva Chandra Reddy <sivachandra@google.com>
19463
19464 * gdb.cp/non-trivial-retval.cc: Add new test cases.
19465 * gdb.cp/non-trivial-retval.exp: Add new tests.
19466
778811d5
SC
194672014-10-15 Siva Chandra Reddy <sivachandra@google.com>
19468
19469 PR c++/13403
19470 PR c++/15154
19471 * gdb.cp/non-trivial-retval.cc: New file.
19472 * gdb.cp/non-trivial-retval.exp: New file.
19473
10c5f0a8
YQ
194742014-10-15 Yao Qi <yao@codesourcery.com>
19475
19476 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
19477 remote host.
19478
65d7b369
YQ
194792014-10-15 Yao Qi <yao@codesourcery.com>
19480
19481 * gdb.python/py-symbol.exp: Match file base name if host is
19482 remote, otherwise match file name with dir name.
19483 * gdb.python/py-symtab.exp: Likewise.
19484 * gdb.python/python.exp: Likewise.
19485
46dc1394
YQ
194862014-10-15 Yao Qi <yao@codesourcery.com>
19487
19488 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
19489 pattern.
19490 * gdb.python/py-symtab.exp: Likewise.
19491 * gdb.python/python.exp: Remove trailing ".*". Fix typo
19492 locationn.
19493
c40cc657
JB
194942014-10-14 Joel Brobecker <brobecker@adacore.com>
19495
19496 * gdb.ada/addr_arith: New testcase.
19497
2abf49e1
MR
194982014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
19499
19500 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
19501 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
19502 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
19503 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
19504
f7088df3
SDJ
195052014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
19506
19507 * gdb.arch/stap-eval-lang-ada.S: Likewise.
19508 * gdb.arch/stap-eval-lang-ada.c: Likewise.
19509 * gdb.arch/stap-eval-lang-ada.exp: New file.
19510
4dc06805
YQ
195112014-10-14 Yao Qi <yao@codesourcery.com>
19512
19513 * gdb.mi/mi-var-child.c (nothing1): New function.
19514 (nothing2): New function.
19515 (do_children_tests): Set function pointers by nothing1 and
19516 nothing2.
19517 * gdb.mi/mi-var-child.exp: Step over new added statements.
19518 Update test to match the new output.
19519 * gdb.mi/var-cmd.c (nothing1): New function.
19520 (nothing2): New function.
19521 (do_children_tests): Set function pointers by nothing1 and
19522 nothing2.
19523 * gdb.mi/mi-var-display.exp: Update test to match output.
19524 Step to the line specified by $line_dct_nothing.
19525 Increase the number of lines to step.
19526
46a93de2
YQ
195272014-10-14 Yao Qi <yao@codesourcery.com>
19528
19529 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
19530 tests.
19531 * gdb.mi/mi2-var-child.exp: Likewise.
19532
14ea52ee
DE
195332014-10-13 Doug Evans <dje@google.com>
19534
19535 * gdb.python/py-objfile.exp: Change name of file name test.
19536
e5c6e92b
DE
195372014-10-13 Doug Evans <dje@google.com>
19538
19539 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
19540 from the start of the CU.
19541
c780cc2f
JK
195422014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
19543 Yao Qi <yao@codesourcery.com>
19544
19545 Fix "save breakpoints" for "catch" command.
19546 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
19547 Remove -nonewline. Match also the added "main" line.
19548
99894e11
JK
195492014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19550
19551 Fix "save breakpoints" for "disable $bpnum" command.
19552 * gdb.base/save-bp.c (main): Add label.
19553 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
19554
6e1ac5a3
JK
195552014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19556
19557 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
19558
754dd2b0
YQ
195592014-10-11 Yao Qi <yao@codesourcery.com>
19560
19561 * gdb.server/server-kill.exp: Execute command
19562 "set remote trace-status-packet on" before "tstatus".
19563
f90183d7
YQ
195642014-10-11 Yao Qi <yao@codesourcery.com>
19565
19566 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
19567 (main): Call getppid.
19568 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
19569 and continue to it. Read variable "server_pid".
19570
bf40a607
YQ
195712014-10-11 Yao Qi <yao@codesourcery.com>
19572
19573 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
19574
052ca370
YQ
195752014-10-11 Yao Qi <yao@codesourcery.com>
19576
19577 * gdb.threads/thread-find.exp: Don't execute command
19578 "info threads".
19579 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
19580 * gdb.threads/linux-dp.exp: Don't check the condition
19581 $threads_created equals to zero.
19582
3831839c
PA
195832014-10-10 Pedro Alves <palves@redhat.com>
19584
19585 * gdb.base/bigcore.exp: Remove references to IRIX.
19586 * gdb.base/funcargs.exp: Likewise.
19587 * gdb.base/interrupt.exp: Likewise.
19588 * gdb.base/mips_pro.exp: Likewise.
19589 * gdb.base/nodebug.exp: Likewise.
19590 * gdb.base/setvar.exp: Likewise.
19591 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
19592
8b9a549d
PA
195932014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
19594 Pedro Alves <palves@redhat.com>
19595
19596 PR symtab/14466
19597 * gdb.base/vdso-warning.c: New file.
19598 * gdb.base/vdso-warning.exp: New file.
19599
d48ba5e8
DE
196002014-10-02 Doug Evans <dje@google.com>
19601
19602 * gdb.base/structs.c (main): Don't run forever.
19603
2278c276
PA
196042014-10-02 Pedro Alves <palves@redhat.com>
19605
19606 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
19607 (top level) <stop threads 1, stop threads 2>: Use it.
19608
b57bacec
PA
196092014-10-02 Pedro Alves <palves@redhat.com>
19610
19611 * gdb.threads/break-while-running.exp (test): Add new
19612 'update_thread_list' argument. Skip "info threads" if false.
19613 (top level): Add new 'update_thread_list' axis.
19614
13fd3ff3
PA
196152014-10-02 Pedro Alves <palves@redhat.com>
19616
19617 PR breakpoints/17431
19618 * gdb.base/execl-update-breakpoints.c: New file.
19619 * gdb.base/execl-update-breakpoints.exp: New file.
19620
0fec99e8
PA
196212014-10-01 Pedro Alves <palves@redhat.com>
19622
19623 * gdb.base/breakpoint-in-ro-region.c: New file.
19624 * gdb.base/breakpoint-in-ro-region.exp: New file.
19625
2ddf4301
SM
196262014-10-01 Simon Marchi <simon.marchi@ericsson.com>
19627
19628 * gdb.mi/mi-exit-code.exp: New file.
19629 * gdb.mi/mi-exit-code.c: New file.
19630
6a5f3f43
YQ
196312014-09-30 Yao Qi <yao@codesourcery.com>
19632
19633 * lib/prelink-support.exp (build_executable_own_libs): Error if
19634 the target isn't native.
19635
345bcc73
YQ
196362014-09-30 Yao Qi <yao@codesourcery.com>
19637
19638 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
19639 false.
19640
a25a5a45
PA
196412014-09-22 Pedro Alves <palves@redhat.com>
19642
19643 * gdb.threads/break-while-running.exp: New file.
19644 * gdb.threads/break-while-running.c: New file.
19645
00ba3162
YQ
196462014-09-19 Yao Qi <yao@codesourcery.com>
19647
19648 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
19649 Invoke test. Restart GDB with --readnow and invoke test again.
19650
c3b7b696
YQ
196512014-09-19 Yao Qi <yao@codesourcery.com>
19652
19653 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
19654 proc set_breakpoint_on_gcd_function. Invoke
19655 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
19656 invoke set_breakpoint_on_gcd_function again.
19657
2b4fd423
DE
196582014-09-18 Doug Evans <dje@google.com>
19659
19660 * gdb.dwarf2/symtab-producer.exp: New file.
19661
a5947601
SDJ
196622014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
19663
19664 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
19665 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
19666 * gdb.base/global-var-nested-by-dso.c: Likewise.
19667 * gdb.base/global-var-nested-by-dso.exp: Likewise.
19668
91c19059
SDJ
196692014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
19670 Pedro Alves <palves@redhat.com>
19671
19672 * gdb.base/watch-bitfields.exp: Pass string other than test file
19673 name to prepare_for_testing.
19674 (watch): New procedure.
19675 (expect_watchpoint): Use with_test_prefix.
19676 (top level): Factor out tests to ...
19677 (test_watch_location, test_regular_watch): ... these new
19678 procedures, and use with_test_prefix and gdb_continue_to_end.
19679
bb9d5f81
PP
196802014-09-16 Patrick Palka <patrick@parcs.ath.cx>
19681
19682 PR breakpoints/12526
19683 * gdb.base/watch-bitfields.exp: New file.
19684 * gdb.base/watch-bitfields.c: New file.
19685
635856f5
PA
196862014-09-16 Pedro Alves <palves@redhat.com>
19687
19688 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
19689 software and hardware addresses, not software address against
19690 itself.
19691
7280ceea
PA
196922014-09-16 Pedro Alves <palves@redhat.com>
19693
19694 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
19695 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
19696
428b16bd
PA
196972014-09-16 Pedro Alves <palves@redhat.com>
19698
19699 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
19700 files.
19701 * gdb.base/a2-run.exp: Remove all code guarded by istarget
19702 "*-*-vxworks*" throughout.
19703 * gdb.base/break.exp: Likewise.
19704 * gdb.base/default.exp: Likewise.
19705 * gdb.base/scope.exp: Likewise.
19706 * gdb.base/sepdebug.exp: Likewise.
19707 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
19708 throughout.
19709 * gdb.base/run.c: Likewise.
19710 * gdb.base/sepdebug.c: Likewise.
19711 * gdb.hp/gdb.aCC/run.c: Likewise.
19712 * gdb.reverse/until-reverse.c: Likewise.
19713 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
19714
666d413c
YQ
197152014-09-16 Yao Qi <yao@codesourcery.com>
19716
19717 * boards/local-remote-host-native.exp: New file.
19718
57cbd724
DE
197192014-09-14 Doug Evans <xdje42@gmail.com>
19720
19721 * gdb.threads/queue-signal.c (thread_count): New variable.
19722 (thread_count_mutex, thread_count_condvar): New variables.
19723 (incr_thread_count, wait_all_threads_running): New functions.
19724 (main): Wait for all threads to be in their thread functions.
19725
81219e53
DE
197262014-09-13 Doug Evans <xdje42@gmail.com>
19727
19728 * gdb.threads/queue-signal.c: New file.
19729 * gdb.threads/queue-signal.exp: New file.
19730
3714cea7
DE
197312014-09-13 Doug Evans <xdje42@gmail.com>
19732
19733 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
19734 be consistent with what default_gdb_init uses.
19735 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
19736 the plain text of the prompt. Add some logging printfs.
19737 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
19738
fa43b1d7
PA
197392014-09-12 Pedro Alves <palves@redhat.com>
19740
19741 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
19742 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
19743 * gdb.arch/i386-size-overlap.exp: Likewise.
19744 * gdb.arch/i386-size.exp: Likewise.
19745 * gdb.arch/i386-unwind.exp: Likewise.
19746 * gdb.base/a2-run.exp: Likewise.
19747 * gdb.base/break.exp: Likewise.
19748 * gdb.base/charset.exp: Likewise.
19749 * gdb.base/chng-syms.exp: Likewise.
19750 * gdb.base/commands.exp: Likewise.
19751 * gdb.base/dbx.exp: Likewise.
19752 * gdb.base/find.exp: Likewise.
19753 * gdb.base/funcargs.exp: Likewise.
19754 * gdb.base/jit-simple.exp: Likewise.
19755 * gdb.base/reread.exp: Likewise.
19756 * gdb.base/sepdebug.exp: Likewise.
19757 * gdb.base/step-bt.exp: Likewise.
19758 * gdb.cp/mb-inline.exp: Likewise.
19759 * gdb.cp/mb-templates.exp: Likewise.
19760 * gdb.objc/basicclass.exp: Likewise.
19761 * gdb.threads/killed.exp: Likewise.
19762
9d9bf2df
EBM
197632014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19764
19765 PR tdep/17379
19766 * gdb.arch/powerpc-stackless.S: New file.
19767 * gdb.arch/powerpc-stackless.exp: New file.
19768
1cf2f1b0
JK
197692014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19770
19771 * gdb.base/attach.c: Include unistd.h.
19772 (main): Call alarm. Add label postloop.
19773 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
19774 gdb_breakpoint, gdb_continue_to_breakpoint.
19775 (test_command_line_attach_run): Kill ${testpid} in one exit path.
19776
98880d46
PA
197772014-09-11 Pedro Alves <palves@redhat.com>
19778
19779 PR gdb/17347
19780 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
19781 * gdb.base/attach.exp (test_command_line_attach_run): New
19782 procedure.
19783 (top level): Call it.
19784
4c92ff2c
PA
197852014-09-11 Pedro Alves <palves@redhat.com>
19786
19787 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
19788 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
19789 (do_command_attach_tests): Use spawn_wait_for_attach.
19790 * gdb.base/solib-overlap.exp: Likewise.
19791 * gdb.multi/multi-attach.exp: Likewise.
19792 * gdb.python/py-prompt.exp: Likewise.
19793 * gdb.python/py-sync-interp.exp: Likewise.
19794 * gdb.server/ext-attach.exp: Likewise.
19795
3adc1a7d
GKB
197962014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
19797
19798 * gdb.fortran/array-element.exp: Remove unexpected "continue"
19799 command in testcase. Simplify testcase.
19800
96334934
JB
198012014-09-10 Joel Brobecker <brobecker@adacore.com>
19802
19803 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
19804
eb479039
JB
198052014-09-10 Joel Brobecker <brobecker@adacore.com>
19806
19807 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
19808
deede10c
JB
198092014-09-10 Joel Brobecker <brobecker@adacore.com>
19810
19811 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
19812
7828a5f5
JB
198132014-09-10 Joel Brobecker <brobecker@adacore.com>
19814
19815 * gdb.dwarf2/dynarr-ptr.c: New file.
19816 * gdb.dwarf2/dynarr-ptr.exp: New file.
19817
33aeebcf
MR
198182014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19819
19820 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
19821 of 30 rather than hardcoding 120 for a slow test case. Take the
19822 `gdb,timeout' target setting into account for this calculation.
19823 Don't extend the timeout for the test cases that don't need it.
19824
7b415901
MR
198252014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19826
19827 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
19828 a factor of 2 for a slow test case. Take the `gdb,timeout'
19829 target setting into account for this calculation.
19830 * gdb.reverse/until-precsave.exp: Increase the timeout by
19831 a factor of 15 and 3 respectively rather than adding 120
19832 for a pair of slow test cases. Take the `gdb,timeout'
19833 target setting into account for this calculation.
19834
4a40f85a
MR
198352014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19836
19837 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
19838 timeout, don't pass one down to gdb_expect.
19839 (gdb_expect): Rework timeout selection.
19840
09635af7
MR
198412014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19842
19843 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
19844 exception on timeout.
19845 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
19846 (gdbserver_start_extended): Catch any `gdbserver_start' error
19847 exceptions.
19848 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
19849 * lib/mi-support.exp (mi_gdb_target_load): Catch any
19850 `gdbserver_gdb_load' error exceptions.
19851
2bdd10b7
MR
198522014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19853
19854 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
19855 120 on waiting for the TCP socket to open.
19856
316935f0
DE
198572014-09-09 Doug Evans <xdje42@gmail.com>
19858
19859 * gdb.base/default.exp (show_conv_list): Add _caller_is,
19860 _caller_matches, _any_caller_is, _any_caller_matches.
19861
83740597
DE
198622014-09-09 Doug Evans <xdje42@gmail.com>
19863
19864 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
19865
4c122fc3
YQ
198662014-09-09 Yao Qi <yao@codesourcery.com>
19867
19868 * gdb.mi/mi-var-display.exp: Set print symbol off.
19869
a9f116cb
GKB
198702014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
19871
19872 PR gdb/17035
19873 * gdb.base/commands.exp: Add tests to verify user-defined
19874 commands with empty bodies.
19875 * gdb.python/py-cmd.exp: Test that we don't show user-defined
19876 python commands in `show user command`.
19877 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
19878 scheme commands in `show user command`.
19879
c75bd3a2
JK
198802014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19881
19882 PR python/17355
19883 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
19884 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
19885 * gdb.python/py-framefilter-invalidarg.exp: New file.
19886 * gdb.python/py-framefilter-invalidarg.py: New file.
19887
faa42425
DE
198882014-09-06 Doug Evans <xdje42@gmail.com>
19889
19890 PR 15276
19891 * gdb.python/py-caller-is.c: New file.
19892 * gdb.python/py-caller-is.exp: New file.
19893
474ca4f6
SDJ
198942014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
19895
19896 PR gdb/17235
19897 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
19898 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
19899
eb0b0463
SDJ
199002014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
19901
19902 PR fortran/17237
19903 * gdb.fortran/print-formatted.exp: New file.
19904 * gdb.fortran/print-formatted.f90: Likewise.
19905
5f3b99cf
SS
199062014-09-03 Sasha Smundak <asmundak@google.com>
19907
19908 * gdb.python/py-frame.exp: Test Frame.read_register.
19909
7d793aa9
SDJ
199102014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
19911
19912 PR python/16699
19913 * gdb.python/py-completion.exp: New file.
19914 * gdb.python/py-completion.py: Likewise.
19915
fb0576e9
DE
199162014-08-28 Doug Evans <dje@google.com>
19917
19918 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
19919 eax,etc. are live with values set by gdb and thus the compiler can't
19920 use them.
19921 * gdb.arch/i386-pseudo.c (main): Ditto.
19922
ee92b0dd
DE
199232014-08-27 Doug Evans <dje@google.com>
19924
19925 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
19926
6649db35
DE
199272014-08-25 Doug Evans <dje@google.com>
19928
19929 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
19930 (main): Ditto.
19931
564b7600
DE
199322014-08-25 Doug Evans <dje@google.com>
19933
19934 * gdb.threads/thread-execl.exp: #include <stdio.h>.
19935
3881fb67
YQ
199362014-08-24 Yao Qi <yao@codesourcery.com>
19937
19938 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
19939 symbol off.
19940 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
19941
a05a36a5
DE
199422014-08-22 Doug Evans <dje@google.com>
19943
19944 PR 17276
19945 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
19946 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
19947 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
19948
7c343b48
YQ
199492014-08-22 Yao Qi <yao@codesourcery.com>
19950
19951 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
19952 * gdb.python/py-finish-breakpoint2.exp: Likewise.
19953 * gdb.python/python.exp: Likewise. Use .py file on the host
19954 instead of the build.
19955
22fd09ae
JK
199562014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19957
19958 * gdb.threads/gcore-stale-thread.c: New file.
19959 * gdb.threads/gcore-stale-thread.exp: New file.
19960
a8454a7c
PA
199612014-08-21 Pedro Alves <palves@redhat.com>
19962
19963 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
19964 * gdb.base/gcore-relro-pie.exp: Likewise.
19965 * gdb.base/gcore-relro.exp: Likewise.
19966 * gdb.base/gcore.exp: Likewise.
19967 * gdb.base/print-symbol-loading.exp: Likewise.
19968 * gdb.threads/gcore-thread.exp: Likewise.
19969 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
19970
2a31c623
PA
199712014-08-20 Pedro Alves <palves@redhat.com>
19972 Jan Kratochvil <jan.kratochvil@redhat.com>
19973
19974 * Makefile.in (EXTRA_RULES, CC): New variables, get from
19975 configure.
19976 (EXPECT): Handle READ1 being set.
19977 (all): Depend on EXTRA_RULES.
19978 (check-read1, expect-read1, read1.so, read1): New rules.
19979 * README (Testsuite Parameters): Document the READ1 make variable.
19980 (Race detection): New section.
19981 * configure: Regenerate.
19982 * configure.ac: If build==host==target, and running under a
19983 GNU/glibc system, add read1 to the extra Makefile rules.
19984 (EXTRA_RULES): AC_SUBST it.
19985 * lib/read1.c: New file.
19986
d36430db
JB
199872014-08-20 Joel Brobecker <brobecker@adacore.com>
19988
19989 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
19990 the handling of variables declared as a typedef to an array
19991 which a DW_AT_data_location attribute.
19992
9a0dc9e3
PA
199932014-08-19 Andrew Burgess <aburgess@broadcom.com>
19994 Pedro Alves <palves@redhat.com>
19995
19996 PR symtab/14604
19997 PR symtab/14605
19998 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
19999 gdb_test.
20000
0718a8da
PA
200012014-08-19 Pedro Alves <palves@redhat.com>
20002
20003 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
20004
13b448cd
YQ
200052014-08-19 Yao Qi <yao@codesourcery.com>
20006
20007 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
20008 right line.
20009
1cbf5077
DB
200102014-08-18 David Blaikie <dblaikie@gmail.com>
20011
20012 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
20013
bf0fae19
JB
200142014-08-18 Joel Brobecker <brobecker@adacore.com>
20015
20016 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
20017 attribute in array range.
20018
3c8c5dcc
JB
200192014-08-18 Joel Brobecker <brobecker@adacore.com>
20020
20021 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
20022
e66d4446
SC
200232014-08-15 Siva Chandra Reddy <sivachandra@google.com>
20024
20025 PR c++/17132
20026 * gdb.cp/pr17132.cc: New file.
20027 * gdb.cp/pr17132.exp: New file.
20028
940df408
SC
200292014-08-15 Siva Chandra Reddy <sivachandra@google.com>
20030
20031 * gdb.python/py-xmethods.py (A_getarrayind)
20032 (E_method_char_worker.__call__, E_method_int_worker.__call__):
20033 Use 'print' with function call syntax.
20034 (E_method_matcher.match): Fix tab vs space indentation mixup.
20035
ebcc6c3a
YQ
200362014-08-15 Yao Qi <yao@codesourcery.com>
20037
20038 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
20039 false.
20040
775e0f04
YQ
200412014-08-15 Yao Qi <yao@codesourcery.com>
20042
20043 * gdb.cp/casts.exp: Set print symbol off.
20044 * gdb.cp/class2.exp: Likewise.
20045 * gdb.cp/overload.exp: Likewise.
20046 * gdb.cp/templates.exp: Likewise.
20047
d769e349
DE
200482014-08-11 Doug Evans <dje@google.com>
20049
20050 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
20051 (test_load_shlib): Update.
20052
20c6f1e1
YQ
200532014-08-09 Yao Qi <yao@codesourcery.com>
20054
20055 * gdb.base/display.exp: Invoke is_address_zero_readable.
20056 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
20057 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
20058 * gdb.base/hbreak-unmapped.exp: Return if
20059 is_address_zero_readable returns true.
20060 * gdb.base/signest.exp: Likewise.
20061 * gdb.base/signull.exp: Likewise.
20062 * gdb.base/sigbpt.exp: Likewise.
20063 * gdb.guile/scm-disasm.exp: Do the test if
20064 is_address_zero_readable returns false.
20065 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
20066 * gdb.python/py-arch.exp: Likewise.
20067 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
20068 * lib/gdb.exp (is_address_zero_readable): New proc.
20069
5792e8e3
YQ
200702014-08-09 Yao Qi <yao@codesourcery.com>
20071
20072 PR testsuite/13443
20073 * gdb.mi/mi-var-display.exp: Make test messages unique.
20074
3cecbbbe
TT
200752014-08-04 Tom Tromey <tromey@redhat.com>
20076
20077 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
20078 target 0".
20079
00b51ff5
TT
200802014-08-04 Tom Tromey <tromey@redhat.com>
20081
20082 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
20083 "target_resume".
20084
6908c509
JB
200852014-08-01 Joel Brobecker <brobecker@adacore.com>
20086
20087 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
20088 inner_vla_struct_object_size.
20089 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
20090 as xfail.
20091
cc6563d2
PA
200922014-07-30 Pedro Alves <palves@redhat.com>
20093
20094 * gdb.threads/signal-command-handle-nopass.exp (test): Add
20095 comment.
20096
7e09a223
YQ
200972014-07-29 Yao Qi <yao@codesourcery.com>
20098
20099 PR gdb/17206
20100 * gdb.base/until-nodebug.exp: New.
20101
7ebdbe92
DE
201022014-07-28 Doug Evans <xdje42@gmail.com>
20103
20104 PR guile/17203
20105 * gdb.guile/scm-parameter.exp: Add tests for trying to create
20106 previously existing parameter, and previously ambiguously spelled
20107 parameter.
20108
fdb1adc6
WN
201092014-07-28 Will Newton <will.newton@linaro.org>
20110
20111 * gdb.base/varargs.exp: Remove KFAILs for ARM.
20112
186fcde0
DE
201132014-07-26 Ludovic Courtès <ludo@gnu.org>
20114 Doug Evans <xdje42@gmail.com>
20115
20116 PR guile/17146
20117 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
20118
70509625
PA
201192014-07-25 Pedro Alves <palves@redhat.com>
20120
20121 * gdb.threads/signal-command-handle-nopass.c: New file.
20122 * gdb.threads/signal-command-handle-nopass.exp: New file.
20123 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
20124 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
20125 * gdb.threads/signal-delivered-right-thread.c: New file.
20126 * gdb.threads/signal-delivered-right-thread.exp: New file.
20127
c3f814a1
PA
201282014-07-25 Pedro Alves <palves@redhat.com>
20129
20130 * gdb.base/double-prompt-target-event-error.exp
20131 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
20132 match.
20133 (cancel_pagination_in_target_event): Rework double prompt
20134 detection.
20135 * gdb.base/paginate-after-ctrl-c-running.exp
20136 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
20137 <return>' match.
20138 * gdb.base/paginate-bg-execution.exp
20139 (test_bg_execution_pagination_return)
20140 (test_bg_execution_pagination_cancel): Remove '-notransfer
20141 <return>' matches.
20142 * gdb.base/paginate-execution-startup.exp
20143 (test_fg_execution_pagination_return)
20144 (test_fg_execution_pagination_cancel): Remove '-notransfer
20145 <return>' matches.
20146 * gdb.base/paginate-inferior-exit.exp
20147 (test_paginate_inferior_exited): Remove '-notransfer <return>'
20148 match.
20149 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
20150 * lib/gdb.exp (pagination_prompt): Run text through
20151 string_to_regexp.
20152 (gdb_test_multiple): Match $pagination_prompt instead of
20153 "<return>".
20154 (string_to_regexp): Move to lib/gdb-utils.exp.
20155
e214cf6c
JK
201562014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
20157
20158 * gdb.arch/amd64-entry-value-paramref.S: New file.
20159 * gdb.arch/amd64-entry-value-paramref.cc: New file.
20160 * gdb.arch/amd64-entry-value-paramref.exp: New file.
20161 * gdb.arch/amd64-optimout-repeat.S: New file.
20162 * gdb.arch/amd64-optimout-repeat.c: New file.
20163 * gdb.arch/amd64-optimout-repeat.exp: New file.
20164
17d0c5c8
JK
201652014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
20166
20167 PR gdb/17170
20168 * gdb.base/statistics.exp: New file.
20169
b8b8facf
DE
201702014-07-17 Doug Evans <dje@google.com>
20171
74b49205 20172 PR gdb/17170
b8b8facf
DE
20173 * gdb.base/maint.exp: Update testing of per-command stats.
20174
1b5d0ab3
PA
201752014-07-16 Pedro Alves <palves@redhat.com>
20176
20177 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
20178 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
20179 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
20180 (tfile_write_buf): New functions.
20181 (add_memory_block): Rewrite using the above.
20182 (adjust_function_address): New function.
20183 (FUNCTION_ADDRESS): New macro.
20184 (write_basic_trace_file): Remove short_x local, and use
20185 tfile_write_16. Change type of func_addr local to unsigned long
20186 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
20187 here. Cast argument of add_memory_block to char pointer.
20188 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
20189 (main): Remove parameters.
20190 * gdb.trace/tfile.exp: Remove nowarnings.
20191
4d974e88
SM
201922014-07-15 Simon Marchi <simon.marchi@ericsson.com>
20193
20194 * gdb.base/debug-expr.exp: Test string evaluation with
20195 "debug expression" on.
20196
41e99568
PA
201972014-07-15 Pedro Alves <palves@redhat.com>
20198
20199 * gdb.base/reread.exp: Use clean_restart.
20200
487d9753
PL
202012014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
20202
20203 * gdb.arch/avr-flash-qualifer.c: New.
20204 * gdb.arch/avr-flash-qualifer.exp: New.
20205
cc1c52ad
PA
202062014-07-14 Pedro Alves <palves@redhat.com>
20207
20208 * gdb.base/paginate-after-ctrl-c-running.c: New file.
20209 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
20210
1e973570
PA
202112014-07-14 Pedro Alves <palves@redhat.com>
20212
20213 * gdb.base/double-prompt-target-event-error.c: New file.
20214 * gdb.base/double-prompt-target-event-error.exp: New file.
20215
93d6eb10
PA
202162014-07-14 Pedro Alves <palves@redhat.com>
20217
20218 PR gdb/17072
20219 * gdb.base/paginate-inferior-exit.c: New file.
20220 * gdb.base/paginate-inferior-exit.exp: New file.
20221
0017922d
PA
202222014-07-14 Pedro Alves <palves@redhat.com>
20223
20224 PR gdb/17072
20225 * gdb.base/paginate-bg-execution.c: New file.
20226 * gdb.base/paginate-bg-execution.exp: New file.
20227
94696ad3
PA
202282014-07-14 Pedro Alves <palves@redhat.com>
20229
20230 PR gdb/17072
20231 * gdb.base/paginate-execution-startup.c: New file.
20232 * gdb.base/paginate-execution-startup.exp: New file.
20233 * lib/gdb.exp (pagination_prompt): New global.
20234 (default_gdb_spawn): New procedure, factored out from
20235 default_gdb_spawn.
20236 (default_gdb_start): Adjust to call default_gdb_spawn.
20237 (gdb_spawn): New procedure.
20238
bd293940
PA
202392014-07-14 Pedro Alves <palves@redhat.com>
20240
20241 * lib/gdb.exp (gdb_assert): New procedure.
20242 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
20243
c933f875
PA
202442014-07-14 Pedro Alves <palves@redhat.com>
20245
20246 * gdb.base/execution-termios.c: New file.
20247 * gdb.base/execution-termios.exp: New file.
20248
d98b7a16
TT
202492014-07-14 Tom Tromey <tromey@redhat.com>
20250
20251 * gdb.cp/vla-cxx.cc: New file.
20252 * gdb.cp/vla-cxx.exp: New file.
20253
548740d6
TT
202542014-07-14 Tom Tromey <tromey@redhat.com>
20255
20256 * gdb.reverse/rerun-prec.c: New file.
20257 * gdb.reverse/rerun-prec.exp: New file.
20258
a25eb028
MR
202592014-07-12 Maciej W. Rozycki <macro@mips.com>
20260 Maciej W. Rozycki <macro@codesourcery.com>
20261
20262 * lib/gdb-utils.exp: New file.
20263 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
20264 inline `gdb_init_command' processing.
20265 (gdb_start_cmd): Likewise.
20266 * lib/mi-support.exp (mi_run_cmd): Likewise.
20267 * README: Document `gdb_init_command' and `gdb_init_commands'.
20268
218c2655
JK
202692014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20270
20271 Fix false FAIL running under a very long directory name.
20272 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
20273 and "set print elements 10000". Twice.
20274
5401fde3
YQ
202752014-07-11 Yao Qi <yao@codesourcery.com>
20276
20277 * gdb.base/exprs.exp: "set print symbol off".
20278
e76126e8
PA
202792014-07-11 Pedro Alves <palves@redhat.com>
20280
20281 * gdb.threads/kill.c: New file.
20282 * gdb.threads/kill.exp: New file.
20283
2d6f0de6
YQ
202842014-07-10 Yao Qi <yao@codesourcery.com>
20285
20286 * gdb.trace/tfile.c (write_basic_trace_file)
20287 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
20288 address written to trace file.
20289
7180e04a
PA
202902014-07-09 Pedro Alves <palves@redhat.com>
20291
20292 * gdb.base/attach-wait-input.exp: New file.
20293 * gdb.base/attach-wait-input.c: New file.
20294
9a9a7608
AB
202952014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
20296
20297 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
20298 setting up test structures.
20299 (main): Call new test function.
20300 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
20301 test function, continue into test function and walk test
20302 structures.
20303
161ac41e
YQ
203042014-07-02 Yao Qi <yao@codesourcery.com>
20305
20306 * gdb.trace/entry-values.c: Define labels 'foo_start' and
20307 'bar_start' at the beginning of functions 'foo' and 'bar'
20308 respectively.
20309 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
20310 instead of 'foo' and 'bar'.
20311
1f267ae3
MM
203122014-07-08 Markus Metzger <markus.t.metzger@intel.com>
20313
20314 * gdb.btrace/segv.exp: New.
20315 * gdb.btrace/segv.c: New.
20316
2b239efb
LM
203172014-07-02 Luis Machado <lgustavo@codesourcery.com>
20318
20319 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
20320 instruction.
20321
cf363f18
MW
203222014-06-30 Mark Wielaard <mjw@redhat.com>
20323
20324 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
20325 vulture, vilify, villar): New volatile array constants.
20326 (vindictive, vegetation): New const volatile array constants.
20327 * gdb.base/volatile.exp: Test volatile and const volatile array
20328 types.
20329
aebf9d24
AA
203302014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
20331
20332 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
20333 target lacks support for awatch, rwatch, or hbreak.
20334
b67a2c6f
YQ
203352014-06-27 Yao Qi <yao@codesourcery.com>
20336
20337 * gdb.multi/dummy-frame-restore.exp: New.
20338 * gdb.multi/dummy-frame-restore.c: New.
20339
aef92902
MM
203402014-06-25 Markus Metzger <markus.t.metzger@intel.com>
20341
20342 * gdb.btrace/gcore.exp: New.
20343
8e9db26e
PA
203442014-06-23 Pedro Alves <palves@redhat.com>
20345
20346 * gdb.base/watchpoint-reuse-slot.c: New file.
20347 * gdb.base/watchpoint-reuse-slot.exp: New file.
20348
70afc5b7
SC
203492014-06-23 Siva Chandra Reddy <sivachandra@google.com>
20350
20351 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
20352 progspace's filename in 'info', 'enable' and 'disable' command
20353 tests.
20354
b972bd9c
JK
203552014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
20356
20357 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
20358 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
20359 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
20360
125f8a3d
GB
203612014-06-20 Gary Benson <gbenson@redhat.com>
20362
20363 * gdb.arch/i386-avx.exp: Fix include file location.
20364 * gdb.arch/i386-sse.exp: Likewise.
20365
3ed9baed
IB
203662014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
20367
20368 * gdb.dlang/expression.exp: New file.
20369
034f788c
PA
203702014-06-19 Pedro Alves <palves@redhat.com>
20371
20372 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
20373 out from ...
20374 (top level): ... here. Iterate running tests under different
20375 scheduler-locking settings.
20376
45371d0c
LM
203772014-06-18 Luis Machado <lgustavo@codesourcery.com>
20378
20379 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
20380 to DW_FORM_addr and use non-zero addresses.
20381
5d376983
SC
203822014-06-18 Siva Chandra Reddy <sivachandra@google.com>
20383
20384 PR gdb/17017
20385 * gdb.python/py-xmethods.cc: Add global function call counters and
20386 increment them in their respective functions. Remove "cout"
20387 statements.
20388 * gdb.python/py-xmethods.exp: Make tests check the global function
20389 call counters instead of depending on inferior IO.
20390
a1aa2221
LM
203912014-06-18 Don Breazeal <donb@codesourcery.com>
20392
20393 * gdb.base/foll-fork.exp (default_fork_parent_follow):
20394 Deleted procedure.
20395 (explicit_fork_parent_follow): Deleted procedure.
20396 (explicit_fork_child_follow): Deleted procedure.
20397 (test_follow_fork): New procedure.
20398 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 20399 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
20400 procedure calls.
20401
0fc05997
YQ
204022014-06-17 Yao Qi <yao@codesourcery.com>
20403
20404 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
20405 CP1252.
20406
70795c52
LM
204072014-06-17 Luis Machado <lgustavo@codesourcery.com>
20408
20409 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
20410 Initialize ptr and S explicitly.
20411 (skip_type_update_when_not_use_rtti_test): Likewise.
20412
6be47f0c
KS
204132014-06-16 Keith Seitz <keiths@redhat.com>
20414
20415 PR mi/15863
20416 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
20417 the inferior is started.
20418
d03de421
PA
204192014-06-16 Pedro Alves <palves@redhat.com>
20420
20421 * gdb.base/break-main-file-remove-fail.c: New file.
20422 * gdb.base/break-main-file-remove-fail.exp: New file.
20423 * gdb.base/break-unload-file.exp: Use build_executable instead of
20424 prepare_for_testing.
20425 (test_break): New parameter "initial_load". Handle it.
20426 (top level): Add initial_load cmdline/file axis.
20427
f9579b99
TT
204282014-06-12 Tom Tromey <tromey@redhat.com>
20429
20430 * gdb.base/completion.exp: Don't use directory name in test.
20431
3657956b
GB
204322014-06-09 Gary Benson <gbenson@redhat.com>
20433
20434 * gdb.base/sigall.c [Functions to send signals]: Reorder to
20435 separate the always-available ANSI-standard signals from the
20436 signals that require checking.
20437 (main): Likewise.
20438 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
20439 Likewise.
20440 (main): Likewise.
20441
4186eb54
KS
204422014-06-07 Keith Seitz <keiths@redhat.com>
20443
20444 Revert:
20445 PR c++/16253
20446 * gdb.cp/var-tag.cc: New file.
20447 * gdb.cp/var-tag.exp: New file.
20448 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
20449 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
20450 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
20451 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
20452
25326a28 204532014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
20454
20455 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
20456
829155c9
PA
204572014-06-06 Pedro Alves <palves@redhat.com>
20458
20459 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
20460 in target debug output instead of looking at RSP packets,
20461 disabling the test on any target that uses hardware stepping.
20462 Update comments.
20463
61c8d22e
PA
204642014-06-06 Pedro Alves <palves@redhat.com>
20465
20466 * gdb.base/break-unload-file.exp: Fix typo.
20467
d9a47287
YQ
204682014-06-06 Yao Qi <yao@codesourcery.com>
20469
20470 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
20471 from "jit_function" to "^jit_function".
20472
e5e01dbf
YQ
204732014-06-06 Yao Qi <yao@codesourcery.com>
20474
20475 * gdb.base/async.c (foo): Add one statement.
20476 * gdb.base/async.exp: Get the next instruction address and
20477 match the output of "nexti" by instruction address. Match
20478 the hex address in the output of "finish".
20479
73ba372c
GB
204802014-06-06 Gary Benson <gbenson@redhat.com>
20481
20482 * gdb.base/call-signals.c: Remove preprocessor conditionals
20483 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
20484 SIGSEGV and SIGTERM.
20485 * gdb.base/sigall.c: Likewise.
20486 * gdb.base/unwindonsignal.c: Likewise.
20487 * gdb.reverse/sigall-reverse.c: Likewise.
20488
831517df
YQ
204892014-06-06 Yao Qi <yao@codesourcery.com>
20490
20491 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
20492 readable, skip the test.
20493
b8b91e98
YQ
204942014-06-06 Yao Qi <yao@codesourcery.com>
20495
20496 * gdb.threads/staticthreads.c (thread_function): Move the line
20497 setting breakpoint on forward.
20498 * gdb.threads/staticthreads.exp: Update comments.
20499
fb934770
LC
205002014-06-05 Ludovic Courtès <ludo@gnu.org>
20501
20502 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
20503 "history-append! type error".
20504
6ef284bd
SM
205052014-06-05 Simon Marchi <simon.marchi@ericsson.com>
20506
20507 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
20508 erroneous dprintf expected input.
20509
a872e241
DE
205102014-06-04 Doug Evans <xdje42@gmail.com>
20511
20512 * gdb.guile/scm-generics.exp: Delete.
20513
16f691fb
DE
205142014-06-04 Doug Evans <xdje42@gmail.com>
20515
20516 * gdb.guile/scm-breakpoint.exp: Update.
20517 Add tests for breakpoint registration.
20518
012370f6
TT
205192014-06-04 Tom Tromey <tromey@redhat.com>
20520
20521 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
20522 VLA-in-union.
20523 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
20524 inner_vla_struct, vla_union types. Initialize objects of those
20525 types and compute their sizes.
20526
9f5a4cef
HZ
205272014-06-04 Nathan Sidwell <nathan@codesourcery.com>
20528 Hui Zhu <hui@codesourcery.com>
20529
20530 * gdb.base/fileio.exp: Add test for shell not available as well as
20531 available.
20532 * gdb.base/fileio.c (test_system): Check for shell twice.
20533
90a45c4d
YQ
205342014-06-04 Yao Qi <yao@codesourcery.com>
20535
20536 * gdb.base/auto-connect-native-target.exp: Remove redundant
20537 space from the regexp pattern.
20538
70017e41
YQ
205392014-06-04 Yao Qi <yao@codesourcery.com>
20540
20541 * gdb.base/default.exp: Replace "child" with "native" in
20542 regexp pattern.
20543
883964a7
SC
205442014-06-03 Siva Chandra Reddy <sivachandra@google.com>
20545
20546 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
20547 * gdb.python/py-xmethods.exp: New tests to test xmethods.
20548 * gdb.python/py-xmethods.py: Python script supporting the
20549 new testcase and tests.
20550
ef370185
JB
205512014-06-03 Joel Brobecker <brobecker@adacore.com>
20552 Pedro Alves <palves@redhat.com>
20553
20554 PR breakpoints/17000
20555 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
20556 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
20557
1e2ccb61
BM
205582014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
20559
20560 * gdb.base/subst.exp: Add tests to verify partial path matching
20561 output.
20562
c6ec5ab2
PA
205632014-06-03 Pedro Alves <palves@redhat.com>
20564
20565 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
20566 target that doesn't use software single-stepping.
20567
835c559f
PA
205682014-06-03 Pedro Alves <palves@redhat.com>
20569
20570 PR breakpoints/17000
20571 * gdb.base/sss-bp-on-user-bp-2.c: New file.
20572 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
20573
06eb1586
DE
205742014-06-02 Doug Evans <xdje42@gmail.com>
20575
20576 * gdb.guile/scm-parameter.exp: New file.
20577
e698b8c4
DE
205782014-06-02 Doug Evans <xdje42@gmail.com>
20579
20580 * gdb.guile/scm-cmd.c: New file.
20581 * gdb.guile/scm-cmd.exp: New file.
20582
ded03782
DE
205832014-06-02 Doug Evans <xdje42@gmail.com>
20584
20585 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
20586 pretty-printer lookup.
20587 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
20588 (make-pp_s-printer): Call it.
20589 (make-pretty-printer-from-dict): New function.
20590 (lookup-pretty-printer-maker-from-dict): New function.
20591 (*pretty-printer*): Simplify.
20592 (make-objfile-pp_s-printer): New function.
20593 (install-objfile-pretty-printers!): New function.
20594 (make-progspace-pp_s-printer): New function.
20595 (install-progspace-pretty-printers!): New function.
20596 * gdb.guile/scm-progspace.c: New file.
20597 * gdb.guile/scm-progspace.exp: New file.
20598
41fac0cf
PA
205992014-06-02 Pedro Alves <palves@redhat.com>
20600
20601 * gdb.base/dprintf-bp-same-addr.c: New file.
20602 * gdb.base/dprintf-bp-same-addr.exp: New file.
20603
96ae5695
EBM
206042014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20605
20606 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
20607 * gdb.arch/powerpc-power.s: Likewise.
20608
da02b3a8
JB
206092014-06-02 Joel Brobecker <brobecker@adacore.com>
20610
20611 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
20612
c72b2e7b
YQ
206132014-06-01 Yao Qi <yao@codesourcery.com>
20614
20615 * gdb.base/watchpoint.exp (test_watch_location): Check null
20616 pointer can be dereferenced. If not, do the test, otherwise
20617 skip it.
20618
53e8a631
AB
206192014-05-30 Andrew Burgess <aburgess@broadcom.com>
20620
20621 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
20622 results.
20623 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
20624
938f0e2f
AB
206252014-05-30 Andrew Burgess <aburgess@broadcom.com>
20626
20627 * gdb.arch/amd64-invalid-stack-middle.S: New file.
20628 * gdb.arch/amd64-invalid-stack-middle.c: New file.
20629 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
20630 * gdb.arch/amd64-invalid-stack-top.c: New file.
20631 * gdb.arch/amd64-invalid-stack-top.exp: New file.
20632
9ba6657a
PA
206332014-05-30 Pedro Alves <palves@redhat.com>
20634
20635 PR breakpoints/17000
20636 * gdb.base/sss-bp-on-user-bp.c: New file.
20637 * gdb.base/sss-bp-on-user-bp.exp: New file.
20638
522c09bf
DB
206392014-05-30 David Blaikie <dblaikie@gmail.com>
20640
20641 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
20642 gnu_inline semantics via attribute.
20643 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
20644 source explicitly specifies the required semantics.
20645
bf4ef81e
MR
206462014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
20647
20648 * gdb.reverse/sigall-reverse.exp: Fix a typo.
20649
329ea579
PA
206502014-05-29 Pedro Alves <palves@redhat.com>
20651 Tom Tromey <tromey@redhat.com>
20652
20653 * gdb.base/async-shell.exp: Don't enable target-async.
20654 * gdb.base/async.exp
20655 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
20656 parameter. Adjust.
20657 (top level): Don't test with "target-async".
20658 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
20659 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
20660 * gdb.base/inferior-died.exp: Don't enable target-async.
20661 * gdb.base/interrupt-noterm.exp: Likewise.
20662 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
20663 * gdb.mi/mi-nonstop-exit.exp: Likewise.
20664 * gdb.mi/mi-nonstop.exp: Likewise.
20665 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
20666 * gdb.mi/mi-nsintrall.exp: Likewise.
20667 * gdb.mi/mi-nsmoribund.exp: Likewise.
20668 * gdb.mi/mi-nsthrexec.exp: Likewise.
20669 * gdb.mi/mi-watch-nonstop.exp: Likewise.
20670 * gdb.multi/watchpoint-multi.exp: Adjust comment.
20671 * gdb.python/py-evsignal.exp: Don't enable target-async.
20672 * gdb.python/py-evthreads.exp: Likewise.
20673 * gdb.python/py-prompt.exp: Likewise.
20674 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
20675 * gdb.server/solib-list.exp: Don't enable target-async.
20676 * gdb.threads/thread-specific-bp.exp: Likewise.
20677 * lib/mi-support.exp: Adjust to use mi-async.
20678
fd664c91
PA
206792014-05-29 Pedro Alves <palves@redhat.com>
20680
20681 PR gdb/13860
20682 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
20683 reason, even in sync mode.
20684
251bde03
PA
206852014-05-29 Pedro Alves <palves@redhat.com>
20686 Hui Zhu <hui@codesourcery.com>
20687
20688 PR PR15693
20689 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
20690 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
20691 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
20692 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
20693
7f3c0343
JB
206942014-05-28 Joel Brobecker <brobecker@adacore.com>
20695
20696 * config/monitor.exp (gdb_target_monitor): Replace use of
20697 "set remotebaud" by "set serial baud".
20698
b2715b27
AW
206992014-05-26 Andy Wingo <wingo@igalia.com>
20700
20701 * gdb.guile/scm-breakpoint.exp:
20702 * gdb.guile/scm-gsmob.exp: Update to use plain old object
20703 properties instead of gdb-object-properties.
20704
498a4489
YQ
207052014-05-26 Yao Qi <yao@codesourcery.com>
20706
20707 * gdb.server/no-thread-db.exp: Specify source file name
20708 explicitly when setting a breakpoint.
20709
589fdceb
MM
207102014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20711
20712 * gdb.btrace/vdso.c: New.
20713 * gdb.btrace/vdso.exp: New.
20714
e9089e05
MM
207152014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20716
20717 * gdb.base/gcore.exp (capture_command_output): Move ...
20718 * lib/gdb.exp (capture_command_output): ... here.
20719
67b5c0c1
MM
207202014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20721
20722 * gdb.btrace/data.exp: Test memory access during btrace replay.
20723
a2199296
SM
207242014-05-22 Simon Marchi <simon.marchi@ericsson.com>
20725
20726 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
20727
17b2616c
PA
207282014-05-21 Pedro Alves <palves@redhat.com>
20729
20730 PR gdb/13860
20731 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
20732 (top level): Test that output related to execution commands is
20733 sent to the console with CLI commands, but not with MI commands.
20734 Test that breakpoint events are always mirrored to the console.
20735 Also expect the new source line to be output after a "next" in
20736 async mode too. Make it a pass/fail test.
20737 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
20738 output.
20739 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
20740
5166082f
PA
207412014-05-21 Pedro Alves <palves@redhat.com>
20742
20743 * gdb.base/list.exp (build_pattern, test_list): New procedures.
20744 Use them to test variations of "list" after reaching a breakpoint.
20745 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
20746 Test "list" with listsize 10 after reaching a breakpoint.
20747 * gdb.python/python.exp (decode_line current location line
20748 number): Adjust expected line number.
20749
2f25d70f
SM
207502014-05-21 Simon Marchi <simon.marchi@ericsson.com>
20751
20752 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
20753 behavior for $args, pass it directly to "run".
20754
ff604a67
MR
207552014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
20756
20757 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
20758 30000 to 65536.
20759
6a3cb8e8
PA
207602014-05-21 Pedro Alves <palves@redhat.com>
20761
20762 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
20763 auto-connect-native-target off".
20764 * gdb.base/auto-connect-native-target.c: New file.
20765 * gdb.base/auto-connect-native-target.exp: New file.
20766
4ebfc96e
PA
207672014-05-21 Pedro Alves <palves@redhat.com>
20768
20769 * gdb.base/default.exp: Test "target native" instead of "target
20770 child".
20771
36d46afb
MW
207722014-05-21 Mark Wielaard <mjw@redhat.com>
20773
20774 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
20775
5876f503
JK
207762014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20777
20778 Fix TLS access for -static -pthread.
20779 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
20780 <HAVE_TLS> (thread_function, main): Initialize it.
20781 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
20782 Add clean_restart.
20783 <$have_tls != "">: Check TLSVAR.
20784
0256a6ac
PA
207852014-05-21 Pedro Alves <palves@redhat.com>
20786
20787 * gdb.base/dcache-line-read-error.c: New.
20788 * gdb.base/dcache-line-read-error.exp: New.
20789
936d2992
PA
207902014-05-20 Pedro Alves <palves@redhat.com>
20791
20792 * gdb.base/compare-sections.c: New file.
20793 * gdb.base/compare-sections.exp: New file.
20794
802e8e6d
PA
207952014-05-20 Pedro Alves <palves@redhat.com>
20796
20797 * gdb.base/break-idempotent.c: New file.
20798 * gdb.base/break-idempotent.exp: New file.
20799
e59fa00f
MM
208002014-05-20 Markus Metzger <markus.t.metzger@intel.com>
20801
20802 * gdb.btrace/nohist.exp: New.
20803
8b696e31
YQ
208042014-05-20 Yao Qi <yao@codesourcery.com>
20805
20806 * lib/gdb.exp (gdb_init): Set timeout if test file is under
20807 gdb.reverse directory and gdb_reverse_timeout exists in board
20808 setting.
20809 * README: Document gdb_reverse_timeout.
20810
73c9764f
YQ
208112014-05-20 Yao Qi <yao@codesourcery.com>
20812
20813 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
20814 'test_file_name'. Treat args as a string instead of a list.
20815 (gdb_init): Rename argument 'args' by 'test_file_name'.
20816
f1f4348a
JK
208172014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
20818
20819 * gdb.arch/powerpc-power.exp: New file.
20820 * gdb.arch/powerpc-power.s: New file.
20821
0dbe70ce
DE
208222014-05-16 Doug Evans <dje@google.com>
20823
20824 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
20825 * gdb.base/completion.exp: Check that all expected files exist
20826 before doing file completion.
0dbe70ce 20827
8d551b02
DE
208282014-05-16 Doug Evans <dje@google.com>
20829
20830 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
20831 Update.
20832 (do_syscall_tests_without_xml): Update.
20833
73eb7709
PA
208342014-05-16 Pedro Alves <palves@redhat.com>
20835
20836 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
20837 instead of "unknown output after running".
20838
3fae92fc
YQ
208392014-05-16 Yao Qi <yao@codesourcery.com>
20840
20841 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
20842 file1.txt from host at the end.
20843 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
20844
c2b2ccc5
DE
208452014-05-15 Doug Evans <dje@google.com>
20846
20847 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
20848 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
20849 loading file. Add test for TU lookup.
20850
8c217a4b
SM
208512014-05-15 Simon Marchi <simon.marchi@ericsson.com>
20852
20853 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
20854 calling "-exec-arguments" or "set args" before running the
20855 inferior.
20856
3deb39c6
SM
208572014-05-15 Simon Marchi <simon.marchi@ericsson.com>
20858
20859 * lib/mi-support.exp (mi_expect_stop): Expect message for
20860 inferiors that exit with non-zero exit code.
20861
71a79f8c
YQ
208622014-05-14 Yao Qi <yao@codesourcery.com>
20863
20864 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
20865 match absolute path on remote host.
20866 (test_file_list_exec_source_files): Remove "/" from the
20867 pattern.
20868
f23fcd46
YQ
208692014-05-14 Yao Qi <yao@codesourcery.com>
20870
20871 * boards/local-remote-host-notty.exp (${board}_file): New
20872 proc.
20873
9404b58f
KM
208742014-05-07 Kyle McMartin <kyle@redhat.com>
20875
20876 Pushed by Joel Brobecker <brobecker@adacore.com>.
20877 * gdb.arch/aarch64-atomic-inst.c: New file.
20878 * gdb.arch/aarch64-atomic-inst.exp: New file.
20879
5e45f04c
YQ
208802014-05-07 Yao Qi <yao@codesourcery.com>
20881
20882 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
20883 in current context" too.
20884
c888a17d
KS
208852014-05-05 Keith Seitz <keiths@redhat.com>
20886
20887 * gdb.linespec/ls-dollar.exp: Add test for linespec
20888 file:convenience_variable.
20889
290a839c
YQ
208902014-05-05 Yao Qi <yao@codesourcery.com>
20891
20892 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
20893 traceframes into tfile and ctf trace files. Read data from
20894 trace file and test collected data.
20895 (gdb_collect_locals_test): Likewise.
20896 (gdb_unavailable_registers_test): Likewise.
20897 (gdb_unavailable_floats): Likewise.
20898 (gdb_collect_globals_test): Likewise.
20899 (top-level): Append "ctf" to trace_file_targets if GDB
20900 supports.
20901
b5262cd0
YQ
209022014-05-05 Yao Qi <yao@codesourcery.com>
20903
20904 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
20905 code to ...
20906 (gdb_collect_args_test_1): ... it. New proc.
20907 (gdb_collect_locals_test): Move some code to ...
20908 (gdb_collect_locals_test_1): ... it. New proc.
20909 (gdb_unavailable_registers_test): Move some code to ...
20910 (gdb_unavailable_registers_test_1): ... it. New proc.
20911 (gdb_unavailable_floats): Move some code to ...
20912 (gdb_unavailable_floats_1): ... it. New proc.
20913
30a1e6cc
SDJ
209142014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
20915
20916 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
20917 probes to test for bitness recognition.
20918 * gdb.arch/amd64-stap-optional-prefix.exp
20919 (test_probe_value_without_reg): New procedure.
20920 Add code to test for different kinds of bitness.
20921
f33da99a
SDJ
209222014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
20923
20924 PR breakpoints/16889
20925 * gdb.arch/amd64-stap-optional-prefix.S: New file.
20926 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
20927
5b80f00d
PA
209282014-05-01 Pedro Alves <palves@redhat.com>
20929
20930 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
20931 gdb_file_cmd if no file is specified.
20932 * boards/native-extended-gdbserver.exp (gdb_load): Use the
20933 last_loaded_file to set the remote exec-file.
20934
f8c2a73c
PA
209352014-05-01 Pedro Alves <palves@redhat.com>
20936
20937 * boards/local-remote-host.exp: New file.
20938
be6e8ac7
PA
209392014-05-01 Pedro Alves <palves@redhat.com>
20940
20941 * boards/local-remote-host.exp: Rename to ...
20942 * boards/local-remote-host-notty.exp: ... this.
20943
cac0dc8f
JB
209442014-04-28 Joel Brobecker <brobecker@adacore.com>
20945
20946 * gdb.ada/dyn_arrayidx: New testcase.
20947
9730e6cc
YQ
209482014-04-26 Yao Qi <yao@codesourcery.com>
20949
20950 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
20951 and compute the length of function main. Save it in
20952 $main_length.
20953 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
20954 (top-level): Use gdb_compile to compile objects into
20955 executable and restart GDB. Remove invocation to
20956 prepare_for_testing.
20957
7ae1a6a6
PA
209582014-04-25 Simon Marchi <simon.marchi@ericsson.com>
20959 Pedro Alves <palves@redhat.com>
20960
20961 PR server/16255
20962 * gdb.multi/multi-attach.c: New file.
20963 * gdb.multi/multi-attach.exp: New file.
20964
4082afcc
PA
209652014-04-25 Pedro Alves <palves@redhat.com>
20966
20967 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
20968 user.
20969 (top level): Test that "set remote conditional-breakpoints-packet
20970 off" works as intended.
20971 * gdb.base/dprintf.exp: Test that "set remote
20972 breakpoint-commands-packet off" works as intended.
20973 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
20974 New function.
20975 (top level): Call it.
20976 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
20977 remote fast-tracepoints-packet off" works as intended.
20978 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
20979 * lib/gdb.exp (gdb_is_target_remote): ... here.
20980
2abc3f8d
DB
209812014-04-24 David Blaikie <dblaikie@gmail.com>
20982
20983 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
20984 ensure clang would not discard them.
20985 * gdb.base/gdbvars.c: Ditto.
20986 * gdb.base/memattr.c: Ditto.
20987 * gdb.base/whatis.c: Ditto.
20988 * gdb.python/py-prettyprint.c: Ditto.
20989 * gdb.trace/actions.c: Ditto.
20990 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
20991 ensure clang would not discard it.
20992
bfd39632
DB
209932014-04-24 David Blaikie <dblaikie@gmail.com>
20994
20995 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
20996 clang to emit the full definition of type required by the test
20997 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
20998
22842ff6
DB
209992014-04-24 David Blaikie <dblaikie@gmail.com>
21000
21001 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
21002 coax Clang into emitting the definition of the type.
21003 * gdb.cp/pr10728-x.h (y): Ditto.
21004 * gdb.cp/pr10728-y.cc (y): Ditto.
21005
c2e827ad
DB
210062014-04-24 David Blaikie <dblaikie@gmail.com>
21007
21008 * gdb.base/label.exp: XFAIL label related tests under Clang.
21009 * gdb.cp/cplabel.exp: Ditto.
21010 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
21011 under Clang those using labels.
21012
4c2d33e7
YQ
210132014-04-25 Yao Qi <yao@codesourcery.com>
21014
21015 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
21016 double_label.
21017 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
21018 partial_label and double_label.
21019
56083b99
DB
210202014-04-24 David Blaikie <dblaikie@gmail.com>
21021
21022 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
21023
25d4e99d
DB
210242014-04-24 David Blaikie <dblaikie@gmail.com>
21025
21026 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
21027 of the function to work across GCC and Clang.
21028 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
21029 pointer types (const void ** const V void **).
21030
01f9f808
MS
210312014-04-24 Michael Sturm <michael.sturm@mintel.com>
21032 Walfred Tedeschi <walfred.tedeschi@intel.com>
21033
21034 * Makefile.in (EXECUTABLES): Added i386-avx512.
21035 * gdb.arch/i386-avx512.c: New file.
21036 * gdb.arch/i386-avx512.exp: Likewise.
21037
4b48d439
KS
210382014-04-23 Keith Seitz <keiths@redhat.com>
21039
21040 * lib/mi-support.exp (mi_list_breakpoints): Delete.
21041 (mi_make_breakpoint_table): New procedure.
21042 (mi_create_breakpoint): Use mi_make_breakpoint
21043 and return the result.
21044 (mi_make_breakpoint): New procedure.
21045 (mi_build_kv_pairs): New procedure.
21046
21047 * gdb.mi/mi-break.exp: Remove unused globals,
21048 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
21049 All callers updated.
21050 * gdb.mi/mi-dprintf.exp: Use variable to track command
21051 number.
21052 Update all callers of mi_create_breakpoint and use
21053 mi_make_breakpoint_table.
21054 Remove any unused global variables.
21055 * gdb.mi/mi-nonstop.exp: Likewise.
21056 * gdb.mi/mi-nsintrall.exp: Likewise.
21057 * gdb.mi/mi-nsmoribund.exp: Likewise.
21058 * gdb.mi/mi-nsthrexec.exp: Likewise.
21059 * gdb.mi/mi-reverse.exp: Likewise.
21060 * gdb.mi/mi-simplerun.exp: Likewise.
21061 * gdb.mi/mi-stepn.exp: Likewise.
21062 * gdb.mi/mi-syn-frame.exp: Likewise.
21063 * gdb.mi/mi-until.exp: Likewise.
21064 * gdb.mi/mi-var-cp.exp: Likewise.
21065 * gdb.mi/mi-var-display.exp: Likewise.
21066 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
21067 * gdb.mi/mi2-var-child.exp: Likewise.
21068 * gdb.mi/mi-vla-c99.exp: Likewise.
21069 * lib/mi-support.exp: Likewise.
21070
21071 From Ian Lance Taylor <iant@cygnus.com>:
21072 * lib/gdb.exp (parse_args): New procedure.
21073
08351840
PA
210742014-04-23 Pedro Alves <palves@redhat.com>
21075
21076 * gdb.base/break-unload-file.c: New file.
21077 * gdb.base/break-unload-file.exp: New file.
21078 * gdb.base/sym-file-lib.c (baz): New function.
21079 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
21080 field.
21081 (load): Store the segment's mapped size.
21082 (unload): New function.
21083 (unload_shlib): New function.
21084 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
21085 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
21086 set a breakpoint at baz, and call it.
21087 * gdb.base/sym-file.exp: New tests for stale breakpoint
21088 instructions.
21089
076855f9
PA
210902014-04-23 Pedro Alves <palves@redhat.com>
21091
21092 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
21093 * gdb.base/hbreak-in-shr-unsupported.c: New file.
21094 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
21095 * gdb.base/hbreak-unmapped.c: New file.
21096 * gdb.base/hbreak-unmapped.exp: New file.
21097 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
21098 * lib/gdb.exp (gdb_is_target_remote): ... here.
21099
483805cf
PA
211002014-04-22 Pedro Alves <palves@redhat.com>
21101
21102 * gdb.base/consecutive-step-over.c: New file.
21103 * gdb.base/consecutive-step-over.exp: New file.
21104
06d97543
PA
211052014-04-22 Pedro Alves <palves@redhat.com>
21106
21107 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
21108 instead of send_gdb/gdb_expect.
21109
b4429ea2
YQ
211102014-04-22 Yao Qi <yao@codesourcery.com>
21111
21112 * lib/trace-support.exp (generate_tracefile): New procedure.
21113 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
21114 return 0.
21115 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
21116 if generate_tracefile returns 1.
21117
51d48146
PA
211182014-04-18 Tom Tromey <palves@redhat.com>
21119 Pedro alves <tromey@redhat.com>
21120
21121 PR backtrace/15558
21122 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
21123 with a backtrace limit.
21124 * gdb.python/py-frame-inline.exp: Test running to an inline
21125 function with a backtrace limit, and printing the newest frame.
21126 * gdb.python/py-frame-inline.c (main): Call f.
21127
bd1dce5f
MS
211282014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
21129
21130 * gdb.java/jnpe.exp: Drop srcdir from untested path.
21131
40d1a503
MS
211322014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
21133
21134 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
21135 Drop prefix from unsupported source file path.
21136
389b98f7
YQ
211372014-04-17 Yao Qi <yao@codesourcery.com>
21138
21139 * lib/gdb.exp (with_target_charset): New proc.
21140 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
21141 with_target_charset.
21142 (test_print_strings): Likewise.
21143 (test_repeat_bytes): Likewise.
21144 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
21145 for some tests.
21146
22869d73
KS
211472014-04-16 Keith Seitz <keiths@redhat.com>
21148
21149 PR gdb/15827
21150 * gdb.dwarf2/corrupt.c: New file.
21151 * gdb.dwarf2/corrupt.exp: New file.
21152
c4f87ca6
KS
211532014-04-16 Keith Seitz <keiths@redhat.com>
21154
21155 PR c++/16597
21156 * gdb.cp/namelessclass.cc: New file.
21157 * gdb.cp/namelessclass.exp: New file.
21158 * gdb.cp/namelessclass.S: New file.
21159
ab19de87
DE
211602014-04-16 Doug Evans <dje@google.com>
21161
21162 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
21163 Add comment.
21164 (gdbserver_default_get_comm_port): New function.
21165 (gdbserver_start): Check if board file provided
21166 "gdbserver,get_comm_port" and use it if so.
21167 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
21168 (gdb,socketport): Set to "stdio".
21169 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
21170 (stdio_gdbserver_template): Delete.
21171 (${board}_get_remote_address): Update.
21172 (${board}_build_remote_cmd): Delete.
21173 (${board}_get_comm_port): New function.
21174 (${board}_spawn): Update.
21175 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
21176 Delete.
21177 (${board}_get_remote_address): Update.
21178 (${board}_get_comm_port): New function.
21179
fc98a809
AB
211802014-04-16 Andrew Burgess <aburgess@broadcom.com>
21181
21182 * gdb.base/memattr.exp: Improve regexps to handle memory regions
21183 appearing in any order.
21184
87fd9e6e
DE
211852014-04-15 Doug Evans <dje@google.com>
21186
21187 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
21188 uninitialized value of "description".
21189
099fc3ea
KS
211902014-04-15 Keith Seitz <keiths@redhat.com>
21191
21192 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
21193 Remove unused globals.
21194 (test_running_the_program): Likewise.
21195 (test_controlled_execution): Likewise.
21196 (test_controlling_breakpoints): Likewise.
21197 (test_program_termination): Likewise.
21198
5da151d4
KS
211992014-04-15 Keith Seitz <keiths@redhat.com>
21200
21201 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
21202 unused globals.
21203 (test_rbreak_creation_and_listing): Likewise.
21204 (test_ignore_count): Likewise.
21205 (test_error): Likewise.
21206
35e5d2f0
PA
212072014-04-15 Pedro Alves <palves@redhat.com>
21208
21209 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
21210 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
21211 sym-file-loader.c.
21212 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
21213 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
21214 to sym-file-loader.c.
21215 (struct library): Forward declare.
21216 (load_shlib, lookup_function): Change prototypes.
21217 (find_shstrtab, find_strtab, find_shdr, find_symtab)
21218 (translate_offset): Remove declarations.
21219 (get_text_addr): New declaration.
21220 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
21221 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
21222 sym-file-loader.h.
21223 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
21224 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
21225 here from sym-file-loader.h.
21226 (struct library): New structure.
21227 (load_shlib, lookup_function): Change prototypes and adjust to
21228 work with a struct library.
21229 (find_shstrtab, find_strtab, find_shdr, find_symtab)
21230 (translate_offset): Make static.
21231 (get_text_addr): New function.
21232 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
21233
eb4c1710
PA
212342014-04-15 Pedro Alves <palves@redhat.com>
21235
21236 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
21237
2d1baf52
PA
212382014-04-15 Pedro Alves <palves@redhat.com>
21239
21240 * gdb.base/sym-file-loader.c: Include <limits.h>.
21241 (SELF_LINK): New define.
21242 (get_origin): New function.
21243 (load_shlib): Use it.
21244 * gdb.base/sym-file.exp: Don't early return if the target is
21245 remote. Use runto_main, and issue fail is that fails. Use
21246 gdb_load_shlibs.
21247 (shlib_name): Delete.
21248 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
21249
7dd6df01
PA
212502014-04-15 Pedro Alves <palves@redhat.com>
21251
21252 * gdb.base/sym-file.exp: Remove regex characters from test
21253 message. Don't refer to breakpoint numbers in test messages.
21254
b50c8614
KS
212552014-04-14 Keith Seitz <keiths@redhat.com>
21256
21257 PR c++/16253
21258 * gdb.cp/var-tag.cc: New file.
21259 * gdb.cp/var-tag.exp: New file.
21260 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
21261 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
21262 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
21263 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
21264
3d567982
TT
212652014-04-14 Tom Tromey <tromey@redhat.com>
21266
21267 * gdb.cp/classes.exp (test_enums): Handle underlying type.
21268 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
21269 type.
21270 * gdb.cp/enum-class.exp: New file.
21271 * gdb.cp/enum-class.cc: New file.
21272
0626fc76
TT
212732014-04-14 Tom Tromey <tromey@redhat.com>
21274
21275 * gdb.dwarf2/enum-type.exp: New file.
21276
dca325b3
SA
212772014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21278
21279 * gdb.mi/mi-vla-c99.exp: New file.
21280 * gdb.mi/vla.c: New file.
21281
5854b38a
SA
212822014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21283
21284 * gdb.base/vla-datatypes.c: New file.
21285 * gdb.base/vla-datatypes.exp: New file.
21286
463bb957
SA
212872014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21288
21289 * gdb.base/vla-ptr.c: New file.
21290 * gdb.base/vla-ptr.exp: New file.
21291
3dd170be
SA
212922014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21293
21294 * gdb.dwarf2/count.exp: New file.
21295
5ecaaa66
SA
212962014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21297
21298 * gdb.base/vla-sideeffect.c: New file.
21299 * gdb.base/vla-sideeffect.exp: New file.
21300
41f1ada5
DB
213012014-04-14 David Blaikie <dblaikie@gmail.com>
21302
21303 * gdb.mi/non-stop.c: Add return value for non-void function return
21304 statement.
21305 * gdb.threads/staticthreads.c: Ditto.
21306
0be03e84
DE
213072014-04-12 Siva Chandra Reddy <sivachandra@google.com>
21308 Doug Evans <xdje42@gmail.com>
21309
21310 * gdb.guile/scm-value.c: Improve test case.
21311 * gdb.guile/scm-value.exp: Add new test.
21312
f180a1fb
DB
213132014-04-11 David Blaikie <dblaikie@gmail.com>
21314
21315 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
21316 override Clang's default.
21317
6b662e19
JB
213182014-04-11 Joel Brobecker <brobecker@adacore.com>
21319
21320 Revert the following changes (regressions):
21321
21322 * gdb.base/vla-sideeffect.c: New file.
21323 * gdb.base/vla-sideeffect.exp: New file.
21324
21325 * gdb.dwarf2/count.exp: New file.
21326
21327 * gdb.base/vla-multi.c: New file.
21328 * gdb.base/vla-multi.exp: New file.
21329
21330 * gdb.base/vla-ptr.c: New file.
21331 * gdb.base/vla-ptr.exp: New file.
21332
21333 * gdb.base/vla-datatypes.c: New file.
21334 * gdb.base/vla-datatypes.exp: New file.
21335
21336 * gdb.mi/mi-vla-c99.exp: New file.
21337 * gdb.mi/vla.c: New file.
21338
245a5f0b
KS
213392014-04-11 Keith Seitz <keiths@redhat.com>
21340
21341 PR c++/16675
21342 * gdb.cp/cpsizeof.exp: New file.
21343 * gdb.cp/cpsizeof.cc: New file.
21344
58a84dcf
SA
213452014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21346
191a8a90
JB
21347 * gdb.mi/mi-vla-c99.exp: New file.
21348 * gdb.mi/vla.c: New file.
58a84dcf 21349
c8655f75
SA
213502014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21351
21352 * gdb.base/vla-datatypes.c: New file.
21353 * gdb.base/vla-datatypes.exp: New file.
21354
024e13b4
SA
213552014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21356
21357 * gdb.base/vla-ptr.c: New file.
21358 * gdb.base/vla-ptr.exp: New file.
21359
1a237e0e
SA
213602014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21361
21362 * gdb.base/vla-multi.c: New file.
21363 * gdb.base/vla-multi.exp: New file.
21364
504f3432
SA
213652014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21366
21367 * gdb.dwarf2/count.exp: New file.
21368
3bce8237
SA
213692014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21370
191a8a90
JB
21371 * gdb.base/vla-sideeffect.c: New file.
21372 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 21373
322f9c21
YQ
213742014-04-11 Yao Qi <yao@codesourcery.com>
21375
21376 * gdb.base/completion.exp: Check file exists before running tests
21377 on file completion.
21378
d708bcd1
PA
213792014-04-10 Pedro Alves <palves@redhat.com>
21380
21381 * gdb.base/cond-eval-mode.c: New file.
21382 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
21383 prepare_for_testing to build the new file. Check result of
21384 runto_main.
21385 (test_break, test_watch): New procedures.
21386 (top level): Use them.
21387
ae1d2761
PM
213882014-04-08 Pierre Muller <muller@sourceware.org>
21389
21390 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
21391 Ctrl-V use for mingw hosts.
21392
7af389b8
SC
213932014-04-07 Siva Chandra Reddy <sivachandra@google.com>
21394
21395 * gdb.python/py-value.c: Improve test case.
21396 * gdb.python/py-value.exp: Add new test.
21397
5e703181
DE
213982014-04-07 David Blaikie <dblaikie@gmail.com>
21399
21400 * lib/compiler.c: Identify the clang compiler.
21401 * lib/compiler.cc: Ditto.
21402
9810b410
YQ
214032014-04-03 Yao Qi <yao@codesourcery.com>
21404
21405 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
21406
98d1b8dc
AB
214072014-04-01 Anton Blanchard <anton@samba.org>
21408
21409 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
21410 messages unique.
21411
3114cea1
AB
214122014-04-01 Anton Blanchard <anton@samba.org>
21413
21414 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
21415 prepare_for_testing.
21416
62f7182c
AB
214172014-04-01 Anton Blanchard <anton@samba.org>
21418
21419 * gdb.arch/ppc64-atomic-inst.c: Remove.
21420 * gdb.arch/ppc64-atomic-inst.S: New file.
21421 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
21422
770e7fc7
DE
214232014-03-31 Doug Evans <dje@google.com>
21424
21425 * gdb.base/print-symbol-loading-lib.c: New file.
21426 * gdb.base/print-symbol-loading-main.c: New file.
21427 * gdb.base/print-symbol-loading.exp: New file.
21428
46e2bafa
YQ
214292014-03-31 Yao Qi <yao@codesourcery.com>
21430
21431 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
21432
8776cfe9
JB
214332014-03-28 Joel Brobecker <brobecker@adacore.com>
21434
21435 * gdb.ada/mi_dyn_arr: New testcase.
21436
5d1ef361
DE
214372014-03-27 Doug Evans <dje@google.com>
21438
21439 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
21440
b5bee914
YQ
214412014-03-27 Yao Qi <yao@codesourcery.com>
21442
21443 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
21444 if target is nios2-*-*.
21445
0d4d0e77
YQ
214462014-03-26 Yao Qi <yao@codesourcery.com>
21447
21448 * lib/gdb.exp (readline_is_used): New proc.
21449 * gdb.base/completion.exp: Move tests on command complete up.
21450 Skip the rest of tests if readline is not used.
21451 * gdb.ada/complete.exp: Skp the test if readline is not
21452 used.
21453 * gdb.base/filesym.exp: Likewise.
21454 * gdb.base/macscp.exp: Likewise.
21455 * gdb.base/readline-ask.exp: Likewise.
21456 * gdb.base/readline.exp: Likewise.
21457 * gdb.python/py-cmd.exp: Likewise.
21458 * gdb.trace/tfile.exp: Likewise.
21459
29361eee
YQ
214602014-03-26 Yao Qi <yao@codesourcery.com>
21461
21462 * gdb.base/macscp.exp: Fix code format issues.
21463
bc9a5525
UW
214642014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
21465
21466 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
21467 * gdb.asm/powerpc64le.inc: New file.
21468
d3839ede
PA
214692014-03-25 Pedro Alves <palves@redhat.com>
21470 Doug Evans <dje@google.com>
21471
21472 * gdb.base/source-execution.c: New file.
21473 * gdb.base/source-execution.exp: New file.
21474 * gdb.base/source-execution.gdb: New file.
21475
01672a57
DE
214762014-03-24 Doug Evans <dje@google.com>
21477
21478 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
21479 using fission.
21480
88bbeca9
HZ
214812014-03-24 Hui Zhu <hui@codesourcery.com>
21482 Pedro Alves <palves@redhat.com>
21483
21484 PR breakpoints/16101
21485 * gdb.base/dprintf.exp: Use unsupported rather than changing the
21486 test pass/fail messages. Detect missing support for dprintf when
21487 breakpoints are actually inserted.
21488 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
21489 breakpoints are actually inserted.
21490 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
21491 fails.
21492
d2348791
JK
214932014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
21494
21495 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
21496
feef67ab
DE
214972014-03-22 Doug Evans <xdje42@gmail.com>
21498
21499 * gdb.python/python.exp (python not supported): Verify multi-line
21500 python command issues an error.
25d743f9 21501 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 21502 guile command issues an error.
feef67ab 21503
ecebef6a
MR
215042014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
21505
21506 * gdb.threads/thread-specific.exp: Handle the lack of usable
21507 $this_breakpoint and $this_thread.
21508
ccdd1909
HZ
215092014-03-21 Hui Zhu <hui@codesourcery.com>
21510
21511 * gdb.base/attach.exp (do_command_attach_tests): New.
21512
beb460e8
PA
215132014-03-20 Tom Tromey <tromey@redhat.com>
21514 Pedro Alves <palves@redhat.com>
21515
21516 PR cli/15718
21517 * gdb.base/condbreak-call-false.c: New file.
21518 * gdb.base/condbreak-call-false.exp: New file.
21519
40acf43a
PA
215202014-03-20 Pedro Alves <palves@redhat.com>
21521
21522 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
21523 Delete.
21524 (block_signals, unblock_signals): Delete.
21525 (child_function_2, main): Remove references to deleted variable
21526 and functions.
21527
9f5e1e02
PA
215282014-03-20 Pedro Alves <palves@redhat.com>
21529
21530 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
21531 Use pthread_kill to signal thread 2.
21532 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21533 Adjust to make the test send itself a signal rather than using the
21534 host's "kill" command.
21535
99619bea
PA
215362014-03-20 Pedro Alves <palves@redhat.com>
21537
21538 * gdb.threads/multiple-step-overs.c: New file.
21539 * gdb.threads/multiple-step-overs.exp: New file.
21540 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21541 Adjust expected infrun debug output.
21542
2adfaa28
PA
215432014-03-20 Pedro Alves <palves@redhat.com>
21544
21545 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
21546 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
21547
31e77af2
PA
215482014-03-20 Pedro Alves <palves@redhat.com>
21549
21550 PR breakpoints/7143
21551 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
21552 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
21553 of gdb_test_multiple.
21554 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
21555 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
21556
b9f437de
PA
215572014-03-20 Pedro Alves <palves@redhat.com>
21558
21559 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
21560 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
21561
05adc73e
PA
215622014-03-19 Pedro Alves <palves@redhat.com>
21563
21564 * gdb.base/async.exp: Remove early return.
21565
6048b950
PA
215662014-03-19 Pedro Alves <palves@redhat.com>
21567
21568 * gdb.base/async.exp (step& tests): Pass explicit test messages.
21569
8bcfb00a
PA
215702014-03-19 Pedro Alves <palves@redhat.com>
21571
21572 * gdb.base/async.exp (test_background): Expect \r\n after
21573 "completed." in the fail pattern.
21574
884e37dc
PA
215752014-03-19 Pedro Alves <palves@redhat.com>
21576
21577 * gdb.base/async.exp (test_background): New procedure.
21578 Use it for all background execution command tests.
21579
148e57e2
PA
215802014-03-19 Pedro Alves <palves@redhat.com>
21581
21582 * gdb.base/async.exp: Use prepare_for_testing.
21583
f48088c7
PA
215842014-03-19 Pedro Alves <palves@redhat.com>
21585
21586 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
21587 the same line.
21588
e2f6c966
PA
215892014-03-19 Pedro Alves <palves@redhat.com>
21590
21591 * gdb.base/async.c (main): Add "jump here" and "until here" line
21592 marker comments.
21593 * gdb.base/async.exp (jump_here): New global.
21594 (jump& test): Use it.
21595 (until_here): New global.
21596 (until& test): Use it.
21597
c30568d4
PA
215982014-03-19 Pedro Alves <palves@redhat.com>
21599
21600 * gdb.base/async.exp: Don't frob gdb_protocol.
21601
0172b6a7
DE
216022014-03-18 Doug Evans <xdje42@gmail.com>
21603
21604 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
21605 Fix spelling of exec-done-display.
21606
06c868a8
JK
216072014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
21608
21609 PR gdb/15358
21610 * gdb.base/gdb-sigterm.c: New file.
21611 * gdb.base/gdb-sigterm.exp: New file.
21612
0c7e1a46
PA
216132014-03-18 Pedro Alves <palves@redhat.com>
21614
21615 PR gdb/13860
21616 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
21617 * lib/mi-support.exp (mi_expect_stop): Add special handling for
21618 solib-event.
21619
f7c77d93
JB
216202014-03-17 Joel Brobecker <brobecker@adacore.com>
21621
21622 * gdb.ada/pckd_arr_ren: New testcase.
21623
5a1e8c7a
DE
216242014-03-13 Doug Evans <xdje42@gmail.com>
21625
21626 PR guile/16612
21627 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
21628 collect after discarding symbols.
21629
350e1a76
DE
216302014-03-13 Ludovic Courtès <ludo@gnu.org>
21631 Doug Evans <xdje42@gmail.com>
21632
21633 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
21634 to history survives a gc.
21635
a69900ae
PA
216362014-03-13 Pedro Alves <palves@redhat.com>
21637
21638 * gdb.base/default.exp: Don't test "target procfs".
21639
5db9f0bd
PA
216402014-03-13 Pedro Alves <palves@redhat.com>
21641
21642 * gdb.base/default.exp: Update "target child" and "target procfs"
21643 tests to not expect "Unix".
21644
b3ccfe11
TT
216452014-03-12 Tom Tromey <tromey@redhat.com>
21646
21647 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
21648 New procs. Add target-async tests.
21649 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
21650 Add target-async tests.
21651
646f4417
AA
216522014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21653
21654 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
21655 'func_start' and 'func_end' for the beginning and end of the
21656 function code, respectively.
21657 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
21658 'func_end' instead of 'func' and 'main'.
21659
288c211f
AA
216602014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21661
21662 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
21663 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
21664 generate the debug info assembler source.
21665
e0c0f156
AA
216662014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21667
21668 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
21669 * gdb.dwarf2/arr-subrange.exp: Likewise.
21670 * gdb.dwarf2/dwz.exp: Likewise.
21671 * gdb.dwarf2/method-ptr.exp: Likewise.
21672 * gdb.dwarf2/missing-sig-type.exp: Likewise.
21673 * gdb.dwarf2/subrange.exp: Likewise.
21674 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
21675 * gdb.dwarf2/implptrpiece.exp: Likewise.
21676 * gdb.dwarf2/nostaticblock.exp: Likewise.
21677
0e5c4555
AA
216782014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21679
21680 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
21681 directory to absolute path name arguments.
21682
5ec18f2b
JG
216832014-03-10 Joel Brobecker <brobecker@adacore.com>
21684
21685 * gdb.ada/tagged_access: New testcase.
21686
847fc4f2
MM
216872014-03-07 Markus Metzger <markus.t.metzger@intel.com>
21688
21689 * gdb.btrace/data.exp: Update expected output.
21690
cc3da688
YQ
216912014-03-06 Yao Qi <yao@codesourcery.com>
21692
21693 * gdb.trace/pr16508.exp: New file.
21694
0f26cec1
PA
216952014-03-05 Pedro Alves <palves@redhat.com>
21696
21697 PR gdb/16575
21698 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
21699 procedure.
21700 (top level): Adjust to use it. Add tests that exercise breakpoint
21701 interaction with the code-cache.
21702
7a5a839f
LC
217032014-02-26 Ludovic Courtès <ludo@gnu.org>
21704
21705 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
21706 test for 'history-append!'.
21707
31aa7e4e
JB
217082014-02-26 Joel Brobecker <brobecker@adacore.com>
21709
21710 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
21711 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
21712 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
21713 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
21714 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
21715 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
21716
1b588015
JB
217172014-02-26 Joel Brobecker <brobecker@adacore.com>
21718
21719 * testsuite/gdb.python/py-pp-re-notag.c: New file.
21720 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
21721 * testsuite/gdb.python/py-pp-re-notag.p: New file.
21722
55426c9d
JB
217232014-02-26 Joel Brobecker <brobecker@adacore.com>
21724
21725 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
21726
dc53a7ad
JB
217272014-02-26 Joel Brobecker <brobecker@adacore.com>
21728
21729 * gdb.dwarf2/arr-stride.c: New file.
21730 * gdb.dwarf2/arr-stride.exp: New file.
21731
12ab52e9
PA
217322014-02-26 Pedro Alves <palves@redhat.com>
21733
21734 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
21735 that won't ever trigger. Make sure that GDB reports the correct
21736 breakpoint that caused the stop.
21737
849c862e
JK
217382014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
21739
21740 PR gdb/16626
21741 * gdb.base/auto-load-script: New file.
21742 * gdb.base/auto-load.c: New file.
21743 * gdb.base/auto-load.exp: New file.
21744
71b7d793
JK
21745 PR gdb/16626
21746 * gdb.base/auto-load.exp: Fix out-of-srctree run.
21747
e2f0d509
JK
217482014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
21749
21750 Fix dw2-icycle.exp -fsanitize=address GDB crash.
21751 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
21752
50cc37c8
DE
217532014-02-24 Doug Evans <dje@google.com>
21754
21755 * lib/gdb.exp (run_on_host): Log error output if program fails.
21756
ea4758f2
PA
217572014-02-21 Pedro Alves <palves@redhat.com>
21758
21759 * gdb.threads/step-after-sr-lock.c: Rename to ...
21760 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
21761 * gdb.threads/step-after-sr-lock.exp: Rename to ...
21762 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21763 ... this.
21764
d7b30f67
SDJ
217652014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
21766
21767 PR tdep/16397
21768 * gdb.arch/amd64-stap-special-operands.exp: New file.
21769 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
21770 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
21771 * gdb.arch/amd64-stap-triplet.S: Likewise.
21772 * gdb.arch/amd64-stap-triplet.c: Likewise.
21773
83deb43f
JB
217742014-02-20 Joel Brobecker <brobecker@adacore.com>
21775
21776 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
21777 in .section pseudo-op.
21778
adde2bff
DE
217792014-02-20 lin zuojian <manjian2006@gmail.com>
21780 Joel Brobecker <brobecker@adacore.com>
21781 Doug Evans <xdje42@gmail.com>
21782
21783 PR symtab/16581
21784 * gdb.dwarf2/dw2-icycle.S: New file.
21785 * gdb.dwarf2/dw2-icycle.c: New file.
21786 * gdb.dwarf2/dw2-icycle.exp: New file.
21787
f7bd0f78
SC
217882014-02-19 Siva Chandra Reddy <sivachandra@google.com>
21789
21790 * gdb.python/py-value-cc.cc: Improve test case to enable testing
21791 operations on gdb.Value objects.
21792 * gdb.python/py-value-cc.exp: Add new test to test operations on
21793 gdb.Value objects.
21794
c17ef0d5
DE
217952014-02-18 Doug Evans <dje@google.com>
21796
21797 * Makefile.in (TESTS): New variable.
21798 (expanded_tests, expanded_tests_or_none): New variables
21799 (check-single): Pass $(expanded_tests_or_none) to runtest.
21800 (check-parallel): Only run tests in $(TESTS) if non-empty.
21801 (check/no-matching-tests-found): New rule.
21802 * README: Document TESTS makefile variable.
21803
5dd3176f
DE
218042014-02-18 Doug Evans <dje@google.com>
21805
21806 * Makefile.in (check-parallel): rm -rf outputs temp.
21807
0b10be4f
JK
218082014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21809
21810 Fix "ERROR: no fileid for" in the testsuite.
21811 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
21812
85f224e7
DE
218132014-02-12 Doug Evans <dje@google.com>
21814
21815 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
21816 (MISCELLANEOUS): New variable.
21817 (clean): rm -rf $(MISCELLANEOUS).
21818 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
21819 dwp live in the same directory as symlinks, with each symlink pointed
21820 to a differently named file in a different directory.
21821
149b30ff
DE
218222014-02-11 Doug Evans <dje@google.com>
21823
21824 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
21825 of Tcl file commands.
21826
1dfdac32
MK
218272014-02-10 Mark Kettenis <kettenis@gnu.org>
21828
21829 * gdb.threads/step-after-sr-lock.exp: Avoid executing
21830 "kill -SIGUSR1 -1".
21831
aa4fb036
JB
218322014-02-10 Joel Brobecker <brobecker@adacore.com>
21833
21834 * gdb.ada/tick_length_array_enum_idx: New testcase.
21835
ed3ef339
DE
218362014-02-10 Doug Evans <xdje42@gmail.com>
21837
21838 * configure.ac (AC_OUTPUT): Add gdb.guile.
21839 * configure: Regenerate.
21840 * lib/gdb-guile.exp: New file.
21841 * lib/gdb.exp (get_target_charset): New function.
21842 * gdb.base/help.exp: Update expected output from "apropos apropos".
21843 * gdb.guile/Makefile.in: New file.
21844 * gdb.guile/guile.exp: New file.
21845 * gdb.guile/scm-arch.c: New file.
21846 * gdb.guile/scm-arch.exp: New file.
21847 * gdb.guile/scm-block.c: New file.
21848 * gdb.guile/scm-block.exp: New file.
21849 * gdb.guile/scm-breakpoint.c: New file.
21850 * gdb.guile/scm-breakpoint.exp: New file.
21851 * gdb.guile/scm-disasm.c: New file.
21852 * gdb.guile/scm-disasm.exp: New file.
21853 * gdb.guile/scm-equal.c: New file.
21854 * gdb.guile/scm-equal.exp: New file.
21855 * gdb.guile/scm-error.exp: New file.
21856 * gdb.guile/scm-error.scm: New file.
21857 * gdb.guile/scm-frame-args.c: New file.
21858 * gdb.guile/scm-frame-args.exp: New file.
21859 * gdb.guile/scm-frame-args.scm: New file.
21860 * gdb.guile/scm-frame-inline.c: New file.
21861 * gdb.guile/scm-frame-inline.exp: New file.
21862 * gdb.guile/scm-frame.c: New file.
21863 * gdb.guile/scm-frame.exp: New file.
21864 * gdb.guile/scm-generics.exp: New file.
21865 * gdb.guile/scm-gsmob.exp: New file.
21866 * gdb.guile/scm-iterator.c: New file.
21867 * gdb.guile/scm-iterator.exp: New file.
21868 * gdb.guile/scm-math.c: New file.
21869 * gdb.guile/scm-math.exp: New file.
21870 * gdb.guile/scm-objfile-script-gdb.in: New file.
21871 * gdb.guile/scm-objfile-script.c: New file.
21872 * gdb.guile/scm-objfile-script.exp: New file.
21873 * gdb.guile/scm-objfile.c: New file.
21874 * gdb.guile/scm-objfile.exp: New file.
21875 * gdb.guile/scm-ports.exp: New file.
21876 * gdb.guile/scm-pretty-print.c: New file.
21877 * gdb.guile/scm-pretty-print.exp: New file.
21878 * gdb.guile/scm-pretty-print.scm: New file.
21879 * gdb.guile/scm-section-script.c: New file.
21880 * gdb.guile/scm-section-script.exp: New file.
21881 * gdb.guile/scm-section-script.scm: New file.
21882 * gdb.guile/scm-symbol.c: New file.
21883 * gdb.guile/scm-symbol.exp: New file.
21884 * gdb.guile/scm-symtab-2.c: New file.
21885 * gdb.guile/scm-symtab.c: New file.
21886 * gdb.guile/scm-symtab.exp: New file.
21887 * gdb.guile/scm-type.c: New file.
21888 * gdb.guile/scm-type.exp: New file.
21889 * gdb.guile/scm-value-cc.cc: New file.
21890 * gdb.guile/scm-value-cc.exp: New file.
21891 * gdb.guile/scm-value.c: New file.
21892 * gdb.guile/scm-value.exp: New file.
21893 * gdb.guile/source2.scm: New file.
21894 * gdb.guile/types-module.cc: New file.
21895 * gdb.guile/types-module.exp: New file.
21896
7026a7c1
YQ
218972014-02-10 Yao Qi <yao@codesourcery.com>
21898
21899 PR testsuite/16543
21900 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
21901 * configure: Regenerated.
21902 * Makefile.in: New file.
21903
6c466447
AS
219042014-02-08 Andreas Schwab <schwab@linux-m68k.org>
21905
21906 * gdb.python/py-framefilter.exp: Fix typo.
21907
6e854735
YQ
219082014-02-08 Yao Qi <yao@codesourcery.com>
21909
21910 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
21911 that no =breakpoint-modified is emitted when breakpoints are
21912 modified through MI commands.
21913
d137e6dc
PA
219142014-02-07 Pedro Alves <pedro@codesourcery.com>
21915 Pedro Alves <palves@redhat.com>
21916
21917 * gdb.threads/step-after-sr-lock.c: New file.
21918 * gdb.threads/step-after-sr-lock.exp: New file.
21919
b5ee5a50
PA
219202014-02-07 Pedro Alves <palves@redhat.com>
21921
21922 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
21923
3c77faf3
JK
219242014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
21925
21926 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
21927 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
21928
6dddc817
DE
219292014-02-06 Doug Evans <xdje42@gmail.com>
21930
21931 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
21932 output.
21933
21934 * gdb.gdb/python-interrupts.exp: New file.
21935
de7b2893
YQ
219362014-02-05 Yao Qi <yao@codesourcery.com>
21937
21938 * gdb.trace/report.exp (use_collected_data): Test the output
21939 of "info threads" and "info inferiors".
21940
66d032ac
YQ
219412014-02-05 Yao Qi <yao@codesourcery.com>
21942
21943 Revert this patch:
21944
21945 2013-05-24 Yao Qi <yao@codesourcery.com>
21946
21947 * gdb.trace/tfile.exp: Test inferior and thread.
21948
591a12a1
UW
219492014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21950
21951 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
21952 on a function.
21953 * gdb.base/step-bt.c: Call hello via function pointer to make
21954 sure its first instruction is executed on powerpc64le-linux.
21955
0ff3e01f
UW
219562014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21957
21958 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
21959
084ee545
UW
219602014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21961
21962 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
21963 of the test patterns for use on little-endian systems.
21964
6ed14ff3
UW
219652014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21966
21967 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
21968 (decimal_vector): Fix for little-endian.
21969
401e27fd
JM
219702014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
21971
21972 * gdb.arch/sparc-sysstep.exp: New file.
21973 * gdb.arch/sparc-sysstep.c: Likewise.
21974
21975 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
21976
8b924729
EBM
219772014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21978
21979 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
21980
fb151210
JB
219812014-01-23 Tom Tromey <tromey@redhat.com>
21982
21983 * gdb.ada/array_char_idx: New testcase.
21984
0740f8d8
TT
219852014-01-23 Tom Tromey <tromey@redhat.com>
21986
21987 PR python/16487:
21988 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
21989 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
21990 classes.
21991
21909fa1
TT
219922014-01-23 Tom Tromey <tromey@redhat.com>
21993
21994 PR python/16491:
21995 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
21996 string from an inferior frame.
21997 * gdb.python/py-framefilter-mi.exp: Update.
21998
87ce2a04
DE
219992014-01-22 Doug Evans <dje@google.com>
22000
22001 * gdb.server/server-mon.exp: Add tests for "set debug-format".
22002
237b092b
AA
220032014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22004
22005 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
22006
d674a709
AA
220072014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22008
22009 * gdb.trace/entry-values.exp: Remove excess space character from
22010 regex patterns. Handle s390 call instruction.
22011
20fa3390
AA
220122014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22013
22014 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
22015 define "*_start" label. Make "name" static.
22016 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
22017 ${name} by references to ${name}_start.
22018
78466714
AA
220192014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22020
22021 * gdb.base/info-macros.exp: Remove "debug" from the compile
22022 options.
22023
ec9f644a
IB
220242014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22025
22026 * gdb.dlang/demangle.exp: New file.
22027
94b1b47e
IB
220282014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22029
22030 * gdb.dlang/primitive-types.exp: New file.
22031
7f420862
IB
220322014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22033
22034 * configure.ac: Create gdb.dlang/Makefile.
22035 * configure: Regenerate.
22036 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
22037 * gdb.dlang/Makefile.in: New file.
22038 * lib/d-support.exp: New file.
22039 * lib/gdb.exp (skip_d_tests): New proc.
22040
52834460
MM
220412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22042
22043 * gdb.btrace/delta.exp: Check reverse stepi.
22044 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
22045 * gdb.btrace/finish.exp: New.
22046 * gdb.btrace/next.exp: New.
22047 * gdb.btrace/nexti.exp: New.
22048 * gdb.btrace/record_goto.c: Add comments.
22049 * gdb.btrace/step.exp: New.
22050 * gdb.btrace/stepi.exp: New.
22051 * gdb.btrace/multi-thread-step.c: New.
22052 * gdb.btrace/multi-thread-step.exp: New.
22053 * gdb.btrace/rn-dl-bind.c: New.
22054 * gdb.btrace/rn-dl-bind.exp: New.
22055 * gdb.btrace/data.c: New.
22056 * gdb.btrace/data.exp: New.
22057 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
22058
6e07b1d2
MM
220592014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22060
22061 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
22062 * gdb.btrace/exception.exp: Update.
22063 * gdb.btrace/instruction_history.exp: Update.
22064 * gdb.btrace/record_goto.exp: Update.
22065 * gdb.btrace/tailcall.exp: Update.
22066 * gdb.btrace/unknown_functions.exp: Update.
22067 * gdb.btrace/delta.exp: New.
22068
0b722aec
MM
220692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22070
22071 * gdb.btrace/record_goto.exp: Add backtrace test.
22072 * gdb.btrace/tailcall.exp: Add backtrace test.
22073
066ce621
MM
220742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22075
22076 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
22077 * gdb.btrace/record_goto.c: New.
22078 * gdb.btrace/record_goto.exp: New.
22079 * gdb.btrace/x86-record_goto.S: New.
22080
0688d04e
MM
220812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22082
22083 * gdb.btrace/function_call_history.exp: Update tests.
22084 * gdb.btrace/instruction_history.exp: Update tests.
22085
8710b709
MM
220862014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22087
22088 * gdb.btrace/function_call_history.exp: Fix expected field
22089 order for "record function-call-history".
22090 Add new tests for "record function-call-history /c".
22091 * gdb.btrace/exception.cc: New.
22092 * gdb.btrace/exception.exp: New.
22093 * gdb.btrace/tailcall.exp: New.
22094 * gdb.btrace/x86-tailcall.S: New.
22095 * gdb.btrace/x86-tailcall.c: New.
22096 * gdb.btrace/unknown_functions.c: New.
22097 * gdb.btrace/unknown_functions.exp: New.
22098 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
22099
5de9129b
MM
221002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22101
22102 * gdb.btrace/instruction_history.exp: Update.
22103 * gdb.btrace/function_call_history.exp: Update.
22104
23a7fe75
MM
221052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22106
22107 * gdb.btrace/function_call_history.exp: Fix expected function
22108 trace.
22109 * gdb.btrace/instruction_history.exp: Initialize traced.
22110 Remove traced_functions.
22111
724c7dd8
MM
221122014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22113
22114 * gdb.btrace/function_call_history.exp: Update
22115 * gdb.btrace/instruction_history.exp: Update.
22116
6d78d93b
MM
221172014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22118
22119 * gdb.btrace/enable.exp: Update expected text.
22120
93a360cc
OJ
221212014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
22122
22123 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
22124 bytes.
22125
3772b53f
MR
221262014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
22127
22128 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
22129
596662fa
OJ
221302014-01-15 Omair Javaid <omair.javaid@linaro.org>
22131
22132 * lib/gdb.exp (supports_process_record): Return true for
22133 arm*-linux*. (supports_reverse): Likewise.
22134
b5b08fb4
SC
221352014-01-13 Siva Chandra Reddy <sivachandra@google.com>
22136
22137 PR python/15464
22138 PR python/16113
22139 * gdb.python/py-type.c: Enhance test case.
22140 * gdb.python/py-value-cc.cc: Likewise
22141 * gdb.python/py-type.exp: Add new tests.
22142 * gdb.python/py-value-cc.exp: Likewise
22143
52d7fb13
AA
221442014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
22145 Pedro Alves <palves@redhat.com>
22146
22147 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
22148 Make "name" extern.
22149 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
22150 references to ${name}_start by references to ${name}.
22151
a2cd8cfe
JB
221522014-01-10 Joel Brobecker <brobecker@adacore.com>
22153
22154 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
22155
4e23fced
JB
221562014-01-10 Joel Brobecker <brobecker@adacore.com>
22157
22158 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
22159
c6a9e42c
PA
221602014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
22161 Pedro Alves <palves@redhat.com>
22162
22163 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 22164 mi_gdb_target_load.
c6a9e42c 22165
b7ea362b
PA
221662014-01-08 Pedro Alves <palves@redhat.com>
22167
22168 * gdb.threads/reconnect-signal.c: New file.
22169 * gdb.threads/reconnect-signal.exp: New file.
22170
5e3f4fab
EBM
221712014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
22172
22173 * gdb.base/source-dir.exp: New file.
22174
79301218
JB
221752014-01-07 Joel Brobecker <brobecker@adacore.com>
22176
22177 * gdb.ada/mi_interface: New testcase.
22178
8e355c5d
JB
221792014-01-07 Joel Brobecker <brobecker@adacore.com>
22180
22181 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
22182 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
22183 gdb.ada/pp-rec-component/pck.ads: New files.
22184
c0d48811
JB
221852014-01-07 Joel Brobecker <brobecker@adacore.com>
22186
22187 * gdb.python/py-pp-integral.c: New file.
22188 * gdb.python/py-pp-integral.py: New file.
22189 * gdb.python/py-pp-integral.exp: New file.
22190
17b609c3 22191For older changes see ChangeLog-1993-2013.
c906108c 22192\f
8d8cb839
EZ
22193;; Local Variables:
22194;; mode: change-log
22195;; left-margin: 8
22196;; fill-column: 74
22197;; version-control: never
22198;; End:
902f2ccb 22199
b811d2c2 22200 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
22201 Copying and distribution of this file, with or without modification,
22202 are permitted provided the copyright notice and this notice are preserved.