[gdb/testsuite] Remove hardcoded filenames in gdb.dwarf2/*.exp
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2020-10-17 Tom de Vries <tdevries@suse.de>
2
3 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
4 as suffix.
5 * gdb.dwarf2/atomic.c: Rename to ...
6 * gdb.dwarf2/atomic-type.c: ... this.
7 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
8 * gdb.dwarf2/dw2-ranges-2.c: ... this.
9 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
10 * gdb.dwarf2/dw2-ranges-3.c: ... this.
11 * gdb.dwarf2/fission-mix2.c: Rename to ...
12 * gdb.dwarf2/fission-mix-2.c: ... this.
13 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
14 standard_testfile.
15 * gdb.dwarf2/ada-valprint-error.exp: Same.
16 * gdb.dwarf2/arr-stride.exp: Same.
17 * gdb.dwarf2/arr-subrange.exp: Same.
18 * gdb.dwarf2/atomic-type.exp: Same.
19 * gdb.dwarf2/bad-regnum.exp: Same.
20 * gdb.dwarf2/break-inline-psymtab.exp: Same.
21 * gdb.dwarf2/clang-debug-names-2.exp: Same.
22 * gdb.dwarf2/clang-debug-names.exp: Same.
23 * gdb.dwarf2/comp-unit-lang.exp: Same.
24 * gdb.dwarf2/corrupt.exp: Same.
25 * gdb.dwarf2/count.exp: Same.
26 * gdb.dwarf2/cpp-linkage-name.exp: Same.
27 * gdb.dwarf2/data-loc.exp: Same.
28 * gdb.dwarf2/dw2-align.exp: Same.
29 * gdb.dwarf2/dw2-bad-elf.exp: Same.
30 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
31 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
32 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
33 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
34 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
35 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
36 * gdb.dwarf2/dw2-inline-param.exp: Same.
37 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
38 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
39 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
40 * gdb.dwarf2/dw2-is-stmt.exp: Same.
41 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
42 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
43 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
44 * gdb.dwarf2/dw2-param-error.exp: Same.
45 * gdb.dwarf2/dw2-ranges-base.exp: Same.
46 * gdb.dwarf2/dw2-ranges.exp: Same.
47 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
48 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
49 * gdb.dwarf2/dw4-sig-types.exp: Same.
50 * gdb.dwarf2/dynarr-ptr.exp: Same.
51 * gdb.dwarf2/enum-type.exp: Same.
52 * gdb.dwarf2/fission-mix.exp: Same.
53 * gdb.dwarf2/formdata16.exp: Same.
54 * gdb.dwarf2/implptrconst.exp: Same.
55 * gdb.dwarf2/implptrpiece.exp: Same.
56 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
57 * gdb.dwarf2/main-subprogram.exp: Same.
58 * gdb.dwarf2/method-ptr.exp: Same.
59 * gdb.dwarf2/missing-sig-type.exp: Same.
60 * gdb.dwarf2/nonvar-access.exp: Same.
61 * gdb.dwarf2/opaque-type-lookup.exp: Same.
62 * gdb.dwarf2/shortpiece.exp: Same.
63 * gdb.dwarf2/staticvirtual.exp: Same.
64 * gdb.dwarf2/subrange.exp: Same.
65 * gdb.dwarf2/symtab-producer.exp: Same.
66 * gdb.dwarf2/typedef-void-finish.exp: Same.
67 * gdb.dwarf2/var-access.exp: Same.
68 * gdb.dwarf2/variant.exp: Same.
69 * gdb.dwarf2/void-type.exp: Same.
70 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
71 dw2-ranges-main.c.
72 * gdb.dwarf2/dw2-ranges-main.c: Remove.
73
74 2020-10-16 Tom de Vries <tdevries@suse.de>
75
76 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
77
78 2020-10-16 Tom de Vries <tdevries@suse.de>
79
80 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
81
82 2020-10-14 Tom de Vries <tdevries@suse.de>
83
84 PR testsuite/26732
85 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
86 scenario 2.
87 * gdb.ada/mi_catch_ex_hand.exp: Same.
88
89 2020-10-13 Pedro Alves <pedro@palves.net>
90
91 * lib/mi-support.exp (mi_clean_restart): New.
92 (mi_run_to_main): Delete.
93 All callers adjust to use mi_clean_restart / mi_runto_main.
94
95 2020-10-13 Pedro Alves <pedro@palves.net>
96
97 * config/monitor.exp: Use "list -q".
98 * gdb.arch/gdb1558.exp: Use "break -q".
99 * gdb.arch/i386-permbkpt.exp: Use "break -q".
100 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
101 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
102 * gdb.base/commands.exp: Use "break -q".
103 * gdb.base/condbreak.exp: Use "break -q".
104 * gdb.base/ctf-ptype.exp: Use "list -q".
105 * gdb.base/define.exp: Use "break -q".
106 * gdb.base/del.exp: Use "break -q".
107 * gdb.base/fullname.exp: Use "break -q".
108 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
109 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
110 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
111 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
112 "hbreak -q".
113 * gdb.base/included.exp: Use "list -q".
114 * gdb.base/label.exp: Use "break -q".
115 * gdb.base/lineinc.exp: Use "break -q".
116 * gdb.base/list.exp: Use "list -q".
117 * gdb.base/macscp.exp: Use "list -q".
118 * gdb.base/pending.exp: Use "break -q".
119 * gdb.base/prologue-include.exp: Use "break -q".
120 * gdb.base/ptype.exp: Use "list -q".
121 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
122 * gdb.base/server-del-break.exp: Use "break -q".
123 * gdb.base/style.exp: Use "break -q".
124 * gdb.base/symbol-without-target_section.exp: Use "list -q".
125 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
126 * gdb.cp/exception.exp: Use "tbreak -q".
127 * gdb.dwarf2/dw2-error.exp: Use "break -q".
128 * gdb.dwarf2/fission-mix.exp: Use "break -q".
129 * gdb.dwarf2/fission-reread.exp: Use "break -q".
130 * gdb.dwarf2/pr13961.exp: Use "break -q".
131 * gdb.linespec/explicit.exp: Use "list -q".
132 * gdb.linespec/linespec.exp: Use "break -q".
133 * gdb.mi/mi-simplerun.exp: Use "--qualified".
134 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
135 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
136 * gdb.server/connect-without-multi-process.exp: Use "break -q".
137 * gdb.trace/change-loc.exp: Use "break -q".
138 * gdb.trace/pending.exp: Use "break -q".
139 * gdb.tui/basic.exp: Use "list -q".
140 * gdb.tui/list-before.exp: Use "list -q".
141 * gdb.tui/list.exp: Use "list -q".
142 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
143
144 2020-10-13 Pedro Alves <pedro@palves.net>
145
146 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
147 saved breakpoints file.
148 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
149 inspecting breakpoint list.
150 * lib/gdb.exp (runto_main): Add "qualified" to options.
151 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
152 and handle it.
153 (mi_runto_main): Pass 1 as qualified argument.
154
155 2020-10-13 Pedro Alves <pedro@palves.net>
156
157 * lib/mi-support.exp (mi_runto_main): New proc.
158 (mi_run_to_main): Use it.
159 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
160 * gdb.mi/mi-var-cmd.exp: Likewise.
161 * gdb.mi/mi-var-invalidate.exp: Likewise.
162 * mi-var-list-children-invalid-grandchild.exp: Likewise.
163 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
164 * gdb.mi/new-ui-mi-sync.exp: Likewise.
165 * gdb.mi/user-selected-context-sync.exp: Likewise.
166 * gdb.opt/inline-cmds.exp: Likewise.
167 * gdb.python/py-framefilter-mi.exp: Likewise.
168 * gdb.python/py-mi.exp: Likewise.
169
170 2020-10-13 Pedro Alves <pedro@palves.net>
171
172 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
173 "runto main".
174 * gdb.ada/small_reg_param.exp: Likewise.
175 * gdb.arch/powerpc-d128-regs.exp: Likewise.
176 * gdb.base/annota1.exp: Likewise.
177 * gdb.base/anon.exp: Likewise.
178 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
179 * gdb.base/dprintf-non-stop.exp: Likewise.
180 * gdb.base/dprintf.exp: Likewise.
181 * gdb.base/gdb11530.exp: Likewise.
182 * gdb.base/gdb11531.exp: Likewise.
183 * gdb.base/gnu_vector.exp: Likewise.
184 * gdb.base/interrupt-noterm.exp: Likewise.
185 * gdb.base/memattr.exp: Likewise.
186 * gdb.base/step-over-syscall.exp: Likewise.
187 * gdb.base/watch-cond-infcall.exp: Likewise.
188 * gdb.base/watch-read.exp: Likewise.
189 * gdb.base/watch-vfork.exp: Likewise.
190 * gdb.base/watch_thread_num.exp: Likewise.
191 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
192 * gdb.guile/scm-frame-inline.exp: Likewise.
193 * gdb.linespec/explicit.exp: Likewise.
194 * gdb.opt/inline-break.exp: Likewise.
195 * gdb.python/py-frame-inline.exp: Likewise.
196 * gdb.reverse/break-precsave.exp: Likewise.
197 * gdb.reverse/break-reverse.exp: Likewise.
198 * gdb.reverse/consecutive-precsave.exp: Likewise.
199 * gdb.reverse/consecutive-reverse.exp: Likewise.
200 * gdb.reverse/finish-precsave.exp: Likewise.
201 * gdb.reverse/finish-reverse.exp: Likewise.
202 * gdb.reverse/fstatat-reverse.exp: Likewise.
203 * gdb.reverse/getresuid-reverse.exp: Likewise.
204 * gdb.reverse/i386-precsave.exp: Likewise.
205 * gdb.reverse/i386-reverse.exp: Likewise.
206 * gdb.reverse/i386-sse-reverse.exp: Likewise.
207 * gdb.reverse/i387-env-reverse.exp: Likewise.
208 * gdb.reverse/i387-stack-reverse.exp: Likewise.
209 * gdb.reverse/insn-reverse.exp: Likewise.
210 * gdb.reverse/machinestate-precsave.exp: Likewise.
211 * gdb.reverse/machinestate.exp: Likewise.
212 * gdb.reverse/pipe-reverse.exp: Likewise.
213 * gdb.reverse/readv-reverse.exp: Likewise.
214 * gdb.reverse/recvmsg-reverse.exp: Likewise.
215 * gdb.reverse/rerun-prec.exp: Likewise.
216 * gdb.reverse/s390-mvcle.exp: Likewise.
217 * gdb.reverse/solib-precsave.exp: Likewise.
218 * gdb.reverse/solib-reverse.exp: Likewise.
219 * gdb.reverse/step-precsave.exp: Likewise.
220 * gdb.reverse/step-reverse.exp: Likewise.
221 * gdb.reverse/time-reverse.exp: Likewise.
222 * gdb.reverse/until-precsave.exp: Likewise.
223 * gdb.reverse/until-reverse.exp: Likewise.
224 * gdb.reverse/waitpid-reverse.exp: Likewise.
225 * gdb.reverse/watch-precsave.exp: Likewise.
226 * gdb.reverse/watch-reverse.exp: Likewise.
227 * gdb.threads/kill.exp: Likewise.
228 * gdb.threads/tid-reuse.exp: Likewise.
229
230 2020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
231
232 PR gdb/26642
233 * gdb.base/maint-target-async-off.c: New test.
234 * gdb.base/maint-target-async-off.exp: New test.
235
236 2020-10-13 Alan Modra <amodra@gmail.com>
237
238 * gdb.arch/powerpc-altivec.s,
239 * gdb.arch/powerpc-power7.s,
240 * gdb.arch/powerpc-power8.s,
241 * gdb.arch/powerpc-power9.s,
242 * gdb.arch/powerpc-vsx.s,
243 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
244 * gdb.arch/powerpc-altivec.exp,
245 * gdb.arch/powerpc-power7.exp,
246 * gdb.arch/powerpc-power8.exp,
247 * gdb.arch/powerpc-power9.exp,
248 * gdb.arch/powerpc-vsx.exp,
249 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
250 disassembly of mfvsrd/mtvsrd.
251
252 2020-10-13 Alan Modra <amodra@gmail.com>
253
254 * gdb.arch/arm-disassembler-options.exp: Adjust expected
255 "target architecture" output.
256 * gdb.arch/powerpc-d128-regs.exp: Likewise.
257 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
258 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
259 * gdb.arch/s390-disassembler-options.exp: Likewise.
260
261 2020-10-12 Pedro Alves <pedro@palves.net>
262
263 PR exp/26602
264 PR c++/26550
265 * gdb.cp/ambiguous.cc (marker1): Delete.
266 (main): Initialize all the fields of the locals. Replace marker1
267 call with a "set breakpoint here" marker.
268 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
269 instead of running to marker1. Add tests printing all the
270 variables and all the fields of the variables.
271 (test_ambiguous): New proc, expecting the new GDB output when a
272 field access is ambiguous. Change all "warning: X ambiguous"
273 tests to use it.
274
275 2020-10-12 Gary Benson <gbenson@redhat.com>
276
277 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
278 * gdb.base/msym-bp-2.c (foo): Likewise.
279 * gdb.base/msym-lang.c (foo): Likewise.
280 * gdb.base/msym-lang-main.c (foo): Likewise.
281 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
282 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
283 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
284 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
285 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
286 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
287 * gdb.python/py-objfile.c (static_var): Likewise.
288 * gdb.python/py-symbol.c (rr): Likewise.
289 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
290 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
291
292 2020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
293
294 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
295 output of backtrace.
296
297 2020-10-09 Tom Tromey <tromey@adacore.com>
298
299 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
300 (Rec): Add field. Fix range.
301 * gdb.ada/scalar_storage.exp: Update.
302
303 2020-10-09 Hannes Domani <ssbssa@yahoo.de>
304
305 PR exp/26714
306 * gdb.base/printcmds.exp: Add tests for void results.
307
308 2020-10-09 Jan Vrany <jan.vrany@labware.com>
309
310 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
311 is emmited for both 'set directories' and 'directory' commands.
312
313 2020-10-08 Tom Tromey <tom@tromey.com>
314
315 * gdb.base/style.exp: Check that "main"'s name is styled.
316
317 2020-10-07 Tom Tromey <tromey@adacore.com>
318
319 * gdb.base/find.exp: Rename some tests.
320
321 2020-10-06 Gary Benson <gbenson@redhat.com>
322
323 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
324 * gdb.base/list1.c (unused): Likewise.
325
326 2020-10-06 Gary Benson <gbenson@redhat.com>
327
328 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
329 __attribute__ ((used)).
330 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
331
332 2020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
333
334 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
335 make use of regions throughout.
336 * gdb.base/overlays.exp: Enclose string with variableds in "..",
337 not {...}.
338 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
339
340 2020-10-05 Hannes Domani <ssbssa@yahoo.de>
341
342 * gdb.base/call-sc.c: Fix return struct on stack test case.
343 * gdb.base/call-sc.exp: Likewise.
344
345 2020-10-02 Gary Benson <gbenson@redhat.com>
346
347 * README: Fix "paralell".
348
349 2020-09-30 Gary Benson <gbenson@redhat.com>
350
351 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
352 Convert directive to lowercase.
353 (.Labbrev1_begin): Add missing label.
354 (abbrev code 0x1): Remove DW_AT_stmt_list.
355 (.Ldie_b): Likewise.
356
357 2020-09-27 Tom Tromey <tom@tromey.com>
358
359 * gdb.tui/new-layout.exp: Use with_test_prefix.
360
361 2020-09-26 Gareth Rees <grees@undo.io> (tiny change)
362
363 PR python/26586
364 * gdb.python/python.exp: add test cases for the from_tty
365 argument to gdb.execute.
366
367 2020-09-25 Gary Benson <gbenson@redhat.com>
368
369 * gdb.base/infcall-nested-structs.exp.tcl: Add
370 additional_flags=-Wno-tautological-compare for C++
371 tests when compiling using Clang.
372
373 2020-09-25 Gary Benson <gbenson@redhat.com>
374
375 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
376 for .c files.
377
378 2020-09-24 Tom Tromey <tromey@adacore.com>
379
380 PR tui/26638:
381 * gdb.tui/list.exp: Check output of "focus next".
382
383 2020-09-23 Tom Tromey <tom@tromey.com>
384
385 * gdb.dwarf2/intbits.exp: New file.
386 * gdb.dwarf2/intbits.c: New file.
387
388 2020-09-20 Pedro Alves <pedro@palves.net>
389
390 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
391 spawn_id before calling remote_close. Close secondary MI channel.
392
393 2020-09-20 Pedro Alves <pedro@palves.net>
394
395 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
396 fails.
397
398 2020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
399
400 * gdb.fortran/array-slices.exp: Update expected results.
401 * gdb.fortran/class-allocatable-array.exp: Likewise.
402 * gdb.fortran/multi-dim.exp: Likewise.
403 * gdb.fortran/vla-type.exp: Likewise.
404 * gdb.mi/mi-vla-fortran.exp: Likewise.
405
406 2020-09-18 Victor Collod <vcollod@nvidia.com>
407
408 PR gdb/26635
409 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
410 compatible with i386, and move it to...
411 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
412 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
413 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
414
415 2020-09-18 Pedro Alves <pedro@palves.net>
416
417 PR gdb/26631
418 * gdb.multi/multi-target-thread-find.exp: New file.
419
420 2020-09-18 Pedro Alves <pedro@palves.net>
421
422 * gdb.multi/multi-target-continue.exp: New file, factored out from
423 multi-target.exp.
424 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
425 multi-target.exp.
426 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
427 multi-target.exp.
428 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
429 multi-target.exp.
430 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
431 multi-target.exp.
432 * gdb.multi/multi-target.exp.tcl: New file, factored out from
433 multi-target.exp.
434 * gdb.multi/multi-target.exp: Delete.
435
436 2020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
437
438 * gdb.fortran/array-slices.exp: Add missing message data.
439
440 2020-09-17 Pedro Alves <pedro@palves.net>
441
442 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
443
444 2020-09-17 Pedro Alves <pedro@palves.net>
445
446 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
447 full prototype.
448
449 2020-09-17 Pedro Alves <pedro@palves.net>
450
451 * gdb.python/py-as-string.c: Add cast.
452
453 2020-09-17 Pedro Alves <pedro@palves.net>
454
455 * gdb.base/sizeof.c (fill): Add cast.
456
457 2020-09-17 Pedro Alves <pedro@palves.net>
458
459 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
460
461 2020-09-17 Pedro Alves <pedro@palves.net>
462
463 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
464 linkage name.
465 * gdb.base/prologue.exp: Use print /d.
466 * gdb.base/symbol-alias.exp: Handle C++ output.
467 * gdb.base/symbol-alias2.c: Handle C++ output.
468 [__cplusplus] (func): Explicitly specify linkage name.
469
470 2020-09-17 Pedro Alves <pedro@palves.net>
471
472 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
473 (struct my_key_t): ... this. Adjust all references.
474 (struct value_t): Rename to ...
475 (struct my_value_t): ... this. Adjust all references.
476 (create_map, add_map_element, create_map_map)
477 (add_map_map_element): Add casts.
478
479 2020-09-17 Pedro Alves <pedro@palves.net>
480
481 * gdb.python/py-framefilter-mi.c (funca): Add casts.
482 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
483
484 2020-09-17 Pedro Alves <pedro@palves.net>
485
486 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
487
488 2020-09-17 Pedro Alves <pedro@palves.net>
489
490 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
491 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
492 (charfoo, intfoo): Define full prototype.
493 * gdb.base/ptype1.c (charfoo): Define full prototype.
494 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
495 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
496
497 2020-09-17 Pedro Alves <pedro@palves.net>
498
499 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
500 Don't define.
501 (utf_32_string): Compile for both C and C++.
502 * gdb.base/charset.exp: Use "print /d".
503
504 2020-09-17 Pedro Alves <pedro@palves.net>
505
506 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
507 (nullptr): Rename to ...
508 (null_ptr): ... this.
509 * gdb.base/watchpoint.exp: Adjust to rename.
510
511 2020-09-17 Pedro Alves <pedro@palves.net>
512
513 * gdb.base/printcmds.c (three, flag_enum_without_zero)
514 (three_not_flag): Add casts.
515
516 2020-09-17 Pedro Alves <pedro@palves.net>
517
518 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
519 char array.
520 (main): Add references to Barrier, TestStrings, TestStringsH and
521 TestStringsW.
522 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
523 and expect a full prototype in C++.
524
525 2020-09-17 Pedro Alves <pedro@palves.net>
526
527 * gdb.base/nested-addr.c (main): Add cast.
528 * gdb.base/nested-addr.exp: Use "print /d".
529
530 2020-09-17 Pedro Alves <pedro@palves.net>
531
532 * gdb.base/break.exp (func): New. Use it throughout when
533 expecting a function name.
534
535 2020-09-17 Pedro Alves <pedro@palves.net>
536
537 * gdb.base/display.exp: Issue "set print asm-demangle on".
538
539 2020-09-17 Pedro Alves <pedro@palves.net>
540
541 * gdb.base/find.c: Include <string.h>.
542 (init_bufs): Add cast.
543 * gdb.base/find.exp: Issue "set print asm-demangle on".
544
545 2020-09-16 Tom Tromey <tromey@adacore.com>
546
547 PR gdb/26598:
548 * gdb.base/skipcxx.exp: New file.
549 * gdb.base/skipcxx.cc: New file.
550
551 2020-09-16 Tom de Vries <tdevries@suse.de>
552
553 PR testsuite/26617
554 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
555 WITH_DEBUG_SECTIONS is defined.
556 (xstr, str): New macro.
557 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
558 to get start and size of _Dmain.
559 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
560 using additional_flags.
561
562 2020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
563
564 * gdb.base/bp-cmds-sourced-script.c: New file.
565 * gdb.base/bp-cmds-sourced-script.exp: New test.
566 * gdb.base/bp-cmds-sourced-script.gdb: New file.
567
568 2020-09-16 Tom de Vries <tdevries@suse.de>
569
570 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
571 get the gdb prompt after issuing "monitor exit".
572
573 2020-09-16 Tom de Vries <tdevries@suse.de>
574
575 PR testsuite/26624
576 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
577
578 2020-09-16 Tom de Vries <tdevries@suse.de>
579
580 PR testsuite/26618
581 * gdb.tui/new-layout.exp: Escape unbalanced braces.
582
583 2020-09-15 Tom Tromey <tromey@adacore.com>
584
585 PR rust/26197:
586 * lib/rust-support.exp (rust_llvm_version): New proc.
587 * gdb.rust/simple.exp: Check rust_llvm_version.
588
589 2020-09-14 Tom de Vries <tdevries@suse.de>
590
591 * gdb.rust/traits.exp: Fix PATH warning.
592
593 2020-09-13 Pedro Alves <pedro@palves.net>
594
595 * gdb.base/catch-follow-exec.c (main): Add explicit return
596 statement.
597 * gdb.base/catch-signal.c (main): Likewise.
598 * gdb.base/condbreak-call-false.c (main): Likewise.
599 * gdb.base/consecutive.c (main): Add explicit return
600 statement and return type.
601 * gdb.base/cursal.c (main): Add explicit return statement.
602 * gdb.base/cvexpr.c (main): Likewise.
603 * gdb.base/display.c (main): Add explicit return statement and
604 return type.
605 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
606 * gdb.base/endianity.c (main): Likewise.
607 * gdb.base/execd-prog.c (main): Likewise.
608 * gdb.base/gdb1090.c (main): Likewise.
609 * gdb.base/info_qt.c (main): Likewise.
610 * gdb.base/lineinc.c (main): Likewise.
611 * gdb.base/load-command.c (main): Likewise.
612 * gdb.base/macscp1.c (main): Likewise.
613 * gdb.base/pr10179-a.c (main): Likewise.
614 * gdb.base/quit-live.c (main): Likewise.
615 * gdb.base/scope0.c (main): Likewise.
616 * gdb.base/settings.c (main): Likewise.
617 * gdb.base/stack-checking.c (main): Return int.
618 * gdb.base/varargs.c (main): Add explicit return statement.
619 * gdb.cp/ambiguous.cc (main): Likewise.
620 * gdb.cp/anon-struct.cc (main): Likewise.
621 * gdb.cp/anon-union.cc (main): Likewise.
622 * gdb.cp/bool.cc (main): Likewise.
623 * gdb.cp/bs15503.cc (main): Likewise.
624 * gdb.cp/cplusfuncs.cc (main): Likewise.
625 * gdb.cp/cttiadd.cc (main): Likewise.
626 * gdb.cp/extern-c.cc (main): Likewise.
627 * gdb.cp/filename.cc (main): Likewise.
628 * gdb.cp/formatted-ref.cc (main): Likewise.
629 * gdb.cp/mb-ctor.cc (main): Likewise.
630 * gdb.cp/member-ptr.cc (main): Likewise.
631 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
632 * gdb.cp/overload-const.cc (main): Likewise.
633 * gdb.cp/paren-type.cc (main): Likewise.
634 * gdb.cp/parse-lang.cc (main): Likewise.
635 * gdb.cp/pr-1023.cc (main): Likewise.
636 * gdb.cp/psmang1.cc (main): Likewise.
637 * gdb.cp/readnow-language.cc (main): Likewise.
638 * gdb.cp/ref-params.cc (main): Likewise.
639 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
640 * gdb.cp/virtbase2.cc (main): Likewise.
641 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
642 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
643 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
644 * gdb.mi/mi-console.c (main): Likewise.
645 * gdb.mi/mi-read-memory.c (main): Likewise.
646 * gdb.modula2/multidim.c (main): Likewise.
647 * gdb.opt/inline-small-func.c (main): Likewise.
648 * gdb.python/py-rbreak.c (main): Likewise.
649 * gdb.stabs/exclfwd1.c (main): Likewise.
650 * gdb.trace/qtro.c (main): Likewise.
651
652 2020-09-13 Pedro Alves <pedro@palves.net>
653
654 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
655 instead of getenv.
656
657 2020-09-13 Pedro Alves <pedro@palves.net>
658
659 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
660 instead of spawning GDB with remote_spawn.
661 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
662 gdb_spawn instead of spawning GDB with remote_spawn.
663
664 2020-09-13 Pedro Alves <pedro@palves.net>
665
666 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
667 file and add calls to first and second.
668 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
669 add call to f.
670
671 2020-09-13 Pedro Alves <pedro@palves.net>
672
673 * gdb.mi/mi-break-qualified.cc: New file.
674 * gdb.mi/mi-break-qualified.exp: New file.
675 * lib/mi-support.exp (mi_create_breakpoint_multi)
676 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
677 procedures.
678 (mi_create_breakpoint_1): New, factored out from
679 mi_create_breakpoint.
680
681 2020-09-13 Pedro Alves <pedro@palves.net>
682
683 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
684 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
685 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
686 (register_class): Delete.
687 (main): Don't call register_class.
688
689 2020-09-13 Pedro Alves <pedro@palves.net>
690
691 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
692 (do_tests): Remove "calling method for small class" test.
693 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
694 (register_class): Delete.
695 (main): Don't call register_class.
696 * gdb.cp/call-method-register.exp: New file, based on bits removed
697 from classes.exp.
698 * gdb.cp/call-method-register.cc: New file, based on bits removed
699 from classes.cc.
700
701 2020-09-13 Pedro Alves <pedro@palves.net>
702
703 * gdb.base/msym-bp-2.c: New.
704 * gdb.base/msym-bp-shl-lib.c: New file.
705 * gdb.base/msym-bp-shl-main-2.c: New file.
706 * gdb.base/msym-bp-shl-main.c: New file.
707 * gdb.base/msym-bp-shl.exp: New file.
708 * gdb.base/msym-bp.c: New file.
709 * gdb.base/msym-bp.exp: New file.
710
711 2020-09-13 Joel Brobecker <brobecker@adacore.com>
712
713 * gdb.base/default.exp: Change $_gdb_major to 11.
714
715 2020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
716 Felix Willgerodt <Felix.Willgerodt@intel.com>
717
718 * x86-avx512bf16.c: New file.
719 * x86-avx512bf16.exp: Likewise.
720 * lib/gdb.exp (skip_avx512bf16_tests): New function.
721
722 2020-09-11 Tom de Vries <tdevries@suse.de>
723
724 PR exp/26602
725 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
726
727 2020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
728
729 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
730
731 2020-09-10 Alan Modra <amodra@gmail.com>
732
733 PR 26597
734 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
735
736 2020-09-08 Tom de Vries <tdevries@suse.de>
737
738 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
739 after gdb_starti_cmd.
740
741 2020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
742
743 * lib/fortran.exp (fortran_complex8): New proc.
744 (fortran_complex16): New proc.
745 * gdb.fortran/complex.exp: Use routines from fortran.exp
746 * gdb.fortran/pointer-to-pointer.exp: Likewise.
747 * gdb.fortran/vla-ptr-info.exp: Likewise.
748
749 2020-09-03 Tom de Vries <tdevries@suse.de>
750
751 PR breakpoint/26546
752 * gdb.base/label-without-address.exp: Runto main first.
753
754 2020-09-02 Tom Tromey <tromey@adacore.com>
755
756 * gdb.ada/mi_var_access.exp: Test children of access variable.
757 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
758 * gdb.ada/mi_var_array.exp: Update.
759
760 2020-08-31 Kevin Buettner <kevinb@redhat.com>
761
762 * gdb.base/corefile.exp (warning-free): XFAIL test when running
763 on docker w/ AUFS storage driver.
764
765 2020-08-31 Kevin Buettner <kevinb@redhat.com>
766
767 * gdb.base/corefile2.exp (renamed binfile): New tests.
768
769 2020-08-31 Simon Marchi <simon.marchi@efficios.com>
770
771 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
772
773 2020-08-31 Simon Marchi <simon.marchi@efficios.com>
774
775 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
776 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
777
778 2020-08-31 Simon Marchi <simon.marchi@efficios.com>
779
780 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
781 output, printing a "not saved" value from history and printing a
782 convenience variable created from a "not saved" value.
783
784 2020-08-31 Tom de Vries <tdevries@suse.de>
785
786 * gdb.base/eh_return.exp: Use nopie.
787
788 2020-08-28 Pedro Alves <pedro@palves.net>
789
790 * gdb.base/advance-until-multiple-locations.exp
791 (advance_overload, until_overload): Adjust to match the
792 frame/function header instead of the source line text.
793
794 2020-08-28 Tom de Vries <tdevries@suse.de>
795
796 * gdb.base/label-without-address.c: New test.
797 * gdb.base/label-without-address.exp: New file.
798
799 2020-08-27 Pedro Alves <pedro@palves.net>
800
801 PR gdb/26523
802 PR gdb/26524
803 * gdb.base/advance-until-multiple-locations.cc: New.
804 * gdb.base/advance-until-multiple-locations.exp: New.
805
806 2020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
807
808 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
809
810 2020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
811
812 * gdb.arch/amd64-byte.exp: Make test names unique, use
813 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
814 * gdb.arch/amd64-dword.exp: Likewise.
815 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
816 * gdb.arch/amd64-stap-special-operands.exp: Make test names
817 unique.
818 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
819 * gdb.arch/amd64-word.exp: Make test names unique, use
820 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
821 * gdb.arch/i386-byte.exp: Make test names unique, use
822 gdb_breakpoint.
823 * gdb.arch/i386-word.exp: Likewise.
824
825 2020-08-25 Shahab Vahedi <shahab@synopsys.com>
826
827 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
828
829 2020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
830
831 PR gdb/26532
832 * gdb.threads/stepi-random-signal.exp: Update pattern.
833
834 2020-08-25 Simon Marchi <simon.marchi@efficios.com>
835
836 PR gdb/26532
837 * gdb.base/ui-redirect.exp: Update pattern.
838
839 2020-08-25 Gary Benson <gbenson@redhat.com>
840
841 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
842 when compiling with clang.
843 * gdb.dwarf2/dw2-restore.exp: Likewise.
844
845 2020-08-25 Gary Benson <gbenson@redhat.com>
846
847 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
848 Add additional_flags=-Wno-inaccessible-base when compiling
849 with GCC >= 10.1 or clang. Add additional_flags=-w when
850 compiling with GCC < 10.
851
852 2020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
853
854 PR m2/26372
855 * gdb.modula2/multidim.c: New file.
856 * gdb.modula2/multidim.exp: New file.
857
858 2020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
859
860 * lib/gdb.exp (runto): Always emit fail on internal error.
861
862 2020-08-24 Simon Marchi <simon.marchi@efficios.com>
863
864 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
865 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
866 Likewise.
867 * gdb.threads/stepi-random-signal.exp: Likewise.
868
869 2020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
870
871 * gdb.base/print-file-var.exp: Fix typo "breapoint".
872 * gdb.trace/strace.exp: Ditto.
873
874 2020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
875
876 * gdb.fortran/vla-type.exp: Skip commands not required for
877 the Flang compiled binaries after prologue fix.
878
879 2020-08-17 Tom de Vries <tdevries@suse.de>
880 Tom Tromey <tromey@adacore.com>
881
882 PR rust/26197:
883 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
884
885 2020-08-17 Tom Tromey <tromey@adacore.com>
886
887 * gdb.ada/mi_var_access.exp: New file.
888 * gdb.ada/mi_var_access/mi_access.adb: New file.
889 * gdb.ada/mi_var_access/pck.adb: New file.
890 * gdb.ada/mi_var_access/pck.ads: New file.
891
892 2020-08-16 Tom de Vries <tdevries@suse.de>
893
894 PR gdb/25350
895 * gdb.base/eh_return.c: New test.
896 * gdb.base/eh_return.exp: New file.
897
898 2020-08-15 Tom de Vries <tdevries@suse.de>
899
900 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
901 (mixed_func_1d_): Use fortran_charlen_t in decl.
902
903 2020-08-15 Tom de Vries <tdevries@suse.de>
904
905 PR backtrace/26390
906 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
907 Update expected pattern.
908
909 2020-08-13 Pedro Alves <pedro@palves.net>
910
911 * gdb.fortran/complex.exp: Check skip_fortran_tests.
912 * gdb.fortran/library-module.exp: Likewise.
913 * gdb.fortran/logical.exp: Likewise.
914 * gdb.fortran/module.exp: Likewise.
915 * gdb.fortran/print_type.exp: Likewise.
916 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
917 * gdb.fortran/vla-datatypes.exp: Likewise.
918 * gdb.fortran/vla-history.exp: Likewise.
919 * gdb.fortran/vla-ptr-info.exp: Likewise.
920 * gdb.fortran/vla-ptype-sub.exp: Likewise.
921 * gdb.fortran/vla-ptype.exp: Likewise.
922 * gdb.fortran/vla-sizeof.exp: Likewise.
923 * gdb.fortran/vla-type.exp: Likewise.
924 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
925 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
926 * gdb.fortran/vla-value-sub.exp: Likewise.
927 * gdb.fortran/vla-value.exp: Likewise.
928
929 2020-08-13 Pedro Alves <pedro@palves.net>
930
931 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
932 * gdb.ada/access_to_packed_array.exp: Likewise.
933 * gdb.ada/access_to_unbounded_array.exp: Likewise.
934 * gdb.ada/addr_arith.exp: Likewise.
935 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
936 * gdb.ada/arr_arr.exp: Likewise.
937 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
938 * gdb.ada/array_bounds.exp: Likewise.
939 * gdb.ada/array_of_variable_length.exp: Likewise.
940 * gdb.ada/array_ptr_renaming.exp: Likewise.
941 * gdb.ada/array_subscript_addr.exp: Likewise.
942 * gdb.ada/arraydim.exp: Likewise.
943 * gdb.ada/arrayparam.exp: Likewise.
944 * gdb.ada/arrayptr.exp: Likewise.
945 * gdb.ada/assign_1.exp: Likewise.
946 * gdb.ada/assign_arr.exp: Likewise.
947 * gdb.ada/atomic_enum.exp: Likewise.
948 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
949 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
950 * gdb.ada/bias.exp: Likewise.
951 * gdb.ada/boolean_expr.exp: Likewise.
952 * gdb.ada/bp_c_mixed_case.exp: Likewise.
953 * gdb.ada/bp_enum_homonym.exp: Likewise.
954 * gdb.ada/bp_inlined_func.exp: Likewise.
955 * gdb.ada/bp_on_var.exp: Likewise.
956 * gdb.ada/bp_range_type.exp: Likewise.
957 * gdb.ada/bp_reset.exp: Likewise.
958 * gdb.ada/call_pn.exp: Likewise.
959 * gdb.ada/catch_assert_if.exp: Likewise.
960 * gdb.ada/catch_ex.exp: Likewise.
961 * gdb.ada/catch_ex_std.exp: Likewise.
962 * gdb.ada/char_enum.exp: Likewise.
963 * gdb.ada/char_param.exp: Likewise.
964 * gdb.ada/complete.exp: Likewise.
965 * gdb.ada/cond_lang.exp: Likewise.
966 * gdb.ada/convvar_comp.exp: Likewise.
967 * gdb.ada/dgopt.exp: Likewise.
968 * gdb.ada/disc_arr_bound.exp: Likewise.
969 * gdb.ada/display_nested.exp: Likewise.
970 * gdb.ada/dot_all.exp: Likewise.
971 * gdb.ada/dyn_loc.exp: Likewise.
972 * gdb.ada/dyn_stride.exp: Likewise.
973 * gdb.ada/excep_handle.exp: Likewise.
974 * gdb.ada/expr_delims.exp: Likewise.
975 * gdb.ada/expr_with_funcall.exp: Likewise.
976 * gdb.ada/exprs.exp: Likewise.
977 * gdb.ada/fin_fun_out.exp: Likewise.
978 * gdb.ada/fixed_cmp.exp: Likewise.
979 * gdb.ada/formatted_ref.exp: Likewise.
980 * gdb.ada/frame_arg_lang.exp: Likewise.
981 * gdb.ada/frame_args.exp: Likewise.
982 * gdb.ada/fullname_bp.exp: Likewise.
983 * gdb.ada/fun_addr.exp: Likewise.
984 * gdb.ada/fun_in_declare.exp: Likewise.
985 * gdb.ada/fun_overload_menu.exp: Likewise.
986 * gdb.ada/fun_renaming.exp: Likewise.
987 * gdb.ada/funcall_char.exp: Likewise.
988 * gdb.ada/funcall_param.exp: Likewise.
989 * gdb.ada/funcall_ptr.exp: Likewise.
990 * gdb.ada/funcall_ref.exp: Likewise.
991 * gdb.ada/homonym.exp: Likewise.
992 * gdb.ada/info_addr_mixed_case.exp: Likewise.
993 * gdb.ada/info_auto_lang.exp: Likewise.
994 * gdb.ada/info_exc.exp: Likewise.
995 * gdb.ada/info_types.exp: Likewise.
996 * gdb.ada/int_deref.exp: Likewise.
997 * gdb.ada/interface.exp: Likewise.
998 * gdb.ada/iwide.exp: Likewise.
999 * gdb.ada/lang_switch.exp: Likewise.
1000 * gdb.ada/length_cond.exp: Likewise.
1001 * gdb.ada/maint_with_ada.exp: Likewise.
1002 * gdb.ada/mi_catch_assert.exp: Likewise.
1003 * gdb.ada/mi_catch_ex.exp: Likewise.
1004 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
1005 * gdb.ada/mi_dyn_arr.exp: Likewise.
1006 * gdb.ada/mi_ex_cond.exp: Likewise.
1007 * gdb.ada/mi_exc_info.exp: Likewise.
1008 * gdb.ada/mi_interface.exp: Likewise.
1009 * gdb.ada/mi_prot.exp: Likewise.
1010 * gdb.ada/mi_ref_changeable.exp: Likewise.
1011 * gdb.ada/mi_string_access.exp: Likewise.
1012 * gdb.ada/mi_task_arg.exp: Likewise.
1013 * gdb.ada/mi_task_info.exp: Likewise.
1014 * gdb.ada/mi_var_array.exp: Likewise.
1015 * gdb.ada/mi_var_union.exp: Likewise.
1016 * gdb.ada/mi_variant.exp: Likewise.
1017 * gdb.ada/minsyms.exp: Likewise.
1018 * gdb.ada/mod_from_name.exp: Likewise.
1019 * gdb.ada/nested.exp: Likewise.
1020 * gdb.ada/null_array.exp: Likewise.
1021 * gdb.ada/optim_drec.exp: Likewise.
1022 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
1023 * gdb.ada/packed_array_assign.exp: Likewise.
1024 * gdb.ada/packed_tagged.exp: Likewise.
1025 * gdb.ada/pp-rec-component.exp: Likewise.
1026 * gdb.ada/print_chars.exp: Likewise.
1027 * gdb.ada/print_pc.exp: Likewise.
1028 * gdb.ada/ptr_typedef.exp: Likewise.
1029 * gdb.ada/ptype_arith_binop.exp: Likewise.
1030 * gdb.ada/ptype_array.exp: Likewise.
1031 * gdb.ada/ptype_field.exp: Likewise.
1032 * gdb.ada/ptype_tagged_param.exp: Likewise.
1033 * gdb.ada/ptype_union.exp: Likewise.
1034 * gdb.ada/py_range.exp: Likewise.
1035 * gdb.ada/py_taft.exp: Likewise.
1036 * gdb.ada/rdv_wait.exp: Likewise.
1037 * gdb.ada/rec_comp.exp: Likewise.
1038 * gdb.ada/rec_return.exp: Likewise.
1039 * gdb.ada/ref_param.exp: Likewise.
1040 * gdb.ada/ref_tick_size.exp: Likewise.
1041 * gdb.ada/rename_subscript_param.exp: Likewise.
1042 * gdb.ada/repeat_dyn.exp: Likewise.
1043 * gdb.ada/same_component_name.exp: Likewise.
1044 * gdb.ada/same_enum.exp: Likewise.
1045 * gdb.ada/scalar_storage.exp: Likewise.
1046 * gdb.ada/set_wstr.exp: Likewise.
1047 * gdb.ada/small_reg_param.exp: Likewise.
1048 * gdb.ada/str_binop_equal.exp: Likewise.
1049 * gdb.ada/str_ref_cmp.exp: Likewise.
1050 * gdb.ada/str_uninit.exp: Likewise.
1051 * gdb.ada/sub_variant.exp: Likewise.
1052 * gdb.ada/sym_print_name.exp: Likewise.
1053 * gdb.ada/taft_type.exp: Likewise.
1054 * gdb.ada/tagged.exp: Likewise.
1055 * gdb.ada/tagged_access.exp: Likewise.
1056 * gdb.ada/task_bp.exp: Likewise.
1057 * gdb.ada/task_switch_in_core.exp: Likewise.
1058 * gdb.ada/tasks.exp: Likewise.
1059 * gdb.ada/tick_last_segv.exp: Likewise.
1060 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
1061 * gdb.ada/type_coercion.exp: Likewise.
1062 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
1063 * gdb.ada/unchecked_union.exp: Likewise.
1064 * gdb.ada/uninitialized_vars.exp: Likewise.
1065 * gdb.ada/var_arr_attrs.exp: Likewise.
1066 * gdb.ada/var_arr_typedef.exp: Likewise.
1067 * gdb.ada/var_rec_arr.exp: Likewise.
1068 * gdb.ada/variant-record.exp: Likewise.
1069 * gdb.ada/variant.exp: Likewise.
1070 * gdb.ada/variant_record_packed_array.exp: Likewise.
1071 * gdb.ada/varsize_limit.exp: Likewise.
1072 * gdb.ada/whatis_array_val.exp: Likewise.
1073 * gdb.ada/widewide.exp: Likewise.
1074 * gdb.ada/win_fu_syms.exp: Likewise.
1075
1076 2020-08-12 Gary Benson <gbenson@redhat.com>
1077
1078 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
1079
1080 2020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
1081
1082 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
1083 unset the array variable.
1084
1085 2020-08-03 Tom de Vries <tdevries@suse.de>
1086
1087 PR symtab/26333
1088 * lib/dwarf.exp (DW_LNE_user): New proc.
1089 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
1090 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
1091
1092 2020-07-31 Kevin Buettner <kevinb@redhat.com>
1093
1094 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
1095 to 'uintptr_t'
1096 (inttypes.h): Include.
1097
1098 2020-07-31 Kevin Buettner <kevinb@redhat.com>
1099
1100 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
1101 (C5_24k): Delete.
1102 (C5_8k, C5_64k, C5_256k): New macros.
1103 (buf_ro): Allocate 256 KiB of initialized data.
1104
1105 2020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1106
1107 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
1108 that attempt to overwrite an existing condition with a condition
1109 that fails parsing and also with a condition that parses fine
1110 but contains junk at the end.
1111
1112 2020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1113
1114 * gdb.base/condbreak-bad.c: New test.
1115 * gdb.base/condbreak-bad.exp: New file.
1116
1117 2020-07-30 Tom de Vries <tdevries@suse.de>
1118
1119 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
1120 out of ...
1121 (GDBInfoModuleSymbols::check_entry): ... here.
1122 (GDBInfoModuleSymbols::check_optional_entry): New proc.
1123 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
1124 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
1125
1126 2020-07-30 Tom de Vries <tdevries@suse.de>
1127
1128 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
1129 "__class_some_module_Number_t" optional.
1130
1131 2020-07-29 Tom de Vries <tdevries@suse.de>
1132
1133 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
1134 multiple locations.
1135
1136 2020-07-29 Tom de Vries <tdevries@suse.de>
1137
1138 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
1139 rather than function name.
1140
1141 2020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1142
1143 PR symtab/26270:
1144 * gdb.cp/disasm-func-name.cc: New file.
1145 * gdb.cp/disasm-func-name.exp: New file.
1146
1147 2020-07-28 Tom Tromey <tromey@adacore.com>
1148
1149 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
1150 'varval' location.
1151
1152 2020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1153
1154 * gdb.python/py-unwind.py: Update to make use of a register
1155 descriptor.
1156
1157 2020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1158
1159 * gdb.python/py-arch-reg-names.exp: Add additional tests.
1160
1161 2020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
1162
1163 PR fortran/23051
1164 PR fortran/26139
1165 * gdb.fortran/class-allocatable-array.exp: New file.
1166 * gdb.fortran/class-allocatable-array.f90: New file.
1167 * gdb.fortran/pointer-to-pointer.exp: New file.
1168 * gdb.fortran/pointer-to-pointer.f90: New file.
1169
1170 2020-07-25 Tom de Vries <tdevries@suse.de>
1171
1172 PR symtab/26243
1173 * gdb.dwarf2/dw2-line-number-zero.c: New test.
1174 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
1175
1176 2020-07-24 Tom de Vries <tdevries@suse.de>
1177
1178 PR testsuite/26293
1179 * gdb.ada/mi_prot.exp: Require gnatmake-8.
1180
1181 2020-07-23 Pedro Alves <pedro@palves.net>
1182
1183 * gdb.server/server-kill.exp (prepare): New, factored out from the
1184 top level.
1185 (kill_server): New.
1186 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
1187 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
1188
1189 2020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
1190
1191 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
1192
1193 2020-07-22 Sandra Loosemore <sandra@codesourcery.com>
1194
1195 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
1196 Initialize to empty string at top level.
1197 (gdb_wrapper_init): Revert check for file existence on build.
1198 Build the wrapper in its default place, not a build-specific
1199 location. When host == build, make the pathname absolute.
1200 (gdb_compile): Delete leftover declaration of
1201 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
1202 string instead of uninitialized.
1203
1204 2020-07-22 Kevin Buettner <kevinb@redhat.com>
1205
1206 * gdb.base/corefile2.exp: New file.
1207 * gdb.base/coremaker2.exp: New file.
1208
1209 2020-07-22 Kevin Buettner <kevinb@redhat.com>
1210
1211 * gdb.base/coredump-filter.exp: Add second
1212 non-Private-Shared-Anon-File test.
1213 (test_disasm): Rename binfile for test which is expected
1214 to fail.
1215
1216 2020-07-22 Kevin Buettner <kevinb@redhat.com>
1217
1218 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
1219 data in core file".
1220 * gdb.base/coremaker.c (buf2ro): New global.
1221 (mmapdata): Add a read-only mmap mapping.
1222
1223 2020-07-22 Kevin Buettner <kevinb@redhat.com>
1224
1225 PR corefiles/25631
1226 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
1227 New test.
1228 * gdb.base/coremaker.c (buf3): New global.
1229 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
1230 flags.
1231
1232 2020-07-22 Kevin Buettner <kevinb@redhat.com>
1233
1234 * gdb.base/coremaker.c (filler_ro): New global constant.
1235
1236 2020-07-22 Tom Tromey <tromey@adacore.com>
1237
1238 * gdb.ada/mi_prot.exp: New file.
1239 * gdb.ada/mi_prot/pkg.adb: New file.
1240 * gdb.ada/mi_prot/pkg.ads: New file.
1241 * gdb.ada/mi_prot/prot.adb: New file.
1242
1243 2020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1244
1245 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
1246 loads two JITers.
1247
1248 2020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
1249
1250 * gdb.python/py-arch-reg-groups.exp: Additional tests.
1251
1252 2020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
1253
1254 * gdb.python/py-arch-reg-names.exp: Additional tests.
1255
1256 2020-07-21 Tom de Vries <tdevries@suse.de>
1257
1258 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
1259 breakpoint locations".
1260 * gdb.reverse/solib-reverse.exp: Same.
1261
1262 2020-07-21 Tom de Vries <tdevries@suse.de>
1263
1264 * gdb.reverse/step-reverse.c (callee): Merge statements.
1265
1266 2020-07-21 Tom de Vries <tdevries@suse.de>
1267
1268 * gdb.fortran/info-modules.exp (info module variables): Allow missing
1269 line numbers for some variables.
1270
1271 2020-07-21 Tom de Vries <tdevries@suse.de>
1272
1273 * gdb.opt/inline-locals.c (init_array): New func.
1274 (func1): Use init_array.
1275 * gdb.opt/inline-locals.exp: Update pattern.
1276
1277 2020-07-21 Tom de Vries <tdevries@suse.de>
1278
1279 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
1280 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
1281
1282 2020-07-20 Ludovic Courtès <ludo@gnu.org>
1283
1284 * gdb.guile/source2.scm: Add #f first argument to 'format'.
1285 * gdb.guile/types-module.exp: Remove "ERROR:" from
1286 regexps since Guile 3.0 no longer prints that.
1287
1288 2020-07-20 Ludovic Courtès <ludo@gnu.org>
1289
1290 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
1291 error regexp to match on Guile 2.2.
1292
1293 2020-07-20 Gary Benson <gbenson@redhat.com>
1294
1295 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
1296 with clang.
1297
1298 2020-07-20 Tom de Vries <tdevries@suse.de>
1299
1300 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
1301 (omp_set_lock_in_order): New function.
1302 (single_scope, multi_scope, nested_func, nested_parallel): Use
1303 omp_set_lock_in_order and omp_unset_lock.
1304 (main): Init and destroy lock and lock2.
1305
1306 2020-07-20 Tom de Vries <tdevries@suse.de>
1307
1308 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
1309
1310 2020-07-20 Tom de Vries <tdevries@suse.de>
1311
1312 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
1313
1314 2020-07-17 Tom de Vries <tdevries@suse.de>
1315
1316 * gdb.base/valgrind-infcall-2.c: New test.
1317 * gdb.base/valgrind-infcall-2.exp: New file.
1318 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
1319
1320 2020-07-17 Tom de Vries <tdevries@suse.de>
1321
1322 * gdb.dlang/circular.c (found): Use found_label as label name.
1323 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
1324 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
1325 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
1326 * gdb.dwarf2/ada-linkage-name.exp: Same.
1327 * gdb.dwarf2/arr-subrange.exp: Same.
1328 * gdb.dwarf2/atomic-type.exp: Same.
1329 * gdb.dwarf2/comp-unit-lang.exp: Same.
1330 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1331 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1332 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
1333 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
1334 * gdb.dwarf2/implptr-64bit.exp: Same.
1335 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
1336 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
1337 * gdb.dwarf2/imported-unit.exp: Same.
1338 * gdb.dwarf2/main-subprogram.exp: Same.
1339 * gdb.dwarf2/missing-type-name.exp: Same.
1340 * gdb.dwarf2/nonvar-access.exp: Same.
1341 * gdb.dwarf2/struct-with-sig.exp: Same.
1342 * gdb.dwarf2/typedef-void-finish.exp: Same.
1343 * gdb.dwarf2/void-type.exp: Same.
1344
1345 2020-07-17 Tom de Vries <tdevries@suse.de>
1346
1347 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
1348 src parameter.
1349 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
1350 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
1351 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1352 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1353 * gdb.dwarf2/dwz.exp: Same.
1354 * gdb.dwarf2/implptr-optimized-out.exp: Same.
1355 * gdb.dwarf2/implref-array.exp: Same.
1356 * gdb.dwarf2/implref-const.exp: Same.
1357 * gdb.dwarf2/implref-global.exp: Same.
1358 * gdb.dwarf2/implref-struct.exp: Same.
1359 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1360 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1361 * gdb.dwarf2/var-access.exp: Same.
1362 * gdb.dwarf2/varval.exp: Same.
1363 * gdb.trace/entry-values.exp: Same.
1364
1365 2020-07-17 Tom de Vries <tdevries@suse.de>
1366
1367 * lib/dwarf.exp (Dwarf::extern): Remove.
1368 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
1369 * gdb.dlang/circular.exp: Same.
1370 * gdb.dwarf2/comp-unit-lang.exp: Same.
1371 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1372 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
1373 * gdb.dwarf2/dwz.exp: Same.
1374 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
1375 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
1376 * gdb.dwarf2/imported-unit.exp: Same.
1377 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1378
1379 2020-07-16 Sandra Loosemore <sandra@codesourcery.com>
1380
1381 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
1382 Use double quotes instead of single quotes.
1383
1384 2020-07-16 Caroline Tice <cmtice@google.com>
1385
1386 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
1387 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
1388
1389 2020-07-16 Tom de Vries <tdevries@suse.de>
1390
1391 * lib/dwarf.exp (program): Initialize _line.
1392 (DW_LNE_end_sequence): Reinitialize _line.
1393 (DW_LNS_advance_line): Update _line.
1394 (line): New proc.
1395 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
1396 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
1397 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
1398 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
1399 * gdb.dwarf2/dw2-is-stmt.exp: Same.
1400 * gdb.dwarf2/dw2-ranges-func.exp: Same.
1401
1402 2020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
1403
1404 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
1405 generic.
1406
1407 2020-07-15 Tom de Vries <tdevries@suse.de>
1408
1409 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
1410 is_amd64_regs_target.
1411
1412 2020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
1413
1414 * gdb.fortran/ptype-on-functions.exp: Add more tests.
1415 * gdb.fortran/ptype-on-functions.f90: Likewise.
1416
1417 2020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
1418
1419 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
1420 values in documentation for addr_size to 4 and 8.
1421
1422 2020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
1423
1424 * gdb.arch/amd64-osabi.exp: Update.
1425 * gdb.arch/arm-disassembler-options.exp: Update.
1426 * gdb.arch/powerpc-disassembler-options.exp: Update.
1427 * gdb.arch/ppc64-symtab-cordic.exp: Update.
1428 * gdb.arch/s390-disassembler-options.exp: Update.
1429 * gdb.base/all-architectures.exp.tcl: Update.
1430 * gdb.base/attach-pie-noexec.exp: Update.
1431 * gdb.base/catch-syscall.exp: Update.
1432 * gdb.xml/tdesc-arch.exp: Update.
1433
1434 2020-07-14 Tom de Vries <tdevries@suse.de>
1435
1436 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
1437 (local_gettid): ... this.
1438 (fn): Update.
1439
1440 2020-07-13 Sandra Loosemore <sandra@codesourcery.com>
1441
1442 * gdb.base/info_sources.exp: Skip directory match tests on
1443 remote hosts.
1444
1445 2020-07-13 Gary Benson <gbenson@redhat.com>
1446
1447 * gdb.base/savedregs.exp (caller): Use parentheses to
1448 make expected expression evaluation ordering explicit.
1449
1450 2020-07-13 Gary Benson <gbenson@redhat.com>
1451
1452 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
1453
1454 2020-07-13 Gary Benson <gbenson@redhat.com>
1455
1456 * gdb.base/bigcore.c (main): Use a volatile pointer when
1457 attempting to trigger a SIGSEGV.
1458 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
1459 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
1460 * gdb.base/savedregs.c (thrower): Likewise.
1461 * gdb.mi/mi-syn-frame.c (bar): Likewise.
1462
1463 2020-07-13 Gary Benson <gbenson@redhat.com>
1464
1465 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
1466 defining and using VLA structure fields into...
1467 * gdb.base/vla-struct-fields.c: New file.
1468 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
1469 tests into...
1470 * gdb.base/vla-struct-fields.exp: New file.
1471
1472 2020-07-13 Tom de Vries <tdevries@suse.de>
1473
1474 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
1475 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
1476 * gdb.base/gold-gdb-index.exp: Same.
1477 * gdb.base/morestack.exp: Same.
1478
1479 2020-07-11 Daniel Xu <dxu@dxuuu.xyz>
1480
1481 PR rust/26121
1482 * gdb.rust/modules.rs: Prevent linker from discarding test
1483 symbol.
1484
1485 2020-07-10 Pedro Alves <pedro@palves.net>
1486
1487 PR gdb/26199
1488 * gdb.multi/multi-target.c (exit_thread): New.
1489 (thread_start): Break loop if EXIT_THREAD.
1490 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
1491 (top level) Call test_no_resumed.
1492
1493 2020-07-08 Tom Tromey <tromey@adacore.com>
1494
1495 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
1496 * gdb.ada/catch_ex.exp: Examine catchpoint text.
1497
1498 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1499
1500 PR python/22748
1501 * gdb.opt/inline-frame-tailcall.c: New file.
1502 * gdb.opt/inline-frame-tailcall.exp: New file.
1503 * gdb.python/py-unwind-inline.c: New file.
1504 * gdb.python/py-unwind-inline.exp: New file.
1505 * gdb.python/py-unwind-inline.py: New file.
1506
1507 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1508
1509 * gdb.python/py-arch-reg-groups.exp: New file.
1510
1511 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1512
1513 * gdb.python/py-arch-reg-names.exp: New file.
1514
1515 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1516
1517 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
1518 gdb.PendingFrame.architecture method.
1519
1520 2020-07-06 Tom de Vries <tdevries@suse.de>
1521
1522 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
1523
1524 2020-07-03 Pedro Alves <palves@redhat.com>
1525
1526 * gdb.base/structs2.c (main): Adjust second parem_reg call to
1527 explicitly write negative numbers.
1528 * gdb.base/structs2.exp: Adjust expected output.
1529
1530 2020-07-03 Pedro Alves <palves@redhat.com>
1531
1532 * gdb.base/charset.c (init_string): Change all char parameters to
1533 unsigned char parameters.
1534
1535 2020-07-03 Pedro Alves <palves@redhat.com>
1536
1537 * gdb.base/call-sc.exp (start_scalars_test): Use
1538 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1539 * gdb.base/overlays.c: Remove references to PARAMS.
1540 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
1541 * gdb.base/reread.exp: Don't set 'prototypes' global.
1542 * gdb.base/structs.exp (start_structs_test): Use
1543 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1544 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
1545 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1546 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
1547 call.
1548 * gdb.base/varargs.exp: Don't set 'prototypes' global.
1549
1550 2020-07-03 Pedro Alves <palves@redhat.com>
1551
1552 * gdb.base/m32rovly.c: Delete.
1553 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
1554
1555 2020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1556
1557 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
1558 of gdb_py_test_multiple.
1559 * gdb.python/py-cmd.exp: Likewise.
1560 * gdb.python/py-events.exp: Likewise.
1561 * gdb.python/py-function.exp: Likewise.
1562 * gdb.python/py-inferior.exp: Likewise.
1563 * gdb.python/py-infthread.exp: Likewise.
1564 * gdb.python/py-linetable.exp: Likewise.
1565 * gdb.python/py-parameter.exp: Likewise.
1566 * gdb.python/py-value.exp: Likewise.
1567
1568 2020-06-30 Tom de Vries <tdevries@suse.de>
1569
1570 PR testsuite/26175
1571 * lib/future.exp (gdb_default_target_compile): Detect and handle
1572 early_flags.
1573
1574 2020-06-29 Simon Marchi <simon.marchi@efficios.com>
1575
1576 * boards/simavr.exp (gdb_load): Catch errors when closing
1577 previous connection. Close connection, wait for process and
1578 unset simavr_spawn_id on failure.
1579
1580 2020-06-29 Tom de Vries <tdevries@suse.de>
1581
1582 * lib/gdb.exp (unknown): Make test-case unresolved.
1583
1584 2020-06-29 Tom de Vries <tdevries@suse.de>
1585
1586 PR gdb/25475
1587 * gdb.server/solib-list.exp: Verify that the symbol reload
1588 confirmation question is asked.
1589
1590 2020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1591
1592 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
1593 have a input seq nr in each pass message.
1594 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
1595 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
1596 * gdb.python/python.exp: Make test names unique,
1597 use gdb_test_multiline instead of gdb_py_test_multiple,
1598 use $gdb_test_name.
1599 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
1600
1601 2020-06-26 Nick Alcock <nick.alcock@oracle.com>
1602
1603 * configure.ac: Add --enable-libctf.
1604 * aclocal.m4: sinclude ../config/enable.m4.
1605 * Makefile.in (site.exp): Add enable_libctf to site.exp.
1606 * lib/gdb.exp (skip_ctf_tests): Use it.
1607 * gdb.base/ctf-constvars.exp: Error message tweak.
1608 * gdb.base/ctf-ptype.exp: Likewise.
1609 * configure: Regenerate.
1610
1611 2020-06-26 Gary Benson <gbenson@redhat.com>
1612
1613 * gdb.cp/try_catch.cc: Include string.h.
1614 (main): Replace comparison against string literal with
1615 strcmp, avoiding build failure with -Wstring-compare.
1616 Add "marker test-complete".
1617 * gdb.cp/try_catch.exp: Run the test to the above marker,
1618 then verify that the value of "test" is still true.
1619
1620 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1621
1622 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
1623
1624 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1625
1626 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
1627
1628 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1629
1630 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
1631 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
1632 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
1633 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
1634 * gdb.arch/riscv-tdesc-loading.exp: New file.
1635
1636 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1637
1638 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
1639
1640 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1641
1642 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
1643 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
1644 * gdb.arch/riscv-tdesc-regs.c: New file.
1645 * gdb.arch/riscv-tdesc-regs.exp: New file.
1646
1647 2020-06-24 Pedro Alves <palves@redhat.com>
1648
1649 * gdb.arch/amd64-entry-value-paramref.exp: Use
1650 prepare_for_testing_full and don't pass "c++" for the .S file
1651 build spec.
1652 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
1653 $options, since it's an assembly file. Remove -Wno-deprecated.
1654 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
1655 compiling C++ programs.
1656
1657 2020-06-24 Pedro Alves <palves@redhat.com>
1658
1659 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
1660 Clang, add "-Wno-unknown-warning-option" to the options.
1661
1662 2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
1663
1664 * gdb.xml/tdesc-reload.c: New file.
1665 * gdb.xml/tdesc-reload.exp: New file.
1666 * gdb.xml/maint-xml-dump-01.xml: New file.
1667 * gdb.xml/maint-xml-dump-02.xml: New file.
1668 * gdb.xml/maint-xml-dump.exp: New file.
1669
1670 2020-06-23 Sandra Loosemore <sandra@codesourcery.com>
1671
1672 * lib/completion-support.exp (test_gdb_completion_offers_commands):
1673 Adjust for omitted commands when TUI is disabled.
1674
1675 2020-06-23 Gary Benson <gbenson@redhat.com>
1676 Pedro Alves <palves@redhat.com>
1677
1678 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
1679 * gdb.cp/nsimport.cc: Likewise.
1680 * gdb.cp/nsnested.cc: Likewise.
1681 * gdb.cp/nsnoimports.cc: Likewise.
1682 * gdb.cp/nsusing.cc: Likewise.
1683 * gdb.cp/smartp.cc: Likewise.
1684 * gdb.python/py-pp-integral.c: Likewise.
1685 * gdb.python/py-pp-re-notag.c: Likewise.
1686
1687 2020-06-23 Gary Benson <gbenson@redhat.com>
1688
1689 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
1690 * gdb.cp/nsimport.cc: Likewise.
1691 * gdb.cp/nsnested.cc: Likewise.
1692 * gdb.cp/nsnoimports.cc: Likewise.
1693 * gdb.cp/nsusing.cc: Likewise.
1694 * gdb.cp/smartp.cc: Likewise.
1695 * gdb.python/py-pp-integral.c: Likewise.
1696 * gdb.python/py-pp-re-notag.c: Likewise.
1697
1698 2020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1699
1700 * gdb.base/default-args.exp: New test.
1701 * gdb.base/default-args.c: New file.
1702 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
1703 * gdb.base/default.exp: Update to new help text.
1704 * gdb.base/help.exp: Likewise.
1705 * gdb.base/page.exp: Likewise.
1706 * gdb.base/style.exp: Likewise.
1707 * gdb.guile/guile.exp: Likewise.
1708 * gdb.python/python.exp: Likewise.
1709
1710 2020-06-22 Sandra Loosemore <sandra@codesourcery.com>
1711
1712 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
1713 remote host. Fix search path syntax on Windows host.
1714
1715 2020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1716
1717 * gdb.base/attach.exp: Test priority of 'exec-file' changed
1718 over 'exec-file-mismatch'.
1719 * gdb.base/attach.c: Mark should_exit volatile.
1720 * gdb.base/attach2.c: Likewise. Add a comment explaining
1721 why the sleep cannot be big.
1722 * gdb.base/attach3.c: New file.
1723
1724 2020-06-20 Sandra Loosemore <sandra@codesourcery.com>
1725
1726 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
1727 prefix optional.
1728
1729 2020-06-20 Sandra Loosemore <sandra@codesourcery.com>
1730
1731 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
1732 for remote host.
1733
1734 2020-06-19 Sandra Loosemore <sandra@codesourcery.com>
1735 Hafiz Abid Qadeer <abidh@codesourcery.com>
1736
1737 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
1738 file sent to remote host.
1739 (top level): Allow int32_t as type of 32-bit register.
1740
1741 2020-06-19 Tom de Vries <tdevries@suse.de>
1742
1743 * lib/gdb.exp (gdb_note): New proc.
1744 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
1745 (gdb_default_target_compile): ... here. Only call
1746 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
1747 (use_gdb_compile): Change to array.
1748 (toplevel): Update sets of use_gdb_compile to specify language.
1749 Warn about default_target_compile override. Store dejagnu's version
1750 of default_target_compile in dejagnu_default_target_compile.
1751
1752 2020-06-18 Tom de Vries <tdevries@suse.de>
1753
1754 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
1755 (default_gdb_init): ... here.
1756
1757 2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
1758
1759 Fix TUI support checks in gdb.tui tests.
1760
1761 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
1762 just say UNSUPPORTED.
1763 * gdb.tui/corefile-run.exp: Likewise.
1764 * gdb.tui/empty.exp: Likewise.
1765 * gdb.tui/list-before.exp: Likewise.
1766 * gdb.tui/list.exp: Likewise.
1767 * gdb.tui/main.exp: Likewise.
1768 * gdb.tui/regs.exp: Likewise.
1769 * gdb.tui/resize.exp: Likewise.
1770 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
1771 * gdb.tui/tui-layout-asm.exp: Likewise.
1772 * gdb.tui/tui-missing-src.exp: Likewise.
1773 * gdb.tui/winheight.exp: Likewise.
1774 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
1775
1776 2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
1777
1778 Fix TCL error in gdb.python/py-format-string.exp.
1779
1780 * gdb.python/py-format-string.exp: Move test for python support
1781 earlier, out of function body.
1782
1783 2020-06-15 Simon Marchi <simon.marchi@efficios.com>
1784
1785 * gdb.base/index-cache-load-twice.c: New.
1786 * gdb.base/index-cache-load-twice.exp: New.
1787
1788 2020-06-17 Keith Seitz <keiths@redhat.com>
1789
1790 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
1791 when executing "gdb --configuration".
1792
1793 2020-06-17 Tom de Vries <tdevries@suse.de>
1794
1795 * lib/gdb.exp (gdb_tcl_unknown): New proc.
1796 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
1797 conditional on presence of gdb_tcl_unknown.
1798 (gdb_finish): Make override undo conditional on presence of
1799 gdb_tcl_unknown.
1800
1801 2020-06-16 Tom Tromey <tom@tromey.com>
1802
1803 * gdb.python/tui-window.py (failwin): New function. Register it
1804 as a TUI window type.
1805 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
1806
1807 2020-06-16 Gary Benson <gbenson@redhat.com>
1808
1809 * gdb.python/py-nested-maps.c (create_map): Add missing return
1810 value.
1811 (create_map_map): Likewise.
1812
1813 2020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1814
1815 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
1816 variable.
1817 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
1818 and use the already-defined 'options' variable.
1819
1820 2020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
1821 Tom de Vries <tdevries@suse.de>
1822
1823 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
1824 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
1825 (gdb_setup_known_globals): New proc.
1826 (gdb_cleanup_globals): New proc.
1827 * lib/gdb.exp (load_lib): New override proc.
1828 (gdb_stdin_log_init): Set var in_file as persistent global.
1829 * lib/pascal.exp (gdb_stdin_log_init): Set vars
1830 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
1831 fpc_compiler as persistent global.
1832
1833 2020-06-12 Tom de Vries <tdevries@suse.de>
1834
1835 * lib/tuiterm.exp (spawn): Rename to ...
1836 (tui_spawn): ... this.
1837 (toplevel): Move rename of spawn ...
1838 (gdb_init_tuiterm): ... here. New proc.
1839 (gdb_finish_tuiterm): New proc.
1840 * lib/gdb.exp (gdb_finish_hooks): New global var.
1841 (gdb_finish): Handle gdb_finish_hooks.
1842 (tuiterm_env): New proc.
1843 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
1844 tuiterm_env.
1845 * gdb.tui/basic.exp: Same.
1846 * gdb.tui/corefile-run.exp: Same.
1847 * gdb.tui/empty.exp: Same.
1848 * gdb.tui/list-before.exp: Same.
1849 * gdb.tui/list.exp: Same.
1850 * gdb.tui/main.exp: Same.
1851 * gdb.tui/new-layout.exp: Same.
1852 * gdb.tui/regs.exp: Same.
1853 * gdb.tui/resize.exp: Same.
1854 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
1855 * gdb.tui/tui-layout-asm.exp: Same.
1856 * gdb.tui/tui-missing-src.exp: Same.
1857 * gdb.tui/winheight.exp: Same.
1858
1859 2020-06-12 Tom de Vries <tdevries@suse.de>
1860
1861 PR testsuite/26110
1862 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
1863 (gdb_finish): Reinstall dejagnu's override of ::unknown.
1864
1865 2020-06-11 Tom Tromey <tom@tromey.com>
1866
1867 PR gdb/18318:
1868 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
1869 floating point tests.
1870
1871 2020-06-11 Keith Seitz <keiths@redhat.com>
1872
1873 PR gdb/21356
1874 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
1875 vla_struct.
1876 Add new struct vla_typedef and union vla_typedef_union and
1877 corresponding instantiation objects.
1878 Initialize new objects.
1879 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
1880 and vla_typedef_union_object.
1881 Fixup type for vla_struct_object.
1882
1883 2020-06-11 Tom de Vries <tdevries@suse.de>
1884
1885 * lib/gdb.exp (with_override): New proc, factored out of ...
1886 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
1887
1888 2020-06-10 Tom de Vries <tdevries@suse.de>
1889
1890 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
1891
1892 2020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
1893
1894 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
1895 parameter, update callers.
1896
1897 2020-06-04 Simon Marchi <simon.marchi@efficios.com>
1898
1899 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
1900 * gdb.dwarf2/share-psymtabs-bt.c: New file.
1901 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
1902
1903 2020-06-04 Tom de Vries <tdevries@suse.de>
1904
1905 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
1906
1907 2020-06-04 Tom de Vries <tdevries@suse.de>
1908
1909 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
1910 exp_continue.
1911
1912 2020-06-04 Tom de Vries <tdevries@suse.de>
1913
1914 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
1915
1916 2020-06-03 Tom de Vries <tdevries@suse.de>
1917
1918 PR symtab/26046
1919 * gdb.cp/breakpoint-locs-2.cc: New test.
1920 * gdb.cp/breakpoint-locs.cc: New test.
1921 * gdb.cp/breakpoint-locs.exp: New file.
1922 * gdb.cp/breakpoint-locs.h: New test.
1923
1924 2020-06-03 Tom de Vries <tdevries@suse.de>
1925
1926 PR testsuite/25609
1927 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
1928 value of global verbose.
1929 * gdb.base/jit-elf.exp: Same.
1930 * gdb.base/jit-reader.exp: Same.
1931
1932 2020-06-02 Tom de Vries <tdevries@suse.de>
1933
1934 * gdb.dwarf2/multidictionary.exp: Don't use
1935 gdb_spawn_with_cmdline_opts.
1936
1937 2020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
1938
1939 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
1940 use_header case.
1941 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
1942 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
1943 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
1944 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
1945 * gdb.dwarf2/dw2-inline-header.c: New file.
1946 * gdb.dwarf2/dw2-inline-header.h: New file.
1947
1948 2020-05-30 Pedro Alves <palves@redhat.com>
1949
1950 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
1951 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
1952
1953 2020-05-29 Gary Benson <gbenson@redhat.com>
1954
1955 * gdb.compile/compile-cplus.exp (additional_flags): Also
1956 set when building with clang.
1957 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
1958 when building with clang.
1959
1960 2020-05-29 Gary Benson <gbenson@redhat.com>
1961
1962 * gdb.arch/i386-avx.exp (additional_flags): Also set when
1963 building with clang.
1964 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
1965
1966 2020-05-29 Gary Benson <gbenson@redhat.com>
1967
1968 * gdb.cp/koenig.exp (prepare_for_testing): Add
1969 additional_flags=-Wno-unused-comparison.
1970 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
1971
1972 2020-05-28 Gary Benson <gbenson@redhat.com>
1973
1974 * gdb.base/sigaltstack.c (catcher): Add default case to switch
1975 statement.
1976
1977 2020-05-28 Gary Benson <gbenson@redhat.com>
1978
1979 * gdb.cp/classes.exp (prepare_for_testing): Add
1980 additional_flags=-Wno-deprecated-register.
1981 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
1982 * gdb.cp/misc.exp: Likewise.
1983
1984 2020-05-28 Gary Benson <gbenson@redhat.com>
1985
1986 * gdb.linespec/cpls-ops.cc (dummy): New static global.
1987 (test_op_new::operator new): Add return statement.
1988 (test_op_new_array::operator new[]): Likewise.
1989
1990 2020-05-27 Pedro Alves <palves@redhat.com>
1991
1992 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
1993 check. Use test_gdb_complete_unique instead of
1994 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
1995 test_gdb_complete_multiple instead of
1996 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
1997
1998 2020-05-27 Luis Machado <luis.machado@linaro.org>
1999
2000 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
2001 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
2002 * gdb.arch/arm-disassembler-options.exp: Likewise.
2003 * gdb.arch/arm-disp-step.exp: Likewise.
2004 * gdb.arch/thumb-prologue.exp: Likewise.
2005 * gdb.base/async.exp: Likewise.
2006 * gdb.base/auxv.exp: Likewise.
2007 * gdb.base/complex-parts.exp: Likewise.
2008 * gdb.base/ena-dis-br.exp: Likewise.
2009 * gdb.base/foll-exec.exp: Likewise.
2010 * gdb.base/permissions.exp: Likewise.
2011 * gdb.base/relocate.exp: Likewise.
2012 * gdb.base/return2.exp: Likewise.
2013 * gdb.base/sigbpt.exp: Likewise.
2014 * gdb.base/siginfo-obj.exp: Likewise.
2015 * gdb.cp/converts.exp: Likewise.
2016 * gdb.cp/exceptprint.exp: Likewise.
2017 * gdb.cp/inherit.exp: Likewise.
2018 * gdb.cp/nsnoimports.exp: Likewise.
2019 * gdb.cp/virtbase2.exp: Likewise.
2020 * gdb.mi/mi-var-cmd.exp: Likewise.
2021 * gdb.mi/var-cmd.c: Likewise.
2022
2023 2020-05-26 Tom Tromey <tromey@adacore.com>
2024
2025 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
2026
2027 2020-05-26 Tom Tromey <tromey@adacore.com>
2028
2029 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
2030 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
2031 type.
2032 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
2033 variable.
2034
2035 2020-05-26 Christian Biesinger <cbiesinger@google.com>
2036
2037 * Makefile.in: Use = instead of == for the test command
2038 for portability.
2039
2040 2020-05-26 Tom de Vries <tdevries@suse.de>
2041
2042 * gdb.base/gold-gdb-index-2.c: New test.
2043 * gdb.base/gold-gdb-index.c: New test.
2044 * gdb.base/gold-gdb-index.exp: New file.
2045 * gdb.base/gold-gdb-index.h: New test.
2046
2047 2020-05-25 Tom de Vries <tdevries@suse.de>
2048
2049 * boards/gold-gdb-index.exp: New file.
2050
2051 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
2052
2053 * boards/simavr.exp: New file.
2054
2055 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
2056
2057 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
2058 * gdb.base/inferior-args.exp: New file.
2059 * gdb.base/inferior-args.c: New file.
2060
2061 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
2062
2063 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
2064 inferior_args. Pass it to gdb_reload.
2065 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
2066 inferior_args.
2067 (gdb_reload): Add inferior_args argument.
2068 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
2069 pass it to gdbserver_run.
2070 * boards/native-gdbserver.exp: Do not set noargs.
2071 * boards/native-extended-gdbserver.exp (gdb_reload): Add
2072 inferior_args argument.
2073 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
2074 * gdb.base/a2-run.exp: Check for use_gdb_stub.
2075 * gdb.base/args.exp: Likewise.
2076
2077 2020-05-25 Tom de Vries <tdevries@suse.de>
2078
2079 * lib/gdb.exp (exec_is_pie): Add comment.
2080
2081 2020-05-25 Tom de Vries <tdevries@suse.de>
2082
2083 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
2084 instead of $binfile in the untested message.
2085
2086 2020-05-25 Tom de Vries <tdevries@suse.de>
2087
2088 PR testsuite/26031
2089 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
2090
2091 2020-05-25 Tom de Vries <tdevries@suse.de>
2092
2093 * boards/gold.exp: New file.
2094
2095 2020-05-23 Tom Tromey <tom@tromey.com>
2096
2097 * gdb.base/style.exp: Remove completion styling test.
2098 * lib/gdb-utils.exp (style): Remove completion styles.
2099
2100 2020-05-23 Tom Tromey <tom@tromey.com>
2101
2102 * gdb.base/style.exp: Add completion styling test.
2103 * lib/gdb-utils.exp (style): Add completion styles.
2104
2105 2020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
2106
2107 * gdb.base/annota1.exp: Update expected results.
2108 * gdb.cp/annota2.exp: Update expected results, remove duplicate
2109 test name.
2110 * gdb.cp/annota3.exp: Update expected results.
2111
2112 2020-05-20 Simon Marchi <simon.marchi@efficios.com>
2113
2114 PR gdb/26016
2115 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
2116 against MAP_FAILED.
2117 * gdb.base/coremaker.c (mmapdata): Likewise.
2118 * gdb.base/jit-reader-host.c (main): Likewise.
2119 * gdb.base/sym-file-loader.c (load): Likewise.
2120 (load_shlib): Likewise.
2121
2122 2020-05-20 Tom Tromey <tromey@adacore.com>
2123
2124 * gdb.ada/array_char_idx.exp: Recognize initialized array.
2125
2126 2020-05-20 Tom de Vries <tdevries@suse.de>
2127
2128 PR symtab/25833
2129 * gdb.base/with-mf-inc.c: New test.
2130 * gdb.base/with-mf-main.c: New test.
2131 * gdb.base/with-mf.exp: New file.
2132
2133 2020-05-19 Tom Tromey <tromey@adacore.com>
2134
2135 * gdb.rust/simple.exp: Restore missing test result.
2136
2137 2020-05-19 Tom de Vries <tdevries@suse.de>
2138
2139 * gdb.base/gdb-caching-proc.exp: Fix typo.
2140
2141 2020-05-19 Tom Tromey <tromey@adacore.com>
2142
2143 * gdb.rust/simple.exp: Add some test descriptions.
2144 (test_one_slice): Use with_test_prefix.
2145
2146 2020-05-18 Tom de Vries <tdevries@suse.de>
2147
2148 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
2149
2150 2020-05-17 Pedro Alves <palves@redhat.com>
2151
2152 PR gdb/25741
2153 * gdb.base/hw-sw-break-same-address.exp: New file.
2154
2155 2020-05-16 Pedro Alves <palves@redhat.com>
2156
2157 * gdb.multi/multi-re-run.exp (test_re_run): Switch
2158 LAST_LOADED_FILE accordingly.
2159
2160 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2161
2162 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
2163
2164 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2165
2166 * gdb.base/help.exp: Test apropos and help for commands
2167 having aliases. Fixed comments not starting with an
2168 upper-case letter or not finishing with a dot.
2169
2170 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2171
2172 * gdb.base/alias.exp: Update help output check.
2173
2174 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2175
2176 * gdb.base/default.exp: Update output following fixes.
2177
2178 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2179
2180 * gdb.base/alias.exp: Test aliases starting with a prefix of
2181 another alias.
2182
2183 2020-05-15 Gary Benson <gbenson@redhat.com>
2184
2185 * gdb.base/info-os.c (main): Add return statement.
2186 * gdb.base/info_minsym.c (minsym_fun): Likewise.
2187 * gdb.base/large-frame-2.c (func): Likewise.
2188 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
2189 * gdb.base/pr10179-b.c (foo2): Likewise.
2190 * gdb.base/valgrind-disp-step.c (foo): Likewise.
2191 * gdb.base/watch-cond.c (func): Likewise.
2192 * gdb.multi/goodbye.c (verylongfun): Likewise.
2193 * gdb.multi/hello.c (commonfun): Likewise.
2194 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
2195 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
2196 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
2197 Likewise.
2198 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
2199 * gdb.threads/interrupt-while-step-over.c (child_function):
2200 Likewise.
2201 * gdb.trace/actions-changed.c (end): Likewise.
2202
2203 2020-05-15 Gary Benson <gbenson@redhat.com>
2204
2205 * gdb.opencl/callfuncs.exp: Report when test skipped.
2206 * gdb.opencl/convs_casts.exp: Likewise.
2207 * gdb.opencl/datatypes.exp: Likewise.
2208 * gdb.opencl/operators.exp: Likewise.
2209 * gdb.opencl/vec_comps.exp: Likewise.
2210
2211 2020-05-15 Tom de Vries <tdevries@suse.de>
2212
2213 * gdb.base/align.exp.in: Rename to ...
2214 * gdb.base/align.exp.tcl: ... this.
2215 * gdb.base/align-c++.exp: Update.
2216 * gdb.base/align-c.exp: Update.
2217 * gdb.base/all-architectures.exp.in: Rename to ...
2218 * gdb.base/all-architectures.exp: ... this.
2219 * gdb.base/all-architectures-0.exp: Update.
2220 * gdb.base/all-architectures-1.exp: Update.
2221 * gdb.base/all-architectures-2.exp: Update.
2222 * gdb.base/all-architectures-3.exp: Update.
2223 * gdb.base/all-architectures-4.exp: Update.
2224 * gdb.base/all-architectures-5.exp: Update.
2225 * gdb.base/all-architectures-6.exp: Update.
2226 * gdb.base/all-architectures-7.exp: Update.
2227 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
2228 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
2229 * gdb.base/infcall-nested-structs-c++.exp: Update.
2230 * gdb.base/infcall-nested-structs-c.exp: Update.
2231 * gdb.base/info-types.exp.in: Rename to ...
2232 * gdb.base/info-types.exp.tcl: ... this.
2233 * gdb.base/info-types-c++.exp: Update.
2234 * gdb.base/info-types-c.exp: Update.
2235 * gdb.base/max-depth.exp.in: Rename to ...
2236 * gdb.base/max-depth.exp.tcl: ... this.
2237 * gdb.base/max-depth-c++.exp: Update.
2238 * gdb.base/max-depth-c.exp: Update.
2239 * gdb.cp/cpexprs.exp.in: Rename to ...
2240 * gdb.cp/cpexprs.exp.tcl: ... this.
2241 * gdb.cp/cpexprs-debug-types.exp: Update.
2242 * gdb.cp/cpexprs.exp: Update.
2243 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
2244 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
2245 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
2246 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
2247 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
2248 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
2249 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
2250 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
2251 * gdb.dwarf2/clang-debug-names-2.exp: Update.
2252 * gdb.dwarf2/clang-debug-names.exp: Update.
2253
2254 2020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
2255
2256 * lib/check-test-names.exp: Remove code that prevents this file
2257 loading when tests are run in parallel.
2258
2259 2020-05-15 Pedro Alves <palves@redhat.com>
2260
2261 * gdb.multi/multi-kill.exp (start_inferior): Remove
2262 'testpid' parameter. Refer to namespace variable directly.
2263 (testpid): Declare as namespace variable.
2264
2265 2020-05-15 Pedro Alves <palves@redhat.com>
2266
2267 * gdb.multi/multi-kill.exp: Wrap in namespace.
2268 (start_inferior): Add TESTPID parameter. Use it instead of the
2269 testpid global.
2270 (top level): Define empty TESTPID array, and pass it down to
2271 start_inferior.
2272
2273 2020-05-14 Tom de Vries <tdevries@suse.de>
2274
2275 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
2276 output.
2277
2278 2020-05-14 Tom de Vries <tdevries@suse.de>
2279
2280 * gdb.base/align.exp: Split into ...
2281 * gdb.base/align.exp.in: ...
2282 * gdb.base/align-c++.exp: ...
2283 * gdb.base/align-c.exp: ... these.
2284 * gdb.base/infcall-nested-structs.exp: Split into ...
2285 * gdb.base/infcall-nested-structs.exp.in: ...
2286 * gdb.base/infcall-nested-structs-c++.exp: ...
2287 * gdb.base/infcall-nested-structs-c.exp: ... these.
2288 * gdb.base/info-types.exp: Split into ...
2289 * gdb.base/info-types.exp.in: ...
2290 * gdb.base/info-types-c++.exp: ...
2291 * gdb.base/info-types-c.exp: ... these.
2292 * gdb.base/max-depth.exp: Split into ...
2293 * gdb.base/max-depth.exp.in: ...
2294 * gdb.base/max-depth-c++.exp: ...
2295 * gdb.base/max-depth-c.exp: ... these.
2296 * gdb.cp/infcall-nodebug.exp: Split into ...
2297 * gdb.cp/infcall-nodebug.exp.in: ...
2298 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
2299 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
2300 * gdb.cp/infcall-nodebug-c-d0.exp: ...
2301 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
2302
2303 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2304 Pedro Alves <palves@redhat.com>
2305
2306 * gdb.multi/multi-exit.c: New file.
2307 * gdb.multi/multi-exit.exp: New file.
2308 * gdb.multi/multi-kill.c: New file.
2309 * gdb.multi/multi-kill.exp: New file.
2310
2311 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2312
2313 * gdb.base/annota1.exp: Update the expected output.
2314 * gdb.cp/annota2.exp: Ditto.
2315
2316 2020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
2317
2318 * lib/check-test-names.exp: Disable when testing is being run in
2319 parallel.
2320
2321 2020-05-12 Tom de Vries <tdevries@suse.de>
2322
2323 * gdb.base/jit-elf.exp: Fix string concat.
2324
2325 2020-05-12 Tom de Vries <tdevries@suse.de>
2326
2327 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
2328 messages.
2329
2330 2020-05-12 Tom de Vries <tdevries@suse.de>
2331
2332 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
2333
2334 2020-05-12 Tom de Vries <tdevries@suse.de>
2335
2336 * gdb.ada/catch_ex.exp: Use with_test_prefix.
2337 * gdb.ada/mi_catch_ex.exp: Same.
2338 * gdb.ada/mi_catch_ex_hand.exp: Same.
2339
2340 2020-05-12 Tom de Vries <tdevries@suse.de>
2341
2342 * gdb.fortran/complex.exp: Use with_test_prefix.
2343
2344 2020-05-12 Tom de Vries <tdevries@suse.de>
2345
2346 * gdb.trace/passcount.exp: Fix test-names.
2347
2348 2020-05-12 Tom de Vries <tdevries@suse.de>
2349
2350 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
2351
2352 2020-05-12 Tom de Vries <tdevries@suse.de>
2353
2354 * gdb.gdb/complaints.exp: Use with_test_prefix.
2355 * gdb.xml/tdesc-regs.exp: Same.
2356 * gdb.opt/inline-locals.exp: Fix test name.
2357
2358 2020-05-12 Tom de Vries <tdevries@suse.de>
2359
2360 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
2361 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
2362 * gdb.dwarf2/implref-struct.exp: Same.
2363 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
2364 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
2365
2366 2020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
2367
2368 * gdb.base/jit-so.exp (one_jit_test): Change test name.
2369
2370 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
2371
2372 * lib/check-test-names.exp (all_test_names): New module variable.
2373 (counts): Add 'duplicates' field.
2374 (_check_duplicates): New procedure.
2375 (check): Also check for duplicates.
2376 (do_log_summary): Print duplicates count.
2377 (do_reset_vars): Reset counter for duplicate test names, and
2378 discard all know test names.
2379
2380 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
2381
2382 * lib/gdb.exp: Include check-test-names.exp library.
2383 * lib/check-test-names.exp: New file.
2384
2385 2020-05-11 Tom de Vries <tdevries@suse.de>
2386
2387 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
2388
2389 2020-05-11 Keith Seitz <keiths@redhat.com>
2390
2391 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
2392
2393 2020-05-11 Tom de Vries <tdevries@suse.de>
2394
2395 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
2396 * gdb.cp/cpexprs.exp.in: .. here.
2397 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
2398 cpexprs.exp.
2399
2400 2020-05-11 Keith Seitz <keiths@redhat.com>
2401
2402 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
2403 test names.
2404 * gdb.ada/arrayptr.exp: Likewise.
2405 * gdb.ada/assign_arr.exp: Likewise.
2406 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
2407 * gdb.ada/bp_on_var.exp: Likewise.
2408 * gdb.ada/call_pn.exp: Likewise.
2409 * gdb.ada/complete.exp: Likewise.
2410 * gdb.ada/fun_overload_menu.exp: Likewise.
2411 * gdb.ada/funcall_param.exp: Likewise.
2412 * gdb.ada/funcall_ref.exp: Likewise.
2413 * gdb.ada/packed_array_assign.exp: Likewise.
2414 * gdb.ada/same_component_name.exp: Likewise.
2415 * gdb.ada/type_coercion.exp: Likewise.
2416 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
2417 * gdb.ada/variant_record_packed_array.exp: Likewise.
2418
2419 2020-05-11 Tom de Vries <tdevries@suse.de>
2420
2421 PR symtab/25941
2422 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
2423 out of ...
2424 * gdb.dwarf2/clang-debug-names.exp: ... here.
2425 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
2426 clang-debug-names.exp.in.
2427 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
2428 * gdb.dwarf2/clang-debug-names-2.c: New test.
2429
2430 2020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
2431
2432 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
2433 (fortran_runto_main): New Proc, fortran version of runto_main.
2434 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
2435 * gdb.fortran/array-bounds.exp: Likewise.
2436 * gdb.fortran/array-slices.exp: Likewise.
2437 * gdb.fortran/block-data.exp: Likewise.
2438 * gdb.fortran/charset.exp: Likewise.
2439 * gdb.fortran/common-block.exp: Likewise.
2440 * gdb.fortran/complex.exp: Likewise.
2441 * gdb.fortran/derived-type-function.exp: Likewise.
2442 * gdb.fortran/derived-type.exp: Likewise.
2443 * gdb.fortran/info-modules.exp: Likewise.
2444 * gdb.fortran/info-types.exp: Likewise.
2445 * gdb.fortran/intrinsics.exp: Likewise.
2446 * gdb.fortran/library-module.exp: Likewise.
2447 * gdb.fortran/logical.exp: Likewise.
2448 * gdb.fortran/max-depth.exp: Likewise.
2449 * gdb.fortran/module.exp: Likewise.
2450 * gdb.fortran/multi-dim.exp: Likewise.
2451 * gdb.fortran/nested-funcs.exp: Likewise.
2452 * gdb.fortran/print-formatted.exp: Likewise.
2453 * gdb.fortran/print_type.exp: Likewise.
2454 * gdb.fortran/printing-types.exp: Likewise.
2455 * gdb.fortran/ptr-indentation.exp: Likewise.
2456 * gdb.fortran/ptype-on-functions.exp: Likewise.
2457 * gdb.fortran/subarray.exp: Likewise.
2458 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
2459 * gdb.fortran/vla-datatypes.exp: Likewise.
2460 * gdb.fortran/vla-history.exp: Likewise.
2461 * gdb.fortran/vla-ptr-info.exp: Likewise.
2462 * gdb.fortran/vla-ptype-sub.exp: Likewise.
2463 * gdb.fortran/vla-ptype.exp: Likewise.
2464 * gdb.fortran/vla-sizeof.exp: Likewise.
2465 * gdb.fortran/vla-type.exp: Likewise.
2466 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
2467 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
2468 * gdb.fortran/vla-value-sub.exp: Likewise.
2469 * gdb.fortran/vla-value.exp: Likewise.
2470 * gdb.fortran/whatis_type.exp: Likewise.
2471 * gdb.mi/mi-var-child-f.exp: Likewise.
2472
2473 2020-05-09 Tom de Vries <tdevries@suse.de>
2474
2475 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
2476
2477 2020-05-08 Tom de Vries <tdevries@suse.de>
2478
2479 * gdb.dwarf2/clang-debug-names.c: New test.
2480 * gdb.dwarf2/clang-debug-names.exp: New file.
2481
2482 2020-05-06 Simon Marchi <simon.marchi@efficios.com>
2483
2484 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
2485 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
2486
2487 2020-05-06 Tom de Vries <tdevries@suse.de>
2488
2489 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
2490 breakpoint is at a "recommended breakpoint location".
2491 * gdb.reverse/consecutive-reverse.exp: Same.
2492
2493 2020-05-06 Tom de Vries <tdevries@suse.de>
2494
2495 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
2496 address.
2497
2498 2020-05-06 Tom de Vries <tdevries@suse.de>
2499
2500 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
2501
2502 2020-05-06 Tom de Vries <tdevries@suse.de>
2503
2504 * gdb.base/store.exp (check_set, up_set): Allowing missing location
2505 info for r.
2506
2507 2020-05-06 Tom de Vries <tdevries@suse.de>
2508
2509 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
2510 necessary.
2511
2512 2020-05-06 Tom de Vries <tdevries@suse.de>
2513
2514 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
2515 void.
2516
2517 2020-05-06 Tom de Vries <tdevries@suse.de>
2518
2519 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
2520 of ...
2521 * gdb.base/async.exp: ... here.
2522 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
2523 "recommended breakpoint location".
2524
2525 2020-05-06 Tom de Vries <tdevries@suse.de>
2526
2527 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
2528
2529 2020-05-04 Tom de Vries <tdevries@suse.de>
2530
2531 * gdb.base/async.exp: Check whether instruction addresses are a
2532 "recommended breakpoint location".
2533
2534 2020-05-03 Tom Tromey <tom@tromey.com>
2535
2536 * gdb.base/sepdebug.exp: Remove "catch" test.
2537 * gdb.base/break.exp: Remove "catch" test.
2538 * gdb.base/default.exp: Update expected output.
2539
2540 2020-05-02 Tom de Vries <tdevries@suse.de>
2541
2542 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
2543 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
2544 * gdb.arch/i386-mpx-map.exp: Same.
2545 * gdb.arch/i386-mpx-sigsegv.exp: Same.
2546 * gdb.arch/i386-mpx-simple_segv.exp: Same.
2547 * gdb.arch/i386-mpx.exp: Same.
2548
2549 2020-05-02 Tom de Vries <tdevries@suse.de>
2550
2551 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
2552
2553 2020-05-01 Tom de Vries <tdevries@suse.de>
2554
2555 * gdb.ada/operator_bp.exp: Allow more than required amount of
2556 breakpoint.
2557
2558 2020-05-01 Tom de Vries <tdevries@suse.de>
2559
2560 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
2561
2562 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
2563
2564 PR gdb/18706
2565 * gdb.cp/stub-array-size.cc: New test.
2566 * gdb.cp/stub-array-size.exp: New file.
2567 * gdb.cp/stub-array-size.h: New test.
2568 * gdb.cp/stub-array-size2.cc: New test.
2569
2570 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
2571
2572 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
2573 output to the new format.
2574
2575 2020-04-29 Simon Marchi <simon.marchi@efficios.com>
2576
2577 * gdb.base/break.exp: Use with_test_prefix.
2578
2579 2020-04-29 Tom de Vries <tdevries@suse.de>
2580
2581 * lib/gdb.exp (debug_types): New proc.
2582 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
2583 * gdb.python/py-symtab.exp: Same.
2584
2585 2020-04-29 Hannes Domani <ssbssa@yahoo.de>
2586
2587 PR gdb/17320
2588 * gdb.base/pretty-array.c: New test.
2589 * gdb.base/pretty-array.exp: New file.
2590
2591 2020-04-29 Tom de Vries <tdevries@suse.de>
2592
2593 PR symtab/25889
2594 * gdb.cp/cpexprs.exp: Adapt for inclusion.
2595 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
2596 and include cpexprs.exp.
2597
2598 2020-04-28 Mark Williams <mark@myosotissp.com>
2599
2600 PR gdb/24480
2601 * dw4-toplevel-types.exp: Test for top level types.
2602 * dw4-toplevel-types.cc: Test for top level types.
2603
2604 2020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2605
2606 * gdb.threads/stop-with-handle.exp: Fix typo in comment
2607 (theads -> threads).
2608
2609 2020-04-28 Tom de Vries <tdevries@suse.de>
2610
2611 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
2612
2613 2020-04-28 Tom de Vries <tdevries@suse.de>
2614
2615 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
2616
2617 2020-04-28 Tom de Vries <tdevries@suse.de>
2618
2619 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
2620
2621 2020-04-28 Tom de Vries <tdevries@suse.de>
2622
2623 * gdb.dwarf2/main-foo.c: New test.
2624 * gdb.dwarf2/struct-with-sig.exp: New file.
2625
2626 2020-04-25 Tom de Vries <tdevries@suse.de>
2627
2628 * boards/debug-types.exp: New file.
2629
2630 2020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
2631
2632 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
2633
2634 2020-04-24 Tom Tromey <tom@tromey.com>
2635
2636 PR symtab/12707:
2637 * gdb.python/py-symbol.exp: Update expected results for
2638 linkage_name test.
2639 * gdb.cp/print-demangle.exp: New file.
2640 * gdb.base/c-linkage-name.exp: Fix test.
2641 * gdb.guile/scm-symbol.exp: Update expected results for
2642 linkage_name test.
2643
2644 2020-04-24 Tom Tromey <tom@tromey.com>
2645
2646 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
2647 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
2648 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
2649 assembler.
2650
2651 2020-04-24 Tom de Vries <tdevries@suse.de>
2652
2653 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
2654 C++.
2655
2656 2020-04-24 Tom Tromey <tromey@adacore.com>
2657
2658 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
2659 values.
2660 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
2661 values. Update test for minimal encodings.
2662 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
2663 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
2664 values. Update test for minimal encodings.
2665
2666 2020-04-24 Tom Tromey <tromey@adacore.com>
2667
2668 PR python/23662:
2669 * gdb.ada/variant.exp: Add Python checks.
2670 * gdb.rust/simple.exp: Add dynamic type checks.
2671
2672 2020-04-24 Tom Tromey <tromey@adacore.com>
2673
2674 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
2675 Make array type matching more lax.
2676 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
2677 * gdb.ada/mi_variant.exp: New file.
2678 * gdb.ada/mi_variant/pck.ads: New file.
2679 * gdb.ada/mi_variant/pkg.adb: New file.
2680 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
2681 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
2682
2683 2020-04-24 Tom Tromey <tromey@adacore.com>
2684
2685 * gdb.ada/variant.exp: Add dynamic field offset tests.
2686 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
2687 * gdb.ada/variant/pkg.adb: Add new variables.
2688
2689 2020-04-24 Tom Tromey <tromey@adacore.com>
2690
2691 * gdb.ada/variant.exp: New file
2692 * gdb.ada/variant/pkg.adb: New file
2693 * gdb.ada/variant/pck.adb: New file
2694
2695 2020-04-24 Tom de Vries <tdevries@suse.de>
2696
2697 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
2698
2699 2020-04-24 Tom de Vries <tdevries@suse.de>
2700
2701 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
2702 flags.
2703
2704 2020-04-24 Tom de Vries <tdevries@suse.de>
2705
2706 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
2707
2708 2020-04-24 Tom de Vries <tdevries@suse.de>
2709
2710 * lib/gdb.exp (default_gdb_start): Handle eof.
2711 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
2712 failure.
2713 * gdb.base/readnever.exp: Handle clean_restart failure.
2714
2715 2020-04-23 Tom de Vries <tdevries@suse.de>
2716
2717 * gdb.base/decl-before-def.exp: Run to main and print a again.
2718
2719 2020-04-23 Tom de Vries <tdevries@suse.de>
2720
2721 * gdb.base/decl-before-def-decl.c: New test.
2722 * gdb.base/decl-before-def-def.c: New test.
2723 * gdb.base/decl-before-def.exp: New file.
2724
2725 2020-04-23 Tom de Vries <tdevries@suse.de>
2726
2727 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
2728
2729 2020-04-22 Tom de Vries <tdevries@suse.de>
2730
2731 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
2732 debug_info_offset.
2733 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
2734 before $objsfile in the line line.
2735
2736 2020-04-22 Tom de Vries <tdevries@suse.de>
2737
2738 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
2739
2740 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2741
2742 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
2743 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
2744 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
2745 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
2746 * gdb.base/jit-protocol.h: Update definitions to match all usage
2747 contexts.
2748
2749 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2750
2751 * gdb.base: Rename all jit related test and source files.
2752
2753 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2754
2755 * gdb.base/jit-reader.exp: Relax register output check.
2756
2757 2020-04-22 Tom de Vries <tdevries@suse.de>
2758
2759 PR symtab/25764
2760 * gdb.base/psym-external-decl-2.c: New test.
2761 * gdb.base/psym-external-decl.c: New test.
2762 * gdb.base/psym-external-decl.exp: New file.
2763 * gdb.threads/tls.exp: Add PR25807 kfail.
2764
2765 2020-04-22 Tom de Vries <tdevries@suse.de>
2766
2767 PR symtab/25801
2768 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
2769 in "info source" output.
2770
2771 2020-04-22 Tom de Vries <tdevries@suse.de>
2772
2773 PR symtab/25700
2774 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
2775 symtab for imported_unit.c.
2776
2777 2020-04-21 Gary Benson <gbenson@redhat.com>
2778
2779 * gdb.base/advance.c (func): New argument, to match call site.
2780 (func2, func3): Add return statements.
2781
2782 2020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2783
2784 * gdb.multi/run-only-second-inf.c: New file.
2785 * gdb.multi/run-only-second-inf.exp: New file.
2786
2787 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
2788
2789 * gdb.btrace/multi-inferior.c: New test.
2790 * gdb.btrace/multi-inferior.exp: New file.
2791
2792 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
2793
2794 * gdb.btrace/enable-new-thread.c: New test.
2795 * gdb.btrace/enable-new-thread.exp: New file.
2796
2797 2020-04-21 Tom de Vries <tdevries@suse.de>
2798
2799 PR gdb/25471
2800 * gdb.threads/killed-outside.c: New test.
2801 * gdb.threads/killed-outside.exp: New file.
2802
2803 2020-04-20 Gary Benson <gbenson@redhat.com>
2804
2805 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
2806 * gdb.base/nested-subp2.exp: Likewise.
2807 * gdb.base/nested-subp3.exp: Likewise.
2808
2809 2020-04-20 Gary Benson <gbenson@redhat.com>
2810
2811 * gdb.base/nested-subp1.exp: Disable test when using clang.
2812 * gdb.base/nested-subp2.exp: Likewise.
2813 * gdb.base/nested-subp3.exp: Likewise.
2814
2815 2020-04-20 Gary Benson <gbenson@redhat.com>
2816
2817 * gdb.cp/exception.cc: Fix compilation error with clang.
2818
2819 2020-04-20 Gary Benson <gbenson@redhat.com>
2820
2821 * gdb.trace/tspeed.c: Fix compilation error with clang.
2822
2823 2020-04-20 Gary Benson <gbenson@redhat.com>
2824
2825 * gdb.base/jit-main.c: Fix compilation error with clang.
2826
2827 2020-04-17 Kamil Rytarowski <n54@gmx.com>
2828
2829 * gdb.base/attach-twice.c: Include "sys/types.h".
2830 (PTRACE_ATTACH): Add fallback definition.
2831 (main): Pass `0' to the 4th argument of `ptrace'.
2832
2833 2020-04-17 Kamil Rytarowski <n54@gmx.com>
2834
2835 * gdb.base/fork-running-state.c: Include "signal.h".
2836
2837 2020-04-17 Tom Tromey <tromey@adacore.com>
2838
2839 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
2840 Update tests.
2841 * gdb.btrace/cpu.exp: Update tests.
2842 * gdb.base/maint.exp: Update tests.
2843 * gdb.base/default.exp: Update tests.
2844 * gdb.base/completion.exp: Update tests.
2845
2846 2020-04-16 Tom de Vries <tdevries@suse.de>
2847
2848 PR symtab/25791
2849 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
2850 (ensure_gdb_index): and factor out and move ...
2851 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
2852 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
2853
2854 2020-04-16 Tom de Vries <tdevries@suse.de>
2855
2856 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
2857 loading exec.
2858
2859 2020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
2860
2861 * gdb.base/many-completions.exp: New file.
2862
2863 2020-04-14 Tom de Vries <tdevries@suse.de>
2864
2865 PR symtab/25718
2866 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
2867
2868 2020-04-14 Tom de Vries <tdevries@suse.de>
2869
2870 PR symtab/25720
2871 * gdb.base/maint-expand-symbols-header-file.c: New test.
2872 * gdb.base/maint-expand-symbols-header-file.exp: New file.
2873 * gdb.base/maint-expand-symbols-header-file.h: New test.
2874
2875 2020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2876
2877 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
2878 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
2879 get_func_info.
2880 (get_func_info): Delete.
2881 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
2882 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
2883 * lib/dwarf.exp (get_func_info): New function.
2884
2885 2020-04-13 Tom de Vries <tdevries@suse.de>
2886
2887 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
2888 to what find_gnatmake does.
2889
2890 2020-04-10 Tom de Vries <tdevries@suse.de>
2891
2892 * gdb.base/style.exp: Expect "Expanding full symbols" message for
2893 -readnow.
2894
2895 2020-04-10 Tom de Vries <tdevries@suse.de>
2896
2897 PR cli/25808
2898 * gdb.base/style.c: Add leading newlines.
2899 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
2900 Check listing of main's one-line body.
2901
2902 2020-04-08 Tom de Vries <tdevries@suse.de>
2903
2904 * lib/gdb.exp (psymtabs_p): New proc.
2905 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
2906 importing unit" unsupported if there are no partial symbols.
2907
2908 2020-04-08 Tom de Vries <tdevries@suse.de>
2909
2910 PR testsuite/25760
2911 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
2912
2913 2020-04-07 Tom de Vries <tdevries@suse.de>
2914
2915 PR symtab/25796
2916 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
2917
2918 2020-04-07 Tom de Vries <tdevries@suse.de>
2919
2920 * gdb.base/check-psymtab.c: New test.
2921 * gdb.base/check-psymtab.exp: New file.
2922
2923 2020-04-06 Tom Tromey <tromey@adacore.com>
2924
2925 * gdb.ada/variant-record/proc.adb: New file.
2926 * gdb.ada/variant-record/value.adb: New file.
2927 * gdb.ada/variant-record/value.s: New file.
2928 * gdb.ada/variant-record.exp: New file.
2929
2930 2020-04-03 Hannes Domani <ssbssa@yahoo.de>
2931
2932 PR gdb/25325
2933 * gdb.cp/typed-enum.cc: New test.
2934 * gdb.cp/typed-enum.exp: New file.
2935
2936 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2937
2938 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
2939 * gdb.dwarf2/dw2-inline-small-func.c: New file.
2940 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
2941 * gdb.dwarf2/dw2-inline-small-func.h: New file.
2942 * gdb.opt/inline-small-func.c: New file.
2943 * gdb.opt/inline-small-func.exp: New file.
2944 * gdb.opt/inline-small-func.h: New file.
2945
2946 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2947
2948 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
2949 function.
2950
2951 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2952
2953 * lib/dwarf.exp (function_range): Allow compiler options to be
2954 specified.
2955
2956 2020-04-02 Tom de Vries <tdevries@suse.de>
2957
2958 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
2959 __attribute__((always_inline)).
2960 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
2961
2962 2020-04-02 Tom de Vries <tdevries@suse.de>
2963
2964 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
2965 (gdbserver_gdb_exit): ... here. Add timeout warning.
2966 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
2967 (connect_target_extended_remote): Append new server_spawn_id to
2968 server_spawn_ids.
2969 (cleanup): New proc.
2970 (setup, <toplevel>): Call cleanup.
2971
2972 2020-04-02 Tom de Vries <tdevries@suse.de>
2973
2974 * gdb.base/main-psymtab.exp: New file.
2975
2976 2020-04-02 Tom de Vries <tdevries@suse.de>
2977
2978 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
2979
2980 2020-04-01 Tom Tromey <tom@tromey.com>
2981
2982 * gdb.base/complex-parts.exp: Add type tests.
2983
2984 2020-04-01 Tom Tromey <tom@tromey.com>
2985
2986 * gdb.base/complex-parts.exp: Add arithmetic tests.
2987
2988 2020-04-01 Tom Tromey <tom@tromey.com>
2989
2990 * gdb.compile/compile.exp: Update.
2991 * gdb.compile/compile-cplus.exp: Update.
2992 * gdb.base/varargs.exp: Update.
2993 * gdb.base/floatn.exp: Update.
2994 * gdb.base/endianity.exp: Update.
2995 * gdb.base/callfuncs.exp (do_function_calls): Update.
2996 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
2997 (complex_float_integral_args): Update.
2998 * gdb.base/complex.exp: Update.
2999 * gdb.base/complex-parts.exp: Update.
3000
3001 2020-04-01 Tom Tromey <tromey@adacore.com>
3002
3003 * gdb.rust/union.rs: New file.
3004 * gdb.rust/union.exp: New file.
3005 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
3006 (main): Update.
3007 * gdb.rust/simple.exp: Move union tests to union.exp.
3008
3009 2020-04-01 Tom Tromey <tromey@adacore.com>
3010
3011 * gdb.rust/simple.rs (main): Remove "y0".
3012
3013 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3014
3015 * gdb.multi/stop-all-on-exit.c: New test.
3016 * gdb.multi/stop-all-on-exit.exp: New file.
3017
3018 2020-04-01 Hannes Domani <ssbssa@yahoo.de>
3019
3020 PR gdb/24789
3021 * gdb.cp/misc.cc: Add integer reference variable.
3022 * gdb.cp/misc.exp: Add test.
3023
3024 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3025
3026 * gdb.server/stop-reply-no-thread.exp: Enhance the test
3027 scenario to cover execution until the end and also the case
3028
3029 2020-03-31 Tom de Vries <tdevries@suse.de>
3030
3031 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
3032 c. Use "maint info symtabs" to check symtab expansion.
3033
3034 2020-03-30 Tom de Vries <tdevries@suse.de>
3035
3036 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
3037 unsupported.
3038 (verify_psymtab_expanded): Move ...
3039 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
3040 test.
3041 (readnow): New proc.
3042
3043 2020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3044
3045 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
3046 with $hex.
3047
3048 2020-03-20 Tom Tromey <tromey@adacore.com>
3049
3050 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
3051
3052 2020-03-20 Tom Tromey <tromey@adacore.com>
3053
3054 * gdb.ada/sub_variant/subv.adb: New file.
3055 * gdb.ada/sub_variant.exp: New file.
3056
3057 2020-03-20 Tom de Vries <tdevries@suse.de>
3058
3059 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
3060 first break fails.
3061 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
3062
3063 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3064
3065 * gdb.server/exit-multiple-threads.c: New file.
3066 * gdb.server/exit-multiple-threads.exp: New file.
3067
3068 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3069
3070 * gdb.fortran/mixed-lang-stack.c: New file.
3071 * gdb.fortran/mixed-lang-stack.cpp: New file.
3072 * gdb.fortran/mixed-lang-stack.exp: New file.
3073 * gdb.fortran/mixed-lang-stack.f90: New file.
3074
3075 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3076
3077 * gdb.linespec/cp-completion-aliases.cc: New file.
3078 * gdb.linespec/cp-completion-aliases.exp: New file.
3079
3080 2020-03-19 Tom de Vries <tdevries@suse.de>
3081
3082 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
3083 more precise.
3084
3085 2020-03-18 Tom de Vries <tdevries@suse.de>
3086
3087 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
3088 * gdb.dwarf2/break-inline-psymtab.c: New test.
3089 * gdb.dwarf2/break-inline-psymtab.exp: New file.
3090
3091 2020-03-16 Tom de Vries <tdevries@suse.de>
3092
3093 * lib/cache.exp (gdb_do_cache): Add and handle local variables
3094 cache_verify and cache_verify_proc.
3095
3096 2020-03-15 Tom de Vries <tdevries@suse.de>
3097
3098 * gdb.server/solib-list.exp: Handle
3099 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
3100
3101 2020-03-15 Tom de Vries <tdevries@suse.de>
3102
3103 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
3104 objfiles".
3105
3106 2020-03-14 Tom Tromey <tom@tromey.com>
3107
3108 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
3109
3110 2020-03-14 Tom de Vries <tdevries@suse.de>
3111
3112 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
3113
3114 2020-03-14 Tom de Vries <tdevries@suse.de>
3115
3116 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
3117 result in line-by-line fashion.
3118
3119 2020-03-14 Tom de Vries <tdevries@suse.de>
3120
3121 * lib/gdb.exp (supports_statement_frontiers): New proc.
3122 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
3123
3124 2020-03-14 Tom de Vries <tdevries@suse.de>
3125
3126 * gdb.base/printcmds.exp: Add missing quoting for "print
3127 teststring2".
3128
3129 2020-03-13 Tom Tromey <tom@tromey.com>
3130
3131 * gdb.base/printcmds.exp (test_print_strings): Add regression
3132 test.
3133 * gdb.base/printcmds.c (charptr): New typedef.
3134 (teststring2): New global.
3135
3136 2020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
3137
3138 * gdb.base/break-interp.exp: Use the tail of the filename, not the
3139 full path in the test name.
3140 (test_ld): Add some with_test_prefix blocks to make test names
3141 unique.
3142
3143 2020-03-13 Tom de Vries <tdevries@suse.de>
3144
3145 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
3146
3147 2020-03-13 Tom de Vries <tdevries@suse.de>
3148
3149 * gdb.mi/mi-sym-info.exp: Make matching more precise.
3150
3151 2020-03-13 Tom de Vries <tdevries@suse.de>
3152
3153 PR symtab/25646
3154 * gdb.dwarf2/imported-unit.exp: Add test.
3155
3156 2020-03-13 Tom de Vries <tdevries@suse.de>
3157
3158 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
3159 (var1, var2): New variable.
3160 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
3161 matching symbols.
3162
3163 2020-03-13 Tom de Vries <tdevries@suse.de>
3164
3165 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
3166 (Term::command): Use prompt prefix.
3167 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
3168 * gdb.tui/tui-layout-asm-short-prog.exp: Use
3169 command_no_prompt_prefix instead of prefix.
3170 * gdb.tui/tui-layout-asm.exp: Same.
3171
3172 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
3173
3174 * gdb.base/break-interp.exp: Use foreach_with_prefix.
3175
3176 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
3177
3178 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
3179 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
3180 on" while stepping over the test instruction, match printed
3181 message.
3182
3183 2020-03-12 Tom de Vries <tdevries@suse.de>
3184
3185 * gdb.base/info-types.exp: Use exp_continue during matching of output
3186 of "info types".
3187
3188 2020-03-12 Tom de Vries <tdevries@suse.de>
3189
3190 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
3191
3192 2020-03-12 Tom de Vries <tdevries@suse.de>
3193
3194 * gdb.fortran/module.exp: Use exp_continue during matching of output
3195 of "info variable -n".
3196
3197 2020-03-12 Tom de Vries <tdevries@suse.de>
3198
3199 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
3200 gdb.dwarf2/dw2-ranges-base.c.
3201
3202 2020-03-12 Tom de Vries <tdevries@suse.de>
3203
3204 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
3205 in presence of GLIBC debuginfo.
3206
3207 2020-03-12 Tom de Vries <tdevries@suse.de>
3208
3209 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
3210 $core.
3211
3212 2020-03-12 Tom de Vries <tdevries@suse.de>
3213
3214 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
3215 more precise.
3216
3217 2020-03-11 Simon Marchi <simon.marchi@efficios.com>
3218
3219 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
3220 from Unix to Windows path.
3221
3222 2020-03-11 Tom de Vries <tdevries@suse.de>
3223
3224 * gdb.ada/minsyms.exp: Set language to ada.
3225
3226 2020-03-11 Tom de Vries <tdevries@suse.de>
3227
3228 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
3229
3230 2020-03-11 Tom de Vries <tdevries@suse.de>
3231
3232 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
3233
3234 2020-03-11 Tom Tromey <tromey@adacore.com>
3235
3236 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
3237
3238 2020-03-11 Tom de Vries <tdevries@suse.de>
3239
3240 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
3241
3242 2020-03-11 Tom de Vries <tdevries@suse.de>
3243
3244 * gdb.base/break-interp.exp: Limit verbose scope.
3245
3246 2020-03-11 Tom de Vries <tdevries@suse.de>
3247
3248 * gdb.fortran/logical.f90: Define variable with character type.
3249 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
3250
3251 2020-03-11 Tom de Vries <tdevries@suse.de>
3252
3253 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
3254
3255 2020-03-11 Tom de Vries <tdevries@suse.de>
3256
3257 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
3258 symtabs.
3259
3260 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
3261 Bernd Edlinger <bernd.edlinger@hotmail.de>
3262
3263 * gdb.cp/step-and-next-inline.cc: New file.
3264 * gdb.cp/step-and-next-inline.exp: New file.
3265 * gdb.cp/step-and-next-inline.h: New file.
3266 * gdb.dwarf2/dw2-is-stmt.c: New file.
3267 * gdb.dwarf2/dw2-is-stmt.exp: New file.
3268 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
3269 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
3270 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
3271
3272 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
3273
3274 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
3275 is-stmt flag in the line table.
3276
3277 2020-03-09 Tom de Vries <tdevries@suse.de>
3278
3279 * lib/gdb.exp (cached_file): Create cache dir.
3280
3281 2020-03-07 Tom de Vries <tdevries@suse.de>
3282
3283 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
3284 * gdb.cp/rvalue-ref-params.exp: Same.
3285
3286 2020-03-06 Tom de Vries <tdevries@suse.de>
3287
3288 * lib/gdb.exp (tentative_rename, cached_file): New proc.
3289 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
3290
3291 2020-03-06 Tom de Vries <tdevries@suse.de>
3292
3293 * README: Fix "the the".
3294 * gdb.base/dprintf.exp: Same.
3295
3296 2020-03-05 Tom de Vries <tdevries@suse.de>
3297
3298 * gdb.base/maint.exp: Update "main print statistics" expected output.
3299
3300 2020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3301
3302 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
3303 (fortran_int8): Likewise.
3304 (fortran_real4): Likewise.
3305 (fortran_real8): Likewise.
3306 (fortran_complex4): Likewise.
3307 (fortran_logical4): Likewise.
3308 (fortran_character1): Likewise.
3309
3310 2020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
3311
3312 * gdb.fortran/logical.exp: Add tests that any non-zero value is
3313 printed as true.
3314
3315 2020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
3316
3317 * gdb.base/printcmds.exp: Add test to verify printf of a
3318 variable holding an address.
3319
3320 2020-03-03 Tom de Vries <tdevries@suse.de>
3321
3322 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
3323
3324 2020-03-03 Tom de Vries <tdevries@suse.de>
3325
3326 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
3327 gdb_test_multiple call.
3328
3329 2020-03-03 Tom de Vries <tdevries@suse.de>
3330
3331 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
3332 gdb_test_multiple calls.
3333
3334 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
3335
3336 * gdb.base/default.exp: Remove test of 'set history filename'.
3337 * gdb.base/gdbinit-history.exp: Add tests for setting the history
3338 filename to the empty string.
3339 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
3340 and GDBHISTSIZE.
3341
3342 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
3343
3344 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
3345 disabled.
3346
3347 2020-03-02 Pedro Alves <palves@redhat.com>
3348 Tom de Vries <tdevries@suse.de>
3349
3350 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
3351 -prompt prefix, before user_code argument. Add -lbl option likewise.
3352 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
3353 (gdb_is_target_1): Add -prompt prefix and move to before user_code
3354 argument.
3355 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
3356 have "\r\n" at start-of-line, instead of at end-of-line.
3357
3358 2020-02-28 Simon Marchi <simon.marchi@efficios.com>
3359
3360 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
3361 libinproctrace.so.
3362
3363 2020-02-28 Luis Machado <luis.machado@linaro.org>
3364
3365 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
3366 to "p/x".
3367
3368 2020-02-28 Luis Machado <luis.machado@linaro.org>
3369
3370 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
3371 asm/ptrace.h and error.h.
3372
3373 2020-02-28 Tom de Vries <tdevries@suse.de>
3374
3375 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
3376 (struct wrapper, do_something, mundane/symada__cS): Move ...
3377 * gdb.base/c-linkage-name-2.c: ... here. New source file.
3378 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
3379 Update "print symada__cS before partial symtab expansion" regexp.
3380 Update breakpoint location. Flush symbol cache after expansion.
3381
3382 2020-02-28 Luis Machado <luis.machado@linaro.org>
3383
3384 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
3385
3386 2020-02-27 Tom de Vries <tdevries@suse.de>
3387
3388 * config/sid.exp: Remove unused globals.
3389 * gdb.base/attach.exp: Same.
3390 * gdb.base/catch-load.exp: Same.
3391 * gdb.base/dbx.exp: Same.
3392 * lib/gdb.exp: Same.
3393 * lib/mi-support.exp: Same.
3394 * lib/prompt.exp: Same.
3395
3396 2020-02-27 Tom de Vries <tdevries@suse.de>
3397
3398 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
3399 not set.
3400
3401 2020-02-26 Aaron Merey <amerey@redhat.com>
3402
3403 * gdb.debuginfod: New directory for debuginfod tests.
3404 * gdb.debuginfod/main.c: New test file.
3405 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
3406
3407 2020-02-26 Tom de Vries <tdevries@suse.de>
3408
3409 PR gdb/25603
3410 * gdb.base/persistent-lang.cc: New test.
3411 * gdb.base/persistent-lang.exp: New file.
3412
3413 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3414
3415 * gdb.fortran/derived-type-striding.exp: Add a new test.
3416 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
3417 new test.
3418
3419 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3420
3421 * gdb.base/cached-source-file.exp: Avoid source file paths in test
3422 names.
3423
3424 2020-02-25 Tom de Vries <tdevries@suse.de>
3425
3426 PR go/18926
3427 * gdb.go/methods.exp: Remove gcc/93866 xfail.
3428
3429 2020-02-24 Tom de Vries <tdevries@suse.de>
3430
3431 PR gdb/25592
3432 * gdb.base/info-locals-unused-static-var.c: New test.
3433 * gdb.base/info-locals-unused-static-var.exp: New file.
3434
3435 2020-02-22 Tom Tromey <tom@tromey.com>
3436
3437 * gdb.python/tui-window.exp: New file.
3438 * gdb.python/tui-window.py: New file.
3439
3440 2020-02-22 Tom Tromey <tom@tromey.com>
3441
3442 PR tui/17850:
3443 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
3444 tests.
3445
3446 2020-02-22 Tom Tromey <tom@tromey.com>
3447
3448 * gdb.tui/new-layout.exp: Add sub-layout tests.
3449
3450 2020-02-22 Tom Tromey <tom@tromey.com>
3451
3452 * gdb.tui/new-layout.exp: New file.
3453
3454 2020-02-22 Tom Tromey <tom@tromey.com>
3455
3456 * gdb.rust/rust-style.rs: New file.
3457 * gdb.rust/rust-style.exp: New file.
3458 * gdb.base/style.exp: Test structure printing.
3459 * gdb.base/style.c (struct some_struct): New type.
3460 (enum etype): New type.
3461 (struct_value): New global.
3462
3463 2020-02-21 Tom de Vries <tdevries@suse.de>
3464
3465 PR go/18926
3466 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
3467 Remove blanket xfails. Use message argument for gdb_breakpoint.
3468 Make continuing to breakpoint test conditional on setting breakpoint.
3469 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
3470 DW_AT_name attribute. Add xfail for GCC PR93866.
3471
3472 2020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
3473
3474 * gdb.dwarf2/cpp-linkage-name.c: New file.
3475 * gdb.dwarf2/cpp-linkage-name.exp: New file.
3476
3477 2020-02-21 Shahab Vahedi <shahab@synopsys.com>
3478
3479 * lib/gdb.exp (gdb_wrapper_init): Reset
3480 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
3481 not exist.
3482
3483 2020-02-20 Tom de Vries <tdevries@suse.de>
3484
3485 PR go/17018
3486 * gdb.go/hello.exp: Copy ...
3487 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
3488 print of st to print value of global definition. Add xfail for GCC
3489 PR93844.
3490 * gdb.go/hello.exp: Remove printing of st before definition.
3491 * gdb.go/hello.go: Copy ...
3492 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
3493 to st.
3494 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
3495
3496 2020-02-20 Tom de Vries <tdevries@suse.de>
3497
3498 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
3499 (gdb_simple_compile): Handle compile_flags go by using .go extension
3500 for source file.
3501 * gdb.go/chan.exp: Use support_go_compile.
3502 * gdb.go/handcall.exp: Same.
3503 * gdb.go/hello.exp: Same.
3504 * gdb.go/integers.exp: Same.
3505 * gdb.go/max-depth.exp: Same.
3506 * gdb.go/methods.exp: Same.
3507 * gdb.go/package.exp: Same.
3508 * gdb.go/strings.exp: Same.
3509 * gdb.go/types.exp: Same.
3510 * gdb.go/unsafe.exp: Same.
3511
3512 2020-02-19 Tom de Vries <tdevries@suse.de>
3513
3514 * gdb.python/lib-types.exp: Make xfail more strict.
3515
3516 2020-02-19 Tom de Vries <tdevries@suse.de>
3517
3518 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
3519
3520 2020-02-19 Doug Evans <dje@google.com>
3521
3522 PR rust/25535
3523 * gdb.rust/simple.exp: Add test.
3524 * gdb.rust/simple.rs: Add test.
3525
3526 2020-02-19 Tom de Vries <tdevries@suse.de>
3527
3528 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
3529 output line-by-line.
3530
3531 2020-02-19 Tom de Vries <tdevries@suse.de>
3532
3533 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
3534
3535 2020-02-19 Tom de Vries <tdevries@suse.de>
3536
3537 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
3538 prelink.
3539
3540 2020-02-19 Tom de Vries <tdevries@suse.de>
3541
3542 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
3543 (gdb_do_cache): Use gdb_do_cache_wrap.
3544 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
3545
3546 2020-02-19 Tom de Vries <tdevries@suse.de>
3547
3548 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
3549 gdb_compile option.
3550
3551 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
3552
3553 * gdb.base/printcmds.exp (test_print_enums): Update expected
3554 output.
3555
3556 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
3557
3558 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
3559 for "unknown".
3560
3561 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
3562
3563 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
3564 enumerator.
3565
3566 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
3567
3568 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
3569 FE_, add FE_NONE.
3570 (three): Update.
3571 (enum flag_enum_without_zero): New enum.
3572 (flag_enum_without_zero): New variable.
3573 (enum not_flag_enum): New enum.
3574 (three_not_flag): New variable.
3575 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
3576 (test_print_enums): Add more tests for printing flag enums.
3577
3578 2020-02-18 Tom de Vries <tdevries@suse.de>
3579
3580 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
3581 (gdb_compile_ada): ... here.
3582 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
3583 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
3584
3585 2020-02-14 Tom Tromey <tom@tromey.com>
3586
3587 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
3588 build directory.
3589 * boards/gdbserver-base.exp: Update path to gdbserver.
3590
3591 2020-02-13 Tom de Vries <tdevries@suse.de>
3592
3593 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
3594
3595 2020-02-13 Tom de Vries <tdevries@suse.de>
3596
3597 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
3598 are missing.
3599
3600 2020-02-13 Tom de Vries <tdevries@suse.de>
3601
3602 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
3603 call.
3604
3605 2020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
3606
3607 PR tui/25126
3608 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
3609 * gdb.base/cached-source-file.c: New file.
3610 * gdb.base/cached-source-file.exp: New file.
3611
3612 2020-02-11 Tom de Vries <tdevries@suse.de>
3613
3614 PR testsuite/25488
3615 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
3616
3617 2020-02-10 Tom de Vries <tdevries@suse.de>
3618
3619 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
3620
3621 2020-02-10 Maciej W. Rozycki <macro@wdc.com>
3622
3623 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
3624 and $after_addr are both integers before making a comparison.
3625
3626 2020-02-09 Tom de Vries <tdevries@suse.de>
3627
3628 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
3629 command output and paste it into gdb.log. If any, paste catch message
3630 to gdb.log.
3631
3632 2020-02-07 Tom Tromey <tromey@adacore.com>
3633
3634 PR breakpoints/24915:
3635 * gdb.base/annotate-symlink.exp: Use setup_xfail.
3636
3637 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
3638
3639 * gdb.tui/tui-missing-src.exp: Add the "missing source
3640 file" test for the TUI.
3641
3642 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
3643
3644 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
3645 including a port number in the output.
3646
3647 2020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
3648
3649 * lib/fortran.exp (fortran_int4): Handle clang.
3650 (fortran_int8): Likewise.
3651 (fortran_real4): Likewise.
3652 (fortran_real8): Likewise.
3653 (fortran_complex4): Likewise.
3654 (fortran_logical4): Likewise.
3655 (fortran_character1): Likewise.
3656
3657 2020-02-04 Tom de Vries <tdevries@suse.de>
3658
3659 * README (Race detection): Add note.
3660
3661 2020-02-04 Tom de Vries <tdevries@suse.de>
3662
3663 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
3664
3665 2020-02-04 Tom de Vries <tdevries@suse.de>
3666
3667 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
3668
3669 2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3670
3671 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
3672 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
3673 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
3674 blttar, bnetarl.
3675 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
3676 binary for blttar, bnetarl.
3677 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
3678 wait instruction. Delete ldmx test.
3679 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
3680
3681 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3682
3683 * gdb.fortran/array-bounds-high.exp: New file.
3684 * gdb.fortran/array-bounds-high.f90: New file.
3685
3686 2020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
3687
3688 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
3689 Replace #include of <sys/fcntl.h> by <fcntl.h>.
3690
3691 2020-02-01 Tom de Vries <tdevries@suse.de>
3692
3693 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
3694
3695 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
3696
3697 PR tui/9765
3698 * gdb.tui/tui-layout-asm-short-prog.S: New file.
3699 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
3700
3701 2020-01-29 Luis Machado <luis.machado@linaro.org>
3702
3703 * gdb.arch/aarch64-brk-patterns.c: New source file.
3704 * gdb.arch/aarch64-brk-patterns.exp: New test.
3705
3706 2020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3707
3708 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
3709 GCC/Clang version.
3710 * gdb.cp/pass-by-ref.exp: Ditto.
3711
3712 2020-01-29 Tom de Vries <tdevries@suse.de>
3713
3714 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
3715 * gdb.threads/watchpoint-fork-mt.c: Same.
3716 * gdb.threads/watchpoint-fork-parent.c: Same.
3717 * gdb.threads/watchpoint-fork-st.c: Same.
3718 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
3719
3720 2020-01-27 Luis Machado <luis.machado@linaro.org>
3721
3722 * gdb.base/step-over-syscall.exp (setup): Check if we're already
3723 sitting at a syscall instruction when we hit the syscall function's
3724 breakpoint.
3725 Check PC against one obtained with the x command.
3726 Validate syscall number.
3727 (step_over_syscall): Don't continue to the syscall instruction if
3728 we're already there.
3729
3730 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3731
3732 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
3733
3734 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3735
3736 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
3737 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
3738
3739 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3740
3741 * gdb.dwarf2/dw2-inline-stepping.c: New file.
3742 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
3743
3744 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3745
3746 * gdb.base/maint.exp: Update line table parsing test.
3747 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
3748
3749 2020-01-24 Pedro Alves <palves@redhat.com>
3750
3751 PR gdb/25410
3752 * gdb.multi/multi-re-run-1.c: New.
3753 * gdb.multi/multi-re-run-2.c: New.
3754 * gdb.multi/multi-re-run.exp: New.
3755
3756 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3757
3758 PR gdb/23718
3759 * gdb.server/server-kill-python.exp: New file.
3760
3761 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3762
3763 * gdb.server/multi-ui-errors.c: New file.
3764 * gdb.server/multi-ui-errors.exp: New file.
3765
3766 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3767
3768 PR tui/9765
3769 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
3770
3771 2020-01-19 Tom Tromey <tom@tromey.com>
3772
3773 * gdb.tui/main.exp: Add check for plain "file".
3774
3775 2020-01-16 Christian Biesinger <cbiesinger@google.com>
3776
3777 * lib/gdb.exp: Fix spelling error (seperatelly).
3778
3779 2020-01-14 Tom Tromey <tom@tromey.com>
3780
3781 PR symtab/12535:
3782 * gdb.python/python.exp: Test decode_line with empty string
3783 argument.
3784
3785 2020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
3786
3787 * gdb.base/skip-inline.exp: Extend test.
3788
3789 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
3790
3791 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
3792 * gdb.dwarf2/dw2-bad-elf.c: New file.
3793 * gdb.dwarf2/dw2-bad-elf.exp: New file.
3794
3795 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
3796
3797 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
3798 _line_saw_file.
3799
3800 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
3801
3802 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
3803 border.
3804
3805 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3806
3807 * gdb.multi/multi-target.exp (setup): Factor out "info
3808 connections" and "info inferiors" tests to ...
3809 (test_info_inferiors): ... this new procedure.
3810 (top level): Run new "info-inferiors" tests.
3811
3812 2020-01-10 Pedro Alves <palves@redhat.com>
3813
3814 * gdb.server/bkpt-other-inferior.exp: New file.
3815
3816 2020-01-10 Pedro Alves <palves@redhat.com>
3817
3818 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
3819 of "add-inferior".
3820 * gdb.base/quit-live.exp: Likewise.
3821 * gdb.base/remote-exec-file.exp: Likewise.
3822 * gdb.guile/scm-progspace.exp: Likewise.
3823 * gdb.linespec/linespec.exp: Likewise.
3824 * gdb.mi/new-ui-mi-sync.exp: Likewise.
3825 * gdb.mi/user-selected-context-sync.exp: Likewise.
3826 * gdb.multi/multi-target.exp (setup): Add "info connection" and
3827 "info inferiors" tests.
3828 * gdb.multi/remove-inferiors.exp: Adjust expected output of
3829 "add-inferior".
3830 * gdb.multi/watchpoint-multi.exp: Likewise.
3831 * gdb.python/py-inferior.exp: Likewise.
3832 * gdb.server/extended-remote-restart.exp: Likewise.
3833 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
3834 "info inferiors".
3835 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
3836 * gdb.trace/report.exp: Likewise.
3837
3838 2020-01-10 Pedro Alves <palves@redhat.com>
3839
3840 * gdb.multi/multi-target.c: New file.
3841 * gdb.multi/multi-target.exp: New file.
3842 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
3843 mode requested, but remote does not support non-stop".
3844
3845 2020-01-10 Pedro Alves <palves@redhat.com>
3846
3847 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
3848 disconnect before reconnecting.
3849
3850 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3851 Pedro Alves <palves@redhat.com>
3852
3853 * gdb.server/connect-without-multi-process.exp: Also test
3854 continuing to end.
3855
3856 2020-01-10 Pedro Alves <palves@redhat.com>
3857
3858 * gdb.base/remote-exec-file.exp: New file.
3859
3860 2020-01-10 Pedro Alves <palves@redhat.com>
3861
3862 * gdb.base/fork-running-state.exp (do_test): Adjust expected
3863 output.
3864 * gdb.threads/async.c: New.
3865 * gdb.threads/async.exp: New.
3866 * gdb.multi/tids-gid-reset.c: New.
3867 * gdb.multi/tids-gid-reset.exp: New.
3868
3869 2020-01-10 George Barrett <bob@bob131.so>
3870
3871 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
3872 to help in finding the image relocation offset.
3873 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
3874 options in arguments.
3875 (stap_test_no_debuginfo): Likewise.
3876 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
3877 test variants.
3878 (stap_test): Add null semaphore relocation test.
3879
3880 2020-01-10 George Barrett <bob@bob131.so>
3881
3882 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
3883 * gdb.base/stap-probe.exp: Likewise.
3884 (stap_test): Pass argument as an additional flag.
3885 (stap_test_no_debuginfo): Likewise.
3886 (stap_test): Check `info probes stap' output for semaphore
3887 addresses if the test binary is supposed to have them.
3888
3889 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3890
3891 * gdb.tui/basic.exp: Add more scrolling tests.
3892
3893 2020-01-09 Tom Tromey <tom@tromey.com>
3894
3895 PR tui/18932:
3896 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
3897 meangingful value.
3898 (Term::command, Term::resize): Update.
3899 * gdb.tui/basic.exp: Add scrolling test.
3900
3901 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3902
3903 * gdb.tui/tui-layout-asm.exp: New file.
3904
3905 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3906
3907 * lib/tuiterm.exp (Term::check_box_contents): New proc.
3908
3909 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3910
3911 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
3912 (Term::enter_tui): Use Term::prepare_for_tui.
3913
3914 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3915
3916 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
3917 called.
3918
3919 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3920
3921 * gdb.base/skip.exp: Fix race condition in test.
3922
3923 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
3924
3925 * gdb.base/backtrace.c: New file.
3926 * gdb.base/backtrace.exp: New file.
3927
3928 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
3929
3930 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
3931
3932 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3933
3934 * gdb.base/style.exp: Test that warnings are styled.
3935
3936 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
3937
3938 * gdb.base/line65535.exp: New file.
3939 * gdb.base/line65535.c: New file.
3940
3941 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
3942
3943 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
3944 * lib/gnat_debug_info_test.adb: New file.
3945 * gdb.ada/ptype_tagged_param.exp: Use
3946 gnat_runtime_has_debug_info, expect a different output if
3947 runtime does not have debug info.
3948
3949 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
3950
3951 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
3952 (another) quote in test name.
3953
3954 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
3955
3956 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
3957 Add quote in test name.
3958
3959 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3960
3961 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
3962 directory instead.
3963 * gdb.cp/pass-by-ref.exp: Extend with more cases.
3964 * gdb.cp/pass-by-ref-2.cc: New file.
3965 * gdb.cp/pass-by-ref-2.exp: New file.
3966
3967 2019-12-20 Tom Tromey <tom@tromey.com>
3968
3969 * gdb.tui/list-before.exp: New file.
3970
3971 2019-12-20 Tom Tromey <tom@tromey.com>
3972
3973 * gdb.tui/list.exp: Check for source on initial listing.
3974
3975 2019-12-11 Tom Tromey <tromey@adacore.com>
3976
3977 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
3978 Add crlf test.
3979
3980 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
3981
3982 * gdb.base/default.exp: Update value of $_gdb_major.
3983
3984 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
3985
3986 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
3987
3988 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
3989
3990 * gdb.base/skip.exp: Whitespace fix.
3991
3992 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3993
3994 * gdb.base/skip-inline.c: New file.
3995 * gdb.base/skip-inline.exp: New file.
3996
3997 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
3998
3999 * gdb.base/jit-reader.exp (jit_reader_test): Rename
4000 jit_function_00 to jit_function_stack_mangle.
4001 * gdb.base/jithost.c (jit_function_t): Rename to...
4002 (jit_function_stack_mangle_t): ... this.
4003 (jit_function_add_t): New typedef.
4004 (jit_function_00_code): Rename to...
4005 (jit_function_stack_mangle_code): ... this, make static.
4006 (jit_function_add_code): New.
4007 (main): Generate "add" function and call it. Adjust to changes
4008 in jithost_abi.
4009 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
4010 (struct jithost_abi) <begin, end>: Remove fields.
4011 <object, function_stack_mangle, function_add>: New fields.
4012 * gdb.base/jitreader.c (struct reader_state) <code_begin,
4013 code_end>: Remove fields.
4014 <func_stack_mangle>: New field.
4015 (read_debug_info): Adjust to renaming, create block for "add"
4016 function.
4017 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
4018
4019 2019-12-11 Tom Tromey <tom@tromey.com>
4020
4021 * gdb.tui/resize.exp: Fix regexp.
4022 * gdb.tui/regs.exp: Fix regexps.
4023 * gdb.tui/main.exp: Fix regexp.
4024
4025 2019-12-11 Tom Tromey <tom@tromey.com>
4026
4027 * gdb.tui/resize.exp: Update.
4028 * gdb.tui/empty.exp (layouts): Update.
4029
4030 2019-12-11 Tom Tromey <tom@tromey.com>
4031
4032 * gdb.tui/regs.exp: Update.
4033 * gdb.tui/empty.exp (layouts): Update.
4034 * gdb.tui/basic.exp: Update.
4035 * lib/tuiterm.exp (_check_box): Don't check bottom border.
4036
4037 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4038
4039 * gdb.base/options.exp: Add -raw-values in the print completion list.
4040 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
4041
4042 2019-12-10 Kevin Buettner <kevinb@redhat.com>
4043
4044 * gdb.threads/omp-par-scope.c: New file.
4045 * gdb/threads/omp-par-scope.exp: New file.
4046
4047 2019-12-10 Kevin Buettner <kevinb@redhat.com>
4048
4049 * lib/gdb.exp (support_nested_function_tests): New proc.
4050
4051 2019-12-10 Kevin Buettner <kevinb@redhat.com>
4052
4053 * lib/gdb.exp (gdb_compile_openmp): New proc.
4054 (build_executable_from_specs): Add an "openmp" option.
4055 (gdb_compile_pthreads): Add non-executable case.
4056
4057 2019-12-10 Tom Tromey <tromey@adacore.com>
4058
4059 * gdb.ada/unchecked_union.exp: New file.
4060 * gdb.ada/unchecked_union/pck.adb: New file.
4061 * gdb.ada/unchecked_union/pck.ads: New file.
4062 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
4063 * gdb-utils.exp (string_to_regexp): Also quote "?".
4064
4065 2019-12-10 George Barrett <bob@bob131.so>
4066
4067 Test scripted probe breakpoints.
4068 * gdb.guile/scm-breakpoint.c (main): Add probe point.
4069 * gdb.python/py-breakpoint.c (main): Likewise.
4070 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
4071 specifier test.
4072 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
4073
4074 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4075
4076 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
4077 an rvalue parameter.
4078 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
4079 parameter.
4080
4081 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4082
4083 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
4084 modules.
4085
4086 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4087
4088 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
4089 broken version of GCC.
4090
4091 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4092
4093 * gdb.fortran/info-modules.exp: Rewrite to make use of new
4094 sym-info-cmds library.
4095 * gdb.fortran/info-types.exp: Likewise.
4096 * lib/sym-info-cmds.exp: New file.
4097
4098 2019-12-08 Tom de Vries <tdevries@suse.de>
4099
4100 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
4101
4102 2019-12-07 Keith Seitz <keiths@redhat.com>
4103
4104 * gdb.base/corefile-buildid-shlib-shr.c: New file.
4105 * gdb.base/corefile-buildid-shlib.c: New file.
4106 * gdb.base/corefile-buildid.c: New file.
4107 * gdb.base/corefile-buildid.exp: New file.
4108
4109 2019-12-06 Tom de Vries <tdevries@suse.de>
4110
4111 * gdb.dwarf2/varval.exp: Add decl before def test.
4112
4113 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4114
4115 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
4116
4117 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4118
4119 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
4120 CV and reference conversion for overload resolution.
4121 * gdb.cp/rvalue-ref-overload.exp: Test it.
4122
4123 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4124
4125 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
4126 * gdb.base/frameapply.exp: Test faas without command.
4127
4128 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4129
4130 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
4131 Fortran tests.
4132 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
4133 order.
4134
4135 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4136
4137 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
4138 casting to type with no kind specified.
4139 (test_basic_parsing_of_type_kinds): Additional tests for types
4140 with no kind specified, and add tests for single/double
4141 precision/complex types.
4142
4143 2019-12-04 Tom Tromey <tromey@adacore.com>
4144
4145 * gdb.base/endianity.c (struct other) <x>: New field.
4146 (main): Initialize it.
4147 * gdb.base/endianity.exp: Update.
4148
4149 2019-12-04 Tom Tromey <tromey@adacore.com>
4150
4151 * gdb.ada/scalar_storage/storage.adb: New file.
4152 * gdb.ada/scalar_storage/pck.adb: New file.
4153 * gdb.ada/scalar_storage/pck.ads: New file.
4154 * gdb.ada/scalar_storage.exp: New file.
4155
4156 2019-12-04 Tom Tromey <tromey@adacore.com>
4157
4158 * gdb.base/endianity.c (struct otherendian) <f>: New field.
4159 (main): Initialize it.
4160 * gdb.base/endianity.exp: Update.
4161
4162 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4163
4164 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
4165
4166 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4167
4168 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
4169 -symbol-info-module-functions and -symbol-info-module-variables.
4170
4171 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
4172
4173 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
4174
4175 2019-12-01 Richard Bunt <richard.bunt@arm.com>
4176 Andrew Burgess <andrew.burgess@embecosm.com>
4177
4178 * gdb.fortran/derived-type-striding.exp: New file.
4179 * gdb.fortran/derived-type-striding.f90: New file.
4180 * gdb.fortran/array-slices.exp: New file.
4181 * gdb.fortran/array-slices.f90: New file.
4182
4183 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4184
4185 * gdb.base/define.exp: Test . in command names.
4186 * gdb.base/setshow.exp: Update test, as . is now part of
4187 command name.
4188
4189 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4190
4191 * gdb.base/define-prefix.exp: New file.
4192
4193 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
4194
4195 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
4196 compile.
4197 (skip_btrace_pt_tests): Likewise.
4198
4199 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
4200
4201 * gdb.fortran/info-modules.exp: Compile source files in correct
4202 order.
4203
4204 2019-11-27 Kevin Buettner <kevinb@redhat.com>
4205
4206 * gdb.dwarf2/imported-unit.exp: New file.
4207 * gdb.dwarf2/imported-unit.c: New file.
4208
4209 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
4210
4211 * gdb.mi/mi-fortran-modules-2.f90: New file.
4212 * gdb.mi/mi-fortran-modules.exp: New file.
4213 * gdb.mi/mi-fortran-modules.f90: New file.
4214
4215 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
4216
4217 * gdb.mi/mi-sym-info-1.c: New file.
4218 * gdb.mi/mi-sym-info-2.c: New file.
4219 * gdb.mi/mi-sym-info.exp: New file.
4220
4221 2019-11-22 Tom Tromey <tromey@adacore.com>
4222
4223 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
4224 * gdb.ada/tasks/foo.adb: Add another stopping location.
4225
4226 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
4227
4228 * gdb.base/endianity.c: New test.
4229 * gdb.base/endianity.exp: New file.
4230
4231 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
4232
4233 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
4234
4235 2019-11-21 Tom de Vries <tdevries@suse.de>
4236
4237 PR gdb/24956
4238 * gdb.base/ui-redirect.exp: Test output of user-defined command.
4239
4240 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4241
4242 * gdb.python/py-progspace.exp: Add missing parentheses on some
4243 'print' commands.
4244
4245 2019-11-19 Tom Tromey <tom@tromey.com>
4246
4247 * gdb.tui/winheight.exp: New file.
4248
4249 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
4250
4251 * gdb.base/ctf-whatis.c: Delete.
4252 * gdb.base/ctf-whatis.exp: Delete.
4253 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
4254
4255 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
4256
4257 * gdb.base/ctf-cvexpr.exp: Delete.
4258 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
4259
4260 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
4261
4262 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
4263 the compiler. Clean up header comment a little.
4264 * gdb.base/ctf-ptype.exp: Likewise.
4265 * gdb.base/ctf-whatis.exp: Likewise.
4266 * lib/gdb.exp (skip_ctf_tests): New proc.
4267
4268 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
4269
4270 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
4271 * gdb.tui/corefile-run.exp: New file.
4272
4273 2019-11-14 Tom Tromey <tromey@adacore.com>
4274
4275 * gdb.base/gdbvars.exp (test_convenience_variables): Add
4276 regression tests.
4277
4278 2019-11-12 Tom Tromey <tom@tromey.com>
4279
4280 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
4281 after any command. Expect prompt after WAIT_FOR is seen.
4282 (enter_tui): Enable resize messages.
4283 (command): Expect command in output.
4284 (get_line): Avoid error when cursor appears to be off-screen.
4285 (dump_screen): Include screen size in title.
4286 (_do_resize): New proc, from "resize".
4287 (resize): Rewrite. Do resize in two steps.
4288 * gdb.tui/empty.exp (layouts): Fix entries.
4289 (check_boxes): Remove xfail.
4290 (check_text): Dump screen on failure.
4291
4292 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
4293
4294 * gdb.python/py-symbol.exp: Add test for
4295 gdb.lookup_static_symbols.
4296
4297 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
4298
4299 * gdb.python/py-symbol.c: Declare and call function from new
4300 py-symbol-2.c file.
4301 * gdb.python/py-symbol.exp: Compile both source files, and add new
4302 tests for gdb.lookup_static_symbol.
4303 * gdb.python/py-symbol-2.c: New file.
4304
4305 2019-11-02 Tom de Vries <tdevries@suse.de>
4306
4307 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
4308 * gdb.base/anon.exp: Same.
4309 * gdb.base/auto-connect-native-target.exp: Same.
4310 * gdb.base/call-ar-st.exp: Same.
4311 * gdb.base/catch-syscall.exp: Same.
4312 * gdb.base/commands.exp: Same.
4313 * gdb.base/default.exp: Same.
4314 * gdb.base/display.exp: Same.
4315 * gdb.base/float.exp: Same.
4316 * gdb.base/foll-fork.exp: Same.
4317 * gdb.base/help.exp: Same.
4318 * gdb.base/info-macros.exp: Same.
4319 * gdb.base/info-proc.exp: Same.
4320 * gdb.base/info-target.exp: Same.
4321 * gdb.base/long_long.exp: Same.
4322 * gdb.base/macscp.exp: Same.
4323 * gdb.base/memattr.exp: Same.
4324 * gdb.base/nofield.exp: Same.
4325 * gdb.base/pointers.exp: Same.
4326 * gdb.base/printcmds.exp: Same.
4327 * gdb.base/ptype.exp: Same.
4328 * gdb.base/restore.exp: Same.
4329 * gdb.base/return.exp: Same.
4330 * gdb.base/scope.exp: Same.
4331 * gdb.base/set-noassign.exp: Same.
4332 * gdb.base/setshow.exp: Same.
4333 * gdb.base/shlib-call.exp: Same.
4334 * gdb.base/signals.exp: Same.
4335 * gdb.base/sigstep.exp: Same.
4336 * gdb.base/skip.exp: Same.
4337 * gdb.base/solib-symbol.exp: Same.
4338 * gdb.base/stap-probe.exp: Same.
4339 * gdb.base/step-line.exp: Same.
4340 * gdb.base/step-test.exp: Same.
4341 * gdb.base/style.exp: Same.
4342 * gdb.base/varargs.exp: Same.
4343 * gdb.base/vla-datatypes.exp: Same.
4344 * gdb.base/vla-ptr.exp: Same.
4345 * gdb.base/vla-sideeffect.exp: Same.
4346 * gdb.base/volatile.exp: Same.
4347 * gdb.base/watch-cond-infcall.exp: Same.
4348 * gdb.base/watchpoint.exp: Same.
4349
4350 2019-11-02 Tom de Vries <tdevries@suse.de>
4351
4352 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
4353 * gdb.cp/cpexprs.exp: Same.
4354 * gdb.cp/except-multi-location.exp: Same.
4355 * gdb.cp/exceptprint.exp: Same.
4356 * gdb.cp/gdb2384.exp: Same.
4357 * gdb.cp/inherit.exp: Same.
4358 * gdb.cp/m-static.exp: Same.
4359 * gdb.cp/meth-typedefs.exp: Same.
4360 * gdb.cp/misc.exp: Same.
4361 * gdb.cp/namespace.exp: Same.
4362 * gdb.cp/non-trivial-retval.exp: Same.
4363 * gdb.cp/overload.exp: Same.
4364 * gdb.cp/pr17132.exp: Same.
4365 * gdb.cp/re-set-overloaded.exp: Same.
4366 * gdb.cp/rvalue-ref-types.exp: Same.
4367 * gdb.cp/templates.exp: Same.
4368
4369 2019-11-01 Luis Machado <luis.machado@linaro.org>
4370
4371 PR gdb/25124
4372
4373 * gdb.arch/pr25124.S: New file.
4374 * gdb.arch/pr25124.exp: New file.
4375
4376 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4377
4378 * gdb.fortran/info-modules.exp: Update expected results, and add
4379 additional tests for 'info module functinos', and 'info module
4380 variables'.
4381 * gdb.fortran/info-types.exp: Update expected results.
4382 * gdb.fortran/info-types.f90: Extend testcase with additional
4383 module variables and functions.
4384
4385 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4386
4387 * gdb.fortran/info-modules.exp: New file.
4388 * gdb.fortran/info-types.exp: Build with new file.
4389 * gdb.fortran/info-types.f90: Include and use new module.
4390 * gdb.fortran/info-types-2.f90: New file.
4391
4392 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4393
4394 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
4395 * gdb.base/settings.exp: Test all settings types using
4396 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
4397 that now verifies that the value of "maint show" is the same as
4398 returned by the settings functions. Test the type of the
4399 maintenance settings.
4400 * gdb.base/default.exp: Update show_conv_list.
4401
4402 2019-10-31 Tom de Vries <tdevries@suse.de>
4403
4404 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
4405 gdb_test.
4406 * gdb.arch/amd64-disp-step.exp: Same.
4407 * gdb.asm/asm-source.exp: Same.
4408 * gdb.btrace/buffer-size.exp: Same.
4409 * gdb.btrace/cpu.exp: Same.
4410 * gdb.btrace/enable.exp: Same.
4411 * gdb.dwarf2/count.exp: Same.
4412 * gdb.dwarf2/dw2-ranges-func.exp: Same.
4413 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
4414 * gdb.fortran/vla-datatypes.exp: Same.
4415 * gdb.fortran/vla-history.exp: Same.
4416 * gdb.fortran/vla-ptype.exp: Same.
4417 * gdb.fortran/vla-value.exp: Same.
4418 * gdb.fortran/whatis_type.exp: Same.
4419 * gdb.guile/guile.exp: Same.
4420 * gdb.multi/tids.exp: Same.
4421 * gdb.python/py-finish-breakpoint.exp: Same.
4422 * gdb.python/py-framefilter.exp: Same.
4423 * gdb.python/py-pp-registration.exp: Same.
4424 * gdb.python/py-xmethods.exp: Same.
4425 * gdb.python/python.exp: Same.
4426 * gdb.server/connect-with-no-symbol-file.exp: Same.
4427 * gdb.server/no-thread-db.exp: Same.
4428 * gdb.server/run-without-local-binary.exp: Same.
4429 * gdb.stabs/weird.exp: Same.
4430 * gdb.threads/attach-many-short-lived-threads.exp: Same.
4431 * gdb.threads/thread-find.exp: Same.
4432 * gdb.threads/tls-shared.exp: Same.
4433 * gdb.threads/tls.exp: Same.
4434 * gdb.threads/wp-replication.exp: Same.
4435 * gdb.trace/ax.exp: Same.
4436 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
4437
4438 2019-10-31 Tom de Vries <tdevries@suse.de>
4439
4440 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
4441 * gdb.ada/array_subscript_addr.exp: Same.
4442 * gdb.ada/arrayidx.exp: Same.
4443 * gdb.ada/arrayparam.exp: Same.
4444 * gdb.ada/arrayptr.exp: Same.
4445 * gdb.ada/boolean_expr.exp: Same.
4446 * gdb.ada/call_pn.exp: Same.
4447 * gdb.ada/complete.exp: Same.
4448 * gdb.ada/fixed_cmp.exp: Same.
4449 * gdb.ada/fun_addr.exp: Same.
4450 * gdb.ada/funcall_param.exp: Same.
4451 * gdb.ada/interface.exp: Same.
4452 * gdb.ada/mod_from_name.exp: Same.
4453 * gdb.ada/null_array.exp: Same.
4454 * gdb.ada/packed_array.exp: Same.
4455 * gdb.ada/packed_tagged.exp: Same.
4456 * gdb.ada/print_chars.exp: Same.
4457 * gdb.ada/print_pc.exp: Same.
4458 * gdb.ada/ptype_arith_binop.exp: Same.
4459 * gdb.ada/ptype_field.exp: Same.
4460 * gdb.ada/ptype_tagged_param.exp: Same.
4461 * gdb.ada/rec_return.exp: Same.
4462 * gdb.ada/ref_tick_size.exp: Same.
4463 * gdb.ada/str_ref_cmp.exp: Same.
4464 * gdb.ada/taft_type.exp: Same.
4465 * gdb.ada/tagged.exp: Same.
4466 * gdb.ada/type_coercion.exp: Same.
4467 * gdb.ada/uninitialized_vars.exp: Same.
4468
4469 2019-10-30 Tom de Vries <tdevries@suse.de>
4470
4471 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
4472
4473 2019-10-26 Tom de Vries <tdevries@suse.de>
4474
4475 * gdb.base/bigcore.c: Fix typos in comments.
4476 * gdb.base/ctf-ptype.c: Same.
4477 * gdb.base/long_long.c: Same.
4478 * gdb.dwarf2/dw2-op-out-param.S: Same.
4479 * gdb.python/py-evthreads.c: Same.
4480 * gdb.reverse/i387-stack-reverse.c: Same.
4481 * gdb.trace/tfile.c: Same.
4482 * lib/compiler.c: Same.
4483 * lib/compiler.cc: Same.
4484
4485 2019-10-25 Tom de Vries <tdevries@suse.de>
4486
4487 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
4488 gdb_test_multiple calls.
4489 * gdb.reverse/sigall-reverse.exp: Same.
4490 * gdb.reverse/solib-precsave.exp: Same.
4491 * gdb.reverse/solib-reverse.exp: Same.
4492 * gdb.reverse/until-precsave.exp: Same.
4493 * gdb.reverse/until-reverse.exp: Same.
4494
4495 2019-10-24 Tom de Vries <tdevries@suse.de>
4496
4497 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
4498 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
4499 kfail using -wrap pattern flag and convenience variable
4500 gdb_test_name.
4501
4502 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
4503
4504 * gdb.python/py-progspace.exp: Add tests for the
4505 Progspace.block_for_pc method.
4506
4507 2019-10-23 Tom Tromey <tom@tromey.com>
4508
4509 * configure: Rebuild.
4510 * aclocal.m4: Use m4_include, not sinclude.
4511
4512 2019-10-21 Tom de Vries <tdevries@suse.de>
4513
4514 * gdb.base/infcall-nested-structs.c: Add
4515 __attribute__((noinline,noclone)) to all functions.
4516 (call_all): Add missing variable initialization. Simplify return value.
4517 (breakpt): Increment volatile variable, to prevent call from being
4518 optimized out.
4519 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
4520
4521 2019-10-17 Tom de Vries <tdevries@suse.de>
4522
4523 * gdb.fortran/module.exp: Allow info variables to print info for files
4524 other than module.f90.
4525
4526 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
4527
4528 * gdb.fortran/module.exp: Extend with 'info variables' test.
4529
4530 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
4531
4532 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
4533 F77_FOR_TARGET.
4534
4535 2019-10-16 Tom de Vries <tdevries@suse.de>
4536
4537 PR tdep/25096
4538 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
4539
4540 2019-10-16 Tom de Vries <tdevries@suse.de>
4541
4542 PR tdep/24104
4543 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
4544 Add KFAIL for PR tdep/25096.
4545
4546 2019-10-16 Tom de Vries <tdevries@suse.de>
4547
4548 PR testsuite/25059
4549 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
4550
4551 2019-10-16 Tom de Vries <tdevries@suse.de>
4552
4553 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
4554 as signed.
4555
4556 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
4557
4558 * gdb.mi/list-thread-groups-available.exp: Read entries one by
4559 one instead of increasing timeout.
4560
4561 2019-10-13 Tom de Vries <tdevries@suse.de>
4562
4563 PR record/25038
4564 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
4565 * gdb.reverse/sigall-reverse.exp: Same.
4566 * gdb.reverse/solib-precsave.exp: Same.
4567 * gdb.reverse/solib-reverse.exp: Same.
4568 * gdb.reverse/step-precsave.exp: Same.
4569 * gdb.reverse/until-precsave.exp: Same.
4570 * gdb.reverse/until-reverse.exp: Same.
4571 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
4572
4573 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
4574
4575 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
4576 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
4577 (cmp_struct_05_01, cmp_struct_static_02_01)
4578 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
4579 comparisons.
4580
4581 2019-10-10 Tom de Vries <tdevries@suse.de>
4582
4583 PR testsuite/24888
4584 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
4585 gnatlink.
4586
4587 2019-10-09 Tom de Vries <tdevries@suse.de>
4588
4589 PR testsuite/25048
4590 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
4591
4592 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
4593
4594 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
4595 exceptions due to missing debug information.
4596
4597 2019-10-07 Tom de Vries <tdevries@suse.de>
4598
4599 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
4600
4601 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
4602
4603 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
4604 * gdb.base/annota1.exp: Update to use gdb_test_name.
4605
4606 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
4607
4608 * gdb.base/ctf-whatis.exp: New file.
4609 * gdb.base/ctf-whatis.c: New file.
4610 * gdb.base/ctf-ptype.exp: New file.
4611 * gdb.base/ctf-ptype.c: New file.
4612 * gdb.base/ctf-constvars.exp: New file.
4613 * gdb.base/ctf-constvars.c: New file.
4614 * gdb.base/ctf-cvexpr.exp: New file.
4615
4616 2019-10-04 Tom de Vries <tdevries@suse.de>
4617
4618 * gdb.cp/local-static.c (main): Move declaration of int i out of the
4619 for loop.
4620
4621 2019-10-03 Tom Tromey <tom@tromey.com>
4622
4623 PR rust/24976:
4624 * gdb.rust/simple.rs (Union2): New type.
4625 (main): Use Union2.
4626 * gdb.rust/simple.exp: Add test.
4627
4628 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4629
4630 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
4631 nested function prefix.
4632
4633 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
4634 Richard Bunt <richard.bunt@arm.com>
4635 Andrew Burgess <andrew.burgess@embecosm.com>
4636
4637 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
4638 nested functions.
4639 * gdb.fortran/nested-funcs.f90: Update expected results.
4640 * gdb.fortran/nested-funcs-2.exp: New file.
4641 * gdb.fortran/nested-funcs-2.f90: New file.
4642
4643 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4644
4645 * gdb.python/py-parameter.exp: Make test names unique.
4646 * gdb.python/py-template.exp: Likewise.
4647 * gdb.python/py-value.exp: Likewise.
4648
4649 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4650
4651 * gdb.base/break-interp.exp: Reduce test name duplication.
4652 * gdb.base/call-sc.exp: Likewise.
4653 * gdb.base/callfuncs.exp: Likewise.
4654 * gdb.base/charset.exp: Likewise.
4655 * gdb.base/dump.exp: Likewise.
4656 * gdb.base/ena-dis-br.exp: Likewise.
4657 * gdb.base/relational.exp: Likewise.
4658 * gdb.base/step-over-syscall.exp: Likewise.
4659 * gdb.base/structs.exp: Likewise.
4660
4661 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4662
4663 * gdb.linespec/explicit.exp: Make test names unique.
4664 * gdb.linespec/ls-errs.exp: Likewise.
4665
4666 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4667
4668 * gdb.reverse/break-precsave.exp: Make test names unique.
4669 * gdb.reverse/break-reverse.exp: Likewise.
4670 * gdb.reverse/finish-precsave.exp: Likewise.
4671 * gdb.reverse/finish-reverse.exp: Likewise.
4672 * gdb.reverse/machinestate-precsave.exp: Likewise.
4673 * gdb.reverse/machinestate.exp: Likewise.
4674 * gdb.reverse/readv-reverse.exp: Likewise.
4675 * gdb.reverse/recvmsg-reverse.exp: Likewise.
4676 * gdb.reverse/sigall-precsave.exp: Likewise.
4677 * gdb.reverse/sigall-reverse.exp: Likewise.
4678 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
4679 * gdb.reverse/watch-precsave.exp: Likewise.
4680 * gdb.reverse/watch-reverse.exp: Likewise.
4681
4682 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4683
4684 * gdb.threads/stop-with-handle.c: New file.
4685 * gdb.threads/stop-with-handle.exp: New file.
4686
4687 2019-10-03 Tom de Vries <tdevries@suse.de>
4688
4689 PR testsuite/25059
4690 * gdb.base/list-missing-source.exp: Allowing the "Compilation
4691 directory" line to be missing.
4692
4693 2019-10-03 Tom de Vries <tdevries@suse.de>
4694
4695 PR testsuite/25059
4696 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
4697 type optional.
4698
4699 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
4700
4701 * gdb.python/py-format-string.c (string.h): New include.
4702 (main): Fill a_struct_with_union.the_union.an_int with bytes of
4703 the same value, for endianness-independence.
4704 * gdb.python/py-format-string.exp (default_regexp_dict)
4705 (test_pretty_structs, test_format): Adjust expected output to the
4706 changed initialization.
4707
4708 2019-10-02 Tom Tromey <tromey@adacore.com>
4709
4710 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
4711
4712 2019-10-02 Pedro Alves <palves@redhat.com>
4713 Andrew Burgess <andrew.burgess@embecosm.com>
4714
4715 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
4716 "print-file-var.h".
4717 (this_version_id) Use ATTRIBUTE_VISIBILITY.
4718 (get_version_1): Print this_version_id and its address.
4719 Add extern "C" wrappers around interface functions.
4720 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
4721 "print-file-var.h".
4722 (this_version_id) Use ATTRIBUTE_VISIBILITY.
4723 (get_version_2): Print this_version_id and its address.
4724 Add extern "C" wrappers around interface functions.
4725 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
4726 <stddef.h> and "print-file-var.h".
4727 Add extern "C" wrappers around interface functions.
4728 [VERSION_ID_MAIN] (this_version_id): Define.
4729 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
4730 * gdb.base/print-file-var.h: Add some #defines to simplify setting
4731 up extern "C" blocks.
4732 * gdb.base/print-file-var.exp (test): New, factored out from top
4733 level.
4734 (top level): Test all combinations of attribute hidden or not,
4735 dlopen or not, and this_version_id symbol in main file or not.
4736 Compile tests as both C++ and C, make test names unique.
4737
4738 2019-10-01 Tom Tromey <tom@tromey.com>
4739
4740 * gdb.base/style.exp: Test "show logging filename".
4741
4742 2019-10-01 Tom Tromey <tom@tromey.com>
4743
4744 * lib/gdb-utils.exp (style): Handle "metadata" argument.
4745 * gdb.base/style.exp: Add metadata style test.
4746
4747 2019-10-01 Tom Tromey <tom@tromey.com>
4748
4749 * gdb.base/style.exp: Test "pwd".
4750
4751 2019-10-01 Tom Tromey <tom@tromey.com>
4752
4753 * gdb.base/style.exp: Update tests.
4754
4755 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
4756
4757 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
4758 'six' to unsigned.
4759 (s1): Initialize fields 'four' and 'six' instead of 'three' and
4760 'five'. Use an all-ones bit pattern for each.
4761 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
4762 to its changed values.
4763
4764 2019-09-30 Tom Tromey <tromey@adacore.com>
4765
4766 * gdb.rust/traits.rs: Disable all warnings.
4767
4768 2019-09-29 Tom de Vries <tdevries@suse.de>
4769
4770 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
4771
4772 2019-09-29 Tom de Vries <tdevries@suse.de>
4773
4774 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
4775
4776 2019-09-27 Tom de Vries <tdevries@suse.de>
4777
4778 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
4779
4780 2019-09-27 Tom de Vries <tdevries@suse.de>
4781
4782 PR record/23188
4783 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
4784
4785 2019-09-26 Tom Tromey <tromey@adacore.com>
4786
4787 * gdb.ada/py_taft.exp: New file.
4788 * gdb.ada/py_taft/main.adb: New file.
4789 * gdb.ada/py_taft/pkg.adb: New file.
4790 * gdb.ada/py_taft/pkg.ads: New file.
4791
4792 2019-09-24 Tom de Vries <tdevries@suse.de>
4793
4794 PR gdb/24598
4795 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
4796
4797 2019-09-22 Tom de Vries <tdevries@suse.de>
4798
4799 * gdb.base/restore.exp: Allow register variables to be optimized out at
4800 -O0.
4801
4802 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
4803
4804 * gdb.arch/spu-info.exp: Remove file.
4805 * gdb.arch/spu-info.c: Remove file.
4806 * gdb.arch/spu-ls.exp: Remove file.
4807 * gdb.arch/spu-ls.c: Remove file.
4808
4809 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
4810 * gdb.asm/spu.inc: Remove file.
4811
4812 * gdb.base/dump.exp: Remove support for spu*-*-*.
4813 * gdb.base/stack-checking.exp: Likewise.
4814 * gdb.base/overlays.exp: Likewise.
4815 * gdb.base/ovlymgr.c: Likewise.
4816 * gdb.base/spu.ld: Remove file.
4817
4818 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
4819 * gdb.cp/cpexprs.exp: Likewise.
4820 * gdb.cp/exception.exp: Likewise.
4821 * gdb.cp/gdb2495.exp: Likewise.
4822 * gdb.cp/mb-templates.exp: Likewise.
4823 * gdb.cp/pr9167.exp: Likewise.
4824 * gdb.cp/userdef.exp: Likewise.
4825
4826 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
4827
4828 * gdb.cell: Remove directory.
4829 * lib/cell.exp: Remove file.
4830
4831 2019-09-19 Tom de Vries <tdevries@suse.de>
4832
4833 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
4834
4835 2019-09-19 Tom de Vries <tdevries@suse.de>
4836
4837 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
4838
4839 2019-09-19 Tom de Vries <tdevries@suse.de>
4840
4841 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
4842 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
4843 (gdb_target_cmd): ... here.
4844 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
4845 value 2.
4846
4847 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
4848
4849 * gdb.base/source-dir.exp: Avoid having directory names in test
4850 names.
4851
4852 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
4853
4854 * gdb.base/source-dir.exp: Add extra test for mapped compilation
4855 directory.
4856
4857 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
4858
4859 * gdb.base/list-missing-source.exp: New file.
4860
4861 2019-09-14 Tom de Vries <tdevries@suse.de>
4862
4863 PR teststuite/24599
4864 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
4865 * lib/ada.exp (gnatmake_version_at_least): New proc.
4866
4867 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
4868
4869 * gdb.base/maint.exp: Use exec_has_index_section.
4870
4871 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
4872
4873 * gdb.base/maint.exp: Add test for 'maint info sections'.
4874
4875 2019-09-12 Tom de Vries <tdevries@suse.de>
4876
4877 * gdb.base/store.exp: Allow register variables to be optimized out at
4878 -O0.
4879
4880 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4881
4882 * gdb.ada/rdv_wait.exp: Update to new task names.
4883 * gdb.base/task_switch_in_core.exp: Likewise.
4884 * gdb.base/info_sources_base.c: Likewise.
4885
4886 2019-09-10 Tom Tromey <tromey@adacore.com>
4887
4888 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
4889
4890 2019-09-10 Tom Tromey <tromey@adacore.com>
4891
4892 * gdb.ada/dgopt.exp: New file.
4893 * gdb.ada/dgopt/x.adb: New file.
4894
4895 2019-09-08 Tom Tromey <tom@tromey.com>
4896
4897 * gdb.tui/resize.exp: Remove setup_xfail.
4898 * gdb.tui/regs.exp: Remove setup_xfail.
4899 * gdb.tui/basic.exp: Remove setup_xfail.
4900
4901 2019-09-06 David Blaikie <dblaikie@gmail.com>
4902
4903 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
4904 * gdb.cp/cplabel.exp: Ditto.
4905 * gdb.linespec/ls-errs.exp: Ditto.
4906
4907 2019-09-05 Tom de Vries <tdevries@suse.de>
4908
4909 * lib/gdb.exp (cmp_file_string): New proc.
4910 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
4911 runto_main. Verify save breakpoints output.
4912
4913 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4914
4915 * gdb.base/info-var.exp: Test info variables without running
4916 to main, to avoid expect's buffer overflow.
4917
4918 2019-09-03 Tom Tromey <tromey@adacore.com>
4919
4920 * gdb.ada/bias.exp: New file.
4921 * gdb.ada/bias/bias.adb: New file.
4922 * gdb.ada/print_chars.exp: Add regression test.
4923 * gdb.ada/print_chars/foo.adb (My_Character): New type.
4924 (MC): New variable.
4925
4926 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
4927
4928 * gdb.base/argv0-symlink.exp: Run only on native target
4929 and local host.
4930
4931 2019-08-29 Tom de Vries <tdevries@suse.de>
4932
4933 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
4934 diverse debug info.
4935 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
4936
4937 2019-08-28 Tom de Vries <tdevries@suse.de>
4938
4939 * gdb.base/info-var.exp: Allow info variables to print info for files
4940 other than info-var-f1.c and info-var-f2.c.
4941
4942 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
4943
4944 * gdb.fortran/info-types.exp: Add module.
4945 * gdb.fortran/info-types.f90: Update expected results.
4946
4947 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
4948
4949 * gdb.fortran/info-types.exp: New file.
4950 * gdb.fortran/info-types.f90: New file.
4951 * lib/fortran.exp (fortran_character1): New proc.
4952
4953 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
4954
4955 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
4956 functions'. Reindent as needed.
4957 * gdb.base/info-var-f1.c: New file.
4958 * gdb.base/info-var-f2.c: New file.
4959 * gdb.base/info-var.exp: New file.
4960 * gdb.base/info-var.h: New file.
4961
4962 2019-08-26 Tom de Vries <tdevries@suse.de>
4963
4964 PR c++/24852
4965 * gdb.cp/no-libstdcxx-probe.exp: New test.
4966
4967 2019-08-26 Tom de Vries <tdevries@suse.de>
4968
4969 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
4970 * tests need to be skipped.
4971 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
4972 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
4973 mi_skip_libstdcxx_probe_tests.
4974
4975 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
4976
4977 * gdb.python/py-xmethods.exp: Use raw strings when passing
4978 arguments to SimpleXMethodMatcher.
4979
4980 2019-08-22 Tom de Vries <tdevries@suse.de>
4981
4982 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
4983 more informative.
4984
4985 2019-08-21 Pedro Alves <palves@redhat.com>
4986
4987 * gdb.base/with.exp: Test "with" with no arguments.
4988
4989 2019-08-21 Tom de Vries <tdevries@suse.de>
4990
4991 * gdb.base/gdb-caching-proc.exp: Sort files.
4992
4993 2019-08-20 Tom de Vries <tdevries@suse.de>
4994
4995 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
4996 compilation.
4997
4998 2019-08-16 Tom de Vries <tdevries@suse.de>
4999
5000 * gdb.base/compare-sections.exp ("after run to main"): Allow
5001 mismatched read-only sections for PIE executables.
5002
5003 2019-08-16 Tom Tromey <tom@tromey.com>
5004
5005 * lib/tuiterm.exp (_csi_Z): New proc.
5006 * gdb.tui/basic.exp: Update window positions.
5007 * gdb.tui/empty.exp: Update window positions.
5008
5009 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5010
5011 * gdb.base/examine-backward.exp: Correct regexp for
5012 "examine 3 bytes backward from ${address_zero}".
5013
5014 2019-08-15 Tom Tromey <tom@tromey.com>
5015
5016 * gdb.tui/empty.exp: Enable resizing tests.
5017
5018 2019-08-15 Tom Tromey <tromey@adacore.com>
5019
5020 * gdb.ada/char_enum.exp: Add regression tests.
5021 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
5022 and '0'.
5023 (Char, Gchar): Update.
5024 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
5025
5026 2019-08-15 Christian Biesinger <cbiesinger@google.com>
5027
5028 * gdb.python/python.exp: Expect a leading underscore on
5029 GdbOutput{,Error}File.
5030
5031 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5032
5033 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
5034 Windows host.
5035
5036 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5037
5038 * gdb.base/batch-preserve-term-settings.exp
5039 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
5040
5041 2019-08-15 Christian Biesinger <cbiesinger@google.com>
5042
5043 * lib/gdb.exp: When running on a mingw target, replace
5044 /x/ with x:/.
5045
5046 2019-08-14 Alan Hayward <alan.hayward@arm.com>
5047
5048 * gdb.arch/aarch64-prologue.c: New test.
5049 * gdb.arch/aarch64-prologue.exp: New file.
5050
5051 2019-08-13 Tom de Vries <tdevries@suse.de>
5052
5053 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
5054 Thread.
5055
5056 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
5057
5058 * gdb.python/py-completion.exp: Download the .py file to the host
5059 and use its host pathname. Conditionalize tests that use
5060 tab completion and manipulate files on the build machine.
5061 * gdb.python/py-events.exp: Download the .py file to the host
5062 and use its host pathname.
5063 * gdb.python/py-evsignal.exp: Likewise.
5064 * gdb.python/py-evthreads.exp: Likewise.
5065 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
5066 pathname syntax.
5067 * gdb.python/py-framefilter.exp: Download the .py file to the right
5068 place on the host. Match Windows pathname syntax.
5069 * gdb.python/py-mi-var-info-path-expression.exp: Download the
5070 .py file to the host and use its host pathname.
5071 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
5072 * gdb.python/py-objfile.exp: Expect a host pathname, not a
5073 build pathname. Skip symlink test on Windows host. Add missing
5074 newline at end of file.
5075 * gdb.python/py-pp-maint.exp: Download the .py file to the host
5076 and use its host pathname.
5077 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
5078 * gdb.python/py-section-script.exp: Use host location of binfile
5079 on safe-path. Use correct path separator on Windows host.
5080 Reorder alternatives in gdb_test_multiple to prevent matching
5081 the wrong alternative on success.
5082 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
5083
5084 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
5085
5086 * gdb.gdb/selftest.exp (test_with_self): Update test to now
5087 expect the GDB inferior to no longer immediately stop after
5088 being resumed with "signal SIGINT".
5089
5090 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
5091
5092 * gdb.linespec/break-ask.exp: Generalize regexps to match
5093 Windows pathnames too.
5094
5095 2019-08-08 Tom de Vries <tdevries@suse.de>
5096
5097 PR testsuite/24862
5098 * lib/tuiterm.exp (_accept): Fix CSI regexp.
5099
5100 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5101
5102 * gdb.base/style.exp: Update tests for help doc new invariants.
5103 * gdb.base/help.exp: Likewise.
5104
5105 2019-08-06 Tom Tromey <tom@tromey.com>
5106
5107 * gdb.base/style.exp: Add disassemble test.
5108 * gdb.base/style.c (some_called_function): New function.
5109 (main): Use it.
5110
5111 2019-08-05 Christian Biesinger <cbiesinger@google.com>
5112
5113 * gdb.python/py-block.exp: Test dictionary access on blocks.
5114
5115 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
5116
5117 PR gdb/24863
5118 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
5119 -list-thread-groups --available test when running under
5120 check-read1.
5121
5122 2019-08-05 Tom de Vries <tdevries@suse.de>
5123
5124 PR testsuite/24863
5125 * lib/gdb.exp (with_read1_timeout_factor): New proc.
5126 * gdb.base/help.exp: Use with_read1_timeout_factor.
5127 * gdb.base/info-macros.exp: Same.
5128 * gdb.cp/nested-types.exp: Same.
5129
5130 2019-08-05 Tom de Vries <tdevries@suse.de>
5131
5132 * lib/gdb.exp (version_at_least): Factor out of ...
5133 (tcl_version_at_least): ... here.
5134 (gdb_compile): Fail if pie results in non-PIE executable.
5135 (readelf_version, readelf_prints_pie): New proc.
5136 (exec_is_pie): Return -1 if unknown.
5137
5138 2019-08-05 Tom de Vries <tdevries@suse.de>
5139
5140 * lib/gdb.exp (tcl_version_at_least): Fix typo.
5141
5142 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
5143
5144 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
5145
5146 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
5147
5148 * lib/completion-support.exp (test_gdb_complete_none): Skip
5149 tab completion tests if no readline support.
5150 (test_gdb_complete_unique_re): Likewise.
5151 (test_gdb_complete_multiple): Likewise.
5152
5153 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5154
5155 * gdb.base/info_sources.exp: New file.
5156 * gdb.base/info_sources.c: New file.
5157 * gdb.base/info_sources_base.c: New file.
5158
5159 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5160
5161 * gdb.base/batch-exit-status.exp: Call test_exit_status with
5162 prefix argument.
5163 (test_exit_status): Add prefix argument.
5164
5165 2019-08-01 Tom de Vries <tdevries@suse.de>
5166
5167 PR testsuite/24863
5168 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
5169 calling exp_continue for new thread and thread exited messages.
5170
5171 2019-08-01 Tom de Vries <tdevries@suse.de>
5172
5173 PR testsuite/24863
5174 * gdb.base/structs.exp: Fix check-read1 timeout using
5175 gdb_test_sequence.
5176 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
5177
5178 2019-08-01 Tom de Vries <tdevries@suse.de>
5179
5180 PR testsuite/24863
5181 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
5182 line.
5183
5184 2019-08-01 Tom de Vries <tdevries@suse.de>
5185
5186 PR testsuite/24863
5187 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
5188
5189 2019-07-30 Tom Tromey <tromey@adacore.com>
5190
5191 * gdb.ada/display_nested.exp: New file.
5192 * gdb.ada/display_nested/foo.adb: New file.
5193 * gdb.ada/display_nested/pack.adb: New file.
5194 * gdb.ada/display_nested/pack.ads: New file.
5195
5196 2019-07-30 Christian Biesinger <cbiesinger@google.com>
5197
5198 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
5199 namespace.
5200 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
5201
5202 2019-07-30 Tom de Vries <tdevries@suse.de>
5203
5204 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
5205 instead.
5206
5207 2019-07-30 Tom de Vries <tdevries@suse.de>
5208
5209 PR testsuite/24834
5210 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
5211 (exec_is_pie): New proc.
5212
5213 2019-07-29 Christian Biesinger <cbiesinger@google.com>
5214
5215 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
5216
5217 2019-07-29 Christian Biesinger <cbiesinger@google.com>
5218
5219 * gdb.python/py-objfile.c: Add global and static vars.
5220 * gdb.python/py-objfile.exp: Test new functions Objfile.
5221 lookup_global_symbol and lookup_static_symbol.
5222
5223 2019-07-29 Tom Tromey <tom@tromey.com>
5224
5225 * lib/tuiterm.exp (Term::_csi_@): New proc.
5226 (Term::_csi_X): Don't move cursor.
5227
5228 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5229
5230 * gdb.base/options.exp: Update backtrace - completion to
5231 new option -frame-info.
5232 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
5233 Test new 'set print frame-info'. Test backtrace -frame-info
5234 overriding 'set print frame-info'.
5235 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
5236 Test new 'set print frame-info'.
5237 Verify consistency of backtrace with and without filters, with and
5238 without -no-filters.
5239 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
5240 default.
5241
5242 2019-07-29 Tom de Vries <tdevries@suse.de>
5243
5244 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
5245 no arguments".
5246
5247 2019-07-29 Tom de Vries <tdevries@suse.de>
5248
5249 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
5250 is a substring of the first for "complete non-unique file name".
5251
5252 2019-07-29 Tom de Vries <tdevries@suse.de>
5253
5254 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
5255 with ".*".
5256
5257 2019-07-29 Tom de Vries <tdevries@suse.de>
5258
5259 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
5260 Pass prompt_regexp parameter to gdb_test_multiple calls.
5261
5262 2019-07-29 Tom de Vries <tdevries@suse.de>
5263
5264 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
5265 print registers" regexps.
5266
5267 2019-07-29 Tom de Vries <tdevries@suse.de>
5268
5269 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
5270
5271 2019-07-29 Tom de Vries <tdevries@suse.de>
5272
5273 PR gdb/24855
5274 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
5275 (skip_python_tests_prompt): Add prompt_regexp argument to
5276 gdb_test_multiple calls.
5277
5278 2019-07-27 Tom Tromey <tom@tromey.com>
5279
5280 * gdb.tui/main.exp: New file.
5281
5282 2019-07-27 Tom Tromey <tom@tromey.com>
5283
5284 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
5285 optional.
5286 * gdb.tui/empty.exp: New file.
5287
5288 2019-07-27 Tom Tromey <tom@tromey.com>
5289
5290 * lib/tuiterm.exp (spawn): New proc.
5291 (Term::resize): New proc.
5292 * gdb.tui/resize.exp: New file.
5293
5294 2019-07-27 Tom Tromey <tom@tromey.com>
5295
5296 * gdb.tui/list.exp: New file.
5297
5298 2019-07-27 Tom Tromey <tom@tromey.com>
5299
5300 * gdb.tui/regs.exp: New file.
5301
5302 2019-07-27 Tom Tromey <tom@tromey.com>
5303
5304 * gdb.tui/basic.exp: Add "layout split" test.
5305
5306 2019-07-27 Tom Tromey <tom@tromey.com>
5307
5308 * gdb.tui/basic.exp: Add "layout asm" test.
5309
5310 2019-07-27 Tom Tromey <tom@tromey.com>
5311
5312 * lib/tuiterm.exp: New file.
5313 * gdb.tui/basic.exp: New file.
5314
5315 2019-07-27 Kevin Buettner <kevinb@redhat.com>
5316
5317 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
5318 Enable tests associated with this flag. Adjust regex
5319 referencing "foo_low" to now refer to "foo_cold" instead.
5320
5321 2019-07-27 Kevin Buettner <kevinb@redhat.com>
5322
5323 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
5324 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
5325 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
5326 foo_cold. Revise comments to match.
5327 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
5328 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
5329 were wrapped into this proc; Call do_test in loop from outermost
5330 level.
5331 (foo_low): Rename all occurrences to "foo_cold".
5332 (backtrace from baz): New test.
5333 (x2/i foo_cold): New test.
5334 (info line *foo_cold): New test.
5335
5336 2019-07-26 Tom de Vries <tdevries@suse.de>
5337
5338 * gdb.arch/i386-pkru.exp: Fix unterminated string.
5339
5340 2019-07-25 Tom de Vries <tdevries@suse.de>
5341
5342 PR testsuite/24830
5343 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
5344 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
5345 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
5346 (skip_libstdcxx_probe_tests): ... here.
5347 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
5348
5349 2019-07-24 Tom de Vries <tdevries@suse.de>
5350
5351 PR testsuite/24807
5352 * gdb.objc/basicclass.m: Include stdio.h.
5353 * gdb.objc/nondebug.m: Same.
5354 * gdb.objc/objcdecode.m: Same.
5355
5356 2019-07-24 Tom de Vries <tdevries@suse.de>
5357
5358 PR testsuite/24612
5359 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
5360 additional_flags.
5361
5362 2019-07-24 Tom de Vries <tdevries@suse.de>
5363
5364 PR testsuite/24831
5365 * gdb.multi/tids.exp: Update error messages for info threads.
5366
5367 2019-07-24 Tom de Vries <tdevries@suse.de>
5368
5369 * gdb.base/info-types.exp: Allow info types to print info for more than
5370 one file.
5371
5372 2019-07-23 Tom de Vries <tdevries@suse.de>
5373
5374 PR testsuite/24842
5375 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
5376 gdb_spawn_with_cmdline_opts.
5377
5378 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
5379
5380 * gdb.arch/arm-cmse-sgstubs.c: New test.
5381 * gdb.arch/arm-cmse-sgstubs.exp: New file.
5382
5383 2019-07-23 Tom de Vries <tdevries@suse.de>
5384
5385 PR testsuite/24711
5386 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
5387 issuing next command.
5388
5389 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
5390
5391 * gdb.ada/info_auto_lang.exp: Update expected results.
5392 * gdb.base/info-types.c: Add additional types to check.
5393 * gdb.base/info-types.exp: Update expected results.
5394
5395 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
5396
5397 * gdb.base/info-types.c: New file.
5398 * gdb.base/info-types.exp: New file.
5399
5400 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
5401
5402 * gdb.arch/riscv-bp-infcall.c: New file.
5403 * gdb.arch/riscv-bp-infcall.exp: New file.
5404
5405 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
5406
5407 PR breakpoints/24541
5408 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
5409
5410 2019-07-14 Tom de Vries <tdevries@suse.de>
5411
5412 PR testsuite/24760
5413 * gdb.objc/basicclass.exp: Fix unterminated string.
5414
5415 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
5416 Andrew Burgess <andrew.burgess@embecosm.com>
5417
5418 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
5419 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
5420 negative bounds.
5421 * gdb.fortran/vla-value.exp: Print elements of an array with
5422 negative bounds.
5423 * gdb.fortran/vla.f90: Setup an array with negative bounds for
5424 testing.
5425
5426 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
5427
5428 * gdb.base/options.exp (expect_string): Dequote strings in
5429 results.
5430 (test-string): Test strings with different quoting and reindent.
5431
5432 2019-07-10 Tom Tromey <tromey@adacore.com>
5433
5434 * gdb.ada/mi_ex_cond.exp: Update expected results.
5435 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
5436 * gdb.ada/mi_catch_ex.exp: Update expected results.
5437 * gdb.ada/mi_catch_assert.exp: Update expected results.
5438 * gdb.ada/catch_ex.exp (catch_exception_info)
5439 (catch_exception_entry, catch_assert_entry)
5440 (catch_unhandled_entry): Update.
5441 * gdb.ada/catch_assert_if.exp: Update expected results.
5442
5443 2019-07-10 Richard Bunt <richard.bunt@arm.com>
5444 Stephen Roberts <stephen.roberts@arm.com>
5445
5446 * gdb.base/define.exp: Restore original prompt.
5447
5448 2019-07-09 Pedro Alves <palves@redhat.com>
5449
5450 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
5451 breakpoints" output.
5452 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
5453 * gdb.python/py-breakpoint.exp: No longer expect that "catch
5454 throw" creates breakpoint.
5455 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
5456 'type="catchpoint"'.
5457
5458 2019-07-09 Pedro Alves <palves@redhat.com>
5459
5460 PR c++/15468
5461 * gdb.cp/except-multi-location-lib.cc: New.
5462 * gdb.cp/except-multi-location-main.cc: New.
5463 * gdb.cp/except-multi-location.exp: New.
5464
5465 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
5466
5467 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
5468 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
5469 argument and update callers.
5470
5471 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5472
5473 * gdb.arch/amd64-break-on-asm-line.S: New file.
5474 * gdb.arch/amd64-break-on-asm-line.exp: New file.
5475
5476 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5477
5478 * gdb.base/printcmds.exp: Test printing C string and
5479 C wide string convenience vars without transiting via the inferior.
5480 Also make test names unique.
5481
5482 2019-07-08 Alan Hayward <alan.hayward@arm.com>
5483
5484 PR breakpoints/25011
5485 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
5486
5487 2019-07-04 Pedro Alves <palves@redhat.com>
5488
5489 * lib/gdb.exp (foreach_with_prefix): Don't return early if
5490 body returned ok(0), break(3) or continue(4).
5491 * gdb.testsuite/foreach_with_prefix.exp: New file.
5492
5493 2019-07-04 Alan Hayward <alan.hayward@arm.com>
5494
5495 * gdb.server/unittest.exp: Allow 0 unit tests to run.
5496
5497 2019-07-03 Pedro Alves <palves@redhat.com>
5498
5499 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
5500 "return -code".
5501
5502 2019-07-03 Pedro Alves <palves@redhat.com>
5503
5504 PR cli/24732
5505 * gdb.base/shell.exp: Load completion-support.exp.
5506 Adjust expected error output. Add completion tests.
5507
5508 2019-07-03 Pedro Alves <palves@redhat.com>
5509
5510 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
5511 string_to_regexp.
5512
5513 2019-07-03 Pedro Alves <palves@redhat.com>
5514
5515 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
5516 (expect_integer): Adjust to expect "-string".
5517 (expect_string): New.
5518 (all_options): Expect "-string".
5519 (test-flag, test-boolean): Adjust to expect "-string".
5520 (test-string): New proc.
5521 (top level): Call it.
5522
5523 2019-07-03 Pedro Alves <palves@redhat.com>
5524
5525 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
5526 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
5527 the expected output in the success.
5528
5529 2019-07-03 Pedro Alves <palves@redhat.com>
5530
5531 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5532 Split one gdb_test_multiple call in two to avoid a race.
5533
5534 2019-07-03 Pedro Alves <palves@redhat.com>
5535
5536 * gdb.base/with.c: New file.
5537 * gdb.base/with.exp: New file.
5538
5539 2019-07-03 Pedro Alves <palves@redhat.com>
5540
5541 * gdb.base/settings.exp: Replace all references to "maint
5542 test-settings set" with references to "maint set test-settings",
5543 and all references to "maint test-settings show" with references
5544 to "maint show test-settings".
5545
5546 2019-07-03 Pedro Alves <palves@redhat.com>
5547
5548 * gdb.base/settings.exp (test-string): Adjust expected out when
5549 testing "maint test-settings show filename"
5550
5551 2019-07-02 Pedro Alves <palves@redhat.com>
5552
5553 * gdb.base/options.exp (test-info-threads): New procedure.
5554 (top level): Call it.
5555
5556 2019-06-28 Tom Tromey <tromey@adacore.com>
5557
5558 * gdb.dwarf2/ada-linkage-name.c: New file.
5559 * gdb.dwarf2/ada-linkage-name.exp: New file.
5560
5561 2019-06-27 Tom Tromey <tromey@adacore.com>
5562
5563 PR c++/20020:
5564 * gdb.cp/constexpr-field.exp: Use setup_xfail.
5565
5566 2019-06-26 Tom de Vries <tdevries@suse.de>
5567
5568 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
5569
5570 2019-06-26 Tom de Vries <tdevries@suse.de>
5571
5572 * gdb.base/index-cache.exp: Add back missing debug option.
5573
5574 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5575
5576 * gdb.base/alias.exp: Test non matching/non existing prefixes.
5577
5578 2019-06-25 Tom de Vries <tdevries@suse.de>
5579
5580 PR testsuite/24727
5581 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
5582
5583 2019-06-24 Tom de Vries <tdevries@suse.de>
5584
5585 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
5586
5587 2019-06-24 Tom de Vries <tdevries@suse.de>
5588
5589 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
5590 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
5591 * gdb.trace/unavailable-dwarf-piece.exp: Same.
5592
5593 2019-06-24 Tom de Vries <tdevries@suse.de>
5594
5595 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
5596
5597 2019-06-21 Tom de Vries <tdevries@suse.de>
5598
5599 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
5600
5601 2019-06-21 Tom de Vries <tdevries@suse.de>
5602
5603 PR testsuite/24518
5604 PR ada/24713
5605 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
5606 index.
5607
5608 2019-06-19 Tom Tromey <tromey@adacore.com>
5609
5610 * gdb.ada/length_cond.exp: Add intro comment.
5611
5612 2019-06-19 Tom Tromey <tromey@adacore.com>
5613
5614 * gdb.ada/length_cond.exp: New file.
5615 * gdb.ada/length_cond/length_cond.adb: New file.
5616 * gdb.ada/length_cond/pck.adb: New file.
5617 * gdb.ada/length_cond/pck.ads: New file.
5618
5619 2019-06-18 Tom de Vries <tdevries@suse.de>
5620
5621 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
5622
5623 2019-06-18 Tom Tromey <tromey@adacore.com>
5624
5625 * gdb.base/list0.h: Add comment explaining control character.
5626
5627 2019-06-18 Tom de Vries <tdevries@suse.de>
5628
5629 * boards/fission.exp: Break up long debug_flags line.
5630
5631 2019-06-16 Tom de Vries <tdevries@suse.de>
5632
5633 PR gdb/24445
5634 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
5635 generated index.
5636
5637 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
5638
5639 PR gdb/24686
5640 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
5641 improve detection of bug gdb/24541.
5642
5643 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
5644
5645 PR gdb/24669
5646 * gdb.base/index-cache.exp (uses_readnow,
5647 expecting_index_cache_use): Define global variable.
5648 (test_cache_enabled_miss, test_cache_enabled_hit): Use
5649 expecting_index_cache_use.
5650
5651 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
5652 Andrew Burgess <andrew.burgess@embecosm.com>
5653
5654 * gdb.fortran/pointers.f90: New file.
5655 * gdb.fortran/print_type.exp: New file.
5656 * gdb.fortran/vla-ptype.exp: Adapt expected results.
5657 * gdb.fortran/vla-type.exp: Likewise.
5658 * gdb.fortran/vla-value.exp: Likewise.
5659 * gdb.mi/mi-vla-fortran.exp: Likewise.
5660
5661 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
5662
5663 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
5664 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
5665 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
5666 as a stop reason.
5667
5668 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
5669
5670 * gdb.base/annota1.exp: Update expected results.
5671 * gdb.cp/annota2.exp: Likewise.
5672 * gdb.cp/annota3.exp: Likewise.
5673
5674 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
5675
5676 * gdb.base/style-logging.exp: Remove path from test name.
5677
5678 2019-06-14 Tom Tromey <tromey@adacore.com>
5679
5680 PR gdb/24502:
5681 * gdb.base/style-logging.exp: New file.
5682
5683 2019-06-14 Tom Tromey <tromey@adacore.com>
5684
5685 * gdb.base/symfile-warn.exp: New file.
5686 * gdb.base/symfile-warn.c: New file.
5687
5688 2019-06-14 Tom Tromey <tromey@adacore.com>
5689
5690 * gdb.base/annotate-symlink.exp: New file.
5691
5692 2019-06-14 Tom Tromey <tromey@adacore.com>
5693
5694 * gdb.ada/set_wstr.exp: Add reassignment test.
5695
5696 2019-06-14 Tom Tromey <tromey@adacore.com>
5697
5698 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
5699 'unchecked_access and 'unrestricted_access as well.
5700
5701 2019-06-14 Tom Tromey <tromey@adacore.com>
5702
5703 PR ada/24539:
5704 * gdb.ada/vla.exp: Update tests.
5705 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
5706 pragma.
5707
5708 2019-06-13 Pedro Alves <palves@redhat.com>
5709
5710 * gdb.base/settings.exp (test-integer): Test junk after
5711 "unlimited".
5712
5713 2019-06-13 Pedro Alves <palves@redhat.com>
5714
5715 * gdb.base/options.exp (test-thread-apply): New.
5716 (top level): Call it.
5717
5718 2019-06-13 Pedro Alves <palves@redhat.com>
5719
5720 * gdb.base/options.exp (test-frame-apply): New.
5721 (top level): Test print commands with different "frame apply"
5722 prefixes.
5723
5724 2019-06-13 Pedro Alves <palves@redhat.com>
5725
5726 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
5727 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
5728 'max_completions' parameter and handle it.
5729 (test_gdb_completion_offers_commands): New.
5730
5731 2019-06-13 Pedro Alves <palves@redhat.com>
5732
5733 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
5734
5735 2019-06-13 Pedro Alves <palves@redhat.com>
5736
5737 * gdb.base/options.exp (test-backtrace): New.
5738 (top level): Call it.
5739
5740 2019-06-13 Pedro Alves <palves@redhat.com>
5741
5742 * gdb.guile/scm-frame-args.exp: Use "set print
5743 raw-frame-arguments" instead of "set print raw frame-arguments".
5744 * gdb.python/py-frame-args.exp: Likewise.
5745
5746 2019-06-13 Pedro Alves <palves@redhat.com>
5747
5748 * gdb.compile/compile.exp: Adjust expected output to option
5749 processing changes.
5750
5751 2019-06-13 Pedro Alves <palves@redhat.com>
5752
5753 * gdb.base/options.exp: Build executable.
5754 (test-print): New procedure.
5755 (top level): Call it, once for "print" and another for "compile
5756 print".
5757
5758 2019-06-13 Pedro Alves <palves@redhat.com>
5759
5760 * gdb.base/options.c: New file.
5761 * gdb.base/options.exp: New file.
5762
5763 2019-06-13 Pedro Alves <palves@redhat.com>
5764
5765 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
5766 that "o" is ambiguous.
5767
5768 2019-06-13 Pedro Alves <palves@redhat.com>
5769
5770 * gdb.base/settings.c: New file.
5771 * gdb.base/settings.exp: New file.
5772
5773 2019-06-13 Pedro Alves <palves@redhat.com>
5774
5775 * gdb.base/completion.exp: Fix comment typo.
5776
5777 2019-06-13 Pedro Alves <palves@redhat.com>
5778
5779 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
5780 foo --1" test.
5781
5782 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
5783
5784 * gdb.fortran/block-data.f: New.
5785 * gdb.fortran/block-data.exp: New.
5786
5787 2019-06-11 Tom de Vries <tdevries@suse.de>
5788
5789 PR testsuite/24521
5790 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
5791 message.
5792
5793 2019-06-11 Tom de Vries <tdevries@suse.de>
5794
5795 PR testsuite/24521
5796 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
5797
5798 2019-06-11 Tom de Vries <tdevries@suse.de>
5799
5800 * boards/readnow.exp: New file.
5801
5802 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
5803
5804 * gdb.fortran/vla-sizeof.exp: Update expected results.
5805
5806 2019-06-06 Amos Bird <amosbird@gmail.com>
5807
5808 * gdb.base/annota1.exp (thread_switch): Add test for
5809 thread-exited annotation.
5810
5811 2019-06-06 Tom Tromey <tromey@adacore.com>
5812
5813 * gdb.base/maint.exp: Expect command started/finished output.
5814
5815 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
5816
5817 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
5818 comment.
5819 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
5820
5821 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
5822
5823 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
5824 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
5825 * gdb.arch/riscv-unwind-long-insn.c: New file.
5826 * gdb.arch/riscv-unwind-long-insn.exp: New file.
5827
5828 2019-06-04 Christian Biesinger <cbiesinger@google.com>
5829
5830 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
5831
5832 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5833
5834 * lib/gdb.exp (help_list_trailer): New regexp variable
5835 factorizing the help trailer message.
5836 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
5837 arg to allow to better factorize various tests.
5838 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
5839 (test_prefix_command_help): Use help_list_trailer.
5840 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
5841 * gdb.guile/scm-cmd.exp: Likewise.
5842 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
5843 * gdb.base/help.exp: Use test_user_defined_class_help.
5844 * gdb.base/style.exp: Add tests for styling of help and apropos.
5845 * lib/gdb-utils.exp (style): Add title and highlight styles.
5846
5847 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5848
5849 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
5850 $_shell_exitsignal.
5851 * gdb.base/default.exp: Update for new convenience variables.
5852
5853 2019-05-29 Tom Tromey <tromey@adacore.com>
5854
5855 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
5856 to "break complete ada" test case's regexp.
5857
5858 2019-05-29 Tom Tromey <tromey@adacore.com>
5859
5860 PR c++/20020:
5861 * gdb.cp/constexpr-field.exp: New file.
5862 * gdb.cp/constexpr-field.cc: New file.
5863
5864 2019-05-29 Tom Tromey <tromey@adacore.com>
5865
5866 * gdb.base/finish.exp (finish_no_print): New proc.
5867 (finish_tests): Call it.
5868
5869 2019-05-24 Tom de Vries <tdevries@suse.de>
5870
5871 * gdb.dwarf2/gdb-add-index.exp: New file.
5872
5873 2019-05-22 Tom Tromey <tromey@adacore.com>
5874
5875 * gdb.base/info-shared.exp (check_info_shared): Use "style".
5876 * gdb.base/style.exp: Use "style".
5877 * lib/gdb-utils.exp (style): New proc.
5878
5879 2019-05-22 Tom de Vries <tdevries@suse.de>
5880
5881 * gdb.base/align.exp: Require c++11.
5882
5883 2019-05-22 Tom de Vries <tdevries@suse.de>
5884
5885 PR testsuite/24586
5886 * gdb.python/py-mi-var-info-path-expression.exp: Call
5887 mi_skip_python_tests to check if python is supported.
5888
5889 2019-05-22 Alan Hayward <alan.hayward@arm.com>
5890
5891 * gdb.arch/aarch64-pauth.c: New test.
5892 * gdb.arch/aarch64-pauth.exp: New file.
5893
5894 2019-05-22 Alan Hayward <alan.hayward@arm.com>
5895
5896 * README (Re-running Tests Outside The Testsuite): New section.
5897
5898 2019-05-21 Tom de Vries <tdevries@suse.de>
5899
5900 * gdb.arch/amd64-eval.exp: Require c++11.
5901 * gdb.base/max-depth.exp: Same.
5902 * gdb.compile/compile-cplus-array-decay.exp: Same.
5903 * gdb.cp/meth-typedefs.exp: Same.
5904 * gdb.cp/subtypes.exp: Same.
5905 * gdb.cp/temargs.exp: Same.
5906
5907 2019-05-21 Alan Hayward <alan.hayward@arm.com>
5908
5909 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
5910
5911 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
5912
5913 PR gdb/18644
5914 * gdb.fortran/complex.exp: Remove setup_kfail calls.
5915 * gdb.fortran/printing-types.exp: Add new test.
5916 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
5917 testing.
5918 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
5919 setup_kfail call.
5920
5921 2019-05-17 Alan Hayward <alan.hayward@arm.com>
5922
5923 * README (Running the Testsuite): Change example.
5924 (Testsuite Parameters): Remove TRANSCRIPT.
5925 * lib/gdb.exp: Remove TRANSCRIPT check.
5926
5927 2019-05-17 Alan Hayward <alan.hayward@arm.com>
5928
5929 * README (Testsuite Parameters): Add replay logging to
5930 GDBSERVER_DEBUG.
5931 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
5932 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
5933 as a comma separated list.
5934 (gdb_debug_init): Override procedure.
5935
5936 2019-05-17 Alan Hayward <alan.hayward@arm.com>
5937
5938 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
5939 (gdb_write_cmd_file): New procedure.
5940 * lib/gdbserver-support.exp (gdbserver_start): Call
5941 gdbserver_write_cmd_file.
5942 (gdbserver_write_cmd_file): New procedure.
5943
5944 2019-05-17 Alan Hayward <alan.hayward@arm.com>
5945
5946 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
5947 (delete_breakpoints): Likewise.
5948 (gdb_run_cmd): Likewise.
5949 (gdb_start_cmd): Likewise.
5950 (gdb_starti_cmd): Likewise.
5951 (gdb_internal_error_resync): Likewise.
5952 (gdb_test_multiple): Likewise.
5953 (gdb_reinitialize_dir): Likewise.
5954 (default_gdb_exit): Likewise.
5955 (gdb_file_cmd): Mark kill as optional.
5956 (default_gdb_start): Call gdb_stdin_log_init.
5957 (send_gdb): Call gdb_stdin_log_write.
5958 (rerun_to_main): Mark Y as an answer.
5959 (gdb_stdin_log_init): New function.
5960 (gdb_stdin_log_write): Likewise.
5961
5962 2019-05-17 Alan Hayward <alan.hayward@arm.com>
5963
5964 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
5965 * gdb.base/debug-expr.exp: Likewise.
5966 * gdb.base/foll-fork.exp: Likewise.
5967 * gdb.base/foll-vfork.exp: Likewise.
5968 * gdb.base/fork-print-inferior-events.exp: Likewise.
5969 * gdb.base/gdb-sigterm.exp: Likewise.
5970 * gdb.base/gdbinit-history.exp: Likewise.
5971 * gdb.base/osabi.exp: Likewise.
5972 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
5973 * gdb.base/ui-redirect.exp: Likewise.
5974 * gdb.gdb/unittest.exp: Likewise.
5975 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
5976 * gdb.mi/mi-watch.exp: Likewise.
5977 * gdb.mi/new-ui-mi-sync.exp: Likewise.
5978 * gdb.mi/user-selected-context-sync.exp: Likewise.
5979 * gdb.python/python.exp: Disable debug test when debugging.
5980 * gdb.threads/check-libthread-db.exp: Disable when debugging.
5981 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5982 Likewise.
5983 * gdb.threads/stepi-random-signal.exp: Likewise.
5984
5985 2019-05-17 Alan Hayward <alan.hayward@arm.com>
5986
5987 * Makefile.in: Pass through GDB_DEBUG.
5988 * README (Testsuite Parameters): Add GDB_DEBUG.
5989 (gdb,debug): Add board setting.
5990 * lib/gdb.exp (default_gdb_start): Start debugging.
5991 (gdb_debug_enabled): New procedure.
5992 (gdb_debug_init): Likewise.
5993
5994 2019-05-17 Alan Hayward <alan.hayward@arm.com>
5995
5996 * Makefile.in: Pass through GDB_DEBUG.
5997 * README (Testsuite Parameters): Add GDB_DEBUG.
5998 (gdb,debug): Add board setting.
5999 * lib/gdb.exp (default_gdb_start): Start debugging.
6000 (gdb_debug_enabled): New procedure.
6001 (gdb_debug_init): Likewise.
6002
6003 2019-05-17 Alan Hayward <alan.hayward@arm.com>
6004
6005 * gdb.base/ui-redirect.exp: Add debug redirect tests.
6006
6007 2019-05-17 Alan Hayward <alan.hayward@arm.com>
6008
6009 * gdb.base/ui-redirect.exp: Test redirection.
6010
6011 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
6012
6013 * gdb.mi/mi-complete.exp: New file.
6014 * gdb.mi/mi-complete.cc: Likewise.
6015
6016 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
6017
6018 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
6019 indexed and sliced arrays, and pointers to arrays.
6020
6021 2019-05-14 Tom Tromey <tromey@adacore.com>
6022
6023 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
6024 styling test.
6025
6026 2019-05-14 Tom de Vries <tdevries@suse.de>
6027
6028 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
6029 selection entry encoding.
6030
6031 2019-05-10 Tom Tromey <tromey@adacore.com>
6032
6033 * gdb.ada/info_exc.exp: Add "complete" test.
6034
6035 2019-05-09 Tom de Vries <tdevries@suse.de>
6036
6037 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
6038 CU-relative.
6039
6040 2019-05-09 Tom de Vries <tdevries@suse.de>
6041
6042 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
6043 CU-relative.
6044
6045 2019-05-08 Joel Brobecker <brobecker@adacore.com>
6046
6047 * gdb.ada/frame_arg_lang.exp: New testcase.
6048 * gdb.ada/frame_arg_lang/bla.adb: New file.
6049 * gdb.ada/frame_arg_lang/pck.ads: New file.
6050 * gdb.ada/frame_arg_lang/pck.adb: New file.
6051 * gdb.ada/frame_arg_lang/foo.c: New file.
6052
6053 2019-05-08 Tom Tromey <tromey@adacore.com>
6054
6055 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
6056
6057 2019-05-08 Tom Tromey <tromey@adacore.com>
6058
6059 * gdb.base/ptype-offsets.exp: Update tests.
6060
6061 2019-05-08 Tom Tromey <tromey@adacore.com>
6062
6063 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
6064 cases.
6065 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
6066 "short".
6067
6068 2019-05-08 Tom Tromey <tromey@adacore.com>
6069
6070 * gdb.ada/vla.exp: New file.
6071 * gdb.ada/vla/vla.adb: New file.
6072
6073 2019-05-07 Tom de Vries <tdevries@suse.de>
6074
6075 * gdb.base/index-cache.exp (ls_host): Fix return statement.
6076
6077 2019-05-07 Tom de Vries <tdevries@suse.de>
6078
6079 PR testsuite/24522
6080 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
6081 section.
6082
6083 2019-05-07 Tom de Vries <tdevries@suse.de>
6084
6085 PR testsuite/24522
6086 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
6087 .debug_aranges section.
6088
6089 2019-05-07 Tom de Vries <tdevries@suse.de>
6090
6091 PR testsuite/24159
6092 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
6093
6094 2019-05-06 Tom de Vries <tdevries@suse.de>
6095
6096 * lib/gdb.exp (exec_has_index_section): New proc.
6097 * gdb.base/index-cache.exp: Handle case that binfile contains an index
6098 section.
6099
6100 2019-05-04 Tom de Vries <tdevries@suse.de>
6101
6102 * boards/cc-with-debug-names.exp: New file.
6103
6104 2019-05-03 Tom Tromey <tromey@adacore.com>
6105
6106 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
6107 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
6108 * gdb.ada/char_enum.exp: Add test.
6109
6110 2019-05-03 Tom de Vries <tdevries@suse.de>
6111
6112 * boards/cc-with-gdb-index.exp: New file.
6113
6114 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
6115
6116 * gdb.rust/simple.exp: Add new test case.
6117 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
6118 (main): Initialise an instance of the new struct.
6119
6120 2019-05-01 Tom Tromey <tromey@adacore.com>
6121
6122 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
6123 record.
6124 (NPR): New variable.
6125 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
6126 test.
6127
6128 2019-05-01 Tom Tromey <tromey@adacore.com>
6129
6130 * gdb.ada/packed_array_assign.exp: Add packed assignment
6131 regression test.
6132
6133 2019-05-01 Tom de Vries <tdevries@suse.de>
6134
6135 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
6136
6137 2019-05-01 Tom de Vries <tdevries@suse.de>
6138
6139 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
6140
6141 2019-04-30 Ali Tamur <tamur@google.com>
6142
6143 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
6144
6145 2019-04-30 Tom Tromey <tromey@adacore.com>
6146
6147 * lib/ada.exp (find_ada_tool): New proc.
6148 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
6149 * gdb.ada/catch_ex_std.exp: New file.
6150 * gdb.ada/catch_ex_std/foo.adb: New file.
6151 * gdb.ada/catch_ex_std/some_package.adb: New file.
6152 * gdb.ada/catch_ex_std/some_package.ads: New file.
6153
6154 2019-04-30 Tom Tromey <tromey@adacore.com>
6155
6156 PR c++/24470:
6157 * gdb.cp/temargs.cc: Add test code from PR.
6158
6159 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6160
6161 * gdb.fortran/vla-datatypes.exp: Update expected results.
6162 * gdb.fortran/vla-ptype.exp: Likewise.
6163 * gdb.fortran/vla-type.exp: Likewise.
6164 * gdb.fortran/vla-value.exp: Likewise.
6165
6166 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6167
6168 * gdb.fortran/ptr-indentation.exp: Update expected results.
6169 * gdb.fortran/ptype-on-functions.exp: Likewise.
6170 * gdb.fortran/vla-ptr-info.exp: Likewise.
6171 * gdb.fortran/vla-value.exp: Likewise.
6172
6173 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6174
6175 * gdb.fortran/ptype-on-functions.exp: New file.
6176 * gdb.fortran/ptype-on-functions.f90: New file.
6177
6178 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6179
6180 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
6181 case void string.
6182
6183 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6184
6185 * gdb.fortran/complex.exp: Expand.
6186 * gdb.fortran/complex.f: Renamed to...
6187 * gdb.fortran/complex.f90: ...this, and extended to add more
6188 complex values.
6189
6190 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6191
6192 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
6193 MODULO, CMPLX.
6194
6195 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
6196 Richard Bunt <richard.bunt@arm.com>
6197
6198 * gdb.base/max-depth.c: New file.
6199 * gdb.base/max-depth.exp: New file.
6200 * gdb.python/py-nested-maps.c: New file.
6201 * gdb.python/py-nested-maps.exp: New file.
6202 * gdb.python/py-nested-maps.py: New file.
6203 * gdb.python/py-format-string.exp (test_max_depth): New proc.
6204 (test_all_common): Call test_max_depth.
6205 * gdb.fortran/max-depth.exp: New file.
6206 * gdb.fortran/max-depth.f90: New file.
6207 * gdb.go/max-depth.exp: New file.
6208 * gdb.go/max-depth.go: New file.
6209 * gdb.modula2/max-depth.exp: New file.
6210 * gdb.modula2/max-depth.c: New file.
6211 * lib/gdb.exp (get_print_expr_at_depths): New proc.
6212
6213 2019-04-29 Tom de Vries <tdevries@suse.de>
6214
6215 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
6216
6217 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6218
6219 * gdb.base/callexit.exp: Test may-call-functions off.
6220
6221 2019-04-25 Keith Seitz <keiths@redhat.com>
6222
6223 PR c++/24367
6224 * gdb.cp/meth-typedefs.cc (incomplete_struct)
6225 (another_incomplete_struct, test_incomplete): New definitions.
6226 (main): Use new definitions.
6227 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
6228 functions.
6229
6230 2019-04-25 Ali Tamur <tamur@google.com>
6231
6232 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
6233
6234 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
6235
6236 PR corefiles/11608
6237 PR corefiles/18187
6238 * gdb.base/coredump-filter-build-id.exp: New file.
6239
6240 2019-04-25 Alan Hayward <alan.hayward@arm.com>
6241
6242 * Makefile.in: Pass through GDBSERVER_DEBUG.
6243 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
6244 (gdbserver,debug): Add board setting.
6245 * gdb.trace/tspeed.exp: Skip when debugging.
6246 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
6247 * lib/gdbserver-support.exp: Likewise
6248
6249 2019-04-24 Tom Tromey <tromey@adacore.com>
6250
6251 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
6252 Rust.
6253
6254 2019-04-24 Tom Tromey <tromey@adacore.com>
6255
6256 * gdb.arch/amd64-eval.exp: Test bitfield return.
6257 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
6258 (class Foo) <return_bitfields>: New method.
6259 (main): Call it.
6260
6261 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
6262
6263 * gdb.cp/many-args.cc: New file.
6264 * gdb.cp/many-args.exp: New file.
6265
6266 2019-04-23 Tom de Vries <tdevries@suse.de>
6267
6268 PR gdb/24433
6269 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
6270
6271 2019-04-23 Alan Hayward <alan.hayward@arm.com>
6272
6273 * gdb.trace/backtrace.exp: Use nopie flag.
6274 * gdb.trace/circ.exp: Likewise.
6275 * gdb.trace/collection.exp: Likewise.
6276 * gdb.trace/ftrace.exp: Likewise.
6277 * gdb.trace/mi-trace-unavailable.exp: Likewise.
6278 * gdb.trace/mi-traceframe-changed.exp: Likewise.
6279 * gdb.trace/qtro.exp: Likewise.
6280 * gdb.trace/read-memory.exp: Likewise.
6281 * gdb.trace/report.exp: Likewise.
6282 * gdb.trace/tfile.exp: Likewise.
6283 * gdb.trace/tfind.exp: Likewise.
6284 * gdb.trace/unavailable.exp: Likewise.
6285
6286 2019-04-22 Pedro Alves <palves@redhat.com>
6287
6288 * gdb.base/solib-probes-nosharedlibrary.c,
6289 gdb.base/solib-probes-nosharedlibrary.exp: New files.
6290
6291 2019-04-19 Tom Tromey <tromey@adacore.com>
6292
6293 * gdb.ada/ptype_union.c: New file.
6294 * gdb.ada/ptype_union.exp: New file.
6295
6296 2019-04-19 Tom Tromey <tromey@adacore.com>
6297
6298 PR symtab/24423:
6299 * gdb.base/list0.h (foo): Add a control-l character.
6300
6301 2019-04-18 Tom de Vries <tdevries@suse.de>
6302
6303 PR gdb/24433
6304 * boards/local-board.exp: Set sysroot to "".
6305
6306 2019-04-18 Tom de Vries <tdevries@suse.de>
6307 Pedro Alves <palves@redhat.com>
6308
6309 PR gdb/24454
6310 * gdb.threads/vfork-follow-child-exec.c: New file.
6311 * gdb.threads/vfork-follow-child-exec.exp: New file.
6312 * gdb.threads/vfork-follow-child-exit.c: New file.
6313 * gdb.threads/vfork-follow-child-exit.exp: New file.
6314
6315 2019-04-15 Leszek Swirski <leszeks@google.com>
6316
6317 * gdb.arch/amd64-eval.cc: New file.
6318 * gdb.arch/amd64-eval.exp: New file.
6319
6320 2019-04-11 Alan Hayward <alan.hayward@arm.com>
6321
6322 * gdb.server/sysroot.c: New test.
6323 * gdb.server/sysroot.exp: New file.
6324 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
6325 matching param.
6326
6327 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
6328
6329 * gdb.base/align.exp: Extend test to cover structures containing
6330 only static fields.
6331
6332 2019-04-11 Tom de Vries <tdevries@suse.de>
6333
6334 * boards/cc-with-dwz-m.exp: New file.
6335 * boards/cc-with-dwz.exp: New file.
6336 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
6337
6338 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
6339
6340 * gdb.base/start-cpp.exp: New file.
6341 * gdb.base/start-cpp.cc: New file.
6342
6343 2019-04-08 Kevin Buettner <kevinb@redhat.com>
6344
6345 * gdb.python/py-thrhandle.exp: Adjust tests to call
6346 thread_from_handle instead of thread_from_thread_handle.
6347
6348 2019-04-08 Kevin Buettner <kevinb@redhat.com>
6349
6350 * gdb.python/py-thrhandle.exp: Add tests for
6351 gdb.InferiorThread.handle.
6352
6353 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
6354
6355 * gdb.python/py-function.exp: Check calling helper function from
6356 all languages.
6357 * lib/gdb.exp (gdb_supported_languages): New proc.
6358
6359 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
6360
6361 * gdb.base/complex-parts.c: New file.
6362 * gdb.base/complex-parts.exp: New file.
6363
6364 2019-04-01 Tom Tromey <tromey@adacore.com>
6365
6366 PR symtab/23331:
6367 * gdb.dwarf2/dw2-ranges-main.c: New file.
6368 * gdb.dwarf2/dw2-ranges-psym.c: New file.
6369 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
6370
6371 2019-03-30 Simon Marchi <simark@simark.ca>
6372
6373 * gdb.base/default.exp: Add values for $_gdb_major and
6374 $_gdb_minor.
6375
6376 2019-03-29 Tom Tromey <tromey@adacore.com>
6377
6378 * gdb.base/help.exp: Tighten apropos regexp.
6379
6380 2019-03-29 Keith Seitz <keiths@redhat.com>
6381
6382 * gdb.fortran/array-bounds.exp: New file.
6383 * gdb.fortran/array-bounds.f90: New file.
6384
6385 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6386
6387 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
6388
6389 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6390
6391 * gdb.multi/hello.c (main): Increase alarm timer.
6392
6393 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
6394
6395 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
6396 factor when no hardware watchpoint support.
6397
6398 2019-03-28 Alan Hayward <alan.hayward@arm.com>
6399 Pedro Alves <palves@redhat.com>
6400
6401 * boards/local-board.exp: set sysroot to /.
6402
6403 2019-03-27 Alan Hayward <alan.hayward@arm.com>
6404
6405 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
6406 in child.
6407
6408 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
6409
6410 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
6411 field.
6412 (make_container): Initialise new field.
6413 * gdb.python/py-prettyprint.exp: Add new tests.
6414 * gdb.python/py-prettyprint.py (class ContainerPrinter)
6415 <display_hint>: New method.
6416
6417 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
6418
6419 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
6420 gdb_continue_to_breakpoint more throughout this test.
6421 (run_lang_tests) Supply unique test names, and use
6422 gdb_test_no_output.
6423
6424 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
6425
6426 * gdb.base/finish-pretty.exp: Update expected results.
6427 * gdb.base/pretty-print.c: New file.
6428 * gdb.base/pretty-print.exp: New file.
6429
6430 2019-03-25 Pedro Alves <palves@redhat.com>
6431
6432 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
6433 move comments outside list. Append '-i "" eof' section.
6434
6435 2019-03-22 Alan Hayward <alan.hayward@arm.com>
6436
6437 PR testsuite/25016
6438 * README: Add pie options.
6439 * gdb.base/break-interp.exp: Ensure pie is disabled.
6440 * gdb.base/dump.exp: Likewise.
6441 * lib/gdb.exp (gdb_compile): Add pie option.
6442
6443 2019-03-19 Tom Tromey <tromey@adacore.com>
6444
6445 * gdb.mi/mi2-cli-display.c: New file.
6446 * gdb.mi/mi2-cli-display.exp: New file.
6447
6448 2019-03-18 Joel Brobecker <brobecker@adacore.com>
6449 Tom Tromey <tromey@adacore.com>
6450
6451 * gdb.ada/ptype_array/pck.adb: New file.
6452 * gdb.ada/ptype_array/pck.ads: New file.
6453 * gdb.ada/ptype_array/foo.adb: New file.
6454 * gdb.ada/ptype_array.exp: New file.
6455
6456 2019-03-14 Tom Tromey <tromey@adacore.com>
6457
6458 * gdb.base/style.exp: Add "set style sources" test.
6459
6460 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
6461
6462 * mi-breakpoint-location-ena-dis.exp: Rename to ...
6463 * mi-breakpoint-multiple-locations.exp: ... this.
6464 (make_breakpoints_pattern): New proc.
6465 (do_test): Add mi_version parameter, test -break-insert,
6466 -break-info and =breakpoint-created.
6467
6468 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
6469
6470 * config/default.exp: Remove 'load_lib gdb.exp'.
6471 * config/monitor.exp: Likewise.
6472 * config/sid.exp: Likewise.
6473 * config/sim.exp: Likewise.
6474 * config/slite.exp: Likewise.
6475 * config/unix.exp: Likewise.
6476 * gdb.base/default.exp: Remove unhelpful comment.
6477
6478 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6479
6480 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
6481
6482 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6483
6484 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
6485
6486 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6487
6488 * gdb.fortran/type-kinds.exp: Update expected results.
6489
6490 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6491
6492 * gdb.fortran/type-kinds.exp: Test new integer type kind.
6493
6494 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6495
6496 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
6497 function.
6498 (test_basic_parsing_of_type_kinds): Expand types tested.
6499 (test_parsing_invalid_type_kinds): New function.
6500
6501 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6502
6503 * gdb.fortran/intrinsics.exp: New file.
6504 * gdb.fortran/intrinsics.f90: New file.
6505 * gdb.fortran/type-kinds.exp: New file.
6506
6507 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6508
6509 * gdb.fortran/dot-ops.exp: New file.
6510
6511 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6512
6513 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
6514 Check upper and lower case logical literals.
6515
6516 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6517
6518 * gdb.fortran/types.exp (test_float_literal_types_accepted):
6519 Remove duplicate tests.
6520
6521 2019-03-06 Alan Hayward <alan.hayward@arm.com>
6522
6523 * lib/gdb.exp (builtin_cd): rename of cd.
6524 (cd): Override builtin.
6525
6526 2019-03-06 Richard Bunt <richard.bunt@arm.com>
6527
6528 * gdb.fortran/function-calls.exp: New file.
6529 * gdb.fortran/function-calls.f90: New test.
6530
6531 2019-03-04 Richard Bunt <richard.bunt@arm.com>
6532
6533 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
6534 on user program standard output.
6535 * gdb.fortran/short-circuit-argument-list.f90: Record function
6536 calls.
6537
6538 2019-02-28 Alan Hayward <alan.hayward@arm.com>
6539
6540 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
6541 failure.
6542
6543 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6544
6545 PR gdb/8527
6546 * gdb.base/interrupt-daemon-attach.c,
6547 gdb.base/interrupt-daemon-attach.exp: New test.
6548
6549 2019-02-27 Pedro Alves <palves@redhat.com>
6550
6551 * gdb.base/page.exp: Add tests for "set width/height -1".
6552
6553 2019-02-27 Pedro Alves <palves@redhat.com>
6554
6555 * gdb.base/page.exp: Add tests for "set/show width/height" with
6556 "infinite" values.
6557
6558 2019-02-27 Tom Tromey <tromey@adacore.com>
6559
6560 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
6561 2.4.
6562 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
6563 workaround.
6564
6565 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
6566
6567 * gdb.base/align.exp: Extend to compile in both C and C++, and add
6568 tests for structs with static members.
6569
6570 2019-02-26 Tom Tromey <tromey@adacore.com>
6571
6572 * gdb.python/py-value.exp (test_value_from_buffer): Check for
6573 ValueError, not TypeError.
6574
6575 2019-02-26 Kevin Buettner <kevinb@redhat.com>
6576
6577 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
6578 call from main program.
6579
6580 2019-02-23 Joel Brobecker <brobecker@adacore.com>
6581
6582 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
6583 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
6584 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
6585 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
6586 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
6587
6588 2019-02-22 Keith Seitz <keiths@redhat.com>
6589
6590 PR symtab/23853
6591 * gdb.base/symlink-sourcefile.c: New file.
6592 * gdb.base/symlink-sourcefile.exp: New file.
6593
6594 2019-02-20 Tom Tromey <tom@tromey.com>
6595
6596 * gdb.base/info_qt.exp: Update.
6597
6598 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
6599
6600 * gdb.base/source.exp: Move "error in sourced script" code to
6601 the end.
6602 * gdb.base/source-error.gdb: Move contents to
6603 source-error-1.gdb. Add new code to source source-error-1.gdb.
6604 * gdb.base/source-error-1.gdb: New file, from previous
6605 source-error.gdb.
6606
6607 2019-02-17 Tom Tromey <tom@tromey.com>
6608
6609 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
6610 for macro styling.
6611 * gdb.base/style.c (SOME_MACRO): New macro.
6612
6613 2019-02-17 Tom Tromey <tom@tromey.com>
6614
6615 * gdb.base/style.exp: Add line-wrapping tests.
6616 * gdb.base/page.exp: Add test for quitting during pagination.
6617
6618 2019-02-17 Joel Brobecker <brobecker@adacore.com>
6619
6620 * gdb.ada/big_packed_array: New testcase.
6621 * gdb.ada/homonym.exp: Fix incorrect expected output for
6622 "break <homonym__get_value>" test.
6623
6624 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
6625
6626 PR breakpoints/21870
6627 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
6628 and prepare_for_testing. Add comment.
6629 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
6630 redundant cleanup call. Clean up comment.
6631
6632 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
6633
6634 PR breakpoints/21870
6635 * gdb.arch/aarch64-dbreg-contents.exp: New file.
6636 * gdb.arch/aarch64-dbreg-contents.c: New file.
6637
6638 2019-02-10 Joel Brobecker <brobecker@adacore.com>
6639
6640 * gdb.ada/mi_ref_changeable: New testcase.
6641
6642 2019-02-07 Alan Hayward <alan.hayward@arm.com>
6643
6644 * gdb.base/attach.exp: Add double attach test.
6645
6646 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
6647
6648 * lib/gdb.exp (default_gdb_start): Don't match pagination
6649 prompt.
6650 (gdb_init): Set stty_init.
6651
6652 2019-01-27 Tom Tromey <tom@tromey.com>
6653
6654 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
6655 skip_python_tests.
6656
6657 2019-01-24 Alan Hayward <alan.hayward@arm.com>
6658
6659 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
6660 New structure.
6661 (struct struct_static_02_02): Likewise.
6662 (struct struct_static_02_03): Likewise.
6663 (struct struct_static_02_04): Likewise.
6664 (struct struct_static_04_01): Likewise.
6665 (struct struct_static_04_02): Likewise.
6666 (struct struct_static_04_03): Likewise.
6667 (struct struct_static_04_04): Likewise.
6668 (struct struct_static_06_01): Likewise.
6669 (struct struct_static_06_02): Likewise.
6670 (struct struct_static_06_03): Likewise.
6671 (struct struct_static_06_04): Likewise.
6672 (cmp_struct_static_02_01): Likewise.
6673 (cmp_struct_static_02_02): Likewise.
6674 (cmp_struct_static_02_03): Likewise.
6675 (cmp_struct_static_02_04): Likewise.
6676 (cmp_struct_static_04_01): Likewise.
6677 (cmp_struct_static_04_02): Likewise.
6678 (cmp_struct_static_04_03): Likewise.
6679 (cmp_struct_static_04_04): Likewise.
6680 (cmp_struct_static_06_01): Likewise.
6681 (cmp_struct_static_06_02): Likewise.
6682 (cmp_struct_static_06_03): Likewise.
6683 (cmp_struct_static_06_04): Likewise.
6684 (call_all): Test new structs.
6685 * gdb.base/infcall-nested-structs.exp: Likewise.
6686
6687 2019-01-21 Alan Hayward <alan.hayward@arm.com>
6688 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
6689
6690 2019-01-21 Alan Hayward <alan.hayward@arm.com>
6691 * gdb.base/stack-protector.c: New test.
6692 * gdb.base/stack-protector.exp: New file.
6693 * gdb.cp/ovldbreak.exp: Only allow a single break line.
6694 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
6695 option.
6696 (gdb_compile): Remove stack protector for GCC and prevent
6697 recursion.
6698
6699 2019-01-16 Keith Seitz <keiths@redhat.com>
6700
6701 PR gdb/23773
6702 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
6703
6704 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6705
6706 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
6707 aliases.
6708 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
6709 tests.
6710 * gdb.arch/powerpc-vector-regs.c: New file.
6711 * gdb.arch/powerpc-vector-regs.exp: New file.
6712
6713 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6714
6715 * gdb.arch/altivec-regs.exp: Fix the list passed to
6716 gdb_expect_list when testing "info vector".
6717
6718 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
6719
6720 * gdb.base/style.exp: Don't include path in testname.
6721
6722 2019-01-10 Keith Seitz <keiths@redhat.com>
6723
6724 PR gdb/23712
6725 PR symtab/23010
6726 * gdb.dwarf2/multidictionary.exp: New file.
6727
6728 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
6729
6730 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
6731 (test_gnuv3_style_demangling): ... this.
6732 (test_lucid_style_demangling): Remove.
6733 (test_arm_style_demangling): Remove.
6734 (test_hp_style_demangling): Remove.
6735 (do_tests): Remove calls to the above.
6736
6737 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6738
6739 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
6740 case.
6741
6742 2019-01-06 Tom Tromey <tom@tromey.com>
6743
6744 PR gdb/28155:
6745 * gdb.dwarf2/typedef-void-finish.exp: New file.
6746
6747 2018-12-28 Tom Tromey <tom@tromey.com>
6748 Simon Marchi <simark@simark.ca>
6749
6750 * gdb.base/jit-exec.exp: New file.
6751 * gdb.base/jit-exec.c: New file.
6752 * gdb.base/jit-execd.c: New file.
6753
6754 2018-12-28 Tom Tromey <tom@tromey.com>
6755
6756 * gdb.base/style.exp: Update test to check for address styling.
6757
6758 2018-12-28 Tom Tromey <tom@tromey.com>
6759
6760 * gdb.base/style.exp: Add test for styling of "Reading symbols"
6761 message.
6762
6763 2018-12-28 Tom Tromey <tom@tromey.com>
6764
6765 * gdb.base/style.exp: Add test for version number styling.
6766
6767 2018-12-28 Tom Tromey <tom@tromey.com>
6768
6769 * gdb.base/style.exp: Add test for print_address_symbolic.
6770
6771 2018-12-28 Tom Tromey <tom@tromey.com>
6772
6773 * gdb.base/style.exp: Add test for breakpoint setting.
6774
6775 2018-12-28 Tom Tromey <tom@tromey.com>
6776
6777 * gdb.base/style.exp: Add test for variable names.
6778
6779 2018-12-28 Tom Tromey <tom@tromey.com>
6780
6781 * gdb.base/style.exp: New file.
6782 * gdb.base/style.c: New file.
6783
6784 2018-12-28 Tom Tromey <tom@tromey.com>
6785
6786 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
6787 "dumb".
6788 * gdb.base/readline.exp (operate_and_get_next): Save and restore
6789 the TERM environment variable.
6790
6791 2018-12-27 Tom Tromey <tom@tromey.com>
6792
6793 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
6794 pagination test.
6795
6796 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
6797
6798 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
6799 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
6800
6801 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6802
6803 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
6804 Filename a.adb changed to bp_fun_addr.adb.
6805 gdb.ada/bp_fun_addr.exp: Update test accordingly.
6806
6807 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
6808
6809 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
6810 non-PIE executables.
6811 * README: Mention the gdb,nopie_flag board setting.
6812 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
6813 non-PIE executable.
6814 * gdb.arch/amd64-entry-value.exp: Likewise.
6815 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
6816 * gdb.arch/i386-float.exp: Likewise.
6817 * gdb.arch/i386-signal.exp: Likewise.
6818 * gdb.mi/mi-reg-undefined.exp: Likewise.
6819
6820 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
6821
6822 PR gdb/23974
6823 * gdb.base/info-os.exp: Check return for unknown "info os" type.
6824
6825 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6826
6827 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
6828 Update order of results accordingly.
6829
6830 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
6831
6832 * gdb.base/annota1.exp: Update a test regexp.
6833
6834 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6835
6836 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
6837
6838 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6839
6840 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
6841 (reuse_time): Initialize to REUSE_TIME_CAP.
6842 (check_rc): New function.
6843 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
6844 Check pthread_create rc.
6845 (spawner_thread_func): Check pthread_create and pthread_join rc.
6846
6847 2018-12-08 Pedro Alves <palves@redhat.com>
6848
6849 * gdb.base/list.exp (test_forward_search): Rename to ...
6850 (test_forward_reverse_search): ... this. Also test reverse-search
6851 and the forward-search alias.
6852
6853 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
6854
6855 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
6856 local timeout variable before return, and remove all local timeout
6857 variable entirely.
6858 (gdb_load): Likewise.
6859
6860 2018-12-01 Tom de Vries <tdevries@suse.de>
6861
6862 * gdb.base/gdb-caching-proc.exp: New file.
6863
6864 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
6865
6866 * Makefile.in (TIMESTAMP): New variable.
6867 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
6868 command.
6869 (check-single-racy): Likewise.
6870 (check/%.exp): Likewise.
6871 (check-racy/%.exp): Likewise.
6872 (workers/%.worker): Likewise.
6873 (build-perf): Likewise.
6874 (check-perf): Likewise.
6875 * README: Describe new "TS" and "TS_FORMAT" variables.
6876 * print-ts.py: New file.
6877
6878 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
6879
6880 PR python/23714
6881 * gdb.python/python.exp: Test command repetition after
6882 gdb.execute.
6883
6884 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
6885
6886 * gdb.opt/inline-break.exp: Add test that info breakpoint output
6887 is correctly aligned.
6888
6889 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6890
6891 * gdb.ada/info_auto_lang.exp: New testcase.
6892 * gdb.ada/info_auto_lang/global_pack.ads: New file.
6893 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
6894 * gdb.ada/info_auto_lang/some_c.c: New file.
6895
6896 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6897
6898 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
6899 FUNC_lang language syntax.
6900
6901 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6902
6903 * gdb.base/info_minsym.c: New file.
6904 * gdb.base/info_minsym.exp: New file.
6905
6906 2018-11-19 Tom Tromey <tom@tromey.com>
6907
6908 PR rust/23625:
6909 * gdb.rust/simple.exp: Add ptype test. Update expected output.
6910 * gdb.rust/expr.exp: Update expected output. Change one test.
6911
6912 2018-11-19 Tom Tromey <tom@tromey.com>
6913
6914 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
6915
6916 2018-11-19 Pedro Alves <palves@redhat.com>
6917
6918 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
6919 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
6920 see the expected warning.
6921
6922 2018-11-16 Alan Hayward <alan.hayward@arm.com>
6923
6924 PR gdb/22736:
6925 * gdb.cp/infcall-nodebug-lib.c: New test.
6926 * gdb.cp/infcall-nodebug-main.c: New test.
6927 * gdb.cp/infcall-nodebug.exp: New file.
6928
6929 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
6930
6931 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
6932 completer tests.
6933
6934 2018-11-09 Tom de Vries <tdevries@suse.de>
6935
6936 * gdb.base/msym-lang.c: New test.
6937 * gdb.base/msym-lang.exp: New file.
6938 * gdb.base/msym-lang-main.c: New test.
6939
6940 2018-11-08 Tom Tromey <tom@tromey.com>
6941
6942 PR gdb/23555:
6943 PR gdb/23838:
6944 * gdb.base/warning.exp: New file.
6945
6946 2018-11-08 Jan Beulich <jbeulich@suse.com>
6947
6948 * testsuite/gdb.arch/i386-avx512.c,
6949 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
6950
6951 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
6952
6953 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
6954 point hardware.
6955
6956 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
6957
6958 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
6959 * gdb.dwarf2/missing-type-name.exp: New file.
6960
6961 2018-11-06 Tom de Vries <tdevries@suse.de>
6962
6963 * gdb.base/many-headers.c: New test.
6964 * gdb.base/many-headers.exp: New file.
6965
6966 2018-11-06 Jim Wilson <jimw@sifive.com>
6967
6968 * gdb.base/code_elim.exp: For riscv, set additional_flags
6969 to include -msmall-data-limit=0.
6970
6971 2018-11-01 Joel Brobecker <brobecker@adacore.com>
6972
6973 * gdb.ada/watch_minus_l: New testcase.
6974
6975 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
6976
6977 * gdb.arch/aix-sighandle.c: New file.
6978 * gdb.arch/aix-sighandle.exp: New file.
6979
6980 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6981
6982 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
6983 registers being unions.
6984
6985 2018-10-31 Tom de Vries <tdevries@suse.de>
6986
6987 * lib/valgrind.exp: New file.
6988 (vgdb_start, vgdb_stop): New procs, factored out of ...
6989 * gdb.base/valgrind-bt.exp: ... here, ...
6990 * gdb.base/valgrind-disp-step.exp: ... here and ...
6991 * gdb.base/valgrind-infcall.exp: ... here.
6992
6993 2018-10-31 Tom de Vries <tdevries@suse.de>
6994
6995 * lib/gdb.exp (get_valueof): Don't output read value in test name.
6996
6997 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6998
6999 * gdb.dwarf2/void-type.c: New file.
7000 * gdb.dwarf2/void-type.exp: New file.
7001
7002 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7003
7004 * gdb.base/info_qt.c: New file.
7005 * gdb.base/info_qt.exp: New file.
7006
7007 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7008
7009 * gdb.arch/powerpc-htm-regs.c: New file.
7010 * gdb.arch/powerpc-htm-regs.exp: New file.
7011
7012 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7013
7014 * gdb.arch/powerpc-tar.c: New file.
7015 * gdb.arch/powerpc-tar.exp: New file.
7016
7017 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7018
7019 * gdb.arch/powerpc-ppr-dscr.c: New file.
7020 * gdb.arch/powerpc-ppr-dscr.exp: New file.
7021
7022 2018-10-25 Tom de Vries <tdevries@suse.de>
7023
7024 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
7025
7026 2018-10-24 Tom de Vries <tdevries@suse.de>
7027
7028 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
7029 longer exists error.
7030
7031 2018-10-24 Tom de Vries <tdevries@suse.de>
7032
7033 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
7034
7035 2018-10-24 Tom de Vries <tdevries@suse.de>
7036
7037 * gdb.base/valgrind-db-attach.exp: Handle removed support for
7038 --db-attach in valgrind.
7039
7040 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
7041
7042 * gdb.arch/riscv-reg-aliases.c: New file.
7043 * gdb.arch/riscv-reg-aliases.exp: New file.
7044
7045 2018-10-19 Alan Hayward <alan.hayward@arm.com>
7046
7047 * gdb.python/py-cmd.exp: Check for gdb_prompt.
7048
7049 2018-10-19 Alan Hayward <alan.hayward@arm.com>
7050
7051 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
7052
7053 2018-10-19 Alan Hayward <alan.hayward@arm.com>
7054
7055 * gdb.cp/ovldbreak.exp: Fix regexps.
7056
7057 2018-10-19 Alan Hayward <alan.hayward@arm.com>
7058
7059 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
7060
7061 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
7062
7063 PR cli/23785
7064 * gdb.base/restore.exp: New test to check if "restore" with an
7065 invalid file doesn't segfault.
7066
7067 2018-10-18 Tom de Vries <tdevries@suse.de>
7068
7069 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
7070 * gdb.ada/excep_handle.exp: Same.
7071 * gdb.ada/mi_string_access.exp: Same.
7072 * gdb.ada/mi_var_union.exp: Same.
7073 * gdb.arch/arc-analyze-prologue.exp: Same.
7074 * gdb.arch/arc-decode-insn.exp: Same.
7075 * gdb.base/readnever.exp: Same.
7076 * gdb.fortran/printing-types.exp: Same.
7077 * gdb.guile/scm-lazy-string.exp: Same.
7078
7079 2018-10-16 Tom de Vries <tdevries@suse.de>
7080
7081 PR gdb/23730
7082 * gdb.base/catch-follow-exec.c: Add copyright notice.
7083 * gdb.base/catch-follow-exec.exp: Rewrite to use
7084 gdb_spawn_with_cmdline_opts. Require gdb-native.
7085
7086 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
7087
7088 * gdb.trace/actions-changed.exp: Check for arch support.
7089 * gdb.trace/actions.exp: Likewise.
7090 * gdb.trace/ax.exp: Likewise.
7091 * gdb.trace/backtrace.exp: Likewise.
7092 * gdb.trace/change-loc.exp: Likewise.
7093 * gdb.trace/deltrace.exp: Likewise.
7094 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
7095 * gdb.trace/ftrace.exp: Likewise.
7096 * gdb.trace/infotrace.exp: Check for arch support.
7097 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
7098 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
7099 * gdb.trace/mi-tsv-changed.exp: Likewise.
7100 * gdb.trace/packetlen.exp: Likewise.
7101 * gdb.trace/passc-dyn.exp: Likewise.
7102 * gdb.trace/passcount.exp: Likewise.
7103 * gdb.trace/pending.exp: Likewise.
7104 * gdb.trace/range-stepping.exp: Check for shlib support.
7105 * gdb.trace/report.exp: Check for arch support.
7106 * gdb.trace/save-trace.exp: Likewise.
7107 * gdb.trace/signal.exp: Check for signal support.
7108 * gdb.trace/tfind.exp: Check for arch support.
7109 * gdb.trace/trace-break.exp: Check for arch and shlib support.
7110 * gdb.trace/trace-common.h: Add comment.
7111 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
7112 * gdb.trace/trace-enable-disable.exp: Likewise.
7113 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
7114 * gdb.trace/tracecmd.exp: Check for arch support.
7115 * gdb.trace/tspeed.exp: Check for shlib and target support.
7116 * gdb.trace/tstatus.exp: Check for arch support.
7117 * gdb.trace/tsv.exp: Likewise.
7118 * gdb.trace/while-dyn.exp: Likewise.
7119 * gdb.trace/while-stepping.exp: Likewise.
7120 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
7121
7122 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
7123
7124 * gdb.trace/tspeed.exp: Remove nowarnings.
7125 (prepare_for_trace_test): Declare "global ipalib".
7126 * gdb.trace/tspeed.c: Include unistd.h.
7127 (main): Remove superfluous printf argument.
7128
7129 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
7130
7131 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
7132 directory prefix on the filename.
7133
7134 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
7135
7136 * gdb.gdb/unittest.exp: Update expected message informing that
7137 selftests have been disabled.
7138 * gdb.server/unittest.exp: Likewise.
7139
7140 2018-10-09 Tom de Vries <tdevries@suse.de>
7141
7142 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
7143 with runto_main.
7144
7145 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
7146
7147 PR c++/16841
7148 * gdb.cp/virtbase2.cc: New file.
7149 * gdb.cp/virtbase2.exp: New file.
7150
7151 2018-10-06 Tom Tromey <tom@tromey.com>
7152
7153 PR python/19399:
7154 * gdb.python/py-inferior.exp: Add architecture test.
7155
7156 2018-10-06 Tom Tromey <tom@tromey.com>
7157
7158 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
7159 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
7160
7161 2018-10-06 Tom Tromey <tom@tromey.com>
7162
7163 * gdb.python/py-breakpoint.exp (check_last_event): Check location
7164 of a "throw" catchpoint.
7165
7166 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
7167
7168 * gdb.base/info-proc.exp: Update string expected from "help info
7169 proc".
7170
7171 2018-10-04 Tom Tromey <tom@tromey.com>
7172
7173 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
7174 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
7175 (test_initial_complaints, test_empty_complaints): Update.
7176 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
7177
7178 2018-10-04 Tom Tromey <tom@tromey.com>
7179
7180 PR cli/19551:
7181 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
7182 * lib/gdb.exp (gdb_file_cmd): Update.
7183 * gdb.stabs/weird.exp (print_weird_var): Update.
7184 * gdb.server/solib-list.exp: Update.
7185 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
7186 * gdb.mi/mi-cli.exp: Update.
7187 * gdb.linespec/linespec.exp: Update.
7188 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
7189 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
7190 * gdb.cp/cp-relocate.exp: Update.
7191 * gdb.base/sym-file.exp: Update.
7192 * gdb.base/relocate.exp: Update.
7193 * gdb.base/readnever.exp: Update.
7194 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
7195 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
7196 * gdb.base/dbx.exp (gdb_file_cmd): Update.
7197 * gdb.base/code_elim.exp: Update.
7198 * gdb.base/break-unload-file.exp (test_break): Update.
7199 * gdb.base/break-interp.exp (test_attach_gdb): Update.
7200 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
7201 Update.
7202 * gdb.base/attach.exp (do_attach_tests): Update.
7203 * gdb.base/sepdebug.exp: Update.
7204 * gdb.python/py-section-script.exp: Update.
7205
7206 2018-10-04 Tom Tromey <tom@tromey.com>
7207
7208 PR cli/22234:
7209 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
7210 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
7211 output.
7212
7213 2018-10-04 Tom Tromey <tom@tromey.com>
7214
7215 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
7216 set width and height to 0.
7217 (test_command_line_attach_run): Use -quiet.
7218
7219 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
7220
7221 * lib/gdb.exp (skip_ifunc_tests): New.
7222 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
7223 other compile failures.
7224 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
7225
7226 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
7227
7228 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
7229 is_amd64_regs_target.
7230
7231 2018-10-01 Alan Hayward <alan.hayward@arm.com>
7232
7233 * gdb.arch/aarch64-sighandler-regs.c: New test.
7234 * gdb.arch/aarch64-sighandler-regs.exp: New file.
7235 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
7236
7237 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
7238
7239 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
7240 assembly.
7241
7242 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
7243
7244 * gdb.base/frame-selection.exp: New file.
7245 * gdb.base/frame-selection.c: New file.
7246
7247 2018-09-27 Alan Hayward <alan.hayward@arm.com>
7248
7249 * gdb.threads/check-libthread-db.c (thread_routine): Use a
7250 pthread barrier.
7251 (main): Likewise.
7252
7253 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
7254
7255 * gdb.base/large-frame-1.c: New file.
7256 * gdb.base/large-frame-2.c: New file.
7257 * gdb.base/large-frame.exp: New file.
7258 * gdb.base/large-frame.h: New file.
7259
7260 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
7261
7262 PR gdb/20948
7263 * gdb.base/write_mem.exp: New test.
7264 * gdb.base/write_mem.c: Likewise.
7265
7266 2018-09-23 Tom Tromey <tom@tromey.com>
7267
7268 PR python/18852:
7269 * gdb.python/py-parameter.exp: Add test for parameter that throws
7270 on "set".
7271
7272 2018-09-23 Tom Tromey <tom@tromey.com>
7273
7274 PR python/17284:
7275 * gdb.python/py-template.exp (test_template_arg): Add test for
7276 negative template argument number.
7277
7278 2018-09-23 Tom Tromey <tom@tromey.com>
7279
7280 PR python/14062:
7281 * gdb.python/python.exp: Add test for post_event error.
7282
7283 2018-09-23 Tom Tromey <tom@tromey.com>
7284
7285 PR python/18170:
7286 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
7287 convert pointers to int and long.
7288
7289 2018-09-23 Tom Tromey <tom@tromey.com>
7290
7291 PR python/20126:
7292 * gdb.python/py-value.exp (test_value_numeric_ops): Add
7293 signed-ness conversion tests.
7294
7295 2018-09-23 Tom Tromey <tom@tromey.com>
7296
7297 PR python/18352;
7298 * gdb.python/py-value.exp (test_float_conversion): New proc.
7299 Use it.
7300
7301 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
7302
7303 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
7304
7305 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
7306
7307 * gdb.base/complete-empty.exp: Skip tab-completion tests if
7308 no readline.
7309 * gdb.base/utf8-identifiers.exp: Likewise.
7310 * gdb.cp/cpcompletion.exp: Likewise.
7311 * gdb.linespec/cpcompletion.exp: Likewise.
7312 * gdb.linespec/cpls-abi-tag.exp: Likewise.
7313 * gdb.linespec/cpls-ops.exp: Likewise.
7314
7315 2018-09-19 Richard Bunt <richard.bunt@arm.com>
7316 Chris January <chris.january@arm.com>
7317
7318 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
7319 * gdb.fortran/short-circuit-argument-list.exp: New file.
7320 * gdb.fortran/short-circuit-argument-list.f90: New test.
7321
7322 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7323
7324 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
7325 "arch=" keyword when executing "-stack-list-frames".
7326
7327 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7328
7329 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
7330 "arch=" keyword when executing "-stack-list-frames".
7331
7332 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7333
7334 * gdb.ada/complete.exp: Expect for "@" when doing "complete
7335 break ada".
7336
7337 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
7338
7339 PR python/23669
7340 * gdb.python/python.exp: Test gdb.execute("show commands").
7341
7342 2018-09-16 Tom Tromey <tom@tromey.com>
7343
7344 * gdb.base/new-ui.exp (do_execution_tests): Update.
7345 * gdb.base/dbx.exp (test_breakpoints): Update.
7346
7347 2018-09-14 Alan Hayward <alan.hayward@arm.com>
7348
7349 * lib/gdb.exp (gdb_simple_compile): Add proc.
7350 (is_elf_target): Use gdb_simple_compile.
7351 (skip_altivec_tests): Likewise.
7352 (skip_vsx_tests): Likewise.
7353 (skip_tsx_tests): Likewise.
7354 (skip_btrace_tests): Likewise.
7355 (skip_btrace_pt_tests): Likewise.
7356 (gdb_can_simple_compile): Likewise.
7357 (gdb_has_argv0): Likewise.
7358 (gdb_target_symbol_prefix): Likewise.
7359 (target_supports_scheduler_locking): Likewise.
7360
7361 2018-09-13 Tom Tromey <tom@tromey.com>
7362
7363 * Makefile.in (TAGS): Recognize proc_with_prefix and
7364 gdb_caching_proc.
7365
7366 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7367
7368 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
7369 method.
7370
7371 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7372
7373 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
7374 and a few other Inferior properties when the Inferior is no
7375 longer valid.
7376
7377 2018-09-13 Tom Tromey <tom@tromey.com>
7378
7379 PR rust/23650:
7380 * gdb.rust/simple.exp: Add test for enum field access error.
7381
7382 2018-09-13 Tom Tromey <tom@tromey.com>
7383
7384 PR rust/23626:
7385 * gdb.rust/simple.rs (EmptyEnum): New type.
7386 (main): Use it.
7387 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
7388
7389 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7390
7391 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
7392 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
7393 * gdb.python/py-symtab.exp: Update test printing an objfile.
7394
7395 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
7396
7397 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
7398 object.
7399
7400 2018-09-12 Alan Hayward <alan.hayward@arm.com>
7401
7402 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
7403 (support_complex_tests): Use gdb_can_simple_compile.
7404 (is_ilp32_target): Likewise.
7405 (is_lp64_target): Likewise.
7406 (is_64_target): Likewise.
7407 (is_amd64_regs_target): Likewise.
7408 (is_aarch32_target): Likewise.
7409 (gdb_int128_helper): Likewise.
7410
7411 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7412
7413 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
7414
7415 2018-09-10 Jerome Guitton <guitton@adacore.com>
7416
7417 * gdb.ada/same_component_name: Add test for case of tagged record
7418 with variable-length fields.
7419
7420 2018-09-10 Xavier Roirand <roirand@adacore.com>
7421
7422 * gdb.ada/access_to_unbounded_array.exp: New testcase.
7423 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
7424 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
7425 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
7426
7427 2018-09-10 Xavier Roirand <roirand@adacore.com>
7428
7429 * gdb.ada/mi_string_access.exp: New testcase.
7430 * gdb.ada/mi_string_access/bar.adb: New file.
7431 * gdb.ada/mi_string_access/pck.adb: New file.
7432 * gdb.ada/mi_string_access/pck.asd: New file.
7433
7434 2018-09-10 Xavier Roirand <roirand@adacore.com>
7435
7436 * gdb.ada/mi_var_union.exp: New testcase.
7437 * gdb.ada/mi_var_union/bar.adb: New file.
7438 * gdb.ada/mi_var_union/pck.adb: New file.
7439 * gdb.ada/mi_var_union/pck.asd: New file.
7440
7441 2018-09-08 Tom Tromey <tom@tromey.com>
7442
7443 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
7444
7445 2018-09-08 Tom Tromey <tom@tromey.com>
7446
7447 PR python/16047:
7448 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
7449 (register_pretty_printers): Register new printer.
7450 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
7451 test.
7452 * gdb.python/py-prettyprint.c (int_type3): New typedef.
7453 (an_int_type3): New global.
7454
7455 2018-09-08 Joel Brobecker <brobecker@adacore.com>
7456
7457 * gdb.ada/expr_with_funcall: New testcase.
7458
7459 2018-09-08 Joel Brobecker <brobecker@adacore.com>
7460
7461 * gdb.ada/packed_array_assign: New testcase.
7462
7463 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
7464
7465 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
7466 names, and add test prefixes to make test names unique.
7467
7468 2018-09-05 Tom de Vries <tdevries@suse.de>
7469
7470 * gdb.dwarf2/varval.exp: Add test.
7471
7472 2018-09-04 Gary Benson <gbenson@redhat.com>
7473
7474 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
7475 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
7476
7477 2018-08-31 Tom Tromey <tom@tromey.com>
7478
7479 * gdb.rust/simple.rs: Rename second variable "v".
7480
7481 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
7482
7483 * gdb.base/funcargs.c (use_a): New function.
7484 (recurse): Call use_a.
7485
7486 2018-08-29 Keith Seitz <keiths@redhat.com>
7487
7488 * gdb.compile/compile-cplus-anonymous.cc: New file.
7489 * gdb.compile/compile-cplus-anonymous.exp: New file.
7490 * gdb.compile/compile-cplus-array-decay.cc: New file.
7491 * gdb.compile/compile-cplus-array-decay.exp: New file.
7492 * gdb.compile/compile-cplus-inherit.cc: New file.
7493 * gdb.compile/compile-cplus-inherit.exp: New file.
7494 * gdb.compile/compile-cplus-member.cc: New file.
7495 * gdb.compile/compile-cplus-member.exp: New file.
7496 * gdb.compile/compile-cplus-method.cc: New file.
7497 * gdb.compile/compile-cplus-method.exp: New file.
7498 * gdb.compile/compile-cplus-mod.c: "New" file.
7499 * gdb.compile/compile-cplus-namespace.cc: New file.
7500 * gdb.compile/compile-cplus-namespace.exp: New file.
7501 * gdb.compile/compile-cplus-nested.cc: New file.
7502 * gdb.compile/compile-cplus-nested.exp: New file.
7503 * gdb.compile/compile-cplus-print.c: "New" file.
7504 * gdb.compile/compile-cplus-print.exp: "New" file.
7505 * gdb.compile/compile-cplus-virtual.cc: New file.
7506 * gdb.compile/compile-cplus-virtual.exp: New file.
7507 * gdb.compile/compile-cplus.c: "New" file.
7508 * gdb.compile/compile-cplus.exp: "New" file.
7509 * lib/compile-support.exp: New file.
7510
7511 2018-08-16 Gary Benson <gbenson@redhat.com>
7512
7513 PR gdb/13000:
7514 * gdb.base/batch-exit-status.exp: New file.
7515 * gdb.base/batch-exit-status.good-commands: Likewise.
7516 * gdb.base/batch-exit-status.bad-commands: Likewise.
7517
7518 2018-08-29 Alan Hayward <alan.hayward@arm.com>
7519
7520 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
7521 (struct struct02): Likewise.
7522 (struct struct03): Likewise.
7523 (struct struct04): Likewise.
7524 (struct struct_01_01): New struct.
7525 (struct struct_01_02): Likewise.
7526 (struct struct_01_03): Likewise.
7527 (struct struct_01_04): Likewise.
7528 (struct struct_02_01): Likewise.
7529 (struct struct_02_02): Likewise.
7530 (struct struct_02_03): Likewise.
7531 (struct struct_02_04): Likewise.
7532 (struct struct_04_01): Likewise.
7533 (struct struct_04_02): Likewise.
7534 (struct struct_04_03): Likewise.
7535 (struct struct_04_04): Likewise.
7536 (struct struct_05_01): Likewise.
7537 (struct struct_05_02): Likewise.
7538 (struct struct_05_03): Likewise.
7539 (struct struct_05_04): Likewise.
7540 (cmp_struct01): Remove function.
7541 (cmp_struct02): Likewise.
7542 (cmp_struct03): Likewise.
7543 (cmp_struct04): Likewise.
7544 (cmp_struct_01_01): Add Function.
7545 (cmp_struct_01_02): Likewise.
7546 (cmp_struct_01_03): Likewise.
7547 (cmp_struct_01_04): Likewise.
7548 (cmp_struct_02_01): Likewise.
7549 (cmp_struct_02_02): Likewise.
7550 (cmp_struct_02_03): Likewise.
7551 (cmp_struct_02_04): Likewise.
7552 (cmp_struct_04_01): Likewise.
7553 (cmp_struct_04_02): Likewise.
7554 (cmp_struct_04_03): Likewise.
7555 (cmp_struct_04_04): Likewise.
7556 (cmp_struct_05_01): Likewise.
7557 (cmp_struct_05_02): Likewise.
7558 (cmp_struct_05_03): Likewise.
7559 (cmp_struct_05_04): Likewise.
7560 (call_all): Add new structs.
7561 * gdb.base/infcall-nested-structs.exp: Likewise.
7562
7563 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
7564
7565 * gdb.python/py-framefilter-mi.exp: Update regexp to
7566 check for "arch" field in frame output.
7567
7568 2018-08-23 Kevin Buettner <kevinb@redhat.com>
7569
7570 * gdb.dwarf2/dw2-ranges-func.c: New file.
7571 * gdb.dwarf2/dw2-ranges-func.exp: New file.
7572
7573 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
7574
7575 * gdb.base/term.exp: Compare terminal settings with values from
7576 the inferior.
7577 * gdb.base/term.c: Get and set terminal settings.
7578
7579 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
7580
7581 * lib/mi-support.exp (mi_expect_stop): Update regexp to
7582 accommodate new "arch" field in frame output.
7583 * gdb.mi/mi-return.exp: Likewise.
7584 * gdb.mi/mi-stack.exp: Likewise.
7585 * gdb.mi/mi-syn-frame.exp: Likewise.
7586 * gdb.mi/user-selected-context-sync.exp: Likewise.
7587
7588 2018-08-19 Michael Spang <spang@google.com>
7589
7590 PR gdb/11786
7591 * gdb.base/gcore-tls-pie.c: New file.
7592 * gdb.base/gcore-tls-pie.exp: New file.
7593
7594 2018-08-18 Kevin Buettner <kevinb@redhat.com>
7595
7596 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7597 * gdb.dwarf2/varval.c: New file.
7598 * gdb.dwarf2/varval.exp: New file.
7599
7600 2018-08-17 Alan Hayward <alan.hayward@arm.com>
7601
7602 PR gdb/18931
7603 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
7604
7605 2018-08-16 Keith Seitz <keiths@redhat.com>
7606
7607 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
7608 tests expected to pass.
7609
7610 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
7611
7612 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
7613 -data-disassemble -a.
7614 (test_disassembly_bogus_args): Likewise.
7615
7616 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
7617
7618 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
7619
7620 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
7621
7622 * gdb.base/vla-optimized-out.exp: Add new test.
7623
7624 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
7625
7626 * gdb.base/vla-optimized-out-o3.exp: Delete.
7627 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
7628 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
7629 deleted tests.
7630
7631 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
7632
7633 PR gdb/18050:
7634 * gdb.server/extended-remote-restart.c: New file.
7635 * gdb.server/extended-remote-restart.exp: New file.
7636
7637 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
7638
7639 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
7640 "set variable index = 42".
7641
7642 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
7643
7644 * boards/index-cache-gdb.exp: New file.
7645 * gdb.dwarf2/index-cache.exp: New file.
7646 * gdb.dwarf2/index-cache.c: New file.
7647 * gdb.base/maint.exp: Check if we are using the index cache.
7648
7649 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7650
7651 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
7652 MAKEFLAGS.
7653
7654 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7655
7656 * dg-extract-results.sh: Move to toplevel contrib.
7657 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
7658 * Makefile.in (check-parallel-racy): Likewise.
7659
7660 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
7661
7662 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
7663 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
7664 tests if the target supports scheduler locking.
7665
7666 2018-08-04 Tom de Vries <tdevries@suse.de>
7667
7668 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
7669
7670 2018-08-02 Tom Tromey <tom@tromey.com>
7671
7672 PR symtab/16842.
7673 * gdb.cp/temargs.exp: Test "info address" of a template
7674 parameter.
7675
7676 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
7677
7678 * gdb.python/py-mi-var-info-path-expression.c: New file.
7679 * gdb.python/py-mi-var-info-path-expression.py: New file.
7680 * gdb.python/py-mi-var-info-path-expression.exp: New file.
7681
7682 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
7683
7684 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
7685 error after "cannot resolve name" string.
7686
7687 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
7688
7689 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
7690 started.
7691 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
7692
7693 2018-07-28 Tom de Vries <tdevries@suse.de>
7694
7695 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
7696
7697 2018-07-26 Tom de Vries <tdevries@suse.de>
7698
7699 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
7700
7701 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
7702
7703 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
7704 is visible.
7705
7706 2018-07-26 Tom de Vries <tdevries@suse.de>
7707
7708 PR breakpoints/23366
7709 * gdb.base/catch-follow-exec.c: New test.
7710 * gdb.base/catch-follow-exec.exp: New file.
7711
7712 2018-07-25 Tom de Vries <tdevries@suse.de>
7713
7714 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
7715 vla-optimized-out.c.
7716
7717 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
7718
7719 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
7720 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
7721
7722 2018-07-20 Tom de Vries <tdevries@suse.de>
7723
7724 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
7725 NOCLONE macro.
7726 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
7727
7728 2018-07-19 Tom de Vries <tdevries@suse.de>
7729
7730 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
7731 regular expression.
7732
7733 2018-07-18 Tom de Vries <tdevries@suse.de>
7734
7735 * gdb.base/vla-optimized-out.c: New test.
7736 * gdb.base/vla-optimized-out.exp: New file.
7737
7738 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
7739
7740 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
7741 message "No address associated with hostname" when gdbserver
7742 cannot resolve the hostname.
7743
7744 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7745
7746 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
7747 Add some test prefixes to make tests unique.
7748
7749 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7750
7751 * gdb.base/frameapply.c: New file.
7752 * gdb.base/frameapply.exp: New file.
7753
7754 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7755
7756 * gdb.base/skip.exp: Update expected error message.
7757
7758 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
7759 Jan Kratochvil <jan.kratochvil@redhat.com>
7760 Paul Fertser <fercerpav@gmail.com>
7761 Tsutomu Seki <sekiriki@gmail.com>
7762
7763 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
7764 parameter.
7765 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
7766 by default.
7767 * boards/native-gdbserver.exp: Likewise.
7768 * gdb.server/run-without-local-binary.exp: Improve regexp used
7769 for detecting when a remote debugging connection succeeds.
7770 * gdb.server/server-connect.exp: New file.
7771 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
7772 Do not prefix the port number with ":".
7773 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
7774 support for detecting and using it. Add '$debughost_gdbserver'
7775 to the list of arguments used to start gdbserver. Handle case
7776 when gdbserver cannot resolve a network name.
7777
7778 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
7779
7780 PR c++/23373
7781 * gdb.base/ptype-offsets.cc (struct static_member): New
7782 struct.
7783 (main) <stmember>: New variable.
7784 * gdb.base/ptype-offsets.exp: Add test for printing a struct
7785 with a static member in it.
7786
7787 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
7788
7789 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
7790 watchpoints enabled and disabled.
7791
7792 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7793
7794 * gdb.base/examine-backward.exp: Still run tests around address
7795 0x0, even if address 0x0 is not readable. Update the pattern for
7796 matching address 0x0 in expected output.
7797
7798 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
7799
7800 * gdb.base/share-env-with-gdbserver.c (main): Add call to
7801 malloc/free.
7802
7803 2018-07-04 Tom de Vries <tdevries@suse.de>
7804
7805 * gdb.dwarf2/dw2-error.exp: Update expected error message.
7806
7807 2018-07-02 Maciej W. Rozycki <macro@mips.com>
7808
7809 PR tdep/8282
7810 * gdb.arch/mips-disassembler-options.exp: New test.
7811 * gdb.arch/mips-disassembler-options.s: New test source.
7812
7813 2018-06-29 Pedro Alves <palves@redhat.com>
7814
7815 * gdb.threads/names.exp: Adjust expected "info threads" output.
7816
7817 2018-06-29 Pedro Alves <palves@redhat.com>
7818
7819 * gdb.opt/inline-break.exp (line number, address): Add "info
7820 break" tests.
7821
7822 2018-06-29 Pedro Alves <palves@redhat.com>
7823
7824 * gdb.opt/inline-break.c (func1): Add "break here" marker.
7825 * gdb.opt/inline-break.exp: Test setting breakpoints by line
7826 number and address and running to them.
7827
7828 2018-06-29 Richard Bunt <richard.bunt@arm.com>
7829
7830 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
7831
7832 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7833
7834 * lib/compiler.c: Remove executable permission flag.
7835
7836 2018-06-28 Richard Bunt <richard.bunt@arm.com>
7837
7838 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
7839 code.
7840 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
7841
7842 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
7843
7844 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
7845
7846 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
7847
7848 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
7849 address argument is omitted.
7850
7851 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
7852
7853 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
7854
7855 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
7856
7857 PR gdb/21695
7858 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
7859 * gdb.base/infoline-reloc-main-from-zero.c: New file.
7860
7861 2018-06-26 Tom Tromey <tom@tromey.com>
7862
7863 PR rust/22574:
7864 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
7865 * gdb.rust/simple.rs (struct SimpleLayout): New.
7866
7867 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
7868
7869 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
7870 "info registers" output.
7871
7872 2018-06-21 Richard Bunt <richard.bunt@arm.com>
7873
7874 * gdb.base/watchpoint-hw-attach.c: New test.
7875 * gdb.base/watchpoint-hw-attach.exp: New file.
7876
7877 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
7878
7879 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
7880 through /bin/sh.
7881 * boards/dwarf4-gdb-index.exp: Likewise.
7882 * boards/fission-dwp.exp: Likewise.
7883
7884 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
7885
7886 * gdb.base/float128.exp: Add comment and improved fail message
7887 to the failure case of "print large128" test.
7888
7889 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
7890
7891 * configure.ac: Remove AC_PREREQ.
7892 * configure: Re-generate.
7893
7894 2018-06-19 Pedro Alves <palves@redhat.com>
7895
7896 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
7897 (func_extern_caller): New.
7898 (main): Call func_extern_caller.
7899 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
7900 logic change.
7901
7902 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
7903
7904 PR gdb/16841
7905 * gdb.cp/typedef-base.cc: New file.
7906 * gdb.cp/typedef-base.exp: New file.
7907
7908 2018-06-18 Tom de Vries <tdevries@suse.de>
7909
7910 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
7911
7912 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
7913 Richard Bunt <Richard.Bunt@arm.com>
7914
7915 * gdb.threads/attach-slow-waitpid.c: New file.
7916 * gdb.threads/attach-slow-waitpid.exp: New file.
7917 * gdb.threads/slow-waitpid.c: New file.
7918
7919 2018-06-14 Pedro Alves <palves@redhat.com>
7920
7921 * gdb.base/fork-running-state.c: Include <errno.h>.
7922 (exit_if_relative_exits): New.
7923 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
7924 exits.
7925 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
7926 child exits.
7927
7928 2018-06-14 Tom de Vries <tdevries@suse.de>
7929
7930 PR cli/22573
7931 * gdb.base/finish-pretty.c: New test.
7932 * gdb.base/finish-pretty.exp: New file.
7933
7934 2018-06-14 Pedro Alves <palves@redhat.com>
7935
7936 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
7937 gdb's expected startup output.
7938
7939 2018-06-14 Pedro Alves <palves@redhat.com>
7940
7941 * lib/selftest-support.exp (selftest_setup): Remove inlined
7942 function handling.
7943
7944 2018-06-14 Tom de Vries <tdevries@suse.de>
7945
7946 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
7947 matching of breakpoint printing.
7948
7949 2018-06-13 Tom de Vries <tdevries@suse.de>
7950
7951 PR testsuite/23269
7952 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
7953 (fork_child): ... here, and ...
7954 (fork_parent): ... here.
7955
7956 2018-06-12 Tom de Vries <tdevries@suse.de>
7957
7958 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
7959
7960 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
7961 Stephen Roberts <stephen.roberts@arm.com>
7962
7963 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
7964 rewrite test to describe action performed, rather than possible
7965 failure.
7966
7967 2018-06-08 Gary Benson <gbenson@redhat.com>
7968
7969 * gdb.threads/check-libthread-db.exp: New file.
7970 * gdb.threads/check-libthread-db.c: Likewise.
7971
7972 2018-06-05 Tom Tromey <tom@tromey.com>
7973
7974 * gdb.base/default.exp: Update expected "show version" output.
7975
7976 2018-06-05 Tom Tromey <tom@tromey.com>
7977
7978 PR cli/12326:
7979 * gdb.cp/static-print-quit.exp: Update.
7980 * lib/gdb.exp (pagination_prompt): Update.
7981 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
7982 * gdb.python/python.exp: Update.
7983
7984 2018-06-04 Joel Brobecker <brobecker@adacore.com>
7985
7986 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
7987
7988 2018-06-01 Joel Brobecker <brobecker@adacore.com>
7989
7990 * gdb.ada/bp_fun_addr: New testcase.
7991
7992 2018-06-01 Tom Tromey <tom@tromey.com>
7993
7994 * gdb.xml/tdesc-regs.exp (load_description): Update expected
7995 results.
7996 * gdb.dwarf2/method-ptr.exp: Set language to C++.
7997 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
7998 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
7999 * gdb.base/maint.exp (maint_pass_if): Update.
8000
8001 2018-05-31 Maciej W. Rozycki <macro@mips.com>
8002
8003 * gdb.base/endian.exp: New test.
8004 * gdb.base/endian.c: New test source.
8005
8006 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
8007
8008 PR gdb/23203
8009 * gdb.base/bt-selected-frame.c: New file.
8010 * gdb.base/bt-selected-frame.exp: New file.
8011 * lib/gdb.exp (get_current_frame_number): New function.
8012
8013 2018-05-24 Maciej W. Rozycki <macro@mips.com>
8014 Pedro Alves <palves@redhat.com>
8015
8016 * gdb.threads/tls-core.c: Include <stdlib.h>
8017 (thread_proc): Call `abort'.
8018 * gdb.threads/tls-core.exp: Generate a core with core_find too.
8019 (tls_core_test): New procedure, bits factored out from ...
8020 (top level): ... here. Test both native cores and gcore cores.
8021
8022 2018-05-23 Tom Tromey <tom@tromey.com>
8023
8024 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
8025
8026 2018-05-23 Tom Tromey <tom@tromey.com>
8027
8028 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
8029 symfile_complaints.
8030 (test_short_complaints): Likewise.
8031 (test_empty_complaints): Likewise.
8032 (test_initial_complaints): Update.
8033
8034 2018-05-23 Tom Tromey <tom@tromey.com>
8035
8036 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
8037
8038 2018-05-23 Tom Tromey <tom@tromey.com>
8039
8040 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
8041 (test_short_complaints): Update.
8042
8043 2018-05-22 Pedro Alves <palves@redhat.com>
8044
8045 * gdb.base/remote.exp: Only gdb_start after compiling the
8046 testcase. Issue "disconnect" before testing "set remote" command
8047 defaults. Issue clean_restart before running to main.
8048
8049 2018-05-22 Pedro Alves <palves@redhat.com>
8050
8051 * gdb.base/remote.exp: Adjust expected output of "show remote
8052 memory-write-packet-size". Add tests for "set remote
8053 memory-write-packet-size 0" and "set remote
8054 memory-write-packet-size fixed/limit".
8055
8056 2018-05-22 Pedro Alves <palves@redhat.com>
8057
8058 PR gdb/22973
8059 * gdb.base/utf8-identifiers.c: New file.
8060 * gdb.base/utf8-identifiers.exp: New file.
8061
8062 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
8063
8064 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
8065
8066 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
8067
8068 * gdb.arch/powerpc-vsx-gcore.exp: New file.
8069
8070 2018-05-18 Tom Tromey <tom@tromey.com>
8071
8072 * gdb.base/ptype-offsets.exp: Update.
8073
8074 2018-05-17 Keith Seitz <keiths@redhat.com>
8075
8076 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
8077 in expected breakpoint stop locations.
8078 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
8079 move to proper scope to test variable values.
8080 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
8081 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
8082 New functions.
8083 (main): Call not_inline_func3.
8084 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
8085 inline_func1, inline_func2, and inline_func3. Test that when each
8086 breakpoint is hit, GDB properly reports both the stop location
8087 and the backtrace. Repeat tests for temporary breakpoints.
8088
8089 2018-05-15 Maciej W. Rozycki <macro@mips.com>
8090
8091 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
8092 rather then trying to access it in determining whether the PID
8093 of `gdbserver' could have been retrieved.
8094
8095 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
8096
8097 * gdb.arch/amd64-init-x87-values.S: New file.
8098 * gdb.arch/amd64-init-x87-values.exp: New file.
8099
8100 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8101
8102 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
8103
8104 2018-05-04 Tom Tromey <tom@tromey.com>
8105
8106 PR python/22730:
8107 * gdb.python/python.exp: Test multi-line execute.
8108
8109 2018-05-04 Tom Tromey <tom@tromey.com>
8110
8111 PR python/22731:
8112 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
8113
8114 2018-05-04 Tom Tromey <tom@tromey.com>
8115
8116 PR gdb/11750:
8117 * gdb.base/define.exp: Test defining a user command inside a user
8118 command.
8119 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
8120
8121 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8122 Pedro Alves <palves@redhat.com>
8123
8124 PR breakpoints/19806 and support for PR external/20207.
8125 * gdb.base/watchpoint-unaligned.c: New file.
8126 * gdb.base/watchpoint-unaligned.exp: New file.
8127
8128 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8129
8130 * gdb.base/maint.exp: Make test names unique, use
8131 test_prefix_command_help to test 'help maint info', and remove
8132 repeated test of 'help maint'.
8133
8134 2018-05-04 Tom Tromey <tom@tromey.com>
8135
8136 PR gdb/22619:
8137 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
8138 behavior.
8139
8140 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8141
8142 * gdb.base/maint.exp: Process output from 'maint print registers'
8143 line at a time.
8144
8145 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8146
8147 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
8148 timeout.
8149
8150 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
8151
8152 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
8153 filter pattern.
8154
8155 2018-05-02 Pedro Alves <palves@redhat.com>
8156
8157 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
8158 to_log_command renames.
8159 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
8160
8161 2018-05-02 Tom Tromey <tom@tromey.com>
8162
8163 * gdb.python/py-parameter.exp: Set test message.
8164
8165 2018-05-02 Tom Tromey <tom@tromey.com>
8166
8167 PR python/20084:
8168 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
8169 PARAM_ZUINTEGER_UNLIMITED tests.
8170
8171 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
8172
8173 PR rust/23124
8174 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
8175 when casting.
8176
8177 2018-04-30 Tom Tromey <tom@tromey.com>
8178
8179 * gdb.python/py-type.exp: Check align attribute.
8180 * gdb.python/py-type.c: New "aligncheck" global.
8181
8182 2018-04-30 Tom Tromey <tom@tromey.com>
8183
8184 PR exp/17095:
8185 * gdb.dwarf2/dw2-align.exp: New file.
8186 * gdb.cp/align.exp: New file.
8187 * gdb.base/align.exp: New file.
8188 * lib/gdb.exp (gdb_int128_helper): New proc.
8189 (has_int128_c, has_int128_cxx): New caching procs.
8190
8191 2018-04-27 Tom Tromey <tom@tromey.com>
8192
8193 PR rust/22545:
8194 * gdb.rust/simple.exp: Add inclusive range tests.
8195
8196 2018-04-26 Pedro Alves <palves@redhat.com>
8197
8198 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
8199 ifunc breakpoint locations correctly of ifunc breakpoints set
8200 while the program resolves the ifunc.
8201
8202 2018-04-26 Pedro Alves <palves@redhat.com>
8203
8204 * gdb.base/gnu-ifunc-final.c: New file.
8205 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
8206 * gdb.base/gnu-ifunc.exp (executable): Delete.
8207 (staticexecutable): Adjust.
8208 (lib_opts, exec_opts): Delete.
8209 (make_binsuffix, build, set-break): New procedures.
8210 (misc_tests): New, with tests factored out from the top level.
8211 (top level): Test different combinations of ifunc resolver name,
8212 resolver with and with debug info, and ifunc target with and
8213 without debug info. Wrap static tests with with_target_prefix.
8214
8215 2018-04-26 Pedro Alves <palves@redhat.com>
8216
8217 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
8218 return type" warnings.
8219
8220 2018-04-25 Pedro Alves <palves@redhat.com>
8221
8222 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
8223 killed".
8224 * gdb.base/kill-after-signal.exp: Likewise.
8225 * gdb.threads/kill.exp: Likewise.
8226
8227 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8228 Sergio Durigan Junior <sergiodj@redhat.com>
8229 Pedro Alves <palves@redhat.com>
8230
8231 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
8232 regexps to expect for '[Inferior ... detached]' as well.
8233 * gdb.base/attach.exp: Likewise.
8234 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
8235 "gdb_continue_to_end".
8236 (test_catch_syscall_with_wrong_args): Likewise.
8237 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
8238 ']'. Don't set 'verbose' on.
8239 * gdb.base/foll-vfork.exp: Likewise.
8240 * gdb.base/fork-print-inferior-events.c: New file.
8241 * gdb.base/fork-print-inferior-events.exp: New file.
8242 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
8243 '[Inferior ... has been killed]' message.
8244 * gdb.base/kill-after-signal.exp: Likewise.
8245 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
8246 detach message.
8247 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
8248 message.
8249 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
8250 regexps to expect for '[Inferior ... detached]' as well.
8251 * gdb.threads/process-dies-while-detaching.exp: Likewise.
8252
8253 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
8254
8255 PR gdb/23104
8256 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
8257
8258 2018-04-22 Rajendra SY <rajendra.sy@gmail.com>
8259
8260 PR gdb/23095
8261 * gdb.base/break-probes.exp: Pass shlib_load to
8262 prepare_for_testing. Set normal_bp to r_debug_state if target is
8263 bsd.
8264
8265 2018-04-19 Richard Bunt <richard.bunt@arm.com>
8266
8267 * gdb.threads/multiple-successive-infcall.c: New test.
8268 * gdb.threads/multiple-successive-infcall.exp: New file.
8269
8270 2018-04-17 Tom Tromey <tom@tromey.com>
8271
8272 * gdb.rust/simple.rs (Union): New type.
8273 (main): New local "u".
8274 * gdb.rust/simple.exp (test_one_slice): Add new test case.
8275
8276 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8277
8278 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
8279 number information in output of "whereis" command.
8280 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
8281
8282 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8283
8284 * gdb.ada/info_types.exp: Adjust expected output to the line
8285 numbers now printed by "info var/func/type".
8286 * gdb.base/completion.exp: Likewise.
8287 * gdb.base/included.exp: Likewise.
8288 * gdb.cp/cp-relocate.exp: Likewise.
8289 * gdb.cp/cplusfuncs.exp: Likewise.
8290 * gdb.cp/namespace.exp: Likewise.
8291 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
8292
8293 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
8294
8295 * gdb.btrace/cpu.exp: New.
8296
8297 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
8298
8299 * gdb.base/step-indirect-call-thunk.exp: New.
8300 * gdb.base/step-indirect-call-thunk.c: New.
8301 * gdb.reverse/step-indirect-call-thunk.exp: New.
8302 * gdb.reverse/step-indirect-call-thunk.c: New.
8303
8304 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
8305
8306 * gdb.base/pie-fork.c: New file.
8307 * gdb.base/pie-fork.exp: New file.
8308
8309 2018-04-11 Tom Tromey <tom@tromey.com>
8310
8311 * gdb.rust/simple.exp: Add test for ".." struct initializer.
8312
8313 2018-04-10 Pedro Alves <palves@redhat.com>
8314
8315 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
8316 exits. Instead loop running forever.
8317 (fork_parent): Run forever too.
8318
8319 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
8320
8321 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
8322 mi_continue_to_line.
8323 * gdb.mi/mi-stack.c (callee4): Add comment.
8324
8325 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
8326
8327 * gdb.mi/mi-stack.exp: Fix indentation.
8328
8329 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
8330
8331 PR gdb/22979
8332 * gdb.arch/amd64-osabi.exp: New file.
8333
8334 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
8335
8336 PR gdb/22980
8337 * gdb.base/osabi.exp: New file.
8338
8339 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
8340
8341 * gdb.cp/static-typedef-print.exp: New file.
8342 * gdb.cp/static-typedef-print.cc: New file.
8343
8344 2018-03-27 Joel Brobecker <brobecker@adacore.com>
8345
8346 * gdb.ada/varsize_limit: New testcase.
8347
8348 2018-03-27 Joel Brobecker <brobecker@adacore.com>
8349
8350 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
8351
8352 * gdb.ada/notcplusplus: New testcase.
8353
8354 * gdb.base/c-linkage-name.c: New file.
8355 * gdb.base/c-linkage-name.exp: New testcase.
8356
8357 2018-03-26 Tom Tromey <tom@tromey.com>
8358
8359 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
8360 * gdb.python/py-framefilter.py (name_error): New global.
8361 (ErrorInName.function): Use name_error.
8362
8363 2018-03-26 Tom Tromey <tom@tromey.com>
8364
8365 PR backtrace/15582:
8366 * gdb.python/py-framefilter.exp: Add "bt hide" test.
8367
8368 2018-03-23 Keith Seitz <keiths@redhat.com>
8369
8370 PR c++/22968
8371 * gdb.cp/subtypes.exp: New file.
8372 * gdb.cp/subtypes.h: New file.
8373 * gdb.cp/subtypes.cc: New file.
8374 * gdb.cp/subtypes-2.cc: New file.
8375
8376 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
8377
8378 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
8379 (done): Call '_exit' not 'exit' to avoid atexit handlers.
8380 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
8381 -nostartfiles when compiling the test. Confirm that all registers
8382 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
8383
8384 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
8385
8386 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
8387 option, syntax was wrong anyway.
8388 * gdb.arch/arm-disp-step.exp: Likewise.
8389 * gdb.arch/sparc64-regs.exp: Likewise.
8390 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
8391 option, syntax was wrong anyway, switch to use
8392 prepare_for_testing.
8393 * gdb.arch/i386-disp-step.exp: Likewise.
8394
8395 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
8396
8397 * gdb.ada/exec_changed.exp: Replace "target_info exists
8398 use_gdb_stub" by "use_gdb_stub".
8399 * gdb.ada/start.exp: Likewise.
8400 * gdb.base/async-shell.exp: Likewise.
8401 * gdb.base/attach-pie-misread.exp: Likewise.
8402 * gdb.base/attach-wait-input.exp: Likewise.
8403 * gdb.base/break-entry.exp: Likewise.
8404 * gdb.base/break-interp.exp: Likewise.
8405 * gdb.base/dprintf-detach.exp: Likewise.
8406 * gdb.base/nostdlib.exp: Likewise.
8407 * gdb.base/solib-nodir.exp: Likewise.
8408 * gdb.base/statistics.exp: Likewise.
8409 * gdb.base/testenv.exp: Likewise.
8410 * gdb.mi/mi-exec-run.exp: Likewise.
8411 * gdb.mi/mi-start.exp: Likewise.
8412 * gdb.multi/dummy-frame-restore.exp: Likewise.
8413 * gdb.multi/multi-arch-exec.exp: Likewise.
8414 * gdb.multi/multi-arch.exp: Likewise.
8415 * gdb.multi/tids.exp: Likewise.
8416 * gdb.multi/watchpoint-multi.exp: Likewise.
8417 * gdb.python/py-events.exp: Likewise.
8418 * gdb.threads/attach-into-signal.exp: Likewise.
8419 * gdb.threads/attach-stopped.exp: Likewise.
8420 * gdb.threads/threadapply.exp: Likewise.
8421 * lib/selftest-support.exp: Likewise.
8422
8423 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
8424
8425 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
8426
8427 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
8428
8429 * gdb.perf/template-breakpoints.cc: New file.
8430 * gdb.perf/template-breakpoints.exp: New file.
8431 * gdb.perf/template-breakpoints.py: New file.
8432
8433 2018-03-19 Tom Tromey <tom@tromey.com>
8434
8435 * gdb.rust/simple.rs (main): Add local variables field1, field2,
8436 y0.
8437 * gdb.rust/simple.exp: Test bare identifier form of struct
8438 initializer.
8439
8440 2018-03-19 Tom Tromey <tom@tromey.com>
8441
8442 * gdb.gdb/observer.exp: Remove.
8443
8444 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8445
8446 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
8447 "qualified" option when setting breakpoints.
8448 * gdb.trace/backtrace.exp: Likewise.
8449 * gdb.trace/circ.exp: Likewise.
8450 * gdb.trace/collection.exp: Likewise.
8451 * gdb.trace/disconnected-tracing.exp: Likewise.
8452 * gdb.trace/ftrace-lock.exp: Likewise.
8453 * gdb.trace/ftrace.exp: Likewise.
8454 * gdb.trace/infotrace.exp: Likewise.
8455 * gdb.trace/packetlen.exp: Likewise.
8456 * gdb.trace/passc-dyn.exp: Likewise.
8457 * gdb.trace/qtro.exp: Likewise.
8458 * gdb.trace/read-memory.exp: Likewise.
8459 * gdb.trace/report.exp: Likewise.
8460 * gdb.trace/signal.exp: Likewise.
8461 * gdb.trace/status-stop.exp: Likewise.
8462 * gdb.trace/strace.exp: Likewise.
8463 * gdb.trace/tfind.exp: Likewise.
8464 * gdb.trace/trace-break.exp: Likewise.
8465 * gdb.trace/trace-condition.exp: Likewise.
8466 * gdb.trace/trace-mt.exp: Likewise.
8467 * gdb.trace/tstatus.exp: Likewise.
8468 * gdb.trace/tsv.exp: Likewise.
8469 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
8470 * gdb.trace/unavailable.exp: Likewise.
8471 * gdb.trace/while-dyn.exp: Likewise.
8472
8473 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8474
8475 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
8476 that libinproctrace is copied to the target.
8477
8478 2018-03-14 Tom Tromey <tom@tromey.com>
8479
8480 PR cli/14977:
8481 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
8482 a null pointer.
8483 * gdb.base/wchar.exp: Likewise.
8484
8485 2018-03-14 Tom Tromey <tom@tromey.com>
8486
8487 PR cli/19918:
8488 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
8489 flag.
8490
8491 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
8492
8493 PR gdb/22841
8494 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
8495 "target" to remote_exec.
8496
8497 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
8498
8499 PR gdb/22841
8500 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
8501 ${board}_upload): Remove.
8502
8503 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
8504
8505 * gdb.cp/watch-cp.cc: New test.
8506 * gdb.cp/watch-cp.exp: New file.
8507
8508 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8509
8510 * gdb.base/infcall-nested-structs.exp: New file.
8511 * gdb.base/infcall-nested-structs.c: New file.
8512 * gdb.base/float.exp: Add riscv support.
8513
8514 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
8515
8516 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
8517 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
8518
8519 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
8520
8521 * gdb.server/abspath.exp: New file.
8522 * lib/gdb.exp (with_cwd): New procedure.
8523
8524 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
8525
8526 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
8527 use it.
8528 (gdb_is_target_remote_prompt): New proc.
8529 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
8530 (gdb_is_target_native): Pass prompt parameter to
8531 gdb_is_target_1.
8532
8533 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
8534
8535 * gdb.base/load-command.c: New file.
8536 * gdb.base/load-command.exp: New file.
8537 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
8538 (gdb_is_target_1): ...this, and generalize for other targets
8539 than just remote.
8540 (gdb_is_target_remote): Use gdb_is_target_1.
8541 (gdb_is_target_native): use gdb_is_target_1.
8542
8543 2018-02-26 Tom Tromey <tom@tromey.com>
8544
8545 PR python/16497:
8546 * gdb.python/py-framefilter.exp: Update test.
8547
8548 2018-02-26 Tom Tromey <tom@tromey.com>
8549
8550 * gdb.dwarf2/variant.c: New file.
8551 * gdb.dwarf2/variant.exp: New file.
8552
8553 2018-02-26 Tom Tromey <tom@tromey.com>
8554
8555 * gdb.rust/simple.exp: Accept more possible results in enum test.
8556
8557 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
8558
8559 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
8560 parentheses.
8561
8562 2018-02-23 Maciej W. Rozycki <macro@mips.com>
8563
8564 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
8565 name of a variable: $actual_linejj -> $actual_line.
8566
8567 2018-02-21 John Baldwin <jhb@FreeBSD.org>
8568
8569 * gdb.arch/amd64-i386-address.exp: Fix a typo.
8570
8571 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
8572
8573 * gdb.btrace/buffer-size.exp: Do not force BTS.
8574
8575 2018-02-14 Pedro Alves <palves@redhat.com>
8576
8577 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
8578 getting a "Quit".
8579
8580 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
8581
8582 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
8583 Fix test name.
8584
8585 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
8586
8587 * gdb.cp/m-static.exp: Check type of optimized out static
8588 member.
8589
8590 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
8591
8592 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
8593 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
8594
8595 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
8596 Leszek Swirski <leszeks@google.com>
8597
8598 * gdb.python/py-prettyprint.c
8599 (struct to_string_returns_value_inner,
8600 struct to_string_returns_value_wrapper): New.
8601 (main): Add tsrvw variable.
8602 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
8603 ToStringReturnsValueWrapper): New classes.
8604 (register_pretty_printers): Register new pretty-printers.
8605 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
8606 recursive pretty printer.
8607 * gdb.python/py-mi.exp: Likewise.
8608
8609 2018-02-01 Leszek Swirski <leszeks@google.com>
8610
8611 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
8612 functions with the same name as an include file are parsed
8613 correctly.
8614
8615 2018-02-01 Yao Qi <yao.qi@linaro.org>
8616
8617 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
8618 "\[^\r\n\]*".
8619
8620 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
8621
8622 * gdb.arch/powerpc-prologue-frame.s: New file.
8623 * gdb.arch/powerpc-prologue-frame.c: Likewise.
8624 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
8625
8626 2018-01-31 Joel Brobecker <brobecker@adacore.com>
8627
8628 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
8629
8630 2018-01-30 Pedro Alves <palves@redhat.com>
8631
8632 PR gdb/13211
8633 * gdb.base/interrupt-daemon.c: New.
8634 * gdb.base/interrupt-daemon.exp: New.
8635 * gdb.multi/multi-term-settings.c: New.
8636 * gdb.multi/multi-term-settings.exp: New.
8637
8638 2018-01-30 Joel Brobecker <brobecker@adacore.com>
8639
8640 * gdb.base/break.exp: Save the location where the breakpoint
8641 on break.c:47 was actually inserted when debugging the version
8642 compiled at -O2 and use it in the expected output of the "info
8643 break" test performed soon after.
8644
8645 2018-01-22 Pedro Alves <palves@redhat.com>
8646 Sergio Durigan Junior <sergiodj@redhat.com>
8647
8648 * gdb.base/whatis.exp: Add tests for 'set print object on' +
8649 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
8650
8651 2018-01-22 Joel Brobecker <brobecker@adacore.com>
8652
8653 * gdb.base/break-include.c, gdb.base/break-include.inc,
8654 gdb.base/break-include.exp: New files.
8655 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
8656 line number now being the actual line number where the breakpoint
8657 was inserted.
8658 * gdb.mi/mi-break.exp: Likewise.
8659 * gdb.mi/mi-reverse.exp: Likewise.
8660 * gdb.mi/mi-simplerun.exp: Ditto.
8661
8662 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
8663
8664 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
8665 varobj.
8666 * gdb.mi/mi-var-create-rtti.exp: Likewise.
8667
8668 2018-01-21 Don Breazeal <donb@codesourcery.com>
8669 Andrew Burgess <andrew.burgess@embecosm.com>
8670
8671 * gdb.mi/basics.c: Add new global.
8672 * gdb.mi/mi-frame-regs.exp: New file.
8673 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
8674 case.
8675
8676 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
8677
8678 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
8679 non-parameter, and on an unknown symbol.
8680
8681 2018-01-19 Tom Tromey <tom@tromey.com>
8682
8683 * gdb.rust/modules.rs (TWENTY_THREE): New global.
8684 * gdb.rust/modules.exp: Add ::-qualified lookup test.
8685
8686 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8687
8688 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
8689 setrlimit and chdir to int.
8690
8691 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8692
8693 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
8694 function.
8695 (my_tend): Likewise.
8696 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
8697 rationale of avoiding FP- and vector instructions.
8698
8699 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
8700
8701 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
8702 "info reg" with "\[ \t\]*".
8703 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
8704 "\[ \t\]+".
8705 * gdb.arch/s390-multiarch.exp: Ditto.
8706 * gdb.base/pc-fp.exp: Ditto.
8707 * gdb.reverse/i386-precsave.exp: Ditto.
8708 * gdb.reverse/i386-reverse.exp: Ditto.
8709 * gdb.reverse/i387-env-reverse.exp: Ditto.
8710 * gdb.reverse/i387-stack-reverse.exp: Ditto.
8711
8712 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
8713
8714 * lib/gdb.exp (gdb_compile): Re-enable use of
8715 universal_compile_options for languages other than Rust.
8716
8717 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
8718
8719 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
8720
8721 2018-01-17 Mike Gulick <mgulick@mathworks.com>
8722
8723 PR gdb/16577
8724 * gdb.base/solib-vanish.exp: New.
8725 * gdb.base/solib-vanish-main.c: New.
8726 * gdb.base/solib-vanish-lib1.c: New.
8727 * gdb.base/solib-vanish-lib2.c: New.
8728
8729 2018-01-17 Yao Qi <yao.qi@linaro.org>
8730
8731 * gdb.compile/compile.exp: Match the address printed for
8732 frame in the output of command "bt".
8733
8734 2018-01-15 Tom Tromey <tom@tromey.com>
8735
8736 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
8737 compute sp_reg.
8738
8739 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
8740
8741 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
8742 to prepare.
8743 (prepare): Return 0 on error, 1 on success.
8744
8745 2018-01-12 Pedro Alves <palves@redhat.com>
8746
8747 * gdb.base/continue-after-aborted-step-over.c: New.
8748 * gdb.base/continue-after-aborted-step-over.exp: New.
8749
8750 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
8751
8752 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
8753 options when not creating an executable.
8754
8755 2018-01-11 Pedro Alves <palves@redhat.com>
8756
8757 PR remote/22597
8758 * gdb.server/stop-reply-no-thread.c: New file.
8759 * gdb.server/stop-reply-no-thread.exp: New file.
8760
8761 2018-01-10 Pedro Alves <palves@redhat.com>
8762
8763 PR gdb/22670
8764 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
8765 functions too. Test setting breakpoints and printing C functions
8766 with no debug info too.
8767 * gdb.ada/bp_c_mixed_case/qux.c: New file.
8768
8769 2018-01-10 Pedro Alves <palves@redhat.com>
8770
8771 PR gdb/22670
8772 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
8773 a fail.
8774
8775 2018-01-10 Pedro Alves <palves@redhat.com>
8776
8777 PR gdb/22670
8778 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
8779
8780 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
8781
8782 * gdb.server/unittest.exp: Match the output in non-development
8783 mode.
8784
8785 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
8786
8787 * gdb.gdb/unittest.exp: Match output in non-development mode.
8788
8789 2018-01-08 Joel Brobecker <brobecker@adacore.com>
8790
8791 * gdb.ada/access_tagged_param.exp: Relax expected output
8792 for value of "ObjL" in "continue" to pck.inspect breakpoint
8793 test.
8794
8795 2018-01-08 Joel Brobecker <brobecker@adacore.com>
8796
8797 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
8798 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
8799
8800 2018-01-05 Pedro Alves <palves@redhat.com>
8801
8802 PR gdb/18653
8803 * gdb.base/libsegfault.exp: New.
8804
8805 2018-01-05 Joel Brobecker <brobecker@adacore.com>
8806
8807 PR gdb/22670
8808 * gdb.ada/access_tagged_param.exp: New file.
8809 * gdb.ada/access_tagged_param/foo.adb: New file.
8810
8811 2018-01-05 Pedro Alves <palves@redhat.com>
8812
8813 PR gdb/22670
8814 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
8815 exercise lower case too, and to exercise both full matching and
8816 wild matching.
8817
8818 2018-01-05 Joel Brobecker <brobecker@adacore.com>
8819
8820 * gdb.ada/rename_subscript_param: New testcase.
8821
8822 2018-01-05 Jerome Guitton <guitton@adacore.com>
8823
8824 * gdb.ada/arr_acc_idx_w_gap: New testcase.
8825
8826 2018-01-05 Joel Brobecker <brobecker@adacore.com>
8827
8828 * gdb.ada/convvar_comp: New testcase.
8829
8830 2018-01-05 Xavier Roirand <roirand@adacore.com>
8831
8832 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
8833 (My_Table): New global variable.
8834 * testsuite/gdb.ada/array_char_idx.exp: Add test.
8835
8836 2018-01-04 Joel Brobecker <brobecker@adacore.com>
8837
8838 PR gdb/22670
8839 * gdb.ada/maint_with_ada: New testcase.
8840
8841 2018-01-04 Joel Brobecker <brobecker@adacore.com>
8842
8843 PR gdb/22670
8844 * gdb.ada/bp_c_mixed_case: New testcase.
8845
8846 2018-01-04 Joel Brobecker <brobecker@adacore.com>
8847
8848 PR gdb/22670
8849 * gdb.ada/complete.exp: Add "complete break ada" test.
8850
8851 2018-01-04 Joel Brobecker <brobecker@adacore.com>
8852
8853 PR gdb/22670
8854 * gdb.ada/info_addr_mixed_case: New testcase.
8855
8856 2018-01-03 Xavier Roirand <roirand@adacore.com>
8857
8858 * gdb.ada/excep_handle.exp: New testcase.
8859 * gdb.ada/excep_handle/foo.adb: New file.
8860 * gdb.ada/excep_handle/pck.ads: New file.
8861
8862 2018-01-03 Joel Brobecker <brobecker@adacore.com>
8863
8864 * gdb.base/step-line.c: Add extra empty line in copyright header.
8865 * gdb.base/step-line.inp: Likewise.
8866
8867 2018-01-02 Joel Brobecker <brobecker@adacore.com>
8868
8869 * gdb.ada/dyn_stride.exp: Add slice test.
8870
8871 2018-01-02 Joel Brobecker <brobecker@adacore.com>
8872
8873 * gdb.ada/dyn_stride: New testcase.
8874
8875 2017-12-27 Stafford Horne <shorne@gmail.com>
8876
8877 * gdb.xml/extra-regs.xml: Add example foo reggroup.
8878 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
8879
8880 2017-12-27 Stafford Horne <shorne@gmail.com>
8881
8882 * gdb.base/reggroups.c: New file.
8883 * gdb.base/reggroups.exp: New file.
8884
8885 2017-12-18 Joel Brobecker <brobecker@adacore.com>
8886
8887 * gdb.dwarf2/ada-valprint-error.c: New file.
8888 * gdb.dwarf2/ada-valprint-error.exp: New file.
8889
8890 2017-12-18 Joel Brobecker <brobecker@adacore.com>
8891
8892 * gdb.ada/assign_arr: New testcase.
8893
8894 2017-12-18 Xavier Roirand <roirand@adacore.com>
8895
8896 * gdb.ada/funcall_ptr: New testcase.
8897
8898 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
8899
8900 PR cli/16224
8901 * gdb.base/ptype-offsets.cc: New file.
8902 * gdb.base/ptype-offsets.exp: New file.
8903
8904 2017-12-15 Yao Qi <yao.qi@linaro.org>
8905
8906 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
8907 if XML is disabled.
8908
8909 2017-12-15 Xavier Roirand <roirand@adacore.com>
8910
8911 * gdb.ada/same_component_name: New testcase.
8912
8913 2017-12-14 Joel Brobecker <brobecker@adacore.com>
8914
8915 * gdb.ada/str_binop_equal: New testcase.
8916
8917 2017-12-14 Joel Brobecker <brobecker@adacore.com>
8918
8919 * gdb.ada/task_switch_in_core: New testcase.
8920
8921 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
8922
8923 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
8924 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
8925 call test_bkpt_qualified.
8926 (test_bkpt_qualified): New proc.
8927
8928 2017-12-13 Pedro Alves <palves@redhat.com>
8929
8930 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
8931 Tighten regexp by matching with an anchor.
8932
8933 2017-12-13 Pedro Alves <palves@redhat.com>
8934
8935 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
8936 ("expression with namespace"): New set of tests.
8937 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
8938 (Nested::Test_NS::qux): New.
8939 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
8940 defaults to 'start_quote_char' and 'end_quote_char' parameters.
8941
8942 2017-12-13 Joel Brobecker <brobecker@adacore.com>
8943
8944 * gdb.base/server-del-break.c: New file.
8945 * gdb.base/server-del-break.exp: New file.
8946
8947 2017-12-12 Stafford Horne <shorne@gmail.com>
8948
8949 * gdb.xml/tdesc-regs.exp: Add or1k support.
8950
8951 2017-12-12 Stafford Horne <shorne@gmail.com>
8952
8953 * gdb.base/bp-permanent.c: Define nop of or1k.
8954
8955 2017-12-11 Joel Brobecker <brobecker@adacore.com>
8956
8957 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
8958 output with components being reordered.
8959
8960 2017-12-11 Joel Brobecker <brobecker@adacore.com>
8961
8962 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
8963 output with components being reordered.
8964
8965 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8966 Pedro Alves <palves@redhat.com>
8967
8968 * gdb.base/maint.exp (check for .gdb_index): Check also for
8969 .debug_names.
8970 * gdb.dlang/watch-loc.c (.debug_aranges): New.
8971 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
8972 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
8973 (.gdb_index used after symbol reloading): Support also .debug_names.
8974 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
8975
8976 2017-12-08 Yao Qi <yao.qi@linaro.org>
8977
8978 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
8979 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
8980
8981 2017-12-08 Yao Qi <yao.qi@linaro.org>
8982
8983 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
8984 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
8985
8986 2017-12-08 Yao Qi <yao.qi@linaro.org>
8987
8988 * gdb.arch/aarch64-tagged-pointer.c: New file.
8989 * gdb.arch/aarch64-tagged-pointer.exp: New file.
8990
8991 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
8992
8993 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
8994 "int".
8995
8996 2017-12-07 Keith Seitz <keiths@redhat.com>
8997
8998 PR breakpoints/22569
8999 * gdb.linespec/ls-errs.exp: Change expected result of "break
9000 -source this file has spaces.c -line 3".
9001 Check that an explicit source file followed by whitespace is
9002 identified as an invalid explicit location.
9003
9004 2017-12-07 Keith Seitz <keiths@redhat.com>
9005
9006 * gdb.cp/nested-types.cc: New file.
9007 * gdb.cp/nested-types.exp: New file.
9008 * lib/cp-support.exp: Load data-structures.exp library.
9009 (debug_cp_test_ptype_class): New global.
9010 (cp_ptype_class_verbose, next_line): New procedures.
9011 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
9012 Add and document new return value.
9013 Switch the list of lines to a queue.
9014 Add support for new `type' key for nested type definitions.
9015 Add debugging/troubleshooting messages.
9016 * lib/data-structures.exp: New file.
9017
9018 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
9019
9020 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
9021 with proc_with_prefix, don't use with_test_prefix.
9022
9023 2017-12-07 Tom Tromey <tom@tromey.com>
9024
9025 * gdb.base/break.exp: Add test for empty "commands".
9026
9027 2017-12-07 Yao Qi <yao.qi@linaro.org>
9028
9029 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
9030 malloc and catch syscall.
9031
9032 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
9033
9034 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
9035 tests for explicit locations.
9036
9037 2017-12-06 Pedro Alves <palves@redhat.com>
9038
9039 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
9040 force-disabling XML descriptions.
9041
9042 2017-12-04 Pedro Alves <palves@redhat.com>
9043
9044 PR gdb/22499
9045 * gdb.arch/amd64-disp-step-avx.S: New file.
9046 * gdb.arch/amd64-disp-step-avx.exp: New file.
9047
9048 2017-12-03 Pedro Alves <palves@redhat.com>
9049
9050 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
9051 and <string.h>.
9052 (parent_function): Print distinct messages when waitpid fails, or
9053 the child exits with a signal, or the child exits for an unhandled
9054 reason.
9055 * gdb.threads/process-dies-while-detaching.exp
9056 (detach_and_expect_exit): New 'inf_output_re' parameter and use
9057 it. Wait for both inferior output and GDB's prompt. Use an
9058 indirect spawn id list.
9059 (do_detach): New parameter 'child_exit'. Use it to compute
9060 expected inferior output.
9061 (test_detach, test_detach_watch, test_detach_killed_outside):
9062 Adjust to pass down the expected child exit kind.
9063
9064 2017-12-01 Joel Brobecker <brobecker@adacore.com>
9065 Sergio Durigan Junior <sergiodj@redhat.com>
9066 Pedro Alves <palves@redhat.com>
9067
9068 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
9069
9070 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
9071
9072 * gdb.base/relocate.exp: Add tests to guarantee that arguments
9073 to 'symbol-file' and 'add-symbol-file' can be
9074 position-independent.
9075
9076 2017-12-01 Yao Qi <yao.qi@linaro.org>
9077
9078 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
9079 the URL in copyright header.
9080 * gdb.arch/aarch64-fp.exp: Likewise.
9081 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
9082 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
9083 * gdb.base/expand-psymtabs.exp: Likewise.
9084 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
9085 * gdb.fortran/common-block.exp: Likewise.
9086 * gdb.fortran/common-block.f90: Likewise.
9087 * gdb.fortran/logical.exp: Likewise.
9088 * gdb.fortran/vla-datatypes.f90: Likewise.
9089 * gdb.fortran/vla-sub.f90: Likewise.
9090
9091 2017-11-30 Joel Brobecker <brobecker@adacore.com>
9092
9093 * gdb.ada/repeat_dyn: New testcase.
9094
9095 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
9096
9097 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
9098 Update for changed thread numbering.
9099 * gdb.cell/bt.exp: Update for changed GDB output.
9100
9101 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
9102
9103 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
9104 setting isremote by hand.
9105 * boards/dwarf4-gdb-index.exp: Likewise.
9106 * boards/fission.exp: Likewise.
9107 * boards/stabs.exp: Likewise.
9108
9109 2017-11-30 Pedro Alves <palves@redhat.com>
9110
9111 * gdb.linespec/cpls-ops.exp
9112 (check_explicit_skips_function_argument): Extract the underlying
9113 type of size_t instead of hardcoding it.
9114
9115 2017-11-29 Pedro Alves <palves@redhat.com>
9116
9117 PR c++/19436
9118 * gdb.linespec/cpls-abi-tag.cc: New file.
9119 * gdb.linespec/cpls-abi-tag.exp: New file.
9120
9121 2017-11-29 Pedro Alves <palves@redhat.com>
9122
9123 * gdb.base/langs.exp: Use -qualified.
9124 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
9125 it.
9126 * gdb.cp/namespace.exp: Use -qualified.
9127 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
9128 (overload-3, template-overload, template-ret-type, const-overload)
9129 (const-overload-quoted, anon-ns, ambiguous-prefix): New
9130 procedures.
9131 (test_driver): Call them.
9132 * gdb.cp/save-bp-qualified.cc: New.
9133 * gdb.cp/save-bp-qualified.exp: New.
9134 * gdb.linespec/explicit.exp: Test -qualified.
9135 * lib/completion-support.exp (completion::explicit_opts_list): Add
9136 "-qualified".
9137 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
9138
9139 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
9140
9141 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
9142
9143 2017-11-29 Tom Tromey <tom@tromey.com>
9144
9145 * gdb.base/relocate.exp: Update invalid argument test.
9146 Add new tests for invalid arguments.
9147
9148 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
9149
9150 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
9151 Return 0 as a long.
9152 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
9153
9154 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
9155
9156 * gdb.cp/breakpoint.cc (bar): Set return type to void.
9157 * gdb.cp/psymtab-parameter.cc (func): Likewise.
9158 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
9159 func ().
9160 * gdb.cp/shadow.cc (B.func): Return 0.
9161
9162 2017-11-27 Joel Brobecker <brobecker@adacore.com>
9163
9164 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
9165 expected output in gdb_expect call to allow the exception
9166 message to be present as well. Fix syntax confusion to avoid
9167 TCL thinking that exception_name is an array.
9168
9169 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
9170
9171 * gdb.arch/spu-info.c: Include <unistd.h>.
9172 (do_signal_test): Fix broken calls to write.
9173 * gdb.arch/spu-info.exp: Use prepare_for_testing.
9174 Fix checks for empty mailboxes. Update signal tests for corrected
9175 do_signal_test routine. Allow nonzero event status.
9176 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
9177 * gdb.cell/arch.exp: Use standard_output_file.
9178 * gdb.cell/break.exp: Likewise.
9179 * gdb.cell/bt.exp: Likewise.
9180 * gdb.cell/core.exp: Likewise.
9181 * gdb.cell/dwarfaddr.exp: Likewise.
9182 * gdb.cell/ea-cache.exp: Likewise.
9183 * gdb.cell/ea-standalone.exp: Likewise.
9184 * gdb.cell/f-regs.exp: Likewise.
9185 * gdb.cell/fork.exp: Likewise.
9186 * gdb.cell/gcore.exp: Likewise.
9187 * gdb.cell/mem-access.exp: Likewise.
9188 * gdb.cell/ptype.exp: Likewise.
9189 * gdb.cell/registers.exp: Likewise.
9190 * gdb.cell/sizeof.exp: Likewise.
9191 * gdb.cell/solib-symbol.exp: Likewise.
9192 * gdb.cell/solib.exp: Likewise.
9193
9194 2017-11-25 Pedro Alves <palves@redhat.com>
9195
9196 * gdb.base/complete-empty.exp: New file.
9197 * gdb.base/completion.exp: Adjust.
9198
9199 2017-11-25 Pedro Alves <palves@redhat.com>
9200
9201 * gdb.linespec/cpls-ops.cc: New file.
9202 * gdb.linespec/cpls-ops.exp: New file.
9203 * lib/completion-support.exp (test_complete_prefix_range_re): New,
9204 factored out from ...
9205 (test_complete_prefix_range): ... this.
9206
9207 2017-11-24 Pedro Alves <palves@redhat.com>
9208
9209 * gdb.linespec/cpcompletion.exp: New file.
9210 * gdb.linespec/cpls-hyphen.cc: New file.
9211 * gdb.linespec/cpls.cc: New file.
9212 * gdb.linespec/cpls2.cc: New file.
9213 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
9214 test to use test_gdb_complete_unique. Add label completion,
9215 keyword completion and explicit location completion tests.
9216 * lib/completion-support.exp: New file.
9217
9218 2017-11-24 Joel Brobecker <brobecker@adacore.com>
9219
9220 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
9221 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
9222 when hitting an exception catchpoint.
9223
9224 2017-11-22 Yao Qi <yao.qi@linaro.org>
9225
9226 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
9227
9228 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
9229
9230 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
9231 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
9232 * gdb.dwarf2/info-locals-optimized-out.c: New file.
9233
9234 2017-11-22 Yao Qi <yao.qi@linaro.org>
9235
9236 * gdb.base/info-os.exp: Pass pthreads.
9237 * gdb.multi/multi-attach.exp: Likewise.
9238
9239 2017-11-22 Yao Qi <yao.qi@linaro.org>
9240
9241 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
9242 compiler.
9243
9244 2017-11-22 Yao Qi <yao.qi@linaro.org>
9245
9246 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
9247 * gdb.base/break-interp.exp: Likewise.
9248 * gdb.base/jit-attach-pie.exp: Likewise.
9249
9250 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
9251
9252 * gdb.base/float128.c (large128): New variable.
9253 * gdb.base/float128.exp: Add test to print largest __float128 value.
9254
9255 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
9256
9257 * gdb.arch/vsx-regs.exp: Update register content checks.
9258
9259 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
9260
9261 * gdb.arch/ppc-longdouble.exp: New file.
9262 * gdb.arch/ppc-longdouble.c: Likewise.
9263
9264 2017-11-21 Pedro Alves <palves@redhat.com>
9265
9266 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
9267
9268 2017-11-20 Pedro Alves <palves@redhat.com>
9269
9270 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
9271 (long_double_typedef): New typedefs.
9272 Use DEF on double and long double.
9273 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
9274 cases.
9275 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
9276 and 'long_double_ptr_same_size' locals. Use them to decide
9277 whether cast from array/function to float is valid/invalid.
9278
9279 2017-11-17 Tom Tromey <tom@tromey.com>
9280
9281 * gdb.rust/traits.rs: New file.
9282 * gdb.rust/traits.exp: New file.
9283
9284 2017-11-17 Joel Brobecker <brobecker@adacore.com>
9285
9286 * gdb.ada/minsyms: New testcase.
9287
9288 2017-11-16 Pedro Alves <palves@redhat.com>
9289
9290 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
9291 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
9292
9293 2017-11-16 Pedro Alves <palves@redhat.com>
9294
9295 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
9296 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
9297
9298 2017-11-16 Pedro Alves <palves@redhat.com>
9299
9300 * gdb.server/reconnect-ctrl-c.c: New file.
9301 * gdb.server/reconnect-ctrl-c.exp: New file.
9302
9303 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
9304
9305 * gdb.python/py-rbreak.exp: New file.
9306 * gdb.python/py-rbreak.c: New file.
9307 * gdb.python/py-rbreak-func2.c: New file.
9308
9309 2017-11-16 Pedro Alves <palves@redhat.com>
9310
9311 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
9312 pattern.
9313 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
9314 GDB.
9315
9316 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
9317
9318 * gdb.tui/completionn.exp (test_tab_completion): Add space in
9319 regex.
9320
9321 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
9322
9323 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
9324 test names.
9325
9326 2017-11-09 Pedro Alves <palves@redhat.com>
9327
9328 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
9329 factored out from ...
9330 (top level): ... here, and adjusted to avoid expecting beyond the
9331 prompt in a single gdb_test_multiple.
9332
9333 2017-11-09 Pedro Alves <palves@redhat.com>
9334
9335 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
9336 output.
9337 * gdb.server/ext-attach.exp ("kill" test): Likewise.
9338 * gdb.server/ext-restart.exp ("kill" test): Likewise.
9339 * gdb.server/ext-run.exp ("kill" test): Likewise.
9340 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
9341
9342 2017-11-09 Pedro Alves <palves@redhat.com>
9343
9344 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
9345 match till end of line.
9346
9347 2017-11-09 Pedro Alves <palves@redhat.com>
9348
9349 * gdb.base/memattr.exp: Tighten regexes to match the end line.
9350
9351 2017-11-09 Pedro Alves <palves@redhat.com>
9352
9353 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
9354 New procedures, factored out from ...
9355 (top level): ... here, and adjusted to avoid expecting beyond the
9356 prompt in one go.
9357
9358 2017-11-09 Pedro Alves <palves@redhat.com>
9359
9360 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
9361 output. Fix '?' match.
9362
9363 2017-11-08 Joel Brobecker <brobecker@adacore.com>
9364
9365 * gdb.ada/scoped_watch: New testcase.
9366 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
9367 which is actually correct.
9368 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
9369 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
9370
9371 2017-11-08 Pedro Alves <palves@redhat.com>
9372
9373 * gdb.gdb/complaints.exp (test_initial_complaints)
9374 (test_serial_complaints, test_short_complaints): Call
9375 complaint_internal instead of complaint.
9376
9377 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
9378
9379 * gdb.threads/tls-core.c: New file.
9380 * gdb.threads/tls-core.exp: Likewise.
9381
9382 2017-11-08 Pedro Alves <palves@redhat.com>
9383
9384 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
9385 (p Exported_Capitalized): New test.
9386 (p exported_capitalized): New test.
9387
9388 2017-11-07 Pedro Alves <palves@redhat.com>
9389
9390 * gdb.cp/ena-dis-br-range.exp: Add more tests.
9391
9392 2017-11-07 Pedro Alves <palves@redhat.com>
9393
9394 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
9395 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
9396 (disable_invalid, disable_inverted, disable_negative): New
9397 procedures.
9398 ("bad numbers"): New set of tests.
9399
9400 2017-11-07 Pedro Alves <palves@redhat.com>
9401
9402 * gdb.cp/ena-dis-br-range.exp: Add tests.
9403
9404 2017-11-07 Pedro Alves <palves@redhat.com>
9405
9406 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
9407
9408 2017-11-07 Xavier Roirand <roirand@adacore.com>
9409 Pedro Alves <palves@redhat.com>
9410
9411 * gdb.base/ena-dis-br.exp: Add reference to
9412 gdb.cp/ena-dis-br-range.exp.
9413 * gdb.cp/ena-dis-br-range.exp: New file.
9414 * gdb.cp/ena-dis-br-range.cc: New file.
9415
9416 2017-11-06 Pedro Alves <palves@redhat.com>
9417
9418 * gdb.base/attach-non-pgrp-leader.c: New.
9419 * gdb.base/attach-non-pgrp-leader.exp: New.
9420
9421 2017-11-06 Pedro Alves <palves@redhat.com>
9422
9423 * configure.ac: No longer check for termio.h and sgtty.h.
9424 * configure: Regenerate.
9425 * remote-utils.c: Include termios.h instead of gdb_termios.h.
9426 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
9427 Remove termio and sgtty code.
9428
9429 2017-11-03 Yao Qi <yao.qi@linaro.org>
9430
9431 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
9432 in GDB is disabled.
9433
9434 2017-11-03 Yao Qi <yao.qi@linaro.org>
9435
9436 * gdb.python/py-thrhandle.exp: Skip it if python is not
9437 enabled.
9438
9439 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
9440
9441 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
9442 as a breakpoint command.
9443
9444 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
9445
9446 PR python/21213
9447 * gdb.python/py-infthread.exp: Test calling
9448 InferiorThread.inferior () multiple times in a row.
9449
9450 2017-10-27 Keith Seitz <keiths@redhat.com>
9451
9452 * gdb.opt/inline-break.exp (break_info_1): New procedure.
9453 Test "info break" for every inlined function breakpoint.
9454
9455 2017-10-27 Yao Qi <yao.qi@linaro.org>
9456
9457 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
9458
9459 2017-10-26 Patrick Frants <osscontribute@gmail.com>
9460
9461 * gdb.cp/classes.exp (test_static_members): Test printing
9462 Outer::instance.
9463 * gdb.cp/classes.c (struct Inner, struct Outer): New.
9464 (Inner::instance, Outer::instance): New.
9465
9466 2017-10-24 Pedro Alves <palves@redhat.com>
9467
9468 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
9469 extra console" test in two stages.
9470
9471 2017-10-24 Pedro Alves <palves@redhat.com>
9472
9473 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
9474
9475 2017-10-24 Pedro Alves <palves@redhat.com>
9476
9477 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
9478 loop.
9479
9480 2017-10-24 Pedro Alves <palves@redhat.com>
9481
9482 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
9483 $attempt" and "stoppedtry $stoppedtry" test prefixes.
9484
9485 2017-10-24 Pedro Alves <palves@redhat.com>
9486
9487 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
9488 parameter and handle it. Don't output read value in test name.
9489
9490 2017-10-24 Pedro Alves <palves@redhat.com>
9491
9492 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
9493 custom test name.
9494
9495 2017-10-24 Pedro Alves <palves@redhat.com>
9496
9497 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
9498 include the unstable output directory name in the test's name.
9499 (initial_setup_simple) <'set args'>: Use custom test name.
9500
9501 2017-10-24 Pedro Alves <palves@redhat.com>
9502
9503 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
9504 with explicit test name.
9505
9506 2017-10-20 Pedro Alves <palves@redhat.com>
9507
9508 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
9509 'wait -i'. Use gdb_assert and remote_close.
9510
9511 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
9512
9513 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
9514 number from variable rather than hard-coded.
9515
9516 2017-10-19 Pedro Alves <palves@redhat.com>
9517
9518 * gdb.base/long-inferior-output.c: New file.
9519 * gdb.base/long-inferior-output.exp: New file.
9520
9521 2017-11-18 Keith Seitz <keiths@redhat.com>
9522
9523 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
9524 method.
9525 (main): Call it.
9526 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
9527 Add additional user-defined conversion operator tests.
9528
9529 2017-10-17 Pedro Alves <palves@redhat.com>
9530
9531 * boards/native-stdio-gdbserver.exp: Load "local-board".
9532
9533 2017-10-17 Pedro Alves <palves@redhat.com>
9534
9535 * gdb.base/quit-live.c: New file.
9536 * gdb.base/quit-live.exp: New file.
9537
9538 2017-10-16 Keith Seitz <keiths@redhat.com>
9539
9540 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
9541 (class_with_protected_typedef, class_with_private_typedef)
9542 (struct_with_public_typedef, struct_with_protected_typedef)
9543 (struct_with_private_typedef): New classes/structs.
9544 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
9545 typedefs and access specifiers.
9546
9547 2017-10-16 Pedro Alves <palves@redhat.com>
9548 Simon Marchi <simon.marchi@polymtl.ca>
9549
9550 * README (Local vs Remote vs Native): New section.
9551 * boards/local-board.exp: New file, with bits factored out from
9552 ...
9553 * boards/native-extended-gdbserver.exp: ... here. Load
9554 "local-board".
9555 * boards/native-gdbserver.exp: Load "local-board".
9556 (${board}_spawn, ${board}_exec): Delete.
9557 * boards/native-stdio-gdbserver.exp: Most contents factored out to
9558 ...
9559 * boards/stdio-gdbserver-base.exp: ... this new file.
9560 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
9561 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
9562 procedure.
9563 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
9564 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
9565 stdio_gdbserver_command.
9566 (${board}_get_remote_address, ${board}_get_comm_port)
9567 (${board}_download, ${board}_upload): Delete.
9568 (get_target_remote_pipe_cmd): New.
9569
9570 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
9571
9572 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
9573 test_bkpt_deletion, test_bkpt_cond_and_cmds,
9574 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
9575 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
9576 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
9577 remove with_test_prefix.
9578
9579 2017-10-13 Pedro Alves <palves@redhat.com>
9580
9581 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
9582 * gdb.base/annota1.exp: Use it instead of is_remote.
9583 * gdb.base/annota3.exp: Use it instead of is_remote.
9584 * gdb.cp/annota2.exp: Use it instead of is_remote.
9585 * gdb.cp/annota3.exp: Use it instead of is_remote.
9586 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
9587
9588 2017-10-13 Pedro Alves <palves@redhat.com>
9589
9590 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
9591 (test_num_test_vars, run_and_count_vars, find_env)
9592 (test_set_unset_env, test_inherit_env_var): New procedures.
9593 (top level): Use them.
9594
9595 2017-10-13 Pedro Alves <palves@redhat.com>
9596
9597 * lib/selftest-support.exp (selftest_setup): Extend comments, and
9598 also skip on stub-like targets.
9599
9600 2017-10-13 Pedro Alves <palves@redhat.com>
9601
9602 PR gdb/22293
9603 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
9604 (top level): Move some tests to ...
9605 (test_not_found): ... this new procedure.
9606 (top level): Call it.
9607
9608 2017-10-13 Pedro Alves <palves@redhat.com>
9609
9610 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
9611 expect different "info terminal" output if testing with a
9612 non-native target.
9613
9614 2017-10-13 Pedro Alves <palves@redhat.com>
9615 Simon Marchi <simon.marchi@polymtl.ca>
9616
9617 PR python/12966
9618 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
9619
9620 2017-10-13 Pedro Alves <palves@redhat.com>
9621
9622 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
9623 already.
9624
9625 2017-10-13 Pedro Alves <palves@redhat.com>
9626
9627 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
9628 is_remote.
9629
9630 2017-10-13 Pedro Alves <palves@redhat.com>
9631
9632 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
9633 is_remote.
9634
9635 2017-10-13 Pedro Alves <palves@redhat.com>
9636
9637 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
9638 is set.
9639 (corefile_test_attach): Likewise. Check can_spawn_for_attach
9640 instead of is_remote.
9641
9642 2017-10-13 Pedro Alves <palves@redhat.com>
9643
9644 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
9645 (top level): Add comment.
9646
9647 2017-10-13 Pedro Alves <palves@redhat.com>
9648
9649 * gdb.base/remote.exp (top level): Fix comment typo and add
9650 missing return.
9651
9652 2017-10-13 Pedro Alves <palves@redhat.com>
9653 Simon Marchi <simon.marchi@polymtl.ca>
9654
9655 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
9656 calls and add comments. Skip test if use_gdb_stub is set.
9657 (top level): Use "set cwd" command instead of "cd" command.
9658
9659 2017-10-13 Pedro Alves <palves@redhat.com>
9660
9661 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
9662 is_remote target check.
9663
9664 2017-10-13 Pedro Alves <palves@redhat.com>
9665
9666 * gdb.base/scope.exp: Use build_executable + clean_restart +
9667 gdb_file_cmd instead of prepare_for_testing and no longer skip
9668 "before run" tests on is_remote target boards. Update comments.
9669 * boards/native-extended-gdbserver.exp
9670 (extended_gdbserver_load_last_file): New, factored out from ...
9671 (gdb_load): ... this. Move further below and add comment.
9672 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
9673
9674 2017-10-12 Pedro Alves <palves@redhat.com>
9675
9676 * gdb.base/attach.exp: Remove references to gdb64.
9677 * gdb.base/dbx.exp: Remove references to gdb64.
9678
9679 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
9680 Pedro Alves <palves@redhat.com>
9681
9682 * gdb.base/label.exp: Remove is_remote target check.
9683
9684 2017-10-12 Pedro Alves <palves@redhat.com>
9685
9686 * gdb.base/auvx.exp (coredir): Update comment.
9687 (top level) <core_works>: Use "set cwd" command instead of "cd"
9688 command.
9689
9690 2017-10-12 Pedro Alves <palves@redhat.com>
9691 Simon Marchi <simon.marchi@polymtl.ca>
9692
9693 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
9694 target boards.
9695
9696 2017-10-12 Pedro Alves <palves@redhat.com>
9697 Simon Marchi <simon.marchi@polymtl.ca>
9698
9699 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
9700 Instead skip if there's any gdb_protocol set.
9701
9702 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
9703 Pedro Alves <palves@redhat.com>
9704
9705 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
9706
9707 2017-10-12 Pedro Alves <palves@redhat.com>
9708 Simon Marchi <simon.marchi@polymtl.ca>
9709
9710 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
9711 instead of on dejagnu remote boards.
9712
9713 2017-10-12 Pedro Alves <palves@redhat.com>
9714 Simon Marchi <simon.marchi@polymtl.ca>
9715
9716 * gdb.base/inferior-died.exp: Remove is_remote and isnative
9717 checks. Use build_executable + clean_restart instead of
9718 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
9719 of enabling non-stop after starting gdb.
9720
9721 2017-10-12 Pedro Alves <palves@redhat.com>
9722
9723 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
9724 * gdb.threads/non-ldr-exc-2.exp: Ditto.
9725 * gdb.threads/non-ldr-exc-3.exp: Ditto.
9726 * gdb.threads/non-ldr-exc-4.exp: Ditto.
9727
9728 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
9729
9730 * gdb.arch/arc-tdesc-cpu.exp: New file.
9731 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
9732
9733 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
9734
9735 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
9736
9737 2017-10-10 Pedro Alves <palves@redhat.com>
9738
9739 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
9740 expect CLI output.
9741
9742 2017-10-10 Pedro Alves <palves@redhat.com>
9743
9744 * lib/selftest-support.exp (selftest_setup): Update for
9745 captured_command_loop's prototype change.
9746
9747 2017-10-09 Pedro Alves <palves@redhat.com>
9748
9749 Test both arch1=>arch2 and arch2=>arch1.
9750
9751 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
9752 (srcfile2, binfile2, march1, march2): Remove globals. Largely
9753 factored out to...
9754 (append_arch1_options, append_arch2_options, append_arch_options)
9755 (build_executables): New procedures.
9756 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
9757 local.
9758 (top level): Add new 'first_arch' testing axis.
9759
9760 2017-10-09 Pedro Alves <palves@redhat.com>
9761
9762 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
9763 (barrier): New.
9764 (thread_start, all_started): New functions.
9765 (main): Spawn new thread and wait until it is scheduled.
9766 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
9767 option.
9768 (do_test): Add 'selected_thread' parameter. Run to all_started
9769 instead of main. Explicitly set the breakpoint at main. Switch
9770 to the SELECTED_THREAD thread.
9771 (top level): Test handling the exec event with either the main
9772 thread or the second thread selected.
9773
9774 2017-10-09 Pedro Alves <palves@redhat.com>
9775
9776 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
9777 logic. Move STOP marker after the value checks.
9778 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
9779 regexp.
9780
9781 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
9782
9783 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
9784
9785 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
9786
9787 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
9788 integer-to-dfp conversion.
9789 * gdb.base/dfp-test.exp: Likewise.
9790
9791 2017-10-04 Pedro Alves <palves@redhat.com>
9792
9793 * gdb.multi/hangout.c: Include <unistd.h>.
9794 (hangout_loop): New function.
9795 (main): Call alarm. Call hangout_loop in a loop.
9796 * gdb.multi/hello.c: Include <unistd.h>.
9797 (hello_loop): New function.
9798 (main): Call alarm. Call hangout_loop in a loop.
9799 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
9800 inferior with the other selected.
9801
9802 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
9803
9804 * gdb.mi/list-thread-groups-available.exp: New file.
9805 * gdb.mi/list-thread-groups-available.c: New file.
9806
9807 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
9808
9809 * gdb.base/set-cwd.exp: Make it available on
9810 native-extended-gdbserver.
9811
9812 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
9813
9814 * gdb.base/set-cwd.c: New file.
9815 * gdb.base/set-cwd.exp: Likewise.
9816
9817 2017-10-02 Tom Tromey <tom@tromey.com>
9818
9819 PR rust/22236:
9820 * gdb.rust/simple.rs (main): New variable "fslice".
9821 * gdb.rust/simple.exp: Add slice tests. Update string tests.
9822
9823 2017-10-02 Tom Tromey <tom@tromey.com>
9824
9825 * gdb.rust/simple.exp: Test ptype of a slice.
9826
9827 2017-10-02 Tom Tromey <tom@tromey.com>
9828
9829 * gdb.rust/simple.exp: Test index of slice.
9830
9831 2017-09-27 Tom Tromey <tom@tromey.com>
9832
9833 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
9834
9835 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
9836 Pedro Alves <palves@redhat.com>
9837
9838 * gdb.base/compare-sections.exp (get value of read-only section): Read
9839 as unsigned value.
9840 (corrupt read-only section): Likewise and don't set written if patching
9841 failed.
9842
9843 2017-09-21 Kevin Buettner <kevinb@redhat.com>
9844
9845 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
9846 files.
9847
9848 2017-09-20 Pedro Alves <palves@redhat.com>
9849
9850 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
9851 symbol names in gdb's output.
9852 * gdb.cp/overload.exp ("list all overloads"): Likewise.
9853
9854 2017-09-20 Pedro Alves <palves@redhat.com>
9855
9856 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
9857 Rename to ...
9858 (test_list_ambiguous_symbol): ... this and add a symbol name
9859 parameter. Adjust.
9860 (test_list_ambiguous_function): Reimplement on top of
9861 test_list_ambiguous_symbol and also test listing ambiguous
9862 variables.
9863 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
9864 (ambiguous_fun): ... this.
9865 (ambiguous_var): New.
9866 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
9867 (ambiguous_fun): ... this.
9868 (ambiguous_var): New.
9869
9870 2017-09-19 John Baldwin <jhb@FreeBSD.org>
9871
9872 * gdb.base/starti.c: New file.
9873 * gdb.base/starti.exp: New file.
9874 * lib/gdb.exp (gdb_starti_cmd): New procedure.
9875
9876 2017-09-14 Pedro Alves <palves@redhat.com>
9877
9878 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
9879 (top level): Use it instead of runto.
9880
9881 2017-09-11 Tom Tromey <tom@tromey.com>
9882
9883 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
9884
9885 2017-09-11 Tom Tromey <tom@tromey.com>
9886
9887 * gdb.python/py-infthread.exp: Add tests for new_thread event.
9888 * gdb.python/py-inferior.exp: Add tests for new inferior events.
9889
9890 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
9891
9892 * gdb.fortran/printing-types.exp: New file.
9893 * gdb.fortran/printing-types.exp: New file.
9894
9895 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
9896
9897 * gdb.fortran/vla-ptype.exp: Fix typos.
9898 * gdb.fortran/vla-value.exp: Same.
9899
9900 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
9901
9902 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
9903 * gdb.mi/mi-var-child-f.exp: Likewise.
9904 * gdb.mi/mi-vla-fortran.exp: Likewise.
9905
9906 2017-09-08 Frank Penczek <frank.penczek@intel.com>
9907 Christoph Weinmann <christoph.t.weinmann@intel.com>
9908 Bernhard Heckel <bernhard.heckel@intel.com>
9909
9910 * gdb.fortran/ptr-indentation.f90: New file.
9911 * gdb.fortran/ptr-indentation.exp: New file.
9912
9913 2017-09-05 Tom Tromey <tom@tromey.com>
9914
9915 PR gdb/22010:
9916 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
9917
9918 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
9919
9920 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
9921
9922 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9923
9924 * gdb.threads/tls-nodebug-pie.c: New file.
9925 * gdb.threads/tls-nodebug-pie.exp: New file.
9926
9927 2017-09-05 Tom Tromey <tom@tromey.com>
9928
9929 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
9930 for rust.
9931
9932 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
9933
9934 * gdb.multi/multi-arch-exec.exp: Test with different
9935 "follow-exec-mode" settings.
9936 (do_test): New procedure.
9937
9938 2017-09-04 Pedro Alves <palves@redhat.com>
9939
9940 * gdb.base/func-static.c (S::method const, S::method volatile)
9941 (S::method volatile const): New methods.
9942 (c_s, v_s, cv_s): New instances.
9943 (main): Call method() on them.
9944 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
9945 (cannot_resolve): New procedure.
9946 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
9947 print-quote-unquoted columns.
9948 (do_test): Test printing each scope too.
9949
9950 2017-09-04 Pedro Alves <palves@redhat.com>
9951
9952 * gdb.base/local-static.exp: Also test with
9953 class::method::variable wholly quoted.
9954 * gdb.cp/m-static.exp (class::method::variable): Remove test.
9955
9956 2017-09-04 Pedro Alves <palves@redhat.com>
9957
9958 * gdb.base/local-static.c: New.
9959 * gdb.base/local-static.cc: New.
9960 * gdb.base/local-static.exp: New.
9961
9962 2017-09-04 Pedro Alves <palves@redhat.com>
9963
9964 * gdb.asm/asm-source.exp: Add casts to int.
9965 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
9966 (dataglobal64_1, dataglobal64_2): New globals.
9967 * gdb.base/nodebug.exp: Test different expressions involving the
9968 new globals, with print, whatis and ptype. Add casts to int.
9969 * gdb.base/solib-display.exp: Add casts to int.
9970 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
9971 * gdb.cp/m-static.exp: Add cast to int.
9972 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
9973 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
9974 tls variable with no debug info without a cast. Test with a cast
9975 to int too.
9976 * gdb.trace/entry-values.exp: Add casts.
9977
9978 2017-09-04 Pedro Alves <palves@redhat.com>
9979
9980 * gdb.base/nodebug.exp: Test that ptype's error about functions
9981 with unknown return type includes the function name too.
9982
9983 2017-09-04 Pedro Alves <palves@redhat.com>
9984
9985 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
9986 return type of munmap in infcall.
9987 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
9988 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
9989 type of ftell in infcall.
9990 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
9991 type of getpid in infcall.
9992 * gdb.base/infcall-exec.exp: Cast return type of execlp in
9993 infcall.
9994 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
9995 Bail on failure to extract the pid.
9996 * gdb.base/nodebug.c: #include <stdint.h>.
9997 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
9998 New functions.
9999 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
10000 Change expected output of print/whatis/ptype with functions with
10001 no debug info. Test all supported languages. Call
10002 test_call_promotion.
10003 * gdb.compile/compile.exp: Adjust expected output to expect
10004 warning.
10005 * gdb.threads/siginfo-threads.exp: Likewise.
10006
10007 2017-09-04 Pedro Alves <palves@redhat.com>
10008
10009 * gdb.base/callfuncs.exp (do_function_calls): New parameter
10010 "prototypes". Test calling float functions via prototyped and
10011 unprototyped function pointers.
10012 (perform_all_tests): New parameter "prototypes". Pass it down.
10013 (top level): Pass down "prototypes" parameter to
10014 perform_all_tests.
10015
10016 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10017
10018 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
10019 Test with nested loops.
10020
10021 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10022
10023 * gdb.base/commands.exp: Call the new procedures.
10024 (loop_break_test, loop_continue_test): New procedures.
10025
10026 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10027
10028 * gdb.base/commands.exp: Call new procedure.
10029 (define_if_without_arg_test): New procedure.
10030
10031 2017-09-04 Pedro Alves <palves@redhat.com>
10032
10033 * gdb.base/list-ambiguous.exp: New file.
10034 * gdb.base/list-ambiguous0.c: New file.
10035 * gdb.base/list-ambiguous1.c: New file.
10036 * gdb.base/list.exp (test_list_range): Adjust expected output.
10037
10038 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
10039
10040 * gdb.base/share-env-with-gdbserver.c: New file.
10041 * gdb.base/share-env-with-gdbserver.exp: Likewise.
10042
10043 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
10044
10045 * gdb.base/commands.exp (gdbvar_simple_if_test,
10046 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
10047 progvar_simple_if_test, progvar_simple_while_test,
10048 progvar_complex_if_while_test, user_defined_command_test,
10049 user_defined_command_args_eval,
10050 user_defined_command_args_stack_test,
10051 user_defined_command_manyargs_test, bp_deleted_in_command_test,
10052 temporary_breakpoint_commands,
10053 gdb_test_no_prompt, redefine_hook_test,
10054 redefine_backtrace_test): Remove "global gdb_prompt".
10055
10056 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
10057
10058 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
10059 New proc, call it from toplevel.
10060
10061 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
10062
10063 PR remote/21852
10064 * gdb.server/normal.c: New file, copied from gdb.base.
10065 * gdb.server/run-without-local-binary.exp: New file.
10066
10067 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
10068
10069 * gdb.arch/sparc64-adi.exp: New file.
10070 * gdb.arch/sparc64-adi.c: New file.
10071
10072 2017-08-22 Pedro Alves <palves@redhat.com>
10073
10074 * gdb.cp/overload.exp (line_range_pattern): New procedure.
10075 (top level): Add "list all overloads" tests.
10076
10077 2017-08-22 Tom Tromey <tom@tromey.com>
10078
10079 * gdb.gdb/xfullpath.exp: Remove.
10080
10081 2017-08-21 Pedro Alves <palves@redhat.com>
10082
10083 PR gdb/19487
10084 * gdb.base/symbol-alias.c: New.
10085 * gdb.base/symbol-alias2.c: New.
10086 * gdb.base/symbol-alias.exp: New.
10087
10088 2017-08-21 Pedro Alves <palves@redhat.com>
10089
10090 * gdb.base/dfp-test.c
10091 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
10092 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
10093 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
10094 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
10095 * gdb.base/whatis-ptype-typedefs.c: New.
10096 * gdb.base/whatis-ptype-typedefs.exp: New.
10097 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
10098 (an_int, an_int_type, an_int_type2): New globals.
10099 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
10100 involving typedefs and cast expressions.
10101 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
10102 (lookup_typedefs_function): New.
10103 (typedefs_pretty_printers_dict): New.
10104 (top level): Register lookup_typedefs_function in
10105 gdb.pretty_printers.
10106
10107 2017-08-18 Yao Qi <yao.qi@linaro.org>
10108
10109 * gdb.server/unittest.exp: New.
10110
10111 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
10112
10113 PR gdb/21954
10114 * gdb.base/environ.exp: Add test to check if 'unset environment'
10115 works.
10116
10117 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10118
10119 * lib/gdb.exp (universal_compile_options): New caching proc.
10120 (gdb_compile): Suppress GCC's coloring of messages.
10121
10122 2017-08-14 Tom Tromey <tom@tromey.com>
10123
10124 PR gdb/21675:
10125 * gdb.base/printcmds.exp (test_radices): New function.
10126 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
10127 * gdb.base/sizeof.exp (check_valueof): Use p/d.
10128 * lib/gdb.exp (get_integer_valueof): Use p/d.
10129
10130 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
10131
10132 * lib/gdb.exp (get_valueof): Don't capture end-of-line
10133 characters.
10134
10135 2017-08-05 Tom Tromey <tom@tromey.com>
10136
10137 * gdb.rust/simple.exp: Allow String to appear in a different
10138 namespace.
10139
10140 2017-07-26 Yao Qi <yao.qi@linaro.org>
10141
10142 * gdb.gdb/unittest.exp: Invoke command
10143 "maintenance check xml-descriptions".
10144
10145 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10146
10147 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
10148 calling context.
10149 (hex128): Drop erroneous calculation of parameters.
10150
10151 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
10152
10153 * gdb.python/py-unwind.exp: Disable stack protection when
10154 building test file.
10155
10156 2017-07-20 Pedro Alves <palves@redhat.com>
10157
10158 * gdb.base/default.exp (set language): Adjust expected output.
10159
10160 2017-07-20 Pedro Alves <palves@redhat.com>
10161
10162 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
10163 (test_minsym): ... this, and make static.
10164 (get_pck__foo__bar__minsym): Rename to ...
10165 (get_test_minsym): ... this.
10166 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
10167 symbol names and comments.
10168 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
10169 (get_test_minsym): ... this.
10170 (pck__foo__bar__minsym__2): Rename to ...
10171 (test_minsym): ... this.
10172 (main): Adjust.
10173
10174 2017-07-17 Pedro Alves <palves@redhat.com>
10175
10176 * gdb.base/completion.exp: Adjust expected output.
10177 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
10178 the completer works.
10179
10180 2017-07-17 Pedro Alves <palves@redhat.com>
10181
10182 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
10183
10184 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
10185
10186 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
10187
10188 2017-07-14 Tom Tromey <tom@tromey.com>
10189
10190 PR rust/21764:
10191 * gdb.rust/simple.exp: Add tests.
10192
10193 2017-07-14 Tom Tromey <tom@tromey.com>
10194
10195 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
10196
10197 2017-07-14 Pedro Alves <palves@redhat.com>
10198
10199 * gdb.linespec/base/one/thefile.cc (z1): New function.
10200 * gdb.linespec/base/two/thefile.cc (z2): New function.
10201 * gdb.linespec/linespec.exp: Add tests.
10202
10203 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
10204
10205 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
10206 to mi_create_breakpoint.
10207
10208 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
10209
10210 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
10211 mi_create_breakpoint.
10212
10213 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
10214
10215 * gdb.dlang/demangle.exp: Update for demangling changes.
10216
10217 2017-07-09 Tom Tromey <tom@tromey.com>
10218
10219 * gdb.dwarf2/shortpiece.exp: New file.
10220
10221 2017-07-06 David Blaikie <dblaikie@gmail.com>
10222
10223 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
10224 built from fissiont-multi-cu{1,2}.c.
10225 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
10226 except putting 'main' and 'func' in separate CUs in the same DWO file.
10227 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
10228 test.
10229 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
10230 test.
10231
10232 2017-07-06 Pedro Alves <palves@redhat.com>
10233
10234 * gdb.python/py-unwind.exp: Test flushregs.
10235
10236 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
10237
10238 PR cli/21688
10239 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
10240 tests for alias commands and trailing whitespace.
10241
10242 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
10243
10244 PR cli/21688
10245 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
10246 procedure. Call it.
10247
10248 2017-06-29 Pedro Alves <palves@redhat.com>
10249
10250 * gdb.base/printcmds.exp: Add tests.
10251
10252 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
10253
10254 PR gdb/21337
10255 * gdb.base/reread-readsym.exp: New file.
10256 * gdb.base/reread-readsym.c: New file.
10257
10258 2017-06-21 Kevin Buettner <kevinb@redhat.com>
10259
10260 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
10261 subpattern.
10262
10263 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
10264
10265 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
10266 extended mnemonic.
10267 * gdb.arch/powerpc-power9.s: Likewise.
10268
10269 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10270
10271 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
10272 on 32-bit x86 targets. Exploit is_*_target macros where
10273 appropriate.
10274
10275 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10276
10277 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
10278 register pieces.
10279
10280 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10281
10282 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
10283 located in one or more DWARF pieces.
10284
10285 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10286
10287 * lib/gdb.exp (get_endianness): New proc.
10288 * gdb.arch/aarch64-fp.exp: Use it.
10289 * gdb.arch/altivec-regs.exp: Likewise.
10290 * gdb.arch/e500-regs.exp: Likewise.
10291 * gdb.arch/vsx-regs.exp: Likewise.
10292 * gdb.base/dump.exp: Likewise.
10293 * gdb.base/funcargs.exp: Likewise.
10294 * gdb.base/gnu_vector.exp: Likewise.
10295 * gdb.dwarf2/formdata16.exp: Likewise.
10296 * gdb.dwarf2/implptrpiece.exp: Likewise.
10297 * gdb.dwarf2/nonvar-access.exp: Likewise.
10298 * gdb.python/py-inferior.exp: Likewise.
10299 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
10300
10301 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10302
10303 PR gdb/21226
10304 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
10305 stack value pieces are taken from the LSB end.
10306
10307 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10308
10309 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
10310 variable at nonzero offset.
10311
10312 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10313
10314 * gdb.dwarf2/var-access.c: New file.
10315 * gdb.dwarf2/var-access.exp: New test.
10316 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
10317
10318 2017-06-12 Tom Tromey <tom@tromey.com>
10319
10320 * gdb.dwarf2/formdata16.exp: Add tests.
10321
10322 2017-06-12 Tom Tromey <tom@tromey.com>
10323
10324 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
10325
10326 2017-06-12 Tom Tromey <tom@tromey.com>
10327
10328 PR exp/16225:
10329 * gdb.reverse/i386-sse-reverse.exp: Update tests.
10330 * gdb.arch/vsx-regs.exp: Update tests.
10331 * gdb.arch/s390-vregs.exp (hex128): New proc.
10332 Update test.
10333 * gdb.arch/altivec-regs.exp: Update tests.
10334
10335 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
10336
10337 * gdb.base/startup-with-shell.c: New file.
10338 * gdb.base/startup-with-shell.exp: Likewise.
10339
10340 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
10341
10342 * gdb.server/non-existing-program.exp: Update regex in order to
10343 reflect the fact that gdbserver is now using fork_inferior (with a
10344 shell) to startup the inferior.
10345
10346 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
10347
10348 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
10349 support function calls from GDB.
10350
10351 2017-05-21 Tom Tromey <tom@tromey.com>
10352
10353 PR rust/21466:
10354 * gdb.rust/unsized.exp: New file.
10355 * gdb.rust/unsized.rs: New file.
10356
10357 2017-05-19 Tom Tromey <tom@tromey.com>
10358
10359 PR rust/21484:
10360 * gdb.rust/watch.exp: New file.
10361 * gdb.rust/watch.rs: New file.
10362
10363 2017-05-18 Tom Tromey <tom@tromey.com>
10364
10365 * gdb.rust/simple.exp: Allow Box to be qualified.
10366
10367 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
10368
10369 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
10370
10371 2017-05-18 Pedro Alves <palves@redhat.com>
10372
10373 * gdb.base/fileio.c (test_write, test_read, test_close)
10374 (test_fstat): Don't print 'ret' in the fail path.
10375
10376 2017-05-18 Pedro Alves <palves@redhat.com>
10377
10378 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
10379 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
10380 (test_system, test_rename, test_unlink, test_time): Change
10381 prototypes.
10382 * gdb.base/fileio.exp (stop_msg): Adjust.
10383
10384 2017-05-18 Pedro Alves <palves@redhat.com>
10385
10386 * gdb.base/fileio.c (null_str): New global.
10387 (test_stat): Use it.
10388 * gdb.base/fileio.exp: Remove nowarnings.
10389
10390 2017-05-17 Yao Qi <yao.qi@linaro.org>
10391
10392 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
10393
10394 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
10395
10396 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
10397 argument command.
10398 (top-level): Invoke test_set_inferior_tty.
10399
10400 2017-05-04 Pedro Alves <palves@redhat.com>
10401
10402 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
10403 Add parens to print call for Python 3.
10404
10405 2017-05-03 Keith Seitz <keiths@redhat.com>
10406
10407 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
10408 (main): Call it.
10409
10410 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10411
10412 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
10413 to prev and next.
10414
10415 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10416
10417 * gdb.python/py-record-btrace.exp: Remove test for
10418 gdb.BtraceInstruction.error.
10419
10420 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10421
10422 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
10423
10424 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10425
10426 * gdb.python/py-record-btrace-threads.c: New file.
10427 * gdb.python/py-record-btrace-threads.exp: New file.
10428
10429 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
10430
10431 PR testsuite/8595
10432 * gdb.base/environ.exp: Make test available in all architectures.
10433 Move bits related to "info program" testing to
10434 gdb.base/info-program.exp. Rewrite tests to use the two new
10435 procedures mentione below.
10436 (test_set_show_env_var) New procedure.
10437 (test_set_show_env_var_equal): Likewise.
10438 * gdb.base/info-program.exp: New file.
10439
10440 2017-04-27 Keith Seitz <keiths@redhat.com>
10441
10442 * gdb.cp/oranking.cc (test15): New function.
10443 (main): Call test15 and declare additional variables for testing.
10444 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
10445 "p foo101('abc')" tests.
10446 Add tests for cv qualifier overloads.
10447 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
10448 "lvalue reference overload" test.
10449 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
10450 "print value of f1 on Child&& in f2" test.
10451
10452 2017-04-19 Pedro Alves <palves@redhat.com>
10453
10454 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
10455 procedure.
10456 (top level): Call it.
10457 * lib/gdb.exp (gdb_define_cmd): New procedure.
10458
10459 2017-04-12 Pedro Alves <palves@redhat.com>
10460
10461 PR gdb/21323
10462 * gdb.cp/wide_char_types.c: Include <wchar.h>.
10463 (wchar): New global.
10464 * gdb.cp/wide_char_types.exp (wide_char_types_program)
10465 (do_test_wide_char, wide_char_types_no_program, top level): Add
10466 wchar_t testing.
10467
10468 2017-04-12 Pedro Alves <palves@redhat.com>
10469
10470 PR c++/21323
10471 * gdb.cp/wide_char_types.c: New file.
10472 * gdb.cp/wide_char_types.exp: New file.
10473
10474 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
10475
10476 PR gdb/21352
10477 * gdb.trace/tsv.exp: Add test for "tsave -r".
10478
10479 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
10480
10481 * gdb.dlang/watch-loc.c: New file.
10482 * gdb.dlang/watch-loc.exp: New file.
10483
10484 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10485
10486 * gdb.python/py-section-script.exp (sepdebug): New testcases.
10487
10488 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
10489
10490 * gdb.arch/arc-analyze-prologue.S: New file.
10491 * gdb.arch/arc-analyze-prologue.exp: Likewise.
10492
10493 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
10494
10495 * gdb.arch/arc-decode-insn.S: New file.
10496 * gdb.arch/arc-decode-insn.exp: Likewise.
10497
10498 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
10499
10500 PR tdep/20928
10501 * gdb.arch/sparc64-regs.exp: New file.
10502 * gdb.arch/sparc64-regs.S: Likewise.
10503
10504 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
10505
10506 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
10507 and memory view on Python 3.
10508
10509 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
10510 Keith Seitz <keiths@redhat.com>
10511
10512 PR gdb/14441
10513 * gdb.cp/demangle.exp: Add rvalue reference tests.
10514 * gdb.cp/rvalue-ref-casts.cc: New file.
10515 * gdb.cp/rvalue-ref-casts.exp: New file.
10516 * gdb.cp/rvalue-ref-overload.cc: New file.
10517 * gdb.cp/rvalue-ref-overload.exp: New file.
10518 * gdb.cp/rvalue-ref-params.cc: New file.
10519 * gdb.cp/rvalue-ref-params.exp: New file.
10520 * gdb.cp/rvalue-ref-sizeof.cc: New file.
10521 * gdb.cp/rvalue-ref-sizeof.exp: New file.
10522 * gdb.cp/rvalue-ref-types.cc: New file.
10523 * gdb.cp/rvalue-ref-types.exp: New file.
10524 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
10525 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
10526
10527 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
10528
10529 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
10530 New procedure.
10531
10532 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
10533
10534 * lib/mi-support.exp (mi_gdb_test): Add additional message
10535 for unexpected output.
10536
10537 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10538
10539 * gdb.base/examine-backward.c (Barrier): New character array
10540 constant, to ensure that TestStrings is preceded by a string
10541 terminator.
10542
10543 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10544
10545 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
10546 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
10547 and implicit pointer into such a location.
10548
10549 2017-03-16 Doug Evans <dje@google.com>
10550
10551 * gdb.python/py-lazy-string (pointer): Really add new typedef.
10552
10553 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
10554
10555 * gdb.cp/m-static.exp: Fix expectation for prototype of
10556 test5.single_constructor and single_constructor::single_constructor.
10557
10558 2017-03-16 Doug Evans <dje@google.com>
10559
10560 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
10561 * gdb.guile/scm-lazy-string.c: New file.
10562 * gdb.guile/scm-value.exp: Move lazy string tests to ...
10563 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
10564 for pointer, array, typedef lazy strings.
10565
10566 2017-03-16 Doug Evans <dje@google.com>
10567
10568 PR python/17728, python/18439, python/18779
10569 * gdb.python/py-value.c (main) Delete locals sptr, sn.
10570 * gdb.python/py-lazy-string.c (pointer): New typedef.
10571 (main): New locals ptr, array, typedef_ptr.
10572 * gdb.python/py-value.exp: Move lazy string tests to ...
10573 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
10574 array, typedef lazy strings.
10575
10576 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
10577
10578 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
10579 Add optional 'test' parameter.
10580
10581 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
10582
10583 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
10584 Skip for versions of DejaGnu < 1.5.
10585
10586 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
10587
10588 * lib/gdb.exp (dejagnu_version): New proc.
10589 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10590 Use dejagnu_version.
10591
10592 2017-03-10 Keith Seitz <keiths@redhat.com>
10593
10594 PR c++/8128
10595 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
10596 type from destructor regexps.
10597 Add a branch which actually passes the test.
10598 Adjust "ptype t5i" test names.
10599
10600 2017-03-08 Pedro Alves <palves@redhat.com>
10601
10602 * gdb.base/step-over-exit.exp: Add explicit test message.
10603
10604 2017-03-08 Pedro Alves <palves@redhat.com>
10605
10606 PR gdb/18360
10607 * gdb.threads/interrupt-while-step-over.c: New file.
10608 * gdb.threads/interrupt-while-step-over.exp: New file.
10609
10610 2017-03-08 Pedro Alves <palves@redhat.com>
10611
10612 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
10613 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
10614
10615 2017-03-08 Pedro Alves <palves@redhat.com>
10616
10617 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
10618 PKRU as not supported as a PASS.
10619
10620 2017-03-08 Pedro Alves <palves@redhat.com>
10621
10622 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
10623 prefix instead of $binfile1/$binfile2.
10624 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
10625 in test message.
10626 * gdb.python/py-completion.exp: Use "load python file" as test
10627 messages instead of unstable path names.
10628
10629 2017-03-08 Pedro Alves <palves@redhat.com>
10630 Jan Kratochvil <jan.kratochvil@redhat.com>
10631
10632 PR cli/21218
10633 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
10634 New proc.
10635 (top level): Call it.
10636
10637 2017-03-08 Pedro Alves <palves@redhat.com>
10638
10639 PR tui/21216
10640 * gdb.tui/tui-nl-filtered-output.exp: New file.
10641
10642 2017-03-08 Pedro Alves <palves@redhat.com>
10643
10644 * gdb.base/completion.exp: Move TUI completion tests to ...
10645 * gdb.tui/completion.exp: ... this new file.
10646
10647 2017-03-08 Pedro Alves <palves@redhat.com>
10648
10649 * gdb.base/tui-disasm-long-lines.c,
10650 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
10651 gdb.base/tui-layout.exp: Move to ...
10652 * gdb.tui/: ... this new directory.
10653
10654 2017-03-07 Pedro Alves <palves@redhat.com>
10655
10656 * gdb.base/tui-layout.c: New file.
10657 * gdb.base/tui-layout.exp: New file.
10658
10659 2017-03-07 Pedro Alves <palves@redhat.com>
10660
10661 * gdb.base/tui-layout.c: Rename to ...
10662 * gdb.base/tui-disasm-long-lines.c: ... this.
10663 * gdb.base/tui-layout.exp: Rename to ...
10664 * gdb.base/tui-disasm-long-lines.exp: ... this.
10665
10666 2017-03-07 Pedro Alves <palves@redhat.com>
10667
10668 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
10669
10670 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
10671
10672 * i386-mpx-call.c: New file.
10673 * i386-mpx-call.exp: New file.
10674
10675 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
10676
10677 * gdb.arch/powerpc-power.exp: Delete test.
10678 * gdb.arch/powerpc-power.s: Likewise.
10679 * gdb.disasm/disassembler-options.exp: New test.
10680 * gdb.arch/powerpc-altivec.exp: Likewise.
10681 * gdb.arch/powerpc-altivec.s: Likewise.
10682 * gdb.arch/powerpc-altivec2.exp: Likewise.
10683 * gdb.arch/powerpc-altivec2.s: Likewise.
10684 * gdb.arch/powerpc-altivec3.exp: Likewise.
10685 * gdb.arch/powerpc-altivec3.s: Likewise.
10686 * gdb.arch/powerpc-power7.exp: Likewise.
10687 * gdb.arch/powerpc-power7.s: Likewise.
10688 * gdb.arch/powerpc-power8.exp: Likewise.
10689 * gdb.arch/powerpc-power8.s: Likewise.
10690 * gdb.arch/powerpc-power9.exp: Likewise.
10691 * gdb.arch/powerpc-power9.s: Likewise.
10692 * gdb.arch/powerpc-vsx.exp: Likewise.
10693 * gdb.arch/powerpc-vsx.s: Likewise.
10694 * gdb.arch/powerpc-vsx2.exp: Likewise.
10695 * gdb.arch/powerpc-vsx2.s: Likewise.
10696 * gdb.arch/powerpc-vsx3.exp: Likewise.
10697 * gdb.arch/powerpc-vsx3.s: Likewise.
10698 * gdb.arch/arm-disassembler-options.exp: Likewise.
10699 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
10700 * gdb.arch/s390-disassembler-options.exp: Likewise.
10701
10702 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
10703
10704 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
10705 (check_supported_features): ... this. Changed return type to void.
10706 (supports_rdseed): New static global.
10707 (rdseed): Check supports_rdseed.
10708 (initialize): Call check_supported_features.
10709
10710 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10711
10712 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
10713 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
10714 and lqarx/stqcx.
10715 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
10716 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
10717
10718 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10719
10720 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
10721 uppercase.
10722
10723 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10724
10725 * gdb.dwarf2/formdata16.c: New file.
10726 * gdb.dwarf2/formdata16.exp: New file.
10727 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
10728
10729 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10730
10731 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
10732 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
10733 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
10734 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
10735 DW_AT_GNU_*.
10736
10737 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10738
10739 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
10740
10741 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
10742
10743 PR gdb/21164
10744 * gdb.base/maint.exp: Add testcases for when the commands do
10745 not have arguments.
10746
10747 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
10748
10749 * gdb.cp/chained-calls.exp: Use p instead of P.
10750
10751 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
10752
10753 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
10754 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
10755
10756 2017-02-14 Tom Tromey <tom@tromey.com>
10757
10758 PR python/13598:
10759 * gdb.python/py-events.exp: Add before_prompt event tests.
10760
10761 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10762
10763 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
10764
10765 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
10766
10767 * gdb.linespec/explicit.c (my_unique_function_name): New function.
10768 (main): Call my_unique_function_name.
10769 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
10770 completion of patterns with a single match.
10771 Add missing -re switches to gdb_test_multiple calls.
10772
10773 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
10774
10775 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
10776 return if core file is not recognized.
10777
10778 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
10779
10780 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
10781 and extra UIs.
10782
10783 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
10784
10785 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
10786 proc_with_prefix.
10787
10788 2017-02-10 Tom Tromey <tom@tromey.com>
10789
10790 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
10791
10792 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
10793
10794 PR gdb/21122
10795 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
10796
10797 2017-02-08 Jerome Guitton <guitton@adacore.com>
10798
10799 * gdb.base/define.exp: Add test for command abbreviations
10800 in define.
10801
10802 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
10803
10804 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
10805 * gdb.reverse/insn-reverse-x86.c: New file.
10806
10807 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
10808
10809 PR tdep/20936
10810 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
10811
10812 2017-02-03 Tom Tromey <tom@tromey.com>
10813
10814 PR rust/21097:
10815 * gdb.rust/simple.exp: Add new tests.
10816
10817 2017-02-02 Pedro Alves <palves@redhat.com>
10818
10819 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
10820 tests.
10821
10822 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10823
10824 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
10825 taking a 2-byte value out of a 4-byte DWARF implicit value on
10826 big-endian targets.
10827 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
10828 logic. Add test cases for DW_OP_implicit.
10829
10830 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10831
10832 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
10833
10834 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10835
10836 * gdb.btrace/enable.exp: Call gdb_exit before
10837 skip_gdbserver_tests.
10838
10839 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10840
10841 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
10842 GDBFLAGS.
10843
10844 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10845
10846 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
10847 the test is skipped.
10848 * gdb.btrace/data.exp: Likewise.
10849 * gdb.btrace/delta.exp: Likewise.
10850 * gdb.btrace/dlopen.exp: Likewise.
10851 * gdb.btrace/enable-running.exp: Likewise.
10852 * gdb.btrace/enable.exp: Likewise.
10853 * gdb.btrace/exception.exp: Likewise.
10854 * gdb.btrace/function_call_history.exp: Likewise.
10855 * gdb.btrace/gcore.exp: Likewise.
10856 * gdb.btrace/instruction_history.exp: Likewise.
10857 * gdb.btrace/multi-thread-step.exp: Likewise.
10858 * gdb.btrace/nohist.exp: Likewise.
10859 * gdb.btrace/non-stop.exp: Likewise.
10860 * gdb.btrace/reconnect.exp: Likewise.
10861 * gdb.btrace/record_goto-step.exp: Likewise.
10862 * gdb.btrace/record_goto.exp: Likewise.
10863 * gdb.btrace/rn-dl-bind.exp: Likewise.
10864 * gdb.btrace/segv.exp: Likewise.
10865 * gdb.btrace/step.exp: Likewise.
10866 * gdb.btrace/stepi.exp: Likewise.
10867 * gdb.btrace/tailcall-only.exp: Likewise.
10868 * gdb.btrace/tailcall.exp: Likewise.
10869 * gdb.btrace/tsx.exp: Likewise.
10870 * gdb.btrace/unknown_functions.exp: Likewise.
10871 * gdb.btrace/vdso.exp: Likewise.
10872
10873 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10874
10875 * gdb.btrace/enable-running.c: New.
10876 * gdb.btrace/enable-running.exp: New.
10877
10878 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
10879
10880 * gdb.arch/amd64-gs_base.c: New file.
10881 * gdb.arch/amd64-gs_base.exp: New file.
10882
10883 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
10884
10885 * lib/memory.exp: Remove spurious empty newlines.
10886
10887 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
10888
10889 * gdb.python/py-bad-printers.exp: Load python file using "source".
10890 * gdb.python/py-events.exp: Likewise.
10891 * gdb.python/py-evsignal.exp: Likewise.
10892 * gdb.python/py-evthreads.exp: Likewise.
10893 * gdb.python/py-frame-args.exp: Likewise.
10894 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
10895 * gdb.python/py-framefilter-mi.exp: Likewise.
10896 * gdb.python/py-framefilter.exp: Likewise.
10897 * gdb.python/py-mi.exp: Likewise.
10898 * gdb.python/py-pp-maint.exp: Likewise.
10899 * gdb.python/py-pp-registration.exp: Likewise.
10900 * gdb.python/py-prettyprint.exp: Likewise.
10901 (run_lang_tests): Likewise.
10902 * gdb.python/py-typeprint.exp: Likewise.
10903
10904 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
10905
10906 * lib/memory.exp: New file.
10907 * lib/gdb.exp: Load memory.exp.
10908 * gdb.base/memattr.exp (delete_memory): Move proc to
10909 lib/memory.exp and rename to delete_memory_regions.
10910 Replace delete_memory with delete_memory_regions.
10911 Cleanup memory regions before tests.
10912 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
10913 before tests.
10914
10915 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
10916
10917 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
10918 files.
10919 (initialize): New function conditionally defined.
10920 (testcases): Move within conditional block.
10921 (main): Call initialize.
10922 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
10923 of gdb.reverse/insn-reverse.c.
10924 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
10925 gdb.reverse/insn-reverse.c.
10926
10927 2017-01-26 Yao Qi <yao.qi@linaro.org>
10928
10929 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
10930 disassemble on address 0.
10931
10932 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
10933 Yao Qi <yao.qi@linaro.org>
10934
10935 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
10936 * gdb.dwarf2/implptr-64bit.S: Remove.
10937 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
10938 variables in caller's context. Add DW_OP_implicit_value.
10939
10940 2017-01-25 Yao Qi <yao.qi@linaro.org>
10941
10942 * lib/dwarf.exp (Dwarf::_location): Handle
10943 DW_OP_GNU_implicit_pointer with proper size.
10944
10945 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
10946
10947 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
10948 and add untested calls.
10949
10950 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
10951
10952 * gdb.python/python.exp: Check line number against what GDB thinks
10953 the line number is for func1.
10954
10955 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
10956
10957 * gdb.dlang/debug-expr.exp: New file.
10958
10959 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
10960
10961 Fix test names for the following files:
10962
10963 * gdb.ada/exec_changed.exp
10964 * gdb.ada/info_types.exp
10965 * gdb.arch/aarch64-atomic-inst.exp
10966 * gdb.arch/aarch64-fp.exp
10967 * gdb.arch/altivec-abi.exp
10968 * gdb.arch/altivec-regs.exp
10969 * gdb.arch/amd64-byte.exp
10970 * gdb.arch/amd64-disp-step.exp
10971 * gdb.arch/amd64-dword.exp
10972 * gdb.arch/amd64-entry-value-inline.exp
10973 * gdb.arch/amd64-entry-value-param.exp
10974 * gdb.arch/amd64-entry-value-paramref.exp
10975 * gdb.arch/amd64-entry-value.exp
10976 * gdb.arch/amd64-i386-address.exp
10977 * gdb.arch/amd64-invalid-stack-middle.exp
10978 * gdb.arch/amd64-invalid-stack-top.exp
10979 * gdb.arch/amd64-optimout-repeat.exp
10980 * gdb.arch/amd64-prologue-skip.exp
10981 * gdb.arch/amd64-prologue-xmm.exp
10982 * gdb.arch/amd64-stap-special-operands.exp
10983 * gdb.arch/amd64-stap-wrong-subexp.exp
10984 * gdb.arch/amd64-tailcall-cxx.exp
10985 * gdb.arch/amd64-tailcall-noret.exp
10986 * gdb.arch/amd64-tailcall-ret.exp
10987 * gdb.arch/amd64-tailcall-self.exp
10988 * gdb.arch/amd64-word.exp
10989 * gdb.arch/arm-bl-branch-dest.exp
10990 * gdb.arch/arm-disp-step.exp
10991 * gdb.arch/arm-neon.exp
10992 * gdb.arch/arm-single-step-kernel-helper.exp
10993 * gdb.arch/avr-flash-qualifier.exp
10994 * gdb.arch/disp-step-insn-reloc.exp
10995 * gdb.arch/e500-abi.exp
10996 * gdb.arch/e500-regs.exp
10997 * gdb.arch/ftrace-insn-reloc.exp
10998 * gdb.arch/i386-avx512.exp
10999 * gdb.arch/i386-bp_permanent.exp
11000 * gdb.arch/i386-byte.exp
11001 * gdb.arch/i386-cfi-notcurrent.exp
11002 * gdb.arch/i386-disp-step.exp
11003 * gdb.arch/i386-dr3-watch.exp
11004 * gdb.arch/i386-float.exp
11005 * gdb.arch/i386-gnu-cfi.exp
11006 * gdb.arch/i386-mpx-map.exp
11007 * gdb.arch/i386-mpx-sigsegv.exp
11008 * gdb.arch/i386-mpx-simple_segv.exp
11009 * gdb.arch/i386-mpx.exp
11010 * gdb.arch/i386-permbkpt.exp
11011 * gdb.arch/i386-prologue.exp
11012 * gdb.arch/i386-signal.exp
11013 * gdb.arch/i386-size-overlap.exp
11014 * gdb.arch/i386-unwind.exp
11015 * gdb.arch/i386-word.exp
11016 * gdb.arch/mips-fcr.exp
11017 * gdb.arch/powerpc-d128-regs.exp
11018 * gdb.arch/powerpc-stackless.exp
11019 * gdb.arch/ppc64-atomic-inst.exp
11020 * gdb.arch/s390-stackless.exp
11021 * gdb.arch/s390-tdbregs.exp
11022 * gdb.arch/s390-vregs.exp
11023 * gdb.arch/sparc-sysstep.exp
11024 * gdb.arch/thumb-bx-pc.exp
11025 * gdb.arch/thumb-singlestep.exp
11026 * gdb.arch/thumb2-it.exp
11027 * gdb.arch/vsx-regs.exp
11028 * gdb.asm/asm-source.exp
11029 * gdb.base/a2-run.exp
11030 * gdb.base/advance.exp
11031 * gdb.base/all-bin.exp
11032 * gdb.base/anon.exp
11033 * gdb.base/args.exp
11034 * gdb.base/arithmet.exp
11035 * gdb.base/async-shell.exp
11036 * gdb.base/async.exp
11037 * gdb.base/attach-pie-noexec.exp
11038 * gdb.base/attach-twice.exp
11039 * gdb.base/auto-load.exp
11040 * gdb.base/bang.exp
11041 * gdb.base/bitfields.exp
11042 * gdb.base/break-always.exp
11043 * gdb.base/break-caller-line.exp
11044 * gdb.base/break-entry.exp
11045 * gdb.base/break-inline.exp
11046 * gdb.base/break-on-linker-gcd-function.exp
11047 * gdb.base/break-probes.exp
11048 * gdb.base/break.exp
11049 * gdb.base/breakpoint-shadow.exp
11050 * gdb.base/call-ar-st.exp
11051 * gdb.base/call-sc.exp
11052 * gdb.base/call-signal-resume.exp
11053 * gdb.base/call-strs.exp
11054 * gdb.base/callfuncs.exp
11055 * gdb.base/catch-fork-static.exp
11056 * gdb.base/catch-gdb-caused-signals.exp
11057 * gdb.base/catch-load.exp
11058 * gdb.base/catch-signal-fork.exp
11059 * gdb.base/catch-signal.exp
11060 * gdb.base/catch-syscall.exp
11061 * gdb.base/charset.exp
11062 * gdb.base/checkpoint.exp
11063 * gdb.base/chng-syms.exp
11064 * gdb.base/code-expr.exp
11065 * gdb.base/code_elim.exp
11066 * gdb.base/commands.exp
11067 * gdb.base/completion.exp
11068 * gdb.base/complex.exp
11069 * gdb.base/cond-expr.exp
11070 * gdb.base/condbreak.exp
11071 * gdb.base/consecutive.exp
11072 * gdb.base/continue-all-already-running.exp
11073 * gdb.base/coredump-filter.exp
11074 * gdb.base/corefile.exp
11075 * gdb.base/dbx.exp
11076 * gdb.base/debug-expr.exp
11077 * gdb.base/define.exp
11078 * gdb.base/del.exp
11079 * gdb.base/disabled-location.exp
11080 * gdb.base/disasm-end-cu.exp
11081 * gdb.base/disasm-optim.exp
11082 * gdb.base/display.exp
11083 * gdb.base/duplicate-bp.exp
11084 * gdb.base/ena-dis-br.exp
11085 * gdb.base/ending-run.exp
11086 * gdb.base/enumval.exp
11087 * gdb.base/environ.exp
11088 * gdb.base/eu-strip-infcall.exp
11089 * gdb.base/eval-avoid-side-effects.exp
11090 * gdb.base/eval-skip.exp
11091 * gdb.base/exitsignal.exp
11092 * gdb.base/expand-psymtabs.exp
11093 * gdb.base/filesym.exp
11094 * gdb.base/find-unmapped.exp
11095 * gdb.base/finish.exp
11096 * gdb.base/float.exp
11097 * gdb.base/foll-exec-mode.exp
11098 * gdb.base/foll-exec.exp
11099 * gdb.base/foll-fork.exp
11100 * gdb.base/fortran-sym-case.exp
11101 * gdb.base/freebpcmd.exp
11102 * gdb.base/func-ptr.exp
11103 * gdb.base/func-ptrs.exp
11104 * gdb.base/funcargs.exp
11105 * gdb.base/gcore-buffer-overflow.exp
11106 * gdb.base/gcore-relro-pie.exp
11107 * gdb.base/gcore-relro.exp
11108 * gdb.base/gcore.exp
11109 * gdb.base/gdb1090.exp
11110 * gdb.base/gdb11530.exp
11111 * gdb.base/gdb11531.exp
11112 * gdb.base/gdb1821.exp
11113 * gdb.base/gdbindex-stabs.exp
11114 * gdb.base/gdbvars.exp
11115 * gdb.base/hbreak.exp
11116 * gdb.base/hbreak2.exp
11117 * gdb.base/included.exp
11118 * gdb.base/infcall-input.exp
11119 * gdb.base/inferior-died.exp
11120 * gdb.base/infnan.exp
11121 * gdb.base/info-macros.exp
11122 * gdb.base/info-os.exp
11123 * gdb.base/info-proc.exp
11124 * gdb.base/info-shared.exp
11125 * gdb.base/info-target.exp
11126 * gdb.base/infoline.exp
11127 * gdb.base/interp.exp
11128 * gdb.base/interrupt.exp
11129 * gdb.base/jit-reader.exp
11130 * gdb.base/jit-simple.exp
11131 * gdb.base/kill-after-signal.exp
11132 * gdb.base/kill-detach-inferiors-cmd.exp
11133 * gdb.base/label.exp
11134 * gdb.base/langs.exp
11135 * gdb.base/ldbl_e308.exp
11136 * gdb.base/line-symtabs.exp
11137 * gdb.base/linespecs.exp
11138 * gdb.base/list.exp
11139 * gdb.base/long_long.exp
11140 * gdb.base/longest-types.exp
11141 * gdb.base/maint.exp
11142 * gdb.base/max-value-size.exp
11143 * gdb.base/memattr.exp
11144 * gdb.base/mips_pro.exp
11145 * gdb.base/morestack.exp
11146 * gdb.base/moribund-step.exp
11147 * gdb.base/multi-forks.exp
11148 * gdb.base/nested-addr.exp
11149 * gdb.base/nextoverexit.exp
11150 * gdb.base/noreturn-finish.exp
11151 * gdb.base/noreturn-return.exp
11152 * gdb.base/nostdlib.exp
11153 * gdb.base/offsets.exp
11154 * gdb.base/opaque.exp
11155 * gdb.base/pc-fp.exp
11156 * gdb.base/permissions.exp
11157 * gdb.base/print-symbol-loading.exp
11158 * gdb.base/prologue-include.exp
11159 * gdb.base/psymtab.exp
11160 * gdb.base/ptype.exp
11161 * gdb.base/random-signal.exp
11162 * gdb.base/randomize.exp
11163 * gdb.base/range-stepping.exp
11164 * gdb.base/readline-ask.exp
11165 * gdb.base/recpar.exp
11166 * gdb.base/recurse.exp
11167 * gdb.base/relational.exp
11168 * gdb.base/restore.exp
11169 * gdb.base/return-nodebug.exp
11170 * gdb.base/return.exp
11171 * gdb.base/run-after-attach.exp
11172 * gdb.base/save-bp.exp
11173 * gdb.base/scope.exp
11174 * gdb.base/sect-cmd.exp
11175 * gdb.base/set-lang-auto.exp
11176 * gdb.base/set-noassign.exp
11177 * gdb.base/setvar.exp
11178 * gdb.base/sigall.exp
11179 * gdb.base/sigbpt.exp
11180 * gdb.base/siginfo-addr.exp
11181 * gdb.base/siginfo-infcall.exp
11182 * gdb.base/siginfo-obj.exp
11183 * gdb.base/siginfo.exp
11184 * gdb.base/signals-state-child.exp
11185 * gdb.base/signest.exp
11186 * gdb.base/sigstep.exp
11187 * gdb.base/sizeof.exp
11188 * gdb.base/skip.exp
11189 * gdb.base/solib-corrupted.exp
11190 * gdb.base/solib-nodir.exp
11191 * gdb.base/solib-search.exp
11192 * gdb.base/stack-checking.exp
11193 * gdb.base/stale-infcall.exp
11194 * gdb.base/stap-probe.exp
11195 * gdb.base/start.exp
11196 * gdb.base/step-break.exp
11197 * gdb.base/step-bt.exp
11198 * gdb.base/step-line.exp
11199 * gdb.base/step-over-exit.exp
11200 * gdb.base/step-over-syscall.exp
11201 * gdb.base/step-resume-infcall.exp
11202 * gdb.base/step-test.exp
11203 * gdb.base/store.exp
11204 * gdb.base/structs3.exp
11205 * gdb.base/sym-file.exp
11206 * gdb.base/symbol-without-target_section.exp
11207 * gdb.base/term.exp
11208 * gdb.base/testenv.exp
11209 * gdb.base/ui-redirect.exp
11210 * gdb.base/until.exp
11211 * gdb.base/unwindonsignal.exp
11212 * gdb.base/value-double-free.exp
11213 * gdb.base/vla-datatypes.exp
11214 * gdb.base/vla-ptr.exp
11215 * gdb.base/vla-sideeffect.exp
11216 * gdb.base/volatile.exp
11217 * gdb.base/watch-cond-infcall.exp
11218 * gdb.base/watch-cond.exp
11219 * gdb.base/watch-non-mem.exp
11220 * gdb.base/watch-read.exp
11221 * gdb.base/watch-vfork.exp
11222 * gdb.base/watchpoint-cond-gone.exp
11223 * gdb.base/watchpoint-delete.exp
11224 * gdb.base/watchpoint-hw-hit-once.exp
11225 * gdb.base/watchpoint-hw.exp
11226 * gdb.base/watchpoint-stops-at-right-insn.exp
11227 * gdb.base/watchpoints.exp
11228 * gdb.base/wchar.exp
11229 * gdb.base/whatis-exp.exp
11230 * gdb.btrace/buffer-size.exp
11231 * gdb.btrace/data.exp
11232 * gdb.btrace/delta.exp
11233 * gdb.btrace/dlopen.exp
11234 * gdb.btrace/enable.exp
11235 * gdb.btrace/exception.exp
11236 * gdb.btrace/function_call_history.exp
11237 * gdb.btrace/gcore.exp
11238 * gdb.btrace/instruction_history.exp
11239 * gdb.btrace/nohist.exp
11240 * gdb.btrace/reconnect.exp
11241 * gdb.btrace/record_goto-step.exp
11242 * gdb.btrace/record_goto.exp
11243 * gdb.btrace/rn-dl-bind.exp
11244 * gdb.btrace/segv.exp
11245 * gdb.btrace/step.exp
11246 * gdb.btrace/stepi.exp
11247 * gdb.btrace/tailcall-only.exp
11248 * gdb.btrace/tailcall.exp
11249 * gdb.btrace/tsx.exp
11250 * gdb.btrace/unknown_functions.exp
11251 * gdb.btrace/vdso.exp
11252 * gdb.compile/compile-ifunc.exp
11253 * gdb.compile/compile-ops.exp
11254 * gdb.compile/compile-print.exp
11255 * gdb.compile/compile-setjmp.exp
11256 * gdb.cp/abstract-origin.exp
11257 * gdb.cp/ambiguous.exp
11258 * gdb.cp/annota2.exp
11259 * gdb.cp/annota3.exp
11260 * gdb.cp/anon-ns.exp
11261 * gdb.cp/anon-struct.exp
11262 * gdb.cp/anon-union.exp
11263 * gdb.cp/arg-reference.exp
11264 * gdb.cp/baseenum.exp
11265 * gdb.cp/bool.exp
11266 * gdb.cp/breakpoint.exp
11267 * gdb.cp/bs15503.exp
11268 * gdb.cp/call-c.exp
11269 * gdb.cp/casts.exp
11270 * gdb.cp/chained-calls.exp
11271 * gdb.cp/class2.exp
11272 * gdb.cp/classes.exp
11273 * gdb.cp/cmpd-minsyms.exp
11274 * gdb.cp/converts.exp
11275 * gdb.cp/cp-relocate.exp
11276 * gdb.cp/cpcompletion.exp
11277 * gdb.cp/cpexprs.exp
11278 * gdb.cp/cplabel.exp
11279 * gdb.cp/cplusfuncs.exp
11280 * gdb.cp/cpsizeof.exp
11281 * gdb.cp/ctti.exp
11282 * gdb.cp/derivation.exp
11283 * gdb.cp/destrprint.exp
11284 * gdb.cp/dispcxx.exp
11285 * gdb.cp/enum-class.exp
11286 * gdb.cp/exception.exp
11287 * gdb.cp/exceptprint.exp
11288 * gdb.cp/expand-psymtabs-cxx.exp
11289 * gdb.cp/expand-sals.exp
11290 * gdb.cp/extern-c.exp
11291 * gdb.cp/filename.exp
11292 * gdb.cp/formatted-ref.exp
11293 * gdb.cp/fpointer.exp
11294 * gdb.cp/gdb1355.exp
11295 * gdb.cp/gdb2495.exp
11296 * gdb.cp/hang.exp
11297 * gdb.cp/impl-this.exp
11298 * gdb.cp/infcall-dlopen.exp
11299 * gdb.cp/inherit.exp
11300 * gdb.cp/iostream.exp
11301 * gdb.cp/koenig.exp
11302 * gdb.cp/local.exp
11303 * gdb.cp/m-data.exp
11304 * gdb.cp/m-static.exp
11305 * gdb.cp/mb-ctor.exp
11306 * gdb.cp/mb-inline.exp
11307 * gdb.cp/mb-templates.exp
11308 * gdb.cp/member-name.exp
11309 * gdb.cp/member-ptr.exp
11310 * gdb.cp/meth-typedefs.exp
11311 * gdb.cp/method.exp
11312 * gdb.cp/method2.exp
11313 * gdb.cp/minsym-fallback.exp
11314 * gdb.cp/misc.exp
11315 * gdb.cp/namelessclass.exp
11316 * gdb.cp/namespace-enum.exp
11317 * gdb.cp/namespace-nested-import.exp
11318 * gdb.cp/namespace.exp
11319 * gdb.cp/nextoverthrow.exp
11320 * gdb.cp/no-dmgl-verbose.exp
11321 * gdb.cp/non-trivial-retval.exp
11322 * gdb.cp/noparam.exp
11323 * gdb.cp/nsdecl.exp
11324 * gdb.cp/nsimport.exp
11325 * gdb.cp/nsnested.exp
11326 * gdb.cp/nsnoimports.exp
11327 * gdb.cp/nsrecurs.exp
11328 * gdb.cp/nsstress.exp
11329 * gdb.cp/nsusing.exp
11330 * gdb.cp/operator.exp
11331 * gdb.cp/oranking.exp
11332 * gdb.cp/overload-const.exp
11333 * gdb.cp/overload.exp
11334 * gdb.cp/ovldbreak.exp
11335 * gdb.cp/ovsrch.exp
11336 * gdb.cp/paren-type.exp
11337 * gdb.cp/parse-lang.exp
11338 * gdb.cp/pass-by-ref.exp
11339 * gdb.cp/pr-1023.exp
11340 * gdb.cp/pr-1210.exp
11341 * gdb.cp/pr-574.exp
11342 * gdb.cp/pr10687.exp
11343 * gdb.cp/pr12028.exp
11344 * gdb.cp/pr17132.exp
11345 * gdb.cp/pr17494.exp
11346 * gdb.cp/pr9067.exp
11347 * gdb.cp/pr9167.exp
11348 * gdb.cp/pr9631.exp
11349 * gdb.cp/printmethod.exp
11350 * gdb.cp/psmang.exp
11351 * gdb.cp/psymtab-parameter.exp
11352 * gdb.cp/ptype-cv-cp.exp
11353 * gdb.cp/ptype-flags.exp
11354 * gdb.cp/re-set-overloaded.exp
11355 * gdb.cp/ref-types.exp
11356 * gdb.cp/rtti.exp
11357 * gdb.cp/scope-err.exp
11358 * gdb.cp/shadow.exp
11359 * gdb.cp/smartp.exp
11360 * gdb.cp/static-method.exp
11361 * gdb.cp/static-print-quit.exp
11362 * gdb.cp/temargs.exp
11363 * gdb.cp/templates.exp
11364 * gdb.cp/try_catch.exp
11365 * gdb.cp/typedef-operator.exp
11366 * gdb.cp/typeid.exp
11367 * gdb.cp/userdef.exp
11368 * gdb.cp/using-crash.exp
11369 * gdb.cp/var-tag.exp
11370 * gdb.cp/virtbase.exp
11371 * gdb.cp/virtfunc.exp
11372 * gdb.cp/virtfunc2.exp
11373 * gdb.cp/vla-cxx.exp
11374 * gdb.disasm/t01_mov.exp
11375 * gdb.disasm/t02_mova.exp
11376 * gdb.disasm/t03_add.exp
11377 * gdb.disasm/t04_sub.exp
11378 * gdb.disasm/t05_cmp.exp
11379 * gdb.disasm/t06_ari2.exp
11380 * gdb.disasm/t07_ari3.exp
11381 * gdb.disasm/t08_or.exp
11382 * gdb.disasm/t09_xor.exp
11383 * gdb.disasm/t10_and.exp
11384 * gdb.disasm/t11_logs.exp
11385 * gdb.disasm/t12_bit.exp
11386 * gdb.disasm/t13_otr.exp
11387 * gdb.dlang/circular.exp
11388 * gdb.dwarf2/arr-stride.exp
11389 * gdb.dwarf2/arr-subrange.exp
11390 * gdb.dwarf2/atomic-type.exp
11391 * gdb.dwarf2/bad-regnum.exp
11392 * gdb.dwarf2/bitfield-parent-optimized-out.exp
11393 * gdb.dwarf2/callframecfa.exp
11394 * gdb.dwarf2/clztest.exp
11395 * gdb.dwarf2/corrupt.exp
11396 * gdb.dwarf2/data-loc.exp
11397 * gdb.dwarf2/dup-psym.exp
11398 * gdb.dwarf2/dw2-anon-mptr.exp
11399 * gdb.dwarf2/dw2-anonymous-func.exp
11400 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
11401 * gdb.dwarf2/dw2-bad-unresolved.exp
11402 * gdb.dwarf2/dw2-basic.exp
11403 * gdb.dwarf2/dw2-canonicalize-type.exp
11404 * gdb.dwarf2/dw2-case-insensitive.exp
11405 * gdb.dwarf2/dw2-common-block.exp
11406 * gdb.dwarf2/dw2-compdir-oldgcc.exp
11407 * gdb.dwarf2/dw2-compressed.exp
11408 * gdb.dwarf2/dw2-const.exp
11409 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
11410 * gdb.dwarf2/dw2-cu-size.exp
11411 * gdb.dwarf2/dw2-dup-frame.exp
11412 * gdb.dwarf2/dw2-entry-value.exp
11413 * gdb.dwarf2/dw2-icycle.exp
11414 * gdb.dwarf2/dw2-ifort-parameter.exp
11415 * gdb.dwarf2/dw2-inline-break.exp
11416 * gdb.dwarf2/dw2-inline-param.exp
11417 * gdb.dwarf2/dw2-intercu.exp
11418 * gdb.dwarf2/dw2-intermix.exp
11419 * gdb.dwarf2/dw2-lexical-block-bare.exp
11420 * gdb.dwarf2/dw2-linkage-name-trust.exp
11421 * gdb.dwarf2/dw2-minsym-in-cu.exp
11422 * gdb.dwarf2/dw2-noloc.exp
11423 * gdb.dwarf2/dw2-op-call.exp
11424 * gdb.dwarf2/dw2-op-out-param.exp
11425 * gdb.dwarf2/dw2-opt-structptr.exp
11426 * gdb.dwarf2/dw2-param-error.exp
11427 * gdb.dwarf2/dw2-producer.exp
11428 * gdb.dwarf2/dw2-ranges-base.exp
11429 * gdb.dwarf2/dw2-ref-missing-frame.exp
11430 * gdb.dwarf2/dw2-reg-undefined.exp
11431 * gdb.dwarf2/dw2-regno-invalid.exp
11432 * gdb.dwarf2/dw2-restore.exp
11433 * gdb.dwarf2/dw2-restrict.exp
11434 * gdb.dwarf2/dw2-single-line-discriminators.exp
11435 * gdb.dwarf2/dw2-strp.exp
11436 * gdb.dwarf2/dw2-undefined-ret-addr.exp
11437 * gdb.dwarf2/dw2-unresolved.exp
11438 * gdb.dwarf2/dw2-var-zero-addr.exp
11439 * gdb.dwarf2/dw4-sig-types.exp
11440 * gdb.dwarf2/dwz.exp
11441 * gdb.dwarf2/dynarr-ptr.exp
11442 * gdb.dwarf2/enum-type.exp
11443 * gdb.dwarf2/gdb-index.exp
11444 * gdb.dwarf2/implptr-64bit.exp
11445 * gdb.dwarf2/implptr-optimized-out.exp
11446 * gdb.dwarf2/implptr.exp
11447 * gdb.dwarf2/implref-array.exp
11448 * gdb.dwarf2/implref-const.exp
11449 * gdb.dwarf2/implref-global.exp
11450 * gdb.dwarf2/implref-struct.exp
11451 * gdb.dwarf2/mac-fileno.exp
11452 * gdb.dwarf2/main-subprogram.exp
11453 * gdb.dwarf2/member-ptr-forwardref.exp
11454 * gdb.dwarf2/method-ptr.exp
11455 * gdb.dwarf2/missing-sig-type.exp
11456 * gdb.dwarf2/nonvar-access.exp
11457 * gdb.dwarf2/opaque-type-lookup.exp
11458 * gdb.dwarf2/pieces-optimized-out.exp
11459 * gdb.dwarf2/pieces.exp
11460 * gdb.dwarf2/pr10770.exp
11461 * gdb.dwarf2/pr13961.exp
11462 * gdb.dwarf2/staticvirtual.exp
11463 * gdb.dwarf2/subrange.exp
11464 * gdb.dwarf2/symtab-producer.exp
11465 * gdb.dwarf2/trace-crash.exp
11466 * gdb.dwarf2/typeddwarf.exp
11467 * gdb.dwarf2/valop.exp
11468 * gdb.dwarf2/watch-notconst.exp
11469 * gdb.fortran/array-element.exp
11470 * gdb.fortran/charset.exp
11471 * gdb.fortran/common-block.exp
11472 * gdb.fortran/complex.exp
11473 * gdb.fortran/derived-type-function.exp
11474 * gdb.fortran/derived-type.exp
11475 * gdb.fortran/logical.exp
11476 * gdb.fortran/module.exp
11477 * gdb.fortran/multi-dim.exp
11478 * gdb.fortran/nested-funcs.exp
11479 * gdb.fortran/print-formatted.exp
11480 * gdb.fortran/subarray.exp
11481 * gdb.fortran/vla-alloc-assoc.exp
11482 * gdb.fortran/vla-datatypes.exp
11483 * gdb.fortran/vla-history.exp
11484 * gdb.fortran/vla-ptr-info.exp
11485 * gdb.fortran/vla-ptype-sub.exp
11486 * gdb.fortran/vla-ptype.exp
11487 * gdb.fortran/vla-sizeof.exp
11488 * gdb.fortran/vla-type.exp
11489 * gdb.fortran/vla-value-sub-arbitrary.exp
11490 * gdb.fortran/vla-value-sub-finish.exp
11491 * gdb.fortran/vla-value-sub.exp
11492 * gdb.fortran/vla-value.exp
11493 * gdb.fortran/whatis_type.exp
11494 * gdb.go/chan.exp
11495 * gdb.go/handcall.exp
11496 * gdb.go/hello.exp
11497 * gdb.go/integers.exp
11498 * gdb.go/methods.exp
11499 * gdb.go/package.exp
11500 * gdb.go/strings.exp
11501 * gdb.go/types.exp
11502 * gdb.go/unsafe.exp
11503 * gdb.guile/scm-arch.exp
11504 * gdb.guile/scm-block.exp
11505 * gdb.guile/scm-breakpoint.exp
11506 * gdb.guile/scm-cmd.exp
11507 * gdb.guile/scm-disasm.exp
11508 * gdb.guile/scm-equal.exp
11509 * gdb.guile/scm-frame-args.exp
11510 * gdb.guile/scm-frame-inline.exp
11511 * gdb.guile/scm-frame.exp
11512 * gdb.guile/scm-iterator.exp
11513 * gdb.guile/scm-math.exp
11514 * gdb.guile/scm-objfile.exp
11515 * gdb.guile/scm-ports.exp
11516 * gdb.guile/scm-symbol.exp
11517 * gdb.guile/scm-symtab.exp
11518 * gdb.guile/scm-value-cc.exp
11519 * gdb.guile/types-module.exp
11520 * gdb.linespec/break-ask.exp
11521 * gdb.linespec/cpexplicit.exp
11522 * gdb.linespec/explicit.exp
11523 * gdb.linespec/keywords.exp
11524 * gdb.linespec/linespec.exp
11525 * gdb.linespec/ls-dollar.exp
11526 * gdb.linespec/ls-errs.exp
11527 * gdb.linespec/skip-two.exp
11528 * gdb.linespec/thread.exp
11529 * gdb.mi/mi-async.exp
11530 * gdb.mi/mi-basics.exp
11531 * gdb.mi/mi-break.exp
11532 * gdb.mi/mi-catch-load.exp
11533 * gdb.mi/mi-cli.exp
11534 * gdb.mi/mi-cmd-param-changed.exp
11535 * gdb.mi/mi-console.exp
11536 * gdb.mi/mi-detach.exp
11537 * gdb.mi/mi-disassemble.exp
11538 * gdb.mi/mi-eval.exp
11539 * gdb.mi/mi-file-transfer.exp
11540 * gdb.mi/mi-file.exp
11541 * gdb.mi/mi-fill-memory.exp
11542 * gdb.mi/mi-inheritance-syntax-error.exp
11543 * gdb.mi/mi-linespec-err-cp.exp
11544 * gdb.mi/mi-logging.exp
11545 * gdb.mi/mi-memory-changed.exp
11546 * gdb.mi/mi-read-memory.exp
11547 * gdb.mi/mi-record-changed.exp
11548 * gdb.mi/mi-reg-undefined.exp
11549 * gdb.mi/mi-regs.exp
11550 * gdb.mi/mi-return.exp
11551 * gdb.mi/mi-reverse.exp
11552 * gdb.mi/mi-simplerun.exp
11553 * gdb.mi/mi-solib.exp
11554 * gdb.mi/mi-stack.exp
11555 * gdb.mi/mi-stepi.exp
11556 * gdb.mi/mi-syn-frame.exp
11557 * gdb.mi/mi-until.exp
11558 * gdb.mi/mi-var-block.exp
11559 * gdb.mi/mi-var-child.exp
11560 * gdb.mi/mi-var-cmd.exp
11561 * gdb.mi/mi-var-cp.exp
11562 * gdb.mi/mi-var-display.exp
11563 * gdb.mi/mi-var-invalidate.exp
11564 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
11565 * gdb.mi/mi-vla-fortran.exp
11566 * gdb.mi/mi-watch.exp
11567 * gdb.mi/mi2-var-child.exp
11568 * gdb.mi/user-selected-context-sync.exp
11569 * gdb.modula2/unbounded-array.exp
11570 * gdb.multi/dummy-frame-restore.exp
11571 * gdb.multi/multi-arch-exec.exp
11572 * gdb.multi/multi-arch.exp
11573 * gdb.multi/tids.exp
11574 * gdb.multi/watchpoint-multi.exp
11575 * gdb.opencl/callfuncs.exp
11576 * gdb.opencl/convs_casts.exp
11577 * gdb.opencl/datatypes.exp
11578 * gdb.opencl/operators.exp
11579 * gdb.opencl/vec_comps.exp
11580 * gdb.opt/clobbered-registers-O2.exp
11581 * gdb.opt/inline-break.exp
11582 * gdb.opt/inline-bt.exp
11583 * gdb.opt/inline-cmds.exp
11584 * gdb.opt/inline-locals.exp
11585 * gdb.pascal/case-insensitive-symbols.exp
11586 * gdb.pascal/floats.exp
11587 * gdb.pascal/gdb11492.exp
11588 * gdb.python/lib-types.exp
11589 * gdb.python/py-arch.exp
11590 * gdb.python/py-as-string.exp
11591 * gdb.python/py-bad-printers.exp
11592 * gdb.python/py-block.exp
11593 * gdb.python/py-breakpoint-create-fail.exp
11594 * gdb.python/py-breakpoint.exp
11595 * gdb.python/py-caller-is.exp
11596 * gdb.python/py-cmd.exp
11597 * gdb.python/py-explore-cc.exp
11598 * gdb.python/py-explore.exp
11599 * gdb.python/py-finish-breakpoint.exp
11600 * gdb.python/py-finish-breakpoint2.exp
11601 * gdb.python/py-frame-args.exp
11602 * gdb.python/py-frame-inline.exp
11603 * gdb.python/py-frame.exp
11604 * gdb.python/py-framefilter-mi.exp
11605 * gdb.python/py-infthread.exp
11606 * gdb.python/py-lazy-string.exp
11607 * gdb.python/py-linetable.exp
11608 * gdb.python/py-mi-events.exp
11609 * gdb.python/py-mi-objfile.exp
11610 * gdb.python/py-mi.exp
11611 * gdb.python/py-objfile.exp
11612 * gdb.python/py-pp-integral.exp
11613 * gdb.python/py-pp-maint.exp
11614 * gdb.python/py-pp-re-notag.exp
11615 * gdb.python/py-pp-registration.exp
11616 * gdb.python/py-recurse-unwind.exp
11617 * gdb.python/py-strfns.exp
11618 * gdb.python/py-symbol.exp
11619 * gdb.python/py-symtab.exp
11620 * gdb.python/py-sync-interp.exp
11621 * gdb.python/py-typeprint.exp
11622 * gdb.python/py-unwind-maint.exp
11623 * gdb.python/py-unwind.exp
11624 * gdb.python/py-value-cc.exp
11625 * gdb.python/py-xmethods.exp
11626 * gdb.reverse/amd64-tailcall-reverse.exp
11627 * gdb.reverse/break-precsave.exp
11628 * gdb.reverse/break-reverse.exp
11629 * gdb.reverse/consecutive-precsave.exp
11630 * gdb.reverse/consecutive-reverse.exp
11631 * gdb.reverse/finish-precsave.exp
11632 * gdb.reverse/finish-reverse-bkpt.exp
11633 * gdb.reverse/finish-reverse.exp
11634 * gdb.reverse/fstatat-reverse.exp
11635 * gdb.reverse/getresuid-reverse.exp
11636 * gdb.reverse/i386-precsave.exp
11637 * gdb.reverse/i386-reverse.exp
11638 * gdb.reverse/i386-sse-reverse.exp
11639 * gdb.reverse/i387-env-reverse.exp
11640 * gdb.reverse/i387-stack-reverse.exp
11641 * gdb.reverse/insn-reverse.exp
11642 * gdb.reverse/machinestate-precsave.exp
11643 * gdb.reverse/machinestate.exp
11644 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11645 * gdb.reverse/pipe-reverse.exp
11646 * gdb.reverse/readv-reverse.exp
11647 * gdb.reverse/recvmsg-reverse.exp
11648 * gdb.reverse/rerun-prec.exp
11649 * gdb.reverse/s390-mvcle.exp
11650 * gdb.reverse/step-precsave.exp
11651 * gdb.reverse/step-reverse.exp
11652 * gdb.reverse/time-reverse.exp
11653 * gdb.reverse/until-precsave.exp
11654 * gdb.reverse/until-reverse.exp
11655 * gdb.reverse/waitpid-reverse.exp
11656 * gdb.reverse/watch-precsave.exp
11657 * gdb.reverse/watch-reverse.exp
11658 * gdb.rust/generics.exp
11659 * gdb.rust/methods.exp
11660 * gdb.rust/modules.exp
11661 * gdb.rust/simple.exp
11662 * gdb.server/connect-with-no-symbol-file.exp
11663 * gdb.server/ext-attach.exp
11664 * gdb.server/ext-restart.exp
11665 * gdb.server/ext-wrapper.exp
11666 * gdb.server/file-transfer.exp
11667 * gdb.server/server-exec-info.exp
11668 * gdb.server/server-kill.exp
11669 * gdb.server/server-mon.exp
11670 * gdb.server/wrapper.exp
11671 * gdb.stabs/exclfwd.exp
11672 * gdb.stabs/gdb11479.exp
11673 * gdb.threads/clone-new-thread-event.exp
11674 * gdb.threads/corethreads.exp
11675 * gdb.threads/current-lwp-dead.exp
11676 * gdb.threads/dlopen-libpthread.exp
11677 * gdb.threads/gcore-thread.exp
11678 * gdb.threads/sigstep-threads.exp
11679 * gdb.threads/watchpoint-fork.exp
11680 * gdb.trace/actions-changed.exp
11681 * gdb.trace/backtrace.exp
11682 * gdb.trace/change-loc.exp
11683 * gdb.trace/circ.exp
11684 * gdb.trace/collection.exp
11685 * gdb.trace/disconnected-tracing.exp
11686 * gdb.trace/ftrace.exp
11687 * gdb.trace/mi-trace-frame-collected.exp
11688 * gdb.trace/mi-trace-unavailable.exp
11689 * gdb.trace/mi-traceframe-changed.exp
11690 * gdb.trace/mi-tsv-changed.exp
11691 * gdb.trace/no-attach-trace.exp
11692 * gdb.trace/passc-dyn.exp
11693 * gdb.trace/qtro.exp
11694 * gdb.trace/range-stepping.exp
11695 * gdb.trace/read-memory.exp
11696 * gdb.trace/save-trace.exp
11697 * gdb.trace/signal.exp
11698 * gdb.trace/status-stop.exp
11699 * gdb.trace/tfile.exp
11700 * gdb.trace/trace-break.exp
11701 * gdb.trace/trace-buffer-size.exp
11702 * gdb.trace/trace-condition.exp
11703 * gdb.trace/tracefile-pseudo-reg.exp
11704 * gdb.trace/tstatus.exp
11705 * gdb.trace/unavailable.exp
11706 * gdb.trace/while-dyn.exp
11707 * gdb.trace/while-stepping.exp
11708
11709 2016-12-22 Doug Evans <xdje42@gmail.com>
11710
11711 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
11712 and msymbols.
11713
11714 2016-12-19 Yao Qi <yao.qi@linaro.org>
11715
11716 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
11717 (test_with_self): Don't call do_steps_and_nexts, and remove
11718 code about stepping into xmalloc.
11719
11720 2016-12-09 Yao Qi <yao.qi@linaro.org>
11721
11722 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
11723
11724 2016-12-09 Yao Qi <yao.qi@linaro.org>
11725
11726 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
11727
11728 2016-12-09 Pedro Alves <palves@redhat.com>
11729
11730 * gdb.base/all-architectures-0.exp: New file.
11731 * gdb.base/all-architectures-1.exp: New file.
11732 * gdb.base/all-architectures-2.exp: New file.
11733 * gdb.base/all-architectures-3.exp: New file.
11734 * gdb.base/all-architectures-4.exp: New file.
11735 * gdb.base/all-architectures-5.exp: New file.
11736 * gdb.base/all-architectures-6.exp: New file.
11737 * gdb.base/all-architectures-7.exp: New file.
11738 * gdb.base/all-architectures.exp.in: New file.
11739
11740 2016-12-09 Yao Qi <yao.qi@linaro.org>
11741
11742 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
11743
11744 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
11745
11746 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
11747 possible.
11748 Remove useless pattern-matching code.
11749
11750 2016-12-02 Pedro Alves <palves@redhat.com>
11751
11752 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
11753 procedure.
11754 (top level): Call it.
11755
11756 2016-12-02 Pedro Alves <palves@redhat.com>
11757
11758 * gdb.base/commands.exp (user_defined_command_args_stack_test):
11759 New procedure.
11760 (top level): Call it.
11761
11762 2016-12-02 Pedro Alves <palves@redhat.com>
11763
11764 PR cli/20559
11765 * gdb.base/commands.exp (user_defined_command_args_eval): New
11766 procedure.
11767 (top level): Call it.
11768
11769 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
11770
11771 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
11772 timeout handling.
11773
11774 2016-12-02 Tom Tromey <tom@tromey.com>
11775
11776 * gdb.dwarf2/main-subprogram.c: New file.
11777 * gdb.dwarf2/main-subprogram.exp: New file.
11778
11779 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
11780
11781 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
11782 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
11783 gdb_test_no_output for a couple of cases.
11784 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
11785
11786 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
11787
11788 Fix test names and standardize compilation error messages throughout
11789 the following files:
11790
11791 * gdb.ada/start.exp
11792 * gdb.arch/alpha-step.exp
11793 * gdb.arch/e500-prologue.exp
11794 * gdb.arch/ftrace-insn-reloc.exp
11795 * gdb.arch/gdb1291.exp
11796 * gdb.arch/gdb1431.exp
11797 * gdb.arch/gdb1558.exp
11798 * gdb.arch/i386-dr3-watch.exp
11799 * gdb.arch/i386-sse-stack-align.exp
11800 * gdb.arch/ia64-breakpoint-shadow.exp
11801 * gdb.arch/pa-nullify.exp
11802 * gdb.arch/powerpc-aix-prologue.exp
11803 * gdb.arch/thumb-bx-pc.exp
11804 * gdb.base/annota1.exp
11805 * gdb.base/annota3.exp
11806 * gdb.base/arrayidx.exp
11807 * gdb.base/assign.exp
11808 * gdb.base/attach.exp
11809 * gdb.base/auxv.exp
11810 * gdb.base/bang.exp
11811 * gdb.base/bfp-test.exp
11812 * gdb.base/bigcore.exp
11813 * gdb.base/bitfields2.exp
11814 * gdb.base/break-fun-addr.exp
11815 * gdb.base/break-probes.exp
11816 * gdb.base/call-rt-st.exp
11817 * gdb.base/callexit.exp
11818 * gdb.base/catch-fork-kill.exp
11819 * gdb.base/charset.exp
11820 * gdb.base/checkpoint.exp
11821 * gdb.base/comprdebug.exp
11822 * gdb.base/constvars.exp
11823 * gdb.base/coredump-filter.exp
11824 * gdb.base/cursal.exp
11825 * gdb.base/cvexpr.exp
11826 * gdb.base/detach.exp
11827 * gdb.base/display.exp
11828 * gdb.base/dmsym.exp
11829 * gdb.base/dprintf-pending.exp
11830 * gdb.base/dso2dso.exp
11831 * gdb.base/dtrace-probe.exp
11832 * gdb.base/dump.exp
11833 * gdb.base/enum_cond.exp
11834 * gdb.base/exe-lock.exp
11835 * gdb.base/exec-invalid-sysroot.exp
11836 * gdb.base/execl-update-breakpoints.exp
11837 * gdb.base/exprs.exp
11838 * gdb.base/fileio.exp
11839 * gdb.base/find.exp
11840 * gdb.base/finish.exp
11841 * gdb.base/fixsection.exp
11842 * gdb.base/foll-vfork.exp
11843 * gdb.base/frame-args.exp
11844 * gdb.base/gcore.exp
11845 * gdb.base/gdb1250.exp
11846 * gdb.base/global-var-nested-by-dso.exp
11847 * gdb.base/gnu-ifunc.exp
11848 * gdb.base/hashline1.exp
11849 * gdb.base/hashline2.exp
11850 * gdb.base/hashline3.exp
11851 * gdb.base/hbreak-in-shr-unsupported.exp
11852 * gdb.base/huge.exp
11853 * gdb.base/infcall-input.exp
11854 * gdb.base/info-fun.exp
11855 * gdb.base/info-shared.exp
11856 * gdb.base/jit-simple.exp
11857 * gdb.base/jit-so.exp
11858 * gdb.base/jit.exp
11859 * gdb.base/jump.exp
11860 * gdb.base/label.exp
11861 * gdb.base/lineinc.exp
11862 * gdb.base/logical.exp
11863 * gdb.base/longjmp.exp
11864 * gdb.base/macscp.exp
11865 * gdb.base/miscexprs.exp
11866 * gdb.base/new-ui-echo.exp
11867 * gdb.base/new-ui-pending-input.exp
11868 * gdb.base/new-ui.exp
11869 * gdb.base/nodebug.exp
11870 * gdb.base/nofield.exp
11871 * gdb.base/offsets.exp
11872 * gdb.base/overlays.exp
11873 * gdb.base/pending.exp
11874 * gdb.base/pointers.exp
11875 * gdb.base/pr11022.exp
11876 * gdb.base/printcmds.exp
11877 * gdb.base/prologue.exp
11878 * gdb.base/ptr-typedef.exp
11879 * gdb.base/realname-expand.exp
11880 * gdb.base/relativedebug.exp
11881 * gdb.base/relocate.exp
11882 * gdb.base/remote.exp
11883 * gdb.base/reread.exp
11884 * gdb.base/return2.exp
11885 * gdb.base/savedregs.exp
11886 * gdb.base/sep.exp
11887 * gdb.base/sepdebug.exp
11888 * gdb.base/sepsymtab.exp
11889 * gdb.base/set-inferior-tty.exp
11890 * gdb.base/setshow.exp
11891 * gdb.base/shlib-call.exp
11892 * gdb.base/sigaltstack.exp
11893 * gdb.base/siginfo-addr.exp
11894 * gdb.base/signals.exp
11895 * gdb.base/signull.exp
11896 * gdb.base/sigrepeat.exp
11897 * gdb.base/so-impl-ld.exp
11898 * gdb.base/solib-display.exp
11899 * gdb.base/solib-overlap.exp
11900 * gdb.base/solib-search.exp
11901 * gdb.base/solib-symbol.exp
11902 * gdb.base/structs.exp
11903 * gdb.base/structs2.exp
11904 * gdb.base/symtab-search-order.exp
11905 * gdb.base/twice.exp
11906 * gdb.base/unload.exp
11907 * gdb.base/varargs.exp
11908 * gdb.base/watchpoint-solib.exp
11909 * gdb.base/watchpoint.exp
11910 * gdb.base/whatis.exp
11911 * gdb.base/wrong_frame_bt_full.exp
11912 * gdb.btrace/dlopen.exp
11913 * gdb.cell/ea-standalone.exp
11914 * gdb.cell/ea-test.exp
11915 * gdb.cp/dispcxx.exp
11916 * gdb.cp/gdb2384.exp
11917 * gdb.cp/method2.exp
11918 * gdb.cp/nextoverthrow.exp
11919 * gdb.cp/pr10728.exp
11920 * gdb.disasm/am33.exp
11921 * gdb.disasm/h8300s.exp
11922 * gdb.disasm/mn10300.exp
11923 * gdb.disasm/sh3.exp
11924 * gdb.dwarf2/dw2-dir-file-name.exp
11925 * gdb.fortran/complex.exp
11926 * gdb.fortran/library-module.exp
11927 * gdb.guile/scm-pretty-print.exp
11928 * gdb.guile/scm-symbol.exp
11929 * gdb.guile/scm-type.exp
11930 * gdb.guile/scm-value.exp
11931 * gdb.linespec/linespec.exp
11932 * gdb.mi/gdb701.exp
11933 * gdb.mi/gdb792.exp
11934 * gdb.mi/mi-breakpoint-changed.exp
11935 * gdb.mi/mi-dprintf-pending.exp
11936 * gdb.mi/mi-dprintf.exp
11937 * gdb.mi/mi-exit-code.exp
11938 * gdb.mi/mi-pending.exp
11939 * gdb.mi/mi-solib.exp
11940 * gdb.mi/new-ui-mi-sync.exp
11941 * gdb.mi/pr11022.exp
11942 * gdb.mi/user-selected-context-sync.exp
11943 * gdb.opt/solib-intra-step.exp
11944 * gdb.python/py-events.exp
11945 * gdb.python/py-finish-breakpoint.exp
11946 * gdb.python/py-mi.exp
11947 * gdb.python/py-prettyprint.exp
11948 * gdb.python/py-shared.exp
11949 * gdb.python/py-symbol.exp
11950 * gdb.python/py-template.exp
11951 * gdb.python/py-type.exp
11952 * gdb.python/py-value.exp
11953 * gdb.reverse/solib-precsave.exp
11954 * gdb.reverse/solib-reverse.exp
11955 * gdb.server/solib-list.exp
11956 * gdb.stabs/weird.exp
11957 * gdb.threads/reconnect-signal.exp
11958 * gdb.threads/stepi-random-signal.exp
11959 * gdb.trace/actions.exp
11960 * gdb.trace/ax.exp
11961 * gdb.trace/backtrace.exp
11962 * gdb.trace/change-loc.exp
11963 * gdb.trace/deltrace.exp
11964 * gdb.trace/ftrace-lock.exp
11965 * gdb.trace/ftrace.exp
11966 * gdb.trace/infotrace.exp
11967 * gdb.trace/mi-tracepoint-changed.exp
11968 * gdb.trace/packetlen.exp
11969 * gdb.trace/passcount.exp
11970 * gdb.trace/pending.exp
11971 * gdb.trace/range-stepping.exp
11972 * gdb.trace/report.exp
11973 * gdb.trace/stap-trace.exp
11974 * gdb.trace/tfind.exp
11975 * gdb.trace/trace-break.exp
11976 * gdb.trace/trace-condition.exp
11977 * gdb.trace/trace-enable-disable.exp
11978 * gdb.trace/trace-mt.exp
11979 * gdb.trace/tracecmd.exp
11980 * gdb.trace/tspeed.exp
11981 * gdb.trace/tsv.exp
11982 * lib/perftest.exp
11983
11984 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
11985
11986 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
11987 with gdb_test_no_output.
11988 Use command as test name.
11989
11990 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
11991
11992 Fix test names starting with uppercase throughout the files.
11993
11994 * gdb.ada/assign_1.exp
11995 * gdb.ada/boolean_expr.exp
11996 * gdb.base/arrayidx.exp
11997 * gdb.base/del.exp
11998 * gdb.base/gcore-buffer-overflow.exp
11999 * gdb.base/testenv.exp
12000 * gdb.compile/compile.exp
12001 * gdb.python/py-framefilter-invalidarg.exp
12002 * gdb.python/py-framefilter.exp
12003
12004 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
12005
12006 Fix test names starting with uppercase throughout the files.
12007
12008 * gdb.ada/array_return.exp
12009 * gdb.ada/expr_delims.exp
12010 * gdb.ada/mi_dyn_arr.exp
12011 * gdb.ada/mi_interface.exp
12012 * gdb.ada/mi_var_array.exp
12013 * gdb.ada/watch_arg.exp
12014 * gdb.arch/alpha-step.exp
12015 * gdb.arch/altivec-regs.exp
12016 * gdb.arch/e500-regs.exp
12017 * gdb.arch/powerpc-d128-regs.exp
12018 * gdb.base/arrayidx.exp
12019 * gdb.base/break.exp
12020 * gdb.base/checkpoint.exp
12021 * gdb.base/debug-expr.exp
12022 * gdb.base/dmsym.exp
12023 * gdb.base/radix.exp
12024 * gdb.base/sepdebug.exp
12025 * gdb.base/testenv.exp
12026 * gdb.base/watch_thread_num.exp
12027 * gdb.base/watchpoint-cond-gone.exp
12028 * gdb.cell/break.exp
12029 * gdb.cell/ea-cache.exp
12030 * gdb.compile/compile.exp
12031 * gdb.cp/gdb2495.exp
12032 * gdb.gdb/selftest.exp
12033 * gdb.gdb/xfullpath.exp
12034 * gdb.go/hello.exp
12035 * gdb.go/integers.exp
12036 * gdb.objc/basicclass.exp
12037 * gdb.pascal/hello.exp
12038 * gdb.pascal/integers.exp
12039 * gdb.python/py-breakpoint.exp
12040 * gdb.python/py-cmd.exp
12041 * gdb.python/py-linetable.exp
12042 * gdb.python/py-xmethods.exp
12043 * gdb.python/python.exp
12044 * gdb.reverse/consecutive-precsave.exp
12045 * gdb.reverse/finish-precsave.exp
12046 * gdb.reverse/i386-precsave.exp
12047 * gdb.reverse/machinestate-precsave.exp
12048 * gdb.reverse/sigall-precsave.exp
12049 * gdb.reverse/solib-precsave.exp
12050 * gdb.reverse/step-precsave.exp
12051 * gdb.reverse/until-precsave.exp
12052 * gdb.reverse/watch-precsave.exp
12053 * gdb.threads/leader-exit.exp
12054 * gdb.threads/pthreads.exp
12055 * gdb.threads/wp-replication.exp
12056 * gdb.trace/actions.exp
12057 * gdb.trace/mi-tsv-changed.exp
12058 * gdb.trace/tsv.exp
12059
12060 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
12061
12062 Fix test names starting with uppercase throughout the files.
12063
12064 * gdb.arch/i386-bp_permanent.exp
12065 * gdb.arch/i386-gnu-cfi.exp
12066 * gdb.base/disasm-end-cu.exp
12067 * gdb.base/macscp.exp
12068 * gdb.base/pending.exp
12069 * gdb.base/watch_thread_num.exp
12070 * gdb.cp/exception.exp
12071 * gdb.cp/gdb2495.exp
12072 * gdb.cp/local.exp
12073 * gdb.python/py-evsignal.exp
12074 * gdb.python/python.exp
12075 * gdb.trace/tracecmd.exp
12076
12077 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
12078
12079 Fix test names starting with uppercase throughout the files.
12080
12081 * gdb.base/charset.exp
12082 * gdb.base/eval.exp
12083 * gdb.base/multi-forks.exp
12084 * gdb.guile/scm-progspace.exp
12085 * gdb.opencl/datatypes.exp
12086 * gdb.python/py-block.exp
12087 * gdb.python/py-function.exp
12088 * gdb.python/py-symbol.exp
12089 * gdb.python/py-symtab.exp
12090 * gdb.python/py-xmethods.exp
12091 * gdb.reverse/break-precsave.exp
12092 * gdb.reverse/break-reverse.exp
12093 * gdb.reverse/consecutive-precsave.exp
12094 * gdb.reverse/consecutive-reverse.exp
12095 * gdb.reverse/finish-precsave.exp
12096 * gdb.reverse/finish-reverse-bkpt.exp
12097 * gdb.reverse/finish-reverse.exp
12098 * gdb.reverse/fstatat-reverse.exp
12099 * gdb.reverse/getresuid-reverse.exp
12100 * gdb.reverse/i386-precsave.exp
12101 * gdb.reverse/i386-reverse.exp
12102 * gdb.reverse/i386-sse-reverse.exp
12103 * gdb.reverse/i387-stack-reverse.exp
12104 * gdb.reverse/insn-reverse.exp
12105 * gdb.reverse/machinestate-precsave.exp
12106 * gdb.reverse/machinestate.exp
12107 * gdb.reverse/next-reverse-bkpt-over-sr.exp
12108 * gdb.reverse/pipe-reverse.exp
12109 * gdb.reverse/readv-reverse.exp
12110 * gdb.reverse/recvmsg-reverse.exp
12111 * gdb.reverse/rerun-prec.exp
12112 * gdb.reverse/s390-mvcle.exp
12113 * gdb.reverse/sigall-precsave.exp
12114 * gdb.reverse/sigall-reverse.exp
12115 * gdb.reverse/solib-precsave.exp
12116 * gdb.reverse/solib-reverse.exp
12117 * gdb.reverse/step-precsave.exp
12118 * gdb.reverse/step-reverse.exp
12119 * gdb.reverse/time-reverse.exp
12120 * gdb.reverse/until-precsave.exp
12121 * gdb.reverse/until-reverse.exp
12122 * gdb.reverse/waitpid-reverse.exp
12123 * gdb.reverse/watch-precsave.exp
12124 * gdb.reverse/watch-reverse.exp
12125
12126 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
12127
12128 Fix test names starting with uppercase throughout the files.
12129
12130 * gdb.arch/i386-mpx-simple_segv.exp
12131 * gdb.arch/i386-mpx.exp
12132 * gdb.arch/i386-permbkpt.exp
12133 * gdb.arch/pa-nullify.exp
12134 * gdb.arch/powerpc-d128-regs.exp
12135 * gdb.arch/vsx-regs.exp
12136 * gdb.base/bfp-test.exp
12137 * gdb.base/break.exp
12138 * gdb.base/breakpoint-shadow.exp
12139 * gdb.base/callfuncs.exp
12140 * gdb.base/charset.exp
12141 * gdb.base/commands.exp
12142 * gdb.base/completion.exp
12143 * gdb.base/dfp-test.exp
12144 * gdb.base/echo.exp
12145 * gdb.base/ending-run.exp
12146 * gdb.base/eval.exp
12147 * gdb.base/expand-psymtabs.exp
12148 * gdb.base/float128.exp
12149 * gdb.base/floatn.exp
12150 * gdb.base/foll-exec-mode.exp
12151 * gdb.base/gdb1056.exp
12152 * gdb.base/gdb11531.exp
12153 * gdb.base/kill-after-signal.exp
12154 * gdb.base/multi-forks.exp
12155 * gdb.base/overlays.exp
12156 * gdb.base/pending.exp
12157 * gdb.base/sepdebug.exp
12158 * gdb.base/testenv.exp
12159 * gdb.base/valgrind-db-attach.exp
12160 * gdb.base/watch_thread_num.exp
12161 * gdb.base/watchpoint-cond-gone.exp
12162 * gdb.base/watchpoint.exp
12163 * gdb.base/watchpoints.exp
12164 * gdb.cp/arg-reference.exp
12165 * gdb.cp/baseenum.exp
12166 * gdb.cp/operator.exp
12167 * gdb.cp/shadow.exp
12168 * gdb.dwarf2/dw2-op-out-param.exp
12169 * gdb.dwarf2/dw2-reg-undefined.exp
12170 * gdb.go/chan.exp
12171 * gdb.go/hello.exp
12172 * gdb.go/integers.exp
12173 * gdb.go/methods.exp
12174 * gdb.go/package.exp
12175 * gdb.guile/scm-parameter.exp
12176 * gdb.guile/scm-progspace.exp
12177 * gdb.guile/scm-value.exp
12178 * gdb.mi/mi-pending.exp
12179 * gdb.mi/user-selected-context-sync.exp
12180 * gdb.multi/multi-attach.exp
12181 * gdb.multi/tids.exp
12182 * gdb.opt/clobbered-registers-O2.exp
12183 * gdb.pascal/floats.exp
12184 * gdb.pascal/integers.exp
12185 * gdb.python/py-block.exp
12186 * gdb.python/py-events.exp
12187 * gdb.python/py-parameter.exp
12188 * gdb.python/py-symbol.exp
12189 * gdb.python/py-symtab.exp
12190 * gdb.python/py-type.exp
12191 * gdb.python/py-value.exp
12192 * gdb.python/py-xmethods.exp
12193 * gdb.python/python.exp
12194 * gdb.reverse/break-precsave.exp
12195 * gdb.reverse/consecutive-precsave.exp
12196 * gdb.reverse/finish-precsave.exp
12197 * gdb.reverse/i386-precsave.exp
12198 * gdb.reverse/machinestate-precsave.exp
12199 * gdb.reverse/sigall-precsave.exp
12200 * gdb.reverse/solib-precsave.exp
12201 * gdb.reverse/step-precsave.exp
12202 * gdb.reverse/until-precsave.exp
12203 * gdb.reverse/watch-precsave.exp
12204 * gdb.server/ext-attach.exp
12205 * gdb.server/ext-restart.exp
12206 * gdb.server/ext-run.exp
12207 * gdb.server/ext-wrapper.exp
12208 * gdb.stabs/gdb11479.exp
12209 * gdb.stabs/weird.exp
12210 * gdb.threads/attach-many-short-lived-threads.exp
12211 * gdb.threads/kill.exp
12212 * gdb.threads/watchpoint-fork.exp
12213
12214 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
12215
12216 Fix test names starting with uppercase throughout all the files below.
12217
12218 * gdb.ada/array_return.exp
12219 * gdb.ada/catch_ex.exp
12220 * gdb.ada/info_exc.exp
12221 * gdb.ada/mi_catch_ex.exp
12222 * gdb.ada/mi_dyn_arr.exp
12223 * gdb.ada/mi_ex_cond.exp
12224 * gdb.ada/mi_exc_info.exp
12225 * gdb.ada/mi_interface.exp
12226 * gdb.ada/mi_task_arg.exp
12227 * gdb.ada/mi_task_info.exp
12228 * gdb.ada/mi_var_array.exp
12229 * gdb.arch/alpha-step.exp
12230 * gdb.arch/amd64-disp-step.exp
12231 * gdb.arch/arm-disp-step.exp
12232 * gdb.arch/disp-step-insn-reloc.exp
12233 * gdb.arch/e500-prologue.exp
12234 * gdb.arch/ftrace-insn-reloc.exp
12235 * gdb.arch/gdb1558.exp
12236 * gdb.arch/i386-bp_permanent.exp
12237 * gdb.arch/i386-disp-step.exp
12238 * gdb.arch/i386-float.exp
12239 * gdb.arch/i386-gnu-cfi.exp
12240 * gdb.arch/ia64-breakpoint-shadow.exp
12241 * gdb.arch/mips16-thunks.exp
12242 * gdb.arch/pa-nullify.exp
12243 * gdb.arch/powerpc-aix-prologue.exp
12244 * gdb.arch/powerpc-power.exp
12245 * gdb.arch/ppc-dfp.exp
12246 * gdb.arch/s390-tdbregs.exp
12247 * gdb.arch/spu-info.exp
12248 * gdb.arch/spu-ls.exp
12249 * gdb.arch/thumb-bx-pc.exp
12250 * gdb.base/advance.exp
12251 * gdb.base/annota-input-while-running.exp
12252 * gdb.base/arrayidx.exp
12253 * gdb.base/asmlabel.exp
12254 * gdb.base/async.exp
12255 * gdb.base/attach-wait-input.exp
12256 * gdb.base/auto-connect-native-target.exp
12257 * gdb.base/batch-preserve-term-settings.exp
12258 * gdb.base/bfp-test.exp
12259 * gdb.base/bigcore.exp
12260 * gdb.base/bp-permanent.exp
12261 * gdb.base/break-always.exp
12262 * gdb.base/break-fun-addr.exp
12263 * gdb.base/break-idempotent.exp
12264 * gdb.base/break-main-file-remove-fail.exp
12265 * gdb.base/break-probes.exp
12266 * gdb.base/break-unload-file.exp
12267 * gdb.base/break.exp
12268 * gdb.base/call-ar-st.exp
12269 * gdb.base/call-rt-st.exp
12270 * gdb.base/call-sc.exp
12271 * gdb.base/call-signal-resume.exp
12272 * gdb.base/call-strs.exp
12273 * gdb.base/callexit.exp
12274 * gdb.base/callfuncs.exp
12275 * gdb.base/catch-gdb-caused-signals.exp
12276 * gdb.base/catch-signal-siginfo-cond.exp
12277 * gdb.base/catch-syscall.exp
12278 * gdb.base/compare-sections.exp
12279 * gdb.base/cond-eval-mode.exp
12280 * gdb.base/condbreak-call-false.exp
12281 * gdb.base/consecutive-step-over.exp
12282 * gdb.base/cursal.exp
12283 * gdb.base/disabled-location.exp
12284 * gdb.base/disasm-end-cu.exp
12285 * gdb.base/display.exp
12286 * gdb.base/double-prompt-target-event-error.exp
12287 * gdb.base/dprintf-bp-same-addr.exp
12288 * gdb.base/dprintf-detach.exp
12289 * gdb.base/dprintf-next.exp
12290 * gdb.base/dprintf-non-stop.exp
12291 * gdb.base/dprintf-pending.exp
12292 * gdb.base/dso2dso.exp
12293 * gdb.base/ending-run.exp
12294 * gdb.base/enum_cond.exp
12295 * gdb.base/examine-backward.exp
12296 * gdb.base/exe-lock.exp
12297 * gdb.base/exec-invalid-sysroot.exp
12298 * gdb.base/execl-update-breakpoints.exp
12299 * gdb.base/execution-termios.exp
12300 * gdb.base/fileio.exp
12301 * gdb.base/fixsection.exp
12302 * gdb.base/foll-exec-mode.exp
12303 * gdb.base/foll-exec.exp
12304 * gdb.base/fork-running-state.exp
12305 * gdb.base/frame-args.exp
12306 * gdb.base/fullpath-expand.exp
12307 * gdb.base/func-ptr.exp
12308 * gdb.base/gcore-relro-pie.exp
12309 * gdb.base/gdb1090.exp
12310 * gdb.base/gdb1555.exp
12311 * gdb.base/global-var-nested-by-dso.exp
12312 * gdb.base/gnu-ifunc.exp
12313 * gdb.base/hbreak-in-shr-unsupported.exp
12314 * gdb.base/hbreak-unmapped.exp
12315 * gdb.base/hook-stop.exp
12316 * gdb.base/infcall-input.exp
12317 * gdb.base/info-fun.exp
12318 * gdb.base/info-shared.exp
12319 * gdb.base/interrupt-noterm.exp
12320 * gdb.base/jit-so.exp
12321 * gdb.base/jit.exp
12322 * gdb.base/line-symtabs.exp
12323 * gdb.base/list.exp
12324 * gdb.base/longjmp.exp
12325 * gdb.base/macscp.exp
12326 * gdb.base/max-value-size.exp
12327 * gdb.base/nodebug.exp
12328 * gdb.base/nofield.exp
12329 * gdb.base/overlays.exp
12330 * gdb.base/paginate-after-ctrl-c-running.exp
12331 * gdb.base/paginate-bg-execution.exp
12332 * gdb.base/paginate-inferior-exit.exp
12333 * gdb.base/pending.exp
12334 * gdb.base/pr11022.exp
12335 * gdb.base/printcmds.exp
12336 * gdb.base/ptr-typedef.exp
12337 * gdb.base/ptype.exp
12338 * gdb.base/randomize.exp
12339 * gdb.base/range-stepping.exp
12340 * gdb.base/realname-expand.exp
12341 * gdb.base/relativedebug.exp
12342 * gdb.base/remote.exp
12343 * gdb.base/savedregs.exp
12344 * gdb.base/sepdebug.exp
12345 * gdb.base/set-noassign.exp
12346 * gdb.base/shlib-call.exp
12347 * gdb.base/shreloc.exp
12348 * gdb.base/sigaltstack.exp
12349 * gdb.base/sigbpt.exp
12350 * gdb.base/siginfo-addr.exp
12351 * gdb.base/siginfo-obj.exp
12352 * gdb.base/siginfo-thread.exp
12353 * gdb.base/signest.exp
12354 * gdb.base/signull.exp
12355 * gdb.base/sigrepeat.exp
12356 * gdb.base/skip.exp
12357 * gdb.base/so-impl-ld.exp
12358 * gdb.base/solib-corrupted.exp
12359 * gdb.base/solib-disc.exp
12360 * gdb.base/solib-display.exp
12361 * gdb.base/solib-overlap.exp
12362 * gdb.base/solib-search.exp
12363 * gdb.base/solib-symbol.exp
12364 * gdb.base/source-execution.exp
12365 * gdb.base/sss-bp-on-user-bp-2.exp
12366 * gdb.base/sss-bp-on-user-bp.exp
12367 * gdb.base/stack-checking.exp
12368 * gdb.base/stale-infcall.exp
12369 * gdb.base/step-break.exp
12370 * gdb.base/step-line.exp
12371 * gdb.base/step-over-exit.exp
12372 * gdb.base/step-test.exp
12373 * gdb.base/structs.exp
12374 * gdb.base/sym-file.exp
12375 * gdb.base/symtab-search-order.exp
12376 * gdb.base/term.exp
12377 * gdb.base/type-opaque.exp
12378 * gdb.base/unload.exp
12379 * gdb.base/until-nodebug.exp
12380 * gdb.base/until.exp
12381 * gdb.base/unwindonsignal.exp
12382 * gdb.base/watch-cond.exp
12383 * gdb.base/watch-non-mem.exp
12384 * gdb.base/watch_thread_num.exp
12385 * gdb.base/watchpoint-reuse-slot.exp
12386 * gdb.base/watchpoint-solib.exp
12387 * gdb.base/watchpoint.exp
12388 * gdb.btrace/dlopen.exp
12389 * gdb.cell/arch.exp
12390 * gdb.cell/break.exp
12391 * gdb.cell/bt.exp
12392 * gdb.cell/core.exp
12393 * gdb.cell/data.exp
12394 * gdb.cell/dwarfaddr.exp
12395 * gdb.cell/ea-cache.exp
12396 * gdb.cell/ea-standalone.exp
12397 * gdb.cell/ea-test.exp
12398 * gdb.cell/f-regs.exp
12399 * gdb.cell/fork.exp
12400 * gdb.cell/gcore.exp
12401 * gdb.cell/mem-access.exp
12402 * gdb.cell/ptype.exp
12403 * gdb.cell/registers.exp
12404 * gdb.cell/sizeof.exp
12405 * gdb.cell/solib-symbol.exp
12406 * gdb.cell/solib.exp
12407 * gdb.compile/compile-tls.exp
12408 * gdb.cp/exception.exp
12409 * gdb.cp/gdb2495.exp
12410 * gdb.cp/local.exp
12411 * gdb.cp/mb-inline.exp
12412 * gdb.cp/mb-templates.exp
12413 * gdb.cp/pr10687.exp
12414 * gdb.cp/pr9167.exp
12415 * gdb.cp/scope-err.exp
12416 * gdb.cp/templates.exp
12417 * gdb.cp/virtfunc.exp
12418 * gdb.dwarf2/dw2-dir-file-name.exp
12419 * gdb.dwarf2/dw2-single-line-discriminators.exp
12420 * gdb.fortran/complex.exp
12421 * gdb.fortran/library-module.exp
12422 * gdb.guile/guile.exp
12423 * gdb.guile/scm-cmd.exp
12424 * gdb.guile/scm-frame-inline.exp
12425 * gdb.guile/scm-objfile.exp
12426 * gdb.guile/scm-pretty-print.exp
12427 * gdb.guile/scm-symbol.exp
12428 * gdb.guile/scm-type.exp
12429 * gdb.guile/scm-value.exp
12430 * gdb.linespec/keywords.exp
12431 * gdb.linespec/ls-errs.exp
12432 * gdb.linespec/macro-relative.exp
12433 * gdb.linespec/thread.exp
12434 * gdb.mi/mi-breakpoint-changed.exp
12435 * gdb.mi/mi-dprintf-pending.exp
12436 * gdb.mi/mi-fullname-deleted.exp
12437 * gdb.mi/mi-logging.exp
12438 * gdb.mi/mi-pending.exp
12439 * gdb.mi/mi-solib.exp
12440 * gdb.mi/new-ui-mi-sync.exp
12441 * gdb.mi/user-selected-context-sync.exp
12442 * gdb.multi/dummy-frame-restore.exp
12443 * gdb.multi/multi-arch-exec.exp
12444 * gdb.multi/remove-inferiors.exp
12445 * gdb.multi/watchpoint-multi-exit.exp
12446 * gdb.opt/solib-intra-step.exp
12447 * gdb.perf/backtrace.exp
12448 * gdb.perf/single-step.exp
12449 * gdb.perf/skip-command.exp
12450 * gdb.perf/skip-prologue.exp
12451 * gdb.perf/solib.exp
12452 * gdb.python/lib-types.exp
12453 * gdb.python/py-as-string.exp
12454 * gdb.python/py-bad-printers.exp
12455 * gdb.python/py-block.exp
12456 * gdb.python/py-breakpoint.exp
12457 * gdb.python/py-cmd.exp
12458 * gdb.python/py-events.exp
12459 * gdb.python/py-evthreads.exp
12460 * gdb.python/py-finish-breakpoint.exp
12461 * gdb.python/py-finish-breakpoint2.exp
12462 * gdb.python/py-frame-inline.exp
12463 * gdb.python/py-frame.exp
12464 * gdb.python/py-inferior.exp
12465 * gdb.python/py-infthread.exp
12466 * gdb.python/py-mi.exp
12467 * gdb.python/py-objfile.exp
12468 * gdb.python/py-pp-maint.exp
12469 * gdb.python/py-pp-registration.exp
12470 * gdb.python/py-prettyprint.exp
12471 * gdb.python/py-recurse-unwind.exp
12472 * gdb.python/py-shared.exp
12473 * gdb.python/py-symbol.exp
12474 * gdb.python/py-symtab.exp
12475 * gdb.python/py-template.exp
12476 * gdb.python/py-type.exp
12477 * gdb.python/py-unwind-maint.exp
12478 * gdb.python/py-unwind.exp
12479 * gdb.python/py-value.exp
12480 * gdb.python/python.exp
12481 * gdb.reverse/finish-reverse-bkpt.exp
12482 * gdb.reverse/insn-reverse.exp
12483 * gdb.reverse/next-reverse-bkpt-over-sr.exp
12484 * gdb.reverse/solib-precsave.exp
12485 * gdb.reverse/solib-reverse.exp
12486 * gdb.stabs/gdb11479.exp
12487 * gdb.stabs/weird.exp
12488 * gdb.threads/fork-child-threads.exp
12489 * gdb.threads/fork-plus-threads.exp
12490 * gdb.threads/fork-thread-pending.exp
12491 * gdb.threads/forking-threads-plus-breakpoint.exp
12492 * gdb.threads/hand-call-in-threads.exp
12493 * gdb.threads/interrupted-hand-call.exp
12494 * gdb.threads/linux-dp.exp
12495 * gdb.threads/local-watch-wrong-thread.exp
12496 * gdb.threads/next-while-other-thread-longjmps.exp
12497 * gdb.threads/non-ldr-exit.exp
12498 * gdb.threads/pending-step.exp
12499 * gdb.threads/print-threads.exp
12500 * gdb.threads/process-dies-while-detaching.exp
12501 * gdb.threads/process-dies-while-handling-bp.exp
12502 * gdb.threads/pthreads.exp
12503 * gdb.threads/queue-signal.exp
12504 * gdb.threads/reconnect-signal.exp
12505 * gdb.threads/signal-command-handle-nopass.exp
12506 * gdb.threads/signal-command-multiple-signals-pending.exp
12507 * gdb.threads/signal-delivered-right-thread.exp
12508 * gdb.threads/signal-sigtrap.exp
12509 * gdb.threads/sigthread.exp
12510 * gdb.threads/staticthreads.exp
12511 * gdb.threads/stepi-random-signal.exp
12512 * gdb.threads/thread-unwindonsignal.exp
12513 * gdb.threads/thread_check.exp
12514 * gdb.threads/thread_events.exp
12515 * gdb.threads/tid-reuse.exp
12516 * gdb.threads/tls-nodebug.exp
12517 * gdb.threads/tls-shared.exp
12518 * gdb.threads/tls-so_extern.exp
12519 * gdb.threads/tls.exp
12520 * gdb.threads/wp-replication.exp
12521 * gdb.trace/actions-changed.exp
12522 * gdb.trace/actions.exp
12523 * gdb.trace/backtrace.exp
12524 * gdb.trace/change-loc.exp
12525 * gdb.trace/collection.exp
12526 * gdb.trace/deltrace.exp
12527 * gdb.trace/disconnected-tracing.exp
12528 * gdb.trace/entry-values.exp
12529 * gdb.trace/ftrace-lock.exp
12530 * gdb.trace/ftrace.exp
12531 * gdb.trace/infotrace.exp
12532 * gdb.trace/mi-trace-frame-collected.exp
12533 * gdb.trace/mi-trace-unavailable.exp
12534 * gdb.trace/mi-traceframe-changed.exp
12535 * gdb.trace/mi-tracepoint-changed.exp
12536 * gdb.trace/mi-tsv-changed.exp
12537 * gdb.trace/no-attach-trace.exp
12538 * gdb.trace/packetlen.exp
12539 * gdb.trace/passc-dyn.exp
12540 * gdb.trace/passcount.exp
12541 * gdb.trace/pending.exp
12542 * gdb.trace/pr16508.exp
12543 * gdb.trace/qtro.exp
12544 * gdb.trace/range-stepping.exp
12545 * gdb.trace/read-memory.exp
12546 * gdb.trace/report.exp
12547 * gdb.trace/save-trace.exp
12548 * gdb.trace/signal.exp
12549 * gdb.trace/stap-trace.exp
12550 * gdb.trace/status-stop.exp
12551 * gdb.trace/strace.exp
12552 * gdb.trace/tfile.exp
12553 * gdb.trace/tfind.exp
12554 * gdb.trace/trace-break.exp
12555 * gdb.trace/trace-condition.exp
12556 * gdb.trace/trace-enable-disable.exp
12557 * gdb.trace/trace-mt.exp
12558 * gdb.trace/tracecmd.exp
12559 * gdb.trace/tracefile-pseudo-reg.exp
12560 * gdb.trace/tspeed.exp
12561 * gdb.trace/tstatus.exp
12562 * gdb.trace/tsv.exp
12563 * gdb.trace/unavailable.exp
12564 * gdb.trace/while-dyn.exp
12565 * gdb.trace/while-stepping.exp
12566 * lib/gdb-guile.exp
12567 * lib/gdb.exp
12568 * lib/mi-support.exp
12569 * lib/pascal.exp
12570 * lib/perftest.exp
12571 * lib/prelink-support.exp
12572 * lib/selftest-support.exp
12573
12574 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
12575
12576 * Makefile.in: Include disable-implicit-rules.mk.
12577
12578 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12579
12580 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
12581 non-byte-aligned bit fields.
12582
12583 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12584
12585 PR gdb/12616
12586 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
12587 respects the DW_AT_data_bit_offset attribute.
12588
12589 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
12590
12591 * gdb.base/default.exp: Fix output of "set language".
12592
12593 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
12594
12595 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
12596 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
12597 make.
12598 * configure.ac: Remove checks for the make program.
12599 * configure: Re-generate.
12600
12601 2016-11-16 Kevin Buettner <kevinb@redhat.com>
12602
12603 * gdb.python/py-recurse-unwind.c (main): Add loop.
12604 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
12605 to read_register() and gdb.parse_and_eval(). Make each code
12606 call a separate case that can be individually tested.
12607 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
12608 proc. Call cont_and_backtrace for each of the code paths that
12609 we want to test in the unwinder.
12610
12611 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
12612
12613 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
12614 the definition of struct S.
12615
12616 2016-11-11 Catherine Moore <clm@codesourcery.com>
12617
12618 * gdb.base/dump.exp: Identify verilog format dump tests as such.
12619
12620 2016-11-09 Pedro Alves <palves@redhat.com>
12621
12622 * gdb.base/commands.exp (runto_or_return): New procedure.
12623 (gdbvar_simple_if_test, gdbvar_simple_while_test)
12624 (gdbvar_complex_if_while_test, progvar_simple_if_test)
12625 (progvar_simple_while_test, progvar_complex_if_while_test)
12626 (if_while_breakpoint_command_test)
12627 (infrun_breakpoint_command_test, breakpoint_command_test)
12628 (user_defined_command_test, watchpoint_command_test)
12629 (test_command_prompt_position, redefine_hook_test)
12630 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
12631 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
12632 multi_line_input and multi_line. Remove gdb_expect and
12633 gdb_stop_suppressing_tests uses.
12634 * lib/gdb.exp (valnum_re): New global.
12635 (multi_line_input): New procedure.
12636
12637 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
12638
12639 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
12640 Remove.
12641 (test_setup): Define with proc_with_prefix.
12642 (test_cli_inferior): Likewise.
12643 (test_cli_thread): Likewise.
12644 (test_cli_frame): Likewise.
12645 (test_cli_select_frame): Likewise.
12646 (test_cli_up_down): Likewise.
12647 (test_mi_thread_select): Likewise.
12648 (test_mi_stack_select_frame): Likewise.
12649 (test_cli_in_mi_inferior): Likewise.
12650 (test_cli_in_mi_thread): Likewise.
12651 (test_cli_in_mi_frame): Likewise.
12652 (top level): Do not use with_test_prefix_procname.
12653
12654 2016-11-09 Pedro Alves <palves@redhat.com>
12655
12656 * gdb.base/commands.exp (gdbvar_simple_if_test)
12657 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
12658 (progvar_simple_if_test, progvar_simple_while_test)
12659 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
12660 (infrun_breakpoint_command_test, breakpoint_command_test)
12661 (user_defined_command_test, watchpoint_command_test)
12662 (test_command_prompt_position, deprecated_command_test)
12663 (bp_deleted_in_command, temporary_breakpoint_commands)
12664 (stray_arg0_test, source_file_with_indented_comment)
12665 (recursive_source_test, if_commands_test)
12666 (error_clears_commands_left, redefine_hook_test)
12667 (redefine_backtrace_test): Use proc_with_prefix.
12668 * lib/gdb.exp (proc_with_prefix): New proc.
12669
12670 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
12671
12672 * gdb.base/tui-layout.c: New file.
12673 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
12674 disassembly window contains very long lines.
12675
12676 2016-11-08 Tom Tromey <tom@tromey.com>
12677
12678 * gdb.python/py-value.exp (test_value_creation): Make "long" test
12679 depend on Python 2.
12680
12681 2016-11-08 Tom Tromey <tom@tromey.com>
12682
12683 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
12684 New method.
12685
12686 2016-10-29 Manish Goregaokar <manish@mozilla.com>
12687
12688 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
12689
12690 2016-10-27 Manish Goregaokar <manish@mozilla.com>
12691
12692 * gdb.rust/simple.rs: Add test for univariant enums without
12693 discriminants and for encoded struct-like enums.
12694
12695 2016-10-28 Pedro Alves <palves@redhat.com>
12696
12697 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
12698 gdb_test_multiple, tighten regexps and match symtabs and line
12699 tables incrementally.
12700
12701 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
12702
12703 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
12704 general.
12705
12706 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
12707
12708 * gdb.base/exec-invalid-sysroot.exp: New file.
12709
12710 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12711
12712 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
12713
12714 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12715
12716 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
12717
12718 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
12719
12720 * gdb.base/killed-outside.exp: Remove $options from a call to
12721 `prepare_for_testing'.
12722
12723 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12724
12725 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
12726 Change test message.
12727
12728 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12729
12730 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
12731 Update comment.
12732
12733 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12734
12735 * gdb.trace/mi-trace-save.exp: New file.
12736
12737 2016-10-13 Yao Qi <yao.qi@linaro.org>
12738
12739 * gdb.base/code_elim.exp (get_var_address): Remove.
12740 * gdb.base/relocate.exp: Likewise.
12741 * gdb.base/shreloc.exp: Likewise.
12742 * lib/gdb.exp (get_var_address): New.
12743
12744 2016-10-13 Yao Qi <yao.qi@linaro.org>
12745
12746 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
12747 floating point tests if $skip_float_test is false.
12748
12749 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
12750
12751 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
12752 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
12753 argc values.
12754 Add 1 to argc so we guarantee distinct initial/modified argc values.
12755
12756 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12757
12758 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
12759
12760 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12761
12762 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
12763 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
12764 * gdb.arch/vsx-regs.exp: Likewise.
12765
12766 2016-10-07 Yao Qi <yao.qi@linaro.org>
12767
12768 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
12769
12770 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
12771
12772 * gdb.python/python.exp: Test decode_line("*0").
12773
12774 2016-10-06 Doug Evans <dje@google.com>
12775
12776 * gdb.python/py-value.exp (test_value_creation): Add test for large
12777 unsigned 64-bit value.
12778
12779 2016-10-06 Tom Tromey <tom@tromey.com>
12780
12781 * gdb.compile/compile.exp: Change java tests to rust.
12782 * gdb.base/setshow.exp: Change java tests to rust.
12783 * gdb.base/default.exp: Remove java from language list.
12784 * README (Examples): Update language example.
12785 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
12786 test.
12787 * lib/gdb.exp (skip_java_tests): Remove.
12788 * lib/java.exp: Remove.
12789 * gdb.java: Remove.
12790
12791 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
12792
12793 * gdb.arch/mips-fcr.exp: New test.
12794 * gdb.arch/mips-fcr.c: Source for the new test.
12795
12796 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
12797
12798 * gdb.base/solib-disc.exp: Use `standard_output_file'
12799 throughout.
12800
12801 2016-10-06 Pedro Alves <palves@redhat.com>
12802
12803 * gdb.base/jit-simple-dl.c: New file.
12804 * gdb.base/jit-simple-jit.c: New file, factored out from ...
12805 * gdb.base/jit-simple.c: ... this.
12806 * gdb.base/jit-simple.exp (jit_run): Delete.
12807 (build_jit): New proc.
12808 (jit_test_reread): Recompile either the main program or the shared
12809 library, depending on what is being tested. Skip changing address
12810 if caller wants to. Compare before/after addresses. If testing
12811 standalone, explicitly load the binary. Test "maint info
12812 breakpoints".
12813 (top level): Add "standalone vs shared lib" and "change address"
12814 vs "same address" axes.
12815
12816 2016-10-06 Pedro Alves <palves@redhat.com>
12817
12818 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
12819 call.
12820 (jit_run): Delete.
12821 (jit_test_reread): Use with_test_prefix. Reload the main binary
12822 explicitly. Compare the before/after addresses of the JIT
12823 descriptor.
12824
12825 2016-08-15 Doug Evans <dje@google.com>
12826
12827 * gdb.xml/extra-regs.xml: Update, end field now required, default type
12828 for single bitfields is bool.
12829 * gdb.xml/tdesc-regs.exp: Ditto.
12830
12831 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12832
12833 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
12834
12835 2016-10-05 Yao Qi <yao.qi@linaro.org>
12836
12837 * lib/gdb.exp (support_complex_tests): Return zero if
12838 gdb_skip_float_test return true.
12839
12840 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
12841 Simon Marchi <simon.marchi@ericsson.com>
12842
12843 PR gdb/20487
12844 * gdb.mi/user-selected-context-sync.exp: New file.
12845 * gdb.mi/user-selected-context-sync.c: New file.
12846
12847 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
12848 Simon Marchi <simon.marchi@ericsson.com>
12849
12850 PR gdb/20487
12851 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
12852 =thread-select-event check.
12853
12854 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
12855
12856 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
12857 the compulsory L operand changes.
12858 * gdb.arch/powerpc-power.s: Likewise.
12859
12860 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12861
12862 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
12863 * gdb.base/jit-attach-pie.c: New file.
12864 * gdb.base/jit-attach-pie.exp: New file.
12865
12866 2016-09-28 Pedro Alves <palves@redhat.com>
12867
12868 * gdb.base/infcall-input.c: New file.
12869 * gdb.base/infcall-input.exp: New file.
12870
12871 2016-09-22 Yao Qi <yao.qi@linaro.org>
12872
12873 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
12874 (gdb_exit): Rename it to ...
12875 (gdbserver_gdb_exit): ... Close GDBserver.
12876 (gdb_exit): New proc, call gdbserver_gdb_exit.
12877 (mi_gdb_exit): Likewise.
12878
12879 2016-09-22 Yao Qi <yao.qi@linaro.org>
12880
12881 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
12882 path.
12883 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
12884 Remove duplication.
12885
12886 2016-09-22 Yao Qi <yao.qi@linaro.org>
12887
12888 * lib/gdbserver-support.exp: Check the existence of
12889 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
12890
12891 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
12892
12893 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
12894
12895 2016-09-21 Tom Tromey <tom@tromey.com>
12896
12897 PR gdb/20604:
12898 * gdb.base/quit.exp: New file.
12899
12900 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
12901
12902 * .gitignore: New file.
12903
12904 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
12905
12906 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
12907 throughout.
12908
12909 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12910
12911 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
12912
12913 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12914
12915 * gdb.cp/casts.cc (decltype): Move it ...
12916 (main): ... with its call to ...
12917 * gdb.cp/casts03.cc: ... a new file.
12918 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
12919
12920 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12921
12922 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
12923
12924 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
12925
12926 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
12927 and sync up the test with tests in gas/testsuite/gas/ppc.
12928 * gdb.arch/powerpc-power.exp: Likewise.
12929
12930 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12931
12932 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
12933
12934 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
12935 Jan Kratochvil <jan.kratochvil@redhat.com>
12936
12937 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
12938 make m1's definition to be different from m2's. Use 'dummy' as an
12939 argument for probe 'two'.
12940
12941 2016-09-10 Jon Beniston <jon@beniston.com>
12942
12943 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
12944 for sim target.
12945
12946 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
12947
12948 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
12949 variable declaration.
12950 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
12951 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
12952 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
12953 received HWCAP as its argument.
12954
12955 2016-09-06 Pedro Alves <palves@redhat.com>
12956
12957 * gdb.base/new-ui-pending-input.c: New file.
12958 * gdb.base/new-ui-pending-input.exp: New file.
12959 * gdb.exp (clear_gdb_spawn_id): New procedure.
12960 (with_spawn_id): Check whether gdb_spawn_id exists before
12961 referencing it. If gdb_spawn_id didn't exist on entry, clear it
12962 on exit.
12963
12964 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
12965
12966 * gdb.base/float128.c: New file.
12967 * gdb.base/float128.exp: Likewise.
12968 * gdb.base/floatn.c: Likewise.
12969 * gdb.base/floatn.exp: Likewise.
12970
12971 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
12972
12973 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
12974
12975 2016-09-05 Pedro Alves <palves@redhat.com>
12976
12977 PR backtrace/19927
12978 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
12979 unwinders are immediately called as side effect of "source" or
12980 "disable unwinder" commands.
12981 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
12982
12983 2016-09-02 Yao Qi <yao.qi@linaro.org>
12984
12985 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
12986 is true and $type is "float" or "double".
12987
12988 2016-09-02 Yao Qi <yao.qi@linaro.org>
12989
12990 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
12991 true.
12992 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
12993 * gdb.base/call-rt-st.exp: Likewise.
12994 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
12995 return value instead of gdb,skip_float_test.
12996 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
12997 (do_function_calls): Use its return value instead of
12998 gdb,skip_float_test.
12999 * gdb.base/finish.exp: Likewise.
13000 * gdb.base/funcargs.exp: Likewise.
13001 * gdb.base/return.exp: Likewise.
13002 * gdb.base/return2.exp: Likewise.
13003 * gdb.base/varargs.exp: Likewise.
13004 * lib/gdb.exp (gdb_skip_float_test): Change it to
13005 gdb_caching_proc. Detect the broken ptrace on arm-linux.
13006
13007 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
13008
13009 * gdb.multi/tids.exp: Test "thread apply all".
13010
13011 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13012
13013 * gdb.base/default.exp (tty): Remove.
13014
13015 2016-08-24 Kevin Buettner <kevinb@redhat.com>
13016
13017 * gdb.python/py-recurse-unwind.c: New file.
13018 * gdb.python/py-recurse-unwind.py: New file.
13019 * gdb.python/py-recurse-unwind.exp: New file.
13020
13021 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
13022
13023 * gdb.base/set-inferior-tty.exp: New file.
13024 * gdb.base/set-inferior-tty.c: New file.
13025
13026 2016-08-23 Pedro Alves <palves@redhat.com>
13027
13028 PR gdb/20494
13029 * gdb.base/new-ui-echo.c: New file.
13030 * gdb.base/new-ui-echo.exp: New file.
13031
13032 2016-08-23 Yao Qi <yao.qi@linaro.org>
13033
13034 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
13035 gdbserver_spawn.
13036 * gdb.server/connect-without-multi-process.exp (do_test):
13037 Likewise.
13038
13039 2016-08-23 Yao Qi <yao.qi@linaro.org>
13040
13041 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
13042 standalone_txt. Delete gdb_txt and standalone_txt on host
13043 and target. Spawn the binary on target. Copy files from
13044 target to host.
13045
13046 2016-08-22 Pedro Alves <palves@redhat.com>
13047
13048 PR gdb/20505
13049 * gdb.base/vdso-warning.exp: Test core dumps too. Use
13050 with_test_prefix. Factor out bits to ...
13051 (test_no_vdso): ... this new procedure.
13052
13053 2016-08-19 Carl Love <cel@us.ibm.com>
13054
13055 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
13056 maintaining separate logic for constructing the output path.
13057 * gdb.arch/powerpc-d128-regs.exp: Likewise.
13058 * gdb.arch/ppc-dfp.exp: Likewise.
13059 * gdb.arch/ppc-fp.exp: Likewise.
13060 * gdb.arch/vsx-regs.exp: Likewise.
13061 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
13062 binprefix for generating the additional binary files.
13063
13064 2016-08-19 Pedro Alves <palves@redhat.com>
13065
13066 * gdb.trace/mi-trace-frame-collected.exp
13067 (test_trace_frame_collected): On x32, expect two registers.
13068
13069 2016-08-18 Carl Love <cel@us.ibm.com>
13070
13071 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
13072 and sync up the test with tests in gas/testsuite/gas/ppc.
13073 * gdb.arch/powerpc-power.exp: Likewise.
13074
13075 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
13076
13077 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
13078 expected error message.
13079
13080 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
13081
13082 * gdb.multi/remove-inferiors.exp: New file.
13083 * gdb.multi/remove-inferiors.c: New file.
13084
13085 2016-08-12 Yao Qi <yao.qi@linaro.org>
13086
13087 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
13088 argument list.
13089
13090 2016-08-10 Pedro Alves <palves@redhat.com>
13091
13092 PR gdb/19187
13093 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
13094 setup_kfails.
13095
13096 2016-08-09 Pedro Alves <palves@redhat.com>
13097 Simon Marchi <simon.marchi@ericsson.com>
13098
13099 PR gdb/20418
13100 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
13101 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
13102
13103 2016-08-09 Pedro Alves <palves@redhat.com>
13104
13105 PR mi/20431
13106 * gdb.mi/mi-cmd-error.exp: New file.
13107
13108 2016-08-09 Pedro Alves <palves@redhat.com>
13109
13110 PR gdb/18653
13111 * gdb.base/signals-state-child.c: New file.
13112 * gdb.base/signals-state-child.exp: New file.
13113 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
13114
13115 2016-08-09 Pedro Alves <palves@redhat.com>
13116
13117 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
13118
13119 2016-08-03 Tom Tromey <tom@tromey.com>
13120
13121 PR python/18565:
13122 * gdb.python/py-frame-inline.exp: Add Frame.function test.
13123
13124 2016-08-01 Yao Qi <yao.qi@linaro.org>
13125
13126 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
13127 variable mode to "multi-process" if $multi_process is 1, otherwise
13128 set it to "single-process".
13129
13130 2016-08-01 Yao Qi <yao.qi@linaro.org>
13131
13132 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
13133 * gdb.cp/cpexprs.exp: Likewise.
13134 * gdb.cp/m-static.exp: Likewise.
13135
13136 2016-07-26 Tom Tromey <tom@tromey.com>
13137
13138 PR python/20190:
13139 * gdb.threads/tls.exp (check_thread_local): Add python symbol
13140 test.
13141
13142 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
13143
13144 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
13145 selecting assembly source files.
13146 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
13147 assembly source files.
13148 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
13149 assembly source files.
13150 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
13151 selecting assembly source files.
13152
13153 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
13154
13155 * gdb.base/new-ui.exp (do_test_invalid_args): New
13156 procedure.
13157
13158 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
13159
13160 * gdb.btrace/reconnect.c: New file.
13161 * gdb.btrace/reconnect.exp: New file.
13162
13163 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
13164
13165 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
13166 to test_catch_syscall_group.
13167 (test_catch_syscall_group): New.
13168
13169 2016-07-21 Tom Tromey <tom@tromey.com>
13170
13171 * gdb.rust/simple.rs (main): Use empty struct expression.
13172 * gdb.rust/simple.exp: Add tests for empty struct expression.
13173
13174 2016-07-21 Yao Qi <yao.qi@linaro.org>
13175
13176 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
13177 if gdb_skip_xml_test is true on some targets.
13178
13179 2016-07-21 Yao Qi <yao.qi@linaro.org>
13180
13181 * gdb.server/solib-list.exp: Unset last_loaded_file.
13182
13183 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13184
13185 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
13186 "step into captured_main (args)".
13187
13188 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13189
13190 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
13191
13192 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13193
13194 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
13195
13196 2016-07-19 Pedro Alves <palves@redhat.com>
13197
13198 * gdb.opt/inline-break.exp: Remove optimize=-O2.
13199 * gdb.opt/inline-bt.exp: Likewise.
13200 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
13201 additional_flags=-Winline.
13202 * gdb.opt/inline-locals.exp: Likewise.
13203 * gdb.opt/inline-markers.c (ATTR): Define.
13204 (inlined_fn): Use it.
13205
13206 2016-07-19 Yao Qi <yao.qi@linaro.org>
13207
13208 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
13209 (test_with_self): Remove some code. Remove argument executable.
13210 (top-level): Use do_self_tests.
13211
13212 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
13213 Don Breazeal <donb@codesourcery.com>
13214
13215 * gdb.base/maint.exp: Escape paths used in regular expressions.
13216 * gdb.stabs/weird.exp: Likewise.
13217
13218 2016-07-13 Tom Tromey <tom@tromey.com>
13219
13220 PR python/15620, PR python/18620:
13221 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
13222 (test_bkpt_events): New procs.
13223
13224 2016-07-13 Tom Tromey <tom@tromey.com>
13225
13226 PR python/17698:
13227 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
13228 test.
13229 (test_watchpoints): Likewise.
13230 (test_bkpt_pending): New proc.
13231
13232 2016-07-13 Tom Tromey <tom@tromey.com>
13233
13234 PR cli/18053:
13235 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
13236 completion test.
13237
13238 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13239
13240 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
13241 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
13242 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
13243 f_label.
13244 (g): Rename g_end_lbl to g_label.
13245 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
13246 low_pc and high_pc.
13247 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
13248
13249 2016-07-12 Tom Tromey <tom@tromey.com>
13250
13251 PR python/19293:
13252 * gdb.python/py-unwind-maint.exp: Update tests.
13253
13254 2016-07-12 Yao Qi <yao.qi@linaro.org>
13255
13256 * lib/selftest-support.exp (selftest_setup): Match the output
13257 when captured_main is inlined.
13258
13259 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
13260
13261 * gdb.fortran/derived-types.exp (result_line, result_line_2):
13262 New variables.
13263 (print this%a, print this%b, print this): New tests.
13264 * gdb.fortran/derived-types.f90 (this): New object and
13265 initialization.
13266
13267 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
13268
13269 * gdb.ada/arraydim.exp: Remove extra directory level in build
13270 directory.
13271
13272 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
13273
13274 * lib/ada.exp: Remove extra directory level in build directory.
13275 * gdb.ada/cond_lang.exp: Likewise.
13276 * gdb.ada/exec_changed.exp: Likewise.
13277 * gdb.ada/lang_switch.exp: Likewise.
13278
13279 2016-07-06 Manish Goregaokar <manish@mozilla.com>
13280
13281 * simple.rs: Add test for raw pointer subscripting.
13282 * simple.exp: Add test expectations.
13283
13284 2016-07-05 Yao Qi <yao.qi@linaro.org>
13285
13286 * gdb.mi/mi-reverse.exp: Match =record-started output.
13287
13288 2016-07-01 Pedro Alves <palves@redhat.com>
13289
13290 * gdb.base/jit-reader.exp (info_registers_current_frame): New
13291 procedure.
13292 (jit_reader_test): Test the jit reader's unwinder.
13293 * gdb.base/jithost.c (jit_function_00_code): New global.
13294 (main): Use memcpy to fill in the mmapped code, instead of poking
13295 bytes manually here.
13296 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
13297 value.
13298 (read_debug_info): Save the function's range.
13299 (read_sp): New function.
13300 (unwind_frame): Use it. Also unwind RBP.
13301 (get_frame_id): Use read_sp.
13302 (gdb_init_reader): Use calloc instead of malloc.
13303 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
13304 parameter. Use gdb_test_multiple.
13305
13306 2016-07-01 Pedro Alves <palves@redhat.com>
13307 Antoine Tremblay <antoine.tremblay@ericsson.com>
13308
13309 * gdb.threads/process-dies-while-detaching.c: New file.
13310 * gdb.threads/process-dies-while-detaching.exp: New file.
13311
13312 2016-07-01 Pedro Alves <palves@redhat.com>
13313
13314 * gdb.multi/watchpoint-multi-exit.c: New file.
13315 * gdb.multi/watchpoint-multi-exit.exp: New file.
13316
13317 2016-06-30 Pedro Alves <palves@redhat.com>
13318
13319 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
13320 unset inferior_spawn_id.
13321
13322 2016-06-30 Pedro Alves <palves@redhat.com>
13323
13324 * lib/mi-support.exp (default_mi_gdb_start): Declare global
13325 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
13326
13327 2016-06-29 Yao Qi <yao.qi@linaro.org>
13328
13329 * gdb.base/return.c: Add copyright header.
13330
13331 2016-06-29 Tom Tromey <tom@tromey.com>
13332
13333 PR python/20129:
13334 * gdb.python/py-framefilter.exp: Add tests for setting priority
13335 and disabling of non-existent frame filter.
13336
13337 2016-06-29 Yao Qi <yao.qi@linaro.org>
13338
13339 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
13340 0x0f07ff.
13341
13342 2016-06-28 Yao Qi <yao.qi@linaro.org>
13343
13344 * gdb.base/catch-syscall.exp: Remove check on isnative and target
13345 triplets. Start gdb, execute catch syscall, and continue. Check
13346 gdb's output to determine catch syscall is supported.
13347
13348 2016-06-27 Manish Goregaokar <manish@mozilla.com>
13349
13350 * gdb.rust/simple.rs: Add test for returning unit in a function.
13351 * gdb.rust/simple.exp: Add expectation for functions returning
13352 unit.
13353
13354 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
13355
13356 * gdb.python/py-breakpoint-create-fail.c,
13357 gdb.python/py-breakpoint-create-fail.exp,
13358 gdb.python/py-breakpoint-create-fail.py: New testcase.
13359
13360 2016-06-25 Manish Goregaokar <manish@mozilla.com>
13361
13362 PR gdb/20239
13363 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
13364 * gdb.rust/simple.exp: Add test expectations for new NonZero
13365 tests.
13366
13367 2016-06-24 David Taylor <dtaylor@emc.com>
13368
13369 * gdb.base/offsets.exp: New file.
13370 * gdb.base/offsets.c: New file.
13371
13372 2016-06-23 Tom Tromey <tom@tromey.com>
13373
13374 PR gdb/16483:
13375 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
13376 before any filters are loaded.
13377
13378 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
13379
13380 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
13381 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
13382 structs.
13383 * gdb.fortran/derived-type-function.exp: New file.
13384 * gdb.fortran/derived-type-function.f90: New file.
13385
13386
13387 2016-06-21 Pedro Alves <palves@redhat.com>
13388
13389 * gdb.base/new-ui.exp: New file.
13390 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
13391 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
13392 (with_spawn_id): New procedure.
13393
13394 2016-06-21 Pedro Alves <palves@redhat.com>
13395
13396 * gdb.mi/mi-exec-run.exp: New file.
13397
13398 2016-06-21 Pedro Alves <palves@redhat.com>
13399
13400 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
13401 breakpoint command's output on the main UI.
13402 (test_break): New procedure, factored out from calls in the top
13403 level.
13404 (top level): Use foreach_with_prefix to test MI as main UI and as
13405 separate UI.
13406
13407 2016-06-21 Pedro Alves <palves@redhat.com>
13408
13409 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
13410 (test_awatch_creation_and_listing)
13411 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
13412 Remove 'type' parameter.
13413 (test_watchpoint_all): New parameter mi_mode. Remove
13414 with_test_prefix.
13415 (top level): Use foreach_with_prefix, and add main/separate UI MI
13416 testing axis.
13417
13418 2016-06-21 Pedro Alves <palves@redhat.com>
13419
13420 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
13421 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
13422 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
13423 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
13424 (gdb_main_spawn_id, mi_spawn_id): Declare and
13425 comment.
13426 (mi_create_inferior_pty): New procedure,
13427 factored out from default_mi_gdb_start.
13428 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
13429 procedures.
13430 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
13431 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
13432 Use mi_create_inferior_pty.
13433 (mi_gdb_start): Use eval to pass down args list.
13434
13435 2016-06-21 Pedro Alves <palves@redhat.com>
13436
13437 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
13438 * gdb.opt/inline-cmds.exp: Add MI tests.
13439
13440 2016-06-21 Pedro Alves <palves@redhat.com>
13441
13442 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
13443
13444 2016-06-21 Pedro Alves <palves@redhat.com>
13445
13446 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
13447 (top level): Use it instead of mi_execute_to.
13448
13449 2016-06-21 Pedro Alves <palves@redhat.com>
13450
13451 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
13452 (cont_handler_str): New.
13453 (signal_stop_handler): Set stop_handler_str instead of printing to
13454 stdout.
13455 (continue_handler): Set cont_handler_str instead of printing to
13456 stdout.
13457 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
13458 mi_send_resuming_command. Print stop_handler_str and
13459 cont_handler_str instead of expecting the python events print
13460 directly.
13461
13462 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
13463
13464 * gdb.base/jit-reader.exp: New file.
13465 * gdb.base/jithost.c: New file.
13466 * gdb.base/jithost.h: New file.
13467 * gdb.base/jitreader.c : New file.
13468 * gdb.base/jit-protocol.h: New file.
13469
13470 2016-06-17 Yao Qi <yao.qi@linaro.org>
13471
13472 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
13473 parameters follow_fork and detach_on_fork. Set follow-fork-mode
13474 and detach-on-fork. Adjust tests.
13475 (top level): Invoke break_cond_on_syscall with combinations of
13476 syscall, follow-fork-mode and detach-on-fork.
13477
13478 2016-06-17 Yao Qi <yao.qi@linaro.org>
13479
13480 * gdb.base/step-over-exit.c: New.
13481 * gdb.base/step-over-exit.exp: New.
13482
13483 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
13484
13485 * gdb.base/float.exp: Add target check for nds32*-*-*.
13486 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
13487
13488 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
13489
13490 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
13491 for unsupported target features.
13492 * gdb.base/call-rt-st.exp: Likewise.
13493 * gdb.base/call-sc.exp: Likewise.
13494 * gdb.base/call-signal-resume.exp: Likewise.
13495 * gdb.base/call-strs.exp: Likewise.
13496 * gdb.base/callexit.exp: Likewise.
13497 * gdb.base/callfuncs.exp: Likewise.
13498 * gdb.base/nodebug.exp: Likewise.
13499 * gdb.base/printcmds.exp: Likewise.
13500 * gdb.base/ptype.exp: Likewise.
13501 * gdb.base/structs.exp: Likewise.
13502 * gdb.base/unwindonsignal.exp: Likewise.
13503 * gdb.cp/gdb2495.exp: Likewise.
13504 * gdb.cp/templates.exp: Likewise.
13505 * gdb.cp/virtfunc.exp: Likewise.
13506 * gdb.threads/hand-call-in-threads.exp: Likewise.
13507 * gdb.threads/interrupted-hand-call.exp: Likewise.
13508 * gdb.threads/thread-unwindonsignal.exp: Likewise.
13509
13510 2016-06-10 Tom Tromey <tom@tromey.com>
13511
13512 PR rust/20110:
13513 * gdb.rust/expr.exp: Add test for integer constant larger than
13514 i32.
13515
13516 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
13517
13518 * gdb.fortran/nested-funcs.exp: New.
13519 * gdb.fortran/nested-funcs.f90: New.
13520
13521 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
13522
13523 * gdb.base/examine-backward.c: New file.
13524 * gdb.base/examine-backward.exp: New file.
13525
13526 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
13527
13528 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
13529 matching.
13530
13531 2016-06-02 Tom Tromey <tom@tromey.com>
13532
13533 PR python/18984:
13534 * gdb.python/py-shared.exp: Add solib_name test.
13535
13536 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
13537
13538 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
13539
13540 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
13541
13542 PR c++/19893
13543 * gdb.dwarf2/implref.exp: Rename to...
13544 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
13545 * gdb.dwarf2/implref-array.c: New file.
13546 * gdb.dwarf2/implref-array.exp: Likewise.
13547 * gdb.dwarf2/implref-global.c: Likewise.
13548 * gdb.dwarf2/implref-global.exp: Likewise.
13549 * gdb.dwarf2/implref-struct.c: Likewise.
13550 * gdb.dwarf2/implref-struct.exp: Likewise.
13551
13552 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13553
13554 * gdb.trace/trace-condition.exp: Add 64bit tests.
13555
13556 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13557
13558 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
13559 bits types.
13560 (main): Adapt to 8 to 64 bits types.
13561 * gdb.trace/trace-condition.exp: Add new tests.
13562
13563 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13564
13565 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
13566
13567 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13568
13569 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
13570 Move condition tests...
13571 * gdb.trace/trace-condition.exp: Here.
13572
13573 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13574
13575 * gdb.trace/trace-condition.exp: Add counter-case tests.
13576
13577 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13578
13579 PR c++/15231
13580 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
13581 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
13582
13583 2016-05-27 Pedro Alves <palves@redhat.com>
13584
13585 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
13586 New procedure.
13587 (top level): Call it, and bail out of DejaGnu is known to be bad.
13588
13589 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
13590
13591 * gdb.base/whatis.c: Extend the test case.
13592 * gdb.base/whatis.exp: Add additional tests.
13593
13594 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13595
13596 * gdb.fortran/type.f90: Add pointer variable.
13597 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
13598
13599 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13600
13601 * gdb.fortran/vla-type.exp: Fix testcase name.
13602
13603 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13604
13605 * gdb.fortran/vla-type.exp: Access elements in nested structs.
13606
13607 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13608
13609 * gdb.fortran/type.f90: Add nested structures.
13610 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
13611 * gdb.fortran/derived-type.exp: Adapt expected output.
13612 * gdb.fortran/vla-type.exp: Adapt expected output.
13613
13614 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13615
13616 * gdb.fortran/whatis_type.exp: Adapt expected output.
13617
13618 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13619
13620 * gdb.fortran/print_type.exp: Fix expected output.
13621 * gdb.fortran/whatis_type.exp: Fix expected output.
13622
13623 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13624
13625 * gdb.fortran/whatis_type.exp: Use multi_line.
13626
13627 2016-05-24 Tom Tromey <tom@tromey.com>
13628
13629 PR python/17386:
13630 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
13631 use value as an index.
13632
13633 2016-05-23 Tom Tromey <tom@tromey.com>
13634
13635 PR python/17981:
13636 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
13637 no-breakpoint case.
13638
13639 2016-05-24 Pedro Alves <palves@redhat.com>
13640
13641 PR gdb/19828
13642 * gdb.threads/clone-attach-detach.c: New file.
13643 * gdb.threads/clone-attach-detach.exp: New file.
13644
13645 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
13646
13647 * gdb.base/annota-input-while-running.exp: Fix syntax error.
13648
13649 2016-05-23 Tom Tromey <tom@tromey.com>
13650
13651 PR python/19438, PR python/18393:
13652 * gdb.python/py-progspace.exp: Add "dir" test.
13653 * gdb.python/py-objfile.exp: Add "dir" test.
13654
13655 2016-05-23 Yao Qi <yao.qi@linaro.org>
13656
13657 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
13658 * gdb.arch/thumb2-it.exp: Likewise.
13659
13660 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
13661
13662 * gdb.mi/mi-threads-interrupt.c: New file.
13663 * gdb.mi/mi-threads-interrupt.exp: New file.
13664
13665 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
13666
13667 PR gdb/18077
13668 * gdb.mi/mi-async-run.exp: New file.
13669 * gdb.mi/mi-async-run.c: New file.
13670
13671 2016-05-17 Tom Tromey <tom@tromey.com>
13672 Manish Goregaokar <manishsmail@gmail.com>
13673
13674 * lib/rust-support.exp: New file.
13675 * lib/gdb.exp (skip_rust_tests): New proc.
13676 (build_executable_from_specs): Handle rust.
13677 * lib/future.exp (gdb_find_rustc): New proc.
13678 (gdb_default_target_compile): Handle rust.
13679 * gdb.rust/expr.exp: New file.
13680 * gdb.rust/generics.exp: New file.
13681 * gdb.rust/generics.rs: New file.
13682 * gdb.rust/methods.exp: New file.
13683 * gdb.rust/methods.rs: New file.
13684 * gdb.rust/modules.exp: New file.
13685 * gdb.rust/modules.rs: New file.
13686 * gdb.rust/simple.exp: New file.
13687 * gdb.rust/simple.rs: New file.
13688
13689 2016-05-17 Tom Tromey <tom@tromey.com>
13690
13691 * gdb.base/default.exp (set language): Add rust.
13692
13693 2016-05-17 Tom Tromey <tom@tromey.com>
13694
13695 * gdb.gdb/unittest.exp: New file.
13696
13697 2016-05-16 Yao Qi <yao.qi@linaro.org>
13698
13699 * gdb.base/batch-preserve-term-settings.exp: Remove variable
13700 shell_prompt. Update shell_prompt_re.
13701
13702 2016-05-12 Doug Evans <dje@google.com>
13703
13704 PR symtab/19999
13705 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
13706 $options when building executable.
13707 * gdb.dwarf2/fission-loclists-pie.S: New file.
13708 * gdb.dwarf2/fission-loclists-pie.exp: New file.
13709
13710 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
13711
13712 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
13713 of [is_remote target],
13714
13715 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
13716
13717 * lib/gdb.exp (use_gdb_stub): New procedure.
13718
13719 2016-05-03 Yunlian Jiang <yunlian@google.com>
13720 Doug Evans <dje@google.com>
13721
13722 PR symtab/19914
13723 * gdb.dwarf2/dwp-sepdebug.c: New file.
13724 * gdb.dwarf2/dwp-sepdebug.exp: New file.
13725
13726 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
13727
13728 * gdb.base/detach.exp: Remove is_remote check.
13729
13730 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
13731
13732 * gdb.base/annota-input-while-running.exp: Don't check for
13733 [is_remote target]. Enable annotations after running to main.
13734 Remove unused "set test..." line.
13735
13736 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
13737
13738 * gdb.trace/trace-enable-disable.exp: New file.
13739 * gdb.trace/trace-enable-disable.c: New file.
13740
13741 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
13742
13743 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
13744 use it in info sharedlibrary test.
13745 * gdb.trace/ftrace-lock.exp: Likewise.
13746 * gdb.trace/ftrace.exp: Likewise.
13747 * gdb.trace/range-stepping.exp: Likewise.
13748 * gdb.trace/trace-break.exp: Likewise.
13749 * gdb.trace/trace-condition.exp: Likewise.
13750 * gdb.trace/trace-mt.exp: Likewise.
13751
13752 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
13753
13754 * lib/gdb.exp (gdb_load_shlibs): Rename to...
13755 (gdb_load_shlib): ... this.
13756 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
13757 gdb_load_shlib.
13758 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
13759 * gdb.base/ctxobj.exp: Likewise.
13760 * gdb.base/dprintf-pending.exp: Likewise.
13761 * gdb.base/dso2dso.exp: Likewise.
13762 * gdb.base/fixsection.exp: Likewise.
13763 * gdb.base/gcore-relro.exp: Likewise.
13764 * gdb.base/gdb1555.exp: Likewise.
13765 * gdb.base/global-var-nested-by-dso.exp: Likewise.
13766 * gdb.base/gnu-ifunc.exp: Likewise.
13767 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
13768 * gdb.base/jit-so.exp (one_jit_test): Likewise.
13769 * gdb.base/pending.exp: Likewise.
13770 * gdb.base/print-file-var.exp: Likewise.
13771 * gdb.base/print-symbol-loading.exp: Likewise.
13772 * gdb.base/shlib-call.exp: Likewise.
13773 * gdb.base/shreloc.exp: Likewise.
13774 * gdb.base/so-impl-ld.exp: Likewise.
13775 * gdb.base/solib-disc.exp: Likewise.
13776 * gdb.base/solib-nodir.exp: Likewise.
13777 * gdb.base/solib-overlap.exp: Likewise.
13778 * gdb.base/solib-symbol.exp: Likewise.
13779 * gdb.base/solib-weak.exp (do_test): Likewise.
13780 * gdb.base/sym-file.exp: Likewise.
13781 * gdb.base/symtab-search-order.exp: Likewise.
13782 * gdb.base/type-opaque.exp: Likewise.
13783 * gdb.base/unload.exp: Likewise.
13784 * gdb.base/watchpoint-solib.exp: Likewise.
13785 * gdb.compile/compile.exp: Likewise.
13786 * gdb.cp/gdb2384.exp: Likewise.
13787 * gdb.cp/infcall-dlopen.exp: Likewise.
13788 * gdb.cp/re-set-overloaded.exp: Likewise.
13789 * gdb.fortran/library-module.exp: Likewise.
13790 * gdb.opt/solib-intra-step.exp: Likewise.
13791 * gdb.python/py-finish-breakpoint.exp: Likewise.
13792 * gdb.python/py-shared.exp: Likewise.
13793 * gdb.reverse/solib-precsave.exp: Likewise.
13794 * gdb.reverse/solib-reverse.exp: Likewise.
13795 * gdb.server/solib-list.exp: Likewise.
13796 * gdb.threads/dlopen-libpthread.exp: Likewise.
13797 * gdb.threads/tls-shared.exp: Likewise.
13798 * gdb.threads/tls-so_extern.exp: Likewise.
13799 * gdb.trace/change-loc.exp: Likewise.
13800 * gdb.trace/ftrace-lock.exp: Likewise.
13801 * gdb.trace/ftrace.exp: Likewise.
13802 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
13803 * gdb.trace/pending.exp: Likewise.
13804 * gdb.trace/range-stepping.exp: Likewise.
13805 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
13806 (strace_info_marker): Likewise.
13807 (strace_probe_marker): Likewise.
13808 (strace_trace_on_same_addr): Likewise.
13809 (strace_trace_on_diff_addr): Likewise.
13810 * gdb.trace/trace-break.exp: Likewise.
13811 * gdb.trace/trace-condition.exp: Likewise.
13812 * gdb.trace/trace-mt.exp: Likewise.
13813
13814 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
13815
13816 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
13817 result of gdb_remote_download.
13818 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
13819 * gdb.base/dso2dso.exp: Likewise.
13820 * gdb.base/global-var-nested-by-dso.exp: Likewise.
13821 * gdb.base/print-file-var.exp: Likewise.
13822 * gdb.base/shlib-call.exp: Likewise.
13823 * gdb.base/shreloc.exp: Likewise.
13824 * gdb.base/solib-overlap.exp: Likewise.
13825 * gdb.base/solib-weak.exp (do_test): Likewise.
13826 * gdb.base/unload.exp: Likewise.
13827
13828 2016-04-27 Yao Qi <yao.qi@linaro.org>
13829
13830 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
13831 exists.
13832
13833 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13834
13835 * vla-type.exp: Print structure from toplevel.
13836
13837 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13838
13839 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
13840 of dynamic types.
13841 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
13842 of dynamic types.
13843
13844 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13845
13846 * gdb.fortran/vla-type.f90: New file.
13847 * gdb.fortran/vla-type.exp: New file.
13848
13849 2016-04-25 Yao Qi <yao.qi@linaro.org>
13850
13851 * gdb.base/branch-to-self.c: New file.
13852 * gdb.base/branch-to-self.exp: New file.
13853
13854 2016-04-22 Yao Qi <yao.qi@linaro.org>
13855
13856 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
13857 more after $hex.
13858
13859 2016-04-22 Yao Qi <yao.qi@linaro.org>
13860
13861 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
13862 * gdb.base/annota3.exp: Likewise.
13863
13864 2016-04-22 Yao Qi <yao.qi@linaro.org>
13865
13866 * gdb.reverse/step-precsave.exp: Do one step and test program
13867 stops in "callee" and do multiple steps until program goes out
13868 of "callee".
13869 * gdb.reverse/step-reverse.exp: Likewise.
13870
13871 2016-04-22 Yao Qi <yao.qi@linaro.org>
13872
13873 * gdb.trace/signal.exp: Also pass if
13874 $tracepoint_hits($i) > $iterations.
13875
13876 2016-04-22 Yao Qi <yao.qi@linaro.org>
13877
13878 * gdb.trace/signal.c: New file.
13879 * gdb.trace/signal.exp: New file.
13880
13881 2016-04-19 Doug Evans <xdje42@gmail.com>
13882
13883 * gdb.base/bad-file.exp: New file.
13884
13885 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
13886
13887 * gdb.dwarf2/implref.exp: New file.
13888
13889 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
13890
13891 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
13892 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
13893 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
13894 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
13895 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
13896 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
13897 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
13898 * lib/fortran.exp (fortran_int4): New procedure.
13899 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
13900 (fortran_logical4): Likewise.
13901
13902 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
13903
13904 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
13905
13906 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
13907
13908 * lib/compiler.c: Add Intel specific preprocessor macros.
13909 * lib/compiler.cc: Likewise.
13910
13911 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
13912
13913 * gdb.server/connect-with-no-symbol-file.c: New file.
13914 * gdb.server/connect-with-no-symbol-file.exp: New file.
13915
13916 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
13917
13918 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
13919
13920 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
13921
13922 * boards/gdbserver-base.exp (${board}_download): Copy source file to
13923 standard output directory.
13924
13925 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
13926
13927 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
13928
13929 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
13930
13931 * gdb.btrace/instruction_history.c (loop): Add declaration.
13932
13933 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13934
13935 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
13936
13937 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
13938
13939 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
13940 parentheses to print.
13941 (continue_handler): Likewise.
13942
13943 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
13944
13945 * gdb.server/solib-list.exp: Remove is_remote check.
13946 Pass shlib= to gdb_compile. Don't link shared library with
13947 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
13948 Run binary filename through "readlink -f" on the target.
13949
13950 2016-04-08 Pedro Alves <palves@redhat.com>
13951
13952 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
13953 interpreter filename as argument to gdbserver_spawn.
13954 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
13955 Return empty if $last_loaded_file does not exist.
13956
13957 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13958
13959 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
13960 * gdb.base/jit-main.c: Use exit after usage.
13961
13962 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13963
13964 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
13965 GDBHISTSIZE prior to the tests.
13966 * gdb.base/gdbinit-history.exp: Likewise.
13967
13968 2016-04-07 Pedro Alves <palves@redhat.com>
13969
13970 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
13971 instead of build_executable. Use gdb_load_shlibs.
13972
13973 2016-04-07 Yao Qi <yao.qi@linaro.org>
13974
13975 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
13976 Execute "si" command.
13977
13978 2016-04-07 Yao Qi <yao.qi@linaro.org>
13979
13980 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
13981 number instead of the comments on some line.
13982
13983 2016-04-06 Don Breazeal <donb@codesourcery.com>
13984
13985 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
13986 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
13987
13988 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
13989
13990 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
13991 standard_output_file. Remove unused binfile variable.
13992
13993 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
13994
13995 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
13996 * gdb.python/py-mi-objfile.exp: Match "list main" output
13997 in console format.
13998
13999 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
14000
14001 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
14002 absolute.
14003
14004 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
14005
14006 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
14007 absolute.
14008 * gdb.trace/ftrace.exp: Likewise.
14009 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
14010 targets as well.
14011 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
14012 (gdb_load_shlibs): Copy libraries to test directory when testing
14013 natively. Only set solib-search-path if testing remotely.
14014 * lib/mi-support.exp (mi_load_shlibs): Likewise.
14015
14016 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
14017
14018 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
14019 gdb_download. Use it even if the target is not remote.
14020 * gdb.base/jit.exp (compile_jit_test): Likewise.
14021 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
14022 output directory if the destination board is local, otherwise use
14023 the standard remote_download from DejaGnu.
14024 (gdb_download): Remove.
14025 (gdb_load_shlibs): Use gdb_remote_download instead of
14026 gdb_download.
14027 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
14028 Use gdb_remote_download instead of gdb_download. Use it even if
14029 the target is not remote.
14030 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
14031 instead of gdb_download.
14032
14033 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
14034
14035 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
14036 (test_insert_delete_modify): Call mi_load_shlibs before trying to
14037 run.
14038
14039 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
14040
14041 PR gdb/19820
14042 * gdb.base/printcmds.exp: Add artificial arrays tests.
14043
14044 2016-03-31 Pedro Alves <palves@redhat.com>
14045
14046 PR gdb/19858
14047 * gdb.base/jit-main.c: Include unistd.h.
14048 (ATTACH): Define to 0 if not already defined.
14049 (wait_for_gdb, mypid): New globals.
14050 (WAIT_FOR_GDB): New macro.
14051 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
14052 some breakpoint locations.
14053 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
14054 New procedures.
14055 (one_jit_test): Add REATTACH parameter, and handle it. Use
14056 continue_to_test_location.
14057 (top level): Test attach, and adjusts calls to one_jit_test.
14058
14059 2016-03-31 Pedro Alves <palves@redhat.com>
14060
14061 PR gdb/19858
14062 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
14063 BINSUFFIX parameter, and handle it.
14064 (top level): Adjust calls compile_jit_test.
14065
14066 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
14067
14068 PR python/19743
14069 * gdb.python/py-mi-events-gdb.py: New file.
14070 * gdb.python/py-mi-events.c: New file.
14071 * gdb.python/py-mi-events.exp: New file.
14072
14073 2016-03-30 Yao Qi <yao.qi@linaro.org>
14074
14075 * gdb.reverse/until-precsave.exp: Match function name only.
14076 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
14077 Move malloc to a condition block.
14078 * gdb.reverse/until-reverse.exp: Match function name only.
14079
14080 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
14081
14082 * gdb.trace/ftrace.exp: Set arg0exp for s390.
14083 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
14084 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
14085 variable for GPR 0 instead of assuming it is register 0.
14086 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
14087 * lib/trace-support.exp: Add s390 registers.
14088
14089 2016-03-29 Yao Qi <yao.qi@linaro.org>
14090
14091 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
14092
14093 2016-03-24 Yao Qi <yao.qi@linaro.org>
14094
14095 * gdb.reverse/break-reverse.exp: Add quotation mark in the
14096 test message.
14097
14098 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14099
14100 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
14101 maintaining separate logic for constructing the output path.
14102
14103 2016-03-16 Don Breazeal <donb@codesourcery.com>
14104
14105 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
14106 Retry fork and waitpid on interrupted system call errors.
14107 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14108 Use with_timeout_factor to increase timeout by factor of 10.
14109
14110 2016-03-15 Don Breazeal <donb@codesourcery.com>
14111
14112 * gdb.cp/scope-err.cc: New test program.
14113 * gdb.cp/scope-err.exp: New test script.
14114 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
14115 lines and "set breakpoint here" comment.
14116 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
14117 Fixed some whitespace and format issues.
14118 * gdb.mi/mi-linespec-err-cp.cc: New test program.
14119 * gdb.mi/mi-linespec-err-cp.exp: New test script.
14120
14121 2016-03-15 Doug Evans <dje@google.com>
14122
14123 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
14124 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
14125 All callers updated. Add tests for enums, mixed flags register.
14126
14127 2016-03-15 Doug Evans <dje@google.com>
14128
14129 * gdb.base/skip.c (main): Call test_skip_file_and_function.
14130 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
14131
14132 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
14133
14134 * gdb.base/default.exp: Add $_as_string to the list of expected
14135 convenience functions.
14136
14137 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
14138
14139 * gdb.base/maint.exp: New tests for 'maint info line-table'.
14140
14141 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
14142
14143 * gdb.python/py-as-string.exp: New file.
14144 * gdb.python/py-as-string.c: New file.
14145
14146 2016-03-09 Pedro Alves <palves@redhat.com>
14147
14148 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
14149 signal" -> "Thread NN received signal" output change.
14150 * gdb.threads/ia64-sigill.exp: Likewise.
14151 * gdb.threads/linux-dp.exp: Likewise.
14152 * gdb.threads/manythreads.exp: Likewise.
14153 * gdb.threads/pending-step.exp: Likewise.
14154 * gdb.threads/print-threads.exp: Likewise.
14155 * gdb.threads/sigstep-threads.exp: Likewise.
14156 * gdb.threads/staticthreads.exp: Likewise.
14157 * gdb.threads/tls.exp: Likewise.
14158
14159 2016-03-09 Pedro Alves <palves@redhat.com>
14160
14161 * gdb.base/command-line-input.exp: New file.
14162
14163 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14164
14165 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
14166 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
14167 * gdb.trace/pending.exp: Accept leading dot before function name.
14168 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
14169 * lib/trace-support.exp: Set registers for ppc.
14170
14171 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14172
14173 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
14174 use it for disassembly; accept .main in addition to main in backtrace.
14175
14176 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
14177 Marcin Kościelnicki <koriakin@0x04.net>
14178
14179 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
14180 (gdb_recursion_test_ptr): New global variable.
14181 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
14182 gdb_recursion_test.
14183 (gdb_c_test): Ditto.
14184
14185 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14186
14187 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
14188 ordering.
14189
14190 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14191
14192 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
14193 (bar): Add bar_start_lbl label.
14194 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
14195 of foo/bar for emitting DWARF and tracing.
14196
14197 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
14198
14199 * analyze-racy-logs.py: Set executable bit.
14200
14201 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
14202
14203 * Makefile.in (DEFAULT_RACY_ITER): New variable.
14204 (CHECK_TARGET_TMP): Likewise.
14205 (check-single-racy): New rule.
14206 (check-parallel-racy): Likewise.
14207 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
14208 (do-check-parallel-racy): New rule.
14209 (check-racy/%.exp): Likewise.
14210 * README (Racy testcases): New section.
14211 * analyze-racy-logs.py: New file.
14212
14213 2016-03-03 Doug Evans <dje@google.com>
14214
14215 * gdb.base/skip.exp: Use with_test_prefix.
14216
14217 2016-03-03 Yao Qi <yao.qi@linaro.org>
14218
14219 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
14220 Invoke step_over_syscall "clone" and break_cond_on_syscall
14221 "clone".
14222 * gdb.base/step-over-clone.c: New file.
14223
14224 2016-03-03 Yao Qi <yao.qi@linaro.org>
14225
14226 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
14227 code format.
14228
14229 2016-03-03 Yao Qi <yao.qi@linaro.org>
14230
14231 * gdb.base/disp-step-fork.c: Rename to ...
14232 * gdb.base/step-over-fork.c: ... it. New file.
14233 * gdb.base/disp-step-vfork.c: Rename to ...
14234 * gdb.base/step-over-vfork.c: ... it. New file.
14235 * gdb.base/disp-step-syscall.exp: Rename to ...
14236 * gdb.base/step-over-syscall.exp: ... it. New file.
14237 (disp_step_cross_syscall): Rename to ...
14238 (step_over_syscall): ... it.
14239
14240 2016-03-03 Yao Qi <yao.qi@linaro.org>
14241
14242 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
14243 If target supports condition evaluation on target, invoke
14244 break_cond_on_syscall for fork and vfork.
14245
14246 2016-03-03 Yao Qi <yao.qi@linaro.org>
14247
14248 * gdb.base/disp-step-syscall.exp: Don't invoke
14249 support_displaced_stepping.
14250 (disp_step_cross_syscall): Test with displaced stepping off and
14251 on if supported.
14252
14253 2016-03-03 Yao Qi <yao.qi@linaro.org>
14254
14255 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
14256 proc.
14257 (setup): New proc.
14258 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
14259 and setup.
14260
14261 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14262
14263 * gdb.fortran/vla-history.exp: Remove breakpoint.
14264
14265 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14266
14267 * gdb.fortran/vla-history.exp: Lookup array elements and printing
14268 exceeds timeout.
14269
14270 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14271
14272 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
14273 breakpoint.
14274
14275 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14276
14277 * gdb.mi/vla.f90: Nullify pointer after declaration.
14278
14279 2016-03-01 Pedro Alves <palves@redhat.com>
14280
14281 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
14282
14283 2016-03-01 Pedro Alves <palves@redhat.com>
14284
14285 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
14286 before anything else.
14287 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
14288 _GNU_SOURCE here.
14289 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
14290 before anything else.
14291 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
14292
14293 2016-03-01 Pedro Alves <palves@redhat.com>
14294
14295 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
14296
14297 2016-03-01 Yao Qi <yao.qi@linaro.org>
14298
14299 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
14300 prepare_for_testing.
14301
14302 2016-03-01 Yao Qi <yao.qi@linaro.org>
14303
14304 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
14305
14306 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
14307
14308 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
14309 manually constructing the output path.
14310
14311 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
14312
14313 * gdb.arch/s390-stackless.S: New.
14314 * gdb.arch/s390-stackless.exp: New.
14315
14316 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
14317
14318 * gdb.dlang/circular.c: New file.
14319 * gdb.dlang/circular.exp: New file.
14320
14321 2016-02-26 Yao Qi <yao.qi@linaro.org>
14322
14323 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
14324 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
14325 (testcases): Update.
14326
14327 2016-02-26 Yao Qi <yao.qi@linaro.org>
14328
14329 * gdb.reverse/aarch64.c: Rename to ...
14330 * gdb.reverse/insn-reverse.c: ... it.
14331 * gdb.reverse/aarch64.exp: Rename to ...
14332 * gdb.reverse/insn-reverse.exp: ... it.
14333
14334 2016-02-26 Yao Qi <yao.qi@linaro.org>
14335
14336 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
14337 (testcase_ftype): New.
14338 (testcases): New array.
14339 (n_testcases): New.
14340 (main): Call each element in testcases.
14341 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
14342 (read_testcase): New.
14343 Do the tests in a loop.
14344
14345 2016-02-25 Yao Qi <yao.qi@linaro.org>
14346
14347 * gdb.base/branches.c: Remove.
14348
14349 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14350
14351 PR gdb/13808
14352 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
14353
14354 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14355
14356 * gdb.trace/ftrace.exp: Remove unnecessary target check.
14357
14358 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14359
14360 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
14361 change x86_64 call_insn to 'callq'.
14362
14363 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14364
14365 * gdb.trace/tfile-avx.c: Move to...
14366 * gdb.trace/tracefile-pseudo-reg.c: Here.
14367 * gdb.trace/tfile-avx.exp: Move to...
14368 * gdb.trace/tracefile-pseudo-reg.exp: Here.
14369
14370 2016-02-24 Gary Benson <gbenson@redhat.com>
14371
14372 * gdb.base/attach-pie-noexec.exp: Do not expect an error
14373 message on attach.
14374
14375 2016-02-23 Doug Evans <dje@google.com>
14376
14377 * gdb.base/skip.c (test_skip): New function.
14378 (end_test_skip_file_and_function): New function.
14379 (test_skip_file_and_function): New function.
14380 * gdb.base/skip1.c (test_skip): New function.
14381 (skip1_test_skip_file_and_function): New function.
14382 * gdb.base/skip.exp: Add tests for new skip options.
14383 * gdb.base/skip-solib.exp: Update expected output.
14384 * gdb.perf/skip-command.cc: New file.
14385 * gdb.perf/skip-command.exp: New file.
14386 * gdb.perf/skip-command.py: New file.
14387
14388 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
14389
14390 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
14391 info registers pattern.
14392
14393 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
14394
14395 * lib/future.exp: Add D support.
14396 (gdb_find_gdc): New proc.
14397 (gdb_default_target_compile): Add D support.
14398
14399 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
14400
14401 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
14402 user+system time.
14403 (trace_speed_test): Determine the iteration count for a time
14404 between 15..30 seconds.
14405
14406 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
14407
14408 * gdb.arch/i386-mpx-sigsegv.c: New file.
14409 * gdb.arch/i386-mpx-sigsegv.exp: New file.
14410 * gdb.arch/i386-mpx-simple_segv.c: New file.
14411 * gdb.arch/i386-mpx-simple_segv.exp: New file.
14412
14413 2016-02-18 Yao Qi <yao.qi@linaro.org>
14414
14415 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14416 Don't call setup_kfail.
14417
14418 2016-02-18 Yao Qi <yao.qi@linaro.org>
14419
14420 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14421 Set "set breakpoint condition-evaluation" per $cond_bp_target.
14422
14423 2016-02-16 Doug Evans <dje@google.com>
14424
14425 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
14426 * gdb.base/skip1.c: Ditto.
14427 * gdb.base/skip.exp: Whitespace cleanup.
14428
14429 2016-02-16 Don Breazeal <donb@codesourcery.com>
14430
14431 PR remote/19496
14432 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14433 Remove kfail for PR remote/19496.
14434
14435 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
14436
14437 * lib/gdb.exp (standard_temp_file): Return a path specific to
14438 the runtest invocation.
14439
14440 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
14441
14442 * gdb.trace/save-trace.exp: Change relative path to be in the
14443 standard output directory.
14444
14445 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14446
14447 * gdb.arch/i386-prologue.c: Add missing prototypes.
14448
14449 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14450
14451 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
14452 * gdb.arch/i386-prologue.exp: Likewise.
14453 * gdb.arch/i386-size.exp: Likewise.
14454
14455 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
14456
14457 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
14458 define object file path.
14459 * gdb.btrace/gcore.exp: Use standard_output_file to define core
14460 file path.
14461 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
14462 standard_output_file to define binfile.
14463
14464 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14465
14466 Fix compatibility with recent gfortran-5.3.1.
14467 * gdb.fortran/vla-history.exp (print vla1 allocated)
14468 (print vla2 allocated, print $2, print $3): Remove
14469 (print $4): Rename to ...
14470 (print $2): ... here.
14471 (print $9): Rename to ...
14472 (print $5): ... here.
14473 (print $10): Rename to ...
14474 (print $6): ... here.
14475 * gdb.fortran/vla.f90: Add pvla initialization.
14476
14477 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14478
14479 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
14480 New test.
14481 * gdb.fortran/vla-value-sub.exp: Likewise.
14482
14483 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
14484
14485 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
14486
14487 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
14488
14489 * i386-biarch-core.exp: Define corefile using
14490 standard_output_file.
14491
14492 2016-02-12 Yao Qi <yao.qi@linaro.org>
14493
14494 * gdb.arch/arm-single-step-kernel-helper.c: New.
14495 * gdb.arch/arm-single-step-kernel-helper.exp: New.
14496
14497 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
14498
14499 * gdb.btrace/tailcall-only.exp: New.
14500 * gdb.btrace/tailcall-only.c: New.
14501 * gdb.btrace/x86_64-tailcall-only.S: New.
14502 * gdb.btrace/i686-tailcall-only.S: New.
14503
14504 2016-02-11 Pedro Alves <palves@redhat.com>
14505
14506 * README (Parallel testing): Add missing double quotes.
14507
14508 2016-02-11 Pedro Alves <palves@redhat.com>
14509
14510 * README (Parallel testing): New section.
14511 (GDB_PARALLEL): Rewrite.
14512 (FORCE_PARALLEL): Document.
14513
14514 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
14515
14516 * gdb.trace/tfile-avx.c: New test.
14517 * gdb.trace/tfile-avx.exp: New test.
14518
14519 2016-02-09 Keith Seitz <keiths@redhat.com>
14520
14521 PR breakpoints/19546
14522 * gdb.base/infcall-exec.c: New file.
14523 * gdb.base/infcall-exec2.c: New file.
14524 * gdb.base/infcall-exec.exp: New file.
14525
14526 2016-02-09 Keith Seitz <keiths@redhat.com>
14527
14528 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
14529 (toplevel): Call test_bkpt_address.
14530
14531 2016-02-09 Keith Seitz <keiths@redhat.com>
14532
14533 PR python/19506
14534 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
14535 (toplevel): Call test_bkpt_address.
14536
14537 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
14538
14539 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
14540 to AC_OUTPUT.
14541 * configure: Regenerate.
14542
14543 2016-02-09 Pedro Alves <palves@redhat.com>
14544
14545 PR breakpoints/19548
14546 * gdb.base/execl-update-breakpoints.c (some_function): New
14547 function.
14548 (main): Call it.
14549 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
14550 Tighten expected GDB output.
14551
14552 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
14553
14554 * Makefile.in (ALL_SUBDIRS): Remove.
14555 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
14556 (distclean maintainer-clean realclean): Likewise.
14557 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
14558 * configure: Regenerate.
14559 * gdb.ada/Makefile.in: Delete.
14560 * gdb.arch/Makefile.in: Likewise.
14561 * gdb.asm/Makefile.in: Likewise.
14562 * gdb.base/Makefile.in: Likewise.
14563 * gdb.btrace/Makefile.in: Likewise.
14564 * gdb.cell/Makefile.in: Likewise.
14565 * gdb.compile/Makefile.in: Likewise.
14566 * gdb.cp/Makefile.in: Likewise.
14567 * gdb.disasm/Makefile.in: Likewise.
14568 * gdb.dlang/Makefile.in: Likewise.
14569 * gdb.dwarf2/Makefile.in: Likewise.
14570 * gdb.fortran/Makefile.in: Likewise.
14571 * gdb.gdb/Makefile.in: Likewise.
14572 * gdb.go/Makefile.in: Likewise.
14573 * gdb.guile/Makefile.in: Likewise.
14574 * gdb.java/Makefile.in: Likewise.
14575 * gdb.linespec/Makefile.in: Likewise.
14576 * gdb.mi/Makefile.in: Likewise.
14577 * gdb.modula2/Makefile.in: Likewise.
14578 * gdb.multi/Makefile.in: Likewise.
14579 * gdb.objc/Makefile.in: Likewise.
14580 * gdb.opencl/Makefile.in: Likewise.
14581 * gdb.opt/Makefile.in: Likewise.
14582 * gdb.pascal/Makefile.in: Likewise.
14583 * gdb.perf/Makefile.in: Likewise.
14584 * gdb.python/Makefile.in: Likewise.
14585 * gdb.reverse/Makefile.in: Likewise.
14586 * gdb.server/Makefile.in: Likewise.
14587 * gdb.stabs/Makefile.in: Likewise.
14588 * gdb.threads/Makefile.in: Likewise.
14589 * gdb.trace/Makefile.in: Likewise.
14590 * gdb.xml/Makefile.in: Likewise.
14591 * lib/gdb.exp (make_gdb_parallel_path): Add check for
14592 GDB_PARALLEL.
14593 (standard_output_file): Remove check for GDB_PARALLEL, always
14594 return path in outputs/$subdir/$testname.
14595
14596 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
14597
14598 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
14599 (site.exp): Assign abs_srcdir to tcl's srcdir.
14600
14601 2016-02-04 Yao Qi <yao.qi@linaro.org>
14602
14603 * gdb.base/foll-exec-mode.c: Include limits.h.
14604 (main): Add parameters argc and argv. Get directory from
14605 argv[0].
14606 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
14607 compilation.
14608 * gdb.base/foll-exec.c: Include limits.h.
14609 (main): Add parameters argc and argv.
14610 Get directory from argv[0].
14611 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
14612 Adjust tests on the number of lines as source code changed.
14613 * gdb.base/foll-vfork-exit.c: Include limits.h.
14614 (main): Add one line of statement before vfork.
14615 * gdb.base/foll-vfork.c: Include limits.h and string.h.
14616 (main): Add parameters argc and argv. Get directory from
14617 argv[0].
14618 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
14619 (setup_gdb): Set tbreak to skip some source lines.
14620 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
14621 (main): Add parameters argc and argv. Get directory from
14622 argv[0].
14623 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
14624 compilation.
14625 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
14626 (main): Add parameters argc and argv. Get directory from
14627 argv[0].
14628 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
14629 compilation.
14630
14631 2016-02-01 Doug Evans <dje@google.com>
14632
14633 * gdb.base/skip.exp: Clean up multiple references to same test name.
14634
14635 2016-02-01 Pedro Alves <palves@redhat.com>
14636
14637 PR remote/19496
14638 * gdb.threads/forking-threads-plus-breakpoint.exp
14639 (displaced_stepping_supported): New global.
14640 (probe_displaced_stepping_support): New procedure.
14641 (do_test): Add 'displaced' parameter, and use it.
14642 (top level): Check for displaced stepping support. Add displaced
14643 stepping on/off testing axis.
14644
14645 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
14646
14647 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
14648 pointer. Don't perform further tests on the unassociated pointer
14649 if the first test fails.
14650
14651 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
14652
14653 * gdb.base/max-value-size.c: New file.
14654 * gdb.base/max-value-size.exp: New file.
14655 * gdb.base/huge.exp: Disable max-value-size for this test.
14656
14657 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
14658
14659 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
14660
14661 2016-01-28 Yao Qi <yao.qi@linaro.org>
14662
14663 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
14664
14665 2016-01-25 Pedro Alves <palves@redhat.com>
14666
14667 PR threads/19461
14668 * gdb.base/fork-running-state.c: New file.
14669 * gdb.base/fork-running-state.exp: New file.
14670
14671 2016-01-25 Pedro Alves <palves@redhat.com>
14672
14673 PR gdb/19494
14674 * gdb.base/catch-fork-kill.c: New file.
14675 * gdb.base/catch-fork-kill.exp: New file.
14676
14677 2016-01-25 Pedro Alves <palves@redhat.com>
14678
14679 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
14680 Delete, moved to lib/gdb.exp.
14681 * gdb.threads/forking-threads-plus-breakpoint.exp
14682 (foreach_with_prefix): Likewise.
14683 * gdb.threads/process-dies-while-handling-bp.exp
14684 (foreach_with_prefix): Likewise.
14685 * lib/gdb.exp (foreach_with_prefix): New procedure.
14686
14687 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
14688
14689 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
14690 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
14691
14692 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
14693
14694 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
14695 endian targets.
14696
14697 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14698 Pedro Alves <palves@redhat.com>
14699
14700 Fix testsuite compatibility with Guile.
14701 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
14702 number.
14703
14704 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14705
14706 Fix testsuite compatibility with Guile.
14707 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
14708 (thread 1): New test for backtrace through signal handler.
14709
14710 2016-01-22 Yao Qi <yao.qi@linaro.org>
14711
14712 PR testsuite/19491
14713 * gdb.base/multi-forks.c: Include
14714 ../lib/unbuffer_output.c
14715 (main): Call gdb_unbuffer_output.
14716
14717 2016-01-21 Doug Evans <dje@google.com>
14718
14719 * lib/ada.exp (gdb_compile_ada): Fix typo.
14720
14721 2016-01-21 Joel Brobecker <brobecker@adacore.com>
14722
14723 * gdb.base/break-fun-addr.exp: New file.
14724 * gdb.base/break-fun-addr1.c: New file.
14725 * gdb.base/break-fun-addr2.c: New file.
14726
14727 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
14728
14729 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
14730 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
14731 enum flag values.
14732
14733 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14734
14735 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
14736 when GDB can not set the vector return value. Add more comments
14737 for clarification.
14738
14739 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
14740
14741 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
14742 command.
14743
14744 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14745
14746 * Makefile.in (DO_RUNTEST): Add --status and update usages.
14747
14748 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14749
14750 * Makefile.in (check-single): Pass --status to runtest.
14751 (check/%.exp): Likewise.
14752
14753 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14754
14755 * Makefile.in (check-parallel): Propagate return code from make
14756 do-check-parallel.
14757
14758 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
14759
14760 * gdb.trace/ftrace.exp: Fix expected message on continue.
14761 * gdb.trace/pending.exp: Fix expected message on continue.
14762 * gdb.trace/trace-break.exp: Fix expected message on continue.
14763
14764 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
14765
14766 * lib/gdb.exp (gdb_test): Remove unused global references.
14767
14768 2016-01-18 Pedro Alves <palves@redhat.com>
14769
14770 * gdb.base/async-shell.exp: Adjust expected output.
14771 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
14772 * gdb.base/siginfo-thread.exp: Adjust expected output.
14773 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
14774 * gdb.java/jnpe.exp: Adjust expected output.
14775 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
14776 * gdb.threads/continue-pending-status.exp: Adjust expected output.
14777 * gdb.threads/leader-exit.exp: Adjust expected output.
14778 * gdb.threads/manythreads.exp: Adjust expected output.
14779 * gdb.threads/pthreads.exp: Adjust expected output.
14780 * gdb.threads/schedlock.exp: Adjust expected output.
14781 * gdb.threads/siginfo-threads.exp: Adjust expected output.
14782 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
14783 expected output.
14784 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
14785 output.
14786 * gdb.threads/sigthread.exp: Adjust expected output.
14787 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
14788
14789 2016-01-18 Yao Qi <yao.qi@linaro.org>
14790
14791 * gdb.guile/scm-section-script.c: Replace @progbits with
14792 %progbits.
14793 * gdb.python/py-section-script.c: Likewise.
14794
14795 2016-01-15 Pedro Alves <palves@redhat.com>
14796
14797 * gdb.multi/tids.exp: Test star wildcard ranges.
14798
14799 2016-01-15 Pedro Alves <palves@redhat.com>
14800
14801 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
14802 command from "thread apply" invocation.
14803 (thr_apply_info_thr_invalid): Default the expected output to the
14804 input tid list.
14805 (top level): Add tests that use convenience variables. Add tests
14806 for "thread apply" with a valid TID list, but missing the command.
14807
14808 2016-01-13 Pedro Alves <palves@redhat.com>
14809
14810 * gdb.base/default.exp: Expect $_gthread as well.
14811 * gdb.multi/tids.exp: Test $_gthread.
14812 * gdb.threads/thread-specific.exp: Test $_gthread.
14813
14814 2016-01-13 Pedro Alves <palves@redhat.com>
14815
14816 * gdb.multi/tids.exp: Test "info threads -gid".
14817
14818 2016-01-13 Pedro Alves <palves@redhat.com>
14819
14820 * gdb.multi/tids.exp: Test InferiorThread.global_num and
14821 Breakpoint.thread.
14822 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
14823
14824 2016-01-07 Pedro Alves <palves@redhat.com>
14825
14826 * gdb.base/break.exp: Adjust to output changes.
14827 * gdb.base/hbreak2.exp: Likewise.
14828 * gdb.base/sepdebug.exp: Likewise.
14829 * gdb.base/watch_thread_num.exp: Likewise.
14830 * gdb.linespec/keywords.exp: Likewise.
14831 * gdb.multi/info-threads.exp: Likewise.
14832 * gdb.threads/thread-find.exp: Likewise.
14833 * gdb.multi/tids.c: New file.
14834 * gdb.multi/tids.exp: New file.
14835
14836 2016-01-13 Pedro Alves <palves@redhat.com>
14837
14838 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
14839
14840 2016-01-13 Pedro Alves <palves@redhat.com>
14841
14842 * gdb.base/default.exp: Expect $_inferior as well.
14843 * gdb.multi/base.exp: Test $_inferior.
14844
14845 2016-01-13 Pedro Alves <palves@redhat.com>
14846
14847 PR breakpoints/19388
14848 * gdb.base/catch-signal-siginfo-cond.c: New file.
14849 * gdb.base/catch-signal-siginfo-cond.exp: New file.
14850
14851 2016-01-12 Josh Stone <jistone@redhat.com>
14852 Philippe Waroquiers <philippe.waroquiers@skynet.be>
14853
14854 * gdb.base/catch-syscall.c (do_execve): New variable.
14855 (main): Conditionally trigger an execve.
14856 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
14857 (test_catch_syscall_execve): New, check entry/return across execve.
14858 (do_syscall_tests): Call test_catch_syscall_execve.
14859
14860 2016-01-12 Pedro Alves <palves@redhat.com>
14861
14862 * gdb.base/random-signal.exp (do_test): New procedure, with body
14863 of testcase moved in.
14864
14865 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14866 Pedro Alves <palves@redhat.com>
14867
14868 * gdb.base/funcargs.exp (finish from indirectly called function):
14869 Reintroduce the case for 'First'.
14870
14871 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14872 Pedro Alves <palves@redhat.com>
14873
14874 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
14875 (tcatch_vfork_then_child_follow_exec)
14876 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
14877 identification.
14878
14879 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14880
14881 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
14882 and repeats to unlimited.
14883 * gdb.python/py-value.exp: Likewise.
14884 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
14885 and repeats to unlimited.
14886
14887 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14888
14889 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
14890 and reordering the functions.
14891 * gdb.multi/hangout.c: Likewise.
14892 * gdb.multi/hello.c: Likewise.
14893
14894 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
14895
14896 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
14897 absolute.
14898 (SingleStatisticTestResult.report): Use dict.keys instead of
14899 dict.iterkeys.
14900
14901 2016-01-06 Pedro Alves <palves@redhat.com>
14902
14903 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
14904
14905 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
14906
14907 * gdb.btrace/dlopen.exp: New.
14908 * gdb.btrace/dlopen.c: New.
14909 * gdb.btrace/dlopen-dso.c: New.
14910
14911 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
14912
14913 * lib/gdb.exp (gdb_test): Update comments to clarify that the
14914 PATTERN argument is optional.
14915
14916 2015-12-24 Joel Brobecker <brobecker@adacore.com>
14917
14918 * lib/ada.exp (target_compile_ada_from_dir): New function.
14919 (gdb_compile_ada): Reimplement avoiding the use of project files.
14920 * gdb.ada/gnat_ada.gpr: Delete.
14921 * gdb.ada/cond_lang.exp: Adjust test to make path before
14922 filename optional.
14923 * gdb.ada/small_reg_param.exp: Likewise.
14924
14925 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
14926
14927 * gdb.base/foll-vork.exp: Remove HP-UX special case.
14928
14929 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
14930
14931 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
14932 case.
14933
14934 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
14935
14936 * gdb.base/break.exp: Remove dead code.
14937 * gdb.base/sepdebug.exp: Likewise.
14938
14939 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
14940
14941 * gdb.asm/asm-source.exp: Remove HP-UX references.
14942 * gdb.base/annota1.exp: Likewise.
14943 * gdb.base/annota3.exp: Likewise.
14944 * gdb.base/attach.exp: Likewise.
14945 * gdb.base/bigcore.exp: Likewise.
14946 * gdb.base/break.exp: Likewise.
14947 * gdb.base/call-ar-st.exp: Likewise.
14948 * gdb.base/callfuncs.exp: Likewise.
14949 * gdb.base/catch-fork-static.exp: Likewise.
14950 * gdb.base/display.exp: Likewise.
14951 * gdb.base/foll-exec-mode.exp: Likewise.
14952 * gdb.base/foll-exec.exp: Likewise.
14953 * gdb.base/foll-fork.exp: Likewise.
14954 * gdb.base/foll-vfork.exp: Likewise.
14955 * gdb.base/funcargs.exp: Likewise.
14956 * gdb.base/hbreak2.exp: Likewise.
14957 * gdb.base/inferior-died.exp: Likewise.
14958 * gdb.base/interrupt.exp: Likewise.
14959 * gdb.base/multi-forks.exp: Likewise.
14960 * gdb.base/nodebug.exp: Likewise.
14961 * gdb.base/sepdebug.exp: Likewise.
14962 * gdb.base/solib1.c: Likewise.
14963 * gdb.base/step-test.exp: Likewise.
14964 * gdb.mi/non-stop.c: Likewise.
14965 * gdb.mi/pthreads.c: Likewise.
14966 * gdb.multi/bkpt-multi-exec.ex: Likewise.
14967 * gdb.threads/pthreads.c: Likewise.
14968 * gdb.threads/staticthreads.exp: Likewise.
14969 * lib/future.exp: Likewise.
14970 * lib/gdb.exp: Likewise.
14971 * gdb.base/so-indr-cl.c: Remove.
14972 * gdb.base/so-indr-cl.exp: Likewise.
14973 * gdb.base/solib.c: Likewise.
14974 * gdb.base/solib.exp: Likewise.
14975 * gdb.base/solib2.c: Likewise.
14976
14977 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
14978
14979 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
14980 * gdb.base/call-ar-st.exp: Likewise.
14981 * gdb.base/callfuncs.exp: Likewise.
14982 * gdb.base/condbreak.exp: Likewise.
14983 * gdb.base/constvars.exp: Likewise.
14984 * gdb.base/hbreak2.exp: Likewise.
14985 * gdb.base/langs.exp: Likewise.
14986 * gdb.base/list.exp: Likewise.
14987 * gdb.base/long_long.exp: Likewise.
14988 * gdb.base/ptype.exp: Likewise.
14989 * gdb.base/scope.exp: Likewise.
14990 * gdb.base/signals.exp: Likewise.
14991 * gdb.base/so-impl-ld.exp: Likewise.
14992 * gdb.base/varargs.exp: Likewise.
14993 * gdb.base/volatile.exp: Likewise.
14994 * gdb.base/whatis.exp: Likewise.
14995 * gdb.cp/cplusfuncs.exp: Likewise.
14996 * gdb.cp/inherit.exp: Likewise.
14997 * gdb.cp/local.exp: Likewise.
14998 * gdb.cp/member-ptr.exp: Likewise.
14999 * gdb.cp/method.exp: Likewise.
15000 * gdb.cp/overload.exp: Likewise.
15001 * gdb.cp/templates.exp: Likewise.
15002 * gdb.stabs/weird.exp: Likewise.
15003 * lib/compiler.c: Likewise.
15004 * lib/compiler.cc: Likewise.
15005 * lib/cp-support.exp: Likewise.
15006 * lib/gdb.exp: Likewise.
15007
15008 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
15009
15010 * configure.ac: Remove HP-UX case.
15011 * configure: Regenerate.
15012
15013 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
15014
15015 * lib/gdb.exp (gdb_compile): Add function doc.
15016
15017 2015-12-17 Pedro Alves <palves@redhat.com>
15018
15019 PR threads/19354
15020 * gdb.multi/info-threads.exp: New file.
15021
15022 2015-12-15 Yao Qi <yao.qi@linaro.org>
15023
15024 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
15025 is aarch64*-*-*.
15026
15027 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15028
15029 * gdb.base/history-duplicates.exp: Skip if no readline support.
15030
15031 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15032
15033 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
15034
15035 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15036
15037 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
15038
15039 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15040
15041 * gdb.base/completion.exp: Skip tests that interrupt GDB with
15042 ctrl-C if nointerrupts target property is set.
15043 * gdb.base/double-prompt-target-event-error.exp: Likewise.
15044 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
15045 * gdb.base/paginate-bg-execution.exp: Likewise.
15046 * gdb.base/paginate-execution-startup.exp: Likewise.
15047 * gdb.base/random-signal.exp: Likewise.
15048 * gdb.base/range-stepping.exp: Likewise.
15049 * gdb.cp/annota2.exp: Likewise.
15050 * gdb.cp/annota3.exp: Likewise.
15051 * gdb.gdb/selftest.exp: Likewise.
15052 * gdb.threads/continue-pending-status.exp: Likewise.
15053 * gdb.threads/leader-exit.exp: Likewise.
15054 * gdb.threads/manythreads.exp: Likewise.
15055 * gdb.threads/pthreads.exp: Likewise.
15056 * gdb.threads/schedlock.exp: Likewise.
15057 * gdb.threads/sigthread.exp: Likewise.
15058
15059 2015-12-11 Don Breazeal <donb@codesourcery.com>
15060
15061 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
15062 remote.
15063 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
15064 * gdb.base/foll-exec.exp (main): Enable for target remote.
15065 * gdb.base/foll-fork.exp (main): Likewise.
15066 * gdb.base/foll-vfork.exp (main): Likewise.
15067 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
15068 (proc continue_to_exit_bp_loc): Use clean_restart.
15069 * gdb.base/pie-execl.exp (main): Disable for target remote.
15070 * gdb.base/watch-vfork.exp (main): Enable for target remote.
15071 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
15072 * gdb.threads/execl.exp (main): Likewise.
15073 * gdb.threads/fork-child-threads.exp (main): Likewise.
15074 * gdb.threads/fork-plus-threads.exp (main): Disable for target
15075 remote.
15076 * gdb.threads/fork-thread-pending.exp (main): Enable for target
15077 remote.
15078 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
15079 pid.tid style ptids, instead of just tid.
15080 * gdb.threads/thread-execl.exp (main): Enable for target remote.
15081 * gdb.threads/watchpoint-fork.exp (main): Likewise.
15082 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
15083 ptids, instead of just tid.
15084
15085 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15086
15087 * gdb.base/list.exp (test_list_forward): Add end of file error
15088 test.
15089 (test_repeat_list_command): Add end of file error test.
15090 (test_list_backwards): Add beginning of file error test.
15091
15092 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15093
15094 * gdb.base/list.exp (test_list_invalid_args): New function,
15095 defined, and called.
15096
15097 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15098
15099 * gdb.base/list.exp (test_list): Make test names unique.
15100
15101 2015-12-11 Yao Qi <yao.qi@linaro.org>
15102
15103 * gdb.base/coremaker2.c: Remove.
15104
15105 2015-12-10 Pedro Alves <palves@redhat.com>
15106
15107 * gdb.multi/base.exp: Remove stale "spaces" references.
15108
15109 2015-12-10 Pedro Alves <palves@redhat.com>
15110
15111 * gdb.multi/base.exp: Don't use nowarnings.
15112 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
15113 * gdb.multi/hangout.c: Include stdio.h.
15114 * gdb.multi/hello.c: Include stdlib.h.
15115 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
15116 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
15117 * gdb.multi/multi-arch.exp: Don't use nowarnings.
15118
15119 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
15120
15121 * gdb.dwarf2/dw2-ranges-base.c: New file.
15122 * gdb.dwarf2/dw2-ranges-base.exp: New file.
15123 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
15124 support additional line table, and debug ranges generation.
15125 (Dwarf::ranges): New function, generate .debug_ranges.
15126 (Dwarf::lines): Support generating simple line table programs.
15127 (Dwarf::assemble): Initialise new namespace variables.
15128
15129 2015-12-09 Kevin Buettner <kevinb@redhat.com>
15130
15131 * gdb.base/async.exp (proc test_background): Add case for
15132 asynchronous execution not supported.
15133
15134 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
15135
15136 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
15137 format and change test names to make them unique.
15138
15139 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
15140 Pedro Alves <pedro@redhat.com>
15141
15142 PR gdb/18702
15143 Add checking of floatformats setup on x86_64 hosts.
15144 * gdb.arch/i386-float.S (main): Load bigval and smallval.
15145 (smallval, bigval): New labels/constants.
15146 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
15147 float" after loading bigval and smallval.
15148
15149 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
15150
15151 * gdb.ada/fun_overload_menu.exp: New testcase.
15152 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
15153
15154 2015-12-04 Josh Stone <jistone@redhat.com>
15155
15156 * gdb.base/catch-fork-static.exp: New.
15157
15158 2015-12-03 Yao Qi <yao.qi@linaro.org>
15159
15160 * gdb.base/sizeof.c: Don't include stdio.h and
15161 ../lib/unbuffer_output.c.
15162 (main): New variable 'size' and 'value'. Remove printf and
15163 gdb_unbuffer_output. Assign return value to size and value.
15164 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
15165 at the beginning.
15166 (check_sizeof): Check the result by printing variable 'size'.
15167 (check_valueof): Check the result by printing variable 'value'.
15168
15169 2015-12-01 Yao Qi <yao.qi@linaro.org>
15170
15171 * gdb.base/disp-step-syscall.exp: Define syscall instruction
15172 for aarch64*-*-linux* target.
15173
15174 2015-11-30 Pedro Alves <palves@redhat.com>
15175
15176 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
15177
15178 2015-11-30 Pedro Alves <palves@redhat.com>
15179
15180 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
15181 Handle non-stop mode vCont replies.
15182
15183 2015-11-30 Pedro Alves <palves@redhat.com>
15184
15185 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
15186 prepare_for_testing. Start gdb with "set non-stop on" appended to
15187 GDBFLAGS. Lax expected stop output.
15188
15189 2015-11-27 Yao Qi <yao.qi@linaro.org>
15190
15191 * gdb.arch/arm-neon.exp: New.
15192 * gdb.arch/arm-neon.c: New.
15193
15194 2015-11-27 Yao Qi <yao.qi@linaro.org>
15195
15196 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
15197
15198 2015-11-27 Yao Qi <yao.qi@linaro.org>
15199
15200 * gdb.cp/annota2.exp: Allow multiple occurrences of the
15201 frames-invalid annotation.
15202
15203 2015-11-27 Yao Qi <yao.qi@linaro.org>
15204
15205 * gdb.cp/annota2.exp: Use ${frames_invalid}.
15206
15207 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
15208
15209 * gdb.threads/names.exp: New file.
15210 * gdb.threads/names.c: New file.
15211 * README: Mention gdb,no_thread_names.
15212
15213 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
15214
15215 PR 19297
15216 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
15217 support" error.
15218
15219 2015-11-24 Pedro Alves <palves@redhat.com>
15220
15221 PR 17539
15222 * gdb.base/display.exp: Expect displays to be sorted in ascending
15223 order. Use multi_line.
15224 * gdb.base/solib-display.exp: Likewise.
15225
15226 2015-11-24 Pedro Alves <palves@redhat.com>
15227
15228 PR 17539
15229 * gdb.base/display.exp: Expect displays to be sorted in ascending
15230 order. Use multi_line.
15231 * gdb.base/solib-display.exp: Likewise.
15232
15233 2015-11-24 Pedro Alves <palves@redhat.com>
15234
15235 PR 17539
15236 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
15237 threads in ascending order.
15238 * gdb.base/foll-fork.exp: Likewise.
15239 * gdb.base/foll-vfork.exp: Likewise.
15240 * gdb.base/multi-forks.exp: Likewise.
15241 * gdb.mi/mi-nonstop.exp: Likewise.
15242 * gdb.mi/mi-nsintrall.exp: Likewise.
15243 * gdb.multi/base.exp: Likewise.
15244 * gdb.multi/multi-arch.exp: Likewise.
15245 * gdb.python/py-inferior.exp: Likewise.
15246 * gdb.threads/break-while-running.exp: Likewise.
15247 * gdb.threads/execl.exp: Likewise.
15248 * gdb.threads/gcore-thread.exp: Likewise.
15249 * gdb.threads/info-threads-cur-sal.exp: Likewise.
15250 * gdb.threads/kill.exp: Likewise.
15251 * gdb.threads/linux-dp.exp: Likewise.
15252 * gdb.threads/multiple-step-overs.exp: Likewise.
15253 * gdb.threads/next-bp-other-thread.exp: Likewise.
15254 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
15255 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
15256 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
15257 * gdb.threads/thread-find.exp: Likewise.
15258 * gdb.threads/tls.exp: Likewise.
15259 * lib/mi-support.exp (mi_reverse_list): Delete.
15260 (mi_check_thread_states): No longer reverse list.
15261
15262 2015-11-24 Pedro Alves <palves@redhat.com>
15263
15264 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
15265 use lowercase.
15266
15267 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
15268
15269 * gdb.trace/actions.c: Include trace-common.h.
15270 (main): Add a location for a fast tracepoint.
15271 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
15272 the normal tracepoints.
15273 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
15274
15275 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
15276
15277 * save-trace.exp: Factor out code to these...
15278 (gdb_save_tracepoints): New.
15279 (gdb_load_tracepoints): New.
15280 (do_save_load_test): New.
15281
15282 2015-11-23 Kevin Buettner <kevinb@redhat.com>
15283
15284 * gdb.base/asmlabel.exp: New test.
15285 * gdb.base/asmlabel.c: New test case.
15286
15287 2015-11-23 Joel Brobecker <brobecker@adacore.com>
15288
15289 * gdb.base/wrong_frame_bt_full-main.c: New file.
15290 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
15291 * gdb.base/wrong_frame_bt_full.exp: New file.
15292
15293 2015-11-23 Joel Brobecker <brobecker@adacore.com>
15294
15295 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
15296
15297 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
15298
15299 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
15300 pstate register when comparing registers values in
15301 sparc64-*-linux-gnu targets to avoid spurious differences.
15302
15303 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
15304
15305 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
15306
15307 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
15308
15309 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
15310 as type argument to gdb_compile.
15311 * gdb.base/nested-subp2.exp: Likewise.
15312 * gdb.base/nested-subp3.exp: Likewise.
15313
15314 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
15315
15316 * lib/dwarf.exp (_note): Fix left shift of negative value.
15317 * gdb.trace/trace-condition.exp: Likewise.
15318
15319 2015-11-13 Yao Qi <yao.qi@linaro.org>
15320
15321 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
15322 comments about d10v.
15323 (test_scalar_returns): Likewise.
15324 * gdb.base/d10v.ld: Remove.
15325 * gdb.base/overlays.exp: Remove the target triplet checking for
15326 d10v-*-*.
15327 * gdb.base/structs.exp (test_struct_returns): Remove the
15328 comments about d10v.
15329 (test_struct_calls): Likewise.
15330
15331 2015-11-13 Yao Qi <yao.qi@linaro.org>
15332
15333 * gdb.base/gnu_vector.exp: Check the return value by "p res".
15334 * gdb.base/gnu_vector.c: Don't include stdio.h.
15335 (main): Don't print res and call add_some_intvecs.
15336
15337 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
15338
15339 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
15340 macro.
15341 (func5): Removed.
15342 (func4): Use FAST_TRACEPOINT_LABEL.
15343 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
15344 macro.
15345 (func): Removed.
15346 (thread_function): Use FAST_TRACEPOINT_LABEL.
15347 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
15348 (func): Remove.
15349 (marker): Use FAST_TRACEPOINT_LABEL.
15350 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
15351 (pendfunc1): Remove.
15352 (pendfunc): Use FAST_TRACEPOINT_LABEL.
15353 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
15354 (foo): Remove.
15355 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
15356 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
15357 macro.
15358 (func): Remove.
15359 (marker): Use FAST_TRACEPOINT_LABEL.
15360 * gdb.trace/trace-common.h: New header.
15361 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
15362 macro.
15363 (func): Remove.
15364 (marker): Use FAST_TRACEPOINT_LABEL.
15365 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
15366 (func): Remove.
15367 (thread_function): Use FAST_TRACEPOINT_LABEL.
15368
15369 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
15370
15371 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
15372 in front.
15373 * gdb.trace/change-loc.exp: Use global pcreg definition.
15374 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
15375 * gdb.trace/entry-values.exp: Use global spreg definition, add $
15376 in front.
15377 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
15378 * gdb.trace/pending.exp: Likewise.
15379 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
15380 * gdb.trace/trace-break.exp: Likewise.
15381 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
15382 in front.
15383 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
15384 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
15385 in front.
15386 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
15387
15388 2015-11-09 Joel Brobecker <brobecker@adacore.com>
15389
15390 * gdb.ada/fin_fun_out: New testcase.
15391
15392 2015-11-07 Kevin Buettner <kevinb@redhat.com>
15393
15394 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
15395 value associated with DW_AT_byte_size.
15396 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
15397 constants for DW_AT_byte_size, DW_AT_lower_bound, and
15398 DW_AT_upper_bound.
15399
15400 2015-11-07 Kevin Buettner <kevinb@redhat.com>
15401
15402 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
15403 (gdb_target_symbol_prefix_flags): Define in terms of _asm
15404 version.
15405 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
15406 gdb.dwarf2/dw2-canonicalize-type.exp,
15407 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
15408 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
15409 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
15410 provided by gdb_target_symbol_prefix_flags_asm.
15411 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
15412 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
15413 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
15414 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
15415 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
15416 macros where needed). Use this macro for symbols which require
15417 the prefix provided by SYMBOL_PREFIX.
15418
15419 2015-11-05 Kevin Buettner <kevinb@redhat.com>
15420
15421 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
15422 New procs.
15423 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
15424 representing expressions, of more than one list element.
15425 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
15426 to prepend linker symbol prefix to f.
15427 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
15428 table_1 and table_2.
15429 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
15430 Likewise, for f and g.
15431 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
15432 for ptr.
15433 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
15434 for main.
15435 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
15436 table_1_ptr and table_2_ptr.
15437
15438 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15439 Joel Brobecker <brobecker@adacore.com>
15440
15441 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
15442
15443 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
15444
15445 * gdb.reverse/s390-mvcle.c: New test.
15446 * gdb.reverse/s390-mvcle.exp: New file.
15447 * lib/gdb.exp: Enable reverse tests on s390*-linux.
15448
15449 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
15450
15451 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
15452
15453 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
15454
15455 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
15456 reaching marker2.
15457 * gdb.reverse/getresuid-reverse.exp: Likewise.
15458 * gdb.reverse/pipe-reverse.exp: Likewise.
15459 * gdb.reverse/readv-reverse.exp: Likewise.
15460 * gdb.reverse/recvmsg-reverse.exp: Likewise.
15461 * gdb.reverse/time-reverse.exp: Likewise.
15462 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
15463
15464 2015-10-30 Yao Qi <yao.qi@linaro.org>
15465
15466 * gdb.threads/wp-replication.c (watch_count_done): Remove.
15467 (empty_cycle): Remove.
15468 (main): Don't call empty_cycle. Don't use watch_count_done.
15469 * gdb.threads/wp-replication.exp: Don't set breakpoint on
15470 empty_cycle. Rewrite the code counting HW watchpoints.
15471
15472 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
15473
15474 * gdb.reverse/fstatat-reverse.c: New test.
15475 * gdb.reverse/fstatat-reverse.exp: New file.
15476 * gdb.reverse/getresuid-reverse.c: New test.
15477 * gdb.reverse/getresuid-reverse.exp: New file.
15478 * gdb.reverse/pipe-reverse.c: New test.
15479 * gdb.reverse/pipe-reverse.exp: New file.
15480 * gdb.reverse/readv-reverse.c: New test.
15481 * gdb.reverse/readv-reverse.exp: New file.
15482 * gdb.reverse/recvmsg-reverse.c: New test.
15483 * gdb.reverse/recvmsg-reverse.exp: New file.
15484 * gdb.reverse/time-reverse.c: New test.
15485 * gdb.reverse/time-reverse.exp: New file.
15486 * gdb.reverse/waitpid-reverse.c: New test.
15487 * gdb.reverse/waitpid-reverse.exp: New file.
15488
15489 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
15490
15491 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
15492
15493 2015-10-26 Doug Evans <dje@google.com>
15494
15495 PR symtab/17391
15496 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
15497 * gdb.dwarf2/bad-regnum.c: New file.
15498 * gdb.dwarf2/bad-regnum.exp: New file.
15499
15500 2015-10-26 Doug Evans <dje@google.com>
15501
15502 PR python/18938
15503 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
15504 file.
15505
15506 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15507
15508 * gdb.compile/compile.exp (compile code globalvar): Update expectation
15509 for a change by "Mention language in compile error message".
15510
15511 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
15512
15513 PR python/18073
15514 * gdb.python/py-type.c (C::a_method): New.
15515 (C::a_const_method): New.
15516 (C::a_static_method): New.
15517 (a_function): New.
15518 * gdb.python/py-type.exp (test_fields): Test getting fields
15519 from function and method.
15520
15521 2015-10-21 Keven Boell <keven.boell@intel.com>
15522
15523 * gdb.fortran/vla-alloc-assoc.exp: New file.
15524 * gdb.fortran/vla-datatypes.exp: New file.
15525 * gdb.fortran/vla-datatypes.f90: New file.
15526 * gdb.fortran/vla-history.exp: New file.
15527 * gdb.fortran/vla-ptype-sub.exp: New file.
15528 * gdb.fortran/vla-ptype.exp: New file.
15529 * gdb.fortran/vla-sizeof.exp: New file.
15530 * gdb.fortran/vla-sub.f90: New file.
15531 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
15532 * gdb.fortran/vla-value-sub-finish.exp: New file.
15533 * gdb.fortran/vla-value-sub.exp: New file.
15534 * gdb.fortran/vla-value.exp: New file.
15535 * gdb.fortran/vla-ptr-info.exp: New file.
15536 * gdb.mi/mi-vla-fortran.exp: New file.
15537 * gdb.mi/vla.f90: New file.
15538
15539 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
15540
15541 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
15542 of hardwired timeout value.
15543
15544 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15545 Pedro Alves <palves@redhat.com>
15546
15547 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
15548 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
15549
15550 2015-10-19 Josh Stone <jistone@redhat.com>
15551
15552 * gdb.base/catch-syscall.c: Include <sched.h>.
15553 (unknown_syscall): New variable.
15554 (main): Trigger a vfork and an unknown syscall.
15555 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
15556 (unknown_syscall_number): Likewise.
15557 (check_call_to_syscall): Accept an optional syscall pattern.
15558 (check_return_from_syscall): Likewise.
15559 (check_continue): Likewise.
15560 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
15561 (test_catch_syscall_skipping_return): New test toggling off 'catch
15562 syscall' to step over the syscall return, then toggling back on.
15563 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
15564 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
15565 (do_syscall_tests): Call test_catch_syscall_without_args and
15566 test_catch_syscall_mid_vfork.
15567 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
15568 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
15569
15570 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
15571
15572 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
15573 print g_vE): Add new pass patterns.
15574 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
15575 print various symbol names for vptr fields.
15576
15577 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
15578
15579 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
15580 results.
15581
15582 2015-10-12 Yao Qi <yao.qi@linaro.org>
15583
15584 * gdb.arch/disp-step-insn-reloc.exp: New test case.
15585
15586 2015-10-12 Yao Qi <yao.qi@linaro.org>
15587
15588 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
15589 is aarch64*-*-linux*.
15590
15591 2015-10-12 Yao Qi <yao.qi@linaro.org>
15592
15593 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
15594 (can_relocate_bcond_true): ... it.
15595 (can_relocate_bcond_false): New function.
15596 (foo): Likewise.
15597 (can_relocate_bl): Likewise.
15598 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
15599 can_relocate_bl.
15600
15601 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
15602
15603 * gdb.base/nested-addr.c: New file.
15604 * gdb.base/nested-addr.exp: New testcase.
15605
15606 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
15607
15608 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
15609 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
15610 its output. Ignore the output of "record goto begin" and instead
15611 check that GDB is replaying.
15612
15613 2015-10-09 Pedro Alves <palves@redhat.com>
15614
15615 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
15616 (top level): Use it in the run with no args test.
15617
15618 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
15619
15620 * gdb.dlang/properties.exp: New file.
15621
15622 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
15623
15624 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
15625 whether or not address 0x1000 is mapped on the target.
15626
15627 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
15628
15629 * gdb.python/py-type.exp: Do not run tests if binaries fail to
15630 build.
15631
15632 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
15633
15634 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
15635 instruction-history test.
15636
15637 2015-09-28 Doug Evans <dje@google.com>
15638
15639 * gdb.base/gcore.c (array_func): Add reference to static_array.
15640
15641 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
15642
15643 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
15644 source line.
15645
15646 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
15647
15648 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
15649 short or char as base type.
15650
15651 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
15652
15653 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
15654 to allow any size enum.
15655
15656 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
15657
15658 * gdb.ada/array_ptr_renaming.exp: New testcase.
15659 * gdb.ada/array_ptr_renaming/foo.adb: New file.
15660 * gdb.ada/array_ptr_renaming/pack.ads: New file.
15661
15662 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
15663
15664 * gdb.trace/ftrace-lock.c: New file.
15665 * gdb.trace/ftrace-lock.exp: New file.
15666
15667 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
15668
15669 * gdb.arch/insn-reloc.c: New file.
15670 * gdb.arch/ftrace-insn-reloc.exp: New file.
15671
15672 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
15673
15674 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
15675 instruction.
15676 * gdb.trace/pendshr1.c (pendfunc): Likewise.
15677 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
15678 * gdb.trace/range-stepping.c: Likewise.
15679 * gdb.trace/trace-break.c: Likewise.
15680 * gdb.trace/trace-mt.c (thread_function): Likewise.
15681 * gdb.trace/ftrace.c (marker): Likewise.
15682 * gdb.trace/trace-condition.c (marker): Likewise.
15683 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
15684 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
15685 is_aarch64_target.
15686
15687 2015-09-18 Doug Evans <xdje42@gmail.com>
15688
15689 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
15690 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
15691
15692 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15693
15694 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
15695 the breakpoint.
15696
15697 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15698
15699 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
15700 the pending breakpoint. Remove timeout override for "Run till
15701 MI pending breakpoint on pendfunc3 on thread 2" test.
15702
15703 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15704
15705 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
15706 filename pattern.
15707
15708 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15709
15710 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
15711 in breakpoint filename pattern.
15712
15713 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15714
15715 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
15716
15717 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15718
15719 * gdb.linespec/explicit.exp: Check for readline support for
15720 tab-completion tests. Fix obvious typo.
15721
15722 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
15723
15724 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
15725 and replay.
15726
15727 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
15728
15729 * gdb.btrace/non-stop.c: New.
15730 * gdb.btrace/non-stop.exp: New.
15731
15732 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
15733 Yao Qi <yao.qi@linaro.org>
15734
15735 * gdb.trace/trace-condition.c: New file.
15736 * gdb.trace/trace-condition.exp: New file.
15737
15738 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
15739
15740 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
15741 for testing bytecode compilation.
15742
15743 2015-09-16 Pedro Alves <palves@redhat.com>
15744 Sandra Loosemore <sandra@codesourcery.com>
15745
15746 * gdb.threads/non-stop-fair-events.c (timeout): New global.
15747 (SECONDS): Redefine.
15748 (main): Call pthread_kill and alarm early.
15749 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
15750 support.
15751 (test): If the target can't hardware step and doesn't support
15752 displaced stepping, increase the timeout.
15753
15754 2015-09-16 Pedro Alves <palves@redhat.com>
15755
15756 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
15757 (enable_debug): New procedures.
15758 (test): Use them. Bail out if waiting for threads fails.
15759 (top level): Bail out if a test fails.
15760
15761 2015-09-16 Yao Qi <yao.qi@linaro.org>
15762
15763 * gdb.asm/asm-source.exp: Set asm-arch for
15764 aarch64*-*-* target.
15765 * gdb.asm/aarch64.inc: New file.
15766
15767 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
15768
15769 * gdb.ada/array_of_variable_length.exp: New testcase.
15770 * gdb.ada/array_of_variable_length/foo.adb: New file.
15771 * gdb.ada/array_of_variable_length/pck.adb: New file.
15772 * gdb.ada/array_of_variable_length/pck.ads: New file.
15773
15774 2015-09-15 Doug Evans <dje@google.com>
15775
15776 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
15777 of function static local variable.
15778
15779 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
15780
15781 * gdb.threads/tls-so_extern.exp: New test file.
15782 * gdb.threads/tls-so_extern.c: New test file.
15783 * gdb.threads/tls-so_extern_main.c: New test file.
15784
15785 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15786
15787 * gdb.opt/solib-intra-step-lib.c: New file.
15788 * gdb.opt/solib-intra-step-main.c: New file.
15789 * gdb.opt/solib-intra-step.exp: New file.
15790
15791 2015-09-15 Pedro Alves <palves@redhat.com>
15792
15793 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
15794 gdb_continue_to_breakpoint instead of gdb_test_multiple.
15795
15796 2015-09-14 Pedro Alves <palves@redhat.com>
15797
15798 * gdb.base/hook-stop-continue.c: Delete.
15799 * gdb.base/hook-stop-continue.exp: Delete.
15800 * gdb.base/hook-stop-frame.c: Delete.
15801 * gdb.base/hook-stop-frame.exp: Delete.
15802 * gdb.base/hook-stop.c: New file.
15803 * gdb.base/hook-stop.exp: New file.
15804
15805 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
15806
15807 * gdb.ada/access_to_packed_array.exp: New testcase.
15808 * gdb.ada/access_to_packed_array/foo.adb: New file.
15809 * gdb.ada/access_to_packed_array/pack.adb: New file.
15810 * gdb.ada/access_to_packed_array/pack.ads: New file.
15811
15812 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
15813
15814 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
15815 buffer size test.
15816
15817 2015-09-11 Don Breazeal <donb@codesourcery.com>
15818
15819 * gdb.base/foll-exec.c: Add copyright header. Fix
15820 formatting issues.
15821 * gdb.base/foll-exec.exp (zap_session): Delete proc.
15822 (do_exec_tests): Use clean_restart in place of zap_session,
15823 and for test initialization. Fix formatting issues. Use
15824 fail in place of perror.
15825 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
15826 an expect statement to match an expression with output from
15827 the program under debug.
15828 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
15829 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
15830 * gdb.threads/non-ldr-exc-2.exp: Likewise.
15831 * gdb.threads/non-ldr-exc-3.exp: Likewise.
15832 * gdb.threads/non-ldr-exc-4.exp: Likewise.
15833
15834 2015-09-09 Doug Evans <dje@google.com>
15835
15836 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
15837
15838 2015-09-09 Doug Evans <dje@google.com>
15839
15840 * gdb.base/pie-execl.exp: Fix result test of build_executable.
15841
15842 2015-09-09 Doug Evans <dje@google.com>
15843
15844 * gdb.base/savedregs.exp: Fix typo.
15845
15846 2015-09-09 Pedro Alves <palves@redhat.com>
15847
15848 * gdb.mi/mi-cli.exp: Add CLI finish tests.
15849
15850 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
15851
15852 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
15853 command actually switches threads. Give up on remaining
15854 tests if target fails to stop at breakpoint.
15855
15856 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
15857
15858 * gdb.ada/funcall_char.exp: New testcase.
15859 * gdb.ada/funcall_char/foo.adb: New file.
15860
15861 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
15862
15863 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
15864 expected outputs. Add two testcases for completing ambiguous
15865 functions.
15866 * gdb.ada/complete/aux_pck.adb: New file.
15867 * gdb.ada/complete/aux_pck.ads: New file.
15868 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
15869 Ambiguous_Func functions.
15870 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
15871 * gdb.ada/complete/pck.adb: Likewise.
15872
15873 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
15874
15875 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
15876 failures to run the test program under GDB.
15877
15878 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
15879
15880 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
15881 to C.
15882
15883 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
15884
15885 * gdb.base/run-after-attach.exp: New test file.
15886 * gdb.base/run-after-attach.c: New test file.
15887
15888 2015-08-26 Don Breazeal <donb@codesourcery.com>
15889
15890 * gdb.base/foll-exec-2.c: New test program.
15891 * gdb.base/foll-exec-2.exp: New test.
15892
15893 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
15894
15895 * gdb.base/nested-subp1.exp: New file.
15896 * gdb.base/nested-subp1.c: New file.
15897 * gdb.base/nested-subp2.exp: New file.
15898 * gdb.base/nested-subp2.c: New file.
15899 * gdb.base/nested-subp3.exp: New file.
15900 * gdb.base/nested-subp3.c: New file.
15901
15902 2015-08-24 Pedro Alves <palves@redhat.com>
15903
15904 * gdb.server/connect-without-multi-process.c: New file.
15905 * gdb.server/connect-without-multi-process.exp: New file.
15906
15907 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
15908
15909 * gdb.opt/inline-markers.c: Make z int.
15910
15911 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
15912
15913 * gdb.opt/inline-markers.c: Make z volatile.
15914
15915 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
15916
15917 * gdb.opt/inline-bt.c: New volatile global z.
15918 * gdb.opt/inline-cmds.c: Likewise.
15919 * gdb.opt/inline-locals.c: Likewise.
15920 * gdb.opt/inline-markers.c: New extern global z.
15921 (marker): Use z.
15922 (inline_fn): Likewise.
15923
15924 2015-08-24 Pedro Alves <palves@redhat.com>
15925
15926 * config/m32r-stub.exp: Remove file.
15927 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
15928 * gdb.base/call-rt-st.exp: Likewise.
15929 * gdb.base/call-strs.exp: Likewise.
15930 * gdb.base/default.exp: Remove references to h8300-*-hms and
15931 *-*-udi*.
15932 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
15933
15934 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
15935
15936 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
15937 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
15938 and "return" use KFAIL when GDB can not read/write the vector
15939 return value.
15940
15941 2015-08-21 Gary Benson <gbenson@redhat.com>
15942
15943 * gdb.trace/pending.exp: Cope with remote transfer warnings.
15944
15945 2015-08-20 Pedro Alves <palves@redhat.com>
15946
15947 * gdb.server/solib-list.exp: No longer expect an interior stop in
15948 non-stop mode.
15949
15950 2015-08-20 Pedro Alves <palves@redhat.com>
15951
15952 * gdb.server/connect-stopped-target.c: New file.
15953 * gdb.server/connect-stopped-target.exp: New file.
15954
15955 2015-08-20 Pedro Alves <palves@redhat.com>
15956
15957 * gdb.dwarf2/comp-unit-lang.exp: New file.
15958 * gdb.dwarf2/comp-unit-lang.c: New file.
15959
15960 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
15961
15962 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
15963 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
15964
15965 2015-08-19 Kevin Buettner <kevinb@redhat.com>
15966
15967 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
15968 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
15969
15970 2015-08-18 Doug Evans <dje@google.com>
15971 Adrian Sendroiu <adrian.sendroiu@freescale.com>
15972
15973 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
15974 skip_python_tests. New arg prompt_regexp.
15975 (skip_python_tests): New function.
15976 * lib/mi-support.exp (mi_skip_python_tests): New function.
15977 * gdb.python/py-mi-objfile-gdb.py: New file.
15978 * gdb.python/py-mi-objfile.c: New file.
15979 * gdb.python/py-mi-objfile.exp: New file.
15980
15981 2015-08-17 Keith Seitz <keiths@redhat.com>
15982
15983 * gdb.linespec/explicit.exp: Move strace test from here ...
15984 * gdb.trace/strace.exp: ... to here.
15985
15986 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
15987
15988 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
15989 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
15990
15991 2015-08-14 Doug Evans <xdje42@gmail.com>
15992
15993 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
15994 inferior before selecting a new file.
15995
15996 2015-08-14 Doug Evans <xdje42@gmail.com>
15997
15998 * gdb.mi/mi-disassemble.exp: Update.
15999 * gdb.base/disasm-optim.S: New file.
16000 * gdb.base/disasm-optim.c: New file.
16001 * gdb.base/disasm-optim.h: New file.
16002 * gdb.base/disasm-optim.exp: New file.
16003
16004 2015-08-14 Keith Seitz <keiths@redhat.com>
16005
16006 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
16007 "evaluated-by".
16008
16009 2015-08-13 Joel Brobecker <brobecker@adacore.com>
16010
16011 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
16012
16013 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
16014
16015 * gdb.ada/fun_renaming.exp: New testcase.
16016 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
16017 * gdb.ada/fun_renaming/pack.adb: New file.
16018 * gdb.ada/fun_renaming/pack.ads: New file.
16019
16020 2015-08-12 Keith Seitz <keiths@redhat.com>
16021
16022 * gdb.base/dso2dso.exp: Pass basename of source file in call to
16023 gdb_get_line_number.
16024
16025 2015-08-12 Joel Brobecker <brobecker@adacore.com>
16026
16027 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
16028 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
16029 gdb.base/dso2dso.exp: New files.
16030
16031 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
16032 Pedro Alves <palves@redhat.com>
16033 Keith Seitz <keiths@redhat.com>
16034
16035 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
16036 GDBFLAGS.
16037
16038 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
16039
16040 * gdb.base/gdbhistsize-history.exp
16041 (test_histsize_history_setting): Use save_vars.
16042 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16043 Use save_vars.
16044 (test_no_truncation_of_unlimited_history_file): Use save_vars.
16045 * gdb.base/readline.exp: Use save_vars.
16046
16047 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
16048
16049 * lib/gdb.exp (save_vars): New proc.
16050
16051 2015-08-11 Keith Seitz <keiths@redhat.com>
16052
16053 * gdb.base/help.exp: Update help_breakpoint_text.
16054
16055 2015-08-11 Keith Seitz <keiths@redhat.com>
16056
16057 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
16058 (at toplevel): Call test_explicit_breakpoints.
16059 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
16060 breakpoints.
16061 * lib/mi-support.exp (mi_make_breakpoint): Add support for
16062 breakpoint conditions, "-cond".
16063
16064 2015-08-11 Keith Seitz <keiths@redhat.com>
16065
16066 * gdb.linespec/3explicit.c: New file.
16067 * gdb.linespec/cpexplicit.cc: New file.
16068 * gdb.linespec/cpexplicit.exp: New file.
16069 * gdb.linespec/explicit.c: New file.
16070 * gdb.linespec/explicit.exp: New file.
16071 * gdb.linespec/explicit2.c: New file.
16072 * gdb.linespec/ls-errs.exp: Add explicit location tests.
16073 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
16074 before using in the matching pattern.
16075 Clarify that `prefix' is a regular expression.
16076
16077 2015-08-11 Keith Seitz <keiths@redhat.com>
16078
16079 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
16080 test.
16081 Add tests for missing ",FMT" and ",".
16082
16083 2015-08-10 Doug Evans <dje@google.com>
16084 Keith Seitz <keiths@redhat.com>
16085
16086 PR gdb/17960
16087 * gdb.base/completion.exp: Add location completer tests.
16088
16089 2015-08-07 Pedro Alves <palves@redhat.com>
16090
16091 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
16092 tests here.
16093 (top level): Run do_test with and without displaced stepping.
16094
16095 2015-08-07 Pedro Alves <palves@redhat.com>
16096
16097 * gdb.base/valgrind-disp-step.c: New file.
16098 * gdb.base/valgrind-disp-step.exp: New file.
16099
16100 2015-08-07 Pedro Alves <palves@redhat.com>
16101
16102 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
16103 Delete function.
16104 (main): Add alarm. Run an infinite loop instead of calling
16105 wait_threads.
16106 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
16107 comment.
16108 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
16109 Delete function.
16110 (main): Add alarm. Run an infinite loop instead of calling
16111 wait_threads.
16112 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
16113 comment.
16114
16115 2015-08-07 Pedro Alves <palves@redhat.com>
16116
16117 * gdb.base/checkpoint-ns.exp: New file.
16118 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
16119 standard_testfile.
16120
16121 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
16122
16123 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
16124 * gdb.btrace/instruction_history.exp: Update.
16125 * gdb.btrace/tsx.exp: New.
16126 * gdb.btrace/tsx.c: New.
16127
16128 2015-08-06 Pedro Alves <palves@redhat.com>
16129
16130 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
16131 increase timeout.
16132 * gdb.reverse/until-precsave.exp: Bump timeouts.
16133
16134 2015-08-06 Pedro Alves <palves@redhat.com>
16135
16136 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
16137
16138 2015-08-06 Pedro Alves <palves@redhat.com>
16139
16140 PR gdb/18749
16141 * gdb.threads/process-dies-while-handling-bp.c: New file.
16142 * gdb.threads/process-dies-while-handling-bp.exp: New file.
16143
16144 2015-08-06 Pedro Alves <palves@redhat.com>
16145
16146 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
16147 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
16148
16149 2015-08-05 Pedro Alves <palves@redhat.com>
16150
16151 * gdb.threads/next-while-other-thread-longjmps.c: New file.
16152 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
16153
16154 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
16155
16156 * gdb.base/bp-permanent.exp: Report test as unsupported if
16157 the target cannot stop at the permanent breakpoint.
16158
16159 2015-08-03 Doug Evans <dje@google.com>
16160
16161 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
16162 10000.
16163
16164 2015-08-03 Doug Evans <dje@google.com>
16165
16166 * Makefile.in (workers/%.worker, build-perf): New rule.
16167 (GDB_PERFTEST_MODE): New variable.
16168 (check-perf): Use it.
16169 (clean): Clean up gdb.perf parallel build subdirs.
16170 * lib/build-piece.exp: New file.
16171 * lib/gdb.exp (make_gdb_parallel_path): New function
16172 (standard_output_file, standard_temp_file): Call it.
16173 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16174 of $GDB_PARALLEL.
16175 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
16176
16177 2015-08-03 Doug Evans <dje@google.com>
16178
16179 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
16180 (LOG_FILE_NAME): New global.
16181 (TextReporter.__init__): Initialize self.txt_sum.
16182 (TextReporter.report): Add support for multiple data-points.
16183 Move report to perftest.sum, put raw data in perftest.log.
16184 (TextReporter.start): Open sum and log files.
16185 (TextReporter.end): Close sum and log files.
16186 * gdb.perf/lib/perftest/testresult.py
16187 (SingleStatisticTestResult.record): Handle multiple data-points.
16188
16189 2015-07-31 Pedro Alves <palves@redhat.com>
16190
16191 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
16192 Use spawn_id_get_pid. Wait for spawn id after eof. Use
16193 kill_wait_spawned_process instead of explicit "kill -9".
16194 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
16195 returning a spawn id instead of a pid. Use spawn_id_get_pid and
16196 kill_wait_spawned_process.
16197 * gdb.base/attach-twice.exp: Likewise.
16198 * gdb.base/attach.exp: Likewise.
16199 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
16200 gdb_test_multiple.
16201 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
16202 returning a spawn id instead of a pid. Use spawn_id_get_pid and
16203 kill_wait_spawned_process.
16204 * gdb.base/valgrind-infcall.exp: Likewise.
16205 * gdb.multi/multi-attach.exp: Likewise.
16206 * gdb.python/py-prompt.exp: Likewise.
16207 * gdb.python/py-sync-interp.exp: Likewise.
16208 * gdb.server/ext-attach.exp: Likewise.
16209 * gdb.threads/attach-into-signal.exp (corefunc): Use
16210 spawn_wait_for_attach, spawn_id_get_pid and
16211 kill_wait_spawned_process.
16212 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
16213 spawn_wait_for_attach returning a spawn id instead of a pid. Use
16214 spawn_id_get_pid and kill_wait_spawned_process.
16215 * gdb.threads/attach-stopped.exp (corefunc): Use
16216 spawn_wait_for_attach, spawn_id_get_pid and
16217 kill_wait_spawned_process.
16218 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
16219 Use spawn_id_get_pid. Wait for spawn id after eof. Use
16220 kill_wait_spawned_process instead of explicit "kill -9".
16221 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
16222 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
16223 (spawn_wait_for_attach): Use spawn instead of exec to spawn
16224 processes. Don't map cygwin/windows pids here. Now returns a
16225 spawn id list.
16226
16227 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
16228
16229 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
16230 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
16231 correct patch.
16232
16233 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
16234
16235 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
16236
16237 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
16238
16239 Reapply:
16240 2014-05-21 Mark Wielaard <mjw@redhat.com>
16241
16242 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16243
16244 2015-07-30 Pedro Alves <palves@redhat.com>
16245
16246 * linux-low.c (handle_extended_wait): Set the child's last
16247 reported status to TARGET_WAITKIND_STOPPED.
16248
16249 2015-07-30 Pedro Alves <palves@redhat.com>
16250
16251 PR threads/18600
16252 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
16253 only shows inferior 1.
16254
16255 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
16256 Pedro Alves <palves@redhat.com>
16257
16258 PR threads/18600
16259 * gdb.threads/fork-plus-threads.c: New file.
16260 * gdb.threads/fork-plus-threads.exp: New file.
16261
16262 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16263
16264 * gdb.base/batch-preserve-term-settings.exp
16265 (test_terminal_settings_preserved_after_cli_exit): Use
16266 send_quit_command.
16267
16268 2015-07-29 Pedro Alves <palves@redhat.com>
16269 Don Breazeal <donb@codesourcery.com>
16270
16271 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
16272 output from both inferior_spawn_id and gdb_spawn_id.
16273
16274 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
16275
16276 * gdb.threads/attach-into-signal.exp (corefunc): Use
16277 with_test_prefix on nested loops, uniquefying the test messages.
16278
16279 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
16280
16281 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
16282 commit.
16283
16284 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16285
16286 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
16287 New proc.
16288 (test_terminal_settings_preserved_after_sigterm): New test.
16289
16290 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16291
16292 * gdb.base/batch-preserve-term-settings.exp
16293 (test_terminal_settings_preserved_after_cli_exit): New test.
16294
16295 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16296
16297 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
16298 manipulation of saved_gdbflags.
16299 (test_terminal_settings_preserved): Remove global declaration of
16300 the unused variable pagination_prompt. Remove manipulation of
16301 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
16302 GDBFLAGS.
16303
16304 2015-07-29 Pedro Alves <palves@redhat.com>
16305
16306 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
16307
16308 2015-07-29 Pedro Alves <palves@redhat.com>
16309
16310 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
16311 at the top.
16312
16313 2015-07-29 Pedro Alves <palves@redhat.com>
16314
16315 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
16316 (main): Call gdb_unbuffer_output.
16317 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
16318 (main): Call gdb_unbuffer_output.
16319 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
16320 (main): Call gdb_unbuffer_output.
16321 * gdb.base/call-strs.exp: Adjust to step over the
16322 gdb_unbuffer_output call.
16323 * gdb.base/catch-gdb-caused-signals.c: Include
16324 "../lib/unbuffer_output.c".
16325 (main): Call gdb_unbuffer_output.
16326 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
16327 (main): Call gdb_unbuffer_output.
16328 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
16329 (main): Call gdb_unbuffer_output.
16330 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
16331 (main): Call gdb_unbuffer_output.
16332 * gdb.base/shlib-call.exp: Adjust to step over the
16333 gdb_unbuffer_output call.
16334 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
16335 (main): Call gdb_unbuffer_output.
16336 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
16337 (main): Call gdb_unbuffer_output.
16338 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
16339 (main): Rename to ...
16340 (test): ... this.
16341 (main): Reimplement.
16342 * gdb.base/varargs.exp: Run to test instead of to main.
16343 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
16344 (main): Call gdb_unbuffer_output.
16345
16346 2015-07-29 Pedro Alves <palves@redhat.com>
16347
16348 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
16349 factore out from mi_continue_dprintf. For call-style dprintfs,
16350 expect dprintf output out of $inferior_spawn_id.
16351 (mi_continue_dprintf): Use mi_expect_dprintf.
16352 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
16353 (main): Call gdb_unbuffer_output.
16354
16355 2015-07-29 Pedro Alves <palves@redhat.com>
16356
16357 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
16358 (default_mi_gdb_start): Set inferior_spawn_id instead of
16359 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
16360 gdb_spawn_id.
16361 (mi_gdb_test): Always expect inferior output from both
16362 $inferior_spawn_id and $gdb_spawn_id.
16363
16364 2015-07-29 Pedro Alves <palves@redhat.com>
16365
16366 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
16367 send_inferior and $inferior_spawn_id.
16368
16369 2015-07-29 Pedro Alves <palves@redhat.com>
16370
16371 * gdb.gdb/complaints.exp (test_initial_complaints)
16372 (test_serial_complaints, test_short_complaints): Use
16373 gdb_test_stdio.
16374 (test_empty_complaint): Handle $inferior_spawn_id !=
16375 $gdb_spawn_id.
16376
16377 2015-07-29 Pedro Alves <palves@redhat.com>
16378
16379 * gdb.base/varargs.exp: Use gdb_test_stdio.
16380
16381 2015-07-29 Pedro Alves <palves@redhat.com>
16382
16383 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
16384
16385 2015-07-29 Pedro Alves <palves@redhat.com>
16386
16387 * gdb.base/ending-run.exp: Use gdb_test_stdio.
16388
16389 2015-07-29 Pedro Alves <palves@redhat.com>
16390
16391 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
16392 parameter into two new parameters, "inf_result" and "gdb_result".
16393 Expect inferior output and gdb output from $inferior_spawn_id and
16394 $gdb_spawn_id, respectively. Adjust all callers.
16395
16396 2015-07-29 Pedro Alves <palves@redhat.com>
16397
16398 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
16399 of gdb_test_sequence.
16400
16401 2015-07-29 Pedro Alves <palves@redhat.com>
16402
16403 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
16404 (saw_spurious_output): Expect inferior output from
16405 $inferior_spawn_id. Use gdb_test_stdio.
16406
16407 2015-07-29 Pedro Alves <palves@redhat.com>
16408
16409 * gdb.base/dprintf.exp: Use standard_testfile. Change
16410 prepare_for_testing call.
16411 (srcfile): Don't set.
16412 (restart): New procedure.
16413 (test_dprintf): New procecure, use to continue over dprintfs.
16414 (test_call, test_agent): New procedures, tests moved here.
16415 Restart gdb and recreate dprintfs. Adjust expected output.
16416
16417 2015-07-29 Pedro Alves <palves@redhat.com>
16418
16419 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
16420
16421 2015-07-29 Pedro Alves <palves@redhat.com>
16422
16423 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
16424
16425 2015-07-29 Pedro Alves <palves@redhat.com>
16426
16427 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
16428 gdb_test_stdio.
16429
16430 2015-07-29 Pedro Alves <palves@redhat.com>
16431
16432 * lib/gdb.exp (gdb_test_stdio): New procedure.
16433
16434 2015-07-29 Pedro Alves <palves@redhat.com>
16435
16436 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
16437
16438 2015-07-29 Pedro Alves <palves@redhat.com>
16439
16440 * gdb.base/call-signal-resume.exp: Remove check for
16441 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
16442 * gdb.base/unwindonsignal.exp: Likewise.
16443 * gdb.base/call-signals.c (gen_signal): Remove printf call.
16444 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
16445
16446 2015-07-29 Pedro Alves <palves@redhat.com>
16447
16448 * gdb.base/siginfo-addr.c (pass): New function.
16449 (handler): Call it iff si_addr is correct.
16450 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
16451 Set a breakpoint at "pass" and continue to it.
16452
16453 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
16454
16455 * gdb.python/py-objfile.exp: Make some tests have unique names.
16456 * gdb.python/py-pp-registration.exp: Likewise.
16457
16458 2015-07-28 Pedro Alves <palves@redhat.com>
16459
16460 * gdb.server/server-exec-info.exp: Issue a "disconnect".
16461
16462 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
16463
16464 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
16465
16466 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
16467
16468 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
16469
16470 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
16471
16472 * gdb.base/gdb-sigterm-2.exp: New test.
16473
16474 2015-07-25 Doug Evans <xdje42@gmail.com>
16475
16476 Revert:
16477 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
16478 (workers/%.worker, build-perf): New rule.
16479 (GDB_PERFTEST_MODE): New variable.
16480 (check-perf): Use it.
16481 (clean): Clean up gdb.perf parallel build subdirs.
16482 * lib/build-piece.exp: New file.
16483 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
16484 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
16485 name.
16486 (standard_temp_file): Ditto.
16487 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16488 of $GDB_PARALLEL.
16489
16490 2015-07-24 Doug Evans <dje@google.com>
16491
16492 * gdb.perf/lib/perftest/utils.py: New file.
16493 * gdb.perf/gm-hello.cc: New file.
16494 * gdb.perf/gm-pervasive-typedef.cc: New file.
16495 * gdb.perf/gm-pervasive-typedef.h: New file.
16496 * gdb.perf/gm-std.cc: New file.
16497 * gdb.perf/gm-std.h: New file.
16498 * gdb.perf/gm-use-cerr.cc: New file.
16499 * gdb.perf/gm-utils.h: New file.
16500 * gdb.perf/gmonster-null-lookup.py: New file.
16501 * gdb.perf/gmonster-pervasive-typedef.py: New file.
16502 * gdb.perf/gmonster-print-cerr.py: New file.
16503 * gdb.perf/gmonster-ptype-string.py: New file.
16504 * gdb.perf/gmonster-runto-main.py: New file.
16505 * gdb.perf/gmonster-select-file.py: New file.
16506 * gdb.perf/gmonster1-null-lookup.exp: New file.
16507 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
16508 * gdb.perf/gmonster1-print-cerr.exp: New file.
16509 * gdb.perf/gmonster1-ptype-string.exp: New file.
16510 * gdb.perf/gmonster1-runto-main.exp: New file.
16511 * gdb.perf/gmonster1-select-file.exp: New file.
16512 * gdb.perf/gmonster1.cc: New file.
16513 * gdb.perf/gmonster1.exp: New file.
16514 * gdb.perf/gmonster2-null-lookup.exp: New file.
16515 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
16516 * gdb.perf/gmonster2-print-cerr.exp: New file.
16517 * gdb.perf/gmonster2-ptype-string.exp: New file.
16518 * gdb.perf/gmonster2-runto-main.exp: New file.
16519 * gdb.perf/gmonster2-select-file.exp: New file.
16520 * gdb.perf/gmonster2.cc: New file.
16521 * gdb.perf/gmonster2.exp: New file.
16522
16523 2015-07-24 Doug Evans <dje@google.com>
16524
16525 * gdb.perf/README: New file.
16526 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
16527 * lib/gen-perf-test.exp: New file.
16528
16529 2015-07-24 Doug Evans <dje@google.com>
16530
16531 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
16532 (PerfTest::startup): New function.
16533 (PerfTest::run): Return result of calling body.
16534 (PerfTest::assemble): Rewrite.
16535 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
16536 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
16537 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
16538 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
16539 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
16540
16541 2015-07-24 Doug Evans <dje@google.com>
16542
16543 * lib/gdb.exp (clean_restart): Make executable optional.
16544
16545 2015-07-24 Doug Evans <dje@google.com>
16546
16547 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
16548 compiler_info references.
16549 * gdb.cp/temargs.exp: Ditto.
16550 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
16551 (get_compiler_info): Early exit if already computed. Set compiler_info
16552 to "unknown" if there was a problem.
16553 (test_compiler_info): Add function comment. Call get_compiler_info.
16554
16555 2015-07-24 Doug Evans <dje@google.com>
16556
16557 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
16558 (workers/%.worker, build-perf): New rule.
16559 (GDB_PERFTEST_MODE): New variable.
16560 (check-perf): Use it.
16561 (clean): Clean up gdb.perf parallel build subdirs.
16562 * lib/build-piece.exp: New file.
16563 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
16564 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
16565 name.
16566 (standard_temp_file): Ditto.
16567 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16568 of $GDB_PARALLEL.
16569
16570 2015-07-24 Doug Evans <dje@google.com>
16571
16572 * lib/future.exp (gdb_default_target_compile): New option
16573 "early_flags".
16574 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
16575 --as-needed.
16576
16577 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
16578
16579 * gdb.base/catch-syscall.exp: Call gdb_exit before
16580 gdb_skip_xml_test.
16581
16582 2015-07-24 Pedro Alves <palves@redhat.com>
16583
16584 * gdb.python/py-events.exp: Accept output between the stop event
16585 and the prompt.
16586 * gdb.python/py-evsignal.exp: Likewise.
16587 * gdb.python/py-evthreads.exp: Likewise.
16588
16589 2015-07-24 Pedro Alves <palves@redhat.com>
16590
16591 PR gdb/18717
16592 * gdb.threads/non-ldr-exit.c: New file.
16593 * gdb.threads/non-ldr-exit.exp: New file.
16594
16595 2015-07-24 Yao Qi <yao.qi@linaro.org>
16596
16597 * gdb.server/ext-wrapper.exp: Test --wrapper option when
16598 restarting process.
16599
16600 2015-07-24 Yao Qi <yao.qi@linaro.org>
16601
16602 * gdb.server/ext-restart.exp: New file.
16603
16604 2015-07-24 Yao Qi <yao.qi@linaro.org>
16605
16606 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
16607 argument options.
16608 * gdb.server/ext-wrapper.exp: New file.
16609
16610 2015-07-23 Doug Evans <dje@google.com>
16611
16612 * gdb.dwarf2/dw2-dummy-cu.S: New file.
16613 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
16614
16615 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
16616
16617 * gdb.ada/var_arr_typedef.exp: New testcase.
16618 * gdb.ada/var_arr_typedef/pack.adb: New file.
16619 * gdb.ada/var_arr_typedef/pack.ads: New file.
16620 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
16621
16622 2015-07-20 Joel Brobecker <brobecker@adacore.com>
16623
16624 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
16625
16626 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16627
16628 * gdb.arch/i386-biarch-core.exp: Replace istarget
16629 by "complete set gnutarget". Remove expectation for the "core-file"
16630 command.
16631
16632 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16633
16634 Revert the previous commit:
16635 Tests for validate symbol file using build-id.
16636
16637 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
16638
16639 Tests for validate symbol file using build-id.
16640 * gdb.base/solib-mismatch-lib.c: New file.
16641 * gdb.base/solib-mismatch-libmod.c: New file.
16642 * gdb.base/solib-mismatch.c: New file.
16643 * gdb.base/solib-mismatch.exp: New file.
16644
16645 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
16646
16647 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
16648 nios2-*-linux*.
16649 * gdb.base/sigbpt.exp (stepi_out): Likewise.
16650 * gdb.base/siginfo.exp: Likewise.
16651 * gdb.base/sigstep.exp (advance, advancei): Likewise.
16652
16653 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
16654
16655 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
16656 Move it to ...
16657 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
16658 ... here.
16659 * gdb.trace/range-stepping.exp: Check that the target supports
16660 range stepping.
16661
16662 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16663
16664 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
16665
16666 2015-07-14 Pedro Alves <palves@redhat.com>
16667
16668 * gdb.base/killed-outside.exp: New file.
16669 * gdb.base/killed-outside.c: New file.
16670
16671 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16672
16673 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
16674 (n at main): New.
16675 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
16676
16677 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
16678
16679 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
16680 infcall tests instead of setting up for KFAIL.
16681
16682 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
16683
16684 * gdb.btrace/record_goto-step.exp: New.
16685
16686 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16687
16688 PR compile/18484
16689 * gdb.compile/compile.c (struct struct_type): Add volatile to
16690 selffield's type.
16691 * gdb.compile/compile.exp
16692 (compile code struct_object.selffield = &struct_object): Skip further
16693 struct_object tests if this one xfails.
16694
16695 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
16696
16697 PR exp/18617
16698 * gdb.trace/ax.exp: Add test.
16699
16700 2015-07-07 Yao Qi <yao.qi@linaro.org>
16701
16702 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
16703 instead of istarget "aarch64*-*-*".
16704 * gdb.arch/aarch64-fp.exp: Likewise.
16705 * gdb.base/float.exp: Likewise.
16706 * gdb.reverse/aarch64.exp: Likewise.
16707 * lib/gdb.exp (is_aarch64_target): New proc.
16708
16709 2015-07-07 Yao Qi <yao.qi@linaro.org>
16710
16711 * lib/gdb.exp (is_aarch32_target): New proc.
16712 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
16713 instead of "istarget "arm*-*-*"".
16714 * gdb.arch/arm-disp-step.exp: Likewise.
16715 * gdb.arch/thumb-bx-pc.exp: Likewise.
16716 * gdb.arch/thumb-prologue.exp: Likewise.
16717 * gdb.arch/thumb-singlestep.exp: Likewise.
16718 * gdb.base/disp-step-syscall.exp: Likewise.
16719 * gdb.base/float.exp: Likewise.
16720
16721 2015-07-07 Yao Qi <yao.qi@linaro.org>
16722
16723 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
16724 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
16725
16726 2015-07-07 Yao Qi <yao.qi@linaro.org>
16727
16728 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
16729 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
16730 if it exists.
16731 * gdb.multi/multi-arch.exp: Likewise.
16732
16733 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
16734
16735 * gdb.python/py-lazy-string.exp: Add missing parentheses to
16736 print.
16737
16738 2015-07-07 Yao Qi <yao.qi@linaro.org>
16739
16740 * gdb.arch/thumb-singlestep.exp: Do one more single step.
16741
16742 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
16743
16744 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
16745 '[' and ']' characters.
16746
16747 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
16748
16749 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
16750
16751 2015-06-29 Pedro Alves <palves@redhat.com>
16752
16753 PR threads/18127
16754 * gdb.threads/hand-call-new-thread.c: New file.
16755 * gdb.threads/hand-call-new-thread.c: New file.
16756
16757 2015-06-26 Keith Seitz <keiths@redhat.com>
16758 Doug Evans <dje@google.com>
16759
16760 PR 16253
16761 * gdb.cp/var-tag-2.cc: New file.
16762 * gdb.cp/var-tag-3.cc: New file.
16763 * gdb.cp/var-tag-4.cc: New file.
16764 * gdb.cp/var-tag.cc: New file.
16765 * gdb.cp/var-tag.exp: New file.
16766
16767 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
16768
16769 * gdb.base/history-duplicates.exp: New test.
16770
16771 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
16772
16773 * gdb.base/completion.exp: Test the completion of the "focus"
16774 command.
16775
16776 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16777
16778 * gdb.arch/amd64-prologue-skip.S: New file.
16779 * gdb.arch/amd64-prologue-skip.exp: New file.
16780
16781 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
16782
16783 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
16784 is_address_zero_readable check.
16785
16786 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
16787
16788 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
16789 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
16790
16791 2015-06-24 Yao Qi <yao.qi@linaro.org>
16792
16793 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
16794 linux targets.
16795
16796 2015-06-24 Yao Qi <yao.qi@linaro.org>
16797
16798 * lib/gdb.exp (supports_get_siginfo_type): New proc.
16799 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
16800 * gdb.base/siginfo-thread.exp: Likewise.
16801
16802 2015-06-22 Yao Qi <yao.qi@linaro.org>
16803
16804 * boards/remote-gdbserver-on-localhost.exp: Add comments.
16805
16806 2015-06-22 Yao Qi <yao.qi@linaro.org>
16807
16808 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
16809 aarch64*-*-*.
16810 (skip_hw_watchpoint_tests): Likewise.
16811
16812 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
16813
16814 * gdb.base/gdbinit-history.exp: Test the interaction between
16815 setting GDBHISTSIZE and setting the history size via .gdbinit.
16816
16817 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16818
16819 PR gdb/16999
16820 * gdb.base/gdbhistsize-history.exp: New test.
16821
16822 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16823
16824 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
16825 with GDBHISTSIZE.
16826 * gdb.base/readline.exp: Likewise.
16827
16828 2015-06-17 Yao Qi <yao.qi@linaro.org>
16829
16830 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
16831 line.
16832
16833 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16834
16835 * gdb.base/gdbinit-history.exp: Add test case to check that
16836 an unlimited history file does not get truncated on exit.
16837
16838 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16839
16840 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
16841 (VECTOR): New macro. Use it...
16842 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
16843 ...for these typedefs.
16844 (int8, char1, int1, double1): New typedefs.
16845 (struct just_int2, struct two_int2): New structures.
16846 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
16847 (add_structvecs, add_singlevecs): New functions.
16848 (main): Call add_some_intvecs twice.
16849 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
16850 the compile and exit upon failure. Try compiling for the "native"
16851 architecture. Test inferior function calls with vector arguments
16852 and vector return value handling with "finish" and "return".
16853
16854 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
16855
16856 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
16857 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
16858 PE file.
16859 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
16860
16861 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
16862
16863 PR breakpoints/16465
16864 * gdb.mi/mi-dprintf-pending.c: New file.
16865 * gdb.mi/mi-dprintf-pending.exp: New test.
16866 * gdb.mi/mi-dprintf-pendshr.c: New file.
16867
16868 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16869 Mircea Gherzan <mircea.gherzan@intel.com>
16870
16871 * gdb.arch/i386-mpx-map.c: New file.
16872 * gdb.arch/i386-mpx-map.exp: New File.
16873
16874 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16875
16876 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
16877 * gdb.arch/i386-mpx.exp: Indentation fixed.
16878
16879 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16880
16881 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
16882 function and improved indentation.
16883 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
16884 gdb_test_multiple. Added additional tests to skip the test.
16885
16886 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16887
16888 * gdb.arch/i386-avx512.c: Change path in include file.
16889 * gdb.arch/i386-avx512.exp: Change include dir path
16890 compilation flag.
16891 * gdb.arch/i386-mpx.c: Change path in include file.
16892 * gdb.arch/i386-mpx.exp: Change include dir path compilation
16893 flag.
16894
16895 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
16896
16897 * gdb.compile/compile-print.exp (compile print *vararray@3)
16898 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
16899
16900 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16901
16902 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
16903 (do not keep jit in memory): ... this.
16904 (expect 5): Change it to ...
16905 (expect no 5): ... this.
16906
16907 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
16908
16909 PR gdb/15564
16910 * gdb.mi/mi-detach.exp: New file.
16911
16912 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16913
16914 PR symtab/18392
16915 * gdb.arch/amd64-tailcall-self.S: New file.
16916 * gdb.arch/amd64-tailcall-self.c: New file.
16917 * gdb.arch/amd64-tailcall-self.exp: New file.
16918
16919 2015-05-28 Don Breazeal <donb@codesourcery.com>
16920
16921 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
16922 tests for remote targets by checking is_target_gdbserver.
16923
16924 2015-05-27 Doug Evans <dje@google.com>
16925
16926 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
16927 * gdb.dwarf2/opaque-type-lookup.c: New file.
16928 * gdb.dwarf2/opaque-type-lookup.exp: New file.
16929
16930 2015-05-26 Doug Evans <dje@google.com>
16931
16932 * gdb.cp/iostream.cc: New file.
16933 * gdb.cp/iostream.exp: New file.
16934
16935 2015-05-26 Doug Evans <dje@google.com>
16936
16937 * gdb.dwarf2/dw2-op-call.exp: Update.
16938 * gdb.dwarf2/dw4-sig-types.exp: Update.
16939 * gdb.dwarf2/implptr.exp: Update.
16940 * gdb.mi/mi-cmd-param-changed.exp: Update.
16941
16942 2015-05-26 Doug Evans <dje@google.com>
16943
16944 * gdb.python/py-lazy-string.c: New file.
16945 * gdb.python/py-lazy-string.exp: New file.
16946 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
16947 (main): Update. Add estring3.
16948 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
16949 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
16950
16951 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
16952 Yao Qi <yao.qi@linaro.org>
16953
16954 * gdb.reverse/aarch64.c: New.
16955 * gdb.reverse/aarch64.exp: New.
16956
16957 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
16958
16959 * lib/gdb.exp (supports_process_record): Return true for
16960 aarch64*-linux*.
16961 (supports_reverse): Likewise.
16962
16963 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
16964
16965 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16966 Use with_test_prefix.
16967
16968 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
16969
16970 * gdb.base/completion.exp: Add test for completion of layout
16971 names.
16972
16973 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
16974
16975 * lib/gdb.exp (skip_tui_tests): New proc.
16976 * gdb.base/tui-layout.exp: Check skip_tui_tests.
16977
16978 2015-05-19 Pedro Alves <palves@redhat.com>
16979
16980 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16981 Save the whole env array instead of just HOME. Unset HISTSIZE in
16982 the environment while testing. Restore whole environment
16983 afterwards.
16984
16985 2015-05-16 Doug Evans <xdje42@gmail.com>
16986
16987 * gdb.guile/scm-ports.c: New file.
16988 * gdb.guile/scm-ports.exp: Add memory port tests.
16989
16990 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16991
16992 * gdb.compile/compile-print.c: New file.
16993 * gdb.compile/compile-print.exp: New file.
16994
16995 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16996
16997 * gdb.compile/compile-ops.exp: Cast param to void.
16998 * gdb.compile/compile.exp: Complete type for _gdb_expr.
16999 (compile code struct_object.selffield = &struct_object): Add xfail.
17000
17001 2015-05-15 Joel Brobecker <brobecker@adacore.com>
17002
17003 * gdb.ada/arr_enum_with_gap: New testcase.
17004
17005 2015-05-15 Joel Brobecker <brobecker@adacore.com>
17006
17007 * gdb.ada/byte_packed_arr: New testcase.
17008
17009 2015-05-15 Joel Brobecker <brobecker@adacore.com>
17010
17011 * gdb.ada/pckd_neg: New testcase.
17012
17013 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
17014
17015 PR gdb/17820
17016 * gdb.base/gdbinit-history.exp: New test.
17017 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
17018 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
17019
17020 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
17021
17022 * gdb.python/py-xmethods.cc: Enhance test case.
17023 * gdb.python/py-xmethods.exp: New tests.
17024 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
17025 function.
17026 (B_indexoper): Likewise.
17027 (global_dm_list) : Add new xmethod worker functions.
17028
17029 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
17030
17031 * gdb.base/coredump-filter.exp: Correctly unset
17032 "coredump_var_addr" array.
17033
17034 2015-05-08 Pedro Alves <palves@redhat.com>
17035
17036 * gdb.server/non-existing-program.exp: Unset spawn_id.
17037
17038 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
17039
17040 PR python/18291
17041 * gdb.python/py-xmethods.exp: Add tests.
17042
17043 2015-05-08 Yao Qi <yao.qi@linaro.org>
17044
17045 PR gdb/18208
17046 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
17047 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
17048 function set_coredump_filter, and remove remote_exec call.
17049 Remove argument ipid. Callers update.
17050 (top level): Don't get inferior's PID.
17051
17052 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
17053
17054 * gdb.base/watch_thread_num.exp: Skip test on targets without
17055 access watchpoints.
17056
17057 2015-05-06 Pedro Alves <palves@redhat.com>
17058
17059 PR server/18081
17060 * gdb.server/non-existing-program.exp: New file.
17061
17062 2015-05-05 Joel Brobecker <brobecker@adacore.com>
17063
17064 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
17065
17066 2015-05-05 Joel Brobecker <brobecker@adacore.com>
17067
17068 * gdb.ada/out_of_line_in_inlined: New testcase.
17069
17070 2015-05-05 Joel Brobecker <brobecker@adacore.com>
17071
17072 * gdb.ada/var_rec_arr: New testcase.
17073
17074 2015-04-30 Yao Qi <yao.qi@linaro.org>
17075
17076 * gdb.base/break-idempotent.exp: If
17077 skip_hw_watchpoint_multi_tests returns true, skip the tests
17078 on "rwatch" and "awatch".
17079
17080 2015-04-30 Yao Qi <yao.qi@linaro.org>
17081
17082 * gdb.base/relativedebug.exp: Invoke gdb command
17083 "info sharedlibrary", and if libc.so doesn't have debug info,
17084 skip the test.
17085
17086 2015-04-29 Doug Evans <dje@google.com>
17087
17088 * gdb.python/py-xmethods.exp: Add ptype tests.
17089 * gdb.python/py-xmethods.py (E_method_char_worker): Add
17090 get_result_type method.
17091
17092 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
17093
17094 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
17095 the target does not support hardware watchpoints.
17096
17097 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
17098
17099 * gdb.base/break-always.exp: Abort testing if writing to memory
17100 causes an error.
17101
17102 2015-04-28 Doug Evans <dje@google.com>
17103
17104 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
17105 * gdb.python/py-pp-registration.exp: ... here. New file.
17106 * gdb.python/py-pp-registration.c: New file.
17107 * gdb.python/py-pp-registration.py: New file.
17108
17109 2015-04-28 Doug Evans <dje@google.com>
17110
17111 * gdb.python/py-bad-printers.c: New file.
17112 * gdb.python/py-bad-printers.py: New file.
17113 * gdb.python/py-bad-printers.exp: New file.
17114
17115 2015-04-28 Sasha Smundak <asmundak@google.com>
17116
17117 * gdb.python/py-type.exp: New test.
17118
17119 2015-04-28 Andy Wingo <wingo@igalia.com>
17120
17121 * gdb.python/py-parameter.exp:
17122 * gdb.guile/scm-parameter.exp: Escape the path that we are
17123 matching against, as it might contain characters that are special
17124 to regular expressions.
17125
17126 2015-04-27 Joel Brobecker <brobecker@adacore.com>
17127
17128 * gdb.ada/rec_comp: New testcase.
17129
17130 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
17131
17132 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
17133 before using it.
17134
17135 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
17136
17137 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
17138 new tests for verilog output.
17139
17140 2015-04-24 Yao Qi <yao.qi@linaro.org>
17141
17142 * boards/remote-gdbserver-on-localhost.exp: New file.
17143
17144 2015-04-23 Pedro Alves <palves@redhat.com>
17145
17146 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
17147 $inferior_spawn_id instead of $inferior_spawn_id directly. On
17148 "end of file", remove $inferior_spawn_id from the indirect list.
17149
17150 2015-04-23 Pedro Alves <palves@redhat.com>
17151
17152 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
17153
17154 2015-04-23 Pedro Alves <palves@redhat.com>
17155
17156 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
17157 on $any_spawn_id instead of only on $gdb_spawn_id.
17158
17159 2015-04-21 Pierre Muller <muller@sourceware.org>
17160
17161 PR pascal/17815
17162 * lib/pascal.exp (gpc_compile): Add new option "class".
17163 (fpc_compile): Likewise.
17164 * gdb.pascal/case-insensitive-symbols.pas: New file.
17165 * gdb.pascal/case-insensitive-symbols.exp: New file.
17166
17167 2015-04-20 Gary Benson <gbenson@redhat.com>
17168
17169 * gdb.base/attach.exp: Fix three extended remote failures.
17170
17171 2015-04-17 Gary Benson <gbenson@redhat.com>
17172
17173 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
17174 the main executable over the remote protocol.
17175
17176 2015-04-16 Pedro Alves <palves@redhat.com>
17177
17178 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
17179 a new gdbserver if gdbserver_reconnect_p is set.
17180
17181 2015-04-16 Pedro Alves <palves@redhat.com>
17182
17183 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
17184 is set, don't exit gdbserver.
17185
17186 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
17187
17188 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
17189 appropriate .insn, such that an older assembler can be used.
17190 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
17191 the z/Architecture instruction set on 31-bit targets as well.
17192
17193 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
17194
17195 * gdb.go/handcall.exp: Remove all logic related to the first
17196 breakpoint and rely on go_runto_main instead.
17197 * gdb.go/strings.exp: Likewise.
17198 * gdb.go/unsafe.exp: Likewise.
17199 * gdb.go/hello.exp: Likewise. Also rename the remaining
17200 breakpoint marker to "breakpoint 1".
17201 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
17202 * gdb.go/strings.go: Likewise.
17203 * gdb.go/unsafe.go: Likewise.
17204 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
17205 "set breakpoint 2 here" and rename the remaining breakpoint marker
17206 to "breakpoint 1".
17207
17208 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
17209
17210 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
17211 if itertools.imap is not present.
17212 * gdb.python/py-objfile.exp: Add parentheses.
17213 * gdb.python/py-type.exp: Same.
17214 * gdb.python/py-unwind-maint.py: Same.
17215
17216 2015-04-15 Yao Qi <yao.qi@linaro.org>
17217
17218 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
17219 of ":$ptr_size" and set its form explicitly.
17220
17221 2015-04-15 Pedro Alves <palves@redhat.com>
17222 Yao Qi <yao.qi@linaro.org>
17223
17224 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
17225 timeout by factor of 4.
17226 (test_regular_watch): Likewise.
17227 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
17228 * gdb.reverse/sigall-reverse.exp: Likewise.
17229 * gdb.reverse/until-precsave.exp: Likewise.
17230 * lib/gdb.exp (with_timeout_factor): New proc.
17231 (gdb_expect): Move some code to ...
17232 (get_largest_timeout): ... here. New procedure.
17233
17234 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
17235
17236 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
17237
17238 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
17239
17240 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
17241 to write to the .text section.
17242
17243 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
17244
17245 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
17246 Handle the case of targets that do not provide PID information.
17247
17248 2015-04-13 Yao Qi <yao.qi@linaro.org>
17249
17250 * lib/gdbserver-support.exp (gdb_exit): Catch exception
17251 and use expect instead of gdb_expect.
17252
17253 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
17254
17255 * gdb.base/coredump-filter.exp: Rename variable "addr" to
17256 "coredump_var_addr" to avoid naming conflict with other testcases.
17257
17258 2015-04-10 Pedro Alves <palves@redhat.com>
17259
17260 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
17261 gdb_test_sequence and gdb_assert.
17262
17263 2015-04-10 Pedro Alves <palves@redhat.com>
17264
17265 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
17266 test messages that don't include the breakpoint address.
17267
17268 2015-04-10 Yao Qi <yao.qi@linaro.org>
17269
17270 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
17271 false for some offset and width combinations which aren't
17272 supported by linux kernel.
17273
17274 2015-04-10 Pedro Alves <palves@redhat.com>
17275
17276 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
17277 procedure, factored out from ...
17278 (top level): ... here. Add "set displaced-stepping" testing axis.
17279 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
17280 parameter "displaced". Use it.
17281 (top level): Use foreach and add "set displaced-stepping" testing
17282 axis.
17283
17284 2015-04-10 Pedro Alves <palves@redhat.com>
17285
17286 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
17287 Remove comment.
17288 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
17289 both the address of the instruction that triggers the watchpoint
17290 and the address of the instruction immediately after, and use
17291 those addresses for the test. Fix comment.
17292
17293 2015-04-10 Pedro Alves <palves@redhat.com>
17294
17295 * gdb.base/sigstep.exp (breakpoint_to_handler)
17296 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
17297 Test "backtrace" in handler.
17298 (breakpoint_over_handler): New parameter 'displaced'. Use it.
17299 (top level): Add new "displaced" test axis to
17300 breakpoint_to_handler, breakpoint_to_handler_entry and
17301 breakpoint_over_handler.
17302
17303 2015-04-10 Pedro Alves <palves@redhat.com>
17304
17305 PR gdb/18216
17306 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
17307
17308 2015-04-10 Yao Qi <yao.qi@linaro.org>
17309
17310 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
17311 (test_add_rn_pc): New function.
17312 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
17313 (top level): Invoke test_add_rn_pc.
17314
17315 2015-04-10 Pedro Alves <palves@redhat.com>
17316
17317 PR gdb/13858
17318 * gdb.base/step-over-no-symbols.exp: New file.
17319
17320 2015-04-09 Andy Wingo <wingo@igalia.com>
17321
17322 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
17323 after the Python tests.
17324
17325 2015-04-08 Keith Seitz <keiths@redhat.com>
17326
17327 PR python/16699
17328 * gdb.python/py-completion.exp: New tests for completion.
17329 * gdb.python/py-completion.py (CompleteLimit1): New class.
17330 (CompleteLimit2): Likewise.
17331 (CompleteLimit3): Likewise.
17332 (CompleteLimit4): Likewise.
17333 (CompleteLimit5): Likewise.
17334 (CompleteLimit6): Likewise.
17335 (CompleteLimit7): Likewise.
17336
17337 2015-04-08 Pedro Alves <palves@redhat.com>
17338
17339 PR gdb/18214
17340 PR gdb/18216
17341 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
17342 function.
17343 (main): Install it as SIGUSR1 handler.
17344 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
17345 parameter. Always use "setup" as prefix. Toggle "set
17346 displaced-stepping" off/on depending on global. Don't switch to
17347 thread 1 here.
17348 (top level): Add displaced stepping "off/on" test axis. Update
17349 "setup" calls. Wrap each subtest with with_test_prefix. Test
17350 continuing with a queued signal in each thread.
17351
17352 2015-04-08 Pedro Alves <palves@redhat.com>
17353
17354 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
17355 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
17356 gdb_breakpoint instead of gdb_test that doesn't expect anything.
17357 Return early if running to main fails.
17358 * gdb.trace/while-stepping.exp: Likewise.
17359
17360 2015-04-07 Pedro Alves <palves@redhat.com>
17361
17362 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
17363 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
17364 interact with inferior program.
17365
17366 2015-04-07 Pedro Alves <palves@redhat.com>
17367
17368 * lib/gdb.exp (inferior_spawn_id): New global.
17369 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
17370 spawn id after processing the user code.
17371 (default_gdb_start): Set inferior_spawn_id.
17372 (send_inferior): New procedure.
17373 * lib/gdbserver-support.exp (gdbserver_start): Set
17374 inferior_spawn_id.
17375 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
17376
17377 2015-04-07 Pedro Alves <palves@redhat.com>
17378
17379 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
17380 * lib/gdbserver-support.exp (gdbserver_start): Make
17381 $server_spawn_id global.
17382 (gdbserver_start): Don't wait for gdbserver's spawn id with
17383 expect_background.
17384 (close_gdbserver): New procedure.
17385 (gdb_exit): Rename the default version and reimplement.
17386
17387 2015-04-07 Pedro Alves <palves@redhat.com>
17388
17389 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
17390 append the substituted item, not the original item.
17391
17392 2015-04-07 Pedro Alves <palves@redhat.com>
17393
17394 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
17395 gdb_expect.
17396
17397 2015-04-07 Pedro Alves <palves@redhat.com>
17398
17399 * gdb.base/interrupt.exp: Don't handle the case of the inferior
17400 output appearing once only.
17401
17402 2015-04-07 Pedro Alves <palves@redhat.com>
17403
17404 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
17405 that doesn't expect anything. Return early if running to main
17406 fails.
17407
17408 2015-04-07 Yao Qi <yao.qi@linaro.org>
17409
17410 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
17411 (child_function): Call alarm.
17412 (main): Move call to alarm into the loop.
17413 * gdb.threads/non-stop-fair-events.exp: Build program with
17414 -DTIMEOUT=$timeout.
17415
17416 2015-04-06 Doug Evans <xdje42@gmail.com>
17417
17418 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
17419 Fix dest parameter to board_info.
17420 (fpc_compile): Ditto.
17421 (gdb_compile_pascal): Rename dest arg to destfile.
17422
17423 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
17424
17425 * gdb.ada/funcall_ref.exp: New file.
17426 * gdb.ada/funcall_ref/foo.adb: New file.
17427
17428 2015-04-02 Yao Qi <yao.qi@linaro.org>
17429
17430 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
17431 is remote.
17432
17433 2015-04-02 Gary Benson <gbenson@redhat.com>
17434
17435 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
17436
17437 2015-04-01 Sasha Smundak <asmundak@google.com>
17438
17439 * gdb.python/py-unwind-maint.c: New file.
17440 * gdb.python/py-unwind-maint.exp: New test.
17441 * gdb.python/py-unwind-maint.py: New file.
17442 * gdb.python/py-unwind.c: New file.
17443 * gdb.python/py-unwind.exp: New test.
17444 * gdb.python/py-unwind.py: New test.
17445
17446 2015-04-01 Pedro Alves <palves@redhat.com>
17447
17448 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
17449 to fail instead of non-existent $test.
17450
17451 2015-04-01 Pedro Alves <palves@redhat.com>
17452
17453 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
17454 GDBFLAGS if not empty.
17455
17456 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
17457
17458 * gdb.ada/complete.exp: Remove "multi_line".
17459 * gdb.ada/info_exc.exp: Remove "multi_line".
17460 * gdb.ada/packed_tagged.exp: Remove "multi_line".
17461 * gdb.ada/ptype_field.exp: Remove "multi_line".
17462 * gdb.ada/sym_print_name.exp: Remove "multi_line".
17463 * gdb.ada/tagged.exp: Remove "multi_line".
17464 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
17465 [multi_line ...]
17466 * gdb.btrace/delta.exp: Likewise.
17467 * gdb.btrace/exception.exp: Likewise.
17468 * gdb.btrace/function_call_history.exp: Likewise.
17469 * gdb.btrace/instruction_history.exp: Likewise.
17470 * gdb.btrace/nohist.exp: Likewise.
17471 * gdb.btrace/record_goto.exp: Likewise.
17472 * gdb.btrace/segv.exp: Likewise.
17473 * gdb.btrace/stepi.exp: Likewise.
17474 * gdb.btrace/tailcall.exp: Likewise.
17475 * gdb.btrace/unknown_functions.exp: Likewise.
17476 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
17477 * lib/gdb.exp: Add the "multi_line" helper.
17478
17479 2015-04-01 Pedro Alves <palves@redhat.com>
17480
17481 * gdb.threads/tid-reuse.c: New file.
17482 * gdb.threads/tid-reuse.exp: New file.
17483
17484 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
17485
17486 PR corefiles/16092
17487 * gdb.base/coredump-filter.c: New file.
17488 * gdb.base/coredump-filter.exp: Likewise.
17489
17490 2015-03-27 Petr Machata <pmachata@redhat.com>
17491
17492 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
17493 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
17494 (Dwarf::assemble): Initialize them.
17495 (Dwarf::lines): New function.
17496
17497 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
17498
17499 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
17500 SYMBOL_PREFIX for x86_64-*-cygwin.
17501
17502 2015-03-26 Andy Wingo <wingo@igalia.com>
17503
17504 PR symtab/18148
17505 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
17506 const_value but not a location.
17507 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
17508 location defined in non-main CUs are visible.
17509
17510 2015-03-26 Yao Qi <yao.qi@linaro.org>
17511
17512 PR testsuite/18139
17513 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
17514 Add a line number entry for the same line.
17515 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
17516 Add a line number entry for the same line.
17517
17518 2015-03-26 Yao Qi <yao.qi@linaro.org>
17519
17520 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
17521 .int 0.
17522 (func): Likewise. Add .Lfunc_1 label.
17523 Use .Lfunc_1 label.
17524 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
17525 .int 0.
17526 (func): Likewise.
17527 Use .Lfunc_1 label.
17528
17529 2015-03-26 Yao Qi <yao.qi@linaro.org>
17530
17531 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
17532 Call gdb_compile instead to compile each .s files without debug
17533 information.
17534
17535 2015-03-26 Yao Qi <yao.qi@linaro.org>
17536
17537 * gdb.base/savedregs.exp (process_saved_regs): Make
17538 "Saved registers:" optional in the pattern.
17539
17540 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
17541
17542 * gdb.btrace/next.exp: Merged into step.exp.
17543 * gdb.btrace/finish.exp: Merged into step.exp.
17544 * gdb.btrace/nexti.exp: Merged into stepi.exp.
17545 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
17546 "record goto" and checking the exact replay position.
17547 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
17548 check for "Recording format" in "info record" output.
17549 * gdb.btrace/record_goto.exp: Choose test file based on target.
17550 * gdb.btrace/x86-record_goto.S: Renamed into ...
17551 * gdb.btrace/x86_64-record_goto.S: ... this.
17552 * gdb.btrace/i686-record_goto.S: New.
17553 * gdb.btrace/x86-tailcall.S: Renamed into ...
17554 * gdb.btrace/x86_64-tailcall.S: ... this.
17555 * gdb.btrace/i686-tailcall.S: New.
17556 * gdb.btrace/x86-tailcall.c: Renamed into ...
17557 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
17558 separate statements. Update test.
17559 * gdb.btrace/delta.exp: Use record_goto.c as test file.
17560 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
17561 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
17562 * gdb.btrace/tailcall.exp: Choose test file based on target.
17563 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
17564
17565 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
17566
17567 * gdb.btrace/exception.exp: Increase BTS buffer size.
17568
17569 2015-03-24 Pedro Alves <palves@redhat.com>
17570
17571 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
17572
17573 2015-03-24 Pedro Alves <palves@redhat.com>
17574
17575 * gdb.threads/schedlock.exp (test_step): No longer expect that
17576 "set scheduler-locking step" with "next" over a function call runs
17577 threads unlocked.
17578
17579 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
17580
17581 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
17582
17583 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
17584
17585 PR breakpoints/16466
17586 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
17587 * gdb.mi/mi-pending.c (thread_func): New function.
17588 (int main): Add threading support required.
17589 * gdb.mi/mi-pending.exp: Add tests for this issue.
17590 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
17591 (pendfunc2): Remove stdio dependency.
17592 * gdb.mi/mi-pendshr2.c: New file.
17593
17594 2015-03-23 Keith Seitz <keiths@redhat.com>
17595
17596 * gdb.linespec/keywords.c: New file.
17597 * gdb.linespec/keywords.exp: New file.
17598
17599 2015-03-23 Keith Seitz <keiths@redhat.com>
17600
17601 PR gdb/18021
17602 * gdb.dwarf2/staticvirtual.exp: New test.
17603
17604 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
17605
17606 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
17607 * README: Remove HP-UX and gdb.hp.
17608 (configuration):
17609 * configure: Regenerate.
17610 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
17611 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
17612 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
17613 gdb.hp/gdb.defects/Makefile.
17614 * gdb.hp/Makefile.in: File deleted.
17615 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
17616 * gdb.hp/gdb.aCC/optimize.c: File deleted.
17617 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
17618 * gdb.hp/gdb.aCC/run.c: File deleted.
17619 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
17620 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
17621 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
17622 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
17623 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
17624 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
17625 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
17626 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
17627 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
17628 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
17629 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
17630 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
17631 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
17632 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
17633 * gdb.hp/gdb.base-hp/reg.s: File deleted.
17634 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
17635 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
17636 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
17637 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
17638 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
17639 * gdb.hp/gdb.compat/Makefile.in: File deleted.
17640 * gdb.hp/gdb.compat/average.c: File deleted.
17641 * gdb.hp/gdb.compat/sum.c: File deleted.
17642 * gdb.hp/gdb.compat/xdb.c: File deleted.
17643 * gdb.hp/gdb.compat/xdb0.c: File deleted.
17644 * gdb.hp/gdb.compat/xdb0.h: File deleted.
17645 * gdb.hp/gdb.compat/xdb1.c: File deleted.
17646 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
17647 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
17648 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
17649 * gdb.hp/gdb.defects/Makefile.in: File deleted.
17650 * gdb.hp/gdb.defects/bs14602.c: File deleted.
17651 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
17652 * gdb.hp/gdb.defects/solib-d.c: File deleted.
17653 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
17654 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
17655 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
17656 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
17657 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
17658 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
17659 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
17660 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
17661 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
17662 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
17663 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
17664 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
17665 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
17666 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
17667 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
17668 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
17669 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
17670 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
17671 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
17672 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
17673 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
17674 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
17675 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
17676 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
17677 * gdb.hp/tools/odump: File deleted.
17678
17679 2015-03-19 Pedro Alves <palves@redhat.com>
17680
17681 * gdb.threads/continue-pending-status.exp (saw_thread_2)
17682 (saw_thread_3): New globals.
17683 (top level): Increment them when an event for the corresponding
17684 thread is seen.
17685 (no thread starvation): New test.
17686
17687 2015-03-19 Pedro Alves <palves@redhat.com>
17688
17689 * gdb.threads/continue-pending-status.c: New file.
17690 * gdb.threads/continue-pending-status.exp: New file.
17691
17692 2015-03-18 Pedro Alves <palves@redhat.com>
17693
17694 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
17695 Use gdb_is_target_remote instead of is_remote. Use
17696 gdb_test_multiple instead of gdb_expect. Exit early if
17697 gdb_test_multiple hits its internal matches. Tighten stepi tests
17698 expected output. Fail on exit with any signal, instead of just
17699 SIGILL.
17700
17701 2015-03-18 Yao Qi <yao.qi@linaro.org>
17702
17703 PR tdep/18107
17704 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
17705 variable.
17706 * gdb.base/catch-syscall.exp: Don't skip it on
17707 aarch64*-*-linux* target. Remove elements in all_syscalls.
17708 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
17709 target.
17710 (setup_all_syscalls): New proc.
17711
17712 2015-03-16 Yao Qi <yao.qi@linaro.org>
17713
17714 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
17715 (top level): Skip tests if valid_addr_p returns false for
17716 $cmd1 or $cmd2.
17717
17718 2015-03-11 Andy Wingo <wingo@igalia.com>
17719
17720 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
17721
17722 2015-03-11 Yao Qi <yao.qi@linaro.org>
17723
17724 * gdb.base/catch-syscall.exp: Fix typo in comments.
17725
17726 2015-03-11 Yao Qi <yao.qi@linaro.org>
17727
17728 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
17729
17730 2015-03-09 Pedro Alves <palves@redhat.com>
17731
17732 * dg-extract-results.py: Delete.
17733
17734 2015-03-09 Pedro Alves <palves@redhat.com>
17735
17736 Merge dg-extract-results.sh from GCC upstream (r218843).
17737
17738 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
17739 * dg-extract-results.sh: Use --text with grep to avoid issues with
17740 binary files. Fall back to cat -v, if that doesn't work.
17741
17742 2015-03-05 Pedro Alves <palves@redhat.com>
17743
17744 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
17745
17746 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
17747
17748 * lib/mi-support.exp (mi_expect_interrupt): Accept
17749 alternative event for when in all-stop mode.
17750
17751 2015-03-04 Pedro Alves <palves@redhat.com>
17752
17753 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
17754
17755 2015-03-04 Mark Kettenis <kettenis@gnu.org>
17756
17757 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
17758
17759 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
17760
17761 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
17762 regexps for GDB's current line display, accept a hex address
17763 preceding the line number.
17764
17765 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
17766
17767 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
17768 the 'arch1' variable for "s390*-linux*" targets.
17769
17770 2015-03-04 Pedro Alves <palves@redhat.com>
17771
17772 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
17773 (main): Pass missing retval argument to pthread_join call.
17774
17775 2015-03-02 Pedro Alves <palves@redhat.com>
17776
17777 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
17778 (top level): Call do_test with non-stop as well.
17779
17780 2015-03-02 Pedro Alves <palves@redhat.com>
17781
17782 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
17783 -1.
17784
17785 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
17786
17787 * gdb.arch/s390-vregs.exp: New test.
17788 * gdb.arch/s390-vregs.S: New file.
17789
17790 2015-02-27 Pedro Alves <palves@redhat.com>
17791
17792 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
17793 call to catch_command_errors.
17794 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
17795 catch_command_errors.
17796
17797 2015-02-27 Pedro Alves <palves@redhat.com>
17798
17799 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
17800 "true" for boolean result.
17801 * gdb.gdb/selftest.exp (test_with_self): Also accept full
17802 prototype of main.
17803
17804 2015-02-27 Pedro Alves <palves@redhat.com>
17805
17806 * lib/unbuffer_output.c: New file.
17807 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
17808 (main): Call gdb_unbuffer_output.
17809
17810 2015-02-27 Yao Qi <yao.qi@linaro.org>
17811
17812 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
17813 target.
17814
17815 2015-02-26 Doug Evans <dje@google.com>
17816
17817 * gdb.cp/class2.cc (Dbase, D): New classes.
17818 (main): New local delta.
17819 * gdb.cp/class2.exp: Test printing delta.
17820 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
17821 (dynbar): New global.
17822 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
17823
17824 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17825
17826 * gdb.compile/compile-ifunc.c: New file.
17827 * gdb.compile/compile-ifunc.exp: New file.
17828
17829 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
17830
17831 * gdb.base/structs.exp: Check for correct struct on finish.
17832
17833 2015-02-26 Yao Qi <yao.qi@linaro.org>
17834
17835 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
17836 is zero.
17837
17838 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17839
17840 * gdb.arch/cordic.ko.bz2: New file.
17841 * gdb.arch/cordic.ko.debug.bz2: New file.
17842 * gdb.arch/ppc64-symtab-cordic.exp: New file.
17843
17844 2015-02-25 Yao Qi <yao.qi@linaro.org>
17845
17846 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
17847 aarch64*-*-* target.
17848
17849 2015-02-23 Pedro Alves <palves@redhat.com>
17850
17851 * lib/gdb.exp (delete_breakpoints): Rewrite using
17852 gdb_test_multiple.
17853
17854 2015-02-23 Pedro Alves <palves@redhat.com>
17855
17856 * gdb.base/info-os.c: Include stdlib.h.
17857
17858 2015-02-22 Doug Evans <xdje42@gmail.com>
17859
17860 PR symtab/17855
17861 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
17862 is read after symbols have been re-read.
17863 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
17864 * gdb.ada/exec_changed/second.adb (Second): Ditto.
17865
17866 2015-02-21 Doug Evans <dje@google.com>
17867
17868 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
17869
17870 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17871
17872 PR corefiles/17808
17873 * gdb.arch/i386-biarch-core.core.bz2: New file.
17874 * gdb.arch/i386-biarch-core.exp: New file.
17875
17876 2015-02-21 Pedro Alves <palves@redhat.com>
17877
17878 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
17879 runto_main fails.
17880
17881 2015-02-20 Pedro Alves <palves@redhat.com>
17882
17883 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
17884 info probes.
17885
17886 2015-02-20 Pedro Alves <palves@redhat.com>
17887
17888 * gdb.threads/multi-create-ns-info-thr.exp: New file.
17889
17890 2015-02-20 Pedro Alves <palves@redhat.com>
17891
17892 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
17893 clean_restart before gdb_target_supports_trace.
17894
17895 2015-02-20 Pedro Alves <palves@redhat.com>
17896
17897 PR threads/18006
17898 * gdb.threads/clone-thread_db.c: New file.
17899 * gdb.threads/clone-thread_db.exp: New file.
17900
17901 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
17902
17903 PR breakpoints/16812
17904 * gdb.base/catch-gdb-caused-signals.c: New file.
17905 * gdb.base/catch-gdb-caused-signals.exp: New file.
17906
17907 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
17908
17909 * configure: Regenerated.
17910 * configure.ac: Use GDB_AC_TRANSFORM.
17911 * aclocal.m4: sinclude ../transform.m4.
17912
17913 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17914
17915 * lib/dtrace.exp: New file.
17916 * gdb.base/dtrace-probe.exp: Likewise.
17917 * gdb.base/dtrace-probe.d: Likewise.
17918 * gdb.base/dtrace-probe.c: Likewise.
17919 * lib/pdtrace.in: Likewise.
17920 * configure.ac: Output variables with the transformed names of
17921 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
17922 * configure: Regenerated.
17923
17924 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17925
17926 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
17927 expected message when trying to access $_probe_* convenience
17928 variables while not on a probe.
17929
17930 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17931
17932 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
17933
17934 2015-02-11 Pedro Alves <pedro@codesourcery.com>
17935
17936 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
17937 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
17938
17939 2015-02-10 Doug Evans <xdje42@gmail.com>
17940
17941 * lib/gdb.exp (gdb_load): Always return a result.
17942
17943 2015-02-10 Pedro Alves <palves@redhat.com>
17944
17945 * gdb.threads/signal-sigtrap.c: New file.
17946 * gdb.threads/signal-sigtrap.exp: New file.
17947
17948 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
17949
17950 * gdb.trace/no-attach-trace.c: New file.
17951 * gdb.trace/no-attach-trace.exp: New file.
17952
17953 2015-02-09 Mark Wielaard <mjw@redhat.com>
17954
17955 * gdb.dwarf2/atomic.c: New file.
17956 * gdb.dwarf2/atomic-type.exp: Likewise.
17957
17958 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
17959
17960 * gdb.btrace/buffer-size.exp: Update "info record" output.
17961 * gdb.btrace/delta.exp: Update "info record" output.
17962 * gdb.btrace/enable.exp: Update "info record" output.
17963 * gdb.btrace/finish.exp: Update "info record" output.
17964 * gdb.btrace/instruction_history.exp: Update "info record" output.
17965 * gdb.btrace/next.exp: Update "info record" output.
17966 * gdb.btrace/nexti.exp: Update "info record" output.
17967 * gdb.btrace/step.exp: Update "info record" output.
17968 * gdb.btrace/stepi.exp: Update "info record" output.
17969 * gdb.btrace/nohist.exp: Update "info record" output.
17970
17971 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
17972
17973 * gdb.btrace/buffer-size: New.
17974
17975 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
17976
17977 * gdb.btrace/delta.exp: Update "info record" output.
17978 * gdb.btrace/enable.exp: Update "info record" output.
17979 * gdb.btrace/finish.exp: Update "info record" output.
17980 * gdb.btrace/instruction_history.exp: Update "info record" output.
17981 * gdb.btrace/next.exp: Update "info record" output.
17982 * gdb.btrace/nexti.exp: Update "info record" output.
17983 * gdb.btrace/step.exp: Update "info record" output.
17984 * gdb.btrace/stepi.exp: Update "info record" output.
17985 * gdb.btrace/nohist.exp: Update "info record" output.
17986
17987 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
17988
17989 PR gdb/15678
17990 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
17991
17992 2015-02-06 Pedro Alves <palves@redhat.com>
17993
17994 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
17995 macro.
17996 (seconds_left, again): New globals.
17997 (main): Wait seconds_left in a 1-second sleep loop instead of
17998 sleeping 180 seconds. If 'again' is set, reset the seconds
17999 counter.
18000 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
18001 'again' in the inferior before detaching. Print the seconds left.
18002 (options): New global.
18003 (top level): Build program with -DTIMEOUT=$timeout.
18004
18005 2015-02-06 Pedro Alves <palves@redhat.com>
18006
18007 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
18008 determine how many seconds to pass to 'alarm'.
18009 * gdb.base/gdb-sigterm.exp (top level): Build program with
18010 -DTIMEOUT=$timeout.
18011 (do_test): Return success/failure indication. Add more verbose
18012 logging. Don't fail if 200 single steps are seen. Instead, fail
18013 when the test times out.
18014 (passes): New global.
18015 (top level): Break the testing loop if testing fails on any
18016 iteration. Use gdb_assert.
18017
18018 2015-02-04 Don Breazeal <donb@codesourcery.com>
18019
18020 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
18021 and initialize them.
18022 (ipc_cleanup): New function.
18023 (main): Don't declare shmid, semid, and msqid. Add a call to
18024 atexit so that we call ipc_cleanup on exit.
18025
18026 2015-02-04 Pedro Alves <palves@redhat.com>
18027
18028 * boards/native-extended-gdbserver.exp: Remove any target variant
18029 specifications from the board name before clearing the isremote
18030 flag from board_info.
18031
18032 2015-01-31 Doug Evans <xdje42@gmail.com>
18033
18034 * gdb.base/maint.exp <maint print type argc>: Update expected output.
18035
18036 2015-01-31 Gary Benson <gbenson@redhat.com>
18037
18038 * gdb.base/completion.exp: Disable completion limiting for
18039 existing tests. Add new tests to check completion limiting.
18040 * gdb.linespec/ls-errs.exp: Disable completion limiting.
18041
18042 2015-01-31 Doug Evans <xdje42@gmail.com>
18043
18044 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
18045
18046 2015-01-31 Doug Evans <xdje42@gmail.com>
18047
18048 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
18049 entries. Duplicate file section script entries.
18050 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
18051 inlined entries. Add test for safe-path rejection.
18052 * gdb.python/py-section-script.c: Add duplicate inlined section script
18053 entries. Duplicate file section script entries.
18054 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
18055 inlined entries. Add test for safe-path rejection.
18056
18057 2015-01-29 Joel Brobecker <brobecker@adacore.com>
18058
18059 * gdb.ada/disc_arr_bound: New testcase.
18060
18061 2015-01-29 Joel Brobecker <brobecker@adacore.com>
18062
18063 * gdb.ada/mi_var_array: New testcase.
18064
18065 2015-01-27 Doug Evans <dje@google.com>
18066
18067 * gdb.python/py-objfile.exp: Add tests for objfile.username.
18068 Add test for objfile.filename, objfile.username after objfile
18069 has been unloaded.
18070
18071 2015-01-26 Joel Brobecker <brobecker@adacore.com>
18072
18073 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
18074 the second test to print the name attribute of value
18075 returned by the call to gdb.lookup_type, and adjust
18076 the expected output accordingly.
18077
18078 2015-01-25 Mark Wielaard <mjw@redhat.com>
18079
18080 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
18081 * gdb.base/disp-step-fork.c: Include unistd.h.
18082 * gdb.base/siginfo-obj.c: Include stdio.h.
18083 * gdb.base/siginfo-thread.c: Likewise.
18084 * gdb.mi/non-stop.c: Include unistd.h.
18085 * gdb.mi/nsthrexec.c: Include stdio.h.
18086 * gdb.mi/pthreads.c: Include unistd.h.
18087 * gdb.modula2/unbounded1.c (main): Declare returns int.
18088 * gdb.reverse/consecutive-reverse.c: Likewise.
18089 * gdb.threads/create-fail.c: Include unistd.h.
18090 * gdb.threads/killed.c: Likewise.
18091 * gdb.threads/linux-dp.c: Likewise.
18092 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
18093 * gdb.threads/non-ldr-exc-2.c: Likewise.
18094 * gdb.threads/non-ldr-exc-3.c: Likewise.
18095 * gdb.threads/non-ldr-exc-4.c: Likewise.
18096 * gdb.threads/pthreads.c: Include unistd.h.
18097 (main): Declare returns int.
18098 * gdb.threads/tls-main.c (foo): New declaration.
18099 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
18100
18101 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
18102
18103 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
18104 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
18105
18106 2015-01-15 Mark Wielaard <mjw@redhat.com>
18107
18108 * gdb.base/noreturn-return.c: New file.
18109 * gdb.base/noreturn-return.exp: New file.
18110 * gdb.base/noreturn-finish.c: New file.
18111 * gdb.base/noreturn-finish.exp: New file.
18112
18113 2015-01-23 Pedro Alves <palves@redhat.com>
18114
18115 * gdb.threads/continue-pending-after-query.c: New file.
18116 * gdb.threads/continue-pending-after-query.exp: New file.
18117
18118 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
18119 Simon Marchi <simon.marchi@ericsson.com>
18120
18121 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
18122 * gdb.base/valgrind-db-attach.exp: Same.
18123 * gdb.base/valgrind-infcall.exp: Same.
18124 * lib/mi-support.exp (default_mi_gdb_start): Same.
18125 * lib/prompt.exp (default_prompt_gdb_start): Same.
18126 * lib/gdb.exp (default_gdb_spawn): Same.
18127 (gdb_interact): New.
18128
18129
18130 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
18131
18132 * gdb.compile/compile.exp (pointer to jit function): New test.
18133
18134 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
18135
18136 * lib/gdb.exp (supports_process_record): Return true for
18137 powerpc*-*-linux*.
18138 (supports_reverse): Likewise.
18139
18140 2015-01-15 Don Breazeal <donb@codesourcery.com>
18141
18142 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
18143 instead of checking whether the target board is remote and
18144 use spawn_wait_for_attach instead of exec/sleep.
18145 * gdb.base/attach-twice.exp: Likewise.
18146
18147 2015-01-15 Joel Brobecker <brobecker@adacore.com>
18148
18149 * gdb.ada/var_arr_attrs: New testcase.
18150
18151 2015-01-14 Pedro Alves <palves@redhat.com>
18152 Joel Brobecker <brobecker@adacore.com>
18153
18154 PR gdb/17525
18155 * gdb.base/bp-cmds-execution-x-script.c: New file.
18156 * gdb.base/bp-cmds-execution-x-script.exp: New file.
18157 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
18158
18159 2015-01-14 Pedro Alves <palves@redhat.com>
18160
18161 PR cli/17828
18162 * gdb.base/batch-preserve-term-settings.c: New file.
18163 * gdb.base/batch-preserve-term-settings.exp: New file.
18164
18165 2015-01-13 Doug Evans <dje@google.com>
18166
18167 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
18168 binary.
18169
18170 2015-01-13 Joel Brobecker <brobecker@adacore.com>
18171
18172 * Makefile.in (clean mostlyclean): Do not delete *.py.
18173
18174 2015-01-13 Joel Brobecker <brobecker@adacore.com>
18175
18176 * gdb.python/py-lookup-type.exp: New file.
18177
18178 2015-01-12 Pedro Alves <palves@redhat.com>
18179
18180 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
18181 restore GDBFLAGS before returning.
18182
18183 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18184
18185 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
18186 is_amd64_regs_target and is_x86_like_target.
18187
18188 2015-01-11 Doug Evans <xdje42@gmail.com>
18189
18190 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
18191 is given without an explicit form.
18192 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
18193 attributes.
18194 * gdb.dwarf/corrupt.exp: Ditto.
18195 * gdb.dwarf2/enum-type.exp: Ditto.
18196 * gdb.trace/entry-values.exp: Ditto.
18197 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
18198
18199 2015-01-11 Doug Evans <xdje42@gmail.com>
18200
18201 PR gdb/15830
18202 * gdb.base/maint.exp: Remove references to "maint demangle".
18203 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
18204 Add tests for explicitly specifying language to demangle.
18205 * gdb.dlang/demangle.exp: Ditto.
18206
18207 2015-01-09 Pedro Alves <palves@redhat.com>
18208
18209 * gdb.threads/non-stop-fair-events.c: New file.
18210 * gdb.threads/non-stop-fair-events.exp: New file.
18211
18212 2015-01-09 Pedro Alves <palves@redhat.com>
18213
18214 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
18215 the global scope. Set a breakpoint after all threads are started
18216 rather than stepping over two source lines. Expect the prompt.
18217 * gdb.base/watch_thread_num.c (threads_started_barrier): New
18218 global.
18219 (NUM): Now 15.
18220 (main): Use threads_started_barrier to wait for all threads to
18221 start. Main thread no longer calls thread_function. Exit after
18222 180 seconds.
18223 (loop): New function.
18224 (thread_function): Wait on threads_started_barrier barrier. Call
18225 'loop' at each iteration.
18226 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
18227 threads have started, instead of hardcoding number of "next"
18228 steps. Use an access watchpoint instead of a write watchpoint.
18229
18230 2015-01-09 Pedro Alves <palves@redhat.com>
18231
18232 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
18233 (thread_func): Wait on barrier.
18234 (main): Wait for all threads to start before stopping GDB.
18235 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
18236 global.
18237 (thread1_func, thread2_func): Wait on barrier.
18238 (main): Wait for all threads to start before stopping GDB.
18239 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
18240 New global.
18241 (thread1_func, thread2_func): Wait on barrier.
18242 (main): Wait for all threads to start before stopping GDB.
18243
18244 2015-01-09 Pedro Alves <palves@redhat.com>
18245
18246 * gdb.threads/attach-many-short-lived-threads.c: New file.
18247 * gdb.threads/attach-many-short-lived-threads.exp: New file.
18248
18249 2014-01-09 Pedro Alves <palves@redhat.com>
18250
18251 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
18252 instead of to thread 2.
18253 * gdb.threads/signal-command-multiple-signals-pending.c (main):
18254 Add barrier around each pthread_create call instead of around all
18255 calls.
18256 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
18257 Set a break on thread_function and have the child threads hit it
18258 one at at a time.
18259
18260 2015-01-09 Pedro Alves <palves@redhat.com>
18261
18262 * lib/gdb.exp (can_spawn_for_attach): New procedure.
18263 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
18264 false.
18265 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
18266 checking whether the target board is remote.
18267 * gdb.multi/multi-attach.exp: Likewise.
18268 * gdb.python/py-sync-interp.exp: Likewise.
18269 * gdb.server/ext-attach.exp: Likewise.
18270 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
18271 tests that need to attach, instead of checking whether the target
18272 board is remote at the top of the file.
18273
18274 2015-01-08 Yao Qi <yao@codesourcery.com>
18275
18276 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
18277
18278 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18279
18280 Fix testcase compilation.
18281 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
18282
18283 2015-01-06 Joel Brobecker <brobecker@adacore.com>
18284
18285 * gdb.python/py-type.exp: Add a couple test about empty
18286 array creation, and negative-length array creation.
18287
18288 2015-01-02 Doug Evans <xdje42@gmail.com>
18289
18290 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
18291
18292 2015-01-02 Doug Evans <dje@google.com>
18293
18294 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
18295
18296 2014-12-29 Yao Qi <yao@codesourcery.com>
18297
18298 * gdb.trace/entry-values.exp: Update comments. Rename variable
18299 bar_call_foo to returned_from_foo.
18300
18301 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
18302
18303 PR gdb/17394
18304 * gdb.linespec/break-asm-file.c: New file.
18305 * gdb.linespec/break-asm-file.exp: New file.
18306 * gdb.linespec/break-asm-file0.s: New file.
18307 * gdb.linespec/break-asm-file1.s: New file.
18308
18309 2014-12-18 Nigel Stephens <nigel@mips.com>
18310 Maciej W. Rozycki <macro@codesourcery.com>
18311
18312 * gdb.base/float.exp: Handle the new output from "info float" on
18313 MIPS targets.
18314
18315 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
18316
18317 Fix MinGW compilation.
18318 * gdb.compile/compile-ops.exp: Update untested message if
18319 !skip_compile_feature_tests.
18320 * gdb.compile/compile-setjmp.exp: Likewise.
18321 * gdb.compile/compile-tls.exp: Likewise.
18322 * gdb.compile/compile.exp: Likewise.
18323 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
18324 supported on this host".
18325
18326 2014-12-16 Doug Evans <xdje42@gmail.com>
18327
18328 * boards/stabs.exp: New file.
18329
18330 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
18331
18332 * gdb.base/completion.exp: Adjust to format changes of "maint
18333 print user-registers".
18334
18335 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
18336
18337 PR server/17457
18338 * gdb.arch/aarch64-fp.c: New file.
18339 * gdb.arch/aarch64-fp.exp: New file.
18340
18341 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
18342
18343 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
18344 r210637, r210913, r211666, r215400, r215817).
18345
18346 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
18347 * dg-extract-results.py: New file.
18348 * dg-extract-results.sh: Use it if the environment seems
18349 suitable.
18350
18351 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
18352
18353 * dg-extract-results.py (parse_run): Handle warnings that
18354 are printed before a test harness is run.
18355
18356 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
18357
18358 * dg-extract-results.py (Named): Remove __cmp__ method.
18359 (output_variation): Use a key to sort variation.harnesses.
18360
18361 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
18362
18363 * dg-extract-results.py: For Python 3, force sys.stdout to
18364 handle surrogate escape sequences.
18365 (safe_open): New function.
18366 (output_segment, main): Use it.
18367
18368 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
18369
18370 * dg-extract-results.py (Prog.result_re): Include options
18371 in test name.
18372
18373 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
18374
18375 * dg-extract-results.py (output_variation): Always sort if
18376 do_sum.
18377
18378 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
18379
18380 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
18381 as long as we get pagination notifications.
18382
18383 2014-12-15 Jason Merrill <jason@redhat.com>
18384
18385 * Makefile.in (check-gdb.%): Restore.
18386 * README: Mention it.
18387
18388 2014-12-13 Joel Brobecker <brobecker@adacore.com>
18389
18390 * gdb.ada/str_uninit: New testcase.
18391
18392 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
18393
18394 PR symtab/17642
18395 * gdb.base/vla-stub-define.c: New file.
18396 * gdb.base/vla-stub.c: New file.
18397 * gdb.base/vla-stub.exp: New file.
18398
18399 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
18400 Jan Kratochvil <jan.kratochvil@redhat.com>
18401 Tom Tromey <tromey@redhat.com>
18402
18403 * configure.ac: Add gdb.compile/.
18404 * configure: Regenerate.
18405 * gdb.compile/Makefile.in: New file.
18406 * gdb.compile/compile-ops.exp: New file.
18407 * gdb.compile/compile-ops.c: New file.
18408 * gdb.compile/compile-tls.c: New file.
18409 * gdb.compile/compile-tls.exp: New file.
18410 * gdb.compile/compile-constvar.S: New file.
18411 * gdb.compile/compile-constvar.c: New file.
18412 * gdb.compile/compile-mod.c: New file.
18413 * gdb.compile/compile-nodebug.c: New file.
18414 * gdb.compile/compile-setjmp-mod.c: New file.
18415 * gdb.compile/compile-setjmp.c: New file.
18416 * gdb.compile/compile-setjmp.exp: New file.
18417 * gdb.compile/compile-shlib.c: New file.
18418 * gdb.compile/compile.c: New file.
18419 * gdb.compile/compile.exp: New file.
18420 * lib/gdb.exp (skip_compile_feature_tests): New proc.
18421
18422 2014-12-12 Tom Tromey <tromey@redhat.com>
18423
18424 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
18425 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
18426
18427 2014-12-12 Doug Evans <dje@google.com>
18428
18429 * lib/gdb-python.exp (get_python_valueof): New function.
18430 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
18431
18432 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18433
18434 * gdb.base/completion.exp: Add test for completion of "info
18435 registers ".
18436
18437 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
18438
18439 * gdb.base/func-ptrs.c: New file.
18440 * gdb.base/func-ptrs.exp: New file.
18441
18442 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
18443
18444 PR breakpoints/17012
18445 * gdb.base/dprintf-detach.c: New file.
18446 * gdb.base/dprintf-detach.exp: New file.
18447
18448 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
18449
18450 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
18451 * lib/gdb.exp (target_is_gdbserver): New procedure.
18452
18453 2014-12-08 Doug Evans <dje@google.com>
18454
18455 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
18456
18457 2014-12-05 Yao Qi <yao@codesourcery.com>
18458
18459 * gdb.guile/scm-error.exp: Remove the third argument to
18460 gdb_remote_download.
18461 * gdb.guile/scm-frame-args.exp: Likewise.
18462 * gdb.guile/scm-section-script.exp: Likewise.
18463
18464 2014-12-05 Yao Qi <yao@codesourcery.com>
18465
18466 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
18467
18468 2014-12-04 Doug Evans <dje@google.com>
18469
18470 * gdb.python/py-objfile.exp: Add tests for
18471 objfile.add_separate_debug_file.
18472
18473 2014-12-04 Doug Evans <dje@google.com>
18474
18475 * lib/gdb.exp (get_build_id): New function.
18476 (build_id_debug_filename_get): Rewrite to use it.
18477 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
18478
18479 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
18480
18481 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
18482 `method(long)', not just 0x0.
18483 * gdb.cp/nsalias.exp: Align code labels to 4.
18484 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
18485 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
18486 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
18487 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
18488 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
18489 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
18490
18491 2014-12-02 Doug Evans <dje@google.com>
18492
18493 PR symtab/17602
18494 * gdb.cp/anon-ns.cc: Move guts of this file to ...
18495 * gdb.cp/anon-ns2.cc: ... here. New file.
18496 * gdb.cp/anon-ns.exp: Update.
18497
18498 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
18499
18500 * gdb.python/py-events.py (inferior_call_handler): New.
18501 (register_changed_handler, memory_changed_handler): New.
18502 (test_events.invoke): Register new handlers.
18503 * gdb.python/py-events.exp: Add tests for inferior call,
18504 memory_changed and register_changed events.
18505
18506 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
18507
18508 * gdb.base/execl-update-breakpoints.exp: Specify the link address
18509 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
18510 if the linker doesn't understand this.
18511
18512 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
18513
18514 * gdb.python/python.exp: Change expected reply to help().
18515
18516 2014-12-01 Yao Qi <yao@codesourcery.com>
18517
18518 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
18519 AC_CONFIG_SUBDIRS(gdb.gdbtk).
18520 * configure: Re-generated.
18521
18522 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
18523
18524 * gdb.cp/chained-calls.cc: New file.
18525 * gdb.cp/chained-calls.exp: New file.
18526 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
18527
18528 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
18529
18530 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
18531 * gdb.dwarf2/symtab-producer.exp: Same.
18532 * gdb.gdb/python-interrupts.exp: Same.
18533 * gdb.gdb/python-selftest.exp: Same.
18534 * gdb.python/py-linetable.exp: Same.
18535 * gdb.python/py-type.exp: Same.
18536 * gdb.python/py-value-cc.exp: Same.
18537 * gdb.python/py-value.exp: Same.
18538
18539 2014-11-28 Yao Qi <yao@codesourcery.com>
18540
18541 * gdb.base/break-probes.exp: Match library name prefixed with
18542 sysroot.
18543
18544 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
18545
18546 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
18547 test expected output. Add parentheses for the call to print.
18548 Remove L suffix from integers.
18549
18550 2014-11-26 Doug Evans <dje@google.com>
18551
18552 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
18553
18554 2014-11-22 Yao Qi <yao@codesourcery.com>
18555
18556 * gdb.trace/entry-values.c: Remove asms.
18557 (foo): Add foo_label.
18558 (bar): Add bar_label.
18559 * gdb.trace/entry-values.exp: Remove code computing foo's
18560 length and bar's length.
18561 (Dwarf::assemble): Invoke function_range for bar and use
18562 MACRO_AT_func for foo.
18563
18564 2014-11-22 Yao Qi <yao@codesourcery.com>
18565
18566 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
18567 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
18568 Use .Lgcc43_procstart instead of gcc43.
18569
18570 2014-11-21 Joel Brobecker <brobecker@adacore.com>
18571
18572 * gdb.ada/n_arr_bound: New testcase.
18573
18574 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
18575
18576 PR breakpoints/10737
18577 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
18578 test_catch_syscall_multi_arch.
18579 (test_catch_syscall_multi_arch): New function.
18580
18581 2014-11-20 Doug Evans <xdje42@gmail.com>
18582
18583 * gdb.base/maint.exp: Update expected output.
18584
18585 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
18586
18587 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
18588 4-byte instruction on S390.
18589
18590 2014-11-19 Joel Brobecker <brobecker@adacore.com>
18591
18592 * gdb.ada/arr_arr: New testcase.
18593
18594 2014-11-19 Joel Brobecker <brobecker@adacore.com>
18595
18596 * gdb.ada/pkd_arr_elem: New Testcase.
18597
18598 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
18599
18600 * gdb.reverse/break-precsave: Expect completion message for
18601 core file reads.
18602 * gdb.reverse/consecutive-precsave.exp: Likewise.
18603 * gdb.reverse/finish-precsave.exp: Likewise.
18604 * gdb.reverse/i386-precsave.exp: Likewise.
18605 * gdb.reverse/machinestate-precsave.exp: Likewise.
18606 * gdb.reverse/sigall-precsave.exp: Likewise.
18607 * gdb.reverse/solib-precsave.exp: Likewise.
18608 * gdb.reverse/step-precsave.exp: Likewise.
18609 * gdb.reverse/until-precsave.exp: Likewise.
18610 * gdb.reverse/watch-precsave.exp: Likewise.
18611
18612 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18613
18614 * gdb.base/bp-permanent.c: Include unistd.h.
18615 * gdb.python/py-framefilter-mi.c (main): Add return type.
18616 * gdb.python/py-framefilter.c (main): Likewise.
18617 * gdb.trace/actions-changed.c (main): Likewise.
18618
18619 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18620
18621 * gdb.mi/until.c: Add eye-catchers.
18622 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
18623 line numbers.
18624
18625 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18626
18627 * gdb.base/condbreak.exp: Drop references to removed non-prototype
18628 function header variants in break1.c.
18629 * gdb.base/ena-dis-br.exp: Likewise.
18630 * gdb.base/hbreak2.exp: Likewise.
18631 * gdb.reverse/until-precsave.exp: Drop references to removed
18632 non-prototype function header variants in ur1.c.
18633 * gdb.reverse/until-reverse.exp: Likewise.
18634
18635 2014-11-17 Petr Machata <pmachata@redhat.com>
18636
18637 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
18638 ${_cu_offset_size} bytes abbrev offset.
18639
18640 2014-11-15 Doug Evans <xdje42@gmail.com>
18641
18642 PR symtab/17559
18643 * gdb.base/line-symtabs.exp: New file.
18644 * gdb.base/line-symtabs.c: New file.
18645 * gdb.base/line-symtabs.h: New file.
18646
18647 2014-11-14 Yao Qi <yao@codesourcery.com>
18648
18649 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
18650 (func): Add label func_label.
18651 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
18652 Replace low_pc and high_pc with MACRO_AT_range.
18653 Replace name, low_pc and high_pc with MACRO_AT_func.
18654
18655 2014-11-14 Yao Qi <yao@codesourcery.com>
18656
18657 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
18658 Replace name, low_pc and high_pc with MACRO_AT_func.
18659
18660 2014-11-14 Yao Qi <yao@codesourcery.com>
18661
18662 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
18663 produce debug information.
18664 * gdb.dwarf2/implptr-optimized-out.S: Removed.
18665
18666 2014-11-14 Yao Qi <yao@codesourcery.com>
18667
18668 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
18669 object and get function length.
18670 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
18671 with MACRO_AT_func.
18672 (top-level): Replace gdb_compile and clean_restart with
18673 prepare_for_testing.
18674 * gdb.dwarf2/main.c (main): Add label main_label.
18675
18676 2014-11-14 Yao Qi <yao@codesourcery.com>
18677
18678 * lib/dwarf.exp (function_range): New procedure.
18679 (Dwarf::_handle_macro_at_func): New procedure.
18680 (Dwarf::_handle_macro_at_range): New procedure.
18681 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
18682
18683 2014-11-14 Yao Qi <yao@codesourcery.com>
18684
18685 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
18686 (_handle_attribute): New procedure.
18687
18688 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18689
18690 * gdb.ada/cond_lang/foo.c (callme): Add return type.
18691 * gdb.base/call-sc.c (zed): Likewise.
18692 * gdb.base/checkpoint.c (main): Likewise.
18693 * gdb.base/dump.c (main): Likewise.
18694 * gdb.base/gcore.c (main): Likewise.
18695 * gdb.base/huge.c (main): Likewise.
18696 * gdb.base/multi-forks.c (main): Likewise.
18697 * gdb.base/pr10179-a.c (main): Likewise.
18698 * gdb.base/savedregs.c (main): Likewise.
18699 * gdb.base/sigaltstack.c (main): Likewise.
18700 * gdb.base/siginfo.c (main): Likewise.
18701 * gdb.base/structs.c (zed): Likewise.
18702 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
18703 * gdb.mi/mi-syn-frame.c (main): Likewise.
18704 * gdb.mi/until.c (foo, main): Likewise.
18705 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
18706 * gdb.base/solib-weak.c (foo): Declare.
18707 * gdb.base/attach-twice.c: Include stdio.h.
18708 * gdb.base/weaklib1.c: Likewise.
18709 * gdb.base/weaklib2.c: Likewise.
18710 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
18711 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
18712 unistd.h.
18713 * gdb.base/attach-pie-misread.c: Include stdlib.h.
18714 * gdb.mi/mi-exit-code.c: Likewise.
18715 * gdb.base/break-interp-lib.c: Include string.h.
18716 * gdb.base/coremaker.c: Likewise.
18717 * gdb.base/testenv.c: Likewise.
18718 * gdb.python/py-finish-breakpoint.c: Likewise.
18719 * gdb.base/inferior-died.c: Include sys/wait.h.
18720 * gdb.base/fileio.c: Include time.h.
18721 * gdb.base/async-shell.c: Include unistd.h.
18722 * gdb.base/dprintf-non-stop.c: Likewise.
18723 * gdb.base/info-os.c: Likewise.
18724 * gdb.mi/mi-console.c: Likewise.
18725 * gdb.mi/watch-nonstop.c: Likewise.
18726 * gdb.python/py-events.c: Likewise.
18727 * gdb.base/async.c (baz): Move up before its invocation.
18728 * gdb.base/code_elim2.c (my_global_func): Likewise.
18729 * gdb.base/skip-solib-lib.c (multiply): Likewise.
18730 * gdb.base/advance.c (func2): Likewise.
18731
18732 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18733
18734 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
18735 variant.
18736 * gdb.base/annota3.c: Likewise.
18737 * gdb.base/async.c: Likewise.
18738 * gdb.base/average.c: Likewise.
18739 * gdb.base/call-ar-st.c: Likewise.
18740 * gdb.base/call-rt-st.c: Likewise.
18741 * gdb.base/call-sc.c: Likewise.
18742 * gdb.base/call-strs.c: Likewise.
18743 * gdb.base/ending-run.c: Likewise.
18744 * gdb.base/execd-prog.c: Likewise.
18745 * gdb.base/exprs.c: Likewise.
18746 * gdb.base/foll-exec.c: Likewise.
18747 * gdb.base/foll-fork.c: Likewise.
18748 * gdb.base/foll-vfork.c: Likewise.
18749 * gdb.base/funcargs.c: Likewise.
18750 * gdb.base/gcore.c: Likewise.
18751 * gdb.base/jump.c: Likewise.
18752 * gdb.base/langs0.c: Likewise.
18753 * gdb.base/langs1.c: Likewise.
18754 * gdb.base/langs2.c: Likewise.
18755 * gdb.base/mips_pro.c: Likewise.
18756 * gdb.base/nodebug.c: Likewise.
18757 * gdb.base/opaque0.c: Likewise.
18758 * gdb.base/opaque1.c: Likewise.
18759 * gdb.base/recurse.c: Likewise.
18760 * gdb.base/run.c: Likewise.
18761 * gdb.base/scope0.c: Likewise.
18762 * gdb.base/scope1.c: Likewise.
18763 * gdb.base/setshow.c: Likewise.
18764 * gdb.base/setvar.c: Likewise.
18765 * gdb.base/shmain.c: Likewise.
18766 * gdb.base/shr1.c: Likewise.
18767 * gdb.base/shr2.c: Likewise.
18768 * gdb.base/sigall.c: Likewise.
18769 * gdb.base/signals.c: Likewise.
18770 * gdb.base/so-indr-cl.c: Likewise.
18771 * gdb.base/solib2.c: Likewise.
18772 * gdb.base/structs.c: Likewise.
18773 * gdb.base/sum.c: Likewise.
18774 * gdb.base/vforked-prog.c: Likewise.
18775 * gdb.base/watchpoint.c: Likewise.
18776 * gdb.reverse/shr2.c: Likewise.
18777 * gdb.reverse/until-reverse.c: Likewise.
18778 * gdb.reverse/ur1.c: Likewise.
18779 * gdb.reverse/watch-reverse.c: Likewise.
18780
18781 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18782
18783 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
18784 variant.
18785 * gdb.base/sepdebug.exp: Drop references to removed code.
18786
18787 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18788
18789 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
18790 variant. Preserve original line numbering.
18791 * gdb.base/list1.c: Likewise.
18792
18793 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18794
18795 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
18796 variant.
18797 * gdb.base/break1.c: Likewise.
18798 * gdb.base/break.exp: Drop references to removed code.
18799
18800 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18801
18802 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
18803 variant.
18804
18805 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18806
18807 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
18808
18809 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18810
18811 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
18812 logic into perform_all_tests() and invoke it with and without
18813 function header prototypes.
18814 (do_function_calls): Remove conditional XFAIL for PR 5318.
18815 (rerun_and_prepare): Remove duplicate code.
18816 (perform_all_tests): New. Main logic moved here.
18817
18818 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18819
18820 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
18821 code guarded by #ifdef NO_PROTOTYPES.
18822 (t_double_many_args): Likewise.
18823 (DEF_FUNC_MANY_ARGS_1): Likewise.
18824 (DEF_FUNC_VALUES_1): Likewise.
18825 (t_structs_ldc): Renamed from t_structs_fc in conditional code
18826 guarded by #ifdef PROTOTYPES.
18827
18828 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18829
18830 * gdb.mi/mi-console.c: Add eye-catcher.
18831 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
18832 instead of literal line number.
18833
18834 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18835
18836 * gdb.base/shr2.c: Add eye-catcher.
18837 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
18838 line number.
18839
18840 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18841
18842 * gdb.base/jump.c: Add eye-catchers.
18843 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
18844 numbers.
18845
18846 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18847
18848 * gdb.base/execd-prog.c: Add eye-catchers.
18849 * gdb.base/foll-exec.c: Likewise.
18850 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
18851 line numbers.
18852
18853 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18854
18855 * gdb.base/ending-run.c: Add eye-catchers.
18856 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
18857 literal line numbers.
18858
18859 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18860
18861 * gdb.base/call-rt-st.c: Add eye-catchers.
18862 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
18863 literal line numbers.
18864
18865 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18866
18867 * gdb.base/call-ar-st.c: Add eye-catchers.
18868 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
18869 literal line numbers.
18870
18871 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18872
18873 * gdb.base/average.c: Add eye-catchers.
18874 * gdb.base/sum.c: Likewise.
18875 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
18876 regexps dynamically.
18877
18878 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18879
18880 * gdb.base/solib1.c: Add eye-catchers.
18881 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
18882 literal line numbers.
18883
18884 2014-11-12 Pedro Alves <palves@redhat.com>
18885
18886 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
18887 leader has exited.
18888
18889 2014-11-12 Pedro Alves <palves@redhat.com>
18890
18891 * gdb.arch/i386-bp_permanent.c: New file.
18892 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
18893 (srcfile): Set to i386-bp_permanent.c.
18894 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
18895 that stepi does not execute the 'leave' instruction, instead of
18896 testing it does execute.
18897 * gdb.base/bp-permanent.c: New file.
18898 * gdb.base/bp-permanent.exp: New file.
18899
18900 2014-11-10 Doug Evans <xdje42@gmail.com>
18901
18902 PR symtab/17564
18903 * gdb.base/symtab-search-order.exp: New file.
18904 * gdb.base/symtab-search-order.c: New file.
18905 * gdb.base/symtab-search-order-1.c: New file.
18906 * gdb.base/symtab-search-order-shlib-1.c: New file.
18907
18908 2014-11-07 Pedro Alves <palves@redhat.com>
18909
18910 PR gdb/17511
18911 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
18912 i?86-*-linux*.
18913
18914 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
18915
18916 PR c++/17494
18917 * gdb.cp/pr17494.cc: New file.
18918 * gdb.cp/pr17494.exp: New file.
18919
18920 2014-11-02 Yao Qi <yao@codesourcery.com>
18921
18922 * gdb.python/python.exp: Get working directory and match the
18923 output of "set extended-prompt \\w " with it.
18924
18925 2014-10-30 Doug Evans <dje@google.com>
18926
18927 * gdb.python/py-objfile.exp: Add tests for setting random attributes
18928 in objfiles.
18929 * gdb.python/py-progspace.exp: Add tests for setting random attributes
18930 in progspaces.
18931
18932 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
18933
18934 * gdb.base/fullpath-expand.exp: Skip for a remote host.
18935 * gdb.base/realname-expand.exp: Likewise.
18936 * gdb.linespec/macro-relative.exp: Likewise.
18937
18938 2014-10-29 Pedro Alves <palves@redhat.com>
18939
18940 PR gdb/17408
18941 * gdb.threads/schedlock.c (some_function): New function.
18942 (call_function): New global.
18943 (MAYBE_CALL_SOME_FUNCTION): New macro.
18944 (thread_function): Call it.
18945 * gdb.threads/schedlock.exp (get_args): Add description parameter,
18946 and use it instead of a global counter. Adjust all callers.
18947 (get_current_thread): Use "find current thread" for test message
18948 here rather than having all callers pass down the same string.
18949 (goto_loop): New procedure, factored out from ...
18950 (my_continue): ... this.
18951 (step_ten_loops): Change parameter from test message to command to
18952 use. Adjust.
18953 (list_count): Delete global.
18954 (check_result): New procedure, factored out from duplicate top
18955 level code.
18956 (continue tests): Wrap in with_test_prefix.
18957 (test_step): New procedure, factored out from duplicate top level
18958 code.
18959 (top level): Test "step" in combination with all scheduler-locking
18960 modes. Test "next" in combination with all scheduler-locking
18961 modes, and in combination with stepping over a function call or
18962 not.
18963 * gdb.threads/next-bp-other-thread.c: New file.
18964 * gdb.threads/next-bp-other-thread.exp: New file.
18965
18966 2014-10-29 Pedro Alves <palves@redhat.com>
18967
18968 PR python/17372
18969 * gdb.python/python.exp: Test a multi-line command that spawns
18970 interactive Python.
18971 * gdb.base/multi-line-starts-subshell.exp: New file.
18972
18973 2014-10-29 Yao Qi <yao@codesourcery.com>
18974
18975 * gdb.base/fileio.exp: Make directories on host.
18976
18977 2014-10-29 Yao Qi <yao@codesourcery.com>
18978
18979 * gdb.base/fileio.c (test_write): Close the file.
18980
18981 2014-10-28 Pedro Alves <palves@redhat.com>
18982
18983 PR gdb/12623
18984 * gdb.base/sigstep.c (no_handler): New global.
18985 (main): If 'no_handler is true, set the signal handlers to
18986 SIG_IGN.
18987 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
18988 with_sw_watch and no_handler parameters. Handle them.
18989 (top level) <stepping over handler when stopped at a breakpoint
18990 test>: Add a test axis for testing with a software watchpoint, and
18991 another for testing with the signal handler set to SIG_IGN.
18992 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
18993 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
18994
18995 2014-10-28 Pedro Alves <palves@redhat.com>
18996
18997 PR gdb/17511
18998 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
18999 * gdb.base/sigstep.exp (other_handler_location): New global.
19000 (advance): Support stepping into the signal handler, and running
19001 commands while in the handler.
19002 (in_handler_map): New global.
19003 (top level): In the advance test, add combinations for getting
19004 into the handler with stepping commands, and for running commands
19005 in the handler. Add comment descripting the advancei tests.
19006
19007 2014-10-28 Pedro Alves <palves@redhat.com>
19008
19009 * gdb.base/sigstep.exp: Use build_executable instead of
19010 prepare_for_testing.
19011 (top level): Move code that starts GDB, runs to main and creates a
19012 display to ...
19013 (restart): ... this new procedure.
19014 (top level): Move backtrace from signal handler test to ...
19015 (validate_backtrace): ... this new procedure.
19016 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
19017 with_test_prefix. Always restart GDB.
19018 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
19019 with_test_prefix. Always restart GDB. No need to delete
19020 breakpoints after the test.
19021 (test_skip_handler): Remove prefix parameter.
19022 (skip_over_handler, breakpoint_to_handler)
19023 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
19024 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
19025 restart GDB. No need to delete breakpoints after the test.
19026 (top level): Use foreach to call the test procedures with
19027 different commands.
19028
19029 2014-10-28 Pedro Alves <palves@redhat.com>
19030
19031 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
19032 instead of GNATS numbers.
19033 * gdb.base/sigbpt.exp: Likewise.
19034 * gdb.base/siginfo.exp: Likewise.
19035 * gdb.base/sigstep.exp: Likewise.
19036
19037 2014-10-27 Pedro Alves <palves@redhat.com>
19038
19039 * gdb.base/sigstep.c (dummy): New global.
19040 (main): Issue a couple writes to the new global.
19041 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
19042 procedures.
19043 (skip_over_handler): Use test_skip_handler.
19044 (top level): Call skip_over_handler for stepi and nexti too.
19045 (breakpoint_over_handler): Use test_skip_handler.
19046 (top level): Call breakpoint_over_handler for stepi and nexti too.
19047
19048 2014-10-27 Yao Qi <yao@codesourcery.com>
19049
19050 * gdb.trace/tfile.c (adjust_function_address)
19051 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
19052 function descriptor.
19053
19054 2014-10-24 Don Breazeal <donb@codesourcery.com>
19055
19056 * gdb.base/foll-fork.exp (test_follow_fork,
19057 catch_fork_child_follow): Check for updated fork messages emitted
19058 from infrun.c.
19059 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
19060 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
19061 vfork_and_exec_child_follow_through_step): Check for updated vfork
19062 messages emitted from infrun.c.
19063
19064 2014-10-24 Pedro Alves <palves@redhat.com>
19065
19066 * gdb.base/corefile.exp: Remove references to ultrix.
19067 * gdb.base/interrupt.exp: Likewise.
19068 * gdb.base/whatis.exp: Likewise.
19069 * gdb.gdb/selftest.exp: Likewise.
19070 * gdb.threads/manythreads.exp: Likewise.
19071 * gdb.threads/print-threads.exp: Likewise.
19072 * gdb.threads/pthreads.exp:: Likewise.
19073 * gdb.threads/schedlock.exp: Likewise.
19074
19075 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
19076
19077 * gdb.cp/non-trivial-retval.cc: Add a test case.
19078 * gdb.cp/non-trivial-retval.exp: Add a test.
19079
19080 2014-10-20 Yao Qi <yao@codesourcery.com>
19081
19082 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
19083 * gdb.python/py-objfile-script-gdb.py: New file.
19084 * gdb.python/py-objfile-script.exp: Update reference to
19085 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
19086 of remote_download. Remove the dest file.
19087
19088 2014-10-20 Yao Qi <yao@codesourcery.com>
19089
19090 * gdb.base/checkpoint.exp: Don't remove file copied on host.
19091 * gdb.base/step-line.exp: Likewise.
19092 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
19093 * gdb.dwarf2/dw2-basic.exp: Likewise.
19094 * gdb.dwarf2/dw2-compressed.exp: Likewise.
19095 * gdb.dwarf2/dw2-filename.exp: Likewise.
19096 * gdb.dwarf2/dw2-intercu.exp: Likewise.
19097 * gdb.dwarf2/dw2-intermix.exp: Likewise.
19098 * gdb.dwarf2/dw2-producer.exp: Likewise.
19099 * gdb.dwarf2/mac-fileno.exp: Likewise.
19100 * gdb.python/py-frame-args.exp: Likewise.
19101 * gdb.python/py-framefilter.exp: Likewise.
19102 * gdb.python/py-mi.exp: Likewise.
19103 * gdb.python/py-objfile-script.exp: Likewise
19104 * gdb.python/py-pp-integral.exp: Likewise.
19105 * gdb.python/py-pp-re-notag.exp: Likewise.
19106 * gdb.python/py-prettyprint.exp: Likewise.
19107 * gdb.python/py-section-script.exp: Likewise.
19108 * gdb.python/py-typeprint.exp: Likewise.
19109 * gdb.python/py-xmethods.exp: Likewise.
19110 * gdb.stabs/weird.exp: Likewise.
19111 * gdb.xml/tdesc-regs.exp: Likewise.
19112
19113 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
19114
19115 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
19116 (out_cu): Use addr_len for the size of addresses.
19117 (out_line): Likewise. Size DW_LNE_set_address instruction
19118 according to addr_len.
19119 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
19120 (FUNC): Add START_INSNS to definition.
19121
19122 2014-10-18 Yao Qi <yao@codesourcery.com>
19123
19124 * gdb.base/argv0-symlink.exp: Check argv[0] value if
19125 gdb_has_argv0 return true.
19126 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
19127 check [target_info exists noargs], check [gdb_has_argv0]
19128 instead.
19129 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
19130 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
19131 procedures.
19132
19133 2014-10-17 Doug Evans <dje@google.com>
19134
19135 * gdb.python/py-events.exp: Update expected output for clear_objfiles
19136 event.
19137 * gdb.python/py-events.py: Add clear_objfiles event.
19138
19139 2014-10-17 Doug Evans <dje@google.com>
19140
19141 * gdb.python/py-objfile.exp: Test progspace attribute.
19142
19143 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
19144
19145 * gdb.guile/scm-breakpoint.exp: Do not assume any
19146 directory separators when matching source file paths.
19147 * gdb.python/py-breakpoint.exp: Likewise.
19148 * gdb.reverse/break-precsave.exp: Likewise.
19149 * gdb.reverse/break-reverse.exp: Likewise.
19150 * gdb.reverse/consecutive-precsave.exp: Likewise.
19151 * gdb.reverse/finish-precsave.exp: Likewise.
19152 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
19153 * gdb.reverse/finish-reverse.exp: Likewise.
19154 * gdb.reverse/i386-precsave.exp: Likewise.
19155 * gdb.reverse/i387-env-reverse.exp: Likewise.
19156 * gdb.reverse/i387-stack-reverse.exp: Likewise.
19157 * gdb.reverse/machinestate-precsave.exp: Likewise.
19158 * gdb.reverse/machinestate.exp: Likewise.
19159 * gdb.reverse/sigall-precsave.exp: Likewise.
19160 * gdb.reverse/solib-precsave.exp: Likewise.
19161 * gdb.reverse/step-precsave.exp: Likewise.
19162 * gdb.reverse/until-precsave.exp: Likewise.
19163 * gdb.reverse/watch-precsave.exp: Likewise.
19164 * gdb.reverse/watch-reverse.exp: Likewise.
19165
19166 2014-10-17 Yao Qi <yao@codesourcery.com>
19167
19168 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
19169 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
19170
19171 2014-10-17 Pedro Alves <palves@redhat.com>
19172
19173 PR gdb/17471
19174 * gdb.base/bg-execution-repeat.c: New file.
19175 * gdb.base/bg-execution-repeat.exp: New file.
19176
19177 2014-10-17 Pedro Alves <palves@redhat.com>
19178
19179 PR gdb/17300
19180 * gdb.base/continue-all-already-running.c: New file.
19181 * gdb.base/continue-all-already-running.exp: New file.
19182
19183 2014-10-17 Pedro Alves <palves@redhat.com>
19184
19185 PR gdb/17472
19186 * gdb.base/annota-input-while-running.c: New file.
19187 * gdb.base/annota-input-while-running.exp: New file.
19188
19189 2014-10-17 Pedro Alves <palves@redhat.com>
19190
19191 * gdb.base/callfuncs.exp: emove references to osf.
19192 * gdb.base/sigall.exp: Likewise.
19193 * gdb.gdb/selftest.exp: Likewise.
19194 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
19195 * gdb.mi/non-stop.c: Likewise.
19196 * gdb.mi/pthreads.c: Likewise.
19197 * gdb.reverse/sigall-precsave.exp: Likewise.
19198 * gdb.reverse/sigall-reverse.exp: Likewise.
19199 * gdb.threads/pthreads.c: Likewise.
19200 * gdb.threads/pthreads.exp: Likewise.
19201
19202 2014-10-17 Yao Qi <yao@codesourcery.com>
19203
19204 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
19205 check 'target_info exists noargs'.
19206 (test_command_prompt_position): Likewise.
19207 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
19208 Remove "set args".
19209 (progvar_simple_while_test): Likewise.
19210 (progvar_complex_if_while_test): Likewise.
19211 (if_while_breakpoint_command_test): Likewise.
19212 (infrun_breakpoint_command_test): Likewise.
19213 (breakpoint_command_test): Likewise.
19214 (watchpoint_command_test): Likewise.
19215 (bp_deleted_in_command_test): Likewise.
19216 (temporary_breakpoint_commands): Likewise.
19217
19218 2014-10-16 Yao Qi <yao@codesourcery.com>
19219
19220 * gdb.base/remotetimeout.exp: Remove noargs checking.
19221
19222 2014-10-15 Pedro Alves <palves@redhat.com>
19223
19224 PR breakpoints/9649
19225 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
19226 * gdb.base/breakpoint-in-ro-region.exp
19227 (probe_target_hardware_step): New procedure.
19228 (top level): Probe hardware stepping and hardware breakpoint
19229 support. Test stepping through a read-only region, with both
19230 "breakpoint auto-hw" on and off and both "always-inserted" on and
19231 off.
19232
19233 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
19234
19235 * gdb.dlang/demangle.exp: Update for demangling changes.
19236
19237 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
19238
19239 * gdb.cp/non-trivial-retval.cc: Add new test cases.
19240 * gdb.cp/non-trivial-retval.exp: Add new tests.
19241
19242 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
19243
19244 PR c++/13403
19245 PR c++/15154
19246 * gdb.cp/non-trivial-retval.cc: New file.
19247 * gdb.cp/non-trivial-retval.exp: New file.
19248
19249 2014-10-15 Yao Qi <yao@codesourcery.com>
19250
19251 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
19252 remote host.
19253
19254 2014-10-15 Yao Qi <yao@codesourcery.com>
19255
19256 * gdb.python/py-symbol.exp: Match file base name if host is
19257 remote, otherwise match file name with dir name.
19258 * gdb.python/py-symtab.exp: Likewise.
19259 * gdb.python/python.exp: Likewise.
19260
19261 2014-10-15 Yao Qi <yao@codesourcery.com>
19262
19263 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
19264 pattern.
19265 * gdb.python/py-symtab.exp: Likewise.
19266 * gdb.python/python.exp: Remove trailing ".*". Fix typo
19267 locationn.
19268
19269 2014-10-14 Joel Brobecker <brobecker@adacore.com>
19270
19271 * gdb.ada/addr_arith: New testcase.
19272
19273 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
19274
19275 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
19276 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
19277 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
19278 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
19279
19280 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
19281
19282 * gdb.arch/stap-eval-lang-ada.S: Likewise.
19283 * gdb.arch/stap-eval-lang-ada.c: Likewise.
19284 * gdb.arch/stap-eval-lang-ada.exp: New file.
19285
19286 2014-10-14 Yao Qi <yao@codesourcery.com>
19287
19288 * gdb.mi/mi-var-child.c (nothing1): New function.
19289 (nothing2): New function.
19290 (do_children_tests): Set function pointers by nothing1 and
19291 nothing2.
19292 * gdb.mi/mi-var-child.exp: Step over new added statements.
19293 Update test to match the new output.
19294 * gdb.mi/var-cmd.c (nothing1): New function.
19295 (nothing2): New function.
19296 (do_children_tests): Set function pointers by nothing1 and
19297 nothing2.
19298 * gdb.mi/mi-var-display.exp: Update test to match output.
19299 Step to the line specified by $line_dct_nothing.
19300 Increase the number of lines to step.
19301
19302 2014-10-14 Yao Qi <yao@codesourcery.com>
19303
19304 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
19305 tests.
19306 * gdb.mi/mi2-var-child.exp: Likewise.
19307
19308 2014-10-13 Doug Evans <dje@google.com>
19309
19310 * gdb.python/py-objfile.exp: Change name of file name test.
19311
19312 2014-10-13 Doug Evans <dje@google.com>
19313
19314 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
19315 from the start of the CU.
19316
19317 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
19318 Yao Qi <yao@codesourcery.com>
19319
19320 Fix "save breakpoints" for "catch" command.
19321 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
19322 Remove -nonewline. Match also the added "main" line.
19323
19324 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19325
19326 Fix "save breakpoints" for "disable $bpnum" command.
19327 * gdb.base/save-bp.c (main): Add label.
19328 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
19329
19330 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19331
19332 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
19333
19334 2014-10-11 Yao Qi <yao@codesourcery.com>
19335
19336 * gdb.server/server-kill.exp: Execute command
19337 "set remote trace-status-packet on" before "tstatus".
19338
19339 2014-10-11 Yao Qi <yao@codesourcery.com>
19340
19341 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
19342 (main): Call getppid.
19343 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
19344 and continue to it. Read variable "server_pid".
19345
19346 2014-10-11 Yao Qi <yao@codesourcery.com>
19347
19348 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
19349
19350 2014-10-11 Yao Qi <yao@codesourcery.com>
19351
19352 * gdb.threads/thread-find.exp: Don't execute command
19353 "info threads".
19354 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
19355 * gdb.threads/linux-dp.exp: Don't check the condition
19356 $threads_created equals to zero.
19357
19358 2014-10-10 Pedro Alves <palves@redhat.com>
19359
19360 * gdb.base/bigcore.exp: Remove references to IRIX.
19361 * gdb.base/funcargs.exp: Likewise.
19362 * gdb.base/interrupt.exp: Likewise.
19363 * gdb.base/mips_pro.exp: Likewise.
19364 * gdb.base/nodebug.exp: Likewise.
19365 * gdb.base/setvar.exp: Likewise.
19366 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
19367
19368 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
19369 Pedro Alves <palves@redhat.com>
19370
19371 PR symtab/14466
19372 * gdb.base/vdso-warning.c: New file.
19373 * gdb.base/vdso-warning.exp: New file.
19374
19375 2014-10-02 Doug Evans <dje@google.com>
19376
19377 * gdb.base/structs.c (main): Don't run forever.
19378
19379 2014-10-02 Pedro Alves <palves@redhat.com>
19380
19381 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
19382 (top level) <stop threads 1, stop threads 2>: Use it.
19383
19384 2014-10-02 Pedro Alves <palves@redhat.com>
19385
19386 * gdb.threads/break-while-running.exp (test): Add new
19387 'update_thread_list' argument. Skip "info threads" if false.
19388 (top level): Add new 'update_thread_list' axis.
19389
19390 2014-10-02 Pedro Alves <palves@redhat.com>
19391
19392 PR breakpoints/17431
19393 * gdb.base/execl-update-breakpoints.c: New file.
19394 * gdb.base/execl-update-breakpoints.exp: New file.
19395
19396 2014-10-01 Pedro Alves <palves@redhat.com>
19397
19398 * gdb.base/breakpoint-in-ro-region.c: New file.
19399 * gdb.base/breakpoint-in-ro-region.exp: New file.
19400
19401 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
19402
19403 * gdb.mi/mi-exit-code.exp: New file.
19404 * gdb.mi/mi-exit-code.c: New file.
19405
19406 2014-09-30 Yao Qi <yao@codesourcery.com>
19407
19408 * lib/prelink-support.exp (build_executable_own_libs): Error if
19409 the target isn't native.
19410
19411 2014-09-30 Yao Qi <yao@codesourcery.com>
19412
19413 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
19414 false.
19415
19416 2014-09-22 Pedro Alves <palves@redhat.com>
19417
19418 * gdb.threads/break-while-running.exp: New file.
19419 * gdb.threads/break-while-running.c: New file.
19420
19421 2014-09-19 Yao Qi <yao@codesourcery.com>
19422
19423 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
19424 Invoke test. Restart GDB with --readnow and invoke test again.
19425
19426 2014-09-19 Yao Qi <yao@codesourcery.com>
19427
19428 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
19429 proc set_breakpoint_on_gcd_function. Invoke
19430 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
19431 invoke set_breakpoint_on_gcd_function again.
19432
19433 2014-09-18 Doug Evans <dje@google.com>
19434
19435 * gdb.dwarf2/symtab-producer.exp: New file.
19436
19437 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
19438
19439 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
19440 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
19441 * gdb.base/global-var-nested-by-dso.c: Likewise.
19442 * gdb.base/global-var-nested-by-dso.exp: Likewise.
19443
19444 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
19445 Pedro Alves <palves@redhat.com>
19446
19447 * gdb.base/watch-bitfields.exp: Pass string other than test file
19448 name to prepare_for_testing.
19449 (watch): New procedure.
19450 (expect_watchpoint): Use with_test_prefix.
19451 (top level): Factor out tests to ...
19452 (test_watch_location, test_regular_watch): ... these new
19453 procedures, and use with_test_prefix and gdb_continue_to_end.
19454
19455 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
19456
19457 PR breakpoints/12526
19458 * gdb.base/watch-bitfields.exp: New file.
19459 * gdb.base/watch-bitfields.c: New file.
19460
19461 2014-09-16 Pedro Alves <palves@redhat.com>
19462
19463 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
19464 software and hardware addresses, not software address against
19465 itself.
19466
19467 2014-09-16 Pedro Alves <palves@redhat.com>
19468
19469 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
19470 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
19471
19472 2014-09-16 Pedro Alves <palves@redhat.com>
19473
19474 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
19475 files.
19476 * gdb.base/a2-run.exp: Remove all code guarded by istarget
19477 "*-*-vxworks*" throughout.
19478 * gdb.base/break.exp: Likewise.
19479 * gdb.base/default.exp: Likewise.
19480 * gdb.base/scope.exp: Likewise.
19481 * gdb.base/sepdebug.exp: Likewise.
19482 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
19483 throughout.
19484 * gdb.base/run.c: Likewise.
19485 * gdb.base/sepdebug.c: Likewise.
19486 * gdb.hp/gdb.aCC/run.c: Likewise.
19487 * gdb.reverse/until-reverse.c: Likewise.
19488 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
19489
19490 2014-09-16 Yao Qi <yao@codesourcery.com>
19491
19492 * boards/local-remote-host-native.exp: New file.
19493
19494 2014-09-14 Doug Evans <xdje42@gmail.com>
19495
19496 * gdb.threads/queue-signal.c (thread_count): New variable.
19497 (thread_count_mutex, thread_count_condvar): New variables.
19498 (incr_thread_count, wait_all_threads_running): New functions.
19499 (main): Wait for all threads to be in their thread functions.
19500
19501 2014-09-13 Doug Evans <xdje42@gmail.com>
19502
19503 * gdb.threads/queue-signal.c: New file.
19504 * gdb.threads/queue-signal.exp: New file.
19505
19506 2014-09-13 Doug Evans <xdje42@gmail.com>
19507
19508 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
19509 be consistent with what default_gdb_init uses.
19510 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
19511 the plain text of the prompt. Add some logging printfs.
19512 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
19513
19514 2014-09-12 Pedro Alves <palves@redhat.com>
19515
19516 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
19517 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
19518 * gdb.arch/i386-size-overlap.exp: Likewise.
19519 * gdb.arch/i386-size.exp: Likewise.
19520 * gdb.arch/i386-unwind.exp: Likewise.
19521 * gdb.base/a2-run.exp: Likewise.
19522 * gdb.base/break.exp: Likewise.
19523 * gdb.base/charset.exp: Likewise.
19524 * gdb.base/chng-syms.exp: Likewise.
19525 * gdb.base/commands.exp: Likewise.
19526 * gdb.base/dbx.exp: Likewise.
19527 * gdb.base/find.exp: Likewise.
19528 * gdb.base/funcargs.exp: Likewise.
19529 * gdb.base/jit-simple.exp: Likewise.
19530 * gdb.base/reread.exp: Likewise.
19531 * gdb.base/sepdebug.exp: Likewise.
19532 * gdb.base/step-bt.exp: Likewise.
19533 * gdb.cp/mb-inline.exp: Likewise.
19534 * gdb.cp/mb-templates.exp: Likewise.
19535 * gdb.objc/basicclass.exp: Likewise.
19536 * gdb.threads/killed.exp: Likewise.
19537
19538 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19539
19540 PR tdep/17379
19541 * gdb.arch/powerpc-stackless.S: New file.
19542 * gdb.arch/powerpc-stackless.exp: New file.
19543
19544 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19545
19546 * gdb.base/attach.c: Include unistd.h.
19547 (main): Call alarm. Add label postloop.
19548 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
19549 gdb_breakpoint, gdb_continue_to_breakpoint.
19550 (test_command_line_attach_run): Kill ${testpid} in one exit path.
19551
19552 2014-09-11 Pedro Alves <palves@redhat.com>
19553
19554 PR gdb/17347
19555 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
19556 * gdb.base/attach.exp (test_command_line_attach_run): New
19557 procedure.
19558 (top level): Call it.
19559
19560 2014-09-11 Pedro Alves <palves@redhat.com>
19561
19562 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
19563 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
19564 (do_command_attach_tests): Use spawn_wait_for_attach.
19565 * gdb.base/solib-overlap.exp: Likewise.
19566 * gdb.multi/multi-attach.exp: Likewise.
19567 * gdb.python/py-prompt.exp: Likewise.
19568 * gdb.python/py-sync-interp.exp: Likewise.
19569 * gdb.server/ext-attach.exp: Likewise.
19570
19571 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
19572
19573 * gdb.fortran/array-element.exp: Remove unexpected "continue"
19574 command in testcase. Simplify testcase.
19575
19576 2014-09-10 Joel Brobecker <brobecker@adacore.com>
19577
19578 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
19579
19580 2014-09-10 Joel Brobecker <brobecker@adacore.com>
19581
19582 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
19583
19584 2014-09-10 Joel Brobecker <brobecker@adacore.com>
19585
19586 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
19587
19588 2014-09-10 Joel Brobecker <brobecker@adacore.com>
19589
19590 * gdb.dwarf2/dynarr-ptr.c: New file.
19591 * gdb.dwarf2/dynarr-ptr.exp: New file.
19592
19593 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19594
19595 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
19596 of 30 rather than hardcoding 120 for a slow test case. Take the
19597 `gdb,timeout' target setting into account for this calculation.
19598 Don't extend the timeout for the test cases that don't need it.
19599
19600 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19601
19602 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
19603 a factor of 2 for a slow test case. Take the `gdb,timeout'
19604 target setting into account for this calculation.
19605 * gdb.reverse/until-precsave.exp: Increase the timeout by
19606 a factor of 15 and 3 respectively rather than adding 120
19607 for a pair of slow test cases. Take the `gdb,timeout'
19608 target setting into account for this calculation.
19609
19610 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19611
19612 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
19613 timeout, don't pass one down to gdb_expect.
19614 (gdb_expect): Rework timeout selection.
19615
19616 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19617
19618 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
19619 exception on timeout.
19620 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
19621 (gdbserver_start_extended): Catch any `gdbserver_start' error
19622 exceptions.
19623 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
19624 * lib/mi-support.exp (mi_gdb_target_load): Catch any
19625 `gdbserver_gdb_load' error exceptions.
19626
19627 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19628
19629 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
19630 120 on waiting for the TCP socket to open.
19631
19632 2014-09-09 Doug Evans <xdje42@gmail.com>
19633
19634 * gdb.base/default.exp (show_conv_list): Add _caller_is,
19635 _caller_matches, _any_caller_is, _any_caller_matches.
19636
19637 2014-09-09 Doug Evans <xdje42@gmail.com>
19638
19639 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
19640
19641 2014-09-09 Yao Qi <yao@codesourcery.com>
19642
19643 * gdb.mi/mi-var-display.exp: Set print symbol off.
19644
19645 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
19646
19647 PR gdb/17035
19648 * gdb.base/commands.exp: Add tests to verify user-defined
19649 commands with empty bodies.
19650 * gdb.python/py-cmd.exp: Test that we don't show user-defined
19651 python commands in `show user command`.
19652 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
19653 scheme commands in `show user command`.
19654
19655 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19656
19657 PR python/17355
19658 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
19659 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
19660 * gdb.python/py-framefilter-invalidarg.exp: New file.
19661 * gdb.python/py-framefilter-invalidarg.py: New file.
19662
19663 2014-09-06 Doug Evans <xdje42@gmail.com>
19664
19665 PR 15276
19666 * gdb.python/py-caller-is.c: New file.
19667 * gdb.python/py-caller-is.exp: New file.
19668
19669 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
19670
19671 PR gdb/17235
19672 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
19673 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
19674
19675 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
19676
19677 PR fortran/17237
19678 * gdb.fortran/print-formatted.exp: New file.
19679 * gdb.fortran/print-formatted.f90: Likewise.
19680
19681 2014-09-03 Sasha Smundak <asmundak@google.com>
19682
19683 * gdb.python/py-frame.exp: Test Frame.read_register.
19684
19685 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
19686
19687 PR python/16699
19688 * gdb.python/py-completion.exp: New file.
19689 * gdb.python/py-completion.py: Likewise.
19690
19691 2014-08-28 Doug Evans <dje@google.com>
19692
19693 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
19694 eax,etc. are live with values set by gdb and thus the compiler can't
19695 use them.
19696 * gdb.arch/i386-pseudo.c (main): Ditto.
19697
19698 2014-08-27 Doug Evans <dje@google.com>
19699
19700 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
19701
19702 2014-08-25 Doug Evans <dje@google.com>
19703
19704 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
19705 (main): Ditto.
19706
19707 2014-08-25 Doug Evans <dje@google.com>
19708
19709 * gdb.threads/thread-execl.exp: #include <stdio.h>.
19710
19711 2014-08-24 Yao Qi <yao@codesourcery.com>
19712
19713 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
19714 symbol off.
19715 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
19716
19717 2014-08-22 Doug Evans <dje@google.com>
19718
19719 PR 17276
19720 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
19721 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
19722 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
19723
19724 2014-08-22 Yao Qi <yao@codesourcery.com>
19725
19726 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
19727 * gdb.python/py-finish-breakpoint2.exp: Likewise.
19728 * gdb.python/python.exp: Likewise. Use .py file on the host
19729 instead of the build.
19730
19731 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19732
19733 * gdb.threads/gcore-stale-thread.c: New file.
19734 * gdb.threads/gcore-stale-thread.exp: New file.
19735
19736 2014-08-21 Pedro Alves <palves@redhat.com>
19737
19738 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
19739 * gdb.base/gcore-relro-pie.exp: Likewise.
19740 * gdb.base/gcore-relro.exp: Likewise.
19741 * gdb.base/gcore.exp: Likewise.
19742 * gdb.base/print-symbol-loading.exp: Likewise.
19743 * gdb.threads/gcore-thread.exp: Likewise.
19744 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
19745
19746 2014-08-20 Pedro Alves <palves@redhat.com>
19747 Jan Kratochvil <jan.kratochvil@redhat.com>
19748
19749 * Makefile.in (EXTRA_RULES, CC): New variables, get from
19750 configure.
19751 (EXPECT): Handle READ1 being set.
19752 (all): Depend on EXTRA_RULES.
19753 (check-read1, expect-read1, read1.so, read1): New rules.
19754 * README (Testsuite Parameters): Document the READ1 make variable.
19755 (Race detection): New section.
19756 * configure: Regenerate.
19757 * configure.ac: If build==host==target, and running under a
19758 GNU/glibc system, add read1 to the extra Makefile rules.
19759 (EXTRA_RULES): AC_SUBST it.
19760 * lib/read1.c: New file.
19761
19762 2014-08-20 Joel Brobecker <brobecker@adacore.com>
19763
19764 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
19765 the handling of variables declared as a typedef to an array
19766 which a DW_AT_data_location attribute.
19767
19768 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
19769 Pedro Alves <palves@redhat.com>
19770
19771 PR symtab/14604
19772 PR symtab/14605
19773 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
19774 gdb_test.
19775
19776 2014-08-19 Pedro Alves <palves@redhat.com>
19777
19778 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
19779
19780 2014-08-19 Yao Qi <yao@codesourcery.com>
19781
19782 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
19783 right line.
19784
19785 2014-08-18 David Blaikie <dblaikie@gmail.com>
19786
19787 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
19788
19789 2014-08-18 Joel Brobecker <brobecker@adacore.com>
19790
19791 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
19792 attribute in array range.
19793
19794 2014-08-18 Joel Brobecker <brobecker@adacore.com>
19795
19796 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
19797
19798 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
19799
19800 PR c++/17132
19801 * gdb.cp/pr17132.cc: New file.
19802 * gdb.cp/pr17132.exp: New file.
19803
19804 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
19805
19806 * gdb.python/py-xmethods.py (A_getarrayind)
19807 (E_method_char_worker.__call__, E_method_int_worker.__call__):
19808 Use 'print' with function call syntax.
19809 (E_method_matcher.match): Fix tab vs space indentation mixup.
19810
19811 2014-08-15 Yao Qi <yao@codesourcery.com>
19812
19813 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
19814 false.
19815
19816 2014-08-15 Yao Qi <yao@codesourcery.com>
19817
19818 * gdb.cp/casts.exp: Set print symbol off.
19819 * gdb.cp/class2.exp: Likewise.
19820 * gdb.cp/overload.exp: Likewise.
19821 * gdb.cp/templates.exp: Likewise.
19822
19823 2014-08-11 Doug Evans <dje@google.com>
19824
19825 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
19826 (test_load_shlib): Update.
19827
19828 2014-08-09 Yao Qi <yao@codesourcery.com>
19829
19830 * gdb.base/display.exp: Invoke is_address_zero_readable.
19831 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
19832 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
19833 * gdb.base/hbreak-unmapped.exp: Return if
19834 is_address_zero_readable returns true.
19835 * gdb.base/signest.exp: Likewise.
19836 * gdb.base/signull.exp: Likewise.
19837 * gdb.base/sigbpt.exp: Likewise.
19838 * gdb.guile/scm-disasm.exp: Do the test if
19839 is_address_zero_readable returns false.
19840 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
19841 * gdb.python/py-arch.exp: Likewise.
19842 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
19843 * lib/gdb.exp (is_address_zero_readable): New proc.
19844
19845 2014-08-09 Yao Qi <yao@codesourcery.com>
19846
19847 PR testsuite/13443
19848 * gdb.mi/mi-var-display.exp: Make test messages unique.
19849
19850 2014-08-04 Tom Tromey <tromey@redhat.com>
19851
19852 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
19853 target 0".
19854
19855 2014-08-04 Tom Tromey <tromey@redhat.com>
19856
19857 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
19858 "target_resume".
19859
19860 2014-08-01 Joel Brobecker <brobecker@adacore.com>
19861
19862 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
19863 inner_vla_struct_object_size.
19864 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
19865 as xfail.
19866
19867 2014-07-30 Pedro Alves <palves@redhat.com>
19868
19869 * gdb.threads/signal-command-handle-nopass.exp (test): Add
19870 comment.
19871
19872 2014-07-29 Yao Qi <yao@codesourcery.com>
19873
19874 PR gdb/17206
19875 * gdb.base/until-nodebug.exp: New.
19876
19877 2014-07-28 Doug Evans <xdje42@gmail.com>
19878
19879 PR guile/17203
19880 * gdb.guile/scm-parameter.exp: Add tests for trying to create
19881 previously existing parameter, and previously ambiguously spelled
19882 parameter.
19883
19884 2014-07-28 Will Newton <will.newton@linaro.org>
19885
19886 * gdb.base/varargs.exp: Remove KFAILs for ARM.
19887
19888 2014-07-26 Ludovic Courtès <ludo@gnu.org>
19889 Doug Evans <xdje42@gmail.com>
19890
19891 PR guile/17146
19892 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
19893
19894 2014-07-25 Pedro Alves <palves@redhat.com>
19895
19896 * gdb.threads/signal-command-handle-nopass.c: New file.
19897 * gdb.threads/signal-command-handle-nopass.exp: New file.
19898 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
19899 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
19900 * gdb.threads/signal-delivered-right-thread.c: New file.
19901 * gdb.threads/signal-delivered-right-thread.exp: New file.
19902
19903 2014-07-25 Pedro Alves <palves@redhat.com>
19904
19905 * gdb.base/double-prompt-target-event-error.exp
19906 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
19907 match.
19908 (cancel_pagination_in_target_event): Rework double prompt
19909 detection.
19910 * gdb.base/paginate-after-ctrl-c-running.exp
19911 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
19912 <return>' match.
19913 * gdb.base/paginate-bg-execution.exp
19914 (test_bg_execution_pagination_return)
19915 (test_bg_execution_pagination_cancel): Remove '-notransfer
19916 <return>' matches.
19917 * gdb.base/paginate-execution-startup.exp
19918 (test_fg_execution_pagination_return)
19919 (test_fg_execution_pagination_cancel): Remove '-notransfer
19920 <return>' matches.
19921 * gdb.base/paginate-inferior-exit.exp
19922 (test_paginate_inferior_exited): Remove '-notransfer <return>'
19923 match.
19924 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
19925 * lib/gdb.exp (pagination_prompt): Run text through
19926 string_to_regexp.
19927 (gdb_test_multiple): Match $pagination_prompt instead of
19928 "<return>".
19929 (string_to_regexp): Move to lib/gdb-utils.exp.
19930
19931 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
19932
19933 * gdb.arch/amd64-entry-value-paramref.S: New file.
19934 * gdb.arch/amd64-entry-value-paramref.cc: New file.
19935 * gdb.arch/amd64-entry-value-paramref.exp: New file.
19936 * gdb.arch/amd64-optimout-repeat.S: New file.
19937 * gdb.arch/amd64-optimout-repeat.c: New file.
19938 * gdb.arch/amd64-optimout-repeat.exp: New file.
19939
19940 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
19941
19942 PR gdb/17170
19943 * gdb.base/statistics.exp: New file.
19944
19945 2014-07-17 Doug Evans <dje@google.com>
19946
19947 PR gdb/17170
19948 * gdb.base/maint.exp: Update testing of per-command stats.
19949
19950 2014-07-16 Pedro Alves <palves@redhat.com>
19951
19952 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
19953 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
19954 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
19955 (tfile_write_buf): New functions.
19956 (add_memory_block): Rewrite using the above.
19957 (adjust_function_address): New function.
19958 (FUNCTION_ADDRESS): New macro.
19959 (write_basic_trace_file): Remove short_x local, and use
19960 tfile_write_16. Change type of func_addr local to unsigned long
19961 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
19962 here. Cast argument of add_memory_block to char pointer.
19963 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
19964 (main): Remove parameters.
19965 * gdb.trace/tfile.exp: Remove nowarnings.
19966
19967 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
19968
19969 * gdb.base/debug-expr.exp: Test string evaluation with
19970 "debug expression" on.
19971
19972 2014-07-15 Pedro Alves <palves@redhat.com>
19973
19974 * gdb.base/reread.exp: Use clean_restart.
19975
19976 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
19977
19978 * gdb.arch/avr-flash-qualifer.c: New.
19979 * gdb.arch/avr-flash-qualifer.exp: New.
19980
19981 2014-07-14 Pedro Alves <palves@redhat.com>
19982
19983 * gdb.base/paginate-after-ctrl-c-running.c: New file.
19984 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
19985
19986 2014-07-14 Pedro Alves <palves@redhat.com>
19987
19988 * gdb.base/double-prompt-target-event-error.c: New file.
19989 * gdb.base/double-prompt-target-event-error.exp: New file.
19990
19991 2014-07-14 Pedro Alves <palves@redhat.com>
19992
19993 PR gdb/17072
19994 * gdb.base/paginate-inferior-exit.c: New file.
19995 * gdb.base/paginate-inferior-exit.exp: New file.
19996
19997 2014-07-14 Pedro Alves <palves@redhat.com>
19998
19999 PR gdb/17072
20000 * gdb.base/paginate-bg-execution.c: New file.
20001 * gdb.base/paginate-bg-execution.exp: New file.
20002
20003 2014-07-14 Pedro Alves <palves@redhat.com>
20004
20005 PR gdb/17072
20006 * gdb.base/paginate-execution-startup.c: New file.
20007 * gdb.base/paginate-execution-startup.exp: New file.
20008 * lib/gdb.exp (pagination_prompt): New global.
20009 (default_gdb_spawn): New procedure, factored out from
20010 default_gdb_spawn.
20011 (default_gdb_start): Adjust to call default_gdb_spawn.
20012 (gdb_spawn): New procedure.
20013
20014 2014-07-14 Pedro Alves <palves@redhat.com>
20015
20016 * lib/gdb.exp (gdb_assert): New procedure.
20017 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
20018
20019 2014-07-14 Pedro Alves <palves@redhat.com>
20020
20021 * gdb.base/execution-termios.c: New file.
20022 * gdb.base/execution-termios.exp: New file.
20023
20024 2014-07-14 Tom Tromey <tromey@redhat.com>
20025
20026 * gdb.cp/vla-cxx.cc: New file.
20027 * gdb.cp/vla-cxx.exp: New file.
20028
20029 2014-07-14 Tom Tromey <tromey@redhat.com>
20030
20031 * gdb.reverse/rerun-prec.c: New file.
20032 * gdb.reverse/rerun-prec.exp: New file.
20033
20034 2014-07-12 Maciej W. Rozycki <macro@mips.com>
20035 Maciej W. Rozycki <macro@codesourcery.com>
20036
20037 * lib/gdb-utils.exp: New file.
20038 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
20039 inline `gdb_init_command' processing.
20040 (gdb_start_cmd): Likewise.
20041 * lib/mi-support.exp (mi_run_cmd): Likewise.
20042 * README: Document `gdb_init_command' and `gdb_init_commands'.
20043
20044 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20045
20046 Fix false FAIL running under a very long directory name.
20047 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
20048 and "set print elements 10000". Twice.
20049
20050 2014-07-11 Yao Qi <yao@codesourcery.com>
20051
20052 * gdb.base/exprs.exp: "set print symbol off".
20053
20054 2014-07-11 Pedro Alves <palves@redhat.com>
20055
20056 * gdb.threads/kill.c: New file.
20057 * gdb.threads/kill.exp: New file.
20058
20059 2014-07-10 Yao Qi <yao@codesourcery.com>
20060
20061 * gdb.trace/tfile.c (write_basic_trace_file)
20062 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
20063 address written to trace file.
20064
20065 2014-07-09 Pedro Alves <palves@redhat.com>
20066
20067 * gdb.base/attach-wait-input.exp: New file.
20068 * gdb.base/attach-wait-input.c: New file.
20069
20070 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
20071
20072 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
20073 setting up test structures.
20074 (main): Call new test function.
20075 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
20076 test function, continue into test function and walk test
20077 structures.
20078
20079 2014-07-02 Yao Qi <yao@codesourcery.com>
20080
20081 * gdb.trace/entry-values.c: Define labels 'foo_start' and
20082 'bar_start' at the beginning of functions 'foo' and 'bar'
20083 respectively.
20084 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
20085 instead of 'foo' and 'bar'.
20086
20087 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
20088
20089 * gdb.btrace/segv.exp: New.
20090 * gdb.btrace/segv.c: New.
20091
20092 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
20093
20094 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
20095 instruction.
20096
20097 2014-06-30 Mark Wielaard <mjw@redhat.com>
20098
20099 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
20100 vulture, vilify, villar): New volatile array constants.
20101 (vindictive, vegetation): New const volatile array constants.
20102 * gdb.base/volatile.exp: Test volatile and const volatile array
20103 types.
20104
20105 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
20106
20107 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
20108 target lacks support for awatch, rwatch, or hbreak.
20109
20110 2014-06-27 Yao Qi <yao@codesourcery.com>
20111
20112 * gdb.multi/dummy-frame-restore.exp: New.
20113 * gdb.multi/dummy-frame-restore.c: New.
20114
20115 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
20116
20117 * gdb.btrace/gcore.exp: New.
20118
20119 2014-06-23 Pedro Alves <palves@redhat.com>
20120
20121 * gdb.base/watchpoint-reuse-slot.c: New file.
20122 * gdb.base/watchpoint-reuse-slot.exp: New file.
20123
20124 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
20125
20126 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
20127 progspace's filename in 'info', 'enable' and 'disable' command
20128 tests.
20129
20130 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
20131
20132 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
20133 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
20134 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
20135
20136 2014-06-20 Gary Benson <gbenson@redhat.com>
20137
20138 * gdb.arch/i386-avx.exp: Fix include file location.
20139 * gdb.arch/i386-sse.exp: Likewise.
20140
20141 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
20142
20143 * gdb.dlang/expression.exp: New file.
20144
20145 2014-06-19 Pedro Alves <palves@redhat.com>
20146
20147 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
20148 out from ...
20149 (top level): ... here. Iterate running tests under different
20150 scheduler-locking settings.
20151
20152 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
20153
20154 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
20155 to DW_FORM_addr and use non-zero addresses.
20156
20157 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
20158
20159 PR gdb/17017
20160 * gdb.python/py-xmethods.cc: Add global function call counters and
20161 increment them in their respective functions. Remove "cout"
20162 statements.
20163 * gdb.python/py-xmethods.exp: Make tests check the global function
20164 call counters instead of depending on inferior IO.
20165
20166 2014-06-18 Don Breazeal <donb@codesourcery.com>
20167
20168 * gdb.base/foll-fork.exp (default_fork_parent_follow):
20169 Deleted procedure.
20170 (explicit_fork_parent_follow): Deleted procedure.
20171 (explicit_fork_child_follow): Deleted procedure.
20172 (test_follow_fork): New procedure.
20173 (do_fork_tests): Replace calls to deleted procedures with
20174 calls to test_follow_fork and reset GDB for subsequent
20175 procedure calls.
20176
20177 2014-06-17 Yao Qi <yao@codesourcery.com>
20178
20179 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
20180 CP1252.
20181
20182 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
20183
20184 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
20185 Initialize ptr and S explicitly.
20186 (skip_type_update_when_not_use_rtti_test): Likewise.
20187
20188 2014-06-16 Keith Seitz <keiths@redhat.com>
20189
20190 PR mi/15863
20191 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
20192 the inferior is started.
20193
20194 2014-06-16 Pedro Alves <palves@redhat.com>
20195
20196 * gdb.base/break-main-file-remove-fail.c: New file.
20197 * gdb.base/break-main-file-remove-fail.exp: New file.
20198 * gdb.base/break-unload-file.exp: Use build_executable instead of
20199 prepare_for_testing.
20200 (test_break): New parameter "initial_load". Handle it.
20201 (top level): Add initial_load cmdline/file axis.
20202
20203 2014-06-12 Tom Tromey <tromey@redhat.com>
20204
20205 * gdb.base/completion.exp: Don't use directory name in test.
20206
20207 2014-06-09 Gary Benson <gbenson@redhat.com>
20208
20209 * gdb.base/sigall.c [Functions to send signals]: Reorder to
20210 separate the always-available ANSI-standard signals from the
20211 signals that require checking.
20212 (main): Likewise.
20213 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
20214 Likewise.
20215 (main): Likewise.
20216
20217 2014-06-07 Keith Seitz <keiths@redhat.com>
20218
20219 Revert:
20220 PR c++/16253
20221 * gdb.cp/var-tag.cc: New file.
20222 * gdb.cp/var-tag.exp: New file.
20223 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
20224 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
20225 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
20226 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
20227
20228 2014-06-06 Doug Evans <xdje42@gmail.com>
20229
20230 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
20231
20232 2014-06-06 Pedro Alves <palves@redhat.com>
20233
20234 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
20235 in target debug output instead of looking at RSP packets,
20236 disabling the test on any target that uses hardware stepping.
20237 Update comments.
20238
20239 2014-06-06 Pedro Alves <palves@redhat.com>
20240
20241 * gdb.base/break-unload-file.exp: Fix typo.
20242
20243 2014-06-06 Yao Qi <yao@codesourcery.com>
20244
20245 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
20246 from "jit_function" to "^jit_function".
20247
20248 2014-06-06 Yao Qi <yao@codesourcery.com>
20249
20250 * gdb.base/async.c (foo): Add one statement.
20251 * gdb.base/async.exp: Get the next instruction address and
20252 match the output of "nexti" by instruction address. Match
20253 the hex address in the output of "finish".
20254
20255 2014-06-06 Gary Benson <gbenson@redhat.com>
20256
20257 * gdb.base/call-signals.c: Remove preprocessor conditionals
20258 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
20259 SIGSEGV and SIGTERM.
20260 * gdb.base/sigall.c: Likewise.
20261 * gdb.base/unwindonsignal.c: Likewise.
20262 * gdb.reverse/sigall-reverse.c: Likewise.
20263
20264 2014-06-06 Yao Qi <yao@codesourcery.com>
20265
20266 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
20267 readable, skip the test.
20268
20269 2014-06-06 Yao Qi <yao@codesourcery.com>
20270
20271 * gdb.threads/staticthreads.c (thread_function): Move the line
20272 setting breakpoint on forward.
20273 * gdb.threads/staticthreads.exp: Update comments.
20274
20275 2014-06-05 Ludovic Courtès <ludo@gnu.org>
20276
20277 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
20278 "history-append! type error".
20279
20280 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
20281
20282 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
20283 erroneous dprintf expected input.
20284
20285 2014-06-04 Doug Evans <xdje42@gmail.com>
20286
20287 * gdb.guile/scm-generics.exp: Delete.
20288
20289 2014-06-04 Doug Evans <xdje42@gmail.com>
20290
20291 * gdb.guile/scm-breakpoint.exp: Update.
20292 Add tests for breakpoint registration.
20293
20294 2014-06-04 Tom Tromey <tromey@redhat.com>
20295
20296 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
20297 VLA-in-union.
20298 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
20299 inner_vla_struct, vla_union types. Initialize objects of those
20300 types and compute their sizes.
20301
20302 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
20303 Hui Zhu <hui@codesourcery.com>
20304
20305 * gdb.base/fileio.exp: Add test for shell not available as well as
20306 available.
20307 * gdb.base/fileio.c (test_system): Check for shell twice.
20308
20309 2014-06-04 Yao Qi <yao@codesourcery.com>
20310
20311 * gdb.base/auto-connect-native-target.exp: Remove redundant
20312 space from the regexp pattern.
20313
20314 2014-06-04 Yao Qi <yao@codesourcery.com>
20315
20316 * gdb.base/default.exp: Replace "child" with "native" in
20317 regexp pattern.
20318
20319 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
20320
20321 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
20322 * gdb.python/py-xmethods.exp: New tests to test xmethods.
20323 * gdb.python/py-xmethods.py: Python script supporting the
20324 new testcase and tests.
20325
20326 2014-06-03 Joel Brobecker <brobecker@adacore.com>
20327 Pedro Alves <palves@redhat.com>
20328
20329 PR breakpoints/17000
20330 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
20331 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
20332
20333 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
20334
20335 * gdb.base/subst.exp: Add tests to verify partial path matching
20336 output.
20337
20338 2014-06-03 Pedro Alves <palves@redhat.com>
20339
20340 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
20341 target that doesn't use software single-stepping.
20342
20343 2014-06-03 Pedro Alves <palves@redhat.com>
20344
20345 PR breakpoints/17000
20346 * gdb.base/sss-bp-on-user-bp-2.c: New file.
20347 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
20348
20349 2014-06-02 Doug Evans <xdje42@gmail.com>
20350
20351 * gdb.guile/scm-parameter.exp: New file.
20352
20353 2014-06-02 Doug Evans <xdje42@gmail.com>
20354
20355 * gdb.guile/scm-cmd.c: New file.
20356 * gdb.guile/scm-cmd.exp: New file.
20357
20358 2014-06-02 Doug Evans <xdje42@gmail.com>
20359
20360 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
20361 pretty-printer lookup.
20362 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
20363 (make-pp_s-printer): Call it.
20364 (make-pretty-printer-from-dict): New function.
20365 (lookup-pretty-printer-maker-from-dict): New function.
20366 (*pretty-printer*): Simplify.
20367 (make-objfile-pp_s-printer): New function.
20368 (install-objfile-pretty-printers!): New function.
20369 (make-progspace-pp_s-printer): New function.
20370 (install-progspace-pretty-printers!): New function.
20371 * gdb.guile/scm-progspace.c: New file.
20372 * gdb.guile/scm-progspace.exp: New file.
20373
20374 2014-06-02 Pedro Alves <palves@redhat.com>
20375
20376 * gdb.base/dprintf-bp-same-addr.c: New file.
20377 * gdb.base/dprintf-bp-same-addr.exp: New file.
20378
20379 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20380
20381 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
20382 * gdb.arch/powerpc-power.s: Likewise.
20383
20384 2014-06-02 Joel Brobecker <brobecker@adacore.com>
20385
20386 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
20387
20388 2014-06-01 Yao Qi <yao@codesourcery.com>
20389
20390 * gdb.base/watchpoint.exp (test_watch_location): Check null
20391 pointer can be dereferenced. If not, do the test, otherwise
20392 skip it.
20393
20394 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
20395
20396 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
20397 results.
20398 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
20399
20400 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
20401
20402 * gdb.arch/amd64-invalid-stack-middle.S: New file.
20403 * gdb.arch/amd64-invalid-stack-middle.c: New file.
20404 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
20405 * gdb.arch/amd64-invalid-stack-top.c: New file.
20406 * gdb.arch/amd64-invalid-stack-top.exp: New file.
20407
20408 2014-05-30 Pedro Alves <palves@redhat.com>
20409
20410 PR breakpoints/17000
20411 * gdb.base/sss-bp-on-user-bp.c: New file.
20412 * gdb.base/sss-bp-on-user-bp.exp: New file.
20413
20414 2014-05-30 David Blaikie <dblaikie@gmail.com>
20415
20416 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
20417 gnu_inline semantics via attribute.
20418 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
20419 source explicitly specifies the required semantics.
20420
20421 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
20422
20423 * gdb.reverse/sigall-reverse.exp: Fix a typo.
20424
20425 2014-05-29 Pedro Alves <palves@redhat.com>
20426 Tom Tromey <tromey@redhat.com>
20427
20428 * gdb.base/async-shell.exp: Don't enable target-async.
20429 * gdb.base/async.exp
20430 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
20431 parameter. Adjust.
20432 (top level): Don't test with "target-async".
20433 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
20434 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
20435 * gdb.base/inferior-died.exp: Don't enable target-async.
20436 * gdb.base/interrupt-noterm.exp: Likewise.
20437 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
20438 * gdb.mi/mi-nonstop-exit.exp: Likewise.
20439 * gdb.mi/mi-nonstop.exp: Likewise.
20440 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
20441 * gdb.mi/mi-nsintrall.exp: Likewise.
20442 * gdb.mi/mi-nsmoribund.exp: Likewise.
20443 * gdb.mi/mi-nsthrexec.exp: Likewise.
20444 * gdb.mi/mi-watch-nonstop.exp: Likewise.
20445 * gdb.multi/watchpoint-multi.exp: Adjust comment.
20446 * gdb.python/py-evsignal.exp: Don't enable target-async.
20447 * gdb.python/py-evthreads.exp: Likewise.
20448 * gdb.python/py-prompt.exp: Likewise.
20449 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
20450 * gdb.server/solib-list.exp: Don't enable target-async.
20451 * gdb.threads/thread-specific-bp.exp: Likewise.
20452 * lib/mi-support.exp: Adjust to use mi-async.
20453
20454 2014-05-29 Pedro Alves <palves@redhat.com>
20455
20456 PR gdb/13860
20457 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
20458 reason, even in sync mode.
20459
20460 2014-05-29 Pedro Alves <palves@redhat.com>
20461 Hui Zhu <hui@codesourcery.com>
20462
20463 PR PR15693
20464 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
20465 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
20466 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
20467 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
20468
20469 2014-05-28 Joel Brobecker <brobecker@adacore.com>
20470
20471 * config/monitor.exp (gdb_target_monitor): Replace use of
20472 "set remotebaud" by "set serial baud".
20473
20474 2014-05-26 Andy Wingo <wingo@igalia.com>
20475
20476 * gdb.guile/scm-breakpoint.exp:
20477 * gdb.guile/scm-gsmob.exp: Update to use plain old object
20478 properties instead of gdb-object-properties.
20479
20480 2014-05-26 Yao Qi <yao@codesourcery.com>
20481
20482 * gdb.server/no-thread-db.exp: Specify source file name
20483 explicitly when setting a breakpoint.
20484
20485 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20486
20487 * gdb.btrace/vdso.c: New.
20488 * gdb.btrace/vdso.exp: New.
20489
20490 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20491
20492 * gdb.base/gcore.exp (capture_command_output): Move ...
20493 * lib/gdb.exp (capture_command_output): ... here.
20494
20495 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20496
20497 * gdb.btrace/data.exp: Test memory access during btrace replay.
20498
20499 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
20500
20501 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
20502
20503 2014-05-21 Pedro Alves <palves@redhat.com>
20504
20505 PR gdb/13860
20506 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
20507 (top level): Test that output related to execution commands is
20508 sent to the console with CLI commands, but not with MI commands.
20509 Test that breakpoint events are always mirrored to the console.
20510 Also expect the new source line to be output after a "next" in
20511 async mode too. Make it a pass/fail test.
20512 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
20513 output.
20514 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
20515
20516 2014-05-21 Pedro Alves <palves@redhat.com>
20517
20518 * gdb.base/list.exp (build_pattern, test_list): New procedures.
20519 Use them to test variations of "list" after reaching a breakpoint.
20520 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
20521 Test "list" with listsize 10 after reaching a breakpoint.
20522 * gdb.python/python.exp (decode_line current location line
20523 number): Adjust expected line number.
20524
20525 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
20526
20527 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
20528 behavior for $args, pass it directly to "run".
20529
20530 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
20531
20532 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
20533 30000 to 65536.
20534
20535 2014-05-21 Pedro Alves <palves@redhat.com>
20536
20537 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
20538 auto-connect-native-target off".
20539 * gdb.base/auto-connect-native-target.c: New file.
20540 * gdb.base/auto-connect-native-target.exp: New file.
20541
20542 2014-05-21 Pedro Alves <palves@redhat.com>
20543
20544 * gdb.base/default.exp: Test "target native" instead of "target
20545 child".
20546
20547 2014-05-21 Mark Wielaard <mjw@redhat.com>
20548
20549 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
20550
20551 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20552
20553 Fix TLS access for -static -pthread.
20554 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
20555 <HAVE_TLS> (thread_function, main): Initialize it.
20556 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
20557 Add clean_restart.
20558 <$have_tls != "">: Check TLSVAR.
20559
20560 2014-05-21 Pedro Alves <palves@redhat.com>
20561
20562 * gdb.base/dcache-line-read-error.c: New.
20563 * gdb.base/dcache-line-read-error.exp: New.
20564
20565 2014-05-20 Pedro Alves <palves@redhat.com>
20566
20567 * gdb.base/compare-sections.c: New file.
20568 * gdb.base/compare-sections.exp: New file.
20569
20570 2014-05-20 Pedro Alves <palves@redhat.com>
20571
20572 * gdb.base/break-idempotent.c: New file.
20573 * gdb.base/break-idempotent.exp: New file.
20574
20575 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
20576
20577 * gdb.btrace/nohist.exp: New.
20578
20579 2014-05-20 Yao Qi <yao@codesourcery.com>
20580
20581 * lib/gdb.exp (gdb_init): Set timeout if test file is under
20582 gdb.reverse directory and gdb_reverse_timeout exists in board
20583 setting.
20584 * README: Document gdb_reverse_timeout.
20585
20586 2014-05-20 Yao Qi <yao@codesourcery.com>
20587
20588 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
20589 'test_file_name'. Treat args as a string instead of a list.
20590 (gdb_init): Rename argument 'args' by 'test_file_name'.
20591
20592 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
20593
20594 * gdb.arch/powerpc-power.exp: New file.
20595 * gdb.arch/powerpc-power.s: New file.
20596
20597 2014-05-16 Doug Evans <dje@google.com>
20598
20599 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
20600 * gdb.base/completion.exp: Check that all expected files exist
20601 before doing file completion.
20602
20603 2014-05-16 Doug Evans <dje@google.com>
20604
20605 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
20606 Update.
20607 (do_syscall_tests_without_xml): Update.
20608
20609 2014-05-16 Pedro Alves <palves@redhat.com>
20610
20611 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
20612 instead of "unknown output after running".
20613
20614 2014-05-16 Yao Qi <yao@codesourcery.com>
20615
20616 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
20617 file1.txt from host at the end.
20618 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
20619
20620 2014-05-15 Doug Evans <dje@google.com>
20621
20622 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
20623 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
20624 loading file. Add test for TU lookup.
20625
20626 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
20627
20628 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
20629 calling "-exec-arguments" or "set args" before running the
20630 inferior.
20631
20632 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
20633
20634 * lib/mi-support.exp (mi_expect_stop): Expect message for
20635 inferiors that exit with non-zero exit code.
20636
20637 2014-05-14 Yao Qi <yao@codesourcery.com>
20638
20639 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
20640 match absolute path on remote host.
20641 (test_file_list_exec_source_files): Remove "/" from the
20642 pattern.
20643
20644 2014-05-14 Yao Qi <yao@codesourcery.com>
20645
20646 * boards/local-remote-host-notty.exp (${board}_file): New
20647 proc.
20648
20649 2014-05-07 Kyle McMartin <kyle@redhat.com>
20650
20651 Pushed by Joel Brobecker <brobecker@adacore.com>.
20652 * gdb.arch/aarch64-atomic-inst.c: New file.
20653 * gdb.arch/aarch64-atomic-inst.exp: New file.
20654
20655 2014-05-07 Yao Qi <yao@codesourcery.com>
20656
20657 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
20658 in current context" too.
20659
20660 2014-05-05 Keith Seitz <keiths@redhat.com>
20661
20662 * gdb.linespec/ls-dollar.exp: Add test for linespec
20663 file:convenience_variable.
20664
20665 2014-05-05 Yao Qi <yao@codesourcery.com>
20666
20667 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
20668 traceframes into tfile and ctf trace files. Read data from
20669 trace file and test collected data.
20670 (gdb_collect_locals_test): Likewise.
20671 (gdb_unavailable_registers_test): Likewise.
20672 (gdb_unavailable_floats): Likewise.
20673 (gdb_collect_globals_test): Likewise.
20674 (top-level): Append "ctf" to trace_file_targets if GDB
20675 supports.
20676
20677 2014-05-05 Yao Qi <yao@codesourcery.com>
20678
20679 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
20680 code to ...
20681 (gdb_collect_args_test_1): ... it. New proc.
20682 (gdb_collect_locals_test): Move some code to ...
20683 (gdb_collect_locals_test_1): ... it. New proc.
20684 (gdb_unavailable_registers_test): Move some code to ...
20685 (gdb_unavailable_registers_test_1): ... it. New proc.
20686 (gdb_unavailable_floats): Move some code to ...
20687 (gdb_unavailable_floats_1): ... it. New proc.
20688
20689 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
20690
20691 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
20692 probes to test for bitness recognition.
20693 * gdb.arch/amd64-stap-optional-prefix.exp
20694 (test_probe_value_without_reg): New procedure.
20695 Add code to test for different kinds of bitness.
20696
20697 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
20698
20699 PR breakpoints/16889
20700 * gdb.arch/amd64-stap-optional-prefix.S: New file.
20701 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
20702
20703 2014-05-01 Pedro Alves <palves@redhat.com>
20704
20705 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
20706 gdb_file_cmd if no file is specified.
20707 * boards/native-extended-gdbserver.exp (gdb_load): Use the
20708 last_loaded_file to set the remote exec-file.
20709
20710 2014-05-01 Pedro Alves <palves@redhat.com>
20711
20712 * boards/local-remote-host.exp: New file.
20713
20714 2014-05-01 Pedro Alves <palves@redhat.com>
20715
20716 * boards/local-remote-host.exp: Rename to ...
20717 * boards/local-remote-host-notty.exp: ... this.
20718
20719 2014-04-28 Joel Brobecker <brobecker@adacore.com>
20720
20721 * gdb.ada/dyn_arrayidx: New testcase.
20722
20723 2014-04-26 Yao Qi <yao@codesourcery.com>
20724
20725 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
20726 and compute the length of function main. Save it in
20727 $main_length.
20728 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
20729 (top-level): Use gdb_compile to compile objects into
20730 executable and restart GDB. Remove invocation to
20731 prepare_for_testing.
20732
20733 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
20734 Pedro Alves <palves@redhat.com>
20735
20736 PR server/16255
20737 * gdb.multi/multi-attach.c: New file.
20738 * gdb.multi/multi-attach.exp: New file.
20739
20740 2014-04-25 Pedro Alves <palves@redhat.com>
20741
20742 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
20743 user.
20744 (top level): Test that "set remote conditional-breakpoints-packet
20745 off" works as intended.
20746 * gdb.base/dprintf.exp: Test that "set remote
20747 breakpoint-commands-packet off" works as intended.
20748 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
20749 New function.
20750 (top level): Call it.
20751 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
20752 remote fast-tracepoints-packet off" works as intended.
20753 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
20754 * lib/gdb.exp (gdb_is_target_remote): ... here.
20755
20756 2014-04-24 David Blaikie <dblaikie@gmail.com>
20757
20758 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
20759 ensure clang would not discard them.
20760 * gdb.base/gdbvars.c: Ditto.
20761 * gdb.base/memattr.c: Ditto.
20762 * gdb.base/whatis.c: Ditto.
20763 * gdb.python/py-prettyprint.c: Ditto.
20764 * gdb.trace/actions.c: Ditto.
20765 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
20766 ensure clang would not discard it.
20767
20768 2014-04-24 David Blaikie <dblaikie@gmail.com>
20769
20770 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
20771 clang to emit the full definition of type required by the test
20772 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
20773
20774 2014-04-24 David Blaikie <dblaikie@gmail.com>
20775
20776 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
20777 coax Clang into emitting the definition of the type.
20778 * gdb.cp/pr10728-x.h (y): Ditto.
20779 * gdb.cp/pr10728-y.cc (y): Ditto.
20780
20781 2014-04-24 David Blaikie <dblaikie@gmail.com>
20782
20783 * gdb.base/label.exp: XFAIL label related tests under Clang.
20784 * gdb.cp/cplabel.exp: Ditto.
20785 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
20786 under Clang those using labels.
20787
20788 2014-04-25 Yao Qi <yao@codesourcery.com>
20789
20790 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
20791 double_label.
20792 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
20793 partial_label and double_label.
20794
20795 2014-04-24 David Blaikie <dblaikie@gmail.com>
20796
20797 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
20798
20799 2014-04-24 David Blaikie <dblaikie@gmail.com>
20800
20801 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
20802 of the function to work across GCC and Clang.
20803 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
20804 pointer types (const void ** const V void **).
20805
20806 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
20807 Walfred Tedeschi <walfred.tedeschi@intel.com>
20808
20809 * Makefile.in (EXECUTABLES): Added i386-avx512.
20810 * gdb.arch/i386-avx512.c: New file.
20811 * gdb.arch/i386-avx512.exp: Likewise.
20812
20813 2014-04-23 Keith Seitz <keiths@redhat.com>
20814
20815 * lib/mi-support.exp (mi_list_breakpoints): Delete.
20816 (mi_make_breakpoint_table): New procedure.
20817 (mi_create_breakpoint): Use mi_make_breakpoint
20818 and return the result.
20819 (mi_make_breakpoint): New procedure.
20820 (mi_build_kv_pairs): New procedure.
20821
20822 * gdb.mi/mi-break.exp: Remove unused globals,
20823 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
20824 All callers updated.
20825 * gdb.mi/mi-dprintf.exp: Use variable to track command
20826 number.
20827 Update all callers of mi_create_breakpoint and use
20828 mi_make_breakpoint_table.
20829 Remove any unused global variables.
20830 * gdb.mi/mi-nonstop.exp: Likewise.
20831 * gdb.mi/mi-nsintrall.exp: Likewise.
20832 * gdb.mi/mi-nsmoribund.exp: Likewise.
20833 * gdb.mi/mi-nsthrexec.exp: Likewise.
20834 * gdb.mi/mi-reverse.exp: Likewise.
20835 * gdb.mi/mi-simplerun.exp: Likewise.
20836 * gdb.mi/mi-stepn.exp: Likewise.
20837 * gdb.mi/mi-syn-frame.exp: Likewise.
20838 * gdb.mi/mi-until.exp: Likewise.
20839 * gdb.mi/mi-var-cp.exp: Likewise.
20840 * gdb.mi/mi-var-display.exp: Likewise.
20841 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
20842 * gdb.mi/mi2-var-child.exp: Likewise.
20843 * gdb.mi/mi-vla-c99.exp: Likewise.
20844 * lib/mi-support.exp: Likewise.
20845
20846 From Ian Lance Taylor <iant@cygnus.com>:
20847 * lib/gdb.exp (parse_args): New procedure.
20848
20849 2014-04-23 Pedro Alves <palves@redhat.com>
20850
20851 * gdb.base/break-unload-file.c: New file.
20852 * gdb.base/break-unload-file.exp: New file.
20853 * gdb.base/sym-file-lib.c (baz): New function.
20854 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
20855 field.
20856 (load): Store the segment's mapped size.
20857 (unload): New function.
20858 (unload_shlib): New function.
20859 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
20860 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
20861 set a breakpoint at baz, and call it.
20862 * gdb.base/sym-file.exp: New tests for stale breakpoint
20863 instructions.
20864
20865 2014-04-23 Pedro Alves <palves@redhat.com>
20866
20867 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
20868 * gdb.base/hbreak-in-shr-unsupported.c: New file.
20869 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
20870 * gdb.base/hbreak-unmapped.c: New file.
20871 * gdb.base/hbreak-unmapped.exp: New file.
20872 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
20873 * lib/gdb.exp (gdb_is_target_remote): ... here.
20874
20875 2014-04-22 Pedro Alves <palves@redhat.com>
20876
20877 * gdb.base/consecutive-step-over.c: New file.
20878 * gdb.base/consecutive-step-over.exp: New file.
20879
20880 2014-04-22 Pedro Alves <palves@redhat.com>
20881
20882 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
20883 instead of send_gdb/gdb_expect.
20884
20885 2014-04-22 Yao Qi <yao@codesourcery.com>
20886
20887 * lib/trace-support.exp (generate_tracefile): New procedure.
20888 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
20889 return 0.
20890 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
20891 if generate_tracefile returns 1.
20892
20893 2014-04-18 Tom Tromey <palves@redhat.com>
20894 Pedro alves <tromey@redhat.com>
20895
20896 PR backtrace/15558
20897 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
20898 with a backtrace limit.
20899 * gdb.python/py-frame-inline.exp: Test running to an inline
20900 function with a backtrace limit, and printing the newest frame.
20901 * gdb.python/py-frame-inline.c (main): Call f.
20902
20903 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
20904
20905 * gdb.java/jnpe.exp: Drop srcdir from untested path.
20906
20907 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
20908
20909 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
20910 Drop prefix from unsupported source file path.
20911
20912 2014-04-17 Yao Qi <yao@codesourcery.com>
20913
20914 * lib/gdb.exp (with_target_charset): New proc.
20915 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
20916 with_target_charset.
20917 (test_print_strings): Likewise.
20918 (test_repeat_bytes): Likewise.
20919 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
20920 for some tests.
20921
20922 2014-04-16 Keith Seitz <keiths@redhat.com>
20923
20924 PR gdb/15827
20925 * gdb.dwarf2/corrupt.c: New file.
20926 * gdb.dwarf2/corrupt.exp: New file.
20927
20928 2014-04-16 Keith Seitz <keiths@redhat.com>
20929
20930 PR c++/16597
20931 * gdb.cp/namelessclass.cc: New file.
20932 * gdb.cp/namelessclass.exp: New file.
20933 * gdb.cp/namelessclass.S: New file.
20934
20935 2014-04-16 Doug Evans <dje@google.com>
20936
20937 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
20938 Add comment.
20939 (gdbserver_default_get_comm_port): New function.
20940 (gdbserver_start): Check if board file provided
20941 "gdbserver,get_comm_port" and use it if so.
20942 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
20943 (gdb,socketport): Set to "stdio".
20944 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
20945 (stdio_gdbserver_template): Delete.
20946 (${board}_get_remote_address): Update.
20947 (${board}_build_remote_cmd): Delete.
20948 (${board}_get_comm_port): New function.
20949 (${board}_spawn): Update.
20950 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
20951 Delete.
20952 (${board}_get_remote_address): Update.
20953 (${board}_get_comm_port): New function.
20954
20955 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
20956
20957 * gdb.base/memattr.exp: Improve regexps to handle memory regions
20958 appearing in any order.
20959
20960 2014-04-15 Doug Evans <dje@google.com>
20961
20962 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
20963 uninitialized value of "description".
20964
20965 2014-04-15 Keith Seitz <keiths@redhat.com>
20966
20967 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
20968 Remove unused globals.
20969 (test_running_the_program): Likewise.
20970 (test_controlled_execution): Likewise.
20971 (test_controlling_breakpoints): Likewise.
20972 (test_program_termination): Likewise.
20973
20974 2014-04-15 Keith Seitz <keiths@redhat.com>
20975
20976 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
20977 unused globals.
20978 (test_rbreak_creation_and_listing): Likewise.
20979 (test_ignore_count): Likewise.
20980 (test_error): Likewise.
20981
20982 2014-04-15 Pedro Alves <palves@redhat.com>
20983
20984 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
20985 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
20986 sym-file-loader.c.
20987 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
20988 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
20989 to sym-file-loader.c.
20990 (struct library): Forward declare.
20991 (load_shlib, lookup_function): Change prototypes.
20992 (find_shstrtab, find_strtab, find_shdr, find_symtab)
20993 (translate_offset): Remove declarations.
20994 (get_text_addr): New declaration.
20995 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
20996 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
20997 sym-file-loader.h.
20998 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
20999 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
21000 here from sym-file-loader.h.
21001 (struct library): New structure.
21002 (load_shlib, lookup_function): Change prototypes and adjust to
21003 work with a struct library.
21004 (find_shstrtab, find_strtab, find_shdr, find_symtab)
21005 (translate_offset): Make static.
21006 (get_text_addr): New function.
21007 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
21008
21009 2014-04-15 Pedro Alves <palves@redhat.com>
21010
21011 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
21012
21013 2014-04-15 Pedro Alves <palves@redhat.com>
21014
21015 * gdb.base/sym-file-loader.c: Include <limits.h>.
21016 (SELF_LINK): New define.
21017 (get_origin): New function.
21018 (load_shlib): Use it.
21019 * gdb.base/sym-file.exp: Don't early return if the target is
21020 remote. Use runto_main, and issue fail is that fails. Use
21021 gdb_load_shlibs.
21022 (shlib_name): Delete.
21023 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
21024
21025 2014-04-15 Pedro Alves <palves@redhat.com>
21026
21027 * gdb.base/sym-file.exp: Remove regex characters from test
21028 message. Don't refer to breakpoint numbers in test messages.
21029
21030 2014-04-14 Keith Seitz <keiths@redhat.com>
21031
21032 PR c++/16253
21033 * gdb.cp/var-tag.cc: New file.
21034 * gdb.cp/var-tag.exp: New file.
21035 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
21036 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
21037 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
21038 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
21039
21040 2014-04-14 Tom Tromey <tromey@redhat.com>
21041
21042 * gdb.cp/classes.exp (test_enums): Handle underlying type.
21043 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
21044 type.
21045 * gdb.cp/enum-class.exp: New file.
21046 * gdb.cp/enum-class.cc: New file.
21047
21048 2014-04-14 Tom Tromey <tromey@redhat.com>
21049
21050 * gdb.dwarf2/enum-type.exp: New file.
21051
21052 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21053
21054 * gdb.mi/mi-vla-c99.exp: New file.
21055 * gdb.mi/vla.c: New file.
21056
21057 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21058
21059 * gdb.base/vla-datatypes.c: New file.
21060 * gdb.base/vla-datatypes.exp: New file.
21061
21062 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21063
21064 * gdb.base/vla-ptr.c: New file.
21065 * gdb.base/vla-ptr.exp: New file.
21066
21067 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21068
21069 * gdb.dwarf2/count.exp: New file.
21070
21071 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21072
21073 * gdb.base/vla-sideeffect.c: New file.
21074 * gdb.base/vla-sideeffect.exp: New file.
21075
21076 2014-04-14 David Blaikie <dblaikie@gmail.com>
21077
21078 * gdb.mi/non-stop.c: Add return value for non-void function return
21079 statement.
21080 * gdb.threads/staticthreads.c: Ditto.
21081
21082 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
21083 Doug Evans <xdje42@gmail.com>
21084
21085 * gdb.guile/scm-value.c: Improve test case.
21086 * gdb.guile/scm-value.exp: Add new test.
21087
21088 2014-04-11 David Blaikie <dblaikie@gmail.com>
21089
21090 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
21091 override Clang's default.
21092
21093 2014-04-11 Joel Brobecker <brobecker@adacore.com>
21094
21095 Revert the following changes (regressions):
21096
21097 * gdb.base/vla-sideeffect.c: New file.
21098 * gdb.base/vla-sideeffect.exp: New file.
21099
21100 * gdb.dwarf2/count.exp: New file.
21101
21102 * gdb.base/vla-multi.c: New file.
21103 * gdb.base/vla-multi.exp: New file.
21104
21105 * gdb.base/vla-ptr.c: New file.
21106 * gdb.base/vla-ptr.exp: New file.
21107
21108 * gdb.base/vla-datatypes.c: New file.
21109 * gdb.base/vla-datatypes.exp: New file.
21110
21111 * gdb.mi/mi-vla-c99.exp: New file.
21112 * gdb.mi/vla.c: New file.
21113
21114 2014-04-11 Keith Seitz <keiths@redhat.com>
21115
21116 PR c++/16675
21117 * gdb.cp/cpsizeof.exp: New file.
21118 * gdb.cp/cpsizeof.cc: New file.
21119
21120 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21121
21122 * gdb.mi/mi-vla-c99.exp: New file.
21123 * gdb.mi/vla.c: New file.
21124
21125 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21126
21127 * gdb.base/vla-datatypes.c: New file.
21128 * gdb.base/vla-datatypes.exp: New file.
21129
21130 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21131
21132 * gdb.base/vla-ptr.c: New file.
21133 * gdb.base/vla-ptr.exp: New file.
21134
21135 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21136
21137 * gdb.base/vla-multi.c: New file.
21138 * gdb.base/vla-multi.exp: New file.
21139
21140 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21141
21142 * gdb.dwarf2/count.exp: New file.
21143
21144 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21145
21146 * gdb.base/vla-sideeffect.c: New file.
21147 * gdb.base/vla-sideeffect.exp: New file.
21148
21149 2014-04-11 Yao Qi <yao@codesourcery.com>
21150
21151 * gdb.base/completion.exp: Check file exists before running tests
21152 on file completion.
21153
21154 2014-04-10 Pedro Alves <palves@redhat.com>
21155
21156 * gdb.base/cond-eval-mode.c: New file.
21157 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
21158 prepare_for_testing to build the new file. Check result of
21159 runto_main.
21160 (test_break, test_watch): New procedures.
21161 (top level): Use them.
21162
21163 2014-04-08 Pierre Muller <muller@sourceware.org>
21164
21165 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
21166 Ctrl-V use for mingw hosts.
21167
21168 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
21169
21170 * gdb.python/py-value.c: Improve test case.
21171 * gdb.python/py-value.exp: Add new test.
21172
21173 2014-04-07 David Blaikie <dblaikie@gmail.com>
21174
21175 * lib/compiler.c: Identify the clang compiler.
21176 * lib/compiler.cc: Ditto.
21177
21178 2014-04-03 Yao Qi <yao@codesourcery.com>
21179
21180 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
21181
21182 2014-04-01 Anton Blanchard <anton@samba.org>
21183
21184 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
21185 messages unique.
21186
21187 2014-04-01 Anton Blanchard <anton@samba.org>
21188
21189 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
21190 prepare_for_testing.
21191
21192 2014-04-01 Anton Blanchard <anton@samba.org>
21193
21194 * gdb.arch/ppc64-atomic-inst.c: Remove.
21195 * gdb.arch/ppc64-atomic-inst.S: New file.
21196 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
21197
21198 2014-03-31 Doug Evans <dje@google.com>
21199
21200 * gdb.base/print-symbol-loading-lib.c: New file.
21201 * gdb.base/print-symbol-loading-main.c: New file.
21202 * gdb.base/print-symbol-loading.exp: New file.
21203
21204 2014-03-31 Yao Qi <yao@codesourcery.com>
21205
21206 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
21207
21208 2014-03-28 Joel Brobecker <brobecker@adacore.com>
21209
21210 * gdb.ada/mi_dyn_arr: New testcase.
21211
21212 2014-03-27 Doug Evans <dje@google.com>
21213
21214 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
21215
21216 2014-03-27 Yao Qi <yao@codesourcery.com>
21217
21218 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
21219 if target is nios2-*-*.
21220
21221 2014-03-26 Yao Qi <yao@codesourcery.com>
21222
21223 * lib/gdb.exp (readline_is_used): New proc.
21224 * gdb.base/completion.exp: Move tests on command complete up.
21225 Skip the rest of tests if readline is not used.
21226 * gdb.ada/complete.exp: Skp the test if readline is not
21227 used.
21228 * gdb.base/filesym.exp: Likewise.
21229 * gdb.base/macscp.exp: Likewise.
21230 * gdb.base/readline-ask.exp: Likewise.
21231 * gdb.base/readline.exp: Likewise.
21232 * gdb.python/py-cmd.exp: Likewise.
21233 * gdb.trace/tfile.exp: Likewise.
21234
21235 2014-03-26 Yao Qi <yao@codesourcery.com>
21236
21237 * gdb.base/macscp.exp: Fix code format issues.
21238
21239 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
21240
21241 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
21242 * gdb.asm/powerpc64le.inc: New file.
21243
21244 2014-03-25 Pedro Alves <palves@redhat.com>
21245 Doug Evans <dje@google.com>
21246
21247 * gdb.base/source-execution.c: New file.
21248 * gdb.base/source-execution.exp: New file.
21249 * gdb.base/source-execution.gdb: New file.
21250
21251 2014-03-24 Doug Evans <dje@google.com>
21252
21253 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
21254 using fission.
21255
21256 2014-03-24 Hui Zhu <hui@codesourcery.com>
21257 Pedro Alves <palves@redhat.com>
21258
21259 PR breakpoints/16101
21260 * gdb.base/dprintf.exp: Use unsupported rather than changing the
21261 test pass/fail messages. Detect missing support for dprintf when
21262 breakpoints are actually inserted.
21263 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
21264 breakpoints are actually inserted.
21265 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
21266 fails.
21267
21268 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
21269
21270 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
21271
21272 2014-03-22 Doug Evans <xdje42@gmail.com>
21273
21274 * gdb.python/python.exp (python not supported): Verify multi-line
21275 python command issues an error.
21276 * gdb.guile/guile.exp (guile not supported): Verify multi-line
21277 guile command issues an error.
21278
21279 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
21280
21281 * gdb.threads/thread-specific.exp: Handle the lack of usable
21282 $this_breakpoint and $this_thread.
21283
21284 2014-03-21 Hui Zhu <hui@codesourcery.com>
21285
21286 * gdb.base/attach.exp (do_command_attach_tests): New.
21287
21288 2014-03-20 Tom Tromey <tromey@redhat.com>
21289 Pedro Alves <palves@redhat.com>
21290
21291 PR cli/15718
21292 * gdb.base/condbreak-call-false.c: New file.
21293 * gdb.base/condbreak-call-false.exp: New file.
21294
21295 2014-03-20 Pedro Alves <palves@redhat.com>
21296
21297 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
21298 Delete.
21299 (block_signals, unblock_signals): Delete.
21300 (child_function_2, main): Remove references to deleted variable
21301 and functions.
21302
21303 2014-03-20 Pedro Alves <palves@redhat.com>
21304
21305 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
21306 Use pthread_kill to signal thread 2.
21307 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21308 Adjust to make the test send itself a signal rather than using the
21309 host's "kill" command.
21310
21311 2014-03-20 Pedro Alves <palves@redhat.com>
21312
21313 * gdb.threads/multiple-step-overs.c: New file.
21314 * gdb.threads/multiple-step-overs.exp: New file.
21315 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21316 Adjust expected infrun debug output.
21317
21318 2014-03-20 Pedro Alves <palves@redhat.com>
21319
21320 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
21321 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
21322
21323 2014-03-20 Pedro Alves <palves@redhat.com>
21324
21325 PR breakpoints/7143
21326 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
21327 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
21328 of gdb_test_multiple.
21329 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
21330 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
21331
21332 2014-03-20 Pedro Alves <palves@redhat.com>
21333
21334 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
21335 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
21336
21337 2014-03-19 Pedro Alves <palves@redhat.com>
21338
21339 * gdb.base/async.exp: Remove early return.
21340
21341 2014-03-19 Pedro Alves <palves@redhat.com>
21342
21343 * gdb.base/async.exp (step& tests): Pass explicit test messages.
21344
21345 2014-03-19 Pedro Alves <palves@redhat.com>
21346
21347 * gdb.base/async.exp (test_background): Expect \r\n after
21348 "completed." in the fail pattern.
21349
21350 2014-03-19 Pedro Alves <palves@redhat.com>
21351
21352 * gdb.base/async.exp (test_background): New procedure.
21353 Use it for all background execution command tests.
21354
21355 2014-03-19 Pedro Alves <palves@redhat.com>
21356
21357 * gdb.base/async.exp: Use prepare_for_testing.
21358
21359 2014-03-19 Pedro Alves <palves@redhat.com>
21360
21361 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
21362 the same line.
21363
21364 2014-03-19 Pedro Alves <palves@redhat.com>
21365
21366 * gdb.base/async.c (main): Add "jump here" and "until here" line
21367 marker comments.
21368 * gdb.base/async.exp (jump_here): New global.
21369 (jump& test): Use it.
21370 (until_here): New global.
21371 (until& test): Use it.
21372
21373 2014-03-19 Pedro Alves <palves@redhat.com>
21374
21375 * gdb.base/async.exp: Don't frob gdb_protocol.
21376
21377 2014-03-18 Doug Evans <xdje42@gmail.com>
21378
21379 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
21380 Fix spelling of exec-done-display.
21381
21382 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
21383
21384 PR gdb/15358
21385 * gdb.base/gdb-sigterm.c: New file.
21386 * gdb.base/gdb-sigterm.exp: New file.
21387
21388 2014-03-18 Pedro Alves <palves@redhat.com>
21389
21390 PR gdb/13860
21391 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
21392 * lib/mi-support.exp (mi_expect_stop): Add special handling for
21393 solib-event.
21394
21395 2014-03-17 Joel Brobecker <brobecker@adacore.com>
21396
21397 * gdb.ada/pckd_arr_ren: New testcase.
21398
21399 2014-03-13 Doug Evans <xdje42@gmail.com>
21400
21401 PR guile/16612
21402 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
21403 collect after discarding symbols.
21404
21405 2014-03-13 Ludovic Courtès <ludo@gnu.org>
21406 Doug Evans <xdje42@gmail.com>
21407
21408 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
21409 to history survives a gc.
21410
21411 2014-03-13 Pedro Alves <palves@redhat.com>
21412
21413 * gdb.base/default.exp: Don't test "target procfs".
21414
21415 2014-03-13 Pedro Alves <palves@redhat.com>
21416
21417 * gdb.base/default.exp: Update "target child" and "target procfs"
21418 tests to not expect "Unix".
21419
21420 2014-03-12 Tom Tromey <tromey@redhat.com>
21421
21422 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
21423 New procs. Add target-async tests.
21424 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
21425 Add target-async tests.
21426
21427 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21428
21429 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
21430 'func_start' and 'func_end' for the beginning and end of the
21431 function code, respectively.
21432 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
21433 'func_end' instead of 'func' and 'main'.
21434
21435 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21436
21437 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
21438 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
21439 generate the debug info assembler source.
21440
21441 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21442
21443 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
21444 * gdb.dwarf2/arr-subrange.exp: Likewise.
21445 * gdb.dwarf2/dwz.exp: Likewise.
21446 * gdb.dwarf2/method-ptr.exp: Likewise.
21447 * gdb.dwarf2/missing-sig-type.exp: Likewise.
21448 * gdb.dwarf2/subrange.exp: Likewise.
21449 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
21450 * gdb.dwarf2/implptrpiece.exp: Likewise.
21451 * gdb.dwarf2/nostaticblock.exp: Likewise.
21452
21453 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21454
21455 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
21456 directory to absolute path name arguments.
21457
21458 2014-03-10 Joel Brobecker <brobecker@adacore.com>
21459
21460 * gdb.ada/tagged_access: New testcase.
21461
21462 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
21463
21464 * gdb.btrace/data.exp: Update expected output.
21465
21466 2014-03-06 Yao Qi <yao@codesourcery.com>
21467
21468 * gdb.trace/pr16508.exp: New file.
21469
21470 2014-03-05 Pedro Alves <palves@redhat.com>
21471
21472 PR gdb/16575
21473 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
21474 procedure.
21475 (top level): Adjust to use it. Add tests that exercise breakpoint
21476 interaction with the code-cache.
21477
21478 2014-02-26 Ludovic Courtès <ludo@gnu.org>
21479
21480 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
21481 test for 'history-append!'.
21482
21483 2014-02-26 Joel Brobecker <brobecker@adacore.com>
21484
21485 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
21486 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
21487 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
21488 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
21489 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
21490 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
21491
21492 2014-02-26 Joel Brobecker <brobecker@adacore.com>
21493
21494 * testsuite/gdb.python/py-pp-re-notag.c: New file.
21495 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
21496 * testsuite/gdb.python/py-pp-re-notag.p: New file.
21497
21498 2014-02-26 Joel Brobecker <brobecker@adacore.com>
21499
21500 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
21501
21502 2014-02-26 Joel Brobecker <brobecker@adacore.com>
21503
21504 * gdb.dwarf2/arr-stride.c: New file.
21505 * gdb.dwarf2/arr-stride.exp: New file.
21506
21507 2014-02-26 Pedro Alves <palves@redhat.com>
21508
21509 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
21510 that won't ever trigger. Make sure that GDB reports the correct
21511 breakpoint that caused the stop.
21512
21513 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
21514
21515 PR gdb/16626
21516 * gdb.base/auto-load-script: New file.
21517 * gdb.base/auto-load.c: New file.
21518 * gdb.base/auto-load.exp: New file.
21519
21520 PR gdb/16626
21521 * gdb.base/auto-load.exp: Fix out-of-srctree run.
21522
21523 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
21524
21525 Fix dw2-icycle.exp -fsanitize=address GDB crash.
21526 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
21527
21528 2014-02-24 Doug Evans <dje@google.com>
21529
21530 * lib/gdb.exp (run_on_host): Log error output if program fails.
21531
21532 2014-02-21 Pedro Alves <palves@redhat.com>
21533
21534 * gdb.threads/step-after-sr-lock.c: Rename to ...
21535 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
21536 * gdb.threads/step-after-sr-lock.exp: Rename to ...
21537 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21538 ... this.
21539
21540 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
21541
21542 PR tdep/16397
21543 * gdb.arch/amd64-stap-special-operands.exp: New file.
21544 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
21545 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
21546 * gdb.arch/amd64-stap-triplet.S: Likewise.
21547 * gdb.arch/amd64-stap-triplet.c: Likewise.
21548
21549 2014-02-20 Joel Brobecker <brobecker@adacore.com>
21550
21551 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
21552 in .section pseudo-op.
21553
21554 2014-02-20 lin zuojian <manjian2006@gmail.com>
21555 Joel Brobecker <brobecker@adacore.com>
21556 Doug Evans <xdje42@gmail.com>
21557
21558 PR symtab/16581
21559 * gdb.dwarf2/dw2-icycle.S: New file.
21560 * gdb.dwarf2/dw2-icycle.c: New file.
21561 * gdb.dwarf2/dw2-icycle.exp: New file.
21562
21563 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
21564
21565 * gdb.python/py-value-cc.cc: Improve test case to enable testing
21566 operations on gdb.Value objects.
21567 * gdb.python/py-value-cc.exp: Add new test to test operations on
21568 gdb.Value objects.
21569
21570 2014-02-18 Doug Evans <dje@google.com>
21571
21572 * Makefile.in (TESTS): New variable.
21573 (expanded_tests, expanded_tests_or_none): New variables
21574 (check-single): Pass $(expanded_tests_or_none) to runtest.
21575 (check-parallel): Only run tests in $(TESTS) if non-empty.
21576 (check/no-matching-tests-found): New rule.
21577 * README: Document TESTS makefile variable.
21578
21579 2014-02-18 Doug Evans <dje@google.com>
21580
21581 * Makefile.in (check-parallel): rm -rf outputs temp.
21582
21583 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21584
21585 Fix "ERROR: no fileid for" in the testsuite.
21586 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
21587
21588 2014-02-12 Doug Evans <dje@google.com>
21589
21590 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
21591 (MISCELLANEOUS): New variable.
21592 (clean): rm -rf $(MISCELLANEOUS).
21593 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
21594 dwp live in the same directory as symlinks, with each symlink pointed
21595 to a differently named file in a different directory.
21596
21597 2014-02-11 Doug Evans <dje@google.com>
21598
21599 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
21600 of Tcl file commands.
21601
21602 2014-02-10 Mark Kettenis <kettenis@gnu.org>
21603
21604 * gdb.threads/step-after-sr-lock.exp: Avoid executing
21605 "kill -SIGUSR1 -1".
21606
21607 2014-02-10 Joel Brobecker <brobecker@adacore.com>
21608
21609 * gdb.ada/tick_length_array_enum_idx: New testcase.
21610
21611 2014-02-10 Doug Evans <xdje42@gmail.com>
21612
21613 * configure.ac (AC_OUTPUT): Add gdb.guile.
21614 * configure: Regenerate.
21615 * lib/gdb-guile.exp: New file.
21616 * lib/gdb.exp (get_target_charset): New function.
21617 * gdb.base/help.exp: Update expected output from "apropos apropos".
21618 * gdb.guile/Makefile.in: New file.
21619 * gdb.guile/guile.exp: New file.
21620 * gdb.guile/scm-arch.c: New file.
21621 * gdb.guile/scm-arch.exp: New file.
21622 * gdb.guile/scm-block.c: New file.
21623 * gdb.guile/scm-block.exp: New file.
21624 * gdb.guile/scm-breakpoint.c: New file.
21625 * gdb.guile/scm-breakpoint.exp: New file.
21626 * gdb.guile/scm-disasm.c: New file.
21627 * gdb.guile/scm-disasm.exp: New file.
21628 * gdb.guile/scm-equal.c: New file.
21629 * gdb.guile/scm-equal.exp: New file.
21630 * gdb.guile/scm-error.exp: New file.
21631 * gdb.guile/scm-error.scm: New file.
21632 * gdb.guile/scm-frame-args.c: New file.
21633 * gdb.guile/scm-frame-args.exp: New file.
21634 * gdb.guile/scm-frame-args.scm: New file.
21635 * gdb.guile/scm-frame-inline.c: New file.
21636 * gdb.guile/scm-frame-inline.exp: New file.
21637 * gdb.guile/scm-frame.c: New file.
21638 * gdb.guile/scm-frame.exp: New file.
21639 * gdb.guile/scm-generics.exp: New file.
21640 * gdb.guile/scm-gsmob.exp: New file.
21641 * gdb.guile/scm-iterator.c: New file.
21642 * gdb.guile/scm-iterator.exp: New file.
21643 * gdb.guile/scm-math.c: New file.
21644 * gdb.guile/scm-math.exp: New file.
21645 * gdb.guile/scm-objfile-script-gdb.in: New file.
21646 * gdb.guile/scm-objfile-script.c: New file.
21647 * gdb.guile/scm-objfile-script.exp: New file.
21648 * gdb.guile/scm-objfile.c: New file.
21649 * gdb.guile/scm-objfile.exp: New file.
21650 * gdb.guile/scm-ports.exp: New file.
21651 * gdb.guile/scm-pretty-print.c: New file.
21652 * gdb.guile/scm-pretty-print.exp: New file.
21653 * gdb.guile/scm-pretty-print.scm: New file.
21654 * gdb.guile/scm-section-script.c: New file.
21655 * gdb.guile/scm-section-script.exp: New file.
21656 * gdb.guile/scm-section-script.scm: New file.
21657 * gdb.guile/scm-symbol.c: New file.
21658 * gdb.guile/scm-symbol.exp: New file.
21659 * gdb.guile/scm-symtab-2.c: New file.
21660 * gdb.guile/scm-symtab.c: New file.
21661 * gdb.guile/scm-symtab.exp: New file.
21662 * gdb.guile/scm-type.c: New file.
21663 * gdb.guile/scm-type.exp: New file.
21664 * gdb.guile/scm-value-cc.cc: New file.
21665 * gdb.guile/scm-value-cc.exp: New file.
21666 * gdb.guile/scm-value.c: New file.
21667 * gdb.guile/scm-value.exp: New file.
21668 * gdb.guile/source2.scm: New file.
21669 * gdb.guile/types-module.cc: New file.
21670 * gdb.guile/types-module.exp: New file.
21671
21672 2014-02-10 Yao Qi <yao@codesourcery.com>
21673
21674 PR testsuite/16543
21675 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
21676 * configure: Regenerated.
21677 * Makefile.in: New file.
21678
21679 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
21680
21681 * gdb.python/py-framefilter.exp: Fix typo.
21682
21683 2014-02-08 Yao Qi <yao@codesourcery.com>
21684
21685 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
21686 that no =breakpoint-modified is emitted when breakpoints are
21687 modified through MI commands.
21688
21689 2014-02-07 Pedro Alves <pedro@codesourcery.com>
21690 Pedro Alves <palves@redhat.com>
21691
21692 * gdb.threads/step-after-sr-lock.c: New file.
21693 * gdb.threads/step-after-sr-lock.exp: New file.
21694
21695 2014-02-07 Pedro Alves <palves@redhat.com>
21696
21697 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
21698
21699 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
21700
21701 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
21702 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
21703
21704 2014-02-06 Doug Evans <xdje42@gmail.com>
21705
21706 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
21707 output.
21708
21709 * gdb.gdb/python-interrupts.exp: New file.
21710
21711 2014-02-05 Yao Qi <yao@codesourcery.com>
21712
21713 * gdb.trace/report.exp (use_collected_data): Test the output
21714 of "info threads" and "info inferiors".
21715
21716 2014-02-05 Yao Qi <yao@codesourcery.com>
21717
21718 Revert this patch:
21719
21720 2013-05-24 Yao Qi <yao@codesourcery.com>
21721
21722 * gdb.trace/tfile.exp: Test inferior and thread.
21723
21724 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21725
21726 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
21727 on a function.
21728 * gdb.base/step-bt.c: Call hello via function pointer to make
21729 sure its first instruction is executed on powerpc64le-linux.
21730
21731 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21732
21733 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
21734
21735 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21736
21737 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
21738 of the test patterns for use on little-endian systems.
21739
21740 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21741
21742 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
21743 (decimal_vector): Fix for little-endian.
21744
21745 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
21746
21747 * gdb.arch/sparc-sysstep.exp: New file.
21748 * gdb.arch/sparc-sysstep.c: Likewise.
21749
21750 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
21751
21752 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21753
21754 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
21755
21756 2014-01-23 Tom Tromey <tromey@redhat.com>
21757
21758 * gdb.ada/array_char_idx: New testcase.
21759
21760 2014-01-23 Tom Tromey <tromey@redhat.com>
21761
21762 PR python/16487:
21763 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
21764 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
21765 classes.
21766
21767 2014-01-23 Tom Tromey <tromey@redhat.com>
21768
21769 PR python/16491:
21770 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
21771 string from an inferior frame.
21772 * gdb.python/py-framefilter-mi.exp: Update.
21773
21774 2014-01-22 Doug Evans <dje@google.com>
21775
21776 * gdb.server/server-mon.exp: Add tests for "set debug-format".
21777
21778 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21779
21780 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
21781
21782 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21783
21784 * gdb.trace/entry-values.exp: Remove excess space character from
21785 regex patterns. Handle s390 call instruction.
21786
21787 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21788
21789 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
21790 define "*_start" label. Make "name" static.
21791 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
21792 ${name} by references to ${name}_start.
21793
21794 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21795
21796 * gdb.base/info-macros.exp: Remove "debug" from the compile
21797 options.
21798
21799 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21800
21801 * gdb.dlang/demangle.exp: New file.
21802
21803 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21804
21805 * gdb.dlang/primitive-types.exp: New file.
21806
21807 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21808
21809 * configure.ac: Create gdb.dlang/Makefile.
21810 * configure: Regenerate.
21811 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
21812 * gdb.dlang/Makefile.in: New file.
21813 * lib/d-support.exp: New file.
21814 * lib/gdb.exp (skip_d_tests): New proc.
21815
21816 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21817
21818 * gdb.btrace/delta.exp: Check reverse stepi.
21819 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
21820 * gdb.btrace/finish.exp: New.
21821 * gdb.btrace/next.exp: New.
21822 * gdb.btrace/nexti.exp: New.
21823 * gdb.btrace/record_goto.c: Add comments.
21824 * gdb.btrace/step.exp: New.
21825 * gdb.btrace/stepi.exp: New.
21826 * gdb.btrace/multi-thread-step.c: New.
21827 * gdb.btrace/multi-thread-step.exp: New.
21828 * gdb.btrace/rn-dl-bind.c: New.
21829 * gdb.btrace/rn-dl-bind.exp: New.
21830 * gdb.btrace/data.c: New.
21831 * gdb.btrace/data.exp: New.
21832 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
21833
21834 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21835
21836 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
21837 * gdb.btrace/exception.exp: Update.
21838 * gdb.btrace/instruction_history.exp: Update.
21839 * gdb.btrace/record_goto.exp: Update.
21840 * gdb.btrace/tailcall.exp: Update.
21841 * gdb.btrace/unknown_functions.exp: Update.
21842 * gdb.btrace/delta.exp: New.
21843
21844 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21845
21846 * gdb.btrace/record_goto.exp: Add backtrace test.
21847 * gdb.btrace/tailcall.exp: Add backtrace test.
21848
21849 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21850
21851 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
21852 * gdb.btrace/record_goto.c: New.
21853 * gdb.btrace/record_goto.exp: New.
21854 * gdb.btrace/x86-record_goto.S: New.
21855
21856 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21857
21858 * gdb.btrace/function_call_history.exp: Update tests.
21859 * gdb.btrace/instruction_history.exp: Update tests.
21860
21861 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21862
21863 * gdb.btrace/function_call_history.exp: Fix expected field
21864 order for "record function-call-history".
21865 Add new tests for "record function-call-history /c".
21866 * gdb.btrace/exception.cc: New.
21867 * gdb.btrace/exception.exp: New.
21868 * gdb.btrace/tailcall.exp: New.
21869 * gdb.btrace/x86-tailcall.S: New.
21870 * gdb.btrace/x86-tailcall.c: New.
21871 * gdb.btrace/unknown_functions.c: New.
21872 * gdb.btrace/unknown_functions.exp: New.
21873 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
21874
21875 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21876
21877 * gdb.btrace/instruction_history.exp: Update.
21878 * gdb.btrace/function_call_history.exp: Update.
21879
21880 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21881
21882 * gdb.btrace/function_call_history.exp: Fix expected function
21883 trace.
21884 * gdb.btrace/instruction_history.exp: Initialize traced.
21885 Remove traced_functions.
21886
21887 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21888
21889 * gdb.btrace/function_call_history.exp: Update
21890 * gdb.btrace/instruction_history.exp: Update.
21891
21892 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21893
21894 * gdb.btrace/enable.exp: Update expected text.
21895
21896 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
21897
21898 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
21899 bytes.
21900
21901 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
21902
21903 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
21904
21905 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
21906
21907 * lib/gdb.exp (supports_process_record): Return true for
21908 arm*-linux*. (supports_reverse): Likewise.
21909
21910 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
21911
21912 PR python/15464
21913 PR python/16113
21914 * gdb.python/py-type.c: Enhance test case.
21915 * gdb.python/py-value-cc.cc: Likewise
21916 * gdb.python/py-type.exp: Add new tests.
21917 * gdb.python/py-value-cc.exp: Likewise
21918
21919 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
21920 Pedro Alves <palves@redhat.com>
21921
21922 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
21923 Make "name" extern.
21924 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
21925 references to ${name}_start by references to ${name}.
21926
21927 2014-01-10 Joel Brobecker <brobecker@adacore.com>
21928
21929 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
21930
21931 2014-01-10 Joel Brobecker <brobecker@adacore.com>
21932
21933 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
21934
21935 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
21936 Pedro Alves <palves@redhat.com>
21937
21938 * gdb.mi/mi-info-os.exp: Connect to the target with
21939 mi_gdb_target_load.
21940
21941 2014-01-08 Pedro Alves <palves@redhat.com>
21942
21943 * gdb.threads/reconnect-signal.c: New file.
21944 * gdb.threads/reconnect-signal.exp: New file.
21945
21946 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21947
21948 * gdb.base/source-dir.exp: New file.
21949
21950 2014-01-07 Joel Brobecker <brobecker@adacore.com>
21951
21952 * gdb.ada/mi_interface: New testcase.
21953
21954 2014-01-07 Joel Brobecker <brobecker@adacore.com>
21955
21956 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
21957 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
21958 gdb.ada/pp-rec-component/pck.ads: New files.
21959
21960 2014-01-07 Joel Brobecker <brobecker@adacore.com>
21961
21962 * gdb.python/py-pp-integral.c: New file.
21963 * gdb.python/py-pp-integral.py: New file.
21964 * gdb.python/py-pp-integral.exp: New file.
21965
21966 For older changes see ChangeLog-1993-2013.
21967 \f
21968 ;; Local Variables:
21969 ;; mode: change-log
21970 ;; left-margin: 8
21971 ;; fill-column: 74
21972 ;; version-control: never
21973 ;; End:
21974
21975 Copyright 2014-2020 Free Software Foundation, Inc.
21976 Copying and distribution of this file, with or without modification,
21977 are permitted provided the copyright notice and this notice are preserved.
This page took 0.447925 seconds and 5 git commands to generate.