[gdb/symtab] Fix language of frame without debug info
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
1b00ef06
TV
12020-10-28 Tom de Vries <tdevries@suse.de>
2
3 PR symtab/26772
4 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
5 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
6
364bb903
TV
72020-10-28 Tom de Vries <tdevries@suse.de>
8
9 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
10 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
11 complaint during file command for -readnow.
12
445a033f
TV
132020-10-28 Tom de Vries <tdevries@suse.de>
14
15 * gdb.cp/nsalias.exp: Fix typo in test name.
16
fdd67a42
TV
172020-10-28 Tom de Vries <tdevries@suse.de>
18
19 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
20
706baf4c
TV
212020-10-28 Tom de Vries <tdevries@suse.de>
22
23 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
24 -readnow.
25
b448cca5
TV
262020-10-27 Tom de Vries <tdevries@suse.de>
27
28 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
29
5868da03
TV
302020-10-27 Tom de Vries <tdevries@suse.de>
31
32 * gdb.base/maint.exp: Update for -readnow.
33
06db6ec3
TV
342020-10-27 Tom de Vries <tdevries@suse.de>
35
36 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
37 -readnow.
38
934a1764
GB
392020-10-14 Gary Benson <gbenson@redhat.com>
40
41 * gdb.python/py-format-string.exp (test_deref_refs): Treat
42 "_vptr$Base" as correct, in addition to "_vptr.Base".
43 (test_mixed): Likewise.
44
0bf21fbd
GB
452020-10-27 Gary Benson <gbenson@redhat.com>
46
47 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
48 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
49
b1d4d8d1
TBA
502020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
51
52 * gdb.base/condbreak.exp: Update the completion tests to
53 consider the '-force' flag.
54
bd24c5d6
TV
552020-10-27 Tom de Vries <tdevries@suse.de>
56
57 * gdb.base/list-ambiguous-readnow.exp: New file.
58
733d554a
TBA
592020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
60
61 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
62 the condition.
63 * gdb.linespec/cpcompletion.exp: Update to consider the
64 '-force-condition' keyword.
65 * gdb.linespec/explicit.exp: Ditto.
66 * lib/completion-support.exp: Ditto.
67
b5fa468f
TBA
682020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
69
70 * gdb.base/condbreak-multi-context.cc: New file.
71 * gdb.base/condbreak-multi-context.exp: New file.
72
b3247276
TT
732020-10-26 Tom Tromey <tom@tromey.com>
74
75 * lib/mi-support.exp (default_mi_gdb_start): Call
76 gdb_stdin_log_init.
77 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
78 subtract one from gdb_instances.
79 (gdb_stdin_log_write): Flush in_file.
80
1c47ec3e
TV
812020-10-26 Tom de Vries <tdevries@suse.de>
82
83 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
84
6390859c
TT
852020-10-26 Tom Tromey <tromey@adacore.com>
86
87 * gdb.ada/unsigned_range/foo.adb: New file.
88 * gdb.ada/unsigned_range/pack.adb: New file.
89 * gdb.ada/unsigned_range/pack.ads: New file.
90 * gdb.ada/unsigned_range.exp: New file.
91
55c3ad88
TV
922020-10-26 Tom de Vries <tdevries@suse.de>
93
94 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
95
1612c4bb
TV
962020-10-26 Tom de Vries <tdevries@suse.de>
97
98 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
99 for CU.
100 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
101
7d72802b
TV
1022020-10-23 Tom de Vries <tdevries@suse.de>
103
104 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
105 DW_FORM_string.
106 (Dwarf::_default_form): New proc.
107 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
108 guessed.
109
9476b583
TV
1102020-10-23 Tom de Vries <tdevries@suse.de>
111
112 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
113 * gdb.dwarf2/atomic-type.exp: Same.
114 * gdb.dwarf2/bad-regnum.exp: Same.
115 * gdb.dwarf2/cpp-linkage-name.exp: Same.
116 * gdb.dwarf2/dw2-align.exp: Same.
117 * gdb.dwarf2/dw2-bad-elf.exp: Same.
118 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
119 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
120 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
121 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
122 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
123 * gdb.dwarf2/enum-type.exp: Same.
124 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
125 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
126 * gdb.dwarf2/main-subprogram.exp: Same.
127 * gdb.dwarf2/missing-type-name.exp: Same.
128 * gdb.dwarf2/nonvar-access.exp: Same.
129 * gdb.dwarf2/typedef-void-finish.exp: Same.
130 * gdb.dwarf2/var-access.exp: Same.
131 * gdb.dwarf2/void-type.exp: Same.
132
4a636814
SM
1332020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
134
135 PR gdb/26693
136 * gdb.dwarf2/template-specification-full-name.exp: New test.
137
557fc257
LM
1382020-10-22 Luis Machado <luis.machado@linaro.org>
139
140 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
141 expected an offset from the function.
142 * gdb.base/msym-bp.exp (test): Likewise.
143
6b4c676c
AB
1442020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
145
146 * gdb.fortran/array-slices.exp: Add a new test.
147
98cec4f6
GB
1482020-10-21 Gary Benson <gbenson@redhat.com>
149
150 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
151 fullname test with Clang. Also expand comments generally.
152
ae86f581
TV
1532020-10-20 Tom de Vries <tdevries@suse.de>
154
155 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
156
8c161360
TV
1572020-10-20 Tom de Vries <tdevries@suse.de>
158
159 * gdb.dwarf2/arr-stride.c: Remove.
160 * gdb.dwarf2/arr-stride.exp: Use main.c.
161 * gdb.dwarf2/arr-subrange.c: Remove.
162 * gdb.dwarf2/arr-subrange.exp: Use main.c.
163 * gdb.dwarf2/bad-regnum.c: Remove.
164 * gdb.dwarf2/bad-regnum.exp: Use main.c.
165 * gdb.dwarf2/corrupt.c: Remove.
166 * gdb.dwarf2/corrupt.exp: Use main.c.
167 * gdb.dwarf2/dw2-bad-elf.c: Remove.
168 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
169 * gdb.dwarf2/dw2-icycle.c: Remove.
170 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
171 * gdb.dwarf2/formdata16.c: Remove.
172 * gdb.dwarf2/formdata16.exp: Use main.c.
173 * gdb.dwarf2/implptrconst.c: Remove.
174 * gdb.dwarf2/implptrconst.exp: Use main.c.
175 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
176 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
177 * gdb.dwarf2/opaque-type-lookup.c: Remove.
178 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
179
9c2412ec
TV
1802020-10-20 Tom de Vries <tdevries@suse.de>
181
182 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
183 file.
184 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
185
0cd2ad78
TV
1862020-10-20 Tom de Vries <tdevries@suse.de>
187
188 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
189 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
190 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
191 * gdb.dwarf2/dw2-ranges-base.exp: Same.
192 * gdb.dwarf2/dw2-ranges.exp: Same.
193 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
194 * gdb.dwarf2/var-access.exp: Same.
195
22cc388e
TT
1962020-10-19 Tom Tromey <tromey@adacore.com>
197
198 PR tui/26719
199 * gdb.tui/list.exp: Check source window contents after focus
200 change.
201
520596f2
TV
2022020-10-17 Tom de Vries <tdevries@suse.de>
203
204 PR symtab/26317
205 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
206
d1c8a76d
TV
2072020-10-17 Tom de Vries <tdevries@suse.de>
208
209 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
210 as suffix.
211 * gdb.dwarf2/atomic.c: Rename to ...
212 * gdb.dwarf2/atomic-type.c: ... this.
213 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
214 * gdb.dwarf2/dw2-ranges-2.c: ... this.
215 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
216 * gdb.dwarf2/dw2-ranges-3.c: ... this.
217 * gdb.dwarf2/fission-mix2.c: Rename to ...
218 * gdb.dwarf2/fission-mix-2.c: ... this.
219 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
220 standard_testfile.
221 * gdb.dwarf2/ada-valprint-error.exp: Same.
222 * gdb.dwarf2/arr-stride.exp: Same.
223 * gdb.dwarf2/arr-subrange.exp: Same.
224 * gdb.dwarf2/atomic-type.exp: Same.
225 * gdb.dwarf2/bad-regnum.exp: Same.
226 * gdb.dwarf2/break-inline-psymtab.exp: Same.
227 * gdb.dwarf2/clang-debug-names-2.exp: Same.
228 * gdb.dwarf2/clang-debug-names.exp: Same.
229 * gdb.dwarf2/comp-unit-lang.exp: Same.
230 * gdb.dwarf2/corrupt.exp: Same.
231 * gdb.dwarf2/count.exp: Same.
232 * gdb.dwarf2/cpp-linkage-name.exp: Same.
233 * gdb.dwarf2/data-loc.exp: Same.
234 * gdb.dwarf2/dw2-align.exp: Same.
235 * gdb.dwarf2/dw2-bad-elf.exp: Same.
236 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
237 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
238 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
239 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
240 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
241 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
242 * gdb.dwarf2/dw2-inline-param.exp: Same.
243 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
244 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
245 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
246 * gdb.dwarf2/dw2-is-stmt.exp: Same.
247 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
248 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
249 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
250 * gdb.dwarf2/dw2-param-error.exp: Same.
251 * gdb.dwarf2/dw2-ranges-base.exp: Same.
252 * gdb.dwarf2/dw2-ranges.exp: Same.
253 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
254 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
255 * gdb.dwarf2/dw4-sig-types.exp: Same.
256 * gdb.dwarf2/dynarr-ptr.exp: Same.
257 * gdb.dwarf2/enum-type.exp: Same.
258 * gdb.dwarf2/fission-mix.exp: Same.
259 * gdb.dwarf2/formdata16.exp: Same.
260 * gdb.dwarf2/implptrconst.exp: Same.
261 * gdb.dwarf2/implptrpiece.exp: Same.
262 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
263 * gdb.dwarf2/main-subprogram.exp: Same.
264 * gdb.dwarf2/method-ptr.exp: Same.
265 * gdb.dwarf2/missing-sig-type.exp: Same.
266 * gdb.dwarf2/nonvar-access.exp: Same.
267 * gdb.dwarf2/opaque-type-lookup.exp: Same.
268 * gdb.dwarf2/shortpiece.exp: Same.
269 * gdb.dwarf2/staticvirtual.exp: Same.
270 * gdb.dwarf2/subrange.exp: Same.
271 * gdb.dwarf2/symtab-producer.exp: Same.
272 * gdb.dwarf2/typedef-void-finish.exp: Same.
273 * gdb.dwarf2/var-access.exp: Same.
274 * gdb.dwarf2/variant.exp: Same.
275 * gdb.dwarf2/void-type.exp: Same.
276 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
277 dw2-ranges-main.c.
278 * gdb.dwarf2/dw2-ranges-main.c: Remove.
279
472d09c1
TV
2802020-10-16 Tom de Vries <tdevries@suse.de>
281
282 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
283
afe75f6d
TV
2842020-10-16 Tom de Vries <tdevries@suse.de>
285
286 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
287
8c8bd0ba
TV
2882020-10-14 Tom de Vries <tdevries@suse.de>
289
290 PR testsuite/26732
291 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
292 scenario 2.
293 * gdb.ada/mi_catch_ex_hand.exp: Same.
294
b75d55d4
PA
2952020-10-13 Pedro Alves <pedro@palves.net>
296
297 * lib/mi-support.exp (mi_clean_restart): New.
298 (mi_run_to_main): Delete.
299 All callers adjust to use mi_clean_restart / mi_runto_main.
300
e777225b
PA
3012020-10-13 Pedro Alves <pedro@palves.net>
302
303 * config/monitor.exp: Use "list -q".
304 * gdb.arch/gdb1558.exp: Use "break -q".
305 * gdb.arch/i386-permbkpt.exp: Use "break -q".
306 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
307 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
308 * gdb.base/commands.exp: Use "break -q".
309 * gdb.base/condbreak.exp: Use "break -q".
310 * gdb.base/ctf-ptype.exp: Use "list -q".
311 * gdb.base/define.exp: Use "break -q".
312 * gdb.base/del.exp: Use "break -q".
313 * gdb.base/fullname.exp: Use "break -q".
314 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
315 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
316 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
317 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
318 "hbreak -q".
319 * gdb.base/included.exp: Use "list -q".
320 * gdb.base/label.exp: Use "break -q".
321 * gdb.base/lineinc.exp: Use "break -q".
322 * gdb.base/list.exp: Use "list -q".
323 * gdb.base/macscp.exp: Use "list -q".
324 * gdb.base/pending.exp: Use "break -q".
325 * gdb.base/prologue-include.exp: Use "break -q".
326 * gdb.base/ptype.exp: Use "list -q".
327 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
328 * gdb.base/server-del-break.exp: Use "break -q".
329 * gdb.base/style.exp: Use "break -q".
330 * gdb.base/symbol-without-target_section.exp: Use "list -q".
331 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
332 * gdb.cp/exception.exp: Use "tbreak -q".
333 * gdb.dwarf2/dw2-error.exp: Use "break -q".
334 * gdb.dwarf2/fission-mix.exp: Use "break -q".
335 * gdb.dwarf2/fission-reread.exp: Use "break -q".
336 * gdb.dwarf2/pr13961.exp: Use "break -q".
337 * gdb.linespec/explicit.exp: Use "list -q".
338 * gdb.linespec/linespec.exp: Use "break -q".
339 * gdb.mi/mi-simplerun.exp: Use "--qualified".
340 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
341 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
342 * gdb.server/connect-without-multi-process.exp: Use "break -q".
343 * gdb.trace/change-loc.exp: Use "break -q".
344 * gdb.trace/pending.exp: Use "break -q".
345 * gdb.tui/basic.exp: Use "list -q".
346 * gdb.tui/list-before.exp: Use "list -q".
347 * gdb.tui/list.exp: Use "list -q".
348 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
349
8abd8ee8
PA
3502020-10-13 Pedro Alves <pedro@palves.net>
351
352 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
353 saved breakpoints file.
354 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
355 inspecting breakpoint list.
356 * lib/gdb.exp (runto_main): Add "qualified" to options.
357 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
358 and handle it.
359 (mi_runto_main): Pass 1 as qualified argument.
360
f71e6719
PA
3612020-10-13 Pedro Alves <pedro@palves.net>
362
363 * lib/mi-support.exp (mi_runto_main): New proc.
364 (mi_run_to_main): Use it.
365 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
366 * gdb.mi/mi-var-cmd.exp: Likewise.
367 * gdb.mi/mi-var-invalidate.exp: Likewise.
368 * mi-var-list-children-invalid-grandchild.exp: Likewise.
369 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
370 * gdb.mi/new-ui-mi-sync.exp: Likewise.
371 * gdb.mi/user-selected-context-sync.exp: Likewise.
372 * gdb.opt/inline-cmds.exp: Likewise.
373 * gdb.python/py-framefilter-mi.exp: Likewise.
374 * gdb.python/py-mi.exp: Likewise.
375
50441f0f
PA
3762020-10-13 Pedro Alves <pedro@palves.net>
377
378 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
379 "runto main".
380 * gdb.ada/small_reg_param.exp: Likewise.
381 * gdb.arch/powerpc-d128-regs.exp: Likewise.
382 * gdb.base/annota1.exp: Likewise.
383 * gdb.base/anon.exp: Likewise.
384 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
385 * gdb.base/dprintf-non-stop.exp: Likewise.
386 * gdb.base/dprintf.exp: Likewise.
387 * gdb.base/gdb11530.exp: Likewise.
388 * gdb.base/gdb11531.exp: Likewise.
389 * gdb.base/gnu_vector.exp: Likewise.
390 * gdb.base/interrupt-noterm.exp: Likewise.
391 * gdb.base/memattr.exp: Likewise.
392 * gdb.base/step-over-syscall.exp: Likewise.
393 * gdb.base/watch-cond-infcall.exp: Likewise.
394 * gdb.base/watch-read.exp: Likewise.
395 * gdb.base/watch-vfork.exp: Likewise.
396 * gdb.base/watch_thread_num.exp: Likewise.
397 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
398 * gdb.guile/scm-frame-inline.exp: Likewise.
399 * gdb.linespec/explicit.exp: Likewise.
400 * gdb.opt/inline-break.exp: Likewise.
401 * gdb.python/py-frame-inline.exp: Likewise.
402 * gdb.reverse/break-precsave.exp: Likewise.
403 * gdb.reverse/break-reverse.exp: Likewise.
404 * gdb.reverse/consecutive-precsave.exp: Likewise.
405 * gdb.reverse/consecutive-reverse.exp: Likewise.
406 * gdb.reverse/finish-precsave.exp: Likewise.
407 * gdb.reverse/finish-reverse.exp: Likewise.
408 * gdb.reverse/fstatat-reverse.exp: Likewise.
409 * gdb.reverse/getresuid-reverse.exp: Likewise.
410 * gdb.reverse/i386-precsave.exp: Likewise.
411 * gdb.reverse/i386-reverse.exp: Likewise.
412 * gdb.reverse/i386-sse-reverse.exp: Likewise.
413 * gdb.reverse/i387-env-reverse.exp: Likewise.
414 * gdb.reverse/i387-stack-reverse.exp: Likewise.
415 * gdb.reverse/insn-reverse.exp: Likewise.
416 * gdb.reverse/machinestate-precsave.exp: Likewise.
417 * gdb.reverse/machinestate.exp: Likewise.
418 * gdb.reverse/pipe-reverse.exp: Likewise.
419 * gdb.reverse/readv-reverse.exp: Likewise.
420 * gdb.reverse/recvmsg-reverse.exp: Likewise.
421 * gdb.reverse/rerun-prec.exp: Likewise.
422 * gdb.reverse/s390-mvcle.exp: Likewise.
423 * gdb.reverse/solib-precsave.exp: Likewise.
424 * gdb.reverse/solib-reverse.exp: Likewise.
425 * gdb.reverse/step-precsave.exp: Likewise.
426 * gdb.reverse/step-reverse.exp: Likewise.
427 * gdb.reverse/time-reverse.exp: Likewise.
428 * gdb.reverse/until-precsave.exp: Likewise.
429 * gdb.reverse/until-reverse.exp: Likewise.
430 * gdb.reverse/waitpid-reverse.exp: Likewise.
431 * gdb.reverse/watch-precsave.exp: Likewise.
432 * gdb.reverse/watch-reverse.exp: Likewise.
433 * gdb.threads/kill.exp: Likewise.
434 * gdb.threads/tid-reuse.exp: Likewise.
435
d3a07122
SM
4362020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
437
438 PR gdb/26642
439 * gdb.base/maint-target-async-off.c: New test.
440 * gdb.base/maint-target-async-off.exp: New test.
441
c65c6c42
AM
4422020-10-13 Alan Modra <amodra@gmail.com>
443
444 * gdb.arch/powerpc-altivec.s,
445 * gdb.arch/powerpc-power7.s,
446 * gdb.arch/powerpc-power8.s,
447 * gdb.arch/powerpc-power9.s,
448 * gdb.arch/powerpc-vsx.s,
449 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
450 * gdb.arch/powerpc-altivec.exp,
451 * gdb.arch/powerpc-power7.exp,
452 * gdb.arch/powerpc-power8.exp,
453 * gdb.arch/powerpc-power9.exp,
454 * gdb.arch/powerpc-vsx.exp,
455 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
456 disassembly of mfvsrd/mtvsrd.
457
f4a0f710
AM
4582020-10-13 Alan Modra <amodra@gmail.com>
459
460 * gdb.arch/arm-disassembler-options.exp: Adjust expected
461 "target architecture" output.
462 * gdb.arch/powerpc-d128-regs.exp: Likewise.
463 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
464 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
465 * gdb.arch/s390-disassembler-options.exp: Likewise.
466
87a37e5e
PA
4672020-10-12 Pedro Alves <pedro@palves.net>
468
469 PR exp/26602
470 PR c++/26550
471 * gdb.cp/ambiguous.cc (marker1): Delete.
472 (main): Initialize all the fields of the locals. Replace marker1
473 call with a "set breakpoint here" marker.
474 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
475 instead of running to marker1. Add tests printing all the
476 variables and all the fields of the variables.
477 (test_ambiguous): New proc, expecting the new GDB output when a
478 field access is ambiguous. Change all "warning: X ambiguous"
479 tests to use it.
480
71e1b6b0
GB
4812020-10-12 Gary Benson <gbenson@redhat.com>
482
483 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
484 * gdb.base/msym-bp-2.c (foo): Likewise.
485 * gdb.base/msym-lang.c (foo): Likewise.
486 * gdb.base/msym-lang-main.c (foo): Likewise.
487 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
488 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
489 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
490 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
491 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
492 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
493 * gdb.python/py-objfile.c (static_var): Likewise.
494 * gdb.python/py-symbol.c (rr): Likewise.
495 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
496 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
497
9370fd51
AB
4982020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
499
500 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
501 output of backtrace.
502
7c184d33
TT
5032020-10-09 Tom Tromey <tromey@adacore.com>
504
505 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
506 (Rec): Add field. Fix range.
507 * gdb.ada/scalar_storage.exp: Update.
508
3d87245c
HD
5092020-10-09 Hannes Domani <ssbssa@yahoo.de>
510
511 PR exp/26714
512 * gdb.base/printcmds.exp: Add tests for void results.
513
f5c4b229
JV
5142020-10-09 Jan Vrany <jan.vrany@labware.com>
515
516 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
517 is emmited for both 'set directories' and 'directory' commands.
518
b2701685
TT
5192020-10-08 Tom Tromey <tom@tromey.com>
520
521 * gdb.base/style.exp: Check that "main"'s name is styled.
522
e86efb33
TT
5232020-10-07 Tom Tromey <tromey@adacore.com>
524
525 * gdb.base/find.exp: Rename some tests.
526
30897591
GB
5272020-10-06 Gary Benson <gbenson@redhat.com>
528
529 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
530 * gdb.base/list1.c (unused): Likewise.
531
ced4a4c1
GB
5322020-10-06 Gary Benson <gbenson@redhat.com>
533
534 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
535 __attribute__ ((used)).
536 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
537
ed3bdac4
AB
5382020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
539
540 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
541 make use of regions throughout.
542 * gdb.base/overlays.exp: Enclose string with variableds in "..",
543 not {...}.
544 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
545
cd096ec8
HD
5462020-10-05 Hannes Domani <ssbssa@yahoo.de>
547
548 * gdb.base/call-sc.c: Fix return struct on stack test case.
549 * gdb.base/call-sc.exp: Likewise.
550
3ee6f75d
GB
5512020-10-02 Gary Benson <gbenson@redhat.com>
552
553 * README: Fix "paralell".
554
f65825ec
GB
5552020-09-30 Gary Benson <gbenson@redhat.com>
556
557 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
558 Convert directive to lowercase.
559 (.Labbrev1_begin): Add missing label.
560 (abbrev code 0x1): Remove DW_AT_stmt_list.
561 (.Ldie_b): Likewise.
562
5f278258
TT
5632020-09-27 Tom Tromey <tom@tromey.com>
564
565 * gdb.tui/new-layout.exp: Use with_test_prefix.
566
8f9929bb
GR
5672020-09-26 Gareth Rees <grees@undo.io> (tiny change)
568
569 PR python/26586
570 * gdb.python/python.exp: add test cases for the from_tty
571 argument to gdb.execute.
572
c20c017b
GB
5732020-09-25 Gary Benson <gbenson@redhat.com>
574
575 * gdb.base/infcall-nested-structs.exp.tcl: Add
576 additional_flags=-Wno-tautological-compare for C++
577 tests when compiling using Clang.
578
68d654af
GB
5792020-09-25 Gary Benson <gbenson@redhat.com>
580
581 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
582 for .c files.
583
b551a89f
TT
5842020-09-24 Tom Tromey <tromey@adacore.com>
585
586 PR tui/26638:
587 * gdb.tui/list.exp: Check output of "focus next".
588
20a5fcbd
TT
5892020-09-23 Tom Tromey <tom@tromey.com>
590
591 * gdb.dwarf2/intbits.exp: New file.
592 * gdb.dwarf2/intbits.c: New file.
593
b167e53f
PA
5942020-09-20 Pedro Alves <pedro@palves.net>
595
596 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
597 spawn_id before calling remote_close. Close secondary MI channel.
598
dbc49e9f
PA
5992020-09-20 Pedro Alves <pedro@palves.net>
600
601 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
602 fails.
603
c8d5abea
AB
6042020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
605
606 * gdb.fortran/array-slices.exp: Update expected results.
607 * gdb.fortran/class-allocatable-array.exp: Likewise.
608 * gdb.fortran/multi-dim.exp: Likewise.
609 * gdb.fortran/vla-type.exp: Likewise.
610 * gdb.mi/mi-vla-fortran.exp: Likewise.
611
14f9473c
VC
6122020-09-18 Victor Collod <vcollod@nvidia.com>
613
614 PR gdb/26635
615 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
616 compatible with i386, and move it to...
617 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
618 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
619 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
620
e8ef12b9
PA
6212020-09-18 Pedro Alves <pedro@palves.net>
622
623 PR gdb/26631
624 * gdb.multi/multi-target-thread-find.exp: New file.
625
e11daf7a
PA
6262020-09-18 Pedro Alves <pedro@palves.net>
627
628 * gdb.multi/multi-target-continue.exp: New file, factored out from
629 multi-target.exp.
630 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
631 multi-target.exp.
632 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
633 multi-target.exp.
634 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
635 multi-target.exp.
636 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
637 multi-target.exp.
638 * gdb.multi/multi-target.exp.tcl: New file, factored out from
639 multi-target.exp.
640 * gdb.multi/multi-target.exp: Delete.
641
d0edc2b8
AB
6422020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
643
644 * gdb.fortran/array-slices.exp: Add missing message data.
645
7474326c
PA
6462020-09-17 Pedro Alves <pedro@palves.net>
647
648 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
649
dd23068d
PA
6502020-09-17 Pedro Alves <pedro@palves.net>
651
652 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
653 full prototype.
654
0640a543
PA
6552020-09-17 Pedro Alves <pedro@palves.net>
656
657 * gdb.python/py-as-string.c: Add cast.
658
ef0cdbc1
PA
6592020-09-17 Pedro Alves <pedro@palves.net>
660
661 * gdb.base/sizeof.c (fill): Add cast.
662
3a5eeb8b
PA
6632020-09-17 Pedro Alves <pedro@palves.net>
664
665 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
666
a8129512
PA
6672020-09-17 Pedro Alves <pedro@palves.net>
668
669 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
670 linkage name.
671 * gdb.base/prologue.exp: Use print /d.
672 * gdb.base/symbol-alias.exp: Handle C++ output.
673 * gdb.base/symbol-alias2.c: Handle C++ output.
674 [__cplusplus] (func): Explicitly specify linkage name.
675
a83cdcb6
PA
6762020-09-17 Pedro Alves <pedro@palves.net>
677
678 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
679 (struct my_key_t): ... this. Adjust all references.
680 (struct value_t): Rename to ...
681 (struct my_value_t): ... this. Adjust all references.
682 (create_map, add_map_element, create_map_map)
683 (add_map_map_element): Add casts.
684
d4bcee5c
PA
6852020-09-17 Pedro Alves <pedro@palves.net>
686
687 * gdb.python/py-framefilter-mi.c (funca): Add casts.
688 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
689
81f90489
PA
6902020-09-17 Pedro Alves <pedro@palves.net>
691
692 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
693
0a229804
PA
6942020-09-17 Pedro Alves <pedro@palves.net>
695
696 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
697 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
698 (charfoo, intfoo): Define full prototype.
699 * gdb.base/ptype1.c (charfoo): Define full prototype.
700 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
701 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
702
c3e5138d
PA
7032020-09-17 Pedro Alves <pedro@palves.net>
704
705 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
706 Don't define.
707 (utf_32_string): Compile for both C and C++.
708 * gdb.base/charset.exp: Use "print /d".
709
151fdbad
PA
7102020-09-17 Pedro Alves <pedro@palves.net>
711
712 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
713 (nullptr): Rename to ...
714 (null_ptr): ... this.
715 * gdb.base/watchpoint.exp: Adjust to rename.
716
18a25b64
PA
7172020-09-17 Pedro Alves <pedro@palves.net>
718
719 * gdb.base/printcmds.c (three, flag_enum_without_zero)
720 (three_not_flag): Add casts.
721
11fac337
PA
7222020-09-17 Pedro Alves <pedro@palves.net>
723
724 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
725 char array.
726 (main): Add references to Barrier, TestStrings, TestStringsH and
727 TestStringsW.
728 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
729 and expect a full prototype in C++.
730
52626c58
PA
7312020-09-17 Pedro Alves <pedro@palves.net>
732
733 * gdb.base/nested-addr.c (main): Add cast.
734 * gdb.base/nested-addr.exp: Use "print /d".
735
52bb0902
PA
7362020-09-17 Pedro Alves <pedro@palves.net>
737
738 * gdb.base/break.exp (func): New. Use it throughout when
739 expecting a function name.
740
73e18ac9
PA
7412020-09-17 Pedro Alves <pedro@palves.net>
742
743 * gdb.base/display.exp: Issue "set print asm-demangle on".
744
c8b18808
PA
7452020-09-17 Pedro Alves <pedro@palves.net>
746
747 * gdb.base/find.c: Include <string.h>.
748 (init_bufs): Add cast.
749 * gdb.base/find.exp: Issue "set print asm-demangle on".
750
fe830662
TT
7512020-09-16 Tom Tromey <tromey@adacore.com>
752
753 PR gdb/26598:
754 * gdb.base/skipcxx.exp: New file.
755 * gdb.base/skipcxx.cc: New file.
756
945ff6e2
TV
7572020-09-16 Tom de Vries <tdevries@suse.de>
758
759 PR testsuite/26617
760 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
761 WITH_DEBUG_SECTIONS is defined.
762 (xstr, str): New macro.
763 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
764 to get start and size of _Dmain.
765 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
766 using additional_flags.
767
da1df1db
TBA
7682020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
769
770 * gdb.base/bp-cmds-sourced-script.c: New file.
771 * gdb.base/bp-cmds-sourced-script.exp: New test.
772 * gdb.base/bp-cmds-sourced-script.gdb: New file.
773
337882d4
TV
7742020-09-16 Tom de Vries <tdevries@suse.de>
775
776 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
777 get the gdb prompt after issuing "monitor exit".
778
7361f908
TV
7792020-09-16 Tom de Vries <tdevries@suse.de>
780
781 PR testsuite/26624
782 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
783
4d91ddd3
TV
7842020-09-16 Tom de Vries <tdevries@suse.de>
785
786 PR testsuite/26618
787 * gdb.tui/new-layout.exp: Escape unbalanced braces.
788
08cc37dd
TT
7892020-09-15 Tom Tromey <tromey@adacore.com>
790
791 PR rust/26197:
792 * lib/rust-support.exp (rust_llvm_version): New proc.
793 * gdb.rust/simple.exp: Check rust_llvm_version.
794
ee6372f2
TV
7952020-09-14 Tom de Vries <tdevries@suse.de>
796
797 * gdb.rust/traits.exp: Fix PATH warning.
798
dc3a371e
PA
7992020-09-13 Pedro Alves <pedro@palves.net>
800
801 * gdb.base/catch-follow-exec.c (main): Add explicit return
802 statement.
803 * gdb.base/catch-signal.c (main): Likewise.
804 * gdb.base/condbreak-call-false.c (main): Likewise.
805 * gdb.base/consecutive.c (main): Add explicit return
806 statement and return type.
807 * gdb.base/cursal.c (main): Add explicit return statement.
808 * gdb.base/cvexpr.c (main): Likewise.
809 * gdb.base/display.c (main): Add explicit return statement and
810 return type.
811 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
812 * gdb.base/endianity.c (main): Likewise.
813 * gdb.base/execd-prog.c (main): Likewise.
814 * gdb.base/gdb1090.c (main): Likewise.
815 * gdb.base/info_qt.c (main): Likewise.
816 * gdb.base/lineinc.c (main): Likewise.
817 * gdb.base/load-command.c (main): Likewise.
818 * gdb.base/macscp1.c (main): Likewise.
819 * gdb.base/pr10179-a.c (main): Likewise.
820 * gdb.base/quit-live.c (main): Likewise.
821 * gdb.base/scope0.c (main): Likewise.
822 * gdb.base/settings.c (main): Likewise.
823 * gdb.base/stack-checking.c (main): Return int.
824 * gdb.base/varargs.c (main): Add explicit return statement.
825 * gdb.cp/ambiguous.cc (main): Likewise.
826 * gdb.cp/anon-struct.cc (main): Likewise.
827 * gdb.cp/anon-union.cc (main): Likewise.
828 * gdb.cp/bool.cc (main): Likewise.
829 * gdb.cp/bs15503.cc (main): Likewise.
830 * gdb.cp/cplusfuncs.cc (main): Likewise.
831 * gdb.cp/cttiadd.cc (main): Likewise.
832 * gdb.cp/extern-c.cc (main): Likewise.
833 * gdb.cp/filename.cc (main): Likewise.
834 * gdb.cp/formatted-ref.cc (main): Likewise.
835 * gdb.cp/mb-ctor.cc (main): Likewise.
836 * gdb.cp/member-ptr.cc (main): Likewise.
837 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
838 * gdb.cp/overload-const.cc (main): Likewise.
839 * gdb.cp/paren-type.cc (main): Likewise.
840 * gdb.cp/parse-lang.cc (main): Likewise.
841 * gdb.cp/pr-1023.cc (main): Likewise.
842 * gdb.cp/psmang1.cc (main): Likewise.
843 * gdb.cp/readnow-language.cc (main): Likewise.
844 * gdb.cp/ref-params.cc (main): Likewise.
845 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
846 * gdb.cp/virtbase2.cc (main): Likewise.
847 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
848 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
849 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
850 * gdb.mi/mi-console.c (main): Likewise.
851 * gdb.mi/mi-read-memory.c (main): Likewise.
852 * gdb.modula2/multidim.c (main): Likewise.
853 * gdb.opt/inline-small-func.c (main): Likewise.
854 * gdb.python/py-rbreak.c (main): Likewise.
855 * gdb.stabs/exclfwd1.c (main): Likewise.
856 * gdb.trace/qtro.c (main): Likewise.
857
af26601c
PA
8582020-09-13 Pedro Alves <pedro@palves.net>
859
860 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
861 instead of getenv.
862
2f4b83cd
PA
8632020-09-13 Pedro Alves <pedro@palves.net>
864
865 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
866 instead of spawning GDB with remote_spawn.
867 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
868 gdb_spawn instead of spawning GDB with remote_spawn.
869
c49da0e4
PA
8702020-09-13 Pedro Alves <pedro@palves.net>
871
872 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
873 file and add calls to first and second.
874 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
875 add call to f.
876
6791b117
PA
8772020-09-13 Pedro Alves <pedro@palves.net>
878
879 * gdb.mi/mi-break-qualified.cc: New file.
880 * gdb.mi/mi-break-qualified.exp: New file.
881 * lib/mi-support.exp (mi_create_breakpoint_multi)
882 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
883 procedures.
884 (mi_create_breakpoint_1): New, factored out from
885 mi_create_breakpoint.
886
3b8d4c5c
PA
8872020-09-13 Pedro Alves <pedro@palves.net>
888
889 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
890 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
891 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
892 (register_class): Delete.
893 (main): Don't call register_class.
894
d5f96005
PA
8952020-09-13 Pedro Alves <pedro@palves.net>
896
897 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
898 (do_tests): Remove "calling method for small class" test.
899 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
900 (register_class): Delete.
901 (main): Don't call register_class.
902 * gdb.cp/call-method-register.exp: New file, based on bits removed
903 from classes.exp.
904 * gdb.cp/call-method-register.cc: New file, based on bits removed
905 from classes.cc.
906
77f2120b
PA
9072020-09-13 Pedro Alves <pedro@palves.net>
908
909 * gdb.base/msym-bp-2.c: New.
910 * gdb.base/msym-bp-shl-lib.c: New file.
911 * gdb.base/msym-bp-shl-main-2.c: New file.
912 * gdb.base/msym-bp-shl-main.c: New file.
913 * gdb.base/msym-bp-shl.exp: New file.
914 * gdb.base/msym-bp.c: New file.
915 * gdb.base/msym-bp.exp: New file.
916
32aea73e
JB
9172020-09-13 Joel Brobecker <brobecker@adacore.com>
918
919 * gdb.base/default.exp: Change $_gdb_major to 11.
920
2a67f09d
FW
9212020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
922 Felix Willgerodt <Felix.Willgerodt@intel.com>
923
924 * x86-avx512bf16.c: New file.
925 * x86-avx512bf16.exp: Likewise.
926 * lib/gdb.exp (skip_avx512bf16_tests): New function.
927
ad570dd7
TV
9282020-09-11 Tom de Vries <tdevries@suse.de>
929
930 PR exp/26602
931 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
932
a56f7391
TBA
9332020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
934
935 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
936
918619e5
AM
9372020-09-10 Alan Modra <amodra@gmail.com>
938
939 PR 26597
940 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
941
cac1e71d
TV
9422020-09-08 Tom de Vries <tdevries@suse.de>
943
944 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
945 after gdb_starti_cmd.
946
c5cd900e
AKS
9472020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
948
949 * lib/fortran.exp (fortran_complex8): New proc.
950 (fortran_complex16): New proc.
951 * gdb.fortran/complex.exp: Use routines from fortran.exp
952 * gdb.fortran/pointer-to-pointer.exp: Likewise.
953 * gdb.fortran/vla-ptr-info.exp: Likewise.
954
8f5c6526
TV
9552020-09-03 Tom de Vries <tdevries@suse.de>
956
957 PR breakpoint/26546
958 * gdb.base/label-without-address.exp: Runto main first.
959
02c6f3f1
TT
9602020-09-02 Tom Tromey <tromey@adacore.com>
961
962 * gdb.ada/mi_var_access.exp: Test children of access variable.
963 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
964 * gdb.ada/mi_var_array.exp: Update.
965
efe24f05
KB
9662020-08-31 Kevin Buettner <kevinb@redhat.com>
967
968 * gdb.base/corefile.exp (warning-free): XFAIL test when running
969 on docker w/ AUFS storage driver.
970
973695d6
KB
9712020-08-31 Kevin Buettner <kevinb@redhat.com>
972
973 * gdb.base/corefile2.exp (renamed binfile): New tests.
974
f3bd50f1
SM
9752020-08-31 Simon Marchi <simon.marchi@efficios.com>
976
977 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
978
22b9b4b0
SL
9792020-08-31 Simon Marchi <simon.marchi@efficios.com>
980
981 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
982 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
983
8efaf6b3
SM
9842020-08-31 Simon Marchi <simon.marchi@efficios.com>
985
986 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
987 output, printing a "not saved" value from history and printing a
988 convenience variable created from a "not saved" value.
989
e840f2e3
TV
9902020-08-31 Tom de Vries <tdevries@suse.de>
991
992 * gdb.base/eh_return.exp: Use nopie.
993
8f57f343
PA
9942020-08-28 Pedro Alves <pedro@palves.net>
995
996 * gdb.base/advance-until-multiple-locations.exp
997 (advance_overload, until_overload): Adjust to match the
998 frame/function header instead of the source line text.
999
626d2320
TV
10002020-08-28 Tom de Vries <tdevries@suse.de>
1001
1002 * gdb.base/label-without-address.c: New test.
1003 * gdb.base/label-without-address.exp: New file.
1004
df631783
PA
10052020-08-27 Pedro Alves <pedro@palves.net>
1006
1007 PR gdb/26523
1008 PR gdb/26524
1009 * gdb.base/advance-until-multiple-locations.cc: New.
1010 * gdb.base/advance-until-multiple-locations.exp: New.
1011
48b076bb
SM
10122020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
1013
1014 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
1015
c2015ce4
AB
10162020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1017
1018 * gdb.arch/amd64-byte.exp: Make test names unique, use
1019 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
1020 * gdb.arch/amd64-dword.exp: Likewise.
1021 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
1022 * gdb.arch/amd64-stap-special-operands.exp: Make test names
1023 unique.
1024 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
1025 * gdb.arch/amd64-word.exp: Make test names unique, use
1026 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
1027 * gdb.arch/i386-byte.exp: Make test names unique, use
1028 gdb_breakpoint.
1029 * gdb.arch/i386-word.exp: Likewise.
1030
995d3a19
SV
10312020-08-25 Shahab Vahedi <shahab@synopsys.com>
1032
1033 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
1034
8cac2b31
SM
10352020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
1036
1037 PR gdb/26532
1038 * gdb.threads/stepi-random-signal.exp: Update pattern.
1039
2bc19622
SM
10402020-08-25 Simon Marchi <simon.marchi@efficios.com>
1041
1042 PR gdb/26532
1043 * gdb.base/ui-redirect.exp: Update pattern.
1044
b04aa1fc
GB
10452020-08-25 Gary Benson <gbenson@redhat.com>
1046
1047 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
1048 when compiling with clang.
8571e9c8 1049 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 1050
9f68b453
GB
10512020-08-25 Gary Benson <gbenson@redhat.com>
1052
1053 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
1054 Add additional_flags=-Wno-inaccessible-base when compiling
1055 with GCC >= 10.1 or clang. Add additional_flags=-w when
1056 compiling with GCC < 10.
1057
3945d2d7
GM
10582020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
1059
1060 PR m2/26372
fc5d6901
SM
1061 * gdb.modula2/multidim.c: New file.
1062 * gdb.modula2/multidim.exp: New file.
3945d2d7 1063
60122dbe
SM
10642020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
1065
1066 * lib/gdb.exp (runto): Always emit fail on internal error.
1067
1eb8556f
SM
10682020-08-24 Simon Marchi <simon.marchi@efficios.com>
1069
1070 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
1071 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1072 Likewise.
1073 * gdb.threads/stepi-random-signal.exp: Likewise.
1074
33bf4c5c
TBA
10752020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1076
1077 * gdb.base/print-file-var.exp: Fix typo "breapoint".
1078 * gdb.trace/strace.exp: Ditto.
1079
c2fd7fae
AKS
10802020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1081
1082 * gdb.fortran/vla-type.exp: Skip commands not required for
1083 the Flang compiled binaries after prologue fix.
1084
326afb72
TT
10852020-08-17 Tom de Vries <tdevries@suse.de>
1086 Tom Tromey <tromey@adacore.com>
1087
1088 PR rust/26197:
1089 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
1090
3ae7ab99
TT
10912020-08-17 Tom Tromey <tromey@adacore.com>
1092
1093 * gdb.ada/mi_var_access.exp: New file.
1094 * gdb.ada/mi_var_access/mi_access.adb: New file.
1095 * gdb.ada/mi_var_access/pck.adb: New file.
1096 * gdb.ada/mi_var_access/pck.ads: New file.
1097
f569c1c5
TV
10982020-08-16 Tom de Vries <tdevries@suse.de>
1099
1100 PR gdb/25350
1101 * gdb.base/eh_return.c: New test.
1102 * gdb.base/eh_return.exp: New file.
1103
3d11c30a
TV
11042020-08-15 Tom de Vries <tdevries@suse.de>
1105
1106 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
1107 (mixed_func_1d_): Use fortran_charlen_t in decl.
1108
547ce8f0
TV
11092020-08-15 Tom de Vries <tdevries@suse.de>
1110
1111 PR backtrace/26390
1112 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
1113 Update expected pattern.
1114
a54a7f13
PA
11152020-08-13 Pedro Alves <pedro@palves.net>
1116
1117 * gdb.fortran/complex.exp: Check skip_fortran_tests.
1118 * gdb.fortran/library-module.exp: Likewise.
1119 * gdb.fortran/logical.exp: Likewise.
1120 * gdb.fortran/module.exp: Likewise.
1121 * gdb.fortran/print_type.exp: Likewise.
1122 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
1123 * gdb.fortran/vla-datatypes.exp: Likewise.
1124 * gdb.fortran/vla-history.exp: Likewise.
1125 * gdb.fortran/vla-ptr-info.exp: Likewise.
1126 * gdb.fortran/vla-ptype-sub.exp: Likewise.
1127 * gdb.fortran/vla-ptype.exp: Likewise.
1128 * gdb.fortran/vla-sizeof.exp: Likewise.
1129 * gdb.fortran/vla-type.exp: Likewise.
1130 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
1131 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
1132 * gdb.fortran/vla-value-sub.exp: Likewise.
1133 * gdb.fortran/vla-value.exp: Likewise.
1134
7a82e903
PA
11352020-08-13 Pedro Alves <pedro@palves.net>
1136
1137 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
1138 * gdb.ada/access_to_packed_array.exp: Likewise.
1139 * gdb.ada/access_to_unbounded_array.exp: Likewise.
1140 * gdb.ada/addr_arith.exp: Likewise.
1141 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
1142 * gdb.ada/arr_arr.exp: Likewise.
1143 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
1144 * gdb.ada/array_bounds.exp: Likewise.
1145 * gdb.ada/array_of_variable_length.exp: Likewise.
1146 * gdb.ada/array_ptr_renaming.exp: Likewise.
1147 * gdb.ada/array_subscript_addr.exp: Likewise.
1148 * gdb.ada/arraydim.exp: Likewise.
1149 * gdb.ada/arrayparam.exp: Likewise.
1150 * gdb.ada/arrayptr.exp: Likewise.
1151 * gdb.ada/assign_1.exp: Likewise.
1152 * gdb.ada/assign_arr.exp: Likewise.
1153 * gdb.ada/atomic_enum.exp: Likewise.
1154 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
1155 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
1156 * gdb.ada/bias.exp: Likewise.
1157 * gdb.ada/boolean_expr.exp: Likewise.
1158 * gdb.ada/bp_c_mixed_case.exp: Likewise.
1159 * gdb.ada/bp_enum_homonym.exp: Likewise.
1160 * gdb.ada/bp_inlined_func.exp: Likewise.
1161 * gdb.ada/bp_on_var.exp: Likewise.
1162 * gdb.ada/bp_range_type.exp: Likewise.
1163 * gdb.ada/bp_reset.exp: Likewise.
1164 * gdb.ada/call_pn.exp: Likewise.
1165 * gdb.ada/catch_assert_if.exp: Likewise.
1166 * gdb.ada/catch_ex.exp: Likewise.
1167 * gdb.ada/catch_ex_std.exp: Likewise.
1168 * gdb.ada/char_enum.exp: Likewise.
1169 * gdb.ada/char_param.exp: Likewise.
1170 * gdb.ada/complete.exp: Likewise.
1171 * gdb.ada/cond_lang.exp: Likewise.
1172 * gdb.ada/convvar_comp.exp: Likewise.
1173 * gdb.ada/dgopt.exp: Likewise.
1174 * gdb.ada/disc_arr_bound.exp: Likewise.
1175 * gdb.ada/display_nested.exp: Likewise.
1176 * gdb.ada/dot_all.exp: Likewise.
1177 * gdb.ada/dyn_loc.exp: Likewise.
1178 * gdb.ada/dyn_stride.exp: Likewise.
1179 * gdb.ada/excep_handle.exp: Likewise.
1180 * gdb.ada/expr_delims.exp: Likewise.
1181 * gdb.ada/expr_with_funcall.exp: Likewise.
1182 * gdb.ada/exprs.exp: Likewise.
1183 * gdb.ada/fin_fun_out.exp: Likewise.
1184 * gdb.ada/fixed_cmp.exp: Likewise.
1185 * gdb.ada/formatted_ref.exp: Likewise.
1186 * gdb.ada/frame_arg_lang.exp: Likewise.
1187 * gdb.ada/frame_args.exp: Likewise.
1188 * gdb.ada/fullname_bp.exp: Likewise.
1189 * gdb.ada/fun_addr.exp: Likewise.
1190 * gdb.ada/fun_in_declare.exp: Likewise.
1191 * gdb.ada/fun_overload_menu.exp: Likewise.
1192 * gdb.ada/fun_renaming.exp: Likewise.
1193 * gdb.ada/funcall_char.exp: Likewise.
1194 * gdb.ada/funcall_param.exp: Likewise.
1195 * gdb.ada/funcall_ptr.exp: Likewise.
1196 * gdb.ada/funcall_ref.exp: Likewise.
1197 * gdb.ada/homonym.exp: Likewise.
1198 * gdb.ada/info_addr_mixed_case.exp: Likewise.
1199 * gdb.ada/info_auto_lang.exp: Likewise.
1200 * gdb.ada/info_exc.exp: Likewise.
1201 * gdb.ada/info_types.exp: Likewise.
1202 * gdb.ada/int_deref.exp: Likewise.
1203 * gdb.ada/interface.exp: Likewise.
1204 * gdb.ada/iwide.exp: Likewise.
1205 * gdb.ada/lang_switch.exp: Likewise.
1206 * gdb.ada/length_cond.exp: Likewise.
1207 * gdb.ada/maint_with_ada.exp: Likewise.
1208 * gdb.ada/mi_catch_assert.exp: Likewise.
1209 * gdb.ada/mi_catch_ex.exp: Likewise.
1210 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
1211 * gdb.ada/mi_dyn_arr.exp: Likewise.
1212 * gdb.ada/mi_ex_cond.exp: Likewise.
1213 * gdb.ada/mi_exc_info.exp: Likewise.
1214 * gdb.ada/mi_interface.exp: Likewise.
1215 * gdb.ada/mi_prot.exp: Likewise.
1216 * gdb.ada/mi_ref_changeable.exp: Likewise.
1217 * gdb.ada/mi_string_access.exp: Likewise.
1218 * gdb.ada/mi_task_arg.exp: Likewise.
1219 * gdb.ada/mi_task_info.exp: Likewise.
1220 * gdb.ada/mi_var_array.exp: Likewise.
1221 * gdb.ada/mi_var_union.exp: Likewise.
1222 * gdb.ada/mi_variant.exp: Likewise.
1223 * gdb.ada/minsyms.exp: Likewise.
1224 * gdb.ada/mod_from_name.exp: Likewise.
1225 * gdb.ada/nested.exp: Likewise.
1226 * gdb.ada/null_array.exp: Likewise.
1227 * gdb.ada/optim_drec.exp: Likewise.
1228 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
1229 * gdb.ada/packed_array_assign.exp: Likewise.
1230 * gdb.ada/packed_tagged.exp: Likewise.
1231 * gdb.ada/pp-rec-component.exp: Likewise.
1232 * gdb.ada/print_chars.exp: Likewise.
1233 * gdb.ada/print_pc.exp: Likewise.
1234 * gdb.ada/ptr_typedef.exp: Likewise.
1235 * gdb.ada/ptype_arith_binop.exp: Likewise.
1236 * gdb.ada/ptype_array.exp: Likewise.
1237 * gdb.ada/ptype_field.exp: Likewise.
1238 * gdb.ada/ptype_tagged_param.exp: Likewise.
1239 * gdb.ada/ptype_union.exp: Likewise.
1240 * gdb.ada/py_range.exp: Likewise.
1241 * gdb.ada/py_taft.exp: Likewise.
1242 * gdb.ada/rdv_wait.exp: Likewise.
1243 * gdb.ada/rec_comp.exp: Likewise.
1244 * gdb.ada/rec_return.exp: Likewise.
1245 * gdb.ada/ref_param.exp: Likewise.
1246 * gdb.ada/ref_tick_size.exp: Likewise.
1247 * gdb.ada/rename_subscript_param.exp: Likewise.
1248 * gdb.ada/repeat_dyn.exp: Likewise.
1249 * gdb.ada/same_component_name.exp: Likewise.
1250 * gdb.ada/same_enum.exp: Likewise.
1251 * gdb.ada/scalar_storage.exp: Likewise.
1252 * gdb.ada/set_wstr.exp: Likewise.
1253 * gdb.ada/small_reg_param.exp: Likewise.
1254 * gdb.ada/str_binop_equal.exp: Likewise.
1255 * gdb.ada/str_ref_cmp.exp: Likewise.
1256 * gdb.ada/str_uninit.exp: Likewise.
1257 * gdb.ada/sub_variant.exp: Likewise.
1258 * gdb.ada/sym_print_name.exp: Likewise.
1259 * gdb.ada/taft_type.exp: Likewise.
1260 * gdb.ada/tagged.exp: Likewise.
1261 * gdb.ada/tagged_access.exp: Likewise.
1262 * gdb.ada/task_bp.exp: Likewise.
1263 * gdb.ada/task_switch_in_core.exp: Likewise.
1264 * gdb.ada/tasks.exp: Likewise.
1265 * gdb.ada/tick_last_segv.exp: Likewise.
1266 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
1267 * gdb.ada/type_coercion.exp: Likewise.
1268 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
1269 * gdb.ada/unchecked_union.exp: Likewise.
1270 * gdb.ada/uninitialized_vars.exp: Likewise.
1271 * gdb.ada/var_arr_attrs.exp: Likewise.
1272 * gdb.ada/var_arr_typedef.exp: Likewise.
1273 * gdb.ada/var_rec_arr.exp: Likewise.
1274 * gdb.ada/variant-record.exp: Likewise.
1275 * gdb.ada/variant.exp: Likewise.
1276 * gdb.ada/variant_record_packed_array.exp: Likewise.
1277 * gdb.ada/varsize_limit.exp: Likewise.
1278 * gdb.ada/whatis_array_val.exp: Likewise.
1279 * gdb.ada/widewide.exp: Likewise.
1280 * gdb.ada/win_fu_syms.exp: Likewise.
1281
12822020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
1283
1284 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
1285
10c381b5
AB
12862020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
1287
1288 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
1289 unset the array variable.
1290
8f34b746
TV
12912020-08-03 Tom de Vries <tdevries@suse.de>
1292
1293 PR symtab/26333
1294 * lib/dwarf.exp (DW_LNE_user): New proc.
1295 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
1296 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
1297
0245e136
KB
12982020-07-31 Kevin Buettner <kevinb@redhat.com>
1299
1300 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
1301 to 'uintptr_t'
1302 (inttypes.h): Include.
1303
9ef1ec5d
KB
13042020-07-31 Kevin Buettner <kevinb@redhat.com>
1305
1306 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
1307 (C5_24k): Delete.
1308 (C5_8k, C5_64k, C5_256k): New macros.
1309 (buf_ro): Allocate 256 KiB of initialized data.
1310
4c55e970
TBA
13112020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1312
1313 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
1314 that attempt to overwrite an existing condition with a condition
1315 that fails parsing and also with a condition that parses fine
1316 but contains junk at the end.
1317
1e620590
TBA
13182020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1319
1320 * gdb.base/condbreak-bad.c: New test.
1321 * gdb.base/condbreak-bad.exp: New file.
1322
e12dcc50
TV
13232020-07-30 Tom de Vries <tdevries@suse.de>
1324
1325 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
1326 out of ...
1327 (GDBInfoModuleSymbols::check_entry): ... here.
1328 (GDBInfoModuleSymbols::check_optional_entry): New proc.
1329 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
1330 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
1331
6cc64caa
TV
13322020-07-30 Tom de Vries <tdevries@suse.de>
1333
1334 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
1335 "__class_some_module_Number_t" optional.
1336
90fd07fc
TV
13372020-07-29 Tom de Vries <tdevries@suse.de>
1338
1339 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
1340 multiple locations.
1341
f5c79e97
TV
13422020-07-29 Tom de Vries <tdevries@suse.de>
1343
1344 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
1345 rather than function name.
1346
f75a0693
AB
13472020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1348
1349 PR symtab/26270:
1350 * gdb.cp/disasm-func-name.cc: New file.
1351 * gdb.cp/disasm-func-name.exp: New file.
1352
4888741a
TT
13532020-07-28 Tom Tromey <tromey@adacore.com>
1354
1355 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
1356 'varval' location.
1357
43d5901d
AB
13582020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1359
1360 * gdb.python/py-unwind.py: Update to make use of a register
1361 descriptor.
1362
14fa8fb3
AB
13632020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1364
1365 * gdb.python/py-arch-reg-names.exp: Add additional tests.
1366
e79eb02f
AB
13672020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
1368
1369 PR fortran/23051
1370 PR fortran/26139
1371 * gdb.fortran/class-allocatable-array.exp: New file.
1372 * gdb.fortran/class-allocatable-array.f90: New file.
1373 * gdb.fortran/pointer-to-pointer.exp: New file.
1374 * gdb.fortran/pointer-to-pointer.f90: New file.
1375
876518dd
TV
13762020-07-25 Tom de Vries <tdevries@suse.de>
1377
1378 PR symtab/26243
1379 * gdb.dwarf2/dw2-line-number-zero.c: New test.
1380 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
1381
6dcfb80a
TV
13822020-07-24 Tom de Vries <tdevries@suse.de>
1383
1384 PR testsuite/26293
1385 * gdb.ada/mi_prot.exp: Require gnatmake-8.
1386
e7bc9db8
PA
13872020-07-23 Pedro Alves <pedro@palves.net>
1388
1389 * gdb.server/server-kill.exp (prepare): New, factored out from the
1390 top level.
1391 (kill_server): New.
1392 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
1393 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
1394
78344df7
AB
13952020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
1396
1397 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
1398
25dfed24
SL
13992020-07-22 Sandra Loosemore <sandra@codesourcery.com>
1400
1401 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
1402 Initialize to empty string at top level.
1403 (gdb_wrapper_init): Revert check for file existence on build.
1404 Build the wrapper in its default place, not a build-specific
1405 location. When host == build, make the pathname absolute.
1406 (gdb_compile): Delete leftover declaration of
1407 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
1408 string instead of uninitialized.
1409
7da515fd
KB
14102020-07-22 Kevin Buettner <kevinb@redhat.com>
1411
1412 * gdb.base/corefile2.exp: New file.
1413 * gdb.base/coremaker2.exp: New file.
1414
9c5ec5c2
KB
14152020-07-22 Kevin Buettner <kevinb@redhat.com>
1416
1417 * gdb.base/coredump-filter.exp: Add second
1418 non-Private-Shared-Anon-File test.
1419 (test_disasm): Rename binfile for test which is expected
1420 to fail.
1421
f9e233c9
KB
14222020-07-22 Kevin Buettner <kevinb@redhat.com>
1423
1424 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
1425 data in core file".
1426 * gdb.base/coremaker.c (buf2ro): New global.
1427 (mmapdata): Add a read-only mmap mapping.
1428
94c265d7
KB
14292020-07-22 Kevin Buettner <kevinb@redhat.com>
1430
1431 PR corefiles/25631
1432 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
1433 New test.
1434 * gdb.base/coremaker.c (buf3): New global.
1435 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
1436 flags.
1437
14382020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
1439
1440 * gdb.base/coremaker.c (filler_ro): New global constant.
1441
32fa152e
TT
14422020-07-22 Tom Tromey <tromey@adacore.com>
1443
1444 * gdb.ada/mi_prot.exp: New file.
1445 * gdb.ada/mi_prot/pkg.adb: New file.
1446 * gdb.ada/mi_prot/pkg.ads: New file.
1447 * gdb.ada/mi_prot/prot.adb: New file.
1448
c8474dc3
TBA
14492020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1450
1451 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
1452 loads two JITers.
1453
baf8791e
AB
14542020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
1455
1456 * gdb.python/py-arch-reg-groups.exp: Additional tests.
1457
f7306dac
AB
14582020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
1459
1460 * gdb.python/py-arch-reg-names.exp: Additional tests.
1461
6d3d6e4b
TV
14622020-07-21 Tom de Vries <tdevries@suse.de>
1463
1464 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
1465 breakpoint locations".
1466 * gdb.reverse/solib-reverse.exp: Same.
1467
803d0592
TV
14682020-07-21 Tom de Vries <tdevries@suse.de>
1469
1470 * gdb.reverse/step-reverse.c (callee): Merge statements.
1471
e9bdc510
TV
14722020-07-21 Tom de Vries <tdevries@suse.de>
1473
1474 * gdb.fortran/info-modules.exp (info module variables): Allow missing
1475 line numbers for some variables.
1476
f0f9e75a
TV
14772020-07-21 Tom de Vries <tdevries@suse.de>
1478
1479 * gdb.opt/inline-locals.c (init_array): New func.
1480 (func1): Use init_array.
1481 * gdb.opt/inline-locals.exp: Update pattern.
1482
bd460ecb
TV
14832020-07-21 Tom de Vries <tdevries@suse.de>
1484
1485 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
1486 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
1487
ae5369e7
LC
14882020-07-20 Ludovic Courtès <ludo@gnu.org>
1489
1490 * gdb.guile/source2.scm: Add #f first argument to 'format'.
1491 * gdb.guile/types-module.exp: Remove "ERROR:" from
1492 regexps since Guile 3.0 no longer prints that.
1493
68cf161c
LC
14942020-07-20 Ludovic Courtès <ludo@gnu.org>
1495
1496 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
1497 error regexp to match on Guile 2.2.
1498
c14b4913
GB
14992020-07-20 Gary Benson <gbenson@redhat.com>
1500
1501 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
1502 with clang.
1503
b243ba58
TV
15042020-07-20 Tom de Vries <tdevries@suse.de>
1505
1506 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
1507 (omp_set_lock_in_order): New function.
1508 (single_scope, multi_scope, nested_func, nested_parallel): Use
1509 omp_set_lock_in_order and omp_unset_lock.
1510 (main): Init and destroy lock and lock2.
1511
c06ad8b5
TV
15122020-07-20 Tom de Vries <tdevries@suse.de>
1513
1514 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
1515
6e22f117
TV
15162020-07-20 Tom de Vries <tdevries@suse.de>
1517
1518 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
1519
33176ea7
TV
15202020-07-17 Tom de Vries <tdevries@suse.de>
1521
1522 * gdb.base/valgrind-infcall-2.c: New test.
1523 * gdb.base/valgrind-infcall-2.exp: New file.
1524 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
1525
90c3ec2d
TV
15262020-07-17 Tom de Vries <tdevries@suse.de>
1527
1528 * gdb.dlang/circular.c (found): Use found_label as label name.
1529 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
1530 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
1531 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
1532 * gdb.dwarf2/ada-linkage-name.exp: Same.
1533 * gdb.dwarf2/arr-subrange.exp: Same.
1534 * gdb.dwarf2/atomic-type.exp: Same.
1535 * gdb.dwarf2/comp-unit-lang.exp: Same.
1536 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1537 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1538 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
1539 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
1540 * gdb.dwarf2/implptr-64bit.exp: Same.
1541 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
1542 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
1543 * gdb.dwarf2/imported-unit.exp: Same.
1544 * gdb.dwarf2/main-subprogram.exp: Same.
1545 * gdb.dwarf2/missing-type-name.exp: Same.
1546 * gdb.dwarf2/nonvar-access.exp: Same.
1547 * gdb.dwarf2/struct-with-sig.exp: Same.
1548 * gdb.dwarf2/typedef-void-finish.exp: Same.
1549 * gdb.dwarf2/void-type.exp: Same.
1550
10da644d
TV
15512020-07-17 Tom de Vries <tdevries@suse.de>
1552
1553 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
1554 src parameter.
1555 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
1556 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
1557 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1558 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1559 * gdb.dwarf2/dwz.exp: Same.
1560 * gdb.dwarf2/implptr-optimized-out.exp: Same.
1561 * gdb.dwarf2/implref-array.exp: Same.
1562 * gdb.dwarf2/implref-const.exp: Same.
1563 * gdb.dwarf2/implref-global.exp: Same.
1564 * gdb.dwarf2/implref-struct.exp: Same.
1565 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1566 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1567 * gdb.dwarf2/var-access.exp: Same.
1568 * gdb.dwarf2/varval.exp: Same.
1569 * gdb.trace/entry-values.exp: Same.
1570
315e6afc
TV
15712020-07-17 Tom de Vries <tdevries@suse.de>
1572
1573 * lib/dwarf.exp (Dwarf::extern): Remove.
1574 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
1575 * gdb.dlang/circular.exp: Same.
1576 * gdb.dwarf2/comp-unit-lang.exp: Same.
1577 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1578 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
1579 * gdb.dwarf2/dwz.exp: Same.
1580 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
1581 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
1582 * gdb.dwarf2/imported-unit.exp: Same.
1583 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1584
5597c940
SL
15852020-07-16 Sandra Loosemore <sandra@codesourcery.com>
1586
1587 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
1588 Use double quotes instead of single quotes.
1589
d0ce17d8
CT
15902020-07-16 Caroline Tice <cmtice@google.com>
1591
1592 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
1593 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
1594
853772cc
TV
15952020-07-16 Tom de Vries <tdevries@suse.de>
1596
1597 * lib/dwarf.exp (program): Initialize _line.
1598 (DW_LNE_end_sequence): Reinitialize _line.
1599 (DW_LNS_advance_line): Update _line.
1600 (line): New proc.
1601 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
1602 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
1603 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
1604 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
1605 * gdb.dwarf2/dw2-is-stmt.exp: Same.
1606 * gdb.dwarf2/dw2-ranges-func.exp: Same.
1607
fe07b572
AB
16082020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
1609
1610 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
1611 generic.
1612
52781cce
TV
16132020-07-15 Tom de Vries <tdevries@suse.de>
1614
1615 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
1616 is_amd64_regs_target.
1617
3dcc261c
AB
16182020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
1619
1620 * gdb.fortran/ptype-on-functions.exp: Add more tests.
1621 * gdb.fortran/ptype-on-functions.f90: Likewise.
1622
054a0959
SM
16232020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
1624
1625 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
1626 values in documentation for addr_size to 4 and 8.
1627
ccb9eba6
AB
16282020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
1629
1630 * gdb.arch/amd64-osabi.exp: Update.
1631 * gdb.arch/arm-disassembler-options.exp: Update.
1632 * gdb.arch/powerpc-disassembler-options.exp: Update.
1633 * gdb.arch/ppc64-symtab-cordic.exp: Update.
1634 * gdb.arch/s390-disassembler-options.exp: Update.
1635 * gdb.base/all-architectures.exp.tcl: Update.
1636 * gdb.base/attach-pie-noexec.exp: Update.
1637 * gdb.base/catch-syscall.exp: Update.
1638 * gdb.xml/tdesc-arch.exp: Update.
1639
025a39a7
TV
16402020-07-14 Tom de Vries <tdevries@suse.de>
1641
1642 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
1643 (local_gettid): ... this.
1644 (fn): Update.
1645
74e4b667
SL
16462020-07-13 Sandra Loosemore <sandra@codesourcery.com>
1647
1648 * gdb.base/info_sources.exp: Skip directory match tests on
1649 remote hosts.
1650
f413dd74
GB
16512020-07-13 Gary Benson <gbenson@redhat.com>
1652
1653 * gdb.base/savedregs.exp (caller): Use parentheses to
1654 make expected expression evaluation ordering explicit.
1655
915771bb
GB
16562020-07-13 Gary Benson <gbenson@redhat.com>
1657
1658 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
1659
2a122642
GB
16602020-07-13 Gary Benson <gbenson@redhat.com>
1661
1662 * gdb.base/bigcore.c (main): Use a volatile pointer when
1663 attempting to trigger a SIGSEGV.
1664 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
1665 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
1666 * gdb.base/savedregs.c (thrower): Likewise.
1667 * gdb.mi/mi-syn-frame.c (bar): Likewise.
1668
3f00c730
GB
16692020-07-13 Gary Benson <gbenson@redhat.com>
1670
1671 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
1672 defining and using VLA structure fields into...
1673 * gdb.base/vla-struct-fields.c: New file.
1674 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
1675 tests into...
1676 * gdb.base/vla-struct-fields.exp: New file.
1677
963eeee4
TV
16782020-07-13 Tom de Vries <tdevries@suse.de>
1679
1680 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
1681 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
1682 * gdb.base/gold-gdb-index.exp: Same.
1683 * gdb.base/morestack.exp: Same.
1684
0ed35c9a
DX
16852020-07-11 Daniel Xu <dxu@dxuuu.xyz>
1686
1687 PR rust/26121
1688 * gdb.rust/modules.rs: Prevent linker from discarding test
1689 symbol.
1690
4fdba23d
PA
16912020-07-10 Pedro Alves <pedro@palves.net>
1692
1693 PR gdb/26199
1694 * gdb.multi/multi-target.c (exit_thread): New.
1695 (thread_start): Break loop if EXIT_THREAD.
1696 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
1697 (top level) Call test_no_resumed.
1698
15f3b077
TT
16992020-07-08 Tom Tromey <tromey@adacore.com>
1700
1701 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
1702 * gdb.ada/catch_ex.exp: Examine catchpoint text.
1703
9fc501fd
AB
17042020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1705
1706 PR python/22748
1707 * gdb.opt/inline-frame-tailcall.c: New file.
1708 * gdb.opt/inline-frame-tailcall.exp: New file.
1709 * gdb.python/py-unwind-inline.c: New file.
1710 * gdb.python/py-unwind-inline.exp: New file.
1711 * gdb.python/py-unwind-inline.py: New file.
1712
64cb3757
AB
17132020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1714
1715 * gdb.python/py-arch-reg-groups.exp: New file.
1716
0f767f94
AB
17172020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1718
1719 * gdb.python/py-arch-reg-names.exp: New file.
1720
87dbc774
AB
17212020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1722
1723 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
1724 gdb.PendingFrame.architecture method.
1725
d8cc8af6
TV
17262020-07-06 Tom de Vries <tdevries@suse.de>
1727
1728 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
1729
3c8ea5be
PA
17302020-07-03 Pedro Alves <palves@redhat.com>
1731
1732 * gdb.base/structs2.c (main): Adjust second parem_reg call to
1733 explicitly write negative numbers.
1734 * gdb.base/structs2.exp: Adjust expected output.
1735
bf90c83a
PA
17362020-07-03 Pedro Alves <palves@redhat.com>
1737
1738 * gdb.base/charset.c (init_string): Change all char parameters to
1739 unsigned char parameters.
1740
2eb82157
PA
17412020-07-03 Pedro Alves <palves@redhat.com>
1742
1743 * gdb.base/call-sc.exp (start_scalars_test): Use
1744 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1745 * gdb.base/overlays.c: Remove references to PARAMS.
1746 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
1747 * gdb.base/reread.exp: Don't set 'prototypes' global.
1748 * gdb.base/structs.exp (start_structs_test): Use
1749 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1750 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
1751 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1752 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
1753 call.
1754 * gdb.base/varargs.exp: Don't set 'prototypes' global.
1755
9adda7af
PA
17562020-07-03 Pedro Alves <palves@redhat.com>
1757
1758 * gdb.base/m32rovly.c: Delete.
1759 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
1760
2a17c803
PW
17612020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1762
1763 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
1764 of gdb_py_test_multiple.
1765 * gdb.python/py-cmd.exp: Likewise.
1766 * gdb.python/py-events.exp: Likewise.
1767 * gdb.python/py-function.exp: Likewise.
1768 * gdb.python/py-inferior.exp: Likewise.
1769 * gdb.python/py-infthread.exp: Likewise.
1770 * gdb.python/py-linetable.exp: Likewise.
1771 * gdb.python/py-parameter.exp: Likewise.
1772 * gdb.python/py-value.exp: Likewise.
1773
b011fe1a
TV
17742020-06-30 Tom de Vries <tdevries@suse.de>
1775
1776 PR testsuite/26175
1777 * lib/future.exp (gdb_default_target_compile): Detect and handle
1778 early_flags.
1779
df5b8876
SM
17802020-06-29 Simon Marchi <simon.marchi@efficios.com>
1781
1782 * boards/simavr.exp (gdb_load): Catch errors when closing
1783 previous connection. Close connection, wait for process and
1784 unset simavr_spawn_id on failure.
1785
a3ca48cd
TV
17862020-06-29 Tom de Vries <tdevries@suse.de>
1787
1788 * lib/gdb.exp (unknown): Make test-case unresolved.
1789
b0237c0e
TV
17902020-06-29 Tom de Vries <tdevries@suse.de>
1791
1792 PR gdb/25475
1793 * gdb.server/solib-list.exp: Verify that the symbol reload
1794 confirmation question is asked.
1795
c0b3b3bd
PW
17962020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1797
1798 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
1799 have a input seq nr in each pass message.
fe4c3d43 1800 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
1801 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
1802 * gdb.python/python.exp: Make test names unique,
1803 use gdb_test_multiline instead of gdb_py_test_multiple,
1804 use $gdb_test_name.
1805 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
1806
1776e3e5
NA
18072020-06-26 Nick Alcock <nick.alcock@oracle.com>
1808
1809 * configure.ac: Add --enable-libctf.
1810 * aclocal.m4: sinclude ../config/enable.m4.
1811 * Makefile.in (site.exp): Add enable_libctf to site.exp.
1812 * lib/gdb.exp (skip_ctf_tests): Use it.
1813 * gdb.base/ctf-constvars.exp: Error message tweak.
1814 * gdb.base/ctf-ptype.exp: Likewise.
1815 * configure: Regenerate.
1816
f53b3eeb
GB
18172020-06-26 Gary Benson <gbenson@redhat.com>
1818
1819 * gdb.cp/try_catch.cc: Include string.h.
1820 (main): Replace comparison against string literal with
1821 strcmp, avoiding build failure with -Wstring-compare.
1822 Add "marker test-complete".
1823 * gdb.cp/try_catch.exp: Run the test to the above marker,
1824 then verify that the value of "test" is still true.
1825
6d74da72
AB
18262020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1827
1828 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
1829
2e52d038
AB
18302020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1831
1832 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
1833
3b9fce96
AB
18342020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1835
1836 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
1837 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
1838 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
1839 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
1840 * gdb.arch/riscv-tdesc-loading.exp: New file.
1841
ed69cbc8
AB
18422020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1843
1844 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
1845
767a879e
AB
18462020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1847
1848 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
1849 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
1850 * gdb.arch/riscv-tdesc-regs.c: New file.
1851 * gdb.arch/riscv-tdesc-regs.exp: New file.
1852
221db974
PA
18532020-06-24 Pedro Alves <palves@redhat.com>
1854
1855 * gdb.arch/amd64-entry-value-paramref.exp: Use
1856 prepare_for_testing_full and don't pass "c++" for the .S file
1857 build spec.
1858 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
1859 $options, since it's an assembly file. Remove -Wno-deprecated.
1860 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
1861 compiling C++ programs.
1862
331733cd
PA
18632020-06-24 Pedro Alves <palves@redhat.com>
1864
1865 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
1866 Clang, add "-Wno-unknown-warning-option" to the options.
1867
caa7fd04
AB
18682020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
1869
1870 * gdb.xml/tdesc-reload.c: New file.
1871 * gdb.xml/tdesc-reload.exp: New file.
1872 * gdb.xml/maint-xml-dump-01.xml: New file.
1873 * gdb.xml/maint-xml-dump-02.xml: New file.
1874 * gdb.xml/maint-xml-dump.exp: New file.
1875
bb8d1260
SL
18762020-06-23 Sandra Loosemore <sandra@codesourcery.com>
1877
1878 * lib/completion-support.exp (test_gdb_completion_offers_commands):
1879 Adjust for omitted commands when TUI is disabled.
1880
7e4b9c4c
GB
18812020-06-23 Gary Benson <gbenson@redhat.com>
1882 Pedro Alves <palves@redhat.com>
1883
1884 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
1885 * gdb.cp/nsimport.cc: Likewise.
1886 * gdb.cp/nsnested.cc: Likewise.
1887 * gdb.cp/nsnoimports.cc: Likewise.
1888 * gdb.cp/nsusing.cc: Likewise.
1889 * gdb.cp/smartp.cc: Likewise.
1890 * gdb.python/py-pp-integral.c: Likewise.
1891 * gdb.python/py-pp-re-notag.c: Likewise.
1892
2e573c0a
GB
18932020-06-23 Gary Benson <gbenson@redhat.com>
1894
1895 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
1896 * gdb.cp/nsimport.cc: Likewise.
1897 * gdb.cp/nsnested.cc: Likewise.
1898 * gdb.cp/nsnoimports.cc: Likewise.
1899 * gdb.cp/nsusing.cc: Likewise.
1900 * gdb.cp/smartp.cc: Likewise.
1901 * gdb.python/py-pp-integral.c: Likewise.
1902 * gdb.python/py-pp-re-notag.c: Likewise.
1903
746ebfe8
PW
19042020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1905
1906 * gdb.base/default-args.exp: New test.
1907 * gdb.base/default-args.c: New file.
1908 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
1909 * gdb.base/default.exp: Update to new help text.
1910 * gdb.base/help.exp: Likewise.
1911 * gdb.base/page.exp: Likewise.
1912 * gdb.base/style.exp: Likewise.
1913 * gdb.guile/guile.exp: Likewise.
1914 * gdb.python/python.exp: Likewise.
1915
e822f2cd
SL
19162020-06-22 Sandra Loosemore <sandra@codesourcery.com>
1917
1918 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
1919 remote host. Fix search path syntax on Windows host.
1920
48e9cc84
PW
19212020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1922
1923 * gdb.base/attach.exp: Test priority of 'exec-file' changed
1924 over 'exec-file-mismatch'.
1925 * gdb.base/attach.c: Mark should_exit volatile.
1926 * gdb.base/attach2.c: Likewise. Add a comment explaining
1927 why the sleep cannot be big.
1928 * gdb.base/attach3.c: New file.
1929
160f8a8f
SL
19302020-06-20 Sandra Loosemore <sandra@codesourcery.com>
1931
1932 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
1933 prefix optional.
1934
4d91c2a4
SL
19352020-06-20 Sandra Loosemore <sandra@codesourcery.com>
1936
1937 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
1938 for remote host.
1939
87f83f20
SL
19402020-06-19 Sandra Loosemore <sandra@codesourcery.com>
1941 Hafiz Abid Qadeer <abidh@codesourcery.com>
1942
1943 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
1944 file sent to remote host.
1945 (top level): Allow int32_t as type of 32-bit register.
1946
37ab8655
TV
19472020-06-19 Tom de Vries <tdevries@suse.de>
1948
1949 * lib/gdb.exp (gdb_note): New proc.
1950 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
1951 (gdb_default_target_compile): ... here. Only call
1952 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
1953 (use_gdb_compile): Change to array.
1954 (toplevel): Update sets of use_gdb_compile to specify language.
1955 Warn about default_target_compile override. Store dejagnu's version
1956 of default_target_compile in dejagnu_default_target_compile.
1957
a8a56685
TV
19582020-06-18 Tom de Vries <tdevries@suse.de>
1959
1960 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
1961 (default_gdb_init): ... here.
1962
581bea2c
SL
19632020-06-17 Sandra Loosemore <sandra@codesourcery.com>
1964
1965 Fix TUI support checks in gdb.tui tests.
1966
1967 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
1968 just say UNSUPPORTED.
1969 * gdb.tui/corefile-run.exp: Likewise.
1970 * gdb.tui/empty.exp: Likewise.
1971 * gdb.tui/list-before.exp: Likewise.
1972 * gdb.tui/list.exp: Likewise.
1973 * gdb.tui/main.exp: Likewise.
1974 * gdb.tui/regs.exp: Likewise.
1975 * gdb.tui/resize.exp: Likewise.
1976 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
1977 * gdb.tui/tui-layout-asm.exp: Likewise.
1978 * gdb.tui/tui-missing-src.exp: Likewise.
1979 * gdb.tui/winheight.exp: Likewise.
1980 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
1981
05e682e3
SL
19822020-06-17 Sandra Loosemore <sandra@codesourcery.com>
1983
1984 Fix TCL error in gdb.python/py-format-string.exp.
1985
1986 * gdb.python/py-format-string.exp: Move test for python support
1987 earlier, out of function body.
1988
efb763a5
SM
19892020-06-15 Simon Marchi <simon.marchi@efficios.com>
1990
1991 * gdb.base/index-cache-load-twice.c: New.
1992 * gdb.base/index-cache-load-twice.exp: New.
1993
43327b20
KS
19942020-06-17 Keith Seitz <keiths@redhat.com>
1995
99cf27cf 1996 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
1997 when executing "gdb --configuration".
1998
081e778c
TV
19992020-06-17 Tom de Vries <tdevries@suse.de>
2000
2001 * lib/gdb.exp (gdb_tcl_unknown): New proc.
2002 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
2003 conditional on presence of gdb_tcl_unknown.
2004 (gdb_finish): Make override undo conditional on presence of
2005 gdb_tcl_unknown.
2006
d2d1ea20
TT
20072020-06-16 Tom Tromey <tom@tromey.com>
2008
2009 * gdb.python/tui-window.py (failwin): New function. Register it
2010 as a TUI window type.
2011 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
2012
c802e8a7
GB
20132020-06-16 Gary Benson <gbenson@redhat.com>
2014
2015 * gdb.python/py-nested-maps.c (create_map): Add missing return
2016 value.
2017 (create_map_map): Likewise.
2018
ff08abb8
TBA
20192020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2020
2021 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
2022 variable.
2023 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
2024 and use the already-defined 'options' variable.
2025
a29d5112
AB
20262020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
2027 Tom de Vries <tdevries@suse.de>
2028
2029 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
2030 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
2031 (gdb_setup_known_globals): New proc.
2032 (gdb_cleanup_globals): New proc.
2033 * lib/gdb.exp (load_lib): New override proc.
2034 (gdb_stdin_log_init): Set var in_file as persistent global.
2035 * lib/pascal.exp (gdb_stdin_log_init): Set vars
2036 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
2037 fpc_compiler as persistent global.
2038
8c74a764
TV
20392020-06-12 Tom de Vries <tdevries@suse.de>
2040
2041 * lib/tuiterm.exp (spawn): Rename to ...
2042 (tui_spawn): ... this.
2043 (toplevel): Move rename of spawn ...
2044 (gdb_init_tuiterm): ... here. New proc.
2045 (gdb_finish_tuiterm): New proc.
2046 * lib/gdb.exp (gdb_finish_hooks): New global var.
2047 (gdb_finish): Handle gdb_finish_hooks.
2048 (tuiterm_env): New proc.
2049 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
2050 tuiterm_env.
2051 * gdb.tui/basic.exp: Same.
2052 * gdb.tui/corefile-run.exp: Same.
2053 * gdb.tui/empty.exp: Same.
2054 * gdb.tui/list-before.exp: Same.
2055 * gdb.tui/list.exp: Same.
2056 * gdb.tui/main.exp: Same.
2057 * gdb.tui/new-layout.exp: Same.
2058 * gdb.tui/regs.exp: Same.
2059 * gdb.tui/resize.exp: Same.
2060 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
2061 * gdb.tui/tui-layout-asm.exp: Same.
2062 * gdb.tui/tui-missing-src.exp: Same.
2063 * gdb.tui/winheight.exp: Same.
2064
26783bce
TV
20652020-06-12 Tom de Vries <tdevries@suse.de>
2066
2067 PR testsuite/26110
2068 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
2069 (gdb_finish): Reinstall dejagnu's override of ::unknown.
2070
2b4e6a3f
TT
20712020-06-11 Tom Tromey <tom@tromey.com>
2072
2073 PR gdb/18318:
2074 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
2075 floating point tests.
2076
2f33032a
KS
20772020-06-11 Keith Seitz <keiths@redhat.com>
2078
2079 PR gdb/21356
2080 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
2081 vla_struct.
2082 Add new struct vla_typedef and union vla_typedef_union and
2083 corresponding instantiation objects.
2084 Initialize new objects.
2085 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
2086 and vla_typedef_union_object.
2087 Fixup type for vla_struct_object.
2088
a8baf0a3
TV
20892020-06-11 Tom de Vries <tdevries@suse.de>
2090
2091 * lib/gdb.exp (with_override): New proc, factored out of ...
2092 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
2093
7ab96794
TV
20942020-06-10 Tom de Vries <tdevries@suse.de>
2095
2096 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
2097
cab5c3b7
SM
20982020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
2099
2100 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
2101 parameter, update callers.
2102
f8c41851
SM
21032020-06-04 Simon Marchi <simon.marchi@efficios.com>
2104
2105 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
2106 * gdb.dwarf2/share-psymtabs-bt.c: New file.
2107 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
2108
1c07a73f
TV
21092020-06-04 Tom de Vries <tdevries@suse.de>
2110
2111 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
2112
95146b5d
TV
21132020-06-04 Tom de Vries <tdevries@suse.de>
2114
2115 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
2116 exp_continue.
2117
0cfcd4f0
TV
21182020-06-04 Tom de Vries <tdevries@suse.de>
2119
2120 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
2121
f9b5d5ea
TV
21222020-06-03 Tom de Vries <tdevries@suse.de>
2123
2124 PR symtab/26046
2125 * gdb.cp/breakpoint-locs-2.cc: New test.
2126 * gdb.cp/breakpoint-locs.cc: New test.
2127 * gdb.cp/breakpoint-locs.exp: New file.
2128 * gdb.cp/breakpoint-locs.h: New test.
2129
5144dfba
TV
21302020-06-03 Tom de Vries <tdevries@suse.de>
2131
2132 PR testsuite/25609
2133 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
2134 value of global verbose.
2135 * gdb.base/jit-elf.exp: Same.
2136 * gdb.base/jit-reader.exp: Same.
2137
621eacdf
TV
21382020-06-02 Tom de Vries <tdevries@suse.de>
2139
2140 * gdb.dwarf2/multidictionary.exp: Don't use
2141 gdb_spawn_with_cmdline_opts.
2142
1313c56e
AB
21432020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
2144
2145 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
2146 use_header case.
2147 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
2148 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
2149 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
2150 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
2151 * gdb.dwarf2/dw2-inline-header.c: New file.
2152 * gdb.dwarf2/dw2-inline-header.h: New file.
2153
f68f85b5
PA
21542020-05-30 Pedro Alves <palves@redhat.com>
2155
2156 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
2157 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
2158
678048e8
GB
21592020-05-29 Gary Benson <gbenson@redhat.com>
2160
2161 * gdb.compile/compile-cplus.exp (additional_flags): Also
2162 set when building with clang.
2163 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
2164 when building with clang.
2165
9fcafd23
GB
21662020-05-29 Gary Benson <gbenson@redhat.com>
2167
2168 * gdb.arch/i386-avx.exp (additional_flags): Also set when
2169 building with clang.
2170 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
2171
735d5a07
GB
21722020-05-29 Gary Benson <gbenson@redhat.com>
2173
2174 * gdb.cp/koenig.exp (prepare_for_testing): Add
2175 additional_flags=-Wno-unused-comparison.
2176 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
2177
4ad2c6a0
GB
21782020-05-28 Gary Benson <gbenson@redhat.com>
2179
2180 * gdb.base/sigaltstack.c (catcher): Add default case to switch
2181 statement.
2182
09fe663e
GB
21832020-05-28 Gary Benson <gbenson@redhat.com>
2184
2185 * gdb.cp/classes.exp (prepare_for_testing): Add
2186 additional_flags=-Wno-deprecated-register.
2187 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
2188 * gdb.cp/misc.exp: Likewise.
2189
cee00f17
GB
21902020-05-28 Gary Benson <gbenson@redhat.com>
2191
2192 * gdb.linespec/cpls-ops.cc (dummy): New static global.
2193 (test_op_new::operator new): Add return statement.
2194 (test_op_new_array::operator new[]): Likewise.
2195
636edd00
PA
21962020-05-27 Pedro Alves <palves@redhat.com>
2197
2198 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
2199 check. Use test_gdb_complete_unique instead of
2200 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
2201 test_gdb_complete_multiple instead of
2202 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
2203
c2b75043
LM
22042020-05-27 Luis Machado <luis.machado@linaro.org>
2205
2206 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
2207 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
2208 * gdb.arch/arm-disassembler-options.exp: Likewise.
2209 * gdb.arch/arm-disp-step.exp: Likewise.
2210 * gdb.arch/thumb-prologue.exp: Likewise.
2211 * gdb.base/async.exp: Likewise.
2212 * gdb.base/auxv.exp: Likewise.
2213 * gdb.base/complex-parts.exp: Likewise.
2214 * gdb.base/ena-dis-br.exp: Likewise.
2215 * gdb.base/foll-exec.exp: Likewise.
2216 * gdb.base/permissions.exp: Likewise.
2217 * gdb.base/relocate.exp: Likewise.
2218 * gdb.base/return2.exp: Likewise.
2219 * gdb.base/sigbpt.exp: Likewise.
2220 * gdb.base/siginfo-obj.exp: Likewise.
2221 * gdb.cp/converts.exp: Likewise.
2222 * gdb.cp/exceptprint.exp: Likewise.
2223 * gdb.cp/inherit.exp: Likewise.
2224 * gdb.cp/nsnoimports.exp: Likewise.
2225 * gdb.cp/virtbase2.exp: Likewise.
2226 * gdb.mi/mi-var-cmd.exp: Likewise.
2227 * gdb.mi/var-cmd.c: Likewise.
2228
53a47a3e
TT
22292020-05-26 Tom Tromey <tromey@adacore.com>
2230
2231 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
2232
0bc2354b
TT
22332020-05-26 Tom Tromey <tromey@adacore.com>
2234
2235 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
2236 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
2237 type.
2238 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
2239 variable.
2240
0db49895
CBG
22412020-05-26 Christian Biesinger <cbiesinger@google.com>
2242
2243 * Makefile.in: Use = instead of == for the test command
2244 for portability.
2245
40d22035
TV
22462020-05-26 Tom de Vries <tdevries@suse.de>
2247
2248 * gdb.base/gold-gdb-index-2.c: New test.
2249 * gdb.base/gold-gdb-index.c: New test.
2250 * gdb.base/gold-gdb-index.exp: New file.
2251 * gdb.base/gold-gdb-index.h: New test.
2252
043e2e02
TV
22532020-05-25 Tom de Vries <tdevries@suse.de>
2254
2255 * boards/gold-gdb-index.exp: New file.
2256
462f72c5
SM
22572020-05-25 Simon Marchi <simon.marchi@efficios.com>
2258
2259 * boards/simavr.exp: New file.
2260
6cf66e76
SM
22612020-05-25 Simon Marchi <simon.marchi@efficios.com>
2262
2263 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
2264 * gdb.base/inferior-args.exp: New file.
2265 * gdb.base/inferior-args.c: New file.
2266
75d04512
SM
22672020-05-25 Simon Marchi <simon.marchi@efficios.com>
2268
2269 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
2270 inferior_args. Pass it to gdb_reload.
2271 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
2272 inferior_args.
2273 (gdb_reload): Add inferior_args argument.
2274 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
2275 pass it to gdbserver_run.
2276 * boards/native-gdbserver.exp: Do not set noargs.
2277 * boards/native-extended-gdbserver.exp (gdb_reload): Add
2278 inferior_args argument.
2279 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
2280 * gdb.base/a2-run.exp: Check for use_gdb_stub.
2281 * gdb.base/args.exp: Likewise.
2282
42cf1844
TV
22832020-05-25 Tom de Vries <tdevries@suse.de>
2284
2285 * lib/gdb.exp (exec_is_pie): Add comment.
2286
8f7d38ef
TV
22872020-05-25 Tom de Vries <tdevries@suse.de>
2288
2289 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
2290 instead of $binfile in the untested message.
2291
465e1b0f
TV
22922020-05-25 Tom de Vries <tdevries@suse.de>
2293
2294 PR testsuite/26031
2295 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
2296
3c5a0e02
TV
22972020-05-25 Tom de Vries <tdevries@suse.de>
2298
2299 * boards/gold.exp: New file.
2300
0a4f5f8c
TT
23012020-05-23 Tom Tromey <tom@tromey.com>
2302
2303 * gdb.base/style.exp: Remove completion styling test.
2304 * lib/gdb-utils.exp (style): Remove completion styles.
2305
eca1f90c
TT
23062020-05-23 Tom Tromey <tom@tromey.com>
2307
2308 * gdb.base/style.exp: Add completion styling test.
2309 * lib/gdb-utils.exp (style): Add completion styles.
2310
7c13f4e8
AB
23112020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
2312
2313 * gdb.base/annota1.exp: Update expected results.
2314 * gdb.cp/annota2.exp: Update expected results, remove duplicate
2315 test name.
2316 * gdb.cp/annota3.exp: Update expected results.
2317
41977d16
SM
23182020-05-20 Simon Marchi <simon.marchi@efficios.com>
2319
2320 PR gdb/26016
2321 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
2322 against MAP_FAILED.
2323 * gdb.base/coremaker.c (mmapdata): Likewise.
2324 * gdb.base/jit-reader-host.c (main): Likewise.
2325 * gdb.base/sym-file-loader.c (load): Likewise.
2326 (load_shlib): Likewise.
2327
b4757f2e
TT
23282020-05-20 Tom Tromey <tromey@adacore.com>
2329
2330 * gdb.ada/array_char_idx.exp: Recognize initialized array.
2331
9a0bacfb
TV
23322020-05-20 Tom de Vries <tdevries@suse.de>
2333
2334 PR symtab/25833
2335 * gdb.base/with-mf-inc.c: New test.
2336 * gdb.base/with-mf-main.c: New test.
2337 * gdb.base/with-mf.exp: New file.
2338
76571211
TT
23392020-05-19 Tom Tromey <tromey@adacore.com>
2340
2341 * gdb.rust/simple.exp: Restore missing test result.
2342
4cd9f3d5
TV
23432020-05-19 Tom de Vries <tdevries@suse.de>
2344
2345 * gdb.base/gdb-caching-proc.exp: Fix typo.
2346
7d874253
TT
23472020-05-19 Tom Tromey <tromey@adacore.com>
2348
2349 * gdb.rust/simple.exp: Add some test descriptions.
2350 (test_one_slice): Use with_test_prefix.
2351
1d727695
TV
23522020-05-18 Tom de Vries <tdevries@suse.de>
2353
2354 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
2355
7f32a4d5
PA
23562020-05-17 Pedro Alves <palves@redhat.com>
2357
2358 PR gdb/25741
2359 * gdb.base/hw-sw-break-same-address.exp: New file.
2360
7cfd74cf
PA
23612020-05-16 Pedro Alves <palves@redhat.com>
2362
2363 * gdb.multi/multi-re-run.exp (test_re_run): Switch
2364 LAST_LOADED_FILE accordingly.
2365
57b4f16e
PW
23662020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2367
2368 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
2369
7c05caf7
PW
23702020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2371
2372 * gdb.base/help.exp: Test apropos and help for commands
2373 having aliases. Fixed comments not starting with an
2374 upper-case letter or not finishing with a dot.
2375
7aa1b46f
PW
23762020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2377
3b3aaacb
PW
2378 * gdb.base/alias.exp: Update help output check.
2379
57b4f16e 23802020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 2381
7aa1b46f
PW
2382 * gdb.base/default.exp: Update output following fixes.
2383
0605465f
PW
23842020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2385
2386 * gdb.base/alias.exp: Test aliases starting with a prefix of
2387 another alias.
2388
86e4e63d
GB
23892020-05-15 Gary Benson <gbenson@redhat.com>
2390
2391 * gdb.base/info-os.c (main): Add return statement.
2392 * gdb.base/info_minsym.c (minsym_fun): Likewise.
2393 * gdb.base/large-frame-2.c (func): Likewise.
2394 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
2395 * gdb.base/pr10179-b.c (foo2): Likewise.
2396 * gdb.base/valgrind-disp-step.c (foo): Likewise.
2397 * gdb.base/watch-cond.c (func): Likewise.
2398 * gdb.multi/goodbye.c (verylongfun): Likewise.
2399 * gdb.multi/hello.c (commonfun): Likewise.
2400 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
2401 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
2402 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
2403 Likewise.
2404 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
2405 * gdb.threads/interrupt-while-step-over.c (child_function):
2406 Likewise.
2407 * gdb.trace/actions-changed.c (end): Likewise.
2408
163df4df
GB
24092020-05-15 Gary Benson <gbenson@redhat.com>
2410
2411 * gdb.opencl/callfuncs.exp: Report when test skipped.
2412 * gdb.opencl/convs_casts.exp: Likewise.
2413 * gdb.opencl/datatypes.exp: Likewise.
2414 * gdb.opencl/operators.exp: Likewise.
2415 * gdb.opencl/vec_comps.exp: Likewise.
2416
6dbc505a
TV
24172020-05-15 Tom de Vries <tdevries@suse.de>
2418
2419 * gdb.base/align.exp.in: Rename to ...
2420 * gdb.base/align.exp.tcl: ... this.
2421 * gdb.base/align-c++.exp: Update.
2422 * gdb.base/align-c.exp: Update.
2423 * gdb.base/all-architectures.exp.in: Rename to ...
2424 * gdb.base/all-architectures.exp: ... this.
2425 * gdb.base/all-architectures-0.exp: Update.
2426 * gdb.base/all-architectures-1.exp: Update.
2427 * gdb.base/all-architectures-2.exp: Update.
2428 * gdb.base/all-architectures-3.exp: Update.
2429 * gdb.base/all-architectures-4.exp: Update.
2430 * gdb.base/all-architectures-5.exp: Update.
2431 * gdb.base/all-architectures-6.exp: Update.
2432 * gdb.base/all-architectures-7.exp: Update.
2433 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
2434 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
2435 * gdb.base/infcall-nested-structs-c++.exp: Update.
2436 * gdb.base/infcall-nested-structs-c.exp: Update.
2437 * gdb.base/info-types.exp.in: Rename to ...
2438 * gdb.base/info-types.exp.tcl: ... this.
2439 * gdb.base/info-types-c++.exp: Update.
2440 * gdb.base/info-types-c.exp: Update.
2441 * gdb.base/max-depth.exp.in: Rename to ...
2442 * gdb.base/max-depth.exp.tcl: ... this.
2443 * gdb.base/max-depth-c++.exp: Update.
2444 * gdb.base/max-depth-c.exp: Update.
2445 * gdb.cp/cpexprs.exp.in: Rename to ...
2446 * gdb.cp/cpexprs.exp.tcl: ... this.
2447 * gdb.cp/cpexprs-debug-types.exp: Update.
2448 * gdb.cp/cpexprs.exp: Update.
2449 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
2450 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
2451 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
2452 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
2453 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
2454 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
2455 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
2456 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
2457 * gdb.dwarf2/clang-debug-names-2.exp: Update.
2458 * gdb.dwarf2/clang-debug-names.exp: Update.
2459
d1034d78
AB
24602020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
2461
2462 * lib/check-test-names.exp: Remove code that prevents this file
2463 loading when tests are run in parallel.
2464
3c5c3649
PA
24652020-05-15 Pedro Alves <palves@redhat.com>
2466
2467 * gdb.multi/multi-kill.exp (start_inferior): Remove
2468 'testpid' parameter. Refer to namespace variable directly.
2469 (testpid): Declare as namespace variable.
2470
272c36b8
PA
24712020-05-15 Pedro Alves <palves@redhat.com>
2472
2473 * gdb.multi/multi-kill.exp: Wrap in namespace.
2474 (start_inferior): Add TESTPID parameter. Use it instead of the
2475 testpid global.
2476 (top level): Define empty TESTPID array, and pass it down to
2477 start_inferior.
2478
02eba61a
TV
24792020-05-14 Tom de Vries <tdevries@suse.de>
2480
2481 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
2482 output.
2483
971a3747
TV
24842020-05-14 Tom de Vries <tdevries@suse.de>
2485
2486 * gdb.base/align.exp: Split into ...
2487 * gdb.base/align.exp.in: ...
2488 * gdb.base/align-c++.exp: ...
2489 * gdb.base/align-c.exp: ... these.
2490 * gdb.base/infcall-nested-structs.exp: Split into ...
2491 * gdb.base/infcall-nested-structs.exp.in: ...
2492 * gdb.base/infcall-nested-structs-c++.exp: ...
2493 * gdb.base/infcall-nested-structs-c.exp: ... these.
2494 * gdb.base/info-types.exp: Split into ...
2495 * gdb.base/info-types.exp.in: ...
2496 * gdb.base/info-types-c++.exp: ...
2497 * gdb.base/info-types-c.exp: ... these.
2498 * gdb.base/max-depth.exp: Split into ...
2499 * gdb.base/max-depth.exp.in: ...
2500 * gdb.base/max-depth-c++.exp: ...
2501 * gdb.base/max-depth-c.exp: ... these.
2502 * gdb.cp/infcall-nodebug.exp: Split into ...
2503 * gdb.cp/infcall-nodebug.exp.in: ...
2504 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
2505 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
2506 * gdb.cp/infcall-nodebug-c-d0.exp: ...
2507 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
2508
a05575d3
TBA
25092020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2510 Pedro Alves <palves@redhat.com>
2511
2512 * gdb.multi/multi-exit.c: New file.
2513 * gdb.multi/multi-exit.exp: New file.
2514 * gdb.multi/multi-kill.c: New file.
2515 * gdb.multi/multi-kill.exp: New file.
2516
6ad82919
TBA
25172020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2518
2519 * gdb.base/annota1.exp: Update the expected output.
2520 * gdb.cp/annota2.exp: Ditto.
2521
843f4d93
AB
25222020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
2523
2524 * lib/check-test-names.exp: Disable when testing is being run in
2525 parallel.
2526
c7c66341
TV
25272020-05-12 Tom de Vries <tdevries@suse.de>
2528
2529 * gdb.base/jit-elf.exp: Fix string concat.
2530
1b59ca1c
TV
25312020-05-12 Tom de Vries <tdevries@suse.de>
2532
2533 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
2534 messages.
2535
b4991d29
TV
25362020-05-12 Tom de Vries <tdevries@suse.de>
2537
2538 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
2539
dbb0ab10
TV
25402020-05-12 Tom de Vries <tdevries@suse.de>
2541
2542 * gdb.ada/catch_ex.exp: Use with_test_prefix.
2543 * gdb.ada/mi_catch_ex.exp: Same.
2544 * gdb.ada/mi_catch_ex_hand.exp: Same.
2545
7549fed8
TV
25462020-05-12 Tom de Vries <tdevries@suse.de>
2547
2548 * gdb.fortran/complex.exp: Use with_test_prefix.
2549
af2d5cd8
TV
25502020-05-12 Tom de Vries <tdevries@suse.de>
2551
2552 * gdb.trace/passcount.exp: Fix test-names.
2553
7c121311
TV
25542020-05-12 Tom de Vries <tdevries@suse.de>
2555
2556 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
2557
c9f3b40e
TV
25582020-05-12 Tom de Vries <tdevries@suse.de>
2559
2560 * gdb.gdb/complaints.exp: Use with_test_prefix.
2561 * gdb.xml/tdesc-regs.exp: Same.
2562 * gdb.opt/inline-locals.exp: Fix test name.
2563
111b33f0
TV
25642020-05-12 Tom de Vries <tdevries@suse.de>
2565
2566 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
2567 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
2568 * gdb.dwarf2/implref-struct.exp: Same.
2569 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
2570 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
2571
ebf47080
SM
25722020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
2573
2574 * gdb.base/jit-so.exp (one_jit_test): Change test name.
2575
d30dcd12
AB
25762020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
2577
2578 * lib/check-test-names.exp (all_test_names): New module variable.
2579 (counts): Add 'duplicates' field.
2580 (_check_duplicates): New procedure.
2581 (check): Also check for duplicates.
2582 (do_log_summary): Print duplicates count.
2583 (do_reset_vars): Reset counter for duplicate test names, and
2584 discard all know test names.
2585
34584c09
AB
25862020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
2587
2588 * lib/gdb.exp: Include check-test-names.exp library.
2589 * lib/check-test-names.exp: New file.
2590
e0002117
TV
25912020-05-11 Tom de Vries <tdevries@suse.de>
2592
2593 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
2594
53f539a3
KS
25952020-05-11 Keith Seitz <keiths@redhat.com>
2596
2597 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
2598
113ee09a
TV
25992020-05-11 Tom de Vries <tdevries@suse.de>
2600
2601 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
2602 * gdb.cp/cpexprs.exp.in: .. here.
2603 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
2604 cpexprs.exp.
2605
ba3e70b0
KS
26062020-05-11 Keith Seitz <keiths@redhat.com>
2607
2608 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
2609 test names.
2610 * gdb.ada/arrayptr.exp: Likewise.
2611 * gdb.ada/assign_arr.exp: Likewise.
2612 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
2613 * gdb.ada/bp_on_var.exp: Likewise.
2614 * gdb.ada/call_pn.exp: Likewise.
2615 * gdb.ada/complete.exp: Likewise.
2616 * gdb.ada/fun_overload_menu.exp: Likewise.
2617 * gdb.ada/funcall_param.exp: Likewise.
2618 * gdb.ada/funcall_ref.exp: Likewise.
2619 * gdb.ada/packed_array_assign.exp: Likewise.
2620 * gdb.ada/same_component_name.exp: Likewise.
2621 * gdb.ada/type_coercion.exp: Likewise.
2622 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
2623 * gdb.ada/variant_record_packed_array.exp: Likewise.
2624
3ee6bb11
TV
26252020-05-11 Tom de Vries <tdevries@suse.de>
2626
2627 PR symtab/25941
2628 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
2629 out of ...
2630 * gdb.dwarf2/clang-debug-names.exp: ... here.
2631 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
2632 clang-debug-names.exp.in.
2633 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
2634 * gdb.dwarf2/clang-debug-names-2.c: New test.
2635
86cd6bc8
AKS
26362020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
2637
2638 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
2639 (fortran_runto_main): New Proc, fortran version of runto_main.
2640 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
2641 * gdb.fortran/array-bounds.exp: Likewise.
2642 * gdb.fortran/array-slices.exp: Likewise.
2643 * gdb.fortran/block-data.exp: Likewise.
2644 * gdb.fortran/charset.exp: Likewise.
2645 * gdb.fortran/common-block.exp: Likewise.
2646 * gdb.fortran/complex.exp: Likewise.
2647 * gdb.fortran/derived-type-function.exp: Likewise.
2648 * gdb.fortran/derived-type.exp: Likewise.
2649 * gdb.fortran/info-modules.exp: Likewise.
2650 * gdb.fortran/info-types.exp: Likewise.
2651 * gdb.fortran/intrinsics.exp: Likewise.
2652 * gdb.fortran/library-module.exp: Likewise.
2653 * gdb.fortran/logical.exp: Likewise.
2654 * gdb.fortran/max-depth.exp: Likewise.
2655 * gdb.fortran/module.exp: Likewise.
2656 * gdb.fortran/multi-dim.exp: Likewise.
2657 * gdb.fortran/nested-funcs.exp: Likewise.
2658 * gdb.fortran/print-formatted.exp: Likewise.
2659 * gdb.fortran/print_type.exp: Likewise.
2660 * gdb.fortran/printing-types.exp: Likewise.
2661 * gdb.fortran/ptr-indentation.exp: Likewise.
2662 * gdb.fortran/ptype-on-functions.exp: Likewise.
2663 * gdb.fortran/subarray.exp: Likewise.
2664 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
2665 * gdb.fortran/vla-datatypes.exp: Likewise.
2666 * gdb.fortran/vla-history.exp: Likewise.
2667 * gdb.fortran/vla-ptr-info.exp: Likewise.
2668 * gdb.fortran/vla-ptype-sub.exp: Likewise.
2669 * gdb.fortran/vla-ptype.exp: Likewise.
2670 * gdb.fortran/vla-sizeof.exp: Likewise.
2671 * gdb.fortran/vla-type.exp: Likewise.
2672 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
2673 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
2674 * gdb.fortran/vla-value-sub.exp: Likewise.
2675 * gdb.fortran/vla-value.exp: Likewise.
2676 * gdb.fortran/whatis_type.exp: Likewise.
2677 * gdb.mi/mi-var-child-f.exp: Likewise.
2678
6dc55ce9 26792020-05-09 Tom de Vries <tdevries@suse.de>
2680
2681 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
2682
283cb58c
TV
26832020-05-08 Tom de Vries <tdevries@suse.de>
2684
2685 * gdb.dwarf2/clang-debug-names.c: New test.
2686 * gdb.dwarf2/clang-debug-names.exp: New file.
2687
ac4a4f1c
SM
26882020-05-06 Simon Marchi <simon.marchi@efficios.com>
2689
2690 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
2691 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
2692
24fe640b
TV
26932020-05-06 Tom de Vries <tdevries@suse.de>
2694
2695 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
2696 breakpoint is at a "recommended breakpoint location".
2697 * gdb.reverse/consecutive-reverse.exp: Same.
2698
0d8683a3
TV
26992020-05-06 Tom de Vries <tdevries@suse.de>
2700
2701 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
2702 address.
2703
b8983c46
TV
27042020-05-06 Tom de Vries <tdevries@suse.de>
2705
2706 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
2707
abf6d805
TV
27082020-05-06 Tom de Vries <tdevries@suse.de>
2709
2710 * gdb.base/store.exp (check_set, up_set): Allowing missing location
2711 info for r.
2712
0fc2a808
TV
27132020-05-06 Tom de Vries <tdevries@suse.de>
2714
2715 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
2716 necessary.
2717
873dd427
TV
27182020-05-06 Tom de Vries <tdevries@suse.de>
2719
2720 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
2721 void.
2722
7c99e7e2
TV
27232020-05-06 Tom de Vries <tdevries@suse.de>
2724
2725 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
2726 of ...
2727 * gdb.base/async.exp: ... here.
2728 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
2729 "recommended breakpoint location".
2730
6173d6a6
TV
27312020-05-06 Tom de Vries <tdevries@suse.de>
2732
2733 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
2734
6015a067
TV
27352020-05-04 Tom de Vries <tdevries@suse.de>
2736
2737 * gdb.base/async.exp: Check whether instruction addresses are a
2738 "recommended breakpoint location".
2739
3b6acaee
TT
27402020-05-03 Tom Tromey <tom@tromey.com>
2741
2742 * gdb.base/sepdebug.exp: Remove "catch" test.
2743 * gdb.base/break.exp: Remove "catch" test.
2744 * gdb.base/default.exp: Update expected output.
2745
5beb4d17
TV
27462020-05-02 Tom de Vries <tdevries@suse.de>
2747
2748 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
2749 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
2750 * gdb.arch/i386-mpx-map.exp: Same.
2751 * gdb.arch/i386-mpx-sigsegv.exp: Same.
2752 * gdb.arch/i386-mpx-simple_segv.exp: Same.
2753 * gdb.arch/i386-mpx.exp: Same.
2754
8caf140d
TV
27552020-05-02 Tom de Vries <tdevries@suse.de>
2756
2757 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
2758
693196cb
TV
27592020-05-01 Tom de Vries <tdevries@suse.de>
2760
2761 * gdb.ada/operator_bp.exp: Allow more than required amount of
2762 breakpoint.
2763
53ae0aa9
TV
27642020-05-01 Tom de Vries <tdevries@suse.de>
2765
2766 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
2767
ee9d1e5f
HD
27682020-04-30 Hannes Domani <ssbssa@yahoo.de>
2769
2770 PR gdb/18706
2771 * gdb.cp/stub-array-size.cc: New test.
2772 * gdb.cp/stub-array-size.exp: New file.
2773 * gdb.cp/stub-array-size.h: New test.
2774 * gdb.cp/stub-array-size2.cc: New test.
2775
d5cf82c0
HD
27762020-04-30 Hannes Domani <ssbssa@yahoo.de>
2777
2778 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
2779 output to the new format.
2780
42e165c3
SM
27812020-04-29 Simon Marchi <simon.marchi@efficios.com>
2782
2783 * gdb.base/break.exp: Use with_test_prefix.
2784
6e4e3fe1
TV
27852020-04-29 Tom de Vries <tdevries@suse.de>
2786
2787 * lib/gdb.exp (debug_types): New proc.
2788 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
2789 * gdb.python/py-symtab.exp: Same.
2790
d642b692
HD
27912020-04-29 Hannes Domani <ssbssa@yahoo.de>
2792
2793 PR gdb/17320
2794 * gdb.base/pretty-array.c: New test.
2795 * gdb.base/pretty-array.exp: New file.
2796
ea90f227
TV
27972020-04-29 Tom de Vries <tdevries@suse.de>
2798
2799 PR symtab/25889
2800 * gdb.cp/cpexprs.exp: Adapt for inclusion.
2801 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
2802 and include cpexprs.exp.
2803
a65189c9
TV
28042020-04-28 Mark Williams <mark@myosotissp.com>
2805
2806 PR gdb/24480
2807 * dw4-toplevel-types.exp: Test for top level types.
2808 * dw4-toplevel-types.cc: Test for top level types.
2809
32d1f47a
TBA
28102020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2811
2812 * gdb.threads/stop-with-handle.exp: Fix typo in comment
2813 (theads -> threads).
2814
56a4f5a1
TV
28152020-04-28 Tom de Vries <tdevries@suse.de>
2816
2817 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
2818
0b2f8a3b
TV
28192020-04-28 Tom de Vries <tdevries@suse.de>
2820
2821 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
2822
5390c717
TV
28232020-04-28 Tom de Vries <tdevries@suse.de>
2824
2825 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
2826
15cd93d0
TV
28272020-04-28 Tom de Vries <tdevries@suse.de>
2828
2829 * gdb.dwarf2/main-foo.c: New test.
2830 * gdb.dwarf2/struct-with-sig.exp: New file.
2831
d472f0fb
TV
28322020-04-25 Tom de Vries <tdevries@suse.de>
2833
2834 * boards/debug-types.exp: New file.
2835
8d840e05
AB
28362020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
2837
2838 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
2839
bcfe6157
TT
28402020-04-24 Tom Tromey <tom@tromey.com>
2841
2842 PR symtab/12707:
2843 * gdb.python/py-symbol.exp: Update expected results for
2844 linkage_name test.
2845 * gdb.cp/print-demangle.exp: New file.
2846 * gdb.base/c-linkage-name.exp: Fix test.
2847 * gdb.guile/scm-symbol.exp: Update expected results for
2848 linkage_name test.
2849
f049a313
TT
28502020-04-24 Tom Tromey <tom@tromey.com>
2851
2852 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
2853 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
2854 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
2855 assembler.
2856
7cf28874
TV
28572020-04-24 Tom de Vries <tdevries@suse.de>
2858
2859 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
2860 C++.
2861
dac2fef7
TT
28622020-04-24 Tom Tromey <tromey@adacore.com>
2863
2864 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
2865 values.
2866 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
2867 values. Update test for minimal encodings.
2868 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
2869 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
2870 values. Update test for minimal encodings.
2871
1acda803
TT
28722020-04-24 Tom Tromey <tromey@adacore.com>
2873
2874 PR python/23662:
2875 * gdb.ada/variant.exp: Add Python checks.
2876 * gdb.rust/simple.exp: Add dynamic type checks.
2877
adfb9815
TT
28782020-04-24 Tom Tromey <tromey@adacore.com>
2879
2880 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
2881 Make array type matching more lax.
2882 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
2883 * gdb.ada/mi_variant.exp: New file.
2884 * gdb.ada/mi_variant/pck.ads: New file.
2885 * gdb.ada/mi_variant/pkg.adb: New file.
2886 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
2887 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
2888
7d79de9a
TT
28892020-04-24 Tom Tromey <tromey@adacore.com>
2890
2891 * gdb.ada/variant.exp: Add dynamic field offset tests.
2892 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
2893 * gdb.ada/variant/pkg.adb: Add new variables.
2894
f8e89861
TT
28952020-04-24 Tom Tromey <tromey@adacore.com>
2896
2897 * gdb.ada/variant.exp: New file
2898 * gdb.ada/variant/pkg.adb: New file
2899 * gdb.ada/variant/pck.adb: New file
2900
86e887ae
TV
29012020-04-24 Tom de Vries <tdevries@suse.de>
2902
2903 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
2904
88428775
TV
29052020-04-24 Tom de Vries <tdevries@suse.de>
2906
2907 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
2908 flags.
2909
4e86f6e7
TV
29102020-04-24 Tom de Vries <tdevries@suse.de>
2911
2912 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
2913
2016d3e6
TV
29142020-04-24 Tom de Vries <tdevries@suse.de>
2915
2916 * lib/gdb.exp (default_gdb_start): Handle eof.
2917 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
2918 failure.
2919 * gdb.base/readnever.exp: Handle clean_restart failure.
2920
70bc38f5
TV
29212020-04-23 Tom de Vries <tdevries@suse.de>
2922
2923 * gdb.base/decl-before-def.exp: Run to main and print a again.
2924
de82891c
TV
29252020-04-23 Tom de Vries <tdevries@suse.de>
2926
2927 * gdb.base/decl-before-def-decl.c: New test.
2928 * gdb.base/decl-before-def-def.c: New test.
2929 * gdb.base/decl-before-def.exp: New file.
2930
96038148
TV
29312020-04-23 Tom de Vries <tdevries@suse.de>
2932
2933 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
2934
54ac3df1
TV
29352020-04-22 Tom de Vries <tdevries@suse.de>
2936
2937 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
2938 debug_info_offset.
2939 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
2940 before $objsfile in the line line.
2941
714534e1
TV
29422020-04-22 Tom de Vries <tdevries@suse.de>
2943
2944 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
2945
16a7dbf4
MS
29462020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2947
2948 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
2949 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
2950 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
2951 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
2952 * gdb.base/jit-protocol.h: Update definitions to match all usage
2953 contexts.
2954
29552020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2956
2957 * gdb.base: Rename all jit related test and source files.
2958
29592020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2960
2961 * gdb.base/jit-reader.exp: Relax register output check.
2962
317d2668
TV
29632020-04-22 Tom de Vries <tdevries@suse.de>
2964
2965 PR symtab/25764
2966 * gdb.base/psym-external-decl-2.c: New test.
2967 * gdb.base/psym-external-decl.c: New test.
2968 * gdb.base/psym-external-decl.exp: New file.
2969 * gdb.threads/tls.exp: Add PR25807 kfail.
2970
eea9e357
TV
29712020-04-22 Tom de Vries <tdevries@suse.de>
2972
2973 PR symtab/25801
2974 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
2975 in "info source" output.
2976
3d5afab3
TV
29772020-04-22 Tom de Vries <tdevries@suse.de>
2978
2979 PR symtab/25700
2980 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
2981 symtab for imported_unit.c.
2982
b32102f6
GB
29832020-04-21 Gary Benson <gbenson@redhat.com>
2984
2985 * gdb.base/advance.c (func): New argument, to match call site.
2986 (func2, func3): Add return statements.
2987
d43b7a2d
TBA
29882020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2989
2990 * gdb.multi/run-only-second-inf.c: New file.
2991 * gdb.multi/run-only-second-inf.exp: New file.
2992
d89edf9b
MM
29932020-04-21 Markus Metzger <markus.t.metzger@intel.com>
2994
2995 * gdb.btrace/multi-inferior.c: New test.
2996 * gdb.btrace/multi-inferior.exp: New file.
2997
1a476b6d
MM
29982020-04-21 Markus Metzger <markus.t.metzger@intel.com>
2999
3000 * gdb.btrace/enable-new-thread.c: New test.
3001 * gdb.btrace/enable-new-thread.exp: New file.
3002
4778a5f8
TV
30032020-04-21 Tom de Vries <tdevries@suse.de>
3004
3005 PR gdb/25471
3006 * gdb.threads/killed-outside.c: New test.
3007 * gdb.threads/killed-outside.exp: New file.
3008
9b2c992c
GB
30092020-04-20 Gary Benson <gbenson@redhat.com>
3010
3011 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
3012 * gdb.base/nested-subp2.exp: Likewise.
3013 * gdb.base/nested-subp3.exp: Likewise.
3014
b5d1d6f7
GB
30152020-04-20 Gary Benson <gbenson@redhat.com>
3016
3017 * gdb.base/nested-subp1.exp: Disable test when using clang.
3018 * gdb.base/nested-subp2.exp: Likewise.
3019 * gdb.base/nested-subp3.exp: Likewise.
3020
25230285
GB
30212020-04-20 Gary Benson <gbenson@redhat.com>
3022
3023 * gdb.cp/exception.cc: Fix compilation error with clang.
3024
fa93cc8f
GB
30252020-04-20 Gary Benson <gbenson@redhat.com>
3026
809730f3 3027 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 3028
e0c45f30
GB
30292020-04-20 Gary Benson <gbenson@redhat.com>
3030
3031 * gdb.base/jit-main.c: Fix compilation error with clang.
3032
4ddfec93
KR
30332020-04-17 Kamil Rytarowski <n54@gmx.com>
3034
3035 * gdb.base/attach-twice.c: Include "sys/types.h".
3036 (PTRACE_ATTACH): Add fallback definition.
3037 (main): Pass `0' to the 4th argument of `ptrace'.
3038
2bed205e
KR
30392020-04-17 Kamil Rytarowski <n54@gmx.com>
3040
3041 * gdb.base/fork-running-state.c: Include "signal.h".
3042
0743fc83
TT
30432020-04-17 Tom Tromey <tromey@adacore.com>
3044
3045 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
3046 Update tests.
3047 * gdb.btrace/cpu.exp: Update tests.
3048 * gdb.base/maint.exp: Update tests.
3049 * gdb.base/default.exp: Update tests.
3050 * gdb.base/completion.exp: Update tests.
3051
efba5c23
TV
30522020-04-16 Tom de Vries <tdevries@suse.de>
3053
3054 PR symtab/25791
3055 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
3056 (ensure_gdb_index): and factor out and move ...
3057 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
3058 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
3059
d191d716
TV
30602020-04-16 Tom de Vries <tdevries@suse.de>
3061
3062 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
3063 loading exec.
3064
99f1bc6a
AB
30652020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
3066
3067 * gdb.base/many-completions.exp: New file.
3068
194d088f
TV
30692020-04-14 Tom de Vries <tdevries@suse.de>
3070
3071 PR symtab/25718
3072 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
3073
c1a66c06
TV
30742020-04-14 Tom de Vries <tdevries@suse.de>
3075
3076 PR symtab/25720
3077 * gdb.base/maint-expand-symbols-header-file.c: New test.
3078 * gdb.base/maint-expand-symbols-header-file.exp: New file.
3079 * gdb.base/maint-expand-symbols-header-file.h: New test.
3080
21b0982c
AB
30812020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
3082
3083 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
3084 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
3085 get_func_info.
3086 (get_func_info): Delete.
3087 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
3088 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
3089 * lib/dwarf.exp (get_func_info): New function.
3090
dd1cab06
TV
30912020-04-13 Tom de Vries <tdevries@suse.de>
3092
3093 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
3094 to what find_gnatmake does.
3095
71ea2b6b
TV
30962020-04-10 Tom de Vries <tdevries@suse.de>
3097
3098 * gdb.base/style.exp: Expect "Expanding full symbols" message for
3099 -readnow.
3100
bdfc1e8a
TV
31012020-04-10 Tom de Vries <tdevries@suse.de>
3102
3103 PR cli/25808
3104 * gdb.base/style.c: Add leading newlines.
3105 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
3106 Check listing of main's one-line body.
3107
14ca8ecf
TV
31082020-04-08 Tom de Vries <tdevries@suse.de>
3109
3110 * lib/gdb.exp (psymtabs_p): New proc.
3111 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
3112 importing unit" unsupported if there are no partial symbols.
3113
e21d048f
TV
31142020-04-08 Tom de Vries <tdevries@suse.de>
3115
3116 PR testsuite/25760
3117 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
3118
25c11aca
TV
31192020-04-07 Tom de Vries <tdevries@suse.de>
3120
3121 PR symtab/25796
3122 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
3123
5707e24b
TV
31242020-04-07 Tom de Vries <tdevries@suse.de>
3125
3126 * gdb.base/check-psymtab.c: New test.
3127 * gdb.base/check-psymtab.exp: New file.
3128
6ee448cc
TT
31292020-04-06 Tom Tromey <tromey@adacore.com>
3130
3131 * gdb.ada/variant-record/proc.adb: New file.
3132 * gdb.ada/variant-record/value.adb: New file.
3133 * gdb.ada/variant-record/value.s: New file.
3134 * gdb.ada/variant-record.exp: New file.
3135
9e7c9a03
HD
31362020-04-03 Hannes Domani <ssbssa@yahoo.de>
3137
3138 PR gdb/25325
3139 * gdb.cp/typed-enum.cc: New test.
3140 * gdb.cp/typed-enum.exp: New file.
3141
c90d28ac
AB
31422020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3143
3144 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
3145 * gdb.dwarf2/dw2-inline-small-func.c: New file.
3146 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
3147 * gdb.dwarf2/dw2-inline-small-func.h: New file.
3148 * gdb.opt/inline-small-func.c: New file.
3149 * gdb.opt/inline-small-func.exp: New file.
3150 * gdb.opt/inline-small-func.h: New file.
3151
34e9a9fa
AB
31522020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3153
3154 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
3155 function.
3156
6a354911
AB
31572020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3158
3159 * lib/dwarf.exp (function_range): Allow compiler options to be
3160 specified.
3161
880d9777
TV
31622020-04-02 Tom de Vries <tdevries@suse.de>
3163
3164 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
3165 __attribute__((always_inline)).
3166 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
3167
f32682ea
TV
31682020-04-02 Tom de Vries <tdevries@suse.de>
3169
3170 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
3171 (gdbserver_gdb_exit): ... here. Add timeout warning.
3172 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
3173 (connect_target_extended_remote): Append new server_spawn_id to
3174 server_spawn_ids.
3175 (cleanup): New proc.
3176 (setup, <toplevel>): Call cleanup.
3177
d3214198
TV
31782020-04-02 Tom de Vries <tdevries@suse.de>
3179
3180 * gdb.base/main-psymtab.exp: New file.
3181
cc77ed24
TV
31822020-04-02 Tom de Vries <tdevries@suse.de>
3183
3184 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
3185
3638a098
TT
31862020-04-01 Tom Tromey <tom@tromey.com>
3187
3188 * gdb.base/complex-parts.exp: Add type tests.
3189
c34e8714
TT
31902020-04-01 Tom Tromey <tom@tromey.com>
3191
3192 * gdb.base/complex-parts.exp: Add arithmetic tests.
3193
981c08ce
TT
31942020-04-01 Tom Tromey <tom@tromey.com>
3195
3196 * gdb.compile/compile.exp: Update.
3197 * gdb.compile/compile-cplus.exp: Update.
3198 * gdb.base/varargs.exp: Update.
3199 * gdb.base/floatn.exp: Update.
3200 * gdb.base/endianity.exp: Update.
3201 * gdb.base/callfuncs.exp (do_function_calls): Update.
3202 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
3203 (complex_float_integral_args): Update.
3204 * gdb.base/complex.exp: Update.
3205 * gdb.base/complex-parts.exp: Update.
3206
3d1cfd43
TT
32072020-04-01 Tom Tromey <tromey@adacore.com>
3208
3209 * gdb.rust/union.rs: New file.
3210 * gdb.rust/union.exp: New file.
3211 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
3212 (main): Update.
3213 * gdb.rust/simple.exp: Move union tests to union.exp.
3214
e033dfa9
TT
32152020-04-01 Tom Tromey <tromey@adacore.com>
3216
3217 * gdb.rust/simple.rs (main): Remove "y0".
3218
53cccef1
TBA
32192020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3220
3221 * gdb.multi/stop-all-on-exit.c: New test.
3222 * gdb.multi/stop-all-on-exit.exp: New file.
3223
60e22c1e
HD
32242020-04-01 Hannes Domani <ssbssa@yahoo.de>
3225
3226 PR gdb/24789
3227 * gdb.cp/misc.cc: Add integer reference variable.
3228 * gdb.cp/misc.exp: Add test.
3229
e139a727
TBA
32302020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3231
3232 * gdb.server/stop-reply-no-thread.exp: Enhance the test
3233 scenario to cover execution until the end and also the case
3234
16b0db75
TV
32352020-03-31 Tom de Vries <tdevries@suse.de>
3236
3237 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
3238 c. Use "maint info symtabs" to check symtab expansion.
3239
c0502da6
TV
32402020-03-30 Tom de Vries <tdevries@suse.de>
3241
3242 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
3243 unsupported.
3244 (verify_psymtab_expanded): Move ...
3245 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
3246 test.
3247 (readnow): New proc.
3248
5935fd15
AB
32492020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3250
3251 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
3252 with $hex.
3253
1773be9e
TT
32542020-03-20 Tom Tromey <tromey@adacore.com>
3255
3256 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
3257
70304be9
TT
32582020-03-20 Tom Tromey <tromey@adacore.com>
3259
3260 * gdb.ada/sub_variant/subv.adb: New file.
3261 * gdb.ada/sub_variant.exp: New file.
3262
0dd7b8f7
TV
32632020-03-20 Tom de Vries <tdevries@suse.de>
3264
3265 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
3266 first break fails.
3267 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
3268
cada5fc9
AB
32692020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3270
3271 * gdb.server/exit-multiple-threads.c: New file.
3272 * gdb.server/exit-multiple-threads.exp: New file.
3273
6b8c53f2
AB
32742020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3275
3276 * gdb.fortran/mixed-lang-stack.c: New file.
3277 * gdb.fortran/mixed-lang-stack.cpp: New file.
3278 * gdb.fortran/mixed-lang-stack.exp: New file.
3279 * gdb.fortran/mixed-lang-stack.f90: New file.
3280
19a2740f
AB
32812020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3282
3283 * gdb.linespec/cp-completion-aliases.cc: New file.
3284 * gdb.linespec/cp-completion-aliases.exp: New file.
3285
d8c8b848
TV
32862020-03-19 Tom de Vries <tdevries@suse.de>
3287
3288 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
3289 more precise.
3290
a9933ccf
TV
32912020-03-18 Tom de Vries <tdevries@suse.de>
3292
3293 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
3294 * gdb.dwarf2/break-inline-psymtab.c: New test.
3295 * gdb.dwarf2/break-inline-psymtab.exp: New file.
3296
2f89101f
TV
32972020-03-16 Tom de Vries <tdevries@suse.de>
3298
3299 * lib/cache.exp (gdb_do_cache): Add and handle local variables
3300 cache_verify and cache_verify_proc.
3301
6b9374f1
TV
33022020-03-15 Tom de Vries <tdevries@suse.de>
3303
3304 * gdb.server/solib-list.exp: Handle
3305 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
3306
eaeaf44c
TV
33072020-03-15 Tom de Vries <tdevries@suse.de>
3308
3309 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
3310 objfiles".
3311
3293bbaf
TT
33122020-03-14 Tom Tromey <tom@tromey.com>
3313
3314 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
3315
ab44624c
TV
33162020-03-14 Tom de Vries <tdevries@suse.de>
3317
3318 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
3319
54c43825
TV
33202020-03-14 Tom de Vries <tdevries@suse.de>
3321
3322 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
3323 result in line-by-line fashion.
3324
2ac70237
TV
33252020-03-14 Tom de Vries <tdevries@suse.de>
3326
3327 * lib/gdb.exp (supports_statement_frontiers): New proc.
3328 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
3329
09546b56
TV
33302020-03-14 Tom de Vries <tdevries@suse.de>
3331
3332 * gdb.base/printcmds.exp: Add missing quoting for "print
3333 teststring2".
3334
a1f6a07c
TT
33352020-03-13 Tom Tromey <tom@tromey.com>
3336
3337 * gdb.base/printcmds.exp (test_print_strings): Add regression
3338 test.
3339 * gdb.base/printcmds.c (charptr): New typedef.
3340 (teststring2): New global.
3341
1b83d09c
AB
33422020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
3343
3344 * gdb.base/break-interp.exp: Use the tail of the filename, not the
3345 full path in the test name.
3346 (test_ld): Add some with_test_prefix blocks to make test names
3347 unique.
3348
2d61316c
TV
33492020-03-13 Tom de Vries <tdevries@suse.de>
3350
3351 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
3352
2e9145ac
TV
33532020-03-13 Tom de Vries <tdevries@suse.de>
3354
3355 * gdb.mi/mi-sym-info.exp: Make matching more precise.
3356
96c7f873
TV
33572020-03-13 Tom de Vries <tdevries@suse.de>
3358
3359 PR symtab/25646
3360 * gdb.dwarf2/imported-unit.exp: Add test.
3361
49ba92c0
TV
33622020-03-13 Tom de Vries <tdevries@suse.de>
3363
3364 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
3365 (var1, var2): New variable.
3366 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
3367 matching symbols.
3368
301b21e0
TV
33692020-03-13 Tom de Vries <tdevries@suse.de>
3370
3371 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
3372 (Term::command): Use prompt prefix.
3373 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
3374 * gdb.tui/tui-layout-asm-short-prog.exp: Use
3375 command_no_prompt_prefix instead of prefix.
3376 * gdb.tui/tui-layout-asm.exp: Same.
3377
3f512721
SM
33782020-03-12 Simon Marchi <simon.marchi@efficios.com>
3379
3380 * gdb.base/break-interp.exp: Use foreach_with_prefix.
3381
40310f30
SM
33822020-03-12 Simon Marchi <simon.marchi@efficios.com>
3383
3384 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
3385 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
3386 on" while stepping over the test instruction, match printed
3387 message.
3388
09252140
TV
33892020-03-12 Tom de Vries <tdevries@suse.de>
3390
3391 * gdb.base/info-types.exp: Use exp_continue during matching of output
3392 of "info types".
3393
14e9c72c
TV
33942020-03-12 Tom de Vries <tdevries@suse.de>
3395
3396 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
3397
e515d67e
TV
33982020-03-12 Tom de Vries <tdevries@suse.de>
3399
3400 * gdb.fortran/module.exp: Use exp_continue during matching of output
3401 of "info variable -n".
3402
307eafd8
TV
34032020-03-12 Tom de Vries <tdevries@suse.de>
3404
3405 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
3406 gdb.dwarf2/dw2-ranges-base.c.
3407
9a2de3fc
TV
34082020-03-12 Tom de Vries <tdevries@suse.de>
3409
3410 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
3411 in presence of GLIBC debuginfo.
3412
3217502e
TV
34132020-03-12 Tom de Vries <tdevries@suse.de>
3414
3415 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
3416 $core.
3417
1281424c
TV
34182020-03-12 Tom de Vries <tdevries@suse.de>
3419
3420 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
3421 more precise.
3422
038b97fc
SM
34232020-03-11 Simon Marchi <simon.marchi@efficios.com>
3424
3425 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
3426 from Unix to Windows path.
3427
5308d1e7
TV
34282020-03-11 Tom de Vries <tdevries@suse.de>
3429
3430 * gdb.ada/minsyms.exp: Set language to ada.
3431
f870f78f
TV
34322020-03-11 Tom de Vries <tdevries@suse.de>
3433
3434 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
3435
5a13315d
TV
34362020-03-11 Tom de Vries <tdevries@suse.de>
3437
3438 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
3439
976862ed
TT
34402020-03-11 Tom Tromey <tromey@adacore.com>
3441
3442 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
3443
7462c383
TV
34442020-03-11 Tom de Vries <tdevries@suse.de>
3445
3446 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
3447
1c6c46a0
TV
34482020-03-11 Tom de Vries <tdevries@suse.de>
3449
3450 * gdb.base/break-interp.exp: Limit verbose scope.
3451
44f41bb7
TV
34522020-03-11 Tom de Vries <tdevries@suse.de>
3453
3454 * gdb.fortran/logical.f90: Define variable with character type.
3455 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
3456
b76f3a42
TV
34572020-03-11 Tom de Vries <tdevries@suse.de>
3458
3459 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
3460
1c33af77
TV
34612020-03-11 Tom de Vries <tdevries@suse.de>
3462
3463 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
3464 symtabs.
3465
8c95582d
AB
34662020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
3467 Bernd Edlinger <bernd.edlinger@hotmail.de>
3468
3469 * gdb.cp/step-and-next-inline.cc: New file.
3470 * gdb.cp/step-and-next-inline.exp: New file.
3471 * gdb.cp/step-and-next-inline.h: New file.
3472 * gdb.dwarf2/dw2-is-stmt.c: New file.
3473 * gdb.dwarf2/dw2-is-stmt.exp: New file.
3474 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
3475 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
3476 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
3477
cecf8547
AB
34782020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
3479
3480 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
3481 is-stmt flag in the line table.
3482
0ba678c9
TV
34832020-03-09 Tom de Vries <tdevries@suse.de>
3484
3485 * lib/gdb.exp (cached_file): Create cache dir.
3486
72fbdf83
TV
34872020-03-07 Tom de Vries <tdevries@suse.de>
3488
3489 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
3490 * gdb.cp/rvalue-ref-params.exp: Same.
3491
436b5e99
TV
34922020-03-06 Tom de Vries <tdevries@suse.de>
3493
3494 * lib/gdb.exp (tentative_rename, cached_file): New proc.
3495 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
3496
09f2921c
TV
34972020-03-06 Tom de Vries <tdevries@suse.de>
3498
3499 * README: Fix "the the".
3500 * gdb.base/dprintf.exp: Same.
3501
50a3cc5d
TV
35022020-03-05 Tom de Vries <tdevries@suse.de>
3503
3504 * gdb.base/maint.exp: Update "main print statistics" expected output.
3505
0a709cba
AKS
35062020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3507
3508 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
3509 (fortran_int8): Likewise.
3510 (fortran_real4): Likewise.
3511 (fortran_real8): Likewise.
3512 (fortran_complex4): Likewise.
3513 (fortran_logical4): Likewise.
3514 (fortran_character1): Likewise.
3515
5e5d66b6
AB
35162020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
3517
3518 * gdb.fortran/logical.exp: Add tests that any non-zero value is
3519 printed as true.
3520
7b973adc
SDJ
35212020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
3522
3523 * gdb.base/printcmds.exp: Add test to verify printf of a
3524 variable holding an address.
3525
478e490a
TV
35262020-03-03 Tom de Vries <tdevries@suse.de>
3527
3528 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
3529
1ef44e86
TV
35302020-03-03 Tom de Vries <tdevries@suse.de>
3531
3532 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
3533 gdb_test_multiple call.
3534
b98cc2cf
TV
35352020-03-03 Tom de Vries <tdevries@suse.de>
3536
3537 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
3538 gdb_test_multiple calls.
3539
63e163f2
AB
35402020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
3541
3542 * gdb.base/default.exp: Remove test of 'set history filename'.
3543 * gdb.base/gdbinit-history.exp: Add tests for setting the history
3544 filename to the empty string.
3545 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
3546 and GDBHISTSIZE.
3547
24ed6739
AB
35482020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
3549
3550 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
3551 disabled.
3552
590003dc 35532020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 3554 Tom de Vries <tdevries@suse.de>
590003dc
TV
3555
3556 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
3557 -prompt prefix, before user_code argument. Add -lbl option likewise.
3558 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
3559 (gdb_is_target_1): Add -prompt prefix and move to before user_code
3560 argument.
3561 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
3562 have "\r\n" at start-of-line, instead of at end-of-line.
3563
f5e46084
SM
35642020-02-28 Simon Marchi <simon.marchi@efficios.com>
3565
3566 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
3567 libinproctrace.so.
3568
f7a7000d
LM
35692020-02-28 Luis Machado <luis.machado@linaro.org>
3570
3571 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
3572 to "p/x".
3573
718e0816
LM
35742020-02-28 Luis Machado <luis.machado@linaro.org>
3575
3576 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
3577 asm/ptrace.h and error.h.
3578
13c3a74a
TV
35792020-02-28 Tom de Vries <tdevries@suse.de>
3580
3581 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
3582 (struct wrapper, do_something, mundane/symada__cS): Move ...
3583 * gdb.base/c-linkage-name-2.c: ... here. New source file.
3584 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
3585 Update "print symada__cS before partial symtab expansion" regexp.
3586 Update breakpoint location. Flush symbol cache after expansion.
3587
85d2d5bb
LM
35882020-02-28 Luis Machado <luis.machado@linaro.org>
3589
3590 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
3591
3608f86c
TV
35922020-02-27 Tom de Vries <tdevries@suse.de>
3593
3594 * config/sid.exp: Remove unused globals.
3595 * gdb.base/attach.exp: Same.
3596 * gdb.base/catch-load.exp: Same.
3597 * gdb.base/dbx.exp: Same.
3598 * lib/gdb.exp: Same.
3599 * lib/mi-support.exp: Same.
3600 * lib/prompt.exp: Same.
3601
c8d4f6df
TV
36022020-02-27 Tom de Vries <tdevries@suse.de>
3603
3604 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
3605 not set.
3606
0d79cdc4
AM
36072020-02-26 Aaron Merey <amerey@redhat.com>
3608
3609 * gdb.debuginfod: New directory for debuginfod tests.
3610 * gdb.debuginfod/main.c: New test file.
3611 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
3612
0dce4280
TV
36132020-02-26 Tom de Vries <tdevries@suse.de>
3614
3615 PR gdb/25603
3616 * gdb.base/persistent-lang.cc: New test.
3617 * gdb.base/persistent-lang.exp: New file.
3618
9e80cfa1
AB
36192020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3620
3621 * gdb.fortran/derived-type-striding.exp: Add a new test.
3622 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
3623 new test.
3624
2078dbb2
AB
36252020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3626
3627 * gdb.base/cached-source-file.exp: Avoid source file paths in test
3628 names.
3629
70d49700
TV
36302020-02-25 Tom de Vries <tdevries@suse.de>
3631
3632 PR go/18926
3633 * gdb.go/methods.exp: Remove gcc/93866 xfail.
3634
a88ef40d
TV
36352020-02-24 Tom de Vries <tdevries@suse.de>
3636
3637 PR gdb/25592
3638 * gdb.base/info-locals-unused-static-var.c: New test.
3639 * gdb.base/info-locals-unused-static-var.exp: New file.
3640
01b1af32
TT
36412020-02-22 Tom Tromey <tom@tromey.com>
3642
3643 * gdb.python/tui-window.exp: New file.
3644 * gdb.python/tui-window.py: New file.
3645
7c043ba6
TT
36462020-02-22 Tom Tromey <tom@tromey.com>
3647
3648 PR tui/17850:
3649 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
3650 tests.
3651
c22fef7e
TT
36522020-02-22 Tom Tromey <tom@tromey.com>
3653
3654 * gdb.tui/new-layout.exp: Add sub-layout tests.
3655
ee325b61
TT
36562020-02-22 Tom Tromey <tom@tromey.com>
3657
3658 * gdb.tui/new-layout.exp: New file.
3659
3f0cbb04
TT
36602020-02-22 Tom Tromey <tom@tromey.com>
3661
3662 * gdb.rust/rust-style.rs: New file.
3663 * gdb.rust/rust-style.exp: New file.
3664 * gdb.base/style.exp: Test structure printing.
3665 * gdb.base/style.c (struct some_struct): New type.
3666 (enum etype): New type.
3667 (struct_value): New global.
3668
75525152
TV
36692020-02-21 Tom de Vries <tdevries@suse.de>
3670
3671 PR go/18926
3672 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
3673 Remove blanket xfails. Use message argument for gdb_breakpoint.
3674 Make continuing to breakpoint test conditional on setting breakpoint.
3675 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
3676 DW_AT_name attribute. Add xfail for GCC PR93866.
3677
bd360d30
AB
36782020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
3679
3680 * gdb.dwarf2/cpp-linkage-name.c: New file.
3681 * gdb.dwarf2/cpp-linkage-name.exp: New file.
3682
c7adb09f 36832020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
3684
3685 * lib/gdb.exp (gdb_wrapper_init): Reset
3686 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
3687 not exist.
3688
a9c79803
TV
36892020-02-20 Tom de Vries <tdevries@suse.de>
3690
3691 PR go/17018
3692 * gdb.go/hello.exp: Copy ...
3693 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
3694 print of st to print value of global definition. Add xfail for GCC
3695 PR93844.
3696 * gdb.go/hello.exp: Remove printing of st before definition.
3697 * gdb.go/hello.go: Copy ...
3698 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
3699 to st.
3700 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
3701
d7445728
TV
37022020-02-20 Tom de Vries <tdevries@suse.de>
3703
3704 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
3705 (gdb_simple_compile): Handle compile_flags go by using .go extension
3706 for source file.
3707 * gdb.go/chan.exp: Use support_go_compile.
3708 * gdb.go/handcall.exp: Same.
3709 * gdb.go/hello.exp: Same.
3710 * gdb.go/integers.exp: Same.
3711 * gdb.go/max-depth.exp: Same.
3712 * gdb.go/methods.exp: Same.
3713 * gdb.go/package.exp: Same.
3714 * gdb.go/strings.exp: Same.
3715 * gdb.go/types.exp: Same.
3716 * gdb.go/unsafe.exp: Same.
3717
c9c41e6d
TV
37182020-02-19 Tom de Vries <tdevries@suse.de>
3719
3720 * gdb.python/lib-types.exp: Make xfail more strict.
3721
f20ff837
TV
37222020-02-19 Tom de Vries <tdevries@suse.de>
3723
3724 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
3725
08410482
DE
37262020-02-19 Doug Evans <dje@google.com>
3727
3728 PR rust/25535
3729 * gdb.rust/simple.exp: Add test.
3730 * gdb.rust/simple.rs: Add test.
3731
623563f7
TV
37322020-02-19 Tom de Vries <tdevries@suse.de>
3733
3734 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
3735 output line-by-line.
3736
d3308cfd
TV
37372020-02-19 Tom de Vries <tdevries@suse.de>
3738
3739 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
3740
86cbc5dc
TV
37412020-02-19 Tom de Vries <tdevries@suse.de>
3742
3743 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
3744 prelink.
3745
9db2b96b
TV
37462020-02-19 Tom de Vries <tdevries@suse.de>
3747
3748 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
3749 (gdb_do_cache): Use gdb_do_cache_wrap.
3750 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
3751
89e2fdc5
TV
37522020-02-19 Tom de Vries <tdevries@suse.de>
3753
3754 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
3755 gdb_compile option.
3756
373d7ac0
SM
37572020-02-18 Simon Marchi <simon.marchi@efficios.com>
3758
3759 * gdb.base/printcmds.exp (test_print_enums): Update expected
3760 output.
3761
b29a2df0
SM
37622020-02-18 Simon Marchi <simon.marchi@efficios.com>
3763
3764 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
3765 for "unknown".
3766
6740f0cc
SM
37672020-02-18 Simon Marchi <simon.marchi@efficios.com>
3768
3769 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
3770 enumerator.
3771
edd45eb0
SM
37722020-02-18 Simon Marchi <simon.marchi@efficios.com>
3773
3774 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
3775 FE_, add FE_NONE.
3776 (three): Update.
3777 (enum flag_enum_without_zero): New enum.
3778 (flag_enum_without_zero): New variable.
3779 (enum not_flag_enum): New enum.
3780 (three_not_flag): New variable.
3781 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
3782 (test_print_enums): Add more tests for printing flag enums.
3783
d4295de4
TV
37842020-02-18 Tom de Vries <tdevries@suse.de>
3785
3786 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
3787 (gdb_compile_ada): ... here.
3788 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
3789 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
3790
f251f505
TT
37912020-02-14 Tom Tromey <tom@tromey.com>
3792
3793 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
3794 build directory.
3795 * boards/gdbserver-base.exp: Update path to gdbserver.
3796
8f432634
TV
37972020-02-13 Tom de Vries <tdevries@suse.de>
3798
3799 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
3800
92b6eaf7
TV
38012020-02-13 Tom de Vries <tdevries@suse.de>
3802
3803 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
3804 are missing.
3805
f3b0f7fe
TV
38062020-02-13 Tom de Vries <tdevries@suse.de>
3807
3808 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
3809 call.
3810
f6be8713
SDJ
38112020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
3812
3813 PR tui/25126
3814 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
3815 * gdb.base/cached-source-file.c: New file.
3816 * gdb.base/cached-source-file.exp: New file.
3817
b2770d5e
TV
38182020-02-11 Tom de Vries <tdevries@suse.de>
3819
3820 PR testsuite/25488
3821 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
3822
44f6938e
TV
38232020-02-10 Tom de Vries <tdevries@suse.de>
3824
3825 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
3826
5f0e2eb7
MR
38272020-02-10 Maciej W. Rozycki <macro@wdc.com>
3828
3829 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
3830 and $after_addr are both integers before making a comparison.
3831
46ce2b6f
TV
38322020-02-09 Tom de Vries <tdevries@suse.de>
3833
3834 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
3835 command output and paste it into gdb.log. If any, paste catch message
3836 to gdb.log.
3837
5abbbe1d
TT
38382020-02-07 Tom Tromey <tromey@adacore.com>
3839
3840 PR breakpoints/24915:
3841 * gdb.base/annotate-symlink.exp: Use setup_xfail.
3842
1d5d29e7
SV
38432020-02-06 Shahab Vahedi <shahab@synopsys.com>
3844
3845 * gdb.tui/tui-missing-src.exp: Add the "missing source
3846 file" test for the TUI.
3847
b0999b9b
AB
38482020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
3849
3850 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
3851 including a port number in the output.
3852
c3b149eb
AKS
38532020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
3854
3855 * lib/fortran.exp (fortran_int4): Handle clang.
3856 (fortran_int8): Likewise.
3857 (fortran_real4): Likewise.
3858 (fortran_real8): Likewise.
3859 (fortran_complex4): Likewise.
3860 (fortran_logical4): Likewise.
3861 (fortran_character1): Likewise.
3862
f8dcc90b
TV
38632020-02-04 Tom de Vries <tdevries@suse.de>
3864
3865 * README (Race detection): Add note.
3866
f90ac7c2
TV
38672020-02-04 Tom de Vries <tdevries@suse.de>
3868
3869 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
3870
780636ae
TV
38712020-02-04 Tom de Vries <tdevries@suse.de>
3872
3873 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
3874
5d2e1193
RA
38752020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3876
3877 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
3878 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
3879 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
3880 blttar, bnetarl.
3881 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
3882 binary for blttar, bnetarl.
3883 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
3884 wait instruction. Delete ldmx test.
3885 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
3886
e409c542
AKS
38872020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3888
3889 * gdb.fortran/array-bounds-high.exp: New file.
3890 * gdb.fortran/array-bounds-high.f90: New file.
3891
b0029748
LD
38922020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
3893
3894 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
3895 Replace #include of <sys/fcntl.h> by <fcntl.h>.
3896
195a8287
TV
38972020-02-01 Tom de Vries <tdevries@suse.de>
3898
3899 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
3900
42330a68
AB
39012020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
3902
3903 PR tui/9765
3904 * gdb.tui/tui-layout-asm-short-prog.S: New file.
3905 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
3906
b62a8028
LM
39072020-01-29 Luis Machado <luis.machado@linaro.org>
3908
3909 * gdb.arch/aarch64-brk-patterns.c: New source file.
3910 * gdb.arch/aarch64-brk-patterns.exp: New test.
3911
5f440116
TBA
39122020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3913
3914 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
3915 GCC/Clang version.
3916 * gdb.cp/pass-by-ref.exp: Ditto.
3917
ee2a6fc6
TV
39182020-01-29 Tom de Vries <tdevries@suse.de>
3919
3920 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
3921 * gdb.threads/watchpoint-fork-mt.c: Same.
3922 * gdb.threads/watchpoint-fork-parent.c: Same.
3923 * gdb.threads/watchpoint-fork-st.c: Same.
3924 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
3925
16b10d6e
LM
39262020-01-27 Luis Machado <luis.machado@linaro.org>
3927
3928 * gdb.base/step-over-syscall.exp (setup): Check if we're already
3929 sitting at a syscall instruction when we hit the syscall function's
3930 breakpoint.
3931 Check PC against one obtained with the x command.
3932 Validate syscall number.
3933 (step_over_syscall): Don't continue to the syscall instruction if
3934 we're already there.
3935
b1468492
PW
39362020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3937
3938 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
3939
7ffa82e1
AB
39402020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3941
3942 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
3943 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
3944
3d92a3e3
AB
39452020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3946
3947 * gdb.dwarf2/dw2-inline-stepping.c: New file.
3948 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
3949
94a72be7
AB
39502020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3951
3952 * gdb.base/maint.exp: Update line table parsing test.
3953 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
3954
53af73bf
PA
39552020-01-24 Pedro Alves <palves@redhat.com>
3956
3957 PR gdb/25410
3958 * gdb.multi/multi-re-run-1.c: New.
3959 * gdb.multi/multi-re-run-2.c: New.
3960 * gdb.multi/multi-re-run.exp: New.
3961
1ba1ac88
AB
39622020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3963
3964 PR gdb/23718
3965 * gdb.server/server-kill-python.exp: New file.
3966
f3364a6d
AB
39672020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3968
3969 * gdb.server/multi-ui-errors.c: New file.
3970 * gdb.server/multi-ui-errors.exp: New file.
3971
733d0a67
AB
39722020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3973
3974 PR tui/9765
3975 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
3976
4f13c1c0
TT
39772020-01-19 Tom Tromey <tom@tromey.com>
3978
3979 * gdb.tui/main.exp: Add check for plain "file".
3980
40c94099
CB
39812020-01-16 Christian Biesinger <cbiesinger@google.com>
3982
3983 * lib/gdb.exp: Fix spelling error (seperatelly).
3984
ff47f4f0
TT
39852020-01-14 Tom Tromey <tom@tromey.com>
3986
3987 PR symtab/12535:
3988 * gdb.python/python.exp: Test decode_line with empty string
3989 argument.
3990
717c684d
BE
39912020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
3992
3993 * gdb.base/skip-inline.exp: Extend test.
3994
44e4c775
AB
39952020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
3996
3997 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
3998 * gdb.dwarf2/dw2-bad-elf.c: New file.
3999 * gdb.dwarf2/dw2-bad-elf.exp: New file.
4000
d93c6db7
AB
40012020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4002
4003 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
4004 _line_saw_file.
4005
9a6d629c
AB
40062020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4007
4008 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
4009 border.
4010
d9ebdab7
TBA
40112020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4012
4013 * gdb.multi/multi-target.exp (setup): Factor out "info
4014 connections" and "info inferiors" tests to ...
4015 (test_info_inferiors): ... this new procedure.
4016 (top level): Run new "info-inferiors" tests.
4017
f3c469b9
PA
40182020-01-10 Pedro Alves <palves@redhat.com>
4019
4020 * gdb.server/bkpt-other-inferior.exp: New file.
4021
121b3efd
PA
40222020-01-10 Pedro Alves <palves@redhat.com>
4023
4024 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
4025 of "add-inferior".
4026 * gdb.base/quit-live.exp: Likewise.
4027 * gdb.base/remote-exec-file.exp: Likewise.
4028 * gdb.guile/scm-progspace.exp: Likewise.
4029 * gdb.linespec/linespec.exp: Likewise.
4030 * gdb.mi/new-ui-mi-sync.exp: Likewise.
4031 * gdb.mi/user-selected-context-sync.exp: Likewise.
4032 * gdb.multi/multi-target.exp (setup): Add "info connection" and
4033 "info inferiors" tests.
4034 * gdb.multi/remove-inferiors.exp: Adjust expected output of
4035 "add-inferior".
4036 * gdb.multi/watchpoint-multi.exp: Likewise.
4037 * gdb.python/py-inferior.exp: Likewise.
4038 * gdb.server/extended-remote-restart.exp: Likewise.
4039 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
4040 "info inferiors".
4041 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
4042 * gdb.trace/report.exp: Likewise.
4043
1dadb1dd
PA
40442020-01-10 Pedro Alves <palves@redhat.com>
4045
4046 * gdb.multi/multi-target.c: New file.
4047 * gdb.multi/multi-target.exp: New file.
4048 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
4049 mode requested, but remote does not support non-stop".
4050
78f2c40a
PA
40512020-01-10 Pedro Alves <palves@redhat.com>
4052
4053 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
4054 disconnect before reconnecting.
4055
e7af6c70
TBA
40562020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4057 Pedro Alves <palves@redhat.com>
4058
4059 * gdb.server/connect-without-multi-process.exp: Also test
4060 continuing to end.
4061
acdf84a6
PA
40622020-01-10 Pedro Alves <palves@redhat.com>
4063
4064 * gdb.base/remote-exec-file.exp: New file.
4065
873657b9
PA
40662020-01-10 Pedro Alves <palves@redhat.com>
4067
4068 * gdb.base/fork-running-state.exp (do_test): Adjust expected
4069 output.
4070 * gdb.threads/async.c: New.
4071 * gdb.threads/async.exp: New.
4072 * gdb.multi/tids-gid-reset.c: New.
4073 * gdb.multi/tids-gid-reset.exp: New.
4074
7f0ae84c
GB
40752020-01-10 George Barrett <bob@bob131.so>
4076
4077 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
4078 to help in finding the image relocation offset.
4079 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
4080 options in arguments.
4081 (stap_test_no_debuginfo): Likewise.
4082 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
4083 test variants.
4084 (stap_test): Add null semaphore relocation test.
4085
47e9d49d
GB
40862020-01-10 George Barrett <bob@bob131.so>
4087
4088 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
4089 * gdb.base/stap-probe.exp: Likewise.
4090 (stap_test): Pass argument as an additional flag.
4091 (stap_test_no_debuginfo): Likewise.
4092 (stap_test): Check `info probes stap' output for semaphore
4093 addresses if the test binary is supposed to have them.
4094
f5a7c406
AB
40952020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4096
4097 * gdb.tui/basic.exp: Add more scrolling tests.
4098
9ae6bf64
TT
40992020-01-09 Tom Tromey <tom@tromey.com>
4100
4101 PR tui/18932:
4102 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
4103 meangingful value.
4104 (Term::command, Term::resize): Update.
4105 * gdb.tui/basic.exp: Add scrolling test.
4106
b2efe70c
AB
41072020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4108
4109 * gdb.tui/tui-layout-asm.exp: New file.
4110
3804da7e
AB
41112020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4112
4113 * lib/tuiterm.exp (Term::check_box_contents): New proc.
4114
b40aa28f
AB
41152020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4116
4117 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
4118 (Term::enter_tui): Use Term::prepare_for_tui.
4119
63ffd7c9
AB
41202020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4121
4122 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
4123 called.
4124
3be966f6
AB
41252020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4126
4127 * gdb.base/skip.exp: Fix race condition in test.
4128
153d79c4
AB
41292020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4130
4131 * gdb.base/backtrace.c: New file.
4132 * gdb.base/backtrace.exp: New file.
4133
f2302a34
AB
41342020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
4135
4136 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
4137
6ec1d75e
PW
41382020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4139
4140 * gdb.base/style.exp: Test that warnings are styled.
4141
c296cbe6
BE
41422019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
4143
4144 * gdb.base/line65535.exp: New file.
4145 * gdb.base/line65535.c: New file.
4146
b28a729d
SM
41472019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
4148
4149 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
4150 * lib/gnat_debug_info_test.adb: New file.
4151 * gdb.ada/ptype_tagged_param.exp: Use
4152 gnat_runtime_has_debug_info, expect a different output if
4153 runtime does not have debug info.
4154
7f2d7a0d
SM
41552019-12-20 Simon Marchi <simon.marchi@efficios.com>
4156
4157 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
4158 (another) quote in test name.
4159
f3bce483
SM
41602019-12-20 Simon Marchi <simon.marchi@efficios.com>
4161
4162 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
4163 Add quote in test name.
4164
c855a912
TBA
41652019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4166
4167 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
4168 directory instead.
4169 * gdb.cp/pass-by-ref.exp: Extend with more cases.
4170 * gdb.cp/pass-by-ref-2.cc: New file.
4171 * gdb.cp/pass-by-ref-2.exp: New file.
4172
fc9d2d72
TT
41732019-12-20 Tom Tromey <tom@tromey.com>
4174
4175 * gdb.tui/list-before.exp: New file.
4176
77b97e00
TT
41772019-12-20 Tom Tromey <tom@tromey.com>
4178
4179 * gdb.tui/list.exp: Check for source on initial listing.
4180
f69656d0
TT
41812019-12-11 Tom Tromey <tromey@adacore.com>
4182
4183 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
4184 Add crlf test.
4185
99a55965
SM
41862019-12-18 Simon Marchi <simon.marchi@efficios.com>
4187
4188 * gdb.base/default.exp: Update value of $_gdb_major.
4189
5024637f
BE
41902019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
4191
4192 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
4193
b63634be
BE
41942019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
4195
4196 * gdb.base/skip.exp: Whitespace fix.
4197
45d73523
BE
41982019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
4199
4200 * gdb.base/skip-inline.c: New file.
4201 * gdb.base/skip-inline.exp: New file.
4202
d043f8c8
SM
42032019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
4204
4205 * gdb.base/jit-reader.exp (jit_reader_test): Rename
4206 jit_function_00 to jit_function_stack_mangle.
4207 * gdb.base/jithost.c (jit_function_t): Rename to...
4208 (jit_function_stack_mangle_t): ... this.
4209 (jit_function_add_t): New typedef.
4210 (jit_function_00_code): Rename to...
4211 (jit_function_stack_mangle_code): ... this, make static.
4212 (jit_function_add_code): New.
4213 (main): Generate "add" function and call it. Adjust to changes
4214 in jithost_abi.
4215 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
4216 (struct jithost_abi) <begin, end>: Remove fields.
4217 <object, function_stack_mangle, function_add>: New fields.
4218 * gdb.base/jitreader.c (struct reader_state) <code_begin,
4219 code_end>: Remove fields.
4220 <func_stack_mangle>: New field.
4221 (read_debug_info): Adjust to renaming, create block for "add"
4222 function.
4223 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
4224
873de05c
TT
42252019-12-11 Tom Tromey <tom@tromey.com>
4226
4227 * gdb.tui/resize.exp: Fix regexp.
4228 * gdb.tui/regs.exp: Fix regexps.
4229 * gdb.tui/main.exp: Fix regexp.
4230
3d979945
TT
42312019-12-11 Tom Tromey <tom@tromey.com>
4232
4233 * gdb.tui/resize.exp: Update.
4234 * gdb.tui/empty.exp (layouts): Update.
4235
2192a9d3
TT
42362019-12-11 Tom Tromey <tom@tromey.com>
4237
4238 * gdb.tui/regs.exp: Update.
4239 * gdb.tui/empty.exp (layouts): Update.
4240 * gdb.tui/basic.exp: Update.
4241 * lib/tuiterm.exp (_check_box): Don't check bottom border.
4242
d8edc8b7
PW
42432019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4244
4245 * gdb.base/options.exp: Add -raw-values in the print completion list.
4246 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
4247
4c12d936
KB
42482019-12-10 Kevin Buettner <kevinb@redhat.com>
4249
4250 * gdb.threads/omp-par-scope.c: New file.
4251 * gdb/threads/omp-par-scope.exp: New file.
4252
26b911fb
KB
42532019-12-10 Kevin Buettner <kevinb@redhat.com>
4254
bb47f919
KB
4255 * lib/gdb.exp (support_nested_function_tests): New proc.
4256
42572019-12-10 Kevin Buettner <kevinb@redhat.com>
4258
4259 * lib/gdb.exp (gdb_compile_openmp): New proc.
4260 (build_executable_from_specs): Add an "openmp" option.
4261 (gdb_compile_pthreads): Add non-executable case.
26b911fb 4262
6c71eb7d
TT
42632019-12-10 Tom Tromey <tromey@adacore.com>
4264
4265 * gdb.ada/unchecked_union.exp: New file.
4266 * gdb.ada/unchecked_union/pck.adb: New file.
4267 * gdb.ada/unchecked_union/pck.ads: New file.
4268 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
4269 * gdb-utils.exp (string_to_regexp): Also quote "?".
4270
bac7c5cf
GB
42712019-12-10 George Barrett <bob@bob131.so>
4272
4273 Test scripted probe breakpoints.
4274 * gdb.guile/scm-breakpoint.c (main): Add probe point.
4275 * gdb.python/py-breakpoint.c (main): Likewise.
4276 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
4277 specifier test.
4278 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
4279
330f1d38
TBA
42802019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4281
4282 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
4283 an rvalue parameter.
4284 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
4285 parameter.
4286
b43315e2
AB
42872019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4288
4289 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
4290 modules.
4291
54f73dad
AB
42922019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4293
4294 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
4295 broken version of GCC.
4296
d57cbee9
AB
42972019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4298
4299 * gdb.fortran/info-modules.exp: Rewrite to make use of new
4300 sym-info-cmds library.
4301 * gdb.fortran/info-types.exp: Likewise.
4302 * lib/sym-info-cmds.exp: New file.
4303
c14aab8c
TV
43042019-12-08 Tom de Vries <tdevries@suse.de>
4305
4306 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
4307
aa2d5a42
KS
43082019-12-07 Keith Seitz <keiths@redhat.com>
4309
4310 * gdb.base/corefile-buildid-shlib-shr.c: New file.
4311 * gdb.base/corefile-buildid-shlib.c: New file.
4312 * gdb.base/corefile-buildid.c: New file.
4313 * gdb.base/corefile-buildid.exp: New file.
4314
93e55f0a
TV
43152019-12-06 Tom de Vries <tdevries@suse.de>
4316
4317 * gdb.dwarf2/varval.exp: Add decl before def test.
4318
c7d12402
TBA
43192019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4320
4321 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
4322
06acc08f
TBA
43232019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4324
4325 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
4326 CV and reference conversion for overload resolution.
4327 * gdb.cp/rvalue-ref-overload.exp: Test it.
4328
e0fad1ea
PW
43292019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4330
4331 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
4332 * gdb.base/frameapply.exp: Test faas without command.
4333
8d70a9f0
AB
43342019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4335
4336 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
4337 Fortran tests.
4338 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
4339 order.
4340
36c8fb93
AB
43412019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4342
4343 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
4344 casting to type with no kind specified.
4345 (test_basic_parsing_of_type_kinds): Additional tests for types
4346 with no kind specified, and add tests for single/double
4347 precision/complex types.
4348
4139ff00
TT
43492019-12-04 Tom Tromey <tromey@adacore.com>
4350
4351 * gdb.base/endianity.c (struct other) <x>: New field.
4352 (main): Initialize it.
4353 * gdb.base/endianity.exp: Update.
4354
a05cf17a
TT
43552019-12-04 Tom Tromey <tromey@adacore.com>
4356
4357 * gdb.ada/scalar_storage/storage.adb: New file.
4358 * gdb.ada/scalar_storage/pck.adb: New file.
4359 * gdb.ada/scalar_storage/pck.ads: New file.
4360 * gdb.ada/scalar_storage.exp: New file.
4361
103a685e
TT
43622019-12-04 Tom Tromey <tromey@adacore.com>
4363
4364 * gdb.base/endianity.c (struct otherendian) <f>: New field.
4365 (main): Initialize it.
4366 * gdb.base/endianity.exp: Update.
4367
c2512106
AB
43682019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4369
4370 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
4371
293b38d6
AB
43722019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4373
4374 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
4375 -symbol-info-module-functions and -symbol-info-module-variables.
4376
216a7e6b
AB
43772019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
4378
4379 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
4380
5bbd8269
AB
43812019-12-01 Richard Bunt <richard.bunt@arm.com>
4382 Andrew Burgess <andrew.burgess@embecosm.com>
4383
4384 * gdb.fortran/derived-type-striding.exp: New file.
4385 * gdb.fortran/derived-type-striding.f90: New file.
4386 * gdb.fortran/array-slices.exp: New file.
4387 * gdb.fortran/array-slices.f90: New file.
4388
be09caf1
PW
43892019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4390
4391 * gdb.base/define.exp: Test . in command names.
4392 * gdb.base/setshow.exp: Update test, as . is now part of
4393 command name.
4394
643c0cbe
PW
43952019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4396
4397 * gdb.base/define-prefix.exp: New file.
4398
dcdec678
AB
43992019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
4400
4401 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
4402 compile.
4403 (skip_btrace_pt_tests): Likewise.
4404
640ab947
AB
44052019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
4406
4407 * gdb.fortran/info-modules.exp: Compile source files in correct
4408 order.
4409
d22670f0
KB
44102019-11-27 Kevin Buettner <kevinb@redhat.com>
4411
4412 * gdb.dwarf2/imported-unit.exp: New file.
4413 * gdb.dwarf2/imported-unit.c: New file.
4414
db5960b4
AB
44152019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
4416
4417 * gdb.mi/mi-fortran-modules-2.f90: New file.
4418 * gdb.mi/mi-fortran-modules.exp: New file.
4419 * gdb.mi/mi-fortran-modules.f90: New file.
4420
7dc42066
AB
44212019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
4422
4423 * gdb.mi/mi-sym-info-1.c: New file.
4424 * gdb.mi/mi-sym-info-2.c: New file.
4425 * gdb.mi/mi-sym-info.exp: New file.
4426
0dfeecca
TT
44272019-11-22 Tom Tromey <tromey@adacore.com>
4428
4429 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
4430 * gdb.ada/tasks/foo.adb: Add another stopping location.
4431
34877895
PJ
44322019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
4433
4434 * gdb.base/endianity.c: New test.
4435 * gdb.base/endianity.exp: New file.
4436
2e84f897
LD
44372019-11-21 Lukas Durfina <ldurfina@tachyum.com>
4438
4439 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
4440
65d1cd5f
TV
44412019-11-21 Tom de Vries <tdevries@suse.de>
4442
4443 PR gdb/24956
4444 * gdb.base/ui-redirect.exp: Test output of user-defined command.
4445
4f22c3f4
SDJ
44462019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4447
4448 * gdb.python/py-progspace.exp: Add missing parentheses on some
4449 'print' commands.
4450
9f6ad286
TT
44512019-11-19 Tom Tromey <tom@tromey.com>
4452
4453 * gdb.tui/winheight.exp: New file.
4454
0b8dbf3f
AB
44552019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
4456
4457 * gdb.base/ctf-whatis.c: Delete.
4458 * gdb.base/ctf-whatis.exp: Delete.
4459 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
4460
f833b7a7
AB
44612019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
4462
4463 * gdb.base/ctf-cvexpr.exp: Delete.
4464 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
4465
30d0a636
AB
44662019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
4467
4468 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
4469 the compiler. Clean up header comment a little.
4470 * gdb.base/ctf-ptype.exp: Likewise.
4471 * gdb.base/ctf-whatis.exp: Likewise.
4472 * lib/gdb.exp (skip_ctf_tests): New proc.
4473
494409bb
SDJ
44742019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
4475
4476 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
4477 * gdb.tui/corefile-run.exp: New file.
4478
55708e99
TT
44792019-11-14 Tom Tromey <tromey@adacore.com>
4480
4481 * gdb.base/gdbvars.exp (test_convenience_variables): Add
4482 regression tests.
4483
45e42163
TT
44842019-11-12 Tom Tromey <tom@tromey.com>
4485
4486 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
4487 after any command. Expect prompt after WAIT_FOR is seen.
4488 (enter_tui): Enable resize messages.
4489 (command): Expect command in output.
4490 (get_line): Avoid error when cursor appears to be off-screen.
4491 (dump_screen): Include screen size in title.
4492 (_do_resize): New proc, from "resize".
4493 (resize): Rewrite. Do resize in two steps.
4494 * gdb.tui/empty.exp (layouts): Fix entries.
4495 (check_boxes): Remove xfail.
4496 (check_text): Dump screen on failure.
4497
086baaf1
AB
44982019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
4499
4500 * gdb.python/py-symbol.exp: Add test for
4501 gdb.lookup_static_symbols.
4502
09ff83af
AB
45032019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
4504
4505 * gdb.python/py-symbol.c: Declare and call function from new
4506 py-symbol-2.c file.
4507 * gdb.python/py-symbol.exp: Compile both source files, and add new
4508 tests for gdb.lookup_static_symbol.
4509 * gdb.python/py-symbol-2.c: New file.
4510
11af934b
TV
45112019-11-02 Tom de Vries <tdevries@suse.de>
4512
4513 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
4514 * gdb.base/anon.exp: Same.
4515 * gdb.base/auto-connect-native-target.exp: Same.
4516 * gdb.base/call-ar-st.exp: Same.
4517 * gdb.base/catch-syscall.exp: Same.
4518 * gdb.base/commands.exp: Same.
4519 * gdb.base/default.exp: Same.
4520 * gdb.base/display.exp: Same.
4521 * gdb.base/float.exp: Same.
4522 * gdb.base/foll-fork.exp: Same.
4523 * gdb.base/help.exp: Same.
4524 * gdb.base/info-macros.exp: Same.
4525 * gdb.base/info-proc.exp: Same.
4526 * gdb.base/info-target.exp: Same.
4527 * gdb.base/long_long.exp: Same.
4528 * gdb.base/macscp.exp: Same.
4529 * gdb.base/memattr.exp: Same.
4530 * gdb.base/nofield.exp: Same.
4531 * gdb.base/pointers.exp: Same.
4532 * gdb.base/printcmds.exp: Same.
4533 * gdb.base/ptype.exp: Same.
4534 * gdb.base/restore.exp: Same.
4535 * gdb.base/return.exp: Same.
4536 * gdb.base/scope.exp: Same.
4537 * gdb.base/set-noassign.exp: Same.
4538 * gdb.base/setshow.exp: Same.
4539 * gdb.base/shlib-call.exp: Same.
4540 * gdb.base/signals.exp: Same.
4541 * gdb.base/sigstep.exp: Same.
4542 * gdb.base/skip.exp: Same.
4543 * gdb.base/solib-symbol.exp: Same.
4544 * gdb.base/stap-probe.exp: Same.
4545 * gdb.base/step-line.exp: Same.
4546 * gdb.base/step-test.exp: Same.
4547 * gdb.base/style.exp: Same.
4548 * gdb.base/varargs.exp: Same.
4549 * gdb.base/vla-datatypes.exp: Same.
4550 * gdb.base/vla-ptr.exp: Same.
4551 * gdb.base/vla-sideeffect.exp: Same.
4552 * gdb.base/volatile.exp: Same.
4553 * gdb.base/watch-cond-infcall.exp: Same.
4554 * gdb.base/watchpoint.exp: Same.
4555
e96ec2ba
TV
45562019-11-02 Tom de Vries <tdevries@suse.de>
4557
4558 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
4559 * gdb.cp/cpexprs.exp: Same.
4560 * gdb.cp/except-multi-location.exp: Same.
4561 * gdb.cp/exceptprint.exp: Same.
4562 * gdb.cp/gdb2384.exp: Same.
4563 * gdb.cp/inherit.exp: Same.
4564 * gdb.cp/m-static.exp: Same.
4565 * gdb.cp/meth-typedefs.exp: Same.
4566 * gdb.cp/misc.exp: Same.
4567 * gdb.cp/namespace.exp: Same.
4568 * gdb.cp/non-trivial-retval.exp: Same.
4569 * gdb.cp/overload.exp: Same.
4570 * gdb.cp/pr17132.exp: Same.
4571 * gdb.cp/re-set-overloaded.exp: Same.
4572 * gdb.cp/rvalue-ref-types.exp: Same.
4573 * gdb.cp/templates.exp: Same.
4574
bd5766ec
LM
45752019-11-01 Luis Machado <luis.machado@linaro.org>
4576
4577 PR gdb/25124
4578
4579 * gdb.arch/pr25124.S: New file.
4580 * gdb.arch/pr25124.exp: New file.
4581
165f8965
AB
45822019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4583
4584 * gdb.fortran/info-modules.exp: Update expected results, and add
4585 additional tests for 'info module functinos', and 'info module
4586 variables'.
4587 * gdb.fortran/info-types.exp: Update expected results.
4588 * gdb.fortran/info-types.f90: Extend testcase with additional
4589 module variables and functions.
4590
59c35742
AB
45912019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4592
4593 * gdb.fortran/info-modules.exp: New file.
4594 * gdb.fortran/info-types.exp: Build with new file.
4595 * gdb.fortran/info-types.f90: Include and use new module.
4596 * gdb.fortran/info-types-2.f90: New file.
4597
f3fb2519
PW
45982019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4599
4600 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
4601 * gdb.base/settings.exp: Test all settings types using
4602 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
4603 that now verifies that the value of "maint show" is the same as
4604 returned by the settings functions. Test the type of the
4605 maintenance settings.
4606 * gdb.base/default.exp: Update show_conv_list.
4607
d1e36019
TV
46082019-10-31 Tom de Vries <tdevries@suse.de>
4609
4610 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
4611 gdb_test.
4612 * gdb.arch/amd64-disp-step.exp: Same.
4613 * gdb.asm/asm-source.exp: Same.
4614 * gdb.btrace/buffer-size.exp: Same.
4615 * gdb.btrace/cpu.exp: Same.
4616 * gdb.btrace/enable.exp: Same.
4617 * gdb.dwarf2/count.exp: Same.
4618 * gdb.dwarf2/dw2-ranges-func.exp: Same.
4619 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
4620 * gdb.fortran/vla-datatypes.exp: Same.
4621 * gdb.fortran/vla-history.exp: Same.
4622 * gdb.fortran/vla-ptype.exp: Same.
4623 * gdb.fortran/vla-value.exp: Same.
4624 * gdb.fortran/whatis_type.exp: Same.
4625 * gdb.guile/guile.exp: Same.
4626 * gdb.multi/tids.exp: Same.
4627 * gdb.python/py-finish-breakpoint.exp: Same.
4628 * gdb.python/py-framefilter.exp: Same.
4629 * gdb.python/py-pp-registration.exp: Same.
4630 * gdb.python/py-xmethods.exp: Same.
4631 * gdb.python/python.exp: Same.
4632 * gdb.server/connect-with-no-symbol-file.exp: Same.
4633 * gdb.server/no-thread-db.exp: Same.
4634 * gdb.server/run-without-local-binary.exp: Same.
4635 * gdb.stabs/weird.exp: Same.
4636 * gdb.threads/attach-many-short-lived-threads.exp: Same.
4637 * gdb.threads/thread-find.exp: Same.
4638 * gdb.threads/tls-shared.exp: Same.
4639 * gdb.threads/tls.exp: Same.
4640 * gdb.threads/wp-replication.exp: Same.
4641 * gdb.trace/ax.exp: Same.
4642 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
4643
3d11e68e
TV
46442019-10-31 Tom de Vries <tdevries@suse.de>
4645
4646 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
4647 * gdb.ada/array_subscript_addr.exp: Same.
4648 * gdb.ada/arrayidx.exp: Same.
4649 * gdb.ada/arrayparam.exp: Same.
4650 * gdb.ada/arrayptr.exp: Same.
4651 * gdb.ada/boolean_expr.exp: Same.
4652 * gdb.ada/call_pn.exp: Same.
4653 * gdb.ada/complete.exp: Same.
4654 * gdb.ada/fixed_cmp.exp: Same.
4655 * gdb.ada/fun_addr.exp: Same.
4656 * gdb.ada/funcall_param.exp: Same.
4657 * gdb.ada/interface.exp: Same.
4658 * gdb.ada/mod_from_name.exp: Same.
4659 * gdb.ada/null_array.exp: Same.
4660 * gdb.ada/packed_array.exp: Same.
4661 * gdb.ada/packed_tagged.exp: Same.
4662 * gdb.ada/print_chars.exp: Same.
4663 * gdb.ada/print_pc.exp: Same.
4664 * gdb.ada/ptype_arith_binop.exp: Same.
4665 * gdb.ada/ptype_field.exp: Same.
4666 * gdb.ada/ptype_tagged_param.exp: Same.
4667 * gdb.ada/rec_return.exp: Same.
4668 * gdb.ada/ref_tick_size.exp: Same.
4669 * gdb.ada/str_ref_cmp.exp: Same.
4670 * gdb.ada/taft_type.exp: Same.
4671 * gdb.ada/tagged.exp: Same.
4672 * gdb.ada/type_coercion.exp: Same.
4673 * gdb.ada/uninitialized_vars.exp: Same.
4674
60b6ede8
TV
46752019-10-30 Tom de Vries <tdevries@suse.de>
4676
4677 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
4678
30baf67b
TV
46792019-10-26 Tom de Vries <tdevries@suse.de>
4680
4681 * gdb.base/bigcore.c: Fix typos in comments.
4682 * gdb.base/ctf-ptype.c: Same.
4683 * gdb.base/long_long.c: Same.
4684 * gdb.dwarf2/dw2-op-out-param.S: Same.
4685 * gdb.python/py-evthreads.c: Same.
4686 * gdb.reverse/i387-stack-reverse.c: Same.
4687 * gdb.trace/tfile.c: Same.
4688 * lib/compiler.c: Same.
4689 * lib/compiler.cc: Same.
4690
158da0d1
TV
46912019-10-25 Tom de Vries <tdevries@suse.de>
4692
4693 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
4694 gdb_test_multiple calls.
4695 * gdb.reverse/sigall-reverse.exp: Same.
4696 * gdb.reverse/solib-precsave.exp: Same.
4697 * gdb.reverse/solib-reverse.exp: Same.
4698 * gdb.reverse/until-precsave.exp: Same.
4699 * gdb.reverse/until-reverse.exp: Same.
4700
4ccdfbec
TV
47012019-10-24 Tom de Vries <tdevries@suse.de>
4702
4703 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
4704 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
4705 kfail using -wrap pattern flag and convenience variable
4706 gdb_test_name.
4707
33d569b7
AB
47082019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
4709
4710 * gdb.python/py-progspace.exp: Add tests for the
4711 Progspace.block_for_pc method.
4712
4d0b984b
TT
47132019-10-23 Tom Tromey <tom@tromey.com>
4714
4715 * configure: Rebuild.
4716 * aclocal.m4: Use m4_include, not sinclude.
4717
94cb3754
TV
47182019-10-21 Tom de Vries <tdevries@suse.de>
4719
4720 * gdb.base/infcall-nested-structs.c: Add
4721 __attribute__((noinline,noclone)) to all functions.
4722 (call_all): Add missing variable initialization. Simplify return value.
4723 (breakpt): Increment volatile variable, to prevent call from being
4724 optimized out.
4725 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
4726
062f1fc1
TV
47272019-10-17 Tom de Vries <tdevries@suse.de>
4728
4729 * gdb.fortran/module.exp: Allow info variables to print info for files
4730 other than module.f90.
4731
0b54364d
AB
47322019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
4733
4734 * gdb.fortran/module.exp: Extend with 'info variables' test.
4735
7ff5fae7
AB
47362019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
4737
4738 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
4739 F77_FOR_TARGET.
4740
d10eccaa
TV
47412019-10-16 Tom de Vries <tdevries@suse.de>
4742
4743 PR tdep/25096
4744 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
4745
745ff14e
TV
47462019-10-16 Tom de Vries <tdevries@suse.de>
4747
4748 PR tdep/24104
4749 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
4750 Add KFAIL for PR tdep/25096.
4751
03e1ab94
TV
47522019-10-16 Tom de Vries <tdevries@suse.de>
4753
4754 PR testsuite/25059
4755 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
4756
b17fcc10
TV
47572019-10-16 Tom de Vries <tdevries@suse.de>
4758
4759 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
4760 as signed.
4761
9223170f
SM
47622019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
4763
4764 * gdb.mi/list-thread-groups-available.exp: Read entries one by
4765 one instead of increasing timeout.
4766
d6e76313
TV
47672019-10-13 Tom de Vries <tdevries@suse.de>
4768
4769 PR record/25038
4770 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
4771 * gdb.reverse/sigall-reverse.exp: Same.
4772 * gdb.reverse/solib-precsave.exp: Same.
4773 * gdb.reverse/solib-reverse.exp: Same.
4774 * gdb.reverse/step-precsave.exp: Same.
4775 * gdb.reverse/until-precsave.exp: Same.
4776 * gdb.reverse/until-reverse.exp: Same.
4777 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
4778
6dfc0041
AA
47792019-10-10 Andreas Arnez <arnez@linux.ibm.com>
4780
4781 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
4782 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
4783 (cmp_struct_05_01, cmp_struct_static_02_01)
4784 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
4785 comparisons.
4786
abcf2cc8
TV
47872019-10-10 Tom de Vries <tdevries@suse.de>
4788
4789 PR testsuite/24888
4790 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
4791 gnatlink.
4792
a50faaf6
TV
47932019-10-09 Tom de Vries <tdevries@suse.de>
4794
4795 PR testsuite/25048
4796 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
4797
60ff3cd7
AB
47982019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
4799
4800 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
4801 exceptions due to missing debug information.
4802
dfee8566
TV
48032019-10-07 Tom de Vries <tdevries@suse.de>
4804
4805 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
4806
3d63690a
AB
48072019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
4808
4809 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
4810 * gdb.base/annota1.exp: Update to use gdb_test_name.
4811
30d1f018
WP
48122019-10-07 Weimin Pan <weimin.pan@oracle.com>
4813
4814 * gdb.base/ctf-whatis.exp: New file.
4815 * gdb.base/ctf-whatis.c: New file.
4816 * gdb.base/ctf-ptype.exp: New file.
4817 * gdb.base/ctf-ptype.c: New file.
4818 * gdb.base/ctf-constvars.exp: New file.
4819 * gdb.base/ctf-constvars.c: New file.
4820 * gdb.base/ctf-cvexpr.exp: New file.
4821
4dbbb47c
TV
48222019-10-04 Tom de Vries <tdevries@suse.de>
4823
4824 * gdb.cp/local-static.c (main): Move declaration of int i out of the
4825 for loop.
4826
77c2dba3
TT
48272019-10-03 Tom Tromey <tom@tromey.com>
4828
4829 PR rust/24976:
4830 * gdb.rust/simple.rs (Union2): New type.
4831 (main): Use Union2.
4832 * gdb.rust/simple.exp: Add test.
4833
179aed7f
AB
48342019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4835
4836 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
4837 nested function prefix.
4838
0a4b0913
AB
48392019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
4840 Richard Bunt <richard.bunt@arm.com>
4841 Andrew Burgess <andrew.burgess@embecosm.com>
4842
4843 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
4844 nested functions.
4845 * gdb.fortran/nested-funcs.f90: Update expected results.
4846 * gdb.fortran/nested-funcs-2.exp: New file.
4847 * gdb.fortran/nested-funcs-2.f90: New file.
4848
082cce05
AB
48492019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4850
4851 * gdb.python/py-parameter.exp: Make test names unique.
4852 * gdb.python/py-template.exp: Likewise.
4853 * gdb.python/py-value.exp: Likewise.
4854
2b74ba5a
AB
48552019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4856
4857 * gdb.base/break-interp.exp: Reduce test name duplication.
4858 * gdb.base/call-sc.exp: Likewise.
4859 * gdb.base/callfuncs.exp: Likewise.
4860 * gdb.base/charset.exp: Likewise.
4861 * gdb.base/dump.exp: Likewise.
4862 * gdb.base/ena-dis-br.exp: Likewise.
4863 * gdb.base/relational.exp: Likewise.
4864 * gdb.base/step-over-syscall.exp: Likewise.
4865 * gdb.base/structs.exp: Likewise.
4866
58eb20d5
AB
48672019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4868
4869 * gdb.linespec/explicit.exp: Make test names unique.
4870 * gdb.linespec/ls-errs.exp: Likewise.
4871
4d421147
AB
48722019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4873
4874 * gdb.reverse/break-precsave.exp: Make test names unique.
4875 * gdb.reverse/break-reverse.exp: Likewise.
4876 * gdb.reverse/finish-precsave.exp: Likewise.
4877 * gdb.reverse/finish-reverse.exp: Likewise.
4878 * gdb.reverse/machinestate-precsave.exp: Likewise.
4879 * gdb.reverse/machinestate.exp: Likewise.
4880 * gdb.reverse/readv-reverse.exp: Likewise.
4881 * gdb.reverse/recvmsg-reverse.exp: Likewise.
4882 * gdb.reverse/sigall-precsave.exp: Likewise.
4883 * gdb.reverse/sigall-reverse.exp: Likewise.
4884 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
4885 * gdb.reverse/watch-precsave.exp: Likewise.
4886 * gdb.reverse/watch-reverse.exp: Likewise.
4887
d8c06f22
AB
48882019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4889
4890 * gdb.threads/stop-with-handle.c: New file.
4891 * gdb.threads/stop-with-handle.exp: New file.
4892
3a56ed86
TV
48932019-10-03 Tom de Vries <tdevries@suse.de>
4894
4895 PR testsuite/25059
4896 * gdb.base/list-missing-source.exp: Allowing the "Compilation
4897 directory" line to be missing.
4898
42275044
TV
48992019-10-03 Tom de Vries <tdevries@suse.de>
4900
4901 PR testsuite/25059
4902 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
4903 type optional.
4904
9ef62df0
AA
49052019-10-02 Andreas Arnez <arnez@linux.ibm.com>
4906
4907 * gdb.python/py-format-string.c (string.h): New include.
4908 (main): Fill a_struct_with_union.the_union.an_int with bytes of
4909 the same value, for endianness-independence.
4910 * gdb.python/py-format-string.exp (default_regexp_dict)
4911 (test_pretty_structs, test_format): Adjust expected output to the
4912 changed initialization.
4913
37f6a7f4
TT
49142019-10-02 Tom Tromey <tromey@adacore.com>
4915
4916 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
4917
1d58d6a2
PA
49182019-10-02 Pedro Alves <palves@redhat.com>
4919 Andrew Burgess <andrew.burgess@embecosm.com>
4920
4921 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
4922 "print-file-var.h".
4923 (this_version_id) Use ATTRIBUTE_VISIBILITY.
4924 (get_version_1): Print this_version_id and its address.
4925 Add extern "C" wrappers around interface functions.
4926 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
4927 "print-file-var.h".
4928 (this_version_id) Use ATTRIBUTE_VISIBILITY.
4929 (get_version_2): Print this_version_id and its address.
4930 Add extern "C" wrappers around interface functions.
4931 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
4932 <stddef.h> and "print-file-var.h".
4933 Add extern "C" wrappers around interface functions.
4934 [VERSION_ID_MAIN] (this_version_id): Define.
4935 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
4936 * gdb.base/print-file-var.h: Add some #defines to simplify setting
4937 up extern "C" blocks.
4938 * gdb.base/print-file-var.exp (test): New, factored out from top
4939 level.
4940 (top level): Test all combinations of attribute hidden or not,
4941 dlopen or not, and this_version_id symbol in main file or not.
4942 Compile tests as both C++ and C, make test names unique.
4943
d770d56f
TT
49442019-10-01 Tom Tromey <tom@tromey.com>
4945
4946 * gdb.base/style.exp: Test "show logging filename".
4947
7f6aba03
TT
49482019-10-01 Tom Tromey <tom@tromey.com>
4949
4950 * lib/gdb-utils.exp (style): Handle "metadata" argument.
4951 * gdb.base/style.exp: Add metadata style test.
4952
14309bb6
TT
49532019-10-01 Tom Tromey <tom@tromey.com>
4954
4955 * gdb.base/style.exp: Test "pwd".
4956
2a3c1174
PA
49572019-10-01 Tom Tromey <tom@tromey.com>
4958
4959 * gdb.base/style.exp: Update tests.
4960
53d666ec
AA
49612019-10-01 Andreas Arnez <arnez@linux.ibm.com>
4962
4963 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
4964 'six' to unsigned.
4965 (s1): Initialize fields 'four' and 'six' instead of 'three' and
4966 'five'. Use an all-ones bit pattern for each.
4967 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
4968 to its changed values.
4969
4a56a520
TT
49702019-09-30 Tom Tromey <tromey@adacore.com>
4971
4972 * gdb.rust/traits.rs: Disable all warnings.
4973
0df0352a
TV
49742019-09-29 Tom de Vries <tdevries@suse.de>
4975
aac66a4c 4976 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 4977
73d9a918
TV
49782019-09-29 Tom de Vries <tdevries@suse.de>
4979
4980 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
4981
060b3ab4
TV
49822019-09-27 Tom de Vries <tdevries@suse.de>
4983
4984 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
4985
68f7d34d
TV
49862019-09-27 Tom de Vries <tdevries@suse.de>
4987
4988 PR record/23188
4989 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
4990
5d63b30a
TT
49912019-09-26 Tom Tromey <tromey@adacore.com>
4992
4993 * gdb.ada/py_taft.exp: New file.
4994 * gdb.ada/py_taft/main.adb: New file.
4995 * gdb.ada/py_taft/pkg.adb: New file.
4996 * gdb.ada/py_taft/pkg.ads: New file.
4997
3d435220
TV
49982019-09-24 Tom de Vries <tdevries@suse.de>
4999
5000 PR gdb/24598
5001 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
5002
77d03678
TV
50032019-09-22 Tom de Vries <tdevries@suse.de>
5004
5005 * gdb.base/restore.exp: Allow register variables to be optimized out at
5006 -O0.
5007
abf516c6
UW
50082019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
5009
5010 * gdb.arch/spu-info.exp: Remove file.
5011 * gdb.arch/spu-info.c: Remove file.
5012 * gdb.arch/spu-ls.exp: Remove file.
5013 * gdb.arch/spu-ls.c: Remove file.
5014
5015 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
5016 * gdb.asm/spu.inc: Remove file.
5017
5018 * gdb.base/dump.exp: Remove support for spu*-*-*.
5019 * gdb.base/stack-checking.exp: Likewise.
5020 * gdb.base/overlays.exp: Likewise.
5021 * gdb.base/ovlymgr.c: Likewise.
5022 * gdb.base/spu.ld: Remove file.
5023
5024 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
5025 * gdb.cp/cpexprs.exp: Likewise.
5026 * gdb.cp/exception.exp: Likewise.
5027 * gdb.cp/gdb2495.exp: Likewise.
5028 * gdb.cp/mb-templates.exp: Likewise.
5029 * gdb.cp/pr9167.exp: Likewise.
5030 * gdb.cp/userdef.exp: Likewise.
5031
5032 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
5033
5034 * gdb.cell: Remove directory.
5035 * lib/cell.exp: Remove file.
5036
e452e88f
TV
50372019-09-19 Tom de Vries <tdevries@suse.de>
5038
5039 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
5040
8a625130
TV
50412019-09-19 Tom de Vries <tdevries@suse.de>
5042
5043 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
5044
81dc3ab5
TV
50452019-09-19 Tom de Vries <tdevries@suse.de>
5046
5047 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
5048 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
5049 (gdb_target_cmd): ... here.
5050 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
5051 value 2.
5052
b078f3ac
AB
50532019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
5054
5055 * gdb.base/source-dir.exp: Avoid having directory names in test
5056 names.
5057
f1b620e9
MG
50582019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
5059
5060 * gdb.base/source-dir.exp: Add extra test for mapped compilation
5061 directory.
5062
67f3ed6a
AB
50632019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
5064
5065 * gdb.base/list-missing-source.exp: New file.
5066
d1b70248
TV
50672019-09-14 Tom de Vries <tdevries@suse.de>
5068
5069 PR teststuite/24599
5070 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
5071 * lib/ada.exp (gnatmake_version_at_least): New proc.
5072
5fabdcd6
AB
50732019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
5074
5075 * gdb.base/maint.exp: Use exec_has_index_section.
5076
aa17805f
AB
50772019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
5078
5079 * gdb.base/maint.exp: Add test for 'maint info sections'.
5080
25e5c209
TV
50812019-09-12 Tom de Vries <tdevries@suse.de>
5082
5083 * gdb.base/store.exp: Allow register variables to be optimized out at
5084 -O0.
5085
4993045d
PW
50862019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5087
5088 * gdb.ada/rdv_wait.exp: Update to new task names.
5089 * gdb.base/task_switch_in_core.exp: Likewise.
5090 * gdb.base/info_sources_base.c: Likewise.
5091
8a516164
TT
50922019-09-10 Tom Tromey <tromey@adacore.com>
5093
5094 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
5095
aa391654
TT
50962019-09-10 Tom Tromey <tromey@adacore.com>
5097
5098 * gdb.ada/dgopt.exp: New file.
5099 * gdb.ada/dgopt/x.adb: New file.
5100
8634b462
TT
51012019-09-08 Tom Tromey <tom@tromey.com>
5102
5103 * gdb.tui/resize.exp: Remove setup_xfail.
5104 * gdb.tui/regs.exp: Remove setup_xfail.
5105 * gdb.tui/basic.exp: Remove setup_xfail.
5106
736b0f76
DB
51072019-09-06 David Blaikie <dblaikie@gmail.com>
5108
5109 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
5110 * gdb.cp/cplabel.exp: Ditto.
5111 * gdb.linespec/ls-errs.exp: Ditto.
5112
30331a6c
TV
51132019-09-05 Tom de Vries <tdevries@suse.de>
5114
5115 * lib/gdb.exp (cmp_file_string): New proc.
5116 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
5117 runto_main. Verify save breakpoints output.
5118
98b0ebab
PW
51192019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5120
5121 * gdb.base/info-var.exp: Test info variables without running
5122 to main, to avoid expect's buffer overflow.
5123
4e962e74
TT
51242019-09-03 Tom Tromey <tromey@adacore.com>
5125
5126 * gdb.ada/bias.exp: New file.
5127 * gdb.ada/bias/bias.adb: New file.
5128 * gdb.ada/print_chars.exp: Add regression test.
5129 * gdb.ada/print_chars/foo.adb (My_Character): New type.
5130 (MC): New variable.
5131
2ea1a07a
SL
51322019-08-29 Sandra Loosemore <sandra@codesourcery.com>
5133
5134 * gdb.base/argv0-symlink.exp: Run only on native target
5135 and local host.
5136
8077c50d
TV
51372019-08-29 Tom de Vries <tdevries@suse.de>
5138
5139 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
5140 diverse debug info.
5141 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
5142
48352473
TV
51432019-08-28 Tom de Vries <tdevries@suse.de>
5144
5145 * gdb.base/info-var.exp: Allow info variables to print info for files
5146 other than info-var-f1.c and info-var-f2.c.
5147
d8f27c60
AB
51482019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
5149
5150 * gdb.fortran/info-types.exp: Add module.
5151 * gdb.fortran/info-types.f90: Update expected results.
5152
1f20c35e
AB
51532019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
5154
5155 * gdb.fortran/info-types.exp: New file.
5156 * gdb.fortran/info-types.f90: New file.
5157 * lib/fortran.exp (fortran_character1): New proc.
5158
4acfdd20
AB
51592019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
5160
5161 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
5162 functions'. Reindent as needed.
5163 * gdb.base/info-var-f1.c: New file.
5164 * gdb.base/info-var-f2.c: New file.
5165 * gdb.base/info-var.exp: New file.
5166 * gdb.base/info-var.h: New file.
5167
5c31b358
TV
51682019-08-26 Tom de Vries <tdevries@suse.de>
5169
5170 PR c++/24852
5171 * gdb.cp/no-libstdcxx-probe.exp: New test.
5172
b694989f
TV
51732019-08-26 Tom de Vries <tdevries@suse.de>
5174
5175 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
5176 * tests need to be skipped.
5177 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
5178 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
5179 mi_skip_libstdcxx_probe_tests.
5180
d9c4ba53
SDJ
51812019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
5182
5183 * gdb.python/py-xmethods.exp: Use raw strings when passing
5184 arguments to SimpleXMethodMatcher.
5185
395fad09
TV
51862019-08-22 Tom de Vries <tdevries@suse.de>
5187
5188 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
5189 more informative.
5190
26c957f1
PA
51912019-08-21 Pedro Alves <palves@redhat.com>
5192
5193 * gdb.base/with.exp: Test "with" with no arguments.
5194
61f80d5d
TV
51952019-08-21 Tom de Vries <tdevries@suse.de>
5196
5197 * gdb.base/gdb-caching-proc.exp: Sort files.
5198
d7a11d13
TV
51992019-08-20 Tom de Vries <tdevries@suse.de>
5200
5201 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
5202 compilation.
5203
34dafe9f
TV
52042019-08-16 Tom de Vries <tdevries@suse.de>
5205
5206 * gdb.base/compare-sections.exp ("after run to main"): Allow
5207 mismatched read-only sections for PIE executables.
5208
398fdd60
TT
52092019-08-16 Tom Tromey <tom@tromey.com>
5210
5211 * lib/tuiterm.exp (_csi_Z): New proc.
5212 * gdb.tui/basic.exp: Update window positions.
5213 * gdb.tui/empty.exp: Update window positions.
5214
d8f9e51c
SL
52152019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5216
5217 * gdb.base/examine-backward.exp: Correct regexp for
5218 "examine 3 bytes backward from ${address_zero}".
5219
3df505f6
TT
52202019-08-15 Tom Tromey <tom@tromey.com>
5221
5222 * gdb.tui/empty.exp: Enable resizing tests.
5223
272560b5
TT
52242019-08-15 Tom Tromey <tromey@adacore.com>
5225
5226 * gdb.ada/char_enum.exp: Add regression tests.
5227 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
5228 and '0'.
5229 (Char, Gchar): Update.
5230 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
5231
08235187
CB
52322019-08-15 Christian Biesinger <cbiesinger@google.com>
5233
5234 * gdb.python/python.exp: Expect a leading underscore on
5235 GdbOutput{,Error}File.
5236
22a2ab04
SL
52372019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5238
5239 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
5240 Windows host.
5241
835b995b
SL
52422019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5243
5244 * gdb.base/batch-preserve-term-settings.exp
5245 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
5246
97dd8e07
CB
52472019-08-15 Christian Biesinger <cbiesinger@google.com>
5248
5249 * lib/gdb.exp: When running on a mingw target, replace
5250 /x/ with x:/.
5251
75faf5c4
AH
52522019-08-14 Alan Hayward <alan.hayward@arm.com>
5253
5254 * gdb.arch/aarch64-prologue.c: New test.
5255 * gdb.arch/aarch64-prologue.exp: New file.
5256
abc6c00f
TV
52572019-08-13 Tom de Vries <tdevries@suse.de>
5258
5259 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
5260 Thread.
5261
74c2c1f4
SL
52622019-08-13 Sandra Loosemore <sandra@codesourcery.com>
5263
5264 * gdb.python/py-completion.exp: Download the .py file to the host
5265 and use its host pathname. Conditionalize tests that use
5266 tab completion and manipulate files on the build machine.
5267 * gdb.python/py-events.exp: Download the .py file to the host
5268 and use its host pathname.
5269 * gdb.python/py-evsignal.exp: Likewise.
5270 * gdb.python/py-evthreads.exp: Likewise.
5271 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
5272 pathname syntax.
5273 * gdb.python/py-framefilter.exp: Download the .py file to the right
5274 place on the host. Match Windows pathname syntax.
5275 * gdb.python/py-mi-var-info-path-expression.exp: Download the
5276 .py file to the host and use its host pathname.
5277 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
5278 * gdb.python/py-objfile.exp: Expect a host pathname, not a
5279 build pathname. Skip symlink test on Windows host. Add missing
5280 newline at end of file.
5281 * gdb.python/py-pp-maint.exp: Download the .py file to the host
5282 and use its host pathname.
5283 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
5284 * gdb.python/py-section-script.exp: Use host location of binfile
5285 on safe-path. Use correct path separator on Windows host.
5286 Reorder alternatives in gdb_test_multiple to prevent matching
5287 the wrong alternative on success.
5288 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
5289
ca2589f3
PP
52902019-08-12 Patrick Palka <patrick@parcs.ath.cx>
5291
5292 * gdb.gdb/selftest.exp (test_with_self): Update test to now
5293 expect the GDB inferior to no longer immediately stop after
5294 being resumed with "signal SIGINT".
5295
020a839d
SL
52962019-08-09 Sandra Loosemore <sandra@codesourcery.com>
5297
5298 * gdb.linespec/break-ask.exp: Generalize regexps to match
5299 Windows pathnames too.
5300
128d6509
TV
53012019-08-08 Tom de Vries <tdevries@suse.de>
5302
5303 PR testsuite/24862
5304 * lib/tuiterm.exp (_accept): Fix CSI regexp.
5305
590042fc
PW
53062019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5307
5308 * gdb.base/style.exp: Update tests for help doc new invariants.
5309 * gdb.base/help.exp: Likewise.
5310
046bebe1
TT
53112019-08-06 Tom Tromey <tom@tromey.com>
5312
5313 * gdb.base/style.exp: Add disassemble test.
5314 * gdb.base/style.c (some_called_function): New function.
5315 (main): Use it.
5316
0b27c27d
CB
53172019-08-05 Christian Biesinger <cbiesinger@google.com>
5318
5319 * gdb.python/py-block.exp: Test dictionary access on blocks.
5320
580f1034
SM
53212019-08-05 Simon Marchi <simon.marchi@efficios.com>
5322
5323 PR gdb/24863
5324 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
5325 -list-thread-groups --available test when running under
5326 check-read1.
5327
d86bd7cb
TV
53282019-08-05 Tom de Vries <tdevries@suse.de>
5329
5330 PR testsuite/24863
5331 * lib/gdb.exp (with_read1_timeout_factor): New proc.
5332 * gdb.base/help.exp: Use with_read1_timeout_factor.
5333 * gdb.base/info-macros.exp: Same.
5334 * gdb.cp/nested-types.exp: Same.
5335
a80cf5d8
TV
53362019-08-05 Tom de Vries <tdevries@suse.de>
5337
5338 * lib/gdb.exp (version_at_least): Factor out of ...
5339 (tcl_version_at_least): ... here.
5340 (gdb_compile): Fail if pie results in non-PIE executable.
5341 (readelf_version, readelf_prints_pie): New proc.
5342 (exec_is_pie): Return -1 if unknown.
5343
d0962838
TV
53442019-08-05 Tom de Vries <tdevries@suse.de>
5345
5346 * lib/gdb.exp (tcl_version_at_least): Fix typo.
5347
2252ff3d
SL
53482019-08-04 Sandra Loosemore <sandra@codesourcery.com>
5349
5350 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
5351
26655f53
SL
53522019-08-04 Sandra Loosemore <sandra@codesourcery.com>
5353
5354 * lib/completion-support.exp (test_gdb_complete_none): Skip
5355 tab completion tests if no readline support.
5356 (test_gdb_complete_unique_re): Likewise.
5357 (test_gdb_complete_multiple): Likewise.
5358
db4dc13e
PW
53592019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5360
5361 * gdb.base/info_sources.exp: New file.
5362 * gdb.base/info_sources.c: New file.
5363 * gdb.base/info_sources_base.c: New file.
5364
0eba165a
PFC
53652019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5366
5367 * gdb.base/batch-exit-status.exp: Call test_exit_status with
5368 prefix argument.
5369 (test_exit_status): Add prefix argument.
5370
59bd512b
TV
53712019-08-01 Tom de Vries <tdevries@suse.de>
5372
5373 PR testsuite/24863
5374 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
5375 calling exp_continue for new thread and thread exited messages.
5376
2a3ad588
TV
53772019-08-01 Tom de Vries <tdevries@suse.de>
5378
5379 PR testsuite/24863
5380 * gdb.base/structs.exp: Fix check-read1 timeout using
5381 gdb_test_sequence.
5382 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
5383
117eb594
TV
53842019-08-01 Tom de Vries <tdevries@suse.de>
5385
5386 PR testsuite/24863
5387 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
5388 line.
5389
ed591340
TV
53902019-08-01 Tom de Vries <tdevries@suse.de>
5391
5392 PR testsuite/24863
5393 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
5394
aa3b6533
TT
53952019-07-30 Tom Tromey <tromey@adacore.com>
5396
5397 * gdb.ada/display_nested.exp: New file.
5398 * gdb.ada/display_nested/foo.adb: New file.
5399 * gdb.ada/display_nested/pack.adb: New file.
5400 * gdb.ada/display_nested/pack.ads: New file.
5401
2906593f
CB
54022019-07-30 Christian Biesinger <cbiesinger@google.com>
5403
5404 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
5405 namespace.
5406 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
5407
0f575925
TV
54082019-07-30 Tom de Vries <tdevries@suse.de>
5409
5410 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
5411 instead.
5412
b13057d9
TV
54132019-07-30 Tom de Vries <tdevries@suse.de>
5414
5415 PR testsuite/24834
5416 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
5417 (exec_is_pie): New proc.
5418
5c4dde85
CB
54192019-07-29 Christian Biesinger <cbiesinger@google.com>
5420
5421 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
5422
c620ed88
CB
54232019-07-29 Christian Biesinger <cbiesinger@google.com>
5424
5425 * gdb.python/py-objfile.c: Add global and static vars.
5426 * gdb.python/py-objfile.exp: Test new functions Objfile.
5427 lookup_global_symbol and lookup_static_symbol.
5428
3d235706
TT
54292019-07-29 Tom Tromey <tom@tromey.com>
5430
5431 * lib/tuiterm.exp (Term::_csi_@): New proc.
5432 (Term::_csi_X): Don't move cursor.
5433
c7e4c0a6
PW
54342019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5435
5436 * gdb.base/options.exp: Update backtrace - completion to
5437 new option -frame-info.
5438 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
5439 Test new 'set print frame-info'. Test backtrace -frame-info
5440 overriding 'set print frame-info'.
5441 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
5442 Test new 'set print frame-info'.
5443 Verify consistency of backtrace with and without filters, with and
5444 without -no-filters.
5445 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
5446 default.
5447
de28a3b7
TV
54482019-07-29 Tom de Vries <tdevries@suse.de>
5449
5450 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
5451 no arguments".
5452
507dd60e
TV
54532019-07-29 Tom de Vries <tdevries@suse.de>
5454
5455 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
5456 is a substring of the first for "complete non-unique file name".
5457
5beafce9
TV
54582019-07-29 Tom de Vries <tdevries@suse.de>
5459
5460 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
5461 with ".*".
5462
2d274232
TV
54632019-07-29 Tom de Vries <tdevries@suse.de>
5464
5465 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
5466 Pass prompt_regexp parameter to gdb_test_multiple calls.
5467
9197cd8b
TV
54682019-07-29 Tom de Vries <tdevries@suse.de>
5469
5470 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 5471 print registers" regexps.
9197cd8b 5472
b528dae0
TV
54732019-07-29 Tom de Vries <tdevries@suse.de>
5474
5475 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
5476
d17725d7
TV
54772019-07-29 Tom de Vries <tdevries@suse.de>
5478
5479 PR gdb/24855
5480 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
5481 (skip_python_tests_prompt): Add prompt_regexp argument to
5482 gdb_test_multiple calls.
5483
52b75bf1
TT
54842019-07-27 Tom Tromey <tom@tromey.com>
5485
5486 * gdb.tui/main.exp: New file.
5487
2b1d00c2
TT
54882019-07-27 Tom Tromey <tom@tromey.com>
5489
5490 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
5491 optional.
5492 * gdb.tui/empty.exp: New file.
5493
ded631d5
TT
54942019-07-27 Tom Tromey <tom@tromey.com>
5495
5496 * lib/tuiterm.exp (spawn): New proc.
5497 (Term::resize): New proc.
5498 * gdb.tui/resize.exp: New file.
5499
58ac439d
TT
55002019-07-27 Tom Tromey <tom@tromey.com>
5501
5502 * gdb.tui/list.exp: New file.
5503
fe1f56ee
TT
55042019-07-27 Tom Tromey <tom@tromey.com>
5505
5506 * gdb.tui/regs.exp: New file.
5507
f790b310
TT
55082019-07-27 Tom Tromey <tom@tromey.com>
5509
5510 * gdb.tui/basic.exp: Add "layout split" test.
5511
d95fc6ee
TT
55122019-07-27 Tom Tromey <tom@tromey.com>
5513
5514 * gdb.tui/basic.exp: Add "layout asm" test.
5515
c3786b3a
TT
55162019-07-27 Tom Tromey <tom@tromey.com>
5517
5518 * lib/tuiterm.exp: New file.
5519 * gdb.tui/basic.exp: New file.
5520
98a617f8
KB
55212019-07-27 Kevin Buettner <kevinb@redhat.com>
5522
5523 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
5524 Enable tests associated with this flag. Adjust regex
5525 referencing "foo_low" to now refer to "foo_cold" instead.
5526
5c076da4
KB
55272019-07-27 Kevin Buettner <kevinb@redhat.com>
5528
5529 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
5530 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
5531 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
5532 foo_cold. Revise comments to match.
5533 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
5534 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
5535 were wrapped into this proc; Call do_test in loop from outermost
5536 level.
5537 (foo_low): Rename all occurrences to "foo_cold".
5538 (backtrace from baz): New test.
5539 (x2/i foo_cold): New test.
5540 (info line *foo_cold): New test.
5541
1512d3b7
TV
55422019-07-26 Tom de Vries <tdevries@suse.de>
5543
5544 * gdb.arch/i386-pkru.exp: Fix unterminated string.
5545
297989a1
TV
55462019-07-25 Tom de Vries <tdevries@suse.de>
5547
5548 PR testsuite/24830
5549 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
5550 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
5551 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
5552 (skip_libstdcxx_probe_tests): ... here.
5553 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
5554
b3b965fb
TV
55552019-07-24 Tom de Vries <tdevries@suse.de>
5556
5557 PR testsuite/24807
5558 * gdb.objc/basicclass.m: Include stdio.h.
5559 * gdb.objc/nondebug.m: Same.
5560 * gdb.objc/objcdecode.m: Same.
5561
4625b4d0
TV
55622019-07-24 Tom de Vries <tdevries@suse.de>
5563
5564 PR testsuite/24612
5565 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
5566 additional_flags.
5567
024a5840
TV
55682019-07-24 Tom de Vries <tdevries@suse.de>
5569
5570 PR testsuite/24831
5571 * gdb.multi/tids.exp: Update error messages for info threads.
5572
c76ddaa3
TV
55732019-07-24 Tom de Vries <tdevries@suse.de>
5574
5575 * gdb.base/info-types.exp: Allow info types to print info for more than
5576 one file.
5577
9a618ef6
TV
55782019-07-23 Tom de Vries <tdevries@suse.de>
5579
5580 PR testsuite/24842
5581 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
5582 gdb_spawn_with_cmdline_opts.
5583
40eadf04
SP
55842019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
5585
5586 * gdb.arch/arm-cmse-sgstubs.c: New test.
5587 * gdb.arch/arm-cmse-sgstubs.exp: New file.
5588
5ba29434
TV
55892019-07-23 Tom de Vries <tdevries@suse.de>
5590
5591 PR testsuite/24711
5592 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
5593 issuing next command.
5594
a8e9d247
AB
55952019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
5596
5597 * gdb.ada/info_auto_lang.exp: Update expected results.
5598 * gdb.base/info-types.c: Add additional types to check.
5599 * gdb.base/info-types.exp: Update expected results.
5600
eb86c5e2
AB
56012019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
5602
5603 * gdb.base/info-types.c: New file.
5604 * gdb.base/info-types.exp: New file.
5605
01e175fe
AB
56062019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
5607
5608 * gdb.arch/riscv-bp-infcall.c: New file.
5609 * gdb.arch/riscv-bp-infcall.exp: New file.
5610
6b78c3f8
AB
56112019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
5612
5613 PR breakpoints/24541
5614 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
5615
da738167
TV
56162019-07-14 Tom de Vries <tdevries@suse.de>
5617
5618 PR testsuite/24760
5619 * gdb.objc/basicclass.exp: Fix unterminated string.
5620
0d4e84ed
AB
56212019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
5622 Andrew Burgess <andrew.burgess@embecosm.com>
5623
5624 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
5625 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
5626 negative bounds.
5627 * gdb.fortran/vla-value.exp: Print elements of an array with
5628 negative bounds.
5629 * gdb.fortran/vla.f90: Setup an array with negative bounds for
5630 testing.
5631
021d8588
AB
56322019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
5633
5634 * gdb.base/options.exp (expect_string): Dequote strings in
5635 results.
5636 (test-string): Test strings with different quoting and reindent.
5637
f06f1252
TT
56382019-07-10 Tom Tromey <tromey@adacore.com>
5639
5640 * gdb.ada/mi_ex_cond.exp: Update expected results.
5641 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
5642 * gdb.ada/mi_catch_ex.exp: Update expected results.
5643 * gdb.ada/mi_catch_assert.exp: Update expected results.
5644 * gdb.ada/catch_ex.exp (catch_exception_info)
5645 (catch_exception_entry, catch_assert_entry)
5646 (catch_unhandled_entry): Update.
5647 * gdb.ada/catch_assert_if.exp: Update expected results.
5648
b863685d
RB
56492019-07-10 Richard Bunt <richard.bunt@arm.com>
5650 Stephen Roberts <stephen.roberts@arm.com>
5651
5652 * gdb.base/define.exp: Restore original prompt.
5653
cb1e4e32
PA
56542019-07-09 Pedro Alves <palves@redhat.com>
5655
5656 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
5657 breakpoints" output.
5658 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
5659 * gdb.python/py-breakpoint.exp: No longer expect that "catch
5660 throw" creates breakpoint.
5661 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
5662 'type="catchpoint"'.
5663
b58a68fe
PA
56642019-07-09 Pedro Alves <palves@redhat.com>
5665
5666 PR c++/15468
5667 * gdb.cp/except-multi-location-lib.cc: New.
5668 * gdb.cp/except-multi-location-main.cc: New.
5669 * gdb.cp/except-multi-location.exp: New.
5670
0826779b
PW
56712019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
5672
5673 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
5674 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
5675 argument and update callers.
5676
5b0e2db4
AB
56772019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5678
5679 * gdb.arch/amd64-break-on-asm-line.S: New file.
5680 * gdb.arch/amd64-break-on-asm-line.exp: New file.
5681
1f6f6e21
PW
56822019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5683
5684 * gdb.base/printcmds.exp: Test printing C string and
5685 C wide string convenience vars without transiting via the inferior.
5686 Also make test names unique.
5687
ea142fbf
AH
56882019-07-08 Alan Hayward <alan.hayward@arm.com>
5689
5862c886 5690 PR breakpoints/25011
ea142fbf
AH
5691 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
5692
213fd9fa
PA
56932019-07-04 Pedro Alves <palves@redhat.com>
5694
5695 * lib/gdb.exp (foreach_with_prefix): Don't return early if
5696 body returned ok(0), break(3) or continue(4).
5697 * gdb.testsuite/foreach_with_prefix.exp: New file.
5698
2b40fda7
AH
56992019-07-04 Alan Hayward <alan.hayward@arm.com>
5700
5701 * gdb.server/unittest.exp: Allow 0 unit tests to run.
5702
a26c8de0
PA
57032019-07-03 Pedro Alves <palves@redhat.com>
5704
5705 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
5706 "return -code".
5707
5f4ba3e7
PA
57082019-07-03 Pedro Alves <palves@redhat.com>
5709
5710 PR cli/24732
5711 * gdb.base/shell.exp: Load completion-support.exp.
5712 Adjust expected error output. Add completion tests.
5713
a994424f
PA
57142019-07-03 Pedro Alves <palves@redhat.com>
5715
5716 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
5717 string_to_regexp.
5718
3d9be6f5
PA
57192019-07-03 Pedro Alves <palves@redhat.com>
5720
5721 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
5722 (expect_integer): Adjust to expect "-string".
5723 (expect_string): New.
5724 (all_options): Expect "-string".
5725 (test-flag, test-boolean): Adjust to expect "-string".
5726 (test-string): New proc.
5727 (top level): Call it.
5728
41fc454c
PA
57292019-07-03 Pedro Alves <palves@redhat.com>
5730
5731 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
5732 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
5733 the expected output in the success.
5734
b2b2a215
PA
57352019-07-03 Pedro Alves <palves@redhat.com>
5736
5737 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5738 Split one gdb_test_multiple call in two to avoid a race.
5739
fdbc9870
PA
57402019-07-03 Pedro Alves <palves@redhat.com>
5741
5742 * gdb.base/with.c: New file.
5743 * gdb.base/with.exp: New file.
5744
c6ac8931
PA
57452019-07-03 Pedro Alves <palves@redhat.com>
5746
5747 * gdb.base/settings.exp: Replace all references to "maint
5748 test-settings set" with references to "maint set test-settings",
5749 and all references to "maint test-settings show" with references
5750 to "maint show test-settings".
5751
970f9d09
PA
57522019-07-03 Pedro Alves <palves@redhat.com>
5753
5754 * gdb.base/settings.exp (test-string): Adjust expected out when
5755 testing "maint test-settings show filename"
5756
54d66006
PA
57572019-07-02 Pedro Alves <palves@redhat.com>
5758
5759 * gdb.base/options.exp (test-info-threads): New procedure.
5760 (top level): Call it.
5761
10d06d82
TT
57622019-06-28 Tom Tromey <tromey@adacore.com>
5763
5764 * gdb.dwarf2/ada-linkage-name.c: New file.
5765 * gdb.dwarf2/ada-linkage-name.exp: New file.
5766
3d507ff2
TT
57672019-06-27 Tom Tromey <tromey@adacore.com>
5768
d039f014 5769 PR c++/20020:
3d507ff2
TT
5770 * gdb.cp/constexpr-field.exp: Use setup_xfail.
5771
8af58ffe
TV
57722019-06-26 Tom de Vries <tdevries@suse.de>
5773
5774 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
5775
22e21752
TV
57762019-06-26 Tom de Vries <tdevries@suse.de>
5777
5778 * gdb.base/index-cache.exp: Add back missing debug option.
5779
b65b566c
PW
57802019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5781
5782 * gdb.base/alias.exp: Test non matching/non existing prefixes.
5783
5c2c8c69
TV
57842019-06-25 Tom de Vries <tdevries@suse.de>
5785
5786 PR testsuite/24727
5787 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
5788
164e3873
TV
57892019-06-24 Tom de Vries <tdevries@suse.de>
5790
5791 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
5792
824eacee
TV
57932019-06-24 Tom de Vries <tdevries@suse.de>
5794
5795 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
5796 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
5797 * gdb.trace/unavailable-dwarf-piece.exp: Same.
5798
385b97d3
TV
57992019-06-24 Tom de Vries <tdevries@suse.de>
5800
5801 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
5802
c596f180
TV
58032019-06-21 Tom de Vries <tdevries@suse.de>
5804
5805 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
5806
b13a7d03
TV
58072019-06-21 Tom de Vries <tdevries@suse.de>
5808
5809 PR testsuite/24518
5810 PR ada/24713
5811 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
5812 index.
5813
899277ae
TT
58142019-06-19 Tom Tromey <tromey@adacore.com>
5815
5816 * gdb.ada/length_cond.exp: Add intro comment.
5817
680e1bee
TT
58182019-06-19 Tom Tromey <tromey@adacore.com>
5819
5820 * gdb.ada/length_cond.exp: New file.
5821 * gdb.ada/length_cond/length_cond.adb: New file.
5822 * gdb.ada/length_cond/pck.adb: New file.
5823 * gdb.ada/length_cond/pck.ads: New file.
5824
0ed4690a
TV
58252019-06-18 Tom de Vries <tdevries@suse.de>
5826
5827 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
5828
d20ed5fd
TT
58292019-06-18 Tom Tromey <tromey@adacore.com>
5830
5831 * gdb.base/list0.h: Add comment explaining control character.
5832
86e04673
TV
58332019-06-18 Tom de Vries <tdevries@suse.de>
5834
5835 * boards/fission.exp: Break up long debug_flags line.
5836
c4973306
SM
58372019-06-16 Tom de Vries <tdevries@suse.de>
5838
5839 PR gdb/24445
5840 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
5841 generated index.
5842
93cb9841
AB
58432019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
5844
5845 PR gdb/24686
5846 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
5847 improve detection of bug gdb/24541.
5848
399aaebd
SM
58492019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
5850
5851 PR gdb/24669
5852 * gdb.base/index-cache.exp (uses_readnow,
5853 expecting_index_cache_use): Define global variable.
5854 (test_cache_enabled_miss, test_cache_enabled_hit): Use
5855 expecting_index_cache_use.
5856
584a927c
AB
58572019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
5858 Andrew Burgess <andrew.burgess@embecosm.com>
5859
5860 * gdb.fortran/pointers.f90: New file.
5861 * gdb.fortran/print_type.exp: New file.
5862 * gdb.fortran/vla-ptype.exp: Adapt expected results.
5863 * gdb.fortran/vla-type.exp: Likewise.
5864 * gdb.fortran/vla-value.exp: Likewise.
5865 * gdb.mi/mi-vla-fortran.exp: Likewise.
5866
30056ea0
AB
58672019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
5868
5869 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
5870 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
5871 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
5872 as a stop reason.
5873
ec8e2b6d
AB
58742019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
5875
5876 * gdb.base/annota1.exp: Update expected results.
5877 * gdb.cp/annota2.exp: Likewise.
5878 * gdb.cp/annota3.exp: Likewise.
5879
09e4c4e1
AB
58802019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
5881
5882 * gdb.base/style-logging.exp: Remove path from test name.
5883
0735b091
TT
58842019-06-14 Tom Tromey <tromey@adacore.com>
5885
5886 PR gdb/24502:
5887 * gdb.base/style-logging.exp: New file.
5888
f5686554
TT
58892019-06-14 Tom Tromey <tromey@adacore.com>
5890
5891 * gdb.base/symfile-warn.exp: New file.
5892 * gdb.base/symfile-warn.c: New file.
5893
a0c1ffed
TT
58942019-06-14 Tom Tromey <tromey@adacore.com>
5895
5896 * gdb.base/annotate-symlink.exp: New file.
5897
f411722c
TT
58982019-06-14 Tom Tromey <tromey@adacore.com>
5899
5900 * gdb.ada/set_wstr.exp: Add reassignment test.
5901
4268ec18
TT
59022019-06-14 Tom Tromey <tromey@adacore.com>
5903
5904 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
5905 'unchecked_access and 'unrestricted_access as well.
5906
9a9e394b
TT
59072019-06-14 Tom Tromey <tromey@adacore.com>
5908
5909 PR ada/24539:
5910 * gdb.ada/vla.exp: Update tests.
5911 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
5912 pragma.
5913
4c048731
PA
59142019-06-13 Pedro Alves <palves@redhat.com>
5915
5916 * gdb.base/settings.exp (test-integer): Test junk after
5917 "unlimited".
5918
6665660a
PA
59192019-06-13 Pedro Alves <palves@redhat.com>
5920
5921 * gdb.base/options.exp (test-thread-apply): New.
5922 (top level): Call it.
5923
5d707134
PA
59242019-06-13 Pedro Alves <palves@redhat.com>
5925
5926 * gdb.base/options.exp (test-frame-apply): New.
5927 (top level): Test print commands with different "frame apply"
5928 prefixes.
5929
e2a689da
PA
59302019-06-13 Pedro Alves <palves@redhat.com>
5931
e79be6e5 5932 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
5933 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
5934 'max_completions' parameter and handle it.
5935 (test_gdb_completion_offers_commands): New.
5936
90a1ef87
PA
59372019-06-13 Pedro Alves <palves@redhat.com>
5938
5939 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
5940
d4c16835
PA
59412019-06-13 Pedro Alves <palves@redhat.com>
5942
5943 * gdb.base/options.exp (test-backtrace): New.
5944 (top level): Call it.
5945
2daf894e
PA
59462019-06-13 Pedro Alves <palves@redhat.com>
5947
5948 * gdb.guile/scm-frame-args.exp: Use "set print
5949 raw-frame-arguments" instead of "set print raw frame-arguments".
5950 * gdb.python/py-frame-args.exp: Likewise.
5951
e6ed716c
PA
59522019-06-13 Pedro Alves <palves@redhat.com>
5953
5954 * gdb.compile/compile.exp: Adjust expected output to option
5955 processing changes.
5956
7d8062de
PA
59572019-06-13 Pedro Alves <palves@redhat.com>
5958
5959 * gdb.base/options.exp: Build executable.
5960 (test-print): New procedure.
5961 (top level): Call it, once for "print" and another for "compile
5962 print".
5963
9d0faba9
PA
59642019-06-13 Pedro Alves <palves@redhat.com>
5965
5966 * gdb.base/options.c: New file.
5967 * gdb.base/options.exp: New file.
5968
dee7b4c8
PA
59692019-06-13 Pedro Alves <palves@redhat.com>
5970
5971 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
5972 that "o" is ambiguous.
5973
dca0f6c0
PA
59742019-06-13 Pedro Alves <palves@redhat.com>
5975
5976 * gdb.base/settings.c: New file.
5977 * gdb.base/settings.exp: New file.
5978
ccf46844
PA
59792019-06-13 Pedro Alves <palves@redhat.com>
5980
5981 * gdb.base/completion.exp: Fix comment typo.
5982
b9a3f842
PA
59832019-06-13 Pedro Alves <palves@redhat.com>
5984
5985 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
5986 foo --1" test.
5987
d106773e
PA
59882019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
5989
5990 * gdb.fortran/block-data.f: New.
5991 * gdb.fortran/block-data.exp: New.
5992
fea82da0
TV
59932019-06-11 Tom de Vries <tdevries@suse.de>
5994
5995 PR testsuite/24521
5996 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
5997 message.
5998
8c2e74f1
TV
59992019-06-11 Tom de Vries <tdevries@suse.de>
6000
6001 PR testsuite/24521
6002 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
6003
b49851c8
TV
60042019-06-11 Tom de Vries <tdevries@suse.de>
6005
6006 * boards/readnow.exp: New file.
6007
a7067863
AB
60082019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
6009
6010 * gdb.fortran/vla-sizeof.exp: Update expected results.
6011
1a3da2cd
AB
60122019-06-06 Amos Bird <amosbird@gmail.com>
6013
6014 * gdb.base/annota1.exp (thread_switch): Add test for
6015 thread-exited annotation.
6016
3847a7bf
TT
60172019-06-06 Tom Tromey <tromey@adacore.com>
6018
6019 * gdb.base/maint.exp: Expect command started/finished output.
6020
0088ba59
AB
60212019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
6022
6023 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
6024 comment.
6025 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
6026
312617a3
AB
60272019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
6028
6029 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
6030 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
6031 * gdb.arch/riscv-unwind-long-insn.c: New file.
6032 * gdb.arch/riscv-unwind-long-insn.exp: New file.
6033
e1f2e1a2
CB
60342019-06-04 Christian Biesinger <cbiesinger@google.com>
6035
d3238f7d 6036 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 6037
206584bd
PW
60382019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6039
6040 * lib/gdb.exp (help_list_trailer): New regexp variable
6041 factorizing the help trailer message.
6042 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
6043 arg to allow to better factorize various tests.
6044 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
6045 (test_prefix_command_help): Use help_list_trailer.
6046 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
6047 * gdb.guile/scm-cmd.exp: Likewise.
6048 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
6049 * gdb.base/help.exp: Use test_user_defined_class_help.
6050 * gdb.base/style.exp: Add tests for styling of help and apropos.
6051 * lib/gdb-utils.exp (style): Add title and highlight styles.
6052
708dc93e
PW
60532019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6054
6055 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
6056 $_shell_exitsignal.
6057 * gdb.base/default.exp: Update for new convenience variables.
6058
f49055a5
TT
60592019-05-29 Tom Tromey <tromey@adacore.com>
6060
6061 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
6062 to "break complete ada" test case's regexp.
6063
4330d61d
TT
60642019-05-29 Tom Tromey <tromey@adacore.com>
6065
6066 PR c++/20020:
6067 * gdb.cp/constexpr-field.exp: New file.
6068 * gdb.cp/constexpr-field.cc: New file.
6069
000439d5
TT
60702019-05-29 Tom Tromey <tromey@adacore.com>
6071
6072 * gdb.base/finish.exp (finish_no_print): New proc.
6073 (finish_tests): Call it.
6074
5a01c34c
TV
60752019-05-24 Tom de Vries <tdevries@suse.de>
6076
6077 * gdb.dwarf2/gdb-add-index.exp: New file.
6078
18125b16
TT
60792019-05-22 Tom Tromey <tromey@adacore.com>
6080
6081 * gdb.base/info-shared.exp (check_info_shared): Use "style".
6082 * gdb.base/style.exp: Use "style".
6083 * lib/gdb-utils.exp (style): New proc.
6084
af1a8d03
TV
60852019-05-22 Tom de Vries <tdevries@suse.de>
6086
6087 * gdb.base/align.exp: Require c++11.
6088
e7fe496b
TV
60892019-05-22 Tom de Vries <tdevries@suse.de>
6090
6091 PR testsuite/24586
6092 * gdb.python/py-mi-var-info-path-expression.exp: Call
6093 mi_skip_python_tests to check if python is supported.
6094
8fca4da0
AH
60952019-05-22 Alan Hayward <alan.hayward@arm.com>
6096
6097 * gdb.arch/aarch64-pauth.c: New test.
6098 * gdb.arch/aarch64-pauth.exp: New file.
6099
b7060614
AH
61002019-05-22 Alan Hayward <alan.hayward@arm.com>
6101
6102 * README (Re-running Tests Outside The Testsuite): New section.
6103
669d0468
TV
61042019-05-21 Tom de Vries <tdevries@suse.de>
6105
6106 * gdb.arch/amd64-eval.exp: Require c++11.
6107 * gdb.base/max-depth.exp: Same.
6108 * gdb.compile/compile-cplus-array-decay.exp: Same.
6109 * gdb.cp/meth-typedefs.exp: Same.
6110 * gdb.cp/subtypes.exp: Same.
6111 * gdb.cp/temargs.exp: Same.
6112
ce3ebcaa
AH
61132019-05-21 Alan Hayward <alan.hayward@arm.com>
6114
6115 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
6116
34d11c68
AB
61172019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
6118
6119 PR gdb/18644
6120 * gdb.fortran/complex.exp: Remove setup_kfail calls.
6121 * gdb.fortran/printing-types.exp: Add new test.
6122 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
6123 testing.
6124 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
6125 setup_kfail call.
6126
87781e84
AH
61272019-05-17 Alan Hayward <alan.hayward@arm.com>
6128
6129 * README (Running the Testsuite): Change example.
6130 (Testsuite Parameters): Remove TRANSCRIPT.
6131 * lib/gdb.exp: Remove TRANSCRIPT check.
6132
b420b89e
AH
61332019-05-17 Alan Hayward <alan.hayward@arm.com>
6134
6135 * README (Testsuite Parameters): Add replay logging to
6136 GDBSERVER_DEBUG.
6137 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
6138 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
6139 as a comma separated list.
6140 (gdb_debug_init): Override procedure.
6141
408e9b8b
AH
61422019-05-17 Alan Hayward <alan.hayward@arm.com>
6143
6144 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
6145 (gdb_write_cmd_file): New procedure.
6146 * lib/gdbserver-support.exp (gdbserver_start): Call
6147 gdbserver_write_cmd_file.
6148 (gdbserver_write_cmd_file): New procedure.
6149
f9e2e39d
AH
61502019-05-17 Alan Hayward <alan.hayward@arm.com>
6151
6152 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
6153 (delete_breakpoints): Likewise.
6154 (gdb_run_cmd): Likewise.
6155 (gdb_start_cmd): Likewise.
6156 (gdb_starti_cmd): Likewise.
6157 (gdb_internal_error_resync): Likewise.
6158 (gdb_test_multiple): Likewise.
6159 (gdb_reinitialize_dir): Likewise.
6160 (default_gdb_exit): Likewise.
6161 (gdb_file_cmd): Mark kill as optional.
6162 (default_gdb_start): Call gdb_stdin_log_init.
6163 (send_gdb): Call gdb_stdin_log_write.
6164 (rerun_to_main): Mark Y as an answer.
6165 (gdb_stdin_log_init): New function.
6166 (gdb_stdin_log_write): Likewise.
6167
81f47ac2
AH
61682019-05-17 Alan Hayward <alan.hayward@arm.com>
6169
6170 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
6171 * gdb.base/debug-expr.exp: Likewise.
6172 * gdb.base/foll-fork.exp: Likewise.
6173 * gdb.base/foll-vfork.exp: Likewise.
6174 * gdb.base/fork-print-inferior-events.exp: Likewise.
6175 * gdb.base/gdb-sigterm.exp: Likewise.
6176 * gdb.base/gdbinit-history.exp: Likewise.
6177 * gdb.base/osabi.exp: Likewise.
6178 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
6179 * gdb.base/ui-redirect.exp: Likewise.
6180 * gdb.gdb/unittest.exp: Likewise.
6181 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
6182 * gdb.mi/mi-watch.exp: Likewise.
6183 * gdb.mi/new-ui-mi-sync.exp: Likewise.
6184 * gdb.mi/user-selected-context-sync.exp: Likewise.
6185 * gdb.python/python.exp: Disable debug test when debugging.
6186 * gdb.threads/check-libthread-db.exp: Disable when debugging.
6187 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6188 Likewise.
6189 * gdb.threads/stepi-random-signal.exp: Likewise.
6190
29b52314
AH
61912019-05-17 Alan Hayward <alan.hayward@arm.com>
6192
6193 * Makefile.in: Pass through GDB_DEBUG.
6194 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
6195 (gdb,debug): Add board setting.
6196 * lib/gdb.exp (default_gdb_start): Start debugging.
6197 (gdb_debug_enabled): New procedure.
6198 (gdb_debug_init): Likewise.
29b52314
AH
6199
62002019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 6201
29b52314
AH
6202 * Makefile.in: Pass through GDB_DEBUG.
6203 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
6204 (gdb,debug): Add board setting.
6205 * lib/gdb.exp (default_gdb_start): Start debugging.
6206 (gdb_debug_enabled): New procedure.
6207 (gdb_debug_init): Likewise.
29b52314 6208
ca1285d1
AH
62092019-05-17 Alan Hayward <alan.hayward@arm.com>
6210
6211 * gdb.base/ui-redirect.exp: Add debug redirect tests.
6212
f3a09c80
AH
62132019-05-17 Alan Hayward <alan.hayward@arm.com>
6214
6215 * gdb.base/ui-redirect.exp: Test redirection.
6216
26648588
JV
62172019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
6218
6219 * gdb.mi/mi-complete.exp: New file.
6220 * gdb.mi/mi-complete.cc: Likewise.
6221
14237686
AB
62222019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
6223
6224 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
6225 indexed and sliced arrays, and pointers to arrays.
6226
e7bd7fba
TT
62272019-05-14 Tom Tromey <tromey@adacore.com>
6228
6229 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
6230 styling test.
6231
2764128d
TV
62322019-05-14 Tom de Vries <tdevries@suse.de>
6233
6234 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
6235 selection entry encoding.
6236
71bed2db
TT
62372019-05-10 Tom Tromey <tromey@adacore.com>
6238
6239 * gdb.ada/info_exc.exp: Add "complete" test.
6240
63b667ad
TV
62412019-05-09 Tom de Vries <tdevries@suse.de>
6242
6243 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
6244 CU-relative.
6245
9cfd2b89
TV
62462019-05-09 Tom de Vries <tdevries@suse.de>
6247
6248 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
6249 CU-relative.
6250
2228ef77
XR
62512019-05-08 Joel Brobecker <brobecker@adacore.com>
6252
6253 * gdb.ada/frame_arg_lang.exp: New testcase.
6254 * gdb.ada/frame_arg_lang/bla.adb: New file.
6255 * gdb.ada/frame_arg_lang/pck.ads: New file.
6256 * gdb.ada/frame_arg_lang/pck.adb: New file.
6257 * gdb.ada/frame_arg_lang/foo.c: New file.
6258
80e55b13
TT
62592019-05-08 Tom Tromey <tromey@adacore.com>
6260
6261 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
6262
9d3421af
TT
62632019-05-08 Tom Tromey <tromey@adacore.com>
6264
6265 * gdb.base/ptype-offsets.exp: Update tests.
6266
844333e2
TT
62672019-05-08 Tom Tromey <tromey@adacore.com>
6268
6269 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
6270 cases.
6271 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
6272 "short".
6273
988915ee
TT
62742019-05-08 Tom Tromey <tromey@adacore.com>
6275
6276 * gdb.ada/vla.exp: New file.
6277 * gdb.ada/vla/vla.adb: New file.
6278
7bd55dac
TV
62792019-05-07 Tom de Vries <tdevries@suse.de>
6280
6281 * gdb.base/index-cache.exp (ls_host): Fix return statement.
6282
75f06e9d
TV
62832019-05-07 Tom de Vries <tdevries@suse.de>
6284
6285 PR testsuite/24522
6286 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
6287 section.
6288
77e7aaa4
TV
62892019-05-07 Tom de Vries <tdevries@suse.de>
6290
6291 PR testsuite/24522
6292 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
6293 .debug_aranges section.
6294
456ba0fa
TV
62952019-05-07 Tom de Vries <tdevries@suse.de>
6296
6297 PR testsuite/24159
6298 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
6299
5a56d6a6
TV
63002019-05-06 Tom de Vries <tdevries@suse.de>
6301
6302 * lib/gdb.exp (exec_has_index_section): New proc.
6303 * gdb.base/index-cache.exp: Handle case that binfile contains an index
6304 section.
6305
9d6d4be8
TV
63062019-05-04 Tom de Vries <tdevries@suse.de>
6307
6308 * boards/cc-with-debug-names.exp: New file.
6309
222a8d25
TT
63102019-05-03 Tom Tromey <tromey@adacore.com>
6311
6312 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
6313 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
6314 * gdb.ada/char_enum.exp: Add test.
6315
0fdfd794
TV
63162019-05-03 Tom de Vries <tdevries@suse.de>
6317
6318 * boards/cc-with-gdb-index.exp: New file.
6319
80062eb9
AB
63202019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
6321
6322 * gdb.rust/simple.exp: Add new test case.
6323 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
6324 (main): Initialise an instance of the new struct.
6325
4504bbde
TT
63262019-05-01 Tom Tromey <tromey@adacore.com>
6327
6328 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
6329 record.
6330 (NPR): New variable.
6331 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
6332 test.
6333
d48e62f4
TT
63342019-05-01 Tom Tromey <tromey@adacore.com>
6335
6336 * gdb.ada/packed_array_assign.exp: Add packed assignment
6337 regression test.
6338
f59f30f5
TV
63392019-05-01 Tom de Vries <tdevries@suse.de>
6340
6341 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
6342
b70bfc54
TV
63432019-05-01 Tom de Vries <tdevries@suse.de>
6344
6345 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
6346
15f18d14
AT
63472019-04-30 Ali Tamur <tamur@google.com>
6348
6349 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
6350
2ff0a947
TT
63512019-04-30 Tom Tromey <tromey@adacore.com>
6352
6353 * lib/ada.exp (find_ada_tool): New proc.
6354 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
6355 * gdb.ada/catch_ex_std.exp: New file.
6356 * gdb.ada/catch_ex_std/foo.adb: New file.
6357 * gdb.ada/catch_ex_std/some_package.adb: New file.
6358 * gdb.ada/catch_ex_std/some_package.ads: New file.
6359
a776957c
TT
63602019-04-30 Tom Tromey <tromey@adacore.com>
6361
6362 PR c++/24470:
6363 * gdb.cp/temargs.cc: Add test code from PR.
6364
bc68014d
AB
63652019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6366
6367 * gdb.fortran/vla-datatypes.exp: Update expected results.
6368 * gdb.fortran/vla-ptype.exp: Likewise.
6369 * gdb.fortran/vla-type.exp: Likewise.
6370 * gdb.fortran/vla-value.exp: Likewise.
6371
f1fdc960
AB
63722019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6373
6374 * gdb.fortran/ptr-indentation.exp: Update expected results.
6375 * gdb.fortran/ptype-on-functions.exp: Likewise.
6376 * gdb.fortran/vla-ptr-info.exp: Likewise.
6377 * gdb.fortran/vla-value.exp: Likewise.
6378
bf7a4de1
AB
63792019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6380
6381 * gdb.fortran/ptype-on-functions.exp: New file.
6382 * gdb.fortran/ptype-on-functions.f90: New file.
6383
bbe75b9d
AB
63842019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6385
6386 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
6387 case void string.
6388
1db455a7
AB
63892019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6390
6391 * gdb.fortran/complex.exp: Expand.
6392 * gdb.fortran/complex.f: Renamed to...
6393 * gdb.fortran/complex.f90: ...this, and extended to add more
6394 complex values.
6395
b6d03bb2
AB
63962019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6397
6398 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
6399 MODULO, CMPLX.
6400
2e62ab40
AB
64012019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
6402 Richard Bunt <richard.bunt@arm.com>
6403
6404 * gdb.base/max-depth.c: New file.
6405 * gdb.base/max-depth.exp: New file.
6406 * gdb.python/py-nested-maps.c: New file.
6407 * gdb.python/py-nested-maps.exp: New file.
6408 * gdb.python/py-nested-maps.py: New file.
6409 * gdb.python/py-format-string.exp (test_max_depth): New proc.
6410 (test_all_common): Call test_max_depth.
6411 * gdb.fortran/max-depth.exp: New file.
6412 * gdb.fortran/max-depth.f90: New file.
6413 * gdb.go/max-depth.exp: New file.
6414 * gdb.go/max-depth.go: New file.
6415 * gdb.modula2/max-depth.exp: New file.
6416 * gdb.modula2/max-depth.c: New file.
6417 * lib/gdb.exp (get_print_expr_at_depths): New proc.
6418
d2b584a5
TV
64192019-04-29 Tom de Vries <tdevries@suse.de>
6420
6421 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
6422
136afab8
PW
64232019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6424
6425 * gdb.base/callexit.exp: Test may-call-functions off.
6426
725cbb63
KS
64272019-04-25 Keith Seitz <keiths@redhat.com>
6428
6429 PR c++/24367
6430 * gdb.cp/meth-typedefs.cc (incomplete_struct)
6431 (another_incomplete_struct, test_incomplete): New definitions.
6432 (main): Use new definitions.
6433 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
6434 functions.
6435
701adfb0
PA
64362019-04-25 Ali Tamur <tamur@google.com>
6437
6438 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
6439
82433e3e
SDJ
64402019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
6441
6442 PR corefiles/11608
6443 PR corefiles/18187
6444 * gdb.base/coredump-filter-build-id.exp: New file.
6445
dd06d4d6
AH
64462019-04-25 Alan Hayward <alan.hayward@arm.com>
6447
e79be6e5
SM
6448 * Makefile.in: Pass through GDBSERVER_DEBUG.
6449 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
6450 (gdbserver,debug): Add board setting.
6451 * gdb.trace/tspeed.exp: Skip when debugging.
6452 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
6453 * lib/gdbserver-support.exp: Likewise
dd06d4d6 6454
1670072e
TT
64552019-04-24 Tom Tromey <tromey@adacore.com>
6456
6457 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
6458 Rust.
6459
a59240a4
TT
64602019-04-24 Tom Tromey <tromey@adacore.com>
6461
6462 * gdb.arch/amd64-eval.exp: Test bitfield return.
6463 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
6464 (class Foo) <return_bitfields>: New method.
6465 (main): Call it.
6466
b907456c
AB
64672019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
6468
6469 * gdb.cp/many-args.cc: New file.
6470 * gdb.cp/many-args.exp: New file.
6471
5c565afd
TV
64722019-04-23 Tom de Vries <tdevries@suse.de>
6473
6474 PR gdb/24433
6475 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
6476
ba22ff86
AH
64772019-04-23 Alan Hayward <alan.hayward@arm.com>
6478
6479 * gdb.trace/backtrace.exp: Use nopie flag.
6480 * gdb.trace/circ.exp: Likewise.
6481 * gdb.trace/collection.exp: Likewise.
6482 * gdb.trace/ftrace.exp: Likewise.
6483 * gdb.trace/mi-trace-unavailable.exp: Likewise.
6484 * gdb.trace/mi-traceframe-changed.exp: Likewise.
6485 * gdb.trace/qtro.exp: Likewise.
6486 * gdb.trace/read-memory.exp: Likewise.
6487 * gdb.trace/report.exp: Likewise.
6488 * gdb.trace/tfile.exp: Likewise.
6489 * gdb.trace/tfind.exp: Likewise.
6490 * gdb.trace/unavailable.exp: Likewise.
6491
7905fc35
PA
64922019-04-22 Pedro Alves <palves@redhat.com>
6493
6494 * gdb.base/solib-probes-nosharedlibrary.c,
6495 gdb.base/solib-probes-nosharedlibrary.exp: New files.
6496
8ecb59f8
TT
64972019-04-19 Tom Tromey <tromey@adacore.com>
6498
6499 * gdb.ada/ptype_union.c: New file.
6500 * gdb.ada/ptype_union.exp: New file.
6501
62160ec9
TT
65022019-04-19 Tom Tromey <tromey@adacore.com>
6503
6504 PR symtab/24423:
6505 * gdb.base/list0.h (foo): Add a control-l character.
6506
36cd4ba5
TV
65072019-04-18 Tom de Vries <tdevries@suse.de>
6508
6509 PR gdb/24433
6510 * boards/local-board.exp: Set sysroot to "".
6511
b73715df
TV
65122019-04-18 Tom de Vries <tdevries@suse.de>
6513 Pedro Alves <palves@redhat.com>
6514
6515 PR gdb/24454
6516 * gdb.threads/vfork-follow-child-exec.c: New file.
6517 * gdb.threads/vfork-follow-child-exec.exp: New file.
6518 * gdb.threads/vfork-follow-child-exit.c: New file.
6519 * gdb.threads/vfork-follow-child-exit.exp: New file.
6520
4aa866af
LS
65212019-04-15 Leszek Swirski <leszeks@google.com>
6522
6523 * gdb.arch/amd64-eval.cc: New file.
6524 * gdb.arch/amd64-eval.exp: New file.
6525
e5a1a79a
AH
65262019-04-11 Alan Hayward <alan.hayward@arm.com>
6527
6528 * gdb.server/sysroot.c: New test.
6529 * gdb.server/sysroot.exp: New file.
6530 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
6531 matching param.
6532
41077b66
AB
65332019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
6534
6535 * gdb.base/align.exp: Extend test to cover structures containing
6536 only static fields.
6537
c30391f8
TV
65382019-04-11 Tom de Vries <tdevries@suse.de>
6539
6540 * boards/cc-with-dwz-m.exp: New file.
6541 * boards/cc-with-dwz.exp: New file.
6542 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
6543
e242fd12
SM
65442019-04-09 Simon Marchi <simon.marchi@efficios.com>
6545
6546 * gdb.base/start-cpp.exp: New file.
6547 * gdb.base/start-cpp.cc: New file.
6548
2b0c8b01
KB
65492019-04-08 Kevin Buettner <kevinb@redhat.com>
6550
6551 * gdb.python/py-thrhandle.exp: Adjust tests to call
6552 thread_from_handle instead of thread_from_thread_handle.
6553
947210e5
KB
65542019-04-08 Kevin Buettner <kevinb@redhat.com>
6555
6556 * gdb.python/py-thrhandle.exp: Add tests for
6557 gdb.InferiorThread.handle.
6558
d7df6549
AB
65592019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
6560
6561 * gdb.python/py-function.exp: Check calling helper function from
6562 all languages.
6563 * lib/gdb.exp (gdb_supported_languages): New proc.
6564
8bdc1658
AB
65652019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
6566
6567 * gdb.base/complex-parts.c: New file.
6568 * gdb.base/complex-parts.exp: New file.
6569
05caa1d2
TT
65702019-04-01 Tom Tromey <tromey@adacore.com>
6571
6572 PR symtab/23331:
6573 * gdb.dwarf2/dw2-ranges-main.c: New file.
6574 * gdb.dwarf2/dw2-ranges-psym.c: New file.
6575 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
6576
7734102d
EZ
65772019-03-30 Simon Marchi <simark@simark.ca>
6578
6579 * gdb.base/default.exp: Add values for $_gdb_major and
6580 $_gdb_minor.
6581
188e1fa9
TT
65822019-03-29 Tom Tromey <tromey@adacore.com>
6583
6584 * gdb.base/help.exp: Tighten apropos regexp.
6585
2880242d
KS
65862019-03-29 Keith Seitz <keiths@redhat.com>
6587
6588 * gdb.fortran/array-bounds.exp: New file.
6589 * gdb.fortran/array-bounds.f90: New file.
6590
077cad8e
PW
65912019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6592
6593 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
6594
80047cfc
PW
65952019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6596
6597 * gdb.multi/hello.c (main): Increase alarm timer.
6598
f489207e
SL
65992019-03-28 Sandra Loosemore <sandra@codesourcery.com>
6600
6601 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
6602 factor when no hardware watchpoint support.
6603
c92df149
AH
66042019-03-28 Alan Hayward <alan.hayward@arm.com>
6605 Pedro Alves <palves@redhat.com>
6606
6607 * boards/local-board.exp: set sysroot to /.
6608
933aebfa
AH
66092019-03-27 Alan Hayward <alan.hayward@arm.com>
6610
6611 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
6612 in child.
6613
9f9aa852
AB
66142019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
6615
6616 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
6617 field.
6618 (make_container): Initialise new field.
6619 * gdb.python/py-prettyprint.exp: Add new tests.
6620 * gdb.python/py-prettyprint.py (class ContainerPrinter)
6621 <display_hint>: New method.
6622
3714a195
AB
66232019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
6624
6625 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
6626 gdb_continue_to_breakpoint more throughout this test.
6627 (run_lang_tests) Supply unique test names, and use
6628 gdb_test_no_output.
6629
18c77628
AB
66302019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
6631
6632 * gdb.base/finish-pretty.exp: Update expected results.
6633 * gdb.base/pretty-print.c: New file.
6634 * gdb.base/pretty-print.exp: New file.
6635
9a93502f
PA
66362019-03-25 Pedro Alves <palves@redhat.com>
6637
6638 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
6639 move comments outside list. Append '-i "" eof' section.
6640
968aa7ae
AH
66412019-03-22 Alan Hayward <alan.hayward@arm.com>
6642
34a7f2a4 6643 PR testsuite/25016
968aa7ae
AH
6644 * README: Add pie options.
6645 * gdb.base/break-interp.exp: Ensure pie is disabled.
6646 * gdb.base/dump.exp: Likewise.
6647 * lib/gdb.exp (gdb_compile): Add pie option.
6648
4c7d57e7
TT
66492019-03-19 Tom Tromey <tromey@adacore.com>
6650
6651 * gdb.mi/mi2-cli-display.c: New file.
6652 * gdb.mi/mi2-cli-display.exp: New file.
6653
bff8c71f
TT
66542019-03-18 Joel Brobecker <brobecker@adacore.com>
6655 Tom Tromey <tromey@adacore.com>
6656
6657 * gdb.ada/ptype_array/pck.adb: New file.
6658 * gdb.ada/ptype_array/pck.ads: New file.
6659 * gdb.ada/ptype_array/foo.adb: New file.
6660 * gdb.ada/ptype_array.exp: New file.
6661
d085f989
TT
66622019-03-14 Tom Tromey <tromey@adacore.com>
6663
6664 * gdb.base/style.exp: Add "set style sources" test.
6665
b4be1b06
SM
66662019-03-13 Simon Marchi <simon.marchi@ericsson.com>
6667
6668 * mi-breakpoint-location-ena-dis.exp: Rename to ...
6669 * mi-breakpoint-multiple-locations.exp: ... this.
6670 (make_breakpoints_pattern): New proc.
6671 (do_test): Add mi_version parameter, test -break-insert,
6672 -break-info and =breakpoint-created.
6673
7cde5fc2
AB
66742019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
6675
6676 * config/default.exp: Remove 'load_lib gdb.exp'.
6677 * config/monitor.exp: Likewise.
6678 * config/sid.exp: Likewise.
6679 * config/sim.exp: Likewise.
6680 * config/slite.exp: Likewise.
6681 * config/unix.exp: Likewise.
6682 * gdb.base/default.exp: Remove unhelpful comment.
6683
efbecbc1
AB
66842019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6685
6686 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
6687
0841c79a
AB
66882019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6689
6690 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
6691
4a270568
AB
66922019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6693
6694 * gdb.fortran/type-kinds.exp: Update expected results.
6695
067630bd
AB
66962019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6697
6698 * gdb.fortran/type-kinds.exp: Test new integer type kind.
6699
3be47f7a
AB
67002019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6701
6702 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
6703 function.
6704 (test_basic_parsing_of_type_kinds): Expand types tested.
6705 (test_parsing_invalid_type_kinds): New function.
6706
4d00f5d8
AB
67072019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6708
6709 * gdb.fortran/intrinsics.exp: New file.
6710 * gdb.fortran/intrinsics.f90: New file.
6711 * gdb.fortran/type-kinds.exp: New file.
6712
c8f91604
AB
67132019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6714
6715 * gdb.fortran/dot-ops.exp: New file.
6716
dd9f2c76
AB
67172019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6718
6719 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
6720 Check upper and lower case logical literals.
6721
84ec9724
AB
67222019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6723
6724 * gdb.fortran/types.exp (test_float_literal_types_accepted):
6725 Remove duplicate tests.
6726
c3734e09
AH
67272019-03-06 Alan Hayward <alan.hayward@arm.com>
6728
6729 * lib/gdb.exp (builtin_cd): rename of cd.
6730 (cd): Override builtin.
6731
aa3cfbda
RB
67322019-03-06 Richard Bunt <richard.bunt@arm.com>
6733
6734 * gdb.fortran/function-calls.exp: New file.
6735 * gdb.fortran/function-calls.f90: New test.
6736
7b63ad86
RB
67372019-03-04 Richard Bunt <richard.bunt@arm.com>
6738
6739 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
6740 on user program standard output.
6741 * gdb.fortran/short-circuit-argument-list.f90: Record function
6742 calls.
6743
01abb042
AH
67442019-02-28 Alan Hayward <alan.hayward@arm.com>
6745
c3734e09
AH
6746 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
6747 failure.
01abb042 6748
92137da0
RO
67492019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6750
6751 PR gdb/8527
6752 * gdb.base/interrupt-daemon-attach.c,
6753 gdb.base/interrupt-daemon-attach.exp: New test.
6754
5862844d
PA
67552019-02-27 Pedro Alves <palves@redhat.com>
6756
6757 * gdb.base/page.exp: Add tests for "set width/height -1".
6758
8ed25214
PA
67592019-02-27 Pedro Alves <palves@redhat.com>
6760
6761 * gdb.base/page.exp: Add tests for "set/show width/height" with
6762 "infinite" values.
6763
6c28e44a
TT
67642019-02-27 Tom Tromey <tromey@adacore.com>
6765
6766 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
6767 2.4.
6768 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
6769 workaround.
6770
bf9a735e
AB
67712019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
6772
6773 * gdb.base/align.exp: Extend to compile in both C and C++, and add
6774 tests for structs with static members.
6775
8791793c
TT
67762019-02-26 Tom Tromey <tromey@adacore.com>
6777
6778 * gdb.python/py-value.exp (test_value_from_buffer): Check for
6779 ValueError, not TypeError.
6780
bc2a507e
KB
67812019-02-26 Kevin Buettner <kevinb@redhat.com>
6782
6783 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
6784 call from main program.
6785
e0e7d3bd
JB
67862019-02-23 Joel Brobecker <brobecker@adacore.com>
6787
6788 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
6789 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
6790 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
6791 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
6792 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
6793
9600246d
KS
67942019-02-22 Keith Seitz <keiths@redhat.com>
6795
6796 PR symtab/23853
6797 * gdb.base/symlink-sourcefile.c: New file.
6798 * gdb.base/symlink-sourcefile.exp: New file.
6799
0c95f9ed
TT
68002019-02-20 Tom Tromey <tom@tromey.com>
6801
6802 * gdb.base/info_qt.exp: Update.
6803
6caa91b6
SM
68042019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
6805
6806 * gdb.base/source.exp: Move "error in sourced script" code to
6807 the end.
6808 * gdb.base/source-error.gdb: Move contents to
6809 source-error-1.gdb. Add new code to source source-error-1.gdb.
6810 * gdb.base/source-error-1.gdb: New file, from previous
6811 source-error.gdb.
6812
6506371f
TT
68132019-02-17 Tom Tromey <tom@tromey.com>
6814
6815 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
6816 for macro styling.
6817 * gdb.base/style.c (SOME_MACRO): New macro.
6818
a0087920
TT
68192019-02-17 Tom Tromey <tom@tromey.com>
6820
6821 * gdb.base/style.exp: Add line-wrapping tests.
6822 * gdb.base/page.exp: Add test for quitting during pagination.
6823
a2cd4f14
JB
68242019-02-17 Joel Brobecker <brobecker@adacore.com>
6825
6826 * gdb.ada/big_packed_array: New testcase.
6827 * gdb.ada/homonym.exp: Fix incorrect expected output for
6828 "break <homonym__get_value>" test.
6829
9d70ffbc
WP
68302019-02-13 Weimin Pan <weimin.pan@oracle.com>
6831
6832 PR breakpoints/21870
6833 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
6834 and prepare_for_testing. Add comment.
6835 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
6836 redundant cleanup call. Clean up comment.
6837
01c7ae81
WP
68382019-02-12 Weimin Pan <weimin.pan@oracle.com>
6839
6840 PR breakpoints/21870
6841 * gdb.arch/aarch64-dbreg-contents.exp: New file.
6842 * gdb.arch/aarch64-dbreg-contents.c: New file.
6843
aff29d1c
JB
68442019-02-10 Joel Brobecker <brobecker@adacore.com>
6845
6846 * gdb.ada/mi_ref_changeable: New testcase.
6847
df0da8a2
AH
68482019-02-07 Alan Hayward <alan.hayward@arm.com>
6849
6850 * gdb.base/attach.exp: Add double attach test.
6851
bd447abb
SM
68522019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
6853
6854 * lib/gdb.exp (default_gdb_start): Don't match pagination
6855 prompt.
6856 (gdb_init): Set stty_init.
6857
1dbc40b9
TT
68582019-01-27 Tom Tromey <tom@tromey.com>
6859
6860 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
6861 skip_python_tests.
6862
353229bf
AH
68632019-01-24 Alan Hayward <alan.hayward@arm.com>
6864
6865 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
6866 New structure.
6867 (struct struct_static_02_02): Likewise.
6868 (struct struct_static_02_03): Likewise.
6869 (struct struct_static_02_04): Likewise.
6870 (struct struct_static_04_01): Likewise.
6871 (struct struct_static_04_02): Likewise.
6872 (struct struct_static_04_03): Likewise.
6873 (struct struct_static_04_04): Likewise.
6874 (struct struct_static_06_01): Likewise.
6875 (struct struct_static_06_02): Likewise.
6876 (struct struct_static_06_03): Likewise.
6877 (struct struct_static_06_04): Likewise.
6878 (cmp_struct_static_02_01): Likewise.
6879 (cmp_struct_static_02_02): Likewise.
6880 (cmp_struct_static_02_03): Likewise.
6881 (cmp_struct_static_02_04): Likewise.
6882 (cmp_struct_static_04_01): Likewise.
6883 (cmp_struct_static_04_02): Likewise.
6884 (cmp_struct_static_04_03): Likewise.
6885 (cmp_struct_static_04_04): Likewise.
6886 (cmp_struct_static_06_01): Likewise.
6887 (cmp_struct_static_06_02): Likewise.
6888 (cmp_struct_static_06_03): Likewise.
6889 (cmp_struct_static_06_04): Likewise.
6890 (call_all): Test new structs.
6891 * gdb.base/infcall-nested-structs.exp: Likewise.
6892
73021deb
AH
68932019-01-21 Alan Hayward <alan.hayward@arm.com>
6894 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
6895
fc65c7db
AH
68962019-01-21 Alan Hayward <alan.hayward@arm.com>
6897 * gdb.base/stack-protector.c: New test.
6898 * gdb.base/stack-protector.exp: New file.
6899 * gdb.cp/ovldbreak.exp: Only allow a single break line.
6900 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
6901 option.
6902 (gdb_compile): Remove stack protector for GCC and prevent
6903 recursion.
6904
c24bdb02
KS
69052019-01-16 Keith Seitz <keiths@redhat.com>
6906
6907 PR gdb/23773
6908 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
6909
6f072a10
PFC
69102019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6911
6912 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
6913 aliases.
6914 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
6915 tests.
6916 * gdb.arch/powerpc-vector-regs.c: New file.
6917 * gdb.arch/powerpc-vector-regs.exp: New file.
6918
a7b8d682
PFC
69192019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6920
6921 * gdb.arch/altivec-regs.exp: Fix the list passed to
6922 gdb_expect_list when testing "info vector".
6923
6eb6fb67
AB
69242019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
6925
6926 * gdb.base/style.exp: Don't include path in testname.
6927
b56f80d8
KS
69282019-01-10 Keith Seitz <keiths@redhat.com>
6929
6930 PR gdb/23712
6931 PR symtab/23010
6932 * gdb.dwarf2/multidictionary.exp: New file.
6933
041be526
SM
69342019-01-09 Simon Marchi <simon.marchi@ericsson.com>
6935
6936 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
6937 (test_gnuv3_style_demangling): ... this.
6938 (test_lucid_style_demangling): Remove.
6939 (test_arm_style_demangling): Remove.
6940 (test_hp_style_demangling): Remove.
6941 (do_tests): Remove calls to the above.
6942
d820d0c3
AB
69432019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6944
6945 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
6946 case.
6947
f097f5ad
TT
69482019-01-06 Tom Tromey <tom@tromey.com>
6949
6950 PR gdb/28155:
6951 * gdb.dwarf2/typedef-void-finish.exp: New file.
6952
2cd8cc0b
TT
69532018-12-28 Tom Tromey <tom@tromey.com>
6954 Simon Marchi <simark@simark.ca>
6955
6956 * gdb.base/jit-exec.exp: New file.
6957 * gdb.base/jit-exec.c: New file.
6958 * gdb.base/jit-execd.c: New file.
6959
35fb8261
TT
69602018-12-28 Tom Tromey <tom@tromey.com>
6961
6962 * gdb.base/style.exp: Update test to check for address styling.
6963
47fd17cd
TT
69642018-12-28 Tom Tromey <tom@tromey.com>
6965
6966 * gdb.base/style.exp: Add test for styling of "Reading symbols"
6967 message.
6968
d47032b7
TT
69692018-12-28 Tom Tromey <tom@tromey.com>
6970
6971 * gdb.base/style.exp: Add test for version number styling.
6972
af79b68d
TT
69732018-12-28 Tom Tromey <tom@tromey.com>
6974
6975 * gdb.base/style.exp: Add test for print_address_symbolic.
6976
0bb296cb
TT
69772018-12-28 Tom Tromey <tom@tromey.com>
6978
6979 * gdb.base/style.exp: Add test for breakpoint setting.
6980
80ae2043
TT
69812018-12-28 Tom Tromey <tom@tromey.com>
6982
6983 * gdb.base/style.exp: Add test for variable names.
6984
cbe56571
TT
69852018-12-28 Tom Tromey <tom@tromey.com>
6986
6987 * gdb.base/style.exp: New file.
6988 * gdb.base/style.c: New file.
6989
9162a27c
TT
69902018-12-28 Tom Tromey <tom@tromey.com>
6991
6992 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
6993 "dumb".
6994 * gdb.base/readline.exp (operate_and_get_next): Save and restore
6995 the TERM environment variable.
6996
bc543c90
TT
69972018-12-27 Tom Tromey <tom@tromey.com>
6998
6999 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
7000 pagination test.
7001
6f0ffe50
AB
70022018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
7003
7004 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
7005 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
7006
b5a1e557
PW
70072018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7008
7009 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
7010 Filename a.adb changed to bp_fun_addr.adb.
7011 gdb.ada/bp_fun_addr.exp: Update test accordingly.
7012
6e8b1ab2
JV
70132018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
7014
7015 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
7016 non-PIE executables.
7017 * README: Mention the gdb,nopie_flag board setting.
7018 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
7019 non-PIE executable.
7020 * gdb.arch/amd64-entry-value.exp: Likewise.
7021 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
7022 * gdb.arch/i386-float.exp: Likewise.
7023 * gdb.arch/i386-signal.exp: Likewise.
7024 * gdb.mi/mi-reg-undefined.exp: Likewise.
7025
d00a27c5
PM
70262018-12-21 Paul Marechal <paul.marechal@ericsson.com>
7027
7028 PR gdb/23974
7029 * gdb.base/info-os.exp: Check return for unknown "info os" type.
7030
161d081c
PW
70312018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7032
7033 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
7034 Update order of results accordingly.
7035
b001de23
AB
70362018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
7037
7038 * gdb.base/annota1.exp: Update a test regexp.
7039
99e1a184
AB
70402018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7041
7042 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
7043
7a81c1e2
PW
70442018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7045
7046 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
7047 (reuse_time): Initialize to REUSE_TIME_CAP.
7048 (check_rc): New function.
7049 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
7050 Check pthread_create rc.
7051 (spawner_thread_func): Check pthread_create and pthread_join rc.
7052
73e8dc90
PA
70532018-12-08 Pedro Alves <palves@redhat.com>
7054
7055 * gdb.base/list.exp (test_forward_search): Rename to ...
7056 (test_forward_reverse_search): ... this. Also test reverse-search
7057 and the forward-search alias.
7058
13f2ed32
AB
70592018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
7060
7061 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
7062 local timeout variable before return, and remove all local timeout
7063 variable entirely.
7064 (gdb_load): Likewise.
7065
64d27cfc
TV
70662018-12-01 Tom de Vries <tdevries@suse.de>
7067
7068 * gdb.base/gdb-caching-proc.exp: New file.
7069
f63c03b4
SDJ
70702018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
7071
7072 * Makefile.in (TIMESTAMP): New variable.
7073 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
7074 command.
7075 (check-single-racy): Likewise.
7076 (check/%.exp): Likewise.
7077 (check-racy/%.exp): Likewise.
7078 (workers/%.worker): Likewise.
7079 (build-perf): Likewise.
7080 (check-perf): Likewise.
7081 * README: Describe new "TS" and "TS_FORMAT" variables.
7082 * print-ts.py: New file.
7083
1c97054b
BF
70842018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
7085
7086 PR python/23714
7087 * gdb.python/python.exp: Test command repetition after
7088 gdb.execute.
7089
1871a62d
AB
70902018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
7091
7092 * gdb.opt/inline-break.exp: Add test that info breakpoint output
7093 is correctly aligned.
7094
fb5e1ed9
PW
70952018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7096
7097 * gdb.ada/info_auto_lang.exp: New testcase.
7098 * gdb.ada/info_auto_lang/global_pack.ads: New file.
7099 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
7100 * gdb.ada/info_auto_lang/some_c.c: New file.
7101
43d397ca
PW
71022018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7103
7104 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
7105 FUNC_lang language syntax.
7106
beddd671
PW
71072018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7108
7109 * gdb.base/info_minsym.c: New file.
7110 * gdb.base/info_minsym.exp: New file.
7111
73fc52c4
TT
71122018-11-19 Tom Tromey <tom@tromey.com>
7113
7114 PR rust/23625:
7115 * gdb.rust/simple.exp: Add ptype test. Update expected output.
7116 * gdb.rust/expr.exp: Update expected output. Change one test.
7117
994b876a
TT
71182018-11-19 Tom Tromey <tom@tromey.com>
7119
7120 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
7121
6769f276
PA
71222018-11-19 Pedro Alves <palves@redhat.com>
7123
7124 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
7125 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
7126 see the expected warning.
7127
38a72da0
AH
71282018-11-16 Alan Hayward <alan.hayward@arm.com>
7129
7130 PR gdb/22736:
7131 * gdb.cp/infcall-nodebug-lib.c: New test.
7132 * gdb.cp/infcall-nodebug-main.c: New test.
7133 * gdb.cp/infcall-nodebug.exp: New file.
7134
53a89d6e
SM
71352018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
7136
7137 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
7138 completer tests.
7139
9325300d
TV
71402018-11-09 Tom de Vries <tdevries@suse.de>
7141
7142 * gdb.base/msym-lang.c: New test.
7143 * gdb.base/msym-lang.exp: New file.
7144 * gdb.base/msym-lang-main.c: New test.
7145
20f0d60d
TT
71462018-11-08 Tom Tromey <tom@tromey.com>
7147
7148 PR gdb/23555:
7149 PR gdb/23838:
7150 * gdb.base/warning.exp: New file.
7151
b5420128
JB
71522018-11-08 Jan Beulich <jbeulich@suse.com>
7153
7154 * testsuite/gdb.arch/i386-avx512.c,
7155 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
7156
cd115d61
AB
71572018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
7158
7159 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
7160 point hardware.
7161
35ee2dc2
AB
71622018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
7163
7164 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
7165 * gdb.dwarf2/missing-type-name.exp: New file.
7166
31aceee8
TV
71672018-11-06 Tom de Vries <tdevries@suse.de>
7168
7169 * gdb.base/many-headers.c: New test.
7170 * gdb.base/many-headers.exp: New file.
7171
109be305
JW
71722018-11-06 Jim Wilson <jimw@sifive.com>
7173
7174 * gdb.base/code_elim.exp: For riscv, set additional_flags
7175 to include -msmall-data-limit=0.
7176
e2b7af72
JB
71772018-11-01 Joel Brobecker <brobecker@adacore.com>
7178
7179 * gdb.ada/watch_minus_l: New testcase.
7180
cdcda965
SM
71812018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
7182
7183 * gdb.arch/aix-sighandle.c: New file.
7184 * gdb.arch/aix-sighandle.exp: New file.
7185
92dcebf3
AB
71862018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
7187
7188 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
7189 registers being unions.
7190
68b9ac18
TV
71912018-10-31 Tom de Vries <tdevries@suse.de>
7192
7193 * lib/valgrind.exp: New file.
7194 (vgdb_start, vgdb_stop): New procs, factored out of ...
7195 * gdb.base/valgrind-bt.exp: ... here, ...
7196 * gdb.base/valgrind-disp-step.exp: ... here and ...
7197 * gdb.base/valgrind-infcall.exp: ... here.
7198
1443936e
TV
71992018-10-31 Tom de Vries <tdevries@suse.de>
7200
7201 * lib/gdb.exp (get_valueof): Don't output read value in test name.
7202
eb77c9df
AB
72032018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
7204
7205 * gdb.dwarf2/void-type.c: New file.
7206 * gdb.dwarf2/void-type.exp: New file.
7207
82b5e646
PW
72082018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7209
7210 * gdb.base/info_qt.c: New file.
7211 * gdb.base/info_qt.exp: New file.
7212
8d619c01
EBM
72132018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7214
7215 * gdb.arch/powerpc-htm-regs.c: New file.
7216 * gdb.arch/powerpc-htm-regs.exp: New file.
7217
f2cf6173
EBM
72182018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7219
7220 * gdb.arch/powerpc-tar.c: New file.
7221 * gdb.arch/powerpc-tar.exp: New file.
7222
7ca18ed6
EBM
72232018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7224
7225 * gdb.arch/powerpc-ppr-dscr.c: New file.
7226 * gdb.arch/powerpc-ppr-dscr.exp: New file.
7227
bfcc0eba
TV
72282018-10-25 Tom de Vries <tdevries@suse.de>
7229
7230 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
7231
fe1a5cad
TV
72322018-10-24 Tom de Vries <tdevries@suse.de>
7233
7234 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
7235 longer exists error.
7236
a76dc3b7
TV
72372018-10-24 Tom de Vries <tdevries@suse.de>
7238
7239 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
7240
4df46df7
TV
72412018-10-24 Tom de Vries <tdevries@suse.de>
7242
7243 * gdb.base/valgrind-db-attach.exp: Handle removed support for
7244 --db-attach in valgrind.
7245
0dbfcfff
AB
72462018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
7247
7248 * gdb.arch/riscv-reg-aliases.c: New file.
7249 * gdb.arch/riscv-reg-aliases.exp: New file.
7250
b04480b1
AH
72512018-10-19 Alan Hayward <alan.hayward@arm.com>
7252
7253 * gdb.python/py-cmd.exp: Check for gdb_prompt.
7254
2c6ac8d7
AH
72552018-10-19 Alan Hayward <alan.hayward@arm.com>
7256
7257 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
7258
2bc69f25
AH
72592018-10-19 Alan Hayward <alan.hayward@arm.com>
7260
7261 * gdb.cp/ovldbreak.exp: Fix regexps.
7262
1f1ae3a3
AH
72632018-10-19 Alan Hayward <alan.hayward@arm.com>
7264
7265 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
7266
94c18618
SDJ
72672018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
7268
7269 PR cli/23785
7270 * gdb.base/restore.exp: New test to check if "restore" with an
7271 invalid file doesn't segfault.
7272
812cd6eb
TV
72732018-10-18 Tom de Vries <tdevries@suse.de>
7274
7275 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
7276 * gdb.ada/excep_handle.exp: Same.
7277 * gdb.ada/mi_string_access.exp: Same.
7278 * gdb.ada/mi_var_union.exp: Same.
7279 * gdb.arch/arc-analyze-prologue.exp: Same.
7280 * gdb.arch/arc-decode-insn.exp: Same.
7281 * gdb.base/readnever.exp: Same.
7282 * gdb.fortran/printing-types.exp: Same.
7283 * gdb.guile/scm-lazy-string.exp: Same.
7284
c4b90788
TV
72852018-10-16 Tom de Vries <tdevries@suse.de>
7286
7287 PR gdb/23730
7288 * gdb.base/catch-follow-exec.c: Add copyright notice.
7289 * gdb.base/catch-follow-exec.exp: Rewrite to use
7290 gdb_spawn_with_cmdline_opts. Require gdb-native.
7291
8bca2978
SL
72922018-10-12 Sandra Loosemore <sandra@codesourcery.com>
7293
7294 * gdb.trace/actions-changed.exp: Check for arch support.
7295 * gdb.trace/actions.exp: Likewise.
7296 * gdb.trace/ax.exp: Likewise.
7297 * gdb.trace/backtrace.exp: Likewise.
7298 * gdb.trace/change-loc.exp: Likewise.
7299 * gdb.trace/deltrace.exp: Likewise.
7300 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
7301 * gdb.trace/ftrace.exp: Likewise.
7302 * gdb.trace/infotrace.exp: Check for arch support.
7303 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
7304 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
7305 * gdb.trace/mi-tsv-changed.exp: Likewise.
7306 * gdb.trace/packetlen.exp: Likewise.
7307 * gdb.trace/passc-dyn.exp: Likewise.
7308 * gdb.trace/passcount.exp: Likewise.
7309 * gdb.trace/pending.exp: Likewise.
7310 * gdb.trace/range-stepping.exp: Check for shlib support.
7311 * gdb.trace/report.exp: Check for arch support.
7312 * gdb.trace/save-trace.exp: Likewise.
7313 * gdb.trace/signal.exp: Check for signal support.
7314 * gdb.trace/tfind.exp: Check for arch support.
7315 * gdb.trace/trace-break.exp: Check for arch and shlib support.
7316 * gdb.trace/trace-common.h: Add comment.
7317 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
7318 * gdb.trace/trace-enable-disable.exp: Likewise.
7319 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
7320 * gdb.trace/tracecmd.exp: Check for arch support.
7321 * gdb.trace/tspeed.exp: Check for shlib and target support.
7322 * gdb.trace/tstatus.exp: Check for arch support.
7323 * gdb.trace/tsv.exp: Likewise.
7324 * gdb.trace/while-dyn.exp: Likewise.
7325 * gdb.trace/while-stepping.exp: Likewise.
7326 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
7327
f9c49bff
SM
73282018-10-12 Simon Marchi <simon.marchi@ericsson.com>
7329
7330 * gdb.trace/tspeed.exp: Remove nowarnings.
7331 (prepare_for_trace_test): Declare "global ipalib".
7332 * gdb.trace/tspeed.c: Include unistd.h.
7333 (main): Remove superfluous printf argument.
7334
d4330bde
SL
73352018-10-11 Sandra Loosemore <sandra@codesourcery.com>
7336
7337 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
7338 directory prefix on the filename.
7339
8ecfd7bd
SDJ
73402018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
7341
7342 * gdb.gdb/unittest.exp: Update expected message informing that
7343 selftests have been disabled.
7344 * gdb.server/unittest.exp: Likewise.
7345
58bbcd02
TV
73462018-10-09 Tom de Vries <tdevries@suse.de>
7347
7348 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
7349 with runto_main.
7350
9f6b697b
WP
73512018-10-08 Weimin Pan <weimin.pan@oracle.com>
7352
7353 PR c++/16841
7354 * gdb.cp/virtbase2.cc: New file.
7355 * gdb.cp/virtbase2.exp: New file.
7356
add5ded5
TT
73572018-10-06 Tom Tromey <tom@tromey.com>
7358
7359 PR python/19399:
7360 * gdb.python/py-inferior.exp: Add architecture test.
7361
f9e48344
TT
73622018-10-06 Tom Tromey <tom@tromey.com>
7363
7364 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
7365 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
7366
2a8be203
TT
73672018-10-06 Tom Tromey <tom@tromey.com>
7368
7369 * gdb.python/py-breakpoint.exp (check_last_event): Check location
7370 of a "throw" catchpoint.
7371
e04caa70
SDJ
73722018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
7373
7374 * gdb.base/info-proc.exp: Update string expected from "help info
7375 proc".
7376
5ca8c39f
TT
73772018-10-04 Tom Tromey <tom@tromey.com>
7378
7379 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
7380 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
7381 (test_initial_complaints, test_empty_complaints): Update.
7382 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
7383
3453e7e4
TT
73842018-10-04 Tom Tromey <tom@tromey.com>
7385
7386 PR cli/19551:
7387 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
7388 * lib/gdb.exp (gdb_file_cmd): Update.
7389 * gdb.stabs/weird.exp (print_weird_var): Update.
7390 * gdb.server/solib-list.exp: Update.
7391 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
7392 * gdb.mi/mi-cli.exp: Update.
7393 * gdb.linespec/linespec.exp: Update.
7394 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
7395 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
7396 * gdb.cp/cp-relocate.exp: Update.
7397 * gdb.base/sym-file.exp: Update.
7398 * gdb.base/relocate.exp: Update.
7399 * gdb.base/readnever.exp: Update.
7400 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
7401 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
7402 * gdb.base/dbx.exp (gdb_file_cmd): Update.
7403 * gdb.base/code_elim.exp: Update.
7404 * gdb.base/break-unload-file.exp (test_break): Update.
7405 * gdb.base/break-interp.exp (test_attach_gdb): Update.
7406 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
7407 Update.
7408 * gdb.base/attach.exp (do_attach_tests): Update.
7409 * gdb.base/sepdebug.exp: Update.
7410 * gdb.python/py-section-script.exp: Update.
7411
6afcf761
TT
74122018-10-04 Tom Tromey <tom@tromey.com>
7413
7414 PR cli/22234:
7415 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
7416 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
7417 output.
7418
fef1b293
TT
74192018-10-04 Tom Tromey <tom@tromey.com>
7420
7421 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
7422 set width and height to 0.
7423 (test_command_line_attach_run): Use -quiet.
7424
ca98345e
SL
74252018-10-03 Sandra Loosemore <sandra@codesourcery.com>
7426
7427 * lib/gdb.exp (skip_ifunc_tests): New.
7428 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
7429 other compile failures.
7430 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
7431
ff34e6ae
SM
74322018-10-01 Simon Marchi <simon.marchi@ericsson.com>
7433
7434 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
7435 is_amd64_regs_target.
7436
6bb8890e
AH
74372018-10-01 Alan Hayward <alan.hayward@arm.com>
7438
7439 * gdb.arch/aarch64-sighandler-regs.c: New test.
7440 * gdb.arch/aarch64-sighandler-regs.exp: New file.
7441 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
7442
224d30d3
MM
74432018-10-01 Markus Metzger <markus.t.metzger@intel.com>
7444
7445 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
7446 assembly.
7447
f67ffa6a
AB
74482018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
7449
7450 * gdb.base/frame-selection.exp: New file.
7451 * gdb.base/frame-selection.c: New file.
7452
9fc3183f
AH
74532018-09-27 Alan Hayward <alan.hayward@arm.com>
7454
7455 * gdb.threads/check-libthread-db.c (thread_routine): Use a
7456 pthread barrier.
7457 (main): Likewise.
7458
d354055e
AB
74592018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
7460
7461 * gdb.base/large-frame-1.c: New file.
7462 * gdb.base/large-frame-2.c: New file.
7463 * gdb.base/large-frame.exp: New file.
7464 * gdb.base/large-frame.h: New file.
7465
db727370
JL
74662018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
7467
7468 PR gdb/20948
7469 * gdb.base/write_mem.exp: New test.
7470 * gdb.base/write_mem.c: Likewise.
7471
ae778caf
TT
74722018-09-23 Tom Tromey <tom@tromey.com>
7473
7474 PR python/18852:
7475 * gdb.python/py-parameter.exp: Add test for parameter that throws
7476 on "set".
7477
fd3ba736
TT
74782018-09-23 Tom Tromey <tom@tromey.com>
7479
7480 PR python/17284:
7481 * gdb.python/py-template.exp (test_template_arg): Add test for
7482 negative template argument number.
7483
39a24317
TT
74842018-09-23 Tom Tromey <tom@tromey.com>
7485
7486 PR python/14062:
7487 * gdb.python/python.exp: Add test for post_event error.
7488
f5769a2c
TT
74892018-09-23 Tom Tromey <tom@tromey.com>
7490
7491 PR python/18170:
7492 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
7493 convert pointers to int and long.
7494
1c1e54f6
TT
74952018-09-23 Tom Tromey <tom@tromey.com>
7496
7497 PR python/20126:
7498 * gdb.python/py-value.exp (test_value_numeric_ops): Add
7499 signed-ness conversion tests.
7500
fb4fa946
TT
75012018-09-23 Tom Tromey <tom@tromey.com>
7502
7503 PR python/18352;
7504 * gdb.python/py-value.exp (test_float_conversion): New proc.
7505 Use it.
7506
a466edac
HAQ
75072018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
7508
7509 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
7510
4ee9b0c5
SL
75112018-09-18 Sandra Loosemore <sandra@codesourcery.com>
7512
7513 * gdb.base/complete-empty.exp: Skip tab-completion tests if
7514 no readline.
7515 * gdb.base/utf8-identifiers.exp: Likewise.
7516 * gdb.cp/cpcompletion.exp: Likewise.
7517 * gdb.linespec/cpcompletion.exp: Likewise.
7518 * gdb.linespec/cpls-abi-tag.exp: Likewise.
7519 * gdb.linespec/cpls-ops.exp: Likewise.
7520
23be8da7
RB
75212018-09-19 Richard Bunt <richard.bunt@arm.com>
7522 Chris January <chris.january@arm.com>
7523
7524 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
7525 * gdb.fortran/short-circuit-argument-list.exp: New file.
7526 * gdb.fortran/short-circuit-argument-list.f90: New test.
7527
5031d0ae
SDJ
75282018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7529
7530 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
7531 "arch=" keyword when executing "-stack-list-frames".
7532
b4c0d1a4
SDJ
75332018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7534
7535 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
7536 "arch=" keyword when executing "-stack-list-frames".
7537
7a6d2b45
SDJ
75382018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7539
7540 * gdb.ada/complete.exp: Expect for "@" when doing "complete
7541 break ada".
7542
8588b356
SM
75432018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
7544
7545 PR python/23669
7546 * gdb.python/python.exp: Test gdb.execute("show commands").
7547
65e65158
TT
75482018-09-16 Tom Tromey <tom@tromey.com>
7549
7550 * gdb.base/new-ui.exp (do_execution_tests): Update.
7551 * gdb.base/dbx.exp (test_breakpoints): Update.
7552
bf326452
AH
75532018-09-14 Alan Hayward <alan.hayward@arm.com>
7554
7555 * lib/gdb.exp (gdb_simple_compile): Add proc.
7556 (is_elf_target): Use gdb_simple_compile.
7557 (skip_altivec_tests): Likewise.
7558 (skip_vsx_tests): Likewise.
7559 (skip_tsx_tests): Likewise.
7560 (skip_btrace_tests): Likewise.
7561 (skip_btrace_pt_tests): Likewise.
7562 (gdb_can_simple_compile): Likewise.
7563 (gdb_has_argv0): Likewise.
7564 (gdb_target_symbol_prefix): Likewise.
7565 (target_supports_scheduler_locking): Likewise.
7566
2361b0fb
TT
75672018-09-13 Tom Tromey <tom@tromey.com>
7568
7569 * Makefile.in (TAGS): Recognize proc_with_prefix and
7570 gdb_caching_proc.
7571
0ae1a321
SM
75722018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7573
7574 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
7575 method.
7576
a40bf0c2
SM
75772018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7578
7579 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
7580 and a few other Inferior properties when the Inferior is no
7581 longer valid.
7582
4a3fe98f
TT
75832018-09-13 Tom Tromey <tom@tromey.com>
7584
7585 PR rust/23650:
7586 * gdb.rust/simple.exp: Add test for enum field access error.
7587
098b2108
TT
75882018-09-13 Tom Tromey <tom@tromey.com>
7589
7590 PR rust/23626:
7591 * gdb.rust/simple.rs (EmptyEnum): New type.
7592 (main): Use it.
7593 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
7594
1256af7d
SM
75952018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7596
7597 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
7598 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
7599 * gdb.python/py-symtab.exp: Update test printing an objfile.
7600
4aa8e6c2
SM
76012018-09-12 Simon Marchi <simon.marchi@ericsson.com>
7602
7603 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
7604 object.
7605
c221b2f7
AH
76062018-09-12 Alan Hayward <alan.hayward@arm.com>
7607
7608 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
7609 (support_complex_tests): Use gdb_can_simple_compile.
7610 (is_ilp32_target): Likewise.
7611 (is_lp64_target): Likewise.
7612 (is_64_target): Likewise.
7613 (is_amd64_regs_target): Likewise.
7614 (is_aarch32_target): Likewise.
7615 (gdb_int128_helper): Likewise.
7616
6f1107b5
JK
76172018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7618
7619 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
7620
1f5d1570
JG
76212018-09-10 Jerome Guitton <guitton@adacore.com>
7622
7623 * gdb.ada/same_component_name: Add test for case of tagged record
7624 with variable-length fields.
7625
cc330e39
XR
76262018-09-10 Xavier Roirand <roirand@adacore.com>
7627
7628 * gdb.ada/access_to_unbounded_array.exp: New testcase.
7629 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
7630 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
7631 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
7632
b9c50e9a
XR
76332018-09-10 Xavier Roirand <roirand@adacore.com>
7634
7635 * gdb.ada/mi_string_access.exp: New testcase.
7636 * gdb.ada/mi_string_access/bar.adb: New file.
7637 * gdb.ada/mi_string_access/pck.adb: New file.
7638 * gdb.ada/mi_string_access/pck.asd: New file.
7639
2963898f
XR
76402018-09-10 Xavier Roirand <roirand@adacore.com>
7641
7642 * gdb.ada/mi_var_union.exp: New testcase.
7643 * gdb.ada/mi_var_union/bar.adb: New file.
7644 * gdb.ada/mi_var_union/pck.adb: New file.
7645 * gdb.ada/mi_var_union/pck.asd: New file.
7646
1aac008f
TT
76472018-09-08 Tom Tromey <tom@tromey.com>
7648
7649 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
7650
332cf4c9
TT
76512018-09-08 Tom Tromey <tom@tromey.com>
7652
7653 PR python/16047:
7654 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
7655 (register_pretty_printers): Register new printer.
7656 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
7657 test.
7658 * gdb.python/py-prettyprint.c (int_type3): New typedef.
7659 (an_int_type3): New global.
7660
424da6cf
JB
76612018-09-08 Joel Brobecker <brobecker@adacore.com>
7662
7663 * gdb.ada/expr_with_funcall: New testcase.
7664
2a62dfa9
JB
76652018-09-08 Joel Brobecker <brobecker@adacore.com>
7666
7667 * gdb.ada/packed_array_assign: New testcase.
7668
96b6697f
AB
76692018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
7670
7671 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
7672 names, and add test prefixes to make test names unique.
7673
e4a62c65
TV
76742018-09-05 Tom de Vries <tdevries@suse.de>
7675
7676 * gdb.dwarf2/varval.exp: Add test.
7677
dd083ee2
GB
76782018-09-04 Gary Benson <gbenson@redhat.com>
7679
7680 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
7681 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
7682
aef9346c
TT
76832018-08-31 Tom Tromey <tom@tromey.com>
7684
7685 * gdb.rust/simple.rs: Rename second variable "v".
7686
c67f2e15
AB
76872018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
7688
7689 * gdb.base/funcargs.c (use_a): New function.
7690 (recurse): Call use_a.
7691
078a0207
KS
76922018-08-29 Keith Seitz <keiths@redhat.com>
7693
7694 * gdb.compile/compile-cplus-anonymous.cc: New file.
7695 * gdb.compile/compile-cplus-anonymous.exp: New file.
7696 * gdb.compile/compile-cplus-array-decay.cc: New file.
7697 * gdb.compile/compile-cplus-array-decay.exp: New file.
7698 * gdb.compile/compile-cplus-inherit.cc: New file.
7699 * gdb.compile/compile-cplus-inherit.exp: New file.
7700 * gdb.compile/compile-cplus-member.cc: New file.
7701 * gdb.compile/compile-cplus-member.exp: New file.
7702 * gdb.compile/compile-cplus-method.cc: New file.
7703 * gdb.compile/compile-cplus-method.exp: New file.
7704 * gdb.compile/compile-cplus-mod.c: "New" file.
7705 * gdb.compile/compile-cplus-namespace.cc: New file.
7706 * gdb.compile/compile-cplus-namespace.exp: New file.
7707 * gdb.compile/compile-cplus-nested.cc: New file.
7708 * gdb.compile/compile-cplus-nested.exp: New file.
7709 * gdb.compile/compile-cplus-print.c: "New" file.
7710 * gdb.compile/compile-cplus-print.exp: "New" file.
7711 * gdb.compile/compile-cplus-virtual.cc: New file.
7712 * gdb.compile/compile-cplus-virtual.exp: New file.
7713 * gdb.compile/compile-cplus.c: "New" file.
7714 * gdb.compile/compile-cplus.exp: "New" file.
7715 * lib/compile-support.exp: New file.
7716
b0f492b9
GB
77172018-08-16 Gary Benson <gbenson@redhat.com>
7718
7719 PR gdb/13000:
7720 * gdb.base/batch-exit-status.exp: New file.
7721 * gdb.base/batch-exit-status.good-commands: Likewise.
7722 * gdb.base/batch-exit-status.bad-commands: Likewise.
7723
36eb4c5f
AH
77242018-08-29 Alan Hayward <alan.hayward@arm.com>
7725
7726 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
7727 (struct struct02): Likewise.
7728 (struct struct03): Likewise.
7729 (struct struct04): Likewise.
7730 (struct struct_01_01): New struct.
7731 (struct struct_01_02): Likewise.
7732 (struct struct_01_03): Likewise.
7733 (struct struct_01_04): Likewise.
7734 (struct struct_02_01): Likewise.
7735 (struct struct_02_02): Likewise.
7736 (struct struct_02_03): Likewise.
7737 (struct struct_02_04): Likewise.
7738 (struct struct_04_01): Likewise.
7739 (struct struct_04_02): Likewise.
7740 (struct struct_04_03): Likewise.
7741 (struct struct_04_04): Likewise.
7742 (struct struct_05_01): Likewise.
7743 (struct struct_05_02): Likewise.
7744 (struct struct_05_03): Likewise.
7745 (struct struct_05_04): Likewise.
7746 (cmp_struct01): Remove function.
7747 (cmp_struct02): Likewise.
7748 (cmp_struct03): Likewise.
7749 (cmp_struct04): Likewise.
7750 (cmp_struct_01_01): Add Function.
7751 (cmp_struct_01_02): Likewise.
7752 (cmp_struct_01_03): Likewise.
7753 (cmp_struct_01_04): Likewise.
7754 (cmp_struct_02_01): Likewise.
7755 (cmp_struct_02_02): Likewise.
7756 (cmp_struct_02_03): Likewise.
7757 (cmp_struct_02_04): Likewise.
7758 (cmp_struct_04_01): Likewise.
7759 (cmp_struct_04_02): Likewise.
7760 (cmp_struct_04_03): Likewise.
7761 (cmp_struct_04_04): Likewise.
7762 (cmp_struct_05_01): Likewise.
7763 (cmp_struct_05_02): Likewise.
7764 (cmp_struct_05_03): Likewise.
7765 (cmp_struct_05_04): Likewise.
7766 (call_all): Add new structs.
7767 * gdb.base/infcall-nested-structs.exp: Likewise.
7768
3bf9c013
JV
77692018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
7770
7771 * gdb.python/py-framefilter-mi.exp: Update regexp to
7772 check for "arch" field in frame output.
7773
450d1e88
KB
77742018-08-23 Kevin Buettner <kevinb@redhat.com>
7775
7776 * gdb.dwarf2/dw2-ranges-func.c: New file.
7777 * gdb.dwarf2/dw2-ranges-func.exp: New file.
7778
ae739fe7
SM
77792018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
7780
7781 * gdb.base/term.exp: Compare terminal settings with values from
7782 the inferior.
7783 * gdb.base/term.c: Get and set terminal settings.
7784
6d52907e
JV
77852018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
7786
7787 * lib/mi-support.exp (mi_expect_stop): Update regexp to
7788 accommodate new "arch" field in frame output.
7789 * gdb.mi/mi-return.exp: Likewise.
7790 * gdb.mi/mi-stack.exp: Likewise.
7791 * gdb.mi/mi-syn-frame.exp: Likewise.
7792 * gdb.mi/user-selected-context-sync.exp: Likewise.
7793
be2d111a
MS
77942018-08-19 Michael Spang <spang@google.com>
7795
7796 PR gdb/11786
7797 * gdb.base/gcore-tls-pie.c: New file.
7798 * gdb.base/gcore-tls-pie.exp: New file.
7799
ae3a7c47
KB
78002018-08-18 Kevin Buettner <kevinb@redhat.com>
7801
7802 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
7803 * gdb.dwarf2/varval.c: New file.
7804 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 7805
2ecae92e
AH
78062018-08-17 Alan Hayward <alan.hayward@arm.com>
7807
7808 PR gdb/18931
7809 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
7810
c1854f1d
KS
78112018-08-16 Keith Seitz <keiths@redhat.com>
7812
7813 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
7814 tests expected to pass.
7815
26fb3983
JV
78162018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
7817
7818 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
7819 -data-disassemble -a.
7820 (test_disassembly_bogus_args): Likewise.
7821
67943c00
AB
78222018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
7823
7824 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
7825
5ff2bbae
AB
78262018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
7827
7828 * gdb.base/vla-optimized-out.exp: Add new test.
7829
e5bbcd0f
AB
78302018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
7831
7832 * gdb.base/vla-optimized-out-o3.exp: Delete.
7833 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
7834 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
7835 deleted tests.
7836
9d4a934c
AB
78372018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
7838
7839 PR gdb/18050:
7840 * gdb.server/extended-remote-restart.c: New file.
7841 * gdb.server/extended-remote-restart.exp: New file.
7842
045cf012
SM
78432018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
7844
7845 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
7846 "set variable index = 42".
7847
87d6a7aa
SM
78482018-08-07 Simon Marchi <simon.marchi@ericsson.com>
7849
7850 * boards/index-cache-gdb.exp: New file.
7851 * gdb.dwarf2/index-cache.exp: New file.
7852 * gdb.dwarf2/index-cache.c: New file.
7853 * gdb.base/maint.exp: Check if we are using the index cache.
7854
96d68bd4
RO
78552018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7856
7857 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
7858 MAKEFLAGS.
7859
5a699617
RO
78602018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7861
7862 * dg-extract-results.sh: Move to toplevel contrib.
7863 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
7864 * Makefile.in (check-parallel-racy): Likewise.
7865
5bd18990
AB
78662018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
7867
7868 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
7869 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
7870 tests if the target supports scheduler locking.
7871
3fbbcf47
TV
78722018-08-04 Tom de Vries <tdevries@suse.de>
7873
7874 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
7875
3e1d3d8c
TT
78762018-08-02 Tom Tromey <tom@tromey.com>
7877
7878 PR symtab/16842.
7879 * gdb.cp/temargs.exp: Test "info address" of a template
7880 parameter.
7881
5abe0f0c
JV
78822018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
7883
7884 * gdb.python/py-mi-var-info-path-expression.c: New file.
7885 * gdb.python/py-mi-var-info-path-expression.py: New file.
7886 * gdb.python/py-mi-var-info-path-expression.exp: New file.
7887
fb66cde8
SDJ
78882018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
7889
7890 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
7891 error after "cannot resolve name" string.
7892
c708f4d2
AB
78932018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
7894
7895 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
7896 started.
7897 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
7898
37cc0cae
TV
78992018-07-28 Tom de Vries <tdevries@suse.de>
7900
7901 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
7902
63b4ecf7
TV
79032018-07-26 Tom de Vries <tdevries@suse.de>
7904
7905 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
7906
3c3bb058
AB
79072018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
7908
7909 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
7910 is visible.
7911
9e7f3bbb
TV
79122018-07-26 Tom de Vries <tdevries@suse.de>
7913
7914 PR breakpoints/23366
7915 * gdb.base/catch-follow-exec.c: New test.
7916 * gdb.base/catch-follow-exec.exp: New file.
7917
16f808ec
TV
79182018-07-25 Tom de Vries <tdevries@suse.de>
7919
7920 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
7921 vla-optimized-out.c.
7922
d7154a8d
JV
79232018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
7924
7925 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
7926 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
7927
232a0032
TV
79282018-07-20 Tom de Vries <tdevries@suse.de>
7929
7930 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
7931 NOCLONE macro.
7932 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
7933
fbb1d502
TV
79342018-07-19 Tom de Vries <tdevries@suse.de>
7935
7936 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
7937 regular expression.
7938
42dc7699
TV
79392018-07-18 Tom de Vries <tdevries@suse.de>
7940
7941 * gdb.base/vla-optimized-out.c: New test.
7942 * gdb.base/vla-optimized-out.exp: New file.
7943
7f1f7e23
SDJ
79442018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
7945
7946 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
7947 message "No address associated with hostname" when gdbserver
7948 cannot resolve the hostname.
7949
5759ebb3
PW
79502018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7951
7952 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
7953 Add some test prefixes to make tests unique.
7954
3606ccab
PW
79552018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7956
7957 * gdb.base/frameapply.c: New file.
7958 * gdb.base/frameapply.exp: New file.
7959
529c08b2
PW
79602018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7961
7962 * gdb.base/skip.exp: Update expected error message.
7963
c7ab0aef
SDJ
79642018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
7965 Jan Kratochvil <jan.kratochvil@redhat.com>
7966 Paul Fertser <fercerpav@gmail.com>
7967 Tsutomu Seki <sekiriki@gmail.com>
7968
7969 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
7970 parameter.
7971 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
7972 by default.
7973 * boards/native-gdbserver.exp: Likewise.
7974 * gdb.server/run-without-local-binary.exp: Improve regexp used
7975 for detecting when a remote debugging connection succeeds.
7976 * gdb.server/server-connect.exp: New file.
7977 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
7978 Do not prefix the port number with ":".
7979 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
7980 support for detecting and using it. Add '$debughost_gdbserver'
7981 to the list of arguments used to start gdbserver. Handle case
7982 when gdbserver cannot resolve a network name.
7983
16ff70dd
SDJ
79842018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
7985
7986 PR c++/23373
7987 * gdb.base/ptype-offsets.cc (struct static_member): New
7988 struct.
7989 (main) <stmember>: New variable.
7990 * gdb.base/ptype-offsets.exp: Add test for printing a struct
7991 with a static member in it.
7992
3541979f
AB
79932018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
7994
7995 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
7996 watchpoints enabled and disabled.
7997
c8ad9b9a
AB
79982018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7999
8000 * gdb.base/examine-backward.exp: Still run tests around address
8001 0x0, even if address 0x0 is not readable. Update the pattern for
8002 matching address 0x0 in expected output.
8003
e0e5e971
AB
80042018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
8005
8006 * gdb.base/share-env-with-gdbserver.c (main): Add call to
8007 malloc/free.
8008
1ea5da02
TV
80092018-07-04 Tom de Vries <tdevries@suse.de>
8010
8011 * gdb.dwarf2/dw2-error.exp: Update expected error message.
8012
471b9d15
MR
80132018-07-02 Maciej W. Rozycki <macro@mips.com>
8014
8015 PR tdep/8282
8016 * gdb.arch/mips-disassembler-options.exp: New test.
8017 * gdb.arch/mips-disassembler-options.s: New test source.
8018
75acb486
PA
80192018-06-29 Pedro Alves <palves@redhat.com>
8020
8021 * gdb.threads/names.exp: Adjust expected "info threads" output.
8022
cd2bb709
PA
80232018-06-29 Pedro Alves <palves@redhat.com>
8024
8025 * gdb.opt/inline-break.exp (line number, address): Add "info
8026 break" tests.
8027
991ff292
PA
80282018-06-29 Pedro Alves <palves@redhat.com>
8029
8030 * gdb.opt/inline-break.c (func1): Add "break here" marker.
8031 * gdb.opt/inline-break.exp: Test setting breakpoints by line
8032 number and address and running to them.
8033
356819b6 80342018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
8035
8036 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
8037
2512d7ef
JK
80382018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8039
8040 * lib/compiler.c: Remove executable permission flag.
8041
be1b6474
RB
80422018-06-28 Richard Bunt <richard.bunt@arm.com>
8043
8044 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
8045 code.
8046 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
8047
291f9a96
PT
80482018-06-28 Petr Tesarik <ptesarik@suse.cz>
8049
8050 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
8051
ed6dfe51
PT
80522018-06-28 Petr Tesarik <ptesarik@suse.cz>
8053
8054 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
8055 address argument is omitted.
8056
d4d429d5
PT
80572018-06-28 Petr Tesarik <ptesarik@suse.cz>
8058
8059 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
8060
7ab6656f
OJ
80612018-06-27 Omair Javaid <omair.javaid@linaro.org>
8062
8063 PR gdb/21695
8064 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
8065 * gdb.base/infoline-reloc-main-from-zero.c: New file.
8066
a33ccfc7
TT
80672018-06-26 Tom Tromey <tom@tromey.com>
8068
8069 PR rust/22574:
8070 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
8071 * gdb.rust/simple.rs (struct SimpleLayout): New.
8072
6d72d289
SM
80732018-06-22 Simon Marchi <simon.marchi@ericsson.com>
8074
8075 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
8076 "info registers" output.
8077
8363f9d5
RB
80782018-06-21 Richard Bunt <richard.bunt@arm.com>
8079
8080 * gdb.base/watchpoint-hw-attach.c: New test.
8081 * gdb.base/watchpoint-hw-attach.exp: New file.
8082
f00674fe
SM
80832018-06-20 Simon Marchi <simon.marchi@ericsson.com>
8084
8085 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
8086 through /bin/sh.
8087 * boards/dwarf4-gdb-index.exp: Likewise.
8088 * boards/fission-dwp.exp: Likewise.
8089
1d554008
UW
80902018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
8091
8092 * gdb.base/float128.exp: Add comment and improved fail message
8093 to the failure case of "print large128" test.
8094
d0ac1c44
SM
80952018-06-19 Simon Marchi <simon.marchi@ericsson.com>
8096
8097 * configure.ac: Remove AC_PREREQ.
8098 * configure: Re-generate.
8099
61b04dd0
PA
81002018-06-19 Pedro Alves <palves@redhat.com>
8101
8102 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
8103 (func_extern_caller): New.
8104 (main): Call func_extern_caller.
8105 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
8106 logic change.
8107
f63b508a
SM
81082018-06-18 Weimin Pan <weimin.pan@oracle.com>
8109
8110 PR gdb/16841
8111 * gdb.cp/typedef-base.cc: New file.
8112 * gdb.cp/typedef-base.exp: New file.
8113
0fe3a558
TV
81142018-06-18 Tom de Vries <tdevries@suse.de>
8115
8116 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
8117
7010835a
AB
81182018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
8119 Richard Bunt <Richard.Bunt@arm.com>
8120
8121 * gdb.threads/attach-slow-waitpid.c: New file.
8122 * gdb.threads/attach-slow-waitpid.exp: New file.
8123 * gdb.threads/slow-waitpid.c: New file.
8124
14897d65
PA
81252018-06-14 Pedro Alves <palves@redhat.com>
8126
8127 * gdb.base/fork-running-state.c: Include <errno.h>.
8128 (exit_if_relative_exits): New.
8129 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
8130 exits.
8131 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
8132 child exits.
8133
5d9a0608
TV
81342018-06-14 Tom de Vries <tdevries@suse.de>
8135
8136 PR cli/22573
8137 * gdb.base/finish-pretty.c: New test.
8138 * gdb.base/finish-pretty.exp: New file.
8139
11ae5818
PA
81402018-06-14 Pedro Alves <palves@redhat.com>
8141
8142 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
8143 gdb's expected startup output.
8144
1d39de44
PA
81452018-06-14 Pedro Alves <palves@redhat.com>
8146
8147 * lib/selftest-support.exp (selftest_setup): Remove inlined
8148 function handling.
8149
70ee0000
TV
81502018-06-14 Tom de Vries <tdevries@suse.de>
8151
8152 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
8153 matching of breakpoint printing.
8154
11f4b608
TV
81552018-06-13 Tom de Vries <tdevries@suse.de>
8156
8157 PR testsuite/23269
8158 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
8159 (fork_child): ... here, and ...
8160 (fork_parent): ... here.
8161
81622018-06-12 Tom de Vries <tdevries@suse.de>
8163
8164 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
8165
9516f85a
AB
81662018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
8167 Stephen Roberts <stephen.roberts@arm.com>
8168
8169 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
8170 rewrite test to describe action performed, rather than possible
8171 failure.
8172
5045b3d7
GB
81732018-06-08 Gary Benson <gbenson@redhat.com>
8174
8175 * gdb.threads/check-libthread-db.exp: New file.
8176 * gdb.threads/check-libthread-db.c: Likewise.
8177
c61b06a1
TT
81782018-06-05 Tom Tromey <tom@tromey.com>
8179
8180 * gdb.base/default.exp: Update expected "show version" output.
8181
eb6af809
TT
81822018-06-05 Tom Tromey <tom@tromey.com>
8183
8184 PR cli/12326:
8185 * gdb.cp/static-print-quit.exp: Update.
8186 * lib/gdb.exp (pagination_prompt): Update.
8187 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
8188 * gdb.python/python.exp: Update.
8189
178d6a63
JB
81902018-06-04 Joel Brobecker <brobecker@adacore.com>
8191
8192 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
8193
8e817061
JB
81942018-06-01 Joel Brobecker <brobecker@adacore.com>
8195
8196 * gdb.ada/bp_fun_addr: New testcase.
8197
e86ca25f
TT
81982018-06-01 Tom Tromey <tom@tromey.com>
8199
8200 * gdb.xml/tdesc-regs.exp (load_description): Update expected
8201 results.
8202 * gdb.dwarf2/method-ptr.exp: Set language to C++.
8203 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
8204 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
8205 * gdb.base/maint.exp (maint_pass_if): Update.
8206
4b2dfa9d
MR
82072018-05-31 Maciej W. Rozycki <macro@mips.com>
8208
8209 * gdb.base/endian.exp: New test.
8210 * gdb.base/endian.c: New test source.
8211
45f25d6c
AB
82122018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
8213
8214 PR gdb/23203
8215 * gdb.base/bt-selected-frame.c: New file.
8216 * gdb.base/bt-selected-frame.exp: New file.
8217 * lib/gdb.exp (get_current_frame_number): New function.
8218
d9f6d7f8
MR
82192018-05-24 Maciej W. Rozycki <macro@mips.com>
8220 Pedro Alves <palves@redhat.com>
8221
8222 * gdb.threads/tls-core.c: Include <stdlib.h>
8223 (thread_proc): Call `abort'.
8224 * gdb.threads/tls-core.exp: Generate a core with core_find too.
8225 (tls_core_test): New procedure, bits factored out from ...
8226 (top level): ... here. Test both native cores and gcore cores.
8227
ff1cf532
TT
82282018-05-23 Tom Tromey <tom@tromey.com>
8229
8230 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
8231
b98664d3
TT
82322018-05-23 Tom Tromey <tom@tromey.com>
8233
8234 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
8235 symfile_complaints.
8236 (test_short_complaints): Likewise.
8237 (test_empty_complaints): Likewise.
8238 (test_initial_complaints): Update.
8239
4e9668d0
TT
82402018-05-23 Tom Tromey <tom@tromey.com>
8241
8242 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
8243
43ba33c7
TT
82442018-05-23 Tom Tromey <tom@tromey.com>
8245
8246 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
8247 (test_short_complaints): Update.
8248
035522c0
PA
82492018-05-22 Pedro Alves <palves@redhat.com>
8250
8251 * gdb.base/remote.exp: Only gdb_start after compiling the
8252 testcase. Issue "disconnect" before testing "set remote" command
8253 defaults. Issue clean_restart before running to main.
8254
cc0be08f
PA
82552018-05-22 Pedro Alves <palves@redhat.com>
8256
8257 * gdb.base/remote.exp: Adjust expected output of "show remote
8258 memory-write-packet-size". Add tests for "set remote
8259 memory-write-packet-size 0" and "set remote
8260 memory-write-packet-size fixed/limit".
8261
b1b60145
PA
82622018-05-22 Pedro Alves <palves@redhat.com>
8263
8264 PR gdb/22973
8265 * gdb.base/utf8-identifiers.c: New file.
8266 * gdb.base/utf8-identifiers.exp: New file.
8267
0ec848ad
PFC
82682018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
8269
8270 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
8271
2c3305f6
PFC
82722018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
8273
8274 * gdb.arch/powerpc-vsx-gcore.exp: New file.
8275
ce1e8424
TT
82762018-05-18 Tom Tromey <tom@tromey.com>
8277
8278 * gdb.base/ptype-offsets.exp: Update.
8279
ddfe970e
KS
82802018-05-17 Keith Seitz <keiths@redhat.com>
8281
8282 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
8283 in expected breakpoint stop locations.
8284 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
8285 move to proper scope to test variable values.
8286 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
8287 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
8288 New functions.
8289 (main): Call not_inline_func3.
8290 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
8291 inline_func1, inline_func2, and inline_func3. Test that when each
8292 breakpoint is hit, GDB properly reports both the stop location
8293 and the backtrace. Repeat tests for temporary breakpoints.
8294
0726fcc6
MR
82952018-05-15 Maciej W. Rozycki <macro@mips.com>
8296
8297 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
8298 rather then trying to access it in determining whether the PID
8299 of `gdbserver' could have been retrieved.
8300
8ee22052
AB
83012018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
8302
8303 * gdb.arch/amd64-init-x87-values.S: New file.
8304 * gdb.arch/amd64-init-x87-values.exp: New file.
8305
7785df48
JK
83062018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8307
8308 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
8309
56bcdbea
TT
83102018-05-04 Tom Tromey <tom@tromey.com>
8311
8312 PR python/22730:
8313 * gdb.python/python.exp: Test multi-line execute.
8314
a913fffb
TT
83152018-05-04 Tom Tromey <tom@tromey.com>
8316
8317 PR python/22731:
8318 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
8319
7a2c85f2
TT
83202018-05-04 Tom Tromey <tom@tromey.com>
8321
8322 PR gdb/11750:
8323 * gdb.base/define.exp: Test defining a user command inside a user
8324 command.
8325 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
8326
a3b60e45
JK
83272018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8328 Pedro Alves <palves@redhat.com>
8329
8330 PR breakpoints/19806 and support for PR external/20207.
8331 * gdb.base/watchpoint-unaligned.c: New file.
8332 * gdb.base/watchpoint-unaligned.exp: New file.
8333
45fe4a03
AB
83342018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8335
8336 * gdb.base/maint.exp: Make test names unique, use
8337 test_prefix_command_help to test 'help maint info', and remove
8338 repeated test of 'help maint'.
8339
9be2ae8f
TT
83402018-05-04 Tom Tromey <tom@tromey.com>
8341
8342 PR gdb/22619:
8343 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
8344 behavior.
8345
11859c31
AB
83462018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8347
8348 * gdb.base/maint.exp: Process output from 'maint print registers'
8349 line at a time.
8350
089a9490
AB
83512018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8352
8353 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
8354 timeout.
8355
9b0797e2
AB
83562018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
8357
8358 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
8359 filter pattern.
8360
f6ac5f3d
PA
83612018-05-02 Pedro Alves <palves@redhat.com>
8362
8363 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
8364 to_log_command renames.
8365 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
8366
77d3c63b
TT
83672018-05-02 Tom Tromey <tom@tromey.com>
8368
8369 * gdb.python/py-parameter.exp: Set test message.
8370
0489430a
TT
83712018-05-02 Tom Tromey <tom@tromey.com>
8372
8373 PR python/20084:
8374 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
8375 PARAM_ZUINTEGER_UNLIMITED tests.
8376
1632f8ba
DR
83772018-04-28 Dan Robertson <danlrobertson89@gmail.com>
8378
8379 PR rust/23124
8380 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
8381 when casting.
8382
6d7bb824
TT
83832018-04-30 Tom Tromey <tom@tromey.com>
8384
8385 * gdb.python/py-type.exp: Check align attribute.
8386 * gdb.python/py-type.c: New "aligncheck" global.
8387
007e1530
TT
83882018-04-30 Tom Tromey <tom@tromey.com>
8389
8390 PR exp/17095:
8391 * gdb.dwarf2/dw2-align.exp: New file.
8392 * gdb.cp/align.exp: New file.
8393 * gdb.base/align.exp: New file.
8394 * lib/gdb.exp (gdb_int128_helper): New proc.
8395 (has_int128_c, has_int128_cxx): New caching procs.
8396
6873858b
TT
83972018-04-27 Tom Tromey <tom@tromey.com>
8398
8399 PR rust/22545:
8400 * gdb.rust/simple.exp: Add inclusive range tests.
8401
79188d8d
PA
84022018-04-26 Pedro Alves <palves@redhat.com>
8403
8404 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
8405 ifunc breakpoint locations correctly of ifunc breakpoints set
8406 while the program resolves the ifunc.
8407
c7075ad5
PA
84082018-04-26 Pedro Alves <palves@redhat.com>
8409
8410 * gdb.base/gnu-ifunc-final.c: New file.
8411 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
8412 * gdb.base/gnu-ifunc.exp (executable): Delete.
8413 (staticexecutable): Adjust.
8414 (lib_opts, exec_opts): Delete.
8415 (make_binsuffix, build, set-break): New procedures.
8416 (misc_tests): New, with tests factored out from the top level.
8417 (top level): Test different combinations of ifunc resolver name,
8418 resolver with and with debug info, and ifunc target with and
8419 without debug info. Wrap static tests with with_target_prefix.
8420
8388016d
PA
84212018-04-26 Pedro Alves <palves@redhat.com>
8422
8423 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
8424 return type" warnings.
8425
249b5733
PA
84262018-04-25 Pedro Alves <palves@redhat.com>
8427
8428 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
8429 killed".
8430 * gdb.base/kill-after-signal.exp: Likewise.
8431 * gdb.threads/kill.exp: Likewise.
8432
f67c0c91
SDJ
84332018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8434 Sergio Durigan Junior <sergiodj@redhat.com>
8435 Pedro Alves <palves@redhat.com>
8436
8437 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
8438 regexps to expect for '[Inferior ... detached]' as well.
8439 * gdb.base/attach.exp: Likewise.
8440 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
8441 "gdb_continue_to_end".
8442 (test_catch_syscall_with_wrong_args): Likewise.
8443 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
8444 ']'. Don't set 'verbose' on.
8445 * gdb.base/foll-vfork.exp: Likewise.
8446 * gdb.base/fork-print-inferior-events.c: New file.
8447 * gdb.base/fork-print-inferior-events.exp: New file.
8448 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
8449 '[Inferior ... has been killed]' message.
8450 * gdb.base/kill-after-signal.exp: Likewise.
8451 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
8452 detach message.
8453 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
8454 message.
8455 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
8456 regexps to expect for '[Inferior ... detached]' as well.
8457 * gdb.threads/process-dies-while-detaching.exp: Likewise.
8458
0a8ddac4
SM
84592018-04-24 Simon Marchi <simon.marchi@ericsson.com>
8460
8461 PR gdb/23104
8462 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
8463
701adfb0
PA
84642018-04-22 Rajendra SY <rajendra.sy@gmail.com>
8465
8466 PR gdb/23095
8467 * gdb.base/break-probes.exp: Pass shlib_load to
8468 prepare_for_testing. Set normal_bp to r_debug_state if target is
8469 bsd.
8470
d27d16bf
RB
84712018-04-19 Richard Bunt <richard.bunt@arm.com>
8472
8473 * gdb.threads/multiple-successive-infcall.c: New test.
8474 * gdb.threads/multiple-successive-infcall.exp: New file.
8475
a037790e
TT
84762018-04-17 Tom Tromey <tom@tromey.com>
8477
8478 * gdb.rust/simple.rs (Union): New type.
8479 (main): New local "u".
8480 * gdb.rust/simple.exp (test_one_slice): Add new test case.
8481
e3a91079
AA
84822018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8483
8484 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
8485 number information in output of "whereis" command.
8486 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
8487
b744723f
AA
84882018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8489
8490 * gdb.ada/info_types.exp: Adjust expected output to the line
8491 numbers now printed by "info var/func/type".
8492 * gdb.base/completion.exp: Likewise.
8493 * gdb.base/included.exp: Likewise.
8494 * gdb.cp/cp-relocate.exp: Likewise.
8495 * gdb.cp/cplusfuncs.exp: Likewise.
8496 * gdb.cp/namespace.exp: Likewise.
8497 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
8498
4a4495d6
MM
84992018-04-13 Markus Metzger <markus.t.metzger@intel.com>
8500
8501 * gdb.btrace/cpu.exp: New.
8502
1d509aa6
MM
85032018-04-13 Markus Metzger <markus.t.metzger@intel.com>
8504
8505 * gdb.base/step-indirect-call-thunk.exp: New.
8506 * gdb.base/step-indirect-call-thunk.c: New.
8507 * gdb.reverse/step-indirect-call-thunk.exp: New.
8508 * gdb.reverse/step-indirect-call-thunk.c: New.
8509
6295b6da
SM
85102018-04-11 Simon Marchi <simon.marchi@ericsson.com>
8511
8512 * gdb.base/pie-fork.c: New file.
8513 * gdb.base/pie-fork.exp: New file.
8514
50146e70
TT
85152018-04-11 Tom Tromey <tom@tromey.com>
8516
8517 * gdb.rust/simple.exp: Add test for ".." struct initializer.
8518
f50d8a2e
PA
85192018-04-10 Pedro Alves <palves@redhat.com>
8520
8521 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
8522 exits. Instead loop running forever.
8523 (fork_parent): Run forever too.
8524
a0be7a36
SM
85252018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
8526
8527 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
8528 mi_continue_to_line.
8529 * gdb.mi/mi-stack.c (callee4): Add comment.
8530
9b73db36
SM
85312018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
8532
8533 * gdb.mi/mi-stack.exp: Fix indentation.
8534
c912f608
SM
85352018-04-07 Simon Marchi <simon.marchi@ericsson.com>
8536
8537 PR gdb/22979
8538 * gdb.arch/amd64-osabi.exp: New file.
8539
26540402
SM
85402018-04-07 Simon Marchi <simon.marchi@ericsson.com>
8541
8542 PR gdb/22980
8543 * gdb.base/osabi.exp: New file.
8544
121ad66c 85452018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
8546
8547 * gdb.cp/static-typedef-print.exp: New file.
8548 * gdb.cp/static-typedef-print.cc: New file.
8549
3fcded8f
JB
85502018-03-27 Joel Brobecker <brobecker@adacore.com>
8551
8552 * gdb.ada/varsize_limit: New testcase.
8553
59cc4834
JB
85542018-03-27 Joel Brobecker <brobecker@adacore.com>
8555
8556 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
8557
8558 * gdb.ada/notcplusplus: New testcase.
8559
8560 * gdb.base/c-linkage-name.c: New file.
8561 * gdb.base/c-linkage-name.exp: New testcase.
8562
4ca59a9f
TT
85632018-03-26 Tom Tromey <tom@tromey.com>
8564
8565 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
8566 * gdb.python/py-framefilter.py (name_error): New global.
8567 (ErrorInName.function): Use name_error.
8568
978d6c75
TT
85692018-03-26 Tom Tromey <tom@tromey.com>
8570
8571 PR backtrace/15582:
8572 * gdb.python/py-framefilter.exp: Add "bt hide" test.
8573
b7fee5a3
KS
85742018-03-23 Keith Seitz <keiths@redhat.com>
8575
8576 PR c++/22968
8577 * gdb.cp/subtypes.exp: New file.
8578 * gdb.cp/subtypes.h: New file.
8579 * gdb.cp/subtypes.cc: New file.
8580 * gdb.cp/subtypes-2.cc: New file.
8581
376be529
AB
85822018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
8583
8584 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
8585 (done): Call '_exit' not 'exit' to avoid atexit handlers.
8586 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
8587 -nostartfiles when compiling the test. Confirm that all registers
8588 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
8589
066cfa98
AB
85902018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
8591
8592 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
8593 option, syntax was wrong anyway.
8594 * gdb.arch/arm-disp-step.exp: Likewise.
8595 * gdb.arch/sparc64-regs.exp: Likewise.
8596 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
8597 option, syntax was wrong anyway, switch to use
8598 prepare_for_testing.
8599 * gdb.arch/i386-disp-step.exp: Likewise.
8600
079670b9
AA
86012018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
8602
8603 * gdb.ada/exec_changed.exp: Replace "target_info exists
8604 use_gdb_stub" by "use_gdb_stub".
8605 * gdb.ada/start.exp: Likewise.
8606 * gdb.base/async-shell.exp: Likewise.
8607 * gdb.base/attach-pie-misread.exp: Likewise.
8608 * gdb.base/attach-wait-input.exp: Likewise.
8609 * gdb.base/break-entry.exp: Likewise.
8610 * gdb.base/break-interp.exp: Likewise.
8611 * gdb.base/dprintf-detach.exp: Likewise.
8612 * gdb.base/nostdlib.exp: Likewise.
8613 * gdb.base/solib-nodir.exp: Likewise.
8614 * gdb.base/statistics.exp: Likewise.
8615 * gdb.base/testenv.exp: Likewise.
8616 * gdb.mi/mi-exec-run.exp: Likewise.
8617 * gdb.mi/mi-start.exp: Likewise.
8618 * gdb.multi/dummy-frame-restore.exp: Likewise.
8619 * gdb.multi/multi-arch-exec.exp: Likewise.
8620 * gdb.multi/multi-arch.exp: Likewise.
8621 * gdb.multi/tids.exp: Likewise.
8622 * gdb.multi/watchpoint-multi.exp: Likewise.
8623 * gdb.python/py-events.exp: Likewise.
8624 * gdb.threads/attach-into-signal.exp: Likewise.
8625 * gdb.threads/attach-stopped.exp: Likewise.
8626 * gdb.threads/threadapply.exp: Likewise.
8627 * lib/selftest-support.exp: Likewise.
8628
26d6cec4
AA
86292018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
8630
8631 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
8632
4ee89e90
SR
86332018-03-20 Stephen Roberts <stephen.roberts@arm.com>
8634
8635 * gdb.perf/template-breakpoints.cc: New file.
8636 * gdb.perf/template-breakpoints.exp: New file.
8637 * gdb.perf/template-breakpoints.py: New file.
8638
92630041
TT
86392018-03-19 Tom Tromey <tom@tromey.com>
8640
8641 * gdb.rust/simple.rs (main): Add local variables field1, field2,
8642 y0.
8643 * gdb.rust/simple.exp: Test bare identifier form of struct
8644 initializer.
8645
76727919
TT
86462018-03-19 Tom Tromey <tom@tromey.com>
8647
8648 * gdb.gdb/observer.exp: Remove.
8649
194ed413
AA
86502018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8651
8652 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
8653 "qualified" option when setting breakpoints.
8654 * gdb.trace/backtrace.exp: Likewise.
8655 * gdb.trace/circ.exp: Likewise.
8656 * gdb.trace/collection.exp: Likewise.
8657 * gdb.trace/disconnected-tracing.exp: Likewise.
8658 * gdb.trace/ftrace-lock.exp: Likewise.
8659 * gdb.trace/ftrace.exp: Likewise.
8660 * gdb.trace/infotrace.exp: Likewise.
8661 * gdb.trace/packetlen.exp: Likewise.
8662 * gdb.trace/passc-dyn.exp: Likewise.
8663 * gdb.trace/qtro.exp: Likewise.
8664 * gdb.trace/read-memory.exp: Likewise.
8665 * gdb.trace/report.exp: Likewise.
8666 * gdb.trace/signal.exp: Likewise.
8667 * gdb.trace/status-stop.exp: Likewise.
8668 * gdb.trace/strace.exp: Likewise.
8669 * gdb.trace/tfind.exp: Likewise.
8670 * gdb.trace/trace-break.exp: Likewise.
8671 * gdb.trace/trace-condition.exp: Likewise.
8672 * gdb.trace/trace-mt.exp: Likewise.
8673 * gdb.trace/tstatus.exp: Likewise.
8674 * gdb.trace/tsv.exp: Likewise.
8675 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
8676 * gdb.trace/unavailable.exp: Likewise.
8677 * gdb.trace/while-dyn.exp: Likewise.
8678
8b067d2c
AA
86792018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8680
8681 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
8682 that libinproctrace is copied to the target.
8683
3ae9ce5d
TT
86842018-03-14 Tom Tromey <tom@tromey.com>
8685
8686 PR cli/14977:
8687 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
8688 a null pointer.
8689 * gdb.base/wchar.exp: Likewise.
8690
b8c2339b
TT
86912018-03-14 Tom Tromey <tom@tromey.com>
8692
8693 PR cli/19918:
8694 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
8695 flag.
8696
4872dc46
SM
86972018-03-08 Simon Marchi <simon.marchi@ericsson.com>
8698
8699 PR gdb/22841
8700 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
8701 "target" to remote_exec.
8702
e4fe3756
SM
87032018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
8704
8705 PR gdb/22841
8706 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
8707 ${board}_upload): Remove.
8708
e95a97d4
AA
87092018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
8710
8711 * gdb.cp/watch-cp.cc: New test.
8712 * gdb.cp/watch-cp.exp: New file.
8713
dbbb1059
AB
87142018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8715
8716 * gdb.base/infcall-nested-structs.exp: New file.
8717 * gdb.base/infcall-nested-structs.c: New file.
8718 * gdb.base/float.exp: Add riscv support.
8719
ecc054c0
TP
87202018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
8721
8722 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
8723 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
8724
25e3c82c
SDJ
87252018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
8726
8727 * gdb.server/abspath.exp: New file.
8728 * lib/gdb.exp (with_cwd): New procedure.
8729
3083294d
SM
87302018-02-28 Simon Marchi <simon.marchi@ericsson.com>
8731
8732 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
8733 use it.
8734 (gdb_is_target_remote_prompt): New proc.
8735 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
8736 (gdb_is_target_native): Pass prompt parameter to
8737 gdb_is_target_1.
8738
3275ef47
SM
87392018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
8740
8741 * gdb.base/load-command.c: New file.
8742 * gdb.base/load-command.exp: New file.
8743 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
8744 (gdb_is_target_1): ...this, and generalize for other targets
8745 than just remote.
8746 (gdb_is_target_remote): Use gdb_is_target_1.
8747 (gdb_is_target_native): use gdb_is_target_1.
8748
6893c19a
TT
87492018-02-26 Tom Tromey <tom@tromey.com>
8750
8751 PR python/16497:
8752 * gdb.python/py-framefilter.exp: Update test.
8753
2ddeaf8a
TT
87542018-02-26 Tom Tromey <tom@tromey.com>
8755
8756 * gdb.dwarf2/variant.c: New file.
8757 * gdb.dwarf2/variant.exp: New file.
8758
c9317f21
TT
87592018-02-26 Tom Tromey <tom@tromey.com>
8760
8761 * gdb.rust/simple.exp: Accept more possible results in enum test.
8762
6f6d0c26
SM
87632018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
8764
8765 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
8766 parentheses.
8767
11b03145
MR
87682018-02-23 Maciej W. Rozycki <macro@mips.com>
8769
8770 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
8771 name of a variable: $actual_linejj -> $actual_line.
8772
54a27fe5
JB
87732018-02-21 John Baldwin <jhb@FreeBSD.org>
8774
8775 * gdb.arch/amd64-i386-address.exp: Fix a typo.
8776
de65820c
MM
87772018-02-20 Markus Metzger <markus.t.metzger@intel.com>
8778
8779 * gdb.btrace/buffer-size.exp: Do not force BTS.
8780
980548fd
PA
87812018-02-14 Pedro Alves <palves@redhat.com>
8782
8783 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
8784 getting a "Quit".
8785
c4e12631
MM
87862018-02-09 Markus Metzger <markus.t.metzger@intel.com>
8787
8788 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
8789 Fix test name.
8790
c2e0e465
SM
87912018-02-07 Simon Marchi <simon.marchi@ericsson.com>
8792
8793 * gdb.cp/m-static.exp: Check type of optimized out static
8794 member.
8795
f7216783
AB
87962018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
8797
8798 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
8799 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
8800
0625771b
LS
88012018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
8802 Leszek Swirski <leszeks@google.com>
8803
8804 * gdb.python/py-prettyprint.c
8805 (struct to_string_returns_value_inner,
8806 struct to_string_returns_value_wrapper): New.
8807 (main): Add tsrvw variable.
8808 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
8809 ToStringReturnsValueWrapper): New classes.
8810 (register_pretty_printers): Register new pretty-printers.
8811 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
8812 recursive pretty printer.
8813 * gdb.python/py-mi.exp: Likewise.
8814
59498c30
LS
88152018-02-01 Leszek Swirski <leszeks@google.com>
8816
8817 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
8818 functions with the same name as an include file are parsed
8819 correctly.
8820
d4d38844
YQ
88212018-02-01 Yao Qi <yao.qi@linaro.org>
8822
8823 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
8824 "\[^\r\n\]*".
8825
07e5f5cf
NP
88262018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
8827
8828 * gdb.arch/powerpc-prologue-frame.s: New file.
8829 * gdb.arch/powerpc-prologue-frame.c: Likewise.
8830 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
8831
929b5ad4
JB
88322018-01-31 Joel Brobecker <brobecker@adacore.com>
8833
8834 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
8835
e671cd59
PA
88362018-01-30 Pedro Alves <palves@redhat.com>
8837
8838 PR gdb/13211
8839 * gdb.base/interrupt-daemon.c: New.
8840 * gdb.base/interrupt-daemon.exp: New.
8841 * gdb.multi/multi-term-settings.c: New.
8842 * gdb.multi/multi-term-settings.exp: New.
8843
fc413dc4
JB
88442018-01-30 Joel Brobecker <brobecker@adacore.com>
8845
8846 * gdb.base/break.exp: Save the location where the breakpoint
8847 on break.c:47 was actually inserted when debugging the version
8848 compiled at -O2 and use it in the expected output of the "info
8849 break" test performed soon after.
8850
5c319bb2
PA
88512018-01-22 Pedro Alves <palves@redhat.com>
8852 Sergio Durigan Junior <sergiodj@redhat.com>
8853
8854 * gdb.base/whatis.exp: Add tests for 'set print object on' +
8855 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
8856
a9e40818
JB
88572018-01-22 Joel Brobecker <brobecker@adacore.com>
8858
8859 * gdb.base/break-include.c, gdb.base/break-include.inc,
8860 gdb.base/break-include.exp: New files.
8861 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
8862 line number now being the actual line number where the breakpoint
8863 was inserted.
8864 * gdb.mi/mi-break.exp: Likewise.
8865 * gdb.mi/mi-reverse.exp: Likewise.
8866 * gdb.mi/mi-simplerun.exp: Ditto.
8867
e707fc44
AB
88682018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
8869
8870 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
8871 varobj.
8872 * gdb.mi/mi-var-create-rtti.exp: Likewise.
8873
ae451627
AB
88742018-01-21 Don Breazeal <donb@codesourcery.com>
8875 Andrew Burgess <andrew.burgess@embecosm.com>
8876
8877 * gdb.mi/basics.c: Add new global.
8878 * gdb.mi/mi-frame-regs.exp: New file.
8879 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
8880 case.
8881
b1b189e0
AB
88822018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
8883
8884 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
8885 non-parameter, and on an unknown symbol.
8886
fcfcc376
TT
88872018-01-19 Tom Tromey <tom@tromey.com>
8888
8889 * gdb.rust/modules.rs (TWENTY_THREE): New global.
8890 * gdb.rust/modules.exp: Add ::-qualified lookup test.
8891
634c1c31
AA
88922018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8893
8894 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
8895 setrlimit and chdir to int.
8896
d6ad07fd
AA
88972018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8898
8899 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
8900 function.
8901 (my_tend): Likewise.
8902 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
8903 rationale of avoiding FP- and vector instructions.
8904
adf8243b
RK
89052018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
8906
8907 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
8908 "info reg" with "\[ \t\]*".
8909 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
8910 "\[ \t\]+".
8911 * gdb.arch/s390-multiarch.exp: Ditto.
8912 * gdb.base/pc-fp.exp: Ditto.
8913 * gdb.reverse/i386-precsave.exp: Ditto.
8914 * gdb.reverse/i386-reverse.exp: Ditto.
8915 * gdb.reverse/i387-env-reverse.exp: Ditto.
8916 * gdb.reverse/i387-stack-reverse.exp: Ditto.
8917
dcc06925
AA
89182018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
8919
8920 * lib/gdb.exp (gdb_compile): Re-enable use of
8921 universal_compile_options for languages other than Rust.
8922
25d4fd80
AA
89232018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
8924
8925 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
8926
ee7f689e 89272018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
8928
8929 PR gdb/16577
8930 * gdb.base/solib-vanish.exp: New.
8931 * gdb.base/solib-vanish-main.c: New.
8932 * gdb.base/solib-vanish-lib1.c: New.
8933 * gdb.base/solib-vanish-lib2.c: New.
8934
d8447b6b
YQ
89352018-01-17 Yao Qi <yao.qi@linaro.org>
8936
8937 * gdb.compile/compile.exp: Match the address printed for
8938 frame in the output of command "bt".
8939
86d6a90c
TT
89402018-01-15 Tom Tromey <tom@tromey.com>
8941
8942 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
8943 compute sp_reg.
8944
cbcdb1aa
AB
89452018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
8946
8947 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
8948 to prepare.
8949 (prepare): Return 0 on error, 1 on success.
8950
eea61984
PA
89512018-01-12 Pedro Alves <palves@redhat.com>
8952
8953 * gdb.base/continue-after-aborted-step-over.c: New.
8954 * gdb.base/continue-after-aborted-step-over.exp: New.
8955
6181e9c2
SM
89562018-01-11 Simon Marchi <simon.marchi@ericsson.com>
8957
8958 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
8959 options when not creating an executable.
8960
3cada740
PA
89612018-01-11 Pedro Alves <palves@redhat.com>
8962
8963 PR remote/22597
8964 * gdb.server/stop-reply-no-thread.c: New file.
8965 * gdb.server/stop-reply-no-thread.exp: New file.
8966
c63d3e8d
PA
89672018-01-10 Pedro Alves <palves@redhat.com>
8968
8969 PR gdb/22670
8970 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
8971 functions too. Test setting breakpoints and printing C functions
8972 with no debug info too.
8973 * gdb.ada/bp_c_mixed_case/qux.c: New file.
8974
d4c2a405
PA
89752018-01-10 Pedro Alves <palves@redhat.com>
8976
8977 PR gdb/22670
8978 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
8979 a fail.
8980
8825213e
PA
89812018-01-10 Pedro Alves <palves@redhat.com>
8982
8983 PR gdb/22670
8984 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
8985
605fd3c6
YQ
89862018-01-08 Simon Marchi <simon.marchi@ericsson.com>
8987
8988 * gdb.server/unittest.exp: Match the output in non-development
8989 mode.
8990
1e5ded6c
YQ
89912018-01-08 Simon Marchi <simon.marchi@ericsson.com>
8992
8993 * gdb.gdb/unittest.exp: Match output in non-development mode.
8994
30066b0b
JB
89952018-01-08 Joel Brobecker <brobecker@adacore.com>
8996
8997 * gdb.ada/access_tagged_param.exp: Relax expected output
8998 for value of "ObjL" in "continue" to pck.inspect breakpoint
8999 test.
9000
04bafb1e
XR
90012018-01-08 Joel Brobecker <brobecker@adacore.com>
9002
9f86398b
JB
9003 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
9004 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 9005
e379cee6
PA
90062018-01-05 Pedro Alves <palves@redhat.com>
9007
9008 PR gdb/18653
9009 * gdb.base/libsegfault.exp: New.
9010
de63c46b
PA
90112018-01-05 Joel Brobecker <brobecker@adacore.com>
9012
9013 PR gdb/22670
9014 * gdb.ada/access_tagged_param.exp: New file.
9015 * gdb.ada/access_tagged_param/foo.adb: New file.
9016
f98fc17b
PA
90172018-01-05 Pedro Alves <palves@redhat.com>
9018
9019 PR gdb/22670
9020 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
9021 exercise lower case too, and to exercise both full matching and
9022 wild matching.
9023
342f8240
JB
90242018-01-05 Joel Brobecker <brobecker@adacore.com>
9025
9026 * gdb.ada/rename_subscript_param: New testcase.
9027
7150d33c
JG
90282018-01-05 Jerome Guitton <guitton@adacore.com>
9029
9030 * gdb.ada/arr_acc_idx_w_gap: New testcase.
9031
cc0e770c
JB
90322018-01-05 Joel Brobecker <brobecker@adacore.com>
9033
9034 * gdb.ada/convvar_comp: New testcase.
9035
672a41aa 90362018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
9037
9038 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
9039 (My_Table): New global variable.
9040 * testsuite/gdb.ada/array_char_idx.exp: Add test.
9041
7365ec2f
JB
90422018-01-04 Joel Brobecker <brobecker@adacore.com>
9043
9044 PR gdb/22670
9045 * gdb.ada/maint_with_ada: New testcase.
9046
289483b6
JB
90472018-01-04 Joel Brobecker <brobecker@adacore.com>
9048
9049 PR gdb/22670
9050 * gdb.ada/bp_c_mixed_case: New testcase.
9051
344420da
JB
90522018-01-04 Joel Brobecker <brobecker@adacore.com>
9053
9054 PR gdb/22670
9055 * gdb.ada/complete.exp: Add "complete break ada" test.
9056
66fc87a0
JB
90572018-01-04 Joel Brobecker <brobecker@adacore.com>
9058
9059 PR gdb/22670
9060 * gdb.ada/info_addr_mixed_case: New testcase.
9061
9f757bf7
XR
90622018-01-03 Xavier Roirand <roirand@adacore.com>
9063
9064 * gdb.ada/excep_handle.exp: New testcase.
9065 * gdb.ada/excep_handle/foo.adb: New file.
9066 * gdb.ada/excep_handle/pck.ads: New file.
9067
bd570f80
JB
90682018-01-03 Joel Brobecker <brobecker@adacore.com>
9069
9070 * gdb.base/step-line.c: Add extra empty line in copyright header.
9071 * gdb.base/step-line.inp: Likewise.
9072
9fe561ab
JB
90732018-01-02 Joel Brobecker <brobecker@adacore.com>
9074
9075 * gdb.ada/dyn_stride.exp: Add slice test.
9076
a405673c
JB
90772018-01-02 Joel Brobecker <brobecker@adacore.com>
9078
9079 * gdb.ada/dyn_stride: New testcase.
9080
cef0f868
SH
90812017-12-27 Stafford Horne <shorne@gmail.com>
9082
9083 * gdb.xml/extra-regs.xml: Add example foo reggroup.
9084 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
9085
b67d92b0
SH
90862017-12-27 Stafford Horne <shorne@gmail.com>
9087
9088 * gdb.base/reggroups.c: New file.
9089 * gdb.base/reggroups.exp: New file.
9090
eccab96d
JB
90912017-12-18 Joel Brobecker <brobecker@adacore.com>
9092
9093 * gdb.dwarf2/ada-valprint-error.c: New file.
9094 * gdb.dwarf2/ada-valprint-error.exp: New file.
9095
0e2da9f0
JB
90962017-12-18 Joel Brobecker <brobecker@adacore.com>
9097
9098 * gdb.ada/assign_arr: New testcase.
9099
cb923fcc
XR
91002017-12-18 Xavier Roirand <roirand@adacore.com>
9101
9102 * gdb.ada/funcall_ptr: New testcase.
9103
7c161838
SDJ
91042017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
9105
9106 PR cli/16224
9107 * gdb.base/ptype-offsets.cc: New file.
9108 * gdb.base/ptype-offsets.exp: New file.
9109
1af17fd9
YQ
91102017-12-15 Yao Qi <yao.qi@linaro.org>
9111
9112 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
9113 if XML is disabled.
9114
828d5846
XR
91152017-12-15 Xavier Roirand <roirand@adacore.com>
9116
9117 * gdb.ada/same_component_name: New testcase.
9118
79e8fcaa
JB
91192017-12-14 Joel Brobecker <brobecker@adacore.com>
9120
9121 * gdb.ada/str_binop_equal: New testcase.
9122
e05fa6f9
JB
91232017-12-14 Joel Brobecker <brobecker@adacore.com>
9124
9125 * gdb.ada/task_switch_in_core: New testcase.
9126
b89641ba
SM
91272017-12-13 Simon Marchi <simon.marchi@ericsson.com>
9128
9129 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
9130 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
9131 call test_bkpt_qualified.
9132 (test_bkpt_qualified): New proc.
9133
6892d2e4
PA
91342017-12-13 Pedro Alves <palves@redhat.com>
9135
9136 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
9137 Tighten regexp by matching with an anchor.
9138
a22ecf70
PA
91392017-12-13 Pedro Alves <palves@redhat.com>
9140
9141 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
9142 ("expression with namespace"): New set of tests.
9143 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
9144 (Nested::Test_NS::qux): New.
9145 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
9146 defaults to 'start_quote_char' and 'end_quote_char' parameters.
9147
9937536c
JB
91482017-12-13 Joel Brobecker <brobecker@adacore.com>
9149
9150 * gdb.base/server-del-break.c: New file.
9151 * gdb.base/server-del-break.exp: New file.
9152
fe49c6f5
SH
91532017-12-12 Stafford Horne <shorne@gmail.com>
9154
9155 * gdb.xml/tdesc-regs.exp: Add or1k support.
9156
c3d18620
SH
91572017-12-12 Stafford Horne <shorne@gmail.com>
9158
9159 * gdb.base/bp-permanent.c: Define nop of or1k.
9160
c5f9cfc8
JB
91612017-12-11 Joel Brobecker <brobecker@adacore.com>
9162
9163 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
9164 output with components being reordered.
9165
a9c135fc
JB
91662017-12-11 Joel Brobecker <brobecker@adacore.com>
9167
9168 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
9169 output with components being reordered.
9170
927aa2e7
JK
91712017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9172 Pedro Alves <palves@redhat.com>
9173
9174 * gdb.base/maint.exp (check for .gdb_index): Check also for
9175 .debug_names.
9176 * gdb.dlang/watch-loc.c (.debug_aranges): New.
9177 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
9178 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
9179 (.gdb_index used after symbol reloading): Support also .debug_names.
9180 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
9181
f17d9474
YQ
91822017-12-08 Yao Qi <yao.qi@linaro.org>
9183
9184 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
9185 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
9186
a0de8c21
YQ
91872017-12-08 Yao Qi <yao.qi@linaro.org>
9188
9189 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
9190 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
9191
a738ea1d
YQ
91922017-12-08 Yao Qi <yao.qi@linaro.org>
9193
9194 * gdb.arch/aarch64-tagged-pointer.c: New file.
9195 * gdb.arch/aarch64-tagged-pointer.exp: New file.
9196
1cd9a73b
SDJ
91972017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
9198
9199 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
9200 "int".
9201
fa6eb693
KS
92022017-12-07 Keith Seitz <keiths@redhat.com>
9203
9204 PR breakpoints/22569
9205 * gdb.linespec/ls-errs.exp: Change expected result of "break
9206 -source this file has spaces.c -line 3".
9207 Check that an explicit source file followed by whitespace is
9208 identified as an invalid explicit location.
9209
883fd55a
KS
92102017-12-07 Keith Seitz <keiths@redhat.com>
9211
9212 * gdb.cp/nested-types.cc: New file.
9213 * gdb.cp/nested-types.exp: New file.
9214 * lib/cp-support.exp: Load data-structures.exp library.
9215 (debug_cp_test_ptype_class): New global.
9216 (cp_ptype_class_verbose, next_line): New procedures.
9217 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
9218 Add and document new return value.
9219 Switch the list of lines to a queue.
9220 Add support for new `type' key for nested type definitions.
9221 Add debugging/troubleshooting messages.
9222 * lib/data-structures.exp: New file.
9223
ec72db3e
SM
92242017-12-07 Simon Marchi <simon.marchi@ericsson.com>
9225
9226 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
9227 with proc_with_prefix, don't use with_test_prefix.
9228
99598d71
TT
92292017-12-07 Tom Tromey <tom@tromey.com>
9230
9231 * gdb.base/break.exp: Add test for empty "commands".
9232
a8806230
YQ
92332017-12-07 Yao Qi <yao.qi@linaro.org>
9234
9235 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
9236 malloc and catch syscall.
9237
824cc835
PM
92382017-12-07 Phil Muldoon <pmuldoon@redhat.com>
9239
e79be6e5 9240 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
9241 tests for explicit locations.
9242
7cc244de
PA
92432017-12-06 Pedro Alves <palves@redhat.com>
9244
9245 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
9246 force-disabling XML descriptions.
9247
50a1fdd5
PA
92482017-12-04 Pedro Alves <palves@redhat.com>
9249
9250 PR gdb/22499
9251 * gdb.arch/amd64-disp-step-avx.S: New file.
9252 * gdb.arch/amd64-disp-step-avx.exp: New file.
9253
f0fb2488
PA
92542017-12-03 Pedro Alves <palves@redhat.com>
9255
9256 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
9257 and <string.h>.
9258 (parent_function): Print distinct messages when waitpid fails, or
9259 the child exits with a signal, or the child exits for an unhandled
9260 reason.
9261 * gdb.threads/process-dies-while-detaching.exp
9262 (detach_and_expect_exit): New 'inf_output_re' parameter and use
9263 it. Wait for both inferior output and GDB's prompt. Use an
9264 indirect spawn id list.
9265 (do_detach): New parameter 'child_exit'. Use it to compute
9266 expected inferior output.
9267 (test_detach, test_detach_watch, test_detach_killed_outside):
9268 Adjust to pass down the expected child exit kind.
9269
97cbe998
SDJ
92702017-12-01 Joel Brobecker <brobecker@adacore.com>
9271 Sergio Durigan Junior <sergiodj@redhat.com>
9272 Pedro Alves <palves@redhat.com>
9273
9274 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
9275
40fc416f
SDJ
92762017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
9277
9278 * gdb.base/relocate.exp: Add tests to guarantee that arguments
9279 to 'symbol-file' and 'add-symbol-file' can be
9280 position-independent.
9281
1cc75e92
YQ
92822017-12-01 Yao Qi <yao.qi@linaro.org>
9283
9284 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
9285 the URL in copyright header.
9286 * gdb.arch/aarch64-fp.exp: Likewise.
9287 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
9288 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
9289 * gdb.base/expand-psymtabs.exp: Likewise.
9290 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
9291 * gdb.fortran/common-block.exp: Likewise.
9292 * gdb.fortran/common-block.f90: Likewise.
9293 * gdb.fortran/logical.exp: Likewise.
9294 * gdb.fortran/vla-datatypes.f90: Likewise.
9295 * gdb.fortran/vla-sub.f90: Likewise.
9296
875fb7a7
JB
92972017-11-30 Joel Brobecker <brobecker@adacore.com>
9298
9299 * gdb.ada/repeat_dyn: New testcase.
9300
6f14765f
UW
93012017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
9302
9303 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
9304 Update for changed thread numbering.
9305 * gdb.cell/bt.exp: Update for changed GDB output.
9306
f1af7b94
SM
93072017-11-30 Simon Marchi <simon.marchi@ericsson.com>
9308
9309 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
9310 setting isremote by hand.
9311 * boards/dwarf4-gdb-index.exp: Likewise.
9312 * boards/fission.exp: Likewise.
9313 * boards/stabs.exp: Likewise.
9314
e3919f3e
PA
93152017-11-30 Pedro Alves <palves@redhat.com>
9316
9317 * gdb.linespec/cpls-ops.exp
9318 (check_explicit_skips_function_argument): Extract the underlying
9319 type of size_t instead of hardcoding it.
9320
bd69330d
PA
93212017-11-29 Pedro Alves <palves@redhat.com>
9322
9323 PR c++/19436
9324 * gdb.linespec/cpls-abi-tag.cc: New file.
9325 * gdb.linespec/cpls-abi-tag.exp: New file.
9326
a20714ff
PA
93272017-11-29 Pedro Alves <palves@redhat.com>
9328
9329 * gdb.base/langs.exp: Use -qualified.
9330 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
9331 it.
9332 * gdb.cp/namespace.exp: Use -qualified.
9333 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
9334 (overload-3, template-overload, template-ret-type, const-overload)
9335 (const-overload-quoted, anon-ns, ambiguous-prefix): New
9336 procedures.
9337 (test_driver): Call them.
9338 * gdb.cp/save-bp-qualified.cc: New.
9339 * gdb.cp/save-bp-qualified.exp: New.
9340 * gdb.linespec/explicit.exp: Test -qualified.
9341 * lib/completion-support.exp (completion::explicit_opts_list): Add
9342 "-qualified".
9343 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
9344
f6f1d339
PM
93452017-11-29 Phil Muldoon <pmuldoon@redhat.com>
9346
9347 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
9348
02ca603a
TT
93492017-11-29 Tom Tromey <tom@tromey.com>
9350
9351 * gdb.base/relocate.exp: Update invalid argument test.
9352 Add new tests for invalid arguments.
9353
ed6c0bfb
TP
93542017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
9355
9356 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
9357 Return 0 as a long.
9358 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
9359
f106e10e
TP
93602017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
9361
9362 * gdb.cp/breakpoint.cc (bar): Set return type to void.
9363 * gdb.cp/psymtab-parameter.cc (func): Likewise.
9364 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
9365 func ().
9366 * gdb.cp/shadow.cc (B.func): Return 0.
9367
10329bb2
JB
93682017-11-27 Joel Brobecker <brobecker@adacore.com>
9369
9370 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
9371 expected output in gdb_expect call to allow the exception
9372 message to be present as well. Fix syntax confusion to avoid
9373 TCL thinking that exception_name is an array.
9374
617cd4bc
UW
93752017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
9376
9377 * gdb.arch/spu-info.c: Include <unistd.h>.
9378 (do_signal_test): Fix broken calls to write.
9379 * gdb.arch/spu-info.exp: Use prepare_for_testing.
9380 Fix checks for empty mailboxes. Update signal tests for corrected
9381 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
9382 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
9383 * gdb.cell/arch.exp: Use standard_output_file.
9384 * gdb.cell/break.exp: Likewise.
9385 * gdb.cell/bt.exp: Likewise.
9386 * gdb.cell/core.exp: Likewise.
9387 * gdb.cell/dwarfaddr.exp: Likewise.
9388 * gdb.cell/ea-cache.exp: Likewise.
9389 * gdb.cell/ea-standalone.exp: Likewise.
9390 * gdb.cell/f-regs.exp: Likewise.
9391 * gdb.cell/fork.exp: Likewise.
9392 * gdb.cell/gcore.exp: Likewise.
9393 * gdb.cell/mem-access.exp: Likewise.
9394 * gdb.cell/ptype.exp: Likewise.
9395 * gdb.cell/registers.exp: Likewise.
9396 * gdb.cell/sizeof.exp: Likewise.
9397 * gdb.cell/solib-symbol.exp: Likewise.
9398 * gdb.cell/solib.exp: Likewise.
617cd4bc 9399
a81aaca0
PA
94002017-11-25 Pedro Alves <palves@redhat.com>
9401
9402 * gdb.base/complete-empty.exp: New file.
9403 * gdb.base/completion.exp: Adjust.
9404
6a3c6ee4
PA
94052017-11-25 Pedro Alves <palves@redhat.com>
9406
9407 * gdb.linespec/cpls-ops.cc: New file.
9408 * gdb.linespec/cpls-ops.exp: New file.
9409 * lib/completion-support.exp (test_complete_prefix_range_re): New,
9410 factored out from ...
9411 (test_complete_prefix_range): ... this.
9412
8955eb2d
PA
94132017-11-24 Pedro Alves <palves@redhat.com>
9414
9415 * gdb.linespec/cpcompletion.exp: New file.
9416 * gdb.linespec/cpls-hyphen.cc: New file.
9417 * gdb.linespec/cpls.cc: New file.
9418 * gdb.linespec/cpls2.cc: New file.
9419 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
9420 test to use test_gdb_complete_unique. Add label completion,
9421 keyword completion and explicit location completion tests.
9422 * lib/completion-support.exp: New file.
9423
e547c119
JB
94242017-11-24 Joel Brobecker <brobecker@adacore.com>
9425
9426 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
9427 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
9428 when hitting an exception catchpoint.
9429
7c3c1aa8
YQ
94302017-11-22 Yao Qi <yao.qi@linaro.org>
9431
9432 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
9433
41bd68f5
SM
94342017-11-22 Simon Marchi <simon.marchi@ericsson.com>
9435
9436 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
9437 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
9438 * gdb.dwarf2/info-locals-optimized-out.c: New file.
9439
1daad298
YQ
94402017-11-22 Yao Qi <yao.qi@linaro.org>
9441
9442 * gdb.base/info-os.exp: Pass pthreads.
9443 * gdb.multi/multi-attach.exp: Likewise.
9444
88465e87
YQ
94452017-11-22 Yao Qi <yao.qi@linaro.org>
9446
9447 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
9448 compiler.
9449
dc196b23
YQ
94502017-11-22 Yao Qi <yao.qi@linaro.org>
9451
9452 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
9453 * gdb.base/break-interp.exp: Likewise.
9454 * gdb.base/jit-attach-pie.exp: Likewise.
9455
2400729e
UW
94562017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
9457
9458 * gdb.base/float128.c (large128): New variable.
9459 * gdb.base/float128.exp: Add test to print largest __float128 value.
9460
7a26362d
UW
94612017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
9462
9463 * gdb.arch/vsx-regs.exp: Update register content checks.
9464
ed0f4273
UW
94652017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
9466
9467 * gdb.arch/ppc-longdouble.exp: New file.
9468 * gdb.arch/ppc-longdouble.c: Likewise.
9469
a25d69c6
PA
94702017-11-21 Pedro Alves <palves@redhat.com>
9471
9472 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
9473
73fcf641
PA
94742017-11-20 Pedro Alves <palves@redhat.com>
9475
9476 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
9477 (long_double_typedef): New typedefs.
9478 Use DEF on double and long double.
9479 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
9480 cases.
9481 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
9482 and 'long_double_ptr_same_size' locals. Use them to decide
9483 whether cast from array/function to float is valid/invalid.
9484
71a3c369
TT
94852017-11-17 Tom Tromey <tom@tromey.com>
9486
9487 * gdb.rust/traits.rs: New file.
9488 * gdb.rust/traits.exp: New file.
9489
ced9779b
JB
94902017-11-17 Joel Brobecker <brobecker@adacore.com>
9491
9492 * gdb.ada/minsyms: New testcase.
9493
a0922d80
PA
94942017-11-16 Pedro Alves <palves@redhat.com>
9495
9496 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
9497 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
9498
ea04e54c
PA
94992017-11-16 Pedro Alves <palves@redhat.com>
9500
9501 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
9502 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
9503
e849ea89
PA
95042017-11-16 Pedro Alves <palves@redhat.com>
9505
9506 * gdb.server/reconnect-ctrl-c.c: New file.
9507 * gdb.server/reconnect-ctrl-c.exp: New file.
9508
d8ae99a7
PM
95092017-11-16 Phil Muldoon <pmuldoon@redhat.com>
9510
9511 * gdb.python/py-rbreak.exp: New file.
9512 * gdb.python/py-rbreak.c: New file.
9513 * gdb.python/py-rbreak-func2.c: New file.
9514
968a13f8
PA
95152017-11-16 Pedro Alves <palves@redhat.com>
9516
9517 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
9518 pattern.
9519 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
9520 GDB.
9521
71774bc9
SM
95222017-11-15 Simon Marchi <simon.marchi@ericsson.com>
9523
9524 * gdb.tui/completionn.exp (test_tab_completion): Add space in
9525 regex.
9526
ddbb44cf
SM
95272017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
9528
9529 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
9530 test names.
9531
584a564f
PA
95322017-11-09 Pedro Alves <palves@redhat.com>
9533
9534 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
9535 factored out from ...
9536 (top level): ... here, and adjusted to avoid expecting beyond the
9537 prompt in a single gdb_test_multiple.
9538
5ed7a928
PA
95392017-11-09 Pedro Alves <palves@redhat.com>
9540
9541 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
9542 output.
9543 * gdb.server/ext-attach.exp ("kill" test): Likewise.
9544 * gdb.server/ext-restart.exp ("kill" test): Likewise.
9545 * gdb.server/ext-run.exp ("kill" test): Likewise.
9546 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
9547
a60e0738
PA
95482017-11-09 Pedro Alves <palves@redhat.com>
9549
9550 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
9551 match till end of line.
9552
2c88253f
PA
95532017-11-09 Pedro Alves <palves@redhat.com>
9554
9555 * gdb.base/memattr.exp: Tighten regexes to match the end line.
9556
c7a38517
PA
95572017-11-09 Pedro Alves <palves@redhat.com>
9558
9559 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
9560 New procedures, factored out from ...
9561 (top level): ... here, and adjusted to avoid expecting beyond the
9562 prompt in one go.
9563
f29f4b6b
PA
95642017-11-09 Pedro Alves <palves@redhat.com>
9565
9566 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
9567 output. Fix '?' match.
9568
286acbb5
JB
95692017-11-08 Joel Brobecker <brobecker@adacore.com>
9570
9571 * gdb.ada/scoped_watch: New testcase.
9572 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
9573 which is actually correct.
9574 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
9575 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
9576
62d7ae92
PA
95772017-11-08 Pedro Alves <palves@redhat.com>
9578
9579 * gdb.gdb/complaints.exp (test_initial_complaints)
9580 (test_serial_complaints, test_short_complaints): Call
9581 complaint_internal instead of complaint.
9582
280ca31f
DT
95832017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
9584
9585 * gdb.threads/tls-core.c: New file.
9586 * gdb.threads/tls-core.exp: Likewise.
9587
b5ec771e
PA
95882017-11-08 Pedro Alves <palves@redhat.com>
9589
9590 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
9591 (p Exported_Capitalized): New test.
9592 (p exported_capitalized): New test.
9593
a02b41a7
PA
95942017-11-07 Pedro Alves <palves@redhat.com>
9595
9596 * gdb.cp/ena-dis-br-range.exp: Add more tests.
9597
95e95a6d
PA
95982017-11-07 Pedro Alves <palves@redhat.com>
9599
9600 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
9601 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
9602 (disable_invalid, disable_inverted, disable_negative): New
9603 procedures.
9604 ("bad numbers"): New set of tests.
9605
cee62dbd
PA
96062017-11-07 Pedro Alves <palves@redhat.com>
9607
9608 * gdb.cp/ena-dis-br-range.exp: Add tests.
9609
cc638e86
PA
96102017-11-07 Pedro Alves <palves@redhat.com>
9611
9612 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
9613
d0fe4701
XR
96142017-11-07 Xavier Roirand <roirand@adacore.com>
9615 Pedro Alves <palves@redhat.com>
9616
9617 * gdb.base/ena-dis-br.exp: Add reference to
9618 gdb.cp/ena-dis-br-range.exp.
9619 * gdb.cp/ena-dis-br-range.exp: New file.
9620 * gdb.cp/ena-dis-br-range.cc: New file.
9621
46f67f80
PA
96222017-11-06 Pedro Alves <palves@redhat.com>
9623
9624 * gdb.base/attach-non-pgrp-leader.c: New.
9625 * gdb.base/attach-non-pgrp-leader.exp: New.
9626
726e1356
PA
96272017-11-06 Pedro Alves <palves@redhat.com>
9628
9629 * configure.ac: No longer check for termio.h and sgtty.h.
9630 * configure: Regenerate.
9631 * remote-utils.c: Include termios.h instead of gdb_termios.h.
9632 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
9633 Remove termio and sgtty code.
9634
50ab6ace
YQ
96352017-11-03 Yao Qi <yao.qi@linaro.org>
9636
9637 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
9638 in GDB is disabled.
9639
8e68731c
YQ
96402017-11-03 Yao Qi <yao.qi@linaro.org>
9641
9642 * gdb.python/py-thrhandle.exp: Skip it if python is not
9643 enabled.
9644
3a87ae65
SM
96452017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
9646
9647 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
9648 as a breakpoint command.
9649
484d8d36
MD
96502017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
9651
9652 PR python/21213
9653 * gdb.python/py-infthread.exp: Test calling
9654 InferiorThread.inferior () multiple times in a row.
9655
4a27f119
KS
96562017-10-27 Keith Seitz <keiths@redhat.com>
9657
9658 * gdb.opt/inline-break.exp (break_info_1): New procedure.
9659 Test "info break" for every inlined function breakpoint.
9660
bb11dd58
YQ
96612017-10-27 Yao Qi <yao.qi@linaro.org>
9662
9663 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
9664
a43f3893
PF
96652017-10-26 Patrick Frants <osscontribute@gmail.com>
9666
9667 * gdb.cp/classes.exp (test_static_members): Test printing
9668 Outer::instance.
9669 * gdb.cp/classes.c (struct Inner, struct Outer): New.
9670 (Inner::instance, Outer::instance): New.
9671
792ccf00
PA
96722017-10-24 Pedro Alves <palves@redhat.com>
9673
9674 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
9675 extra console" test in two stages.
9676
eb2bfbad
PA
96772017-10-24 Pedro Alves <palves@redhat.com>
9678
9679 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
9680
1f75a651
PA
96812017-10-24 Pedro Alves <palves@redhat.com>
9682
9683 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
9684 loop.
9685
779990d9
PA
96862017-10-24 Pedro Alves <palves@redhat.com>
9687
9688 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
9689 $attempt" and "stoppedtry $stoppedtry" test prefixes.
9690
ad9b8f5d
PA
96912017-10-24 Pedro Alves <palves@redhat.com>
9692
9693 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
9694 parameter and handle it. Don't output read value in test name.
9695
fee6da6e
PA
96962017-10-24 Pedro Alves <palves@redhat.com>
9697
9698 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
9699 custom test name.
9700
10389c2c
PA
97012017-10-24 Pedro Alves <palves@redhat.com>
9702
9703 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
9704 include the unstable output directory name in the test's name.
9705 (initial_setup_simple) <'set args'>: Use custom test name.
9706
a80e65a9
PA
97072017-10-24 Pedro Alves <palves@redhat.com>
9708
9709 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
9710 with explicit test name.
9711
15763a09
PA
97122017-10-20 Pedro Alves <palves@redhat.com>
9713
9714 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
9715 'wait -i'. Use gdb_assert and remote_close.
9716
49a4ce2e
AB
97172017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
9718
9719 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
9720 number from variable rather than hard-coded.
9721
a75868f5
PA
97222017-10-19 Pedro Alves <palves@redhat.com>
9723
9724 * gdb.base/long-inferior-output.c: New file.
9725 * gdb.base/long-inferior-output.exp: New file.
9726
c8ba13ad
KS
97272017-11-18 Keith Seitz <keiths@redhat.com>
9728
9729 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
9730 method.
9731 (main): Call it.
9732 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
9733 Add additional user-defined conversion operator tests.
9734
b27de576
PA
97352017-10-17 Pedro Alves <palves@redhat.com>
9736
9737 * boards/native-stdio-gdbserver.exp: Load "local-board".
9738
8484c955
PA
97392017-10-17 Pedro Alves <palves@redhat.com>
9740
9741 * gdb.base/quit-live.c: New file.
9742 * gdb.base/quit-live.exp: New file.
9743
83d5a34d
KS
97442017-10-16 Keith Seitz <keiths@redhat.com>
9745
9746 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
9747 (class_with_protected_typedef, class_with_private_typedef)
9748 (struct_with_public_typedef, struct_with_protected_typedef)
9749 (struct_with_private_typedef): New classes/structs.
9750 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
9751 typedefs and access specifiers.
9752
739b3f1d
PA
97532017-10-16 Pedro Alves <palves@redhat.com>
9754 Simon Marchi <simon.marchi@polymtl.ca>
9755
9756 * README (Local vs Remote vs Native): New section.
9757 * boards/local-board.exp: New file, with bits factored out from
9758 ...
9759 * boards/native-extended-gdbserver.exp: ... here. Load
9760 "local-board".
9761 * boards/native-gdbserver.exp: Load "local-board".
9762 (${board}_spawn, ${board}_exec): Delete.
9763 * boards/native-stdio-gdbserver.exp: Most contents factored out to
9764 ...
9765 * boards/stdio-gdbserver-base.exp: ... this new file.
9766 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
9767 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
9768 procedure.
9769 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
9770 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
9771 stdio_gdbserver_command.
9772 (${board}_get_remote_address, ${board}_get_comm_port)
9773 (${board}_download, ${board}_upload): Delete.
9774 (get_target_remote_pipe_cmd): New.
9775
fe68b953
SM
97762017-10-16 Simon Marchi <simon.marchi@ericsson.com>
9777
9778 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
9779 test_bkpt_deletion, test_bkpt_cond_and_cmds,
9780 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
9781 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
9782 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
9783 remove with_test_prefix.
9784
300b6685
PA
97852017-10-13 Pedro Alves <palves@redhat.com>
9786
9787 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
9788 * gdb.base/annota1.exp: Use it instead of is_remote.
9789 * gdb.base/annota3.exp: Use it instead of is_remote.
9790 * gdb.cp/annota2.exp: Use it instead of is_remote.
9791 * gdb.cp/annota3.exp: Use it instead of is_remote.
9792 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
9793
50500caf
PA
97942017-10-13 Pedro Alves <palves@redhat.com>
9795
9796 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
9797 (test_num_test_vars, run_and_count_vars, find_env)
9798 (test_set_unset_env, test_inherit_env_var): New procedures.
9799 (top level): Use them.
9800
dad0c6d2
PA
98012017-10-13 Pedro Alves <palves@redhat.com>
9802
9803 * lib/selftest-support.exp (selftest_setup): Extend comments, and
9804 also skip on stub-like targets.
9805
8b0553c1
PA
98062017-10-13 Pedro Alves <palves@redhat.com>
9807
9808 PR gdb/22293
9809 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
9810 (top level): Move some tests to ...
9811 (test_not_found): ... this new procedure.
9812 (top level): Call it.
9813
7594f623
PA
98142017-10-13 Pedro Alves <palves@redhat.com>
9815
9816 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
9817 expect different "info terminal" output if testing with a
9818 non-native target.
9819
ebe3b402
PA
98202017-10-13 Pedro Alves <palves@redhat.com>
9821 Simon Marchi <simon.marchi@polymtl.ca>
9822
9823 PR python/12966
9824 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
9825
42f1b161
PA
98262017-10-13 Pedro Alves <palves@redhat.com>
9827
9828 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
9829 already.
9830
8d6ef72b
PA
98312017-10-13 Pedro Alves <palves@redhat.com>
9832
9833 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
9834 is_remote.
9835
d7bcd5b8
PA
98362017-10-13 Pedro Alves <palves@redhat.com>
9837
9838 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
9839 is_remote.
9840
df479dc6
PA
98412017-10-13 Pedro Alves <palves@redhat.com>
9842
9843 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
9844 is set.
9845 (corefile_test_attach): Likewise. Check can_spawn_for_attach
9846 instead of is_remote.
9847
23fb630a
PA
98482017-10-13 Pedro Alves <palves@redhat.com>
9849
9850 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
9851 (top level): Add comment.
9852
cc77b1dc
PA
98532017-10-13 Pedro Alves <palves@redhat.com>
9854
9855 * gdb.base/remote.exp (top level): Fix comment typo and add
9856 missing return.
9857
27c9e813
PA
98582017-10-13 Pedro Alves <palves@redhat.com>
9859 Simon Marchi <simon.marchi@polymtl.ca>
9860
9861 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
9862 calls and add comments. Skip test if use_gdb_stub is set.
9863 (top level): Use "set cwd" command instead of "cd" command.
9864
5e830d98
PA
98652017-10-13 Pedro Alves <palves@redhat.com>
9866
9867 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
9868 is_remote target check.
9869
f5ca0032
PA
98702017-10-13 Pedro Alves <palves@redhat.com>
9871
9872 * gdb.base/scope.exp: Use build_executable + clean_restart +
9873 gdb_file_cmd instead of prepare_for_testing and no longer skip
9874 "before run" tests on is_remote target boards. Update comments.
9875 * boards/native-extended-gdbserver.exp
9876 (extended_gdbserver_load_last_file): New, factored out from ...
9877 (gdb_load): ... this. Move further below and add comment.
9878 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
9879
8aed1c0d
PA
98802017-10-12 Pedro Alves <palves@redhat.com>
9881
9882 * gdb.base/attach.exp: Remove references to gdb64.
9883 * gdb.base/dbx.exp: Remove references to gdb64.
9884
cfa34c87
SM
98852017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
9886 Pedro Alves <palves@redhat.com>
9887
9888 * gdb.base/label.exp: Remove is_remote target check.
9889
9192b7de
PA
98902017-10-12 Pedro Alves <palves@redhat.com>
9891
9892 * gdb.base/auvx.exp (coredir): Update comment.
9893 (top level) <core_works>: Use "set cwd" command instead of "cd"
9894 command.
9895
6bf0052d
PA
98962017-10-12 Pedro Alves <palves@redhat.com>
9897 Simon Marchi <simon.marchi@polymtl.ca>
9898
9899 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
9900 target boards.
9901
e48ef82d
PA
99022017-10-12 Pedro Alves <palves@redhat.com>
9903 Simon Marchi <simon.marchi@polymtl.ca>
9904
9905 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
9906 Instead skip if there's any gdb_protocol set.
9907
8d7aea57
SM
99082017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
9909 Pedro Alves <palves@redhat.com>
9910
9911 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
9912
30440677
PA
99132017-10-12 Pedro Alves <palves@redhat.com>
9914 Simon Marchi <simon.marchi@polymtl.ca>
9915
9916 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
9917 instead of on dejagnu remote boards.
9918
4e04f045 99192017-10-12 Pedro Alves <palves@redhat.com>
175654b9 9920 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
9921
9922 * gdb.base/inferior-died.exp: Remove is_remote and isnative
9923 checks. Use build_executable + clean_restart instead of
9924 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
9925 of enabling non-stop after starting gdb.
9926
871a186e
PA
99272017-10-12 Pedro Alves <palves@redhat.com>
9928
9929 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
9930 * gdb.threads/non-ldr-exc-2.exp: Ditto.
9931 * gdb.threads/non-ldr-exc-3.exp: Ditto.
9932 * gdb.threads/non-ldr-exc-4.exp: Ditto.
9933
56d704da
AK
99342017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
9935
9936 * gdb.arch/arc-tdesc-cpu.exp: New file.
9937 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
9938
2f20e312
SM
99392017-10-10 Simon Marchi <simon.marchi@ericsson.com>
9940
9941 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
9942
65630365
PA
99432017-10-10 Pedro Alves <palves@redhat.com>
9944
9945 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
9946 expect CLI output.
9947
bf469271
PA
99482017-10-10 Pedro Alves <palves@redhat.com>
9949
9950 * lib/selftest-support.exp (selftest_setup): Update for
9951 captured_command_loop's prototype change.
9952
777a42f1
PA
99532017-10-09 Pedro Alves <palves@redhat.com>
9954
9955 Test both arch1=>arch2 and arch2=>arch1.
9956
9957 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
9958 (srcfile2, binfile2, march1, march2): Remove globals. Largely
9959 factored out to...
9960 (append_arch1_options, append_arch2_options, append_arch_options)
9961 (build_executables): New procedures.
9962 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
9963 local.
9964 (top level): Add new 'first_arch' testing axis.
9965
cbd2b4e3
PA
99662017-10-09 Pedro Alves <palves@redhat.com>
9967
9968 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
9969 (barrier): New.
9970 (thread_start, all_started): New functions.
9971 (main): Spawn new thread and wait until it is scheduled.
9972 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
9973 option.
9974 (do_test): Add 'selected_thread' parameter. Run to all_started
9975 instead of main. Explicitly set the breakpoint at main. Switch
9976 to the SELECTED_THREAD thread.
9977 (top level): Test handling the exec event with either the main
9978 thread or the second thread selected.
9979
5c9e4427
PA
99802017-10-09 Pedro Alves <palves@redhat.com>
9981
9982 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
9983 logic. Move STOP marker after the value checks.
9984 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
9985 regexp.
9986
b3b7c423
SL
99872017-10-06 Sandra Loosemore <sandra@codesourcery.com>
9988
9989 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
9990
3b4b2f16
UW
99912017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
9992
9993 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
9994 integer-to-dfp conversion.
9995 * gdb.base/dfp-test.exp: Likewise.
9996
5cd63fda
PA
99972017-10-04 Pedro Alves <palves@redhat.com>
9998
9999 * gdb.multi/hangout.c: Include <unistd.h>.
10000 (hangout_loop): New function.
10001 (main): Call alarm. Call hangout_loop in a loop.
10002 * gdb.multi/hello.c: Include <unistd.h>.
10003 (hello_loop): New function.
10004 (main): Call alarm. Call hangout_loop in a loop.
10005 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
10006 inferior with the other selected.
10007
4c71c105
SM
100082017-10-04 Simon Marchi <simon.marchi@ericsson.com>
10009
10010 * gdb.mi/list-thread-groups-available.exp: New file.
10011 * gdb.mi/list-thread-groups-available.c: New file.
10012
bc3b087d
SDJ
100132017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
10014
10015 * gdb.base/set-cwd.exp: Make it available on
10016 native-extended-gdbserver.
10017
d092c5a2
SDJ
100182017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
10019
10020 * gdb.base/set-cwd.c: New file.
10021 * gdb.base/set-cwd.exp: Likewise.
10022
45320ffa
TT
100232017-10-02 Tom Tromey <tom@tromey.com>
10024
10025 PR rust/22236:
10026 * gdb.rust/simple.rs (main): New variable "fslice".
10027 * gdb.rust/simple.exp: Add slice tests. Update string tests.
10028
b3e3859b
TT
100292017-10-02 Tom Tromey <tom@tromey.com>
10030
10031 * gdb.rust/simple.exp: Test ptype of a slice.
10032
01af5e0d
TT
100332017-10-02 Tom Tromey <tom@tromey.com>
10034
10035 * gdb.rust/simple.exp: Test index of slice.
10036
a9bbfbd8
TT
100372017-09-27 Tom Tromey <tom@tromey.com>
10038
10039 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
10040
df8899e5
TP
100412017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
10042 Pedro Alves <palves@redhat.com>
10043
10044 * gdb.base/compare-sections.exp (get value of read-only section): Read
10045 as unsigned value.
10046 (corrupt read-only section): Likewise and don't set written if patching
10047 failed.
10048
757bf54b
KB
100492017-09-21 Kevin Buettner <kevinb@redhat.com>
10050
10051 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
10052 files.
10053
06871ae8
PA
100542017-09-20 Pedro Alves <palves@redhat.com>
10055
10056 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
10057 symbol names in gdb's output.
10058 * gdb.cp/overload.exp ("list all overloads"): Likewise.
10059
e5f25bc5
PA
100602017-09-20 Pedro Alves <palves@redhat.com>
10061
10062 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
10063 Rename to ...
10064 (test_list_ambiguous_symbol): ... this and add a symbol name
10065 parameter. Adjust.
10066 (test_list_ambiguous_function): Reimplement on top of
10067 test_list_ambiguous_symbol and also test listing ambiguous
10068 variables.
10069 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
10070 (ambiguous_fun): ... this.
10071 (ambiguous_var): New.
10072 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
10073 (ambiguous_fun): ... this.
10074 (ambiguous_var): New.
10075
4e5a4f58
JB
100762017-09-19 John Baldwin <jhb@FreeBSD.org>
10077
10078 * gdb.base/starti.c: New file.
10079 * gdb.base/starti.exp: New file.
10080 * lib/gdb.exp (gdb_starti_cmd): New procedure.
10081
26e53f3e
PA
100822017-09-14 Pedro Alves <palves@redhat.com>
10083
10084 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
10085 (top level): Use it instead of runto.
10086
cb791d59
TT
100872017-09-11 Tom Tromey <tom@tromey.com>
10088
10089 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
10090
7c96f8c1
TT
100912017-09-11 Tom Tromey <tom@tromey.com>
10092
10093 * gdb.python/py-infthread.exp: Add tests for new_thread event.
10094 * gdb.python/py-inferior.exp: Add tests for new inferior events.
10095
469412dd
CW
100962017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
10097
10098 * gdb.fortran/printing-types.exp: New file.
10099 * gdb.fortran/printing-types.exp: New file.
10100
e0f86435
BH
101012017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
10102
10103 * gdb.fortran/vla-ptype.exp: Fix typos.
10104 * gdb.fortran/vla-value.exp: Same.
10105
9e9af4be
BH
101062017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
10107
10108 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
10109 * gdb.mi/mi-var-child-f.exp: Likewise.
10110 * gdb.mi/mi-vla-fortran.exp: Likewise.
10111
a5ad232b 101122017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
10113 Christoph Weinmann <christoph.t.weinmann@intel.com>
10114 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
10115
10116 * gdb.fortran/ptr-indentation.f90: New file.
10117 * gdb.fortran/ptr-indentation.exp: New file.
10118
5aec60eb
TT
101192017-09-05 Tom Tromey <tom@tromey.com>
10120
10121 PR gdb/22010:
10122 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
10123
8f8f8152
TP
101242017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
10125
10126 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
10127
fbd1b771
JK
101282017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10129
10130 * gdb.threads/tls-nodebug-pie.c: New file.
10131 * gdb.threads/tls-nodebug-pie.exp: New file.
10132
5eb5f850
TT
101332017-09-05 Tom Tromey <tom@tromey.com>
10134
10135 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
10136 for rust.
10137
ae780a21
SM
101382017-09-05 Simon Marchi <simon.marchi@ericsson.com>
10139
10140 * gdb.multi/multi-arch-exec.exp: Test with different
10141 "follow-exec-mode" settings.
10142 (do_test): New procedure.
10143
3693fdb3
PA
101442017-09-04 Pedro Alves <palves@redhat.com>
10145
10146 * gdb.base/func-static.c (S::method const, S::method volatile)
10147 (S::method volatile const): New methods.
10148 (c_s, v_s, cv_s): New instances.
10149 (main): Call method() on them.
10150 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
10151 (cannot_resolve): New procedure.
10152 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
10153 print-quote-unquoted columns.
10154 (do_test): Test printing each scope too.
10155
e68cb8e0
PA
101562017-09-04 Pedro Alves <palves@redhat.com>
10157
10158 * gdb.base/local-static.exp: Also test with
10159 class::method::variable wholly quoted.
10160 * gdb.cp/m-static.exp (class::method::variable): Remove test.
10161
858be34c
PA
101622017-09-04 Pedro Alves <palves@redhat.com>
10163
10164 * gdb.base/local-static.c: New.
10165 * gdb.base/local-static.cc: New.
10166 * gdb.base/local-static.exp: New.
10167
46a4882b
PA
101682017-09-04 Pedro Alves <palves@redhat.com>
10169
10170 * gdb.asm/asm-source.exp: Add casts to int.
10171 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
10172 (dataglobal64_1, dataglobal64_2): New globals.
10173 * gdb.base/nodebug.exp: Test different expressions involving the
10174 new globals, with print, whatis and ptype. Add casts to int.
10175 * gdb.base/solib-display.exp: Add casts to int.
10176 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
10177 * gdb.cp/m-static.exp: Add cast to int.
10178 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
10179 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
10180 tls variable with no debug info without a cast. Test with a cast
10181 to int too.
10182 * gdb.trace/entry-values.exp: Add casts.
10183
2c5a2be1
PA
101842017-09-04 Pedro Alves <palves@redhat.com>
10185
10186 * gdb.base/nodebug.exp: Test that ptype's error about functions
10187 with unknown return type includes the function name too.
10188
7022349d
PA
101892017-09-04 Pedro Alves <palves@redhat.com>
10190
10191 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
10192 return type of munmap in infcall.
10193 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
10194 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
10195 type of ftell in infcall.
10196 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
10197 type of getpid in infcall.
10198 * gdb.base/infcall-exec.exp: Cast return type of execlp in
10199 infcall.
10200 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
10201 Bail on failure to extract the pid.
10202 * gdb.base/nodebug.c: #include <stdint.h>.
10203 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
10204 New functions.
10205 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
10206 Change expected output of print/whatis/ptype with functions with
10207 no debug info. Test all supported languages. Call
10208 test_call_promotion.
10209 * gdb.compile/compile.exp: Adjust expected output to expect
10210 warning.
10211 * gdb.threads/siginfo-threads.exp: Likewise.
10212
54990598
PA
102132017-09-04 Pedro Alves <palves@redhat.com>
10214
10215 * gdb.base/callfuncs.exp (do_function_calls): New parameter
10216 "prototypes". Test calling float functions via prototyped and
10217 unprototyped function pointers.
10218 (perform_all_tests): New parameter "prototypes". Pass it down.
10219 (top level): Pass down "prototypes" parameter to
10220 perform_all_tests.
10221
34d16ea2
SM
102222017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10223
10224 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
10225 Test with nested loops.
10226
9521ecda
SM
102272017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10228
10229 * gdb.base/commands.exp: Call the new procedures.
10230 (loop_break_test, loop_continue_test): New procedures.
10231
80a65e9b
SM
102322017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10233
10234 * gdb.base/commands.exp: Call new procedure.
10235 (define_if_without_arg_test): New procedure.
10236
e439fa14
PA
102372017-09-04 Pedro Alves <palves@redhat.com>
10238
10239 * gdb.base/list-ambiguous.exp: New file.
10240 * gdb.base/list-ambiguous0.c: New file.
10241 * gdb.base/list-ambiguous1.c: New file.
10242 * gdb.base/list.exp (test_list_range): Adjust expected output.
10243
0a2dde4a
SDJ
102442017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
10245
10246 * gdb.base/share-env-with-gdbserver.c: New file.
10247 * gdb.base/share-env-with-gdbserver.exp: Likewise.
10248
5e89eb3a
SM
102492017-08-28 Simon Marchi <simon.marchi@ericsson.com>
10250
10251 * gdb.base/commands.exp (gdbvar_simple_if_test,
10252 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
10253 progvar_simple_if_test, progvar_simple_while_test,
10254 progvar_complex_if_while_test, user_defined_command_test,
10255 user_defined_command_args_eval,
10256 user_defined_command_args_stack_test,
10257 user_defined_command_manyargs_test, bp_deleted_in_command_test,
10258 temporary_breakpoint_commands,
10259 gdb_test_no_prompt, redefine_hook_test,
10260 redefine_backtrace_test): Remove "global gdb_prompt".
10261
fd437cbc
SM
102622017-08-28 Simon Marchi <simon.marchi@ericsson.com>
10263
10264 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
10265 New proc, call it from toplevel.
10266
87215ad1
SDJ
102672017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
10268
10269 PR remote/21852
10270 * gdb.server/normal.c: New file, copied from gdb.base.
10271 * gdb.server/run-without-local-binary.exp: New file.
10272
58afddc6
WP
102732017-08-07 Weimin Pan <weimin.pan@oracle.com>
10274
10275 * gdb.arch/sparc64-adi.exp: New file.
10276 * gdb.arch/sparc64-adi.c: New file.
10277
5277199a
PA
102782017-08-22 Pedro Alves <palves@redhat.com>
10279
10280 * gdb.cp/overload.exp (line_range_pattern): New procedure.
10281 (top level): Add "list all overloads" tests.
10282
14278e1f
TT
102832017-08-22 Tom Tromey <tom@tromey.com>
10284
10285 * gdb.gdb/xfullpath.exp: Remove.
10286
bf223d3e
PA
102872017-08-21 Pedro Alves <palves@redhat.com>
10288
10289 PR gdb/19487
10290 * gdb.base/symbol-alias.c: New.
10291 * gdb.base/symbol-alias2.c: New.
10292 * gdb.base/symbol-alias.exp: New.
10293
c973d0aa
PA
102942017-08-21 Pedro Alves <palves@redhat.com>
10295
10296 * gdb.base/dfp-test.c
10297 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
10298 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
10299 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
10300 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
10301 * gdb.base/whatis-ptype-typedefs.c: New.
10302 * gdb.base/whatis-ptype-typedefs.exp: New.
10303 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
10304 (an_int, an_int_type, an_int_type2): New globals.
10305 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
10306 involving typedefs and cast expressions.
10307 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
10308 (lookup_typedefs_function): New.
10309 (typedefs_pretty_printers_dict): New.
10310 (top level): Register lookup_typedefs_function in
10311 gdb.pretty_printers.
10312
6d580b63
YQ
103132017-08-18 Yao Qi <yao.qi@linaro.org>
10314
10315 * gdb.server/unittest.exp: New.
10316
206726fb
SDJ
103172017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
10318
10319 PR gdb/21954
10320 * gdb.base/environ.exp: Add test to check if 'unset environment'
10321 works.
10322
bf0ec4c2
AA
103232017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10324
10325 * lib/gdb.exp (universal_compile_options): New caching proc.
10326 (gdb_compile): Suppress GCC's coloring of messages.
10327
d6382fff
TT
103282017-08-14 Tom Tromey <tom@tromey.com>
10329
10330 PR gdb/21675:
10331 * gdb.base/printcmds.exp (test_radices): New function.
10332 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
10333 * gdb.base/sizeof.exp (check_valueof): Use p/d.
10334 * lib/gdb.exp (get_integer_valueof): Use p/d.
10335
c2c2dd9f
SM
103362017-08-12 Simon Marchi <simon.marchi@ericsson.com>
10337
10338 * lib/gdb.exp (get_valueof): Don't capture end-of-line
10339 characters.
10340
fdffd6f4
TT
103412017-08-05 Tom Tromey <tom@tromey.com>
10342
10343 * gdb.rust/simple.exp: Allow String to appear in a different
10344 namespace.
10345
27d41eac
YQ
103462017-07-26 Yao Qi <yao.qi@linaro.org>
10347
10348 * gdb.gdb/unittest.exp: Invoke command
10349 "maintenance check xml-descriptions".
10350
031ed05d
AA
103512017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10352
10353 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
10354 calling context.
10355 (hex128): Drop erroneous calculation of parameters.
10356
dcd27ddf
SM
103572017-07-22 Simon Marchi <simon.marchi@ericsson.com>
10358
10359 * gdb.python/py-unwind.exp: Disable stack protection when
10360 building test file.
10361
47e77640
PA
103622017-07-20 Pedro Alves <palves@redhat.com>
10363
10364 * gdb.base/default.exp (set language): Adjust expected output.
10365
62d2a18a
PA
103662017-07-20 Pedro Alves <palves@redhat.com>
10367
10368 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
10369 (test_minsym): ... this, and make static.
10370 (get_pck__foo__bar__minsym): Rename to ...
10371 (get_test_minsym): ... this.
10372 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
10373 symbol names and comments.
10374 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
10375 (get_test_minsym): ... this.
10376 (pck__foo__bar__minsym__2): Rename to ...
10377 (test_minsym): ... this.
10378 (main): Adjust.
10379
c45ec17c
PA
103802017-07-17 Pedro Alves <palves@redhat.com>
10381
10382 * gdb.base/completion.exp: Adjust expected output.
10383 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
10384 the completer works.
10385
c6756f62
PA
103862017-07-17 Pedro Alves <palves@redhat.com>
10387
10388 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
10389
5bd68487
AB
103902017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
10391
10392 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
10393
8880f2a9
TT
103942017-07-14 Tom Tromey <tom@tromey.com>
10395
10396 PR rust/21764:
10397 * gdb.rust/simple.exp: Add tests.
10398
65547233
TT
103992017-07-14 Tom Tromey <tom@tromey.com>
10400
10401 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
10402
8f14146e
PA
104032017-07-14 Pedro Alves <palves@redhat.com>
10404
10405 * gdb.linespec/base/one/thefile.cc (z1): New function.
10406 * gdb.linespec/base/two/thefile.cc (z2): New function.
10407 * gdb.linespec/linespec.exp: Add tests.
10408
b4365d02
AB
104092017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
10410
10411 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
10412 to mi_create_breakpoint.
10413
5d2cbaa5
AB
104142017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
10415
10416 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
10417 mi_create_breakpoint.
10418
11cb5716
IB
104192017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
10420
10421 * gdb.dlang/demangle.exp: Update for demangling changes.
10422
03278692
TT
104232017-07-09 Tom Tromey <tom@tromey.com>
10424
10425 * gdb.dwarf2/shortpiece.exp: New file.
10426
33c5cd75
DB
104272017-07-06 David Blaikie <dblaikie@gmail.com>
10428
10429 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
10430 built from fissiont-multi-cu{1,2}.c.
10431 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
10432 except putting 'main' and 'func' in separate CUs in the same DWO file.
10433 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
10434 test.
10435 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
10436 test.
10437
8455d262
PA
104382017-07-06 Pedro Alves <palves@redhat.com>
10439
10440 * gdb.python/py-unwind.exp: Test flushregs.
10441
dc4bde35
SDJ
104422017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
10443
10444 PR cli/21688
10445 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
10446 tests for alias commands and trailing whitespace.
10447
51ed89aa
SDJ
104482017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
10449
10450 PR cli/21688
10451 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
10452 procedure. Call it.
10453
eb17d413
PA
104542017-06-29 Pedro Alves <palves@redhat.com>
10455
10456 * gdb.base/printcmds.exp: Add tests.
10457
41664b45
DG
104582017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
10459
10460 PR gdb/21337
10461 * gdb.base/reread-readsym.exp: New file.
10462 * gdb.base/reread-readsym.c: New file.
10463
75312ae3
KB
104642017-06-21 Kevin Buettner <kevinb@redhat.com>
10465
10466 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
10467 subpattern.
10468
66953522
PB
104692017-06-19 Peter Bergner <bergner@vnet.ibm.com>
10470
10471 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
10472 extended mnemonic.
10473 * gdb.arch/powerpc-power9.s: Likewise.
10474
5524b525
AA
104752017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10476
10477 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
10478 on 32-bit x86 targets. Exploit is_*_target macros where
10479 appropriate.
10480
03c8af18
AA
104812017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10482
10483 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
10484 register pieces.
10485
3bf31011
AA
104862017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10487
10488 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
10489 located in one or more DWARF pieces.
10490
805acca0
AA
104912017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10492
10493 * lib/gdb.exp (get_endianness): New proc.
10494 * gdb.arch/aarch64-fp.exp: Use it.
10495 * gdb.arch/altivec-regs.exp: Likewise.
10496 * gdb.arch/e500-regs.exp: Likewise.
10497 * gdb.arch/vsx-regs.exp: Likewise.
10498 * gdb.base/dump.exp: Likewise.
10499 * gdb.base/funcargs.exp: Likewise.
10500 * gdb.base/gnu_vector.exp: Likewise.
10501 * gdb.dwarf2/formdata16.exp: Likewise.
10502 * gdb.dwarf2/implptrpiece.exp: Likewise.
10503 * gdb.dwarf2/nonvar-access.exp: Likewise.
10504 * gdb.python/py-inferior.exp: Likewise.
10505 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
10506
e9352324
AA
105072017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10508
10509 PR gdb/21226
10510 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
10511 stack value pieces are taken from the LSB end.
10512
d5d1163e
AA
105132017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10514
10515 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
10516 variable at nonzero offset.
10517
0567c986
AA
105182017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10519
10520 * gdb.dwarf2/var-access.c: New file.
10521 * gdb.dwarf2/var-access.exp: New test.
10522 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
10523
973e9aab
TT
105242017-06-12 Tom Tromey <tom@tromey.com>
10525
10526 * gdb.dwarf2/formdata16.exp: Add tests.
10527
d9109c80
TT
105282017-06-12 Tom Tromey <tom@tromey.com>
10529
10530 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
10531
30a25466
TT
105322017-06-12 Tom Tromey <tom@tromey.com>
10533
10534 PR exp/16225:
10535 * gdb.reverse/i386-sse-reverse.exp: Update tests.
10536 * gdb.arch/vsx-regs.exp: Update tests.
10537 * gdb.arch/s390-vregs.exp (hex128): New proc.
10538 Update test.
10539 * gdb.arch/altivec-regs.exp: Update tests.
10540
aefd8b33
SDJ
105412017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
10542
10543 * gdb.base/startup-with-shell.c: New file.
10544 * gdb.base/startup-with-shell.exp: Likewise.
10545
2090129c
SDJ
105462017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
10547
10548 * gdb.server/non-existing-program.exp: Update regex in order to
10549 reflect the fact that gdbserver is now using fork_inferior (with a
10550 shell) to startup the inferior.
10551
8e86a419
SM
105522017-05-30 Simon Marchi <simon.marchi@ericsson.com>
10553
10554 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
10555 support function calls from GDB.
10556
e6cf65f2
TT
105572017-05-21 Tom Tromey <tom@tromey.com>
10558
10559 PR rust/21466:
10560 * gdb.rust/unsized.exp: New file.
10561 * gdb.rust/unsized.rs: New file.
10562
43cc5389
TT
105632017-05-19 Tom Tromey <tom@tromey.com>
10564
10565 PR rust/21484:
10566 * gdb.rust/watch.exp: New file.
10567 * gdb.rust/watch.rs: New file.
10568
ec8df234
TT
105692017-05-18 Tom Tromey <tom@tromey.com>
10570
10571 * gdb.rust/simple.exp: Allow Box to be qualified.
10572
3e3e7fae
TP
105732017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
10574
10575 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
10576
59cc050d
PA
105772017-05-18 Pedro Alves <palves@redhat.com>
10578
10579 * gdb.base/fileio.c (test_write, test_read, test_close)
10580 (test_fstat): Don't print 'ret' in the fail path.
10581
c8f6abd1
PA
105822017-05-18 Pedro Alves <palves@redhat.com>
10583
10584 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
10585 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
10586 (test_system, test_rename, test_unlink, test_time): Change
10587 prototypes.
10588 * gdb.base/fileio.exp (stop_msg): Adjust.
10589
d2a03b77
PA
105902017-05-18 Pedro Alves <palves@redhat.com>
10591
10592 * gdb.base/fileio.c (null_str): New global.
10593 (test_stat): Use it.
10594 * gdb.base/fileio.exp: Remove nowarnings.
10595
0d5c6999
YQ
105962017-05-17 Yao Qi <yao.qi@linaro.org>
10597
10598 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
10599
21873064
YQ
106002017-05-17 Simon Marchi <simon.marchi@ericsson.com>
10601
10602 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
10603 argument command.
10604 (top-level): Invoke test_set_inferior_tty.
10605
d512d31c
PA
106062017-05-04 Pedro Alves <palves@redhat.com>
10607
10608 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
10609 Add parens to print call for Python 3.
10610
90cef2ed
KS
106112017-05-03 Keith Seitz <keiths@redhat.com>
10612
10613 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
10614 (main): Call it.
10615
14f819c8
TW
106162017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10617
10618 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
10619 to prev and next.
10620
913aeadd
TW
106212017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10622
10623 * gdb.python/py-record-btrace.exp: Remove test for
10624 gdb.BtraceInstruction.error.
10625
a3be24ad
TW
106262017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10627
10628 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
10629
ae20e79a
TW
106302017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10631
10632 * gdb.python/py-record-btrace-threads.c: New file.
10633 * gdb.python/py-record-btrace-threads.exp: New file.
10634
45ce1b47
SDJ
106352017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
10636
10637 PR testsuite/8595
10638 * gdb.base/environ.exp: Make test available in all architectures.
10639 Move bits related to "info program" testing to
10640 gdb.base/info-program.exp. Rewrite tests to use the two new
10641 procedures mentione below.
10642 (test_set_show_env_var) New procedure.
10643 (test_set_show_env_var_equal): Likewise.
10644 * gdb.base/info-program.exp: New file.
10645
e15c3eb4
KS
106462017-04-27 Keith Seitz <keiths@redhat.com>
10647
10648 * gdb.cp/oranking.cc (test15): New function.
10649 (main): Call test15 and declare additional variables for testing.
10650 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
10651 "p foo101('abc')" tests.
10652 Add tests for cv qualifier overloads.
10653 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
10654 "lvalue reference overload" test.
10655 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
10656 "print value of f1 on Child&& in f2" test.
10657
3a3fd0fd
PA
106582017-04-19 Pedro Alves <palves@redhat.com>
10659
10660 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
10661 procedure.
10662 (top level): Call it.
10663 * lib/gdb.exp (gdb_define_cmd): New procedure.
10664
53375380
PA
106652017-04-12 Pedro Alves <palves@redhat.com>
10666
10667 PR gdb/21323
10668 * gdb.cp/wide_char_types.c: Include <wchar.h>.
10669 (wchar): New global.
10670 * gdb.cp/wide_char_types.exp (wide_char_types_program)
10671 (do_test_wide_char, wide_char_types_no_program, top level): Add
10672 wchar_t testing.
10673
53e710ac
PA
106742017-04-12 Pedro Alves <palves@redhat.com>
10675
10676 PR c++/21323
10677 * gdb.cp/wide_char_types.c: New file.
10678 * gdb.cp/wide_char_types.exp: New file.
10679
0ad9d8c7
SDJ
106802017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
10681
10682 PR gdb/21352
10683 * gdb.trace/tsv.exp: Add test for "tsave -r".
10684
b1b45502
IB
106852017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
10686
10687 * gdb.dlang/watch-loc.c: New file.
10688 * gdb.dlang/watch-loc.exp: New file.
10689
ec13808e
JK
106902017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10691
10692 * gdb.python/py-section-script.exp (sepdebug): New testcases.
10693
fe5f7374
AK
106942017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
10695
10696 * gdb.arch/arc-analyze-prologue.S: New file.
10697 * gdb.arch/arc-analyze-prologue.exp: Likewise.
10698
eea78757
AK
106992017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
10700
10701 * gdb.arch/arc-decode-insn.S: New file.
10702 * gdb.arch/arc-decode-insn.exp: Likewise.
10703
5badf10a
IR
107042017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
10705
10706 PR tdep/20928
10707 * gdb.arch/sparc64-regs.exp: New file.
10708 * gdb.arch/sparc64-regs.S: Likewise.
10709
cee59b3f
TW
107102017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
10711
10712 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
10713 and memory view on Python 3.
10714
c0f55cc6
AV
107152017-03-20 Artemiy Volkov <artemiyv@acm.org>
10716 Keith Seitz <keiths@redhat.com>
10717
10718 PR gdb/14441
10719 * gdb.cp/demangle.exp: Add rvalue reference tests.
10720 * gdb.cp/rvalue-ref-casts.cc: New file.
10721 * gdb.cp/rvalue-ref-casts.exp: New file.
10722 * gdb.cp/rvalue-ref-overload.cc: New file.
10723 * gdb.cp/rvalue-ref-overload.exp: New file.
10724 * gdb.cp/rvalue-ref-params.cc: New file.
10725 * gdb.cp/rvalue-ref-params.exp: New file.
10726 * gdb.cp/rvalue-ref-sizeof.cc: New file.
10727 * gdb.cp/rvalue-ref-sizeof.exp: New file.
10728 * gdb.cp/rvalue-ref-types.cc: New file.
10729 * gdb.cp/rvalue-ref-types.exp: New file.
10730 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
10731 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
10732
51457a05
MAL
107332017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
10734
10735 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
10736 New procedure.
10737
5b291c04
MAL
107382017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
10739
10740 * lib/mi-support.exp (mi_gdb_test): Add additional message
10741 for unexpected output.
10742
59a56148
AA
107432017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10744
10745 * gdb.base/examine-backward.c (Barrier): New character array
10746 constant, to ensure that TestStrings is preceded by a string
10747 terminator.
10748
7942e96e
AA
107492017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10750
10751 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
10752 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
10753 and implicit pointer into such a location.
10754
6ebac3fb
DE
107552017-03-16 Doug Evans <dje@google.com>
10756
10757 * gdb.python/py-lazy-string (pointer): Really add new typedef.
10758
ec3b243d
TP
107592017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
10760
10761 * gdb.cp/m-static.exp: Fix expectation for prototype of
10762 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
10763
107642017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
10765
10766 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
10767 * gdb.guile/scm-lazy-string.c: New file.
10768 * gdb.guile/scm-value.exp: Move lazy string tests to ...
10769 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
10770 for pointer, array, typedef lazy strings.
10771
2cc36e25 107722017-03-16 Doug Evans <dje@google.com>
34b43320
DE
10773
10774 PR python/17728, python/18439, python/18779
10775 * gdb.python/py-value.c (main) Delete locals sptr, sn.
10776 * gdb.python/py-lazy-string.c (pointer): New typedef.
10777 (main): New locals ptr, array, typedef_ptr.
10778 * gdb.python/py-value.exp: Move lazy string tests to ...
10779 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
10780 array, typedef lazy strings.
ec3b243d 10781
0efcde63
AK
107822017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
10783
10784 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
10785 Add optional 'test' parameter.
10786
7978d7c3
SM
107872017-03-13 Simon Marchi <simon.marchi@ericsson.com>
10788
10789 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
10790 Skip for versions of DejaGnu < 1.5.
10791
896c0c1e
SM
107922017-03-13 Simon Marchi <simon.marchi@ericsson.com>
10793
10794 * lib/gdb.exp (dejagnu_version): New proc.
10795 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10796 Use dejagnu_version.
10797
5f4d1085
KS
107982017-03-10 Keith Seitz <keiths@redhat.com>
10799
10800 PR c++/8128
10801 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
10802 type from destructor regexps.
10803 Add a branch which actually passes the test.
10804 Adjust "ptype t5i" test names.
10805
1de05205
PA
108062017-03-08 Pedro Alves <palves@redhat.com>
10807
10808 * gdb.base/step-over-exit.exp: Add explicit test message.
10809
c65d6b55
PA
108102017-03-08 Pedro Alves <palves@redhat.com>
10811
10812 PR gdb/18360
10813 * gdb.threads/interrupt-while-step-over.c: New file.
10814 * gdb.threads/interrupt-while-step-over.exp: New file.
10815
2e86a283
PA
108162017-03-08 Pedro Alves <palves@redhat.com>
10817
10818 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
10819 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
10820
25dcbff6
PA
108212017-03-08 Pedro Alves <palves@redhat.com>
10822
10823 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
10824 PKRU as not supported as a PASS.
10825
dc9366eb
PA
108262017-03-08 Pedro Alves <palves@redhat.com>
10827
10828 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
10829 prefix instead of $binfile1/$binfile2.
10830 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
10831 in test message.
10832 * gdb.python/py-completion.exp: Use "load python file" as test
10833 messages instead of unstable path names.
10834
6e5d74e7
PA
108352017-03-08 Pedro Alves <palves@redhat.com>
10836 Jan Kratochvil <jan.kratochvil@redhat.com>
10837
10838 PR cli/21218
10839 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
10840 New proc.
10841 (top level): Call it.
10842
9753a2f6
PA
108432017-03-08 Pedro Alves <palves@redhat.com>
10844
10845 PR tui/21216
10846 * gdb.tui/tui-nl-filtered-output.exp: New file.
10847
1a4dd9dd
PA
108482017-03-08 Pedro Alves <palves@redhat.com>
10849
10850 * gdb.base/completion.exp: Move TUI completion tests to ...
10851 * gdb.tui/completion.exp: ... this new file.
10852
7cbbff33
PA
108532017-03-08 Pedro Alves <palves@redhat.com>
10854
10855 * gdb.base/tui-disasm-long-lines.c,
10856 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
10857 gdb.base/tui-layout.exp: Move to ...
10858 * gdb.tui/: ... this new directory.
10859
5f6fd321
PA
108602017-03-07 Pedro Alves <palves@redhat.com>
10861
10862 * gdb.base/tui-layout.c: New file.
10863 * gdb.base/tui-layout.exp: New file.
10864
44959fa8
PA
108652017-03-07 Pedro Alves <palves@redhat.com>
10866
10867 * gdb.base/tui-layout.c: Rename to ...
10868 * gdb.base/tui-disasm-long-lines.c: ... this.
10869 * gdb.base/tui-layout.exp: Rename to ...
10870 * gdb.base/tui-disasm-long-lines.exp: ... this.
10871
f8c4e718
PA
108722017-03-07 Pedro Alves <palves@redhat.com>
10873
10874 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
10875
6dbb839a 108762017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
10877
10878 * i386-mpx-call.c: New file.
10879 * i386-mpx-call.exp: New file.
10880
65b48a81
PB
108812017-02-28 Peter Bergner <bergner@vnet.ibm.com>
10882
10883 * gdb.arch/powerpc-power.exp: Delete test.
10884 * gdb.arch/powerpc-power.s: Likewise.
10885 * gdb.disasm/disassembler-options.exp: New test.
10886 * gdb.arch/powerpc-altivec.exp: Likewise.
10887 * gdb.arch/powerpc-altivec.s: Likewise.
10888 * gdb.arch/powerpc-altivec2.exp: Likewise.
10889 * gdb.arch/powerpc-altivec2.s: Likewise.
10890 * gdb.arch/powerpc-altivec3.exp: Likewise.
10891 * gdb.arch/powerpc-altivec3.s: Likewise.
10892 * gdb.arch/powerpc-power7.exp: Likewise.
10893 * gdb.arch/powerpc-power7.s: Likewise.
10894 * gdb.arch/powerpc-power8.exp: Likewise.
10895 * gdb.arch/powerpc-power8.s: Likewise.
10896 * gdb.arch/powerpc-power9.exp: Likewise.
10897 * gdb.arch/powerpc-power9.s: Likewise.
10898 * gdb.arch/powerpc-vsx.exp: Likewise.
10899 * gdb.arch/powerpc-vsx.s: Likewise.
10900 * gdb.arch/powerpc-vsx2.exp: Likewise.
10901 * gdb.arch/powerpc-vsx2.s: Likewise.
10902 * gdb.arch/powerpc-vsx3.exp: Likewise.
10903 * gdb.arch/powerpc-vsx3.s: Likewise.
10904 * gdb.arch/arm-disassembler-options.exp: Likewise.
10905 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
10906 * gdb.arch/s390-disassembler-options.exp: Likewise.
10907
17cd4947
LM
109082017-02-23 Luis Machado <lgustavo@codesourcery.com>
10909
10910 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
10911 (check_supported_features): ... this. Changed return type to void.
10912 (supports_rdseed): New static global.
10913 (rdseed): Check supports_rdseed.
10914 (initialize): Call check_supported_features.
10915
2039d74e
EBM
109162017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10917
10918 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
10919 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
10920 and lqarx/stqcx.
10921 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
10922 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
10923
a51d7ecf
EBM
109242017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10925
10926 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
10927 uppercase.
10928
0224619f
JK
109292017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10930
10931 * gdb.dwarf2/formdata16.c: New file.
10932 * gdb.dwarf2/formdata16.exp: New file.
10933 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
10934
216f72a1
JK
109352017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10936
10937 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
10938 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
10939 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
10940 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
10941 DW_AT_GNU_*.
10942
43988095
JK
109432017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10944
10945 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
10946
99e8a4f9
SDJ
109472017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
10948
10949 PR gdb/21164
10950 * gdb.base/maint.exp: Add testcases for when the commands do
10951 not have arguments.
10952
b58a8c0c
TP
109532017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
10954
10955 * gdb.cp/chained-calls.exp: Use p instead of P.
10956
4e746bb6
TW
109572017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
10958
10959 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
10960 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
10961
3f77c769
TT
109622017-02-14 Tom Tromey <tom@tromey.com>
10963
10964 PR python/13598:
10965 * gdb.python/py-events.exp: Add before_prompt event tests.
10966
075beec0
AA
109672017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10968
10969 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
10970
bf5f525c
LM
109712017-02-13 Luis Machado <lgustavo@codesourcery.com>
10972
10973 * gdb.linespec/explicit.c (my_unique_function_name): New function.
10974 (main): Call my_unique_function_name.
10975 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
10976 completion of patterns with a single match.
10977 Add missing -re switches to gdb_test_multiple calls.
10978
13a66184
LM
109792017-02-13 Luis Machado <lgustavo@codesourcery.com>
10980
10981 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
10982 return if core file is not recognized.
10983
26a06916
SM
109842017-02-10 Simon Marchi <simon.marchi@ericsson.com>
10985
10986 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
10987 and extra UIs.
10988
b761ca9e
SM
109892017-02-10 Simon Marchi <simon.marchi@ericsson.com>
10990
10991 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
10992 proc_with_prefix.
10993
b964bee0
TT
109942017-02-10 Tom Tromey <tom@tromey.com>
10995
10996 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
10997
18da0c51
MG
109982017-02-10 Martin Galvan <martingalvan@sourceware.org>
10999
11000 PR gdb/21122
11001 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
11002
604c4576
JG
110032017-02-08 Jerome Guitton <guitton@adacore.com>
11004
11005 * gdb.base/define.exp: Add test for command abbreviations
11006 in define.
11007
20b477a7
LM
110082017-02-06 Luis Machado <lgustavo@codesourcery.com>
11009
11010 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
11011 * gdb.reverse/insn-reverse-x86.c: New file.
11012
3f7b46f2
IR
110132017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
11014
11015 PR tdep/20936
11016 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
11017
f0fd41c1
TT
110182017-02-03 Tom Tromey <tom@tromey.com>
11019
11020 PR rust/21097:
11021 * gdb.rust/simple.exp: Add new tests.
11022
5be5dbf0
PA
110232017-02-02 Pedro Alves <palves@redhat.com>
11024
11025 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
11026 tests.
11027
7346ef59
AA
110282017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11029
11030 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
11031 taking a 2-byte value out of a 4-byte DWARF implicit value on
11032 big-endian targets.
11033 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
11034 logic. Add test cases for DW_OP_implicit.
11035
787f0025
MM
110362017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11037
11038 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
11039
68777c29
MM
110402017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11041
11042 * gdb.btrace/enable.exp: Call gdb_exit before
11043 skip_gdbserver_tests.
11044
0a1c7e28
MM
110452017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11046
11047 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
11048 GDBFLAGS.
11049
b5ac99b0
MM
110502017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11051
11052 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
11053 the test is skipped.
11054 * gdb.btrace/data.exp: Likewise.
11055 * gdb.btrace/delta.exp: Likewise.
11056 * gdb.btrace/dlopen.exp: Likewise.
11057 * gdb.btrace/enable-running.exp: Likewise.
11058 * gdb.btrace/enable.exp: Likewise.
11059 * gdb.btrace/exception.exp: Likewise.
11060 * gdb.btrace/function_call_history.exp: Likewise.
11061 * gdb.btrace/gcore.exp: Likewise.
11062 * gdb.btrace/instruction_history.exp: Likewise.
11063 * gdb.btrace/multi-thread-step.exp: Likewise.
11064 * gdb.btrace/nohist.exp: Likewise.
11065 * gdb.btrace/non-stop.exp: Likewise.
11066 * gdb.btrace/reconnect.exp: Likewise.
11067 * gdb.btrace/record_goto-step.exp: Likewise.
11068 * gdb.btrace/record_goto.exp: Likewise.
11069 * gdb.btrace/rn-dl-bind.exp: Likewise.
11070 * gdb.btrace/segv.exp: Likewise.
11071 * gdb.btrace/step.exp: Likewise.
11072 * gdb.btrace/stepi.exp: Likewise.
11073 * gdb.btrace/tailcall-only.exp: Likewise.
11074 * gdb.btrace/tailcall.exp: Likewise.
11075 * gdb.btrace/tsx.exp: Likewise.
11076 * gdb.btrace/unknown_functions.exp: Likewise.
11077 * gdb.btrace/vdso.exp: Likewise.
11078
cd4007e4
MM
110792017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11080
11081 * gdb.btrace/enable-running.c: New.
11082 * gdb.btrace/enable-running.exp: New.
11083
2735833d
WT
110842017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
11085
11086 * gdb.arch/amd64-gs_base.c: New file.
11087 * gdb.arch/amd64-gs_base.exp: New file.
11088
b51e1e94
LM
110892017-01-26 Luis Machado <lgustavo@codesourcery.com>
11090
11091 * lib/memory.exp: Remove spurious empty newlines.
11092
72ca0410
SM
110932017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
11094
11095 * gdb.python/py-bad-printers.exp: Load python file using "source".
11096 * gdb.python/py-events.exp: Likewise.
11097 * gdb.python/py-evsignal.exp: Likewise.
11098 * gdb.python/py-evthreads.exp: Likewise.
11099 * gdb.python/py-frame-args.exp: Likewise.
11100 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
11101 * gdb.python/py-framefilter-mi.exp: Likewise.
11102 * gdb.python/py-framefilter.exp: Likewise.
11103 * gdb.python/py-mi.exp: Likewise.
11104 * gdb.python/py-pp-maint.exp: Likewise.
11105 * gdb.python/py-pp-registration.exp: Likewise.
11106 * gdb.python/py-prettyprint.exp: Likewise.
11107 (run_lang_tests): Likewise.
11108 * gdb.python/py-typeprint.exp: Likewise.
11109
e309aa65
LM
111102017-01-26 Luis Machado <lgustavo@codesourcery.com>
11111
11112 * lib/memory.exp: New file.
11113 * lib/gdb.exp: Load memory.exp.
11114 * gdb.base/memattr.exp (delete_memory): Move proc to
11115 lib/memory.exp and rename to delete_memory_regions.
11116 Replace delete_memory with delete_memory_regions.
11117 Cleanup memory regions before tests.
11118 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
11119 before tests.
11120
515aff23
LM
111212017-01-26 Luis Machado <lgustavo@codesourcery.com>
11122
11123 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
11124 files.
11125 (initialize): New function conditionally defined.
11126 (testcases): Move within conditional block.
11127 (main): Call initialize.
11128 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
11129 of gdb.reverse/insn-reverse.c.
11130 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
11131 gdb.reverse/insn-reverse.c.
11132
d8b49cf0
YQ
111332017-01-26 Yao Qi <yao.qi@linaro.org>
11134
11135 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
11136 disassemble on address 0.
11137
f13a9a0c
YQ
111382017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
11139 Yao Qi <yao.qi@linaro.org>
11140
11141 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
11142 * gdb.dwarf2/implptr-64bit.S: Remove.
11143 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
11144 variables in caller's context. Add DW_OP_implicit_value.
11145
5ac95241
YQ
111462017-01-25 Yao Qi <yao.qi@linaro.org>
11147
11148 * lib/dwarf.exp (Dwarf::_location): Handle
11149 DW_OP_GNU_implicit_pointer with proper size.
11150
23e82930
LM
111512017-01-20 Luis Machado <lgustavo@codesourcery.com>
11152
11153 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
11154 and add untested calls.
11155
d334ae25
LM
111562017-01-20 Luis Machado <lgustavo@codesourcery.com>
11157
11158 * gdb.python/python.exp: Check line number against what GDB thinks
11159 the line number is for func1.
11160
f5e6296e
IB
111612017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
11162
11163 * gdb.dlang/debug-expr.exp: New file.
11164
5b362f04
LM
111652016-12-23 Luis Machado <lgustavo@codesourcery.com>
11166
11167 Fix test names for the following files:
11168
11169 * gdb.ada/exec_changed.exp
11170 * gdb.ada/info_types.exp
11171 * gdb.arch/aarch64-atomic-inst.exp
11172 * gdb.arch/aarch64-fp.exp
11173 * gdb.arch/altivec-abi.exp
11174 * gdb.arch/altivec-regs.exp
11175 * gdb.arch/amd64-byte.exp
11176 * gdb.arch/amd64-disp-step.exp
11177 * gdb.arch/amd64-dword.exp
11178 * gdb.arch/amd64-entry-value-inline.exp
11179 * gdb.arch/amd64-entry-value-param.exp
11180 * gdb.arch/amd64-entry-value-paramref.exp
11181 * gdb.arch/amd64-entry-value.exp
11182 * gdb.arch/amd64-i386-address.exp
11183 * gdb.arch/amd64-invalid-stack-middle.exp
11184 * gdb.arch/amd64-invalid-stack-top.exp
11185 * gdb.arch/amd64-optimout-repeat.exp
11186 * gdb.arch/amd64-prologue-skip.exp
11187 * gdb.arch/amd64-prologue-xmm.exp
11188 * gdb.arch/amd64-stap-special-operands.exp
11189 * gdb.arch/amd64-stap-wrong-subexp.exp
11190 * gdb.arch/amd64-tailcall-cxx.exp
11191 * gdb.arch/amd64-tailcall-noret.exp
11192 * gdb.arch/amd64-tailcall-ret.exp
11193 * gdb.arch/amd64-tailcall-self.exp
11194 * gdb.arch/amd64-word.exp
11195 * gdb.arch/arm-bl-branch-dest.exp
11196 * gdb.arch/arm-disp-step.exp
11197 * gdb.arch/arm-neon.exp
11198 * gdb.arch/arm-single-step-kernel-helper.exp
11199 * gdb.arch/avr-flash-qualifier.exp
11200 * gdb.arch/disp-step-insn-reloc.exp
11201 * gdb.arch/e500-abi.exp
11202 * gdb.arch/e500-regs.exp
11203 * gdb.arch/ftrace-insn-reloc.exp
11204 * gdb.arch/i386-avx512.exp
11205 * gdb.arch/i386-bp_permanent.exp
11206 * gdb.arch/i386-byte.exp
11207 * gdb.arch/i386-cfi-notcurrent.exp
11208 * gdb.arch/i386-disp-step.exp
11209 * gdb.arch/i386-dr3-watch.exp
11210 * gdb.arch/i386-float.exp
11211 * gdb.arch/i386-gnu-cfi.exp
11212 * gdb.arch/i386-mpx-map.exp
11213 * gdb.arch/i386-mpx-sigsegv.exp
11214 * gdb.arch/i386-mpx-simple_segv.exp
11215 * gdb.arch/i386-mpx.exp
11216 * gdb.arch/i386-permbkpt.exp
11217 * gdb.arch/i386-prologue.exp
11218 * gdb.arch/i386-signal.exp
11219 * gdb.arch/i386-size-overlap.exp
11220 * gdb.arch/i386-unwind.exp
11221 * gdb.arch/i386-word.exp
11222 * gdb.arch/mips-fcr.exp
11223 * gdb.arch/powerpc-d128-regs.exp
11224 * gdb.arch/powerpc-stackless.exp
11225 * gdb.arch/ppc64-atomic-inst.exp
11226 * gdb.arch/s390-stackless.exp
11227 * gdb.arch/s390-tdbregs.exp
11228 * gdb.arch/s390-vregs.exp
11229 * gdb.arch/sparc-sysstep.exp
11230 * gdb.arch/thumb-bx-pc.exp
11231 * gdb.arch/thumb-singlestep.exp
11232 * gdb.arch/thumb2-it.exp
11233 * gdb.arch/vsx-regs.exp
11234 * gdb.asm/asm-source.exp
11235 * gdb.base/a2-run.exp
11236 * gdb.base/advance.exp
11237 * gdb.base/all-bin.exp
11238 * gdb.base/anon.exp
11239 * gdb.base/args.exp
11240 * gdb.base/arithmet.exp
11241 * gdb.base/async-shell.exp
11242 * gdb.base/async.exp
11243 * gdb.base/attach-pie-noexec.exp
11244 * gdb.base/attach-twice.exp
11245 * gdb.base/auto-load.exp
11246 * gdb.base/bang.exp
11247 * gdb.base/bitfields.exp
11248 * gdb.base/break-always.exp
11249 * gdb.base/break-caller-line.exp
11250 * gdb.base/break-entry.exp
11251 * gdb.base/break-inline.exp
11252 * gdb.base/break-on-linker-gcd-function.exp
11253 * gdb.base/break-probes.exp
11254 * gdb.base/break.exp
11255 * gdb.base/breakpoint-shadow.exp
11256 * gdb.base/call-ar-st.exp
11257 * gdb.base/call-sc.exp
11258 * gdb.base/call-signal-resume.exp
11259 * gdb.base/call-strs.exp
11260 * gdb.base/callfuncs.exp
11261 * gdb.base/catch-fork-static.exp
11262 * gdb.base/catch-gdb-caused-signals.exp
11263 * gdb.base/catch-load.exp
11264 * gdb.base/catch-signal-fork.exp
11265 * gdb.base/catch-signal.exp
11266 * gdb.base/catch-syscall.exp
11267 * gdb.base/charset.exp
11268 * gdb.base/checkpoint.exp
11269 * gdb.base/chng-syms.exp
11270 * gdb.base/code-expr.exp
11271 * gdb.base/code_elim.exp
11272 * gdb.base/commands.exp
11273 * gdb.base/completion.exp
11274 * gdb.base/complex.exp
11275 * gdb.base/cond-expr.exp
11276 * gdb.base/condbreak.exp
11277 * gdb.base/consecutive.exp
11278 * gdb.base/continue-all-already-running.exp
11279 * gdb.base/coredump-filter.exp
11280 * gdb.base/corefile.exp
11281 * gdb.base/dbx.exp
11282 * gdb.base/debug-expr.exp
11283 * gdb.base/define.exp
11284 * gdb.base/del.exp
11285 * gdb.base/disabled-location.exp
11286 * gdb.base/disasm-end-cu.exp
11287 * gdb.base/disasm-optim.exp
11288 * gdb.base/display.exp
11289 * gdb.base/duplicate-bp.exp
11290 * gdb.base/ena-dis-br.exp
11291 * gdb.base/ending-run.exp
11292 * gdb.base/enumval.exp
11293 * gdb.base/environ.exp
11294 * gdb.base/eu-strip-infcall.exp
11295 * gdb.base/eval-avoid-side-effects.exp
11296 * gdb.base/eval-skip.exp
11297 * gdb.base/exitsignal.exp
11298 * gdb.base/expand-psymtabs.exp
11299 * gdb.base/filesym.exp
11300 * gdb.base/find-unmapped.exp
11301 * gdb.base/finish.exp
11302 * gdb.base/float.exp
11303 * gdb.base/foll-exec-mode.exp
11304 * gdb.base/foll-exec.exp
11305 * gdb.base/foll-fork.exp
11306 * gdb.base/fortran-sym-case.exp
11307 * gdb.base/freebpcmd.exp
11308 * gdb.base/func-ptr.exp
11309 * gdb.base/func-ptrs.exp
11310 * gdb.base/funcargs.exp
11311 * gdb.base/gcore-buffer-overflow.exp
11312 * gdb.base/gcore-relro-pie.exp
11313 * gdb.base/gcore-relro.exp
11314 * gdb.base/gcore.exp
11315 * gdb.base/gdb1090.exp
11316 * gdb.base/gdb11530.exp
11317 * gdb.base/gdb11531.exp
11318 * gdb.base/gdb1821.exp
11319 * gdb.base/gdbindex-stabs.exp
11320 * gdb.base/gdbvars.exp
11321 * gdb.base/hbreak.exp
11322 * gdb.base/hbreak2.exp
11323 * gdb.base/included.exp
11324 * gdb.base/infcall-input.exp
11325 * gdb.base/inferior-died.exp
11326 * gdb.base/infnan.exp
11327 * gdb.base/info-macros.exp
11328 * gdb.base/info-os.exp
11329 * gdb.base/info-proc.exp
11330 * gdb.base/info-shared.exp
11331 * gdb.base/info-target.exp
11332 * gdb.base/infoline.exp
11333 * gdb.base/interp.exp
11334 * gdb.base/interrupt.exp
11335 * gdb.base/jit-reader.exp
11336 * gdb.base/jit-simple.exp
11337 * gdb.base/kill-after-signal.exp
11338 * gdb.base/kill-detach-inferiors-cmd.exp
11339 * gdb.base/label.exp
11340 * gdb.base/langs.exp
11341 * gdb.base/ldbl_e308.exp
11342 * gdb.base/line-symtabs.exp
11343 * gdb.base/linespecs.exp
11344 * gdb.base/list.exp
11345 * gdb.base/long_long.exp
11346 * gdb.base/longest-types.exp
11347 * gdb.base/maint.exp
11348 * gdb.base/max-value-size.exp
11349 * gdb.base/memattr.exp
11350 * gdb.base/mips_pro.exp
11351 * gdb.base/morestack.exp
11352 * gdb.base/moribund-step.exp
11353 * gdb.base/multi-forks.exp
11354 * gdb.base/nested-addr.exp
11355 * gdb.base/nextoverexit.exp
11356 * gdb.base/noreturn-finish.exp
11357 * gdb.base/noreturn-return.exp
11358 * gdb.base/nostdlib.exp
11359 * gdb.base/offsets.exp
11360 * gdb.base/opaque.exp
11361 * gdb.base/pc-fp.exp
11362 * gdb.base/permissions.exp
11363 * gdb.base/print-symbol-loading.exp
11364 * gdb.base/prologue-include.exp
11365 * gdb.base/psymtab.exp
11366 * gdb.base/ptype.exp
11367 * gdb.base/random-signal.exp
11368 * gdb.base/randomize.exp
11369 * gdb.base/range-stepping.exp
11370 * gdb.base/readline-ask.exp
11371 * gdb.base/recpar.exp
11372 * gdb.base/recurse.exp
11373 * gdb.base/relational.exp
11374 * gdb.base/restore.exp
11375 * gdb.base/return-nodebug.exp
11376 * gdb.base/return.exp
11377 * gdb.base/run-after-attach.exp
11378 * gdb.base/save-bp.exp
11379 * gdb.base/scope.exp
11380 * gdb.base/sect-cmd.exp
11381 * gdb.base/set-lang-auto.exp
11382 * gdb.base/set-noassign.exp
11383 * gdb.base/setvar.exp
11384 * gdb.base/sigall.exp
11385 * gdb.base/sigbpt.exp
11386 * gdb.base/siginfo-addr.exp
11387 * gdb.base/siginfo-infcall.exp
11388 * gdb.base/siginfo-obj.exp
11389 * gdb.base/siginfo.exp
11390 * gdb.base/signals-state-child.exp
11391 * gdb.base/signest.exp
11392 * gdb.base/sigstep.exp
11393 * gdb.base/sizeof.exp
11394 * gdb.base/skip.exp
11395 * gdb.base/solib-corrupted.exp
11396 * gdb.base/solib-nodir.exp
11397 * gdb.base/solib-search.exp
11398 * gdb.base/stack-checking.exp
11399 * gdb.base/stale-infcall.exp
11400 * gdb.base/stap-probe.exp
11401 * gdb.base/start.exp
11402 * gdb.base/step-break.exp
11403 * gdb.base/step-bt.exp
11404 * gdb.base/step-line.exp
11405 * gdb.base/step-over-exit.exp
11406 * gdb.base/step-over-syscall.exp
11407 * gdb.base/step-resume-infcall.exp
11408 * gdb.base/step-test.exp
11409 * gdb.base/store.exp
11410 * gdb.base/structs3.exp
11411 * gdb.base/sym-file.exp
11412 * gdb.base/symbol-without-target_section.exp
11413 * gdb.base/term.exp
11414 * gdb.base/testenv.exp
11415 * gdb.base/ui-redirect.exp
11416 * gdb.base/until.exp
11417 * gdb.base/unwindonsignal.exp
11418 * gdb.base/value-double-free.exp
11419 * gdb.base/vla-datatypes.exp
11420 * gdb.base/vla-ptr.exp
11421 * gdb.base/vla-sideeffect.exp
11422 * gdb.base/volatile.exp
11423 * gdb.base/watch-cond-infcall.exp
11424 * gdb.base/watch-cond.exp
11425 * gdb.base/watch-non-mem.exp
11426 * gdb.base/watch-read.exp
11427 * gdb.base/watch-vfork.exp
11428 * gdb.base/watchpoint-cond-gone.exp
11429 * gdb.base/watchpoint-delete.exp
11430 * gdb.base/watchpoint-hw-hit-once.exp
11431 * gdb.base/watchpoint-hw.exp
11432 * gdb.base/watchpoint-stops-at-right-insn.exp
11433 * gdb.base/watchpoints.exp
11434 * gdb.base/wchar.exp
11435 * gdb.base/whatis-exp.exp
11436 * gdb.btrace/buffer-size.exp
11437 * gdb.btrace/data.exp
11438 * gdb.btrace/delta.exp
11439 * gdb.btrace/dlopen.exp
11440 * gdb.btrace/enable.exp
11441 * gdb.btrace/exception.exp
11442 * gdb.btrace/function_call_history.exp
11443 * gdb.btrace/gcore.exp
11444 * gdb.btrace/instruction_history.exp
11445 * gdb.btrace/nohist.exp
11446 * gdb.btrace/reconnect.exp
11447 * gdb.btrace/record_goto-step.exp
11448 * gdb.btrace/record_goto.exp
11449 * gdb.btrace/rn-dl-bind.exp
11450 * gdb.btrace/segv.exp
11451 * gdb.btrace/step.exp
11452 * gdb.btrace/stepi.exp
11453 * gdb.btrace/tailcall-only.exp
11454 * gdb.btrace/tailcall.exp
11455 * gdb.btrace/tsx.exp
11456 * gdb.btrace/unknown_functions.exp
11457 * gdb.btrace/vdso.exp
11458 * gdb.compile/compile-ifunc.exp
11459 * gdb.compile/compile-ops.exp
11460 * gdb.compile/compile-print.exp
11461 * gdb.compile/compile-setjmp.exp
11462 * gdb.cp/abstract-origin.exp
11463 * gdb.cp/ambiguous.exp
11464 * gdb.cp/annota2.exp
11465 * gdb.cp/annota3.exp
11466 * gdb.cp/anon-ns.exp
11467 * gdb.cp/anon-struct.exp
11468 * gdb.cp/anon-union.exp
11469 * gdb.cp/arg-reference.exp
11470 * gdb.cp/baseenum.exp
11471 * gdb.cp/bool.exp
11472 * gdb.cp/breakpoint.exp
11473 * gdb.cp/bs15503.exp
11474 * gdb.cp/call-c.exp
11475 * gdb.cp/casts.exp
11476 * gdb.cp/chained-calls.exp
11477 * gdb.cp/class2.exp
11478 * gdb.cp/classes.exp
11479 * gdb.cp/cmpd-minsyms.exp
11480 * gdb.cp/converts.exp
11481 * gdb.cp/cp-relocate.exp
11482 * gdb.cp/cpcompletion.exp
11483 * gdb.cp/cpexprs.exp
11484 * gdb.cp/cplabel.exp
11485 * gdb.cp/cplusfuncs.exp
11486 * gdb.cp/cpsizeof.exp
11487 * gdb.cp/ctti.exp
11488 * gdb.cp/derivation.exp
11489 * gdb.cp/destrprint.exp
11490 * gdb.cp/dispcxx.exp
11491 * gdb.cp/enum-class.exp
11492 * gdb.cp/exception.exp
11493 * gdb.cp/exceptprint.exp
11494 * gdb.cp/expand-psymtabs-cxx.exp
11495 * gdb.cp/expand-sals.exp
11496 * gdb.cp/extern-c.exp
11497 * gdb.cp/filename.exp
11498 * gdb.cp/formatted-ref.exp
11499 * gdb.cp/fpointer.exp
11500 * gdb.cp/gdb1355.exp
11501 * gdb.cp/gdb2495.exp
11502 * gdb.cp/hang.exp
11503 * gdb.cp/impl-this.exp
11504 * gdb.cp/infcall-dlopen.exp
11505 * gdb.cp/inherit.exp
11506 * gdb.cp/iostream.exp
11507 * gdb.cp/koenig.exp
11508 * gdb.cp/local.exp
11509 * gdb.cp/m-data.exp
11510 * gdb.cp/m-static.exp
11511 * gdb.cp/mb-ctor.exp
11512 * gdb.cp/mb-inline.exp
11513 * gdb.cp/mb-templates.exp
11514 * gdb.cp/member-name.exp
11515 * gdb.cp/member-ptr.exp
11516 * gdb.cp/meth-typedefs.exp
11517 * gdb.cp/method.exp
11518 * gdb.cp/method2.exp
11519 * gdb.cp/minsym-fallback.exp
11520 * gdb.cp/misc.exp
11521 * gdb.cp/namelessclass.exp
11522 * gdb.cp/namespace-enum.exp
11523 * gdb.cp/namespace-nested-import.exp
11524 * gdb.cp/namespace.exp
11525 * gdb.cp/nextoverthrow.exp
11526 * gdb.cp/no-dmgl-verbose.exp
11527 * gdb.cp/non-trivial-retval.exp
11528 * gdb.cp/noparam.exp
11529 * gdb.cp/nsdecl.exp
11530 * gdb.cp/nsimport.exp
11531 * gdb.cp/nsnested.exp
11532 * gdb.cp/nsnoimports.exp
11533 * gdb.cp/nsrecurs.exp
11534 * gdb.cp/nsstress.exp
11535 * gdb.cp/nsusing.exp
11536 * gdb.cp/operator.exp
11537 * gdb.cp/oranking.exp
11538 * gdb.cp/overload-const.exp
11539 * gdb.cp/overload.exp
11540 * gdb.cp/ovldbreak.exp
11541 * gdb.cp/ovsrch.exp
11542 * gdb.cp/paren-type.exp
11543 * gdb.cp/parse-lang.exp
11544 * gdb.cp/pass-by-ref.exp
11545 * gdb.cp/pr-1023.exp
11546 * gdb.cp/pr-1210.exp
11547 * gdb.cp/pr-574.exp
11548 * gdb.cp/pr10687.exp
11549 * gdb.cp/pr12028.exp
11550 * gdb.cp/pr17132.exp
11551 * gdb.cp/pr17494.exp
11552 * gdb.cp/pr9067.exp
11553 * gdb.cp/pr9167.exp
11554 * gdb.cp/pr9631.exp
11555 * gdb.cp/printmethod.exp
11556 * gdb.cp/psmang.exp
11557 * gdb.cp/psymtab-parameter.exp
11558 * gdb.cp/ptype-cv-cp.exp
11559 * gdb.cp/ptype-flags.exp
11560 * gdb.cp/re-set-overloaded.exp
11561 * gdb.cp/ref-types.exp
11562 * gdb.cp/rtti.exp
11563 * gdb.cp/scope-err.exp
11564 * gdb.cp/shadow.exp
11565 * gdb.cp/smartp.exp
11566 * gdb.cp/static-method.exp
11567 * gdb.cp/static-print-quit.exp
11568 * gdb.cp/temargs.exp
11569 * gdb.cp/templates.exp
11570 * gdb.cp/try_catch.exp
11571 * gdb.cp/typedef-operator.exp
11572 * gdb.cp/typeid.exp
11573 * gdb.cp/userdef.exp
11574 * gdb.cp/using-crash.exp
11575 * gdb.cp/var-tag.exp
11576 * gdb.cp/virtbase.exp
11577 * gdb.cp/virtfunc.exp
11578 * gdb.cp/virtfunc2.exp
11579 * gdb.cp/vla-cxx.exp
11580 * gdb.disasm/t01_mov.exp
11581 * gdb.disasm/t02_mova.exp
11582 * gdb.disasm/t03_add.exp
11583 * gdb.disasm/t04_sub.exp
11584 * gdb.disasm/t05_cmp.exp
11585 * gdb.disasm/t06_ari2.exp
11586 * gdb.disasm/t07_ari3.exp
11587 * gdb.disasm/t08_or.exp
11588 * gdb.disasm/t09_xor.exp
11589 * gdb.disasm/t10_and.exp
11590 * gdb.disasm/t11_logs.exp
11591 * gdb.disasm/t12_bit.exp
11592 * gdb.disasm/t13_otr.exp
11593 * gdb.dlang/circular.exp
11594 * gdb.dwarf2/arr-stride.exp
11595 * gdb.dwarf2/arr-subrange.exp
11596 * gdb.dwarf2/atomic-type.exp
11597 * gdb.dwarf2/bad-regnum.exp
11598 * gdb.dwarf2/bitfield-parent-optimized-out.exp
11599 * gdb.dwarf2/callframecfa.exp
11600 * gdb.dwarf2/clztest.exp
11601 * gdb.dwarf2/corrupt.exp
11602 * gdb.dwarf2/data-loc.exp
11603 * gdb.dwarf2/dup-psym.exp
11604 * gdb.dwarf2/dw2-anon-mptr.exp
11605 * gdb.dwarf2/dw2-anonymous-func.exp
11606 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
11607 * gdb.dwarf2/dw2-bad-unresolved.exp
11608 * gdb.dwarf2/dw2-basic.exp
11609 * gdb.dwarf2/dw2-canonicalize-type.exp
11610 * gdb.dwarf2/dw2-case-insensitive.exp
11611 * gdb.dwarf2/dw2-common-block.exp
11612 * gdb.dwarf2/dw2-compdir-oldgcc.exp
11613 * gdb.dwarf2/dw2-compressed.exp
11614 * gdb.dwarf2/dw2-const.exp
11615 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
11616 * gdb.dwarf2/dw2-cu-size.exp
11617 * gdb.dwarf2/dw2-dup-frame.exp
11618 * gdb.dwarf2/dw2-entry-value.exp
11619 * gdb.dwarf2/dw2-icycle.exp
11620 * gdb.dwarf2/dw2-ifort-parameter.exp
11621 * gdb.dwarf2/dw2-inline-break.exp
11622 * gdb.dwarf2/dw2-inline-param.exp
11623 * gdb.dwarf2/dw2-intercu.exp
11624 * gdb.dwarf2/dw2-intermix.exp
11625 * gdb.dwarf2/dw2-lexical-block-bare.exp
11626 * gdb.dwarf2/dw2-linkage-name-trust.exp
11627 * gdb.dwarf2/dw2-minsym-in-cu.exp
11628 * gdb.dwarf2/dw2-noloc.exp
11629 * gdb.dwarf2/dw2-op-call.exp
11630 * gdb.dwarf2/dw2-op-out-param.exp
11631 * gdb.dwarf2/dw2-opt-structptr.exp
11632 * gdb.dwarf2/dw2-param-error.exp
11633 * gdb.dwarf2/dw2-producer.exp
11634 * gdb.dwarf2/dw2-ranges-base.exp
11635 * gdb.dwarf2/dw2-ref-missing-frame.exp
11636 * gdb.dwarf2/dw2-reg-undefined.exp
11637 * gdb.dwarf2/dw2-regno-invalid.exp
11638 * gdb.dwarf2/dw2-restore.exp
11639 * gdb.dwarf2/dw2-restrict.exp
11640 * gdb.dwarf2/dw2-single-line-discriminators.exp
11641 * gdb.dwarf2/dw2-strp.exp
11642 * gdb.dwarf2/dw2-undefined-ret-addr.exp
11643 * gdb.dwarf2/dw2-unresolved.exp
11644 * gdb.dwarf2/dw2-var-zero-addr.exp
11645 * gdb.dwarf2/dw4-sig-types.exp
11646 * gdb.dwarf2/dwz.exp
11647 * gdb.dwarf2/dynarr-ptr.exp
11648 * gdb.dwarf2/enum-type.exp
11649 * gdb.dwarf2/gdb-index.exp
11650 * gdb.dwarf2/implptr-64bit.exp
11651 * gdb.dwarf2/implptr-optimized-out.exp
11652 * gdb.dwarf2/implptr.exp
11653 * gdb.dwarf2/implref-array.exp
11654 * gdb.dwarf2/implref-const.exp
11655 * gdb.dwarf2/implref-global.exp
11656 * gdb.dwarf2/implref-struct.exp
11657 * gdb.dwarf2/mac-fileno.exp
11658 * gdb.dwarf2/main-subprogram.exp
11659 * gdb.dwarf2/member-ptr-forwardref.exp
11660 * gdb.dwarf2/method-ptr.exp
11661 * gdb.dwarf2/missing-sig-type.exp
11662 * gdb.dwarf2/nonvar-access.exp
11663 * gdb.dwarf2/opaque-type-lookup.exp
11664 * gdb.dwarf2/pieces-optimized-out.exp
11665 * gdb.dwarf2/pieces.exp
11666 * gdb.dwarf2/pr10770.exp
11667 * gdb.dwarf2/pr13961.exp
11668 * gdb.dwarf2/staticvirtual.exp
11669 * gdb.dwarf2/subrange.exp
11670 * gdb.dwarf2/symtab-producer.exp
11671 * gdb.dwarf2/trace-crash.exp
11672 * gdb.dwarf2/typeddwarf.exp
11673 * gdb.dwarf2/valop.exp
11674 * gdb.dwarf2/watch-notconst.exp
11675 * gdb.fortran/array-element.exp
11676 * gdb.fortran/charset.exp
11677 * gdb.fortran/common-block.exp
11678 * gdb.fortran/complex.exp
11679 * gdb.fortran/derived-type-function.exp
11680 * gdb.fortran/derived-type.exp
11681 * gdb.fortran/logical.exp
11682 * gdb.fortran/module.exp
11683 * gdb.fortran/multi-dim.exp
11684 * gdb.fortran/nested-funcs.exp
11685 * gdb.fortran/print-formatted.exp
11686 * gdb.fortran/subarray.exp
11687 * gdb.fortran/vla-alloc-assoc.exp
11688 * gdb.fortran/vla-datatypes.exp
11689 * gdb.fortran/vla-history.exp
11690 * gdb.fortran/vla-ptr-info.exp
11691 * gdb.fortran/vla-ptype-sub.exp
11692 * gdb.fortran/vla-ptype.exp
11693 * gdb.fortran/vla-sizeof.exp
11694 * gdb.fortran/vla-type.exp
11695 * gdb.fortran/vla-value-sub-arbitrary.exp
11696 * gdb.fortran/vla-value-sub-finish.exp
11697 * gdb.fortran/vla-value-sub.exp
11698 * gdb.fortran/vla-value.exp
11699 * gdb.fortran/whatis_type.exp
11700 * gdb.go/chan.exp
11701 * gdb.go/handcall.exp
11702 * gdb.go/hello.exp
11703 * gdb.go/integers.exp
11704 * gdb.go/methods.exp
11705 * gdb.go/package.exp
11706 * gdb.go/strings.exp
11707 * gdb.go/types.exp
11708 * gdb.go/unsafe.exp
11709 * gdb.guile/scm-arch.exp
11710 * gdb.guile/scm-block.exp
11711 * gdb.guile/scm-breakpoint.exp
11712 * gdb.guile/scm-cmd.exp
11713 * gdb.guile/scm-disasm.exp
11714 * gdb.guile/scm-equal.exp
11715 * gdb.guile/scm-frame-args.exp
11716 * gdb.guile/scm-frame-inline.exp
11717 * gdb.guile/scm-frame.exp
11718 * gdb.guile/scm-iterator.exp
11719 * gdb.guile/scm-math.exp
11720 * gdb.guile/scm-objfile.exp
11721 * gdb.guile/scm-ports.exp
11722 * gdb.guile/scm-symbol.exp
11723 * gdb.guile/scm-symtab.exp
11724 * gdb.guile/scm-value-cc.exp
11725 * gdb.guile/types-module.exp
11726 * gdb.linespec/break-ask.exp
11727 * gdb.linespec/cpexplicit.exp
11728 * gdb.linespec/explicit.exp
11729 * gdb.linespec/keywords.exp
11730 * gdb.linespec/linespec.exp
11731 * gdb.linespec/ls-dollar.exp
11732 * gdb.linespec/ls-errs.exp
11733 * gdb.linespec/skip-two.exp
11734 * gdb.linespec/thread.exp
11735 * gdb.mi/mi-async.exp
11736 * gdb.mi/mi-basics.exp
11737 * gdb.mi/mi-break.exp
11738 * gdb.mi/mi-catch-load.exp
11739 * gdb.mi/mi-cli.exp
11740 * gdb.mi/mi-cmd-param-changed.exp
11741 * gdb.mi/mi-console.exp
11742 * gdb.mi/mi-detach.exp
11743 * gdb.mi/mi-disassemble.exp
11744 * gdb.mi/mi-eval.exp
11745 * gdb.mi/mi-file-transfer.exp
11746 * gdb.mi/mi-file.exp
11747 * gdb.mi/mi-fill-memory.exp
11748 * gdb.mi/mi-inheritance-syntax-error.exp
11749 * gdb.mi/mi-linespec-err-cp.exp
11750 * gdb.mi/mi-logging.exp
11751 * gdb.mi/mi-memory-changed.exp
11752 * gdb.mi/mi-read-memory.exp
11753 * gdb.mi/mi-record-changed.exp
11754 * gdb.mi/mi-reg-undefined.exp
11755 * gdb.mi/mi-regs.exp
11756 * gdb.mi/mi-return.exp
11757 * gdb.mi/mi-reverse.exp
11758 * gdb.mi/mi-simplerun.exp
11759 * gdb.mi/mi-solib.exp
11760 * gdb.mi/mi-stack.exp
11761 * gdb.mi/mi-stepi.exp
11762 * gdb.mi/mi-syn-frame.exp
11763 * gdb.mi/mi-until.exp
11764 * gdb.mi/mi-var-block.exp
11765 * gdb.mi/mi-var-child.exp
11766 * gdb.mi/mi-var-cmd.exp
11767 * gdb.mi/mi-var-cp.exp
11768 * gdb.mi/mi-var-display.exp
11769 * gdb.mi/mi-var-invalidate.exp
11770 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
11771 * gdb.mi/mi-vla-fortran.exp
11772 * gdb.mi/mi-watch.exp
11773 * gdb.mi/mi2-var-child.exp
11774 * gdb.mi/user-selected-context-sync.exp
11775 * gdb.modula2/unbounded-array.exp
11776 * gdb.multi/dummy-frame-restore.exp
11777 * gdb.multi/multi-arch-exec.exp
11778 * gdb.multi/multi-arch.exp
11779 * gdb.multi/tids.exp
11780 * gdb.multi/watchpoint-multi.exp
11781 * gdb.opencl/callfuncs.exp
11782 * gdb.opencl/convs_casts.exp
11783 * gdb.opencl/datatypes.exp
11784 * gdb.opencl/operators.exp
11785 * gdb.opencl/vec_comps.exp
11786 * gdb.opt/clobbered-registers-O2.exp
11787 * gdb.opt/inline-break.exp
11788 * gdb.opt/inline-bt.exp
11789 * gdb.opt/inline-cmds.exp
11790 * gdb.opt/inline-locals.exp
11791 * gdb.pascal/case-insensitive-symbols.exp
11792 * gdb.pascal/floats.exp
11793 * gdb.pascal/gdb11492.exp
11794 * gdb.python/lib-types.exp
11795 * gdb.python/py-arch.exp
11796 * gdb.python/py-as-string.exp
11797 * gdb.python/py-bad-printers.exp
11798 * gdb.python/py-block.exp
11799 * gdb.python/py-breakpoint-create-fail.exp
11800 * gdb.python/py-breakpoint.exp
11801 * gdb.python/py-caller-is.exp
11802 * gdb.python/py-cmd.exp
11803 * gdb.python/py-explore-cc.exp
11804 * gdb.python/py-explore.exp
11805 * gdb.python/py-finish-breakpoint.exp
11806 * gdb.python/py-finish-breakpoint2.exp
11807 * gdb.python/py-frame-args.exp
11808 * gdb.python/py-frame-inline.exp
11809 * gdb.python/py-frame.exp
11810 * gdb.python/py-framefilter-mi.exp
11811 * gdb.python/py-infthread.exp
11812 * gdb.python/py-lazy-string.exp
11813 * gdb.python/py-linetable.exp
11814 * gdb.python/py-mi-events.exp
11815 * gdb.python/py-mi-objfile.exp
11816 * gdb.python/py-mi.exp
11817 * gdb.python/py-objfile.exp
11818 * gdb.python/py-pp-integral.exp
11819 * gdb.python/py-pp-maint.exp
11820 * gdb.python/py-pp-re-notag.exp
11821 * gdb.python/py-pp-registration.exp
11822 * gdb.python/py-recurse-unwind.exp
11823 * gdb.python/py-strfns.exp
11824 * gdb.python/py-symbol.exp
11825 * gdb.python/py-symtab.exp
11826 * gdb.python/py-sync-interp.exp
11827 * gdb.python/py-typeprint.exp
11828 * gdb.python/py-unwind-maint.exp
11829 * gdb.python/py-unwind.exp
11830 * gdb.python/py-value-cc.exp
11831 * gdb.python/py-xmethods.exp
11832 * gdb.reverse/amd64-tailcall-reverse.exp
11833 * gdb.reverse/break-precsave.exp
11834 * gdb.reverse/break-reverse.exp
11835 * gdb.reverse/consecutive-precsave.exp
11836 * gdb.reverse/consecutive-reverse.exp
11837 * gdb.reverse/finish-precsave.exp
11838 * gdb.reverse/finish-reverse-bkpt.exp
11839 * gdb.reverse/finish-reverse.exp
11840 * gdb.reverse/fstatat-reverse.exp
11841 * gdb.reverse/getresuid-reverse.exp
11842 * gdb.reverse/i386-precsave.exp
11843 * gdb.reverse/i386-reverse.exp
11844 * gdb.reverse/i386-sse-reverse.exp
11845 * gdb.reverse/i387-env-reverse.exp
11846 * gdb.reverse/i387-stack-reverse.exp
11847 * gdb.reverse/insn-reverse.exp
11848 * gdb.reverse/machinestate-precsave.exp
11849 * gdb.reverse/machinestate.exp
11850 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11851 * gdb.reverse/pipe-reverse.exp
11852 * gdb.reverse/readv-reverse.exp
11853 * gdb.reverse/recvmsg-reverse.exp
11854 * gdb.reverse/rerun-prec.exp
11855 * gdb.reverse/s390-mvcle.exp
11856 * gdb.reverse/step-precsave.exp
11857 * gdb.reverse/step-reverse.exp
11858 * gdb.reverse/time-reverse.exp
11859 * gdb.reverse/until-precsave.exp
11860 * gdb.reverse/until-reverse.exp
11861 * gdb.reverse/waitpid-reverse.exp
11862 * gdb.reverse/watch-precsave.exp
11863 * gdb.reverse/watch-reverse.exp
11864 * gdb.rust/generics.exp
11865 * gdb.rust/methods.exp
11866 * gdb.rust/modules.exp
11867 * gdb.rust/simple.exp
11868 * gdb.server/connect-with-no-symbol-file.exp
11869 * gdb.server/ext-attach.exp
11870 * gdb.server/ext-restart.exp
11871 * gdb.server/ext-wrapper.exp
11872 * gdb.server/file-transfer.exp
11873 * gdb.server/server-exec-info.exp
11874 * gdb.server/server-kill.exp
11875 * gdb.server/server-mon.exp
11876 * gdb.server/wrapper.exp
11877 * gdb.stabs/exclfwd.exp
11878 * gdb.stabs/gdb11479.exp
11879 * gdb.threads/clone-new-thread-event.exp
11880 * gdb.threads/corethreads.exp
11881 * gdb.threads/current-lwp-dead.exp
11882 * gdb.threads/dlopen-libpthread.exp
11883 * gdb.threads/gcore-thread.exp
11884 * gdb.threads/sigstep-threads.exp
11885 * gdb.threads/watchpoint-fork.exp
11886 * gdb.trace/actions-changed.exp
11887 * gdb.trace/backtrace.exp
11888 * gdb.trace/change-loc.exp
11889 * gdb.trace/circ.exp
11890 * gdb.trace/collection.exp
11891 * gdb.trace/disconnected-tracing.exp
11892 * gdb.trace/ftrace.exp
11893 * gdb.trace/mi-trace-frame-collected.exp
11894 * gdb.trace/mi-trace-unavailable.exp
11895 * gdb.trace/mi-traceframe-changed.exp
11896 * gdb.trace/mi-tsv-changed.exp
11897 * gdb.trace/no-attach-trace.exp
11898 * gdb.trace/passc-dyn.exp
11899 * gdb.trace/qtro.exp
11900 * gdb.trace/range-stepping.exp
11901 * gdb.trace/read-memory.exp
11902 * gdb.trace/save-trace.exp
11903 * gdb.trace/signal.exp
11904 * gdb.trace/status-stop.exp
11905 * gdb.trace/tfile.exp
11906 * gdb.trace/trace-break.exp
11907 * gdb.trace/trace-buffer-size.exp
11908 * gdb.trace/trace-condition.exp
11909 * gdb.trace/tracefile-pseudo-reg.exp
11910 * gdb.trace/tstatus.exp
11911 * gdb.trace/unavailable.exp
11912 * gdb.trace/while-dyn.exp
11913 * gdb.trace/while-stepping.exp
11914
34c41c68
DE
119152016-12-22 Doug Evans <xdje42@gmail.com>
11916
11917 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
11918 and msymbols.
11919
16e69324
YQ
119202016-12-19 Yao Qi <yao.qi@linaro.org>
11921
11922 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
11923 (test_with_self): Don't call do_steps_and_nexts, and remove
11924 code about stepping into xmalloc.
11925
f94f411b
YQ
119262016-12-09 Yao Qi <yao.qi@linaro.org>
11927
11928 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
11929
119302016-12-09 Yao Qi <yao.qi@linaro.org>
11931
11932 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
11933
f1b5deee
PA
119342016-12-09 Pedro Alves <palves@redhat.com>
11935
11936 * gdb.base/all-architectures-0.exp: New file.
11937 * gdb.base/all-architectures-1.exp: New file.
11938 * gdb.base/all-architectures-2.exp: New file.
11939 * gdb.base/all-architectures-3.exp: New file.
11940 * gdb.base/all-architectures-4.exp: New file.
11941 * gdb.base/all-architectures-5.exp: New file.
11942 * gdb.base/all-architectures-6.exp: New file.
11943 * gdb.base/all-architectures-7.exp: New file.
11944 * gdb.base/all-architectures.exp.in: New file.
11945
364ca42e
YQ
119462016-12-09 Yao Qi <yao.qi@linaro.org>
11947
11948 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
11949
107c2d62
LM
119502016-12-02 Luis Machado <lgustavo@codesourcery.com>
11951
11952 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
11953 possible.
11954 Remove useless pattern-matching code.
11955
df3ee9ca
PA
119562016-12-02 Pedro Alves <palves@redhat.com>
11957
11958 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
11959 procedure.
11960 (top level): Call it.
11961
ec835369
PA
119622016-12-02 Pedro Alves <palves@redhat.com>
11963
11964 * gdb.base/commands.exp (user_defined_command_args_stack_test):
11965 New procedure.
11966 (top level): Call it.
11967
01770bbd
PA
119682016-12-02 Pedro Alves <palves@redhat.com>
11969
11970 PR cli/20559
11971 * gdb.base/commands.exp (user_defined_command_args_eval): New
11972 procedure.
11973 (top level): Call it.
11974
008459ea
LM
119752016-12-02 Luis Machado <lgustavo@codesourcery.com>
11976
11977 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
11978 timeout handling.
11979
0c1b455e
TT
119802016-12-02 Tom Tromey <tom@tromey.com>
11981
11982 * gdb.dwarf2/main-subprogram.c: New file.
11983 * gdb.dwarf2/main-subprogram.exp: New file.
11984
018572b8
LM
119852016-12-01 Luis Machado <lgustavo@codesourcery.com>
11986
11987 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
11988 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
11989 gdb_test_no_output for a couple of cases.
11990 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
11991
84c93cd5
LM
119922016-12-01 Luis Machado <lgustavo@codesourcery.com>
11993
11994 Fix test names and standardize compilation error messages throughout
11995 the following files:
11996
11997 * gdb.ada/start.exp
11998 * gdb.arch/alpha-step.exp
11999 * gdb.arch/e500-prologue.exp
12000 * gdb.arch/ftrace-insn-reloc.exp
12001 * gdb.arch/gdb1291.exp
12002 * gdb.arch/gdb1431.exp
12003 * gdb.arch/gdb1558.exp
12004 * gdb.arch/i386-dr3-watch.exp
12005 * gdb.arch/i386-sse-stack-align.exp
12006 * gdb.arch/ia64-breakpoint-shadow.exp
12007 * gdb.arch/pa-nullify.exp
12008 * gdb.arch/powerpc-aix-prologue.exp
12009 * gdb.arch/thumb-bx-pc.exp
12010 * gdb.base/annota1.exp
12011 * gdb.base/annota3.exp
12012 * gdb.base/arrayidx.exp
12013 * gdb.base/assign.exp
12014 * gdb.base/attach.exp
12015 * gdb.base/auxv.exp
12016 * gdb.base/bang.exp
12017 * gdb.base/bfp-test.exp
12018 * gdb.base/bigcore.exp
12019 * gdb.base/bitfields2.exp
12020 * gdb.base/break-fun-addr.exp
12021 * gdb.base/break-probes.exp
12022 * gdb.base/call-rt-st.exp
12023 * gdb.base/callexit.exp
12024 * gdb.base/catch-fork-kill.exp
12025 * gdb.base/charset.exp
12026 * gdb.base/checkpoint.exp
12027 * gdb.base/comprdebug.exp
12028 * gdb.base/constvars.exp
12029 * gdb.base/coredump-filter.exp
12030 * gdb.base/cursal.exp
12031 * gdb.base/cvexpr.exp
12032 * gdb.base/detach.exp
12033 * gdb.base/display.exp
12034 * gdb.base/dmsym.exp
12035 * gdb.base/dprintf-pending.exp
12036 * gdb.base/dso2dso.exp
12037 * gdb.base/dtrace-probe.exp
12038 * gdb.base/dump.exp
12039 * gdb.base/enum_cond.exp
12040 * gdb.base/exe-lock.exp
12041 * gdb.base/exec-invalid-sysroot.exp
12042 * gdb.base/execl-update-breakpoints.exp
12043 * gdb.base/exprs.exp
12044 * gdb.base/fileio.exp
12045 * gdb.base/find.exp
12046 * gdb.base/finish.exp
12047 * gdb.base/fixsection.exp
12048 * gdb.base/foll-vfork.exp
12049 * gdb.base/frame-args.exp
12050 * gdb.base/gcore.exp
12051 * gdb.base/gdb1250.exp
12052 * gdb.base/global-var-nested-by-dso.exp
12053 * gdb.base/gnu-ifunc.exp
12054 * gdb.base/hashline1.exp
12055 * gdb.base/hashline2.exp
12056 * gdb.base/hashline3.exp
12057 * gdb.base/hbreak-in-shr-unsupported.exp
12058 * gdb.base/huge.exp
12059 * gdb.base/infcall-input.exp
12060 * gdb.base/info-fun.exp
12061 * gdb.base/info-shared.exp
12062 * gdb.base/jit-simple.exp
12063 * gdb.base/jit-so.exp
12064 * gdb.base/jit.exp
12065 * gdb.base/jump.exp
12066 * gdb.base/label.exp
12067 * gdb.base/lineinc.exp
12068 * gdb.base/logical.exp
12069 * gdb.base/longjmp.exp
12070 * gdb.base/macscp.exp
12071 * gdb.base/miscexprs.exp
12072 * gdb.base/new-ui-echo.exp
12073 * gdb.base/new-ui-pending-input.exp
12074 * gdb.base/new-ui.exp
12075 * gdb.base/nodebug.exp
12076 * gdb.base/nofield.exp
12077 * gdb.base/offsets.exp
12078 * gdb.base/overlays.exp
12079 * gdb.base/pending.exp
12080 * gdb.base/pointers.exp
12081 * gdb.base/pr11022.exp
12082 * gdb.base/printcmds.exp
12083 * gdb.base/prologue.exp
12084 * gdb.base/ptr-typedef.exp
12085 * gdb.base/realname-expand.exp
12086 * gdb.base/relativedebug.exp
12087 * gdb.base/relocate.exp
12088 * gdb.base/remote.exp
12089 * gdb.base/reread.exp
12090 * gdb.base/return2.exp
12091 * gdb.base/savedregs.exp
12092 * gdb.base/sep.exp
12093 * gdb.base/sepdebug.exp
12094 * gdb.base/sepsymtab.exp
12095 * gdb.base/set-inferior-tty.exp
12096 * gdb.base/setshow.exp
12097 * gdb.base/shlib-call.exp
12098 * gdb.base/sigaltstack.exp
12099 * gdb.base/siginfo-addr.exp
12100 * gdb.base/signals.exp
12101 * gdb.base/signull.exp
12102 * gdb.base/sigrepeat.exp
12103 * gdb.base/so-impl-ld.exp
12104 * gdb.base/solib-display.exp
12105 * gdb.base/solib-overlap.exp
12106 * gdb.base/solib-search.exp
12107 * gdb.base/solib-symbol.exp
12108 * gdb.base/structs.exp
12109 * gdb.base/structs2.exp
12110 * gdb.base/symtab-search-order.exp
12111 * gdb.base/twice.exp
12112 * gdb.base/unload.exp
12113 * gdb.base/varargs.exp
12114 * gdb.base/watchpoint-solib.exp
12115 * gdb.base/watchpoint.exp
12116 * gdb.base/whatis.exp
12117 * gdb.base/wrong_frame_bt_full.exp
12118 * gdb.btrace/dlopen.exp
12119 * gdb.cell/ea-standalone.exp
12120 * gdb.cell/ea-test.exp
12121 * gdb.cp/dispcxx.exp
12122 * gdb.cp/gdb2384.exp
12123 * gdb.cp/method2.exp
12124 * gdb.cp/nextoverthrow.exp
12125 * gdb.cp/pr10728.exp
12126 * gdb.disasm/am33.exp
12127 * gdb.disasm/h8300s.exp
12128 * gdb.disasm/mn10300.exp
12129 * gdb.disasm/sh3.exp
12130 * gdb.dwarf2/dw2-dir-file-name.exp
12131 * gdb.fortran/complex.exp
12132 * gdb.fortran/library-module.exp
12133 * gdb.guile/scm-pretty-print.exp
12134 * gdb.guile/scm-symbol.exp
12135 * gdb.guile/scm-type.exp
12136 * gdb.guile/scm-value.exp
12137 * gdb.linespec/linespec.exp
12138 * gdb.mi/gdb701.exp
12139 * gdb.mi/gdb792.exp
12140 * gdb.mi/mi-breakpoint-changed.exp
12141 * gdb.mi/mi-dprintf-pending.exp
12142 * gdb.mi/mi-dprintf.exp
12143 * gdb.mi/mi-exit-code.exp
12144 * gdb.mi/mi-pending.exp
12145 * gdb.mi/mi-solib.exp
12146 * gdb.mi/new-ui-mi-sync.exp
12147 * gdb.mi/pr11022.exp
12148 * gdb.mi/user-selected-context-sync.exp
12149 * gdb.opt/solib-intra-step.exp
12150 * gdb.python/py-events.exp
12151 * gdb.python/py-finish-breakpoint.exp
12152 * gdb.python/py-mi.exp
12153 * gdb.python/py-prettyprint.exp
12154 * gdb.python/py-shared.exp
12155 * gdb.python/py-symbol.exp
12156 * gdb.python/py-template.exp
12157 * gdb.python/py-type.exp
12158 * gdb.python/py-value.exp
12159 * gdb.reverse/solib-precsave.exp
12160 * gdb.reverse/solib-reverse.exp
12161 * gdb.server/solib-list.exp
12162 * gdb.stabs/weird.exp
12163 * gdb.threads/reconnect-signal.exp
12164 * gdb.threads/stepi-random-signal.exp
12165 * gdb.trace/actions.exp
12166 * gdb.trace/ax.exp
12167 * gdb.trace/backtrace.exp
12168 * gdb.trace/change-loc.exp
12169 * gdb.trace/deltrace.exp
12170 * gdb.trace/ftrace-lock.exp
12171 * gdb.trace/ftrace.exp
12172 * gdb.trace/infotrace.exp
12173 * gdb.trace/mi-tracepoint-changed.exp
12174 * gdb.trace/packetlen.exp
12175 * gdb.trace/passcount.exp
12176 * gdb.trace/pending.exp
12177 * gdb.trace/range-stepping.exp
12178 * gdb.trace/report.exp
12179 * gdb.trace/stap-trace.exp
12180 * gdb.trace/tfind.exp
12181 * gdb.trace/trace-break.exp
12182 * gdb.trace/trace-condition.exp
12183 * gdb.trace/trace-enable-disable.exp
12184 * gdb.trace/trace-mt.exp
12185 * gdb.trace/tracecmd.exp
12186 * gdb.trace/tspeed.exp
12187 * gdb.trace/tsv.exp
12188 * lib/perftest.exp
12189
fb9feb35
LM
121902016-12-01 Luis Machado <lgustavo@codesourcery.com>
12191
12192 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
12193 with gdb_test_no_output.
12194 Use command as test name.
12195
cd2ddb6c
LM
121962016-12-01 Luis Machado <lgustavo@codesourcery.com>
12197
12198 Fix test names starting with uppercase throughout the files.
12199
12200 * gdb.ada/assign_1.exp
12201 * gdb.ada/boolean_expr.exp
12202 * gdb.base/arrayidx.exp
12203 * gdb.base/del.exp
12204 * gdb.base/gcore-buffer-overflow.exp
12205 * gdb.base/testenv.exp
12206 * gdb.compile/compile.exp
12207 * gdb.python/py-framefilter-invalidarg.exp
12208 * gdb.python/py-framefilter.exp
12209
bb95117e
LM
122102016-12-01 Luis Machado <lgustavo@codesourcery.com>
12211
12212 Fix test names starting with uppercase throughout the files.
12213
12214 * gdb.ada/array_return.exp
12215 * gdb.ada/expr_delims.exp
12216 * gdb.ada/mi_dyn_arr.exp
12217 * gdb.ada/mi_interface.exp
12218 * gdb.ada/mi_var_array.exp
12219 * gdb.ada/watch_arg.exp
12220 * gdb.arch/alpha-step.exp
12221 * gdb.arch/altivec-regs.exp
12222 * gdb.arch/e500-regs.exp
12223 * gdb.arch/powerpc-d128-regs.exp
12224 * gdb.base/arrayidx.exp
12225 * gdb.base/break.exp
12226 * gdb.base/checkpoint.exp
12227 * gdb.base/debug-expr.exp
12228 * gdb.base/dmsym.exp
12229 * gdb.base/radix.exp
12230 * gdb.base/sepdebug.exp
12231 * gdb.base/testenv.exp
12232 * gdb.base/watch_thread_num.exp
12233 * gdb.base/watchpoint-cond-gone.exp
12234 * gdb.cell/break.exp
12235 * gdb.cell/ea-cache.exp
12236 * gdb.compile/compile.exp
12237 * gdb.cp/gdb2495.exp
12238 * gdb.gdb/selftest.exp
12239 * gdb.gdb/xfullpath.exp
12240 * gdb.go/hello.exp
12241 * gdb.go/integers.exp
12242 * gdb.objc/basicclass.exp
12243 * gdb.pascal/hello.exp
12244 * gdb.pascal/integers.exp
12245 * gdb.python/py-breakpoint.exp
12246 * gdb.python/py-cmd.exp
12247 * gdb.python/py-linetable.exp
12248 * gdb.python/py-xmethods.exp
12249 * gdb.python/python.exp
12250 * gdb.reverse/consecutive-precsave.exp
12251 * gdb.reverse/finish-precsave.exp
12252 * gdb.reverse/i386-precsave.exp
12253 * gdb.reverse/machinestate-precsave.exp
12254 * gdb.reverse/sigall-precsave.exp
12255 * gdb.reverse/solib-precsave.exp
12256 * gdb.reverse/step-precsave.exp
12257 * gdb.reverse/until-precsave.exp
12258 * gdb.reverse/watch-precsave.exp
12259 * gdb.threads/leader-exit.exp
12260 * gdb.threads/pthreads.exp
12261 * gdb.threads/wp-replication.exp
12262 * gdb.trace/actions.exp
12263 * gdb.trace/mi-tsv-changed.exp
12264 * gdb.trace/tsv.exp
12265
de97fdd4
LM
122662016-12-01 Luis Machado <lgustavo@codesourcery.com>
12267
12268 Fix test names starting with uppercase throughout the files.
12269
12270 * gdb.arch/i386-bp_permanent.exp
12271 * gdb.arch/i386-gnu-cfi.exp
12272 * gdb.base/disasm-end-cu.exp
12273 * gdb.base/macscp.exp
12274 * gdb.base/pending.exp
12275 * gdb.base/watch_thread_num.exp
12276 * gdb.cp/exception.exp
12277 * gdb.cp/gdb2495.exp
12278 * gdb.cp/local.exp
12279 * gdb.python/py-evsignal.exp
12280 * gdb.python/python.exp
12281 * gdb.trace/tracecmd.exp
12282
9f058c10
LM
122832016-12-01 Luis Machado <lgustavo@codesourcery.com>
12284
12285 Fix test names starting with uppercase throughout the files.
12286
12287 * gdb.base/charset.exp
12288 * gdb.base/eval.exp
12289 * gdb.base/multi-forks.exp
12290 * gdb.guile/scm-progspace.exp
12291 * gdb.opencl/datatypes.exp
12292 * gdb.python/py-block.exp
12293 * gdb.python/py-function.exp
12294 * gdb.python/py-symbol.exp
12295 * gdb.python/py-symtab.exp
12296 * gdb.python/py-xmethods.exp
12297 * gdb.reverse/break-precsave.exp
12298 * gdb.reverse/break-reverse.exp
12299 * gdb.reverse/consecutive-precsave.exp
12300 * gdb.reverse/consecutive-reverse.exp
12301 * gdb.reverse/finish-precsave.exp
12302 * gdb.reverse/finish-reverse-bkpt.exp
12303 * gdb.reverse/finish-reverse.exp
12304 * gdb.reverse/fstatat-reverse.exp
12305 * gdb.reverse/getresuid-reverse.exp
12306 * gdb.reverse/i386-precsave.exp
12307 * gdb.reverse/i386-reverse.exp
12308 * gdb.reverse/i386-sse-reverse.exp
12309 * gdb.reverse/i387-stack-reverse.exp
12310 * gdb.reverse/insn-reverse.exp
12311 * gdb.reverse/machinestate-precsave.exp
12312 * gdb.reverse/machinestate.exp
12313 * gdb.reverse/next-reverse-bkpt-over-sr.exp
12314 * gdb.reverse/pipe-reverse.exp
12315 * gdb.reverse/readv-reverse.exp
12316 * gdb.reverse/recvmsg-reverse.exp
12317 * gdb.reverse/rerun-prec.exp
12318 * gdb.reverse/s390-mvcle.exp
12319 * gdb.reverse/sigall-precsave.exp
12320 * gdb.reverse/sigall-reverse.exp
12321 * gdb.reverse/solib-precsave.exp
12322 * gdb.reverse/solib-reverse.exp
12323 * gdb.reverse/step-precsave.exp
12324 * gdb.reverse/step-reverse.exp
12325 * gdb.reverse/time-reverse.exp
12326 * gdb.reverse/until-precsave.exp
12327 * gdb.reverse/until-reverse.exp
12328 * gdb.reverse/waitpid-reverse.exp
12329 * gdb.reverse/watch-precsave.exp
12330 * gdb.reverse/watch-reverse.exp
12331
cdc7edd7
LM
123322016-12-01 Luis Machado <lgustavo@codesourcery.com>
12333
12334 Fix test names starting with uppercase throughout the files.
12335
12336 * gdb.arch/i386-mpx-simple_segv.exp
12337 * gdb.arch/i386-mpx.exp
12338 * gdb.arch/i386-permbkpt.exp
12339 * gdb.arch/pa-nullify.exp
12340 * gdb.arch/powerpc-d128-regs.exp
12341 * gdb.arch/vsx-regs.exp
12342 * gdb.base/bfp-test.exp
12343 * gdb.base/break.exp
12344 * gdb.base/breakpoint-shadow.exp
12345 * gdb.base/callfuncs.exp
12346 * gdb.base/charset.exp
12347 * gdb.base/commands.exp
12348 * gdb.base/completion.exp
12349 * gdb.base/dfp-test.exp
12350 * gdb.base/echo.exp
12351 * gdb.base/ending-run.exp
12352 * gdb.base/eval.exp
12353 * gdb.base/expand-psymtabs.exp
12354 * gdb.base/float128.exp
12355 * gdb.base/floatn.exp
12356 * gdb.base/foll-exec-mode.exp
12357 * gdb.base/gdb1056.exp
12358 * gdb.base/gdb11531.exp
12359 * gdb.base/kill-after-signal.exp
12360 * gdb.base/multi-forks.exp
12361 * gdb.base/overlays.exp
12362 * gdb.base/pending.exp
12363 * gdb.base/sepdebug.exp
12364 * gdb.base/testenv.exp
12365 * gdb.base/valgrind-db-attach.exp
12366 * gdb.base/watch_thread_num.exp
12367 * gdb.base/watchpoint-cond-gone.exp
12368 * gdb.base/watchpoint.exp
12369 * gdb.base/watchpoints.exp
12370 * gdb.cp/arg-reference.exp
12371 * gdb.cp/baseenum.exp
12372 * gdb.cp/operator.exp
12373 * gdb.cp/shadow.exp
12374 * gdb.dwarf2/dw2-op-out-param.exp
12375 * gdb.dwarf2/dw2-reg-undefined.exp
12376 * gdb.go/chan.exp
12377 * gdb.go/hello.exp
12378 * gdb.go/integers.exp
12379 * gdb.go/methods.exp
12380 * gdb.go/package.exp
12381 * gdb.guile/scm-parameter.exp
12382 * gdb.guile/scm-progspace.exp
12383 * gdb.guile/scm-value.exp
12384 * gdb.mi/mi-pending.exp
12385 * gdb.mi/user-selected-context-sync.exp
12386 * gdb.multi/multi-attach.exp
12387 * gdb.multi/tids.exp
12388 * gdb.opt/clobbered-registers-O2.exp
12389 * gdb.pascal/floats.exp
12390 * gdb.pascal/integers.exp
12391 * gdb.python/py-block.exp
12392 * gdb.python/py-events.exp
12393 * gdb.python/py-parameter.exp
12394 * gdb.python/py-symbol.exp
12395 * gdb.python/py-symtab.exp
12396 * gdb.python/py-type.exp
12397 * gdb.python/py-value.exp
12398 * gdb.python/py-xmethods.exp
12399 * gdb.python/python.exp
12400 * gdb.reverse/break-precsave.exp
12401 * gdb.reverse/consecutive-precsave.exp
12402 * gdb.reverse/finish-precsave.exp
12403 * gdb.reverse/i386-precsave.exp
12404 * gdb.reverse/machinestate-precsave.exp
12405 * gdb.reverse/sigall-precsave.exp
12406 * gdb.reverse/solib-precsave.exp
12407 * gdb.reverse/step-precsave.exp
12408 * gdb.reverse/until-precsave.exp
12409 * gdb.reverse/watch-precsave.exp
12410 * gdb.server/ext-attach.exp
12411 * gdb.server/ext-restart.exp
12412 * gdb.server/ext-run.exp
12413 * gdb.server/ext-wrapper.exp
12414 * gdb.stabs/gdb11479.exp
12415 * gdb.stabs/weird.exp
12416 * gdb.threads/attach-many-short-lived-threads.exp
12417 * gdb.threads/kill.exp
12418 * gdb.threads/watchpoint-fork.exp
12419
bc6c7af4
LM
124202016-12-01 Luis Machado <lgustavo@codesourcery.com>
12421
12422 Fix test names starting with uppercase throughout all the files below.
12423
12424 * gdb.ada/array_return.exp
12425 * gdb.ada/catch_ex.exp
12426 * gdb.ada/info_exc.exp
12427 * gdb.ada/mi_catch_ex.exp
12428 * gdb.ada/mi_dyn_arr.exp
12429 * gdb.ada/mi_ex_cond.exp
12430 * gdb.ada/mi_exc_info.exp
12431 * gdb.ada/mi_interface.exp
12432 * gdb.ada/mi_task_arg.exp
12433 * gdb.ada/mi_task_info.exp
12434 * gdb.ada/mi_var_array.exp
12435 * gdb.arch/alpha-step.exp
12436 * gdb.arch/amd64-disp-step.exp
12437 * gdb.arch/arm-disp-step.exp
12438 * gdb.arch/disp-step-insn-reloc.exp
12439 * gdb.arch/e500-prologue.exp
12440 * gdb.arch/ftrace-insn-reloc.exp
12441 * gdb.arch/gdb1558.exp
12442 * gdb.arch/i386-bp_permanent.exp
12443 * gdb.arch/i386-disp-step.exp
12444 * gdb.arch/i386-float.exp
12445 * gdb.arch/i386-gnu-cfi.exp
12446 * gdb.arch/ia64-breakpoint-shadow.exp
12447 * gdb.arch/mips16-thunks.exp
12448 * gdb.arch/pa-nullify.exp
12449 * gdb.arch/powerpc-aix-prologue.exp
12450 * gdb.arch/powerpc-power.exp
12451 * gdb.arch/ppc-dfp.exp
12452 * gdb.arch/s390-tdbregs.exp
12453 * gdb.arch/spu-info.exp
12454 * gdb.arch/spu-ls.exp
12455 * gdb.arch/thumb-bx-pc.exp
12456 * gdb.base/advance.exp
12457 * gdb.base/annota-input-while-running.exp
12458 * gdb.base/arrayidx.exp
12459 * gdb.base/asmlabel.exp
12460 * gdb.base/async.exp
12461 * gdb.base/attach-wait-input.exp
12462 * gdb.base/auto-connect-native-target.exp
12463 * gdb.base/batch-preserve-term-settings.exp
12464 * gdb.base/bfp-test.exp
12465 * gdb.base/bigcore.exp
12466 * gdb.base/bp-permanent.exp
12467 * gdb.base/break-always.exp
12468 * gdb.base/break-fun-addr.exp
12469 * gdb.base/break-idempotent.exp
12470 * gdb.base/break-main-file-remove-fail.exp
12471 * gdb.base/break-probes.exp
12472 * gdb.base/break-unload-file.exp
12473 * gdb.base/break.exp
12474 * gdb.base/call-ar-st.exp
12475 * gdb.base/call-rt-st.exp
12476 * gdb.base/call-sc.exp
12477 * gdb.base/call-signal-resume.exp
12478 * gdb.base/call-strs.exp
12479 * gdb.base/callexit.exp
12480 * gdb.base/callfuncs.exp
12481 * gdb.base/catch-gdb-caused-signals.exp
12482 * gdb.base/catch-signal-siginfo-cond.exp
12483 * gdb.base/catch-syscall.exp
12484 * gdb.base/compare-sections.exp
12485 * gdb.base/cond-eval-mode.exp
12486 * gdb.base/condbreak-call-false.exp
12487 * gdb.base/consecutive-step-over.exp
12488 * gdb.base/cursal.exp
12489 * gdb.base/disabled-location.exp
12490 * gdb.base/disasm-end-cu.exp
12491 * gdb.base/display.exp
12492 * gdb.base/double-prompt-target-event-error.exp
12493 * gdb.base/dprintf-bp-same-addr.exp
12494 * gdb.base/dprintf-detach.exp
12495 * gdb.base/dprintf-next.exp
12496 * gdb.base/dprintf-non-stop.exp
12497 * gdb.base/dprintf-pending.exp
12498 * gdb.base/dso2dso.exp
12499 * gdb.base/ending-run.exp
12500 * gdb.base/enum_cond.exp
12501 * gdb.base/examine-backward.exp
12502 * gdb.base/exe-lock.exp
12503 * gdb.base/exec-invalid-sysroot.exp
12504 * gdb.base/execl-update-breakpoints.exp
12505 * gdb.base/execution-termios.exp
12506 * gdb.base/fileio.exp
12507 * gdb.base/fixsection.exp
12508 * gdb.base/foll-exec-mode.exp
12509 * gdb.base/foll-exec.exp
12510 * gdb.base/fork-running-state.exp
12511 * gdb.base/frame-args.exp
12512 * gdb.base/fullpath-expand.exp
12513 * gdb.base/func-ptr.exp
12514 * gdb.base/gcore-relro-pie.exp
12515 * gdb.base/gdb1090.exp
12516 * gdb.base/gdb1555.exp
12517 * gdb.base/global-var-nested-by-dso.exp
12518 * gdb.base/gnu-ifunc.exp
12519 * gdb.base/hbreak-in-shr-unsupported.exp
12520 * gdb.base/hbreak-unmapped.exp
12521 * gdb.base/hook-stop.exp
12522 * gdb.base/infcall-input.exp
12523 * gdb.base/info-fun.exp
12524 * gdb.base/info-shared.exp
12525 * gdb.base/interrupt-noterm.exp
12526 * gdb.base/jit-so.exp
12527 * gdb.base/jit.exp
12528 * gdb.base/line-symtabs.exp
12529 * gdb.base/list.exp
12530 * gdb.base/longjmp.exp
12531 * gdb.base/macscp.exp
12532 * gdb.base/max-value-size.exp
12533 * gdb.base/nodebug.exp
12534 * gdb.base/nofield.exp
12535 * gdb.base/overlays.exp
12536 * gdb.base/paginate-after-ctrl-c-running.exp
12537 * gdb.base/paginate-bg-execution.exp
12538 * gdb.base/paginate-inferior-exit.exp
12539 * gdb.base/pending.exp
12540 * gdb.base/pr11022.exp
12541 * gdb.base/printcmds.exp
12542 * gdb.base/ptr-typedef.exp
12543 * gdb.base/ptype.exp
12544 * gdb.base/randomize.exp
12545 * gdb.base/range-stepping.exp
12546 * gdb.base/realname-expand.exp
12547 * gdb.base/relativedebug.exp
12548 * gdb.base/remote.exp
12549 * gdb.base/savedregs.exp
12550 * gdb.base/sepdebug.exp
12551 * gdb.base/set-noassign.exp
12552 * gdb.base/shlib-call.exp
12553 * gdb.base/shreloc.exp
12554 * gdb.base/sigaltstack.exp
12555 * gdb.base/sigbpt.exp
12556 * gdb.base/siginfo-addr.exp
12557 * gdb.base/siginfo-obj.exp
12558 * gdb.base/siginfo-thread.exp
12559 * gdb.base/signest.exp
12560 * gdb.base/signull.exp
12561 * gdb.base/sigrepeat.exp
12562 * gdb.base/skip.exp
12563 * gdb.base/so-impl-ld.exp
12564 * gdb.base/solib-corrupted.exp
12565 * gdb.base/solib-disc.exp
12566 * gdb.base/solib-display.exp
12567 * gdb.base/solib-overlap.exp
12568 * gdb.base/solib-search.exp
12569 * gdb.base/solib-symbol.exp
12570 * gdb.base/source-execution.exp
12571 * gdb.base/sss-bp-on-user-bp-2.exp
12572 * gdb.base/sss-bp-on-user-bp.exp
12573 * gdb.base/stack-checking.exp
12574 * gdb.base/stale-infcall.exp
12575 * gdb.base/step-break.exp
12576 * gdb.base/step-line.exp
12577 * gdb.base/step-over-exit.exp
12578 * gdb.base/step-test.exp
12579 * gdb.base/structs.exp
12580 * gdb.base/sym-file.exp
12581 * gdb.base/symtab-search-order.exp
12582 * gdb.base/term.exp
12583 * gdb.base/type-opaque.exp
12584 * gdb.base/unload.exp
12585 * gdb.base/until-nodebug.exp
12586 * gdb.base/until.exp
12587 * gdb.base/unwindonsignal.exp
12588 * gdb.base/watch-cond.exp
12589 * gdb.base/watch-non-mem.exp
12590 * gdb.base/watch_thread_num.exp
12591 * gdb.base/watchpoint-reuse-slot.exp
12592 * gdb.base/watchpoint-solib.exp
12593 * gdb.base/watchpoint.exp
12594 * gdb.btrace/dlopen.exp
12595 * gdb.cell/arch.exp
12596 * gdb.cell/break.exp
12597 * gdb.cell/bt.exp
12598 * gdb.cell/core.exp
12599 * gdb.cell/data.exp
12600 * gdb.cell/dwarfaddr.exp
12601 * gdb.cell/ea-cache.exp
12602 * gdb.cell/ea-standalone.exp
12603 * gdb.cell/ea-test.exp
12604 * gdb.cell/f-regs.exp
12605 * gdb.cell/fork.exp
12606 * gdb.cell/gcore.exp
12607 * gdb.cell/mem-access.exp
12608 * gdb.cell/ptype.exp
12609 * gdb.cell/registers.exp
12610 * gdb.cell/sizeof.exp
12611 * gdb.cell/solib-symbol.exp
12612 * gdb.cell/solib.exp
12613 * gdb.compile/compile-tls.exp
12614 * gdb.cp/exception.exp
12615 * gdb.cp/gdb2495.exp
12616 * gdb.cp/local.exp
12617 * gdb.cp/mb-inline.exp
12618 * gdb.cp/mb-templates.exp
12619 * gdb.cp/pr10687.exp
12620 * gdb.cp/pr9167.exp
12621 * gdb.cp/scope-err.exp
12622 * gdb.cp/templates.exp
12623 * gdb.cp/virtfunc.exp
12624 * gdb.dwarf2/dw2-dir-file-name.exp
12625 * gdb.dwarf2/dw2-single-line-discriminators.exp
12626 * gdb.fortran/complex.exp
12627 * gdb.fortran/library-module.exp
12628 * gdb.guile/guile.exp
12629 * gdb.guile/scm-cmd.exp
12630 * gdb.guile/scm-frame-inline.exp
12631 * gdb.guile/scm-objfile.exp
12632 * gdb.guile/scm-pretty-print.exp
12633 * gdb.guile/scm-symbol.exp
12634 * gdb.guile/scm-type.exp
12635 * gdb.guile/scm-value.exp
12636 * gdb.linespec/keywords.exp
12637 * gdb.linespec/ls-errs.exp
12638 * gdb.linespec/macro-relative.exp
12639 * gdb.linespec/thread.exp
12640 * gdb.mi/mi-breakpoint-changed.exp
12641 * gdb.mi/mi-dprintf-pending.exp
12642 * gdb.mi/mi-fullname-deleted.exp
12643 * gdb.mi/mi-logging.exp
12644 * gdb.mi/mi-pending.exp
12645 * gdb.mi/mi-solib.exp
12646 * gdb.mi/new-ui-mi-sync.exp
12647 * gdb.mi/user-selected-context-sync.exp
12648 * gdb.multi/dummy-frame-restore.exp
12649 * gdb.multi/multi-arch-exec.exp
12650 * gdb.multi/remove-inferiors.exp
12651 * gdb.multi/watchpoint-multi-exit.exp
12652 * gdb.opt/solib-intra-step.exp
12653 * gdb.perf/backtrace.exp
12654 * gdb.perf/single-step.exp
12655 * gdb.perf/skip-command.exp
12656 * gdb.perf/skip-prologue.exp
12657 * gdb.perf/solib.exp
12658 * gdb.python/lib-types.exp
12659 * gdb.python/py-as-string.exp
12660 * gdb.python/py-bad-printers.exp
12661 * gdb.python/py-block.exp
12662 * gdb.python/py-breakpoint.exp
12663 * gdb.python/py-cmd.exp
12664 * gdb.python/py-events.exp
12665 * gdb.python/py-evthreads.exp
12666 * gdb.python/py-finish-breakpoint.exp
12667 * gdb.python/py-finish-breakpoint2.exp
12668 * gdb.python/py-frame-inline.exp
12669 * gdb.python/py-frame.exp
12670 * gdb.python/py-inferior.exp
12671 * gdb.python/py-infthread.exp
12672 * gdb.python/py-mi.exp
12673 * gdb.python/py-objfile.exp
12674 * gdb.python/py-pp-maint.exp
12675 * gdb.python/py-pp-registration.exp
12676 * gdb.python/py-prettyprint.exp
12677 * gdb.python/py-recurse-unwind.exp
12678 * gdb.python/py-shared.exp
12679 * gdb.python/py-symbol.exp
12680 * gdb.python/py-symtab.exp
12681 * gdb.python/py-template.exp
12682 * gdb.python/py-type.exp
12683 * gdb.python/py-unwind-maint.exp
12684 * gdb.python/py-unwind.exp
12685 * gdb.python/py-value.exp
12686 * gdb.python/python.exp
12687 * gdb.reverse/finish-reverse-bkpt.exp
12688 * gdb.reverse/insn-reverse.exp
12689 * gdb.reverse/next-reverse-bkpt-over-sr.exp
12690 * gdb.reverse/solib-precsave.exp
12691 * gdb.reverse/solib-reverse.exp
12692 * gdb.stabs/gdb11479.exp
12693 * gdb.stabs/weird.exp
12694 * gdb.threads/fork-child-threads.exp
12695 * gdb.threads/fork-plus-threads.exp
12696 * gdb.threads/fork-thread-pending.exp
12697 * gdb.threads/forking-threads-plus-breakpoint.exp
12698 * gdb.threads/hand-call-in-threads.exp
12699 * gdb.threads/interrupted-hand-call.exp
12700 * gdb.threads/linux-dp.exp
12701 * gdb.threads/local-watch-wrong-thread.exp
12702 * gdb.threads/next-while-other-thread-longjmps.exp
12703 * gdb.threads/non-ldr-exit.exp
12704 * gdb.threads/pending-step.exp
12705 * gdb.threads/print-threads.exp
12706 * gdb.threads/process-dies-while-detaching.exp
12707 * gdb.threads/process-dies-while-handling-bp.exp
12708 * gdb.threads/pthreads.exp
12709 * gdb.threads/queue-signal.exp
12710 * gdb.threads/reconnect-signal.exp
12711 * gdb.threads/signal-command-handle-nopass.exp
12712 * gdb.threads/signal-command-multiple-signals-pending.exp
12713 * gdb.threads/signal-delivered-right-thread.exp
12714 * gdb.threads/signal-sigtrap.exp
12715 * gdb.threads/sigthread.exp
12716 * gdb.threads/staticthreads.exp
12717 * gdb.threads/stepi-random-signal.exp
12718 * gdb.threads/thread-unwindonsignal.exp
12719 * gdb.threads/thread_check.exp
12720 * gdb.threads/thread_events.exp
12721 * gdb.threads/tid-reuse.exp
12722 * gdb.threads/tls-nodebug.exp
12723 * gdb.threads/tls-shared.exp
12724 * gdb.threads/tls-so_extern.exp
12725 * gdb.threads/tls.exp
12726 * gdb.threads/wp-replication.exp
12727 * gdb.trace/actions-changed.exp
12728 * gdb.trace/actions.exp
12729 * gdb.trace/backtrace.exp
12730 * gdb.trace/change-loc.exp
12731 * gdb.trace/collection.exp
12732 * gdb.trace/deltrace.exp
12733 * gdb.trace/disconnected-tracing.exp
12734 * gdb.trace/entry-values.exp
12735 * gdb.trace/ftrace-lock.exp
12736 * gdb.trace/ftrace.exp
12737 * gdb.trace/infotrace.exp
12738 * gdb.trace/mi-trace-frame-collected.exp
12739 * gdb.trace/mi-trace-unavailable.exp
12740 * gdb.trace/mi-traceframe-changed.exp
12741 * gdb.trace/mi-tracepoint-changed.exp
12742 * gdb.trace/mi-tsv-changed.exp
12743 * gdb.trace/no-attach-trace.exp
12744 * gdb.trace/packetlen.exp
12745 * gdb.trace/passc-dyn.exp
12746 * gdb.trace/passcount.exp
12747 * gdb.trace/pending.exp
12748 * gdb.trace/pr16508.exp
12749 * gdb.trace/qtro.exp
12750 * gdb.trace/range-stepping.exp
12751 * gdb.trace/read-memory.exp
12752 * gdb.trace/report.exp
12753 * gdb.trace/save-trace.exp
12754 * gdb.trace/signal.exp
12755 * gdb.trace/stap-trace.exp
12756 * gdb.trace/status-stop.exp
12757 * gdb.trace/strace.exp
12758 * gdb.trace/tfile.exp
12759 * gdb.trace/tfind.exp
12760 * gdb.trace/trace-break.exp
12761 * gdb.trace/trace-condition.exp
12762 * gdb.trace/trace-enable-disable.exp
12763 * gdb.trace/trace-mt.exp
12764 * gdb.trace/tracecmd.exp
12765 * gdb.trace/tracefile-pseudo-reg.exp
12766 * gdb.trace/tspeed.exp
12767 * gdb.trace/tstatus.exp
12768 * gdb.trace/tsv.exp
12769 * gdb.trace/unavailable.exp
12770 * gdb.trace/while-dyn.exp
12771 * gdb.trace/while-stepping.exp
12772 * lib/gdb-guile.exp
12773 * lib/gdb.exp
12774 * lib/mi-support.exp
12775 * lib/pascal.exp
12776 * lib/perftest.exp
12777 * lib/prelink-support.exp
12778 * lib/selftest-support.exp
12779
ad02e4fe
SM
127802016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
12781
12782 * Makefile.in: Include disable-implicit-rules.mk.
12783
22347e55
AA
127842016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12785
12786 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
12787 non-byte-aligned bit fields.
12788
da5b30da
AA
127892016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12790
12791 PR gdb/12616
12792 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
12793 respects the DW_AT_data_bit_offset attribute.
12794
b593ecca
SM
127952016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
12796
12797 * gdb.base/default.exp: Fix output of "set language".
12798
3b165252
SM
127992016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
12800
12801 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
12802 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
12803 make.
12804 * configure.ac: Remove checks for the make program.
12805 * configure: Re-generate.
12806
1a2f3d7f
KB
128072016-11-16 Kevin Buettner <kevinb@redhat.com>
12808
12809 * gdb.python/py-recurse-unwind.c (main): Add loop.
12810 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
12811 to read_register() and gdb.parse_and_eval(). Make each code
12812 call a separate case that can be individually tested.
12813 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
12814 proc. Call cont_and_backtrace for each of the code paths that
12815 we want to test in the unwinder.
12816
b7f38fda
AA
128172016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
12818
12819 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
12820 the definition of struct S.
12821
1f8db343
CM
128222016-11-11 Catherine Moore <clm@codesourcery.com>
12823
12824 * gdb.base/dump.exp: Identify verilog format dump tests as such.
12825
fad0c9fb
PA
128262016-11-09 Pedro Alves <palves@redhat.com>
12827
12828 * gdb.base/commands.exp (runto_or_return): New procedure.
12829 (gdbvar_simple_if_test, gdbvar_simple_while_test)
12830 (gdbvar_complex_if_while_test, progvar_simple_if_test)
12831 (progvar_simple_while_test, progvar_complex_if_while_test)
12832 (if_while_breakpoint_command_test)
12833 (infrun_breakpoint_command_test, breakpoint_command_test)
12834 (user_defined_command_test, watchpoint_command_test)
12835 (test_command_prompt_position, redefine_hook_test)
12836 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
12837 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
12838 multi_line_input and multi_line. Remove gdb_expect and
12839 gdb_stop_suppressing_tests uses.
12840 * lib/gdb.exp (valnum_re): New global.
12841 (multi_line_input): New procedure.
12842
8354c62c
SM
128432016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
12844
12845 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
12846 Remove.
12847 (test_setup): Define with proc_with_prefix.
12848 (test_cli_inferior): Likewise.
12849 (test_cli_thread): Likewise.
12850 (test_cli_frame): Likewise.
12851 (test_cli_select_frame): Likewise.
12852 (test_cli_up_down): Likewise.
12853 (test_mi_thread_select): Likewise.
12854 (test_mi_stack_select_frame): Likewise.
12855 (test_cli_in_mi_inferior): Likewise.
12856 (test_cli_in_mi_thread): Likewise.
12857 (test_cli_in_mi_frame): Likewise.
12858 (top level): Do not use with_test_prefix_procname.
12859
64f367a2
PA
128602016-11-09 Pedro Alves <palves@redhat.com>
12861
12862 * gdb.base/commands.exp (gdbvar_simple_if_test)
12863 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
12864 (progvar_simple_if_test, progvar_simple_while_test)
12865 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
12866 (infrun_breakpoint_command_test, breakpoint_command_test)
12867 (user_defined_command_test, watchpoint_command_test)
12868 (test_command_prompt_position, deprecated_command_test)
12869 (bp_deleted_in_command, temporary_breakpoint_commands)
12870 (stray_arg0_test, source_file_with_indented_comment)
12871 (recursive_source_test, if_commands_test)
12872 (error_clears_commands_left, redefine_hook_test)
12873 (redefine_backtrace_test): Use proc_with_prefix.
12874 * lib/gdb.exp (proc_with_prefix): New proc.
12875
0bb65f1e
AA
128762016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
12877
12878 * gdb.base/tui-layout.c: New file.
12879 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
12880 disassembly window contains very long lines.
12881
7353f247
TT
128822016-11-08 Tom Tromey <tom@tromey.com>
12883
12884 * gdb.python/py-value.exp (test_value_creation): Make "long" test
12885 depend on Python 2.
12886
30a7bb83
TT
128872016-11-08 Tom Tromey <tom@tromey.com>
12888
12889 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
12890 New method.
12891
cdf5a07c
MG
128922016-10-29 Manish Goregaokar <manish@mozilla.com>
12893
2806dc7e 12894 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 12895
51a789c3
MG
128962016-10-27 Manish Goregaokar <manish@mozilla.com>
12897
2806dc7e
PA
12898 * gdb.rust/simple.rs: Add test for univariant enums without
12899 discriminants and for encoded struct-like enums.
51a789c3 12900
f610ab6d
PA
129012016-10-28 Pedro Alves <palves@redhat.com>
12902
12903 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
12904 gdb_test_multiple, tighten regexps and match symtabs and line
12905 tables incrementally.
12906
b129b0ca
LM
129072016-10-28 Luis Machado <lgustavo@codesourcery.com>
12908
12909 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
12910 general.
12911
ecf45d2c
SL
129122016-10-25 Luis Machado <lgustavo@codesourcery.com>
12913
12914 * gdb.base/exec-invalid-sysroot.exp: New file.
12915
b8d38ee4
JK
129162016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12917
12918 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
12919
f90fd8c2
JK
129202016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12921
12922 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
12923
2d2476aa
MR
129242016-10-19 Maciej W. Rozycki <macro@imgtec.com>
12925
2806dc7e
PA
12926 * gdb.base/killed-outside.exp: Remove $options from a call to
12927 `prepare_for_testing'.
2d2476aa 12928
e42b25a0
SM
129292016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12930
12931 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
12932 Change test message.
12933
3ccdb432
SM
129342016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12935
12936 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
12937 Update comment.
12938
5bad3170
SM
129392016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12940
12941 * gdb.trace/mi-trace-save.exp: New file.
12942
5ad9dba7
YQ
129432016-10-13 Yao Qi <yao.qi@linaro.org>
12944
12945 * gdb.base/code_elim.exp (get_var_address): Remove.
12946 * gdb.base/relocate.exp: Likewise.
12947 * gdb.base/shreloc.exp: Likewise.
12948 * lib/gdb.exp (get_var_address): New.
12949
62df7e21
YQ
129502016-10-13 Yao Qi <yao.qi@linaro.org>
12951
12952 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
12953 floating point tests if $skip_float_test is false.
12954
4dac951e
LM
129552016-10-12 Luis Machado <lgustavo@codesourcery.com>
12956
12957 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
12958 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
12959 argc values.
12960 Add 1 to argc so we guarantee distinct initial/modified argc values.
12961
8f1a8fc4
JK
129622016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12963
12964 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
12965
16c85b5d
JK
129662016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12967
12968 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
12969 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
12970 * gdb.arch/vsx-regs.exp: Likewise.
12971
1d0e042a
YQ
129722016-10-07 Yao Qi <yao.qi@linaro.org>
12973
12974 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
12975
68dadef5
MM
129762016-10-07 Markus Metzger <markus.t.metzger@intel.com>
12977
12978 * gdb.python/python.exp: Test decode_line("*0").
12979
33fa2c6e
DE
129802016-10-06 Doug Evans <dje@google.com>
12981
12982 * gdb.python/py-value.exp (test_value_creation): Add test for large
12983 unsigned 64-bit value.
12984
9c37b5ae
TT
129852016-10-06 Tom Tromey <tom@tromey.com>
12986
12987 * gdb.compile/compile.exp: Change java tests to rust.
12988 * gdb.base/setshow.exp: Change java tests to rust.
12989 * gdb.base/default.exp: Remove java from language list.
12990 * README (Examples): Update language example.
12991 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
12992 test.
12993 * lib/gdb.exp (skip_java_tests): Remove.
12994 * lib/java.exp: Remove.
12995 * gdb.java: Remove.
12996
78b86327
MR
129972016-10-06 Maciej W. Rozycki <macro@imgtec.com>
12998
12999 * gdb.arch/mips-fcr.exp: New test.
13000 * gdb.arch/mips-fcr.c: Source for the new test.
13001
7470adbb
MR
130022016-10-06 Maciej W. Rozycki <macro@imgtec.com>
13003
13004 * gdb.base/solib-disc.exp: Use `standard_output_file'
13005 throughout.
13006
4a556533
PA
130072016-10-06 Pedro Alves <palves@redhat.com>
13008
13009 * gdb.base/jit-simple-dl.c: New file.
13010 * gdb.base/jit-simple-jit.c: New file, factored out from ...
13011 * gdb.base/jit-simple.c: ... this.
13012 * gdb.base/jit-simple.exp (jit_run): Delete.
13013 (build_jit): New proc.
13014 (jit_test_reread): Recompile either the main program or the shared
13015 library, depending on what is being tested. Skip changing address
13016 if caller wants to. Compare before/after addresses. If testing
13017 standalone, explicitly load the binary. Test "maint info
13018 breakpoints".
13019 (top level): Add "standalone vs shared lib" and "change address"
13020 vs "same address" axes.
13021
5a122fbc
PA
130222016-10-06 Pedro Alves <palves@redhat.com>
13023
13024 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
13025 call.
13026 (jit_run): Delete.
13027 (jit_test_reread): Use with_test_prefix. Reload the main binary
13028 explicitly. Compare the before/after addresses of the JIT
13029 descriptor.
13030
ee8da4b8
DE
130312016-08-15 Doug Evans <dje@google.com>
13032
13033 * gdb.xml/extra-regs.xml: Update, end field now required, default type
13034 for single bitfields is bool.
13035 * gdb.xml/tdesc-regs.exp: Ditto.
13036
f389f6fe
JK
130372016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
13038
13039 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
13040
fdebf1a4
YQ
130412016-10-05 Yao Qi <yao.qi@linaro.org>
13042
13043 * lib/gdb.exp (support_complex_tests): Return zero if
13044 gdb_skip_float_test return true.
13045
9c36d954 130462016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 13047 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
13048
13049 PR gdb/20487
13050 * gdb.mi/user-selected-context-sync.exp: New file.
13051 * gdb.mi/user-selected-context-sync.c: New file.
13052
4034d0ff 130532016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 13054 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
13055
13056 PR gdb/20487
13057 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
13058 =thread-select-event check.
13059
a4297203
PB
130602016-09-29 Peter Bergner <bergner@vnet.ibm.com>
13061
13062 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
13063 the compulsory L operand changes.
13064 * gdb.arch/powerpc-power.s: Likewise.
13065
bb805577
JK
130662016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13067
13068 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
13069 * gdb.base/jit-attach-pie.c: New file.
13070 * gdb.base/jit-attach-pie.exp: New file.
13071
6d61dee5
PA
130722016-09-28 Pedro Alves <palves@redhat.com>
13073
13074 * gdb.base/infcall-input.c: New file.
13075 * gdb.base/infcall-input.exp: New file.
13076
f73842fc
YQ
130772016-09-22 Yao Qi <yao.qi@linaro.org>
13078
13079 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
13080 (gdb_exit): Rename it to ...
13081 (gdbserver_gdb_exit): ... Close GDBserver.
13082 (gdb_exit): New proc, call gdbserver_gdb_exit.
13083 (mi_gdb_exit): Likewise.
13084
90681dab
YQ
130852016-09-22 Yao Qi <yao.qi@linaro.org>
13086
13087 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
13088 path.
13089 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
13090 Remove duplication.
13091
9c211fd8
YQ
130922016-09-22 Yao Qi <yao.qi@linaro.org>
13093
13094 * lib/gdbserver-support.exp: Check the existence of
13095 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
13096
ad0a504f
AK
130972016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
13098
13099 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
13100
36cf1806
TT
131012016-09-21 Tom Tromey <tom@tromey.com>
13102
13103 PR gdb/20604:
13104 * gdb.base/quit.exp: New file.
13105
74172ecf
SM
131062016-09-21 Simon Marchi <simon.marchi@ericsson.com>
13107
13108 * .gitignore: New file.
13109
3d0ec882
MR
131102016-09-21 Maciej W. Rozycki <macro@imgtec.com>
13111
13112 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
13113 throughout.
13114
8193adea
AA
131152016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13116
13117 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
13118
d41a5c09
JK
131192016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13120
13121 * gdb.cp/casts.cc (decltype): Move it ...
13122 (main): ... with its call to ...
13123 * gdb.cp/casts03.cc: ... a new file.
13124 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
13125
d2dfe700
JK
131262016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13127
13128 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
13129
e2a92b16
PB
131302016-09-15 Peter Bergner <bergner@vnet.ibm.com>
13131
13132 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
13133 and sync up the test with tests in gas/testsuite/gas/ppc.
13134 * gdb.arch/powerpc-power.exp: Likewise.
13135
49b4de64
JK
131362016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13137
13138 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
13139
2c29df25
SDJ
131402016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
13141 Jan Kratochvil <jan.kratochvil@redhat.com>
13142
13143 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
13144 make m1's definition to be different from m2's. Use 'dummy' as an
13145 argument for probe 'two'.
13146
cc3c2846
JB
131472016-09-10 Jon Beniston <jon@beniston.com>
13148
13149 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
13150 for sim target.
13151
e1b2624a
AA
131522016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
13153
13154 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
13155 variable declaration.
13156 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
13157 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
13158 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
13159 received HWCAP as its argument.
13160
4295e285
PA
131612016-09-06 Pedro Alves <palves@redhat.com>
13162
13163 * gdb.base/new-ui-pending-input.c: New file.
13164 * gdb.base/new-ui-pending-input.exp: New file.
13165 * gdb.exp (clear_gdb_spawn_id): New procedure.
13166 (with_spawn_id): Check whether gdb_spawn_id exists before
13167 referencing it. If gdb_spawn_id didn't exist on entry, clear it
13168 on exit.
13169
00d5215e
UW
131702016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
13171
13172 * gdb.base/float128.c: New file.
13173 * gdb.base/float128.exp: Likewise.
13174 * gdb.base/floatn.c: Likewise.
13175 * gdb.base/floatn.exp: Likewise.
13176
a9ff5f12
UW
131772016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
13178
13179 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
13180
f245535c
PA
131812016-09-05 Pedro Alves <palves@redhat.com>
13182
13183 PR backtrace/19927
13184 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
13185 unwinders are immediately called as side effect of "source" or
13186 "disable unwinder" commands.
13187 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
13188
ae9cf263
YQ
131892016-09-02 Yao Qi <yao.qi@linaro.org>
13190
13191 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
13192 is true and $type is "float" or "double".
13193
27aba047
YQ
131942016-09-02 Yao Qi <yao.qi@linaro.org>
13195
13196 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
13197 true.
13198 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
13199 * gdb.base/call-rt-st.exp: Likewise.
13200 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
13201 return value instead of gdb,skip_float_test.
13202 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
13203 (do_function_calls): Use its return value instead of
13204 gdb,skip_float_test.
13205 * gdb.base/finish.exp: Likewise.
13206 * gdb.base/funcargs.exp: Likewise.
13207 * gdb.base/return.exp: Likewise.
13208 * gdb.base/return2.exp: Likewise.
13209 * gdb.base/varargs.exp: Likewise.
13210 * lib/gdb.exp (gdb_skip_float_test): Change it to
13211 gdb_caching_proc. Detect the broken ptrace on arm-linux.
13212
5af962df
AA
132132016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
13214
13215 * gdb.multi/tids.exp: Test "thread apply all".
13216
7fac6910
JK
132172016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13218
13219 * gdb.base/default.exp (tty): Remove.
13220
bb1fe4ac
KB
132212016-08-24 Kevin Buettner <kevinb@redhat.com>
13222
2806dc7e
PA
13223 * gdb.python/py-recurse-unwind.c: New file.
13224 * gdb.python/py-recurse-unwind.py: New file.
13225 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 13226
0a1ddfa6
SM
132272016-08-24 Simon Marchi <simon.marchi@ericsson.com>
13228
13229 * gdb.base/set-inferior-tty.exp: New file.
13230 * gdb.base/set-inferior-tty.c: New file.
13231
d9de1fe3
PA
132322016-08-23 Pedro Alves <palves@redhat.com>
13233
13234 PR gdb/20494
13235 * gdb.base/new-ui-echo.c: New file.
13236 * gdb.base/new-ui-echo.exp: New file.
13237
e9d9abd7
YQ
132382016-08-23 Yao Qi <yao.qi@linaro.org>
13239
13240 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
13241 gdbserver_spawn.
13242 * gdb.server/connect-without-multi-process.exp (do_test):
13243 Likewise.
13244
3589529e
YQ
132452016-08-23 Yao Qi <yao.qi@linaro.org>
13246
13247 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
13248 standalone_txt. Delete gdb_txt and standalone_txt on host
13249 and target. Spawn the binary on target. Copy files from
13250 target to host.
13251
6bb90213
PA
132522016-08-22 Pedro Alves <palves@redhat.com>
13253
13254 PR gdb/20505
13255 * gdb.base/vdso-warning.exp: Test core dumps too. Use
13256 with_test_prefix. Factor out bits to ...
13257 (test_no_vdso): ... this new procedure.
13258
20c2c024
CL
132592016-08-19 Carl Love <cel@us.ibm.com>
13260
13261 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
13262 maintaining separate logic for constructing the output path.
13263 * gdb.arch/powerpc-d128-regs.exp: Likewise.
13264 * gdb.arch/ppc-dfp.exp: Likewise.
13265 * gdb.arch/ppc-fp.exp: Likewise.
13266 * gdb.arch/vsx-regs.exp: Likewise.
13267 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
13268 binprefix for generating the additional binary files.
13269
0646e07d
PA
132702016-08-19 Pedro Alves <palves@redhat.com>
13271
13272 * gdb.trace/mi-trace-frame-collected.exp
13273 (test_trace_frame_collected): On x32, expect two registers.
13274
46da9242
CL
132752016-08-18 Carl Love <cel@us.ibm.com>
13276
13277 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
13278 and sync up the test with tests in gas/testsuite/gas/ppc.
13279 * gdb.arch/powerpc-power.exp: Likewise.
13280
eb2332d7
SM
132812016-08-17 Simon Marchi <simon.marchi@ericsson.com>
13282
13283 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
13284 expected error message.
13285
63c61e04
SM
132862016-08-17 Simon Marchi <simon.marchi@ericsson.com>
13287
13288 * gdb.multi/remove-inferiors.exp: New file.
13289 * gdb.multi/remove-inferiors.c: New file.
13290
7b17065f
YQ
132912016-08-12 Yao Qi <yao.qi@linaro.org>
13292
13293 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
13294 argument list.
13295
01d3dedf
PA
132962016-08-10 Pedro Alves <palves@redhat.com>
13297
13298 PR gdb/19187
13299 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
13300 setup_kfails.
13301
3eb7562a
PA
133022016-08-09 Pedro Alves <palves@redhat.com>
13303 Simon Marchi <simon.marchi@ericsson.com>
13304
13305 PR gdb/20418
13306 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
13307 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
13308
80614914
PA
133092016-08-09 Pedro Alves <palves@redhat.com>
13310
13311 PR mi/20431
13312 * gdb.mi/mi-cmd-error.exp: New file.
13313
f348d89a
PA
133142016-08-09 Pedro Alves <palves@redhat.com>
13315
13316 PR gdb/18653
13317 * gdb.base/signals-state-child.c: New file.
13318 * gdb.base/signals-state-child.exp: New file.
13319 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
13320
e5ca03b4
PA
133212016-08-09 Pedro Alves <palves@redhat.com>
13322
13323 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
13324
282a0691
TT
133252016-08-03 Tom Tromey <tom@tromey.com>
13326
13327 PR python/18565:
13328 * gdb.python/py-frame-inline.exp: Add Frame.function test.
13329
41bfcd63
YQ
133302016-08-01 Yao Qi <yao.qi@linaro.org>
13331
13332 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
13333 variable mode to "multi-process" if $multi_process is 1, otherwise
13334 set it to "single-process".
13335
e3465b24
YQ
133362016-08-01 Yao Qi <yao.qi@linaro.org>
13337
13338 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
13339 * gdb.cp/cpexprs.exp: Likewise.
13340 * gdb.cp/m-static.exp: Likewise.
13341
0b31a4bc
TT
133422016-07-26 Tom Tromey <tom@tromey.com>
13343
13344 PR python/20190:
13345 * gdb.threads/tls.exp (check_thread_local): Add python symbol
13346 test.
13347
e0461dbb
MM
133482016-07-26 Markus Metzger <markus.t.metzger@intel.com>
13349
13350 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
13351 selecting assembly source files.
13352 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
13353 assembly source files.
13354 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
13355 assembly source files.
13356 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
13357 selecting assembly source files.
13358
8194e927
SM
133592016-07-25 Simon Marchi <simon.marchi@ericsson.com>
13360
13361 * gdb.base/new-ui.exp (do_test_invalid_args): New
13362 procedure.
13363
c0272db5
TW
133642016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
13365
13366 * gdb.btrace/reconnect.c: New file.
13367 * gdb.btrace/reconnect.exp: New file.
13368
e3487908
GKB
133692016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
13370
13371 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
13372 to test_catch_syscall_group.
13373 (test_catch_syscall_group): New.
13374
12df5c00
TT
133752016-07-21 Tom Tromey <tom@tromey.com>
13376
13377 * gdb.rust/simple.rs (main): Use empty struct expression.
13378 * gdb.rust/simple.exp: Add tests for empty struct expression.
13379
bae62ee2
YQ
133802016-07-21 Yao Qi <yao.qi@linaro.org>
13381
13382 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
13383 if gdb_skip_xml_test is true on some targets.
13384
b1b53fb3
YQ
133852016-07-21 Yao Qi <yao.qi@linaro.org>
13386
13387 * gdb.server/solib-list.exp: Unset last_loaded_file.
13388
027d97f8
JK
133892016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13390
13391 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
13392 "step into captured_main (args)".
13393
7674d381
JK
133942016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13395
13396 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
13397
72b5d099
JK
133982016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13399
13400 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
13401
1f960ced
PA
134022016-07-19 Pedro Alves <palves@redhat.com>
13403
13404 * gdb.opt/inline-break.exp: Remove optimize=-O2.
13405 * gdb.opt/inline-bt.exp: Likewise.
13406 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
13407 additional_flags=-Winline.
13408 * gdb.opt/inline-locals.exp: Likewise.
13409 * gdb.opt/inline-markers.c (ATTR): Define.
13410 (inlined_fn): Use it.
13411
f25827c1
YQ
134122016-07-19 Yao Qi <yao.qi@linaro.org>
13413
13414 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
13415 (test_with_self): Remove some code. Remove argument executable.
13416 (top-level): Use do_self_tests.
13417
37539ebe
DB
134182016-07-15 Zachary Welch <zwelch@codesourcery.com>
13419 Don Breazeal <donb@codesourcery.com>
13420
13421 * gdb.base/maint.exp: Escape paths used in regular expressions.
13422 * gdb.stabs/weird.exp: Likewise.
13423
dac790e1
TT
134242016-07-13 Tom Tromey <tom@tromey.com>
13425
13426 PR python/15620, PR python/18620:
13427 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
13428 (test_bkpt_events): New procs.
13429
93daf339
TT
134302016-07-13 Tom Tromey <tom@tromey.com>
13431
13432 PR python/17698:
13433 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
13434 test.
13435 (test_watchpoints): Likewise.
13436 (test_bkpt_pending): New proc.
13437
6571a381
TT
134382016-07-13 Tom Tromey <tom@tromey.com>
13439
13440 PR cli/18053:
13441 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
13442 completion test.
13443
e8732474
JK
134442016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13445
13446 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
13447 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
13448 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
13449 f_label.
13450 (g): Rename g_end_lbl to g_label.
13451 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
13452 low_pc and high_pc.
13453 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
13454
e0f3fd7c
TT
134552016-07-12 Tom Tromey <tom@tromey.com>
13456
13457 PR python/19293:
13458 * gdb.python/py-unwind-maint.exp: Update tests.
13459
3cfe46b6
YQ
134602016-07-12 Yao Qi <yao.qi@linaro.org>
13461
13462 * lib/selftest-support.exp (selftest_setup): Match the output
13463 when captured_main is inlined.
13464
4f19a0e6
WT
134652016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
13466
13467 * gdb.fortran/derived-types.exp (result_line, result_line_2):
13468 New variables.
13469 (print this%a, print this%b, print this): New tests.
13470 * gdb.fortran/derived-types.f90 (this): New object and
13471 initialization.
13472
986cf455
SM
134732016-07-06 Simon Marchi <simon.marchi@ericsson.com>
13474
13475 * gdb.ada/arraydim.exp: Remove extra directory level in build
13476 directory.
13477
f0464b23
SM
134782016-07-06 Simon Marchi <simon.marchi@ericsson.com>
13479
13480 * lib/ada.exp: Remove extra directory level in build directory.
13481 * gdb.ada/cond_lang.exp: Likewise.
13482 * gdb.ada/exec_changed.exp: Likewise.
13483 * gdb.ada/lang_switch.exp: Likewise.
13484
42d94011
MG
134852016-07-06 Manish Goregaokar <manish@mozilla.com>
13486
2806dc7e
PA
13487 * simple.rs: Add test for raw pointer subscripting.
13488 * simple.exp: Add test expectations.
42d94011 13489
647c264c
YQ
134902016-07-05 Yao Qi <yao.qi@linaro.org>
13491
13492 * gdb.mi/mi-reverse.exp: Match =record-started output.
13493
20aa2c60
PA
134942016-07-01 Pedro Alves <palves@redhat.com>
13495
13496 * gdb.base/jit-reader.exp (info_registers_current_frame): New
13497 procedure.
13498 (jit_reader_test): Test the jit reader's unwinder.
13499 * gdb.base/jithost.c (jit_function_00_code): New global.
13500 (main): Use memcpy to fill in the mmapped code, instead of poking
13501 bytes manually here.
13502 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
13503 value.
13504 (read_debug_info): Save the function's range.
13505 (read_sp): New function.
13506 (unwind_frame): Use it. Also unwind RBP.
13507 (get_frame_id): Use read_sp.
13508 (gdb_init_reader): Use calloc instead of malloc.
13509 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
13510 parameter. Use gdb_test_multiple.
13511
ced2dffb
PA
135122016-07-01 Pedro Alves <palves@redhat.com>
13513 Antoine Tremblay <antoine.tremblay@ericsson.com>
13514
13515 * gdb.threads/process-dies-while-detaching.c: New file.
13516 * gdb.threads/process-dies-while-detaching.exp: New file.
13517
63000888
PA
135182016-07-01 Pedro Alves <palves@redhat.com>
13519
13520 * gdb.multi/watchpoint-multi-exit.c: New file.
13521 * gdb.multi/watchpoint-multi-exit.exp: New file.
13522
038d4868
PA
135232016-06-30 Pedro Alves <palves@redhat.com>
13524
13525 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
13526 unset inferior_spawn_id.
13527
994e9c83
PA
135282016-06-30 Pedro Alves <palves@redhat.com>
13529
13530 * lib/mi-support.exp (default_mi_gdb_start): Declare global
13531 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
13532
e5653468
YQ
135332016-06-29 Yao Qi <yao.qi@linaro.org>
13534
13535 * gdb.base/return.c: Add copyright header.
13536
803b47e5
TT
135372016-06-29 Tom Tromey <tom@tromey.com>
13538
13539 PR python/20129:
13540 * gdb.python/py-framefilter.exp: Add tests for setting priority
13541 and disabling of non-existent frame filter.
13542
28244707
YQ
135432016-06-29 Yao Qi <yao.qi@linaro.org>
13544
13545 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
13546 0x0f07ff.
13547
a31d2f06
YQ
135482016-06-28 Yao Qi <yao.qi@linaro.org>
13549
13550 * gdb.base/catch-syscall.exp: Remove check on isnative and target
13551 triplets. Start gdb, execute catch syscall, and continue. Check
13552 gdb's output to determine catch syscall is supported.
13553
921d8f54
MG
135542016-06-27 Manish Goregaokar <manish@mozilla.com>
13555
25d49b86
PA
13556 * gdb.rust/simple.rs: Add test for returning unit in a function.
13557 * gdb.rust/simple.exp: Add expectation for functions returning
13558 unit.
921d8f54 13559
f4952523
PMR
135602016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
13561
13562 * gdb.python/py-breakpoint-create-fail.c,
13563 gdb.python/py-breakpoint-create-fail.exp,
13564 gdb.python/py-breakpoint-create-fail.py: New testcase.
13565
fccb08f8
MG
135662016-06-25 Manish Goregaokar <manish@mozilla.com>
13567
13568 PR gdb/20239
13569 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
13570 * gdb.rust/simple.exp: Add test expectations for new NonZero
13571 tests.
fccb08f8 13572
6b850546
DT
135732016-06-24 David Taylor <dtaylor@emc.com>
13574
13575 * gdb.base/offsets.exp: New file.
13576 * gdb.base/offsets.c: New file.
13577
17621150
TT
135782016-06-23 Tom Tromey <tom@tromey.com>
13579
13580 PR gdb/16483:
13581 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
13582 before any filters are loaded.
13583
04d59df6
WT
135842016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
13585
13586 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
13587 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
13588 structs.
13589 * gdb.fortran/derived-type-function.exp: New file.
13590 * gdb.fortran/derived-type-function.f90: New file.
13591
13592
ac69f786
PA
135932016-06-21 Pedro Alves <palves@redhat.com>
13594
13595 * gdb.base/new-ui.exp: New file.
13596 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
13597 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
13598 (with_spawn_id): New procedure.
13599
49940788
PA
136002016-06-21 Pedro Alves <palves@redhat.com>
13601
13602 * gdb.mi/mi-exec-run.exp: New file.
13603
ef274d26
PA
136042016-06-21 Pedro Alves <palves@redhat.com>
13605
13606 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
13607 breakpoint command's output on the main UI.
13608 (test_break): New procedure, factored out from calls in the top
13609 level.
13610 (top level): Use foreach_with_prefix to test MI as main UI and as
13611 separate UI.
13612
468afe6c
PA
136132016-06-21 Pedro Alves <palves@redhat.com>
13614
13615 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
13616 (test_awatch_creation_and_listing)
13617 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
13618 Remove 'type' parameter.
13619 (test_watchpoint_all): New parameter mi_mode. Remove
13620 with_test_prefix.
13621 (top level): Use foreach_with_prefix, and add main/separate UI MI
13622 testing axis.
13623
51f77c37
PA
136242016-06-21 Pedro Alves <palves@redhat.com>
13625
13626 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
13627 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
13628 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
13629 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
13630 (gdb_main_spawn_id, mi_spawn_id): Declare and
13631 comment.
13632 (mi_create_inferior_pty): New procedure,
13633 factored out from default_mi_gdb_start.
13634 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
13635 procedures.
13636 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
13637 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
13638 Use mi_create_inferior_pty.
13639 (mi_gdb_start): Use eval to pass down args list.
13640
8980e177
PA
136412016-06-21 Pedro Alves <palves@redhat.com>
13642
13643 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
13644 * gdb.opt/inline-cmds.exp: Add MI tests.
13645
f38d3ad1
PA
136462016-06-21 Pedro Alves <palves@redhat.com>
13647
13648 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
13649
45db7c09
PA
136502016-06-21 Pedro Alves <palves@redhat.com>
13651
13652 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
13653 (top level): Use it instead of mi_execute_to.
13654
5a069ab3
PA
136552016-06-21 Pedro Alves <palves@redhat.com>
13656
13657 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
13658 (cont_handler_str): New.
13659 (signal_stop_handler): Set stop_handler_str instead of printing to
13660 stdout.
13661 (continue_handler): Set cont_handler_str instead of printing to
13662 stdout.
13663 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
13664 mi_send_resuming_command. Print stop_handler_str and
13665 cont_handler_str instead of expecting the python events print
13666 directly.
13667
2838cc1d
SD
136682016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
13669
13670 * gdb.base/jit-reader.exp: New file.
13671 * gdb.base/jithost.c: New file.
13672 * gdb.base/jithost.h: New file.
13673 * gdb.base/jitreader.c : New file.
13674 * gdb.base/jit-protocol.h: New file.
13675
21a77091
YQ
136762016-06-17 Yao Qi <yao.qi@linaro.org>
13677
13678 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
13679 parameters follow_fork and detach_on_fork. Set follow-fork-mode
13680 and detach-on-fork. Adjust tests.
13681 (top level): Invoke break_cond_on_syscall with combinations of
13682 syscall, follow-fork-mode and detach-on-fork.
13683
f50bf8e5
YQ
136842016-06-17 Yao Qi <yao.qi@linaro.org>
13685
13686 * gdb.base/step-over-exit.c: New.
13687 * gdb.base/step-over-exit.exp: New.
13688
a28d8e50
YTL
136892016-06-17 Yan-Ting Lin <currygt52@gmail.com>
13690
13691 * gdb.base/float.exp: Add target check for nds32*-*-*.
13692 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
13693
cad8e26d
AB
136942016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
13695
13696 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
13697 for unsupported target features.
13698 * gdb.base/call-rt-st.exp: Likewise.
13699 * gdb.base/call-sc.exp: Likewise.
13700 * gdb.base/call-signal-resume.exp: Likewise.
13701 * gdb.base/call-strs.exp: Likewise.
13702 * gdb.base/callexit.exp: Likewise.
13703 * gdb.base/callfuncs.exp: Likewise.
13704 * gdb.base/nodebug.exp: Likewise.
13705 * gdb.base/printcmds.exp: Likewise.
13706 * gdb.base/ptype.exp: Likewise.
13707 * gdb.base/structs.exp: Likewise.
13708 * gdb.base/unwindonsignal.exp: Likewise.
13709 * gdb.cp/gdb2495.exp: Likewise.
13710 * gdb.cp/templates.exp: Likewise.
13711 * gdb.cp/virtfunc.exp: Likewise.
13712 * gdb.threads/hand-call-in-threads.exp: Likewise.
13713 * gdb.threads/interrupted-hand-call.exp: Likewise.
13714 * gdb.threads/thread-unwindonsignal.exp: Likewise.
13715
347dc102
TT
137162016-06-10 Tom Tromey <tom@tromey.com>
13717
13718 PR rust/20110:
13719 * gdb.rust/expr.exp: Add test for integer constant larger than
13720 i32.
13721
5e13cf25
BH
137222016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
13723
13724 * gdb.fortran/nested-funcs.exp: New.
13725 * gdb.fortran/nested-funcs.f90: New.
13726
bb556f1f
TK
137272016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
13728
13729 * gdb.base/examine-backward.c: New file.
13730 * gdb.base/examine-backward.exp: New file.
13731
38b022b4
SM
137322016-06-06 Simon Marchi <simon.marchi@ericsson.com>
13733
13734 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
13735 matching.
13736
1b40ec05
TT
137372016-06-02 Tom Tromey <tom@tromey.com>
13738
13739 PR python/18984:
13740 * gdb.python/py-shared.exp: Add solib_name test.
13741
193bd378
SM
137422016-06-02 Simon Marchi <simon.marchi@ericsson.com>
13743
13744 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
13745
3326303b
MG
137462016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
13747
13748 PR c++/19893
13749 * gdb.dwarf2/implref.exp: Rename to...
13750 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
13751 * gdb.dwarf2/implref-array.c: New file.
13752 * gdb.dwarf2/implref-array.exp: Likewise.
13753 * gdb.dwarf2/implref-global.c: Likewise.
13754 * gdb.dwarf2/implref-global.exp: Likewise.
13755 * gdb.dwarf2/implref-struct.c: Likewise.
13756 * gdb.dwarf2/implref-struct.exp: Likewise.
13757
825c8ef2
AT
137582016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13759
13760 * gdb.trace/trace-condition.exp: Add 64bit tests.
13761
2320162a
AT
137622016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13763
13764 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
13765 bits types.
13766 (main): Adapt to 8 to 64 bits types.
13767 * gdb.trace/trace-condition.exp: Add new tests.
13768
a7818233
AT
137692016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13770
13771 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
13772
0d336466
AT
137732016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13774
13775 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
13776 Move condition tests...
13777 * gdb.trace/trace-condition.exp: Here.
13778
7faeb45a
AT
137792016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13780
13781 * gdb.trace/trace-condition.exp: Add counter-case tests.
13782
e385593e
JK
137832016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13784
13785 PR c++/15231
13786 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
13787 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
13788
744608cc
PA
137892016-05-27 Pedro Alves <palves@redhat.com>
13790
13791 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
13792 New procedure.
13793 (top level): Call it, and bail out of DejaGnu is known to be bad.
13794
ac775bf4
AB
137952016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
13796
13797 * gdb.base/whatis.c: Extend the test case.
13798 * gdb.base/whatis.exp: Add additional tests.
13799
2bbad2ea
BH
138002016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13801
13802* gdb.fortran/type.f90: Add pointer variable.
13803* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
13804
8b70175d
BH
138052016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13806
13807 * gdb.fortran/vla-type.exp: Fix testcase name.
13808
86d8a848
BH
138092016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13810
13811 * gdb.fortran/vla-type.exp: Access elements in nested structs.
13812
e188eb36
BH
138132016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13814
13815 * gdb.fortran/type.f90: Add nested structures.
13816 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
13817 * gdb.fortran/derived-type.exp: Adapt expected output.
13818 * gdb.fortran/vla-type.exp: Adapt expected output.
13819
9b2db1fd
BH
138202016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13821
13822 * gdb.fortran/whatis_type.exp: Adapt expected output.
13823
72b17055
BH
138242016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13825
13826 * gdb.fortran/print_type.exp: Fix expected output.
13827 * gdb.fortran/whatis_type.exp: Fix expected output.
13828
3cd81d8d
BH
138292016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13830
13831 * gdb.fortran/whatis_type.exp: Use multi_line.
13832
ddae9462
TT
138332016-05-24 Tom Tromey <tom@tromey.com>
13834
13835 PR python/17386:
13836 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
13837 use value as an index.
13838
1957f6b8
TT
138392016-05-23 Tom Tromey <tom@tromey.com>
13840
13841 PR python/17981:
13842 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
13843 no-breakpoint case.
13844
026a9174
PA
138452016-05-24 Pedro Alves <palves@redhat.com>
13846
13847 PR gdb/19828
13848 * gdb.threads/clone-attach-detach.c: New file.
13849 * gdb.threads/clone-attach-detach.exp: New file.
13850
e70a7231
FR
138512016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
13852
13853 * gdb.base/annota-input-while-running.exp: Fix syntax error.
13854
0f6ed0e0
TT
138552016-05-23 Tom Tromey <tom@tromey.com>
13856
13857 PR python/19438, PR python/18393:
13858 * gdb.python/py-progspace.exp: Add "dir" test.
13859 * gdb.python/py-objfile.exp: Add "dir" test.
13860
ffd19d61
YQ
138612016-05-23 Yao Qi <yao.qi@linaro.org>
13862
13863 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
13864 * gdb.arch/thumb2-it.exp: Likewise.
13865
9e8f9b05
SM
138662016-05-18 Simon Marchi <simon.marchi@ericsson.com>
13867
13868 * gdb.mi/mi-threads-interrupt.c: New file.
13869 * gdb.mi/mi-threads-interrupt.exp: New file.
13870
61c6156d
SM
138712016-05-17 Simon Marchi <simon.marchi@ericsson.com>
13872
13873 PR gdb/18077
13874 * gdb.mi/mi-async-run.exp: New file.
13875 * gdb.mi/mi-async-run.c: New file.
13876
67218854
TT
138772016-05-17 Tom Tromey <tom@tromey.com>
13878 Manish Goregaokar <manishsmail@gmail.com>
13879
13880 * lib/rust-support.exp: New file.
13881 * lib/gdb.exp (skip_rust_tests): New proc.
13882 (build_executable_from_specs): Handle rust.
13883 * lib/future.exp (gdb_find_rustc): New proc.
13884 (gdb_default_target_compile): Handle rust.
13885 * gdb.rust/expr.exp: New file.
13886 * gdb.rust/generics.exp: New file.
13887 * gdb.rust/generics.rs: New file.
13888 * gdb.rust/methods.exp: New file.
13889 * gdb.rust/methods.rs: New file.
13890 * gdb.rust/modules.exp: New file.
13891 * gdb.rust/modules.rs: New file.
13892 * gdb.rust/simple.exp: New file.
13893 * gdb.rust/simple.rs: New file.
13894
c44af4eb
TT
138952016-05-17 Tom Tromey <tom@tromey.com>
13896
13897 * gdb.base/default.exp (set language): Add rust.
13898
dcd1f979
TT
138992016-05-17 Tom Tromey <tom@tromey.com>
13900
13901 * gdb.gdb/unittest.exp: New file.
13902
155b7f57
YQ
139032016-05-16 Yao Qi <yao.qi@linaro.org>
13904
13905 * gdb.base/batch-preserve-term-settings.exp: Remove variable
13906 shell_prompt. Update shell_prompt_re.
13907
8ddd5a6c
DE
139082016-05-12 Doug Evans <dje@google.com>
13909
13910 PR symtab/19999
13911 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
13912 $options when building executable.
13913 * gdb.dwarf2/fission-loclists-pie.S: New file.
13914 * gdb.dwarf2/fission-loclists-pie.exp: New file.
13915
02e370d9
SM
139162016-05-04 Simon Marchi <simon.marchi@ericsson.com>
13917
13918 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
13919 of [is_remote target],
13920
8929ad8b
SM
139212016-05-04 Simon Marchi <simon.marchi@ericsson.com>
13922
13923 * lib/gdb.exp (use_gdb_stub): New procedure.
13924
6c447423
DE
139252016-05-03 Yunlian Jiang <yunlian@google.com>
13926 Doug Evans <dje@google.com>
13927
13928 PR symtab/19914
13929 * gdb.dwarf2/dwp-sepdebug.c: New file.
13930 * gdb.dwarf2/dwp-sepdebug.exp: New file.
13931
444e826c
SM
139322016-05-02 Simon Marchi <simon.marchi@ericsson.com>
13933
13934 * gdb.base/detach.exp: Remove is_remote check.
13935
740feeaa
SM
139362016-05-02 Simon Marchi <simon.marchi@ericsson.com>
13937
13938 * gdb.base/annota-input-while-running.exp: Don't check for
13939 [is_remote target]. Enable annotations after running to main.
13940 Remove unused "set test..." line.
13941
9080ac9d
SM
139422016-04-28 Simon Marchi <simon.marchi@ericsson.com>
13943
13944 * gdb.trace/trace-enable-disable.exp: New file.
13945 * gdb.trace/trace-enable-disable.c: New file.
13946
952ebca5
SM
139472016-04-28 Simon Marchi <simon.marchi@ericsson.com>
13948
13949 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
13950 use it in info sharedlibrary test.
13951 * gdb.trace/ftrace-lock.exp: Likewise.
13952 * gdb.trace/ftrace.exp: Likewise.
13953 * gdb.trace/range-stepping.exp: Likewise.
13954 * gdb.trace/trace-break.exp: Likewise.
13955 * gdb.trace/trace-condition.exp: Likewise.
13956 * gdb.trace/trace-mt.exp: Likewise.
13957
d9019901
SM
139582016-04-27 Simon Marchi <simon.marchi@ericsson.com>
13959
13960 * lib/gdb.exp (gdb_load_shlibs): Rename to...
13961 (gdb_load_shlib): ... this.
13962 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
13963 gdb_load_shlib.
13964 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
13965 * gdb.base/ctxobj.exp: Likewise.
13966 * gdb.base/dprintf-pending.exp: Likewise.
13967 * gdb.base/dso2dso.exp: Likewise.
13968 * gdb.base/fixsection.exp: Likewise.
13969 * gdb.base/gcore-relro.exp: Likewise.
13970 * gdb.base/gdb1555.exp: Likewise.
13971 * gdb.base/global-var-nested-by-dso.exp: Likewise.
13972 * gdb.base/gnu-ifunc.exp: Likewise.
13973 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
13974 * gdb.base/jit-so.exp (one_jit_test): Likewise.
13975 * gdb.base/pending.exp: Likewise.
13976 * gdb.base/print-file-var.exp: Likewise.
13977 * gdb.base/print-symbol-loading.exp: Likewise.
13978 * gdb.base/shlib-call.exp: Likewise.
13979 * gdb.base/shreloc.exp: Likewise.
13980 * gdb.base/so-impl-ld.exp: Likewise.
13981 * gdb.base/solib-disc.exp: Likewise.
13982 * gdb.base/solib-nodir.exp: Likewise.
13983 * gdb.base/solib-overlap.exp: Likewise.
13984 * gdb.base/solib-symbol.exp: Likewise.
13985 * gdb.base/solib-weak.exp (do_test): Likewise.
13986 * gdb.base/sym-file.exp: Likewise.
13987 * gdb.base/symtab-search-order.exp: Likewise.
13988 * gdb.base/type-opaque.exp: Likewise.
13989 * gdb.base/unload.exp: Likewise.
13990 * gdb.base/watchpoint-solib.exp: Likewise.
13991 * gdb.compile/compile.exp: Likewise.
13992 * gdb.cp/gdb2384.exp: Likewise.
13993 * gdb.cp/infcall-dlopen.exp: Likewise.
13994 * gdb.cp/re-set-overloaded.exp: Likewise.
13995 * gdb.fortran/library-module.exp: Likewise.
13996 * gdb.opt/solib-intra-step.exp: Likewise.
13997 * gdb.python/py-finish-breakpoint.exp: Likewise.
13998 * gdb.python/py-shared.exp: Likewise.
13999 * gdb.reverse/solib-precsave.exp: Likewise.
14000 * gdb.reverse/solib-reverse.exp: Likewise.
14001 * gdb.server/solib-list.exp: Likewise.
14002 * gdb.threads/dlopen-libpthread.exp: Likewise.
14003 * gdb.threads/tls-shared.exp: Likewise.
14004 * gdb.threads/tls-so_extern.exp: Likewise.
14005 * gdb.trace/change-loc.exp: Likewise.
14006 * gdb.trace/ftrace-lock.exp: Likewise.
14007 * gdb.trace/ftrace.exp: Likewise.
14008 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
14009 * gdb.trace/pending.exp: Likewise.
14010 * gdb.trace/range-stepping.exp: Likewise.
14011 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
14012 (strace_info_marker): Likewise.
14013 (strace_probe_marker): Likewise.
14014 (strace_trace_on_same_addr): Likewise.
14015 (strace_trace_on_diff_addr): Likewise.
14016 * gdb.trace/trace-break.exp: Likewise.
14017 * gdb.trace/trace-condition.exp: Likewise.
14018 * gdb.trace/trace-mt.exp: Likewise.
14019
fca4cfd9
SM
140202016-04-27 Simon Marchi <simon.marchi@ericsson.com>
14021
14022 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
14023 result of gdb_remote_download.
14024 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
14025 * gdb.base/dso2dso.exp: Likewise.
14026 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14027 * gdb.base/print-file-var.exp: Likewise.
14028 * gdb.base/shlib-call.exp: Likewise.
14029 * gdb.base/shreloc.exp: Likewise.
14030 * gdb.base/solib-overlap.exp: Likewise.
14031 * gdb.base/solib-weak.exp (do_test): Likewise.
14032 * gdb.base/unload.exp: Likewise.
14033
11cf4ffb
YQ
140342016-04-27 Yao Qi <yao.qi@linaro.org>
14035
14036 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
14037 exists.
14038
3e2e34f8
KB
140392016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14040
14041 * vla-type.exp: Print structure from toplevel.
14042
8f07e298
BH
140432016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14044
14045 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
14046 of dynamic types.
14047 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
14048 of dynamic types.
14049
9920b434
BH
140502016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14051
14052 * gdb.fortran/vla-type.f90: New file.
14053 * gdb.fortran/vla-type.exp: New file.
14054
f3abeff5
YQ
140552016-04-25 Yao Qi <yao.qi@linaro.org>
14056
14057 * gdb.base/branch-to-self.c: New file.
14058 * gdb.base/branch-to-self.exp: New file.
14059
0a5d52f0
YQ
140602016-04-22 Yao Qi <yao.qi@linaro.org>
14061
14062 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
14063 more after $hex.
14064
495346f6
YQ
140652016-04-22 Yao Qi <yao.qi@linaro.org>
14066
14067 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
14068 * gdb.base/annota3.exp: Likewise.
14069
4a7e075c
YQ
140702016-04-22 Yao Qi <yao.qi@linaro.org>
14071
14072 * gdb.reverse/step-precsave.exp: Do one step and test program
14073 stops in "callee" and do multiple steps until program goes out
14074 of "callee".
14075 * gdb.reverse/step-reverse.exp: Likewise.
14076
5b061e98
YQ
140772016-04-22 Yao Qi <yao.qi@linaro.org>
14078
14079 * gdb.trace/signal.exp: Also pass if
14080 $tracepoint_hits($i) > $iterations.
14081
5c5dc57f
YQ
140822016-04-22 Yao Qi <yao.qi@linaro.org>
14083
14084 * gdb.trace/signal.c: New file.
14085 * gdb.trace/signal.exp: New file.
14086
a55411b9
DE
140872016-04-19 Doug Evans <xdje42@gmail.com>
14088
14089 * gdb.base/bad-file.exp: New file.
14090
a22df60a
MG
140912016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
14092
14093 * gdb.dwarf2/implref.exp: New file.
14094
0c13f7e5
BH
140952016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
14096
14097 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
14098 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
14099 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
14100 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
14101 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
14102 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
14103 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
14104 * lib/fortran.exp (fortran_int4): New procedure.
14105 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
14106 (fortran_logical4): Likewise.
14107
9b9b09e9
BH
141082016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
14109
14110 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
14111
a14d1f4d
BH
141122016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
14113
14114 * lib/compiler.c: Add Intel specific preprocessor macros.
14115 * lib/compiler.cc: Likewise.
25d49b86 14116
7d49b1d0
LM
141172016-04-13 Luis Machado <lgustavo@codesourcery.com>
14118
14119 * gdb.server/connect-with-no-symbol-file.c: New file.
14120 * gdb.server/connect-with-no-symbol-file.exp: New file.
14121
8392fa22
SM
141222016-04-13 Simon Marchi <simon.marchi@ericsson.com>
14123
14124 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
14125
8c4c4aeb
SM
141262016-04-13 Simon Marchi <simon.marchi@ericsson.com>
14127
14128 * boards/gdbserver-base.exp (${board}_download): Copy source file to
14129 standard output directory.
14130
45e3745e
AT
141312016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
14132
14133 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
14134
e26b7e41
MM
141352016-04-13 Markus Metzger <markus.t.metzger@intel.com>
14136
14137 * gdb.btrace/instruction_history.c (loop): Add declaration.
14138
8ce09462
AT
141392016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
14140
14141 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
14142
2e88a1ea
SM
141432016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
14144
14145 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
14146 parentheses to print.
14147 (continue_handler): Likewise.
14148
f48e22e3
SM
141492016-04-08 Simon Marchi <simon.marchi@ericsson.com>
14150
14151 * gdb.server/solib-list.exp: Remove is_remote check.
14152 Pass shlib= to gdb_compile. Don't link shared library with
14153 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
14154 Run binary filename through "readlink -f" on the target.
14155
096be756
PA
141562016-04-08 Pedro Alves <palves@redhat.com>
14157
14158 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
14159 interpreter filename as argument to gdbserver_spawn.
14160 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
14161 Return empty if $last_loaded_file does not exist.
14162
06500533
JK
141632016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14164
14165 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
14166 * gdb.base/jit-main.c: Use exit after usage.
14167
2d35e871
JK
141682016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14169
14170 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
14171 GDBHISTSIZE prior to the tests.
14172 * gdb.base/gdbinit-history.exp: Likewise.
14173
141742016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
14175
14176 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
14177 instead of build_executable. Use gdb_load_shlibs.
14178
c8064e7e
YQ
141792016-04-07 Yao Qi <yao.qi@linaro.org>
14180
14181 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
14182 Execute "si" command.
14183
bde47561
YQ
141842016-04-07 Yao Qi <yao.qi@linaro.org>
14185
14186 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
14187 number instead of the comments on some line.
14188
b16f8a3b
DB
141892016-04-06 Don Breazeal <donb@codesourcery.com>
14190
14191 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
14192 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
14193
c2f901df
SM
141942016-04-06 Simon Marchi <simon.marchi@ericsson.com>
14195
14196 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
14197 standard_output_file. Remove unused binfile variable.
14198
ac17fda0
CU
141992016-04-05 Catalin Udma <catalin.udma@freescale.com>
14200
14201 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
14202 * gdb.python/py-mi-objfile.exp: Match "list main" output
14203 in console format.
14204
03a8c4df
SM
142052016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
14206
14207 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
14208 absolute.
14209
6e774b13
SM
142102016-04-05 Simon Marchi <simon.marchi@ericsson.com>
14211
14212 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
14213 absolute.
14214 * gdb.trace/ftrace.exp: Likewise.
14215 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
14216 targets as well.
14217 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
14218 (gdb_load_shlibs): Copy libraries to test directory when testing
14219 natively. Only set solib-search-path if testing remotely.
14220 * lib/mi-support.exp (mi_load_shlibs): Likewise.
14221
7817ea46
SM
142222016-04-05 Simon Marchi <simon.marchi@ericsson.com>
14223
14224 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
14225 gdb_download. Use it even if the target is not remote.
14226 * gdb.base/jit.exp (compile_jit_test): Likewise.
14227 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
14228 output directory if the destination board is local, otherwise use
14229 the standard remote_download from DejaGnu.
14230 (gdb_download): Remove.
14231 (gdb_load_shlibs): Use gdb_remote_download instead of
14232 gdb_download.
14233 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
14234 Use gdb_remote_download instead of gdb_download. Use it even if
14235 the target is not remote.
14236 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
14237 instead of gdb_download.
14238
7beb7f68
SM
142392016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
14240
14241 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
14242 (test_insert_delete_modify): Call mi_load_shlibs before trying to
14243 run.
14244
cc63428a
AV
142452016-04-01 Artemiy Volkov <artemiyv@acm.org>
14246
14247 PR gdb/19820
14248 * gdb.base/printcmds.exp: Add artificial arrays tests.
14249
64cdf930
PA
142502016-03-31 Pedro Alves <palves@redhat.com>
14251
14252 PR gdb/19858
14253 * gdb.base/jit-main.c: Include unistd.h.
14254 (ATTACH): Define to 0 if not already defined.
14255 (wait_for_gdb, mypid): New globals.
14256 (WAIT_FOR_GDB): New macro.
14257 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
14258 some breakpoint locations.
14259 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
14260 New procedures.
14261 (one_jit_test): Add REATTACH parameter, and handle it. Use
14262 continue_to_test_location.
14263 (top level): Test attach, and adjusts calls to one_jit_test.
14264
40dea8cb
PA
142652016-03-31 Pedro Alves <palves@redhat.com>
14266
14267 PR gdb/19858
14268 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
14269 BINSUFFIX parameter, and handle it.
14270 (top level): Adjust calls compile_jit_test.
14271
e7ea3ec7
CU
142722016-03-31 Catalin Udma <catalin.udma@freescale.com>
14273
14274 PR python/19743
14275 * gdb.python/py-mi-events-gdb.py: New file.
14276 * gdb.python/py-mi-events.c: New file.
14277 * gdb.python/py-mi-events.exp: New file.
14278
e6359af3
YQ
142792016-03-30 Yao Qi <yao.qi@linaro.org>
14280
14281 * gdb.reverse/until-precsave.exp: Match function name only.
14282 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
14283 Move malloc to a condition block.
14284 * gdb.reverse/until-reverse.exp: Match function name only.
14285
a4105d04
MK
142862016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
14287
14288 * gdb.trace/ftrace.exp: Set arg0exp for s390.
14289 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
14290 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
14291 variable for GPR 0 instead of assuming it is register 0.
14292 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
14293 * lib/trace-support.exp: Add s390 registers.
14294
bfa6adb9
YQ
142952016-03-29 Yao Qi <yao.qi@linaro.org>
14296
14297 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
14298
1e6697ea
YQ
142992016-03-24 Yao Qi <yao.qi@linaro.org>
14300
14301 * gdb.reverse/break-reverse.exp: Add quotation mark in the
14302 test message.
14303
64bcd522
AA
143042016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14305
14306 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
14307 maintaining separate logic for constructing the output path.
14308
7868401b
DB
143092016-03-16 Don Breazeal <donb@codesourcery.com>
14310
14311 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
14312 Retry fork and waitpid on interrupted system call errors.
14313 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14314 Use with_timeout_factor to increase timeout by factor of 10.
14315
1cafadb4
DB
143162016-03-15 Don Breazeal <donb@codesourcery.com>
14317
14318 * gdb.cp/scope-err.cc: New test program.
14319 * gdb.cp/scope-err.exp: New test script.
14320 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
14321 lines and "set breakpoint here" comment.
14322 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
14323 Fixed some whitespace and format issues.
14324 * gdb.mi/mi-linespec-err-cp.cc: New test program.
14325 * gdb.mi/mi-linespec-err-cp.exp: New test script.
14326
81516450
DE
143272016-03-15 Doug Evans <dje@google.com>
14328
14329 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
14330 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
14331 All callers updated. Add tests for enums, mixed flags register.
14332
aa52b601
DE
143332016-03-15 Doug Evans <dje@google.com>
14334
14335 * gdb.base/skip.c (main): Call test_skip_file_and_function.
14336 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
14337
fa4ff313
SM
143382016-03-14 Simon Marchi <simon.marchi@ericsson.com>
14339
14340 * gdb.base/default.exp: Add $_as_string to the list of expected
14341 convenience functions.
14342
f2403c39
AB
143432016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
14344
14345 * gdb.base/maint.exp: New tests for 'maint info line-table'.
14346
f2f3ccb9
SM
143472016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
14348
14349 * gdb.python/py-as-string.exp: New file.
14350 * gdb.python/py-as-string.c: New file.
14351
00dbd492
PA
143522016-03-09 Pedro Alves <palves@redhat.com>
14353
14354 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
14355 signal" -> "Thread NN received signal" output change.
14356 * gdb.threads/ia64-sigill.exp: Likewise.
14357 * gdb.threads/linux-dp.exp: Likewise.
14358 * gdb.threads/manythreads.exp: Likewise.
14359 * gdb.threads/pending-step.exp: Likewise.
14360 * gdb.threads/print-threads.exp: Likewise.
14361 * gdb.threads/sigstep-threads.exp: Likewise.
14362 * gdb.threads/staticthreads.exp: Likewise.
14363 * gdb.threads/tls.exp: Likewise.
14364
1e6697ea
YQ
143652016-03-09 Pedro Alves <palves@redhat.com>
14366
14367 * gdb.base/command-line-input.exp: New file.
14368
b04fd3be
MK
143692016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14370
14371 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
14372 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
14373 * gdb.trace/pending.exp: Accept leading dot before function name.
14374 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
14375 * lib/trace-support.exp: Set registers for ppc.
14376
98fa59e9
MK
143772016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14378
14379 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
14380 use it for disassembly; accept .main in addition to main in backtrace.
14381
f77198c8
MK
143822016-03-09 Wei-cheng Wang <cole945@gmail.com>
14383 Marcin Kościelnicki <koriakin@0x04.net>
14384
14385 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
14386 (gdb_recursion_test_ptr): New global variable.
14387 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
14388 gdb_recursion_test.
14389 (gdb_c_test): Ditto.
14390
ba84e0da
MK
143912016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14392
14393 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
14394 ordering.
14395
4366d36e
MK
143962016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14397
14398 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
14399 (bar): Add bar_start_lbl label.
14400 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
14401 of foo/bar for emitting DWARF and tracing.
14402
5eb264df
SDJ
144032016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
14404
14405 * analyze-racy-logs.py: Set executable bit.
14406
fb6a751f
SDJ
144072016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
14408
14409 * Makefile.in (DEFAULT_RACY_ITER): New variable.
14410 (CHECK_TARGET_TMP): Likewise.
14411 (check-single-racy): New rule.
14412 (check-parallel-racy): Likewise.
14413 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
14414 (do-check-parallel-racy): New rule.
14415 (check-racy/%.exp): Likewise.
14416 * README (Racy testcases): New section.
14417 * analyze-racy-logs.py: New file.
14418
bdf7e230
DE
144192016-03-03 Doug Evans <dje@google.com>
14420
14421 * gdb.base/skip.exp: Use with_test_prefix.
14422
4719d415
YQ
144232016-03-03 Yao Qi <yao.qi@linaro.org>
14424
14425 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
14426 Invoke step_over_syscall "clone" and break_cond_on_syscall
14427 "clone".
14428 * gdb.base/step-over-clone.c: New file.
14429
ea507862
YQ
144302016-03-03 Yao Qi <yao.qi@linaro.org>
14431
14432 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
14433 code format.
14434
8fc8cbda
YQ
144352016-03-03 Yao Qi <yao.qi@linaro.org>
14436
14437 * gdb.base/disp-step-fork.c: Rename to ...
14438 * gdb.base/step-over-fork.c: ... it. New file.
14439 * gdb.base/disp-step-vfork.c: Rename to ...
14440 * gdb.base/step-over-vfork.c: ... it. New file.
14441 * gdb.base/disp-step-syscall.exp: Rename to ...
14442 * gdb.base/step-over-syscall.exp: ... it. New file.
14443 (disp_step_cross_syscall): Rename to ...
14444 (step_over_syscall): ... it.
14445
92fa70b0
YQ
144462016-03-03 Yao Qi <yao.qi@linaro.org>
14447
14448 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
14449 If target supports condition evaluation on target, invoke
14450 break_cond_on_syscall for fork and vfork.
14451
e197ad3c
YQ
144522016-03-03 Yao Qi <yao.qi@linaro.org>
14453
14454 * gdb.base/disp-step-syscall.exp: Don't invoke
14455 support_displaced_stepping.
14456 (disp_step_cross_syscall): Test with displaced stepping off and
14457 on if supported.
14458
0b47da9f
YQ
144592016-03-03 Yao Qi <yao.qi@linaro.org>
14460
14461 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
14462 proc.
14463 (setup): New proc.
14464 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
14465 and setup.
14466
065ab6dc
BH
144672016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14468
14469 * gdb.fortran/vla-history.exp: Remove breakpoint.
14470
07e448ad 144712016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14472
25d49b86
PA
14473 * gdb.fortran/vla-history.exp: Lookup array elements and printing
14474 exceeds timeout.
07e448ad 14475
9ac2d526 144762016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14477
25d49b86
PA
14478 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
14479 breakpoint.
9ac2d526 14480
17807369
BH
144812016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14482
14483 * gdb.mi/vla.f90: Nullify pointer after declaration.
14484
86e501af
PA
144852016-03-01 Pedro Alves <palves@redhat.com>
14486
14487 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
14488
1e903e32
PA
144892016-03-01 Pedro Alves <palves@redhat.com>
14490
14491 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
14492 before anything else.
14493 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
14494 _GNU_SOURCE here.
14495 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
14496 before anything else.
14497 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
14498
6ccb54e2
PA
144992016-03-01 Pedro Alves <palves@redhat.com>
14500
14501 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
14502
30ca9da1
YQ
145032016-03-01 Yao Qi <yao.qi@linaro.org>
14504
14505 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
14506 prepare_for_testing.
14507
dc856b38
YQ
145082016-03-01 Yao Qi <yao.qi@linaro.org>
14509
14510 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
14511
4a932159
AA
145122016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
14513
14514 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
14515 manually constructing the output path.
14516
f2489477
AA
145172016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
14518
14519 * gdb.arch/s390-stackless.S: New.
14520 * gdb.arch/s390-stackless.exp: New.
14521
38899f16
IB
145222016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
14523
14524 * gdb.dlang/circular.c: New file.
14525 * gdb.dlang/circular.exp: New file.
14526
9fde51ed
YQ
145272016-02-26 Yao Qi <yao.qi@linaro.org>
14528
14529 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
14530 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
14531 (testcases): Update.
14532
ce90fefe
YQ
145332016-02-26 Yao Qi <yao.qi@linaro.org>
14534
14535 * gdb.reverse/aarch64.c: Rename to ...
14536 * gdb.reverse/insn-reverse.c: ... it.
14537 * gdb.reverse/aarch64.exp: Rename to ...
14538 * gdb.reverse/insn-reverse.exp: ... it.
14539
3263bceb
YQ
145402016-02-26 Yao Qi <yao.qi@linaro.org>
14541
14542 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
14543 (testcase_ftype): New.
14544 (testcases): New array.
14545 (n_testcases): New.
14546 (main): Call each element in testcases.
14547 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
14548 (read_testcase): New.
14549 Do the tests in a loop.
14550
6cb59ff1
YQ
145512016-02-25 Yao Qi <yao.qi@linaro.org>
14552
14553 * gdb.base/branches.c: Remove.
14554
ae91f625
MK
145552016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14556
14557 PR gdb/13808
14558 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
14559
678b48b7
MK
145602016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14561
14562 * gdb.trace/ftrace.exp: Remove unnecessary target check.
14563
7337a6f2
MK
145642016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14565
14566 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
14567 change x86_64 call_insn to 'callq'.
14568
861ca91f
AT
145692016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14570
14571 * gdb.trace/tfile-avx.c: Move to...
14572 * gdb.trace/tracefile-pseudo-reg.c: Here.
14573 * gdb.trace/tfile-avx.exp: Move to...
14574 * gdb.trace/tracefile-pseudo-reg.exp: Here.
14575
bf74e428
GB
145762016-02-24 Gary Benson <gbenson@redhat.com>
14577
14578 * gdb.base/attach-pie-noexec.exp: Do not expect an error
14579 message on attach.
14580
cce0e923
DE
145812016-02-23 Doug Evans <dje@google.com>
14582
14583 * gdb.base/skip.c (test_skip): New function.
14584 (end_test_skip_file_and_function): New function.
14585 (test_skip_file_and_function): New function.
14586 * gdb.base/skip1.c (test_skip): New function.
14587 (skip1_test_skip_file_and_function): New function.
14588 * gdb.base/skip.exp: Add tests for new skip options.
14589 * gdb.base/skip-solib.exp: Update expected output.
14590 * gdb.perf/skip-command.cc: New file.
14591 * gdb.perf/skip-command.exp: New file.
14592 * gdb.perf/skip-command.py: New file.
14593
4000e47e
MK
145942016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
14595
14596 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
14597 info registers pattern.
14598
24f75ead
IB
145992016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
14600
14601 * lib/future.exp: Add D support.
14602 (gdb_find_gdc): New proc.
14603 (gdb_default_target_compile): Add D support.
14604
fbb7bcbe
WW
146052016-02-18 Wei-cheng Wang <cole945@gmail.com>
14606
14607 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
14608 user+system time.
14609 (trace_speed_test): Determine the iteration count for a time
14610 between 15..30 seconds.
14611
012b3a21
WT
146122016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
14613
14614 * gdb.arch/i386-mpx-sigsegv.c: New file.
14615 * gdb.arch/i386-mpx-sigsegv.exp: New file.
14616 * gdb.arch/i386-mpx-simple_segv.c: New file.
14617 * gdb.arch/i386-mpx-simple_segv.exp: New file.
14618
2d5189bd
YQ
146192016-02-18 Yao Qi <yao.qi@linaro.org>
14620
14621 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14622 Don't call setup_kfail.
14623
40fb20d0
YQ
146242016-02-18 Yao Qi <yao.qi@linaro.org>
14625
14626 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14627 Set "set breakpoint condition-evaluation" per $cond_bp_target.
14628
21b1f8d2
DE
146292016-02-16 Doug Evans <dje@google.com>
14630
14631 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
14632 * gdb.base/skip1.c: Ditto.
14633 * gdb.base/skip.exp: Whitespace cleanup.
14634
4041ed77
DB
146352016-02-16 Don Breazeal <donb@codesourcery.com>
14636
14637 PR remote/19496
14638 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14639 Remove kfail for PR remote/19496.
14640
c4ef31bf
SM
146412016-02-16 Simon Marchi <simon.marchi@ericsson.com>
14642
14643 * lib/gdb.exp (standard_temp_file): Return a path specific to
14644 the runtest invocation.
14645
266b65b3
SM
146462016-02-16 Simon Marchi <simon.marchi@ericsson.com>
14647
14648 * gdb.trace/save-trace.exp: Change relative path to be in the
14649 standard output directory.
14650
a7a0a6a9
JK
146512016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14652
14653 * gdb.arch/i386-prologue.c: Add missing prototypes.
14654
c99dbb42
JK
146552016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14656
14657 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
14658 * gdb.arch/i386-prologue.exp: Likewise.
14659 * gdb.arch/i386-size.exp: Likewise.
14660
aa480355
SM
146612016-02-15 Simon Marchi <simon.marchi@ericsson.com>
14662
14663 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
14664 define object file path.
14665 * gdb.btrace/gcore.exp: Use standard_output_file to define core
14666 file path.
14667 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
14668 standard_output_file to define binfile.
14669
ba881f50
JK
146702016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14671
14672 Fix compatibility with recent gfortran-5.3.1.
14673 * gdb.fortran/vla-history.exp (print vla1 allocated)
14674 (print vla2 allocated, print $2, print $3): Remove
14675 (print $4): Rename to ...
14676 (print $2): ... here.
14677 (print $9): Rename to ...
14678 (print $5): ... here.
14679 (print $10): Rename to ...
14680 (print $6): ... here.
14681 * gdb.fortran/vla.f90: Add pvla initialization.
14682
e9fb005c
JK
146832016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14684
14685 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
14686 New test.
14687 * gdb.fortran/vla-value-sub.exp: Likewise.
14688
e44e00ff
MK
146892016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
14690
14691 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
14692
97e94151
SM
146932016-02-12 Simon Marchi <simon.marchi@ericsson.com>
14694
14695 * i386-biarch-core.exp: Define corefile using
14696 standard_output_file.
14697
01113bc1
YQ
146982016-02-12 Yao Qi <yao.qi@linaro.org>
14699
14700 * gdb.arch/arm-single-step-kernel-helper.c: New.
14701 * gdb.arch/arm-single-step-kernel-helper.exp: New.
14702
33b4777c
MM
147032016-02-12 Markus Metzger <markus.t.metzger@intel.com>
14704
14705 * gdb.btrace/tailcall-only.exp: New.
14706 * gdb.btrace/tailcall-only.c: New.
14707 * gdb.btrace/x86_64-tailcall-only.S: New.
14708 * gdb.btrace/i686-tailcall-only.S: New.
14709
acc23c11
PA
147102016-02-11 Pedro Alves <palves@redhat.com>
14711
14712 * README (Parallel testing): Add missing double quotes.
14713
e352bf0a
PA
147142016-02-11 Pedro Alves <palves@redhat.com>
14715
14716 * README (Parallel testing): New section.
14717 (GDB_PARALLEL): Rewrite.
14718 (FORCE_PARALLEL): Document.
14719
9f5fed78
MK
147202016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
14721
14722 * gdb.trace/tfile-avx.c: New test.
14723 * gdb.trace/tfile-avx.exp: New test.
14724
9ef9e6a6
KS
147252016-02-09 Keith Seitz <keiths@redhat.com>
14726
14727 PR breakpoints/19546
14728 * gdb.base/infcall-exec.c: New file.
14729 * gdb.base/infcall-exec2.c: New file.
14730 * gdb.base/infcall-exec.exp: New file.
14731
a96e36da
KS
147322016-02-09 Keith Seitz <keiths@redhat.com>
14733
14734 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
14735 (toplevel): Call test_bkpt_address.
14736
9f61929f
KS
147372016-02-09 Keith Seitz <keiths@redhat.com>
14738
14739 PR python/19506
14740 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
14741 (toplevel): Call test_bkpt_address.
14742
1e94266c
SM
147432016-02-09 Simon Marchi <simon.marchi@ericsson.com>
14744
14745 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
14746 to AC_OUTPUT.
14747 * configure: Regenerate.
14748
2a7f3dff
PA
147492016-02-09 Pedro Alves <palves@redhat.com>
14750
14751 PR breakpoints/19548
14752 * gdb.base/execl-update-breakpoints.c (some_function): New
14753 function.
14754 (main): Call it.
14755 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
14756 Tighten expected GDB output.
14757
2151ccc5
SM
147582016-02-08 Simon Marchi <simon.marchi@ericsson.com>
14759
14760 * Makefile.in (ALL_SUBDIRS): Remove.
14761 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
14762 (distclean maintainer-clean realclean): Likewise.
14763 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
14764 * configure: Regenerate.
14765 * gdb.ada/Makefile.in: Delete.
14766 * gdb.arch/Makefile.in: Likewise.
14767 * gdb.asm/Makefile.in: Likewise.
14768 * gdb.base/Makefile.in: Likewise.
14769 * gdb.btrace/Makefile.in: Likewise.
14770 * gdb.cell/Makefile.in: Likewise.
14771 * gdb.compile/Makefile.in: Likewise.
14772 * gdb.cp/Makefile.in: Likewise.
14773 * gdb.disasm/Makefile.in: Likewise.
14774 * gdb.dlang/Makefile.in: Likewise.
14775 * gdb.dwarf2/Makefile.in: Likewise.
14776 * gdb.fortran/Makefile.in: Likewise.
14777 * gdb.gdb/Makefile.in: Likewise.
14778 * gdb.go/Makefile.in: Likewise.
14779 * gdb.guile/Makefile.in: Likewise.
14780 * gdb.java/Makefile.in: Likewise.
14781 * gdb.linespec/Makefile.in: Likewise.
14782 * gdb.mi/Makefile.in: Likewise.
14783 * gdb.modula2/Makefile.in: Likewise.
14784 * gdb.multi/Makefile.in: Likewise.
14785 * gdb.objc/Makefile.in: Likewise.
14786 * gdb.opencl/Makefile.in: Likewise.
14787 * gdb.opt/Makefile.in: Likewise.
14788 * gdb.pascal/Makefile.in: Likewise.
14789 * gdb.perf/Makefile.in: Likewise.
14790 * gdb.python/Makefile.in: Likewise.
14791 * gdb.reverse/Makefile.in: Likewise.
14792 * gdb.server/Makefile.in: Likewise.
14793 * gdb.stabs/Makefile.in: Likewise.
14794 * gdb.threads/Makefile.in: Likewise.
14795 * gdb.trace/Makefile.in: Likewise.
14796 * gdb.xml/Makefile.in: Likewise.
14797 * lib/gdb.exp (make_gdb_parallel_path): Add check for
14798 GDB_PARALLEL.
14799 (standard_output_file): Remove check for GDB_PARALLEL, always
14800 return path in outputs/$subdir/$testname.
14801
437277d4
SM
148022016-02-08 Simon Marchi <simon.marchi@ericsson.com>
14803
14804 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
14805 (site.exp): Assign abs_srcdir to tcl's srcdir.
14806
31d913c7
YQ
148072016-02-04 Yao Qi <yao.qi@linaro.org>
14808
14809 * gdb.base/foll-exec-mode.c: Include limits.h.
14810 (main): Add parameters argc and argv. Get directory from
14811 argv[0].
14812 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
14813 compilation.
14814 * gdb.base/foll-exec.c: Include limits.h.
14815 (main): Add parameters argc and argv.
14816 Get directory from argv[0].
14817 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
14818 Adjust tests on the number of lines as source code changed.
14819 * gdb.base/foll-vfork-exit.c: Include limits.h.
14820 (main): Add one line of statement before vfork.
14821 * gdb.base/foll-vfork.c: Include limits.h and string.h.
14822 (main): Add parameters argc and argv. Get directory from
14823 argv[0].
14824 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
14825 (setup_gdb): Set tbreak to skip some source lines.
14826 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
14827 (main): Add parameters argc and argv. Get directory from
14828 argv[0].
14829 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
14830 compilation.
14831 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
14832 (main): Add parameters argc and argv. Get directory from
14833 argv[0].
14834 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
14835 compilation.
14836
9482b9fb
DE
148372016-02-01 Doug Evans <dje@google.com>
14838
14839 * gdb.base/skip.exp: Clean up multiple references to same test name.
14840
6b2e4f10
PA
148412016-02-01 Pedro Alves <palves@redhat.com>
14842
ccb6afd6 14843 PR remote/19496
6b2e4f10
PA
14844 * gdb.threads/forking-threads-plus-breakpoint.exp
14845 (displaced_stepping_supported): New global.
14846 (probe_displaced_stepping_support): New procedure.
14847 (do_test): Add 'displaced' parameter, and use it.
14848 (top level): Check for displaced stepping support. Add displaced
14849 stepping on/off testing axis.
14850
37a8db1a
AB
148512016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
14852
14853 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
14854 pointer. Don't perform further tests on the unassociated pointer
14855 if the first test fails.
14856
5fdf6324
AB
148572016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
14858
14859 * gdb.base/max-value-size.c: New file.
14860 * gdb.base/max-value-size.exp: New file.
14861 * gdb.base/huge.exp: Disable max-value-size for this test.
14862
935c6144
IB
148632016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
14864
14865 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
14866
7fe8399d
YQ
148672016-01-28 Yao Qi <yao.qi@linaro.org>
14868
14869 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
14870
a2077e25
PA
148712016-01-25 Pedro Alves <palves@redhat.com>
14872
14873 PR threads/19461
14874 * gdb.base/fork-running-state.c: New file.
14875 * gdb.base/fork-running-state.exp: New file.
14876
1d2736d4
PA
148772016-01-25 Pedro Alves <palves@redhat.com>
14878
14879 PR gdb/19494
14880 * gdb.base/catch-fork-kill.c: New file.
14881 * gdb.base/catch-fork-kill.exp: New file.
14882
f1da4b11
PA
148832016-01-25 Pedro Alves <palves@redhat.com>
14884
14885 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
14886 Delete, moved to lib/gdb.exp.
14887 * gdb.threads/forking-threads-plus-breakpoint.exp
14888 (foreach_with_prefix): Likewise.
14889 * gdb.threads/process-dies-while-handling-bp.exp
14890 (foreach_with_prefix): Likewise.
14891 * lib/gdb.exp (foreach_with_prefix): New procedure.
14892
45f38546
MK
148932016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
14894
14895 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
14896 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
14897
dc29a1ce
MK
148982016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
14899
14900 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
14901 endian targets.
14902
092127d7
JK
149032016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14904 Pedro Alves <palves@redhat.com>
14905
14906 Fix testsuite compatibility with Guile.
14907 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
14908 number.
14909
31d765d3
JK
149102016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14911
14912 Fix testsuite compatibility with Guile.
14913 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
14914 (thread 1): New test for backtrace through signal handler.
14915
1ac78c04
YQ
149162016-01-22 Yao Qi <yao.qi@linaro.org>
14917
14918 PR testsuite/19491
14919 * gdb.base/multi-forks.c: Include
14920 ../lib/unbuffer_output.c
14921 (main): Call gdb_unbuffer_output.
14922
4f5946a8
DE
149232016-01-21 Doug Evans <dje@google.com>
14924
14925 * lib/ada.exp (gdb_compile_ada): Fix typo.
14926
305e13e6
JB
149272016-01-21 Joel Brobecker <brobecker@adacore.com>
14928
14929 * gdb.base/break-fun-addr.exp: New file.
14930 * gdb.base/break-fun-addr1.c: New file.
14931 * gdb.base/break-fun-addr2.c: New file.
14932
5f5dfff6
SM
149332016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
14934
14935 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
14936 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
14937 enum flag values.
14938
fd356fa2
AA
149392016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14940
14941 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
14942 when GDB can not set the vector return value. Add more comments
14943 for clarification.
14944
9df22175
AT
149452016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
14946
14947 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
14948 command.
14949
41d1845e
SM
149502016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14951
14952 * Makefile.in (DO_RUNTEST): Add --status and update usages.
14953
01ac6840
SM
149542016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14955
14956 * Makefile.in (check-single): Pass --status to runtest.
14957 (check/%.exp): Likewise.
14958
149592016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14960
14961 * Makefile.in (check-parallel): Propagate return code from make
14962 do-check-parallel.
14963
bd0a71fa
MK
149642016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
14965
14966 * gdb.trace/ftrace.exp: Fix expected message on continue.
14967 * gdb.trace/pending.exp: Fix expected message on continue.
14968 * gdb.trace/trace-break.exp: Fix expected message on continue.
14969
8bcbad33
SM
149702016-01-18 Simon Marchi <simon.marchi@ericsson.com>
14971
14972 * lib/gdb.exp (gdb_test): Remove unused global references.
14973
f303dbd6
PA
149742016-01-18 Pedro Alves <palves@redhat.com>
14975
14976 * gdb.base/async-shell.exp: Adjust expected output.
14977 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
14978 * gdb.base/siginfo-thread.exp: Adjust expected output.
14979 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
14980 * gdb.java/jnpe.exp: Adjust expected output.
14981 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
14982 * gdb.threads/continue-pending-status.exp: Adjust expected output.
14983 * gdb.threads/leader-exit.exp: Adjust expected output.
14984 * gdb.threads/manythreads.exp: Adjust expected output.
14985 * gdb.threads/pthreads.exp: Adjust expected output.
14986 * gdb.threads/schedlock.exp: Adjust expected output.
14987 * gdb.threads/siginfo-threads.exp: Adjust expected output.
14988 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
14989 expected output.
14990 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
14991 output.
14992 * gdb.threads/sigthread.exp: Adjust expected output.
14993 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
14994
b2789696
YQ
149952016-01-18 Yao Qi <yao.qi@linaro.org>
14996
14997 * gdb.guile/scm-section-script.c: Replace @progbits with
14998 %progbits.
14999 * gdb.python/py-section-script.c: Likewise.
15000
71ef29a8
PA
150012016-01-15 Pedro Alves <palves@redhat.com>
15002
15003 * gdb.multi/tids.exp: Test star wildcard ranges.
15004
3f5b7598
PA
150052016-01-15 Pedro Alves <palves@redhat.com>
15006
15007 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
15008 command from "thread apply" invocation.
15009 (thr_apply_info_thr_invalid): Default the expected output to the
15010 input tid list.
15011 (top level): Add tests that use convenience variables. Add tests
15012 for "thread apply" with a valid TID list, but missing the command.
15013
663f6d42
PA
150142016-01-13 Pedro Alves <palves@redhat.com>
15015
15016 * gdb.base/default.exp: Expect $_gthread as well.
15017 * gdb.multi/tids.exp: Test $_gthread.
15018 * gdb.threads/thread-specific.exp: Test $_gthread.
15019
c84f6bbf
PA
150202016-01-13 Pedro Alves <palves@redhat.com>
15021
15022 * gdb.multi/tids.exp: Test "info threads -gid".
15023
22a02324
PA
150242016-01-13 Pedro Alves <palves@redhat.com>
15025
15026 * gdb.multi/tids.exp: Test InferiorThread.global_num and
15027 Breakpoint.thread.
15028 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
15029
5d5658a1
PA
150302016-01-07 Pedro Alves <palves@redhat.com>
15031
15032 * gdb.base/break.exp: Adjust to output changes.
15033 * gdb.base/hbreak2.exp: Likewise.
15034 * gdb.base/sepdebug.exp: Likewise.
15035 * gdb.base/watch_thread_num.exp: Likewise.
15036 * gdb.linespec/keywords.exp: Likewise.
15037 * gdb.multi/info-threads.exp: Likewise.
15038 * gdb.threads/thread-find.exp: Likewise.
15039 * gdb.multi/tids.c: New file.
15040 * gdb.multi/tids.exp: New file.
15041
84654457
PA
150422016-01-13 Pedro Alves <palves@redhat.com>
15043
15044 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
15045
e3940304
PA
150462016-01-13 Pedro Alves <palves@redhat.com>
15047
15048 * gdb.base/default.exp: Expect $_inferior as well.
15049 * gdb.multi/base.exp: Test $_inferior.
15050
a911d87a
PA
150512016-01-13 Pedro Alves <palves@redhat.com>
15052
15053 PR breakpoints/19388
15054 * gdb.base/catch-signal-siginfo-cond.c: New file.
15055 * gdb.base/catch-signal-siginfo-cond.exp: New file.
15056
82075af2
JS
150572016-01-12 Josh Stone <jistone@redhat.com>
15058 Philippe Waroquiers <philippe.waroquiers@skynet.be>
15059
15060 * gdb.base/catch-syscall.c (do_execve): New variable.
15061 (main): Conditionally trigger an execve.
15062 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
15063 (test_catch_syscall_execve): New, check entry/return across execve.
15064 (do_syscall_tests): Call test_catch_syscall_execve.
15065
e46eeedd
PA
150662016-01-12 Pedro Alves <palves@redhat.com>
15067
15068 * gdb.base/random-signal.exp (do_test): New procedure, with body
15069 of testcase moved in.
15070
01d8c27e
JK
150712016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15072 Pedro Alves <palves@redhat.com>
15073
15074 * gdb.base/funcargs.exp (finish from indirectly called function):
15075 Reintroduce the case for 'First'.
15076
9a706302
JK
150772016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15078 Pedro Alves <palves@redhat.com>
15079
15080 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
15081 (tcatch_vfork_then_child_follow_exec)
15082 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
15083 identification.
15084
c0ecb95f
JK
150852016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15086
15087 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
15088 and repeats to unlimited.
15089 * gdb.python/py-value.exp: Likewise.
15090 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
15091 and repeats to unlimited.
15092
6cfc1fcb
JK
150932016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15094
15095 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
15096 and reordering the functions.
15097 * gdb.multi/hangout.c: Likewise.
15098 * gdb.multi/hello.c: Likewise.
15099
582a1b00
SM
151002016-01-08 Simon Marchi <simon.marchi@ericsson.com>
15101
15102 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
15103 absolute.
15104 (SingleStatisticTestResult.report): Use dict.keys instead of
15105 dict.iterkeys.
15106
79bc59cb
PA
151072016-01-06 Pedro Alves <palves@redhat.com>
15108
15109 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
15110
43368e1d
MM
151112016-01-04 Markus Metzger <markus.t.metzger@intel.com>
15112
15113 * gdb.btrace/dlopen.exp: New.
15114 * gdb.btrace/dlopen.c: New.
15115 * gdb.btrace/dlopen-dso.c: New.
15116
79fad5b8
SL
151172015-12-25 Sandra Loosemore <sandra@codesourcery.com>
15118
15119 * lib/gdb.exp (gdb_test): Update comments to clarify that the
15120 PATTERN argument is optional.
15121
ab8314b3
JB
151222015-12-24 Joel Brobecker <brobecker@adacore.com>
15123
15124 * lib/ada.exp (target_compile_ada_from_dir): New function.
15125 (gdb_compile_ada): Reimplement avoiding the use of project files.
15126 * gdb.ada/gnat_ada.gpr: Delete.
15127 * gdb.ada/cond_lang.exp: Adjust test to make path before
15128 filename optional.
15129 * gdb.ada/small_reg_param.exp: Likewise.
15130
fe33faff
SM
151312015-12-22 Simon Marchi <simon.marchi@ericsson.com>
15132
15133 * gdb.base/foll-vork.exp: Remove HP-UX special case.
15134
6d265cb4
TP
151352015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
15136
15137 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
15138 case.
15139
10125099
SM
151402015-12-21 Simon Marchi <simon.marchi@ericsson.com>
15141
15142 * gdb.base/break.exp: Remove dead code.
15143 * gdb.base/sepdebug.exp: Likewise.
15144
3ca22649
SM
151452015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
15146
15147 * gdb.asm/asm-source.exp: Remove HP-UX references.
15148 * gdb.base/annota1.exp: Likewise.
15149 * gdb.base/annota3.exp: Likewise.
15150 * gdb.base/attach.exp: Likewise.
15151 * gdb.base/bigcore.exp: Likewise.
15152 * gdb.base/break.exp: Likewise.
15153 * gdb.base/call-ar-st.exp: Likewise.
15154 * gdb.base/callfuncs.exp: Likewise.
15155 * gdb.base/catch-fork-static.exp: Likewise.
15156 * gdb.base/display.exp: Likewise.
15157 * gdb.base/foll-exec-mode.exp: Likewise.
15158 * gdb.base/foll-exec.exp: Likewise.
15159 * gdb.base/foll-fork.exp: Likewise.
15160 * gdb.base/foll-vfork.exp: Likewise.
15161 * gdb.base/funcargs.exp: Likewise.
15162 * gdb.base/hbreak2.exp: Likewise.
15163 * gdb.base/inferior-died.exp: Likewise.
15164 * gdb.base/interrupt.exp: Likewise.
15165 * gdb.base/multi-forks.exp: Likewise.
15166 * gdb.base/nodebug.exp: Likewise.
15167 * gdb.base/sepdebug.exp: Likewise.
15168 * gdb.base/solib1.c: Likewise.
15169 * gdb.base/step-test.exp: Likewise.
15170 * gdb.mi/non-stop.c: Likewise.
15171 * gdb.mi/pthreads.c: Likewise.
15172 * gdb.multi/bkpt-multi-exec.ex: Likewise.
15173 * gdb.threads/pthreads.c: Likewise.
15174 * gdb.threads/staticthreads.exp: Likewise.
15175 * lib/future.exp: Likewise.
15176 * lib/gdb.exp: Likewise.
15177 * gdb.base/so-indr-cl.c: Remove.
15178 * gdb.base/so-indr-cl.exp: Likewise.
15179 * gdb.base/solib.c: Likewise.
15180 * gdb.base/solib.exp: Likewise.
15181 * gdb.base/solib2.c: Likewise.
15182
b6304613
SM
151832015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
15184
15185 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
15186 * gdb.base/call-ar-st.exp: Likewise.
15187 * gdb.base/callfuncs.exp: Likewise.
15188 * gdb.base/condbreak.exp: Likewise.
15189 * gdb.base/constvars.exp: Likewise.
15190 * gdb.base/hbreak2.exp: Likewise.
15191 * gdb.base/langs.exp: Likewise.
15192 * gdb.base/list.exp: Likewise.
15193 * gdb.base/long_long.exp: Likewise.
15194 * gdb.base/ptype.exp: Likewise.
15195 * gdb.base/scope.exp: Likewise.
15196 * gdb.base/signals.exp: Likewise.
15197 * gdb.base/so-impl-ld.exp: Likewise.
15198 * gdb.base/varargs.exp: Likewise.
15199 * gdb.base/volatile.exp: Likewise.
15200 * gdb.base/whatis.exp: Likewise.
15201 * gdb.cp/cplusfuncs.exp: Likewise.
15202 * gdb.cp/inherit.exp: Likewise.
15203 * gdb.cp/local.exp: Likewise.
15204 * gdb.cp/member-ptr.exp: Likewise.
15205 * gdb.cp/method.exp: Likewise.
15206 * gdb.cp/overload.exp: Likewise.
15207 * gdb.cp/templates.exp: Likewise.
15208 * gdb.stabs/weird.exp: Likewise.
15209 * lib/compiler.c: Likewise.
15210 * lib/compiler.cc: Likewise.
15211 * lib/cp-support.exp: Likewise.
15212 * lib/gdb.exp: Likewise.
15213
bf401b07
SM
152142015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
15215
15216 * configure.ac: Remove HP-UX case.
15217 * configure: Regenerate.
15218
aff9c0f8
SM
152192015-12-18 Simon Marchi <simon.marchi@ericsson.com>
15220
15221 * lib/gdb.exp (gdb_compile): Add function doc.
15222
a6904d5a
PA
152232015-12-17 Pedro Alves <palves@redhat.com>
15224
15225 PR threads/19354
15226 * gdb.multi/info-threads.exp: New file.
15227
a22279dd
YQ
152282015-12-15 Yao Qi <yao.qi@linaro.org>
15229
15230 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
15231 is aarch64*-*-*.
15232
0588c796
SL
152332015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15234
15235 * gdb.base/history-duplicates.exp: Skip if no readline support.
15236
5d978e17
SL
152372015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15238
15239 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
15240
7e763b86
SL
152412015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15242
15243 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
15244
87a3a92c
SL
152452015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15246
15247 * gdb.base/completion.exp: Skip tests that interrupt GDB with
15248 ctrl-C if nointerrupts target property is set.
15249 * gdb.base/double-prompt-target-event-error.exp: Likewise.
15250 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
15251 * gdb.base/paginate-bg-execution.exp: Likewise.
15252 * gdb.base/paginate-execution-startup.exp: Likewise.
15253 * gdb.base/random-signal.exp: Likewise.
15254 * gdb.base/range-stepping.exp: Likewise.
15255 * gdb.cp/annota2.exp: Likewise.
15256 * gdb.cp/annota3.exp: Likewise.
15257 * gdb.gdb/selftest.exp: Likewise.
15258 * gdb.threads/continue-pending-status.exp: Likewise.
15259 * gdb.threads/leader-exit.exp: Likewise.
15260 * gdb.threads/manythreads.exp: Likewise.
15261 * gdb.threads/pthreads.exp: Likewise.
15262 * gdb.threads/schedlock.exp: Likewise.
15263 * gdb.threads/sigthread.exp: Likewise.
15264
a8f077dc
DB
152652015-12-11 Don Breazeal <donb@codesourcery.com>
15266
15267 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
15268 remote.
15269 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
15270 * gdb.base/foll-exec.exp (main): Enable for target remote.
15271 * gdb.base/foll-fork.exp (main): Likewise.
15272 * gdb.base/foll-vfork.exp (main): Likewise.
15273 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
15274 (proc continue_to_exit_bp_loc): Use clean_restart.
15275 * gdb.base/pie-execl.exp (main): Disable for target remote.
15276 * gdb.base/watch-vfork.exp (main): Enable for target remote.
15277 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
15278 * gdb.threads/execl.exp (main): Likewise.
15279 * gdb.threads/fork-child-threads.exp (main): Likewise.
15280 * gdb.threads/fork-plus-threads.exp (main): Disable for target
15281 remote.
15282 * gdb.threads/fork-thread-pending.exp (main): Enable for target
15283 remote.
15284 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
15285 pid.tid style ptids, instead of just tid.
15286 * gdb.threads/thread-execl.exp (main): Enable for target remote.
15287 * gdb.threads/watchpoint-fork.exp (main): Likewise.
15288 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
15289 ptids, instead of just tid.
15290
3b2464a8
AB
152912015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15292
15293 * gdb.base/list.exp (test_list_forward): Add end of file error
15294 test.
15295 (test_repeat_list_command): Add end of file error test.
15296 (test_list_backwards): Add beginning of file error test.
15297
a0def019
AB
152982015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15299
15300 * gdb.base/list.exp (test_list_invalid_args): New function,
15301 defined, and called.
15302
5c000dff
AB
153032015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15304
15305 * gdb.base/list.exp (test_list): Make test names unique.
15306
f1637ebe
YQ
153072015-12-11 Yao Qi <yao.qi@linaro.org>
15308
15309 * gdb.base/coremaker2.c: Remove.
15310
36d6fc0a
PA
153112015-12-10 Pedro Alves <palves@redhat.com>
15312
15313 * gdb.multi/base.exp: Remove stale "spaces" references.
15314
762f7747
PA
153152015-12-10 Pedro Alves <palves@redhat.com>
15316
15317 * gdb.multi/base.exp: Don't use nowarnings.
15318 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
15319 * gdb.multi/hangout.c: Include stdio.h.
15320 * gdb.multi/hello.c: Include stdlib.h.
15321 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
15322 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
15323 * gdb.multi/multi-arch.exp: Don't use nowarnings.
15324
28d2bfb9
AB
153252015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
15326
15327 * gdb.dwarf2/dw2-ranges-base.c: New file.
15328 * gdb.dwarf2/dw2-ranges-base.exp: New file.
15329 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
15330 support additional line table, and debug ranges generation.
15331 (Dwarf::ranges): New function, generate .debug_ranges.
15332 (Dwarf::lines): Support generating simple line table programs.
15333 (Dwarf::assemble): Initialise new namespace variables.
15334
5fc2beac
KB
153352015-12-09 Kevin Buettner <kevinb@redhat.com>
15336
15337 * gdb.base/async.exp (proc test_background): Add case for
15338 asynchronous execution not supported.
15339
1c35a88f
LM
153402015-12-09 Luis Machado <lgustavo@codesourcery.com>
15341
15342 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
15343 format and change test names to make them unique.
15344
b593e3d9
RK
153452015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
15346 Pedro Alves <pedro@redhat.com>
15347
15348 PR gdb/18702
15349 Add checking of floatformats setup on x86_64 hosts.
15350 * gdb.arch/i386-float.S (main): Load bigval and smallval.
15351 (smallval, bigval): New labels/constants.
15352 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
15353 float" after loading bigval and smallval.
15354
d72413e6
PMR
153552015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
15356
15357 * gdb.ada/fun_overload_menu.exp: New testcase.
15358 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
15359
ece66d65
JS
153602015-12-04 Josh Stone <jistone@redhat.com>
15361
15362 * gdb.base/catch-fork-static.exp: New.
15363
41d0efca
YQ
153642015-12-03 Yao Qi <yao.qi@linaro.org>
15365
15366 * gdb.base/sizeof.c: Don't include stdio.h and
15367 ../lib/unbuffer_output.c.
15368 (main): New variable 'size' and 'value'. Remove printf and
15369 gdb_unbuffer_output. Assign return value to size and value.
15370 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
15371 at the beginning.
15372 (check_sizeof): Check the result by printing variable 'size'.
15373 (check_valueof): Check the result by printing variable 'value'.
15374
99fd02d9
YQ
153752015-12-01 Yao Qi <yao.qi@linaro.org>
15376
15377 * gdb.base/disp-step-syscall.exp: Define syscall instruction
15378 for aarch64*-*-linux* target.
15379
f2faf941
PA
153802015-11-30 Pedro Alves <palves@redhat.com>
15381
15382 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
15383
04bf20c5
PA
153842015-11-30 Pedro Alves <palves@redhat.com>
15385
15386 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
15387 Handle non-stop mode vCont replies.
15388
09df4675
PA
153892015-11-30 Pedro Alves <palves@redhat.com>
15390
15391 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
15392 prepare_for_testing. Start gdb with "set non-stop on" appended to
15393 GDBFLAGS. Lax expected stop output.
15394
58b584af
YQ
153952015-11-27 Yao Qi <yao.qi@linaro.org>
15396
15397 * gdb.arch/arm-neon.exp: New.
15398 * gdb.arch/arm-neon.c: New.
15399
dfcb77a8
YQ
154002015-11-27 Yao Qi <yao.qi@linaro.org>
15401
15402 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
15403
88e8ec1b
YQ
154042015-11-27 Yao Qi <yao.qi@linaro.org>
15405
15406 * gdb.cp/annota2.exp: Allow multiple occurrences of the
15407 frames-invalid annotation.
15408
bfde72c2
YQ
154092015-11-27 Yao Qi <yao.qi@linaro.org>
15410
15411 * gdb.cp/annota2.exp: Use ${frames_invalid}.
15412
f6512a69
SM
154132015-11-26 Simon Marchi <simon.marchi@ericsson.com>
15414
15415 * gdb.threads/names.exp: New file.
15416 * gdb.threads/names.c: New file.
15417 * README: Mention gdb,no_thread_names.
15418
46a3515b
MM
154192015-11-26 Markus Metzger <markus.t.metzger@intel.com>
15420
15421 PR 19297
15422 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
15423 support" error.
15424
62147a22
PA
154252015-11-24 Pedro Alves <palves@redhat.com>
15426
15427 PR 17539
15428 * gdb.base/display.exp: Expect displays to be sorted in ascending
15429 order. Use multi_line.
15430 * gdb.base/solib-display.exp: Likewise.
15431
2f341b6e
PA
154322015-11-24 Pedro Alves <palves@redhat.com>
15433
15434 PR 17539
25d49b86
PA
15435 * gdb.base/display.exp: Expect displays to be sorted in ascending
15436 order. Use multi_line.
15437 * gdb.base/solib-display.exp: Likewise.
2f341b6e 15438
7e0aa6aa
PA
154392015-11-24 Pedro Alves <palves@redhat.com>
15440
15441 PR 17539
15442 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
15443 threads in ascending order.
15444 * gdb.base/foll-fork.exp: Likewise.
15445 * gdb.base/foll-vfork.exp: Likewise.
15446 * gdb.base/multi-forks.exp: Likewise.
15447 * gdb.mi/mi-nonstop.exp: Likewise.
15448 * gdb.mi/mi-nsintrall.exp: Likewise.
15449 * gdb.multi/base.exp: Likewise.
15450 * gdb.multi/multi-arch.exp: Likewise.
15451 * gdb.python/py-inferior.exp: Likewise.
15452 * gdb.threads/break-while-running.exp: Likewise.
15453 * gdb.threads/execl.exp: Likewise.
15454 * gdb.threads/gcore-thread.exp: Likewise.
15455 * gdb.threads/info-threads-cur-sal.exp: Likewise.
15456 * gdb.threads/kill.exp: Likewise.
15457 * gdb.threads/linux-dp.exp: Likewise.
15458 * gdb.threads/multiple-step-overs.exp: Likewise.
15459 * gdb.threads/next-bp-other-thread.exp: Likewise.
15460 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
15461 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
15462 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
15463 * gdb.threads/thread-find.exp: Likewise.
15464 * gdb.threads/tls.exp: Likewise.
15465 * lib/mi-support.exp (mi_reverse_list): Delete.
15466 (mi_check_thread_states): No longer reverse list.
15467
2cc57ad8
PA
154682015-11-24 Pedro Alves <palves@redhat.com>
15469
15470 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
15471 use lowercase.
15472
c93e8391
SM
154732015-11-23 Simon Marchi <simon.marchi@ericsson.com>
15474
15475 * gdb.trace/actions.c: Include trace-common.h.
15476 (main): Add a location for a fast tracepoint.
15477 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
15478 the normal tracepoints.
15479 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
15480
045ccf91
SM
154812015-11-23 Simon Marchi <simon.marchi@ericsson.com>
15482
15483 * save-trace.exp: Factor out code to these...
15484 (gdb_save_tracepoints): New.
15485 (gdb_load_tracepoints): New.
15486 (do_save_load_test): New.
15487
5506f9f6
KB
154882015-11-23 Kevin Buettner <kevinb@redhat.com>
15489
15490 * gdb.base/asmlabel.exp: New test.
15491 * gdb.base/asmlabel.c: New test case.
15492
16c3b12f
JB
154932015-11-23 Joel Brobecker <brobecker@adacore.com>
15494
15495 * gdb.base/wrong_frame_bt_full-main.c: New file.
15496 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
15497 * gdb.base/wrong_frame_bt_full.exp: New file.
15498
155bfbd3
JB
154992015-11-23 Joel Brobecker <brobecker@adacore.com>
15500
15501 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
15502
bb097445
JM
155032015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
15504
206853a0 15505 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
15506 pstate register when comparing registers values in
15507 sparc64-*-linux-gnu targets to avoid spurious differences.
15508
9c88ed8f
JM
155092015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
15510
206853a0 15511 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 15512
96161e25
SL
155132015-11-19 Sandra Loosemore <sandra@codesourcery.com>
15514
15515 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
15516 as type argument to gdb_compile.
15517 * gdb.base/nested-subp2.exp: Likewise.
15518 * gdb.base/nested-subp3.exp: Likewise.
15519
340c2830
DV
155202015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
15521
15522 * lib/dwarf.exp (_note): Fix left shift of negative value.
15523 * gdb.trace/trace-condition.exp: Likewise.
15524
c1862d0f
YQ
155252015-11-13 Yao Qi <yao.qi@linaro.org>
15526
15527 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
15528 comments about d10v.
15529 (test_scalar_returns): Likewise.
15530 * gdb.base/d10v.ld: Remove.
15531 * gdb.base/overlays.exp: Remove the target triplet checking for
15532 d10v-*-*.
15533 * gdb.base/structs.exp (test_struct_returns): Remove the
15534 comments about d10v.
15535 (test_struct_calls): Likewise.
15536
77ae9c19
YQ
155372015-11-13 Yao Qi <yao.qi@linaro.org>
15538
15539 * gdb.base/gnu_vector.exp: Check the return value by "p res".
15540 * gdb.base/gnu_vector.c: Don't include stdio.h.
15541 (main): Don't print res and call add_some_intvecs.
15542
430e004e
MK
155432015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
15544
15545 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
15546 macro.
15547 (func5): Removed.
15548 (func4): Use FAST_TRACEPOINT_LABEL.
15549 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
15550 macro.
15551 (func): Removed.
15552 (thread_function): Use FAST_TRACEPOINT_LABEL.
15553 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
15554 (func): Remove.
15555 (marker): Use FAST_TRACEPOINT_LABEL.
15556 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
15557 (pendfunc1): Remove.
15558 (pendfunc): Use FAST_TRACEPOINT_LABEL.
15559 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
15560 (foo): Remove.
15561 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
15562 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
15563 macro.
15564 (func): Remove.
15565 (marker): Use FAST_TRACEPOINT_LABEL.
15566 * gdb.trace/trace-common.h: New header.
15567 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
15568 macro.
15569 (func): Remove.
15570 (marker): Use FAST_TRACEPOINT_LABEL.
15571 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
15572 (func): Remove.
15573 (thread_function): Use FAST_TRACEPOINT_LABEL.
15574
6e7675a7
MK
155752015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
15576
15577 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
15578 in front.
15579 * gdb.trace/change-loc.exp: Use global pcreg definition.
15580 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
15581 * gdb.trace/entry-values.exp: Use global spreg definition, add $
15582 in front.
15583 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
15584 * gdb.trace/pending.exp: Likewise.
15585 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
15586 * gdb.trace/trace-break.exp: Likewise.
15587 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
15588 in front.
15589 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
15590 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
15591 in front.
15592 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
15593
dddc0e16
JB
155942015-11-09 Joel Brobecker <brobecker@adacore.com>
15595
15596 * gdb.ada/fin_fun_out: New testcase.
15597
c6f0b406
KB
155982015-11-07 Kevin Buettner <kevinb@redhat.com>
15599
15600 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
15601 value associated with DW_AT_byte_size.
15602 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
15603 constants for DW_AT_byte_size, DW_AT_lower_bound, and
15604 DW_AT_upper_bound.
15605
f01dcfd9
KB
156062015-11-07 Kevin Buettner <kevinb@redhat.com>
15607
15608 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
15609 (gdb_target_symbol_prefix_flags): Define in terms of _asm
15610 version.
15611 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
15612 gdb.dwarf2/dw2-canonicalize-type.exp,
15613 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
15614 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
15615 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
15616 provided by gdb_target_symbol_prefix_flags_asm.
15617 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
15618 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
15619 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
15620 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
15621 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
15622 macros where needed). Use this macro for symbols which require
15623 the prefix provided by SYMBOL_PREFIX.
15624
2223449a
KB
156252015-11-05 Kevin Buettner <kevinb@redhat.com>
15626
15627 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
15628 New procs.
15629 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
15630 representing expressions, of more than one list element.
15631 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
15632 to prepend linker symbol prefix to f.
15633 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
15634 table_1 and table_2.
15635 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
15636 Likewise, for f and g.
15637 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
15638 for ptr.
15639 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
15640 for main.
15641 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
15642 table_1_ptr and table_2_ptr.
15643
6f2f1a3a
JK
156442015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15645 Joel Brobecker <brobecker@adacore.com>
15646
15647 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
15648
566c56c9
MK
156492015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
15650
15651 * gdb.reverse/s390-mvcle.c: New test.
15652 * gdb.reverse/s390-mvcle.exp: New file.
15653 * lib/gdb.exp: Enable reverse tests on s390*-linux.
15654
d5f0636b
MK
156552015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
15656
15657 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
15658
7ad8b86c
MK
156592015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
15660
15661 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
15662 reaching marker2.
15663 * gdb.reverse/getresuid-reverse.exp: Likewise.
15664 * gdb.reverse/pipe-reverse.exp: Likewise.
15665 * gdb.reverse/readv-reverse.exp: Likewise.
15666 * gdb.reverse/recvmsg-reverse.exp: Likewise.
15667 * gdb.reverse/time-reverse.exp: Likewise.
15668 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
15669
4081c0f1
YQ
156702015-10-30 Yao Qi <yao.qi@linaro.org>
15671
15672 * gdb.threads/wp-replication.c (watch_count_done): Remove.
15673 (empty_cycle): Remove.
15674 (main): Don't call empty_cycle. Don't use watch_count_done.
15675 * gdb.threads/wp-replication.exp: Don't set breakpoint on
15676 empty_cycle. Rewrite the code counting HW watchpoints.
15677
452b4ba5
MK
156782015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
15679
15680 * gdb.reverse/fstatat-reverse.c: New test.
15681 * gdb.reverse/fstatat-reverse.exp: New file.
15682 * gdb.reverse/getresuid-reverse.c: New test.
15683 * gdb.reverse/getresuid-reverse.exp: New file.
15684 * gdb.reverse/pipe-reverse.c: New test.
15685 * gdb.reverse/pipe-reverse.exp: New file.
15686 * gdb.reverse/readv-reverse.c: New test.
15687 * gdb.reverse/readv-reverse.exp: New file.
15688 * gdb.reverse/recvmsg-reverse.c: New test.
15689 * gdb.reverse/recvmsg-reverse.exp: New file.
15690 * gdb.reverse/time-reverse.c: New test.
15691 * gdb.reverse/time-reverse.exp: New file.
15692 * gdb.reverse/waitpid-reverse.c: New test.
15693 * gdb.reverse/waitpid-reverse.exp: New file.
15694
5e2e7507
JK
156952015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
15696
15697 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
15698
0fde2c53
DE
156992015-10-26 Doug Evans <dje@google.com>
15700
15701 PR symtab/17391
15702 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
15703 * gdb.dwarf2/bad-regnum.c: New file.
15704 * gdb.dwarf2/bad-regnum.exp: New file.
15705
1a70ae97
DE
157062015-10-26 Doug Evans <dje@google.com>
15707
15708 PR python/18938
15709 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
15710 file.
15711
27dc26ab
JK
157122015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15713
15714 * gdb.compile/compile.exp (compile code globalvar): Update expectation
15715 for a change by "Mention language in compile error message".
15716
bed91f4d
SM
157172015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
15718
15719 PR python/18073
15720 * gdb.python/py-type.c (C::a_method): New.
15721 (C::a_const_method): New.
15722 (C::a_static_method): New.
15723 (a_function): New.
15724 * gdb.python/py-type.exp (test_fields): Test getting fields
15725 from function and method.
15726
3f2f83dd
KB
157272015-10-21 Keven Boell <keven.boell@intel.com>
15728
15729 * gdb.fortran/vla-alloc-assoc.exp: New file.
15730 * gdb.fortran/vla-datatypes.exp: New file.
15731 * gdb.fortran/vla-datatypes.f90: New file.
15732 * gdb.fortran/vla-history.exp: New file.
15733 * gdb.fortran/vla-ptype-sub.exp: New file.
15734 * gdb.fortran/vla-ptype.exp: New file.
15735 * gdb.fortran/vla-sizeof.exp: New file.
15736 * gdb.fortran/vla-sub.f90: New file.
15737 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
15738 * gdb.fortran/vla-value-sub-finish.exp: New file.
15739 * gdb.fortran/vla-value-sub.exp: New file.
15740 * gdb.fortran/vla-value.exp: New file.
15741 * gdb.fortran/vla-ptr-info.exp: New file.
15742 * gdb.mi/mi-vla-fortran.exp: New file.
15743 * gdb.mi/vla.f90: New file.
15744
27145d50
SL
157452015-10-21 Sandra Loosemore <sandra@codesourcery.com>
15746
15747 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
15748 of hardwired timeout value.
15749
5f3ff4f8
JK
157502015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15751 Pedro Alves <palves@redhat.com>
15752
15753 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
15754 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
15755
bfd09d20
JS
157562015-10-19 Josh Stone <jistone@redhat.com>
15757
15758 * gdb.base/catch-syscall.c: Include <sched.h>.
15759 (unknown_syscall): New variable.
15760 (main): Trigger a vfork and an unknown syscall.
15761 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
15762 (unknown_syscall_number): Likewise.
15763 (check_call_to_syscall): Accept an optional syscall pattern.
15764 (check_return_from_syscall): Likewise.
15765 (check_continue): Likewise.
15766 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
15767 (test_catch_syscall_skipping_return): New test toggling off 'catch
15768 syscall' to step over the syscall return, then toggling back on.
15769 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
15770 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
15771 (do_syscall_tests): Call test_catch_syscall_without_args and
15772 test_catch_syscall_mid_vfork.
15773 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
15774 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
15775
b32b93c6
AS
157762015-10-19 Andrew Stubbs <ams@codesourcery.com>
15777
15778 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
15779 print g_vE): Add new pass patterns.
15780 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
15781 print various symbol names for vptr fields.
15782
9d622bda
AB
157832015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
15784
15785 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
15786 results.
15787
0fd8ac1c
YQ
157882015-10-12 Yao Qi <yao.qi@linaro.org>
15789
15790 * gdb.arch/disp-step-insn-reloc.exp: New test case.
15791
34240514
YQ
157922015-10-12 Yao Qi <yao.qi@linaro.org>
15793
15794 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
15795 is aarch64*-*-linux*.
15796
8240f442
YQ
157972015-10-12 Yao Qi <yao.qi@linaro.org>
15798
15799 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
15800 (can_relocate_bcond_true): ... it.
15801 (can_relocate_bcond_false): New function.
15802 (foo): Likewise.
15803 (can_relocate_bl): Likewise.
15804 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
15805 can_relocate_bl.
15806
2520f728
PMR
158072015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
15808
15809 * gdb.base/nested-addr.c: New file.
15810 * gdb.base/nested-addr.exp: New testcase.
15811
abcef95a
MM
158122015-10-09 Markus Metzger <markus.t.metzger@intel.com>
15813
15814 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
15815 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
15816 its output. Ignore the output of "record goto begin" and instead
15817 check that GDB is replaying.
15818
145e3ddb
PA
158192015-10-09 Pedro Alves <palves@redhat.com>
15820
15821 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
15822 (top level): Use it in the run with no args test.
15823
d5d8c4e1
IB
158242015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
15825
15826 * gdb.dlang/properties.exp: New file.
15827
06e635ef
SL
158282015-10-02 Sandra Loosemore <sandra@codesourcery.com>
15829
15830 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
15831 whether or not address 0x1000 is mapped on the target.
15832
e019fd1d
SM
158332015-09-30 Simon Marchi <simon.marchi@ericsson.com>
15834
15835 * gdb.python/py-type.exp: Do not run tests if binaries fail to
15836 build.
15837
77ba2a67
MM
158382015-09-30 Markus Metzger <markus.t.metzger@intel.com>
15839
15840 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
15841 instruction-history test.
15842
c60eb31f
DE
158432015-09-28 Doug Evans <dje@google.com>
15844
15845 * gdb.base/gcore.c (array_func): Add reference to static_array.
15846
9a3c8263
SM
158472015-09-25 Simon Marchi <simon.marchi@ericsson.com>
15848
15849 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
15850 source line.
15851
9720e656
SL
158522015-09-24 Sandra Loosemore <sandra@codesourcery.com>
15853
15854 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
15855 short or char as base type.
15856
938d3bf2
SL
158572015-09-23 Sandra Loosemore <sandra@codesourcery.com>
15858
15859 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
15860 to allow any size enum.
15861
e6c2c623
PMR
158622015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
15863
15864 * gdb.ada/array_ptr_renaming.exp: New testcase.
15865 * gdb.ada/array_ptr_renaming/foo.adb: New file.
15866 * gdb.ada/array_ptr_renaming/pack.ads: New file.
15867
06da0f77
PL
158682015-09-21 Pierre Langlois <pierre.langlois@arm.com>
15869
15870 * gdb.trace/ftrace-lock.c: New file.
15871 * gdb.trace/ftrace-lock.exp: New file.
15872
4f51c22a
PL
158732015-09-21 Pierre Langlois <pierre.langlois@arm.com>
15874
15875 * gdb.arch/insn-reloc.c: New file.
15876 * gdb.arch/ftrace-insn-reloc.exp: New file.
15877
7041adf4
PL
158782015-09-21 Pierre Langlois <pierre.langlois@arm.com>
15879
15880 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
15881 instruction.
15882 * gdb.trace/pendshr1.c (pendfunc): Likewise.
15883 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
15884 * gdb.trace/range-stepping.c: Likewise.
15885 * gdb.trace/trace-break.c: Likewise.
15886 * gdb.trace/trace-mt.c (thread_function): Likewise.
15887 * gdb.trace/ftrace.c (marker): Likewise.
15888 * gdb.trace/trace-condition.c (marker): Likewise.
15889 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
15890 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
15891 is_aarch64_target.
15892
015d2e7e
DE
158932015-09-18 Doug Evans <xdje42@gmail.com>
15894
15895 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
15896 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
15897
26b188a2
SL
158982015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15899
15900 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
15901 the breakpoint.
15902
79dc332b
SL
159032015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15904
15905 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
15906 the pending breakpoint. Remove timeout override for "Run till
15907 MI pending breakpoint on pendfunc3 on thread 2" test.
15908
f57929f2
SL
159092015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15910
15911 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
15912 filename pattern.
15913
3f469b17
SL
159142015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15915
15916 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
15917 in breakpoint filename pattern.
15918
515b89b3
SL
159192015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15920
7800dbe4
SL
15921 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
15922
159232015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15924
515b89b3
SL
15925 * gdb.linespec/explicit.exp: Check for readline support for
15926 tab-completion tests. Fix obvious typo.
15927
d2939ba2
MM
159282015-09-18 Markus Metzger <markus.t.metzger@intel.com>
15929
15930 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
15931 and replay.
15932
cbb55fa7
MM
159332015-09-18 Markus Metzger <markus.t.metzger@intel.com>
15934
15935 * gdb.btrace/non-stop.c: New.
15936 * gdb.btrace/non-stop.exp: New.
15937
43691ca1
PL
159382015-09-17 Pierre Langlois <pierre.langlois@arm.com>
15939 Yao Qi <yao.qi@linaro.org>
15940
15941 * gdb.trace/trace-condition.c: New file.
15942 * gdb.trace/trace-condition.exp: New file.
15943
d78908cf
WW
159442015-09-16 Wei-cheng Wang <cole945@gmail.com>
15945
15946 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
15947 for testing bytecode compilation.
15948
1ed415e2
PA
159492015-09-16 Pedro Alves <palves@redhat.com>
15950 Sandra Loosemore <sandra@codesourcery.com>
15951
15952 * gdb.threads/non-stop-fair-events.c (timeout): New global.
15953 (SECONDS): Redefine.
15954 (main): Call pthread_kill and alarm early.
15955 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
15956 support.
15957 (test): If the target can't hardware step and doesn't support
15958 displaced stepping, increase the timeout.
15959
d136eff5
PA
159602015-09-16 Pedro Alves <palves@redhat.com>
15961
15962 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
15963 (enable_debug): New procedures.
15964 (test): Use them. Bail out if waiting for threads fails.
15965 (top level): Bail out if a test fails.
15966
991f019c
YQ
159672015-09-16 Yao Qi <yao.qi@linaro.org>
15968
15969 * gdb.asm/asm-source.exp: Set asm-arch for
15970 aarch64*-*-* target.
15971 * gdb.asm/aarch64.inc: New file.
15972
bfca584f
PMR
159732015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
15974
15975 * gdb.ada/array_of_variable_length.exp: New testcase.
15976 * gdb.ada/array_of_variable_length/foo.adb: New file.
15977 * gdb.ada/array_of_variable_length/pck.adb: New file.
15978 * gdb.ada/array_of_variable_length/pck.ads: New file.
15979
b326e587
DE
159802015-09-15 Doug Evans <dje@google.com>
15981
15982 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
15983 of function static local variable.
15984
5382cfab
PW
159852015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
15986
15987 * gdb.threads/tls-so_extern.exp: New test file.
15988 * gdb.threads/tls-so_extern.c: New test file.
15989 * gdb.threads/tls-so_extern_main.c: New test file.
15990
141c5cc4
JK
159912015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15992
15993 * gdb.opt/solib-intra-step-lib.c: New file.
15994 * gdb.opt/solib-intra-step-main.c: New file.
15995 * gdb.opt/solib-intra-step.exp: New file.
15996
d15dcecd
PA
159972015-09-15 Pedro Alves <palves@redhat.com>
15998
15999 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
16000 gdb_continue_to_breakpoint instead of gdb_test_multiple.
16001
4c2f2a79
PA
160022015-09-14 Pedro Alves <palves@redhat.com>
16003
16004 * gdb.base/hook-stop-continue.c: Delete.
16005 * gdb.base/hook-stop-continue.exp: Delete.
16006 * gdb.base/hook-stop-frame.c: Delete.
16007 * gdb.base/hook-stop-frame.exp: Delete.
16008 * gdb.base/hook-stop.c: New file.
16009 * gdb.base/hook-stop.exp: New file.
16010
919e6dbe
PMR
160112015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
16012
16013 * gdb.ada/access_to_packed_array.exp: New testcase.
16014 * gdb.ada/access_to_packed_array/foo.adb: New file.
16015 * gdb.ada/access_to_packed_array/pack.adb: New file.
16016 * gdb.ada/access_to_packed_array/pack.ads: New file.
16017
157280a4
MM
160182015-09-14 Markus Metzger <markus.t.metzger@intel.com>
16019
16020 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
16021 buffer size test.
16022
2fd33e94
DB
160232015-09-11 Don Breazeal <donb@codesourcery.com>
16024
16025 * gdb.base/foll-exec.c: Add copyright header. Fix
16026 formatting issues.
16027 * gdb.base/foll-exec.exp (zap_session): Delete proc.
16028 (do_exec_tests): Use clean_restart in place of zap_session,
16029 and for test initialization. Fix formatting issues. Use
16030 fail in place of perror.
16031 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
16032 an expect statement to match an expression with output from
16033 the program under debug.
16034 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
16035 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
16036 * gdb.threads/non-ldr-exc-2.exp: Likewise.
16037 * gdb.threads/non-ldr-exc-3.exp: Likewise.
16038 * gdb.threads/non-ldr-exc-4.exp: Likewise.
16039
e70b6e8e
DE
160402015-09-09 Doug Evans <dje@google.com>
16041
16042 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
16043
7a551a51
DE
160442015-09-09 Doug Evans <dje@google.com>
16045
16046 * gdb.base/pie-execl.exp: Fix result test of build_executable.
16047
4c666f84
DE
160482015-09-09 Doug Evans <dje@google.com>
16049
16050 * gdb.base/savedregs.exp: Fix typo.
16051
243a9253
PA
160522015-09-09 Pedro Alves <palves@redhat.com>
16053
16054 * gdb.mi/mi-cli.exp: Add CLI finish tests.
16055
c0fa8fbd
SL
160562015-09-08 Sandra Loosemore <sandra@codesourcery.com>
16057
16058 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
16059 command actually switches threads. Give up on remaining
16060 tests if target fails to stop at breakpoint.
16061
cd7c1778
PMR
160622015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
16063
16064 * gdb.ada/funcall_char.exp: New testcase.
16065 * gdb.ada/funcall_char/foo.adb: New file.
16066
dc5c8746
PMR
160672015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
16068
16069 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
16070 expected outputs. Add two testcases for completing ambiguous
16071 functions.
16072 * gdb.ada/complete/aux_pck.adb: New file.
16073 * gdb.ada/complete/aux_pck.ads: New file.
16074 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
16075 Ambiguous_Func functions.
16076 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
16077 * gdb.ada/complete/pck.adb: Likewise.
16078
4e83a1e7
UW
160792015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
16080
16081 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
16082 failures to run the test program under GDB.
16083
8ce74153
LM
160842015-08-26 Luis Machado <lgustavo@codesourcery.com>
16085
16086 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
16087 to C.
16088
e9756d52
PP
160892015-08-26 Patrick Palka <patrick@parcs.ath.cx>
16090
16091 * gdb.base/run-after-attach.exp: New test file.
16092 * gdb.base/run-after-attach.c: New test file.
16093
8d37573b
DB
160942015-08-26 Don Breazeal <donb@codesourcery.com>
16095
16096 * gdb.base/foll-exec-2.c: New test program.
16097 * gdb.base/foll-exec-2.exp: New test.
16098
63e43d3a
PMR
160992015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
16100
16101 * gdb.base/nested-subp1.exp: New file.
16102 * gdb.base/nested-subp1.c: New file.
16103 * gdb.base/nested-subp2.exp: New file.
16104 * gdb.base/nested-subp2.c: New file.
16105 * gdb.base/nested-subp3.exp: New file.
16106 * gdb.base/nested-subp3.c: New file.
16107
3d40fbb5
PA
161082015-08-24 Pedro Alves <palves@redhat.com>
16109
16110 * gdb.server/connect-without-multi-process.c: New file.
16111 * gdb.server/connect-without-multi-process.exp: New file.
16112
4422ac93
LM
161132015-08-24 Luis Machado <lgustavo@codesourcery.com>
16114
16115 * gdb.opt/inline-markers.c: Make z int.
16116
91dddb86
LM
161172015-08-24 Luis Machado <lgustavo@codesourcery.com>
16118
16119 * gdb.opt/inline-markers.c: Make z volatile.
16120
a48847ee
LM
161212015-08-24 Luis Machado <lgustavo@codesourcery.com>
16122
16123 * gdb.opt/inline-bt.c: New volatile global z.
16124 * gdb.opt/inline-cmds.c: Likewise.
16125 * gdb.opt/inline-locals.c: Likewise.
16126 * gdb.opt/inline-markers.c: New extern global z.
16127 (marker): Use z.
16128 (inline_fn): Likewise.
16129
0ebbc52b
PA
161302015-08-24 Pedro Alves <palves@redhat.com>
16131
16132 * config/m32r-stub.exp: Remove file.
16133 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
16134 * gdb.base/call-rt-st.exp: Likewise.
16135 * gdb.base/call-strs.exp: Likewise.
16136 * gdb.base/default.exp: Remove references to h8300-*-hms and
16137 *-*-udi*.
16138 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
16139
77c365df
AA
161402015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
16141
16142 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
16143 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
16144 and "return" use KFAIL when GDB can not read/write the vector
16145 return value.
16146
4313b8c0
GB
161472015-08-21 Gary Benson <gbenson@redhat.com>
16148
16149 * gdb.trace/pending.exp: Cope with remote transfer warnings.
16150
0e433b32
PA
161512015-08-20 Pedro Alves <palves@redhat.com>
16152
16153 * gdb.server/solib-list.exp: No longer expect an interior stop in
16154 non-stop mode.
16155
221e1a37
PA
161562015-08-20 Pedro Alves <palves@redhat.com>
16157
16158 * gdb.server/connect-stopped-target.c: New file.
16159 * gdb.server/connect-stopped-target.exp: New file.
16160
40e3ad0e
PA
161612015-08-20 Pedro Alves <palves@redhat.com>
16162
16163 * gdb.dwarf2/comp-unit-lang.exp: New file.
16164 * gdb.dwarf2/comp-unit-lang.c: New file.
16165
af39b327
PMR
161662015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
16167
16168 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
16169 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
16170
7d45c7c3 161712015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 16172
7d45c7c3
KB
16173 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
16174 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
16175
4d6cceb4
DE
161762015-08-18 Doug Evans <dje@google.com>
16177 Adrian Sendroiu <adrian.sendroiu@freescale.com>
16178
16179 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
16180 skip_python_tests. New arg prompt_regexp.
16181 (skip_python_tests): New function.
16182 * lib/mi-support.exp (mi_skip_python_tests): New function.
16183 * gdb.python/py-mi-objfile-gdb.py: New file.
16184 * gdb.python/py-mi-objfile.c: New file.
16185 * gdb.python/py-mi-objfile.exp: New file.
16186
ad89c2aa
KS
161872015-08-17 Keith Seitz <keiths@redhat.com>
16188
16189 * gdb.linespec/explicit.exp: Move strace test from here ...
16190 * gdb.trace/strace.exp: ... to here.
16191
e3ae3c43
PP
161922015-08-15 Patrick Palka <patrick@parcs.ath.cx>
16193
16194 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
16195 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
16196
604b2636
DE
161972015-08-14 Doug Evans <xdje42@gmail.com>
16198
16199 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
16200 inferior before selecting a new file.
16201
6ff0ba5f
DE
162022015-08-14 Doug Evans <xdje42@gmail.com>
16203
16204 * gdb.mi/mi-disassemble.exp: Update.
16205 * gdb.base/disasm-optim.S: New file.
16206 * gdb.base/disasm-optim.c: New file.
16207 * gdb.base/disasm-optim.h: New file.
16208 * gdb.base/disasm-optim.exp: New file.
16209
9ca98f92
KS
162102015-08-14 Keith Seitz <keiths@redhat.com>
16211
16212 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
16213 "evaluated-by".
16214
52bbc560
JB
162152015-08-13 Joel Brobecker <brobecker@adacore.com>
16216
16217 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
16218
5d8c3ed3
PMR
162192015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
16220
16221 * gdb.ada/fun_renaming.exp: New testcase.
16222 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
16223 * gdb.ada/fun_renaming/pack.adb: New file.
16224 * gdb.ada/fun_renaming/pack.ads: New file.
16225
ea8812bc
KS
162262015-08-12 Keith Seitz <keiths@redhat.com>
16227
16228 * gdb.base/dso2dso.exp: Pass basename of source file in call to
16229 gdb_get_line_number.
16230
4dafcdeb
JB
162312015-08-12 Joel Brobecker <brobecker@adacore.com>
16232
16233 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
16234 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
16235 gdb.base/dso2dso.exp: New files.
16236
5ba32597
SDJ
162372015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
16238 Pedro Alves <palves@redhat.com>
16239 Keith Seitz <keiths@redhat.com>
16240
16241 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
16242 GDBFLAGS.
16243
b6dafabf
PP
162442015-08-12 Patrick Palka <patrick@parcs.ath.cx>
16245
16246 * gdb.base/gdbhistsize-history.exp
16247 (test_histsize_history_setting): Use save_vars.
16248 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16249 Use save_vars.
16250 (test_no_truncation_of_unlimited_history_file): Use save_vars.
16251 * gdb.base/readline.exp: Use save_vars.
16252
abe8e607
PP
162532015-08-12 Patrick Palka <patrick@parcs.ath.cx>
16254
16255 * lib/gdb.exp (save_vars): New proc.
16256
629500fa
KS
162572015-08-11 Keith Seitz <keiths@redhat.com>
16258
16259 * gdb.base/help.exp: Update help_breakpoint_text.
16260
eb8c4e2e
KS
162612015-08-11 Keith Seitz <keiths@redhat.com>
16262
16263 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
16264 (at toplevel): Call test_explicit_breakpoints.
16265 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
16266 breakpoints.
16267 * lib/mi-support.exp (mi_make_breakpoint): Add support for
16268 breakpoint conditions, "-cond".
16269
87f0e720
KS
162702015-08-11 Keith Seitz <keiths@redhat.com>
16271
16272 * gdb.linespec/3explicit.c: New file.
16273 * gdb.linespec/cpexplicit.cc: New file.
16274 * gdb.linespec/cpexplicit.exp: New file.
16275 * gdb.linespec/explicit.c: New file.
16276 * gdb.linespec/explicit.exp: New file.
16277 * gdb.linespec/explicit2.c: New file.
16278 * gdb.linespec/ls-errs.exp: Add explicit location tests.
16279 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
16280 before using in the matching pattern.
16281 Clarify that `prefix' is a regular expression.
16282
f00aae0f
KS
162832015-08-11 Keith Seitz <keiths@redhat.com>
16284
16285 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
16286 test.
16287 Add tests for missing ",FMT" and ",".
16288
e27852be
DE
162892015-08-10 Doug Evans <dje@google.com>
16290 Keith Seitz <keiths@redhat.com>
16291
16292 PR gdb/17960
16293 * gdb.base/completion.exp: Add location completer tests.
16294
7f03bd92
PA
162952015-08-07 Pedro Alves <palves@redhat.com>
16296
16297 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
16298 tests here.
16299 (top level): Run do_test with and without displaced stepping.
16300
3fc8eb30
PA
163012015-08-07 Pedro Alves <palves@redhat.com>
16302
16303 * gdb.base/valgrind-disp-step.c: New file.
16304 * gdb.base/valgrind-disp-step.exp: New file.
16305
d4569d7b
PA
163062015-08-07 Pedro Alves <palves@redhat.com>
16307
16308 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
16309 Delete function.
16310 (main): Add alarm. Run an infinite loop instead of calling
16311 wait_threads.
16312 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
16313 comment.
16314 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
16315 Delete function.
16316 (main): Add alarm. Run an infinite loop instead of calling
16317 wait_threads.
16318 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
16319 comment.
16320
e1316e60
PA
163212015-08-07 Pedro Alves <palves@redhat.com>
16322
16323 * gdb.base/checkpoint-ns.exp: New file.
16324 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
16325 standard_testfile.
16326
da8c46d2
MM
163272015-08-07 Markus Metzger <markus.t.metzger@intel.com>
16328
16329 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
16330 * gdb.btrace/instruction_history.exp: Update.
16331 * gdb.btrace/tsx.exp: New.
16332 * gdb.btrace/tsx.c: New.
16333
de1c2c52
PA
163342015-08-06 Pedro Alves <palves@redhat.com>
16335
16336 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
16337 increase timeout.
16338 * gdb.reverse/until-precsave.exp: Bump timeouts.
16339
782e0bf4
PA
163402015-08-06 Pedro Alves <palves@redhat.com>
16341
16342 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
16343
83e97ed0
PA
163442015-08-06 Pedro Alves <palves@redhat.com>
16345
16346 PR gdb/18749
16347 * gdb.threads/process-dies-while-handling-bp.c: New file.
16348 * gdb.threads/process-dies-while-handling-bp.exp: New file.
16349
863d01bd
PA
163502015-08-06 Pedro Alves <palves@redhat.com>
16351
16352 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
16353 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
16354
0a39bb32
PA
163552015-08-05 Pedro Alves <palves@redhat.com>
16356
16357 * gdb.threads/next-while-other-thread-longjmps.c: New file.
16358 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
16359
ee2d2b10
SL
163602015-08-03 Sandra Loosemore <sandra@codesourcery.com>
16361
16362 * gdb.base/bp-permanent.exp: Report test as unsupported if
16363 the target cannot stop at the permanent breakpoint.
16364
4e1bdb00
DE
163652015-08-03 Doug Evans <dje@google.com>
16366
16367 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
16368 10000.
16369
3d338901
DE
163702015-08-03 Doug Evans <dje@google.com>
16371
16372 * Makefile.in (workers/%.worker, build-perf): New rule.
16373 (GDB_PERFTEST_MODE): New variable.
16374 (check-perf): Use it.
16375 (clean): Clean up gdb.perf parallel build subdirs.
16376 * lib/build-piece.exp: New file.
16377 * lib/gdb.exp (make_gdb_parallel_path): New function
16378 (standard_output_file, standard_temp_file): Call it.
16379 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16380 of $GDB_PARALLEL.
16381 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
16382
af061d3e
DE
163832015-08-03 Doug Evans <dje@google.com>
16384
8e1afc81 16385 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
16386 (LOG_FILE_NAME): New global.
16387 (TextReporter.__init__): Initialize self.txt_sum.
16388 (TextReporter.report): Add support for multiple data-points.
16389 Move report to perftest.sum, put raw data in perftest.log.
16390 (TextReporter.start): Open sum and log files.
16391 (TextReporter.end): Close sum and log files.
8e1afc81
DE
16392 * gdb.perf/lib/perftest/testresult.py
16393 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 16394
2c8c5d37
PA
163952015-07-31 Pedro Alves <palves@redhat.com>
16396
16397 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
16398 Use spawn_id_get_pid. Wait for spawn id after eof. Use
16399 kill_wait_spawned_process instead of explicit "kill -9".
16400 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
16401 returning a spawn id instead of a pid. Use spawn_id_get_pid and
16402 kill_wait_spawned_process.
16403 * gdb.base/attach-twice.exp: Likewise.
16404 * gdb.base/attach.exp: Likewise.
16405 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
16406 gdb_test_multiple.
16407 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
16408 returning a spawn id instead of a pid. Use spawn_id_get_pid and
16409 kill_wait_spawned_process.
16410 * gdb.base/valgrind-infcall.exp: Likewise.
16411 * gdb.multi/multi-attach.exp: Likewise.
16412 * gdb.python/py-prompt.exp: Likewise.
16413 * gdb.python/py-sync-interp.exp: Likewise.
16414 * gdb.server/ext-attach.exp: Likewise.
16415 * gdb.threads/attach-into-signal.exp (corefunc): Use
16416 spawn_wait_for_attach, spawn_id_get_pid and
16417 kill_wait_spawned_process.
16418 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
16419 spawn_wait_for_attach returning a spawn id instead of a pid. Use
16420 spawn_id_get_pid and kill_wait_spawned_process.
16421 * gdb.threads/attach-stopped.exp (corefunc): Use
16422 spawn_wait_for_attach, spawn_id_get_pid and
16423 kill_wait_spawned_process.
16424 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
16425 Use spawn_id_get_pid. Wait for spawn id after eof. Use
16426 kill_wait_spawned_process instead of explicit "kill -9".
16427 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
16428 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
16429 (spawn_wait_for_attach): Use spawn instead of exec to spawn
16430 processes. Don't map cygwin/windows pids here. Now returns a
16431 spawn id list.
16432
032a0fca
SL
164332015-07-30 Sandra Loosemore <sandra@codesourcery.com>
16434
16435 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
16436 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
16437 correct patch.
16438
61a934ca
SL
164392015-07-30 Sandra Loosemore <sandra@codesourcery.com>
16440
16441 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
16442
4bc4d428
SL
164432015-07-30 Sandra Loosemore <sandra@codesourcery.com>
16444
16445 Reapply:
16446 2014-05-21 Mark Wielaard <mjw@redhat.com>
16447
16448 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16449
998d452a
PA
164502015-07-30 Pedro Alves <palves@redhat.com>
16451
16452 * linux-low.c (handle_extended_wait): Set the child's last
16453 reported status to TARGET_WAITKIND_STOPPED.
16454
69dde7dc
PA
164552015-07-30 Pedro Alves <palves@redhat.com>
16456
16457 PR threads/18600
16458 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
16459 only shows inferior 1.
16460
4dd63d48
PA
164612015-07-30 Simon Marchi <simon.marchi@ericsson.com>
16462 Pedro Alves <palves@redhat.com>
16463
16464 PR threads/18600
16465 * gdb.threads/fork-plus-threads.c: New file.
16466 * gdb.threads/fork-plus-threads.exp: New file.
16467
d618e4c5
PP
164682015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16469
16470 * gdb.base/batch-preserve-term-settings.exp
16471 (test_terminal_settings_preserved_after_cli_exit): Use
16472 send_quit_command.
16473
1eef6428
PA
164742015-07-29 Pedro Alves <palves@redhat.com>
16475 Don Breazeal <donb@codesourcery.com>
16476
16477 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
16478 output from both inferior_spawn_id and gdb_spawn_id.
16479
7da5b897
SDJ
164802015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
16481
16482 * gdb.threads/attach-into-signal.exp (corefunc): Use
16483 with_test_prefix on nested loops, uniquefying the test messages.
16484
dac804df
SDJ
164852015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
16486
16487 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
16488 commit.
16489
06265e53
PP
164902015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16491
16492 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
16493 New proc.
16494 (test_terminal_settings_preserved_after_sigterm): New test.
16495
18206ca3
PP
164962015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16497
16498 * gdb.base/batch-preserve-term-settings.exp
16499 (test_terminal_settings_preserved_after_cli_exit): New test.
16500
90074d11
PP
165012015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16502
16503 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
16504 manipulation of saved_gdbflags.
16505 (test_terminal_settings_preserved): Remove global declaration of
16506 the unused variable pagination_prompt. Remove manipulation of
16507 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
16508 GDBFLAGS.
16509
eb1a7902
PA
165102015-07-29 Pedro Alves <palves@redhat.com>
16511
16512 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
16513
8b75dd3b
PA
165142015-07-29 Pedro Alves <palves@redhat.com>
16515
16516 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
16517 at the top.
16518
dedad4e3
PA
165192015-07-29 Pedro Alves <palves@redhat.com>
16520
16521 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
16522 (main): Call gdb_unbuffer_output.
16523 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
16524 (main): Call gdb_unbuffer_output.
16525 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
16526 (main): Call gdb_unbuffer_output.
16527 * gdb.base/call-strs.exp: Adjust to step over the
16528 gdb_unbuffer_output call.
16529 * gdb.base/catch-gdb-caused-signals.c: Include
16530 "../lib/unbuffer_output.c".
16531 (main): Call gdb_unbuffer_output.
16532 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
16533 (main): Call gdb_unbuffer_output.
16534 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
16535 (main): Call gdb_unbuffer_output.
16536 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
16537 (main): Call gdb_unbuffer_output.
16538 * gdb.base/shlib-call.exp: Adjust to step over the
16539 gdb_unbuffer_output call.
16540 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
16541 (main): Call gdb_unbuffer_output.
16542 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
16543 (main): Call gdb_unbuffer_output.
16544 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
16545 (main): Rename to ...
16546 (test): ... this.
16547 (main): Reimplement.
16548 * gdb.base/varargs.exp: Run to test instead of to main.
16549 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
16550 (main): Call gdb_unbuffer_output.
16551
58789a91
PA
165522015-07-29 Pedro Alves <palves@redhat.com>
16553
16554 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
16555 factore out from mi_continue_dprintf. For call-style dprintfs,
16556 expect dprintf output out of $inferior_spawn_id.
16557 (mi_continue_dprintf): Use mi_expect_dprintf.
16558 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
16559 (main): Call gdb_unbuffer_output.
16560
e8376742
PA
165612015-07-29 Pedro Alves <palves@redhat.com>
16562
16563 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
16564 (default_mi_gdb_start): Set inferior_spawn_id instead of
16565 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
16566 gdb_spawn_id.
16567 (mi_gdb_test): Always expect inferior output from both
16568 $inferior_spawn_id and $gdb_spawn_id.
16569
08280010
PA
165702015-07-29 Pedro Alves <palves@redhat.com>
16571
16572 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
16573 send_inferior and $inferior_spawn_id.
16574
4d30e432
PA
165752015-07-29 Pedro Alves <palves@redhat.com>
16576
16577 * gdb.gdb/complaints.exp (test_initial_complaints)
16578 (test_serial_complaints, test_short_complaints): Use
16579 gdb_test_stdio.
16580 (test_empty_complaint): Handle $inferior_spawn_id !=
16581 $gdb_spawn_id.
16582
0d30a335
PA
165832015-07-29 Pedro Alves <palves@redhat.com>
16584
16585 * gdb.base/varargs.exp: Use gdb_test_stdio.
16586
39413b29
PA
165872015-07-29 Pedro Alves <palves@redhat.com>
16588
16589 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
16590
7cb000a9
PA
165912015-07-29 Pedro Alves <palves@redhat.com>
16592
16593 * gdb.base/ending-run.exp: Use gdb_test_stdio.
16594
d7b8ac82
PA
165952015-07-29 Pedro Alves <palves@redhat.com>
16596
16597 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
16598 parameter into two new parameters, "inf_result" and "gdb_result".
16599 Expect inferior output and gdb output from $inferior_spawn_id and
16600 $gdb_spawn_id, respectively. Adjust all callers.
16601
789c3a0c
PA
166022015-07-29 Pedro Alves <palves@redhat.com>
16603
16604 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
16605 of gdb_test_sequence.
16606
77e760c3
PA
166072015-07-29 Pedro Alves <palves@redhat.com>
16608
16609 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
16610 (saw_spurious_output): Expect inferior output from
16611 $inferior_spawn_id. Use gdb_test_stdio.
16612
8396d2cd
PA
166132015-07-29 Pedro Alves <palves@redhat.com>
16614
16615 * gdb.base/dprintf.exp: Use standard_testfile. Change
16616 prepare_for_testing call.
16617 (srcfile): Don't set.
16618 (restart): New procedure.
16619 (test_dprintf): New procecure, use to continue over dprintfs.
16620 (test_call, test_agent): New procedures, tests moved here.
16621 Restart gdb and recreate dprintfs. Adjust expected output.
16622
2051d61f
PA
166232015-07-29 Pedro Alves <palves@redhat.com>
16624
16625 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
16626
452397af
PA
166272015-07-29 Pedro Alves <palves@redhat.com>
16628
16629 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
16630
8aed9555
PA
166312015-07-29 Pedro Alves <palves@redhat.com>
16632
16633 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
16634 gdb_test_stdio.
16635
188a61b4
PA
166362015-07-29 Pedro Alves <palves@redhat.com>
16637
16638 * lib/gdb.exp (gdb_test_stdio): New procedure.
16639
12264a45
PA
166402015-07-29 Pedro Alves <palves@redhat.com>
16641
16642 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
16643
23ffc893
PA
166442015-07-29 Pedro Alves <palves@redhat.com>
16645
16646 * gdb.base/call-signal-resume.exp: Remove check for
16647 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
16648 * gdb.base/unwindonsignal.exp: Likewise.
16649 * gdb.base/call-signals.c (gen_signal): Remove printf call.
16650 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
16651
65566918
PA
166522015-07-29 Pedro Alves <palves@redhat.com>
16653
16654 * gdb.base/siginfo-addr.c (pass): New function.
16655 (handler): Call it iff si_addr is correct.
16656 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
16657 Set a breakpoint at "pass" and continue to it.
16658
d60a9221
SDJ
166592015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
16660
16661 * gdb.python/py-objfile.exp: Make some tests have unique names.
16662 * gdb.python/py-pp-registration.exp: Likewise.
16663
bde40b8f
PA
166642015-07-28 Pedro Alves <palves@redhat.com>
16665
16666 * gdb.server/server-exec-info.exp: Issue a "disconnect".
16667
13e1dec8
SM
166682015-07-27 Simon Marchi <simon.marchi@ericsson.com>
16669
16670 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
16671
da33c9a7
SM
166722015-07-27 Simon Marchi <simon.marchi@ericsson.com>
16673
16674 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
16675
077836f7
PP
166762015-07-27 Patrick Palka <patrick@parcs.ath.cx>
16677
16678 * gdb.base/gdb-sigterm-2.exp: New test.
16679
b8cc7b2e
DE
166802015-07-25 Doug Evans <xdje42@gmail.com>
16681
16682 Revert:
16683 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
16684 (workers/%.worker, build-perf): New rule.
16685 (GDB_PERFTEST_MODE): New variable.
16686 (check-perf): Use it.
16687 (clean): Clean up gdb.perf parallel build subdirs.
16688 * lib/build-piece.exp: New file.
16689 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
16690 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
16691 name.
16692 (standard_temp_file): Ditto.
16693 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16694 of $GDB_PARALLEL.
16695
c8bd4544
DE
166962015-07-24 Doug Evans <dje@google.com>
16697
16698 * gdb.perf/lib/perftest/utils.py: New file.
16699 * gdb.perf/gm-hello.cc: New file.
16700 * gdb.perf/gm-pervasive-typedef.cc: New file.
16701 * gdb.perf/gm-pervasive-typedef.h: New file.
16702 * gdb.perf/gm-std.cc: New file.
16703 * gdb.perf/gm-std.h: New file.
16704 * gdb.perf/gm-use-cerr.cc: New file.
16705 * gdb.perf/gm-utils.h: New file.
16706 * gdb.perf/gmonster-null-lookup.py: New file.
16707 * gdb.perf/gmonster-pervasive-typedef.py: New file.
16708 * gdb.perf/gmonster-print-cerr.py: New file.
16709 * gdb.perf/gmonster-ptype-string.py: New file.
16710 * gdb.perf/gmonster-runto-main.py: New file.
16711 * gdb.perf/gmonster-select-file.py: New file.
16712 * gdb.perf/gmonster1-null-lookup.exp: New file.
16713 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
16714 * gdb.perf/gmonster1-print-cerr.exp: New file.
16715 * gdb.perf/gmonster1-ptype-string.exp: New file.
16716 * gdb.perf/gmonster1-runto-main.exp: New file.
16717 * gdb.perf/gmonster1-select-file.exp: New file.
16718 * gdb.perf/gmonster1.cc: New file.
16719 * gdb.perf/gmonster1.exp: New file.
16720 * gdb.perf/gmonster2-null-lookup.exp: New file.
16721 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
16722 * gdb.perf/gmonster2-print-cerr.exp: New file.
16723 * gdb.perf/gmonster2-ptype-string.exp: New file.
16724 * gdb.perf/gmonster2-runto-main.exp: New file.
16725 * gdb.perf/gmonster2-select-file.exp: New file.
16726 * gdb.perf/gmonster2.cc: New file.
16727 * gdb.perf/gmonster2.exp: New file.
16728
6eab34f3
DE
167292015-07-24 Doug Evans <dje@google.com>
16730
16731 * gdb.perf/README: New file.
16732 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
16733 * lib/gen-perf-test.exp: New file.
16734
63738bfd
DE
167352015-07-24 Doug Evans <dje@google.com>
16736
16737 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
16738 (PerfTest::startup): New function.
16739 (PerfTest::run): Return result of calling body.
16740 (PerfTest::assemble): Rewrite.
16741 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
16742 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
16743 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
16744 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
16745 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
16746
7b606f95
DE
167472015-07-24 Doug Evans <dje@google.com>
16748
16749 * lib/gdb.exp (clean_restart): Make executable optional.
16750
a97b16b8
DE
167512015-07-24 Doug Evans <dje@google.com>
16752
16753 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
16754 compiler_info references.
16755 * gdb.cp/temargs.exp: Ditto.
16756 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
16757 (get_compiler_info): Early exit if already computed. Set compiler_info
16758 to "unknown" if there was a problem.
16759 (test_compiler_info): Add function comment. Call get_compiler_info.
16760
35baa57f
DE
167612015-07-24 Doug Evans <dje@google.com>
16762
16763 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
16764 (workers/%.worker, build-perf): New rule.
16765 (GDB_PERFTEST_MODE): New variable.
16766 (check-perf): Use it.
16767 (clean): Clean up gdb.perf parallel build subdirs.
16768 * lib/build-piece.exp: New file.
16769 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
16770 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
16771 name.
16772 (standard_temp_file): Ditto.
16773 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16774 of $GDB_PARALLEL.
16775
6ebea266
DE
167762015-07-24 Doug Evans <dje@google.com>
16777
16778 * lib/future.exp (gdb_default_target_compile): New option
16779 "early_flags".
16780 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
16781 --as-needed.
16782
1e76a7e9
SDJ
167832015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
16784
16785 * gdb.base/catch-syscall.exp: Call gdb_exit before
16786 gdb_skip_xml_test.
16787
5068630a
PA
167882015-07-24 Pedro Alves <palves@redhat.com>
16789
16790 * gdb.python/py-events.exp: Accept output between the stop event
16791 and the prompt.
16792 * gdb.python/py-evsignal.exp: Likewise.
16793 * gdb.python/py-evthreads.exp: Likewise.
16794
77598427
PA
167952015-07-24 Pedro Alves <palves@redhat.com>
16796
16797 PR gdb/18717
16798 * gdb.threads/non-ldr-exit.c: New file.
16799 * gdb.threads/non-ldr-exit.exp: New file.
16800
11e6c98f
YQ
168012015-07-24 Yao Qi <yao.qi@linaro.org>
16802
16803 * gdb.server/ext-wrapper.exp: Test --wrapper option when
16804 restarting process.
16805
51aee833
YQ
168062015-07-24 Yao Qi <yao.qi@linaro.org>
16807
16808 * gdb.server/ext-restart.exp: New file.
16809
8cfe207c
YQ
168102015-07-24 Yao Qi <yao.qi@linaro.org>
16811
16812 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
16813 argument options.
16814 * gdb.server/ext-wrapper.exp: New file.
16815
cc12ce38
DE
168162015-07-23 Doug Evans <dje@google.com>
16817
16818 * gdb.dwarf2/dw2-dummy-cu.S: New file.
16819 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
16820
d0d84780
PMR
168212015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
16822
16823 * gdb.ada/var_arr_typedef.exp: New testcase.
16824 * gdb.ada/var_arr_typedef/pack.adb: New file.
16825 * gdb.ada/var_arr_typedef/pack.ads: New file.
16826 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
16827
8b558f79
JB
168282015-07-20 Joel Brobecker <brobecker@adacore.com>
16829
16830 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
16831
775a3298
JK
168322015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16833
16834 * gdb.arch/i386-biarch-core.exp: Replace istarget
16835 by "complete set gnutarget". Remove expectation for the "core-file"
16836 command.
16837
db1ff28b
JK
168382015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16839
16840 Revert the previous commit:
16841 Tests for validate symbol file using build-id.
16842
0a94970d
JK
168432015-07-15 Aleksandar Ristovski <aristovski@qnx.com
16844
16845 Tests for validate symbol file using build-id.
16846 * gdb.base/solib-mismatch-lib.c: New file.
16847 * gdb.base/solib-mismatch-libmod.c: New file.
16848 * gdb.base/solib-mismatch.c: New file.
16849 * gdb.base/solib-mismatch.exp: New file.
16850
03346981
SL
168512015-07-15 Sandra Loosemore <sandra@codesourcery.com>
16852
16853 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
16854 nios2-*-linux*.
16855 * gdb.base/sigbpt.exp (stepi_out): Likewise.
16856 * gdb.base/siginfo.exp: Likewise.
16857 * gdb.base/sigstep.exp (advance, advancei): Likewise.
16858
42422cc7
PL
168592015-07-15 Pierre Langlois <pierre.langlois@arm.com>
16860
16861 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
16862 Move it to ...
16863 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
16864 ... here.
16865 * gdb.trace/range-stepping.exp: Check that the target supports
16866 range stepping.
16867
cfa68bae
JK
168682015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16869
16870 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
16871
8ffdba26
PA
168722015-07-14 Pedro Alves <palves@redhat.com>
16873
16874 * gdb.base/killed-outside.exp: New file.
16875 * gdb.base/killed-outside.c: New file.
16876
218a5a11
JK
168772015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16878
16879 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
16880 (n at main): New.
16881 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
16882
e03ed3c6
AA
168832015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
16884
16885 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
16886 infcall tests instead of setting up for KFAIL.
16887
485668e5
MM
168882015-07-10 Markus Metzger <markus.t.metzger@intel.com>
16889
16890 * gdb.btrace/record_goto-step.exp: New.
16891
08464196
JK
168922015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16893
16894 PR compile/18484
16895 * gdb.compile/compile.c (struct struct_type): Add volatile to
16896 selffield's type.
16897 * gdb.compile/compile.exp
16898 (compile code struct_object.selffield = &struct_object): Skip further
16899 struct_object tests if this one xfails.
16900
bcf5c1d9
RC
169012015-07-08 Robert O'Callahan <robert@ocallahan.org>
16902
16903 PR exp/18617
16904 * gdb.trace/ax.exp: Add test.
16905
4931af25
YQ
169062015-07-07 Yao Qi <yao.qi@linaro.org>
16907
16908 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
16909 instead of istarget "aarch64*-*-*".
16910 * gdb.arch/aarch64-fp.exp: Likewise.
16911 * gdb.base/float.exp: Likewise.
16912 * gdb.reverse/aarch64.exp: Likewise.
16913 * lib/gdb.exp (is_aarch64_target): New proc.
16914
9fcf688e
YQ
169152015-07-07 Yao Qi <yao.qi@linaro.org>
16916
16917 * lib/gdb.exp (is_aarch32_target): New proc.
16918 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
16919 instead of "istarget "arm*-*-*"".
16920 * gdb.arch/arm-disp-step.exp: Likewise.
16921 * gdb.arch/thumb-bx-pc.exp: Likewise.
16922 * gdb.arch/thumb-prologue.exp: Likewise.
16923 * gdb.arch/thumb-singlestep.exp: Likewise.
16924 * gdb.base/disp-step-syscall.exp: Likewise.
16925 * gdb.base/float.exp: Likewise.
16926
fbd8d50d
YQ
169272015-07-07 Yao Qi <yao.qi@linaro.org>
16928
16929 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
16930 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
16931
71be1fdc
YQ
169322015-07-07 Yao Qi <yao.qi@linaro.org>
16933
16934 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
16935 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
16936 if it exists.
16937 * gdb.multi/multi-arch.exp: Likewise.
16938
3e221d36
SM
169392015-07-07 Simon Marchi <simon.marchi@ericsson.com>
16940
16941 * gdb.python/py-lazy-string.exp: Add missing parentheses to
16942 print.
16943
d441430b
YQ
169442015-07-07 Yao Qi <yao.qi@linaro.org>
16945
16946 * gdb.arch/thumb-singlestep.exp: Do one more single step.
16947
06f810bd
MG
169482015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
16949
16950 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
16951 '[' and ']' characters.
16952
5e61e7c0
IB
169532015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
16954
16955 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
16956
28bf096c
PA
169572015-06-29 Pedro Alves <palves@redhat.com>
16958
16959 PR threads/18127
16960 * gdb.threads/hand-call-new-thread.c: New file.
16961 * gdb.threads/hand-call-new-thread.c: New file.
16962
ee93cd5e
KS
169632015-06-26 Keith Seitz <keiths@redhat.com>
16964 Doug Evans <dje@google.com>
16965
16966 PR 16253
16967 * gdb.cp/var-tag-2.cc: New file.
16968 * gdb.cp/var-tag-3.cc: New file.
16969 * gdb.cp/var-tag-4.cc: New file.
16970 * gdb.cp/var-tag.cc: New file.
16971 * gdb.cp/var-tag.exp: New file.
16972
fc637f04
PP
169732015-06-26 Patrick Palka <patrick@parcs.ath.cx>
16974
16975 * gdb.base/history-duplicates.exp: New test.
16976
2e52ae68
PP
169772015-06-26 Patrick Palka <patrick@parcs.ath.cx>
16978
16979 * gdb.base/completion.exp: Test the completion of the "focus"
16980 command.
16981
6e22494e
JK
169822015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16983
16984 * gdb.arch/amd64-prologue-skip.S: New file.
16985 * gdb.arch/amd64-prologue-skip.exp: New file.
16986
bf7b9cd9
SM
169872015-06-25 Simon Marchi <simon.marchi@ericsson.com>
16988
16989 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
16990 is_address_zero_readable check.
16991
201e8dfd
PB
169922015-06-24 Peter Bergner <bergner@vnet.ibm.com>
16993
16994 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
16995 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
16996
5cd867b4
YQ
169972015-06-24 Yao Qi <yao.qi@linaro.org>
16998
16999 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
17000 linux targets.
17001
4d7be007
YQ
170022015-06-24 Yao Qi <yao.qi@linaro.org>
17003
17004 * lib/gdb.exp (supports_get_siginfo_type): New proc.
17005 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
17006 * gdb.base/siginfo-thread.exp: Likewise.
17007
07fcd301
YQ
170082015-06-22 Yao Qi <yao.qi@linaro.org>
17009
17010 * boards/remote-gdbserver-on-localhost.exp: Add comments.
17011
52042a00
YQ
170122015-06-22 Yao Qi <yao.qi@linaro.org>
17013
17014 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
17015 aarch64*-*-*.
17016 (skip_hw_watchpoint_tests): Likewise.
17017
74bd41ce
PP
170182015-06-18 Patrick Palka <patrick@parcs.ath.cx>
17019
17020 * gdb.base/gdbinit-history.exp: Test the interaction between
17021 setting GDBHISTSIZE and setting the history size via .gdbinit.
17022
bc460514
PP
170232015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17024
17025 PR gdb/16999
17026 * gdb.base/gdbhistsize-history.exp: New test.
17027
b58c513b
PP
170282015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17029
17030 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
17031 with GDBHISTSIZE.
17032 * gdb.base/readline.exp: Likewise.
17033
92046791
YQ
170342015-06-17 Yao Qi <yao.qi@linaro.org>
17035
17036 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
17037 line.
17038
2093d2d3
PP
170392015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17040
17041 * gdb.base/gdbinit-history.exp: Add test case to check that
17042 an unlimited history file does not get truncated on exit.
17043
e6c693af
AA
170442015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17045
17046 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
17047 (VECTOR): New macro. Use it...
17048 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
17049 ...for these typedefs.
17050 (int8, char1, int1, double1): New typedefs.
17051 (struct just_int2, struct two_int2): New structures.
17052 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
17053 (add_structvecs, add_singlevecs): New functions.
17054 (main): Call add_some_intvecs twice.
17055 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
17056 the compile and exit upon failure. Try compiling for the "native"
17057 architecture. Test inferior function calls with vector arguments
17058 and vector return value handling with "finish" and "return".
17059
c74f7d1c
JT
170602015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
17061
17062 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
17063 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
17064 PE file.
17065 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
17066
98aa42ee
AT
170672015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
17068
17069 PR breakpoints/16465
17070 * gdb.mi/mi-dprintf-pending.c: New file.
17071 * gdb.mi/mi-dprintf-pending.exp: New test.
17072 * gdb.mi/mi-dprintf-pendshr.c: New file.
17073
7d73c23c 170742015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 17075 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
17076
17077 * gdb.arch/i386-mpx-map.c: New file.
17078 * gdb.arch/i386-mpx-map.exp: New File.
17079
170802015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17081
17082 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
17083 * gdb.arch/i386-mpx.exp: Indentation fixed.
17084
170852015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17086
17087 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
17088 function and improved indentation.
17089 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
17090 gdb_test_multiple. Added additional tests to skip the test.
17091
170922015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17093
17094 * gdb.arch/i386-avx512.c: Change path in include file.
17095 * gdb.arch/i386-avx512.exp: Change include dir path
17096 compilation flag.
17097 * gdb.arch/i386-mpx.c: Change path in include file.
17098 * gdb.arch/i386-mpx.exp: Change include dir path compilation
17099 flag.
17100
d5eba19a
JK
171012015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
17102
17103 * gdb.compile/compile-print.exp (compile print *vararray@3)
17104 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
17105
7f361056
JK
171062015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17107
17108 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
17109 (do not keep jit in memory): ... this.
17110 (expect 5): Change it to ...
17111 (expect no 5): ... this.
17112
3b462ec2
SM
171132015-06-02 Simon Marchi <simon.marchi@ericsson.com>
17114
17115 PR gdb/15564
17116 * gdb.mi/mi-detach.exp: New file.
17117
e0619de6
JK
171182015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17119
17120 PR symtab/18392
17121 * gdb.arch/amd64-tailcall-self.S: New file.
17122 * gdb.arch/amd64-tailcall-self.c: New file.
17123 * gdb.arch/amd64-tailcall-self.exp: New file.
17124
e970cb34
DB
171252015-05-28 Don Breazeal <donb@codesourcery.com>
17126
17127 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
17128 tests for remote targets by checking is_target_gdbserver.
17129
b2e2f908
DE
171302015-05-27 Doug Evans <dje@google.com>
17131
17132 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
17133 * gdb.dwarf2/opaque-type-lookup.c: New file.
17134 * gdb.dwarf2/opaque-type-lookup.exp: New file.
17135
82c7be31
DE
171362015-05-26 Doug Evans <dje@google.com>
17137
17138 * gdb.cp/iostream.cc: New file.
17139 * gdb.cp/iostream.exp: New file.
17140
b4f54984
DE
171412015-05-26 Doug Evans <dje@google.com>
17142
17143 * gdb.dwarf2/dw2-op-call.exp: Update.
17144 * gdb.dwarf2/dw4-sig-types.exp: Update.
17145 * gdb.dwarf2/implptr.exp: Update.
17146 * gdb.mi/mi-cmd-param-changed.exp: Update.
17147
4ea6efe9
DE
171482015-05-26 Doug Evans <dje@google.com>
17149
17150 * gdb.python/py-lazy-string.c: New file.
17151 * gdb.python/py-lazy-string.exp: New file.
17152 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
17153 (main): Update. Add estring3.
17154 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
17155 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
17156
f6bb7db3
YQ
171572015-05-26 Omair Javaid <omair.javaid@linaro.org>
17158 Yao Qi <yao.qi@linaro.org>
17159
17160 * gdb.reverse/aarch64.c: New.
17161 * gdb.reverse/aarch64.exp: New.
17162
a81bfbd0
OJ
171632015-05-26 Omair Javaid <omair.javaid@linaro.org>
17164
25d49b86
PA
17165 * lib/gdb.exp (supports_process_record): Return true for
17166 aarch64*-linux*.
a81bfbd0
OJ
17167 (supports_reverse): Likewise.
17168
158bf1b4
PP
171692015-05-22 Patrick Palka <patrick@parcs.ath.cx>
17170
17171 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17172 Use with_test_prefix.
17173
a0145030
AB
171742015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
17175
17176 * gdb.base/completion.exp: Add test for completion of layout
17177 names.
17178
ebe3b578
AB
171792015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
17180
17181 * lib/gdb.exp (skip_tui_tests): New proc.
17182 * gdb.base/tui-layout.exp: Check skip_tui_tests.
17183
84204ed7
PA
171842015-05-19 Pedro Alves <palves@redhat.com>
17185
17186 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17187 Save the whole env array instead of just HOME. Unset HISTSIZE in
17188 the environment while testing. Restore whole environment
17189 afterwards.
17190
37442ce1
DE
171912015-05-16 Doug Evans <xdje42@gmail.com>
17192
17193 * gdb.guile/scm-ports.c: New file.
17194 * gdb.guile/scm-ports.exp: Add memory port tests.
17195
36de76f9
JK
171962015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17197
17198 * gdb.compile/compile-print.c: New file.
17199 * gdb.compile/compile-print.exp: New file.
17200
3a9558c4
JK
172012015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17202
17203 * gdb.compile/compile-ops.exp: Cast param to void.
17204 * gdb.compile/compile.exp: Complete type for _gdb_expr.
17205 (compile code struct_object.selffield = &struct_object): Add xfail.
17206
aa715135
JG
172072015-05-15 Joel Brobecker <brobecker@adacore.com>
17208
17209 * gdb.ada/arr_enum_with_gap: New testcase.
17210
931e5bc3
JG
172112015-05-15 Joel Brobecker <brobecker@adacore.com>
17212
17213 * gdb.ada/byte_packed_arr: New testcase.
17214
9cd4d857
JB
172152015-05-15 Joel Brobecker <brobecker@adacore.com>
17216
17217 * gdb.ada/pckd_neg: New testcase.
17218
ebfd00d2
PP
172192015-05-13 Patrick Palka <patrick@parcs.ath.cx>
17220
17221 PR gdb/17820
17222 * gdb.base/gdbinit-history.exp: New test.
17223 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
17224 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
17225
4c082a81
SC
172262015-05-09 Siva Chandra Reddy <sivachandra@google.com>
17227
17228 * gdb.python/py-xmethods.cc: Enhance test case.
17229 * gdb.python/py-xmethods.exp: New tests.
17230 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
17231 function.
17232 (B_indexoper): Likewise.
17233 (global_dm_list) : Add new xmethod worker functions.
17234
f7797074
SDJ
172352015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
17236
17237 * gdb.base/coredump-filter.exp: Correctly unset
17238 "coredump_var_addr" array.
17239
a4674e4e
PA
172402015-05-08 Pedro Alves <palves@redhat.com>
17241
17242 * gdb.server/non-existing-program.exp: Unset spawn_id.
17243
df2eb078
SC
172442015-05-08 Siva Chandra Reddy <sivachandra@google.com>
17245
17246 PR python/18291
17247 * gdb.python/py-xmethods.exp: Add tests.
17248
422349a3
YQ
172492015-05-08 Yao Qi <yao.qi@linaro.org>
17250
17251 PR gdb/18208
17252 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
17253 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
17254 function set_coredump_filter, and remove remote_exec call.
17255 Remove argument ipid. Callers update.
17256 (top level): Don't get inferior's PID.
17257
63fc80ce
AA
172582015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
17259
17260 * gdb.base/watch_thread_num.exp: Skip test on targets without
17261 access watchpoints.
17262
80ad801e
PA
172632015-05-06 Pedro Alves <palves@redhat.com>
17264
17265 PR server/18081
17266 * gdb.server/non-existing-program.exp: New file.
17267
0fa7fe50
JB
172682015-05-05 Joel Brobecker <brobecker@adacore.com>
17269
17270 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
17271
3ea89b92
PMR
172722015-05-05 Joel Brobecker <brobecker@adacore.com>
17273
17274 * gdb.ada/out_of_line_in_inlined: New testcase.
17275
87b8eff0
JB
172762015-05-05 Joel Brobecker <brobecker@adacore.com>
17277
17278 * gdb.ada/var_rec_arr: New testcase.
17279
5fccc635
YQ
172802015-04-30 Yao Qi <yao.qi@linaro.org>
17281
17282 * gdb.base/break-idempotent.exp: If
17283 skip_hw_watchpoint_multi_tests returns true, skip the tests
17284 on "rwatch" and "awatch".
17285
42d38f42
YQ
172862015-04-30 Yao Qi <yao.qi@linaro.org>
17287
17288 * gdb.base/relativedebug.exp: Invoke gdb command
17289 "info sharedlibrary", and if libc.so doesn't have debug info,
17290 skip the test.
17291
2ce1cdbf
DE
172922015-04-29 Doug Evans <dje@google.com>
17293
17294 * gdb.python/py-xmethods.exp: Add ptype tests.
17295 * gdb.python/py-xmethods.py (E_method_char_worker): Add
17296 get_result_type method.
17297
f24a38c5
LM
172982015-04-29 Luis Machado <lgustavo@codesourcery.com>
17299
17300 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
17301 the target does not support hardware watchpoints.
17302
ecbf2b3c
LM
173032015-04-29 Luis Machado <lgustavo@codesourcery.com>
17304
17305 * gdb.base/break-always.exp: Abort testing if writing to memory
17306 causes an error.
17307
34f5f757
DE
173082015-04-28 Doug Evans <dje@google.com>
17309
17310 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
17311 * gdb.python/py-pp-registration.exp: ... here. New file.
17312 * gdb.python/py-pp-registration.c: New file.
17313 * gdb.python/py-pp-registration.py: New file.
17314
69b4374a
DE
173152015-04-28 Doug Evans <dje@google.com>
17316
17317 * gdb.python/py-bad-printers.c: New file.
17318 * gdb.python/py-bad-printers.py: New file.
17319 * gdb.python/py-bad-printers.exp: New file.
17320
59fb7612
SS
173212015-04-28 Sasha Smundak <asmundak@google.com>
17322
17323 * gdb.python/py-type.exp: New test.
17324
2631b16a
AW
173252015-04-28 Andy Wingo <wingo@igalia.com>
17326
17327 * gdb.python/py-parameter.exp:
17328 * gdb.guile/scm-parameter.exp: Escape the path that we are
17329 matching against, as it might contain characters that are special
17330 to regular expressions.
17331
460efde1
JB
173322015-04-27 Joel Brobecker <brobecker@adacore.com>
17333
17334 * gdb.ada/rec_comp: New testcase.
17335
2d369d8e
SDJ
173362015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
17337
17338 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
17339 before using it.
17340
cf75d6c3
AB
173412015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
17342
17343 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
17344 new tests for verilog output.
17345
8dbe7ca5
YQ
173462015-04-24 Yao Qi <yao.qi@linaro.org>
17347
17348 * boards/remote-gdbserver-on-localhost.exp: New file.
17349
4ef9fb2f
PA
173502015-04-23 Pedro Alves <palves@redhat.com>
17351
17352 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
17353 $inferior_spawn_id instead of $inferior_spawn_id directly. On
17354 "end of file", remove $inferior_spawn_id from the indirect list.
17355
0a803169
PA
173562015-04-23 Pedro Alves <palves@redhat.com>
17357
17358 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
17359
749ef8f8
PA
173602015-04-23 Pedro Alves <palves@redhat.com>
17361
17362 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
17363 on $any_spawn_id instead of only on $gdb_spawn_id.
17364
8aae4344
PM
173652015-04-21 Pierre Muller <muller@sourceware.org>
17366
17367 PR pascal/17815
17368 * lib/pascal.exp (gpc_compile): Add new option "class".
17369 (fpc_compile): Likewise.
17370 * gdb.pascal/case-insensitive-symbols.pas: New file.
17371 * gdb.pascal/case-insensitive-symbols.exp: New file.
17372
1586c8fb
GB
173732015-04-20 Gary Benson <gbenson@redhat.com>
17374
17375 * gdb.base/attach.exp: Fix three extended remote failures.
17376
1b6e6f5c
GB
173772015-04-17 Gary Benson <gbenson@redhat.com>
17378
17379 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
17380 the main executable over the remote protocol.
17381
e797481d
PA
173822015-04-16 Pedro Alves <palves@redhat.com>
17383
17384 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
17385 a new gdbserver if gdbserver_reconnect_p is set.
17386
1ca99c42
PA
173872015-04-16 Pedro Alves <palves@redhat.com>
17388
17389 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
17390 is set, don't exit gdbserver.
17391
af9fd6f8
AA
173922015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
17393
17394 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
17395 appropriate .insn, such that an older assembler can be used.
17396 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
17397 the z/Architecture instruction set on 31-bit targets as well.
17398
04ff1e61
AA
173992015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
17400
17401 * gdb.go/handcall.exp: Remove all logic related to the first
17402 breakpoint and rely on go_runto_main instead.
17403 * gdb.go/strings.exp: Likewise.
17404 * gdb.go/unsafe.exp: Likewise.
17405 * gdb.go/hello.exp: Likewise. Also rename the remaining
17406 breakpoint marker to "breakpoint 1".
17407 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
17408 * gdb.go/strings.go: Likewise.
17409 * gdb.go/unsafe.go: Likewise.
17410 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
17411 "set breakpoint 2 here" and rename the remaining breakpoint marker
17412 to "breakpoint 1".
17413
40d2f8d6
SM
174142015-04-15 Simon Marchi <simon.marchi@ericsson.com>
17415
17416 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
17417 if itertools.imap is not present.
17418 * gdb.python/py-objfile.exp: Add parentheses.
17419 * gdb.python/py-type.exp: Same.
17420 * gdb.python/py-unwind-maint.py: Same.
17421
8cbc97c6
YQ
174222015-04-15 Yao Qi <yao.qi@linaro.org>
17423
17424 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
17425 of ":$ptr_size" and set its form explicitly.
17426
45fd756c
YQ
174272015-04-15 Pedro Alves <palves@redhat.com>
17428 Yao Qi <yao.qi@linaro.org>
17429
17430 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
17431 timeout by factor of 4.
17432 (test_regular_watch): Likewise.
17433 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
17434 * gdb.reverse/sigall-reverse.exp: Likewise.
17435 * gdb.reverse/until-precsave.exp: Likewise.
17436 * lib/gdb.exp (with_timeout_factor): New proc.
17437 (gdb_expect): Move some code to ...
17438 (get_largest_timeout): ... here. New procedure.
17439
9e811bc3
LM
174402015-04-14 Luis Machado <lgustavo@codesourcery.com>
17441
17442 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
17443
0ff6fcb2
LM
174442015-04-13 Luis Machado <lgustavo@codesourcery.com>
17445
17446 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
17447 to write to the .text section.
17448
7578d5f7
LM
174492015-04-13 Luis Machado <lgustavo@codesourcery.com>
17450
17451 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
17452 Handle the case of targets that do not provide PID information.
17453
2efe15c4
YQ
174542015-04-13 Yao Qi <yao.qi@linaro.org>
17455
17456 * lib/gdbserver-support.exp (gdb_exit): Catch exception
17457 and use expect instead of gdb_expect.
17458
8cd8f2f8
SDJ
174592015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
17460
17461 * gdb.base/coredump-filter.exp: Rename variable "addr" to
17462 "coredump_var_addr" to avoid naming conflict with other testcases.
17463
9ee41772
PA
174642015-04-10 Pedro Alves <palves@redhat.com>
17465
17466 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
17467 gdb_test_sequence and gdb_assert.
17468
07473109
PA
174692015-04-10 Pedro Alves <palves@redhat.com>
17470
17471 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
17472 test messages that don't include the breakpoint address.
17473
de3db44c
YQ
174742015-04-10 Yao Qi <yao.qi@linaro.org>
17475
17476 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
17477 false for some offset and width combinations which aren't
17478 supported by linux kernel.
17479
c79d856c
PA
174802015-04-10 Pedro Alves <palves@redhat.com>
17481
17482 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
17483 procedure, factored out from ...
17484 (top level): ... here. Add "set displaced-stepping" testing axis.
17485 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
17486 parameter "displaced". Use it.
17487 (top level): Use foreach and add "set displaced-stepping" testing
17488 axis.
17489
ebc90b50
PA
174902015-04-10 Pedro Alves <palves@redhat.com>
17491
17492 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
17493 Remove comment.
17494 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
17495 both the address of the instruction that triggers the watchpoint
17496 and the address of the instruction immediately after, and use
17497 those addresses for the test. Fix comment.
17498
8f572e5c
PA
174992015-04-10 Pedro Alves <palves@redhat.com>
17500
17501 * gdb.base/sigstep.exp (breakpoint_to_handler)
17502 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
17503 Test "backtrace" in handler.
17504 (breakpoint_over_handler): New parameter 'displaced'. Use it.
17505 (top level): Add new "displaced" test axis to
17506 breakpoint_to_handler, breakpoint_to_handler_entry and
17507 breakpoint_over_handler.
17508
8d707a12
PA
175092015-04-10 Pedro Alves <palves@redhat.com>
17510
17511 PR gdb/18216
17512 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
17513
ef713951
YQ
175142015-04-10 Yao Qi <yao.qi@linaro.org>
17515
17516 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
17517 (test_add_rn_pc): New function.
17518 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
17519 (top level): Invoke test_add_rn_pc.
17520
906d60cf
PA
175212015-04-10 Pedro Alves <palves@redhat.com>
17522
17523 PR gdb/13858
17524 * gdb.base/step-over-no-symbols.exp: New file.
17525
f2983cc3
AW
175262015-04-09 Andy Wingo <wingo@igalia.com>
17527
17528 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
17529 after the Python tests.
17530
6d62641c
SDJ
175312015-04-08 Keith Seitz <keiths@redhat.com>
17532
17533 PR python/16699
17534 * gdb.python/py-completion.exp: New tests for completion.
17535 * gdb.python/py-completion.py (CompleteLimit1): New class.
17536 (CompleteLimit2): Likewise.
17537 (CompleteLimit3): Likewise.
17538 (CompleteLimit4): Likewise.
17539 (CompleteLimit5): Likewise.
17540 (CompleteLimit6): Likewise.
17541 (CompleteLimit7): Likewise.
17542
f3770638
PA
175432015-04-08 Pedro Alves <palves@redhat.com>
17544
17545 PR gdb/18214
17546 PR gdb/18216
17547 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
17548 function.
17549 (main): Install it as SIGUSR1 handler.
17550 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
17551 parameter. Always use "setup" as prefix. Toggle "set
17552 displaced-stepping" off/on depending on global. Don't switch to
17553 thread 1 here.
17554 (top level): Add displaced stepping "off/on" test axis. Update
17555 "setup" calls. Wrap each subtest with with_test_prefix. Test
17556 continuing with a queued signal in each thread.
17557
4496bed7
PA
175582015-04-08 Pedro Alves <palves@redhat.com>
17559
17560 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
17561 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
17562 gdb_breakpoint instead of gdb_test that doesn't expect anything.
17563 Return early if running to main fails.
17564 * gdb.trace/while-stepping.exp: Likewise.
17565
b97fde92
PA
175662015-04-07 Pedro Alves <palves@redhat.com>
17567
17568 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
17569 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
17570 interact with inferior program.
17571
f71c18e7
PA
175722015-04-07 Pedro Alves <palves@redhat.com>
17573
17574 * lib/gdb.exp (inferior_spawn_id): New global.
17575 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
17576 spawn id after processing the user code.
17577 (default_gdb_start): Set inferior_spawn_id.
17578 (send_inferior): New procedure.
17579 * lib/gdbserver-support.exp (gdbserver_start): Set
17580 inferior_spawn_id.
17581 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
17582
6423214f
PA
175832015-04-07 Pedro Alves <palves@redhat.com>
17584
17585 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
17586 * lib/gdbserver-support.exp (gdbserver_start): Make
17587 $server_spawn_id global.
17588 (gdbserver_start): Don't wait for gdbserver's spawn id with
17589 expect_background.
17590 (close_gdbserver): New procedure.
17591 (gdb_exit): Rename the default version and reimplement.
17592
71c0ee8c
PA
175932015-04-07 Pedro Alves <palves@redhat.com>
17594
72f4393d 17595 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
17596 append the substituted item, not the original item.
17597
203bc29b
PA
175982015-04-07 Pedro Alves <palves@redhat.com>
17599
17600 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
17601 gdb_expect.
17602
508a3ddf
PA
176032015-04-07 Pedro Alves <palves@redhat.com>
17604
17605 * gdb.base/interrupt.exp: Don't handle the case of the inferior
17606 output appearing once only.
17607
9f6dbe2b
PA
176082015-04-07 Pedro Alves <palves@redhat.com>
17609
17610 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
17611 that doesn't expect anything. Return early if running to main
17612 fails.
17613
337532fa
YQ
176142015-04-07 Yao Qi <yao.qi@linaro.org>
17615
17616 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
17617 (child_function): Call alarm.
17618 (main): Move call to alarm into the loop.
17619 * gdb.threads/non-stop-fair-events.exp: Build program with
17620 -DTIMEOUT=$timeout.
17621
01b622d4
DE
176222015-04-06 Doug Evans <xdje42@gmail.com>
17623
17624 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
17625 Fix dest parameter to board_info.
17626 (fpc_compile): Ditto.
17627 (gdb_compile_pascal): Rename dest arg to destfile.
17628
961f4160
PMR
176292015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
17630
17631 * gdb.ada/funcall_ref.exp: New file.
17632 * gdb.ada/funcall_ref/foo.adb: New file.
17633
cafda597
YQ
176342015-04-02 Yao Qi <yao.qi@linaro.org>
17635
17636 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
17637 is remote.
17638
fed040c6
GB
176392015-04-02 Gary Benson <gbenson@redhat.com>
17640
17641 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
17642
d11916aa
SS
176432015-04-01 Sasha Smundak <asmundak@google.com>
17644
17645 * gdb.python/py-unwind-maint.c: New file.
17646 * gdb.python/py-unwind-maint.exp: New test.
17647 * gdb.python/py-unwind-maint.py: New file.
17648 * gdb.python/py-unwind.c: New file.
17649 * gdb.python/py-unwind.exp: New test.
17650 * gdb.python/py-unwind.py: New test.
17651
a1471180
PA
176522015-04-01 Pedro Alves <palves@redhat.com>
17653
17654 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
17655 to fail instead of non-existent $test.
17656
0bbeccb1
PA
176572015-04-01 Pedro Alves <palves@redhat.com>
17658
17659 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
17660 GDBFLAGS if not empty.
17661
3c724c8c
PMR
176622015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
17663
17664 * gdb.ada/complete.exp: Remove "multi_line".
17665 * gdb.ada/info_exc.exp: Remove "multi_line".
17666 * gdb.ada/packed_tagged.exp: Remove "multi_line".
17667 * gdb.ada/ptype_field.exp: Remove "multi_line".
17668 * gdb.ada/sym_print_name.exp: Remove "multi_line".
17669 * gdb.ada/tagged.exp: Remove "multi_line".
17670 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
17671 [multi_line ...]
17672 * gdb.btrace/delta.exp: Likewise.
17673 * gdb.btrace/exception.exp: Likewise.
17674 * gdb.btrace/function_call_history.exp: Likewise.
17675 * gdb.btrace/instruction_history.exp: Likewise.
17676 * gdb.btrace/nohist.exp: Likewise.
17677 * gdb.btrace/record_goto.exp: Likewise.
17678 * gdb.btrace/segv.exp: Likewise.
17679 * gdb.btrace/stepi.exp: Likewise.
17680 * gdb.btrace/tailcall.exp: Likewise.
17681 * gdb.btrace/unknown_functions.exp: Likewise.
17682 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
17683 * lib/gdb.exp: Add the "multi_line" helper.
17684
4eec2deb
PA
176852015-04-01 Pedro Alves <palves@redhat.com>
17686
17687 * gdb.threads/tid-reuse.c: New file.
17688 * gdb.threads/tid-reuse.exp: New file.
17689
df8411da
SDJ
176902015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
17691
17692 PR corefiles/16092
17693 * gdb.base/coredump-filter.c: New file.
17694 * gdb.base/coredump-filter.exp: Likewise.
17695
6ef37366
PM
176962015-03-27 Petr Machata <pmachata@redhat.com>
17697
17698 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
17699 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
17700 (Dwarf::assemble): Initialize them.
17701 (Dwarf::lines): New function.
17702
7ec911b0
JT
177032015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
17704
17705 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
17706 SYMBOL_PREFIX for x86_64-*-cygwin.
17707
ff908ebf
AW
177082015-03-26 Andy Wingo <wingo@igalia.com>
17709
17710 PR symtab/18148
17711 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
17712 const_value but not a location.
17713 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
17714 location defined in non-main CUs are visible.
17715
6d5f0679
YQ
177162015-03-26 Yao Qi <yao.qi@linaro.org>
17717
17718 PR testsuite/18139
17719 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
17720 Add a line number entry for the same line.
17721 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
17722 Add a line number entry for the same line.
17723
2898689b
YQ
177242015-03-26 Yao Qi <yao.qi@linaro.org>
17725
17726 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
17727 .int 0.
17728 (func): Likewise. Add .Lfunc_1 label.
17729 Use .Lfunc_1 label.
17730 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
17731 .int 0.
17732 (func): Likewise.
17733 Use .Lfunc_1 label.
17734
85180498
YQ
177352015-03-26 Yao Qi <yao.qi@linaro.org>
17736
17737 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
17738 Call gdb_compile instead to compile each .s files without debug
17739 information.
17740
8aa08a8d
YQ
177412015-03-26 Yao Qi <yao.qi@linaro.org>
17742
17743 * gdb.base/savedregs.exp (process_saved_regs): Make
17744 "Saved registers:" optional in the pattern.
17745
66849923
MM
177462015-03-25 Markus Metzger <markus.t.metzger@intel.com>
17747
17748 * gdb.btrace/next.exp: Merged into step.exp.
17749 * gdb.btrace/finish.exp: Merged into step.exp.
17750 * gdb.btrace/nexti.exp: Merged into stepi.exp.
17751 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
17752 "record goto" and checking the exact replay position.
17753 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
17754 check for "Recording format" in "info record" output.
17755 * gdb.btrace/record_goto.exp: Choose test file based on target.
17756 * gdb.btrace/x86-record_goto.S: Renamed into ...
17757 * gdb.btrace/x86_64-record_goto.S: ... this.
17758 * gdb.btrace/i686-record_goto.S: New.
17759 * gdb.btrace/x86-tailcall.S: Renamed into ...
17760 * gdb.btrace/x86_64-tailcall.S: ... this.
17761 * gdb.btrace/i686-tailcall.S: New.
17762 * gdb.btrace/x86-tailcall.c: Renamed into ...
17763 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
17764 separate statements. Update test.
17765 * gdb.btrace/delta.exp: Use record_goto.c as test file.
17766 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
17767 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
17768 * gdb.btrace/tailcall.exp: Choose test file based on target.
17769 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
17770
11cc1b74
MM
177712015-03-25 Markus Metzger <markus.t.metzger@intel.com>
17772
17773 * gdb.btrace/exception.exp: Increase BTS buffer size.
17774
a25d8bf9
PA
177752015-03-24 Pedro Alves <palves@redhat.com>
17776
17777 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
17778
856e7dd6
PA
177792015-03-24 Pedro Alves <palves@redhat.com>
17780
17781 * gdb.threads/schedlock.exp (test_step): No longer expect that
17782 "set scheduler-locking step" with "next" over a function call runs
17783 threads unlocked.
17784
ad235a41
AT
177852015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
17786
17787 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
17788
15630549
AT
177892015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
17790
17791 PR breakpoints/16466
17792 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
17793 * gdb.mi/mi-pending.c (thread_func): New function.
17794 (int main): Add threading support required.
17795 * gdb.mi/mi-pending.exp: Add tests for this issue.
17796 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
17797 (pendfunc2): Remove stdio dependency.
17798 * gdb.mi/mi-pendshr2.c: New file.
17799
693dca06
KS
178002015-03-23 Keith Seitz <keiths@redhat.com>
17801
17802 * gdb.linespec/keywords.c: New file.
17803 * gdb.linespec/keywords.exp: New file.
17804
7e993ebf
KS
178052015-03-23 Keith Seitz <keiths@redhat.com>
17806
17807 PR gdb/18021
17808 * gdb.dwarf2/staticvirtual.exp: New test.
17809
bc23328c
JK
178102015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
17811
17812 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
17813 * README: Remove HP-UX and gdb.hp.
17814 (configuration):
17815 * configure: Regenerate.
17816 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
17817 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
17818 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
17819 gdb.hp/gdb.defects/Makefile.
17820 * gdb.hp/Makefile.in: File deleted.
17821 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
17822 * gdb.hp/gdb.aCC/optimize.c: File deleted.
17823 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
17824 * gdb.hp/gdb.aCC/run.c: File deleted.
17825 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
17826 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
17827 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
17828 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
17829 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
17830 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
17831 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
17832 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
17833 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
17834 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
17835 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
17836 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
17837 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
17838 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
17839 * gdb.hp/gdb.base-hp/reg.s: File deleted.
17840 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
17841 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
17842 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
17843 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
17844 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
17845 * gdb.hp/gdb.compat/Makefile.in: File deleted.
17846 * gdb.hp/gdb.compat/average.c: File deleted.
17847 * gdb.hp/gdb.compat/sum.c: File deleted.
17848 * gdb.hp/gdb.compat/xdb.c: File deleted.
17849 * gdb.hp/gdb.compat/xdb0.c: File deleted.
17850 * gdb.hp/gdb.compat/xdb0.h: File deleted.
17851 * gdb.hp/gdb.compat/xdb1.c: File deleted.
17852 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
17853 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
17854 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
17855 * gdb.hp/gdb.defects/Makefile.in: File deleted.
17856 * gdb.hp/gdb.defects/bs14602.c: File deleted.
17857 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
17858 * gdb.hp/gdb.defects/solib-d.c: File deleted.
17859 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
17860 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
17861 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
17862 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
17863 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
17864 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
17865 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
17866 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
17867 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
17868 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
17869 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
17870 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
17871 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
17872 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
17873 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
17874 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
17875 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
17876 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
17877 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
17878 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
17879 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
17880 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
17881 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
17882 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
17883 * gdb.hp/tools/odump: File deleted.
17884
8bf3b159
PA
178852015-03-19 Pedro Alves <palves@redhat.com>
17886
17887 * gdb.threads/continue-pending-status.exp (saw_thread_2)
17888 (saw_thread_3): New globals.
17889 (top level): Increment them when an event for the corresponding
17890 thread is seen.
17891 (no thread starvation): New test.
17892
eb54c8bf
PA
178932015-03-19 Pedro Alves <palves@redhat.com>
17894
17895 * gdb.threads/continue-pending-status.c: New file.
17896 * gdb.threads/continue-pending-status.exp: New file.
17897
32d2e5d6
PA
178982015-03-18 Pedro Alves <palves@redhat.com>
17899
17900 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
17901 Use gdb_is_target_remote instead of is_remote. Use
17902 gdb_test_multiple instead of gdb_expect. Exit early if
17903 gdb_test_multiple hits its internal matches. Tighten stepi tests
17904 expected output. Fail on exit with any signal, instead of just
17905 SIGILL.
17906
f68f11b7
YQ
179072015-03-18 Yao Qi <yao.qi@linaro.org>
17908
17909 PR tdep/18107
17910 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
17911 variable.
17912 * gdb.base/catch-syscall.exp: Don't skip it on
17913 aarch64*-*-linux* target. Remove elements in all_syscalls.
17914 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
17915 target.
17916 (setup_all_syscalls): New proc.
17917
ca5fd19b
YQ
179182015-03-16 Yao Qi <yao.qi@linaro.org>
17919
17920 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
17921 (top level): Skip tests if valid_addr_p returns false for
17922 $cmd1 or $cmd2.
17923
85642ba0
AW
179242015-03-11 Andy Wingo <wingo@igalia.com>
17925
17926 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
17927
e03f9645
YQ
179282015-03-11 Yao Qi <yao.qi@linaro.org>
17929
17930 * gdb.base/catch-syscall.exp: Fix typo in comments.
17931
5d0962b2
YQ
179322015-03-11 Yao Qi <yao.qi@linaro.org>
17933
17934 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
17935
b2df3cef
PA
179362015-03-09 Pedro Alves <palves@redhat.com>
17937
17938 * dg-extract-results.py: Delete.
17939
ef878e53
PA
179402015-03-09 Pedro Alves <palves@redhat.com>
17941
17942 Merge dg-extract-results.sh from GCC upstream (r218843).
17943
17944 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
17945 * dg-extract-results.sh: Use --text with grep to avoid issues with
17946 binary files. Fall back to cat -v, if that doesn't work.
17947
9494d219
PA
179482015-03-05 Pedro Alves <palves@redhat.com>
17949
17950 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
17951
a8d9763a
SM
179522015-03-04 Simon Marchi <simon.marchi@ericsson.com>
17953
17954 * lib/mi-support.exp (mi_expect_interrupt): Accept
17955 alternative event for when in all-stop mode.
17956
be9957b8
PA
179572015-03-04 Pedro Alves <palves@redhat.com>
17958
17959 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
17960
d57be0f4 179612015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
17962
17963 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
17964
c214c7cf
AA
179652015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
17966
17967 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
17968 regexps for GDB's current line display, accept a hex address
17969 preceding the line number.
17970
6d74a497
AA
179712015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
17972
17973 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
17974 the 'arch1' variable for "s390*-linux*" targets.
17975
511aee7c
PA
179762015-03-04 Pedro Alves <palves@redhat.com>
17977
17978 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
17979 (main): Pass missing retval argument to pthread_join call.
17980
95e50b27
PA
179812015-03-02 Pedro Alves <palves@redhat.com>
17982
17983 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
17984 (top level): Call do_test with non-stop as well.
17985
28054d69
PA
179862015-03-02 Pedro Alves <palves@redhat.com>
17987
17988 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
17989 -1.
17990
4fa5d7b4
AA
179912015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
17992
17993 * gdb.arch/s390-vregs.exp: New test.
17994 * gdb.arch/s390-vregs.S: New file.
17995
97c18565
PA
179962015-02-27 Pedro Alves <palves@redhat.com>
17997
17998 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
17999 call to catch_command_errors.
18000 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
18001 catch_command_errors.
18002
a37bfa30
PA
180032015-02-27 Pedro Alves <palves@redhat.com>
18004
18005 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
18006 "true" for boolean result.
18007 * gdb.gdb/selftest.exp (test_with_self): Also accept full
18008 prototype of main.
18009
6f98576f
PA
180102015-02-27 Pedro Alves <palves@redhat.com>
18011
18012 * lib/unbuffer_output.c: New file.
18013 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
18014 (main): Call gdb_unbuffer_output.
18015
eba5ab56
YQ
180162015-02-27 Yao Qi <yao.qi@linaro.org>
18017
18018 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
18019 target.
18020
0def5aaa
DE
180212015-02-26 Doug Evans <dje@google.com>
18022
18023 * gdb.cp/class2.cc (Dbase, D): New classes.
18024 (main): New local delta.
18025 * gdb.cp/class2.exp: Test printing delta.
18026 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
18027 (dynbar): New global.
18028 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
18029
081a1c2c
JK
180302015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18031
18032 * gdb.compile/compile-ifunc.c: New file.
18033 * gdb.compile/compile-ifunc.exp: New file.
18034
2f41223f
AT
180352015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
18036
18037 * gdb.base/structs.exp: Check for correct struct on finish.
18038
03eddd80
YQ
180392015-02-26 Yao Qi <yao.qi@linaro.org>
18040
18041 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
18042 is zero.
18043
80c57053
JK
180442015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18045
18046 * gdb.arch/cordic.ko.bz2: New file.
18047 * gdb.arch/cordic.ko.debug.bz2: New file.
18048 * gdb.arch/ppc64-symtab-cordic.exp: New file.
18049
21613c12
YQ
180502015-02-25 Yao Qi <yao.qi@linaro.org>
18051
18052 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
18053 aarch64*-*-* target.
18054
d8b901ed
PA
180552015-02-23 Pedro Alves <palves@redhat.com>
18056
18057 * lib/gdb.exp (delete_breakpoints): Rewrite using
18058 gdb_test_multiple.
18059
e5b85ead
PA
180602015-02-23 Pedro Alves <palves@redhat.com>
18061
18062 * gdb.base/info-os.c: Include stdlib.h.
18063
85c3a371
DE
180642015-02-22 Doug Evans <xdje42@gmail.com>
18065
18066 PR symtab/17855
18067 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
18068 is read after symbols have been re-read.
18069 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
18070 * gdb.ada/exec_changed/second.adb (Second): Ditto.
18071
96553a0c
DE
180722015-02-21 Doug Evans <dje@google.com>
18073
18074 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
18075
97a0c697
JK
180762015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18077
18078 PR corefiles/17808
18079 * gdb.arch/i386-biarch-core.core.bz2: New file.
18080 * gdb.arch/i386-biarch-core.exp: New file.
18081
a47cd6e9
PA
180822015-02-21 Pedro Alves <palves@redhat.com>
18083
18084 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
18085 runto_main fails.
18086
c5facdc4
PA
180872015-02-20 Pedro Alves <palves@redhat.com>
18088
18089 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
18090 info probes.
18091
2db9a427
PA
180922015-02-20 Pedro Alves <palves@redhat.com>
18093
18094 * gdb.threads/multi-create-ns-info-thr.exp: New file.
18095
60fb7e9e
PA
180962015-02-20 Pedro Alves <palves@redhat.com>
18097
18098 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
18099 clean_restart before gdb_target_supports_trace.
18100
5c5019c2
PA
181012015-02-20 Pedro Alves <palves@redhat.com>
18102
18103 PR threads/18006
18104 * gdb.threads/clone-thread_db.c: New file.
18105 * gdb.threads/clone-thread_db.exp: New file.
18106
c9587f88
AT
181072015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
18108
18109 PR breakpoints/16812
18110 * gdb.base/catch-gdb-caused-signals.c: New file.
18111 * gdb.base/catch-gdb-caused-signals.exp: New file.
18112
f6a88844
JM
181132015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
18114
18115 * configure: Regenerated.
18116 * configure.ac: Use GDB_AC_TRANSFORM.
18117 * aclocal.m4: sinclude ../transform.m4.
18118
497c491b
JM
181192015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
18120
18121 * lib/dtrace.exp: New file.
18122 * gdb.base/dtrace-probe.exp: Likewise.
18123 * gdb.base/dtrace-probe.d: Likewise.
18124 * gdb.base/dtrace-probe.c: Likewise.
18125 * lib/pdtrace.in: Likewise.
18126 * configure.ac: Output variables with the transformed names of
18127 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
18128 * configure: Regenerated.
18129
03e98035
JM
181302015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
18131
18132 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
18133 expected message when trying to access $_probe_* convenience
18134 variables while not on a probe.
18135
63cc30e9
JK
181362015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18137
18138 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
18139
0703599a
PA
181402015-02-11 Pedro Alves <pedro@codesourcery.com>
18141
18142 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
18143 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
18144
7e60a48e
DE
181452015-02-10 Doug Evans <xdje42@gmail.com>
18146
18147 * lib/gdb.exp (gdb_load): Always return a result.
18148
01b088bc
PA
181492015-02-10 Pedro Alves <palves@redhat.com>
18150
18151 * gdb.threads/signal-sigtrap.c: New file.
18152 * gdb.threads/signal-sigtrap.exp: New file.
18153
b05ec7a5
AT
181542015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
18155
18156 * gdb.trace/no-attach-trace.c: New file.
18157 * gdb.trace/no-attach-trace.exp: New file.
18158
a2c2acaf
MW
181592015-02-09 Mark Wielaard <mjw@redhat.com>
18160
18161 * gdb.dwarf2/atomic.c: New file.
18162 * gdb.dwarf2/atomic-type.exp: Likewise.
18163
31fd9caa
MM
181642015-02-09 Markus Metzger <markus.t.metzger@intel.com>
18165
18166 * gdb.btrace/buffer-size.exp: Update "info record" output.
18167 * gdb.btrace/delta.exp: Update "info record" output.
18168 * gdb.btrace/enable.exp: Update "info record" output.
18169 * gdb.btrace/finish.exp: Update "info record" output.
18170 * gdb.btrace/instruction_history.exp: Update "info record" output.
18171 * gdb.btrace/next.exp: Update "info record" output.
18172 * gdb.btrace/nexti.exp: Update "info record" output.
18173 * gdb.btrace/step.exp: Update "info record" output.
18174 * gdb.btrace/stepi.exp: Update "info record" output.
18175 * gdb.btrace/nohist.exp: Update "info record" output.
18176
d33501a5
MM
181772015-02-09 Markus Metzger <markus.t.metzger@intel.com>
18178
18179 * gdb.btrace/buffer-size: New.
18180
f4abbc16
MM
181812015-02-09 Markus Metzger <markus.t.metzger@intel.com>
18182
18183 * gdb.btrace/delta.exp: Update "info record" output.
18184 * gdb.btrace/enable.exp: Update "info record" output.
18185 * gdb.btrace/finish.exp: Update "info record" output.
18186 * gdb.btrace/instruction_history.exp: Update "info record" output.
18187 * gdb.btrace/next.exp: Update "info record" output.
18188 * gdb.btrace/nexti.exp: Update "info record" output.
18189 * gdb.btrace/step.exp: Update "info record" output.
18190 * gdb.btrace/stepi.exp: Update "info record" output.
18191 * gdb.btrace/nohist.exp: Update "info record" output.
18192
b9d61307
SM
181932015-02-06 Simon Marchi <simon.marchi@ericsson.com>
18194
18195 PR gdb/15678
18196 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
18197
e584fdbc
PA
181982015-02-06 Pedro Alves <palves@redhat.com>
18199
18200 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
18201 macro.
18202 (seconds_left, again): New globals.
18203 (main): Wait seconds_left in a 1-second sleep loop instead of
18204 sleeping 180 seconds. If 'again' is set, reset the seconds
18205 counter.
18206 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
18207 'again' in the inferior before detaching. Print the seconds left.
18208 (options): New global.
18209 (top level): Build program with -DTIMEOUT=$timeout.
18210
77f41761
PA
182112015-02-06 Pedro Alves <palves@redhat.com>
18212
18213 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
18214 determine how many seconds to pass to 'alarm'.
18215 * gdb.base/gdb-sigterm.exp (top level): Build program with
18216 -DTIMEOUT=$timeout.
18217 (do_test): Return success/failure indication. Add more verbose
18218 logging. Don't fail if 200 single steps are seen. Instead, fail
18219 when the test times out.
18220 (passes): New global.
18221 (top level): Break the testing loop if testing fails on any
18222 iteration. Use gdb_assert.
18223
b9394193
DB
182242015-02-04 Don Breazeal <donb@codesourcery.com>
18225
18226 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
18227 and initialize them.
18228 (ipc_cleanup): New function.
18229 (main): Don't declare shmid, semid, and msqid. Add a call to
18230 atexit so that we call ipc_cleanup on exit.
18231
42d9e528
PA
182322015-02-04 Pedro Alves <palves@redhat.com>
18233
18234 * boards/native-extended-gdbserver.exp: Remove any target variant
18235 specifications from the board name before clearing the isremote
18236 flag from board_info.
18237
ae6ae975
DE
182382015-01-31 Doug Evans <xdje42@gmail.com>
18239
18240 * gdb.base/maint.exp <maint print type argc>: Update expected output.
18241
cfb069a8
GB
182422015-01-31 Gary Benson <gbenson@redhat.com>
18243
18244 * gdb.base/completion.exp: Disable completion limiting for
18245 existing tests. Add new tests to check completion limiting.
18246 * gdb.linespec/ls-errs.exp: Disable completion limiting.
18247
5dd31d79
DE
182482015-01-31 Doug Evans <xdje42@gmail.com>
18249
18250 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
18251
9f050062
DE
182522015-01-31 Doug Evans <xdje42@gmail.com>
18253
18254 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
18255 entries. Duplicate file section script entries.
18256 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
18257 inlined entries. Add test for safe-path rejection.
18258 * gdb.python/py-section-script.c: Add duplicate inlined section script
18259 entries. Duplicate file section script entries.
18260 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
18261 inlined entries. Add test for safe-path rejection.
18262
df25ebbd
JB
182632015-01-29 Joel Brobecker <brobecker@adacore.com>
18264
18265 * gdb.ada/disc_arr_bound: New testcase.
18266
4a0ca9ec
JB
182672015-01-29 Joel Brobecker <brobecker@adacore.com>
18268
18269 * gdb.ada/mi_var_array: New testcase.
18270
3a8b707a
DE
182712015-01-27 Doug Evans <dje@google.com>
18272
18273 * gdb.python/py-objfile.exp: Add tests for objfile.username.
18274 Add test for objfile.filename, objfile.username after objfile
18275 has been unloaded.
18276
f8313f6e
JB
182772015-01-26 Joel Brobecker <brobecker@adacore.com>
18278
18279 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
18280 the second test to print the name attribute of value
18281 returned by the call to gdb.lookup_type, and adjust
18282 the expected output accordingly.
18283
37bc665e
MW
182842015-01-25 Mark Wielaard <mjw@redhat.com>
18285
18286 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
18287 * gdb.base/disp-step-fork.c: Include unistd.h.
18288 * gdb.base/siginfo-obj.c: Include stdio.h.
18289 * gdb.base/siginfo-thread.c: Likewise.
18290 * gdb.mi/non-stop.c: Include unistd.h.
18291 * gdb.mi/nsthrexec.c: Include stdio.h.
18292 * gdb.mi/pthreads.c: Include unistd.h.
18293 * gdb.modula2/unbounded1.c (main): Declare returns int.
18294 * gdb.reverse/consecutive-reverse.c: Likewise.
18295 * gdb.threads/create-fail.c: Include unistd.h.
18296 * gdb.threads/killed.c: Likewise.
18297 * gdb.threads/linux-dp.c: Likewise.
18298 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
18299 * gdb.threads/non-ldr-exc-2.c: Likewise.
18300 * gdb.threads/non-ldr-exc-3.c: Likewise.
18301 * gdb.threads/non-ldr-exc-4.c: Likewise.
18302 * gdb.threads/pthreads.c: Include unistd.h.
18303 (main): Declare returns int.
18304 * gdb.threads/tls-main.c (foo): New declaration.
18305 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
18306
f7e5394d
SM
183072015-01-23 Simon Marchi <simon.marchi@ericsson.com>
18308
18309 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
18310 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
18311
743649fd
MW
183122015-01-15 Mark Wielaard <mjw@redhat.com>
18313
18314 * gdb.base/noreturn-return.c: New file.
18315 * gdb.base/noreturn-return.exp: New file.
18316 * gdb.base/noreturn-finish.c: New file.
18317 * gdb.base/noreturn-finish.exp: New file.
18318
198297aa
PA
183192015-01-23 Pedro Alves <palves@redhat.com>
18320
18321 * gdb.threads/continue-pending-after-query.c: New file.
18322 * gdb.threads/continue-pending-after-query.exp: New file.
18323
717cf30c
AG
183242015-01-22 Anders Granlund <anders.granlund@ericsson.com>
18325 Simon Marchi <simon.marchi@ericsson.com>
18326
18327 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
18328 * gdb.base/valgrind-db-attach.exp: Same.
18329 * gdb.base/valgrind-infcall.exp: Same.
18330 * lib/mi-support.exp (default_mi_gdb_start): Same.
18331 * lib/prompt.exp (default_prompt_gdb_start): Same.
18332 * lib/gdb.exp (default_gdb_spawn): Same.
18333 (gdb_interact): New.
18334
18335
4b62a76e
JK
183362015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
18337
18338 * gdb.compile/compile.exp (pointer to jit function): New test.
18339
b4cdae6f
WW
183402015-01-17 Wei-cheng Wang <cole945@gmail.com>
18341
18342 * lib/gdb.exp (supports_process_record): Return true for
18343 powerpc*-*-linux*.
18344 (supports_reverse): Likewise.
18345
d221e7ef
DB
183462015-01-15 Don Breazeal <donb@codesourcery.com>
18347
18348 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
18349 instead of checking whether the target board is remote and
18350 use spawn_wait_for_attach instead of exec/sleep.
18351 * gdb.base/attach-twice.exp: Likewise.
18352
bafffb51
JB
183532015-01-15 Joel Brobecker <brobecker@adacore.com>
18354
18355 * gdb.ada/var_arr_attrs: New testcase.
18356
5589af0e
PA
183572015-01-14 Pedro Alves <palves@redhat.com>
18358 Joel Brobecker <brobecker@adacore.com>
18359
18360 PR gdb/17525
18361 * gdb.base/bp-cmds-execution-x-script.c: New file.
18362 * gdb.base/bp-cmds-execution-x-script.exp: New file.
18363 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
18364
6c400b59
PA
183652015-01-14 Pedro Alves <palves@redhat.com>
18366
18367 PR cli/17828
18368 * gdb.base/batch-preserve-term-settings.c: New file.
18369 * gdb.base/batch-preserve-term-settings.exp: New file.
18370
e02c96a7
DE
183712015-01-13 Doug Evans <dje@google.com>
18372
18373 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
18374 binary.
18375
576fd14c
JB
183762015-01-13 Joel Brobecker <brobecker@adacore.com>
18377
18378 * Makefile.in (clean mostlyclean): Do not delete *.py.
18379
04dccad0
JB
183802015-01-13 Joel Brobecker <brobecker@adacore.com>
18381
18382 * gdb.python/py-lookup-type.exp: New file.
18383
3d230f71
PA
183842015-01-12 Pedro Alves <palves@redhat.com>
18385
18386 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
18387 restore GDBFLAGS before returning.
18388
7e67715d
JK
183892015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18390
18391 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
18392 is_amd64_regs_target and is_x86_like_target.
18393
f2e0d4b4
DE
183942015-01-11 Doug Evans <xdje42@gmail.com>
18395
18396 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
18397 is given without an explicit form.
18398 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
18399 attributes.
18400 * gdb.dwarf/corrupt.exp: Ditto.
18401 * gdb.dwarf2/enum-type.exp: Ditto.
18402 * gdb.trace/entry-values.exp: Ditto.
18403 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
18404
439250fb
DE
184052015-01-11 Doug Evans <xdje42@gmail.com>
18406
18407 PR gdb/15830
18408 * gdb.base/maint.exp: Remove references to "maint demangle".
18409 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
18410 Add tests for explicitly specifying language to demangle.
18411 * gdb.dlang/demangle.exp: Ditto.
18412
ede9f622
PA
184132015-01-09 Pedro Alves <palves@redhat.com>
18414
18415 * gdb.threads/non-stop-fair-events.c: New file.
18416 * gdb.threads/non-stop-fair-events.exp: New file.
18417
a7b796db
PA
184182015-01-09 Pedro Alves <palves@redhat.com>
18419
18420 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
18421 the global scope. Set a breakpoint after all threads are started
18422 rather than stepping over two source lines. Expect the prompt.
18423 * gdb.base/watch_thread_num.c (threads_started_barrier): New
18424 global.
18425 (NUM): Now 15.
18426 (main): Use threads_started_barrier to wait for all threads to
18427 start. Main thread no longer calls thread_function. Exit after
18428 180 seconds.
18429 (loop): New function.
18430 (thread_function): Wait on threads_started_barrier barrier. Call
18431 'loop' at each iteration.
18432 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
18433 threads have started, instead of hardcoding number of "next"
18434 steps. Use an access watchpoint instead of a write watchpoint.
18435
9665ffdd
PA
184362015-01-09 Pedro Alves <palves@redhat.com>
18437
18438 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
18439 (thread_func): Wait on barrier.
18440 (main): Wait for all threads to start before stopping GDB.
18441 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
18442 global.
18443 (thread1_func, thread2_func): Wait on barrier.
18444 (main): Wait for all threads to start before stopping GDB.
18445 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
18446 New global.
18447 (thread1_func, thread2_func): Wait on barrier.
18448 (main): Wait for all threads to start before stopping GDB.
18449
c945a99f
PA
184502015-01-09 Pedro Alves <palves@redhat.com>
18451
18452 * gdb.threads/attach-many-short-lived-threads.c: New file.
18453 * gdb.threads/attach-many-short-lived-threads.exp: New file.
18454
c1a747c1
PA
184552014-01-09 Pedro Alves <palves@redhat.com>
18456
18457 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
18458 instead of to thread 2.
18459 * gdb.threads/signal-command-multiple-signals-pending.c (main):
18460 Add barrier around each pthread_create call instead of around all
18461 calls.
18462 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
18463 Set a break on thread_function and have the child threads hit it
18464 one at at a time.
18465
60b3033e
PA
184662015-01-09 Pedro Alves <palves@redhat.com>
18467
18468 * lib/gdb.exp (can_spawn_for_attach): New procedure.
18469 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
18470 false.
18471 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
18472 checking whether the target board is remote.
18473 * gdb.multi/multi-attach.exp: Likewise.
18474 * gdb.python/py-sync-interp.exp: Likewise.
18475 * gdb.server/ext-attach.exp: Likewise.
18476 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
18477 tests that need to attach, instead of checking whether the target
18478 board is remote at the top of the file.
18479
acc018ac
YQ
184802015-01-08 Yao Qi <yao@codesourcery.com>
18481
18482 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
18483
50a18af8
JK
184842015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18485
18486 Fix testcase compilation.
18487 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
18488
8503d6e1
JB
184892015-01-06 Joel Brobecker <brobecker@adacore.com>
18490
18491 * gdb.python/py-type.exp: Add a couple test about empty
18492 array creation, and negative-length array creation.
18493
cc73dbcc
DE
184942015-01-02 Doug Evans <xdje42@gmail.com>
18495
18496 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
18497
0300bbc7
DE
184982015-01-02 Doug Evans <dje@google.com>
18499
18500 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
18501
9d85a0ec
YQ
185022014-12-29 Yao Qi <yao@codesourcery.com>
18503
18504 * gdb.trace/entry-values.exp: Update comments. Rename variable
18505 bar_call_foo to returned_from_foo.
18506
87186c6a
MMN
185072014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
18508
18509 PR gdb/17394
18510 * gdb.linespec/break-asm-file.c: New file.
18511 * gdb.linespec/break-asm-file.exp: New file.
18512 * gdb.linespec/break-asm-file0.s: New file.
18513 * gdb.linespec/break-asm-file1.s: New file.
18514
1bab7383
YQ
185152014-12-18 Nigel Stephens <nigel@mips.com>
18516 Maciej W. Rozycki <macro@codesourcery.com>
18517
18518 * gdb.base/float.exp: Handle the new output from "info float" on
18519 MIPS targets.
18520
1bc1068a
JK
185212014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
18522
18523 Fix MinGW compilation.
18524 * gdb.compile/compile-ops.exp: Update untested message if
18525 !skip_compile_feature_tests.
18526 * gdb.compile/compile-setjmp.exp: Likewise.
18527 * gdb.compile/compile-tls.exp: Likewise.
18528 * gdb.compile/compile.exp: Likewise.
18529 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
18530 supported on this host".
18531
b6615d10
DE
185322014-12-16 Doug Evans <xdje42@gmail.com>
18533
18534 * boards/stabs.exp: New file.
18535
25dda427
AA
185362014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
18537
18538 * gdb.base/completion.exp: Adjust to format changes of "maint
18539 print user-registers".
18540
bf330350
CU
185412014-12-16 Catalin Udma <catalin.udma@freescale.com>
18542
18543 PR server/17457
18544 * gdb.arch/aarch64-fp.c: New file.
18545 * gdb.arch/aarch64-fp.exp: New file.
18546
395cf596
SDJ
185472014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
18548
18549 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
18550 r210637, r210913, r211666, r215400, r215817).
18551
18552 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
18553 * dg-extract-results.py: New file.
18554 * dg-extract-results.sh: Use it if the environment seems
18555 suitable.
18556
18557 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
18558
18559 * dg-extract-results.py (parse_run): Handle warnings that
18560 are printed before a test harness is run.
18561
18562 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
18563
18564 * dg-extract-results.py (Named): Remove __cmp__ method.
18565 (output_variation): Use a key to sort variation.harnesses.
18566
18567 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
18568
18569 * dg-extract-results.py: For Python 3, force sys.stdout to
18570 handle surrogate escape sequences.
18571 (safe_open): New function.
18572 (output_segment, main): Use it.
18573
18574 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
18575
18576 * dg-extract-results.py (Prog.result_re): Include options
18577 in test name.
18578
18579 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
18580
18581 * dg-extract-results.py (output_variation): Always sort if
18582 do_sum.
18583
e882ef3c
SM
185842014-12-15 Simon Marchi <simon.marchi@ericsson.com>
18585
18586 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
18587 as long as we get pagination notifications.
18588
4992aa20
JM
185892014-12-15 Jason Merrill <jason@redhat.com>
18590
18591 * Makefile.in (check-gdb.%): Restore.
18592 * README: Mention it.
18593
c1b5a1a6
JB
185942014-12-13 Joel Brobecker <brobecker@adacore.com>
18595
18596 * gdb.ada/str_uninit: New testcase.
18597
5537b577
JK
185982014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
18599
18600 PR symtab/17642
18601 * gdb.base/vla-stub-define.c: New file.
18602 * gdb.base/vla-stub.c: New file.
18603 * gdb.base/vla-stub.exp: New file.
18604
bb2ec1b3
TT
186052014-12-12 Phil Muldoon <pmuldoon@redhat.com>
18606 Jan Kratochvil <jan.kratochvil@redhat.com>
18607 Tom Tromey <tromey@redhat.com>
18608
18609 * configure.ac: Add gdb.compile/.
18610 * configure: Regenerate.
18611 * gdb.compile/Makefile.in: New file.
18612 * gdb.compile/compile-ops.exp: New file.
18613 * gdb.compile/compile-ops.c: New file.
18614 * gdb.compile/compile-tls.c: New file.
18615 * gdb.compile/compile-tls.exp: New file.
18616 * gdb.compile/compile-constvar.S: New file.
18617 * gdb.compile/compile-constvar.c: New file.
18618 * gdb.compile/compile-mod.c: New file.
18619 * gdb.compile/compile-nodebug.c: New file.
18620 * gdb.compile/compile-setjmp-mod.c: New file.
18621 * gdb.compile/compile-setjmp.c: New file.
18622 * gdb.compile/compile-setjmp.exp: New file.
18623 * gdb.compile/compile-shlib.c: New file.
18624 * gdb.compile/compile.c: New file.
18625 * gdb.compile/compile.exp: New file.
18626 * lib/gdb.exp (skip_compile_feature_tests): New proc.
18627
4ff709eb
TT
186282014-12-12 Tom Tromey <tromey@redhat.com>
18629
18630 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
18631 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
18632
6dddd6a5
DE
186332014-12-12 Doug Evans <dje@google.com>
18634
18635 * lib/gdb-python.exp (get_python_valueof): New function.
18636 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
18637
71c24708
AA
186382014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18639
18640 * gdb.base/completion.exp: Add test for completion of "info
18641 registers ".
18642
3e29f34a
MR
186432014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
18644
18645 * gdb.base/func-ptrs.c: New file.
18646 * gdb.base/func-ptrs.exp: New file.
18647
fc126975
SM
186482014-12-10 Simon Marchi <simon.marchi@ericsson.com>
18649
18650 PR breakpoints/17012
18651 * gdb.base/dprintf-detach.c: New file.
18652 * gdb.base/dprintf-detach.exp: New file.
18653
0a46d518
SM
186542014-12-10 Simon Marchi <simon.marchi@ericsson.com>
18655
18656 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
18657 * lib/gdb.exp (target_is_gdbserver): New procedure.
18658
a0be3e44
DE
186592014-12-08 Doug Evans <dje@google.com>
18660
18661 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
18662
df1b803a
YQ
186632014-12-05 Yao Qi <yao@codesourcery.com>
18664
18665 * gdb.guile/scm-error.exp: Remove the third argument to
18666 gdb_remote_download.
18667 * gdb.guile/scm-frame-args.exp: Likewise.
18668 * gdb.guile/scm-section-script.exp: Likewise.
18669
ddb9f679
YQ
186702014-12-05 Yao Qi <yao@codesourcery.com>
18671
18672 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
18673
86e4ed39
DE
186742014-12-04 Doug Evans <dje@google.com>
18675
18676 * gdb.python/py-objfile.exp: Add tests for
18677 objfile.add_separate_debug_file.
18678
7c50a931
DE
186792014-12-04 Doug Evans <dje@google.com>
18680
18681 * lib/gdb.exp (get_build_id): New function.
18682 (build_id_debug_filename_get): Rewrite to use it.
18683 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
18684
621661e3
MR
186852014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
18686
18687 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
18688 `method(long)', not just 0x0.
18689 * gdb.cp/nsalias.exp: Align code labels to 4.
18690 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
18691 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
18692 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
18693 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
18694 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
18695 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
18696
29f0c3b7
DE
186972014-12-02 Doug Evans <dje@google.com>
18698
e1e061e7 18699 PR symtab/17602
29f0c3b7 18700 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 18701 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
18702 * gdb.cp/anon-ns.exp: Update.
18703
162078c8
NB
187042014-12-02 Nick Bull <nicholaspbull@gmail.com>
18705
18706 * gdb.python/py-events.py (inferior_call_handler): New.
18707 (register_changed_handler, memory_changed_handler): New.
18708 (test_events.invoke): Register new handlers.
18709 * gdb.python/py-events.exp: Add tests for inferior call,
18710 memory_changed and register_changed events.
18711
fdb09caf
AA
187122014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
18713
18714 * gdb.base/execl-update-breakpoints.exp: Specify the link address
18715 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
18716 if the linker doesn't understand this.
18717
55cfb2c4
SM
187182014-12-01 Simon Marchi <simon.marchi@ericsson.com>
18719
18720 * gdb.python/python.exp: Change expected reply to help().
18721
9e8cd6df
YQ
187222014-12-01 Yao Qi <yao@codesourcery.com>
18723
18724 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
18725 AC_CONFIG_SUBDIRS(gdb.gdbtk).
18726 * configure: Re-generated.
18727
6c659fc2
SC
187282014-11-28 Siva Chandra Reddy <sivachandra@google.com>
18729
18730 * gdb.cp/chained-calls.cc: New file.
18731 * gdb.cp/chained-calls.exp: New file.
18732 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
18733
d7fc3181
SM
187342014-11-28 Simon Marchi <simon.marchi@ericsson.com>
18735
18736 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
18737 * gdb.dwarf2/symtab-producer.exp: Same.
18738 * gdb.gdb/python-interrupts.exp: Same.
18739 * gdb.gdb/python-selftest.exp: Same.
18740 * gdb.python/py-linetable.exp: Same.
18741 * gdb.python/py-type.exp: Same.
18742 * gdb.python/py-value-cc.exp: Same.
18743 * gdb.python/py-value.exp: Same.
18744
10e79639
YQ
187452014-11-28 Yao Qi <yao@codesourcery.com>
18746
18747 * gdb.base/break-probes.exp: Match library name prefixed with
18748 sysroot.
18749
f28a0564
SM
187502014-11-27 Simon Marchi <simon.marchi@ericsson.com>
18751
18752 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
18753 test expected output. Add parentheses for the call to print.
18754 Remove L suffix from integers.
18755
3fe1ce1d
DE
187562014-11-26 Doug Evans <dje@google.com>
18757
18758 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
18759
84429e27
YQ
187602014-11-22 Yao Qi <yao@codesourcery.com>
18761
18762 * gdb.trace/entry-values.c: Remove asms.
18763 (foo): Add foo_label.
18764 (bar): Add bar_label.
18765 * gdb.trace/entry-values.exp: Remove code computing foo's
18766 length and bar's length.
18767 (Dwarf::assemble): Invoke function_range for bar and use
18768 MACRO_AT_func for foo.
18769
26741859
YQ
187702014-11-22 Yao Qi <yao@codesourcery.com>
18771
18772 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
18773 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
18774 Use .Lgcc43_procstart instead of gcc43.
18775
45e44d27
JB
187762014-11-21 Joel Brobecker <brobecker@adacore.com>
18777
18778 * gdb.ada/n_arr_bound: New testcase.
18779
458c8db8
SDJ
187802014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
18781
18782 PR breakpoints/10737
18783 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
18784 test_catch_syscall_multi_arch.
18785 (test_catch_syscall_multi_arch): New function.
18786
43f3e411
DE
187872014-11-20 Doug Evans <xdje42@gmail.com>
18788
18789 * gdb.base/maint.exp: Update expected output.
18790
0d7b2549
AA
187912014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
18792
18793 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
18794 4-byte instruction on S390.
18795
8908fca5
JB
187962014-11-19 Joel Brobecker <brobecker@adacore.com>
18797
18798 * gdb.ada/arr_arr: New testcase.
18799
4a46959e
JB
188002014-11-19 Joel Brobecker <brobecker@adacore.com>
18801
18802 * gdb.ada/pkd_arr_elem: New Testcase.
18803
470e2f4e
LM
188042014-11-18 Luis Machado <lgustavo@codesourcery.com>
18805
18806 * gdb.reverse/break-precsave: Expect completion message for
18807 core file reads.
18808 * gdb.reverse/consecutive-precsave.exp: Likewise.
18809 * gdb.reverse/finish-precsave.exp: Likewise.
18810 * gdb.reverse/i386-precsave.exp: Likewise.
18811 * gdb.reverse/machinestate-precsave.exp: Likewise.
18812 * gdb.reverse/sigall-precsave.exp: Likewise.
18813 * gdb.reverse/solib-precsave.exp: Likewise.
18814 * gdb.reverse/step-precsave.exp: Likewise.
18815 * gdb.reverse/until-precsave.exp: Likewise.
18816 * gdb.reverse/watch-precsave.exp: Likewise.
18817
a267f3ad
AA
188182014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18819
18820 * gdb.base/bp-permanent.c: Include unistd.h.
18821 * gdb.python/py-framefilter-mi.c (main): Add return type.
18822 * gdb.python/py-framefilter.c (main): Likewise.
18823 * gdb.trace/actions-changed.c (main): Likewise.
18824
12084a9a
AA
188252014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18826
18827 * gdb.mi/until.c: Add eye-catchers.
18828 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
18829 line numbers.
18830
dc7e1a77
AA
188312014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18832
18833 * gdb.base/condbreak.exp: Drop references to removed non-prototype
18834 function header variants in break1.c.
18835 * gdb.base/ena-dis-br.exp: Likewise.
18836 * gdb.base/hbreak2.exp: Likewise.
18837 * gdb.reverse/until-precsave.exp: Drop references to removed
18838 non-prototype function header variants in ur1.c.
18839 * gdb.reverse/until-reverse.exp: Likewise.
18840
41c77605
PM
188412014-11-17 Petr Machata <pmachata@redhat.com>
18842
18843 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
18844 ${_cu_offset_size} bytes abbrev offset.
18845
34248c3a
DE
188462014-11-15 Doug Evans <xdje42@gmail.com>
18847
18848 PR symtab/17559
18849 * gdb.base/line-symtabs.exp: New file.
18850 * gdb.base/line-symtabs.c: New file.
18851 * gdb.base/line-symtabs.h: New file.
18852
646da059
YQ
188532014-11-14 Yao Qi <yao@codesourcery.com>
18854
18855 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
18856 (func): Add label func_label.
18857 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
18858 Replace low_pc and high_pc with MACRO_AT_range.
18859 Replace name, low_pc and high_pc with MACRO_AT_func.
18860
9301ebe6
YQ
188612014-11-14 Yao Qi <yao@codesourcery.com>
18862
18863 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
18864 Replace name, low_pc and high_pc with MACRO_AT_func.
18865
f166b542
YQ
188662014-11-14 Yao Qi <yao@codesourcery.com>
18867
18868 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
18869 produce debug information.
18870 * gdb.dwarf2/implptr-optimized-out.S: Removed.
18871
0f6e71e3
YQ
188722014-11-14 Yao Qi <yao@codesourcery.com>
18873
18874 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
18875 object and get function length.
18876 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
18877 with MACRO_AT_func.
18878 (top-level): Replace gdb_compile and clean_restart with
18879 prepare_for_testing.
18880 * gdb.dwarf2/main.c (main): Add label main_label.
18881
876c4df9
YQ
188822014-11-14 Yao Qi <yao@codesourcery.com>
18883
18884 * lib/dwarf.exp (function_range): New procedure.
18885 (Dwarf::_handle_macro_at_func): New procedure.
18886 (Dwarf::_handle_macro_at_range): New procedure.
18887 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
18888
02ad9cf1
YQ
188892014-11-14 Yao Qi <yao@codesourcery.com>
18890
18891 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
18892 (_handle_attribute): New procedure.
18893
a59add0c
AA
188942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18895
18896 * gdb.ada/cond_lang/foo.c (callme): Add return type.
18897 * gdb.base/call-sc.c (zed): Likewise.
18898 * gdb.base/checkpoint.c (main): Likewise.
18899 * gdb.base/dump.c (main): Likewise.
18900 * gdb.base/gcore.c (main): Likewise.
18901 * gdb.base/huge.c (main): Likewise.
18902 * gdb.base/multi-forks.c (main): Likewise.
18903 * gdb.base/pr10179-a.c (main): Likewise.
18904 * gdb.base/savedregs.c (main): Likewise.
18905 * gdb.base/sigaltstack.c (main): Likewise.
18906 * gdb.base/siginfo.c (main): Likewise.
18907 * gdb.base/structs.c (zed): Likewise.
18908 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
18909 * gdb.mi/mi-syn-frame.c (main): Likewise.
18910 * gdb.mi/until.c (foo, main): Likewise.
18911 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
18912 * gdb.base/solib-weak.c (foo): Declare.
18913 * gdb.base/attach-twice.c: Include stdio.h.
18914 * gdb.base/weaklib1.c: Likewise.
18915 * gdb.base/weaklib2.c: Likewise.
18916 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
18917 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
18918 unistd.h.
18919 * gdb.base/attach-pie-misread.c: Include stdlib.h.
18920 * gdb.mi/mi-exit-code.c: Likewise.
18921 * gdb.base/break-interp-lib.c: Include string.h.
18922 * gdb.base/coremaker.c: Likewise.
18923 * gdb.base/testenv.c: Likewise.
18924 * gdb.python/py-finish-breakpoint.c: Likewise.
18925 * gdb.base/inferior-died.c: Include sys/wait.h.
18926 * gdb.base/fileio.c: Include time.h.
18927 * gdb.base/async-shell.c: Include unistd.h.
18928 * gdb.base/dprintf-non-stop.c: Likewise.
18929 * gdb.base/info-os.c: Likewise.
18930 * gdb.mi/mi-console.c: Likewise.
18931 * gdb.mi/watch-nonstop.c: Likewise.
18932 * gdb.python/py-events.c: Likewise.
18933 * gdb.base/async.c (baz): Move up before its invocation.
18934 * gdb.base/code_elim2.c (my_global_func): Likewise.
18935 * gdb.base/skip-solib-lib.c (multiply): Likewise.
18936 * gdb.base/advance.c (func2): Likewise.
18937
3b5d5997
AA
189382014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18939
18940 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
18941 variant.
18942 * gdb.base/annota3.c: Likewise.
18943 * gdb.base/async.c: Likewise.
18944 * gdb.base/average.c: Likewise.
18945 * gdb.base/call-ar-st.c: Likewise.
18946 * gdb.base/call-rt-st.c: Likewise.
18947 * gdb.base/call-sc.c: Likewise.
18948 * gdb.base/call-strs.c: Likewise.
18949 * gdb.base/ending-run.c: Likewise.
18950 * gdb.base/execd-prog.c: Likewise.
18951 * gdb.base/exprs.c: Likewise.
18952 * gdb.base/foll-exec.c: Likewise.
18953 * gdb.base/foll-fork.c: Likewise.
18954 * gdb.base/foll-vfork.c: Likewise.
18955 * gdb.base/funcargs.c: Likewise.
18956 * gdb.base/gcore.c: Likewise.
18957 * gdb.base/jump.c: Likewise.
18958 * gdb.base/langs0.c: Likewise.
18959 * gdb.base/langs1.c: Likewise.
18960 * gdb.base/langs2.c: Likewise.
18961 * gdb.base/mips_pro.c: Likewise.
18962 * gdb.base/nodebug.c: Likewise.
18963 * gdb.base/opaque0.c: Likewise.
18964 * gdb.base/opaque1.c: Likewise.
18965 * gdb.base/recurse.c: Likewise.
18966 * gdb.base/run.c: Likewise.
18967 * gdb.base/scope0.c: Likewise.
18968 * gdb.base/scope1.c: Likewise.
18969 * gdb.base/setshow.c: Likewise.
18970 * gdb.base/setvar.c: Likewise.
18971 * gdb.base/shmain.c: Likewise.
18972 * gdb.base/shr1.c: Likewise.
18973 * gdb.base/shr2.c: Likewise.
18974 * gdb.base/sigall.c: Likewise.
18975 * gdb.base/signals.c: Likewise.
18976 * gdb.base/so-indr-cl.c: Likewise.
18977 * gdb.base/solib2.c: Likewise.
18978 * gdb.base/structs.c: Likewise.
18979 * gdb.base/sum.c: Likewise.
18980 * gdb.base/vforked-prog.c: Likewise.
18981 * gdb.base/watchpoint.c: Likewise.
18982 * gdb.reverse/shr2.c: Likewise.
18983 * gdb.reverse/until-reverse.c: Likewise.
18984 * gdb.reverse/ur1.c: Likewise.
18985 * gdb.reverse/watch-reverse.c: Likewise.
18986
066a77c5
AA
189872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18988
18989 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
18990 variant.
18991 * gdb.base/sepdebug.exp: Drop references to removed code.
18992
4f204ea5
AA
189932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18994
18995 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
18996 variant. Preserve original line numbering.
18997 * gdb.base/list1.c: Likewise.
18998
3b377a3a
AA
189992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19000
19001 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
19002 variant.
19003 * gdb.base/break1.c: Likewise.
19004 * gdb.base/break.exp: Drop references to removed code.
19005
e444df73
AA
190062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19007
19008 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
19009 variant.
19010
8008f2a7
AA
190112014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19012
19013 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
19014
a5a06887
AA
190152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19016
19017 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
19018 logic into perform_all_tests() and invoke it with and without
19019 function header prototypes.
19020 (do_function_calls): Remove conditional XFAIL for PR 5318.
19021 (rerun_and_prepare): Remove duplicate code.
19022 (perform_all_tests): New. Main logic moved here.
19023
44dba9b9
AA
190242014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19025
19026 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
19027 code guarded by #ifdef NO_PROTOTYPES.
19028 (t_double_many_args): Likewise.
19029 (DEF_FUNC_MANY_ARGS_1): Likewise.
19030 (DEF_FUNC_VALUES_1): Likewise.
19031 (t_structs_ldc): Renamed from t_structs_fc in conditional code
19032 guarded by #ifdef PROTOTYPES.
19033
d1fbcd56
AA
190342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19035
19036 * gdb.mi/mi-console.c: Add eye-catcher.
19037 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
19038 instead of literal line number.
19039
b0e59b8f
AA
190402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19041
19042 * gdb.base/shr2.c: Add eye-catcher.
19043 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
19044 line number.
19045
78f98cca
AA
190462014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19047
19048 * gdb.base/jump.c: Add eye-catchers.
19049 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
19050 numbers.
19051
58fa2af0
AA
190522014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19053
19054 * gdb.base/execd-prog.c: Add eye-catchers.
19055 * gdb.base/foll-exec.c: Likewise.
19056 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
19057 line numbers.
19058
04e5059b
AA
190592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19060
19061 * gdb.base/ending-run.c: Add eye-catchers.
19062 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
19063 literal line numbers.
19064
dbfdb174
AA
190652014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19066
19067 * gdb.base/call-rt-st.c: Add eye-catchers.
19068 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
19069 literal line numbers.
19070
888a2ade
AA
190712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19072
19073 * gdb.base/call-ar-st.c: Add eye-catchers.
19074 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
19075 literal line numbers.
19076
6acc2dde
AA
190772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19078
19079 * gdb.base/average.c: Add eye-catchers.
19080 * gdb.base/sum.c: Likewise.
19081 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
19082 regexps dynamically.
19083
9ecfcd1d
AA
190842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19085
19086 * gdb.base/solib1.c: Add eye-catchers.
19087 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
19088 literal line numbers.
19089
78708b7c
PA
190902014-11-12 Pedro Alves <palves@redhat.com>
19091
19092 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
19093 leader has exited.
19094
af48d08f
PA
190952014-11-12 Pedro Alves <palves@redhat.com>
19096
19097 * gdb.arch/i386-bp_permanent.c: New file.
19098 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
19099 (srcfile): Set to i386-bp_permanent.c.
19100 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
19101 that stepi does not execute the 'leave' instruction, instead of
19102 testing it does execute.
19103 * gdb.base/bp-permanent.c: New file.
19104 * gdb.base/bp-permanent.exp: New file.
19105
af3768e9
DE
191062014-11-10 Doug Evans <xdje42@gmail.com>
19107
19108 PR symtab/17564
19109 * gdb.base/symtab-search-order.exp: New file.
19110 * gdb.base/symtab-search-order.c: New file.
19111 * gdb.base/symtab-search-order-1.c: New file.
19112 * gdb.base/symtab-search-order-shlib-1.c: New file.
19113
9de00a4a
PA
191142014-11-07 Pedro Alves <palves@redhat.com>
19115
19116 PR gdb/17511
19117 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
19118 i?86-*-linux*.
19119
e0f52461
SC
191202014-11-03 Siva Chandra Reddy <sivachandra@google.com>
19121
19122 PR c++/17494
19123 * gdb.cp/pr17494.cc: New file.
19124 * gdb.cp/pr17494.exp: New file.
19125
6ce8c980
YQ
191262014-11-02 Yao Qi <yao@codesourcery.com>
19127
19128 * gdb.python/python.exp: Get working directory and match the
19129 output of "set extended-prompt \\w " with it.
19130
02be9a71
DE
191312014-10-30 Doug Evans <dje@google.com>
19132
19133 * gdb.python/py-objfile.exp: Add tests for setting random attributes
19134 in objfiles.
19135 * gdb.python/py-progspace.exp: Add tests for setting random attributes
19136 in progspaces.
19137
3bdff46b
LM
191382014-10-30 Janis Johnson <janisjo@codesourcery.com>
19139
19140 * gdb.base/fullpath-expand.exp: Skip for a remote host.
19141 * gdb.base/realname-expand.exp: Likewise.
19142 * gdb.linespec/macro-relative.exp: Likewise.
19143
ab917dfb
PA
191442014-10-29 Pedro Alves <palves@redhat.com>
19145
19146 PR gdb/17408
19147 * gdb.threads/schedlock.c (some_function): New function.
19148 (call_function): New global.
19149 (MAYBE_CALL_SOME_FUNCTION): New macro.
19150 (thread_function): Call it.
19151 * gdb.threads/schedlock.exp (get_args): Add description parameter,
19152 and use it instead of a global counter. Adjust all callers.
19153 (get_current_thread): Use "find current thread" for test message
19154 here rather than having all callers pass down the same string.
19155 (goto_loop): New procedure, factored out from ...
19156 (my_continue): ... this.
19157 (step_ten_loops): Change parameter from test message to command to
19158 use. Adjust.
19159 (list_count): Delete global.
19160 (check_result): New procedure, factored out from duplicate top
19161 level code.
19162 (continue tests): Wrap in with_test_prefix.
19163 (test_step): New procedure, factored out from duplicate top level
19164 code.
19165 (top level): Test "step" in combination with all scheduler-locking
19166 modes. Test "next" in combination with all scheduler-locking
19167 modes, and in combination with stepping over a function call or
19168 not.
19169 * gdb.threads/next-bp-other-thread.c: New file.
19170 * gdb.threads/next-bp-other-thread.exp: New file.
19171
d3d4baed
PA
191722014-10-29 Pedro Alves <palves@redhat.com>
19173
19174 PR python/17372
19175 * gdb.python/python.exp: Test a multi-line command that spawns
19176 interactive Python.
19177 * gdb.base/multi-line-starts-subshell.exp: New file.
19178
563e8d85
YQ
191792014-10-29 Yao Qi <yao@codesourcery.com>
19180
19181 * gdb.base/fileio.exp: Make directories on host.
19182
0ea4d52e
YQ
191832014-10-29 Yao Qi <yao@codesourcery.com>
19184
19185 * gdb.base/fileio.c (test_write): Close the file.
19186
7f5ef605
PA
191872014-10-28 Pedro Alves <palves@redhat.com>
19188
19189 PR gdb/12623
19190 * gdb.base/sigstep.c (no_handler): New global.
19191 (main): If 'no_handler is true, set the signal handlers to
19192 SIG_IGN.
19193 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
19194 with_sw_watch and no_handler parameters. Handle them.
19195 (top level) <stepping over handler when stopped at a breakpoint
19196 test>: Add a test axis for testing with a software watchpoint, and
19197 another for testing with the signal handler set to SIG_IGN.
19198 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
19199 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
19200
abbdbd03
PA
192012014-10-28 Pedro Alves <palves@redhat.com>
19202
19203 PR gdb/17511
19204 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
19205 * gdb.base/sigstep.exp (other_handler_location): New global.
19206 (advance): Support stepping into the signal handler, and running
19207 commands while in the handler.
19208 (in_handler_map): New global.
19209 (top level): In the advance test, add combinations for getting
19210 into the handler with stepping commands, and for running commands
19211 in the handler. Add comment descripting the advancei tests.
19212
1df4399f
PA
192132014-10-28 Pedro Alves <palves@redhat.com>
19214
19215 * gdb.base/sigstep.exp: Use build_executable instead of
19216 prepare_for_testing.
19217 (top level): Move code that starts GDB, runs to main and creates a
19218 display to ...
19219 (restart): ... this new procedure.
19220 (top level): Move backtrace from signal handler test to ...
19221 (validate_backtrace): ... this new procedure.
19222 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
19223 with_test_prefix. Always restart GDB.
19224 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
19225 with_test_prefix. Always restart GDB. No need to delete
19226 breakpoints after the test.
19227 (test_skip_handler): Remove prefix parameter.
19228 (skip_over_handler, breakpoint_to_handler)
19229 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
19230 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
19231 restart GDB. No need to delete breakpoints after the test.
19232 (top level): Use foreach to call the test procedures with
19233 different commands.
19234
a5b6e449
PA
192352014-10-28 Pedro Alves <palves@redhat.com>
19236
19237 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
19238 instead of GNATS numbers.
19239 * gdb.base/sigbpt.exp: Likewise.
19240 * gdb.base/siginfo.exp: Likewise.
19241 * gdb.base/sigstep.exp: Likewise.
19242
e5f8a7cc
PA
192432014-10-27 Pedro Alves <palves@redhat.com>
19244
19245 * gdb.base/sigstep.c (dummy): New global.
19246 (main): Issue a couple writes to the new global.
19247 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
19248 procedures.
19249 (skip_over_handler): Use test_skip_handler.
19250 (top level): Call skip_over_handler for stepi and nexti too.
19251 (breakpoint_over_handler): Use test_skip_handler.
19252 (top level): Call breakpoint_over_handler for stepi and nexti too.
19253
763905a3
YQ
192542014-10-27 Yao Qi <yao@codesourcery.com>
19255
19256 * gdb.trace/tfile.c (adjust_function_address)
19257 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
19258 function descriptor.
19259
6f259a23
DB
192602014-10-24 Don Breazeal <donb@codesourcery.com>
19261
19262 * gdb.base/foll-fork.exp (test_follow_fork,
19263 catch_fork_child_follow): Check for updated fork messages emitted
19264 from infrun.c.
19265 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
19266 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
19267 vfork_and_exec_child_follow_through_step): Check for updated vfork
19268 messages emitted from infrun.c.
19269
09dd9a69
PA
192702014-10-24 Pedro Alves <palves@redhat.com>
19271
19272 * gdb.base/corefile.exp: Remove references to ultrix.
19273 * gdb.base/interrupt.exp: Likewise.
19274 * gdb.base/whatis.exp: Likewise.
19275 * gdb.gdb/selftest.exp: Likewise.
19276 * gdb.threads/manythreads.exp: Likewise.
19277 * gdb.threads/print-threads.exp: Likewise.
19278 * gdb.threads/pthreads.exp:: Likewise.
19279 * gdb.threads/schedlock.exp: Likewise.
19280
3433cfa5
SC
192812014-10-24 Siva Chandra Reddy <sivachandra@google.com>
19282
19283 * gdb.cp/non-trivial-retval.cc: Add a test case.
19284 * gdb.cp/non-trivial-retval.exp: Add a test.
19285
092f880b
YQ
192862014-10-20 Yao Qi <yao@codesourcery.com>
19287
19288 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
19289 * gdb.python/py-objfile-script-gdb.py: New file.
19290 * gdb.python/py-objfile-script.exp: Update reference to
19291 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
19292 of remote_download. Remove the dest file.
19293
acbdb7f3
YQ
192942014-10-20 Yao Qi <yao@codesourcery.com>
19295
19296 * gdb.base/checkpoint.exp: Don't remove file copied on host.
19297 * gdb.base/step-line.exp: Likewise.
19298 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
19299 * gdb.dwarf2/dw2-basic.exp: Likewise.
19300 * gdb.dwarf2/dw2-compressed.exp: Likewise.
19301 * gdb.dwarf2/dw2-filename.exp: Likewise.
19302 * gdb.dwarf2/dw2-intercu.exp: Likewise.
19303 * gdb.dwarf2/dw2-intermix.exp: Likewise.
19304 * gdb.dwarf2/dw2-producer.exp: Likewise.
19305 * gdb.dwarf2/mac-fileno.exp: Likewise.
19306 * gdb.python/py-frame-args.exp: Likewise.
19307 * gdb.python/py-framefilter.exp: Likewise.
19308 * gdb.python/py-mi.exp: Likewise.
19309 * gdb.python/py-objfile-script.exp: Likewise
19310 * gdb.python/py-pp-integral.exp: Likewise.
19311 * gdb.python/py-pp-re-notag.exp: Likewise.
19312 * gdb.python/py-prettyprint.exp: Likewise.
19313 * gdb.python/py-section-script.exp: Likewise.
19314 * gdb.python/py-typeprint.exp: Likewise.
19315 * gdb.python/py-xmethods.exp: Likewise.
19316 * gdb.stabs/weird.exp: Likewise.
19317 * gdb.xml/tdesc-regs.exp: Likewise.
19318
bd286a29
KCY
193192014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
19320
19321 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
19322 (out_cu): Use addr_len for the size of addresses.
19323 (out_line): Likewise. Size DW_LNE_set_address instruction
19324 according to addr_len.
19325 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
19326 (FUNC): Add START_INSNS to definition.
19327
673dc4a0
YQ
193282014-10-18 Yao Qi <yao@codesourcery.com>
19329
19330 * gdb.base/argv0-symlink.exp: Check argv[0] value if
19331 gdb_has_argv0 return true.
19332 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
19333 check [target_info exists noargs], check [gdb_has_argv0]
19334 instead.
19335 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
19336 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
19337 procedures.
19338
4ffbba72
DE
193392014-10-17 Doug Evans <dje@google.com>
19340
19341 * gdb.python/py-events.exp: Update expected output for clear_objfiles
19342 event.
19343 * gdb.python/py-events.py: Add clear_objfiles event.
19344
d096d8c1
DE
193452014-10-17 Doug Evans <dje@google.com>
19346
19347 * gdb.python/py-objfile.exp: Test progspace attribute.
19348
a80db015
LM
193492014-10-17 Luis Machado <lgustavo@codesourcery.com>
19350
19351 * gdb.guile/scm-breakpoint.exp: Do not assume any
19352 directory separators when matching source file paths.
19353 * gdb.python/py-breakpoint.exp: Likewise.
19354 * gdb.reverse/break-precsave.exp: Likewise.
19355 * gdb.reverse/break-reverse.exp: Likewise.
19356 * gdb.reverse/consecutive-precsave.exp: Likewise.
19357 * gdb.reverse/finish-precsave.exp: Likewise.
19358 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
19359 * gdb.reverse/finish-reverse.exp: Likewise.
19360 * gdb.reverse/i386-precsave.exp: Likewise.
19361 * gdb.reverse/i387-env-reverse.exp: Likewise.
19362 * gdb.reverse/i387-stack-reverse.exp: Likewise.
19363 * gdb.reverse/machinestate-precsave.exp: Likewise.
19364 * gdb.reverse/machinestate.exp: Likewise.
19365 * gdb.reverse/sigall-precsave.exp: Likewise.
19366 * gdb.reverse/solib-precsave.exp: Likewise.
19367 * gdb.reverse/step-precsave.exp: Likewise.
19368 * gdb.reverse/until-precsave.exp: Likewise.
19369 * gdb.reverse/watch-precsave.exp: Likewise.
19370 * gdb.reverse/watch-reverse.exp: Likewise.
19371
b22089ab
YQ
193722014-10-17 Yao Qi <yao@codesourcery.com>
19373
19374 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
19375 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
19376
6c4486e6
PA
193772014-10-17 Pedro Alves <palves@redhat.com>
19378
19379 PR gdb/17471
19380 * gdb.base/bg-execution-repeat.c: New file.
19381 * gdb.base/bg-execution-repeat.exp: New file.
19382
0ff33695
PA
193832014-10-17 Pedro Alves <palves@redhat.com>
19384
19385 PR gdb/17300
19386 * gdb.base/continue-all-already-running.c: New file.
19387 * gdb.base/continue-all-already-running.exp: New file.
19388
6fdebc3d
PA
193892014-10-17 Pedro Alves <palves@redhat.com>
19390
19391 PR gdb/17472
19392 * gdb.base/annota-input-while-running.c: New file.
19393 * gdb.base/annota-input-while-running.exp: New file.
19394
32a8097b
PA
193952014-10-17 Pedro Alves <palves@redhat.com>
19396
19397 * gdb.base/callfuncs.exp: emove references to osf.
19398 * gdb.base/sigall.exp: Likewise.
19399 * gdb.gdb/selftest.exp: Likewise.
19400 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
19401 * gdb.mi/non-stop.c: Likewise.
19402 * gdb.mi/pthreads.c: Likewise.
19403 * gdb.reverse/sigall-precsave.exp: Likewise.
19404 * gdb.reverse/sigall-reverse.exp: Likewise.
19405 * gdb.threads/pthreads.c: Likewise.
19406 * gdb.threads/pthreads.exp: Likewise.
19407
7a3517ff
YQ
194082014-10-17 Yao Qi <yao@codesourcery.com>
19409
19410 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
19411 check 'target_info exists noargs'.
19412 (test_command_prompt_position): Likewise.
19413 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
19414 Remove "set args".
19415 (progvar_simple_while_test): Likewise.
19416 (progvar_complex_if_while_test): Likewise.
19417 (if_while_breakpoint_command_test): Likewise.
19418 (infrun_breakpoint_command_test): Likewise.
19419 (breakpoint_command_test): Likewise.
19420 (watchpoint_command_test): Likewise.
19421 (bp_deleted_in_command_test): Likewise.
19422 (temporary_breakpoint_commands): Likewise.
19423
bb99c472
YQ
194242014-10-16 Yao Qi <yao@codesourcery.com>
19425
19426 * gdb.base/remotetimeout.exp: Remove noargs checking.
19427
7c16b83e
PA
194282014-10-15 Pedro Alves <palves@redhat.com>
19429
19430 PR breakpoints/9649
19431 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
19432 * gdb.base/breakpoint-in-ro-region.exp
19433 (probe_target_hardware_step): New procedure.
19434 (top level): Probe hardware stepping and hardware breakpoint
19435 support. Test stepping through a read-only region, with both
19436 "breakpoint auto-hw" on and off and both "always-inserted" on and
19437 off.
19438
35a49624
IB
194392014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
19440
19441 * gdb.dlang/demangle.exp: Update for demangling changes.
19442
2d1c107c
SC
194432014-10-15 Siva Chandra Reddy <sivachandra@google.com>
19444
19445 * gdb.cp/non-trivial-retval.cc: Add new test cases.
19446 * gdb.cp/non-trivial-retval.exp: Add new tests.
19447
778811d5
SC
194482014-10-15 Siva Chandra Reddy <sivachandra@google.com>
19449
19450 PR c++/13403
19451 PR c++/15154
19452 * gdb.cp/non-trivial-retval.cc: New file.
19453 * gdb.cp/non-trivial-retval.exp: New file.
19454
10c5f0a8
YQ
194552014-10-15 Yao Qi <yao@codesourcery.com>
19456
19457 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
19458 remote host.
19459
65d7b369
YQ
194602014-10-15 Yao Qi <yao@codesourcery.com>
19461
19462 * gdb.python/py-symbol.exp: Match file base name if host is
19463 remote, otherwise match file name with dir name.
19464 * gdb.python/py-symtab.exp: Likewise.
19465 * gdb.python/python.exp: Likewise.
19466
46dc1394
YQ
194672014-10-15 Yao Qi <yao@codesourcery.com>
19468
19469 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
19470 pattern.
19471 * gdb.python/py-symtab.exp: Likewise.
19472 * gdb.python/python.exp: Remove trailing ".*". Fix typo
19473 locationn.
19474
c40cc657
JB
194752014-10-14 Joel Brobecker <brobecker@adacore.com>
19476
19477 * gdb.ada/addr_arith: New testcase.
19478
2abf49e1
MR
194792014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
19480
19481 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
19482 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
19483 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
19484 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
19485
f7088df3
SDJ
194862014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
19487
19488 * gdb.arch/stap-eval-lang-ada.S: Likewise.
19489 * gdb.arch/stap-eval-lang-ada.c: Likewise.
19490 * gdb.arch/stap-eval-lang-ada.exp: New file.
19491
4dc06805
YQ
194922014-10-14 Yao Qi <yao@codesourcery.com>
19493
19494 * gdb.mi/mi-var-child.c (nothing1): New function.
19495 (nothing2): New function.
19496 (do_children_tests): Set function pointers by nothing1 and
19497 nothing2.
19498 * gdb.mi/mi-var-child.exp: Step over new added statements.
19499 Update test to match the new output.
19500 * gdb.mi/var-cmd.c (nothing1): New function.
19501 (nothing2): New function.
19502 (do_children_tests): Set function pointers by nothing1 and
19503 nothing2.
19504 * gdb.mi/mi-var-display.exp: Update test to match output.
19505 Step to the line specified by $line_dct_nothing.
19506 Increase the number of lines to step.
19507
46a93de2
YQ
195082014-10-14 Yao Qi <yao@codesourcery.com>
19509
19510 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
19511 tests.
19512 * gdb.mi/mi2-var-child.exp: Likewise.
19513
14ea52ee
DE
195142014-10-13 Doug Evans <dje@google.com>
19515
19516 * gdb.python/py-objfile.exp: Change name of file name test.
19517
e5c6e92b
DE
195182014-10-13 Doug Evans <dje@google.com>
19519
19520 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
19521 from the start of the CU.
19522
c780cc2f
JK
195232014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
19524 Yao Qi <yao@codesourcery.com>
19525
19526 Fix "save breakpoints" for "catch" command.
19527 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
19528 Remove -nonewline. Match also the added "main" line.
19529
99894e11
JK
195302014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19531
19532 Fix "save breakpoints" for "disable $bpnum" command.
19533 * gdb.base/save-bp.c (main): Add label.
19534 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
19535
6e1ac5a3
JK
195362014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19537
19538 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
19539
754dd2b0
YQ
195402014-10-11 Yao Qi <yao@codesourcery.com>
19541
19542 * gdb.server/server-kill.exp: Execute command
19543 "set remote trace-status-packet on" before "tstatus".
19544
f90183d7
YQ
195452014-10-11 Yao Qi <yao@codesourcery.com>
19546
19547 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
19548 (main): Call getppid.
19549 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
19550 and continue to it. Read variable "server_pid".
19551
bf40a607
YQ
195522014-10-11 Yao Qi <yao@codesourcery.com>
19553
19554 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
19555
052ca370
YQ
195562014-10-11 Yao Qi <yao@codesourcery.com>
19557
19558 * gdb.threads/thread-find.exp: Don't execute command
19559 "info threads".
19560 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
19561 * gdb.threads/linux-dp.exp: Don't check the condition
19562 $threads_created equals to zero.
19563
3831839c
PA
195642014-10-10 Pedro Alves <palves@redhat.com>
19565
19566 * gdb.base/bigcore.exp: Remove references to IRIX.
19567 * gdb.base/funcargs.exp: Likewise.
19568 * gdb.base/interrupt.exp: Likewise.
19569 * gdb.base/mips_pro.exp: Likewise.
19570 * gdb.base/nodebug.exp: Likewise.
19571 * gdb.base/setvar.exp: Likewise.
19572 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
19573
8b9a549d
PA
195742014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
19575 Pedro Alves <palves@redhat.com>
19576
19577 PR symtab/14466
19578 * gdb.base/vdso-warning.c: New file.
19579 * gdb.base/vdso-warning.exp: New file.
19580
d48ba5e8
DE
195812014-10-02 Doug Evans <dje@google.com>
19582
19583 * gdb.base/structs.c (main): Don't run forever.
19584
2278c276
PA
195852014-10-02 Pedro Alves <palves@redhat.com>
19586
19587 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
19588 (top level) <stop threads 1, stop threads 2>: Use it.
19589
b57bacec
PA
195902014-10-02 Pedro Alves <palves@redhat.com>
19591
19592 * gdb.threads/break-while-running.exp (test): Add new
19593 'update_thread_list' argument. Skip "info threads" if false.
19594 (top level): Add new 'update_thread_list' axis.
19595
13fd3ff3
PA
195962014-10-02 Pedro Alves <palves@redhat.com>
19597
19598 PR breakpoints/17431
19599 * gdb.base/execl-update-breakpoints.c: New file.
19600 * gdb.base/execl-update-breakpoints.exp: New file.
19601
0fec99e8
PA
196022014-10-01 Pedro Alves <palves@redhat.com>
19603
19604 * gdb.base/breakpoint-in-ro-region.c: New file.
19605 * gdb.base/breakpoint-in-ro-region.exp: New file.
19606
2ddf4301
SM
196072014-10-01 Simon Marchi <simon.marchi@ericsson.com>
19608
19609 * gdb.mi/mi-exit-code.exp: New file.
19610 * gdb.mi/mi-exit-code.c: New file.
19611
6a5f3f43
YQ
196122014-09-30 Yao Qi <yao@codesourcery.com>
19613
19614 * lib/prelink-support.exp (build_executable_own_libs): Error if
19615 the target isn't native.
19616
345bcc73
YQ
196172014-09-30 Yao Qi <yao@codesourcery.com>
19618
19619 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
19620 false.
19621
a25a5a45
PA
196222014-09-22 Pedro Alves <palves@redhat.com>
19623
19624 * gdb.threads/break-while-running.exp: New file.
19625 * gdb.threads/break-while-running.c: New file.
19626
00ba3162
YQ
196272014-09-19 Yao Qi <yao@codesourcery.com>
19628
19629 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
19630 Invoke test. Restart GDB with --readnow and invoke test again.
19631
c3b7b696
YQ
196322014-09-19 Yao Qi <yao@codesourcery.com>
19633
19634 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
19635 proc set_breakpoint_on_gcd_function. Invoke
19636 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
19637 invoke set_breakpoint_on_gcd_function again.
19638
2b4fd423
DE
196392014-09-18 Doug Evans <dje@google.com>
19640
19641 * gdb.dwarf2/symtab-producer.exp: New file.
19642
a5947601
SDJ
196432014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
19644
19645 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
19646 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
19647 * gdb.base/global-var-nested-by-dso.c: Likewise.
19648 * gdb.base/global-var-nested-by-dso.exp: Likewise.
19649
91c19059
SDJ
196502014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
19651 Pedro Alves <palves@redhat.com>
19652
19653 * gdb.base/watch-bitfields.exp: Pass string other than test file
19654 name to prepare_for_testing.
19655 (watch): New procedure.
19656 (expect_watchpoint): Use with_test_prefix.
19657 (top level): Factor out tests to ...
19658 (test_watch_location, test_regular_watch): ... these new
19659 procedures, and use with_test_prefix and gdb_continue_to_end.
19660
bb9d5f81
PP
196612014-09-16 Patrick Palka <patrick@parcs.ath.cx>
19662
19663 PR breakpoints/12526
19664 * gdb.base/watch-bitfields.exp: New file.
19665 * gdb.base/watch-bitfields.c: New file.
19666
635856f5
PA
196672014-09-16 Pedro Alves <palves@redhat.com>
19668
19669 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
19670 software and hardware addresses, not software address against
19671 itself.
19672
7280ceea
PA
196732014-09-16 Pedro Alves <palves@redhat.com>
19674
19675 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
19676 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
19677
428b16bd
PA
196782014-09-16 Pedro Alves <palves@redhat.com>
19679
19680 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
19681 files.
19682 * gdb.base/a2-run.exp: Remove all code guarded by istarget
19683 "*-*-vxworks*" throughout.
19684 * gdb.base/break.exp: Likewise.
19685 * gdb.base/default.exp: Likewise.
19686 * gdb.base/scope.exp: Likewise.
19687 * gdb.base/sepdebug.exp: Likewise.
19688 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
19689 throughout.
19690 * gdb.base/run.c: Likewise.
19691 * gdb.base/sepdebug.c: Likewise.
19692 * gdb.hp/gdb.aCC/run.c: Likewise.
19693 * gdb.reverse/until-reverse.c: Likewise.
19694 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
19695
666d413c
YQ
196962014-09-16 Yao Qi <yao@codesourcery.com>
19697
19698 * boards/local-remote-host-native.exp: New file.
19699
57cbd724
DE
197002014-09-14 Doug Evans <xdje42@gmail.com>
19701
19702 * gdb.threads/queue-signal.c (thread_count): New variable.
19703 (thread_count_mutex, thread_count_condvar): New variables.
19704 (incr_thread_count, wait_all_threads_running): New functions.
19705 (main): Wait for all threads to be in their thread functions.
19706
81219e53
DE
197072014-09-13 Doug Evans <xdje42@gmail.com>
19708
19709 * gdb.threads/queue-signal.c: New file.
19710 * gdb.threads/queue-signal.exp: New file.
19711
3714cea7
DE
197122014-09-13 Doug Evans <xdje42@gmail.com>
19713
19714 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
19715 be consistent with what default_gdb_init uses.
19716 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
19717 the plain text of the prompt. Add some logging printfs.
19718 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
19719
fa43b1d7
PA
197202014-09-12 Pedro Alves <palves@redhat.com>
19721
19722 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
19723 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
19724 * gdb.arch/i386-size-overlap.exp: Likewise.
19725 * gdb.arch/i386-size.exp: Likewise.
19726 * gdb.arch/i386-unwind.exp: Likewise.
19727 * gdb.base/a2-run.exp: Likewise.
19728 * gdb.base/break.exp: Likewise.
19729 * gdb.base/charset.exp: Likewise.
19730 * gdb.base/chng-syms.exp: Likewise.
19731 * gdb.base/commands.exp: Likewise.
19732 * gdb.base/dbx.exp: Likewise.
19733 * gdb.base/find.exp: Likewise.
19734 * gdb.base/funcargs.exp: Likewise.
19735 * gdb.base/jit-simple.exp: Likewise.
19736 * gdb.base/reread.exp: Likewise.
19737 * gdb.base/sepdebug.exp: Likewise.
19738 * gdb.base/step-bt.exp: Likewise.
19739 * gdb.cp/mb-inline.exp: Likewise.
19740 * gdb.cp/mb-templates.exp: Likewise.
19741 * gdb.objc/basicclass.exp: Likewise.
19742 * gdb.threads/killed.exp: Likewise.
19743
9d9bf2df
EBM
197442014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19745
19746 PR tdep/17379
19747 * gdb.arch/powerpc-stackless.S: New file.
19748 * gdb.arch/powerpc-stackless.exp: New file.
19749
1cf2f1b0
JK
197502014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19751
19752 * gdb.base/attach.c: Include unistd.h.
19753 (main): Call alarm. Add label postloop.
19754 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
19755 gdb_breakpoint, gdb_continue_to_breakpoint.
19756 (test_command_line_attach_run): Kill ${testpid} in one exit path.
19757
98880d46
PA
197582014-09-11 Pedro Alves <palves@redhat.com>
19759
19760 PR gdb/17347
19761 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
19762 * gdb.base/attach.exp (test_command_line_attach_run): New
19763 procedure.
19764 (top level): Call it.
19765
4c92ff2c
PA
197662014-09-11 Pedro Alves <palves@redhat.com>
19767
19768 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
19769 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
19770 (do_command_attach_tests): Use spawn_wait_for_attach.
19771 * gdb.base/solib-overlap.exp: Likewise.
19772 * gdb.multi/multi-attach.exp: Likewise.
19773 * gdb.python/py-prompt.exp: Likewise.
19774 * gdb.python/py-sync-interp.exp: Likewise.
19775 * gdb.server/ext-attach.exp: Likewise.
19776
3adc1a7d
GKB
197772014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
19778
19779 * gdb.fortran/array-element.exp: Remove unexpected "continue"
19780 command in testcase. Simplify testcase.
19781
96334934
JB
197822014-09-10 Joel Brobecker <brobecker@adacore.com>
19783
19784 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
19785
eb479039
JB
197862014-09-10 Joel Brobecker <brobecker@adacore.com>
19787
19788 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
19789
deede10c
JB
197902014-09-10 Joel Brobecker <brobecker@adacore.com>
19791
19792 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
19793
7828a5f5
JB
197942014-09-10 Joel Brobecker <brobecker@adacore.com>
19795
19796 * gdb.dwarf2/dynarr-ptr.c: New file.
19797 * gdb.dwarf2/dynarr-ptr.exp: New file.
19798
33aeebcf
MR
197992014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19800
19801 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
19802 of 30 rather than hardcoding 120 for a slow test case. Take the
19803 `gdb,timeout' target setting into account for this calculation.
19804 Don't extend the timeout for the test cases that don't need it.
19805
7b415901
MR
198062014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19807
19808 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
19809 a factor of 2 for a slow test case. Take the `gdb,timeout'
19810 target setting into account for this calculation.
19811 * gdb.reverse/until-precsave.exp: Increase the timeout by
19812 a factor of 15 and 3 respectively rather than adding 120
19813 for a pair of slow test cases. Take the `gdb,timeout'
19814 target setting into account for this calculation.
19815
4a40f85a
MR
198162014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19817
19818 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
19819 timeout, don't pass one down to gdb_expect.
19820 (gdb_expect): Rework timeout selection.
19821
09635af7
MR
198222014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19823
19824 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
19825 exception on timeout.
19826 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
19827 (gdbserver_start_extended): Catch any `gdbserver_start' error
19828 exceptions.
19829 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
19830 * lib/mi-support.exp (mi_gdb_target_load): Catch any
19831 `gdbserver_gdb_load' error exceptions.
19832
2bdd10b7
MR
198332014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19834
19835 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
19836 120 on waiting for the TCP socket to open.
19837
316935f0
DE
198382014-09-09 Doug Evans <xdje42@gmail.com>
19839
19840 * gdb.base/default.exp (show_conv_list): Add _caller_is,
19841 _caller_matches, _any_caller_is, _any_caller_matches.
19842
83740597
DE
198432014-09-09 Doug Evans <xdje42@gmail.com>
19844
19845 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
19846
4c122fc3
YQ
198472014-09-09 Yao Qi <yao@codesourcery.com>
19848
19849 * gdb.mi/mi-var-display.exp: Set print symbol off.
19850
a9f116cb
GKB
198512014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
19852
19853 PR gdb/17035
19854 * gdb.base/commands.exp: Add tests to verify user-defined
19855 commands with empty bodies.
19856 * gdb.python/py-cmd.exp: Test that we don't show user-defined
19857 python commands in `show user command`.
19858 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
19859 scheme commands in `show user command`.
19860
c75bd3a2
JK
198612014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19862
19863 PR python/17355
19864 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
19865 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
19866 * gdb.python/py-framefilter-invalidarg.exp: New file.
19867 * gdb.python/py-framefilter-invalidarg.py: New file.
19868
faa42425
DE
198692014-09-06 Doug Evans <xdje42@gmail.com>
19870
19871 PR 15276
19872 * gdb.python/py-caller-is.c: New file.
19873 * gdb.python/py-caller-is.exp: New file.
19874
474ca4f6
SDJ
198752014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
19876
19877 PR gdb/17235
19878 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
19879 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
19880
eb0b0463
SDJ
198812014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
19882
19883 PR fortran/17237
19884 * gdb.fortran/print-formatted.exp: New file.
19885 * gdb.fortran/print-formatted.f90: Likewise.
19886
5f3b99cf
SS
198872014-09-03 Sasha Smundak <asmundak@google.com>
19888
19889 * gdb.python/py-frame.exp: Test Frame.read_register.
19890
7d793aa9
SDJ
198912014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
19892
19893 PR python/16699
19894 * gdb.python/py-completion.exp: New file.
19895 * gdb.python/py-completion.py: Likewise.
19896
fb0576e9
DE
198972014-08-28 Doug Evans <dje@google.com>
19898
19899 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
19900 eax,etc. are live with values set by gdb and thus the compiler can't
19901 use them.
19902 * gdb.arch/i386-pseudo.c (main): Ditto.
19903
ee92b0dd
DE
199042014-08-27 Doug Evans <dje@google.com>
19905
19906 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
19907
6649db35
DE
199082014-08-25 Doug Evans <dje@google.com>
19909
19910 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
19911 (main): Ditto.
19912
564b7600
DE
199132014-08-25 Doug Evans <dje@google.com>
19914
19915 * gdb.threads/thread-execl.exp: #include <stdio.h>.
19916
3881fb67
YQ
199172014-08-24 Yao Qi <yao@codesourcery.com>
19918
19919 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
19920 symbol off.
19921 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
19922
a05a36a5
DE
199232014-08-22 Doug Evans <dje@google.com>
19924
19925 PR 17276
19926 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
19927 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
19928 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
19929
7c343b48
YQ
199302014-08-22 Yao Qi <yao@codesourcery.com>
19931
19932 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
19933 * gdb.python/py-finish-breakpoint2.exp: Likewise.
19934 * gdb.python/python.exp: Likewise. Use .py file on the host
19935 instead of the build.
19936
22fd09ae
JK
199372014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19938
19939 * gdb.threads/gcore-stale-thread.c: New file.
19940 * gdb.threads/gcore-stale-thread.exp: New file.
19941
a8454a7c
PA
199422014-08-21 Pedro Alves <palves@redhat.com>
19943
19944 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
19945 * gdb.base/gcore-relro-pie.exp: Likewise.
19946 * gdb.base/gcore-relro.exp: Likewise.
19947 * gdb.base/gcore.exp: Likewise.
19948 * gdb.base/print-symbol-loading.exp: Likewise.
19949 * gdb.threads/gcore-thread.exp: Likewise.
19950 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
19951
2a31c623
PA
199522014-08-20 Pedro Alves <palves@redhat.com>
19953 Jan Kratochvil <jan.kratochvil@redhat.com>
19954
19955 * Makefile.in (EXTRA_RULES, CC): New variables, get from
19956 configure.
19957 (EXPECT): Handle READ1 being set.
19958 (all): Depend on EXTRA_RULES.
19959 (check-read1, expect-read1, read1.so, read1): New rules.
19960 * README (Testsuite Parameters): Document the READ1 make variable.
19961 (Race detection): New section.
19962 * configure: Regenerate.
19963 * configure.ac: If build==host==target, and running under a
19964 GNU/glibc system, add read1 to the extra Makefile rules.
19965 (EXTRA_RULES): AC_SUBST it.
19966 * lib/read1.c: New file.
19967
d36430db
JB
199682014-08-20 Joel Brobecker <brobecker@adacore.com>
19969
19970 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
19971 the handling of variables declared as a typedef to an array
19972 which a DW_AT_data_location attribute.
19973
9a0dc9e3
PA
199742014-08-19 Andrew Burgess <aburgess@broadcom.com>
19975 Pedro Alves <palves@redhat.com>
19976
19977 PR symtab/14604
19978 PR symtab/14605
19979 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
19980 gdb_test.
19981
0718a8da
PA
199822014-08-19 Pedro Alves <palves@redhat.com>
19983
19984 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
19985
13b448cd
YQ
199862014-08-19 Yao Qi <yao@codesourcery.com>
19987
19988 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
19989 right line.
19990
1cbf5077
DB
199912014-08-18 David Blaikie <dblaikie@gmail.com>
19992
19993 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
19994
bf0fae19
JB
199952014-08-18 Joel Brobecker <brobecker@adacore.com>
19996
19997 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
19998 attribute in array range.
19999
3c8c5dcc
JB
200002014-08-18 Joel Brobecker <brobecker@adacore.com>
20001
20002 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
20003
e66d4446
SC
200042014-08-15 Siva Chandra Reddy <sivachandra@google.com>
20005
20006 PR c++/17132
20007 * gdb.cp/pr17132.cc: New file.
20008 * gdb.cp/pr17132.exp: New file.
20009
940df408
SC
200102014-08-15 Siva Chandra Reddy <sivachandra@google.com>
20011
20012 * gdb.python/py-xmethods.py (A_getarrayind)
20013 (E_method_char_worker.__call__, E_method_int_worker.__call__):
20014 Use 'print' with function call syntax.
20015 (E_method_matcher.match): Fix tab vs space indentation mixup.
20016
ebcc6c3a
YQ
200172014-08-15 Yao Qi <yao@codesourcery.com>
20018
20019 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
20020 false.
20021
775e0f04
YQ
200222014-08-15 Yao Qi <yao@codesourcery.com>
20023
20024 * gdb.cp/casts.exp: Set print symbol off.
20025 * gdb.cp/class2.exp: Likewise.
20026 * gdb.cp/overload.exp: Likewise.
20027 * gdb.cp/templates.exp: Likewise.
20028
d769e349
DE
200292014-08-11 Doug Evans <dje@google.com>
20030
20031 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
20032 (test_load_shlib): Update.
20033
20c6f1e1
YQ
200342014-08-09 Yao Qi <yao@codesourcery.com>
20035
20036 * gdb.base/display.exp: Invoke is_address_zero_readable.
20037 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
20038 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
20039 * gdb.base/hbreak-unmapped.exp: Return if
20040 is_address_zero_readable returns true.
20041 * gdb.base/signest.exp: Likewise.
20042 * gdb.base/signull.exp: Likewise.
20043 * gdb.base/sigbpt.exp: Likewise.
20044 * gdb.guile/scm-disasm.exp: Do the test if
20045 is_address_zero_readable returns false.
20046 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
20047 * gdb.python/py-arch.exp: Likewise.
20048 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
20049 * lib/gdb.exp (is_address_zero_readable): New proc.
20050
5792e8e3
YQ
200512014-08-09 Yao Qi <yao@codesourcery.com>
20052
20053 PR testsuite/13443
20054 * gdb.mi/mi-var-display.exp: Make test messages unique.
20055
3cecbbbe
TT
200562014-08-04 Tom Tromey <tromey@redhat.com>
20057
20058 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
20059 target 0".
20060
00b51ff5
TT
200612014-08-04 Tom Tromey <tromey@redhat.com>
20062
20063 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
20064 "target_resume".
20065
6908c509
JB
200662014-08-01 Joel Brobecker <brobecker@adacore.com>
20067
20068 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
20069 inner_vla_struct_object_size.
20070 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
20071 as xfail.
20072
cc6563d2
PA
200732014-07-30 Pedro Alves <palves@redhat.com>
20074
20075 * gdb.threads/signal-command-handle-nopass.exp (test): Add
20076 comment.
20077
7e09a223
YQ
200782014-07-29 Yao Qi <yao@codesourcery.com>
20079
20080 PR gdb/17206
20081 * gdb.base/until-nodebug.exp: New.
20082
7ebdbe92
DE
200832014-07-28 Doug Evans <xdje42@gmail.com>
20084
20085 PR guile/17203
20086 * gdb.guile/scm-parameter.exp: Add tests for trying to create
20087 previously existing parameter, and previously ambiguously spelled
20088 parameter.
20089
fdb1adc6
WN
200902014-07-28 Will Newton <will.newton@linaro.org>
20091
20092 * gdb.base/varargs.exp: Remove KFAILs for ARM.
20093
186fcde0
DE
200942014-07-26 Ludovic Courtès <ludo@gnu.org>
20095 Doug Evans <xdje42@gmail.com>
20096
20097 PR guile/17146
20098 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
20099
70509625
PA
201002014-07-25 Pedro Alves <palves@redhat.com>
20101
20102 * gdb.threads/signal-command-handle-nopass.c: New file.
20103 * gdb.threads/signal-command-handle-nopass.exp: New file.
20104 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
20105 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
20106 * gdb.threads/signal-delivered-right-thread.c: New file.
20107 * gdb.threads/signal-delivered-right-thread.exp: New file.
20108
c3f814a1
PA
201092014-07-25 Pedro Alves <palves@redhat.com>
20110
20111 * gdb.base/double-prompt-target-event-error.exp
20112 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
20113 match.
20114 (cancel_pagination_in_target_event): Rework double prompt
20115 detection.
20116 * gdb.base/paginate-after-ctrl-c-running.exp
20117 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
20118 <return>' match.
20119 * gdb.base/paginate-bg-execution.exp
20120 (test_bg_execution_pagination_return)
20121 (test_bg_execution_pagination_cancel): Remove '-notransfer
20122 <return>' matches.
20123 * gdb.base/paginate-execution-startup.exp
20124 (test_fg_execution_pagination_return)
20125 (test_fg_execution_pagination_cancel): Remove '-notransfer
20126 <return>' matches.
20127 * gdb.base/paginate-inferior-exit.exp
20128 (test_paginate_inferior_exited): Remove '-notransfer <return>'
20129 match.
20130 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
20131 * lib/gdb.exp (pagination_prompt): Run text through
20132 string_to_regexp.
20133 (gdb_test_multiple): Match $pagination_prompt instead of
20134 "<return>".
20135 (string_to_regexp): Move to lib/gdb-utils.exp.
20136
e214cf6c
JK
201372014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
20138
20139 * gdb.arch/amd64-entry-value-paramref.S: New file.
20140 * gdb.arch/amd64-entry-value-paramref.cc: New file.
20141 * gdb.arch/amd64-entry-value-paramref.exp: New file.
20142 * gdb.arch/amd64-optimout-repeat.S: New file.
20143 * gdb.arch/amd64-optimout-repeat.c: New file.
20144 * gdb.arch/amd64-optimout-repeat.exp: New file.
20145
17d0c5c8
JK
201462014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
20147
20148 PR gdb/17170
20149 * gdb.base/statistics.exp: New file.
20150
b8b8facf
DE
201512014-07-17 Doug Evans <dje@google.com>
20152
74b49205 20153 PR gdb/17170
b8b8facf
DE
20154 * gdb.base/maint.exp: Update testing of per-command stats.
20155
1b5d0ab3
PA
201562014-07-16 Pedro Alves <palves@redhat.com>
20157
20158 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
20159 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
20160 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
20161 (tfile_write_buf): New functions.
20162 (add_memory_block): Rewrite using the above.
20163 (adjust_function_address): New function.
20164 (FUNCTION_ADDRESS): New macro.
20165 (write_basic_trace_file): Remove short_x local, and use
20166 tfile_write_16. Change type of func_addr local to unsigned long
20167 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
20168 here. Cast argument of add_memory_block to char pointer.
20169 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
20170 (main): Remove parameters.
20171 * gdb.trace/tfile.exp: Remove nowarnings.
20172
4d974e88
SM
201732014-07-15 Simon Marchi <simon.marchi@ericsson.com>
20174
20175 * gdb.base/debug-expr.exp: Test string evaluation with
20176 "debug expression" on.
20177
41e99568
PA
201782014-07-15 Pedro Alves <palves@redhat.com>
20179
20180 * gdb.base/reread.exp: Use clean_restart.
20181
487d9753
PL
201822014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
20183
20184 * gdb.arch/avr-flash-qualifer.c: New.
20185 * gdb.arch/avr-flash-qualifer.exp: New.
20186
cc1c52ad
PA
201872014-07-14 Pedro Alves <palves@redhat.com>
20188
20189 * gdb.base/paginate-after-ctrl-c-running.c: New file.
20190 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
20191
1e973570
PA
201922014-07-14 Pedro Alves <palves@redhat.com>
20193
20194 * gdb.base/double-prompt-target-event-error.c: New file.
20195 * gdb.base/double-prompt-target-event-error.exp: New file.
20196
93d6eb10
PA
201972014-07-14 Pedro Alves <palves@redhat.com>
20198
20199 PR gdb/17072
20200 * gdb.base/paginate-inferior-exit.c: New file.
20201 * gdb.base/paginate-inferior-exit.exp: New file.
20202
0017922d
PA
202032014-07-14 Pedro Alves <palves@redhat.com>
20204
20205 PR gdb/17072
20206 * gdb.base/paginate-bg-execution.c: New file.
20207 * gdb.base/paginate-bg-execution.exp: New file.
20208
94696ad3
PA
202092014-07-14 Pedro Alves <palves@redhat.com>
20210
20211 PR gdb/17072
20212 * gdb.base/paginate-execution-startup.c: New file.
20213 * gdb.base/paginate-execution-startup.exp: New file.
20214 * lib/gdb.exp (pagination_prompt): New global.
20215 (default_gdb_spawn): New procedure, factored out from
20216 default_gdb_spawn.
20217 (default_gdb_start): Adjust to call default_gdb_spawn.
20218 (gdb_spawn): New procedure.
20219
bd293940
PA
202202014-07-14 Pedro Alves <palves@redhat.com>
20221
20222 * lib/gdb.exp (gdb_assert): New procedure.
20223 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
20224
c933f875
PA
202252014-07-14 Pedro Alves <palves@redhat.com>
20226
20227 * gdb.base/execution-termios.c: New file.
20228 * gdb.base/execution-termios.exp: New file.
20229
d98b7a16
TT
202302014-07-14 Tom Tromey <tromey@redhat.com>
20231
20232 * gdb.cp/vla-cxx.cc: New file.
20233 * gdb.cp/vla-cxx.exp: New file.
20234
548740d6
TT
202352014-07-14 Tom Tromey <tromey@redhat.com>
20236
20237 * gdb.reverse/rerun-prec.c: New file.
20238 * gdb.reverse/rerun-prec.exp: New file.
20239
a25eb028
MR
202402014-07-12 Maciej W. Rozycki <macro@mips.com>
20241 Maciej W. Rozycki <macro@codesourcery.com>
20242
20243 * lib/gdb-utils.exp: New file.
20244 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
20245 inline `gdb_init_command' processing.
20246 (gdb_start_cmd): Likewise.
20247 * lib/mi-support.exp (mi_run_cmd): Likewise.
20248 * README: Document `gdb_init_command' and `gdb_init_commands'.
20249
218c2655
JK
202502014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20251
20252 Fix false FAIL running under a very long directory name.
20253 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
20254 and "set print elements 10000". Twice.
20255
5401fde3
YQ
202562014-07-11 Yao Qi <yao@codesourcery.com>
20257
20258 * gdb.base/exprs.exp: "set print symbol off".
20259
e76126e8
PA
202602014-07-11 Pedro Alves <palves@redhat.com>
20261
20262 * gdb.threads/kill.c: New file.
20263 * gdb.threads/kill.exp: New file.
20264
2d6f0de6
YQ
202652014-07-10 Yao Qi <yao@codesourcery.com>
20266
20267 * gdb.trace/tfile.c (write_basic_trace_file)
20268 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
20269 address written to trace file.
20270
7180e04a
PA
202712014-07-09 Pedro Alves <palves@redhat.com>
20272
20273 * gdb.base/attach-wait-input.exp: New file.
20274 * gdb.base/attach-wait-input.c: New file.
20275
9a9a7608
AB
202762014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
20277
20278 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
20279 setting up test structures.
20280 (main): Call new test function.
20281 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
20282 test function, continue into test function and walk test
20283 structures.
20284
161ac41e
YQ
202852014-07-02 Yao Qi <yao@codesourcery.com>
20286
20287 * gdb.trace/entry-values.c: Define labels 'foo_start' and
20288 'bar_start' at the beginning of functions 'foo' and 'bar'
20289 respectively.
20290 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
20291 instead of 'foo' and 'bar'.
20292
1f267ae3
MM
202932014-07-08 Markus Metzger <markus.t.metzger@intel.com>
20294
20295 * gdb.btrace/segv.exp: New.
20296 * gdb.btrace/segv.c: New.
20297
2b239efb
LM
202982014-07-02 Luis Machado <lgustavo@codesourcery.com>
20299
20300 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
20301 instruction.
20302
cf363f18
MW
203032014-06-30 Mark Wielaard <mjw@redhat.com>
20304
20305 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
20306 vulture, vilify, villar): New volatile array constants.
20307 (vindictive, vegetation): New const volatile array constants.
20308 * gdb.base/volatile.exp: Test volatile and const volatile array
20309 types.
20310
aebf9d24
AA
203112014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
20312
20313 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
20314 target lacks support for awatch, rwatch, or hbreak.
20315
b67a2c6f
YQ
203162014-06-27 Yao Qi <yao@codesourcery.com>
20317
20318 * gdb.multi/dummy-frame-restore.exp: New.
20319 * gdb.multi/dummy-frame-restore.c: New.
20320
aef92902
MM
203212014-06-25 Markus Metzger <markus.t.metzger@intel.com>
20322
20323 * gdb.btrace/gcore.exp: New.
20324
8e9db26e
PA
203252014-06-23 Pedro Alves <palves@redhat.com>
20326
20327 * gdb.base/watchpoint-reuse-slot.c: New file.
20328 * gdb.base/watchpoint-reuse-slot.exp: New file.
20329
70afc5b7
SC
203302014-06-23 Siva Chandra Reddy <sivachandra@google.com>
20331
20332 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
20333 progspace's filename in 'info', 'enable' and 'disable' command
20334 tests.
20335
b972bd9c
JK
203362014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
20337
20338 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
20339 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
20340 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
20341
125f8a3d
GB
203422014-06-20 Gary Benson <gbenson@redhat.com>
20343
20344 * gdb.arch/i386-avx.exp: Fix include file location.
20345 * gdb.arch/i386-sse.exp: Likewise.
20346
3ed9baed
IB
203472014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
20348
20349 * gdb.dlang/expression.exp: New file.
20350
034f788c
PA
203512014-06-19 Pedro Alves <palves@redhat.com>
20352
20353 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
20354 out from ...
20355 (top level): ... here. Iterate running tests under different
20356 scheduler-locking settings.
20357
45371d0c
LM
203582014-06-18 Luis Machado <lgustavo@codesourcery.com>
20359
20360 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
20361 to DW_FORM_addr and use non-zero addresses.
20362
5d376983
SC
203632014-06-18 Siva Chandra Reddy <sivachandra@google.com>
20364
20365 PR gdb/17017
20366 * gdb.python/py-xmethods.cc: Add global function call counters and
20367 increment them in their respective functions. Remove "cout"
20368 statements.
20369 * gdb.python/py-xmethods.exp: Make tests check the global function
20370 call counters instead of depending on inferior IO.
20371
a1aa2221
LM
203722014-06-18 Don Breazeal <donb@codesourcery.com>
20373
20374 * gdb.base/foll-fork.exp (default_fork_parent_follow):
20375 Deleted procedure.
20376 (explicit_fork_parent_follow): Deleted procedure.
20377 (explicit_fork_child_follow): Deleted procedure.
20378 (test_follow_fork): New procedure.
20379 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 20380 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
20381 procedure calls.
20382
0fc05997
YQ
203832014-06-17 Yao Qi <yao@codesourcery.com>
20384
20385 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
20386 CP1252.
20387
70795c52
LM
203882014-06-17 Luis Machado <lgustavo@codesourcery.com>
20389
20390 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
20391 Initialize ptr and S explicitly.
20392 (skip_type_update_when_not_use_rtti_test): Likewise.
20393
6be47f0c
KS
203942014-06-16 Keith Seitz <keiths@redhat.com>
20395
20396 PR mi/15863
20397 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
20398 the inferior is started.
20399
d03de421
PA
204002014-06-16 Pedro Alves <palves@redhat.com>
20401
20402 * gdb.base/break-main-file-remove-fail.c: New file.
20403 * gdb.base/break-main-file-remove-fail.exp: New file.
20404 * gdb.base/break-unload-file.exp: Use build_executable instead of
20405 prepare_for_testing.
20406 (test_break): New parameter "initial_load". Handle it.
20407 (top level): Add initial_load cmdline/file axis.
20408
f9579b99
TT
204092014-06-12 Tom Tromey <tromey@redhat.com>
20410
20411 * gdb.base/completion.exp: Don't use directory name in test.
20412
3657956b
GB
204132014-06-09 Gary Benson <gbenson@redhat.com>
20414
20415 * gdb.base/sigall.c [Functions to send signals]: Reorder to
20416 separate the always-available ANSI-standard signals from the
20417 signals that require checking.
20418 (main): Likewise.
20419 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
20420 Likewise.
20421 (main): Likewise.
20422
4186eb54
KS
204232014-06-07 Keith Seitz <keiths@redhat.com>
20424
20425 Revert:
20426 PR c++/16253
20427 * gdb.cp/var-tag.cc: New file.
20428 * gdb.cp/var-tag.exp: New file.
20429 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
20430 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
20431 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
20432 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
20433
25326a28 204342014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
20435
20436 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
20437
829155c9
PA
204382014-06-06 Pedro Alves <palves@redhat.com>
20439
20440 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
20441 in target debug output instead of looking at RSP packets,
20442 disabling the test on any target that uses hardware stepping.
20443 Update comments.
20444
61c8d22e
PA
204452014-06-06 Pedro Alves <palves@redhat.com>
20446
20447 * gdb.base/break-unload-file.exp: Fix typo.
20448
d9a47287
YQ
204492014-06-06 Yao Qi <yao@codesourcery.com>
20450
20451 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
20452 from "jit_function" to "^jit_function".
20453
e5e01dbf
YQ
204542014-06-06 Yao Qi <yao@codesourcery.com>
20455
20456 * gdb.base/async.c (foo): Add one statement.
20457 * gdb.base/async.exp: Get the next instruction address and
20458 match the output of "nexti" by instruction address. Match
20459 the hex address in the output of "finish".
20460
73ba372c
GB
204612014-06-06 Gary Benson <gbenson@redhat.com>
20462
20463 * gdb.base/call-signals.c: Remove preprocessor conditionals
20464 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
20465 SIGSEGV and SIGTERM.
20466 * gdb.base/sigall.c: Likewise.
20467 * gdb.base/unwindonsignal.c: Likewise.
20468 * gdb.reverse/sigall-reverse.c: Likewise.
20469
831517df
YQ
204702014-06-06 Yao Qi <yao@codesourcery.com>
20471
20472 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
20473 readable, skip the test.
20474
b8b91e98
YQ
204752014-06-06 Yao Qi <yao@codesourcery.com>
20476
20477 * gdb.threads/staticthreads.c (thread_function): Move the line
20478 setting breakpoint on forward.
20479 * gdb.threads/staticthreads.exp: Update comments.
20480
fb934770
LC
204812014-06-05 Ludovic Courtès <ludo@gnu.org>
20482
20483 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
20484 "history-append! type error".
20485
6ef284bd
SM
204862014-06-05 Simon Marchi <simon.marchi@ericsson.com>
20487
20488 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
20489 erroneous dprintf expected input.
20490
a872e241
DE
204912014-06-04 Doug Evans <xdje42@gmail.com>
20492
20493 * gdb.guile/scm-generics.exp: Delete.
20494
16f691fb
DE
204952014-06-04 Doug Evans <xdje42@gmail.com>
20496
20497 * gdb.guile/scm-breakpoint.exp: Update.
20498 Add tests for breakpoint registration.
20499
012370f6
TT
205002014-06-04 Tom Tromey <tromey@redhat.com>
20501
20502 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
20503 VLA-in-union.
20504 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
20505 inner_vla_struct, vla_union types. Initialize objects of those
20506 types and compute their sizes.
20507
9f5a4cef
HZ
205082014-06-04 Nathan Sidwell <nathan@codesourcery.com>
20509 Hui Zhu <hui@codesourcery.com>
20510
20511 * gdb.base/fileio.exp: Add test for shell not available as well as
20512 available.
20513 * gdb.base/fileio.c (test_system): Check for shell twice.
20514
90a45c4d
YQ
205152014-06-04 Yao Qi <yao@codesourcery.com>
20516
20517 * gdb.base/auto-connect-native-target.exp: Remove redundant
20518 space from the regexp pattern.
20519
70017e41
YQ
205202014-06-04 Yao Qi <yao@codesourcery.com>
20521
20522 * gdb.base/default.exp: Replace "child" with "native" in
20523 regexp pattern.
20524
883964a7
SC
205252014-06-03 Siva Chandra Reddy <sivachandra@google.com>
20526
20527 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
20528 * gdb.python/py-xmethods.exp: New tests to test xmethods.
20529 * gdb.python/py-xmethods.py: Python script supporting the
20530 new testcase and tests.
20531
ef370185
JB
205322014-06-03 Joel Brobecker <brobecker@adacore.com>
20533 Pedro Alves <palves@redhat.com>
20534
20535 PR breakpoints/17000
20536 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
20537 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
20538
1e2ccb61
BM
205392014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
20540
20541 * gdb.base/subst.exp: Add tests to verify partial path matching
20542 output.
20543
c6ec5ab2
PA
205442014-06-03 Pedro Alves <palves@redhat.com>
20545
20546 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
20547 target that doesn't use software single-stepping.
20548
835c559f
PA
205492014-06-03 Pedro Alves <palves@redhat.com>
20550
20551 PR breakpoints/17000
20552 * gdb.base/sss-bp-on-user-bp-2.c: New file.
20553 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
20554
06eb1586
DE
205552014-06-02 Doug Evans <xdje42@gmail.com>
20556
20557 * gdb.guile/scm-parameter.exp: New file.
20558
e698b8c4
DE
205592014-06-02 Doug Evans <xdje42@gmail.com>
20560
20561 * gdb.guile/scm-cmd.c: New file.
20562 * gdb.guile/scm-cmd.exp: New file.
20563
ded03782
DE
205642014-06-02 Doug Evans <xdje42@gmail.com>
20565
20566 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
20567 pretty-printer lookup.
20568 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
20569 (make-pp_s-printer): Call it.
20570 (make-pretty-printer-from-dict): New function.
20571 (lookup-pretty-printer-maker-from-dict): New function.
20572 (*pretty-printer*): Simplify.
20573 (make-objfile-pp_s-printer): New function.
20574 (install-objfile-pretty-printers!): New function.
20575 (make-progspace-pp_s-printer): New function.
20576 (install-progspace-pretty-printers!): New function.
20577 * gdb.guile/scm-progspace.c: New file.
20578 * gdb.guile/scm-progspace.exp: New file.
20579
41fac0cf
PA
205802014-06-02 Pedro Alves <palves@redhat.com>
20581
20582 * gdb.base/dprintf-bp-same-addr.c: New file.
20583 * gdb.base/dprintf-bp-same-addr.exp: New file.
20584
96ae5695
EBM
205852014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20586
20587 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
20588 * gdb.arch/powerpc-power.s: Likewise.
20589
da02b3a8
JB
205902014-06-02 Joel Brobecker <brobecker@adacore.com>
20591
20592 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
20593
c72b2e7b
YQ
205942014-06-01 Yao Qi <yao@codesourcery.com>
20595
20596 * gdb.base/watchpoint.exp (test_watch_location): Check null
20597 pointer can be dereferenced. If not, do the test, otherwise
20598 skip it.
20599
53e8a631
AB
206002014-05-30 Andrew Burgess <aburgess@broadcom.com>
20601
20602 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
20603 results.
20604 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
20605
938f0e2f
AB
206062014-05-30 Andrew Burgess <aburgess@broadcom.com>
20607
20608 * gdb.arch/amd64-invalid-stack-middle.S: New file.
20609 * gdb.arch/amd64-invalid-stack-middle.c: New file.
20610 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
20611 * gdb.arch/amd64-invalid-stack-top.c: New file.
20612 * gdb.arch/amd64-invalid-stack-top.exp: New file.
20613
9ba6657a
PA
206142014-05-30 Pedro Alves <palves@redhat.com>
20615
20616 PR breakpoints/17000
20617 * gdb.base/sss-bp-on-user-bp.c: New file.
20618 * gdb.base/sss-bp-on-user-bp.exp: New file.
20619
522c09bf
DB
206202014-05-30 David Blaikie <dblaikie@gmail.com>
20621
20622 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
20623 gnu_inline semantics via attribute.
20624 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
20625 source explicitly specifies the required semantics.
20626
bf4ef81e
MR
206272014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
20628
20629 * gdb.reverse/sigall-reverse.exp: Fix a typo.
20630
329ea579
PA
206312014-05-29 Pedro Alves <palves@redhat.com>
20632 Tom Tromey <tromey@redhat.com>
20633
20634 * gdb.base/async-shell.exp: Don't enable target-async.
20635 * gdb.base/async.exp
20636 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
20637 parameter. Adjust.
20638 (top level): Don't test with "target-async".
20639 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
20640 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
20641 * gdb.base/inferior-died.exp: Don't enable target-async.
20642 * gdb.base/interrupt-noterm.exp: Likewise.
20643 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
20644 * gdb.mi/mi-nonstop-exit.exp: Likewise.
20645 * gdb.mi/mi-nonstop.exp: Likewise.
20646 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
20647 * gdb.mi/mi-nsintrall.exp: Likewise.
20648 * gdb.mi/mi-nsmoribund.exp: Likewise.
20649 * gdb.mi/mi-nsthrexec.exp: Likewise.
20650 * gdb.mi/mi-watch-nonstop.exp: Likewise.
20651 * gdb.multi/watchpoint-multi.exp: Adjust comment.
20652 * gdb.python/py-evsignal.exp: Don't enable target-async.
20653 * gdb.python/py-evthreads.exp: Likewise.
20654 * gdb.python/py-prompt.exp: Likewise.
20655 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
20656 * gdb.server/solib-list.exp: Don't enable target-async.
20657 * gdb.threads/thread-specific-bp.exp: Likewise.
20658 * lib/mi-support.exp: Adjust to use mi-async.
20659
fd664c91
PA
206602014-05-29 Pedro Alves <palves@redhat.com>
20661
20662 PR gdb/13860
20663 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
20664 reason, even in sync mode.
20665
251bde03
PA
206662014-05-29 Pedro Alves <palves@redhat.com>
20667 Hui Zhu <hui@codesourcery.com>
20668
20669 PR PR15693
20670 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
20671 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
20672 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
20673 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
20674
7f3c0343
JB
206752014-05-28 Joel Brobecker <brobecker@adacore.com>
20676
20677 * config/monitor.exp (gdb_target_monitor): Replace use of
20678 "set remotebaud" by "set serial baud".
20679
b2715b27
AW
206802014-05-26 Andy Wingo <wingo@igalia.com>
20681
20682 * gdb.guile/scm-breakpoint.exp:
20683 * gdb.guile/scm-gsmob.exp: Update to use plain old object
20684 properties instead of gdb-object-properties.
20685
498a4489
YQ
206862014-05-26 Yao Qi <yao@codesourcery.com>
20687
20688 * gdb.server/no-thread-db.exp: Specify source file name
20689 explicitly when setting a breakpoint.
20690
589fdceb
MM
206912014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20692
20693 * gdb.btrace/vdso.c: New.
20694 * gdb.btrace/vdso.exp: New.
20695
e9089e05
MM
206962014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20697
20698 * gdb.base/gcore.exp (capture_command_output): Move ...
20699 * lib/gdb.exp (capture_command_output): ... here.
20700
67b5c0c1
MM
207012014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20702
20703 * gdb.btrace/data.exp: Test memory access during btrace replay.
20704
a2199296
SM
207052014-05-22 Simon Marchi <simon.marchi@ericsson.com>
20706
20707 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
20708
17b2616c
PA
207092014-05-21 Pedro Alves <palves@redhat.com>
20710
20711 PR gdb/13860
20712 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
20713 (top level): Test that output related to execution commands is
20714 sent to the console with CLI commands, but not with MI commands.
20715 Test that breakpoint events are always mirrored to the console.
20716 Also expect the new source line to be output after a "next" in
20717 async mode too. Make it a pass/fail test.
20718 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
20719 output.
20720 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
20721
5166082f
PA
207222014-05-21 Pedro Alves <palves@redhat.com>
20723
20724 * gdb.base/list.exp (build_pattern, test_list): New procedures.
20725 Use them to test variations of "list" after reaching a breakpoint.
20726 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
20727 Test "list" with listsize 10 after reaching a breakpoint.
20728 * gdb.python/python.exp (decode_line current location line
20729 number): Adjust expected line number.
20730
2f25d70f
SM
207312014-05-21 Simon Marchi <simon.marchi@ericsson.com>
20732
20733 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
20734 behavior for $args, pass it directly to "run".
20735
ff604a67
MR
207362014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
20737
20738 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
20739 30000 to 65536.
20740
6a3cb8e8
PA
207412014-05-21 Pedro Alves <palves@redhat.com>
20742
20743 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
20744 auto-connect-native-target off".
20745 * gdb.base/auto-connect-native-target.c: New file.
20746 * gdb.base/auto-connect-native-target.exp: New file.
20747
4ebfc96e
PA
207482014-05-21 Pedro Alves <palves@redhat.com>
20749
20750 * gdb.base/default.exp: Test "target native" instead of "target
20751 child".
20752
36d46afb
MW
207532014-05-21 Mark Wielaard <mjw@redhat.com>
20754
20755 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
20756
5876f503
JK
207572014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20758
20759 Fix TLS access for -static -pthread.
20760 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
20761 <HAVE_TLS> (thread_function, main): Initialize it.
20762 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
20763 Add clean_restart.
20764 <$have_tls != "">: Check TLSVAR.
20765
0256a6ac
PA
207662014-05-21 Pedro Alves <palves@redhat.com>
20767
20768 * gdb.base/dcache-line-read-error.c: New.
20769 * gdb.base/dcache-line-read-error.exp: New.
20770
936d2992
PA
207712014-05-20 Pedro Alves <palves@redhat.com>
20772
20773 * gdb.base/compare-sections.c: New file.
20774 * gdb.base/compare-sections.exp: New file.
20775
802e8e6d
PA
207762014-05-20 Pedro Alves <palves@redhat.com>
20777
20778 * gdb.base/break-idempotent.c: New file.
20779 * gdb.base/break-idempotent.exp: New file.
20780
e59fa00f
MM
207812014-05-20 Markus Metzger <markus.t.metzger@intel.com>
20782
20783 * gdb.btrace/nohist.exp: New.
20784
8b696e31
YQ
207852014-05-20 Yao Qi <yao@codesourcery.com>
20786
20787 * lib/gdb.exp (gdb_init): Set timeout if test file is under
20788 gdb.reverse directory and gdb_reverse_timeout exists in board
20789 setting.
20790 * README: Document gdb_reverse_timeout.
20791
73c9764f
YQ
207922014-05-20 Yao Qi <yao@codesourcery.com>
20793
20794 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
20795 'test_file_name'. Treat args as a string instead of a list.
20796 (gdb_init): Rename argument 'args' by 'test_file_name'.
20797
f1f4348a
JK
207982014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
20799
20800 * gdb.arch/powerpc-power.exp: New file.
20801 * gdb.arch/powerpc-power.s: New file.
20802
0dbe70ce
DE
208032014-05-16 Doug Evans <dje@google.com>
20804
20805 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
20806 * gdb.base/completion.exp: Check that all expected files exist
20807 before doing file completion.
0dbe70ce 20808
8d551b02
DE
208092014-05-16 Doug Evans <dje@google.com>
20810
20811 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
20812 Update.
20813 (do_syscall_tests_without_xml): Update.
20814
73eb7709
PA
208152014-05-16 Pedro Alves <palves@redhat.com>
20816
20817 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
20818 instead of "unknown output after running".
20819
3fae92fc
YQ
208202014-05-16 Yao Qi <yao@codesourcery.com>
20821
20822 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
20823 file1.txt from host at the end.
20824 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
20825
c2b2ccc5
DE
208262014-05-15 Doug Evans <dje@google.com>
20827
20828 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
20829 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
20830 loading file. Add test for TU lookup.
20831
8c217a4b
SM
208322014-05-15 Simon Marchi <simon.marchi@ericsson.com>
20833
20834 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
20835 calling "-exec-arguments" or "set args" before running the
20836 inferior.
20837
3deb39c6
SM
208382014-05-15 Simon Marchi <simon.marchi@ericsson.com>
20839
20840 * lib/mi-support.exp (mi_expect_stop): Expect message for
20841 inferiors that exit with non-zero exit code.
20842
71a79f8c
YQ
208432014-05-14 Yao Qi <yao@codesourcery.com>
20844
20845 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
20846 match absolute path on remote host.
20847 (test_file_list_exec_source_files): Remove "/" from the
20848 pattern.
20849
f23fcd46
YQ
208502014-05-14 Yao Qi <yao@codesourcery.com>
20851
20852 * boards/local-remote-host-notty.exp (${board}_file): New
20853 proc.
20854
9404b58f
KM
208552014-05-07 Kyle McMartin <kyle@redhat.com>
20856
20857 Pushed by Joel Brobecker <brobecker@adacore.com>.
20858 * gdb.arch/aarch64-atomic-inst.c: New file.
20859 * gdb.arch/aarch64-atomic-inst.exp: New file.
20860
5e45f04c
YQ
208612014-05-07 Yao Qi <yao@codesourcery.com>
20862
20863 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
20864 in current context" too.
20865
c888a17d
KS
208662014-05-05 Keith Seitz <keiths@redhat.com>
20867
20868 * gdb.linespec/ls-dollar.exp: Add test for linespec
20869 file:convenience_variable.
20870
290a839c
YQ
208712014-05-05 Yao Qi <yao@codesourcery.com>
20872
20873 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
20874 traceframes into tfile and ctf trace files. Read data from
20875 trace file and test collected data.
20876 (gdb_collect_locals_test): Likewise.
20877 (gdb_unavailable_registers_test): Likewise.
20878 (gdb_unavailable_floats): Likewise.
20879 (gdb_collect_globals_test): Likewise.
20880 (top-level): Append "ctf" to trace_file_targets if GDB
20881 supports.
20882
b5262cd0
YQ
208832014-05-05 Yao Qi <yao@codesourcery.com>
20884
20885 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
20886 code to ...
20887 (gdb_collect_args_test_1): ... it. New proc.
20888 (gdb_collect_locals_test): Move some code to ...
20889 (gdb_collect_locals_test_1): ... it. New proc.
20890 (gdb_unavailable_registers_test): Move some code to ...
20891 (gdb_unavailable_registers_test_1): ... it. New proc.
20892 (gdb_unavailable_floats): Move some code to ...
20893 (gdb_unavailable_floats_1): ... it. New proc.
20894
30a1e6cc
SDJ
208952014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
20896
20897 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
20898 probes to test for bitness recognition.
20899 * gdb.arch/amd64-stap-optional-prefix.exp
20900 (test_probe_value_without_reg): New procedure.
20901 Add code to test for different kinds of bitness.
20902
f33da99a
SDJ
209032014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
20904
20905 PR breakpoints/16889
20906 * gdb.arch/amd64-stap-optional-prefix.S: New file.
20907 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
20908
5b80f00d
PA
209092014-05-01 Pedro Alves <palves@redhat.com>
20910
20911 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
20912 gdb_file_cmd if no file is specified.
20913 * boards/native-extended-gdbserver.exp (gdb_load): Use the
20914 last_loaded_file to set the remote exec-file.
20915
f8c2a73c
PA
209162014-05-01 Pedro Alves <palves@redhat.com>
20917
20918 * boards/local-remote-host.exp: New file.
20919
be6e8ac7
PA
209202014-05-01 Pedro Alves <palves@redhat.com>
20921
20922 * boards/local-remote-host.exp: Rename to ...
20923 * boards/local-remote-host-notty.exp: ... this.
20924
cac0dc8f
JB
209252014-04-28 Joel Brobecker <brobecker@adacore.com>
20926
20927 * gdb.ada/dyn_arrayidx: New testcase.
20928
9730e6cc
YQ
209292014-04-26 Yao Qi <yao@codesourcery.com>
20930
20931 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
20932 and compute the length of function main. Save it in
20933 $main_length.
20934 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
20935 (top-level): Use gdb_compile to compile objects into
20936 executable and restart GDB. Remove invocation to
20937 prepare_for_testing.
20938
7ae1a6a6
PA
209392014-04-25 Simon Marchi <simon.marchi@ericsson.com>
20940 Pedro Alves <palves@redhat.com>
20941
20942 PR server/16255
20943 * gdb.multi/multi-attach.c: New file.
20944 * gdb.multi/multi-attach.exp: New file.
20945
4082afcc
PA
209462014-04-25 Pedro Alves <palves@redhat.com>
20947
20948 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
20949 user.
20950 (top level): Test that "set remote conditional-breakpoints-packet
20951 off" works as intended.
20952 * gdb.base/dprintf.exp: Test that "set remote
20953 breakpoint-commands-packet off" works as intended.
20954 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
20955 New function.
20956 (top level): Call it.
20957 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
20958 remote fast-tracepoints-packet off" works as intended.
20959 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
20960 * lib/gdb.exp (gdb_is_target_remote): ... here.
20961
2abc3f8d
DB
209622014-04-24 David Blaikie <dblaikie@gmail.com>
20963
20964 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
20965 ensure clang would not discard them.
20966 * gdb.base/gdbvars.c: Ditto.
20967 * gdb.base/memattr.c: Ditto.
20968 * gdb.base/whatis.c: Ditto.
20969 * gdb.python/py-prettyprint.c: Ditto.
20970 * gdb.trace/actions.c: Ditto.
20971 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
20972 ensure clang would not discard it.
20973
bfd39632
DB
209742014-04-24 David Blaikie <dblaikie@gmail.com>
20975
20976 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
20977 clang to emit the full definition of type required by the test
20978 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
20979
22842ff6
DB
209802014-04-24 David Blaikie <dblaikie@gmail.com>
20981
20982 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
20983 coax Clang into emitting the definition of the type.
20984 * gdb.cp/pr10728-x.h (y): Ditto.
20985 * gdb.cp/pr10728-y.cc (y): Ditto.
20986
c2e827ad
DB
209872014-04-24 David Blaikie <dblaikie@gmail.com>
20988
20989 * gdb.base/label.exp: XFAIL label related tests under Clang.
20990 * gdb.cp/cplabel.exp: Ditto.
20991 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
20992 under Clang those using labels.
20993
4c2d33e7
YQ
209942014-04-25 Yao Qi <yao@codesourcery.com>
20995
20996 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
20997 double_label.
20998 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
20999 partial_label and double_label.
21000
56083b99
DB
210012014-04-24 David Blaikie <dblaikie@gmail.com>
21002
21003 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
21004
25d4e99d
DB
210052014-04-24 David Blaikie <dblaikie@gmail.com>
21006
21007 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
21008 of the function to work across GCC and Clang.
21009 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
21010 pointer types (const void ** const V void **).
21011
01f9f808
MS
210122014-04-24 Michael Sturm <michael.sturm@mintel.com>
21013 Walfred Tedeschi <walfred.tedeschi@intel.com>
21014
21015 * Makefile.in (EXECUTABLES): Added i386-avx512.
21016 * gdb.arch/i386-avx512.c: New file.
21017 * gdb.arch/i386-avx512.exp: Likewise.
21018
4b48d439
KS
210192014-04-23 Keith Seitz <keiths@redhat.com>
21020
21021 * lib/mi-support.exp (mi_list_breakpoints): Delete.
21022 (mi_make_breakpoint_table): New procedure.
21023 (mi_create_breakpoint): Use mi_make_breakpoint
21024 and return the result.
21025 (mi_make_breakpoint): New procedure.
21026 (mi_build_kv_pairs): New procedure.
21027
21028 * gdb.mi/mi-break.exp: Remove unused globals,
21029 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
21030 All callers updated.
21031 * gdb.mi/mi-dprintf.exp: Use variable to track command
21032 number.
21033 Update all callers of mi_create_breakpoint and use
21034 mi_make_breakpoint_table.
21035 Remove any unused global variables.
21036 * gdb.mi/mi-nonstop.exp: Likewise.
21037 * gdb.mi/mi-nsintrall.exp: Likewise.
21038 * gdb.mi/mi-nsmoribund.exp: Likewise.
21039 * gdb.mi/mi-nsthrexec.exp: Likewise.
21040 * gdb.mi/mi-reverse.exp: Likewise.
21041 * gdb.mi/mi-simplerun.exp: Likewise.
21042 * gdb.mi/mi-stepn.exp: Likewise.
21043 * gdb.mi/mi-syn-frame.exp: Likewise.
21044 * gdb.mi/mi-until.exp: Likewise.
21045 * gdb.mi/mi-var-cp.exp: Likewise.
21046 * gdb.mi/mi-var-display.exp: Likewise.
21047 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
21048 * gdb.mi/mi2-var-child.exp: Likewise.
21049 * gdb.mi/mi-vla-c99.exp: Likewise.
21050 * lib/mi-support.exp: Likewise.
21051
21052 From Ian Lance Taylor <iant@cygnus.com>:
21053 * lib/gdb.exp (parse_args): New procedure.
21054
08351840
PA
210552014-04-23 Pedro Alves <palves@redhat.com>
21056
21057 * gdb.base/break-unload-file.c: New file.
21058 * gdb.base/break-unload-file.exp: New file.
21059 * gdb.base/sym-file-lib.c (baz): New function.
21060 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
21061 field.
21062 (load): Store the segment's mapped size.
21063 (unload): New function.
21064 (unload_shlib): New function.
21065 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
21066 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
21067 set a breakpoint at baz, and call it.
21068 * gdb.base/sym-file.exp: New tests for stale breakpoint
21069 instructions.
21070
076855f9
PA
210712014-04-23 Pedro Alves <palves@redhat.com>
21072
21073 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
21074 * gdb.base/hbreak-in-shr-unsupported.c: New file.
21075 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
21076 * gdb.base/hbreak-unmapped.c: New file.
21077 * gdb.base/hbreak-unmapped.exp: New file.
21078 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
21079 * lib/gdb.exp (gdb_is_target_remote): ... here.
21080
483805cf
PA
210812014-04-22 Pedro Alves <palves@redhat.com>
21082
21083 * gdb.base/consecutive-step-over.c: New file.
21084 * gdb.base/consecutive-step-over.exp: New file.
21085
06d97543
PA
210862014-04-22 Pedro Alves <palves@redhat.com>
21087
21088 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
21089 instead of send_gdb/gdb_expect.
21090
b4429ea2
YQ
210912014-04-22 Yao Qi <yao@codesourcery.com>
21092
21093 * lib/trace-support.exp (generate_tracefile): New procedure.
21094 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
21095 return 0.
21096 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
21097 if generate_tracefile returns 1.
21098
51d48146
PA
210992014-04-18 Tom Tromey <palves@redhat.com>
21100 Pedro alves <tromey@redhat.com>
21101
21102 PR backtrace/15558
21103 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
21104 with a backtrace limit.
21105 * gdb.python/py-frame-inline.exp: Test running to an inline
21106 function with a backtrace limit, and printing the newest frame.
21107 * gdb.python/py-frame-inline.c (main): Call f.
21108
bd1dce5f
MS
211092014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
21110
21111 * gdb.java/jnpe.exp: Drop srcdir from untested path.
21112
40d1a503
MS
211132014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
21114
21115 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
21116 Drop prefix from unsupported source file path.
21117
389b98f7
YQ
211182014-04-17 Yao Qi <yao@codesourcery.com>
21119
21120 * lib/gdb.exp (with_target_charset): New proc.
21121 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
21122 with_target_charset.
21123 (test_print_strings): Likewise.
21124 (test_repeat_bytes): Likewise.
21125 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
21126 for some tests.
21127
22869d73
KS
211282014-04-16 Keith Seitz <keiths@redhat.com>
21129
21130 PR gdb/15827
21131 * gdb.dwarf2/corrupt.c: New file.
21132 * gdb.dwarf2/corrupt.exp: New file.
21133
c4f87ca6
KS
211342014-04-16 Keith Seitz <keiths@redhat.com>
21135
21136 PR c++/16597
21137 * gdb.cp/namelessclass.cc: New file.
21138 * gdb.cp/namelessclass.exp: New file.
21139 * gdb.cp/namelessclass.S: New file.
21140
ab19de87
DE
211412014-04-16 Doug Evans <dje@google.com>
21142
21143 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
21144 Add comment.
21145 (gdbserver_default_get_comm_port): New function.
21146 (gdbserver_start): Check if board file provided
21147 "gdbserver,get_comm_port" and use it if so.
21148 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
21149 (gdb,socketport): Set to "stdio".
21150 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
21151 (stdio_gdbserver_template): Delete.
21152 (${board}_get_remote_address): Update.
21153 (${board}_build_remote_cmd): Delete.
21154 (${board}_get_comm_port): New function.
21155 (${board}_spawn): Update.
21156 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
21157 Delete.
21158 (${board}_get_remote_address): Update.
21159 (${board}_get_comm_port): New function.
21160
fc98a809
AB
211612014-04-16 Andrew Burgess <aburgess@broadcom.com>
21162
21163 * gdb.base/memattr.exp: Improve regexps to handle memory regions
21164 appearing in any order.
21165
87fd9e6e
DE
211662014-04-15 Doug Evans <dje@google.com>
21167
21168 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
21169 uninitialized value of "description".
21170
099fc3ea
KS
211712014-04-15 Keith Seitz <keiths@redhat.com>
21172
21173 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
21174 Remove unused globals.
21175 (test_running_the_program): Likewise.
21176 (test_controlled_execution): Likewise.
21177 (test_controlling_breakpoints): Likewise.
21178 (test_program_termination): Likewise.
21179
5da151d4
KS
211802014-04-15 Keith Seitz <keiths@redhat.com>
21181
21182 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
21183 unused globals.
21184 (test_rbreak_creation_and_listing): Likewise.
21185 (test_ignore_count): Likewise.
21186 (test_error): Likewise.
21187
35e5d2f0
PA
211882014-04-15 Pedro Alves <palves@redhat.com>
21189
21190 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
21191 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
21192 sym-file-loader.c.
21193 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
21194 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
21195 to sym-file-loader.c.
21196 (struct library): Forward declare.
21197 (load_shlib, lookup_function): Change prototypes.
21198 (find_shstrtab, find_strtab, find_shdr, find_symtab)
21199 (translate_offset): Remove declarations.
21200 (get_text_addr): New declaration.
21201 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
21202 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
21203 sym-file-loader.h.
21204 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
21205 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
21206 here from sym-file-loader.h.
21207 (struct library): New structure.
21208 (load_shlib, lookup_function): Change prototypes and adjust to
21209 work with a struct library.
21210 (find_shstrtab, find_strtab, find_shdr, find_symtab)
21211 (translate_offset): Make static.
21212 (get_text_addr): New function.
21213 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
21214
eb4c1710
PA
212152014-04-15 Pedro Alves <palves@redhat.com>
21216
21217 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
21218
2d1baf52
PA
212192014-04-15 Pedro Alves <palves@redhat.com>
21220
21221 * gdb.base/sym-file-loader.c: Include <limits.h>.
21222 (SELF_LINK): New define.
21223 (get_origin): New function.
21224 (load_shlib): Use it.
21225 * gdb.base/sym-file.exp: Don't early return if the target is
21226 remote. Use runto_main, and issue fail is that fails. Use
21227 gdb_load_shlibs.
21228 (shlib_name): Delete.
21229 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
21230
7dd6df01
PA
212312014-04-15 Pedro Alves <palves@redhat.com>
21232
21233 * gdb.base/sym-file.exp: Remove regex characters from test
21234 message. Don't refer to breakpoint numbers in test messages.
21235
b50c8614
KS
212362014-04-14 Keith Seitz <keiths@redhat.com>
21237
21238 PR c++/16253
21239 * gdb.cp/var-tag.cc: New file.
21240 * gdb.cp/var-tag.exp: New file.
21241 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
21242 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
21243 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
21244 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
21245
3d567982
TT
212462014-04-14 Tom Tromey <tromey@redhat.com>
21247
21248 * gdb.cp/classes.exp (test_enums): Handle underlying type.
21249 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
21250 type.
21251 * gdb.cp/enum-class.exp: New file.
21252 * gdb.cp/enum-class.cc: New file.
21253
0626fc76
TT
212542014-04-14 Tom Tromey <tromey@redhat.com>
21255
21256 * gdb.dwarf2/enum-type.exp: New file.
21257
dca325b3
SA
212582014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21259
21260 * gdb.mi/mi-vla-c99.exp: New file.
21261 * gdb.mi/vla.c: New file.
21262
5854b38a
SA
212632014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21264
21265 * gdb.base/vla-datatypes.c: New file.
21266 * gdb.base/vla-datatypes.exp: New file.
21267
463bb957
SA
212682014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21269
21270 * gdb.base/vla-ptr.c: New file.
21271 * gdb.base/vla-ptr.exp: New file.
21272
3dd170be
SA
212732014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21274
21275 * gdb.dwarf2/count.exp: New file.
21276
5ecaaa66
SA
212772014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21278
21279 * gdb.base/vla-sideeffect.c: New file.
21280 * gdb.base/vla-sideeffect.exp: New file.
21281
41f1ada5
DB
212822014-04-14 David Blaikie <dblaikie@gmail.com>
21283
21284 * gdb.mi/non-stop.c: Add return value for non-void function return
21285 statement.
21286 * gdb.threads/staticthreads.c: Ditto.
21287
0be03e84
DE
212882014-04-12 Siva Chandra Reddy <sivachandra@google.com>
21289 Doug Evans <xdje42@gmail.com>
21290
21291 * gdb.guile/scm-value.c: Improve test case.
21292 * gdb.guile/scm-value.exp: Add new test.
21293
f180a1fb
DB
212942014-04-11 David Blaikie <dblaikie@gmail.com>
21295
21296 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
21297 override Clang's default.
21298
6b662e19
JB
212992014-04-11 Joel Brobecker <brobecker@adacore.com>
21300
21301 Revert the following changes (regressions):
21302
21303 * gdb.base/vla-sideeffect.c: New file.
21304 * gdb.base/vla-sideeffect.exp: New file.
21305
21306 * gdb.dwarf2/count.exp: New file.
21307
21308 * gdb.base/vla-multi.c: New file.
21309 * gdb.base/vla-multi.exp: New file.
21310
21311 * gdb.base/vla-ptr.c: New file.
21312 * gdb.base/vla-ptr.exp: New file.
21313
21314 * gdb.base/vla-datatypes.c: New file.
21315 * gdb.base/vla-datatypes.exp: New file.
21316
21317 * gdb.mi/mi-vla-c99.exp: New file.
21318 * gdb.mi/vla.c: New file.
21319
245a5f0b
KS
213202014-04-11 Keith Seitz <keiths@redhat.com>
21321
21322 PR c++/16675
21323 * gdb.cp/cpsizeof.exp: New file.
21324 * gdb.cp/cpsizeof.cc: New file.
21325
58a84dcf
SA
213262014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21327
191a8a90
JB
21328 * gdb.mi/mi-vla-c99.exp: New file.
21329 * gdb.mi/vla.c: New file.
58a84dcf 21330
c8655f75
SA
213312014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21332
21333 * gdb.base/vla-datatypes.c: New file.
21334 * gdb.base/vla-datatypes.exp: New file.
21335
024e13b4
SA
213362014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21337
21338 * gdb.base/vla-ptr.c: New file.
21339 * gdb.base/vla-ptr.exp: New file.
21340
1a237e0e
SA
213412014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21342
21343 * gdb.base/vla-multi.c: New file.
21344 * gdb.base/vla-multi.exp: New file.
21345
504f3432
SA
213462014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21347
21348 * gdb.dwarf2/count.exp: New file.
21349
3bce8237
SA
213502014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21351
191a8a90
JB
21352 * gdb.base/vla-sideeffect.c: New file.
21353 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 21354
322f9c21
YQ
213552014-04-11 Yao Qi <yao@codesourcery.com>
21356
21357 * gdb.base/completion.exp: Check file exists before running tests
21358 on file completion.
21359
d708bcd1
PA
213602014-04-10 Pedro Alves <palves@redhat.com>
21361
21362 * gdb.base/cond-eval-mode.c: New file.
21363 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
21364 prepare_for_testing to build the new file. Check result of
21365 runto_main.
21366 (test_break, test_watch): New procedures.
21367 (top level): Use them.
21368
ae1d2761
PM
213692014-04-08 Pierre Muller <muller@sourceware.org>
21370
21371 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
21372 Ctrl-V use for mingw hosts.
21373
7af389b8
SC
213742014-04-07 Siva Chandra Reddy <sivachandra@google.com>
21375
21376 * gdb.python/py-value.c: Improve test case.
21377 * gdb.python/py-value.exp: Add new test.
21378
5e703181
DE
213792014-04-07 David Blaikie <dblaikie@gmail.com>
21380
21381 * lib/compiler.c: Identify the clang compiler.
21382 * lib/compiler.cc: Ditto.
21383
9810b410
YQ
213842014-04-03 Yao Qi <yao@codesourcery.com>
21385
21386 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
21387
98d1b8dc
AB
213882014-04-01 Anton Blanchard <anton@samba.org>
21389
21390 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
21391 messages unique.
21392
3114cea1
AB
213932014-04-01 Anton Blanchard <anton@samba.org>
21394
21395 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
21396 prepare_for_testing.
21397
62f7182c
AB
213982014-04-01 Anton Blanchard <anton@samba.org>
21399
21400 * gdb.arch/ppc64-atomic-inst.c: Remove.
21401 * gdb.arch/ppc64-atomic-inst.S: New file.
21402 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
21403
770e7fc7
DE
214042014-03-31 Doug Evans <dje@google.com>
21405
21406 * gdb.base/print-symbol-loading-lib.c: New file.
21407 * gdb.base/print-symbol-loading-main.c: New file.
21408 * gdb.base/print-symbol-loading.exp: New file.
21409
46e2bafa
YQ
214102014-03-31 Yao Qi <yao@codesourcery.com>
21411
21412 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
21413
8776cfe9
JB
214142014-03-28 Joel Brobecker <brobecker@adacore.com>
21415
21416 * gdb.ada/mi_dyn_arr: New testcase.
21417
5d1ef361
DE
214182014-03-27 Doug Evans <dje@google.com>
21419
21420 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
21421
b5bee914
YQ
214222014-03-27 Yao Qi <yao@codesourcery.com>
21423
21424 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
21425 if target is nios2-*-*.
21426
0d4d0e77
YQ
214272014-03-26 Yao Qi <yao@codesourcery.com>
21428
21429 * lib/gdb.exp (readline_is_used): New proc.
21430 * gdb.base/completion.exp: Move tests on command complete up.
21431 Skip the rest of tests if readline is not used.
21432 * gdb.ada/complete.exp: Skp the test if readline is not
21433 used.
21434 * gdb.base/filesym.exp: Likewise.
21435 * gdb.base/macscp.exp: Likewise.
21436 * gdb.base/readline-ask.exp: Likewise.
21437 * gdb.base/readline.exp: Likewise.
21438 * gdb.python/py-cmd.exp: Likewise.
21439 * gdb.trace/tfile.exp: Likewise.
21440
29361eee
YQ
214412014-03-26 Yao Qi <yao@codesourcery.com>
21442
21443 * gdb.base/macscp.exp: Fix code format issues.
21444
bc9a5525
UW
214452014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
21446
21447 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
21448 * gdb.asm/powerpc64le.inc: New file.
21449
d3839ede
PA
214502014-03-25 Pedro Alves <palves@redhat.com>
21451 Doug Evans <dje@google.com>
21452
21453 * gdb.base/source-execution.c: New file.
21454 * gdb.base/source-execution.exp: New file.
21455 * gdb.base/source-execution.gdb: New file.
21456
01672a57
DE
214572014-03-24 Doug Evans <dje@google.com>
21458
21459 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
21460 using fission.
21461
88bbeca9
HZ
214622014-03-24 Hui Zhu <hui@codesourcery.com>
21463 Pedro Alves <palves@redhat.com>
21464
21465 PR breakpoints/16101
21466 * gdb.base/dprintf.exp: Use unsupported rather than changing the
21467 test pass/fail messages. Detect missing support for dprintf when
21468 breakpoints are actually inserted.
21469 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
21470 breakpoints are actually inserted.
21471 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
21472 fails.
21473
d2348791
JK
214742014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
21475
21476 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
21477
feef67ab
DE
214782014-03-22 Doug Evans <xdje42@gmail.com>
21479
21480 * gdb.python/python.exp (python not supported): Verify multi-line
21481 python command issues an error.
25d743f9 21482 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 21483 guile command issues an error.
feef67ab 21484
ecebef6a
MR
214852014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
21486
21487 * gdb.threads/thread-specific.exp: Handle the lack of usable
21488 $this_breakpoint and $this_thread.
21489
ccdd1909
HZ
214902014-03-21 Hui Zhu <hui@codesourcery.com>
21491
21492 * gdb.base/attach.exp (do_command_attach_tests): New.
21493
beb460e8
PA
214942014-03-20 Tom Tromey <tromey@redhat.com>
21495 Pedro Alves <palves@redhat.com>
21496
21497 PR cli/15718
21498 * gdb.base/condbreak-call-false.c: New file.
21499 * gdb.base/condbreak-call-false.exp: New file.
21500
40acf43a
PA
215012014-03-20 Pedro Alves <palves@redhat.com>
21502
21503 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
21504 Delete.
21505 (block_signals, unblock_signals): Delete.
21506 (child_function_2, main): Remove references to deleted variable
21507 and functions.
21508
9f5e1e02
PA
215092014-03-20 Pedro Alves <palves@redhat.com>
21510
21511 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
21512 Use pthread_kill to signal thread 2.
21513 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21514 Adjust to make the test send itself a signal rather than using the
21515 host's "kill" command.
21516
99619bea
PA
215172014-03-20 Pedro Alves <palves@redhat.com>
21518
21519 * gdb.threads/multiple-step-overs.c: New file.
21520 * gdb.threads/multiple-step-overs.exp: New file.
21521 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21522 Adjust expected infrun debug output.
21523
2adfaa28
PA
215242014-03-20 Pedro Alves <palves@redhat.com>
21525
21526 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
21527 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
21528
31e77af2
PA
215292014-03-20 Pedro Alves <palves@redhat.com>
21530
21531 PR breakpoints/7143
21532 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
21533 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
21534 of gdb_test_multiple.
21535 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
21536 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
21537
b9f437de
PA
215382014-03-20 Pedro Alves <palves@redhat.com>
21539
21540 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
21541 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
21542
05adc73e
PA
215432014-03-19 Pedro Alves <palves@redhat.com>
21544
21545 * gdb.base/async.exp: Remove early return.
21546
6048b950
PA
215472014-03-19 Pedro Alves <palves@redhat.com>
21548
21549 * gdb.base/async.exp (step& tests): Pass explicit test messages.
21550
8bcfb00a
PA
215512014-03-19 Pedro Alves <palves@redhat.com>
21552
21553 * gdb.base/async.exp (test_background): Expect \r\n after
21554 "completed." in the fail pattern.
21555
884e37dc
PA
215562014-03-19 Pedro Alves <palves@redhat.com>
21557
21558 * gdb.base/async.exp (test_background): New procedure.
21559 Use it for all background execution command tests.
21560
148e57e2
PA
215612014-03-19 Pedro Alves <palves@redhat.com>
21562
21563 * gdb.base/async.exp: Use prepare_for_testing.
21564
f48088c7
PA
215652014-03-19 Pedro Alves <palves@redhat.com>
21566
21567 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
21568 the same line.
21569
e2f6c966
PA
215702014-03-19 Pedro Alves <palves@redhat.com>
21571
21572 * gdb.base/async.c (main): Add "jump here" and "until here" line
21573 marker comments.
21574 * gdb.base/async.exp (jump_here): New global.
21575 (jump& test): Use it.
21576 (until_here): New global.
21577 (until& test): Use it.
21578
c30568d4
PA
215792014-03-19 Pedro Alves <palves@redhat.com>
21580
21581 * gdb.base/async.exp: Don't frob gdb_protocol.
21582
0172b6a7
DE
215832014-03-18 Doug Evans <xdje42@gmail.com>
21584
21585 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
21586 Fix spelling of exec-done-display.
21587
06c868a8
JK
215882014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
21589
21590 PR gdb/15358
21591 * gdb.base/gdb-sigterm.c: New file.
21592 * gdb.base/gdb-sigterm.exp: New file.
21593
0c7e1a46
PA
215942014-03-18 Pedro Alves <palves@redhat.com>
21595
21596 PR gdb/13860
21597 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
21598 * lib/mi-support.exp (mi_expect_stop): Add special handling for
21599 solib-event.
21600
f7c77d93
JB
216012014-03-17 Joel Brobecker <brobecker@adacore.com>
21602
21603 * gdb.ada/pckd_arr_ren: New testcase.
21604
5a1e8c7a
DE
216052014-03-13 Doug Evans <xdje42@gmail.com>
21606
21607 PR guile/16612
21608 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
21609 collect after discarding symbols.
21610
350e1a76
DE
216112014-03-13 Ludovic Courtès <ludo@gnu.org>
21612 Doug Evans <xdje42@gmail.com>
21613
21614 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
21615 to history survives a gc.
21616
a69900ae
PA
216172014-03-13 Pedro Alves <palves@redhat.com>
21618
21619 * gdb.base/default.exp: Don't test "target procfs".
21620
5db9f0bd
PA
216212014-03-13 Pedro Alves <palves@redhat.com>
21622
21623 * gdb.base/default.exp: Update "target child" and "target procfs"
21624 tests to not expect "Unix".
21625
b3ccfe11
TT
216262014-03-12 Tom Tromey <tromey@redhat.com>
21627
21628 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
21629 New procs. Add target-async tests.
21630 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
21631 Add target-async tests.
21632
646f4417
AA
216332014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21634
21635 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
21636 'func_start' and 'func_end' for the beginning and end of the
21637 function code, respectively.
21638 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
21639 'func_end' instead of 'func' and 'main'.
21640
288c211f
AA
216412014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21642
21643 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
21644 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
21645 generate the debug info assembler source.
21646
e0c0f156
AA
216472014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21648
21649 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
21650 * gdb.dwarf2/arr-subrange.exp: Likewise.
21651 * gdb.dwarf2/dwz.exp: Likewise.
21652 * gdb.dwarf2/method-ptr.exp: Likewise.
21653 * gdb.dwarf2/missing-sig-type.exp: Likewise.
21654 * gdb.dwarf2/subrange.exp: Likewise.
21655 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
21656 * gdb.dwarf2/implptrpiece.exp: Likewise.
21657 * gdb.dwarf2/nostaticblock.exp: Likewise.
21658
0e5c4555
AA
216592014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21660
21661 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
21662 directory to absolute path name arguments.
21663
5ec18f2b
JG
216642014-03-10 Joel Brobecker <brobecker@adacore.com>
21665
21666 * gdb.ada/tagged_access: New testcase.
21667
847fc4f2
MM
216682014-03-07 Markus Metzger <markus.t.metzger@intel.com>
21669
21670 * gdb.btrace/data.exp: Update expected output.
21671
cc3da688
YQ
216722014-03-06 Yao Qi <yao@codesourcery.com>
21673
21674 * gdb.trace/pr16508.exp: New file.
21675
0f26cec1
PA
216762014-03-05 Pedro Alves <palves@redhat.com>
21677
21678 PR gdb/16575
21679 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
21680 procedure.
21681 (top level): Adjust to use it. Add tests that exercise breakpoint
21682 interaction with the code-cache.
21683
7a5a839f
LC
216842014-02-26 Ludovic Courtès <ludo@gnu.org>
21685
21686 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
21687 test for 'history-append!'.
21688
31aa7e4e
JB
216892014-02-26 Joel Brobecker <brobecker@adacore.com>
21690
21691 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
21692 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
21693 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
21694 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
21695 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
21696 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
21697
1b588015
JB
216982014-02-26 Joel Brobecker <brobecker@adacore.com>
21699
21700 * testsuite/gdb.python/py-pp-re-notag.c: New file.
21701 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
21702 * testsuite/gdb.python/py-pp-re-notag.p: New file.
21703
55426c9d
JB
217042014-02-26 Joel Brobecker <brobecker@adacore.com>
21705
21706 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
21707
dc53a7ad
JB
217082014-02-26 Joel Brobecker <brobecker@adacore.com>
21709
21710 * gdb.dwarf2/arr-stride.c: New file.
21711 * gdb.dwarf2/arr-stride.exp: New file.
21712
12ab52e9
PA
217132014-02-26 Pedro Alves <palves@redhat.com>
21714
21715 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
21716 that won't ever trigger. Make sure that GDB reports the correct
21717 breakpoint that caused the stop.
21718
849c862e
JK
217192014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
21720
21721 PR gdb/16626
21722 * gdb.base/auto-load-script: New file.
21723 * gdb.base/auto-load.c: New file.
21724 * gdb.base/auto-load.exp: New file.
21725
71b7d793
JK
21726 PR gdb/16626
21727 * gdb.base/auto-load.exp: Fix out-of-srctree run.
21728
e2f0d509
JK
217292014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
21730
21731 Fix dw2-icycle.exp -fsanitize=address GDB crash.
21732 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
21733
50cc37c8
DE
217342014-02-24 Doug Evans <dje@google.com>
21735
21736 * lib/gdb.exp (run_on_host): Log error output if program fails.
21737
ea4758f2
PA
217382014-02-21 Pedro Alves <palves@redhat.com>
21739
21740 * gdb.threads/step-after-sr-lock.c: Rename to ...
21741 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
21742 * gdb.threads/step-after-sr-lock.exp: Rename to ...
21743 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21744 ... this.
21745
d7b30f67
SDJ
217462014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
21747
21748 PR tdep/16397
21749 * gdb.arch/amd64-stap-special-operands.exp: New file.
21750 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
21751 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
21752 * gdb.arch/amd64-stap-triplet.S: Likewise.
21753 * gdb.arch/amd64-stap-triplet.c: Likewise.
21754
83deb43f
JB
217552014-02-20 Joel Brobecker <brobecker@adacore.com>
21756
21757 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
21758 in .section pseudo-op.
21759
adde2bff
DE
217602014-02-20 lin zuojian <manjian2006@gmail.com>
21761 Joel Brobecker <brobecker@adacore.com>
21762 Doug Evans <xdje42@gmail.com>
21763
21764 PR symtab/16581
21765 * gdb.dwarf2/dw2-icycle.S: New file.
21766 * gdb.dwarf2/dw2-icycle.c: New file.
21767 * gdb.dwarf2/dw2-icycle.exp: New file.
21768
f7bd0f78
SC
217692014-02-19 Siva Chandra Reddy <sivachandra@google.com>
21770
21771 * gdb.python/py-value-cc.cc: Improve test case to enable testing
21772 operations on gdb.Value objects.
21773 * gdb.python/py-value-cc.exp: Add new test to test operations on
21774 gdb.Value objects.
21775
c17ef0d5
DE
217762014-02-18 Doug Evans <dje@google.com>
21777
21778 * Makefile.in (TESTS): New variable.
21779 (expanded_tests, expanded_tests_or_none): New variables
21780 (check-single): Pass $(expanded_tests_or_none) to runtest.
21781 (check-parallel): Only run tests in $(TESTS) if non-empty.
21782 (check/no-matching-tests-found): New rule.
21783 * README: Document TESTS makefile variable.
21784
5dd3176f
DE
217852014-02-18 Doug Evans <dje@google.com>
21786
21787 * Makefile.in (check-parallel): rm -rf outputs temp.
21788
0b10be4f
JK
217892014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21790
21791 Fix "ERROR: no fileid for" in the testsuite.
21792 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
21793
85f224e7
DE
217942014-02-12 Doug Evans <dje@google.com>
21795
21796 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
21797 (MISCELLANEOUS): New variable.
21798 (clean): rm -rf $(MISCELLANEOUS).
21799 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
21800 dwp live in the same directory as symlinks, with each symlink pointed
21801 to a differently named file in a different directory.
21802
149b30ff
DE
218032014-02-11 Doug Evans <dje@google.com>
21804
21805 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
21806 of Tcl file commands.
21807
1dfdac32
MK
218082014-02-10 Mark Kettenis <kettenis@gnu.org>
21809
21810 * gdb.threads/step-after-sr-lock.exp: Avoid executing
21811 "kill -SIGUSR1 -1".
21812
aa4fb036
JB
218132014-02-10 Joel Brobecker <brobecker@adacore.com>
21814
21815 * gdb.ada/tick_length_array_enum_idx: New testcase.
21816
ed3ef339
DE
218172014-02-10 Doug Evans <xdje42@gmail.com>
21818
21819 * configure.ac (AC_OUTPUT): Add gdb.guile.
21820 * configure: Regenerate.
21821 * lib/gdb-guile.exp: New file.
21822 * lib/gdb.exp (get_target_charset): New function.
21823 * gdb.base/help.exp: Update expected output from "apropos apropos".
21824 * gdb.guile/Makefile.in: New file.
21825 * gdb.guile/guile.exp: New file.
21826 * gdb.guile/scm-arch.c: New file.
21827 * gdb.guile/scm-arch.exp: New file.
21828 * gdb.guile/scm-block.c: New file.
21829 * gdb.guile/scm-block.exp: New file.
21830 * gdb.guile/scm-breakpoint.c: New file.
21831 * gdb.guile/scm-breakpoint.exp: New file.
21832 * gdb.guile/scm-disasm.c: New file.
21833 * gdb.guile/scm-disasm.exp: New file.
21834 * gdb.guile/scm-equal.c: New file.
21835 * gdb.guile/scm-equal.exp: New file.
21836 * gdb.guile/scm-error.exp: New file.
21837 * gdb.guile/scm-error.scm: New file.
21838 * gdb.guile/scm-frame-args.c: New file.
21839 * gdb.guile/scm-frame-args.exp: New file.
21840 * gdb.guile/scm-frame-args.scm: New file.
21841 * gdb.guile/scm-frame-inline.c: New file.
21842 * gdb.guile/scm-frame-inline.exp: New file.
21843 * gdb.guile/scm-frame.c: New file.
21844 * gdb.guile/scm-frame.exp: New file.
21845 * gdb.guile/scm-generics.exp: New file.
21846 * gdb.guile/scm-gsmob.exp: New file.
21847 * gdb.guile/scm-iterator.c: New file.
21848 * gdb.guile/scm-iterator.exp: New file.
21849 * gdb.guile/scm-math.c: New file.
21850 * gdb.guile/scm-math.exp: New file.
21851 * gdb.guile/scm-objfile-script-gdb.in: New file.
21852 * gdb.guile/scm-objfile-script.c: New file.
21853 * gdb.guile/scm-objfile-script.exp: New file.
21854 * gdb.guile/scm-objfile.c: New file.
21855 * gdb.guile/scm-objfile.exp: New file.
21856 * gdb.guile/scm-ports.exp: New file.
21857 * gdb.guile/scm-pretty-print.c: New file.
21858 * gdb.guile/scm-pretty-print.exp: New file.
21859 * gdb.guile/scm-pretty-print.scm: New file.
21860 * gdb.guile/scm-section-script.c: New file.
21861 * gdb.guile/scm-section-script.exp: New file.
21862 * gdb.guile/scm-section-script.scm: New file.
21863 * gdb.guile/scm-symbol.c: New file.
21864 * gdb.guile/scm-symbol.exp: New file.
21865 * gdb.guile/scm-symtab-2.c: New file.
21866 * gdb.guile/scm-symtab.c: New file.
21867 * gdb.guile/scm-symtab.exp: New file.
21868 * gdb.guile/scm-type.c: New file.
21869 * gdb.guile/scm-type.exp: New file.
21870 * gdb.guile/scm-value-cc.cc: New file.
21871 * gdb.guile/scm-value-cc.exp: New file.
21872 * gdb.guile/scm-value.c: New file.
21873 * gdb.guile/scm-value.exp: New file.
21874 * gdb.guile/source2.scm: New file.
21875 * gdb.guile/types-module.cc: New file.
21876 * gdb.guile/types-module.exp: New file.
21877
7026a7c1
YQ
218782014-02-10 Yao Qi <yao@codesourcery.com>
21879
21880 PR testsuite/16543
21881 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
21882 * configure: Regenerated.
21883 * Makefile.in: New file.
21884
6c466447
AS
218852014-02-08 Andreas Schwab <schwab@linux-m68k.org>
21886
21887 * gdb.python/py-framefilter.exp: Fix typo.
21888
6e854735
YQ
218892014-02-08 Yao Qi <yao@codesourcery.com>
21890
21891 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
21892 that no =breakpoint-modified is emitted when breakpoints are
21893 modified through MI commands.
21894
d137e6dc
PA
218952014-02-07 Pedro Alves <pedro@codesourcery.com>
21896 Pedro Alves <palves@redhat.com>
21897
21898 * gdb.threads/step-after-sr-lock.c: New file.
21899 * gdb.threads/step-after-sr-lock.exp: New file.
21900
b5ee5a50
PA
219012014-02-07 Pedro Alves <palves@redhat.com>
21902
21903 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
21904
3c77faf3
JK
219052014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
21906
21907 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
21908 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
21909
6dddc817
DE
219102014-02-06 Doug Evans <xdje42@gmail.com>
21911
21912 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
21913 output.
21914
21915 * gdb.gdb/python-interrupts.exp: New file.
21916
de7b2893
YQ
219172014-02-05 Yao Qi <yao@codesourcery.com>
21918
21919 * gdb.trace/report.exp (use_collected_data): Test the output
21920 of "info threads" and "info inferiors".
21921
66d032ac
YQ
219222014-02-05 Yao Qi <yao@codesourcery.com>
21923
21924 Revert this patch:
21925
21926 2013-05-24 Yao Qi <yao@codesourcery.com>
21927
21928 * gdb.trace/tfile.exp: Test inferior and thread.
21929
591a12a1
UW
219302014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21931
21932 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
21933 on a function.
21934 * gdb.base/step-bt.c: Call hello via function pointer to make
21935 sure its first instruction is executed on powerpc64le-linux.
21936
0ff3e01f
UW
219372014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21938
21939 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
21940
084ee545
UW
219412014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21942
21943 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
21944 of the test patterns for use on little-endian systems.
21945
6ed14ff3
UW
219462014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21947
21948 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
21949 (decimal_vector): Fix for little-endian.
21950
401e27fd
JM
219512014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
21952
21953 * gdb.arch/sparc-sysstep.exp: New file.
21954 * gdb.arch/sparc-sysstep.c: Likewise.
21955
21956 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
21957
8b924729
EBM
219582014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21959
21960 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
21961
fb151210
JB
219622014-01-23 Tom Tromey <tromey@redhat.com>
21963
21964 * gdb.ada/array_char_idx: New testcase.
21965
0740f8d8
TT
219662014-01-23 Tom Tromey <tromey@redhat.com>
21967
21968 PR python/16487:
21969 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
21970 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
21971 classes.
21972
21909fa1
TT
219732014-01-23 Tom Tromey <tromey@redhat.com>
21974
21975 PR python/16491:
21976 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
21977 string from an inferior frame.
21978 * gdb.python/py-framefilter-mi.exp: Update.
21979
87ce2a04
DE
219802014-01-22 Doug Evans <dje@google.com>
21981
21982 * gdb.server/server-mon.exp: Add tests for "set debug-format".
21983
237b092b
AA
219842014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21985
21986 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
21987
d674a709
AA
219882014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21989
21990 * gdb.trace/entry-values.exp: Remove excess space character from
21991 regex patterns. Handle s390 call instruction.
21992
20fa3390
AA
219932014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21994
21995 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
21996 define "*_start" label. Make "name" static.
21997 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
21998 ${name} by references to ${name}_start.
21999
78466714
AA
220002014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22001
22002 * gdb.base/info-macros.exp: Remove "debug" from the compile
22003 options.
22004
ec9f644a
IB
220052014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22006
22007 * gdb.dlang/demangle.exp: New file.
22008
94b1b47e
IB
220092014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22010
22011 * gdb.dlang/primitive-types.exp: New file.
22012
7f420862
IB
220132014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22014
22015 * configure.ac: Create gdb.dlang/Makefile.
22016 * configure: Regenerate.
22017 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
22018 * gdb.dlang/Makefile.in: New file.
22019 * lib/d-support.exp: New file.
22020 * lib/gdb.exp (skip_d_tests): New proc.
22021
52834460
MM
220222014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22023
22024 * gdb.btrace/delta.exp: Check reverse stepi.
22025 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
22026 * gdb.btrace/finish.exp: New.
22027 * gdb.btrace/next.exp: New.
22028 * gdb.btrace/nexti.exp: New.
22029 * gdb.btrace/record_goto.c: Add comments.
22030 * gdb.btrace/step.exp: New.
22031 * gdb.btrace/stepi.exp: New.
22032 * gdb.btrace/multi-thread-step.c: New.
22033 * gdb.btrace/multi-thread-step.exp: New.
22034 * gdb.btrace/rn-dl-bind.c: New.
22035 * gdb.btrace/rn-dl-bind.exp: New.
22036 * gdb.btrace/data.c: New.
22037 * gdb.btrace/data.exp: New.
22038 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
22039
6e07b1d2
MM
220402014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22041
22042 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
22043 * gdb.btrace/exception.exp: Update.
22044 * gdb.btrace/instruction_history.exp: Update.
22045 * gdb.btrace/record_goto.exp: Update.
22046 * gdb.btrace/tailcall.exp: Update.
22047 * gdb.btrace/unknown_functions.exp: Update.
22048 * gdb.btrace/delta.exp: New.
22049
0b722aec
MM
220502014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22051
22052 * gdb.btrace/record_goto.exp: Add backtrace test.
22053 * gdb.btrace/tailcall.exp: Add backtrace test.
22054
066ce621
MM
220552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22056
22057 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
22058 * gdb.btrace/record_goto.c: New.
22059 * gdb.btrace/record_goto.exp: New.
22060 * gdb.btrace/x86-record_goto.S: New.
22061
0688d04e
MM
220622014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22063
22064 * gdb.btrace/function_call_history.exp: Update tests.
22065 * gdb.btrace/instruction_history.exp: Update tests.
22066
8710b709
MM
220672014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22068
22069 * gdb.btrace/function_call_history.exp: Fix expected field
22070 order for "record function-call-history".
22071 Add new tests for "record function-call-history /c".
22072 * gdb.btrace/exception.cc: New.
22073 * gdb.btrace/exception.exp: New.
22074 * gdb.btrace/tailcall.exp: New.
22075 * gdb.btrace/x86-tailcall.S: New.
22076 * gdb.btrace/x86-tailcall.c: New.
22077 * gdb.btrace/unknown_functions.c: New.
22078 * gdb.btrace/unknown_functions.exp: New.
22079 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
22080
5de9129b
MM
220812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22082
22083 * gdb.btrace/instruction_history.exp: Update.
22084 * gdb.btrace/function_call_history.exp: Update.
22085
23a7fe75
MM
220862014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22087
22088 * gdb.btrace/function_call_history.exp: Fix expected function
22089 trace.
22090 * gdb.btrace/instruction_history.exp: Initialize traced.
22091 Remove traced_functions.
22092
724c7dd8
MM
220932014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22094
22095 * gdb.btrace/function_call_history.exp: Update
22096 * gdb.btrace/instruction_history.exp: Update.
22097
6d78d93b
MM
220982014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22099
22100 * gdb.btrace/enable.exp: Update expected text.
22101
93a360cc
OJ
221022014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
22103
22104 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
22105 bytes.
22106
3772b53f
MR
221072014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
22108
22109 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
22110
596662fa
OJ
221112014-01-15 Omair Javaid <omair.javaid@linaro.org>
22112
22113 * lib/gdb.exp (supports_process_record): Return true for
22114 arm*-linux*. (supports_reverse): Likewise.
22115
b5b08fb4
SC
221162014-01-13 Siva Chandra Reddy <sivachandra@google.com>
22117
22118 PR python/15464
22119 PR python/16113
22120 * gdb.python/py-type.c: Enhance test case.
22121 * gdb.python/py-value-cc.cc: Likewise
22122 * gdb.python/py-type.exp: Add new tests.
22123 * gdb.python/py-value-cc.exp: Likewise
22124
52d7fb13
AA
221252014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
22126 Pedro Alves <palves@redhat.com>
22127
22128 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
22129 Make "name" extern.
22130 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
22131 references to ${name}_start by references to ${name}.
22132
a2cd8cfe
JB
221332014-01-10 Joel Brobecker <brobecker@adacore.com>
22134
22135 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
22136
4e23fced
JB
221372014-01-10 Joel Brobecker <brobecker@adacore.com>
22138
22139 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
22140
c6a9e42c
PA
221412014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
22142 Pedro Alves <palves@redhat.com>
22143
22144 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 22145 mi_gdb_target_load.
c6a9e42c 22146
b7ea362b
PA
221472014-01-08 Pedro Alves <palves@redhat.com>
22148
22149 * gdb.threads/reconnect-signal.c: New file.
22150 * gdb.threads/reconnect-signal.exp: New file.
22151
5e3f4fab
EBM
221522014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
22153
22154 * gdb.base/source-dir.exp: New file.
22155
79301218
JB
221562014-01-07 Joel Brobecker <brobecker@adacore.com>
22157
22158 * gdb.ada/mi_interface: New testcase.
22159
8e355c5d
JB
221602014-01-07 Joel Brobecker <brobecker@adacore.com>
22161
22162 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
22163 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
22164 gdb.ada/pp-rec-component/pck.ads: New files.
22165
c0d48811
JB
221662014-01-07 Joel Brobecker <brobecker@adacore.com>
22167
22168 * gdb.python/py-pp-integral.c: New file.
22169 * gdb.python/py-pp-integral.py: New file.
22170 * gdb.python/py-pp-integral.exp: New file.
22171
17b609c3 22172For older changes see ChangeLog-1993-2013.
c906108c 22173\f
8d8cb839
EZ
22174;; Local Variables:
22175;; mode: change-log
22176;; left-margin: 8
22177;; fill-column: 74
22178;; version-control: never
22179;; End:
902f2ccb 22180
b811d2c2 22181 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
22182 Copying and distribution of this file, with or without modification,
22183 are permitted provided the copyright notice and this notice are preserved.
This page took 4.389758 seconds and 4 git commands to generate.